lorgg-v2-components 0.2.4 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/components/library/TournamentPlayerRow/TournamentPlayerRow.vue.d.ts +7 -13
- package/dist/components/library/TournamentPlayerRow/types.d.ts +10 -8
- package/dist/components/library/TournamentPlayerTable/TournamentPlayerTable.vue.d.ts +7 -13
- package/dist/components/library/TournamentPlayerTable/types.d.ts +5 -17
- package/dist/components/setup/i18n.d.ts +13 -0
- package/dist/components/setup/locales/de.d.ts +1 -0
- package/dist/components/setup/locales/de.d.ts.map +1 -1
- package/dist/components/setup/locales/en.d.ts +1 -0
- package/dist/components/setup/locales/en.d.ts.map +1 -1
- package/dist/components/setup/locales/es.d.ts +1 -0
- package/dist/components/setup/locales/es.d.ts.map +1 -1
- package/dist/components/setup/locales/fr.d.ts +1 -0
- package/dist/components/setup/locales/fr.d.ts.map +1 -1
- package/dist/components/setup/locales/it.d.ts +1 -0
- package/dist/components/setup/locales/it.d.ts.map +1 -1
- package/dist/components/setup/locales/ja.d.ts +1 -0
- package/dist/components/setup/locales/ja.d.ts.map +1 -1
- package/dist/components/setup/locales/ko.d.ts +1 -0
- package/dist/components/setup/locales/ko.d.ts.map +1 -1
- package/dist/components/setup/locales/pl.d.ts +1 -0
- package/dist/components/setup/locales/pl.d.ts.map +1 -1
- package/dist/components/setup/locales/pt.d.ts +1 -0
- package/dist/components/setup/locales/pt.d.ts.map +1 -1
- package/dist/components/setup/locales/ru.d.ts +1 -0
- package/dist/components/setup/locales/ru.d.ts.map +1 -1
- package/dist/components/setup/locales/th.d.ts +1 -0
- package/dist/components/setup/locales/th.d.ts.map +1 -1
- package/dist/components/setup/locales/tr.d.ts +1 -0
- package/dist/components/setup/locales/tr.d.ts.map +1 -1
- package/dist/components/setup/locales/zh.d.ts +1 -0
- package/dist/components/setup/locales/zh.d.ts.map +1 -1
- package/dist/lorgg-components.cjs.js +14 -14
- package/dist/lorgg-components.css +1 -1
- package/dist/lorgg-components.es.js +338 -323
- package/dist/lorgg-components.umd.js +21 -21
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Jfe=Object.defineProperty;var Zfe=(I,s,un)=>s in I?Jfe(I,s,{enumerable:!0,configurable:!0,writable:!0,value:un}):I[s]=un;var Y=(I,s,un)=>(Zfe(I,typeof s!="symbol"?s+"":s,un),un);(function(I,s){typeof exports=="object"&&typeof module<"u"?s(exports,require("vue"),require("pinia"),require("vue-router")):typeof define=="function"&&define.amd?define(["exports","vue","pinia","vue-router"],s):(I=typeof globalThis<"u"?globalThis:I||self,s(I.lorggComponents={},I.Vue,I.pinia,I["vue-router"]))})(this,function(I,s,un,fn){var bf;"use strict";var _0=document.createElement("style");_0.textContent=`.toast-container[data-v-d1c03412]{position:fixed;bottom:20px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:10px}.toast[data-v-d1c03412]{background-color:var(--color-background-1);color:var(--color-primary-2);padding:10px;border-radius:8px;box-shadow:0 2px 4px #0003;transition:background-color .3s,color .3s,box-shadow .3s;border:var(--color-1) 2px solid;display:flex;flex-direction:column;gap:5px;animation:slideIn-d1c03412 .3s ease-in-out}@keyframes slideIn-d1c03412{0%{transform:translate(100%)}to{transform:translate(0)}}.toast.good[data-v-d1c03412]{background-color:var(--color-good)}.toast.error[data-v-d1c03412]{background-color:var(--color-bad)}.toast-options[data-v-d1c03412]{display:flex;justify-content:flex-end}.toast-option[data-v-d1c03412]{background-color:transparent;border:none;font-weight:700;color:var(--color-good);cursor:pointer;margin-left:10px;transition:color .3s}.toast-option[data-v-d1c03412]:hover{color:var(--color-gold)}:root{font-family:Arial,sans-serif;--color-0: #828295;--color-0-rgb: 130, 130, 149;--color-1: #2c3e50;--color-1-rgb: 44, 62, 80;--color-2: #2a313d;--color-2-rgb: 42, 49, 61;--color-3: #212a39;--color-3-rgb: 33, 42, 57;--color-4: #42435c;--color-4-rgb: 66, 67, 92;--color-text-disabled: #94989e;--color-text-disabled-rgb: 148, 152, 158;--color-background-0: #0f131a;--color-background-0-rgb: 15, 19, 26;--color-background-1: #181e2a;--color-background-1-rgb: 24, 30, 42;--color-background-2: #1d2431;--color-background-2-rgb: 29, 36, 49;--color-primary: #0067ee;--color-primary-rgb: 0, 103, 238;--color-gold: #ffc53e;--color-gold-rgb: 255, 197, 62;--color-primary-2: #fff;--color-primary-2-rgb: 255, 255, 255;--color-excellent: var(--color-gold);--color-excellent-rgb: var(--color-gold-rgb);--color-good: #00adff;--color-good-rgb: 0, 173, 255;--color-good-lite: #77d3ff;--color-good-lite-rgb: 0, 173, 255;--color-bad-lite: #ff9ea0;--color-bad-lite-rgb: 255, 158, 160;--color-bad: #ff5153;--color-bad-rgb: 255, 81, 83;--color-median: var(--color-primary-2);--color-median-rgb: var(--color-primary-2-rgb);--color-Targon: #4d38b0;--color-Targon-rgb: 77, 56, 176;--color-Noxus: #962d27;--color-Noxus-rgb: 150, 45, 39;--color-Demacia: #b9ac98;--color-Demacia-rgb: 185, 172, 152;--color-Freljord: #4a7dc3;--color-Freljord-rgb: 74, 125, 195;--color-ShadowIsles: #2a725d;--color-ShadowIsles-rgb: 42, 114, 93;--color-Ionia: #c45987;--color-Ionia-rgb: 196, 89, 135;--color-Shurima: #c4ae3d;--color-Shurima-rgb: 196, 174, 61;--color-Bilgewater: #b05925;--color-Bilgewater-rgb: 176, 89, 37;--color-PiltoverZaun: #fd9061;--color-PiltoverZaun-rgb: 253, 144, 97;--color-BandleCity: #98a711;--color-BandleCity-rgb: 152, 167, 17;--color-Runeterra: #fff;--color-Runeterra-rgb: 255, 255, 255;--box-border-radius: 20px;--border-radius-s: 10px;--border-radius-m: 15px;--border-radius-l: 20px;--input-height: 45px;--font-size-xs: 12px;--font-size-s: 14px;--font-size-m: 16px;--font-size-l: 20px;--font-size-heading: 45px;--font-size-heading-secondary: 30px;--font-weight-light: 100;--font-weight-normal: 500;--font-weight-bold: 700;--font-weight-heavy: 900;--transition-1: cubic-bezier(.75, -.5, .25, 1.5);--transition-2: cubic-bezier(0, 0, .7, 1.7);--transition-3: cubic-bezier(0, 0, .2, 1);--spacing-1: 5px;--spacing-2: 10px;--spacing-3: 15px;--card-item-aspect-ratio-w: 643;--card-item-aspect-ratio-h: 969;--card-item-aspect-ratio: var(--card-item-aspect-ratio-w) / var(--card-item-aspect-ratio-h);--ms-font-size: 1rem;--ms-line-height: 1.375;--ms-bg: var(--color-2);--ms-bg-disabled: #f3f4f6;--ms-border-color: #d1d5db;--ms-border-width: 0px;--ms-radius: 25px;--ms-py: .5rem;--ms-px: .875rem;--ms-ring-width: 0px;--ms-ring-color: var(--color-primary);--ms-placeholder-color: var(--color-0);--ms-max-height: 180px;--ms-caret-color: var(--color-0);--ms-clear-color: var(--color-0);--ms-clear-color-hover: var(--color-primary-2);--ms-tag-font-size: var(--font-size-m);--ms-tag-line-height: var(--font-size-m);--ms-tag-font-weight: var(--font-weight-normal);--ms-tag-bg: var(--color-0);--ms-tag-bg-disabled: var(--color-bad);--ms-tag-radius: 20px;--ms-dropdown-bg: var(--color-2);--ms-dropdown-border-color: var(--color-primary);--ms-dropdown-border-width: 0px;--ms-dropdown-radius: 22.5px;--ms-group-label-bg-pointed: var(--color-1);--ms-group-label-color-pointed: var(--color-primary-2);--ms-option-bg-pointed: var(--color-0);--ms-option-color-pointed: var(--color-primary-2)}.disabled{opacity:.25}.clickable{cursor:pointer}a{text-decoration:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}@media (width <= 769px){.mobile-no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.mobile-no-scrollbar::-webkit-scrollbar{display:none}}.table{display:grid;grid-template-rows:40px;height:100%;overflow:var(--table-overflow, auto);width:100%;box-sizing:border-box}.heading-cell{--index: 1;position:sticky;top:var(--table-top, 0);z-index:1}.heading-background-outer{grid-column:1 / -1;grid-row:1;position:sticky;top:var(--table-top, 0);z-index:1}.heading-background-inner{background-color:var(--color-3);border-radius:25px;height:100%}.heading-background-absolute{background-color:var(--background-color);top:0;right:0;bottom:-10px;left:0;position:absolute;z-index:-1}.column-content{align-items:center;color:var(--color-primary-2);display:flex;filter:drop-shadow(0 0 2px black);font-weight:600;grid-row:var(--index);justify-content:center;min-width:150px}.small-table .column-content{min-width:unset}.small-table .heading-cell:nth-child(1){justify-content:flex-start;padding-left:10px}.table .column-content:nth-child(1){grid-column:1}.table .column-content:nth-child(2){grid-column:2}.table .column-content:nth-child(3){grid-column:3}.table .column-content:nth-child(4){grid-column:4}.table .column-content:nth-child(5){grid-column:5}.table .column-content:nth-child(6){grid-column:6}.table .column-content:nth-child(7){grid-column:7}.table .column-content:nth-child(8){grid-column:8}.table .column-content:nth-child(9){grid-column:9}.table .column-content:nth-child(10){grid-column:10}.table .column-content:nth-child(11){grid-column:11}.table .column-content:nth-child(12){grid-column:12}.table .column-content:nth-child(13){grid-column:13}.table .column-content:nth-child(14){grid-column:14}.table .column-content:nth-child(15){grid-column:15}.table .wrapper{display:contents}.table-card-row-background-wrapper{grid-row:var(--index);grid-column:1 / -1;position:relative}.table .small-table-background{grid-row:var(--index);grid-column:1 / -1;position:relative;background-color:var(--background-color)}.table .small-table-background:before{content:"";background-image:var(--background-image);background-position:center;background-size:cover;opacity:.4;position:absolute;top:0;right:0;bottom:0;left:0}.table-card-row-background{background-color:var(--color-background-2);border:var(--color-3) solid 2px;border-radius:20px;display:flex;overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;transition:border-color .2s}.premium-barrier{position:relative;display:flex;align-items:center;justify-content:center;color:rgba(var(--color-gold-rgb),.5);font-weight:800;padding:10px;text-align:center;z-index:99;position:absolute;background-color:rgba(var(--color-background-2-rgb),.5);transition:background-color .2s,color .2s;border-radius:var(--premium-barrier-border-radius, 0 0 var(--box-border-radius) var(--box-border-radius));bottom:0;left:0;right:0;top:140px}.premium-barrier:hover{background-color:rgba(var(--color-background-2-rgb),.9);color:rgba(var(--color-gold-rgb),1)}@media (max-width: 769px){.premium-barrier{background-color:rgba(var(--color-background-2-rgb),.9);color:rgba(var(--color-gold-rgb),1)}}.background-card-wrapper{flex-grow:1}.change{display:flex;gap:10px}.change.good{color:var(--color-good)}.change.bad{color:var(--color-bad)}.change.good>.icon{transform:rotate(180deg)}.change.neutral>.icon{display:none}.background-card{--overlap-margin: 100px;background-image:var(--background-image);background-size:cover;background-position:center 25%;opacity:.4;height:100%;margin-left:calc(-1 * var(--overlap-margin));margin-right:calc(-1 * var(--overlap-margin));-webkit-mask-image:linear-gradient(to right,transparent 0%,black calc(0% + (2 * var(--overlap-margin))),black calc(100% - (2 * var(--overlap-margin))),transparent 100%);mask-image:linear-gradient(to right,transparent 0%,black calc(0% + (2 * var(--overlap-margin))),black calc(100% - (2 * var(--overlap-margin))),transparent 100%)}.background-card-wrapper:first-child>.background-card{-webkit-mask-image:linear-gradient(to right,black 0%,black calc(100% - (2 * var(--overlap-margin))),transparent 100%);mask-image:linear-gradient(to right,black 0%,black calc(100% - (2 * var(--overlap-margin))),transparent 100%);margin-left:0}.background-card-wrapper:last-child>.background-card{-webkit-mask-image:linear-gradient(to right,transparent 0%,black calc(0% + (2 * var(--overlap-margin))),black 100%);mask-image:linear-gradient(to right,transparent 0%,black calc(0% + (2 * var(--overlap-margin))),black 100%);margin-right:0}.background-card-wrapper:first-child:last-child>.background-card{mask-image:unset;-webkit-mask-image:unset}.modal-content{background-color:var(--color-background-2);border-radius:20px;padding:20px}.tippy-box:first-child{background-color:var(--color-background-1);border-radius:var(--border-radius-s);border:2px var(--color-2) solid;color:var(--color-primary-2);overflow:hidden;padding:10px}.tippy-box:first-child:before{background:var(--tippy-background);background-position-x:center;background-size:cover;content:"";top:0;right:0;bottom:0;left:0;opacity:.3;position:absolute}.tippy-content{text-align:center;white-space:pre-line}.tippy-box:first-child>.tippy-content{padding:0}.tippy-box[role=card-image]{background:none;border:none}.tippy-box>.tippy-arrow{color:var(--color-2)}.tippy-box[role=card-image]>.tippy-arrow,.tippy-box[role=card-info]>.tippy-arrow{display:none}.multiselect-tags-search{background-color:var(--color-2);color:var(--color-primary-2)}.label-icon{height:25px;max-width:25px;filter:drop-shadow(0 0 2px black)}.multiselect-option{margin-bottom:0}.multiselect-option>.label-icon{margin-right:10px}.deck-highlight-wrapper{min-width:250px}.circle-button{align-items:center;background-color:var(--color-3);border-radius:25px;border:none;color:var(--color-primary-2);cursor:pointer;display:flex;height:45px;justify-content:center;position:relative;width:45px}.circle-button>svg{height:20px;width:20px}.multiselect,.multiselect input{color:var(--color-primary-2)}.primary-button{align-items:center;background-color:var(--color-primary);border-radius:30px;border:none;color:var(--color-primary-2);cursor:pointer;display:flex;font-weight:var(--font-weight-bold);gap:5px;justify-content:start;padding:10px 15px}.primary-button.centered{justify-content:center}.fancy-button{align-items:center;background-image:linear-gradient(to right,var(--fancy-button-color-0, #0466c8) 0%,var(--fancy-button-color-1, #003a9e) 51%,var(--fancy-button-color-2, #0466c8) 100%);background-size:200% auto;border-radius:25px;border:none;color:var(--color-primary-2);cursor:pointer;display:flex;font-size:20px;font-weight:bolder;height:var(--fancy-button-height, 45px);justify-content:center;padding:0 20px;text-align:center;text-decoration:none;transition:.5s;transition:background-position .3s cubic-bezier(.25,.8,.25,1)}.fancy-button:hover{background-position:right center}.flex-center{display:flex;justify-content:center;align-items:center}.checkboxes-container{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:10px}@keyframes slide-in{0%{transform:translate(-100%)}}@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide,swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-button-lock{display:none}.swiper-button-next,.swiper-button-prev{background-color:var(--color-background-0);border-radius:100px;border:var(--color-gold) 3px solid;height:40px;width:40px}.swiper-button-next:after,.swiper-button-prev:after{color:var(--color-gold);font-family:swiper-icons;font-size:25px;font-variant:initial;letter-spacing:0;line-height:1;text-transform:none!important}.swiper .swiper-slide[data-v-e6480629]{width:220px}.swiper .card-item-called[data-v-e6480629]{width:100%;height:100%;display:block;object-fit:cover}.swiper>.swiper-button-next[data-v-e6480629],.swiper>.swiper-button-prev[data-v-e6480629]{background-color:#f0f8ff}.card-item-container[data-v-bdd119d0]{display:flex;flex-direction:column;position:relative;transition:transform .1s}.card-item-container[data-v-bdd119d0]:hover{transform:scale(1.05)}.card-item[data-v-bdd119d0]{cursor:pointer;height:100%;width:100%}.quantity-ticks-container[data-v-bdd119d0]{display:flex;margin:5px auto 0;gap:5px;justify-content:center}.quantity-tick[data-v-bdd119d0]{background-color:var(--color-primary);border-radius:var(--border-radius-m);width:10px;max-width:15%;aspect-ratio:1 / 1}.card-info[data-v-bdd119d0]{width:20vh}.card-info-section[data-v-bdd119d0]{margin-bottom:10px}.card-info-section[data-v-bdd119d0]:last-child{margin-bottom:0}.card-info-title[data-v-bdd119d0]{color:var(--color-primary-2);margin:0 0 5px}.card-info-text[data-v-bdd119d0]{color:var(--color-0);margin:0}.line[data-v-bdd119d0]{background-color:var(--color-0);border:none;color:var(--color-0);height:2px}.associated-card-container[data-v-bdd119d0]{display:flex}.associated-card[data-v-bdd119d0]{width:20vh}.card-slice-wrapper[data-v-dc5cfc42]{background-color:var(--color-background-2);border-radius:var(--border-radius-m);height:100%;overflow:hidden;position:relative;width:var(--card-slice-width, 100%)}.maintain-aspect-ratio[data-v-dc5cfc42]{height:unset;padding-top:var(--card-slice-aspect-ratio, 16.66667%)}.card-slice[data-v-dc5cfc42]{align-items:center;display:flex;gap:10px;top:0;right:0;bottom:0;left:0;padding:0 15px;position:absolute}.card-image[data-v-dc5cfc42]{background-position:right;background-size:cover;top:0;right:0;bottom:0;left:30%;position:absolute}.region-gradient[data-v-dc5cfc42]{background:linear-gradient(90deg,rgba(var(--color),1) 0%,rgba(var(--color),1) 30%,rgba(var(--color),.1) 70%,rgba(var(--color),0) 100%);top:0;right:0;bottom:0;left:0;position:absolute}.mana-hexagon[data-v-dc5cfc42]{height:75%;position:relative}.hexagon-icon[data-v-dc5cfc42]{height:100%;width:unset}.mana-number[data-v-dc5cfc42]{align-items:center;color:var(--color-primary-2);display:flex;font-size:100%;font-weight:600;top:0;right:0;bottom:0;left:0;justify-content:center;position:absolute}.card-name[data-v-dc5cfc42]{color:var(--color-primary-2);font-size:16px;font-weight:500;text-align:start;text-shadow:2px 2px 4px black;z-index:0}.quantity[data-v-dc5cfc42]{display:flex;height:45%;max-height:35px;position:absolute;right:0;width:30px}.quantity-background[data-v-dc5cfc42]{align-items:center;background-color:var(--color-3);border-radius:5px 0 0 5px;display:flex;height:100%;justify-content:center;position:relative;width:100%}.num-quantity[data-v-dc5cfc42]{color:var(--color-primary-2);font-size:14px;font-weight:600}.insufficient-quantity .num-quantity[data-v-dc5cfc42]{color:#ff006f}.plus-minus[data-v-dc5cfc42]{align-items:center;bottom:0;display:flex;justify-content:center;opacity:0;position:absolute;right:0;top:0;transition:.4s}.plus-minus[data-v-dc5cfc42]:hover{opacity:1}.plus-minus[data-v-dc5cfc42]:before{background:linear-gradient(90deg,rgba(var(--color-background-1-rgb),0) 0%,rgba(var(--color-background-1-rgb),1) 100%);content:"";height:100%;width:80px}.plus-minus-content[data-v-dc5cfc42]{align-items:center;background-color:var(--color-background-1);display:flex;height:100%;justify-content:center}.plus-minus-icon[data-v-dc5cfc42]{align-items:center;border-right:2px solid rgba(var(--color-primary-2-rgb),.2);color:rgba(var(--color-primary-2-rgb),.6);cursor:pointer;display:flex;justify-content:center;opacity:1;padding:3px 5px;width:20px}.plus-minus-icon[data-v-dc5cfc42]:hover{color:var(--color-primary-2)}.plus-minus-quantity[data-v-dc5cfc42]{color:var(--color-primary-2);font-weight:600;text-align:center;width:30px}.missing-quantity[data-v-dc5cfc42]{color:var(--color-bad)}.search-bar[data-v-f53c910f]{--ms-max-height: 90vh}.card-slice-item[data-v-f53c910f]{width:350px}.social-links[data-v-e6a74c37]{align-items:center;display:flex;gap:10px}.icon[data-v-e6a74c37]{height:var(--social-links-size, 20px);color:var(--color-0)}.modal-item[data-v-ab68e9be]{align-items:center;background-color:rgba(var(--color-background-0-rgb),.4);cursor:default;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;position:fixed;z-index:999}.filter[data-v-d45db483]{background-color:var(--color-background-2);border-radius:var(--box-border-radius);padding:15px;position:relative;width:auto}.filter[data-v-d45db483]:last-child{margin-bottom:0}.top[data-v-d45db483]{display:flex;justify-content:space-between;margin-bottom:10px}.title[data-v-d45db483]{color:var(--color-primary-2);font-size:var(--font-size-xs);font-weight:600;margin:0;text-transform:uppercase}.text[data-v-d45db483]{color:var(--color-primary-2);font-size:var(--font-size-xs);font-weight:400;margin:0;cursor:default}.clear[data-v-d45db483]{color:var(--color-text-disabled);font-size:var(--font-size-xs);font-weight:400;margin:0;cursor:default}.clear.clickable[data-v-d45db483]{color:var(--color-gold);cursor:pointer;opacity:1}input[data-v-727f5a58]{background-color:var(--color-2);border-radius:25px;border:none;color:var(--color-primary-2);font-size:14px;height:45px;outline:none;padding-left:20px;padding-right:20px;width:-webkit-fill-available}.checkbox-item[data-v-ab8b99a4]{align-items:center;background-color:var(--color-2);border-radius:25px;border:none;color:var(--color-text-disabled);cursor:pointer;display:flex;gap:10px;height:45px;padding:10px}.checkbox-item[selected=true][data-v-ab8b99a4]{color:var(--color-primary-2)}.checkbox-item[data-v-ab8b99a4]:last-child:nth-child(odd),.checkbox-item[data-v-ab8b99a4]:last-of-type:nth-child(odd),.checkbox-item[data-v-ab8b99a4]:nth-child(1):nth-last-child(3),.checkbox-item[data-v-ab8b99a4]:nth-child(2):nth-last-child(2),.checkbox-item[data-v-ab8b99a4]:nth-child(3):nth-last-child(1),.checkbox-item[data-v-ab8b99a4]:nth-child(2):nth-last-child(1),.checkbox-item[data-v-ab8b99a4]:nth-child(1):nth-last-child(2){grid-column:span 2}.checkbox-item[selected=true][data-v-ab8b99a4]{background-color:var(--color-primary)}.checkbox-icon[data-v-ab8b99a4]{height:25px;filter:drop-shadow(0px 0px 2px black);width:25px}.checkbox-name[data-v-ab8b99a4]{flex-grow:1;font-size:var(--font-size-s);text-align:left}.checkbox-name[data-v-ab8b99a4]:first-child{text-align:center}.toggle-switch[data-v-d5d9745a]{position:relative;border-radius:25px;height:100%;background-color:var(--color-2)}.selection-container[data-v-d5d9745a]{position:absolute;top:var(--spacing-1);bottom:var(--spacing-1);transition:left 1s var(--transition-3)}.selection[data-v-d5d9745a]{position:relative;border-radius:100px;height:100%;width:100%;background-color:var(--color-primary)}.option[data-v-d5d9745a]{position:relative;height:100%;width:100%;text-align:center;margin:auto}.option-container[data-v-d5d9745a]{position:absolute;top:var(--spacing-1);bottom:var(--spacing-1)}.option-text[data-v-d5d9745a]{margin:auto;color:#fff;font-weight:var(--font-weight-bold);font-size:var(--font-size-s)}.toggle-switch[data-v-af7bc2a0]{height:45px;grid-column:span 2}.checkbox-item[data-v-2c74c2ed]{background-color:transparent;border:none;opacity:.2;padding:0;position:relative}.checkbox-item[selected=true][data-v-2c74c2ed]{opacity:1}.prompt[data-v-2c74c2ed]{align-items:center;color:var(--color-primary-2);display:flex;font-size:var(--font-size-m);font-weight:var(--font-weight-bold);top:0;right:0;bottom:0;left:0;justify-content:center;position:absolute;text-align:center}.checkbox-rows-container[data-v-a94d786a]{display:flex;flex-direction:column;align-items:center}.checkbox-items-container[data-v-a94d786a]{display:grid;grid-gap:8px}.checkbox-items-container.top-row[data-v-a94d786a]{grid-template-columns:repeat(6,38px)}.checkbox-items-container.bottom-row[data-v-a94d786a]{grid-template-columns:repeat(5,38px);margin-top:-4px}.checkbox-item-mana-cost[data-v-a94d786a]{margin:0;width:100%}.multiselect[data-v-921cb269]{grid-column:span 2}.side-panel-section-pane[data-v-921cb269]{flex-shrink:0}.premium-barrier[data-v-921cb269]{bottom:0;left:0;right:0;top:140px}.multiselect[data-v-e46bd34a]{height:45px}.checkboxes-container[data-v-c93a9e90]{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:10px}.runeterra[data-v-c93a9e90],.runeterra-select[data-v-c93a9e90]{grid-column:span 2;height:45px}.multiselect[data-v-22de9b40]{grid-column:span 2}.filter[data-v-6a93fcc1]{background-color:var(--color-background-1);border-radius:var(--box-border-radius);padding:10px;position:relative;width:auto;display:flex;flex-direction:column;gap:10px}.top[data-v-6a93fcc1]{display:flex;justify-content:flex-end}.clear[data-v-6a93fcc1]{color:var(--color-text-disabled);font-size:var(--font-size-xs);font-weight:400;margin:0 10px;cursor:default}.clear.clickable[data-v-6a93fcc1]{color:var(--color-gold);cursor:pointer;opacity:1}input[data-v-e9c34cae]{background-color:var(--color-2);border-radius:25px;border:none;color:var(--color-primary-2);font-size:14px;height:45px;outline:none;padding-left:20px;padding-right:20px;width:-webkit-fill-available}.advanced-filter-item[data-v-eb2d535d]{display:flex;gap:10px;height:45px;justify-content:space-between}.advanced-attribute[data-v-eb2d535d]{flex-basis:0;flex-grow:1}.equality-button[data-v-eb2d535d]{align-items:center;background-color:var(--color-2);border-radius:25px;color:var(--color-primary-2);cursor:pointer;display:flex;font-weight:700;height:45px;justify-content:center;width:45px}.equality-number[data-v-eb2d535d]{align-items:center;background-color:var(--color-2);border-radius:25px;border:none;color:var(--color-primary-2);display:flex;flex-basis:0;justify-content:center;outline:none;padding:0 10px;width:25px}.advanced-filters[data-v-6c23ee29]{display:flex;flex-direction:column;gap:10px}.new-advanced-filter[data-v-6c23ee29]{height:45px;background-color:var(--color-2);border-radius:25px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--color-primary-2);font-size:14px}.tippy-text[data-v-715107fe]{max-width:300px;text-align:center;border-radius:10px;white-space:pre-wrap}.region-img[data-v-3d756f50],.region-item[data-v-3d756f50]{height:var(--region-item-size, 100%);width:var(--region-item-size, 100%)}.regions-line[data-v-f1f94f8b]{display:flex;flex-direction:column;gap:5px}.describe-regions[data-v-f1f94f8b]{display:flex;gap:10px;width:100%;justify-content:space-between}.icon[data-v-f1f94f8b]{--size: 25px;height:var(--size);width:var(--size)}.region-description[data-v-f1f94f8b]{color:var(--color-0);display:flex;font-size:11px;gap:5px;text-transform:uppercase;align-items:flex-end}.region-description[data-v-f1f94f8b]:last-child{flex-direction:row-reverse}.lines[data-v-f1f94f8b]{display:flex;gap:10px;width:100%}.region-line[data-v-f1f94f8b]{border-radius:5px;height:10px}.card-slice-item[data-v-e0c98d3c]{padding:5px;width:100%;height:100%;box-sizing:border-box}.cards-row-background-wrapper[data-v-e0c98d3c]{grid-row:var(--index);grid-column:1 / -1;position:relative}.cards-row-background[data-v-e0c98d3c]{background-color:var(--color-background-2);border:var(--color-3) solid 2px;border-radius:20px;overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;transition:border-color .2s}a.wrapper:hover .cards-row-background[data-v-e0c98d3c]{border-color:#d9b905}.background-card[data-v-e0c98d3c]{background-image:var(--background-image);background-size:cover;background-position:center 25%;bottom:0;opacity:40%;position:absolute;top:0;width:60%}.background-card[data-v-e0c98d3c]:first-child{-webkit-mask-image:linear-gradient(to right,black 0%,black 66.66%,transparent 100%);mask-image:linear-gradient(to right,black 0%,black 66.66%,transparent 100%);left:0}.background-card[data-v-e0c98d3c]:last-child{-webkit-mask-image:linear-gradient(to right,transparent 0%,black 33.33%,black 100%);mask-image:linear-gradient(to right,transparent 0%,black 33.33%,black 100%);right:0}.loader[data-v-91218ab0]{width:var(--size, 50px);height:var(--size, 50px);border-radius:50%;position:relative;animation:rotate-91218ab0 1s linear infinite}.loader[data-v-91218ab0]:before{content:"";box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:var(--line-size, 4px) solid var(--color, var(--color-0));animation:prixClipFix-91218ab0 3s linear infinite alternate-reverse}@keyframes rotate-91218ab0{to{transform:rotate(360deg)}}@keyframes prixClipFix-91218ab0{0%{clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}25%{clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}50%{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}75%{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}to{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}}.table-wrapper[data-v-8353300c]{position:relative}.table[data-v-8353300c]{--background-color: var(--color-background-1);background-color:var(--background-color);gap:var(--table-gap, 10px);grid-auto-rows:var(--table-grid-auto-rows);grid-template-columns:var(--table-grid-template-columns);padding:0 4px;position:relative}.heading-cell[data-v-8353300c]{cursor:pointer;gap:10px}.heading-cell.not-sortable[data-v-8353300c]{cursor:default}.sort-icons[data-v-8353300c]{display:flex;flex-direction:column}.not-sortable .sort-icons[data-v-8353300c]{display:none}.sort-icon[data-v-8353300c]{opacity:.5}.sort-icons[data-v-8353300c]>:first-child{margin-bottom:-15px}.sort-up .sort-icons>[data-icon=sort-up][data-v-8353300c]{opacity:1}.sort-down .sort-icons>[data-icon=sort-down][data-v-8353300c]{opacity:1}.loading[data-v-8353300c]{display:flex;flex-grow:1;justify-content:center;align-items:center;color:#fff}.no-content[data-v-8353300c]{position:absolute;top:0;right:0;bottom:0;left:0;text-align:center;justify-content:center;display:flex;align-items:center;z-index:0}.no-results[data-v-8353300c]{flex-direction:column;color:var(--color-primary-2);gap:10px}.no-results[data-v-8353300c]:before{--mask: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .3) 200px, rgba(0, 0, 0, .5) calc(100% - 200px), rgba(0, 0, 0, 0) 100%), linear-gradient(to left, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, .3) 200px, rgba(0, 0, 0, .3) calc(100% - 200px), rgba(0, 0, 0, 0) 100%);-webkit-mask-composite:source-in;-webkit-mask:var(--mask);mask:var(--mask);mask-composite:var(--mask);background-image:var(--background-image);background-position:center;background-size:cover;content:"";top:0;right:0;bottom:0;left:0;position:absolute}.no-results h2[data-v-8353300c],.no-results h4[data-v-8353300c]{margin:0}.large-table[data-v-1894b267]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(6, 1fr)}.deck-highlight-regions[data-v-d28f95f4]{--region-item-size: var(--region-item-size-override, 40px);align-items:center;box-sizing:border-box;display:flex;height:var(--region-item-size);justify-content:space-between;padding:0 calc(var(--region-item-size) / 2)}.region-item-wrapper[data-v-d28f95f4]{position:relative}.region-item[data-v-d28f95f4]{position:absolute;height:var(--region-item-size);width:var(--region-item-size);transform:translate(-50%) translateY(-50%)}.gems-cost[data-v-25f680e9]{align-items:center;background-color:var(--color-3);border-radius:45px;box-sizing:border-box;display:flex;gap:10px;height:45px;padding:10px 20px}.shards-icon[data-v-25f680e9]{height:100%}.gems-text[data-v-25f680e9]{color:var(--color-primary-2);font-size:16px}.gems-cost-title[data-v-25f680e9]{font-weight:600;margin-bottom:2px;text-align:center}.gems-cost-value[data-v-25f680e9]{text-align:center}.icon[data-v-8a6f5e0d]{cursor:pointer}.language-selection[data-v-8a6f5e0d]{align-items:center;color:var(--color-0);display:flex;font-size:var(--language-selection-size, 30px)}.selection-panel[data-v-8a6f5e0d]{padding:20px;border-radius:10px;display:flex;flex-direction:column;background-color:var(--color-background-1);text-align:center;gap:5px;color:var(--color-gold)}.selection-panel a[data-v-8a6f5e0d]{color:var(--color-gold)}a.selected[data-v-8a6f5e0d]{font-weight:700;text-decoration:underline}.circle-card-item[data-v-3ea9e838]{height:var(--circle-card-item-size, 100%);width:var(--circle-card-item-size, 100%)}.circle-card-link[data-v-3ea9e838]{height:100%;width:100%}.circle-card-img[data-v-3ea9e838]{border-radius:50%;box-sizing:border-box;border:var(--circle-card-item-border-size, 2px) var(--color-primary-2) solid;height:inherit;width:inherit}.deck-highlight-cards[data-v-021c3530]{--circle-card-item-size: var(--circle-card-item-size-override, 40px);align-items:center;box-sizing:border-box;display:flex;height:var(--circle-card-item-size);justify-content:space-between;padding:0 calc(var(--circle-card-item-size) / 2)}.circle-card-item-wrapper[data-v-021c3530]{position:relative}.circle-card-item[data-v-021c3530]{position:absolute;height:var(--circle-card-item-size);width:var(--circle-card-item-size);transform:translate(-50%) translateY(-50%)}.archetype-side-panel-highlight[data-v-ff538f6f]{display:flex;justify-content:space-between}.deck-highlight-regions[data-v-ff538f6f],.deck-highlight-cards[data-v-ff538f6f]{width:85px}.deck-highlight-cards.single[data-v-ff538f6f]{flex-direction:row-reverse}.archetype-side-panel-highlight[data-v-9743903e]{display:flex;flex-direction:column;gap:10px;color:var(--color-primary-2);font-size:14px}.player[data-v-9743903e]{display:flex;gap:10px;--circle-card-item-size: 50px;align-items:center;font-size:16px;font-weight:700}.player>a[data-v-9743903e]{color:var(--color-gold)}.row[data-v-9743903e]{display:flex;justify-content:space-between}.prompt[data-v-9743903e]{font-weight:700}.side-panel-chart[data-v-b95c4f38]{height:160px}.mana-curve-chart[data-v-b95c4f38]{height:120px}.deck-cards[data-v-b253a25c]{display:grid;gap:20px;grid-template-columns:repeat(3,1fr)}.type-container[data-v-b253a25c]{flex-grow:1}.type[data-v-b253a25c]{flex-grow:1;max-width:400px;width:auto;z-index:1}.type-heading[data-v-b253a25c]{align-items:center;display:flex;font-family:sans-serif;font-weight:var(--font-weight-light);gap:10px;height:20px;justify-content:center;margin-bottom:20px;text-transform:uppercase;width:auto}.icon[data-v-b253a25c]{width:20px}.type-quantity[data-v-b253a25c]{color:var(--color-gold);font-weight:var(--font-weight-bold);font-style:normal}.title[data-v-b253a25c]{color:var(--color-primary-2);font-size:14px;font-weight:var(--font-weight-bold);margin:0;text-align:center}.card-container[data-v-b253a25c]{display:grid;grid-gap:5px;padding-left:20px;padding-right:20px}.champions-landmarks[data-v-b253a25c]{display:flex;flex-direction:column;gap:30px}@media (max-width: 992px){.deck-cards[data-v-b253a25c]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.deck-cards[data-v-b253a25c]{grid-template-columns:repeat(1,1fr)}}.circle-button[data-v-b921ee68]{font-size:25px;font-weight:900;font-family:monospace}.simulate-mulligan[data-v-e3540f85]{display:flex;flex-direction:column;gap:20px}.cards[data-v-e3540f85]{display:flex}.buttons[data-v-e3540f85]{display:flex;gap:20px;justify-content:center}button[data-v-e3540f85]{width:250px;display:flex;justify-content:center;align-items:center}.circle-button[data-v-63aa9043]{font-size:28px;font-size:900}.simulate-mulligan-wrapper[data-v-63aa9043]{max-width:90vw;padding:20px;border-radius:var(--box-border-radius);background-color:var(--color-background-1)}.circle-button>svg[data-v-b942bc9b]{height:25px;width:25px}.deck-buttons[data-v-427da7ee]{display:flex;gap:30px;flex-wrap:var(--buttons-flex-wrap);justify-content:var(--buttons-justify-content)}.buttons[data-v-427da7ee]{display:flex;gap:10px;flex-wrap:var(--buttons-flex-wrap);justify-content:var(--buttons-justify-content)}@media (width <= 769px){.deck-buttons[data-v-427da7ee]{gap:10px}.gems-cost[data-v-427da7ee]{order:1}.share-button[data-v-427da7ee]{order:2}}.circle-button[data-v-4b809ad3]{font-size:28px;font-size:900}.deck-preview[data-v-5716c6cc]{background-color:var(--color-background-1);border-radius:var(--box-border-radius);display:flex;flex-direction:column;max-height:90vh;max-width:90vw;overflow:auto;position:relative;width:1100px}.top[data-v-5716c6cc]{background-color:var(--color-background-1);border-bottom:solid 1px var(--color-4);display:flex;justify-content:space-between;position:sticky;top:0;z-index:5;padding:10px;gap:10px;flex-wrap:wrap}.top-left[data-v-5716c6cc]{display:flex;max-width:100%}.buttons[data-v-5716c6cc]{overflow-y:auto;display:flex;margin-left:auto}.deck-buttons[data-v-5716c6cc]{--buttons-flex-wrap: wrap;--buttons-justify-content: end}.saving .deck-buttons[data-v-5716c6cc]{display:flex}.saving .dropdown[data-v-5716c6cc]{display:none}.deck-summary-wrapper[data-v-5716c6cc]{padding:20px;position:relative}.deck-summary[data-v-5716c6cc]{margin:auto}.deck-summary-wrapper[data-v-5716c6cc]:before{background-image:var(--deck-summary-background);background-position:center;background-size:cover;content:"";top:0;right:0;bottom:0;left:0;opacity:40%;position:absolute}input[data-v-5716c6cc]{background:transparent;height:40px;font-size:40px;color:var(--color-primary-2);border:none;border-bottom:solid 1px var(--color-1);max-width:100%}.fancy-button[data-v-5716c6cc]{margin-left:10px}.icon[data-v-a655bad6]{color:currentColor}.deck-summary[data-v-a655bad6]{--card-slice-width: 260px}.deck-highlight[data-v-7d2e0511]{display:flex;align-items:var(--deck-highlight-align-items, center);flex-direction:var(--deck-highlight-flex-direction, row);justify-content:var(--deck-highlight-justify-content, unset);gap:var(--deck-highlight-gap, 15px)}.deck-highlight-regions[data-v-7d2e0511]{width:var(--deck-highlight-regions-size, 85px)}.deck-highlight-cards[data-v-7d2e0511]{width:var(--deck-highlight-cards-size, 85px)}.deck-highlight-eye[data-v-7d2e0511]{color:var(--color-primary-2)}.hide-eye .deck-highlight-eye[data-v-7d2e0511]{display:none}.deck-difference-item[data-v-cdadc542]{position:relative}.difference[data-v-cdadc542]{position:absolute;bottom:0;right:-5px;display:flex;justify-content:center;align-items:center;width:25px;height:15px;font-size:12px;color:var(--color-primary-2);font-weight:700;text-shadow:0 0 2px black}.difference.positive[data-v-cdadc542]{background-color:var(--color-good);border-radius:5px}.difference.negative[data-v-cdadc542]{background-color:var(--color-bad);border-radius:5px}.deck-differences[data-v-e4cddaa9]{--circle-card-item-size: 40px;display:flex;gap:5px;overflow-x:scroll;overflow-y:hidden;padding:0 10px;-webkit-mask-image:linear-gradient(to right,transparent 0%,black 10px,black calc(100% - 10px),transparent 100%);mask-image:linear-gradient(to right,transparent 0%,black 10px,black calc(100% - 10px),transparent 100%)}.mana-curve-chart[data-v-c6070031],.cost[data-v-c6070031]{transition:opacity .5s}.decks-row:has(.show) .mana-curve-chart[data-v-c6070031],.decks-row:has(.show) .cost[data-v-c6070031]{opacity:0}.mana-curve-chart[data-v-c6070031]{height:40px;width:90px;background-color:unset}.options-button[data-v-c6070031]{opacity:.6;min-width:unset}.options-button[data-v-c6070031]:hover,.options-button.show[data-v-c6070031]{opacity:1}.deck-buttons[data-v-c6070031]{opacity:0;pointer-events:none;position:absolute;right:0;transition:opacity .5s,right .5s}.show .deck-buttons[data-v-c6070031]{pointer-events:unset;right:40px;opacity:1}.region-chart-wrapper[data-v-c6070031]{display:none;grid-column:1 / -1;padding:0 10px}a.wrapper:hover .table-card-row-background[data-v-c6070031]{border-color:#816f0d}.deck-differences-column[data-v-c6070031]{justify-content:start}.card-item-wrapper[data-v-89823586]{position:relative}.link-icon[data-v-89823586]{max-height:50px;max-width:50px;position:absolute;right:0;top:0;width:25%}.link-icon-link[data-v-89823586]{display:none}.card-item-wrapper:hover>.link-icon-link[data-v-89823586]{display:flex}.navigation-top-desktop[data-v-e7708683]{align-items:center;background-color:var(--color-background-1);color:var(--color-primary-2);display:flex;gap:40px;justify-content:space-between;padding:0 10px}.content[data-v-e7708683]{display:flex;gap:inherit}.search-bar[data-v-e7708683]{width:350px}.fancy-button[data-v-e7708683]{color:var(--color-primary-2);height:40px}.profile-name[data-v-e7708683]{display:flex;text-align:center;align-items:center;font-weight:700;color:var(--color-gold);font-size:18px}.card-similar-cards[data-v-86de45ac]{display:grid;gap:5px;grid-template-columns:1fr}@media (min-width: 769px){.card-similar-cards[data-v-86de45ac]{grid-template-columns:repeat(5,minmax(0,1fr))}}svg[data-v-bb0b24b5]{fill:currentColor}.dashboard-sign-up[data-v-a8d77f09]{align-items:center;display:flex;flex-direction:column;padding:15px;justify-content:space-between;position:relative;background-color:var(--color-background-2);border-radius:20px;overflow:hidden}.dashboard-sign-up[data-v-a8d77f09]:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-size:180%;background-position:center;mask:radial-gradient(circle,rgba(0,0,0,.7) 0%,rgba(0,0,0,0) 90%);-webkit-mask:radial-gradient(circle,rgba(0,0,0,.7) 0%,rgba(0,0,0,0) 90%)}.top[data-v-a8d77f09]{display:flex;align-items:center;flex-direction:column;gap:5px}.logo-icon[data-v-a8d77f09]{color:var(--color-primary-2);width:60%}.subtitle[data-v-a8d77f09]{text-transform:uppercase;font-family:Impact,Haettenschweiler,Arial Narrow Bold,sans-serif;font-size:24px;color:var(--color-primary-2)}.fancy-button[data-v-a8d77f09]{color:var(--color-primary-2);z-index:1;align-self:stretch}.match-item[data-v-2b3ae97b]{border-radius:20px;display:flex;flex-direction:column;gap:10px;overflow:hidden;padding:10px;position:relative;border:1px solid var(--color-2)}.match-item[data-v-2b3ae97b]>*{filter:drop-shadow(0px 0px 2px black)}.background[data-v-2b3ae97b]{background-color:var(--color-background-0);display:flex;overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.details[data-v-2b3ae97b]{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:5px}.match-details[data-v-2b3ae97b]{display:flex;gap:10px;align-items:flex-end}.game-type[data-v-2b3ae97b]{color:var(--color-primary-2);font-weight:700}.time[data-v-2b3ae97b]{color:var(--color-0);font-size:12px;font-weight:700}.opponent-details[data-v-2b3ae97b]{color:var(--color-gold);text-decoration:underline;font-weight:700}.main[data-v-2b3ae97b]{display:flex;justify-content:space-between}.main>.container[data-v-2b3ae97b]{align-items:center;border-radius:10px;display:flex;justify-content:center;padding:10px}.results[data-v-2b3ae97b]{background-color:rgba(var(--color-background-2-rgb),1);font-size:20px;font-weight:bolder}.deck-highlight.opponent[data-v-2b3ae97b]{flex-direction:row-reverse}@media (max-width: 769px){.main[data-v-2b3ae97b]{flex-direction:column}.main>.container[data-v-2b3ae97b]{background-color:unset}.background[data-v-2b3ae97b]{flex-direction:column}.background-card[data-v-2b3ae97b]{background-size:cover;background-position:right}.background-card-wrapper[data-v-2b3ae97b]:first-child{--mask: linear-gradient( 180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) calc(100% - 40px), rgba(0, 0, 0, 0) 100% );-webkit-mask:var(--mask);mask:var(--mask);margin-bottom:-20px}.background-card-wrapper[data-v-2b3ae97b]:last-child{--mask: linear-gradient( 0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) calc(100% - 40px), rgba(0, 0, 0, 0) 100% );-webkit-mask:var(--mask);mask:var(--mask);margin-top:-20px}.background>div[data-v-2b3ae97b]{opacity:.4}}.leaderboard-top-10-region[data-v-41d779ee]{display:flex;flex-direction:column;gap:10px}.leaderboard-top-10-region div[data-v-41d779ee]:nth-child(1){--card-slice-aspect-ratio: 33.33333%}.card-slice-item[data-v-2ce9c554]{padding:5px;width:100%;height:100%;box-sizing:border-box}.card-wrapper[data-v-2ce9c554]{filter:unset;min-width:250px}.deck-highlight-wrapper[data-v-2ce9c554]{min-width:250px}.leaderboard-detail-row-background-wrapper[data-v-2ce9c554]{grid-row:var(--index);grid-column:1 / -1;position:relative}.leaderboard-detail-row-background[data-v-2ce9c554]{background-color:var(--color-background-2);border:var(--color-3) solid 2px;border-radius:20px;overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;transition:border-color .2s}a.wrapper:hover .leaderboard-detail-row-background[data-v-2ce9c554]{border-color:#d9b905}.background-card[data-v-2ce9c554]{background-image:var(--background-image);background-size:cover;background-position:center 25%;bottom:0;opacity:40%;position:absolute;top:0;width:60%}.background-card[data-v-2ce9c554]:first-child{-webkit-mask-image:linear-gradient(to right,black 0%,black 66.66%,transparent 100%);mask-image:linear-gradient(to right,black 0%,black 66.66%,transparent 100%);left:0}.background-card[data-v-2ce9c554]:last-child{-webkit-mask-image:linear-gradient(to right,transparent 0%,black 33.33%,black 100%);mask-image:linear-gradient(to right,transparent 0%,black 33.33%,black 100%);right:0}svg[data-v-5b8e191d]{fill:currentColor}svg[data-v-5b6f3d5e]{fill:currentColor}svg[data-v-81223df9]{fill:currentColor}.built-deck-preview[data-v-5e85fdba]{--circle-card-item-size-override: 50px;--region-item-size-override: 50px;align-items:center;background-color:var(--color-background-1);border-radius:20px;border:var(--color-3) solid 2px;display:flex;flex-direction:column;gap:10px;overflow:hidden;padding-top:10px;position:relative;transition:border-color .3s}.built-deck-preview[data-v-5e85fdba]:hover{border-color:var(--color-gold);transition:border-color 0s}a[data-v-5e85fdba]{text-decoration:unset}.background[data-v-5e85fdba]{background-image:var(--background-image);background-size:cover;background-position:center;opacity:.4;position:absolute;top:0;right:0;bottom:0;left:0;z-index:0}.built-deck-preview>div[data-v-5e85fdba]{filter:drop-shadow(0px 0px 2px black)}.deck-highlight-section[data-v-5e85fdba]{width:110px}.icon[data-v-5e85fdba]{color:var(--color-primary-2);position:absolute;top:15px;z-index:1}.content[data-v-5e85fdba]{display:flex;align-self:stretch;padding:0 15px;justify-content:space-between;align-items:flex-end}.format[data-v-5e85fdba]{display:flex;gap:5px;color:var(--color-primary-2);align-items:center;text-transform:uppercase;font-family:Impact,Haettenschweiler,Arial Narrow Bold,sans-serif;font-size:20px}.format-icon[data-v-5e85fdba]{width:30px;height:30px}.options-button[data-v-5e85fdba]{height:30px;right:5px;width:30px;display:flex;justify-content:center;align-items:start;opacity:.6}.options-button[data-v-5e85fdba]:hover,.show .options-button[data-v-5e85fdba]{opacity:1}.deck-buttons[data-v-5e85fdba]{opacity:0;pointer-events:none;position:absolute;right:0;left:0;top:10px;bottom:75px;gap:12px;flex-wrap:wrap;align-items:start;transition:opacity .5s,transform .5s;display:flex;justify-content:center;transform:translateY(100px)}.show .deck-buttons[data-v-5e85fdba]{transform:translateY(0);pointer-events:unset;opacity:1}.deck-highlight-section[data-v-5e85fdba],.content[data-v-5e85fdba]{transform:translateY(0);transition:opacity .5s,transform .5s;opacity:1}.show .deck-highlight-section[data-v-5e85fdba],.show .content[data-v-5e85fdba]{transform:translateY(-100px);opacity:0;pointer-events:none}.deck-highlight-eye[data-v-5e85fdba]{color:var(--color-primary-2);left:15px}.deck-highlight[data-v-5e85fdba]{flex-direction:column}.details[data-v-5e85fdba]{align-self:stretch;display:flex;padding:15px;background-color:var(--color-background-2);border-top:var(--color-primary-2) 2px solid;z-index:0}.details.built[data-v-5e85fdba]{flex-direction:column;gap:5px}.details.stats[data-v-5e85fdba]{justify-content:space-around}.title[data-v-5e85fdba]{color:var(--color-primary-2);font-size:16px;font-weight:700;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.extra-info[data-v-5e85fdba]{align-items:flex-end;display:flex;justify-content:space-between}.info-user[data-v-5e85fdba]{color:var(--color-gold);font-size:14px}.info-user>a[data-v-5e85fdba]{color:currentColor}.info-time[data-v-5e85fdba]{color:var(--color-primary-2);font-size:13px}.stat-column[data-v-5e85fdba]{color:var(--color-primary-2);display:flex;flex-direction:column;gap:5px}.stat-column>.number[data-v-5e85fdba]{text-align:center;font-size:30px;font-weight:700}.stat-column>.descriptor[data-v-5e85fdba]{text-align:center;font-size:12px;font-weight:lighter;text-transform:uppercase}.table-wrapper[data-v-20cc8387]{overflow:hidden;padding:0}.table[data-v-20cc8387]{gap:var(--table-gap, 10px);grid-template-rows:var(--table-grid-template-rows);grid-auto-rows:var(--table-grid-auto-rows);grid-template-columns:var(--table-grid-template-columns)}.heading-cell[data-v-20cc8387]{cursor:pointer;gap:10px}.leaderboard-top[data-v-48a25357]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:40px;grid-gap:20px}.heading-background[data-v-48a25357]{grid-column:-1 / 1;grid-row:1;background-color:var(--color-background-1);border-radius:15px}.heading-wrapper[data-v-48a25357]{display:contents}.heading[data-v-48a25357]{font-weight:700;font-size:18px;grid-row:1;color:var(--color-primary-2);justify-content:center;align-items:center;display:flex}.heading[data-v-48a25357]:nth-child(1){grid-column:1}.heading[data-v-48a25357]:nth-child(2){grid-column:2}.heading[data-v-48a25357]:nth-child(3){grid-column:3}[data-v-6f14fbf6]{box-sizing:border-box}.card-item-3d[data-v-6f14fbf6]{aspect-ratio:643 / 969;position:relative;-webkit-perspective:400px;perspective:400px}.card[data-v-6f14fbf6]{width:100%;height:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:all 1s var(--transition-1),filter .3s linear;transition:all 1s var(--transition-1),filter .3s linear;border-radius:10px}.card[data-v-6f14fbf6]:not(.flipped):hover{filter:drop-shadow(0px 0px 15px var(--color-gold))}.face[data-v-6f14fbf6]{position:absolute;width:100%;height:100%;-webkit-backface-visibility:hidden;backface-visibility:hidden}.back[data-v-6f14fbf6]{overflow:hidden;z-index:-1;display:block;-webkit-transform:rotateY(180deg);transform:rotateY(180deg);box-sizing:border-box;transition:background-image 1s cubic-bezier(1,0,1,-1)}.back[data-v-6f14fbf6]:before{content:"";position:absolute;width:100%;height:100%;z-index:-1;background-size:100% 100%;-webkit-transform:rotateY(180deg);-moz-transform:rotateY(180deg);-ms-transform:rotateY(180deg);-o-transform:rotateY(180deg);transform:rotateY(180deg)}.front[data-v-6f14fbf6]{z-index:1}.flipped[data-v-6f14fbf6],.hovercard[data-v-6f14fbf6]:hover{-webkit-transform:rotateY(180deg);transform:rotateY(180deg)}.card-lottery[data-v-53ddcbb6]{display:flex;flex-direction:column;justify-content:center}.cards[data-v-53ddcbb6]{display:flex;justify-content:center;transition:all 1s linear;width:100%}.card-item-3d-wrapper[data-v-53ddcbb6]{align-items:center;aspect-ratio:var(--card-item-aspect-ratio);display:flex;flex-grow:1;height:100%;max-height:500px;max-width:33%;justify-content:center;transition:all .5s linear}.card-item-3d[data-v-53ddcbb6]{animation:append-animate-53ddcbb6 .8s var(--transition-2);height:100%}.hide[data-v-53ddcbb6]{aspect-ratio:unset;flex-grow:.000001;height:0}.hide>.card-item-3d[data-v-53ddcbb6]{height:0}.bottom[data-v-53ddcbb6]{display:flex;flex-wrap:wrap;gap:20px;width:100%}.bottom>div[data-v-53ddcbb6]{align-items:center;display:flex;flex-basis:0;flex-grow:1;justify-content:center}.circle-slice-item-wrapper[data-v-53ddcbb6]{align-items:center;background-color:var(--color-1);border-radius:10px;justify-content:center;max-width:320px;min-width:240px;padding:10px;width:100%}.circle-card-item-wrapper[data-v-53ddcbb6]{width:100px}.options[data-v-53ddcbb6]{flex-direction:column;gap:10px}.fancy-button[data-v-53ddcbb6]{width:100%;justify-content:center}@keyframes append-animate-53ddcbb6{to{transform:scale(1)}}.dashboard-profile[data-v-592eac82]{background-color:var(--color-background-1);border-radius:20px;width:auto;height:auto;display:flex;flex-direction:column;align-items:center;position:relative;padding:15px;gap:10px}.profile-banner[data-v-592eac82]{--icon-size: 120px;position:relative;height:var(--icon-size);margin-bottom:calc(var(--icon-size) / 2);width:100%;display:flex;justify-content:center}.profile-banner-img[data-v-592eac82]{width:100%;height:100%;object-fit:cover;border-radius:20px}.circle-card-item[data-v-592eac82]{--circle-card-item-border-size: 5px;position:absolute;border-radius:100px;height:var(--icon-size);width:var(--icon-size);bottom:calc(var(--icon-size) / -2);border:var(--color-background-1) 5px solid}.edit-banner[data-v-592eac82]{position:absolute;top:10px;right:10px;color:var(--color-primary-2);filter:drop-shadow(0px 0px 2px black)}.edit-banner[data-v-592eac82]:hover{color:var(--color-0)}.profile-name[data-v-592eac82]{color:var(--color-primary-2);font-size:34px;font-weight:700;text-align:center;text-decoration:none}.profile-region[data-v-592eac82]{font-size:20px;color:var(--color-0);text-align:center}.profile-tiles[data-v-592eac82]{flex-grow:1;display:flex;gap:10px;justify-content:center}.profile-tile[data-v-592eac82]{background-color:var(--color-background-2);border-radius:15px;display:flex;justify-content:center;align-items:center;flex-direction:column;padding:10px;gap:10px;flex:1 1 0;min-width:0}.tile-content[data-v-592eac82]{display:flex;flex-grow:1;justify-content:center;align-items:center;padding:5px}.tile-text[data-v-592eac82]{text-align:center;font-size:16px;color:var(--color-0);white-space:nowrap}.games-text[data-v-592eac82]{color:var(--color-primary-2);font-weight:700;font-size:44px;text-align:center}.chart-container[data-v-592eac82]{height:90px;width:90px;position:relative}.profile-premium-expiration[data-v-592eac82]{color:var(--color-0)}.profile-premium-expiration-time[data-v-592eac82]{color:var(--color-primary-2)}.fancy-button[data-v-592eac82]{color:var(--color-primary-2);box-sizing:border-box;width:100%}.large-table[data-v-3cbac27b]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(6, 1fr) 50px}.champion-column[data-v-b0ce9955]{--region-item-size: 35px;display:flex;gap:10px;justify-content:start;padding-left:20px}.circle-card-item[data-v-b0ce9955]{min-width:35px}.small-table[data-v-2dae645c]{--table-gap: 1px;--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(3, 1fr)}.champion-column[data-v-d5c99255]{--region-item-size: 35px;display:flex;gap:10px;justify-content:start;padding-left:20px}.circle-card-item[data-v-d5c99255]{min-width:35px}.small-table[data-v-f883a9d9]{--table-gap: 1px;--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(3, 1fr)}.leaderboard-options[data-v-0689a8b2]{display:flex;flex-direction:column;gap:5px}.multiselects[data-v-0689a8b2]{display:flex;flex-direction:row-reverse;gap:10px}.details[data-v-0689a8b2]{color:var(--color-primary-2);display:flex;gap:5px;justify-content:space-between}.details span[data-v-0689a8b2]{font-weight:700}@media (max-width: 769px){.leaderboard-options[data-v-0689a8b2],.multiselects[data-v-0689a8b2],.details[data-v-0689a8b2]{flex-direction:column;justify-content:center}.multiselects[data-v-0689a8b2]{flex-direction:column-reverse}.leaderboard-options[data-v-0689a8b2]{gap:10px}.details[data-v-0689a8b2]{text-align:center}}.large-table[data-v-65e706f5]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(4, min-content) 1fr 50px}.statitistics-pane-container[data-v-f00b184f]{background-color:var(--color-background-2);display:grid;grid-template-columns:1fr;grid-template-rows:40px 1fr;border-radius:20px}.full-screen[data-v-f00b184f]{border-radius:0}.top[data-v-f00b184f]{display:flex;padding:15px;align-items:center;justify-content:space-between}.heading[data-v-f00b184f]{color:var(--color-primary-2);font-weight:600;font-size:16px}.maximize-icon[data-v-f00b184f]{color:var(--color-primary-2);opacity:.5;width:20px;height:20px}.maximize-icon[data-v-f00b184f]:hover{opacity:1}.chart[data-v-f00b184f]{position:relative}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper:after{content:"";position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper:after{width:1px;height:var(--swiper-virtual-size)}.swiper-carousel .swiper-slide[data-v-6fc8ea3c]{width:320px}.swiper-carousel img[data-v-6fc8ea3c]{width:100%;height:100%;display:block;object-fit:cover}.wins-losses-line[data-v-511803da]{display:flex;flex-direction:column;gap:5px}.lines[data-v-511803da]{display:flex;gap:10px;width:100%}.line[data-v-511803da]{border-radius:5px;height:10px}.wins.line[data-v-511803da]{background-color:var(--color-good)}.losses.line[data-v-511803da]{background-color:var(--color-bad)}.details[data-v-511803da]{font-size:14px;font-weight:600}.wl-record[data-v-511803da]{color:var(--color-0)}.champion-column[data-v-47d946ce]{--circle-card-item-size: 40px;display:flex;gap:10px;justify-content:start;padding-left:20px}.circle-card-item[data-v-47d946ce]{min-width:var(--circle-card-item-size)}.card-page-toggle[data-v-07d07f20]{height:45px;margin-bottom:25px}.champion-column[data-v-7abf758d]{display:flex;justify-content:start;align-items:center;padding-left:20px;gap:10px}.mana-hexagon[data-v-7abf758d]{width:35px;position:relative}.mana-number[data-v-7abf758d]{align-items:center;color:var(--color-primary-2);display:flex;font-size:100%;font-weight:600;top:0;right:0;bottom:0;left:0;justify-content:center;position:absolute}.reveal-day-option[data-v-daac7e87]{--size: 20px;background-color:var(--color-background-1);border:var(--color-gold) 2px solid;border-radius:var(--size);height:var(--size);position:relative;width:var(--size)}.card-wrapper[data-v-daac7e87]{top:50%;display:none;position:absolute;left:0;transform:translateY(-50%);transform-origin:50% 100%;width:var(--size);transition:transform .25s}.reveal-day-option.soon[data-v-daac7e87],.reveal-day-option.activated[data-v-daac7e87],.reveal-day-option.past[data-v-daac7e87]{--size: 30px;background-color:transparent;border-color:transparent}.reveal-day-option.soon[data-v-daac7e87]{background:radial-gradient(circle,rgba(var(--color-gold-rgb),1) 0%,rgba(var(--color-gold-rgb),.5) 100%);box-shadow:0 0 10px 1px rgba(var(--color-gold-rgb),1)}.reveal-day-option.soon .card-wrapper[data-v-daac7e87],.reveal-day-option.activated .card-wrapper[data-v-daac7e87],.reveal-day-option.past .card-wrapper[data-v-daac7e87]{display:unset}.card[data-v-daac7e87]{width:var(--size);transition:transform .25s}.reveal-day-option.activated>.card-wrapper[data-v-daac7e87]:nth-child(1),.reveal-day-option:hover>.card-wrapper[data-v-daac7e87]:nth-child(1){transform:translateY(-50%) rotate(30deg)}.reveal-day-option.activated>.card-wrapper[data-v-daac7e87]:nth-child(3),.reveal-day-option:hover>.card-wrapper[data-v-daac7e87]:nth-child(3){transform:translateY(-50%) rotate(-30deg)}.reveal-day-option.activated .card[data-v-daac7e87],.reveal-day-option:hover .card[data-v-daac7e87]{transform:translateY(-10%)}.reveal-day-options[data-v-3ca708c1]{display:flex;justify-content:space-between;align-items:center;position:relative}.line[data-v-3ca708c1]{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);height:2px;background-color:var(--color-gold);border-radius:10px}.small-table[data-v-89a26f2c]{--table-gap: 1px;--table-grid-auto-rows: 1fr;--table-grid-template-columns: repeat(3, 1fr);--table-grid-template-rows: 50px}.reveal-carousel[data-v-89a26f2c]{grid-column:1 / -1;padding:0 10px 10px}.large-table[data-v-11a25b9c]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(var(--columns), 1fr)}svg[data-v-c8a918ec]{fill:currentColor}svg[data-v-4a6733fd]{fill:currentColor}svg[data-v-b519ac08]{fill:currentColor}svg[data-v-f1928c9e]{fill:currentColor}svg[data-v-b1448e85]{fill:currentColor}svg[data-v-e5501fa0]{fill:currentColor}.navigation-side[data-v-6f58d7e9]{--width-collapsed: 50px;--width-expanded: 250px;background-color:var(--color-background-1);border-right:solid 1px var(--color-1);display:flex;flex-direction:column;height:inherit;max-width:80vw;position:relative;transition:width .3s;width:var(--width-collapsed);z-index:999}.navigation-side.expanded[data-v-6f58d7e9],.navigation-side[data-v-6f58d7e9]:hover{width:var(--width-expanded)}.navigation-side.expanded[data-v-6f58d7e9]{animation:.3s slide-in}.content[data-v-6f58d7e9]{--grid-template-columns: var(--width-collapsed) calc(var(--width-expanded) - var(--width-collapsed));display:grid;overflow-x:hidden;grid-template-columns:var(--grid-template-columns);grid-auto-rows:var(--width-collapsed)}.content.logo[data-v-6f58d7e9]{flex-shrink:0;border-bottom:solid 1px var(--color-1);height:calc(var(--width-collapsed) - 1px)}.pages[data-v-6f58d7e9]{overflow-y:auto}.content.pages.scrollable-down[data-v-6f58d7e9]{box-shadow:inset 0 -20px 20px -20px var(--color-0)}.content.pages.scrollable-up[data-v-6f58d7e9]{box-shadow:inset 0 20px 20px -20px var(--color-0)}.content.pages.scrollable-down.scrollable-up[data-v-6f58d7e9]{box-shadow:inset 0 -20px 20px -20px var(--color-0),inset 0 20px 20px -20px var(--color-0)}.profile[data-v-6f58d7e9]{--circle-card-item-size: 35px;border-top:solid 1px var(--color-1);flex-shrink:0;margin-top:auto;overflow:hidden}.nav-item[data-v-6f58d7e9]{color:var(--color-0);display:grid;grid-template-columns:var(--grid-template-columns);grid-column:span 2;text-decoration:none;cursor:pointer}.highlight.nav-item[data-v-6f58d7e9]{color:var(--color-gold)}.content.logo .nav-item[data-v-6f58d7e9]{color:var(--color-primary-2);position:sticky;top:0}.nav-icon-wrapper[data-v-6f58d7e9]{align-items:center;display:flex;justify-content:center;z-index:-1}.nav-item:hover>.nav-icon-wrapper[data-v-6f58d7e9],.nav-item.highlight>.nav-icon-wrapper[data-v-6f58d7e9]{background-color:var(--color-background-2)}.nav-item:hover>.nav-icon-wrapper[data-v-6f58d7e9]{color:var(--color-primary-2)}.nav-item.premium[data-v-6f58d7e9]{color:var(--color-gold)}.content.logo>.nav-item>.nav-icon-wrapper[data-v-6f58d7e9]{padding:8px}.nav-text[data-v-6f58d7e9]{align-items:center;display:flex;font-size:14px;font-weight:700;z-index:-1}.nav-text.settings[data-v-6f58d7e9],.nav-text.name[data-v-6f58d7e9]{justify-content:space-between;padding-right:15px;z-index:unset}.settings .icon[data-v-6f58d7e9],.name .icon[data-v-6f58d7e9]{font-size:24px}.sign-out.icon[data-v-6f58d7e9]{color:var(--color-0);font-size:18px}.profile .name[data-v-6f58d7e9]{color:var(--color-gold)}.nav-item:hover>.nav-text[data-v-6f58d7e9],.nav-item.highlight>.nav-text[data-v-6f58d7e9]{background-color:var(--color-background-2)}.nav-item:hover>.nav-text[data-v-6f58d7e9]{color:var(--color-primary-2)}.text-content[data-v-6f58d7e9]{display:block;position:relative;width:fit-content}.progress-text[data-v-6f58d7e9]{color:var(--color-gold);height:100%;left:0;overflow:hidden;position:absolute;top:0;transition:width .3s;white-space:nowrap}.nav-icon.spin[data-v-6f58d7e9]{animation:spin-6f58d7e9 2s linear infinite}@keyframes spin-6f58d7e9{to{transform:rotate(360deg)}}.content.logo .nav-item>.nav-text[data-v-6f58d7e9]{justify-content:center;padding-left:10px;width:150px}.sign-in-container[data-v-6f58d7e9]{padding:0 10px}.fancy-button[data-v-6f58d7e9]{height:40px;width:100%;font-family:Impact,Haettenschweiler,Arial Narrow Bold,sans-serif;text-transform:uppercase}.navigation-top-mobile[data-v-f840153f]{align-items:center;background-color:var(--color-background-1);color:var(--color-primary-2);display:flex;justify-content:space-between;padding:0 10px}.logo-icon[data-v-f840153f]{color:var(--color-primary-2);width:100px}.icon[data-v-f840153f]{font-size:20px}.search-bar[data-v-f840153f]{width:100%}.navigation-side[data-v-f840153f]{position:absolute;top:0;left:0;bottom:0}.navigation-top[data-v-508e62c8]{display:grid;border-bottom:solid 1px var(--color-1)}.navigation-top>.navigation-top-desktop[data-v-508e62c8]{display:none}@media (min-width: 769px){.navigation-top>.navigation-top-desktop[data-v-508e62c8]{display:flex}.navigation-top>.navigation-top-mobile[data-v-508e62c8]{display:none}}.profile-dropdown-wrapper[data-v-1c516824]{display:flex;align-items:center}.profile-dropdown[data-v-1c516824]{display:flex;text-align:center;align-items:center;font-weight:700;color:var(--color-gold);font-size:18px}input[data-v-3c45ffbe]{background-color:var(--color-1);border-radius:30px;border:none;cursor:pointer;display:flex;height:45px;padding:10px;width:200px}.small-table[data-v-fe0f916c]{--table-gap: 1px;--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(3, 1fr)}.multiselect-wrapper[data-v-fe0f916c]{grid-column:2 / -1;padding:0 10px}.wrapper:hover .table-card-row-background[data-v-61aebadd]{border-color:#816f0d}.large-table[data-v-4a8597f4]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(4, 1fr)}.deck-builder-summary-type[data-v-2e6bb287]{align-items:center;background-color:var(--color-background-1);border-radius:999px;display:flex;flex-direction:column;padding:5px;width:30px}.deck-builder-summary-type.deck[data-v-2e6bb287]{flex-grow:1;font-size:20px;width:unset}.number-container[data-v-2e6bb287]{align-items:center;aspect-ratio:1 / 1;border-radius:999px;color:var(--color-primary-2);display:flex;font-weight:700;justify-content:center;width:100%}.deck-builder-summary-type.error>.number-container[data-v-2e6bb287]{color:var(--color-bad)}.deck-builder-summary-type.deck>.number-container[data-v-2e6bb287]{aspect-ratio:unset;flex-grow:1;height:100%}.type-icon[data-v-2e6bb287]{color:var(--color-0);width:20px}.deck-builder-summary[data-v-ec8f0fa9]{display:flex;gap:5px}.small-table[data-v-e5817be3]{--table-gap: 1px;--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(3, 1fr)}.slider-wrapper[data-v-bb4c05e4]{width:25px;height:140px;display:flex;align-items:center;justify-content:center;transform:rotate(270deg)}.card-overview[data-v-8e45b2bc]{background-color:var(--color-background-1);border-radius:20px;color:var(--color-0);padding:0 20px 20px;display:flex;flex-direction:column}.overview-top[data-v-8e45b2bc]{display:flex;justify-content:space-between;align-items:center}.icon[data-v-8e45b2bc]{margin:10px;width:25px;height:25px}.card-name[data-v-8e45b2bc]{color:var(--color-primary-2);font-size:40px;font-weight:600;margin-bottom:10px;margin-top:15px}.card-tags[data-v-8e45b2bc]{display:flex;flex-flow:wrap;gap:10px;margin-bottom:10px}.card-tag[data-v-8e45b2bc]{display:flex;border-radius:25px;background-color:var(--color-2);height:45px;align-items:center;flex-grow:1;flex-basis:0}.card-tag-text[data-v-8e45b2bc]{font-size:14px;opacity:.5;color:var(--color-primary-2);margin-right:15px}.card-tag[data-v-8e45b2bc]:last-child{margin-right:0}.card-text[data-v-8e45b2bc]{color:var(--color-primary-2);font-size:20px;margin-bottom:15px}.keyword-name[data-v-8e45b2bc]{color:var(--color-primary-2)}.keyword-description[data-v-8e45b2bc]{font-size:20px;margin-bottom:15px}.flavor-text[data-v-8e45b2bc]{font-size:20px}.divider[data-v-8e45b2bc]{border:#2c2d4a solid 1px;margin:0 10px 15px}.card-art-section[data-v-8e45b2bc]{display:flex;justify-content:flex-end;margin-top:auto}.full-art-wrapper[data-v-8e45b2bc]{background-color:var(--color-background-1);padding:10px;border-radius:10px}.full-art[data-v-8e45b2bc]{max-height:80vh;max-width:80vw}.profile-game-type-winrate[data-v-1bb3c9de]{display:flex;flex-direction:column;gap:5px;padding:10px;background-color:var(--color-background-1);border-radius:10px}.game-type[data-v-1bb3c9de]{color:var(--color-primary-2);font-weight:700}.large-table[data-v-c789c9b5]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(5, 1fr) 50px}.circle-button[data-v-90be9f81]{font-size:28px;font-size:900}.mana-curve-chart{border-radius:10px;background-color:var(--color-background-2);height:80px}.cards-container{border-radius:10px;display:flex;flex-direction:column;gap:2px;padding:5px;background-color:var(--color-background-2);flex-grow:1;overflow:scroll}.cards-container:has(.input-deck-code){justify-content:center}.input-deck-code{display:flex;flex-direction:column;gap:10px}.text{text-align:center;color:var(--color-0)}.bottom{display:flex;justify-content:space-between}.bottom-buttons{display:flex;gap:5px}.input-deck-code>input{background-color:var(--color-2);border-radius:25px;border:none;color:var(--color-primary-2);font-size:14px;height:45px;outline:none;padding-left:20px;padding-right:20px;width:-webkit-fill-available}.deck-buttons[data-v-79fac15d]{--buttons-flex-wrap: wrap;--buttons-justify-content: end;flex-wrap:wrap;justify-content:end}.tournament-timeline-item[data-v-f008d11f]{--progress-circle-size: 24px;position:relative;display:flex;flex-direction:column;gap:16px;min-width:200px;max-width:90vw;flex-grow:1;flex-basis:0}.tournament-timeline-item[data-v-f008d11f]:not(:last-child):before{content:"";position:absolute;top:calc((var(--progress-circle-size) / 2) - 1px);left:var(--progress-circle-size);width:calc(100% + var(--timeline-gap, 0px));height:2px;background-color:var(--color-4);z-index:0}.progress-circle[data-v-f008d11f]{width:var(--progress-circle-size);height:var(--progress-circle-size);border-radius:50%;background-color:var(--color-good);z-index:1}.content[data-v-f008d11f]{display:flex;flex-direction:column;gap:8px}.heading[data-v-f008d11f]{display:flex;align-items:end;gap:12px}.title[data-v-f008d11f]{font-weight:600;color:var(--color-primary-2)}.date[data-v-f008d11f]{font-size:12px;color:var(--color-0);font-weight:600}.description[data-v-f008d11f]{font-size:14px;color:var(--color-primary-2);max-width:400px}.tournament-timeline-item[data-v-f008d11f]:not(.active) *{color:var(--color-0)}.tournament-timeline[data-v-420a5855]{--paddding: 20px;--timeline-gap: 20px;gap:var(--timeline-gap);display:flex;padding:var(--paddding);overflow-y:scroll;--mask: linear-gradient( to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) var(--paddding), rgba(0, 0, 0, 1) calc(100% - var(--paddding)), rgba(0, 0, 0, 0) 100% );mask:var(--mask);-webkit-mask:var(--mask)}.tournament-deck-result[data-v-8aaa4e70]{display:flex;flex-direction:column;gap:10px;padding:10px}.icon[data-v-8aaa4e70]{font-size:24px;color:var(--color-primary-2)}.good[data-v-8aaa4e70]{color:var(--color-good)}.bad[data-v-8aaa4e70]{color:var(--color-bad)}.results[data-v-8aaa4e70]{color:var(--color-primary-2);font-size:18px;font-weight:700;text-align:center}.deck-highlight[data-v-8aaa4e70]{--deck-highlight-align-items: center;--deck-highlight-flex-direction: column;--deck-highlight-justify-content: start;--deck-highlight-gap: 15px}.row[data-v-3656be66]{z-index:calc(10000 - var(--index));position:relative}.column-content[data-v-3656be66]{z-index:inherit}.card-slice-item[data-v-3656be66]{padding:5px;width:100%;height:100%;box-sizing:border-box}.card-wrapper[data-v-3656be66]{filter:unset;min-width:250px}.tournament-player-row-background-wrapper[data-v-3656be66]{grid-row:var(--index);grid-column:1 / -1;position:relative}.tournament-player-row-background[data-v-3656be66]{background-color:var(--color-background-2);border:var(--color-3) solid 2px;border-radius:20px;overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;transition:border-color .2s}a.wrapper:hover .tournament-player-row-background[data-v-3656be66]{border-color:#d9b905}.background-card[data-v-3656be66]{background-image:var(--background-image);background-size:cover;background-position:center 25%;bottom:0;opacity:40%;position:absolute;top:0;width:60%}.background-card[data-v-3656be66]:first-child{-webkit-mask-image:linear-gradient(to right,black 0%,black 66.66%,transparent 100%);mask-image:linear-gradient(to right,black 0%,black 66.66%,transparent 100%);left:0}.background-card[data-v-3656be66]:last-child{-webkit-mask-image:linear-gradient(to right,transparent 0%,black 33.33%,black 100%);mask-image:linear-gradient(to right,transparent 0%,black 33.33%,black 100%);right:0}.options-button[data-v-3656be66]{min-width:unset}.icon[data-v-3656be66]{font-size:20px;color:var(--color-0);transition:transform .4s,color .2s}.options-button:hover .icon[data-v-3656be66]{color:var(--color-primary-2)}.expanded .icon[data-v-3656be66]{transform:rotate(180deg)}.tournament-player-additional-data-row[data-v-3656be66]{grid-row:var(--index);grid-column:1 / -1;position:relative;cursor:default}.tournament-player-additional-data-wrapper[data-v-3656be66]{position:absolute;top:25px;left:0;right:0;height:0px;padding-top:25px;background-color:var(--color-3);border-radius:0 0 25px 25px;transition:height .5s;overflow:hidden}.expanded .tournament-player-additional-data-wrapper[data-v-3656be66]{height:var(--height)}.tournament-player-additional-data-content[data-v-3656be66]{display:flex;flex-direction:column;gap:10px;padding:20px}.tournament-player-additional-data-content-top[data-v-3656be66]{display:flex;gap:10px;justify-content:space-around}.tournament-player-additional-data-content-top[data-v-3656be66]>*{flex:1}.winrate-wrapper[data-v-3656be66]{display:flex;justify-content:center;align-items:center;padding:5px;font-size:20px;font-weight:700;color:var(--color-primary-2)}.tournament-player-additional-data-content-bottom[data-v-3656be66]{display:flex;gap:10px;justify-content:space-evenly}.tournament-player-additional-data-content-bottom[data-v-3656be66]>*{background-color:var(--color-background-2);border-radius:10px}.large-table[data-v-a8525fd3]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(var(--columns), 1fr) 50px}.swiss-round-options[data-v-cfee2da2]{display:flex;gap:1px;background-color:var(--color-1);border-radius:99px;overflow:hidden;border:var(--color-1) solid 2px}.swiss-round-option[data-v-cfee2da2]{padding:10px 15px;cursor:pointer;transition:background-color .2s;color:var(--color-primary-2);background-color:var(--color-background-1);font-weight:600;flex-grow:1;text-align:center}.swiss-round-option[data-v-cfee2da2]:first-child{padding-left:20px}.swiss-round-option[data-v-cfee2da2]:last-child{padding-right:20px}.swiss-round-option.selected[data-v-cfee2da2]{background-color:var(--color-good)}.tournament-player[data-v-322df46f]{position:relative;display:flex;width:250px;--height: 32px;height:var(--height);padding-right:var(--height);--border-radius-m: var(--border-radius-s)}.card-slice-item[data-v-322df46f]{flex-grow:1}.tournament-player.horizontal.bottom[data-v-322df46f]{padding-right:0;padding-left:var(--height)}.results[data-v-322df46f]{background:linear-gradient(90deg,rgba(var(--color-2-rgb),0) 0%,rgba(var(--color-2-rgb),1) 20px,rgba(var(--color-2-rgb),1) 100%);padding-left:20px;border-radius:0 var(--border-radius-s) var(--border-radius-s) 0;bottom:0;min-width:100px;position:absolute;right:0;top:0;z-index:-1;display:flex;justify-content:end}.tournament-player.horizontal.bottom>.results[data-v-322df46f]{left:0;right:unset;background:linear-gradient(270deg,rgba(var(--color-2-rgb),0) 0%,rgba(var(--color-2-rgb),1) 20px,rgba(var(--color-2-rgb),1) 100%);border-radius:var(--border-radius-s) 0 0 var(--border-radius-s);padding-left:0;padding-right:20px;justify-content:start}.show-results .results[data-v-322df46f]{z-index:1}.result[data-v-322df46f]{display:flex;justify-content:center;align-items:center;color:var(--color-primary-2);font-weight:600;font-size:20px;aspect-ratio:1 / 1}.result.win[data-v-322df46f]{color:var(--color-excellent)}.main-tippy[data-v-322df46f]{display:flex;gap:10px}.main-tippy>div[data-v-322df46f]{background-color:var(--color-background-2);border-radius:8px}.content[data-v-a329da5a]{display:flex;flex-direction:column;align-items:center;gap:30px;background-color:var(--color-background-2);border-radius:var(--box-border-radius);max-height:90vh;max-width:90vw;overflow:auto;position:relative;padding:20px}.players[data-v-a329da5a]{display:flex;flex-wrap:wrap;gap:30px;align-items:center}.player[data-v-a329da5a]{display:flex;justify-content:center;gap:10px;flex-direction:column;background-color:var(--color-background-1);padding:10px;border-radius:10px}.player-name[data-v-a329da5a]{font-size:18px;font-weight:700;text-align:center;color:var(--color-primary-2)}.card-slice-item[data-v-a329da5a]{max-width:270px;width:270px;align-self:center}.player-record[data-v-a329da5a]{font-size:16px;font-weight:700;text-align:center;color:var(--color-primary-2)}.player-decks[data-v-a329da5a]{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.tournament-deck-result[data-v-a329da5a]{background-color:var(--color-background-2);border-radius:10px;padding:5px}.results[data-v-a329da5a]{display:flex;flex-wrap:wrap;gap:40px;justify-content:center}.game[data-v-a329da5a]{display:flex;flex-direction:column;gap:10px;justify-content:center;background-color:var(--color-background-1);padding:10px;border-radius:10px}.game-number[data-v-a329da5a]{font-size:18px;font-weight:700;text-align:center;color:var(--color-primary-2)}.game-result[data-v-a329da5a]{display:flex;justify-content:center;gap:25px;align-items:center}.vs[data-v-a329da5a]{font-size:18px;font-weight:700;text-align:center;color:var(--color-primary-2)}.game-player[data-v-a329da5a]{display:flex;flex-direction:column;gap:10px}.game-player>.tournament-deck-result[data-v-a329da5a]{padding:10px}.game-player-name[data-v-a329da5a]{font-size:16px;text-align:center;color:var(--color-primary-2)}.content[data-v-0a4547ed]{display:flex;flex-direction:column;gap:20px;padding:20px;background-color:var(--color-background-2);border-radius:20px}.heading[data-v-0a4547ed]{display:flex;justify-content:center;color:var(--color-primary-2);font-size:20px;font-weight:700}.toggle-switch[data-v-0a4547ed]{width:400px;max-width:90vw;height:45px}.tournament-matchup[data-v-539a82c9]{position:relative}.players[data-v-539a82c9]{display:flex;flex-direction:column;gap:10px}.players.horizontal[data-v-539a82c9]{flex-direction:row}.hover-options-container[data-v-539a82c9]{position:absolute;right:0;top:0;bottom:0;transform:translate(100%);justify-content:center;align-items:center;display:none}.tournament-matchup:hover .hover-options-container[data-v-539a82c9]{display:flex}.hover-options[data-v-539a82c9]{margin-left:5px;display:flex;background-color:var(--color-background-2);border-radius:5px;padding:5px;gap:5px;color:#fff}.option[data-v-539a82c9]{padding:8px;border-radius:5px;cursor:pointer}.option[data-v-539a82c9]:hover{background-color:var(--color-background-1)}.swiss-round[data-v-fb604c77]{display:flex;flex-direction:column;gap:10px;align-items:center}.matchup[data-v-fb604c77]{background-color:var(--matchup-background-color);padding:5px;border-radius:10px;position:relative;z-index:0}.tournament-bracket[data-v-5fb5924f]{--mask: linear-gradient( to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 20px, rgba(0, 0, 0, 1) calc(100% - 20px), rgba(0, 0, 0, 0) 100% ), linear-gradient( to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 20px, rgba(0, 0, 0, 1) calc(100% - 20px), rgba(0, 0, 0, 0) 100% );-webkit-mask-composite:source-in;-webkit-mask:var(--mask);mask:var(--mask);mask-composite:var(--mask);display:flex;gap:50px;padding:20px}.round[data-v-5fb5924f]{display:flex;flex-direction:column;justify-content:space-around;gap:30px}.empty[data-v-5fb5924f]{height:74px;flex-shrink:0}.content[data-v-c8ad471f],.content[data-v-9f936feb],.content[data-v-6d9b3357],.content[data-v-f7db2ed6]{color:var(--color-primary-2);text-align:center}.content[data-v-60efabe2]{display:flex;flex-direction:column;gap:30px}.players[data-v-60efabe2]{display:flex;flex-direction:column;gap:20px}.player[data-v-60efabe2]{display:flex;justify-content:center;gap:10px;flex-direction:column}.player-name[data-v-60efabe2]{font-size:18px;font-weight:700;text-align:center;color:var(--color-primary-2)}.player-record[data-v-60efabe2]{font-size:16px;font-weight:700;text-align:center;color:var(--color-primary-2)}.player-decks[data-v-60efabe2]{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.tournament-deck-result[data-v-60efabe2]{background-color:var(--color-background-1);border-radius:10px;padding:5px}.result[data-v-60efabe2]{display:flex;flex-direction:column;gap:20px}.game-number[data-v-60efabe2]{font-size:18px;font-weight:700;text-align:center;color:var(--color-primary-2)}.game-result[data-v-60efabe2]{display:flex;justify-content:center;gap:25px;align-items:center}.vs[data-v-60efabe2]{font-size:18px;font-weight:700;text-align:center;color:var(--color-primary-2)}.game-player[data-v-60efabe2]{display:flex;flex-direction:column;gap:10px}.game-player>.tournament-deck-result[data-v-60efabe2]{padding:10px}.game-player-name[data-v-60efabe2]{font-size:16px;text-align:center;color:var(--color-primary-2)}.content[data-v-8ad5656f]{color:var(--color-primary-2);text-align:center}.content[data-v-bd9944b6]{display:flex;flex-direction:column;gap:30px}.content[data-v-d3bac452]{color:var(--color-primary-2);text-align:center}
|
|
1
|
+
var Jfe=Object.defineProperty;var Zfe=(I,s,un)=>s in I?Jfe(I,s,{enumerable:!0,configurable:!0,writable:!0,value:un}):I[s]=un;var Y=(I,s,un)=>(Zfe(I,typeof s!="symbol"?s+"":s,un),un);(function(I,s){typeof exports=="object"&&typeof module<"u"?s(exports,require("vue"),require("pinia"),require("vue-router")):typeof define=="function"&&define.amd?define(["exports","vue","pinia","vue-router"],s):(I=typeof globalThis<"u"?globalThis:I||self,s(I.lorggComponents={},I.Vue,I.pinia,I["vue-router"]))})(this,function(I,s,un,fn){var bf;"use strict";var _0=document.createElement("style");_0.textContent=`.toast-container[data-v-d1c03412]{position:fixed;bottom:20px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:10px}.toast[data-v-d1c03412]{background-color:var(--color-background-1);color:var(--color-primary-2);padding:10px;border-radius:8px;box-shadow:0 2px 4px #0003;transition:background-color .3s,color .3s,box-shadow .3s;border:var(--color-1) 2px solid;display:flex;flex-direction:column;gap:5px;animation:slideIn-d1c03412 .3s ease-in-out}@keyframes slideIn-d1c03412{0%{transform:translate(100%)}to{transform:translate(0)}}.toast.good[data-v-d1c03412]{background-color:var(--color-good)}.toast.error[data-v-d1c03412]{background-color:var(--color-bad)}.toast-options[data-v-d1c03412]{display:flex;justify-content:flex-end}.toast-option[data-v-d1c03412]{background-color:transparent;border:none;font-weight:700;color:var(--color-good);cursor:pointer;margin-left:10px;transition:color .3s}.toast-option[data-v-d1c03412]:hover{color:var(--color-gold)}:root{font-family:Arial,sans-serif;--color-0: #828295;--color-0-rgb: 130, 130, 149;--color-1: #2c3e50;--color-1-rgb: 44, 62, 80;--color-2: #2a313d;--color-2-rgb: 42, 49, 61;--color-3: #212a39;--color-3-rgb: 33, 42, 57;--color-4: #42435c;--color-4-rgb: 66, 67, 92;--color-text-disabled: #94989e;--color-text-disabled-rgb: 148, 152, 158;--color-background-0: #0f131a;--color-background-0-rgb: 15, 19, 26;--color-background-1: #181e2a;--color-background-1-rgb: 24, 30, 42;--color-background-2: #1d2431;--color-background-2-rgb: 29, 36, 49;--color-primary: #0067ee;--color-primary-rgb: 0, 103, 238;--color-gold: #ffc53e;--color-gold-rgb: 255, 197, 62;--color-primary-2: #fff;--color-primary-2-rgb: 255, 255, 255;--color-excellent: var(--color-gold);--color-excellent-rgb: var(--color-gold-rgb);--color-good: #00adff;--color-good-rgb: 0, 173, 255;--color-good-lite: #77d3ff;--color-good-lite-rgb: 0, 173, 255;--color-bad-lite: #ff9ea0;--color-bad-lite-rgb: 255, 158, 160;--color-bad: #ff5153;--color-bad-rgb: 255, 81, 83;--color-median: var(--color-primary-2);--color-median-rgb: var(--color-primary-2-rgb);--color-Targon: #4d38b0;--color-Targon-rgb: 77, 56, 176;--color-Noxus: #962d27;--color-Noxus-rgb: 150, 45, 39;--color-Demacia: #b9ac98;--color-Demacia-rgb: 185, 172, 152;--color-Freljord: #4a7dc3;--color-Freljord-rgb: 74, 125, 195;--color-ShadowIsles: #2a725d;--color-ShadowIsles-rgb: 42, 114, 93;--color-Ionia: #c45987;--color-Ionia-rgb: 196, 89, 135;--color-Shurima: #c4ae3d;--color-Shurima-rgb: 196, 174, 61;--color-Bilgewater: #b05925;--color-Bilgewater-rgb: 176, 89, 37;--color-PiltoverZaun: #fd9061;--color-PiltoverZaun-rgb: 253, 144, 97;--color-BandleCity: #98a711;--color-BandleCity-rgb: 152, 167, 17;--color-Runeterra: #fff;--color-Runeterra-rgb: 255, 255, 255;--box-border-radius: 20px;--border-radius-s: 10px;--border-radius-m: 15px;--border-radius-l: 20px;--input-height: 45px;--font-size-xs: 12px;--font-size-s: 14px;--font-size-m: 16px;--font-size-l: 20px;--font-size-heading: 45px;--font-size-heading-secondary: 30px;--font-weight-light: 100;--font-weight-normal: 500;--font-weight-bold: 700;--font-weight-heavy: 900;--transition-1: cubic-bezier(.75, -.5, .25, 1.5);--transition-2: cubic-bezier(0, 0, .7, 1.7);--transition-3: cubic-bezier(0, 0, .2, 1);--spacing-1: 5px;--spacing-2: 10px;--spacing-3: 15px;--card-item-aspect-ratio-w: 643;--card-item-aspect-ratio-h: 969;--card-item-aspect-ratio: var(--card-item-aspect-ratio-w) / var(--card-item-aspect-ratio-h);--ms-font-size: 1rem;--ms-line-height: 1.375;--ms-bg: var(--color-2);--ms-bg-disabled: #f3f4f6;--ms-border-color: #d1d5db;--ms-border-width: 0px;--ms-radius: 25px;--ms-py: .5rem;--ms-px: .875rem;--ms-ring-width: 0px;--ms-ring-color: var(--color-primary);--ms-placeholder-color: var(--color-0);--ms-max-height: 180px;--ms-caret-color: var(--color-0);--ms-clear-color: var(--color-0);--ms-clear-color-hover: var(--color-primary-2);--ms-tag-font-size: var(--font-size-m);--ms-tag-line-height: var(--font-size-m);--ms-tag-font-weight: var(--font-weight-normal);--ms-tag-bg: var(--color-0);--ms-tag-bg-disabled: var(--color-bad);--ms-tag-radius: 20px;--ms-dropdown-bg: var(--color-2);--ms-dropdown-border-color: var(--color-primary);--ms-dropdown-border-width: 0px;--ms-dropdown-radius: 22.5px;--ms-group-label-bg-pointed: var(--color-1);--ms-group-label-color-pointed: var(--color-primary-2);--ms-option-bg-pointed: var(--color-0);--ms-option-color-pointed: var(--color-primary-2)}.disabled{opacity:.25}.clickable{cursor:pointer}a{text-decoration:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}@media (width <= 769px){.mobile-no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.mobile-no-scrollbar::-webkit-scrollbar{display:none}}.table{display:grid;grid-template-rows:40px;height:100%;overflow:var(--table-overflow, auto);width:100%;box-sizing:border-box}.heading-cell{--index: 1;position:sticky;top:var(--table-top, 0);z-index:1}.heading-background-outer{grid-column:1 / -1;grid-row:1;position:sticky;top:var(--table-top, 0);z-index:1}.heading-background-inner{background-color:var(--color-3);border-radius:25px;height:100%}.heading-background-absolute{background-color:var(--background-color);top:0;right:0;bottom:-10px;left:0;position:absolute;z-index:-1}.column-content{align-items:center;color:var(--color-primary-2);display:flex;filter:drop-shadow(0 0 2px black);font-weight:600;grid-row:var(--index);justify-content:center;min-width:150px}.small-table .column-content{min-width:unset}.small-table .heading-cell:nth-child(1){justify-content:flex-start;padding-left:10px}.table .column-content:nth-child(1){grid-column:1}.table .column-content:nth-child(2){grid-column:2}.table .column-content:nth-child(3){grid-column:3}.table .column-content:nth-child(4){grid-column:4}.table .column-content:nth-child(5){grid-column:5}.table .column-content:nth-child(6){grid-column:6}.table .column-content:nth-child(7){grid-column:7}.table .column-content:nth-child(8){grid-column:8}.table .column-content:nth-child(9){grid-column:9}.table .column-content:nth-child(10){grid-column:10}.table .column-content:nth-child(11){grid-column:11}.table .column-content:nth-child(12){grid-column:12}.table .column-content:nth-child(13){grid-column:13}.table .column-content:nth-child(14){grid-column:14}.table .column-content:nth-child(15){grid-column:15}.table .wrapper{display:contents}.table-card-row-background-wrapper{grid-row:var(--index);grid-column:1 / -1;position:relative}.table .small-table-background{grid-row:var(--index);grid-column:1 / -1;position:relative;background-color:var(--background-color)}.table .small-table-background:before{content:"";background-image:var(--background-image);background-position:center;background-size:cover;opacity:.4;position:absolute;top:0;right:0;bottom:0;left:0}.table-card-row-background{background-color:var(--color-background-2);border:var(--color-3) solid 2px;border-radius:20px;display:flex;overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;transition:border-color .2s}.premium-barrier{position:relative;display:flex;align-items:center;justify-content:center;color:rgba(var(--color-gold-rgb),.5);font-weight:800;padding:10px;text-align:center;z-index:99;position:absolute;background-color:rgba(var(--color-background-2-rgb),.5);transition:background-color .2s,color .2s;border-radius:var(--premium-barrier-border-radius, 0 0 var(--box-border-radius) var(--box-border-radius));bottom:0;left:0;right:0;top:140px}.premium-barrier:hover{background-color:rgba(var(--color-background-2-rgb),.9);color:rgba(var(--color-gold-rgb),1)}@media (max-width: 769px){.premium-barrier{background-color:rgba(var(--color-background-2-rgb),.9);color:rgba(var(--color-gold-rgb),1)}}.background-card-wrapper{flex-grow:1}.change{display:flex;gap:10px}.change.good{color:var(--color-good)}.change.bad{color:var(--color-bad)}.change.good>.icon{transform:rotate(180deg)}.change.neutral>.icon{display:none}.background-card{--overlap-margin: 100px;background-image:var(--background-image);background-size:cover;background-position:center 25%;opacity:.4;height:100%;margin-left:calc(-1 * var(--overlap-margin));margin-right:calc(-1 * var(--overlap-margin));-webkit-mask-image:linear-gradient(to right,transparent 0%,black calc(0% + (2 * var(--overlap-margin))),black calc(100% - (2 * var(--overlap-margin))),transparent 100%);mask-image:linear-gradient(to right,transparent 0%,black calc(0% + (2 * var(--overlap-margin))),black calc(100% - (2 * var(--overlap-margin))),transparent 100%)}.background-card-wrapper:first-child>.background-card{-webkit-mask-image:linear-gradient(to right,black 0%,black calc(100% - (2 * var(--overlap-margin))),transparent 100%);mask-image:linear-gradient(to right,black 0%,black calc(100% - (2 * var(--overlap-margin))),transparent 100%);margin-left:0}.background-card-wrapper:last-child>.background-card{-webkit-mask-image:linear-gradient(to right,transparent 0%,black calc(0% + (2 * var(--overlap-margin))),black 100%);mask-image:linear-gradient(to right,transparent 0%,black calc(0% + (2 * var(--overlap-margin))),black 100%);margin-right:0}.background-card-wrapper:first-child:last-child>.background-card{mask-image:unset;-webkit-mask-image:unset}.modal-content{background-color:var(--color-background-2);border-radius:20px;padding:20px}.tippy-box:first-child{background-color:var(--color-background-1);border-radius:var(--border-radius-s);border:2px var(--color-2) solid;color:var(--color-primary-2);overflow:hidden;padding:10px}.tippy-box:first-child:before{background:var(--tippy-background);background-position-x:center;background-size:cover;content:"";top:0;right:0;bottom:0;left:0;opacity:.3;position:absolute}.tippy-content{text-align:center;white-space:pre-line}.tippy-box:first-child>.tippy-content{padding:0}.tippy-box[role=card-image]{background:none;border:none}.tippy-box>.tippy-arrow{color:var(--color-2)}.tippy-box[role=card-image]>.tippy-arrow,.tippy-box[role=card-info]>.tippy-arrow{display:none}.multiselect-tags-search{background-color:var(--color-2);color:var(--color-primary-2)}.label-icon{height:25px;max-width:25px;filter:drop-shadow(0 0 2px black)}.multiselect-option{margin-bottom:0}.multiselect-option>.label-icon{margin-right:10px}.deck-highlight-wrapper{min-width:250px}.circle-button{align-items:center;background-color:var(--color-3);border-radius:25px;border:none;color:var(--color-primary-2);cursor:pointer;display:flex;height:45px;justify-content:center;position:relative;width:45px}.circle-button>svg{height:20px;width:20px}.multiselect,.multiselect input{color:var(--color-primary-2)}.primary-button{align-items:center;background-color:var(--color-primary);border-radius:30px;border:none;color:var(--color-primary-2);cursor:pointer;display:flex;font-weight:var(--font-weight-bold);gap:5px;justify-content:start;padding:10px 15px}.primary-button.centered{justify-content:center}.fancy-button{align-items:center;background-image:linear-gradient(to right,var(--fancy-button-color-0, #0466c8) 0%,var(--fancy-button-color-1, #003a9e) 51%,var(--fancy-button-color-2, #0466c8) 100%);background-size:200% auto;border-radius:25px;border:none;color:var(--color-primary-2);cursor:pointer;display:flex;font-size:20px;font-weight:bolder;height:var(--fancy-button-height, 45px);justify-content:center;padding:0 20px;text-align:center;text-decoration:none;transition:.5s;transition:background-position .3s cubic-bezier(.25,.8,.25,1)}.fancy-button:hover{background-position:right center}.flex-center{display:flex;justify-content:center;align-items:center}.checkboxes-container{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:10px}@keyframes slide-in{0%{transform:translate(-100%)}}@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide,swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-button-lock{display:none}.swiper-button-next,.swiper-button-prev{background-color:var(--color-background-0);border-radius:100px;border:var(--color-gold) 3px solid;height:40px;width:40px}.swiper-button-next:after,.swiper-button-prev:after{color:var(--color-gold);font-family:swiper-icons;font-size:25px;font-variant:initial;letter-spacing:0;line-height:1;text-transform:none!important}.swiper .swiper-slide[data-v-e6480629]{width:220px}.swiper .card-item-called[data-v-e6480629]{width:100%;height:100%;display:block;object-fit:cover}.swiper>.swiper-button-next[data-v-e6480629],.swiper>.swiper-button-prev[data-v-e6480629]{background-color:#f0f8ff}.card-item-container[data-v-bdd119d0]{display:flex;flex-direction:column;position:relative;transition:transform .1s}.card-item-container[data-v-bdd119d0]:hover{transform:scale(1.05)}.card-item[data-v-bdd119d0]{cursor:pointer;height:100%;width:100%}.quantity-ticks-container[data-v-bdd119d0]{display:flex;margin:5px auto 0;gap:5px;justify-content:center}.quantity-tick[data-v-bdd119d0]{background-color:var(--color-primary);border-radius:var(--border-radius-m);width:10px;max-width:15%;aspect-ratio:1 / 1}.card-info[data-v-bdd119d0]{width:20vh}.card-info-section[data-v-bdd119d0]{margin-bottom:10px}.card-info-section[data-v-bdd119d0]:last-child{margin-bottom:0}.card-info-title[data-v-bdd119d0]{color:var(--color-primary-2);margin:0 0 5px}.card-info-text[data-v-bdd119d0]{color:var(--color-0);margin:0}.line[data-v-bdd119d0]{background-color:var(--color-0);border:none;color:var(--color-0);height:2px}.associated-card-container[data-v-bdd119d0]{display:flex}.associated-card[data-v-bdd119d0]{width:20vh}.card-slice-wrapper[data-v-dc5cfc42]{background-color:var(--color-background-2);border-radius:var(--border-radius-m);height:100%;overflow:hidden;position:relative;width:var(--card-slice-width, 100%)}.maintain-aspect-ratio[data-v-dc5cfc42]{height:unset;padding-top:var(--card-slice-aspect-ratio, 16.66667%)}.card-slice[data-v-dc5cfc42]{align-items:center;display:flex;gap:10px;top:0;right:0;bottom:0;left:0;padding:0 15px;position:absolute}.card-image[data-v-dc5cfc42]{background-position:right;background-size:cover;top:0;right:0;bottom:0;left:30%;position:absolute}.region-gradient[data-v-dc5cfc42]{background:linear-gradient(90deg,rgba(var(--color),1) 0%,rgba(var(--color),1) 30%,rgba(var(--color),.1) 70%,rgba(var(--color),0) 100%);top:0;right:0;bottom:0;left:0;position:absolute}.mana-hexagon[data-v-dc5cfc42]{height:75%;position:relative}.hexagon-icon[data-v-dc5cfc42]{height:100%;width:unset}.mana-number[data-v-dc5cfc42]{align-items:center;color:var(--color-primary-2);display:flex;font-size:100%;font-weight:600;top:0;right:0;bottom:0;left:0;justify-content:center;position:absolute}.card-name[data-v-dc5cfc42]{color:var(--color-primary-2);font-size:16px;font-weight:500;text-align:start;text-shadow:2px 2px 4px black;z-index:0}.quantity[data-v-dc5cfc42]{display:flex;height:45%;max-height:35px;position:absolute;right:0;width:30px}.quantity-background[data-v-dc5cfc42]{align-items:center;background-color:var(--color-3);border-radius:5px 0 0 5px;display:flex;height:100%;justify-content:center;position:relative;width:100%}.num-quantity[data-v-dc5cfc42]{color:var(--color-primary-2);font-size:14px;font-weight:600}.insufficient-quantity .num-quantity[data-v-dc5cfc42]{color:#ff006f}.plus-minus[data-v-dc5cfc42]{align-items:center;bottom:0;display:flex;justify-content:center;opacity:0;position:absolute;right:0;top:0;transition:.4s}.plus-minus[data-v-dc5cfc42]:hover{opacity:1}.plus-minus[data-v-dc5cfc42]:before{background:linear-gradient(90deg,rgba(var(--color-background-1-rgb),0) 0%,rgba(var(--color-background-1-rgb),1) 100%);content:"";height:100%;width:80px}.plus-minus-content[data-v-dc5cfc42]{align-items:center;background-color:var(--color-background-1);display:flex;height:100%;justify-content:center}.plus-minus-icon[data-v-dc5cfc42]{align-items:center;border-right:2px solid rgba(var(--color-primary-2-rgb),.2);color:rgba(var(--color-primary-2-rgb),.6);cursor:pointer;display:flex;justify-content:center;opacity:1;padding:3px 5px;width:20px}.plus-minus-icon[data-v-dc5cfc42]:hover{color:var(--color-primary-2)}.plus-minus-quantity[data-v-dc5cfc42]{color:var(--color-primary-2);font-weight:600;text-align:center;width:30px}.missing-quantity[data-v-dc5cfc42]{color:var(--color-bad)}.search-bar[data-v-f53c910f]{--ms-max-height: 90vh}.card-slice-item[data-v-f53c910f]{width:350px}.social-links[data-v-e6a74c37]{align-items:center;display:flex;gap:10px}.icon[data-v-e6a74c37]{height:var(--social-links-size, 20px);color:var(--color-0)}.modal-item[data-v-ab68e9be]{align-items:center;background-color:rgba(var(--color-background-0-rgb),.4);cursor:default;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;position:fixed;z-index:999}.filter[data-v-d45db483]{background-color:var(--color-background-2);border-radius:var(--box-border-radius);padding:15px;position:relative;width:auto}.filter[data-v-d45db483]:last-child{margin-bottom:0}.top[data-v-d45db483]{display:flex;justify-content:space-between;margin-bottom:10px}.title[data-v-d45db483]{color:var(--color-primary-2);font-size:var(--font-size-xs);font-weight:600;margin:0;text-transform:uppercase}.text[data-v-d45db483]{color:var(--color-primary-2);font-size:var(--font-size-xs);font-weight:400;margin:0;cursor:default}.clear[data-v-d45db483]{color:var(--color-text-disabled);font-size:var(--font-size-xs);font-weight:400;margin:0;cursor:default}.clear.clickable[data-v-d45db483]{color:var(--color-gold);cursor:pointer;opacity:1}input[data-v-727f5a58]{background-color:var(--color-2);border-radius:25px;border:none;color:var(--color-primary-2);font-size:14px;height:45px;outline:none;padding-left:20px;padding-right:20px;width:-webkit-fill-available}.checkbox-item[data-v-ab8b99a4]{align-items:center;background-color:var(--color-2);border-radius:25px;border:none;color:var(--color-text-disabled);cursor:pointer;display:flex;gap:10px;height:45px;padding:10px}.checkbox-item[selected=true][data-v-ab8b99a4]{color:var(--color-primary-2)}.checkbox-item[data-v-ab8b99a4]:last-child:nth-child(odd),.checkbox-item[data-v-ab8b99a4]:last-of-type:nth-child(odd),.checkbox-item[data-v-ab8b99a4]:nth-child(1):nth-last-child(3),.checkbox-item[data-v-ab8b99a4]:nth-child(2):nth-last-child(2),.checkbox-item[data-v-ab8b99a4]:nth-child(3):nth-last-child(1),.checkbox-item[data-v-ab8b99a4]:nth-child(2):nth-last-child(1),.checkbox-item[data-v-ab8b99a4]:nth-child(1):nth-last-child(2){grid-column:span 2}.checkbox-item[selected=true][data-v-ab8b99a4]{background-color:var(--color-primary)}.checkbox-icon[data-v-ab8b99a4]{height:25px;filter:drop-shadow(0px 0px 2px black);width:25px}.checkbox-name[data-v-ab8b99a4]{flex-grow:1;font-size:var(--font-size-s);text-align:left}.checkbox-name[data-v-ab8b99a4]:first-child{text-align:center}.toggle-switch[data-v-d5d9745a]{position:relative;border-radius:25px;height:100%;background-color:var(--color-2)}.selection-container[data-v-d5d9745a]{position:absolute;top:var(--spacing-1);bottom:var(--spacing-1);transition:left 1s var(--transition-3)}.selection[data-v-d5d9745a]{position:relative;border-radius:100px;height:100%;width:100%;background-color:var(--color-primary)}.option[data-v-d5d9745a]{position:relative;height:100%;width:100%;text-align:center;margin:auto}.option-container[data-v-d5d9745a]{position:absolute;top:var(--spacing-1);bottom:var(--spacing-1)}.option-text[data-v-d5d9745a]{margin:auto;color:#fff;font-weight:var(--font-weight-bold);font-size:var(--font-size-s)}.toggle-switch[data-v-af7bc2a0]{height:45px;grid-column:span 2}.checkbox-item[data-v-2c74c2ed]{background-color:transparent;border:none;opacity:.2;padding:0;position:relative}.checkbox-item[selected=true][data-v-2c74c2ed]{opacity:1}.prompt[data-v-2c74c2ed]{align-items:center;color:var(--color-primary-2);display:flex;font-size:var(--font-size-m);font-weight:var(--font-weight-bold);top:0;right:0;bottom:0;left:0;justify-content:center;position:absolute;text-align:center}.checkbox-rows-container[data-v-a94d786a]{display:flex;flex-direction:column;align-items:center}.checkbox-items-container[data-v-a94d786a]{display:grid;grid-gap:8px}.checkbox-items-container.top-row[data-v-a94d786a]{grid-template-columns:repeat(6,38px)}.checkbox-items-container.bottom-row[data-v-a94d786a]{grid-template-columns:repeat(5,38px);margin-top:-4px}.checkbox-item-mana-cost[data-v-a94d786a]{margin:0;width:100%}.multiselect[data-v-921cb269]{grid-column:span 2}.side-panel-section-pane[data-v-921cb269]{flex-shrink:0}.premium-barrier[data-v-921cb269]{bottom:0;left:0;right:0;top:140px}.multiselect[data-v-e46bd34a]{height:45px}.checkboxes-container[data-v-c93a9e90]{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:10px}.runeterra[data-v-c93a9e90],.runeterra-select[data-v-c93a9e90]{grid-column:span 2;height:45px}.multiselect[data-v-22de9b40]{grid-column:span 2}.filter[data-v-6a93fcc1]{background-color:var(--color-background-1);border-radius:var(--box-border-radius);padding:10px;position:relative;width:auto;display:flex;flex-direction:column;gap:10px}.top[data-v-6a93fcc1]{display:flex;justify-content:flex-end}.clear[data-v-6a93fcc1]{color:var(--color-text-disabled);font-size:var(--font-size-xs);font-weight:400;margin:0 10px;cursor:default}.clear.clickable[data-v-6a93fcc1]{color:var(--color-gold);cursor:pointer;opacity:1}input[data-v-e9c34cae]{background-color:var(--color-2);border-radius:25px;border:none;color:var(--color-primary-2);font-size:14px;height:45px;outline:none;padding-left:20px;padding-right:20px;width:-webkit-fill-available}.advanced-filter-item[data-v-eb2d535d]{display:flex;gap:10px;height:45px;justify-content:space-between}.advanced-attribute[data-v-eb2d535d]{flex-basis:0;flex-grow:1}.equality-button[data-v-eb2d535d]{align-items:center;background-color:var(--color-2);border-radius:25px;color:var(--color-primary-2);cursor:pointer;display:flex;font-weight:700;height:45px;justify-content:center;width:45px}.equality-number[data-v-eb2d535d]{align-items:center;background-color:var(--color-2);border-radius:25px;border:none;color:var(--color-primary-2);display:flex;flex-basis:0;justify-content:center;outline:none;padding:0 10px;width:25px}.advanced-filters[data-v-6c23ee29]{display:flex;flex-direction:column;gap:10px}.new-advanced-filter[data-v-6c23ee29]{height:45px;background-color:var(--color-2);border-radius:25px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--color-primary-2);font-size:14px}.tippy-text[data-v-715107fe]{max-width:300px;text-align:center;border-radius:10px;white-space:pre-wrap}.region-img[data-v-3d756f50],.region-item[data-v-3d756f50]{height:var(--region-item-size, 100%);width:var(--region-item-size, 100%)}.regions-line[data-v-f1f94f8b]{display:flex;flex-direction:column;gap:5px}.describe-regions[data-v-f1f94f8b]{display:flex;gap:10px;width:100%;justify-content:space-between}.icon[data-v-f1f94f8b]{--size: 25px;height:var(--size);width:var(--size)}.region-description[data-v-f1f94f8b]{color:var(--color-0);display:flex;font-size:11px;gap:5px;text-transform:uppercase;align-items:flex-end}.region-description[data-v-f1f94f8b]:last-child{flex-direction:row-reverse}.lines[data-v-f1f94f8b]{display:flex;gap:10px;width:100%}.region-line[data-v-f1f94f8b]{border-radius:5px;height:10px}.card-slice-item[data-v-e0c98d3c]{padding:5px;width:100%;height:100%;box-sizing:border-box}.cards-row-background-wrapper[data-v-e0c98d3c]{grid-row:var(--index);grid-column:1 / -1;position:relative}.cards-row-background[data-v-e0c98d3c]{background-color:var(--color-background-2);border:var(--color-3) solid 2px;border-radius:20px;overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;transition:border-color .2s}a.wrapper:hover .cards-row-background[data-v-e0c98d3c]{border-color:#d9b905}.background-card[data-v-e0c98d3c]{background-image:var(--background-image);background-size:cover;background-position:center 25%;bottom:0;opacity:40%;position:absolute;top:0;width:60%}.background-card[data-v-e0c98d3c]:first-child{-webkit-mask-image:linear-gradient(to right,black 0%,black 66.66%,transparent 100%);mask-image:linear-gradient(to right,black 0%,black 66.66%,transparent 100%);left:0}.background-card[data-v-e0c98d3c]:last-child{-webkit-mask-image:linear-gradient(to right,transparent 0%,black 33.33%,black 100%);mask-image:linear-gradient(to right,transparent 0%,black 33.33%,black 100%);right:0}.loader[data-v-91218ab0]{width:var(--size, 50px);height:var(--size, 50px);border-radius:50%;position:relative;animation:rotate-91218ab0 1s linear infinite}.loader[data-v-91218ab0]:before{content:"";box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:var(--line-size, 4px) solid var(--color, var(--color-0));animation:prixClipFix-91218ab0 3s linear infinite alternate-reverse}@keyframes rotate-91218ab0{to{transform:rotate(360deg)}}@keyframes prixClipFix-91218ab0{0%{clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}25%{clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}50%{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}75%{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}to{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}}.table-wrapper[data-v-8353300c]{position:relative}.table[data-v-8353300c]{--background-color: var(--color-background-1);background-color:var(--background-color);gap:var(--table-gap, 10px);grid-auto-rows:var(--table-grid-auto-rows);grid-template-columns:var(--table-grid-template-columns);padding:0 4px;position:relative}.heading-cell[data-v-8353300c]{cursor:pointer;gap:10px}.heading-cell.not-sortable[data-v-8353300c]{cursor:default}.sort-icons[data-v-8353300c]{display:flex;flex-direction:column}.not-sortable .sort-icons[data-v-8353300c]{display:none}.sort-icon[data-v-8353300c]{opacity:.5}.sort-icons[data-v-8353300c]>:first-child{margin-bottom:-15px}.sort-up .sort-icons>[data-icon=sort-up][data-v-8353300c]{opacity:1}.sort-down .sort-icons>[data-icon=sort-down][data-v-8353300c]{opacity:1}.loading[data-v-8353300c]{display:flex;flex-grow:1;justify-content:center;align-items:center;color:#fff}.no-content[data-v-8353300c]{position:absolute;top:0;right:0;bottom:0;left:0;text-align:center;justify-content:center;display:flex;align-items:center;z-index:0}.no-results[data-v-8353300c]{flex-direction:column;color:var(--color-primary-2);gap:10px}.no-results[data-v-8353300c]:before{--mask: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .3) 200px, rgba(0, 0, 0, .5) calc(100% - 200px), rgba(0, 0, 0, 0) 100%), linear-gradient(to left, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, .3) 200px, rgba(0, 0, 0, .3) calc(100% - 200px), rgba(0, 0, 0, 0) 100%);-webkit-mask-composite:source-in;-webkit-mask:var(--mask);mask:var(--mask);mask-composite:var(--mask);background-image:var(--background-image);background-position:center;background-size:cover;content:"";top:0;right:0;bottom:0;left:0;position:absolute}.no-results h2[data-v-8353300c],.no-results h4[data-v-8353300c]{margin:0}.large-table[data-v-1894b267]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(6, 1fr)}.deck-highlight-regions[data-v-d28f95f4]{--region-item-size: var(--region-item-size-override, 40px);align-items:center;box-sizing:border-box;display:flex;height:var(--region-item-size);justify-content:space-between;padding:0 calc(var(--region-item-size) / 2)}.region-item-wrapper[data-v-d28f95f4]{position:relative}.region-item[data-v-d28f95f4]{position:absolute;height:var(--region-item-size);width:var(--region-item-size);transform:translate(-50%) translateY(-50%)}.gems-cost[data-v-25f680e9]{align-items:center;background-color:var(--color-3);border-radius:45px;box-sizing:border-box;display:flex;gap:10px;height:45px;padding:10px 20px}.shards-icon[data-v-25f680e9]{height:100%}.gems-text[data-v-25f680e9]{color:var(--color-primary-2);font-size:16px}.gems-cost-title[data-v-25f680e9]{font-weight:600;margin-bottom:2px;text-align:center}.gems-cost-value[data-v-25f680e9]{text-align:center}.icon[data-v-8a6f5e0d]{cursor:pointer}.language-selection[data-v-8a6f5e0d]{align-items:center;color:var(--color-0);display:flex;font-size:var(--language-selection-size, 30px)}.selection-panel[data-v-8a6f5e0d]{padding:20px;border-radius:10px;display:flex;flex-direction:column;background-color:var(--color-background-1);text-align:center;gap:5px;color:var(--color-gold)}.selection-panel a[data-v-8a6f5e0d]{color:var(--color-gold)}a.selected[data-v-8a6f5e0d]{font-weight:700;text-decoration:underline}.circle-card-item[data-v-3ea9e838]{height:var(--circle-card-item-size, 100%);width:var(--circle-card-item-size, 100%)}.circle-card-link[data-v-3ea9e838]{height:100%;width:100%}.circle-card-img[data-v-3ea9e838]{border-radius:50%;box-sizing:border-box;border:var(--circle-card-item-border-size, 2px) var(--color-primary-2) solid;height:inherit;width:inherit}.deck-highlight-cards[data-v-021c3530]{--circle-card-item-size: var(--circle-card-item-size-override, 40px);align-items:center;box-sizing:border-box;display:flex;height:var(--circle-card-item-size);justify-content:space-between;padding:0 calc(var(--circle-card-item-size) / 2)}.circle-card-item-wrapper[data-v-021c3530]{position:relative}.circle-card-item[data-v-021c3530]{position:absolute;height:var(--circle-card-item-size);width:var(--circle-card-item-size);transform:translate(-50%) translateY(-50%)}.archetype-side-panel-highlight[data-v-ff538f6f]{display:flex;justify-content:space-between}.deck-highlight-regions[data-v-ff538f6f],.deck-highlight-cards[data-v-ff538f6f]{width:85px}.deck-highlight-cards.single[data-v-ff538f6f]{flex-direction:row-reverse}.archetype-side-panel-highlight[data-v-9743903e]{display:flex;flex-direction:column;gap:10px;color:var(--color-primary-2);font-size:14px}.player[data-v-9743903e]{display:flex;gap:10px;--circle-card-item-size: 50px;align-items:center;font-size:16px;font-weight:700}.player>a[data-v-9743903e]{color:var(--color-gold)}.row[data-v-9743903e]{display:flex;justify-content:space-between}.prompt[data-v-9743903e]{font-weight:700}.side-panel-chart[data-v-b95c4f38]{height:160px}.mana-curve-chart[data-v-b95c4f38]{height:120px}.deck-cards[data-v-b253a25c]{display:grid;gap:20px;grid-template-columns:repeat(3,1fr)}.type-container[data-v-b253a25c]{flex-grow:1}.type[data-v-b253a25c]{flex-grow:1;max-width:400px;width:auto;z-index:1}.type-heading[data-v-b253a25c]{align-items:center;display:flex;font-family:sans-serif;font-weight:var(--font-weight-light);gap:10px;height:20px;justify-content:center;margin-bottom:20px;text-transform:uppercase;width:auto}.icon[data-v-b253a25c]{width:20px}.type-quantity[data-v-b253a25c]{color:var(--color-gold);font-weight:var(--font-weight-bold);font-style:normal}.title[data-v-b253a25c]{color:var(--color-primary-2);font-size:14px;font-weight:var(--font-weight-bold);margin:0;text-align:center}.card-container[data-v-b253a25c]{display:grid;grid-gap:5px;padding-left:20px;padding-right:20px}.champions-landmarks[data-v-b253a25c]{display:flex;flex-direction:column;gap:30px}@media (max-width: 992px){.deck-cards[data-v-b253a25c]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.deck-cards[data-v-b253a25c]{grid-template-columns:repeat(1,1fr)}}.circle-button[data-v-b921ee68]{font-size:25px;font-weight:900;font-family:monospace}.simulate-mulligan[data-v-e3540f85]{display:flex;flex-direction:column;gap:20px}.cards[data-v-e3540f85]{display:flex}.buttons[data-v-e3540f85]{display:flex;gap:20px;justify-content:center}button[data-v-e3540f85]{width:250px;display:flex;justify-content:center;align-items:center}.circle-button[data-v-63aa9043]{font-size:28px;font-size:900}.simulate-mulligan-wrapper[data-v-63aa9043]{max-width:90vw;padding:20px;border-radius:var(--box-border-radius);background-color:var(--color-background-1)}.circle-button>svg[data-v-b942bc9b]{height:25px;width:25px}.deck-buttons[data-v-427da7ee]{display:flex;gap:30px;flex-wrap:var(--buttons-flex-wrap);justify-content:var(--buttons-justify-content)}.buttons[data-v-427da7ee]{display:flex;gap:10px;flex-wrap:var(--buttons-flex-wrap);justify-content:var(--buttons-justify-content)}@media (width <= 769px){.deck-buttons[data-v-427da7ee]{gap:10px}.gems-cost[data-v-427da7ee]{order:1}.share-button[data-v-427da7ee]{order:2}}.circle-button[data-v-4b809ad3]{font-size:28px;font-size:900}.deck-preview[data-v-5716c6cc]{background-color:var(--color-background-1);border-radius:var(--box-border-radius);display:flex;flex-direction:column;max-height:90vh;max-width:90vw;overflow:auto;position:relative;width:1100px}.top[data-v-5716c6cc]{background-color:var(--color-background-1);border-bottom:solid 1px var(--color-4);display:flex;justify-content:space-between;position:sticky;top:0;z-index:5;padding:10px;gap:10px;flex-wrap:wrap}.top-left[data-v-5716c6cc]{display:flex;max-width:100%}.buttons[data-v-5716c6cc]{overflow-y:auto;display:flex;margin-left:auto}.deck-buttons[data-v-5716c6cc]{--buttons-flex-wrap: wrap;--buttons-justify-content: end}.saving .deck-buttons[data-v-5716c6cc]{display:flex}.saving .dropdown[data-v-5716c6cc]{display:none}.deck-summary-wrapper[data-v-5716c6cc]{padding:20px;position:relative}.deck-summary[data-v-5716c6cc]{margin:auto}.deck-summary-wrapper[data-v-5716c6cc]:before{background-image:var(--deck-summary-background);background-position:center;background-size:cover;content:"";top:0;right:0;bottom:0;left:0;opacity:40%;position:absolute}input[data-v-5716c6cc]{background:transparent;height:40px;font-size:40px;color:var(--color-primary-2);border:none;border-bottom:solid 1px var(--color-1);max-width:100%}.fancy-button[data-v-5716c6cc]{margin-left:10px}.icon[data-v-a655bad6]{color:currentColor}.deck-summary[data-v-a655bad6]{--card-slice-width: 260px}.deck-highlight[data-v-7d2e0511]{display:flex;align-items:var(--deck-highlight-align-items, center);flex-direction:var(--deck-highlight-flex-direction, row);justify-content:var(--deck-highlight-justify-content, unset);gap:var(--deck-highlight-gap, 15px)}.deck-highlight-regions[data-v-7d2e0511]{width:var(--deck-highlight-regions-size, 85px)}.deck-highlight-cards[data-v-7d2e0511]{width:var(--deck-highlight-cards-size, 85px)}.deck-highlight-eye[data-v-7d2e0511]{color:var(--color-primary-2)}.hide-eye .deck-highlight-eye[data-v-7d2e0511]{display:none}.deck-difference-item[data-v-cdadc542]{position:relative}.difference[data-v-cdadc542]{position:absolute;bottom:0;right:-5px;display:flex;justify-content:center;align-items:center;width:25px;height:15px;font-size:12px;color:var(--color-primary-2);font-weight:700;text-shadow:0 0 2px black}.difference.positive[data-v-cdadc542]{background-color:var(--color-good);border-radius:5px}.difference.negative[data-v-cdadc542]{background-color:var(--color-bad);border-radius:5px}.deck-differences[data-v-e4cddaa9]{--circle-card-item-size: 40px;display:flex;gap:5px;overflow-x:scroll;overflow-y:hidden;padding:0 10px;-webkit-mask-image:linear-gradient(to right,transparent 0%,black 10px,black calc(100% - 10px),transparent 100%);mask-image:linear-gradient(to right,transparent 0%,black 10px,black calc(100% - 10px),transparent 100%)}.mana-curve-chart[data-v-c6070031],.cost[data-v-c6070031]{transition:opacity .5s}.decks-row:has(.show) .mana-curve-chart[data-v-c6070031],.decks-row:has(.show) .cost[data-v-c6070031]{opacity:0}.mana-curve-chart[data-v-c6070031]{height:40px;width:90px;background-color:unset}.options-button[data-v-c6070031]{opacity:.6;min-width:unset}.options-button[data-v-c6070031]:hover,.options-button.show[data-v-c6070031]{opacity:1}.deck-buttons[data-v-c6070031]{opacity:0;pointer-events:none;position:absolute;right:0;transition:opacity .5s,right .5s}.show .deck-buttons[data-v-c6070031]{pointer-events:unset;right:40px;opacity:1}.region-chart-wrapper[data-v-c6070031]{display:none;grid-column:1 / -1;padding:0 10px}a.wrapper:hover .table-card-row-background[data-v-c6070031]{border-color:#816f0d}.deck-differences-column[data-v-c6070031]{justify-content:start}.card-item-wrapper[data-v-89823586]{position:relative}.link-icon[data-v-89823586]{max-height:50px;max-width:50px;position:absolute;right:0;top:0;width:25%}.link-icon-link[data-v-89823586]{display:none}.card-item-wrapper:hover>.link-icon-link[data-v-89823586]{display:flex}.navigation-top-desktop[data-v-e7708683]{align-items:center;background-color:var(--color-background-1);color:var(--color-primary-2);display:flex;gap:40px;justify-content:space-between;padding:0 10px}.content[data-v-e7708683]{display:flex;gap:inherit}.search-bar[data-v-e7708683]{width:350px}.fancy-button[data-v-e7708683]{color:var(--color-primary-2);height:40px}.profile-name[data-v-e7708683]{display:flex;text-align:center;align-items:center;font-weight:700;color:var(--color-gold);font-size:18px}.card-similar-cards[data-v-86de45ac]{display:grid;gap:5px;grid-template-columns:1fr}@media (min-width: 769px){.card-similar-cards[data-v-86de45ac]{grid-template-columns:repeat(5,minmax(0,1fr))}}svg[data-v-bb0b24b5]{fill:currentColor}.dashboard-sign-up[data-v-a8d77f09]{align-items:center;display:flex;flex-direction:column;padding:15px;justify-content:space-between;position:relative;background-color:var(--color-background-2);border-radius:20px;overflow:hidden}.dashboard-sign-up[data-v-a8d77f09]:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-size:180%;background-position:center;mask:radial-gradient(circle,rgba(0,0,0,.7) 0%,rgba(0,0,0,0) 90%);-webkit-mask:radial-gradient(circle,rgba(0,0,0,.7) 0%,rgba(0,0,0,0) 90%)}.top[data-v-a8d77f09]{display:flex;align-items:center;flex-direction:column;gap:5px}.logo-icon[data-v-a8d77f09]{color:var(--color-primary-2);width:60%}.subtitle[data-v-a8d77f09]{text-transform:uppercase;font-family:Impact,Haettenschweiler,Arial Narrow Bold,sans-serif;font-size:24px;color:var(--color-primary-2)}.fancy-button[data-v-a8d77f09]{color:var(--color-primary-2);z-index:1;align-self:stretch}.match-item[data-v-2b3ae97b]{border-radius:20px;display:flex;flex-direction:column;gap:10px;overflow:hidden;padding:10px;position:relative;border:1px solid var(--color-2)}.match-item[data-v-2b3ae97b]>*{filter:drop-shadow(0px 0px 2px black)}.background[data-v-2b3ae97b]{background-color:var(--color-background-0);display:flex;overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.details[data-v-2b3ae97b]{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:5px}.match-details[data-v-2b3ae97b]{display:flex;gap:10px;align-items:flex-end}.game-type[data-v-2b3ae97b]{color:var(--color-primary-2);font-weight:700}.time[data-v-2b3ae97b]{color:var(--color-0);font-size:12px;font-weight:700}.opponent-details[data-v-2b3ae97b]{color:var(--color-gold);text-decoration:underline;font-weight:700}.main[data-v-2b3ae97b]{display:flex;justify-content:space-between}.main>.container[data-v-2b3ae97b]{align-items:center;border-radius:10px;display:flex;justify-content:center;padding:10px}.results[data-v-2b3ae97b]{background-color:rgba(var(--color-background-2-rgb),1);font-size:20px;font-weight:bolder}.deck-highlight.opponent[data-v-2b3ae97b]{flex-direction:row-reverse}@media (max-width: 769px){.main[data-v-2b3ae97b]{flex-direction:column}.main>.container[data-v-2b3ae97b]{background-color:unset}.background[data-v-2b3ae97b]{flex-direction:column}.background-card[data-v-2b3ae97b]{background-size:cover;background-position:right}.background-card-wrapper[data-v-2b3ae97b]:first-child{--mask: linear-gradient( 180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) calc(100% - 40px), rgba(0, 0, 0, 0) 100% );-webkit-mask:var(--mask);mask:var(--mask);margin-bottom:-20px}.background-card-wrapper[data-v-2b3ae97b]:last-child{--mask: linear-gradient( 0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) calc(100% - 40px), rgba(0, 0, 0, 0) 100% );-webkit-mask:var(--mask);mask:var(--mask);margin-top:-20px}.background>div[data-v-2b3ae97b]{opacity:.4}}.leaderboard-top-10-region[data-v-41d779ee]{display:flex;flex-direction:column;gap:10px}.leaderboard-top-10-region div[data-v-41d779ee]:nth-child(1){--card-slice-aspect-ratio: 33.33333%}.card-slice-item[data-v-2ce9c554]{padding:5px;width:100%;height:100%;box-sizing:border-box}.card-wrapper[data-v-2ce9c554]{filter:unset;min-width:250px}.deck-highlight-wrapper[data-v-2ce9c554]{min-width:250px}.leaderboard-detail-row-background-wrapper[data-v-2ce9c554]{grid-row:var(--index);grid-column:1 / -1;position:relative}.leaderboard-detail-row-background[data-v-2ce9c554]{background-color:var(--color-background-2);border:var(--color-3) solid 2px;border-radius:20px;overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;transition:border-color .2s}a.wrapper:hover .leaderboard-detail-row-background[data-v-2ce9c554]{border-color:#d9b905}.background-card[data-v-2ce9c554]{background-image:var(--background-image);background-size:cover;background-position:center 25%;bottom:0;opacity:40%;position:absolute;top:0;width:60%}.background-card[data-v-2ce9c554]:first-child{-webkit-mask-image:linear-gradient(to right,black 0%,black 66.66%,transparent 100%);mask-image:linear-gradient(to right,black 0%,black 66.66%,transparent 100%);left:0}.background-card[data-v-2ce9c554]:last-child{-webkit-mask-image:linear-gradient(to right,transparent 0%,black 33.33%,black 100%);mask-image:linear-gradient(to right,transparent 0%,black 33.33%,black 100%);right:0}svg[data-v-5b8e191d]{fill:currentColor}svg[data-v-5b6f3d5e]{fill:currentColor}svg[data-v-81223df9]{fill:currentColor}.built-deck-preview[data-v-5e85fdba]{--circle-card-item-size-override: 50px;--region-item-size-override: 50px;align-items:center;background-color:var(--color-background-1);border-radius:20px;border:var(--color-3) solid 2px;display:flex;flex-direction:column;gap:10px;overflow:hidden;padding-top:10px;position:relative;transition:border-color .3s}.built-deck-preview[data-v-5e85fdba]:hover{border-color:var(--color-gold);transition:border-color 0s}a[data-v-5e85fdba]{text-decoration:unset}.background[data-v-5e85fdba]{background-image:var(--background-image);background-size:cover;background-position:center;opacity:.4;position:absolute;top:0;right:0;bottom:0;left:0;z-index:0}.built-deck-preview>div[data-v-5e85fdba]{filter:drop-shadow(0px 0px 2px black)}.deck-highlight-section[data-v-5e85fdba]{width:110px}.icon[data-v-5e85fdba]{color:var(--color-primary-2);position:absolute;top:15px;z-index:1}.content[data-v-5e85fdba]{display:flex;align-self:stretch;padding:0 15px;justify-content:space-between;align-items:flex-end}.format[data-v-5e85fdba]{display:flex;gap:5px;color:var(--color-primary-2);align-items:center;text-transform:uppercase;font-family:Impact,Haettenschweiler,Arial Narrow Bold,sans-serif;font-size:20px}.format-icon[data-v-5e85fdba]{width:30px;height:30px}.options-button[data-v-5e85fdba]{height:30px;right:5px;width:30px;display:flex;justify-content:center;align-items:start;opacity:.6}.options-button[data-v-5e85fdba]:hover,.show .options-button[data-v-5e85fdba]{opacity:1}.deck-buttons[data-v-5e85fdba]{opacity:0;pointer-events:none;position:absolute;right:0;left:0;top:10px;bottom:75px;gap:12px;flex-wrap:wrap;align-items:start;transition:opacity .5s,transform .5s;display:flex;justify-content:center;transform:translateY(100px)}.show .deck-buttons[data-v-5e85fdba]{transform:translateY(0);pointer-events:unset;opacity:1}.deck-highlight-section[data-v-5e85fdba],.content[data-v-5e85fdba]{transform:translateY(0);transition:opacity .5s,transform .5s;opacity:1}.show .deck-highlight-section[data-v-5e85fdba],.show .content[data-v-5e85fdba]{transform:translateY(-100px);opacity:0;pointer-events:none}.deck-highlight-eye[data-v-5e85fdba]{color:var(--color-primary-2);left:15px}.deck-highlight[data-v-5e85fdba]{flex-direction:column}.details[data-v-5e85fdba]{align-self:stretch;display:flex;padding:15px;background-color:var(--color-background-2);border-top:var(--color-primary-2) 2px solid;z-index:0}.details.built[data-v-5e85fdba]{flex-direction:column;gap:5px}.details.stats[data-v-5e85fdba]{justify-content:space-around}.title[data-v-5e85fdba]{color:var(--color-primary-2);font-size:16px;font-weight:700;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.extra-info[data-v-5e85fdba]{align-items:flex-end;display:flex;justify-content:space-between}.info-user[data-v-5e85fdba]{color:var(--color-gold);font-size:14px}.info-user>a[data-v-5e85fdba]{color:currentColor}.info-time[data-v-5e85fdba]{color:var(--color-primary-2);font-size:13px}.stat-column[data-v-5e85fdba]{color:var(--color-primary-2);display:flex;flex-direction:column;gap:5px}.stat-column>.number[data-v-5e85fdba]{text-align:center;font-size:30px;font-weight:700}.stat-column>.descriptor[data-v-5e85fdba]{text-align:center;font-size:12px;font-weight:lighter;text-transform:uppercase}.table-wrapper[data-v-20cc8387]{overflow:hidden;padding:0}.table[data-v-20cc8387]{gap:var(--table-gap, 10px);grid-template-rows:var(--table-grid-template-rows);grid-auto-rows:var(--table-grid-auto-rows);grid-template-columns:var(--table-grid-template-columns)}.heading-cell[data-v-20cc8387]{cursor:pointer;gap:10px}.leaderboard-top[data-v-48a25357]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:40px;grid-gap:20px}.heading-background[data-v-48a25357]{grid-column:-1 / 1;grid-row:1;background-color:var(--color-background-1);border-radius:15px}.heading-wrapper[data-v-48a25357]{display:contents}.heading[data-v-48a25357]{font-weight:700;font-size:18px;grid-row:1;color:var(--color-primary-2);justify-content:center;align-items:center;display:flex}.heading[data-v-48a25357]:nth-child(1){grid-column:1}.heading[data-v-48a25357]:nth-child(2){grid-column:2}.heading[data-v-48a25357]:nth-child(3){grid-column:3}[data-v-6f14fbf6]{box-sizing:border-box}.card-item-3d[data-v-6f14fbf6]{aspect-ratio:643 / 969;position:relative;-webkit-perspective:400px;perspective:400px}.card[data-v-6f14fbf6]{width:100%;height:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:all 1s var(--transition-1),filter .3s linear;transition:all 1s var(--transition-1),filter .3s linear;border-radius:10px}.card[data-v-6f14fbf6]:not(.flipped):hover{filter:drop-shadow(0px 0px 15px var(--color-gold))}.face[data-v-6f14fbf6]{position:absolute;width:100%;height:100%;-webkit-backface-visibility:hidden;backface-visibility:hidden}.back[data-v-6f14fbf6]{overflow:hidden;z-index:-1;display:block;-webkit-transform:rotateY(180deg);transform:rotateY(180deg);box-sizing:border-box;transition:background-image 1s cubic-bezier(1,0,1,-1)}.back[data-v-6f14fbf6]:before{content:"";position:absolute;width:100%;height:100%;z-index:-1;background-size:100% 100%;-webkit-transform:rotateY(180deg);-moz-transform:rotateY(180deg);-ms-transform:rotateY(180deg);-o-transform:rotateY(180deg);transform:rotateY(180deg)}.front[data-v-6f14fbf6]{z-index:1}.flipped[data-v-6f14fbf6],.hovercard[data-v-6f14fbf6]:hover{-webkit-transform:rotateY(180deg);transform:rotateY(180deg)}.card-lottery[data-v-53ddcbb6]{display:flex;flex-direction:column;justify-content:center}.cards[data-v-53ddcbb6]{display:flex;justify-content:center;transition:all 1s linear;width:100%}.card-item-3d-wrapper[data-v-53ddcbb6]{align-items:center;aspect-ratio:var(--card-item-aspect-ratio);display:flex;flex-grow:1;height:100%;max-height:500px;max-width:33%;justify-content:center;transition:all .5s linear}.card-item-3d[data-v-53ddcbb6]{animation:append-animate-53ddcbb6 .8s var(--transition-2);height:100%}.hide[data-v-53ddcbb6]{aspect-ratio:unset;flex-grow:.000001;height:0}.hide>.card-item-3d[data-v-53ddcbb6]{height:0}.bottom[data-v-53ddcbb6]{display:flex;flex-wrap:wrap;gap:20px;width:100%}.bottom>div[data-v-53ddcbb6]{align-items:center;display:flex;flex-basis:0;flex-grow:1;justify-content:center}.circle-slice-item-wrapper[data-v-53ddcbb6]{align-items:center;background-color:var(--color-1);border-radius:10px;justify-content:center;max-width:320px;min-width:240px;padding:10px;width:100%}.circle-card-item-wrapper[data-v-53ddcbb6]{width:100px}.options[data-v-53ddcbb6]{flex-direction:column;gap:10px}.fancy-button[data-v-53ddcbb6]{width:100%;justify-content:center}@keyframes append-animate-53ddcbb6{to{transform:scale(1)}}.dashboard-profile[data-v-592eac82]{background-color:var(--color-background-1);border-radius:20px;width:auto;height:auto;display:flex;flex-direction:column;align-items:center;position:relative;padding:15px;gap:10px}.profile-banner[data-v-592eac82]{--icon-size: 120px;position:relative;height:var(--icon-size);margin-bottom:calc(var(--icon-size) / 2);width:100%;display:flex;justify-content:center}.profile-banner-img[data-v-592eac82]{width:100%;height:100%;object-fit:cover;border-radius:20px}.circle-card-item[data-v-592eac82]{--circle-card-item-border-size: 5px;position:absolute;border-radius:100px;height:var(--icon-size);width:var(--icon-size);bottom:calc(var(--icon-size) / -2);border:var(--color-background-1) 5px solid}.edit-banner[data-v-592eac82]{position:absolute;top:10px;right:10px;color:var(--color-primary-2);filter:drop-shadow(0px 0px 2px black)}.edit-banner[data-v-592eac82]:hover{color:var(--color-0)}.profile-name[data-v-592eac82]{color:var(--color-primary-2);font-size:34px;font-weight:700;text-align:center;text-decoration:none}.profile-region[data-v-592eac82]{font-size:20px;color:var(--color-0);text-align:center}.profile-tiles[data-v-592eac82]{flex-grow:1;display:flex;gap:10px;justify-content:center}.profile-tile[data-v-592eac82]{background-color:var(--color-background-2);border-radius:15px;display:flex;justify-content:center;align-items:center;flex-direction:column;padding:10px;gap:10px;flex:1 1 0;min-width:0}.tile-content[data-v-592eac82]{display:flex;flex-grow:1;justify-content:center;align-items:center;padding:5px}.tile-text[data-v-592eac82]{text-align:center;font-size:16px;color:var(--color-0);white-space:nowrap}.games-text[data-v-592eac82]{color:var(--color-primary-2);font-weight:700;font-size:44px;text-align:center}.chart-container[data-v-592eac82]{height:90px;width:90px;position:relative}.profile-premium-expiration[data-v-592eac82]{color:var(--color-0)}.profile-premium-expiration-time[data-v-592eac82]{color:var(--color-primary-2)}.fancy-button[data-v-592eac82]{color:var(--color-primary-2);box-sizing:border-box;width:100%}.large-table[data-v-3cbac27b]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(6, 1fr) 50px}.champion-column[data-v-b0ce9955]{--region-item-size: 35px;display:flex;gap:10px;justify-content:start;padding-left:20px}.circle-card-item[data-v-b0ce9955]{min-width:35px}.small-table[data-v-2dae645c]{--table-gap: 1px;--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(3, 1fr)}.champion-column[data-v-d5c99255]{--region-item-size: 35px;display:flex;gap:10px;justify-content:start;padding-left:20px}.circle-card-item[data-v-d5c99255]{min-width:35px}.small-table[data-v-f883a9d9]{--table-gap: 1px;--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(3, 1fr)}.leaderboard-options[data-v-0689a8b2]{display:flex;flex-direction:column;gap:5px}.multiselects[data-v-0689a8b2]{display:flex;flex-direction:row-reverse;gap:10px}.details[data-v-0689a8b2]{color:var(--color-primary-2);display:flex;gap:5px;justify-content:space-between}.details span[data-v-0689a8b2]{font-weight:700}@media (max-width: 769px){.leaderboard-options[data-v-0689a8b2],.multiselects[data-v-0689a8b2],.details[data-v-0689a8b2]{flex-direction:column;justify-content:center}.multiselects[data-v-0689a8b2]{flex-direction:column-reverse}.leaderboard-options[data-v-0689a8b2]{gap:10px}.details[data-v-0689a8b2]{text-align:center}}.large-table[data-v-65e706f5]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(4, min-content) 1fr 50px}.statitistics-pane-container[data-v-f00b184f]{background-color:var(--color-background-2);display:grid;grid-template-columns:1fr;grid-template-rows:40px 1fr;border-radius:20px}.full-screen[data-v-f00b184f]{border-radius:0}.top[data-v-f00b184f]{display:flex;padding:15px;align-items:center;justify-content:space-between}.heading[data-v-f00b184f]{color:var(--color-primary-2);font-weight:600;font-size:16px}.maximize-icon[data-v-f00b184f]{color:var(--color-primary-2);opacity:.5;width:20px;height:20px}.maximize-icon[data-v-f00b184f]:hover{opacity:1}.chart[data-v-f00b184f]{position:relative}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper:after{content:"";position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper:after{width:1px;height:var(--swiper-virtual-size)}.swiper-carousel .swiper-slide[data-v-6fc8ea3c]{width:320px}.swiper-carousel img[data-v-6fc8ea3c]{width:100%;height:100%;display:block;object-fit:cover}.wins-losses-line[data-v-511803da]{display:flex;flex-direction:column;gap:5px}.lines[data-v-511803da]{display:flex;gap:10px;width:100%}.line[data-v-511803da]{border-radius:5px;height:10px}.wins.line[data-v-511803da]{background-color:var(--color-good)}.losses.line[data-v-511803da]{background-color:var(--color-bad)}.details[data-v-511803da]{font-size:14px;font-weight:600}.wl-record[data-v-511803da]{color:var(--color-0)}.champion-column[data-v-47d946ce]{--circle-card-item-size: 40px;display:flex;gap:10px;justify-content:start;padding-left:20px}.circle-card-item[data-v-47d946ce]{min-width:var(--circle-card-item-size)}.card-page-toggle[data-v-07d07f20]{height:45px;margin-bottom:25px}.champion-column[data-v-7abf758d]{display:flex;justify-content:start;align-items:center;padding-left:20px;gap:10px}.mana-hexagon[data-v-7abf758d]{width:35px;position:relative}.mana-number[data-v-7abf758d]{align-items:center;color:var(--color-primary-2);display:flex;font-size:100%;font-weight:600;top:0;right:0;bottom:0;left:0;justify-content:center;position:absolute}.reveal-day-option[data-v-daac7e87]{--size: 20px;background-color:var(--color-background-1);border:var(--color-gold) 2px solid;border-radius:var(--size);height:var(--size);position:relative;width:var(--size)}.card-wrapper[data-v-daac7e87]{top:50%;display:none;position:absolute;left:0;transform:translateY(-50%);transform-origin:50% 100%;width:var(--size);transition:transform .25s}.reveal-day-option.soon[data-v-daac7e87],.reveal-day-option.activated[data-v-daac7e87],.reveal-day-option.past[data-v-daac7e87]{--size: 30px;background-color:transparent;border-color:transparent}.reveal-day-option.soon[data-v-daac7e87]{background:radial-gradient(circle,rgba(var(--color-gold-rgb),1) 0%,rgba(var(--color-gold-rgb),.5) 100%);box-shadow:0 0 10px 1px rgba(var(--color-gold-rgb),1)}.reveal-day-option.soon .card-wrapper[data-v-daac7e87],.reveal-day-option.activated .card-wrapper[data-v-daac7e87],.reveal-day-option.past .card-wrapper[data-v-daac7e87]{display:unset}.card[data-v-daac7e87]{width:var(--size);transition:transform .25s}.reveal-day-option.activated>.card-wrapper[data-v-daac7e87]:nth-child(1),.reveal-day-option:hover>.card-wrapper[data-v-daac7e87]:nth-child(1){transform:translateY(-50%) rotate(30deg)}.reveal-day-option.activated>.card-wrapper[data-v-daac7e87]:nth-child(3),.reveal-day-option:hover>.card-wrapper[data-v-daac7e87]:nth-child(3){transform:translateY(-50%) rotate(-30deg)}.reveal-day-option.activated .card[data-v-daac7e87],.reveal-day-option:hover .card[data-v-daac7e87]{transform:translateY(-10%)}.reveal-day-options[data-v-3ca708c1]{display:flex;justify-content:space-between;align-items:center;position:relative}.line[data-v-3ca708c1]{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);height:2px;background-color:var(--color-gold);border-radius:10px}.small-table[data-v-89a26f2c]{--table-gap: 1px;--table-grid-auto-rows: 1fr;--table-grid-template-columns: repeat(3, 1fr);--table-grid-template-rows: 50px}.reveal-carousel[data-v-89a26f2c]{grid-column:1 / -1;padding:0 10px 10px}.large-table[data-v-11a25b9c]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(var(--columns), 1fr)}svg[data-v-c8a918ec]{fill:currentColor}svg[data-v-4a6733fd]{fill:currentColor}svg[data-v-b519ac08]{fill:currentColor}svg[data-v-f1928c9e]{fill:currentColor}svg[data-v-b1448e85]{fill:currentColor}svg[data-v-e5501fa0]{fill:currentColor}.navigation-side[data-v-6f58d7e9]{--width-collapsed: 50px;--width-expanded: 250px;background-color:var(--color-background-1);border-right:solid 1px var(--color-1);display:flex;flex-direction:column;height:inherit;max-width:80vw;position:relative;transition:width .3s;width:var(--width-collapsed);z-index:999}.navigation-side.expanded[data-v-6f58d7e9],.navigation-side[data-v-6f58d7e9]:hover{width:var(--width-expanded)}.navigation-side.expanded[data-v-6f58d7e9]{animation:.3s slide-in}.content[data-v-6f58d7e9]{--grid-template-columns: var(--width-collapsed) calc(var(--width-expanded) - var(--width-collapsed));display:grid;overflow-x:hidden;grid-template-columns:var(--grid-template-columns);grid-auto-rows:var(--width-collapsed)}.content.logo[data-v-6f58d7e9]{flex-shrink:0;border-bottom:solid 1px var(--color-1);height:calc(var(--width-collapsed) - 1px)}.pages[data-v-6f58d7e9]{overflow-y:auto}.content.pages.scrollable-down[data-v-6f58d7e9]{box-shadow:inset 0 -20px 20px -20px var(--color-0)}.content.pages.scrollable-up[data-v-6f58d7e9]{box-shadow:inset 0 20px 20px -20px var(--color-0)}.content.pages.scrollable-down.scrollable-up[data-v-6f58d7e9]{box-shadow:inset 0 -20px 20px -20px var(--color-0),inset 0 20px 20px -20px var(--color-0)}.profile[data-v-6f58d7e9]{--circle-card-item-size: 35px;border-top:solid 1px var(--color-1);flex-shrink:0;margin-top:auto;overflow:hidden}.nav-item[data-v-6f58d7e9]{color:var(--color-0);display:grid;grid-template-columns:var(--grid-template-columns);grid-column:span 2;text-decoration:none;cursor:pointer}.highlight.nav-item[data-v-6f58d7e9]{color:var(--color-gold)}.content.logo .nav-item[data-v-6f58d7e9]{color:var(--color-primary-2);position:sticky;top:0}.nav-icon-wrapper[data-v-6f58d7e9]{align-items:center;display:flex;justify-content:center;z-index:-1}.nav-item:hover>.nav-icon-wrapper[data-v-6f58d7e9],.nav-item.highlight>.nav-icon-wrapper[data-v-6f58d7e9]{background-color:var(--color-background-2)}.nav-item:hover>.nav-icon-wrapper[data-v-6f58d7e9]{color:var(--color-primary-2)}.nav-item.premium[data-v-6f58d7e9]{color:var(--color-gold)}.content.logo>.nav-item>.nav-icon-wrapper[data-v-6f58d7e9]{padding:8px}.nav-text[data-v-6f58d7e9]{align-items:center;display:flex;font-size:14px;font-weight:700;z-index:-1}.nav-text.settings[data-v-6f58d7e9],.nav-text.name[data-v-6f58d7e9]{justify-content:space-between;padding-right:15px;z-index:unset}.settings .icon[data-v-6f58d7e9],.name .icon[data-v-6f58d7e9]{font-size:24px}.sign-out.icon[data-v-6f58d7e9]{color:var(--color-0);font-size:18px}.profile .name[data-v-6f58d7e9]{color:var(--color-gold)}.nav-item:hover>.nav-text[data-v-6f58d7e9],.nav-item.highlight>.nav-text[data-v-6f58d7e9]{background-color:var(--color-background-2)}.nav-item:hover>.nav-text[data-v-6f58d7e9]{color:var(--color-primary-2)}.text-content[data-v-6f58d7e9]{display:block;position:relative;width:fit-content}.progress-text[data-v-6f58d7e9]{color:var(--color-gold);height:100%;left:0;overflow:hidden;position:absolute;top:0;transition:width .3s;white-space:nowrap}.nav-icon.spin[data-v-6f58d7e9]{animation:spin-6f58d7e9 2s linear infinite}@keyframes spin-6f58d7e9{to{transform:rotate(360deg)}}.content.logo .nav-item>.nav-text[data-v-6f58d7e9]{justify-content:center;padding-left:10px;width:150px}.sign-in-container[data-v-6f58d7e9]{padding:0 10px}.fancy-button[data-v-6f58d7e9]{height:40px;width:100%;font-family:Impact,Haettenschweiler,Arial Narrow Bold,sans-serif;text-transform:uppercase}.navigation-top-mobile[data-v-f840153f]{align-items:center;background-color:var(--color-background-1);color:var(--color-primary-2);display:flex;justify-content:space-between;padding:0 10px}.logo-icon[data-v-f840153f]{color:var(--color-primary-2);width:100px}.icon[data-v-f840153f]{font-size:20px}.search-bar[data-v-f840153f]{width:100%}.navigation-side[data-v-f840153f]{position:absolute;top:0;left:0;bottom:0}.navigation-top[data-v-508e62c8]{display:grid;border-bottom:solid 1px var(--color-1)}.navigation-top>.navigation-top-desktop[data-v-508e62c8]{display:none}@media (min-width: 769px){.navigation-top>.navigation-top-desktop[data-v-508e62c8]{display:flex}.navigation-top>.navigation-top-mobile[data-v-508e62c8]{display:none}}.profile-dropdown-wrapper[data-v-1c516824]{display:flex;align-items:center}.profile-dropdown[data-v-1c516824]{display:flex;text-align:center;align-items:center;font-weight:700;color:var(--color-gold);font-size:18px}input[data-v-3c45ffbe]{background-color:var(--color-1);border-radius:30px;border:none;cursor:pointer;display:flex;height:45px;padding:10px;width:200px}.small-table[data-v-fe0f916c]{--table-gap: 1px;--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(3, 1fr)}.multiselect-wrapper[data-v-fe0f916c]{grid-column:2 / -1;padding:0 10px}.wrapper:hover .table-card-row-background[data-v-61aebadd]{border-color:#816f0d}.large-table[data-v-4a8597f4]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(4, 1fr)}.deck-builder-summary-type[data-v-2e6bb287]{align-items:center;background-color:var(--color-background-1);border-radius:999px;display:flex;flex-direction:column;padding:5px;width:30px}.deck-builder-summary-type.deck[data-v-2e6bb287]{flex-grow:1;font-size:20px;width:unset}.number-container[data-v-2e6bb287]{align-items:center;aspect-ratio:1 / 1;border-radius:999px;color:var(--color-primary-2);display:flex;font-weight:700;justify-content:center;width:100%}.deck-builder-summary-type.error>.number-container[data-v-2e6bb287]{color:var(--color-bad)}.deck-builder-summary-type.deck>.number-container[data-v-2e6bb287]{aspect-ratio:unset;flex-grow:1;height:100%}.type-icon[data-v-2e6bb287]{color:var(--color-0);width:20px}.deck-builder-summary[data-v-ec8f0fa9]{display:flex;gap:5px}.small-table[data-v-e5817be3]{--table-gap: 1px;--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(3, 1fr)}.slider-wrapper[data-v-bb4c05e4]{width:25px;height:140px;display:flex;align-items:center;justify-content:center;transform:rotate(270deg)}.card-overview[data-v-8e45b2bc]{background-color:var(--color-background-1);border-radius:20px;color:var(--color-0);padding:0 20px 20px;display:flex;flex-direction:column}.overview-top[data-v-8e45b2bc]{display:flex;justify-content:space-between;align-items:center}.icon[data-v-8e45b2bc]{margin:10px;width:25px;height:25px}.card-name[data-v-8e45b2bc]{color:var(--color-primary-2);font-size:40px;font-weight:600;margin-bottom:10px;margin-top:15px}.card-tags[data-v-8e45b2bc]{display:flex;flex-flow:wrap;gap:10px;margin-bottom:10px}.card-tag[data-v-8e45b2bc]{display:flex;border-radius:25px;background-color:var(--color-2);height:45px;align-items:center;flex-grow:1;flex-basis:0}.card-tag-text[data-v-8e45b2bc]{font-size:14px;opacity:.5;color:var(--color-primary-2);margin-right:15px}.card-tag[data-v-8e45b2bc]:last-child{margin-right:0}.card-text[data-v-8e45b2bc]{color:var(--color-primary-2);font-size:20px;margin-bottom:15px}.keyword-name[data-v-8e45b2bc]{color:var(--color-primary-2)}.keyword-description[data-v-8e45b2bc]{font-size:20px;margin-bottom:15px}.flavor-text[data-v-8e45b2bc]{font-size:20px}.divider[data-v-8e45b2bc]{border:#2c2d4a solid 1px;margin:0 10px 15px}.card-art-section[data-v-8e45b2bc]{display:flex;justify-content:flex-end;margin-top:auto}.full-art-wrapper[data-v-8e45b2bc]{background-color:var(--color-background-1);padding:10px;border-radius:10px}.full-art[data-v-8e45b2bc]{max-height:80vh;max-width:80vw}.profile-game-type-winrate[data-v-1bb3c9de]{display:flex;flex-direction:column;gap:5px;padding:10px;background-color:var(--color-background-1);border-radius:10px}.game-type[data-v-1bb3c9de]{color:var(--color-primary-2);font-weight:700}.large-table[data-v-c789c9b5]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(5, 1fr) 50px}.circle-button[data-v-90be9f81]{font-size:28px;font-size:900}.mana-curve-chart{border-radius:10px;background-color:var(--color-background-2);height:80px}.cards-container{border-radius:10px;display:flex;flex-direction:column;gap:2px;padding:5px;background-color:var(--color-background-2);flex-grow:1;overflow:scroll}.cards-container:has(.input-deck-code){justify-content:center}.input-deck-code{display:flex;flex-direction:column;gap:10px}.text{text-align:center;color:var(--color-0)}.bottom{display:flex;justify-content:space-between}.bottom-buttons{display:flex;gap:5px}.input-deck-code>input{background-color:var(--color-2);border-radius:25px;border:none;color:var(--color-primary-2);font-size:14px;height:45px;outline:none;padding-left:20px;padding-right:20px;width:-webkit-fill-available}.deck-buttons[data-v-79fac15d]{--buttons-flex-wrap: wrap;--buttons-justify-content: end;flex-wrap:wrap;justify-content:end}.tournament-timeline-item[data-v-f008d11f]{--progress-circle-size: 24px;position:relative;display:flex;flex-direction:column;gap:16px;min-width:200px;max-width:90vw;flex-grow:1;flex-basis:0}.tournament-timeline-item[data-v-f008d11f]:not(:last-child):before{content:"";position:absolute;top:calc((var(--progress-circle-size) / 2) - 1px);left:var(--progress-circle-size);width:calc(100% + var(--timeline-gap, 0px));height:2px;background-color:var(--color-4);z-index:0}.progress-circle[data-v-f008d11f]{width:var(--progress-circle-size);height:var(--progress-circle-size);border-radius:50%;background-color:var(--color-good);z-index:1}.content[data-v-f008d11f]{display:flex;flex-direction:column;gap:8px}.heading[data-v-f008d11f]{display:flex;align-items:end;gap:12px}.title[data-v-f008d11f]{font-weight:600;color:var(--color-primary-2)}.date[data-v-f008d11f]{font-size:12px;color:var(--color-0);font-weight:600}.description[data-v-f008d11f]{font-size:14px;color:var(--color-primary-2);max-width:400px}.tournament-timeline-item[data-v-f008d11f]:not(.active) *{color:var(--color-0)}.tournament-timeline[data-v-420a5855]{--paddding: 20px;--timeline-gap: 20px;gap:var(--timeline-gap);display:flex;padding:var(--paddding);overflow-y:scroll;--mask: linear-gradient( to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) var(--paddding), rgba(0, 0, 0, 1) calc(100% - var(--paddding)), rgba(0, 0, 0, 0) 100% );mask:var(--mask);-webkit-mask:var(--mask)}.tournament-deck-result[data-v-8aaa4e70]{display:flex;flex-direction:column;gap:10px;padding:10px}.icon[data-v-8aaa4e70]{font-size:24px;color:var(--color-primary-2)}.good[data-v-8aaa4e70]{color:var(--color-good)}.bad[data-v-8aaa4e70]{color:var(--color-bad)}.results[data-v-8aaa4e70]{color:var(--color-primary-2);font-size:18px;font-weight:700;text-align:center}.deck-highlight[data-v-8aaa4e70]{--deck-highlight-align-items: center;--deck-highlight-flex-direction: column;--deck-highlight-justify-content: start;--deck-highlight-gap: 15px}.row[data-v-4ec8059f]{z-index:calc(10000 - var(--index));position:relative}.column-content[data-v-4ec8059f]{z-index:inherit}.card-slice-item[data-v-4ec8059f]{padding:5px;width:100%;height:100%;box-sizing:border-box}.card-wrapper[data-v-4ec8059f]{filter:unset;min-width:250px}.tournament-player-row-background-wrapper[data-v-4ec8059f]{grid-row:var(--index);grid-column:1 / -1;position:relative}.tournament-player-row-background[data-v-4ec8059f]{background-color:var(--color-background-2);border:var(--color-3) solid 2px;border-radius:20px;overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;transition:border-color .2s}a.wrapper:hover .tournament-player-row-background[data-v-4ec8059f]{border-color:#d9b905}.background-card[data-v-4ec8059f]{background-image:var(--background-image);background-size:cover;background-position:center 25%;bottom:0;opacity:40%;position:absolute;top:0;width:60%}.background-card[data-v-4ec8059f]:first-child{-webkit-mask-image:linear-gradient(to right,black 0%,black 66.66%,transparent 100%);mask-image:linear-gradient(to right,black 0%,black 66.66%,transparent 100%);left:0}.background-card[data-v-4ec8059f]:last-child{-webkit-mask-image:linear-gradient(to right,transparent 0%,black 33.33%,black 100%);mask-image:linear-gradient(to right,transparent 0%,black 33.33%,black 100%);right:0}.options-button[data-v-4ec8059f]{min-width:unset}.icon[data-v-4ec8059f]{font-size:20px;color:var(--color-0);transition:transform .4s,color .2s}.options-button:hover .icon[data-v-4ec8059f]{color:var(--color-primary-2)}.expanded .icon[data-v-4ec8059f]{transform:rotate(180deg)}.tournament-player-additional-data-row[data-v-4ec8059f]{grid-row:var(--index);grid-column:1 / -1;position:relative;cursor:default}.tournament-player-additional-data-wrapper[data-v-4ec8059f]{position:absolute;top:25px;left:0;right:0;height:0px;padding-top:25px;background-color:var(--color-3);border-radius:0 0 25px 25px;transition:height .5s;overflow:hidden}.expanded .tournament-player-additional-data-wrapper[data-v-4ec8059f]{height:var(--height)}.tournament-player-additional-data-content[data-v-4ec8059f]{display:flex;flex-direction:column;gap:10px;padding:20px}.tournament-player-additional-data-content-top[data-v-4ec8059f]{display:flex;gap:10px;justify-content:space-around}.tournament-player-additional-data-content-top[data-v-4ec8059f]>*{flex:1}.winrate-wrapper[data-v-4ec8059f]{display:flex;justify-content:center;align-items:center;padding:5px;font-size:20px;font-weight:700;color:var(--color-primary-2)}.tournament-player-additional-data-content-bottom[data-v-4ec8059f]{display:flex;gap:10px;justify-content:space-evenly}.tournament-player-additional-data-content-bottom[data-v-4ec8059f]>*{background-color:var(--color-background-2);border-radius:10px}.large-table[data-v-a8525fd3]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(var(--columns), 1fr) 50px}.swiss-round-options[data-v-cfee2da2]{display:flex;gap:1px;background-color:var(--color-1);border-radius:99px;overflow:hidden;border:var(--color-1) solid 2px}.swiss-round-option[data-v-cfee2da2]{padding:10px 15px;cursor:pointer;transition:background-color .2s;color:var(--color-primary-2);background-color:var(--color-background-1);font-weight:600;flex-grow:1;text-align:center}.swiss-round-option[data-v-cfee2da2]:first-child{padding-left:20px}.swiss-round-option[data-v-cfee2da2]:last-child{padding-right:20px}.swiss-round-option.selected[data-v-cfee2da2]{background-color:var(--color-good)}.tournament-player[data-v-322df46f]{position:relative;display:flex;width:250px;--height: 32px;height:var(--height);padding-right:var(--height);--border-radius-m: var(--border-radius-s)}.card-slice-item[data-v-322df46f]{flex-grow:1}.tournament-player.horizontal.bottom[data-v-322df46f]{padding-right:0;padding-left:var(--height)}.results[data-v-322df46f]{background:linear-gradient(90deg,rgba(var(--color-2-rgb),0) 0%,rgba(var(--color-2-rgb),1) 20px,rgba(var(--color-2-rgb),1) 100%);padding-left:20px;border-radius:0 var(--border-radius-s) var(--border-radius-s) 0;bottom:0;min-width:100px;position:absolute;right:0;top:0;z-index:-1;display:flex;justify-content:end}.tournament-player.horizontal.bottom>.results[data-v-322df46f]{left:0;right:unset;background:linear-gradient(270deg,rgba(var(--color-2-rgb),0) 0%,rgba(var(--color-2-rgb),1) 20px,rgba(var(--color-2-rgb),1) 100%);border-radius:var(--border-radius-s) 0 0 var(--border-radius-s);padding-left:0;padding-right:20px;justify-content:start}.show-results .results[data-v-322df46f]{z-index:1}.result[data-v-322df46f]{display:flex;justify-content:center;align-items:center;color:var(--color-primary-2);font-weight:600;font-size:20px;aspect-ratio:1 / 1}.result.win[data-v-322df46f]{color:var(--color-excellent)}.main-tippy[data-v-322df46f]{display:flex;gap:10px}.main-tippy>div[data-v-322df46f]{background-color:var(--color-background-2);border-radius:8px}.content[data-v-a329da5a]{display:flex;flex-direction:column;align-items:center;gap:30px;background-color:var(--color-background-2);border-radius:var(--box-border-radius);max-height:90vh;max-width:90vw;overflow:auto;position:relative;padding:20px}.players[data-v-a329da5a]{display:flex;flex-wrap:wrap;gap:30px;align-items:center}.player[data-v-a329da5a]{display:flex;justify-content:center;gap:10px;flex-direction:column;background-color:var(--color-background-1);padding:10px;border-radius:10px}.player-name[data-v-a329da5a]{font-size:18px;font-weight:700;text-align:center;color:var(--color-primary-2)}.card-slice-item[data-v-a329da5a]{max-width:270px;width:270px;align-self:center}.player-record[data-v-a329da5a]{font-size:16px;font-weight:700;text-align:center;color:var(--color-primary-2)}.player-decks[data-v-a329da5a]{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.tournament-deck-result[data-v-a329da5a]{background-color:var(--color-background-2);border-radius:10px;padding:5px}.results[data-v-a329da5a]{display:flex;flex-wrap:wrap;gap:40px;justify-content:center}.game[data-v-a329da5a]{display:flex;flex-direction:column;gap:10px;justify-content:center;background-color:var(--color-background-1);padding:10px;border-radius:10px}.game-number[data-v-a329da5a]{font-size:18px;font-weight:700;text-align:center;color:var(--color-primary-2)}.game-result[data-v-a329da5a]{display:flex;justify-content:center;gap:25px;align-items:center}.vs[data-v-a329da5a]{font-size:18px;font-weight:700;text-align:center;color:var(--color-primary-2)}.game-player[data-v-a329da5a]{display:flex;flex-direction:column;gap:10px}.game-player>.tournament-deck-result[data-v-a329da5a]{padding:10px}.game-player-name[data-v-a329da5a]{font-size:16px;text-align:center;color:var(--color-primary-2)}.content[data-v-0a4547ed]{display:flex;flex-direction:column;gap:20px;padding:20px;background-color:var(--color-background-2);border-radius:20px}.heading[data-v-0a4547ed]{display:flex;justify-content:center;color:var(--color-primary-2);font-size:20px;font-weight:700}.toggle-switch[data-v-0a4547ed]{width:400px;max-width:90vw;height:45px}.tournament-matchup[data-v-539a82c9]{position:relative}.players[data-v-539a82c9]{display:flex;flex-direction:column;gap:10px}.players.horizontal[data-v-539a82c9]{flex-direction:row}.hover-options-container[data-v-539a82c9]{position:absolute;right:0;top:0;bottom:0;transform:translate(100%);justify-content:center;align-items:center;display:none}.tournament-matchup:hover .hover-options-container[data-v-539a82c9]{display:flex}.hover-options[data-v-539a82c9]{margin-left:5px;display:flex;background-color:var(--color-background-2);border-radius:5px;padding:5px;gap:5px;color:#fff}.option[data-v-539a82c9]{padding:8px;border-radius:5px;cursor:pointer}.option[data-v-539a82c9]:hover{background-color:var(--color-background-1)}.swiss-round[data-v-fb604c77]{display:flex;flex-direction:column;gap:10px;align-items:center}.matchup[data-v-fb604c77]{background-color:var(--matchup-background-color);padding:5px;border-radius:10px;position:relative;z-index:0}.tournament-bracket[data-v-5fb5924f]{--mask: linear-gradient( to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 20px, rgba(0, 0, 0, 1) calc(100% - 20px), rgba(0, 0, 0, 0) 100% ), linear-gradient( to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 20px, rgba(0, 0, 0, 1) calc(100% - 20px), rgba(0, 0, 0, 0) 100% );-webkit-mask-composite:source-in;-webkit-mask:var(--mask);mask:var(--mask);mask-composite:var(--mask);display:flex;gap:50px;padding:20px}.round[data-v-5fb5924f]{display:flex;flex-direction:column;justify-content:space-around;gap:30px}.empty[data-v-5fb5924f]{height:74px;flex-shrink:0}.content[data-v-c8ad471f],.content[data-v-9f936feb],.content[data-v-6d9b3357],.content[data-v-f7db2ed6]{color:var(--color-primary-2);text-align:center}.content[data-v-60efabe2]{display:flex;flex-direction:column;gap:30px}.players[data-v-60efabe2]{display:flex;flex-direction:column;gap:20px}.player[data-v-60efabe2]{display:flex;justify-content:center;gap:10px;flex-direction:column}.player-name[data-v-60efabe2]{font-size:18px;font-weight:700;text-align:center;color:var(--color-primary-2)}.player-record[data-v-60efabe2]{font-size:16px;font-weight:700;text-align:center;color:var(--color-primary-2)}.player-decks[data-v-60efabe2]{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.tournament-deck-result[data-v-60efabe2]{background-color:var(--color-background-1);border-radius:10px;padding:5px}.result[data-v-60efabe2]{display:flex;flex-direction:column;gap:20px}.game-number[data-v-60efabe2]{font-size:18px;font-weight:700;text-align:center;color:var(--color-primary-2)}.game-result[data-v-60efabe2]{display:flex;justify-content:center;gap:25px;align-items:center}.vs[data-v-60efabe2]{font-size:18px;font-weight:700;text-align:center;color:var(--color-primary-2)}.game-player[data-v-60efabe2]{display:flex;flex-direction:column;gap:10px}.game-player>.tournament-deck-result[data-v-60efabe2]{padding:10px}.game-player-name[data-v-60efabe2]{font-size:16px;text-align:center;color:var(--color-primary-2)}.content[data-v-8ad5656f]{color:var(--color-primary-2);text-align:center}.content[data-v-bd9944b6]{display:flex;flex-direction:column;gap:30px}.content[data-v-d3bac452]{color:var(--color-primary-2);text-align:center}
|
|
2
2
|
`,document.head.appendChild(_0);const _f=un.defineStore("toasts",{state:()=>({toasts:[]}),actions:{addToast(e){this.toasts.push(e),setTimeout(()=>{this.deleteToast(e)},e.time??1e4)},deleteToast(e){const t=this.toasts.indexOf(e);t!==-1&&this.toasts.splice(t,1)}}}),tE=["onClick"],nE={class:"toast-message"},rE={key:0,class:"toast-options"},aE=["href","onClick"],iE=s.defineComponent({__name:"ToastContainer",setup(e){const t=s.ref(null);return s.onMounted(()=>{t.value&&document.body.appendChild(t.value)}),(n,r)=>(s.openBlock(),s.createElementBlock("div",{class:"toast-container",ref_key:"toastContainer",ref:t},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(_f)().toasts,(a,i)=>(s.openBlock(),s.createElementBlock("div",{key:i,class:s.normalizeClass(["toast",a.type]),onClick:o=>s.unref(_f)().deleteToast(a)},[s.createElementVNode("div",nE,s.toDisplayString(a.message),1),a.options&&a.options.length?(s.openBlock(),s.createElementBlock("div",rE,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.options,(o,A)=>(s.openBlock(),s.createElementBlock("a",{key:A,class:"toast-option",href:o.link,target:"_blank",onClick:l=>o.onClick(a)},s.toDisplayString(o.message),9,aE))),128))])):s.createCommentVNode("",!0)],10,tE))),128))],512))}}),epe="",Q=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},C0=Q(iE,[["__scopeId","data-v-d1c03412"]]);var ir=(e=>(e.Standard="client_Formats_Standard_name",e.Eternal="client_Formats_Eternal_name",e.CommonsOnly="client_Formats_CommonsOnly_name",e.Singleton="client_Deckbuilder_RulesFilters_Singleton",e.EvenCost="client_Formats_EvenCostCards_name",e))(ir||{}),k0=(e=>(e.Normal="Normal",e.Ranked="Ranked",e))(k0||{}),So=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},x0={},Fo={},Cf={};Object.defineProperty(Cf,"__esModule",{value:!0});class xi{constructor(t){this.bytes=new Uint8Array(t)}get length(){return this.bytes.length}PopVarint(){let t=0,n=0,r=0;for(let a=0;a<this.bytes.length;a++){r++;const i=this.bytes[a]&xi.AllButMSB;if(t|=i<<n,(this.bytes[a]&xi.JustMSB)!=xi.JustMSB)return this.bytes=this.bytes.slice(r),t;n+=7}throw"Byte array did not contain valid varints."}sliceAndSet(t,n){this.bytes=this.bytes.slice(t,n)}get(t){return this.bytes[t]}static GetVarint(t){const n=new Uint8Array(10);let r=0;if(t==0)return new Uint8Array([0]);for(;t!==0;){let a=t&this.AllButMSB;t>>=7,t!=0&&(a|=this.JustMSB),n[r++]=a}return n.slice(0,r)}}Cf.default=xi,xi.AllButMSB=127,xi.JustMSB=128;var Io={};Object.defineProperty(Io,"__esModule",{value:!0}),Io.mergeUint8Arrays=Io.sortDeck=void 0;function oE(e){e.sort((t,n)=>t.cardCode<n.cardCode?-1:1)}Io.sortDeck=oE;function sE(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}Io.mergeUint8Arrays=sE;var Do={};Object.defineProperty(Do,"__esModule",{value:!0}),Do.base32Decode=Do.base32Encode=void 0;const kf="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";function AE(e){const t=e.byteLength,n=new Uint8Array(e);let r=0,a="",i=0;for(let o=0;o<t;o++)for(i=i<<8|n[o],r+=8;r>=5;)a+=kf[i>>>r-5&31],r-=5;for(r>0&&(a+=kf[i<<5-r&31]);a.length%8!==0;)a+="=";return a}Do.base32Encode=AE;function lE(e){function t(A){const l=kf.indexOf(A);if(l===-1)throw new Error("Invalid character found: "+A);return l}const n=e.toUpperCase().replace(/\=+$/,"");let r=0,a=0,i=0;const o=new Uint8Array(n.length*5/8|0);for(let A=0;A<n.length;A++)i=i<<5|t(n[A]),r+=5,r>=8&&(o[a++]=i>>>r-8&255,r-=8);return o.buffer}Do.base32Decode=lE;var cE=So&&So.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Fo,"__esModule",{value:!0}),Fo.getCodeFromDeck=Fo.getDeckFromCode=void 0;const br=cE(Cf),pn=Io,E0=Do;class et{static getMinSupportedLibraryVersion(t){if(!t)return et.INITIAL_VERSION;const n=t.map(r=>r.cardCode.substr(2,2)).map(r=>this.FACTION_CODE_TO_LIBRARY_VERSION[r]||this.INITIAL_VERSION);return Math.max(...n)}static getDeckFromCode(t){const n=[],r=E0.base32Decode(t);if(!r)throw"Invalid deck code";const a=new br.default(r);a.get(0)>>4;const i=a.get(0)&15;if(a.sliceAndSet(1),i>et.MAX_KNOWN_VERSION)throw"The provided code requires a higher version of this library; please update.";for(let o=3;o>0;o--){const A=a.PopVarint();for(let l=0;l<A;l++){const c=a.PopVarint(),d=a.PopVarint(),u=a.PopVarint();for(let f=0;f<c;f++){const p=a.PopVarint(),h=d.toString().padStart(2,"0"),m=this.INT_TO_FACTION_CODE[u],b=p.toString().padStart(3,"0"),g={cardCode:h+m+b,count:o};n.push(g)}}}for(;a.length>0;){const o=a.PopVarint(),A=a.PopVarint(),l=a.PopVarint(),c=a.PopVarint(),d=A.toString().padStart(2,"0"),u=this.INT_TO_FACTION_CODE[l],f=c.toString().padStart(3,"0"),p={cardCode:d+u+f,count:o};n.push(p)}return n}static getCodeFromDeck(t){const n=this.getDeckCodeBytes(t);return E0.base32Encode(n)}static getDeckCodeBytes(t){if(!et.ValidCardCodesAndCounts(t))throw"The provided deck contains invalid card codes.";const n=this.FORMAT<<this.MAX_KNOWN_VERSION|this.getMinSupportedLibraryVersion(t)&15;let r=new Uint8Array([n]);const a=[],i=[],o=[],A=[];for(const m of t)if(m.count==3)a.push(m);else if(m.count==2)i.push(m);else if(m.count==1)o.push(m);else{if(m.count<1)throw"Invalid count of "+m.count+" for card "+m.cardCode;A.push(m)}let l=et.GetGroupedOfs(a),c=et.GetGroupedOfs(i),d=et.GetGroupedOfs(o);l=et.SortGroupOf(l),c=et.SortGroupOf(c),d=et.SortGroupOf(d),pn.sortDeck(A);const u=et.EncodeGroupOf(l),f=et.EncodeGroupOf(c),p=et.EncodeGroupOf(d),h=et.EncodeNOfs(A);return r=pn.mergeUint8Arrays(r,u),r=pn.mergeUint8Arrays(r,f),r=pn.mergeUint8Arrays(r,p),r=pn.mergeUint8Arrays(r,h),r}static GetGroupedOfs(t){const n=[];for(;t.length>0;){const r=[],a=t[0].cardCode,{set:i,faction:o,number:A}=et.ParseCardCode(a);r.push(t[0]),t.shift();for(let l=t.length-1;l>=0;l--){const c=t[l].cardCode,d=Number(c.substring(0,2)),u=c.substring(2,4);d===i&&u===o&&(r.push(t[l]),t.splice(l,1))}n.push(r)}return n}static EncodeNOfs(t){let n=new Uint8Array;for(const r of t){n=pn.mergeUint8Arrays(n,br.default.GetVarint(r.count));const{set:a,faction:i,number:o}=et.ParseCardCode(r.cardCode),A=this.FACTION_CODE_TO_INT[i];n=pn.mergeUint8Arrays(n,br.default.GetVarint(a)),n=pn.mergeUint8Arrays(n,br.default.GetVarint(A)),n=pn.mergeUint8Arrays(n,br.default.GetVarint(o))}return n}static SortGroupOf(t){const n=t.sort((r,a)=>r.length<a.length?-1:1);return n.forEach(r=>pn.sortDeck(r)),n}static EncodeGroupOf(t){let n=new Uint8Array([]);n=pn.mergeUint8Arrays(n,br.default.GetVarint(t.length));for(const r of t){n=pn.mergeUint8Arrays(n,br.default.GetVarint(r.length));const a=r[0].cardCode,{set:i,faction:o}=et.ParseCardCode(a),A=this.FACTION_CODE_TO_INT[o];n=pn.mergeUint8Arrays(n,br.default.GetVarint(i)),n=pn.mergeUint8Arrays(n,br.default.GetVarint(A));for(const l of r){const c=l.cardCode,d=Number(c.substring(4,7));n=pn.mergeUint8Arrays(n,br.default.GetVarint(d))}}return n}static ParseCardCode(t){return{set:Number(t.substring(0,2)),faction:t.substring(2,4),number:Number(t.substring(4,7))}}static ValidCardCodesAndCounts(t){for(const n of t){if(n.cardCode.length!=et.CARD_CODE_LENGTH||isNaN(Number(n.cardCode.substring(0,2))))return!1;const r=n.cardCode.substring(2,4);if(this.FACTION_CODE_TO_INT[r]===void 0||isNaN(Number(n.cardCode.substring(4,7)))||n.count<1)return!1}return!0}}et.CARD_CODE_LENGTH=7,et.MAX_KNOWN_VERSION=5,et.FORMAT=1,et.INITIAL_VERSION=1,et.FACTION_CODE_TO_INT={DE:0,FR:1,IO:2,NX:3,PZ:4,SI:5,BW:6,SH:7,MT:9,BC:10,RU:12},et.INT_TO_FACTION_CODE={0:"DE",1:"FR",2:"IO",3:"NX",4:"PZ",5:"SI",6:"BW",7:"SH",9:"MT",10:"BC",12:"RU"},et.FACTION_CODE_TO_LIBRARY_VERSION={DE:1,FR:1,IO:1,NX:1,PZ:1,SI:1,BW:2,MT:2,SH:3,BC:4,RU:5};const dE=e=>et.getDeckFromCode(e);Fo.getDeckFromCode=dE;const uE=e=>et.getCodeFromDeck(e);Fo.getCodeFromDeck=uE;var S0={};Object.defineProperty(S0,"__esModule",{value:!0}),function(e){var t=So&&So.__createBinding||(Object.create?function(r,a,i,o){o===void 0&&(o=i),Object.defineProperty(r,o,{enumerable:!0,get:function(){return a[i]}})}:function(r,a,i,o){o===void 0&&(o=i),r[o]=a[i]}),n=So&&So.__exportStar||function(r,a){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,r,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(Fo,e),n(S0,e)}(x0);const hn=un.defineStore("cardJsonObject",{state:()=>({cardJsonObject:{}}),actions:{update(e){this.cardJsonObject=e}}}),Be=un.defineStore("dataJson",{state:()=>({dataJson:{keywords:[],patches:{},ranks:[],rarities:[],regions:[],runeterraChampions:[],seasons:[],servers:[],sets:[],spellSpeeds:[],types:[],vocabTerms:[],cardFormats:[],formats:{},queues:{}}}),actions:{update(e){this.dataJson=e}}}),Jt=un.defineStore("user",{state:()=>({user:void 0}),actions:{update(e){this.user=e}}}),Jl=un.defineStore("aquiredCards",{state:()=>({acquiredCards:void 0}),actions:{update(){const e=Jt().user;if(!e||!e.cardCollectionCode){this.acquiredCards=void 0;return}this.acquiredCards=kt(e.cardCollectionCode)}}});function To(e){return/^\d+$/.test(e[0])}function Uo(e){return e===void 0?!1:e.supertype==="Champion"&&e.typeRef==="Unit"}function fE(e){if(e===void 0)return Math.random();typeof e=="string"&&(e=Number(e.split("").map(function(n){return n.charCodeAt(0)+1}).join("")));const t=Math.sin(e++)*1e4;return t-Math.floor(t)}function F0(e){return`#${Math.floor(fE(e)*16777215).toString(16)}`}function zn(e,t=.5){return e>=t+.15||e>=1?"--color-excellent":e>=t+.05?"--color-good":e>=t+.005?"--color-good-lite":e<t+.005&&e>t-.005?"--color-median":e>=t-.05?"--color-bad-lite":"--color-bad"}function pE(e){const t=new Date,n=new Date(t);return n.setTime(n.getTime()+e*3600*1e3*24),n}function De(e,t=0,n){return e===null?"-":Number(e.toFixed(t)).toLocaleString(void 0,{maximumSignificantDigits:n===void 0?e>1e4?3:2:n})}function hE(e,t){return Math.floor(Math.random()*(t-e)+e)}function mE(e,t){return e.reduce((n,r)=>{var a;return(n[a=t(r)]||(n[a]=[])).push(r),n},{})}function Zl(e,t){var o;const n=Jl().acquiredCards;if(t&&n===void 0)return null;const r=hn().cardJsonObject,a=Be().dataJson;let i=0;for(const A in e){const l=(o=a.rarities.find(d=>d.nameRef===r[A].rarityRef))==null?void 0:o.cost;if(l===void 0)continue;const c=t?Math.max(0,e[A]-((n??{})[A]??0)):e[A];i+=l*c}return i}function jr(e,t,n){const r=[],a=[i=>Uo(i),i=>i.typeRef==="Landmark",i=>i.typeRef==="Unit"&&!Uo(i),i=>i.typeRef==="Spell",i=>i.typeRef==="Equipment"];for(;r.length<n;){const i=a.shift();if(!i)break;r.push(...gE(e.filter(i),t,n-r.length))}return r}function gE(e,t,n){return e.sort((r,a)=>t[a.cardCode]-t[r.cardCode]).sort((r,a)=>a.cost-r.cost).slice(0,n)}function kt(e){return e===""?{}:x0.getDeckFromCode(e).reduce((t,n)=>({...t,[n.cardCode]:n.count}),{})}function Zt(e){return Object.keys(e).map(t=>hn().cardJsonObject[t]).filter(t=>t!=null).sort((t,n)=>t.name.localeCompare(n.name)).sort((t,n)=>t.cost-n.cost)}function yE(e){return ec(kt(e))}function ec(e){const t=hn().cardJsonObject,n=Object.keys(e).map(r=>t[r]).filter(r=>r!=null);return Hs(n)}function Hs(e){const t=[];for(const a of e)!a||!a.regionRefs||a.regionRefs.length===1&&!t.includes(a.regionRefs[0])&&t.push(a.regionRefs[0]);if(e.every(a=>a&&a.regionRefs&&a.regionRefs.filter(i=>t.includes(i)).length>0))return t;const n=e.filter(a=>a&&a.regionRefs&&a.regionRefs.filter(i=>t.includes(i)).length===0);return new Set(n.flatMap(a=>a&&a.regionRefs?a.regionRefs:[])).forEach(a=>{To(a)||t.push(a)}),t}function Ei(e,t,n=!1){var i,o;const r=Be().dataJson;if(!e||!e.regionRefs||e.regionRefs.length===0)return`var(--color-primary-2${n?"-rgb":""})`;const a=`var(${((i=r.regions.find(A=>A.nameRef===e.regionRefs[0]))==null?void 0:i.color)||"--color-primary-2"}${n?"-rgb":""})`;if(e.regionRefs.length===1||!t||t.length<2)return a;for(const A of t)if(e.regionRefs.includes(A))return`var(${((o=r.regions.find(l=>l.nameRef===A))==null?void 0:o.color)||"--color-primary-2"}${n?"-rgb":""})`;return a}function I0(e){return Oa(`--color-${e}`)||Oa("--color-primary-2")}function Oa(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}function xf(e){var t,n;return To(e)?((t=hn().cardJsonObject[e])==null?void 0:t.name)||"Runeterra":(n=Be().dataJson.regions.find(r=>r.nameRef===e))==null?void 0:n.name}function bE(e,t){t||(t=ec(e));const n={};for(const r of t)n[r]=0;for(const r in e){const a=hn().cardJsonObject[r];a&&(n[Ef(a,t)]+=e[r])}return n}function Ef(e,t){if(!e||!e.regionRefs)throw new Error("Card or card's regionRefs is undefined.");for(const n of e.regionRefs)if(t.includes(n))return n;throw new Error("Card's region was unfound.")}function Sf(e){const t=kt(e);return jr(Zt(t),t,2).map(n=>n.name).join(" + ")}function wE(e){if(navigator.clipboard){navigator.clipboard.writeText(e);return}const t=document.createElement("textarea");document.body.appendChild(t),t.value=e,t.select(),document.execCommand("copy"),document.body.removeChild(t)}function Si(e,t,n=!0){return s.computed(()=>{if(e)return e;if(!t){if(n)throw new Error("CardProp or CardCodeProp must be defined.");return}return hn().cardJsonObject[t]})}function BE(e,t,n){if(!e&&t&&(e=Zt(t)),!e&&n&&(e=Zt(kt(n))),!e)throw new Error("At least one argument must be defined.");let r=[ir.CommonsOnly,ir.Eternal,ir.Standard,ir.EvenCost,ir.Singleton];for(const a of e)r=r.filter(i=>a.formats.includes(i));return r}const tpe="",wr=Symbol();var Bt=(e=>(e.Banner="banner",e.Slice="slice",e.Full="full-art",e.Card="card",e.Icon="icon",e))(Bt||{});const ve=un.defineStore("callbacks",{state:()=>({callbacks:{playerRouterLinkCallback:()=>"404",playerIdRouterLinkCallback:()=>"404",cardCodeRouterLinkCallback:()=>"404",premiumLinkCallback:()=>"404",cardImageCallback:()=>"404",cardbackCallback:()=>"404",uploadDeckToLorCallback:()=>!1}}),actions:{update(e){this.callbacks=e}}});/*!
|
|
3
3
|
* shared v9.14.5
|
|
4
4
|
* (c) 2025 kazuya kawaguchi
|
|
@@ -27,44 +27,44 @@ You've run out of card packs!
|
|
|
27
27
|
Don't worry, you can earn more using any of the methods below to find the perfect card for your profile!`,cards:{option1:"Log in to LOR.GG each week to receive 10 card packs.",option2:"Each time you sync your data with the game, your 20 latest matches are uploaded. Earn 1 card pack for every 2 matches synced!",option3:"Tired of waiting for that one perfect card? Upgrade to premium and set any card as your icon or banner!"}},settings:{privacy:"Privacy",privateProfile:"Private Profile",privateProfileDesc:"Checking this ensures none of your player details will be shown when others view your profile. Created decks set to public will still show in your collection.",email:"Email",resendVerification:"Resend Verification",account:"Account",payment:"Payment",personalization:"Personalization",images:"Images",banner:"Banner",bannerDesc:'Banners can be received via the "Card Packs" tab in the navigation menu. This will be shown on the leaderboard, profile, and top players list.',bannerDescPremium:"You may set your banner to any card in the game by buying premium.",icon:"Icon",iconDesc:'Icons can be received via the "Card Packs" tab in the navigation menu. This will be shown on your profile.',iconDescPremium:"You may set your icon to any card in the game by buying premium.",color:"Color",colorDesc:"You can distinguish yourself with your favorite color. Shown everywhere your banner is shown.",colorDescPremium:"Color can only be selected if you are a premium user."},descriptions:{archetypeOverview:'Get an in-depth overview of the "{title}" archetype in Legends of Runeterra.',archetypeCards:'Explore cards within the "{title}" archetype in Legends of Runeterra. Craft unique deck strategies.',archetypeStatistics:'Analyze statistics and performance data for the "{title}" archetype. Optimize your gameplay.',archetypeTopPlayers:'Discover the top players dominating with the "{title}" archetype in Legends of Runeterra.',archetypeDecks:'Find and explore decks centered around the "{title}" archetype. Adapt to the meta.',archetypeMatchups:'Analyze matchups and strategies for the "{title}" archetype in Legends of Runeterra.',deckOverview:'Get an in-depth overview of the "{title}" deck in Legends of Runeterra.',deckCards:'Explore the key cards within the "{title}" deck. Master your strategy.',deckStatistics:'Analyze detailed statistics and performance data for the "{title}" deck.',deckTopPlayers:'Discover the top players who excel with the "{title}" deck.',deckDecks:'Find decks similar to "{title}" for varied gameplay options.',deckMatchups:'Analyze matchups and strategies for the "{title}" deck in Legends of Runeterra.',cards:"Discover the complete card collection in Legends of Runeterra with detailed information on each card's stats, abilities, and more on LOR.GG.",deckBuilder:"Craft your perfect deck with our intuitive deck builder tool on LOR.GG. Fine-tune your strategies and create winning decks.",deckLibrary:"Explore a vast library of user-created decks for Legends of Runeterra. Find inspiration and share your own creations.",leaderboard:"Climb the ranks and compete with the best on our Legends of Runeterra leaderboard. Track your progress and see where you stand.",meta:"Stay up-to-date with the ever-evolving meta in Legends of Runeterra. Get insights into the top strategies and decks.",decks:"Browse and analyze a wide selection of decks for Legends of Runeterra. Find the perfect deck to suit your playstyle.",cardStatistics:"Dig deep into card statistics and analytics for Legends of Runeterra. Gain a competitive edge with our comprehensive card data.",cardPageStatistics:'Detailed statistics and insights for the "{title}" card in Legends of Runeterra. Master its potential with our analysis.',cardPageSimilarCards:'Discover cards similar to "{title}" in Legends of Runeterra. Find alternatives and expand your card knowledge.',cardPageDecks:'Explore decks featuring the powerful "{title}" card in Legends of Runeterra. Unleash its potential in your strategies.',profile:"Access and customize your LOR.GG profile. Track your match history, decks, and progress in Legends of Runeterra.",profileUser:"Explore the profile of {title} on LOR.GG. Check out their match history, statistics, and decks.",profileUserStatistics:"Analyze detailed statistics and achievements for {title}'s profile on LOR.GG. Learn from their gameplay.",profileUserDecks:"Explore the decks created by {title} on LOR.GG. Get insights into their strategies and card choices.",landing:"Unlock the full potential of Runeterra with LOR.GG's comprehensive toolkit. Explore cards, stats, and deck-building tools to reach new heights."},landing:{tagLine:"Chart Your Path to Victory",description1:"Welcome to LOR.GG, your definitive gateway to victory in Legends of Runeterra. Here, we offer you a comprehensive arsenal of tools and resources designed to elevate your gameplay and lead you towards triumph on the Runeterran battlefield.",description2:"Unleash your strategic prowess by exploring our extensive card database, where every card's statistics, abilities, and nuances are at your fingertips. Dive deep into the ever-evolving meta, discover top-tier decks, and adapt your strategies to conquer opponents with confidence.",newCards:{title:"New Cards",navigation:"Reveal Tracker"},builtDecks:{title:"User Created Decks",navigation:"Deck Library"},deckBuilder:{title:"Builder",navigation:"Deck Builder",description:"Elevate your gameplay and become a deck-building virtuoso with LOR.GG's intuitive Deck Builder tool. Craft decks tailored to your playstyle and fine-tune your strategies like never before. Experiment with card combinations, analyze synergies, and create powerful, winning decks. Whether you're a novice or a seasoned player, our Deck Builder empowers you to chart your path to victory in Legends of Runeterra. Join the ranks of top-tier players who have honed their skills through our platform and take your gameplay to the next level."},leaderboard:{title:"Leaderboard",navigation:"Leaderboard",description:"Test your skills against the best and climb the ranks on our Legends of Runeterra Leaderboard. See where you stand among the elite players of Runeterra, track your progress, and aim for the coveted top spots. Our Leaderboard is a testament to your dedication and progress in the game, providing a clear path to becoming a Runeterra legend. Join the competitive community, set your goals high, and embark on a journey to prove your worth on the Leaderboard at LOR.GG."},meta:{title:"Archetypes",navigation:"Meta",description:"Stay at the forefront of the ever-changing meta in Legends of Runeterra with LOR.GG. Our Meta section is your gateway to understanding the current landscape of strategies, top-tier decks, and prevailing trends in the game. Arm yourself with valuable insights, adapt your decks, and outmaneuver your opponents. Whether you're aiming for the top ranks or simply looking to stay competitive, our Meta resources offer the guidance you need to thrive in the dynamic world of Runeterra."},decks:{title:"Decks",navigation:"Decks",description:"Explore an expansive collection of decks meticulously curated for your success in Legends of Runeterra. Our Decks section is a goldmine of strategic possibilities, offering a diverse range of decks to suit every playstyle and skill level. Dive into the intricacies of each deck, discover their strengths, and harness their power. Whether you're searching for a proven winning formula or a fresh approach to the game, LOR.GG's Decks section is your gateway to mastering Runeterra and becoming a force to be reckoned"},cards:{title:"Cards",navigation:"Card Statistics",description:"At LOR.GG, we believe that knowledge is power, and our Card Statistics section is your key to unlocking that power in Legends of Runeterra. Delve deep into the data behind every card, gaining insights into their win rates, play rates, and performance in the meta. Equip yourself with the knowledge to make informed choices, optimize your decks, and stay ahead of the competition. Whether you're a competitive player or simply a Runeterra enthusiast, our comprehensive card statistics are your secret weapon for success."}},tournament:{standings:"Standings",oppWinrate:"Opponents' Winrate",oppGameWinrate:"Opponents' Game Winrate",gameWinrate:"Game Winrate",admin:{editMatchWinner:"Edit Match Winner",nextRound:{text:"The previous round has concluded. Please advance to the next round.",button:"Next Round"},wrongDeck:{text:"Player {name} played a deck that was not submitted. Review the match in Brackets."},start:{text:"You may start the tournament now. This will automatically start the first round.",button:"Start Tournament"}},feed:{withdrawal:"Withdrawal",withdrawalMessage:"A player has withdrawn from the tournament.",signUp:"New Sign Up",matchUpdate:"Match Update",checkIn:"Check In",adminUpdate:"Admin Update",adminUpdateMessage:"An admin has manually updated a match in the tournament.",created:"Tournament Created",createdMessage:"The tournament has been created.",roundStarted:"Round Started",roundStartedMessage:"A new round has started."},timeline:{registration:{title:"Registration",description:"Registration for the tournament is open. Sign up now!"},checkIn:{title:"Check In",description:"Check in to the tournament to confirm your participation."},start:{title:"Start",description:"The tournament has started!"},end:{title:"Concluded",description:"The tournament has concluded."}},prompt:{checkedIn:{text:"You are checked in for the tournament.",button:"Go to Participant Page"},registered:{text:"You are registered for the tournament.",button:"Check in"},signUp:{text:"Sign up to participate in this tournament.",button:"Sign Up"}},errors:{private:"This tournament has a private sign-up. Contact the tournament organizer for the correct link.",notLoggedIn:"You must be logged in to sign up for a tournament.",wrongServer:"You must be on the same server as the tournament to sign up."},decksSubmission:{heading:"Decks Submission",description:"Submit your decks for the tournament.",submitDecks:"Submit Decks",decksAreDue:"Decks are due"},participant:{banDecks:{heading:"Ban Decks",description:"No decks to bans | Choose a deck to ban against {name} | Choose {count} decks to ban against {name}",submit:"Submit Ban | Submit Bans"},playMatch:{heading:"Play Match",description:`You must play your match against the below opponent.
|
|
28
28
|
To do this, add them as a friend in game and challenge them to a match.
|
|
29
29
|
If the tournament is a best of 3 using normal deck rules, use the Standard / Eternal Best of Three. Submit the same three decks you submitted for the tournament and ban the same deck you banned for this match.
|
|
30
|
-
If there are any issues, please contact the tournament organizer.`}}},general:{manaCost:"Mana Cost",cost:"Cost",regions:"Regions",clear:"Clear",clearAll:"Clear All",copy:"Copy",patch:"Patch",matches:"Matches",wins:"Wins",losses:"Losses",winrate:"Winrate",quantity:"Quantity",round:"Round",total:"Total",champion:"Champion",follower:"Follower",spell:"Spell",landmark:"Landmark",equipment:"Equipment",champions:"Champions",followers:"Followers",spells:"Spells",landmarks:"Landmarks",equipments:"Equipment",statistics:"Statistics",advanced:"Advanced",newAdvancedFilter:"New Advanced Filter",types:"Types",rarities:"Rarities",sets:"Sets",keywords:"Keywords",pastDays:"Past {count} Days",pastHours:"Past {count} Hours",pastHour:"Past Hour",season:"Season",servers:"Servers",sampleSize:"Sample Size",minimumMatches:"Minimum Matches",ranks:"Ranks",allRanks:"All Ranks",platPlus:"Platinum+",deck:"Deck",manaCurve:"Mana Curve",name:"Name",updated:"Updated",created:"Created",card:"Card",cards:"Cards",inclusion:"Inclusion",avgCopies:"Avg. Copies",turnsHeld:"Turns Held",mulliganWinrate:"Mulligan WR",keptInMulligan:"Kept in Mulligan",drawnWinrate:"Drawn Winrate",turnPlayed:"Turn Played",playrate:"Playrate",deckDifferences:"Deck Differences",player:"Player",lp:"LP",change:"Change",favoriteDeck:"Favorite Deck",server:"Server",players:"Players",time:"Time",type:"Type",rarity:"Rarity",archetypes:"Archetypes",archetype:"Archetype",profile:"Profile",leaderboard:"Leaderboard",victory:"Victory",defeat:"Defeat",newCards:"New Cards",signIn:"Sign In",syncUserData:"Sync User Data",settings:"Settings",gamesPlayed:"Games Played",premium:"Premium",renews:"Renews",expires:"Expires",getPremium:"Get Premium!",becomeTheMaster:"Become The Master",format:"Format",otherFormats:"Other Formats",queues:"Queues",save:"Save",captureImage:"Capture Image",deckCode:"Deck Code",library:"Library",openCards:"Open Card Packs",attackingFirst:"Attacking First",attackingSecond:"Attacking Second",overall:"Overall",list:"List",graph:"Graph",decks:"Decks",attackTokenOddsWr:"Attack Token: Odds Winrate",attackTokenEvensWr:"Attack Token: Evens Winrate",popularityTimeline:"Popularity Timeline",overallWinrate:"Overall Winrate",deckLibrary:"Deck Library",deckBuilder:"Deck Builder",inclusionTimeline:"Inclusion Timeline",winrateTimeline:"Winrate Timeline",winrateByGamesPlayed:"Winrate by Games Played",meta:"Meta",youHave:"You have: ",holdShiftForAssociated:"Hold Shift to see Associated Cards",cardArt:"Card Art",regionDistribution:"Region Distribution",noResults:"No Results",tryAgain:"Adjust filters and try again.",createdAt:"Created At",updatedAt:"Updated At",page:"Page",deckStats:"Deck Statistics",cardStats:"Card Statistics",cardGallery:"Card Gallery",close:"Close",overwrite:"Overwrite",rename:"Rename",view:"View",mustBeLoggedIn:"You must be logged in to complete this action.",uploadFailed:"Upload Failed",successfullyUploaded:"Successfully Uploaded",cardLottery:"Card Lottery",confirm:"Confirm",verified:"Verified",notVerified:"Not Verified",patches:"Patches",seasons:"Seasons",premiumBarrier:"You must be a premium user to access these filtering options.",verificationEmailSent:"Verification Email Sent.",updateEmail:"Update Email",text:"Text",syncingInProgress:"Syncing In Progress",matchRecord:"Match Record",gameRecord:"Game Record",vs:"vs",game:"Game",tie:"Tie",submit:"Submit"},profile:{winrateOverTime:"Winrate over Time",winrateByChampion:"Winrate by Champion",winrateByRegion:"Winrate by Region",winrateByRoundAttacking:"Winrate by Round Attacking",winrateAgainstChampion:"Winrate Against Champion",winrateAgainstRegion:"Winrate Against Region",commonOpponents:"Common Opponents"},ads:{supportLorgg:"Support LOR.GG",disableAdBlock:"Please Disable Ad Block",considerDonating:"Consider donating",considerDonatingOr:"Or consider donating",considerPremium:"Or consider Premium",premiumModal:{title:"Support LOR.GG",description:"Ads help keep LOR.GG free for everyone. You can disable your ad blocker or upgrade to Premium for an ad-free experience.",benefits:{title:"Premium Benefits:",noAds:"Ad-free experience",supportDevelopment:"Support ongoing development",exclusiveFeatures:"Access to exclusive features"},close:"Close",buyPremium:"Get Premium"}},premium:{loading:"Loading subscriptions...",title:"LOR.GG Subscriptions",description:"Choose the plan that fits you best. Purchase and lifecycle management are handled in Xsolla Pay Station.",loginToSubscribe:"Log in with Riot to Subscribe",verifyToSubscribe:"Verify Email to Subscribe",verifyHint:"Payment actions are available after email verification.",loadingPaymentUi:"Loading payment UI...",cancelAutoRenew:"Cancel Auto-Renew",resumeAutoRenew:"Resume Auto-Renew",updatePaymentMethod:"Update Payment Method",cancelSubmittedPending:"Cancel request submitted. Status updates after webhook confirmation.",cancelCompleted:"Auto-renew disabled.",resumeSubmittedPending:"Resume request submitted. Status updates after webhook confirmation.",resumeCompleted:"Auto-renew resumed.",subscriptionStatus:"Your subscription {event} in {days} day(s).",subscriptionEvent:{renews:"renews",cancels:"cancels"},errors:{loadPayment:"Unable to load payment interface right now.",loadSubscription:"Unable to load subscription details.",cancel:"Failed to cancel auto-renew.",resume:"Failed to resume auto-renew."},adFree:{title:"Ad-Free",price:"$0.99 / month",changeAction:"Downgrade to Ad-Free",feature1:"Removes ads site-wide",feature2:"Supports Continued Development"},premium:{title:"Premium",price:"$2.99 / month",changeAction:"Upgrade to Premium",feature1:"Ad-free",feature2:"Personalization Options",feature3:"Advanced Filtering",feature4:"Organize Unlimited Tournaments"}},navigation:{searchPlaceholder:"Search Cards or Players",subscriptionStatus:"{type} {event} in {days}d"},"profile-overview":"Overview","profile-statistics":"Statistics","profile-decks":"Decks","card-statistics":"Statistics","card-similar-cards":"Similar Cards","card-decks":"Decks","deck-overview":"Overview","deck-cards":"Cards","deck-statistics":"Statistics","deck-top-players":"Top Players","deck-similar":"Similar Decks","deck-matchups":"Matchups","archetype-overview":"Overview","archetype-cards":"Cards","archetype-statistics":"Statistics","archetype-top-players":"Top Players","archetype-decks":"Decks","archetype-matchups":"Matchups","tournament-overview":"Overview","tournament-brackets":"Brackets","tournament-players":"Players"},e8={cardLottery:{setBanner:"Als Banner festlegen",setIcon:"Als Symbol festlegen",openAnother:"Weiteren öffnen"},cards:{roundDrawn:"Runde gezogen",roundPlayed:"Runde gespielt",card:"Karte",cards:"Karten",inclusion:"Einbindung",avgCopies:"Ø Kopien",mulliganWinrate:"Mulligan-Siegquote",keptInMulligan:"Im Mulligan behalten",drawnWinrate:"Gezogen-Siegquote",turnPlayed:"Runde gespielt",turnsHeld:"Runden gehalten",recommendedDecks:"Empfohlene Decks",similarCards:"Ähnliche Karten",attack:"Angriff",health:"Leben",quantityOwned:"Anzahl im Besitz",cost:"Kosten"},deck:{copyDeckCode:"Deckcode kopieren",deckCodeCopied:"Deckcode kopiert",deleteDeck:"Deck löschen",deleteDeckConfirmation:"Möchtest du dieses Deck wirklich löschen?",editDeckName:"Decknamen bearbeiten",signInToUpload:"Bitte melde dich an, um das Deck hochzuladen",uploadDeckToLor:"Deck zu Legends of Runeterra hochladen",deckUploaded:"Deck hochgeladen!",updatePrivacy:"Privatsphäre aktualisieren",deckPrivate:"Derzeit privat",deckPublic:"Derzeit öffentlich",openInDeckBuilder:"Im Deck-Builder öffnen",numManaCards:"{num} Mana-Karten",simulateMulligan:"Mulligan simulieren",replaceAllCards:"Alle Karten ersetzen",replaceSelectedCards:"Ausgewählte Karten ersetzen",personalCost:"Persönliche Kosten",originalCost:"Originalkosten",openArchetypePage:"Archetyp-Seite öffnen",shareDeck:"Deck teilen",showPreview:"Deck-Vorschau anzeigen"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`Ein Deck mit diesem Namen existiert bereits.
|
|
30
|
+
If there are any issues, please contact the tournament organizer.`}}},general:{manaCost:"Mana Cost",cost:"Cost",regions:"Regions",clear:"Clear",clearAll:"Clear All",copy:"Copy",patch:"Patch",matches:"Matches",wins:"Wins",losses:"Losses",winrate:"Winrate",quantity:"Quantity",round:"Round",total:"Total",champion:"Champion",follower:"Follower",spell:"Spell",landmark:"Landmark",equipment:"Equipment",champions:"Champions",followers:"Followers",spells:"Spells",landmarks:"Landmarks",equipments:"Equipment",statistics:"Statistics",advanced:"Advanced",newAdvancedFilter:"New Advanced Filter",types:"Types",rarities:"Rarities",sets:"Sets",keywords:"Keywords",pastDays:"Past {count} Days",pastHours:"Past {count} Hours",pastHour:"Past Hour",season:"Season",servers:"Servers",sampleSize:"Sample Size",minimumMatches:"Minimum Matches",ranks:"Ranks",allRanks:"All Ranks",platPlus:"Platinum+",deck:"Deck",manaCurve:"Mana Curve",name:"Name",updated:"Updated",created:"Created",card:"Card",cards:"Cards",inclusion:"Inclusion",avgCopies:"Avg. Copies",turnsHeld:"Turns Held",mulliganWinrate:"Mulligan WR",keptInMulligan:"Kept in Mulligan",drawnWinrate:"Drawn Winrate",turnPlayed:"Turn Played",playrate:"Playrate",deckDifferences:"Deck Differences",player:"Player",lp:"LP",change:"Change",favoriteDeck:"Favorite Deck",server:"Server",players:"Players",time:"Time",type:"Type",rarity:"Rarity",archetypes:"Archetypes",archetype:"Archetype",profile:"Profile",leaderboard:"Leaderboard",victory:"Victory",defeat:"Defeat",newCards:"New Cards",signIn:"Sign In",syncUserData:"Sync User Data",settings:"Settings",gamesPlayed:"Games Played",premium:"Premium",renews:"Renews",expires:"Expires",getPremium:"Get Premium!",becomeTheMaster:"Become The Master",format:"Format",otherFormats:"Other Formats",queues:"Queues",save:"Save",captureImage:"Capture Image",deckCode:"Deck Code",library:"Library",openCards:"Open Card Packs",attackingFirst:"Attacking First",attackingSecond:"Attacking Second",overall:"Overall",list:"List",graph:"Graph",decks:"Decks",attackTokenOddsWr:"Attack Token: Odds Winrate",attackTokenEvensWr:"Attack Token: Evens Winrate",popularityTimeline:"Popularity Timeline",overallWinrate:"Overall Winrate",deckLibrary:"Deck Library",deckBuilder:"Deck Builder",inclusionTimeline:"Inclusion Timeline",winrateTimeline:"Winrate Timeline",winrateByGamesPlayed:"Winrate by Games Played",meta:"Meta",youHave:"You have: ",holdShiftForAssociated:"Hold Shift to see Associated Cards",cardArt:"Card Art",regionDistribution:"Region Distribution",noResults:"No Results",tryAgain:"Adjust filters and try again.",createdAt:"Created At",updatedAt:"Updated At",page:"Page",deckStats:"Deck Statistics",cardStats:"Card Statistics",cardGallery:"Card Gallery",close:"Close",overwrite:"Overwrite",rename:"Rename",view:"View",mustBeLoggedIn:"You must be logged in to complete this action.",uploadFailed:"Upload Failed",successfullyUploaded:"Successfully Uploaded",cardLottery:"Card Lottery",confirm:"Confirm",verified:"Verified",notVerified:"Not Verified",patches:"Patches",seasons:"Seasons",premiumBarrier:"You must be a premium user to access these filtering options.",verificationEmailSent:"Verification Email Sent.",updateEmail:"Update Email",text:"Text",syncingInProgress:"Syncing In Progress",matchRecord:"Match Record",gameRecord:"Game Record",vs:"vs",game:"Game",tie:"Tie",submit:"Submit",current:"Current"},profile:{winrateOverTime:"Winrate over Time",winrateByChampion:"Winrate by Champion",winrateByRegion:"Winrate by Region",winrateByRoundAttacking:"Winrate by Round Attacking",winrateAgainstChampion:"Winrate Against Champion",winrateAgainstRegion:"Winrate Against Region",commonOpponents:"Common Opponents"},ads:{supportLorgg:"Support LOR.GG",disableAdBlock:"Please Disable Ad Block",considerDonating:"Consider donating",considerDonatingOr:"Or consider donating",considerPremium:"Or consider Premium",premiumModal:{title:"Support LOR.GG",description:"Ads help keep LOR.GG free for everyone. You can disable your ad blocker or upgrade to Premium for an ad-free experience.",benefits:{title:"Premium Benefits:",noAds:"Ad-free experience",supportDevelopment:"Support ongoing development",exclusiveFeatures:"Access to exclusive features"},close:"Close",buyPremium:"Get Premium"}},premium:{loading:"Loading subscriptions...",title:"LOR.GG Subscriptions",description:"Choose the plan that fits you best. Purchase and lifecycle management are handled in Xsolla Pay Station.",loginToSubscribe:"Log in with Riot to Subscribe",verifyToSubscribe:"Verify Email to Subscribe",verifyHint:"Payment actions are available after email verification.",loadingPaymentUi:"Loading payment UI...",cancelAutoRenew:"Cancel Auto-Renew",resumeAutoRenew:"Resume Auto-Renew",updatePaymentMethod:"Update Payment Method",cancelSubmittedPending:"Cancel request submitted. Status updates after webhook confirmation.",cancelCompleted:"Auto-renew disabled.",resumeSubmittedPending:"Resume request submitted. Status updates after webhook confirmation.",resumeCompleted:"Auto-renew resumed.",subscriptionStatus:"Your subscription {event} in {days} day(s).",subscriptionEvent:{renews:"renews",cancels:"cancels"},errors:{loadPayment:"Unable to load payment interface right now.",loadSubscription:"Unable to load subscription details.",cancel:"Failed to cancel auto-renew.",resume:"Failed to resume auto-renew."},adFree:{title:"Ad-Free",price:"$0.99 / month",changeAction:"Downgrade to Ad-Free",feature1:"Removes ads site-wide",feature2:"Supports Continued Development"},premium:{title:"Premium",price:"$2.99 / month",changeAction:"Upgrade to Premium",feature1:"Ad-free",feature2:"Personalization Options",feature3:"Advanced Filtering",feature4:"Organize Unlimited Tournaments"}},navigation:{searchPlaceholder:"Search Cards or Players",subscriptionStatus:"{type} {event} in {days}d"},"profile-overview":"Overview","profile-statistics":"Statistics","profile-decks":"Decks","card-statistics":"Statistics","card-similar-cards":"Similar Cards","card-decks":"Decks","deck-overview":"Overview","deck-cards":"Cards","deck-statistics":"Statistics","deck-top-players":"Top Players","deck-similar":"Similar Decks","deck-matchups":"Matchups","archetype-overview":"Overview","archetype-cards":"Cards","archetype-statistics":"Statistics","archetype-top-players":"Top Players","archetype-decks":"Decks","archetype-matchups":"Matchups","tournament-overview":"Overview","tournament-brackets":"Brackets","tournament-players":"Players"},e8={cardLottery:{setBanner:"Als Banner festlegen",setIcon:"Als Symbol festlegen",openAnother:"Weiteren öffnen"},cards:{roundDrawn:"Runde gezogen",roundPlayed:"Runde gespielt",card:"Karte",cards:"Karten",inclusion:"Einbindung",avgCopies:"Ø Kopien",mulliganWinrate:"Mulligan-Siegquote",keptInMulligan:"Im Mulligan behalten",drawnWinrate:"Gezogen-Siegquote",turnPlayed:"Runde gespielt",turnsHeld:"Runden gehalten",recommendedDecks:"Empfohlene Decks",similarCards:"Ähnliche Karten",attack:"Angriff",health:"Leben",quantityOwned:"Anzahl im Besitz",cost:"Kosten"},deck:{copyDeckCode:"Deckcode kopieren",deckCodeCopied:"Deckcode kopiert",deleteDeck:"Deck löschen",deleteDeckConfirmation:"Möchtest du dieses Deck wirklich löschen?",editDeckName:"Decknamen bearbeiten",signInToUpload:"Bitte melde dich an, um das Deck hochzuladen",uploadDeckToLor:"Deck zu Legends of Runeterra hochladen",deckUploaded:"Deck hochgeladen!",updatePrivacy:"Privatsphäre aktualisieren",deckPrivate:"Derzeit privat",deckPublic:"Derzeit öffentlich",openInDeckBuilder:"Im Deck-Builder öffnen",numManaCards:"{num} Mana-Karten",simulateMulligan:"Mulligan simulieren",replaceAllCards:"Alle Karten ersetzen",replaceSelectedCards:"Ausgewählte Karten ersetzen",personalCost:"Persönliche Kosten",originalCost:"Originalkosten",openArchetypePage:"Archetyp-Seite öffnen",shareDeck:"Deck teilen",showPreview:"Deck-Vorschau anzeigen"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`Ein Deck mit diesem Namen existiert bereits.
|
|
31
31
|
Möchtest du es überschreiben?`,deckCreated:"Deck erstellt",inputDeckCode:"Deckcode einfügen"},leaderboard:{totalPlayers:"Spieler gesamt",lp:"LP",rank:"Rang",updated:"Aktualisiert"},personalization:{noGiftsAvailable:"Keine Kartenpakete verfügbar",noGiftsAvailableDesc:`Oh nein!
|
|
32
32
|
Du hast keine Kartenpakete mehr!
|
|
33
|
-
Keine Sorge – verdiene neue über die folgenden Methoden!`,cards:{option1:"Melde dich jede Woche bei LOR.GG an, um 10 Kartenpakete zu erhalten.",option2:"Beim Synchronisieren werden deine letzten 20 Spiele hochgeladen. Erhalte 1 Kartenpaket pro 2 synchronisierte Spiele!",option3:"Keine Lust zu warten? Upgrade auf Premium und nutze jede Karte als Symbol oder Banner!"}},settings:{privacy:"Privatsphäre",privateProfile:"Privates Profil",privateProfileDesc:"Aktiviert man dies, werden keine Profildetails angezeigt. Öffentliche Decks bleiben sichtbar.",email:"E-Mail",resendVerification:"Bestätigung erneut senden",account:"Konto",payment:"Zahlung",personalization:"Personalisierung",images:"Bilder",banner:"Banner",bannerDesc:"Banner erhältst du über den Tab „Kartenpakete“. Sichtbar auf Rangliste und Profil.",bannerDescPremium:"Mit Premium kannst du jede Karte als Banner nutzen.",icon:"Symbol",iconDesc:"Symbole erhältst du über den Tab „Kartenpakete“. Sichtbar auf deinem Profil.",iconDescPremium:"Mit Premium kannst du jede Karte als Symbol nutzen.",color:"Farbe",colorDesc:"Wähle deine Lieblingsfarbe. Überall sichtbar, wo dein Banner erscheint.",colorDescPremium:"Farben sind nur für Premium-Nutzer verfügbar."},general:{manaCost:"Manakosten",cost:"Kosten",regions:"Regionen",clear:"Zurücksetzen",clearAll:"Alles zurücksetzen",copy:"Kopieren",patch:"Patch",matches:"Spiele",wins:"Siege",losses:"Niederlagen",winrate:"Siegquote",quantity:"Anzahl",round:"Runde",total:"Gesamt",champion:"Champion",follower:"Anhänger",spell:"Zauber",landmark:"Wahrzeichen",equipment:"Ausrüstung",champions:"Champions",followers:"Anhänger",spells:"Zauber",landmarks:"Wahrzeichen",equipments:"Ausrüstung",statistics:"Statistiken",advanced:"Erweitert",newAdvancedFilter:"Neuer erweiterter Filter",types:"Typen",rarities:"Seltenheiten",sets:"Sets",keywords:"Schlüsselwörter",pastDays:"Letzte {count} Tage",pastHours:"Letzte {count} Stunden",pastHour:"Letzte Stunde",season:"Saison",servers:"Server",sampleSize:"Stichprobengröße",minimumMatches:"Mindestanzahl Spiele",ranks:"Ränge",allRanks:"Alle Ränge",platPlus:"Platin+",deck:"Deck",manaCurve:"Manakurve",name:"Name",updated:"Aktualisiert",created:"Erstellt",card:"Karte",cards:"Karten",inclusion:"Einbindung",avgCopies:"Ø Kopien",turnsHeld:"Runden gehalten",mulliganWinrate:"Mulligan-WR",keptInMulligan:"Im Mulligan behalten",drawnWinrate:"Gezogen-Siegquote",turnPlayed:"Runde gespielt",playrate:"Spielrate",deckDifferences:"Deck-Unterschiede",player:"Spieler",lp:"LP",change:"Änderung",favoriteDeck:"Lieblingsdeck",server:"Server",players:"Spieler",time:"Zeit",type:"Typ",rarity:"Seltenheit",archetypes:"Archetypen",archetype:"Archetyp",profile:"Profil",leaderboard:"Rangliste",victory:"Sieg",defeat:"Niederlage",newCards:"Neue Karten",signIn:"Anmelden",syncUserData:"Benutzerdaten synchronisieren",settings:"Einstellungen",gamesPlayed:"Gespielte Spiele",premium:"Premium",renews:"Verlängert sich",expires:"Läuft ab",getPremium:"Premium holen!",becomeTheMaster:"Werde der Meister",format:"Format",otherFormats:"Andere Formate",queues:"Warteschlangen",save:"Speichern",captureImage:"Bild aufnehmen",deckCode:"Deckcode",library:"Bibliothek",openCards:"Kartenpakete öffnen",attackingFirst:"Greift zuerst an",attackingSecond:"Greift als Zweiter an",overall:"Gesamt",list:"Liste",graph:"Diagramm",decks:"Decks",popularityTimeline:"Beliebtheitsverlauf",overallWinrate:"Gesamt-Siegquote",deckLibrary:"Deckbibliothek",deckBuilder:"Deck-Builder",inclusionTimeline:"Einbindungsverlauf",winrateTimeline:"Siegquotenverlauf",winrateByGamesPlayed:"Siegquote nach Spielen",meta:"Meta",youHave:"Du hast: ",holdShiftForAssociated:"Umschalt gedrückt halten für zugehörige Karten",cardArt:"Kartenillustration",regionDistribution:"Regionsverteilung",noResults:"Keine Ergebnisse",tryAgain:"Filter anpassen und erneut versuchen.",createdAt:"Erstellt am",updatedAt:"Aktualisiert am",page:"Seite",deckStats:"Deckstatistiken",cardStats:"Kartenstatistiken",cardGallery:"Kartengalerie",close:"Schließen",overwrite:"Überschreiben",rename:"Umbenennen",view:"Ansehen",mustBeLoggedIn:"Du musst angemeldet sein.",uploadFailed:"Upload fehlgeschlagen",successfullyUploaded:"Erfolgreich hochgeladen",cardLottery:"Kartenlotterie",confirm:"Bestätigen",verified:"Bestätigt",notVerified:"Nicht bestätigt",patches:"Patches",seasons:"Saisons",premiumBarrier:"Diese Filteroptionen sind nur für Premium-Nutzer verfügbar.",verificationEmailSent:"Bestätigungs-E-Mail gesendet.",updateEmail:"E-Mail aktualisieren",text:"Text",syncingInProgress:"Synchronisierung läuft",matchRecord:"Match-Bilanz",gameRecord:"Spielbilanz",vs:"vs",game:"Spiel",tie:"Unentschieden",submit:"Absenden",attackTokenOddsWr:"Angriffstoken: Gewinnrate Chancen",attackTokenEvensWr:"Angriffstoken: Gerade Gewinnrate"},descriptions:{deckDecks:"Finde Decks, die ähnlich wie „{title}“ sind, für abwechslungsreiche Spielmöglichkeiten.",meta:"Bleibe auf dem Laufenden über das sich ständig weiterentwickelnde Meta in Legends of Runeterra. Erhalte Einblicke in die besten Strategien und Decks."},landing:{tagLine:"Gestalte deinen Weg zum Sieg",newCards:{title:"Neue Karten",navigation:"Deckverfolger"},builtDecks:{title:"Benutzergenerierte Decks",navigation:"Deckbibliothek"},deckBuilder:{title:"Builder",navigation:"Deck-Builder"},leaderboard:{title:"Rangliste",navigation:"Rangliste"},meta:{title:"Archetypen",navigation:"Meta"},decks:{title:"Decks",navigation:"Decks"},cards:{title:"Karten",navigation:"Kartenstatistiken"}},tournament:{standings:"Rangliste",oppWinrate:"Gegner-Winrate",oppGameWinrate:"Gewinnrate der Gegner",gameWinrate:"Spiel-Winrate",admin:{editMatchWinner:"Spielgewinner bearbeiten",nextRound:{text:"Die vorherige Runde ist abgeschlossen. Bitte gehen Sie zur nächsten Runde.",button:"Nächste Runde"},wrongDeck:{text:"Spieler {name} hat ein Deck gespielt, das nicht eingereicht wurde. Überprüfen Sie das Match in den Brackets."},start:{text:"Sie können das Turnier jetzt starten. Dies wird automatisch die erste Runde beginnen.",button:"Turnier starten"}},feed:{withdrawal:"Rückzug",withdrawalMessage:"Ein Spieler hat sich vom Turnier zurückgezogen.",signUp:"Neue Anmeldung",matchUpdate:"Spielaktualisierung",checkIn:"Einchecken",adminUpdate:"Admin-Update",created:"Turnier erstellt",createdMessage:"Das Turnier wurde erstellt.",roundStarted:"Runde gestartet",roundStartedMessage:"Eine neue Runde hat begonnen."},timeline:{registration:{title:"Registrierung",description:"Die Anmeldung für das Turnier ist geöffnet. Melde dich jetzt an!"},checkIn:{title:"Einchecken"},start:{title:"Start",description:"Das Turnier hat begonnen!"},end:{title:"Abgeschlossen",description:"Das Turnier ist beendet."}},prompt:{checkedIn:{text:"Du bist für das Turnier eingecheckt.",button:"Zur Teilnehmerseite gehen"},registered:{text:"Sie sind für das Turnier registriert.",button:"Einchecken"},signUp:{text:"Melde dich an, um an diesem Turnier teilzunehmen.",button:"Registrieren"}},errors:{notLoggedIn:"Du musst eingeloggt sein, um dich für ein Turnier anzumelden."},decksSubmission:{heading:"Deck-Einreichung",description:"Reiche deine Decks für das Turnier ein.",submitDecks:"Decks einreichen",decksAreDue:"Decks sind fällig"},participant:{banDecks:{heading:"Decks verbannen",submit:"Ban einreichen | Bans einreichen"},playMatch:{heading:"Spiel Match"}}},profile:{winrateOverTime:"Winrate im Laufe der Zeit",winrateByChampion:"Siegesquote nach Champion",winrateByRegion:"Siegesrate nach Region",winrateByRoundAttacking:"Siegesquote nach Runde Angreifen",winrateAgainstChampion:"Siegesrate gegen Champion",winrateAgainstRegion:"Siegesquote Gegen Region",commonOpponents:"Gemeinsame Gegner"},navigation:{searchPlaceholder:"Karten oder Spieler suchen",subscriptionStatus:"{type} {event} in {days}d"},ads:{supportLorgg:"Unterstütze LOR.GG",disableAdBlock:"Bitte deaktivieren Sie den Ad-Blocker",considerDonating:"Überlege, eine Spende zu tätigen",considerDonatingOr:"Oder ziehen Sie in Betracht, zu spenden",considerPremium:"Oder erwäge Premium",premiumModal:{title:"Unterstütze LOR.GG",benefits:{title:"Premium-Vorteile:",noAds:"Werbefreie Erfahrung",supportDevelopment:"Unterstütze die laufende Entwicklung",exclusiveFeatures:"Zugang zu exklusiven Funktionen"},close:"Schließen",buyPremium:"Premium holen"}},premium:{loading:"Abonnements werden geladen...",title:"LOR.GG Abonnements",loginToSubscribe:"Mit Riot einloggen, um zu abonnieren",verifyToSubscribe:"Email zur Anmeldung bestätigen",verifyHint:"Zahlungsaktionen sind nach der E-Mail-Verifizierung verfügbar.",loadingPaymentUi:"Lade Zahlungs-UI...",cancelAutoRenew:"Auto-Verlängerung abbrechen",resumeAutoRenew:"Auto-Verlängerung fortsetzen",updatePaymentMethod:"Zahlungsmethode aktualisieren",cancelCompleted:"Automatische Verlängerung deaktiviert.",resumeCompleted:"Auto-Verlängerung fortgesetzt.",subscriptionStatus:"Ihre Abonnements {event} in {days} Tag(en).",subscriptionEvent:{renews:"erneuert",cancels:"kündigt"},errors:{loadPayment:"Kann die Zahlungsoberfläche gerade nicht laden.",loadSubscription:"Kann die Abonnementdetails nicht laden.",cancel:"Automatische Verlängerung konnte nicht abgebrochen werden.",resume:"Automatische Verlängerung konnte nicht fortgesetzt werden."},adFree:{title:"Werbefrei",price:"$0,99 / Monat",changeAction:"Auf Ad-frei downgraden",feature1:"Entfernt Werbung auf der gesamten Seite",feature2:"Unterstützt die fortlaufende Entwicklung"},premium:{title:"Premium",price:"2,99 $ / Monat",changeAction:"Auf Premium upgraden",feature1:"Werbefrei",feature2:"Personalisierungsoptionen",feature3:"Erweiterte Filterung",feature4:"Unbegrenzte Turniere organisieren"}}},t8={cardLottery:{setBanner:"Establecer como banner",setIcon:"Establecer como icono",openAnother:"Abrir otro"},cards:{roundDrawn:"Ronda robada",roundPlayed:"Ronda jugada",card:"Carta",cards:"Cartas",inclusion:"Inclusión",avgCopies:"Copias prom.",mulliganWinrate:"Winrate de Mulligan",keptInMulligan:"Conservada en Mulligan",drawnWinrate:"Winrate al robar",turnPlayed:"Turno jugado",turnsHeld:"Turnos en mano",recommendedDecks:"Mazos recomendados",similarCards:"Cartas similares",attack:"Ataque",health:"Salud",quantityOwned:"Cantidad poseída",cost:"Costo"},deck:{copyDeckCode:"Copiar código del mazo",deckCodeCopied:"Código del mazo copiado",deleteDeck:"Eliminar mazo",deleteDeckConfirmation:"¿Estás seguro de que deseas eliminar este mazo?",editDeckName:"Editar nombre del mazo",signInToUpload:"Inicia sesión para subir el mazo",uploadDeckToLor:"Subir mazo a Legends of Runeterra",deckUploaded:"¡Mazo subido!",updatePrivacy:"Actualizar privacidad del mazo",deckPrivate:"Actualmente privado",deckPublic:"Actualmente público",openInDeckBuilder:"Abrir en el creador de mazos",numManaCards:"{num} cartas de maná",simulateMulligan:"Simular Mulligan",replaceAllCards:"Reemplazar todas las cartas",replaceSelectedCards:"Reemplazar cartas seleccionadas",personalCost:"Costo personal",originalCost:"Costo original",openArchetypePage:"Abrir página del arquetipo",shareDeck:"Compartir mazo",showPreview:"Mostrar vista previa del mazo"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`Ya existe un mazo con este nombre.
|
|
33
|
+
Keine Sorge – verdiene neue über die folgenden Methoden!`,cards:{option1:"Melde dich jede Woche bei LOR.GG an, um 10 Kartenpakete zu erhalten.",option2:"Beim Synchronisieren werden deine letzten 20 Spiele hochgeladen. Erhalte 1 Kartenpaket pro 2 synchronisierte Spiele!",option3:"Keine Lust zu warten? Upgrade auf Premium und nutze jede Karte als Symbol oder Banner!"}},settings:{privacy:"Privatsphäre",privateProfile:"Privates Profil",privateProfileDesc:"Aktiviert man dies, werden keine Profildetails angezeigt. Öffentliche Decks bleiben sichtbar.",email:"E-Mail",resendVerification:"Bestätigung erneut senden",account:"Konto",payment:"Zahlung",personalization:"Personalisierung",images:"Bilder",banner:"Banner",bannerDesc:"Banner erhältst du über den Tab „Kartenpakete“. Sichtbar auf Rangliste und Profil.",bannerDescPremium:"Mit Premium kannst du jede Karte als Banner nutzen.",icon:"Symbol",iconDesc:"Symbole erhältst du über den Tab „Kartenpakete“. Sichtbar auf deinem Profil.",iconDescPremium:"Mit Premium kannst du jede Karte als Symbol nutzen.",color:"Farbe",colorDesc:"Wähle deine Lieblingsfarbe. Überall sichtbar, wo dein Banner erscheint.",colorDescPremium:"Farben sind nur für Premium-Nutzer verfügbar."},general:{manaCost:"Manakosten",cost:"Kosten",regions:"Regionen",clear:"Zurücksetzen",clearAll:"Alles zurücksetzen",copy:"Kopieren",patch:"Patch",matches:"Spiele",wins:"Siege",losses:"Niederlagen",winrate:"Siegquote",quantity:"Anzahl",round:"Runde",total:"Gesamt",champion:"Champion",follower:"Anhänger",spell:"Zauber",landmark:"Wahrzeichen",equipment:"Ausrüstung",champions:"Champions",followers:"Anhänger",spells:"Zauber",landmarks:"Wahrzeichen",equipments:"Ausrüstung",statistics:"Statistiken",advanced:"Erweitert",newAdvancedFilter:"Neuer erweiterter Filter",types:"Typen",rarities:"Seltenheiten",sets:"Sets",keywords:"Schlüsselwörter",pastDays:"Letzte {count} Tage",pastHours:"Letzte {count} Stunden",pastHour:"Letzte Stunde",season:"Saison",servers:"Server",sampleSize:"Stichprobengröße",minimumMatches:"Mindestanzahl Spiele",ranks:"Ränge",allRanks:"Alle Ränge",platPlus:"Platin+",deck:"Deck",manaCurve:"Manakurve",name:"Name",updated:"Aktualisiert",created:"Erstellt",card:"Karte",cards:"Karten",inclusion:"Einbindung",avgCopies:"Ø Kopien",turnsHeld:"Runden gehalten",mulliganWinrate:"Mulligan-WR",keptInMulligan:"Im Mulligan behalten",drawnWinrate:"Gezogen-Siegquote",turnPlayed:"Runde gespielt",playrate:"Spielrate",deckDifferences:"Deck-Unterschiede",player:"Spieler",lp:"LP",change:"Änderung",favoriteDeck:"Lieblingsdeck",server:"Server",players:"Spieler",time:"Zeit",type:"Typ",rarity:"Seltenheit",archetypes:"Archetypen",archetype:"Archetyp",profile:"Profil",leaderboard:"Rangliste",victory:"Sieg",defeat:"Niederlage",newCards:"Neue Karten",signIn:"Anmelden",syncUserData:"Benutzerdaten synchronisieren",settings:"Einstellungen",gamesPlayed:"Gespielte Spiele",premium:"Premium",renews:"Verlängert sich",expires:"Läuft ab",getPremium:"Premium holen!",becomeTheMaster:"Werde der Meister",format:"Format",otherFormats:"Andere Formate",queues:"Warteschlangen",save:"Speichern",captureImage:"Bild aufnehmen",deckCode:"Deckcode",library:"Bibliothek",openCards:"Kartenpakete öffnen",attackingFirst:"Greift zuerst an",attackingSecond:"Greift als Zweiter an",overall:"Gesamt",list:"Liste",graph:"Diagramm",decks:"Decks",popularityTimeline:"Beliebtheitsverlauf",overallWinrate:"Gesamt-Siegquote",deckLibrary:"Deckbibliothek",deckBuilder:"Deck-Builder",inclusionTimeline:"Einbindungsverlauf",winrateTimeline:"Siegquotenverlauf",winrateByGamesPlayed:"Siegquote nach Spielen",meta:"Meta",youHave:"Du hast: ",holdShiftForAssociated:"Umschalt gedrückt halten für zugehörige Karten",cardArt:"Kartenillustration",regionDistribution:"Regionsverteilung",noResults:"Keine Ergebnisse",tryAgain:"Filter anpassen und erneut versuchen.",createdAt:"Erstellt am",updatedAt:"Aktualisiert am",page:"Seite",deckStats:"Deckstatistiken",cardStats:"Kartenstatistiken",cardGallery:"Kartengalerie",close:"Schließen",overwrite:"Überschreiben",rename:"Umbenennen",view:"Ansehen",mustBeLoggedIn:"Du musst angemeldet sein.",uploadFailed:"Upload fehlgeschlagen",successfullyUploaded:"Erfolgreich hochgeladen",cardLottery:"Kartenlotterie",confirm:"Bestätigen",verified:"Bestätigt",notVerified:"Nicht bestätigt",patches:"Patches",seasons:"Saisons",premiumBarrier:"Diese Filteroptionen sind nur für Premium-Nutzer verfügbar.",verificationEmailSent:"Bestätigungs-E-Mail gesendet.",updateEmail:"E-Mail aktualisieren",text:"Text",syncingInProgress:"Synchronisierung läuft",matchRecord:"Match-Bilanz",gameRecord:"Spielbilanz",vs:"vs",game:"Spiel",tie:"Unentschieden",submit:"Absenden",attackTokenOddsWr:"Angriffstoken: Gewinnrate Chancen",attackTokenEvensWr:"Angriffstoken: Gerade Gewinnrate",current:"Aktuell"},descriptions:{deckDecks:"Finde Decks, die ähnlich wie „{title}“ sind, für abwechslungsreiche Spielmöglichkeiten.",meta:"Bleibe auf dem Laufenden über das sich ständig weiterentwickelnde Meta in Legends of Runeterra. Erhalte Einblicke in die besten Strategien und Decks."},landing:{tagLine:"Gestalte deinen Weg zum Sieg",newCards:{title:"Neue Karten",navigation:"Deckverfolger"},builtDecks:{title:"Benutzergenerierte Decks",navigation:"Deckbibliothek"},deckBuilder:{title:"Builder",navigation:"Deck-Builder"},leaderboard:{title:"Rangliste",navigation:"Rangliste"},meta:{title:"Archetypen",navigation:"Meta"},decks:{title:"Decks",navigation:"Decks"},cards:{title:"Karten",navigation:"Kartenstatistiken"}},tournament:{standings:"Rangliste",oppWinrate:"Gegner-Winrate",oppGameWinrate:"Gewinnrate der Gegner",gameWinrate:"Spiel-Winrate",admin:{editMatchWinner:"Spielgewinner bearbeiten",nextRound:{text:"Die vorherige Runde ist abgeschlossen. Bitte gehen Sie zur nächsten Runde.",button:"Nächste Runde"},wrongDeck:{text:"Spieler {name} hat ein Deck gespielt, das nicht eingereicht wurde. Überprüfen Sie das Match in den Brackets."},start:{text:"Sie können das Turnier jetzt starten. Dies wird automatisch die erste Runde beginnen.",button:"Turnier starten"}},feed:{withdrawal:"Rückzug",withdrawalMessage:"Ein Spieler hat sich vom Turnier zurückgezogen.",signUp:"Neue Anmeldung",matchUpdate:"Spielaktualisierung",checkIn:"Einchecken",adminUpdate:"Admin-Update",created:"Turnier erstellt",createdMessage:"Das Turnier wurde erstellt.",roundStarted:"Runde gestartet",roundStartedMessage:"Eine neue Runde hat begonnen."},timeline:{registration:{title:"Registrierung",description:"Die Anmeldung für das Turnier ist geöffnet. Melde dich jetzt an!"},checkIn:{title:"Einchecken"},start:{title:"Start",description:"Das Turnier hat begonnen!"},end:{title:"Abgeschlossen",description:"Das Turnier ist beendet."}},prompt:{checkedIn:{text:"Du bist für das Turnier eingecheckt.",button:"Zur Teilnehmerseite gehen"},registered:{text:"Sie sind für das Turnier registriert.",button:"Einchecken"},signUp:{text:"Melde dich an, um an diesem Turnier teilzunehmen.",button:"Registrieren"}},errors:{notLoggedIn:"Du musst eingeloggt sein, um dich für ein Turnier anzumelden."},decksSubmission:{heading:"Deck-Einreichung",description:"Reiche deine Decks für das Turnier ein.",submitDecks:"Decks einreichen",decksAreDue:"Decks sind fällig"},participant:{banDecks:{heading:"Decks verbannen",submit:"Ban einreichen | Bans einreichen"},playMatch:{heading:"Spiel Match"}}},profile:{winrateOverTime:"Winrate im Laufe der Zeit",winrateByChampion:"Siegesquote nach Champion",winrateByRegion:"Siegesrate nach Region",winrateByRoundAttacking:"Siegesquote nach Runde Angreifen",winrateAgainstChampion:"Siegesrate gegen Champion",winrateAgainstRegion:"Siegesquote Gegen Region",commonOpponents:"Gemeinsame Gegner"},navigation:{searchPlaceholder:"Karten oder Spieler suchen",subscriptionStatus:"{type} {event} in {days}d"},ads:{supportLorgg:"Unterstütze LOR.GG",disableAdBlock:"Bitte deaktivieren Sie den Ad-Blocker",considerDonating:"Überlege, eine Spende zu tätigen",considerDonatingOr:"Oder ziehen Sie in Betracht, zu spenden",considerPremium:"Oder erwäge Premium",premiumModal:{title:"Unterstütze LOR.GG",benefits:{title:"Premium-Vorteile:",noAds:"Werbefreie Erfahrung",supportDevelopment:"Unterstütze die laufende Entwicklung",exclusiveFeatures:"Zugang zu exklusiven Funktionen"},close:"Schließen",buyPremium:"Premium holen"}},premium:{loading:"Abonnements werden geladen...",title:"LOR.GG Abonnements",loginToSubscribe:"Mit Riot einloggen, um zu abonnieren",verifyToSubscribe:"Email zur Anmeldung bestätigen",verifyHint:"Zahlungsaktionen sind nach der E-Mail-Verifizierung verfügbar.",loadingPaymentUi:"Lade Zahlungs-UI...",cancelAutoRenew:"Auto-Verlängerung abbrechen",resumeAutoRenew:"Auto-Verlängerung fortsetzen",updatePaymentMethod:"Zahlungsmethode aktualisieren",cancelCompleted:"Automatische Verlängerung deaktiviert.",resumeCompleted:"Auto-Verlängerung fortgesetzt.",subscriptionStatus:"Ihre Abonnements {event} in {days} Tag(en).",subscriptionEvent:{renews:"erneuert",cancels:"kündigt"},errors:{loadPayment:"Kann die Zahlungsoberfläche gerade nicht laden.",loadSubscription:"Kann die Abonnementdetails nicht laden.",cancel:"Automatische Verlängerung konnte nicht abgebrochen werden.",resume:"Automatische Verlängerung konnte nicht fortgesetzt werden."},adFree:{title:"Werbefrei",price:"$0,99 / Monat",changeAction:"Auf Ad-frei downgraden",feature1:"Entfernt Werbung auf der gesamten Seite",feature2:"Unterstützt die fortlaufende Entwicklung"},premium:{title:"Premium",price:"2,99 $ / Monat",changeAction:"Auf Premium upgraden",feature1:"Werbefrei",feature2:"Personalisierungsoptionen",feature3:"Erweiterte Filterung",feature4:"Unbegrenzte Turniere organisieren"}}},t8={cardLottery:{setBanner:"Establecer como banner",setIcon:"Establecer como icono",openAnother:"Abrir otro"},cards:{roundDrawn:"Ronda robada",roundPlayed:"Ronda jugada",card:"Carta",cards:"Cartas",inclusion:"Inclusión",avgCopies:"Copias prom.",mulliganWinrate:"Winrate de Mulligan",keptInMulligan:"Conservada en Mulligan",drawnWinrate:"Winrate al robar",turnPlayed:"Turno jugado",turnsHeld:"Turnos en mano",recommendedDecks:"Mazos recomendados",similarCards:"Cartas similares",attack:"Ataque",health:"Salud",quantityOwned:"Cantidad poseída",cost:"Costo"},deck:{copyDeckCode:"Copiar código del mazo",deckCodeCopied:"Código del mazo copiado",deleteDeck:"Eliminar mazo",deleteDeckConfirmation:"¿Estás seguro de que deseas eliminar este mazo?",editDeckName:"Editar nombre del mazo",signInToUpload:"Inicia sesión para subir el mazo",uploadDeckToLor:"Subir mazo a Legends of Runeterra",deckUploaded:"¡Mazo subido!",updatePrivacy:"Actualizar privacidad del mazo",deckPrivate:"Actualmente privado",deckPublic:"Actualmente público",openInDeckBuilder:"Abrir en el creador de mazos",numManaCards:"{num} cartas de maná",simulateMulligan:"Simular Mulligan",replaceAllCards:"Reemplazar todas las cartas",replaceSelectedCards:"Reemplazar cartas seleccionadas",personalCost:"Costo personal",originalCost:"Costo original",openArchetypePage:"Abrir página del arquetipo",shareDeck:"Compartir mazo",showPreview:"Mostrar vista previa del mazo"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`Ya existe un mazo con este nombre.
|
|
34
34
|
¿Deseas sobrescribir la versión anterior?`,deckCreated:"Mazo creado",inputDeckCode:"Pegar código del mazo"},leaderboard:{totalPlayers:"Jugadores totales",lp:"LP",rank:"Rango",updated:"Actualizado"},personalization:{noGiftsAvailable:"No hay sobres disponibles",noGiftsAvailableDesc:`¡Oh no!
|
|
35
35
|
¡Te has quedado sin sobres!
|
|
36
|
-
No te preocupes, puedes conseguir más usando los métodos de abajo.`,cards:{option1:"Inicia sesión en LOR.GG cada semana y recibe 10 sobres.",option2:"Cada vez que sincronizas tus datos, se suben tus últimas 20 partidas. ¡Gana 1 sobre por cada 2 partidas sincronizadas!",option3:"¿Cansado de esperar esa carta perfecta? Mejora a premium y usa cualquier carta como icono o banner."}},settings:{privacy:"Privacidad",privateProfile:"Perfil privado",privateProfileDesc:"Al activarlo, no se mostrarán los detalles de tu perfil. Los mazos públicos seguirán visibles.",email:"Correo electrónico",resendVerification:"Reenviar verificación",account:"Cuenta",payment:"Pago",personalization:"Personalización",images:"Imágenes",banner:"Banner",bannerDesc:'Los banners se obtienen en la pestaña "Sobres". Se muestran en el perfil y la clasificación.',bannerDescPremium:"Con premium puedes usar cualquier carta como banner.",icon:"Icono",iconDesc:'Los iconos se obtienen en la pestaña "Sobres". Se muestran en tu perfil.',iconDescPremium:"Con premium puedes usar cualquier carta como icono.",color:"Color",colorDesc:"Destácate con tu color favorito. Visible donde se muestre tu banner.",colorDescPremium:"El color solo está disponible para usuarios premium."},general:{manaCost:"Costo de maná",cost:"Costo",regions:"Regiones",clear:"Limpiar",clearAll:"Limpiar todo",copy:"Copiar",patch:"Parche",matches:"Partidas",wins:"Victorias",losses:"Derrotas",winrate:"Winrate",quantity:"Cantidad",round:"Ronda",total:"Total",champion:"Campeón",follower:"Seguidor",spell:"Hechizo",landmark:"Hito",equipment:"Equipo",champions:"Campeones",followers:"Seguidores",spells:"Hechizos",landmarks:"Hitos",equipments:"Equipo",statistics:"Estadísticas",advanced:"Avanzado",newAdvancedFilter:"Nuevo filtro avanzado",types:"Tipos",rarities:"Rarezas",sets:"Sets",keywords:"Palabras clave",pastDays:"Últimos {count} días",pastHours:"Últimas {count} horas",pastHour:"Última hora",season:"Temporada",servers:"Servidores",sampleSize:"Tamaño de muestra",minimumMatches:"Partidas mínimas",ranks:"Rangos",allRanks:"Todos los rangos",platPlus:"Platino+",deck:"Mazo",manaCurve:"Curva de maná",name:"Nombre",updated:"Actualizado",created:"Creado",card:"Carta",cards:"Cartas",inclusion:"Inclusión",avgCopies:"Copias prom.",turnsHeld:"Turnos en mano",mulliganWinrate:"WR de Mulligan",keptInMulligan:"Conservada en Mulligan",drawnWinrate:"Winrate al robar",turnPlayed:"Turno jugado",playrate:"Uso",deckDifferences:"Diferencias de mazo",player:"Jugador",lp:"LP",change:"Cambio",favoriteDeck:"Mazo favorito",server:"Servidor",players:"Jugadores",time:"Tiempo",type:"Tipo",rarity:"Rareza",archetypes:"Arquetipos",archetype:"Arquetipo",profile:"Perfil",leaderboard:"Clasificación",victory:"Victoria",defeat:"Derrota",newCards:"Cartas nuevas",signIn:"Iniciar sesión",syncUserData:"Sincronizar datos",settings:"Configuración",gamesPlayed:"Partidas jugadas",premium:"Premium",renews:"Renueva",expires:"Expira",getPremium:"¡Obtener Premium!",becomeTheMaster:"Conviértete en el maestro",format:"Formato",otherFormats:"Otros formatos",queues:"Colas",save:"Guardar",captureImage:"Capturar imagen",deckCode:"Código del mazo",library:"Biblioteca",openCards:"Abrir sobres",attackingFirst:"Ataca primero",attackingSecond:"Ataca segundo",overall:"General",list:"Lista",graph:"Gráfico",decks:"Mazos",popularityTimeline:"Evolución de popularidad",overallWinrate:"Winrate general",deckLibrary:"Biblioteca de mazos",deckBuilder:"Creador de mazos",inclusionTimeline:"Evolución de inclusión",winrateTimeline:"Evolución de winrate",winrateByGamesPlayed:"Winrate por partidas jugadas",meta:"Meta",youHave:"Tienes: ",holdShiftForAssociated:"Mantén Shift para ver cartas asociadas",cardArt:"Arte de la carta",regionDistribution:"Distribución por región",noResults:"Sin resultados",tryAgain:"Ajusta los filtros e inténtalo de nuevo.",createdAt:"Creado el",updatedAt:"Actualizado el",page:"Página",deckStats:"Estadísticas del mazo",cardStats:"Estadísticas de la carta",cardGallery:"Galería de cartas",close:"Cerrar",overwrite:"Sobrescribir",rename:"Renombrar",view:"Ver",mustBeLoggedIn:"Debes iniciar sesión para completar esta acción.",uploadFailed:"Error al subir",successfullyUploaded:"Subido correctamente",cardLottery:"Lotería de cartas",confirm:"Confirmar",verified:"Verificado",notVerified:"No verificado",patches:"Parches",seasons:"Temporadas",premiumBarrier:"Debes ser usuario premium para acceder a estos filtros.",verificationEmailSent:"Correo de verificación enviado.",updateEmail:"Actualizar correo",text:"Texto",syncingInProgress:"Sincronización en curso",matchRecord:"Historial de partidas",gameRecord:"Historial de juegos",vs:"vs",game:"Juego",tie:"Empate",submit:"Enviar",attackTokenOddsWr:"Token de Ataque: Probabilidades de Winrate",attackTokenEvensWr:"Token de Ataque: Winrate de Pares"},descriptions:{deckDecks:'Encuentra mazos similares a "{title}" para opciones de juego variadas.',meta:"Mantente al día con el meta en constante evolución en Legends of Runeterra. Obtén información sobre las mejores estrategias y mazos."},landing:{tagLine:"Traza tu camino hacia la victoria",newCards:{title:"nuevasCartas.titulo",navigation:"Rastreador de Revelaciones"},builtDecks:{title:"Maquetas Creadas por Usuarios",navigation:"Biblioteca de Mazos"},deckBuilder:{title:"Constructor",navigation:"Constructor de Mazos"},leaderboard:{title:"Clasificación",navigation:"Clasificación"},meta:{title:"Arquetipos",navigation:"Meta"},decks:{title:"Mazos",navigation:"Barajas"},cards:{title:"Cartas",navigation:"Estadísticas de Cartas"}},tournament:{standings:"Clasificación",oppWinrate:"Tasa de Victoria de los Oponentes",oppGameWinrate:"Tasa de Victoria de Oponentes en el Juego",gameWinrate:"Tasa de Ganancia en el Juego",admin:{editMatchWinner:"Editar Ganador del Partido",nextRound:{text:"La ronda anterior ha concluido. Por favor, avanza a la siguiente ronda.",button:"Próxima Ronda"},wrongDeck:{text:"El jugador {name} jugó un mazo que no fue enviado. Revisa la partida en los Brackets."},start:{text:"Puedes comenzar el torneo ahora. Esto iniciará automáticamente la primera ronda.",button:"Comenzar Torneo"}},feed:{withdrawal:"Retiro",withdrawalMessage:"Un jugador se ha retirado del torneo.",signUp:"Nueva Inscripción",matchUpdate:"Actualización de la Partida",checkIn:"Registrarse",adminUpdate:"Actualización de administrador",created:"Torneo Creado",createdMessage:"El torneo ha sido creado.",roundStarted:"Ronda Comenzada",roundStartedMessage:"Una nueva ronda ha comenzado."},timeline:{registration:{title:"Registro",description:"La inscripción para el torneo está abierta. ¡Regístrate ahora!"},checkIn:{title:"Registro"},start:{title:"Comenzar",description:"¡El torneo ha comenzado!"},end:{title:"Concluido",description:"El torneo ha concluido."}},prompt:{checkedIn:{text:"Estás registrado para el torneo.",button:"Ir a la Página del Participante"},registered:{text:"Estás registrado para el torneo.",button:"Registrarse"},signUp:{text:"Regístrate para participar en este torneo.",button:"Regístrate"}},errors:{notLoggedIn:"Debes estar registrado para inscribirte en un torneo."},decksSubmission:{heading:"Envío de Mazos",description:"Envía tus mazos para el torneo.",submitDecks:"Enviar mazos",decksAreDue:"Los mazos deben entregarse"},participant:{banDecks:{heading:"Prohibir Barajas",submit:"Enviar Prohibición | Enviar Prohibiciones"},playMatch:{heading:"Jugar Partida"}}},profile:{winrateOverTime:"Tasa de victorias a lo largo del tiempo",winrateByChampion:"Tasa de victorias por campeón",winrateByRegion:"Porcentaje de victorias por región",winrateByRoundAttacking:"Tasa de victorias por ronda atacando",winrateAgainstChampion:"Tasa de Victorias Contra Campeón",winrateAgainstRegion:"Tasa de Victorias Contra la Región",commonOpponents:"Oponentes Comunes"},navigation:{searchPlaceholder:"Buscar Cartas o Jugadores",subscriptionStatus:"{type} {event} en {days}d"},ads:{supportLorgg:"Apoya a LOR.GG",disableAdBlock:"Por favor, desactiva el bloqueador de anuncios",considerDonating:"Considera donar",considerDonatingOr:"O considera donar",considerPremium:"O considera Premium",premiumModal:{title:"Apoya a LOR.GG",benefits:{title:"Beneficios Premium:",noAds:"Experiencia sin anuncios",supportDevelopment:"Apoya el desarrollo continuo",exclusiveFeatures:"Acceso a funciones exclusivas"},close:"Cerrar",buyPremium:"Obtén Premium"}},premium:{loading:"Cargando suscripciones...",title:"Suscripciones de LOR.GG",loginToSubscribe:"Inicia sesión con Riot para suscribirte",verifyToSubscribe:"Verifica tu correo electrónico para suscribirte",verifyHint:"Las acciones de pago están disponibles después de la verificación del correo electrónico.",loadingPaymentUi:"Cargando la interfaz de pago...",cancelAutoRenew:"Cancelar renovación automática",resumeAutoRenew:"Reanudar Auto-Renovación",updatePaymentMethod:"Actualizar Método de Pago",cancelCompleted:"Auto-renovación desactivada.",resumeCompleted:"La renovación automática reanudada.",subscriptionStatus:"Tu suscripción {event} en {days} día(s).",subscriptionEvent:{renews:"renueva",cancels:"cancelaciones"},errors:{loadPayment:"No se puede cargar la interfaz de pago en este momento.",loadSubscription:"No se pueden cargar los detalles de la suscripción.",cancel:"No se pudo cancelar la renovación automática.",resume:"No se pudo reanudar la renovación automática."},adFree:{title:"Sin Anuncios",price:"$0.99 / mes",changeAction:"Degradar a Sin Anuncios",feature1:"Elimina anuncios en todo el sitio",feature2:"Apoya el Desarrollo Continuo"},premium:{title:"Premium",price:"$2.99 / mes",changeAction:"Mejorar a Premium",feature1:"Sin anuncios",feature2:"Opciones de Personalización",feature3:"Filtrado Avanzado",feature4:"Organiza Torneos Ilimitados"}}},n8={cardLottery:{setBanner:"Définir comme bannière",setIcon:"Définir comme icône",openAnother:"Ouvrir un autre"},cards:{roundDrawn:"Tour pioché",roundPlayed:"Tour joué",card:"Carte",cards:"Cartes",inclusion:"Inclusion",avgCopies:"Copies moy.",mulliganWinrate:"Taux de victoire Mulligan",keptInMulligan:"Gardée au Mulligan",drawnWinrate:"Taux de victoire en main",turnPlayed:"Tour joué",turnsHeld:"Tours en main",recommendedDecks:"Decks recommandés",similarCards:"Cartes similaires",attack:"Attaque",health:"Santé",quantityOwned:"Quantité possédée",cost:"Coût"},deck:{copyDeckCode:"Copier le code du deck",deckCodeCopied:"Code du deck copié",deleteDeck:"Supprimer le deck",deleteDeckConfirmation:"Êtes-vous sûr de vouloir supprimer ce deck ?",editDeckName:"Modifier le nom du deck",signInToUpload:"Veuillez vous connecter pour téléverser le deck",uploadDeckToLor:"Téléverser le deck sur Legends of Runeterra",deckUploaded:"Deck téléversé !",updatePrivacy:"Mettre à jour la confidentialité",deckPrivate:"Actuellement privé",deckPublic:"Actuellement public",openInDeckBuilder:"Ouvrir dans le constructeur de decks",numManaCards:"{num} cartes de mana",simulateMulligan:"Simuler le Mulligan",replaceAllCards:"Remplacer toutes les cartes",replaceSelectedCards:"Remplacer les cartes sélectionnées",personalCost:"Coût personnel",originalCost:"Coût d'origine",openArchetypePage:"Ouvrir la page de l’archétype",shareDeck:"Partager le deck",showPreview:"Afficher l’aperçu du deck"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`Un deck portant ce nom existe déjà.
|
|
36
|
+
No te preocupes, puedes conseguir más usando los métodos de abajo.`,cards:{option1:"Inicia sesión en LOR.GG cada semana y recibe 10 sobres.",option2:"Cada vez que sincronizas tus datos, se suben tus últimas 20 partidas. ¡Gana 1 sobre por cada 2 partidas sincronizadas!",option3:"¿Cansado de esperar esa carta perfecta? Mejora a premium y usa cualquier carta como icono o banner."}},settings:{privacy:"Privacidad",privateProfile:"Perfil privado",privateProfileDesc:"Al activarlo, no se mostrarán los detalles de tu perfil. Los mazos públicos seguirán visibles.",email:"Correo electrónico",resendVerification:"Reenviar verificación",account:"Cuenta",payment:"Pago",personalization:"Personalización",images:"Imágenes",banner:"Banner",bannerDesc:'Los banners se obtienen en la pestaña "Sobres". Se muestran en el perfil y la clasificación.',bannerDescPremium:"Con premium puedes usar cualquier carta como banner.",icon:"Icono",iconDesc:'Los iconos se obtienen en la pestaña "Sobres". Se muestran en tu perfil.',iconDescPremium:"Con premium puedes usar cualquier carta como icono.",color:"Color",colorDesc:"Destácate con tu color favorito. Visible donde se muestre tu banner.",colorDescPremium:"El color solo está disponible para usuarios premium."},general:{manaCost:"Costo de maná",cost:"Costo",regions:"Regiones",clear:"Limpiar",clearAll:"Limpiar todo",copy:"Copiar",patch:"Parche",matches:"Partidas",wins:"Victorias",losses:"Derrotas",winrate:"Winrate",quantity:"Cantidad",round:"Ronda",total:"Total",champion:"Campeón",follower:"Seguidor",spell:"Hechizo",landmark:"Hito",equipment:"Equipo",champions:"Campeones",followers:"Seguidores",spells:"Hechizos",landmarks:"Hitos",equipments:"Equipo",statistics:"Estadísticas",advanced:"Avanzado",newAdvancedFilter:"Nuevo filtro avanzado",types:"Tipos",rarities:"Rarezas",sets:"Sets",keywords:"Palabras clave",pastDays:"Últimos {count} días",pastHours:"Últimas {count} horas",pastHour:"Última hora",season:"Temporada",servers:"Servidores",sampleSize:"Tamaño de muestra",minimumMatches:"Partidas mínimas",ranks:"Rangos",allRanks:"Todos los rangos",platPlus:"Platino+",deck:"Mazo",manaCurve:"Curva de maná",name:"Nombre",updated:"Actualizado",created:"Creado",card:"Carta",cards:"Cartas",inclusion:"Inclusión",avgCopies:"Copias prom.",turnsHeld:"Turnos en mano",mulliganWinrate:"WR de Mulligan",keptInMulligan:"Conservada en Mulligan",drawnWinrate:"Winrate al robar",turnPlayed:"Turno jugado",playrate:"Uso",deckDifferences:"Diferencias de mazo",player:"Jugador",lp:"LP",change:"Cambio",favoriteDeck:"Mazo favorito",server:"Servidor",players:"Jugadores",time:"Tiempo",type:"Tipo",rarity:"Rareza",archetypes:"Arquetipos",archetype:"Arquetipo",profile:"Perfil",leaderboard:"Clasificación",victory:"Victoria",defeat:"Derrota",newCards:"Cartas nuevas",signIn:"Iniciar sesión",syncUserData:"Sincronizar datos",settings:"Configuración",gamesPlayed:"Partidas jugadas",premium:"Premium",renews:"Renueva",expires:"Expira",getPremium:"¡Obtener Premium!",becomeTheMaster:"Conviértete en el maestro",format:"Formato",otherFormats:"Otros formatos",queues:"Colas",save:"Guardar",captureImage:"Capturar imagen",deckCode:"Código del mazo",library:"Biblioteca",openCards:"Abrir sobres",attackingFirst:"Ataca primero",attackingSecond:"Ataca segundo",overall:"General",list:"Lista",graph:"Gráfico",decks:"Mazos",popularityTimeline:"Evolución de popularidad",overallWinrate:"Winrate general",deckLibrary:"Biblioteca de mazos",deckBuilder:"Creador de mazos",inclusionTimeline:"Evolución de inclusión",winrateTimeline:"Evolución de winrate",winrateByGamesPlayed:"Winrate por partidas jugadas",meta:"Meta",youHave:"Tienes: ",holdShiftForAssociated:"Mantén Shift para ver cartas asociadas",cardArt:"Arte de la carta",regionDistribution:"Distribución por región",noResults:"Sin resultados",tryAgain:"Ajusta los filtros e inténtalo de nuevo.",createdAt:"Creado el",updatedAt:"Actualizado el",page:"Página",deckStats:"Estadísticas del mazo",cardStats:"Estadísticas de la carta",cardGallery:"Galería de cartas",close:"Cerrar",overwrite:"Sobrescribir",rename:"Renombrar",view:"Ver",mustBeLoggedIn:"Debes iniciar sesión para completar esta acción.",uploadFailed:"Error al subir",successfullyUploaded:"Subido correctamente",cardLottery:"Lotería de cartas",confirm:"Confirmar",verified:"Verificado",notVerified:"No verificado",patches:"Parches",seasons:"Temporadas",premiumBarrier:"Debes ser usuario premium para acceder a estos filtros.",verificationEmailSent:"Correo de verificación enviado.",updateEmail:"Actualizar correo",text:"Texto",syncingInProgress:"Sincronización en curso",matchRecord:"Historial de partidas",gameRecord:"Historial de juegos",vs:"vs",game:"Juego",tie:"Empate",submit:"Enviar",attackTokenOddsWr:"Token de Ataque: Probabilidades de Winrate",attackTokenEvensWr:"Token de Ataque: Winrate de Pares",current:"Actual"},descriptions:{deckDecks:'Encuentra mazos similares a "{title}" para opciones de juego variadas.',meta:"Mantente al día con el meta en constante evolución en Legends of Runeterra. Obtén información sobre las mejores estrategias y mazos."},landing:{tagLine:"Traza tu camino hacia la victoria",newCards:{title:"nuevasCartas.titulo",navigation:"Rastreador de Revelaciones"},builtDecks:{title:"Maquetas Creadas por Usuarios",navigation:"Biblioteca de Mazos"},deckBuilder:{title:"Constructor",navigation:"Constructor de Mazos"},leaderboard:{title:"Clasificación",navigation:"Clasificación"},meta:{title:"Arquetipos",navigation:"Meta"},decks:{title:"Mazos",navigation:"Barajas"},cards:{title:"Cartas",navigation:"Estadísticas de Cartas"}},tournament:{standings:"Clasificación",oppWinrate:"Tasa de Victoria de los Oponentes",oppGameWinrate:"Tasa de Victoria de Oponentes en el Juego",gameWinrate:"Tasa de Ganancia en el Juego",admin:{editMatchWinner:"Editar Ganador del Partido",nextRound:{text:"La ronda anterior ha concluido. Por favor, avanza a la siguiente ronda.",button:"Próxima Ronda"},wrongDeck:{text:"El jugador {name} jugó un mazo que no fue enviado. Revisa la partida en los Brackets."},start:{text:"Puedes comenzar el torneo ahora. Esto iniciará automáticamente la primera ronda.",button:"Comenzar Torneo"}},feed:{withdrawal:"Retiro",withdrawalMessage:"Un jugador se ha retirado del torneo.",signUp:"Nueva Inscripción",matchUpdate:"Actualización de la Partida",checkIn:"Registrarse",adminUpdate:"Actualización de administrador",created:"Torneo Creado",createdMessage:"El torneo ha sido creado.",roundStarted:"Ronda Comenzada",roundStartedMessage:"Una nueva ronda ha comenzado."},timeline:{registration:{title:"Registro",description:"La inscripción para el torneo está abierta. ¡Regístrate ahora!"},checkIn:{title:"Registro"},start:{title:"Comenzar",description:"¡El torneo ha comenzado!"},end:{title:"Concluido",description:"El torneo ha concluido."}},prompt:{checkedIn:{text:"Estás registrado para el torneo.",button:"Ir a la Página del Participante"},registered:{text:"Estás registrado para el torneo.",button:"Registrarse"},signUp:{text:"Regístrate para participar en este torneo.",button:"Regístrate"}},errors:{notLoggedIn:"Debes estar registrado para inscribirte en un torneo."},decksSubmission:{heading:"Envío de Mazos",description:"Envía tus mazos para el torneo.",submitDecks:"Enviar mazos",decksAreDue:"Los mazos deben entregarse"},participant:{banDecks:{heading:"Prohibir Barajas",submit:"Enviar Prohibición | Enviar Prohibiciones"},playMatch:{heading:"Jugar Partida"}}},profile:{winrateOverTime:"Tasa de victorias a lo largo del tiempo",winrateByChampion:"Tasa de victorias por campeón",winrateByRegion:"Porcentaje de victorias por región",winrateByRoundAttacking:"Tasa de victorias por ronda atacando",winrateAgainstChampion:"Tasa de Victorias Contra Campeón",winrateAgainstRegion:"Tasa de Victorias Contra la Región",commonOpponents:"Oponentes Comunes"},navigation:{searchPlaceholder:"Buscar Cartas o Jugadores",subscriptionStatus:"{type} {event} en {days}d"},ads:{supportLorgg:"Apoya a LOR.GG",disableAdBlock:"Por favor, desactiva el bloqueador de anuncios",considerDonating:"Considera donar",considerDonatingOr:"O considera donar",considerPremium:"O considera Premium",premiumModal:{title:"Apoya a LOR.GG",benefits:{title:"Beneficios Premium:",noAds:"Experiencia sin anuncios",supportDevelopment:"Apoya el desarrollo continuo",exclusiveFeatures:"Acceso a funciones exclusivas"},close:"Cerrar",buyPremium:"Obtén Premium"}},premium:{loading:"Cargando suscripciones...",title:"Suscripciones de LOR.GG",loginToSubscribe:"Inicia sesión con Riot para suscribirte",verifyToSubscribe:"Verifica tu correo electrónico para suscribirte",verifyHint:"Las acciones de pago están disponibles después de la verificación del correo electrónico.",loadingPaymentUi:"Cargando la interfaz de pago...",cancelAutoRenew:"Cancelar renovación automática",resumeAutoRenew:"Reanudar Auto-Renovación",updatePaymentMethod:"Actualizar Método de Pago",cancelCompleted:"Auto-renovación desactivada.",resumeCompleted:"La renovación automática reanudada.",subscriptionStatus:"Tu suscripción {event} en {days} día(s).",subscriptionEvent:{renews:"renueva",cancels:"cancelaciones"},errors:{loadPayment:"No se puede cargar la interfaz de pago en este momento.",loadSubscription:"No se pueden cargar los detalles de la suscripción.",cancel:"No se pudo cancelar la renovación automática.",resume:"No se pudo reanudar la renovación automática."},adFree:{title:"Sin Anuncios",price:"$0.99 / mes",changeAction:"Degradar a Sin Anuncios",feature1:"Elimina anuncios en todo el sitio",feature2:"Apoya el Desarrollo Continuo"},premium:{title:"Premium",price:"$2.99 / mes",changeAction:"Mejorar a Premium",feature1:"Sin anuncios",feature2:"Opciones de Personalización",feature3:"Filtrado Avanzado",feature4:"Organiza Torneos Ilimitados"}}},n8={cardLottery:{setBanner:"Définir comme bannière",setIcon:"Définir comme icône",openAnother:"Ouvrir un autre"},cards:{roundDrawn:"Tour pioché",roundPlayed:"Tour joué",card:"Carte",cards:"Cartes",inclusion:"Inclusion",avgCopies:"Copies moy.",mulliganWinrate:"Taux de victoire Mulligan",keptInMulligan:"Gardée au Mulligan",drawnWinrate:"Taux de victoire en main",turnPlayed:"Tour joué",turnsHeld:"Tours en main",recommendedDecks:"Decks recommandés",similarCards:"Cartes similaires",attack:"Attaque",health:"Santé",quantityOwned:"Quantité possédée",cost:"Coût"},deck:{copyDeckCode:"Copier le code du deck",deckCodeCopied:"Code du deck copié",deleteDeck:"Supprimer le deck",deleteDeckConfirmation:"Êtes-vous sûr de vouloir supprimer ce deck ?",editDeckName:"Modifier le nom du deck",signInToUpload:"Veuillez vous connecter pour téléverser le deck",uploadDeckToLor:"Téléverser le deck sur Legends of Runeterra",deckUploaded:"Deck téléversé !",updatePrivacy:"Mettre à jour la confidentialité",deckPrivate:"Actuellement privé",deckPublic:"Actuellement public",openInDeckBuilder:"Ouvrir dans le constructeur de decks",numManaCards:"{num} cartes de mana",simulateMulligan:"Simuler le Mulligan",replaceAllCards:"Remplacer toutes les cartes",replaceSelectedCards:"Remplacer les cartes sélectionnées",personalCost:"Coût personnel",originalCost:"Coût d'origine",openArchetypePage:"Ouvrir la page de l’archétype",shareDeck:"Partager le deck",showPreview:"Afficher l’aperçu du deck"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`Un deck portant ce nom existe déjà.
|
|
37
37
|
Souhaitez-vous écraser la version précédente ?`,deckCreated:"Deck créé",inputDeckCode:"Coller le code du deck"},leaderboard:{totalPlayers:"Joueurs totaux",lp:"LP",rank:"Rang",updated:"Mis à jour"},personalization:{noGiftsAvailable:"Aucun paquet disponible",noGiftsAvailableDesc:`Oh non !
|
|
38
38
|
Vous n’avez plus de paquets de cartes !
|
|
39
|
-
Pas d’inquiétude, vous pouvez en gagner avec les méthodes ci-dessous !`,cards:{option1:"Connectez-vous à LOR.GG chaque semaine pour recevoir 10 paquets de cartes.",option2:"À chaque synchronisation, vos 20 derniers matchs sont téléversés. Gagnez 1 paquet pour 2 matchs synchronisés !",option3:"Marre d’attendre la carte parfaite ? Passez en premium et utilisez n’importe quelle carte comme icône ou bannière !"}},settings:{privacy:"Confidentialité",privateProfile:"Profil privé",privateProfileDesc:"En activant cette option, vos informations ne seront pas visibles. Les decks publics resteront affichés.",email:"E-mail",resendVerification:"Renvoyer la vérification",account:"Compte",payment:"Paiement",personalization:"Personnalisation",images:"Images",banner:"Bannière",bannerDesc:"Les bannières sont obtenues via l’onglet « Paquets de cartes ». Elles apparaissent sur le profil et le classement.",bannerDescPremium:"Avec le premium, vous pouvez utiliser n’importe quelle carte comme bannière.",icon:"Icône",iconDesc:"Les icônes sont obtenues via l’onglet « Paquets de cartes ». Elles apparaissent sur votre profil.",iconDescPremium:"Avec le premium, vous pouvez utiliser n’importe quelle carte comme icône.",color:"Couleur",colorDesc:"Démarquez-vous avec votre couleur préférée. Visible partout où votre bannière apparaît.",colorDescPremium:"La couleur ne peut être sélectionnée que si vous êtes un utilisateur premium."},general:{manaCost:"Coût en mana",cost:"Coût",regions:"Régions",clear:"Effacer",clearAll:"Tout effacer",copy:"Copier",patch:"Patch",matches:"Matchs",wins:"Victoires",losses:"Défaites",winrate:"Taux de victoire",quantity:"Quantité",round:"Manche",total:"Total",champion:"Champion",follower:"Allié",spell:"Sort",landmark:"Monument",equipment:"Équipement",champions:"Champions",followers:"Alliés",spells:"Sorts",landmarks:"Monuments",equipments:"Équipement",statistics:"Statistiques",advanced:"Avancé",newAdvancedFilter:"Nouveau filtre avancé",types:"Types",rarities:"Raretés",sets:"Extensions",keywords:"Mots-clés",pastDays:"{count} derniers jours",pastHours:"{count} dernières heures",pastHour:"Dernière heure",season:"Saison",servers:"Serveurs",sampleSize:"Taille de l’échantillon",minimumMatches:"Matchs minimum",ranks:"Rangs",allRanks:"Tous les rangs",platPlus:"Platinium+",deck:"Deck",manaCurve:"Courbe de mana",name:"Nom",updated:"Mis à jour",created:"Créé",card:"Carte",cards:"Cartes",inclusion:"Inclusion",avgCopies:"Copies moy.",turnsHeld:"Tours en main",mulliganWinrate:"WR Mulligan",keptInMulligan:"Gardée au Mulligan",drawnWinrate:"Taux de victoire en main",turnPlayed:"Tour joué",playrate:"Taux d’utilisation",deckDifferences:"Différences de deck",player:"Joueur",lp:"LP",change:"Changement",favoriteDeck:"Deck favori",server:"Serveur",players:"Joueurs",time:"Temps",type:"Type",rarity:"Rareté",archetypes:"Archétypes",archetype:"Archétype",profile:"Profil",leaderboard:"Classement",victory:"Victoire",defeat:"Défaite",newCards:"Nouvelles cartes",signIn:"Connexion",syncUserData:"Synchroniser les données",settings:"Paramètres",gamesPlayed:"Parties jouées",premium:"Premium",renews:"Renouvelle",expires:"Expire",getPremium:"Passer Premium !",becomeTheMaster:"Devenez le maître",format:"Format",otherFormats:"Autres formats",queues:"Files",save:"Enregistrer",captureImage:"Capturer l’image",deckCode:"Code du deck",library:"Bibliothèque",openCards:"Ouvrir des paquets",attackingFirst:"Attaque en premier",attackingSecond:"Attaque en second",overall:"Global",list:"Liste",graph:"Graphique",decks:"Decks",popularityTimeline:"Évolution de la popularité",overallWinrate:"Taux de victoire global",deckLibrary:"Bibliothèque de decks",deckBuilder:"Constructeur de decks",inclusionTimeline:"Évolution de l’inclusion",winrateTimeline:"Évolution du winrate",winrateByGamesPlayed:"Winrate par parties jouées",meta:"Méta",youHave:"Vous avez : ",holdShiftForAssociated:"Maintenez Shift pour voir les cartes associées",cardArt:"Illustration de la carte",regionDistribution:"Répartition par région",noResults:"Aucun résultat",tryAgain:"Ajustez les filtres et réessayez.",createdAt:"Créé le",updatedAt:"Mis à jour le",page:"Page",deckStats:"Statistiques du deck",cardStats:"Statistiques de la carte",cardGallery:"Galerie de cartes",close:"Fermer",overwrite:"Écraser",rename:"Renommer",view:"Voir",mustBeLoggedIn:"Vous devez être connecté pour effectuer cette action.",uploadFailed:"Échec du téléversement",successfullyUploaded:"Téléversement réussi",cardLottery:"Loterie de cartes",confirm:"Confirmer",verified:"Vérifié",notVerified:"Non vérifié",patches:"Patches",seasons:"Saisons",premiumBarrier:"Vous devez être premium pour accéder à ces filtres.",verificationEmailSent:"E-mail de vérification envoyé.",updateEmail:"Mettre à jour l’e-mail",text:"Texte",syncingInProgress:"Synchronisation en cours",matchRecord:"Historique des matchs",gameRecord:"Historique des parties",vs:"vs",game:"Partie",tie:"Égalité",submit:"Envoyer",attackTokenOddsWr:"Jeton d'attaque : Cote de taux de victoire",attackTokenEvensWr:"Jeton d'attaque : Taux de victoire pairs"},descriptions:{deckDecks:'Trouvez des decks similaires à "{title}" pour des options de jeu variées.',meta:"Restez à jour avec le méta en constante évolution dans Legends of Runeterra. Obtenez des informations sur les meilleures stratégies et decks."},landing:{tagLine:"Tracez votre chemin vers la victoire",newCards:{title:"Nouvelles Cartes",navigation:"Suivi des révélations"},builtDecks:{title:"Decks Créés par les Utilisateurs",navigation:"Bibliothèque de Decks"},deckBuilder:{title:"Constructeur",navigation:"Constructeur de Deck"},leaderboard:{title:"Tableau des classements",navigation:"Classement"},meta:{title:"Archétypes",navigation:"Méta"},decks:{title:"Decks",navigation:"Decks"},cards:{title:"Cartes",navigation:"Statistiques des cartes"}},tournament:{standings:"Classements",oppWinrate:"Taux de victoire des adversaires",oppGameWinrate:"Taux de victoire des adversaires",gameWinrate:"Pourcentage de Victoire",admin:{editMatchWinner:"Modifier le gagnant du match",nextRound:{text:"Le tour précédent est terminé. Veuillez passer au tour suivant.",button:"Prochaine Manche"},wrongDeck:{text:"Le joueur {name} a joué un deck qui n'a pas été soumis. Consultez le match dans les Brackets."},start:{text:"Vous pouvez commencer le tournoi maintenant. Cela lancera automatiquement le premier round.",button:"Commencer le tournoi"}},feed:{withdrawal:"Retrait",withdrawalMessage:"Un joueur s'est retiré du tournoi.",signUp:"Nouvelle inscription",matchUpdate:"Mise à jour du match",checkIn:"Enregistrement",adminUpdate:"Mise à jour admin",created:"Tournament Créé",createdMessage:"Le tournoi a été créé.",roundStarted:"Tour commençé",roundStartedMessage:"Une nouvelle manche a commencé."},timeline:{registration:{title:"Inscription",description:"L'inscription au tournoi est ouverte. Inscrivez-vous maintenant !"},checkIn:{title:"Enregistrement"},start:{title:"Commencer",description:"Le tournoi a commencé !"},end:{title:"Conclu",description:"Le tournoi est terminé."}},prompt:{checkedIn:{text:"Vous êtes enregistré pour le tournoi.",button:"Aller à la page du participant"},registered:{text:"Vous êtes inscrit au tournoi.",button:"Enregistrer"},signUp:{text:"Inscrivez-vous pour participer à ce tournoi.",button:"Inscription"}},errors:{notLoggedIn:"Vous devez être connecté pour vous inscrire à un tournoi."},decksSubmission:{heading:"Soumission de Decks",description:"Soumettez vos decks pour le tournoi.",submitDecks:"Soumettre des decks",decksAreDue:"Les decks sont dus"},participant:{banDecks:{heading:"Interdire les decks",submit:"Soumettre l'interdiction | Soumettre les interdictions"},playMatch:{heading:"Jouer un match"}}},profile:{winrateOverTime:"Taux de victoire au fil du temps",winrateByChampion:"Taux de victoire par champion",winrateByRegion:"Taux de victoire par région",winrateByRoundAttacking:"Taux de victoire par tour d'attaque",winrateAgainstChampion:"Taux de victoire contre le champion",winrateAgainstRegion:"Taux de victoire contre la région",commonOpponents:"Adversaires Communs"},navigation:{searchPlaceholder:"Rechercher des cartes ou des joueurs",subscriptionStatus:"{type} {event} dans {days}j"},ads:{supportLorgg:"Soutenez LOR.GG",disableAdBlock:"Veuillez désactiver le bloqueur de publicités",considerDonating:"Envisagez de faire un don",considerDonatingOr:"Ou envisagez de faire un don",considerPremium:"Ou envisagez Premium",premiumModal:{title:"Soutenez LOR.GG",benefits:{title:"Avantages Premium :",noAds:"Expérience sans publicité",supportDevelopment:"Soutenez le développement continu",exclusiveFeatures:"Accès à des fonctionnalités exclusives"},close:"Fermer",buyPremium:"Obtenez Premium"}},premium:{loading:"Chargement des abonnements...",title:"Abonnements LOR.GG",loginToSubscribe:"Connectez-vous avec Riot pour vous abonner",verifyToSubscribe:"Vérifiez votre e-mail pour vous abonner",verifyHint:"Les actions de paiement sont disponibles après la vérification de l'email.",loadingPaymentUi:"Chargement de l'interface de paiement...",cancelAutoRenew:"Annuler le renouvellement automatique",resumeAutoRenew:"Reprendre le renouvellement automatique",updatePaymentMethod:"Mettre à jour le mode de paiement",cancelCompleted:"Renouvellement automatique désactivé.",resumeCompleted:"Le renouvellement automatique a repris.",subscriptionStatus:"Votre abonnement {event} dans {days} jour(s).",subscriptionEvent:{renews:"renouvelle",cancels:"annule"},errors:{loadPayment:"Impossible de charger l'interface de paiement pour le moment.",loadSubscription:"Impossible de charger les détails de l'abonnement.",cancel:"Échec de l'annulation du renouvellement automatique.",resume:"Échec de la reprise de l'auto-renouvellement."},adFree:{title:"Sans publicité",price:"0,99 $ / mois",changeAction:"Passer à la version sans publicité",feature1:"Supprime les publicités sur tout le site",feature2:"Soutient le développement continu"},premium:{title:"Premium",price:"2,99 $ / mois",changeAction:"Passer à Premium",feature1:"Sans publicité",feature2:"Options de personnalisation",feature3:"Filtrage Avancé",feature4:"Organisez des tournois illimités"}}},r8={cardLottery:{setBanner:"Imposta come banner",setIcon:"Imposta come icona",openAnother:"Apri un altro"},cards:{roundDrawn:"Turno pescato",roundPlayed:"Turno giocato",card:"Carta",cards:"Carte",inclusion:"Inclusione",avgCopies:"Copie medie",mulliganWinrate:"Winrate Mulligan",keptInMulligan:"Tenuta nel Mulligan",drawnWinrate:"Winrate alla pesca",turnPlayed:"Turno giocato",turnsHeld:"Turni in mano",recommendedDecks:"Mazzi consigliati",similarCards:"Carte simili",attack:"Attacco",health:"Salute",quantityOwned:"Quantità posseduta",cost:"Costo"},deck:{copyDeckCode:"Copia codice mazzo",deckCodeCopied:"Codice mazzo copiato",deleteDeck:"Elimina mazzo",deleteDeckConfirmation:"Sei sicuro di voler eliminare questo mazzo?",editDeckName:"Modifica nome del mazzo",signInToUpload:"Accedi per caricare il mazzo",uploadDeckToLor:"Carica mazzo su Legends of Runeterra",deckUploaded:"Mazzo caricato!",updatePrivacy:"Aggiorna privacy del mazzo",deckPrivate:"Attualmente privato",deckPublic:"Attualmente pubblico",openInDeckBuilder:"Apri nel costruttore di mazzi",numManaCards:"{num} carte mana",simulateMulligan:"Simula Mulligan",replaceAllCards:"Sostituisci tutte le carte",replaceSelectedCards:"Sostituisci carte selezionate",personalCost:"Costo personale",originalCost:"Costo originale",openArchetypePage:"Apri pagina archetipo",shareDeck:"Condividi mazzo",showPreview:"Mostra anteprima del mazzo"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`Esiste già un mazzo con questo nome.
|
|
39
|
+
Pas d’inquiétude, vous pouvez en gagner avec les méthodes ci-dessous !`,cards:{option1:"Connectez-vous à LOR.GG chaque semaine pour recevoir 10 paquets de cartes.",option2:"À chaque synchronisation, vos 20 derniers matchs sont téléversés. Gagnez 1 paquet pour 2 matchs synchronisés !",option3:"Marre d’attendre la carte parfaite ? Passez en premium et utilisez n’importe quelle carte comme icône ou bannière !"}},settings:{privacy:"Confidentialité",privateProfile:"Profil privé",privateProfileDesc:"En activant cette option, vos informations ne seront pas visibles. Les decks publics resteront affichés.",email:"E-mail",resendVerification:"Renvoyer la vérification",account:"Compte",payment:"Paiement",personalization:"Personnalisation",images:"Images",banner:"Bannière",bannerDesc:"Les bannières sont obtenues via l’onglet « Paquets de cartes ». Elles apparaissent sur le profil et le classement.",bannerDescPremium:"Avec le premium, vous pouvez utiliser n’importe quelle carte comme bannière.",icon:"Icône",iconDesc:"Les icônes sont obtenues via l’onglet « Paquets de cartes ». Elles apparaissent sur votre profil.",iconDescPremium:"Avec le premium, vous pouvez utiliser n’importe quelle carte comme icône.",color:"Couleur",colorDesc:"Démarquez-vous avec votre couleur préférée. Visible partout où votre bannière apparaît.",colorDescPremium:"La couleur ne peut être sélectionnée que si vous êtes un utilisateur premium."},general:{manaCost:"Coût en mana",cost:"Coût",regions:"Régions",clear:"Effacer",clearAll:"Tout effacer",copy:"Copier",patch:"Patch",matches:"Matchs",wins:"Victoires",losses:"Défaites",winrate:"Taux de victoire",quantity:"Quantité",round:"Manche",total:"Total",champion:"Champion",follower:"Allié",spell:"Sort",landmark:"Monument",equipment:"Équipement",champions:"Champions",followers:"Alliés",spells:"Sorts",landmarks:"Monuments",equipments:"Équipement",statistics:"Statistiques",advanced:"Avancé",newAdvancedFilter:"Nouveau filtre avancé",types:"Types",rarities:"Raretés",sets:"Extensions",keywords:"Mots-clés",pastDays:"{count} derniers jours",pastHours:"{count} dernières heures",pastHour:"Dernière heure",season:"Saison",servers:"Serveurs",sampleSize:"Taille de l’échantillon",minimumMatches:"Matchs minimum",ranks:"Rangs",allRanks:"Tous les rangs",platPlus:"Platinium+",deck:"Deck",manaCurve:"Courbe de mana",name:"Nom",updated:"Mis à jour",created:"Créé",card:"Carte",cards:"Cartes",inclusion:"Inclusion",avgCopies:"Copies moy.",turnsHeld:"Tours en main",mulliganWinrate:"WR Mulligan",keptInMulligan:"Gardée au Mulligan",drawnWinrate:"Taux de victoire en main",turnPlayed:"Tour joué",playrate:"Taux d’utilisation",deckDifferences:"Différences de deck",player:"Joueur",lp:"LP",change:"Changement",favoriteDeck:"Deck favori",server:"Serveur",players:"Joueurs",time:"Temps",type:"Type",rarity:"Rareté",archetypes:"Archétypes",archetype:"Archétype",profile:"Profil",leaderboard:"Classement",victory:"Victoire",defeat:"Défaite",newCards:"Nouvelles cartes",signIn:"Connexion",syncUserData:"Synchroniser les données",settings:"Paramètres",gamesPlayed:"Parties jouées",premium:"Premium",renews:"Renouvelle",expires:"Expire",getPremium:"Passer Premium !",becomeTheMaster:"Devenez le maître",format:"Format",otherFormats:"Autres formats",queues:"Files",save:"Enregistrer",captureImage:"Capturer l’image",deckCode:"Code du deck",library:"Bibliothèque",openCards:"Ouvrir des paquets",attackingFirst:"Attaque en premier",attackingSecond:"Attaque en second",overall:"Global",list:"Liste",graph:"Graphique",decks:"Decks",popularityTimeline:"Évolution de la popularité",overallWinrate:"Taux de victoire global",deckLibrary:"Bibliothèque de decks",deckBuilder:"Constructeur de decks",inclusionTimeline:"Évolution de l’inclusion",winrateTimeline:"Évolution du winrate",winrateByGamesPlayed:"Winrate par parties jouées",meta:"Méta",youHave:"Vous avez : ",holdShiftForAssociated:"Maintenez Shift pour voir les cartes associées",cardArt:"Illustration de la carte",regionDistribution:"Répartition par région",noResults:"Aucun résultat",tryAgain:"Ajustez les filtres et réessayez.",createdAt:"Créé le",updatedAt:"Mis à jour le",page:"Page",deckStats:"Statistiques du deck",cardStats:"Statistiques de la carte",cardGallery:"Galerie de cartes",close:"Fermer",overwrite:"Écraser",rename:"Renommer",view:"Voir",mustBeLoggedIn:"Vous devez être connecté pour effectuer cette action.",uploadFailed:"Échec du téléversement",successfullyUploaded:"Téléversement réussi",cardLottery:"Loterie de cartes",confirm:"Confirmer",verified:"Vérifié",notVerified:"Non vérifié",patches:"Patches",seasons:"Saisons",premiumBarrier:"Vous devez être premium pour accéder à ces filtres.",verificationEmailSent:"E-mail de vérification envoyé.",updateEmail:"Mettre à jour l’e-mail",text:"Texte",syncingInProgress:"Synchronisation en cours",matchRecord:"Historique des matchs",gameRecord:"Historique des parties",vs:"vs",game:"Partie",tie:"Égalité",submit:"Envoyer",attackTokenOddsWr:"Jeton d'attaque : Cote de taux de victoire",attackTokenEvensWr:"Jeton d'attaque : Taux de victoire pairs",current:"Actuel"},descriptions:{deckDecks:'Trouvez des decks similaires à "{title}" pour des options de jeu variées.',meta:"Restez à jour avec le méta en constante évolution dans Legends of Runeterra. Obtenez des informations sur les meilleures stratégies et decks."},landing:{tagLine:"Tracez votre chemin vers la victoire",newCards:{title:"Nouvelles Cartes",navigation:"Suivi des révélations"},builtDecks:{title:"Decks Créés par les Utilisateurs",navigation:"Bibliothèque de Decks"},deckBuilder:{title:"Constructeur",navigation:"Constructeur de Deck"},leaderboard:{title:"Tableau des classements",navigation:"Classement"},meta:{title:"Archétypes",navigation:"Méta"},decks:{title:"Decks",navigation:"Decks"},cards:{title:"Cartes",navigation:"Statistiques des cartes"}},tournament:{standings:"Classements",oppWinrate:"Taux de victoire des adversaires",oppGameWinrate:"Taux de victoire des adversaires",gameWinrate:"Pourcentage de Victoire",admin:{editMatchWinner:"Modifier le gagnant du match",nextRound:{text:"Le tour précédent est terminé. Veuillez passer au tour suivant.",button:"Prochaine Manche"},wrongDeck:{text:"Le joueur {name} a joué un deck qui n'a pas été soumis. Consultez le match dans les Brackets."},start:{text:"Vous pouvez commencer le tournoi maintenant. Cela lancera automatiquement le premier round.",button:"Commencer le tournoi"}},feed:{withdrawal:"Retrait",withdrawalMessage:"Un joueur s'est retiré du tournoi.",signUp:"Nouvelle inscription",matchUpdate:"Mise à jour du match",checkIn:"Enregistrement",adminUpdate:"Mise à jour admin",created:"Tournament Créé",createdMessage:"Le tournoi a été créé.",roundStarted:"Tour commençé",roundStartedMessage:"Une nouvelle manche a commencé."},timeline:{registration:{title:"Inscription",description:"L'inscription au tournoi est ouverte. Inscrivez-vous maintenant !"},checkIn:{title:"Enregistrement"},start:{title:"Commencer",description:"Le tournoi a commencé !"},end:{title:"Conclu",description:"Le tournoi est terminé."}},prompt:{checkedIn:{text:"Vous êtes enregistré pour le tournoi.",button:"Aller à la page du participant"},registered:{text:"Vous êtes inscrit au tournoi.",button:"Enregistrer"},signUp:{text:"Inscrivez-vous pour participer à ce tournoi.",button:"Inscription"}},errors:{notLoggedIn:"Vous devez être connecté pour vous inscrire à un tournoi."},decksSubmission:{heading:"Soumission de Decks",description:"Soumettez vos decks pour le tournoi.",submitDecks:"Soumettre des decks",decksAreDue:"Les decks sont dus"},participant:{banDecks:{heading:"Interdire les decks",submit:"Soumettre l'interdiction | Soumettre les interdictions"},playMatch:{heading:"Jouer un match"}}},profile:{winrateOverTime:"Taux de victoire au fil du temps",winrateByChampion:"Taux de victoire par champion",winrateByRegion:"Taux de victoire par région",winrateByRoundAttacking:"Taux de victoire par tour d'attaque",winrateAgainstChampion:"Taux de victoire contre le champion",winrateAgainstRegion:"Taux de victoire contre la région",commonOpponents:"Adversaires Communs"},navigation:{searchPlaceholder:"Rechercher des cartes ou des joueurs",subscriptionStatus:"{type} {event} dans {days}j"},ads:{supportLorgg:"Soutenez LOR.GG",disableAdBlock:"Veuillez désactiver le bloqueur de publicités",considerDonating:"Envisagez de faire un don",considerDonatingOr:"Ou envisagez de faire un don",considerPremium:"Ou envisagez Premium",premiumModal:{title:"Soutenez LOR.GG",benefits:{title:"Avantages Premium :",noAds:"Expérience sans publicité",supportDevelopment:"Soutenez le développement continu",exclusiveFeatures:"Accès à des fonctionnalités exclusives"},close:"Fermer",buyPremium:"Obtenez Premium"}},premium:{loading:"Chargement des abonnements...",title:"Abonnements LOR.GG",loginToSubscribe:"Connectez-vous avec Riot pour vous abonner",verifyToSubscribe:"Vérifiez votre e-mail pour vous abonner",verifyHint:"Les actions de paiement sont disponibles après la vérification de l'email.",loadingPaymentUi:"Chargement de l'interface de paiement...",cancelAutoRenew:"Annuler le renouvellement automatique",resumeAutoRenew:"Reprendre le renouvellement automatique",updatePaymentMethod:"Mettre à jour le mode de paiement",cancelCompleted:"Renouvellement automatique désactivé.",resumeCompleted:"Le renouvellement automatique a repris.",subscriptionStatus:"Votre abonnement {event} dans {days} jour(s).",subscriptionEvent:{renews:"renouvelle",cancels:"annule"},errors:{loadPayment:"Impossible de charger l'interface de paiement pour le moment.",loadSubscription:"Impossible de charger les détails de l'abonnement.",cancel:"Échec de l'annulation du renouvellement automatique.",resume:"Échec de la reprise de l'auto-renouvellement."},adFree:{title:"Sans publicité",price:"0,99 $ / mois",changeAction:"Passer à la version sans publicité",feature1:"Supprime les publicités sur tout le site",feature2:"Soutient le développement continu"},premium:{title:"Premium",price:"2,99 $ / mois",changeAction:"Passer à Premium",feature1:"Sans publicité",feature2:"Options de personnalisation",feature3:"Filtrage Avancé",feature4:"Organisez des tournois illimités"}}},r8={cardLottery:{setBanner:"Imposta come banner",setIcon:"Imposta come icona",openAnother:"Apri un altro"},cards:{roundDrawn:"Turno pescato",roundPlayed:"Turno giocato",card:"Carta",cards:"Carte",inclusion:"Inclusione",avgCopies:"Copie medie",mulliganWinrate:"Winrate Mulligan",keptInMulligan:"Tenuta nel Mulligan",drawnWinrate:"Winrate alla pesca",turnPlayed:"Turno giocato",turnsHeld:"Turni in mano",recommendedDecks:"Mazzi consigliati",similarCards:"Carte simili",attack:"Attacco",health:"Salute",quantityOwned:"Quantità posseduta",cost:"Costo"},deck:{copyDeckCode:"Copia codice mazzo",deckCodeCopied:"Codice mazzo copiato",deleteDeck:"Elimina mazzo",deleteDeckConfirmation:"Sei sicuro di voler eliminare questo mazzo?",editDeckName:"Modifica nome del mazzo",signInToUpload:"Accedi per caricare il mazzo",uploadDeckToLor:"Carica mazzo su Legends of Runeterra",deckUploaded:"Mazzo caricato!",updatePrivacy:"Aggiorna privacy del mazzo",deckPrivate:"Attualmente privato",deckPublic:"Attualmente pubblico",openInDeckBuilder:"Apri nel costruttore di mazzi",numManaCards:"{num} carte mana",simulateMulligan:"Simula Mulligan",replaceAllCards:"Sostituisci tutte le carte",replaceSelectedCards:"Sostituisci carte selezionate",personalCost:"Costo personale",originalCost:"Costo originale",openArchetypePage:"Apri pagina archetipo",shareDeck:"Condividi mazzo",showPreview:"Mostra anteprima del mazzo"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`Esiste già un mazzo con questo nome.
|
|
40
40
|
Vuoi sovrascrivere la versione precedente?`,deckCreated:"Mazzo creato",inputDeckCode:"Incolla codice mazzo"},leaderboard:{totalPlayers:"Giocatori totali",lp:"LP",rank:"Posizione",updated:"Aggiornato"},personalization:{noGiftsAvailable:"Nessun pacchetto disponibile",noGiftsAvailableDesc:`Oh no!
|
|
41
41
|
Hai finito i pacchetti di carte!
|
|
42
|
-
Niente paura, puoi ottenerne altri con i metodi qui sotto!`,cards:{option1:"Accedi a LOR.GG ogni settimana per ricevere 10 pacchetti di carte.",option2:"Ogni sincronizzazione carica le tue ultime 20 partite. Ottieni 1 pacchetto ogni 2 partite sincronizzate!",option3:"Stanco di aspettare la carta perfetta? Passa a premium e usa qualsiasi carta come icona o banner!"}},settings:{privacy:"Privacy",privateProfile:"Profilo privato",privateProfileDesc:"Attivando questa opzione, i dettagli del profilo non saranno visibili. I mazzi pubblici resteranno mostrati.",email:"Email",resendVerification:"Reinvia verifica",account:"Account",payment:"Pagamento",personalization:"Personalizzazione",images:"Immagini",banner:"Banner",bannerDesc:'I banner si ottengono dalla scheda "Pacchetti di carte". Visibili su profilo e classifica.',bannerDescPremium:"Con premium puoi usare qualsiasi carta come banner.",icon:"Icona",iconDesc:'Le icone si ottengono dalla scheda "Pacchetti di carte". Visibili sul tuo profilo.',iconDescPremium:"Con premium puoi usare qualsiasi carta come icona.",color:"Colore",colorDesc:"Distinguiti con il tuo colore preferito. Visibile ovunque compaia il tuo banner.",colorDescPremium:"Il colore è disponibile solo per utenti premium."},general:{manaCost:"Costo mana",cost:"Costo",regions:"Regioni",clear:"Cancella",clearAll:"Cancella tutto",copy:"Copia",patch:"Patch",matches:"Partite",wins:"Vittorie",losses:"Sconfitte",winrate:"Winrate",quantity:"Quantità",round:"Turno",total:"Totale",champion:"Campione",follower:"Seguace",spell:"Incantesimo",landmark:"Punto di riferimento",equipment:"Equipaggiamento",champions:"Campioni",followers:"Seguaci",spells:"Incantesimi",landmarks:"Punti di riferimento",equipments:"Equipaggiamento",statistics:"Statistiche",advanced:"Avanzato",newAdvancedFilter:"Nuovo filtro avanzato",types:"Tipi",rarities:"Rarità",sets:"Set",keywords:"Parole chiave",pastDays:"Ultimi {count} giorni",pastHours:"Ultime {count} ore",pastHour:"Ultima ora",season:"Stagione",servers:"Server",sampleSize:"Dimensione campione",minimumMatches:"Partite minime",ranks:"Gradi",allRanks:"Tutti i gradi",platPlus:"Platino+",deck:"Mazzo",manaCurve:"Curva di mana",name:"Nome",updated:"Aggiornato",created:"Creato",card:"Carta",cards:"Carte",inclusion:"Inclusione",avgCopies:"Copie medie",turnsHeld:"Turni in mano",mulliganWinrate:"WR Mulligan",keptInMulligan:"Tenuta nel Mulligan",drawnWinrate:"Winrate alla pesca",turnPlayed:"Turno giocato",playrate:"Tasso di utilizzo",deckDifferences:"Differenze del mazzo",player:"Giocatore",lp:"LP",change:"Variazione",favoriteDeck:"Mazzo preferito",server:"Server",players:"Giocatori",time:"Tempo",type:"Tipo",rarity:"Rarità",archetypes:"Archetipi",archetype:"Archetipo",profile:"Profilo",leaderboard:"Classifica",victory:"Vittoria",defeat:"Sconfitta",newCards:"Nuove carte",signIn:"Accedi",syncUserData:"Sincronizza dati utente",settings:"Impostazioni",gamesPlayed:"Partite giocate",premium:"Premium",renews:"Rinnova",expires:"Scade",getPremium:"Ottieni Premium!",becomeTheMaster:"Diventa il maestro",format:"Formato",otherFormats:"Altri formati",queues:"Code",save:"Salva",captureImage:"Cattura immagine",deckCode:"Codice mazzo",library:"Libreria",openCards:"Apri pacchetti",attackingFirst:"Attacca per primo",attackingSecond:"Attacca per secondo",overall:"Generale",list:"Lista",graph:"Grafico",decks:"Mazzi",popularityTimeline:"Andamento popolarità",overallWinrate:"Winrate complessivo",deckLibrary:"Libreria mazzi",deckBuilder:"Costruttore di mazzi",inclusionTimeline:"Andamento inclusione",winrateTimeline:"Andamento winrate",winrateByGamesPlayed:"Winrate per partite giocate",meta:"Meta",youHave:"Hai: ",holdShiftForAssociated:"Tieni premuto Shift per vedere le carte associate",cardArt:"Illustrazione della carta",regionDistribution:"Distribuzione per regione",noResults:"Nessun risultato",tryAgain:"Modifica i filtri e riprova.",createdAt:"Creato il",updatedAt:"Aggiornato il",page:"Pagina",deckStats:"Statistiche del mazzo",cardStats:"Statistiche della carta",cardGallery:"Galleria carte",close:"Chiudi",overwrite:"Sovrascrivi",rename:"Rinomina",view:"Visualizza",mustBeLoggedIn:"Devi effettuare l’accesso per completare questa azione.",uploadFailed:"Caricamento fallito",successfullyUploaded:"Caricato con successo",cardLottery:"Lotteria di carte",confirm:"Conferma",verified:"Verificato",notVerified:"Non verificato",patches:"Patch",seasons:"Stagioni",premiumBarrier:"Devi essere un utente premium per accedere a questi filtri.",verificationEmailSent:"Email di verifica inviata.",updateEmail:"Aggiorna email",text:"Testo",syncingInProgress:"Sincronizzazione in corso",matchRecord:"Storico partite",gameRecord:"Storico giochi",vs:"vs",game:"Partita",tie:"Pareggio",submit:"Invia",attackTokenOddsWr:"Token d'Attacco: Odds Winrate",attackTokenEvensWr:"Token d'Attacco: Winrate Pari"},descriptions:{deckDecks:'Trova mazzi simili a "{title}" per opzioni di gioco variegate.',meta:"Rimani aggiornato con il meta in continua evoluzione di Legends of Runeterra. Ottieni informazioni sulle migliori strategie e mazzi."},landing:{tagLine:"Traccia il tuo cammino verso la vittoria",newCards:{title:"Nuove Carte",navigation:"Tracker Rivelato"},builtDecks:{title:"Deck Creati dagli Utenti",navigation:"Biblioteca dei Deck"},deckBuilder:{title:"Costruttore",navigation:"Costruttore di Mazzi"},leaderboard:{title:"Classifica",navigation:"Classifica"},meta:{title:"Archetipi",navigation:"Meta"},decks:{title:"Mazze",navigation:"Mazze"},cards:{title:"Carte",navigation:"Statistiche delle Carte"}},tournament:{standings:"Classifiche",oppWinrate:"Winrate degli avversari",oppGameWinrate:"Winrate di Gioco degli Avversari",gameWinrate:"Percentuale di Vittoria",admin:{editMatchWinner:"Modifica Vincitore della Partita",nextRound:{text:"Il turno precedente è concluso. Procedi al turno successivo.",button:"Prossimo Turno"},wrongDeck:{text:"Il giocatore {name} ha utilizzato un mazzo che non è stato inviato. Rivedi la partita nei Brackets."},start:{text:"Puoi avviare il torneo ora. Questo avvierà automaticamente il primo turno.",button:"Inizia Torneo"}},feed:{withdrawal:"Ritiro",withdrawalMessage:"Un giocatore si è ritirato dal torneo.",signUp:"Nuova Registrazione",matchUpdate:"Aggiornamento partita",checkIn:"Registrati",adminUpdate:"Aggiornamento Admin",created:"Torneo Creato",createdMessage:"Il torneo è stato creato.",roundStarted:"Round Iniziato",roundStartedMessage:"È iniziato un nuovo turno."},timeline:{registration:{title:"Registrazione",description:"La registrazione per il torneo è aperta. Iscriviti ora!"},checkIn:{title:"Registrati"},start:{title:"Inizio",description:"Il torneo è iniziato!"},end:{title:"Concluso",description:"Il torneo è concluso."}},prompt:{checkedIn:{text:"Hai effettuato il check-in per il torneo.",button:"Vai alla Pagina del Partecipante"},registered:{text:"Hai completato la registrazione per il torneo.",button:"Registrati"},signUp:{text:"Iscriviti per partecipare a questo torneo.",button:"Iscriviti"}},errors:{notLoggedIn:"Devi essere connesso per iscriverti a un torneo."},decksSubmission:{heading:"Invio dei Mazzi",description:"Invia i tuoi mazzi per il torneo.",submitDecks:"Invia Mazzi",decksAreDue:"I mazzi sono dovuti"},participant:{banDecks:{heading:"Deck da Bandire",submit:"Invia Divieto | Invia Divieti"},playMatch:{heading:"Gioca Partita"}}},profile:{winrateOverTime:"Winrate nel Tempo",winrateByChampion:"Percentuale di vittoria per Campione",winrateByRegion:"Winrate per Regione",winrateByRoundAttacking:"Percentuale di Vittoria per Turno Attaccante",winrateAgainstChampion:"Percentuale di Vittoria Contro il Campione",winrateAgainstRegion:"Percentuale di Vittoria contro la Regione",commonOpponents:"Avversari Comuni"},navigation:{searchPlaceholder:"Cerca Carte o Giocatori",subscriptionStatus:"{type} {event} in {days}d"},ads:{supportLorgg:"Supporta LOR.GG",disableAdBlock:"Per favore disabilita Ad Block",considerDonating:"Considera di fare una donazione",considerDonatingOr:"Oppure considera di donare",considerPremium:"Oppure considera Premium",premiumModal:{title:"Supporta LOR.GG",benefits:{title:"Vantaggi Premium:",noAds:"Esperienza senza pubblicità",supportDevelopment:"Sostieni lo sviluppo continuo",exclusiveFeatures:"Accesso a funzionalità esclusive"},close:"Chiudi",buyPremium:"Acquista Premium"}},premium:{loading:"Caricamento abbonamenti...",title:"Abbonamenti LOR.GG",loginToSubscribe:"Accedi con Riot per Iscriverti",verifyToSubscribe:"Verifica l'email per iscriverti",verifyHint:"Le azioni di pagamento sono disponibili dopo la verifica dell'email.",loadingPaymentUi:"Caricamento interfaccia di pagamento...",cancelAutoRenew:"Annulla rinnovo automatico",resumeAutoRenew:"Riprendi il rinnovo automatico",updatePaymentMethod:"Aggiorna Metodo di Pagamento",cancelCompleted:"Rinnovo automatico disabilitato.",resumeCompleted:"Il rinnovo automatico è ripreso.",subscriptionStatus:"La tua abbonamento {event} tra {days} giorno(i).",subscriptionEvent:{renews:"si rinnova",cancels:"annulla"},errors:{loadPayment:"Impossibile caricare l'interfaccia di pagamento in questo momento.",loadSubscription:"Impossibile caricare i dettagli dell'abbonamento.",cancel:"Impossibile annullare il rinnovo automatico.",resume:"Impossibile riprendere il rinnovo automatico."},adFree:{title:"Senze Pubblicità",price:"€0,99 / mese",changeAction:"Passa a Senza Pubblicità",feature1:"Rimuove gli annunci su tutto il sito",feature2:"Sostiene lo Sviluppo Continuo"},premium:{title:"Premium",price:"€2,99 / mese",changeAction:"Passa a Premium",feature1:"Senze pubblicità",feature2:"Opzioni di Personalizzazione",feature3:"Filtraggio Avanzato",feature4:"Organizza Tornei Illimitati"}}},a8={cardLottery:{setBanner:"バナーに設定",setIcon:"アイコンに設定",openAnother:"もう一つ開く"},cards:{roundDrawn:"引いたラウンド",roundPlayed:"プレイしたラウンド",card:"カード",cards:"カード",inclusion:"採用率",avgCopies:"平均枚数",mulliganWinrate:"マリガン勝率",keptInMulligan:"マリガン保持率",drawnWinrate:"ドロー勝率",turnPlayed:"プレイしたターン",turnsHeld:"保持ターン数",recommendedDecks:"おすすめデッキ",similarCards:"類似カード",attack:"攻撃力",health:"体力",quantityOwned:"所持数",cost:"コスト"},deck:{copyDeckCode:"デッキコードをコピー",deckCodeCopied:"デッキコードをコピーしました",deleteDeck:"デッキを削除",deleteDeckConfirmation:"このデッキを削除してもよろしいですか?",editDeckName:"デッキ名を編集",signInToUpload:"デッキをアップロードするにはログインしてください",uploadDeckToLor:"Legends of Runeterra にデッキをアップロード",deckUploaded:"デッキをアップロードしました!",updatePrivacy:"公開設定を更新",deckPrivate:"現在:非公開",deckPublic:"現在:公開",openInDeckBuilder:"デッキビルダーで開く",numManaCards:"{num} マナカード",simulateMulligan:"マリガンをシミュレート",replaceAllCards:"すべてのカードを置換",replaceSelectedCards:"選択したカードを置換",personalCost:"個人コスト",originalCost:"元のコスト",openArchetypePage:"アーキタイプページを開く",shareDeck:"デッキを共有",showPreview:"デッキプレビューを表示"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`同じ名前のデッキが既に存在します。
|
|
42
|
+
Niente paura, puoi ottenerne altri con i metodi qui sotto!`,cards:{option1:"Accedi a LOR.GG ogni settimana per ricevere 10 pacchetti di carte.",option2:"Ogni sincronizzazione carica le tue ultime 20 partite. Ottieni 1 pacchetto ogni 2 partite sincronizzate!",option3:"Stanco di aspettare la carta perfetta? Passa a premium e usa qualsiasi carta come icona o banner!"}},settings:{privacy:"Privacy",privateProfile:"Profilo privato",privateProfileDesc:"Attivando questa opzione, i dettagli del profilo non saranno visibili. I mazzi pubblici resteranno mostrati.",email:"Email",resendVerification:"Reinvia verifica",account:"Account",payment:"Pagamento",personalization:"Personalizzazione",images:"Immagini",banner:"Banner",bannerDesc:'I banner si ottengono dalla scheda "Pacchetti di carte". Visibili su profilo e classifica.',bannerDescPremium:"Con premium puoi usare qualsiasi carta come banner.",icon:"Icona",iconDesc:'Le icone si ottengono dalla scheda "Pacchetti di carte". Visibili sul tuo profilo.',iconDescPremium:"Con premium puoi usare qualsiasi carta come icona.",color:"Colore",colorDesc:"Distinguiti con il tuo colore preferito. Visibile ovunque compaia il tuo banner.",colorDescPremium:"Il colore è disponibile solo per utenti premium."},general:{manaCost:"Costo mana",cost:"Costo",regions:"Regioni",clear:"Cancella",clearAll:"Cancella tutto",copy:"Copia",patch:"Patch",matches:"Partite",wins:"Vittorie",losses:"Sconfitte",winrate:"Winrate",quantity:"Quantità",round:"Turno",total:"Totale",champion:"Campione",follower:"Seguace",spell:"Incantesimo",landmark:"Punto di riferimento",equipment:"Equipaggiamento",champions:"Campioni",followers:"Seguaci",spells:"Incantesimi",landmarks:"Punti di riferimento",equipments:"Equipaggiamento",statistics:"Statistiche",advanced:"Avanzato",newAdvancedFilter:"Nuovo filtro avanzato",types:"Tipi",rarities:"Rarità",sets:"Set",keywords:"Parole chiave",pastDays:"Ultimi {count} giorni",pastHours:"Ultime {count} ore",pastHour:"Ultima ora",season:"Stagione",servers:"Server",sampleSize:"Dimensione campione",minimumMatches:"Partite minime",ranks:"Gradi",allRanks:"Tutti i gradi",platPlus:"Platino+",deck:"Mazzo",manaCurve:"Curva di mana",name:"Nome",updated:"Aggiornato",created:"Creato",card:"Carta",cards:"Carte",inclusion:"Inclusione",avgCopies:"Copie medie",turnsHeld:"Turni in mano",mulliganWinrate:"WR Mulligan",keptInMulligan:"Tenuta nel Mulligan",drawnWinrate:"Winrate alla pesca",turnPlayed:"Turno giocato",playrate:"Tasso di utilizzo",deckDifferences:"Differenze del mazzo",player:"Giocatore",lp:"LP",change:"Variazione",favoriteDeck:"Mazzo preferito",server:"Server",players:"Giocatori",time:"Tempo",type:"Tipo",rarity:"Rarità",archetypes:"Archetipi",archetype:"Archetipo",profile:"Profilo",leaderboard:"Classifica",victory:"Vittoria",defeat:"Sconfitta",newCards:"Nuove carte",signIn:"Accedi",syncUserData:"Sincronizza dati utente",settings:"Impostazioni",gamesPlayed:"Partite giocate",premium:"Premium",renews:"Rinnova",expires:"Scade",getPremium:"Ottieni Premium!",becomeTheMaster:"Diventa il maestro",format:"Formato",otherFormats:"Altri formati",queues:"Code",save:"Salva",captureImage:"Cattura immagine",deckCode:"Codice mazzo",library:"Libreria",openCards:"Apri pacchetti",attackingFirst:"Attacca per primo",attackingSecond:"Attacca per secondo",overall:"Generale",list:"Lista",graph:"Grafico",decks:"Mazzi",popularityTimeline:"Andamento popolarità",overallWinrate:"Winrate complessivo",deckLibrary:"Libreria mazzi",deckBuilder:"Costruttore di mazzi",inclusionTimeline:"Andamento inclusione",winrateTimeline:"Andamento winrate",winrateByGamesPlayed:"Winrate per partite giocate",meta:"Meta",youHave:"Hai: ",holdShiftForAssociated:"Tieni premuto Shift per vedere le carte associate",cardArt:"Illustrazione della carta",regionDistribution:"Distribuzione per regione",noResults:"Nessun risultato",tryAgain:"Modifica i filtri e riprova.",createdAt:"Creato il",updatedAt:"Aggiornato il",page:"Pagina",deckStats:"Statistiche del mazzo",cardStats:"Statistiche della carta",cardGallery:"Galleria carte",close:"Chiudi",overwrite:"Sovrascrivi",rename:"Rinomina",view:"Visualizza",mustBeLoggedIn:"Devi effettuare l’accesso per completare questa azione.",uploadFailed:"Caricamento fallito",successfullyUploaded:"Caricato con successo",cardLottery:"Lotteria di carte",confirm:"Conferma",verified:"Verificato",notVerified:"Non verificato",patches:"Patch",seasons:"Stagioni",premiumBarrier:"Devi essere un utente premium per accedere a questi filtri.",verificationEmailSent:"Email di verifica inviata.",updateEmail:"Aggiorna email",text:"Testo",syncingInProgress:"Sincronizzazione in corso",matchRecord:"Storico partite",gameRecord:"Storico giochi",vs:"vs",game:"Partita",tie:"Pareggio",submit:"Invia",attackTokenOddsWr:"Token d'Attacco: Odds Winrate",attackTokenEvensWr:"Token d'Attacco: Winrate Pari",current:"Attuale"},descriptions:{deckDecks:'Trova mazzi simili a "{title}" per opzioni di gioco variegate.',meta:"Rimani aggiornato con il meta in continua evoluzione di Legends of Runeterra. Ottieni informazioni sulle migliori strategie e mazzi."},landing:{tagLine:"Traccia il tuo cammino verso la vittoria",newCards:{title:"Nuove Carte",navigation:"Tracker Rivelato"},builtDecks:{title:"Deck Creati dagli Utenti",navigation:"Biblioteca dei Deck"},deckBuilder:{title:"Costruttore",navigation:"Costruttore di Mazzi"},leaderboard:{title:"Classifica",navigation:"Classifica"},meta:{title:"Archetipi",navigation:"Meta"},decks:{title:"Mazze",navigation:"Mazze"},cards:{title:"Carte",navigation:"Statistiche delle Carte"}},tournament:{standings:"Classifiche",oppWinrate:"Winrate degli avversari",oppGameWinrate:"Winrate di Gioco degli Avversari",gameWinrate:"Percentuale di Vittoria",admin:{editMatchWinner:"Modifica Vincitore della Partita",nextRound:{text:"Il turno precedente è concluso. Procedi al turno successivo.",button:"Prossimo Turno"},wrongDeck:{text:"Il giocatore {name} ha utilizzato un mazzo che non è stato inviato. Rivedi la partita nei Brackets."},start:{text:"Puoi avviare il torneo ora. Questo avvierà automaticamente il primo turno.",button:"Inizia Torneo"}},feed:{withdrawal:"Ritiro",withdrawalMessage:"Un giocatore si è ritirato dal torneo.",signUp:"Nuova Registrazione",matchUpdate:"Aggiornamento partita",checkIn:"Registrati",adminUpdate:"Aggiornamento Admin",created:"Torneo Creato",createdMessage:"Il torneo è stato creato.",roundStarted:"Round Iniziato",roundStartedMessage:"È iniziato un nuovo turno."},timeline:{registration:{title:"Registrazione",description:"La registrazione per il torneo è aperta. Iscriviti ora!"},checkIn:{title:"Registrati"},start:{title:"Inizio",description:"Il torneo è iniziato!"},end:{title:"Concluso",description:"Il torneo è concluso."}},prompt:{checkedIn:{text:"Hai effettuato il check-in per il torneo.",button:"Vai alla Pagina del Partecipante"},registered:{text:"Hai completato la registrazione per il torneo.",button:"Registrati"},signUp:{text:"Iscriviti per partecipare a questo torneo.",button:"Iscriviti"}},errors:{notLoggedIn:"Devi essere connesso per iscriverti a un torneo."},decksSubmission:{heading:"Invio dei Mazzi",description:"Invia i tuoi mazzi per il torneo.",submitDecks:"Invia Mazzi",decksAreDue:"I mazzi sono dovuti"},participant:{banDecks:{heading:"Deck da Bandire",submit:"Invia Divieto | Invia Divieti"},playMatch:{heading:"Gioca Partita"}}},profile:{winrateOverTime:"Winrate nel Tempo",winrateByChampion:"Percentuale di vittoria per Campione",winrateByRegion:"Winrate per Regione",winrateByRoundAttacking:"Percentuale di Vittoria per Turno Attaccante",winrateAgainstChampion:"Percentuale di Vittoria Contro il Campione",winrateAgainstRegion:"Percentuale di Vittoria contro la Regione",commonOpponents:"Avversari Comuni"},navigation:{searchPlaceholder:"Cerca Carte o Giocatori",subscriptionStatus:"{type} {event} in {days}d"},ads:{supportLorgg:"Supporta LOR.GG",disableAdBlock:"Per favore disabilita Ad Block",considerDonating:"Considera di fare una donazione",considerDonatingOr:"Oppure considera di donare",considerPremium:"Oppure considera Premium",premiumModal:{title:"Supporta LOR.GG",benefits:{title:"Vantaggi Premium:",noAds:"Esperienza senza pubblicità",supportDevelopment:"Sostieni lo sviluppo continuo",exclusiveFeatures:"Accesso a funzionalità esclusive"},close:"Chiudi",buyPremium:"Acquista Premium"}},premium:{loading:"Caricamento abbonamenti...",title:"Abbonamenti LOR.GG",loginToSubscribe:"Accedi con Riot per Iscriverti",verifyToSubscribe:"Verifica l'email per iscriverti",verifyHint:"Le azioni di pagamento sono disponibili dopo la verifica dell'email.",loadingPaymentUi:"Caricamento interfaccia di pagamento...",cancelAutoRenew:"Annulla rinnovo automatico",resumeAutoRenew:"Riprendi il rinnovo automatico",updatePaymentMethod:"Aggiorna Metodo di Pagamento",cancelCompleted:"Rinnovo automatico disabilitato.",resumeCompleted:"Il rinnovo automatico è ripreso.",subscriptionStatus:"La tua abbonamento {event} tra {days} giorno(i).",subscriptionEvent:{renews:"si rinnova",cancels:"annulla"},errors:{loadPayment:"Impossibile caricare l'interfaccia di pagamento in questo momento.",loadSubscription:"Impossibile caricare i dettagli dell'abbonamento.",cancel:"Impossibile annullare il rinnovo automatico.",resume:"Impossibile riprendere il rinnovo automatico."},adFree:{title:"Senze Pubblicità",price:"€0,99 / mese",changeAction:"Passa a Senza Pubblicità",feature1:"Rimuove gli annunci su tutto il sito",feature2:"Sostiene lo Sviluppo Continuo"},premium:{title:"Premium",price:"€2,99 / mese",changeAction:"Passa a Premium",feature1:"Senze pubblicità",feature2:"Opzioni di Personalizzazione",feature3:"Filtraggio Avanzato",feature4:"Organizza Tornei Illimitati"}}},a8={cardLottery:{setBanner:"バナーに設定",setIcon:"アイコンに設定",openAnother:"もう一つ開く"},cards:{roundDrawn:"引いたラウンド",roundPlayed:"プレイしたラウンド",card:"カード",cards:"カード",inclusion:"採用率",avgCopies:"平均枚数",mulliganWinrate:"マリガン勝率",keptInMulligan:"マリガン保持率",drawnWinrate:"ドロー勝率",turnPlayed:"プレイしたターン",turnsHeld:"保持ターン数",recommendedDecks:"おすすめデッキ",similarCards:"類似カード",attack:"攻撃力",health:"体力",quantityOwned:"所持数",cost:"コスト"},deck:{copyDeckCode:"デッキコードをコピー",deckCodeCopied:"デッキコードをコピーしました",deleteDeck:"デッキを削除",deleteDeckConfirmation:"このデッキを削除してもよろしいですか?",editDeckName:"デッキ名を編集",signInToUpload:"デッキをアップロードするにはログインしてください",uploadDeckToLor:"Legends of Runeterra にデッキをアップロード",deckUploaded:"デッキをアップロードしました!",updatePrivacy:"公開設定を更新",deckPrivate:"現在:非公開",deckPublic:"現在:公開",openInDeckBuilder:"デッキビルダーで開く",numManaCards:"{num} マナカード",simulateMulligan:"マリガンをシミュレート",replaceAllCards:"すべてのカードを置換",replaceSelectedCards:"選択したカードを置換",personalCost:"個人コスト",originalCost:"元のコスト",openArchetypePage:"アーキタイプページを開く",shareDeck:"デッキを共有",showPreview:"デッキプレビューを表示"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`同じ名前のデッキが既に存在します。
|
|
43
43
|
以前のバージョンを上書きしますか?`,deckCreated:"デッキを作成しました",inputDeckCode:"デッキコードを貼り付け"},leaderboard:{totalPlayers:"総プレイヤー数",lp:"LP",rank:"ランク",updated:"更新日"},personalization:{noGiftsAvailable:"カードパックがありません",noGiftsAvailableDesc:`あらら!
|
|
44
44
|
カードパックがなくなりました!
|
|
45
|
-
下の方法でさらに獲得できます!`,cards:{option1:"毎週 LOR.GG にログインすると、カードパックを10個獲得できます。",option2:"データを同期すると直近20試合がアップロードされます。2試合ごとにカードパックを1つ獲得!",option3:"理想のカードを待つのに疲れましたか?プレミアムにアップグレードして、任意のカードをアイコンやバナーに設定しましょう!"}},settings:{privacy:"プライバシー",privateProfile:"非公開プロフィール",privateProfileDesc:"有効にすると、プロフィール情報は他のユーザーに表示されません。公開設定のデッキは引き続き表示されます。",email:"メールアドレス",resendVerification:"確認メールを再送",account:"アカウント",payment:"支払い",personalization:"カスタマイズ",images:"画像",banner:"バナー",bannerDesc:"バナーはナビゲーションの「カードパック」タブから入手できます。ランキングやプロフィールに表示されます。",bannerDescPremium:"プレミアムでは任意のカードをバナーに設定できます。",icon:"アイコン",iconDesc:"アイコンは「カードパック」タブから入手できます。プロフィールに表示されます。",iconDescPremium:"プレミアムでは任意のカードをアイコンに設定できます。",color:"カラー",colorDesc:"お気に入りの色で個性を表現できます。バナーが表示される場所すべてに反映されます。",colorDescPremium:"カラー選択はプレミアムユーザー限定です。"},general:{manaCost:"マナコスト",cost:"コスト",regions:"地域",clear:"クリア",clearAll:"すべてクリア",copy:"コピー",patch:"パッチ",matches:"試合数",wins:"勝利",losses:"敗北",winrate:"勝率",quantity:"数量",round:"ラウンド",total:"合計",champion:"チャンピオン",follower:"フォロワー",spell:"スペル",landmark:"ランドマーク",equipment:"装備",champions:"チャンピオン",followers:"フォロワー",spells:"スペル",landmarks:"ランドマーク",equipments:"装備",statistics:"統計",advanced:"詳細",newAdvancedFilter:"新しい詳細フィルター",types:"タイプ",rarities:"レアリティ",sets:"セット",keywords:"キーワード",pastDays:"過去 {count} 日間",pastHours:"過去 {count} 時間",pastHour:"過去1時間",season:"シーズン",servers:"サーバー",sampleSize:"サンプル数",minimumMatches:"最小試合数",ranks:"ランク",allRanks:"全ランク",platPlus:"プラチナ以上",deck:"デッキ",manaCurve:"マナカーブ",name:"名前",updated:"更新日",created:"作成日",card:"カード",cards:"カード",inclusion:"採用率",avgCopies:"平均枚数",turnsHeld:"保持ターン数",mulliganWinrate:"マリガン勝率",keptInMulligan:"マリガン保持",drawnWinrate:"ドロー勝率",turnPlayed:"プレイターン",playrate:"使用率",deckDifferences:"デッキ差分",player:"プレイヤー",lp:"LP",change:"変動",favoriteDeck:"お気に入りデッキ",server:"サーバー",players:"プレイヤー",time:"時間",type:"タイプ",rarity:"レアリティ",archetypes:"アーキタイプ",archetype:"アーキタイプ",profile:"プロフィール",leaderboard:"ランキング",victory:"勝利",defeat:"敗北",newCards:"新カード",signIn:"ログイン",syncUserData:"ユーザーデータを同期",settings:"設定",gamesPlayed:"プレイした試合",premium:"プレミアム",renews:"更新",expires:"有効期限",getPremium:"プレミアムを取得!",becomeTheMaster:"マスターになろう",format:"フォーマット",otherFormats:"他のフォーマット",queues:"キュー",save:"保存",captureImage:"画像を保存",deckCode:"デッキコード",library:"ライブラリ",openCards:"カードパックを開く",attackingFirst:"先攻",attackingSecond:"後攻",overall:"全体",list:"リスト",graph:"グラフ",decks:"デッキ",popularityTimeline:"人気推移",overallWinrate:"総合勝率",deckLibrary:"デッキライブラリ",deckBuilder:"デッキビルダー",inclusionTimeline:"採用率推移",winrateTimeline:"勝率推移",winrateByGamesPlayed:"試合数別勝率",meta:"メタ",youHave:"所持数:",holdShiftForAssociated:"Shiftキーを押すと関連カードを表示",cardArt:"カードアート",regionDistribution:"地域分布",noResults:"結果なし",tryAgain:"フィルターを調整して再試行してください。",createdAt:"作成日",updatedAt:"更新日",page:"ページ",deckStats:"デッキ統計",cardStats:"カード統計",cardGallery:"カードギャラリー",close:"閉じる",overwrite:"上書き",rename:"名前を変更",view:"表示",mustBeLoggedIn:"この操作を行うにはログインが必要です。",uploadFailed:"アップロード失敗",successfullyUploaded:"正常にアップロードされました",cardLottery:"カード抽選",confirm:"確認",verified:"確認済み",notVerified:"未確認",patches:"パッチ",seasons:"シーズン",premiumBarrier:"これらのフィルターを使用するにはプレミアムが必要です。",verificationEmailSent:"確認メールを送信しました。",updateEmail:"メールを更新",text:"テキスト",syncingInProgress:"同期中",matchRecord:"試合成績",gameRecord:"ゲーム成績",vs:"vs",game:"ゲーム",tie:"引き分け",submit:"送信",attackTokenOddsWr:"攻撃トークン: 勝率のオッズ",attackTokenEvensWr:"攻撃トークン: 偶数の勝率"},descriptions:{deckDecks:"{title} に似たデッキを見つけて、さまざまなプレイオプションを楽しもう。",meta:"レジェンド・オブ・ルーンテラの常に進化するメタに最新情報を保ちましょう。トップ戦略やデッキについての洞察を得ることができます。"},landing:{tagLine:"勝利への道を切り開け",newCards:{title:"新しいカード",navigation:"リビールトラッカー"},builtDecks:{title:"ユーザー作成デッキ",navigation:"デッキライブラリ"},deckBuilder:{title:"ビルダー",navigation:"デッキビルダー"},leaderboard:{title:"リーダーボード",navigation:"リーダーボード"},meta:{title:"アーキタイプ",navigation:"メタ"},decks:{title:"デッキ",navigation:"デッキ"},cards:{title:"カード",navigation:"カード統計"}},tournament:{standings:"順位",oppWinrate:"対戦相手の勝率",oppGameWinrate:"対戦相手のゲーム勝率",gameWinrate:"ゲーム勝率",admin:{editMatchWinner:"試合の勝者を編集",nextRound:{text:"前のラウンドが終了しました。次のラウンドに進んでください。",button:"次のラウンド"},wrongDeck:{text:"プレイヤー {name} は提出されていないデッキを使用しました。ブランケットで試合を確認してください。"},start:{text:"今すぐトーナメントを開始できます。これにより、自動的に最初のラウンドが始まります。",button:"トーナメントを開始"}},feed:{withdrawal:"撤回",withdrawalMessage:"プレイヤーがトーナメントから撤退しました。",signUp:"新規サインアップ",matchUpdate:"試合更新",checkIn:"チェックイン",adminUpdate:"管理者の更新",created:"トーナメントが作成されました",createdMessage:"トーナメントが作成されました。",roundStarted:"ラウンド開始",roundStartedMessage:"新しいラウンドが始まりました。"},timeline:{registration:{title:"登録",description:"トーナメントの登録はオープンです。今すぐサインアップしてください!"},checkIn:{title:"チェックイン"},start:{title:"開始",description:"トーナメントが始まりました!"},end:{title:"終了",description:"トーナメントは終了しました。"}},prompt:{checkedIn:{text:"トーナメントにチェックインしました。",button:"参加者ページへ移動"},registered:{text:"トーナメントに登録されました。",button:"チェックイン"},signUp:{text:"このトーナメントに参加するためにサインアップしてください。",button:"サインアップ"}},errors:{notLoggedIn:"トーナメントにサインアップするには、ログインしている必要があります。"},decksSubmission:{heading:"デッキ提出",description:"トーナメント用のデッキを提出してください。",submitDecks:"デッキを提出する",decksAreDue:"デッキの提出期限です"},participant:{banDecks:{heading:"デッキ禁止",submit:"禁止デッキを提出 | 禁止を提出"},playMatch:{heading:"対戦をプレイ"}}},profile:{winrateOverTime:"時間ごとの勝率",winrateByChampion:"チャンピオン別勝率",winrateByRegion:"地域別勝率",winrateByRoundAttacking:"ラウンド攻撃による勝率",winrateAgainstChampion:"チャンピオンに対する勝率",winrateAgainstRegion:"地域に対する勝率",commonOpponents:"共通の対戦相手"},navigation:{searchPlaceholder:"カードまたはプレイヤーを検索",subscriptionStatus:"{type} {event} {days}日以内"},ads:{supportLorgg:"LOR.GGをサポートする",disableAdBlock:"広告ブロックを無効にしてください",considerDonating:"寄付を検討してください",considerDonatingOr:"「または寄付を検討してください」",considerPremium:"「またはプレミアムを検討してください」",premiumModal:{title:"LOR.GGをサポートする",benefits:{title:"プレミアム特典:",noAds:"広告なしの体験",supportDevelopment:"継続的な開発をサポートする",exclusiveFeatures:"限定機能へのアクセス"},close:"閉じる",buyPremium:"プレミアムを取得"}},premium:{loading:"サブスクリプションを読み込み中...",title:"LOR.GG サブスクリプション",loginToSubscribe:"Riotでログインして購読する",verifyToSubscribe:"メールを確認して購読する",verifyHint:"メール確認後に支払いアクションが利用可能になります。",loadingPaymentUi:"支払いUIを読み込んでいます...",cancelAutoRenew:"自動更新をキャンセル",resumeAutoRenew:"自動更新を再開",updatePaymentMethod:"支払い方法を更新",cancelCompleted:"自動更新が無効になりました。",resumeCompleted:"自動更新が再開されました。",subscriptionStatus:"あなたのサブスクリプションは{days}日後に{event}します。",subscriptionEvent:{renews:"更新",cancels:"キャンセル"},errors:{loadPayment:"現在、決済インターフェースを読み込むことができません。",loadSubscription:"サブスクリプションの詳細を読み込めませんでした。",cancel:"自動更新のキャンセルに失敗しました。",resume:"自動更新の再開に失敗しました。"},adFree:{title:"広告なし",price:"$0.99 / 月",changeAction:"広告なしにダウングレード",feature1:"サイト全体の広告を削除します",feature2:"継続的な開発をサポート"},premium:{title:"プレミアム",price:"$2.99 / 月",changeAction:"プレミアムにアップグレード",feature1:"広告なし",feature2:"パーソナライズオプション",feature3:"高度なフィルタリング",feature4:"無制限のトーナメントを整理する"}}},i8={cardLottery:{setBanner:"배너로 설정",setIcon:"아이콘으로 설정",openAnother:"하나 더 열기"},cards:{roundDrawn:"뽑은 라운드",roundPlayed:"플레이한 라운드",card:"카드",cards:"카드",inclusion:"채용률",avgCopies:"평균 장수",mulliganWinrate:"멀리건 승률",keptInMulligan:"멀리건 유지",drawnWinrate:"드로우 승률",turnPlayed:"플레이 턴",turnsHeld:"보유 턴 수",recommendedDecks:"추천 덱",similarCards:"유사 카드",attack:"공격력",health:"체력",quantityOwned:"보유 수량",cost:"비용"},deck:{copyDeckCode:"덱 코드 복사",deckCodeCopied:"덱 코드가 복사되었습니다",deleteDeck:"덱 삭제",deleteDeckConfirmation:"이 덱을 삭제하시겠습니까?",editDeckName:"덱 이름 수정",signInToUpload:"덱을 업로드하려면 로그인하세요",uploadDeckToLor:"Legends of Runeterra에 덱 업로드",deckUploaded:"덱이 업로드되었습니다!",updatePrivacy:"덱 공개 설정 업데이트",deckPrivate:"현재 비공개",deckPublic:"현재 공개",openInDeckBuilder:"덱 빌더에서 열기",numManaCards:"{num} 마나 카드",simulateMulligan:"멀리건 시뮬레이션",replaceAllCards:"모든 카드 교체",replaceSelectedCards:"선택한 카드 교체",personalCost:"개인 비용",originalCost:"원래 비용",openArchetypePage:"아키타입 페이지 열기",shareDeck:"덱 공유",showPreview:"덱 미리보기 표시"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`같은 이름의 덱이 이미 존재합니다.
|
|
45
|
+
下の方法でさらに獲得できます!`,cards:{option1:"毎週 LOR.GG にログインすると、カードパックを10個獲得できます。",option2:"データを同期すると直近20試合がアップロードされます。2試合ごとにカードパックを1つ獲得!",option3:"理想のカードを待つのに疲れましたか?プレミアムにアップグレードして、任意のカードをアイコンやバナーに設定しましょう!"}},settings:{privacy:"プライバシー",privateProfile:"非公開プロフィール",privateProfileDesc:"有効にすると、プロフィール情報は他のユーザーに表示されません。公開設定のデッキは引き続き表示されます。",email:"メールアドレス",resendVerification:"確認メールを再送",account:"アカウント",payment:"支払い",personalization:"カスタマイズ",images:"画像",banner:"バナー",bannerDesc:"バナーはナビゲーションの「カードパック」タブから入手できます。ランキングやプロフィールに表示されます。",bannerDescPremium:"プレミアムでは任意のカードをバナーに設定できます。",icon:"アイコン",iconDesc:"アイコンは「カードパック」タブから入手できます。プロフィールに表示されます。",iconDescPremium:"プレミアムでは任意のカードをアイコンに設定できます。",color:"カラー",colorDesc:"お気に入りの色で個性を表現できます。バナーが表示される場所すべてに反映されます。",colorDescPremium:"カラー選択はプレミアムユーザー限定です。"},general:{manaCost:"マナコスト",cost:"コスト",regions:"地域",clear:"クリア",clearAll:"すべてクリア",copy:"コピー",patch:"パッチ",matches:"試合数",wins:"勝利",losses:"敗北",winrate:"勝率",quantity:"数量",round:"ラウンド",total:"合計",champion:"チャンピオン",follower:"フォロワー",spell:"スペル",landmark:"ランドマーク",equipment:"装備",champions:"チャンピオン",followers:"フォロワー",spells:"スペル",landmarks:"ランドマーク",equipments:"装備",statistics:"統計",advanced:"詳細",newAdvancedFilter:"新しい詳細フィルター",types:"タイプ",rarities:"レアリティ",sets:"セット",keywords:"キーワード",pastDays:"過去 {count} 日間",pastHours:"過去 {count} 時間",pastHour:"過去1時間",season:"シーズン",servers:"サーバー",sampleSize:"サンプル数",minimumMatches:"最小試合数",ranks:"ランク",allRanks:"全ランク",platPlus:"プラチナ以上",deck:"デッキ",manaCurve:"マナカーブ",name:"名前",updated:"更新日",created:"作成日",card:"カード",cards:"カード",inclusion:"採用率",avgCopies:"平均枚数",turnsHeld:"保持ターン数",mulliganWinrate:"マリガン勝率",keptInMulligan:"マリガン保持",drawnWinrate:"ドロー勝率",turnPlayed:"プレイターン",playrate:"使用率",deckDifferences:"デッキ差分",player:"プレイヤー",lp:"LP",change:"変動",favoriteDeck:"お気に入りデッキ",server:"サーバー",players:"プレイヤー",time:"時間",type:"タイプ",rarity:"レアリティ",archetypes:"アーキタイプ",archetype:"アーキタイプ",profile:"プロフィール",leaderboard:"ランキング",victory:"勝利",defeat:"敗北",newCards:"新カード",signIn:"ログイン",syncUserData:"ユーザーデータを同期",settings:"設定",gamesPlayed:"プレイした試合",premium:"プレミアム",renews:"更新",expires:"有効期限",getPremium:"プレミアムを取得!",becomeTheMaster:"マスターになろう",format:"フォーマット",otherFormats:"他のフォーマット",queues:"キュー",save:"保存",captureImage:"画像を保存",deckCode:"デッキコード",library:"ライブラリ",openCards:"カードパックを開く",attackingFirst:"先攻",attackingSecond:"後攻",overall:"全体",list:"リスト",graph:"グラフ",decks:"デッキ",popularityTimeline:"人気推移",overallWinrate:"総合勝率",deckLibrary:"デッキライブラリ",deckBuilder:"デッキビルダー",inclusionTimeline:"採用率推移",winrateTimeline:"勝率推移",winrateByGamesPlayed:"試合数別勝率",meta:"メタ",youHave:"所持数:",holdShiftForAssociated:"Shiftキーを押すと関連カードを表示",cardArt:"カードアート",regionDistribution:"地域分布",noResults:"結果なし",tryAgain:"フィルターを調整して再試行してください。",createdAt:"作成日",updatedAt:"更新日",page:"ページ",deckStats:"デッキ統計",cardStats:"カード統計",cardGallery:"カードギャラリー",close:"閉じる",overwrite:"上書き",rename:"名前を変更",view:"表示",mustBeLoggedIn:"この操作を行うにはログインが必要です。",uploadFailed:"アップロード失敗",successfullyUploaded:"正常にアップロードされました",cardLottery:"カード抽選",confirm:"確認",verified:"確認済み",notVerified:"未確認",patches:"パッチ",seasons:"シーズン",premiumBarrier:"これらのフィルターを使用するにはプレミアムが必要です。",verificationEmailSent:"確認メールを送信しました。",updateEmail:"メールを更新",text:"テキスト",syncingInProgress:"同期中",matchRecord:"試合成績",gameRecord:"ゲーム成績",vs:"vs",game:"ゲーム",tie:"引き分け",submit:"送信",attackTokenOddsWr:"攻撃トークン: 勝率のオッズ",attackTokenEvensWr:"攻撃トークン: 偶数の勝率",current:"現在"},descriptions:{deckDecks:"{title} に似たデッキを見つけて、さまざまなプレイオプションを楽しもう。",meta:"レジェンド・オブ・ルーンテラの常に進化するメタに最新情報を保ちましょう。トップ戦略やデッキについての洞察を得ることができます。"},landing:{tagLine:"勝利への道を切り開け",newCards:{title:"新しいカード",navigation:"リビールトラッカー"},builtDecks:{title:"ユーザー作成デッキ",navigation:"デッキライブラリ"},deckBuilder:{title:"ビルダー",navigation:"デッキビルダー"},leaderboard:{title:"リーダーボード",navigation:"リーダーボード"},meta:{title:"アーキタイプ",navigation:"メタ"},decks:{title:"デッキ",navigation:"デッキ"},cards:{title:"カード",navigation:"カード統計"}},tournament:{standings:"順位",oppWinrate:"対戦相手の勝率",oppGameWinrate:"対戦相手のゲーム勝率",gameWinrate:"ゲーム勝率",admin:{editMatchWinner:"試合の勝者を編集",nextRound:{text:"前のラウンドが終了しました。次のラウンドに進んでください。",button:"次のラウンド"},wrongDeck:{text:"プレイヤー {name} は提出されていないデッキを使用しました。ブランケットで試合を確認してください。"},start:{text:"今すぐトーナメントを開始できます。これにより、自動的に最初のラウンドが始まります。",button:"トーナメントを開始"}},feed:{withdrawal:"撤回",withdrawalMessage:"プレイヤーがトーナメントから撤退しました。",signUp:"新規サインアップ",matchUpdate:"試合更新",checkIn:"チェックイン",adminUpdate:"管理者の更新",created:"トーナメントが作成されました",createdMessage:"トーナメントが作成されました。",roundStarted:"ラウンド開始",roundStartedMessage:"新しいラウンドが始まりました。"},timeline:{registration:{title:"登録",description:"トーナメントの登録はオープンです。今すぐサインアップしてください!"},checkIn:{title:"チェックイン"},start:{title:"開始",description:"トーナメントが始まりました!"},end:{title:"終了",description:"トーナメントは終了しました。"}},prompt:{checkedIn:{text:"トーナメントにチェックインしました。",button:"参加者ページへ移動"},registered:{text:"トーナメントに登録されました。",button:"チェックイン"},signUp:{text:"このトーナメントに参加するためにサインアップしてください。",button:"サインアップ"}},errors:{notLoggedIn:"トーナメントにサインアップするには、ログインしている必要があります。"},decksSubmission:{heading:"デッキ提出",description:"トーナメント用のデッキを提出してください。",submitDecks:"デッキを提出する",decksAreDue:"デッキの提出期限です"},participant:{banDecks:{heading:"デッキ禁止",submit:"禁止デッキを提出 | 禁止を提出"},playMatch:{heading:"対戦をプレイ"}}},profile:{winrateOverTime:"時間ごとの勝率",winrateByChampion:"チャンピオン別勝率",winrateByRegion:"地域別勝率",winrateByRoundAttacking:"ラウンド攻撃による勝率",winrateAgainstChampion:"チャンピオンに対する勝率",winrateAgainstRegion:"地域に対する勝率",commonOpponents:"共通の対戦相手"},navigation:{searchPlaceholder:"カードまたはプレイヤーを検索",subscriptionStatus:"{type} {event} {days}日以内"},ads:{supportLorgg:"LOR.GGをサポートする",disableAdBlock:"広告ブロックを無効にしてください",considerDonating:"寄付を検討してください",considerDonatingOr:"「または寄付を検討してください」",considerPremium:"「またはプレミアムを検討してください」",premiumModal:{title:"LOR.GGをサポートする",benefits:{title:"プレミアム特典:",noAds:"広告なしの体験",supportDevelopment:"継続的な開発をサポートする",exclusiveFeatures:"限定機能へのアクセス"},close:"閉じる",buyPremium:"プレミアムを取得"}},premium:{loading:"サブスクリプションを読み込み中...",title:"LOR.GG サブスクリプション",loginToSubscribe:"Riotでログインして購読する",verifyToSubscribe:"メールを確認して購読する",verifyHint:"メール確認後に支払いアクションが利用可能になります。",loadingPaymentUi:"支払いUIを読み込んでいます...",cancelAutoRenew:"自動更新をキャンセル",resumeAutoRenew:"自動更新を再開",updatePaymentMethod:"支払い方法を更新",cancelCompleted:"自動更新が無効になりました。",resumeCompleted:"自動更新が再開されました。",subscriptionStatus:"あなたのサブスクリプションは{days}日後に{event}します。",subscriptionEvent:{renews:"更新",cancels:"キャンセル"},errors:{loadPayment:"現在、決済インターフェースを読み込むことができません。",loadSubscription:"サブスクリプションの詳細を読み込めませんでした。",cancel:"自動更新のキャンセルに失敗しました。",resume:"自動更新の再開に失敗しました。"},adFree:{title:"広告なし",price:"$0.99 / 月",changeAction:"広告なしにダウングレード",feature1:"サイト全体の広告を削除します",feature2:"継続的な開発をサポート"},premium:{title:"プレミアム",price:"$2.99 / 月",changeAction:"プレミアムにアップグレード",feature1:"広告なし",feature2:"パーソナライズオプション",feature3:"高度なフィルタリング",feature4:"無制限のトーナメントを整理する"}}},i8={cardLottery:{setBanner:"배너로 설정",setIcon:"아이콘으로 설정",openAnother:"하나 더 열기"},cards:{roundDrawn:"뽑은 라운드",roundPlayed:"플레이한 라운드",card:"카드",cards:"카드",inclusion:"채용률",avgCopies:"평균 장수",mulliganWinrate:"멀리건 승률",keptInMulligan:"멀리건 유지",drawnWinrate:"드로우 승률",turnPlayed:"플레이 턴",turnsHeld:"보유 턴 수",recommendedDecks:"추천 덱",similarCards:"유사 카드",attack:"공격력",health:"체력",quantityOwned:"보유 수량",cost:"비용"},deck:{copyDeckCode:"덱 코드 복사",deckCodeCopied:"덱 코드가 복사되었습니다",deleteDeck:"덱 삭제",deleteDeckConfirmation:"이 덱을 삭제하시겠습니까?",editDeckName:"덱 이름 수정",signInToUpload:"덱을 업로드하려면 로그인하세요",uploadDeckToLor:"Legends of Runeterra에 덱 업로드",deckUploaded:"덱이 업로드되었습니다!",updatePrivacy:"덱 공개 설정 업데이트",deckPrivate:"현재 비공개",deckPublic:"현재 공개",openInDeckBuilder:"덱 빌더에서 열기",numManaCards:"{num} 마나 카드",simulateMulligan:"멀리건 시뮬레이션",replaceAllCards:"모든 카드 교체",replaceSelectedCards:"선택한 카드 교체",personalCost:"개인 비용",originalCost:"원래 비용",openArchetypePage:"아키타입 페이지 열기",shareDeck:"덱 공유",showPreview:"덱 미리보기 표시"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`같은 이름의 덱이 이미 존재합니다.
|
|
46
46
|
이전 버전을 덮어쓰시겠습니까?`,deckCreated:"덱이 생성되었습니다",inputDeckCode:"덱 코드 붙여넣기"},leaderboard:{totalPlayers:"총 플레이어",lp:"LP",rank:"랭크",updated:"업데이트됨"},personalization:{noGiftsAvailable:"카드 팩이 없습니다",noGiftsAvailableDesc:`이런!
|
|
47
47
|
카드 팩이 모두 소진되었습니다!
|
|
48
|
-
아래 방법으로 더 획득할 수 있습니다!`,cards:{option1:"매주 LOR.GG에 로그인하여 카드 팩 10개를 받으세요.",option2:"데이터를 동기화하면 최근 20경기가 업로드됩니다. 2경기마다 카드 팩 1개를 획득!",option3:"완벽한 카드를 기다리기 지치셨나요? 프리미엄으로 업그레이드하여 어떤 카드든 아이콘이나 배너로 설정하세요!"}},settings:{privacy:"개인정보",privateProfile:"비공개 프로필",privateProfileDesc:"활성화하면 프로필 세부 정보가 표시되지 않습니다. 공개 덱은 계속 표시됩니다.",email:"이메일",resendVerification:"인증 메일 재전송",account:"계정",payment:"결제",personalization:"개인화",images:"이미지",banner:"배너",bannerDesc:'배너는 내비게이션의 "카드 팩" 탭에서 획득할 수 있으며, 리더보드와 프로필에 표시됩니다.',bannerDescPremium:"프리미엄에서는 어떤 카드든 배너로 설정할 수 있습니다.",icon:"아이콘",iconDesc:'아이콘은 "카드 팩" 탭에서 획득할 수 있으며 프로필에 표시됩니다.',iconDescPremium:"프리미엄에서는 어떤 카드든 아이콘으로 설정할 수 있습니다.",color:"색상",colorDesc:"선호하는 색상으로 자신을 표현하세요. 배너가 표시되는 모든 곳에 적용됩니다.",colorDescPremium:"색상 선택은 프리미엄 사용자만 가능합니다."},general:{manaCost:"마나 비용",cost:"비용",regions:"지역",clear:"지우기",clearAll:"모두 지우기",copy:"복사",patch:"패치",matches:"경기",wins:"승리",losses:"패배",winrate:"승률",quantity:"수량",round:"라운드",total:"합계",champion:"챔피언",follower:"추종자",spell:"주문",landmark:"랜드마크",equipment:"장비",champions:"챔피언",followers:"추종자",spells:"주문",landmarks:"랜드마크",equipments:"장비",statistics:"통계",advanced:"고급",newAdvancedFilter:"새 고급 필터",types:"유형",rarities:"희귀도",sets:"세트",keywords:"키워드",pastDays:"최근 {count}일",pastHours:"최근 {count}시간",pastHour:"최근 1시간",season:"시즌",servers:"서버",sampleSize:"표본 크기",minimumMatches:"최소 경기 수",ranks:"랭크",allRanks:"모든 랭크",platPlus:"플래티넘+",deck:"덱",manaCurve:"마나 곡선",name:"이름",updated:"업데이트됨",created:"생성됨",card:"카드",cards:"카드",inclusion:"채용률",avgCopies:"평균 장수",turnsHeld:"보유 턴 수",mulliganWinrate:"멀리건 승률",keptInMulligan:"멀리건 유지",drawnWinrate:"드로우 승률",turnPlayed:"플레이 턴",playrate:"사용률",deckDifferences:"덱 차이",player:"플레이어",lp:"LP",change:"변동",favoriteDeck:"즐겨찾는 덱",server:"서버",players:"플레이어",time:"시간",type:"유형",rarity:"희귀도",archetypes:"아키타입",archetype:"아키타입",profile:"프로필",leaderboard:"리더보드",victory:"승리",defeat:"패배",newCards:"신규 카드",signIn:"로그인",syncUserData:"사용자 데이터 동기화",settings:"설정",gamesPlayed:"플레이한 게임",premium:"프리미엄",renews:"갱신",expires:"만료",getPremium:"프리미엄 받기!",becomeTheMaster:"마스터가 되세요",format:"형식",otherFormats:"다른 형식",queues:"대기열",save:"저장",captureImage:"이미지 캡처",deckCode:"덱 코드",library:"라이브러리",openCards:"카드 팩 열기",attackingFirst:"선공",attackingSecond:"후공",overall:"전체",list:"목록",graph:"그래프",decks:"덱",popularityTimeline:"인기 추이",overallWinrate:"전체 승률",deckLibrary:"덱 라이브러리",deckBuilder:"덱 빌더",inclusionTimeline:"채용률 추이",winrateTimeline:"승률 추이",winrateByGamesPlayed:"게임 수별 승률",meta:"메타",youHave:"보유: ",holdShiftForAssociated:"Shift 키를 누르면 관련 카드 표시",cardArt:"카드 아트",regionDistribution:"지역 분포",noResults:"결과 없음",tryAgain:"필터를 조정하고 다시 시도하세요.",createdAt:"생성일",updatedAt:"업데이트일",page:"페이지",deckStats:"덱 통계",cardStats:"카드 통계",cardGallery:"카드 갤러리",close:"닫기",overwrite:"덮어쓰기",rename:"이름 변경",view:"보기",mustBeLoggedIn:"이 작업을 완료하려면 로그인해야 합니다.",uploadFailed:"업로드 실패",successfullyUploaded:"성공적으로 업로드되었습니다",cardLottery:"카드 추첨",confirm:"확인",verified:"인증됨",notVerified:"미인증",patches:"패치",seasons:"시즌",premiumBarrier:"이 필터 옵션을 사용하려면 프리미엄이 필요합니다.",verificationEmailSent:"인증 이메일이 전송되었습니다.",updateEmail:"이메일 업데이트",text:"텍스트",syncingInProgress:"동기화 진행 중",matchRecord:"경기 기록",gameRecord:"게임 기록",vs:"vs",game:"게임",tie:"무승부",submit:"제출",attackTokenOddsWr:"공격 토큰: 확률 승률",attackTokenEvensWr:"공격 토큰: 짝수 승률"},descriptions:{deckDecks:'"{title}"와 유사한 덱을 찾아 다양한 게임 플레이 옵션을 즐기세요.',meta:"레전드 오브 룬테라의 끊임없이 변화하는 메타를 최신 상태로 유지하세요. 최고의 전략과 덱에 대한 통찰을 얻으세요."},landing:{tagLine:"승리를 향한 길을 그리세요",newCards:{title:"새로운 카드",navigation:"카드 공개 추적기"},builtDecks:{title:"사용자 생성 덱",navigation:"덱 라이브러리"},deckBuilder:{title:"덱 빌더",navigation:"덱 빌더"},leaderboard:{title:"리더보드",navigation:"리더보드"},meta:{title:"덱 유형",navigation:"메타"},decks:{title:"덱",navigation:"덱"},cards:{title:"카드",navigation:"카드 통계"}},tournament:{standings:"순위",oppWinrate:"상대의 승률",oppGameWinrate:"상대의 게임 승률",gameWinrate:"게임 승률",admin:{editMatchWinner:"경기 승자 수정",nextRound:{text:"이전 라운드가 종료되었습니다. 다음 라운드로 진행해 주세요.",button:"다음 라운드"},wrongDeck:{text:"플레이어 {name}가 제출되지 않은 덱을 사용했습니다. 브래킷에서 경기를 검토하세요."},start:{text:"이제 토너먼트를 시작할 수 있습니다. 이것은 자동으로 첫 라운드를 시작합니다.",button:"토너먼트 시작"}},feed:{withdrawal:"철회",withdrawalMessage:"선수가 토너먼트에서 철회했습니다.",signUp:"새로운 가입",matchUpdate:"매치 업데이트",checkIn:"체크인",adminUpdate:"관리자 업데이트",created:"토너먼트 생성됨",createdMessage:"토너먼트가 생성되었습니다.",roundStarted:"라운드 시작됨",roundStartedMessage:"새로운 라운드가 시작되었습니다."},timeline:{registration:{title:"등록",description:"토너먼트 등록이 열렸습니다. 지금 등록하세요!"},checkIn:{title:"체크인"},start:{title:"시작",description:"토너먼트가 시작되었습니다!"},end:{title:"종료됨",description:"토너먼트가 종료되었습니다."}},prompt:{checkedIn:{text:"토너먼트에 체크인되었습니다.",button:"참가자 페이지로 이동"},registered:{text:"토너먼트에 등록되었습니다.",button:"체크인"},signUp:{text:"이 토너먼트에 참가하려면 등록하세요.",button:"가입하기"}},errors:{notLoggedIn:"토너먼트에 등록하려면 로그인해야 합니다."},decksSubmission:{heading:"덱 제출",description:"토너먼트를 위해 덱을 제출하세요.",submitDecks:"덱 제출",decksAreDue:"덱 제출 마감입니다"},participant:{banDecks:{heading:"덱 금지",submit:"밴 제출 | 밴 제출"},playMatch:{heading:"매치 플레이"}}},profile:{winrateOverTime:"시간에 따른 승률",winrateByChampion:"챔피언별 승률",winrateByRegion:"지역별 승률",winrateByRoundAttacking:"공격 라운드별 승률",winrateAgainstChampion:"챔피언에 대한 승률",winrateAgainstRegion:"지역 대비 승률",commonOpponents:"일반적인 상대"},navigation:{searchPlaceholder:"카드 또는 플레이어 검색",subscriptionStatus:"{type} {event} {days}일 내"},ads:{supportLorgg:"LOR.GG를 지원하세요",disableAdBlock:"광고 차단기를 비활성화해 주세요",considerDonating:"기부를 고려해 주세요",considerDonatingOr:"또는 기부를 고려해 주세요",considerPremium:"프리미엄을 고려해 보세요",premiumModal:{title:"LOR.GG를 지원하세요",benefits:{title:"프리미엄 혜택:",noAds:"광고 없는 경험",supportDevelopment:"지속적인 개발을 지원하세요",exclusiveFeatures:"독점 기능에 대한 접근"},close:"닫기",buyPremium:"프리미엄 구매하기"}},premium:{loading:"구독 로딩 중...",title:"LOR.GG 구독",loginToSubscribe:"라이엇으로 로그인하여 구독하기",verifyToSubscribe:"구독을 위해 이메일 확인",verifyHint:"이메일 인증 후 결제 작업이 가능합니다.",loadingPaymentUi:"결제 UI 로딩 중...",cancelAutoRenew:"자동 갱신 취소",resumeAutoRenew:"자동 갱신 재개",updatePaymentMethod:"결제 방법 업데이트",cancelCompleted:"자동 갱신이 비활성화되었습니다.",resumeCompleted:"자동 갱신이 재개되었습니다.",subscriptionStatus:"귀하의 구독은 {days}일 후에 {event}됩니다.",subscriptionEvent:{renews:"갱신",cancels:"취소"},errors:{loadPayment:"현재 결제 인터페이스를 로드할 수 없습니다.",loadSubscription:"구독 세부정보를 불러올 수 없습니다.",cancel:"자동 갱신 취소에 실패했습니다.",resume:"자동 갱신을 재개하는 데 실패했습니다."},adFree:{title:"광고 없음",price:"$0.99 / 월",changeAction:"광고 없는 버전으로 다운그레이드",feature1:"사이트 전역에서 광고 제거",feature2:"지속적인 개발을 지원합니다"},premium:{title:"프리미엄",price:"$2.99 / 월",changeAction:"프리미엄으로 업그레이드",feature1:"광고 없음",feature2:"개인화 옵션",feature3:"고급 필터링",feature4:"무제한 토너먼트 조직하기"}}},o8={cardLottery:{setBanner:"Ustaw jako baner",setIcon:"Ustaw jako ikonę",openAnother:"Otwórz kolejny"},cards:{roundDrawn:"Runda dobrania",roundPlayed:"Runda rozegrana",card:"Karta",cards:"Karty",inclusion:"Użycie",avgCopies:"Śr. kopii",mulliganWinrate:"Winrate mulliganu",keptInMulligan:"Zachowana w mulliganie",drawnWinrate:"Winrate po dobraniu",turnPlayed:"Tura zagrania",turnsHeld:"Tury w ręce",recommendedDecks:"Polecane talie",similarCards:"Podobne karty",attack:"Atak",health:"Zdrowie",quantityOwned:"Posiadana ilość",cost:"Koszt"},deck:{copyDeckCode:"Kopiuj kod talii",deckCodeCopied:"Kod talii skopiowany",deleteDeck:"Usuń talię",deleteDeckConfirmation:"Czy na pewno chcesz usunąć tę talię?",editDeckName:"Edytuj nazwę talii",signInToUpload:"Zaloguj się, aby przesłać talię",uploadDeckToLor:"Prześlij talię do Legends of Runeterra",deckUploaded:"Talia przesłana!",updatePrivacy:"Zaktualizuj prywatność talii",deckPrivate:"Obecnie prywatna",deckPublic:"Obecnie publiczna",openInDeckBuilder:"Otwórz w kreatorze talii",numManaCards:"{num} kart many",simulateMulligan:"Symuluj mulligan",replaceAllCards:"Zamień wszystkie karty",replaceSelectedCards:"Zamień wybrane karty",personalCost:"Koszt osobisty",originalCost:"Koszt oryginalny",openArchetypePage:"Otwórz stronę archetypu",shareDeck:"Udostępnij talię",showPreview:"Pokaż podgląd talii"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`Talia o tej nazwie już istnieje.
|
|
48
|
+
아래 방법으로 더 획득할 수 있습니다!`,cards:{option1:"매주 LOR.GG에 로그인하여 카드 팩 10개를 받으세요.",option2:"데이터를 동기화하면 최근 20경기가 업로드됩니다. 2경기마다 카드 팩 1개를 획득!",option3:"완벽한 카드를 기다리기 지치셨나요? 프리미엄으로 업그레이드하여 어떤 카드든 아이콘이나 배너로 설정하세요!"}},settings:{privacy:"개인정보",privateProfile:"비공개 프로필",privateProfileDesc:"활성화하면 프로필 세부 정보가 표시되지 않습니다. 공개 덱은 계속 표시됩니다.",email:"이메일",resendVerification:"인증 메일 재전송",account:"계정",payment:"결제",personalization:"개인화",images:"이미지",banner:"배너",bannerDesc:'배너는 내비게이션의 "카드 팩" 탭에서 획득할 수 있으며, 리더보드와 프로필에 표시됩니다.',bannerDescPremium:"프리미엄에서는 어떤 카드든 배너로 설정할 수 있습니다.",icon:"아이콘",iconDesc:'아이콘은 "카드 팩" 탭에서 획득할 수 있으며 프로필에 표시됩니다.',iconDescPremium:"프리미엄에서는 어떤 카드든 아이콘으로 설정할 수 있습니다.",color:"색상",colorDesc:"선호하는 색상으로 자신을 표현하세요. 배너가 표시되는 모든 곳에 적용됩니다.",colorDescPremium:"색상 선택은 프리미엄 사용자만 가능합니다."},general:{manaCost:"마나 비용",cost:"비용",regions:"지역",clear:"지우기",clearAll:"모두 지우기",copy:"복사",patch:"패치",matches:"경기",wins:"승리",losses:"패배",winrate:"승률",quantity:"수량",round:"라운드",total:"합계",champion:"챔피언",follower:"추종자",spell:"주문",landmark:"랜드마크",equipment:"장비",champions:"챔피언",followers:"추종자",spells:"주문",landmarks:"랜드마크",equipments:"장비",statistics:"통계",advanced:"고급",newAdvancedFilter:"새 고급 필터",types:"유형",rarities:"희귀도",sets:"세트",keywords:"키워드",pastDays:"최근 {count}일",pastHours:"최근 {count}시간",pastHour:"최근 1시간",season:"시즌",servers:"서버",sampleSize:"표본 크기",minimumMatches:"최소 경기 수",ranks:"랭크",allRanks:"모든 랭크",platPlus:"플래티넘+",deck:"덱",manaCurve:"마나 곡선",name:"이름",updated:"업데이트됨",created:"생성됨",card:"카드",cards:"카드",inclusion:"채용률",avgCopies:"평균 장수",turnsHeld:"보유 턴 수",mulliganWinrate:"멀리건 승률",keptInMulligan:"멀리건 유지",drawnWinrate:"드로우 승률",turnPlayed:"플레이 턴",playrate:"사용률",deckDifferences:"덱 차이",player:"플레이어",lp:"LP",change:"변동",favoriteDeck:"즐겨찾는 덱",server:"서버",players:"플레이어",time:"시간",type:"유형",rarity:"희귀도",archetypes:"아키타입",archetype:"아키타입",profile:"프로필",leaderboard:"리더보드",victory:"승리",defeat:"패배",newCards:"신규 카드",signIn:"로그인",syncUserData:"사용자 데이터 동기화",settings:"설정",gamesPlayed:"플레이한 게임",premium:"프리미엄",renews:"갱신",expires:"만료",getPremium:"프리미엄 받기!",becomeTheMaster:"마스터가 되세요",format:"형식",otherFormats:"다른 형식",queues:"대기열",save:"저장",captureImage:"이미지 캡처",deckCode:"덱 코드",library:"라이브러리",openCards:"카드 팩 열기",attackingFirst:"선공",attackingSecond:"후공",overall:"전체",list:"목록",graph:"그래프",decks:"덱",popularityTimeline:"인기 추이",overallWinrate:"전체 승률",deckLibrary:"덱 라이브러리",deckBuilder:"덱 빌더",inclusionTimeline:"채용률 추이",winrateTimeline:"승률 추이",winrateByGamesPlayed:"게임 수별 승률",meta:"메타",youHave:"보유: ",holdShiftForAssociated:"Shift 키를 누르면 관련 카드 표시",cardArt:"카드 아트",regionDistribution:"지역 분포",noResults:"결과 없음",tryAgain:"필터를 조정하고 다시 시도하세요.",createdAt:"생성일",updatedAt:"업데이트일",page:"페이지",deckStats:"덱 통계",cardStats:"카드 통계",cardGallery:"카드 갤러리",close:"닫기",overwrite:"덮어쓰기",rename:"이름 변경",view:"보기",mustBeLoggedIn:"이 작업을 완료하려면 로그인해야 합니다.",uploadFailed:"업로드 실패",successfullyUploaded:"성공적으로 업로드되었습니다",cardLottery:"카드 추첨",confirm:"확인",verified:"인증됨",notVerified:"미인증",patches:"패치",seasons:"시즌",premiumBarrier:"이 필터 옵션을 사용하려면 프리미엄이 필요합니다.",verificationEmailSent:"인증 이메일이 전송되었습니다.",updateEmail:"이메일 업데이트",text:"텍스트",syncingInProgress:"동기화 진행 중",matchRecord:"경기 기록",gameRecord:"게임 기록",vs:"vs",game:"게임",tie:"무승부",submit:"제출",attackTokenOddsWr:"공격 토큰: 확률 승률",attackTokenEvensWr:"공격 토큰: 짝수 승률",current:"현재"},descriptions:{deckDecks:'"{title}"와 유사한 덱을 찾아 다양한 게임 플레이 옵션을 즐기세요.',meta:"레전드 오브 룬테라의 끊임없이 변화하는 메타를 최신 상태로 유지하세요. 최고의 전략과 덱에 대한 통찰을 얻으세요."},landing:{tagLine:"승리를 향한 길을 그리세요",newCards:{title:"새로운 카드",navigation:"카드 공개 추적기"},builtDecks:{title:"사용자 생성 덱",navigation:"덱 라이브러리"},deckBuilder:{title:"덱 빌더",navigation:"덱 빌더"},leaderboard:{title:"리더보드",navigation:"리더보드"},meta:{title:"덱 유형",navigation:"메타"},decks:{title:"덱",navigation:"덱"},cards:{title:"카드",navigation:"카드 통계"}},tournament:{standings:"순위",oppWinrate:"상대의 승률",oppGameWinrate:"상대의 게임 승률",gameWinrate:"게임 승률",admin:{editMatchWinner:"경기 승자 수정",nextRound:{text:"이전 라운드가 종료되었습니다. 다음 라운드로 진행해 주세요.",button:"다음 라운드"},wrongDeck:{text:"플레이어 {name}가 제출되지 않은 덱을 사용했습니다. 브래킷에서 경기를 검토하세요."},start:{text:"이제 토너먼트를 시작할 수 있습니다. 이것은 자동으로 첫 라운드를 시작합니다.",button:"토너먼트 시작"}},feed:{withdrawal:"철회",withdrawalMessage:"선수가 토너먼트에서 철회했습니다.",signUp:"새로운 가입",matchUpdate:"매치 업데이트",checkIn:"체크인",adminUpdate:"관리자 업데이트",created:"토너먼트 생성됨",createdMessage:"토너먼트가 생성되었습니다.",roundStarted:"라운드 시작됨",roundStartedMessage:"새로운 라운드가 시작되었습니다."},timeline:{registration:{title:"등록",description:"토너먼트 등록이 열렸습니다. 지금 등록하세요!"},checkIn:{title:"체크인"},start:{title:"시작",description:"토너먼트가 시작되었습니다!"},end:{title:"종료됨",description:"토너먼트가 종료되었습니다."}},prompt:{checkedIn:{text:"토너먼트에 체크인되었습니다.",button:"참가자 페이지로 이동"},registered:{text:"토너먼트에 등록되었습니다.",button:"체크인"},signUp:{text:"이 토너먼트에 참가하려면 등록하세요.",button:"가입하기"}},errors:{notLoggedIn:"토너먼트에 등록하려면 로그인해야 합니다."},decksSubmission:{heading:"덱 제출",description:"토너먼트를 위해 덱을 제출하세요.",submitDecks:"덱 제출",decksAreDue:"덱 제출 마감입니다"},participant:{banDecks:{heading:"덱 금지",submit:"밴 제출 | 밴 제출"},playMatch:{heading:"매치 플레이"}}},profile:{winrateOverTime:"시간에 따른 승률",winrateByChampion:"챔피언별 승률",winrateByRegion:"지역별 승률",winrateByRoundAttacking:"공격 라운드별 승률",winrateAgainstChampion:"챔피언에 대한 승률",winrateAgainstRegion:"지역 대비 승률",commonOpponents:"일반적인 상대"},navigation:{searchPlaceholder:"카드 또는 플레이어 검색",subscriptionStatus:"{type} {event} {days}일 내"},ads:{supportLorgg:"LOR.GG를 지원하세요",disableAdBlock:"광고 차단기를 비활성화해 주세요",considerDonating:"기부를 고려해 주세요",considerDonatingOr:"또는 기부를 고려해 주세요",considerPremium:"프리미엄을 고려해 보세요",premiumModal:{title:"LOR.GG를 지원하세요",benefits:{title:"프리미엄 혜택:",noAds:"광고 없는 경험",supportDevelopment:"지속적인 개발을 지원하세요",exclusiveFeatures:"독점 기능에 대한 접근"},close:"닫기",buyPremium:"프리미엄 구매하기"}},premium:{loading:"구독 로딩 중...",title:"LOR.GG 구독",loginToSubscribe:"라이엇으로 로그인하여 구독하기",verifyToSubscribe:"구독을 위해 이메일 확인",verifyHint:"이메일 인증 후 결제 작업이 가능합니다.",loadingPaymentUi:"결제 UI 로딩 중...",cancelAutoRenew:"자동 갱신 취소",resumeAutoRenew:"자동 갱신 재개",updatePaymentMethod:"결제 방법 업데이트",cancelCompleted:"자동 갱신이 비활성화되었습니다.",resumeCompleted:"자동 갱신이 재개되었습니다.",subscriptionStatus:"귀하의 구독은 {days}일 후에 {event}됩니다.",subscriptionEvent:{renews:"갱신",cancels:"취소"},errors:{loadPayment:"현재 결제 인터페이스를 로드할 수 없습니다.",loadSubscription:"구독 세부정보를 불러올 수 없습니다.",cancel:"자동 갱신 취소에 실패했습니다.",resume:"자동 갱신을 재개하는 데 실패했습니다."},adFree:{title:"광고 없음",price:"$0.99 / 월",changeAction:"광고 없는 버전으로 다운그레이드",feature1:"사이트 전역에서 광고 제거",feature2:"지속적인 개발을 지원합니다"},premium:{title:"프리미엄",price:"$2.99 / 월",changeAction:"프리미엄으로 업그레이드",feature1:"광고 없음",feature2:"개인화 옵션",feature3:"고급 필터링",feature4:"무제한 토너먼트 조직하기"}}},o8={cardLottery:{setBanner:"Ustaw jako baner",setIcon:"Ustaw jako ikonę",openAnother:"Otwórz kolejny"},cards:{roundDrawn:"Runda dobrania",roundPlayed:"Runda rozegrana",card:"Karta",cards:"Karty",inclusion:"Użycie",avgCopies:"Śr. kopii",mulliganWinrate:"Winrate mulliganu",keptInMulligan:"Zachowana w mulliganie",drawnWinrate:"Winrate po dobraniu",turnPlayed:"Tura zagrania",turnsHeld:"Tury w ręce",recommendedDecks:"Polecane talie",similarCards:"Podobne karty",attack:"Atak",health:"Zdrowie",quantityOwned:"Posiadana ilość",cost:"Koszt"},deck:{copyDeckCode:"Kopiuj kod talii",deckCodeCopied:"Kod talii skopiowany",deleteDeck:"Usuń talię",deleteDeckConfirmation:"Czy na pewno chcesz usunąć tę talię?",editDeckName:"Edytuj nazwę talii",signInToUpload:"Zaloguj się, aby przesłać talię",uploadDeckToLor:"Prześlij talię do Legends of Runeterra",deckUploaded:"Talia przesłana!",updatePrivacy:"Zaktualizuj prywatność talii",deckPrivate:"Obecnie prywatna",deckPublic:"Obecnie publiczna",openInDeckBuilder:"Otwórz w kreatorze talii",numManaCards:"{num} kart many",simulateMulligan:"Symuluj mulligan",replaceAllCards:"Zamień wszystkie karty",replaceSelectedCards:"Zamień wybrane karty",personalCost:"Koszt osobisty",originalCost:"Koszt oryginalny",openArchetypePage:"Otwórz stronę archetypu",shareDeck:"Udostępnij talię",showPreview:"Pokaż podgląd talii"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`Talia o tej nazwie już istnieje.
|
|
49
49
|
Czy chcesz nadpisać poprzednią wersję?`,deckCreated:"Talia utworzona",inputDeckCode:"Wklej kod talii"},leaderboard:{totalPlayers:"Łączna liczba graczy",lp:"LP",rank:"Ranga",updated:"Zaktualizowano"},personalization:{noGiftsAvailable:"Brak dostępnych pakietów",noGiftsAvailableDesc:`O nie!
|
|
50
50
|
Skończyły Ci się pakiety kart!
|
|
51
|
-
Bez obaw — możesz zdobyć więcej, korzystając z poniższych metod!`,cards:{option1:"Loguj się co tydzień do LOR.GG i otrzymuj 10 pakietów kart.",option2:"Każda synchronizacja przesyła Twoje ostatnie 20 meczów. Zyskaj 1 pakiet za każde 2 zsynchronizowane mecze!",option3:"Masz dość czekania na idealną kartę? Przejdź na premium i ustaw dowolną kartę jako ikonę lub baner!"}},settings:{privacy:"Prywatność",privateProfile:"Profil prywatny",privateProfileDesc:"Po włączeniu tej opcji szczegóły profilu nie będą widoczne. Publiczne talie nadal będą wyświetlane.",email:"E-mail",resendVerification:"Wyślij weryfikację ponownie",account:"Konto",payment:"Płatność",personalization:"Personalizacja",images:"Obrazy",banner:"Baner",bannerDesc:"Banery można zdobyć w zakładce „Pakiety kart”. Są widoczne na profilu i w rankingu.",bannerDescPremium:"Dzięki premium możesz ustawić dowolną kartę jako baner.",icon:"Ikona",iconDesc:"Ikony można zdobyć w zakładce „Pakiety kart”. Są widoczne na profilu.",iconDescPremium:"Dzięki premium możesz ustawić dowolną kartę jako ikonę.",color:"Kolor",colorDesc:"Wyróżnij się swoim ulubionym kolorem. Widoczny wszędzie tam, gdzie wyświetlany jest baner.",colorDescPremium:"Kolor dostępny tylko dla użytkowników premium."},general:{manaCost:"Koszt many",cost:"Koszt",regions:"Regiony",clear:"Wyczyść",clearAll:"Wyczyść wszystko",copy:"Kopiuj",patch:"Patch",matches:"Mecze",wins:"Zwycięstwa",losses:"Porażki",winrate:"Winrate",quantity:"Ilość",round:"Runda",total:"Łącznie",champion:"Czempion",follower:"Jednostka",spell:"Zaklęcie",landmark:"Punkt orientacyjny",equipment:"Ekwipunek",champions:"Czempioni",followers:"Jednostki",spells:"Zaklęcia",landmarks:"Punkty orientacyjne",equipments:"Ekwipunek",statistics:"Statystyki",advanced:"Zaawansowane",newAdvancedFilter:"Nowy filtr zaawansowany",types:"Typy",rarities:"Rzadkości",sets:"Zestawy",keywords:"Słowa kluczowe",pastDays:"Ostatnie {count} dni",pastHours:"Ostatnie {count} godzin",pastHour:"Ostatnia godzina",season:"Sezon",servers:"Serwery",sampleSize:"Wielkość próby",minimumMatches:"Minimalna liczba meczów",ranks:"Rangi",allRanks:"Wszystkie rangi",platPlus:"Platyna+",deck:"Talia",manaCurve:"Krzywa many",name:"Nazwa",updated:"Zaktualizowano",created:"Utworzono",card:"Karta",cards:"Karty",inclusion:"Użycie",avgCopies:"Śr. kopii",turnsHeld:"Tury w ręce",mulliganWinrate:"WR mulliganu",keptInMulligan:"Zachowana w mulliganie",drawnWinrate:"Winrate po dobraniu",turnPlayed:"Tura zagrania",playrate:"Użycie",deckDifferences:"Różnice talii",player:"Gracz",lp:"LP",change:"Zmiana",favoriteDeck:"Ulubiona talia",server:"Serwer",players:"Gracze",time:"Czas",type:"Typ",rarity:"Rzadkość",archetypes:"Archetypy",archetype:"Archetyp",profile:"Profil",leaderboard:"Ranking",victory:"Zwycięstwo",defeat:"Porażka",newCards:"Nowe karty",signIn:"Zaloguj się",syncUserData:"Synchronizuj dane użytkownika",settings:"Ustawienia",gamesPlayed:"Rozegrane gry",premium:"Premium",renews:"Odnawia się",expires:"Wygasa",getPremium:"Zdobądź Premium!",becomeTheMaster:"Zostań mistrzem",format:"Format",otherFormats:"Inne formaty",queues:"Kolejki",save:"Zapisz",captureImage:"Zapisz obraz",deckCode:"Kod talii",library:"Biblioteka",openCards:"Otwórz pakiety kart",attackingFirst:"Atakuje pierwszy",attackingSecond:"Atakuje drugi",overall:"Ogólnie",list:"Lista",graph:"Wykres",decks:"Talie",popularityTimeline:"Zmiany popularności",overallWinrate:"Ogólny winrate",deckLibrary:"Biblioteka talii",deckBuilder:"Kreator talii",inclusionTimeline:"Zmiany użycia",winrateTimeline:"Zmiany winrate",winrateByGamesPlayed:"Winrate wg liczby gier",meta:"Meta",youHave:"Posiadasz: ",holdShiftForAssociated:"Przytrzymaj Shift, aby zobaczyć powiązane karty",cardArt:"Grafika karty",regionDistribution:"Rozkład regionów",noResults:"Brak wyników",tryAgain:"Zmień filtry i spróbuj ponownie.",createdAt:"Utworzono",updatedAt:"Zaktualizowano",page:"Strona",deckStats:"Statystyki talii",cardStats:"Statystyki karty",cardGallery:"Galeria kart",close:"Zamknij",overwrite:"Nadpisz",rename:"Zmień nazwę",view:"Zobacz",mustBeLoggedIn:"Musisz być zalogowany, aby wykonać tę akcję.",uploadFailed:"Przesyłanie nieudane",successfullyUploaded:"Pomyślnie przesłano",cardLottery:"Loteria kart",confirm:"Potwierdź",verified:"Zweryfikowany",notVerified:"Niezweryfikowany",patches:"Patche",seasons:"Sezony",premiumBarrier:"Aby korzystać z tych filtrów, musisz mieć premium.",verificationEmailSent:"Wysłano e-mail weryfikacyjny.",updateEmail:"Zaktualizuj e-mail",text:"Tekst",syncingInProgress:"Synchronizacja w toku",matchRecord:"Historia meczów",gameRecord:"Historia gier",vs:"vs",game:"Gra",tie:"Remis",submit:"Wyślij",attackTokenOddsWr:"Token Ataku: Szansa na Wygraną",attackTokenEvensWr:"Token Ataku: Wygrane Parzyste"},descriptions:{deckDecks:'Znajdź talie podobne do "{title}" dla zróżnicowanych opcji rozgrywki.',meta:"Bądź na bieżąco z nieustannie ewoluującą metą w Legends of Runeterra. Uzyskaj wgląd w najlepsze strategie i talie."},landing:{tagLine:"Wyznacz swoją drogę do zwycięstwa",newCards:{title:"Nowe Karty",navigation:"Śledzenie Odkryć"},builtDecks:{title:"Stworzone przez użytkowników talie",navigation:"Biblioteka Decków"},deckBuilder:{title:"Budowniczy",navigation:"Budowniczy Talii"},leaderboard:{title:"Ranking",navigation:"Ranking"},meta:{title:"Archetypy",navigation:"Meta"},decks:{title:"Talia",navigation:"Talia"},cards:{title:"Karty",navigation:"Statystyki Kart"}},tournament:{standings:"Klasyfikacja",oppWinrate:"Wskaźnik zwycięstw przeciwników",oppGameWinrate:"Wygrana w grze przeciwników",gameWinrate:"Współczynnik wygranych w grze",admin:{editMatchWinner:"Edytuj zwycięzcę meczu",nextRound:{text:"Poprzednia runda zakończona. Proszę przejść do następnej rundy.",button:"Następna Runda"},wrongDeck:{text:"Gracz {name} zagrał talią, która nie została zgłoszona. Sprawdź mecz w Brackets."},start:{text:"Możesz teraz rozpocząć turniej. To automatycznie rozpocznie pierwszą rundę.",button:"Rozpocznij Turniej"}},feed:{withdrawal:"Wypłata",withdrawalMessage:"Gracz wycofał się z turnieju.",signUp:"Nowa rejestracja",matchUpdate:"Aktualizacja meczu",checkIn:"Zameldowanie",adminUpdate:"Aktualizacja administratora",created:"Tournament Utworzony",createdMessage:"Tournament został utworzony.",roundStarted:"Runda Rozpoczęta",roundStartedMessage:"Rozpoczęła się nowa runda."},timeline:{registration:{title:"Rejestracja",description:"Rejestracja na turniej jest otwarta. Zapisz się teraz!"},checkIn:{title:"Zgłoś się"},start:{title:"Start",description:"Tournament rozpoczął się!"},end:{title:"Zakończone",description:"Tournament zakończony."}},prompt:{checkedIn:{text:"Jesteś zameldowany na turnieju.",button:"Przejdź do strony uczestnika"},registered:{text:"Jesteś zarejestrowany na turniej.",button:"Zameldowanie"},signUp:{text:"Zarejestruj się, aby wziąć udział w tym turnieju.",button:"Zarejestruj się"}},errors:{notLoggedIn:"Musisz być zalogowany, aby zapisać się na turniej."},decksSubmission:{heading:"Zgłaszanie talii",description:"Prześlij swoje talie na turniej.",submitDecks:"Zgłoś talie",decksAreDue:"Zgłoszenia talii są do"},participant:{banDecks:{heading:"Zabronione talie",submit:"Zatwierdź Ban | Zatwierdź Bany"},playMatch:{heading:"Zagraj w Mecz"}}},profile:{winrateOverTime:"Wskaźnik zwycięstw w czasie",winrateByChampion:"Winrate według Bohatera",winrateByRegion:"Winrate według regionu",winrateByRoundAttacking:"Winrate według rundy atakującej",winrateAgainstChampion:"Procent zwycięstw przeciwko bohaterowi",winrateAgainstRegion:"Procent zwycięstw w regionie",commonOpponents:"Typowi Przeciwnicy"},navigation:{searchPlaceholder:"Szukaj kart lub graczy",subscriptionStatus:"{type} {event} w {days}d"},ads:{supportLorgg:"Wsparcie LOR.GG",disableAdBlock:"Proszę wyłączyć blokadę reklam",considerDonating:"Rozważ wsparcie",considerDonatingOr:"Albo rozważ wsparcie nas darowizną",considerPremium:"Rozważ Premium",premiumModal:{title:"Wspieraj LOR.GG",benefits:{title:"Korzyści premium:",noAds:"Doświadczenie bez reklam",supportDevelopment:"Wspieraj bieżący rozwój",exclusiveFeatures:"Dostęp do ekskluzywnych funkcji"},close:"Zamknij",buyPremium:"Zdobądź Premium"}},premium:{loading:"Ładowanie subskrypcji...",title:"Subskrypcje LOR.GG",loginToSubscribe:"Zaloguj się z Riot, aby subskrybować",verifyToSubscribe:"Zweryfikuj e-mail, aby subskrybować",verifyHint:"Akcje płatności są dostępne po weryfikacji adresu e-mail.",loadingPaymentUi:"Ładowanie interfejsu płatności...",cancelAutoRenew:"Anuluj automatyczne odnawianie",resumeAutoRenew:"Wznów automatyczne odnawianie",updatePaymentMethod:"Zaktualizuj metodę płatności",cancelCompleted:"Automatyczne odnawianie wyłączone.",resumeCompleted:"Auto-odnowienie wznowione.",subscriptionStatus:"Twoja subskrypcja {event} za {days} dzień(i).",subscriptionEvent:{renews:"odnawia",cancels:"anulowania"},errors:{loadPayment:"Nie można teraz załadować interfejsu płatności.",loadSubscription:"Nie można załadować szczegółów subskrypcji.",cancel:"Nie udało się anulować automatycznego odnawiania.",resume:"Nie udało się wznowić automatycznego odnawiania."},adFree:{title:"Bez reklam",price:"0,99 USD / miesiąc",changeAction:"Przejdź na wersję bez reklam",feature1:"Usuwa reklamy na całej stronie",feature2:"Wspiera ciągły rozwój"},premium:{title:"Premium",price:"$2.99 / miesiąc",changeAction:"Zaktualizuj do Premium",feature1:"Bez reklam",feature2:"Opcje personalizacji",feature3:"Zaawansowane filtrowanie",feature4:"Organizuj Nielimitowane Turnieje"}}},s8={cardLottery:{setBanner:"Definir como banner",setIcon:"Definir como ícone",openAnother:"Abrir outro"},cards:{roundDrawn:"Rodada comprada",roundPlayed:"Rodada jogada",card:"Carta",cards:"Cartas",inclusion:"Inclusão",avgCopies:"Cópias méd.",mulliganWinrate:"Winrate de Mulligan",keptInMulligan:"Mantida no Mulligan",drawnWinrate:"Winrate ao comprar",turnPlayed:"Turno jogado",turnsHeld:"Turnos na mão",recommendedDecks:"Decks recomendados",similarCards:"Cartas similares",attack:"Ataque",health:"Vida",quantityOwned:"Quantidade possuída",cost:"Custo"},deck:{copyDeckCode:"Copiar código do deck",deckCodeCopied:"Código do deck copiado",deleteDeck:"Excluir deck",deleteDeckConfirmation:"Tem certeza de que deseja excluir este deck?",editDeckName:"Editar nome do deck",signInToUpload:"Faça login para enviar o deck",uploadDeckToLor:"Enviar deck para Legends of Runeterra",deckUploaded:"Deck enviado!",updatePrivacy:"Atualizar privacidade do deck",deckPrivate:"Atualmente privado",deckPublic:"Atualmente público",openInDeckBuilder:"Abrir no construtor de decks",numManaCards:"{num} cartas de mana",simulateMulligan:"Simular Mulligan",replaceAllCards:"Substituir todas as cartas",replaceSelectedCards:"Substituir cartas selecionadas",personalCost:"Custo pessoal",originalCost:"Custo original",openArchetypePage:"Abrir página do arquétipo",shareDeck:"Compartilhar deck",showPreview:"Mostrar prévia do deck"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`Já existe um deck com este nome.
|
|
51
|
+
Bez obaw — możesz zdobyć więcej, korzystając z poniższych metod!`,cards:{option1:"Loguj się co tydzień do LOR.GG i otrzymuj 10 pakietów kart.",option2:"Każda synchronizacja przesyła Twoje ostatnie 20 meczów. Zyskaj 1 pakiet za każde 2 zsynchronizowane mecze!",option3:"Masz dość czekania na idealną kartę? Przejdź na premium i ustaw dowolną kartę jako ikonę lub baner!"}},settings:{privacy:"Prywatność",privateProfile:"Profil prywatny",privateProfileDesc:"Po włączeniu tej opcji szczegóły profilu nie będą widoczne. Publiczne talie nadal będą wyświetlane.",email:"E-mail",resendVerification:"Wyślij weryfikację ponownie",account:"Konto",payment:"Płatność",personalization:"Personalizacja",images:"Obrazy",banner:"Baner",bannerDesc:"Banery można zdobyć w zakładce „Pakiety kart”. Są widoczne na profilu i w rankingu.",bannerDescPremium:"Dzięki premium możesz ustawić dowolną kartę jako baner.",icon:"Ikona",iconDesc:"Ikony można zdobyć w zakładce „Pakiety kart”. Są widoczne na profilu.",iconDescPremium:"Dzięki premium możesz ustawić dowolną kartę jako ikonę.",color:"Kolor",colorDesc:"Wyróżnij się swoim ulubionym kolorem. Widoczny wszędzie tam, gdzie wyświetlany jest baner.",colorDescPremium:"Kolor dostępny tylko dla użytkowników premium."},general:{manaCost:"Koszt many",cost:"Koszt",regions:"Regiony",clear:"Wyczyść",clearAll:"Wyczyść wszystko",copy:"Kopiuj",patch:"Patch",matches:"Mecze",wins:"Zwycięstwa",losses:"Porażki",winrate:"Winrate",quantity:"Ilość",round:"Runda",total:"Łącznie",champion:"Czempion",follower:"Jednostka",spell:"Zaklęcie",landmark:"Punkt orientacyjny",equipment:"Ekwipunek",champions:"Czempioni",followers:"Jednostki",spells:"Zaklęcia",landmarks:"Punkty orientacyjne",equipments:"Ekwipunek",statistics:"Statystyki",advanced:"Zaawansowane",newAdvancedFilter:"Nowy filtr zaawansowany",types:"Typy",rarities:"Rzadkości",sets:"Zestawy",keywords:"Słowa kluczowe",pastDays:"Ostatnie {count} dni",pastHours:"Ostatnie {count} godzin",pastHour:"Ostatnia godzina",season:"Sezon",servers:"Serwery",sampleSize:"Wielkość próby",minimumMatches:"Minimalna liczba meczów",ranks:"Rangi",allRanks:"Wszystkie rangi",platPlus:"Platyna+",deck:"Talia",manaCurve:"Krzywa many",name:"Nazwa",updated:"Zaktualizowano",created:"Utworzono",card:"Karta",cards:"Karty",inclusion:"Użycie",avgCopies:"Śr. kopii",turnsHeld:"Tury w ręce",mulliganWinrate:"WR mulliganu",keptInMulligan:"Zachowana w mulliganie",drawnWinrate:"Winrate po dobraniu",turnPlayed:"Tura zagrania",playrate:"Użycie",deckDifferences:"Różnice talii",player:"Gracz",lp:"LP",change:"Zmiana",favoriteDeck:"Ulubiona talia",server:"Serwer",players:"Gracze",time:"Czas",type:"Typ",rarity:"Rzadkość",archetypes:"Archetypy",archetype:"Archetyp",profile:"Profil",leaderboard:"Ranking",victory:"Zwycięstwo",defeat:"Porażka",newCards:"Nowe karty",signIn:"Zaloguj się",syncUserData:"Synchronizuj dane użytkownika",settings:"Ustawienia",gamesPlayed:"Rozegrane gry",premium:"Premium",renews:"Odnawia się",expires:"Wygasa",getPremium:"Zdobądź Premium!",becomeTheMaster:"Zostań mistrzem",format:"Format",otherFormats:"Inne formaty",queues:"Kolejki",save:"Zapisz",captureImage:"Zapisz obraz",deckCode:"Kod talii",library:"Biblioteka",openCards:"Otwórz pakiety kart",attackingFirst:"Atakuje pierwszy",attackingSecond:"Atakuje drugi",overall:"Ogólnie",list:"Lista",graph:"Wykres",decks:"Talie",popularityTimeline:"Zmiany popularności",overallWinrate:"Ogólny winrate",deckLibrary:"Biblioteka talii",deckBuilder:"Kreator talii",inclusionTimeline:"Zmiany użycia",winrateTimeline:"Zmiany winrate",winrateByGamesPlayed:"Winrate wg liczby gier",meta:"Meta",youHave:"Posiadasz: ",holdShiftForAssociated:"Przytrzymaj Shift, aby zobaczyć powiązane karty",cardArt:"Grafika karty",regionDistribution:"Rozkład regionów",noResults:"Brak wyników",tryAgain:"Zmień filtry i spróbuj ponownie.",createdAt:"Utworzono",updatedAt:"Zaktualizowano",page:"Strona",deckStats:"Statystyki talii",cardStats:"Statystyki karty",cardGallery:"Galeria kart",close:"Zamknij",overwrite:"Nadpisz",rename:"Zmień nazwę",view:"Zobacz",mustBeLoggedIn:"Musisz być zalogowany, aby wykonać tę akcję.",uploadFailed:"Przesyłanie nieudane",successfullyUploaded:"Pomyślnie przesłano",cardLottery:"Loteria kart",confirm:"Potwierdź",verified:"Zweryfikowany",notVerified:"Niezweryfikowany",patches:"Patche",seasons:"Sezony",premiumBarrier:"Aby korzystać z tych filtrów, musisz mieć premium.",verificationEmailSent:"Wysłano e-mail weryfikacyjny.",updateEmail:"Zaktualizuj e-mail",text:"Tekst",syncingInProgress:"Synchronizacja w toku",matchRecord:"Historia meczów",gameRecord:"Historia gier",vs:"vs",game:"Gra",tie:"Remis",submit:"Wyślij",attackTokenOddsWr:"Token Ataku: Szansa na Wygraną",attackTokenEvensWr:"Token Ataku: Wygrane Parzyste",current:"Aktualny"},descriptions:{deckDecks:'Znajdź talie podobne do "{title}" dla zróżnicowanych opcji rozgrywki.',meta:"Bądź na bieżąco z nieustannie ewoluującą metą w Legends of Runeterra. Uzyskaj wgląd w najlepsze strategie i talie."},landing:{tagLine:"Wyznacz swoją drogę do zwycięstwa",newCards:{title:"Nowe Karty",navigation:"Śledzenie Odkryć"},builtDecks:{title:"Stworzone przez użytkowników talie",navigation:"Biblioteka Decków"},deckBuilder:{title:"Budowniczy",navigation:"Budowniczy Talii"},leaderboard:{title:"Ranking",navigation:"Ranking"},meta:{title:"Archetypy",navigation:"Meta"},decks:{title:"Talia",navigation:"Talia"},cards:{title:"Karty",navigation:"Statystyki Kart"}},tournament:{standings:"Klasyfikacja",oppWinrate:"Wskaźnik zwycięstw przeciwników",oppGameWinrate:"Wygrana w grze przeciwników",gameWinrate:"Współczynnik wygranych w grze",admin:{editMatchWinner:"Edytuj zwycięzcę meczu",nextRound:{text:"Poprzednia runda zakończona. Proszę przejść do następnej rundy.",button:"Następna Runda"},wrongDeck:{text:"Gracz {name} zagrał talią, która nie została zgłoszona. Sprawdź mecz w Brackets."},start:{text:"Możesz teraz rozpocząć turniej. To automatycznie rozpocznie pierwszą rundę.",button:"Rozpocznij Turniej"}},feed:{withdrawal:"Wypłata",withdrawalMessage:"Gracz wycofał się z turnieju.",signUp:"Nowa rejestracja",matchUpdate:"Aktualizacja meczu",checkIn:"Zameldowanie",adminUpdate:"Aktualizacja administratora",created:"Tournament Utworzony",createdMessage:"Tournament został utworzony.",roundStarted:"Runda Rozpoczęta",roundStartedMessage:"Rozpoczęła się nowa runda."},timeline:{registration:{title:"Rejestracja",description:"Rejestracja na turniej jest otwarta. Zapisz się teraz!"},checkIn:{title:"Zgłoś się"},start:{title:"Start",description:"Tournament rozpoczął się!"},end:{title:"Zakończone",description:"Tournament zakończony."}},prompt:{checkedIn:{text:"Jesteś zameldowany na turnieju.",button:"Przejdź do strony uczestnika"},registered:{text:"Jesteś zarejestrowany na turniej.",button:"Zameldowanie"},signUp:{text:"Zarejestruj się, aby wziąć udział w tym turnieju.",button:"Zarejestruj się"}},errors:{notLoggedIn:"Musisz być zalogowany, aby zapisać się na turniej."},decksSubmission:{heading:"Zgłaszanie talii",description:"Prześlij swoje talie na turniej.",submitDecks:"Zgłoś talie",decksAreDue:"Zgłoszenia talii są do"},participant:{banDecks:{heading:"Zabronione talie",submit:"Zatwierdź Ban | Zatwierdź Bany"},playMatch:{heading:"Zagraj w Mecz"}}},profile:{winrateOverTime:"Wskaźnik zwycięstw w czasie",winrateByChampion:"Winrate według Bohatera",winrateByRegion:"Winrate według regionu",winrateByRoundAttacking:"Winrate według rundy atakującej",winrateAgainstChampion:"Procent zwycięstw przeciwko bohaterowi",winrateAgainstRegion:"Procent zwycięstw w regionie",commonOpponents:"Typowi Przeciwnicy"},navigation:{searchPlaceholder:"Szukaj kart lub graczy",subscriptionStatus:"{type} {event} w {days}d"},ads:{supportLorgg:"Wsparcie LOR.GG",disableAdBlock:"Proszę wyłączyć blokadę reklam",considerDonating:"Rozważ wsparcie",considerDonatingOr:"Albo rozważ wsparcie nas darowizną",considerPremium:"Rozważ Premium",premiumModal:{title:"Wspieraj LOR.GG",benefits:{title:"Korzyści premium:",noAds:"Doświadczenie bez reklam",supportDevelopment:"Wspieraj bieżący rozwój",exclusiveFeatures:"Dostęp do ekskluzywnych funkcji"},close:"Zamknij",buyPremium:"Zdobądź Premium"}},premium:{loading:"Ładowanie subskrypcji...",title:"Subskrypcje LOR.GG",loginToSubscribe:"Zaloguj się z Riot, aby subskrybować",verifyToSubscribe:"Zweryfikuj e-mail, aby subskrybować",verifyHint:"Akcje płatności są dostępne po weryfikacji adresu e-mail.",loadingPaymentUi:"Ładowanie interfejsu płatności...",cancelAutoRenew:"Anuluj automatyczne odnawianie",resumeAutoRenew:"Wznów automatyczne odnawianie",updatePaymentMethod:"Zaktualizuj metodę płatności",cancelCompleted:"Automatyczne odnawianie wyłączone.",resumeCompleted:"Auto-odnowienie wznowione.",subscriptionStatus:"Twoja subskrypcja {event} za {days} dzień(i).",subscriptionEvent:{renews:"odnawia",cancels:"anulowania"},errors:{loadPayment:"Nie można teraz załadować interfejsu płatności.",loadSubscription:"Nie można załadować szczegółów subskrypcji.",cancel:"Nie udało się anulować automatycznego odnawiania.",resume:"Nie udało się wznowić automatycznego odnawiania."},adFree:{title:"Bez reklam",price:"0,99 USD / miesiąc",changeAction:"Przejdź na wersję bez reklam",feature1:"Usuwa reklamy na całej stronie",feature2:"Wspiera ciągły rozwój"},premium:{title:"Premium",price:"$2.99 / miesiąc",changeAction:"Zaktualizuj do Premium",feature1:"Bez reklam",feature2:"Opcje personalizacji",feature3:"Zaawansowane filtrowanie",feature4:"Organizuj Nielimitowane Turnieje"}}},s8={cardLottery:{setBanner:"Definir como banner",setIcon:"Definir como ícone",openAnother:"Abrir outro"},cards:{roundDrawn:"Rodada comprada",roundPlayed:"Rodada jogada",card:"Carta",cards:"Cartas",inclusion:"Inclusão",avgCopies:"Cópias méd.",mulliganWinrate:"Winrate de Mulligan",keptInMulligan:"Mantida no Mulligan",drawnWinrate:"Winrate ao comprar",turnPlayed:"Turno jogado",turnsHeld:"Turnos na mão",recommendedDecks:"Decks recomendados",similarCards:"Cartas similares",attack:"Ataque",health:"Vida",quantityOwned:"Quantidade possuída",cost:"Custo"},deck:{copyDeckCode:"Copiar código do deck",deckCodeCopied:"Código do deck copiado",deleteDeck:"Excluir deck",deleteDeckConfirmation:"Tem certeza de que deseja excluir este deck?",editDeckName:"Editar nome do deck",signInToUpload:"Faça login para enviar o deck",uploadDeckToLor:"Enviar deck para Legends of Runeterra",deckUploaded:"Deck enviado!",updatePrivacy:"Atualizar privacidade do deck",deckPrivate:"Atualmente privado",deckPublic:"Atualmente público",openInDeckBuilder:"Abrir no construtor de decks",numManaCards:"{num} cartas de mana",simulateMulligan:"Simular Mulligan",replaceAllCards:"Substituir todas as cartas",replaceSelectedCards:"Substituir cartas selecionadas",personalCost:"Custo pessoal",originalCost:"Custo original",openArchetypePage:"Abrir página do arquétipo",shareDeck:"Compartilhar deck",showPreview:"Mostrar prévia do deck"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`Já existe um deck com este nome.
|
|
52
52
|
Deseja sobrescrever a versão anterior?`,deckCreated:"Deck criado",inputDeckCode:"Colar código do deck"},leaderboard:{totalPlayers:"Total de jogadores",lp:"LP",rank:"Classificação",updated:"Atualizado"},personalization:{noGiftsAvailable:"Nenhum pacote disponível",noGiftsAvailableDesc:`Ah não!
|
|
53
53
|
Você ficou sem pacotes de cartas!
|
|
54
|
-
Não se preocupe, é possível ganhar mais usando os métodos abaixo!`,cards:{option1:"Faça login no LOR.GG a cada semana para receber 10 pacotes de cartas.",option2:"Cada sincronização envia suas últimas 20 partidas. Ganhe 1 pacote a cada 2 partidas sincronizadas!",option3:"Cansado de esperar pela carta perfeita? Faça upgrade para premium e use qualquer carta como ícone ou banner!"}},settings:{privacy:"Privacidade",privateProfile:"Perfil privado",privateProfileDesc:"Ao ativar, os detalhes do perfil não serão exibidos. Decks públicos continuarão visíveis.",email:"E-mail",resendVerification:"Reenviar verificação",account:"Conta",payment:"Pagamento",personalization:"Personalização",images:"Imagens",banner:"Banner",bannerDesc:'Os banners podem ser obtidos na aba "Pacotes de cartas". Eles aparecem no perfil e na classificação.',bannerDescPremium:"Com premium, você pode definir qualquer carta como banner.",icon:"Ícone",iconDesc:'Os ícones podem ser obtidos na aba "Pacotes de cartas". Eles aparecem no seu perfil.',iconDescPremium:"Com premium, você pode definir qualquer carta como ícone.",color:"Cor",colorDesc:"Destaque-se com sua cor favorita. Exibida onde o banner aparecer.",colorDescPremium:"A seleção de cores é exclusiva para usuários premium."},general:{manaCost:"Custo de mana",cost:"Custo",regions:"Regiões",clear:"Limpar",clearAll:"Limpar tudo",copy:"Copiar",patch:"Patch",matches:"Partidas",wins:"Vitórias",losses:"Derrotas",winrate:"Winrate",quantity:"Quantidade",round:"Rodada",total:"Total",champion:"Campeão",follower:"Seguidor",spell:"Feitiço",landmark:"Marco",equipment:"Equipamento",champions:"Campeões",followers:"Seguidores",spells:"Feitiços",landmarks:"Marcos",equipments:"Equipamentos",statistics:"Estatísticas",advanced:"Avançado",newAdvancedFilter:"Novo filtro avançado",types:"Tipos",rarities:"Raridades",sets:"Conjuntos",keywords:"Palavras-chave",pastDays:"Últimos {count} dias",pastHours:"Últimas {count} horas",pastHour:"Última hora",season:"Temporada",servers:"Servidores",sampleSize:"Tamanho da amostra",minimumMatches:"Partidas mínimas",ranks:"Classificações",allRanks:"Todas as classificações",platPlus:"Platina+",deck:"Deck",manaCurve:"Curva de mana",name:"Nome",updated:"Atualizado",created:"Criado",card:"Carta",cards:"Cartas",inclusion:"Inclusão",avgCopies:"Cópias méd.",turnsHeld:"Turnos na mão",mulliganWinrate:"WR de Mulligan",keptInMulligan:"Mantida no Mulligan",drawnWinrate:"Winrate ao comprar",turnPlayed:"Turno jogado",playrate:"Taxa de uso",deckDifferences:"Diferenças do deck",player:"Jogador",lp:"LP",change:"Alteração",favoriteDeck:"Deck favorito",server:"Servidor",players:"Jogadores",time:"Tempo",type:"Tipo",rarity:"Raridade",archetypes:"Arquétipos",archetype:"Arquétipo",profile:"Perfil",leaderboard:"Classificação",victory:"Vitória",defeat:"Derrota",newCards:"Novas cartas",signIn:"Entrar",syncUserData:"Sincronizar dados do usuário",settings:"Configurações",gamesPlayed:"Partidas jogadas",premium:"Premium",renews:"Renova",expires:"Expira",getPremium:"Obter Premium!",becomeTheMaster:"Torne-se o mestre",format:"Formato",otherFormats:"Outros formatos",queues:"Filas",save:"Salvar",captureImage:"Capturar imagem",deckCode:"Código do deck",library:"Biblioteca",openCards:"Abrir pacotes de cartas",attackingFirst:"Atacando primeiro",attackingSecond:"Atacando segundo",overall:"Geral",list:"Lista",graph:"Gráfico",decks:"Decks",popularityTimeline:"Linha do tempo de popularidade",overallWinrate:"Winrate geral",deckLibrary:"Biblioteca de decks",deckBuilder:"Construtor de decks",inclusionTimeline:"Linha do tempo de inclusão",winrateTimeline:"Linha do tempo de winrate",winrateByGamesPlayed:"Winrate por partidas jogadas",meta:"Meta",youHave:"Você tem: ",holdShiftForAssociated:"Segure Shift para ver cartas associadas",cardArt:"Arte da carta",regionDistribution:"Distribuição por região",noResults:"Nenhum resultado",tryAgain:"Ajuste os filtros e tente novamente.",createdAt:"Criado em",updatedAt:"Atualizado em",page:"Página",deckStats:"Estatísticas do deck",cardStats:"Estatísticas da carta",cardGallery:"Galeria de cartas",close:"Fechar",overwrite:"Sobrescrever",rename:"Renomear",view:"Visualizar",mustBeLoggedIn:"Você precisa estar logado para concluir esta ação.",uploadFailed:"Falha no envio",successfullyUploaded:"Enviado com sucesso",cardLottery:"Loteria de cartas",confirm:"Confirmar",verified:"Verificado",notVerified:"Não verificado",patches:"Patches",seasons:"Temporadas",premiumBarrier:"Você precisa ser um usuário premium para acessar esses filtros.",verificationEmailSent:"E-mail de verificação enviado.",updateEmail:"Atualizar e-mail",text:"Texto",syncingInProgress:"Sincronização em andamento",matchRecord:"Histórico de partidas",gameRecord:"Histórico de jogos",vs:"vs",game:"Jogo",tie:"Empate",submit:"Enviar",attackTokenOddsWr:"Token de Ataque: Odds Winrate",attackTokenEvensWr:"Token de Ataque: Taxa de Vitória em Números Pares"},descriptions:{deckDecks:'Encontre decks semelhantes a "{title}" para opções de jogabilidade variadas.',meta:"Fique por dentro do meta em constante evolução em Legends of Runeterra. Obtenha insights sobre as melhores estratégias e decks."},landing:{tagLine:"Trace seu Caminho para a Vitória",newCards:{title:"Novas Cartas",navigation:"Rastreador de Revelações"},builtDecks:{title:"Decks Criados pelo Usuário",navigation:"Biblioteca de Decks"},deckBuilder:{title:"Construtor",navigation:"Construtor de Deck"},leaderboard:{title:"Classificação",navigation:"Classificação"},meta:{title:"Arquetipos",navigation:"Meta"},decks:{title:"Decks",navigation:"Baralhos"},cards:{title:`landing.cards.title
|
|
54
|
+
Não se preocupe, é possível ganhar mais usando os métodos abaixo!`,cards:{option1:"Faça login no LOR.GG a cada semana para receber 10 pacotes de cartas.",option2:"Cada sincronização envia suas últimas 20 partidas. Ganhe 1 pacote a cada 2 partidas sincronizadas!",option3:"Cansado de esperar pela carta perfeita? Faça upgrade para premium e use qualquer carta como ícone ou banner!"}},settings:{privacy:"Privacidade",privateProfile:"Perfil privado",privateProfileDesc:"Ao ativar, os detalhes do perfil não serão exibidos. Decks públicos continuarão visíveis.",email:"E-mail",resendVerification:"Reenviar verificação",account:"Conta",payment:"Pagamento",personalization:"Personalização",images:"Imagens",banner:"Banner",bannerDesc:'Os banners podem ser obtidos na aba "Pacotes de cartas". Eles aparecem no perfil e na classificação.',bannerDescPremium:"Com premium, você pode definir qualquer carta como banner.",icon:"Ícone",iconDesc:'Os ícones podem ser obtidos na aba "Pacotes de cartas". Eles aparecem no seu perfil.',iconDescPremium:"Com premium, você pode definir qualquer carta como ícone.",color:"Cor",colorDesc:"Destaque-se com sua cor favorita. Exibida onde o banner aparecer.",colorDescPremium:"A seleção de cores é exclusiva para usuários premium."},general:{manaCost:"Custo de mana",cost:"Custo",regions:"Regiões",clear:"Limpar",clearAll:"Limpar tudo",copy:"Copiar",patch:"Patch",matches:"Partidas",wins:"Vitórias",losses:"Derrotas",winrate:"Winrate",quantity:"Quantidade",round:"Rodada",total:"Total",champion:"Campeão",follower:"Seguidor",spell:"Feitiço",landmark:"Marco",equipment:"Equipamento",champions:"Campeões",followers:"Seguidores",spells:"Feitiços",landmarks:"Marcos",equipments:"Equipamentos",statistics:"Estatísticas",advanced:"Avançado",newAdvancedFilter:"Novo filtro avançado",types:"Tipos",rarities:"Raridades",sets:"Conjuntos",keywords:"Palavras-chave",pastDays:"Últimos {count} dias",pastHours:"Últimas {count} horas",pastHour:"Última hora",season:"Temporada",servers:"Servidores",sampleSize:"Tamanho da amostra",minimumMatches:"Partidas mínimas",ranks:"Classificações",allRanks:"Todas as classificações",platPlus:"Platina+",deck:"Deck",manaCurve:"Curva de mana",name:"Nome",updated:"Atualizado",created:"Criado",card:"Carta",cards:"Cartas",inclusion:"Inclusão",avgCopies:"Cópias méd.",turnsHeld:"Turnos na mão",mulliganWinrate:"WR de Mulligan",keptInMulligan:"Mantida no Mulligan",drawnWinrate:"Winrate ao comprar",turnPlayed:"Turno jogado",playrate:"Taxa de uso",deckDifferences:"Diferenças do deck",player:"Jogador",lp:"LP",change:"Alteração",favoriteDeck:"Deck favorito",server:"Servidor",players:"Jogadores",time:"Tempo",type:"Tipo",rarity:"Raridade",archetypes:"Arquétipos",archetype:"Arquétipo",profile:"Perfil",leaderboard:"Classificação",victory:"Vitória",defeat:"Derrota",newCards:"Novas cartas",signIn:"Entrar",syncUserData:"Sincronizar dados do usuário",settings:"Configurações",gamesPlayed:"Partidas jogadas",premium:"Premium",renews:"Renova",expires:"Expira",getPremium:"Obter Premium!",becomeTheMaster:"Torne-se o mestre",format:"Formato",otherFormats:"Outros formatos",queues:"Filas",save:"Salvar",captureImage:"Capturar imagem",deckCode:"Código do deck",library:"Biblioteca",openCards:"Abrir pacotes de cartas",attackingFirst:"Atacando primeiro",attackingSecond:"Atacando segundo",overall:"Geral",list:"Lista",graph:"Gráfico",decks:"Decks",popularityTimeline:"Linha do tempo de popularidade",overallWinrate:"Winrate geral",deckLibrary:"Biblioteca de decks",deckBuilder:"Construtor de decks",inclusionTimeline:"Linha do tempo de inclusão",winrateTimeline:"Linha do tempo de winrate",winrateByGamesPlayed:"Winrate por partidas jogadas",meta:"Meta",youHave:"Você tem: ",holdShiftForAssociated:"Segure Shift para ver cartas associadas",cardArt:"Arte da carta",regionDistribution:"Distribuição por região",noResults:"Nenhum resultado",tryAgain:"Ajuste os filtros e tente novamente.",createdAt:"Criado em",updatedAt:"Atualizado em",page:"Página",deckStats:"Estatísticas do deck",cardStats:"Estatísticas da carta",cardGallery:"Galeria de cartas",close:"Fechar",overwrite:"Sobrescrever",rename:"Renomear",view:"Visualizar",mustBeLoggedIn:"Você precisa estar logado para concluir esta ação.",uploadFailed:"Falha no envio",successfullyUploaded:"Enviado com sucesso",cardLottery:"Loteria de cartas",confirm:"Confirmar",verified:"Verificado",notVerified:"Não verificado",patches:"Patches",seasons:"Temporadas",premiumBarrier:"Você precisa ser um usuário premium para acessar esses filtros.",verificationEmailSent:"E-mail de verificação enviado.",updateEmail:"Atualizar e-mail",text:"Texto",syncingInProgress:"Sincronização em andamento",matchRecord:"Histórico de partidas",gameRecord:"Histórico de jogos",vs:"vs",game:"Jogo",tie:"Empate",submit:"Enviar",attackTokenOddsWr:"Token de Ataque: Odds Winrate",attackTokenEvensWr:"Token de Ataque: Taxa de Vitória em Números Pares",current:"Atual"},descriptions:{deckDecks:'Encontre decks semelhantes a "{title}" para opções de jogabilidade variadas.',meta:"Fique por dentro do meta em constante evolução em Legends of Runeterra. Obtenha insights sobre as melhores estratégias e decks."},landing:{tagLine:"Trace seu Caminho para a Vitória",newCards:{title:"Novas Cartas",navigation:"Rastreador de Revelações"},builtDecks:{title:"Decks Criados pelo Usuário",navigation:"Biblioteca de Decks"},deckBuilder:{title:"Construtor",navigation:"Construtor de Deck"},leaderboard:{title:"Classificação",navigation:"Classificação"},meta:{title:"Arquetipos",navigation:"Meta"},decks:{title:"Decks",navigation:"Baralhos"},cards:{title:`landing.cards.title
|
|
55
55
|
"Cartas"`,navigation:"Estatísticas de Cartas"}},tournament:{standings:"Classificação",oppWinrate:"Taxa de Vitória dos Oponentes",oppGameWinrate:"Taxa de Vitória dos Oponentes",gameWinrate:"Taxa de Vitória",admin:{editMatchWinner:"Editar Vencedor da Partida",nextRound:{text:"A rodada anterior foi concluída. Por favor, avance para a próxima rodada.",button:"Próxima Rodada"},wrongDeck:{text:"O jogador {name} jogou um deck que não foi submetido. Revise a partida nos Brackets."},start:{text:"Você pode iniciar o torneio agora. Isso começará automaticamente a primeira rodada.",button:"Iniciar Torneio"}},feed:{withdrawal:"Retirada",withdrawalMessage:"Um jogador se retirou do torneio.",signUp:"Novo Cadastro",matchUpdate:"Atualização da Partida",checkIn:"Check-in",adminUpdate:"Atualização do Admin",created:"Torneio Criado",createdMessage:"O torneio foi criado.",roundStarted:"Rodada Iniciada",roundStartedMessage:"Uma nova rodada começou."},timeline:{registration:{title:"Registro",description:"A inscrição para o torneio está aberta. Inscreva-se agora!"},checkIn:{title:"Check-in"},start:{title:"Iniciar",description:"O torneio começou!"},end:{title:"Concluído",description:"O torneio foi concluído."}},prompt:{checkedIn:{text:"Você está registrado para o torneio.",button:"Ir para a Página do Participante"},registered:{text:"Você está registrado para o torneio.",button:"Fazer check-in"},signUp:{text:"Inscreva-se para participar deste torneio.",button:"Inscrever-se"}},errors:{notLoggedIn:"Você deve estar logado para se inscrever em um torneio."},decksSubmission:{heading:"Envio de Decks",description:"Envie seus decks para o torneio.",submitDecks:"Enviar Baralhos",decksAreDue:"As listas de cartas devem ser enviadas"},participant:{banDecks:{heading:"Banir Baralhos",submit:"Enviar Ban | Enviar Bans"},playMatch:{heading:"Jogar Partida"}}},profile:{winrateOverTime:"Taxa de Vitórias ao Longo do Tempo",winrateByChampion:"Taxa de Vitória por Campeão",winrateByRegion:"Taxa de Vitória por Região",winrateByRoundAttacking:"Taxa de Vitória por Rodada Atacando",winrateAgainstChampion:"Taxa de Vitórias Contra Campeão",winrateAgainstRegion:"Taxa de Vitória Contra a Região",commonOpponents:"Adversários Comuns"},navigation:{searchPlaceholder:"Buscar Cartas ou Jogadores",subscriptionStatus:"{type} {event} em {days}d"},ads:{supportLorgg:"Apoie o LOR.GG",disableAdBlock:"Por favor, desative o Ad Block",considerDonating:"Considere fazer uma doação",considerDonatingOr:"Ou considere fazer uma doação",considerPremium:"Ou considere o Premium",premiumModal:{title:"Supporte o LOR.GG",benefits:{title:"Benefícios Premium:",noAds:"Experiência sem anúncios",supportDevelopment:" Apoie o desenvolvimento contínuo",exclusiveFeatures:"Acesso a recursos exclusivos"},close:"Fechar",buyPremium:"Adquirir Premium"}},premium:{loading:"Carregando assinaturas...",title:"Assinaturas LOR.GG",loginToSubscribe:"Faça login com a Riot para Assinar",verifyToSubscribe:"Verifique o Email para Assinar",verifyHint:"As ações de pagamento estão disponíveis após a verificação do e-mail.",loadingPaymentUi:"Carregando a interface de pagamento...",cancelAutoRenew:"Cancelar Renovação Automática",resumeAutoRenew:"Retomar Renovação Automática",updatePaymentMethod:"Atualizar Método de Pagamento",cancelCompleted:"Renovação automática desativada.",resumeCompleted:"Renovação automática retomada.",subscriptionStatus:"Sua assinatura {event} em {days} dia(s).",subscriptionEvent:{renews:"renova",cancels:"cancela"},errors:{loadPayment:"Não é possível carregar a interface de pagamento no momento.",loadSubscription:"Não foi possível carregar os detalhes da assinatura.",cancel:"Falha ao cancelar a renovação automática.",resume:"Falha ao retomar a renovação automática."},adFree:{title:"Sem Anúncios",price:"R$0,99 / mês",changeAction:"Reverter para Sem Anúncios",feature1:"Remove anúncios em todo o site",feature2:"Suporta o Desenvolvimento Contínuo"},premium:{title:"Premium",price:"R$2,99 / mês",changeAction:"Atualizar para Premium",feature1:"Sem anúncios",feature2:"Opções de Personalização",feature3:"Filtragem Avançada",feature4:"Organize Torneios Ilimitados"}}},A8={cardLottery:{setBanner:"ตั้งเป็นแบนเนอร์",setIcon:"ตั้งเป็นไอคอน",openAnother:"เปิดอีกใบ"},cards:{roundDrawn:"รอบที่จั่ว",roundPlayed:"รอบที่เล่น",card:"การ์ด",cards:"การ์ด",inclusion:"อัตราการใช้",avgCopies:"จำนวนเฉลี่ย",mulliganWinrate:"อัตราชนะ Mulligan",keptInMulligan:"เก็บไว้ใน Mulligan",drawnWinrate:"อัตราชนะเมื่อจั่ว",turnPlayed:"เทิร์นที่เล่น",turnsHeld:"จำนวนเทิร์นที่ถือ",recommendedDecks:"เด็คแนะนำ",similarCards:"การ์ดที่คล้ายกัน",attack:"พลังโจมตี",health:"พลังชีวิต",quantityOwned:"จำนวนที่มี",cost:"ค่าใช้จ่าย"},deck:{copyDeckCode:"คัดลอกรหัสเด็ค",deckCodeCopied:"คัดลอกรหัสเด็คแล้ว",deleteDeck:"ลบเด็ค",deleteDeckConfirmation:"คุณแน่ใจหรือไม่ว่าต้องการลบเด็คนี้?",editDeckName:"แก้ไขชื่อเด็ค",signInToUpload:"กรุณาเข้าสู่ระบบเพื่ออัปโหลดเด็ค",uploadDeckToLor:"อัปโหลดเด็คไปยัง Legends of Runeterra",deckUploaded:"อัปโหลดเด็คสำเร็จ!",updatePrivacy:"อัปเดตความเป็นส่วนตัวของเด็ค",deckPrivate:"ปัจจุบันเป็นส่วนตัว",deckPublic:"ปัจจุบันเป็นสาธารณะ",openInDeckBuilder:"เปิดในตัวสร้างเด็ค",numManaCards:"{num} การ์ดมานา",simulateMulligan:"จำลอง Mulligan",replaceAllCards:"แทนที่การ์ดทั้งหมด",replaceSelectedCards:"แทนที่การ์ดที่เลือก",personalCost:"ต้นทุนส่วนตัว",originalCost:"ต้นทุนดั้งเดิม",openArchetypePage:"เปิดหน้าอาร์คีไทป์",shareDeck:"แชร์เด็ค",showPreview:"แสดงตัวอย่างเด็ค"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`มีเด็คที่ใช้ชื่อนี้อยู่แล้ว
|
|
56
56
|
คุณต้องการเขียนทับเวอร์ชันก่อนหน้าหรือไม่?`,deckCreated:"สร้างเด็คแล้ว",inputDeckCode:"วางรหัสเด็ค"},leaderboard:{totalPlayers:"ผู้เล่นทั้งหมด",lp:"LP",rank:"อันดับ",updated:"อัปเดตแล้ว"},personalization:{noGiftsAvailable:"ไม่มีแพ็กการ์ด",noGiftsAvailableDesc:`โอ้ไม่!
|
|
57
57
|
คุณไม่มีแพ็กการ์ดแล้ว!
|
|
58
|
-
ไม่ต้องกังวล คุณสามารถรับเพิ่มได้ด้วยวิธีด้านล่าง!`,cards:{option1:"เข้าสู่ระบบ LOR.GG ทุกสัปดาห์เพื่อรับแพ็กการ์ด 10 แพ็ก",option2:"ทุกครั้งที่ซิงค์ข้อมูล ระบบจะอัปโหลด 20 แมตช์ล่าสุดของคุณ รับแพ็กการ์ด 1 แพ็กต่อทุก 2 แมตช์ที่ซิงค์!",option3:"เบื่อกับการรอการ์ดที่สมบูรณ์แบบหรือยัง? อัปเกรดเป็นพรีเมียมเพื่อใช้การ์ดใดก็ได้เป็นไอคอนหรือแบนเนอร์!"}},settings:{privacy:"ความเป็นส่วนตัว",privateProfile:"โปรไฟล์ส่วนตัว",privateProfileDesc:"เมื่อเปิดใช้งาน รายละเอียดโปรไฟล์จะไม่ถูกแสดง เด็คที่ตั้งเป็นสาธารณะจะยังคงแสดงอยู่",email:"อีเมล",resendVerification:"ส่งการยืนยันอีกครั้ง",account:"บัญชี",payment:"การชำระเงิน",personalization:"การปรับแต่ง",images:"รูปภาพ",banner:"แบนเนอร์",bannerDesc:'สามารถรับแบนเนอร์ได้จากแท็บ "แพ็กการ์ด" ในเมนูนำทาง แบนเนอร์จะแสดงบนลีดเดอร์บอร์ดและโปรไฟล์',bannerDescPremium:"ผู้ใช้พรีเมียมสามารถตั้งการ์ดใดก็ได้เป็นแบนเนอร์",icon:"ไอคอน",iconDesc:'สามารถรับไอคอนได้จากแท็บ "แพ็กการ์ด" และจะแสดงบนโปรไฟล์ของคุณ',iconDescPremium:"ผู้ใช้พรีเมียมสามารถตั้งการ์ดใดก็ได้เป็นไอคอน",color:"สี",colorDesc:"แสดงตัวตนของคุณด้วยสีโปรด สีจะแสดงทุกที่ที่แบนเนอร์ปรากฏ",colorDescPremium:"สามารถเลือกสีได้เฉพาะผู้ใช้พรีเมียมเท่านั้น"},general:{manaCost:"ค่ามานา",cost:"ค่าใช้จ่าย",regions:"ภูมิภาค",clear:"ล้าง",clearAll:"ล้างทั้งหมด",copy:"คัดลอก",patch:"แพตช์",matches:"แมตช์",wins:"ชนะ",losses:"แพ้",winrate:"อัตราชนะ",quantity:"จำนวน",round:"รอบ",total:"รวม",champion:"แชมเปียน",follower:"ผู้ติดตาม",spell:"เวทมนตร์",landmark:"แลนด์มาร์ก",equipment:"อุปกรณ์",champions:"แชมเปียน",followers:"ผู้ติดตาม",spells:"เวทมนตร์",landmarks:"แลนด์มาร์ก",equipments:"อุปกรณ์",statistics:"สถิติ",advanced:"ขั้นสูง",newAdvancedFilter:"ตัวกรองขั้นสูงใหม่",types:"ประเภท",rarities:"ระดับความหายาก",sets:"เซ็ต",keywords:"คีย์เวิร์ด",pastDays:"{count} วันที่ผ่านมา",pastHours:"{count} ชั่วโมงที่ผ่านมา",pastHour:"ชั่วโมงที่ผ่านมา",season:"ฤดูกาล",servers:"เซิร์ฟเวอร์",sampleSize:"ขนาดตัวอย่าง",minimumMatches:"จำนวนแมตช์ขั้นต่ำ",ranks:"อันดับ",allRanks:"ทุกอันดับ",platPlus:"แพลทินัม+",deck:"เด็ค",manaCurve:"กราฟมานา",name:"ชื่อ",updated:"อัปเดตแล้ว",created:"สร้างแล้ว",card:"การ์ด",cards:"การ์ด",inclusion:"อัตราการใช้",avgCopies:"จำนวนเฉลี่ย",turnsHeld:"จำนวนเทิร์นที่ถือ",mulliganWinrate:"อัตราชนะ Mulligan",keptInMulligan:"เก็บไว้ใน Mulligan",drawnWinrate:"อัตราชนะเมื่อจั่ว",turnPlayed:"เทิร์นที่เล่น",playrate:"อัตราการเล่น",deckDifferences:"ความแตกต่างของเด็ค",player:"ผู้เล่น",lp:"LP",change:"การเปลี่ยนแปลง",favoriteDeck:"เด็คโปรด",server:"เซิร์ฟเวอร์",players:"ผู้เล่น",time:"เวลา",type:"ประเภท",rarity:"ความหายาก",archetypes:"อาร์คีไทป์",archetype:"อาร์คีไทป์",profile:"โปรไฟล์",leaderboard:"ลีดเดอร์บอร์ด",victory:"ชัยชนะ",defeat:"ความพ่ายแพ้",newCards:"การ์ดใหม่",signIn:"เข้าสู่ระบบ",syncUserData:"ซิงค์ข้อมูลผู้ใช้",settings:"การตั้งค่า",gamesPlayed:"เกมที่เล่น",premium:"พรีเมียม",renews:"ต่ออายุ",expires:"หมดอายุ",getPremium:"รับพรีเมียม!",becomeTheMaster:"กลายเป็นปรมาจารย์",format:"รูปแบบ",otherFormats:"รูปแบบอื่น",queues:"คิว",save:"บันทึก",captureImage:"จับภาพ",deckCode:"รหัสเด็ค",library:"คลัง",openCards:"เปิดแพ็กการ์ด",attackingFirst:"โจมตีก่อน",attackingSecond:"โจมตีทีหลัง",overall:"โดยรวม",list:"รายการ",graph:"กราฟ",decks:"เด็ค",popularityTimeline:"ไทม์ไลน์ความนิยม",overallWinrate:"อัตราชนะรวม",deckLibrary:"คลังเด็ค",deckBuilder:"ตัวสร้างเด็ค",inclusionTimeline:"ไทม์ไลน์การใช้งาน",winrateTimeline:"ไทม์ไลน์อัตราชนะ",winrateByGamesPlayed:"อัตราชนะตามจำนวนเกม",meta:"เมตา",youHave:"คุณมี: ",holdShiftForAssociated:"กด Shift ค้างไว้เพื่อดูการ์ดที่เกี่ยวข้อง",cardArt:"ภาพการ์ด",regionDistribution:"การกระจายภูมิภาค",noResults:"ไม่มีผลลัพธ์",tryAgain:"ปรับตัวกรองแล้วลองอีกครั้ง",createdAt:"สร้างเมื่อ",updatedAt:"อัปเดตเมื่อ",page:"หน้า",deckStats:"สถิติเด็ค",cardStats:"สถิติการ์ด",cardGallery:"แกลเลอรีการ์ด",close:"ปิด",overwrite:"เขียนทับ",rename:"เปลี่ยนชื่อ",view:"ดู",mustBeLoggedIn:"คุณต้องเข้าสู่ระบบเพื่อดำเนินการนี้",uploadFailed:"อัปโหลดล้มเหลว",successfullyUploaded:"อัปโหลดสำเร็จ",cardLottery:"สุ่มการ์ด",confirm:"ยืนยัน",verified:"ยืนยันแล้ว",notVerified:"ยังไม่ยืนยัน",patches:"แพตช์",seasons:"ฤดูกาล",premiumBarrier:"คุณต้องเป็นผู้ใช้พรีเมียมเพื่อใช้ตัวกรองเหล่านี้",verificationEmailSent:"ส่งอีเมลยืนยันแล้ว",updateEmail:"อัปเดตอีเมล",text:"ข้อความ",syncingInProgress:"กำลังซิงค์",matchRecord:"สถิติแมตช์",gameRecord:"สถิติเกม",vs:"vs",game:"เกม",tie:"เสมอ",submit:"ส่ง",attackTokenOddsWr:"Token การโจมตี: อัตราชนะ",attackTokenEvensWr:"Token การโจมตี: อัตราชนะคู่"},descriptions:{deckDecks:'ค้นหาเด็คที่คล้ายกับ "{title}" เพื่อทางเลือกในการเล่นที่หลากหลาย',meta:"ติดตามข้อมูลล่าสุดเกี่ยวกับเมต้าใน Legends of Runeterra ที่เปลี่ยนแปลงอยู่เสมอ รับข้อมูลเชิงลึกเกี่ยวกับกลยุทธ์และเด็คที่ดีที่สุด"},landing:{tagLine:"กำหนดเส้นทางสู่ชัยชนะ",newCards:{title:"การ์ดใหม่",navigation:"ตัวติดตามการเปิดเผย"},builtDecks:{title:"เด็คที่ผู้ใช้สร้างขึ้น",navigation:"ห้องสมุดเด็ค"},deckBuilder:{title:"สร้างเด็ค",navigation:"สร้างเด็ค"},leaderboard:{title:"กระดานผู้นำ",navigation:"กระดานผู้นำ"},meta:{title:"อาร์เคไทป์",navigation:"เมต้า"},decks:{title:"เด็ค",navigation:"เด็ค"},cards:{title:"การ์ด",navigation:"สถิติการ์ด"}},tournament:{standings:"อันดับ",oppWinrate:"อัตราชนะของคู่ต่อสู้",oppGameWinrate:"อัตราชนะของคู่ต่อสู้",gameWinrate:"อัตราชนะเกม",admin:{editMatchWinner:"แก้ไขผู้ชนะการแข่งขัน",nextRound:{text:"รอบก่อนหน้านี้ได้สิ้นสุดลงแล้ว กรุณาไปยังรอบถัดไป",button:"รอบถัดไป"},wrongDeck:{text:"ผู้เล่น {name} ใช้เด็คที่ไม่ได้ส่งเข้ามา ตรวจสอบการแข่งขันใน Brackets."},start:{text:"คุณสามารถเริ่มการแข่งขันได้แล้วตอนนี้ ซึ่งจะเริ่มรอบแรกโดยอัตโนมัติ",button:"เริ่มการแข่งขัน"}},feed:{withdrawal:"ถอนเงิน",withdrawalMessage:"ผู้เล่นได้ถอนตัวออกจากการแข่งขันแล้ว",signUp:"ลงทะเบียนใหม่",matchUpdate:"อัปเดตการแข่งขัน",checkIn:"เช็คอิน",adminUpdate:"การอัปเดตของผู้ดูแลระบบ",created:"สร้างทัวร์นาเมนต์แล้ว",createdMessage:"ทัวร์นาเมนต์ได้ถูกสร้างขึ้นแล้ว",roundStarted:"เริ่มรอบแล้ว",roundStartedMessage:"รอบใหม่เริ่มต้นขึ้นแล้ว"},timeline:{registration:{title:"การลงทะเบียน",description:"การลงทะเบียนสำหรับการแข่งขันเปิดอยู่ ลงทะเบียนตอนนี้เลย!"},checkIn:{title:"เช็คอิน"},start:{title:"เริ่มต้น",description:"ทัวร์นาเมนต์เริ่มต้นแล้ว!"},end:{title:"สิ้นสุดแล้ว",description:"การแข่งขันได้สิ้นสุดลงแล้ว"}},prompt:{checkedIn:{text:"คุณได้ลงทะเบียนเข้าร่วมการแข่งขันแล้ว",button:"ไปที่หน้าผู้เข้าร่วม"},registered:{text:"คุณได้ลงทะเบียนสำหรับการแข่งขันแล้ว",button:"เช็คอิน"},signUp:{text:"ลงทะเบียนเพื่อเข้าร่วมการแข่งขันนี้",button:"ลงทะเบียน"}},errors:{notLoggedIn:"คุณต้องเข้าสู่ระบบเพื่อสมัครเข้าร่วมการแข่งขัน"},decksSubmission:{heading:"การส่งการ์ดชุด",description:"ส่งเด็คของคุณสำหรับการแข่งขัน",submitDecks:"ส่งเด็ค",decksAreDue:"การส่งเด็คต้องเสร็จสิ้น"},participant:{banDecks:{heading:"แบนเด็ค",submit:"ส่งการแบน | ส่งการแบน"},playMatch:{heading:"เล่นแมตช์"}}},profile:{winrateOverTime:"อัตราชนะตามเวลา",winrateByChampion:"อัตราชนะตามแชมป์",winrateByRegion:"อัตราชนะตามภูมิภาค",winrateByRoundAttacking:"อัตราชนะตามรอบที่โจมตี",winrateAgainstChampion:"อัตราชนะกับแชมเปี้ยน",winrateAgainstRegion:"อัตราชนะเมื่อเทียบกับภูมิภาค",commonOpponents:"คู่ต่อสู้ที่พบเจอบ่อย"},navigation:{searchPlaceholder:"ค้นหาการ์ดหรือผู้เล่น",subscriptionStatus:"{type} {event} ใน {days}d"},ads:{supportLorgg:"สนับสนุน LOR.GG",disableAdBlock:"กรุณาปิดการบล็อกโฆษณา",considerDonating:"พิจารณาบริจาค",considerDonatingOr:"หรือพิจารณาบริจาค",considerPremium:"หรือพิจารณา Premium",premiumModal:{title:"สนับสนุน LOR.GG",benefits:{title:"สิทธิประโยชน์พรีเมียม:",noAds:"ประสบการณ์ที่ไม่มีโฆษณา",supportDevelopment:"สนับสนุนการพัฒนาอย่างต่อเนื่อง",exclusiveFeatures:"เข้าถึงฟีเจอร์พิเศษ"},close:"ปิด",buyPremium:"ซื้อพรีเมียม"}},premium:{loading:"กำลังโหลดการสมัครสมาชิก...",title:"LOR.GG การสมัครสมาชิก",loginToSubscribe:"เข้าสู่ระบบด้วย Riot เพื่อสมัครสมาชิก",verifyToSubscribe:"ยืนยันอีเมลเพื่อสมัครสมาชิก",verifyHint:"การชำระเงินจะสามารถทำได้หลังจากการยืนยันอีเมลแล้ว",loadingPaymentUi:"กำลังโหลด UI การชำระเงิน...",cancelAutoRenew:"ยกเลิกการต่ออายุอัตโนมัติ",resumeAutoRenew:"กลับมาเปิดใช้งานการต่ออายุอัตโนมัติ",updatePaymentMethod:"อัปเดตวิธีการชำระเงิน",cancelCompleted:"ปิดการต่ออายุอัตโนมัติแล้ว",resumeCompleted:"การต่ออายุอัตโนมัติได้เริ่มขึ้นอีกครั้งแล้ว",subscriptionStatus:"การสมัครสมาชิกของคุณ {event} ใน {days} วัน",subscriptionEvent:{renews:"ต่ออายุ",cancels:"ยกเลิก"},errors:{loadPayment:"ไม่สามารถโหลดหน้าชำระเงินได้ในขณะนี้",loadSubscription:"ไม่สามารถโหลดรายละเอียดการสมัครสมาชิกได้",cancel:"ไม่สามารถยกเลิกการต่ออายุอัตโนมัติได้",resume:"ไม่สามารถเริ่มการต่ออายุอัตโนมัติได้"},adFree:{title:"ไม่มีโฆษณา",price:"฿0.99 / เดือน",changeAction:"ลดระดับเป็นแบบไม่มีโฆษณา",feature1:"ลบโฆษณาทั้งไซต์",feature2:"สนับสนุนการพัฒนาต่อเนื่อง"},premium:{title:"พรีเมียม",price:"$2.99 / เดือน",changeAction:"อัปเกรดเป็นพรีเมียม",feature1:"ไม่มีโฆษณา",feature2:"ตัวเลือกการปรับแต่ง",feature3:"การกรองขั้นสูง",feature4:"จัดการแข่งขันไม่จำกัด"}}},l8={cardLottery:{setBanner:"Banner olarak ayarla",setIcon:"Simge olarak ayarla",openAnother:"Bir tane daha aç"},cards:{roundDrawn:"Çekilen tur",roundPlayed:"Oynanan tur",card:"Kart",cards:"Kartlar",inclusion:"Kullanım oranı",avgCopies:"Ort. kopya",mulliganWinrate:"Mulligan kazanma oranı",keptInMulligan:"Mulligan’da tutuldu",drawnWinrate:"Çekilince kazanma oranı",turnPlayed:"Oynanan tur",turnsHeld:"Elde tutulan turlar",recommendedDecks:"Önerilen desteler",similarCards:"Benzer kartlar",attack:"Saldırı",health:"Can",quantityOwned:"Sahip olunan miktar",cost:"Maliyet"},deck:{copyDeckCode:"Deste kodunu kopyala",deckCodeCopied:"Deste kodu kopyalandı",deleteDeck:"Desteyi sil",deleteDeckConfirmation:"Bu desteyi silmek istediğinizden emin misiniz?",editDeckName:"Deste adını düzenle",signInToUpload:"Desteyi yüklemek için giriş yapın",uploadDeckToLor:"Desteyi Legends of Runeterra’ya yükle",deckUploaded:"Deste yüklendi!",updatePrivacy:"Deste gizliliğini güncelle",deckPrivate:"Şu anda gizli",deckPublic:"Şu anda herkese açık",openInDeckBuilder:"Deste oluşturucuda aç",numManaCards:"{num} mana kartı",simulateMulligan:"Mulligan simülasyonu",replaceAllCards:"Tüm kartları değiştir",replaceSelectedCards:"Seçili kartları değiştir",personalCost:"Kişisel maliyet",originalCost:"Orijinal maliyet",openArchetypePage:"Arketip sayfasını aç",shareDeck:"Desteyi paylaş",showPreview:"Deste önizlemesini göster"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`Bu isimde bir deste zaten mevcut.
|
|
58
|
+
ไม่ต้องกังวล คุณสามารถรับเพิ่มได้ด้วยวิธีด้านล่าง!`,cards:{option1:"เข้าสู่ระบบ LOR.GG ทุกสัปดาห์เพื่อรับแพ็กการ์ด 10 แพ็ก",option2:"ทุกครั้งที่ซิงค์ข้อมูล ระบบจะอัปโหลด 20 แมตช์ล่าสุดของคุณ รับแพ็กการ์ด 1 แพ็กต่อทุก 2 แมตช์ที่ซิงค์!",option3:"เบื่อกับการรอการ์ดที่สมบูรณ์แบบหรือยัง? อัปเกรดเป็นพรีเมียมเพื่อใช้การ์ดใดก็ได้เป็นไอคอนหรือแบนเนอร์!"}},settings:{privacy:"ความเป็นส่วนตัว",privateProfile:"โปรไฟล์ส่วนตัว",privateProfileDesc:"เมื่อเปิดใช้งาน รายละเอียดโปรไฟล์จะไม่ถูกแสดง เด็คที่ตั้งเป็นสาธารณะจะยังคงแสดงอยู่",email:"อีเมล",resendVerification:"ส่งการยืนยันอีกครั้ง",account:"บัญชี",payment:"การชำระเงิน",personalization:"การปรับแต่ง",images:"รูปภาพ",banner:"แบนเนอร์",bannerDesc:'สามารถรับแบนเนอร์ได้จากแท็บ "แพ็กการ์ด" ในเมนูนำทาง แบนเนอร์จะแสดงบนลีดเดอร์บอร์ดและโปรไฟล์',bannerDescPremium:"ผู้ใช้พรีเมียมสามารถตั้งการ์ดใดก็ได้เป็นแบนเนอร์",icon:"ไอคอน",iconDesc:'สามารถรับไอคอนได้จากแท็บ "แพ็กการ์ด" และจะแสดงบนโปรไฟล์ของคุณ',iconDescPremium:"ผู้ใช้พรีเมียมสามารถตั้งการ์ดใดก็ได้เป็นไอคอน",color:"สี",colorDesc:"แสดงตัวตนของคุณด้วยสีโปรด สีจะแสดงทุกที่ที่แบนเนอร์ปรากฏ",colorDescPremium:"สามารถเลือกสีได้เฉพาะผู้ใช้พรีเมียมเท่านั้น"},general:{manaCost:"ค่ามานา",cost:"ค่าใช้จ่าย",regions:"ภูมิภาค",clear:"ล้าง",clearAll:"ล้างทั้งหมด",copy:"คัดลอก",patch:"แพตช์",matches:"แมตช์",wins:"ชนะ",losses:"แพ้",winrate:"อัตราชนะ",quantity:"จำนวน",round:"รอบ",total:"รวม",champion:"แชมเปียน",follower:"ผู้ติดตาม",spell:"เวทมนตร์",landmark:"แลนด์มาร์ก",equipment:"อุปกรณ์",champions:"แชมเปียน",followers:"ผู้ติดตาม",spells:"เวทมนตร์",landmarks:"แลนด์มาร์ก",equipments:"อุปกรณ์",statistics:"สถิติ",advanced:"ขั้นสูง",newAdvancedFilter:"ตัวกรองขั้นสูงใหม่",types:"ประเภท",rarities:"ระดับความหายาก",sets:"เซ็ต",keywords:"คีย์เวิร์ด",pastDays:"{count} วันที่ผ่านมา",pastHours:"{count} ชั่วโมงที่ผ่านมา",pastHour:"ชั่วโมงที่ผ่านมา",season:"ฤดูกาล",servers:"เซิร์ฟเวอร์",sampleSize:"ขนาดตัวอย่าง",minimumMatches:"จำนวนแมตช์ขั้นต่ำ",ranks:"อันดับ",allRanks:"ทุกอันดับ",platPlus:"แพลทินัม+",deck:"เด็ค",manaCurve:"กราฟมานา",name:"ชื่อ",updated:"อัปเดตแล้ว",created:"สร้างแล้ว",card:"การ์ด",cards:"การ์ด",inclusion:"อัตราการใช้",avgCopies:"จำนวนเฉลี่ย",turnsHeld:"จำนวนเทิร์นที่ถือ",mulliganWinrate:"อัตราชนะ Mulligan",keptInMulligan:"เก็บไว้ใน Mulligan",drawnWinrate:"อัตราชนะเมื่อจั่ว",turnPlayed:"เทิร์นที่เล่น",playrate:"อัตราการเล่น",deckDifferences:"ความแตกต่างของเด็ค",player:"ผู้เล่น",lp:"LP",change:"การเปลี่ยนแปลง",favoriteDeck:"เด็คโปรด",server:"เซิร์ฟเวอร์",players:"ผู้เล่น",time:"เวลา",type:"ประเภท",rarity:"ความหายาก",archetypes:"อาร์คีไทป์",archetype:"อาร์คีไทป์",profile:"โปรไฟล์",leaderboard:"ลีดเดอร์บอร์ด",victory:"ชัยชนะ",defeat:"ความพ่ายแพ้",newCards:"การ์ดใหม่",signIn:"เข้าสู่ระบบ",syncUserData:"ซิงค์ข้อมูลผู้ใช้",settings:"การตั้งค่า",gamesPlayed:"เกมที่เล่น",premium:"พรีเมียม",renews:"ต่ออายุ",expires:"หมดอายุ",getPremium:"รับพรีเมียม!",becomeTheMaster:"กลายเป็นปรมาจารย์",format:"รูปแบบ",otherFormats:"รูปแบบอื่น",queues:"คิว",save:"บันทึก",captureImage:"จับภาพ",deckCode:"รหัสเด็ค",library:"คลัง",openCards:"เปิดแพ็กการ์ด",attackingFirst:"โจมตีก่อน",attackingSecond:"โจมตีทีหลัง",overall:"โดยรวม",list:"รายการ",graph:"กราฟ",decks:"เด็ค",popularityTimeline:"ไทม์ไลน์ความนิยม",overallWinrate:"อัตราชนะรวม",deckLibrary:"คลังเด็ค",deckBuilder:"ตัวสร้างเด็ค",inclusionTimeline:"ไทม์ไลน์การใช้งาน",winrateTimeline:"ไทม์ไลน์อัตราชนะ",winrateByGamesPlayed:"อัตราชนะตามจำนวนเกม",meta:"เมตา",youHave:"คุณมี: ",holdShiftForAssociated:"กด Shift ค้างไว้เพื่อดูการ์ดที่เกี่ยวข้อง",cardArt:"ภาพการ์ด",regionDistribution:"การกระจายภูมิภาค",noResults:"ไม่มีผลลัพธ์",tryAgain:"ปรับตัวกรองแล้วลองอีกครั้ง",createdAt:"สร้างเมื่อ",updatedAt:"อัปเดตเมื่อ",page:"หน้า",deckStats:"สถิติเด็ค",cardStats:"สถิติการ์ด",cardGallery:"แกลเลอรีการ์ด",close:"ปิด",overwrite:"เขียนทับ",rename:"เปลี่ยนชื่อ",view:"ดู",mustBeLoggedIn:"คุณต้องเข้าสู่ระบบเพื่อดำเนินการนี้",uploadFailed:"อัปโหลดล้มเหลว",successfullyUploaded:"อัปโหลดสำเร็จ",cardLottery:"สุ่มการ์ด",confirm:"ยืนยัน",verified:"ยืนยันแล้ว",notVerified:"ยังไม่ยืนยัน",patches:"แพตช์",seasons:"ฤดูกาล",premiumBarrier:"คุณต้องเป็นผู้ใช้พรีเมียมเพื่อใช้ตัวกรองเหล่านี้",verificationEmailSent:"ส่งอีเมลยืนยันแล้ว",updateEmail:"อัปเดตอีเมล",text:"ข้อความ",syncingInProgress:"กำลังซิงค์",matchRecord:"สถิติแมตช์",gameRecord:"สถิติเกม",vs:"vs",game:"เกม",tie:"เสมอ",submit:"ส่ง",attackTokenOddsWr:"Token การโจมตี: อัตราชนะ",attackTokenEvensWr:"Token การโจมตี: อัตราชนะคู่",current:"ปัจจุบัน"},descriptions:{deckDecks:'ค้นหาเด็คที่คล้ายกับ "{title}" เพื่อทางเลือกในการเล่นที่หลากหลาย',meta:"ติดตามข้อมูลล่าสุดเกี่ยวกับเมต้าใน Legends of Runeterra ที่เปลี่ยนแปลงอยู่เสมอ รับข้อมูลเชิงลึกเกี่ยวกับกลยุทธ์และเด็คที่ดีที่สุด"},landing:{tagLine:"กำหนดเส้นทางสู่ชัยชนะ",newCards:{title:"การ์ดใหม่",navigation:"ตัวติดตามการเปิดเผย"},builtDecks:{title:"เด็คที่ผู้ใช้สร้างขึ้น",navigation:"ห้องสมุดเด็ค"},deckBuilder:{title:"สร้างเด็ค",navigation:"สร้างเด็ค"},leaderboard:{title:"กระดานผู้นำ",navigation:"กระดานผู้นำ"},meta:{title:"อาร์เคไทป์",navigation:"เมต้า"},decks:{title:"เด็ค",navigation:"เด็ค"},cards:{title:"การ์ด",navigation:"สถิติการ์ด"}},tournament:{standings:"อันดับ",oppWinrate:"อัตราชนะของคู่ต่อสู้",oppGameWinrate:"อัตราชนะของคู่ต่อสู้",gameWinrate:"อัตราชนะเกม",admin:{editMatchWinner:"แก้ไขผู้ชนะการแข่งขัน",nextRound:{text:"รอบก่อนหน้านี้ได้สิ้นสุดลงแล้ว กรุณาไปยังรอบถัดไป",button:"รอบถัดไป"},wrongDeck:{text:"ผู้เล่น {name} ใช้เด็คที่ไม่ได้ส่งเข้ามา ตรวจสอบการแข่งขันใน Brackets."},start:{text:"คุณสามารถเริ่มการแข่งขันได้แล้วตอนนี้ ซึ่งจะเริ่มรอบแรกโดยอัตโนมัติ",button:"เริ่มการแข่งขัน"}},feed:{withdrawal:"ถอนเงิน",withdrawalMessage:"ผู้เล่นได้ถอนตัวออกจากการแข่งขันแล้ว",signUp:"ลงทะเบียนใหม่",matchUpdate:"อัปเดตการแข่งขัน",checkIn:"เช็คอิน",adminUpdate:"การอัปเดตของผู้ดูแลระบบ",created:"สร้างทัวร์นาเมนต์แล้ว",createdMessage:"ทัวร์นาเมนต์ได้ถูกสร้างขึ้นแล้ว",roundStarted:"เริ่มรอบแล้ว",roundStartedMessage:"รอบใหม่เริ่มต้นขึ้นแล้ว"},timeline:{registration:{title:"การลงทะเบียน",description:"การลงทะเบียนสำหรับการแข่งขันเปิดอยู่ ลงทะเบียนตอนนี้เลย!"},checkIn:{title:"เช็คอิน"},start:{title:"เริ่มต้น",description:"ทัวร์นาเมนต์เริ่มต้นแล้ว!"},end:{title:"สิ้นสุดแล้ว",description:"การแข่งขันได้สิ้นสุดลงแล้ว"}},prompt:{checkedIn:{text:"คุณได้ลงทะเบียนเข้าร่วมการแข่งขันแล้ว",button:"ไปที่หน้าผู้เข้าร่วม"},registered:{text:"คุณได้ลงทะเบียนสำหรับการแข่งขันแล้ว",button:"เช็คอิน"},signUp:{text:"ลงทะเบียนเพื่อเข้าร่วมการแข่งขันนี้",button:"ลงทะเบียน"}},errors:{notLoggedIn:"คุณต้องเข้าสู่ระบบเพื่อสมัครเข้าร่วมการแข่งขัน"},decksSubmission:{heading:"การส่งการ์ดชุด",description:"ส่งเด็คของคุณสำหรับการแข่งขัน",submitDecks:"ส่งเด็ค",decksAreDue:"การส่งเด็คต้องเสร็จสิ้น"},participant:{banDecks:{heading:"แบนเด็ค",submit:"ส่งการแบน | ส่งการแบน"},playMatch:{heading:"เล่นแมตช์"}}},profile:{winrateOverTime:"อัตราชนะตามเวลา",winrateByChampion:"อัตราชนะตามแชมป์",winrateByRegion:"อัตราชนะตามภูมิภาค",winrateByRoundAttacking:"อัตราชนะตามรอบที่โจมตี",winrateAgainstChampion:"อัตราชนะกับแชมเปี้ยน",winrateAgainstRegion:"อัตราชนะเมื่อเทียบกับภูมิภาค",commonOpponents:"คู่ต่อสู้ที่พบเจอบ่อย"},navigation:{searchPlaceholder:"ค้นหาการ์ดหรือผู้เล่น",subscriptionStatus:"{type} {event} ใน {days}d"},ads:{supportLorgg:"สนับสนุน LOR.GG",disableAdBlock:"กรุณาปิดการบล็อกโฆษณา",considerDonating:"พิจารณาบริจาค",considerDonatingOr:"หรือพิจารณาบริจาค",considerPremium:"หรือพิจารณา Premium",premiumModal:{title:"สนับสนุน LOR.GG",benefits:{title:"สิทธิประโยชน์พรีเมียม:",noAds:"ประสบการณ์ที่ไม่มีโฆษณา",supportDevelopment:"สนับสนุนการพัฒนาอย่างต่อเนื่อง",exclusiveFeatures:"เข้าถึงฟีเจอร์พิเศษ"},close:"ปิด",buyPremium:"ซื้อพรีเมียม"}},premium:{loading:"กำลังโหลดการสมัครสมาชิก...",title:"LOR.GG การสมัครสมาชิก",loginToSubscribe:"เข้าสู่ระบบด้วย Riot เพื่อสมัครสมาชิก",verifyToSubscribe:"ยืนยันอีเมลเพื่อสมัครสมาชิก",verifyHint:"การชำระเงินจะสามารถทำได้หลังจากการยืนยันอีเมลแล้ว",loadingPaymentUi:"กำลังโหลด UI การชำระเงิน...",cancelAutoRenew:"ยกเลิกการต่ออายุอัตโนมัติ",resumeAutoRenew:"กลับมาเปิดใช้งานการต่ออายุอัตโนมัติ",updatePaymentMethod:"อัปเดตวิธีการชำระเงิน",cancelCompleted:"ปิดการต่ออายุอัตโนมัติแล้ว",resumeCompleted:"การต่ออายุอัตโนมัติได้เริ่มขึ้นอีกครั้งแล้ว",subscriptionStatus:"การสมัครสมาชิกของคุณ {event} ใน {days} วัน",subscriptionEvent:{renews:"ต่ออายุ",cancels:"ยกเลิก"},errors:{loadPayment:"ไม่สามารถโหลดหน้าชำระเงินได้ในขณะนี้",loadSubscription:"ไม่สามารถโหลดรายละเอียดการสมัครสมาชิกได้",cancel:"ไม่สามารถยกเลิกการต่ออายุอัตโนมัติได้",resume:"ไม่สามารถเริ่มการต่ออายุอัตโนมัติได้"},adFree:{title:"ไม่มีโฆษณา",price:"฿0.99 / เดือน",changeAction:"ลดระดับเป็นแบบไม่มีโฆษณา",feature1:"ลบโฆษณาทั้งไซต์",feature2:"สนับสนุนการพัฒนาต่อเนื่อง"},premium:{title:"พรีเมียม",price:"$2.99 / เดือน",changeAction:"อัปเกรดเป็นพรีเมียม",feature1:"ไม่มีโฆษณา",feature2:"ตัวเลือกการปรับแต่ง",feature3:"การกรองขั้นสูง",feature4:"จัดการแข่งขันไม่จำกัด"}}},l8={cardLottery:{setBanner:"Banner olarak ayarla",setIcon:"Simge olarak ayarla",openAnother:"Bir tane daha aç"},cards:{roundDrawn:"Çekilen tur",roundPlayed:"Oynanan tur",card:"Kart",cards:"Kartlar",inclusion:"Kullanım oranı",avgCopies:"Ort. kopya",mulliganWinrate:"Mulligan kazanma oranı",keptInMulligan:"Mulligan’da tutuldu",drawnWinrate:"Çekilince kazanma oranı",turnPlayed:"Oynanan tur",turnsHeld:"Elde tutulan turlar",recommendedDecks:"Önerilen desteler",similarCards:"Benzer kartlar",attack:"Saldırı",health:"Can",quantityOwned:"Sahip olunan miktar",cost:"Maliyet"},deck:{copyDeckCode:"Deste kodunu kopyala",deckCodeCopied:"Deste kodu kopyalandı",deleteDeck:"Desteyi sil",deleteDeckConfirmation:"Bu desteyi silmek istediğinizden emin misiniz?",editDeckName:"Deste adını düzenle",signInToUpload:"Desteyi yüklemek için giriş yapın",uploadDeckToLor:"Desteyi Legends of Runeterra’ya yükle",deckUploaded:"Deste yüklendi!",updatePrivacy:"Deste gizliliğini güncelle",deckPrivate:"Şu anda gizli",deckPublic:"Şu anda herkese açık",openInDeckBuilder:"Deste oluşturucuda aç",numManaCards:"{num} mana kartı",simulateMulligan:"Mulligan simülasyonu",replaceAllCards:"Tüm kartları değiştir",replaceSelectedCards:"Seçili kartları değiştir",personalCost:"Kişisel maliyet",originalCost:"Orijinal maliyet",openArchetypePage:"Arketip sayfasını aç",shareDeck:"Desteyi paylaş",showPreview:"Deste önizlemesini göster"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`Bu isimde bir deste zaten mevcut.
|
|
59
59
|
Önceki sürümün üzerine yazmak ister misiniz?`,deckCreated:"Deste oluşturuldu",inputDeckCode:"Deste kodunu yapıştır"},leaderboard:{totalPlayers:"Toplam oyuncu",lp:"LP",rank:"Sıralama",updated:"Güncellendi"},personalization:{noGiftsAvailable:"Kullanılabilir kart paketi yok",noGiftsAvailableDesc:`Eyvah!
|
|
60
60
|
Kart paketiniz kalmadı!
|
|
61
|
-
Merak etmeyin, aşağıdaki yöntemlerle daha fazlasını kazanabilirsiniz!`,cards:{option1:"Her hafta LOR.GG’ye giriş yaparak 10 kart paketi kazanın.",option2:"Verilerinizi her senkronize ettiğinizde son 20 maçınız yüklenir. Her 2 senkronize maç için 1 kart paketi kazanın!",option3:"Mükemmel kartı beklemekten yoruldunuz mu? Premium’a yükseltin ve herhangi bir kartı simge veya banner olarak ayarlayın!"}},settings:{privacy:"Gizlilik",privateProfile:"Gizli profil",privateProfileDesc:"Bu ayar etkinleştirildiğinde profil bilgileriniz gizlenir. Herkese açık desteler yine de görünür.",email:"E-posta",resendVerification:"Doğrulamayı yeniden gönder",account:"Hesap",payment:"Ödeme",personalization:"Kişiselleştirme",images:"Görseller",banner:"Banner",bannerDesc:'Bannerlar, menüdeki "Kart Paketleri" sekmesinden alınabilir. Liderlik tablosu ve profilde gösterilir.',bannerDescPremium:"Premium ile herhangi bir kartı banner olarak ayarlayabilirsiniz.",icon:"Simge",iconDesc:'Simgeler, "Kart Paketleri" sekmesinden alınabilir ve profilinizde gösterilir.',iconDescPremium:"Premium ile herhangi bir kartı simge olarak ayarlayabilirsiniz.",color:"Renk",colorDesc:"Favori renginizle kendinizi ayırt edin. Banner’ın gösterildiği her yerde görünür.",colorDescPremium:"Renk seçimi yalnızca premium kullanıcılar içindir."},general:{manaCost:"Mana maliyeti",cost:"Maliyet",regions:"Bölgeler",clear:"Temizle",clearAll:"Hepsini temizle",copy:"Kopyala",patch:"Yama",matches:"Maçlar",wins:"Galibiyetler",losses:"Mağlubiyetler",winrate:"Kazanma oranı",quantity:"Miktar",round:"Tur",total:"Toplam",champion:"Şampiyon",follower:"Takipçi",spell:"Büyü",landmark:"Anıt",equipment:"Ekipman",champions:"Şampiyonlar",followers:"Takipçiler",spells:"Büyüler",landmarks:"Anıtlar",equipments:"Ekipmanlar",statistics:"İstatistikler",advanced:"Gelişmiş",newAdvancedFilter:"Yeni gelişmiş filtre",types:"Türler",rarities:"Nadirlikler",sets:"Setler",keywords:"Anahtar kelimeler",pastDays:"Son {count} gün",pastHours:"Son {count} saat",pastHour:"Son 1 saat",season:"Sezon",servers:"Sunucular",sampleSize:"Örneklem boyutu",minimumMatches:"Minimum maç",ranks:"Rütbeler",allRanks:"Tüm rütbeler",platPlus:"Platin+",deck:"Deste",manaCurve:"Mana eğrisi",name:"İsim",updated:"Güncellendi",created:"Oluşturuldu",card:"Kart",cards:"Kartlar",inclusion:"Kullanım oranı",avgCopies:"Ort. kopya",turnsHeld:"Elde tutulan turlar",mulliganWinrate:"Mulligan WR",keptInMulligan:"Mulligan’da tutuldu",drawnWinrate:"Çekilince kazanma oranı",turnPlayed:"Oynanan tur",playrate:"Kullanım oranı",deckDifferences:"Deste farkları",player:"Oyuncu",lp:"LP",change:"Değişim",favoriteDeck:"Favori deste",server:"Sunucu",players:"Oyuncular",time:"Zaman",type:"Tür",rarity:"Nadirlik",archetypes:"Arketipler",archetype:"Arketip",profile:"Profil",leaderboard:"Liderlik Tablosu",victory:"Zafer",defeat:"Yenilgi",newCards:"Yeni kartlar",signIn:"Giriş yap",syncUserData:"Kullanıcı verilerini senkronize et",settings:"Ayarlar",gamesPlayed:"Oynanan oyunlar",premium:"Premium",renews:"Yenilenir",expires:"Süresi dolar",getPremium:"Premium Al!",becomeTheMaster:"Usta ol",format:"Format",otherFormats:"Diğer formatlar",queues:"Kuyruklar",save:"Kaydet",captureImage:"Görüntü yakala",deckCode:"Deste kodu",library:"Kütüphane",openCards:"Kart paketlerini aç",attackingFirst:"İlk saldıran",attackingSecond:"İkinci saldıran",overall:"Genel",list:"Liste",graph:"Grafik",decks:"Desteler",popularityTimeline:"Popülerlik zaman çizelgesi",overallWinrate:"Genel kazanma oranı",deckLibrary:"Deste kütüphanesi",deckBuilder:"Deste oluşturucu",inclusionTimeline:"Kullanım zaman çizelgesi",winrateTimeline:"Kazanma oranı zaman çizelgesi",winrateByGamesPlayed:"Oynanan oyunlara göre kazanma oranı",meta:"Meta",youHave:"Sahipsiniz: ",holdShiftForAssociated:"İlgili kartları görmek için Shift’e basılı tutun",cardArt:"Kart çizimi",regionDistribution:"Bölge dağılımı",noResults:"Sonuç yok",tryAgain:"Filtreleri ayarlayın ve tekrar deneyin.",createdAt:"Oluşturulma tarihi",updatedAt:"Güncellenme tarihi",page:"Sayfa",deckStats:"Deste istatistikleri",cardStats:"Kart istatistikleri",cardGallery:"Kart galerisi",close:"Kapat",overwrite:"Üzerine yaz",rename:"Yeniden adlandır",view:"Görüntüle",mustBeLoggedIn:"Bu işlemi tamamlamak için giriş yapmalısınız.",uploadFailed:"Yükleme başarısız",successfullyUploaded:"Başarıyla yüklendi",cardLottery:"Kart çekilişi",confirm:"Onayla",verified:"Doğrulandı",notVerified:"Doğrulanmadı",patches:"Yamalar",seasons:"Sezonlar",premiumBarrier:"Bu filtrelere erişmek için premium kullanıcı olmalısınız.",verificationEmailSent:"Doğrulama e-postası gönderildi.",updateEmail:"E-postayı güncelle",text:"Metin",syncingInProgress:"Senkronizasyon devam ediyor",matchRecord:"Maç kaydı",gameRecord:"Oyun kaydı",vs:"vs",game:"Oyun",tie:"Beraberlik",submit:"Gönder",attackTokenOddsWr:"Saldırı Tokeni: Şans Kazanma Oranı",attackTokenEvensWr:"İtibari Saldırı: Eşitler Kazanma Oranı"},descriptions:{deckDecks:'"{title}" ile benzer desteleri bul, çeşitli oyun seçenekleri için.',meta:"Legends of Runeterra'daki sürekli değişen meta ile güncel kalın. En iyi stratejiler ve desteler hakkında içgörüler edinin."},landing:{tagLine:"Zaferin Yolunu Çiz",newCards:{title:"Yeni Kartlar",navigation:"Ortaya Çıkarma İzleyici"},builtDecks:{title:"Kullanıcı Tarafından Oluşturulan Desteler",navigation:"Destek Kütüphanesi"},deckBuilder:{title:"Yapıcı",navigation:"Destek Oluşturucu"},leaderboard:{title:"Sıralama Tablosu",navigation:"Skor Tablosu"},meta:{title:"Arketipler",navigation:"Meta"},decks:{title:"Desteler",navigation:"Desteler"},cards:{title:"Kartlar",navigation:"Kart İstatistikleri"}},tournament:{standings:"Sıralama",oppWinrate:"Rakiplerin Kazanma Oranı",oppGameWinrate:"Rakiplerin Oyun Kazanma Oranı",gameWinrate:"Oyun Kazanma Oranı",admin:{editMatchWinner:"Maç Kazananını Düzenle",nextRound:{text:"Önceki tur sona erdi. Lütfen bir sonraki tura geçin.",button:"Sonraki Tur"},wrongDeck:{text:"Player {name} sunulan bir desteyi oynamadı. Maçı Brackets'te gözden geçirin."},start:{text:"Turnuvayı şimdi başlatabilirsiniz. Bu, otomatik olarak ilk roundu başlatacaktır.",button:"Turnuvayı Başlat"}},feed:{withdrawal:"Çekilme",withdrawalMessage:"Bir oyuncu turnuvadan çekildi.",signUp:"Yeni Kayıt",matchUpdate:"Maç Güncellemesi",checkIn:"Kontrol Et",adminUpdate:"Yönetici Güncellemesi",created:"Turnuva Oluşturuldu",createdMessage:"Turnuva oluşturuldu.",roundStarted:"Tur başladı",roundStartedMessage:"Yeni bir tur başladı."},timeline:{registration:{title:"Kayıt",description:"Turnuva kaydı açıktır. Şimdi kaydolun!"},checkIn:{title:"Kontrol Et"},start:{title:"Başla",description:"Turnuva başladı!"},end:{title:"Tamamlandı",description:"Turnuva sona erdi."}},prompt:{checkedIn:{text:"Turnuvaya kaydınız yapıldı.",button:"Katılımcı Sayfasına Git"},registered:{text:"Turnuvaya kayıt oldunuz.",button:"Kontrol Et"},signUp:{text:"Bu turnuvaya katılmak için kaydolun.",button:"Kaydol"}},errors:{notLoggedIn:"Bir turnuvaya kaydolmak için giriş yapmış olmalısınız."},decksSubmission:{heading:"Destek Gönderimi",description:"Turnuvaya destelerinizi gönderin.",submitDecks:"Desteleri Gönder",decksAreDue:"Desteler teslim edilmelidir"},participant:{banDecks:{heading:"Destanları Yasakla",submit:"Yasakla Gönder | Yasakları Gönder"},playMatch:{heading:"Maç Oyna"}}},profile:{winrateOverTime:"Zaman İçinde Kazanma Oranı",winrateByChampion:"Şampiyona Göre Kazanma Oranı",winrateByRegion:"Bölgeye Göre Kazanma Oranı",winrateByRoundAttacking:"Tur saldırısına göre kazanma oranı",winrateAgainstChampion:"Şampiyon Karşısında Kazanma Oranı",winrateAgainstRegion:"Bölgeye Karşı Kazanma Oranı",commonOpponents:"Ortak Rakipler"},navigation:{searchPlaceholder:"Kartları veya Oyuncuları Ara",subscriptionStatus:"{type} {event} içinde {days}g"},ads:{supportLorgg:"LOR.GG'yi Destekle",disableAdBlock:"Lütfen Reklam Engelleyiciyi Devre Dışı Bırakın",considerDonating:"Bağış yapmayı düşünün",considerDonatingOr:"Ya da bağış yapmayı düşünün",considerPremium:"Ya da Premium'u düşünün",premiumModal:{title:"LOR.GG'yi Destekleyin",benefits:{title:"Premium Avantajları:",noAds:"Reklamsız deneyim",supportDevelopment:"Sürekli gelişimi destekle",exclusiveFeatures:"Özel özelliklere erişim"},close:"Kapat",buyPremium:"Premium Al"}},premium:{loading:"Abonelikler yükleniyor...",title:"LOR.GG Abonelikleri",loginToSubscribe:"Abone Olmak İçin Riot ile Giriş Yap",verifyToSubscribe:"Abone Olmak İçin E-postayı Doğrula",verifyHint:"Ödeme işlemleri, e-posta doğrulamasından sonra kullanılabilir.",loadingPaymentUi:"Ödeme arayüzü yükleniyor...",cancelAutoRenew:"Auto-Yenilemeyi İptal Et",resumeAutoRenew:"Otomatik Yenilemeyi Devam Ettir",updatePaymentMethod:"Ödeme Yöntemini Güncelle",cancelCompleted:"Otomatik yenileme devre dışı bırakıldı.",resumeCompleted:"Auto-yenileme yeniden başlatıldı.",subscriptionStatus:"Aboneliğiniz {event} {days} gün içinde sona erecek.",subscriptionEvent:{renews:"yenileniyor",cancels:"iptal eder"},errors:{loadPayment:"Şu anda ödeme arayüzü yüklenemiyor.",loadSubscription:"Abonelik detayları yüklenemedi.",cancel:"Auto-yenilemeyi iptal etme başarısız.",resume:"Otobirimi yeniden başlatma başarısız oldu."},adFree:{title:"Reklamsız",price:"$0.99 / ay",changeAction:"Reklamsız'a Düşür",feature1:"Reklamları site genelinde kaldırır",feature2:"Devam Eden Gelişimi Destekler"},premium:{title:"Premium",price:"2,99 $ / ay",changeAction:"Premium'e Yükselt",feature1:"Reklamsız",feature2:"Özelleştirme Seçenekleri",feature3:"Gelişmiş Filtreleme",feature4:"Sınırsız Turnuvaları Düzenle"}}},c8={cardLottery:{setBanner:"Установить как баннер",setIcon:"Установить как иконку",openAnother:"Открыть ещё"},cards:{roundDrawn:"Раунд добора",roundPlayed:"Сыгранный раунд",card:"Карта",cards:"Карты",inclusion:"Использование",avgCopies:"Ср. копий",mulliganWinrate:"Винрейт муллигана",keptInMulligan:"Оставлена в муллигане",drawnWinrate:"Винрейт при доборе",turnPlayed:"Ход розыгрыша",turnsHeld:"Ходов в руке",recommendedDecks:"Рекомендуемые колоды",similarCards:"Похожие карты",attack:"Атака",health:"Здоровье",quantityOwned:"Количество",cost:"Стоимость"},deck:{copyDeckCode:"Скопировать код колоды",deckCodeCopied:"Код колоды скопирован",deleteDeck:"Удалить колоду",deleteDeckConfirmation:"Вы уверены, что хотите удалить эту колоду?",editDeckName:"Редактировать название колоды",signInToUpload:"Войдите, чтобы загрузить колоду",uploadDeckToLor:"Загрузить колоду в Legends of Runeterra",deckUploaded:"Колода загружена!",updatePrivacy:"Обновить приватность колоды",deckPrivate:"Сейчас приватная",deckPublic:"Сейчас публичная",openInDeckBuilder:"Открыть в конструкторе колод",numManaCards:"{num} карт маны",simulateMulligan:"Симуляция муллигана",replaceAllCards:"Заменить все карты",replaceSelectedCards:"Заменить выбранные карты",personalCost:"Личная стоимость",originalCost:"Изначальная стоимость",openArchetypePage:"Открыть страницу архетипа",shareDeck:"Поделиться колодой",showPreview:"Показать предпросмотр колоды"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`Колода с таким названием уже существует.
|
|
61
|
+
Merak etmeyin, aşağıdaki yöntemlerle daha fazlasını kazanabilirsiniz!`,cards:{option1:"Her hafta LOR.GG’ye giriş yaparak 10 kart paketi kazanın.",option2:"Verilerinizi her senkronize ettiğinizde son 20 maçınız yüklenir. Her 2 senkronize maç için 1 kart paketi kazanın!",option3:"Mükemmel kartı beklemekten yoruldunuz mu? Premium’a yükseltin ve herhangi bir kartı simge veya banner olarak ayarlayın!"}},settings:{privacy:"Gizlilik",privateProfile:"Gizli profil",privateProfileDesc:"Bu ayar etkinleştirildiğinde profil bilgileriniz gizlenir. Herkese açık desteler yine de görünür.",email:"E-posta",resendVerification:"Doğrulamayı yeniden gönder",account:"Hesap",payment:"Ödeme",personalization:"Kişiselleştirme",images:"Görseller",banner:"Banner",bannerDesc:'Bannerlar, menüdeki "Kart Paketleri" sekmesinden alınabilir. Liderlik tablosu ve profilde gösterilir.',bannerDescPremium:"Premium ile herhangi bir kartı banner olarak ayarlayabilirsiniz.",icon:"Simge",iconDesc:'Simgeler, "Kart Paketleri" sekmesinden alınabilir ve profilinizde gösterilir.',iconDescPremium:"Premium ile herhangi bir kartı simge olarak ayarlayabilirsiniz.",color:"Renk",colorDesc:"Favori renginizle kendinizi ayırt edin. Banner’ın gösterildiği her yerde görünür.",colorDescPremium:"Renk seçimi yalnızca premium kullanıcılar içindir."},general:{manaCost:"Mana maliyeti",cost:"Maliyet",regions:"Bölgeler",clear:"Temizle",clearAll:"Hepsini temizle",copy:"Kopyala",patch:"Yama",matches:"Maçlar",wins:"Galibiyetler",losses:"Mağlubiyetler",winrate:"Kazanma oranı",quantity:"Miktar",round:"Tur",total:"Toplam",champion:"Şampiyon",follower:"Takipçi",spell:"Büyü",landmark:"Anıt",equipment:"Ekipman",champions:"Şampiyonlar",followers:"Takipçiler",spells:"Büyüler",landmarks:"Anıtlar",equipments:"Ekipmanlar",statistics:"İstatistikler",advanced:"Gelişmiş",newAdvancedFilter:"Yeni gelişmiş filtre",types:"Türler",rarities:"Nadirlikler",sets:"Setler",keywords:"Anahtar kelimeler",pastDays:"Son {count} gün",pastHours:"Son {count} saat",pastHour:"Son 1 saat",season:"Sezon",servers:"Sunucular",sampleSize:"Örneklem boyutu",minimumMatches:"Minimum maç",ranks:"Rütbeler",allRanks:"Tüm rütbeler",platPlus:"Platin+",deck:"Deste",manaCurve:"Mana eğrisi",name:"İsim",updated:"Güncellendi",created:"Oluşturuldu",card:"Kart",cards:"Kartlar",inclusion:"Kullanım oranı",avgCopies:"Ort. kopya",turnsHeld:"Elde tutulan turlar",mulliganWinrate:"Mulligan WR",keptInMulligan:"Mulligan’da tutuldu",drawnWinrate:"Çekilince kazanma oranı",turnPlayed:"Oynanan tur",playrate:"Kullanım oranı",deckDifferences:"Deste farkları",player:"Oyuncu",lp:"LP",change:"Değişim",favoriteDeck:"Favori deste",server:"Sunucu",players:"Oyuncular",time:"Zaman",type:"Tür",rarity:"Nadirlik",archetypes:"Arketipler",archetype:"Arketip",profile:"Profil",leaderboard:"Liderlik Tablosu",victory:"Zafer",defeat:"Yenilgi",newCards:"Yeni kartlar",signIn:"Giriş yap",syncUserData:"Kullanıcı verilerini senkronize et",settings:"Ayarlar",gamesPlayed:"Oynanan oyunlar",premium:"Premium",renews:"Yenilenir",expires:"Süresi dolar",getPremium:"Premium Al!",becomeTheMaster:"Usta ol",format:"Format",otherFormats:"Diğer formatlar",queues:"Kuyruklar",save:"Kaydet",captureImage:"Görüntü yakala",deckCode:"Deste kodu",library:"Kütüphane",openCards:"Kart paketlerini aç",attackingFirst:"İlk saldıran",attackingSecond:"İkinci saldıran",overall:"Genel",list:"Liste",graph:"Grafik",decks:"Desteler",popularityTimeline:"Popülerlik zaman çizelgesi",overallWinrate:"Genel kazanma oranı",deckLibrary:"Deste kütüphanesi",deckBuilder:"Deste oluşturucu",inclusionTimeline:"Kullanım zaman çizelgesi",winrateTimeline:"Kazanma oranı zaman çizelgesi",winrateByGamesPlayed:"Oynanan oyunlara göre kazanma oranı",meta:"Meta",youHave:"Sahipsiniz: ",holdShiftForAssociated:"İlgili kartları görmek için Shift’e basılı tutun",cardArt:"Kart çizimi",regionDistribution:"Bölge dağılımı",noResults:"Sonuç yok",tryAgain:"Filtreleri ayarlayın ve tekrar deneyin.",createdAt:"Oluşturulma tarihi",updatedAt:"Güncellenme tarihi",page:"Sayfa",deckStats:"Deste istatistikleri",cardStats:"Kart istatistikleri",cardGallery:"Kart galerisi",close:"Kapat",overwrite:"Üzerine yaz",rename:"Yeniden adlandır",view:"Görüntüle",mustBeLoggedIn:"Bu işlemi tamamlamak için giriş yapmalısınız.",uploadFailed:"Yükleme başarısız",successfullyUploaded:"Başarıyla yüklendi",cardLottery:"Kart çekilişi",confirm:"Onayla",verified:"Doğrulandı",notVerified:"Doğrulanmadı",patches:"Yamalar",seasons:"Sezonlar",premiumBarrier:"Bu filtrelere erişmek için premium kullanıcı olmalısınız.",verificationEmailSent:"Doğrulama e-postası gönderildi.",updateEmail:"E-postayı güncelle",text:"Metin",syncingInProgress:"Senkronizasyon devam ediyor",matchRecord:"Maç kaydı",gameRecord:"Oyun kaydı",vs:"vs",game:"Oyun",tie:"Beraberlik",submit:"Gönder",attackTokenOddsWr:"Saldırı Tokeni: Şans Kazanma Oranı",attackTokenEvensWr:"İtibari Saldırı: Eşitler Kazanma Oranı",current:"Mevcut"},descriptions:{deckDecks:'"{title}" ile benzer desteleri bul, çeşitli oyun seçenekleri için.',meta:"Legends of Runeterra'daki sürekli değişen meta ile güncel kalın. En iyi stratejiler ve desteler hakkında içgörüler edinin."},landing:{tagLine:"Zaferin Yolunu Çiz",newCards:{title:"Yeni Kartlar",navigation:"Ortaya Çıkarma İzleyici"},builtDecks:{title:"Kullanıcı Tarafından Oluşturulan Desteler",navigation:"Destek Kütüphanesi"},deckBuilder:{title:"Yapıcı",navigation:"Destek Oluşturucu"},leaderboard:{title:"Sıralama Tablosu",navigation:"Skor Tablosu"},meta:{title:"Arketipler",navigation:"Meta"},decks:{title:"Desteler",navigation:"Desteler"},cards:{title:"Kartlar",navigation:"Kart İstatistikleri"}},tournament:{standings:"Sıralama",oppWinrate:"Rakiplerin Kazanma Oranı",oppGameWinrate:"Rakiplerin Oyun Kazanma Oranı",gameWinrate:"Oyun Kazanma Oranı",admin:{editMatchWinner:"Maç Kazananını Düzenle",nextRound:{text:"Önceki tur sona erdi. Lütfen bir sonraki tura geçin.",button:"Sonraki Tur"},wrongDeck:{text:"Player {name} sunulan bir desteyi oynamadı. Maçı Brackets'te gözden geçirin."},start:{text:"Turnuvayı şimdi başlatabilirsiniz. Bu, otomatik olarak ilk roundu başlatacaktır.",button:"Turnuvayı Başlat"}},feed:{withdrawal:"Çekilme",withdrawalMessage:"Bir oyuncu turnuvadan çekildi.",signUp:"Yeni Kayıt",matchUpdate:"Maç Güncellemesi",checkIn:"Kontrol Et",adminUpdate:"Yönetici Güncellemesi",created:"Turnuva Oluşturuldu",createdMessage:"Turnuva oluşturuldu.",roundStarted:"Tur başladı",roundStartedMessage:"Yeni bir tur başladı."},timeline:{registration:{title:"Kayıt",description:"Turnuva kaydı açıktır. Şimdi kaydolun!"},checkIn:{title:"Kontrol Et"},start:{title:"Başla",description:"Turnuva başladı!"},end:{title:"Tamamlandı",description:"Turnuva sona erdi."}},prompt:{checkedIn:{text:"Turnuvaya kaydınız yapıldı.",button:"Katılımcı Sayfasına Git"},registered:{text:"Turnuvaya kayıt oldunuz.",button:"Kontrol Et"},signUp:{text:"Bu turnuvaya katılmak için kaydolun.",button:"Kaydol"}},errors:{notLoggedIn:"Bir turnuvaya kaydolmak için giriş yapmış olmalısınız."},decksSubmission:{heading:"Destek Gönderimi",description:"Turnuvaya destelerinizi gönderin.",submitDecks:"Desteleri Gönder",decksAreDue:"Desteler teslim edilmelidir"},participant:{banDecks:{heading:"Destanları Yasakla",submit:"Yasakla Gönder | Yasakları Gönder"},playMatch:{heading:"Maç Oyna"}}},profile:{winrateOverTime:"Zaman İçinde Kazanma Oranı",winrateByChampion:"Şampiyona Göre Kazanma Oranı",winrateByRegion:"Bölgeye Göre Kazanma Oranı",winrateByRoundAttacking:"Tur saldırısına göre kazanma oranı",winrateAgainstChampion:"Şampiyon Karşısında Kazanma Oranı",winrateAgainstRegion:"Bölgeye Karşı Kazanma Oranı",commonOpponents:"Ortak Rakipler"},navigation:{searchPlaceholder:"Kartları veya Oyuncuları Ara",subscriptionStatus:"{type} {event} içinde {days}g"},ads:{supportLorgg:"LOR.GG'yi Destekle",disableAdBlock:"Lütfen Reklam Engelleyiciyi Devre Dışı Bırakın",considerDonating:"Bağış yapmayı düşünün",considerDonatingOr:"Ya da bağış yapmayı düşünün",considerPremium:"Ya da Premium'u düşünün",premiumModal:{title:"LOR.GG'yi Destekleyin",benefits:{title:"Premium Avantajları:",noAds:"Reklamsız deneyim",supportDevelopment:"Sürekli gelişimi destekle",exclusiveFeatures:"Özel özelliklere erişim"},close:"Kapat",buyPremium:"Premium Al"}},premium:{loading:"Abonelikler yükleniyor...",title:"LOR.GG Abonelikleri",loginToSubscribe:"Abone Olmak İçin Riot ile Giriş Yap",verifyToSubscribe:"Abone Olmak İçin E-postayı Doğrula",verifyHint:"Ödeme işlemleri, e-posta doğrulamasından sonra kullanılabilir.",loadingPaymentUi:"Ödeme arayüzü yükleniyor...",cancelAutoRenew:"Auto-Yenilemeyi İptal Et",resumeAutoRenew:"Otomatik Yenilemeyi Devam Ettir",updatePaymentMethod:"Ödeme Yöntemini Güncelle",cancelCompleted:"Otomatik yenileme devre dışı bırakıldı.",resumeCompleted:"Auto-yenileme yeniden başlatıldı.",subscriptionStatus:"Aboneliğiniz {event} {days} gün içinde sona erecek.",subscriptionEvent:{renews:"yenileniyor",cancels:"iptal eder"},errors:{loadPayment:"Şu anda ödeme arayüzü yüklenemiyor.",loadSubscription:"Abonelik detayları yüklenemedi.",cancel:"Auto-yenilemeyi iptal etme başarısız.",resume:"Otobirimi yeniden başlatma başarısız oldu."},adFree:{title:"Reklamsız",price:"$0.99 / ay",changeAction:"Reklamsız'a Düşür",feature1:"Reklamları site genelinde kaldırır",feature2:"Devam Eden Gelişimi Destekler"},premium:{title:"Premium",price:"2,99 $ / ay",changeAction:"Premium'e Yükselt",feature1:"Reklamsız",feature2:"Özelleştirme Seçenekleri",feature3:"Gelişmiş Filtreleme",feature4:"Sınırsız Turnuvaları Düzenle"}}},c8={cardLottery:{setBanner:"Установить как баннер",setIcon:"Установить как иконку",openAnother:"Открыть ещё"},cards:{roundDrawn:"Раунд добора",roundPlayed:"Сыгранный раунд",card:"Карта",cards:"Карты",inclusion:"Использование",avgCopies:"Ср. копий",mulliganWinrate:"Винрейт муллигана",keptInMulligan:"Оставлена в муллигане",drawnWinrate:"Винрейт при доборе",turnPlayed:"Ход розыгрыша",turnsHeld:"Ходов в руке",recommendedDecks:"Рекомендуемые колоды",similarCards:"Похожие карты",attack:"Атака",health:"Здоровье",quantityOwned:"Количество",cost:"Стоимость"},deck:{copyDeckCode:"Скопировать код колоды",deckCodeCopied:"Код колоды скопирован",deleteDeck:"Удалить колоду",deleteDeckConfirmation:"Вы уверены, что хотите удалить эту колоду?",editDeckName:"Редактировать название колоды",signInToUpload:"Войдите, чтобы загрузить колоду",uploadDeckToLor:"Загрузить колоду в Legends of Runeterra",deckUploaded:"Колода загружена!",updatePrivacy:"Обновить приватность колоды",deckPrivate:"Сейчас приватная",deckPublic:"Сейчас публичная",openInDeckBuilder:"Открыть в конструкторе колод",numManaCards:"{num} карт маны",simulateMulligan:"Симуляция муллигана",replaceAllCards:"Заменить все карты",replaceSelectedCards:"Заменить выбранные карты",personalCost:"Личная стоимость",originalCost:"Изначальная стоимость",openArchetypePage:"Открыть страницу архетипа",shareDeck:"Поделиться колодой",showPreview:"Показать предпросмотр колоды"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`Колода с таким названием уже существует.
|
|
62
62
|
Перезаписать предыдущую версию?`,deckCreated:"Колода создана",inputDeckCode:"Вставить код колоды"},leaderboard:{totalPlayers:"Всего игроков",lp:"LP",rank:"Ранг",updated:"Обновлено"},personalization:{noGiftsAvailable:"Нет доступных паков",noGiftsAvailableDesc:`О нет!
|
|
63
63
|
У вас закончились паки карт!
|
|
64
|
-
Не переживайте — вы можете получить больше, используя методы ниже!`,cards:{option1:"Заходите на LOR.GG каждую неделю и получайте 10 паков карт.",option2:"Каждая синхронизация загружает ваши последние 20 матчей. Получайте 1 пак за каждые 2 синхронизированных матча!",option3:"Надоело ждать идеальную карту? Перейдите на премиум и используйте любую карту как иконку или баннер!"}},settings:{privacy:"Конфиденциальность",privateProfile:"Приватный профиль",privateProfileDesc:"При включении этой опции детали профиля будут скрыты. Публичные колоды останутся видимыми.",email:"Электронная почта",resendVerification:"Отправить подтверждение ещё раз",account:"Аккаунт",payment:"Оплата",personalization:"Персонализация",images:"Изображения",banner:"Баннер",bannerDesc:"Баннеры можно получить во вкладке «Паки карт». Они отображаются в профиле и таблице лидеров.",bannerDescPremium:"С премиумом вы можете установить любую карту в качестве баннера.",icon:"Иконка",iconDesc:"Иконки можно получить во вкладке «Паки карт». Они отображаются в профиле.",iconDescPremium:"С премиумом вы можете установить любую карту в качестве иконки.",color:"Цвет",colorDesc:"Выделяйтесь с помощью любимого цвета. Отображается везде, где показан баннер.",colorDescPremium:"Выбор цвета доступен только премиум-пользователям."},general:{manaCost:"Стоимость маны",cost:"Стоимость",regions:"Регионы",clear:"Очистить",clearAll:"Очистить всё",copy:"Копировать",patch:"Патч",matches:"Матчи",wins:"Победы",losses:"Поражения",winrate:"Винрейт",quantity:"Количество",round:"Раунд",total:"Всего",champion:"Чемпион",follower:"Последователь",spell:"Заклинание",landmark:"Ориентир",equipment:"Снаряжение",champions:"Чемпионы",followers:"Последователи",spells:"Заклинания",landmarks:"Ориентиры",equipments:"Снаряжение",statistics:"Статистика",advanced:"Расширенные",newAdvancedFilter:"Новый расширенный фильтр",types:"Типы",rarities:"Редкости",sets:"Наборы",keywords:"Ключевые слова",pastDays:"За последние {count} дней",pastHours:"За последние {count} часов",pastHour:"За последний час",season:"Сезон",servers:"Серверы",sampleSize:"Размер выборки",minimumMatches:"Минимум матчей",ranks:"Ранги",allRanks:"Все ранги",platPlus:"Платина+",deck:"Колода",manaCurve:"Кривая маны",name:"Название",updated:"Обновлено",created:"Создано",card:"Карта",cards:"Карты",inclusion:"Использование",avgCopies:"Ср. копий",turnsHeld:"Ходов в руке",mulliganWinrate:"ВР муллигана",keptInMulligan:"Оставлена в муллигане",drawnWinrate:"Винрейт при доборе",turnPlayed:"Ход розыгрыша",playrate:"Частота использования",deckDifferences:"Различия колод",player:"Игрок",lp:"LP",change:"Изменение",favoriteDeck:"Любимая колода",server:"Сервер",players:"Игроки",time:"Время",type:"Тип",rarity:"Редкость",archetypes:"Архетипы",archetype:"Архетип",profile:"Профиль",leaderboard:"Таблица лидеров",victory:"Победа",defeat:"Поражение",newCards:"Новые карты",signIn:"Войти",syncUserData:"Синхронизировать данные",settings:"Настройки",gamesPlayed:"Сыграно игр",premium:"Премиум",renews:"Продлевается",expires:"Истекает",getPremium:"Получить премиум!",becomeTheMaster:"Стань мастером",format:"Формат",otherFormats:"Другие форматы",queues:"Очереди",save:"Сохранить",captureImage:"Сохранить изображение",deckCode:"Код колоды",library:"Библиотека",openCards:"Открыть паки карт",attackingFirst:"Атака первым",attackingSecond:"Атака вторым",overall:"Общий",list:"Список",graph:"График",decks:"Колоды",popularityTimeline:"Динамика популярности",overallWinrate:"Общий винрейт",deckLibrary:"Библиотека колод",deckBuilder:"Конструктор колод",inclusionTimeline:"Динамика использования",winrateTimeline:"Динамика винрейта",winrateByGamesPlayed:"Винрейт по числу игр",meta:"Мета",youHave:"У вас есть: ",holdShiftForAssociated:"Удерживайте Shift, чтобы увидеть связанные карты",cardArt:"Иллюстрация карты",regionDistribution:"Распределение регионов",noResults:"Нет результатов",tryAgain:"Измените фильтры и попробуйте снова.",createdAt:"Дата создания",updatedAt:"Дата обновления",page:"Страница",deckStats:"Статистика колоды",cardStats:"Статистика карты",cardGallery:"Галерея карт",close:"Закрыть",overwrite:"Перезаписать",rename:"Переименовать",view:"Просмотр",mustBeLoggedIn:"Вы должны войти в систему, чтобы выполнить это действие.",uploadFailed:"Ошибка загрузки",successfullyUploaded:"Успешно загружено",cardLottery:"Лотерея карт",confirm:"Подтвердить",verified:"Подтверждено",notVerified:"Не подтверждено",patches:"Патчи",seasons:"Сезоны",premiumBarrier:"Для доступа к этим фильтрам требуется премиум.",verificationEmailSent:"Письмо с подтверждением отправлено.",updateEmail:"Обновить почту",text:"Текст",syncingInProgress:"Синхронизация...",matchRecord:"История матчей",gameRecord:"История игр",vs:"vs",game:"Игра",tie:"Ничья",submit:"Отправить",attackTokenOddsWr:"Токен атаки: Шансы на победу",attackTokenEvensWr:"Токен атаки: Процент побед четных"},descriptions:{deckDecks:"Найдите колоды, похожие на «{title}», для разнообразия игрового процесса.",meta:"Будьте в курсе постоянно меняющейся меты в Legends of Runeterra. Получите информацию о лучших стратегиях и колодах."},landing:{tagLine:"Прокладывайте свой путь к победе",newCards:{title:"Новые карты",navigation:"Трекер Открытий"},builtDecks:{title:"Созданные пользователями колоды",navigation:"Библиотека колод"},deckBuilder:{title:"Создатель",navigation:"Создатель колод"},leaderboard:{title:"Таблица лидеров",navigation:"Таблица лидеров"},meta:{title:"Архетипы",navigation:"Метагейм"},decks:{title:"Колоды",navigation:"Колоды"},cards:{title:"Карты",navigation:"Статистика карт"}},tournament:{standings:"Таблица",oppWinrate:"Процент побед противников",oppGameWinrate:"Процент побед противников в игре",gameWinrate:"Процент побед в игре",admin:{editMatchWinner:"Редактировать победителя матча",nextRound:{text:"Предыдущий раунд завершен. Пожалуйста, переходите к следующему раунду.",button:"Следующий раунд"},wrongDeck:{text:"Игрок {name} сыграл колоду, которая не была подана. Проверьте матч в сетке."},start:{text:"Вы можете начать турнир сейчас. Это автоматически запустит первый раунд.",button:"Начать Турнир"}},feed:{withdrawal:"Вывод",withdrawalMessage:"Игрок вышел из турнира.",signUp:"Новая регистрация",matchUpdate:"Обновление матча",checkIn:"Зарегистрироваться",adminUpdate:"Обновление администратора",created:"Турнир создан",createdMessage:"Турнир был создан.",roundStarted:"Раунд начался",roundStartedMessage:"Начался новый раунд."},timeline:{registration:{title:"Регистрация",description:"Регистрация на турнир открыта. Зарегистрируйтесь сейчас!"},checkIn:{title:"Зарегистрироваться"},start:{title:"Начать",description:"Турнир начался!"},end:{title:"Завершено",description:"Турнир завершен."}},prompt:{checkedIn:{text:"Вы зарегистрированы для участия в турнире.",button:"Перейти на страницу участника"},registered:{text:"Вы зарегистрированы на турнир.",button:"Зарегистрироваться"},signUp:{text:"Зарегистрируйтесь, чтобы участвовать в этом турнире.",button:"Зарегистрироваться"}},errors:{notLoggedIn:"Вы должны войти в систему, чтобы зарегистрироваться на турнир."},decksSubmission:{heading:"Отправка колод",description:"Отправьте свои колоды для турнира.",submitDecks:"Отправить колоды",decksAreDue:"Колоды должны быть сданы"},participant:{banDecks:{heading:"Запретить колоды",submit:"Подтвердить запрет | Подтвердить запреты"},playMatch:{heading:"Играть матч"}}},profile:{winrateOverTime:"Процент побед с течением времени",winrateByChampion:"Процент побед по чемпиону",winrateByRegion:"Процент побед по регионам",winrateByRoundAttacking:"Процент побед по раундам атаки",winrateAgainstChampion:"Процент побед против чемпиона",winrateAgainstRegion:"Процент побед против региона",commonOpponents:"Общие противники"},navigation:{searchPlaceholder:"Искать карты или игроков",subscriptionStatus:"{type} {event} через {days}д"},ads:{supportLorgg:"Поддержите LOR.GG",disableAdBlock:"Пожалуйста, отключите блокировщик рекламы",considerDonating:"Рассмотрите возможность пожертвования",considerDonatingOr:"Или рассмотрите возможность пожертвовать",considerPremium:"Или рассмотрите Premium",premiumModal:{title:"Поддержите LOR.GG",benefits:{title:"Преимущества Премиум:",noAds:"Без рекламы",supportDevelopment:"Поддержите дальнейшую разработку",exclusiveFeatures:"Доступ к эксклюзивным функциям"},close:"Закрыть",buyPremium:"Получить Премиум"}},premium:{loading:"Загрузка подписок...",title:"Подписки LOR.GG",loginToSubscribe:"Войдите с помощью Riot, чтобы подписаться",verifyToSubscribe:"Подтвердите электронную почту для подписки",verifyHint:"Действия по оплате доступны после подтверждения электронной почты.",loadingPaymentUi:"Загрузка интерфейса оплаты...",cancelAutoRenew:"Отменить автопродление",resumeAutoRenew:"Возобновить Авто-Продление",updatePaymentMethod:"Обновить способ оплаты",cancelCompleted:"Автообновление отключено.",resumeCompleted:"Автообновление возобновлено.",subscriptionStatus:"Ваша подписка {event} через {days} день(дня).",subscriptionEvent:{renews:"продляется",cancels:"отменяет"},errors:{loadPayment:"Не удалось загрузить интерфейс оплаты в данный момент.",loadSubscription:"Не удалось загрузить данные подписки.",cancel:"Не удалось отменить автоматическое продление.",resume:"Не удалось возобновить автоматическое продление."},adFree:{title:"Без рекламы",price:"$0.99 / месяц",changeAction:"Перейти на безрекламный режим",feature1:"Удаляет рекламу на сайте",feature2:"Поддерживает дальнейшее развитие"},premium:{title:"Премиум",price:"$2.99 / месяц",changeAction:"Перейти на Премиум",feature1:"Без рекламы",feature2:"Опции персонализации",feature3:"Расширенная фильтрация",feature4:"Организуйте Неограниченные Турниры"}}},d8={cardLottery:{setBanner:"设为横幅",setIcon:"设为头像",openAnother:"再开一个"},cards:{roundDrawn:"抽到的回合",roundPlayed:"使用回合",card:"卡牌",cards:"卡牌",inclusion:"使用率",avgCopies:"平均张数",mulliganWinrate:"调度胜率",keptInMulligan:"调度保留",drawnWinrate:"抽到胜率",turnPlayed:"使用回合",turnsHeld:"手牌回合数",recommendedDecks:"推荐卡组",similarCards:"相似卡牌",attack:"攻击力",health:"生命值",quantityOwned:"拥有数量",cost:"费用"},deck:{copyDeckCode:"复制卡组代码",deckCodeCopied:"卡组代码已复制",deleteDeck:"删除卡组",deleteDeckConfirmation:"确定要删除此卡组吗?",editDeckName:"编辑卡组名称",signInToUpload:"请登录以上传卡组",uploadDeckToLor:"上传卡组到 Legends of Runeterra",deckUploaded:"卡组已上传!",updatePrivacy:"更新卡组隐私设置",deckPrivate:"当前为私密",deckPublic:"当前为公开",openInDeckBuilder:"在卡组构建器中打开",numManaCards:"{num} 张法力卡",simulateMulligan:"模拟调度",replaceAllCards:"替换所有卡牌",replaceSelectedCards:"替换选中的卡牌",personalCost:"个人成本",originalCost:"原始成本",openArchetypePage:"打开构筑类型页面",shareDeck:"分享卡组",showPreview:"显示卡组预览"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`已存在同名卡组。
|
|
64
|
+
Не переживайте — вы можете получить больше, используя методы ниже!`,cards:{option1:"Заходите на LOR.GG каждую неделю и получайте 10 паков карт.",option2:"Каждая синхронизация загружает ваши последние 20 матчей. Получайте 1 пак за каждые 2 синхронизированных матча!",option3:"Надоело ждать идеальную карту? Перейдите на премиум и используйте любую карту как иконку или баннер!"}},settings:{privacy:"Конфиденциальность",privateProfile:"Приватный профиль",privateProfileDesc:"При включении этой опции детали профиля будут скрыты. Публичные колоды останутся видимыми.",email:"Электронная почта",resendVerification:"Отправить подтверждение ещё раз",account:"Аккаунт",payment:"Оплата",personalization:"Персонализация",images:"Изображения",banner:"Баннер",bannerDesc:"Баннеры можно получить во вкладке «Паки карт». Они отображаются в профиле и таблице лидеров.",bannerDescPremium:"С премиумом вы можете установить любую карту в качестве баннера.",icon:"Иконка",iconDesc:"Иконки можно получить во вкладке «Паки карт». Они отображаются в профиле.",iconDescPremium:"С премиумом вы можете установить любую карту в качестве иконки.",color:"Цвет",colorDesc:"Выделяйтесь с помощью любимого цвета. Отображается везде, где показан баннер.",colorDescPremium:"Выбор цвета доступен только премиум-пользователям."},general:{manaCost:"Стоимость маны",cost:"Стоимость",regions:"Регионы",clear:"Очистить",clearAll:"Очистить всё",copy:"Копировать",patch:"Патч",matches:"Матчи",wins:"Победы",losses:"Поражения",winrate:"Винрейт",quantity:"Количество",round:"Раунд",total:"Всего",champion:"Чемпион",follower:"Последователь",spell:"Заклинание",landmark:"Ориентир",equipment:"Снаряжение",champions:"Чемпионы",followers:"Последователи",spells:"Заклинания",landmarks:"Ориентиры",equipments:"Снаряжение",statistics:"Статистика",advanced:"Расширенные",newAdvancedFilter:"Новый расширенный фильтр",types:"Типы",rarities:"Редкости",sets:"Наборы",keywords:"Ключевые слова",pastDays:"За последние {count} дней",pastHours:"За последние {count} часов",pastHour:"За последний час",season:"Сезон",servers:"Серверы",sampleSize:"Размер выборки",minimumMatches:"Минимум матчей",ranks:"Ранги",allRanks:"Все ранги",platPlus:"Платина+",deck:"Колода",manaCurve:"Кривая маны",name:"Название",updated:"Обновлено",created:"Создано",card:"Карта",cards:"Карты",inclusion:"Использование",avgCopies:"Ср. копий",turnsHeld:"Ходов в руке",mulliganWinrate:"ВР муллигана",keptInMulligan:"Оставлена в муллигане",drawnWinrate:"Винрейт при доборе",turnPlayed:"Ход розыгрыша",playrate:"Частота использования",deckDifferences:"Различия колод",player:"Игрок",lp:"LP",change:"Изменение",favoriteDeck:"Любимая колода",server:"Сервер",players:"Игроки",time:"Время",type:"Тип",rarity:"Редкость",archetypes:"Архетипы",archetype:"Архетип",profile:"Профиль",leaderboard:"Таблица лидеров",victory:"Победа",defeat:"Поражение",newCards:"Новые карты",signIn:"Войти",syncUserData:"Синхронизировать данные",settings:"Настройки",gamesPlayed:"Сыграно игр",premium:"Премиум",renews:"Продлевается",expires:"Истекает",getPremium:"Получить премиум!",becomeTheMaster:"Стань мастером",format:"Формат",otherFormats:"Другие форматы",queues:"Очереди",save:"Сохранить",captureImage:"Сохранить изображение",deckCode:"Код колоды",library:"Библиотека",openCards:"Открыть паки карт",attackingFirst:"Атака первым",attackingSecond:"Атака вторым",overall:"Общий",list:"Список",graph:"График",decks:"Колоды",popularityTimeline:"Динамика популярности",overallWinrate:"Общий винрейт",deckLibrary:"Библиотека колод",deckBuilder:"Конструктор колод",inclusionTimeline:"Динамика использования",winrateTimeline:"Динамика винрейта",winrateByGamesPlayed:"Винрейт по числу игр",meta:"Мета",youHave:"У вас есть: ",holdShiftForAssociated:"Удерживайте Shift, чтобы увидеть связанные карты",cardArt:"Иллюстрация карты",regionDistribution:"Распределение регионов",noResults:"Нет результатов",tryAgain:"Измените фильтры и попробуйте снова.",createdAt:"Дата создания",updatedAt:"Дата обновления",page:"Страница",deckStats:"Статистика колоды",cardStats:"Статистика карты",cardGallery:"Галерея карт",close:"Закрыть",overwrite:"Перезаписать",rename:"Переименовать",view:"Просмотр",mustBeLoggedIn:"Вы должны войти в систему, чтобы выполнить это действие.",uploadFailed:"Ошибка загрузки",successfullyUploaded:"Успешно загружено",cardLottery:"Лотерея карт",confirm:"Подтвердить",verified:"Подтверждено",notVerified:"Не подтверждено",patches:"Патчи",seasons:"Сезоны",premiumBarrier:"Для доступа к этим фильтрам требуется премиум.",verificationEmailSent:"Письмо с подтверждением отправлено.",updateEmail:"Обновить почту",text:"Текст",syncingInProgress:"Синхронизация...",matchRecord:"История матчей",gameRecord:"История игр",vs:"vs",game:"Игра",tie:"Ничья",submit:"Отправить",attackTokenOddsWr:"Токен атаки: Шансы на победу",attackTokenEvensWr:"Токен атаки: Процент побед четных",current:"Текущий"},descriptions:{deckDecks:"Найдите колоды, похожие на «{title}», для разнообразия игрового процесса.",meta:"Будьте в курсе постоянно меняющейся меты в Legends of Runeterra. Получите информацию о лучших стратегиях и колодах."},landing:{tagLine:"Прокладывайте свой путь к победе",newCards:{title:"Новые карты",navigation:"Трекер Открытий"},builtDecks:{title:"Созданные пользователями колоды",navigation:"Библиотека колод"},deckBuilder:{title:"Создатель",navigation:"Создатель колод"},leaderboard:{title:"Таблица лидеров",navigation:"Таблица лидеров"},meta:{title:"Архетипы",navigation:"Метагейм"},decks:{title:"Колоды",navigation:"Колоды"},cards:{title:"Карты",navigation:"Статистика карт"}},tournament:{standings:"Таблица",oppWinrate:"Процент побед противников",oppGameWinrate:"Процент побед противников в игре",gameWinrate:"Процент побед в игре",admin:{editMatchWinner:"Редактировать победителя матча",nextRound:{text:"Предыдущий раунд завершен. Пожалуйста, переходите к следующему раунду.",button:"Следующий раунд"},wrongDeck:{text:"Игрок {name} сыграл колоду, которая не была подана. Проверьте матч в сетке."},start:{text:"Вы можете начать турнир сейчас. Это автоматически запустит первый раунд.",button:"Начать Турнир"}},feed:{withdrawal:"Вывод",withdrawalMessage:"Игрок вышел из турнира.",signUp:"Новая регистрация",matchUpdate:"Обновление матча",checkIn:"Зарегистрироваться",adminUpdate:"Обновление администратора",created:"Турнир создан",createdMessage:"Турнир был создан.",roundStarted:"Раунд начался",roundStartedMessage:"Начался новый раунд."},timeline:{registration:{title:"Регистрация",description:"Регистрация на турнир открыта. Зарегистрируйтесь сейчас!"},checkIn:{title:"Зарегистрироваться"},start:{title:"Начать",description:"Турнир начался!"},end:{title:"Завершено",description:"Турнир завершен."}},prompt:{checkedIn:{text:"Вы зарегистрированы для участия в турнире.",button:"Перейти на страницу участника"},registered:{text:"Вы зарегистрированы на турнир.",button:"Зарегистрироваться"},signUp:{text:"Зарегистрируйтесь, чтобы участвовать в этом турнире.",button:"Зарегистрироваться"}},errors:{notLoggedIn:"Вы должны войти в систему, чтобы зарегистрироваться на турнир."},decksSubmission:{heading:"Отправка колод",description:"Отправьте свои колоды для турнира.",submitDecks:"Отправить колоды",decksAreDue:"Колоды должны быть сданы"},participant:{banDecks:{heading:"Запретить колоды",submit:"Подтвердить запрет | Подтвердить запреты"},playMatch:{heading:"Играть матч"}}},profile:{winrateOverTime:"Процент побед с течением времени",winrateByChampion:"Процент побед по чемпиону",winrateByRegion:"Процент побед по регионам",winrateByRoundAttacking:"Процент побед по раундам атаки",winrateAgainstChampion:"Процент побед против чемпиона",winrateAgainstRegion:"Процент побед против региона",commonOpponents:"Общие противники"},navigation:{searchPlaceholder:"Искать карты или игроков",subscriptionStatus:"{type} {event} через {days}д"},ads:{supportLorgg:"Поддержите LOR.GG",disableAdBlock:"Пожалуйста, отключите блокировщик рекламы",considerDonating:"Рассмотрите возможность пожертвования",considerDonatingOr:"Или рассмотрите возможность пожертвовать",considerPremium:"Или рассмотрите Premium",premiumModal:{title:"Поддержите LOR.GG",benefits:{title:"Преимущества Премиум:",noAds:"Без рекламы",supportDevelopment:"Поддержите дальнейшую разработку",exclusiveFeatures:"Доступ к эксклюзивным функциям"},close:"Закрыть",buyPremium:"Получить Премиум"}},premium:{loading:"Загрузка подписок...",title:"Подписки LOR.GG",loginToSubscribe:"Войдите с помощью Riot, чтобы подписаться",verifyToSubscribe:"Подтвердите электронную почту для подписки",verifyHint:"Действия по оплате доступны после подтверждения электронной почты.",loadingPaymentUi:"Загрузка интерфейса оплаты...",cancelAutoRenew:"Отменить автопродление",resumeAutoRenew:"Возобновить Авто-Продление",updatePaymentMethod:"Обновить способ оплаты",cancelCompleted:"Автообновление отключено.",resumeCompleted:"Автообновление возобновлено.",subscriptionStatus:"Ваша подписка {event} через {days} день(дня).",subscriptionEvent:{renews:"продляется",cancels:"отменяет"},errors:{loadPayment:"Не удалось загрузить интерфейс оплаты в данный момент.",loadSubscription:"Не удалось загрузить данные подписки.",cancel:"Не удалось отменить автоматическое продление.",resume:"Не удалось возобновить автоматическое продление."},adFree:{title:"Без рекламы",price:"$0.99 / месяц",changeAction:"Перейти на безрекламный режим",feature1:"Удаляет рекламу на сайте",feature2:"Поддерживает дальнейшее развитие"},premium:{title:"Премиум",price:"$2.99 / месяц",changeAction:"Перейти на Премиум",feature1:"Без рекламы",feature2:"Опции персонализации",feature3:"Расширенная фильтрация",feature4:"Организуйте Неограниченные Турниры"}}},d8={cardLottery:{setBanner:"设为横幅",setIcon:"设为头像",openAnother:"再开一个"},cards:{roundDrawn:"抽到的回合",roundPlayed:"使用回合",card:"卡牌",cards:"卡牌",inclusion:"使用率",avgCopies:"平均张数",mulliganWinrate:"调度胜率",keptInMulligan:"调度保留",drawnWinrate:"抽到胜率",turnPlayed:"使用回合",turnsHeld:"手牌回合数",recommendedDecks:"推荐卡组",similarCards:"相似卡牌",attack:"攻击力",health:"生命值",quantityOwned:"拥有数量",cost:"费用"},deck:{copyDeckCode:"复制卡组代码",deckCodeCopied:"卡组代码已复制",deleteDeck:"删除卡组",deleteDeckConfirmation:"确定要删除此卡组吗?",editDeckName:"编辑卡组名称",signInToUpload:"请登录以上传卡组",uploadDeckToLor:"上传卡组到 Legends of Runeterra",deckUploaded:"卡组已上传!",updatePrivacy:"更新卡组隐私设置",deckPrivate:"当前为私密",deckPublic:"当前为公开",openInDeckBuilder:"在卡组构建器中打开",numManaCards:"{num} 张法力卡",simulateMulligan:"模拟调度",replaceAllCards:"替换所有卡牌",replaceSelectedCards:"替换选中的卡牌",personalCost:"个人成本",originalCost:"原始成本",openArchetypePage:"打开构筑类型页面",shareDeck:"分享卡组",showPreview:"显示卡组预览"},archetype:{abbreviation:"A"},deckBuilder:{confirmOverwrite:`已存在同名卡组。
|
|
65
65
|
是否覆盖之前的版本?`,deckCreated:"卡组已创建",inputDeckCode:"粘贴卡组代码"},leaderboard:{totalPlayers:"玩家总数",lp:"LP",rank:"排名",updated:"已更新"},personalization:{noGiftsAvailable:"暂无卡包",noGiftsAvailableDesc:`糟糕!
|
|
66
66
|
你的卡包已经用完了!
|
|
67
|
-
别担心,可以通过以下方式获取更多!`,cards:{option1:"每周登录 LOR.GG 可获得 10 个卡包。",option2:"每次同步数据会上传你最近的 20 场对局。每同步 2 场即可获得 1 个卡包!",option3:"等不及那张完美的卡牌了吗?升级为高级会员,任意卡牌都可设为头像或横幅!"}},settings:{privacy:"隐私",privateProfile:"私密资料",privateProfileDesc:"启用后,其他人将无法查看你的玩家信息。公开卡组仍会显示。",email:"电子邮箱",resendVerification:"重新发送验证邮件",account:"账户",payment:"支付",personalization:"个性化",images:"图片",banner:"横幅",bannerDesc:"横幅可通过导航栏中的“卡包”标签获取,将显示在排行榜和个人资料中。",bannerDescPremium:"高级会员可将任意卡牌设为横幅。",icon:"头像",iconDesc:"头像可通过“卡包”标签获取,将显示在个人资料中。",iconDescPremium:"高级会员可将任意卡牌设为头像。",color:"颜色",colorDesc:"用你喜欢的颜色展现个性,将显示在所有横幅位置。",colorDescPremium:"颜色选择仅限高级会员。"},general:{manaCost:"法力费用",cost:"费用",regions:"地区",clear:"清除",clearAll:"全部清除",copy:"复制",patch:"补丁",matches:"对局",wins:"胜利",losses:"失败",winrate:"胜率",quantity:"数量",round:"回合",total:"总计",champion:"英雄",follower:"随从",spell:"法术",landmark:"地标",equipment:"装备",champions:"英雄",followers:"随从",spells:"法术",landmarks:"地标",equipments:"装备",statistics:"统计",advanced:"高级",newAdvancedFilter:"新的高级筛选器",types:"类型",rarities:"稀有度",sets:"系列",keywords:"关键词",pastDays:"过去 {count} 天",pastHours:"过去 {count} 小时",pastHour:"过去 1 小时",season:"赛季",servers:"服务器",sampleSize:"样本数量",minimumMatches:"最少对局数",ranks:"段位",allRanks:"所有段位",platPlus:"白金+",deck:"卡组",manaCurve:"法力曲线",name:"名称",updated:"已更新",created:"已创建",card:"卡牌",cards:"卡牌",inclusion:"使用率",avgCopies:"平均张数",turnsHeld:"手牌回合数",mulliganWinrate:"调度胜率",keptInMulligan:"调度保留",drawnWinrate:"抽到胜率",turnPlayed:"使用回合",playrate:"使用率",deckDifferences:"卡组差异",player:"玩家",lp:"LP",change:"变化",favoriteDeck:"最爱卡组",server:"服务器",players:"玩家",time:"时间",type:"类型",rarity:"稀有度",archetypes:"构筑类型",archetype:"构筑类型",profile:"个人资料",leaderboard:"排行榜",victory:"胜利",defeat:"失败",newCards:"新卡牌",signIn:"登录",syncUserData:"同步用户数据",settings:"设置",gamesPlayed:"已玩对局",premium:"高级会员",renews:"续订",expires:"到期",getPremium:"获取高级会员!",becomeTheMaster:"成为大师",format:"模式",otherFormats:"其他模式",queues:"队列",save:"保存",captureImage:"保存图片",deckCode:"卡组代码",library:"库",openCards:"打开卡包",attackingFirst:"先攻",attackingSecond:"后攻",overall:"总体",list:"列表",graph:"图表",decks:"卡组",popularityTimeline:"流行度趋势",overallWinrate:"总体胜率",deckLibrary:"卡组库",deckBuilder:"卡组构建器",inclusionTimeline:"使用率趋势",winrateTimeline:"胜率趋势",winrateByGamesPlayed:"按对局数胜率",meta:"环境",youHave:"你拥有:",holdShiftForAssociated:"按住 Shift 查看关联卡牌",cardArt:"卡牌美术",regionDistribution:"地区分布",noResults:"无结果",tryAgain:"调整筛选条件后重试。",createdAt:"创建时间",updatedAt:"更新时间",page:"页",deckStats:"卡组统计",cardStats:"卡牌统计",cardGallery:"卡牌画廊",close:"关闭",overwrite:"覆盖",rename:"重命名",view:"查看",mustBeLoggedIn:"你必须登录才能完成此操作。",uploadFailed:"上传失败",successfullyUploaded:"上传成功",cardLottery:"卡牌抽取",confirm:"确认",verified:"已验证",notVerified:"未验证",patches:"补丁",seasons:"赛季",premiumBarrier:"你必须是高级会员才能使用这些筛选选项。",verificationEmailSent:"验证邮件已发送。",updateEmail:"更新邮箱",text:"文本",syncingInProgress:"正在同步",matchRecord:"对局记录",gameRecord:"游戏记录",vs:"vs",game:"游戏",tie:"平局",submit:"提交",attackTokenOddsWr:"攻击标记:胜率概率",attackTokenEvensWr:"攻击令牌:平局胜率"},descriptions:{deckDecks:"找到与“{title}”相似的卡组,以获得多样的游戏选项。",meta:"随时了解《符文之地传奇》中不断演变的元环境。获取关于顶级策略和卡组的洞察。"},landing:{tagLine:"绘制通往胜利的道路",newCards:{title:"新卡牌",navigation:"揭示追踪器"},builtDecks:{title:"用户创建的卡组",navigation:"卡组库"},deckBuilder:{title:"构建器",navigation:"卡组构建器"},leaderboard:{title:"排行榜",navigation:"排行榜"},meta:{title:"卡组类型",navigation:"元环境"},decks:{title:"卡组",navigation:"卡组"},cards:{title:"卡牌",navigation:"卡牌统计"}},tournament:{standings:"排名",oppWinrate:"对手胜率",oppGameWinrate:"对手的游戏胜率",gameWinrate:"比赛胜率",admin:{editMatchWinner:"编辑比赛赢家",nextRound:{text:"上一轮已结束。请进入下一轮。",button:"下一轮"},wrongDeck:{text:"玩家{name}使用了未提交的卡组。请在括号中查看比赛。"},start:{text:"您现在可以开始比赛了。这将自动开始第一轮。",button:"开始比赛"}},feed:{withdrawal:"撤回",withdrawalMessage:"一名玩家已退出比赛。",signUp:"新注册",matchUpdate:"比赛更新",checkIn:"签到",adminUpdate:"管理员更新",created:"比赛创建成功",createdMessage:"锦标赛已创建。",roundStarted:"回合开始",roundStartedMessage:"新一轮已开始。"},timeline:{registration:{title:"注册",description:"比赛注册现已开放。立即报名!"},checkIn:{title:"签到"},start:{title:"开始",description:"比赛已经开始!"},end:{title:"结束",description:"比赛已结束。"}},prompt:{checkedIn:{text:"您已报名参加比赛。",button:"前往参与者页面"},registered:{text:"您已注册参加比赛。",button:"签到"},signUp:{text:"注册以参加本次比赛。",button:"注册"}},errors:{notLoggedIn:"您必须登录才能报名参加比赛。"},decksSubmission:{heading:"卡组提交",description:"提交您的牌组以参加比赛。",submitDecks:"提交卡组",decksAreDue:"牌组提交截止"},participant:{banDecks:{heading:"禁用卡组",submit:"提交禁用卡组 | 提交禁用卡组"},playMatch:{heading:"进行对局"}}},profile:{winrateOverTime:"随时间变化的胜率",winrateByChampion:"按英雄胜率",winrateByRegion:"按地区胜率",winrateByRoundAttacking:"攻击回合胜率",winrateAgainstChampion:"对抗英雄的胜率",winrateAgainstRegion:"对区域的胜率",commonOpponents:"常见对手"},navigation:{searchPlaceholder:"搜索卡牌或玩家",subscriptionStatus:"{type} {event} 在 {days} 天内"},ads:{supportLorgg:"支持 LOR.GG",disableAdBlock:"请禁用广告拦截器",considerDonating:"考虑捐赠",considerDonatingOr:"“或者考虑捐赠”",considerPremium:"或者考虑升级到高级版",premiumModal:{title:"支持 LOR.GG",benefits:{title:"高级福利:",noAds:"无广告体验",supportDevelopment:"支持持续开发",exclusiveFeatures:"访问独家功能"},close:"关闭",buyPremium:"获取高级版"}},premium:{loading:"加载订阅中...",title:"LOR.GG 订阅",loginToSubscribe:"使用Riot登录以订阅",verifyToSubscribe:"验证电子邮件以订阅",verifyHint:"在邮箱验证后,支付操作可用。",loadingPaymentUi:"加载支付界面...",cancelAutoRenew:"取消自动续订",resumeAutoRenew:"恢复自动续费",updatePaymentMethod:"更新支付方式",cancelCompleted:"自动续订已禁用。",resumeCompleted:"自动续订已恢复。",subscriptionStatus:"您的订阅将在 {days} 天内 {event}。",subscriptionEvent:{renews:"续订",cancels:"取消"},errors:{loadPayment:"当前无法加载支付界面。",loadSubscription:"无法加载订阅详情。",cancel:"取消自动续订失败。",resume:"自动续订失败。"},adFree:{title:"无广告",price:"¥0.99 / 月",changeAction:"降级为无广告",feature1:"全站去除广告",feature2:"支持持续开发"},premium:{title:"高级",price:"¥2.99 / 月",changeAction:"升级到高级版",feature1:"无广告",feature2:"个性化选项",feature3:"高级筛选",feature4:"组织无限锦标赛"}}};function u8(e="en"){return VS({legacy:!1,locale:e,fallbackLocale:"en",messages:{en:ZS,de:e8,es:t8,fr:n8,it:r8,ja:a8,ko:i8,pl:o8,pt:s8,th:A8,tr:l8,ru:c8,zh:d8}})}/*!
|
|
67
|
+
别担心,可以通过以下方式获取更多!`,cards:{option1:"每周登录 LOR.GG 可获得 10 个卡包。",option2:"每次同步数据会上传你最近的 20 场对局。每同步 2 场即可获得 1 个卡包!",option3:"等不及那张完美的卡牌了吗?升级为高级会员,任意卡牌都可设为头像或横幅!"}},settings:{privacy:"隐私",privateProfile:"私密资料",privateProfileDesc:"启用后,其他人将无法查看你的玩家信息。公开卡组仍会显示。",email:"电子邮箱",resendVerification:"重新发送验证邮件",account:"账户",payment:"支付",personalization:"个性化",images:"图片",banner:"横幅",bannerDesc:"横幅可通过导航栏中的“卡包”标签获取,将显示在排行榜和个人资料中。",bannerDescPremium:"高级会员可将任意卡牌设为横幅。",icon:"头像",iconDesc:"头像可通过“卡包”标签获取,将显示在个人资料中。",iconDescPremium:"高级会员可将任意卡牌设为头像。",color:"颜色",colorDesc:"用你喜欢的颜色展现个性,将显示在所有横幅位置。",colorDescPremium:"颜色选择仅限高级会员。"},general:{manaCost:"法力费用",cost:"费用",regions:"地区",clear:"清除",clearAll:"全部清除",copy:"复制",patch:"补丁",matches:"对局",wins:"胜利",losses:"失败",winrate:"胜率",quantity:"数量",round:"回合",total:"总计",champion:"英雄",follower:"随从",spell:"法术",landmark:"地标",equipment:"装备",champions:"英雄",followers:"随从",spells:"法术",landmarks:"地标",equipments:"装备",statistics:"统计",advanced:"高级",newAdvancedFilter:"新的高级筛选器",types:"类型",rarities:"稀有度",sets:"系列",keywords:"关键词",pastDays:"过去 {count} 天",pastHours:"过去 {count} 小时",pastHour:"过去 1 小时",season:"赛季",servers:"服务器",sampleSize:"样本数量",minimumMatches:"最少对局数",ranks:"段位",allRanks:"所有段位",platPlus:"白金+",deck:"卡组",manaCurve:"法力曲线",name:"名称",updated:"已更新",created:"已创建",card:"卡牌",cards:"卡牌",inclusion:"使用率",avgCopies:"平均张数",turnsHeld:"手牌回合数",mulliganWinrate:"调度胜率",keptInMulligan:"调度保留",drawnWinrate:"抽到胜率",turnPlayed:"使用回合",playrate:"使用率",deckDifferences:"卡组差异",player:"玩家",lp:"LP",change:"变化",favoriteDeck:"最爱卡组",server:"服务器",players:"玩家",time:"时间",type:"类型",rarity:"稀有度",archetypes:"构筑类型",archetype:"构筑类型",profile:"个人资料",leaderboard:"排行榜",victory:"胜利",defeat:"失败",newCards:"新卡牌",signIn:"登录",syncUserData:"同步用户数据",settings:"设置",gamesPlayed:"已玩对局",premium:"高级会员",renews:"续订",expires:"到期",getPremium:"获取高级会员!",becomeTheMaster:"成为大师",format:"模式",otherFormats:"其他模式",queues:"队列",save:"保存",captureImage:"保存图片",deckCode:"卡组代码",library:"库",openCards:"打开卡包",attackingFirst:"先攻",attackingSecond:"后攻",overall:"总体",list:"列表",graph:"图表",decks:"卡组",popularityTimeline:"流行度趋势",overallWinrate:"总体胜率",deckLibrary:"卡组库",deckBuilder:"卡组构建器",inclusionTimeline:"使用率趋势",winrateTimeline:"胜率趋势",winrateByGamesPlayed:"按对局数胜率",meta:"环境",youHave:"你拥有:",holdShiftForAssociated:"按住 Shift 查看关联卡牌",cardArt:"卡牌美术",regionDistribution:"地区分布",noResults:"无结果",tryAgain:"调整筛选条件后重试。",createdAt:"创建时间",updatedAt:"更新时间",page:"页",deckStats:"卡组统计",cardStats:"卡牌统计",cardGallery:"卡牌画廊",close:"关闭",overwrite:"覆盖",rename:"重命名",view:"查看",mustBeLoggedIn:"你必须登录才能完成此操作。",uploadFailed:"上传失败",successfullyUploaded:"上传成功",cardLottery:"卡牌抽取",confirm:"确认",verified:"已验证",notVerified:"未验证",patches:"补丁",seasons:"赛季",premiumBarrier:"你必须是高级会员才能使用这些筛选选项。",verificationEmailSent:"验证邮件已发送。",updateEmail:"更新邮箱",text:"文本",syncingInProgress:"正在同步",matchRecord:"对局记录",gameRecord:"游戏记录",vs:"vs",game:"游戏",tie:"平局",submit:"提交",attackTokenOddsWr:"攻击标记:胜率概率",attackTokenEvensWr:"攻击令牌:平局胜率",current:"当前"},descriptions:{deckDecks:"找到与“{title}”相似的卡组,以获得多样的游戏选项。",meta:"随时了解《符文之地传奇》中不断演变的元环境。获取关于顶级策略和卡组的洞察。"},landing:{tagLine:"绘制通往胜利的道路",newCards:{title:"新卡牌",navigation:"揭示追踪器"},builtDecks:{title:"用户创建的卡组",navigation:"卡组库"},deckBuilder:{title:"构建器",navigation:"卡组构建器"},leaderboard:{title:"排行榜",navigation:"排行榜"},meta:{title:"卡组类型",navigation:"元环境"},decks:{title:"卡组",navigation:"卡组"},cards:{title:"卡牌",navigation:"卡牌统计"}},tournament:{standings:"排名",oppWinrate:"对手胜率",oppGameWinrate:"对手的游戏胜率",gameWinrate:"比赛胜率",admin:{editMatchWinner:"编辑比赛赢家",nextRound:{text:"上一轮已结束。请进入下一轮。",button:"下一轮"},wrongDeck:{text:"玩家{name}使用了未提交的卡组。请在括号中查看比赛。"},start:{text:"您现在可以开始比赛了。这将自动开始第一轮。",button:"开始比赛"}},feed:{withdrawal:"撤回",withdrawalMessage:"一名玩家已退出比赛。",signUp:"新注册",matchUpdate:"比赛更新",checkIn:"签到",adminUpdate:"管理员更新",created:"比赛创建成功",createdMessage:"锦标赛已创建。",roundStarted:"回合开始",roundStartedMessage:"新一轮已开始。"},timeline:{registration:{title:"注册",description:"比赛注册现已开放。立即报名!"},checkIn:{title:"签到"},start:{title:"开始",description:"比赛已经开始!"},end:{title:"结束",description:"比赛已结束。"}},prompt:{checkedIn:{text:"您已报名参加比赛。",button:"前往参与者页面"},registered:{text:"您已注册参加比赛。",button:"签到"},signUp:{text:"注册以参加本次比赛。",button:"注册"}},errors:{notLoggedIn:"您必须登录才能报名参加比赛。"},decksSubmission:{heading:"卡组提交",description:"提交您的牌组以参加比赛。",submitDecks:"提交卡组",decksAreDue:"牌组提交截止"},participant:{banDecks:{heading:"禁用卡组",submit:"提交禁用卡组 | 提交禁用卡组"},playMatch:{heading:"进行对局"}}},profile:{winrateOverTime:"随时间变化的胜率",winrateByChampion:"按英雄胜率",winrateByRegion:"按地区胜率",winrateByRoundAttacking:"攻击回合胜率",winrateAgainstChampion:"对抗英雄的胜率",winrateAgainstRegion:"对区域的胜率",commonOpponents:"常见对手"},navigation:{searchPlaceholder:"搜索卡牌或玩家",subscriptionStatus:"{type} {event} 在 {days} 天内"},ads:{supportLorgg:"支持 LOR.GG",disableAdBlock:"请禁用广告拦截器",considerDonating:"考虑捐赠",considerDonatingOr:"“或者考虑捐赠”",considerPremium:"或者考虑升级到高级版",premiumModal:{title:"支持 LOR.GG",benefits:{title:"高级福利:",noAds:"无广告体验",supportDevelopment:"支持持续开发",exclusiveFeatures:"访问独家功能"},close:"关闭",buyPremium:"获取高级版"}},premium:{loading:"加载订阅中...",title:"LOR.GG 订阅",loginToSubscribe:"使用Riot登录以订阅",verifyToSubscribe:"验证电子邮件以订阅",verifyHint:"在邮箱验证后,支付操作可用。",loadingPaymentUi:"加载支付界面...",cancelAutoRenew:"取消自动续订",resumeAutoRenew:"恢复自动续费",updatePaymentMethod:"更新支付方式",cancelCompleted:"自动续订已禁用。",resumeCompleted:"自动续订已恢复。",subscriptionStatus:"您的订阅将在 {days} 天内 {event}。",subscriptionEvent:{renews:"续订",cancels:"取消"},errors:{loadPayment:"当前无法加载支付界面。",loadSubscription:"无法加载订阅详情。",cancel:"取消自动续订失败。",resume:"自动续订失败。"},adFree:{title:"无广告",price:"¥0.99 / 月",changeAction:"降级为无广告",feature1:"全站去除广告",feature2:"支持持续开发"},premium:{title:"高级",price:"¥2.99 / 月",changeAction:"升级到高级版",feature1:"无广告",feature2:"个性化选项",feature3:"高级筛选",feature4:"组织无限锦标赛"}}};function u8(e="en"){return VS({legacy:!1,locale:e,fallbackLocale:"en",messages:{en:ZS,de:e8,es:t8,fr:n8,it:r8,ja:a8,ko:i8,pl:o8,pt:s8,th:A8,tr:l8,ru:c8,zh:d8}})}/*!
|
|
68
68
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
69
69
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
70
70
|
* Copyright 2024 Fonticons, Inc.
|
|
@@ -652,24 +652,24 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
652
652
|
|
|
653
653
|
`,`1) content: element.innerHTML
|
|
654
654
|
`,"2) content: () => element.cloneNode(true)"].join(" "))}var A=a.reduce(function(l,c){var d=c&&EU(c,r);return d&&l.push(d),l},[]);return cA(e)?A[0]:A}tt.defaultProps=Pn,tt.setDefaultProps=_U,tt.currentInput=Sr,Object.assign({},R2,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}}),tt.setDefaultProps({render:vw});const _w={cardProp:{type:Object,required:!1,default:void 0},cardCodeProp:{type:String,required:!1,default:void 0},isRoot:{type:Boolean,required:!0},quantityNeeded:{type:Number,required:!1,default:void 0},deckList:{type:Object,required:!1,default(){return{}}},isDeckBuilder:{type:Boolean,required:!1,default:!1},showTippyLocation:{type:String,required:!1,default:null}},SU=["alt","src"],FU={key:0,class:"quantity-ticks-container"},IU={key:0},DU={key:0,class:"card-info-quantity-possessed"},TU={key:1,class:"line"},UU={class:"card-info-title"},LU={class:"card-info-text"},OU={key:2,class:"line"},QU={key:3,class:"card-info-text"},MU={key:1,class:"associated-card-container"},PU=s.defineComponent({__name:"CardItem",props:_w,setup(e){const{t}=q(),n=e,r=s.ref(null),a=s.ref(null);let i=null;const o=s.ref(!1),A=Si(n.cardProp,n.cardCodeProp),l=s.computed(()=>A.value===void 0||f.value===null?null:n.quantityNeeded!==void 0&&f.value<n.quantityNeeded?"bad":null),c=s.computed(()=>{if(A.value===void 0)return[];const g=[];if(n.isRoot)for(const B of A.value.associatedCardRefs)g.push(hn().cardJsonObject[B]);return g}),d=s.computed(()=>{if(A.value===void 0)return[];const g=[];for(const B of A.value.keywordRefs){const w=Be().dataJson.keywords.find(y=>y.nameRef===B);w&&g.push(w)}return g}),u=s.computed(()=>n.isRoot&&(f.value!==null||A.value&&(A.value.keywordRefs.length>0||A.value.associatedCardRefs.length>0))),f=s.computed(()=>{var B;const g=Jl().acquiredCards;return g===void 0?null:g[((B=A.value)==null?void 0:B.cardCode)??0]??0}),p=s.computed(()=>A.value===void 0?null:n.isDeckBuilder&&n.deckList[A.value.cardCode]===3?"disabled":null);s.watch(()=>n.showTippyLocation,g=>{i&&(g?(i.setProps({placement:g}),i.show()):i.hide())});function h(){window.addEventListener("keyup",g=>{g.key=="Shift"&&(o.value=!1)})}function m(){window.addEventListener("keydown",g=>{g.key=="Shift"&&(o.value=!0)})}function b(g){return A.value===void 0?null:n.isDeckBuilder?!(A.value.cardCode in n.deckList)||g>n.deckList[A.value.cardCode]?"disabled":null:g>(f.value??0)?"disabled":null}return s.onMounted(()=>{(A.value===void 0||f.value!==null||A.value.keywordRefs.length>0||A.value.associatedCardRefs.length>0)&&(i=tt(r.value,{allowHTML:!0,content:a.value,placement:"right-start",duration:0,role:"card-info",maxWidth:"50vw",touch:!1})),(A.value===void 0||A.value.associatedCardRefs.length>0)&&(h(),m())}),(g,B)=>{var y,_,v;const w=s.resolveComponent("CardItem",!0);return s.openBlock(),s.createElementBlock("div",{class:"card-item-container",onMouseover:B[0]||(B[0]=k=>!0),onMouseleave:B[1]||(B[1]=k=>!1)},[s.createElementVNode("img",{ref_key:"cardItem",ref:r,alt:(y=s.unref(A))==null?void 0:y.name,class:s.normalizeClass(["card-item",p.value]),src:s.unref(ve)().callbacks.cardImageCallback(((_=s.unref(A))==null?void 0:_.cardCode)??"",s.unref(Bt).Card)},null,10,SU),g.isDeckBuilder&&((v=s.unref(A))!=null&&v.collectible)?(s.openBlock(),s.createElementBlock("div",FU,[(s.openBlock(),s.createElementBlock(s.Fragment,null,s.renderList(3,k=>s.createElementVNode("div",{key:k,class:s.normalizeClass(["quantity-tick",b(k)])},null,2)),64))])):s.createCommentVNode("",!0),s.createElementVNode("div",{ref_key:"cardInfo",ref:a,class:s.normalizeClass(o.value?null:"card-info")},[!o.value&&u.value&&s.unref(A)?(s.openBlock(),s.createElementBlock("div",IU,[f.value!==null?(s.openBlock(),s.createElementBlock("div",DU,[s.createTextVNode(s.toDisplayString(s.unref(t)("general.youHave"))+" ",1),s.createElementVNode("b",{class:s.normalizeClass(l.value)},s.toDisplayString(f.value+" / "+(g.quantityNeeded||3)),3)])):s.createCommentVNode("",!0),f.value!==null&&(s.unref(A).keywordRefs.length>0||s.unref(A).associatedCardRefs.length>0)?(s.openBlock(),s.createElementBlock("hr",TU)):s.createCommentVNode("",!0),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(d.value,k=>(s.openBlock(),s.createElementBlock("div",{key:k.nameRef,class:"card-info-section"},[s.createElementVNode("h4",UU,s.toDisplayString(k.name),1),s.createElementVNode("p",LU,s.toDisplayString(k.description),1)]))),128)),s.unref(A).keywordRefs.length>0&&s.unref(A).associatedCardRefs.length>0?(s.openBlock(),s.createElementBlock("hr",OU)):s.createCommentVNode("",!0),s.unref(A).associatedCardRefs.length>0?(s.openBlock(),s.createElementBlock("div",QU,s.toDisplayString(s.unref(t)("general.holdShiftForAssociated")),1)):s.createCommentVNode("",!0)])):(s.openBlock(),s.createElementBlock("div",MU,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(c.value,k=>(s.openBlock(),s.createBlock(w,{key:k.cardCode,"card-code-prop":k.cardCode,"is-deck-builder":!1,"is-root":!1,class:"associated-card"},null,8,["card-code-prop"]))),128))]))],2)],32)}}}),Epe="",Vi=Q(PU,[["__scopeId","data-v-bdd119d0"]]),NU={cardProp:{type:Object,required:!1,default:void 0},cardCodeProp:{type:String,required:!1,default:void 0},ignoreCardItem:{type:Boolean,required:!1,default:void 0},color:{type:[String,null],required:!1,default:void 0},name:{type:String,required:!1,default:void 0},manaNumber:{type:[Number,null],required:!1,default:void 0},routerLink:{type:[Object,String],required:!1,default:"404"},quantityNumber:{type:Number,required:!1,default:void 0},maintainAspectRatio:{type:Boolean,required:!1,default:!0},showPlusMinus:{type:Boolean,required:!1,default:!1}},RU="data:image/svg+xml;base64,ICA8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDMxIDM2Ij4KICAgIDxkZWZzPgogICAgICA8bGluZWFyR3JhZGllbnQKICAgICAgICBpZD0iYSIKICAgICAgICB4MT0iLjA4IgogICAgICAgIHkxPSIuODIiCiAgICAgICAgeDI9IjEiCiAgICAgICAgeTI9Ii4xOSIKICAgICAgICBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIKICAgICAgPgogICAgICAgIDxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iIzA0NjZjOCIgLz4KICAgICAgICA8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMwMDNhOWUiIC8+CiAgICAgIDwvbGluZWFyR3JhZGllbnQ+CiAgICA8L2RlZnM+CiAgICA8ZyB0cmFuc2Zvcm09InJvdGF0ZSg5MCAxNS41IDE1LjUpIiBmaWxsPSJ1cmwoI2EpIj4KICAgICAgPHBhdGgKICAgICAgICBkPSJNMjMuNTUgMzAuNWgtMTEuMWE1LjUyIDUuNTIgMCAwIDEtNC43NS0yLjc0bC01LjUyLTkuNWE1LjUxIDUuNTEgMCAwIDEgMC01LjUybDUuNTItOS41QTUuNTIgNS41MiAwIDAgMSAxMi40NS41aDExLjFhNS41MiA1LjUyIDAgMCAxIDQuNzUgMi43NGw1LjUyIDkuNWMuOTkgMS43Ljk5IDMuODIgMCA1LjUybC01LjUyIDkuNWE1LjUyIDUuNTIgMCAwIDEtNC43NSAyLjc0WiIKICAgICAgLz4KICAgICAgPHBhdGgKICAgICAgICBkPSJNMTIuNDUgMWMtMS43NyAwLTMuNDMuOTUtNC4zMiAyLjQ5bC01LjUyIDkuNWE1LjAxIDUuMDEgMCAwIDAgMCA1LjAybDUuNTIgOS41QTUuMDIgNS4wMiAwIDAgMCAxMi40NSAzMGgxMS4xYzEuNzcgMCAzLjQzLS45NSA0LjMyLTIuNDlsNS41Mi05LjVjLjktMS41NS45LTMuNDcgMC01LjAybC01LjUyLTkuNUE1LjAyIDUuMDIgMCAwIDAgMjMuNTUgMWgtMTEuMW0wLTFoMTEuMWE2IDYgMCAwIDEgNS4xOCAyLjk5bDUuNTIgOS41YTYgNiAwIDAgMSAwIDYuMDJsLTUuNTIgOS41QTYgNiAwIDAgMSAyMy41NSAzMWgtMTEuMWE2IDYgMCAwIDEtNS4xOC0yLjk5bC01LjUyLTkuNWE2IDYgMCAwIDEgMC02LjAybDUuNTItOS41QTYgNiAwIDAgMSAxMi40NSAwWiIKICAgICAgICBmaWxsPSIjZmZjNTNlIgogICAgICAvPgogICAgPC9nPgogIDwvc3ZnPg==",HU=["src"],uA=s.defineComponent({__name:"ManaHexagonIcon",setup(e){return(t,n)=>(s.openBlock(),s.createElementBlock("img",{src:s.unref(RU)},null,8,HU))}});function sh(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function VU(e){if(Array.isArray(e))return sh(e)}function tn(e,t,n){return(t=jU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zU(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $U(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
655
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function lr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Cw(Object(n),!0).forEach(function(r){tn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cw(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function KU(e,t){if(e==null)return{};var n,r,a=WU(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function WU(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Ah(e){return VU(e)||zU(e)||YU(e)||$U()}function GU(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function jU(e){var t=GU(e,"string");return typeof t=="symbol"?t:t+""}function Lc(e){"@babel/helpers - typeof";return Lc=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},Lc(e)}function YU(e,t){if(e){if(typeof e=="string")return sh(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sh(e,t):void 0}}function fA(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?tn({},e,t):{}}function qU(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},tn(tn(tn(tn(tn(tn(tn(tn(tn(tn(t,"fa-".concat(e.size),e.size!==null),"fa-rotate-".concat(e.rotation),e.rotation!==null),"fa-rotate-by",e.rotateBy),"fa-pull-".concat(e.pull),e.pull!==null),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),tn(tn(tn(tn(t,"fa-flash",e.flash),"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse),"fa-width-auto",e.widthAuto));return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}var XU=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},kw={exports:{}};(function(e){(function(t){var n=function(g,B,w){if(!c(B)||u(B)||f(B)||p(B)||l(B))return B;var y,_=0,v=0;if(d(B))for(y=[],v=B.length;_<v;_++)y.push(n(g,B[_],w));else{y={};for(var k in B)Object.prototype.hasOwnProperty.call(B,k)&&(y[g(k,w)]=n(g,B[k],w))}return y},r=function(g,B){B=B||{};var w=B.separator||"_",y=B.split||/(?=[A-Z])/;return g.split(y).join(w)},a=function(g){return h(g)?g:(g=g.replace(/[\-_\s]+(.)?/g,function(B,w){return w?w.toUpperCase():""}),g.substr(0,1).toLowerCase()+g.substr(1))},i=function(g){var B=a(g);return B.substr(0,1).toUpperCase()+B.substr(1)},o=function(g,B){return r(g,B).toLowerCase()},A=Object.prototype.toString,l=function(g){return typeof g=="function"},c=function(g){return g===Object(g)},d=function(g){return A.call(g)=="[object Array]"},u=function(g){return A.call(g)=="[object Date]"},f=function(g){return A.call(g)=="[object RegExp]"},p=function(g){return A.call(g)=="[object Boolean]"},h=function(g){return g=g-0,g===g},m=function(g,B){var w=B&&"process"in B?B.process:B;return typeof w!="function"?g:function(y,_){return w(y,g,_)}},b={camelize:a,decamelize:o,pascalize:i,depascalize:o,camelizeKeys:function(g,B){return n(m(a,B),g)},decamelizeKeys:function(g,B){return n(m(o,B),g,B)},pascalizeKeys:function(g,B){return n(m(i,B),g)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=b:t.humps=b})(XU)})(kw);var JU=kw.exports,ZU=["class","style"];function eL(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),a=JU.camelize(n.slice(0,r)),i=n.slice(r+1).trim();return t[a]=i,t},{})}function tL(e){return e.split(/\s+/).reduce(function(t,n){return t[n]=!0,t},{})}function lh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var r=(e.children||[]).map(function(l){return lh(l)}),a=Object.keys(e.attributes||{}).reduce(function(l,c){var d=e.attributes[c];switch(c){case"class":l.class=tL(d);break;case"style":l.style=eL(d);break;default:l.attrs[c]=d}return l},{attrs:{},class:{},style:{}});n.class;var i=n.style,o=i===void 0?{}:i,A=KU(n,ZU);return s.h(e.tag,lr(lr(lr({},t),{},{class:a.class,style:lr(lr({},a.style),o)},a.attrs),A),r)}var xw=!1;try{xw=process.env.NODE_ENV==="production"}catch{}function nL(){if(!xw&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Ew(e){if(e&&Lc(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(_c.icon)return _c.icon(e);if(e===null)return null;if(Lc(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}}var ke=s.defineComponent({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},rotateBy:{type:Boolean,default:!1},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1},widthAuto:{type:Boolean,default:!1}},setup:function(t,n){var r=n.attrs,a=s.computed(function(){return Ew(t.icon)}),i=s.computed(function(){return fA("classes",qU(t))}),o=s.computed(function(){return fA("transform",typeof t.transform=="string"?_c.transform(t.transform):t.transform)}),A=s.computed(function(){return fA("mask",Ew(t.mask))}),l=s.computed(function(){var d=lr(lr(lr(lr({},i.value),o.value),A.value),{},{symbol:t.symbol,maskId:t.maskId});return d.title=t.title,d.titleId=t.titleId,dF(a.value,d)});s.watch(l,function(d){if(!d)return nL("Could not find one or more icon(s)",a.value,A.value)},{immediate:!0});var c=s.computed(function(){return l.value?lh(l.value.abstract[0],{},r):null});return function(){return c.value}}});s.defineComponent({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,n){var r=n.slots,a=u2.familyPrefix,i=s.computed(function(){return["".concat(a,"-layers")].concat(Ah(t.fixedWidth?["".concat(a,"-fw")]:[]))});return function(){return s.h("div",{class:i.value},r.default?r.default():[])}}}),s.defineComponent({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(t){return["bottom-left","bottom-right","top-left","top-right"].indexOf(t)>-1}}},setup:function(t,n){var r=n.attrs,a=u2.familyPrefix,i=s.computed(function(){return fA("classes",[].concat(Ah(t.counter?["".concat(a,"-layers-counter")]:[]),Ah(t.position?["".concat(a,"-layers-").concat(t.position)]:[])))}),o=s.computed(function(){return fA("transform",typeof t.transform=="string"?_c.transform(t.transform):t.transform)}),A=s.computed(function(){var c=uF(t.value.toString(),lr(lr({},o.value),i.value)),d=c.abstract;return t.counter&&(d[0].attributes.class=d[0].attributes.class.replace("fa-layers-text","")),d[0]}),l=s.computed(function(){return lh(A.value,{},r)});return function(){return l.value}}});const rL={class:"card-slice"},aL={key:0,class:"mana-hexagon"},iL={class:"mana-number"},oL={class:"card-name"},sL={key:1,class:"quantity"},AL={class:"quantity-background"},lL={class:"plus-minus-content"},cL={class:"plus-minus-quantity"},dL=s.defineComponent({__name:"CardSliceItem",props:NU,emits:["update:card-quantity"],setup(e,{emit:t}){const n=e;console.log("props.color",n.color);const r=Si(n.cardProp,n.cardCodeProp,!1),a=t,i=s.ref(null),o=s.ref(null),A=s.ref(null),l=s.ref(null),c=s.computed(()=>{let p=n.color;return!p&&r.value&&(p=Ei(r.value,null,!0)),n.color===null&&(p="var(--color-background-2-rgb)"),{"--color":p}}),d=s.computed(()=>r.value?ve().callbacks.cardImageCallback(r.value.cardCode,Bt.Slice):""),u=s.computed(()=>{const p=["card-slice-wrapper"];return n.maintainAspectRatio&&p.push("maintain-aspect-ratio"),p}),f=s.computed(()=>{const p=Jl().acquiredCards;return r.value===void 0||n.quantityNumber===void 0||n.quantityNumber>3||p===void 0||n.showPlusMinus?null:(p[r.value.cardCode]??0)<n.quantityNumber?"missing-quantity":null});return s.onMounted(()=>{n.ignoreCardItem||tt(i.value,{content:A.value,placement:"right",arrow:!0,touch:!1,duration:0,role:"card-image",onShown:p=>{const h=p.popper.innerHTML.includes("right")?"right-start":"left-start";l.value=h},onHidden:()=>{l.value=null}})}),(p,h)=>{const m=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(m,{to:n.routerLink},{default:s.withCtx(()=>{var b,g;return[s.createElementVNode("div",{ref_key:"cardSlice",ref:i,class:s.normalizeClass(u.value)},[s.createElementVNode("div",rL,[s.createElementVNode("div",{class:"card-image",style:s.normalizeStyle({backgroundImage:`url(${d.value})`})},null,4),s.createElementVNode("div",{class:"region-gradient",style:s.normalizeStyle(c.value)},null,4),n.manaNumber!==null?(s.openBlock(),s.createElementBlock("div",aL,[s.createVNode(uA,{class:"hexagon-icon"}),s.createElementVNode("div",iL,s.toDisplayString(n.manaNumber??((b=s.unref(r))==null?void 0:b.cost)),1)])):s.createCommentVNode("",!0),s.createElementVNode("div",oL,s.toDisplayString(n.name??((g=s.unref(r))==null?void 0:g.name)),1),n.quantityNumber!==void 0&&n.quantityNumber!==null?(s.openBlock(),s.createElementBlock("div",sL,[s.createElementVNode("div",AL,[s.createElementVNode("p",{class:s.normalizeClass(["num-quantity",f.value])},s.toDisplayString(n.quantityNumber),3)])])):s.createCommentVNode("",!0),n.showPlusMinus?(s.openBlock(),s.createElementBlock("div",{key:2,class:"plus-minus",onClick:h[2]||(h[2]=s.withModifiers(()=>{},["prevent"]))},[s.createElementVNode("div",lL,[s.createElementVNode("div",{class:"plus-minus-icon",onClick:h[0]||(h[0]=s.withModifiers(B=>{var w;return a("update:card-quantity",{cardCode:((w=s.unref(r))==null?void 0:w.cardCode)??"",quantity:-1})},["prevent"]))},[s.createVNode(s.unref(ke),{icon:"minus",class:"icon"})]),s.createElementVNode("div",{class:"plus-minus-icon",onClick:h[1]||(h[1]=s.withModifiers(B=>{var w;return a("update:card-quantity",{cardCode:((w=s.unref(r))==null?void 0:w.cardCode)??"",quantity:1})},["prevent"]))},[s.createVNode(s.unref(ke),{icon:"plus",class:"icon"})]),s.createElementVNode("div",cL,s.toDisplayString(n.quantityNumber),1)])])):s.createCommentVNode("",!0)])],2),s.createElementVNode("div",{ref_key:"cardItemWrapper",ref:A,class:"card-item-container"},[s.unref(r)&&!p.ignoreCardItem?(s.openBlock(),s.createBlock(Vi,{key:0,ref_key:"cardItem",ref:o,"is-root":!0,"card-prop":s.unref(r),"quantity-needed":n.quantityNumber,"show-tippy-location":l.value,class:"card-image-hover"},null,8,["card-prop","quantity-needed","show-tippy-location"])):s.createCommentVNode("",!0)],512)]}),_:1},8,["to"])}}}),Spe="",vt=Q(dL,[["__scopeId","data-v-dc5cfc42"]]);function Fr(e){return e==null}function uL(e,t,n){const{object:r,valueProp:a,mode:i}=s.toRefs(e),o=s.getCurrentInstance().proxy,A=n.iv,l=(u,f=!0)=>{A.value=d(u);const p=c(u);t.emit("change",p,o),f&&(t.emit("input",p),t.emit("update:modelValue",p))},c=u=>r.value||Fr(u)?u:Array.isArray(u)?u.map(f=>f[a.value]):u[a.value],d=u=>Fr(u)?i.value==="single"?{}:[]:u;return{update:l}}function _t(e){return s.customRef(()=>({get:e,set:()=>{}}))}function fL(e,t){const{value:n,modelValue:r,mode:a,valueProp:i}=s.toRefs(e),o=s.ref(a.value!=="single"?[]:{}),A=_t(()=>r.value!==void 0?r.value:n.value),l=s.computed(()=>a.value==="single"?o.value[i.value]:o.value.map(d=>d[i.value])),c=_t(()=>a.value!=="single"?o.value.map(d=>d[i.value]).join(","):o.value[i.value]);return{iv:o,internalValue:o,ev:A,externalValue:A,textValue:c,plainValue:l}}function pL(e,t,n){const{regex:r}=s.toRefs(e),a=s.getCurrentInstance().proxy,i=n.isOpen,o=n.open,A=s.ref(null),l=()=>{A.value=""},c=f=>{A.value=f.target.value},d=f=>{if(r.value){let p=r.value;typeof p=="string"&&(p=new RegExp(p)),f.key.match(p)||f.preventDefault()}},u=f=>{if(r.value){let h=(f.clipboardData||window.clipboardData).getData("Text"),m=r.value;typeof m=="string"&&(m=new RegExp(m)),h.split("").every(b=>!!b.match(m))||f.preventDefault()}t.emit("paste",f,a)};return s.watch(A,f=>{!i.value&&f&&o(),t.emit("search-change",f,a)}),{search:A,clearSearch:l,handleSearchInput:c,handleKeypress:d,handlePaste:u}}function hL(e,t,n){const{groupSelect:r,mode:a,groups:i,disabledProp:o}=s.toRefs(e),A=s.ref(null),l=d=>{d===void 0||d!==null&&d[o.value]||i.value&&d&&d.group&&(a.value==="single"||!r.value)||(A.value=d)};return{pointer:A,setPointer:l,clearPointer:()=>{l(null)}}}function ch(e,t=!0){return t?String(e).toLowerCase().trim():String(e).toLowerCase().normalize("NFD").trim().replace(/æ/g,"ae").replace(/œ/g,"oe").replace(/ø/g,"o").replace(/\p{Diacritic}/gu,"")}function mL(e){return Object.prototype.toString.call(e)==="[object Object]"}function gL(e,t){if(e.length!==t.length)return!1;const n=t.slice().sort();return e.slice().sort().every(function(r,a){return r===n[a]})}const Sw=(e,t)=>{if(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 a of n)if(!r.includes(a)||!Sw(e[a],t[a]))return!1;return!0};function yL(e,t,n){const{options:r,mode:a,trackBy:i,limit:o,hideSelected:A,createTag:l,createOption:c,label:d,appendNewTag:u,appendNewOption:f,multipleLabel:p,object:h,loading:m,delay:b,resolveOnLoad:g,minChars:B,filterResults:w,clearOnSearch:y,clearOnSelect:_,valueProp:v,allowAbsent:k,groupLabel:C,canDeselect:x,max:U,strict:D,closeOnSelect:F,closeOnDeselect:L,groups:G,reverse:Z,infinite:H,groupOptions:$,groupHideEmpty:pe,groupSelect:J,onCreate:ce,disabledProp:Ae,searchStart:de,searchFilter:ye}=s.toRefs(e),se=s.getCurrentInstance().proxy,ee=n.iv,P=n.ev,ne=n.search,Me=n.clearSearch,At=n.update,Ut=n.pointer,Gt=n.setPointer,Vt=n.clearPointer,cn=n.focus,K=n.deactivate,be=n.close,dn=n.localize,xt=s.ref([]),Ct=s.ref([]),Lt=s.ref(!1),E=s.ref(null),S=s.ref(H.value&&o.value===-1?10:o.value),N=s.computed({get:()=>Ct.value,set:T=>Ct.value=T}),ae=_t(()=>l.value||c.value||!1),Le=_t(()=>u.value!==void 0?u.value:f.value!==void 0?f.value:!0),we=s.computed(()=>{if(G.value){let T=R.value||[],W=[];return T.forEach(Oe=>{B0(Oe[$.value]).forEach(Ot=>{W.push(Object.assign({},Ot,Oe[Ae.value]?{[Ae.value]:!0}:{}))})}),W}else{let T=B0(Ct.value||[]);return xt.value.length&&(T=T.concat(xt.value)),T}}),Fe=s.computed(()=>{let T=we.value;return Z.value&&(T=T.reverse()),ie.value.length&&(T=ie.value.concat(T)),w0(T)}),O=s.computed(()=>{let T=Fe.value;return S.value>0&&(T=T.slice(0,S.value)),T}),R=s.computed(()=>{if(!G.value)return[];let T=[],W=Ct.value||[];return xt.value.length&&T.push({[C.value]:" ",[$.value]:[...xt.value],__CREATE__:!0}),T.concat(W)}),Pe=s.computed(()=>{let T=[...R.value].map(W=>({...W}));return ie.value.length&&(T[0]&&T[0].__CREATE__?T[0][$.value]=[...ie.value,...T[0][$.value]]:T=[{[C.value]:" ",[$.value]:[...ie.value],__CREATE__:!0}].concat(T)),T}),nt=s.computed(()=>{if(!G.value)return[];let T=Pe.value;return Yfe((T||[]).map((W,Oe)=>{const Ot=B0(W[$.value]);return{...W,index:Oe,group:!0,[$.value]:w0(Ot,!1).map(Eo=>Object.assign({},Eo,W[Ae.value]?{[Ae.value]:!0}:{})),__VISIBLE__:w0(Ot).map(Eo=>Object.assign({},Eo,W[Ae.value]?{[Ae.value]:!0}:{}))}}))}),Dn=s.computed(()=>{switch(a.value){case"single":return!Fr(ee.value[v.value]);case"multiple":case"tags":return!Fr(ee.value)&&ee.value.length>0}}),ki=s.computed(()=>p.value!==void 0?p.value(ee.value,se):ee.value&&ee.value.length>1?`${ee.value.length} options selected`:"1 option selected"),Wr=_t(()=>!we.value.length&&!Lt.value&&!ie.value.length),M=_t(()=>we.value.length>0&&O.value.length==0&&(ne.value&&G.value||!G.value)),ie=s.computed(()=>ae.value===!1||!ne.value?[]:Wfe(ne.value)!==-1?[]:[{[v.value]:ne.value,[ue.value[0]]:ne.value,[d.value]:ne.value,__CREATE__:!0}]),ue=s.computed(()=>i.value?Array.isArray(i.value)?i.value:[i.value]:[d.value]),Ge=_t(()=>{switch(a.value){case"single":return null;case"multiple":case"tags":return[]}}),Ne=_t(()=>m.value||Lt.value),Et=T=>{switch(typeof T!="object"&&(T=Ua(T)),a.value){case"single":At(T);break;case"multiple":case"tags":At(ee.value.concat(T));break}t.emit("select",Da(T),T,se)},zt=T=>{switch(typeof T!="object"&&(T=Ua(T)),a.value){case"single":Rs();break;case"tags":case"multiple":At(Array.isArray(T)?ee.value.filter(W=>T.map(Oe=>Oe[v.value]).indexOf(W[v.value])===-1):ee.value.filter(W=>W[v.value]!=T[v.value]));break}t.emit("deselect",Da(T),T,se)},Da=T=>h.value?T:T[v.value],Yl=T=>{zt(T)},Ta=(T,W)=>{if(W.button!==0){W.preventDefault();return}Yl(T)},Rs=()=>{At(Ge.value),t.emit("clear",se)},Tn=T=>{if(T.group!==void 0)return a.value==="single"?!1:Kfe(T[$.value])&&T[$.value].length;switch(a.value){case"single":return!Fr(ee.value)&&(ee.value[v.value]==T[v.value]||typeof ee.value[v.value]=="object"&&typeof T[v.value]=="object"&&Sw(ee.value[v.value],T[v.value]));case"tags":case"multiple":return!Fr(ee.value)&&ee.value.map(W=>W[v.value]).indexOf(T[v.value])!==-1}},Gr=T=>T[Ae.value]===!0,ql=()=>U===void 0||U.value===-1||!Dn.value&&U.value>0?!1:ee.value.length>=U.value,Xl=T=>{if(!Gr(T)){if(ce.value&&!Tn(T)&&T.__CREATE__&&(T={...T},delete T.__CREATE__,T=ce.value(T,se),T instanceof Promise)){Lt.value=!0,T.then(W=>{Lt.value=!1,xo(W)});return}xo(T)}},xo=T=>{switch(T.__CREATE__&&(T={...T},delete T.__CREATE__),a.value){case"single":if(T&&Tn(T)){x.value&&zt(T),L.value&&(Vt(),be());return}T&&b0(T),_.value&&Me(),F.value&&(Vt(),be()),T&&Et(T);break;case"multiple":if(T&&Tn(T)){zt(T),L.value&&(Vt(),be());return}if(ql()){t.emit("max",se);return}T&&(b0(T),Et(T)),_.value&&Me(),A.value&&Vt(),F.value&&be();break;case"tags":if(T&&Tn(T)){zt(T),L.value&&(Vt(),be());return}if(ql()){t.emit("max",se);return}T&&b0(T),_.value&&Me(),T&&Et(T),A.value&&Vt(),F.value&&be();break}F.value||cn()},Vfe=T=>{if(!(Gr(T)||a.value==="single"||!J.value)){switch(a.value){case"multiple":case"tags":$fe(T[$.value])?zt(T[$.value]):Et(T[$.value].filter(W=>ee.value.map(Oe=>Oe[v.value]).indexOf(W[v.value])===-1).filter(W=>!W[Ae.value]).filter((W,Oe)=>ee.value.length+1+Oe<=U.value||U.value===-1)),A.value&&Ut.value&&Gt(nt.value.filter(W=>!W[Ae.value])[Ut.value.index]);break}F.value&&K()}},b0=T=>{Ua(T[v.value])===void 0&&ae.value&&(t.emit("tag",T[v.value],se),t.emit("option",T[v.value],se),t.emit("create",T[v.value],se),Le.value&&jfe(T),Me())},zfe=()=>{a.value!=="single"&&Et(O.value.filter(T=>!T.disabled&&!Tn(T)))},$fe=T=>T.find(W=>!Tn(W)&&!W[Ae.value])===void 0,Kfe=T=>T.find(W=>!Tn(W))===void 0,Ua=T=>we.value[we.value.map(W=>String(W[v.value])).indexOf(String(T))],Wfe=T=>we.value.findIndex(W=>ue.value.some(Oe=>(parseInt(W[Oe])==W[Oe]?parseInt(W[Oe]):W[Oe])===(parseInt(T)==T?parseInt(T):T))),Gfe=T=>["tags","multiple"].indexOf(a.value)!==-1&&A.value&&Tn(T),jfe=T=>{xt.value.push(T)},Yfe=T=>pe.value?T.filter(W=>ne.value?W.__VISIBLE__.length:W[$.value].length):T.filter(W=>ne.value?W.__VISIBLE__.length:!0),w0=(T,W=!0)=>{let Oe=T;if(ne.value&&w.value){let Ot=ye.value;Ot||(Ot=(Eo,Zx,Wme)=>ue.value.some(Xfe=>{let eE=ch(dn(Eo[Xfe]),D.value);return de.value?eE.startsWith(ch(Zx,D.value)):eE.indexOf(ch(Zx,D.value))!==-1})),Oe=Oe.filter(Eo=>Ot(Eo,ne.value,se))}return A.value&&W&&(Oe=Oe.filter(Ot=>!Gfe(Ot))),Oe},B0=T=>{let W=T;return mL(W)&&(W=Object.keys(W).map(Oe=>{let Ot=W[Oe];return{[v.value]:Oe,[ue.value[0]]:Ot,[d.value]:Ot}})),W&&Array.isArray(W)?W=W.map(Oe=>typeof Oe=="object"?Oe:{[v.value]:Oe,[ue.value[0]]:Oe,[d.value]:Oe}):W=[],W},wf=()=>{Fr(P.value)||(ee.value=vf(P.value))},Bf=T=>(Lt.value=!0,new Promise((W,Oe)=>{r.value(ne.value,se).then(Ot=>{Ct.value=Ot||[],typeof T=="function"&&T(Ot),Lt.value=!1}).catch(Ot=>{console.error(Ot),Ct.value=[],Lt.value=!1}).finally(()=>{W()})})),v0=()=>{if(Dn.value)if(a.value==="single"){let T=Ua(ee.value[v.value]);if(T!==void 0){let W=T[d.value];ee.value[d.value]=W,h.value&&(P.value[d.value]=W)}}else ee.value.forEach((T,W)=>{let Oe=Ua(ee.value[W][v.value]);if(Oe!==void 0){let Ot=Oe[d.value];ee.value[W][d.value]=Ot,h.value&&(P.value[W][d.value]=Ot)}})},qfe=T=>{Bf(T)},vf=T=>Fr(T)?a.value==="single"?{}:[]:h.value?T:a.value==="single"?Ua(T)||(k.value?{[d.value]:T,[v.value]:T,[ue.value[0]]:T}:{}):T.filter(W=>!!Ua(W)||k.value).map(W=>Ua(W)||{[d.value]:W,[v.value]:W,[ue.value[0]]:W}),Jx=()=>{E.value=s.watch(ne,T=>{T.length<B.value||!T&&B.value!==0||(Lt.value=!0,y.value&&(Ct.value=[]),setTimeout(()=>{T==ne.value&&r.value(ne.value,se).then(W=>{(T==ne.value||!ne.value)&&(Ct.value=W,Ut.value=O.value.filter(Oe=>Oe[Ae.value]!==!0)[0]||null,Lt.value=!1)}).catch(W=>{console.error(W)})},b.value))},{flush:"sync"})};if(a.value!=="single"&&!Fr(P.value)&&!Array.isArray(P.value))throw new Error(`v-model must be an array when using "${a.value}" mode`);return r&&typeof r.value=="function"?g.value?Bf(wf):h.value==!0&&wf():(Ct.value=r.value,wf()),b.value>-1&&Jx(),s.watch(b,(T,W)=>{E.value&&E.value(),T>=0&&Jx()}),s.watch(P,T=>{if(Fr(T)){At(vf(T),!1);return}switch(a.value){case"single":(h.value?T[v.value]!=ee.value[v.value]:T!=ee.value[v.value])&&At(vf(T),!1);break;case"multiple":case"tags":gL(h.value?T.map(W=>W[v.value]):T,ee.value.map(W=>W[v.value]))||At(vf(T),!1);break}},{deep:!0}),s.watch(r,(T,W)=>{typeof e.options=="function"?g.value&&(!W||T&&T.toString()!==W.toString())&&Bf():(Ct.value=e.options,Object.keys(ee.value).length||wf(),v0())}),s.watch(d,v0),s.watch(o,(T,W)=>{S.value=H.value&&T===-1?10:T}),{resolvedOptions:N,pfo:Fe,fo:O,filteredOptions:O,hasSelected:Dn,multipleLabelText:ki,eo:we,extendedOptions:we,eg:R,extendedGroups:R,fg:nt,filteredGroups:nt,noOptions:Wr,noResults:M,resolving:Lt,busy:Ne,offset:S,select:Et,deselect:zt,remove:Yl,selectAll:zfe,clear:Rs,isSelected:Tn,isDisabled:Gr,isMax:ql,getOption:Ua,handleOptionClick:Xl,handleGroupClick:Vfe,handleTagRemove:Ta,refreshOptions:qfe,resolveOptions:Bf,refreshLabels:v0}}function bL(e,t,n){const{valueProp:r,showOptions:a,searchable:i,groupLabel:o,groups:A,mode:l,groupSelect:c,disabledProp:d,groupOptions:u}=s.toRefs(e),f=n.fo,p=n.fg,h=n.handleOptionClick,m=n.handleGroupClick,b=n.search,g=n.pointer,B=n.setPointer,w=n.clearPointer,y=n.multiselect,_=n.isOpen,v=s.computed(()=>f.value.filter(P=>!P[d.value])),k=s.computed(()=>p.value.filter(P=>!P[d.value])),C=_t(()=>l.value!=="single"&&c.value),x=_t(()=>g.value&&g.value.group),U=s.computed(()=>se(g.value)),D=s.computed(()=>{const P=x.value?g.value:se(g.value),ne=k.value.map(At=>At[o.value]).indexOf(P[o.value]);let Me=k.value[ne-1];return Me===void 0&&(Me=L.value),Me}),F=s.computed(()=>{let P=k.value.map(ne=>ne.label).indexOf(x.value?g.value[o.value]:se(g.value)[o.value])+1;return k.value.length<=P&&(P=0),k.value[P]}),L=s.computed(()=>[...k.value].slice(-1)[0]),G=s.computed(()=>g.value.__VISIBLE__.filter(P=>!P[d.value])[0]),Z=s.computed(()=>{const P=U.value.__VISIBLE__.filter(ne=>!ne[d.value]);return P[P.map(ne=>ne[r.value]).indexOf(g.value[r.value])-1]}),H=s.computed(()=>{const P=se(g.value).__VISIBLE__.filter(ne=>!ne[d.value]);return P[P.map(ne=>ne[r.value]).indexOf(g.value[r.value])+1]}),$=s.computed(()=>[...D.value.__VISIBLE__.filter(P=>!P[d.value])].slice(-1)[0]),pe=s.computed(()=>[...L.value.__VISIBLE__.filter(P=>!P[d.value])].slice(-1)[0]),J=P=>g.value&&(!P.group&&g.value[r.value]===P[r.value]||P.group!==void 0&&g.value[o.value]===P[o.value])?!0:void 0,ce=()=>{B(v.value[0]||null)},Ae=()=>{!g.value||g.value[d.value]===!0||(x.value?m(g.value):h(g.value))},de=()=>{if(g.value===null)B((A.value&&C.value?k.value[0].__CREATE__?v.value[0]:k.value[0]:v.value[0])||null);else if(A.value&&C.value){let P=x.value?G.value:H.value;P===void 0&&(P=F.value,P.__CREATE__&&(P=P[u.value][0])),B(P||null)}else{let P=v.value.map(ne=>ne[r.value]).indexOf(g.value[r.value])+1;v.value.length<=P&&(P=0),B(v.value[P]||null)}s.nextTick(()=>{ee()})},ye=()=>{if(g.value===null){let P=v.value[v.value.length-1];A.value&&C.value&&(P=pe.value,P===void 0&&(P=L.value)),B(P||null)}else if(A.value&&C.value){let P=x.value?$.value:Z.value;P===void 0&&(P=x.value?D.value:U.value,P.__CREATE__&&(P=$.value,P===void 0&&(P=D.value))),B(P||null)}else{let P=v.value.map(ne=>ne[r.value]).indexOf(g.value[r.value])-1;P<0&&(P=v.value.length-1),B(v.value[P]||null)}s.nextTick(()=>{ee()})},se=P=>k.value.find(ne=>ne.__VISIBLE__.map(Me=>Me[r.value]).indexOf(P[r.value])!==-1),ee=()=>{let P=y.value.querySelector("[data-pointed]");if(!P)return;let ne=P.parentElement.parentElement;A.value&&(ne=x.value?P.parentElement.parentElement.parentElement:P.parentElement.parentElement.parentElement.parentElement),P.offsetTop+P.offsetHeight>ne.clientHeight+ne.scrollTop&&(ne.scrollTop=P.offsetTop+P.offsetHeight-ne.clientHeight),P.offsetTop<ne.scrollTop&&(ne.scrollTop=P.offsetTop)};return s.watch(b,P=>{i.value&&(P.length&&a.value?ce():w())}),s.watch(_,P=>{if(P&&y&&y.value){let ne=y.value.querySelectorAll("[data-selected]")[0];if(!ne)return;let Me=ne.parentElement.parentElement;s.nextTick(()=>{Me.scrollTop=ne.offsetTop})}}),{pointer:g,canPointGroups:C,isPointed:J,setPointerFirst:ce,selectPointer:Ae,forwardPointer:de,backwardPointer:ye}}function Nn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function zi(e){var t=Nn(e).Element;return e instanceof t||e instanceof Element}function Yn(e){var t=Nn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function dh(e){if(typeof ShadowRoot>"u")return!1;var t=Nn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var $i=Math.max,Oc=Math.min,qo=Math.round;function uh(){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 Fw(){return!/^((?!chrome|android).)*safari/i.test(uh())}function Xo(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),a=1,i=1;t&&Yn(e)&&(a=e.offsetWidth>0&&qo(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&qo(r.height)/e.offsetHeight||1);var o=zi(e)?Nn(e):window,A=o.visualViewport,l=!Fw()&&n,c=(r.left+(l&&A?A.offsetLeft:0))/a,d=(r.top+(l&&A?A.offsetTop:0))/i,u=r.width/a,f=r.height/i;return{width:u,height:f,top:d,right:c+u,bottom:d+f,left:c,x:c,y:d}}function fh(e){var t=Nn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function wL(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function BL(e){return e===Nn(e)||!Yn(e)?fh(e):wL(e)}function Ir(e){return e?(e.nodeName||"").toLowerCase():null}function Ga(e){return((zi(e)?e.ownerDocument:e.document)||window.document).documentElement}function ph(e){return Xo(Ga(e)).left+fh(e).scrollLeft}function ra(e){return Nn(e).getComputedStyle(e)}function hh(e){var t=ra(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function vL(e){var t=e.getBoundingClientRect(),n=qo(t.width)/e.offsetWidth||1,r=qo(t.height)/e.offsetHeight||1;return n!==1||r!==1}function _L(e,t,n){n===void 0&&(n=!1);var r=Yn(t),a=Yn(t)&&vL(t),i=Ga(t),o=Xo(e,a,n),A={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Ir(t)!=="body"||hh(i))&&(A=BL(t)),Yn(t)?(l=Xo(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=ph(i))),{x:o.left+A.scrollLeft-l.x,y:o.top+A.scrollTop-l.y,width:o.width,height:o.height}}function Iw(e){var t=Xo(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 Qc(e){return Ir(e)==="html"?e:e.assignedSlot||e.parentNode||(dh(e)?e.host:null)||Ga(e)}function Dw(e){return["html","body","#document"].indexOf(Ir(e))>=0?e.ownerDocument.body:Yn(e)&&hh(e)?e:Dw(Qc(e))}function pA(e,t){var n;t===void 0&&(t=[]);var r=Dw(e),a=r===((n=e.ownerDocument)==null?void 0:n.body),i=Nn(r),o=a?[i].concat(i.visualViewport||[],hh(r)?r:[]):r,A=t.concat(o);return a?A:A.concat(pA(Qc(o)))}function CL(e){return["table","td","th"].indexOf(Ir(e))>=0}function Tw(e){return!Yn(e)||ra(e).position==="fixed"?null:e.offsetParent}function kL(e){var t=/firefox/i.test(uh()),n=/Trident/i.test(uh());if(n&&Yn(e)){var r=ra(e);if(r.position==="fixed")return null}var a=Qc(e);for(dh(a)&&(a=a.host);Yn(a)&&["html","body"].indexOf(Ir(a))<0;){var i=ra(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return a;a=a.parentNode}return null}function Mc(e){for(var t=Nn(e),n=Tw(e);n&&CL(n)&&ra(n).position==="static";)n=Tw(n);return n&&(Ir(n)==="html"||Ir(n)==="body"&&ra(n).position==="static")?t:n||kL(e)||t}var cr="top",Dr="bottom",ja="right",aa="left",mh="auto",Pc=[cr,Dr,ja,aa],Jo="start",hA="end",xL="clippingParents",Uw="viewport",mA="popper",EL="reference",Lw=Pc.reduce(function(e,t){return e.concat([t+"-"+Jo,t+"-"+hA])},[]),SL=[].concat(Pc,[mh]).reduce(function(e,t){return e.concat([t,t+"-"+Jo,t+"-"+hA])},[]),FL="beforeRead",IL="read",DL="afterRead",TL="beforeMain",UL="main",LL="afterMain",OL="beforeWrite",QL="write",ML="afterWrite",PL=[FL,IL,DL,TL,UL,LL,OL,QL,ML];function NL(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function a(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(A){if(!n.has(A)){var l=t.get(A);l&&a(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||a(i)}),r}function RL(e){var t=NL(e);return PL.reduce(function(n,r){return n.concat(t.filter(function(a){return a.phase===r}))},[])}function HL(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function VL(e){var t=e.reduce(function(n,r){var a=n[r.name];return n[r.name]=a?Object.assign({},a,r,{options:Object.assign({},a.options,r.options),data:Object.assign({},a.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}function zL(e,t){var n=Nn(e),r=Ga(e),a=n.visualViewport,i=r.clientWidth,o=r.clientHeight,A=0,l=0;if(a){i=a.width,o=a.height;var c=Fw();(c||!c&&t==="fixed")&&(A=a.offsetLeft,l=a.offsetTop)}return{width:i,height:o,x:A+ph(e),y:l}}function $L(e){var t,n=Ga(e),r=fh(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=$i(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=$i(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),A=-r.scrollLeft+ph(e),l=-r.scrollTop;return ra(a||n).direction==="rtl"&&(A+=$i(n.clientWidth,a?a.clientWidth:0)-i),{width:i,height:o,x:A,y:l}}function KL(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&dh(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function gh(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function WL(e,t){var n=Xo(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 Ow(e,t,n){return t===Uw?gh(zL(e,n)):zi(t)?WL(t,n):gh($L(Ga(e)))}function GL(e){var t=pA(Qc(e)),n=["absolute","fixed"].indexOf(ra(e).position)>=0,r=n&&Yn(e)?Mc(e):e;return zi(r)?t.filter(function(a){return zi(a)&&KL(a,r)&&Ir(a)!=="body"}):[]}function jL(e,t,n,r){var a=t==="clippingParents"?GL(e):[].concat(t),i=[].concat(a,[n]),o=i[0],A=i.reduce(function(l,c){var d=Ow(e,c,r);return l.top=$i(d.top,l.top),l.right=Oc(d.right,l.right),l.bottom=Oc(d.bottom,l.bottom),l.left=$i(d.left,l.left),l},Ow(e,o,r));return A.width=A.right-A.left,A.height=A.bottom-A.top,A.x=A.left,A.y=A.top,A}function Ya(e){return e.split("-")[0]}function Zo(e){return e.split("-")[1]}function Qw(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Mw(e){var t=e.reference,n=e.element,r=e.placement,a=r?Ya(r):null,i=r?Zo(r):null,o=t.x+t.width/2-n.width/2,A=t.y+t.height/2-n.height/2,l;switch(a){case cr:l={x:o,y:t.y-n.height};break;case Dr:l={x:o,y:t.y+t.height};break;case ja:l={x:t.x+t.width,y:A};break;case aa:l={x:t.x-n.width,y:A};break;default:l={x:t.x,y:t.y}}var c=a?Qw(a):null;if(c!=null){var d=c==="y"?"height":"width";switch(i){case Jo:l[c]=l[c]-(t[d]/2-n[d]/2);break;case hA:l[c]=l[c]+(t[d]/2-n[d]/2);break}}return l}function Pw(){return{top:0,right:0,bottom:0,left:0}}function YL(e){return Object.assign({},Pw(),e)}function qL(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}function yh(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=r===void 0?e.placement:r,i=n.strategy,o=i===void 0?e.strategy:i,A=n.boundary,l=A===void 0?xL:A,c=n.rootBoundary,d=c===void 0?Uw:c,u=n.elementContext,f=u===void 0?mA:u,p=n.altBoundary,h=p===void 0?!1:p,m=n.padding,b=m===void 0?0:m,g=YL(typeof b!="number"?b:qL(b,Pc)),B=f===mA?EL:mA,w=e.rects.popper,y=e.elements[h?B:f],_=jL(zi(y)?y:y.contextElement||Ga(e.elements.popper),l,d,o),v=Xo(e.elements.reference),k=Mw({reference:v,element:w,strategy:"absolute",placement:a}),C=gh(Object.assign({},w,k)),x=f===mA?C:v,U={top:_.top-x.top+g.top,bottom:x.bottom-_.bottom+g.bottom,left:_.left-x.left+g.left,right:x.right-_.right+g.right},D=e.modifiersData.offset;if(f===mA&&D){var F=D[a];Object.keys(U).forEach(function(L){var G=[ja,Dr].indexOf(L)>=0?1:-1,Z=[cr,Dr].indexOf(L)>=0?"y":"x";U[L]+=F[Z]*G})}return U}var Nw={placement:"bottom",modifiers:[],strategy:"absolute"};function Rw(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function XL(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,a=t.defaultOptions,i=a===void 0?Nw:a;return function(A,l,c){c===void 0&&(c=i);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Nw,i),modifiersData:{},elements:{reference:A,popper:l},attributes:{},styles:{}},u=[],f=!1,p={state:d,setOptions:function(g){var B=typeof g=="function"?g(d.options):g;m(),d.options=Object.assign({},i,d.options,B),d.scrollParents={reference:zi(A)?pA(A):A.contextElement?pA(A.contextElement):[],popper:pA(l)};var w=RL(VL([].concat(r,d.options.modifiers)));return d.orderedModifiers=w.filter(function(y){return y.enabled}),h(),p.update()},forceUpdate:function(){if(!f){var g=d.elements,B=g.reference,w=g.popper;if(Rw(B,w)){d.rects={reference:_L(B,Mc(w),d.options.strategy==="fixed"),popper:Iw(w)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(U){return d.modifiersData[U.name]=Object.assign({},U.data)});for(var y=0;y<d.orderedModifiers.length;y++){if(d.reset===!0){d.reset=!1,y=-1;continue}var _=d.orderedModifiers[y],v=_.fn,k=_.options,C=k===void 0?{}:k,x=_.name;typeof v=="function"&&(d=v({state:d,options:C,name:x,instance:p})||d)}}}},update:HL(function(){return new Promise(function(b){p.forceUpdate(),b(d)})}),destroy:function(){m(),f=!0}};if(!Rw(A,l))return p;p.setOptions(c).then(function(b){!f&&c.onFirstUpdate&&c.onFirstUpdate(b)});function h(){d.orderedModifiers.forEach(function(b){var g=b.name,B=b.options,w=B===void 0?{}:B,y=b.effect;if(typeof y=="function"){var _=y({state:d,name:g,instance:p,options:w}),v=function(){};u.push(_||v)}})}function m(){u.forEach(function(b){return b()}),u=[]}return p}}var Nc={passive:!0};function JL(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,i=a===void 0?!0:a,o=r.resize,A=o===void 0?!0:o,l=Nn(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(d){d.addEventListener("scroll",n.update,Nc)}),A&&l.addEventListener("resize",n.update,Nc),function(){i&&c.forEach(function(d){d.removeEventListener("scroll",n.update,Nc)}),A&&l.removeEventListener("resize",n.update,Nc)}}var ZL={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:JL,data:{}};function eO(e){var t=e.state,n=e.name;t.modifiersData[n]=Mw({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var tO={name:"popperOffsets",enabled:!0,phase:"read",fn:eO,data:{}},nO={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rO(e,t){var n=e.x,r=e.y,a=t.devicePixelRatio||1;return{x:qo(n*a)/a||0,y:qo(r*a)/a||0}}function Hw(e){var t,n=e.popper,r=e.popperRect,a=e.placement,i=e.variation,o=e.offsets,A=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,u=e.isFixed,f=o.x,p=f===void 0?0:f,h=o.y,m=h===void 0?0:h,b=typeof d=="function"?d({x:p,y:m}):{x:p,y:m};p=b.x,m=b.y;var g=o.hasOwnProperty("x"),B=o.hasOwnProperty("y"),w=aa,y=cr,_=window;if(c){var v=Mc(n),k="clientHeight",C="clientWidth";if(v===Nn(n)&&(v=Ga(n),ra(v).position!=="static"&&A==="absolute"&&(k="scrollHeight",C="scrollWidth")),v=v,a===cr||(a===aa||a===ja)&&i===hA){y=Dr;var x=u&&v===_&&_.visualViewport?_.visualViewport.height:v[k];m-=x-r.height,m*=l?1:-1}if(a===aa||(a===cr||a===Dr)&&i===hA){w=ja;var U=u&&v===_&&_.visualViewport?_.visualViewport.width:v[C];p-=U-r.width,p*=l?1:-1}}var D=Object.assign({position:A},c&&nO),F=d===!0?rO({x:p,y:m},Nn(n)):{x:p,y:m};if(p=F.x,m=F.y,l){var L;return Object.assign({},D,(L={},L[y]=B?"0":"",L[w]=g?"0":"",L.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",L))}return Object.assign({},D,(t={},t[y]=B?m+"px":"",t[w]=g?p+"px":"",t.transform="",t))}function aO(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=r===void 0?!0:r,i=n.adaptive,o=i===void 0?!0:i,A=n.roundOffsets,l=A===void 0?!0:A,c={placement:Ya(t.placement),variation:Zo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Hw(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Hw(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})}var iO={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:aO,data:{}};function oO(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},a=t.attributes[n]||{},i=t.elements[n];!Yn(i)||!Ir(i)||(Object.assign(i.style,r),Object.keys(a).forEach(function(o){var A=a[o];A===!1?i.removeAttribute(o):i.setAttribute(o,A===!0?"":A)}))})}function sO(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 a=t.elements[r],i=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),A=o.reduce(function(l,c){return l[c]="",l},{});!Yn(a)||!Ir(a)||(Object.assign(a.style,A),Object.keys(i).forEach(function(l){a.removeAttribute(l)}))})}}var AO={name:"applyStyles",enabled:!0,phase:"write",fn:oO,effect:sO,requires:["computeStyles"]},lO=[ZL,tO,iO,AO],cO=XL({defaultModifiers:lO});function dO(e){return e==="x"?"y":"x"}function Rc(e,t,n){return $i(e,Oc(t,n))}function uO(e,t,n){var r=Rc(e,t,n);return r>n?n:r}function fO(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,i=a===void 0?!0:a,o=n.altAxis,A=o===void 0?!1:o,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,u=n.padding,f=n.tether,p=f===void 0?!0:f,h=n.tetherOffset,m=h===void 0?0:h,b=yh(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),g=Ya(t.placement),B=Zo(t.placement),w=!B,y=Qw(g),_=dO(y),v=t.modifiersData.popperOffsets,k=t.rects.reference,C=t.rects.popper,x=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,U=typeof x=="number"?{mainAxis:x,altAxis:x}:Object.assign({mainAxis:0,altAxis:0},x),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(v){if(i){var L,G=y==="y"?cr:aa,Z=y==="y"?Dr:ja,H=y==="y"?"height":"width",$=v[y],pe=$+b[G],J=$-b[Z],ce=p?-C[H]/2:0,Ae=B===Jo?k[H]:C[H],de=B===Jo?-C[H]:-k[H],ye=t.elements.arrow,se=p&&ye?Iw(ye):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Pw(),P=ee[G],ne=ee[Z],Me=Rc(0,k[H],se[H]),At=w?k[H]/2-ce-Me-P-U.mainAxis:Ae-Me-P-U.mainAxis,Ut=w?-k[H]/2+ce+Me+ne+U.mainAxis:de+Me+ne+U.mainAxis,Gt=t.elements.arrow&&Mc(t.elements.arrow),Vt=Gt?y==="y"?Gt.clientTop||0:Gt.clientLeft||0:0,cn=(L=D==null?void 0:D[y])!=null?L:0,K=$+At-cn-Vt,be=$+Ut-cn,dn=Rc(p?Oc(pe,K):pe,$,p?$i(J,be):J);v[y]=dn,F[y]=dn-$}if(A){var xt,Ct=y==="x"?cr:aa,Lt=y==="x"?Dr:ja,E=v[_],S=_==="y"?"height":"width",N=E+b[Ct],ae=E-b[Lt],Le=[cr,aa].indexOf(g)!==-1,we=(xt=D==null?void 0:D[_])!=null?xt:0,Fe=Le?N:E-k[S]-C[S]-we+U.altAxis,O=Le?E+k[S]+C[S]-we-U.altAxis:ae,R=p&&Le?uO(Fe,E,O):Rc(p?Fe:N,E,p?O:ae);v[_]=R,F[_]=R-E}t.modifiersData[r]=F}}var pO={name:"preventOverflow",enabled:!0,phase:"main",fn:fO,requiresIfExists:["offset"]},hO={left:"right",right:"left",bottom:"top",top:"bottom"};function Hc(e){return e.replace(/left|right|bottom|top/g,function(t){return hO[t]})}var mO={start:"end",end:"start"};function Vw(e){return e.replace(/start|end/g,function(t){return mO[t]})}function gO(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=n.boundary,i=n.rootBoundary,o=n.padding,A=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?SL:l,d=Zo(r),u=d?A?Lw:Lw.filter(function(h){return Zo(h)===d}):Pc,f=u.filter(function(h){return c.indexOf(h)>=0});f.length===0&&(f=u);var p=f.reduce(function(h,m){return h[m]=yh(e,{placement:m,boundary:a,rootBoundary:i,padding:o})[Ya(m)],h},{});return Object.keys(p).sort(function(h,m){return p[h]-p[m]})}function yO(e){if(Ya(e)===mh)return[];var t=Hc(e);return[Vw(e),t,Vw(t)]}function bO(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,i=a===void 0?!0:a,o=n.altAxis,A=o===void 0?!0:o,l=n.fallbackPlacements,c=n.padding,d=n.boundary,u=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,m=n.allowedAutoPlacements,b=t.options.placement,g=Ya(b),B=g===b,w=l||(B||!h?[Hc(b)]:yO(b)),y=[b].concat(w).reduce(function(se,ee){return se.concat(Ya(ee)===mh?gO(t,{placement:ee,boundary:d,rootBoundary:u,padding:c,flipVariations:h,allowedAutoPlacements:m}):ee)},[]),_=t.rects.reference,v=t.rects.popper,k=new Map,C=!0,x=y[0],U=0;U<y.length;U++){var D=y[U],F=Ya(D),L=Zo(D)===Jo,G=[cr,Dr].indexOf(F)>=0,Z=G?"width":"height",H=yh(t,{placement:D,boundary:d,rootBoundary:u,altBoundary:f,padding:c}),$=G?L?ja:aa:L?Dr:cr;_[Z]>v[Z]&&($=Hc($));var pe=Hc($),J=[];if(i&&J.push(H[F]<=0),A&&J.push(H[$]<=0,H[pe]<=0),J.every(function(se){return se})){x=D,C=!1;break}k.set(D,J)}if(C)for(var ce=h?3:1,Ae=function(ee){var P=y.find(function(ne){var Me=k.get(ne);if(Me)return Me.slice(0,ee).every(function(At){return At})});if(P)return x=P,"break"},de=ce;de>0;de--){var ye=Ae(de);if(ye==="break")break}t.placement!==x&&(t.modifiersData[r]._skip=!0,t.placement=x,t.reset=!0)}}var wO={name:"flip",enabled:!0,phase:"main",fn:bO,requiresIfExists:["offset"],data:{_skip:!1}};function BO(e,t,n){const{disabled:r,appendTo:a,appendToBody:i,openDirection:o}=s.toRefs(e),A=s.getCurrentInstance().proxy,l=n.multiselect,c=n.dropdown,d=s.ref(!1),u=s.ref(null),f=s.ref(null),p=_t(()=>a.value||i.value),h=_t(()=>o.value==="top"&&f.value==="bottom"||o.value==="bottom"&&f.value!=="top"?"bottom":"top"),m=()=>{d.value||r.value||(d.value=!0,t.emit("open",A),p.value&&s.nextTick(()=>{g()}))},b=()=>{d.value&&(d.value=!1,t.emit("close",A))},g=()=>{if(!u.value)return;let w=parseInt(window.getComputedStyle(c.value).borderTopWidth.replace("px","")),y=parseInt(window.getComputedStyle(c.value).borderBottomWidth.replace("px",""));u.value.setOptions(_=>({..._,modifiers:[..._.modifiers,{name:"offset",options:{offset:[0,(h.value==="top"?w:y)*-1]}}]})),u.value.update()},B=w=>{for(;w&&w!==document.body;){if(getComputedStyle(w).position==="fixed")return!0;w=w.parentElement}return!1};return s.onMounted(()=>{p.value&&(u.value=cO(l.value,c.value,{strategy:B(l.value)?"fixed":void 0,placement:o.value,modifiers:[pO,wO,{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:w})=>{w.styles.popper.width=`${w.rects.reference.width}px`},effect:({state:w})=>{w.elements.popper.style.width=`${w.elements.reference.offsetWidth}px`}},{name:"toggleClass",enabled:!0,phase:"write",fn({state:w}){f.value=w.placement}}]}))}),s.onBeforeUnmount(()=>{!p.value||!u.value||(u.value.destroy(),u.value=null)}),{popper:u,isOpen:d,open:m,close:b,placement:h,updatePopper:g}}function vO(e,t,n){const{searchable:r,disabled:a,clearOnBlur:i}=s.toRefs(e),o=n.input,A=n.open,l=n.close,c=n.clearSearch,d=n.isOpen,u=n.wrapper,f=n.tags,p=s.ref(!1),h=s.ref(!1),m=_t(()=>r.value||a.value?-1:0),b=()=>{r.value&&o.value.blur(),u.value.blur()},g=()=>{r.value&&!a.value&&o.value.focus()},B=(C=!0)=>{a.value||(p.value=!0,C&&A())},w=()=>{p.value=!1,setTimeout(()=>{p.value||(l(),i.value&&c())},1)};return{tabindex:m,isActive:p,mouseClicked:h,blur:b,focus:g,activate:B,deactivate:w,handleFocusIn:C=>{C.target.closest("[data-tags]")&&C.target.nodeName!=="INPUT"||C.target.closest("[data-clear]")||B(h.value)},handleFocusOut:()=>{w()},handleCaretClick:()=>{w(),b()},handleMousedown:C=>{h.value=!0,d.value&&(C.target.isEqualNode(u.value)||C.target.isEqualNode(f.value))?setTimeout(()=>{w()},0):!d.value&&(document.activeElement.isEqualNode(u.value)||document.activeElement.isEqualNode(o.value))&&B(),setTimeout(()=>{h.value=!1},0)}}}function _O(e,t,n){const{mode:r,addTagOn:a,openDirection:i,searchable:o,showOptions:A,valueProp:l,groups:c,addOptionOn:d,createTag:u,createOption:f,reverse:p}=s.toRefs(e),h=s.getCurrentInstance().proxy,m=n.iv,b=n.update,g=n.deselect,B=n.search,w=n.setPointer,y=n.selectPointer,_=n.backwardPointer,v=n.forwardPointer,k=n.multiselect,C=n.wrapper,x=n.tags,U=n.isOpen,D=n.open,F=n.blur,L=n.fo,G=_t(()=>u.value||f.value||!1),Z=_t(()=>a.value!==void 0?a.value:d.value!==void 0?d.value:["enter"]),H=()=>{r.value==="tags"&&!A.value&&G.value&&o.value&&!c.value&&w(L.value[L.value.map(J=>J[l.value]).indexOf(B.value)])};return{handleKeydown:J=>{t.emit("keydown",J,h);let ce,Ae;switch(["ArrowLeft","ArrowRight","Enter"].indexOf(J.key)!==-1&&r.value==="tags"&&(ce=[...k.value.querySelectorAll("[data-tags] > *")].filter(de=>de!==x.value),Ae=ce.findIndex(de=>de===document.activeElement)),J.key){case"Backspace":if(r.value==="single"||o.value&&[null,""].indexOf(B.value)===-1||m.value.length===0)return;let de=m.value.filter(ye=>!ye.disabled&&ye.remove!==!1);de.length&&g(de[de.length-1]);break;case"Enter":if(J.preventDefault(),J.keyCode===229)return;if(Ae!==-1&&Ae!==void 0){b([...m.value].filter((ye,se)=>se!==Ae)),Ae===ce.length-1&&(ce.length-1?ce[ce.length-2].focus():o.value?x.value.querySelector("input").focus():C.value.focus());return}if(Z.value.indexOf("enter")===-1&&G.value)return;H(),y();break;case" ":if(!G.value&&!o.value){J.preventDefault(),H(),y();return}if(!G.value)return!1;if(Z.value.indexOf("space")===-1&&G.value)return;J.preventDefault(),H(),y();break;case"Tab":case";":case",":if(Z.value.indexOf(J.key.toLowerCase())===-1||!G.value)return;H(),y(),J.preventDefault();break;case"Escape":F();break;case"ArrowUp":if(J.preventDefault(),!A.value)return;U.value||D(),_();break;case"ArrowDown":if(J.preventDefault(),!A.value)return;U.value||D(),v();break;case"ArrowLeft":if(o.value&&x.value&&x.value.querySelector("input").selectionStart||J.shiftKey||r.value!=="tags"||!m.value||!m.value.length)return;J.preventDefault(),Ae===-1?ce[ce.length-1].focus():Ae>0&&ce[Ae-1].focus();break;case"ArrowRight":if(Ae===-1||J.shiftKey||r.value!=="tags"||!m.value||!m.value.length)return;J.preventDefault(),ce.length>Ae+1?ce[Ae+1].focus():o.value?x.value.querySelector("input").focus():o.value||C.value.focus();break}},handleKeyup:J=>{t.emit("keyup",J,h)},preparePointer:H}}function CO(e,t,n){const{classes:r,disabled:a,showOptions:i,breakTags:o}=s.toRefs(e),A=n.isOpen,l=n.isPointed,c=n.isSelected,d=n.isDisabled,u=n.isActive,f=n.canPointGroups,p=n.resolving,h=n.fo,m=n.placement,b=_t(()=>({container:"multiselect",containerDisabled:"is-disabled",containerOpen:"is-open",containerOpenTop:"is-open-top",containerActive:"is-active",wrapper:"multiselect-wrapper",singleLabel:"multiselect-single-label",singleLabelText:"multiselect-single-label-text",multipleLabel:"multiselect-multiple-label",search:"multiselect-search",tags:"multiselect-tags",tag:"multiselect-tag",tagWrapper:"multiselect-tag-wrapper",tagWrapperBreak:"multiselect-tag-wrapper-break",tagDisabled:"is-disabled",tagRemove:"multiselect-tag-remove",tagRemoveIcon:"multiselect-tag-remove-icon",tagsSearchWrapper:"multiselect-tags-search-wrapper",tagsSearch:"multiselect-tags-search",tagsSearchCopy:"multiselect-tags-search-copy",placeholder:"multiselect-placeholder",caret:"multiselect-caret",caretOpen:"is-open",clear:"multiselect-clear",clearIcon:"multiselect-clear-icon",spinner:"multiselect-spinner",inifinite:"multiselect-inifite",inifiniteSpinner:"multiselect-inifite-spinner",dropdown:"multiselect-dropdown",dropdownTop:"is-top",dropdownHidden:"is-hidden",options:"multiselect-options",optionsTop:"is-top",group:"multiselect-group",groupLabel:"multiselect-group-label",groupLabelPointable:"is-pointable",groupLabelPointed:"is-pointed",groupLabelSelected:"is-selected",groupLabelDisabled:"is-disabled",groupLabelSelectedPointed:"is-selected is-pointed",groupLabelSelectedDisabled:"is-selected is-disabled",groupOptions:"multiselect-group-options",option:"multiselect-option",optionPointed:"is-pointed",optionSelected:"is-selected",optionDisabled:"is-disabled",optionSelectedPointed:"is-selected is-pointed",optionSelectedDisabled:"is-selected is-disabled",noOptions:"multiselect-no-options",noResults:"multiselect-no-results",fakeInput:"multiselect-fake-input",assist:"multiselect-assistive-text",spacer:"multiselect-spacer",...r.value})),g=_t(()=>!!(A.value&&i.value&&(!p.value||p.value&&h.value.length)));return{classList:s.computed(()=>{const w=b.value;return{container:[w.container].concat(a.value?w.containerDisabled:[]).concat(g.value&&m.value==="top"?w.containerOpenTop:[]).concat(g.value&&m.value!=="top"?w.containerOpen:[]).concat(u.value?w.containerActive:[]),wrapper:w.wrapper,spacer:w.spacer,singleLabel:w.singleLabel,singleLabelText:w.singleLabelText,multipleLabel:w.multipleLabel,search:w.search,tags:w.tags,tag:[w.tag].concat(a.value?w.tagDisabled:[]),tagWrapper:[w.tagWrapper,o.value?w.tagWrapperBreak:null],tagDisabled:w.tagDisabled,tagRemove:w.tagRemove,tagRemoveIcon:w.tagRemoveIcon,tagsSearchWrapper:w.tagsSearchWrapper,tagsSearch:w.tagsSearch,tagsSearchCopy:w.tagsSearchCopy,placeholder:w.placeholder,caret:[w.caret].concat(A.value?w.caretOpen:[]),clear:w.clear,clearIcon:w.clearIcon,spinner:w.spinner,inifinite:w.inifinite,inifiniteSpinner:w.inifiniteSpinner,dropdown:[w.dropdown].concat(m.value==="top"?w.dropdownTop:[]).concat(!A.value||!i.value||!g.value?w.dropdownHidden:[]),options:[w.options].concat(m.value==="top"?w.optionsTop:[]),group:w.group,groupLabel:y=>{let _=[w.groupLabel];return l(y)?_.push(c(y)?w.groupLabelSelectedPointed:w.groupLabelPointed):c(y)&&f.value?_.push(d(y)?w.groupLabelSelectedDisabled:w.groupLabelSelected):d(y)&&_.push(w.groupLabelDisabled),f.value&&_.push(w.groupLabelPointable),_},groupOptions:w.groupOptions,option:(y,_)=>{let v=[w.option];return l(y)?v.push(c(y)?w.optionSelectedPointed:w.optionPointed):c(y)?v.push(d(y)?w.optionSelectedDisabled:w.optionSelected):(d(y)||_&&d(_))&&v.push(w.optionDisabled),v},noOptions:w.noOptions,noResults:w.noResults,assist:w.assist,fakeInput:w.fakeInput}}),showDropdown:g}}function kO(e,t,n){const{limit:r,infinite:a}=s.toRefs(e),i=n.isOpen,o=n.offset,A=n.search,l=n.pfo,c=n.eo,d=s.ref(null),u=s.shallowRef(null),f=_t(()=>o.value<l.value.length),p=m=>{const{isIntersecting:b,target:g}=m[0];if(b){const B=g.offsetParent,w=B.scrollTop;o.value+=r.value==-1?10:r.value,s.nextTick(()=>{B.scrollTop=w})}},h=()=>{i.value&&o.value<l.value.length?d.value.observe(u.value):!i.value&&d.value&&d.value.disconnect()};return s.watch(i,()=>{a.value&&h()}),s.watch(A,()=>{a.value&&(o.value=r.value,h())},{flush:"post"}),s.watch(c,()=>{a.value&&h()},{immediate:!1,flush:"post"}),s.onMounted(()=>{window&&window.IntersectionObserver&&(d.value=new IntersectionObserver(p))}),{hasMore:f,infiniteLoader:u}}function xO(e,t,n){const{placeholder:r,id:a,valueProp:i,label:o,mode:A,groupLabel:l,aria:c,searchable:d}=s.toRefs(e),u=n.pointer,f=n.iv,p=n.hasSelected,h=n.multipleLabelText,m=s.ref(null),b=_t(()=>`${a.value?a.value+"-":""}assist`),g=_t(()=>`${a.value?a.value+"-":""}multiselect-options`),B=_t(()=>{if(u.value){let F=a.value?`${a.value}-`:"";return F+=`${u.value.group?"multiselect-group":"multiselect-option"}-`,F+=u.value.group?u.value.index:u.value[i.value],F}}),w=_t(()=>r.value),y=_t(()=>A.value!=="single"),_=s.computed(()=>A.value==="single"&&p.value?f.value[o.value]:A.value==="multiple"&&p.value?h.value:A.value==="tags"&&p.value?f.value.map(F=>F[o.value]).join(", "):""),v=s.computed(()=>{let F={...c.value};return d.value&&(F["aria-labelledby"]=F["aria-labelledby"]?`${b.value} ${F["aria-labelledby"]}`:b.value,_.value&&F["aria-label"]&&(F["aria-label"]=`${_.value}, ${F["aria-label"]}`)),F}),k=F=>`${a.value?a.value+"-":""}multiselect-option-${F[i.value]}`,C=F=>`${a.value?a.value+"-":""}multiselect-group-${F.index}`,x=F=>`${F}`,U=F=>`${F}`,D=F=>`${F} ❎`;return s.onMounted(()=>{if(a.value&&document&&document.querySelector){let F=document.querySelector(`[for="${a.value}"]`);m.value=F?F.innerText:null}}),{arias:v,ariaLabel:_,ariaAssist:b,ariaControls:g,ariaPlaceholder:w,ariaMultiselectable:y,ariaActiveDescendant:B,ariaOptionId:k,ariaOptionLabel:x,ariaGroupId:C,ariaGroupLabel:U,ariaTagLabel:D}}function EO(e,t,n){const{locale:r,fallbackLocale:a}=s.toRefs(e);return{localize:o=>!o||typeof o!="object"?o:o&&o[r.value]?o[r.value]:o&&r.value&&o[r.value.toUpperCase()]?o[r.value.toUpperCase()]:o&&o[a.value]?o[a.value]:o&&a.value&&o[a.value.toUpperCase()]?o[a.value.toUpperCase()]:o&&Object.keys(o)[0]?o[Object.keys(o)[0]]:""}}function SO(e,t,n){const r=s.shallowRef(null),a=s.shallowRef(null),i=s.shallowRef(null),o=s.shallowRef(null),A=s.shallowRef(null);return{multiselect:r,wrapper:a,tags:i,input:o,dropdown:A}}function FO(e,t,n,r={}){return n.forEach(a=>{r={...r,...a(e,t,r)}}),r}var Yt={name:"Multiselect",emits:["paste","open","close","select","deselect","input","search-change","tag","option","update:modelValue","change","clear","keydown","keyup","max","create"],props:{value:{required:!1},modelValue:{required:!1},options:{type:[Array,Object,Function],required:!1,default:()=>[]},id:{type:[String,Number],required:!1,default:void 0},name:{type:[String,Number],required:!1,default:"multiselect"},disabled:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:"label"},trackBy:{type:[String,Array],required:!1,default:void 0},valueProp:{type:String,required:!1,default:"value"},placeholder:{type:String,required:!1,default:null},mode:{type:String,required:!1,default:"single"},searchable:{type:Boolean,required:!1,default:!1},limit:{type:Number,required:!1,default:-1},hideSelected:{type:Boolean,required:!1,default:!0},createTag:{type:Boolean,required:!1,default:void 0},createOption:{type:Boolean,required:!1,default:void 0},appendNewTag:{type:Boolean,required:!1,default:void 0},appendNewOption:{type:Boolean,required:!1,default:void 0},addTagOn:{type:Array,required:!1,default:void 0},addOptionOn:{type:Array,required:!1,default:void 0},caret:{type:Boolean,required:!1,default:!0},loading:{type:Boolean,required:!1,default:!1},noOptionsText:{type:[String,Object],required:!1,default:"The list is empty"},noResultsText:{type:[String,Object],required:!1,default:"No results found"},multipleLabel:{type:Function,required:!1,default:void 0},object:{type:Boolean,required:!1,default:!1},delay:{type:Number,required:!1,default:-1},minChars:{type:Number,required:!1,default:0},resolveOnLoad:{type:Boolean,required:!1,default:!0},filterResults:{type:Boolean,required:!1,default:!0},clearOnSearch:{type:Boolean,required:!1,default:!1},clearOnSelect:{type:Boolean,required:!1,default:!0},canDeselect:{type:Boolean,required:!1,default:!0},canClear:{type:Boolean,required:!1,default:!0},max:{type:Number,required:!1,default:-1},showOptions:{type:Boolean,required:!1,default:!0},required:{type:Boolean,required:!1,default:!1},openDirection:{type:String,required:!1,default:"bottom"},nativeSupport:{type:Boolean,required:!1,default:!1},classes:{type:Object,required:!1,default:()=>({})},strict:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},closeOnDeselect:{type:Boolean,required:!1,default:!1},autocomplete:{type:String,required:!1,default:void 0},groups:{type:Boolean,required:!1,default:!1},groupLabel:{type:String,required:!1,default:"label"},groupOptions:{type:String,required:!1,default:"options"},groupHideEmpty:{type:Boolean,required:!1,default:!1},groupSelect:{type:Boolean,required:!1,default:!0},inputType:{type:String,required:!1,default:"text"},attrs:{required:!1,type:Object,default:()=>({})},onCreate:{required:!1,type:Function,default:void 0},disabledProp:{type:String,required:!1,default:"disabled"},searchStart:{type:Boolean,required:!1,default:!1},reverse:{type:Boolean,required:!1,default:!1},regex:{type:[Object,String,RegExp],required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},infinite:{type:Boolean,required:!1,default:!1},aria:{required:!1,type:Object,default:()=>({})},clearOnBlur:{required:!1,type:Boolean,default:!0},locale:{required:!1,type:String,default:null},fallbackLocale:{required:!1,type:String,default:"en"},searchFilter:{required:!1,type:Function,default:null},allowAbsent:{required:!1,type:Boolean,default:!1},appendToBody:{required:!1,type:Boolean,default:!1},closeOnScroll:{required:!1,type:Boolean,default:!1},breakTags:{required:!1,type:Boolean,default:!1},appendTo:{required:!1,type:String,default:void 0}},setup(e,t){return FO(e,t,[SO,EO,fL,hL,BO,pL,uL,vO,yL,kO,bL,_O,CO,xO])},beforeMount(){(this.$root.constructor&&this.$root.constructor.version&&this.$root.constructor.version.match(/^2\./)||this.vueVersionMs===2)&&(this.$options.components.Teleport||(this.$options.components.Teleport={render(){return this.$slots.default?this.$slots.default[0]:null}}))}};const IO=["id","dir"],DO=["tabindex","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable","role"],TO=["type","modelValue","value","autocomplete","id","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],UO=["onKeyup","aria-label"],LO=["onClick"],OO=["type","modelValue","value","id","autocomplete","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],QO=["innerHTML"],MO=["id"],PO=["id"],NO=["id","aria-label","aria-selected"],RO=["data-pointed","onMouseenter","onClick"],HO=["innerHTML"],VO=["aria-label"],zO=["data-pointed","data-selected","onMouseenter","onClick","id","aria-selected","aria-label"],$O=["data-pointed","data-selected","onMouseenter","onClick","id","aria-selected","aria-label"],KO=["innerHTML"],WO=["innerHTML"],GO=["value"],jO=["name","value"],YO=["name","value"],qO=["id"];function XO(e,t,n,r,a,i){return s.openBlock(),s.createElementBlock("div",{ref:"multiselect",class:s.normalizeClass(e.classList.container),id:n.searchable?void 0:n.id,dir:n.rtl?"rtl":void 0,onFocusin:t[12]||(t[12]=(...o)=>e.handleFocusIn&&e.handleFocusIn(...o)),onFocusout:t[13]||(t[13]=(...o)=>e.handleFocusOut&&e.handleFocusOut(...o)),onKeyup:t[14]||(t[14]=(...o)=>e.handleKeyup&&e.handleKeyup(...o)),onKeydown:t[15]||(t[15]=(...o)=>e.handleKeydown&&e.handleKeydown(...o))},[s.createElementVNode("div",s.mergeProps({class:e.classList.wrapper,onMousedown:t[9]||(t[9]=(...o)=>e.handleMousedown&&e.handleMousedown(...o)),ref:"wrapper",tabindex:e.tabindex,"aria-controls":n.searchable?void 0:e.ariaControls,"aria-placeholder":n.searchable?void 0:e.ariaPlaceholder,"aria-expanded":n.searchable?void 0:e.isOpen,"aria-activedescendant":n.searchable?void 0:e.ariaActiveDescendant,"aria-multiselectable":n.searchable?void 0:e.ariaMultiselectable,role:n.searchable?void 0:"combobox"},n.searchable?{}:e.arias),[s.createCommentVNode(" Search "),n.mode!=="tags"&&n.searchable&&!n.disabled?(s.openBlock(),s.createElementBlock("input",s.mergeProps({key:0,type:n.inputType,modelValue:e.search,value:e.search,class:e.classList.search,autocomplete:n.autocomplete,id:n.searchable?n.id:void 0,onInput:t[0]||(t[0]=(...o)=>e.handleSearchInput&&e.handleSearchInput(...o)),onKeypress:t[1]||(t[1]=(...o)=>e.handleKeypress&&e.handleKeypress(...o)),onPaste:t[2]||(t[2]=s.withModifiers((...o)=>e.handlePaste&&e.handlePaste(...o),["stop"])),ref:"input","aria-controls":e.ariaControls,"aria-placeholder":e.ariaPlaceholder,"aria-expanded":e.isOpen,"aria-activedescendant":e.ariaActiveDescendant,"aria-multiselectable":e.ariaMultiselectable,role:"combobox"},{...n.attrs,...e.arias}),null,16,TO)):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Tags (with search) "),n.mode=="tags"?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(e.classList.tags),"data-tags":""},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.iv,(o,A,l)=>s.renderSlot(e.$slots,"tag",{option:o,handleTagRemove:e.handleTagRemove,disabled:n.disabled},()=>[(s.openBlock(),s.createElementBlock("span",{class:s.normalizeClass([e.classList.tag,o.disabled?e.classList.tagDisabled:null]),tabindex:"-1",onKeyup:s.withKeys(c=>e.handleTagRemove(o,c),["enter"]),key:l,"aria-label":e.ariaTagLabel(e.localize(o[n.label]))},[s.createElementVNode("span",{class:s.normalizeClass(e.classList.tagWrapper)},s.toDisplayString(e.localize(o[n.label])),3),!n.disabled&&!o.disabled?(s.openBlock(),s.createElementBlock("span",{key:0,class:s.normalizeClass(e.classList.tagRemove),onClick:s.withModifiers(c=>e.handleTagRemove(o,c),["stop"])},[s.createElementVNode("span",{class:s.normalizeClass(e.classList.tagRemoveIcon)},null,2)],10,LO)):s.createCommentVNode("v-if",!0)],42,UO))])),256)),s.createElementVNode("div",{class:s.normalizeClass(e.classList.tagsSearchWrapper),ref:"tags"},[s.createCommentVNode(" Used for measuring search width "),s.createElementVNode("span",{class:s.normalizeClass(e.classList.tagsSearchCopy)},s.toDisplayString(e.search),3),s.createCommentVNode(" Actual search input "),n.searchable&&!n.disabled?(s.openBlock(),s.createElementBlock("input",s.mergeProps({key:0,type:n.inputType,modelValue:e.search,value:e.search,class:e.classList.tagsSearch,id:n.searchable?n.id:void 0,autocomplete:n.autocomplete,onInput:t[3]||(t[3]=(...o)=>e.handleSearchInput&&e.handleSearchInput(...o)),onKeypress:t[4]||(t[4]=(...o)=>e.handleKeypress&&e.handleKeypress(...o)),onPaste:t[5]||(t[5]=s.withModifiers((...o)=>e.handlePaste&&e.handlePaste(...o),["stop"])),ref:"input","aria-controls":e.ariaControls,"aria-placeholder":e.ariaPlaceholder,"aria-expanded":e.isOpen,"aria-activedescendant":e.ariaActiveDescendant,"aria-multiselectable":e.ariaMultiselectable,role:"combobox"},{...n.attrs,...e.arias}),null,16,OO)):s.createCommentVNode("v-if",!0)],2)],2)):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Single label "),n.mode=="single"&&e.hasSelected&&!e.search&&e.iv?s.renderSlot(e.$slots,"singlelabel",{key:2,value:e.iv},()=>[s.createElementVNode("div",{class:s.normalizeClass(e.classList.singleLabel)},[s.createElementVNode("span",{class:s.normalizeClass(e.classList.singleLabelText)},s.toDisplayString(e.localize(e.iv[n.label])),3)],2)]):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Multiple label "),n.mode=="multiple"&&e.hasSelected&&!e.search?s.renderSlot(e.$slots,"multiplelabel",{key:3,values:e.iv},()=>[s.createElementVNode("div",{class:s.normalizeClass(e.classList.multipleLabel),innerHTML:e.multipleLabelText},null,10,QO)]):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Placeholder "),n.placeholder&&!e.hasSelected&&!e.search?s.renderSlot(e.$slots,"placeholder",{key:4},()=>[s.createElementVNode("div",{class:s.normalizeClass(e.classList.placeholder),"aria-hidden":"true"},s.toDisplayString(n.placeholder),3)]):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Spinner "),n.loading||e.resolving?s.renderSlot(e.$slots,"spinner",{key:5},()=>[s.createElementVNode("span",{class:s.normalizeClass(e.classList.spinner),"aria-hidden":"true"},null,2)]):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Clear "),e.hasSelected&&!n.disabled&&n.canClear&&!e.busy?s.renderSlot(e.$slots,"clear",{key:6,clear:e.clear},()=>[s.createElementVNode("span",{"aria-hidden":"true",tabindex:"0",role:"button","data-clear":"","aria-roledescription":"❎",class:s.normalizeClass(e.classList.clear),onClick:t[6]||(t[6]=(...o)=>e.clear&&e.clear(...o)),onKeyup:t[7]||(t[7]=s.withKeys((...o)=>e.clear&&e.clear(...o),["enter"]))},[s.createElementVNode("span",{class:s.normalizeClass(e.classList.clearIcon)},null,2)],34)]):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Caret "),n.caret&&n.showOptions?s.renderSlot(e.$slots,"caret",{key:7,handleCaretClick:e.handleCaretClick,isOpen:e.isOpen},()=>[s.createElementVNode("span",{class:s.normalizeClass(e.classList.caret),onClick:t[8]||(t[8]=(...o)=>e.handleCaretClick&&e.handleCaretClick(...o)),"aria-hidden":"true"},null,2)]):s.createCommentVNode("v-if",!0)],16,DO),s.createCommentVNode(" Options "),(s.openBlock(),s.createBlock(s.Teleport,{to:n.appendTo||"body",disabled:!n.appendToBody&&!n.appendTo},[s.createElementVNode("div",{id:n.id?`${n.id}-dropdown`:void 0,class:s.normalizeClass(e.classList.dropdown),tabindex:"-1",ref:"dropdown",onFocusin:t[10]||(t[10]=(...o)=>e.handleFocusIn&&e.handleFocusIn(...o)),onFocusout:t[11]||(t[11]=(...o)=>e.handleFocusOut&&e.handleFocusOut(...o))},[s.renderSlot(e.$slots,"beforelist",{options:e.fo}),s.createElementVNode("ul",{class:s.normalizeClass(e.classList.options),id:e.ariaControls,role:"listbox"},[n.groups?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:0},s.renderList(e.fg,(o,A,l)=>(s.openBlock(),s.createElementBlock("li",{class:s.normalizeClass(e.classList.group),key:l,id:e.ariaGroupId(o),"aria-label":e.ariaGroupLabel(e.localize(o[n.groupLabel])),"aria-selected":e.isSelected(o),role:"option"},[o.__CREATE__?s.createCommentVNode("v-if",!0):(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.classList.groupLabel(o)),"data-pointed":e.isPointed(o),onMouseenter:c=>e.setPointer(o,A),onClick:c=>e.handleGroupClick(o)},[s.renderSlot(e.$slots,"grouplabel",{group:o,isSelected:e.isSelected,isPointed:e.isPointed},()=>[s.createElementVNode("span",{innerHTML:e.localize(o[n.groupLabel])},null,8,HO)])],42,RO)),s.createElementVNode("ul",{class:s.normalizeClass(e.classList.groupOptions),"aria-label":e.ariaGroupLabel(e.localize(o[n.groupLabel])),role:"group"},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.__VISIBLE__,(c,d,u)=>(s.openBlock(),s.createElementBlock("li",{class:s.normalizeClass(e.classList.option(c,o)),"data-pointed":e.isPointed(c),"data-selected":e.isSelected(c)||void 0,key:u,onMouseenter:f=>e.setPointer(c),onClick:f=>e.handleOptionClick(c),id:e.ariaOptionId(c),"aria-selected":e.isSelected(c),"aria-label":e.ariaOptionLabel(e.localize(c[n.label])),role:"option"},[s.renderSlot(e.$slots,"option",{option:c,isSelected:e.isSelected,isPointed:e.isPointed,search:e.search},()=>[s.createElementVNode("span",null,s.toDisplayString(e.localize(c[n.label])),1)])],42,zO))),128))],10,VO)],10,NO))),128)):(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:1},s.renderList(e.fo,(o,A,l)=>(s.openBlock(),s.createElementBlock("li",{class:s.normalizeClass(e.classList.option(o)),"data-pointed":e.isPointed(o),"data-selected":e.isSelected(o)||void 0,key:l,onMouseenter:c=>e.setPointer(o),onClick:c=>e.handleOptionClick(o),id:e.ariaOptionId(o),"aria-selected":e.isSelected(o),"aria-label":e.ariaOptionLabel(e.localize(o[n.label])),role:"option"},[s.renderSlot(e.$slots,"option",{option:o,isSelected:e.isSelected,isPointed:e.isPointed,search:e.search},()=>[s.createElementVNode("span",null,s.toDisplayString(e.localize(o[n.label])),1)])],42,$O))),128))],10,PO),e.noOptions?s.renderSlot(e.$slots,"nooptions",{key:0},()=>[s.createElementVNode("div",{class:s.normalizeClass(e.classList.noOptions),innerHTML:e.localize(n.noOptionsText)},null,10,KO)]):s.createCommentVNode("v-if",!0),e.noResults?s.renderSlot(e.$slots,"noresults",{key:1},()=>[s.createElementVNode("div",{class:s.normalizeClass(e.classList.noResults),innerHTML:e.localize(n.noResultsText)},null,10,WO)]):s.createCommentVNode("v-if",!0),n.infinite&&e.hasMore?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(e.classList.inifinite),ref:"infiniteLoader"},[s.renderSlot(e.$slots,"infinite",{},()=>[s.createElementVNode("span",{class:s.normalizeClass(e.classList.inifiniteSpinner)},null,2)])],2)):s.createCommentVNode("v-if",!0),s.renderSlot(e.$slots,"afterlist",{options:e.fo})],42,MO)],8,["to","disabled"])),s.createCommentVNode(" Hacky input element to show HTML5 required warning "),n.required?(s.openBlock(),s.createElementBlock("input",{key:0,class:s.normalizeClass(e.classList.fakeInput),tabindex:"-1",value:e.textValue,required:""},null,10,GO)):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Native input support "),n.nativeSupport?(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[n.mode=="single"?(s.openBlock(),s.createElementBlock("input",{key:0,type:"hidden",name:n.name,value:e.plainValue!==void 0?e.plainValue:""},null,8,jO)):(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:1},s.renderList(e.plainValue,(o,A)=>(s.openBlock(),s.createElementBlock("input",{type:"hidden",name:`${n.name}[]`,value:o,key:A},null,8,YO))),128))],64)):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Screen reader assistive text "),n.searchable&&e.hasSelected?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(e.classList.assist),id:e.ariaAssist,"aria-hidden":"true"},s.toDisplayString(e.ariaLabel),11,qO)):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Create height for empty input "),s.createElementVNode("div",{class:s.normalizeClass(e.classList.spacer)},null,2)],42,IO)}Yt.render=XO,Yt.__file="src/Multiselect.vue";const JO={class:"search-bar"},ZO=s.defineComponent({__name:"SearchBar",props:jD,setup(e){const{t}=q(),n=s.ref(""),r=fn.useRouter(),a=e;function i(A,l,c){c.clear(),c.search=n.value,r.push(l.link),h2().addOption(l)}function o(A){n.value=A}return(A,l)=>(s.openBlock(),s.createElementBlock("div",JO,[s.createVNode(s.unref(Yt),{placeholder:s.unref(t)("navigation.searchPlaceholder"),"value-prop":"link","clear-on-blur":!1,"clear-on-search":!1,"clear-on-select":!1,"close-on-select":!0,delay:0,"filter-results":!1,groups:!0,"min-chars":0,"resolve-on-load":!1,searchable:!0,options:a.fetchSeachResult,onOpen:l[0]||(l[0]=c=>{c.noOptions&&c.resolveOptions()}),onSearchChange:o,onSelect:i},{option:s.withCtx(({option:c})=>[c.type==="card"?(s.openBlock(),s.createBlock(vt,{key:`card-${c.card.cardCode}`,class:"card-slice-item","maintain-aspect-ratio":!0,"card-prop":c.card,"router-link":c.link},null,8,["card-prop","router-link"])):(s.openBlock(),s.createBlock(vt,{key:`player-${c.link}`,class:"card-slice-item","maintain-aspect-ratio":!0,"ignore-card-item":!0,"card-code-prop":c.cardCode,color:c.color,name:c.name,"mana-number":c.rank,"router-link":c.link},null,8,["card-code-prop","color","name","mana-number","router-link"]))]),_:1},8,["placeholder","options"])]))}}),Fpe="",Vc=Q(ZO,[["__scopeId","data-v-f53c910f"]]),e7={class:"social-links"},t7={href:"https://discord.gg/tGTSXgDFVU"},n7={href:"https://twitter.com/LORGG__"},r7=s.defineComponent({__name:"SocialLinks",setup(e){return(t,n)=>(s.openBlock(),s.createElementBlock("div",e7,[s.createElementVNode("a",t7,[s.createVNode(s.unref(ke),{class:"icon",icon:"fa-brands fa-discord"})]),s.createElementVNode("a",n7,[s.createVNode(s.unref(ke),{class:"icon",icon:"fa-brands fa-twitter"})])]))}}),Ipe="",bh=Q(r7,[["__scopeId","data-v-e6a74c37"]]),a7={showModal:{type:Boolean,required:!0,default:!1}},i7=s.defineComponent({__name:"ModalItem",props:a7,emits:["update:showModal"],setup(e,{emit:t}){const n=e,r=t,a=s.ref(null),i=s.ref(!1);function o(){i.value&&r("update:showModal",!1)}s.onBeforeUnmount(()=>{var l;(l=a.value)==null||l.remove()});function A(){setTimeout(()=>{i.value=!1},1)}return s.watch(()=>n.showModal,()=>{n.showModal&&s.nextTick(()=>{a.value&&document.body.appendChild(a.value)})}),(l,c)=>n.showModal?(s.openBlock(),s.createElementBlock("div",{key:0,ref_key:"modalItem",ref:a,class:"modal-item",onMousedown:c[0]||(c[0]=s.withModifiers(d=>i.value=!0,["self"])),onClick:s.withModifiers(o,["self"]),onMouseup:A},[s.renderSlot(l.$slots,"default",{},void 0,!0)],544)):s.createCommentVNode("",!0)}}),Dpe="",Tr=Q(i7,[["__scopeId","data-v-ab68e9be"]]),o7={filterArray:{type:Array,required:!1,default:void 0},text:{type:String,required:!1,default:void 0},title:{type:String,required:!1,default:void 0}},s7={class:"filter"},A7={key:0,class:"top"},l7={key:0,class:"title"},c7={key:1,class:"text"},d7=s.defineComponent({__name:"SidePanelSectionPane",props:o7,emits:["clear:filterArray"],setup(e,{emit:t}){const n=e,r=t,a=s.computed(()=>n.filterArray&&n.filterArray.length>0?"clickable":null);function i(){r("clear:filterArray")}return(o,A)=>{const l=s.resolveDirective("t");return s.openBlock(),s.createElementBlock("div",s7,[n.title||o.filterArray?(s.openBlock(),s.createElementBlock("div",A7,[n.title?(s.openBlock(),s.createElementBlock("h2",l7,s.toDisplayString(n.title),1)):s.createCommentVNode("",!0),n.text?(s.openBlock(),s.createElementBlock("p",c7,s.toDisplayString(n.text),1)):o.filterArray?s.withDirectives((s.openBlock(),s.createElementBlock("p",{key:2,class:s.normalizeClass(["clear",a.value]),onClick:i},null,2)),[[l,"general.clear"]]):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),s.renderSlot(o.$slots,"default",{},void 0,!0)])}}}),Tpe="",ct=Q(d7,[["__scopeId","data-v-d45db483"]]),u7={filterArray:{type:Array,required:!0,default:[]}},f7=["placeholder"],p7=s.defineComponent({__name:"FilterSampleSize",props:u7,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref(r.filterArray),o=s.ref("");let A=setTimeout(()=>{},0);i.value.length>0&&(o.value=i.value[0]),s.watch(i,()=>{a("update:filterArray",i.value)}),s.watch(o,()=>{A&&clearTimeout(A),A=setTimeout(()=>{i.value.splice(0),o.value&&Number(o.value)>=10&&i.value.push(o.value)},1e3)});function l(){i.value.splice(0),o.value=""}return(c,d)=>(s.openBlock(),s.createBlock(ct,{"filter-array":i.value,title:s.unref(n)("general.sampleSize"),"onClear:filterArray":l},{default:s.withCtx(()=>[s.withDirectives(s.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>o.value=u),placeholder:s.unref(n)("general.minimumMatches"),type:"number",min:"10",step:"10"},null,8,f7),[[s.vModelText,o.value]])]),_:1},8,["filter-array","title"]))}}),Upe="",es=Q(p7,[["__scopeId","data-v-727f5a58"]]),h7={filterArray:{type:Array,required:!0,default:[]}},m7={isSelected:{type:Boolean,required:!0,default:!1},icon:{type:String,required:!1,default:void 0},prompt:{type:String,required:!0,default:""}},g7=["selected"],y7={class:"checkbox-name"},b7=s.defineComponent({__name:"CheckboxItem",props:m7,emits:["update:isSelected"],setup(e,{emit:t}){const n=e,r=t,a=s.computed(()=>(console.log(n.icon),{content:n.icon}));function i(){r("update:isSelected",!n.isSelected)}return(o,A)=>(s.openBlock(),s.createElementBlock("button",{class:"checkbox-item",selected:n.isSelected,onClick:i},[n.icon?(s.openBlock(),s.createElementBlock("div",{key:0,class:"checkbox-icon",style:s.normalizeStyle(a.value)},null,4)):s.createCommentVNode("",!0),s.createElementVNode("div",y7,s.toDisplayString(n.prompt),1)],8,g7))}}),Lpe="",nn=Q(b7,[["__scopeId","data-v-ab8b99a4"]]),w7={selectedOption:{type:Number,required:!0,default:-1},options:{type:Array,required:!0,default:[]}},B7={class:"toggle-switch"},v7=["onClick"],_7={class:"option flex-center"},C7={class:"option-text"},k7=s.defineComponent({__name:"ToggleSwitch",props:w7,emits:["update:selectedOption"],setup(e,{emit:t}){const n=e,r=t,a=s.computed(()=>({left:`calc(var(--spacing-1) + (100% - calc(var(--spacing-1) * 2)) / ${n.options.length} * ${n.selectedOption})`,width:`calc((100% - calc(var(--spacing-1) * 2)) / ${n.options.length})`}));function i(A){return{cursor:n.selectedOption!=A?"pointer":"default",left:`calc(var(--spacing-1) + (100% - calc(var(--spacing-1) * 2)) / ${n.options.length} * ${A})`,width:`${1/n.options.length*100}%`}}function o(A){r("update:selectedOption",A)}return(A,l)=>(s.openBlock(),s.createElementBlock("div",B7,[s.withDirectives(s.createElementVNode("div",{class:"selection-container",style:s.normalizeStyle(a.value)},[...l[0]||(l[0]=[s.createElementVNode("div",{class:"selection"},null,-1)])],4),[[s.vShow,A.selectedOption>-1]]),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.options,(c,d)=>(s.openBlock(),s.createElementBlock("div",{key:d,ref_for:!0,ref:"option-container",style:s.normalizeStyle(i(d)),class:"option-container",onClick:u=>o(d)},[s.createElementVNode("div",_7,[s.createElementVNode("h1",C7,s.toDisplayString(c),1)])],12,v7))),128))]))}}),Ope="",gA=Q(k7,[["__scopeId","data-v-d5d9745a"]]),x7={class:"checkboxes-container"},E7=s.defineComponent({__name:"FilterRanks",props:h7,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.computed(()=>Be().dataJson.ranks.sort((d,u)=>u.order-d.order)),o=s.reactive(r.filterArray),A=s.ref(0);s.watch(o,()=>{a("update:filterArray",o)}),s.watch(A,()=>{A.value===0?o.splice(0):A.value===1&&(o.splice(0),o.push("Platinum","Diamond","Masters"))});function l(){o.splice(0),A.value=0}function c(d){const u=o.indexOf(d);if(u===-1){o.push(d);return}o.splice(u,1)}return(d,u)=>(s.openBlock(),s.createBlock(ct,{"filter-array":o,title:s.unref(n)("general.ranks"),"onClear:filterArray":l},{default:s.withCtx(()=>[s.createElementVNode("div",x7,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.value,f=>(s.openBlock(),s.createBlock(nn,{key:f.nameRef,icon:`url(${f.icon})`,prompt:f.name,"is-selected":o.includes(f.nameRef),"onUpdate:isSelected":p=>c(f.nameRef)},null,8,["icon","prompt","is-selected","onUpdate:isSelected"]))),128)),s.createVNode(gA,{"selected-option":A.value,"onUpdate:selectedOption":u[0]||(u[0]=f=>A.value=f),options:[s.unref(n)("general.allRanks"),s.unref(n)("general.platPlus")]},null,8,["selected-option","options"])])]),_:1},8,["filter-array","title"]))}}),Qpe="",zw=Q(E7,[["__scopeId","data-v-af7bc2a0"]]),S7={filterArray:{type:Array,required:!0,default:[]}},F7={isSelected:{type:Boolean,required:!0,default:!1},prompt:{type:Number,required:!0,default:""}},I7=["selected"],D7={class:"prompt"},T7=s.defineComponent({__name:"CheckboxItemManaCost",props:F7,emits:["update:isSelected"],setup(e,{emit:t}){const n=e,r=t;function a(){r("update:isSelected",!n.isSelected)}return(i,o)=>(s.openBlock(),s.createElementBlock("button",{class:"checkbox-item",selected:n.isSelected,onClick:a},[s.createVNode(uA),s.createElementVNode("div",D7,s.toDisplayString(n.prompt===10?"+":n.prompt),1)],8,I7))}}),Mpe="",zc=Q(T7,[["__scopeId","data-v-2c74c2ed"]]),U7={class:"checkbox-rows-container"},L7={class:"top-row checkbox-items-container"},O7={class:"bottom-row checkbox-items-container"},Q7=s.defineComponent({__name:"FilterManaCost",props:S7,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=Array(6).fill(1).map((c,d)=>d),o=Array(5).fill(1).map((c,d)=>d+6);function A(c){let d;r.filterArray.includes(c)?d=r.filterArray.filter(u=>u!==c):d=[...r.filterArray,c],a("update:filterArray",d)}function l(){a("update:filterArray",[])}return(c,d)=>(s.openBlock(),s.createBlock(ct,{"filter-array":r.filterArray,title:s.unref(n)("general.manaCost"),"onClear:filterArray":l},{default:s.withCtx(()=>[s.createElementVNode("div",U7,[s.createElementVNode("div",L7,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(i),u=>(s.openBlock(),s.createBlock(zc,{key:u,class:"checkbox-item-mana-cost",prompt:u,"is-selected":r.filterArray.includes(u),"onUpdate:isSelected":f=>A(u)},null,8,["prompt","is-selected","onUpdate:isSelected"]))),128))]),s.createElementVNode("div",O7,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(o),u=>(s.openBlock(),s.createBlock(zc,{key:u,class:"checkbox-item-mana-cost",prompt:u,"is-selected":r.filterArray.includes(u),"onUpdate:isSelected":f=>A(u)},null,8,["prompt","is-selected","onUpdate:isSelected"]))),128))])])]),_:1},8,["filter-array","title"]))}}),Ppe="",wh=Q(Q7,[["__scopeId","data-v-a94d786a"]]),M7={filterArray:{type:Array,required:!0,default:[]}},P7={class:"checkboxes-container"},Bh=s.defineComponent({__name:"FilterRarities",props:M7,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.computed(()=>Be().dataJson.rarities.filter(c=>c.nameRef!=="None")),o=s.reactive(r.filterArray);s.watch(o,()=>{a("update:filterArray",o)});function A(){o.splice(0)}function l(c){const d=o.indexOf(c);if(d===-1){o.push(c);return}o.splice(d,1)}return(c,d)=>(s.openBlock(),s.createBlock(ct,{"filter-array":o,title:s.unref(n)("general.rarities"),"onClear:filterArray":A},{default:s.withCtx(()=>[s.createElementVNode("div",P7,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.value,u=>(s.openBlock(),s.createBlock(nn,{key:u.nameRef,icon:`url(${u.icon})`,prompt:u.name,"is-selected":o.includes(u.nameRef),"onUpdate:isSelected":f=>l(u.nameRef)},null,8,["icon","prompt","is-selected","onUpdate:isSelected"]))),128))])]),_:1},8,["filter-array","title"]))}}),N7={filterArray:{type:Array,required:!0,default:[]}},R7={class:"multiselect-tag",tabindex:"-1","aria-label":"{{option.name}} ❎"},H7=["src"],V7={class:"multiselect-tag-remove"},z7=["onMousedown"],$7=["src"],vh=s.defineComponent({__name:"FilterSets",props:N7,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref(r.filterArray);s.watch(i,()=>{a("update:filterArray",i.value)});function o(){i.value.splice(0)}return(A,l)=>(s.openBlock(),s.createBlock(ct,{"filter-array":i.value,title:s.unref(n)("general.sets"),"onClear:filterArray":o},{default:s.withCtx(()=>[s.createVNode(s.unref(Yt),{modelValue:i.value,"onUpdate:modelValue":l[0]||(l[0]=c=>i.value=c),placeholder:s.unref(n)("general.sets"),class:"runeterra-select",mode:"tags",options:s.unref(Be)().dataJson.sets,searchable:!0,label:"name","value-prop":"nameRef"},{tag:s.withCtx(({option:c,handleTagRemove:d})=>[s.createElementVNode("span",R7,[s.createElementVNode("img",{class:"label-icon",src:c.icon},null,8,H7),s.createElementVNode("span",V7,[s.createElementVNode("span",{class:"multiselect-tag-remove-icon",onMousedown:s.withModifiers(u=>d(c,u),["prevent"])},null,40,z7)])])]),option:s.withCtx(({option:c})=>[s.createElementVNode("img",{class:"label-icon",src:c.icon},null,8,$7),s.createTextVNode(" "+s.toDisplayString(c.name),1)]),_:1},8,["modelValue","placeholder","options"])]),_:1},8,["filter-array","title"]))}}),K7={filterArray:{type:Array,required:!0,default:[]}},W7={class:"multiselect-tag",tabindex:"-1","aria-label":"{{option.name}} ❎"},G7=["src"],j7={class:"multiselect-tag-remove"},Y7=["onMousedown"],q7=["src"],_h=s.defineComponent({__name:"FilterKeywords",props:K7,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref(r.filterArray),o=s.computed(()=>Be().dataJson.keywords.filter(l=>l.showInFilter));s.watch(i,()=>{a("update:filterArray",i.value)});function A(){i.value.splice(0)}return(l,c)=>(s.openBlock(),s.createBlock(ct,{"filter-array":i.value,title:s.unref(n)("general.keywords"),"onClear:filterArray":A},{default:s.withCtx(()=>[s.createVNode(s.unref(Yt),{modelValue:i.value,"onUpdate:modelValue":c[0]||(c[0]=d=>i.value=d),placeholder:s.unref(n)("general.keywords"),class:"runeterra-select",mode:"tags",options:o.value,searchable:!0,label:"name","value-prop":"nameRef"},{tag:s.withCtx(({option:d,handleTagRemove:u})=>[s.createElementVNode("span",W7,[s.createElementVNode("img",{class:"label-icon",src:d.icon},null,8,G7),s.createElementVNode("span",j7,[s.createElementVNode("span",{class:"multiselect-tag-remove-icon",onMousedown:s.withModifiers(f=>u(d,f),["prevent"])},null,40,Y7)])])]),option:s.withCtx(({option:d})=>[s.createElementVNode("img",{class:"label-icon",src:d.icon},null,8,q7),s.createTextVNode(" "+s.toDisplayString(d.name),1)]),_:1},8,["modelValue","placeholder","options"])]),_:1},8,["filter-array","title"]))}}),X7={filterArray:{type:Array,required:!0,default:[]}},J7={class:"checkboxes-container"},ts=s.defineComponent({__name:"FilterServers",props:X7,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.reactive(r.filterArray);s.watch(i,()=>{a("update:filterArray",i)});function o(){i.splice(0)}function A(l){const c=i.indexOf(l);if(c===-1){i.push(l);return}i.splice(c,1)}return(l,c)=>(s.openBlock(),s.createBlock(ct,{"filter-array":i,title:s.unref(n)("general.servers"),"onClear:filterArray":o},{default:s.withCtx(()=>[s.createElementVNode("div",J7,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Be)().dataJson.servers,d=>(s.openBlock(),s.createBlock(nn,{key:d.nameRef,prompt:d.name,"is-selected":i.includes(d.nameRef),"onUpdate:isSelected":u=>A(d.nameRef)},null,8,["prompt","is-selected","onUpdate:isSelected"]))),128))])]),_:1},8,["filter-array","title"]))}}),Z7={filterArray:{type:Array,required:!0,default:[]},allowZero:{type:Boolean,required:!1,default:!1}},eQ={class:"checkboxes-container"},tQ=s.defineComponent({__name:"FilterTime",props:Z7,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.reactive(r.filterArray),o=s.ref(null),A=s.ref(null),l=i.find(h=>h.startsWith("patch_"));l&&(o.value=l);const c=i.find(h=>h.startsWith("season_"));c&&(A.value=c);const d=s.computed(()=>r.allowZero&&i.filter(h=>h.startsWith("patch")).length>0||!r.allowZero&&i.filter(h=>!h.startsWith("patch")).length===0);s.watch(i,()=>{a("update:filterArray",i)}),s.watch(o,(h,m)=>{u(h,m)}),s.watch(A,(h,m)=>{u(h,m)});function u(h,m){console.log(m,h),m&&i.splice(i.indexOf(m),1),h&&i.push(h),console.log(i)}function f(){i.splice(0),o.value=null,A.value=null}function p(h){i.splice(0),(r.allowZero||h!=="patch")&&i.push(h),h==="patch"&&o.value&&i.push(o.value),h==="season"&&A.value&&i.push(A.value)}return(h,m)=>(s.openBlock(),s.createBlock(ct,{class:"side-panel-section-pane","filter-array":i,title:s.unref(n)("general.time"),"onClear:filterArray":f},{default:s.withCtx(()=>[s.createElementVNode("div",eQ,[s.createVNode(nn,{prompt:s.unref(n)("general.patch"),"is-selected":d.value,"onUpdate:isSelected":m[0]||(m[0]=b=>p("patch"))},null,8,["prompt","is-selected"]),s.createVNode(nn,{prompt:s.unref(n)("general.season"),"is-selected":i.includes("season"),"onUpdate:isSelected":m[1]||(m[1]=b=>p("season"))},null,8,["prompt","is-selected"]),s.createVNode(nn,{prompt:s.unref(n)("general.pastDays",7),"is-selected":i.includes("7days"),"onUpdate:isSelected":m[2]||(m[2]=b=>p("7days"))},null,8,["prompt","is-selected"]),s.createVNode(nn,{prompt:s.unref(n)("general.pastDays",3),"is-selected":i.includes("3days"),"onUpdate:isSelected":m[3]||(m[3]=b=>p("3days"))},null,8,["prompt","is-selected"]),s.createVNode(nn,{prompt:s.unref(n)("general.pastHours",24),"is-selected":i.includes("24hours"),"onUpdate:isSelected":m[4]||(m[4]=b=>p("24hours"))},null,8,["prompt","is-selected"]),s.createVNode(nn,{prompt:s.unref(n)("general.pastHour"),"is-selected":i.includes("1hour"),"onUpdate:isSelected":m[5]||(m[5]=b=>p("1hour"))},null,8,["prompt","is-selected"]),d.value?(s.openBlock(),s.createBlock(s.unref(Yt),{key:0,modelValue:o.value,"onUpdate:modelValue":m[6]||(m[6]=b=>o.value=b),options:s.unref(Be)().dataJson.patches,searchable:!0,label:"name","value-prop":"nameRef",placeholder:s.unref(n)("general.patches")},null,8,["modelValue","options","placeholder"])):s.createCommentVNode("",!0),i.includes("season")?(s.openBlock(),s.createBlock(s.unref(Yt),{key:1,modelValue:A.value,"onUpdate:modelValue":m[7]||(m[7]=b=>A.value=b),options:s.unref(Be)().dataJson.seasons,searchable:!0,label:"name","value-prop":"nameRef",placeholder:s.unref(n)("general.seasons")},null,8,["modelValue","options","placeholder"])):s.createCommentVNode("",!0)])]),_:1},8,["filter-array","title"]))}}),Npe="",Ki=Q(tQ,[["__scopeId","data-v-921cb269"]]),nQ={filterArray:{type:Array,required:!0,default:[]}},rQ={cardCodes:{type:[Array,String,null],required:!0,default:[]},filterCallback:{type:Function,required:!1,default:()=>!0},mode:{type:String,required:!1,default:"tags"}},aQ=s.defineComponent({__name:"CardMultiselect",props:rQ,emits:["update:cardCodes"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref(r.cardCodes),o=s.computed(()=>{let A=Tp().cardJson.sort((l,c)=>l.name.localeCompare(c.name));return r.filterCallback&&(A=A.filter(r.filterCallback)),A});return s.watch(i,()=>{a("update:cardCodes",i.value)}),(A,l)=>(s.openBlock(),s.createBlock(s.unref(Yt),{modelValue:i.value,"onUpdate:modelValue":l[0]||(l[0]=c=>i.value=c),class:"multiselect",placeholder:s.unref(n)("cards.cards"),mode:r.mode,options:o.value,infinite:!0,limit:10,searchable:!0,label:"name","value-prop":"cardCode"},null,8,["modelValue","placeholder","mode","options"]))}}),Rpe="",Ch=Q(aQ,[["__scopeId","data-v-e46bd34a"]]),$c=s.defineComponent({__name:"FilterCardCodes",props:nQ,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref(r.filterArray);s.watch(i,()=>{console.log("watch(filterArray)",i.value),a("update:filterArray",i.value)});function o(){i.value.splice(0)}function A(l){return l.collectible}return(l,c)=>(s.openBlock(),s.createBlock(ct,{"filter-array":i.value,title:s.unref(n)("cards.cards"),"onClear:filterArray":o},{default:s.withCtx(()=>[s.createVNode(Ch,{cardCodes:i.value,"onUpdate:cardCodes":c[0]||(c[0]=d=>i.value=d),mode:"tags","filter-callback":A},null,8,["cardCodes"])]),_:1},8,["filter-array","title"]))}}),iQ={filterArray:{type:Array,required:!0,default:[]}},oQ={class:"checkboxes-container"},sQ=s.defineComponent({__name:"FilterRegions",props:iQ,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.reactive(r.filterArray),o=s.ref([]);o.value.push(...i.filter(c=>To(c))),s.watch(i,()=>{a("update:filterArray",i)}),s.watch(o,(c,d)=>{let u=c.find(f=>!d.includes(f));if(u||(u=d.find(f=>!c.includes(f)),u))return l(u)});function A(){i.splice(0),o.value.slice(0)}function l(c){const d=i.indexOf(c);if(d===-1){i.push(c),c==="Runeterra"&&i.push(...o.value);return}if(i.splice(d,1),c==="Runeterra")for(let u=0;u<i.length;u++)To(i[u])&&i.splice(u--,1)}return(c,d)=>(s.openBlock(),s.createBlock(ct,{"filter-array":i,title:s.unref(n)("general.regions"),"onClear:filterArray":A},{default:s.withCtx(()=>[s.createElementVNode("div",oQ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Be)().dataJson.regions,u=>(s.openBlock(),s.createBlock(nn,{key:u.nameRef,icon:`url(${u.icon})`,prompt:u.name,"is-selected":i.includes(u.nameRef),"onUpdate:isSelected":f=>l(u.nameRef)},null,8,["icon","prompt","is-selected","onUpdate:isSelected"]))),128)),s.createVNode(nn,{class:"runeterra",prompt:"Runeterra","is-selected":i.includes("Runeterra"),"onUpdate:isSelected":d[0]||(d[0]=u=>l("Runeterra"))},null,8,["is-selected"]),i.includes("Runeterra")?(s.openBlock(),s.createBlock(s.unref(Yt),{key:0,modelValue:o.value,"onUpdate:modelValue":d[1]||(d[1]=u=>o.value=u),class:"runeterra-select",mode:"tags",options:s.unref(Be)().dataJson.runeterraChampions,searchable:!0,label:"name","value-prop":"nameRef"},null,8,["modelValue","options"])):s.createCommentVNode("",!0)])]),_:1},8,["filter-array","title"]))}}),Hpe="",yA=Q(sQ,[["__scopeId","data-v-c93a9e90"]]),AQ={filters:{type:Object,required:!0,default:{cardFilters:[],regionFilters:[],sampleSizeFilters:[],serverFilters:[],timeFilters:[],formatFilters:[],queueFilters:[]}},includeDataFilters:{type:Boolean,required:!1,default:!0}},lQ={filterArray:{type:Array,required:!0,default:[]},allowZero:{type:Boolean,required:!1,default:!1}},cQ={class:"checkboxes-container"},dQ=s.defineComponent({__name:"FilterFormat",props:lQ,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.computed(()=>{const f=Be().dataJson.queues;return Object.values(Be().dataJson.formats).filter(p=>p.availableQueues.some(h=>!f[h].excludeInMassFilter))}),o=s.computed(()=>i.value.filter(f=>!f.inDropdown)),A=s.computed(()=>i.value.filter(f=>f.inDropdown)),l=s.reactive(r.filterArray),c=s.ref(null);s.onMounted(()=>{l.length>0&&A.value.map(f=>f.nameRef).includes(l[0])&&(c.value=l[0])}),s.watch(l,()=>{a("update:filterArray",l),l.length===0&&(c.value=null)}),s.watch(c,()=>{c.value&&(l.splice(0),l.push(c.value))});function d(f){c.value=null,l.splice(0),f!==ir.Standard&&l.push(f)}function u(){l.splice(0)}return(f,p)=>(s.openBlock(),s.createBlock(ct,{"filter-array":l,title:s.unref(n)("general.format"),"onClear:filterArray":u},{default:s.withCtx(()=>[s.createElementVNode("div",cQ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.value,h=>(s.openBlock(),s.createBlock(nn,{prompt:h.name,"is-selected":l.includes(h.nameRef)||!r.allowZero&&h.nameRef==="Standard"&&l.length===0,"onUpdate:isSelected":m=>d(h.nameRef)},null,8,["prompt","is-selected","onUpdate:isSelected"]))),256)),A.value.length>0?(s.openBlock(),s.createBlock(s.unref(Yt),{key:0,modelValue:c.value,"onUpdate:modelValue":p[0]||(p[0]=h=>c.value=h),options:A.value,searchable:!1,placeholder:s.unref(n)("general.otherFormats"),label:"name","value-prop":"nameRef",onClear:u},null,8,["modelValue","options","placeholder"])):s.createCommentVNode("",!0)])]),_:1},8,["filter-array","title"]))}}),Vpe="",bA=Q(dQ,[["__scopeId","data-v-22de9b40"]]),uQ={filterArray:{type:Array,required:!0,default:[]},availableQueues:{type:Array,required:!0,default:[]}},wA=s.defineComponent({__name:"FilterQueues",props:uQ,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref(r.filterArray),o=s.computed(()=>Object.values(Be().dataJson.queues).filter(l=>r.availableQueues.includes(l.nameRef)&&!l.excludeInMassFilter));s.watch(i,()=>{a("update:filterArray",i.value)});function A(){i.value.splice(0)}return(l,c)=>r.availableQueues.length>1?(s.openBlock(),s.createBlock(ct,{key:0,"filter-array":i.value,title:s.unref(n)("general.queues"),"onClear:filterArray":A},{default:s.withCtx(()=>{var d,u;return[s.createVNode(s.unref(Yt),{modelValue:i.value,"onUpdate:modelValue":c[0]||(c[0]=f=>i.value=f),placeholder:(u=(d=o.value)==null?void 0:d.find(f=>f.nameRef===s.unref(k0).Ranked))==null?void 0:u.name,class:"runeterra-select",mode:"tags",options:o.value,searchable:!0,label:"name","value-prop":"nameRef"},null,8,["modelValue","placeholder","options"])]}),_:1},8,["filter-array","title"])):s.createCommentVNode("",!0)}}),fQ={filterObject:{type:Object,required:!1,default:void 0},showClearAll:{type:Boolean,required:!1,default:!0}},pQ={class:"filter"},hQ={key:0,class:"top"},mQ=s.defineComponent({__name:"SidePanel",props:fQ,emits:["clear:filterObject"],setup(e,{emit:t}){const n=e,r=t,a=s.computed(()=>n.filterObject&&Object.values(n.filterObject).some(o=>o.length>0)?"clickable":null);function i(){r("clear:filterObject")}return(o,A)=>{const l=s.resolveDirective("t");return s.openBlock(),s.createElementBlock("div",pQ,[n.showClearAll&&n.filterObject?(s.openBlock(),s.createElementBlock("div",hQ,[s.withDirectives(s.createElementVNode("p",{class:s.normalizeClass(["clear",a.value]),onClick:i},null,2),[[l,"general.clearAll"]])])):s.createCommentVNode("",!0),s.renderSlot(o.$slots,"default",{},void 0,!0)])}}}),zpe="",Wi=Q(mQ,[["__scopeId","data-v-6a93fcc1"]]),$w=s.defineComponent({__name:"FilterDecks",props:AQ,emits:["update:filters"],setup(e,{emit:t}){const n=e,r=t,a=s.reactive(n.filters);s.watch(a,()=>{r("update:filters",a)});const i=s.computed(()=>{var A;return(A=Be().dataJson.formats[a.formatFilters[0]??"Standard"])==null?void 0:A.availableQueues});function o(){for(const[,A]of Object.entries(a))A.splice(0)}return(A,l)=>(s.openBlock(),s.createBlock(Wi,{"filter-object":n.filters,"onClear:filterObject":o},{default:s.withCtx(()=>[s.createVNode(yA,{"filter-array":a.regionFilters,"onUpdate:filterArray":l[0]||(l[0]=c=>a.regionFilters=c)},null,8,["filter-array"]),s.createVNode($c,{"filter-array":a.cardFilters,"onUpdate:filterArray":l[1]||(l[1]=c=>a.cardFilters=c)},null,8,["filter-array"]),s.createVNode(bA,{"filter-array":a.formatFilters,"onUpdate:filterArray":l[2]||(l[2]=c=>a.formatFilters=c)},null,8,["filter-array"]),n.includeDataFilters?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createVNode(wA,{"filter-array":a.queueFilters,"onUpdate:filterArray":l[3]||(l[3]=c=>a.queueFilters=c),"available-queues":i.value},null,8,["filter-array","available-queues"]),s.createVNode(es,{"filter-array":a.sampleSizeFilters,"onUpdate:filterArray":l[4]||(l[4]=c=>a.sampleSizeFilters=c)},null,8,["filter-array"]),s.createVNode(Ki,{"filter-array":a.timeFilters,"onUpdate:filterArray":l[5]||(l[5]=c=>a.timeFilters=c)},null,8,["filter-array"]),s.createVNode(ts,{"filter-array":a.serverFilters,"onUpdate:filterArray":l[6]||(l[6]=c=>a.serverFilters=c)},null,8,["filter-array"])],64)):s.createCommentVNode("",!0)]),_:1},8,["filter-object"]))}}),gQ={filters:{type:Object,required:!0,default:{cardFilters:[],regionFilters:[],sampleSizeFilters:[],serverFilters:[],timeFilters:[],formatFilters:[],queueFilters:[]}},includeDataFilters:{type:Boolean,required:!1,default:!0}},yQ={filterArray:{type:Array,required:!0,default:[]},placeholder:{type:String,required:!1},title:{type:String,required:!1,default:"Text"}},bQ=["placeholder"],wQ=s.defineComponent({__name:"FilterText",props:yQ,emits:["update:filterArray"],setup(e,{emit:t}){const n=e,r=t,a=s.ref(n.filterArray),i=s.ref("");let o=setTimeout(()=>{},0);a.value.length>0&&(i.value=a.value[0]),s.watch(a,()=>{r("update:filterArray",a.value)}),s.watch(i,()=>{o&&clearTimeout(o),o=setTimeout(()=>{a.value.splice(0),i.value&&a.value.push(i.value)},1e3)});function A(){a.value.splice(0),i.value=""}return(l,c)=>(s.openBlock(),s.createBlock(ct,{"filter-array":a.value,title:n.title,"onClear:filterArray":A},{default:s.withCtx(()=>[s.withDirectives(s.createElementVNode("input",{"onUpdate:modelValue":c[0]||(c[0]=d=>i.value=d),placeholder:n.placeholder,type:"text"},null,8,bQ),[[s.vModelText,i.value]])]),_:1},8,["filter-array","title"]))}}),$pe="",BA=Q(wQ,[["__scopeId","data-v-e9c34cae"]]),Kw=s.defineComponent({__name:"FilterProfile",props:gQ,emits:["update:filters"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.reactive(r.filters);s.watch(i,()=>{a("update:filters",i)});const o=s.computed(()=>{var l;return i.formatFilters.length===0?[]:(l=Be().dataJson.formats[i.formatFilters[0]??"Standard"])==null?void 0:l.availableQueues});function A(){for(const[,l]of Object.entries(i))l.splice(0)}return(l,c)=>(s.openBlock(),s.createBlock(Wi,{"filter-object":r.filters,"onClear:filterObject":A},{default:s.withCtx(()=>[s.createVNode(yA,{"filter-array":i.regionFilters,"onUpdate:filterArray":c[0]||(c[0]=d=>i.regionFilters=d)},null,8,["filter-array"]),s.createVNode($c,{"filter-array":i.cardFilters,"onUpdate:filterArray":c[1]||(c[1]=d=>i.cardFilters=d)},null,8,["filter-array"]),s.createVNode(BA,{"filter-array":i.deckCodeFilters,"onUpdate:filterArray":c[2]||(c[2]=d=>i.deckCodeFilters=d),placeholder:s.unref(n)("general.deckCode"),title:s.unref(n)("general.deckCode")},null,8,["filter-array","placeholder","title"]),s.createVNode(BA,{"filter-array":i.playerFilters,"onUpdate:filterArray":c[3]||(c[3]=d=>i.playerFilters=d),placeholder:s.unref(n)("general.players"),title:s.unref(n)("general.players")},null,8,["filter-array","placeholder","title"]),s.createVNode(es,{"filter-array":i.sampleSizeFilters,"onUpdate:filterArray":c[4]||(c[4]=d=>i.sampleSizeFilters=d)},null,8,["filter-array"]),s.createVNode(bA,{"allow-zero":!0,"filter-array":i.formatFilters,"onUpdate:filterArray":c[5]||(c[5]=d=>i.formatFilters=d)},null,8,["filter-array"]),s.createVNode(wA,{"filter-array":i.queueFilters,"onUpdate:filterArray":c[6]||(c[6]=d=>i.queueFilters=d),"available-queues":o.value},null,8,["filter-array","available-queues"]),s.createVNode(Ki,{"allow-zero":!0,"filter-array":i.timeFilters,"onUpdate:filterArray":c[7]||(c[7]=d=>i.timeFilters=d)},null,8,["filter-array"])]),_:1},8,["filter-object"]))}}),BQ={filterValue:{type:Object,required:!0,default:{attribute:"attack",equality:">",number:0}}},vQ={class:"advanced-filter-item"},_Q=["value"],CQ=s.defineComponent({__name:"AdvancedFilterItem",props:BQ,emits:["update:filterValue"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=[{value:"attack",label:n("cards.attack")},{value:"health",label:n("cards.health")},{value:"cost",label:n("cards.cost")},{value:"quantityOwned",label:n("cards.quantityOwned")}],o=s.ref(r.filterValue.attribute);s.watch(o,()=>{a("update:filterValue",{attribute:o.value,equality:r.filterValue.equality,number:r.filterValue.number})});function A(){let c=">";r.filterValue.equality===">"?c="<":r.filterValue.equality==="<"&&(c="="),a("update:filterValue",{attribute:r.filterValue.attribute,equality:c,number:r.filterValue.number})}function l(c){a("update:filterValue",{attribute:r.filterValue.attribute,equality:r.filterValue.equality,number:Number(c.target.value)})}return(c,d)=>(s.openBlock(),s.createElementBlock("div",vQ,[s.createVNode(s.unref(Yt),{modelValue:o.value,"onUpdate:modelValue":d[0]||(d[0]=u=>o.value=u),class:"advanced-attribute",options:i,"can-clear":!1,label:"label","value-prop":"value"},null,8,["modelValue"]),s.createElementVNode("div",{class:"equality-button",onClick:A},s.toDisplayString(r.filterValue.equality),1),s.createElementVNode("input",{type:"number",class:"equality-number",value:r.filterValue.number,onInput:l},null,40,_Q)]))}}),Kpe="",kh=Q(CQ,[["__scopeId","data-v-eb2d535d"]]),kQ={filterValue:{type:Array,required:!0,default:[]}},xQ=s.defineComponent({__name:"FilterAdvanced",props:kQ,emits:["update:filterValue"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.reactive(r.filterValue);s.watch(i,()=>{a("update:filterValue",i)});function o(){i.splice(0)}function A(){i.push({attribute:"attack",equality:">",number:0})}return(l,c)=>(s.openBlock(),s.createBlock(ct,{class:"advanced-filters","filter-array":i,title:s.unref(n)("general.advanced"),"onClear:filterArray":o},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i,(d,u)=>(s.openBlock(),s.createBlock(kh,{key:u,"filter-value":i[u],"onUpdate:filterValue":f=>i[u]=f,class:"advanced-filter-item"},null,8,["filter-value","onUpdate:filterValue"]))),128)),s.createElementVNode("div",{class:"new-advanced-filter",onClick:A},s.toDisplayString(s.unref(n)("general.newAdvancedFilter")),1)]),_:1},8,["filter-array","title"]))}}),Wpe="",xh=Q(xQ,[["__scopeId","data-v-6c23ee29"]]),EQ={filterArray:{type:Array,required:!0,default:[]}},SQ={class:"checkboxes-container"},Eh=s.defineComponent({__name:"FilterTypes",props:EQ,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.computed(()=>Be().dataJson.types.filter(c=>["Unit","Spell","Landmark","Equipment"].includes(c.nameRef))),o=s.reactive(r.filterArray);s.watch(o,()=>{a("update:filterArray",o)});function A(){o.splice(0)}function l(c){const d=o.indexOf(c);if(d===-1){o.push(c);return}o.splice(d,1)}return(c,d)=>(s.openBlock(),s.createBlock(ct,{"filter-array":r.filterArray,title:s.unref(n)("general.types"),"onClear:filterArray":A},{default:s.withCtx(()=>[s.createElementVNode("div",SQ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.value,u=>(s.openBlock(),s.createBlock(nn,{key:u.nameRef,icon:`url(${u.icon})`,prompt:u.name,"is-selected":o.includes(u.nameRef),"onUpdate:isSelected":f=>l(u.nameRef)},null,8,["icon","prompt","is-selected","onUpdate:isSelected"]))),128))])]),_:1},8,["filter-array","title"]))}}),FQ={filters:{type:Object,required:!0,default:{advancedFilters:[],regionFilters:[],manaCostFilters:[],typeFilters:[],rarityFilters:[],setFilters:[],keywordFilters:[],textFilters:[],cardFormatFilters:[]}}},IQ={filterArray:{type:Array,required:!0,default:[]}},DQ={class:"checkboxes-container"},TQ=s.defineComponent({__name:"FilterCardFormats",props:IQ,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.reactive(r.filterArray);s.watch(i,()=>{a("update:filterArray",i)});function o(){i.splice(0)}function A(l){const c=i.indexOf(l);if(c===-1){i.push(l);return}i.splice(c,1)}return(l,c)=>(s.openBlock(),s.createBlock(ct,{"filter-array":i,title:s.unref(n)("general.format"),"onClear:filterArray":o},{default:s.withCtx(()=>[s.createElementVNode("div",DQ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Be)().dataJson.cardFormats.filter(d=>[s.unref(ir).Standard,s.unref(ir).Eternal].includes(d.nameRef)),d=>(s.openBlock(),s.createBlock(nn,{key:d.nameRef,prompt:d.name,"is-selected":i.includes(d.nameRef),"onUpdate:isSelected":u=>A(d.nameRef)},null,8,["prompt","is-selected","onUpdate:isSelected"]))),128))])]),_:1},8,["filter-array","title"]))}}),Ww=s.defineComponent({__name:"FilterCards",props:FQ,emits:["update:filters"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.reactive(r.filters);s.watch(i,()=>{a("update:filters",i)});const o=s.computed(()=>{var l;return"formatFilters"in i?(l=Be().dataJson.formats[i.formatFilters[0]??"Standard"])==null?void 0:l.availableQueues:[]});function A(){for(const[,l]of Object.entries(i))l.splice(0)}return(l,c)=>(s.openBlock(),s.createBlock(Wi,{"filter-object":r.filters,"onClear:filterObject":A},{default:s.withCtx(()=>[s.createVNode(s.unref(BA),{"filter-array":i.textFilters,"onUpdate:filterArray":c[0]||(c[0]=d=>i.textFilters=d),placeholder:s.unref(n)("general.text"),title:s.unref(n)("general.text")},null,8,["filter-array","placeholder","title"]),s.createVNode(wh,{"filter-array":i.manaCostFilters,"onUpdate:filterArray":c[1]||(c[1]=d=>i.manaCostFilters=d)},null,8,["filter-array"]),"cardFormatFilters"in i?(s.openBlock(),s.createBlock(TQ,{key:0,"filter-array":i.cardFormatFilters,"onUpdate:filterArray":c[2]||(c[2]=d=>i.cardFormatFilters=d)},null,8,["filter-array"])):s.createCommentVNode("",!0),s.createVNode(yA,{"filter-array":i.regionFilters,"onUpdate:filterArray":c[3]||(c[3]=d=>i.regionFilters=d)},null,8,["filter-array"]),s.createVNode(Eh,{"filter-array":i.typeFilters,"onUpdate:filterArray":c[4]||(c[4]=d=>i.typeFilters=d)},null,8,["filter-array"]),s.createVNode(Bh,{"filter-array":i.rarityFilters,"onUpdate:filterArray":c[5]||(c[5]=d=>i.rarityFilters=d)},null,8,["filter-array"]),s.createVNode(vh,{"filter-array":i.setFilters,"onUpdate:filterArray":c[6]||(c[6]=d=>i.setFilters=d)},null,8,["filter-array"]),s.createVNode(_h,{"filter-array":i.keywordFilters,"onUpdate:filterArray":c[7]||(c[7]=d=>i.keywordFilters=d)},null,8,["filter-array"]),s.createVNode(xh,{"filter-value":i.advancedFilters,"onUpdate:filterValue":c[8]||(c[8]=d=>i.advancedFilters=d)},null,8,["filter-value"]),"serverFilters"in i?(s.openBlock(),s.createBlock(s.unref(ts),{key:1,"filter-array":i.serverFilters,"onUpdate:filterArray":c[9]||(c[9]=d=>i.serverFilters=d)},null,8,["filter-array"])):s.createCommentVNode("",!0),"timeFilters"in i?(s.openBlock(),s.createBlock(Ki,{key:2,"filter-array":i.timeFilters,"onUpdate:filterArray":c[10]||(c[10]=d=>i.timeFilters=d)},null,8,["filter-array"])):s.createCommentVNode("",!0),"formatFilters"in i?(s.openBlock(),s.createBlock(bA,{key:3,"filter-array":i.formatFilters,"onUpdate:filterArray":c[11]||(c[11]=d=>i.formatFilters=d)},null,8,["filter-array"])):s.createCommentVNode("",!0),"queueFilters"in i?(s.openBlock(),s.createBlock(wA,{key:4,"filter-array":i.queueFilters,"onUpdate:filterArray":c[12]||(c[12]=d=>i.queueFilters=d),"available-queues":o.value},null,8,["filter-array","available-queues"])):s.createCommentVNode("",!0)]),_:1},8,["filter-object"]))}}),UQ={regionRef:{type:String,required:!0,default:"Ionia"}},LQ={text:{type:String,required:!0,default:""}},OQ=["innerHTML"],QQ=s.defineComponent({__name:"TippyText",props:LQ,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",{class:"tippy-text",innerHTML:t.text},null,8,OQ))}}),Gpe="",Kc=Q(QQ,[["__scopeId","data-v-715107fe"]]),MQ={class:"region-item"},PQ=["alt","src"],NQ=s.defineComponent({__name:"RegionItem",props:UQ,setup(e){const t=e,n=s.ref(null),r=s.ref(null),a=s.computed(()=>Be().dataJson.regions.find(i=>i.nameRef==t.regionRef)??Be().dataJson.runeterraChampions.find(i=>i.nameRef===t.regionRef));return s.onMounted(()=>{tt(n.value,{content:r.value,arrow:!0})}),(i,o)=>{var A,l,c;return s.openBlock(),s.createElementBlock("div",MQ,[s.createElementVNode("img",{ref_key:"regionImg",ref:n,alt:(A=a.value)==null?void 0:A.name,src:(l=a.value)==null?void 0:l.icon,class:"region-img"},null,8,PQ),s.createElementVNode("div",{ref_key:"regionTippy",ref:r},[s.createVNode(Kc,{text:(c=a.value)==null?void 0:c.name},null,8,["text"])],512)])}}}),jpe="",vA=Q(NQ,[["__scopeId","data-v-3d756f50"]]),RQ={deckCode:{type:String,required:!0,default:""},deck:{type:Object,required:!1},cards:{type:Array,required:!1},describeRegions:{type:Boolean,required:!1,default:!1}},HQ={class:"regions-line"},VQ={key:0,class:"describe-regions"},zQ={class:"lines"},$Q=s.defineComponent({__name:"RegionsLine",props:RQ,setup(e){const{t}=q(),n=e,r=s.computed(()=>n.deck?n.deck:kt(n.deckCode)),a=s.computed(()=>n.cards?n.cards:Zt(r.value)),i=s.computed(()=>{const A={};for(const l of ec(r.value))A[l]=0;for(const l of a.value)for(const c of l.regionRefs)c in A&&(A[c]+=r.value[l.cardCode]);return A});function o(A,l){return{flexGrow:A,backgroundColor:`var(--color-${l}, var(--color-Runeterra))`}}return(A,l)=>(s.openBlock(),s.createElementBlock("div",HQ,[n.describeRegions?(s.openBlock(),s.createElementBlock("div",VQ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.value,(c,d)=>(s.openBlock(),s.createElementBlock("div",{key:d,class:"region-description"},[s.createVNode(vA,{"region-ref":d,class:"icon"},null,8,["region-ref"]),s.createElementVNode("span",null,s.toDisplayString(`${c} ${s.unref(t)("general.cards")}`),1)]))),128))])):s.createCommentVNode("",!0),s.createElementVNode("div",zQ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.value,(c,d)=>(s.openBlock(),s.createElementBlock("div",{key:d,style:s.normalizeStyle(o(c,d)),class:"region-line"},null,4))),128))])]))}}),Ype="",Sh=Q($Q,[["__scopeId","data-v-f1f94f8b"]]),KQ={routerLink:{type:Object,required:!0,default:{path:"/404"}},cardCode:{type:String,required:!0,default:"01IO001"},toggledStats:{type:Object,required:!0,default:{matches:!0,winrate:!0,inclusion:!0,avgCopies:!0,mulliganWinrate:!1,kept:!1,drawnWinrate:!1,turnsHeld:!1,turnPlayed:!1}},index:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:1},region:{type:String,required:!0,default:""},wins:{type:Number,required:!0,default:1},inclusion:{type:Number,required:!0,default:.5},avgCopies:{type:Number,required:!0,default:1},mulliganWinrate:{type:Number,required:!1,default:void 0},keptInMulligan:{type:Number,required:!1,default:void 0},drawnWinrate:{type:Number,required:!1,default:void 0},turnsHeld:{type:Number,required:!1,default:void 0},turnPlayed:{type:Number,required:!1,default:void 0}},WQ={class:"cards-row-background-wrapper"},GQ={class:"cards-row-background"},jQ={class:"cards-row wrapper"},YQ={key:0,class:"column-content"},qQ={key:2,class:"column-content"},XQ={key:3,class:"column-content"},JQ={key:5,class:"column-content"},ZQ={key:7,class:"column-content"},eM={key:8,class:"column-content"},tM=s.defineComponent({__name:"CardsRow",props:KQ,setup(e){const t=e,n=s.computed(()=>["",ve().callbacks.cardImageCallback(t.cardCode,Bt.Banner)]);return(r,a)=>{const i=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(i,{to:t.routerLink,class:"wrapper"},{default:s.withCtx(()=>[s.createElementVNode("div",{class:"cards-row-wrapper wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",WQ,[s.createElementVNode("div",GQ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.value,o=>(s.openBlock(),s.createElementBlock("div",{key:o,class:"background-card",style:s.normalizeStyle({"--background-image":`url(${o})`})},null,4))),128))])]),s.createElementVNode("div",jQ,[s.createElementVNode("div",{class:"column-content deck-highlight-wrapper",onClick:a[0]||(a[0]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createVNode(vt,{class:"card-slice-item","card-code-prop":t.cardCode,"maintain-aspect-ratio":!1,color:`var(--color-${t.region}-rgb, var(--color-primary-2-rgb))`,"router-link":t.routerLink},null,8,["card-code-prop","color","router-link"])]),t.toggledStats.matches?(s.openBlock(),s.createElementBlock("div",YQ,s.toDisplayString(s.unref(De)(t.matches)),1)):s.createCommentVNode("",!0),t.toggledStats.winrate?(s.openBlock(),s.createElementBlock("div",{key:1,class:"column-content",style:s.normalizeStyle({color:`var(${s.unref(zn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(De)(t.wins/t.matches*100,2,3)+"%"),5)):s.createCommentVNode("",!0),t.toggledStats.inclusion?(s.openBlock(),s.createElementBlock("div",qQ,s.toDisplayString(s.unref(De)(t.inclusion*100,2,3)+"%"),1)):s.createCommentVNode("",!0),t.toggledStats.avgCopies?(s.openBlock(),s.createElementBlock("div",XQ,s.toDisplayString(s.unref(De)(t.avgCopies,2,3)),1)):s.createCommentVNode("",!0),t.toggledStats.mulliganWinrate?(s.openBlock(),s.createElementBlock("div",{key:4,class:"column-content",style:s.normalizeStyle({color:`var(${s.unref(zn)(t.mulliganWinrate,t.wins/t.matches)})`})},s.toDisplayString(t.mulliganWinrate?s.unref(De)(t.mulliganWinrate*100,2,3)+"%":"-"),5)):s.createCommentVNode("",!0),t.toggledStats.keptInMulligan?(s.openBlock(),s.createElementBlock("div",JQ,s.toDisplayString(t.keptInMulligan?s.unref(De)(t.keptInMulligan*100,2,3)+"%":"-"),1)):s.createCommentVNode("",!0),t.toggledStats.drawnWinrate?(s.openBlock(),s.createElementBlock("div",{key:6,class:"column-content",style:s.normalizeStyle({color:`var(${s.unref(zn)(t.drawnWinrate,t.wins/t.matches)})`})},s.toDisplayString(t.drawnWinrate?s.unref(De)(t.drawnWinrate*100,2,3)+"%":"-"),5)):s.createCommentVNode("",!0),t.toggledStats.turnPlayed?(s.openBlock(),s.createElementBlock("div",ZQ,s.toDisplayString(t.turnPlayed?s.unref(De)(t.turnPlayed,2,3):"-"),1)):s.createCommentVNode("",!0),t.toggledStats.turnsHeld?(s.openBlock(),s.createElementBlock("div",eM,s.toDisplayString(t.turnsHeld?s.unref(De)(t.turnsHeld,2,3):"-"),1)):s.createCommentVNode("",!0)])],4)]),_:1},8,["to"])}}}),qpe="",Fh=Q(tM,[["__scopeId","data-v-e0c98d3c"]]),nM={cardRows:{type:Array,required:!0,default:[]},cardsRowToggle:{type:Object,requied:!0,default:{card:!0,matches:!0,winrate:!0,inclusion:!0,avgCopies:!0,mulliganWinrate:!0,keptInMulligan:!0,drawnWinrate:!0,turnsHeld:!0,turnPlayed:!0}},loading:{type:Boolean,required:!1,default:!1}};var _e=(e=>(e.UP="sort-up",e.DOWN="sort-down",e.NEITHER="sort-neither",e.NOT_SORTABLE="not-sortable",e))(_e||{});const rM={headingItems:{type:Array,required:!0,default:[]},loading:{type:Boolean,required:!1,default:!1}},Xpe="",aM={},iM={class:"loader"};function oM(e,t){return s.openBlock(),s.createElementBlock("div",iM)}const Ih=Q(aM,[["render",oM],["__scopeId","data-v-91218ab0"]]),sM={class:"table-wrapper"},AM={class:"table no-scrollbar"},lM={class:"heading wrapper"},cM=["onClick"],dM={class:"sort-icons"},uM={key:0,class:"no-content loading"},fM=s.defineComponent({__name:"LargeTable",props:rM,emits:["toggleSort"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i={"--background-image":`url(${ve().callbacks.cardImageCallback("01FR008",Bt.Full)})`},o=s.computed(()=>r.headingItems.filter(A=>A.isShown));return(A,l)=>(s.openBlock(),s.createElementBlock("div",sM,[s.createElementVNode("div",AM,[l[0]||(l[0]=s.createElementVNode("div",{class:"heading-background-outer"},[s.createElementVNode("div",{class:"heading-background-absolute"}),s.createElementVNode("div",{class:"heading-background-inner"})],-1)),s.createElementVNode("div",lM,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.value,c=>(s.openBlock(),s.createElementBlock("div",{key:c.title,class:s.normalizeClass(["heading-cell column-content",c.sortDirection]),onClick:d=>a("toggleSort",c.id)},[s.createElementVNode("div",null,s.toDisplayString(c.title),1),s.createElementVNode("div",dM,[s.createVNode(s.unref(ke),{icon:"sort-up",class:"sort-icon"}),s.createVNode(s.unref(ke),{icon:"sort-down",class:"sort-icon"})])],10,cM))),128))]),s.renderSlot(A.$slots,"default",{},()=>[r.loading?(s.openBlock(),s.createElementBlock("div",uM,[s.createVNode(Ih)])):(s.openBlock(),s.createElementBlock("div",{key:1,class:"no-content no-results",style:i},[s.createElementVNode("h2",null,s.toDisplayString(s.unref(n)("general.noResults")),1),s.createElementVNode("h4",null,s.toDisplayString(s.unref(n)("general.tryAgain")),1)]))],!0)])]))}}),Jpe="",ia=Q(fM,[["__scopeId","data-v-8353300c"]]);function Gi(e,t){const n=t.value.find(a=>a.id===e);if(!n||n.sortDirection===_e.NOT_SORTABLE)return null;const r=n.sortDirection;return pM(t),r===_e.NEITHER?n.sortDirection=_e.DOWN:r===_e.DOWN?n.sortDirection=_e.UP:n.sortDirection=_e.DOWN,n}function pM(e){e.value.forEach(t=>{t.sortDirection!==_e.NOT_SORTABLE&&(t.sortDirection=_e.NEITHER)})}const hM=s.defineComponent({__name:"CardsTable",props:nM,emits:["sort-updated"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=[{id:"card",isAlwaysShown:!0,isSortable:!1,title:n("general.card")},{id:"matches",isAlwaysShown:!1,isSortable:!0,title:n("general.matches")},{id:"winrate",isAlwaysShown:!1,isSortable:!0,title:n("general.winrate")},{id:"inclusion",isAlwaysShown:!1,isSortable:!0,title:n("general.inclusion")},{id:"avgCopies",isAlwaysShown:!1,isSortable:!0,title:n("general.avgCopies")},{id:"mulliganWinrate",isAlwaysShown:!1,isSortable:!0,title:n("general.mulliganWinrate")},{id:"keptInMulligan",isAlwaysShown:!1,isSortable:!0,title:n("general.keptInMulligan")},{id:"drawnWinrate",isAlwaysShown:!1,isSortable:!0,title:n("general.drawnWinrate")},{id:"turnsHeld",isAlwaysShown:!1,isSortable:!0,title:n("general.turnsHeld")},{id:"turnPlayed",isAlwaysShown:!1,isSortable:!0,title:n("general.turnPlayed")}];let o=!1;const A=s.ref(i.map(d=>{let u=_e.NEITHER;return d.isSortable||(u=_e.NOT_SORTABLE),!o&&d.isSortable&&(u=_e.DOWN,o=!0),{id:d.id,isShown:r.cardsRowToggle[d.id],sortDirection:u,title:d.title}})),l=s.computed(()=>({"--table-grid-template-columns":`repeat(${Object.values(r.cardsRowToggle).reduce((u,f)=>f?u+1:u,0)}, 1fr)`}));function c(d){const u=Gi(d,A);u&&a("sort-updated",u)}return(d,u)=>(s.openBlock(),s.createBlock(ia,{class:"large-table",loading:r.loading,"heading-items":A.value,style:s.normalizeStyle(l.value),onToggleSort:c},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.cardRows,(f,p)=>(s.openBlock(),s.createBlock(Fh,{key:f.cardCode+f.region,"card-code":f.cardCode,matches:f.matches,wins:f.wins,index:p+2,"avg-copies":f.avgCopies,"drawn-winrate":f.drawnWinrate,"kept-in-mulligan":f.keptInMulligan,"mulligan-winrate":f.mulliganWinrate,inclusion:f.inclusion,"turns-held":f.turnsHeld,"turn-played":f.turnPlayed,"toggled-stats":r.cardsRowToggle,region:f.region,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(f.cardCode)},null,8,["card-code","matches","wins","index","avg-copies","drawn-winrate","kept-in-mulligan","mulligan-winrate","inclusion","turns-held","turn-played","toggled-stats","region","router-link"]))),128))]),_:1},8,["loading","heading-items","style"]))}}),Zpe="",Gw=Q(hM,[["__scopeId","data-v-1894b267"]]),mM={regions:{type:Array,required:!0,default:[]}},gM={class:"deck-highlight-regions"},yM=s.defineComponent({__name:"DeckHighlightRegions",props:mM,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",gM,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.regions,a=>(s.openBlock(),s.createElementBlock("div",{key:a,class:"region-item-wrapper"},[s.createVNode(vA,{class:"region-item","region-ref":a},null,8,["region-ref"])]))),128))]))}}),ehe="",_A=Q(yM,[["__scopeId","data-v-d28f95f4"]]),bM={},wM={xmlns:"http://www.w3.org/2000/svg",viewBox:"215.7 48.9 276.9 496"};function BM(e,t){return s.openBlock(),s.createElementBlock("svg",wM,[...t[0]||(t[0]=[s.createStaticVNode('<path fill="#146743" d="m271 136-54 90 150 316 14-50 29-312-51-130-88 86Z"></path><path fill="#419a4a" d="m356 121-75 105 86 316 14-50 29-312-54-59Z"></path><path fill="#baffb6" d="M410 180 359 50l-3 71 54 59Z"></path><path fill="#437f41" d="m359 50-88 86 10 90 75-105 3-71ZM281 360l86 182-86-316v134Z"></path><path fill="#419a4a" d="m454 332 28 33-33 85-4-13-8-85 17-20Z"></path>',5)])])}const Dh=Q(bM,[["render",BM]]),vM={deck:{type:Object,required:!0,default:{}}},_M={class:"gems-text"},CM={class:"gems-cost-title"},kM={class:"gems-cost-value"},xM={class:"gems-cost-title"},EM={class:"gems-cost-value"},SM=s.defineComponent({__name:"GemsCost",props:vM,setup(e){const{t}=q(),n=e,r=s.ref(null),a=s.ref(null),i=s.computed(()=>Zl(n.deck,!1)),o=s.computed(()=>Zl(n.deck,!0));return s.onMounted(()=>{tt(r.value,{content:a.value,arrow:!0,duration:0})}),(A,l)=>{var c,d,u;return s.openBlock(),s.createElementBlock("div",{ref_key:"gemsCostDiv",ref:r,class:"gems-cost"},[s.createVNode(Dh,{class:"shards-icon"}),s.createElementVNode("div",_M,s.toDisplayString((c=o.value!==null?o.value:i.value)==null?void 0:c.toLocaleString()),1),s.createElementVNode("div",{ref_key:"gemsCostTippyDiv",ref:a,class:"gems-cost-tippy"},[o.value?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("div",CM,s.toDisplayString(s.unref(t)("deck.personalCost")),1),s.createElementVNode("div",kM,s.toDisplayString((d=o.value)==null?void 0:d.toLocaleString()),1),l[0]||(l[0]=s.createElementVNode("hr",{class:"divider"},null,-1))],64)):s.createCommentVNode("",!0),s.createElementVNode("div",xM,s.toDisplayString(s.unref(t)("deck.originalCost")),1),s.createElementVNode("div",EM,s.toDisplayString((u=i.value)==null?void 0:u.toLocaleString()),1)],512)],512)}}}),the="",Th=Q(SM,[["__scopeId","data-v-25f680e9"]]),FM={class:"language-selection"},IM={class:"selection-panel"},DM=s.defineComponent({__name:"LanguageSelection",setup(e){const{locale:t,availableLocales:n}=q(),r={en:"English",de:"Deutsch",es:"Español",fr:"Français",it:"Italiano",ja:"日本語",ko:"한국어",pl:"Polski",pt:"Português",th:"ไทย",tr:"Türkçe",ru:"Русский",zh:"中文"},a=fn.useRoute(),i=s.ref(!1),o=s.computed(()=>n.sort(l=>l===t.value?-1:1));function A(){i.value=!0}return(l,c)=>{const d=s.resolveComponent("RouterLink");return s.openBlock(),s.createElementBlock("div",FM,[s.createVNode(s.unref(ke),{ref:"languageIcon",icon:"language",class:"icon",onClick:A},null,512),s.createVNode(Tr,{"show-modal":i.value,"onUpdate:showModal":c[0]||(c[0]=u=>i.value=u)},{default:s.withCtx(()=>[s.createElementVNode("div",IM,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.value,u=>(s.openBlock(),s.createBlock(d,{class:s.normalizeClass(s.unref(t)===u?"selected":""),locale:u,key:u,to:{...s.unref(a),params:{...s.unref(a).params,lang:u}}},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(r[u]),1)]),_:2},1032,["class","locale","to"]))),128))])]),_:1},8,["show-modal"])])}}}),nhe="",CA=Q(DM,[["__scopeId","data-v-8a6f5e0d"]]),TM={cardCodes:{type:Array,required:!0,default:[]},regions:{type:Array,required:!0,default:[]}},jw={routerLink:{type:Object,required:!0,default:{path:"/404"}},cardProp:{type:Object,required:!1,default:void 0},cardCodeProp:{type:String,required:!1,default:void 0},ignoreCardItem:{type:Boolean,required:!1},regions:{type:Array,required:!1,default:void 0},colorOverride:{type:String,required:!1,default:void 0}},UM={class:"circle-card-item"},LM=["alt","src"],OM=s.defineComponent({__name:"CircleCardItem",props:jw,setup(e){const t=e,n=Si(t.cardProp,t.cardCodeProp,!0),r=s.ref(null),a=s.ref(null),i=s.ref(null),o=s.ref(null),A=s.computed(()=>{var c;return ve().callbacks.cardImageCallback(((c=n.value)==null?void 0:c.cardCode)??"",Bt.Icon)}),l=s.computed(()=>n.value===void 0?"--color-primary-2":Ei(n.value,t.regions));return s.onMounted(()=>{t.ignoreCardItem||tt(r.value,{content:a.value,placement:"right",arrow:!0,touch:!1,duration:0,role:"card-image",onShown:c=>{const d=c.popper.innerHTML.includes("right")?"right-start":"left-start";o.value=d},onHidden:()=>{o.value=null}})}),(c,d)=>{const u=s.resolveComponent("RouterLink");return s.openBlock(),s.createElementBlock("div",UM,[s.createVNode(u,{to:t.routerLink,class:"circle-card-link",onClick:d[0]||(d[0]=s.withModifiers(()=>{},["stop","prevent"]))},{default:s.withCtx(()=>{var f;return[s.createElementVNode("img",{ref_key:"circleCardImg",ref:r,alt:(f=s.unref(n))==null?void 0:f.name,src:A.value,class:"circle-card-img",style:s.normalizeStyle({borderColor:t.colorOverride??l.value})},null,12,LM)]}),_:1},8,["to"]),s.createElementVNode("div",{ref_key:"circleCardTippy",ref:a,class:"circle-card-tippy"},[!c.ignoreCardItem&&s.unref(n)?(s.openBlock(),s.createBlock(Vi,{key:0,ref_key:"cardItem",ref:i,"card-code-prop":s.unref(n).cardCode,"is-deck-builder":!1,"is-root":!0,"show-tippy-location":o.value},null,8,["card-code-prop","show-tippy-location"])):s.createCommentVNode("",!0)],512)])}}}),rhe="",oa=Q(OM,[["__scopeId","data-v-3ea9e838"]]),QM={cards:{type:Array,required:!1,default:void 0},cardCodes:{type:Array,required:!1,default:void 0},regions:{type:Array,required:!1,default:[]}},MM={class:"deck-highlight-cards"},PM=s.defineComponent({__name:"DeckHighlightCards",props:QM,setup(e){const t=e,n=s.computed(()=>{if(t.cards)return t.cards;if(t.cardCodes)return t.cardCodes.map(r=>hn().cardJsonObject[r]).filter(r=>r!==void 0);throw new Error("Cards or CardCodes must be defined.")});return(r,a)=>(s.openBlock(),s.createElementBlock("div",MM,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.value,(i,o)=>(s.openBlock(),s.createElementBlock("div",{key:i.cardCode??o,class:"circle-card-item-wrapper"},[s.createVNode(oa,{class:"circle-card-item","card-prop":i,regions:t.regions,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(i.cardCode)},null,8,["card-prop","regions","router-link"])]))),128))]))}}),ahe="",kA=Q(PM,[["__scopeId","data-v-021c3530"]]),NM=s.defineComponent({__name:"ArchetypeSidePanelHighlight",props:TM,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createBlock(ct,{class:"archetype-side-panel-highlight"},{default:s.withCtx(()=>[s.createVNode(_A,{class:"deck-highlight-regions",regions:t.regions},null,8,["regions"]),s.createVNode(kA,{class:s.normalizeClass(["deck-highlight-cards",t.cardCodes.length===1?"single":""]),"card-codes":t.cardCodes},null,8,["class","card-codes"])]),_:1}))}}),ihe="",Wc=Q(NM,[["__scopeId","data-v-ff538f6f"]]),RM={deckcode:{type:String,required:!0,default:""},filters:{type:Object,required:!0,default:{sampleSizeFilters:[],serverFilters:[],timeFilters:[],formatFilters:[],queueFilters:[]}},builtDeckProps:{type:Object,required:!1,default:void 0}},HM={deckCode:{type:String,required:!0,default:""},info:{type:String,required:!0,default:"typeRef"}};/*!
|
|
655
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function lr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Cw(Object(n),!0).forEach(function(r){tn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cw(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function KU(e,t){if(e==null)return{};var n,r,a=WU(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function WU(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Ah(e){return VU(e)||zU(e)||YU(e)||$U()}function GU(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function jU(e){var t=GU(e,"string");return typeof t=="symbol"?t:t+""}function Lc(e){"@babel/helpers - typeof";return Lc=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},Lc(e)}function YU(e,t){if(e){if(typeof e=="string")return sh(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sh(e,t):void 0}}function fA(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?tn({},e,t):{}}function qU(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},tn(tn(tn(tn(tn(tn(tn(tn(tn(tn(t,"fa-".concat(e.size),e.size!==null),"fa-rotate-".concat(e.rotation),e.rotation!==null),"fa-rotate-by",e.rotateBy),"fa-pull-".concat(e.pull),e.pull!==null),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),tn(tn(tn(tn(t,"fa-flash",e.flash),"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse),"fa-width-auto",e.widthAuto));return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}var XU=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},kw={exports:{}};(function(e){(function(t){var n=function(g,B,w){if(!c(B)||u(B)||f(B)||p(B)||l(B))return B;var y,_=0,v=0;if(d(B))for(y=[],v=B.length;_<v;_++)y.push(n(g,B[_],w));else{y={};for(var k in B)Object.prototype.hasOwnProperty.call(B,k)&&(y[g(k,w)]=n(g,B[k],w))}return y},r=function(g,B){B=B||{};var w=B.separator||"_",y=B.split||/(?=[A-Z])/;return g.split(y).join(w)},a=function(g){return h(g)?g:(g=g.replace(/[\-_\s]+(.)?/g,function(B,w){return w?w.toUpperCase():""}),g.substr(0,1).toLowerCase()+g.substr(1))},i=function(g){var B=a(g);return B.substr(0,1).toUpperCase()+B.substr(1)},o=function(g,B){return r(g,B).toLowerCase()},A=Object.prototype.toString,l=function(g){return typeof g=="function"},c=function(g){return g===Object(g)},d=function(g){return A.call(g)=="[object Array]"},u=function(g){return A.call(g)=="[object Date]"},f=function(g){return A.call(g)=="[object RegExp]"},p=function(g){return A.call(g)=="[object Boolean]"},h=function(g){return g=g-0,g===g},m=function(g,B){var w=B&&"process"in B?B.process:B;return typeof w!="function"?g:function(y,_){return w(y,g,_)}},b={camelize:a,decamelize:o,pascalize:i,depascalize:o,camelizeKeys:function(g,B){return n(m(a,B),g)},decamelizeKeys:function(g,B){return n(m(o,B),g,B)},pascalizeKeys:function(g,B){return n(m(i,B),g)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=b:t.humps=b})(XU)})(kw);var JU=kw.exports,ZU=["class","style"];function eL(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),a=JU.camelize(n.slice(0,r)),i=n.slice(r+1).trim();return t[a]=i,t},{})}function tL(e){return e.split(/\s+/).reduce(function(t,n){return t[n]=!0,t},{})}function lh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var r=(e.children||[]).map(function(l){return lh(l)}),a=Object.keys(e.attributes||{}).reduce(function(l,c){var d=e.attributes[c];switch(c){case"class":l.class=tL(d);break;case"style":l.style=eL(d);break;default:l.attrs[c]=d}return l},{attrs:{},class:{},style:{}});n.class;var i=n.style,o=i===void 0?{}:i,A=KU(n,ZU);return s.h(e.tag,lr(lr(lr({},t),{},{class:a.class,style:lr(lr({},a.style),o)},a.attrs),A),r)}var xw=!1;try{xw=process.env.NODE_ENV==="production"}catch{}function nL(){if(!xw&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Ew(e){if(e&&Lc(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(_c.icon)return _c.icon(e);if(e===null)return null;if(Lc(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}}var ke=s.defineComponent({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},rotateBy:{type:Boolean,default:!1},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1},widthAuto:{type:Boolean,default:!1}},setup:function(t,n){var r=n.attrs,a=s.computed(function(){return Ew(t.icon)}),i=s.computed(function(){return fA("classes",qU(t))}),o=s.computed(function(){return fA("transform",typeof t.transform=="string"?_c.transform(t.transform):t.transform)}),A=s.computed(function(){return fA("mask",Ew(t.mask))}),l=s.computed(function(){var d=lr(lr(lr(lr({},i.value),o.value),A.value),{},{symbol:t.symbol,maskId:t.maskId});return d.title=t.title,d.titleId=t.titleId,dF(a.value,d)});s.watch(l,function(d){if(!d)return nL("Could not find one or more icon(s)",a.value,A.value)},{immediate:!0});var c=s.computed(function(){return l.value?lh(l.value.abstract[0],{},r):null});return function(){return c.value}}});s.defineComponent({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,n){var r=n.slots,a=u2.familyPrefix,i=s.computed(function(){return["".concat(a,"-layers")].concat(Ah(t.fixedWidth?["".concat(a,"-fw")]:[]))});return function(){return s.h("div",{class:i.value},r.default?r.default():[])}}}),s.defineComponent({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(t){return["bottom-left","bottom-right","top-left","top-right"].indexOf(t)>-1}}},setup:function(t,n){var r=n.attrs,a=u2.familyPrefix,i=s.computed(function(){return fA("classes",[].concat(Ah(t.counter?["".concat(a,"-layers-counter")]:[]),Ah(t.position?["".concat(a,"-layers-").concat(t.position)]:[])))}),o=s.computed(function(){return fA("transform",typeof t.transform=="string"?_c.transform(t.transform):t.transform)}),A=s.computed(function(){var c=uF(t.value.toString(),lr(lr({},o.value),i.value)),d=c.abstract;return t.counter&&(d[0].attributes.class=d[0].attributes.class.replace("fa-layers-text","")),d[0]}),l=s.computed(function(){return lh(A.value,{},r)});return function(){return l.value}}});const rL={class:"card-slice"},aL={key:0,class:"mana-hexagon"},iL={class:"mana-number"},oL={class:"card-name"},sL={key:1,class:"quantity"},AL={class:"quantity-background"},lL={class:"plus-minus-content"},cL={class:"plus-minus-quantity"},dL=s.defineComponent({__name:"CardSliceItem",props:NU,emits:["update:card-quantity"],setup(e,{emit:t}){const n=e;console.log("props.color",n.color);const r=Si(n.cardProp,n.cardCodeProp,!1),a=t,i=s.ref(null),o=s.ref(null),A=s.ref(null),l=s.ref(null),c=s.computed(()=>{let p=n.color;return!p&&r.value&&(p=Ei(r.value,null,!0)),n.color===null&&(p="var(--color-background-2-rgb)"),{"--color":p}}),d=s.computed(()=>r.value?ve().callbacks.cardImageCallback(r.value.cardCode,Bt.Slice):""),u=s.computed(()=>{const p=["card-slice-wrapper"];return n.maintainAspectRatio&&p.push("maintain-aspect-ratio"),p}),f=s.computed(()=>{const p=Jl().acquiredCards;return r.value===void 0||n.quantityNumber===void 0||n.quantityNumber>3||p===void 0||n.showPlusMinus?null:(p[r.value.cardCode]??0)<n.quantityNumber?"missing-quantity":null});return s.onMounted(()=>{n.ignoreCardItem||tt(i.value,{content:A.value,placement:"right",arrow:!0,touch:!1,duration:0,role:"card-image",onShown:p=>{const h=p.popper.innerHTML.includes("right")?"right-start":"left-start";l.value=h},onHidden:()=>{l.value=null}})}),(p,h)=>{const m=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(m,{to:n.routerLink},{default:s.withCtx(()=>{var b,g;return[s.createElementVNode("div",{ref_key:"cardSlice",ref:i,class:s.normalizeClass(u.value)},[s.createElementVNode("div",rL,[s.createElementVNode("div",{class:"card-image",style:s.normalizeStyle({backgroundImage:`url(${d.value})`})},null,4),s.createElementVNode("div",{class:"region-gradient",style:s.normalizeStyle(c.value)},null,4),n.manaNumber!==null?(s.openBlock(),s.createElementBlock("div",aL,[s.createVNode(uA,{class:"hexagon-icon"}),s.createElementVNode("div",iL,s.toDisplayString(n.manaNumber??((b=s.unref(r))==null?void 0:b.cost)),1)])):s.createCommentVNode("",!0),s.createElementVNode("div",oL,s.toDisplayString(n.name??((g=s.unref(r))==null?void 0:g.name)),1),n.quantityNumber!==void 0&&n.quantityNumber!==null?(s.openBlock(),s.createElementBlock("div",sL,[s.createElementVNode("div",AL,[s.createElementVNode("p",{class:s.normalizeClass(["num-quantity",f.value])},s.toDisplayString(n.quantityNumber),3)])])):s.createCommentVNode("",!0),n.showPlusMinus?(s.openBlock(),s.createElementBlock("div",{key:2,class:"plus-minus",onClick:h[2]||(h[2]=s.withModifiers(()=>{},["prevent"]))},[s.createElementVNode("div",lL,[s.createElementVNode("div",{class:"plus-minus-icon",onClick:h[0]||(h[0]=s.withModifiers(B=>{var w;return a("update:card-quantity",{cardCode:((w=s.unref(r))==null?void 0:w.cardCode)??"",quantity:-1})},["prevent"]))},[s.createVNode(s.unref(ke),{icon:"minus",class:"icon"})]),s.createElementVNode("div",{class:"plus-minus-icon",onClick:h[1]||(h[1]=s.withModifiers(B=>{var w;return a("update:card-quantity",{cardCode:((w=s.unref(r))==null?void 0:w.cardCode)??"",quantity:1})},["prevent"]))},[s.createVNode(s.unref(ke),{icon:"plus",class:"icon"})]),s.createElementVNode("div",cL,s.toDisplayString(n.quantityNumber),1)])])):s.createCommentVNode("",!0)])],2),s.createElementVNode("div",{ref_key:"cardItemWrapper",ref:A,class:"card-item-container"},[s.unref(r)&&!p.ignoreCardItem?(s.openBlock(),s.createBlock(Vi,{key:0,ref_key:"cardItem",ref:o,"is-root":!0,"card-prop":s.unref(r),"quantity-needed":n.quantityNumber,"show-tippy-location":l.value,class:"card-image-hover"},null,8,["card-prop","quantity-needed","show-tippy-location"])):s.createCommentVNode("",!0)],512)]}),_:1},8,["to"])}}}),Spe="",vt=Q(dL,[["__scopeId","data-v-dc5cfc42"]]);function Fr(e){return e==null}function uL(e,t,n){const{object:r,valueProp:a,mode:i}=s.toRefs(e),o=s.getCurrentInstance().proxy,A=n.iv,l=(u,f=!0)=>{A.value=d(u);const p=c(u);t.emit("change",p,o),f&&(t.emit("input",p),t.emit("update:modelValue",p))},c=u=>r.value||Fr(u)?u:Array.isArray(u)?u.map(f=>f[a.value]):u[a.value],d=u=>Fr(u)?i.value==="single"?{}:[]:u;return{update:l}}function _t(e){return s.customRef(()=>({get:e,set:()=>{}}))}function fL(e,t){const{value:n,modelValue:r,mode:a,valueProp:i}=s.toRefs(e),o=s.ref(a.value!=="single"?[]:{}),A=_t(()=>r.value!==void 0?r.value:n.value),l=s.computed(()=>a.value==="single"?o.value[i.value]:o.value.map(d=>d[i.value])),c=_t(()=>a.value!=="single"?o.value.map(d=>d[i.value]).join(","):o.value[i.value]);return{iv:o,internalValue:o,ev:A,externalValue:A,textValue:c,plainValue:l}}function pL(e,t,n){const{regex:r}=s.toRefs(e),a=s.getCurrentInstance().proxy,i=n.isOpen,o=n.open,A=s.ref(null),l=()=>{A.value=""},c=f=>{A.value=f.target.value},d=f=>{if(r.value){let p=r.value;typeof p=="string"&&(p=new RegExp(p)),f.key.match(p)||f.preventDefault()}},u=f=>{if(r.value){let h=(f.clipboardData||window.clipboardData).getData("Text"),m=r.value;typeof m=="string"&&(m=new RegExp(m)),h.split("").every(b=>!!b.match(m))||f.preventDefault()}t.emit("paste",f,a)};return s.watch(A,f=>{!i.value&&f&&o(),t.emit("search-change",f,a)}),{search:A,clearSearch:l,handleSearchInput:c,handleKeypress:d,handlePaste:u}}function hL(e,t,n){const{groupSelect:r,mode:a,groups:i,disabledProp:o}=s.toRefs(e),A=s.ref(null),l=d=>{d===void 0||d!==null&&d[o.value]||i.value&&d&&d.group&&(a.value==="single"||!r.value)||(A.value=d)};return{pointer:A,setPointer:l,clearPointer:()=>{l(null)}}}function ch(e,t=!0){return t?String(e).toLowerCase().trim():String(e).toLowerCase().normalize("NFD").trim().replace(/æ/g,"ae").replace(/œ/g,"oe").replace(/ø/g,"o").replace(/\p{Diacritic}/gu,"")}function mL(e){return Object.prototype.toString.call(e)==="[object Object]"}function gL(e,t){if(e.length!==t.length)return!1;const n=t.slice().sort();return e.slice().sort().every(function(r,a){return r===n[a]})}const Sw=(e,t)=>{if(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 a of n)if(!r.includes(a)||!Sw(e[a],t[a]))return!1;return!0};function yL(e,t,n){const{options:r,mode:a,trackBy:i,limit:o,hideSelected:A,createTag:l,createOption:c,label:d,appendNewTag:u,appendNewOption:f,multipleLabel:p,object:h,loading:m,delay:b,resolveOnLoad:g,minChars:B,filterResults:w,clearOnSearch:y,clearOnSelect:_,valueProp:v,allowAbsent:k,groupLabel:C,canDeselect:x,max:U,strict:D,closeOnSelect:F,closeOnDeselect:L,groups:G,reverse:Z,infinite:H,groupOptions:$,groupHideEmpty:pe,groupSelect:J,onCreate:ce,disabledProp:Ae,searchStart:de,searchFilter:ye}=s.toRefs(e),se=s.getCurrentInstance().proxy,ee=n.iv,P=n.ev,ne=n.search,Me=n.clearSearch,At=n.update,Ut=n.pointer,Gt=n.setPointer,Vt=n.clearPointer,cn=n.focus,K=n.deactivate,be=n.close,dn=n.localize,xt=s.ref([]),Ct=s.ref([]),Lt=s.ref(!1),E=s.ref(null),S=s.ref(H.value&&o.value===-1?10:o.value),N=s.computed({get:()=>Ct.value,set:T=>Ct.value=T}),ae=_t(()=>l.value||c.value||!1),Le=_t(()=>u.value!==void 0?u.value:f.value!==void 0?f.value:!0),we=s.computed(()=>{if(G.value){let T=R.value||[],W=[];return T.forEach(Oe=>{B0(Oe[$.value]).forEach(Ot=>{W.push(Object.assign({},Ot,Oe[Ae.value]?{[Ae.value]:!0}:{}))})}),W}else{let T=B0(Ct.value||[]);return xt.value.length&&(T=T.concat(xt.value)),T}}),Fe=s.computed(()=>{let T=we.value;return Z.value&&(T=T.reverse()),ie.value.length&&(T=ie.value.concat(T)),w0(T)}),O=s.computed(()=>{let T=Fe.value;return S.value>0&&(T=T.slice(0,S.value)),T}),R=s.computed(()=>{if(!G.value)return[];let T=[],W=Ct.value||[];return xt.value.length&&T.push({[C.value]:" ",[$.value]:[...xt.value],__CREATE__:!0}),T.concat(W)}),Pe=s.computed(()=>{let T=[...R.value].map(W=>({...W}));return ie.value.length&&(T[0]&&T[0].__CREATE__?T[0][$.value]=[...ie.value,...T[0][$.value]]:T=[{[C.value]:" ",[$.value]:[...ie.value],__CREATE__:!0}].concat(T)),T}),nt=s.computed(()=>{if(!G.value)return[];let T=Pe.value;return Yfe((T||[]).map((W,Oe)=>{const Ot=B0(W[$.value]);return{...W,index:Oe,group:!0,[$.value]:w0(Ot,!1).map(Eo=>Object.assign({},Eo,W[Ae.value]?{[Ae.value]:!0}:{})),__VISIBLE__:w0(Ot).map(Eo=>Object.assign({},Eo,W[Ae.value]?{[Ae.value]:!0}:{}))}}))}),Dn=s.computed(()=>{switch(a.value){case"single":return!Fr(ee.value[v.value]);case"multiple":case"tags":return!Fr(ee.value)&&ee.value.length>0}}),ki=s.computed(()=>p.value!==void 0?p.value(ee.value,se):ee.value&&ee.value.length>1?`${ee.value.length} options selected`:"1 option selected"),Wr=_t(()=>!we.value.length&&!Lt.value&&!ie.value.length),M=_t(()=>we.value.length>0&&O.value.length==0&&(ne.value&&G.value||!G.value)),ie=s.computed(()=>ae.value===!1||!ne.value?[]:Wfe(ne.value)!==-1?[]:[{[v.value]:ne.value,[ue.value[0]]:ne.value,[d.value]:ne.value,__CREATE__:!0}]),ue=s.computed(()=>i.value?Array.isArray(i.value)?i.value:[i.value]:[d.value]),Ge=_t(()=>{switch(a.value){case"single":return null;case"multiple":case"tags":return[]}}),Ne=_t(()=>m.value||Lt.value),Et=T=>{switch(typeof T!="object"&&(T=Ua(T)),a.value){case"single":At(T);break;case"multiple":case"tags":At(ee.value.concat(T));break}t.emit("select",Da(T),T,se)},zt=T=>{switch(typeof T!="object"&&(T=Ua(T)),a.value){case"single":Rs();break;case"tags":case"multiple":At(Array.isArray(T)?ee.value.filter(W=>T.map(Oe=>Oe[v.value]).indexOf(W[v.value])===-1):ee.value.filter(W=>W[v.value]!=T[v.value]));break}t.emit("deselect",Da(T),T,se)},Da=T=>h.value?T:T[v.value],Yl=T=>{zt(T)},Ta=(T,W)=>{if(W.button!==0){W.preventDefault();return}Yl(T)},Rs=()=>{At(Ge.value),t.emit("clear",se)},Tn=T=>{if(T.group!==void 0)return a.value==="single"?!1:Kfe(T[$.value])&&T[$.value].length;switch(a.value){case"single":return!Fr(ee.value)&&(ee.value[v.value]==T[v.value]||typeof ee.value[v.value]=="object"&&typeof T[v.value]=="object"&&Sw(ee.value[v.value],T[v.value]));case"tags":case"multiple":return!Fr(ee.value)&&ee.value.map(W=>W[v.value]).indexOf(T[v.value])!==-1}},Gr=T=>T[Ae.value]===!0,ql=()=>U===void 0||U.value===-1||!Dn.value&&U.value>0?!1:ee.value.length>=U.value,Xl=T=>{if(!Gr(T)){if(ce.value&&!Tn(T)&&T.__CREATE__&&(T={...T},delete T.__CREATE__,T=ce.value(T,se),T instanceof Promise)){Lt.value=!0,T.then(W=>{Lt.value=!1,xo(W)});return}xo(T)}},xo=T=>{switch(T.__CREATE__&&(T={...T},delete T.__CREATE__),a.value){case"single":if(T&&Tn(T)){x.value&&zt(T),L.value&&(Vt(),be());return}T&&b0(T),_.value&&Me(),F.value&&(Vt(),be()),T&&Et(T);break;case"multiple":if(T&&Tn(T)){zt(T),L.value&&(Vt(),be());return}if(ql()){t.emit("max",se);return}T&&(b0(T),Et(T)),_.value&&Me(),A.value&&Vt(),F.value&&be();break;case"tags":if(T&&Tn(T)){zt(T),L.value&&(Vt(),be());return}if(ql()){t.emit("max",se);return}T&&b0(T),_.value&&Me(),T&&Et(T),A.value&&Vt(),F.value&&be();break}F.value||cn()},Vfe=T=>{if(!(Gr(T)||a.value==="single"||!J.value)){switch(a.value){case"multiple":case"tags":$fe(T[$.value])?zt(T[$.value]):Et(T[$.value].filter(W=>ee.value.map(Oe=>Oe[v.value]).indexOf(W[v.value])===-1).filter(W=>!W[Ae.value]).filter((W,Oe)=>ee.value.length+1+Oe<=U.value||U.value===-1)),A.value&&Ut.value&&Gt(nt.value.filter(W=>!W[Ae.value])[Ut.value.index]);break}F.value&&K()}},b0=T=>{Ua(T[v.value])===void 0&&ae.value&&(t.emit("tag",T[v.value],se),t.emit("option",T[v.value],se),t.emit("create",T[v.value],se),Le.value&&jfe(T),Me())},zfe=()=>{a.value!=="single"&&Et(O.value.filter(T=>!T.disabled&&!Tn(T)))},$fe=T=>T.find(W=>!Tn(W)&&!W[Ae.value])===void 0,Kfe=T=>T.find(W=>!Tn(W))===void 0,Ua=T=>we.value[we.value.map(W=>String(W[v.value])).indexOf(String(T))],Wfe=T=>we.value.findIndex(W=>ue.value.some(Oe=>(parseInt(W[Oe])==W[Oe]?parseInt(W[Oe]):W[Oe])===(parseInt(T)==T?parseInt(T):T))),Gfe=T=>["tags","multiple"].indexOf(a.value)!==-1&&A.value&&Tn(T),jfe=T=>{xt.value.push(T)},Yfe=T=>pe.value?T.filter(W=>ne.value?W.__VISIBLE__.length:W[$.value].length):T.filter(W=>ne.value?W.__VISIBLE__.length:!0),w0=(T,W=!0)=>{let Oe=T;if(ne.value&&w.value){let Ot=ye.value;Ot||(Ot=(Eo,Zx,Wme)=>ue.value.some(Xfe=>{let eE=ch(dn(Eo[Xfe]),D.value);return de.value?eE.startsWith(ch(Zx,D.value)):eE.indexOf(ch(Zx,D.value))!==-1})),Oe=Oe.filter(Eo=>Ot(Eo,ne.value,se))}return A.value&&W&&(Oe=Oe.filter(Ot=>!Gfe(Ot))),Oe},B0=T=>{let W=T;return mL(W)&&(W=Object.keys(W).map(Oe=>{let Ot=W[Oe];return{[v.value]:Oe,[ue.value[0]]:Ot,[d.value]:Ot}})),W&&Array.isArray(W)?W=W.map(Oe=>typeof Oe=="object"?Oe:{[v.value]:Oe,[ue.value[0]]:Oe,[d.value]:Oe}):W=[],W},wf=()=>{Fr(P.value)||(ee.value=vf(P.value))},Bf=T=>(Lt.value=!0,new Promise((W,Oe)=>{r.value(ne.value,se).then(Ot=>{Ct.value=Ot||[],typeof T=="function"&&T(Ot),Lt.value=!1}).catch(Ot=>{console.error(Ot),Ct.value=[],Lt.value=!1}).finally(()=>{W()})})),v0=()=>{if(Dn.value)if(a.value==="single"){let T=Ua(ee.value[v.value]);if(T!==void 0){let W=T[d.value];ee.value[d.value]=W,h.value&&(P.value[d.value]=W)}}else ee.value.forEach((T,W)=>{let Oe=Ua(ee.value[W][v.value]);if(Oe!==void 0){let Ot=Oe[d.value];ee.value[W][d.value]=Ot,h.value&&(P.value[W][d.value]=Ot)}})},qfe=T=>{Bf(T)},vf=T=>Fr(T)?a.value==="single"?{}:[]:h.value?T:a.value==="single"?Ua(T)||(k.value?{[d.value]:T,[v.value]:T,[ue.value[0]]:T}:{}):T.filter(W=>!!Ua(W)||k.value).map(W=>Ua(W)||{[d.value]:W,[v.value]:W,[ue.value[0]]:W}),Jx=()=>{E.value=s.watch(ne,T=>{T.length<B.value||!T&&B.value!==0||(Lt.value=!0,y.value&&(Ct.value=[]),setTimeout(()=>{T==ne.value&&r.value(ne.value,se).then(W=>{(T==ne.value||!ne.value)&&(Ct.value=W,Ut.value=O.value.filter(Oe=>Oe[Ae.value]!==!0)[0]||null,Lt.value=!1)}).catch(W=>{console.error(W)})},b.value))},{flush:"sync"})};if(a.value!=="single"&&!Fr(P.value)&&!Array.isArray(P.value))throw new Error(`v-model must be an array when using "${a.value}" mode`);return r&&typeof r.value=="function"?g.value?Bf(wf):h.value==!0&&wf():(Ct.value=r.value,wf()),b.value>-1&&Jx(),s.watch(b,(T,W)=>{E.value&&E.value(),T>=0&&Jx()}),s.watch(P,T=>{if(Fr(T)){At(vf(T),!1);return}switch(a.value){case"single":(h.value?T[v.value]!=ee.value[v.value]:T!=ee.value[v.value])&&At(vf(T),!1);break;case"multiple":case"tags":gL(h.value?T.map(W=>W[v.value]):T,ee.value.map(W=>W[v.value]))||At(vf(T),!1);break}},{deep:!0}),s.watch(r,(T,W)=>{typeof e.options=="function"?g.value&&(!W||T&&T.toString()!==W.toString())&&Bf():(Ct.value=e.options,Object.keys(ee.value).length||wf(),v0())}),s.watch(d,v0),s.watch(o,(T,W)=>{S.value=H.value&&T===-1?10:T}),{resolvedOptions:N,pfo:Fe,fo:O,filteredOptions:O,hasSelected:Dn,multipleLabelText:ki,eo:we,extendedOptions:we,eg:R,extendedGroups:R,fg:nt,filteredGroups:nt,noOptions:Wr,noResults:M,resolving:Lt,busy:Ne,offset:S,select:Et,deselect:zt,remove:Yl,selectAll:zfe,clear:Rs,isSelected:Tn,isDisabled:Gr,isMax:ql,getOption:Ua,handleOptionClick:Xl,handleGroupClick:Vfe,handleTagRemove:Ta,refreshOptions:qfe,resolveOptions:Bf,refreshLabels:v0}}function bL(e,t,n){const{valueProp:r,showOptions:a,searchable:i,groupLabel:o,groups:A,mode:l,groupSelect:c,disabledProp:d,groupOptions:u}=s.toRefs(e),f=n.fo,p=n.fg,h=n.handleOptionClick,m=n.handleGroupClick,b=n.search,g=n.pointer,B=n.setPointer,w=n.clearPointer,y=n.multiselect,_=n.isOpen,v=s.computed(()=>f.value.filter(P=>!P[d.value])),k=s.computed(()=>p.value.filter(P=>!P[d.value])),C=_t(()=>l.value!=="single"&&c.value),x=_t(()=>g.value&&g.value.group),U=s.computed(()=>se(g.value)),D=s.computed(()=>{const P=x.value?g.value:se(g.value),ne=k.value.map(At=>At[o.value]).indexOf(P[o.value]);let Me=k.value[ne-1];return Me===void 0&&(Me=L.value),Me}),F=s.computed(()=>{let P=k.value.map(ne=>ne.label).indexOf(x.value?g.value[o.value]:se(g.value)[o.value])+1;return k.value.length<=P&&(P=0),k.value[P]}),L=s.computed(()=>[...k.value].slice(-1)[0]),G=s.computed(()=>g.value.__VISIBLE__.filter(P=>!P[d.value])[0]),Z=s.computed(()=>{const P=U.value.__VISIBLE__.filter(ne=>!ne[d.value]);return P[P.map(ne=>ne[r.value]).indexOf(g.value[r.value])-1]}),H=s.computed(()=>{const P=se(g.value).__VISIBLE__.filter(ne=>!ne[d.value]);return P[P.map(ne=>ne[r.value]).indexOf(g.value[r.value])+1]}),$=s.computed(()=>[...D.value.__VISIBLE__.filter(P=>!P[d.value])].slice(-1)[0]),pe=s.computed(()=>[...L.value.__VISIBLE__.filter(P=>!P[d.value])].slice(-1)[0]),J=P=>g.value&&(!P.group&&g.value[r.value]===P[r.value]||P.group!==void 0&&g.value[o.value]===P[o.value])?!0:void 0,ce=()=>{B(v.value[0]||null)},Ae=()=>{!g.value||g.value[d.value]===!0||(x.value?m(g.value):h(g.value))},de=()=>{if(g.value===null)B((A.value&&C.value?k.value[0].__CREATE__?v.value[0]:k.value[0]:v.value[0])||null);else if(A.value&&C.value){let P=x.value?G.value:H.value;P===void 0&&(P=F.value,P.__CREATE__&&(P=P[u.value][0])),B(P||null)}else{let P=v.value.map(ne=>ne[r.value]).indexOf(g.value[r.value])+1;v.value.length<=P&&(P=0),B(v.value[P]||null)}s.nextTick(()=>{ee()})},ye=()=>{if(g.value===null){let P=v.value[v.value.length-1];A.value&&C.value&&(P=pe.value,P===void 0&&(P=L.value)),B(P||null)}else if(A.value&&C.value){let P=x.value?$.value:Z.value;P===void 0&&(P=x.value?D.value:U.value,P.__CREATE__&&(P=$.value,P===void 0&&(P=D.value))),B(P||null)}else{let P=v.value.map(ne=>ne[r.value]).indexOf(g.value[r.value])-1;P<0&&(P=v.value.length-1),B(v.value[P]||null)}s.nextTick(()=>{ee()})},se=P=>k.value.find(ne=>ne.__VISIBLE__.map(Me=>Me[r.value]).indexOf(P[r.value])!==-1),ee=()=>{let P=y.value.querySelector("[data-pointed]");if(!P)return;let ne=P.parentElement.parentElement;A.value&&(ne=x.value?P.parentElement.parentElement.parentElement:P.parentElement.parentElement.parentElement.parentElement),P.offsetTop+P.offsetHeight>ne.clientHeight+ne.scrollTop&&(ne.scrollTop=P.offsetTop+P.offsetHeight-ne.clientHeight),P.offsetTop<ne.scrollTop&&(ne.scrollTop=P.offsetTop)};return s.watch(b,P=>{i.value&&(P.length&&a.value?ce():w())}),s.watch(_,P=>{if(P&&y&&y.value){let ne=y.value.querySelectorAll("[data-selected]")[0];if(!ne)return;let Me=ne.parentElement.parentElement;s.nextTick(()=>{Me.scrollTop=ne.offsetTop})}}),{pointer:g,canPointGroups:C,isPointed:J,setPointerFirst:ce,selectPointer:Ae,forwardPointer:de,backwardPointer:ye}}function Nn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function zi(e){var t=Nn(e).Element;return e instanceof t||e instanceof Element}function Yn(e){var t=Nn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function dh(e){if(typeof ShadowRoot>"u")return!1;var t=Nn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var $i=Math.max,Oc=Math.min,qo=Math.round;function uh(){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 Fw(){return!/^((?!chrome|android).)*safari/i.test(uh())}function Xo(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),a=1,i=1;t&&Yn(e)&&(a=e.offsetWidth>0&&qo(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&qo(r.height)/e.offsetHeight||1);var o=zi(e)?Nn(e):window,A=o.visualViewport,l=!Fw()&&n,c=(r.left+(l&&A?A.offsetLeft:0))/a,d=(r.top+(l&&A?A.offsetTop:0))/i,u=r.width/a,f=r.height/i;return{width:u,height:f,top:d,right:c+u,bottom:d+f,left:c,x:c,y:d}}function fh(e){var t=Nn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function wL(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function BL(e){return e===Nn(e)||!Yn(e)?fh(e):wL(e)}function Ir(e){return e?(e.nodeName||"").toLowerCase():null}function Ga(e){return((zi(e)?e.ownerDocument:e.document)||window.document).documentElement}function ph(e){return Xo(Ga(e)).left+fh(e).scrollLeft}function ra(e){return Nn(e).getComputedStyle(e)}function hh(e){var t=ra(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function vL(e){var t=e.getBoundingClientRect(),n=qo(t.width)/e.offsetWidth||1,r=qo(t.height)/e.offsetHeight||1;return n!==1||r!==1}function _L(e,t,n){n===void 0&&(n=!1);var r=Yn(t),a=Yn(t)&&vL(t),i=Ga(t),o=Xo(e,a,n),A={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Ir(t)!=="body"||hh(i))&&(A=BL(t)),Yn(t)?(l=Xo(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=ph(i))),{x:o.left+A.scrollLeft-l.x,y:o.top+A.scrollTop-l.y,width:o.width,height:o.height}}function Iw(e){var t=Xo(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 Qc(e){return Ir(e)==="html"?e:e.assignedSlot||e.parentNode||(dh(e)?e.host:null)||Ga(e)}function Dw(e){return["html","body","#document"].indexOf(Ir(e))>=0?e.ownerDocument.body:Yn(e)&&hh(e)?e:Dw(Qc(e))}function pA(e,t){var n;t===void 0&&(t=[]);var r=Dw(e),a=r===((n=e.ownerDocument)==null?void 0:n.body),i=Nn(r),o=a?[i].concat(i.visualViewport||[],hh(r)?r:[]):r,A=t.concat(o);return a?A:A.concat(pA(Qc(o)))}function CL(e){return["table","td","th"].indexOf(Ir(e))>=0}function Tw(e){return!Yn(e)||ra(e).position==="fixed"?null:e.offsetParent}function kL(e){var t=/firefox/i.test(uh()),n=/Trident/i.test(uh());if(n&&Yn(e)){var r=ra(e);if(r.position==="fixed")return null}var a=Qc(e);for(dh(a)&&(a=a.host);Yn(a)&&["html","body"].indexOf(Ir(a))<0;){var i=ra(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return a;a=a.parentNode}return null}function Mc(e){for(var t=Nn(e),n=Tw(e);n&&CL(n)&&ra(n).position==="static";)n=Tw(n);return n&&(Ir(n)==="html"||Ir(n)==="body"&&ra(n).position==="static")?t:n||kL(e)||t}var cr="top",Dr="bottom",ja="right",aa="left",mh="auto",Pc=[cr,Dr,ja,aa],Jo="start",hA="end",xL="clippingParents",Uw="viewport",mA="popper",EL="reference",Lw=Pc.reduce(function(e,t){return e.concat([t+"-"+Jo,t+"-"+hA])},[]),SL=[].concat(Pc,[mh]).reduce(function(e,t){return e.concat([t,t+"-"+Jo,t+"-"+hA])},[]),FL="beforeRead",IL="read",DL="afterRead",TL="beforeMain",UL="main",LL="afterMain",OL="beforeWrite",QL="write",ML="afterWrite",PL=[FL,IL,DL,TL,UL,LL,OL,QL,ML];function NL(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function a(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(A){if(!n.has(A)){var l=t.get(A);l&&a(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||a(i)}),r}function RL(e){var t=NL(e);return PL.reduce(function(n,r){return n.concat(t.filter(function(a){return a.phase===r}))},[])}function HL(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function VL(e){var t=e.reduce(function(n,r){var a=n[r.name];return n[r.name]=a?Object.assign({},a,r,{options:Object.assign({},a.options,r.options),data:Object.assign({},a.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}function zL(e,t){var n=Nn(e),r=Ga(e),a=n.visualViewport,i=r.clientWidth,o=r.clientHeight,A=0,l=0;if(a){i=a.width,o=a.height;var c=Fw();(c||!c&&t==="fixed")&&(A=a.offsetLeft,l=a.offsetTop)}return{width:i,height:o,x:A+ph(e),y:l}}function $L(e){var t,n=Ga(e),r=fh(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=$i(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=$i(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),A=-r.scrollLeft+ph(e),l=-r.scrollTop;return ra(a||n).direction==="rtl"&&(A+=$i(n.clientWidth,a?a.clientWidth:0)-i),{width:i,height:o,x:A,y:l}}function KL(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&dh(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function gh(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function WL(e,t){var n=Xo(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 Ow(e,t,n){return t===Uw?gh(zL(e,n)):zi(t)?WL(t,n):gh($L(Ga(e)))}function GL(e){var t=pA(Qc(e)),n=["absolute","fixed"].indexOf(ra(e).position)>=0,r=n&&Yn(e)?Mc(e):e;return zi(r)?t.filter(function(a){return zi(a)&&KL(a,r)&&Ir(a)!=="body"}):[]}function jL(e,t,n,r){var a=t==="clippingParents"?GL(e):[].concat(t),i=[].concat(a,[n]),o=i[0],A=i.reduce(function(l,c){var d=Ow(e,c,r);return l.top=$i(d.top,l.top),l.right=Oc(d.right,l.right),l.bottom=Oc(d.bottom,l.bottom),l.left=$i(d.left,l.left),l},Ow(e,o,r));return A.width=A.right-A.left,A.height=A.bottom-A.top,A.x=A.left,A.y=A.top,A}function Ya(e){return e.split("-")[0]}function Zo(e){return e.split("-")[1]}function Qw(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Mw(e){var t=e.reference,n=e.element,r=e.placement,a=r?Ya(r):null,i=r?Zo(r):null,o=t.x+t.width/2-n.width/2,A=t.y+t.height/2-n.height/2,l;switch(a){case cr:l={x:o,y:t.y-n.height};break;case Dr:l={x:o,y:t.y+t.height};break;case ja:l={x:t.x+t.width,y:A};break;case aa:l={x:t.x-n.width,y:A};break;default:l={x:t.x,y:t.y}}var c=a?Qw(a):null;if(c!=null){var d=c==="y"?"height":"width";switch(i){case Jo:l[c]=l[c]-(t[d]/2-n[d]/2);break;case hA:l[c]=l[c]+(t[d]/2-n[d]/2);break}}return l}function Pw(){return{top:0,right:0,bottom:0,left:0}}function YL(e){return Object.assign({},Pw(),e)}function qL(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}function yh(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=r===void 0?e.placement:r,i=n.strategy,o=i===void 0?e.strategy:i,A=n.boundary,l=A===void 0?xL:A,c=n.rootBoundary,d=c===void 0?Uw:c,u=n.elementContext,f=u===void 0?mA:u,p=n.altBoundary,h=p===void 0?!1:p,m=n.padding,b=m===void 0?0:m,g=YL(typeof b!="number"?b:qL(b,Pc)),B=f===mA?EL:mA,w=e.rects.popper,y=e.elements[h?B:f],_=jL(zi(y)?y:y.contextElement||Ga(e.elements.popper),l,d,o),v=Xo(e.elements.reference),k=Mw({reference:v,element:w,strategy:"absolute",placement:a}),C=gh(Object.assign({},w,k)),x=f===mA?C:v,U={top:_.top-x.top+g.top,bottom:x.bottom-_.bottom+g.bottom,left:_.left-x.left+g.left,right:x.right-_.right+g.right},D=e.modifiersData.offset;if(f===mA&&D){var F=D[a];Object.keys(U).forEach(function(L){var G=[ja,Dr].indexOf(L)>=0?1:-1,Z=[cr,Dr].indexOf(L)>=0?"y":"x";U[L]+=F[Z]*G})}return U}var Nw={placement:"bottom",modifiers:[],strategy:"absolute"};function Rw(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function XL(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,a=t.defaultOptions,i=a===void 0?Nw:a;return function(A,l,c){c===void 0&&(c=i);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Nw,i),modifiersData:{},elements:{reference:A,popper:l},attributes:{},styles:{}},u=[],f=!1,p={state:d,setOptions:function(g){var B=typeof g=="function"?g(d.options):g;m(),d.options=Object.assign({},i,d.options,B),d.scrollParents={reference:zi(A)?pA(A):A.contextElement?pA(A.contextElement):[],popper:pA(l)};var w=RL(VL([].concat(r,d.options.modifiers)));return d.orderedModifiers=w.filter(function(y){return y.enabled}),h(),p.update()},forceUpdate:function(){if(!f){var g=d.elements,B=g.reference,w=g.popper;if(Rw(B,w)){d.rects={reference:_L(B,Mc(w),d.options.strategy==="fixed"),popper:Iw(w)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(U){return d.modifiersData[U.name]=Object.assign({},U.data)});for(var y=0;y<d.orderedModifiers.length;y++){if(d.reset===!0){d.reset=!1,y=-1;continue}var _=d.orderedModifiers[y],v=_.fn,k=_.options,C=k===void 0?{}:k,x=_.name;typeof v=="function"&&(d=v({state:d,options:C,name:x,instance:p})||d)}}}},update:HL(function(){return new Promise(function(b){p.forceUpdate(),b(d)})}),destroy:function(){m(),f=!0}};if(!Rw(A,l))return p;p.setOptions(c).then(function(b){!f&&c.onFirstUpdate&&c.onFirstUpdate(b)});function h(){d.orderedModifiers.forEach(function(b){var g=b.name,B=b.options,w=B===void 0?{}:B,y=b.effect;if(typeof y=="function"){var _=y({state:d,name:g,instance:p,options:w}),v=function(){};u.push(_||v)}})}function m(){u.forEach(function(b){return b()}),u=[]}return p}}var Nc={passive:!0};function JL(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,i=a===void 0?!0:a,o=r.resize,A=o===void 0?!0:o,l=Nn(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(d){d.addEventListener("scroll",n.update,Nc)}),A&&l.addEventListener("resize",n.update,Nc),function(){i&&c.forEach(function(d){d.removeEventListener("scroll",n.update,Nc)}),A&&l.removeEventListener("resize",n.update,Nc)}}var ZL={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:JL,data:{}};function eO(e){var t=e.state,n=e.name;t.modifiersData[n]=Mw({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var tO={name:"popperOffsets",enabled:!0,phase:"read",fn:eO,data:{}},nO={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rO(e,t){var n=e.x,r=e.y,a=t.devicePixelRatio||1;return{x:qo(n*a)/a||0,y:qo(r*a)/a||0}}function Hw(e){var t,n=e.popper,r=e.popperRect,a=e.placement,i=e.variation,o=e.offsets,A=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,u=e.isFixed,f=o.x,p=f===void 0?0:f,h=o.y,m=h===void 0?0:h,b=typeof d=="function"?d({x:p,y:m}):{x:p,y:m};p=b.x,m=b.y;var g=o.hasOwnProperty("x"),B=o.hasOwnProperty("y"),w=aa,y=cr,_=window;if(c){var v=Mc(n),k="clientHeight",C="clientWidth";if(v===Nn(n)&&(v=Ga(n),ra(v).position!=="static"&&A==="absolute"&&(k="scrollHeight",C="scrollWidth")),v=v,a===cr||(a===aa||a===ja)&&i===hA){y=Dr;var x=u&&v===_&&_.visualViewport?_.visualViewport.height:v[k];m-=x-r.height,m*=l?1:-1}if(a===aa||(a===cr||a===Dr)&&i===hA){w=ja;var U=u&&v===_&&_.visualViewport?_.visualViewport.width:v[C];p-=U-r.width,p*=l?1:-1}}var D=Object.assign({position:A},c&&nO),F=d===!0?rO({x:p,y:m},Nn(n)):{x:p,y:m};if(p=F.x,m=F.y,l){var L;return Object.assign({},D,(L={},L[y]=B?"0":"",L[w]=g?"0":"",L.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",L))}return Object.assign({},D,(t={},t[y]=B?m+"px":"",t[w]=g?p+"px":"",t.transform="",t))}function aO(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=r===void 0?!0:r,i=n.adaptive,o=i===void 0?!0:i,A=n.roundOffsets,l=A===void 0?!0:A,c={placement:Ya(t.placement),variation:Zo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Hw(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Hw(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})}var iO={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:aO,data:{}};function oO(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},a=t.attributes[n]||{},i=t.elements[n];!Yn(i)||!Ir(i)||(Object.assign(i.style,r),Object.keys(a).forEach(function(o){var A=a[o];A===!1?i.removeAttribute(o):i.setAttribute(o,A===!0?"":A)}))})}function sO(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 a=t.elements[r],i=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),A=o.reduce(function(l,c){return l[c]="",l},{});!Yn(a)||!Ir(a)||(Object.assign(a.style,A),Object.keys(i).forEach(function(l){a.removeAttribute(l)}))})}}var AO={name:"applyStyles",enabled:!0,phase:"write",fn:oO,effect:sO,requires:["computeStyles"]},lO=[ZL,tO,iO,AO],cO=XL({defaultModifiers:lO});function dO(e){return e==="x"?"y":"x"}function Rc(e,t,n){return $i(e,Oc(t,n))}function uO(e,t,n){var r=Rc(e,t,n);return r>n?n:r}function fO(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,i=a===void 0?!0:a,o=n.altAxis,A=o===void 0?!1:o,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,u=n.padding,f=n.tether,p=f===void 0?!0:f,h=n.tetherOffset,m=h===void 0?0:h,b=yh(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),g=Ya(t.placement),B=Zo(t.placement),w=!B,y=Qw(g),_=dO(y),v=t.modifiersData.popperOffsets,k=t.rects.reference,C=t.rects.popper,x=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,U=typeof x=="number"?{mainAxis:x,altAxis:x}:Object.assign({mainAxis:0,altAxis:0},x),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(v){if(i){var L,G=y==="y"?cr:aa,Z=y==="y"?Dr:ja,H=y==="y"?"height":"width",$=v[y],pe=$+b[G],J=$-b[Z],ce=p?-C[H]/2:0,Ae=B===Jo?k[H]:C[H],de=B===Jo?-C[H]:-k[H],ye=t.elements.arrow,se=p&&ye?Iw(ye):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Pw(),P=ee[G],ne=ee[Z],Me=Rc(0,k[H],se[H]),At=w?k[H]/2-ce-Me-P-U.mainAxis:Ae-Me-P-U.mainAxis,Ut=w?-k[H]/2+ce+Me+ne+U.mainAxis:de+Me+ne+U.mainAxis,Gt=t.elements.arrow&&Mc(t.elements.arrow),Vt=Gt?y==="y"?Gt.clientTop||0:Gt.clientLeft||0:0,cn=(L=D==null?void 0:D[y])!=null?L:0,K=$+At-cn-Vt,be=$+Ut-cn,dn=Rc(p?Oc(pe,K):pe,$,p?$i(J,be):J);v[y]=dn,F[y]=dn-$}if(A){var xt,Ct=y==="x"?cr:aa,Lt=y==="x"?Dr:ja,E=v[_],S=_==="y"?"height":"width",N=E+b[Ct],ae=E-b[Lt],Le=[cr,aa].indexOf(g)!==-1,we=(xt=D==null?void 0:D[_])!=null?xt:0,Fe=Le?N:E-k[S]-C[S]-we+U.altAxis,O=Le?E+k[S]+C[S]-we-U.altAxis:ae,R=p&&Le?uO(Fe,E,O):Rc(p?Fe:N,E,p?O:ae);v[_]=R,F[_]=R-E}t.modifiersData[r]=F}}var pO={name:"preventOverflow",enabled:!0,phase:"main",fn:fO,requiresIfExists:["offset"]},hO={left:"right",right:"left",bottom:"top",top:"bottom"};function Hc(e){return e.replace(/left|right|bottom|top/g,function(t){return hO[t]})}var mO={start:"end",end:"start"};function Vw(e){return e.replace(/start|end/g,function(t){return mO[t]})}function gO(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=n.boundary,i=n.rootBoundary,o=n.padding,A=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?SL:l,d=Zo(r),u=d?A?Lw:Lw.filter(function(h){return Zo(h)===d}):Pc,f=u.filter(function(h){return c.indexOf(h)>=0});f.length===0&&(f=u);var p=f.reduce(function(h,m){return h[m]=yh(e,{placement:m,boundary:a,rootBoundary:i,padding:o})[Ya(m)],h},{});return Object.keys(p).sort(function(h,m){return p[h]-p[m]})}function yO(e){if(Ya(e)===mh)return[];var t=Hc(e);return[Vw(e),t,Vw(t)]}function bO(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,i=a===void 0?!0:a,o=n.altAxis,A=o===void 0?!0:o,l=n.fallbackPlacements,c=n.padding,d=n.boundary,u=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,m=n.allowedAutoPlacements,b=t.options.placement,g=Ya(b),B=g===b,w=l||(B||!h?[Hc(b)]:yO(b)),y=[b].concat(w).reduce(function(se,ee){return se.concat(Ya(ee)===mh?gO(t,{placement:ee,boundary:d,rootBoundary:u,padding:c,flipVariations:h,allowedAutoPlacements:m}):ee)},[]),_=t.rects.reference,v=t.rects.popper,k=new Map,C=!0,x=y[0],U=0;U<y.length;U++){var D=y[U],F=Ya(D),L=Zo(D)===Jo,G=[cr,Dr].indexOf(F)>=0,Z=G?"width":"height",H=yh(t,{placement:D,boundary:d,rootBoundary:u,altBoundary:f,padding:c}),$=G?L?ja:aa:L?Dr:cr;_[Z]>v[Z]&&($=Hc($));var pe=Hc($),J=[];if(i&&J.push(H[F]<=0),A&&J.push(H[$]<=0,H[pe]<=0),J.every(function(se){return se})){x=D,C=!1;break}k.set(D,J)}if(C)for(var ce=h?3:1,Ae=function(ee){var P=y.find(function(ne){var Me=k.get(ne);if(Me)return Me.slice(0,ee).every(function(At){return At})});if(P)return x=P,"break"},de=ce;de>0;de--){var ye=Ae(de);if(ye==="break")break}t.placement!==x&&(t.modifiersData[r]._skip=!0,t.placement=x,t.reset=!0)}}var wO={name:"flip",enabled:!0,phase:"main",fn:bO,requiresIfExists:["offset"],data:{_skip:!1}};function BO(e,t,n){const{disabled:r,appendTo:a,appendToBody:i,openDirection:o}=s.toRefs(e),A=s.getCurrentInstance().proxy,l=n.multiselect,c=n.dropdown,d=s.ref(!1),u=s.ref(null),f=s.ref(null),p=_t(()=>a.value||i.value),h=_t(()=>o.value==="top"&&f.value==="bottom"||o.value==="bottom"&&f.value!=="top"?"bottom":"top"),m=()=>{d.value||r.value||(d.value=!0,t.emit("open",A),p.value&&s.nextTick(()=>{g()}))},b=()=>{d.value&&(d.value=!1,t.emit("close",A))},g=()=>{if(!u.value)return;let w=parseInt(window.getComputedStyle(c.value).borderTopWidth.replace("px","")),y=parseInt(window.getComputedStyle(c.value).borderBottomWidth.replace("px",""));u.value.setOptions(_=>({..._,modifiers:[..._.modifiers,{name:"offset",options:{offset:[0,(h.value==="top"?w:y)*-1]}}]})),u.value.update()},B=w=>{for(;w&&w!==document.body;){if(getComputedStyle(w).position==="fixed")return!0;w=w.parentElement}return!1};return s.onMounted(()=>{p.value&&(u.value=cO(l.value,c.value,{strategy:B(l.value)?"fixed":void 0,placement:o.value,modifiers:[pO,wO,{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:w})=>{w.styles.popper.width=`${w.rects.reference.width}px`},effect:({state:w})=>{w.elements.popper.style.width=`${w.elements.reference.offsetWidth}px`}},{name:"toggleClass",enabled:!0,phase:"write",fn({state:w}){f.value=w.placement}}]}))}),s.onBeforeUnmount(()=>{!p.value||!u.value||(u.value.destroy(),u.value=null)}),{popper:u,isOpen:d,open:m,close:b,placement:h,updatePopper:g}}function vO(e,t,n){const{searchable:r,disabled:a,clearOnBlur:i}=s.toRefs(e),o=n.input,A=n.open,l=n.close,c=n.clearSearch,d=n.isOpen,u=n.wrapper,f=n.tags,p=s.ref(!1),h=s.ref(!1),m=_t(()=>r.value||a.value?-1:0),b=()=>{r.value&&o.value.blur(),u.value.blur()},g=()=>{r.value&&!a.value&&o.value.focus()},B=(C=!0)=>{a.value||(p.value=!0,C&&A())},w=()=>{p.value=!1,setTimeout(()=>{p.value||(l(),i.value&&c())},1)};return{tabindex:m,isActive:p,mouseClicked:h,blur:b,focus:g,activate:B,deactivate:w,handleFocusIn:C=>{C.target.closest("[data-tags]")&&C.target.nodeName!=="INPUT"||C.target.closest("[data-clear]")||B(h.value)},handleFocusOut:()=>{w()},handleCaretClick:()=>{w(),b()},handleMousedown:C=>{h.value=!0,d.value&&(C.target.isEqualNode(u.value)||C.target.isEqualNode(f.value))?setTimeout(()=>{w()},0):!d.value&&(document.activeElement.isEqualNode(u.value)||document.activeElement.isEqualNode(o.value))&&B(),setTimeout(()=>{h.value=!1},0)}}}function _O(e,t,n){const{mode:r,addTagOn:a,openDirection:i,searchable:o,showOptions:A,valueProp:l,groups:c,addOptionOn:d,createTag:u,createOption:f,reverse:p}=s.toRefs(e),h=s.getCurrentInstance().proxy,m=n.iv,b=n.update,g=n.deselect,B=n.search,w=n.setPointer,y=n.selectPointer,_=n.backwardPointer,v=n.forwardPointer,k=n.multiselect,C=n.wrapper,x=n.tags,U=n.isOpen,D=n.open,F=n.blur,L=n.fo,G=_t(()=>u.value||f.value||!1),Z=_t(()=>a.value!==void 0?a.value:d.value!==void 0?d.value:["enter"]),H=()=>{r.value==="tags"&&!A.value&&G.value&&o.value&&!c.value&&w(L.value[L.value.map(J=>J[l.value]).indexOf(B.value)])};return{handleKeydown:J=>{t.emit("keydown",J,h);let ce,Ae;switch(["ArrowLeft","ArrowRight","Enter"].indexOf(J.key)!==-1&&r.value==="tags"&&(ce=[...k.value.querySelectorAll("[data-tags] > *")].filter(de=>de!==x.value),Ae=ce.findIndex(de=>de===document.activeElement)),J.key){case"Backspace":if(r.value==="single"||o.value&&[null,""].indexOf(B.value)===-1||m.value.length===0)return;let de=m.value.filter(ye=>!ye.disabled&&ye.remove!==!1);de.length&&g(de[de.length-1]);break;case"Enter":if(J.preventDefault(),J.keyCode===229)return;if(Ae!==-1&&Ae!==void 0){b([...m.value].filter((ye,se)=>se!==Ae)),Ae===ce.length-1&&(ce.length-1?ce[ce.length-2].focus():o.value?x.value.querySelector("input").focus():C.value.focus());return}if(Z.value.indexOf("enter")===-1&&G.value)return;H(),y();break;case" ":if(!G.value&&!o.value){J.preventDefault(),H(),y();return}if(!G.value)return!1;if(Z.value.indexOf("space")===-1&&G.value)return;J.preventDefault(),H(),y();break;case"Tab":case";":case",":if(Z.value.indexOf(J.key.toLowerCase())===-1||!G.value)return;H(),y(),J.preventDefault();break;case"Escape":F();break;case"ArrowUp":if(J.preventDefault(),!A.value)return;U.value||D(),_();break;case"ArrowDown":if(J.preventDefault(),!A.value)return;U.value||D(),v();break;case"ArrowLeft":if(o.value&&x.value&&x.value.querySelector("input").selectionStart||J.shiftKey||r.value!=="tags"||!m.value||!m.value.length)return;J.preventDefault(),Ae===-1?ce[ce.length-1].focus():Ae>0&&ce[Ae-1].focus();break;case"ArrowRight":if(Ae===-1||J.shiftKey||r.value!=="tags"||!m.value||!m.value.length)return;J.preventDefault(),ce.length>Ae+1?ce[Ae+1].focus():o.value?x.value.querySelector("input").focus():o.value||C.value.focus();break}},handleKeyup:J=>{t.emit("keyup",J,h)},preparePointer:H}}function CO(e,t,n){const{classes:r,disabled:a,showOptions:i,breakTags:o}=s.toRefs(e),A=n.isOpen,l=n.isPointed,c=n.isSelected,d=n.isDisabled,u=n.isActive,f=n.canPointGroups,p=n.resolving,h=n.fo,m=n.placement,b=_t(()=>({container:"multiselect",containerDisabled:"is-disabled",containerOpen:"is-open",containerOpenTop:"is-open-top",containerActive:"is-active",wrapper:"multiselect-wrapper",singleLabel:"multiselect-single-label",singleLabelText:"multiselect-single-label-text",multipleLabel:"multiselect-multiple-label",search:"multiselect-search",tags:"multiselect-tags",tag:"multiselect-tag",tagWrapper:"multiselect-tag-wrapper",tagWrapperBreak:"multiselect-tag-wrapper-break",tagDisabled:"is-disabled",tagRemove:"multiselect-tag-remove",tagRemoveIcon:"multiselect-tag-remove-icon",tagsSearchWrapper:"multiselect-tags-search-wrapper",tagsSearch:"multiselect-tags-search",tagsSearchCopy:"multiselect-tags-search-copy",placeholder:"multiselect-placeholder",caret:"multiselect-caret",caretOpen:"is-open",clear:"multiselect-clear",clearIcon:"multiselect-clear-icon",spinner:"multiselect-spinner",inifinite:"multiselect-inifite",inifiniteSpinner:"multiselect-inifite-spinner",dropdown:"multiselect-dropdown",dropdownTop:"is-top",dropdownHidden:"is-hidden",options:"multiselect-options",optionsTop:"is-top",group:"multiselect-group",groupLabel:"multiselect-group-label",groupLabelPointable:"is-pointable",groupLabelPointed:"is-pointed",groupLabelSelected:"is-selected",groupLabelDisabled:"is-disabled",groupLabelSelectedPointed:"is-selected is-pointed",groupLabelSelectedDisabled:"is-selected is-disabled",groupOptions:"multiselect-group-options",option:"multiselect-option",optionPointed:"is-pointed",optionSelected:"is-selected",optionDisabled:"is-disabled",optionSelectedPointed:"is-selected is-pointed",optionSelectedDisabled:"is-selected is-disabled",noOptions:"multiselect-no-options",noResults:"multiselect-no-results",fakeInput:"multiselect-fake-input",assist:"multiselect-assistive-text",spacer:"multiselect-spacer",...r.value})),g=_t(()=>!!(A.value&&i.value&&(!p.value||p.value&&h.value.length)));return{classList:s.computed(()=>{const w=b.value;return{container:[w.container].concat(a.value?w.containerDisabled:[]).concat(g.value&&m.value==="top"?w.containerOpenTop:[]).concat(g.value&&m.value!=="top"?w.containerOpen:[]).concat(u.value?w.containerActive:[]),wrapper:w.wrapper,spacer:w.spacer,singleLabel:w.singleLabel,singleLabelText:w.singleLabelText,multipleLabel:w.multipleLabel,search:w.search,tags:w.tags,tag:[w.tag].concat(a.value?w.tagDisabled:[]),tagWrapper:[w.tagWrapper,o.value?w.tagWrapperBreak:null],tagDisabled:w.tagDisabled,tagRemove:w.tagRemove,tagRemoveIcon:w.tagRemoveIcon,tagsSearchWrapper:w.tagsSearchWrapper,tagsSearch:w.tagsSearch,tagsSearchCopy:w.tagsSearchCopy,placeholder:w.placeholder,caret:[w.caret].concat(A.value?w.caretOpen:[]),clear:w.clear,clearIcon:w.clearIcon,spinner:w.spinner,inifinite:w.inifinite,inifiniteSpinner:w.inifiniteSpinner,dropdown:[w.dropdown].concat(m.value==="top"?w.dropdownTop:[]).concat(!A.value||!i.value||!g.value?w.dropdownHidden:[]),options:[w.options].concat(m.value==="top"?w.optionsTop:[]),group:w.group,groupLabel:y=>{let _=[w.groupLabel];return l(y)?_.push(c(y)?w.groupLabelSelectedPointed:w.groupLabelPointed):c(y)&&f.value?_.push(d(y)?w.groupLabelSelectedDisabled:w.groupLabelSelected):d(y)&&_.push(w.groupLabelDisabled),f.value&&_.push(w.groupLabelPointable),_},groupOptions:w.groupOptions,option:(y,_)=>{let v=[w.option];return l(y)?v.push(c(y)?w.optionSelectedPointed:w.optionPointed):c(y)?v.push(d(y)?w.optionSelectedDisabled:w.optionSelected):(d(y)||_&&d(_))&&v.push(w.optionDisabled),v},noOptions:w.noOptions,noResults:w.noResults,assist:w.assist,fakeInput:w.fakeInput}}),showDropdown:g}}function kO(e,t,n){const{limit:r,infinite:a}=s.toRefs(e),i=n.isOpen,o=n.offset,A=n.search,l=n.pfo,c=n.eo,d=s.ref(null),u=s.shallowRef(null),f=_t(()=>o.value<l.value.length),p=m=>{const{isIntersecting:b,target:g}=m[0];if(b){const B=g.offsetParent,w=B.scrollTop;o.value+=r.value==-1?10:r.value,s.nextTick(()=>{B.scrollTop=w})}},h=()=>{i.value&&o.value<l.value.length?d.value.observe(u.value):!i.value&&d.value&&d.value.disconnect()};return s.watch(i,()=>{a.value&&h()}),s.watch(A,()=>{a.value&&(o.value=r.value,h())},{flush:"post"}),s.watch(c,()=>{a.value&&h()},{immediate:!1,flush:"post"}),s.onMounted(()=>{window&&window.IntersectionObserver&&(d.value=new IntersectionObserver(p))}),{hasMore:f,infiniteLoader:u}}function xO(e,t,n){const{placeholder:r,id:a,valueProp:i,label:o,mode:A,groupLabel:l,aria:c,searchable:d}=s.toRefs(e),u=n.pointer,f=n.iv,p=n.hasSelected,h=n.multipleLabelText,m=s.ref(null),b=_t(()=>`${a.value?a.value+"-":""}assist`),g=_t(()=>`${a.value?a.value+"-":""}multiselect-options`),B=_t(()=>{if(u.value){let F=a.value?`${a.value}-`:"";return F+=`${u.value.group?"multiselect-group":"multiselect-option"}-`,F+=u.value.group?u.value.index:u.value[i.value],F}}),w=_t(()=>r.value),y=_t(()=>A.value!=="single"),_=s.computed(()=>A.value==="single"&&p.value?f.value[o.value]:A.value==="multiple"&&p.value?h.value:A.value==="tags"&&p.value?f.value.map(F=>F[o.value]).join(", "):""),v=s.computed(()=>{let F={...c.value};return d.value&&(F["aria-labelledby"]=F["aria-labelledby"]?`${b.value} ${F["aria-labelledby"]}`:b.value,_.value&&F["aria-label"]&&(F["aria-label"]=`${_.value}, ${F["aria-label"]}`)),F}),k=F=>`${a.value?a.value+"-":""}multiselect-option-${F[i.value]}`,C=F=>`${a.value?a.value+"-":""}multiselect-group-${F.index}`,x=F=>`${F}`,U=F=>`${F}`,D=F=>`${F} ❎`;return s.onMounted(()=>{if(a.value&&document&&document.querySelector){let F=document.querySelector(`[for="${a.value}"]`);m.value=F?F.innerText:null}}),{arias:v,ariaLabel:_,ariaAssist:b,ariaControls:g,ariaPlaceholder:w,ariaMultiselectable:y,ariaActiveDescendant:B,ariaOptionId:k,ariaOptionLabel:x,ariaGroupId:C,ariaGroupLabel:U,ariaTagLabel:D}}function EO(e,t,n){const{locale:r,fallbackLocale:a}=s.toRefs(e);return{localize:o=>!o||typeof o!="object"?o:o&&o[r.value]?o[r.value]:o&&r.value&&o[r.value.toUpperCase()]?o[r.value.toUpperCase()]:o&&o[a.value]?o[a.value]:o&&a.value&&o[a.value.toUpperCase()]?o[a.value.toUpperCase()]:o&&Object.keys(o)[0]?o[Object.keys(o)[0]]:""}}function SO(e,t,n){const r=s.shallowRef(null),a=s.shallowRef(null),i=s.shallowRef(null),o=s.shallowRef(null),A=s.shallowRef(null);return{multiselect:r,wrapper:a,tags:i,input:o,dropdown:A}}function FO(e,t,n,r={}){return n.forEach(a=>{r={...r,...a(e,t,r)}}),r}var Yt={name:"Multiselect",emits:["paste","open","close","select","deselect","input","search-change","tag","option","update:modelValue","change","clear","keydown","keyup","max","create"],props:{value:{required:!1},modelValue:{required:!1},options:{type:[Array,Object,Function],required:!1,default:()=>[]},id:{type:[String,Number],required:!1,default:void 0},name:{type:[String,Number],required:!1,default:"multiselect"},disabled:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:"label"},trackBy:{type:[String,Array],required:!1,default:void 0},valueProp:{type:String,required:!1,default:"value"},placeholder:{type:String,required:!1,default:null},mode:{type:String,required:!1,default:"single"},searchable:{type:Boolean,required:!1,default:!1},limit:{type:Number,required:!1,default:-1},hideSelected:{type:Boolean,required:!1,default:!0},createTag:{type:Boolean,required:!1,default:void 0},createOption:{type:Boolean,required:!1,default:void 0},appendNewTag:{type:Boolean,required:!1,default:void 0},appendNewOption:{type:Boolean,required:!1,default:void 0},addTagOn:{type:Array,required:!1,default:void 0},addOptionOn:{type:Array,required:!1,default:void 0},caret:{type:Boolean,required:!1,default:!0},loading:{type:Boolean,required:!1,default:!1},noOptionsText:{type:[String,Object],required:!1,default:"The list is empty"},noResultsText:{type:[String,Object],required:!1,default:"No results found"},multipleLabel:{type:Function,required:!1,default:void 0},object:{type:Boolean,required:!1,default:!1},delay:{type:Number,required:!1,default:-1},minChars:{type:Number,required:!1,default:0},resolveOnLoad:{type:Boolean,required:!1,default:!0},filterResults:{type:Boolean,required:!1,default:!0},clearOnSearch:{type:Boolean,required:!1,default:!1},clearOnSelect:{type:Boolean,required:!1,default:!0},canDeselect:{type:Boolean,required:!1,default:!0},canClear:{type:Boolean,required:!1,default:!0},max:{type:Number,required:!1,default:-1},showOptions:{type:Boolean,required:!1,default:!0},required:{type:Boolean,required:!1,default:!1},openDirection:{type:String,required:!1,default:"bottom"},nativeSupport:{type:Boolean,required:!1,default:!1},classes:{type:Object,required:!1,default:()=>({})},strict:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},closeOnDeselect:{type:Boolean,required:!1,default:!1},autocomplete:{type:String,required:!1,default:void 0},groups:{type:Boolean,required:!1,default:!1},groupLabel:{type:String,required:!1,default:"label"},groupOptions:{type:String,required:!1,default:"options"},groupHideEmpty:{type:Boolean,required:!1,default:!1},groupSelect:{type:Boolean,required:!1,default:!0},inputType:{type:String,required:!1,default:"text"},attrs:{required:!1,type:Object,default:()=>({})},onCreate:{required:!1,type:Function,default:void 0},disabledProp:{type:String,required:!1,default:"disabled"},searchStart:{type:Boolean,required:!1,default:!1},reverse:{type:Boolean,required:!1,default:!1},regex:{type:[Object,String,RegExp],required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},infinite:{type:Boolean,required:!1,default:!1},aria:{required:!1,type:Object,default:()=>({})},clearOnBlur:{required:!1,type:Boolean,default:!0},locale:{required:!1,type:String,default:null},fallbackLocale:{required:!1,type:String,default:"en"},searchFilter:{required:!1,type:Function,default:null},allowAbsent:{required:!1,type:Boolean,default:!1},appendToBody:{required:!1,type:Boolean,default:!1},closeOnScroll:{required:!1,type:Boolean,default:!1},breakTags:{required:!1,type:Boolean,default:!1},appendTo:{required:!1,type:String,default:void 0}},setup(e,t){return FO(e,t,[SO,EO,fL,hL,BO,pL,uL,vO,yL,kO,bL,_O,CO,xO])},beforeMount(){(this.$root.constructor&&this.$root.constructor.version&&this.$root.constructor.version.match(/^2\./)||this.vueVersionMs===2)&&(this.$options.components.Teleport||(this.$options.components.Teleport={render(){return this.$slots.default?this.$slots.default[0]:null}}))}};const IO=["id","dir"],DO=["tabindex","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable","role"],TO=["type","modelValue","value","autocomplete","id","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],UO=["onKeyup","aria-label"],LO=["onClick"],OO=["type","modelValue","value","id","autocomplete","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],QO=["innerHTML"],MO=["id"],PO=["id"],NO=["id","aria-label","aria-selected"],RO=["data-pointed","onMouseenter","onClick"],HO=["innerHTML"],VO=["aria-label"],zO=["data-pointed","data-selected","onMouseenter","onClick","id","aria-selected","aria-label"],$O=["data-pointed","data-selected","onMouseenter","onClick","id","aria-selected","aria-label"],KO=["innerHTML"],WO=["innerHTML"],GO=["value"],jO=["name","value"],YO=["name","value"],qO=["id"];function XO(e,t,n,r,a,i){return s.openBlock(),s.createElementBlock("div",{ref:"multiselect",class:s.normalizeClass(e.classList.container),id:n.searchable?void 0:n.id,dir:n.rtl?"rtl":void 0,onFocusin:t[12]||(t[12]=(...o)=>e.handleFocusIn&&e.handleFocusIn(...o)),onFocusout:t[13]||(t[13]=(...o)=>e.handleFocusOut&&e.handleFocusOut(...o)),onKeyup:t[14]||(t[14]=(...o)=>e.handleKeyup&&e.handleKeyup(...o)),onKeydown:t[15]||(t[15]=(...o)=>e.handleKeydown&&e.handleKeydown(...o))},[s.createElementVNode("div",s.mergeProps({class:e.classList.wrapper,onMousedown:t[9]||(t[9]=(...o)=>e.handleMousedown&&e.handleMousedown(...o)),ref:"wrapper",tabindex:e.tabindex,"aria-controls":n.searchable?void 0:e.ariaControls,"aria-placeholder":n.searchable?void 0:e.ariaPlaceholder,"aria-expanded":n.searchable?void 0:e.isOpen,"aria-activedescendant":n.searchable?void 0:e.ariaActiveDescendant,"aria-multiselectable":n.searchable?void 0:e.ariaMultiselectable,role:n.searchable?void 0:"combobox"},n.searchable?{}:e.arias),[s.createCommentVNode(" Search "),n.mode!=="tags"&&n.searchable&&!n.disabled?(s.openBlock(),s.createElementBlock("input",s.mergeProps({key:0,type:n.inputType,modelValue:e.search,value:e.search,class:e.classList.search,autocomplete:n.autocomplete,id:n.searchable?n.id:void 0,onInput:t[0]||(t[0]=(...o)=>e.handleSearchInput&&e.handleSearchInput(...o)),onKeypress:t[1]||(t[1]=(...o)=>e.handleKeypress&&e.handleKeypress(...o)),onPaste:t[2]||(t[2]=s.withModifiers((...o)=>e.handlePaste&&e.handlePaste(...o),["stop"])),ref:"input","aria-controls":e.ariaControls,"aria-placeholder":e.ariaPlaceholder,"aria-expanded":e.isOpen,"aria-activedescendant":e.ariaActiveDescendant,"aria-multiselectable":e.ariaMultiselectable,role:"combobox"},{...n.attrs,...e.arias}),null,16,TO)):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Tags (with search) "),n.mode=="tags"?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(e.classList.tags),"data-tags":""},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.iv,(o,A,l)=>s.renderSlot(e.$slots,"tag",{option:o,handleTagRemove:e.handleTagRemove,disabled:n.disabled},()=>[(s.openBlock(),s.createElementBlock("span",{class:s.normalizeClass([e.classList.tag,o.disabled?e.classList.tagDisabled:null]),tabindex:"-1",onKeyup:s.withKeys(c=>e.handleTagRemove(o,c),["enter"]),key:l,"aria-label":e.ariaTagLabel(e.localize(o[n.label]))},[s.createElementVNode("span",{class:s.normalizeClass(e.classList.tagWrapper)},s.toDisplayString(e.localize(o[n.label])),3),!n.disabled&&!o.disabled?(s.openBlock(),s.createElementBlock("span",{key:0,class:s.normalizeClass(e.classList.tagRemove),onClick:s.withModifiers(c=>e.handleTagRemove(o,c),["stop"])},[s.createElementVNode("span",{class:s.normalizeClass(e.classList.tagRemoveIcon)},null,2)],10,LO)):s.createCommentVNode("v-if",!0)],42,UO))])),256)),s.createElementVNode("div",{class:s.normalizeClass(e.classList.tagsSearchWrapper),ref:"tags"},[s.createCommentVNode(" Used for measuring search width "),s.createElementVNode("span",{class:s.normalizeClass(e.classList.tagsSearchCopy)},s.toDisplayString(e.search),3),s.createCommentVNode(" Actual search input "),n.searchable&&!n.disabled?(s.openBlock(),s.createElementBlock("input",s.mergeProps({key:0,type:n.inputType,modelValue:e.search,value:e.search,class:e.classList.tagsSearch,id:n.searchable?n.id:void 0,autocomplete:n.autocomplete,onInput:t[3]||(t[3]=(...o)=>e.handleSearchInput&&e.handleSearchInput(...o)),onKeypress:t[4]||(t[4]=(...o)=>e.handleKeypress&&e.handleKeypress(...o)),onPaste:t[5]||(t[5]=s.withModifiers((...o)=>e.handlePaste&&e.handlePaste(...o),["stop"])),ref:"input","aria-controls":e.ariaControls,"aria-placeholder":e.ariaPlaceholder,"aria-expanded":e.isOpen,"aria-activedescendant":e.ariaActiveDescendant,"aria-multiselectable":e.ariaMultiselectable,role:"combobox"},{...n.attrs,...e.arias}),null,16,OO)):s.createCommentVNode("v-if",!0)],2)],2)):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Single label "),n.mode=="single"&&e.hasSelected&&!e.search&&e.iv?s.renderSlot(e.$slots,"singlelabel",{key:2,value:e.iv},()=>[s.createElementVNode("div",{class:s.normalizeClass(e.classList.singleLabel)},[s.createElementVNode("span",{class:s.normalizeClass(e.classList.singleLabelText)},s.toDisplayString(e.localize(e.iv[n.label])),3)],2)]):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Multiple label "),n.mode=="multiple"&&e.hasSelected&&!e.search?s.renderSlot(e.$slots,"multiplelabel",{key:3,values:e.iv},()=>[s.createElementVNode("div",{class:s.normalizeClass(e.classList.multipleLabel),innerHTML:e.multipleLabelText},null,10,QO)]):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Placeholder "),n.placeholder&&!e.hasSelected&&!e.search?s.renderSlot(e.$slots,"placeholder",{key:4},()=>[s.createElementVNode("div",{class:s.normalizeClass(e.classList.placeholder),"aria-hidden":"true"},s.toDisplayString(n.placeholder),3)]):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Spinner "),n.loading||e.resolving?s.renderSlot(e.$slots,"spinner",{key:5},()=>[s.createElementVNode("span",{class:s.normalizeClass(e.classList.spinner),"aria-hidden":"true"},null,2)]):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Clear "),e.hasSelected&&!n.disabled&&n.canClear&&!e.busy?s.renderSlot(e.$slots,"clear",{key:6,clear:e.clear},()=>[s.createElementVNode("span",{"aria-hidden":"true",tabindex:"0",role:"button","data-clear":"","aria-roledescription":"❎",class:s.normalizeClass(e.classList.clear),onClick:t[6]||(t[6]=(...o)=>e.clear&&e.clear(...o)),onKeyup:t[7]||(t[7]=s.withKeys((...o)=>e.clear&&e.clear(...o),["enter"]))},[s.createElementVNode("span",{class:s.normalizeClass(e.classList.clearIcon)},null,2)],34)]):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Caret "),n.caret&&n.showOptions?s.renderSlot(e.$slots,"caret",{key:7,handleCaretClick:e.handleCaretClick,isOpen:e.isOpen},()=>[s.createElementVNode("span",{class:s.normalizeClass(e.classList.caret),onClick:t[8]||(t[8]=(...o)=>e.handleCaretClick&&e.handleCaretClick(...o)),"aria-hidden":"true"},null,2)]):s.createCommentVNode("v-if",!0)],16,DO),s.createCommentVNode(" Options "),(s.openBlock(),s.createBlock(s.Teleport,{to:n.appendTo||"body",disabled:!n.appendToBody&&!n.appendTo},[s.createElementVNode("div",{id:n.id?`${n.id}-dropdown`:void 0,class:s.normalizeClass(e.classList.dropdown),tabindex:"-1",ref:"dropdown",onFocusin:t[10]||(t[10]=(...o)=>e.handleFocusIn&&e.handleFocusIn(...o)),onFocusout:t[11]||(t[11]=(...o)=>e.handleFocusOut&&e.handleFocusOut(...o))},[s.renderSlot(e.$slots,"beforelist",{options:e.fo}),s.createElementVNode("ul",{class:s.normalizeClass(e.classList.options),id:e.ariaControls,role:"listbox"},[n.groups?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:0},s.renderList(e.fg,(o,A,l)=>(s.openBlock(),s.createElementBlock("li",{class:s.normalizeClass(e.classList.group),key:l,id:e.ariaGroupId(o),"aria-label":e.ariaGroupLabel(e.localize(o[n.groupLabel])),"aria-selected":e.isSelected(o),role:"option"},[o.__CREATE__?s.createCommentVNode("v-if",!0):(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.classList.groupLabel(o)),"data-pointed":e.isPointed(o),onMouseenter:c=>e.setPointer(o,A),onClick:c=>e.handleGroupClick(o)},[s.renderSlot(e.$slots,"grouplabel",{group:o,isSelected:e.isSelected,isPointed:e.isPointed},()=>[s.createElementVNode("span",{innerHTML:e.localize(o[n.groupLabel])},null,8,HO)])],42,RO)),s.createElementVNode("ul",{class:s.normalizeClass(e.classList.groupOptions),"aria-label":e.ariaGroupLabel(e.localize(o[n.groupLabel])),role:"group"},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.__VISIBLE__,(c,d,u)=>(s.openBlock(),s.createElementBlock("li",{class:s.normalizeClass(e.classList.option(c,o)),"data-pointed":e.isPointed(c),"data-selected":e.isSelected(c)||void 0,key:u,onMouseenter:f=>e.setPointer(c),onClick:f=>e.handleOptionClick(c),id:e.ariaOptionId(c),"aria-selected":e.isSelected(c),"aria-label":e.ariaOptionLabel(e.localize(c[n.label])),role:"option"},[s.renderSlot(e.$slots,"option",{option:c,isSelected:e.isSelected,isPointed:e.isPointed,search:e.search},()=>[s.createElementVNode("span",null,s.toDisplayString(e.localize(c[n.label])),1)])],42,zO))),128))],10,VO)],10,NO))),128)):(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:1},s.renderList(e.fo,(o,A,l)=>(s.openBlock(),s.createElementBlock("li",{class:s.normalizeClass(e.classList.option(o)),"data-pointed":e.isPointed(o),"data-selected":e.isSelected(o)||void 0,key:l,onMouseenter:c=>e.setPointer(o),onClick:c=>e.handleOptionClick(o),id:e.ariaOptionId(o),"aria-selected":e.isSelected(o),"aria-label":e.ariaOptionLabel(e.localize(o[n.label])),role:"option"},[s.renderSlot(e.$slots,"option",{option:o,isSelected:e.isSelected,isPointed:e.isPointed,search:e.search},()=>[s.createElementVNode("span",null,s.toDisplayString(e.localize(o[n.label])),1)])],42,$O))),128))],10,PO),e.noOptions?s.renderSlot(e.$slots,"nooptions",{key:0},()=>[s.createElementVNode("div",{class:s.normalizeClass(e.classList.noOptions),innerHTML:e.localize(n.noOptionsText)},null,10,KO)]):s.createCommentVNode("v-if",!0),e.noResults?s.renderSlot(e.$slots,"noresults",{key:1},()=>[s.createElementVNode("div",{class:s.normalizeClass(e.classList.noResults),innerHTML:e.localize(n.noResultsText)},null,10,WO)]):s.createCommentVNode("v-if",!0),n.infinite&&e.hasMore?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(e.classList.inifinite),ref:"infiniteLoader"},[s.renderSlot(e.$slots,"infinite",{},()=>[s.createElementVNode("span",{class:s.normalizeClass(e.classList.inifiniteSpinner)},null,2)])],2)):s.createCommentVNode("v-if",!0),s.renderSlot(e.$slots,"afterlist",{options:e.fo})],42,MO)],8,["to","disabled"])),s.createCommentVNode(" Hacky input element to show HTML5 required warning "),n.required?(s.openBlock(),s.createElementBlock("input",{key:0,class:s.normalizeClass(e.classList.fakeInput),tabindex:"-1",value:e.textValue,required:""},null,10,GO)):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Native input support "),n.nativeSupport?(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[n.mode=="single"?(s.openBlock(),s.createElementBlock("input",{key:0,type:"hidden",name:n.name,value:e.plainValue!==void 0?e.plainValue:""},null,8,jO)):(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:1},s.renderList(e.plainValue,(o,A)=>(s.openBlock(),s.createElementBlock("input",{type:"hidden",name:`${n.name}[]`,value:o,key:A},null,8,YO))),128))],64)):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Screen reader assistive text "),n.searchable&&e.hasSelected?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(e.classList.assist),id:e.ariaAssist,"aria-hidden":"true"},s.toDisplayString(e.ariaLabel),11,qO)):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Create height for empty input "),s.createElementVNode("div",{class:s.normalizeClass(e.classList.spacer)},null,2)],42,IO)}Yt.render=XO,Yt.__file="src/Multiselect.vue";const JO={class:"search-bar"},ZO=s.defineComponent({__name:"SearchBar",props:jD,setup(e){const{t}=q(),n=s.ref(""),r=fn.useRouter(),a=e;function i(A,l,c){c.clear(),c.search=n.value,r.push(l.link),h2().addOption(l)}function o(A){n.value=A}return(A,l)=>(s.openBlock(),s.createElementBlock("div",JO,[s.createVNode(s.unref(Yt),{placeholder:s.unref(t)("navigation.searchPlaceholder"),"value-prop":"link","clear-on-blur":!1,"clear-on-search":!1,"clear-on-select":!1,"close-on-select":!0,delay:0,"filter-results":!1,groups:!0,"min-chars":0,"resolve-on-load":!1,searchable:!0,options:a.fetchSeachResult,onOpen:l[0]||(l[0]=c=>{c.noOptions&&c.resolveOptions()}),onSearchChange:o,onSelect:i},{option:s.withCtx(({option:c})=>[c.type==="card"?(s.openBlock(),s.createBlock(vt,{key:`card-${c.card.cardCode}`,class:"card-slice-item","maintain-aspect-ratio":!0,"card-prop":c.card,"router-link":c.link},null,8,["card-prop","router-link"])):(s.openBlock(),s.createBlock(vt,{key:`player-${c.link}`,class:"card-slice-item","maintain-aspect-ratio":!0,"ignore-card-item":!0,"card-code-prop":c.cardCode,color:c.color,name:c.name,"mana-number":c.rank,"router-link":c.link},null,8,["card-code-prop","color","name","mana-number","router-link"]))]),_:1},8,["placeholder","options"])]))}}),Fpe="",Vc=Q(ZO,[["__scopeId","data-v-f53c910f"]]),e7={class:"social-links"},t7={href:"https://discord.gg/tGTSXgDFVU"},n7={href:"https://twitter.com/LORGG__"},r7=s.defineComponent({__name:"SocialLinks",setup(e){return(t,n)=>(s.openBlock(),s.createElementBlock("div",e7,[s.createElementVNode("a",t7,[s.createVNode(s.unref(ke),{class:"icon",icon:"fa-brands fa-discord"})]),s.createElementVNode("a",n7,[s.createVNode(s.unref(ke),{class:"icon",icon:"fa-brands fa-twitter"})])]))}}),Ipe="",bh=Q(r7,[["__scopeId","data-v-e6a74c37"]]),a7={showModal:{type:Boolean,required:!0,default:!1}},i7=s.defineComponent({__name:"ModalItem",props:a7,emits:["update:showModal"],setup(e,{emit:t}){const n=e,r=t,a=s.ref(null),i=s.ref(!1);function o(){i.value&&r("update:showModal",!1)}s.onBeforeUnmount(()=>{var l;(l=a.value)==null||l.remove()});function A(){setTimeout(()=>{i.value=!1},1)}return s.watch(()=>n.showModal,()=>{n.showModal&&s.nextTick(()=>{a.value&&document.body.appendChild(a.value)})}),(l,c)=>n.showModal?(s.openBlock(),s.createElementBlock("div",{key:0,ref_key:"modalItem",ref:a,class:"modal-item",onMousedown:c[0]||(c[0]=s.withModifiers(d=>i.value=!0,["self"])),onClick:s.withModifiers(o,["self"]),onMouseup:A},[s.renderSlot(l.$slots,"default",{},void 0,!0)],544)):s.createCommentVNode("",!0)}}),Dpe="",Tr=Q(i7,[["__scopeId","data-v-ab68e9be"]]),o7={filterArray:{type:Array,required:!1,default:void 0},text:{type:String,required:!1,default:void 0},title:{type:String,required:!1,default:void 0}},s7={class:"filter"},A7={key:0,class:"top"},l7={key:0,class:"title"},c7={key:1,class:"text"},d7=s.defineComponent({__name:"SidePanelSectionPane",props:o7,emits:["clear:filterArray"],setup(e,{emit:t}){const n=e,r=t,a=s.computed(()=>n.filterArray&&n.filterArray.length>0?"clickable":null);function i(){r("clear:filterArray")}return(o,A)=>{const l=s.resolveDirective("t");return s.openBlock(),s.createElementBlock("div",s7,[n.title||o.filterArray?(s.openBlock(),s.createElementBlock("div",A7,[n.title?(s.openBlock(),s.createElementBlock("h2",l7,s.toDisplayString(n.title),1)):s.createCommentVNode("",!0),n.text?(s.openBlock(),s.createElementBlock("p",c7,s.toDisplayString(n.text),1)):o.filterArray?s.withDirectives((s.openBlock(),s.createElementBlock("p",{key:2,class:s.normalizeClass(["clear",a.value]),onClick:i},null,2)),[[l,"general.clear"]]):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),s.renderSlot(o.$slots,"default",{},void 0,!0)])}}}),Tpe="",ct=Q(d7,[["__scopeId","data-v-d45db483"]]),u7={filterArray:{type:Array,required:!0,default:[]}},f7=["placeholder"],p7=s.defineComponent({__name:"FilterSampleSize",props:u7,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref(r.filterArray),o=s.ref("");let A=setTimeout(()=>{},0);i.value.length>0&&(o.value=i.value[0]),s.watch(i,()=>{a("update:filterArray",i.value)}),s.watch(o,()=>{A&&clearTimeout(A),A=setTimeout(()=>{i.value.splice(0),o.value&&Number(o.value)>=10&&i.value.push(o.value)},1e3)});function l(){i.value.splice(0),o.value=""}return(c,d)=>(s.openBlock(),s.createBlock(ct,{"filter-array":i.value,title:s.unref(n)("general.sampleSize"),"onClear:filterArray":l},{default:s.withCtx(()=>[s.withDirectives(s.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>o.value=u),placeholder:s.unref(n)("general.minimumMatches"),type:"number",min:"10",step:"10"},null,8,f7),[[s.vModelText,o.value]])]),_:1},8,["filter-array","title"]))}}),Upe="",es=Q(p7,[["__scopeId","data-v-727f5a58"]]),h7={filterArray:{type:Array,required:!0,default:[]}},m7={isSelected:{type:Boolean,required:!0,default:!1},icon:{type:String,required:!1,default:void 0},prompt:{type:String,required:!0,default:""}},g7=["selected"],y7={class:"checkbox-name"},b7=s.defineComponent({__name:"CheckboxItem",props:m7,emits:["update:isSelected"],setup(e,{emit:t}){const n=e,r=t,a=s.computed(()=>(console.log(n.icon),{content:n.icon}));function i(){r("update:isSelected",!n.isSelected)}return(o,A)=>(s.openBlock(),s.createElementBlock("button",{class:"checkbox-item",selected:n.isSelected,onClick:i},[n.icon?(s.openBlock(),s.createElementBlock("div",{key:0,class:"checkbox-icon",style:s.normalizeStyle(a.value)},null,4)):s.createCommentVNode("",!0),s.createElementVNode("div",y7,s.toDisplayString(n.prompt),1)],8,g7))}}),Lpe="",nn=Q(b7,[["__scopeId","data-v-ab8b99a4"]]),w7={selectedOption:{type:Number,required:!0,default:-1},options:{type:Array,required:!0,default:[]}},B7={class:"toggle-switch"},v7=["onClick"],_7={class:"option flex-center"},C7={class:"option-text"},k7=s.defineComponent({__name:"ToggleSwitch",props:w7,emits:["update:selectedOption"],setup(e,{emit:t}){const n=e,r=t,a=s.computed(()=>({left:`calc(var(--spacing-1) + (100% - calc(var(--spacing-1) * 2)) / ${n.options.length} * ${n.selectedOption})`,width:`calc((100% - calc(var(--spacing-1) * 2)) / ${n.options.length})`}));function i(A){return{cursor:n.selectedOption!=A?"pointer":"default",left:`calc(var(--spacing-1) + (100% - calc(var(--spacing-1) * 2)) / ${n.options.length} * ${A})`,width:`${1/n.options.length*100}%`}}function o(A){r("update:selectedOption",A)}return(A,l)=>(s.openBlock(),s.createElementBlock("div",B7,[s.withDirectives(s.createElementVNode("div",{class:"selection-container",style:s.normalizeStyle(a.value)},[...l[0]||(l[0]=[s.createElementVNode("div",{class:"selection"},null,-1)])],4),[[s.vShow,A.selectedOption>-1]]),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.options,(c,d)=>(s.openBlock(),s.createElementBlock("div",{key:d,ref_for:!0,ref:"option-container",style:s.normalizeStyle(i(d)),class:"option-container",onClick:u=>o(d)},[s.createElementVNode("div",_7,[s.createElementVNode("h1",C7,s.toDisplayString(c),1)])],12,v7))),128))]))}}),Ope="",gA=Q(k7,[["__scopeId","data-v-d5d9745a"]]),x7={class:"checkboxes-container"},E7=s.defineComponent({__name:"FilterRanks",props:h7,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.computed(()=>Be().dataJson.ranks.sort((d,u)=>u.order-d.order)),o=s.reactive(r.filterArray),A=s.ref(0);s.watch(o,()=>{a("update:filterArray",o)}),s.watch(A,()=>{A.value===0?o.splice(0):A.value===1&&(o.splice(0),o.push("Platinum","Diamond","Masters"))});function l(){o.splice(0),A.value=0}function c(d){const u=o.indexOf(d);if(u===-1){o.push(d);return}o.splice(u,1)}return(d,u)=>(s.openBlock(),s.createBlock(ct,{"filter-array":o,title:s.unref(n)("general.ranks"),"onClear:filterArray":l},{default:s.withCtx(()=>[s.createElementVNode("div",x7,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.value,f=>(s.openBlock(),s.createBlock(nn,{key:f.nameRef,icon:`url(${f.icon})`,prompt:f.name,"is-selected":o.includes(f.nameRef),"onUpdate:isSelected":p=>c(f.nameRef)},null,8,["icon","prompt","is-selected","onUpdate:isSelected"]))),128)),s.createVNode(gA,{"selected-option":A.value,"onUpdate:selectedOption":u[0]||(u[0]=f=>A.value=f),options:[s.unref(n)("general.allRanks"),s.unref(n)("general.platPlus")]},null,8,["selected-option","options"])])]),_:1},8,["filter-array","title"]))}}),Qpe="",zw=Q(E7,[["__scopeId","data-v-af7bc2a0"]]),S7={filterArray:{type:Array,required:!0,default:[]}},F7={isSelected:{type:Boolean,required:!0,default:!1},prompt:{type:Number,required:!0,default:""}},I7=["selected"],D7={class:"prompt"},T7=s.defineComponent({__name:"CheckboxItemManaCost",props:F7,emits:["update:isSelected"],setup(e,{emit:t}){const n=e,r=t;function a(){r("update:isSelected",!n.isSelected)}return(i,o)=>(s.openBlock(),s.createElementBlock("button",{class:"checkbox-item",selected:n.isSelected,onClick:a},[s.createVNode(uA),s.createElementVNode("div",D7,s.toDisplayString(n.prompt===10?"+":n.prompt),1)],8,I7))}}),Mpe="",zc=Q(T7,[["__scopeId","data-v-2c74c2ed"]]),U7={class:"checkbox-rows-container"},L7={class:"top-row checkbox-items-container"},O7={class:"bottom-row checkbox-items-container"},Q7=s.defineComponent({__name:"FilterManaCost",props:S7,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=Array(6).fill(1).map((c,d)=>d),o=Array(5).fill(1).map((c,d)=>d+6);function A(c){let d;r.filterArray.includes(c)?d=r.filterArray.filter(u=>u!==c):d=[...r.filterArray,c],a("update:filterArray",d)}function l(){a("update:filterArray",[])}return(c,d)=>(s.openBlock(),s.createBlock(ct,{"filter-array":r.filterArray,title:s.unref(n)("general.manaCost"),"onClear:filterArray":l},{default:s.withCtx(()=>[s.createElementVNode("div",U7,[s.createElementVNode("div",L7,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(i),u=>(s.openBlock(),s.createBlock(zc,{key:u,class:"checkbox-item-mana-cost",prompt:u,"is-selected":r.filterArray.includes(u),"onUpdate:isSelected":f=>A(u)},null,8,["prompt","is-selected","onUpdate:isSelected"]))),128))]),s.createElementVNode("div",O7,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(o),u=>(s.openBlock(),s.createBlock(zc,{key:u,class:"checkbox-item-mana-cost",prompt:u,"is-selected":r.filterArray.includes(u),"onUpdate:isSelected":f=>A(u)},null,8,["prompt","is-selected","onUpdate:isSelected"]))),128))])])]),_:1},8,["filter-array","title"]))}}),Ppe="",wh=Q(Q7,[["__scopeId","data-v-a94d786a"]]),M7={filterArray:{type:Array,required:!0,default:[]}},P7={class:"checkboxes-container"},Bh=s.defineComponent({__name:"FilterRarities",props:M7,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.computed(()=>Be().dataJson.rarities.filter(c=>c.nameRef!=="None")),o=s.reactive(r.filterArray);s.watch(o,()=>{a("update:filterArray",o)});function A(){o.splice(0)}function l(c){const d=o.indexOf(c);if(d===-1){o.push(c);return}o.splice(d,1)}return(c,d)=>(s.openBlock(),s.createBlock(ct,{"filter-array":o,title:s.unref(n)("general.rarities"),"onClear:filterArray":A},{default:s.withCtx(()=>[s.createElementVNode("div",P7,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.value,u=>(s.openBlock(),s.createBlock(nn,{key:u.nameRef,icon:`url(${u.icon})`,prompt:u.name,"is-selected":o.includes(u.nameRef),"onUpdate:isSelected":f=>l(u.nameRef)},null,8,["icon","prompt","is-selected","onUpdate:isSelected"]))),128))])]),_:1},8,["filter-array","title"]))}}),N7={filterArray:{type:Array,required:!0,default:[]}},R7={class:"multiselect-tag",tabindex:"-1","aria-label":"{{option.name}} ❎"},H7=["src"],V7={class:"multiselect-tag-remove"},z7=["onMousedown"],$7=["src"],vh=s.defineComponent({__name:"FilterSets",props:N7,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref(r.filterArray);s.watch(i,()=>{a("update:filterArray",i.value)});function o(){i.value.splice(0)}return(A,l)=>(s.openBlock(),s.createBlock(ct,{"filter-array":i.value,title:s.unref(n)("general.sets"),"onClear:filterArray":o},{default:s.withCtx(()=>[s.createVNode(s.unref(Yt),{modelValue:i.value,"onUpdate:modelValue":l[0]||(l[0]=c=>i.value=c),placeholder:s.unref(n)("general.sets"),class:"runeterra-select",mode:"tags",options:s.unref(Be)().dataJson.sets,searchable:!0,label:"name","value-prop":"nameRef"},{tag:s.withCtx(({option:c,handleTagRemove:d})=>[s.createElementVNode("span",R7,[s.createElementVNode("img",{class:"label-icon",src:c.icon},null,8,H7),s.createElementVNode("span",V7,[s.createElementVNode("span",{class:"multiselect-tag-remove-icon",onMousedown:s.withModifiers(u=>d(c,u),["prevent"])},null,40,z7)])])]),option:s.withCtx(({option:c})=>[s.createElementVNode("img",{class:"label-icon",src:c.icon},null,8,$7),s.createTextVNode(" "+s.toDisplayString(c.name),1)]),_:1},8,["modelValue","placeholder","options"])]),_:1},8,["filter-array","title"]))}}),K7={filterArray:{type:Array,required:!0,default:[]}},W7={class:"multiselect-tag",tabindex:"-1","aria-label":"{{option.name}} ❎"},G7=["src"],j7={class:"multiselect-tag-remove"},Y7=["onMousedown"],q7=["src"],_h=s.defineComponent({__name:"FilterKeywords",props:K7,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref(r.filterArray),o=s.computed(()=>Be().dataJson.keywords.filter(l=>l.showInFilter));s.watch(i,()=>{a("update:filterArray",i.value)});function A(){i.value.splice(0)}return(l,c)=>(s.openBlock(),s.createBlock(ct,{"filter-array":i.value,title:s.unref(n)("general.keywords"),"onClear:filterArray":A},{default:s.withCtx(()=>[s.createVNode(s.unref(Yt),{modelValue:i.value,"onUpdate:modelValue":c[0]||(c[0]=d=>i.value=d),placeholder:s.unref(n)("general.keywords"),class:"runeterra-select",mode:"tags",options:o.value,searchable:!0,label:"name","value-prop":"nameRef"},{tag:s.withCtx(({option:d,handleTagRemove:u})=>[s.createElementVNode("span",W7,[s.createElementVNode("img",{class:"label-icon",src:d.icon},null,8,G7),s.createElementVNode("span",j7,[s.createElementVNode("span",{class:"multiselect-tag-remove-icon",onMousedown:s.withModifiers(f=>u(d,f),["prevent"])},null,40,Y7)])])]),option:s.withCtx(({option:d})=>[s.createElementVNode("img",{class:"label-icon",src:d.icon},null,8,q7),s.createTextVNode(" "+s.toDisplayString(d.name),1)]),_:1},8,["modelValue","placeholder","options"])]),_:1},8,["filter-array","title"]))}}),X7={filterArray:{type:Array,required:!0,default:[]}},J7={class:"checkboxes-container"},ts=s.defineComponent({__name:"FilterServers",props:X7,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.reactive(r.filterArray);s.watch(i,()=>{a("update:filterArray",i)});function o(){i.splice(0)}function A(l){const c=i.indexOf(l);if(c===-1){i.push(l);return}i.splice(c,1)}return(l,c)=>(s.openBlock(),s.createBlock(ct,{"filter-array":i,title:s.unref(n)("general.servers"),"onClear:filterArray":o},{default:s.withCtx(()=>[s.createElementVNode("div",J7,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Be)().dataJson.servers,d=>(s.openBlock(),s.createBlock(nn,{key:d.nameRef,prompt:d.name,"is-selected":i.includes(d.nameRef),"onUpdate:isSelected":u=>A(d.nameRef)},null,8,["prompt","is-selected","onUpdate:isSelected"]))),128))])]),_:1},8,["filter-array","title"]))}}),Z7={filterArray:{type:Array,required:!0,default:[]},allowZero:{type:Boolean,required:!1,default:!1}},e9={class:"checkboxes-container"},t9=s.defineComponent({__name:"FilterTime",props:Z7,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.reactive(r.filterArray),o=s.ref(null),A=s.ref(null),l=i.find(h=>h.startsWith("patch_"));l&&(o.value=l);const c=i.find(h=>h.startsWith("season_"));c&&(A.value=c);const d=s.computed(()=>r.allowZero&&i.filter(h=>h.startsWith("patch")).length>0||!r.allowZero&&i.filter(h=>!h.startsWith("patch")).length===0);s.watch(i,()=>{a("update:filterArray",i)}),s.watch(o,(h,m)=>{u(h,m)}),s.watch(A,(h,m)=>{u(h,m)});function u(h,m){console.log(m,h),m&&i.splice(i.indexOf(m),1),h&&i.push(h),console.log(i)}function f(){i.splice(0),o.value=null,A.value=null}function p(h){i.splice(0),(r.allowZero||h!=="patch")&&i.push(h),h==="patch"&&o.value&&i.push(o.value),h==="season"&&A.value&&i.push(A.value)}return(h,m)=>(s.openBlock(),s.createBlock(ct,{class:"side-panel-section-pane","filter-array":i,title:s.unref(n)("general.time"),"onClear:filterArray":f},{default:s.withCtx(()=>[s.createElementVNode("div",e9,[s.createVNode(nn,{prompt:s.unref(n)("general.patch"),"is-selected":d.value,"onUpdate:isSelected":m[0]||(m[0]=b=>p("patch"))},null,8,["prompt","is-selected"]),s.createVNode(nn,{prompt:s.unref(n)("general.season"),"is-selected":i.includes("season"),"onUpdate:isSelected":m[1]||(m[1]=b=>p("season"))},null,8,["prompt","is-selected"]),s.createVNode(nn,{prompt:s.unref(n)("general.pastDays",7),"is-selected":i.includes("7days"),"onUpdate:isSelected":m[2]||(m[2]=b=>p("7days"))},null,8,["prompt","is-selected"]),s.createVNode(nn,{prompt:s.unref(n)("general.pastDays",3),"is-selected":i.includes("3days"),"onUpdate:isSelected":m[3]||(m[3]=b=>p("3days"))},null,8,["prompt","is-selected"]),s.createVNode(nn,{prompt:s.unref(n)("general.pastHours",24),"is-selected":i.includes("24hours"),"onUpdate:isSelected":m[4]||(m[4]=b=>p("24hours"))},null,8,["prompt","is-selected"]),s.createVNode(nn,{prompt:s.unref(n)("general.pastHour"),"is-selected":i.includes("1hour"),"onUpdate:isSelected":m[5]||(m[5]=b=>p("1hour"))},null,8,["prompt","is-selected"]),d.value?(s.openBlock(),s.createBlock(s.unref(Yt),{key:0,modelValue:o.value,"onUpdate:modelValue":m[6]||(m[6]=b=>o.value=b),options:s.unref(Be)().dataJson.patches,searchable:!0,label:"name","value-prop":"nameRef",placeholder:s.unref(n)("general.patches")},null,8,["modelValue","options","placeholder"])):s.createCommentVNode("",!0),i.includes("season")?(s.openBlock(),s.createBlock(s.unref(Yt),{key:1,modelValue:A.value,"onUpdate:modelValue":m[7]||(m[7]=b=>A.value=b),options:s.unref(Be)().dataJson.seasons,searchable:!0,label:"name","value-prop":"nameRef",placeholder:s.unref(n)("general.seasons")},null,8,["modelValue","options","placeholder"])):s.createCommentVNode("",!0)])]),_:1},8,["filter-array","title"]))}}),Npe="",Ki=Q(t9,[["__scopeId","data-v-921cb269"]]),n9={filterArray:{type:Array,required:!0,default:[]}},r9={cardCodes:{type:[Array,String,null],required:!0,default:[]},filterCallback:{type:Function,required:!1,default:()=>!0},mode:{type:String,required:!1,default:"tags"}},a9=s.defineComponent({__name:"CardMultiselect",props:r9,emits:["update:cardCodes"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref(r.cardCodes),o=s.computed(()=>{let A=Tp().cardJson.sort((l,c)=>l.name.localeCompare(c.name));return r.filterCallback&&(A=A.filter(r.filterCallback)),A});return s.watch(i,()=>{a("update:cardCodes",i.value)}),(A,l)=>(s.openBlock(),s.createBlock(s.unref(Yt),{modelValue:i.value,"onUpdate:modelValue":l[0]||(l[0]=c=>i.value=c),class:"multiselect",placeholder:s.unref(n)("cards.cards"),mode:r.mode,options:o.value,infinite:!0,limit:10,searchable:!0,label:"name","value-prop":"cardCode"},null,8,["modelValue","placeholder","mode","options"]))}}),Rpe="",Ch=Q(a9,[["__scopeId","data-v-e46bd34a"]]),$c=s.defineComponent({__name:"FilterCardCodes",props:n9,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref(r.filterArray);s.watch(i,()=>{console.log("watch(filterArray)",i.value),a("update:filterArray",i.value)});function o(){i.value.splice(0)}function A(l){return l.collectible}return(l,c)=>(s.openBlock(),s.createBlock(ct,{"filter-array":i.value,title:s.unref(n)("cards.cards"),"onClear:filterArray":o},{default:s.withCtx(()=>[s.createVNode(Ch,{cardCodes:i.value,"onUpdate:cardCodes":c[0]||(c[0]=d=>i.value=d),mode:"tags","filter-callback":A},null,8,["cardCodes"])]),_:1},8,["filter-array","title"]))}}),i9={filterArray:{type:Array,required:!0,default:[]}},o9={class:"checkboxes-container"},s9=s.defineComponent({__name:"FilterRegions",props:i9,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.reactive(r.filterArray),o=s.ref([]);o.value.push(...i.filter(c=>To(c))),s.watch(i,()=>{a("update:filterArray",i)}),s.watch(o,(c,d)=>{let u=c.find(f=>!d.includes(f));if(u||(u=d.find(f=>!c.includes(f)),u))return l(u)});function A(){i.splice(0),o.value.slice(0)}function l(c){const d=i.indexOf(c);if(d===-1){i.push(c),c==="Runeterra"&&i.push(...o.value);return}if(i.splice(d,1),c==="Runeterra")for(let u=0;u<i.length;u++)To(i[u])&&i.splice(u--,1)}return(c,d)=>(s.openBlock(),s.createBlock(ct,{"filter-array":i,title:s.unref(n)("general.regions"),"onClear:filterArray":A},{default:s.withCtx(()=>[s.createElementVNode("div",o9,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Be)().dataJson.regions,u=>(s.openBlock(),s.createBlock(nn,{key:u.nameRef,icon:`url(${u.icon})`,prompt:u.name,"is-selected":i.includes(u.nameRef),"onUpdate:isSelected":f=>l(u.nameRef)},null,8,["icon","prompt","is-selected","onUpdate:isSelected"]))),128)),s.createVNode(nn,{class:"runeterra",prompt:"Runeterra","is-selected":i.includes("Runeterra"),"onUpdate:isSelected":d[0]||(d[0]=u=>l("Runeterra"))},null,8,["is-selected"]),i.includes("Runeterra")?(s.openBlock(),s.createBlock(s.unref(Yt),{key:0,modelValue:o.value,"onUpdate:modelValue":d[1]||(d[1]=u=>o.value=u),class:"runeterra-select",mode:"tags",options:s.unref(Be)().dataJson.runeterraChampions,searchable:!0,label:"name","value-prop":"nameRef"},null,8,["modelValue","options"])):s.createCommentVNode("",!0)])]),_:1},8,["filter-array","title"]))}}),Hpe="",yA=Q(s9,[["__scopeId","data-v-c93a9e90"]]),A9={filters:{type:Object,required:!0,default:{cardFilters:[],regionFilters:[],sampleSizeFilters:[],serverFilters:[],timeFilters:[],formatFilters:[],queueFilters:[]}},includeDataFilters:{type:Boolean,required:!1,default:!0}},l9={filterArray:{type:Array,required:!0,default:[]},allowZero:{type:Boolean,required:!1,default:!1}},c9={class:"checkboxes-container"},d9=s.defineComponent({__name:"FilterFormat",props:l9,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.computed(()=>{const f=Be().dataJson.queues;return Object.values(Be().dataJson.formats).filter(p=>p.availableQueues.some(h=>!f[h].excludeInMassFilter))}),o=s.computed(()=>i.value.filter(f=>!f.inDropdown)),A=s.computed(()=>i.value.filter(f=>f.inDropdown)),l=s.reactive(r.filterArray),c=s.ref(null);s.onMounted(()=>{l.length>0&&A.value.map(f=>f.nameRef).includes(l[0])&&(c.value=l[0])}),s.watch(l,()=>{a("update:filterArray",l),l.length===0&&(c.value=null)}),s.watch(c,()=>{c.value&&(l.splice(0),l.push(c.value))});function d(f){c.value=null,l.splice(0),f!==ir.Standard&&l.push(f)}function u(){l.splice(0)}return(f,p)=>(s.openBlock(),s.createBlock(ct,{"filter-array":l,title:s.unref(n)("general.format"),"onClear:filterArray":u},{default:s.withCtx(()=>[s.createElementVNode("div",c9,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.value,h=>(s.openBlock(),s.createBlock(nn,{prompt:h.name,"is-selected":l.includes(h.nameRef)||!r.allowZero&&h.nameRef==="Standard"&&l.length===0,"onUpdate:isSelected":m=>d(h.nameRef)},null,8,["prompt","is-selected","onUpdate:isSelected"]))),256)),A.value.length>0?(s.openBlock(),s.createBlock(s.unref(Yt),{key:0,modelValue:c.value,"onUpdate:modelValue":p[0]||(p[0]=h=>c.value=h),options:A.value,searchable:!1,placeholder:s.unref(n)("general.otherFormats"),label:"name","value-prop":"nameRef",onClear:u},null,8,["modelValue","options","placeholder"])):s.createCommentVNode("",!0)])]),_:1},8,["filter-array","title"]))}}),Vpe="",bA=Q(d9,[["__scopeId","data-v-22de9b40"]]),u9={filterArray:{type:Array,required:!0,default:[]},availableQueues:{type:Array,required:!0,default:[]}},wA=s.defineComponent({__name:"FilterQueues",props:u9,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref(r.filterArray),o=s.computed(()=>Object.values(Be().dataJson.queues).filter(l=>r.availableQueues.includes(l.nameRef)&&!l.excludeInMassFilter));s.watch(i,()=>{a("update:filterArray",i.value)});function A(){i.value.splice(0)}return(l,c)=>r.availableQueues.length>1?(s.openBlock(),s.createBlock(ct,{key:0,"filter-array":i.value,title:s.unref(n)("general.queues"),"onClear:filterArray":A},{default:s.withCtx(()=>{var d,u;return[s.createVNode(s.unref(Yt),{modelValue:i.value,"onUpdate:modelValue":c[0]||(c[0]=f=>i.value=f),placeholder:(u=(d=o.value)==null?void 0:d.find(f=>f.nameRef===s.unref(k0).Ranked))==null?void 0:u.name,class:"runeterra-select",mode:"tags",options:o.value,searchable:!0,label:"name","value-prop":"nameRef"},null,8,["modelValue","placeholder","options"])]}),_:1},8,["filter-array","title"])):s.createCommentVNode("",!0)}}),f9={filterObject:{type:Object,required:!1,default:void 0},showClearAll:{type:Boolean,required:!1,default:!0}},p9={class:"filter"},h9={key:0,class:"top"},m9=s.defineComponent({__name:"SidePanel",props:f9,emits:["clear:filterObject"],setup(e,{emit:t}){const n=e,r=t,a=s.computed(()=>n.filterObject&&Object.values(n.filterObject).some(o=>o.length>0)?"clickable":null);function i(){r("clear:filterObject")}return(o,A)=>{const l=s.resolveDirective("t");return s.openBlock(),s.createElementBlock("div",p9,[n.showClearAll&&n.filterObject?(s.openBlock(),s.createElementBlock("div",h9,[s.withDirectives(s.createElementVNode("p",{class:s.normalizeClass(["clear",a.value]),onClick:i},null,2),[[l,"general.clearAll"]])])):s.createCommentVNode("",!0),s.renderSlot(o.$slots,"default",{},void 0,!0)])}}}),zpe="",Wi=Q(m9,[["__scopeId","data-v-6a93fcc1"]]),$w=s.defineComponent({__name:"FilterDecks",props:A9,emits:["update:filters"],setup(e,{emit:t}){const n=e,r=t,a=s.reactive(n.filters);s.watch(a,()=>{r("update:filters",a)});const i=s.computed(()=>{var A;return(A=Be().dataJson.formats[a.formatFilters[0]??"Standard"])==null?void 0:A.availableQueues});function o(){for(const[,A]of Object.entries(a))A.splice(0)}return(A,l)=>(s.openBlock(),s.createBlock(Wi,{"filter-object":n.filters,"onClear:filterObject":o},{default:s.withCtx(()=>[s.createVNode(yA,{"filter-array":a.regionFilters,"onUpdate:filterArray":l[0]||(l[0]=c=>a.regionFilters=c)},null,8,["filter-array"]),s.createVNode($c,{"filter-array":a.cardFilters,"onUpdate:filterArray":l[1]||(l[1]=c=>a.cardFilters=c)},null,8,["filter-array"]),s.createVNode(bA,{"filter-array":a.formatFilters,"onUpdate:filterArray":l[2]||(l[2]=c=>a.formatFilters=c)},null,8,["filter-array"]),n.includeDataFilters?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createVNode(wA,{"filter-array":a.queueFilters,"onUpdate:filterArray":l[3]||(l[3]=c=>a.queueFilters=c),"available-queues":i.value},null,8,["filter-array","available-queues"]),s.createVNode(es,{"filter-array":a.sampleSizeFilters,"onUpdate:filterArray":l[4]||(l[4]=c=>a.sampleSizeFilters=c)},null,8,["filter-array"]),s.createVNode(Ki,{"filter-array":a.timeFilters,"onUpdate:filterArray":l[5]||(l[5]=c=>a.timeFilters=c)},null,8,["filter-array"]),s.createVNode(ts,{"filter-array":a.serverFilters,"onUpdate:filterArray":l[6]||(l[6]=c=>a.serverFilters=c)},null,8,["filter-array"])],64)):s.createCommentVNode("",!0)]),_:1},8,["filter-object"]))}}),g9={filters:{type:Object,required:!0,default:{cardFilters:[],regionFilters:[],sampleSizeFilters:[],serverFilters:[],timeFilters:[],formatFilters:[],queueFilters:[]}},includeDataFilters:{type:Boolean,required:!1,default:!0}},y9={filterArray:{type:Array,required:!0,default:[]},placeholder:{type:String,required:!1},title:{type:String,required:!1,default:"Text"}},b9=["placeholder"],w9=s.defineComponent({__name:"FilterText",props:y9,emits:["update:filterArray"],setup(e,{emit:t}){const n=e,r=t,a=s.ref(n.filterArray),i=s.ref("");let o=setTimeout(()=>{},0);a.value.length>0&&(i.value=a.value[0]),s.watch(a,()=>{r("update:filterArray",a.value)}),s.watch(i,()=>{o&&clearTimeout(o),o=setTimeout(()=>{a.value.splice(0),i.value&&a.value.push(i.value)},1e3)});function A(){a.value.splice(0),i.value=""}return(l,c)=>(s.openBlock(),s.createBlock(ct,{"filter-array":a.value,title:n.title,"onClear:filterArray":A},{default:s.withCtx(()=>[s.withDirectives(s.createElementVNode("input",{"onUpdate:modelValue":c[0]||(c[0]=d=>i.value=d),placeholder:n.placeholder,type:"text"},null,8,b9),[[s.vModelText,i.value]])]),_:1},8,["filter-array","title"]))}}),$pe="",BA=Q(w9,[["__scopeId","data-v-e9c34cae"]]),Kw=s.defineComponent({__name:"FilterProfile",props:g9,emits:["update:filters"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.reactive(r.filters);s.watch(i,()=>{a("update:filters",i)});const o=s.computed(()=>{var l;return i.formatFilters.length===0?[]:(l=Be().dataJson.formats[i.formatFilters[0]??"Standard"])==null?void 0:l.availableQueues});function A(){for(const[,l]of Object.entries(i))l.splice(0)}return(l,c)=>(s.openBlock(),s.createBlock(Wi,{"filter-object":r.filters,"onClear:filterObject":A},{default:s.withCtx(()=>[s.createVNode(yA,{"filter-array":i.regionFilters,"onUpdate:filterArray":c[0]||(c[0]=d=>i.regionFilters=d)},null,8,["filter-array"]),s.createVNode($c,{"filter-array":i.cardFilters,"onUpdate:filterArray":c[1]||(c[1]=d=>i.cardFilters=d)},null,8,["filter-array"]),s.createVNode(BA,{"filter-array":i.deckCodeFilters,"onUpdate:filterArray":c[2]||(c[2]=d=>i.deckCodeFilters=d),placeholder:s.unref(n)("general.deckCode"),title:s.unref(n)("general.deckCode")},null,8,["filter-array","placeholder","title"]),s.createVNode(BA,{"filter-array":i.playerFilters,"onUpdate:filterArray":c[3]||(c[3]=d=>i.playerFilters=d),placeholder:s.unref(n)("general.players"),title:s.unref(n)("general.players")},null,8,["filter-array","placeholder","title"]),s.createVNode(es,{"filter-array":i.sampleSizeFilters,"onUpdate:filterArray":c[4]||(c[4]=d=>i.sampleSizeFilters=d)},null,8,["filter-array"]),s.createVNode(bA,{"allow-zero":!0,"filter-array":i.formatFilters,"onUpdate:filterArray":c[5]||(c[5]=d=>i.formatFilters=d)},null,8,["filter-array"]),s.createVNode(wA,{"filter-array":i.queueFilters,"onUpdate:filterArray":c[6]||(c[6]=d=>i.queueFilters=d),"available-queues":o.value},null,8,["filter-array","available-queues"]),s.createVNode(Ki,{"allow-zero":!0,"filter-array":i.timeFilters,"onUpdate:filterArray":c[7]||(c[7]=d=>i.timeFilters=d)},null,8,["filter-array"])]),_:1},8,["filter-object"]))}}),B9={filterValue:{type:Object,required:!0,default:{attribute:"attack",equality:">",number:0}}},v9={class:"advanced-filter-item"},_9=["value"],C9=s.defineComponent({__name:"AdvancedFilterItem",props:B9,emits:["update:filterValue"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=[{value:"attack",label:n("cards.attack")},{value:"health",label:n("cards.health")},{value:"cost",label:n("cards.cost")},{value:"quantityOwned",label:n("cards.quantityOwned")}],o=s.ref(r.filterValue.attribute);s.watch(o,()=>{a("update:filterValue",{attribute:o.value,equality:r.filterValue.equality,number:r.filterValue.number})});function A(){let c=">";r.filterValue.equality===">"?c="<":r.filterValue.equality==="<"&&(c="="),a("update:filterValue",{attribute:r.filterValue.attribute,equality:c,number:r.filterValue.number})}function l(c){a("update:filterValue",{attribute:r.filterValue.attribute,equality:r.filterValue.equality,number:Number(c.target.value)})}return(c,d)=>(s.openBlock(),s.createElementBlock("div",v9,[s.createVNode(s.unref(Yt),{modelValue:o.value,"onUpdate:modelValue":d[0]||(d[0]=u=>o.value=u),class:"advanced-attribute",options:i,"can-clear":!1,label:"label","value-prop":"value"},null,8,["modelValue"]),s.createElementVNode("div",{class:"equality-button",onClick:A},s.toDisplayString(r.filterValue.equality),1),s.createElementVNode("input",{type:"number",class:"equality-number",value:r.filterValue.number,onInput:l},null,40,_9)]))}}),Kpe="",kh=Q(C9,[["__scopeId","data-v-eb2d535d"]]),k9={filterValue:{type:Array,required:!0,default:[]}},x9=s.defineComponent({__name:"FilterAdvanced",props:k9,emits:["update:filterValue"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.reactive(r.filterValue);s.watch(i,()=>{a("update:filterValue",i)});function o(){i.splice(0)}function A(){i.push({attribute:"attack",equality:">",number:0})}return(l,c)=>(s.openBlock(),s.createBlock(ct,{class:"advanced-filters","filter-array":i,title:s.unref(n)("general.advanced"),"onClear:filterArray":o},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i,(d,u)=>(s.openBlock(),s.createBlock(kh,{key:u,"filter-value":i[u],"onUpdate:filterValue":f=>i[u]=f,class:"advanced-filter-item"},null,8,["filter-value","onUpdate:filterValue"]))),128)),s.createElementVNode("div",{class:"new-advanced-filter",onClick:A},s.toDisplayString(s.unref(n)("general.newAdvancedFilter")),1)]),_:1},8,["filter-array","title"]))}}),Wpe="",xh=Q(x9,[["__scopeId","data-v-6c23ee29"]]),E9={filterArray:{type:Array,required:!0,default:[]}},S9={class:"checkboxes-container"},Eh=s.defineComponent({__name:"FilterTypes",props:E9,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.computed(()=>Be().dataJson.types.filter(c=>["Unit","Spell","Landmark","Equipment"].includes(c.nameRef))),o=s.reactive(r.filterArray);s.watch(o,()=>{a("update:filterArray",o)});function A(){o.splice(0)}function l(c){const d=o.indexOf(c);if(d===-1){o.push(c);return}o.splice(d,1)}return(c,d)=>(s.openBlock(),s.createBlock(ct,{"filter-array":r.filterArray,title:s.unref(n)("general.types"),"onClear:filterArray":A},{default:s.withCtx(()=>[s.createElementVNode("div",S9,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.value,u=>(s.openBlock(),s.createBlock(nn,{key:u.nameRef,icon:`url(${u.icon})`,prompt:u.name,"is-selected":o.includes(u.nameRef),"onUpdate:isSelected":f=>l(u.nameRef)},null,8,["icon","prompt","is-selected","onUpdate:isSelected"]))),128))])]),_:1},8,["filter-array","title"]))}}),F9={filters:{type:Object,required:!0,default:{advancedFilters:[],regionFilters:[],manaCostFilters:[],typeFilters:[],rarityFilters:[],setFilters:[],keywordFilters:[],textFilters:[],cardFormatFilters:[]}}},I9={filterArray:{type:Array,required:!0,default:[]}},D9={class:"checkboxes-container"},T9=s.defineComponent({__name:"FilterCardFormats",props:I9,emits:["update:filterArray"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.reactive(r.filterArray);s.watch(i,()=>{a("update:filterArray",i)});function o(){i.splice(0)}function A(l){const c=i.indexOf(l);if(c===-1){i.push(l);return}i.splice(c,1)}return(l,c)=>(s.openBlock(),s.createBlock(ct,{"filter-array":i,title:s.unref(n)("general.format"),"onClear:filterArray":o},{default:s.withCtx(()=>[s.createElementVNode("div",D9,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Be)().dataJson.cardFormats.filter(d=>[s.unref(ir).Standard,s.unref(ir).Eternal].includes(d.nameRef)),d=>(s.openBlock(),s.createBlock(nn,{key:d.nameRef,prompt:d.name,"is-selected":i.includes(d.nameRef),"onUpdate:isSelected":u=>A(d.nameRef)},null,8,["prompt","is-selected","onUpdate:isSelected"]))),128))])]),_:1},8,["filter-array","title"]))}}),Ww=s.defineComponent({__name:"FilterCards",props:F9,emits:["update:filters"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.reactive(r.filters);s.watch(i,()=>{a("update:filters",i)});const o=s.computed(()=>{var l;return"formatFilters"in i?(l=Be().dataJson.formats[i.formatFilters[0]??"Standard"])==null?void 0:l.availableQueues:[]});function A(){for(const[,l]of Object.entries(i))l.splice(0)}return(l,c)=>(s.openBlock(),s.createBlock(Wi,{"filter-object":r.filters,"onClear:filterObject":A},{default:s.withCtx(()=>[s.createVNode(s.unref(BA),{"filter-array":i.textFilters,"onUpdate:filterArray":c[0]||(c[0]=d=>i.textFilters=d),placeholder:s.unref(n)("general.text"),title:s.unref(n)("general.text")},null,8,["filter-array","placeholder","title"]),s.createVNode(wh,{"filter-array":i.manaCostFilters,"onUpdate:filterArray":c[1]||(c[1]=d=>i.manaCostFilters=d)},null,8,["filter-array"]),"cardFormatFilters"in i?(s.openBlock(),s.createBlock(T9,{key:0,"filter-array":i.cardFormatFilters,"onUpdate:filterArray":c[2]||(c[2]=d=>i.cardFormatFilters=d)},null,8,["filter-array"])):s.createCommentVNode("",!0),s.createVNode(yA,{"filter-array":i.regionFilters,"onUpdate:filterArray":c[3]||(c[3]=d=>i.regionFilters=d)},null,8,["filter-array"]),s.createVNode(Eh,{"filter-array":i.typeFilters,"onUpdate:filterArray":c[4]||(c[4]=d=>i.typeFilters=d)},null,8,["filter-array"]),s.createVNode(Bh,{"filter-array":i.rarityFilters,"onUpdate:filterArray":c[5]||(c[5]=d=>i.rarityFilters=d)},null,8,["filter-array"]),s.createVNode(vh,{"filter-array":i.setFilters,"onUpdate:filterArray":c[6]||(c[6]=d=>i.setFilters=d)},null,8,["filter-array"]),s.createVNode(_h,{"filter-array":i.keywordFilters,"onUpdate:filterArray":c[7]||(c[7]=d=>i.keywordFilters=d)},null,8,["filter-array"]),s.createVNode(xh,{"filter-value":i.advancedFilters,"onUpdate:filterValue":c[8]||(c[8]=d=>i.advancedFilters=d)},null,8,["filter-value"]),"serverFilters"in i?(s.openBlock(),s.createBlock(s.unref(ts),{key:1,"filter-array":i.serverFilters,"onUpdate:filterArray":c[9]||(c[9]=d=>i.serverFilters=d)},null,8,["filter-array"])):s.createCommentVNode("",!0),"timeFilters"in i?(s.openBlock(),s.createBlock(Ki,{key:2,"filter-array":i.timeFilters,"onUpdate:filterArray":c[10]||(c[10]=d=>i.timeFilters=d)},null,8,["filter-array"])):s.createCommentVNode("",!0),"formatFilters"in i?(s.openBlock(),s.createBlock(bA,{key:3,"filter-array":i.formatFilters,"onUpdate:filterArray":c[11]||(c[11]=d=>i.formatFilters=d)},null,8,["filter-array"])):s.createCommentVNode("",!0),"queueFilters"in i?(s.openBlock(),s.createBlock(wA,{key:4,"filter-array":i.queueFilters,"onUpdate:filterArray":c[12]||(c[12]=d=>i.queueFilters=d),"available-queues":o.value},null,8,["filter-array","available-queues"])):s.createCommentVNode("",!0)]),_:1},8,["filter-object"]))}}),U9={regionRef:{type:String,required:!0,default:"Ionia"}},L9={text:{type:String,required:!0,default:""}},O9=["innerHTML"],Q9=s.defineComponent({__name:"TippyText",props:L9,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",{class:"tippy-text",innerHTML:t.text},null,8,O9))}}),Gpe="",Kc=Q(Q9,[["__scopeId","data-v-715107fe"]]),M9={class:"region-item"},P9=["alt","src"],N9=s.defineComponent({__name:"RegionItem",props:U9,setup(e){const t=e,n=s.ref(null),r=s.ref(null),a=s.computed(()=>Be().dataJson.regions.find(i=>i.nameRef==t.regionRef)??Be().dataJson.runeterraChampions.find(i=>i.nameRef===t.regionRef));return s.onMounted(()=>{tt(n.value,{content:r.value,arrow:!0})}),(i,o)=>{var A,l,c;return s.openBlock(),s.createElementBlock("div",M9,[s.createElementVNode("img",{ref_key:"regionImg",ref:n,alt:(A=a.value)==null?void 0:A.name,src:(l=a.value)==null?void 0:l.icon,class:"region-img"},null,8,P9),s.createElementVNode("div",{ref_key:"regionTippy",ref:r},[s.createVNode(Kc,{text:(c=a.value)==null?void 0:c.name},null,8,["text"])],512)])}}}),jpe="",vA=Q(N9,[["__scopeId","data-v-3d756f50"]]),R9={deckCode:{type:String,required:!0,default:""},deck:{type:Object,required:!1},cards:{type:Array,required:!1},describeRegions:{type:Boolean,required:!1,default:!1}},H9={class:"regions-line"},V9={key:0,class:"describe-regions"},z9={class:"lines"},$9=s.defineComponent({__name:"RegionsLine",props:R9,setup(e){const{t}=q(),n=e,r=s.computed(()=>n.deck?n.deck:kt(n.deckCode)),a=s.computed(()=>n.cards?n.cards:Zt(r.value)),i=s.computed(()=>{const A={};for(const l of ec(r.value))A[l]=0;for(const l of a.value)for(const c of l.regionRefs)c in A&&(A[c]+=r.value[l.cardCode]);return A});function o(A,l){return{flexGrow:A,backgroundColor:`var(--color-${l}, var(--color-Runeterra))`}}return(A,l)=>(s.openBlock(),s.createElementBlock("div",H9,[n.describeRegions?(s.openBlock(),s.createElementBlock("div",V9,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.value,(c,d)=>(s.openBlock(),s.createElementBlock("div",{key:d,class:"region-description"},[s.createVNode(vA,{"region-ref":d,class:"icon"},null,8,["region-ref"]),s.createElementVNode("span",null,s.toDisplayString(`${c} ${s.unref(t)("general.cards")}`),1)]))),128))])):s.createCommentVNode("",!0),s.createElementVNode("div",z9,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.value,(c,d)=>(s.openBlock(),s.createElementBlock("div",{key:d,style:s.normalizeStyle(o(c,d)),class:"region-line"},null,4))),128))])]))}}),Ype="",Sh=Q($9,[["__scopeId","data-v-f1f94f8b"]]),K9={routerLink:{type:Object,required:!0,default:{path:"/404"}},cardCode:{type:String,required:!0,default:"01IO001"},toggledStats:{type:Object,required:!0,default:{matches:!0,winrate:!0,inclusion:!0,avgCopies:!0,mulliganWinrate:!1,kept:!1,drawnWinrate:!1,turnsHeld:!1,turnPlayed:!1}},index:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:1},region:{type:String,required:!0,default:""},wins:{type:Number,required:!0,default:1},inclusion:{type:Number,required:!0,default:.5},avgCopies:{type:Number,required:!0,default:1},mulliganWinrate:{type:Number,required:!1,default:void 0},keptInMulligan:{type:Number,required:!1,default:void 0},drawnWinrate:{type:Number,required:!1,default:void 0},turnsHeld:{type:Number,required:!1,default:void 0},turnPlayed:{type:Number,required:!1,default:void 0}},W9={class:"cards-row-background-wrapper"},G9={class:"cards-row-background"},j9={class:"cards-row wrapper"},Y9={key:0,class:"column-content"},q9={key:2,class:"column-content"},X9={key:3,class:"column-content"},J9={key:5,class:"column-content"},Z9={key:7,class:"column-content"},eQ={key:8,class:"column-content"},tQ=s.defineComponent({__name:"CardsRow",props:K9,setup(e){const t=e,n=s.computed(()=>["",ve().callbacks.cardImageCallback(t.cardCode,Bt.Banner)]);return(r,a)=>{const i=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(i,{to:t.routerLink,class:"wrapper"},{default:s.withCtx(()=>[s.createElementVNode("div",{class:"cards-row-wrapper wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",W9,[s.createElementVNode("div",G9,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.value,o=>(s.openBlock(),s.createElementBlock("div",{key:o,class:"background-card",style:s.normalizeStyle({"--background-image":`url(${o})`})},null,4))),128))])]),s.createElementVNode("div",j9,[s.createElementVNode("div",{class:"column-content deck-highlight-wrapper",onClick:a[0]||(a[0]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createVNode(vt,{class:"card-slice-item","card-code-prop":t.cardCode,"maintain-aspect-ratio":!1,color:`var(--color-${t.region}-rgb, var(--color-primary-2-rgb))`,"router-link":t.routerLink},null,8,["card-code-prop","color","router-link"])]),t.toggledStats.matches?(s.openBlock(),s.createElementBlock("div",Y9,s.toDisplayString(s.unref(De)(t.matches)),1)):s.createCommentVNode("",!0),t.toggledStats.winrate?(s.openBlock(),s.createElementBlock("div",{key:1,class:"column-content",style:s.normalizeStyle({color:`var(${s.unref(zn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(De)(t.wins/t.matches*100,2,3)+"%"),5)):s.createCommentVNode("",!0),t.toggledStats.inclusion?(s.openBlock(),s.createElementBlock("div",q9,s.toDisplayString(s.unref(De)(t.inclusion*100,2,3)+"%"),1)):s.createCommentVNode("",!0),t.toggledStats.avgCopies?(s.openBlock(),s.createElementBlock("div",X9,s.toDisplayString(s.unref(De)(t.avgCopies,2,3)),1)):s.createCommentVNode("",!0),t.toggledStats.mulliganWinrate?(s.openBlock(),s.createElementBlock("div",{key:4,class:"column-content",style:s.normalizeStyle({color:`var(${s.unref(zn)(t.mulliganWinrate,t.wins/t.matches)})`})},s.toDisplayString(t.mulliganWinrate?s.unref(De)(t.mulliganWinrate*100,2,3)+"%":"-"),5)):s.createCommentVNode("",!0),t.toggledStats.keptInMulligan?(s.openBlock(),s.createElementBlock("div",J9,s.toDisplayString(t.keptInMulligan?s.unref(De)(t.keptInMulligan*100,2,3)+"%":"-"),1)):s.createCommentVNode("",!0),t.toggledStats.drawnWinrate?(s.openBlock(),s.createElementBlock("div",{key:6,class:"column-content",style:s.normalizeStyle({color:`var(${s.unref(zn)(t.drawnWinrate,t.wins/t.matches)})`})},s.toDisplayString(t.drawnWinrate?s.unref(De)(t.drawnWinrate*100,2,3)+"%":"-"),5)):s.createCommentVNode("",!0),t.toggledStats.turnPlayed?(s.openBlock(),s.createElementBlock("div",Z9,s.toDisplayString(t.turnPlayed?s.unref(De)(t.turnPlayed,2,3):"-"),1)):s.createCommentVNode("",!0),t.toggledStats.turnsHeld?(s.openBlock(),s.createElementBlock("div",eQ,s.toDisplayString(t.turnsHeld?s.unref(De)(t.turnsHeld,2,3):"-"),1)):s.createCommentVNode("",!0)])],4)]),_:1},8,["to"])}}}),qpe="",Fh=Q(tQ,[["__scopeId","data-v-e0c98d3c"]]),nQ={cardRows:{type:Array,required:!0,default:[]},cardsRowToggle:{type:Object,requied:!0,default:{card:!0,matches:!0,winrate:!0,inclusion:!0,avgCopies:!0,mulliganWinrate:!0,keptInMulligan:!0,drawnWinrate:!0,turnsHeld:!0,turnPlayed:!0}},loading:{type:Boolean,required:!1,default:!1}};var _e=(e=>(e.UP="sort-up",e.DOWN="sort-down",e.NEITHER="sort-neither",e.NOT_SORTABLE="not-sortable",e))(_e||{});const rQ={headingItems:{type:Array,required:!0,default:[]},loading:{type:Boolean,required:!1,default:!1}},Xpe="",aQ={},iQ={class:"loader"};function oQ(e,t){return s.openBlock(),s.createElementBlock("div",iQ)}const Ih=Q(aQ,[["render",oQ],["__scopeId","data-v-91218ab0"]]),sQ={class:"table-wrapper"},AQ={class:"table no-scrollbar"},lQ={class:"heading wrapper"},cQ=["onClick"],dQ={class:"sort-icons"},uQ={key:0,class:"no-content loading"},fQ=s.defineComponent({__name:"LargeTable",props:rQ,emits:["toggleSort"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i={"--background-image":`url(${ve().callbacks.cardImageCallback("01FR008",Bt.Full)})`},o=s.computed(()=>r.headingItems.filter(A=>A.isShown));return(A,l)=>(s.openBlock(),s.createElementBlock("div",sQ,[s.createElementVNode("div",AQ,[l[0]||(l[0]=s.createElementVNode("div",{class:"heading-background-outer"},[s.createElementVNode("div",{class:"heading-background-absolute"}),s.createElementVNode("div",{class:"heading-background-inner"})],-1)),s.createElementVNode("div",lQ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.value,c=>(s.openBlock(),s.createElementBlock("div",{key:c.title,class:s.normalizeClass(["heading-cell column-content",c.sortDirection]),onClick:d=>a("toggleSort",c.id)},[s.createElementVNode("div",null,s.toDisplayString(c.title),1),s.createElementVNode("div",dQ,[s.createVNode(s.unref(ke),{icon:"sort-up",class:"sort-icon"}),s.createVNode(s.unref(ke),{icon:"sort-down",class:"sort-icon"})])],10,cQ))),128))]),s.renderSlot(A.$slots,"default",{},()=>[r.loading?(s.openBlock(),s.createElementBlock("div",uQ,[s.createVNode(Ih)])):(s.openBlock(),s.createElementBlock("div",{key:1,class:"no-content no-results",style:i},[s.createElementVNode("h2",null,s.toDisplayString(s.unref(n)("general.noResults")),1),s.createElementVNode("h4",null,s.toDisplayString(s.unref(n)("general.tryAgain")),1)]))],!0)])]))}}),Jpe="",ia=Q(fQ,[["__scopeId","data-v-8353300c"]]);function Gi(e,t){const n=t.value.find(a=>a.id===e);if(!n||n.sortDirection===_e.NOT_SORTABLE)return null;const r=n.sortDirection;return pQ(t),r===_e.NEITHER?n.sortDirection=_e.DOWN:r===_e.DOWN?n.sortDirection=_e.UP:n.sortDirection=_e.DOWN,n}function pQ(e){e.value.forEach(t=>{t.sortDirection!==_e.NOT_SORTABLE&&(t.sortDirection=_e.NEITHER)})}const hQ=s.defineComponent({__name:"CardsTable",props:nQ,emits:["sort-updated"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=[{id:"card",isAlwaysShown:!0,isSortable:!1,title:n("general.card")},{id:"matches",isAlwaysShown:!1,isSortable:!0,title:n("general.matches")},{id:"winrate",isAlwaysShown:!1,isSortable:!0,title:n("general.winrate")},{id:"inclusion",isAlwaysShown:!1,isSortable:!0,title:n("general.inclusion")},{id:"avgCopies",isAlwaysShown:!1,isSortable:!0,title:n("general.avgCopies")},{id:"mulliganWinrate",isAlwaysShown:!1,isSortable:!0,title:n("general.mulliganWinrate")},{id:"keptInMulligan",isAlwaysShown:!1,isSortable:!0,title:n("general.keptInMulligan")},{id:"drawnWinrate",isAlwaysShown:!1,isSortable:!0,title:n("general.drawnWinrate")},{id:"turnsHeld",isAlwaysShown:!1,isSortable:!0,title:n("general.turnsHeld")},{id:"turnPlayed",isAlwaysShown:!1,isSortable:!0,title:n("general.turnPlayed")}];let o=!1;const A=s.ref(i.map(d=>{let u=_e.NEITHER;return d.isSortable||(u=_e.NOT_SORTABLE),!o&&d.isSortable&&(u=_e.DOWN,o=!0),{id:d.id,isShown:r.cardsRowToggle[d.id],sortDirection:u,title:d.title}})),l=s.computed(()=>({"--table-grid-template-columns":`repeat(${Object.values(r.cardsRowToggle).reduce((u,f)=>f?u+1:u,0)}, 1fr)`}));function c(d){const u=Gi(d,A);u&&a("sort-updated",u)}return(d,u)=>(s.openBlock(),s.createBlock(ia,{class:"large-table",loading:r.loading,"heading-items":A.value,style:s.normalizeStyle(l.value),onToggleSort:c},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.cardRows,(f,p)=>(s.openBlock(),s.createBlock(Fh,{key:f.cardCode+f.region,"card-code":f.cardCode,matches:f.matches,wins:f.wins,index:p+2,"avg-copies":f.avgCopies,"drawn-winrate":f.drawnWinrate,"kept-in-mulligan":f.keptInMulligan,"mulligan-winrate":f.mulliganWinrate,inclusion:f.inclusion,"turns-held":f.turnsHeld,"turn-played":f.turnPlayed,"toggled-stats":r.cardsRowToggle,region:f.region,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(f.cardCode)},null,8,["card-code","matches","wins","index","avg-copies","drawn-winrate","kept-in-mulligan","mulligan-winrate","inclusion","turns-held","turn-played","toggled-stats","region","router-link"]))),128))]),_:1},8,["loading","heading-items","style"]))}}),Zpe="",Gw=Q(hQ,[["__scopeId","data-v-1894b267"]]),mQ={regions:{type:Array,required:!0,default:[]}},gQ={class:"deck-highlight-regions"},yQ=s.defineComponent({__name:"DeckHighlightRegions",props:mQ,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",gQ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.regions,a=>(s.openBlock(),s.createElementBlock("div",{key:a,class:"region-item-wrapper"},[s.createVNode(vA,{class:"region-item","region-ref":a},null,8,["region-ref"])]))),128))]))}}),ehe="",_A=Q(yQ,[["__scopeId","data-v-d28f95f4"]]),bQ={},wQ={xmlns:"http://www.w3.org/2000/svg",viewBox:"215.7 48.9 276.9 496"};function BQ(e,t){return s.openBlock(),s.createElementBlock("svg",wQ,[...t[0]||(t[0]=[s.createStaticVNode('<path fill="#146743" d="m271 136-54 90 150 316 14-50 29-312-51-130-88 86Z"></path><path fill="#419a4a" d="m356 121-75 105 86 316 14-50 29-312-54-59Z"></path><path fill="#baffb6" d="M410 180 359 50l-3 71 54 59Z"></path><path fill="#437f41" d="m359 50-88 86 10 90 75-105 3-71ZM281 360l86 182-86-316v134Z"></path><path fill="#419a4a" d="m454 332 28 33-33 85-4-13-8-85 17-20Z"></path>',5)])])}const Dh=Q(bQ,[["render",BQ]]),vQ={deck:{type:Object,required:!0,default:{}}},_Q={class:"gems-text"},CQ={class:"gems-cost-title"},kQ={class:"gems-cost-value"},xQ={class:"gems-cost-title"},EQ={class:"gems-cost-value"},SQ=s.defineComponent({__name:"GemsCost",props:vQ,setup(e){const{t}=q(),n=e,r=s.ref(null),a=s.ref(null),i=s.computed(()=>Zl(n.deck,!1)),o=s.computed(()=>Zl(n.deck,!0));return s.onMounted(()=>{tt(r.value,{content:a.value,arrow:!0,duration:0})}),(A,l)=>{var c,d,u;return s.openBlock(),s.createElementBlock("div",{ref_key:"gemsCostDiv",ref:r,class:"gems-cost"},[s.createVNode(Dh,{class:"shards-icon"}),s.createElementVNode("div",_Q,s.toDisplayString((c=o.value!==null?o.value:i.value)==null?void 0:c.toLocaleString()),1),s.createElementVNode("div",{ref_key:"gemsCostTippyDiv",ref:a,class:"gems-cost-tippy"},[o.value?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("div",CQ,s.toDisplayString(s.unref(t)("deck.personalCost")),1),s.createElementVNode("div",kQ,s.toDisplayString((d=o.value)==null?void 0:d.toLocaleString()),1),l[0]||(l[0]=s.createElementVNode("hr",{class:"divider"},null,-1))],64)):s.createCommentVNode("",!0),s.createElementVNode("div",xQ,s.toDisplayString(s.unref(t)("deck.originalCost")),1),s.createElementVNode("div",EQ,s.toDisplayString((u=i.value)==null?void 0:u.toLocaleString()),1)],512)],512)}}}),the="",Th=Q(SQ,[["__scopeId","data-v-25f680e9"]]),FQ={class:"language-selection"},IQ={class:"selection-panel"},DQ=s.defineComponent({__name:"LanguageSelection",setup(e){const{locale:t,availableLocales:n}=q(),r={en:"English",de:"Deutsch",es:"Español",fr:"Français",it:"Italiano",ja:"日本語",ko:"한국어",pl:"Polski",pt:"Português",th:"ไทย",tr:"Türkçe",ru:"Русский",zh:"中文"},a=fn.useRoute(),i=s.ref(!1),o=s.computed(()=>n.sort(l=>l===t.value?-1:1));function A(){i.value=!0}return(l,c)=>{const d=s.resolveComponent("RouterLink");return s.openBlock(),s.createElementBlock("div",FQ,[s.createVNode(s.unref(ke),{ref:"languageIcon",icon:"language",class:"icon",onClick:A},null,512),s.createVNode(Tr,{"show-modal":i.value,"onUpdate:showModal":c[0]||(c[0]=u=>i.value=u)},{default:s.withCtx(()=>[s.createElementVNode("div",IQ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.value,u=>(s.openBlock(),s.createBlock(d,{class:s.normalizeClass(s.unref(t)===u?"selected":""),locale:u,key:u,to:{...s.unref(a),params:{...s.unref(a).params,lang:u}}},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(r[u]),1)]),_:2},1032,["class","locale","to"]))),128))])]),_:1},8,["show-modal"])])}}}),nhe="",CA=Q(DQ,[["__scopeId","data-v-8a6f5e0d"]]),TQ={cardCodes:{type:Array,required:!0,default:[]},regions:{type:Array,required:!0,default:[]}},jw={routerLink:{type:Object,required:!0,default:{path:"/404"}},cardProp:{type:Object,required:!1,default:void 0},cardCodeProp:{type:String,required:!1,default:void 0},ignoreCardItem:{type:Boolean,required:!1},regions:{type:Array,required:!1,default:void 0},colorOverride:{type:String,required:!1,default:void 0}},UQ={class:"circle-card-item"},LQ=["alt","src"],OQ=s.defineComponent({__name:"CircleCardItem",props:jw,setup(e){const t=e,n=Si(t.cardProp,t.cardCodeProp,!0),r=s.ref(null),a=s.ref(null),i=s.ref(null),o=s.ref(null),A=s.computed(()=>{var c;return ve().callbacks.cardImageCallback(((c=n.value)==null?void 0:c.cardCode)??"",Bt.Icon)}),l=s.computed(()=>n.value===void 0?"--color-primary-2":Ei(n.value,t.regions));return s.onMounted(()=>{t.ignoreCardItem||tt(r.value,{content:a.value,placement:"right",arrow:!0,touch:!1,duration:0,role:"card-image",onShown:c=>{const d=c.popper.innerHTML.includes("right")?"right-start":"left-start";o.value=d},onHidden:()=>{o.value=null}})}),(c,d)=>{const u=s.resolveComponent("RouterLink");return s.openBlock(),s.createElementBlock("div",UQ,[s.createVNode(u,{to:t.routerLink,class:"circle-card-link",onClick:d[0]||(d[0]=s.withModifiers(()=>{},["stop","prevent"]))},{default:s.withCtx(()=>{var f;return[s.createElementVNode("img",{ref_key:"circleCardImg",ref:r,alt:(f=s.unref(n))==null?void 0:f.name,src:A.value,class:"circle-card-img",style:s.normalizeStyle({borderColor:t.colorOverride??l.value})},null,12,LQ)]}),_:1},8,["to"]),s.createElementVNode("div",{ref_key:"circleCardTippy",ref:a,class:"circle-card-tippy"},[!c.ignoreCardItem&&s.unref(n)?(s.openBlock(),s.createBlock(Vi,{key:0,ref_key:"cardItem",ref:i,"card-code-prop":s.unref(n).cardCode,"is-deck-builder":!1,"is-root":!0,"show-tippy-location":o.value},null,8,["card-code-prop","show-tippy-location"])):s.createCommentVNode("",!0)],512)])}}}),rhe="",oa=Q(OQ,[["__scopeId","data-v-3ea9e838"]]),QQ={cards:{type:Array,required:!1,default:void 0},cardCodes:{type:Array,required:!1,default:void 0},regions:{type:Array,required:!1,default:[]}},MQ={class:"deck-highlight-cards"},PQ=s.defineComponent({__name:"DeckHighlightCards",props:QQ,setup(e){const t=e,n=s.computed(()=>{if(t.cards)return t.cards;if(t.cardCodes)return t.cardCodes.map(r=>hn().cardJsonObject[r]).filter(r=>r!==void 0);throw new Error("Cards or CardCodes must be defined.")});return(r,a)=>(s.openBlock(),s.createElementBlock("div",MQ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.value,(i,o)=>(s.openBlock(),s.createElementBlock("div",{key:i.cardCode??o,class:"circle-card-item-wrapper"},[s.createVNode(oa,{class:"circle-card-item","card-prop":i,regions:t.regions,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(i.cardCode)},null,8,["card-prop","regions","router-link"])]))),128))]))}}),ahe="",kA=Q(PQ,[["__scopeId","data-v-021c3530"]]),NQ=s.defineComponent({__name:"ArchetypeSidePanelHighlight",props:TQ,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createBlock(ct,{class:"archetype-side-panel-highlight"},{default:s.withCtx(()=>[s.createVNode(_A,{class:"deck-highlight-regions",regions:t.regions},null,8,["regions"]),s.createVNode(kA,{class:s.normalizeClass(["deck-highlight-cards",t.cardCodes.length===1?"single":""]),"card-codes":t.cardCodes},null,8,["class","card-codes"])]),_:1}))}}),ihe="",Wc=Q(NQ,[["__scopeId","data-v-ff538f6f"]]),RQ={deckcode:{type:String,required:!0,default:""},filters:{type:Object,required:!0,default:{sampleSizeFilters:[],serverFilters:[],timeFilters:[],formatFilters:[],queueFilters:[]}},builtDeckProps:{type:Object,required:!1,default:void 0}},HQ={deckCode:{type:String,required:!0,default:""},info:{type:String,required:!0,default:"typeRef"}};/*!
|
|
656
656
|
* @kurkle/color v0.3.4
|
|
657
657
|
* https://github.com/kurkle/color#readme
|
|
658
658
|
* (c) 2024 Jukka Kurkela
|
|
659
659
|
* Released under the MIT License
|
|
660
|
-
*/function xA(e){return e+.5|0}const qa=(e,t,n)=>Math.max(Math.min(e,n),t);function EA(e){return qa(xA(e*2.55),0,255)}function Xa(e){return qa(xA(e*255),0,255)}function sa(e){return qa(xA(e/2.55)/100,0,1)}function Yw(e){return qa(xA(e*100),0,100)}const qn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Uh=[..."0123456789ABCDEF"],
|
|
660
|
+
*/function xA(e){return e+.5|0}const qa=(e,t,n)=>Math.max(Math.min(e,n),t);function EA(e){return qa(xA(e*2.55),0,255)}function Xa(e){return qa(xA(e*255),0,255)}function sa(e){return qa(xA(e/2.55)/100,0,1)}function Yw(e){return qa(xA(e*100),0,100)}const qn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Uh=[..."0123456789ABCDEF"],VQ=e=>Uh[e&15],zQ=e=>Uh[(e&240)>>4]+Uh[e&15],Gc=e=>(e&240)>>4===(e&15),$Q=e=>Gc(e.r)&&Gc(e.g)&&Gc(e.b)&&Gc(e.a);function KQ(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&qn[e[1]]*17,g:255&qn[e[2]]*17,b:255&qn[e[3]]*17,a:t===5?qn[e[4]]*17:255}:(t===7||t===9)&&(n={r:qn[e[1]]<<4|qn[e[2]],g:qn[e[3]]<<4|qn[e[4]],b:qn[e[5]]<<4|qn[e[6]],a:t===9?qn[e[7]]<<4|qn[e[8]]:255})),n}const WQ=(e,t)=>e<255?t(e):"";function GQ(e){var t=$Q(e)?VQ:zQ;return e?"#"+t(e.r)+t(e.g)+t(e.b)+WQ(e.a,t):void 0}const jQ=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function qw(e,t,n){const r=t*Math.min(n,1-n),a=(i,o=(i+e/30)%12)=>n-r*Math.max(Math.min(o-3,9-o,1),-1);return[a(0),a(8),a(4)]}function YQ(e,t,n){const r=(a,i=(a+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function qQ(e,t,n){const r=qw(e,1,.5);let a;for(t+n>1&&(a=1/(t+n),t*=a,n*=a),a=0;a<3;a++)r[a]*=1-t-n,r[a]+=t;return r}function XQ(e,t,n,r,a){return e===a?(t-n)/r+(t<n?6:0):t===a?(n-e)/r+2:(e-t)/r+4}function Lh(e){const n=e.r/255,r=e.g/255,a=e.b/255,i=Math.max(n,r,a),o=Math.min(n,r,a),A=(i+o)/2;let l,c,d;return i!==o&&(d=i-o,c=A>.5?d/(2-i-o):d/(i+o),l=XQ(n,r,a,d,i),l=l*60+.5),[l|0,c||0,A]}function Oh(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(Xa)}function Qh(e,t,n){return Oh(qw,e,t,n)}function JQ(e,t,n){return Oh(qQ,e,t,n)}function ZQ(e,t,n){return Oh(YQ,e,t,n)}function Xw(e){return(e%360+360)%360}function eM(e){const t=jQ.exec(e);let n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?EA(+t[5]):Xa(+t[5]));const a=Xw(+t[2]),i=+t[3]/100,o=+t[4]/100;return t[1]==="hwb"?r=JQ(a,i,o):t[1]==="hsv"?r=ZQ(a,i,o):r=Qh(a,i,o),{r:r[0],g:r[1],b:r[2],a:n}}function tM(e,t){var n=Lh(e);n[0]=Xw(n[0]+t),n=Qh(n),e.r=n[0],e.g=n[1],e.b=n[2]}function nM(e){if(!e)return;const t=Lh(e),n=t[0],r=Yw(t[1]),a=Yw(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${a}%, ${sa(e.a)})`:`hsl(${n}, ${r}%, ${a}%)`}const Jw={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Zw={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function rM(){const e={},t=Object.keys(Zw),n=Object.keys(Jw);let r,a,i,o,A;for(r=0;r<t.length;r++){for(o=A=t[r],a=0;a<n.length;a++)i=n[a],A=A.replace(i,Jw[i]);i=parseInt(Zw[o],16),e[A]=[i>>16&255,i>>8&255,i&255]}return e}let jc;function aM(e){jc||(jc=rM(),jc.transparent=[0,0,0,0]);const t=jc[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const iM=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function oM(e){const t=iM.exec(e);let n=255,r,a,i;if(t){if(t[7]!==r){const o=+t[7];n=t[8]?EA(o):qa(o*255,0,255)}return r=+t[1],a=+t[3],i=+t[5],r=255&(t[2]?EA(r):qa(r,0,255)),a=255&(t[4]?EA(a):qa(a,0,255)),i=255&(t[6]?EA(i):qa(i,0,255)),{r,g:a,b:i,a:n}}}function sM(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${sa(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const Mh=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,ns=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function AM(e,t,n){const r=ns(sa(e.r)),a=ns(sa(e.g)),i=ns(sa(e.b));return{r:Xa(Mh(r+n*(ns(sa(t.r))-r))),g:Xa(Mh(a+n*(ns(sa(t.g))-a))),b:Xa(Mh(i+n*(ns(sa(t.b))-i))),a:e.a+n*(t.a-e.a)}}function Yc(e,t,n){if(e){let r=Lh(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=Qh(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function eB(e,t){return e&&Object.assign(t||{},e)}function tB(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Xa(e[3]))):(t=eB(e,{r:0,g:0,b:0,a:1}),t.a=Xa(t.a)),t}function lM(e){return e.charAt(0)==="r"?oM(e):eM(e)}class SA{constructor(t){if(t instanceof SA)return t;const n=typeof t;let r;n==="object"?r=tB(t):n==="string"&&(r=KQ(t)||aM(t)||lM(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var t=eB(this._rgb);return t&&(t.a=sa(t.a)),t}set rgb(t){this._rgb=tB(t)}rgbString(){return this._valid?sM(this._rgb):void 0}hexString(){return this._valid?GQ(this._rgb):void 0}hslString(){return this._valid?nM(this._rgb):void 0}mix(t,n){if(t){const r=this.rgb,a=t.rgb;let i;const o=n===i?.5:n,A=2*o-1,l=r.a-a.a,c=((A*l===-1?A:(A+l)/(1+A*l))+1)/2;i=1-c,r.r=255&c*r.r+i*a.r+.5,r.g=255&c*r.g+i*a.g+.5,r.b=255&c*r.b+i*a.b+.5,r.a=o*r.a+(1-o)*a.a,this.rgb=r}return this}interpolate(t,n){return t&&(this._rgb=AM(this._rgb,t._rgb,n)),this}clone(){return new SA(this.rgb)}alpha(t){return this._rgb.a=Xa(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=xA(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=n,this}opaquer(t){const n=this._rgb;return n.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Yc(this._rgb,2,t),this}darken(t){return Yc(this._rgb,2,-t),this}saturate(t){return Yc(this._rgb,1,t),this}desaturate(t){return Yc(this._rgb,1,-t),this}rotate(t){return tM(this._rgb,t),this}}/*!
|
|
661
661
|
* Chart.js v4.5.1
|
|
662
662
|
* https://www.chartjs.org
|
|
663
663
|
* (c) 2025 Chart.js Contributors
|
|
664
664
|
* Released under the MIT License
|
|
665
|
-
*/function Aa(){}const c9=(()=>{let e=0;return()=>e++})();function xe(e){return e==null}function Ve(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function Ee(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function gt(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function Rn(e,t){return gt(e)?e:t}function he(e,t){return typeof e>"u"?t:e}const d9=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,nB=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function We(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function je(e,t,n,r){let a,i,o;if(Ve(e))if(i=e.length,r)for(a=i-1;a>=0;a--)t.call(n,e[a],a);else for(a=0;a<i;a++)t.call(n,e[a],a);else if(Ee(e))for(o=Object.keys(e),i=o.length,a=0;a<i;a++)t.call(n,e[o[a]],o[a])}function qc(e,t){let n,r,a,i;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(a=e[n],i=t[n],a.datasetIndex!==i.datasetIndex||a.index!==i.index)return!1;return!0}function Xc(e){if(Ve(e))return e.map(Xc);if(Ee(e)){const t=Object.create(null),n=Object.keys(e),r=n.length;let a=0;for(;a<r;++a)t[n[a]]=Xc(e[n[a]]);return t}return e}function rB(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function u9(e,t,n,r){if(!rB(e))return;const a=t[e],i=n[e];Ee(a)&&Ee(i)?Ur(a,i,r):t[e]=Xc(i)}function Ur(e,t,n){const r=Ve(t)?t:[t],a=r.length;if(!Ee(e))return e;n=n||{};const i=n.merger||u9;let o;for(let A=0;A<a;++A){if(o=r[A],!Ee(o))continue;const l=Object.keys(o);for(let c=0,d=l.length;c<d;++c)i(l[c],e,o,n)}return e}function FA(e,t){return Ur(e,t,{merger:f9})}function f9(e,t,n){if(!rB(e))return;const r=t[e],a=n[e];Ee(r)&&Ee(a)?FA(r,a):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=Xc(a))}const aB={"":e=>e,x:e=>e.x,y:e=>e.y};function p9(e){const t=e.split("."),n=[];let r="";for(const a of t)r+=a,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function h9(e){const t=p9(e);return n=>{for(const r of t){if(r==="")break;n=n&&n[r]}return n}}function Ja(e,t){return(aB[t]||(aB[t]=h9(t)))(e)}function Ph(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Cn=e=>typeof e<"u",kn=e=>typeof e=="function",iB=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function m9(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const Ce=Math.PI,at=2*Ce,g9=at+Ce,Jc=Number.POSITIVE_INFINITY,Nh=Ce/180,dt=Ce/2,Xn=Ce/4,Zc=Ce*2/3,Za=Math.log10,Lr=Math.sign;function IA(e,t,n){return Math.abs(e-t)<n}function oB(e){const t=Math.round(e);e=IA(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(Za(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function y9(e){const t=[],n=Math.sqrt(e);let r;for(r=1;r<n;r++)e%r===0&&(t.push(r),t.push(e/r));return n===(n|0)&&t.push(n),t.sort((a,i)=>a-i).pop(),t}function b9(e){return typeof e=="symbol"||typeof e=="object"&&e!==null&&!(Symbol.toPrimitive in e||"toString"in e||"valueOf"in e)}function ei(e){return!b9(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function w9(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function sB(e,t,n){let r,a,i;for(r=0,a=e.length;r<a;r++)i=e[r][n],isNaN(i)||(t.min=Math.min(t.min,i),t.max=Math.max(t.max,i))}function Mt(e){return e*(Ce/180)}function ed(e){return e*(180/Ce)}function AB(e){if(!gt(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function lB(e,t){const n=t.x-e.x,r=t.y-e.y,a=Math.sqrt(n*n+r*r);let i=Math.atan2(r,n);return i<-.5*Ce&&(i+=at),{angle:i,distance:a}}function rs(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function B9(e,t){return(e-t+g9)%at-Ce}function rn(e){return(e%at+at)%at}function DA(e,t,n,r){const a=rn(e),i=rn(t),o=rn(n),A=rn(i-a),l=rn(o-a),c=rn(a-i),d=rn(a-o);return a===i||a===o||r&&i===o||A>l&&c<d}function Kt(e,t,n){return Math.max(t,Math.min(n,e))}function v9(e){return Kt(e,-32768,32767)}function la(e,t,n,r=1e-6){return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function Rh(e,t,n){n=n||(o=>e[o]<t);let r=e.length-1,a=0,i;for(;r-a>1;)i=a+r>>1,n(i)?a=i:r=i;return{lo:a,hi:r}}const ca=(e,t,n,r)=>Rh(e,n,r?a=>{const i=e[a][t];return i<n||i===n&&e[a+1][t]===n}:a=>e[a][t]<n),_9=(e,t,n)=>Rh(e,n,r=>e[r][t]>=n);function C9(e,t,n){let r=0,a=e.length;for(;r<a&&e[r]<t;)r++;for(;a>r&&e[a-1]>n;)a--;return r>0||a<e.length?e.slice(r,a):e}const cB=["push","pop","shift","splice","unshift"];function k9(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),cB.forEach(n=>{const r="_onData"+Ph(n),a=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...i){const o=a.apply(this,i);return e._chartjs.listeners.forEach(A=>{typeof A[r]=="function"&&A[r](...i)}),o}})})}function dB(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,a=r.indexOf(t);a!==-1&&r.splice(a,1),!(r.length>0)&&(cB.forEach(i=>{delete e[i]}),delete e._chartjs)}function uB(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const fB=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function pB(e,t){let n=[],r=!1;return function(...a){n=a,r||(r=!0,fB.call(window,()=>{r=!1,e.apply(t,n)}))}}function x9(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}const Hh=e=>e==="start"?"left":e==="end"?"right":"center",an=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2,E9=(e,t,n,r)=>e===(r?"left":"right")?n:e==="center"?(t+n)/2:t;function hB(e,t,n){const r=t.length;let a=0,i=r;if(e._sorted){const{iScale:o,vScale:A,_parsed:l}=e,c=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,d=o.axis,{min:u,max:f,minDefined:p,maxDefined:h}=o.getUserBounds();if(p){if(a=Math.min(ca(l,d,u).lo,n?r:ca(t,d,o.getPixelForValue(u)).lo),c){const m=l.slice(0,a+1).reverse().findIndex(b=>!xe(b[A.axis]));a-=Math.max(0,m)}a=Kt(a,0,r-1)}if(h){let m=Math.max(ca(l,o.axis,f,!0).hi+1,n?0:ca(t,d,o.getPixelForValue(f),!0).hi+1);if(c){const b=l.slice(m-1).findIndex(g=>!xe(g[A.axis]));m+=Math.max(0,b)}i=Kt(m,a,r)-a}else i=r-a}return{start:a,count:i}}function mB(e){const{xScale:t,yScale:n,_scaleRanges:r}=e,a={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=a,!0;const i=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,a),i}const td=e=>e===0||e===1,gB=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*at/n)),yB=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*at/n)+1,TA={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*dt)+1,easeOutSine:e=>Math.sin(e*dt),easeInOutSine:e=>-.5*(Math.cos(Ce*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>td(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>td(e)?e:gB(e,.075,.3),easeOutElastic:e=>td(e)?e:yB(e,.075,.3),easeInOutElastic(e){return td(e)?e:e<.5?.5*gB(e*2,.1125,.45):.5+.5*yB(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-TA.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?TA.easeInBounce(e*2)*.5:TA.easeOutBounce(e*2-1)*.5+.5};function Vh(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function bB(e){return Vh(e)?e:new SA(e)}function zh(e){return Vh(e)?e:new SA(e).saturate(.5).darken(.1).hexString()}const S9=["x","y","borderWidth","radius","tension"],F9=["color","borderColor","backgroundColor"];function I9(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:F9},numbers:{type:"number",properties:S9}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function D9(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const wB=new Map;function T9(e,t){t=t||{};const n=e+JSON.stringify(t);let r=wB.get(n);return r||(r=new Intl.NumberFormat(e,t),wB.set(n,r)),r}function UA(e,t,n){return T9(t,n).format(e)}const BB={values(e){return Ve(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const r=this.chart.options.locale;let a,i=e;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(a="scientific"),i=U9(e,n)}const o=Za(Math.abs(i)),A=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),l={notation:a,minimumFractionDigits:A,maximumFractionDigits:A};return Object.assign(l,this.options.ticks.format),UA(e,r,l)},logarithmic(e,t,n){if(e===0)return"0";const r=n[t].significand||e/Math.pow(10,Math.floor(Za(e)));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?BB.numeric.call(this,e,t,n):""}};function U9(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var nd={formatters:BB};function L9(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,n)=>n.lineWidth,tickColor:(t,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:nd.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const ji=Object.create(null),$h=Object.create(null);function LA(e,t){if(!t)return e;const n=t.split(".");for(let r=0,a=n.length;r<a;++r){const i=n[r];e=e[i]||(e[i]=Object.create(null))}return e}function Kh(e,t,n){return typeof t=="string"?Ur(LA(e,t),n):Ur(LA(e,""),t)}class O9{constructor(t,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=r=>r.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(r,a)=>zh(a.backgroundColor),this.hoverBorderColor=(r,a)=>zh(a.borderColor),this.hoverColor=(r,a)=>zh(a.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(n)}set(t,n){return Kh(this,t,n)}get(t){return LA(this,t)}describe(t,n){return Kh($h,t,n)}override(t,n){return Kh(ji,t,n)}route(t,n,r,a){const i=LA(this,t),o=LA(this,r),A="_"+n;Object.defineProperties(i,{[A]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[A],c=o[a];return Ee(l)?Object.assign({},c,l):he(l,c)},set(l){this[A]=l}}})}apply(t){t.forEach(n=>n(this))}}var it=new O9({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[I9,D9,L9]);function Q9(e){return!e||xe(e.size)||xe(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function rd(e,t,n,r,a){let i=t[a];return i||(i=t[a]=e.measureText(a).width,n.push(a)),i>r&&(r=i),r}function M9(e,t,n,r){r=r||{};let a=r.data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(a=r.data={},i=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let o=0;const A=n.length;let l,c,d,u,f;for(l=0;l<A;l++)if(u=n[l],u!=null&&!Ve(u))o=rd(e,a,i,o,u);else if(Ve(u))for(c=0,d=u.length;c<d;c++)f=u[c],f!=null&&!Ve(f)&&(o=rd(e,a,i,o,f));e.restore();const p=i.length/2;if(p>n.length){for(l=0;l<p;l++)delete a[i[l]];i.splice(0,p)}return o}function Yi(e,t,n){const r=e.currentDevicePixelRatio,a=n!==0?Math.max(n/2,.5):0;return Math.round((t-a)*r)/r+a}function vB(e,t){!t&&!e||(t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function Wh(e,t,n,r){_B(e,t,n,r,null)}function _B(e,t,n,r,a){let i,o,A,l,c,d,u,f;const p=t.pointStyle,h=t.rotation,m=t.radius;let b=(h||0)*Nh;if(p&&typeof p=="object"&&(i=p.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){e.save(),e.translate(n,r),e.rotate(b),e.drawImage(p,-p.width/2,-p.height/2,p.width,p.height),e.restore();return}if(!(isNaN(m)||m<=0)){switch(e.beginPath(),p){default:a?e.ellipse(n,r,a/2,m,0,0,at):e.arc(n,r,m,0,at),e.closePath();break;case"triangle":d=a?a/2:m,e.moveTo(n+Math.sin(b)*d,r-Math.cos(b)*m),b+=Zc,e.lineTo(n+Math.sin(b)*d,r-Math.cos(b)*m),b+=Zc,e.lineTo(n+Math.sin(b)*d,r-Math.cos(b)*m),e.closePath();break;case"rectRounded":c=m*.516,l=m-c,o=Math.cos(b+Xn)*l,u=Math.cos(b+Xn)*(a?a/2-c:l),A=Math.sin(b+Xn)*l,f=Math.sin(b+Xn)*(a?a/2-c:l),e.arc(n-u,r-A,c,b-Ce,b-dt),e.arc(n+f,r-o,c,b-dt,b),e.arc(n+u,r+A,c,b,b+dt),e.arc(n-f,r+o,c,b+dt,b+Ce),e.closePath();break;case"rect":if(!h){l=Math.SQRT1_2*m,d=a?a/2:l,e.rect(n-d,r-l,2*d,2*l);break}b+=Xn;case"rectRot":u=Math.cos(b)*(a?a/2:m),o=Math.cos(b)*m,A=Math.sin(b)*m,f=Math.sin(b)*(a?a/2:m),e.moveTo(n-u,r-A),e.lineTo(n+f,r-o),e.lineTo(n+u,r+A),e.lineTo(n-f,r+o),e.closePath();break;case"crossRot":b+=Xn;case"cross":u=Math.cos(b)*(a?a/2:m),o=Math.cos(b)*m,A=Math.sin(b)*m,f=Math.sin(b)*(a?a/2:m),e.moveTo(n-u,r-A),e.lineTo(n+u,r+A),e.moveTo(n+f,r-o),e.lineTo(n-f,r+o);break;case"star":u=Math.cos(b)*(a?a/2:m),o=Math.cos(b)*m,A=Math.sin(b)*m,f=Math.sin(b)*(a?a/2:m),e.moveTo(n-u,r-A),e.lineTo(n+u,r+A),e.moveTo(n+f,r-o),e.lineTo(n-f,r+o),b+=Xn,u=Math.cos(b)*(a?a/2:m),o=Math.cos(b)*m,A=Math.sin(b)*m,f=Math.sin(b)*(a?a/2:m),e.moveTo(n-u,r-A),e.lineTo(n+u,r+A),e.moveTo(n+f,r-o),e.lineTo(n-f,r+o);break;case"line":o=a?a/2:Math.cos(b)*m,A=Math.sin(b)*m,e.moveTo(n-o,r-A),e.lineTo(n+o,r+A);break;case"dash":e.moveTo(n,r),e.lineTo(n+Math.cos(b)*(a?a/2:m),r+Math.sin(b)*m);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function da(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function OA(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function QA(e){e.restore()}function P9(e,t,n,r,a){if(!t)return e.lineTo(n.x,n.y);if(a==="middle"){const i=(t.x+n.x)/2;e.lineTo(i,t.y),e.lineTo(i,n.y)}else a==="after"!=!!r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}function N9(e,t,n,r){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function R9(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),xe(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function H9(e,t,n,r,a){if(a.strikethrough||a.underline){const i=e.measureText(r),o=t-i.actualBoundingBoxLeft,A=t+i.actualBoundingBoxRight,l=n-i.actualBoundingBoxAscent,c=n+i.actualBoundingBoxDescent,d=a.strikethrough?(l+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=a.decorationWidth||2,e.moveTo(o,d),e.lineTo(A,d),e.stroke()}}function V9(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function qi(e,t,n,r,a,i={}){const o=Ve(t)?t:[t],A=i.strokeWidth>0&&i.strokeColor!=="";let l,c;for(e.save(),e.font=a.string,R9(e,i),l=0;l<o.length;++l)c=o[l],i.backdrop&&V9(e,i.backdrop),A&&(i.strokeColor&&(e.strokeStyle=i.strokeColor),xe(i.strokeWidth)||(e.lineWidth=i.strokeWidth),e.strokeText(c,n,r,i.maxWidth)),e.fillText(c,n,r,i.maxWidth),H9(e,n,r,c,i),r+=Number(a.lineHeight);e.restore()}function as(e,t){const{x:n,y:r,w:a,h:i,radius:o}=t;e.arc(n+o.topLeft,r+o.topLeft,o.topLeft,1.5*Ce,Ce,!0),e.lineTo(n,r+i-o.bottomLeft),e.arc(n+o.bottomLeft,r+i-o.bottomLeft,o.bottomLeft,Ce,dt,!0),e.lineTo(n+a-o.bottomRight,r+i),e.arc(n+a-o.bottomRight,r+i-o.bottomRight,o.bottomRight,dt,0,!0),e.lineTo(n+a,r+o.topRight),e.arc(n+a-o.topRight,r+o.topRight,o.topRight,0,-dt,!0),e.lineTo(n+o.topLeft,r)}const z9=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,$9=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function K9(e,t){const n=(""+e).match(z9);if(!n||n[1]==="normal")return t*1.2;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100;break}return t*e}const W9=e=>+e||0;function Gh(e,t){const n={},r=Ee(t),a=r?Object.keys(t):t,i=Ee(e)?r?o=>he(e[o],e[t[o]]):o=>e[o]:()=>e;for(const o of a)n[o]=W9(i(o));return n}function CB(e){return Gh(e,{top:"y",right:"x",bottom:"y",left:"x"})}function ti(e){return Gh(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Ft(e){const t=CB(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function yt(e,t){e=e||{},t=t||it.font;let n=he(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let r=he(e.style,t.style);r&&!(""+r).match($9)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const a={family:he(e.family,t.family),lineHeight:K9(he(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:he(e.weight,t.weight),string:""};return a.string=Q9(a),a}function ut(e,t,n,r){let a=!0,i,o,A;for(i=0,o=e.length;i<o;++i)if(A=e[i],A!==void 0&&(t!==void 0&&typeof A=="function"&&(A=A(t),a=!1),n!==void 0&&Ve(A)&&(A=A[n%A.length],a=!1),A!==void 0))return r&&!a&&(r.cacheable=!1),A}function G9(e,t,n){const{min:r,max:a}=e,i=nB(t,(a-r)/2),o=(A,l)=>n&&A===0?0:A+l;return{min:o(r,-Math.abs(i)),max:o(a,i)}}function ni(e,t){return Object.assign(Object.create(e),t)}function jh(e,t=[""],n,r,a=()=>e[0]){const i=n||e;typeof r>"u"&&(r=FB("_fallback",e));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:i,_fallback:r,_getTarget:a,override:A=>jh([A,...e],t,i,r)};return new Proxy(o,{deleteProperty(A,l){return delete A[l],delete A._keys,delete e[0][l],!0},get(A,l){return xB(A,l,()=>tP(l,t,e,A))},getOwnPropertyDescriptor(A,l){return Reflect.getOwnPropertyDescriptor(A._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(A,l){return IB(A).includes(l)},ownKeys(A){return IB(A)},set(A,l,c){const d=A._storage||(A._storage=a());return A[l]=d[l]=c,delete A._keys,!0}})}function is(e,t,n,r){const a={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:kB(e,r),setContext:i=>is(e,i,n,r),override:i=>is(e.override(i),t,n,r)};return new Proxy(a,{deleteProperty(i,o){return delete i[o],delete e[o],!0},get(i,o,A){return xB(i,o,()=>Y9(i,o,A))},getOwnPropertyDescriptor(i,o){return i._descriptors.allKeys?Reflect.has(e,o)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,o)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(i,o){return Reflect.has(e,o)},ownKeys(){return Reflect.ownKeys(e)},set(i,o,A){return e[o]=A,delete i[o],!0}})}function kB(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:a=t.allKeys}=e;return{allKeys:a,scriptable:n,indexable:r,isScriptable:kn(n)?n:()=>n,isIndexable:kn(r)?r:()=>r}}const j9=(e,t)=>e?e+Ph(t):t,Yh=(e,t)=>Ee(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function xB(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t==="constructor")return e[t];const r=n();return e[t]=r,r}function Y9(e,t,n){const{_proxy:r,_context:a,_subProxy:i,_descriptors:o}=e;let A=r[t];return kn(A)&&o.isScriptable(t)&&(A=q9(t,A,e,n)),Ve(A)&&A.length&&(A=X9(t,A,e,o.isIndexable)),Yh(t,A)&&(A=is(A,a,i&&i[t],o)),A}function q9(e,t,n,r){const{_proxy:a,_context:i,_subProxy:o,_stack:A}=n;if(A.has(e))throw new Error("Recursion detected: "+Array.from(A).join("->")+"->"+e);A.add(e);let l=t(i,o||r);return A.delete(e),Yh(e,l)&&(l=qh(a._scopes,a,e,l)),l}function X9(e,t,n,r){const{_proxy:a,_context:i,_subProxy:o,_descriptors:A}=n;if(typeof i.index<"u"&&r(e))return t[i.index%t.length];if(Ee(t[0])){const l=t,c=a._scopes.filter(d=>d!==l);t=[];for(const d of l){const u=qh(c,a,e,d);t.push(is(u,i,o&&o[e],A))}}return t}function EB(e,t,n){return kn(e)?e(t,n):e}const J9=(e,t)=>e===!0?t:typeof e=="string"?Ja(t,e):void 0;function Z9(e,t,n,r,a){for(const i of t){const o=J9(n,i);if(o){e.add(o);const A=EB(o._fallback,n,a);if(typeof A<"u"&&A!==n&&A!==r)return A}else if(o===!1&&typeof r<"u"&&n!==r)return null}return!1}function qh(e,t,n,r){const a=t._rootScopes,i=EB(t._fallback,n,r),o=[...e,...a],A=new Set;A.add(r);let l=SB(A,o,n,i||n,r);return l===null||typeof i<"u"&&i!==n&&(l=SB(A,o,i,l,r),l===null)?!1:jh(Array.from(A),[""],a,i,()=>eP(t,n,r))}function SB(e,t,n,r,a){for(;n;)n=Z9(e,t,n,r,a);return n}function eP(e,t,n){const r=e._getTarget();t in r||(r[t]={});const a=r[t];return Ve(a)&&Ee(n)?n:a||{}}function tP(e,t,n,r){let a;for(const i of t)if(a=FB(j9(i,e),n),typeof a<"u")return Yh(e,a)?qh(n,r,e,a):a}function FB(e,t){for(const n of t){if(!n)continue;const r=n[e];if(typeof r<"u")return r}}function IB(e){let t=e._keys;return t||(t=e._keys=nP(e._scopes)),t}function nP(e){const t=new Set;for(const n of e)for(const r of Object.keys(n).filter(a=>!a.startsWith("_")))t.add(r);return Array.from(t)}function DB(e,t,n,r){const{iScale:a}=e,{key:i="r"}=this._parsing,o=new Array(r);let A,l,c,d;for(A=0,l=r;A<l;++A)c=A+n,d=t[c],o[A]={r:a.parse(Ja(d,i),c)};return o}const rP=Number.EPSILON||1e-14,os=(e,t)=>t<e.length&&!e[t].skip&&e[t],TB=e=>e==="x"?"y":"x";function aP(e,t,n,r){const a=e.skip?t:e,i=t,o=n.skip?t:n,A=rs(i,a),l=rs(o,i);let c=A/(A+l),d=l/(A+l);c=isNaN(c)?0:c,d=isNaN(d)?0:d;const u=r*c,f=r*d;return{previous:{x:i.x-u*(o.x-a.x),y:i.y-u*(o.y-a.y)},next:{x:i.x+f*(o.x-a.x),y:i.y+f*(o.y-a.y)}}}function iP(e,t,n){const r=e.length;let a,i,o,A,l,c=os(e,0);for(let d=0;d<r-1;++d)if(l=c,c=os(e,d+1),!(!l||!c)){if(IA(t[d],0,rP)){n[d]=n[d+1]=0;continue}a=n[d]/t[d],i=n[d+1]/t[d],A=Math.pow(a,2)+Math.pow(i,2),!(A<=9)&&(o=3/Math.sqrt(A),n[d]=a*o*t[d],n[d+1]=i*o*t[d])}}function oP(e,t,n="x"){const r=TB(n),a=e.length;let i,o,A,l=os(e,0);for(let c=0;c<a;++c){if(o=A,A=l,l=os(e,c+1),!A)continue;const d=A[n],u=A[r];o&&(i=(d-o[n])/3,A[`cp1${n}`]=d-i,A[`cp1${r}`]=u-i*t[c]),l&&(i=(l[n]-d)/3,A[`cp2${n}`]=d+i,A[`cp2${r}`]=u+i*t[c])}}function sP(e,t="x"){const n=TB(t),r=e.length,a=Array(r).fill(0),i=Array(r);let o,A,l,c=os(e,0);for(o=0;o<r;++o)if(A=l,l=c,c=os(e,o+1),!!l){if(c){const d=c[t]-l[t];a[o]=d!==0?(c[n]-l[n])/d:0}i[o]=A?c?Lr(a[o-1])!==Lr(a[o])?0:(a[o-1]+a[o])/2:a[o-1]:a[o]}iP(e,a,i),oP(e,i,t)}function ad(e,t,n){return Math.max(Math.min(e,n),t)}function AP(e,t){let n,r,a,i,o,A=da(e[0],t);for(n=0,r=e.length;n<r;++n)o=i,i=A,A=n<r-1&&da(e[n+1],t),i&&(a=e[n],o&&(a.cp1x=ad(a.cp1x,t.left,t.right),a.cp1y=ad(a.cp1y,t.top,t.bottom)),A&&(a.cp2x=ad(a.cp2x,t.left,t.right),a.cp2y=ad(a.cp2y,t.top,t.bottom)))}function lP(e,t,n,r,a){let i,o,A,l;if(t.spanGaps&&(e=e.filter(c=>!c.skip)),t.cubicInterpolationMode==="monotone")sP(e,a);else{let c=r?e[e.length-1]:e[0];for(i=0,o=e.length;i<o;++i)A=e[i],l=aP(c,A,e[Math.min(i+1,o-(r?0:1))%o],t.tension),A.cp1x=l.previous.x,A.cp1y=l.previous.y,A.cp2x=l.next.x,A.cp2y=l.next.y,c=A}t.capBezierPoints&&AP(e,n)}function Xh(){return typeof window<"u"&&typeof document<"u"}function Jh(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function id(e,t,n){let r;return typeof e=="string"?(r=parseInt(e,10),e.indexOf("%")!==-1&&(r=r/100*t.parentNode[n])):r=e,r}const od=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function cP(e,t){return od(e).getPropertyValue(t)}const dP=["top","right","bottom","left"];function Xi(e,t,n){const r={};n=n?"-"+n:"";for(let a=0;a<4;a++){const i=dP[a];r[i]=parseFloat(e[t+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const uP=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function fP(e,t){const n=e.touches,r=n&&n.length?n[0]:e,{offsetX:a,offsetY:i}=r;let o=!1,A,l;if(uP(a,i,e.target))A=a,l=i;else{const c=t.getBoundingClientRect();A=r.clientX-c.left,l=r.clientY-c.top,o=!0}return{x:A,y:l,box:o}}function Ji(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:r}=t,a=od(n),i=a.boxSizing==="border-box",o=Xi(a,"padding"),A=Xi(a,"border","width"),{x:l,y:c,box:d}=fP(e,n),u=o.left+(d&&A.left),f=o.top+(d&&A.top);let{width:p,height:h}=t;return i&&(p-=o.width+A.width,h-=o.height+A.height),{x:Math.round((l-u)/p*n.width/r),y:Math.round((c-f)/h*n.height/r)}}function pP(e,t,n){let r,a;if(t===void 0||n===void 0){const i=e&&Jh(e);if(!i)t=e.clientWidth,n=e.clientHeight;else{const o=i.getBoundingClientRect(),A=od(i),l=Xi(A,"border","width"),c=Xi(A,"padding");t=o.width-c.width-l.width,n=o.height-c.height-l.height,r=id(A.maxWidth,i,"clientWidth"),a=id(A.maxHeight,i,"clientHeight")}}return{width:t,height:n,maxWidth:r||Jc,maxHeight:a||Jc}}const ri=e=>Math.round(e*10)/10;function hP(e,t,n,r){const a=od(e),i=Xi(a,"margin"),o=id(a.maxWidth,e,"clientWidth")||Jc,A=id(a.maxHeight,e,"clientHeight")||Jc,l=pP(e,t,n);let{width:c,height:d}=l;if(a.boxSizing==="content-box"){const f=Xi(a,"border","width"),p=Xi(a,"padding");c-=p.width+f.width,d-=p.height+f.height}return c=Math.max(0,c-i.width),d=Math.max(0,r?c/r:d-i.height),c=ri(Math.min(c,o,l.maxWidth)),d=ri(Math.min(d,A,l.maxHeight)),c&&!d&&(d=ri(c/2)),(t!==void 0||n!==void 0)&&r&&l.height&&d>l.height&&(d=l.height,c=ri(Math.floor(d*r))),{width:c,height:d}}function UB(e,t,n){const r=t||1,a=ri(e.height*r),i=ri(e.width*r);e.height=ri(e.height),e.width=ri(e.width);const o=e.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||o.height!==a||o.width!==i?(e.currentDevicePixelRatio=r,o.height=a,o.width=i,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}const mP=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};Xh()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e}();function LB(e,t){const n=cP(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Zi(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function gP(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r==="middle"?n<.5?e.y:t.y:r==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function yP(e,t,n,r){const a={x:e.cp2x,y:e.cp2y},i={x:t.cp1x,y:t.cp1y},o=Zi(e,a,n),A=Zi(a,i,n),l=Zi(i,t,n),c=Zi(o,A,n),d=Zi(A,l,n);return Zi(c,d,n)}const bP=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},wP=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function ss(e,t,n){return e?bP(t,n):wP()}function OB(e,t){let n,r;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function QB(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function MB(e){return e==="angle"?{between:DA,compare:B9,normalize:rn}:{between:la,compare:(t,n)=>t-n,normalize:t=>t}}function PB({start:e,end:t,count:n,loop:r,style:a}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:a}}function BP(e,t,n){const{property:r,start:a,end:i}=n,{between:o,normalize:A}=MB(r),l=t.length;let{start:c,end:d,loop:u}=e,f,p;if(u){for(c+=l,d+=l,f=0,p=l;f<p&&o(A(t[c%l][r]),a,i);++f)c--,d--;c%=l,d%=l}return d<c&&(d+=l),{start:c,end:d,loop:u,style:e.style}}function NB(e,t,n){if(!n)return[e];const{property:r,start:a,end:i}=n,o=t.length,{compare:A,between:l,normalize:c}=MB(r),{start:d,end:u,loop:f,style:p}=BP(e,t,n),h=[];let m=!1,b=null,g,B,w;const y=()=>l(a,w,g)&&A(a,w)!==0,_=()=>A(i,g)===0||l(i,w,g),v=()=>m||y(),k=()=>!m||_();for(let C=d,x=d;C<=u;++C)B=t[C%o],!B.skip&&(g=c(B[r]),g!==w&&(m=l(g,a,i),b===null&&v()&&(b=A(g,a)===0?C:x),b!==null&&k()&&(h.push(PB({start:b,end:C,loop:f,count:o,style:p})),b=null),x=C,w=g));return b!==null&&h.push(PB({start:b,end:u,loop:f,count:o,style:p})),h}function RB(e,t){const n=[],r=e.segments;for(let a=0;a<r.length;a++){const i=NB(r[a],e.points,t);i.length&&n.push(...i)}return n}function vP(e,t,n,r){let a=0,i=t-1;if(n&&!r)for(;a<t&&!e[a].skip;)a++;for(;a<t&&e[a].skip;)a++;for(a%=t,n&&(i+=a);i>a&&e[i%t].skip;)i--;return i%=t,{start:a,end:i}}function _P(e,t,n,r){const a=e.length,i=[];let o=t,A=e[t],l;for(l=t+1;l<=n;++l){const c=e[l%a];c.skip||c.stop?A.skip||(r=!1,i.push({start:t%a,end:(l-1)%a,loop:r}),t=o=c.stop?l:null):(o=l,A.skip&&(t=l)),A=c}return o!==null&&i.push({start:t%a,end:o%a,loop:r}),i}function CP(e,t){const n=e.points,r=e.options.spanGaps,a=n.length;if(!a)return[];const i=!!e._loop,{start:o,end:A}=vP(n,a,i,r);if(r===!0)return HB(e,[{start:o,end:A,loop:i}],n,t);const l=A<o?A+a:A,c=!!e._fullLoop&&o===0&&A===a-1;return HB(e,_P(n,o,l,c),n,t)}function HB(e,t,n,r){return!r||!r.setContext||!n?t:kP(e,t,n,r)}function kP(e,t,n,r){const a=e._chart.getContext(),i=VB(e.options),{_datasetIndex:o,options:{spanGaps:A}}=e,l=n.length,c=[];let d=i,u=t[0].start,f=u;function p(h,m,b,g){const B=A?-1:1;if(h!==m){for(h+=l;n[h%l].skip;)h-=B;for(;n[m%l].skip;)m+=B;h%l!==m%l&&(c.push({start:h%l,end:m%l,loop:b,style:g}),d=g,u=m%l)}}for(const h of t){u=A?u:h.start;let m=n[u%l],b;for(f=u+1;f<=h.end;f++){const g=n[f%l];b=VB(r.setContext(ni(a,{type:"segment",p0:m,p1:g,p0DataIndex:(f-1)%l,p1DataIndex:f%l,datasetIndex:o}))),xP(b,d)&&p(u,f-1,h.loop,d),m=g,d=b}u<f-1&&p(u,f-1,h.loop,d)}return c}function VB(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function xP(e,t){if(!t)return!1;const n=[],r=function(a,i){return Vh(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(e,r)!==JSON.stringify(t,r)}function sd(e,t,n){return e.options.clip?e[n]:t[n]}function EP(e,t){const{xScale:n,yScale:r}=e;return n&&r?{left:sd(n,t,"left"),right:sd(n,t,"right"),top:sd(r,t,"top"),bottom:sd(r,t,"bottom")}:t}function zB(e,t){const n=t._clip;if(n.disabled)return!1;const r=EP(t,e.chartArea);return{left:n.left===!1?0:r.left-(n.left===!0?0:n.left),right:n.right===!1?e.width:r.right+(n.right===!0?0:n.right),top:n.top===!1?0:r.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?e.height:r.bottom+(n.bottom===!0?0:n.bottom)}}/*!
|
|
665
|
+
*/function Aa(){}const cM=(()=>{let e=0;return()=>e++})();function xe(e){return e==null}function Ve(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function Ee(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function gt(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function Rn(e,t){return gt(e)?e:t}function he(e,t){return typeof e>"u"?t:e}const dM=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,nB=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function We(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function je(e,t,n,r){let a,i,o;if(Ve(e))if(i=e.length,r)for(a=i-1;a>=0;a--)t.call(n,e[a],a);else for(a=0;a<i;a++)t.call(n,e[a],a);else if(Ee(e))for(o=Object.keys(e),i=o.length,a=0;a<i;a++)t.call(n,e[o[a]],o[a])}function qc(e,t){let n,r,a,i;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(a=e[n],i=t[n],a.datasetIndex!==i.datasetIndex||a.index!==i.index)return!1;return!0}function Xc(e){if(Ve(e))return e.map(Xc);if(Ee(e)){const t=Object.create(null),n=Object.keys(e),r=n.length;let a=0;for(;a<r;++a)t[n[a]]=Xc(e[n[a]]);return t}return e}function rB(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function uM(e,t,n,r){if(!rB(e))return;const a=t[e],i=n[e];Ee(a)&&Ee(i)?Ur(a,i,r):t[e]=Xc(i)}function Ur(e,t,n){const r=Ve(t)?t:[t],a=r.length;if(!Ee(e))return e;n=n||{};const i=n.merger||uM;let o;for(let A=0;A<a;++A){if(o=r[A],!Ee(o))continue;const l=Object.keys(o);for(let c=0,d=l.length;c<d;++c)i(l[c],e,o,n)}return e}function FA(e,t){return Ur(e,t,{merger:fM})}function fM(e,t,n){if(!rB(e))return;const r=t[e],a=n[e];Ee(r)&&Ee(a)?FA(r,a):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=Xc(a))}const aB={"":e=>e,x:e=>e.x,y:e=>e.y};function pM(e){const t=e.split("."),n=[];let r="";for(const a of t)r+=a,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function hM(e){const t=pM(e);return n=>{for(const r of t){if(r==="")break;n=n&&n[r]}return n}}function Ja(e,t){return(aB[t]||(aB[t]=hM(t)))(e)}function Ph(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Cn=e=>typeof e<"u",kn=e=>typeof e=="function",iB=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function mM(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const Ce=Math.PI,at=2*Ce,gM=at+Ce,Jc=Number.POSITIVE_INFINITY,Nh=Ce/180,dt=Ce/2,Xn=Ce/4,Zc=Ce*2/3,Za=Math.log10,Lr=Math.sign;function IA(e,t,n){return Math.abs(e-t)<n}function oB(e){const t=Math.round(e);e=IA(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(Za(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function yM(e){const t=[],n=Math.sqrt(e);let r;for(r=1;r<n;r++)e%r===0&&(t.push(r),t.push(e/r));return n===(n|0)&&t.push(n),t.sort((a,i)=>a-i).pop(),t}function bM(e){return typeof e=="symbol"||typeof e=="object"&&e!==null&&!(Symbol.toPrimitive in e||"toString"in e||"valueOf"in e)}function ei(e){return!bM(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function wM(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function sB(e,t,n){let r,a,i;for(r=0,a=e.length;r<a;r++)i=e[r][n],isNaN(i)||(t.min=Math.min(t.min,i),t.max=Math.max(t.max,i))}function Mt(e){return e*(Ce/180)}function ed(e){return e*(180/Ce)}function AB(e){if(!gt(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function lB(e,t){const n=t.x-e.x,r=t.y-e.y,a=Math.sqrt(n*n+r*r);let i=Math.atan2(r,n);return i<-.5*Ce&&(i+=at),{angle:i,distance:a}}function rs(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function BM(e,t){return(e-t+gM)%at-Ce}function rn(e){return(e%at+at)%at}function DA(e,t,n,r){const a=rn(e),i=rn(t),o=rn(n),A=rn(i-a),l=rn(o-a),c=rn(a-i),d=rn(a-o);return a===i||a===o||r&&i===o||A>l&&c<d}function Kt(e,t,n){return Math.max(t,Math.min(n,e))}function vM(e){return Kt(e,-32768,32767)}function la(e,t,n,r=1e-6){return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function Rh(e,t,n){n=n||(o=>e[o]<t);let r=e.length-1,a=0,i;for(;r-a>1;)i=a+r>>1,n(i)?a=i:r=i;return{lo:a,hi:r}}const ca=(e,t,n,r)=>Rh(e,n,r?a=>{const i=e[a][t];return i<n||i===n&&e[a+1][t]===n}:a=>e[a][t]<n),_M=(e,t,n)=>Rh(e,n,r=>e[r][t]>=n);function CM(e,t,n){let r=0,a=e.length;for(;r<a&&e[r]<t;)r++;for(;a>r&&e[a-1]>n;)a--;return r>0||a<e.length?e.slice(r,a):e}const cB=["push","pop","shift","splice","unshift"];function kM(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),cB.forEach(n=>{const r="_onData"+Ph(n),a=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...i){const o=a.apply(this,i);return e._chartjs.listeners.forEach(A=>{typeof A[r]=="function"&&A[r](...i)}),o}})})}function dB(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,a=r.indexOf(t);a!==-1&&r.splice(a,1),!(r.length>0)&&(cB.forEach(i=>{delete e[i]}),delete e._chartjs)}function uB(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const fB=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function pB(e,t){let n=[],r=!1;return function(...a){n=a,r||(r=!0,fB.call(window,()=>{r=!1,e.apply(t,n)}))}}function xM(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}const Hh=e=>e==="start"?"left":e==="end"?"right":"center",an=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2,EM=(e,t,n,r)=>e===(r?"left":"right")?n:e==="center"?(t+n)/2:t;function hB(e,t,n){const r=t.length;let a=0,i=r;if(e._sorted){const{iScale:o,vScale:A,_parsed:l}=e,c=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,d=o.axis,{min:u,max:f,minDefined:p,maxDefined:h}=o.getUserBounds();if(p){if(a=Math.min(ca(l,d,u).lo,n?r:ca(t,d,o.getPixelForValue(u)).lo),c){const m=l.slice(0,a+1).reverse().findIndex(b=>!xe(b[A.axis]));a-=Math.max(0,m)}a=Kt(a,0,r-1)}if(h){let m=Math.max(ca(l,o.axis,f,!0).hi+1,n?0:ca(t,d,o.getPixelForValue(f),!0).hi+1);if(c){const b=l.slice(m-1).findIndex(g=>!xe(g[A.axis]));m+=Math.max(0,b)}i=Kt(m,a,r)-a}else i=r-a}return{start:a,count:i}}function mB(e){const{xScale:t,yScale:n,_scaleRanges:r}=e,a={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=a,!0;const i=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,a),i}const td=e=>e===0||e===1,gB=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*at/n)),yB=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*at/n)+1,TA={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*dt)+1,easeOutSine:e=>Math.sin(e*dt),easeInOutSine:e=>-.5*(Math.cos(Ce*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>td(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>td(e)?e:gB(e,.075,.3),easeOutElastic:e=>td(e)?e:yB(e,.075,.3),easeInOutElastic(e){return td(e)?e:e<.5?.5*gB(e*2,.1125,.45):.5+.5*yB(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-TA.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?TA.easeInBounce(e*2)*.5:TA.easeOutBounce(e*2-1)*.5+.5};function Vh(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function bB(e){return Vh(e)?e:new SA(e)}function zh(e){return Vh(e)?e:new SA(e).saturate(.5).darken(.1).hexString()}const SM=["x","y","borderWidth","radius","tension"],FM=["color","borderColor","backgroundColor"];function IM(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:FM},numbers:{type:"number",properties:SM}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function DM(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const wB=new Map;function TM(e,t){t=t||{};const n=e+JSON.stringify(t);let r=wB.get(n);return r||(r=new Intl.NumberFormat(e,t),wB.set(n,r)),r}function UA(e,t,n){return TM(t,n).format(e)}const BB={values(e){return Ve(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const r=this.chart.options.locale;let a,i=e;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(a="scientific"),i=UM(e,n)}const o=Za(Math.abs(i)),A=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),l={notation:a,minimumFractionDigits:A,maximumFractionDigits:A};return Object.assign(l,this.options.ticks.format),UA(e,r,l)},logarithmic(e,t,n){if(e===0)return"0";const r=n[t].significand||e/Math.pow(10,Math.floor(Za(e)));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?BB.numeric.call(this,e,t,n):""}};function UM(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var nd={formatters:BB};function LM(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,n)=>n.lineWidth,tickColor:(t,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:nd.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const ji=Object.create(null),$h=Object.create(null);function LA(e,t){if(!t)return e;const n=t.split(".");for(let r=0,a=n.length;r<a;++r){const i=n[r];e=e[i]||(e[i]=Object.create(null))}return e}function Kh(e,t,n){return typeof t=="string"?Ur(LA(e,t),n):Ur(LA(e,""),t)}class OM{constructor(t,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=r=>r.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(r,a)=>zh(a.backgroundColor),this.hoverBorderColor=(r,a)=>zh(a.borderColor),this.hoverColor=(r,a)=>zh(a.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(n)}set(t,n){return Kh(this,t,n)}get(t){return LA(this,t)}describe(t,n){return Kh($h,t,n)}override(t,n){return Kh(ji,t,n)}route(t,n,r,a){const i=LA(this,t),o=LA(this,r),A="_"+n;Object.defineProperties(i,{[A]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[A],c=o[a];return Ee(l)?Object.assign({},c,l):he(l,c)},set(l){this[A]=l}}})}apply(t){t.forEach(n=>n(this))}}var it=new OM({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[IM,DM,LM]);function QM(e){return!e||xe(e.size)||xe(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function rd(e,t,n,r,a){let i=t[a];return i||(i=t[a]=e.measureText(a).width,n.push(a)),i>r&&(r=i),r}function MM(e,t,n,r){r=r||{};let a=r.data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(a=r.data={},i=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let o=0;const A=n.length;let l,c,d,u,f;for(l=0;l<A;l++)if(u=n[l],u!=null&&!Ve(u))o=rd(e,a,i,o,u);else if(Ve(u))for(c=0,d=u.length;c<d;c++)f=u[c],f!=null&&!Ve(f)&&(o=rd(e,a,i,o,f));e.restore();const p=i.length/2;if(p>n.length){for(l=0;l<p;l++)delete a[i[l]];i.splice(0,p)}return o}function Yi(e,t,n){const r=e.currentDevicePixelRatio,a=n!==0?Math.max(n/2,.5):0;return Math.round((t-a)*r)/r+a}function vB(e,t){!t&&!e||(t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function Wh(e,t,n,r){_B(e,t,n,r,null)}function _B(e,t,n,r,a){let i,o,A,l,c,d,u,f;const p=t.pointStyle,h=t.rotation,m=t.radius;let b=(h||0)*Nh;if(p&&typeof p=="object"&&(i=p.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){e.save(),e.translate(n,r),e.rotate(b),e.drawImage(p,-p.width/2,-p.height/2,p.width,p.height),e.restore();return}if(!(isNaN(m)||m<=0)){switch(e.beginPath(),p){default:a?e.ellipse(n,r,a/2,m,0,0,at):e.arc(n,r,m,0,at),e.closePath();break;case"triangle":d=a?a/2:m,e.moveTo(n+Math.sin(b)*d,r-Math.cos(b)*m),b+=Zc,e.lineTo(n+Math.sin(b)*d,r-Math.cos(b)*m),b+=Zc,e.lineTo(n+Math.sin(b)*d,r-Math.cos(b)*m),e.closePath();break;case"rectRounded":c=m*.516,l=m-c,o=Math.cos(b+Xn)*l,u=Math.cos(b+Xn)*(a?a/2-c:l),A=Math.sin(b+Xn)*l,f=Math.sin(b+Xn)*(a?a/2-c:l),e.arc(n-u,r-A,c,b-Ce,b-dt),e.arc(n+f,r-o,c,b-dt,b),e.arc(n+u,r+A,c,b,b+dt),e.arc(n-f,r+o,c,b+dt,b+Ce),e.closePath();break;case"rect":if(!h){l=Math.SQRT1_2*m,d=a?a/2:l,e.rect(n-d,r-l,2*d,2*l);break}b+=Xn;case"rectRot":u=Math.cos(b)*(a?a/2:m),o=Math.cos(b)*m,A=Math.sin(b)*m,f=Math.sin(b)*(a?a/2:m),e.moveTo(n-u,r-A),e.lineTo(n+f,r-o),e.lineTo(n+u,r+A),e.lineTo(n-f,r+o),e.closePath();break;case"crossRot":b+=Xn;case"cross":u=Math.cos(b)*(a?a/2:m),o=Math.cos(b)*m,A=Math.sin(b)*m,f=Math.sin(b)*(a?a/2:m),e.moveTo(n-u,r-A),e.lineTo(n+u,r+A),e.moveTo(n+f,r-o),e.lineTo(n-f,r+o);break;case"star":u=Math.cos(b)*(a?a/2:m),o=Math.cos(b)*m,A=Math.sin(b)*m,f=Math.sin(b)*(a?a/2:m),e.moveTo(n-u,r-A),e.lineTo(n+u,r+A),e.moveTo(n+f,r-o),e.lineTo(n-f,r+o),b+=Xn,u=Math.cos(b)*(a?a/2:m),o=Math.cos(b)*m,A=Math.sin(b)*m,f=Math.sin(b)*(a?a/2:m),e.moveTo(n-u,r-A),e.lineTo(n+u,r+A),e.moveTo(n+f,r-o),e.lineTo(n-f,r+o);break;case"line":o=a?a/2:Math.cos(b)*m,A=Math.sin(b)*m,e.moveTo(n-o,r-A),e.lineTo(n+o,r+A);break;case"dash":e.moveTo(n,r),e.lineTo(n+Math.cos(b)*(a?a/2:m),r+Math.sin(b)*m);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function da(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function OA(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function QA(e){e.restore()}function PM(e,t,n,r,a){if(!t)return e.lineTo(n.x,n.y);if(a==="middle"){const i=(t.x+n.x)/2;e.lineTo(i,t.y),e.lineTo(i,n.y)}else a==="after"!=!!r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}function NM(e,t,n,r){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function RM(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),xe(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function HM(e,t,n,r,a){if(a.strikethrough||a.underline){const i=e.measureText(r),o=t-i.actualBoundingBoxLeft,A=t+i.actualBoundingBoxRight,l=n-i.actualBoundingBoxAscent,c=n+i.actualBoundingBoxDescent,d=a.strikethrough?(l+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=a.decorationWidth||2,e.moveTo(o,d),e.lineTo(A,d),e.stroke()}}function VM(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function qi(e,t,n,r,a,i={}){const o=Ve(t)?t:[t],A=i.strokeWidth>0&&i.strokeColor!=="";let l,c;for(e.save(),e.font=a.string,RM(e,i),l=0;l<o.length;++l)c=o[l],i.backdrop&&VM(e,i.backdrop),A&&(i.strokeColor&&(e.strokeStyle=i.strokeColor),xe(i.strokeWidth)||(e.lineWidth=i.strokeWidth),e.strokeText(c,n,r,i.maxWidth)),e.fillText(c,n,r,i.maxWidth),HM(e,n,r,c,i),r+=Number(a.lineHeight);e.restore()}function as(e,t){const{x:n,y:r,w:a,h:i,radius:o}=t;e.arc(n+o.topLeft,r+o.topLeft,o.topLeft,1.5*Ce,Ce,!0),e.lineTo(n,r+i-o.bottomLeft),e.arc(n+o.bottomLeft,r+i-o.bottomLeft,o.bottomLeft,Ce,dt,!0),e.lineTo(n+a-o.bottomRight,r+i),e.arc(n+a-o.bottomRight,r+i-o.bottomRight,o.bottomRight,dt,0,!0),e.lineTo(n+a,r+o.topRight),e.arc(n+a-o.topRight,r+o.topRight,o.topRight,0,-dt,!0),e.lineTo(n+o.topLeft,r)}const zM=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,$M=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function KM(e,t){const n=(""+e).match(zM);if(!n||n[1]==="normal")return t*1.2;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100;break}return t*e}const WM=e=>+e||0;function Gh(e,t){const n={},r=Ee(t),a=r?Object.keys(t):t,i=Ee(e)?r?o=>he(e[o],e[t[o]]):o=>e[o]:()=>e;for(const o of a)n[o]=WM(i(o));return n}function CB(e){return Gh(e,{top:"y",right:"x",bottom:"y",left:"x"})}function ti(e){return Gh(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Ft(e){const t=CB(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function yt(e,t){e=e||{},t=t||it.font;let n=he(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let r=he(e.style,t.style);r&&!(""+r).match($M)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const a={family:he(e.family,t.family),lineHeight:KM(he(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:he(e.weight,t.weight),string:""};return a.string=QM(a),a}function ut(e,t,n,r){let a=!0,i,o,A;for(i=0,o=e.length;i<o;++i)if(A=e[i],A!==void 0&&(t!==void 0&&typeof A=="function"&&(A=A(t),a=!1),n!==void 0&&Ve(A)&&(A=A[n%A.length],a=!1),A!==void 0))return r&&!a&&(r.cacheable=!1),A}function GM(e,t,n){const{min:r,max:a}=e,i=nB(t,(a-r)/2),o=(A,l)=>n&&A===0?0:A+l;return{min:o(r,-Math.abs(i)),max:o(a,i)}}function ni(e,t){return Object.assign(Object.create(e),t)}function jh(e,t=[""],n,r,a=()=>e[0]){const i=n||e;typeof r>"u"&&(r=FB("_fallback",e));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:i,_fallback:r,_getTarget:a,override:A=>jh([A,...e],t,i,r)};return new Proxy(o,{deleteProperty(A,l){return delete A[l],delete A._keys,delete e[0][l],!0},get(A,l){return xB(A,l,()=>tP(l,t,e,A))},getOwnPropertyDescriptor(A,l){return Reflect.getOwnPropertyDescriptor(A._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(A,l){return IB(A).includes(l)},ownKeys(A){return IB(A)},set(A,l,c){const d=A._storage||(A._storage=a());return A[l]=d[l]=c,delete A._keys,!0}})}function is(e,t,n,r){const a={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:kB(e,r),setContext:i=>is(e,i,n,r),override:i=>is(e.override(i),t,n,r)};return new Proxy(a,{deleteProperty(i,o){return delete i[o],delete e[o],!0},get(i,o,A){return xB(i,o,()=>YM(i,o,A))},getOwnPropertyDescriptor(i,o){return i._descriptors.allKeys?Reflect.has(e,o)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,o)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(i,o){return Reflect.has(e,o)},ownKeys(){return Reflect.ownKeys(e)},set(i,o,A){return e[o]=A,delete i[o],!0}})}function kB(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:a=t.allKeys}=e;return{allKeys:a,scriptable:n,indexable:r,isScriptable:kn(n)?n:()=>n,isIndexable:kn(r)?r:()=>r}}const jM=(e,t)=>e?e+Ph(t):t,Yh=(e,t)=>Ee(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function xB(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t==="constructor")return e[t];const r=n();return e[t]=r,r}function YM(e,t,n){const{_proxy:r,_context:a,_subProxy:i,_descriptors:o}=e;let A=r[t];return kn(A)&&o.isScriptable(t)&&(A=qM(t,A,e,n)),Ve(A)&&A.length&&(A=XM(t,A,e,o.isIndexable)),Yh(t,A)&&(A=is(A,a,i&&i[t],o)),A}function qM(e,t,n,r){const{_proxy:a,_context:i,_subProxy:o,_stack:A}=n;if(A.has(e))throw new Error("Recursion detected: "+Array.from(A).join("->")+"->"+e);A.add(e);let l=t(i,o||r);return A.delete(e),Yh(e,l)&&(l=qh(a._scopes,a,e,l)),l}function XM(e,t,n,r){const{_proxy:a,_context:i,_subProxy:o,_descriptors:A}=n;if(typeof i.index<"u"&&r(e))return t[i.index%t.length];if(Ee(t[0])){const l=t,c=a._scopes.filter(d=>d!==l);t=[];for(const d of l){const u=qh(c,a,e,d);t.push(is(u,i,o&&o[e],A))}}return t}function EB(e,t,n){return kn(e)?e(t,n):e}const JM=(e,t)=>e===!0?t:typeof e=="string"?Ja(t,e):void 0;function ZM(e,t,n,r,a){for(const i of t){const o=JM(n,i);if(o){e.add(o);const A=EB(o._fallback,n,a);if(typeof A<"u"&&A!==n&&A!==r)return A}else if(o===!1&&typeof r<"u"&&n!==r)return null}return!1}function qh(e,t,n,r){const a=t._rootScopes,i=EB(t._fallback,n,r),o=[...e,...a],A=new Set;A.add(r);let l=SB(A,o,n,i||n,r);return l===null||typeof i<"u"&&i!==n&&(l=SB(A,o,i,l,r),l===null)?!1:jh(Array.from(A),[""],a,i,()=>eP(t,n,r))}function SB(e,t,n,r,a){for(;n;)n=ZM(e,t,n,r,a);return n}function eP(e,t,n){const r=e._getTarget();t in r||(r[t]={});const a=r[t];return Ve(a)&&Ee(n)?n:a||{}}function tP(e,t,n,r){let a;for(const i of t)if(a=FB(jM(i,e),n),typeof a<"u")return Yh(e,a)?qh(n,r,e,a):a}function FB(e,t){for(const n of t){if(!n)continue;const r=n[e];if(typeof r<"u")return r}}function IB(e){let t=e._keys;return t||(t=e._keys=nP(e._scopes)),t}function nP(e){const t=new Set;for(const n of e)for(const r of Object.keys(n).filter(a=>!a.startsWith("_")))t.add(r);return Array.from(t)}function DB(e,t,n,r){const{iScale:a}=e,{key:i="r"}=this._parsing,o=new Array(r);let A,l,c,d;for(A=0,l=r;A<l;++A)c=A+n,d=t[c],o[A]={r:a.parse(Ja(d,i),c)};return o}const rP=Number.EPSILON||1e-14,os=(e,t)=>t<e.length&&!e[t].skip&&e[t],TB=e=>e==="x"?"y":"x";function aP(e,t,n,r){const a=e.skip?t:e,i=t,o=n.skip?t:n,A=rs(i,a),l=rs(o,i);let c=A/(A+l),d=l/(A+l);c=isNaN(c)?0:c,d=isNaN(d)?0:d;const u=r*c,f=r*d;return{previous:{x:i.x-u*(o.x-a.x),y:i.y-u*(o.y-a.y)},next:{x:i.x+f*(o.x-a.x),y:i.y+f*(o.y-a.y)}}}function iP(e,t,n){const r=e.length;let a,i,o,A,l,c=os(e,0);for(let d=0;d<r-1;++d)if(l=c,c=os(e,d+1),!(!l||!c)){if(IA(t[d],0,rP)){n[d]=n[d+1]=0;continue}a=n[d]/t[d],i=n[d+1]/t[d],A=Math.pow(a,2)+Math.pow(i,2),!(A<=9)&&(o=3/Math.sqrt(A),n[d]=a*o*t[d],n[d+1]=i*o*t[d])}}function oP(e,t,n="x"){const r=TB(n),a=e.length;let i,o,A,l=os(e,0);for(let c=0;c<a;++c){if(o=A,A=l,l=os(e,c+1),!A)continue;const d=A[n],u=A[r];o&&(i=(d-o[n])/3,A[`cp1${n}`]=d-i,A[`cp1${r}`]=u-i*t[c]),l&&(i=(l[n]-d)/3,A[`cp2${n}`]=d+i,A[`cp2${r}`]=u+i*t[c])}}function sP(e,t="x"){const n=TB(t),r=e.length,a=Array(r).fill(0),i=Array(r);let o,A,l,c=os(e,0);for(o=0;o<r;++o)if(A=l,l=c,c=os(e,o+1),!!l){if(c){const d=c[t]-l[t];a[o]=d!==0?(c[n]-l[n])/d:0}i[o]=A?c?Lr(a[o-1])!==Lr(a[o])?0:(a[o-1]+a[o])/2:a[o-1]:a[o]}iP(e,a,i),oP(e,i,t)}function ad(e,t,n){return Math.max(Math.min(e,n),t)}function AP(e,t){let n,r,a,i,o,A=da(e[0],t);for(n=0,r=e.length;n<r;++n)o=i,i=A,A=n<r-1&&da(e[n+1],t),i&&(a=e[n],o&&(a.cp1x=ad(a.cp1x,t.left,t.right),a.cp1y=ad(a.cp1y,t.top,t.bottom)),A&&(a.cp2x=ad(a.cp2x,t.left,t.right),a.cp2y=ad(a.cp2y,t.top,t.bottom)))}function lP(e,t,n,r,a){let i,o,A,l;if(t.spanGaps&&(e=e.filter(c=>!c.skip)),t.cubicInterpolationMode==="monotone")sP(e,a);else{let c=r?e[e.length-1]:e[0];for(i=0,o=e.length;i<o;++i)A=e[i],l=aP(c,A,e[Math.min(i+1,o-(r?0:1))%o],t.tension),A.cp1x=l.previous.x,A.cp1y=l.previous.y,A.cp2x=l.next.x,A.cp2y=l.next.y,c=A}t.capBezierPoints&&AP(e,n)}function Xh(){return typeof window<"u"&&typeof document<"u"}function Jh(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function id(e,t,n){let r;return typeof e=="string"?(r=parseInt(e,10),e.indexOf("%")!==-1&&(r=r/100*t.parentNode[n])):r=e,r}const od=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function cP(e,t){return od(e).getPropertyValue(t)}const dP=["top","right","bottom","left"];function Xi(e,t,n){const r={};n=n?"-"+n:"";for(let a=0;a<4;a++){const i=dP[a];r[i]=parseFloat(e[t+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const uP=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function fP(e,t){const n=e.touches,r=n&&n.length?n[0]:e,{offsetX:a,offsetY:i}=r;let o=!1,A,l;if(uP(a,i,e.target))A=a,l=i;else{const c=t.getBoundingClientRect();A=r.clientX-c.left,l=r.clientY-c.top,o=!0}return{x:A,y:l,box:o}}function Ji(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:r}=t,a=od(n),i=a.boxSizing==="border-box",o=Xi(a,"padding"),A=Xi(a,"border","width"),{x:l,y:c,box:d}=fP(e,n),u=o.left+(d&&A.left),f=o.top+(d&&A.top);let{width:p,height:h}=t;return i&&(p-=o.width+A.width,h-=o.height+A.height),{x:Math.round((l-u)/p*n.width/r),y:Math.round((c-f)/h*n.height/r)}}function pP(e,t,n){let r,a;if(t===void 0||n===void 0){const i=e&&Jh(e);if(!i)t=e.clientWidth,n=e.clientHeight;else{const o=i.getBoundingClientRect(),A=od(i),l=Xi(A,"border","width"),c=Xi(A,"padding");t=o.width-c.width-l.width,n=o.height-c.height-l.height,r=id(A.maxWidth,i,"clientWidth"),a=id(A.maxHeight,i,"clientHeight")}}return{width:t,height:n,maxWidth:r||Jc,maxHeight:a||Jc}}const ri=e=>Math.round(e*10)/10;function hP(e,t,n,r){const a=od(e),i=Xi(a,"margin"),o=id(a.maxWidth,e,"clientWidth")||Jc,A=id(a.maxHeight,e,"clientHeight")||Jc,l=pP(e,t,n);let{width:c,height:d}=l;if(a.boxSizing==="content-box"){const f=Xi(a,"border","width"),p=Xi(a,"padding");c-=p.width+f.width,d-=p.height+f.height}return c=Math.max(0,c-i.width),d=Math.max(0,r?c/r:d-i.height),c=ri(Math.min(c,o,l.maxWidth)),d=ri(Math.min(d,A,l.maxHeight)),c&&!d&&(d=ri(c/2)),(t!==void 0||n!==void 0)&&r&&l.height&&d>l.height&&(d=l.height,c=ri(Math.floor(d*r))),{width:c,height:d}}function UB(e,t,n){const r=t||1,a=ri(e.height*r),i=ri(e.width*r);e.height=ri(e.height),e.width=ri(e.width);const o=e.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||o.height!==a||o.width!==i?(e.currentDevicePixelRatio=r,o.height=a,o.width=i,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}const mP=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};Xh()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e}();function LB(e,t){const n=cP(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Zi(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function gP(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r==="middle"?n<.5?e.y:t.y:r==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function yP(e,t,n,r){const a={x:e.cp2x,y:e.cp2y},i={x:t.cp1x,y:t.cp1y},o=Zi(e,a,n),A=Zi(a,i,n),l=Zi(i,t,n),c=Zi(o,A,n),d=Zi(A,l,n);return Zi(c,d,n)}const bP=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},wP=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function ss(e,t,n){return e?bP(t,n):wP()}function OB(e,t){let n,r;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function QB(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function MB(e){return e==="angle"?{between:DA,compare:BM,normalize:rn}:{between:la,compare:(t,n)=>t-n,normalize:t=>t}}function PB({start:e,end:t,count:n,loop:r,style:a}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:a}}function BP(e,t,n){const{property:r,start:a,end:i}=n,{between:o,normalize:A}=MB(r),l=t.length;let{start:c,end:d,loop:u}=e,f,p;if(u){for(c+=l,d+=l,f=0,p=l;f<p&&o(A(t[c%l][r]),a,i);++f)c--,d--;c%=l,d%=l}return d<c&&(d+=l),{start:c,end:d,loop:u,style:e.style}}function NB(e,t,n){if(!n)return[e];const{property:r,start:a,end:i}=n,o=t.length,{compare:A,between:l,normalize:c}=MB(r),{start:d,end:u,loop:f,style:p}=BP(e,t,n),h=[];let m=!1,b=null,g,B,w;const y=()=>l(a,w,g)&&A(a,w)!==0,_=()=>A(i,g)===0||l(i,w,g),v=()=>m||y(),k=()=>!m||_();for(let C=d,x=d;C<=u;++C)B=t[C%o],!B.skip&&(g=c(B[r]),g!==w&&(m=l(g,a,i),b===null&&v()&&(b=A(g,a)===0?C:x),b!==null&&k()&&(h.push(PB({start:b,end:C,loop:f,count:o,style:p})),b=null),x=C,w=g));return b!==null&&h.push(PB({start:b,end:u,loop:f,count:o,style:p})),h}function RB(e,t){const n=[],r=e.segments;for(let a=0;a<r.length;a++){const i=NB(r[a],e.points,t);i.length&&n.push(...i)}return n}function vP(e,t,n,r){let a=0,i=t-1;if(n&&!r)for(;a<t&&!e[a].skip;)a++;for(;a<t&&e[a].skip;)a++;for(a%=t,n&&(i+=a);i>a&&e[i%t].skip;)i--;return i%=t,{start:a,end:i}}function _P(e,t,n,r){const a=e.length,i=[];let o=t,A=e[t],l;for(l=t+1;l<=n;++l){const c=e[l%a];c.skip||c.stop?A.skip||(r=!1,i.push({start:t%a,end:(l-1)%a,loop:r}),t=o=c.stop?l:null):(o=l,A.skip&&(t=l)),A=c}return o!==null&&i.push({start:t%a,end:o%a,loop:r}),i}function CP(e,t){const n=e.points,r=e.options.spanGaps,a=n.length;if(!a)return[];const i=!!e._loop,{start:o,end:A}=vP(n,a,i,r);if(r===!0)return HB(e,[{start:o,end:A,loop:i}],n,t);const l=A<o?A+a:A,c=!!e._fullLoop&&o===0&&A===a-1;return HB(e,_P(n,o,l,c),n,t)}function HB(e,t,n,r){return!r||!r.setContext||!n?t:kP(e,t,n,r)}function kP(e,t,n,r){const a=e._chart.getContext(),i=VB(e.options),{_datasetIndex:o,options:{spanGaps:A}}=e,l=n.length,c=[];let d=i,u=t[0].start,f=u;function p(h,m,b,g){const B=A?-1:1;if(h!==m){for(h+=l;n[h%l].skip;)h-=B;for(;n[m%l].skip;)m+=B;h%l!==m%l&&(c.push({start:h%l,end:m%l,loop:b,style:g}),d=g,u=m%l)}}for(const h of t){u=A?u:h.start;let m=n[u%l],b;for(f=u+1;f<=h.end;f++){const g=n[f%l];b=VB(r.setContext(ni(a,{type:"segment",p0:m,p1:g,p0DataIndex:(f-1)%l,p1DataIndex:f%l,datasetIndex:o}))),xP(b,d)&&p(u,f-1,h.loop,d),m=g,d=b}u<f-1&&p(u,f-1,h.loop,d)}return c}function VB(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function xP(e,t){if(!t)return!1;const n=[],r=function(a,i){return Vh(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(e,r)!==JSON.stringify(t,r)}function sd(e,t,n){return e.options.clip?e[n]:t[n]}function EP(e,t){const{xScale:n,yScale:r}=e;return n&&r?{left:sd(n,t,"left"),right:sd(n,t,"right"),top:sd(r,t,"top"),bottom:sd(r,t,"bottom")}:t}function zB(e,t){const n=t._clip;if(n.disabled)return!1;const r=EP(t,e.chartArea);return{left:n.left===!1?0:r.left-(n.left===!0?0:n.left),right:n.right===!1?e.width:r.right+(n.right===!0?0:n.right),top:n.top===!1?0:r.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?e.height:r.bottom+(n.bottom===!0?0:n.bottom)}}/*!
|
|
666
666
|
* Chart.js v4.5.1
|
|
667
667
|
* https://www.chartjs.org
|
|
668
668
|
* (c) 2025 Chart.js Contributors
|
|
669
669
|
* Released under the MIT License
|
|
670
|
-
*/class SP{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,r,a){const i=n.listeners[a],o=n.duration;i.forEach(A=>A({chart:t,initial:n.initial,numSteps:o,currentStep:Math.min(r-n.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=fB.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((r,a)=>{if(!r.running||!r.items.length)return;const i=r.items;let o=i.length-1,A=!1,l;for(;o>=0;--o)l=i[o],l._active?(l._total>r.duration&&(r.duration=l._total),l.tick(t),A=!0):(i[o]=i[i.length-1],i.pop());A&&(a.draw(),this._notify(a,r,t,"progress")),i.length||(r.running=!1,this._notify(a,r,t,"complete"),r.initial=!1),n+=i.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let r=n.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,r)),r}listen(t,n,r){this._getAnims(t).listeners[n].push(r)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,a)=>Math.max(r,a._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const r=n.items;let a=r.length-1;for(;a>=0;--a)r[a].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var ua=new SP;const $B="transparent",FP={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const r=bB(e||$B),a=r.valid&&bB(t||$B);return a&&a.valid?a.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class IP{constructor(t,n,r,a){const i=n[r];a=ut([t.to,a,i,t.from]);const o=ut([t.from,i,a]);this._active=!0,this._fn=t.fn||FP[t.type||typeof o],this._easing=TA[t.easing]||TA.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=r,this._from=o,this._to=a,this._promises=void 0}active(){return this._active}update(t,n,r){if(this._active){this._notify(!1);const a=this._target[this._prop],i=r-this._start,o=this._duration-i;this._start=r,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=i,this._loop=!!t.loop,this._to=ut([t.to,n,a,t.from]),this._from=ut([t.from,a,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,r=this._duration,a=this._prop,i=this._from,o=this._loop,A=this._to;let l;if(this._active=i!==A&&(o||n<r),!this._active){this._target[a]=A,this._notify(!0);return}if(n<0){this._target[a]=i;return}l=n/r%2,l=o&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[a]=this._fn(i,A,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,r)=>{t.push({res:n,rej:r})})}_notify(t){const n=t?"res":"rej",r=this._promises||[];for(let a=0;a<r.length;a++)r[a][n]()}}class Zh{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!Ee(t))return;const n=Object.keys(it.animation),r=this._properties;Object.getOwnPropertyNames(t).forEach(a=>{const i=t[a];if(!Ee(i))return;const o={};for(const A of n)o[A]=i[A];(Ve(i.properties)&&i.properties||[a]).forEach(A=>{(A===a||!r.has(A))&&r.set(A,o)})})}_animateOptions(t,n){const r=n.options,a=TP(t,r);if(!a)return[];const i=this._createAnimations(a,r);return r.$shared&&DP(t.options.$animations,r).then(()=>{t.options=r},()=>{}),i}_createAnimations(t,n){const r=this._properties,a=[],i=t.$animations||(t.$animations={}),o=Object.keys(n),A=Date.now();let l;for(l=o.length-1;l>=0;--l){const c=o[l];if(c.charAt(0)==="$")continue;if(c==="options"){a.push(...this._animateOptions(t,n));continue}const d=n[c];let u=i[c];const f=r.get(c);if(u)if(f&&u.active()){u.update(f,d,A);continue}else u.cancel();if(!f||!f.duration){t[c]=d;continue}i[c]=u=new IP(f,t,c,d),a.push(u)}return a}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const r=this._createAnimations(t,n);if(r.length)return ua.add(this._chart,r),!0}}function DP(e,t){const n=[],r=Object.keys(t);for(let a=0;a<r.length;a++){const i=e[r[a]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function TP(e,t){if(!t)return;let n=e.options;if(!n){e.options=t;return}return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function KB(e,t){const n=e&&e.options||{},r=n.reverse,a=n.min===void 0?t:0,i=n.max===void 0?t:0;return{start:r?i:a,end:r?a:i}}function UP(e,t,n){if(n===!1)return!1;const r=KB(e,n),a=KB(t,n);return{top:a.end,right:r.end,bottom:a.start,left:r.start}}function LP(e){let t,n,r,a;return Ee(e)?(t=e.top,n=e.right,r=e.bottom,a=e.left):t=n=r=a=e,{top:t,right:n,bottom:r,left:a,disabled:e===!1}}function WB(e,t){const n=[],r=e._getSortedDatasetMetas(t);let a,i;for(a=0,i=r.length;a<i;++a)n.push(r[a].index);return n}function GB(e,t,n,r={}){const a=e.keys,i=r.mode==="single";let o,A,l,c;if(t===null)return;let d=!1;for(o=0,A=a.length;o<A;++o){if(l=+a[o],l===n){if(d=!0,r.all)continue;break}c=e.values[l],gt(c)&&(i||t===0||Lr(t)===Lr(c))&&(t+=c)}return!d&&!r.all?0:t}function OP(e,t){const{iScale:n,vScale:r}=t,a=n.axis==="x"?"x":"y",i=r.axis==="x"?"x":"y",o=Object.keys(e),A=new Array(o.length);let l,c,d;for(l=0,c=o.length;l<c;++l)d=o[l],A[l]={[a]:d,[i]:e[d]};return A}function em(e,t){const n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function QP(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function MP(e){const{min:t,max:n,minDefined:r,maxDefined:a}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:a?n:Number.POSITIVE_INFINITY}}function PP(e,t,n){const r=e[t]||(e[t]={});return r[n]||(r[n]={})}function jB(e,t,n,r){for(const a of t.getMatchingVisibleMetas(r).reverse()){const i=e[a.index];if(n&&i>0||!n&&i<0)return a.index}return null}function YB(e,t){const{chart:n,_cachedMeta:r}=e,a=n._stacks||(n._stacks={}),{iScale:i,vScale:o,index:A}=r,l=i.axis,c=o.axis,d=QP(i,o,r),u=t.length;let f;for(let p=0;p<u;++p){const h=t[p],{[l]:m,[c]:b}=h,g=h._stacks||(h._stacks={});f=g[c]=PP(a,d,m),f[A]=b,f._top=jB(f,o,!0,r.type),f._bottom=jB(f,o,!1,r.type);const B=f._visualValues||(f._visualValues={});B[A]=b}}function tm(e,t){const n=e.scales;return Object.keys(n).filter(r=>n[r].axis===t).shift()}function NP(e,t){return ni(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function RP(e,t,n){return ni(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function MA(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const a of t){const i=a._stacks;if(!i||i[r]===void 0||i[r][n]===void 0)return;delete i[r][n],i[r]._visualValues!==void 0&&i[r]._visualValues[n]!==void 0&&delete i[r]._visualValues[n]}}}const nm=e=>e==="reset"||e==="none",qB=(e,t)=>t?e:Object.assign({},e),HP=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:WB(n,!0),values:null};class dr{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=em(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&MA(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,r=this.getDataset(),a=(u,f,p,h)=>u==="x"?f:u==="r"?h:p,i=n.xAxisID=he(r.xAxisID,tm(t,"x")),o=n.yAxisID=he(r.yAxisID,tm(t,"y")),A=n.rAxisID=he(r.rAxisID,tm(t,"r")),l=n.indexAxis,c=n.iAxisID=a(l,i,o,A),d=n.vAxisID=a(l,o,i,A);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(o),n.rScale=this.getScaleForId(A),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(d)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&dB(this._data,this),t._stacked&&MA(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),r=this._data;if(Ee(n)){const a=this._cachedMeta;this._data=OP(n,a)}else if(r!==n){if(r){dB(r,this);const a=this._cachedMeta;MA(a),a._parsed=[]}n&&Object.isExtensible(n)&&k9(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,r=this.getDataset();let a=!1;this._dataCheck();const i=n._stacked;n._stacked=em(n.vScale,n),n.stack!==r.stack&&(a=!0,MA(n),n.stack=r.stack),this._resyncElements(t),(a||i!==n._stacked)&&(YB(this,n._parsed),n._stacked=em(n.vScale,n))}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),r=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:r,_data:a}=this,{iScale:i,_stacked:o}=r,A=i.axis;let l=t===0&&n===a.length?!0:r._sorted,c=t>0&&r._parsed[t-1],d,u,f;if(this._parsing===!1)r._parsed=a,r._sorted=!0,f=a;else{Ve(a[t])?f=this.parseArrayData(r,a,t,n):Ee(a[t])?f=this.parseObjectData(r,a,t,n):f=this.parsePrimitiveData(r,a,t,n);const p=()=>u[A]===null||c&&u[A]<c[A];for(d=0;d<n;++d)r._parsed[d+t]=u=f[d],l&&(p()&&(l=!1),c=u);r._sorted=l}o&&YB(this,f)}parsePrimitiveData(t,n,r,a){const{iScale:i,vScale:o}=t,A=i.axis,l=o.axis,c=i.getLabels(),d=i===o,u=new Array(a);let f,p,h;for(f=0,p=a;f<p;++f)h=f+r,u[f]={[A]:d||i.parse(c[h],h),[l]:o.parse(n[h],h)};return u}parseArrayData(t,n,r,a){const{xScale:i,yScale:o}=t,A=new Array(a);let l,c,d,u;for(l=0,c=a;l<c;++l)d=l+r,u=n[d],A[l]={x:i.parse(u[0],d),y:o.parse(u[1],d)};return A}parseObjectData(t,n,r,a){const{xScale:i,yScale:o}=t,{xAxisKey:A="x",yAxisKey:l="y"}=this._parsing,c=new Array(a);let d,u,f,p;for(d=0,u=a;d<u;++d)f=d+r,p=n[f],c[d]={x:i.parse(Ja(p,A),f),y:o.parse(Ja(p,l),f)};return c}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,n,r){const a=this.chart,i=this._cachedMeta,o=n[t.axis],A={keys:WB(a,!0),values:n._stacks[t.axis]._visualValues};return GB(A,o,i.index,{mode:r})}updateRangeFromParsed(t,n,r,a){const i=r[n.axis];let o=i===null?NaN:i;const A=a&&r._stacks[n.axis];a&&A&&(a.values=A,o=GB(a,i,this._cachedMeta.index)),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,n){const r=this._cachedMeta,a=r._parsed,i=r._sorted&&t===r.iScale,o=a.length,A=this._getOtherScale(t),l=HP(n,r,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:d,max:u}=MP(A);let f,p;function h(){p=a[f];const m=p[A.axis];return!gt(p[t.axis])||d>m||u<m}for(f=0;f<o&&!(!h()&&(this.updateRangeFromParsed(c,t,p,l),i));++f);if(i){for(f=o-1;f>=0;--f)if(!h()){this.updateRangeFromParsed(c,t,p,l);break}}return c}getAllParsedValues(t){const n=this._cachedMeta._parsed,r=[];let a,i,o;for(a=0,i=n.length;a<i;++a)o=n[a][t.axis],gt(o)&&r.push(o);return r}getMaxOverflow(){return!1}getLabelAndValue(t){const n=this._cachedMeta,r=n.iScale,a=n.vScale,i=this.getParsed(t);return{label:r?""+r.getLabelForValue(i[r.axis]):"",value:a?""+a.getLabelForValue(i[a.axis]):""}}_update(t){const n=this._cachedMeta;this.update(t||"default"),n._clip=LP(he(this.options.clip,UP(n.xScale,n.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,n=this.chart,r=this._cachedMeta,a=r.data||[],i=n.chartArea,o=[],A=this._drawStart||0,l=this._drawCount||a.length-A,c=this.options.drawActiveElementsOnTop;let d;for(r.dataset&&r.dataset.draw(t,i,A,l),d=A;d<A+l;++d){const u=a[d];u.hidden||(u.active&&c?o.push(u):u.draw(t,i))}for(d=0;d<o.length;++d)o[d].draw(t,i)}getStyle(t,n){const r=n?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(t||0,r)}getContext(t,n,r){const a=this.getDataset();let i;if(t>=0&&t<this._cachedMeta.data.length){const o=this._cachedMeta.data[t];i=o.$context||(o.$context=RP(this.getContext(),t,o)),i.parsed=this.getParsed(t),i.raw=a.data[t],i.index=i.dataIndex=t}else i=this.$context||(this.$context=NP(this.chart.getContext(),this.index)),i.dataset=a,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=r,i}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,n){return this._resolveElementOptions(this.dataElementType.id,n,t)}_resolveElementOptions(t,n="default",r){const a=n==="active",i=this._cachedDataOpts,o=t+"-"+n,A=i[o],l=this.enableOptionSharing&&Cn(r);if(A)return qB(A,l);const c=this.chart.config,d=c.datasetElementScopeKeys(this._type,t),u=a?[`${t}Hover`,"hover",t,""]:[t,""],f=c.getOptionScopes(this.getDataset(),d),p=Object.keys(it.elements[t]),h=()=>this.getContext(r,a,n),m=c.resolveNamedOptions(f,p,h,u);return m.$shared&&(m.$shared=l,i[o]=Object.freeze(qB(m,l))),m}_resolveAnimations(t,n,r){const a=this.chart,i=this._cachedDataOpts,o=`animation-${n}`,A=i[o];if(A)return A;let l;if(a.options.animation!==!1){const d=this.chart.config,u=d.datasetAnimationScopeKeys(this._type,n),f=d.getOptionScopes(this.getDataset(),u);l=d.createResolver(f,this.getContext(t,r,n))}const c=new Zh(a,l&&l.animations);return l&&l._cacheable&&(i[o]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||nm(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const r=this.resolveDataElementOptions(t,n),a=this._sharedOptions,i=this.getSharedOptions(r),o=this.includeOptions(n,i)||i!==a;return this.updateSharedOptions(i,n,r),{sharedOptions:i,includeOptions:o}}updateElement(t,n,r,a){nm(a)?Object.assign(t,r):this._resolveAnimations(n,a).update(t,r)}updateSharedOptions(t,n,r){t&&!nm(n)&&this._resolveAnimations(void 0,n).update(t,r)}_setStyle(t,n,r,a){t.active=a;const i=this.getStyle(n,a);this._resolveAnimations(n,r,a).update(t,{options:!a&&this.getSharedOptions(i)||i})}removeHoverStyle(t,n,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,n,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,r=this._cachedMeta.data;for(const[A,l,c]of this._syncList)this[A](l,c);this._syncList=[];const a=r.length,i=n.length,o=Math.min(i,a);o&&this.parse(0,o),i>a?this._insertElements(a,i-a,t):i<a&&this._removeElements(i,a-i)}_insertElements(t,n,r=!0){const a=this._cachedMeta,i=a.data,o=t+n;let A;const l=c=>{for(c.length+=n,A=c.length-1;A>=o;A--)c[A]=c[A-n]};for(l(i),A=t;A<o;++A)i[A]=new this.dataElementType;this._parsing&&l(a._parsed),this.parse(t,n),r&&this.updateElements(i,t,n,"reset")}updateElements(t,n,r,a){}_removeElements(t,n){const r=this._cachedMeta;if(this._parsing){const a=r._parsed.splice(t,n);r._stacked&&MA(r,a)}r.data.splice(t,n)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[n,r,a]=t;this[n](r,a)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,n){n&&this._sync(["_removeElements",t,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",t,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}Y(dr,"defaults",{}),Y(dr,"datasetElementType",null),Y(dr,"dataElementType",null);function VP(e,t){if(!e._cache.$bar){const n=e.getMatchingVisibleMetas(t);let r=[];for(let a=0,i=n.length;a<i;a++)r=r.concat(n[a].controller.getAllParsedValues(e));e._cache.$bar=uB(r.sort((a,i)=>a-i))}return e._cache.$bar}function zP(e){const t=e.iScale,n=VP(t,e.type);let r=t._length,a,i,o,A;const l=()=>{o===32767||o===-32768||(Cn(A)&&(r=Math.min(r,Math.abs(o-A)||r)),A=o)};for(a=0,i=n.length;a<i;++a)o=t.getPixelForValue(n[a]),l();for(A=void 0,a=0,i=t.ticks.length;a<i;++a)o=t.getPixelForTick(a),l();return r}function $P(e,t,n,r){const a=n.barThickness;let i,o;return xe(a)?(i=t.min*n.categoryPercentage,o=n.barPercentage):(i=a*r,o=1),{chunk:i/r,ratio:o,start:t.pixels[e]-i/2}}function KP(e,t,n,r){const a=t.pixels,i=a[e];let o=e>0?a[e-1]:null,A=e<a.length-1?a[e+1]:null;const l=n.categoryPercentage;o===null&&(o=i-(A===null?t.end-t.start:A-i)),A===null&&(A=i+i-o);const c=i-(i-Math.min(o,A))/2*l;return{chunk:Math.abs(A-o)/2*l/r,ratio:n.barPercentage,start:c}}function WP(e,t,n,r){const a=n.parse(e[0],r),i=n.parse(e[1],r),o=Math.min(a,i),A=Math.max(a,i);let l=o,c=A;Math.abs(o)>Math.abs(A)&&(l=A,c=o),t[n.axis]=c,t._custom={barStart:l,barEnd:c,start:a,end:i,min:o,max:A}}function XB(e,t,n,r){return Ve(e)?WP(e,t,n,r):t[n.axis]=n.parse(e,r),t}function JB(e,t,n,r){const a=e.iScale,i=e.vScale,o=a.getLabels(),A=a===i,l=[];let c,d,u,f;for(c=n,d=n+r;c<d;++c)f=t[c],u={},u[a.axis]=A||a.parse(o[c],c),l.push(XB(f,u,i,c));return l}function rm(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function GP(e,t,n){return e!==0?Lr(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}function jP(e){let t,n,r,a,i;return e.horizontal?(t=e.base>e.x,n="left",r="right"):(t=e.base<e.y,n="bottom",r="top"),t?(a="end",i="start"):(a="start",i="end"),{start:n,end:r,reverse:t,top:a,bottom:i}}function YP(e,t,n,r){let a=t.borderSkipped;const i={};if(!a){e.borderSkipped=i;return}if(a===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:o,end:A,reverse:l,top:c,bottom:d}=jP(e);a==="middle"&&n&&(e.enableBorderRadius=!0,(n._top||0)===r?a=c:(n._bottom||0)===r?a=d:(i[ZB(d,o,A,l)]=!0,a=c)),i[ZB(a,o,A,l)]=!0,e.borderSkipped=i}function ZB(e,t,n,r){return r?(e=qP(e,t,n),e=ev(e,n,t)):e=ev(e,t,n),e}function qP(e,t,n){return e===t?n:e===n?t:e}function ev(e,t,n){return e==="start"?t:e==="end"?n:e}function XP(e,{inflateAmount:t},n){e.inflateAmount=t==="auto"?n===1?.33:0:t}class Ad extends dr{parsePrimitiveData(t,n,r,a){return JB(t,n,r,a)}parseArrayData(t,n,r,a){return JB(t,n,r,a)}parseObjectData(t,n,r,a){const{iScale:i,vScale:o}=t,{xAxisKey:A="x",yAxisKey:l="y"}=this._parsing,c=i.axis==="x"?A:l,d=o.axis==="x"?A:l,u=[];let f,p,h,m;for(f=r,p=r+a;f<p;++f)m=n[f],h={},h[i.axis]=i.parse(Ja(m,c),f),u.push(XB(Ja(m,d),h,o,f));return u}updateRangeFromParsed(t,n,r,a){super.updateRangeFromParsed(t,n,r,a);const i=r._custom;i&&n===this._cachedMeta.vScale&&(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const n=this._cachedMeta,{iScale:r,vScale:a}=n,i=this.getParsed(t),o=i._custom,A=rm(o)?"["+o.start+", "+o.end+"]":""+a.getLabelForValue(i[a.axis]);return{label:""+r.getLabelForValue(i[r.axis]),value:A}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,t)}updateElements(t,n,r,a){const i=a==="reset",{index:o,_cachedMeta:{vScale:A}}=this,l=A.getBasePixel(),c=A.isHorizontal(),d=this._getRuler(),{sharedOptions:u,includeOptions:f}=this._getSharedOptions(n,a);for(let p=n;p<n+r;p++){const h=this.getParsed(p),m=i||xe(h[A.axis])?{base:l,head:l}:this._calculateBarValuePixels(p),b=this._calculateBarIndexPixels(p,d),g=(h._stacks||{})[A.axis],B={horizontal:c,base:m.base,enableBorderRadius:!g||rm(h._custom)||o===g._top||o===g._bottom,x:c?m.head:b.center,y:c?b.center:m.head,height:c?b.size:Math.abs(m.size),width:c?Math.abs(m.size):b.size};f&&(B.options=u||this.resolveDataElementOptions(p,t[p].active?"active":a));const w=B.options||t[p].options;YP(B,w,g,o),XP(B,w,d.ratio),this.updateElement(t[p],p,B,a)}}_getStacks(t,n){const{iScale:r}=this._cachedMeta,a=r.getMatchingVisibleMetas(this._type).filter(d=>d.controller.options.grouped),i=r.options.stacked,o=[],A=this._cachedMeta.controller.getParsed(n),l=A&&A[r.axis],c=d=>{const u=d._parsed.find(p=>p[r.axis]===l),f=u&&u[d.vScale.axis];if(xe(f)||isNaN(f))return!0};for(const d of a)if(!(n!==void 0&&c(d))&&((i===!1||o.indexOf(d.stack)===-1||i===void 0&&d.stack===void 0)&&o.push(d.stack),d.index===t))break;return o.length||o.push(void 0),o}_getStackCount(t){return this._getStacks(void 0,t).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const t=this.chart.scales,n=this.chart.options.indexAxis;return Object.keys(t).filter(r=>t[r].axis===n).shift()}_getAxis(){const t={},n=this.getFirstScaleIdForIndexAxis();for(const r of this.chart.data.datasets)t[he(this.chart.options.indexAxis==="x"?r.xAxisID:r.yAxisID,n)]=!0;return Object.keys(t)}_getStackIndex(t,n,r){const a=this._getStacks(t,r),i=n!==void 0?a.indexOf(n):-1;return i===-1?a.length-1:i}_getRuler(){const t=this.options,n=this._cachedMeta,r=n.iScale,a=[];let i,o;for(i=0,o=n.data.length;i<o;++i)a.push(r.getPixelForValue(this.getParsed(i)[r.axis],i));const A=t.barThickness;return{min:A||zP(n),pixels:a,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:t.grouped,ratio:A?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:n,_stacked:r,index:a},options:{base:i,minBarLength:o}}=this,A=i||0,l=this.getParsed(t),c=l._custom,d=rm(c);let u=l[n.axis],f=0,p=r?this.applyStack(n,l,r):u,h,m;p!==u&&(f=p-u,p=u),d&&(u=c.barStart,p=c.barEnd-c.barStart,u!==0&&Lr(u)!==Lr(c.barEnd)&&(f=0),f+=u);const b=!xe(i)&&!d?i:f;let g=n.getPixelForValue(b);if(this.chart.getDataVisibility(t)?h=n.getPixelForValue(f+p):h=g,m=h-g,Math.abs(m)<o){m=GP(m,n,A)*o,u===A&&(g-=m/2);const B=n.getPixelForDecimal(0),w=n.getPixelForDecimal(1),y=Math.min(B,w),_=Math.max(B,w);g=Math.max(Math.min(g,_),y),h=g+m,r&&!d&&(l._stacks[n.axis]._visualValues[a]=n.getValueForPixel(h)-n.getValueForPixel(g))}if(g===n.getPixelForValue(A)){const B=Lr(m)*n.getLineWidthForValue(A)/2;g+=B,m-=B}return{size:m,base:g,head:h,center:h+m/2}}_calculateBarIndexPixels(t,n){const r=n.scale,a=this.options,i=a.skipNull,o=he(a.maxBarThickness,1/0);let A,l;const c=this._getAxisCount();if(n.grouped){const d=i?this._getStackCount(t):n.stackCount,u=a.barThickness==="flex"?KP(t,n,a,d*c):$P(t,n,a,d*c),f=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,p=this._getAxis().indexOf(he(f,this.getFirstScaleIdForIndexAxis())),h=this._getStackIndex(this.index,this._cachedMeta.stack,i?t:void 0)+p;A=u.start+u.chunk*h+u.chunk/2,l=Math.min(o,u.chunk*u.ratio)}else A=r.getPixelForValue(this.getParsed(t)[r.axis],t),l=Math.min(o,n.min*n.ratio);return{base:A-l/2,head:A+l/2,center:A,size:l}}draw(){const t=this._cachedMeta,n=t.vScale,r=t.data,a=r.length;let i=0;for(;i<a;++i)this.getParsed(i)[n.axis]!==null&&!r[i].hidden&&r[i].draw(this._ctx)}}Y(Ad,"id","bar"),Y(Ad,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),Y(Ad,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});class ld extends dr{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,n,r,a){const i=super.parsePrimitiveData(t,n,r,a);for(let o=0;o<i.length;o++)i[o]._custom=this.resolveDataElementOptions(o+r).radius;return i}parseArrayData(t,n,r,a){const i=super.parseArrayData(t,n,r,a);for(let o=0;o<i.length;o++){const A=n[r+o];i[o]._custom=he(A[2],this.resolveDataElementOptions(o+r).radius)}return i}parseObjectData(t,n,r,a){const i=super.parseObjectData(t,n,r,a);for(let o=0;o<i.length;o++){const A=n[r+o];i[o]._custom=he(A&&A.r&&+A.r,this.resolveDataElementOptions(o+r).radius)}return i}getMaxOverflow(){const t=this._cachedMeta.data;let n=0;for(let r=t.length-1;r>=0;--r)n=Math.max(n,t[r].size(this.resolveDataElementOptions(r))/2);return n>0&&n}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart.data.labels||[],{xScale:a,yScale:i}=n,o=this.getParsed(t),A=a.getLabelForValue(o.x),l=i.getLabelForValue(o.y),c=o._custom;return{label:r[t]||"",value:"("+A+", "+l+(c?", "+c:"")+")"}}update(t){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,t)}updateElements(t,n,r,a){const i=a==="reset",{iScale:o,vScale:A}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(n,a),d=o.axis,u=A.axis;for(let f=n;f<n+r;f++){const p=t[f],h=!i&&this.getParsed(f),m={},b=m[d]=i?o.getPixelForDecimal(.5):o.getPixelForValue(h[d]),g=m[u]=i?A.getBasePixel():A.getPixelForValue(h[u]);m.skip=isNaN(b)||isNaN(g),c&&(m.options=l||this.resolveDataElementOptions(f,p.active?"active":a),i&&(m.options.radius=0)),this.updateElement(p,f,m,a)}}resolveDataElementOptions(t,n){const r=this.getParsed(t);let a=super.resolveDataElementOptions(t,n);a.$shared&&(a=Object.assign({},a,{$shared:!1}));const i=a.radius;return n!=="active"&&(a.radius=0),a.radius+=he(r&&r._custom,i),a}}Y(ld,"id","bubble"),Y(ld,"defaults",{datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}}),Y(ld,"overrides",{scales:{x:{type:"linear"},y:{type:"linear"}}});function JP(e,t,n){let r=1,a=1,i=0,o=0;if(t<at){const A=e,l=A+t,c=Math.cos(A),d=Math.sin(A),u=Math.cos(l),f=Math.sin(l),p=(w,y,_)=>DA(w,A,l,!0)?1:Math.max(y,y*n,_,_*n),h=(w,y,_)=>DA(w,A,l,!0)?-1:Math.min(y,y*n,_,_*n),m=p(0,c,u),b=p(dt,d,f),g=h(Ce,c,u),B=h(Ce+dt,d,f);r=(m-g)/2,a=(b-B)/2,i=-(m+g)/2,o=-(b+B)/2}return{ratioX:r,ratioY:a,offsetX:i,offsetY:o}}class eo extends dr{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const r=this.getDataset().data,a=this._cachedMeta;if(this._parsing===!1)a._parsed=r;else{let i=l=>+r[l];if(Ee(r[t])){const{key:l="value"}=this._parsing;i=c=>+Ja(r[c],l)}let o,A;for(o=t,A=t+n;o<A;++o)a._parsed[o]=i(o)}}_getRotation(){return Mt(this.options.rotation-90)}_getCircumference(){return Mt(this.options.circumference)}_getRotationExtents(){let t=at,n=-at;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){const a=this.chart.getDatasetMeta(r).controller,i=a._getRotation(),o=a._getCircumference();t=Math.min(t,i),n=Math.max(n,i+o)}return{rotation:t,circumference:n-t}}update(t){const n=this.chart,{chartArea:r}=n,a=this._cachedMeta,i=a.data,o=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,A=Math.max((Math.min(r.width,r.height)-o)/2,0),l=Math.min(d9(this.options.cutout,A),1),c=this._getRingWeight(this.index),{circumference:d,rotation:u}=this._getRotationExtents(),{ratioX:f,ratioY:p,offsetX:h,offsetY:m}=JP(u,d,l),b=(r.width-o)/f,g=(r.height-o)/p,B=Math.max(Math.min(b,g)/2,0),w=nB(this.options.radius,B),y=Math.max(w*l,0),_=(w-y)/this._getVisibleDatasetWeightTotal();this.offsetX=h*w,this.offsetY=m*w,a.total=this.calculateTotal(),this.outerRadius=w-_*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-_*c,0),this.updateElements(i,0,i.length,t)}_circumference(t,n){const r=this.options,a=this._cachedMeta,i=this._getCircumference();return n&&r.animation.animateRotate||!this.chart.getDataVisibility(t)||a._parsed[t]===null||a.data[t].hidden?0:this.calculateCircumference(a._parsed[t]*i/at)}updateElements(t,n,r,a){const i=a==="reset",o=this.chart,A=o.chartArea,c=o.options.animation,d=(A.left+A.right)/2,u=(A.top+A.bottom)/2,f=i&&c.animateScale,p=f?0:this.innerRadius,h=f?0:this.outerRadius,{sharedOptions:m,includeOptions:b}=this._getSharedOptions(n,a);let g=this._getRotation(),B;for(B=0;B<n;++B)g+=this._circumference(B,i);for(B=n;B<n+r;++B){const w=this._circumference(B,i),y=t[B],_={x:d+this.offsetX,y:u+this.offsetY,startAngle:g,endAngle:g+w,circumference:w,outerRadius:h,innerRadius:p};b&&(_.options=m||this.resolveDataElementOptions(B,y.active?"active":a)),g+=w,this.updateElement(y,B,_,a)}}calculateTotal(){const t=this._cachedMeta,n=t.data;let r=0,a;for(a=0;a<n.length;a++){const i=t._parsed[a];i!==null&&!isNaN(i)&&this.chart.getDataVisibility(a)&&!n[a].hidden&&(r+=Math.abs(i))}return r}calculateCircumference(t){const n=this._cachedMeta.total;return n>0&&!isNaN(t)?at*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,a=r.data.labels||[],i=UA(n._parsed[t],r.options.locale);return{label:a[t]||"",value:i}}getMaxBorderWidth(t){let n=0;const r=this.chart;let a,i,o,A,l;if(!t){for(a=0,i=r.data.datasets.length;a<i;++a)if(r.isDatasetVisible(a)){o=r.getDatasetMeta(a),t=o.data,A=o.controller;break}}if(!t)return 0;for(a=0,i=t.length;a<i;++a)l=A.resolveDataElementOptions(a),l.borderAlign!=="inner"&&(n=Math.max(n,l.borderWidth||0,l.hoverBorderWidth||0));return n}getMaxOffset(t){let n=0;for(let r=0,a=t.length;r<a;++r){const i=this.resolveDataElementOptions(r);n=Math.max(n,i.offset||0,i.hoverOffset||0)}return n}_getRingWeightOffset(t){let n=0;for(let r=0;r<t;++r)this.chart.isDatasetVisible(r)&&(n+=this._getRingWeight(r));return n}_getRingWeight(t){return Math.max(he(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}Y(eo,"id","doughnut"),Y(eo,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),Y(eo,"descriptors",{_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),Y(eo,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data,{labels:{pointStyle:r,textAlign:a,color:i,useBorderRadius:o,borderRadius:A}}=t.legend.options;return n.labels.length&&n.datasets.length?n.labels.map((l,c)=>{const u=t.getDatasetMeta(0).controller.getStyle(c);return{text:l,fillStyle:u.backgroundColor,fontColor:i,hidden:!t.getDataVisibility(c),lineDash:u.borderDash,lineDashOffset:u.borderDashOffset,lineJoin:u.borderJoinStyle,lineWidth:u.borderWidth,strokeStyle:u.borderColor,textAlign:a,pointStyle:r,borderRadius:o&&(A||u.borderRadius),index:c}}):[]}},onClick(t,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}}});class cd extends dr{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:r,data:a=[],_dataset:i}=n,o=this.chart._animationsDisabled;let{start:A,count:l}=hB(n,a,o);this._drawStart=A,this._drawCount=l,mB(n)&&(A=0,l=a.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!i._decimated,r.points=a;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(r,void 0,{animated:!o,options:c},t),this.updateElements(a,A,l,t)}updateElements(t,n,r,a){const i=a==="reset",{iScale:o,vScale:A,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:d,includeOptions:u}=this._getSharedOptions(n,a),f=o.axis,p=A.axis,{spanGaps:h,segment:m}=this.options,b=ei(h)?h:Number.POSITIVE_INFINITY,g=this.chart._animationsDisabled||i||a==="none",B=n+r,w=t.length;let y=n>0&&this.getParsed(n-1);for(let _=0;_<w;++_){const v=t[_],k=g?v:{};if(_<n||_>=B){k.skip=!0;continue}const C=this.getParsed(_),x=xe(C[p]),U=k[f]=o.getPixelForValue(C[f],_),D=k[p]=i||x?A.getBasePixel():A.getPixelForValue(l?this.applyStack(A,C,l):C[p],_);k.skip=isNaN(U)||isNaN(D)||x,k.stop=_>0&&Math.abs(C[f]-y[f])>b,m&&(k.parsed=C,k.raw=c.data[_]),u&&(k.options=d||this.resolveDataElementOptions(_,v.active?"active":a)),g||this.updateElement(v,_,k,a),y=C}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,r=n.options&&n.options.borderWidth||0,a=t.data||[];if(!a.length)return r;const i=a[0].size(this.resolveDataElementOptions(0)),o=a[a.length-1].size(this.resolveDataElementOptions(a.length-1));return Math.max(r,i,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}Y(cd,"id","line"),Y(cd,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),Y(cd,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class PA extends dr{constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,a=r.data.labels||[],i=UA(n._parsed[t].r,r.options.locale);return{label:a[t]||"",value:i}}parseObjectData(t,n,r,a){return DB.bind(this)(t,n,r,a)}update(t){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,t)}getMinMax(){const t=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((r,a)=>{const i=this.getParsed(a).r;!isNaN(i)&&this.chart.getDataVisibility(a)&&(i<n.min&&(n.min=i),i>n.max&&(n.max=i))}),n}_updateRadius(){const t=this.chart,n=t.chartArea,r=t.options,a=Math.min(n.right-n.left,n.bottom-n.top),i=Math.max(a/2,0),o=Math.max(r.cutoutPercentage?i/100*r.cutoutPercentage:1,0),A=(i-o)/t.getVisibleDatasetCount();this.outerRadius=i-A*this.index,this.innerRadius=this.outerRadius-A}updateElements(t,n,r,a){const i=a==="reset",o=this.chart,l=o.options.animation,c=this._cachedMeta.rScale,d=c.xCenter,u=c.yCenter,f=c.getIndexAngle(0)-.5*Ce;let p=f,h;const m=360/this.countVisibleElements();for(h=0;h<n;++h)p+=this._computeAngle(h,a,m);for(h=n;h<n+r;h++){const b=t[h];let g=p,B=p+this._computeAngle(h,a,m),w=o.getDataVisibility(h)?c.getDistanceFromCenterForValue(this.getParsed(h).r):0;p=B,i&&(l.animateScale&&(w=0),l.animateRotate&&(g=B=f));const y={x:d,y:u,innerRadius:0,outerRadius:w,startAngle:g,endAngle:B,options:this.resolveDataElementOptions(h,b.active?"active":a)};this.updateElement(b,h,y,a)}}countVisibleElements(){const t=this._cachedMeta;let n=0;return t.data.forEach((r,a)=>{!isNaN(this.getParsed(a).r)&&this.chart.getDataVisibility(a)&&n++}),n}_computeAngle(t,n,r){return this.chart.getDataVisibility(t)?Mt(this.resolveDataElementOptions(t,n).angle||r):0}}Y(PA,"id","polarArea"),Y(PA,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),Y(PA,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:r,color:a}}=t.legend.options;return n.labels.map((i,o)=>{const l=t.getDatasetMeta(0).controller.getStyle(o);return{text:i,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:a,lineWidth:l.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(o),index:o}})}return[]}},onClick(t,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});class am extends eo{}Y(am,"id","pie"),Y(am,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});class dd extends dr{getLabelAndValue(t){const n=this._cachedMeta.vScale,r=this.getParsed(t);return{label:n.getLabels()[t],value:""+n.getLabelForValue(r[n.axis])}}parseObjectData(t,n,r,a){return DB.bind(this)(t,n,r,a)}update(t){const n=this._cachedMeta,r=n.dataset,a=n.data||[],i=n.iScale.getLabels();if(r.points=a,t!=="resize"){const o=this.resolveDatasetElementOptions(t);this.options.showLine||(o.borderWidth=0);const A={_loop:!0,_fullLoop:i.length===a.length,options:o};this.updateElement(r,void 0,A,t)}this.updateElements(a,0,a.length,t)}updateElements(t,n,r,a){const i=this._cachedMeta.rScale,o=a==="reset";for(let A=n;A<n+r;A++){const l=t[A],c=this.resolveDataElementOptions(A,l.active?"active":a),d=i.getPointPositionForValue(A,this.getParsed(A).r),u=o?i.xCenter:d.x,f=o?i.yCenter:d.y,p={x:u,y:f,angle:d.angle,skip:isNaN(u)||isNaN(f),options:c};this.updateElement(l,A,p,a)}}}Y(dd,"id","radar"),Y(dd,"defaults",{datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}}),Y(dd,"overrides",{aspectRatio:1,scales:{r:{type:"radialLinear"}}});class ud extends dr{getLabelAndValue(t){const n=this._cachedMeta,r=this.chart.data.labels||[],{xScale:a,yScale:i}=n,o=this.getParsed(t),A=a.getLabelForValue(o.x),l=i.getLabelForValue(o.y);return{label:r[t]||"",value:"("+A+", "+l+")"}}update(t){const n=this._cachedMeta,{data:r=[]}=n,a=this.chart._animationsDisabled;let{start:i,count:o}=hB(n,r,a);if(this._drawStart=i,this._drawCount=o,mB(n)&&(i=0,o=r.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:A,_dataset:l}=n;A._chart=this.chart,A._datasetIndex=this.index,A._decimated=!!l._decimated,A.points=r;const c=this.resolveDatasetElementOptions(t);c.segment=this.options.segment,this.updateElement(A,void 0,{animated:!a,options:c},t)}else this.datasetElementType&&(delete n.dataset,this.datasetElementType=!1);this.updateElements(r,i,o,t)}addElements(){const{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,n,r,a){const i=a==="reset",{iScale:o,vScale:A,_stacked:l,_dataset:c}=this._cachedMeta,d=this.resolveDataElementOptions(n,a),u=this.getSharedOptions(d),f=this.includeOptions(a,u),p=o.axis,h=A.axis,{spanGaps:m,segment:b}=this.options,g=ei(m)?m:Number.POSITIVE_INFINITY,B=this.chart._animationsDisabled||i||a==="none";let w=n>0&&this.getParsed(n-1);for(let y=n;y<n+r;++y){const _=t[y],v=this.getParsed(y),k=B?_:{},C=xe(v[h]),x=k[p]=o.getPixelForValue(v[p],y),U=k[h]=i||C?A.getBasePixel():A.getPixelForValue(l?this.applyStack(A,v,l):v[h],y);k.skip=isNaN(x)||isNaN(U)||C,k.stop=y>0&&Math.abs(v[p]-w[p])>g,b&&(k.parsed=v,k.raw=c.data[y]),f&&(k.options=u||this.resolveDataElementOptions(y,_.active?"active":a)),B||this.updateElement(_,y,k,a),w=v}this.updateSharedOptions(u,a,d)}getMaxOverflow(){const t=this._cachedMeta,n=t.data||[];if(!this.options.showLine){let A=0;for(let l=n.length-1;l>=0;--l)A=Math.max(A,n[l].size(this.resolveDataElementOptions(l))/2);return A>0&&A}const r=t.dataset,a=r.options&&r.options.borderWidth||0;if(!n.length)return a;const i=n[0].size(this.resolveDataElementOptions(0)),o=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(a,i,o)/2}}Y(ud,"id","scatter"),Y(ud,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),Y(ud,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});var ZP=Object.freeze({__proto__:null,BarController:Ad,BubbleController:ld,DoughnutController:eo,LineController:cd,PieController:am,PolarAreaController:PA,RadarController:dd,ScatterController:ud});function to(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class im{constructor(t){Y(this,"options");this.options=t||{}}static override(t){Object.assign(im.prototype,t)}init(){}formats(){return to()}parse(){return to()}format(){return to()}add(){return to()}diff(){return to()}startOf(){return to()}endOf(){return to()}}var tv={_date:im};function eN(e,t,n,r){const{controller:a,data:i,_sorted:o}=e,A=a._cachedMeta.iScale,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(A&&t===A.axis&&t!=="r"&&o&&i.length){const c=A._reversePixels?_9:ca;if(r){if(a._sharedOptions){const d=i[0],u=typeof d.getRange=="function"&&d.getRange(t);if(u){const f=c(i,t,n-u),p=c(i,t,n+u);return{lo:f.lo,hi:p.hi}}}}else{const d=c(i,t,n);if(l){const{vScale:u}=a._cachedMeta,{_parsed:f}=e,p=f.slice(0,d.lo+1).reverse().findIndex(m=>!xe(m[u.axis]));d.lo-=Math.max(0,p);const h=f.slice(d.hi).findIndex(m=>!xe(m[u.axis]));d.hi+=Math.max(0,h)}return d}}return{lo:0,hi:i.length-1}}function NA(e,t,n,r,a){const i=e.getSortedVisibleDatasetMetas(),o=n[t];for(let A=0,l=i.length;A<l;++A){const{index:c,data:d}=i[A],{lo:u,hi:f}=eN(i[A],t,o,a);for(let p=u;p<=f;++p){const h=d[p];h.skip||r(h,c,p)}}}function tN(e){const t=e.indexOf("x")!==-1,n=e.indexOf("y")!==-1;return function(r,a){const i=t?Math.abs(r.x-a.x):0,o=n?Math.abs(r.y-a.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(o,2))}}function om(e,t,n,r,a){const i=[];return!a&&!e.isPointInArea(t)||NA(e,n,t,function(A,l,c){!a&&!da(A,e.chartArea,0)||A.inRange(t.x,t.y,r)&&i.push({element:A,datasetIndex:l,index:c})},!0),i}function nN(e,t,n,r){let a=[];function i(o,A,l){const{startAngle:c,endAngle:d}=o.getProps(["startAngle","endAngle"],r),{angle:u}=lB(o,{x:t.x,y:t.y});DA(u,c,d)&&a.push({element:o,datasetIndex:A,index:l})}return NA(e,n,t,i),a}function rN(e,t,n,r,a,i){let o=[];const A=tN(n);let l=Number.POSITIVE_INFINITY;function c(d,u,f){const p=d.inRange(t.x,t.y,a);if(r&&!p)return;const h=d.getCenterPoint(a);if(!(!!i||e.isPointInArea(h))&&!p)return;const b=A(t,h);b<l?(o=[{element:d,datasetIndex:u,index:f}],l=b):b===l&&o.push({element:d,datasetIndex:u,index:f})}return NA(e,n,t,c),o}function sm(e,t,n,r,a,i){return!i&&!e.isPointInArea(t)?[]:n==="r"&&!r?nN(e,t,n,a):rN(e,t,n,r,a,i)}function nv(e,t,n,r,a){const i=[],o=n==="x"?"inXRange":"inYRange";let A=!1;return NA(e,n,t,(l,c,d)=>{l[o]&&l[o](t[n],a)&&(i.push({element:l,datasetIndex:c,index:d}),A=A||l.inRange(t.x,t.y,a))}),r&&!A?[]:i}var aN={evaluateInteractionItems:NA,modes:{index(e,t,n,r){const a=Ji(t,e),i=n.axis||"x",o=n.includeInvisible||!1,A=n.intersect?om(e,a,i,r,o):sm(e,a,i,!1,r,o),l=[];return A.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{const d=A[0].index,u=c.data[d];u&&!u.skip&&l.push({element:u,datasetIndex:c.index,index:d})}),l):[]},dataset(e,t,n,r){const a=Ji(t,e),i=n.axis||"xy",o=n.includeInvisible||!1;let A=n.intersect?om(e,a,i,r,o):sm(e,a,i,!1,r,o);if(A.length>0){const l=A[0].datasetIndex,c=e.getDatasetMeta(l).data;A=[];for(let d=0;d<c.length;++d)A.push({element:c[d],datasetIndex:l,index:d})}return A},point(e,t,n,r){const a=Ji(t,e),i=n.axis||"xy",o=n.includeInvisible||!1;return om(e,a,i,r,o)},nearest(e,t,n,r){const a=Ji(t,e),i=n.axis||"xy",o=n.includeInvisible||!1;return sm(e,a,i,n.intersect,r,o)},x(e,t,n,r){const a=Ji(t,e);return nv(e,a,"x",n.intersect,r)},y(e,t,n,r){const a=Ji(t,e);return nv(e,a,"y",n.intersect,r)}}};const rv=["left","top","right","bottom"];function RA(e,t){return e.filter(n=>n.pos===t)}function av(e,t){return e.filter(n=>rv.indexOf(n.pos)===-1&&n.box.axis===t)}function HA(e,t){return e.sort((n,r)=>{const a=t?r:n,i=t?n:r;return a.weight===i.weight?a.index-i.index:a.weight-i.weight})}function iN(e){const t=[];let n,r,a,i,o,A;for(n=0,r=(e||[]).length;n<r;++n)a=e[n],{position:i,options:{stack:o,stackWeight:A=1}}=a,t.push({index:n,box:a,pos:i,horizontal:a.isHorizontal(),weight:a.weight,stack:o&&i+o,stackWeight:A});return t}function oN(e){const t={};for(const n of e){const{stack:r,pos:a,stackWeight:i}=n;if(!r||!rv.includes(a))continue;const o=t[r]||(t[r]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=i}return t}function sN(e,t){const n=oN(e),{vBoxMaxWidth:r,hBoxMaxHeight:a}=t;let i,o,A;for(i=0,o=e.length;i<o;++i){A=e[i];const{fullSize:l}=A.box,c=n[A.stack],d=c&&A.stackWeight/c.weight;A.horizontal?(A.width=d?d*r:l&&t.availableWidth,A.height=a):(A.width=r,A.height=d?d*a:l&&t.availableHeight)}return n}function AN(e){const t=iN(e),n=HA(t.filter(c=>c.box.fullSize),!0),r=HA(RA(t,"left"),!0),a=HA(RA(t,"right")),i=HA(RA(t,"top"),!0),o=HA(RA(t,"bottom")),A=av(t,"x"),l=av(t,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:a.concat(l).concat(o).concat(A),chartArea:RA(t,"chartArea"),vertical:r.concat(a).concat(l),horizontal:i.concat(o).concat(A)}}function iv(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function ov(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function lN(e,t,n,r){const{pos:a,box:i}=n,o=e.maxPadding;if(!Ee(a)){n.size&&(e[a]-=n.size);const u=r[n.stack]||{size:0,count:1};u.size=Math.max(u.size,n.horizontal?i.height:i.width),n.size=u.size/u.count,e[a]+=n.size}i.getPadding&&ov(o,i.getPadding());const A=Math.max(0,t.outerWidth-iv(o,e,"left","right")),l=Math.max(0,t.outerHeight-iv(o,e,"top","bottom")),c=A!==e.w,d=l!==e.h;return e.w=A,e.h=l,n.horizontal?{same:c,other:d}:{same:d,other:c}}function cN(e){const t=e.maxPadding;function n(r){const a=Math.max(t[r]-e[r],0);return e[r]+=a,a}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function dN(e,t){const n=t.maxPadding;function r(a){const i={left:0,top:0,right:0,bottom:0};return a.forEach(o=>{i[o]=Math.max(t[o],n[o])}),i}return r(e?["left","right"]:["top","bottom"])}function VA(e,t,n,r){const a=[];let i,o,A,l,c,d;for(i=0,o=e.length,c=0;i<o;++i){A=e[i],l=A.box,l.update(A.width||t.w,A.height||t.h,dN(A.horizontal,t));const{same:u,other:f}=lN(t,n,A,r);c|=u&&a.length,d=d||f,l.fullSize||a.push(A)}return c&&VA(a,t,n,r)||d}function fd(e,t,n,r,a){e.top=n,e.left=t,e.right=t+r,e.bottom=n+a,e.width=r,e.height=a}function sv(e,t,n,r){const a=n.padding;let{x:i,y:o}=t;for(const A of e){const l=A.box,c=r[A.stack]||{count:1,placed:0,weight:1},d=A.stackWeight/c.weight||1;if(A.horizontal){const u=t.w*d,f=c.size||l.height;Cn(c.start)&&(o=c.start),l.fullSize?fd(l,a.left,o,n.outerWidth-a.right-a.left,f):fd(l,t.left+c.placed,o,u,f),c.start=o,c.placed+=u,o=l.bottom}else{const u=t.h*d,f=c.size||l.width;Cn(c.start)&&(i=c.start),l.fullSize?fd(l,i,a.top,f,n.outerHeight-a.bottom-a.top):fd(l,i,t.top+c.placed,f,u),c.start=i,c.placed+=u,i=l.right}}t.x=i,t.y=o}var on={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(n){t.draw(n)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;n!==-1&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,r){if(!e)return;const a=Ft(e.options.layout.padding),i=Math.max(t-a.width,0),o=Math.max(n-a.height,0),A=AN(e.boxes),l=A.vertical,c=A.horizontal;je(e.boxes,m=>{typeof m.beforeLayout=="function"&&m.beforeLayout()});const d=l.reduce((m,b)=>b.box.options&&b.box.options.display===!1?m:m+1,0)||1,u=Object.freeze({outerWidth:t,outerHeight:n,padding:a,availableWidth:i,availableHeight:o,vBoxMaxWidth:i/2/d,hBoxMaxHeight:o/2}),f=Object.assign({},a);ov(f,Ft(r));const p=Object.assign({maxPadding:f,w:i,h:o,x:a.left,y:a.top},a),h=sN(l.concat(c),u);VA(A.fullSize,p,u,h),VA(l,p,u,h),VA(c,p,u,h)&&VA(l,p,u,h),cN(p),sv(A.leftAndTop,p,u,h),p.x+=p.w,p.y+=p.h,sv(A.rightAndBottom,p,u,h),e.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},je(A.chartArea,m=>{const b=m.box;Object.assign(b,e.chartArea),b.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}};class Av{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,r){}removeEventListener(t,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,r,a){return n=Math.max(0,n||t.width),r=r||t.height,{width:n,height:Math.max(0,a?Math.floor(n/a):r)}}isAttached(t){return!0}updateConfig(t){}}class uN extends Av{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const pd="$chartjs",fN={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},lv=e=>e===null||e==="";function pN(e,t){const n=e.style,r=e.getAttribute("height"),a=e.getAttribute("width");if(e[pd]={initial:{height:r,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",lv(a)){const i=LB(e,"width");i!==void 0&&(e.width=i)}if(lv(r))if(e.style.height==="")e.height=e.width/(t||2);else{const i=LB(e,"height");i!==void 0&&(e.height=i)}return e}const cv=mP?{passive:!0}:!1;function hN(e,t,n){e&&e.addEventListener(t,n,cv)}function mN(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,cv)}function gN(e,t){const n=fN[e.type]||e.type,{x:r,y:a}=Ji(e,t);return{type:n,chart:t,native:e,x:r!==void 0?r:null,y:a!==void 0?a:null}}function hd(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function yN(e,t,n){const r=e.canvas,a=new MutationObserver(i=>{let o=!1;for(const A of i)o=o||hd(A.addedNodes,r),o=o&&!hd(A.removedNodes,r);o&&n()});return a.observe(document,{childList:!0,subtree:!0}),a}function bN(e,t,n){const r=e.canvas,a=new MutationObserver(i=>{let o=!1;for(const A of i)o=o||hd(A.removedNodes,r),o=o&&!hd(A.addedNodes,r);o&&n()});return a.observe(document,{childList:!0,subtree:!0}),a}const zA=new Map;let dv=0;function uv(){const e=window.devicePixelRatio;e!==dv&&(dv=e,zA.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function wN(e,t){zA.size||window.addEventListener("resize",uv),zA.set(e,t)}function BN(e){zA.delete(e),zA.size||window.removeEventListener("resize",uv)}function vN(e,t,n){const r=e.canvas,a=r&&Jh(r);if(!a)return;const i=pB((A,l)=>{const c=a.clientWidth;n(A,l),c<a.clientWidth&&n()},window),o=new ResizeObserver(A=>{const l=A[0],c=l.contentRect.width,d=l.contentRect.height;c===0&&d===0||i(c,d)});return o.observe(a),wN(e,i),o}function Am(e,t,n){n&&n.disconnect(),t==="resize"&&BN(e)}function _N(e,t,n){const r=e.canvas,a=pB(i=>{e.ctx!==null&&n(gN(i,e))},e);return hN(r,t,a),a}class CN extends Av{acquireContext(t,n){const r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(pN(t,n),r):null}releaseContext(t){const n=t.canvas;if(!n[pd])return!1;const r=n[pd].initial;["height","width"].forEach(i=>{const o=r[i];xe(o)?n.removeAttribute(i):n.setAttribute(i,o)});const a=r.style||{};return Object.keys(a).forEach(i=>{n.style[i]=a[i]}),n.width=n.width,delete n[pd],!0}addEventListener(t,n,r){this.removeEventListener(t,n);const a=t.$proxies||(t.$proxies={}),o={attach:yN,detach:bN,resize:vN}[n]||_N;a[n]=o(t,n,r)}removeEventListener(t,n){const r=t.$proxies||(t.$proxies={}),a=r[n];if(!a)return;({attach:Am,detach:Am,resize:Am}[n]||mN)(t,n,a),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,r,a){return hP(t,n,r,a)}isAttached(t){const n=t&&Jh(t);return!!(n&&n.isConnected)}}function kN(e){return!Xh()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?uN:CN}let yn=(bf=class{constructor(){Y(this,"x");Y(this,"y");Y(this,"active",!1);Y(this,"options");Y(this,"$animations")}tooltipPosition(t){const{x:n,y:r}=this.getProps(["x","y"],t);return{x:n,y:r}}hasValue(){return ei(this.x)&&ei(this.y)}getProps(t,n){const r=this.$animations;if(!n||!r)return this;const a={};return t.forEach(i=>{a[i]=r[i]&&r[i].active()?r[i]._to:this[i]}),a}},Y(bf,"defaults",{}),Y(bf,"defaultRoutes"),bf);function xN(e,t){const n=e.options.ticks,r=EN(e),a=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?FN(t):[],o=i.length,A=i[0],l=i[o-1],c=[];if(o>a)return IN(t,c,i,o/a),c;const d=SN(i,t,a);if(o>0){let u,f;const p=o>1?Math.round((l-A)/(o-1)):null;for(md(t,c,d,xe(p)?0:A-p,A),u=0,f=o-1;u<f;u++)md(t,c,d,i[u],i[u+1]);return md(t,c,d,l,xe(p)?t.length:l+p),c}return md(t,c,d),c}function EN(e){const t=e.options.offset,n=e._tickSize(),r=e._length/n+(t?0:1),a=e._maxLength/n;return Math.floor(Math.min(r,a))}function SN(e,t,n){const r=DN(e),a=t.length/n;if(!r)return Math.max(a,1);const i=y9(r);for(let o=0,A=i.length-1;o<A;o++){const l=i[o];if(l>a)return l}return Math.max(a,1)}function FN(e){const t=[];let n,r;for(n=0,r=e.length;n<r;n++)e[n].major&&t.push(n);return t}function IN(e,t,n,r){let a=0,i=n[0],o;for(r=Math.ceil(r),o=0;o<e.length;o++)o===i&&(t.push(e[o]),a++,i=n[a*r])}function md(e,t,n,r,a){const i=he(r,0),o=Math.min(he(a,e.length),e.length);let A=0,l,c,d;for(n=Math.ceil(n),a&&(l=a-r,n=l/Math.floor(l/n)),d=i;d<0;)A++,d=Math.round(i+A*n);for(c=Math.max(i,0);c<o;c++)c===d&&(t.push(e[c]),A++,d=Math.round(i+A*n))}function DN(e){const t=e.length;let n,r;if(t<2)return!1;for(r=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==r)return!1;return r}const TN=e=>e==="left"?"right":e==="right"?"left":e,fv=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,pv=(e,t)=>Math.min(t||e,e);function hv(e,t){const n=[],r=e.length/t,a=e.length;let i=0;for(;i<a;i+=r)n.push(e[Math.floor(i)]);return n}function UN(e,t,n){const r=e.ticks.length,a=Math.min(t,r-1),i=e._startPixel,o=e._endPixel,A=1e-6;let l=e.getPixelForTick(a),c;if(!(n&&(r===1?c=Math.max(l-i,o-l):t===0?c=(e.getPixelForTick(1)-l)/2:c=(l-e.getPixelForTick(a-1))/2,l+=a<t?c:-c,l<i-A||l>o+A)))return l}function LN(e,t){je(e,n=>{const r=n.gc,a=r.length/2;let i;if(a>t){for(i=0;i<a;++i)delete n.data[r[i]];r.splice(0,a)}})}function $A(e){return e.drawTicks?e.tickLength:0}function mv(e,t){if(!e.display)return 0;const n=yt(e.font,t),r=Ft(e.padding);return(Ve(e.text)?e.text.length:1)*n.lineHeight+r.height}function ON(e,t){return ni(e,{scale:t,type:"scale"})}function QN(e,t,n){return ni(e,{tick:n,index:t,type:"tick"})}function MN(e,t,n){let r=Hh(e);return(n&&t!=="right"||!n&&t==="right")&&(r=TN(r)),r}function PN(e,t,n,r){const{top:a,left:i,bottom:o,right:A,chart:l}=e,{chartArea:c,scales:d}=l;let u=0,f,p,h;const m=o-a,b=A-i;if(e.isHorizontal()){if(p=an(r,i,A),Ee(n)){const g=Object.keys(n)[0],B=n[g];h=d[g].getPixelForValue(B)+m-t}else n==="center"?h=(c.bottom+c.top)/2+m-t:h=fv(e,n,t);f=A-i}else{if(Ee(n)){const g=Object.keys(n)[0],B=n[g];p=d[g].getPixelForValue(B)-b+t}else n==="center"?p=(c.left+c.right)/2-b+t:p=fv(e,n,t);h=an(r,o,a),u=n==="left"?-dt:dt}return{titleX:p,titleY:h,maxWidth:f,rotation:u}}class no extends yn{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,n){return t}getUserBounds(){let{_userMin:t,_userMax:n,_suggestedMin:r,_suggestedMax:a}=this;return t=Rn(t,Number.POSITIVE_INFINITY),n=Rn(n,Number.NEGATIVE_INFINITY),r=Rn(r,Number.POSITIVE_INFINITY),a=Rn(a,Number.NEGATIVE_INFINITY),{min:Rn(t,r),max:Rn(n,a),minDefined:gt(t),maxDefined:gt(n)}}getMinMax(t){let{min:n,max:r,minDefined:a,maxDefined:i}=this.getUserBounds(),o;if(a&&i)return{min:n,max:r};const A=this.getMatchingVisibleMetas();for(let l=0,c=A.length;l<c;++l)o=A[l].controller.getMinMax(this,t),a||(n=Math.min(n,o.min)),i||(r=Math.max(r,o.max));return n=i&&n>r?r:n,r=a&&n>r?n:r,{min:Rn(n,Rn(r,n)),max:Rn(r,Rn(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){We(this.options.beforeUpdate,[this])}update(t,n,r){const{beginAtZero:a,grace:i,ticks:o}=this.options,A=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=G9(this,i,a),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=A<this.ticks.length;this._convertTicksToLabels(l?hv(this.ticks,A):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||o.source==="auto")&&(this.ticks=xN(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,n,r;this.isHorizontal()?(n=this.left,r=this.right):(n=this.top,r=this.bottom,t=!t),this._startPixel=n,this._endPixel=r,this._reversePixels=t,this._length=r-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){We(this.options.afterUpdate,[this])}beforeSetDimensions(){We(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){We(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),We(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){We(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const n=this.options.ticks;let r,a,i;for(r=0,a=t.length;r<a;r++)i=t[r],i.label=We(n.callback,[i.value,r,t],this)}afterTickToLabelConversion(){We(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){We(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,n=t.ticks,r=pv(this.ticks.length,t.ticks.maxTicksLimit),a=n.minRotation||0,i=n.maxRotation;let o=a,A,l,c;if(!this._isVisible()||!n.display||a>=i||r<=1||!this.isHorizontal()){this.labelRotation=a;return}const d=this._getLabelSizes(),u=d.widest.width,f=d.highest.height,p=Kt(this.chart.width-u,0,this.maxWidth);A=t.offset?this.maxWidth/r:p/(r-1),u+6>A&&(A=p/(r-(t.offset?.5:1)),l=this.maxHeight-$A(t.grid)-n.padding-mv(t.title,this.chart.options.font),c=Math.sqrt(u*u+f*f),o=ed(Math.min(Math.asin(Kt((d.highest.height+6)/A,-1,1)),Math.asin(Kt(l/c,-1,1))-Math.asin(Kt(f/c,-1,1)))),o=Math.max(a,Math.min(i,o))),this.labelRotation=o}afterCalculateLabelRotation(){We(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){We(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:r,title:a,grid:i}}=this,o=this._isVisible(),A=this.isHorizontal();if(o){const l=mv(a,n.options.font);if(A?(t.width=this.maxWidth,t.height=$A(i)+l):(t.height=this.maxHeight,t.width=$A(i)+l),r.display&&this.ticks.length){const{first:c,last:d,widest:u,highest:f}=this._getLabelSizes(),p=r.padding*2,h=Mt(this.labelRotation),m=Math.cos(h),b=Math.sin(h);if(A){const g=r.mirror?0:b*u.width+m*f.height;t.height=Math.min(this.maxHeight,t.height+g+p)}else{const g=r.mirror?0:m*u.width+b*f.height;t.width=Math.min(this.maxWidth,t.width+g+p)}this._calculatePadding(c,d,b,m)}}this._handleMargins(),A?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,r,a){const{ticks:{align:i,padding:o},position:A}=this.options,l=this.labelRotation!==0,c=A!=="top"&&this.axis==="x";if(this.isHorizontal()){const d=this.getPixelForTick(0)-this.left,u=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,p=0;l?c?(f=a*t.width,p=r*n.height):(f=r*t.height,p=a*n.width):i==="start"?p=n.width:i==="end"?f=t.width:i!=="inner"&&(f=t.width/2,p=n.width/2),this.paddingLeft=Math.max((f-d+o)*this.width/(this.width-d),0),this.paddingRight=Math.max((p-u+o)*this.width/(this.width-u),0)}else{let d=n.height/2,u=t.height/2;i==="start"?(d=0,u=t.height):i==="end"&&(d=n.height,u=0),this.paddingTop=d+o,this.paddingBottom=u+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){We(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,r;for(n=0,r=t.length;n<r;n++)xe(t[n].label)&&(t.splice(n,1),r--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const n=this.options.ticks.sampleSize;let r=this.ticks;n<r.length&&(r=hv(r,n)),this._labelSizes=t=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,n,r){const{ctx:a,_longestTextCache:i}=this,o=[],A=[],l=Math.floor(n/pv(n,r));let c=0,d=0,u,f,p,h,m,b,g,B,w,y,_;for(u=0;u<n;u+=l){if(h=t[u].label,m=this._resolveTickFontOptions(u),a.font=b=m.string,g=i[b]=i[b]||{data:{},gc:[]},B=m.lineHeight,w=y=0,!xe(h)&&!Ve(h))w=rd(a,g.data,g.gc,w,h),y=B;else if(Ve(h))for(f=0,p=h.length;f<p;++f)_=h[f],!xe(_)&&!Ve(_)&&(w=rd(a,g.data,g.gc,w,_),y+=B);o.push(w),A.push(y),c=Math.max(w,c),d=Math.max(y,d)}LN(i,n);const v=o.indexOf(c),k=A.indexOf(d),C=x=>({width:o[x]||0,height:A[x]||0});return{first:C(0),last:C(n-1),widest:C(v),highest:C(k),widths:o,heights:A}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return v9(this._alignToPixels?Yi(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&t<n.length){const r=n[t];return r.$context||(r.$context=QN(this.getContext(),t,r))}return this.$context||(this.$context=ON(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,n=Mt(this.labelRotation),r=Math.abs(Math.cos(n)),a=Math.abs(Math.sin(n)),i=this._getLabelSizes(),o=t.autoSkipPadding||0,A=i?i.widest.width+o:0,l=i?i.highest.height+o:0;return this.isHorizontal()?l*r>A*a?A/r:l/a:l*a<A*r?l/r:A/a}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const n=this.axis,r=this.chart,a=this.options,{grid:i,position:o,border:A}=a,l=i.offset,c=this.isHorizontal(),u=this.ticks.length+(l?1:0),f=$A(i),p=[],h=A.setContext(this.getContext()),m=h.display?h.width:0,b=m/2,g=function(H){return Yi(r,H,m)};let B,w,y,_,v,k,C,x,U,D,F,L;if(o==="top")B=g(this.bottom),k=this.bottom-f,x=B-b,D=g(t.top)+b,L=t.bottom;else if(o==="bottom")B=g(this.top),D=t.top,L=g(t.bottom)-b,k=B+b,x=this.top+f;else if(o==="left")B=g(this.right),v=this.right-f,C=B-b,U=g(t.left)+b,F=t.right;else if(o==="right")B=g(this.left),U=t.left,F=g(t.right)-b,v=B+b,C=this.left+f;else if(n==="x"){if(o==="center")B=g((t.top+t.bottom)/2+.5);else if(Ee(o)){const H=Object.keys(o)[0],$=o[H];B=g(this.chart.scales[H].getPixelForValue($))}D=t.top,L=t.bottom,k=B+b,x=k+f}else if(n==="y"){if(o==="center")B=g((t.left+t.right)/2);else if(Ee(o)){const H=Object.keys(o)[0],$=o[H];B=g(this.chart.scales[H].getPixelForValue($))}v=B-b,C=v-f,U=t.left,F=t.right}const G=he(a.ticks.maxTicksLimit,u),Z=Math.max(1,Math.ceil(u/G));for(w=0;w<u;w+=Z){const H=this.getContext(w),$=i.setContext(H),pe=A.setContext(H),J=$.lineWidth,ce=$.color,Ae=pe.dash||[],de=pe.dashOffset,ye=$.tickWidth,se=$.tickColor,ee=$.tickBorderDash||[],P=$.tickBorderDashOffset;y=UN(this,w,l),y!==void 0&&(_=Yi(r,y,J),c?v=C=U=F=_:k=x=D=L=_,p.push({tx1:v,ty1:k,tx2:C,ty2:x,x1:U,y1:D,x2:F,y2:L,width:J,color:ce,borderDash:Ae,borderDashOffset:de,tickWidth:ye,tickColor:se,tickBorderDash:ee,tickBorderDashOffset:P}))}return this._ticksLength=u,this._borderValue=B,p}_computeLabelItems(t){const n=this.axis,r=this.options,{position:a,ticks:i}=r,o=this.isHorizontal(),A=this.ticks,{align:l,crossAlign:c,padding:d,mirror:u}=i,f=$A(r.grid),p=f+d,h=u?-d:p,m=-Mt(this.labelRotation),b=[];let g,B,w,y,_,v,k,C,x,U,D,F,L="middle";if(a==="top")v=this.bottom-h,k=this._getXAxisLabelAlignment();else if(a==="bottom")v=this.top+h,k=this._getXAxisLabelAlignment();else if(a==="left"){const Z=this._getYAxisLabelAlignment(f);k=Z.textAlign,_=Z.x}else if(a==="right"){const Z=this._getYAxisLabelAlignment(f);k=Z.textAlign,_=Z.x}else if(n==="x"){if(a==="center")v=(t.top+t.bottom)/2+p;else if(Ee(a)){const Z=Object.keys(a)[0],H=a[Z];v=this.chart.scales[Z].getPixelForValue(H)+p}k=this._getXAxisLabelAlignment()}else if(n==="y"){if(a==="center")_=(t.left+t.right)/2-p;else if(Ee(a)){const Z=Object.keys(a)[0],H=a[Z];_=this.chart.scales[Z].getPixelForValue(H)}k=this._getYAxisLabelAlignment(f).textAlign}n==="y"&&(l==="start"?L="top":l==="end"&&(L="bottom"));const G=this._getLabelSizes();for(g=0,B=A.length;g<B;++g){w=A[g],y=w.label;const Z=i.setContext(this.getContext(g));C=this.getPixelForTick(g)+i.labelOffset,x=this._resolveTickFontOptions(g),U=x.lineHeight,D=Ve(y)?y.length:1;const H=D/2,$=Z.color,pe=Z.textStrokeColor,J=Z.textStrokeWidth;let ce=k;o?(_=C,k==="inner"&&(g===B-1?ce=this.options.reverse?"left":"right":g===0?ce=this.options.reverse?"right":"left":ce="center"),a==="top"?c==="near"||m!==0?F=-D*U+U/2:c==="center"?F=-G.highest.height/2-H*U+U:F=-G.highest.height+U/2:c==="near"||m!==0?F=U/2:c==="center"?F=G.highest.height/2-H*U:F=G.highest.height-D*U,u&&(F*=-1),m!==0&&!Z.showLabelBackdrop&&(_+=U/2*Math.sin(m))):(v=C,F=(1-D)*U/2);let Ae;if(Z.showLabelBackdrop){const de=Ft(Z.backdropPadding),ye=G.heights[g],se=G.widths[g];let ee=F-de.top,P=0-de.left;switch(L){case"middle":ee-=ye/2;break;case"bottom":ee-=ye;break}switch(k){case"center":P-=se/2;break;case"right":P-=se;break;case"inner":g===B-1?P-=se:g>0&&(P-=se/2);break}Ae={left:P,top:ee,width:se+de.width,height:ye+de.height,color:Z.backdropColor}}b.push({label:y,font:x,textOffset:F,options:{rotation:m,color:$,strokeColor:pe,strokeWidth:J,textAlign:ce,textBaseline:L,translation:[_,v],backdrop:Ae}})}return b}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-Mt(this.labelRotation))return t==="top"?"left":"right";let a="center";return n.align==="start"?a="left":n.align==="end"?a="right":n.align==="inner"&&(a="inner"),a}_getYAxisLabelAlignment(t){const{position:n,ticks:{crossAlign:r,mirror:a,padding:i}}=this.options,o=this._getLabelSizes(),A=t+i,l=o.widest.width;let c,d;return n==="left"?a?(d=this.right+i,r==="near"?c="left":r==="center"?(c="center",d+=l/2):(c="right",d+=l)):(d=this.right-A,r==="near"?c="right":r==="center"?(c="center",d-=l/2):(c="left",d=this.left)):n==="right"?a?(d=this.left+i,r==="near"?c="right":r==="center"?(c="center",d-=l/2):(c="left",d-=l)):(d=this.left+A,r==="near"?c="left":r==="center"?(c="center",d+=l/2):(c="right",d=this.right)):c="right",{textAlign:c,x:d}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:n},left:r,top:a,width:i,height:o}=this;n&&(t.save(),t.fillStyle=n,t.fillRect(r,a,i,o),t.restore())}getLineWidthForValue(t){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const a=this.ticks.findIndex(i=>i.value===t);return a>=0?n.setContext(this.getContext(a)).lineWidth:0}drawGrid(t){const n=this.options.grid,r=this.ctx,a=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let i,o;const A=(l,c,d)=>{!d.width||!d.color||(r.save(),r.lineWidth=d.width,r.strokeStyle=d.color,r.setLineDash(d.borderDash||[]),r.lineDashOffset=d.borderDashOffset,r.beginPath(),r.moveTo(l.x,l.y),r.lineTo(c.x,c.y),r.stroke(),r.restore())};if(n.display)for(i=0,o=a.length;i<o;++i){const l=a[i];n.drawOnChartArea&&A({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),n.drawTicks&&A({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:n,options:{border:r,grid:a}}=this,i=r.setContext(this.getContext()),o=r.display?i.width:0;if(!o)return;const A=a.setContext(this.getContext(0)).lineWidth,l=this._borderValue;let c,d,u,f;this.isHorizontal()?(c=Yi(t,this.left,o)-o/2,d=Yi(t,this.right,A)+A/2,u=f=l):(u=Yi(t,this.top,o)-o/2,f=Yi(t,this.bottom,A)+A/2,c=d=l),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(c,u),n.lineTo(d,f),n.stroke(),n.restore()}drawLabels(t){if(!this.options.ticks.display)return;const r=this.ctx,a=this._computeLabelArea();a&&OA(r,a);const i=this.getLabelItems(t);for(const o of i){const A=o.options,l=o.font,c=o.label,d=o.textOffset;qi(r,c,0,d,l,A)}a&&QA(r)}drawTitle(){const{ctx:t,options:{position:n,title:r,reverse:a}}=this;if(!r.display)return;const i=yt(r.font),o=Ft(r.padding),A=r.align;let l=i.lineHeight/2;n==="bottom"||n==="center"||Ee(n)?(l+=o.bottom,Ve(r.text)&&(l+=i.lineHeight*(r.text.length-1))):l+=o.top;const{titleX:c,titleY:d,maxWidth:u,rotation:f}=PN(this,l,n,A);qi(t,r.text,0,0,i,{color:r.color,maxWidth:u,rotation:f,textAlign:MN(A,n,a),textBaseline:"middle",translation:[c,d]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,n=t.ticks&&t.ticks.z||0,r=he(t.grid&&t.grid.z,-1),a=he(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==no.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:r,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:a,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",a=[];let i,o;for(i=0,o=n.length;i<o;++i){const A=n[i];A[r]===this.id&&(!t||A.type===t)&&a.push(A)}return a}_resolveTickFontOptions(t){const n=this.options.ticks.setContext(this.getContext(t));return yt(n.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class gd{constructor(t,n,r){this.type=t,this.scope=n,this.override=r,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const n=Object.getPrototypeOf(t);let r;HN(n)&&(r=this.register(n));const a=this.items,i=t.id,o=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+t);return i in a||(a[i]=t,NN(t,o,r),this.override&&it.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const n=this.items,r=t.id,a=this.scope;r in n&&delete n[r],a&&r in it[a]&&(delete it[a][r],this.override&&delete ji[r])}}function NN(e,t,n){const r=Ur(Object.create(null),[n?it.get(n):{},it.get(t),e.defaults]);it.set(t,r),e.defaultRoutes&&RN(t,e.defaultRoutes),e.descriptors&&it.describe(t,e.descriptors)}function RN(e,t){Object.keys(t).forEach(n=>{const r=n.split("."),a=r.pop(),i=[e].concat(r).join("."),o=t[n].split("."),A=o.pop(),l=o.join(".");it.route(i,a,l,A)})}function HN(e){return"id"in e&&"defaults"in e}class VN{constructor(){this.controllers=new gd(dr,"datasets",!0),this.elements=new gd(yn,"elements"),this.plugins=new gd(Object,"plugins"),this.scales=new gd(no,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,r){[...n].forEach(a=>{const i=r||this._getRegistryForType(a);r||i.isForType(a)||i===this.plugins&&a.id?this._exec(t,i,a):je(a,o=>{const A=r||this._getRegistryForType(o);this._exec(t,A,o)})})}_exec(t,n,r){const a=Ph(t);We(r["before"+a],[],r),n[t](r),We(r["after"+a],[],r)}_getRegistryForType(t){for(let n=0;n<this._typedRegistries.length;n++){const r=this._typedRegistries[n];if(r.isForType(t))return r}return this.plugins}_get(t,n,r){const a=n.get(t);if(a===void 0)throw new Error('"'+t+'" is not a registered '+r+".");return a}}var Or=new VN;class zN{constructor(){this._init=void 0}notify(t,n,r,a){if(n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install")),this._init===void 0)return;const i=a?this._descriptors(t).filter(a):this._descriptors(t),o=this._notify(i,t,n,r);return n==="afterDestroy"&&(this._notify(i,t,"stop"),this._notify(this._init,t,"uninstall"),this._init=void 0),o}_notify(t,n,r,a){a=a||{};for(const i of t){const o=i.plugin,A=o[r],l=[n,a,i.options];if(We(A,l,o)===!1&&a.cancelable)return!1}return!0}invalidate(){xe(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const r=t&&t.config,a=he(r.options&&r.options.plugins,{}),i=$N(r);return a===!1&&!n?[]:WN(t,i,a,n)}_notifyStateChanges(t){const n=this._oldCache||[],r=this._cache,a=(i,o)=>i.filter(A=>!o.some(l=>A.plugin.id===l.plugin.id));this._notify(a(n,r),t,"stop"),this._notify(a(r,n),t,"start")}}function $N(e){const t={},n=[],r=Object.keys(Or.plugins.items);for(let i=0;i<r.length;i++)n.push(Or.getPlugin(r[i]));const a=e.plugins||[];for(let i=0;i<a.length;i++){const o=a[i];n.indexOf(o)===-1&&(n.push(o),t[o.id]=!0)}return{plugins:n,localIds:t}}function KN(e,t){return!t&&e===!1?null:e===!0?{}:e}function WN(e,{plugins:t,localIds:n},r,a){const i=[],o=e.getContext();for(const A of t){const l=A.id,c=KN(r[l],a);c!==null&&i.push({plugin:A,options:GN(e.config,{plugin:A,local:n[l]},c,o)})}return i}function GN(e,{plugin:t,local:n},r,a){const i=e.pluginScopeKeys(t),o=e.getOptionScopes(r,i);return n&&t.defaults&&o.push(t.defaults),e.createResolver(o,a,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function lm(e,t){const n=it.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function jN(e,t){let n=e;return e==="_index_"?n=t:e==="_value_"&&(n=t==="x"?"y":"x"),n}function YN(e,t){return e===t?"_index_":"_value_"}function gv(e){if(e==="x"||e==="y"||e==="r")return e}function qN(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function cm(e,...t){if(gv(e))return e;for(const n of t){const r=n.axis||qN(n.position)||e.length>1&&gv(e[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function yv(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function XN(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(r=>r.xAxisID===e||r.yAxisID===e);if(n.length)return yv(e,"x",n[0])||yv(e,"y",n[0])}return{}}function JN(e,t){const n=ji[e.type]||{scales:{}},r=t.scales||{},a=lm(e.type,t),i=Object.create(null);return Object.keys(r).forEach(o=>{const A=r[o];if(!Ee(A))return console.error(`Invalid scale configuration for scale: ${o}`);if(A._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${o}`);const l=cm(o,A,XN(o,e),it.scales[A.type]),c=YN(l,a),d=n.scales||{};i[o]=FA(Object.create(null),[{axis:l},A,d[l],d[c]])}),e.data.datasets.forEach(o=>{const A=o.type||e.type,l=o.indexAxis||lm(A,t),d=(ji[A]||{}).scales||{};Object.keys(d).forEach(u=>{const f=jN(u,l),p=o[f+"AxisID"]||f;i[p]=i[p]||Object.create(null),FA(i[p],[{axis:f},r[p],d[u]])})}),Object.keys(i).forEach(o=>{const A=i[o];FA(A,[it.scales[A.type],it.scale])}),i}function bv(e){const t=e.options||(e.options={});t.plugins=he(t.plugins,{}),t.scales=JN(e,t)}function wv(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function ZN(e){return e=e||{},e.data=wv(e.data),bv(e),e}const Bv=new Map,vv=new Set;function yd(e,t){let n=Bv.get(e);return n||(n=t(),Bv.set(e,n),vv.add(n)),n}const KA=(e,t,n)=>{const r=Ja(t,n);r!==void 0&&e.add(r)};class eR{constructor(t){this._config=ZN(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=wv(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),bv(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return yd(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return yd(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return yd(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,r=this.type;return yd(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const r=this._scopeCache;let a=r.get(t);return(!a||n)&&(a=new Map,r.set(t,a)),a}getOptionScopes(t,n,r){const{options:a,type:i}=this,o=this._cachedScopes(t,r),A=o.get(n);if(A)return A;const l=new Set;n.forEach(d=>{t&&(l.add(t),d.forEach(u=>KA(l,t,u))),d.forEach(u=>KA(l,a,u)),d.forEach(u=>KA(l,ji[i]||{},u)),d.forEach(u=>KA(l,it,u)),d.forEach(u=>KA(l,$h,u))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),vv.has(n)&&o.set(n,c),c}chartOptionScopes(){const{options:t,type:n}=this;return[t,ji[n]||{},it.datasets[n]||{},{type:n},it,$h]}resolveNamedOptions(t,n,r,a=[""]){const i={$shared:!0},{resolver:o,subPrefixes:A}=_v(this._resolverCache,t,a);let l=o;if(nR(o,n)){i.$shared=!1,r=kn(r)?r():r;const c=this.createResolver(t,r,A);l=is(o,r,c)}for(const c of n)i[c]=l[c];return i}createResolver(t,n,r=[""],a){const{resolver:i}=_v(this._resolverCache,t,r);return Ee(n)?is(i,n,void 0,a):i}}function _v(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const a=n.join();let i=r.get(a);return i||(i={resolver:jh(t,n),subPrefixes:n.filter(A=>!A.toLowerCase().includes("hover"))},r.set(a,i)),i}const tR=e=>Ee(e)&&Object.getOwnPropertyNames(e).some(t=>kn(e[t]));function nR(e,t){const{isScriptable:n,isIndexable:r}=kB(e);for(const a of t){const i=n(a),o=r(a),A=(o||i)&&e[a];if(i&&(kn(A)||tR(A))||o&&Ve(A))return!0}return!1}var rR="4.5.1";const aR=["top","bottom","left","right","chartArea"];function Cv(e,t){return e==="top"||e==="bottom"||aR.indexOf(e)===-1&&t==="x"}function kv(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function xv(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),We(n&&n.onComplete,[e],t)}function iR(e){const t=e.chart,n=t.options.animation;We(n&&n.onProgress,[e],t)}function Ev(e){return Xh()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const bd={},Sv=e=>{const t=Ev(e);return Object.values(bd).filter(n=>n.canvas===t).pop()};function oR(e,t,n){const r=Object.keys(e);for(const a of r){const i=+a;if(i>=t){const o=e[a];delete e[a],(n>0||i>t)&&(e[i+n]=o)}}}function sR(e,t,n,r){return!n||e.type==="mouseout"?null:r?t:e}class ze{static register(...t){Or.add(...t),Fv()}static unregister(...t){Or.remove(...t),Fv()}constructor(t,n){const r=this.config=new eR(n),a=Ev(t),i=Sv(a);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const o=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||kN(a)),this.platform.updateConfig(r);const A=this.platform.acquireContext(a,o.aspectRatio),l=A&&A.canvas,c=l&&l.height,d=l&&l.width;if(this.id=c9(),this.ctx=A,this.canvas=l,this.width=d,this.height=c,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new zN,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=x9(u=>this.update(u),o.resizeDelay||0),this._dataChanges=[],bd[this.id]=this,!A||!l){console.error("Failed to create chart: can't acquire context from the given item");return}ua.listen(this,"complete",xv),ua.listen(this,"progress",iR),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:r,height:a,_aspectRatio:i}=this;return xe(t)?n&&i?i:a?r/a:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Or}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():UB(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return vB(this.canvas,this.ctx),this}stop(){return ua.stop(this),this}resize(t,n){ua.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const r=this.options,a=this.canvas,i=r.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(a,t,n,i),A=r.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,UB(this,A,!0)&&(this.notifyPlugins("resize",{size:o}),We(r.onResize,[this,o],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};je(n,(r,a)=>{r.id=a})}buildOrUpdateScales(){const t=this.options,n=t.scales,r=this.scales,a=Object.keys(r).reduce((o,A)=>(o[A]=!1,o),{});let i=[];n&&(i=i.concat(Object.keys(n).map(o=>{const A=n[o],l=cm(o,A),c=l==="r",d=l==="x";return{options:A,dposition:c?"chartArea":d?"bottom":"left",dtype:c?"radialLinear":d?"category":"linear"}}))),je(i,o=>{const A=o.options,l=A.id,c=cm(l,A),d=he(A.type,o.dtype);(A.position===void 0||Cv(A.position,c)!==Cv(o.dposition))&&(A.position=o.dposition),a[l]=!0;let u=null;if(l in r&&r[l].type===d)u=r[l];else{const f=Or.getScale(d);u=new f({id:l,type:d,ctx:this.ctx,chart:this}),r[u.id]=u}u.init(A,t)}),je(a,(o,A)=>{o||delete r[A]}),je(r,o=>{on.configure(this,o,o.options),on.addBox(this,o)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,r=t.length;if(t.sort((a,i)=>a.index-i.index),r>n){for(let a=n;a<r;++a)this._destroyDatasetMeta(a);t.splice(n,r-n)}this._sortedMetasets=t.slice(0).sort(kv("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:n}}=this;t.length>n.length&&delete this._stacks,t.forEach((r,a)=>{n.filter(i=>i===r._dataset).length===0&&this._destroyDatasetMeta(a)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let r,a;for(this._removeUnreferencedMetasets(),r=0,a=n.length;r<a;r++){const i=n[r];let o=this.getDatasetMeta(r);const A=i.type||this.config.type;if(o.type&&o.type!==A&&(this._destroyDatasetMeta(r),o=this.getDatasetMeta(r)),o.type=A,o.indexAxis=i.indexAxis||lm(A,this.options),o.order=i.order||0,o.index=r,o.label=""+i.label,o.visible=this.isDatasetVisible(r),o.controller)o.controller.updateIndex(r),o.controller.linkScales();else{const l=Or.getController(A),{datasetElementType:c,dataElementType:d}=it.datasets[A];Object.assign(l,{dataElementType:Or.getElement(d),datasetElementType:c&&Or.getElement(c)}),o.controller=new l(this,r),t.push(o.controller)}}return this._updateMetasets(),t}_resetElements(){je(this.data.datasets,(t,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),a=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let c=0,d=this.data.datasets.length;c<d;c++){const{controller:u}=this.getDatasetMeta(c),f=!a&&i.indexOf(u)===-1;u.buildOrUpdateElements(f),o=Math.max(+u.getMaxOverflow(),o)}o=this._minPadding=r.layout.autoPadding?o:0,this._updateLayout(o),a||je(i,c=>{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(kv("z","_idx"));const{_active:A,_lastEvent:l}=this;l?this._eventHandler(l,!0):A.length&&this._updateHoverStyles(A,A,!0),this.render()}_updateScales(){je(this.scales,t=>{on.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(t.events);(!iB(n,r)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:a,count:i}of n){const o=r==="_removeElements"?-i:i;oR(t,a,o)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=i=>new Set(t.filter(o=>o[0]===i).map((o,A)=>A+","+o.splice(1).join(","))),a=r(0);for(let i=1;i<n;i++)if(!iB(a,r(i)))return;return Array.from(a).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;on.update(this,this.width,this.height,t);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],je(this.boxes,a=>{r&&a.position==="chartArea"||(a.configure&&a.configure(),this._layers.push(...a._layers()))},this),this._layers.forEach((a,i)=>{a._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n<r;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,r=this.data.datasets.length;n<r;++n)this._updateDataset(n,kn(t)?t({datasetIndex:n}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,n){const r=this.getDatasetMeta(t),a={meta:r,index:t,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",a)!==!1&&(r.controller._update(n),a.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",a))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(ua.has(this)?this.attached&&!ua.running(this)&&ua.start(this):(this.draw(),xv({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:r,height:a}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(r,a)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(this.chartArea);for(this._drawDatasets();t<n.length;++t)n[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const n=this._sortedMetasets,r=[];let a,i;for(a=0,i=n.length;a<i;++a){const o=n[a];(!t||o.visible)&&r.push(o)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let n=t.length-1;n>=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,r={meta:t,index:t.index,cancelable:!0},a=zB(this,t);this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(a&&OA(n,a),t.controller.draw(),a&&QA(n),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(t){return da(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,r,a){const i=aN.modes[n];return typeof i=="function"?i(this,t,r,a):[]}getDatasetMeta(t){const n=this.data.datasets[t],r=this._metasets;let a=r.filter(i=>i&&i._dataset===n).pop();return a||(a={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},r.push(a)),a}getContext(){return this.$context||(this.$context=ni(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const r=this.getDatasetMeta(t);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(t,n){const r=this.getDatasetMeta(t);r.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,r){const a=r?"show":"hide",i=this.getDatasetMeta(t),o=i.controller._resolveAnimations(void 0,a);Cn(n)?(i.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),o.update(i,{visible:r}),this.update(A=>A.datasetIndex===t?a:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),ua.remove(this),t=0,n=this.data.datasets.length;t<n;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:n}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),vB(t,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete bd[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,n=this.platform,r=(i,o)=>{n.addEventListener(this,i,o),t[i]=o},a=(i,o,A)=>{i.offsetX=o,i.offsetY=A,this._eventHandler(i)};je(this.options.events,i=>r(i,a))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,r=(l,c)=>{n.addEventListener(this,l,c),t[l]=c},a=(l,c)=>{t[l]&&(n.removeEventListener(this,l,c),delete t[l])},i=(l,c)=>{this.canvas&&this.resize(l,c)};let o;const A=()=>{a("attach",A),this.attached=!0,this.resize(),r("resize",i),r("detach",o)};o=()=>{this.attached=!1,a("resize",i),this._stop(),this._resize(0,0),r("attach",A)},n.isAttached(this.canvas)?A():o()}unbindEvents(){je(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},je(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,r){const a=r?"set":"remove";let i,o,A,l;for(n==="dataset"&&(i=this.getDatasetMeta(t[0].datasetIndex),i.controller["_"+a+"DatasetHoverStyle"]()),A=0,l=t.length;A<l;++A){o=t[A];const c=o&&this.getDatasetMeta(o.datasetIndex).controller;c&&c[a+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const n=this._active||[],r=t.map(({datasetIndex:i,index:o})=>{const A=this.getDatasetMeta(i);if(!A)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:A.data[o],index:o}});!qc(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(t,n,r){return this._plugins.notify(this,t,n,r)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,r){const a=this.options.hover,i=(l,c)=>l.filter(d=>!c.some(u=>d.datasetIndex===u.datasetIndex&&d.index===u.index)),o=i(n,t),A=r?t:i(t,n);o.length&&this.updateHoverStyle(o,a.mode,!1),A.length&&a.mode&&this.updateHoverStyle(A,a.mode,!0)}_eventHandler(t,n){const r={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},a=o=>(o.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",r,a)===!1)return;const i=this._handleEvent(t,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,a),(i||r.changed)&&this.render(),this}_handleEvent(t,n,r){const{_active:a=[],options:i}=this,o=n,A=this._getActiveElements(t,a,r,o),l=m9(t),c=sR(t,this._lastEvent,r,l);r&&(this._lastEvent=null,We(i.onHover,[t,A,this],this),l&&We(i.onClick,[t,A,this],this));const d=!qc(A,a);return(d||n)&&(this._active=A,this._updateHoverStyles(A,a,n)),this._lastEvent=c,d}_getActiveElements(t,n,r,a){if(t.type==="mouseout")return[];if(!r)return n;const i=this.options.hover;return this.getElementsAtEventForMode(t,i.mode,i,a)}}Y(ze,"defaults",it),Y(ze,"instances",bd),Y(ze,"overrides",ji),Y(ze,"registry",Or),Y(ze,"version",rR),Y(ze,"getChart",Sv);function Fv(){return je(ze.instances,e=>e._plugins.invalidate())}function AR(e,t,n){const{startAngle:r,x:a,y:i,outerRadius:o,innerRadius:A,options:l}=t,{borderWidth:c,borderJoinStyle:d}=l,u=Math.min(c/o,rn(r-n));if(e.beginPath(),e.arc(a,i,o-c/2,r+u/2,n-u/2),A>0){const f=Math.min(c/A,rn(r-n));e.arc(a,i,A+c/2,n-f/2,r+f/2,!0)}else{const f=Math.min(c/2,o*rn(r-n));if(d==="round")e.arc(a,i,f,n-Ce/2,r+Ce/2,!0);else if(d==="bevel"){const p=2*f*f,h=-p*Math.cos(n+Ce/2)+a,m=-p*Math.sin(n+Ce/2)+i,b=p*Math.cos(r+Ce/2)+a,g=p*Math.sin(r+Ce/2)+i;e.lineTo(h,m),e.lineTo(b,g)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip("evenodd")}function lR(e,t,n){const{startAngle:r,pixelMargin:a,x:i,y:o,outerRadius:A,innerRadius:l}=t;let c=a/A;e.beginPath(),e.arc(i,o,A,r-c,n+c),l>a?(c=a/l,e.arc(i,o,l,n+c,r-c,!0)):e.arc(i,o,a,n+dt,r-dt),e.closePath(),e.clip()}function cR(e){return Gh(e,["outerStart","outerEnd","innerStart","innerEnd"])}function dR(e,t,n,r){const a=cR(e.options.borderRadius),i=(n-t)/2,o=Math.min(i,r*t/2),A=l=>{const c=(n-Math.min(i,l))*r/2;return Kt(l,0,Math.min(i,c))};return{outerStart:A(a.outerStart),outerEnd:A(a.outerEnd),innerStart:Kt(a.innerStart,0,o),innerEnd:Kt(a.innerEnd,0,o)}}function As(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function wd(e,t,n,r,a,i){const{x:o,y:A,startAngle:l,pixelMargin:c,innerRadius:d}=t,u=Math.max(t.outerRadius+r+n-c,0),f=d>0?d+r+n+c:0;let p=0;const h=a-l;if(r){const Z=d>0?d-r:0,H=u>0?u-r:0,$=(Z+H)/2,pe=$!==0?h*$/($+r):h;p=(h-pe)/2}const m=Math.max(.001,h*u-n/Ce)/u,b=(h-m)/2,g=l+b+p,B=a-b-p,{outerStart:w,outerEnd:y,innerStart:_,innerEnd:v}=dR(t,f,u,B-g),k=u-w,C=u-y,x=g+w/k,U=B-y/C,D=f+_,F=f+v,L=g+_/D,G=B-v/F;if(e.beginPath(),i){const Z=(x+U)/2;if(e.arc(o,A,u,x,Z),e.arc(o,A,u,Z,U),y>0){const J=As(C,U,o,A);e.arc(J.x,J.y,y,U,B+dt)}const H=As(F,B,o,A);if(e.lineTo(H.x,H.y),v>0){const J=As(F,G,o,A);e.arc(J.x,J.y,v,B+dt,G+Math.PI)}const $=(B-v/f+(g+_/f))/2;if(e.arc(o,A,f,B-v/f,$,!0),e.arc(o,A,f,$,g+_/f,!0),_>0){const J=As(D,L,o,A);e.arc(J.x,J.y,_,L+Math.PI,g-dt)}const pe=As(k,g,o,A);if(e.lineTo(pe.x,pe.y),w>0){const J=As(k,x,o,A);e.arc(J.x,J.y,w,g-dt,x)}}else{e.moveTo(o,A);const Z=Math.cos(x)*u+o,H=Math.sin(x)*u+A;e.lineTo(Z,H);const $=Math.cos(U)*u+o,pe=Math.sin(U)*u+A;e.lineTo($,pe)}e.closePath()}function uR(e,t,n,r,a){const{fullCircles:i,startAngle:o,circumference:A}=t;let l=t.endAngle;if(i){wd(e,t,n,r,l,a);for(let c=0;c<i;++c)e.fill();isNaN(A)||(l=o+(A%at||at))}return wd(e,t,n,r,l,a),e.fill(),l}function fR(e,t,n,r,a){const{fullCircles:i,startAngle:o,circumference:A,options:l}=t,{borderWidth:c,borderJoinStyle:d,borderDash:u,borderDashOffset:f,borderRadius:p}=l,h=l.borderAlign==="inner";if(!c)return;e.setLineDash(u||[]),e.lineDashOffset=f,h?(e.lineWidth=c*2,e.lineJoin=d||"round"):(e.lineWidth=c,e.lineJoin=d||"bevel");let m=t.endAngle;if(i){wd(e,t,n,r,m,a);for(let b=0;b<i;++b)e.stroke();isNaN(A)||(m=o+(A%at||at))}h&&lR(e,t,m),l.selfJoin&&m-o>=Ce&&p===0&&d!=="miter"&&AR(e,t,m),i||(wd(e,t,n,r,m,a),e.stroke())}class ls extends yn{constructor(n){super();Y(this,"circumference");Y(this,"endAngle");Y(this,"fullCircles");Y(this,"innerRadius");Y(this,"outerRadius");Y(this,"pixelMargin");Y(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,n&&Object.assign(this,n)}inRange(n,r,a){const i=this.getProps(["x","y"],a),{angle:o,distance:A}=lB(i,{x:n,y:r}),{startAngle:l,endAngle:c,innerRadius:d,outerRadius:u,circumference:f}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],a),p=(this.options.spacing+this.options.borderWidth)/2,h=he(f,c-l),m=DA(o,l,c)&&l!==c,b=h>=at||m,g=la(A,d+p,u+p);return b&&g}getCenterPoint(n){const{x:r,y:a,startAngle:i,endAngle:o,innerRadius:A,outerRadius:l}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:c,spacing:d}=this.options,u=(i+o)/2,f=(A+l+d+c)/2;return{x:r+Math.cos(u)*f,y:a+Math.sin(u)*f}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:r,circumference:a}=this,i=(r.offset||0)/4,o=(r.spacing||0)/2,A=r.circular;if(this.pixelMargin=r.borderAlign==="inner"?.33:0,this.fullCircles=a>at?Math.floor(a/at):0,a===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const l=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(l)*i,Math.sin(l)*i);const c=1-Math.sin(Math.min(Ce,a||0)),d=i*c;n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,uR(n,this,d,o,A),fR(n,this,d,o,A),n.restore()}}Y(ls,"id","arc"),Y(ls,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1}),Y(ls,"defaultRoutes",{backgroundColor:"backgroundColor"}),Y(ls,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});function Iv(e,t,n=t){e.lineCap=he(n.borderCapStyle,t.borderCapStyle),e.setLineDash(he(n.borderDash,t.borderDash)),e.lineDashOffset=he(n.borderDashOffset,t.borderDashOffset),e.lineJoin=he(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=he(n.borderWidth,t.borderWidth),e.strokeStyle=he(n.borderColor,t.borderColor)}function pR(e,t,n){e.lineTo(n.x,n.y)}function hR(e){return e.stepped?P9:e.tension||e.cubicInterpolationMode==="monotone"?N9:pR}function Dv(e,t,n={}){const r=e.length,{start:a=0,end:i=r-1}=n,{start:o,end:A}=t,l=Math.max(a,o),c=Math.min(i,A),d=a<o&&i<o||a>A&&i>A;return{count:r,start:l,loop:t.loop,ilen:c<l&&!d?r+c-l:c-l}}function mR(e,t,n,r){const{points:a,options:i}=t,{count:o,start:A,loop:l,ilen:c}=Dv(a,n,r),d=hR(i);let{move:u=!0,reverse:f}=r||{},p,h,m;for(p=0;p<=c;++p)h=a[(A+(f?c-p:p))%o],!h.skip&&(u?(e.moveTo(h.x,h.y),u=!1):d(e,m,h,f,i.stepped),m=h);return l&&(h=a[(A+(f?c:0))%o],d(e,m,h,f,i.stepped)),!!l}function gR(e,t,n,r){const a=t.points,{count:i,start:o,ilen:A}=Dv(a,n,r),{move:l=!0,reverse:c}=r||{};let d=0,u=0,f,p,h,m,b,g;const B=y=>(o+(c?A-y:y))%i,w=()=>{m!==b&&(e.lineTo(d,b),e.lineTo(d,m),e.lineTo(d,g))};for(l&&(p=a[B(0)],e.moveTo(p.x,p.y)),f=0;f<=A;++f){if(p=a[B(f)],p.skip)continue;const y=p.x,_=p.y,v=y|0;v===h?(_<m?m=_:_>b&&(b=_),d=(u*d+y)/++u):(w(),e.lineTo(y,_),h=v,u=0,m=b=_),g=_}w()}function dm(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?gR:mR}function yR(e){return e.stepped?gP:e.tension||e.cubicInterpolationMode==="monotone"?yP:Zi}function bR(e,t,n,r){let a=t._path;a||(a=t._path=new Path2D,t.path(a,n,r)&&a.closePath()),Iv(e,t.options),e.stroke(a)}function wR(e,t,n,r){const{segments:a,options:i}=t,o=dm(t);for(const A of a)Iv(e,i,A.style),e.beginPath(),o(e,t,A,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}const BR=typeof Path2D=="function";function vR(e,t,n,r){BR&&!t.options.segment?bR(e,t,n,r):wR(e,t,n,r)}class ai extends yn{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const a=r.spanGaps?this._loop:this._fullLoop;lP(this._points,r,t,a,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=CP(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,r=t.length;return r&&n[t[r-1].end]}interpolate(t,n){const r=this.options,a=t[n],i=this.points,o=RB(this,{property:n,start:a,end:a});if(!o.length)return;const A=[],l=yR(r);let c,d;for(c=0,d=o.length;c<d;++c){const{start:u,end:f}=o[c],p=i[u],h=i[f];if(p===h){A.push(p);continue}const m=Math.abs((a-p[n])/(h[n]-p[n])),b=l(p,h,m,r.stepped);b[n]=t[n],A.push(b)}return A.length===1?A[0]:A}pathSegment(t,n,r){return dm(this)(t,this,n,r)}path(t,n,r){const a=this.segments,i=dm(this);let o=this._loop;n=n||0,r=r||this.points.length-n;for(const A of a)o&=i(t,this,A,{start:n,end:n+r-1});return!!o}draw(t,n,r,a){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(t.save(),vR(t,this,r,a),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}Y(ai,"id","line"),Y(ai,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),Y(ai,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),Y(ai,"descriptors",{_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"});function Tv(e,t,n,r){const a=e.options,{[n]:i}=e.getProps([n],r);return Math.abs(t-i)<a.radius+a.hitRadius}class WA extends yn{constructor(n){super();Y(this,"parsed");Y(this,"skip");Y(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,r,a){const i=this.options,{x:o,y:A}=this.getProps(["x","y"],a);return Math.pow(n-o,2)+Math.pow(r-A,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(n,r){return Tv(this,n,"x",r)}inYRange(n,r){return Tv(this,n,"y",r)}getCenterPoint(n){const{x:r,y:a}=this.getProps(["x","y"],n);return{x:r,y:a}}size(n){n=n||this.options||{};let r=n.radius||0;r=Math.max(r,r&&n.hoverRadius||0);const a=r&&n.borderWidth||0;return(r+a)*2}draw(n,r){const a=this.options;this.skip||a.radius<.1||!da(this,r,this.size(a)/2)||(n.strokeStyle=a.borderColor,n.lineWidth=a.borderWidth,n.fillStyle=a.backgroundColor,Wh(n,a,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}Y(WA,"id","point"),Y(WA,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),Y(WA,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function Uv(e,t){const{x:n,y:r,base:a,width:i,height:o}=e.getProps(["x","y","base","width","height"],t);let A,l,c,d,u;return e.horizontal?(u=o/2,A=Math.min(n,a),l=Math.max(n,a),c=r-u,d=r+u):(u=i/2,A=n-u,l=n+u,c=Math.min(r,a),d=Math.max(r,a)),{left:A,top:c,right:l,bottom:d}}function ii(e,t,n,r){return e?0:Kt(t,n,r)}function _R(e,t,n){const r=e.options.borderWidth,a=e.borderSkipped,i=CB(r);return{t:ii(a.top,i.top,0,n),r:ii(a.right,i.right,0,t),b:ii(a.bottom,i.bottom,0,n),l:ii(a.left,i.left,0,t)}}function CR(e,t,n){const{enableBorderRadius:r}=e.getProps(["enableBorderRadius"]),a=e.options.borderRadius,i=ti(a),o=Math.min(t,n),A=e.borderSkipped,l=r||Ee(a);return{topLeft:ii(!l||A.top||A.left,i.topLeft,0,o),topRight:ii(!l||A.top||A.right,i.topRight,0,o),bottomLeft:ii(!l||A.bottom||A.left,i.bottomLeft,0,o),bottomRight:ii(!l||A.bottom||A.right,i.bottomRight,0,o)}}function kR(e){const t=Uv(e),n=t.right-t.left,r=t.bottom-t.top,a=_R(e,n/2,r/2),i=CR(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r,radius:i},inner:{x:t.left+a.l,y:t.top+a.t,w:n-a.l-a.r,h:r-a.t-a.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(a.t,a.l)),topRight:Math.max(0,i.topRight-Math.max(a.t,a.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(a.b,a.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(a.b,a.r))}}}}function um(e,t,n,r){const a=t===null,i=n===null,A=e&&!(a&&i)&&Uv(e,r);return A&&(a||la(t,A.left,A.right))&&(i||la(n,A.top,A.bottom))}function xR(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function ER(e,t){e.rect(t.x,t.y,t.w,t.h)}function fm(e,t,n={}){const r=e.x!==n.x?-t:0,a=e.y!==n.y?-t:0,i=(e.x+e.w!==n.x+n.w?t:0)-r,o=(e.y+e.h!==n.y+n.h?t:0)-a;return{x:e.x+r,y:e.y+a,w:e.w+i,h:e.h+o,radius:e.radius}}class GA extends yn{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:n,options:{borderColor:r,backgroundColor:a}}=this,{inner:i,outer:o}=kR(this),A=xR(o.radius)?as:ER;t.save(),(o.w!==i.w||o.h!==i.h)&&(t.beginPath(),A(t,fm(o,n,i)),t.clip(),A(t,fm(i,-n,o)),t.fillStyle=r,t.fill("evenodd")),t.beginPath(),A(t,fm(i,n)),t.fillStyle=a,t.fill(),t.restore()}inRange(t,n,r){return um(this,t,n,r)}inXRange(t,n){return um(this,t,null,n)}inYRange(t,n){return um(this,null,t,n)}getCenterPoint(t){const{x:n,y:r,base:a,horizontal:i}=this.getProps(["x","y","base","horizontal"],t);return{x:i?(n+a)/2:n,y:i?r:(r+a)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}}Y(GA,"id","bar"),Y(GA,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),Y(GA,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});var SR=Object.freeze({__proto__:null,ArcElement:ls,BarElement:GA,LineElement:ai,PointElement:WA});const pm=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],Lv=pm.map(e=>e.replace("rgb(","rgba(").replace(")",", 0.5)"));function Ov(e){return pm[e%pm.length]}function Qv(e){return Lv[e%Lv.length]}function FR(e,t){return e.borderColor=Ov(t),e.backgroundColor=Qv(t),++t}function IR(e,t){return e.backgroundColor=e.data.map(()=>Ov(t++)),t}function DR(e,t){return e.backgroundColor=e.data.map(()=>Qv(t++)),t}function TR(e){let t=0;return(n,r)=>{const a=e.getDatasetMeta(r).controller;a instanceof eo?t=IR(n,t):a instanceof PA?t=DR(n,t):a&&(t=FR(n,t))}}function Mv(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function UR(e){return e&&(e.borderColor||e.backgroundColor)}function LR(){return it.borderColor!=="rgba(0,0,0,0.1)"||it.backgroundColor!=="rgba(0,0,0,0.1)"}var OR={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;const{data:{datasets:r},options:a}=e.config,{elements:i}=a,o=Mv(r)||UR(a)||i&&Mv(i)||LR();if(!n.forceOverride&&o)return;const A=TR(e);r.forEach(A)}};function QR(e,t,n,r,a){const i=a.samples||r;if(i>=n)return e.slice(t,t+n);const o=[],A=(n-2)/(i-2);let l=0;const c=t+n-1;let d=t,u,f,p,h,m;for(o[l++]=e[d],u=0;u<i-2;u++){let b=0,g=0,B;const w=Math.floor((u+1)*A)+1+t,y=Math.min(Math.floor((u+2)*A)+1,n)+t,_=y-w;for(B=w;B<y;B++)b+=e[B].x,g+=e[B].y;b/=_,g/=_;const v=Math.floor(u*A)+1+t,k=Math.min(Math.floor((u+1)*A)+1,n)+t,{x:C,y:x}=e[d];for(p=h=-1,B=v;B<k;B++)h=.5*Math.abs((C-b)*(e[B].y-x)-(C-e[B].x)*(g-x)),h>p&&(p=h,f=e[B],m=B);o[l++]=f,d=m}return o[l++]=e[c],o}function MR(e,t,n,r){let a=0,i=0,o,A,l,c,d,u,f,p,h,m;const b=[],g=t+n-1,B=e[t].x,y=e[g].x-B;for(o=t;o<t+n;++o){A=e[o],l=(A.x-B)/y*r,c=A.y;const _=l|0;if(_===d)c<h?(h=c,u=o):c>m&&(m=c,f=o),a=(i*a+A.x)/++i;else{const v=o-1;if(!xe(u)&&!xe(f)){const k=Math.min(u,f),C=Math.max(u,f);k!==p&&k!==v&&b.push({...e[k],x:a}),C!==p&&C!==v&&b.push({...e[C],x:a})}o>0&&v!==p&&b.push(e[v]),b.push(A),d=_,i=0,h=m=c,u=f=p=o}}return b}function Pv(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function Nv(e){e.data.datasets.forEach(t=>{Pv(t)})}function PR(e,t){const n=t.length;let r=0,a;const{iScale:i}=e,{min:o,max:A,minDefined:l,maxDefined:c}=i.getUserBounds();return l&&(r=Kt(ca(t,i.axis,o).lo,0,n-1)),c?a=Kt(ca(t,i.axis,A).hi+1,r,n)-r:a=n-r,{start:r,count:a}}var NR={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){Nv(e);return}const r=e.width;e.data.datasets.forEach((a,i)=>{const{_data:o,indexAxis:A}=a,l=e.getDatasetMeta(i),c=o||a.data;if(ut([A,e.options.indexAxis])==="y"||!l.controller.supportsDecimation)return;const d=e.scales[l.xAxisID];if(d.type!=="linear"&&d.type!=="time"||e.options.parsing)return;let{start:u,count:f}=PR(l,c);const p=n.threshold||4*r;if(f<=p){Pv(a);return}xe(o)&&(a._data=c,delete a.data,Object.defineProperty(a,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(m){this._data=m}}));let h;switch(n.algorithm){case"lttb":h=QR(c,u,f,r,n);break;case"min-max":h=MR(c,u,f,r);break;default:throw new Error(`Unsupported decimation algorithm '${n.algorithm}'`)}a._decimated=h})},destroy(e){Nv(e)}};function RR(e,t,n){const r=e.segments,a=e.points,i=t.points,o=[];for(const A of r){let{start:l,end:c}=A;c=Bd(l,c,a);const d=hm(n,a[l],a[c],A.loop);if(!t.segments){o.push({source:A,target:d,start:a[l],end:a[c]});continue}const u=RB(t,d);for(const f of u){const p=hm(n,i[f.start],i[f.end],f.loop),h=NB(A,a,p);for(const m of h)o.push({source:m,target:f,start:{[n]:Rv(d,p,"start",Math.max)},end:{[n]:Rv(d,p,"end",Math.min)}})}}return o}function hm(e,t,n,r){if(r)return;let a=t[e],i=n[e];return e==="angle"&&(a=rn(a),i=rn(i)),{property:e,start:a,end:i}}function HR(e,t){const{x:n=null,y:r=null}=e||{},a=t.points,i=[];return t.segments.forEach(({start:o,end:A})=>{A=Bd(o,A,a);const l=a[o],c=a[A];r!==null?(i.push({x:l.x,y:r}),i.push({x:c.x,y:r})):n!==null&&(i.push({x:n,y:l.y}),i.push({x:n,y:c.y}))}),i}function Bd(e,t,n){for(;t>e;t--){const r=n[t];if(!isNaN(r.x)&&!isNaN(r.y))break}return t}function Rv(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function Hv(e,t){let n=[],r=!1;return Ve(e)?(r=!0,n=e):n=HR(e,t),n.length?new ai({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function Vv(e){return e&&e.fill!==!1}function VR(e,t,n){let a=e[t].fill;const i=[t];let o;if(!n)return a;for(;a!==!1&&i.indexOf(a)===-1;){if(!gt(a))return a;if(o=e[a],!o)return!1;if(o.visible)return a;i.push(a),a=o.fill}return!1}function zR(e,t,n){const r=GR(e);if(Ee(r))return isNaN(r.value)?!1:r;let a=parseFloat(r);return gt(a)&&Math.floor(a)===a?$R(r[0],t,a,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function $R(e,t,n,r){return(e==="-"||e==="+")&&(n=t+n),n===t||n<0||n>=r?!1:n}function KR(e,t){let n=null;return e==="start"?n=t.bottom:e==="end"?n=t.top:Ee(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function WR(e,t,n){let r;return e==="start"?r=n:e==="end"?r=t.options.reverse?t.min:t.max:Ee(e)?r=e.value:r=t.getBaseValue(),r}function GR(e){const t=e.options,n=t.fill;let r=he(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?"origin":r}function jR(e){const{scale:t,index:n,line:r}=e,a=[],i=r.segments,o=r.points,A=YR(t,n);A.push(Hv({x:null,y:t.bottom},r));for(let l=0;l<i.length;l++){const c=i[l];for(let d=c.start;d<=c.end;d++)qR(a,o[d],A)}return new ai({points:a,options:{}})}function YR(e,t){const n=[],r=e.getMatchingVisibleMetas("line");for(let a=0;a<r.length;a++){const i=r[a];if(i.index===t)break;i.hidden||n.unshift(i.dataset)}return n}function qR(e,t,n){const r=[];for(let a=0;a<n.length;a++){const i=n[a],{first:o,last:A,point:l}=XR(i,t,"x");if(!(!l||o&&A)){if(o)r.unshift(l);else if(e.push(l),!A)break}}e.push(...r)}function XR(e,t,n){const r=e.interpolate(t,n);if(!r)return{};const a=r[n],i=e.segments,o=e.points;let A=!1,l=!1;for(let c=0;c<i.length;c++){const d=i[c],u=o[d.start][n],f=o[d.end][n];if(la(a,u,f)){A=a===u,l=a===f;break}}return{first:A,last:l,point:r}}class zv{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,n,r){const{x:a,y:i,radius:o}=this;return n=n||{start:0,end:at},t.arc(a,i,o,n.end,n.start,!0),!r.bounds}interpolate(t){const{x:n,y:r,radius:a}=this,i=t.angle;return{x:n+Math.cos(i)*a,y:r+Math.sin(i)*a,angle:i}}}function JR(e){const{chart:t,fill:n,line:r}=e;if(gt(n))return ZR(t,n);if(n==="stack")return jR(e);if(n==="shape")return!0;const a=eH(e);return a instanceof zv?a:Hv(a,r)}function ZR(e,t){const n=e.getDatasetMeta(t);return n&&e.isDatasetVisible(t)?n.dataset:null}function eH(e){return(e.scale||{}).getPointPositionForValue?nH(e):tH(e)}function tH(e){const{scale:t={},fill:n}=e,r=KR(n,t);if(gt(r)){const a=t.isHorizontal();return{x:a?r:null,y:a?null:r}}return null}function nH(e){const{scale:t,fill:n}=e,r=t.options,a=t.getLabels().length,i=r.reverse?t.max:t.min,o=WR(n,t,i),A=[];if(r.grid.circular){const l=t.getPointPositionForValue(0,i);return new zv({x:l.x,y:l.y,radius:t.getDistanceFromCenterForValue(o)})}for(let l=0;l<a;++l)A.push(t.getPointPositionForValue(l,o));return A}function mm(e,t,n){const r=JR(t),{chart:a,index:i,line:o,scale:A,axis:l}=t,c=o.options,d=c.fill,u=c.backgroundColor,{above:f=u,below:p=u}=d||{},h=a.getDatasetMeta(i),m=zB(a,h);r&&o.points.length&&(OA(e,n),rH(e,{line:o,target:r,above:f,below:p,area:n,scale:A,axis:l,clip:m}),QA(e))}function rH(e,t){const{line:n,target:r,above:a,below:i,area:o,scale:A,clip:l}=t,c=n._loop?"angle":t.axis;e.save();let d=i;i!==a&&(c==="x"?($v(e,r,o.top),gm(e,{line:n,target:r,color:a,scale:A,property:c,clip:l}),e.restore(),e.save(),$v(e,r,o.bottom)):c==="y"&&(Kv(e,r,o.left),gm(e,{line:n,target:r,color:i,scale:A,property:c,clip:l}),e.restore(),e.save(),Kv(e,r,o.right),d=a)),gm(e,{line:n,target:r,color:d,scale:A,property:c,clip:l}),e.restore()}function $v(e,t,n){const{segments:r,points:a}=t;let i=!0,o=!1;e.beginPath();for(const A of r){const{start:l,end:c}=A,d=a[l],u=a[Bd(l,c,a)];i?(e.moveTo(d.x,d.y),i=!1):(e.lineTo(d.x,n),e.lineTo(d.x,d.y)),o=!!t.pathSegment(e,A,{move:o}),o?e.closePath():e.lineTo(u.x,n)}e.lineTo(t.first().x,n),e.closePath(),e.clip()}function Kv(e,t,n){const{segments:r,points:a}=t;let i=!0,o=!1;e.beginPath();for(const A of r){const{start:l,end:c}=A,d=a[l],u=a[Bd(l,c,a)];i?(e.moveTo(d.x,d.y),i=!1):(e.lineTo(n,d.y),e.lineTo(d.x,d.y)),o=!!t.pathSegment(e,A,{move:o}),o?e.closePath():e.lineTo(n,u.y)}e.lineTo(n,t.first().y),e.closePath(),e.clip()}function gm(e,t){const{line:n,target:r,property:a,color:i,scale:o,clip:A}=t,l=RR(n,r,a);for(const{source:c,target:d,start:u,end:f}of l){const{style:{backgroundColor:p=i}={}}=c,h=r!==!0;e.save(),e.fillStyle=p,aH(e,o,A,h&&hm(a,u,f)),e.beginPath();const m=!!n.pathSegment(e,c);let b;if(h){m?e.closePath():Wv(e,r,f,a);const g=!!r.pathSegment(e,d,{move:m,reverse:!0});b=m&&g,b||Wv(e,r,u,a)}e.closePath(),e.fill(b?"evenodd":"nonzero"),e.restore()}}function aH(e,t,n,r){const a=t.chart.chartArea,{property:i,start:o,end:A}=r||{};if(i==="x"||i==="y"){let l,c,d,u;i==="x"?(l=o,c=a.top,d=A,u=a.bottom):(l=a.left,c=o,d=a.right,u=A),e.beginPath(),n&&(l=Math.max(l,n.left),d=Math.min(d,n.right),c=Math.max(c,n.top),u=Math.min(u,n.bottom)),e.rect(l,c,d-l,u-c),e.clip()}}function Wv(e,t,n,r){const a=t.interpolate(n,r);a&&e.lineTo(a.x,a.y)}var iH={id:"filler",afterDatasetsUpdate(e,t,n){const r=(e.data.datasets||[]).length,a=[];let i,o,A,l;for(o=0;o<r;++o)i=e.getDatasetMeta(o),A=i.dataset,l=null,A&&A.options&&A instanceof ai&&(l={visible:e.isDatasetVisible(o),index:o,fill:zR(A,o,r),chart:e,axis:i.controller.options.indexAxis,scale:i.vScale,line:A}),i.$filler=l,a.push(l);for(o=0;o<r;++o)l=a[o],!(!l||l.fill===!1)&&(l.fill=VR(a,o,n.propagate))},beforeDraw(e,t,n){const r=n.drawTime==="beforeDraw",a=e.getSortedVisibleDatasetMetas(),i=e.chartArea;for(let o=a.length-1;o>=0;--o){const A=a[o].$filler;A&&(A.line.updateControlPoints(i,A.axis),r&&A.fill&&mm(e.ctx,A,i))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!=="beforeDatasetsDraw")return;const r=e.getSortedVisibleDatasetMetas();for(let a=r.length-1;a>=0;--a){const i=r[a].$filler;Vv(i)&&mm(e.ctx,i,e.chartArea)}},beforeDatasetDraw(e,t,n){const r=t.meta.$filler;!Vv(r)||n.drawTime!=="beforeDatasetDraw"||mm(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Gv=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},oH=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class jv extends yn{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n,r){this.maxWidth=t,this.maxHeight=n,this._margins=r,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let n=We(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter(r=>t.filter(r,this.chart.data))),t.sort&&(n=n.sort((r,a)=>t.sort(r,a,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:t,ctx:n}=this;if(!t.display){this.width=this.height=0;return}const r=t.labels,a=yt(r.font),i=a.size,o=this._computeTitleHeight(),{boxWidth:A,itemHeight:l}=Gv(r,i);let c,d;n.font=a.string,this.isHorizontal()?(c=this.maxWidth,d=this._fitRows(o,i,A,l)+10):(d=this.maxHeight,c=this._fitCols(o,a,A,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(d,t.maxHeight||this.maxHeight)}_fitRows(t,n,r,a){const{ctx:i,maxWidth:o,options:{labels:{padding:A}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],d=a+A;let u=t;i.textAlign="left",i.textBaseline="middle";let f=-1,p=-d;return this.legendItems.forEach((h,m)=>{const b=r+n/2+i.measureText(h.text).width;(m===0||c[c.length-1]+b+2*A>o)&&(u+=d,c[c.length-(m>0?0:1)]=0,p+=d,f++),l[m]={left:0,top:p,row:f,width:b,height:a},c[c.length-1]+=b+A}),u}_fitCols(t,n,r,a){const{ctx:i,maxHeight:o,options:{labels:{padding:A}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],d=o-t;let u=A,f=0,p=0,h=0,m=0;return this.legendItems.forEach((b,g)=>{const{itemWidth:B,itemHeight:w}=sH(r,n,i,b,a);g>0&&p+w+2*A>d&&(u+=f+A,c.push({width:f,height:p}),h+=f+A,m++,f=p=0),l[g]={left:h,top:p,col:m,width:B,height:w},f=Math.max(f,B),p+=w+A}),u+=f,c.push({width:f,height:p}),u}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:r,labels:{padding:a},rtl:i}}=this,o=ss(i,this.left,this.width);if(this.isHorizontal()){let A=0,l=an(r,this.left+a,this.right-this.lineWidths[A]);for(const c of n)A!==c.row&&(A=c.row,l=an(r,this.left+a,this.right-this.lineWidths[A])),c.top+=this.top+t+a,c.left=o.leftForLtr(o.x(l),c.width),l+=c.width+a}else{let A=0,l=an(r,this.top+t+a,this.bottom-this.columnSizes[A].height);for(const c of n)c.col!==A&&(A=c.col,l=an(r,this.top+t+a,this.bottom-this.columnSizes[A].height)),c.top=l,c.left+=this.left+a,c.left=o.leftForLtr(o.x(c.left),c.width),l+=c.height+a}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;OA(t,this),this._draw(),QA(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:r,ctx:a}=this,{align:i,labels:o}=t,A=it.color,l=ss(t.rtl,this.left,this.width),c=yt(o.font),{padding:d}=o,u=c.size,f=u/2;let p;this.drawTitle(),a.textAlign=l.textAlign("left"),a.textBaseline="middle",a.lineWidth=.5,a.font=c.string;const{boxWidth:h,boxHeight:m,itemHeight:b}=Gv(o,u),g=function(v,k,C){if(isNaN(h)||h<=0||isNaN(m)||m<0)return;a.save();const x=he(C.lineWidth,1);if(a.fillStyle=he(C.fillStyle,A),a.lineCap=he(C.lineCap,"butt"),a.lineDashOffset=he(C.lineDashOffset,0),a.lineJoin=he(C.lineJoin,"miter"),a.lineWidth=x,a.strokeStyle=he(C.strokeStyle,A),a.setLineDash(he(C.lineDash,[])),o.usePointStyle){const U={radius:m*Math.SQRT2/2,pointStyle:C.pointStyle,rotation:C.rotation,borderWidth:x},D=l.xPlus(v,h/2),F=k+f;_B(a,U,D,F,o.pointStyleWidth&&h)}else{const U=k+Math.max((u-m)/2,0),D=l.leftForLtr(v,h),F=ti(C.borderRadius);a.beginPath(),Object.values(F).some(L=>L!==0)?as(a,{x:D,y:U,w:h,h:m,radius:F}):a.rect(D,U,h,m),a.fill(),x!==0&&a.stroke()}a.restore()},B=function(v,k,C){qi(a,C.text,v,k+b/2,c,{strikethrough:C.hidden,textAlign:l.textAlign(C.textAlign)})},w=this.isHorizontal(),y=this._computeTitleHeight();w?p={x:an(i,this.left+d,this.right-r[0]),y:this.top+d+y,line:0}:p={x:this.left+d,y:an(i,this.top+y+d,this.bottom-n[0].height),line:0},OB(this.ctx,t.textDirection);const _=b+d;this.legendItems.forEach((v,k)=>{a.strokeStyle=v.fontColor,a.fillStyle=v.fontColor;const C=a.measureText(v.text).width,x=l.textAlign(v.textAlign||(v.textAlign=o.textAlign)),U=h+f+C;let D=p.x,F=p.y;l.setWidth(this.width),w?k>0&&D+U+d>this.right&&(F=p.y+=_,p.line++,D=p.x=an(i,this.left+d,this.right-r[p.line])):k>0&&F+_>this.bottom&&(D=p.x=D+n[p.line].width+d,p.line++,F=p.y=an(i,this.top+y+d,this.bottom-n[p.line].height));const L=l.x(D);if(g(L,F,v),D=E9(x,D+h+f,w?D+U:this.right,t.rtl),B(l.x(D),F,v),w)p.x+=U+d;else if(typeof v.text!="string"){const G=c.lineHeight;p.y+=Yv(v,G)+d}else p.y+=_}),QB(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,r=yt(n.font),a=Ft(n.padding);if(!n.display)return;const i=ss(t.rtl,this.left,this.width),o=this.ctx,A=n.position,l=r.size/2,c=a.top+l;let d,u=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),d=this.top+c,u=an(t.align,u,this.right-f);else{const h=this.columnSizes.reduce((m,b)=>Math.max(m,b.height),0);d=c+an(t.align,this.top,this.bottom-h-t.labels.padding-this._computeTitleHeight())}const p=an(A,u,u+f);o.textAlign=i.textAlign(Hh(A)),o.textBaseline="middle",o.strokeStyle=n.color,o.fillStyle=n.color,o.font=r.string,qi(o,n.text,p,d,r)}_computeTitleHeight(){const t=this.options.title,n=yt(t.font),r=Ft(t.padding);return t.display?n.lineHeight+r.height:0}_getLegendItemAt(t,n){let r,a,i;if(la(t,this.left,this.right)&&la(n,this.top,this.bottom)){for(i=this.legendHitBoxes,r=0;r<i.length;++r)if(a=i[r],la(t,a.left,a.left+a.width)&&la(n,a.top,a.top+a.height))return this.legendItems[r]}return null}handleEvent(t){const n=this.options;if(!cH(t.type,n))return;const r=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const a=this._hoveredItem,i=oH(a,r);a&&!i&&We(n.onLeave,[t,a,this],this),this._hoveredItem=r,r&&!i&&We(n.onHover,[t,r,this],this)}else r&&We(n.onClick,[t,r,this],this)}}function sH(e,t,n,r,a){const i=AH(r,e,t,n),o=lH(a,r,t.lineHeight);return{itemWidth:i,itemHeight:o}}function AH(e,t,n,r){let a=e.text;return a&&typeof a!="string"&&(a=a.reduce((i,o)=>i.length>o.length?i:o)),t+n.size/2+r.measureText(a).width}function lH(e,t,n){let r=e;return typeof t.text!="string"&&(r=Yv(t,n)),r}function Yv(e,t){const n=e.text?e.text.length:0;return t*n}function cH(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var dH={id:"legend",_element:jv,start(e,t,n){const r=e.legend=new jv({ctx:e.ctx,options:n,chart:e});on.configure(e,r,n),on.addBox(e,r)},stop(e){on.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const r=e.legend;on.configure(e,r,n),r.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const r=t.datasetIndex,a=n.chart;a.isDatasetVisible(r)?(a.hide(r),t.hidden=!0):(a.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:a,color:i,useBorderRadius:o,borderRadius:A}}=e.legend.options;return e._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(n?0:void 0),d=Ft(c.borderWidth);return{text:t[l.index].label,fillStyle:c.backgroundColor,fontColor:i,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(d.width+d.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:a||c.textAlign,borderRadius:o&&(A||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class ym extends yn{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n){const r=this.options;if(this.left=0,this.top=0,!r.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=n;const a=Ve(r.text)?r.text.length:1;this._padding=Ft(r.padding);const i=a*yt(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:n,left:r,bottom:a,right:i,options:o}=this,A=o.align;let l=0,c,d,u;return this.isHorizontal()?(d=an(A,r,i),u=n+t,c=i-r):(o.position==="left"?(d=r+t,u=an(A,a,n),l=Ce*-.5):(d=i-t,u=an(A,n,a),l=Ce*.5),c=a-n),{titleX:d,titleY:u,maxWidth:c,rotation:l}}draw(){const t=this.ctx,n=this.options;if(!n.display)return;const r=yt(n.font),i=r.lineHeight/2+this._padding.top,{titleX:o,titleY:A,maxWidth:l,rotation:c}=this._drawArgs(i);qi(t,n.text,0,0,r,{color:n.color,maxWidth:l,rotation:c,textAlign:Hh(n.align),textBaseline:"middle",translation:[o,A]})}}function uH(e,t){const n=new ym({ctx:e.ctx,options:t,chart:e});on.configure(e,n,t),on.addBox(e,n),e.titleBlock=n}var fH={id:"title",_element:ym,start(e,t,n){uH(e,n)},stop(e){const t=e.titleBlock;on.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const r=e.titleBlock;on.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const vd=new WeakMap;var pH={id:"subtitle",start(e,t,n){const r=new ym({ctx:e.ctx,options:n,chart:e});on.configure(e,r,n),on.addBox(e,r),vd.set(e,r)},stop(e){on.removeBox(e,vd.get(e)),vd.delete(e)},beforeUpdate(e,t,n){const r=vd.get(e);on.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const jA={average(e){if(!e.length)return!1;let t,n,r=new Set,a=0,i=0;for(t=0,n=e.length;t<n;++t){const A=e[t].element;if(A&&A.hasValue()){const l=A.tooltipPosition();r.add(l.x),a+=l.y,++i}}return i===0||r.size===0?!1:{x:[...r].reduce((A,l)=>A+l)/r.size,y:a/i}},nearest(e,t){if(!e.length)return!1;let n=t.x,r=t.y,a=Number.POSITIVE_INFINITY,i,o,A;for(i=0,o=e.length;i<o;++i){const l=e[i].element;if(l&&l.hasValue()){const c=l.getCenterPoint(),d=rs(t,c);d<a&&(a=d,A=l)}}if(A){const l=A.tooltipPosition();n=l.x,r=l.y}return{x:n,y:r}}};function Qr(e,t){return t&&(Ve(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function fa(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(`
|
|
670
|
+
*/class SP{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,r,a){const i=n.listeners[a],o=n.duration;i.forEach(A=>A({chart:t,initial:n.initial,numSteps:o,currentStep:Math.min(r-n.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=fB.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((r,a)=>{if(!r.running||!r.items.length)return;const i=r.items;let o=i.length-1,A=!1,l;for(;o>=0;--o)l=i[o],l._active?(l._total>r.duration&&(r.duration=l._total),l.tick(t),A=!0):(i[o]=i[i.length-1],i.pop());A&&(a.draw(),this._notify(a,r,t,"progress")),i.length||(r.running=!1,this._notify(a,r,t,"complete"),r.initial=!1),n+=i.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let r=n.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,r)),r}listen(t,n,r){this._getAnims(t).listeners[n].push(r)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,a)=>Math.max(r,a._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const r=n.items;let a=r.length-1;for(;a>=0;--a)r[a].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var ua=new SP;const $B="transparent",FP={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const r=bB(e||$B),a=r.valid&&bB(t||$B);return a&&a.valid?a.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class IP{constructor(t,n,r,a){const i=n[r];a=ut([t.to,a,i,t.from]);const o=ut([t.from,i,a]);this._active=!0,this._fn=t.fn||FP[t.type||typeof o],this._easing=TA[t.easing]||TA.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=r,this._from=o,this._to=a,this._promises=void 0}active(){return this._active}update(t,n,r){if(this._active){this._notify(!1);const a=this._target[this._prop],i=r-this._start,o=this._duration-i;this._start=r,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=i,this._loop=!!t.loop,this._to=ut([t.to,n,a,t.from]),this._from=ut([t.from,a,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,r=this._duration,a=this._prop,i=this._from,o=this._loop,A=this._to;let l;if(this._active=i!==A&&(o||n<r),!this._active){this._target[a]=A,this._notify(!0);return}if(n<0){this._target[a]=i;return}l=n/r%2,l=o&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[a]=this._fn(i,A,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,r)=>{t.push({res:n,rej:r})})}_notify(t){const n=t?"res":"rej",r=this._promises||[];for(let a=0;a<r.length;a++)r[a][n]()}}class Zh{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!Ee(t))return;const n=Object.keys(it.animation),r=this._properties;Object.getOwnPropertyNames(t).forEach(a=>{const i=t[a];if(!Ee(i))return;const o={};for(const A of n)o[A]=i[A];(Ve(i.properties)&&i.properties||[a]).forEach(A=>{(A===a||!r.has(A))&&r.set(A,o)})})}_animateOptions(t,n){const r=n.options,a=TP(t,r);if(!a)return[];const i=this._createAnimations(a,r);return r.$shared&&DP(t.options.$animations,r).then(()=>{t.options=r},()=>{}),i}_createAnimations(t,n){const r=this._properties,a=[],i=t.$animations||(t.$animations={}),o=Object.keys(n),A=Date.now();let l;for(l=o.length-1;l>=0;--l){const c=o[l];if(c.charAt(0)==="$")continue;if(c==="options"){a.push(...this._animateOptions(t,n));continue}const d=n[c];let u=i[c];const f=r.get(c);if(u)if(f&&u.active()){u.update(f,d,A);continue}else u.cancel();if(!f||!f.duration){t[c]=d;continue}i[c]=u=new IP(f,t,c,d),a.push(u)}return a}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const r=this._createAnimations(t,n);if(r.length)return ua.add(this._chart,r),!0}}function DP(e,t){const n=[],r=Object.keys(t);for(let a=0;a<r.length;a++){const i=e[r[a]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function TP(e,t){if(!t)return;let n=e.options;if(!n){e.options=t;return}return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function KB(e,t){const n=e&&e.options||{},r=n.reverse,a=n.min===void 0?t:0,i=n.max===void 0?t:0;return{start:r?i:a,end:r?a:i}}function UP(e,t,n){if(n===!1)return!1;const r=KB(e,n),a=KB(t,n);return{top:a.end,right:r.end,bottom:a.start,left:r.start}}function LP(e){let t,n,r,a;return Ee(e)?(t=e.top,n=e.right,r=e.bottom,a=e.left):t=n=r=a=e,{top:t,right:n,bottom:r,left:a,disabled:e===!1}}function WB(e,t){const n=[],r=e._getSortedDatasetMetas(t);let a,i;for(a=0,i=r.length;a<i;++a)n.push(r[a].index);return n}function GB(e,t,n,r={}){const a=e.keys,i=r.mode==="single";let o,A,l,c;if(t===null)return;let d=!1;for(o=0,A=a.length;o<A;++o){if(l=+a[o],l===n){if(d=!0,r.all)continue;break}c=e.values[l],gt(c)&&(i||t===0||Lr(t)===Lr(c))&&(t+=c)}return!d&&!r.all?0:t}function OP(e,t){const{iScale:n,vScale:r}=t,a=n.axis==="x"?"x":"y",i=r.axis==="x"?"x":"y",o=Object.keys(e),A=new Array(o.length);let l,c,d;for(l=0,c=o.length;l<c;++l)d=o[l],A[l]={[a]:d,[i]:e[d]};return A}function em(e,t){const n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function QP(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function MP(e){const{min:t,max:n,minDefined:r,maxDefined:a}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:a?n:Number.POSITIVE_INFINITY}}function PP(e,t,n){const r=e[t]||(e[t]={});return r[n]||(r[n]={})}function jB(e,t,n,r){for(const a of t.getMatchingVisibleMetas(r).reverse()){const i=e[a.index];if(n&&i>0||!n&&i<0)return a.index}return null}function YB(e,t){const{chart:n,_cachedMeta:r}=e,a=n._stacks||(n._stacks={}),{iScale:i,vScale:o,index:A}=r,l=i.axis,c=o.axis,d=QP(i,o,r),u=t.length;let f;for(let p=0;p<u;++p){const h=t[p],{[l]:m,[c]:b}=h,g=h._stacks||(h._stacks={});f=g[c]=PP(a,d,m),f[A]=b,f._top=jB(f,o,!0,r.type),f._bottom=jB(f,o,!1,r.type);const B=f._visualValues||(f._visualValues={});B[A]=b}}function tm(e,t){const n=e.scales;return Object.keys(n).filter(r=>n[r].axis===t).shift()}function NP(e,t){return ni(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function RP(e,t,n){return ni(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function MA(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const a of t){const i=a._stacks;if(!i||i[r]===void 0||i[r][n]===void 0)return;delete i[r][n],i[r]._visualValues!==void 0&&i[r]._visualValues[n]!==void 0&&delete i[r]._visualValues[n]}}}const nm=e=>e==="reset"||e==="none",qB=(e,t)=>t?e:Object.assign({},e),HP=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:WB(n,!0),values:null};class dr{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=em(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&MA(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,r=this.getDataset(),a=(u,f,p,h)=>u==="x"?f:u==="r"?h:p,i=n.xAxisID=he(r.xAxisID,tm(t,"x")),o=n.yAxisID=he(r.yAxisID,tm(t,"y")),A=n.rAxisID=he(r.rAxisID,tm(t,"r")),l=n.indexAxis,c=n.iAxisID=a(l,i,o,A),d=n.vAxisID=a(l,o,i,A);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(o),n.rScale=this.getScaleForId(A),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(d)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&dB(this._data,this),t._stacked&&MA(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),r=this._data;if(Ee(n)){const a=this._cachedMeta;this._data=OP(n,a)}else if(r!==n){if(r){dB(r,this);const a=this._cachedMeta;MA(a),a._parsed=[]}n&&Object.isExtensible(n)&&kM(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,r=this.getDataset();let a=!1;this._dataCheck();const i=n._stacked;n._stacked=em(n.vScale,n),n.stack!==r.stack&&(a=!0,MA(n),n.stack=r.stack),this._resyncElements(t),(a||i!==n._stacked)&&(YB(this,n._parsed),n._stacked=em(n.vScale,n))}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),r=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:r,_data:a}=this,{iScale:i,_stacked:o}=r,A=i.axis;let l=t===0&&n===a.length?!0:r._sorted,c=t>0&&r._parsed[t-1],d,u,f;if(this._parsing===!1)r._parsed=a,r._sorted=!0,f=a;else{Ve(a[t])?f=this.parseArrayData(r,a,t,n):Ee(a[t])?f=this.parseObjectData(r,a,t,n):f=this.parsePrimitiveData(r,a,t,n);const p=()=>u[A]===null||c&&u[A]<c[A];for(d=0;d<n;++d)r._parsed[d+t]=u=f[d],l&&(p()&&(l=!1),c=u);r._sorted=l}o&&YB(this,f)}parsePrimitiveData(t,n,r,a){const{iScale:i,vScale:o}=t,A=i.axis,l=o.axis,c=i.getLabels(),d=i===o,u=new Array(a);let f,p,h;for(f=0,p=a;f<p;++f)h=f+r,u[f]={[A]:d||i.parse(c[h],h),[l]:o.parse(n[h],h)};return u}parseArrayData(t,n,r,a){const{xScale:i,yScale:o}=t,A=new Array(a);let l,c,d,u;for(l=0,c=a;l<c;++l)d=l+r,u=n[d],A[l]={x:i.parse(u[0],d),y:o.parse(u[1],d)};return A}parseObjectData(t,n,r,a){const{xScale:i,yScale:o}=t,{xAxisKey:A="x",yAxisKey:l="y"}=this._parsing,c=new Array(a);let d,u,f,p;for(d=0,u=a;d<u;++d)f=d+r,p=n[f],c[d]={x:i.parse(Ja(p,A),f),y:o.parse(Ja(p,l),f)};return c}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,n,r){const a=this.chart,i=this._cachedMeta,o=n[t.axis],A={keys:WB(a,!0),values:n._stacks[t.axis]._visualValues};return GB(A,o,i.index,{mode:r})}updateRangeFromParsed(t,n,r,a){const i=r[n.axis];let o=i===null?NaN:i;const A=a&&r._stacks[n.axis];a&&A&&(a.values=A,o=GB(a,i,this._cachedMeta.index)),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,n){const r=this._cachedMeta,a=r._parsed,i=r._sorted&&t===r.iScale,o=a.length,A=this._getOtherScale(t),l=HP(n,r,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:d,max:u}=MP(A);let f,p;function h(){p=a[f];const m=p[A.axis];return!gt(p[t.axis])||d>m||u<m}for(f=0;f<o&&!(!h()&&(this.updateRangeFromParsed(c,t,p,l),i));++f);if(i){for(f=o-1;f>=0;--f)if(!h()){this.updateRangeFromParsed(c,t,p,l);break}}return c}getAllParsedValues(t){const n=this._cachedMeta._parsed,r=[];let a,i,o;for(a=0,i=n.length;a<i;++a)o=n[a][t.axis],gt(o)&&r.push(o);return r}getMaxOverflow(){return!1}getLabelAndValue(t){const n=this._cachedMeta,r=n.iScale,a=n.vScale,i=this.getParsed(t);return{label:r?""+r.getLabelForValue(i[r.axis]):"",value:a?""+a.getLabelForValue(i[a.axis]):""}}_update(t){const n=this._cachedMeta;this.update(t||"default"),n._clip=LP(he(this.options.clip,UP(n.xScale,n.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,n=this.chart,r=this._cachedMeta,a=r.data||[],i=n.chartArea,o=[],A=this._drawStart||0,l=this._drawCount||a.length-A,c=this.options.drawActiveElementsOnTop;let d;for(r.dataset&&r.dataset.draw(t,i,A,l),d=A;d<A+l;++d){const u=a[d];u.hidden||(u.active&&c?o.push(u):u.draw(t,i))}for(d=0;d<o.length;++d)o[d].draw(t,i)}getStyle(t,n){const r=n?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(t||0,r)}getContext(t,n,r){const a=this.getDataset();let i;if(t>=0&&t<this._cachedMeta.data.length){const o=this._cachedMeta.data[t];i=o.$context||(o.$context=RP(this.getContext(),t,o)),i.parsed=this.getParsed(t),i.raw=a.data[t],i.index=i.dataIndex=t}else i=this.$context||(this.$context=NP(this.chart.getContext(),this.index)),i.dataset=a,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=r,i}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,n){return this._resolveElementOptions(this.dataElementType.id,n,t)}_resolveElementOptions(t,n="default",r){const a=n==="active",i=this._cachedDataOpts,o=t+"-"+n,A=i[o],l=this.enableOptionSharing&&Cn(r);if(A)return qB(A,l);const c=this.chart.config,d=c.datasetElementScopeKeys(this._type,t),u=a?[`${t}Hover`,"hover",t,""]:[t,""],f=c.getOptionScopes(this.getDataset(),d),p=Object.keys(it.elements[t]),h=()=>this.getContext(r,a,n),m=c.resolveNamedOptions(f,p,h,u);return m.$shared&&(m.$shared=l,i[o]=Object.freeze(qB(m,l))),m}_resolveAnimations(t,n,r){const a=this.chart,i=this._cachedDataOpts,o=`animation-${n}`,A=i[o];if(A)return A;let l;if(a.options.animation!==!1){const d=this.chart.config,u=d.datasetAnimationScopeKeys(this._type,n),f=d.getOptionScopes(this.getDataset(),u);l=d.createResolver(f,this.getContext(t,r,n))}const c=new Zh(a,l&&l.animations);return l&&l._cacheable&&(i[o]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||nm(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const r=this.resolveDataElementOptions(t,n),a=this._sharedOptions,i=this.getSharedOptions(r),o=this.includeOptions(n,i)||i!==a;return this.updateSharedOptions(i,n,r),{sharedOptions:i,includeOptions:o}}updateElement(t,n,r,a){nm(a)?Object.assign(t,r):this._resolveAnimations(n,a).update(t,r)}updateSharedOptions(t,n,r){t&&!nm(n)&&this._resolveAnimations(void 0,n).update(t,r)}_setStyle(t,n,r,a){t.active=a;const i=this.getStyle(n,a);this._resolveAnimations(n,r,a).update(t,{options:!a&&this.getSharedOptions(i)||i})}removeHoverStyle(t,n,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,n,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,r=this._cachedMeta.data;for(const[A,l,c]of this._syncList)this[A](l,c);this._syncList=[];const a=r.length,i=n.length,o=Math.min(i,a);o&&this.parse(0,o),i>a?this._insertElements(a,i-a,t):i<a&&this._removeElements(i,a-i)}_insertElements(t,n,r=!0){const a=this._cachedMeta,i=a.data,o=t+n;let A;const l=c=>{for(c.length+=n,A=c.length-1;A>=o;A--)c[A]=c[A-n]};for(l(i),A=t;A<o;++A)i[A]=new this.dataElementType;this._parsing&&l(a._parsed),this.parse(t,n),r&&this.updateElements(i,t,n,"reset")}updateElements(t,n,r,a){}_removeElements(t,n){const r=this._cachedMeta;if(this._parsing){const a=r._parsed.splice(t,n);r._stacked&&MA(r,a)}r.data.splice(t,n)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[n,r,a]=t;this[n](r,a)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,n){n&&this._sync(["_removeElements",t,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",t,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}Y(dr,"defaults",{}),Y(dr,"datasetElementType",null),Y(dr,"dataElementType",null);function VP(e,t){if(!e._cache.$bar){const n=e.getMatchingVisibleMetas(t);let r=[];for(let a=0,i=n.length;a<i;a++)r=r.concat(n[a].controller.getAllParsedValues(e));e._cache.$bar=uB(r.sort((a,i)=>a-i))}return e._cache.$bar}function zP(e){const t=e.iScale,n=VP(t,e.type);let r=t._length,a,i,o,A;const l=()=>{o===32767||o===-32768||(Cn(A)&&(r=Math.min(r,Math.abs(o-A)||r)),A=o)};for(a=0,i=n.length;a<i;++a)o=t.getPixelForValue(n[a]),l();for(A=void 0,a=0,i=t.ticks.length;a<i;++a)o=t.getPixelForTick(a),l();return r}function $P(e,t,n,r){const a=n.barThickness;let i,o;return xe(a)?(i=t.min*n.categoryPercentage,o=n.barPercentage):(i=a*r,o=1),{chunk:i/r,ratio:o,start:t.pixels[e]-i/2}}function KP(e,t,n,r){const a=t.pixels,i=a[e];let o=e>0?a[e-1]:null,A=e<a.length-1?a[e+1]:null;const l=n.categoryPercentage;o===null&&(o=i-(A===null?t.end-t.start:A-i)),A===null&&(A=i+i-o);const c=i-(i-Math.min(o,A))/2*l;return{chunk:Math.abs(A-o)/2*l/r,ratio:n.barPercentage,start:c}}function WP(e,t,n,r){const a=n.parse(e[0],r),i=n.parse(e[1],r),o=Math.min(a,i),A=Math.max(a,i);let l=o,c=A;Math.abs(o)>Math.abs(A)&&(l=A,c=o),t[n.axis]=c,t._custom={barStart:l,barEnd:c,start:a,end:i,min:o,max:A}}function XB(e,t,n,r){return Ve(e)?WP(e,t,n,r):t[n.axis]=n.parse(e,r),t}function JB(e,t,n,r){const a=e.iScale,i=e.vScale,o=a.getLabels(),A=a===i,l=[];let c,d,u,f;for(c=n,d=n+r;c<d;++c)f=t[c],u={},u[a.axis]=A||a.parse(o[c],c),l.push(XB(f,u,i,c));return l}function rm(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function GP(e,t,n){return e!==0?Lr(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}function jP(e){let t,n,r,a,i;return e.horizontal?(t=e.base>e.x,n="left",r="right"):(t=e.base<e.y,n="bottom",r="top"),t?(a="end",i="start"):(a="start",i="end"),{start:n,end:r,reverse:t,top:a,bottom:i}}function YP(e,t,n,r){let a=t.borderSkipped;const i={};if(!a){e.borderSkipped=i;return}if(a===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:o,end:A,reverse:l,top:c,bottom:d}=jP(e);a==="middle"&&n&&(e.enableBorderRadius=!0,(n._top||0)===r?a=c:(n._bottom||0)===r?a=d:(i[ZB(d,o,A,l)]=!0,a=c)),i[ZB(a,o,A,l)]=!0,e.borderSkipped=i}function ZB(e,t,n,r){return r?(e=qP(e,t,n),e=ev(e,n,t)):e=ev(e,t,n),e}function qP(e,t,n){return e===t?n:e===n?t:e}function ev(e,t,n){return e==="start"?t:e==="end"?n:e}function XP(e,{inflateAmount:t},n){e.inflateAmount=t==="auto"?n===1?.33:0:t}class Ad extends dr{parsePrimitiveData(t,n,r,a){return JB(t,n,r,a)}parseArrayData(t,n,r,a){return JB(t,n,r,a)}parseObjectData(t,n,r,a){const{iScale:i,vScale:o}=t,{xAxisKey:A="x",yAxisKey:l="y"}=this._parsing,c=i.axis==="x"?A:l,d=o.axis==="x"?A:l,u=[];let f,p,h,m;for(f=r,p=r+a;f<p;++f)m=n[f],h={},h[i.axis]=i.parse(Ja(m,c),f),u.push(XB(Ja(m,d),h,o,f));return u}updateRangeFromParsed(t,n,r,a){super.updateRangeFromParsed(t,n,r,a);const i=r._custom;i&&n===this._cachedMeta.vScale&&(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const n=this._cachedMeta,{iScale:r,vScale:a}=n,i=this.getParsed(t),o=i._custom,A=rm(o)?"["+o.start+", "+o.end+"]":""+a.getLabelForValue(i[a.axis]);return{label:""+r.getLabelForValue(i[r.axis]),value:A}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,t)}updateElements(t,n,r,a){const i=a==="reset",{index:o,_cachedMeta:{vScale:A}}=this,l=A.getBasePixel(),c=A.isHorizontal(),d=this._getRuler(),{sharedOptions:u,includeOptions:f}=this._getSharedOptions(n,a);for(let p=n;p<n+r;p++){const h=this.getParsed(p),m=i||xe(h[A.axis])?{base:l,head:l}:this._calculateBarValuePixels(p),b=this._calculateBarIndexPixels(p,d),g=(h._stacks||{})[A.axis],B={horizontal:c,base:m.base,enableBorderRadius:!g||rm(h._custom)||o===g._top||o===g._bottom,x:c?m.head:b.center,y:c?b.center:m.head,height:c?b.size:Math.abs(m.size),width:c?Math.abs(m.size):b.size};f&&(B.options=u||this.resolveDataElementOptions(p,t[p].active?"active":a));const w=B.options||t[p].options;YP(B,w,g,o),XP(B,w,d.ratio),this.updateElement(t[p],p,B,a)}}_getStacks(t,n){const{iScale:r}=this._cachedMeta,a=r.getMatchingVisibleMetas(this._type).filter(d=>d.controller.options.grouped),i=r.options.stacked,o=[],A=this._cachedMeta.controller.getParsed(n),l=A&&A[r.axis],c=d=>{const u=d._parsed.find(p=>p[r.axis]===l),f=u&&u[d.vScale.axis];if(xe(f)||isNaN(f))return!0};for(const d of a)if(!(n!==void 0&&c(d))&&((i===!1||o.indexOf(d.stack)===-1||i===void 0&&d.stack===void 0)&&o.push(d.stack),d.index===t))break;return o.length||o.push(void 0),o}_getStackCount(t){return this._getStacks(void 0,t).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const t=this.chart.scales,n=this.chart.options.indexAxis;return Object.keys(t).filter(r=>t[r].axis===n).shift()}_getAxis(){const t={},n=this.getFirstScaleIdForIndexAxis();for(const r of this.chart.data.datasets)t[he(this.chart.options.indexAxis==="x"?r.xAxisID:r.yAxisID,n)]=!0;return Object.keys(t)}_getStackIndex(t,n,r){const a=this._getStacks(t,r),i=n!==void 0?a.indexOf(n):-1;return i===-1?a.length-1:i}_getRuler(){const t=this.options,n=this._cachedMeta,r=n.iScale,a=[];let i,o;for(i=0,o=n.data.length;i<o;++i)a.push(r.getPixelForValue(this.getParsed(i)[r.axis],i));const A=t.barThickness;return{min:A||zP(n),pixels:a,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:t.grouped,ratio:A?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:n,_stacked:r,index:a},options:{base:i,minBarLength:o}}=this,A=i||0,l=this.getParsed(t),c=l._custom,d=rm(c);let u=l[n.axis],f=0,p=r?this.applyStack(n,l,r):u,h,m;p!==u&&(f=p-u,p=u),d&&(u=c.barStart,p=c.barEnd-c.barStart,u!==0&&Lr(u)!==Lr(c.barEnd)&&(f=0),f+=u);const b=!xe(i)&&!d?i:f;let g=n.getPixelForValue(b);if(this.chart.getDataVisibility(t)?h=n.getPixelForValue(f+p):h=g,m=h-g,Math.abs(m)<o){m=GP(m,n,A)*o,u===A&&(g-=m/2);const B=n.getPixelForDecimal(0),w=n.getPixelForDecimal(1),y=Math.min(B,w),_=Math.max(B,w);g=Math.max(Math.min(g,_),y),h=g+m,r&&!d&&(l._stacks[n.axis]._visualValues[a]=n.getValueForPixel(h)-n.getValueForPixel(g))}if(g===n.getPixelForValue(A)){const B=Lr(m)*n.getLineWidthForValue(A)/2;g+=B,m-=B}return{size:m,base:g,head:h,center:h+m/2}}_calculateBarIndexPixels(t,n){const r=n.scale,a=this.options,i=a.skipNull,o=he(a.maxBarThickness,1/0);let A,l;const c=this._getAxisCount();if(n.grouped){const d=i?this._getStackCount(t):n.stackCount,u=a.barThickness==="flex"?KP(t,n,a,d*c):$P(t,n,a,d*c),f=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,p=this._getAxis().indexOf(he(f,this.getFirstScaleIdForIndexAxis())),h=this._getStackIndex(this.index,this._cachedMeta.stack,i?t:void 0)+p;A=u.start+u.chunk*h+u.chunk/2,l=Math.min(o,u.chunk*u.ratio)}else A=r.getPixelForValue(this.getParsed(t)[r.axis],t),l=Math.min(o,n.min*n.ratio);return{base:A-l/2,head:A+l/2,center:A,size:l}}draw(){const t=this._cachedMeta,n=t.vScale,r=t.data,a=r.length;let i=0;for(;i<a;++i)this.getParsed(i)[n.axis]!==null&&!r[i].hidden&&r[i].draw(this._ctx)}}Y(Ad,"id","bar"),Y(Ad,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),Y(Ad,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});class ld extends dr{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,n,r,a){const i=super.parsePrimitiveData(t,n,r,a);for(let o=0;o<i.length;o++)i[o]._custom=this.resolveDataElementOptions(o+r).radius;return i}parseArrayData(t,n,r,a){const i=super.parseArrayData(t,n,r,a);for(let o=0;o<i.length;o++){const A=n[r+o];i[o]._custom=he(A[2],this.resolveDataElementOptions(o+r).radius)}return i}parseObjectData(t,n,r,a){const i=super.parseObjectData(t,n,r,a);for(let o=0;o<i.length;o++){const A=n[r+o];i[o]._custom=he(A&&A.r&&+A.r,this.resolveDataElementOptions(o+r).radius)}return i}getMaxOverflow(){const t=this._cachedMeta.data;let n=0;for(let r=t.length-1;r>=0;--r)n=Math.max(n,t[r].size(this.resolveDataElementOptions(r))/2);return n>0&&n}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart.data.labels||[],{xScale:a,yScale:i}=n,o=this.getParsed(t),A=a.getLabelForValue(o.x),l=i.getLabelForValue(o.y),c=o._custom;return{label:r[t]||"",value:"("+A+", "+l+(c?", "+c:"")+")"}}update(t){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,t)}updateElements(t,n,r,a){const i=a==="reset",{iScale:o,vScale:A}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(n,a),d=o.axis,u=A.axis;for(let f=n;f<n+r;f++){const p=t[f],h=!i&&this.getParsed(f),m={},b=m[d]=i?o.getPixelForDecimal(.5):o.getPixelForValue(h[d]),g=m[u]=i?A.getBasePixel():A.getPixelForValue(h[u]);m.skip=isNaN(b)||isNaN(g),c&&(m.options=l||this.resolveDataElementOptions(f,p.active?"active":a),i&&(m.options.radius=0)),this.updateElement(p,f,m,a)}}resolveDataElementOptions(t,n){const r=this.getParsed(t);let a=super.resolveDataElementOptions(t,n);a.$shared&&(a=Object.assign({},a,{$shared:!1}));const i=a.radius;return n!=="active"&&(a.radius=0),a.radius+=he(r&&r._custom,i),a}}Y(ld,"id","bubble"),Y(ld,"defaults",{datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}}),Y(ld,"overrides",{scales:{x:{type:"linear"},y:{type:"linear"}}});function JP(e,t,n){let r=1,a=1,i=0,o=0;if(t<at){const A=e,l=A+t,c=Math.cos(A),d=Math.sin(A),u=Math.cos(l),f=Math.sin(l),p=(w,y,_)=>DA(w,A,l,!0)?1:Math.max(y,y*n,_,_*n),h=(w,y,_)=>DA(w,A,l,!0)?-1:Math.min(y,y*n,_,_*n),m=p(0,c,u),b=p(dt,d,f),g=h(Ce,c,u),B=h(Ce+dt,d,f);r=(m-g)/2,a=(b-B)/2,i=-(m+g)/2,o=-(b+B)/2}return{ratioX:r,ratioY:a,offsetX:i,offsetY:o}}class eo extends dr{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const r=this.getDataset().data,a=this._cachedMeta;if(this._parsing===!1)a._parsed=r;else{let i=l=>+r[l];if(Ee(r[t])){const{key:l="value"}=this._parsing;i=c=>+Ja(r[c],l)}let o,A;for(o=t,A=t+n;o<A;++o)a._parsed[o]=i(o)}}_getRotation(){return Mt(this.options.rotation-90)}_getCircumference(){return Mt(this.options.circumference)}_getRotationExtents(){let t=at,n=-at;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){const a=this.chart.getDatasetMeta(r).controller,i=a._getRotation(),o=a._getCircumference();t=Math.min(t,i),n=Math.max(n,i+o)}return{rotation:t,circumference:n-t}}update(t){const n=this.chart,{chartArea:r}=n,a=this._cachedMeta,i=a.data,o=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,A=Math.max((Math.min(r.width,r.height)-o)/2,0),l=Math.min(dM(this.options.cutout,A),1),c=this._getRingWeight(this.index),{circumference:d,rotation:u}=this._getRotationExtents(),{ratioX:f,ratioY:p,offsetX:h,offsetY:m}=JP(u,d,l),b=(r.width-o)/f,g=(r.height-o)/p,B=Math.max(Math.min(b,g)/2,0),w=nB(this.options.radius,B),y=Math.max(w*l,0),_=(w-y)/this._getVisibleDatasetWeightTotal();this.offsetX=h*w,this.offsetY=m*w,a.total=this.calculateTotal(),this.outerRadius=w-_*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-_*c,0),this.updateElements(i,0,i.length,t)}_circumference(t,n){const r=this.options,a=this._cachedMeta,i=this._getCircumference();return n&&r.animation.animateRotate||!this.chart.getDataVisibility(t)||a._parsed[t]===null||a.data[t].hidden?0:this.calculateCircumference(a._parsed[t]*i/at)}updateElements(t,n,r,a){const i=a==="reset",o=this.chart,A=o.chartArea,c=o.options.animation,d=(A.left+A.right)/2,u=(A.top+A.bottom)/2,f=i&&c.animateScale,p=f?0:this.innerRadius,h=f?0:this.outerRadius,{sharedOptions:m,includeOptions:b}=this._getSharedOptions(n,a);let g=this._getRotation(),B;for(B=0;B<n;++B)g+=this._circumference(B,i);for(B=n;B<n+r;++B){const w=this._circumference(B,i),y=t[B],_={x:d+this.offsetX,y:u+this.offsetY,startAngle:g,endAngle:g+w,circumference:w,outerRadius:h,innerRadius:p};b&&(_.options=m||this.resolveDataElementOptions(B,y.active?"active":a)),g+=w,this.updateElement(y,B,_,a)}}calculateTotal(){const t=this._cachedMeta,n=t.data;let r=0,a;for(a=0;a<n.length;a++){const i=t._parsed[a];i!==null&&!isNaN(i)&&this.chart.getDataVisibility(a)&&!n[a].hidden&&(r+=Math.abs(i))}return r}calculateCircumference(t){const n=this._cachedMeta.total;return n>0&&!isNaN(t)?at*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,a=r.data.labels||[],i=UA(n._parsed[t],r.options.locale);return{label:a[t]||"",value:i}}getMaxBorderWidth(t){let n=0;const r=this.chart;let a,i,o,A,l;if(!t){for(a=0,i=r.data.datasets.length;a<i;++a)if(r.isDatasetVisible(a)){o=r.getDatasetMeta(a),t=o.data,A=o.controller;break}}if(!t)return 0;for(a=0,i=t.length;a<i;++a)l=A.resolveDataElementOptions(a),l.borderAlign!=="inner"&&(n=Math.max(n,l.borderWidth||0,l.hoverBorderWidth||0));return n}getMaxOffset(t){let n=0;for(let r=0,a=t.length;r<a;++r){const i=this.resolveDataElementOptions(r);n=Math.max(n,i.offset||0,i.hoverOffset||0)}return n}_getRingWeightOffset(t){let n=0;for(let r=0;r<t;++r)this.chart.isDatasetVisible(r)&&(n+=this._getRingWeight(r));return n}_getRingWeight(t){return Math.max(he(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}Y(eo,"id","doughnut"),Y(eo,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),Y(eo,"descriptors",{_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),Y(eo,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data,{labels:{pointStyle:r,textAlign:a,color:i,useBorderRadius:o,borderRadius:A}}=t.legend.options;return n.labels.length&&n.datasets.length?n.labels.map((l,c)=>{const u=t.getDatasetMeta(0).controller.getStyle(c);return{text:l,fillStyle:u.backgroundColor,fontColor:i,hidden:!t.getDataVisibility(c),lineDash:u.borderDash,lineDashOffset:u.borderDashOffset,lineJoin:u.borderJoinStyle,lineWidth:u.borderWidth,strokeStyle:u.borderColor,textAlign:a,pointStyle:r,borderRadius:o&&(A||u.borderRadius),index:c}}):[]}},onClick(t,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}}});class cd extends dr{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:r,data:a=[],_dataset:i}=n,o=this.chart._animationsDisabled;let{start:A,count:l}=hB(n,a,o);this._drawStart=A,this._drawCount=l,mB(n)&&(A=0,l=a.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!i._decimated,r.points=a;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(r,void 0,{animated:!o,options:c},t),this.updateElements(a,A,l,t)}updateElements(t,n,r,a){const i=a==="reset",{iScale:o,vScale:A,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:d,includeOptions:u}=this._getSharedOptions(n,a),f=o.axis,p=A.axis,{spanGaps:h,segment:m}=this.options,b=ei(h)?h:Number.POSITIVE_INFINITY,g=this.chart._animationsDisabled||i||a==="none",B=n+r,w=t.length;let y=n>0&&this.getParsed(n-1);for(let _=0;_<w;++_){const v=t[_],k=g?v:{};if(_<n||_>=B){k.skip=!0;continue}const C=this.getParsed(_),x=xe(C[p]),U=k[f]=o.getPixelForValue(C[f],_),D=k[p]=i||x?A.getBasePixel():A.getPixelForValue(l?this.applyStack(A,C,l):C[p],_);k.skip=isNaN(U)||isNaN(D)||x,k.stop=_>0&&Math.abs(C[f]-y[f])>b,m&&(k.parsed=C,k.raw=c.data[_]),u&&(k.options=d||this.resolveDataElementOptions(_,v.active?"active":a)),g||this.updateElement(v,_,k,a),y=C}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,r=n.options&&n.options.borderWidth||0,a=t.data||[];if(!a.length)return r;const i=a[0].size(this.resolveDataElementOptions(0)),o=a[a.length-1].size(this.resolveDataElementOptions(a.length-1));return Math.max(r,i,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}Y(cd,"id","line"),Y(cd,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),Y(cd,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class PA extends dr{constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,a=r.data.labels||[],i=UA(n._parsed[t].r,r.options.locale);return{label:a[t]||"",value:i}}parseObjectData(t,n,r,a){return DB.bind(this)(t,n,r,a)}update(t){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,t)}getMinMax(){const t=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((r,a)=>{const i=this.getParsed(a).r;!isNaN(i)&&this.chart.getDataVisibility(a)&&(i<n.min&&(n.min=i),i>n.max&&(n.max=i))}),n}_updateRadius(){const t=this.chart,n=t.chartArea,r=t.options,a=Math.min(n.right-n.left,n.bottom-n.top),i=Math.max(a/2,0),o=Math.max(r.cutoutPercentage?i/100*r.cutoutPercentage:1,0),A=(i-o)/t.getVisibleDatasetCount();this.outerRadius=i-A*this.index,this.innerRadius=this.outerRadius-A}updateElements(t,n,r,a){const i=a==="reset",o=this.chart,l=o.options.animation,c=this._cachedMeta.rScale,d=c.xCenter,u=c.yCenter,f=c.getIndexAngle(0)-.5*Ce;let p=f,h;const m=360/this.countVisibleElements();for(h=0;h<n;++h)p+=this._computeAngle(h,a,m);for(h=n;h<n+r;h++){const b=t[h];let g=p,B=p+this._computeAngle(h,a,m),w=o.getDataVisibility(h)?c.getDistanceFromCenterForValue(this.getParsed(h).r):0;p=B,i&&(l.animateScale&&(w=0),l.animateRotate&&(g=B=f));const y={x:d,y:u,innerRadius:0,outerRadius:w,startAngle:g,endAngle:B,options:this.resolveDataElementOptions(h,b.active?"active":a)};this.updateElement(b,h,y,a)}}countVisibleElements(){const t=this._cachedMeta;let n=0;return t.data.forEach((r,a)=>{!isNaN(this.getParsed(a).r)&&this.chart.getDataVisibility(a)&&n++}),n}_computeAngle(t,n,r){return this.chart.getDataVisibility(t)?Mt(this.resolveDataElementOptions(t,n).angle||r):0}}Y(PA,"id","polarArea"),Y(PA,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),Y(PA,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:r,color:a}}=t.legend.options;return n.labels.map((i,o)=>{const l=t.getDatasetMeta(0).controller.getStyle(o);return{text:i,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:a,lineWidth:l.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(o),index:o}})}return[]}},onClick(t,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});class am extends eo{}Y(am,"id","pie"),Y(am,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});class dd extends dr{getLabelAndValue(t){const n=this._cachedMeta.vScale,r=this.getParsed(t);return{label:n.getLabels()[t],value:""+n.getLabelForValue(r[n.axis])}}parseObjectData(t,n,r,a){return DB.bind(this)(t,n,r,a)}update(t){const n=this._cachedMeta,r=n.dataset,a=n.data||[],i=n.iScale.getLabels();if(r.points=a,t!=="resize"){const o=this.resolveDatasetElementOptions(t);this.options.showLine||(o.borderWidth=0);const A={_loop:!0,_fullLoop:i.length===a.length,options:o};this.updateElement(r,void 0,A,t)}this.updateElements(a,0,a.length,t)}updateElements(t,n,r,a){const i=this._cachedMeta.rScale,o=a==="reset";for(let A=n;A<n+r;A++){const l=t[A],c=this.resolveDataElementOptions(A,l.active?"active":a),d=i.getPointPositionForValue(A,this.getParsed(A).r),u=o?i.xCenter:d.x,f=o?i.yCenter:d.y,p={x:u,y:f,angle:d.angle,skip:isNaN(u)||isNaN(f),options:c};this.updateElement(l,A,p,a)}}}Y(dd,"id","radar"),Y(dd,"defaults",{datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}}),Y(dd,"overrides",{aspectRatio:1,scales:{r:{type:"radialLinear"}}});class ud extends dr{getLabelAndValue(t){const n=this._cachedMeta,r=this.chart.data.labels||[],{xScale:a,yScale:i}=n,o=this.getParsed(t),A=a.getLabelForValue(o.x),l=i.getLabelForValue(o.y);return{label:r[t]||"",value:"("+A+", "+l+")"}}update(t){const n=this._cachedMeta,{data:r=[]}=n,a=this.chart._animationsDisabled;let{start:i,count:o}=hB(n,r,a);if(this._drawStart=i,this._drawCount=o,mB(n)&&(i=0,o=r.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:A,_dataset:l}=n;A._chart=this.chart,A._datasetIndex=this.index,A._decimated=!!l._decimated,A.points=r;const c=this.resolveDatasetElementOptions(t);c.segment=this.options.segment,this.updateElement(A,void 0,{animated:!a,options:c},t)}else this.datasetElementType&&(delete n.dataset,this.datasetElementType=!1);this.updateElements(r,i,o,t)}addElements(){const{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,n,r,a){const i=a==="reset",{iScale:o,vScale:A,_stacked:l,_dataset:c}=this._cachedMeta,d=this.resolveDataElementOptions(n,a),u=this.getSharedOptions(d),f=this.includeOptions(a,u),p=o.axis,h=A.axis,{spanGaps:m,segment:b}=this.options,g=ei(m)?m:Number.POSITIVE_INFINITY,B=this.chart._animationsDisabled||i||a==="none";let w=n>0&&this.getParsed(n-1);for(let y=n;y<n+r;++y){const _=t[y],v=this.getParsed(y),k=B?_:{},C=xe(v[h]),x=k[p]=o.getPixelForValue(v[p],y),U=k[h]=i||C?A.getBasePixel():A.getPixelForValue(l?this.applyStack(A,v,l):v[h],y);k.skip=isNaN(x)||isNaN(U)||C,k.stop=y>0&&Math.abs(v[p]-w[p])>g,b&&(k.parsed=v,k.raw=c.data[y]),f&&(k.options=u||this.resolveDataElementOptions(y,_.active?"active":a)),B||this.updateElement(_,y,k,a),w=v}this.updateSharedOptions(u,a,d)}getMaxOverflow(){const t=this._cachedMeta,n=t.data||[];if(!this.options.showLine){let A=0;for(let l=n.length-1;l>=0;--l)A=Math.max(A,n[l].size(this.resolveDataElementOptions(l))/2);return A>0&&A}const r=t.dataset,a=r.options&&r.options.borderWidth||0;if(!n.length)return a;const i=n[0].size(this.resolveDataElementOptions(0)),o=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(a,i,o)/2}}Y(ud,"id","scatter"),Y(ud,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),Y(ud,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});var ZP=Object.freeze({__proto__:null,BarController:Ad,BubbleController:ld,DoughnutController:eo,LineController:cd,PieController:am,PolarAreaController:PA,RadarController:dd,ScatterController:ud});function to(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class im{constructor(t){Y(this,"options");this.options=t||{}}static override(t){Object.assign(im.prototype,t)}init(){}formats(){return to()}parse(){return to()}format(){return to()}add(){return to()}diff(){return to()}startOf(){return to()}endOf(){return to()}}var tv={_date:im};function eN(e,t,n,r){const{controller:a,data:i,_sorted:o}=e,A=a._cachedMeta.iScale,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(A&&t===A.axis&&t!=="r"&&o&&i.length){const c=A._reversePixels?_M:ca;if(r){if(a._sharedOptions){const d=i[0],u=typeof d.getRange=="function"&&d.getRange(t);if(u){const f=c(i,t,n-u),p=c(i,t,n+u);return{lo:f.lo,hi:p.hi}}}}else{const d=c(i,t,n);if(l){const{vScale:u}=a._cachedMeta,{_parsed:f}=e,p=f.slice(0,d.lo+1).reverse().findIndex(m=>!xe(m[u.axis]));d.lo-=Math.max(0,p);const h=f.slice(d.hi).findIndex(m=>!xe(m[u.axis]));d.hi+=Math.max(0,h)}return d}}return{lo:0,hi:i.length-1}}function NA(e,t,n,r,a){const i=e.getSortedVisibleDatasetMetas(),o=n[t];for(let A=0,l=i.length;A<l;++A){const{index:c,data:d}=i[A],{lo:u,hi:f}=eN(i[A],t,o,a);for(let p=u;p<=f;++p){const h=d[p];h.skip||r(h,c,p)}}}function tN(e){const t=e.indexOf("x")!==-1,n=e.indexOf("y")!==-1;return function(r,a){const i=t?Math.abs(r.x-a.x):0,o=n?Math.abs(r.y-a.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(o,2))}}function om(e,t,n,r,a){const i=[];return!a&&!e.isPointInArea(t)||NA(e,n,t,function(A,l,c){!a&&!da(A,e.chartArea,0)||A.inRange(t.x,t.y,r)&&i.push({element:A,datasetIndex:l,index:c})},!0),i}function nN(e,t,n,r){let a=[];function i(o,A,l){const{startAngle:c,endAngle:d}=o.getProps(["startAngle","endAngle"],r),{angle:u}=lB(o,{x:t.x,y:t.y});DA(u,c,d)&&a.push({element:o,datasetIndex:A,index:l})}return NA(e,n,t,i),a}function rN(e,t,n,r,a,i){let o=[];const A=tN(n);let l=Number.POSITIVE_INFINITY;function c(d,u,f){const p=d.inRange(t.x,t.y,a);if(r&&!p)return;const h=d.getCenterPoint(a);if(!(!!i||e.isPointInArea(h))&&!p)return;const b=A(t,h);b<l?(o=[{element:d,datasetIndex:u,index:f}],l=b):b===l&&o.push({element:d,datasetIndex:u,index:f})}return NA(e,n,t,c),o}function sm(e,t,n,r,a,i){return!i&&!e.isPointInArea(t)?[]:n==="r"&&!r?nN(e,t,n,a):rN(e,t,n,r,a,i)}function nv(e,t,n,r,a){const i=[],o=n==="x"?"inXRange":"inYRange";let A=!1;return NA(e,n,t,(l,c,d)=>{l[o]&&l[o](t[n],a)&&(i.push({element:l,datasetIndex:c,index:d}),A=A||l.inRange(t.x,t.y,a))}),r&&!A?[]:i}var aN={evaluateInteractionItems:NA,modes:{index(e,t,n,r){const a=Ji(t,e),i=n.axis||"x",o=n.includeInvisible||!1,A=n.intersect?om(e,a,i,r,o):sm(e,a,i,!1,r,o),l=[];return A.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{const d=A[0].index,u=c.data[d];u&&!u.skip&&l.push({element:u,datasetIndex:c.index,index:d})}),l):[]},dataset(e,t,n,r){const a=Ji(t,e),i=n.axis||"xy",o=n.includeInvisible||!1;let A=n.intersect?om(e,a,i,r,o):sm(e,a,i,!1,r,o);if(A.length>0){const l=A[0].datasetIndex,c=e.getDatasetMeta(l).data;A=[];for(let d=0;d<c.length;++d)A.push({element:c[d],datasetIndex:l,index:d})}return A},point(e,t,n,r){const a=Ji(t,e),i=n.axis||"xy",o=n.includeInvisible||!1;return om(e,a,i,r,o)},nearest(e,t,n,r){const a=Ji(t,e),i=n.axis||"xy",o=n.includeInvisible||!1;return sm(e,a,i,n.intersect,r,o)},x(e,t,n,r){const a=Ji(t,e);return nv(e,a,"x",n.intersect,r)},y(e,t,n,r){const a=Ji(t,e);return nv(e,a,"y",n.intersect,r)}}};const rv=["left","top","right","bottom"];function RA(e,t){return e.filter(n=>n.pos===t)}function av(e,t){return e.filter(n=>rv.indexOf(n.pos)===-1&&n.box.axis===t)}function HA(e,t){return e.sort((n,r)=>{const a=t?r:n,i=t?n:r;return a.weight===i.weight?a.index-i.index:a.weight-i.weight})}function iN(e){const t=[];let n,r,a,i,o,A;for(n=0,r=(e||[]).length;n<r;++n)a=e[n],{position:i,options:{stack:o,stackWeight:A=1}}=a,t.push({index:n,box:a,pos:i,horizontal:a.isHorizontal(),weight:a.weight,stack:o&&i+o,stackWeight:A});return t}function oN(e){const t={};for(const n of e){const{stack:r,pos:a,stackWeight:i}=n;if(!r||!rv.includes(a))continue;const o=t[r]||(t[r]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=i}return t}function sN(e,t){const n=oN(e),{vBoxMaxWidth:r,hBoxMaxHeight:a}=t;let i,o,A;for(i=0,o=e.length;i<o;++i){A=e[i];const{fullSize:l}=A.box,c=n[A.stack],d=c&&A.stackWeight/c.weight;A.horizontal?(A.width=d?d*r:l&&t.availableWidth,A.height=a):(A.width=r,A.height=d?d*a:l&&t.availableHeight)}return n}function AN(e){const t=iN(e),n=HA(t.filter(c=>c.box.fullSize),!0),r=HA(RA(t,"left"),!0),a=HA(RA(t,"right")),i=HA(RA(t,"top"),!0),o=HA(RA(t,"bottom")),A=av(t,"x"),l=av(t,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:a.concat(l).concat(o).concat(A),chartArea:RA(t,"chartArea"),vertical:r.concat(a).concat(l),horizontal:i.concat(o).concat(A)}}function iv(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function ov(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function lN(e,t,n,r){const{pos:a,box:i}=n,o=e.maxPadding;if(!Ee(a)){n.size&&(e[a]-=n.size);const u=r[n.stack]||{size:0,count:1};u.size=Math.max(u.size,n.horizontal?i.height:i.width),n.size=u.size/u.count,e[a]+=n.size}i.getPadding&&ov(o,i.getPadding());const A=Math.max(0,t.outerWidth-iv(o,e,"left","right")),l=Math.max(0,t.outerHeight-iv(o,e,"top","bottom")),c=A!==e.w,d=l!==e.h;return e.w=A,e.h=l,n.horizontal?{same:c,other:d}:{same:d,other:c}}function cN(e){const t=e.maxPadding;function n(r){const a=Math.max(t[r]-e[r],0);return e[r]+=a,a}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function dN(e,t){const n=t.maxPadding;function r(a){const i={left:0,top:0,right:0,bottom:0};return a.forEach(o=>{i[o]=Math.max(t[o],n[o])}),i}return r(e?["left","right"]:["top","bottom"])}function VA(e,t,n,r){const a=[];let i,o,A,l,c,d;for(i=0,o=e.length,c=0;i<o;++i){A=e[i],l=A.box,l.update(A.width||t.w,A.height||t.h,dN(A.horizontal,t));const{same:u,other:f}=lN(t,n,A,r);c|=u&&a.length,d=d||f,l.fullSize||a.push(A)}return c&&VA(a,t,n,r)||d}function fd(e,t,n,r,a){e.top=n,e.left=t,e.right=t+r,e.bottom=n+a,e.width=r,e.height=a}function sv(e,t,n,r){const a=n.padding;let{x:i,y:o}=t;for(const A of e){const l=A.box,c=r[A.stack]||{count:1,placed:0,weight:1},d=A.stackWeight/c.weight||1;if(A.horizontal){const u=t.w*d,f=c.size||l.height;Cn(c.start)&&(o=c.start),l.fullSize?fd(l,a.left,o,n.outerWidth-a.right-a.left,f):fd(l,t.left+c.placed,o,u,f),c.start=o,c.placed+=u,o=l.bottom}else{const u=t.h*d,f=c.size||l.width;Cn(c.start)&&(i=c.start),l.fullSize?fd(l,i,a.top,f,n.outerHeight-a.bottom-a.top):fd(l,i,t.top+c.placed,f,u),c.start=i,c.placed+=u,i=l.right}}t.x=i,t.y=o}var on={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(n){t.draw(n)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;n!==-1&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,r){if(!e)return;const a=Ft(e.options.layout.padding),i=Math.max(t-a.width,0),o=Math.max(n-a.height,0),A=AN(e.boxes),l=A.vertical,c=A.horizontal;je(e.boxes,m=>{typeof m.beforeLayout=="function"&&m.beforeLayout()});const d=l.reduce((m,b)=>b.box.options&&b.box.options.display===!1?m:m+1,0)||1,u=Object.freeze({outerWidth:t,outerHeight:n,padding:a,availableWidth:i,availableHeight:o,vBoxMaxWidth:i/2/d,hBoxMaxHeight:o/2}),f=Object.assign({},a);ov(f,Ft(r));const p=Object.assign({maxPadding:f,w:i,h:o,x:a.left,y:a.top},a),h=sN(l.concat(c),u);VA(A.fullSize,p,u,h),VA(l,p,u,h),VA(c,p,u,h)&&VA(l,p,u,h),cN(p),sv(A.leftAndTop,p,u,h),p.x+=p.w,p.y+=p.h,sv(A.rightAndBottom,p,u,h),e.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},je(A.chartArea,m=>{const b=m.box;Object.assign(b,e.chartArea),b.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}};class Av{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,r){}removeEventListener(t,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,r,a){return n=Math.max(0,n||t.width),r=r||t.height,{width:n,height:Math.max(0,a?Math.floor(n/a):r)}}isAttached(t){return!0}updateConfig(t){}}class uN extends Av{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const pd="$chartjs",fN={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},lv=e=>e===null||e==="";function pN(e,t){const n=e.style,r=e.getAttribute("height"),a=e.getAttribute("width");if(e[pd]={initial:{height:r,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",lv(a)){const i=LB(e,"width");i!==void 0&&(e.width=i)}if(lv(r))if(e.style.height==="")e.height=e.width/(t||2);else{const i=LB(e,"height");i!==void 0&&(e.height=i)}return e}const cv=mP?{passive:!0}:!1;function hN(e,t,n){e&&e.addEventListener(t,n,cv)}function mN(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,cv)}function gN(e,t){const n=fN[e.type]||e.type,{x:r,y:a}=Ji(e,t);return{type:n,chart:t,native:e,x:r!==void 0?r:null,y:a!==void 0?a:null}}function hd(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function yN(e,t,n){const r=e.canvas,a=new MutationObserver(i=>{let o=!1;for(const A of i)o=o||hd(A.addedNodes,r),o=o&&!hd(A.removedNodes,r);o&&n()});return a.observe(document,{childList:!0,subtree:!0}),a}function bN(e,t,n){const r=e.canvas,a=new MutationObserver(i=>{let o=!1;for(const A of i)o=o||hd(A.removedNodes,r),o=o&&!hd(A.addedNodes,r);o&&n()});return a.observe(document,{childList:!0,subtree:!0}),a}const zA=new Map;let dv=0;function uv(){const e=window.devicePixelRatio;e!==dv&&(dv=e,zA.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function wN(e,t){zA.size||window.addEventListener("resize",uv),zA.set(e,t)}function BN(e){zA.delete(e),zA.size||window.removeEventListener("resize",uv)}function vN(e,t,n){const r=e.canvas,a=r&&Jh(r);if(!a)return;const i=pB((A,l)=>{const c=a.clientWidth;n(A,l),c<a.clientWidth&&n()},window),o=new ResizeObserver(A=>{const l=A[0],c=l.contentRect.width,d=l.contentRect.height;c===0&&d===0||i(c,d)});return o.observe(a),wN(e,i),o}function Am(e,t,n){n&&n.disconnect(),t==="resize"&&BN(e)}function _N(e,t,n){const r=e.canvas,a=pB(i=>{e.ctx!==null&&n(gN(i,e))},e);return hN(r,t,a),a}class CN extends Av{acquireContext(t,n){const r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(pN(t,n),r):null}releaseContext(t){const n=t.canvas;if(!n[pd])return!1;const r=n[pd].initial;["height","width"].forEach(i=>{const o=r[i];xe(o)?n.removeAttribute(i):n.setAttribute(i,o)});const a=r.style||{};return Object.keys(a).forEach(i=>{n.style[i]=a[i]}),n.width=n.width,delete n[pd],!0}addEventListener(t,n,r){this.removeEventListener(t,n);const a=t.$proxies||(t.$proxies={}),o={attach:yN,detach:bN,resize:vN}[n]||_N;a[n]=o(t,n,r)}removeEventListener(t,n){const r=t.$proxies||(t.$proxies={}),a=r[n];if(!a)return;({attach:Am,detach:Am,resize:Am}[n]||mN)(t,n,a),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,r,a){return hP(t,n,r,a)}isAttached(t){const n=t&&Jh(t);return!!(n&&n.isConnected)}}function kN(e){return!Xh()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?uN:CN}let yn=(bf=class{constructor(){Y(this,"x");Y(this,"y");Y(this,"active",!1);Y(this,"options");Y(this,"$animations")}tooltipPosition(t){const{x:n,y:r}=this.getProps(["x","y"],t);return{x:n,y:r}}hasValue(){return ei(this.x)&&ei(this.y)}getProps(t,n){const r=this.$animations;if(!n||!r)return this;const a={};return t.forEach(i=>{a[i]=r[i]&&r[i].active()?r[i]._to:this[i]}),a}},Y(bf,"defaults",{}),Y(bf,"defaultRoutes"),bf);function xN(e,t){const n=e.options.ticks,r=EN(e),a=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?FN(t):[],o=i.length,A=i[0],l=i[o-1],c=[];if(o>a)return IN(t,c,i,o/a),c;const d=SN(i,t,a);if(o>0){let u,f;const p=o>1?Math.round((l-A)/(o-1)):null;for(md(t,c,d,xe(p)?0:A-p,A),u=0,f=o-1;u<f;u++)md(t,c,d,i[u],i[u+1]);return md(t,c,d,l,xe(p)?t.length:l+p),c}return md(t,c,d),c}function EN(e){const t=e.options.offset,n=e._tickSize(),r=e._length/n+(t?0:1),a=e._maxLength/n;return Math.floor(Math.min(r,a))}function SN(e,t,n){const r=DN(e),a=t.length/n;if(!r)return Math.max(a,1);const i=yM(r);for(let o=0,A=i.length-1;o<A;o++){const l=i[o];if(l>a)return l}return Math.max(a,1)}function FN(e){const t=[];let n,r;for(n=0,r=e.length;n<r;n++)e[n].major&&t.push(n);return t}function IN(e,t,n,r){let a=0,i=n[0],o;for(r=Math.ceil(r),o=0;o<e.length;o++)o===i&&(t.push(e[o]),a++,i=n[a*r])}function md(e,t,n,r,a){const i=he(r,0),o=Math.min(he(a,e.length),e.length);let A=0,l,c,d;for(n=Math.ceil(n),a&&(l=a-r,n=l/Math.floor(l/n)),d=i;d<0;)A++,d=Math.round(i+A*n);for(c=Math.max(i,0);c<o;c++)c===d&&(t.push(e[c]),A++,d=Math.round(i+A*n))}function DN(e){const t=e.length;let n,r;if(t<2)return!1;for(r=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==r)return!1;return r}const TN=e=>e==="left"?"right":e==="right"?"left":e,fv=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,pv=(e,t)=>Math.min(t||e,e);function hv(e,t){const n=[],r=e.length/t,a=e.length;let i=0;for(;i<a;i+=r)n.push(e[Math.floor(i)]);return n}function UN(e,t,n){const r=e.ticks.length,a=Math.min(t,r-1),i=e._startPixel,o=e._endPixel,A=1e-6;let l=e.getPixelForTick(a),c;if(!(n&&(r===1?c=Math.max(l-i,o-l):t===0?c=(e.getPixelForTick(1)-l)/2:c=(l-e.getPixelForTick(a-1))/2,l+=a<t?c:-c,l<i-A||l>o+A)))return l}function LN(e,t){je(e,n=>{const r=n.gc,a=r.length/2;let i;if(a>t){for(i=0;i<a;++i)delete n.data[r[i]];r.splice(0,a)}})}function $A(e){return e.drawTicks?e.tickLength:0}function mv(e,t){if(!e.display)return 0;const n=yt(e.font,t),r=Ft(e.padding);return(Ve(e.text)?e.text.length:1)*n.lineHeight+r.height}function ON(e,t){return ni(e,{scale:t,type:"scale"})}function QN(e,t,n){return ni(e,{tick:n,index:t,type:"tick"})}function MN(e,t,n){let r=Hh(e);return(n&&t!=="right"||!n&&t==="right")&&(r=TN(r)),r}function PN(e,t,n,r){const{top:a,left:i,bottom:o,right:A,chart:l}=e,{chartArea:c,scales:d}=l;let u=0,f,p,h;const m=o-a,b=A-i;if(e.isHorizontal()){if(p=an(r,i,A),Ee(n)){const g=Object.keys(n)[0],B=n[g];h=d[g].getPixelForValue(B)+m-t}else n==="center"?h=(c.bottom+c.top)/2+m-t:h=fv(e,n,t);f=A-i}else{if(Ee(n)){const g=Object.keys(n)[0],B=n[g];p=d[g].getPixelForValue(B)-b+t}else n==="center"?p=(c.left+c.right)/2-b+t:p=fv(e,n,t);h=an(r,o,a),u=n==="left"?-dt:dt}return{titleX:p,titleY:h,maxWidth:f,rotation:u}}class no extends yn{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,n){return t}getUserBounds(){let{_userMin:t,_userMax:n,_suggestedMin:r,_suggestedMax:a}=this;return t=Rn(t,Number.POSITIVE_INFINITY),n=Rn(n,Number.NEGATIVE_INFINITY),r=Rn(r,Number.POSITIVE_INFINITY),a=Rn(a,Number.NEGATIVE_INFINITY),{min:Rn(t,r),max:Rn(n,a),minDefined:gt(t),maxDefined:gt(n)}}getMinMax(t){let{min:n,max:r,minDefined:a,maxDefined:i}=this.getUserBounds(),o;if(a&&i)return{min:n,max:r};const A=this.getMatchingVisibleMetas();for(let l=0,c=A.length;l<c;++l)o=A[l].controller.getMinMax(this,t),a||(n=Math.min(n,o.min)),i||(r=Math.max(r,o.max));return n=i&&n>r?r:n,r=a&&n>r?n:r,{min:Rn(n,Rn(r,n)),max:Rn(r,Rn(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){We(this.options.beforeUpdate,[this])}update(t,n,r){const{beginAtZero:a,grace:i,ticks:o}=this.options,A=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=GM(this,i,a),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=A<this.ticks.length;this._convertTicksToLabels(l?hv(this.ticks,A):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||o.source==="auto")&&(this.ticks=xN(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,n,r;this.isHorizontal()?(n=this.left,r=this.right):(n=this.top,r=this.bottom,t=!t),this._startPixel=n,this._endPixel=r,this._reversePixels=t,this._length=r-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){We(this.options.afterUpdate,[this])}beforeSetDimensions(){We(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){We(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),We(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){We(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const n=this.options.ticks;let r,a,i;for(r=0,a=t.length;r<a;r++)i=t[r],i.label=We(n.callback,[i.value,r,t],this)}afterTickToLabelConversion(){We(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){We(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,n=t.ticks,r=pv(this.ticks.length,t.ticks.maxTicksLimit),a=n.minRotation||0,i=n.maxRotation;let o=a,A,l,c;if(!this._isVisible()||!n.display||a>=i||r<=1||!this.isHorizontal()){this.labelRotation=a;return}const d=this._getLabelSizes(),u=d.widest.width,f=d.highest.height,p=Kt(this.chart.width-u,0,this.maxWidth);A=t.offset?this.maxWidth/r:p/(r-1),u+6>A&&(A=p/(r-(t.offset?.5:1)),l=this.maxHeight-$A(t.grid)-n.padding-mv(t.title,this.chart.options.font),c=Math.sqrt(u*u+f*f),o=ed(Math.min(Math.asin(Kt((d.highest.height+6)/A,-1,1)),Math.asin(Kt(l/c,-1,1))-Math.asin(Kt(f/c,-1,1)))),o=Math.max(a,Math.min(i,o))),this.labelRotation=o}afterCalculateLabelRotation(){We(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){We(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:r,title:a,grid:i}}=this,o=this._isVisible(),A=this.isHorizontal();if(o){const l=mv(a,n.options.font);if(A?(t.width=this.maxWidth,t.height=$A(i)+l):(t.height=this.maxHeight,t.width=$A(i)+l),r.display&&this.ticks.length){const{first:c,last:d,widest:u,highest:f}=this._getLabelSizes(),p=r.padding*2,h=Mt(this.labelRotation),m=Math.cos(h),b=Math.sin(h);if(A){const g=r.mirror?0:b*u.width+m*f.height;t.height=Math.min(this.maxHeight,t.height+g+p)}else{const g=r.mirror?0:m*u.width+b*f.height;t.width=Math.min(this.maxWidth,t.width+g+p)}this._calculatePadding(c,d,b,m)}}this._handleMargins(),A?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,r,a){const{ticks:{align:i,padding:o},position:A}=this.options,l=this.labelRotation!==0,c=A!=="top"&&this.axis==="x";if(this.isHorizontal()){const d=this.getPixelForTick(0)-this.left,u=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,p=0;l?c?(f=a*t.width,p=r*n.height):(f=r*t.height,p=a*n.width):i==="start"?p=n.width:i==="end"?f=t.width:i!=="inner"&&(f=t.width/2,p=n.width/2),this.paddingLeft=Math.max((f-d+o)*this.width/(this.width-d),0),this.paddingRight=Math.max((p-u+o)*this.width/(this.width-u),0)}else{let d=n.height/2,u=t.height/2;i==="start"?(d=0,u=t.height):i==="end"&&(d=n.height,u=0),this.paddingTop=d+o,this.paddingBottom=u+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){We(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,r;for(n=0,r=t.length;n<r;n++)xe(t[n].label)&&(t.splice(n,1),r--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const n=this.options.ticks.sampleSize;let r=this.ticks;n<r.length&&(r=hv(r,n)),this._labelSizes=t=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,n,r){const{ctx:a,_longestTextCache:i}=this,o=[],A=[],l=Math.floor(n/pv(n,r));let c=0,d=0,u,f,p,h,m,b,g,B,w,y,_;for(u=0;u<n;u+=l){if(h=t[u].label,m=this._resolveTickFontOptions(u),a.font=b=m.string,g=i[b]=i[b]||{data:{},gc:[]},B=m.lineHeight,w=y=0,!xe(h)&&!Ve(h))w=rd(a,g.data,g.gc,w,h),y=B;else if(Ve(h))for(f=0,p=h.length;f<p;++f)_=h[f],!xe(_)&&!Ve(_)&&(w=rd(a,g.data,g.gc,w,_),y+=B);o.push(w),A.push(y),c=Math.max(w,c),d=Math.max(y,d)}LN(i,n);const v=o.indexOf(c),k=A.indexOf(d),C=x=>({width:o[x]||0,height:A[x]||0});return{first:C(0),last:C(n-1),widest:C(v),highest:C(k),widths:o,heights:A}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return vM(this._alignToPixels?Yi(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&t<n.length){const r=n[t];return r.$context||(r.$context=QN(this.getContext(),t,r))}return this.$context||(this.$context=ON(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,n=Mt(this.labelRotation),r=Math.abs(Math.cos(n)),a=Math.abs(Math.sin(n)),i=this._getLabelSizes(),o=t.autoSkipPadding||0,A=i?i.widest.width+o:0,l=i?i.highest.height+o:0;return this.isHorizontal()?l*r>A*a?A/r:l/a:l*a<A*r?l/r:A/a}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const n=this.axis,r=this.chart,a=this.options,{grid:i,position:o,border:A}=a,l=i.offset,c=this.isHorizontal(),u=this.ticks.length+(l?1:0),f=$A(i),p=[],h=A.setContext(this.getContext()),m=h.display?h.width:0,b=m/2,g=function(H){return Yi(r,H,m)};let B,w,y,_,v,k,C,x,U,D,F,L;if(o==="top")B=g(this.bottom),k=this.bottom-f,x=B-b,D=g(t.top)+b,L=t.bottom;else if(o==="bottom")B=g(this.top),D=t.top,L=g(t.bottom)-b,k=B+b,x=this.top+f;else if(o==="left")B=g(this.right),v=this.right-f,C=B-b,U=g(t.left)+b,F=t.right;else if(o==="right")B=g(this.left),U=t.left,F=g(t.right)-b,v=B+b,C=this.left+f;else if(n==="x"){if(o==="center")B=g((t.top+t.bottom)/2+.5);else if(Ee(o)){const H=Object.keys(o)[0],$=o[H];B=g(this.chart.scales[H].getPixelForValue($))}D=t.top,L=t.bottom,k=B+b,x=k+f}else if(n==="y"){if(o==="center")B=g((t.left+t.right)/2);else if(Ee(o)){const H=Object.keys(o)[0],$=o[H];B=g(this.chart.scales[H].getPixelForValue($))}v=B-b,C=v-f,U=t.left,F=t.right}const G=he(a.ticks.maxTicksLimit,u),Z=Math.max(1,Math.ceil(u/G));for(w=0;w<u;w+=Z){const H=this.getContext(w),$=i.setContext(H),pe=A.setContext(H),J=$.lineWidth,ce=$.color,Ae=pe.dash||[],de=pe.dashOffset,ye=$.tickWidth,se=$.tickColor,ee=$.tickBorderDash||[],P=$.tickBorderDashOffset;y=UN(this,w,l),y!==void 0&&(_=Yi(r,y,J),c?v=C=U=F=_:k=x=D=L=_,p.push({tx1:v,ty1:k,tx2:C,ty2:x,x1:U,y1:D,x2:F,y2:L,width:J,color:ce,borderDash:Ae,borderDashOffset:de,tickWidth:ye,tickColor:se,tickBorderDash:ee,tickBorderDashOffset:P}))}return this._ticksLength=u,this._borderValue=B,p}_computeLabelItems(t){const n=this.axis,r=this.options,{position:a,ticks:i}=r,o=this.isHorizontal(),A=this.ticks,{align:l,crossAlign:c,padding:d,mirror:u}=i,f=$A(r.grid),p=f+d,h=u?-d:p,m=-Mt(this.labelRotation),b=[];let g,B,w,y,_,v,k,C,x,U,D,F,L="middle";if(a==="top")v=this.bottom-h,k=this._getXAxisLabelAlignment();else if(a==="bottom")v=this.top+h,k=this._getXAxisLabelAlignment();else if(a==="left"){const Z=this._getYAxisLabelAlignment(f);k=Z.textAlign,_=Z.x}else if(a==="right"){const Z=this._getYAxisLabelAlignment(f);k=Z.textAlign,_=Z.x}else if(n==="x"){if(a==="center")v=(t.top+t.bottom)/2+p;else if(Ee(a)){const Z=Object.keys(a)[0],H=a[Z];v=this.chart.scales[Z].getPixelForValue(H)+p}k=this._getXAxisLabelAlignment()}else if(n==="y"){if(a==="center")_=(t.left+t.right)/2-p;else if(Ee(a)){const Z=Object.keys(a)[0],H=a[Z];_=this.chart.scales[Z].getPixelForValue(H)}k=this._getYAxisLabelAlignment(f).textAlign}n==="y"&&(l==="start"?L="top":l==="end"&&(L="bottom"));const G=this._getLabelSizes();for(g=0,B=A.length;g<B;++g){w=A[g],y=w.label;const Z=i.setContext(this.getContext(g));C=this.getPixelForTick(g)+i.labelOffset,x=this._resolveTickFontOptions(g),U=x.lineHeight,D=Ve(y)?y.length:1;const H=D/2,$=Z.color,pe=Z.textStrokeColor,J=Z.textStrokeWidth;let ce=k;o?(_=C,k==="inner"&&(g===B-1?ce=this.options.reverse?"left":"right":g===0?ce=this.options.reverse?"right":"left":ce="center"),a==="top"?c==="near"||m!==0?F=-D*U+U/2:c==="center"?F=-G.highest.height/2-H*U+U:F=-G.highest.height+U/2:c==="near"||m!==0?F=U/2:c==="center"?F=G.highest.height/2-H*U:F=G.highest.height-D*U,u&&(F*=-1),m!==0&&!Z.showLabelBackdrop&&(_+=U/2*Math.sin(m))):(v=C,F=(1-D)*U/2);let Ae;if(Z.showLabelBackdrop){const de=Ft(Z.backdropPadding),ye=G.heights[g],se=G.widths[g];let ee=F-de.top,P=0-de.left;switch(L){case"middle":ee-=ye/2;break;case"bottom":ee-=ye;break}switch(k){case"center":P-=se/2;break;case"right":P-=se;break;case"inner":g===B-1?P-=se:g>0&&(P-=se/2);break}Ae={left:P,top:ee,width:se+de.width,height:ye+de.height,color:Z.backdropColor}}b.push({label:y,font:x,textOffset:F,options:{rotation:m,color:$,strokeColor:pe,strokeWidth:J,textAlign:ce,textBaseline:L,translation:[_,v],backdrop:Ae}})}return b}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-Mt(this.labelRotation))return t==="top"?"left":"right";let a="center";return n.align==="start"?a="left":n.align==="end"?a="right":n.align==="inner"&&(a="inner"),a}_getYAxisLabelAlignment(t){const{position:n,ticks:{crossAlign:r,mirror:a,padding:i}}=this.options,o=this._getLabelSizes(),A=t+i,l=o.widest.width;let c,d;return n==="left"?a?(d=this.right+i,r==="near"?c="left":r==="center"?(c="center",d+=l/2):(c="right",d+=l)):(d=this.right-A,r==="near"?c="right":r==="center"?(c="center",d-=l/2):(c="left",d=this.left)):n==="right"?a?(d=this.left+i,r==="near"?c="right":r==="center"?(c="center",d-=l/2):(c="left",d-=l)):(d=this.left+A,r==="near"?c="left":r==="center"?(c="center",d+=l/2):(c="right",d=this.right)):c="right",{textAlign:c,x:d}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:n},left:r,top:a,width:i,height:o}=this;n&&(t.save(),t.fillStyle=n,t.fillRect(r,a,i,o),t.restore())}getLineWidthForValue(t){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const a=this.ticks.findIndex(i=>i.value===t);return a>=0?n.setContext(this.getContext(a)).lineWidth:0}drawGrid(t){const n=this.options.grid,r=this.ctx,a=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let i,o;const A=(l,c,d)=>{!d.width||!d.color||(r.save(),r.lineWidth=d.width,r.strokeStyle=d.color,r.setLineDash(d.borderDash||[]),r.lineDashOffset=d.borderDashOffset,r.beginPath(),r.moveTo(l.x,l.y),r.lineTo(c.x,c.y),r.stroke(),r.restore())};if(n.display)for(i=0,o=a.length;i<o;++i){const l=a[i];n.drawOnChartArea&&A({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),n.drawTicks&&A({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:n,options:{border:r,grid:a}}=this,i=r.setContext(this.getContext()),o=r.display?i.width:0;if(!o)return;const A=a.setContext(this.getContext(0)).lineWidth,l=this._borderValue;let c,d,u,f;this.isHorizontal()?(c=Yi(t,this.left,o)-o/2,d=Yi(t,this.right,A)+A/2,u=f=l):(u=Yi(t,this.top,o)-o/2,f=Yi(t,this.bottom,A)+A/2,c=d=l),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(c,u),n.lineTo(d,f),n.stroke(),n.restore()}drawLabels(t){if(!this.options.ticks.display)return;const r=this.ctx,a=this._computeLabelArea();a&&OA(r,a);const i=this.getLabelItems(t);for(const o of i){const A=o.options,l=o.font,c=o.label,d=o.textOffset;qi(r,c,0,d,l,A)}a&&QA(r)}drawTitle(){const{ctx:t,options:{position:n,title:r,reverse:a}}=this;if(!r.display)return;const i=yt(r.font),o=Ft(r.padding),A=r.align;let l=i.lineHeight/2;n==="bottom"||n==="center"||Ee(n)?(l+=o.bottom,Ve(r.text)&&(l+=i.lineHeight*(r.text.length-1))):l+=o.top;const{titleX:c,titleY:d,maxWidth:u,rotation:f}=PN(this,l,n,A);qi(t,r.text,0,0,i,{color:r.color,maxWidth:u,rotation:f,textAlign:MN(A,n,a),textBaseline:"middle",translation:[c,d]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,n=t.ticks&&t.ticks.z||0,r=he(t.grid&&t.grid.z,-1),a=he(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==no.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:r,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:a,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",a=[];let i,o;for(i=0,o=n.length;i<o;++i){const A=n[i];A[r]===this.id&&(!t||A.type===t)&&a.push(A)}return a}_resolveTickFontOptions(t){const n=this.options.ticks.setContext(this.getContext(t));return yt(n.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class gd{constructor(t,n,r){this.type=t,this.scope=n,this.override=r,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const n=Object.getPrototypeOf(t);let r;HN(n)&&(r=this.register(n));const a=this.items,i=t.id,o=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+t);return i in a||(a[i]=t,NN(t,o,r),this.override&&it.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const n=this.items,r=t.id,a=this.scope;r in n&&delete n[r],a&&r in it[a]&&(delete it[a][r],this.override&&delete ji[r])}}function NN(e,t,n){const r=Ur(Object.create(null),[n?it.get(n):{},it.get(t),e.defaults]);it.set(t,r),e.defaultRoutes&&RN(t,e.defaultRoutes),e.descriptors&&it.describe(t,e.descriptors)}function RN(e,t){Object.keys(t).forEach(n=>{const r=n.split("."),a=r.pop(),i=[e].concat(r).join("."),o=t[n].split("."),A=o.pop(),l=o.join(".");it.route(i,a,l,A)})}function HN(e){return"id"in e&&"defaults"in e}class VN{constructor(){this.controllers=new gd(dr,"datasets",!0),this.elements=new gd(yn,"elements"),this.plugins=new gd(Object,"plugins"),this.scales=new gd(no,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,r){[...n].forEach(a=>{const i=r||this._getRegistryForType(a);r||i.isForType(a)||i===this.plugins&&a.id?this._exec(t,i,a):je(a,o=>{const A=r||this._getRegistryForType(o);this._exec(t,A,o)})})}_exec(t,n,r){const a=Ph(t);We(r["before"+a],[],r),n[t](r),We(r["after"+a],[],r)}_getRegistryForType(t){for(let n=0;n<this._typedRegistries.length;n++){const r=this._typedRegistries[n];if(r.isForType(t))return r}return this.plugins}_get(t,n,r){const a=n.get(t);if(a===void 0)throw new Error('"'+t+'" is not a registered '+r+".");return a}}var Or=new VN;class zN{constructor(){this._init=void 0}notify(t,n,r,a){if(n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install")),this._init===void 0)return;const i=a?this._descriptors(t).filter(a):this._descriptors(t),o=this._notify(i,t,n,r);return n==="afterDestroy"&&(this._notify(i,t,"stop"),this._notify(this._init,t,"uninstall"),this._init=void 0),o}_notify(t,n,r,a){a=a||{};for(const i of t){const o=i.plugin,A=o[r],l=[n,a,i.options];if(We(A,l,o)===!1&&a.cancelable)return!1}return!0}invalidate(){xe(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const r=t&&t.config,a=he(r.options&&r.options.plugins,{}),i=$N(r);return a===!1&&!n?[]:WN(t,i,a,n)}_notifyStateChanges(t){const n=this._oldCache||[],r=this._cache,a=(i,o)=>i.filter(A=>!o.some(l=>A.plugin.id===l.plugin.id));this._notify(a(n,r),t,"stop"),this._notify(a(r,n),t,"start")}}function $N(e){const t={},n=[],r=Object.keys(Or.plugins.items);for(let i=0;i<r.length;i++)n.push(Or.getPlugin(r[i]));const a=e.plugins||[];for(let i=0;i<a.length;i++){const o=a[i];n.indexOf(o)===-1&&(n.push(o),t[o.id]=!0)}return{plugins:n,localIds:t}}function KN(e,t){return!t&&e===!1?null:e===!0?{}:e}function WN(e,{plugins:t,localIds:n},r,a){const i=[],o=e.getContext();for(const A of t){const l=A.id,c=KN(r[l],a);c!==null&&i.push({plugin:A,options:GN(e.config,{plugin:A,local:n[l]},c,o)})}return i}function GN(e,{plugin:t,local:n},r,a){const i=e.pluginScopeKeys(t),o=e.getOptionScopes(r,i);return n&&t.defaults&&o.push(t.defaults),e.createResolver(o,a,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function lm(e,t){const n=it.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function jN(e,t){let n=e;return e==="_index_"?n=t:e==="_value_"&&(n=t==="x"?"y":"x"),n}function YN(e,t){return e===t?"_index_":"_value_"}function gv(e){if(e==="x"||e==="y"||e==="r")return e}function qN(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function cm(e,...t){if(gv(e))return e;for(const n of t){const r=n.axis||qN(n.position)||e.length>1&&gv(e[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function yv(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function XN(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(r=>r.xAxisID===e||r.yAxisID===e);if(n.length)return yv(e,"x",n[0])||yv(e,"y",n[0])}return{}}function JN(e,t){const n=ji[e.type]||{scales:{}},r=t.scales||{},a=lm(e.type,t),i=Object.create(null);return Object.keys(r).forEach(o=>{const A=r[o];if(!Ee(A))return console.error(`Invalid scale configuration for scale: ${o}`);if(A._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${o}`);const l=cm(o,A,XN(o,e),it.scales[A.type]),c=YN(l,a),d=n.scales||{};i[o]=FA(Object.create(null),[{axis:l},A,d[l],d[c]])}),e.data.datasets.forEach(o=>{const A=o.type||e.type,l=o.indexAxis||lm(A,t),d=(ji[A]||{}).scales||{};Object.keys(d).forEach(u=>{const f=jN(u,l),p=o[f+"AxisID"]||f;i[p]=i[p]||Object.create(null),FA(i[p],[{axis:f},r[p],d[u]])})}),Object.keys(i).forEach(o=>{const A=i[o];FA(A,[it.scales[A.type],it.scale])}),i}function bv(e){const t=e.options||(e.options={});t.plugins=he(t.plugins,{}),t.scales=JN(e,t)}function wv(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function ZN(e){return e=e||{},e.data=wv(e.data),bv(e),e}const Bv=new Map,vv=new Set;function yd(e,t){let n=Bv.get(e);return n||(n=t(),Bv.set(e,n),vv.add(n)),n}const KA=(e,t,n)=>{const r=Ja(t,n);r!==void 0&&e.add(r)};class eR{constructor(t){this._config=ZN(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=wv(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),bv(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return yd(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return yd(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return yd(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,r=this.type;return yd(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const r=this._scopeCache;let a=r.get(t);return(!a||n)&&(a=new Map,r.set(t,a)),a}getOptionScopes(t,n,r){const{options:a,type:i}=this,o=this._cachedScopes(t,r),A=o.get(n);if(A)return A;const l=new Set;n.forEach(d=>{t&&(l.add(t),d.forEach(u=>KA(l,t,u))),d.forEach(u=>KA(l,a,u)),d.forEach(u=>KA(l,ji[i]||{},u)),d.forEach(u=>KA(l,it,u)),d.forEach(u=>KA(l,$h,u))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),vv.has(n)&&o.set(n,c),c}chartOptionScopes(){const{options:t,type:n}=this;return[t,ji[n]||{},it.datasets[n]||{},{type:n},it,$h]}resolveNamedOptions(t,n,r,a=[""]){const i={$shared:!0},{resolver:o,subPrefixes:A}=_v(this._resolverCache,t,a);let l=o;if(nR(o,n)){i.$shared=!1,r=kn(r)?r():r;const c=this.createResolver(t,r,A);l=is(o,r,c)}for(const c of n)i[c]=l[c];return i}createResolver(t,n,r=[""],a){const{resolver:i}=_v(this._resolverCache,t,r);return Ee(n)?is(i,n,void 0,a):i}}function _v(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const a=n.join();let i=r.get(a);return i||(i={resolver:jh(t,n),subPrefixes:n.filter(A=>!A.toLowerCase().includes("hover"))},r.set(a,i)),i}const tR=e=>Ee(e)&&Object.getOwnPropertyNames(e).some(t=>kn(e[t]));function nR(e,t){const{isScriptable:n,isIndexable:r}=kB(e);for(const a of t){const i=n(a),o=r(a),A=(o||i)&&e[a];if(i&&(kn(A)||tR(A))||o&&Ve(A))return!0}return!1}var rR="4.5.1";const aR=["top","bottom","left","right","chartArea"];function Cv(e,t){return e==="top"||e==="bottom"||aR.indexOf(e)===-1&&t==="x"}function kv(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function xv(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),We(n&&n.onComplete,[e],t)}function iR(e){const t=e.chart,n=t.options.animation;We(n&&n.onProgress,[e],t)}function Ev(e){return Xh()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const bd={},Sv=e=>{const t=Ev(e);return Object.values(bd).filter(n=>n.canvas===t).pop()};function oR(e,t,n){const r=Object.keys(e);for(const a of r){const i=+a;if(i>=t){const o=e[a];delete e[a],(n>0||i>t)&&(e[i+n]=o)}}}function sR(e,t,n,r){return!n||e.type==="mouseout"?null:r?t:e}class ze{static register(...t){Or.add(...t),Fv()}static unregister(...t){Or.remove(...t),Fv()}constructor(t,n){const r=this.config=new eR(n),a=Ev(t),i=Sv(a);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const o=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||kN(a)),this.platform.updateConfig(r);const A=this.platform.acquireContext(a,o.aspectRatio),l=A&&A.canvas,c=l&&l.height,d=l&&l.width;if(this.id=cM(),this.ctx=A,this.canvas=l,this.width=d,this.height=c,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new zN,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=xM(u=>this.update(u),o.resizeDelay||0),this._dataChanges=[],bd[this.id]=this,!A||!l){console.error("Failed to create chart: can't acquire context from the given item");return}ua.listen(this,"complete",xv),ua.listen(this,"progress",iR),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:r,height:a,_aspectRatio:i}=this;return xe(t)?n&&i?i:a?r/a:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Or}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():UB(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return vB(this.canvas,this.ctx),this}stop(){return ua.stop(this),this}resize(t,n){ua.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const r=this.options,a=this.canvas,i=r.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(a,t,n,i),A=r.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,UB(this,A,!0)&&(this.notifyPlugins("resize",{size:o}),We(r.onResize,[this,o],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};je(n,(r,a)=>{r.id=a})}buildOrUpdateScales(){const t=this.options,n=t.scales,r=this.scales,a=Object.keys(r).reduce((o,A)=>(o[A]=!1,o),{});let i=[];n&&(i=i.concat(Object.keys(n).map(o=>{const A=n[o],l=cm(o,A),c=l==="r",d=l==="x";return{options:A,dposition:c?"chartArea":d?"bottom":"left",dtype:c?"radialLinear":d?"category":"linear"}}))),je(i,o=>{const A=o.options,l=A.id,c=cm(l,A),d=he(A.type,o.dtype);(A.position===void 0||Cv(A.position,c)!==Cv(o.dposition))&&(A.position=o.dposition),a[l]=!0;let u=null;if(l in r&&r[l].type===d)u=r[l];else{const f=Or.getScale(d);u=new f({id:l,type:d,ctx:this.ctx,chart:this}),r[u.id]=u}u.init(A,t)}),je(a,(o,A)=>{o||delete r[A]}),je(r,o=>{on.configure(this,o,o.options),on.addBox(this,o)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,r=t.length;if(t.sort((a,i)=>a.index-i.index),r>n){for(let a=n;a<r;++a)this._destroyDatasetMeta(a);t.splice(n,r-n)}this._sortedMetasets=t.slice(0).sort(kv("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:n}}=this;t.length>n.length&&delete this._stacks,t.forEach((r,a)=>{n.filter(i=>i===r._dataset).length===0&&this._destroyDatasetMeta(a)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let r,a;for(this._removeUnreferencedMetasets(),r=0,a=n.length;r<a;r++){const i=n[r];let o=this.getDatasetMeta(r);const A=i.type||this.config.type;if(o.type&&o.type!==A&&(this._destroyDatasetMeta(r),o=this.getDatasetMeta(r)),o.type=A,o.indexAxis=i.indexAxis||lm(A,this.options),o.order=i.order||0,o.index=r,o.label=""+i.label,o.visible=this.isDatasetVisible(r),o.controller)o.controller.updateIndex(r),o.controller.linkScales();else{const l=Or.getController(A),{datasetElementType:c,dataElementType:d}=it.datasets[A];Object.assign(l,{dataElementType:Or.getElement(d),datasetElementType:c&&Or.getElement(c)}),o.controller=new l(this,r),t.push(o.controller)}}return this._updateMetasets(),t}_resetElements(){je(this.data.datasets,(t,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),a=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let c=0,d=this.data.datasets.length;c<d;c++){const{controller:u}=this.getDatasetMeta(c),f=!a&&i.indexOf(u)===-1;u.buildOrUpdateElements(f),o=Math.max(+u.getMaxOverflow(),o)}o=this._minPadding=r.layout.autoPadding?o:0,this._updateLayout(o),a||je(i,c=>{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(kv("z","_idx"));const{_active:A,_lastEvent:l}=this;l?this._eventHandler(l,!0):A.length&&this._updateHoverStyles(A,A,!0),this.render()}_updateScales(){je(this.scales,t=>{on.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(t.events);(!iB(n,r)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:a,count:i}of n){const o=r==="_removeElements"?-i:i;oR(t,a,o)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=i=>new Set(t.filter(o=>o[0]===i).map((o,A)=>A+","+o.splice(1).join(","))),a=r(0);for(let i=1;i<n;i++)if(!iB(a,r(i)))return;return Array.from(a).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;on.update(this,this.width,this.height,t);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],je(this.boxes,a=>{r&&a.position==="chartArea"||(a.configure&&a.configure(),this._layers.push(...a._layers()))},this),this._layers.forEach((a,i)=>{a._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n<r;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,r=this.data.datasets.length;n<r;++n)this._updateDataset(n,kn(t)?t({datasetIndex:n}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,n){const r=this.getDatasetMeta(t),a={meta:r,index:t,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",a)!==!1&&(r.controller._update(n),a.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",a))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(ua.has(this)?this.attached&&!ua.running(this)&&ua.start(this):(this.draw(),xv({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:r,height:a}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(r,a)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(this.chartArea);for(this._drawDatasets();t<n.length;++t)n[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const n=this._sortedMetasets,r=[];let a,i;for(a=0,i=n.length;a<i;++a){const o=n[a];(!t||o.visible)&&r.push(o)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let n=t.length-1;n>=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,r={meta:t,index:t.index,cancelable:!0},a=zB(this,t);this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(a&&OA(n,a),t.controller.draw(),a&&QA(n),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(t){return da(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,r,a){const i=aN.modes[n];return typeof i=="function"?i(this,t,r,a):[]}getDatasetMeta(t){const n=this.data.datasets[t],r=this._metasets;let a=r.filter(i=>i&&i._dataset===n).pop();return a||(a={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},r.push(a)),a}getContext(){return this.$context||(this.$context=ni(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const r=this.getDatasetMeta(t);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(t,n){const r=this.getDatasetMeta(t);r.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,r){const a=r?"show":"hide",i=this.getDatasetMeta(t),o=i.controller._resolveAnimations(void 0,a);Cn(n)?(i.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),o.update(i,{visible:r}),this.update(A=>A.datasetIndex===t?a:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),ua.remove(this),t=0,n=this.data.datasets.length;t<n;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:n}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),vB(t,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete bd[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,n=this.platform,r=(i,o)=>{n.addEventListener(this,i,o),t[i]=o},a=(i,o,A)=>{i.offsetX=o,i.offsetY=A,this._eventHandler(i)};je(this.options.events,i=>r(i,a))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,r=(l,c)=>{n.addEventListener(this,l,c),t[l]=c},a=(l,c)=>{t[l]&&(n.removeEventListener(this,l,c),delete t[l])},i=(l,c)=>{this.canvas&&this.resize(l,c)};let o;const A=()=>{a("attach",A),this.attached=!0,this.resize(),r("resize",i),r("detach",o)};o=()=>{this.attached=!1,a("resize",i),this._stop(),this._resize(0,0),r("attach",A)},n.isAttached(this.canvas)?A():o()}unbindEvents(){je(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},je(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,r){const a=r?"set":"remove";let i,o,A,l;for(n==="dataset"&&(i=this.getDatasetMeta(t[0].datasetIndex),i.controller["_"+a+"DatasetHoverStyle"]()),A=0,l=t.length;A<l;++A){o=t[A];const c=o&&this.getDatasetMeta(o.datasetIndex).controller;c&&c[a+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const n=this._active||[],r=t.map(({datasetIndex:i,index:o})=>{const A=this.getDatasetMeta(i);if(!A)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:A.data[o],index:o}});!qc(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(t,n,r){return this._plugins.notify(this,t,n,r)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,r){const a=this.options.hover,i=(l,c)=>l.filter(d=>!c.some(u=>d.datasetIndex===u.datasetIndex&&d.index===u.index)),o=i(n,t),A=r?t:i(t,n);o.length&&this.updateHoverStyle(o,a.mode,!1),A.length&&a.mode&&this.updateHoverStyle(A,a.mode,!0)}_eventHandler(t,n){const r={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},a=o=>(o.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",r,a)===!1)return;const i=this._handleEvent(t,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,a),(i||r.changed)&&this.render(),this}_handleEvent(t,n,r){const{_active:a=[],options:i}=this,o=n,A=this._getActiveElements(t,a,r,o),l=mM(t),c=sR(t,this._lastEvent,r,l);r&&(this._lastEvent=null,We(i.onHover,[t,A,this],this),l&&We(i.onClick,[t,A,this],this));const d=!qc(A,a);return(d||n)&&(this._active=A,this._updateHoverStyles(A,a,n)),this._lastEvent=c,d}_getActiveElements(t,n,r,a){if(t.type==="mouseout")return[];if(!r)return n;const i=this.options.hover;return this.getElementsAtEventForMode(t,i.mode,i,a)}}Y(ze,"defaults",it),Y(ze,"instances",bd),Y(ze,"overrides",ji),Y(ze,"registry",Or),Y(ze,"version",rR),Y(ze,"getChart",Sv);function Fv(){return je(ze.instances,e=>e._plugins.invalidate())}function AR(e,t,n){const{startAngle:r,x:a,y:i,outerRadius:o,innerRadius:A,options:l}=t,{borderWidth:c,borderJoinStyle:d}=l,u=Math.min(c/o,rn(r-n));if(e.beginPath(),e.arc(a,i,o-c/2,r+u/2,n-u/2),A>0){const f=Math.min(c/A,rn(r-n));e.arc(a,i,A+c/2,n-f/2,r+f/2,!0)}else{const f=Math.min(c/2,o*rn(r-n));if(d==="round")e.arc(a,i,f,n-Ce/2,r+Ce/2,!0);else if(d==="bevel"){const p=2*f*f,h=-p*Math.cos(n+Ce/2)+a,m=-p*Math.sin(n+Ce/2)+i,b=p*Math.cos(r+Ce/2)+a,g=p*Math.sin(r+Ce/2)+i;e.lineTo(h,m),e.lineTo(b,g)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip("evenodd")}function lR(e,t,n){const{startAngle:r,pixelMargin:a,x:i,y:o,outerRadius:A,innerRadius:l}=t;let c=a/A;e.beginPath(),e.arc(i,o,A,r-c,n+c),l>a?(c=a/l,e.arc(i,o,l,n+c,r-c,!0)):e.arc(i,o,a,n+dt,r-dt),e.closePath(),e.clip()}function cR(e){return Gh(e,["outerStart","outerEnd","innerStart","innerEnd"])}function dR(e,t,n,r){const a=cR(e.options.borderRadius),i=(n-t)/2,o=Math.min(i,r*t/2),A=l=>{const c=(n-Math.min(i,l))*r/2;return Kt(l,0,Math.min(i,c))};return{outerStart:A(a.outerStart),outerEnd:A(a.outerEnd),innerStart:Kt(a.innerStart,0,o),innerEnd:Kt(a.innerEnd,0,o)}}function As(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function wd(e,t,n,r,a,i){const{x:o,y:A,startAngle:l,pixelMargin:c,innerRadius:d}=t,u=Math.max(t.outerRadius+r+n-c,0),f=d>0?d+r+n+c:0;let p=0;const h=a-l;if(r){const Z=d>0?d-r:0,H=u>0?u-r:0,$=(Z+H)/2,pe=$!==0?h*$/($+r):h;p=(h-pe)/2}const m=Math.max(.001,h*u-n/Ce)/u,b=(h-m)/2,g=l+b+p,B=a-b-p,{outerStart:w,outerEnd:y,innerStart:_,innerEnd:v}=dR(t,f,u,B-g),k=u-w,C=u-y,x=g+w/k,U=B-y/C,D=f+_,F=f+v,L=g+_/D,G=B-v/F;if(e.beginPath(),i){const Z=(x+U)/2;if(e.arc(o,A,u,x,Z),e.arc(o,A,u,Z,U),y>0){const J=As(C,U,o,A);e.arc(J.x,J.y,y,U,B+dt)}const H=As(F,B,o,A);if(e.lineTo(H.x,H.y),v>0){const J=As(F,G,o,A);e.arc(J.x,J.y,v,B+dt,G+Math.PI)}const $=(B-v/f+(g+_/f))/2;if(e.arc(o,A,f,B-v/f,$,!0),e.arc(o,A,f,$,g+_/f,!0),_>0){const J=As(D,L,o,A);e.arc(J.x,J.y,_,L+Math.PI,g-dt)}const pe=As(k,g,o,A);if(e.lineTo(pe.x,pe.y),w>0){const J=As(k,x,o,A);e.arc(J.x,J.y,w,g-dt,x)}}else{e.moveTo(o,A);const Z=Math.cos(x)*u+o,H=Math.sin(x)*u+A;e.lineTo(Z,H);const $=Math.cos(U)*u+o,pe=Math.sin(U)*u+A;e.lineTo($,pe)}e.closePath()}function uR(e,t,n,r,a){const{fullCircles:i,startAngle:o,circumference:A}=t;let l=t.endAngle;if(i){wd(e,t,n,r,l,a);for(let c=0;c<i;++c)e.fill();isNaN(A)||(l=o+(A%at||at))}return wd(e,t,n,r,l,a),e.fill(),l}function fR(e,t,n,r,a){const{fullCircles:i,startAngle:o,circumference:A,options:l}=t,{borderWidth:c,borderJoinStyle:d,borderDash:u,borderDashOffset:f,borderRadius:p}=l,h=l.borderAlign==="inner";if(!c)return;e.setLineDash(u||[]),e.lineDashOffset=f,h?(e.lineWidth=c*2,e.lineJoin=d||"round"):(e.lineWidth=c,e.lineJoin=d||"bevel");let m=t.endAngle;if(i){wd(e,t,n,r,m,a);for(let b=0;b<i;++b)e.stroke();isNaN(A)||(m=o+(A%at||at))}h&&lR(e,t,m),l.selfJoin&&m-o>=Ce&&p===0&&d!=="miter"&&AR(e,t,m),i||(wd(e,t,n,r,m,a),e.stroke())}class ls extends yn{constructor(n){super();Y(this,"circumference");Y(this,"endAngle");Y(this,"fullCircles");Y(this,"innerRadius");Y(this,"outerRadius");Y(this,"pixelMargin");Y(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,n&&Object.assign(this,n)}inRange(n,r,a){const i=this.getProps(["x","y"],a),{angle:o,distance:A}=lB(i,{x:n,y:r}),{startAngle:l,endAngle:c,innerRadius:d,outerRadius:u,circumference:f}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],a),p=(this.options.spacing+this.options.borderWidth)/2,h=he(f,c-l),m=DA(o,l,c)&&l!==c,b=h>=at||m,g=la(A,d+p,u+p);return b&&g}getCenterPoint(n){const{x:r,y:a,startAngle:i,endAngle:o,innerRadius:A,outerRadius:l}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:c,spacing:d}=this.options,u=(i+o)/2,f=(A+l+d+c)/2;return{x:r+Math.cos(u)*f,y:a+Math.sin(u)*f}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:r,circumference:a}=this,i=(r.offset||0)/4,o=(r.spacing||0)/2,A=r.circular;if(this.pixelMargin=r.borderAlign==="inner"?.33:0,this.fullCircles=a>at?Math.floor(a/at):0,a===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const l=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(l)*i,Math.sin(l)*i);const c=1-Math.sin(Math.min(Ce,a||0)),d=i*c;n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,uR(n,this,d,o,A),fR(n,this,d,o,A),n.restore()}}Y(ls,"id","arc"),Y(ls,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1}),Y(ls,"defaultRoutes",{backgroundColor:"backgroundColor"}),Y(ls,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});function Iv(e,t,n=t){e.lineCap=he(n.borderCapStyle,t.borderCapStyle),e.setLineDash(he(n.borderDash,t.borderDash)),e.lineDashOffset=he(n.borderDashOffset,t.borderDashOffset),e.lineJoin=he(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=he(n.borderWidth,t.borderWidth),e.strokeStyle=he(n.borderColor,t.borderColor)}function pR(e,t,n){e.lineTo(n.x,n.y)}function hR(e){return e.stepped?PM:e.tension||e.cubicInterpolationMode==="monotone"?NM:pR}function Dv(e,t,n={}){const r=e.length,{start:a=0,end:i=r-1}=n,{start:o,end:A}=t,l=Math.max(a,o),c=Math.min(i,A),d=a<o&&i<o||a>A&&i>A;return{count:r,start:l,loop:t.loop,ilen:c<l&&!d?r+c-l:c-l}}function mR(e,t,n,r){const{points:a,options:i}=t,{count:o,start:A,loop:l,ilen:c}=Dv(a,n,r),d=hR(i);let{move:u=!0,reverse:f}=r||{},p,h,m;for(p=0;p<=c;++p)h=a[(A+(f?c-p:p))%o],!h.skip&&(u?(e.moveTo(h.x,h.y),u=!1):d(e,m,h,f,i.stepped),m=h);return l&&(h=a[(A+(f?c:0))%o],d(e,m,h,f,i.stepped)),!!l}function gR(e,t,n,r){const a=t.points,{count:i,start:o,ilen:A}=Dv(a,n,r),{move:l=!0,reverse:c}=r||{};let d=0,u=0,f,p,h,m,b,g;const B=y=>(o+(c?A-y:y))%i,w=()=>{m!==b&&(e.lineTo(d,b),e.lineTo(d,m),e.lineTo(d,g))};for(l&&(p=a[B(0)],e.moveTo(p.x,p.y)),f=0;f<=A;++f){if(p=a[B(f)],p.skip)continue;const y=p.x,_=p.y,v=y|0;v===h?(_<m?m=_:_>b&&(b=_),d=(u*d+y)/++u):(w(),e.lineTo(y,_),h=v,u=0,m=b=_),g=_}w()}function dm(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?gR:mR}function yR(e){return e.stepped?gP:e.tension||e.cubicInterpolationMode==="monotone"?yP:Zi}function bR(e,t,n,r){let a=t._path;a||(a=t._path=new Path2D,t.path(a,n,r)&&a.closePath()),Iv(e,t.options),e.stroke(a)}function wR(e,t,n,r){const{segments:a,options:i}=t,o=dm(t);for(const A of a)Iv(e,i,A.style),e.beginPath(),o(e,t,A,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}const BR=typeof Path2D=="function";function vR(e,t,n,r){BR&&!t.options.segment?bR(e,t,n,r):wR(e,t,n,r)}class ai extends yn{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const a=r.spanGaps?this._loop:this._fullLoop;lP(this._points,r,t,a,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=CP(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,r=t.length;return r&&n[t[r-1].end]}interpolate(t,n){const r=this.options,a=t[n],i=this.points,o=RB(this,{property:n,start:a,end:a});if(!o.length)return;const A=[],l=yR(r);let c,d;for(c=0,d=o.length;c<d;++c){const{start:u,end:f}=o[c],p=i[u],h=i[f];if(p===h){A.push(p);continue}const m=Math.abs((a-p[n])/(h[n]-p[n])),b=l(p,h,m,r.stepped);b[n]=t[n],A.push(b)}return A.length===1?A[0]:A}pathSegment(t,n,r){return dm(this)(t,this,n,r)}path(t,n,r){const a=this.segments,i=dm(this);let o=this._loop;n=n||0,r=r||this.points.length-n;for(const A of a)o&=i(t,this,A,{start:n,end:n+r-1});return!!o}draw(t,n,r,a){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(t.save(),vR(t,this,r,a),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}Y(ai,"id","line"),Y(ai,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),Y(ai,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),Y(ai,"descriptors",{_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"});function Tv(e,t,n,r){const a=e.options,{[n]:i}=e.getProps([n],r);return Math.abs(t-i)<a.radius+a.hitRadius}class WA extends yn{constructor(n){super();Y(this,"parsed");Y(this,"skip");Y(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,r,a){const i=this.options,{x:o,y:A}=this.getProps(["x","y"],a);return Math.pow(n-o,2)+Math.pow(r-A,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(n,r){return Tv(this,n,"x",r)}inYRange(n,r){return Tv(this,n,"y",r)}getCenterPoint(n){const{x:r,y:a}=this.getProps(["x","y"],n);return{x:r,y:a}}size(n){n=n||this.options||{};let r=n.radius||0;r=Math.max(r,r&&n.hoverRadius||0);const a=r&&n.borderWidth||0;return(r+a)*2}draw(n,r){const a=this.options;this.skip||a.radius<.1||!da(this,r,this.size(a)/2)||(n.strokeStyle=a.borderColor,n.lineWidth=a.borderWidth,n.fillStyle=a.backgroundColor,Wh(n,a,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}Y(WA,"id","point"),Y(WA,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),Y(WA,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function Uv(e,t){const{x:n,y:r,base:a,width:i,height:o}=e.getProps(["x","y","base","width","height"],t);let A,l,c,d,u;return e.horizontal?(u=o/2,A=Math.min(n,a),l=Math.max(n,a),c=r-u,d=r+u):(u=i/2,A=n-u,l=n+u,c=Math.min(r,a),d=Math.max(r,a)),{left:A,top:c,right:l,bottom:d}}function ii(e,t,n,r){return e?0:Kt(t,n,r)}function _R(e,t,n){const r=e.options.borderWidth,a=e.borderSkipped,i=CB(r);return{t:ii(a.top,i.top,0,n),r:ii(a.right,i.right,0,t),b:ii(a.bottom,i.bottom,0,n),l:ii(a.left,i.left,0,t)}}function CR(e,t,n){const{enableBorderRadius:r}=e.getProps(["enableBorderRadius"]),a=e.options.borderRadius,i=ti(a),o=Math.min(t,n),A=e.borderSkipped,l=r||Ee(a);return{topLeft:ii(!l||A.top||A.left,i.topLeft,0,o),topRight:ii(!l||A.top||A.right,i.topRight,0,o),bottomLeft:ii(!l||A.bottom||A.left,i.bottomLeft,0,o),bottomRight:ii(!l||A.bottom||A.right,i.bottomRight,0,o)}}function kR(e){const t=Uv(e),n=t.right-t.left,r=t.bottom-t.top,a=_R(e,n/2,r/2),i=CR(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r,radius:i},inner:{x:t.left+a.l,y:t.top+a.t,w:n-a.l-a.r,h:r-a.t-a.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(a.t,a.l)),topRight:Math.max(0,i.topRight-Math.max(a.t,a.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(a.b,a.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(a.b,a.r))}}}}function um(e,t,n,r){const a=t===null,i=n===null,A=e&&!(a&&i)&&Uv(e,r);return A&&(a||la(t,A.left,A.right))&&(i||la(n,A.top,A.bottom))}function xR(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function ER(e,t){e.rect(t.x,t.y,t.w,t.h)}function fm(e,t,n={}){const r=e.x!==n.x?-t:0,a=e.y!==n.y?-t:0,i=(e.x+e.w!==n.x+n.w?t:0)-r,o=(e.y+e.h!==n.y+n.h?t:0)-a;return{x:e.x+r,y:e.y+a,w:e.w+i,h:e.h+o,radius:e.radius}}class GA extends yn{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:n,options:{borderColor:r,backgroundColor:a}}=this,{inner:i,outer:o}=kR(this),A=xR(o.radius)?as:ER;t.save(),(o.w!==i.w||o.h!==i.h)&&(t.beginPath(),A(t,fm(o,n,i)),t.clip(),A(t,fm(i,-n,o)),t.fillStyle=r,t.fill("evenodd")),t.beginPath(),A(t,fm(i,n)),t.fillStyle=a,t.fill(),t.restore()}inRange(t,n,r){return um(this,t,n,r)}inXRange(t,n){return um(this,t,null,n)}inYRange(t,n){return um(this,null,t,n)}getCenterPoint(t){const{x:n,y:r,base:a,horizontal:i}=this.getProps(["x","y","base","horizontal"],t);return{x:i?(n+a)/2:n,y:i?r:(r+a)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}}Y(GA,"id","bar"),Y(GA,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),Y(GA,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});var SR=Object.freeze({__proto__:null,ArcElement:ls,BarElement:GA,LineElement:ai,PointElement:WA});const pm=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],Lv=pm.map(e=>e.replace("rgb(","rgba(").replace(")",", 0.5)"));function Ov(e){return pm[e%pm.length]}function Qv(e){return Lv[e%Lv.length]}function FR(e,t){return e.borderColor=Ov(t),e.backgroundColor=Qv(t),++t}function IR(e,t){return e.backgroundColor=e.data.map(()=>Ov(t++)),t}function DR(e,t){return e.backgroundColor=e.data.map(()=>Qv(t++)),t}function TR(e){let t=0;return(n,r)=>{const a=e.getDatasetMeta(r).controller;a instanceof eo?t=IR(n,t):a instanceof PA?t=DR(n,t):a&&(t=FR(n,t))}}function Mv(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function UR(e){return e&&(e.borderColor||e.backgroundColor)}function LR(){return it.borderColor!=="rgba(0,0,0,0.1)"||it.backgroundColor!=="rgba(0,0,0,0.1)"}var OR={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;const{data:{datasets:r},options:a}=e.config,{elements:i}=a,o=Mv(r)||UR(a)||i&&Mv(i)||LR();if(!n.forceOverride&&o)return;const A=TR(e);r.forEach(A)}};function QR(e,t,n,r,a){const i=a.samples||r;if(i>=n)return e.slice(t,t+n);const o=[],A=(n-2)/(i-2);let l=0;const c=t+n-1;let d=t,u,f,p,h,m;for(o[l++]=e[d],u=0;u<i-2;u++){let b=0,g=0,B;const w=Math.floor((u+1)*A)+1+t,y=Math.min(Math.floor((u+2)*A)+1,n)+t,_=y-w;for(B=w;B<y;B++)b+=e[B].x,g+=e[B].y;b/=_,g/=_;const v=Math.floor(u*A)+1+t,k=Math.min(Math.floor((u+1)*A)+1,n)+t,{x:C,y:x}=e[d];for(p=h=-1,B=v;B<k;B++)h=.5*Math.abs((C-b)*(e[B].y-x)-(C-e[B].x)*(g-x)),h>p&&(p=h,f=e[B],m=B);o[l++]=f,d=m}return o[l++]=e[c],o}function MR(e,t,n,r){let a=0,i=0,o,A,l,c,d,u,f,p,h,m;const b=[],g=t+n-1,B=e[t].x,y=e[g].x-B;for(o=t;o<t+n;++o){A=e[o],l=(A.x-B)/y*r,c=A.y;const _=l|0;if(_===d)c<h?(h=c,u=o):c>m&&(m=c,f=o),a=(i*a+A.x)/++i;else{const v=o-1;if(!xe(u)&&!xe(f)){const k=Math.min(u,f),C=Math.max(u,f);k!==p&&k!==v&&b.push({...e[k],x:a}),C!==p&&C!==v&&b.push({...e[C],x:a})}o>0&&v!==p&&b.push(e[v]),b.push(A),d=_,i=0,h=m=c,u=f=p=o}}return b}function Pv(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function Nv(e){e.data.datasets.forEach(t=>{Pv(t)})}function PR(e,t){const n=t.length;let r=0,a;const{iScale:i}=e,{min:o,max:A,minDefined:l,maxDefined:c}=i.getUserBounds();return l&&(r=Kt(ca(t,i.axis,o).lo,0,n-1)),c?a=Kt(ca(t,i.axis,A).hi+1,r,n)-r:a=n-r,{start:r,count:a}}var NR={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){Nv(e);return}const r=e.width;e.data.datasets.forEach((a,i)=>{const{_data:o,indexAxis:A}=a,l=e.getDatasetMeta(i),c=o||a.data;if(ut([A,e.options.indexAxis])==="y"||!l.controller.supportsDecimation)return;const d=e.scales[l.xAxisID];if(d.type!=="linear"&&d.type!=="time"||e.options.parsing)return;let{start:u,count:f}=PR(l,c);const p=n.threshold||4*r;if(f<=p){Pv(a);return}xe(o)&&(a._data=c,delete a.data,Object.defineProperty(a,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(m){this._data=m}}));let h;switch(n.algorithm){case"lttb":h=QR(c,u,f,r,n);break;case"min-max":h=MR(c,u,f,r);break;default:throw new Error(`Unsupported decimation algorithm '${n.algorithm}'`)}a._decimated=h})},destroy(e){Nv(e)}};function RR(e,t,n){const r=e.segments,a=e.points,i=t.points,o=[];for(const A of r){let{start:l,end:c}=A;c=Bd(l,c,a);const d=hm(n,a[l],a[c],A.loop);if(!t.segments){o.push({source:A,target:d,start:a[l],end:a[c]});continue}const u=RB(t,d);for(const f of u){const p=hm(n,i[f.start],i[f.end],f.loop),h=NB(A,a,p);for(const m of h)o.push({source:m,target:f,start:{[n]:Rv(d,p,"start",Math.max)},end:{[n]:Rv(d,p,"end",Math.min)}})}}return o}function hm(e,t,n,r){if(r)return;let a=t[e],i=n[e];return e==="angle"&&(a=rn(a),i=rn(i)),{property:e,start:a,end:i}}function HR(e,t){const{x:n=null,y:r=null}=e||{},a=t.points,i=[];return t.segments.forEach(({start:o,end:A})=>{A=Bd(o,A,a);const l=a[o],c=a[A];r!==null?(i.push({x:l.x,y:r}),i.push({x:c.x,y:r})):n!==null&&(i.push({x:n,y:l.y}),i.push({x:n,y:c.y}))}),i}function Bd(e,t,n){for(;t>e;t--){const r=n[t];if(!isNaN(r.x)&&!isNaN(r.y))break}return t}function Rv(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function Hv(e,t){let n=[],r=!1;return Ve(e)?(r=!0,n=e):n=HR(e,t),n.length?new ai({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function Vv(e){return e&&e.fill!==!1}function VR(e,t,n){let a=e[t].fill;const i=[t];let o;if(!n)return a;for(;a!==!1&&i.indexOf(a)===-1;){if(!gt(a))return a;if(o=e[a],!o)return!1;if(o.visible)return a;i.push(a),a=o.fill}return!1}function zR(e,t,n){const r=GR(e);if(Ee(r))return isNaN(r.value)?!1:r;let a=parseFloat(r);return gt(a)&&Math.floor(a)===a?$R(r[0],t,a,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function $R(e,t,n,r){return(e==="-"||e==="+")&&(n=t+n),n===t||n<0||n>=r?!1:n}function KR(e,t){let n=null;return e==="start"?n=t.bottom:e==="end"?n=t.top:Ee(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function WR(e,t,n){let r;return e==="start"?r=n:e==="end"?r=t.options.reverse?t.min:t.max:Ee(e)?r=e.value:r=t.getBaseValue(),r}function GR(e){const t=e.options,n=t.fill;let r=he(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?"origin":r}function jR(e){const{scale:t,index:n,line:r}=e,a=[],i=r.segments,o=r.points,A=YR(t,n);A.push(Hv({x:null,y:t.bottom},r));for(let l=0;l<i.length;l++){const c=i[l];for(let d=c.start;d<=c.end;d++)qR(a,o[d],A)}return new ai({points:a,options:{}})}function YR(e,t){const n=[],r=e.getMatchingVisibleMetas("line");for(let a=0;a<r.length;a++){const i=r[a];if(i.index===t)break;i.hidden||n.unshift(i.dataset)}return n}function qR(e,t,n){const r=[];for(let a=0;a<n.length;a++){const i=n[a],{first:o,last:A,point:l}=XR(i,t,"x");if(!(!l||o&&A)){if(o)r.unshift(l);else if(e.push(l),!A)break}}e.push(...r)}function XR(e,t,n){const r=e.interpolate(t,n);if(!r)return{};const a=r[n],i=e.segments,o=e.points;let A=!1,l=!1;for(let c=0;c<i.length;c++){const d=i[c],u=o[d.start][n],f=o[d.end][n];if(la(a,u,f)){A=a===u,l=a===f;break}}return{first:A,last:l,point:r}}class zv{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,n,r){const{x:a,y:i,radius:o}=this;return n=n||{start:0,end:at},t.arc(a,i,o,n.end,n.start,!0),!r.bounds}interpolate(t){const{x:n,y:r,radius:a}=this,i=t.angle;return{x:n+Math.cos(i)*a,y:r+Math.sin(i)*a,angle:i}}}function JR(e){const{chart:t,fill:n,line:r}=e;if(gt(n))return ZR(t,n);if(n==="stack")return jR(e);if(n==="shape")return!0;const a=eH(e);return a instanceof zv?a:Hv(a,r)}function ZR(e,t){const n=e.getDatasetMeta(t);return n&&e.isDatasetVisible(t)?n.dataset:null}function eH(e){return(e.scale||{}).getPointPositionForValue?nH(e):tH(e)}function tH(e){const{scale:t={},fill:n}=e,r=KR(n,t);if(gt(r)){const a=t.isHorizontal();return{x:a?r:null,y:a?null:r}}return null}function nH(e){const{scale:t,fill:n}=e,r=t.options,a=t.getLabels().length,i=r.reverse?t.max:t.min,o=WR(n,t,i),A=[];if(r.grid.circular){const l=t.getPointPositionForValue(0,i);return new zv({x:l.x,y:l.y,radius:t.getDistanceFromCenterForValue(o)})}for(let l=0;l<a;++l)A.push(t.getPointPositionForValue(l,o));return A}function mm(e,t,n){const r=JR(t),{chart:a,index:i,line:o,scale:A,axis:l}=t,c=o.options,d=c.fill,u=c.backgroundColor,{above:f=u,below:p=u}=d||{},h=a.getDatasetMeta(i),m=zB(a,h);r&&o.points.length&&(OA(e,n),rH(e,{line:o,target:r,above:f,below:p,area:n,scale:A,axis:l,clip:m}),QA(e))}function rH(e,t){const{line:n,target:r,above:a,below:i,area:o,scale:A,clip:l}=t,c=n._loop?"angle":t.axis;e.save();let d=i;i!==a&&(c==="x"?($v(e,r,o.top),gm(e,{line:n,target:r,color:a,scale:A,property:c,clip:l}),e.restore(),e.save(),$v(e,r,o.bottom)):c==="y"&&(Kv(e,r,o.left),gm(e,{line:n,target:r,color:i,scale:A,property:c,clip:l}),e.restore(),e.save(),Kv(e,r,o.right),d=a)),gm(e,{line:n,target:r,color:d,scale:A,property:c,clip:l}),e.restore()}function $v(e,t,n){const{segments:r,points:a}=t;let i=!0,o=!1;e.beginPath();for(const A of r){const{start:l,end:c}=A,d=a[l],u=a[Bd(l,c,a)];i?(e.moveTo(d.x,d.y),i=!1):(e.lineTo(d.x,n),e.lineTo(d.x,d.y)),o=!!t.pathSegment(e,A,{move:o}),o?e.closePath():e.lineTo(u.x,n)}e.lineTo(t.first().x,n),e.closePath(),e.clip()}function Kv(e,t,n){const{segments:r,points:a}=t;let i=!0,o=!1;e.beginPath();for(const A of r){const{start:l,end:c}=A,d=a[l],u=a[Bd(l,c,a)];i?(e.moveTo(d.x,d.y),i=!1):(e.lineTo(n,d.y),e.lineTo(d.x,d.y)),o=!!t.pathSegment(e,A,{move:o}),o?e.closePath():e.lineTo(n,u.y)}e.lineTo(n,t.first().y),e.closePath(),e.clip()}function gm(e,t){const{line:n,target:r,property:a,color:i,scale:o,clip:A}=t,l=RR(n,r,a);for(const{source:c,target:d,start:u,end:f}of l){const{style:{backgroundColor:p=i}={}}=c,h=r!==!0;e.save(),e.fillStyle=p,aH(e,o,A,h&&hm(a,u,f)),e.beginPath();const m=!!n.pathSegment(e,c);let b;if(h){m?e.closePath():Wv(e,r,f,a);const g=!!r.pathSegment(e,d,{move:m,reverse:!0});b=m&&g,b||Wv(e,r,u,a)}e.closePath(),e.fill(b?"evenodd":"nonzero"),e.restore()}}function aH(e,t,n,r){const a=t.chart.chartArea,{property:i,start:o,end:A}=r||{};if(i==="x"||i==="y"){let l,c,d,u;i==="x"?(l=o,c=a.top,d=A,u=a.bottom):(l=a.left,c=o,d=a.right,u=A),e.beginPath(),n&&(l=Math.max(l,n.left),d=Math.min(d,n.right),c=Math.max(c,n.top),u=Math.min(u,n.bottom)),e.rect(l,c,d-l,u-c),e.clip()}}function Wv(e,t,n,r){const a=t.interpolate(n,r);a&&e.lineTo(a.x,a.y)}var iH={id:"filler",afterDatasetsUpdate(e,t,n){const r=(e.data.datasets||[]).length,a=[];let i,o,A,l;for(o=0;o<r;++o)i=e.getDatasetMeta(o),A=i.dataset,l=null,A&&A.options&&A instanceof ai&&(l={visible:e.isDatasetVisible(o),index:o,fill:zR(A,o,r),chart:e,axis:i.controller.options.indexAxis,scale:i.vScale,line:A}),i.$filler=l,a.push(l);for(o=0;o<r;++o)l=a[o],!(!l||l.fill===!1)&&(l.fill=VR(a,o,n.propagate))},beforeDraw(e,t,n){const r=n.drawTime==="beforeDraw",a=e.getSortedVisibleDatasetMetas(),i=e.chartArea;for(let o=a.length-1;o>=0;--o){const A=a[o].$filler;A&&(A.line.updateControlPoints(i,A.axis),r&&A.fill&&mm(e.ctx,A,i))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!=="beforeDatasetsDraw")return;const r=e.getSortedVisibleDatasetMetas();for(let a=r.length-1;a>=0;--a){const i=r[a].$filler;Vv(i)&&mm(e.ctx,i,e.chartArea)}},beforeDatasetDraw(e,t,n){const r=t.meta.$filler;!Vv(r)||n.drawTime!=="beforeDatasetDraw"||mm(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Gv=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},oH=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class jv extends yn{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n,r){this.maxWidth=t,this.maxHeight=n,this._margins=r,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let n=We(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter(r=>t.filter(r,this.chart.data))),t.sort&&(n=n.sort((r,a)=>t.sort(r,a,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:t,ctx:n}=this;if(!t.display){this.width=this.height=0;return}const r=t.labels,a=yt(r.font),i=a.size,o=this._computeTitleHeight(),{boxWidth:A,itemHeight:l}=Gv(r,i);let c,d;n.font=a.string,this.isHorizontal()?(c=this.maxWidth,d=this._fitRows(o,i,A,l)+10):(d=this.maxHeight,c=this._fitCols(o,a,A,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(d,t.maxHeight||this.maxHeight)}_fitRows(t,n,r,a){const{ctx:i,maxWidth:o,options:{labels:{padding:A}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],d=a+A;let u=t;i.textAlign="left",i.textBaseline="middle";let f=-1,p=-d;return this.legendItems.forEach((h,m)=>{const b=r+n/2+i.measureText(h.text).width;(m===0||c[c.length-1]+b+2*A>o)&&(u+=d,c[c.length-(m>0?0:1)]=0,p+=d,f++),l[m]={left:0,top:p,row:f,width:b,height:a},c[c.length-1]+=b+A}),u}_fitCols(t,n,r,a){const{ctx:i,maxHeight:o,options:{labels:{padding:A}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],d=o-t;let u=A,f=0,p=0,h=0,m=0;return this.legendItems.forEach((b,g)=>{const{itemWidth:B,itemHeight:w}=sH(r,n,i,b,a);g>0&&p+w+2*A>d&&(u+=f+A,c.push({width:f,height:p}),h+=f+A,m++,f=p=0),l[g]={left:h,top:p,col:m,width:B,height:w},f=Math.max(f,B),p+=w+A}),u+=f,c.push({width:f,height:p}),u}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:r,labels:{padding:a},rtl:i}}=this,o=ss(i,this.left,this.width);if(this.isHorizontal()){let A=0,l=an(r,this.left+a,this.right-this.lineWidths[A]);for(const c of n)A!==c.row&&(A=c.row,l=an(r,this.left+a,this.right-this.lineWidths[A])),c.top+=this.top+t+a,c.left=o.leftForLtr(o.x(l),c.width),l+=c.width+a}else{let A=0,l=an(r,this.top+t+a,this.bottom-this.columnSizes[A].height);for(const c of n)c.col!==A&&(A=c.col,l=an(r,this.top+t+a,this.bottom-this.columnSizes[A].height)),c.top=l,c.left+=this.left+a,c.left=o.leftForLtr(o.x(c.left),c.width),l+=c.height+a}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;OA(t,this),this._draw(),QA(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:r,ctx:a}=this,{align:i,labels:o}=t,A=it.color,l=ss(t.rtl,this.left,this.width),c=yt(o.font),{padding:d}=o,u=c.size,f=u/2;let p;this.drawTitle(),a.textAlign=l.textAlign("left"),a.textBaseline="middle",a.lineWidth=.5,a.font=c.string;const{boxWidth:h,boxHeight:m,itemHeight:b}=Gv(o,u),g=function(v,k,C){if(isNaN(h)||h<=0||isNaN(m)||m<0)return;a.save();const x=he(C.lineWidth,1);if(a.fillStyle=he(C.fillStyle,A),a.lineCap=he(C.lineCap,"butt"),a.lineDashOffset=he(C.lineDashOffset,0),a.lineJoin=he(C.lineJoin,"miter"),a.lineWidth=x,a.strokeStyle=he(C.strokeStyle,A),a.setLineDash(he(C.lineDash,[])),o.usePointStyle){const U={radius:m*Math.SQRT2/2,pointStyle:C.pointStyle,rotation:C.rotation,borderWidth:x},D=l.xPlus(v,h/2),F=k+f;_B(a,U,D,F,o.pointStyleWidth&&h)}else{const U=k+Math.max((u-m)/2,0),D=l.leftForLtr(v,h),F=ti(C.borderRadius);a.beginPath(),Object.values(F).some(L=>L!==0)?as(a,{x:D,y:U,w:h,h:m,radius:F}):a.rect(D,U,h,m),a.fill(),x!==0&&a.stroke()}a.restore()},B=function(v,k,C){qi(a,C.text,v,k+b/2,c,{strikethrough:C.hidden,textAlign:l.textAlign(C.textAlign)})},w=this.isHorizontal(),y=this._computeTitleHeight();w?p={x:an(i,this.left+d,this.right-r[0]),y:this.top+d+y,line:0}:p={x:this.left+d,y:an(i,this.top+y+d,this.bottom-n[0].height),line:0},OB(this.ctx,t.textDirection);const _=b+d;this.legendItems.forEach((v,k)=>{a.strokeStyle=v.fontColor,a.fillStyle=v.fontColor;const C=a.measureText(v.text).width,x=l.textAlign(v.textAlign||(v.textAlign=o.textAlign)),U=h+f+C;let D=p.x,F=p.y;l.setWidth(this.width),w?k>0&&D+U+d>this.right&&(F=p.y+=_,p.line++,D=p.x=an(i,this.left+d,this.right-r[p.line])):k>0&&F+_>this.bottom&&(D=p.x=D+n[p.line].width+d,p.line++,F=p.y=an(i,this.top+y+d,this.bottom-n[p.line].height));const L=l.x(D);if(g(L,F,v),D=EM(x,D+h+f,w?D+U:this.right,t.rtl),B(l.x(D),F,v),w)p.x+=U+d;else if(typeof v.text!="string"){const G=c.lineHeight;p.y+=Yv(v,G)+d}else p.y+=_}),QB(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,r=yt(n.font),a=Ft(n.padding);if(!n.display)return;const i=ss(t.rtl,this.left,this.width),o=this.ctx,A=n.position,l=r.size/2,c=a.top+l;let d,u=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),d=this.top+c,u=an(t.align,u,this.right-f);else{const h=this.columnSizes.reduce((m,b)=>Math.max(m,b.height),0);d=c+an(t.align,this.top,this.bottom-h-t.labels.padding-this._computeTitleHeight())}const p=an(A,u,u+f);o.textAlign=i.textAlign(Hh(A)),o.textBaseline="middle",o.strokeStyle=n.color,o.fillStyle=n.color,o.font=r.string,qi(o,n.text,p,d,r)}_computeTitleHeight(){const t=this.options.title,n=yt(t.font),r=Ft(t.padding);return t.display?n.lineHeight+r.height:0}_getLegendItemAt(t,n){let r,a,i;if(la(t,this.left,this.right)&&la(n,this.top,this.bottom)){for(i=this.legendHitBoxes,r=0;r<i.length;++r)if(a=i[r],la(t,a.left,a.left+a.width)&&la(n,a.top,a.top+a.height))return this.legendItems[r]}return null}handleEvent(t){const n=this.options;if(!cH(t.type,n))return;const r=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const a=this._hoveredItem,i=oH(a,r);a&&!i&&We(n.onLeave,[t,a,this],this),this._hoveredItem=r,r&&!i&&We(n.onHover,[t,r,this],this)}else r&&We(n.onClick,[t,r,this],this)}}function sH(e,t,n,r,a){const i=AH(r,e,t,n),o=lH(a,r,t.lineHeight);return{itemWidth:i,itemHeight:o}}function AH(e,t,n,r){let a=e.text;return a&&typeof a!="string"&&(a=a.reduce((i,o)=>i.length>o.length?i:o)),t+n.size/2+r.measureText(a).width}function lH(e,t,n){let r=e;return typeof t.text!="string"&&(r=Yv(t,n)),r}function Yv(e,t){const n=e.text?e.text.length:0;return t*n}function cH(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var dH={id:"legend",_element:jv,start(e,t,n){const r=e.legend=new jv({ctx:e.ctx,options:n,chart:e});on.configure(e,r,n),on.addBox(e,r)},stop(e){on.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const r=e.legend;on.configure(e,r,n),r.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const r=t.datasetIndex,a=n.chart;a.isDatasetVisible(r)?(a.hide(r),t.hidden=!0):(a.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:a,color:i,useBorderRadius:o,borderRadius:A}}=e.legend.options;return e._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(n?0:void 0),d=Ft(c.borderWidth);return{text:t[l.index].label,fillStyle:c.backgroundColor,fontColor:i,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(d.width+d.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:a||c.textAlign,borderRadius:o&&(A||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class ym extends yn{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n){const r=this.options;if(this.left=0,this.top=0,!r.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=n;const a=Ve(r.text)?r.text.length:1;this._padding=Ft(r.padding);const i=a*yt(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:n,left:r,bottom:a,right:i,options:o}=this,A=o.align;let l=0,c,d,u;return this.isHorizontal()?(d=an(A,r,i),u=n+t,c=i-r):(o.position==="left"?(d=r+t,u=an(A,a,n),l=Ce*-.5):(d=i-t,u=an(A,n,a),l=Ce*.5),c=a-n),{titleX:d,titleY:u,maxWidth:c,rotation:l}}draw(){const t=this.ctx,n=this.options;if(!n.display)return;const r=yt(n.font),i=r.lineHeight/2+this._padding.top,{titleX:o,titleY:A,maxWidth:l,rotation:c}=this._drawArgs(i);qi(t,n.text,0,0,r,{color:n.color,maxWidth:l,rotation:c,textAlign:Hh(n.align),textBaseline:"middle",translation:[o,A]})}}function uH(e,t){const n=new ym({ctx:e.ctx,options:t,chart:e});on.configure(e,n,t),on.addBox(e,n),e.titleBlock=n}var fH={id:"title",_element:ym,start(e,t,n){uH(e,n)},stop(e){const t=e.titleBlock;on.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const r=e.titleBlock;on.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const vd=new WeakMap;var pH={id:"subtitle",start(e,t,n){const r=new ym({ctx:e.ctx,options:n,chart:e});on.configure(e,r,n),on.addBox(e,r),vd.set(e,r)},stop(e){on.removeBox(e,vd.get(e)),vd.delete(e)},beforeUpdate(e,t,n){const r=vd.get(e);on.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const jA={average(e){if(!e.length)return!1;let t,n,r=new Set,a=0,i=0;for(t=0,n=e.length;t<n;++t){const A=e[t].element;if(A&&A.hasValue()){const l=A.tooltipPosition();r.add(l.x),a+=l.y,++i}}return i===0||r.size===0?!1:{x:[...r].reduce((A,l)=>A+l)/r.size,y:a/i}},nearest(e,t){if(!e.length)return!1;let n=t.x,r=t.y,a=Number.POSITIVE_INFINITY,i,o,A;for(i=0,o=e.length;i<o;++i){const l=e[i].element;if(l&&l.hasValue()){const c=l.getCenterPoint(),d=rs(t,c);d<a&&(a=d,A=l)}}if(A){const l=A.tooltipPosition();n=l.x,r=l.y}return{x:n,y:r}}};function Qr(e,t){return t&&(Ve(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function fa(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(`
|
|
671
671
|
`)>-1?e.split(`
|
|
672
|
-
`):e}function hH(e,t){const{element:n,datasetIndex:r,index:a}=t,i=e.getDatasetMeta(r).controller,{label:o,value:A}=i.getLabelAndValue(a);return{chart:e,label:o,parsed:i.getParsed(a),raw:e.data.datasets[r].data[a],formattedValue:A,dataset:i.getDataset(),dataIndex:a,datasetIndex:r,element:n}}function qv(e,t){const n=e.chart.ctx,{body:r,footer:a,title:i}=e,{boxWidth:o,boxHeight:A}=t,l=yt(t.bodyFont),c=yt(t.titleFont),d=yt(t.footerFont),u=i.length,f=a.length,p=r.length,h=Ft(t.padding);let m=h.height,b=0,g=r.reduce((y,_)=>y+_.before.length+_.lines.length+_.after.length,0);if(g+=e.beforeBody.length+e.afterBody.length,u&&(m+=u*c.lineHeight+(u-1)*t.titleSpacing+t.titleMarginBottom),g){const y=t.displayColors?Math.max(A,l.lineHeight):l.lineHeight;m+=p*y+(g-p)*l.lineHeight+(g-1)*t.bodySpacing}f&&(m+=t.footerMarginTop+f*d.lineHeight+(f-1)*t.footerSpacing);let B=0;const w=function(y){b=Math.max(b,n.measureText(y).width+B)};return n.save(),n.font=c.string,je(e.title,w),n.font=l.string,je(e.beforeBody.concat(e.afterBody),w),B=t.displayColors?o+2+t.boxPadding:0,je(r,y=>{je(y.before,w),je(y.lines,w),je(y.after,w)}),B=0,n.font=d.string,je(e.footer,w),n.restore(),b+=h.width,{width:b,height:m}}function mH(e,t){const{y:n,height:r}=t;return n<r/2?"top":n>e.height-r/2?"bottom":"center"}function gH(e,t,n,r){const{x:a,width:i}=r,o=n.caretSize+n.caretPadding;if(e==="left"&&a+i+o>t.width||e==="right"&&a-i-o<0)return!0}function yH(e,t,n,r){const{x:a,width:i}=n,{width:o,chartArea:{left:A,right:l}}=e;let c="center";return r==="center"?c=a<=(A+l)/2?"left":"right":a<=i/2?c="left":a>=o-i/2&&(c="right"),gH(c,e,t,n)&&(c="center"),c}function Xv(e,t,n){const r=n.yAlign||t.yAlign||mH(e,n);return{xAlign:n.xAlign||t.xAlign||yH(e,t,n,r),yAlign:r}}function bH(e,t){let{x:n,width:r}=e;return t==="right"?n-=r:t==="center"&&(n-=r/2),n}function wH(e,t,n){let{y:r,height:a}=e;return t==="top"?r+=n:t==="bottom"?r-=a+n:r-=a/2,r}function Jv(e,t,n,r){const{caretSize:a,caretPadding:i,cornerRadius:o}=e,{xAlign:A,yAlign:l}=n,c=a+i,{topLeft:d,topRight:u,bottomLeft:f,bottomRight:p}=ti(o);let h=bH(t,A);const m=wH(t,l,c);return l==="center"?A==="left"?h+=c:A==="right"&&(h-=c):A==="left"?h-=Math.max(d,f)+a:A==="right"&&(h+=Math.max(u,p)+a),{x:Kt(h,0,r.width-t.width),y:Kt(m,0,r.height-t.height)}}function _d(e,t,n){const r=Ft(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function Zv(e){return Qr([],fa(e))}function BH(e,t,n){return ni(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function e_(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const t_={beforeTitle:Aa,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return""},afterTitle:Aa,beforeBody:Aa,beforeLabel:Aa,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return xe(n)||(t+=n),t},labelColor(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:Aa,afterBody:Aa,beforeFooter:Aa,footer:Aa,afterFooter:Aa};function xn(e,t,n,r){const a=e[t].call(n,r);return typeof a>"u"?t_[t].call(n,r):a}class bm extends yn{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,r=this.options.setContext(this.getContext()),a=r.enabled&&n.options.animation&&r.animations,i=new Zh(this.chart,a);return a._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=BH(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:r}=n,a=xn(r,"beforeTitle",this,t),i=xn(r,"title",this,t),o=xn(r,"afterTitle",this,t);let A=[];return A=Qr(A,fa(a)),A=Qr(A,fa(i)),A=Qr(A,fa(o)),A}getBeforeBody(t,n){return Zv(xn(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:r}=n,a=[];return je(t,i=>{const o={before:[],lines:[],after:[]},A=e_(r,i);Qr(o.before,fa(xn(A,"beforeLabel",this,i))),Qr(o.lines,xn(A,"label",this,i)),Qr(o.after,fa(xn(A,"afterLabel",this,i))),a.push(o)}),a}getAfterBody(t,n){return Zv(xn(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:r}=n,a=xn(r,"beforeFooter",this,t),i=xn(r,"footer",this,t),o=xn(r,"afterFooter",this,t);let A=[];return A=Qr(A,fa(a)),A=Qr(A,fa(i)),A=Qr(A,fa(o)),A}_createItems(t){const n=this._active,r=this.chart.data,a=[],i=[],o=[];let A=[],l,c;for(l=0,c=n.length;l<c;++l)A.push(hH(this.chart,n[l]));return t.filter&&(A=A.filter((d,u,f)=>t.filter(d,u,f,r))),t.itemSort&&(A=A.sort((d,u)=>t.itemSort(d,u,r))),je(A,d=>{const u=e_(t.callbacks,d);a.push(xn(u,"labelColor",this,d)),i.push(xn(u,"labelPointStyle",this,d)),o.push(xn(u,"labelTextColor",this,d))}),this.labelColors=a,this.labelPointStyles=i,this.labelTextColors=o,this.dataPoints=A,A}update(t,n){const r=this.options.setContext(this.getContext()),a=this._active;let i,o=[];if(!a.length)this.opacity!==0&&(i={opacity:0});else{const A=jA[r.position].call(this,a,this._eventPosition);o=this._createItems(r),this.title=this.getTitle(o,r),this.beforeBody=this.getBeforeBody(o,r),this.body=this.getBody(o,r),this.afterBody=this.getAfterBody(o,r),this.footer=this.getFooter(o,r);const l=this._size=qv(this,r),c=Object.assign({},A,l),d=Xv(this.chart,r,c),u=Jv(r,c,d,this.chart);this.xAlign=d.xAlign,this.yAlign=d.yAlign,i={opacity:1,x:u.x,y:u.y,width:l.width,height:l.height,caretX:A.x,caretY:A.y}}this._tooltipItems=o,this.$context=void 0,i&&this._resolveAnimations().update(this,i),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,r,a){const i=this.getCaretPosition(t,r,a);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(t,n,r){const{xAlign:a,yAlign:i}=this,{caretSize:o,cornerRadius:A}=r,{topLeft:l,topRight:c,bottomLeft:d,bottomRight:u}=ti(A),{x:f,y:p}=t,{width:h,height:m}=n;let b,g,B,w,y,_;return i==="center"?(y=p+m/2,a==="left"?(b=f,g=b-o,w=y+o,_=y-o):(b=f+h,g=b+o,w=y-o,_=y+o),B=b):(a==="left"?g=f+Math.max(l,d)+o:a==="right"?g=f+h-Math.max(c,u)-o:g=this.caretX,i==="top"?(w=p,y=w-o,b=g-o,B=g+o):(w=p+m,y=w+o,b=g+o,B=g-o),_=w),{x1:b,x2:g,x3:B,y1:w,y2:y,y3:_}}drawTitle(t,n,r){const a=this.title,i=a.length;let o,A,l;if(i){const c=ss(r.rtl,this.x,this.width);for(t.x=_d(this,r.titleAlign,r),n.textAlign=c.textAlign(r.titleAlign),n.textBaseline="middle",o=yt(r.titleFont),A=r.titleSpacing,n.fillStyle=r.titleColor,n.font=o.string,l=0;l<i;++l)n.fillText(a[l],c.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+A,l+1===i&&(t.y+=r.titleMarginBottom-A)}}_drawColorBox(t,n,r,a,i){const o=this.labelColors[r],A=this.labelPointStyles[r],{boxHeight:l,boxWidth:c}=i,d=yt(i.bodyFont),u=_d(this,"left",i),f=a.x(u),p=l<d.lineHeight?(d.lineHeight-l)/2:0,h=n.y+p;if(i.usePointStyle){const m={radius:Math.min(c,l)/2,pointStyle:A.pointStyle,rotation:A.rotation,borderWidth:1},b=a.leftForLtr(f,c)+c/2,g=h+l/2;t.strokeStyle=i.multiKeyBackground,t.fillStyle=i.multiKeyBackground,Wh(t,m,b,g),t.strokeStyle=o.borderColor,t.fillStyle=o.backgroundColor,Wh(t,m,b,g)}else{t.lineWidth=Ee(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1,t.strokeStyle=o.borderColor,t.setLineDash(o.borderDash||[]),t.lineDashOffset=o.borderDashOffset||0;const m=a.leftForLtr(f,c),b=a.leftForLtr(a.xPlus(f,1),c-2),g=ti(o.borderRadius);Object.values(g).some(B=>B!==0)?(t.beginPath(),t.fillStyle=i.multiKeyBackground,as(t,{x:m,y:h,w:c,h:l,radius:g}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),as(t,{x:b,y:h+1,w:c-2,h:l-2,radius:g}),t.fill()):(t.fillStyle=i.multiKeyBackground,t.fillRect(m,h,c,l),t.strokeRect(m,h,c,l),t.fillStyle=o.backgroundColor,t.fillRect(b,h+1,c-2,l-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,n,r){const{body:a}=this,{bodySpacing:i,bodyAlign:o,displayColors:A,boxHeight:l,boxWidth:c,boxPadding:d}=r,u=yt(r.bodyFont);let f=u.lineHeight,p=0;const h=ss(r.rtl,this.x,this.width),m=function(C){n.fillText(C,h.x(t.x+p),t.y+f/2),t.y+=f+i},b=h.textAlign(o);let g,B,w,y,_,v,k;for(n.textAlign=o,n.textBaseline="middle",n.font=u.string,t.x=_d(this,b,r),n.fillStyle=r.bodyColor,je(this.beforeBody,m),p=A&&b!=="right"?o==="center"?c/2+d:c+2+d:0,y=0,v=a.length;y<v;++y){for(g=a[y],B=this.labelTextColors[y],n.fillStyle=B,je(g.before,m),w=g.lines,A&&w.length&&(this._drawColorBox(n,t,y,h,r),f=Math.max(u.lineHeight,l)),_=0,k=w.length;_<k;++_)m(w[_]),f=u.lineHeight;je(g.after,m)}p=0,f=u.lineHeight,je(this.afterBody,m),t.y-=i}drawFooter(t,n,r){const a=this.footer,i=a.length;let o,A;if(i){const l=ss(r.rtl,this.x,this.width);for(t.x=_d(this,r.footerAlign,r),t.y+=r.footerMarginTop,n.textAlign=l.textAlign(r.footerAlign),n.textBaseline="middle",o=yt(r.footerFont),n.fillStyle=r.footerColor,n.font=o.string,A=0;A<i;++A)n.fillText(a[A],l.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+r.footerSpacing}}drawBackground(t,n,r,a){const{xAlign:i,yAlign:o}=this,{x:A,y:l}=t,{width:c,height:d}=r,{topLeft:u,topRight:f,bottomLeft:p,bottomRight:h}=ti(a.cornerRadius);n.fillStyle=a.backgroundColor,n.strokeStyle=a.borderColor,n.lineWidth=a.borderWidth,n.beginPath(),n.moveTo(A+u,l),o==="top"&&this.drawCaret(t,n,r,a),n.lineTo(A+c-f,l),n.quadraticCurveTo(A+c,l,A+c,l+f),o==="center"&&i==="right"&&this.drawCaret(t,n,r,a),n.lineTo(A+c,l+d-h),n.quadraticCurveTo(A+c,l+d,A+c-h,l+d),o==="bottom"&&this.drawCaret(t,n,r,a),n.lineTo(A+p,l+d),n.quadraticCurveTo(A,l+d,A,l+d-p),o==="center"&&i==="left"&&this.drawCaret(t,n,r,a),n.lineTo(A,l+u),n.quadraticCurveTo(A,l,A+u,l),n.closePath(),n.fill(),a.borderWidth>0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,r=this.$animations,a=r&&r.x,i=r&&r.y;if(a||i){const o=jA[t.position].call(this,this._active,this._eventPosition);if(!o)return;const A=this._size=qv(this,t),l=Object.assign({},o,this._size),c=Xv(n,t,l),d=Jv(t,l,c,n);(a._to!==d.x||i._to!==d.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=A.width,this.height=A.height,this.caretX=o.x,this.caretY=o.y,this._resolveAnimations().update(this,d))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const a={width:this.width,height:this.height},i={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const o=Ft(n.padding),A=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&A&&(t.save(),t.globalAlpha=r,this.drawBackground(i,t,a,n),OB(t,n.textDirection),i.y+=o.top,this.drawTitle(i,t,n),this.drawBody(i,t,n),this.drawFooter(i,t,n),QB(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const r=this._active,a=t.map(({datasetIndex:A,index:l})=>{const c=this.chart.getDatasetMeta(A);if(!c)throw new Error("Cannot find a dataset at index "+A);return{datasetIndex:A,element:c.data[l],index:l}}),i=!qc(r,a),o=this._positionChanged(a,n);(i||o)&&(this._active=a,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const a=this.options,i=this._active||[],o=this._getActiveElements(t,i,n,r),A=this._positionChanged(o,t),l=n||!qc(o,i)||A;return l&&(this._active=o,(a.enabled||a.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),l}_getActiveElements(t,n,r,a){const i=this.options;if(t.type==="mouseout")return[];if(!a)return n.filter(A=>this.chart.data.datasets[A.datasetIndex]&&this.chart.getDatasetMeta(A.datasetIndex).controller.getParsed(A.index)!==void 0);const o=this.chart.getElementsAtEventForMode(t,i.mode,i,r);return i.reverse&&o.reverse(),o}_positionChanged(t,n){const{caretX:r,caretY:a,options:i}=this,o=jA[i.position].call(this,t,n);return o!==!1&&(r!==o.x||a!==o.y)}}Y(bm,"positioners",jA);var vH={id:"tooltip",_element:bm,positioners:jA,afterInit(e,t,n){n&&(e.tooltip=new bm({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:t_},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},_H=Object.freeze({__proto__:null,Colors:OR,Decimation:NR,Filler:iH,Legend:dH,SubTitle:pH,Title:fH,Tooltip:vH});const CH=(e,t,n,r)=>(typeof t=="string"?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function kH(e,t,n,r){const a=e.indexOf(t);if(a===-1)return CH(e,t,n,r);const i=e.lastIndexOf(t);return a!==i?n:a}const xH=(e,t)=>e===null?null:Kt(Math.round(e),0,t);function n_(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class wm extends no{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:a,label:i}of n)r[a]===i&&r.splice(a,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(xe(t))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===t?n:kH(r,t,he(n,t),this._addedLabels),xH(n,r.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:r,max:a}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(r=0),n||(a=this.getLabels().length-1)),this.min=r,this.max=a}buildTicks(){const t=this.min,n=this.max,r=this.options.offset,a=[];let i=this.getLabels();i=t===0&&n===i.length-1?i:i.slice(t,n+1),this._valueRange=Math.max(i.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let o=t;o<=n;o++)a.push({value:o});return a}getLabelForValue(t){return n_.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}Y(wm,"id","category"),Y(wm,"defaults",{ticks:{callback:n_}});function EH(e,t){const n=[],{bounds:a,step:i,min:o,max:A,precision:l,count:c,maxTicks:d,maxDigits:u,includeBounds:f}=e,p=i||1,h=d-1,{min:m,max:b}=t,g=!xe(o),B=!xe(A),w=!xe(c),y=(b-m)/(u+1);let _=oB((b-m)/h/p)*p,v,k,C,x;if(_<1e-14&&!g&&!B)return[{value:m},{value:b}];x=Math.ceil(b/_)-Math.floor(m/_),x>h&&(_=oB(x*_/h/p)*p),xe(l)||(v=Math.pow(10,l),_=Math.ceil(_*v)/v),a==="ticks"?(k=Math.floor(m/_)*_,C=Math.ceil(b/_)*_):(k=m,C=b),g&&B&&i&&w9((A-o)/i,_/1e3)?(x=Math.round(Math.min((A-o)/_,d)),_=(A-o)/x,k=o,C=A):w?(k=g?o:k,C=B?A:C,x=c-1,_=(C-k)/x):(x=(C-k)/_,IA(x,Math.round(x),_/1e3)?x=Math.round(x):x=Math.ceil(x));const U=Math.max(AB(_),AB(k));v=Math.pow(10,xe(l)?U:l),k=Math.round(k*v)/v,C=Math.round(C*v)/v;let D=0;for(g&&(f&&k!==o?(n.push({value:o}),k<o&&D++,IA(Math.round((k+D*_)*v)/v,o,r_(o,y,e))&&D++):k<o&&D++);D<x;++D){const F=Math.round((k+D*_)*v)/v;if(B&&F>A)break;n.push({value:F})}return B&&f&&C!==A?n.length&&IA(n[n.length-1].value,A,r_(A,y,e))?n[n.length-1].value=A:n.push({value:A}):(!B||C===A)&&n.push({value:C}),n}function r_(e,t,{horizontal:n,minRotation:r}){const a=Mt(r),i=(n?Math.sin(a):Math.cos(a))||.001,o=.75*t*(""+e).length;return Math.min(t/i,o)}class Cd extends no{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return xe(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:a,max:i}=this;const o=l=>a=n?a:l,A=l=>i=r?i:l;if(t){const l=Lr(a),c=Lr(i);l<0&&c<0?A(0):l>0&&c>0&&o(0)}if(a===i){let l=i===0?1:Math.abs(i*.05);A(i+l),t||o(a-l)}this.min=a,this.max=i}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=t,a;return r?(a=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,a>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${a} ticks. Limiting to 1000.`),a=1e3)):(a=this.computeTickLimit(),n=n||11),n&&(a=Math.min(n,a)),a}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const a={maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,o=EH(a,i);return t.bounds==="ticks"&&sB(o,this,"value"),t.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){const t=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){const a=(r-n)/Math.max(t.length-1,1)/2;n-=a,r+=a}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(t){return UA(t,this.chart.options.locale,this.options.ticks.format)}}class Bm extends Cd{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=gt(t)?t:0,this.max=gt(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,r=Mt(this.options.ticks.minRotation),a=(t?Math.sin(r):Math.cos(r))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/a))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}Y(Bm,"id","linear"),Y(Bm,"defaults",{ticks:{callback:nd.formatters.numeric}});const YA=e=>Math.floor(Za(e)),ro=(e,t)=>Math.pow(10,YA(e)+t);function a_(e){return e/Math.pow(10,YA(e))===1}function i_(e,t,n){const r=Math.pow(10,n),a=Math.floor(e/r);return Math.ceil(t/r)-a}function SH(e,t){const n=t-e;let r=YA(n);for(;i_(e,t,r)>10;)r++;for(;i_(e,t,r)<10;)r--;return Math.min(r,YA(e))}function FH(e,{min:t,max:n}){t=Rn(e.min,t);const r=[],a=YA(t);let i=SH(t,n),o=i<0?Math.pow(10,Math.abs(i)):1;const A=Math.pow(10,i),l=a>i?Math.pow(10,a):0,c=Math.round((t-l)*o)/o,d=Math.floor((t-l)/A/10)*A*10;let u=Math.floor((c-d)/Math.pow(10,i)),f=Rn(e.min,Math.round((l+d+u*Math.pow(10,i))*o)/o);for(;f<n;)r.push({value:f,major:a_(f),significand:u}),u>=10?u=u<15?15:20:u++,u>=20&&(i++,u=2,o=i>=0?1:o),f=Math.round((l+d+u*Math.pow(10,i))*o)/o;const p=Rn(e.max,f);return r.push({value:p,major:a_(p),significand:u}),r}class vm extends no{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,n){const r=Cd.prototype.parse.apply(this,[t,n]);if(r===0){this._zero=!0;return}return gt(r)&&r>0?r:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=gt(t)?Math.max(0,t):null,this.max=gt(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!gt(this._userMin)&&(this.min=t===ro(this.min,0)?ro(this.min,-1):ro(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let r=this.min,a=this.max;const i=A=>r=t?r:A,o=A=>a=n?a:A;r===a&&(r<=0?(i(1),o(10)):(i(ro(r,-1)),o(ro(a,1)))),r<=0&&i(ro(a,-1)),a<=0&&o(ro(r,1)),this.min=r,this.max=a}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},r=FH(n,this);return t.bounds==="ticks"&&sB(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(t){return t===void 0?"0":UA(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=Za(t),this._valueRange=Za(this.max)-Za(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(Za(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}Y(vm,"id","logarithmic"),Y(vm,"defaults",{ticks:{callback:nd.formatters.logarithmic,major:{enabled:!0}}});function _m(e){const t=e.ticks;if(t.display&&e.display){const n=Ft(t.backdropPadding);return he(t.font&&t.font.size,it.font.size)+n.height}return 0}function IH(e,t,n){return n=Ve(n)?n:[n],{w:M9(e,t.string,n),h:n.length*t.lineHeight}}function o_(e,t,n,r,a){return e===r||e===a?{start:t-n/2,end:t+n/2}:e<r||e>a?{start:t-n,end:t}:{start:t,end:t+n}}function DH(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],a=[],i=e._pointLabels.length,o=e.options.pointLabels,A=o.centerPointLabels?Ce/i:0;for(let l=0;l<i;l++){const c=o.setContext(e.getPointLabelContext(l));a[l]=c.padding;const d=e.getPointPosition(l,e.drawingArea+a[l],A),u=yt(c.font),f=IH(e.ctx,u,e._pointLabels[l]);r[l]=f;const p=rn(e.getIndexAngle(l)+A),h=Math.round(ed(p)),m=o_(h,d.x,f.w,0,180),b=o_(h,d.y,f.h,90,270);TH(n,t,p,m,b)}e.setCenterPoint(t.l-n.l,n.r-t.r,t.t-n.t,n.b-t.b),e._pointLabelItems=OH(e,r,a)}function TH(e,t,n,r,a){const i=Math.abs(Math.sin(n)),o=Math.abs(Math.cos(n));let A=0,l=0;r.start<t.l?(A=(t.l-r.start)/i,e.l=Math.min(e.l,t.l-A)):r.end>t.r&&(A=(r.end-t.r)/i,e.r=Math.max(e.r,t.r+A)),a.start<t.t?(l=(t.t-a.start)/o,e.t=Math.min(e.t,t.t-l)):a.end>t.b&&(l=(a.end-t.b)/o,e.b=Math.max(e.b,t.b+l))}function UH(e,t,n){const r=e.drawingArea,{extra:a,additionalAngle:i,padding:o,size:A}=n,l=e.getPointPosition(t,r+a+o,i),c=Math.round(ed(rn(l.angle+dt))),d=PH(l.y,A.h,c),u=QH(c),f=MH(l.x,A.w,u);return{visible:!0,x:l.x,y:d,textAlign:u,left:f,top:d,right:f+A.w,bottom:d+A.h}}function LH(e,t){if(!t)return!0;const{left:n,top:r,right:a,bottom:i}=e;return!(da({x:n,y:r},t)||da({x:n,y:i},t)||da({x:a,y:r},t)||da({x:a,y:i},t))}function OH(e,t,n){const r=[],a=e._pointLabels.length,i=e.options,{centerPointLabels:o,display:A}=i.pointLabels,l={extra:_m(i)/2,additionalAngle:o?Ce/a:0};let c;for(let d=0;d<a;d++){l.padding=n[d],l.size=t[d];const u=UH(e,d,l);r.push(u),A==="auto"&&(u.visible=LH(u,c),u.visible&&(c=u))}return r}function QH(e){return e===0||e===180?"center":e<180?"left":"right"}function MH(e,t,n){return n==="right"?e-=t:n==="center"&&(e-=t/2),e}function PH(e,t,n){return n===90||n===270?e-=t/2:(n>270||n<90)&&(e-=t),e}function NH(e,t,n){const{left:r,top:a,right:i,bottom:o}=n,{backdropColor:A}=t;if(!xe(A)){const l=ti(t.borderRadius),c=Ft(t.backdropPadding);e.fillStyle=A;const d=r-c.left,u=a-c.top,f=i-r+c.width,p=o-a+c.height;Object.values(l).some(h=>h!==0)?(e.beginPath(),as(e,{x:d,y:u,w:f,h:p,radius:l}),e.fill()):e.fillRect(d,u,f,p)}}function RH(e,t){const{ctx:n,options:{pointLabels:r}}=e;for(let a=t-1;a>=0;a--){const i=e._pointLabelItems[a];if(!i.visible)continue;const o=r.setContext(e.getPointLabelContext(a));NH(n,o,i);const A=yt(o.font),{x:l,y:c,textAlign:d}=i;qi(n,e._pointLabels[a],l,c+A.lineHeight/2,A,{color:o.color,textAlign:d,textBaseline:"middle"})}}function s_(e,t,n,r){const{ctx:a}=e;if(n)a.arc(e.xCenter,e.yCenter,t,0,at);else{let i=e.getPointPosition(0,t);a.moveTo(i.x,i.y);for(let o=1;o<r;o++)i=e.getPointPosition(o,t),a.lineTo(i.x,i.y)}}function HH(e,t,n,r,a){const i=e.ctx,o=t.circular,{color:A,lineWidth:l}=t;!o&&!r||!A||!l||n<0||(i.save(),i.strokeStyle=A,i.lineWidth=l,i.setLineDash(a.dash||[]),i.lineDashOffset=a.dashOffset,i.beginPath(),s_(e,n,o,r),i.closePath(),i.stroke(),i.restore())}function VH(e,t,n){return ni(e,{label:n,index:t,type:"pointLabel"})}class qA extends Cd{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=Ft(_m(this.options)/2),n=this.width=this.maxWidth-t.width,r=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+n/2+t.left),this.yCenter=Math.floor(this.top+r/2+t.top),this.drawingArea=Math.floor(Math.min(n,r)/2)}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!1);this.min=gt(t)&&!isNaN(t)?t:0,this.max=gt(n)&&!isNaN(n)?n:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/_m(this.options))}generateTickLabels(t){Cd.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map((n,r)=>{const a=We(this.options.pointLabels.callback,[n,r],this);return a||a===0?a:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const t=this.options;t.display&&t.pointLabels.display?DH(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,r,a){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((r-a)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,r,a))}getIndexAngle(t){const n=at/(this._pointLabels.length||1),r=this.options.startAngle||0;return rn(t*n+Mt(r))}getDistanceFromCenterForValue(t){if(xe(t))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*n:(t-this.min)*n}getValueForDistanceFromCenter(t){if(xe(t))return NaN;const n=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(t){const n=this._pointLabels||[];if(t>=0&&t<n.length){const r=n[t];return VH(this.getContext(),t,r)}}getPointPosition(t,n,r=0){const a=this.getIndexAngle(t)-dt+r;return{x:Math.cos(a)*n+this.xCenter,y:Math.sin(a)*n+this.yCenter,angle:a}}getPointPositionForValue(t,n){return this.getPointPosition(t,this.getDistanceFromCenterForValue(n))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:n,top:r,right:a,bottom:i}=this._pointLabelItems[t];return{left:n,top:r,right:a,bottom:i}}drawBackground(){const{backgroundColor:t,grid:{circular:n}}=this.options;if(t){const r=this.ctx;r.save(),r.beginPath(),s_(this,this.getDistanceFromCenterForValue(this._endValue),n,this._pointLabels.length),r.closePath(),r.fillStyle=t,r.fill(),r.restore()}}drawGrid(){const t=this.ctx,n=this.options,{angleLines:r,grid:a,border:i}=n,o=this._pointLabels.length;let A,l,c;if(n.pointLabels.display&&RH(this,o),a.display&&this.ticks.forEach((d,u)=>{if(u!==0||u===0&&this.min<0){l=this.getDistanceFromCenterForValue(d.value);const f=this.getContext(u),p=a.setContext(f),h=i.setContext(f);HH(this,p,l,o,h)}}),r.display){for(t.save(),A=o-1;A>=0;A--){const d=r.setContext(this.getPointLabelContext(A)),{color:u,lineWidth:f}=d;!f||!u||(t.lineWidth=f,t.strokeStyle=u,t.setLineDash(d.borderDash),t.lineDashOffset=d.borderDashOffset,l=this.getDistanceFromCenterForValue(n.reverse?this.min:this.max),c=this.getPointPosition(A,l),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const a=this.getIndexAngle(0);let i,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(a),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((A,l)=>{if(l===0&&this.min>=0&&!n.reverse)return;const c=r.setContext(this.getContext(l)),d=yt(c.font);if(i=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=d.string,o=t.measureText(A.label).width,t.fillStyle=c.backdropColor;const u=Ft(c.backdropPadding);t.fillRect(-o/2-u.left,-i-d.size/2-u.top,o+u.width,d.size+u.height)}qi(t,A.label,0,-i,d,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),t.restore()}drawTitle(){}}Y(qA,"id","radialLinear"),Y(qA,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:nd.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),Y(qA,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),Y(qA,"descriptors",{angleLines:{_fallback:"grid"}});const kd={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},En=Object.keys(kd);function A_(e,t){return e-t}function l_(e,t){if(xe(t))return null;const n=e._adapter,{parser:r,round:a,isoWeekday:i}=e._parseOpts;let o=t;return typeof r=="function"&&(o=r(o)),gt(o)||(o=typeof r=="string"?n.parse(o,r):n.parse(o)),o===null?null:(a&&(o=a==="week"&&(ei(i)||i===!0)?n.startOf(o,"isoWeek",i):n.startOf(o,a)),+o)}function c_(e,t,n,r){const a=En.length;for(let i=En.indexOf(e);i<a-1;++i){const o=kd[En[i]],A=o.steps?o.steps:Number.MAX_SAFE_INTEGER;if(o.common&&Math.ceil((n-t)/(A*o.size))<=r)return En[i]}return En[a-1]}function zH(e,t,n,r,a){for(let i=En.length-1;i>=En.indexOf(n);i--){const o=En[i];if(kd[o].common&&e._adapter.diff(a,r,o)>=t-1)return o}return En[n?En.indexOf(n):0]}function $H(e){for(let t=En.indexOf(e)+1,n=En.length;t<n;++t)if(kd[En[t]].common)return En[t]}function d_(e,t,n){if(!n)e[t]=!0;else if(n.length){const{lo:r,hi:a}=Rh(n,t),i=n[r]>=t?n[r]:n[a];e[i]=!0}}function KH(e,t,n,r){const a=e._adapter,i=+a.startOf(t[0].value,r),o=t[t.length-1].value;let A,l;for(A=i;A<=o;A=+a.add(A,1,r))l=n[A],l>=0&&(t[l].major=!0);return t}function u_(e,t,n){const r=[],a={},i=t.length;let o,A;for(o=0;o<i;++o)A=t[o],a[A]=o,r.push({value:A,major:!1});return i===0||!n?r:KH(e,r,a,n)}class XA extends no{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,n={}){const r=t.time||(t.time={}),a=this._adapter=new tv._date(t.adapters.date);a.init(n),FA(r.displayFormats,a.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(t),this._normalized=n.normalized}parse(t,n){return t===void 0?null:l_(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,n=this._adapter,r=t.time.unit||"day";let{min:a,max:i,minDefined:o,maxDefined:A}=this.getUserBounds();function l(c){!o&&!isNaN(c.min)&&(a=Math.min(a,c.min)),!A&&!isNaN(c.max)&&(i=Math.max(i,c.max))}(!o||!A)&&(l(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&l(this.getMinMax(!1))),a=gt(a)&&!isNaN(a)?a:+n.startOf(Date.now(),r),i=gt(i)&&!isNaN(i)?i:+n.endOf(Date.now(),r)+1,this.min=Math.min(a,i-1),this.max=Math.max(a+1,i)}_getLabelBounds(){const t=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return t.length&&(n=t[0],r=t[t.length-1]),{min:n,max:r}}buildTicks(){const t=this.options,n=t.time,r=t.ticks,a=r.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&a.length&&(this.min=this._userMin||a[0],this.max=this._userMax||a[a.length-1]);const i=this.min,o=this.max,A=C9(a,i,o);return this._unit=n.unit||(r.autoSkip?c_(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):zH(this,A.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:$H(this._unit),this.initOffsets(a),t.reverse&&A.reverse(),u_(this,A,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let n=0,r=0,a,i;this.options.offset&&t.length&&(a=this.getDecimalForValue(t[0]),t.length===1?n=1-a:n=(this.getDecimalForValue(t[1])-a)/2,i=this.getDecimalForValue(t[t.length-1]),t.length===1?r=i:r=(i-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;n=Kt(n,0,o),r=Kt(r,0,o),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const t=this._adapter,n=this.min,r=this.max,a=this.options,i=a.time,o=i.unit||c_(i.minUnit,n,r,this._getLabelCapacity(n)),A=he(a.ticks.stepSize,1),l=o==="week"?i.isoWeekday:!1,c=ei(l)||l===!0,d={};let u=n,f,p;if(c&&(u=+t.startOf(u,"isoWeek",l)),u=+t.startOf(u,c?"day":o),t.diff(r,n,o)>1e5*A)throw new Error(n+" and "+r+" are too far apart with stepSize of "+A+" "+o);const h=a.ticks.source==="data"&&this.getDataTimestamps();for(f=u,p=0;f<r;f=+t.add(f,A,o),p++)d_(d,f,h);return(f===r||a.bounds==="ticks"||p===1)&&d_(d,f,h),Object.keys(d).sort(A_).map(m=>+m)}getLabelForValue(t){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(t,r.tooltipFormat):n.format(t,r.displayFormats.datetime)}format(t,n){const a=this.options.time.displayFormats,i=this._unit,o=n||a[i];return this._adapter.format(t,o)}_tickFormatFunction(t,n,r,a){const i=this.options,o=i.ticks.callback;if(o)return We(o,[t,n,r],this);const A=i.time.displayFormats,l=this._unit,c=this._majorUnit,d=l&&A[l],u=c&&A[c],f=r[n],p=c&&u&&f&&f.major;return this._adapter.format(t,a||(p?u:d))}generateTickLabels(t){let n,r,a;for(n=0,r=t.length;n<r;++n)a=t[n],a.label=this._tickFormatFunction(a.value,n,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const n=this._offsets,r=this.getDecimalForValue(t);return this.getPixelForDecimal((n.start+r)*n.factor)}getValueForPixel(t){const n=this._offsets,r=this.getDecimalForPixel(t)/n.factor-n.end;return this.min+r*(this.max-this.min)}_getLabelSize(t){const n=this.options.ticks,r=this.ctx.measureText(t).width,a=Mt(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(a),o=Math.sin(a),A=this._resolveTickFontOptions(0).size;return{w:r*i+A*o,h:r*o+A*i}}_getLabelCapacity(t){const n=this.options.time,r=n.displayFormats,a=r[n.unit]||r.millisecond,i=this._tickFormatFunction(t,0,u_(this,[t],this._majorUnit),a),o=this._getLabelSize(i),A=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return A>0?A:1}getDataTimestamps(){let t=this._cache.data||[],n,r;if(t.length)return t;const a=this.getMatchingVisibleMetas();if(this._normalized&&a.length)return this._cache.data=a[0].controller.getAllParsedValues(this);for(n=0,r=a.length;n<r;++n)t=t.concat(a[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let n,r;if(t.length)return t;const a=this.getLabels();for(n=0,r=a.length;n<r;++n)t.push(l_(this,a[n]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return uB(t.sort(A_))}}Y(XA,"id","time"),Y(XA,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function xd(e,t,n){let r=0,a=e.length-1,i,o,A,l;n?(t>=e[r].pos&&t<=e[a].pos&&({lo:r,hi:a}=ca(e,"pos",t)),{pos:i,time:A}=e[r],{pos:o,time:l}=e[a]):(t>=e[r].time&&t<=e[a].time&&({lo:r,hi:a}=ca(e,"time",t)),{time:i,pos:A}=e[r],{time:o,pos:l}=e[a]);const c=o-i;return c?A+(l-A)*(t-i)/c:A}class Cm extends XA{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=xd(n,this.min),this._tableRange=xd(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:r}=this,a=[],i=[];let o,A,l,c,d;for(o=0,A=t.length;o<A;++o)c=t[o],c>=n&&c<=r&&a.push(c);if(a.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(o=0,A=a.length;o<A;++o)d=a[o+1],l=a[o-1],c=a[o],Math.round((d+l)/2)!==c&&i.push({time:c,pos:o/(A-1)});return i}_generate(){const t=this.min,n=this.max;let r=super.getDataTimestamps();return(!r.includes(t)||!r.length)&&r.splice(0,0,t),(!r.includes(n)||r.length===1)&&r.push(n),r.sort((a,i)=>a-i)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?t=this.normalize(n.concat(r)):t=n.length?n:r,t=this._cache.all=t,t}getDecimalForValue(t){return(xd(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,r=this.getDecimalForPixel(t)/n.factor-n.end;return xd(this._table,r*this._tableRange+this._minPos,!0)}}Y(Cm,"id","timeseries"),Y(Cm,"defaults",XA.defaults);var WH=Object.freeze({__proto__:null,CategoryScale:wm,LinearScale:Bm,LogarithmicScale:vm,RadialLinearScale:qA,TimeScale:XA,TimeSeriesScale:Cm});const Mr=[ZP,SR,_H,WH];var GH=typeof global=="object"&&global&&global.Object===Object&&global;const f_=GH;var jH=typeof self=="object"&&self&&self.Object===Object&&self,YH=f_||jH||Function("return this")();const Pr=YH;var qH=Pr.Symbol;const oi=qH;var p_=Object.prototype,XH=p_.hasOwnProperty,JH=p_.toString,JA=oi?oi.toStringTag:void 0;function ZH(e){var t=XH.call(e,JA),n=e[JA];try{e[JA]=void 0;var r=!0}catch{}var a=JH.call(e);return r&&(t?e[JA]=n:delete e[JA]),a}var eV=Object.prototype,tV=eV.toString;function nV(e){return tV.call(e)}var rV="[object Null]",aV="[object Undefined]",h_=oi?oi.toStringTag:void 0;function ZA(e){return e==null?e===void 0?aV:rV:h_&&h_ in Object(e)?ZH(e):nV(e)}function ao(e){return e!=null&&typeof e=="object"}var iV=Array.isArray;const cs=iV;function el(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var oV="[object AsyncFunction]",sV="[object Function]",AV="[object GeneratorFunction]",lV="[object Proxy]";function m_(e){if(!el(e))return!1;var t=ZA(e);return t==sV||t==AV||t==oV||t==lV}var cV=Pr["__core-js_shared__"];const km=cV;var g_=function(){var e=/[^.]+$/.exec(km&&km.keys&&km.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function dV(e){return!!g_&&g_ in e}var uV=Function.prototype,fV=uV.toString;function io(e){if(e!=null){try{return fV.call(e)}catch{}try{return e+""}catch{}}return""}var pV=/[\\^$.*+?()[\]{}|]/g,hV=/^\[object .+?Constructor\]$/,mV=Function.prototype,gV=Object.prototype,yV=mV.toString,bV=gV.hasOwnProperty,wV=RegExp("^"+yV.call(bV).replace(pV,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function BV(e){if(!el(e)||dV(e))return!1;var t=m_(e)?wV:hV;return t.test(io(e))}function vV(e,t){return e==null?void 0:e[t]}function oo(e,t){var n=vV(e,t);return BV(n)?n:void 0}var _V=oo(Pr,"WeakMap");const xm=_V;var y_=Object.create,CV=function(){function e(){}return function(t){if(!el(t))return{};if(y_)return y_(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const kV=CV;function xV(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var EV=function(){try{var e=oo(Object,"defineProperty");return e({},"",{}),e}catch{}}();const b_=EV;function SV(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var FV=9007199254740991,IV=/^(?:0|[1-9]\d*)$/;function DV(e,t){var n=typeof e;return t=t??FV,!!t&&(n=="number"||n!="symbol"&&IV.test(e))&&e>-1&&e%1==0&&e<t}function w_(e,t,n){t=="__proto__"&&b_?b_(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Em(e,t){return e===t||e!==e&&t!==t}var TV=Object.prototype,UV=TV.hasOwnProperty;function B_(e,t,n){var r=e[t];(!(UV.call(e,t)&&Em(r,n))||n===void 0&&!(t in e))&&w_(e,t,n)}function Ed(e,t,n,r){var a=!n;n||(n={});for(var i=-1,o=t.length;++i<o;){var A=t[i],l=r?r(n[A],e[A],A,n,e):void 0;l===void 0&&(l=e[A]),a?w_(n,A,l):B_(n,A,l)}return n}var LV=9007199254740991;function v_(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=LV}function Sm(e){return e!=null&&v_(e.length)&&!m_(e)}var OV=Object.prototype;function Sd(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||OV;return e===n}function QV(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var MV="[object Arguments]";function __(e){return ao(e)&&ZA(e)==MV}var C_=Object.prototype,PV=C_.hasOwnProperty,NV=C_.propertyIsEnumerable,RV=__(function(){return arguments}())?__:function(e){return ao(e)&&PV.call(e,"callee")&&!NV.call(e,"callee")};const k_=RV;function HV(){return!1}var x_=typeof I=="object"&&I&&!I.nodeType&&I,E_=x_&&typeof module=="object"&&module&&!module.nodeType&&module,VV=E_&&E_.exports===x_,S_=VV?Pr.Buffer:void 0,zV=S_?S_.isBuffer:void 0,$V=zV||HV;const tl=$V;var KV="[object Arguments]",WV="[object Array]",GV="[object Boolean]",jV="[object Date]",YV="[object Error]",qV="[object Function]",XV="[object Map]",JV="[object Number]",ZV="[object Object]",ez="[object RegExp]",tz="[object Set]",nz="[object String]",rz="[object WeakMap]",az="[object ArrayBuffer]",iz="[object DataView]",oz="[object Float32Array]",sz="[object Float64Array]",Az="[object Int8Array]",lz="[object Int16Array]",cz="[object Int32Array]",dz="[object Uint8Array]",uz="[object Uint8ClampedArray]",fz="[object Uint16Array]",pz="[object Uint32Array]",ft={};ft[oz]=ft[sz]=ft[Az]=ft[lz]=ft[cz]=ft[dz]=ft[uz]=ft[fz]=ft[pz]=!0,ft[KV]=ft[WV]=ft[az]=ft[GV]=ft[iz]=ft[jV]=ft[YV]=ft[qV]=ft[XV]=ft[JV]=ft[ZV]=ft[ez]=ft[tz]=ft[nz]=ft[rz]=!1;function hz(e){return ao(e)&&v_(e.length)&&!!ft[ZA(e)]}function Fm(e){return function(t){return e(t)}}var F_=typeof I=="object"&&I&&!I.nodeType&&I,nl=F_&&typeof module=="object"&&module&&!module.nodeType&&module,mz=nl&&nl.exports===F_,Im=mz&&f_.process,gz=function(){try{var e=nl&&nl.require&&nl.require("util").types;return e||Im&&Im.binding&&Im.binding("util")}catch{}}();const ds=gz;var I_=ds&&ds.isTypedArray,yz=I_?Fm(I_):hz;const Dm=yz;var bz=Object.prototype,wz=bz.hasOwnProperty;function D_(e,t){var n=cs(e),r=!n&&k_(e),a=!n&&!r&&tl(e),i=!n&&!r&&!a&&Dm(e),o=n||r||a||i,A=o?QV(e.length,String):[],l=A.length;for(var c in e)(t||wz.call(e,c))&&!(o&&(c=="length"||a&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||DV(c,l)))&&A.push(c);return A}function T_(e,t){return function(n){return e(t(n))}}var Bz=T_(Object.keys,Object);const vz=Bz;var _z=Object.prototype,Cz=_z.hasOwnProperty;function U_(e){if(!Sd(e))return vz(e);var t=[];for(var n in Object(e))Cz.call(e,n)&&n!="constructor"&&t.push(n);return t}function Tm(e){return Sm(e)?D_(e):U_(e)}function kz(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var xz=Object.prototype,Ez=xz.hasOwnProperty;function Sz(e){if(!el(e))return kz(e);var t=Sd(e),n=[];for(var r in e)r=="constructor"&&(t||!Ez.call(e,r))||n.push(r);return n}function Um(e){return Sm(e)?D_(e,!0):Sz(e)}var Fz=oo(Object,"create");const rl=Fz;function Iz(){this.__data__=rl?rl(null):{},this.size=0}function Dz(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Tz="__lodash_hash_undefined__",Uz=Object.prototype,Lz=Uz.hasOwnProperty;function Oz(e){var t=this.__data__;if(rl){var n=t[e];return n===Tz?void 0:n}return Lz.call(t,e)?t[e]:void 0}var Qz=Object.prototype,Mz=Qz.hasOwnProperty;function Pz(e){var t=this.__data__;return rl?t[e]!==void 0:Mz.call(t,e)}var Nz="__lodash_hash_undefined__";function Rz(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=rl&&t===void 0?Nz:t,this}function so(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}so.prototype.clear=Iz,so.prototype.delete=Dz,so.prototype.get=Oz,so.prototype.has=Pz,so.prototype.set=Rz;function Hz(){this.__data__=[],this.size=0}function Fd(e,t){for(var n=e.length;n--;)if(Em(e[n][0],t))return n;return-1}var Vz=Array.prototype,zz=Vz.splice;function $z(e){var t=this.__data__,n=Fd(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():zz.call(t,n,1),--this.size,!0}function Kz(e){var t=this.__data__,n=Fd(t,e);return n<0?void 0:t[n][1]}function Wz(e){return Fd(this.__data__,e)>-1}function Gz(e,t){var n=this.__data__,r=Fd(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function pa(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}pa.prototype.clear=Hz,pa.prototype.delete=$z,pa.prototype.get=Kz,pa.prototype.has=Wz,pa.prototype.set=Gz;var jz=oo(Pr,"Map");const al=jz;function Yz(){this.size=0,this.__data__={hash:new so,map:new(al||pa),string:new so}}function qz(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Id(e,t){var n=e.__data__;return qz(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Xz(e){var t=Id(this,e).delete(e);return this.size-=t?1:0,t}function Jz(e){return Id(this,e).get(e)}function Zz(e){return Id(this,e).has(e)}function e$(e,t){var n=Id(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Ao(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ao.prototype.clear=Yz,Ao.prototype.delete=Xz,Ao.prototype.get=Jz,Ao.prototype.has=Zz,Ao.prototype.set=e$;function L_(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}var t$=T_(Object.getPrototypeOf,Object);const O_=t$;function n$(){this.__data__=new pa,this.size=0}function r$(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function a$(e){return this.__data__.get(e)}function i$(e){return this.__data__.has(e)}var o$=200;function s$(e,t){var n=this.__data__;if(n instanceof pa){var r=n.__data__;if(!al||r.length<o$-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ao(r)}return n.set(e,t),this.size=n.size,this}function ha(e){var t=this.__data__=new pa(e);this.size=t.size}ha.prototype.clear=n$,ha.prototype.delete=r$,ha.prototype.get=a$,ha.prototype.has=i$,ha.prototype.set=s$;function A$(e,t){return e&&Ed(t,Tm(t),e)}function l$(e,t){return e&&Ed(t,Um(t),e)}var Q_=typeof I=="object"&&I&&!I.nodeType&&I,M_=Q_&&typeof module=="object"&&module&&!module.nodeType&&module,c$=M_&&M_.exports===Q_,P_=c$?Pr.Buffer:void 0,N_=P_?P_.allocUnsafe:void 0;function d$(e,t){if(t)return e.slice();var n=e.length,r=N_?N_(n):new e.constructor(n);return e.copy(r),r}function u$(e,t){for(var n=-1,r=e==null?0:e.length,a=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[a++]=o)}return i}function R_(){return[]}var f$=Object.prototype,p$=f$.propertyIsEnumerable,H_=Object.getOwnPropertySymbols,h$=H_?function(e){return e==null?[]:(e=Object(e),u$(H_(e),function(t){return p$.call(e,t)}))}:R_;const Lm=h$;function m$(e,t){return Ed(e,Lm(e),t)}var g$=Object.getOwnPropertySymbols,y$=g$?function(e){for(var t=[];e;)L_(t,Lm(e)),e=O_(e);return t}:R_;const V_=y$;function b$(e,t){return Ed(e,V_(e),t)}function z_(e,t,n){var r=t(e);return cs(e)?r:L_(r,n(e))}function Om(e){return z_(e,Tm,Lm)}function w$(e){return z_(e,Um,V_)}var B$=oo(Pr,"DataView");const Qm=B$;var v$=oo(Pr,"Promise");const Mm=v$;var _$=oo(Pr,"Set");const Pm=_$;var $_="[object Map]",C$="[object Object]",K_="[object Promise]",W_="[object Set]",G_="[object WeakMap]",j_="[object DataView]",k$=io(Qm),x$=io(al),E$=io(Mm),S$=io(Pm),F$=io(xm),lo=ZA;(Qm&&lo(new Qm(new ArrayBuffer(1)))!=j_||al&&lo(new al)!=$_||Mm&&lo(Mm.resolve())!=K_||Pm&&lo(new Pm)!=W_||xm&&lo(new xm)!=G_)&&(lo=function(e){var t=ZA(e),n=t==C$?e.constructor:void 0,r=n?io(n):"";if(r)switch(r){case k$:return j_;case x$:return $_;case E$:return K_;case S$:return W_;case F$:return G_}return t});const us=lo;var I$=Object.prototype,D$=I$.hasOwnProperty;function T$(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&D$.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var U$=Pr.Uint8Array;const Dd=U$;function Nm(e){var t=new e.constructor(e.byteLength);return new Dd(t).set(new Dd(e)),t}function L$(e,t){var n=t?Nm(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var O$=/\w*$/;function Q$(e){var t=new e.constructor(e.source,O$.exec(e));return t.lastIndex=e.lastIndex,t}var Y_=oi?oi.prototype:void 0,q_=Y_?Y_.valueOf:void 0;function M$(e){return q_?Object(q_.call(e)):{}}function P$(e,t){var n=t?Nm(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var N$="[object Boolean]",R$="[object Date]",H$="[object Map]",V$="[object Number]",z$="[object RegExp]",$$="[object Set]",K$="[object String]",W$="[object Symbol]",G$="[object ArrayBuffer]",j$="[object DataView]",Y$="[object Float32Array]",q$="[object Float64Array]",X$="[object Int8Array]",J$="[object Int16Array]",Z$="[object Int32Array]",eK="[object Uint8Array]",tK="[object Uint8ClampedArray]",nK="[object Uint16Array]",rK="[object Uint32Array]";function aK(e,t,n){var r=e.constructor;switch(t){case G$:return Nm(e);case N$:case R$:return new r(+e);case j$:return L$(e,n);case Y$:case q$:case X$:case J$:case Z$:case eK:case tK:case nK:case rK:return P$(e,n);case H$:return new r;case V$:case K$:return new r(e);case z$:return Q$(e);case $$:return new r;case W$:return M$(e)}}function iK(e){return typeof e.constructor=="function"&&!Sd(e)?kV(O_(e)):{}}var oK="[object Map]";function sK(e){return ao(e)&&us(e)==oK}var X_=ds&&ds.isMap,AK=X_?Fm(X_):sK;const lK=AK;var cK="[object Set]";function dK(e){return ao(e)&&us(e)==cK}var J_=ds&&ds.isSet,uK=J_?Fm(J_):dK;const fK=uK;var pK=1,hK=2,mK=4,Z_="[object Arguments]",gK="[object Array]",yK="[object Boolean]",bK="[object Date]",wK="[object Error]",eC="[object Function]",BK="[object GeneratorFunction]",vK="[object Map]",_K="[object Number]",tC="[object Object]",CK="[object RegExp]",kK="[object Set]",xK="[object String]",EK="[object Symbol]",SK="[object WeakMap]",FK="[object ArrayBuffer]",IK="[object DataView]",DK="[object Float32Array]",TK="[object Float64Array]",UK="[object Int8Array]",LK="[object Int16Array]",OK="[object Int32Array]",QK="[object Uint8Array]",MK="[object Uint8ClampedArray]",PK="[object Uint16Array]",NK="[object Uint32Array]",ot={};ot[Z_]=ot[gK]=ot[FK]=ot[IK]=ot[yK]=ot[bK]=ot[DK]=ot[TK]=ot[UK]=ot[LK]=ot[OK]=ot[vK]=ot[_K]=ot[tC]=ot[CK]=ot[kK]=ot[xK]=ot[EK]=ot[QK]=ot[MK]=ot[PK]=ot[NK]=!0,ot[wK]=ot[eC]=ot[SK]=!1;function Td(e,t,n,r,a,i){var o,A=t&pK,l=t&hK,c=t&mK;if(n&&(o=a?n(e,r,a,i):n(e)),o!==void 0)return o;if(!el(e))return e;var d=cs(e);if(d){if(o=T$(e),!A)return xV(e,o)}else{var u=us(e),f=u==eC||u==BK;if(tl(e))return d$(e,A);if(u==tC||u==Z_||f&&!a){if(o=l||f?{}:iK(e),!A)return l?b$(e,l$(o,e)):m$(e,A$(o,e))}else{if(!ot[u])return a?e:{};o=aK(e,u,A)}}i||(i=new ha);var p=i.get(e);if(p)return p;i.set(e,o),fK(e)?e.forEach(function(b){o.add(Td(b,t,n,b,e,i))}):lK(e)&&e.forEach(function(b,g){o.set(g,Td(b,t,n,g,e,i))});var h=c?l?w$:Om:l?Um:Tm,m=d?void 0:h(e);return SV(m||e,function(b,g){m&&(g=b,b=e[g]),B_(o,g,Td(b,t,n,g,e,i))}),o}var RK=1,HK=4;function il(e){return Td(e,RK|HK)}var VK="__lodash_hash_undefined__";function zK(e){return this.__data__.set(e,VK),this}function $K(e){return this.__data__.has(e)}function Ud(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Ao;++t<n;)this.add(e[t])}Ud.prototype.add=Ud.prototype.push=zK,Ud.prototype.has=$K;function KK(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function WK(e,t){return e.has(t)}var GK=1,jK=2;function nC(e,t,n,r,a,i){var o=n&GK,A=e.length,l=t.length;if(A!=l&&!(o&&l>A))return!1;var c=i.get(e),d=i.get(t);if(c&&d)return c==t&&d==e;var u=-1,f=!0,p=n&jK?new Ud:void 0;for(i.set(e,t),i.set(t,e);++u<A;){var h=e[u],m=t[u];if(r)var b=o?r(m,h,u,t,e,i):r(h,m,u,e,t,i);if(b!==void 0){if(b)continue;f=!1;break}if(p){if(!KK(t,function(g,B){if(!WK(p,B)&&(h===g||a(h,g,n,r,i)))return p.push(B)})){f=!1;break}}else if(!(h===m||a(h,m,n,r,i))){f=!1;break}}return i.delete(e),i.delete(t),f}function YK(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}function qK(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var XK=1,JK=2,ZK="[object Boolean]",eW="[object Date]",tW="[object Error]",nW="[object Map]",rW="[object Number]",aW="[object RegExp]",iW="[object Set]",oW="[object String]",sW="[object Symbol]",AW="[object ArrayBuffer]",lW="[object DataView]",rC=oi?oi.prototype:void 0,Rm=rC?rC.valueOf:void 0;function cW(e,t,n,r,a,i,o){switch(n){case lW:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case AW:return!(e.byteLength!=t.byteLength||!i(new Dd(e),new Dd(t)));case ZK:case eW:case rW:return Em(+e,+t);case tW:return e.name==t.name&&e.message==t.message;case aW:case oW:return e==t+"";case nW:var A=YK;case iW:var l=r&XK;if(A||(A=qK),e.size!=t.size&&!l)return!1;var c=o.get(e);if(c)return c==t;r|=JK,o.set(e,t);var d=nC(A(e),A(t),r,a,i,o);return o.delete(e),d;case sW:if(Rm)return Rm.call(e)==Rm.call(t)}return!1}var dW=1,uW=Object.prototype,fW=uW.hasOwnProperty;function pW(e,t,n,r,a,i){var o=n&dW,A=Om(e),l=A.length,c=Om(t),d=c.length;if(l!=d&&!o)return!1;for(var u=l;u--;){var f=A[u];if(!(o?f in t:fW.call(t,f)))return!1}var p=i.get(e),h=i.get(t);if(p&&h)return p==t&&h==e;var m=!0;i.set(e,t),i.set(t,e);for(var b=o;++u<l;){f=A[u];var g=e[f],B=t[f];if(r)var w=o?r(B,g,f,t,e,i):r(g,B,f,e,t,i);if(!(w===void 0?g===B||a(g,B,n,r,i):w)){m=!1;break}b||(b=f=="constructor")}if(m&&!b){var y=e.constructor,_=t.constructor;y!=_&&"constructor"in e&&"constructor"in t&&!(typeof y=="function"&&y instanceof y&&typeof _=="function"&&_ instanceof _)&&(m=!1)}return i.delete(e),i.delete(t),m}var hW=1,aC="[object Arguments]",iC="[object Array]",Ld="[object Object]",mW=Object.prototype,oC=mW.hasOwnProperty;function gW(e,t,n,r,a,i){var o=cs(e),A=cs(t),l=o?iC:us(e),c=A?iC:us(t);l=l==aC?Ld:l,c=c==aC?Ld:c;var d=l==Ld,u=c==Ld,f=l==c;if(f&&tl(e)){if(!tl(t))return!1;o=!0,d=!1}if(f&&!d)return i||(i=new ha),o||Dm(e)?nC(e,t,n,r,a,i):cW(e,t,l,n,r,a,i);if(!(n&hW)){var p=d&&oC.call(e,"__wrapped__"),h=u&&oC.call(t,"__wrapped__");if(p||h){var m=p?e.value():e,b=h?t.value():t;return i||(i=new ha),a(m,b,n,r,i)}}return f?(i||(i=new ha),pW(e,t,n,r,a,i)):!1}function sC(e,t,n,r,a){return e===t?!0:e==null||t==null||!ao(e)&&!ao(t)?e!==e&&t!==t:gW(e,t,n,r,sC,a)}var yW="[object Map]",bW="[object Set]",wW=Object.prototype,BW=wW.hasOwnProperty;function vW(e){if(e==null)return!0;if(Sm(e)&&(cs(e)||typeof e=="string"||typeof e.splice=="function"||tl(e)||Dm(e)||k_(e)))return!e.length;var t=us(e);if(t==yW||t==bW)return!e.size;if(Sd(e))return!U_(e).length;for(var n in e)if(BW.call(e,n))return!1;return!0}function AC(e,t){return sC(e,t)}var _W=Object.defineProperty,CW=Object.defineProperties,kW=Object.getOwnPropertyDescriptors,lC=Object.getOwnPropertySymbols,xW=Object.prototype.hasOwnProperty,EW=Object.prototype.propertyIsEnumerable,cC=(e,t,n)=>t in e?_W(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,SW=(e,t)=>{for(var n in t||(t={}))xW.call(t,n)&&cC(e,n,t[n]);if(lC)for(var n of lC(t))EW.call(t,n)&&cC(e,n,t[n]);return e},FW=(e,t)=>CW(e,kW(t));function IW(e){return(e.match(/[a-zA-Z0-9]+/g)||[]).map(t=>`${t.charAt(0).toUpperCase()}${t.slice(1)}`).join("")}var si=(e,t)=>{const n={chartData:{type:Object,required:!0},options:{type:Object,required:!1},chartId:{default:e,type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object},plugins:{type:Array,default:()=>[]},onLabelsUpdate:{type:Function},onChartUpdate:{type:Function},onChartDestroy:{type:Function},onChartRender:{type:Function}},r=IW(e);return s.defineComponent({name:r,props:n,emits:{"labels:update":()=>!0,"chart:update":a=>!0,"chart:destroy":()=>!0,"chart:render":a=>!0},setup(a,{emit:i,expose:o}){const A=s.ref(null),l=`${a.chartId}`;let c=s.shallowRef(null);s.watch(()=>a.chartData,d,{deep:!0}),s.watch(()=>a.options,b=>{c.value&&b&&(c.value.options=il(b),h())},{deep:!0});function d(b){if(c.value){let g=c.value;AC(b.labels,c.value.data.labels)||(g.data.labels=b.labels,f()),AC(b.datasets,c.value.data.datasets)||b.datasets.forEach((B,w)=>{var y,_;if(vW(B))g.data.datasets=[];else{const v=il(g.data),k=Object.keys((_=(y=v.datasets)==null?void 0:y[w])!=null?_:{}),C=Object.keys(B);k.filter(U=>U!=="_meta"&&C.indexOf(U)===-1).forEach(U=>{g.data.datasets[w]&&delete g.data.datasets[w][U]});for(const U in B){const D=il(B[U]);g.data.datasets[w]||(g.data.datasets[w]={}),B.hasOwnProperty(U)&&D!=null&&g&&(g.data.datasets[w][U]=D)}}}),h()}else c.value&&m(),u()}function u(){A.value?(c.value=new ze(A.value,{data:il(a.chartData),type:t,options:il(a.options),plugins:a.plugins}),p()):console.error(`Error on component ${r}, canvas cannot be rendered. Check if the render appends server-side`)}function f(){i("labels:update"),a.onLabelsUpdate&&a.onLabelsUpdate()}function p(){c.value&&(i("chart:render",c.value),a.onChartRender&&a.onChartRender(c.value))}function h(){c.value&&(c.value.update(),i("chart:update",c.value),a.onChartUpdate&&a.onChartUpdate(c.value))}function m(){c.value&&c.value.destroy(),i("chart:destroy"),a.onChartDestroy&&a.onChartDestroy()}return s.onMounted(u),s.onBeforeUnmount(()=>{c.value&&c.value.destroy()}),o({canvasRef:A,renderChart:u,chartInstance:c,canvasId:l,update:h}),()=>s.h("div",{style:FW(SW({maxWidth:"100%"},a.styles),{position:"relative"}),class:a.cssClasses},[s.h("canvas",{style:{maxWidth:"100%",maxHeight:"100%"},id:l,width:a.width,height:a.height,ref:A})])}})},Od=si("bar-chart","bar"),Qd=si("doughnut-chart","doughnut"),dC=si("line-chart","line");si("pie-chart","pie"),si("polar-chart","polarArea"),si("radar-chart","radar"),si("bubble-chart","bubble"),si("scatter-chart","scatter");const Md=s.defineComponent({__name:"InfoDoughnutChart",props:HM,setup(e){const t=s.ref(null);ze.register(...Mr);const n=e,r=s.computed(()=>{const i=n.info==="typeRef"?"types":"rarities",o={},A=kt(n.deckCode);for(const c in A){const d=hn().cardJsonObject[c];if(d===void 0)continue;let u=d[n.info];u==="Unit"&&(u=d.supertype==="Champion"?"Champion":"Follower"),o[u]===void 0&&(o[u]=0),o[u]+=A[c]}const l=[];for(const c in o){const d=Be().dataJson[i].find(f=>f.nameRef===c),u={key:c,value:o[c],color:d==null?void 0:d.color,name:d==null?void 0:d.name,order:d==null?void 0:d.order};l.push(u)}return console.log(l),l.sort((c,d)=>c.order-d.order),{labels:l.map(c=>c.name),datasets:[{data:l.map(c=>c.value),backgroundColor:l.map(c=>c.color)}]}}),a={cutout:55,layout:{padding:{top:10,bottom:10}},elements:{arc:{borderWidth:0}},plugins:{legend:{display:!0,position:"right",labels:{usePointStyle:!0,generateLabels(i){const o=[],A=i.data.labels;for(let l=0;l<i.data.labels.length;l++)o.push({text:`${A[l]} (${i.data.datasets[0].data[l]})`,borderRadius:999,datasetIndex:0,index:l,fontColor:Oa("--color-0"),fillStyle:i.data.datasets[0].backgroundColor[l]});return o}}},datalabels:{display:!1}}};return(i,o)=>(s.openBlock(),s.createBlock(s.unref(Qd),{ref_key:"chart",ref:t,"chart-data":r.value,options:a},null,8,["chart-data"]))}}),DW={deck:{type:Object,required:!1,default:void 0},deckCode:{type:String,required:!1,default:void 0},paddingTop:{type:Number,required:!1,default:10},showDataLabels:{type:Boolean,required:!1,default:!0},dataLabelsOffset:{type:Number,required:!1,default:-10},tooltipsEnabled:{type:Boolean,required:!1,default:!0},displayXScale:{type:Boolean,required:!1,default:!0},animation:{type:Boolean,required:!1}};//! moment.js
|
|
672
|
+
`):e}function hH(e,t){const{element:n,datasetIndex:r,index:a}=t,i=e.getDatasetMeta(r).controller,{label:o,value:A}=i.getLabelAndValue(a);return{chart:e,label:o,parsed:i.getParsed(a),raw:e.data.datasets[r].data[a],formattedValue:A,dataset:i.getDataset(),dataIndex:a,datasetIndex:r,element:n}}function qv(e,t){const n=e.chart.ctx,{body:r,footer:a,title:i}=e,{boxWidth:o,boxHeight:A}=t,l=yt(t.bodyFont),c=yt(t.titleFont),d=yt(t.footerFont),u=i.length,f=a.length,p=r.length,h=Ft(t.padding);let m=h.height,b=0,g=r.reduce((y,_)=>y+_.before.length+_.lines.length+_.after.length,0);if(g+=e.beforeBody.length+e.afterBody.length,u&&(m+=u*c.lineHeight+(u-1)*t.titleSpacing+t.titleMarginBottom),g){const y=t.displayColors?Math.max(A,l.lineHeight):l.lineHeight;m+=p*y+(g-p)*l.lineHeight+(g-1)*t.bodySpacing}f&&(m+=t.footerMarginTop+f*d.lineHeight+(f-1)*t.footerSpacing);let B=0;const w=function(y){b=Math.max(b,n.measureText(y).width+B)};return n.save(),n.font=c.string,je(e.title,w),n.font=l.string,je(e.beforeBody.concat(e.afterBody),w),B=t.displayColors?o+2+t.boxPadding:0,je(r,y=>{je(y.before,w),je(y.lines,w),je(y.after,w)}),B=0,n.font=d.string,je(e.footer,w),n.restore(),b+=h.width,{width:b,height:m}}function mH(e,t){const{y:n,height:r}=t;return n<r/2?"top":n>e.height-r/2?"bottom":"center"}function gH(e,t,n,r){const{x:a,width:i}=r,o=n.caretSize+n.caretPadding;if(e==="left"&&a+i+o>t.width||e==="right"&&a-i-o<0)return!0}function yH(e,t,n,r){const{x:a,width:i}=n,{width:o,chartArea:{left:A,right:l}}=e;let c="center";return r==="center"?c=a<=(A+l)/2?"left":"right":a<=i/2?c="left":a>=o-i/2&&(c="right"),gH(c,e,t,n)&&(c="center"),c}function Xv(e,t,n){const r=n.yAlign||t.yAlign||mH(e,n);return{xAlign:n.xAlign||t.xAlign||yH(e,t,n,r),yAlign:r}}function bH(e,t){let{x:n,width:r}=e;return t==="right"?n-=r:t==="center"&&(n-=r/2),n}function wH(e,t,n){let{y:r,height:a}=e;return t==="top"?r+=n:t==="bottom"?r-=a+n:r-=a/2,r}function Jv(e,t,n,r){const{caretSize:a,caretPadding:i,cornerRadius:o}=e,{xAlign:A,yAlign:l}=n,c=a+i,{topLeft:d,topRight:u,bottomLeft:f,bottomRight:p}=ti(o);let h=bH(t,A);const m=wH(t,l,c);return l==="center"?A==="left"?h+=c:A==="right"&&(h-=c):A==="left"?h-=Math.max(d,f)+a:A==="right"&&(h+=Math.max(u,p)+a),{x:Kt(h,0,r.width-t.width),y:Kt(m,0,r.height-t.height)}}function _d(e,t,n){const r=Ft(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function Zv(e){return Qr([],fa(e))}function BH(e,t,n){return ni(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function e_(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const t_={beforeTitle:Aa,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return""},afterTitle:Aa,beforeBody:Aa,beforeLabel:Aa,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return xe(n)||(t+=n),t},labelColor(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:Aa,afterBody:Aa,beforeFooter:Aa,footer:Aa,afterFooter:Aa};function xn(e,t,n,r){const a=e[t].call(n,r);return typeof a>"u"?t_[t].call(n,r):a}class bm extends yn{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,r=this.options.setContext(this.getContext()),a=r.enabled&&n.options.animation&&r.animations,i=new Zh(this.chart,a);return a._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=BH(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:r}=n,a=xn(r,"beforeTitle",this,t),i=xn(r,"title",this,t),o=xn(r,"afterTitle",this,t);let A=[];return A=Qr(A,fa(a)),A=Qr(A,fa(i)),A=Qr(A,fa(o)),A}getBeforeBody(t,n){return Zv(xn(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:r}=n,a=[];return je(t,i=>{const o={before:[],lines:[],after:[]},A=e_(r,i);Qr(o.before,fa(xn(A,"beforeLabel",this,i))),Qr(o.lines,xn(A,"label",this,i)),Qr(o.after,fa(xn(A,"afterLabel",this,i))),a.push(o)}),a}getAfterBody(t,n){return Zv(xn(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:r}=n,a=xn(r,"beforeFooter",this,t),i=xn(r,"footer",this,t),o=xn(r,"afterFooter",this,t);let A=[];return A=Qr(A,fa(a)),A=Qr(A,fa(i)),A=Qr(A,fa(o)),A}_createItems(t){const n=this._active,r=this.chart.data,a=[],i=[],o=[];let A=[],l,c;for(l=0,c=n.length;l<c;++l)A.push(hH(this.chart,n[l]));return t.filter&&(A=A.filter((d,u,f)=>t.filter(d,u,f,r))),t.itemSort&&(A=A.sort((d,u)=>t.itemSort(d,u,r))),je(A,d=>{const u=e_(t.callbacks,d);a.push(xn(u,"labelColor",this,d)),i.push(xn(u,"labelPointStyle",this,d)),o.push(xn(u,"labelTextColor",this,d))}),this.labelColors=a,this.labelPointStyles=i,this.labelTextColors=o,this.dataPoints=A,A}update(t,n){const r=this.options.setContext(this.getContext()),a=this._active;let i,o=[];if(!a.length)this.opacity!==0&&(i={opacity:0});else{const A=jA[r.position].call(this,a,this._eventPosition);o=this._createItems(r),this.title=this.getTitle(o,r),this.beforeBody=this.getBeforeBody(o,r),this.body=this.getBody(o,r),this.afterBody=this.getAfterBody(o,r),this.footer=this.getFooter(o,r);const l=this._size=qv(this,r),c=Object.assign({},A,l),d=Xv(this.chart,r,c),u=Jv(r,c,d,this.chart);this.xAlign=d.xAlign,this.yAlign=d.yAlign,i={opacity:1,x:u.x,y:u.y,width:l.width,height:l.height,caretX:A.x,caretY:A.y}}this._tooltipItems=o,this.$context=void 0,i&&this._resolveAnimations().update(this,i),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,r,a){const i=this.getCaretPosition(t,r,a);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(t,n,r){const{xAlign:a,yAlign:i}=this,{caretSize:o,cornerRadius:A}=r,{topLeft:l,topRight:c,bottomLeft:d,bottomRight:u}=ti(A),{x:f,y:p}=t,{width:h,height:m}=n;let b,g,B,w,y,_;return i==="center"?(y=p+m/2,a==="left"?(b=f,g=b-o,w=y+o,_=y-o):(b=f+h,g=b+o,w=y-o,_=y+o),B=b):(a==="left"?g=f+Math.max(l,d)+o:a==="right"?g=f+h-Math.max(c,u)-o:g=this.caretX,i==="top"?(w=p,y=w-o,b=g-o,B=g+o):(w=p+m,y=w+o,b=g+o,B=g-o),_=w),{x1:b,x2:g,x3:B,y1:w,y2:y,y3:_}}drawTitle(t,n,r){const a=this.title,i=a.length;let o,A,l;if(i){const c=ss(r.rtl,this.x,this.width);for(t.x=_d(this,r.titleAlign,r),n.textAlign=c.textAlign(r.titleAlign),n.textBaseline="middle",o=yt(r.titleFont),A=r.titleSpacing,n.fillStyle=r.titleColor,n.font=o.string,l=0;l<i;++l)n.fillText(a[l],c.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+A,l+1===i&&(t.y+=r.titleMarginBottom-A)}}_drawColorBox(t,n,r,a,i){const o=this.labelColors[r],A=this.labelPointStyles[r],{boxHeight:l,boxWidth:c}=i,d=yt(i.bodyFont),u=_d(this,"left",i),f=a.x(u),p=l<d.lineHeight?(d.lineHeight-l)/2:0,h=n.y+p;if(i.usePointStyle){const m={radius:Math.min(c,l)/2,pointStyle:A.pointStyle,rotation:A.rotation,borderWidth:1},b=a.leftForLtr(f,c)+c/2,g=h+l/2;t.strokeStyle=i.multiKeyBackground,t.fillStyle=i.multiKeyBackground,Wh(t,m,b,g),t.strokeStyle=o.borderColor,t.fillStyle=o.backgroundColor,Wh(t,m,b,g)}else{t.lineWidth=Ee(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1,t.strokeStyle=o.borderColor,t.setLineDash(o.borderDash||[]),t.lineDashOffset=o.borderDashOffset||0;const m=a.leftForLtr(f,c),b=a.leftForLtr(a.xPlus(f,1),c-2),g=ti(o.borderRadius);Object.values(g).some(B=>B!==0)?(t.beginPath(),t.fillStyle=i.multiKeyBackground,as(t,{x:m,y:h,w:c,h:l,radius:g}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),as(t,{x:b,y:h+1,w:c-2,h:l-2,radius:g}),t.fill()):(t.fillStyle=i.multiKeyBackground,t.fillRect(m,h,c,l),t.strokeRect(m,h,c,l),t.fillStyle=o.backgroundColor,t.fillRect(b,h+1,c-2,l-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,n,r){const{body:a}=this,{bodySpacing:i,bodyAlign:o,displayColors:A,boxHeight:l,boxWidth:c,boxPadding:d}=r,u=yt(r.bodyFont);let f=u.lineHeight,p=0;const h=ss(r.rtl,this.x,this.width),m=function(C){n.fillText(C,h.x(t.x+p),t.y+f/2),t.y+=f+i},b=h.textAlign(o);let g,B,w,y,_,v,k;for(n.textAlign=o,n.textBaseline="middle",n.font=u.string,t.x=_d(this,b,r),n.fillStyle=r.bodyColor,je(this.beforeBody,m),p=A&&b!=="right"?o==="center"?c/2+d:c+2+d:0,y=0,v=a.length;y<v;++y){for(g=a[y],B=this.labelTextColors[y],n.fillStyle=B,je(g.before,m),w=g.lines,A&&w.length&&(this._drawColorBox(n,t,y,h,r),f=Math.max(u.lineHeight,l)),_=0,k=w.length;_<k;++_)m(w[_]),f=u.lineHeight;je(g.after,m)}p=0,f=u.lineHeight,je(this.afterBody,m),t.y-=i}drawFooter(t,n,r){const a=this.footer,i=a.length;let o,A;if(i){const l=ss(r.rtl,this.x,this.width);for(t.x=_d(this,r.footerAlign,r),t.y+=r.footerMarginTop,n.textAlign=l.textAlign(r.footerAlign),n.textBaseline="middle",o=yt(r.footerFont),n.fillStyle=r.footerColor,n.font=o.string,A=0;A<i;++A)n.fillText(a[A],l.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+r.footerSpacing}}drawBackground(t,n,r,a){const{xAlign:i,yAlign:o}=this,{x:A,y:l}=t,{width:c,height:d}=r,{topLeft:u,topRight:f,bottomLeft:p,bottomRight:h}=ti(a.cornerRadius);n.fillStyle=a.backgroundColor,n.strokeStyle=a.borderColor,n.lineWidth=a.borderWidth,n.beginPath(),n.moveTo(A+u,l),o==="top"&&this.drawCaret(t,n,r,a),n.lineTo(A+c-f,l),n.quadraticCurveTo(A+c,l,A+c,l+f),o==="center"&&i==="right"&&this.drawCaret(t,n,r,a),n.lineTo(A+c,l+d-h),n.quadraticCurveTo(A+c,l+d,A+c-h,l+d),o==="bottom"&&this.drawCaret(t,n,r,a),n.lineTo(A+p,l+d),n.quadraticCurveTo(A,l+d,A,l+d-p),o==="center"&&i==="left"&&this.drawCaret(t,n,r,a),n.lineTo(A,l+u),n.quadraticCurveTo(A,l,A+u,l),n.closePath(),n.fill(),a.borderWidth>0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,r=this.$animations,a=r&&r.x,i=r&&r.y;if(a||i){const o=jA[t.position].call(this,this._active,this._eventPosition);if(!o)return;const A=this._size=qv(this,t),l=Object.assign({},o,this._size),c=Xv(n,t,l),d=Jv(t,l,c,n);(a._to!==d.x||i._to!==d.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=A.width,this.height=A.height,this.caretX=o.x,this.caretY=o.y,this._resolveAnimations().update(this,d))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const a={width:this.width,height:this.height},i={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const o=Ft(n.padding),A=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&A&&(t.save(),t.globalAlpha=r,this.drawBackground(i,t,a,n),OB(t,n.textDirection),i.y+=o.top,this.drawTitle(i,t,n),this.drawBody(i,t,n),this.drawFooter(i,t,n),QB(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const r=this._active,a=t.map(({datasetIndex:A,index:l})=>{const c=this.chart.getDatasetMeta(A);if(!c)throw new Error("Cannot find a dataset at index "+A);return{datasetIndex:A,element:c.data[l],index:l}}),i=!qc(r,a),o=this._positionChanged(a,n);(i||o)&&(this._active=a,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const a=this.options,i=this._active||[],o=this._getActiveElements(t,i,n,r),A=this._positionChanged(o,t),l=n||!qc(o,i)||A;return l&&(this._active=o,(a.enabled||a.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),l}_getActiveElements(t,n,r,a){const i=this.options;if(t.type==="mouseout")return[];if(!a)return n.filter(A=>this.chart.data.datasets[A.datasetIndex]&&this.chart.getDatasetMeta(A.datasetIndex).controller.getParsed(A.index)!==void 0);const o=this.chart.getElementsAtEventForMode(t,i.mode,i,r);return i.reverse&&o.reverse(),o}_positionChanged(t,n){const{caretX:r,caretY:a,options:i}=this,o=jA[i.position].call(this,t,n);return o!==!1&&(r!==o.x||a!==o.y)}}Y(bm,"positioners",jA);var vH={id:"tooltip",_element:bm,positioners:jA,afterInit(e,t,n){n&&(e.tooltip=new bm({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:t_},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},_H=Object.freeze({__proto__:null,Colors:OR,Decimation:NR,Filler:iH,Legend:dH,SubTitle:pH,Title:fH,Tooltip:vH});const CH=(e,t,n,r)=>(typeof t=="string"?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function kH(e,t,n,r){const a=e.indexOf(t);if(a===-1)return CH(e,t,n,r);const i=e.lastIndexOf(t);return a!==i?n:a}const xH=(e,t)=>e===null?null:Kt(Math.round(e),0,t);function n_(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class wm extends no{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:a,label:i}of n)r[a]===i&&r.splice(a,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(xe(t))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===t?n:kH(r,t,he(n,t),this._addedLabels),xH(n,r.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:r,max:a}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(r=0),n||(a=this.getLabels().length-1)),this.min=r,this.max=a}buildTicks(){const t=this.min,n=this.max,r=this.options.offset,a=[];let i=this.getLabels();i=t===0&&n===i.length-1?i:i.slice(t,n+1),this._valueRange=Math.max(i.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let o=t;o<=n;o++)a.push({value:o});return a}getLabelForValue(t){return n_.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}Y(wm,"id","category"),Y(wm,"defaults",{ticks:{callback:n_}});function EH(e,t){const n=[],{bounds:a,step:i,min:o,max:A,precision:l,count:c,maxTicks:d,maxDigits:u,includeBounds:f}=e,p=i||1,h=d-1,{min:m,max:b}=t,g=!xe(o),B=!xe(A),w=!xe(c),y=(b-m)/(u+1);let _=oB((b-m)/h/p)*p,v,k,C,x;if(_<1e-14&&!g&&!B)return[{value:m},{value:b}];x=Math.ceil(b/_)-Math.floor(m/_),x>h&&(_=oB(x*_/h/p)*p),xe(l)||(v=Math.pow(10,l),_=Math.ceil(_*v)/v),a==="ticks"?(k=Math.floor(m/_)*_,C=Math.ceil(b/_)*_):(k=m,C=b),g&&B&&i&&wM((A-o)/i,_/1e3)?(x=Math.round(Math.min((A-o)/_,d)),_=(A-o)/x,k=o,C=A):w?(k=g?o:k,C=B?A:C,x=c-1,_=(C-k)/x):(x=(C-k)/_,IA(x,Math.round(x),_/1e3)?x=Math.round(x):x=Math.ceil(x));const U=Math.max(AB(_),AB(k));v=Math.pow(10,xe(l)?U:l),k=Math.round(k*v)/v,C=Math.round(C*v)/v;let D=0;for(g&&(f&&k!==o?(n.push({value:o}),k<o&&D++,IA(Math.round((k+D*_)*v)/v,o,r_(o,y,e))&&D++):k<o&&D++);D<x;++D){const F=Math.round((k+D*_)*v)/v;if(B&&F>A)break;n.push({value:F})}return B&&f&&C!==A?n.length&&IA(n[n.length-1].value,A,r_(A,y,e))?n[n.length-1].value=A:n.push({value:A}):(!B||C===A)&&n.push({value:C}),n}function r_(e,t,{horizontal:n,minRotation:r}){const a=Mt(r),i=(n?Math.sin(a):Math.cos(a))||.001,o=.75*t*(""+e).length;return Math.min(t/i,o)}class Cd extends no{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return xe(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:a,max:i}=this;const o=l=>a=n?a:l,A=l=>i=r?i:l;if(t){const l=Lr(a),c=Lr(i);l<0&&c<0?A(0):l>0&&c>0&&o(0)}if(a===i){let l=i===0?1:Math.abs(i*.05);A(i+l),t||o(a-l)}this.min=a,this.max=i}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=t,a;return r?(a=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,a>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${a} ticks. Limiting to 1000.`),a=1e3)):(a=this.computeTickLimit(),n=n||11),n&&(a=Math.min(n,a)),a}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const a={maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,o=EH(a,i);return t.bounds==="ticks"&&sB(o,this,"value"),t.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){const t=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){const a=(r-n)/Math.max(t.length-1,1)/2;n-=a,r+=a}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(t){return UA(t,this.chart.options.locale,this.options.ticks.format)}}class Bm extends Cd{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=gt(t)?t:0,this.max=gt(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,r=Mt(this.options.ticks.minRotation),a=(t?Math.sin(r):Math.cos(r))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/a))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}Y(Bm,"id","linear"),Y(Bm,"defaults",{ticks:{callback:nd.formatters.numeric}});const YA=e=>Math.floor(Za(e)),ro=(e,t)=>Math.pow(10,YA(e)+t);function a_(e){return e/Math.pow(10,YA(e))===1}function i_(e,t,n){const r=Math.pow(10,n),a=Math.floor(e/r);return Math.ceil(t/r)-a}function SH(e,t){const n=t-e;let r=YA(n);for(;i_(e,t,r)>10;)r++;for(;i_(e,t,r)<10;)r--;return Math.min(r,YA(e))}function FH(e,{min:t,max:n}){t=Rn(e.min,t);const r=[],a=YA(t);let i=SH(t,n),o=i<0?Math.pow(10,Math.abs(i)):1;const A=Math.pow(10,i),l=a>i?Math.pow(10,a):0,c=Math.round((t-l)*o)/o,d=Math.floor((t-l)/A/10)*A*10;let u=Math.floor((c-d)/Math.pow(10,i)),f=Rn(e.min,Math.round((l+d+u*Math.pow(10,i))*o)/o);for(;f<n;)r.push({value:f,major:a_(f),significand:u}),u>=10?u=u<15?15:20:u++,u>=20&&(i++,u=2,o=i>=0?1:o),f=Math.round((l+d+u*Math.pow(10,i))*o)/o;const p=Rn(e.max,f);return r.push({value:p,major:a_(p),significand:u}),r}class vm extends no{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,n){const r=Cd.prototype.parse.apply(this,[t,n]);if(r===0){this._zero=!0;return}return gt(r)&&r>0?r:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=gt(t)?Math.max(0,t):null,this.max=gt(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!gt(this._userMin)&&(this.min=t===ro(this.min,0)?ro(this.min,-1):ro(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let r=this.min,a=this.max;const i=A=>r=t?r:A,o=A=>a=n?a:A;r===a&&(r<=0?(i(1),o(10)):(i(ro(r,-1)),o(ro(a,1)))),r<=0&&i(ro(a,-1)),a<=0&&o(ro(r,1)),this.min=r,this.max=a}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},r=FH(n,this);return t.bounds==="ticks"&&sB(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(t){return t===void 0?"0":UA(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=Za(t),this._valueRange=Za(this.max)-Za(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(Za(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}Y(vm,"id","logarithmic"),Y(vm,"defaults",{ticks:{callback:nd.formatters.logarithmic,major:{enabled:!0}}});function _m(e){const t=e.ticks;if(t.display&&e.display){const n=Ft(t.backdropPadding);return he(t.font&&t.font.size,it.font.size)+n.height}return 0}function IH(e,t,n){return n=Ve(n)?n:[n],{w:MM(e,t.string,n),h:n.length*t.lineHeight}}function o_(e,t,n,r,a){return e===r||e===a?{start:t-n/2,end:t+n/2}:e<r||e>a?{start:t-n,end:t}:{start:t,end:t+n}}function DH(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],a=[],i=e._pointLabels.length,o=e.options.pointLabels,A=o.centerPointLabels?Ce/i:0;for(let l=0;l<i;l++){const c=o.setContext(e.getPointLabelContext(l));a[l]=c.padding;const d=e.getPointPosition(l,e.drawingArea+a[l],A),u=yt(c.font),f=IH(e.ctx,u,e._pointLabels[l]);r[l]=f;const p=rn(e.getIndexAngle(l)+A),h=Math.round(ed(p)),m=o_(h,d.x,f.w,0,180),b=o_(h,d.y,f.h,90,270);TH(n,t,p,m,b)}e.setCenterPoint(t.l-n.l,n.r-t.r,t.t-n.t,n.b-t.b),e._pointLabelItems=OH(e,r,a)}function TH(e,t,n,r,a){const i=Math.abs(Math.sin(n)),o=Math.abs(Math.cos(n));let A=0,l=0;r.start<t.l?(A=(t.l-r.start)/i,e.l=Math.min(e.l,t.l-A)):r.end>t.r&&(A=(r.end-t.r)/i,e.r=Math.max(e.r,t.r+A)),a.start<t.t?(l=(t.t-a.start)/o,e.t=Math.min(e.t,t.t-l)):a.end>t.b&&(l=(a.end-t.b)/o,e.b=Math.max(e.b,t.b+l))}function UH(e,t,n){const r=e.drawingArea,{extra:a,additionalAngle:i,padding:o,size:A}=n,l=e.getPointPosition(t,r+a+o,i),c=Math.round(ed(rn(l.angle+dt))),d=PH(l.y,A.h,c),u=QH(c),f=MH(l.x,A.w,u);return{visible:!0,x:l.x,y:d,textAlign:u,left:f,top:d,right:f+A.w,bottom:d+A.h}}function LH(e,t){if(!t)return!0;const{left:n,top:r,right:a,bottom:i}=e;return!(da({x:n,y:r},t)||da({x:n,y:i},t)||da({x:a,y:r},t)||da({x:a,y:i},t))}function OH(e,t,n){const r=[],a=e._pointLabels.length,i=e.options,{centerPointLabels:o,display:A}=i.pointLabels,l={extra:_m(i)/2,additionalAngle:o?Ce/a:0};let c;for(let d=0;d<a;d++){l.padding=n[d],l.size=t[d];const u=UH(e,d,l);r.push(u),A==="auto"&&(u.visible=LH(u,c),u.visible&&(c=u))}return r}function QH(e){return e===0||e===180?"center":e<180?"left":"right"}function MH(e,t,n){return n==="right"?e-=t:n==="center"&&(e-=t/2),e}function PH(e,t,n){return n===90||n===270?e-=t/2:(n>270||n<90)&&(e-=t),e}function NH(e,t,n){const{left:r,top:a,right:i,bottom:o}=n,{backdropColor:A}=t;if(!xe(A)){const l=ti(t.borderRadius),c=Ft(t.backdropPadding);e.fillStyle=A;const d=r-c.left,u=a-c.top,f=i-r+c.width,p=o-a+c.height;Object.values(l).some(h=>h!==0)?(e.beginPath(),as(e,{x:d,y:u,w:f,h:p,radius:l}),e.fill()):e.fillRect(d,u,f,p)}}function RH(e,t){const{ctx:n,options:{pointLabels:r}}=e;for(let a=t-1;a>=0;a--){const i=e._pointLabelItems[a];if(!i.visible)continue;const o=r.setContext(e.getPointLabelContext(a));NH(n,o,i);const A=yt(o.font),{x:l,y:c,textAlign:d}=i;qi(n,e._pointLabels[a],l,c+A.lineHeight/2,A,{color:o.color,textAlign:d,textBaseline:"middle"})}}function s_(e,t,n,r){const{ctx:a}=e;if(n)a.arc(e.xCenter,e.yCenter,t,0,at);else{let i=e.getPointPosition(0,t);a.moveTo(i.x,i.y);for(let o=1;o<r;o++)i=e.getPointPosition(o,t),a.lineTo(i.x,i.y)}}function HH(e,t,n,r,a){const i=e.ctx,o=t.circular,{color:A,lineWidth:l}=t;!o&&!r||!A||!l||n<0||(i.save(),i.strokeStyle=A,i.lineWidth=l,i.setLineDash(a.dash||[]),i.lineDashOffset=a.dashOffset,i.beginPath(),s_(e,n,o,r),i.closePath(),i.stroke(),i.restore())}function VH(e,t,n){return ni(e,{label:n,index:t,type:"pointLabel"})}class qA extends Cd{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=Ft(_m(this.options)/2),n=this.width=this.maxWidth-t.width,r=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+n/2+t.left),this.yCenter=Math.floor(this.top+r/2+t.top),this.drawingArea=Math.floor(Math.min(n,r)/2)}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!1);this.min=gt(t)&&!isNaN(t)?t:0,this.max=gt(n)&&!isNaN(n)?n:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/_m(this.options))}generateTickLabels(t){Cd.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map((n,r)=>{const a=We(this.options.pointLabels.callback,[n,r],this);return a||a===0?a:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const t=this.options;t.display&&t.pointLabels.display?DH(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,r,a){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((r-a)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,r,a))}getIndexAngle(t){const n=at/(this._pointLabels.length||1),r=this.options.startAngle||0;return rn(t*n+Mt(r))}getDistanceFromCenterForValue(t){if(xe(t))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*n:(t-this.min)*n}getValueForDistanceFromCenter(t){if(xe(t))return NaN;const n=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(t){const n=this._pointLabels||[];if(t>=0&&t<n.length){const r=n[t];return VH(this.getContext(),t,r)}}getPointPosition(t,n,r=0){const a=this.getIndexAngle(t)-dt+r;return{x:Math.cos(a)*n+this.xCenter,y:Math.sin(a)*n+this.yCenter,angle:a}}getPointPositionForValue(t,n){return this.getPointPosition(t,this.getDistanceFromCenterForValue(n))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:n,top:r,right:a,bottom:i}=this._pointLabelItems[t];return{left:n,top:r,right:a,bottom:i}}drawBackground(){const{backgroundColor:t,grid:{circular:n}}=this.options;if(t){const r=this.ctx;r.save(),r.beginPath(),s_(this,this.getDistanceFromCenterForValue(this._endValue),n,this._pointLabels.length),r.closePath(),r.fillStyle=t,r.fill(),r.restore()}}drawGrid(){const t=this.ctx,n=this.options,{angleLines:r,grid:a,border:i}=n,o=this._pointLabels.length;let A,l,c;if(n.pointLabels.display&&RH(this,o),a.display&&this.ticks.forEach((d,u)=>{if(u!==0||u===0&&this.min<0){l=this.getDistanceFromCenterForValue(d.value);const f=this.getContext(u),p=a.setContext(f),h=i.setContext(f);HH(this,p,l,o,h)}}),r.display){for(t.save(),A=o-1;A>=0;A--){const d=r.setContext(this.getPointLabelContext(A)),{color:u,lineWidth:f}=d;!f||!u||(t.lineWidth=f,t.strokeStyle=u,t.setLineDash(d.borderDash),t.lineDashOffset=d.borderDashOffset,l=this.getDistanceFromCenterForValue(n.reverse?this.min:this.max),c=this.getPointPosition(A,l),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const a=this.getIndexAngle(0);let i,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(a),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((A,l)=>{if(l===0&&this.min>=0&&!n.reverse)return;const c=r.setContext(this.getContext(l)),d=yt(c.font);if(i=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=d.string,o=t.measureText(A.label).width,t.fillStyle=c.backdropColor;const u=Ft(c.backdropPadding);t.fillRect(-o/2-u.left,-i-d.size/2-u.top,o+u.width,d.size+u.height)}qi(t,A.label,0,-i,d,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),t.restore()}drawTitle(){}}Y(qA,"id","radialLinear"),Y(qA,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:nd.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),Y(qA,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),Y(qA,"descriptors",{angleLines:{_fallback:"grid"}});const kd={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},En=Object.keys(kd);function A_(e,t){return e-t}function l_(e,t){if(xe(t))return null;const n=e._adapter,{parser:r,round:a,isoWeekday:i}=e._parseOpts;let o=t;return typeof r=="function"&&(o=r(o)),gt(o)||(o=typeof r=="string"?n.parse(o,r):n.parse(o)),o===null?null:(a&&(o=a==="week"&&(ei(i)||i===!0)?n.startOf(o,"isoWeek",i):n.startOf(o,a)),+o)}function c_(e,t,n,r){const a=En.length;for(let i=En.indexOf(e);i<a-1;++i){const o=kd[En[i]],A=o.steps?o.steps:Number.MAX_SAFE_INTEGER;if(o.common&&Math.ceil((n-t)/(A*o.size))<=r)return En[i]}return En[a-1]}function zH(e,t,n,r,a){for(let i=En.length-1;i>=En.indexOf(n);i--){const o=En[i];if(kd[o].common&&e._adapter.diff(a,r,o)>=t-1)return o}return En[n?En.indexOf(n):0]}function $H(e){for(let t=En.indexOf(e)+1,n=En.length;t<n;++t)if(kd[En[t]].common)return En[t]}function d_(e,t,n){if(!n)e[t]=!0;else if(n.length){const{lo:r,hi:a}=Rh(n,t),i=n[r]>=t?n[r]:n[a];e[i]=!0}}function KH(e,t,n,r){const a=e._adapter,i=+a.startOf(t[0].value,r),o=t[t.length-1].value;let A,l;for(A=i;A<=o;A=+a.add(A,1,r))l=n[A],l>=0&&(t[l].major=!0);return t}function u_(e,t,n){const r=[],a={},i=t.length;let o,A;for(o=0;o<i;++o)A=t[o],a[A]=o,r.push({value:A,major:!1});return i===0||!n?r:KH(e,r,a,n)}class XA extends no{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,n={}){const r=t.time||(t.time={}),a=this._adapter=new tv._date(t.adapters.date);a.init(n),FA(r.displayFormats,a.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(t),this._normalized=n.normalized}parse(t,n){return t===void 0?null:l_(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,n=this._adapter,r=t.time.unit||"day";let{min:a,max:i,minDefined:o,maxDefined:A}=this.getUserBounds();function l(c){!o&&!isNaN(c.min)&&(a=Math.min(a,c.min)),!A&&!isNaN(c.max)&&(i=Math.max(i,c.max))}(!o||!A)&&(l(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&l(this.getMinMax(!1))),a=gt(a)&&!isNaN(a)?a:+n.startOf(Date.now(),r),i=gt(i)&&!isNaN(i)?i:+n.endOf(Date.now(),r)+1,this.min=Math.min(a,i-1),this.max=Math.max(a+1,i)}_getLabelBounds(){const t=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return t.length&&(n=t[0],r=t[t.length-1]),{min:n,max:r}}buildTicks(){const t=this.options,n=t.time,r=t.ticks,a=r.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&a.length&&(this.min=this._userMin||a[0],this.max=this._userMax||a[a.length-1]);const i=this.min,o=this.max,A=CM(a,i,o);return this._unit=n.unit||(r.autoSkip?c_(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):zH(this,A.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:$H(this._unit),this.initOffsets(a),t.reverse&&A.reverse(),u_(this,A,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let n=0,r=0,a,i;this.options.offset&&t.length&&(a=this.getDecimalForValue(t[0]),t.length===1?n=1-a:n=(this.getDecimalForValue(t[1])-a)/2,i=this.getDecimalForValue(t[t.length-1]),t.length===1?r=i:r=(i-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;n=Kt(n,0,o),r=Kt(r,0,o),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const t=this._adapter,n=this.min,r=this.max,a=this.options,i=a.time,o=i.unit||c_(i.minUnit,n,r,this._getLabelCapacity(n)),A=he(a.ticks.stepSize,1),l=o==="week"?i.isoWeekday:!1,c=ei(l)||l===!0,d={};let u=n,f,p;if(c&&(u=+t.startOf(u,"isoWeek",l)),u=+t.startOf(u,c?"day":o),t.diff(r,n,o)>1e5*A)throw new Error(n+" and "+r+" are too far apart with stepSize of "+A+" "+o);const h=a.ticks.source==="data"&&this.getDataTimestamps();for(f=u,p=0;f<r;f=+t.add(f,A,o),p++)d_(d,f,h);return(f===r||a.bounds==="ticks"||p===1)&&d_(d,f,h),Object.keys(d).sort(A_).map(m=>+m)}getLabelForValue(t){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(t,r.tooltipFormat):n.format(t,r.displayFormats.datetime)}format(t,n){const a=this.options.time.displayFormats,i=this._unit,o=n||a[i];return this._adapter.format(t,o)}_tickFormatFunction(t,n,r,a){const i=this.options,o=i.ticks.callback;if(o)return We(o,[t,n,r],this);const A=i.time.displayFormats,l=this._unit,c=this._majorUnit,d=l&&A[l],u=c&&A[c],f=r[n],p=c&&u&&f&&f.major;return this._adapter.format(t,a||(p?u:d))}generateTickLabels(t){let n,r,a;for(n=0,r=t.length;n<r;++n)a=t[n],a.label=this._tickFormatFunction(a.value,n,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const n=this._offsets,r=this.getDecimalForValue(t);return this.getPixelForDecimal((n.start+r)*n.factor)}getValueForPixel(t){const n=this._offsets,r=this.getDecimalForPixel(t)/n.factor-n.end;return this.min+r*(this.max-this.min)}_getLabelSize(t){const n=this.options.ticks,r=this.ctx.measureText(t).width,a=Mt(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(a),o=Math.sin(a),A=this._resolveTickFontOptions(0).size;return{w:r*i+A*o,h:r*o+A*i}}_getLabelCapacity(t){const n=this.options.time,r=n.displayFormats,a=r[n.unit]||r.millisecond,i=this._tickFormatFunction(t,0,u_(this,[t],this._majorUnit),a),o=this._getLabelSize(i),A=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return A>0?A:1}getDataTimestamps(){let t=this._cache.data||[],n,r;if(t.length)return t;const a=this.getMatchingVisibleMetas();if(this._normalized&&a.length)return this._cache.data=a[0].controller.getAllParsedValues(this);for(n=0,r=a.length;n<r;++n)t=t.concat(a[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let n,r;if(t.length)return t;const a=this.getLabels();for(n=0,r=a.length;n<r;++n)t.push(l_(this,a[n]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return uB(t.sort(A_))}}Y(XA,"id","time"),Y(XA,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function xd(e,t,n){let r=0,a=e.length-1,i,o,A,l;n?(t>=e[r].pos&&t<=e[a].pos&&({lo:r,hi:a}=ca(e,"pos",t)),{pos:i,time:A}=e[r],{pos:o,time:l}=e[a]):(t>=e[r].time&&t<=e[a].time&&({lo:r,hi:a}=ca(e,"time",t)),{time:i,pos:A}=e[r],{time:o,pos:l}=e[a]);const c=o-i;return c?A+(l-A)*(t-i)/c:A}class Cm extends XA{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=xd(n,this.min),this._tableRange=xd(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:r}=this,a=[],i=[];let o,A,l,c,d;for(o=0,A=t.length;o<A;++o)c=t[o],c>=n&&c<=r&&a.push(c);if(a.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(o=0,A=a.length;o<A;++o)d=a[o+1],l=a[o-1],c=a[o],Math.round((d+l)/2)!==c&&i.push({time:c,pos:o/(A-1)});return i}_generate(){const t=this.min,n=this.max;let r=super.getDataTimestamps();return(!r.includes(t)||!r.length)&&r.splice(0,0,t),(!r.includes(n)||r.length===1)&&r.push(n),r.sort((a,i)=>a-i)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?t=this.normalize(n.concat(r)):t=n.length?n:r,t=this._cache.all=t,t}getDecimalForValue(t){return(xd(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,r=this.getDecimalForPixel(t)/n.factor-n.end;return xd(this._table,r*this._tableRange+this._minPos,!0)}}Y(Cm,"id","timeseries"),Y(Cm,"defaults",XA.defaults);var WH=Object.freeze({__proto__:null,CategoryScale:wm,LinearScale:Bm,LogarithmicScale:vm,RadialLinearScale:qA,TimeScale:XA,TimeSeriesScale:Cm});const Mr=[ZP,SR,_H,WH];var GH=typeof global=="object"&&global&&global.Object===Object&&global;const f_=GH;var jH=typeof self=="object"&&self&&self.Object===Object&&self,YH=f_||jH||Function("return this")();const Pr=YH;var qH=Pr.Symbol;const oi=qH;var p_=Object.prototype,XH=p_.hasOwnProperty,JH=p_.toString,JA=oi?oi.toStringTag:void 0;function ZH(e){var t=XH.call(e,JA),n=e[JA];try{e[JA]=void 0;var r=!0}catch{}var a=JH.call(e);return r&&(t?e[JA]=n:delete e[JA]),a}var eV=Object.prototype,tV=eV.toString;function nV(e){return tV.call(e)}var rV="[object Null]",aV="[object Undefined]",h_=oi?oi.toStringTag:void 0;function ZA(e){return e==null?e===void 0?aV:rV:h_&&h_ in Object(e)?ZH(e):nV(e)}function ao(e){return e!=null&&typeof e=="object"}var iV=Array.isArray;const cs=iV;function el(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var oV="[object AsyncFunction]",sV="[object Function]",AV="[object GeneratorFunction]",lV="[object Proxy]";function m_(e){if(!el(e))return!1;var t=ZA(e);return t==sV||t==AV||t==oV||t==lV}var cV=Pr["__core-js_shared__"];const km=cV;var g_=function(){var e=/[^.]+$/.exec(km&&km.keys&&km.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function dV(e){return!!g_&&g_ in e}var uV=Function.prototype,fV=uV.toString;function io(e){if(e!=null){try{return fV.call(e)}catch{}try{return e+""}catch{}}return""}var pV=/[\\^$.*+?()[\]{}|]/g,hV=/^\[object .+?Constructor\]$/,mV=Function.prototype,gV=Object.prototype,yV=mV.toString,bV=gV.hasOwnProperty,wV=RegExp("^"+yV.call(bV).replace(pV,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function BV(e){if(!el(e)||dV(e))return!1;var t=m_(e)?wV:hV;return t.test(io(e))}function vV(e,t){return e==null?void 0:e[t]}function oo(e,t){var n=vV(e,t);return BV(n)?n:void 0}var _V=oo(Pr,"WeakMap");const xm=_V;var y_=Object.create,CV=function(){function e(){}return function(t){if(!el(t))return{};if(y_)return y_(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const kV=CV;function xV(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var EV=function(){try{var e=oo(Object,"defineProperty");return e({},"",{}),e}catch{}}();const b_=EV;function SV(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var FV=9007199254740991,IV=/^(?:0|[1-9]\d*)$/;function DV(e,t){var n=typeof e;return t=t??FV,!!t&&(n=="number"||n!="symbol"&&IV.test(e))&&e>-1&&e%1==0&&e<t}function w_(e,t,n){t=="__proto__"&&b_?b_(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Em(e,t){return e===t||e!==e&&t!==t}var TV=Object.prototype,UV=TV.hasOwnProperty;function B_(e,t,n){var r=e[t];(!(UV.call(e,t)&&Em(r,n))||n===void 0&&!(t in e))&&w_(e,t,n)}function Ed(e,t,n,r){var a=!n;n||(n={});for(var i=-1,o=t.length;++i<o;){var A=t[i],l=r?r(n[A],e[A],A,n,e):void 0;l===void 0&&(l=e[A]),a?w_(n,A,l):B_(n,A,l)}return n}var LV=9007199254740991;function v_(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=LV}function Sm(e){return e!=null&&v_(e.length)&&!m_(e)}var OV=Object.prototype;function Sd(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||OV;return e===n}function QV(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var MV="[object Arguments]";function __(e){return ao(e)&&ZA(e)==MV}var C_=Object.prototype,PV=C_.hasOwnProperty,NV=C_.propertyIsEnumerable,RV=__(function(){return arguments}())?__:function(e){return ao(e)&&PV.call(e,"callee")&&!NV.call(e,"callee")};const k_=RV;function HV(){return!1}var x_=typeof I=="object"&&I&&!I.nodeType&&I,E_=x_&&typeof module=="object"&&module&&!module.nodeType&&module,VV=E_&&E_.exports===x_,S_=VV?Pr.Buffer:void 0,zV=S_?S_.isBuffer:void 0,$V=zV||HV;const tl=$V;var KV="[object Arguments]",WV="[object Array]",GV="[object Boolean]",jV="[object Date]",YV="[object Error]",qV="[object Function]",XV="[object Map]",JV="[object Number]",ZV="[object Object]",ez="[object RegExp]",tz="[object Set]",nz="[object String]",rz="[object WeakMap]",az="[object ArrayBuffer]",iz="[object DataView]",oz="[object Float32Array]",sz="[object Float64Array]",Az="[object Int8Array]",lz="[object Int16Array]",cz="[object Int32Array]",dz="[object Uint8Array]",uz="[object Uint8ClampedArray]",fz="[object Uint16Array]",pz="[object Uint32Array]",ft={};ft[oz]=ft[sz]=ft[Az]=ft[lz]=ft[cz]=ft[dz]=ft[uz]=ft[fz]=ft[pz]=!0,ft[KV]=ft[WV]=ft[az]=ft[GV]=ft[iz]=ft[jV]=ft[YV]=ft[qV]=ft[XV]=ft[JV]=ft[ZV]=ft[ez]=ft[tz]=ft[nz]=ft[rz]=!1;function hz(e){return ao(e)&&v_(e.length)&&!!ft[ZA(e)]}function Fm(e){return function(t){return e(t)}}var F_=typeof I=="object"&&I&&!I.nodeType&&I,nl=F_&&typeof module=="object"&&module&&!module.nodeType&&module,mz=nl&&nl.exports===F_,Im=mz&&f_.process,gz=function(){try{var e=nl&&nl.require&&nl.require("util").types;return e||Im&&Im.binding&&Im.binding("util")}catch{}}();const ds=gz;var I_=ds&&ds.isTypedArray,yz=I_?Fm(I_):hz;const Dm=yz;var bz=Object.prototype,wz=bz.hasOwnProperty;function D_(e,t){var n=cs(e),r=!n&&k_(e),a=!n&&!r&&tl(e),i=!n&&!r&&!a&&Dm(e),o=n||r||a||i,A=o?QV(e.length,String):[],l=A.length;for(var c in e)(t||wz.call(e,c))&&!(o&&(c=="length"||a&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||DV(c,l)))&&A.push(c);return A}function T_(e,t){return function(n){return e(t(n))}}var Bz=T_(Object.keys,Object);const vz=Bz;var _z=Object.prototype,Cz=_z.hasOwnProperty;function U_(e){if(!Sd(e))return vz(e);var t=[];for(var n in Object(e))Cz.call(e,n)&&n!="constructor"&&t.push(n);return t}function Tm(e){return Sm(e)?D_(e):U_(e)}function kz(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var xz=Object.prototype,Ez=xz.hasOwnProperty;function Sz(e){if(!el(e))return kz(e);var t=Sd(e),n=[];for(var r in e)r=="constructor"&&(t||!Ez.call(e,r))||n.push(r);return n}function Um(e){return Sm(e)?D_(e,!0):Sz(e)}var Fz=oo(Object,"create");const rl=Fz;function Iz(){this.__data__=rl?rl(null):{},this.size=0}function Dz(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Tz="__lodash_hash_undefined__",Uz=Object.prototype,Lz=Uz.hasOwnProperty;function Oz(e){var t=this.__data__;if(rl){var n=t[e];return n===Tz?void 0:n}return Lz.call(t,e)?t[e]:void 0}var Qz=Object.prototype,Mz=Qz.hasOwnProperty;function Pz(e){var t=this.__data__;return rl?t[e]!==void 0:Mz.call(t,e)}var Nz="__lodash_hash_undefined__";function Rz(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=rl&&t===void 0?Nz:t,this}function so(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}so.prototype.clear=Iz,so.prototype.delete=Dz,so.prototype.get=Oz,so.prototype.has=Pz,so.prototype.set=Rz;function Hz(){this.__data__=[],this.size=0}function Fd(e,t){for(var n=e.length;n--;)if(Em(e[n][0],t))return n;return-1}var Vz=Array.prototype,zz=Vz.splice;function $z(e){var t=this.__data__,n=Fd(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():zz.call(t,n,1),--this.size,!0}function Kz(e){var t=this.__data__,n=Fd(t,e);return n<0?void 0:t[n][1]}function Wz(e){return Fd(this.__data__,e)>-1}function Gz(e,t){var n=this.__data__,r=Fd(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function pa(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}pa.prototype.clear=Hz,pa.prototype.delete=$z,pa.prototype.get=Kz,pa.prototype.has=Wz,pa.prototype.set=Gz;var jz=oo(Pr,"Map");const al=jz;function Yz(){this.size=0,this.__data__={hash:new so,map:new(al||pa),string:new so}}function qz(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Id(e,t){var n=e.__data__;return qz(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Xz(e){var t=Id(this,e).delete(e);return this.size-=t?1:0,t}function Jz(e){return Id(this,e).get(e)}function Zz(e){return Id(this,e).has(e)}function e$(e,t){var n=Id(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Ao(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ao.prototype.clear=Yz,Ao.prototype.delete=Xz,Ao.prototype.get=Jz,Ao.prototype.has=Zz,Ao.prototype.set=e$;function L_(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}var t$=T_(Object.getPrototypeOf,Object);const O_=t$;function n$(){this.__data__=new pa,this.size=0}function r$(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function a$(e){return this.__data__.get(e)}function i$(e){return this.__data__.has(e)}var o$=200;function s$(e,t){var n=this.__data__;if(n instanceof pa){var r=n.__data__;if(!al||r.length<o$-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ao(r)}return n.set(e,t),this.size=n.size,this}function ha(e){var t=this.__data__=new pa(e);this.size=t.size}ha.prototype.clear=n$,ha.prototype.delete=r$,ha.prototype.get=a$,ha.prototype.has=i$,ha.prototype.set=s$;function A$(e,t){return e&&Ed(t,Tm(t),e)}function l$(e,t){return e&&Ed(t,Um(t),e)}var Q_=typeof I=="object"&&I&&!I.nodeType&&I,M_=Q_&&typeof module=="object"&&module&&!module.nodeType&&module,c$=M_&&M_.exports===Q_,P_=c$?Pr.Buffer:void 0,N_=P_?P_.allocUnsafe:void 0;function d$(e,t){if(t)return e.slice();var n=e.length,r=N_?N_(n):new e.constructor(n);return e.copy(r),r}function u$(e,t){for(var n=-1,r=e==null?0:e.length,a=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[a++]=o)}return i}function R_(){return[]}var f$=Object.prototype,p$=f$.propertyIsEnumerable,H_=Object.getOwnPropertySymbols,h$=H_?function(e){return e==null?[]:(e=Object(e),u$(H_(e),function(t){return p$.call(e,t)}))}:R_;const Lm=h$;function m$(e,t){return Ed(e,Lm(e),t)}var g$=Object.getOwnPropertySymbols,y$=g$?function(e){for(var t=[];e;)L_(t,Lm(e)),e=O_(e);return t}:R_;const V_=y$;function b$(e,t){return Ed(e,V_(e),t)}function z_(e,t,n){var r=t(e);return cs(e)?r:L_(r,n(e))}function Om(e){return z_(e,Tm,Lm)}function w$(e){return z_(e,Um,V_)}var B$=oo(Pr,"DataView");const Qm=B$;var v$=oo(Pr,"Promise");const Mm=v$;var _$=oo(Pr,"Set");const Pm=_$;var $_="[object Map]",C$="[object Object]",K_="[object Promise]",W_="[object Set]",G_="[object WeakMap]",j_="[object DataView]",k$=io(Qm),x$=io(al),E$=io(Mm),S$=io(Pm),F$=io(xm),lo=ZA;(Qm&&lo(new Qm(new ArrayBuffer(1)))!=j_||al&&lo(new al)!=$_||Mm&&lo(Mm.resolve())!=K_||Pm&&lo(new Pm)!=W_||xm&&lo(new xm)!=G_)&&(lo=function(e){var t=ZA(e),n=t==C$?e.constructor:void 0,r=n?io(n):"";if(r)switch(r){case k$:return j_;case x$:return $_;case E$:return K_;case S$:return W_;case F$:return G_}return t});const us=lo;var I$=Object.prototype,D$=I$.hasOwnProperty;function T$(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&D$.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var U$=Pr.Uint8Array;const Dd=U$;function Nm(e){var t=new e.constructor(e.byteLength);return new Dd(t).set(new Dd(e)),t}function L$(e,t){var n=t?Nm(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var O$=/\w*$/;function Q$(e){var t=new e.constructor(e.source,O$.exec(e));return t.lastIndex=e.lastIndex,t}var Y_=oi?oi.prototype:void 0,q_=Y_?Y_.valueOf:void 0;function M$(e){return q_?Object(q_.call(e)):{}}function P$(e,t){var n=t?Nm(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var N$="[object Boolean]",R$="[object Date]",H$="[object Map]",V$="[object Number]",z$="[object RegExp]",$$="[object Set]",K$="[object String]",W$="[object Symbol]",G$="[object ArrayBuffer]",j$="[object DataView]",Y$="[object Float32Array]",q$="[object Float64Array]",X$="[object Int8Array]",J$="[object Int16Array]",Z$="[object Int32Array]",eK="[object Uint8Array]",tK="[object Uint8ClampedArray]",nK="[object Uint16Array]",rK="[object Uint32Array]";function aK(e,t,n){var r=e.constructor;switch(t){case G$:return Nm(e);case N$:case R$:return new r(+e);case j$:return L$(e,n);case Y$:case q$:case X$:case J$:case Z$:case eK:case tK:case nK:case rK:return P$(e,n);case H$:return new r;case V$:case K$:return new r(e);case z$:return Q$(e);case $$:return new r;case W$:return M$(e)}}function iK(e){return typeof e.constructor=="function"&&!Sd(e)?kV(O_(e)):{}}var oK="[object Map]";function sK(e){return ao(e)&&us(e)==oK}var X_=ds&&ds.isMap,AK=X_?Fm(X_):sK;const lK=AK;var cK="[object Set]";function dK(e){return ao(e)&&us(e)==cK}var J_=ds&&ds.isSet,uK=J_?Fm(J_):dK;const fK=uK;var pK=1,hK=2,mK=4,Z_="[object Arguments]",gK="[object Array]",yK="[object Boolean]",bK="[object Date]",wK="[object Error]",eC="[object Function]",BK="[object GeneratorFunction]",vK="[object Map]",_K="[object Number]",tC="[object Object]",CK="[object RegExp]",kK="[object Set]",xK="[object String]",EK="[object Symbol]",SK="[object WeakMap]",FK="[object ArrayBuffer]",IK="[object DataView]",DK="[object Float32Array]",TK="[object Float64Array]",UK="[object Int8Array]",LK="[object Int16Array]",OK="[object Int32Array]",QK="[object Uint8Array]",MK="[object Uint8ClampedArray]",PK="[object Uint16Array]",NK="[object Uint32Array]",ot={};ot[Z_]=ot[gK]=ot[FK]=ot[IK]=ot[yK]=ot[bK]=ot[DK]=ot[TK]=ot[UK]=ot[LK]=ot[OK]=ot[vK]=ot[_K]=ot[tC]=ot[CK]=ot[kK]=ot[xK]=ot[EK]=ot[QK]=ot[MK]=ot[PK]=ot[NK]=!0,ot[wK]=ot[eC]=ot[SK]=!1;function Td(e,t,n,r,a,i){var o,A=t&pK,l=t&hK,c=t&mK;if(n&&(o=a?n(e,r,a,i):n(e)),o!==void 0)return o;if(!el(e))return e;var d=cs(e);if(d){if(o=T$(e),!A)return xV(e,o)}else{var u=us(e),f=u==eC||u==BK;if(tl(e))return d$(e,A);if(u==tC||u==Z_||f&&!a){if(o=l||f?{}:iK(e),!A)return l?b$(e,l$(o,e)):m$(e,A$(o,e))}else{if(!ot[u])return a?e:{};o=aK(e,u,A)}}i||(i=new ha);var p=i.get(e);if(p)return p;i.set(e,o),fK(e)?e.forEach(function(b){o.add(Td(b,t,n,b,e,i))}):lK(e)&&e.forEach(function(b,g){o.set(g,Td(b,t,n,g,e,i))});var h=c?l?w$:Om:l?Um:Tm,m=d?void 0:h(e);return SV(m||e,function(b,g){m&&(g=b,b=e[g]),B_(o,g,Td(b,t,n,g,e,i))}),o}var RK=1,HK=4;function il(e){return Td(e,RK|HK)}var VK="__lodash_hash_undefined__";function zK(e){return this.__data__.set(e,VK),this}function $K(e){return this.__data__.has(e)}function Ud(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Ao;++t<n;)this.add(e[t])}Ud.prototype.add=Ud.prototype.push=zK,Ud.prototype.has=$K;function KK(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function WK(e,t){return e.has(t)}var GK=1,jK=2;function nC(e,t,n,r,a,i){var o=n&GK,A=e.length,l=t.length;if(A!=l&&!(o&&l>A))return!1;var c=i.get(e),d=i.get(t);if(c&&d)return c==t&&d==e;var u=-1,f=!0,p=n&jK?new Ud:void 0;for(i.set(e,t),i.set(t,e);++u<A;){var h=e[u],m=t[u];if(r)var b=o?r(m,h,u,t,e,i):r(h,m,u,e,t,i);if(b!==void 0){if(b)continue;f=!1;break}if(p){if(!KK(t,function(g,B){if(!WK(p,B)&&(h===g||a(h,g,n,r,i)))return p.push(B)})){f=!1;break}}else if(!(h===m||a(h,m,n,r,i))){f=!1;break}}return i.delete(e),i.delete(t),f}function YK(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}function qK(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var XK=1,JK=2,ZK="[object Boolean]",eW="[object Date]",tW="[object Error]",nW="[object Map]",rW="[object Number]",aW="[object RegExp]",iW="[object Set]",oW="[object String]",sW="[object Symbol]",AW="[object ArrayBuffer]",lW="[object DataView]",rC=oi?oi.prototype:void 0,Rm=rC?rC.valueOf:void 0;function cW(e,t,n,r,a,i,o){switch(n){case lW:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case AW:return!(e.byteLength!=t.byteLength||!i(new Dd(e),new Dd(t)));case ZK:case eW:case rW:return Em(+e,+t);case tW:return e.name==t.name&&e.message==t.message;case aW:case oW:return e==t+"";case nW:var A=YK;case iW:var l=r&XK;if(A||(A=qK),e.size!=t.size&&!l)return!1;var c=o.get(e);if(c)return c==t;r|=JK,o.set(e,t);var d=nC(A(e),A(t),r,a,i,o);return o.delete(e),d;case sW:if(Rm)return Rm.call(e)==Rm.call(t)}return!1}var dW=1,uW=Object.prototype,fW=uW.hasOwnProperty;function pW(e,t,n,r,a,i){var o=n&dW,A=Om(e),l=A.length,c=Om(t),d=c.length;if(l!=d&&!o)return!1;for(var u=l;u--;){var f=A[u];if(!(o?f in t:fW.call(t,f)))return!1}var p=i.get(e),h=i.get(t);if(p&&h)return p==t&&h==e;var m=!0;i.set(e,t),i.set(t,e);for(var b=o;++u<l;){f=A[u];var g=e[f],B=t[f];if(r)var w=o?r(B,g,f,t,e,i):r(g,B,f,e,t,i);if(!(w===void 0?g===B||a(g,B,n,r,i):w)){m=!1;break}b||(b=f=="constructor")}if(m&&!b){var y=e.constructor,_=t.constructor;y!=_&&"constructor"in e&&"constructor"in t&&!(typeof y=="function"&&y instanceof y&&typeof _=="function"&&_ instanceof _)&&(m=!1)}return i.delete(e),i.delete(t),m}var hW=1,aC="[object Arguments]",iC="[object Array]",Ld="[object Object]",mW=Object.prototype,oC=mW.hasOwnProperty;function gW(e,t,n,r,a,i){var o=cs(e),A=cs(t),l=o?iC:us(e),c=A?iC:us(t);l=l==aC?Ld:l,c=c==aC?Ld:c;var d=l==Ld,u=c==Ld,f=l==c;if(f&&tl(e)){if(!tl(t))return!1;o=!0,d=!1}if(f&&!d)return i||(i=new ha),o||Dm(e)?nC(e,t,n,r,a,i):cW(e,t,l,n,r,a,i);if(!(n&hW)){var p=d&&oC.call(e,"__wrapped__"),h=u&&oC.call(t,"__wrapped__");if(p||h){var m=p?e.value():e,b=h?t.value():t;return i||(i=new ha),a(m,b,n,r,i)}}return f?(i||(i=new ha),pW(e,t,n,r,a,i)):!1}function sC(e,t,n,r,a){return e===t?!0:e==null||t==null||!ao(e)&&!ao(t)?e!==e&&t!==t:gW(e,t,n,r,sC,a)}var yW="[object Map]",bW="[object Set]",wW=Object.prototype,BW=wW.hasOwnProperty;function vW(e){if(e==null)return!0;if(Sm(e)&&(cs(e)||typeof e=="string"||typeof e.splice=="function"||tl(e)||Dm(e)||k_(e)))return!e.length;var t=us(e);if(t==yW||t==bW)return!e.size;if(Sd(e))return!U_(e).length;for(var n in e)if(BW.call(e,n))return!1;return!0}function AC(e,t){return sC(e,t)}var _W=Object.defineProperty,CW=Object.defineProperties,kW=Object.getOwnPropertyDescriptors,lC=Object.getOwnPropertySymbols,xW=Object.prototype.hasOwnProperty,EW=Object.prototype.propertyIsEnumerable,cC=(e,t,n)=>t in e?_W(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,SW=(e,t)=>{for(var n in t||(t={}))xW.call(t,n)&&cC(e,n,t[n]);if(lC)for(var n of lC(t))EW.call(t,n)&&cC(e,n,t[n]);return e},FW=(e,t)=>CW(e,kW(t));function IW(e){return(e.match(/[a-zA-Z0-9]+/g)||[]).map(t=>`${t.charAt(0).toUpperCase()}${t.slice(1)}`).join("")}var si=(e,t)=>{const n={chartData:{type:Object,required:!0},options:{type:Object,required:!1},chartId:{default:e,type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object},plugins:{type:Array,default:()=>[]},onLabelsUpdate:{type:Function},onChartUpdate:{type:Function},onChartDestroy:{type:Function},onChartRender:{type:Function}},r=IW(e);return s.defineComponent({name:r,props:n,emits:{"labels:update":()=>!0,"chart:update":a=>!0,"chart:destroy":()=>!0,"chart:render":a=>!0},setup(a,{emit:i,expose:o}){const A=s.ref(null),l=`${a.chartId}`;let c=s.shallowRef(null);s.watch(()=>a.chartData,d,{deep:!0}),s.watch(()=>a.options,b=>{c.value&&b&&(c.value.options=il(b),h())},{deep:!0});function d(b){if(c.value){let g=c.value;AC(b.labels,c.value.data.labels)||(g.data.labels=b.labels,f()),AC(b.datasets,c.value.data.datasets)||b.datasets.forEach((B,w)=>{var y,_;if(vW(B))g.data.datasets=[];else{const v=il(g.data),k=Object.keys((_=(y=v.datasets)==null?void 0:y[w])!=null?_:{}),C=Object.keys(B);k.filter(U=>U!=="_meta"&&C.indexOf(U)===-1).forEach(U=>{g.data.datasets[w]&&delete g.data.datasets[w][U]});for(const U in B){const D=il(B[U]);g.data.datasets[w]||(g.data.datasets[w]={}),B.hasOwnProperty(U)&&D!=null&&g&&(g.data.datasets[w][U]=D)}}}),h()}else c.value&&m(),u()}function u(){A.value?(c.value=new ze(A.value,{data:il(a.chartData),type:t,options:il(a.options),plugins:a.plugins}),p()):console.error(`Error on component ${r}, canvas cannot be rendered. Check if the render appends server-side`)}function f(){i("labels:update"),a.onLabelsUpdate&&a.onLabelsUpdate()}function p(){c.value&&(i("chart:render",c.value),a.onChartRender&&a.onChartRender(c.value))}function h(){c.value&&(c.value.update(),i("chart:update",c.value),a.onChartUpdate&&a.onChartUpdate(c.value))}function m(){c.value&&c.value.destroy(),i("chart:destroy"),a.onChartDestroy&&a.onChartDestroy()}return s.onMounted(u),s.onBeforeUnmount(()=>{c.value&&c.value.destroy()}),o({canvasRef:A,renderChart:u,chartInstance:c,canvasId:l,update:h}),()=>s.h("div",{style:FW(SW({maxWidth:"100%"},a.styles),{position:"relative"}),class:a.cssClasses},[s.h("canvas",{style:{maxWidth:"100%",maxHeight:"100%"},id:l,width:a.width,height:a.height,ref:A})])}})},Od=si("bar-chart","bar"),Qd=si("doughnut-chart","doughnut"),dC=si("line-chart","line");si("pie-chart","pie"),si("polar-chart","polarArea"),si("radar-chart","radar"),si("bubble-chart","bubble"),si("scatter-chart","scatter");const Md=s.defineComponent({__name:"InfoDoughnutChart",props:HQ,setup(e){const t=s.ref(null);ze.register(...Mr);const n=e,r=s.computed(()=>{const i=n.info==="typeRef"?"types":"rarities",o={},A=kt(n.deckCode);for(const c in A){const d=hn().cardJsonObject[c];if(d===void 0)continue;let u=d[n.info];u==="Unit"&&(u=d.supertype==="Champion"?"Champion":"Follower"),o[u]===void 0&&(o[u]=0),o[u]+=A[c]}const l=[];for(const c in o){const d=Be().dataJson[i].find(f=>f.nameRef===c),u={key:c,value:o[c],color:d==null?void 0:d.color,name:d==null?void 0:d.name,order:d==null?void 0:d.order};l.push(u)}return console.log(l),l.sort((c,d)=>c.order-d.order),{labels:l.map(c=>c.name),datasets:[{data:l.map(c=>c.value),backgroundColor:l.map(c=>c.color)}]}}),a={cutout:55,layout:{padding:{top:10,bottom:10}},elements:{arc:{borderWidth:0}},plugins:{legend:{display:!0,position:"right",labels:{usePointStyle:!0,generateLabels(i){const o=[],A=i.data.labels;for(let l=0;l<i.data.labels.length;l++)o.push({text:`${A[l]} (${i.data.datasets[0].data[l]})`,borderRadius:999,datasetIndex:0,index:l,fontColor:Oa("--color-0"),fillStyle:i.data.datasets[0].backgroundColor[l]});return o}}},datalabels:{display:!1}}};return(i,o)=>(s.openBlock(),s.createBlock(s.unref(Qd),{ref_key:"chart",ref:t,"chart-data":r.value,options:a},null,8,["chart-data"]))}}),DW={deck:{type:Object,required:!1,default:void 0},deckCode:{type:String,required:!1,default:void 0},paddingTop:{type:Number,required:!1,default:10},showDataLabels:{type:Boolean,required:!1,default:!0},dataLabelsOffset:{type:Number,required:!1,default:-10},tooltipsEnabled:{type:Boolean,required:!1,default:!0},displayXScale:{type:Boolean,required:!1,default:!0},animation:{type:Boolean,required:!1}};//! moment.js
|
|
673
673
|
//! version : 2.30.1
|
|
674
674
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
675
675
|
//! license : MIT
|
|
@@ -694,7 +694,7 @@ j.version="2.30.1",TW(ht),j.fn=z,j.min=wj,j.max=Bj,j.now=vj,j.utc=Nr,j.unix=qY,j
|
|
|
694
694
|
* https://www.chartjs.org/chartjs-plugin-annotation/index
|
|
695
695
|
* (c) 2023 chartjs-plugin-annotation Contributors
|
|
696
696
|
* Released under the MIT License
|
|
697
|
-
*/const bk={modes:{point(e,t){return cu(e,t,{intersect:!0})},nearest(e,t,n){return nX(e,t,n)},x(e,t,n){return cu(e,t,{intersect:n.intersect,axis:"x"})},y(e,t,n){return cu(e,t,{intersect:n.intersect,axis:"y"})}}};function vg(e,t,n){return(bk.modes[n.mode]||bk.modes.nearest)(e,t,n)}function eX(e,t,n){return n!=="x"&&n!=="y"?e.inRange(t.x,t.y,"x",!0)||e.inRange(t.x,t.y,"y",!0):e.inRange(t.x,t.y,n,!0)}function tX(e,t,n){return n==="x"?{x:e.x,y:t.y}:n==="y"?{x:t.x,y:e.y}:t}function cu(e,t,n){return e.visibleElements.filter(r=>n.intersect?r.inRange(t.x,t.y):eX(r,t,n.axis))}function nX(e,t,n){let r=Number.POSITIVE_INFINITY;return cu(e,t,n).reduce((a,i)=>{const o=i.getCenterPoint(),A=tX(t,o,n.axis),l=rs(t,A);return l<r?(a=[i],r=l):l===r&&a.push(i),a},[]).sort((a,i)=>a._index-i._index).slice(0,1)}const rX=(e,t)=>t>e||e.length>t.length&&e.slice(0,t.length)===t,ho=.001,du=(e,t,n)=>Math.min(n,Math.max(t,e));function aX(e,t,n){for(const r of Object.keys(e))e[r]=du(e[r],t,n);return e}function iX(e,t,n,r){if(!e||!t||n<=0)return!1;const a=r/2;return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<=Math.pow(n+a,2)}function wk(e,{x:t,y:n,x2:r,y2:a},i,o){const A=o/2,l=e.x>=t-A-ho&&e.x<=r+A+ho,c=e.y>=n-A-ho&&e.y<=a+A+ho;return i==="x"?l:(i==="y"||l)&&c}function vs(e,t){const{centerX:n,centerY:r}=e.getProps(["centerX","centerY"],t);return{x:n,y:r}}function oX(e,t,n,r=!0){const a=n.split(".");let i=0;for(const o of t.split(".")){const A=a[i++];if(parseInt(o,10)<parseInt(A,10))break;if(rX(A,o)){if(r)throw new Error(`${e} v${n} is not supported. v${t} or newer is required.`);return!1}}return!0}const Bk=e=>typeof e=="string"&&e.endsWith("%"),vk=e=>parseFloat(e)/100,_k=e=>du(vk(e),0,1);function _g(e,t){return t==="start"?0:t==="end"?e:Bk(t)?_k(t)*e:e/2}function di(e,t,n=!0){return typeof t=="number"?t:Bk(t)?(n?_k(t):vk(t))*e:e}function sX(e,t){const{x:n,width:r}=e,a=t.textAlign;return a==="center"?n+r/2:a==="end"||a==="right"?n+r:n}function Cg(e,t="center"){return Ee(e)?{x:he(e.x,t),y:he(e.y,t)}:(e=he(e,t),{x:e,y:e})}function Ck(e){return e&&(Cn(e.xValue)||Cn(e.yValue))}function wl(e,t,n,r=!1){const a=n.init;if(a){if(a===!0)return xk(t,r)}else return;return AX(t,r,We(a,[{chart:e,properties:t,options:n}]))}function kk(e,t,n){let r=!1;return t.forEach(a=>{kn(e[a])?(r=!0,n[a]=e[a]):Cn(n[a])&&delete n[a]}),r}function xk({centerX:e,centerY:t},n){return n?{centerX:e,centerY:t,radius:0,width:0,height:0}:{x:e,y:t,x2:e,y2:t,width:0,height:0}}function AX(e,t,n){if(n===!0)return xk(e,t);if(Ee(n))return n}const kg=new Map,lX=e=>isNaN(e)||e<=0,cX=e=>e.reduce(function(t,n){return t+=n.string,t},"");function uu(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object HTMLImageElement]"||t==="[object HTMLCanvasElement]"}}function xg(e,{x:t,y:n},r){r&&(e.translate(t,n),e.rotate(Mt(r)),e.translate(-t,-n))}function ui(e,t){if(t&&t.borderWidth)return e.lineCap=t.borderCapStyle,e.setLineDash(t.borderDash),e.lineDashOffset=t.borderDashOffset,e.lineJoin=t.borderJoinStyle,e.lineWidth=t.borderWidth,e.strokeStyle=t.borderColor,!0}function _s(e,t){e.shadowColor=t.backgroundShadowColor,e.shadowBlur=t.shadowBlur,e.shadowOffsetX=t.shadowOffsetX,e.shadowOffsetY=t.shadowOffsetY}function Eg(e,t){const n=t.content;if(uu(n))return{width:di(n.width,t.width),height:di(n.height,t.height)};const r=t.font,a=Ve(r)?r.map(l=>yt(l)):[yt(r)],i=t.textStrokeWidth,o=Ve(n)?n:[n],A=o.join()+cX(a)+i+(e._measureText?"-spriting":"");return kg.has(A)||kg.set(A,hX(e,o,a,i)),kg.get(A)}function Ek(e,t,n){const{x:r,y:a,width:i,height:o}=t;e.save(),_s(e,n);const A=ui(e,n);e.fillStyle=n.backgroundColor,e.beginPath(),as(e,{x:r,y:a,w:i,h:o,radius:aX(ti(n.borderRadius),0,Math.min(i,o)/2)}),e.closePath(),e.fill(),A&&(e.shadowColor=n.borderShadowColor,e.stroke()),e.restore()}function dX(e,t,n){const r=n.content;if(uu(r)){e.save(),e.globalAlpha=yX(n.opacity,r.style.opacity),e.drawImage(r,t.x,t.y,t.width,t.height),e.restore();return}const a=Ve(r)?r:[r],i=n.font,o=Ve(i)?i.map(u=>yt(u)):[yt(i)],A=n.color,l=Ve(A)?A:[A],c=sX(t,n),d=t.y+n.textStrokeWidth/2;e.save(),e.textBaseline="middle",e.textAlign=n.textAlign,uX(e,n)&&mX(e,{x:c,y:d},a,o),gX(e,{x:c,y:d},a,{fonts:o,colors:l}),e.restore()}function uX(e,t){if(t.textStrokeWidth>0)return e.lineJoin="round",e.miterLimit=2,e.lineWidth=t.textStrokeWidth,e.strokeStyle=t.textStrokeColor,!0}function fX(e,t,n,r){const{radius:a,options:i}=t,o=i.pointStyle,A=i.rotation;let l=(A||0)*Nh;if(uu(o)){e.save(),e.translate(n,r),e.rotate(l),e.drawImage(o,-o.width/2,-o.height/2,o.width,o.height),e.restore();return}lX(a)||pX(e,{x:n,y:r,radius:a,rotation:A,style:o,rad:l})}function pX(e,{x:t,y:n,radius:r,rotation:a,style:i,rad:o}){let A,l,c,d;switch(e.beginPath(),i){default:e.arc(t,n,r,0,at),e.closePath();break;case"triangle":e.moveTo(t+Math.sin(o)*r,n-Math.cos(o)*r),o+=Zc,e.lineTo(t+Math.sin(o)*r,n-Math.cos(o)*r),o+=Zc,e.lineTo(t+Math.sin(o)*r,n-Math.cos(o)*r),e.closePath();break;case"rectRounded":d=r*.516,c=r-d,A=Math.cos(o+Xn)*c,l=Math.sin(o+Xn)*c,e.arc(t-A,n-l,d,o-Ce,o-dt),e.arc(t+l,n-A,d,o-dt,o),e.arc(t+A,n+l,d,o,o+dt),e.arc(t-l,n+A,d,o+dt,o+Ce),e.closePath();break;case"rect":if(!a){c=Math.SQRT1_2*r,e.rect(t-c,n-c,2*c,2*c);break}o+=Xn;case"rectRot":A=Math.cos(o)*r,l=Math.sin(o)*r,e.moveTo(t-A,n-l),e.lineTo(t+l,n-A),e.lineTo(t+A,n+l),e.lineTo(t-l,n+A),e.closePath();break;case"crossRot":o+=Xn;case"cross":A=Math.cos(o)*r,l=Math.sin(o)*r,e.moveTo(t-A,n-l),e.lineTo(t+A,n+l),e.moveTo(t+l,n-A),e.lineTo(t-l,n+A);break;case"star":A=Math.cos(o)*r,l=Math.sin(o)*r,e.moveTo(t-A,n-l),e.lineTo(t+A,n+l),e.moveTo(t+l,n-A),e.lineTo(t-l,n+A),o+=Xn,A=Math.cos(o)*r,l=Math.sin(o)*r,e.moveTo(t-A,n-l),e.lineTo(t+A,n+l),e.moveTo(t+l,n-A),e.lineTo(t-l,n+A);break;case"line":A=Math.cos(o)*r,l=Math.sin(o)*r,e.moveTo(t-A,n-l),e.lineTo(t+A,n+l);break;case"dash":e.moveTo(t,n),e.lineTo(t+Math.cos(o)*r,n+Math.sin(o)*r);break}e.fill()}function hX(e,t,n,r){e.save();const a=t.length;let i=0,o=r;for(let A=0;A<a;A++){const l=n[Math.min(A,n.length-1)];e.font=l.string;const c=t[A];i=Math.max(i,e.measureText(c).width+r),o+=l.lineHeight}return e.restore(),{width:i,height:o}}function mX(e,{x:t,y:n},r,a){e.beginPath();let i=0;r.forEach(function(o,A){const l=a[Math.min(A,a.length-1)],c=l.lineHeight;e.font=l.string,e.strokeText(o,t,n+c/2+i),i+=c}),e.stroke()}function gX(e,{x:t,y:n},r,{fonts:a,colors:i}){let o=0;r.forEach(function(A,l){const c=i[Math.min(l,i.length-1)],d=a[Math.min(l,a.length-1)],u=d.lineHeight;e.beginPath(),e.font=d.string,e.fillStyle=c,e.fillText(A,t,n+u/2+o),o+=u,e.fill()})}function yX(e,t){const n=ei(e)?e:t;return ei(n)?du(n,0,1):1}const Sk={xScaleID:{min:"xMin",max:"xMax",start:"left",end:"right",startProp:"x",endProp:"x2"},yScaleID:{min:"yMin",max:"yMax",start:"bottom",end:"top",startProp:"y",endProp:"y2"}};function Cs(e,t,n){return t=typeof t=="number"?t:e.parse(t),gt(t)?e.getPixelForValue(t):n}function mo(e,t,n){const r=t[n];if(r||n==="scaleID")return r;const a=n.charAt(0),i=Object.values(e).filter(o=>o.axis&&o.axis===a);return i.length?i[0].id:a}function Fk(e,t){if(e){const n=e.options.reverse,r=Cs(e,t.min,n?t.end:t.start),a=Cs(e,t.max,n?t.start:t.end);return{start:r,end:a}}}function Ik(e,t){const{chartArea:n,scales:r}=e,a=r[mo(r,t,"xScaleID")],i=r[mo(r,t,"yScaleID")];let o=n.width/2,A=n.height/2;return a&&(o=Cs(a,t.xValue,a.left+a.width/2)),i&&(A=Cs(i,t.yValue,i.top+i.height/2)),{x:o,y:A}}function Sg(e,t){const n=e.scales,r=n[mo(n,t,"xScaleID")],a=n[mo(n,t,"yScaleID")];if(!r&&!a)return{};let{left:i,right:o}=r||e.chartArea,{top:A,bottom:l}=a||e.chartArea;const c=Uk(r,{min:t.xMin,max:t.xMax,start:i,end:o});i=c.start,o=c.end;const d=Uk(a,{min:t.yMin,max:t.yMax,start:l,end:A});return A=d.start,l=d.end,{x:i,y:A,x2:o,y2:l,width:o-i,height:l-A,centerX:i+(o-i)/2,centerY:A+(l-A)/2}}function Dk(e,t){if(!Ck(t)){const n=Sg(e,t);let r=t.radius;(!r||isNaN(r))&&(r=Math.min(n.width,n.height)/2,t.radius=r);const a=r*2,i=n.centerX+t.xAdjust,o=n.centerY+t.yAdjust;return{x:i-r,y:o-r,x2:i+r,y2:o+r,centerX:i,centerY:o,width:a,height:a,radius:r}}return wX(e,t)}function bX(e,t){const{scales:n,chartArea:r}=e,a=n[t.scaleID],i={x:r.left,y:r.top,x2:r.right,y2:r.bottom};return a?BX(a,i,t):vX(n,i,t),i}function Tk(e,t,n){const r=Sg(e,t);return r.initProperties=wl(e,r,t,n),r.elements=[{type:"label",optionScope:"label",properties:kX(e,r,t),initProperties:r.initProperties}],r}function wX(e,t){const n=Ik(e,t),r=t.radius*2;return{x:n.x-t.radius+t.xAdjust,y:n.y-t.radius+t.yAdjust,x2:n.x+t.radius+t.xAdjust,y2:n.y+t.radius+t.yAdjust,centerX:n.x+t.xAdjust,centerY:n.y+t.yAdjust,radius:t.radius,width:r,height:r}}function Uk(e,t){const n=Fk(e,t)||t;return{start:Math.min(n.start,n.end),end:Math.max(n.start,n.end)}}function BX(e,t,n){const r=Cs(e,n.value,NaN),a=Cs(e,n.endValue,r);e.isHorizontal()?(t.x=r,t.x2=a):(t.y=r,t.y2=a)}function vX(e,t,n){for(const r of Object.keys(Sk)){const a=e[mo(e,n,r)];if(a){const{min:i,max:o,start:A,end:l,startProp:c,endProp:d}=Sk[r],u=Fk(a,{min:n[i],max:n[o],start:a[A],end:a[l]});t[c]=u.start,t[d]=u.end}}}function _X({properties:e,options:t},n,r,a){const{x:i,x2:o,width:A}=e;return Lk({start:i,end:o,size:A,borderWidth:t.borderWidth},{position:r.x,padding:{start:a.left,end:a.right},adjust:t.label.xAdjust,size:n.width})}function CX({properties:e,options:t},n,r,a){const{y:i,y2:o,height:A}=e;return Lk({start:i,end:o,size:A,borderWidth:t.borderWidth},{position:r.y,padding:{start:a.top,end:a.bottom},adjust:t.label.yAdjust,size:n.height})}function Lk(e,t){const{start:n,end:r,borderWidth:a}=e,{position:i,padding:{start:o,end:A},adjust:l}=t,c=r-a-n-o-A-t.size;return n+a/2+l+_g(c,i)}function kX(e,t,n){const r=n.label;r.backgroundColor="transparent",r.callout.display=!1;const a=Cg(r.position),i=Ft(r.padding),o=Eg(e.ctx,r),A=_X({properties:t,options:n},o,a,i),l=CX({properties:t,options:n},o,a,i),c=o.width+i.width,d=o.height+i.height;return{x:A,y:l,x2:A+c,y2:l+d,width:c,height:d,centerX:A+c/2,centerY:l+d/2,rotation:r.rotation}}function go(e,t,n){const r=Math.cos(n),a=Math.sin(n),i=t.x,o=t.y;return{x:i+r*(e.x-i)-a*(e.y-o),y:o+a*(e.x-i)+r*(e.y-o)}}const Fg=["enter","leave"],Ig=Fg.concat("click");function xX(e,t,n){t.listened=kk(n,Ig,t.listeners),t.moveListened=!1,t._getElements=vg,Fg.forEach(r=>{kn(n[r])&&(t.moveListened=!0)}),(!t.listened||!t.moveListened)&&t.annotations.forEach(r=>{!t.listened&&kn(r.click)&&(t.listened=!0),t.moveListened||Fg.forEach(a=>{kn(r[a])&&(t.listened=!0,t.moveListened=!0)})})}function EX(e,t,n){if(e.listened)switch(t.type){case"mousemove":case"mouseout":return SX(e,t,n);case"click":return FX(e,t,n)}}function SX(e,t,n){if(!e.moveListened)return;let r;t.type==="mousemove"?r=vg(e,t,n.interaction):r=[];const a=e.hovered;e.hovered=r;const i={state:e,event:t};let o=Ok(i,"leave",a,r);return Ok(i,"enter",r,a)||o}function Ok({state:e,event:t},n,r,a){let i;for(const o of r)a.indexOf(o)<0&&(i=Qk(o.options[n]||e.listeners[n],o,t)||i);return i}function FX(e,t,n){const r=e.listeners,a=vg(e,t,n.interaction);let i;for(const o of a)i=Qk(o.options.click||r.click,o,t)||i;return i}function Qk(e,t,n){return We(e,[t.$context,n])===!0}const fu=["afterDraw","beforeDraw"];function IX(e,t,n){const r=t.visibleElements;t.hooked=kk(n,fu,t.hooks),t.hooked||r.forEach(a=>{t.hooked||fu.forEach(i=>{kn(a.options[i])&&(t.hooked=!0)})})}function Mk(e,t,n){if(e.hooked){const r=t.options[n]||e.hooks[n];return We(r,[t.$context])}}function DX(e,t,n){const r=QX(e.scales,t,n);let a=Pk(t,r,"min","suggestedMin");a=Pk(t,r,"max","suggestedMax")||a,a&&kn(t.handleTickRangeOptions)&&t.handleTickRangeOptions()}function TX(e,t){for(const n of e)LX(n,t)}function Pk(e,t,n,r){if(gt(t[n])&&!UX(e.options,n,r)){const a=e[n]!==t[n];return e[n]=t[n],a}}function UX(e,t,n){return Cn(e[t])||Cn(e[n])}function LX(e,t){for(const n of["scaleID","xScaleID","yScaleID"]){const r=mo(t,e,n);r&&!t[r]&&OX(e,n)&&console.warn(`No scale found with id '${r}' for annotation '${e.id}'`)}}function OX(e,t){if(t==="scaleID")return!0;const n=t.charAt(0);for(const r of["Min","Max","Value"])if(Cn(e[n+r]))return!0;return!1}function QX(e,t,n){const r=t.axis,a=t.id,i=r+"ScaleID",o={min:he(t.min,Number.NEGATIVE_INFINITY),max:he(t.max,Number.POSITIVE_INFINITY)};for(const A of n)A.scaleID===a?Nk(A,t,["value","endValue"],o):mo(e,A,i)===a&&Nk(A,t,[r+"Min",r+"Max",r+"Value"],o);return o}function Nk(e,t,n,r){for(const a of n){const i=e[a];if(Cn(i)){const o=t.parse(i);r.min=Math.min(r.min,o),r.max=Math.max(r.max,o)}}}class ks extends yn{inRange(t,n,r,a){const{x:i,y:o}=go({x:t,y:n},this.getCenterPoint(a),Mt(-this.options.rotation));return wk({x:i,y:o},this.getProps(["x","y","x2","y2"],a),r,this.options.borderWidth)}getCenterPoint(t){return vs(this,t)}draw(t){t.save(),xg(t,this.getCenterPoint(),this.options.rotation),Ek(t,this,this.options),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,n){return Tk(t,n)}}ks.id="boxAnnotation",ks.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:0,borderShadowColor:"transparent",borderWidth:1,display:!0,init:void 0,label:{backgroundColor:"transparent",borderWidth:0,callout:{display:!1},color:"black",content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:"bold"},height:void 0,opacity:void 0,padding:6,position:"center",rotation:void 0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},ks.defaultRoutes={borderColor:"color",backgroundColor:"color"},ks.descriptors={label:{_fallback:!0}};const Rk=["left","bottom","top","right"];class Bl extends yn{inRange(t,n,r,a){const{x:i,y:o}=go({x:t,y:n},this.getCenterPoint(a),Mt(-this.rotation));return wk({x:i,y:o},this.getProps(["x","y","x2","y2"],a),r,this.options.borderWidth)}getCenterPoint(t){return vs(this,t)}draw(t){const n=this.options,r=!Cn(this._visible)||this._visible;!n.display||!n.content||!r||(t.save(),xg(t,this.getCenterPoint(),this.rotation),PX(t,this),Ek(t,this,n),dX(t,KX(this),n),t.restore())}resolveElementProperties(t,n){let r;if(Ck(n))r=Ik(t,n);else{const{centerX:A,centerY:l}=Sg(t,n);r={x:A,y:l}}const a=Ft(n.padding),i=Eg(t.ctx,n),o=MX(r,i,n,a);return{initProperties:wl(t,o,n),pointX:r.x,pointY:r.y,...o,rotation:n.rotation}}}Bl.id="labelAnnotation",Bl.defaults={adjustScaleRange:!0,backgroundColor:"transparent",backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:0,borderShadowColor:"transparent",borderWidth:0,callout:{borderCapStyle:"butt",borderColor:void 0,borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:1,display:!1,margin:5,position:"auto",side:5,start:"50%"},color:"black",content:null,display:!0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:void 0},height:void 0,init:void 0,opacity:void 0,padding:6,position:"center",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:"center",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},Bl.defaultRoutes={borderColor:"color"};function MX(e,t,n,r){const a=t.width+r.width+n.borderWidth,i=t.height+r.height+n.borderWidth,o=Cg(n.position,"center"),A=Hk(e.x,a,n.xAdjust,o.x),l=Hk(e.y,i,n.yAdjust,o.y);return{x:A,y:l,x2:A+a,y2:l+i,width:a,height:i,centerX:A+a/2,centerY:l+i/2}}function Hk(e,t,n=0,r){return e-_g(t,r)+n}function PX(e,t){const{pointX:n,pointY:r,options:a}=t,i=a.callout,o=i&&i.display&&zX(t,i);if(!o||WX(t,i,o))return;if(e.save(),e.beginPath(),!ui(e,i))return e.restore();const{separatorStart:l,separatorEnd:c}=NX(t,o),{sideStart:d,sideEnd:u}=HX(t,o,l);(i.margin>0||a.borderWidth===0)&&(e.moveTo(l.x,l.y),e.lineTo(c.x,c.y)),e.moveTo(d.x,d.y),e.lineTo(u.x,u.y);const f=go({x:n,y:r},t.getCenterPoint(),Mt(-t.rotation));e.lineTo(f.x,f.y),e.stroke(),e.restore()}function NX(e,t){const{x:n,y:r,x2:a,y2:i}=e,o=RX(e,t);let A,l;return t==="left"||t==="right"?(A={x:n+o,y:r},l={x:A.x,y:i}):(A={x:n,y:r+o},l={x:a,y:A.y}),{separatorStart:A,separatorEnd:l}}function RX(e,t){const{width:n,height:r,options:a}=e,i=a.callout.margin+a.borderWidth/2;return t==="right"?n+i:t==="bottom"?r+i:-i}function HX(e,t,n){const{y:r,width:a,height:i,options:o}=e,A=o.callout.start,l=VX(t,o.callout);let c,d;return t==="left"||t==="right"?(c={x:n.x,y:r+di(i,A)},d={x:c.x+l,y:c.y}):(c={x:n.x+di(a,A),y:n.y},d={x:c.x,y:c.y+l}),{sideStart:c,sideEnd:d}}function VX(e,t){const n=t.side;return e==="left"||e==="top"?-n:n}function zX(e,t){const n=t.position;return Rk.includes(n)?n:$X(e,t)}function $X(e,t){const{x:n,y:r,x2:a,y2:i,width:o,height:A,pointX:l,pointY:c,centerX:d,centerY:u,rotation:f}=e,p={x:d,y:u},h=t.start,m=di(o,h),b=di(A,h),g=[n,n+m,n+m,a],B=[r+b,i,r,i],w=[];for(let y=0;y<4;y++){const _=go({x:g[y],y:B[y]},p,Mt(f));w.push({position:Rk[y],distance:rs(_,{x:l,y:c})})}return w.sort((y,_)=>y.distance-_.distance)[0].position}function KX({x:e,y:t,width:n,height:r,options:a}){const i=a.borderWidth/2,o=Ft(a.padding);return{x:e+o.left+i,y:t+o.top+i,width:n-o.left-o.right-a.borderWidth,height:r-o.top-o.bottom-a.borderWidth}}function WX(e,t,n){const{pointX:r,pointY:a}=e,i=t.margin;let o=r,A=a;return n==="left"?o+=i:n==="right"?o-=i:n==="top"?A+=i:n==="bottom"&&(A-=i),e.inRange(o,A)}const Dg=(e,t,n)=>({x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}),Tg=(e,t,n)=>Dg(t,n,Math.abs((e-t.y)/(n.y-t.y))).x,Vk=(e,t,n)=>Dg(t,n,Math.abs((e-t.x)/(n.x-t.x))).y,vl=e=>e*e,GX=(e,t,{x:n,y:r,x2:a,y2:i},o)=>o==="y"?{start:Math.min(r,i),end:Math.max(r,i),value:t}:{start:Math.min(n,a),end:Math.max(n,a),value:e},zk=(e,t,n,r)=>(1-r)*(1-r)*e+2*(1-r)*r*t+r*r*n,Ug=(e,t,n,r)=>({x:zk(e.x,t.x,n.x,r),y:zk(e.y,t.y,n.y,r)}),$k=(e,t,n,r)=>2*(1-r)*(t-e)+2*r*(n-t),Kk=(e,t,n,r)=>-Math.atan2($k(e.x,t.x,n.x,r),$k(e.y,t.y,n.y,r))+.5*Ce;class _l extends yn{inRange(t,n,r,a){const i=this.options.borderWidth/2;if(r!=="x"&&r!=="y"){const o={mouseX:t,mouseY:n},{path:A,ctx:l}=this;if(A){ui(l,this.options);const{chart:d}=this.$context,u=t*d.currentDevicePixelRatio,f=n*d.currentDevicePixelRatio,p=l.isPointInStroke(A,u,f)||Lg(this,o,a);return l.restore(),p}const c=vl(i);return XX(this,o,c,a)||Lg(this,o,a)}return jX(this,{mouseX:t,mouseY:n},r,{hBorderWidth:i,useFinalPosition:a})}getCenterPoint(t){return vs(this,t)}draw(t){const{x:n,y:r,x2:a,y2:i,cp:o,options:A}=this;if(t.save(),!ui(t,A))return t.restore();_s(t,A);const l=Math.sqrt(Math.pow(a-n,2)+Math.pow(i-r,2));if(A.curve&&o)return iJ(t,this,o,l),t.restore();const{startOpts:c,endOpts:d,startAdjust:u,endAdjust:f}=qk(this),p=Math.atan2(i-r,a-n);t.translate(n,r),t.rotate(p),t.beginPath(),t.moveTo(0+u,0),t.lineTo(l-f,0),t.shadowColor=A.borderShadowColor,t.stroke(),Og(t,0,u,c),Og(t,l,-f,d),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,n){const r=bX(t,n),{x:a,y:i,x2:o,y2:A}=r,l=YX(r,t.chartArea),c=l?qX({x:a,y:i},{x:o,y:A},t.chartArea):{x:a,y:i,x2:o,y2:A,width:Math.abs(o-a),height:Math.abs(A-i)};if(c.centerX=(o+a)/2,c.centerY=(A+i)/2,c.initProperties=wl(t,c,n),n.curve){const u={x:c.x,y:c.y},f={x:c.x2,y:c.y2};c.cp=aJ(c,n,rs(u,f))}const d=JX(t,c,n.label);return d._visible=l,c.elements=[{type:"label",optionScope:"label",properties:d,initProperties:c.initProperties}],c}}_l.id="lineAnnotation";const Wk={backgroundColor:void 0,backgroundShadowColor:void 0,borderColor:void 0,borderDash:void 0,borderDashOffset:void 0,borderShadowColor:void 0,borderWidth:void 0,display:void 0,fill:void 0,length:void 0,shadowBlur:void 0,shadowOffsetX:void 0,shadowOffsetY:void 0,width:void 0};_l.defaults={adjustScaleRange:!0,arrowHeads:{display:!1,end:Object.assign({},Wk),fill:!1,length:12,start:Object.assign({},Wk),width:6},borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:2,curve:!1,controlPoint:{y:"-50%"},display:!0,endValue:void 0,init:void 0,label:{backgroundColor:"rgba(0,0,0,0.8)",backgroundShadowColor:"transparent",borderCapStyle:"butt",borderColor:"black",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:6,borderShadowColor:"transparent",borderWidth:0,callout:Object.assign({},Bl.defaults.callout),color:"#fff",content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:"bold"},height:void 0,opacity:void 0,padding:6,position:"center",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:"center",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},scaleID:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,value:void 0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},_l.descriptors={arrowHeads:{start:{_fallback:!0},end:{_fallback:!0},_fallback:!0}},_l.defaultRoutes={borderColor:"color"};function jX(e,{mouseX:t,mouseY:n},r,{hBorderWidth:a,useFinalPosition:i}){const o=GX(t,n,e.getProps(["x","y","x2","y2"],i),r);return o.value>=o.start-a&&o.value<=o.end+a||Lg(e,{mouseX:t,mouseY:n},i,r)}function YX({x:e,y:t,x2:n,y2:r},{top:a,right:i,bottom:o,left:A}){return!(e<A&&n<A||e>i&&n>i||t<a&&r<a||t>o&&r>o)}function Gk({x:e,y:t},n,{top:r,right:a,bottom:i,left:o}){return e<o&&(t=Vk(o,{x:e,y:t},n),e=o),e>a&&(t=Vk(a,{x:e,y:t},n),e=a),t<r&&(e=Tg(r,{x:e,y:t},n),t=r),t>i&&(e=Tg(i,{x:e,y:t},n),t=i),{x:e,y:t}}function qX(e,t,n){const{x:r,y:a}=Gk(e,t,n),{x:i,y:o}=Gk(t,e,n);return{x:r,y:a,x2:i,y2:o,width:Math.abs(i-r),height:Math.abs(o-a)}}function XX(e,{mouseX:t,mouseY:n},r=ho,a){const{x:i,y:o,x2:A,y2:l}=e.getProps(["x","y","x2","y2"],a),c=A-i,d=l-o,u=vl(c)+vl(d),f=u===0?-1:((t-i)*c+(n-o)*d)/u;let p,h;return f<0?(p=i,h=o):f>1?(p=A,h=l):(p=i+f*c,h=o+f*d),vl(t-p)+vl(n-h)<=r}function Lg(e,{mouseX:t,mouseY:n},r,a){const i=e.label;return i.options.display&&i.inRange(t,n,a,r)}function JX(e,t,n){const r=n.borderWidth,a=Ft(n.padding),i=Eg(e.ctx,n),o=i.width+a.width+r,A=i.height+a.height+r;return eJ(t,n,{width:o,height:A,padding:a},e.chartArea)}function ZX(e){const{x:t,y:n,x2:r,y2:a}=e,i=Math.atan2(a-n,r-t);return i>Ce/2?i-Ce:i<Ce/-2?i+Ce:i}function eJ(e,t,n,r){const{width:a,height:i,padding:o}=n,{xAdjust:A,yAdjust:l}=t,c={x:e.x,y:e.y},d={x:e.x2,y:e.y2},u=t.rotation==="auto"?ZX(e):Mt(t.rotation),f=tJ(a,i,u),p=nJ(e,t,{labelSize:f,padding:o},r),h=e.cp?Ug(c,e.cp,d,p):Dg(c,d,p),m={size:f.w,min:r.left,max:r.right,padding:o.left},b={size:f.h,min:r.top,max:r.bottom,padding:o.top},g=Yk(h.x,m)+A,B=Yk(h.y,b)+l;return{x:g-a/2,y:B-i/2,x2:g+a/2,y2:B+i/2,centerX:g,centerY:B,pointX:h.x,pointY:h.y,width:a,height:i,rotation:ed(u)}}function tJ(e,t,n){const r=Math.cos(n),a=Math.sin(n);return{w:Math.abs(e*r)+Math.abs(t*a),h:Math.abs(e*a)+Math.abs(t*r)}}function nJ(e,t,n,r){let a;const i=rJ(e,r);return t.position==="start"?a=jk({w:e.x2-e.x,h:e.y2-e.y},n,t,i):t.position==="end"?a=1-jk({w:e.x-e.x2,h:e.y-e.y2},n,t,i):a=_g(1,t.position),a}function jk(e,t,n,r){const{labelSize:a,padding:i}=t,o=e.w*r.dx,A=e.h*r.dy,l=o>0&&(a.w/2+i.left-r.x)/o,c=A>0&&(a.h/2+i.top-r.y)/A;return du(Math.max(l,c),0,.25)}function rJ(e,t){const{x:n,x2:r,y:a,y2:i}=e,o=Math.min(a,i)-t.top,A=Math.min(n,r)-t.left,l=t.bottom-Math.max(a,i),c=t.right-Math.max(n,r);return{x:Math.min(A,c),y:Math.min(o,l),dx:A<=c?1:-1,dy:o<=l?1:-1}}function Yk(e,t){const{size:n,min:r,max:a,padding:i}=t,o=n/2;return n>a-r?(a+r)/2:(r>=e-i-o&&(e=r+i+o),a<=e+i+o&&(e=a-i-o),e)}function qk(e){const t=e.options,n=t.arrowHeads&&t.arrowHeads.start,r=t.arrowHeads&&t.arrowHeads.end;return{startOpts:n,endOpts:r,startAdjust:Xk(e,n),endAdjust:Xk(e,r)}}function Xk(e,t){if(!t||!t.display)return 0;const{length:n,width:r}=t,a=e.options.borderWidth/2,i={x:n,y:r+a};return Math.abs(Tg(0,i,{x:0,y:a}))}function Og(e,t,n,r){if(!r||!r.display)return;const{length:a,width:i,fill:o,backgroundColor:A,borderColor:l}=r,c=Math.abs(t-a)+n;e.beginPath(),_s(e,r),ui(e,r),e.moveTo(c,-i),e.lineTo(t+n,0),e.lineTo(c,i),o===!0?(e.fillStyle=A||l,e.closePath(),e.fill(),e.shadowColor="transparent"):e.shadowColor=r.borderShadowColor,e.stroke()}function aJ(e,t,n){const{x:r,y:a,x2:i,y2:o,centerX:A,centerY:l}=e,c=Math.atan2(o-a,i-r),d=Cg(t.controlPoint,0),u={x:A+di(n,d.x,!1),y:l+di(n,d.y,!1)};return go(u,{x:A,y:l},c)}function Jk(e,{x:t,y:n},{angle:r,adjust:a},i){!i||!i.display||(e.save(),e.translate(t,n),e.rotate(r),Og(e,0,-a,i),e.restore())}function iJ(e,t,n,r){const{x:a,y:i,x2:o,y2:A,options:l}=t,{startOpts:c,endOpts:d,startAdjust:u,endAdjust:f}=qk(t),p={x:a,y:i},h={x:o,y:A},m=Kk(p,n,h,0),b=Kk(p,n,h,1)-Ce,g=Ug(p,n,h,u/r),B=Ug(p,n,h,1-f/r),w=new Path2D;e.beginPath(),w.moveTo(g.x,g.y),w.quadraticCurveTo(n.x,n.y,B.x,B.y),e.shadowColor=l.borderShadowColor,e.stroke(w),t.path=w,t.ctx=e,Jk(e,g,{angle:m,adjust:u},c),Jk(e,B,{angle:b,adjust:f},d)}class Cl extends yn{inRange(t,n,r,a){const i=this.options.rotation,o=this.options.borderWidth;if(r!=="x"&&r!=="y")return oJ({x:t,y:n},this.getProps(["width","height","centerX","centerY"],a),i,o);const{x:A,y:l,x2:c,y2:d}=this.getProps(["x","y","x2","y2"],a),u=o/2,f=r==="y"?{start:l,end:d}:{start:A,end:c},p=go({x:t,y:n},this.getCenterPoint(a),Mt(-i));return p[r]>=f.start-u-ho&&p[r]<=f.end+u+ho}getCenterPoint(t){return vs(this,t)}draw(t){const{width:n,height:r,centerX:a,centerY:i,options:o}=this;t.save(),xg(t,this.getCenterPoint(),o.rotation),_s(t,this.options),t.beginPath(),t.fillStyle=o.backgroundColor;const A=ui(t,o);t.ellipse(a,i,r/2,n/2,Ce/2,0,2*Ce),t.fill(),A&&(t.shadowColor=o.borderShadowColor,t.stroke()),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,n){return Tk(t,n,!0)}}Cl.id="ellipseAnnotation",Cl.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:1,display:!0,init:void 0,label:Object.assign({},ks.defaults.label),rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},Cl.defaultRoutes={borderColor:"color",backgroundColor:"color"},Cl.descriptors={label:{_fallback:!0}};function oJ(e,t,n,r){const{width:a,height:i,centerX:o,centerY:A}=t,l=a/2,c=i/2;if(l<=0||c<=0)return!1;const d=Mt(n||0),u=r/2||0,f=Math.cos(d),p=Math.sin(d),h=Math.pow(f*(e.x-o)+p*(e.y-A),2),m=Math.pow(p*(e.x-o)-f*(e.y-A),2);return h/Math.pow(l+u,2)+m/Math.pow(c+u,2)<=1.0001}class pu extends yn{inRange(t,n,r,a){const{x:i,y:o,x2:A,y2:l,width:c}=this.getProps(["x","y","x2","y2","width"],a),d=this.options.borderWidth;if(r!=="x"&&r!=="y")return iX({x:t,y:n},this.getCenterPoint(a),c/2,d);const u=d/2,f=r==="y"?{start:o,end:l,value:n}:{start:i,end:A,value:t};return f.value>=f.start-u&&f.value<=f.end+u}getCenterPoint(t){return vs(this,t)}draw(t){const n=this.options,r=n.borderWidth;if(n.radius<.1)return;t.save(),t.fillStyle=n.backgroundColor,_s(t,n);const a=ui(t,n);fX(t,this,this.centerX,this.centerY),a&&!uu(n.pointStyle)&&(t.shadowColor=n.borderShadowColor,t.stroke()),t.restore(),n.borderWidth=r}resolveElementProperties(t,n){const r=Dk(t,n);return r.initProperties=wl(t,r,n,!0),r}}pu.id="pointAnnotation",pu.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:1,display:!0,init:void 0,pointStyle:"circle",radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},pu.defaultRoutes={borderColor:"color",backgroundColor:"color"};class hu extends yn{inRange(t,n,r,a){if(r!=="x"&&r!=="y")return this.options.radius>=.1&&this.elements.length>1&&AJ(this.elements,t,n,a);const i=go({x:t,y:n},this.getCenterPoint(a),Mt(-this.options.rotation)),o=this.elements.map(c=>r==="y"?c.bY:c.bX),A=Math.min(...o),l=Math.max(...o);return i[r]>=A&&i[r]<=l}getCenterPoint(t){return vs(this,t)}draw(t){const{elements:n,options:r}=this;t.save(),t.beginPath(),t.fillStyle=r.backgroundColor,_s(t,r);const a=ui(t,r);let i=!0;for(const o of n)i?(t.moveTo(o.x,o.y),i=!1):t.lineTo(o.x,o.y);t.closePath(),t.fill(),a&&(t.shadowColor=r.borderShadowColor,t.stroke()),t.restore()}resolveElementProperties(t,n){const r=Dk(t,n),{sides:a,rotation:i}=n,o=[],A=2*Ce/a;let l=i*Nh;for(let c=0;c<a;c++,l+=A){const d=sJ(r,n,l);d.initProperties=wl(t,r,n),o.push(d)}return r.elements=o,r}}hu.id="polygonAnnotation",hu.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderShadowColor:"transparent",borderWidth:1,display:!0,init:void 0,point:{radius:0},radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,sides:3,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},hu.defaultRoutes={borderColor:"color",backgroundColor:"color"};function sJ({centerX:e,centerY:t},{radius:n,borderWidth:r},a){const i=r/2,o=Math.sin(a),A=Math.cos(a),l={x:e+o*n,y:t-A*n};return{type:"point",optionScope:"point",properties:{x:l.x,y:l.y,centerX:l.x,centerY:l.y,bX:e+o*(n+i),bY:t-A*(n+i)}}}function AJ(e,t,n,r){let a=!1,i=e[e.length-1].getProps(["bX","bY"],r);for(const o of e){const A=o.getProps(["bX","bY"],r);A.bY>n!=i.bY>n&&t<(i.bX-A.bX)*(n-A.bY)/(i.bY-A.bY)+A.bX&&(a=!a),i=A}return a}const fi={box:ks,ellipse:Cl,label:Bl,line:_l,point:pu,polygon:hu};Object.keys(fi).forEach(e=>{it.describe(`elements.${fi[e].id}`,{_fallback:"plugins.annotation.common"})});const lJ={update:Object.assign},cJ=Ig.concat(fu),Zk=(e,t)=>Ee(t)?Pg(e,t):e,Qg=e=>e==="color"||e==="font";function Mg(e="line"){return fi[e]?e:(console.warn(`Unknown annotation type: '${e}', defaulting to 'line'`),"line")}function dJ(e,t,n,r){const a=fJ(e,n.animations,r),i=t.annotations,o=mJ(t.elements,i);for(let A=0;A<i.length;A++){const l=i[A],c=e4(o,A,l.type),d=l.setContext(hJ(e,c,l)),u=c.resolveElementProperties(e,d);u.skip=uJ(u),"elements"in u&&(pJ(c,u.elements,d,a),delete u.elements),Cn(c.x)||Object.assign(c,u),Object.assign(c,u.initProperties),u.options=t4(d),a.update(c,u)}}function uJ(e){return isNaN(e.x)||isNaN(e.y)}function fJ(e,t,n){return n==="reset"||n==="none"||n==="resize"?lJ:new Zh(e,t)}function pJ(e,t,n,r){const a=e.elements||(e.elements=[]);a.length=t.length;for(let i=0;i<t.length;i++){const o=t[i],A=o.properties,l=e4(a,i,o.type,o.initProperties),c=n[o.optionScope].override(o);A.options=t4(c),r.update(l,A)}}function e4(e,t,n,r){const a=fi[Mg(n)];let i=e[t];return(!i||!(i instanceof a))&&(i=e[t]=new a,Object.assign(i,r)),i}function t4(e){const t=fi[Mg(e.type)],n={};n.id=e.id,n.type=e.type,n.drawTime=e.drawTime,Object.assign(n,Pg(e,t.defaults),Pg(e,t.defaultRoutes));for(const r of cJ)n[r]=e[r];return n}function Pg(e,t){const n={};for(const r of Object.keys(t)){const a=t[r],i=e[r];Qg(r)&&Ve(i)?n[r]=i.map(o=>Zk(o,a)):n[r]=Zk(i,a)}return n}function hJ(e,t,n){return t.$context||(t.$context=Object.assign(Object.create(e.getContext()),{element:t,id:n.id,type:"annotation"}))}function mJ(e,t){const n=t.length,r=e.length;if(r<n){const a=n-r;e.splice(r,0,...new Array(a))}else r>n&&e.splice(n,r-n);return e}var gJ="2.2.1";const pi=new Map,yJ=Ig.concat(fu);var yo={id:"annotation",version:gJ,beforeRegister(){oX("chart.js","3.7",ze.version)},afterRegister(){ze.register(fi)},afterUnregister(){ze.unregister(fi)},beforeInit(e){pi.set(e,{annotations:[],elements:[],visibleElements:[],listeners:{},listened:!1,moveListened:!1,hooks:{},hooked:!1,hovered:[]})},beforeUpdate(e,t,n){const r=pi.get(e),a=r.annotations=[];let i=n.annotations;Ee(i)?Object.keys(i).forEach(o=>{const A=i[o];Ee(A)&&(A.id=o,a.push(A))}):Ve(i)&&a.push(...i),TX(a,e.scales)},afterDataLimits(e,t){const n=pi.get(e);DX(e,t.scale,n.annotations.filter(r=>r.display&&r.adjustScaleRange))},afterUpdate(e,t,n){const r=pi.get(e);xX(e,r,n),dJ(e,r,n,t.mode),r.visibleElements=r.elements.filter(a=>!a.skip&&a.options.display),IX(e,r,n)},beforeDatasetsDraw(e,t,n){mu(e,"beforeDatasetsDraw",n.clip)},afterDatasetsDraw(e,t,n){mu(e,"afterDatasetsDraw",n.clip)},beforeDraw(e,t,n){mu(e,"beforeDraw",n.clip)},afterDraw(e,t,n){mu(e,"afterDraw",n.clip)},beforeEvent(e,t,n){const r=pi.get(e);EX(r,t.event,n)&&(t.changed=!0)},afterDestroy(e){pi.delete(e)},_getState(e){return pi.get(e)},defaults:{animations:{numbers:{properties:["x","y","x2","y2","width","height","centerX","centerY","pointX","pointY","radius"],type:"number"}},clip:!0,interaction:{mode:void 0,axis:void 0,intersect:void 0},common:{drawTime:"afterDatasetsDraw",init:!1,label:{}}},descriptors:{_indexable:!1,_scriptable:e=>!yJ.includes(e)&&e!=="init",annotations:{_allKeys:!1,_fallback:(e,t)=>`elements.${fi[Mg(t.type)].id}`},interaction:{_fallback:!0},common:{label:{_indexable:Qg,_fallback:!0},_indexable:Qg}},additionalOptionScopes:[""]};function mu(e,t,n){const{ctx:r,chartArea:a}=e,i=pi.get(e);n&&OA(r,a);const o=bJ(i.visibleElements,t).sort((A,l)=>A.element.options.z-l.element.options.z);for(const A of o)wJ(r,a,i,A);n&&QA(r)}function bJ(e,t){const n=[];for(const r of e)if(r.options.drawTime===t&&n.push({element:r,main:!0}),r.elements&&r.elements.length)for(const a of r.elements)a.options.display&&a.options.drawTime===t&&n.push({element:a});return n}function wJ(e,t,n,r){const a=r.element;r.main?(Mk(n,a,"beforeDraw"),a.draw(e,t),Mk(n,a,"afterDraw")):a.draw(e,t)}const kl=s.defineComponent({__name:"ManaCurveChart",props:DW,setup(e){const{t}=q(),n=s.ref();ze.register(...Mr),ze.register(yo),ze.register(lu);const r=e,a={topLeft:9999,topRight:9999,bottomLeft:9999,bottomRight:9999},i=s.computed(()=>["0","1","2","3","4","5","6","7","8","9","+"]),o=s.computed(()=>{if(console.log(r.deck),r.deck)return r.deck;if(console.log(r.deckCode),r.deckCode)return kt(r.deckCode);throw console.log("props.deckCode"),new Error("Deck or DeckCode must be defined")}),A=s.computed(()=>{const d={},u=ec(o.value);for(const f of u)d[f]=i.value.map(()=>0);for(const f in o.value){const p=hn().cardJsonObject[f];if(p===void 0)continue;const h=Ef(p,u);if(p.cost>10){d[h][10]+=o.value[f];continue}d[h][p.cost]+=o.value[f]}return d}),l=s.computed(()=>{const d=[];for(let u=0;u<Object.keys(A.value).length;u++){const f=Object.keys(A.value)[u];d.push({backgroundColor:I0(f),data:A.value[f],borderRadius:a,borderSkipped:!1,label:xf(f),barPercentage:.5},{backgroundColor:"transparent",data:A.value[f].map(p=>p>0?1:0)})}return{labels:i.value,datasets:d}}),c={responsive:!0,animation:r.animation,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:r.tooltipsEnabled,mode:"index",intersect:!1,filter(d){return d.datasetIndex%2===0&&d.formattedValue!=="0"},callbacks:{title(d){return d.length===0?"":t("deck.numManaCards",{num:d[0].label==="+"?"10+":d[0].label})},footer(d){if(d.length===0)return"";let u=0;for(let f=0;f<d[0].chart.data.datasets.length;f++)f%2!==1&&(u+=d[0].chart.data.datasets[f].data[d[0].dataIndex]);return`${t("general.total")}: ${u}`}}},datalabels:{align:"end",anchor:"end",offset:r.dataLabelsOffset,formatter(d,u){let f=0;for(let p=0;p<u.chart.data.datasets.length;p++)p%2!==1&&(f+=u.chart.data.datasets[p].data[u.dataIndex]);return f||""},display(d){return r.showDataLabels?d.datasetIndex===d.chart.data.datasets.length-1:!1}}},scales:{x:{stacked:!0,grid:{display:!1},display:r.displayXScale},y:{stacked:!0,grid:{display:!1},display:!1}},layout:{padding:{top:r.paddingTop}}};return(d,u)=>(s.openBlock(),s.createBlock(s.unref(Od),{ref_key:"chart",ref:n,"chart-data":l.value,options:c},null,8,["chart-data"]))}}),BJ={playerId:{type:Number,required:!0,default:1},playerName:{type:String,required:!0,default:""},selectedIconCard:{type:String,required:!1,default:void 0},selectedBannerColor:{type:String,required:!1,default:void 0},createdAt:{type:Date,required:!0,default:new Date},updatedAt:{type:Date,required:!0,default:new Date}},vJ={class:"player"},_J={class:"row"},CJ={class:"prompt"},kJ={class:"value"},xJ={class:"row"},EJ={class:"prompt"},SJ={class:"value"},FJ=s.defineComponent({__name:"BuiltDeckHighlight",props:BJ,setup(e){const t=s.inject(wr),{t:n}=q(),r=e;return(a,i)=>{const o=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(ct,{class:"archetype-side-panel-highlight"},{default:s.withCtx(()=>[s.createElementVNode("div",vJ,[s.createVNode(oa,{class:"circle-card-item","card-code-prop":r.selectedIconCard??"05BC160","ignore-card-item":!0,"color-override":r.selectedBannerColor,"router-link":s.unref(ve)().callbacks.playerIdRouterLinkCallback(r.playerId)},null,8,["card-code-prop","color-override","router-link"]),s.createVNode(o,{to:s.unref(ve)().callbacks.playerIdRouterLinkCallback(r.playerId),class:"name"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(r.playerName),1)]),_:1},8,["to"])]),s.createElementVNode("div",_J,[s.createElementVNode("div",CJ,s.toDisplayString(s.unref(n)("general.createdAt")),1),s.createElementVNode("div",kJ,s.toDisplayString(s.unref(t)(r.createdAt).fromNow()),1)]),s.createElementVNode("div",xJ,[s.createElementVNode("div",EJ,s.toDisplayString(s.unref(n)("general.updatedAt")),1),s.createElementVNode("div",SJ,s.toDisplayString(s.unref(t)(r.updatedAt).fromNow()),1)])]),_:1})}}}),ohe="",IJ=Q(FJ,[["__scopeId","data-v-9743903e"]]),DJ=s.defineComponent({__name:"DeckSidePanel",props:RM,emits:["update:filters"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.reactive(r.filters),o=s.computed(()=>yE(r.deckcode)),A=s.computed(()=>Object.keys(kt(r.deckcode)).filter(d=>Uo(hn().cardJsonObject[d]))),l=s.computed(()=>{var d;return(d=Be().dataJson.formats[i.formatFilters[0]??"Standard"])==null?void 0:d.availableQueues});s.watch(i,()=>{a("update:filters",i)});function c(){for(const[,d]of Object.entries(i))d.splice(0)}return(d,u)=>(s.openBlock(),s.createBlock(Wi,{"filter-object":r.filters,"onClear:filterObject":c},{default:s.withCtx(()=>[r.builtDeckProps?(s.openBlock(),s.createBlock(IJ,s.normalizeProps(s.mergeProps({key:0},r.builtDeckProps)),null,16)):s.createCommentVNode("",!0),s.createVNode(Wc,{"card-codes":A.value,regions:o.value},null,8,["card-codes","regions"]),s.createVNode(ct,{title:s.unref(n)("general.regions")},{default:s.withCtx(()=>[s.createVNode(Sh,{"deck-code":r.deckcode,"describe-regions":!0},null,8,["deck-code"])]),_:1},8,["title"]),s.createVNode(ct,{title:s.unref(n)("general.manaCurve")},{default:s.withCtx(()=>[s.createVNode(kl,{class:"mana-curve-chart","deck-code":r.deckcode,"padding-top":5,"show-data-labels":!0,"data-labels-offset":-5,"tooltips-enabled":!0,"display-x-scale":!0,animation:void 0},null,8,["deck-code"])]),_:1},8,["title"]),s.createVNode(ct,{title:s.unref(n)("general.type")},{default:s.withCtx(()=>[s.createVNode(Md,{class:"side-panel-chart","deck-code":r.deckcode,info:"typeRef"},null,8,["deck-code"])]),_:1},8,["title"]),s.createVNode(ct,{title:s.unref(n)("general.rarity")},{default:s.withCtx(()=>[s.createVNode(Md,{class:"side-panel-chart","deck-code":r.deckcode,info:"rarityRef"},null,8,["deck-code"])]),_:1},8,["title"]),s.createVNode(es,{"filter-array":i.sampleSizeFilters,"onUpdate:filterArray":u[0]||(u[0]=f=>i.sampleSizeFilters=f)},null,8,["filter-array"]),s.createVNode(Ki,{"filter-array":i.timeFilters,"onUpdate:filterArray":u[1]||(u[1]=f=>i.timeFilters=f)},null,8,["filter-array"]),s.createVNode(ts,{"filter-array":i.serverFilters,"onUpdate:filterArray":u[2]||(u[2]=f=>i.serverFilters=f)},null,8,["filter-array"]),s.createVNode(bA,{"filter-array":i.formatFilters,"onUpdate:filterArray":u[3]||(u[3]=f=>i.formatFilters=f)},null,8,["filter-array"]),s.createVNode(wA,{"filter-array":i.queueFilters,"onUpdate:filterArray":u[4]||(u[4]=f=>i.queueFilters=f),"available-queues":l.value},null,8,["filter-array","available-queues"])]),_:1},8,["filter-object"]))}}),she="",n4=Q(DJ,[["__scopeId","data-v-b95c4f38"]]),TJ={cardsProp:{type:Object,required:!1,default:void 0},deck:{type:Object,required:!0,default:{}}},UJ={class:"deck-summary"},LJ={class:"deck-cards"},OJ={class:"champions-landmarks column"},QJ={key:0,class:"type"},MJ={class:"type-heading"},PJ={class:"title"},NJ={class:"type-quantity"},RJ={class:"card-container"},HJ={key:1,class:"type column"},VJ={class:"type-heading"},zJ={class:"title"},$J={class:"type-quantity"},KJ={class:"card-container"},WJ={key:2,class:"type column"},GJ={class:"type-heading"},jJ={class:"title"},YJ={class:"type-quantity"},qJ={class:"card-container"},XJ={key:0,class:"type column"},JJ={class:"type-heading"},ZJ={class:"title"},eZ={class:"type-quantity"},tZ={class:"card-container"},nZ={key:1,class:"type"},rZ={class:"type-heading"},aZ={class:"title"},iZ={class:"type-quantity"},oZ={class:"card-container"},sZ=s.defineComponent({__name:"DeckSummary",props:TJ,setup(e){const t=e,n=s.computed(()=>t.cardsProp?t.cardsProp:Zt(t.deck)),r=s.computed(()=>Hs(n.value)),a=s.computed(()=>n.value.filter(d=>Uo(d))),i=s.computed(()=>n.value.filter(d=>d.typeRef==="Unit"&&d.supertype==="")),o=s.computed(()=>n.value.filter(d=>d.typeRef==="Spell")),A=s.computed(()=>n.value.filter(d=>d.typeRef==="Landmark")),l=s.computed(()=>n.value.filter(d=>d.typeRef==="Equipment"));function c(d){return d.reduce((u,f)=>u+t.deck[f.cardCode],0)}return(d,u)=>{const f=s.resolveDirective("t");return s.openBlock(),s.createElementBlock("div",UJ,[s.createElementVNode("div",LJ,[s.createElementVNode("div",OJ,[a.value.length>0?(s.openBlock(),s.createElementBlock("div",QJ,[s.createElementVNode("div",MJ,[u[0]||(u[0]=s.createElementVNode("img",{class:"icon",src:"https://lor.gg/storage/icons/champion.svg"},null,-1)),s.withDirectives(s.createElementVNode("div",PJ,null,512),[[f,"general.champions"]]),s.createElementVNode("p",NJ,s.toDisplayString(c(a.value)),1)]),s.createElementVNode("div",RJ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.value,p=>(s.openBlock(),s.createBlock(vt,{key:p.cardCode,"card-prop":p,color:s.unref(Ei)(p,r.value,!0),name:p.name,"mana-number":p.cost,"quantity-number":t.deck[p.cardCode],"maintain-aspect-ratio":!0,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(p.cardCode)},null,8,["card-prop","color","name","mana-number","quantity-number","router-link"]))),128))])])):s.createCommentVNode("",!0),A.value.length>0?(s.openBlock(),s.createElementBlock("div",HJ,[s.createElementVNode("div",VJ,[u[1]||(u[1]=s.createElementVNode("img",{class:"icon",src:"https://lor.gg/storage/icons/landmark.svg"},null,-1)),s.withDirectives(s.createElementVNode("div",zJ,null,512),[[f,"general.landmarks"]]),s.createElementVNode("p",$J,s.toDisplayString(c(A.value)),1)]),s.createElementVNode("div",KJ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(A.value,p=>(s.openBlock(),s.createBlock(vt,{key:p.cardCode,"card-prop":p,color:s.unref(Ei)(p,r.value,!0),name:p.name,"mana-number":p.cost,"quantity-number":t.deck[p.cardCode],"maintain-aspect-ratio":!0,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(p.cardCode)},null,8,["card-prop","color","name","mana-number","quantity-number","router-link"]))),128))])])):s.createCommentVNode("",!0),l.value.length>0?(s.openBlock(),s.createElementBlock("div",WJ,[s.createElementVNode("div",GJ,[u[2]||(u[2]=s.createElementVNode("img",{class:"icon",src:"https://lor.gg/storage/icons/equipment.svg"},null,-1)),s.withDirectives(s.createElementVNode("div",jJ,null,512),[[f,"general.equipments"]]),s.createElementVNode("p",YJ,s.toDisplayString(c(l.value)),1)]),s.createElementVNode("div",qJ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(l.value,p=>(s.openBlock(),s.createBlock(vt,{key:p.cardCode,"card-prop":p,color:s.unref(Ei)(p,r.value,!0),name:p.name,"mana-number":p.cost,"quantity-number":t.deck[p.cardCode],"maintain-aspect-ratio":!0,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(p.cardCode)},null,8,["card-prop","color","name","mana-number","quantity-number","router-link"]))),128))])])):s.createCommentVNode("",!0)]),i.value.length>0?(s.openBlock(),s.createElementBlock("div",XJ,[s.createElementVNode("div",JJ,[u[3]||(u[3]=s.createElementVNode("img",{class:"icon",src:"https://lor.gg/storage/icons/follower.svg"},null,-1)),s.withDirectives(s.createElementVNode("div",ZJ,null,512),[[f,"general.followers"]]),s.createElementVNode("p",eZ,s.toDisplayString(c(i.value)),1)]),s.createElementVNode("div",tZ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.value,p=>(s.openBlock(),s.createBlock(vt,{key:p.cardCode,"card-prop":p,color:s.unref(Ei)(p,r.value,!0),name:p.name,"mana-number":p.cost,"quantity-number":t.deck[p.cardCode],"maintain-aspect-ratio":!0,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(p.cardCode)},null,8,["card-prop","color","name","mana-number","quantity-number","router-link"]))),128))])])):s.createCommentVNode("",!0),o.value.length>0?(s.openBlock(),s.createElementBlock("div",nZ,[s.createElementVNode("div",rZ,[u[4]||(u[4]=s.createElementVNode("img",{class:"icon",src:"https://lor.gg/storage/icons/spell.svg"},null,-1)),s.withDirectives(s.createElementVNode("div",aZ,null,512),[[f,"general.spells"]]),s.createElementVNode("p",iZ,s.toDisplayString(c(o.value)),1)]),s.createElementVNode("div",oZ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.value,p=>(s.openBlock(),s.createBlock(vt,{key:p.cardCode,"card-prop":p,color:s.unref(Ei)(p,r.value,!0),name:p.name,"mana-number":p.cost,"quantity-number":t.deck[p.cardCode],"maintain-aspect-ratio":!0,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(p.cardCode)},null,8,["card-prop","color","name","mana-number","quantity-number","router-link"]))),128))])])):s.createCommentVNode("",!0)])])}}}),Ahe="",gu=Q(sZ,[["__scopeId","data-v-b253a25c"]]),AZ={deckCode:{type:String,required:!0,default:""}},yu=s.defineComponent({__name:"CopyDeckButton",props:AZ,setup(e){const{t}=q(),n=e,r=s.ref(null);let a,i;s.onMounted(()=>{i=tt(r.value,{content:t("deck.copyDeckCode"),arrow:!0}),a=tt(r.value,{content:t("deck.deckCodeCopied"),trigger:"manual",arrow:!0})});function o(){wE(n.deckCode),i.hide(),a.show()}return(A,l)=>(s.openBlock(),s.createElementBlock("button",{ref_key:"button",ref:r,class:"circle-button",onClick:o},[s.createVNode(s.unref(ke),{icon:"copy",class:"icon"})],512))}}),lZ={deckId:{type:Number,required:!0,default:-1}},Ng=s.defineComponent({__name:"DeleteDeckButton",props:lZ,setup(e){const{t}=q(),n=s.ref(null);return s.onMounted(()=>{tt(n.value,{content:t("deck.deleteDeck"),arrow:!0})}),(r,a)=>(s.openBlock(),s.createElementBlock("button",{ref_key:"button",ref:n,class:"circle-button"},[s.createVNode(s.unref(ke),{icon:"trash-alt",class:"icon"})],512))}}),Rg=s.defineComponent({__name:"EditDeckNameButton",setup(e){const{t}=q(),n=s.ref(null);return s.onMounted(()=>{tt(n.value,{content:t("deck.editDeckName"),arrow:!0})}),(r,a)=>(s.openBlock(),s.createElementBlock("button",{ref_key:"button",ref:n,class:"circle-button"},[s.createVNode(s.unref(ke),{icon:"pencil-alt",class:"icon"})],512))}}),cZ={routerLink:{type:Object,required:!0,default:{path:"/404"}}},dZ=s.defineComponent({__name:"OpenArchetypePageButton",props:cZ,setup(e){const{t}=q(),n=e,r=s.ref(null);return s.onMounted(()=>{tt(r.value,{content:t("deck.openArchetypePage"),arrow:!0})}),(a,i)=>{const o=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(o,{to:n.routerLink},{default:s.withCtx(()=>[s.createElementVNode("button",{ref_key:"button",ref:r,class:"circle-button"},s.toDisplayString(s.unref(t)("archetype.abbreviation")),513)]),_:1},8,["to"])}}}),lhe="",Hg=Q(dZ,[["__scopeId","data-v-b921ee68"]]),uZ={routerLink:{type:Object,required:!0,default:{path:"/404"}}},Vg=s.defineComponent({__name:"OpenInDeckBuilderButton",props:uZ,setup(e){const{t}=q(),n=e,r=s.ref(null);return s.onMounted(()=>{tt(r.value,{content:t("deck.openInDeckBuilder"),arrow:!0})}),(a,i)=>{const o=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(o,{to:n.routerLink},{default:s.withCtx(()=>[s.createElementVNode("button",{ref_key:"button",ref:r,class:"circle-button"},[s.createVNode(s.unref(ke),{icon:"hammer",class:"icon"})],512)]),_:1},8,["to"])}}}),fZ={deck:{type:Object,required:!0,default:{}}},pZ={deck:{type:Object,required:!0,default:{}}},hZ={class:"simulate-mulligan"},mZ={class:"cards"},gZ={class:"buttons"},yZ=s.defineComponent({__name:"SimulateMulligan",props:pZ,setup(e){const{t}=q(),n=e,r=s.computed(()=>{const c=[];for(const d in n.deck)for(let u=0;u<n.deck[d];u++)c.push(d);return c}),a=s.computed(()=>{const c=Array.from(r.value);for(const d of i.value)d!==null&&c.splice(c.indexOf(d.cardCode),1);return c}),i=s.ref([null,null,null,null]);function o(){i.value.fill(null),l()}function A(){var c;for(let d=0;d<i.value.length;d++)i.value[d]===null||!((c=i.value[d])!=null&&c.isSelected)||(i.value[d]=null);l()}function l(){for(;i.value.some(c=>c===null);)i.value[i.value.indexOf(null)]={cardCode:a.value[hE(0,a.value.length)],isSelected:!1};console.log(i.value)}return l(),(c,d)=>(s.openBlock(),s.createElementBlock("div",hZ,[s.createElementVNode("div",mZ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.value.filter(u=>u!==null),(u,f)=>(s.openBlock(),s.createBlock(Vi,{key:u.cardCode+f,"card-code-prop":u.cardCode,"is-root":!0,style:s.normalizeStyle(u.isSelected?{opacity:.5}:null),onClick:p=>u.isSelected=!u.isSelected},null,8,["card-code-prop","style","onClick"]))),128))]),s.createElementVNode("div",gZ,[s.createElementVNode("button",{class:"primary-button",onClick:o},s.toDisplayString(s.unref(t)("deck.replaceAllCards")),1),s.createElementVNode("button",{class:"primary-button",onClick:A},s.toDisplayString(s.unref(t)("deck.replaceSelectedCards")),1)])]))}}),che="",zg=Q(yZ,[["__scopeId","data-v-e3540f85"]]),bZ={class:"simulate-mulligan-wrapper"},wZ=s.defineComponent({__name:"SimulateMulliganButton",props:fZ,setup(e){const{t}=q(),n=e,r=s.ref(null),a=s.ref(!1);return s.onMounted(()=>{tt(r.value,{content:t("deck.simulateMulligan"),arrow:!0})}),(i,o)=>(s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("button",{ref_key:"button",ref:r,class:"circle-button",onClick:o[0]||(o[0]=A=>a.value=!0)},[s.createVNode(s.unref(ke),{icon:"hand-paper"})],512),s.createVNode(Tr,{"show-modal":a.value,"onUpdate:showModal":o[1]||(o[1]=A=>a.value=A)},{default:s.withCtx(()=>[s.createElementVNode("div",bZ,[s.createVNode(zg,{deck:n.deck},null,8,["deck"])])]),_:1},8,["show-modal"])]))}}),dhe="",bu=Q(wZ,[["__scopeId","data-v-63aa9043"]]),BZ={deckIsPrivate:{type:Boolean,required:!0,default:!0}},$g=s.defineComponent({__name:"UpdateDeckPrivacyButton",props:BZ,setup(e){const{t}=q(),n=e,r=s.ref(null);let a;return s.onMounted(()=>{a=tt(r.value,{content:`${t("deck.updatePrivacy")}:
|
|
697
|
+
*/const bk={modes:{point(e,t){return cu(e,t,{intersect:!0})},nearest(e,t,n){return nX(e,t,n)},x(e,t,n){return cu(e,t,{intersect:n.intersect,axis:"x"})},y(e,t,n){return cu(e,t,{intersect:n.intersect,axis:"y"})}}};function vg(e,t,n){return(bk.modes[n.mode]||bk.modes.nearest)(e,t,n)}function eX(e,t,n){return n!=="x"&&n!=="y"?e.inRange(t.x,t.y,"x",!0)||e.inRange(t.x,t.y,"y",!0):e.inRange(t.x,t.y,n,!0)}function tX(e,t,n){return n==="x"?{x:e.x,y:t.y}:n==="y"?{x:t.x,y:e.y}:t}function cu(e,t,n){return e.visibleElements.filter(r=>n.intersect?r.inRange(t.x,t.y):eX(r,t,n.axis))}function nX(e,t,n){let r=Number.POSITIVE_INFINITY;return cu(e,t,n).reduce((a,i)=>{const o=i.getCenterPoint(),A=tX(t,o,n.axis),l=rs(t,A);return l<r?(a=[i],r=l):l===r&&a.push(i),a},[]).sort((a,i)=>a._index-i._index).slice(0,1)}const rX=(e,t)=>t>e||e.length>t.length&&e.slice(0,t.length)===t,ho=.001,du=(e,t,n)=>Math.min(n,Math.max(t,e));function aX(e,t,n){for(const r of Object.keys(e))e[r]=du(e[r],t,n);return e}function iX(e,t,n,r){if(!e||!t||n<=0)return!1;const a=r/2;return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<=Math.pow(n+a,2)}function wk(e,{x:t,y:n,x2:r,y2:a},i,o){const A=o/2,l=e.x>=t-A-ho&&e.x<=r+A+ho,c=e.y>=n-A-ho&&e.y<=a+A+ho;return i==="x"?l:(i==="y"||l)&&c}function vs(e,t){const{centerX:n,centerY:r}=e.getProps(["centerX","centerY"],t);return{x:n,y:r}}function oX(e,t,n,r=!0){const a=n.split(".");let i=0;for(const o of t.split(".")){const A=a[i++];if(parseInt(o,10)<parseInt(A,10))break;if(rX(A,o)){if(r)throw new Error(`${e} v${n} is not supported. v${t} or newer is required.`);return!1}}return!0}const Bk=e=>typeof e=="string"&&e.endsWith("%"),vk=e=>parseFloat(e)/100,_k=e=>du(vk(e),0,1);function _g(e,t){return t==="start"?0:t==="end"?e:Bk(t)?_k(t)*e:e/2}function di(e,t,n=!0){return typeof t=="number"?t:Bk(t)?(n?_k(t):vk(t))*e:e}function sX(e,t){const{x:n,width:r}=e,a=t.textAlign;return a==="center"?n+r/2:a==="end"||a==="right"?n+r:n}function Cg(e,t="center"){return Ee(e)?{x:he(e.x,t),y:he(e.y,t)}:(e=he(e,t),{x:e,y:e})}function Ck(e){return e&&(Cn(e.xValue)||Cn(e.yValue))}function wl(e,t,n,r=!1){const a=n.init;if(a){if(a===!0)return xk(t,r)}else return;return AX(t,r,We(a,[{chart:e,properties:t,options:n}]))}function kk(e,t,n){let r=!1;return t.forEach(a=>{kn(e[a])?(r=!0,n[a]=e[a]):Cn(n[a])&&delete n[a]}),r}function xk({centerX:e,centerY:t},n){return n?{centerX:e,centerY:t,radius:0,width:0,height:0}:{x:e,y:t,x2:e,y2:t,width:0,height:0}}function AX(e,t,n){if(n===!0)return xk(e,t);if(Ee(n))return n}const kg=new Map,lX=e=>isNaN(e)||e<=0,cX=e=>e.reduce(function(t,n){return t+=n.string,t},"");function uu(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object HTMLImageElement]"||t==="[object HTMLCanvasElement]"}}function xg(e,{x:t,y:n},r){r&&(e.translate(t,n),e.rotate(Mt(r)),e.translate(-t,-n))}function ui(e,t){if(t&&t.borderWidth)return e.lineCap=t.borderCapStyle,e.setLineDash(t.borderDash),e.lineDashOffset=t.borderDashOffset,e.lineJoin=t.borderJoinStyle,e.lineWidth=t.borderWidth,e.strokeStyle=t.borderColor,!0}function _s(e,t){e.shadowColor=t.backgroundShadowColor,e.shadowBlur=t.shadowBlur,e.shadowOffsetX=t.shadowOffsetX,e.shadowOffsetY=t.shadowOffsetY}function Eg(e,t){const n=t.content;if(uu(n))return{width:di(n.width,t.width),height:di(n.height,t.height)};const r=t.font,a=Ve(r)?r.map(l=>yt(l)):[yt(r)],i=t.textStrokeWidth,o=Ve(n)?n:[n],A=o.join()+cX(a)+i+(e._measureText?"-spriting":"");return kg.has(A)||kg.set(A,hX(e,o,a,i)),kg.get(A)}function Ek(e,t,n){const{x:r,y:a,width:i,height:o}=t;e.save(),_s(e,n);const A=ui(e,n);e.fillStyle=n.backgroundColor,e.beginPath(),as(e,{x:r,y:a,w:i,h:o,radius:aX(ti(n.borderRadius),0,Math.min(i,o)/2)}),e.closePath(),e.fill(),A&&(e.shadowColor=n.borderShadowColor,e.stroke()),e.restore()}function dX(e,t,n){const r=n.content;if(uu(r)){e.save(),e.globalAlpha=yX(n.opacity,r.style.opacity),e.drawImage(r,t.x,t.y,t.width,t.height),e.restore();return}const a=Ve(r)?r:[r],i=n.font,o=Ve(i)?i.map(u=>yt(u)):[yt(i)],A=n.color,l=Ve(A)?A:[A],c=sX(t,n),d=t.y+n.textStrokeWidth/2;e.save(),e.textBaseline="middle",e.textAlign=n.textAlign,uX(e,n)&&mX(e,{x:c,y:d},a,o),gX(e,{x:c,y:d},a,{fonts:o,colors:l}),e.restore()}function uX(e,t){if(t.textStrokeWidth>0)return e.lineJoin="round",e.miterLimit=2,e.lineWidth=t.textStrokeWidth,e.strokeStyle=t.textStrokeColor,!0}function fX(e,t,n,r){const{radius:a,options:i}=t,o=i.pointStyle,A=i.rotation;let l=(A||0)*Nh;if(uu(o)){e.save(),e.translate(n,r),e.rotate(l),e.drawImage(o,-o.width/2,-o.height/2,o.width,o.height),e.restore();return}lX(a)||pX(e,{x:n,y:r,radius:a,rotation:A,style:o,rad:l})}function pX(e,{x:t,y:n,radius:r,rotation:a,style:i,rad:o}){let A,l,c,d;switch(e.beginPath(),i){default:e.arc(t,n,r,0,at),e.closePath();break;case"triangle":e.moveTo(t+Math.sin(o)*r,n-Math.cos(o)*r),o+=Zc,e.lineTo(t+Math.sin(o)*r,n-Math.cos(o)*r),o+=Zc,e.lineTo(t+Math.sin(o)*r,n-Math.cos(o)*r),e.closePath();break;case"rectRounded":d=r*.516,c=r-d,A=Math.cos(o+Xn)*c,l=Math.sin(o+Xn)*c,e.arc(t-A,n-l,d,o-Ce,o-dt),e.arc(t+l,n-A,d,o-dt,o),e.arc(t+A,n+l,d,o,o+dt),e.arc(t-l,n+A,d,o+dt,o+Ce),e.closePath();break;case"rect":if(!a){c=Math.SQRT1_2*r,e.rect(t-c,n-c,2*c,2*c);break}o+=Xn;case"rectRot":A=Math.cos(o)*r,l=Math.sin(o)*r,e.moveTo(t-A,n-l),e.lineTo(t+l,n-A),e.lineTo(t+A,n+l),e.lineTo(t-l,n+A),e.closePath();break;case"crossRot":o+=Xn;case"cross":A=Math.cos(o)*r,l=Math.sin(o)*r,e.moveTo(t-A,n-l),e.lineTo(t+A,n+l),e.moveTo(t+l,n-A),e.lineTo(t-l,n+A);break;case"star":A=Math.cos(o)*r,l=Math.sin(o)*r,e.moveTo(t-A,n-l),e.lineTo(t+A,n+l),e.moveTo(t+l,n-A),e.lineTo(t-l,n+A),o+=Xn,A=Math.cos(o)*r,l=Math.sin(o)*r,e.moveTo(t-A,n-l),e.lineTo(t+A,n+l),e.moveTo(t+l,n-A),e.lineTo(t-l,n+A);break;case"line":A=Math.cos(o)*r,l=Math.sin(o)*r,e.moveTo(t-A,n-l),e.lineTo(t+A,n+l);break;case"dash":e.moveTo(t,n),e.lineTo(t+Math.cos(o)*r,n+Math.sin(o)*r);break}e.fill()}function hX(e,t,n,r){e.save();const a=t.length;let i=0,o=r;for(let A=0;A<a;A++){const l=n[Math.min(A,n.length-1)];e.font=l.string;const c=t[A];i=Math.max(i,e.measureText(c).width+r),o+=l.lineHeight}return e.restore(),{width:i,height:o}}function mX(e,{x:t,y:n},r,a){e.beginPath();let i=0;r.forEach(function(o,A){const l=a[Math.min(A,a.length-1)],c=l.lineHeight;e.font=l.string,e.strokeText(o,t,n+c/2+i),i+=c}),e.stroke()}function gX(e,{x:t,y:n},r,{fonts:a,colors:i}){let o=0;r.forEach(function(A,l){const c=i[Math.min(l,i.length-1)],d=a[Math.min(l,a.length-1)],u=d.lineHeight;e.beginPath(),e.font=d.string,e.fillStyle=c,e.fillText(A,t,n+u/2+o),o+=u,e.fill()})}function yX(e,t){const n=ei(e)?e:t;return ei(n)?du(n,0,1):1}const Sk={xScaleID:{min:"xMin",max:"xMax",start:"left",end:"right",startProp:"x",endProp:"x2"},yScaleID:{min:"yMin",max:"yMax",start:"bottom",end:"top",startProp:"y",endProp:"y2"}};function Cs(e,t,n){return t=typeof t=="number"?t:e.parse(t),gt(t)?e.getPixelForValue(t):n}function mo(e,t,n){const r=t[n];if(r||n==="scaleID")return r;const a=n.charAt(0),i=Object.values(e).filter(o=>o.axis&&o.axis===a);return i.length?i[0].id:a}function Fk(e,t){if(e){const n=e.options.reverse,r=Cs(e,t.min,n?t.end:t.start),a=Cs(e,t.max,n?t.start:t.end);return{start:r,end:a}}}function Ik(e,t){const{chartArea:n,scales:r}=e,a=r[mo(r,t,"xScaleID")],i=r[mo(r,t,"yScaleID")];let o=n.width/2,A=n.height/2;return a&&(o=Cs(a,t.xValue,a.left+a.width/2)),i&&(A=Cs(i,t.yValue,i.top+i.height/2)),{x:o,y:A}}function Sg(e,t){const n=e.scales,r=n[mo(n,t,"xScaleID")],a=n[mo(n,t,"yScaleID")];if(!r&&!a)return{};let{left:i,right:o}=r||e.chartArea,{top:A,bottom:l}=a||e.chartArea;const c=Uk(r,{min:t.xMin,max:t.xMax,start:i,end:o});i=c.start,o=c.end;const d=Uk(a,{min:t.yMin,max:t.yMax,start:l,end:A});return A=d.start,l=d.end,{x:i,y:A,x2:o,y2:l,width:o-i,height:l-A,centerX:i+(o-i)/2,centerY:A+(l-A)/2}}function Dk(e,t){if(!Ck(t)){const n=Sg(e,t);let r=t.radius;(!r||isNaN(r))&&(r=Math.min(n.width,n.height)/2,t.radius=r);const a=r*2,i=n.centerX+t.xAdjust,o=n.centerY+t.yAdjust;return{x:i-r,y:o-r,x2:i+r,y2:o+r,centerX:i,centerY:o,width:a,height:a,radius:r}}return wX(e,t)}function bX(e,t){const{scales:n,chartArea:r}=e,a=n[t.scaleID],i={x:r.left,y:r.top,x2:r.right,y2:r.bottom};return a?BX(a,i,t):vX(n,i,t),i}function Tk(e,t,n){const r=Sg(e,t);return r.initProperties=wl(e,r,t,n),r.elements=[{type:"label",optionScope:"label",properties:kX(e,r,t),initProperties:r.initProperties}],r}function wX(e,t){const n=Ik(e,t),r=t.radius*2;return{x:n.x-t.radius+t.xAdjust,y:n.y-t.radius+t.yAdjust,x2:n.x+t.radius+t.xAdjust,y2:n.y+t.radius+t.yAdjust,centerX:n.x+t.xAdjust,centerY:n.y+t.yAdjust,radius:t.radius,width:r,height:r}}function Uk(e,t){const n=Fk(e,t)||t;return{start:Math.min(n.start,n.end),end:Math.max(n.start,n.end)}}function BX(e,t,n){const r=Cs(e,n.value,NaN),a=Cs(e,n.endValue,r);e.isHorizontal()?(t.x=r,t.x2=a):(t.y=r,t.y2=a)}function vX(e,t,n){for(const r of Object.keys(Sk)){const a=e[mo(e,n,r)];if(a){const{min:i,max:o,start:A,end:l,startProp:c,endProp:d}=Sk[r],u=Fk(a,{min:n[i],max:n[o],start:a[A],end:a[l]});t[c]=u.start,t[d]=u.end}}}function _X({properties:e,options:t},n,r,a){const{x:i,x2:o,width:A}=e;return Lk({start:i,end:o,size:A,borderWidth:t.borderWidth},{position:r.x,padding:{start:a.left,end:a.right},adjust:t.label.xAdjust,size:n.width})}function CX({properties:e,options:t},n,r,a){const{y:i,y2:o,height:A}=e;return Lk({start:i,end:o,size:A,borderWidth:t.borderWidth},{position:r.y,padding:{start:a.top,end:a.bottom},adjust:t.label.yAdjust,size:n.height})}function Lk(e,t){const{start:n,end:r,borderWidth:a}=e,{position:i,padding:{start:o,end:A},adjust:l}=t,c=r-a-n-o-A-t.size;return n+a/2+l+_g(c,i)}function kX(e,t,n){const r=n.label;r.backgroundColor="transparent",r.callout.display=!1;const a=Cg(r.position),i=Ft(r.padding),o=Eg(e.ctx,r),A=_X({properties:t,options:n},o,a,i),l=CX({properties:t,options:n},o,a,i),c=o.width+i.width,d=o.height+i.height;return{x:A,y:l,x2:A+c,y2:l+d,width:c,height:d,centerX:A+c/2,centerY:l+d/2,rotation:r.rotation}}function go(e,t,n){const r=Math.cos(n),a=Math.sin(n),i=t.x,o=t.y;return{x:i+r*(e.x-i)-a*(e.y-o),y:o+a*(e.x-i)+r*(e.y-o)}}const Fg=["enter","leave"],Ig=Fg.concat("click");function xX(e,t,n){t.listened=kk(n,Ig,t.listeners),t.moveListened=!1,t._getElements=vg,Fg.forEach(r=>{kn(n[r])&&(t.moveListened=!0)}),(!t.listened||!t.moveListened)&&t.annotations.forEach(r=>{!t.listened&&kn(r.click)&&(t.listened=!0),t.moveListened||Fg.forEach(a=>{kn(r[a])&&(t.listened=!0,t.moveListened=!0)})})}function EX(e,t,n){if(e.listened)switch(t.type){case"mousemove":case"mouseout":return SX(e,t,n);case"click":return FX(e,t,n)}}function SX(e,t,n){if(!e.moveListened)return;let r;t.type==="mousemove"?r=vg(e,t,n.interaction):r=[];const a=e.hovered;e.hovered=r;const i={state:e,event:t};let o=Ok(i,"leave",a,r);return Ok(i,"enter",r,a)||o}function Ok({state:e,event:t},n,r,a){let i;for(const o of r)a.indexOf(o)<0&&(i=Qk(o.options[n]||e.listeners[n],o,t)||i);return i}function FX(e,t,n){const r=e.listeners,a=vg(e,t,n.interaction);let i;for(const o of a)i=Qk(o.options.click||r.click,o,t)||i;return i}function Qk(e,t,n){return We(e,[t.$context,n])===!0}const fu=["afterDraw","beforeDraw"];function IX(e,t,n){const r=t.visibleElements;t.hooked=kk(n,fu,t.hooks),t.hooked||r.forEach(a=>{t.hooked||fu.forEach(i=>{kn(a.options[i])&&(t.hooked=!0)})})}function Mk(e,t,n){if(e.hooked){const r=t.options[n]||e.hooks[n];return We(r,[t.$context])}}function DX(e,t,n){const r=QX(e.scales,t,n);let a=Pk(t,r,"min","suggestedMin");a=Pk(t,r,"max","suggestedMax")||a,a&&kn(t.handleTickRangeOptions)&&t.handleTickRangeOptions()}function TX(e,t){for(const n of e)LX(n,t)}function Pk(e,t,n,r){if(gt(t[n])&&!UX(e.options,n,r)){const a=e[n]!==t[n];return e[n]=t[n],a}}function UX(e,t,n){return Cn(e[t])||Cn(e[n])}function LX(e,t){for(const n of["scaleID","xScaleID","yScaleID"]){const r=mo(t,e,n);r&&!t[r]&&OX(e,n)&&console.warn(`No scale found with id '${r}' for annotation '${e.id}'`)}}function OX(e,t){if(t==="scaleID")return!0;const n=t.charAt(0);for(const r of["Min","Max","Value"])if(Cn(e[n+r]))return!0;return!1}function QX(e,t,n){const r=t.axis,a=t.id,i=r+"ScaleID",o={min:he(t.min,Number.NEGATIVE_INFINITY),max:he(t.max,Number.POSITIVE_INFINITY)};for(const A of n)A.scaleID===a?Nk(A,t,["value","endValue"],o):mo(e,A,i)===a&&Nk(A,t,[r+"Min",r+"Max",r+"Value"],o);return o}function Nk(e,t,n,r){for(const a of n){const i=e[a];if(Cn(i)){const o=t.parse(i);r.min=Math.min(r.min,o),r.max=Math.max(r.max,o)}}}class ks extends yn{inRange(t,n,r,a){const{x:i,y:o}=go({x:t,y:n},this.getCenterPoint(a),Mt(-this.options.rotation));return wk({x:i,y:o},this.getProps(["x","y","x2","y2"],a),r,this.options.borderWidth)}getCenterPoint(t){return vs(this,t)}draw(t){t.save(),xg(t,this.getCenterPoint(),this.options.rotation),Ek(t,this,this.options),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,n){return Tk(t,n)}}ks.id="boxAnnotation",ks.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:0,borderShadowColor:"transparent",borderWidth:1,display:!0,init:void 0,label:{backgroundColor:"transparent",borderWidth:0,callout:{display:!1},color:"black",content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:"bold"},height:void 0,opacity:void 0,padding:6,position:"center",rotation:void 0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},ks.defaultRoutes={borderColor:"color",backgroundColor:"color"},ks.descriptors={label:{_fallback:!0}};const Rk=["left","bottom","top","right"];class Bl extends yn{inRange(t,n,r,a){const{x:i,y:o}=go({x:t,y:n},this.getCenterPoint(a),Mt(-this.rotation));return wk({x:i,y:o},this.getProps(["x","y","x2","y2"],a),r,this.options.borderWidth)}getCenterPoint(t){return vs(this,t)}draw(t){const n=this.options,r=!Cn(this._visible)||this._visible;!n.display||!n.content||!r||(t.save(),xg(t,this.getCenterPoint(),this.rotation),PX(t,this),Ek(t,this,n),dX(t,KX(this),n),t.restore())}resolveElementProperties(t,n){let r;if(Ck(n))r=Ik(t,n);else{const{centerX:A,centerY:l}=Sg(t,n);r={x:A,y:l}}const a=Ft(n.padding),i=Eg(t.ctx,n),o=MX(r,i,n,a);return{initProperties:wl(t,o,n),pointX:r.x,pointY:r.y,...o,rotation:n.rotation}}}Bl.id="labelAnnotation",Bl.defaults={adjustScaleRange:!0,backgroundColor:"transparent",backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:0,borderShadowColor:"transparent",borderWidth:0,callout:{borderCapStyle:"butt",borderColor:void 0,borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:1,display:!1,margin:5,position:"auto",side:5,start:"50%"},color:"black",content:null,display:!0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:void 0},height:void 0,init:void 0,opacity:void 0,padding:6,position:"center",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:"center",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},Bl.defaultRoutes={borderColor:"color"};function MX(e,t,n,r){const a=t.width+r.width+n.borderWidth,i=t.height+r.height+n.borderWidth,o=Cg(n.position,"center"),A=Hk(e.x,a,n.xAdjust,o.x),l=Hk(e.y,i,n.yAdjust,o.y);return{x:A,y:l,x2:A+a,y2:l+i,width:a,height:i,centerX:A+a/2,centerY:l+i/2}}function Hk(e,t,n=0,r){return e-_g(t,r)+n}function PX(e,t){const{pointX:n,pointY:r,options:a}=t,i=a.callout,o=i&&i.display&&zX(t,i);if(!o||WX(t,i,o))return;if(e.save(),e.beginPath(),!ui(e,i))return e.restore();const{separatorStart:l,separatorEnd:c}=NX(t,o),{sideStart:d,sideEnd:u}=HX(t,o,l);(i.margin>0||a.borderWidth===0)&&(e.moveTo(l.x,l.y),e.lineTo(c.x,c.y)),e.moveTo(d.x,d.y),e.lineTo(u.x,u.y);const f=go({x:n,y:r},t.getCenterPoint(),Mt(-t.rotation));e.lineTo(f.x,f.y),e.stroke(),e.restore()}function NX(e,t){const{x:n,y:r,x2:a,y2:i}=e,o=RX(e,t);let A,l;return t==="left"||t==="right"?(A={x:n+o,y:r},l={x:A.x,y:i}):(A={x:n,y:r+o},l={x:a,y:A.y}),{separatorStart:A,separatorEnd:l}}function RX(e,t){const{width:n,height:r,options:a}=e,i=a.callout.margin+a.borderWidth/2;return t==="right"?n+i:t==="bottom"?r+i:-i}function HX(e,t,n){const{y:r,width:a,height:i,options:o}=e,A=o.callout.start,l=VX(t,o.callout);let c,d;return t==="left"||t==="right"?(c={x:n.x,y:r+di(i,A)},d={x:c.x+l,y:c.y}):(c={x:n.x+di(a,A),y:n.y},d={x:c.x,y:c.y+l}),{sideStart:c,sideEnd:d}}function VX(e,t){const n=t.side;return e==="left"||e==="top"?-n:n}function zX(e,t){const n=t.position;return Rk.includes(n)?n:$X(e,t)}function $X(e,t){const{x:n,y:r,x2:a,y2:i,width:o,height:A,pointX:l,pointY:c,centerX:d,centerY:u,rotation:f}=e,p={x:d,y:u},h=t.start,m=di(o,h),b=di(A,h),g=[n,n+m,n+m,a],B=[r+b,i,r,i],w=[];for(let y=0;y<4;y++){const _=go({x:g[y],y:B[y]},p,Mt(f));w.push({position:Rk[y],distance:rs(_,{x:l,y:c})})}return w.sort((y,_)=>y.distance-_.distance)[0].position}function KX({x:e,y:t,width:n,height:r,options:a}){const i=a.borderWidth/2,o=Ft(a.padding);return{x:e+o.left+i,y:t+o.top+i,width:n-o.left-o.right-a.borderWidth,height:r-o.top-o.bottom-a.borderWidth}}function WX(e,t,n){const{pointX:r,pointY:a}=e,i=t.margin;let o=r,A=a;return n==="left"?o+=i:n==="right"?o-=i:n==="top"?A+=i:n==="bottom"&&(A-=i),e.inRange(o,A)}const Dg=(e,t,n)=>({x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}),Tg=(e,t,n)=>Dg(t,n,Math.abs((e-t.y)/(n.y-t.y))).x,Vk=(e,t,n)=>Dg(t,n,Math.abs((e-t.x)/(n.x-t.x))).y,vl=e=>e*e,GX=(e,t,{x:n,y:r,x2:a,y2:i},o)=>o==="y"?{start:Math.min(r,i),end:Math.max(r,i),value:t}:{start:Math.min(n,a),end:Math.max(n,a),value:e},zk=(e,t,n,r)=>(1-r)*(1-r)*e+2*(1-r)*r*t+r*r*n,Ug=(e,t,n,r)=>({x:zk(e.x,t.x,n.x,r),y:zk(e.y,t.y,n.y,r)}),$k=(e,t,n,r)=>2*(1-r)*(t-e)+2*r*(n-t),Kk=(e,t,n,r)=>-Math.atan2($k(e.x,t.x,n.x,r),$k(e.y,t.y,n.y,r))+.5*Ce;class _l extends yn{inRange(t,n,r,a){const i=this.options.borderWidth/2;if(r!=="x"&&r!=="y"){const o={mouseX:t,mouseY:n},{path:A,ctx:l}=this;if(A){ui(l,this.options);const{chart:d}=this.$context,u=t*d.currentDevicePixelRatio,f=n*d.currentDevicePixelRatio,p=l.isPointInStroke(A,u,f)||Lg(this,o,a);return l.restore(),p}const c=vl(i);return XX(this,o,c,a)||Lg(this,o,a)}return jX(this,{mouseX:t,mouseY:n},r,{hBorderWidth:i,useFinalPosition:a})}getCenterPoint(t){return vs(this,t)}draw(t){const{x:n,y:r,x2:a,y2:i,cp:o,options:A}=this;if(t.save(),!ui(t,A))return t.restore();_s(t,A);const l=Math.sqrt(Math.pow(a-n,2)+Math.pow(i-r,2));if(A.curve&&o)return iJ(t,this,o,l),t.restore();const{startOpts:c,endOpts:d,startAdjust:u,endAdjust:f}=qk(this),p=Math.atan2(i-r,a-n);t.translate(n,r),t.rotate(p),t.beginPath(),t.moveTo(0+u,0),t.lineTo(l-f,0),t.shadowColor=A.borderShadowColor,t.stroke(),Og(t,0,u,c),Og(t,l,-f,d),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,n){const r=bX(t,n),{x:a,y:i,x2:o,y2:A}=r,l=YX(r,t.chartArea),c=l?qX({x:a,y:i},{x:o,y:A},t.chartArea):{x:a,y:i,x2:o,y2:A,width:Math.abs(o-a),height:Math.abs(A-i)};if(c.centerX=(o+a)/2,c.centerY=(A+i)/2,c.initProperties=wl(t,c,n),n.curve){const u={x:c.x,y:c.y},f={x:c.x2,y:c.y2};c.cp=aJ(c,n,rs(u,f))}const d=JX(t,c,n.label);return d._visible=l,c.elements=[{type:"label",optionScope:"label",properties:d,initProperties:c.initProperties}],c}}_l.id="lineAnnotation";const Wk={backgroundColor:void 0,backgroundShadowColor:void 0,borderColor:void 0,borderDash:void 0,borderDashOffset:void 0,borderShadowColor:void 0,borderWidth:void 0,display:void 0,fill:void 0,length:void 0,shadowBlur:void 0,shadowOffsetX:void 0,shadowOffsetY:void 0,width:void 0};_l.defaults={adjustScaleRange:!0,arrowHeads:{display:!1,end:Object.assign({},Wk),fill:!1,length:12,start:Object.assign({},Wk),width:6},borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:2,curve:!1,controlPoint:{y:"-50%"},display:!0,endValue:void 0,init:void 0,label:{backgroundColor:"rgba(0,0,0,0.8)",backgroundShadowColor:"transparent",borderCapStyle:"butt",borderColor:"black",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:6,borderShadowColor:"transparent",borderWidth:0,callout:Object.assign({},Bl.defaults.callout),color:"#fff",content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:"bold"},height:void 0,opacity:void 0,padding:6,position:"center",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:"center",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},scaleID:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,value:void 0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},_l.descriptors={arrowHeads:{start:{_fallback:!0},end:{_fallback:!0},_fallback:!0}},_l.defaultRoutes={borderColor:"color"};function jX(e,{mouseX:t,mouseY:n},r,{hBorderWidth:a,useFinalPosition:i}){const o=GX(t,n,e.getProps(["x","y","x2","y2"],i),r);return o.value>=o.start-a&&o.value<=o.end+a||Lg(e,{mouseX:t,mouseY:n},i,r)}function YX({x:e,y:t,x2:n,y2:r},{top:a,right:i,bottom:o,left:A}){return!(e<A&&n<A||e>i&&n>i||t<a&&r<a||t>o&&r>o)}function Gk({x:e,y:t},n,{top:r,right:a,bottom:i,left:o}){return e<o&&(t=Vk(o,{x:e,y:t},n),e=o),e>a&&(t=Vk(a,{x:e,y:t},n),e=a),t<r&&(e=Tg(r,{x:e,y:t},n),t=r),t>i&&(e=Tg(i,{x:e,y:t},n),t=i),{x:e,y:t}}function qX(e,t,n){const{x:r,y:a}=Gk(e,t,n),{x:i,y:o}=Gk(t,e,n);return{x:r,y:a,x2:i,y2:o,width:Math.abs(i-r),height:Math.abs(o-a)}}function XX(e,{mouseX:t,mouseY:n},r=ho,a){const{x:i,y:o,x2:A,y2:l}=e.getProps(["x","y","x2","y2"],a),c=A-i,d=l-o,u=vl(c)+vl(d),f=u===0?-1:((t-i)*c+(n-o)*d)/u;let p,h;return f<0?(p=i,h=o):f>1?(p=A,h=l):(p=i+f*c,h=o+f*d),vl(t-p)+vl(n-h)<=r}function Lg(e,{mouseX:t,mouseY:n},r,a){const i=e.label;return i.options.display&&i.inRange(t,n,a,r)}function JX(e,t,n){const r=n.borderWidth,a=Ft(n.padding),i=Eg(e.ctx,n),o=i.width+a.width+r,A=i.height+a.height+r;return eJ(t,n,{width:o,height:A,padding:a},e.chartArea)}function ZX(e){const{x:t,y:n,x2:r,y2:a}=e,i=Math.atan2(a-n,r-t);return i>Ce/2?i-Ce:i<Ce/-2?i+Ce:i}function eJ(e,t,n,r){const{width:a,height:i,padding:o}=n,{xAdjust:A,yAdjust:l}=t,c={x:e.x,y:e.y},d={x:e.x2,y:e.y2},u=t.rotation==="auto"?ZX(e):Mt(t.rotation),f=tJ(a,i,u),p=nJ(e,t,{labelSize:f,padding:o},r),h=e.cp?Ug(c,e.cp,d,p):Dg(c,d,p),m={size:f.w,min:r.left,max:r.right,padding:o.left},b={size:f.h,min:r.top,max:r.bottom,padding:o.top},g=Yk(h.x,m)+A,B=Yk(h.y,b)+l;return{x:g-a/2,y:B-i/2,x2:g+a/2,y2:B+i/2,centerX:g,centerY:B,pointX:h.x,pointY:h.y,width:a,height:i,rotation:ed(u)}}function tJ(e,t,n){const r=Math.cos(n),a=Math.sin(n);return{w:Math.abs(e*r)+Math.abs(t*a),h:Math.abs(e*a)+Math.abs(t*r)}}function nJ(e,t,n,r){let a;const i=rJ(e,r);return t.position==="start"?a=jk({w:e.x2-e.x,h:e.y2-e.y},n,t,i):t.position==="end"?a=1-jk({w:e.x-e.x2,h:e.y-e.y2},n,t,i):a=_g(1,t.position),a}function jk(e,t,n,r){const{labelSize:a,padding:i}=t,o=e.w*r.dx,A=e.h*r.dy,l=o>0&&(a.w/2+i.left-r.x)/o,c=A>0&&(a.h/2+i.top-r.y)/A;return du(Math.max(l,c),0,.25)}function rJ(e,t){const{x:n,x2:r,y:a,y2:i}=e,o=Math.min(a,i)-t.top,A=Math.min(n,r)-t.left,l=t.bottom-Math.max(a,i),c=t.right-Math.max(n,r);return{x:Math.min(A,c),y:Math.min(o,l),dx:A<=c?1:-1,dy:o<=l?1:-1}}function Yk(e,t){const{size:n,min:r,max:a,padding:i}=t,o=n/2;return n>a-r?(a+r)/2:(r>=e-i-o&&(e=r+i+o),a<=e+i+o&&(e=a-i-o),e)}function qk(e){const t=e.options,n=t.arrowHeads&&t.arrowHeads.start,r=t.arrowHeads&&t.arrowHeads.end;return{startOpts:n,endOpts:r,startAdjust:Xk(e,n),endAdjust:Xk(e,r)}}function Xk(e,t){if(!t||!t.display)return 0;const{length:n,width:r}=t,a=e.options.borderWidth/2,i={x:n,y:r+a};return Math.abs(Tg(0,i,{x:0,y:a}))}function Og(e,t,n,r){if(!r||!r.display)return;const{length:a,width:i,fill:o,backgroundColor:A,borderColor:l}=r,c=Math.abs(t-a)+n;e.beginPath(),_s(e,r),ui(e,r),e.moveTo(c,-i),e.lineTo(t+n,0),e.lineTo(c,i),o===!0?(e.fillStyle=A||l,e.closePath(),e.fill(),e.shadowColor="transparent"):e.shadowColor=r.borderShadowColor,e.stroke()}function aJ(e,t,n){const{x:r,y:a,x2:i,y2:o,centerX:A,centerY:l}=e,c=Math.atan2(o-a,i-r),d=Cg(t.controlPoint,0),u={x:A+di(n,d.x,!1),y:l+di(n,d.y,!1)};return go(u,{x:A,y:l},c)}function Jk(e,{x:t,y:n},{angle:r,adjust:a},i){!i||!i.display||(e.save(),e.translate(t,n),e.rotate(r),Og(e,0,-a,i),e.restore())}function iJ(e,t,n,r){const{x:a,y:i,x2:o,y2:A,options:l}=t,{startOpts:c,endOpts:d,startAdjust:u,endAdjust:f}=qk(t),p={x:a,y:i},h={x:o,y:A},m=Kk(p,n,h,0),b=Kk(p,n,h,1)-Ce,g=Ug(p,n,h,u/r),B=Ug(p,n,h,1-f/r),w=new Path2D;e.beginPath(),w.moveTo(g.x,g.y),w.quadraticCurveTo(n.x,n.y,B.x,B.y),e.shadowColor=l.borderShadowColor,e.stroke(w),t.path=w,t.ctx=e,Jk(e,g,{angle:m,adjust:u},c),Jk(e,B,{angle:b,adjust:f},d)}class Cl extends yn{inRange(t,n,r,a){const i=this.options.rotation,o=this.options.borderWidth;if(r!=="x"&&r!=="y")return oJ({x:t,y:n},this.getProps(["width","height","centerX","centerY"],a),i,o);const{x:A,y:l,x2:c,y2:d}=this.getProps(["x","y","x2","y2"],a),u=o/2,f=r==="y"?{start:l,end:d}:{start:A,end:c},p=go({x:t,y:n},this.getCenterPoint(a),Mt(-i));return p[r]>=f.start-u-ho&&p[r]<=f.end+u+ho}getCenterPoint(t){return vs(this,t)}draw(t){const{width:n,height:r,centerX:a,centerY:i,options:o}=this;t.save(),xg(t,this.getCenterPoint(),o.rotation),_s(t,this.options),t.beginPath(),t.fillStyle=o.backgroundColor;const A=ui(t,o);t.ellipse(a,i,r/2,n/2,Ce/2,0,2*Ce),t.fill(),A&&(t.shadowColor=o.borderShadowColor,t.stroke()),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,n){return Tk(t,n,!0)}}Cl.id="ellipseAnnotation",Cl.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:1,display:!0,init:void 0,label:Object.assign({},ks.defaults.label),rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},Cl.defaultRoutes={borderColor:"color",backgroundColor:"color"},Cl.descriptors={label:{_fallback:!0}};function oJ(e,t,n,r){const{width:a,height:i,centerX:o,centerY:A}=t,l=a/2,c=i/2;if(l<=0||c<=0)return!1;const d=Mt(n||0),u=r/2||0,f=Math.cos(d),p=Math.sin(d),h=Math.pow(f*(e.x-o)+p*(e.y-A),2),m=Math.pow(p*(e.x-o)-f*(e.y-A),2);return h/Math.pow(l+u,2)+m/Math.pow(c+u,2)<=1.0001}class pu extends yn{inRange(t,n,r,a){const{x:i,y:o,x2:A,y2:l,width:c}=this.getProps(["x","y","x2","y2","width"],a),d=this.options.borderWidth;if(r!=="x"&&r!=="y")return iX({x:t,y:n},this.getCenterPoint(a),c/2,d);const u=d/2,f=r==="y"?{start:o,end:l,value:n}:{start:i,end:A,value:t};return f.value>=f.start-u&&f.value<=f.end+u}getCenterPoint(t){return vs(this,t)}draw(t){const n=this.options,r=n.borderWidth;if(n.radius<.1)return;t.save(),t.fillStyle=n.backgroundColor,_s(t,n);const a=ui(t,n);fX(t,this,this.centerX,this.centerY),a&&!uu(n.pointStyle)&&(t.shadowColor=n.borderShadowColor,t.stroke()),t.restore(),n.borderWidth=r}resolveElementProperties(t,n){const r=Dk(t,n);return r.initProperties=wl(t,r,n,!0),r}}pu.id="pointAnnotation",pu.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:1,display:!0,init:void 0,pointStyle:"circle",radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},pu.defaultRoutes={borderColor:"color",backgroundColor:"color"};class hu extends yn{inRange(t,n,r,a){if(r!=="x"&&r!=="y")return this.options.radius>=.1&&this.elements.length>1&&AJ(this.elements,t,n,a);const i=go({x:t,y:n},this.getCenterPoint(a),Mt(-this.options.rotation)),o=this.elements.map(c=>r==="y"?c.bY:c.bX),A=Math.min(...o),l=Math.max(...o);return i[r]>=A&&i[r]<=l}getCenterPoint(t){return vs(this,t)}draw(t){const{elements:n,options:r}=this;t.save(),t.beginPath(),t.fillStyle=r.backgroundColor,_s(t,r);const a=ui(t,r);let i=!0;for(const o of n)i?(t.moveTo(o.x,o.y),i=!1):t.lineTo(o.x,o.y);t.closePath(),t.fill(),a&&(t.shadowColor=r.borderShadowColor,t.stroke()),t.restore()}resolveElementProperties(t,n){const r=Dk(t,n),{sides:a,rotation:i}=n,o=[],A=2*Ce/a;let l=i*Nh;for(let c=0;c<a;c++,l+=A){const d=sJ(r,n,l);d.initProperties=wl(t,r,n),o.push(d)}return r.elements=o,r}}hu.id="polygonAnnotation",hu.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderShadowColor:"transparent",borderWidth:1,display:!0,init:void 0,point:{radius:0},radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,sides:3,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},hu.defaultRoutes={borderColor:"color",backgroundColor:"color"};function sJ({centerX:e,centerY:t},{radius:n,borderWidth:r},a){const i=r/2,o=Math.sin(a),A=Math.cos(a),l={x:e+o*n,y:t-A*n};return{type:"point",optionScope:"point",properties:{x:l.x,y:l.y,centerX:l.x,centerY:l.y,bX:e+o*(n+i),bY:t-A*(n+i)}}}function AJ(e,t,n,r){let a=!1,i=e[e.length-1].getProps(["bX","bY"],r);for(const o of e){const A=o.getProps(["bX","bY"],r);A.bY>n!=i.bY>n&&t<(i.bX-A.bX)*(n-A.bY)/(i.bY-A.bY)+A.bX&&(a=!a),i=A}return a}const fi={box:ks,ellipse:Cl,label:Bl,line:_l,point:pu,polygon:hu};Object.keys(fi).forEach(e=>{it.describe(`elements.${fi[e].id}`,{_fallback:"plugins.annotation.common"})});const lJ={update:Object.assign},cJ=Ig.concat(fu),Zk=(e,t)=>Ee(t)?Pg(e,t):e,Qg=e=>e==="color"||e==="font";function Mg(e="line"){return fi[e]?e:(console.warn(`Unknown annotation type: '${e}', defaulting to 'line'`),"line")}function dJ(e,t,n,r){const a=fJ(e,n.animations,r),i=t.annotations,o=mJ(t.elements,i);for(let A=0;A<i.length;A++){const l=i[A],c=e4(o,A,l.type),d=l.setContext(hJ(e,c,l)),u=c.resolveElementProperties(e,d);u.skip=uJ(u),"elements"in u&&(pJ(c,u.elements,d,a),delete u.elements),Cn(c.x)||Object.assign(c,u),Object.assign(c,u.initProperties),u.options=t4(d),a.update(c,u)}}function uJ(e){return isNaN(e.x)||isNaN(e.y)}function fJ(e,t,n){return n==="reset"||n==="none"||n==="resize"?lJ:new Zh(e,t)}function pJ(e,t,n,r){const a=e.elements||(e.elements=[]);a.length=t.length;for(let i=0;i<t.length;i++){const o=t[i],A=o.properties,l=e4(a,i,o.type,o.initProperties),c=n[o.optionScope].override(o);A.options=t4(c),r.update(l,A)}}function e4(e,t,n,r){const a=fi[Mg(n)];let i=e[t];return(!i||!(i instanceof a))&&(i=e[t]=new a,Object.assign(i,r)),i}function t4(e){const t=fi[Mg(e.type)],n={};n.id=e.id,n.type=e.type,n.drawTime=e.drawTime,Object.assign(n,Pg(e,t.defaults),Pg(e,t.defaultRoutes));for(const r of cJ)n[r]=e[r];return n}function Pg(e,t){const n={};for(const r of Object.keys(t)){const a=t[r],i=e[r];Qg(r)&&Ve(i)?n[r]=i.map(o=>Zk(o,a)):n[r]=Zk(i,a)}return n}function hJ(e,t,n){return t.$context||(t.$context=Object.assign(Object.create(e.getContext()),{element:t,id:n.id,type:"annotation"}))}function mJ(e,t){const n=t.length,r=e.length;if(r<n){const a=n-r;e.splice(r,0,...new Array(a))}else r>n&&e.splice(n,r-n);return e}var gJ="2.2.1";const pi=new Map,yJ=Ig.concat(fu);var yo={id:"annotation",version:gJ,beforeRegister(){oX("chart.js","3.7",ze.version)},afterRegister(){ze.register(fi)},afterUnregister(){ze.unregister(fi)},beforeInit(e){pi.set(e,{annotations:[],elements:[],visibleElements:[],listeners:{},listened:!1,moveListened:!1,hooks:{},hooked:!1,hovered:[]})},beforeUpdate(e,t,n){const r=pi.get(e),a=r.annotations=[];let i=n.annotations;Ee(i)?Object.keys(i).forEach(o=>{const A=i[o];Ee(A)&&(A.id=o,a.push(A))}):Ve(i)&&a.push(...i),TX(a,e.scales)},afterDataLimits(e,t){const n=pi.get(e);DX(e,t.scale,n.annotations.filter(r=>r.display&&r.adjustScaleRange))},afterUpdate(e,t,n){const r=pi.get(e);xX(e,r,n),dJ(e,r,n,t.mode),r.visibleElements=r.elements.filter(a=>!a.skip&&a.options.display),IX(e,r,n)},beforeDatasetsDraw(e,t,n){mu(e,"beforeDatasetsDraw",n.clip)},afterDatasetsDraw(e,t,n){mu(e,"afterDatasetsDraw",n.clip)},beforeDraw(e,t,n){mu(e,"beforeDraw",n.clip)},afterDraw(e,t,n){mu(e,"afterDraw",n.clip)},beforeEvent(e,t,n){const r=pi.get(e);EX(r,t.event,n)&&(t.changed=!0)},afterDestroy(e){pi.delete(e)},_getState(e){return pi.get(e)},defaults:{animations:{numbers:{properties:["x","y","x2","y2","width","height","centerX","centerY","pointX","pointY","radius"],type:"number"}},clip:!0,interaction:{mode:void 0,axis:void 0,intersect:void 0},common:{drawTime:"afterDatasetsDraw",init:!1,label:{}}},descriptors:{_indexable:!1,_scriptable:e=>!yJ.includes(e)&&e!=="init",annotations:{_allKeys:!1,_fallback:(e,t)=>`elements.${fi[Mg(t.type)].id}`},interaction:{_fallback:!0},common:{label:{_indexable:Qg,_fallback:!0},_indexable:Qg}},additionalOptionScopes:[""]};function mu(e,t,n){const{ctx:r,chartArea:a}=e,i=pi.get(e);n&&OA(r,a);const o=bJ(i.visibleElements,t).sort((A,l)=>A.element.options.z-l.element.options.z);for(const A of o)wJ(r,a,i,A);n&&QA(r)}function bJ(e,t){const n=[];for(const r of e)if(r.options.drawTime===t&&n.push({element:r,main:!0}),r.elements&&r.elements.length)for(const a of r.elements)a.options.display&&a.options.drawTime===t&&n.push({element:a});return n}function wJ(e,t,n,r){const a=r.element;r.main?(Mk(n,a,"beforeDraw"),a.draw(e,t),Mk(n,a,"afterDraw")):a.draw(e,t)}const kl=s.defineComponent({__name:"ManaCurveChart",props:DW,setup(e){const{t}=q(),n=s.ref();ze.register(...Mr),ze.register(yo),ze.register(lu);const r=e,a={topLeft:9999,topRight:9999,bottomLeft:9999,bottomRight:9999},i=s.computed(()=>["0","1","2","3","4","5","6","7","8","9","+"]),o=s.computed(()=>{if(console.log(r.deck),r.deck)return r.deck;if(console.log(r.deckCode),r.deckCode)return kt(r.deckCode);throw console.log("props.deckCode"),new Error("Deck or DeckCode must be defined")}),A=s.computed(()=>{const d={},u=ec(o.value);for(const f of u)d[f]=i.value.map(()=>0);for(const f in o.value){const p=hn().cardJsonObject[f];if(p===void 0)continue;const h=Ef(p,u);if(p.cost>10){d[h][10]+=o.value[f];continue}d[h][p.cost]+=o.value[f]}return d}),l=s.computed(()=>{const d=[];for(let u=0;u<Object.keys(A.value).length;u++){const f=Object.keys(A.value)[u];d.push({backgroundColor:I0(f),data:A.value[f],borderRadius:a,borderSkipped:!1,label:xf(f),barPercentage:.5},{backgroundColor:"transparent",data:A.value[f].map(p=>p>0?1:0)})}return{labels:i.value,datasets:d}}),c={responsive:!0,animation:r.animation,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:r.tooltipsEnabled,mode:"index",intersect:!1,filter(d){return d.datasetIndex%2===0&&d.formattedValue!=="0"},callbacks:{title(d){return d.length===0?"":t("deck.numManaCards",{num:d[0].label==="+"?"10+":d[0].label})},footer(d){if(d.length===0)return"";let u=0;for(let f=0;f<d[0].chart.data.datasets.length;f++)f%2!==1&&(u+=d[0].chart.data.datasets[f].data[d[0].dataIndex]);return`${t("general.total")}: ${u}`}}},datalabels:{align:"end",anchor:"end",offset:r.dataLabelsOffset,formatter(d,u){let f=0;for(let p=0;p<u.chart.data.datasets.length;p++)p%2!==1&&(f+=u.chart.data.datasets[p].data[u.dataIndex]);return f||""},display(d){return r.showDataLabels?d.datasetIndex===d.chart.data.datasets.length-1:!1}}},scales:{x:{stacked:!0,grid:{display:!1},display:r.displayXScale},y:{stacked:!0,grid:{display:!1},display:!1}},layout:{padding:{top:r.paddingTop}}};return(d,u)=>(s.openBlock(),s.createBlock(s.unref(Od),{ref_key:"chart",ref:n,"chart-data":l.value,options:c},null,8,["chart-data"]))}}),BJ={playerId:{type:Number,required:!0,default:1},playerName:{type:String,required:!0,default:""},selectedIconCard:{type:String,required:!1,default:void 0},selectedBannerColor:{type:String,required:!1,default:void 0},createdAt:{type:Date,required:!0,default:new Date},updatedAt:{type:Date,required:!0,default:new Date}},vJ={class:"player"},_J={class:"row"},CJ={class:"prompt"},kJ={class:"value"},xJ={class:"row"},EJ={class:"prompt"},SJ={class:"value"},FJ=s.defineComponent({__name:"BuiltDeckHighlight",props:BJ,setup(e){const t=s.inject(wr),{t:n}=q(),r=e;return(a,i)=>{const o=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(ct,{class:"archetype-side-panel-highlight"},{default:s.withCtx(()=>[s.createElementVNode("div",vJ,[s.createVNode(oa,{class:"circle-card-item","card-code-prop":r.selectedIconCard??"05BC160","ignore-card-item":!0,"color-override":r.selectedBannerColor,"router-link":s.unref(ve)().callbacks.playerIdRouterLinkCallback(r.playerId)},null,8,["card-code-prop","color-override","router-link"]),s.createVNode(o,{to:s.unref(ve)().callbacks.playerIdRouterLinkCallback(r.playerId),class:"name"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(r.playerName),1)]),_:1},8,["to"])]),s.createElementVNode("div",_J,[s.createElementVNode("div",CJ,s.toDisplayString(s.unref(n)("general.createdAt")),1),s.createElementVNode("div",kJ,s.toDisplayString(s.unref(t)(r.createdAt).fromNow()),1)]),s.createElementVNode("div",xJ,[s.createElementVNode("div",EJ,s.toDisplayString(s.unref(n)("general.updatedAt")),1),s.createElementVNode("div",SJ,s.toDisplayString(s.unref(t)(r.updatedAt).fromNow()),1)])]),_:1})}}}),ohe="",IJ=Q(FJ,[["__scopeId","data-v-9743903e"]]),DJ=s.defineComponent({__name:"DeckSidePanel",props:RQ,emits:["update:filters"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.reactive(r.filters),o=s.computed(()=>yE(r.deckcode)),A=s.computed(()=>Object.keys(kt(r.deckcode)).filter(d=>Uo(hn().cardJsonObject[d]))),l=s.computed(()=>{var d;return(d=Be().dataJson.formats[i.formatFilters[0]??"Standard"])==null?void 0:d.availableQueues});s.watch(i,()=>{a("update:filters",i)});function c(){for(const[,d]of Object.entries(i))d.splice(0)}return(d,u)=>(s.openBlock(),s.createBlock(Wi,{"filter-object":r.filters,"onClear:filterObject":c},{default:s.withCtx(()=>[r.builtDeckProps?(s.openBlock(),s.createBlock(IJ,s.normalizeProps(s.mergeProps({key:0},r.builtDeckProps)),null,16)):s.createCommentVNode("",!0),s.createVNode(Wc,{"card-codes":A.value,regions:o.value},null,8,["card-codes","regions"]),s.createVNode(ct,{title:s.unref(n)("general.regions")},{default:s.withCtx(()=>[s.createVNode(Sh,{"deck-code":r.deckcode,"describe-regions":!0},null,8,["deck-code"])]),_:1},8,["title"]),s.createVNode(ct,{title:s.unref(n)("general.manaCurve")},{default:s.withCtx(()=>[s.createVNode(kl,{class:"mana-curve-chart","deck-code":r.deckcode,"padding-top":5,"show-data-labels":!0,"data-labels-offset":-5,"tooltips-enabled":!0,"display-x-scale":!0,animation:void 0},null,8,["deck-code"])]),_:1},8,["title"]),s.createVNode(ct,{title:s.unref(n)("general.type")},{default:s.withCtx(()=>[s.createVNode(Md,{class:"side-panel-chart","deck-code":r.deckcode,info:"typeRef"},null,8,["deck-code"])]),_:1},8,["title"]),s.createVNode(ct,{title:s.unref(n)("general.rarity")},{default:s.withCtx(()=>[s.createVNode(Md,{class:"side-panel-chart","deck-code":r.deckcode,info:"rarityRef"},null,8,["deck-code"])]),_:1},8,["title"]),s.createVNode(es,{"filter-array":i.sampleSizeFilters,"onUpdate:filterArray":u[0]||(u[0]=f=>i.sampleSizeFilters=f)},null,8,["filter-array"]),s.createVNode(Ki,{"filter-array":i.timeFilters,"onUpdate:filterArray":u[1]||(u[1]=f=>i.timeFilters=f)},null,8,["filter-array"]),s.createVNode(ts,{"filter-array":i.serverFilters,"onUpdate:filterArray":u[2]||(u[2]=f=>i.serverFilters=f)},null,8,["filter-array"]),s.createVNode(bA,{"filter-array":i.formatFilters,"onUpdate:filterArray":u[3]||(u[3]=f=>i.formatFilters=f)},null,8,["filter-array"]),s.createVNode(wA,{"filter-array":i.queueFilters,"onUpdate:filterArray":u[4]||(u[4]=f=>i.queueFilters=f),"available-queues":l.value},null,8,["filter-array","available-queues"])]),_:1},8,["filter-object"]))}}),she="",n4=Q(DJ,[["__scopeId","data-v-b95c4f38"]]),TJ={cardsProp:{type:Object,required:!1,default:void 0},deck:{type:Object,required:!0,default:{}}},UJ={class:"deck-summary"},LJ={class:"deck-cards"},OJ={class:"champions-landmarks column"},QJ={key:0,class:"type"},MJ={class:"type-heading"},PJ={class:"title"},NJ={class:"type-quantity"},RJ={class:"card-container"},HJ={key:1,class:"type column"},VJ={class:"type-heading"},zJ={class:"title"},$J={class:"type-quantity"},KJ={class:"card-container"},WJ={key:2,class:"type column"},GJ={class:"type-heading"},jJ={class:"title"},YJ={class:"type-quantity"},qJ={class:"card-container"},XJ={key:0,class:"type column"},JJ={class:"type-heading"},ZJ={class:"title"},eZ={class:"type-quantity"},tZ={class:"card-container"},nZ={key:1,class:"type"},rZ={class:"type-heading"},aZ={class:"title"},iZ={class:"type-quantity"},oZ={class:"card-container"},sZ=s.defineComponent({__name:"DeckSummary",props:TJ,setup(e){const t=e,n=s.computed(()=>t.cardsProp?t.cardsProp:Zt(t.deck)),r=s.computed(()=>Hs(n.value)),a=s.computed(()=>n.value.filter(d=>Uo(d))),i=s.computed(()=>n.value.filter(d=>d.typeRef==="Unit"&&d.supertype==="")),o=s.computed(()=>n.value.filter(d=>d.typeRef==="Spell")),A=s.computed(()=>n.value.filter(d=>d.typeRef==="Landmark")),l=s.computed(()=>n.value.filter(d=>d.typeRef==="Equipment"));function c(d){return d.reduce((u,f)=>u+t.deck[f.cardCode],0)}return(d,u)=>{const f=s.resolveDirective("t");return s.openBlock(),s.createElementBlock("div",UJ,[s.createElementVNode("div",LJ,[s.createElementVNode("div",OJ,[a.value.length>0?(s.openBlock(),s.createElementBlock("div",QJ,[s.createElementVNode("div",MJ,[u[0]||(u[0]=s.createElementVNode("img",{class:"icon",src:"https://lor.gg/storage/icons/champion.svg"},null,-1)),s.withDirectives(s.createElementVNode("div",PJ,null,512),[[f,"general.champions"]]),s.createElementVNode("p",NJ,s.toDisplayString(c(a.value)),1)]),s.createElementVNode("div",RJ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.value,p=>(s.openBlock(),s.createBlock(vt,{key:p.cardCode,"card-prop":p,color:s.unref(Ei)(p,r.value,!0),name:p.name,"mana-number":p.cost,"quantity-number":t.deck[p.cardCode],"maintain-aspect-ratio":!0,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(p.cardCode)},null,8,["card-prop","color","name","mana-number","quantity-number","router-link"]))),128))])])):s.createCommentVNode("",!0),A.value.length>0?(s.openBlock(),s.createElementBlock("div",HJ,[s.createElementVNode("div",VJ,[u[1]||(u[1]=s.createElementVNode("img",{class:"icon",src:"https://lor.gg/storage/icons/landmark.svg"},null,-1)),s.withDirectives(s.createElementVNode("div",zJ,null,512),[[f,"general.landmarks"]]),s.createElementVNode("p",$J,s.toDisplayString(c(A.value)),1)]),s.createElementVNode("div",KJ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(A.value,p=>(s.openBlock(),s.createBlock(vt,{key:p.cardCode,"card-prop":p,color:s.unref(Ei)(p,r.value,!0),name:p.name,"mana-number":p.cost,"quantity-number":t.deck[p.cardCode],"maintain-aspect-ratio":!0,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(p.cardCode)},null,8,["card-prop","color","name","mana-number","quantity-number","router-link"]))),128))])])):s.createCommentVNode("",!0),l.value.length>0?(s.openBlock(),s.createElementBlock("div",WJ,[s.createElementVNode("div",GJ,[u[2]||(u[2]=s.createElementVNode("img",{class:"icon",src:"https://lor.gg/storage/icons/equipment.svg"},null,-1)),s.withDirectives(s.createElementVNode("div",jJ,null,512),[[f,"general.equipments"]]),s.createElementVNode("p",YJ,s.toDisplayString(c(l.value)),1)]),s.createElementVNode("div",qJ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(l.value,p=>(s.openBlock(),s.createBlock(vt,{key:p.cardCode,"card-prop":p,color:s.unref(Ei)(p,r.value,!0),name:p.name,"mana-number":p.cost,"quantity-number":t.deck[p.cardCode],"maintain-aspect-ratio":!0,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(p.cardCode)},null,8,["card-prop","color","name","mana-number","quantity-number","router-link"]))),128))])])):s.createCommentVNode("",!0)]),i.value.length>0?(s.openBlock(),s.createElementBlock("div",XJ,[s.createElementVNode("div",JJ,[u[3]||(u[3]=s.createElementVNode("img",{class:"icon",src:"https://lor.gg/storage/icons/follower.svg"},null,-1)),s.withDirectives(s.createElementVNode("div",ZJ,null,512),[[f,"general.followers"]]),s.createElementVNode("p",eZ,s.toDisplayString(c(i.value)),1)]),s.createElementVNode("div",tZ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.value,p=>(s.openBlock(),s.createBlock(vt,{key:p.cardCode,"card-prop":p,color:s.unref(Ei)(p,r.value,!0),name:p.name,"mana-number":p.cost,"quantity-number":t.deck[p.cardCode],"maintain-aspect-ratio":!0,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(p.cardCode)},null,8,["card-prop","color","name","mana-number","quantity-number","router-link"]))),128))])])):s.createCommentVNode("",!0),o.value.length>0?(s.openBlock(),s.createElementBlock("div",nZ,[s.createElementVNode("div",rZ,[u[4]||(u[4]=s.createElementVNode("img",{class:"icon",src:"https://lor.gg/storage/icons/spell.svg"},null,-1)),s.withDirectives(s.createElementVNode("div",aZ,null,512),[[f,"general.spells"]]),s.createElementVNode("p",iZ,s.toDisplayString(c(o.value)),1)]),s.createElementVNode("div",oZ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.value,p=>(s.openBlock(),s.createBlock(vt,{key:p.cardCode,"card-prop":p,color:s.unref(Ei)(p,r.value,!0),name:p.name,"mana-number":p.cost,"quantity-number":t.deck[p.cardCode],"maintain-aspect-ratio":!0,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(p.cardCode)},null,8,["card-prop","color","name","mana-number","quantity-number","router-link"]))),128))])])):s.createCommentVNode("",!0)])])}}}),Ahe="",gu=Q(sZ,[["__scopeId","data-v-b253a25c"]]),AZ={deckCode:{type:String,required:!0,default:""}},yu=s.defineComponent({__name:"CopyDeckButton",props:AZ,setup(e){const{t}=q(),n=e,r=s.ref(null);let a,i;s.onMounted(()=>{i=tt(r.value,{content:t("deck.copyDeckCode"),arrow:!0}),a=tt(r.value,{content:t("deck.deckCodeCopied"),trigger:"manual",arrow:!0})});function o(){wE(n.deckCode),i.hide(),a.show()}return(A,l)=>(s.openBlock(),s.createElementBlock("button",{ref_key:"button",ref:r,class:"circle-button",onClick:o},[s.createVNode(s.unref(ke),{icon:"copy",class:"icon"})],512))}}),lZ={deckId:{type:Number,required:!0,default:-1}},Ng=s.defineComponent({__name:"DeleteDeckButton",props:lZ,setup(e){const{t}=q(),n=s.ref(null);return s.onMounted(()=>{tt(n.value,{content:t("deck.deleteDeck"),arrow:!0})}),(r,a)=>(s.openBlock(),s.createElementBlock("button",{ref_key:"button",ref:n,class:"circle-button"},[s.createVNode(s.unref(ke),{icon:"trash-alt",class:"icon"})],512))}}),Rg=s.defineComponent({__name:"EditDeckNameButton",setup(e){const{t}=q(),n=s.ref(null);return s.onMounted(()=>{tt(n.value,{content:t("deck.editDeckName"),arrow:!0})}),(r,a)=>(s.openBlock(),s.createElementBlock("button",{ref_key:"button",ref:n,class:"circle-button"},[s.createVNode(s.unref(ke),{icon:"pencil-alt",class:"icon"})],512))}}),cZ={routerLink:{type:Object,required:!0,default:{path:"/404"}}},dZ=s.defineComponent({__name:"OpenArchetypePageButton",props:cZ,setup(e){const{t}=q(),n=e,r=s.ref(null);return s.onMounted(()=>{tt(r.value,{content:t("deck.openArchetypePage"),arrow:!0})}),(a,i)=>{const o=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(o,{to:n.routerLink},{default:s.withCtx(()=>[s.createElementVNode("button",{ref_key:"button",ref:r,class:"circle-button"},s.toDisplayString(s.unref(t)("archetype.abbreviation")),513)]),_:1},8,["to"])}}}),lhe="",Hg=Q(dZ,[["__scopeId","data-v-b921ee68"]]),uZ={routerLink:{type:Object,required:!0,default:{path:"/404"}}},Vg=s.defineComponent({__name:"OpenInDeckBuilderButton",props:uZ,setup(e){const{t}=q(),n=e,r=s.ref(null);return s.onMounted(()=>{tt(r.value,{content:t("deck.openInDeckBuilder"),arrow:!0})}),(a,i)=>{const o=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(o,{to:n.routerLink},{default:s.withCtx(()=>[s.createElementVNode("button",{ref_key:"button",ref:r,class:"circle-button"},[s.createVNode(s.unref(ke),{icon:"hammer",class:"icon"})],512)]),_:1},8,["to"])}}}),fZ={deck:{type:Object,required:!0,default:{}}},pZ={deck:{type:Object,required:!0,default:{}}},hZ={class:"simulate-mulligan"},mZ={class:"cards"},gZ={class:"buttons"},yZ=s.defineComponent({__name:"SimulateMulligan",props:pZ,setup(e){const{t}=q(),n=e,r=s.computed(()=>{const c=[];for(const d in n.deck)for(let u=0;u<n.deck[d];u++)c.push(d);return c}),a=s.computed(()=>{const c=Array.from(r.value);for(const d of i.value)d!==null&&c.splice(c.indexOf(d.cardCode),1);return c}),i=s.ref([null,null,null,null]);function o(){i.value.fill(null),l()}function A(){var c;for(let d=0;d<i.value.length;d++)i.value[d]===null||!((c=i.value[d])!=null&&c.isSelected)||(i.value[d]=null);l()}function l(){for(;i.value.some(c=>c===null);)i.value[i.value.indexOf(null)]={cardCode:a.value[hE(0,a.value.length)],isSelected:!1};console.log(i.value)}return l(),(c,d)=>(s.openBlock(),s.createElementBlock("div",hZ,[s.createElementVNode("div",mZ,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.value.filter(u=>u!==null),(u,f)=>(s.openBlock(),s.createBlock(Vi,{key:u.cardCode+f,"card-code-prop":u.cardCode,"is-root":!0,style:s.normalizeStyle(u.isSelected?{opacity:.5}:null),onClick:p=>u.isSelected=!u.isSelected},null,8,["card-code-prop","style","onClick"]))),128))]),s.createElementVNode("div",gZ,[s.createElementVNode("button",{class:"primary-button",onClick:o},s.toDisplayString(s.unref(t)("deck.replaceAllCards")),1),s.createElementVNode("button",{class:"primary-button",onClick:A},s.toDisplayString(s.unref(t)("deck.replaceSelectedCards")),1)])]))}}),che="",zg=Q(yZ,[["__scopeId","data-v-e3540f85"]]),bZ={class:"simulate-mulligan-wrapper"},wZ=s.defineComponent({__name:"SimulateMulliganButton",props:fZ,setup(e){const{t}=q(),n=e,r=s.ref(null),a=s.ref(!1);return s.onMounted(()=>{tt(r.value,{content:t("deck.simulateMulligan"),arrow:!0})}),(i,o)=>(s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("button",{ref_key:"button",ref:r,class:"circle-button",onClick:o[0]||(o[0]=A=>a.value=!0)},[s.createVNode(s.unref(ke),{icon:"hand-paper"})],512),s.createVNode(Tr,{"show-modal":a.value,"onUpdate:showModal":o[1]||(o[1]=A=>a.value=A)},{default:s.withCtx(()=>[s.createElementVNode("div",bZ,[s.createVNode(zg,{deck:n.deck},null,8,["deck"])])]),_:1},8,["show-modal"])]))}}),dhe="",bu=Q(wZ,[["__scopeId","data-v-63aa9043"]]),BZ={deckIsPrivate:{type:Boolean,required:!0,default:!0}},$g=s.defineComponent({__name:"UpdateDeckPrivacyButton",props:BZ,setup(e){const{t}=q(),n=e,r=s.ref(null);let a;return s.onMounted(()=>{a=tt(r.value,{content:`${t("deck.updatePrivacy")}:
|
|
698
698
|
${n.deckIsPrivate?t("deck.deckPrivate"):t("deck.deckPublic")}`,arrow:!0})}),s.watch(()=>n.deckIsPrivate,i=>{a.setContent(`${t("deck.updatePrivacy")}:
|
|
699
699
|
${t(i?"deck.deckPrivate":"deck.deckPublic")}`)}),(i,o)=>(s.openBlock(),s.createElementBlock("button",{ref_key:"button",ref:r,class:"circle-button"},[s.createVNode(s.unref(ke),{icon:n.deckIsPrivate?"lock":"unlock",class:"icon"},null,8,["icon"])],512))}}),vZ={},_Z={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 496"};function CZ(e,t){return s.openBlock(),s.createElementBlock("svg",_Z,[...t[0]||(t[0]=[s.createElementVNode("path",{d:"M75.8 25.4a3527.2 3527.2 0 0 1-32.2 16.2A429.1 429.1 0 0 0 24.8 51a117.6 117.6 0 0 0-8.6 4.4c-5.7 2.7-7.5 8-5.8 17 .2 1.2.6 4.9.8 8.2l.8 8.8c.2 1.5.4 4.2.4 6 0 1.8.2 3.8.4 4.6.2.8.5 3.8.6 6.8.1 3 .4 6 .6 6.6.2.7.5 3.5.6 6.3 0 2.7.4 6.3.6 7.8l.8 8.7c.2 3.3.7 8.2 1 10.8.3 2.6.6 6.2.6 8 0 1.8.2 3.8.4 4.6.2.7.5 3.7.6 6.6.2 2.8.4 6 .6 7 .2.8.5 4 .6 7.1.2 3 .4 6 .6 6.7.2.7.5 3.7.6 6.8.1 3 .3 5.7.5 6 .2.3.6 5 1.3 14.4C24 231 24 231 29.7 235.6A74.8 74.8 0 0 1 50 259.2c4.9 10.3 5.3 24 1 36.6l-1.5 5.3c0 .3-.4 1.3-1 2.2L47 307c-.3 1-1.4 3.2-2.3 4.7a43 43 0 0 1-6.2 9.3c-3.8 4.5-4.8 8.2-3.7 13 .4 2 1.4 10.4 1.8 15.6.2 1.9.4 3.8.6 4.3.2.4.6 3.4.8 6.5.3 3.2.7 6.2.9 6.8.2.5.5 3.4.7 6.4.2 3 .6 6 .8 6.6.2.6.6 3.3.8 6 .4 5 .9 8.6 1.8 14.2.3 2 .6 4.4.6 5.5 0 1.1.3 4 .8 6.6l1 7.4c.5 6.2 2.2 8.1 9.8 10.8a99.5 99.5 0 0 1 10 4c1.7.5 3.2 1.1 3.4 1.3.7.5 6.2 2.8 6.8 2.8.3 0 1.7.5 3 1.2l4.2 1.6 5.8 2.4a82.2 82.2 0 0 0 8.8 3.6l5 2c2.1.6 5 1.8 6.7 2.6 1.6.7 3.5 1.5 4.1 1.6l4 1.6c1.5.7 4 1.7 5.4 2.1l8 3.1a193.7 193.7 0 0 0 15.8 6.3l3.6 1.4 5.3 2.1c1.8.9 4.5 2 6 2.5 1.5.4 3 1 3.5 1.3a100 100 0 0 1 14.2 5.5l4.6 1.9a56 56 0 0 0 5.2 1.8 62 62 0 0 1 6.2 2.3c4 1.8 9.9.7 20.7-4 1.6-.7 3-1.3 3.4-1.3a60.5 60.5 0 0 1 9.3-3.7 73.4 73.4 0 0 0 8.9-3.3l4.9-2c1.6-.8 4.2-1.9 5.8-2.4 1.6-.5 3.5-1.2 4.2-1.6a41 41 0 0 1 4.3-1.7c1.7-.5 4-1.4 5.1-2 2.3-1.1 7-3 13.6-5.3a85.1 85.1 0 0 0 11-4.5 675 675 0 0 0 23.4-9.3 53 53 0 0 1 5.6-2.2 38 38 0 0 0 4.2-1.6l4-1.6 4.6-1.8c2.8-1.4 13.9-5.8 14.4-5.8 1.2 0 6.7-2.6 8.2-4 2.4-2 3.2-3.7 3.4-7.1l.8-6.7c1.2-7.8 1.8-13 1.8-14.9 0-1 .3-3 .6-4.3.3-1.3.7-4.9 1-7.8.2-3 .5-6 .8-6.6.2-.7.6-3.7.8-6.7.2-3 .6-5.9.8-6.4a245.2 245.2 0 0 1 2.9-23.7c.1-1.8.5-4.7.8-6.6 1.2-9.6 1-10.1-5.2-18a40 40 0 0 1-5-8.1l-1.5-3c0-.3-.7-2.1-1.6-4.2a54 54 0 0 1-3.6-10.4c-.8-2.4-2.1-12.5-2.1-16.3a44.4 44.4 0 0 1 10-27 103 103 0 0 1 16.8-16.1c2.8-2.2 3.9-6.1 4-14.8 0-1.6.3-3.7.5-4.6.2-1 .5-4.1.6-7.1.1-3 .4-6.1.6-7 .2-.9.5-4 .6-7 .1-2.9.3-5.5.5-5.7.1-.3.4-2.8.5-5.7l.7-8.8c.6-4.6 1.5-15 2.4-28 .2-2.7.5-5 .6-5.2l.5-5.6c0-3 .3-6 .6-7 .2-1 .5-4.2.6-7.2.1-3 .4-6 .6-6.8.2-.8.5-3.7.6-6.6.1-2.9.4-6 .6-6.8.2-.9.4-3 .4-4.6 0-1.7.2-4.4.4-6l.8-8.2.9-10c1-10.5.1-12.9-6.1-15.8l-4.4-2.1-5.8-3-8.2-4A783.8 783.8 0 0 0 342 34.7l-32.5-16.2c-1.5-.5-11-.6-110.2-.6H90.6l-14.8 7.4m228.5 32.4a129 129 0 0 0 11.7 5.6c.6.2 6.6 3 13.4 6.4 6.8 3.3 13.4 6.5 14.7 7 8 3.1 8.4 5 7 30.2a905.9 905.9 0 0 0-.8 19.4 354.8 354.8 0 0 0-1.2 15.8l-.7 11.8c-.8 13.3-1.2 18.8-1.6 21.2-.2 1.4-.4 4.2-.4 6.2s-.2 4.3-.4 5.2c-.2.9-.4 4.3-.6 7.6-.1 3.2-.3 6-.4 6.2-.1.2-.4 3.2-.6 6.7-.4 7.8-.9 9-5.1 13.6a92.3 92.3 0 0 0-19.5 31 73.8 73.8 0 0 0-2.8 44.1c.2 1.1.6 3 1 4.2.5 1.2 1.3 3.9 1.8 6a75.2 75.2 0 0 0 8 18.3 74 74 0 0 0 3.2 5.7c3.8 5.8 5 11.5 3.5 17a48 48 0 0 0-.7 6.6 67 67 0 0 1-.7 7.2 77 77 0 0 0-.7 7.2l-.8 9.2-1.8 19c-.8 10.2-.9 11.3-1.8 13.3-1 2.3-3.8 5.1-5.6 5.6l-4.4 1.8c-4.7 2.2-11 4.9-15.8 6.7-2.2.8-5 2-6.4 2.7l-4 1.7-3.8 1.6-4.6 2-4.4 1.6a227.8 227.8 0 0 0-12.4 5.3c-2.2 1-4.3 1.9-4.6 1.9-.3 0-1.2.4-1.9.8s-2.7 1.2-4.4 1.8a55 55 0 0 0-5.5 2.3l-5 2.2a52 52 0 0 0-4 1.7c-.7.4-3 1.3-4.9 2a83.9 83.9 0 0 0-9.5 3.8c-.6.2-2.6 1-4.6 2-2 1-4.7 2-6 2.5-1.4.4-3.4 1.3-4.5 1.9l-2.5 1c-.3 0-2.2.7-4.2 1.6-4.8 2-6.5 2-10.2.3a80.4 80.4 0 0 0-9.8-4l-4.8-2a80 80 0 0 1-4.8-2 13017.1 13017.1 0 0 0-27.6-11.6c-1.8-.7-4.1-1.7-5.2-2l-3.8-1.7c-1-.5-2.6-1.1-3.6-1.4-1-.3-3.6-1.3-5.8-2.4a66.4 66.4 0 0 0-7.6-3.2c-.6-.5-6.3-2.8-6.9-2.8a23 23 0 0 1-3.6-1.4 114 114 0 0 0-5.5-2.4c-1.3-.5-3.5-1.4-4.8-2.1-1.3-.7-3.6-1.6-5-2a45 45 0 0 1-4.8-2 22 22 0 0 0-3.4-1.5c-.6-.1-3.1-1.2-5.6-2.4l-5.9-2.6c-4-1.3-6.1-5.8-6.5-13.6-.1-2.8-.4-5.8-.6-6.7-.2-1-.6-4.4-.8-7.6l-.8-9.5-.8-9.2a75 75 0 0 0-.8-7.6c-.2-1-.5-4-.6-6.5-.1-2.6-.4-5.6-.7-6.7a20.5 20.5 0 0 1 3.3-17 2248.4 2248.4 0 0 1 6-11 82.4 82.4 0 0 0 7.8-22.4l1-4.4a87.8 87.8 0 0 0-1.2-34.2A98.2 98.2 0 0 0 58.4 219c-2-2-3.2-4.4-3.2-6.6l-.6-7.8c-.6-6-1-11.6-1.8-24.1-.2-3.6-.5-6.7-.6-7a1106.2 1106.2 0 0 1-4.6-81.1l-.1-8.3 1.5-2.5c1.4-2.2 2-2.6 4.6-3.9a2066.4 2066.4 0 0 0 24.6-12l16-7.6c2-1 4.1-1.9 4.9-2 .7-.2 46.3-.3 101.3-.3h100l3.9 2m-185 29c-3 .4-2 4.6 2.7 11.6a84.9 84.9 0 0 1 10 23.4c.7 5 .8 249.2.2 252.4a39.4 39.4 0 0 1-5 12.5c-.7 1.4-2.8 4.7-4.8 7.4-3.6 5-4.1 6.2-3.6 7.2.5.7 70.4 1 72.7.3 2.3-.8 2-2-1-5.8a60 60 0 0 1-3.2-4.5l-2.6-3.6a45.5 45.5 0 0 1-4.8-9.7c-.8-2.1-.8-3.4-1-34.6 0-40.3 0-42 1.7-43.5l10.3-8.8c7-5.7 10.7-8.9 10.7-9.1 0-.5 4-3.2 4.4-3 .6.4 2 3.7 4.6 11.6 1.4 4.4 3.1 9.3 3.8 10.8a296.1 296.1 0 0 1 7.1 20l1.4 3.8a158.4 158.4 0 0 0 3.7 10.4 63 63 0 0 0 1.6 4.4l1.7 4.6a199.6 199.6 0 0 0 3.8 10.8l5 13.8c2.3 5.3 1.4 15.2-1.7 18.8a41.8 41.8 0 0 1-3.7 6.8c-3.2 5.2-3.3 6.4 0 6.9 4.2.6 71 .3 71.5-.3.8-1 .1-2.3-3-5.6a67.7 67.7 0 0 1-8.5-10.8c-1.9-3-6.3-14.2-10.5-26.2-3-8.4-3.7-10.5-5-13.6l-1.4-4c0-.5-.5-2-1.2-3.4s-1.2-2.9-1.2-3.2a40 40 0 0 0-2.6-7.2 156.6 156.6 0 0 1-12-33.6l-2-5.6c-.9-1.5-3.5-8.7-5.5-15-.9-2.8-1.8-5.2-2-5.5-.2-.2-.8-2-1.5-3.8l-3.4-9.7c-3-8.3-3-7.9.3-12a202.4 202.4 0 0 0 12-17.2c1-1.3 2.1-3.4 2.8-4.7.6-1.3 1.7-3.1 2.3-4 .7-.9 1.2-1.8 1.2-2 0-.6 2.7-6.3 3.6-7.5.4-.6 1-1.7 1.2-2.6l1.8-4.2c1.5-3 1.9-4 4.4-12.2l2.6-8.2a39 39 0 0 0 1.2-5.4 111 111 0 0 0 0-46.5 53.4 53.4 0 0 0-41.2-37.5 133 133 0 0 0-22-3.2c-2.5-.3-94.1-.5-95.9-.3m92.5 38a26 26 0 0 1 18.7 18.6 36 36 0 0 0 1.4 4 108.6 108.6 0 0 1-3.4 40 73.8 73.8 0 0 1-12.7 24c-1.5 2.5-8.5 10.5-12 13.9a120.1 120.1 0 0 1-13.7 12.1 52.5 52.5 0 0 1-4.6 3.7l-3.9 2.8c-1 .8-2 1.4-2.2 1.3-.4-.2-.7-120.8-.3-121.6 0-.2 6.4-.3 14.1-.3h14l4.6 1.4",fill:"#cca444","fill-rule":"evenodd"},null,-1)])])}const Kg=Q(vZ,[["render",CZ]]),kZ={deckCode:{type:String,required:!0,default:""},deckName:{type:String,required:!0,default:""}},xZ=s.defineComponent({__name:"UploadDeckToLorButton",props:kZ,setup(e){const{t}=q(),n=e,r=s.computed(()=>Jt().user?t("deck.uploadDeckToLor"):t("deck.signInToUpload")),a=s.ref(null);let i;function o(){Jt().user&&ve().callbacks.uploadDeckToLorCallback(n.deckCode,n.deckName)}return s.onMounted(()=>{i=tt(a.value,{content:r.value,arrow:!0})}),s.watch(r,()=>{i.setContent(r.value)}),(A,l)=>(s.openBlock(),s.createElementBlock("button",{ref_key:"button",ref:a,class:"circle-button",onClick:o},[s.createVNode(Kg)],512))}}),uhe="",wu=Q(xZ,[["__scopeId","data-v-b942bc9b"]]),EZ={class:"primary-button"},Wg=s.defineComponent({__name:"ShareButton",setup(e){return(t,n)=>(s.openBlock(),s.createElementBlock("button",EZ,[s.createVNode(s.unref(ke),{icon:"share-nodes"}),s.createElementVNode("span",null,[s.renderSlot(t.$slots,"default")])]))}}),r4={isPrivate:{type:Boolean,required:!1,default:!1},showUploaded:{type:Boolean,required:!1,default:!1},deckBuilderRouterLink:{type:Object,required:!0,default:"404"},archetypeRouterLink:{type:Object,required:!1,default:void 0},deckName:{type:String,required:!1,default:void 0},deckCode:{type:String,required:!0,default:"CUCACBIKYYAQCBQMAEBAMCI5F4EAMCQLB4IRGFI2D4WACAQGBIIBQAA"},deckId:{type:Number,required:!1,default:void 0},showButtons:{type:Object,required:!1,default:{deleteDeck:!0,updateDeckPrivacy:!0,editDeckName:!0,gemsCost:!0,openArchetypePage:!0,simulateMulligan:!0,openInDeckBuilder:!0,copyDeckCode:!0,uploadDeckToLor:!0,shareDeck:!0}}},SZ={class:"deck-buttons"},FZ={key:0,class:"owned-deck-buttons buttons"},IZ={class:"normal-buttons buttons"},DZ=s.defineComponent({__name:"DeckButtons",props:r4,emits:["click:share","click:edit-name","click:update-privacy","click:delete"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.computed(()=>kt(r.deckCode));return console.log(i),(o,A)=>(s.openBlock(),s.createElementBlock("div",SZ,[r.showButtons.deleteDeck||r.showButtons.updateDeckPrivacy||r.showButtons.editDeckName?(s.openBlock(),s.createElementBlock("div",FZ,[r.showButtons.deleteDeck?(s.openBlock(),s.createBlock(Ng,{key:0,onClick:A[0]||(A[0]=l=>a("click:delete"))})):s.createCommentVNode("",!0),r.showButtons.updateDeckPrivacy?(s.openBlock(),s.createBlock($g,{key:1,"deck-is-private":r.isPrivate,onClick:A[1]||(A[1]=l=>a("click:update-privacy"))},null,8,["deck-is-private"])):s.createCommentVNode("",!0),r.showButtons.editDeckName?(s.openBlock(),s.createBlock(Rg,{key:2,onClick:A[2]||(A[2]=l=>a("click:edit-name"))})):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),s.createElementVNode("div",IZ,[r.showButtons.gemsCost?(s.openBlock(),s.createBlock(Th,{key:0,class:"gems-cost",deck:i.value},null,8,["deck"])):s.createCommentVNode("",!0),r.showButtons.openArchetypePage?(s.openBlock(),s.createBlock(Hg,{key:1,"router-link":r.archetypeRouterLink},null,8,["router-link"])):s.createCommentVNode("",!0),r.showButtons.simulateMulligan?(s.openBlock(),s.createBlock(bu,{key:2,deck:i.value},null,8,["deck"])):s.createCommentVNode("",!0),r.showButtons.openInDeckBuilder?(s.openBlock(),s.createBlock(Vg,{key:3,"router-link":r.deckBuilderRouterLink},null,8,["router-link"])):s.createCommentVNode("",!0),r.showButtons.copyDeckCode?(s.openBlock(),s.createBlock(yu,{key:4,"deck-code":r.deckCode},null,8,["deck-code"])):s.createCommentVNode("",!0),r.showButtons.uploadDeckToLor?(s.openBlock(),s.createBlock(wu,{key:5,"deck-code":r.deckCode,"deck-name":r.deckName??s.unref(Sf)(r.deckCode)},null,8,["deck-code","deck-name"])):s.createCommentVNode("",!0),r.showButtons.shareDeck?(s.openBlock(),s.createBlock(Wg,{key:6,class:"share-button",onClick:A[3]||(A[3]=l=>a("click:share"))},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(n)("deck.shareDeck")),1)]),_:1})):s.createCommentVNode("",!0)])]))}}),fhe="",xs=Q(DZ,[["__scopeId","data-v-427da7ee"]]),TZ={cards:{type:Array,required:!1},deck:{type:Object,required:!1},deckCode:{type:String,required:!0,default:""},deckName:{type:String,required:!1,default:void 0},isSaving:{type:Boolean,required:!1,default:!1},deckButtonsProps:{type:Object,required:!0,default:{deckCode:"",deckId:void 0,showButtons:void 0,archetypeRouterLink:void 0,deckBuilderRouterLink:"404",deckName:void 0,showUploaded:void 0,isPrivate:void 0}}},UZ={element:{type:Object,required:!0,default:""}};/*!
|
|
700
700
|
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|
@@ -723,4 +723,4 @@ Report: I am spiderbit on left forearm. Sydell claims a misunderstanding, but hi
|
|
|
723
723
|
- Ravenbloom discipline card`,artistName:"Polar Engine",name:"Spell Slinger",cardCode:"06NX013",keywords:["Fearsome"],keywordRefs:["Fearsome"],spellSpeedRef:"",rarityRef:"Common",subtypes:["SPIDER"],subtypeRefs:["SPIDER"],supertype:"",typeRef:"Unit",collectible:!0,set:"Set6",createdAt:"2022-09-09",updatedAt:"2022-09-14"}}},Xie={class:"card-similar-cards"},Jie=s.defineComponent({__name:"CardSimilarCards",props:qie,setup(e){const t=e;function n(a,i,o){if(a.length===10&&o<a[0].points)return;let A=0;for(;A<a.length&&a[A].points<o;)A++;a.splice(A,0,{cardCode:i,points:o}),a.length>10&&a.splice(0,1)}const r=s.computed(()=>{const a=[],i=hn().cardJsonObject;let o=0;for(const A in i){if(A===t.card.cardCode||t.card.collectible&&!i[A].collectible)continue;o=0;const l=i[A];if(!(!l||!l.regionRefs||!t.card.regionRefs)){for(const c of l.regionRefs)for(const d of t.card.regionRefs)c===d&&(o+=2);for(const c of l.subtypes)for(const d of t.card.subtypes)c===d&&(o+=2);for(const c of l.keywordRefs)for(const d of t.card.keywordRefs)c===d&&(o+=1);l.typeRef===t.card.typeRef&&(o+=3),l.rarityRef!=="None"&&l.rarityRef===t.card.rarityRef&&(o+=1),l.typeRef==="Unit"&&t.card.typeRef==="Unit"&&(o+=(9-Math.abs(l.attack-t.card.attack))/3,o+=(9-Math.abs(l.health-t.card.health))/3),o+=(12-Math.abs(l.cost-t.card.cost))/3,n(a,A,o)}}return a.reverse().map(A=>hn().cardJsonObject[A.cardCode])});return(a,i)=>(s.openBlock(),s.createElementBlock("div",Xie,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.value,o=>(s.openBlock(),s.createBlock(s.unref(gf),{key:o.cardCode,"card-prop":o,"is-root":!0,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(o.cardCode)},null,8,["card-prop","router-link"]))),128))]))}}),_he="",sx=Q(Jie,[["__scopeId","data-v-86de45ac"]]),Zie={logoType:{type:String,required:!0,default:"logo-and-text"}},eoe={key:0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 862.33 136.654"},toe={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 926.43 201.096"},noe={key:2,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 201.1 201.12"},roe=s.defineComponent({__name:"LogoIcon",props:Zie,setup(e){const t=e;return(n,r)=>t.logoType==="text-only"?(s.openBlock(),s.createElementBlock("svg",eoe,[...r[0]||(r[0]=[s.createStaticVNode('<path d="M0 2.947h18.418V115.29h77.35v18.416H0Z" data-v-bb0b24b5></path><path d="M205.729 0a68.327 68.327 0 1 1-68.326 68.331A68.3 68.3 0 0 1 205.729 0Zm0 118.236a49.908 49.908 0 1 0-49.909-49.909 49.948 49.948 0 0 0 49.909 49.904Z" data-v-bb0b24b5></path><path d="M396.538 2.947a42.211 42.211 0 0 1 41.991 41.991 41.554 41.554 0 0 1-32.046 40.7l29.1 48.067H414.22l-28.363-46.962h-32.046v46.962h-18.416V68.326h39.413l-39.413-65.38Zm0 65.38a23.481 23.481 0 1 0 0-46.962h-28.73l28.363 46.962Z" data-v-bb0b24b5></path><path d="M495.266 115.291h18.418v18.416h-18.418Z" data-v-bb0b24b5></path><path d="M685.517 60.778v72.928h-18.418v-6.443a68.378 68.378 0 1 1 12.894-107.926l-12.894 13.076a49.909 49.909 0 1 0 0 71.827V79.192h-49.726V60.779Z" data-v-bb0b24b5></path><path d="M862.33 60.778v72.928h-18.417v-6.443a68.379 68.379 0 1 1 12.89-107.926l-12.89 13.076a49.909 49.909 0 1 0 0 71.827V79.192H794.19V60.779Z" data-v-bb0b24b5></path>',6)])])):t.logoType==="logo-and-text"?(s.openBlock(),s.createElementBlock("svg",toe,[...r[1]||(r[1]=[s.createStaticVNode('<path d="M251.125 49.347h14.423v87.978h60.574v14.422h-75Z" data-v-bb0b24b5></path><path d="M412.235 47.039a53.507 53.507 0 1 1-53.508 53.507 53.487 53.487 0 0 1 53.508-53.507Zm0 92.592a39.084 39.084 0 1 0-39.085-39.084 39.115 39.115 0 0 0 39.085 39.084Z" data-v-bb0b24b5></path><path d="M561.66 49.347a33.056 33.056 0 0 1 32.884 32.884 32.542 32.542 0 0 1-25.1 31.873l22.787 37.642h-16.729l-22.212-36.777h-25.1v36.777h-14.422v-51.2h30.865l-30.865-51.2Zm0 51.2a18.388 18.388 0 1 0 0-36.776h-22.5l22.211 36.776Z" data-v-bb0b24b5></path><path d="M638.976 137.325h14.423v14.422h-14.423Z" data-v-bb0b24b5></path><path d="M787.964 94.635v57.111h-14.422V146.7a53.547 53.547 0 1 1 10.1-84.518l-10.1 10.24a39.084 39.084 0 1 0 0 56.248v-19.616h-38.939v-14.42Z" data-v-bb0b24b5></path><path d="M926.429 94.635v57.111h-14.423V146.7A53.548 53.548 0 1 1 922.1 62.182l-10.094 10.24a39.084 39.084 0 1 0 0 56.248v-19.616h-38.939v-14.42Z" data-v-bb0b24b5></path><path d="M100.548 0A100.548 100.548 0 0 1 201.1 100.548a98.177 98.177 0 0 1-3.633 26.46c-.011-.011-17.535 0-17.535 0s5.292-19.211 5.292-26.46a84.672 84.672 0 0 0-169.344 0c0 46.782 39.667 84.672 84.672 84.672s73.348-43.16 73.348-43.16h18.252A100.558 100.558 0 1 1 100.548 0Z" data-v-bb0b24b5></path><path d="M108.72 45.643c19.711 0 36.623 15.51 36.623 34.994 0 16.991-12.308 31.253-28.078 34.994l15.87 25.34h59.707s-4 7.623-11.509 11.243-18.271 3.238-18.271 3.238h-38.473l-24.415-39.821H72.097v39.821h-15.87V99.945h34.182l-34.182-54.3Zm0 54.3c11.2 0 20.753-8.242 20.753-19.307s-9.557-19.307-20.753-19.307H84.304l24.416 38.614Z" data-v-bb0b24b5></path>',8)])])):(s.openBlock(),s.createElementBlock("svg",noe,[...r[2]||(r[2]=[s.createElementVNode("path",{d:"M100.548 0A100.548 100.548 0 0 1 201.1 100.548a98.177 98.177 0 0 1-3.633 26.46c-.011-.011-17.535 0-17.535 0s5.292-19.211 5.292-26.46a84.672 84.672 0 0 0-169.344 0c0 46.782 39.667 84.672 84.672 84.672s73.348-43.16 73.348-43.16h18.252A100.558 100.558 0 1 1 100.548 0Z"},null,-1),s.createElementVNode("path",{d:"M108.72 45.643c19.711 0 36.623 15.51 36.623 34.994 0 16.991-12.308 31.253-28.078 34.994l15.87 25.34h59.707s-4 7.623-11.509 11.243-18.271 3.238-18.271 3.238h-38.473l-24.415-39.821H72.097v39.821h-15.87V99.945h34.182l-34.182-54.3Zm0 54.3c11.2 0 20.753-8.242 20.753-19.307s-9.557-19.307-20.753-19.307H84.304l24.416 38.614Z"},null,-1)])]))}}),Che="",Ns=Q(roe,[["__scopeId","data-v-bb0b24b5"]]),aoe={class:"dashboard-sign-up"},ioe={class:"top"},ooe={class:"subtitle"},soe={class:"fancy-button"},Aoe=s.defineComponent({__name:"DashboardSignUp",setup(e){const{t}=q();return(n,r)=>(s.openBlock(),s.createElementBlock("div",aoe,[s.createElementVNode("div",ioe,[s.createVNode(Ns,{"logo-type":"text-only",class:"logo-icon"}),s.createElementVNode("div",ooe,s.toDisplayString(s.unref(t)("general.becomeTheMaster")),1)]),s.createElementVNode("div",soe,s.toDisplayString(s.unref(t)("general.signIn")),1)]))}}),khe="",Ax=Q(Aoe,[["__scopeId","data-v-a8d77f09"]]),loe={deckCode:{type:String,required:!0,default:""},gameMode:{type:String,required:!0,default:""},gameType:{type:String,required:!0,default:""},isAttackingFirst:{type:Boolean,required:!0,default:!0},isVictory:{type:Boolean,required:!0,default:""},opponentDeckCode:{type:String,required:!0,default:""},opponentName:{type:String,required:!0,default:""},playedAt:{type:Date,required:!0,default:new Date},opponentRouterLink:{type:Object,required:!0,default:""},archetypeRouterLink:{type:Object,required:!0,default:""},deckBuilderRouterLink:{type:Object,required:!0,default:""},opponentArchetypeRouterLink:{type:Object,required:!0,default:""},opponentDeckBuilderRouterLink:{type:Object,required:!0,default:""}},coe={class:"match-item"},doe={class:"details"},uoe={class:"match-details"},foe={class:"game-type"},poe={class:"time"},hoe={class:"main"},moe={class:"container"},goe={class:"container"},yoe=s.defineComponent({__name:"MatchItem",props:loe,setup(e){const{t}=q(),n=s.inject(wr),r=e,a=s.computed(()=>kt(r.deckCode)),i=s.computed(()=>kt(r.opponentDeckCode)),o=s.computed(()=>{const c=Tp().cardJson;return!c||c.length===0?[]:[jr(Zt(a.value),a.value,1)[0],jr(Zt(i.value),i.value,1)[0]].map(d=>ve().callbacks.cardImageCallback(d.cardCode,Bt.Banner))}),A=s.computed(()=>({showButtons:{deleteDeck:!1,updateDeckPrivacy:!1,editDeckName:!1,gemsCost:!0,openArchetypePage:!0,simulateMulligan:!0,openInDeckBuilder:!0,copyDeckCode:!0,uploadDeckToLor:!0,shareDeck:!0},deckCode:r.deckCode,deckBuilderRouterLink:r.deckBuilderRouterLink,archetypeRouterLink:r.archetypeRouterLink})),l=s.computed(()=>({showButtons:{deleteDeck:!1,updateDeckPrivacy:!1,editDeckName:!1,gemsCost:!0,openArchetypePage:!0,simulateMulligan:!0,openInDeckBuilder:!0,copyDeckCode:!0,uploadDeckToLor:!0,shareDeck:!0},deckCode:r.opponentDeckCode,deckBuilderRouterLink:r.opponentDeckBuilderRouterLink,archetypeRouterLink:r.opponentArchetypeRouterLink}));return(c,d)=>{const u=s.resolveComponent("RouterLink");return s.openBlock(),s.createElementBlock("div",coe,[s.createElementVNode("div",{class:"background",style:s.normalizeStyle({"--background-image":`url(${o.value[0]})`})},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.value,f=>(s.openBlock(),s.createElementBlock("div",{key:f,class:"background-card-wrapper",style:s.normalizeStyle({"--background-image":`url(${f})`})},[...d[0]||(d[0]=[s.createElementVNode("div",{class:"background-card"},null,-1)])],4))),128))],4),s.createElementVNode("div",doe,[s.createElementVNode("div",uoe,[s.createElementVNode("div",foe,s.toDisplayString(r.gameType)+" - "+s.toDisplayString(r.gameMode),1),s.createElementVNode("div",poe,s.toDisplayString(s.unref(n)(r.playedAt).fromNow()),1)]),s.createVNode(u,{to:r.opponentRouterLink,class:"opponent-details"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(r.opponentName),1)]),_:1},8,["to"])]),s.createElementVNode("div",hoe,[s.createElementVNode("div",moe,[s.createVNode(Ia,{class:"deck-highlight",deck:a.value,"deck-code":r.deckCode,"deck-buttons-props":A.value},null,8,["deck","deck-code","deck-buttons-props"])]),s.createElementVNode("div",{class:"container results",style:s.normalizeStyle({color:r.isVictory?"var(--color-good)":"var(--color-bad)"})},s.toDisplayString(r.isVictory?s.unref(t)("general.victory"):s.unref(t)("general.defeat")),5),s.createElementVNode("div",goe,[s.createVNode(Ia,{class:"deck-highlight opponent",deck:i.value,"deck-code":r.opponentDeckCode,"deck-buttons-props":l.value},null,8,["deck","deck-code","deck-buttons-props"])])])])}}}),xhe="",lx=Q(yoe,[["__scopeId","data-v-2b3ae97b"]]),boe={players:{type:Array,required:!0,default:[]}},woe={class:"leaderboard-top-10-region"},Boe=s.defineComponent({__name:"LeaderboardTop10Region",props:boe,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",woe,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.players,a=>(s.openBlock(),s.createBlock(vt,{key:`${a.name}${a.rank}`,"card-code-prop":a.selected_banner_card??void 0,color:a.selected_banner_color??"var(--color-background-2-rgb)","mana-number":a.rank,name:a.name,"quantity-number":a.lp,"ignore-card-item":!0,"router-link":s.unref(ve)().callbacks.playerRouterLinkCallback(a)},null,8,["card-code-prop","color","mana-number","name","quantity-number","router-link"]))),128))]))}}),Ehe="",j1=Q(Boe,[["__scopeId","data-v-41d779ee"]]),voe={routerLink:{type:Object,required:!0,default:{path:"/404"}},index:{type:Number,required:!0,default:0},change:{type:Number,required:!0,default:null},favorite_deck:{type:String,required:!0,default:null},lp:{type:Number,required:!0,default:0},matches:{type:Number,required:!0,default:null},name:{type:String,required:!0,default:""},rank:{type:Number,required:!0,default:0},selected_banner_card:{type:String,required:!1,default:null},selected_banner_color:{type:String,required:!1,default:null},server:{type:String,required:!0,default:"americas"},updated_at:{type:String,required:!0,default:""},user_id:{type:Number,required:!0,default:null},wins:{type:Number,required:!0,default:null},shownColumns:{type:Object,required:!0,default:{player:!0,lp:!0,change:!0,wins:!0,matches:!0,winrate:!0,deck:!0}}},_oe={class:"leaderboard-detail-row-background-wrapper"},Coe={class:"leaderboard-detail-row-background"},koe={class:"leaderboard-detail-row wrapper"},xoe={key:1,class:"column-content"},Eoe={key:3,class:"column-content"},Soe={key:4,class:"column-content"},Foe={key:6,class:"column-content deck-highlight-wrapper"},Ioe={key:1},Doe=s.defineComponent({__name:"LeaderboardDetailRow",props:voe,setup(e){const t=e,n=s.computed(()=>t.selected_banner_card?["",ve().callbacks.cardImageCallback(t.selected_banner_card,Bt.Banner)]:[]),r=s.computed(()=>t.change===null||t.change===void 0?[]:t.change===0?["neutral"]:[t.change>0?"good":"bad"]);return(a,i)=>{const o=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(o,{to:t.routerLink,class:"wrapper"},{default:s.withCtx(()=>[s.createElementVNode("div",{class:"leaderboard-detail-row-wrapper wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",_oe,[s.createElementVNode("div",Coe,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.value,A=>(s.openBlock(),s.createElementBlock("div",{key:A,class:"background-card",style:s.normalizeStyle({"--background-image":`url(${A})`})},null,4))),128))])]),s.createElementVNode("div",koe,[t.shownColumns.player?(s.openBlock(),s.createElementBlock("div",{key:0,class:"column-content card-wrapper",onClick:i[0]||(i[0]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createVNode(vt,{class:"card-slice-item","card-code-prop":t.selected_banner_card??void 0,color:t.selected_banner_color??"var(--color-background-2-rgb)","ignore-card-item":!0,"mana-number":t.rank,name:t.name,"maintain-aspect-ratio":!1,"router-link":t.routerLink},null,8,["card-code-prop","color","mana-number","name","router-link"])])):s.createCommentVNode("",!0),t.shownColumns.lp?(s.openBlock(),s.createElementBlock("div",xoe,s.toDisplayString(s.unref(De)(t.lp,0,10)),1)):s.createCommentVNode("",!0),t.shownColumns.change?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(["column-content change",r.value])},[t.change!==null?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createVNode(s.unref(ke),{class:"icon",icon:"fa-chevron-down"}),s.createElementVNode("span",null,s.toDisplayString(t.change?s.unref(De)(Math.abs(t.change),0,10):""),1)],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[],64))],2)):s.createCommentVNode("",!0),t.shownColumns.wins?(s.openBlock(),s.createElementBlock("div",Eoe,s.toDisplayString(s.unref(De)(t.wins)),1)):s.createCommentVNode("",!0),t.shownColumns.matches?(s.openBlock(),s.createElementBlock("div",Soe,s.toDisplayString(s.unref(De)(t.matches)),1)):s.createCommentVNode("",!0),t.shownColumns.winrate?(s.openBlock(),s.createElementBlock("div",{key:5,class:"column-content",style:s.normalizeStyle({color:t.wins===null||t.matches===null?"var(--color-primary-2)":`var(${s.unref(zn)(t.wins/t.matches)})`})},s.toDisplayString(t.matches===null||t.wins===null?"-":s.unref(De)(t.wins/t.matches*100,1,3)+"%"),5)):s.createCommentVNode("",!0),t.shownColumns.deck?(s.openBlock(),s.createElementBlock("div",Foe,[t.favorite_deck?(s.openBlock(),s.createBlock(Ia,{key:0,"deck-code":t.favorite_deck},null,8,["deck-code"])):(s.openBlock(),s.createElementBlock("span",Ioe,"-"))])):s.createCommentVNode("",!0)])],4)]),_:1},8,["to"])}}}),She="",Y1=Q(Doe,[["__scopeId","data-v-2ce9c554"]]),Toe={routerLink:{type:Object,required:!0,default:{path:"/404"}},playerRouterLink:{type:Object,required:!1,default:{path:"/404"}},deckCode:{type:String,required:!0,default:""},type:{type:String,required:!0,default:"built"},wins:{type:Number,required:!1,default:0},matches:{type:Number,required:!1,default:0},deckId:{type:Number,required:!1,default:0},userName:{type:String,required:!1,default:""},userId:{type:Number,required:!1,default:0},deckName:{type:String,required:!1,default:""},updatedAt:{type:Date,required:!1,default:new Date},archetypeRouterLink:{type:Object,required:!1,default:void 0},deckBuilderRouterLink:{type:Object,required:!0,default:"404"},showOwnerButtons:{type:Boolean,required:!1,default:!1},isPrivate:{type:Boolean,required:!1,default:!1}},Fhe="",Uoe={},Loe={xmlns:"http://www.w3.org/2000/svg",viewBox:"25.21 66.56 353.98 269.42"};function Ooe(e,t){return s.openBlock(),s.createElementBlock("svg",Loe,[...t[0]||(t[0]=[s.createElementVNode("path",{"fill-rule":"evenodd",d:"M95 67.249c-9.442 3.237-27.165 14.29-35.055 21.862-11.985 11.504-13.495 17.449-8.521 33.553 2.884 9.338 3.125 12.31 1.653 20.336-.565 3.08-1.282 7.497-1.593 9.816-.654 4.859-1.507 6.968-3.167 7.827-3.347 1.731-6.07-.959-12.46-12.308-3.227-5.732-5.32-5.733-7.478-.002-2.901 7.705-4.229 34.074-2.178 43.267 2.612 11.708 12.146 22.248 23.887 26.408 8.91 3.158 11.435 5.049 14.233 10.662 8.79 17.627 7.541 23.49-4.121 19.348-1.98-.704-5.67-2.014-8.2-2.912-14.356-5.094-16.5 2.124-5.514 18.561 11.421 17.088 27.745 24.899 44.255 21.178 8.934-2.013 10.069-1.524 24.2 10.428 6.649 5.624 4.594 9.455-6.606 12.316-12.406 3.169-15.535 4.779-15.535 7.993 0 5.469 18.596 14.356 38.74 18.513l8.26 1.705 9.6-.008c15.176-.013 24.599-3.381 27.766-9.923 3.23-6.671-3.138-11.752-20.405-16.279-12.779-3.351-30.021-11.869-38.294-18.917-1.247-1.063-3.897-3.157-5.888-4.655-4.364-3.282-4.942-3.837-11.668-11.218-11.085-12.163-22.048-27.835-28.466-40.688-3.51-7.033-9.477-26.526-11.236-36.712-.456-2.64-1.19-6.571-1.631-8.736-2.292-11.243-2.558-44.967-.409-51.864 1.238-3.974 3.331-7.113 8.743-13.113 5.167-5.728 14.42-17.676 17.042-22.003C102.408 72.867 105.053 63.804 95 67.249m208.422.186c-3.908 3.908 15.994 38.934 31.232 54.965 10.996 11.569 10.723 10.583 10.696 38.6-.019 19.623-.295 24.066-1.963 31.6-.536 2.42-1.261 5.93-1.612 7.8-2.746 14.637-10.641 36.205-16.189 44.223-.904 1.308-3.281 4.807-5.282 7.777-10.021 14.873-21.298 27.434-32.304 35.985-8.729 6.78-14.267 10.233-24.2 15.088-5.783 2.826-8.281 3.691-18.309 6.339-18.029 4.761-23.977 11.711-16.463 19.235 10.208 10.222 41.826 8.98 67.937-2.669 18.937-8.448 18.603-13.956-1.126-18.585-11.879-2.787-13.761-6.768-6.284-13.29 10.684-9.318 15.331-11.406 22.045-9.904 19.751 4.416 38.64-5.948 49.204-26.999 7.093-14.133 2.492-17.531-14.547-10.743-14.009 5.581-15.808 2.355-8.334-14.948 3.515-8.137 5.055-9.639 13.261-12.938 12.256-4.926 18.075-9.526 22.289-17.62 5.112-9.82 6.884-21.96 4.955-33.951-.425-2.64-.978-6.6-1.229-8.8-1.713-15.016-5.073-17.902-10.183-8.747-8.477 15.19-14.387 14.824-15.445-.955-.217-3.244-.773-7.942-1.234-10.441-1.032-5.581-.845-7.054 2.093-16.489 4.123-13.244 3.044-19.481-4.99-28.827-11.239-13.075-39.907-29.817-44.018-25.706M154.939 85.232c-3.352.569-6.053 1.748-19.923 8.695-19.225 9.629-19.157 9.528-16.851 24.998.866 5.807 1.256 10.746 2.045 25.875.132 2.53.594 6.94 1.026 9.8.433 2.86 1.057 8.516 1.389 12.568.904 11.063 1.161 11.837 5.636 16.979 4.078 4.685 5.623 6.898 6.554 9.385 3.192 8.532 2.461 17.086-2.219 25.952-4.076 7.723-4.323 11.769-1.59 26.116.523 2.75 1.15 7.416 1.392 10.369.858 10.47 1.649 11.962 8.002 15.115 3.337 1.656 44.33 18.375 56 22.839 5.951 2.277 6.046 2.253 32.8-8.361 37.31-14.801 37.429-14.853 39.694-17.327 1.98-2.162 3.87-11.183 4.91-23.435.346-4.07.906-9.11 1.245-11.2.888-5.479.613-6.76-3.053-14.2-6.949-14.101-6.029-23.115 3.597-35.251 5.448-6.868 6.466-11.089 7.811-32.387.335-5.301.967-11.781 1.404-14.4.437-2.619.971-7.732 1.186-11.362.214-3.63.597-9.435.85-12.9.575-7.874.303-9.161-2.449-11.613-2.137-1.902-25.779-13.911-30.595-15.54L251 85l-47-.059c-25.85-.032-47.928.099-49.061.291m58.368 27.111c31.052 5.446 39.083 34.191 18.288 65.457-6.499 9.772-6.864 11.713-3.691 19.6.885 2.2 4.129 10.93 7.209 19.4 6.148 16.906 11.122 29.697 12.978 33.378C252.452 258.825 249.46 261 233.2 261c-15.701 0-17.591-1.169-15.554-9.621 1.257-5.212-1.044-13.36-9.338-33.066-3.593-8.535-8.291-9.515-11.759-2.453l-1.149 2.34v27.6l1.543 4.506c3.059 8.927 1.215 10.438-13.143 10.775-17.559.412-20.099-1.187-16.9-10.64l1.3-3.841V131l-1.322-3.6c-4.295-11.694-3.493-14.57 4.276-15.338 4.722-.467 39.199-.237 42.153.281m-15.188 22.413c-2.764 1.746-2.719 1.382-2.719 21.844 0 17.841.025 18.442.822 19.799 1.436 2.445 3.249 2.141 6.676-1.119 11.294-10.747 15.557-31.235 7.868-37.817-3.234-2.768-10.192-4.257-12.647-2.707"},null,-1)])])}const q1=Q(Uoe,[["render",Ooe],["__scopeId","data-v-5b8e191d"]]),Ihe="",Qoe={},Moe={xmlns:"http://www.w3.org/2000/svg",viewBox:"58.93 70.36 282.28 264.88"};function Poe(e,t){return s.openBlock(),s.createElementBlock("svg",Moe,[...t[0]||(t[0]=[s.createElementVNode("path",{"fill-rule":"evenodd",d:"M74.274 70.98C70.143 72.453 70 73.187 70 92.989c0 21.375-.191 20.705 7.953 27.937 2.556 2.269 6.54 5.914 8.854 8.1 2.315 2.186 5.915 5.497 8 7.359 2.086 1.861 5.953 5.468 8.593 8.015 2.64 2.547 6.42 5.963 8.4 7.591 1.98 1.628 5.94 5.133 8.8 7.788 2.86 2.654 7 6.432 9.2 8.395 2.2 1.962 5.98 5.503 8.4 7.868s6.59 6.158 9.268 8.429c4.882 4.142 12.716 11.282 23.838 21.729 3.28 3.08 7.792 7.123 10.028 8.985 2.236 1.861 5.776 5.021 7.866 7.021s5.69 5.329 8 7.396c2.31 2.068 6.81 6.22 10 9.226 3.19 3.007 7.69 7.081 10 9.053 21.285 18.171 21.513 18.953 9.193 31.537-11.486 11.732-11.469 11.443-1.589 26.173 10.712 15.973 10.896 15.947 20.619-2.991 11.834-23.052 13.416-25.365 25.434-37.203 11.725-11.549 16.26-14.348 43.754-26.997 11.527-5.303 11.173-7.25-3.018-16.595-15.492-10.2-15.171-10.208-26.226.594-13.433 13.125-12.533 13.445-37.919-13.489-3.986-4.229-12.558-13.143-19.048-19.807-6.49-6.665-13.69-14.274-16-16.909-2.31-2.635-9.78-10.466-16.6-17.402-6.82-6.936-15.279-15.667-18.799-19.402-3.519-3.734-11.46-11.95-17.645-18.256-6.186-6.306-13.297-13.768-15.802-16.581-20.002-22.467-26.5-28.126-33.898-29.522-4.553-.859-33.002-.901-35.382-.051m216.926.059c-7.757 1.18-15.308 7.452-32.457 26.961-2.998 3.41-10.947 11.813-17.664 18.674-18.498 18.89-18.283 16.816-3.329 32.126 5.05 5.17 11.341 11.83 13.981 14.8 10.629 11.958 10.819 11.943 25.898-2.122 3.206-2.991 7.616-6.926 9.8-8.745 2.184-1.819 6.041-5.312 8.571-7.763 4.366-4.231 7.244-6.886 21.639-19.97 13.379-12.161 12.447-9.635 12.278-33.282-.166-23.132 1.735-21.089-19.717-21.188-11.529-.052-16.118.07-19 .509M100.353 214.552c-2.773.991-20.47 12.72-22.081 14.635-1.619 1.924-1.444 3.394.643 5.394 1.846 1.768 16.397 9.364 26.085 13.616 11.889 5.218 13.609 6.491 26.829 19.866 11.076 11.206 10.481 10.327 20.611 30.449 11.967 23.77 11.22 23.54 22.788 7.024 10.227-14.603 10.258-13.976-1.248-25.724-10.551-10.773-10.909-12.12-5.142-19.314 4.67-5.824 3.236-8.817-9.202-19.218-2.55-2.132-6.976-6.088-9.836-8.791-8.553-8.083-10.094-8.421-16.842-3.693-6.031 4.224-8.258 3.44-18.406-6.477-8.442-8.25-10.183-9.202-14.199-7.767m-3.956 64.232c-2.342.689-4.018 2.019-10.527 8.355-3.778 3.678-8.94 8.499-11.47 10.715-7.557 6.617-12.117 11.625-13.871 15.235-4.825 9.931 1.8 21.016 12.924 21.628 6.239.343 9.298-1.455 19.527-11.475 3.971-3.89 9.903-9.585 13.182-12.657 13.369-12.524 13.444-13.102 3.039-23.437-7.544-7.493-10.098-9.161-12.804-8.364m203.369.571c-2.737 1.275-13.946 12.139-15.534 15.057-2.288 4.204-1.446 5.641 9.351 15.954 4.28 4.089 10.49 10.054 13.8 13.257 13.601 13.162 21.004 14.833 29.242 6.6 8.552-8.547 5.312-18.062-11.025-32.369-2.53-2.215-7.718-7.063-11.529-10.773-8.942-8.704-10.453-9.52-14.305-7.726"},null,-1)])])}const X1=Q(Qoe,[["render",Poe],["__scopeId","data-v-5b6f3d5e"]]),Dhe="",Noe={},Roe={xmlns:"http://www.w3.org/2000/svg",viewBox:"5.25 32.41 384.35 392.23"};function Hoe(e,t){return s.openBlock(),s.createElementBlock("svg",Roe,[...t[0]||(t[0]=[s.createElementVNode("path",{"fill-rule":"evenodd",d:"M196.56 32.706c-.242.162-.643.68-.891 1.151-.464.882-6.181 23.37-7.663 30.143-2.029 9.277-13.207 54.007-16.187 64.776-2.401 8.677-2.227 10.411 1.102 11.036 2.465.462 8.894-4.762 13.798-11.212 1.004-1.32 2.566-3.21 3.473-4.2.906-.99 2.417-2.935 3.358-4.322 2.851-4.205 4.112-4.166 7.292.224.916 1.264 2.6 3.288 3.743 4.498 1.142 1.21 3.257 3.64 4.698 5.401 6.387 7.801 10.008 10.411 12.645 9.115 2.896-1.422 3.516 2.259-6.28-37.316-2.423-9.79-4.945-20.05-5.603-22.8-8.63-36.06-11.562-46.819-12.753-46.794-.161.003-.49.138-.732.3m-77.835 9.868c-4.03 2.43-9.532 6.24-14.703 10.181-9.024 6.878-10.169 7.804-13.417 10.853-1.763 1.654-4.015 3.621-5.005 4.371-.99.75-3.702 3.177-6.026 5.393-2.324 2.215-5.474 5.198-7 6.628-3.458 3.241-9.993 10.614-12.232 13.8-.928 1.32-2.79 3.75-4.139 5.4-1.349 1.65-3.548 4.53-4.888 6.4-1.34 1.87-2.926 3.85-3.524 4.4-.599.55-2.45 2.8-4.113 5-1.663 2.2-3.953 5.08-5.087 6.4-1.134 1.32-3.261 4.11-4.725 6.2-1.464 2.09-3.443 4.88-4.399 6.2-8.17 11.289-23.812 36.82-24.163 39.441-.282 2.099.484 2.895 3.842 3.991 24.399 7.967 28.64 32.858 8.613 50.547-4.2 3.71-4.802 4.749-4.005 6.917 1.139 3.094 4.592 10.511 5.944 12.767.771 1.285 2.411 4.317 3.645 6.737s3.462 6.311 4.95 8.646c1.489 2.336 3.697 5.821 4.907 7.746 7.683 12.222 15.624 23.335 21.97 30.748 1.666 1.947 4.165 4.917 5.552 6.6 3.393 4.116 18.291 19.067 22.278 22.357 1.76 1.452 4.28 3.669 5.6 4.926 3.052 2.907 14.983 11.823 22.898 17.112 3.353 2.241 7.313 5.202 8.8 6.581 1.486 1.378 4.005 3.554 5.597 4.836 1.592 1.282 3.752 3.43 4.8 4.774 1.048 1.344 3.54 4.161 5.538 6.259 5.088 5.343 11.547 13.615 14.195 18.181 5.189 8.946 7.369 7.129 5.539-4.618-.458-2.942-.98-6.518-1.161-7.948-.906-7.167-3.701-21.63-4.87-25.2-4.277-13.062-8.002-19.195-11.662-19.199-2.363-.002-5.716-2.286-11.474-7.815-1.65-1.585-4.08-3.663-5.4-4.619-3.099-2.244-19.447-18.69-23.229-23.367-1.601-1.98-4.093-4.95-5.536-6.6-7.749-8.854-11.713-14.165-20.9-28-2.557-3.85-5.634-8.44-6.837-10.2-5.081-7.431-6.634-10.061-11.099-18.794-2.586-5.056-5.616-10.546-6.735-12.2-2.255-3.333-6.408-12.086-7.014-14.781-.886-3.942 4.505-17.812 11.748-30.225 1.155-1.98 3.322-5.76 4.815-8.4 3.088-5.461 12.353-19.487 14.344-21.717.729-.816 2.922-3.643 4.874-6.283 4.239-5.731 12.608-16.065 16.623-20.525 2.06-2.289 2.639-4.032 4.337-13.06 1.059-5.628 4.403-17.624 6.027-21.615.626-1.54 2.075-5.23 3.219-8.2 1.145-2.97 2.752-6.75 3.572-8.4.82-1.65 2.428-5.16 3.571-7.8 1.144-2.64 2.587-5.61 3.206-6.6.619-.99 2.405-4.315 3.97-7.388 4.164-8.182 3.716-10.062-1.631-6.838m152.701-1.017c-.394.638.802 3.336 6.061 13.68 7.714 15.171 14.334 30.793 16.444 38.805.428 1.627 1.251 4.578 1.828 6.558.577 1.98 1.741 6.957 2.586 11.061 1.741 8.459 1.616 8.201 7.055 14.569 3.573 4.183 5.806 6.933 12.8 15.763 17.7 22.344 38.646 60.307 37.177 67.379-.676 3.251-8.705 20.112-15.157 31.828-5.617 10.199-23.977 36.675-29.818 43-.813.88-2.297 2.68-3.298 4-1.001 1.32-2.399 2.94-3.107 3.6-.707.66-2.331 2.55-3.608 4.2-2.713 3.505-27.938 28.771-31.236 31.286-1.235.943-3.395 2.69-4.8 3.883-3.642 3.095-5.699 4.303-7.862 4.618-2.822.411-3.4.977-5.808 5.693-5.426 10.628-7.737 19.106-9.9 36.32-.194 1.54-.629 4.211-.968 5.935-.693 3.535-.813 9.292-.225 10.839.813 2.137 2.274 1.116 6.546-4.574 1.239-1.65 3.164-4.08 4.277-5.4 1.114-1.32 3.412-4.11 5.106-6.2 7.458-9.199 18.47-19.652 26.23-24.899 20.895-14.128 42.028-32.329 55.15-47.501 1.998-2.31 4.673-5.28 5.945-6.6 3.106-3.225 9.323-11.242 16.556-21.349 10.726-14.987 23-38.069 23-43.251 0-1.421-.265-1.773-3.657-4.866-13.765-12.547-17.154-26-10.012-39.734 2.918-5.61 7.799-9.456 15.469-12.187 3.788-1.349 5.4-2.597 5.4-4.181 0-2.486-15.591-29.304-21.703-37.33-.964-1.266-2.992-4.102-4.507-6.302-3.233-4.697-12.836-17.271-16.037-21-1.228-1.43-5.14-5.903-8.693-9.939-3.553-4.037-7.9-9.063-9.66-11.17-6.962-8.333-21.833-22.69-29.55-28.528-2.007-1.519-6.922-5.237-10.921-8.262-11.116-8.41-16.153-11.28-17.103-9.744M179.2 51.341c-.55.296-3.07 1.762-5.6 3.259-2.53 1.498-7.39 4.339-10.8 6.313-3.41 1.975-7.46 4.406-9 5.403-1.54.997-6.847 4.239-11.794 7.206-15.808 9.481-31.025 19.992-33.345 23.033-1.987 2.605-3.944 11.726-2.958 13.789 1.055 2.209 2.118 1.698 11.097-5.333 19.356-15.157 31.76-23.788 34.211-23.805 1.433-.01 2.574 1.182 4.172 4.361 3.175 6.314 4.208 6.746 8.866 3.708 1.623-1.058 4.259-2.7 5.857-3.649 4.495-2.667 4.798-3.169 6.895-11.426.447-1.76 1.8-7.035 3.006-11.723 2.901-11.276 2.809-12.968-.607-11.136m34.667.526c-1.284 1.284 5.221 27.239 7.638 30.478.938 1.256 7.903 6.113 11.489 8.011 3.101 1.642 4.066 1.08 6.79-3.956 3.49-6.451 3.98-6.45 13.616.006 7.527 5.044 20.023 14.489 26.751 20.221 9.473 8.07 11.523 7.245 8.835-3.555-1.659-6.668-2.042-7.168-10.078-13.136-6.485-4.816-28.683-18.844-36.308-22.944-1.98-1.065-5.329-2.973-7.442-4.24-2.113-1.267-5.623-3.289-7.8-4.492-2.177-1.203-5.758-3.194-7.958-4.424-3.846-2.15-4.957-2.545-5.533-1.969m-66.528 42.131c-.473.191-2.293 1.395-4.044 2.675-1.75 1.28-5.216 3.767-7.702 5.527-15.252 10.8-20.061 14.74-30.518 25-7.651 7.506-10.953 11.189-16.78 18.709-1.488 1.92-3.502 4.491-4.476 5.713-1.563 1.962-6.305 8.602-12.875 18.026-8.992 12.898-21.491 35.511-21.525 38.94-.019 2.036 3.141 9.239 6.762 15.412.709 1.21 2.606 4.63 4.214 7.6 11.397 21.048 20.971 33.763 39.005 51.803 19.754 19.761 24.958 24.424 43.868 39.309 9.849 7.752 9.183 9.072 9.042-17.927-.125-24.038.191-22.035-3.762-23.789-1.495-.662-4.107-2.852-9.61-8.053-4.156-3.929-9.331-8.762-11.501-10.742-4.157-3.792-11.026-11.294-14.652-16.001-1.186-1.54-2.888-3.63-3.782-4.644-.894-1.015-2.767-3.535-4.162-5.6-1.86-2.755-3.274-4.326-5.305-5.893-5.021-3.876-15.634-18.493-17.185-23.669-1.028-3.43 6.996-14.13 20.767-27.694 7.562-7.448 8.393-7.601 12.523-2.294.939 1.207 3.069 3.647 4.733 5.422 1.664 1.775 3.892 4.25 4.951 5.5 2.585 3.051 3.779 3.1 7.712.317 4.055-2.87 16.785-15.892 17.142-17.536.331-1.521.569-.625-3.411-12.797-4.73-14.467-6.033-11.772 12.572-26.006 4.48-3.426 4.785-3.849 4.555-6.302-.189-2.012-4.81-13.623-7.882-19.804-.82-1.65-2.009-4.335-2.641-5.966-1.772-4.57-3.648-6.198-6.033-5.236m96.668.395c-.807.807-2.36 3.975-4.415 9.007-.629 1.54-2.336 5.5-3.793 8.8-6.848 15.511-6.888 14.52.812 19.977 8.955 6.347 14.589 11.497 14.589 13.337-.001.946-3.853 12.713-6.344 19.376-1.908 5.104-1.758 5.362 9.369 16.04 11.414 10.953 11.327 10.936 17.454 3.294 1.565-1.952 8.193-9.257 9.696-10.687 2.159-2.052 4.75-.516 12.425 7.366 14.713 15.111 20.166 22.564 19.029 26.01-.732 2.216-7.044 12.21-9.14 14.469-1.679 1.811-4.565 5.349-11.089 13.6-8.574 10.841-41.872 43.429-47.041 46.036-3.976 2.006-3.759.609-3.759 24.2 0 22.706-.039 22.382 2.721 22.382 1.569 0 2.82-.883 13.163-9.293 1.696-1.379 4.396-3.568 6-4.864 1.604-1.297 4.176-3.562 5.716-5.034 1.54-1.471 3.97-3.592 5.4-4.712 1.43-1.121 3.86-3.33 5.4-4.911 1.54-1.58 3.7-3.585 4.8-4.454 3.3-2.61 18.909-17.902 21.546-21.109 1.35-1.642 3.464-4.074 4.698-5.404 2.215-2.389 3.163-3.563 8.898-11.019 7.577-9.85 14.393-21.081 21.886-36.056 5.889-11.771 5.957-12.57 1.607-18.893-.659-.959-2.706-4.332-4.548-7.497-7.471-12.836-15.422-25.234-21.131-32.954-13.902-18.797-15.65-20.983-22.616-28.278-7.44-7.792-13.149-13.243-18.142-17.322-7.348-6.003-18.73-14.447-28.138-20.874-2.216-1.514-3.895-1.691-5.053-.533m-48.324 38.234c-.492.345-1.784 1.944-2.871 3.555-2.76 4.091-6.753 8.511-10.568 11.697-1.784 1.491-9.814 9.219-17.844 17.174-8.03 7.954-15.767 15.427-17.193 16.605-1.426 1.178-6.663 6.102-11.637 10.942-4.975 4.84-14.224 13.736-20.555 19.769-12.119 11.549-13.028 12.587-12.985 14.831.042 2.222.386 2.728 5.306 7.8 2.561 2.64 6.154 6.375 7.986 8.3 5.068 5.328 4.972 5.368 18.52-7.778 5.647-5.48 6.33-5.384 13.358 1.876 1.43 1.478 6.38 6.205 11 10.506s14.823 14.086 22.674 21.744c17.648 17.215 15.94 16.543 23.171 9.12 2.555-2.623 5.293-5.283 6.085-5.912 1.798-1.43 21.471-20.066 26.871-25.456 7.915-7.901 16.576-15.779 17.64-16.046 1.759-.441 3.27.704 10.693 8.098 8.234 8.203 9.025 8.556 11.835 5.279.787-.919 2.988-3.304 4.891-5.3 11.519-12.086 11.901-13.498 5.206-19.285-1.686-1.458-10.356-9.712-19.266-18.343-8.91-8.631-17.28-16.642-18.6-17.803-1.32-1.16-5.756-5.46-9.857-9.555-13.461-13.439-19.294-19.065-22.743-21.936-4.84-4.029-11.755-11.258-15.099-15.785-3.522-4.767-4.303-5.299-6.018-4.097m2.802 27.673c.335.385 1.442 2.328 2.46 4.318 1.977 3.863 6.153 8.307 16.146 17.182 2.23 1.98 5.461 5.196 7.181 7.146 1.721 1.951 4.658 4.92 6.528 6.597 13.563 12.168 15.184 14.028 14.195 16.285-.513 1.169-10.056 10.824-15.845 16.029-1.677 1.509-8.247 7.714-14.6 13.789-15.23 14.565-15.45 14.754-17.166 14.754-1.572 0-2.598-.881-16.275-13.988-4.24-4.063-12.901-12.339-19.247-18.392-11.302-10.781-12.662-12.29-12.662-14.049 0-.61 3.353-4.137 11.3-11.884 6.215-6.059 13.19-12.935 15.5-15.281 2.31-2.346 5.763-5.566 7.674-7.157 5.063-4.214 8.072-7.596 9.55-10.734 2.323-4.934 3.832-6.258 5.261-4.615m-2.368 9.95c-.265.113-1.38 1.408-2.476 2.878-1.977 2.648-14.1 14.843-18.559 18.667-1.275 1.094-5.46 5.272-9.3 9.285-7.641 7.986-7.921 8.488-6.192 11.11 1.133 1.72 37.333 37.449 37.81 37.319 1.004-.273 37.7-37.781 37.942-38.781.143-.59.087-1.526-.124-2.08-.428-1.128-12.115-13.671-14.262-15.309-.758-.578-6.175-6.02-12.038-12.095-10.112-10.476-11.405-11.586-12.801-10.994m2.203 16.313c1.773.925 21.6 21.18 21.9 22.373.147.585.144 1.553-.006 2.15-.348 1.389-22.144 23.394-23.007 23.23-.334-.064-5.602-5.183-11.707-11.376-14.563-14.772-14.98-10.815 3.09-29.282 7.377-7.538 8.003-7.995 9.73-7.095m-16.023 95.832c-1.603 1.261-15.227 23.557-15.633 25.583-.163.818.3 3.34 1.382 7.526.895 3.463 2.229 8.906 2.966 12.096 1.606 6.958 7.686 30.805 12.085 47.4 1.75 6.6 3.462 13.17 3.805 14.6 2.478 10.341 6.74 26.114 7.411 27.429.446.875 1.034 2.724 1.307 4.11.889 4.517 2.575 4.686 3.753.378.379-1.385 1.284-4.407 2.012-6.717.727-2.31 1.728-6 2.222-8.2.495-2.2 1.149-4.99 1.455-6.2 2.792-11.062 9.84-38.585 11.933-46.6 1.437-5.5 3.071-11.98 3.632-14.4.56-2.42 1.807-7.37 2.77-11 2.989-11.267 4.603-18.241 4.603-19.885 0-2.163-.932-3.846-9.589-17.315-1.485-2.31-3.156-5.01-3.714-6-2.806-4.983-5.381-4.588-10.137 1.555-2.771 3.579-3.209 4.54-3.962 8.681-2.699 14.846-3.756 15.117-6.183 1.582-1.658-9.245-8.484-17.481-12.118-14.623"},null,-1)])])}const J1=Q(Noe,[["render",Hoe],["__scopeId","data-v-81223df9"]]),Voe={class:"content"},zoe={class:"format"},$oe={class:"format-text"},Koe={key:0,class:"details built"},Woe={class:"title"},Goe={class:"extra-info"},joe={class:"info-time"},Yoe={key:1,class:"details stats"},qoe={class:"stat-column"},Xoe={class:"descriptor"},Joe={class:"stat-column"},Zoe={class:"number"},ese={class:"descriptor"},tse=s.defineComponent({__name:"DeckBlock",props:Toe,emits:["click:share","click:edit-name","click:update-privacy","click:delete"],setup(e,{emit:t}){const{t:n}=q(),r=s.inject(wr),a=e,i=t,o=s.ref(!1),A=s.computed(()=>kt(a.deckCode)),l=s.computed(()=>Zt(A.value)),c=s.computed(()=>Hs(l.value)),d=s.computed(()=>l.value.filter(m=>Uo(m))),u=s.computed(()=>{var b;const m=(b=jr(l.value,A.value,1)[0])==null?void 0:b.cardCode;return{"--background-image":`url(${ve().callbacks.cardImageCallback(m??"",Bt.Full)})`}}),f=s.computed(()=>BE(l.value)),p=s.computed(()=>f.value.map(m=>Be().dataJson.cardFormats.find(b=>b.nameRef===m)).filter(m=>m!==void 0).sort((m,b)=>m.order-b.order)[0]),h=s.computed(()=>({showButtons:{deleteDeck:a.type==="built"?a.showOwnerButtons:!1,updateDeckPrivacy:a.type==="built"?a.showOwnerButtons:!1,editDeckName:a.type==="built"?a.showOwnerButtons:!1,gemsCost:!1,openArchetypePage:a.type!=="built",simulateMulligan:!0,openInDeckBuilder:!0,copyDeckCode:!0,uploadDeckToLor:!0,shareDeck:!1},deckCode:a.deckCode,deckBuilderRouterLink:a.deckBuilderRouterLink,archetypeRouterLink:a.type==="built"?void 0:a.archetypeRouterLink,deckId:a.type==="built"?a.deckId:void 0,deckName:a.type==="built"?a.deckName:void 0,isPrivate:a.type==="built"?a.isPrivate:void 0}));return(m,b)=>{const g=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(g,{to:a.routerLink},{default:s.withCtx(()=>{var B,w,y;return[s.createElementVNode("div",{class:s.normalizeClass(["built-deck-preview",o.value?"show":"hide"]),style:s.normalizeStyle(u.value)},[b[8]||(b[8]=s.createElementVNode("div",{class:"background"},null,-1)),s.createVNode(mf,{class:"deck-highlight-eye icon","deck-code":a.deckCode,onClick:b[0]||(b[0]=s.withModifiers(()=>{},["stop","prevent"])),"deck-buttons-props":{...h.value,showButtons:{...h.value.showButtons,gemsCost:!0,shareDeck:!0}}},null,8,["deck-code","deck-buttons-props"]),s.createElementVNode("div",{class:"options-button icon",onClick:b[1]||(b[1]=s.withModifiers(_=>o.value=!o.value,["stop","prevent"]))},[s.createVNode(s.unref(ke),{icon:"ellipsis-v"})]),s.createVNode(xs,s.mergeProps({class:"deck-buttons",onClick:b[2]||(b[2]=s.withModifiers(()=>{},["stop","prevent"])),"onClick:delete":b[3]||(b[3]=_=>i("click:delete")),"onClick:editName":b[4]||(b[4]=_=>i("click:edit-name")),"onClick:share":b[5]||(b[5]=_=>i("click:share")),"onClick:updatePrivacy":b[6]||(b[6]=_=>i("click:update-privacy"))},h.value),null,16),s.createVNode(_A,{class:"deck-highlight-regions deck-highlight-section",regions:c.value},null,8,["regions"]),s.createElementVNode("div",Voe,[s.createElementVNode("div",zoe,[((B=p.value)==null?void 0:B.nameRef)===s.unref(ir).Eternal?(s.openBlock(),s.createBlock(q1,{key:0,class:"format-icon"})):((w=p.value)==null?void 0:w.nameRef)===s.unref(ir).Standard?(s.openBlock(),s.createBlock(X1,{key:1,class:"format-icon"})):(s.openBlock(),s.createBlock(J1,{key:2,class:"format-icon"})),s.createElementVNode("span",$oe,s.toDisplayString((y=p.value)==null?void 0:y.name),1)]),s.createVNode(kA,{class:"deck-highlight-cards deck-highlight-section",cards:d.value},null,8,["cards"])]),a.type==="built"?(s.openBlock(),s.createElementBlock("div",Koe,[s.createElementVNode("div",Woe,s.toDisplayString(a.deckName),1),s.createElementVNode("div",Goe,[s.createElementVNode("div",{class:"info-user",onClick:b[7]||(b[7]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createVNode(g,{to:a.playerRouterLink},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(a.userName),1)]),_:1},8,["to"])]),s.createElementVNode("div",joe,s.toDisplayString(s.unref(r)(a.updatedAt).fromNow()),1)])])):s.createCommentVNode("",!0),a.type==="stats"?(s.openBlock(),s.createElementBlock("div",Yoe,[s.createElementVNode("div",qoe,[s.createElementVNode("div",{class:"number",style:s.normalizeStyle({color:`var(${s.unref(zn)(a.wins/a.matches)})`})},s.toDisplayString(s.unref(De)(a.wins/a.matches*100,1,3))+"% ",5),s.createElementVNode("div",Xoe,s.toDisplayString(s.unref(n)("general.winrate")),1)]),s.createElementVNode("div",Joe,[s.createElementVNode("div",Zoe,s.toDisplayString(s.unref(De)(a.matches,0,10)),1),s.createElementVNode("div",ese,s.toDisplayString(s.unref(n)("general.matches")),1)])])):s.createCommentVNode("",!0)],6)]}),_:1},8,["to"])}}}),The="",cx=Q(tse,[["__scopeId","data-v-5e85fdba"]]),nse={headingItems:{type:Array,required:!0,default:[]}},rse={class:"table-wrapper"},ase={class:"table no-scrollbar"},ise={class:"heading wrapper"},ose=s.defineComponent({__name:"SmallTable",props:nse,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",rse,[s.createElementVNode("div",ase,[s.createElementVNode("div",ise,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.headingItems,a=>(s.openBlock(),s.createElementBlock("div",{key:a.title,class:"heading-cell column-content"},[s.createElementVNode("div",null,s.toDisplayString(a.title),1)]))),128)),s.renderSlot(n.$slots,"heading",{},void 0,!0)]),s.renderSlot(n.$slots,"default",{},void 0,!0)])]))}}),Uhe="",Co=Q(ose,[["__scopeId","data-v-20cc8387"]]),sse={players:{type:Array,required:!0,default:[]}},Ase={class:"leaderboard-top"},lse={class:"heading-wrapper"},cse=s.defineComponent({__name:"LeaderboardTop",props:sse,setup(e){const t=e,n=s.computed(()=>Be().dataJson.servers.map(r=>t.players.filter(a=>a.server===r.nameRef).sort((a,i)=>a.rank-i.rank).slice(0,10)));return(r,a)=>(s.openBlock(),s.createElementBlock("div",Ase,[a[0]||(a[0]=s.createElementVNode("div",{class:"heading-background"},null,-1)),s.createElementVNode("div",lse,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Be)().dataJson.servers,i=>(s.openBlock(),s.createElementBlock("div",{key:i.nameRef,class:"heading"},s.toDisplayString(i.name),1))),128))]),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.value,(i,o)=>(s.openBlock(),s.createElementBlock("div",{key:o,class:"top-10"},[s.createVNode(j1,{players:i},null,8,["players"])]))),128))]))}}),Lhe="",dx=Q(cse,[["__scopeId","data-v-48a25357"]]),dse={flipped:{type:Boolean,required:!0,default:!0},cardCode:{type:String,required:!0,default:"01IO001"}},use={class:"card-item-3d"},fse=s.defineComponent({__name:"CardItem3d",props:dse,setup(e){const t=e,n=s.computed(()=>{const o=Si(void 0,t.cardCode,!1).value??Si(void 0,"05BC160",!1).value;if(o===void 0||!o.regionRefs||o.regionRefs.length===0)return{};let A=o.regionRefs[0]??"Runeterra";return To(A)&&(A="Runeterra"),{content:`url(${ve().callbacks.cardbackCallback(A)})`}}),r=s.computed(()=>{var A;const o=((A=Si(void 0,t.cardCode,!1).value)==null?void 0:A.cardCode)??"05BC160";return{"background-image":`url("${ve().callbacks.cardImageCallback(o,Bt.Card)}")`,"background-size":"cover"}}),a=s.computed(()=>t.flipped?["flipped"]:[]);return(i,o)=>(s.openBlock(),s.createElementBlock("div",use,[s.createElementVNode("div",{class:s.normalizeClass(["card",a.value])},[s.createElementVNode("div",{class:"front face",style:s.normalizeStyle(n.value)},null,4),s.createElementVNode("div",{class:"back face",style:s.normalizeStyle(r.value)},null,4)],2)]))}}),Ohe="",Z1=Q(fse,[["__scopeId","data-v-6f14fbf6"]]),pse={cardFlips:{type:Array,required:!0,default:[]},chosenCardCode:{type:String,required:!0,default:null},opensAvailable:{type:Number,required:!0,default:0}},hse={class:"card-lottery"},mse={class:"cards"},gse={key:0,class:"bottom"},yse={class:"slice"},bse={class:"circle-slice-item-wrapper"},wse={class:"options"},Bse={class:"icon"},vse={class:"circle-card-item-wrapper"},_se=s.defineComponent({__name:"CardLottery",props:pse,emits:["update:cardFlips","update:chosenCardCode","click:setBanner","click:setIcon","click:openAnother"],setup(e,{emit:t}){const n=e,r=t;function a(i){r("update:chosenCardCode",i.cardCode),i.flipped=!0;for(const o of n.cardFlips)i!==o&&setTimeout(()=>{o.display=!1},1e3)}return(i,o)=>{var l,c,d;const A=s.resolveDirective("t");return s.openBlock(),s.createElementBlock("div",hse,[s.createElementVNode("div",mse,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.cardFlips,u=>(s.openBlock(),s.createElementBlock("div",{key:`${u.cardCode}`,class:s.normalizeClass(["card-item-3d-wrapper",u.display?null:"hide"])},[s.createVNode(Z1,{flipped:u.flipped,"card-code":u.cardCode,onClick:f=>a(u)},null,8,["flipped","card-code","onClick"])],2))),128))]),i.chosenCardCode?(s.openBlock(),s.createElementBlock("div",gse,[s.createElementVNode("div",yse,[s.createElementVNode("div",bse,[s.createVNode(vt,{name:(l=s.unref(Jt)().user)==null?void 0:l.name,"mana-number":1,"card-code-prop":i.chosenCardCode,"ignore-card-item":!0,color:((c=s.unref(Jt)().user)==null?void 0:c.selectedBannerColor)??"var(--color-background-2-rgb)","router-link":""},null,8,["name","card-code-prop","color"])])]),s.createElementVNode("div",wse,[s.withDirectives(s.createElementVNode("button",{onClick:o[0]||(o[0]=u=>r("click:setBanner")),class:"fancy-button"},null,512),[[A,"cardLottery.setBanner"]]),s.withDirectives(s.createElementVNode("button",{onClick:o[1]||(o[1]=u=>r("click:setIcon")),class:"fancy-button"},null,512),[[A,"cardLottery.setIcon"]]),s.createElementVNode("button",{class:"fancy-button",onClick:o[2]||(o[2]=u=>r("click:openAnother"))},[s.withDirectives(s.createElementVNode("span",null,null,512),[[A,"cardLottery.openAnother"]]),s.createElementVNode("span",null," ("+s.toDisplayString(n.opensAvailable)+") ",1)])]),s.createElementVNode("div",Bse,[s.createElementVNode("div",vse,[s.createVNode(oa,{"color-override":((d=s.unref(Jt)().user)==null?void 0:d.selectedBannerColor)??"var(--color-primary-2)","card-code-prop":i.chosenCardCode,"ignore-card-item":!0,"router-link":""},null,8,["color-override","card-code-prop"])])])])):s.createCommentVNode("",!0)])}}}),Qhe="",ux=Q(_se,[["__scopeId","data-v-53ddcbb6"]]),Cse={bannerCardCode:{type:String,required:!0,default:""},bannerColor:{type:String,required:!0,default:""},iconCardCode:{type:String,required:!0,default:""},name:{type:String,required:!0,default:""},server:{type:String,required:!0,default:""},matches:{type:Number,required:!0,default:1},wins:{type:Number,required:!0,default:1},premiumExpiration:{type:Date,required:!1,default:null},isPremiumRenewing:{type:Boolean,required:!0,default:!1},routerLink:{type:Object,required:!0,default:""},premiumLink:{type:Object,required:!0,default:""}},kse={wins:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:2},cutout:{type:Number,required:!1,default:145}},e0=s.defineComponent({__name:"WinrateDoughnutChart",props:kse,setup(e){const t=s.ref(null);ze.register(...Mr);const n=e,r=s.computed(()=>({labels:["Wins","Losses"],datasets:[{data:[n.wins,n.matches-n.wins],backgroundColor:["#00adff","#ff5153"]}]})),a={cutout:n.cutout,elements:{arc:{borderWidth:0}},plugins:{legend:{display:!1},datalabels:{display:!1}}},i=[{id:"text",beforeDraw:function(o){const A=o.chartArea.width,l=o.chartArea.height,c=o.ctx;c.restore();const d=(l/100).toFixed(2);c.font=`bold ${d}em sans-serif`,c.textBaseline="middle";const u=o.data.datasets[0].data[0],f=o.data.datasets[0].data[1],p=(u/(u+f)*100).toFixed(2)+"%",h=Math.round((A-c.measureText(p).width)/2),m=l/2;u>f?c.fillStyle="#00adff":u<f?c.fillStyle="#ff5153":c.fillStyle="#ffffff",c.fillText(p,h,m),c.save()}}];return(o,A)=>(s.openBlock(),s.createBlock(s.unref(Qd),{ref_key:"chart",ref:t,"chart-data":r.value,options:a,plugins:i},null,8,["chart-data"]))}}),xse={class:"dashboard-profile"},Ese={class:"profile-banner"},Sse=["src"],Fse={class:"edit-banner"},Ise={class:"profile-text"},Dse={class:"profile-region"},Tse={class:"profile-tiles"},Use={class:"profile-tile"},Lse={class:"tile-content"},Ose={class:"games-text"},Qse={class:"tile-text"},Mse={class:"profile-tile"},Pse={class:"chart-container"},Nse={class:"tile-content"},Rse={class:"tile-text"},Hse={key:0,class:"profile-premium-expiration"},Vse={class:"profile-premium-expiration-time"},zse=s.defineComponent({__name:"DashboardProfile",props:Cse,setup(e){const{t}=q(),n=s.inject(wr),r=e;return(a,i)=>{const o=s.resolveComponent("RouterLink");return s.openBlock(),s.createElementBlock("div",xse,[s.createElementVNode("div",Ese,[s.createElementVNode("img",{alt:"Profile Banner",src:s.unref(ve)().callbacks.cardImageCallback(r.bannerCardCode??"05BC160",s.unref(Bt).Banner),class:"profile-banner-img"},null,8,Sse),s.createVNode(oa,{"card-code-prop":r.iconCardCode??"05BC160","ignore-card-item":!0,"color-override":r.bannerColor,"router-link":r.routerLink},null,8,["card-code-prop","color-override","router-link"]),s.createElementVNode("div",Fse,[s.createVNode(s.unref(ke),{icon:"pencil-alt"})])]),s.createElementVNode("div",Ise,[s.createVNode(o,{to:r.routerLink,class:"profile-name"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(r.name),1)]),_:1},8,["to"]),s.createElementVNode("div",Dse,s.toDisplayString(r.server),1)]),s.createElementVNode("div",Tse,[s.createElementVNode("div",Use,[s.createElementVNode("div",Lse,[s.createElementVNode("div",Ose,s.toDisplayString(s.unref(De)(r.matches,0,10)),1)]),s.createElementVNode("div",Qse,s.toDisplayString(s.unref(t)("general.gamesPlayed")),1)]),s.createElementVNode("div",Mse,[s.createElementVNode("div",Pse,[s.createElementVNode("div",Nse,[s.createVNode(e0,{matches:r.matches,wins:r.wins,cutout:30},null,8,["matches","wins"])])]),s.createElementVNode("div",Rse,s.toDisplayString(s.unref(t)("general.winrate")),1)])]),r.premiumExpiration?(s.openBlock(),s.createElementBlock("div",Hse,[s.createTextVNode(s.toDisplayString(s.unref(t)("general.premium"))+" "+s.toDisplayString(r.isPremiumRenewing?s.unref(t)("general.renews"):s.unref(t)("general.expires"))+" ",1),s.createElementVNode("b",Vse,s.toDisplayString(s.unref(n)(r.premiumExpiration).fromNow()),1)])):(s.openBlock(),s.createBlock(o,{key:1,to:r.premiumLink,class:"profile-premium fancy-button"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(t)("general.getPremium")),1)]),_:1},8,["to"]))])}}}),Mhe="",fx=Q(zse,[["__scopeId","data-v-592eac82"]]),$se={data:{type:Array,required:!0,default:[]},type:{type:String,required:!0,default:"totalPlayers"},server:{type:String,required:!1}};function Kse(e,t){const{t:n}=q();ze.register(yo),e.plugins||(e.plugins={}),e.plugins.annotation||(e.plugins.annotation={}),e.plugins.annotation.annotations=[];let r=new Date("1972-01-01"),a=new Date("3000-12-01");for(const o of t)o>r&&(r=o),o<a&&(a=o);const i=[];for(const o of Object.values(Be().dataJson.patches))new Date(o.startTime)<=r&&new Date(o.startTime)>=a&&i.push(o);for(const o of i)e.plugins.annotation.annotations.push({type:"line",xMin:o.startTime,xMax:o.startTime,borderColor:"rgba(255, 255, 255, 0.1)",borderDash:[10,5],borderWidth:1,label:{content:`${n("general.patch")} ${o.name}`,display:!0,position:"start",font:{weight:"normal"},backgroundColor:"rgba(0,0,0,0.2)"}})}const px=s.defineComponent({__name:"LeaderboardChart",props:$se,setup(e){const t=s.ref();ze.register(...Mr),ze.register(yo);const n=e,r=s.computed(()=>n.data.slice().sort((o,A)=>+o.date-+A.date)),a=s.computed(()=>{let o;return n.type==="totalPlayers"?o=Be().dataJson.servers.filter(A=>n.server===null?!0:A.nameRef===n.server).map(A=>({label:A.name,borderColor:F0(A.nameRef),data:r.value.filter(l=>l.server===A.nameRef).map(l=>l.players),pointBackgroundColor:"rgba(255, 255, 255, 0.25)"})):o=r.value.reduce((A,l)=>A.includes(l.name)?A:[...A,l.name],[]).map(A=>({label:A,borderColor:F0(A),data:r.value.filter(l=>l.name===A).map(l=>n.type==="lp"?l.lp:l.rank),pointBackgroundColor:"rgba(255, 255, 255, 0.25)"})),{labels:r.value.map(A=>A.date).filter((A,l,c)=>c.findIndex(d=>d.getTime()===A.getTime())===l),datasets:o}}),i={plugins:{legend:{display:!0},tooltip:{mode:"nearest",position:"nearest",axis:"x",intersect:!1},annotation:{annotations:[]},datalabels:{display:!1}},elements:{line:{tension:.25}},scales:{x:{type:"time",time:{unit:"day",displayFormats:{day:"MMM D"},tooltipFormat:"MMM D"}}}};return Kse(i,n.data.map(o=>o.date)),(o,A)=>(s.openBlock(),s.createBlock(s.unref(dC),{ref_key:"chart",ref:t,"chart-data":a.value,options:i},null,8,["chart-data"]))}}),Wse={data:{type:Array,required:!0,default:[]},type:{type:Object,required:!0,default:"winrate"},baseline:{type:Number,required:!1,default:50}},hx=s.defineComponent({__name:"CardQuantityBarChart",props:Wse,setup(e){const{t}=q(),n=s.ref();ze.register(...Mr),ze.register(yo),ze.register(lu);const r=e,a=s.computed(()=>({labels:r.data.map(o=>o.quantity),datasets:[{backgroundColor:r.data.map(o=>o.wins*2>=o.matches?"rgba(0, 173, 255, 0.5)":"rgba(255, 81, 83, 0.5)"),borderWidth:0,borderRadius:9999,data:r.data.map(o=>r.type==="winrate"?o.wins/o.matches*100-r.baseline:o.matches)}]})),i={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:!0,mode:"index",intersect:!1,callbacks:{title(o){return`${t("general.quantity")}: ${o[0].label}`},label(o){return r.type==="winrate"?(o.dataset.data[o.dataIndex]+r.baseline).toFixed(2)+"%":o.dataset.data[o.dataIndex].toString()},footer(o){return[`${t("general.matches")}: ${r.data[o[0].dataIndex].matches}`,`${t("general.wins")}: ${r.data[o[0].dataIndex].wins}`]}}},datalabels:{display:!1}},scales:{y:{title:{display:!0,text:r.type==="winrate"?t("general.winrate"):t("general.matches")},ticks:{callback(o){return r.type==="winrate"?o+r.baseline+"%":o}}},x:{title:{display:!0,text:t("general.quantity")}}}};return(o,A)=>(s.openBlock(),s.createBlock(s.unref(Od),{ref_key:"chart",ref:n,"chart-data":a.value,options:i},null,8,["chart-data"]))}}),Gse={data:{type:Array,required:!0,default:""}},mx=s.defineComponent({__name:"WinsLossesBarChart",props:Gse,setup(e){const{t}=q(),n=s.ref();ze.register(...Mr),ze.register(yo),ze.register(lu);const r=e,a=s.computed(()=>r.data.length===0?!1:typeof r.data[0].column!="string"),i=s.computed(()=>a.value?r.data.slice().sort((d,u)=>d.column.getTime()-u.column.getTime()):r.data),o=s.computed(()=>[...new Set(i.value.map(d=>d.column))]),A=s.computed(()=>({losses:i.value.map(d=>d.matches-d.wins),wins:i.value.map(d=>d.wins)})),l=s.computed(()=>({labels:o.value,datasets:Object.entries(A.value).map((d,u)=>({backgroundColor:d[0]==="wins"?`rgba(${Oa("--color-good-rgb")}, 0.5)`:`rgba(${Oa("--color-bad-rgb")}, 0.5)`,data:d[1],borderRadius:u===0?{topLeft:0,topRight:0,bottomLeft:10,bottomRight:10}:{topLeft:10,topRight:10,bottomLeft:0,bottomRight:0},borderSkipped:!1,label:t(`general.${d[0]}`),barPercentage:.5}))})),c={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:!0,mode:"index",intersect:!1,callbacks:{footer(d){if(d.length===0)return"";let u=0;const f=d[0].chart.data.datasets[1].data[d[0].dataIndex];for(let p=0;p<d[0].chart.data.datasets.length;p++)u+=d[0].chart.data.datasets[p].data[d[0].dataIndex];return`${t("general.total")}: ${u}
|
|
724
724
|
${t("general.winrate")}: ${De(f/u*100,1,3)}%`}}},datalabels:{align:"end",anchor:"end",formatter(d,u){const f=i.value[u.dataIndex];return De(f.wins/f.matches*100,2)+"%"},display(d){return d.datasetIndex===d.chart.data.datasets.length-1}}},scales:{x:{type:a.value?"time":"category",time:{unit:"day",displayFormats:{day:"MMM D"},tooltipFormat:"MMM D"},stacked:!0,grid:{display:!1}},y:{stacked:!0,grid:{display:!1},display:!0}}};return(d,u)=>(s.openBlock(),s.createBlock(s.unref(Od),{ref_key:"chart",ref:n,"chart-data":l.value,options:c},null,8,["chart-data"]))}}),jse={data:{type:Array,required:!0,default:[]},type:{type:String,required:!0,default:"winrate"},baseline:{type:Number,required:!1,default:50}},gx=s.defineComponent({__name:"RoundCardInfoBarChart",props:jse,setup(e){const{t}=q(),n=s.ref();ze.register(...Mr),ze.register(yo),ze.register(lu);const r=e,a=s.computed(()=>Object.values(mE(r.data,A=>A.copy))),i=s.computed(()=>({labels:Array.from(r.data.reduce((A,l)=>A.add(l.round),new Set)),datasets:a.value.map(A=>{var l;return{backgroundColor:A.map(c=>c.wins*2>=c.matches?"rgba(0, 173, 255, 0.5)":"rgba(255, 81, 83, 0.5)"),borderWidth:0,borderRadius:9999,data:A.map(c=>c.wins/c.matches*100-r.baseline),label:`${t("general.copy")} ${(l=A[0])==null?void 0:l.copy}`}})})),o={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!0},tooltip:{enabled:!0,mode:"index",intersect:!1,callbacks:{title(A){return`${t("general.round")}: ${A[0].label}`},label(A){return(A.dataset.data[A.dataIndex]+r.baseline).toFixed(2)+"%"},footer(A){const l=[];for(const c of a.value)c[A[0].dataIndex]!==void 0&&l.push(`${t("general.copy")} ${c[A[0].dataIndex].copy}`,`${t("general.matches")}: ${c[A[0].dataIndex].matches}`,`${t("general.wins")}: ${c[A[0].dataIndex].wins}`);return l}}},datalabels:{display:!1}},scales:{y:{title:{display:!0,text:t("general.winrate")},ticks:{callback(A){return A+r.baseline+"%"}}},x:{title:{display:!0,text:r.type==="drawn"?t("cards.roundDrawn"):t("cards.roundPlayed")}}}};return(A,l)=>(s.openBlock(),s.createBlock(s.unref(Od),{ref_key:"chart",ref:n,"chart-data":i.value,options:o},null,8,["chart-data"]))}}),Yse={data:{type:Array,required:!0,default:[]},baseline:{type:Number,required:!1,default:50},type:{type:String,required:!0,default:"winrate"},yAxis:{type:String,required:!0,default:"date"}},yx=s.defineComponent({__name:"LineChart",props:Yse,setup(e){const{t}=q(),n=s.ref();ze.register(...Mr),ze.register(yo);const r=e,a=s.computed(()=>({labels:r.data.map(A=>A.label),datasets:[{borderColor:"rgba(255, 255, 255, 0.1)",data:r.data.map(A=>A.totalMatches&&r.type==="playrate"?A.matches/(A.totalMatches??1)*100:A.winrate*100),pointBackgroundColor:"rgba(255, 255, 255, 0.25)"},{pointBackgroundColor:"rgba(255, 255, 255, 0)",data:r.data.map(()=>r.baseline),borderColor:"rgba(0, 0, 0, 0.05)"}]})),i=s.computed(()=>({plugins:{legend:{display:!1},tooltip:{mode:"nearest",position:"nearest",axis:"x",intersect:!1,filter:function(A){return A.datasetIndex===0},callbacks:{label(A){let l=A.dataset.label||"";return l&&(l+=": "),l+=A.parsed.y+"%",l},footer:A=>{let l="";return A[0].dataIndex!==null&&r.data[A[0].dataIndex].matches&&(l+=`${t("general.matches")}: ${r.data[A[0].dataIndex].matches}`),l}}},annotation:{annotations:[]},datalabels:{display:!1}},elements:{line:{tension:.25}},scales:{x:r.yAxis==="date"?{type:"time",time:{unit:"day",displayFormats:{day:"MMM D"},tooltipFormat:"MMM D"}}:void 0}})),o=[{id:"chartGradient",beforeDraw:function(A){if(!A.scales.y)return;const l=A.ctx.createLinearGradient(0,0,0,A.height);if(l.addColorStop(0,"rgba(0, 173, 255, 0.25)"),r.type==="playrate"){l.addColorStop(1,"rgba(0, 173, 255, 0)"),A.config.data.datasets[0].fill={target:1,above:l},A.update();return}const c=A.scales.y,d=Math.max.apply(null,A.data.datasets[0].data),u=c.getPixelForValue(d),f=c.getPixelForValue(50),p=Math.min(Math.min.apply(null,A.data.datasets[0].data),50),h=c.getPixelForValue(p),m=Math.max(Math.min((f-u)/(h-u),1),0);l.addColorStop(Math.max(m-.08,0),"rgba(0, 173, 255, 0)");const b=A.ctx.createLinearGradient(0,0,0,A.height);b.addColorStop(m,"rgba(255, 81, 83, 0)"),b.addColorStop(1,"rgba(255, 81, 83, 0.25)"),A.config.data.datasets[0].fill={target:1,above:l,below:b},A.update()}}];return(A,l)=>(s.openBlock(),s.createBlock(s.unref(dC),{ref_key:"chart",ref:n,"chart-data":a.value,options:i.value,plugins:o},null,8,["chart-data","options"]))}}),qse={deckRows:{type:Array,required:!0,default:[]},loading:{type:Boolean,required:!1,default:!1}},Xse=s.defineComponent({__name:"BuiltDecksTable",props:qse,emits:["sort-updated"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref([{id:"deck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.deck")},{id:"name",isShown:!0,sortDirection:_e.NEITHER,title:n("general.name")},{id:"updatedAt",isShown:!0,sortDirection:_e.DOWN,title:n("general.updated")},{id:"createdAt",isShown:!0,sortDirection:_e.NEITHER,title:n("general.created")},{id:"manaCurve",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.manaCurve")},{id:"cost",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.cost")}]);function o(A){const l=Gi(A,i);l&&a("sort-updated",l)}return(A,l)=>(s.openBlock(),s.createBlock(ia,{class:"large-table",loading:r.loading,"heading-items":i.value,onToggleSort:o},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.deckRows,(c,d)=>(s.openBlock(),s.createBlock(Gl,{id:c.id,key:c.id,type:"built","deck-code":c.deckCode,name:c.name,"created-at":c.createdAt,"updated-at":c.updatedAt,index:d+2},null,8,["id","deck-code","name","created-at","updated-at","index"]))),128))]),_:1},8,["loading","heading-items"]))}}),Phe="",bx=Q(Xse,[["__scopeId","data-v-3cbac27b"]]),Jse={regionNameRef:{type:String,required:!0,default:"01IO001"},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},Zse={class:"wrapper"},eAe={class:"champion-column column-content"},tAe={class:"matches-column column-content"},nAe=s.defineComponent({__name:"ProfileRegionRow",props:Jse,setup(e){const t=e,n=s.computed(()=>Be().dataJson.regions.find(a=>a.nameRef===t.regionNameRef)),r=s.computed(()=>{var a;return ve().callbacks.cardImageCallback(((a=n.value)==null?void 0:a.cardCode)??"",Bt.Banner)});return(a,i)=>{var o;return s.openBlock(),s.createElementBlock("div",{class:"profile-champion-row wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",{class:"small-table-background",style:s.normalizeStyle({"--background-image":`url(${r.value})`})},null,4),s.createElementVNode("div",Zse,[s.createElementVNode("div",eAe,[s.createVNode(vA,{"region-ref":t.regionNameRef},null,8,["region-ref"]),s.createElementVNode("span",null,s.toDisplayString((o=n.value)==null?void 0:o.name),1)]),s.createElementVNode("div",tAe,s.toDisplayString(s.unref(De)(t.matches,0,10)),1),s.createElementVNode("div",{class:"winrate-column column-content",style:s.normalizeStyle({color:`var(${s.unref(zn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(De)(t.wins/t.matches*100,1,3))+"% ",5)])],4)}}}),Nhe="",t0=Q(nAe,[["__scopeId","data-v-b0ce9955"]]),rAe={rows:{type:Array,required:!0,default:[]}},aAe=s.defineComponent({__name:"ProfileRegionTable",props:rAe,setup(e){const{t}=q(),n=e,r=[{title:t("general.regions"),id:"regions"},{title:t("general.matches"),id:"matches"},{title:t("general.winrate"),id:"winrate"}];return(a,i)=>(s.openBlock(),s.createBlock(Co,{class:"small-table","heading-items":r},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.rows,o=>(s.openBlock(),s.createBlock(t0,{key:o.regionNameRef,"region-name-ref":o.regionNameRef,matches:o.matches,wins:o.wins,index:o.index+2},null,8,["region-name-ref","matches","wins","index"]))),128))]),_:1}))}}),Rhe="",wx=Q(aAe,[["__scopeId","data-v-2dae645c"]]),iAe={rows:{type:Array,required:!0,default:[]}},oAe={archetypeId:{type:Number,required:!0,default:0},deckCode:{type:String,required:!0,default:""},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},sAe={class:"wrapper"},AAe={class:"champion-column column-content"},lAe={class:"matches-column column-content"},cAe=s.defineComponent({__name:"ProfileArchetypeRow",props:oAe,setup(e){const t=e,n=s.computed(()=>kt(t.deckCode)),r=s.computed(()=>Zt(n.value)),a=s.computed(()=>{var o;const i=(o=jr(r.value,n.value,1)[0])==null?void 0:o.cardCode;return ve().callbacks.cardImageCallback(i??"",Bt.Banner)});return(i,o)=>(s.openBlock(),s.createElementBlock("div",{class:"profile-champion-row wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",{class:"small-table-background",style:s.normalizeStyle({"--background-image":`url(${a.value})`})},null,4),s.createElementVNode("div",sAe,[s.createElementVNode("div",AAe,[s.createVNode(Ia,{"deck-code":t.deckCode},null,8,["deck-code"])]),s.createElementVNode("div",lAe,s.toDisplayString(s.unref(De)(t.matches,0,10)),1),s.createElementVNode("div",{class:"winrate-column column-content",style:s.normalizeStyle({color:`var(${s.unref(zn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(De)(t.wins/t.matches*100,1,3))+"% ",5)])],4))}}),Hhe="",n0=Q(cAe,[["__scopeId","data-v-d5c99255"]]),dAe=s.defineComponent({__name:"ProfileArchetypeTable",props:iAe,setup(e){const{t}=q(),n=e,r=[{title:t("general.archetypes"),id:"archetypes"},{title:t("general.matches"),id:"matches"},{title:t("general.winrate"),id:"winrate"}];return(a,i)=>(s.openBlock(),s.createBlock(Co,{class:"small-table","heading-items":r},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.rows,o=>(s.openBlock(),s.createBlock(n0,{key:o.archetypeId,"archetype-id":o.archetypeId,"deck-code":o.deckCode,matches:o.matches,wins:o.wins,index:o.index+2},null,8,["archetype-id","deck-code","matches","wins","index"]))),128))]),_:1}))}}),Vhe="",Bx=Q(dAe,[["__scopeId","data-v-f883a9d9"]]),uAe={selectedRegion:{type:String,required:!0,default:null},selectedPlayers:{type:Array,required:!0,default:[]},selectedGraphOption:{type:String,required:!0,default:"totalPlayers"},players:{type:Array,required:!0,default:[]},updatedAt:{type:Number,required:!0,default:0},isGraphShown:{type:Boolean,required:!0,default:!1}},fAe={class:"leaderboard-options"},pAe={class:"multiselects"},hAe={class:"details"},mAe={class:"players"},gAe={class:"updated"},yAe=s.defineComponent({__name:"LeaderboardOptions",props:uAe,emits:["update:selectedPlayers","update:selectedRegion","update:selectedGraphOption"],setup(e,{emit:t}){const{t:n}=q(),r=s.inject(wr),a=e,i=t,o=[{name:n("leaderboard.lp"),nameRef:"lp"},{name:n("leaderboard.rank"),nameRef:"rank"},{name:n("leaderboard.totalPlayers"),nameRef:"totalPlayers"}],A=s.ref(a.selectedRegion),l=s.ref(a.selectedPlayers),c=s.ref(a.selectedGraphOption),d=s.computed(()=>A.value===null?a.players:a.players.filter(u=>u.server===A.value));return s.watch(A,u=>{i("update:selectedRegion",u),i("update:selectedPlayers",[])}),s.watch(l,u=>{i("update:selectedPlayers",u)}),s.watch(c,u=>{i("update:selectedGraphOption",u)}),s.watch(()=>a.selectedPlayers,u=>{l.value=u}),s.watch(()=>a.selectedRegion,u=>{A.value=u}),s.watch(()=>a.selectedGraphOption,u=>{c.value=u}),s.watch(()=>a.isGraphShown,u=>{u&&l.value.length>0&&(c.value="lp")}),(u,f)=>(s.openBlock(),s.createElementBlock("div",fAe,[s.createElementVNode("div",pAe,[s.createVNode(s.unref(Yt),{modelValue:l.value,"onUpdate:modelValue":f[0]||(f[0]=p=>l.value=p),placeholder:s.unref(n)("general.players"),mode:A.value?"tags":"disabled",options:d.value,searchable:!0,label:"name","value-prop":"name"},null,8,["modelValue","placeholder","mode","options"]),s.createVNode(s.unref(Yt),{modelValue:A.value,"onUpdate:modelValue":f[1]||(f[1]=p=>A.value=p),placeholder:s.unref(n)("general.server"),options:s.unref(Be)().dataJson.servers,label:"name","value-prop":"nameRef"},null,8,["modelValue","placeholder","options"]),a.isGraphShown?(s.openBlock(),s.createBlock(s.unref(Yt),{key:0,modelValue:c.value,"onUpdate:modelValue":f[2]||(f[2]=p=>c.value=p),options:o,"can-clear":!1,label:"name","value-prop":"nameRef"},null,8,["modelValue"])):s.createCommentVNode("",!0)]),s.createElementVNode("div",hAe,[s.createElementVNode("div",mAe,[s.createTextVNode(s.toDisplayString(s.unref(n)("leaderboard.totalPlayers"))+": ",1),s.createElementVNode("span",null,s.toDisplayString(s.unref(De)(d.value.length)),1)]),s.createElementVNode("div",gAe,[s.createTextVNode(s.toDisplayString(s.unref(n)("leaderboard.updated"))+": ",1),s.createElementVNode("span",null,s.toDisplayString(s.unref(r)(a.updatedAt*60*1e3).fromNow()),1)])])]))}}),zhe="",vx=Q(yAe,[["__scopeId","data-v-0689a8b2"]]),bAe={deckRows:{type:Array,required:!0,default:[]},originalDeckcode:{type:String,required:!0,default:""},loading:{type:Boolean,required:!1,default:!1}},wAe=s.defineComponent({__name:"SimilarDecksTable",props:bAe,emits:["sort-updated"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref([{id:"deck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.deck")},{id:"matches",isShown:!0,sortDirection:_e.DOWN,title:n("general.matches")},{id:"winrate",isShown:!0,sortDirection:_e.NEITHER,title:n("general.winrate")},{id:"cost",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.cost")},{id:"differences",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.deckDifferences")}]);function o(A){const l=Gi(A,i);l&&a("sort-updated",l)}return(A,l)=>(s.openBlock(),s.createBlock(ia,{class:"large-table",loading:r.loading,"heading-items":i.value,onToggleSort:o},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.deckRows,(c,d)=>(s.openBlock(),s.createBlock(Gl,s.mergeProps({key:c.deckCode},{ref_for:!0},c,{type:"similar",index:d+2,"compared-deck-code":r.originalDeckcode}),null,16,["index","compared-deck-code"]))),128))]),_:1},8,["loading","heading-items"]))}}),$he="",_x=Q(wAe,[["__scopeId","data-v-65e706f5"]]),BAe={heading:{type:String,required:!1,default:""}},vAe={class:"top"},_Ae={class:"heading"},CAe={class:"chart"},kAe=s.defineComponent({__name:"StatisticsPaneContainer",props:BAe,setup(e){const t=e,n=s.ref(null),r=s.ref(!1);function a(){var i;r.value?document.exitFullscreen():(i=n.value)==null||i.requestFullscreen()}return s.onMounted(()=>{var i;(i=n.value)==null||i.addEventListener("fullscreenchange",()=>{r.value=document.fullscreenElement!==null})}),(i,o)=>(s.openBlock(),s.createElementBlock("div",{ref_key:"statitisticsPaneContainer",ref:n,class:s.normalizeClass(["statitistics-pane-container",r.value?"full-screen":""])},[s.createElementVNode("div",vAe,[s.createElementVNode("div",_Ae,s.toDisplayString(t.heading),1),s.createVNode(s.unref(ke),{class:"maximize-icon",icon:"fa-maximize",onClick:a})]),s.createElementVNode("div",CAe,[s.renderSlot(i.$slots,"default",{},void 0,!0)])],2))}}),Khe="",jl=Q(kAe,[["__scopeId","data-v-f00b184f"]]);function xAe({swiper:e,on:t}){t("beforeInit",()=>{if(e.params.effect!=="carousel")return;e.classNames.push(`${e.params.containerModifierClass}carousel`);const n={watchSlidesProgress:!0,centeredSlides:!0};Object.assign(e.params,n),Object.assign(e.originalParams,n)}),t("progress",()=>{if(e.params.effect!=="carousel")return;const n=.2,r=e.slides.length;for(let a=0;a<e.slides.length;a+=1){const i=e.slides[a],o=e.slides[a].progress,A=Math.abs(o);let l=1;A>1&&(l=(A-1)*.3+1);const c=i.querySelectorAll(".swiper-carousel-animate-opacity"),d=`${o*l*50}%`,u=1-A*n,f=r-Math.abs(Math.round(o));i.style.transform=`translateX(${d}) scale(${u})`,i.style.zIndex=f,A>3?i.style.opacity=0:i.style.opacity=1,c.forEach(p=>{p.style.opacity=1-A/3})}}),t("setTransition",(n,r)=>{if(e.params.effect==="carousel")for(let a=0;a<e.slides.length;a+=1){const i=e.slides[a],o=i.querySelectorAll(".swiper-carousel-animate-opacity");i.style.transitionDuration=`${r}ms`,o.forEach(A=>{A.style.transitionDuration=`${r}ms`})}})}const Whe="",EAe={activeIndex:{type:Number,required:!0,default:0},cardCodes:{type:Array,required:!0,default:[]}},SAe={class:"card-carousel"},FAe=["src"],IAe=s.defineComponent({__name:"CardCarousel",props:EAe,emits:["update:activeIndex"],setup(e,{emit:t}){const n=e,r=t;console.log(n);const a=[xAe];function i(o){r("update:activeIndex",o.activeIndex)}return(o,A)=>(s.openBlock(),s.createElementBlock("div",SAe,[s.createVNode(s.unref(O2),{effect:"carousel","grab-cursor":!0,loop:!1,"looped-slides":5,"slides-per-view":"auto",modules:a,"slide-to-clicked-slide":!0,onActiveIndexChange:i},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.cardCodes,l=>(s.openBlock(),s.createBlock(s.unref(Q2),{key:l},{default:s.withCtx(()=>[s.createElementVNode("img",{src:s.unref(ve)().callbacks.cardImageCallback(l,s.unref(Bt).Card)},null,8,FAe)]),_:2},1024))),128))]),_:1})]))}}),Ghe="",Cx=Q(IAe,[["__scopeId","data-v-6fc8ea3c"]]),DAe={wins:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:1},showDetails:{type:Boolean,required:!1,default:!0}},TAe={class:"wins-losses-line"},UAe={key:0,class:"details"},LAe={class:"wl-record"},OAe={class:"lines"},QAe=s.defineComponent({__name:"WinsLossesLine",props:DAe,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",TAe,[t.showDetails?(s.openBlock(),s.createElementBlock("div",UAe,[s.createElementVNode("span",LAe,s.toDisplayString(t.wins)+"W "+s.toDisplayString(t.matches-t.wins)+"L - ",1),s.createElementVNode("span",{style:s.normalizeStyle({color:`var(${s.unref(zn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(De)(t.wins/t.matches*100,1,3))+"%",5)])):s.createCommentVNode("",!0),s.createElementVNode("div",OAe,[t.wins!==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:"wins line",style:s.normalizeStyle({flexGrow:t.wins})},null,4)):s.createCommentVNode("",!0),t.matches-t.wins!==0?(s.openBlock(),s.createElementBlock("div",{key:1,class:"losses line",style:s.normalizeStyle({flexGrow:t.matches-t.wins})},null,4)):s.createCommentVNode("",!0)])]))}}),jhe="",r0=Q(QAe,[["__scopeId","data-v-511803da"]]),MAe={cardCode:{type:String,required:!0,default:"01IO001"},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},PAe={key:0,class:"wrapper"},NAe={class:"champion-column column-content"},RAe={class:"matches-column column-content"},HAe=s.defineComponent({__name:"DashboardCardRow",props:MAe,setup(e){const t=e,n=s.computed(()=>hn().cardJsonObject[t.cardCode]),r=s.computed(()=>{var a;return ve().callbacks.cardImageCallback(((a=n.value)==null?void 0:a.cardCode)??"",Bt.Banner)});return(a,i)=>(s.openBlock(),s.createElementBlock("div",{class:"profile-champion-row wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",{class:"small-table-background",style:s.normalizeStyle({"--background-image":`url(${r.value})`})},null,4),n.value?(s.openBlock(),s.createElementBlock("div",PAe,[s.createElementVNode("div",NAe,[s.createVNode(oa,{class:"circle-card-item","card-prop":n.value,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(t.cardCode)},null,8,["card-prop","router-link"]),s.createElementVNode("span",null,s.toDisplayString(n.value.name),1)]),s.createElementVNode("div",RAe,s.toDisplayString(s.unref(De)(t.matches,0,10)),1),s.createElementVNode("div",{class:"winrate-column column-content",style:s.normalizeStyle({color:`var(${s.unref(zn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(De)(t.wins/t.matches*100,1,3))+"% ",5)])):s.createCommentVNode("",!0)],4))}}),Yhe="",a0=Q(HAe,[["__scopeId","data-v-47d946ce"]]),VAe={class:"card-page-toggle"},zAe=s.defineComponent({__name:"CardTogglePage",setup(e){const{t}=q(),n=s.ref(0);return(r,a)=>(s.openBlock(),s.createElementBlock("div",VAe,[s.createVNode(gA,{"selected-option":n.value,"onUpdate:selectedOption":a[0]||(a[0]=i=>n.value=i),options:[s.unref(t)("cards.recommendedDecks"),s.unref(t)("cards.similarCards"),s.unref(t)("general.statistics")]},null,8,["selected-option","options"])]))}}),qhe="",kx=Q(zAe,[["__scopeId","data-v-07d07f20"]]),$Ae=s.defineComponent({setup(){return{}},mounted(){const e=kt("EUAACAIEA54Q6AIGBECACBQKF4AQIBQGAECAOUYBAECBWAICAYKACAIFFUAQIBAOAIDAOBJIAIDAYBIIAIDAMGY5AMDAEGI4EIBQMAYTC4RAGBQABIMCQAYGAUBQMHY");console.log(e),console.log(bE(e))}});function KAe(e,t,n,r,a,i){return s.openBlock(),s.createElementBlock("div",null,[...t[0]||(t[0]=[s.createElementVNode("h1",null,"TestComponent",-1)])])}const xx=Q($Ae,[["render",KAe]]),WAe={name:{type:String,required:!0,default:""},selectedBannerCard:{type:String,required:!0,default:""},rank:{type:Number,required:!0,default:0},id:{type:Number,required:!0,default:0},matches:{type:Number,required:!0,default:0},lp:{type:Number,required:!0,default:0},change:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},GAe={class:"wrapper"},jAe={class:"champion-column column-content"},YAe={class:"mana-hexagon"},qAe={class:"mana-number"},XAe={class:"name"},JAe={class:"matches-column column-content"},ZAe=s.defineComponent({__name:"DashboardLeaderboardRow",props:WAe,setup(e){const t=e,n=s.computed(()=>t.selectedBannerCard===void 0?null:ve().callbacks.cardImageCallback(t.selectedBannerCard,Bt.Banner)),r=s.computed(()=>t.change===void 0?[]:t.change===0?["neutral"]:[t.change>0?"good":"bad"]);return(a,i)=>(s.openBlock(),s.createElementBlock("div",{class:"profile-champion-row wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",{class:"small-table-background",style:s.normalizeStyle({"--background-image":`url(${n.value})`,"--background-color":t.index%2===0?"var(--color-background-0)":"transparent"})},null,4),s.createElementVNode("div",GAe,[s.createElementVNode("div",jAe,[s.createElementVNode("div",YAe,[s.createVNode(uA,{class:"hexagon-icon"}),s.createElementVNode("div",qAe,s.toDisplayString(t.rank),1)]),s.createElementVNode("div",XAe,s.toDisplayString(t.name),1)]),s.createElementVNode("div",JAe,s.toDisplayString(s.unref(De)(t.matches,0,10)),1),s.createElementVNode("div",{class:s.normalizeClass(["column-content change",r.value])},[t.change!==void 0?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createVNode(s.unref(ke),{class:"icon",icon:"fa-chevron-down"}),s.createElementVNode("span",null,s.toDisplayString(s.unref(De)(Math.abs(t.change),0,10)),1)],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createTextVNode(" Test ")],64))],2)])],4))}}),Xhe="",i0=Q(ZAe,[["__scopeId","data-v-7abf758d"]]),ele={date:{type:String,required:!0,default:""},available:{type:Boolean,required:!0,default:!1},activated:{type:Boolean,required:!0,default:!1},soon:{type:Boolean,required:!0,default:!1}},o0="data:image/webp;base64,UklGRpQVAABXRUJQVlA4WAoAAAAQAAAAYwAAjQAAQUxQSAEBAAABgGPb2rHn+e3KTunUNntXPyaQKSSV7UzBSfejizkD26htPU/y/lZETABIK2xW2koVX0DKFxXZrLR1CQD2y3vah6PpUeLxnXviuwEBtL5SPz6/Ur+8Urvl0EbGQLccWsPjXH6DO+jg+vQSZGh5Zb7XaAp7aPEKbezzKMKEWuP+C7y0xdzV6gXkWif7drOyTtj34Mg99QL28KAcr5B14g0yAyo5p94gzytkn7Dv3qZz49xvzM6hzi5ffHrankNevMXZzIDUhuFfDw2PdKQr1SqVSqX+rUqbPfP8et2YqFKjqgz1I8ODA8O/7SnjAnC4qIBvGNm18wGdw0WF/6jMFcCfBwBWUDggbBQAABBDAJ0BKmQAjgAAwBIliAKSzJgM/yf5TextXv8H/bv2BwHdg+Vdzn/0vWB/tPVF5h36ofrv14vMX+3Xq2/7v1cf2b1AP6l/gOtp9A/9x/Th/dX4aP7X/2f3C9rXBZ+F2Jr4/8+/kPzM9c3+w73vS/++9CP5x+Df1n9q/dL2b8DflTqHfln9a/0/Ar209A7vn37/+R6R/YP/le4H/Ov63/oeSc9E9g3+ef3T/s/4z2Uf/P/Zelr6a/9f+k+BH+df27/reu51QB6l8J+19f+pT6sZj+zE2+wE9vWoNfcEz0oTpvLjAO+Oa0LQ0Jow+wnjIYPuMNdJgebCP0A0x9HFV9m1SGgYnekuqE7R0gGfFSqVDdnmaEzLXqoY5ab7mI283b2U6qHsm1LaV2sv3hWYD74YbO9I365ZyH7IOZW2np5xzxY1uNwlx8m3/TlZpshWOQCUqQEaeXuo/NGNB7fPAFQA9spGF46iKOVdiy4H51LojrONPcDzWBAEuAoyxYSjdLl+yL79WxDhr4xWsGpRCikM1q5cdoxI5DzxmQC+WU34EWnl4CUNbIztZ0DdID1a0xmf9PiWSXfO4bZPzx8wcVrzgmGBY4h9fhG06Eg8Pe4iO3CVETaIxrPsQBwT/o2De9RYWlsdvaDBCRFNqTIhtugVNyhTOM/+NHgy2FRNW55uPOcszqLATAsZl/DQCkGM1H3/Q6b8yOWsaDQ8wYl8YUfoAP7u3JuG7XFiqpPFp/zTze9Dk0t236U3vstNlqJ6SMY/EUhcAaCy3g3fU1aSTwRLVo/tbHheprGIHpVpNqjxBzS1OFaBnyrYoywF4mxQQRjLtYqhSzPDGyjl/+mVF30ZwM1deMxjDDSwpabr//JIfGwSajIir7csLqBcPmzLwiG0X8yyOdc6OggQUYZentENwuvqEfj4tkP5AdpcIlLP6PXPTMLwXYC5UVVGobBIg429evsLhW4cFRY7HS7kzF/loDieDUMVuHgsMHmBlHbV0ft7uggiS+/oURoyeFXHtbAffBaM7WcIS0lh3dr/hH+xcEKpG6voqahtySY9unVDK4Ma+M4J9OXSo71s3dEeACMKt+lj+FBWDsCJDXpu9Lm3VLbYyT5aF4l0kiGnDuTyRednJJxXlv9ZB2XqhFRCRxK1YE9sx6PGzx8h1YQvNTO5vUl/nAq/pglypqDeR1DHey3IRtZsO/1/M12zYhtN58HYvZriSE/pzLhUGdKAnDJN+N1zpts+c79KrZYjR5+LC8mqTp3zA107/ruodw4OhlDLLtEkHoK0aL6L9kgYkVYuk051/J0iVKO6TrNDjtGCXCzQ61VHH07nEMhfWQqzs+eEOnCdem+/mp99Y5moGhX/AG8JXlhIt15Lv5D60Crp8RJMOD93GDx3WmltCm+Uv1YUslp6iqCDT9pJkbrVnz19cge4T3b7AMrWIAxvDVSB+GjGkX/VQXtjcfsYyHhBaNDOrAPmMkk43eLISRFlsUW9xJ70I7YqMi4KkLA5BSawyrIJeGDRRPpOyqXBJ3he27M6nYaDUcu/dw+zKZFrH6JJepygQiw9/gTA8qAo9Wy4TxVrbJ3iVIyWD9tN6kW+H0ATrOZcaPr4mEoJATghh5iOmN12PTvewVv3VhiUXfqV2BWbUrqWHOkvUgcNaMRXkTobbwOziNe7s9Ub8f1fyJJ+KoqDjl5TXGTKJf71c5O8PiHEwUijMoTg1GNrxg/iyd2pvikPHJ/LeYRAjV77bM1tdlnWBYiABeF3lU6zrp/qqdxhb8P33GXLOZC+7Q+k29zjZyKON23ZtaPwSL1oDj4jmqXJ0DV/iWA+79rebbt2US+K8ARkowLBGCyDHGaKBFXplZu5qY2Jr6P0YUmkj8Se0bToxblcTq3Yo99+M+HkAnRjvQ6iVKId8+YXuXpHdWG2e0XjaXsZ6IBomXeg/qv7XzhWsqrLDSmmSG1scFVF9w5hYj02X4QIhwfHS9DJ46kN1NvcCouEHbUnMQHzUsndQ/LXToevL3LcziuwhLIDliY5NZVQGbChii5WdshXFpqLTnMoSx/QLlWVrcEpCWeg1QCKc32cIAdHGm85bWc1BWWymuRFjr5Tgp3b9TPWLbmnJyb+oSemQmbAPvG9LJIqXmr2xCr0TGmDluE4zO8vaZ/YMEtA9ObEVpVaRj/fqmgL6oHMSW8btJ19nVA62zSzzTuNWJjkN2Zx/t3a5oddkCmbJATg/9VKopqZllxD/GmhAA2Z+o2Yl+CoH3mwuLLPslUy54VmjbhRr+FyR7akdBlYodQHYMNcOKTqhcRGICgXOLTRXn27nIzblK2s7Ts8zAeHmG48CpkdL0ogJ+mrFlrUonC65itjH25Zybm2oM+zxGTTFmy3qhxeF44T6UObeh1vuD/xnjE7NOi28jLT2p7QOjRifMsWRKF8A1+4WnZwba/telVJ0M6W12iygb8UFKOypj4S3LoX1Sx+DIoHPssoAW9iBseVXrDaK8AUOd4jhVQ1WZXhAyQrLt5vuLNMEaFbCq0RltFolGtQ9UYWId2iCWWUAob/O5rzCZMRGWlrXfqV2OMsz7NzL8MkLUlj/XCo/PHG7Lqo/QabVPLqTejIyn8VMf75hXLI4vX3fFT9uVIjfrLe3wDtwo3hgQlrT+8wtcHIkMnpF1wK0Pmi3q3dt+cBzJ7twZjPrXbla5YVz18ptitmRDERECQ67qfzqNrl2C9pLJ/q1f/Ew/JY3Fr/02nDtq35QZ0dZYgfTf47HOzzo4UjL+noRi2L+dBj0fBp9NznpszWtf/ViprbM+6Zzv1l+tD4U3Zu//+Oey/Lgbh8EQfzgm9i59POCMUU/7sNjnSLils28YksYWNbznb3xcNIpy2wR85ntEWFLTuHfln1UVFAUGGrZdmWz6JzqNPxD0AeXjf8ntg4NCbxgB8iohTpMedkpD2q9xEEUXBeo8yuCJKNjP+zg/AYfX9/PVLZWqo5l/XXgtH2ABNTFqA2942K8zLTN4rjFvA8KqN5rmSofCljeENG145859vlNSmeR0T1U7KZ/z6Q/crwGbDY1f9Cmfzjf7MsZklghfj/1shlyq7gSv5Ym375SxDw/iDuj67jYdGOBVjmpB1mnV158my0bdh75nONKc2vK8ZjU+iNXS/P8aJUAiRFk7st3bV5h9baGPOQqbOk4dWjw8NUN7nwm0fmJQ5vp73I/A4UZ8eqf638Gkr3pXrHvUebaPb+xcIzBDE1Nvcojfb/5nm95LL0aHg1iKt36a6uavLgIvpkN7Qo3TujZX95S02Bjz3vhFXVLmBFQCYemOTW9uc4LHakG8kU8VevsB1HT+S1RQKKGdo8JtG9raNhNJjHGLqolgRumnusF3c3ABwOjbQhbjjfMQpu7cdy6J0DTh2hatG32udWg1LPdR9fsVpjEysfGQ0GDDxrvx9YwIGgSRZOZpNEJop4ey3CbpHsmfbpTu+aiszsvP5P6WtQ92vlZ8hxGp2cmnFD2MB6+gQ0hM7eZRxHsKG0+WcpmGsBbtEcNBFvUhbVul/oh7JL+W7adTjOuAVWYVYoTud4ovKjSckZfM1oTXnO4Ky5/LPkQICBB53iz2cdoAWm7owZYQ/S/m4Uwya+G8RezTLMacJChJKqvaibSzfr1bLY6Vry/907SR/JMI7gNWKaUF3Vba3b5b0HxlnFvPrH9H/e+v/zKavQWUONrFVDJYy1XBQUKeYi/Nk2TjiR28KllKGnB2Fq4UnOXuNFR6A2fOnv22Ud48xB8MDHPdrkiVnT362fvOFVnTizjBiQ8TsDnPCs9yEBp16IVDSPomLlWtRkTdEKM6vtCfOz5kpT/0/f18Zx1GX1lvHApIkCfMiNePrIQ9HXD0kmtO7+kdpnb01upiB8fDivDuW+Q0T9Ekbl4PcAAl6+TEntzh67pMz09ikbexC0m6HJHt2TiTtEeCNtLfTWM7HNNFnyoD6HOVEHxiygPZ4y8pyIEJY6J8xwz4TjpyIsHs3cFHpgqfjkUgTFx3uclUbtjRvRXWkgXyZd2ysup9AT8mS0ZJxbARswqXFxJaMDemxOcr6pMmpUPPx6m3QAAnD5YW7H7ATCMs7x2pa2P++IZrqP5lRbgR3bmPDGNdaK0MJWIdUEp/KMOQS9B6vwdVSLl/8mjT5CxXSx2VxxrgGTVW6NBBuTmP9Vt9ZOQ0d0ORGcg++/xMiPrl91fbiMOVAa5GRuhKUhIpUCxVplYkot97+71nhgPlFn6t3NoJKsWX7ecxQQ2Ju2lHT7kO007o0voWXVBgS4t1L3tHfiGWu9NcmCjKwt8PwHn/Jz3v6Uek7SG+ZjCMiakQpmV+0QrjA09K3jZfQgUr+zs/3n/X1zZPPLWk+TlywRK6p0/qbliMMhyXFKbGpTXqvlvBC2Fr58dVvfouGrlfh72hq6YOaZn9zdQWPqbjtqIg8g9QxZzL954uK2OuI1JJittRNNcVSSra2lACV/Ej7Or5II6lx2C3FjqTsrh4UXCcUZWtsOA24NHIJ9CzFmsC4IyIOUXhZEN65l9PYCkjNWKaNz89kPq2+4ye1/jzAuDDg2RrKp/FNIKhhKO0YSPaLz9ODfQTLJhMTpPAXm+xLB0oX7Vo75znqCKyJvmxCmfzANcHkBciBEuOOq68Zl6RZtvaAB0xxFCOfvwBwUY+0qWjfW5PVAaY9bzRJlL100JT3b2kkKDbSW1JXvJqoC/Gubz7CPLYlMJ8dNbim9ydCev9Yq4uzuFENwzKxXa/+CJOmjxzMMCUO8Et1aezpZRwhRESDWtEzJpOKzapC0Hy+M9LX92rbTLKuAfIs+t2RLVUI914oLWgqjEfsM+8o8Tp+U+TRjZ2FF4Ksvp2tGNUiwUapjWbERc67w9nCCgSfLo/c3J1nQLygbzMoJrH4FojgB5aomLL3Qu6IHsRkYhXeYS5oHE0EyRRQXDSEsr4Agr+Yfe5rM854ckE/Yjtm9JnUazZfvvxW2UhxIs9N1m706CP2Ypvs1i7dW+ZmqMCL6uSL+C7hOyycrmvY3Y1YHfIm/pn6u2tgqDN0Y/mZKlUtFq431+zZtpV7+M8ImZf+ou67QEQgXKlc5nxIRUn4WPWlDg2J+6ifiADxcmoRbqWCcG7PR1aUBaLcdSH9KfyF9wgQEj3V+4gyQIa/4JZICFGBUF1BBpZ/anb9TggFs64t+P8eXsWK/kYO+YjSiRyclvKR6hdZRs3hsPY5i7CnmpMUZIns0Ir1ZD8T38M3GM2CcjVW7dG8+0pgw9Si3W5RQrSQjYNq/0A9slLyqiv6ZjrmJFk8Vumsh0VfVPiE7vzqDoxlssE+RqwjJb7DCYE6MHby3aDhaThUE8lgQ7wHTzwoT6IwKqw1ofiTrBycnkdgSKnNEcAgmEQm/Nc4SfKQIjYFgAC+IZeC+S8/pKr8oSNd53EyIK7cuYgnPCUSYn8K2wZD3f/HeVjWIk2EaqRQNZvhCL9pMdwBR8OFRxr36qHCqSx2ZPJOQ3MOPk7swYH4B1QSo4K5tY7/RSl69ftU132HNN0NDfzsvWmBTzVLArpA8RY9LCv7PQ+tbH+6xQWWT4zo41H0hZroZB9Y1BRkiR1jU2XXIQzjY8M2WxSCUywHQOItrSSuDf43zfF+0pXshiSJh3wkP7UVjoF1JMXAPzr2YtxaKFTaZHj0t+e2KUYnGCPDMRt/jsJ1VNqvqGMjhbzmK/Ji7jcaK0nVU2t150c0NRtZlmCiRa7hpNnWe8JlN946yTf4mBY6we5YtS+tHlFzb6xxXgSNdAJUQ/Cf/gbr1MOYnfNPn7tgsduJnySBfUxlhueUByJNOC3T+QE5gELLjR8V/YThTkoJl7a4clEiUTt+fUCWTdjRcJgg8LQSvOspSnGQ5o5a42FBWa2brKLjpnmcroiLKuqJ8SM/UeCuF78esGhAuc2nC0jXZv12w17el7YAcHrpA2Vx+Jv6X5ok4PxVseLzfIY9wbb0nrOCAU3Gg/eKUcu2emB7XfMAgEbBPf7tOMUfluV4zeGsAFHhH3jCmTT0ie7YZP13tsgzt6I+llT2GnDkU9ylV0Rjzdl92EnAJhLyZovmJn2r+3xytit6NWsWFNLk8xZeFTY6cWoqEtVA2HoX/dvgwba3wkOMiZHRRnDWc5OHZ8DvUufoI4BEp4lLz8LqDcJ4U2ROGcH/tNtLAWpov5bBWwYZghIsAyxK4elFVxROoKzEytuvDaHjB85srMddi0+wpvq8Gv2hadSObXFOTXuJYuca+dVPRPg6i8Jy4YRCCcvDJ9h/G4pHs8UtxcagVPFP3LtdVn8qwgiO4/RkY/NvkpOnzPrgtjKA9F25cFO/iEV1SONr2YEg2e21jHzxn1BpHOC+VjkYP6+XVfhyW3FnO55pyGqelLpWnIMcvLUb/nYZluleyUZSt9yjLLW6HyeMT/TsCJpQ+TixJzS2a/JQRc+igKZAJCN5f4pHylBS/nTZQqff5FAhr6QbQIbB+3sfEH7dCB5G4BcRU/hWRacndN8it2rV+0OL+q9WuSGBeFROmtq7ko9ZK00n9mGhhm+CYaUiUyUpdNEhcjDi72xSDSPr5PIlg4ecGmxXOzJMAvwi7oAQQg+Yf0/4z2VCGkFCJ+brkSSZLb8fs2G2c+fYVn/tnAmmooSpfNyJw90LiRdDuQbQ93BQWt3azhV9TEBsPGFE3GGkTw0krNqcURqAQKzvXr2bnhO8KRWoWG7XliqBjI/qGv4UOSaZGwIFqc88q1XuMWRIvW6Cy0jaeljlEotz0AFnDGH2Aq1Pn6SREslqfkNcbIyJ/ZH8oMeXhw4Ua92QnhLp909o39dtaOK/eyzPuAH0ev2kS5g9sKHUC7eEoZIBtPPDrdsGXKpr+L+P9BRvo7OcKaVBxchzd2ZLrq/KC+l5UF0ZSfFqSW6UE0inppd0zfwM2/igkrgcDqi6fKcNBLQO3Yh9ysmWdD7EQ2ZnQ1rzdxuR59XgwjJvDgAAA",tle={class:"reveal-day-option-wrapper"},nle={class:"card-wrapper"},rle=["src"],ale={class:"card-wrapper"},ile=["src"],ole={class:"card-wrapper"},sle=["src"],Ale=s.defineComponent({__name:"RevealDayOption",props:ele,setup(e){const t=s.inject(wr),n=e,r=s.ref(null),a=s.ref(null),i=s.computed(()=>(console.log(n.date,`${n.date}T10:00:00-08:00`),new Date(`${n.date}T10:00:00-08:00`))),o=s.computed(()=>i.value.getTime()<new Date().getTime()),A=s.computed(()=>(console.log(i.value),o.value?`Revealed Cards
|
|
725
725
|
${i.value.toLocaleDateString()}`:`Cards Revealed
|
|
726
|
-
${t(i.value).fromNow()}`)),l=s.computed(()=>{const c=[];return n.activated&&c.push("activated"),n.soon&&c.push("soon"),o.value&&c.push("past"),c});return s.onMounted(()=>{tt(r.value,{content:a.value,arrow:!0,delay:[0,0],duration:[0,0]})}),(c,d)=>(s.openBlock(),s.createElementBlock("div",tle,[s.createElementVNode("div",{ref_key:"revealDayOption",ref:r,class:s.normalizeClass(["reveal-day-option",l.value])},[s.createElementVNode("div",nle,[s.createElementVNode("img",{src:s.unref(o0),alt:"card",class:"card"},null,8,rle)]),s.createElementVNode("div",ale,[s.createElementVNode("img",{src:s.unref(o0),alt:"card",class:"card"},null,8,ile)]),s.createElementVNode("div",ole,[s.createElementVNode("img",{src:s.unref(o0),alt:"card",class:"card"},null,8,sle)])],2),s.createElementVNode("div",{ref_key:"revealDayOptionTippy",ref:a},[s.createVNode(Kc,{text:A.value},null,8,["text"])],512)]))}}),Jhe="",s0=Q(Ale,[["__scopeId","data-v-daac7e87"]]),lle={days:{type:Array,required:!0,default:[]},date:{type:String,required:!0,default:""}},cle={class:"reveal-day-options"},dle=s.defineComponent({__name:"RevealDayOptions",props:lle,emits:["update:date"],setup(e,{emit:t}){const n=e,r=t;function a(i){n.days[i].available&&r("update:date",n.days[i].date)}return(i,o)=>(s.openBlock(),s.createElementBlock("div",cle,[o[0]||(o[0]=s.createElementVNode("div",{class:"line"},null,-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.days,(A,l)=>(s.openBlock(),s.createBlock(s0,{key:A.date,date:A.date,activated:A.date===n.date,soon:A.soon,available:A.available,onClick:c=>a(l)},null,8,["date","activated","soon","available","onClick"]))),128))]))}}),Zhe="",Ex=Q(dle,[["__scopeId","data-v-3ca708c1"]]),ule={cardCodes:{type:Array,required:!0,default:[]}},fle=s.defineComponent({__name:"DashboardNewCards",props:ule,setup(e){const{t}=q(),n=e,r=[{title:t("general.newCards"),id:"newCards"}];return(a,i)=>(s.openBlock(),s.createBlock(Co,{class:"small-table","heading-items":r},{default:s.withCtx(()=>[s.createVNode(zp,{class:"reveal-carousel","card-codes":n.cardCodes},null,8,["card-codes"])]),_:1}))}}),eme="",Sx=Q(fle,[["__scopeId","data-v-89a26f2c"]]),ple={players:{type:Array,required:!0,default:[]},shownColumns:{type:Object,required:!0,default:{player:!0,lp:!0,change:!0,wins:!0,matches:!0,winrate:!0,deck:!0}},loading:{type:Boolean,required:!1,default:!1}},hle=s.defineComponent({__name:"LeaderboardDetailTable",props:ple,emits:["sort-updated"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref([{id:"player",isShown:r.shownColumns.player,sortDirection:_e.UP,title:n("general.player")},{id:"lp",isShown:r.shownColumns.lp,sortDirection:_e.NEITHER,title:n("general.lp")},{id:"change",isShown:r.shownColumns.change,sortDirection:_e.NEITHER,title:n("general.change")},{id:"wins",isShown:r.shownColumns.wins,sortDirection:_e.NEITHER,title:n("general.wins")},{id:"matches",isShown:r.shownColumns.matches,sortDirection:_e.NEITHER,title:n("general.matches")},{id:"winrate",isShown:r.shownColumns.winrate,sortDirection:_e.NEITHER,title:n("general.winrate")},{id:"deck",isShown:r.shownColumns.deck,sortDirection:_e.NOT_SORTABLE,title:n("general.favoriteDeck")}]),o=s.computed(()=>({"--columns":i.value.filter(l=>l.isShown).length}));function A(l){const c=Gi(l,i);c&&a("sort-updated",c)}return(l,c)=>(s.openBlock(),s.createBlock(ia,{class:"large-table",loading:r.loading,style:s.normalizeStyle(o.value),"heading-items":i.value,onToggleSort:A},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.players,(d,u)=>(s.openBlock(),s.createBlock(Y1,s.mergeProps({key:`${d.rank}${d.name}${d.user_id}`},{ref_for:!0},d,{index:u+2,"shown-columns":r.shownColumns,"router-link":s.unref(ve)().callbacks.playerRouterLinkCallback(d)}),null,16,["index","shown-columns","router-link"]))),128))]),_:1},8,["loading","style","heading-items"]))}}),tme="",Fx=Q(hle,[["__scopeId","data-v-11a25b9c"]]),nme="",mle={},gle={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400"};function yle(e,t){return s.openBlock(),s.createElementBlock("svg",gle,[...t[0]||(t[0]=[s.createElementVNode("path",{d:"M107 57.2C23 99 25 97.6 22.2 106.3c-3.4 10.4-6 4 43.5 103.1l44 88.3.5-6.6c.4-4.6 1-7.7 2.4-10.4l1.9-3.7-40-80.8c-22.1-44.4-40.1-81.5-40.1-82.4 0-5-.9-4.5 78-43.9l75-37.4 3.4 1.1 3.3 1.2 49.8 99.6c33 65.8 49.8 100.4 49.8 102 0 4.9-1 5.5-28.2 19.2l-26 13 15.4.1h15.4l13.9-6.9c19.2-9.6 23.1-14 23.2-25.6v-5.7L257 129.6C221.5 58.6 206 28 204 26c-4-4.2-9.6-6.5-15.8-6.5h-5.1L107 57.2m121.5-15.8 3.5 7h29.6c26 0 29.7.2 31.3 1.3 4 2.8 4 1.9 4 68v61.6l6.6 12.9 6.6 12.9v-76.3c0-90 .7-84.8-11.8-91.7l-4.2-2.3-34.6-.3-34.6-.2 3.6 7m95.7 42.1V91l24.3 12.1c25.1 12.5 28 14.5 28 18.7 0 1.3-10.8 24-26.1 55l-26.2 53 .2 14.9.2 14.8 32.8-65.8 32.8-65.8v-5.5a20 20 0 0 0-7-16 739.5 739.5 0 0 0-58.6-30.6c-.2 0-.4 3.4-.4 7.6M126.5 285.1c-4.2 4.2-2 10.3 4 11.4 1.5.2 57.1.3 123.6.2l120.9-.2 1.9-2c3-3 3-6.9 0-9.8l-1.8-1.9H128.8l-2.3 2.3m1.9 25.8c-4.5 1.8-5.5 7.5-1.9 11l2.3 2.3h122.4c130.4 0 125.8.1 127.2-3.5 1.5-3.8.3-7.8-2.7-9.4-2.5-1.3-244-1.7-247.3-.4m-2.3 29.3c-2.6 2.6-2.6 6.6.2 9.3l2 2h246.8l1.9-1.9c2.6-2.6 2.6-7.2.1-9.6l-1.8-1.7H128l-2 1.9m.6 27c-3.7 3.5-3 8.9 1.4 11.1 2.6 1.3 9.8 1.4 124.8 1.2l122-.2 2-2c3-3 3-6.9 0-9.8l-1.8-1.9H251.7c-122.8 0-123.3 0-125 1.6"},null,-1)])])}const Ix=Q(mle,[["render",yle],["__scopeId","data-v-c8a918ec"]]),rme="",ble={},wle={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 431.6"};function Ble(e,t){return s.openBlock(),s.createElementBlock("svg",wle,[...t[0]||(t[0]=[s.createElementVNode("path",{d:"m178 26.2-8.6 1.8-9.6 2c-2.6.6-6.6 1.5-8.8 1.8-2.2.4-5.7 1-7.8 1.6l-8.8 1.8-8.8 1.8-8.6 1.8c-2.6.5-6.2 1.2-8 1.7l-8.8 1.7-8.6 1.8-6.6 1.4c-3.2.5-14.1 2.9-18.3 3.9-4.2 1-4.4 2.2-2.2 15.1 4.2 24.3 5.2 51.8 2.9 80.4l-.8 10.8c-.2 2-.8 6.9-1.4 10.6-.6 3.7-1.5 9-1.8 11.8-.4 2.8-1.2 7-1.8 9.6a138 138 0 0 0-1.8 8.3c-.3 2-1.1 5.3-1.8 7.4l-1.6 6.1c-.8 4-3.8 14.2-7.1 23.6a191.2 191.2 0 0 1-5.7 15.3L39 259.8c-.7 2-1.7 4.2-2.1 5l-8.5 17c-3.4 7-3.6 6.6 11.3 17a13873.6 13873.6 0 0 1 92 64.6c17.4 12.3 16.5 12.7 18-8L151 332c.6-12 .9-16 2-30.4.6-7.2 1-13.3 1.8-30.2l1.2-18c1.6-20.9 3-46.9 2.6-48.9-.4-2.3-1.8-2.8-5-1.8-9.2 3-18 4.4-23 3.7-15.1-2-25.3-12.8-29.8-31.8a95.5 95.5 0 0 1-2.6-29.8c0-19.7.1-20 5.5-21.6a691 691 0 0 0 14.5-4.2 583.1 583.1 0 0 0 24-6.8 88 88 0 0 0 6.4-1.8c2-.6 4.9-1.5 6.4-1.8 1.5-.3 4.7-1.3 7-2l5-1.4 5-1.4c12-3.9 13.8-3.9 28.5.4a746 746 0 0 0 23 6.5c.4.2 2.3.8 4.3 1.3 2 .4 5.2 1.4 7.2 2l6.4 1.8c1.5.3 4.2 1 5.8 1.6l7.4 2.2c19 5 18.6 4.5 18.6 24.2 0 48.9-20.7 71.2-55 59.3-6.4-2.2-6.8-1.3-5.6 13a948 948 0 0 1 1.8 30.3c.2 4.7.9 14.2 1.4 21 1.1 14.4 1.6 22.6 2.2 34.8.2 4.8.9 14.7 1.4 21.8 1 12.3 1.2 16.4 2.2 36 .9 16.2-.6 16.4 26.2-2.6a2102.7 2102.7 0 0 1 24.8-17.3c2.6-2 7.1-5 10-7.1a3744.4 3744.4 0 0 1 30.2-21.1l17.8-12.5c13.2-9.2 14-9.9 13.7-12.5-.2-2-.5-2.7-3.4-8.1a164.8 164.8 0 0 1-10.7-22.4 292 292 0 0 1-9.5-25.4 292 292 0 0 1-7.2-25.2 345.8 345.8 0 0 1-10.4-64.4c-.9-7.7-.6-44.7.4-53.6l1.7-15.4 1.4-10.6c2-9.4 2-10.2-.1-11.7-.7-.4-2.1-1-3.2-1l-6.5-1.5-9.5-2c-2.7-.4-6.7-1.2-8.8-1.8l-6.9-1.4c-1.7-.3-5.7-1-9-1.8l-9.8-2c-2-.3-5.5-1-7.6-1.6l-8.8-1.8-8.8-1.8c-2.1-.5-5.6-1.3-7.8-1.6-2.2-.4-5.8-1.1-8-1.7l-9.4-2c-3-.4-7.3-1.3-9.6-1.9a28.3 28.3 0 0 0-14.8 0"},null,-1)])])}const A0=Q(ble,[["render",Ble],["__scopeId","data-v-4a6733fd"]]),ame="",vle={},_le={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 429.1"};function Cle(e,t){return s.openBlock(),s.createElementBlock("svg",_le,[...t[0]||(t[0]=[s.createElementVNode("path",{d:"M53.8 32.8c-2.6 1-8.3 12.9-13.6 28l-2.1 5.8c-.4 1.1-1.1 3.5-1.5 5.4L35 78.8a84.1 84.1 0 0 0-2.6 14.1c0 2.7.8 4.1 7.4 12.5 16.7 21.3 16.7 21 2.2 21-13.3 0-13-.3-12.7 11.8.2 8.4.7 11.8 1.9 14.2.9 1.7 1.7 2.7 27 35.3 8.1 10.6 7.8 11.5-4.2 11.5-11.9 0-12 .3-4.4 16.9a269.4 269.4 0 0 0 28.7 47.7c8.4 11 8.6 11.5 9 19.8.5 8 1.1 11.4 4.3 24.4 7 28.8 30 57 60 73.2a97 97 0 0 1 5 2.8l3 1.4c1.5.5 3.5 1.4 4.5 2 2.8 1.4 10.6 4 11.6 3.6 2.1-.5 2.4-3.6 1-10.6-.6-2.6-1.4-7.3-1.9-10.6-.4-3.2-1.2-7.6-1.6-9.7a218 218 0 0 1-2.6-15.1l-1.8-10.2-1.6-8.2c-1-5.6-.9-5.5-13-5.8-10.4-.2-11-.4-12.3-2.5-.4-.7-.5-7-.7-28.7-.2-26.2-.2-27.9-1-29.2-.4-.8-5.5-6.3-11.4-12.2-5.9-6-11-11.4-11.4-12.2-.8-1.5-1.3-65.8-.5-68.5.7-2.6 2.6-2.3 7.3 1.3l6.8 4.9a1371.6 1371.6 0 0 1 25 17.9c16.1 11.6 25 18.2 26.2 19.7l1.2 1.6.2 28.6c.2 31.6.1 30.2 2.8 32 1.7 1.1 28 1.4 30.6.3 3-1.2 2.8.6 3-31.4.2-31.9 0-29.5 3-32.5 1.7-1.5 7.1-5.6 18.6-13.7a3147.5 3147.5 0 0 0 38.3-27.6c4.4-3.3 6-3.6 7-1.2.7 2 .4 66.8-.3 68.3-.4.7-5.4 6-11.2 11.9-5.7 5.8-10.9 11.3-11.4 12.2l-1 1.6-.2 27.8c-.3 35 1.2 31.2-12.6 31.6-12 .3-12.2.4-13.6 12.6-.3 2.9-1 7.3-1.4 9.8-1.4 8.3-2 11.7-2.6 17-.3 2.9-1 7.5-1.6 10.4-1 5.6-2.2 14.1-2.2 16.9 0 2 1 3.3 2.8 3.3a93.6 93.6 0 0 0 21.9-9.4 124.7 124.7 0 0 0 47-44.9 128.2 128.2 0 0 0 15.9-52.5c.7-11.5 0-9.7 11.7-27.2l10.4-15.6c2.3-3.3 18.2-34.8 19-37.7 1.1-3.3-.8-4.3-8.8-4.3-11.8-.1-11.9.1 3.4-20.2a1330 1330 0 0 0 15.4-20.8c4.9-6.6 5.5-8.5 6.6-20.9.6-6.3.4-8.2-1-9.6l-1.1-1.1-9-.2c-13.5-.3-13.6-.6-4.2-13.4 14.6-19.7 14.1-18.3 11-31a188 188 0 0 0-9.9-31.1c-2.8-8-7.8-17.3-9.9-18.1-2.6-1.1-1.7-2.8-24.6 43-20.2 40.3-21.3 42.4-22.7 43.2-2.1 1.1-3 .5-6.3-4.2A118.4 118.4 0 0 0 237.3 71a122.9 122.9 0 0 0-76 2 73.7 73.7 0 0 0-14.9 6.9c-13.8 7-29.8 21.3-39.1 35-3.3 4.8-5.2 5.6-7.4 3.1L78.4 75.7c-22.4-44.9-22-44-24.6-43"},null,-1)])])}const l0=Q(vle,[["render",Cle],["__scopeId","data-v-b519ac08"]]),ime="",kle={},xle={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 470.8"};function Ele(e,t){return s.openBlock(),s.createElementBlock("svg",xle,[...t[0]||(t[0]=[s.createElementVNode("path",{"fill-rule":"evenodd",d:"M60.6 11c-.5.8-.6 17.6-.5 157l.1 156 1 .8c1.5 1.3 278.4 1.2 279.6 0 1.3-1.3 1.2.8 1.1-81.1l-.1-78.6-1.3-1.1c-1-.9-4.5-2.2-16-6-38.4-12.5-36.7-12-38-10.7-.7.7-.7 5.1-.9 64.4l-.2 63.7-.9 2.2c-3.9 9.5-11 14-23.1 14.3-12.4.3-20-3.6-24.3-12.3-2.4-4.8-2.3-1.4-2.3-95v-87l-1-1.1c-1.2-1.4 1-.6-31.6-12.6a552 552 0 0 0-25.5-9.1c-2.5 0-2.3-8.5-2.3 98.8 0 60.3-.2 98.7-.4 100.8-2.7 23.7-41.9 26.6-49.7 3.6l-.9-2.6-.2-120.9-.2-120.9-1-1c-.7-.6-5-2.5-12.6-5.3C59.9 8.6 61.7 9.2 60.6 10.9m.9 356.3c-2.6.5-3 1.8-3 7.7-.1 12.3-5.7 18.7-24.6 28.2-11.4 5.6-16.6 10.9-19.3 19.3a86 86 0 0 0-.9 19.5l-.2 17.3 1 1 1 1h368.1l1-1c.7-.6 1-1.6 1.2-3.2.4-3.3 0-28.3-.6-31.4-1.9-10.7-8-17.3-22-23.4-17.3-7.6-21.8-13.2-22.6-28.5-.3-4.5-.4-5-1.3-5.8l-1-.9H200.7c-75.7 0-138.4 0-139.2.2"},null,-1)])])}const c0=Q(kle,[["render",Ele],["__scopeId","data-v-f1928c9e"]]),ome="",Sle={},Fle={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 459.4"};function Ile(e,t){return s.openBlock(),s.createElementBlock("svg",Fle,[...t[0]||(t[0]=[s.createElementVNode("path",{d:"M175.3 29.5c-1.7.3-.9 1.5 6.1 8.9A57.6 57.6 0 0 1 200 82.6a63.5 63.5 0 0 1-5 25.1 63.5 63.5 0 0 1-23 27.5c-4.6 2.7-6.3 2-14.8-6.2-7.9-7.7-8-7.8-11.1-6.2-2.6 1.3-14.6 12-20.5 18.2l-9.6 10a349.5 349.5 0 0 0-35.5 43.8c-3.1 4.6-6 9.1-9.3 15.2a753 753 0 0 1-5.2 9.2c-.9 1.4-2 3.7-2.4 5-.4 1.2-1.3 3.2-2 4.4l-2.2 4.8a52 52 0 0 1-1.8 4.2c-.4.8-1.3 3.2-2 5.4l-2.2 6c-.5 1-1.3 3.8-1.8 6l-2 7.7a62 62 0 0 0-1.8 8c-3.2 23.5-3 26.6 1.7 31A154.6 154.6 0 0 0 73 318a254 254 0 0 0 33.9 16.2c2.4 1.3 12.6 4.6 19 6.3 3.6 1 7.4 2 8.4 2.4l7.4 1.6c3 .5 7.5 1.4 9.8 2 2.7.6 7.5 1.3 13.2 1.8 5 .4 11.5 1 14.6 1.4 3.8.4 9.7.6 18.6.6 18.5 0 19.9 1.2 13.7 11.9a86.4 86.4 0 0 1-50.1 39.8c-1.4.6-4.1 1.4-6 2-1.9.4-5.2 1.3-7.4 2-2.2.6-6.3 1.4-9.2 1.7-6 .7-10 1.5-10.7 2.2-1.3 1.2 2.5 4 7 5.1l8.3 2.3c2.8.8 6.8 1.7 9 2l15.8 2.6c6.9 1.3 29.5 2 39.8 1.2 6.5-.4 8-.6 18.2-2.4l8.3-1.4c2-.3 5.7-1.2 8-2 2.4-.7 5.4-1.6 6.7-1.8 1.3-.3 3.8-1 5.6-1.8l6-2.2c1.5-.5 3.7-1.3 4.7-1.9l4.2-1.8a228 228 0 0 0 22-11.7c20.9-13.4 40-38.5 44.7-58.8l1.8-6c1.7-4.9 1.9-5.8 2.6-13.2a116.3 116.3 0 0 0-10.4-71l-1.4-2.7c-.4-1-2.5-4.5-6-9.7-4.3-6.6-7.5-7.3-10-2.3-3.1 6.1-15.8 20.3-23.2 25.8a81.5 81.5 0 0 1-71.1 13.4l-6.3-2.3a93 93 0 0 1-38.7-30.1c-4-5.7-4-7.3-.4-12.8a82.1 82.1 0 0 1 38.7-30.2c17-7.5 42.3-7.4 57.2.3 8.8 4.5 10.9 2.5 9.2-9.2-.3-2.2-.6-6.5-.6-9.6a129 129 0 0 0-4.6-34.6 75.6 75.6 0 0 0-3.6-13.8c-4.5-17-18-42.2-32-59.6a193.3 193.3 0 0 0-27.5-25.9 82.1 82.1 0 0 0-18-10.3c-3-1.8-14.6-4.6-17-4.1"},null,-1)])])}const d0=Q(Sle,[["render",Ile],["__scopeId","data-v-b1448e85"]]),sme="",Dle={},Tle={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function Ule(e,t){return s.openBlock(),s.createElementBlock("svg",Tle,[...t[0]||(t[0]=[s.createElementVNode("path",{d:"M9.51 16.698 2.244 9.18 1 11.478l6.226 6.264 2.283-1.044ZM6.189 6.676 4.943 5.423 7.02 3.335l1.245 1.253L6.19 6.676ZM9.302 14.61 4.113 9.39l.83-1.044H6.19l3.736-3.55V3.545L10.962 2.5l4.981.626.415 4.803-.83.835-1.453.209-.83 1.043 1.453 1.253.83-.835 1.453.626-4.15 4.176L12 13.775l.83-.835-1.453-1.462-1.037 1.253v1.252l-1.038.627ZM20.924 21.5l-6.018-6.473 1.66-1.67L23 19.412 20.924 21.5Z"},null,-1)])])}const u0=Q(Dle,[["render",Ule],["__scopeId","data-v-e5501fa0"]]),Lle={...yf,expanded:{type:Boolean,required:!1,default:!1}},Ole={class:"content logo no-scrollbar"},Qle={class:"nav-icon-wrapper"},Mle={class:"nav-text"},Ple={class:"nav-icon-wrapper"},Nle={class:"nav-text"},Rle={class:"profile content"},Hle={class:"nav-icon-wrapper"},Vle={class:"nav-text"},zle={class:"nav-icon-wrapper"},$le={class:"nav-text"},Kle={class:"nav-icon-wrapper"},Wle={class:"nav-text"},Gle={class:"nav-icon-wrapper"},jle={class:"nav-text settings"},Yle={class:"nav-icon-wrapper"},qle={class:"nav-text"},Xle={class:"text-content"},Jle={class:"nav-icon-wrapper"},Zle={class:"nav-text name"},ece={class:"nav-icon-wrapper"},tce={class:"nav-text settings"},nce=["href"],rce={class:"nav-icon-wrapper"},ace={class:"nav-text sign-in-container"},ice={class:"fancy-button"},oce=s.defineComponent({__name:"NavigationSide",props:Lle,emits:["click:sync","click:sign-in","click:sign-out","click:language"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=s.ref(),i=s.ref();let o;const A=t,l=s.computed(()=>{const d=Jt().user;if(!d||!d.isPremium&&!d.isAdFree)return n("general.premium");const u=d.isPremium,f=n(u?"premium.premium.title":"premium.adFree.title"),p=u?d.premiumExpiresAt:d.adFreeExpiresAt,h=u?d.isRenewingPremium:d.isRenewingAdFree,m=n(h?"general.renews":"general.expires");if(p){const b=j(p).diff(j(),"days");return n("navigation.subscriptionStatus",{type:f,event:m,days:b})}return f});s.onMounted(()=>{var d;o=new ResizeObserver(c),a.value&&o.observe(a.value),(d=i.value)==null||d.addEventListener("scroll",c),c()}),s.onUnmounted(()=>{var d;o.disconnect(),(d=i.value)==null||d.removeEventListener("scroll",c)});function c(){var f,p;let d=!1,u=!1;i.value&&(i.value.clientHeight<i.value.scrollHeight&&(d=i.value.scrollTop>0,u=i.value.scrollTop<i.value.scrollHeight-i.value.clientHeight),(f=i.value)==null||f.classList.toggle("scrollable-up",d),(p=i.value)==null||p.classList.toggle("scrollable-down",u))}return(d,u)=>(s.openBlock(),s.createElementBlock("div",{ref_key:"navigationSide",ref:a,class:s.normalizeClass(["navigation-side",r.expanded?"expanded":""])},[s.createElementVNode("div",Ole,[s.createVNode(s.unref(fn.RouterLink),{to:r.homeLink,class:"nav-item"},{default:s.withCtx(()=>[s.createElementVNode("div",Qle,[s.createVNode(Ns,{"logo-type":"logo-only"})]),s.createElementVNode("div",Mle,[s.createVNode(Ns,{"logo-type":"text-only"})])]),_:1},8,["to"])]),s.createElementVNode("div",{ref_key:"navigationPages",ref:i,class:"pages content no-scrollbar"},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.items,f=>(s.openBlock(),s.createBlock(s.unref(fn.RouterLink),{key:f.text,to:f.routerLocation,class:s.normalizeClass(["nav-item",f.highlighted?"highlight":""])},{default:s.withCtx(()=>[s.createElementVNode("div",Ple,[s.createVNode(s.unref(ke),{class:"nav-icon",icon:f.faIcon},null,8,["icon"])]),s.createElementVNode("div",Nle,s.toDisplayString(f.text),1)]),_:2},1032,["to","class"]))),128))],512),s.createElementVNode("div",Rle,[s.createVNode(s.unref(fn.RouterLink),{to:s.unref(ve)().callbacks.premiumLinkCallback(),class:"nav-item premium"},{default:s.withCtx(()=>[s.createElementVNode("div",Hle,[s.createVNode(s.unref(ke),{class:"nav-icon",icon:"crown"})]),s.createElementVNode("div",Vle,s.toDisplayString(l.value),1)]),_:1},8,["to"]),s.unref(Jt)().user?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createVNode(s.unref(fn.RouterLink),{to:r.links.gift,class:"nav-item"},{default:s.withCtx(()=>[s.createElementVNode("div",zle,[s.createVNode(s.unref(ke),{class:"nav-icon",icon:"gift"})]),s.createElementVNode("div",$le,s.toDisplayString(s.unref(n)("general.openCards")),1)]),_:1},8,["to"]),s.createVNode(s.unref(fn.RouterLink),{to:r.links.personalization,class:"nav-item"},{default:s.withCtx(()=>[s.createElementVNode("div",Kle,[s.createVNode(s.unref(ke),{class:"nav-icon",icon:"paintbrush"})]),s.createElementVNode("div",Wle,s.toDisplayString(s.unref(n)("settings.personalization")),1)]),_:1},8,["to"]),s.createVNode(s.unref(fn.RouterLink),{to:r.links.settings,class:"nav-item"},{default:s.withCtx(()=>[s.createElementVNode("div",Gle,[s.createVNode(s.unref(ke),{class:"nav-icon",icon:"cog"})]),s.createElementVNode("div",jle,[s.createElementVNode("div",null,s.toDisplayString(s.unref(n)("general.settings")),1),s.createVNode(s.unref(CA),{class:"language-selection icon",onClick:u[0]||(u[0]=s.withModifiers(()=>{},["stop","prevent"]))})])]),_:1},8,["to"]),s.createElementVNode("div",{class:s.normalizeClass(["nav-item",{syncing:r.syncProgress!==void 0}]),onClick:u[1]||(u[1]=f=>A("click:sync"))},[s.createElementVNode("div",Yle,[s.createVNode(s.unref(ke),{class:s.normalizeClass(["nav-icon",{spin:r.syncProgress!==void 0}]),icon:"rotate-right"},null,8,["class"])]),s.createElementVNode("div",qle,[s.createElementVNode("span",Xle,[s.createTextVNode(s.toDisplayString(s.unref(n)("general.syncUserData"))+" ",1),r.syncProgress!==void 0?(s.openBlock(),s.createElementBlock("span",{key:0,class:"progress-text",style:s.normalizeStyle({width:`${r.syncProgress}%`})},s.toDisplayString(s.unref(n)("general.syncUserData")),5)):s.createCommentVNode("",!0)])])],2),s.createVNode(s.unref(fn.RouterLink),{to:r.links.profile,class:"nav-item"},{default:s.withCtx(()=>{var f,p,h,m,b;return[s.createElementVNode("div",Jle,[(s.openBlock(),s.createBlock(oa,{key:`${(f=s.unref(Jt)().user)==null?void 0:f.selectedIconCard}${(p=s.unref(Jt)().user)==null?void 0:p.selectedBannerColor}`,"card-code-prop":((h=s.unref(Jt)().user)==null?void 0:h.selectedIconCard)??"05BC160","ignore-card-item":!0,"color-override":(m=s.unref(Jt)().user)==null?void 0:m.selectedBannerColor,"router-link":r.links.profile},null,8,["card-code-prop","color-override","router-link"]))]),s.createElementVNode("div",Zle,[s.createElementVNode("div",null,s.toDisplayString((b=s.unref(Jt)().user)==null?void 0:b.name),1),s.createVNode(s.unref(ke),{class:"sign-out icon",icon:"right-from-bracket",onClick:u[2]||(u[2]=s.withModifiers(g=>A("click:sign-out"),["stop","prevent"]))})])]}),_:1},8,["to"])],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createVNode(s.unref(fn.RouterLink),{to:r.links.settings,class:"nav-item"},{default:s.withCtx(()=>[s.createElementVNode("div",ece,[s.createVNode(s.unref(ke),{class:"nav-icon",icon:"cog"})]),s.createElementVNode("div",tce,[s.createElementVNode("div",null,s.toDisplayString(s.unref(n)("general.settings")),1),s.createVNode(s.unref(CA),{class:"language-selection icon",onClick:u[3]||(u[3]=s.withModifiers(()=>{},["stop","prevent"]))})])]),_:1},8,["to"]),s.createElementVNode("a",{class:"nav-item",onClick:u[4]||(u[4]=f=>A("click:sign-in")),href:r.loginLink,target:"_blank"},[s.createElementVNode("div",rce,[s.createVNode(s.unref(ke),{class:"nav-icon",icon:"arrow-right-to-bracket"})]),s.createElementVNode("div",ace,[s.createElementVNode("div",ice,s.toDisplayString(s.unref(n)("general.signIn")),1)])],8,nce)],64))])],2))}}),Ame="",f0=Q(oce,[["__scopeId","data-v-6f58d7e9"]]),sce=s.defineComponent({__name:"NavigationTopMobile",props:yf,emits:["click:sync","click:sign-in","click:sign-out"],setup(e,{emit:t}){const n=e,r=t,a=s.ref(!1),i=s.ref(!1),o=s.ref(),A=s.ref();window.addEventListener("click",l);function l(u){var f;a.value&&(a.value=!!((f=A.value)!=null&&f.contains(u.target)))}function c(){s.nextTick(()=>{a.value=!0,s.nextTick(()=>{var u,f;(f=(u=o.value)==null?void 0:u.$el.querySelector("input"))==null||f.focus()})})}function d(){i.value=!0}return s.onUnmounted(()=>{window.removeEventListener("click",l)}),(u,f)=>{const p=s.resolveComponent("RouterLink");return s.openBlock(),s.createElementBlock("div",{ref_key:"navigationTopMobile",ref:A,class:"navigation-top-mobile"},[a.value?(s.openBlock(),s.createBlock(Vc,{key:1,"fetch-seach-result":n.fetchSeachResult,ref_key:"searchBar",ref:o,class:"search-bar"},null,8,["fetch-seach-result"])):(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createVNode(s.unref(ke),{class:"icon",icon:"bars",onClick:d}),s.createVNode(p,{to:n.homeLink},{default:s.withCtx(()=>[s.createVNode(Ns,{class:"logo-icon","logo-type":"text-only"})]),_:1},8,["to"]),s.createVNode(s.unref(ke),{class:"icon",icon:"search",onClick:s.withModifiers(c,["stop","prevent"])})],64)),s.createVNode(Tr,{"show-modal":i.value,"onUpdate:showModal":f[2]||(f[2]=h=>i.value=h)},{default:s.withCtx(()=>[s.createVNode(f0,s.mergeProps({class:"navigation-side","onClick:sync":f[0]||(f[0]=h=>r("click:sync")),"onClick:signIn":f[1]||(f[1]=h=>r("click:sign-in"))},n,{expanded:!0}),null,16)]),_:1},8,["show-modal"])],512)}}}),lme="",p0=Q(sce,[["__scopeId","data-v-f840153f"]]),Ace={class:"navigation-top"},lce=s.defineComponent({__name:"NavigationTop",props:yf,emits:["click:sync","click:sign-in","click:sign-out"],setup(e,{emit:t}){const n=t,r=e;return(a,i)=>(s.openBlock(),s.createElementBlock("div",Ace,[s.createVNode(G1,s.mergeProps({class:"navigation-top-desktop"},r),{default:s.withCtx(()=>[s.renderSlot(a.$slots,"default",{},void 0,!0)]),_:3},16),s.createVNode(p0,s.mergeProps({"onClick:signIn":i[0]||(i[0]=o=>n("click:sign-in")),"onClick:sync":i[1]||(i[1]=o=>n("click:sync")),class:"navigation-top-mobile"},r),null,16)]))}}),cme="",Dx=Q(lce,[["__scopeId","data-v-508e62c8"]]),cce={name:{type:String,required:!0,default:""}},dce={class:"profile-dropdown-wrapper"},uce=s.defineComponent({__name:"ProfileDropdown",props:cce,setup(e){const t=e,n=s.ref(),r=s.ref();return s.onMounted(()=>{tt(n.value,{content:r.value,arrow:!0,interactive:!0,interactiveBorder:10})}),(a,i)=>(s.openBlock(),s.createElementBlock("div",dce,[s.createElementVNode("div",{ref_key:"profile",ref:n,class:"profile-dropdown"},s.toDisplayString(t.name),513),s.createElementVNode("div",{ref_key:"dropdown",ref:r,class:"slider-wrapper"},"Test",512)]))}}),dme="",Tx=Q(uce,[["__scopeId","data-v-1c516824"]]),fce={modelValue:{type:String,required:!0,default:!1}},pce=["value"],hce=s.defineComponent({__name:"ColorPicker",props:fce,emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t;function a(i){r("update:modelValue",i.target.value)}return(i,o)=>(s.openBlock(),s.createElementBlock("input",{type:"color",value:n.modelValue,onInput:a,onClick:o[0]||(o[0]=s.withModifiers(()=>{},["stop"]))},null,40,pce))}}),ume="",Ux=Q(hce,[["__scopeId","data-v-3c45ffbe"]]),mce={rows:{type:Array,required:!0,default:[]},selectedRegion:{type:String,required:!0,default:"americas"}},gce={class:"multiselect-wrapper"},yce=s.defineComponent({__name:"DashboardLeaderboardTable",props:mce,emits:["update:selectedRegion"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref(r.selectedRegion),o=[{title:n("general.leaderboard"),id:"leaderboard"}];return s.watch(i,A=>{a("update:selectedRegion",A)}),(A,l)=>(s.openBlock(),s.createBlock(Co,{class:"small-table","heading-items":o},{heading:s.withCtx(()=>[s.createElementVNode("div",gce,[s.createVNode(s.unref(Yt),{modelValue:i.value,"onUpdate:modelValue":l[0]||(l[0]=c=>i.value=c),class:"multiselect",placeholder:s.unref(n)("general.server"),options:s.unref(Be)().dataJson.servers,"can-clear":!1,label:"name","value-prop":"nameRef"},null,8,["modelValue","placeholder","options"])])]),default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.rows,(c,d)=>(s.openBlock(),s.createBlock(i0,{id:c.id,key:c.id,change:c.change,lp:c.lp,name:c.name,rank:c.rank,"selected-banner-card":c.selectedBannerCard,matches:c.matches,index:d+2},null,8,["id","change","lp","name","rank","selected-banner-card","matches","index"]))),128))]),_:1}))}}),fme="",Lx=Q(yce,[["__scopeId","data-v-fe0f916c"]]),bce={routerLink:{type:Object,required:!0,default:{path:"/404"}},deckBuilderRouterLink:{type:Object,required:!0,default:{path:"/404"}},archetypeId:{type:Number,required:!0,default:1},deckCode:{type:String,required:!0,default:""},index:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:1},wins:{type:Number,required:!0,default:1},playrate:{type:Number,required:!0,default:1},regions:{type:Array,required:!0,default:[]},cards:{type:Array,required:!0,default:[]}},wce={class:"table-card-row-background-wrapper"},Bce={class:"table-card-row-background"},vce={class:"archetypes-row wrapper"},_ce={class:"column-content"},Cce={class:"column-content"},kce=s.defineComponent({__name:"ArchetypesRow",props:bce,setup(e){const t=e,n=s.computed(()=>kt(t.deckCode)),r=s.computed(()=>Zt(n.value)),a=s.computed(()=>t.cards.map(o=>ve().callbacks.cardImageCallback(o,Bt.Banner))),i=s.computed(()=>({showButtons:{deleteDeck:!1,updateDeckPrivacy:!1,editDeckName:!1,gemsCost:!1,openArchetypePage:!0,simulateMulligan:!0,openInDeckBuilder:!0,copyDeckCode:!0,uploadDeckToLor:!0,shareDeck:!1},deckCode:t.deckCode,deckBuilderRouterLink:t.deckBuilderRouterLink,archetypeRouterLink:t.routerLink,deckId:void 0,deckName:void 0,isPrivate:void 0}));return(o,A)=>{const l=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(l,{to:t.routerLink,class:"wrapper"},{default:s.withCtx(()=>[s.createElementVNode("div",{class:"archetypes-row-wrapper wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",wce,[s.createElementVNode("div",Bce,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.value,c=>(s.openBlock(),s.createElementBlock("div",{key:c,class:"background-card-wrapper",style:s.normalizeStyle({"--background-image":`url(${c})`})},[...A[1]||(A[1]=[s.createElementVNode("div",{class:"background-card"},null,-1)])],4))),128))])]),s.createElementVNode("div",vce,[s.createElementVNode("div",{class:"column-content deck-highlight-wrapper",onClick:A[0]||(A[0]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createVNode(Ia,{"deck-code":t.deckCode,deck:n.value,cards:r.value,"deck-buttons-props":i.value},null,8,["deck-code","deck","cards","deck-buttons-props"])]),s.createElementVNode("div",_ce,s.toDisplayString(s.unref(De)(t.matches)),1),s.createElementVNode("div",{class:"column-content",style:s.normalizeStyle({color:`var(${s.unref(zn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(De)(t.wins/t.matches*100,2,3)+"%"),5),s.createElementVNode("div",Cce,s.toDisplayString(s.unref(De)(t.playrate,2,3)+"%"),1)])],4)]),_:1},8,["to"])}}}),pme="",h0=Q(kce,[["__scopeId","data-v-61aebadd"]]),xce={archetypeRows:{type:Array,required:!0,default:[]},loading:{type:Boolean,required:!1,default:!1}},Ece=s.defineComponent({__name:"ArchetypesTable",props:xce,emits:["sort-updated"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref([{id:"deck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.deck")},{id:"matches",isShown:!0,sortDirection:_e.DOWN,title:n("general.matches")},{id:"winrate",isShown:!0,sortDirection:_e.NEITHER,title:n("general.winrate")},{id:"playrate",isShown:!0,sortDirection:_e.NEITHER,title:n("general.playrate")}]);function o(A){const l=Gi(A,i);l&&a("sort-updated",l)}return(A,l)=>(s.openBlock(),s.createBlock(ia,{class:"large-table",loading:r.loading,"heading-items":i.value,onToggleSort:o},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.archetypeRows,(c,d)=>(s.openBlock(),s.createBlock(h0,s.mergeProps({key:c.deckCode},{ref_for:!0},c,{index:d+2}),null,16,["index"]))),128))]),_:1},8,["loading","heading-items"]))}}),hme="",Ox=Q(Ece,[["__scopeId","data-v-4a8597f4"]]),Sce={typeSummary:{type:Object,required:!0,default:{quantity:0,isError:!1,typeRef:"Champion"}}},Fce={class:"number-container"},Ice={key:0,class:"type-icon"},Dce=s.defineComponent({__name:"DeckBuilderSummaryType",props:Sce,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["deck-builder-summary-type",[t.typeSummary.isError?"error":"",t.typeSummary.typeRef==="Deck"?"deck":""]])},[s.createElementVNode("div",Fce,s.toDisplayString(t.typeSummary.quantity),1),t.typeSummary.typeRef!=="Deck"?(s.openBlock(),s.createElementBlock("div",Ice,[t.typeSummary.typeRef==="Champion"?(s.openBlock(),s.createBlock(l0,{key:0})):t.typeSummary.typeRef==="Follower"?(s.openBlock(),s.createBlock(A0,{key:1})):t.typeSummary.typeRef==="Spell"?(s.openBlock(),s.createBlock(d0,{key:2})):t.typeSummary.typeRef==="Landmark"?(s.openBlock(),s.createBlock(c0,{key:3})):t.typeSummary.typeRef==="Equipment"?(s.openBlock(),s.createBlock(u0,{key:4})):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0)],2))}}),mme="",Ci=Q(Dce,[["__scopeId","data-v-2e6bb287"]]),Tce={cards:{type:Array,required:!0,default:[]},deck:{type:Object,required:!0,default:{}}},Uce={class:"deck-builder-summary"},Lce=s.defineComponent({__name:"DeckBuilderSummary",props:Tce,setup(e){const t=e;function n(c,d,u){const f=t.cards.filter(c).map(p=>t.deck[p.cardCode]).reduce((p,h)=>p+h,0);return{typeRef:u,quantity:f,isError:d(f)}}const r=s.computed(()=>n(c=>c.typeRef==="Unit"&&c.supertype==="Champion",c=>c>6,"Champion")),a=s.computed(()=>n(c=>c.typeRef==="Unit"&&c.supertype==="",()=>!1,"Follower")),i=s.computed(()=>n(c=>c.typeRef==="Spell",()=>!1,"Spell")),o=s.computed(()=>n(c=>c.typeRef==="Landmark",()=>!1,"Landmark")),A=s.computed(()=>n(c=>c.typeRef==="Equipment",()=>!1,"Equipment")),l=s.computed(()=>n(()=>!0,c=>c!==40,"Deck"));return(c,d)=>(s.openBlock(),s.createElementBlock("div",Uce,[s.createVNode(Ci,{"type-summary":r.value},null,8,["type-summary"]),s.createVNode(Ci,{"type-summary":a.value},null,8,["type-summary"]),s.createVNode(Ci,{"type-summary":i.value},null,8,["type-summary"]),s.createVNode(Ci,{"type-summary":o.value},null,8,["type-summary"]),s.createVNode(Ci,{"type-summary":A.value},null,8,["type-summary"]),s.createVNode(Ci,{"type-summary":l.value},null,8,["type-summary"])]))}}),gme="",m0=Q(Lce,[["__scopeId","data-v-ec8f0fa9"]]),Oce={rows:{type:Array,required:!0,default:[]}},Qce=s.defineComponent({__name:"DashboardCardTable",props:Oce,setup(e){const{t}=q(),n=e,r=[{title:t("general.cards"),id:"cards"},{title:t("general.matches"),id:"matches"},{title:t("general.winrate"),id:"winrate"}];return(a,i)=>(s.openBlock(),s.createBlock(Co,{class:"small-table","heading-items":r},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.rows,o=>(s.openBlock(),s.createBlock(a0,{key:o.cardCode,"card-code":o.cardCode,matches:o.matches,wins:o.wins,index:o.index+2},null,8,["card-code","matches","wins","index"]))),128))]),_:1}))}}),yme="",Qx=Q(Qce,[["__scopeId","data-v-e5817be3"]]),Mce={modelValue:{type:Number,required:!0,default:5}},Pce=["value"],Nce=s.defineComponent({__name:"ZoomSlider",props:Mce,emits:["update:modelValue"],setup(e,{emit:t}){const n=s.ref(),r=s.ref(),a=e,i=t;function o(A){i("update:modelValue",Number.parseInt(A.target.value))}return s.onMounted(()=>{tt(n.value,{content:r.value,arrow:!0,interactive:!0,trigger:"mouseenter click",interactiveBorder:10})}),(A,l)=>(s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",{ref_key:"button",ref:n,class:"circle-button"},[s.createVNode(s.unref(ke),{icon:"search-plus",class:"zoom-button"})],512),s.createElementVNode("div",{ref_key:"slider",ref:r,class:"slider-wrapper"},[s.createElementVNode("input",{type:"range",min:"1",max:"10",class:"slider",value:a.modelValue,onInput:o},null,40,Pce)],512)]))}}),bme="",Mx=Q(Nce,[["__scopeId","data-v-bb4c05e4"]]),Rce={cardProp:{type:Object,required:!1,default:void 0},cardCodeProp:{type:String,required:!1,default:void 0}},Hce={class:"card-overview"},Vce={class:"full-art-wrapper"},zce=["src"],$ce={class:"overview-top"},Kce={class:"card-name"},Wce={class:"card-tags"},Gce={class:"card-tag"},jce={class:"card-tag-text"},Yce={class:"card-tag"},qce={class:"card-tag-text"},Xce={class:"card-tag"},Jce={class:"card-tag-text"},Zce={class:"card-tag"},ede={class:"card-tag-text"},tde={class:"card-text"},nde={class:"keyword-description"},rde={class:"keyword-name"},ade={class:"flavor-text"},ide=s.defineComponent({__name:"CardOverview",props:Rce,setup(e){const t=e,n=Si(t.cardProp,t.cardCodeProp,!0),r=s.ref(!1),a=s.computed(()=>{if(n.value===void 0)return[];const c=[];for(const d of n.value.keywordRefs){const u=Be().dataJson.keywords.find(f=>f.nameRef===d);u&&c.push(u)}return c}),i=s.computed(()=>{if(n.value===void 0||!n.value.regionRefs||n.value.regionRefs.length===0)return null;const c=Be().dataJson;return To(n.value.regionRefs[0])?c.runeterraChampions.find(d=>d.nameRef===n.value.regionRefs[0])??c.regions[0]:c.regions.find(d=>d.nameRef===n.value.regionRefs[0])??c.regions[0]}),o=s.computed(()=>n.value===void 0?null:Be().dataJson.rarities.find(c=>c.nameRef===n.value.rarityRef)??Be().dataJson.rarities[0]),A=s.computed(()=>n.value===void 0?null:Be().dataJson.types.find(c=>c.nameRef===n.value.typeRef)??Be().dataJson.types[0]),l=s.computed(()=>n.value===void 0?null:Be().dataJson.sets.find(c=>c.nameRef===n.value.set)??Be().dataJson.sets[0]);return(c,d)=>{var u,f,p,h,m,b,g,B;return s.openBlock(),s.createElementBlock("div",Hce,[s.createVNode(s.unref(Tr),{"show-modal":r.value,"onUpdate:showModal":d[0]||(d[0]=w=>r.value=w)},{default:s.withCtx(()=>{var w;return[s.createElementVNode("div",Vce,[s.createElementVNode("img",{class:"full-art",src:s.unref(ve)().callbacks.cardImageCallback(((w=s.unref(n))==null?void 0:w.cardCode)??"01IO001",s.unref(Bt).Full)},null,8,zce)])]}),_:1},8,["show-modal"]),s.unref(n)?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("div",$ce,[s.createElementVNode("div",Kce,s.toDisplayString(s.unref(n).name),1),s.createElementVNode("button",{ref:"button",class:"circle-button",onClick:d[1]||(d[1]=w=>r.value=!0)},[s.createVNode(s.unref(ke),{icon:"image"})],512)]),s.createElementVNode("div",Wce,[s.createElementVNode("div",Gce,[s.createElementVNode("div",{class:"icon",style:s.normalizeStyle({content:`url(${((u=i.value)==null?void 0:u.icon)??""})`})},null,4),s.createElementVNode("div",jce,s.toDisplayString((f=i.value)==null?void 0:f.name),1)]),s.createElementVNode("div",Yce,[s.createElementVNode("div",{class:"icon",style:s.normalizeStyle({content:`url(${((p=o.value)==null?void 0:p.icon)??""})`})},null,4),s.createElementVNode("div",qce,s.toDisplayString((h=o.value)==null?void 0:h.name),1)]),s.createElementVNode("div",Xce,[s.createElementVNode("div",{class:"icon",style:s.normalizeStyle({content:`url(${((m=A.value)==null?void 0:m.icon)??""})`})},null,4),s.createElementVNode("div",Jce,s.toDisplayString((b=A.value)==null?void 0:b.name),1)]),s.createElementVNode("div",Zce,[s.createElementVNode("div",{class:"icon",style:s.normalizeStyle({content:`url(${((g=l.value)==null?void 0:g.icon)??""})`})},null,4),s.createElementVNode("div",ede,s.toDisplayString((B=l.value)==null?void 0:B.name),1)])]),d[3]||(d[3]=s.createElementVNode("hr",{class:"divider"},null,-1)),s.createElementVNode("div",tde,s.toDisplayString(s.unref(n).descriptionRaw),1),d[4]||(d[4]=s.createElementVNode("hr",{class:"divider"},null,-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.value,w=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:w.nameRef},[s.createElementVNode("div",nde,[s.createElementVNode("b",rde,s.toDisplayString(w.name+" - "),1),s.createElementVNode("span",null,s.toDisplayString(w.description),1)]),d[2]||(d[2]=s.createElementVNode("hr",{class:"divider"},null,-1))],64))),128)),s.createElementVNode("div",ade,s.toDisplayString(s.unref(n).flavorText),1)],64)):s.createCommentVNode("",!0)])}}}),wme="",Px=Q(ide,[["__scopeId","data-v-8e45b2bc"]]),ode={gameType:{type:String,required:!0,default:""},matches:{type:Number,required:!0,default:1},wins:{type:Number,required:!0,default:1}},sde={class:"profile-game-type-winrate"},Ade={class:"game-type"},lde=s.defineComponent({__name:"ProfileGameTypeWinrate",props:ode,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",sde,[s.createElementVNode("div",Ade,s.toDisplayString(t.gameType),1),s.createVNode(r0,{matches:t.matches,wins:t.wins},null,8,["matches","wins"])]))}}),Bme="",Nx=Q(lde,[["__scopeId","data-v-1bb3c9de"]]),cde={deckRows:{type:Array,required:!0,default:[]},loading:{type:Boolean,required:!1,default:!1}},dde=s.defineComponent({__name:"DecksTable",props:cde,emits:["sort-updated"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref([{id:"deck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.deck")},{id:"matches",isShown:!0,sortDirection:_e.DOWN,title:n("general.matches")},{id:"winrate",isShown:!0,sortDirection:_e.NEITHER,title:n("general.winrate")},{id:"manaCurve",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.manaCurve")},{id:"cost",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.cost")}]);function o(A){const l=Gi(A,i);l&&a("sort-updated",l)}return(A,l)=>(s.openBlock(),s.createBlock(ia,{class:"large-table",loading:r.loading,"heading-items":i.value,onToggleSort:o},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.deckRows,(c,d)=>(s.openBlock(),s.createBlock(Gl,s.mergeProps({key:c.deckCode},{ref_for:!0},c,{index:d+2}),null,16,["index"]))),128))]),_:1},8,["loading","heading-items"]))}}),vme="",Rx=Q(dde,[["__scopeId","data-v-c789c9b5"]]),ude={deckCode:{type:String,required:!1,default:""}},fde={deck:{type:Object,required:!0,default:{}},deckButtonsProps:{type:Object,required:!0,default:{deckCode:"",deckId:void 0,showButtons:void 0,archetypeRouterLink:void 0,deckBuilderRouterLink:"404",deckName:void 0,showUploaded:void 0,isPrivate:void 0}}},pde={class:"deck-preview-wrapper"},hde=s.defineComponent({__name:"ShowDeckPreviewButton",props:fde,setup(e){const{t}=q(),n=e,r=s.ref(null),a=s.ref(!1);return s.onMounted(()=>{tt(r.value,{content:t("deck.showPreview"),arrow:!0})}),(i,o)=>(s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("button",{ref_key:"button",ref:r,class:"circle-button",onClick:o[0]||(o[0]=A=>a.value=!0)},[s.createVNode(s.unref(ke),{icon:"camera"})],512),s.createVNode(Tr,{"show-modal":a.value,"onUpdate:showModal":o[1]||(o[1]=A=>a.value=A)},{default:s.withCtx(()=>[s.createElementVNode("div",pde,[s.createVNode(s.unref(hf),{deck:n.deck,"deck-buttons-props":n.deckButtonsProps},null,8,["deck","deck-buttons-props"])])]),_:1},8,["show-modal"])]))}}),_me="",mde=Q(hde,[["__scopeId","data-v-90be9f81"]]),gde={class:"cards-container no-scrollbar"},yde={key:0,class:"input-deck-code"},bde={class:"text"},wde=["placeholder"],Bde={class:"bottom"},vde={class:"bottom-buttons"},Hx=s.defineComponent({__name:"DeckBuilderSidePanel",props:ude,emits:["update:card-quantity","input:deck-code","click:save"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.computed(()=>{if(r.deckCode===void 0)throw new Error("DeckCode must be defined");return kt(r.deckCode)}),o=s.computed(()=>Zt(i.value)),A=s.computed(()=>({showButtons:{deleteDeck:!1,updateDeckPrivacy:!1,editDeckName:!1,gemsCost:!0,openArchetypePage:!1,simulateMulligan:!0,openInDeckBuilder:!1,copyDeckCode:!0,uploadDeckToLor:!0,shareDeck:!0},deckCode:r.deckCode,deckBuilderRouterLink:"404"}));function l(c){a("input:deck-code",c.target.value)}return(c,d)=>(s.openBlock(),s.createBlock(Wi,{"show-clear-all":!1},{default:s.withCtx(()=>[s.createVNode(s.unref(m0),{cards:o.value,deck:i.value},null,8,["cards","deck"]),(s.openBlock(),s.createBlock(s.unref(kl),{class:"mana-curve-chart",key:r.deckCode,"padding-top":0,"show-data-labels":!1,"data-labels-offset":0,"tooltips-enabled":!1,"display-x-scale":!0,deck:i.value},null,8,["deck"])),s.createElementVNode("div",gde,[o.value.length===0?(s.openBlock(),s.createElementBlock("div",yde,[s.createElementVNode("div",bde,s.toDisplayString(s.unref(n)("deckBuilder.inputDeckCode")),1),s.createElementVNode("input",{onInput:l,placeholder:s.unref(n)("general.deckCode"),type:"text"},null,40,wde)])):s.createCommentVNode("",!0),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.value,u=>(s.openBlock(),s.createBlock(s.unref(vt),{"onUpdate:cardQuantity":d[0]||(d[0]=f=>a("update:card-quantity",f)),key:u.cardCode,"card-prop":u,"maintain-aspect-ratio":!0,"quantity-number":i.value[u.cardCode],"show-plus-minus":!0,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(u.cardCode),class:"card-slice-item"},null,8,["card-prop","quantity-number","router-link"]))),128))]),s.createElementVNode("div",Bde,[s.createElementVNode("div",vde,[s.createVNode(s.unref(bu),{deck:i.value},null,8,["deck"]),s.createVNode(s.unref(yu),{"deck-code":r.deckCode},null,8,["deck-code"]),s.createVNode(mde,{deck:i.value,"deck-buttons-props":A.value},null,8,["deck","deck-buttons-props"]),s.createVNode(s.unref(wu),{"deck-code":r.deckCode,"deck-name":s.unref(Sf)(r.deckCode)},null,8,["deck-code","deck-name"])]),s.createElementVNode("div",{class:"fancy-button",onClick:d[1]||(d[1]=u=>a("click:save"))},s.toDisplayString(s.unref(n)("general.save")),1)])]),_:1}))}}),Cme="",_de={data:{type:Array,required:!0,default:[]},backgroundColor:{type:String,required:!1,default:"#000000"}},Vx=s.defineComponent({__name:"RegionDistributionChart",props:_de,setup(e){const t=s.ref(null);ze.register(...Mr);const n=e,r=s.computed(()=>({labels:n.data.map(i=>i.region),datasets:[{data:n.data.map(i=>i.matches),backgroundColor:n.data.map(i=>I0(i.region))}]})),a={cutout:"80%",elements:{arc:{borderWidth:3,borderColor:n.backgroundColor}},plugins:{legend:{display:!0,position:"right",labels:{usePointStyle:!0,generateLabels(i){const o=[],A=i.data.labels;for(let l=0;l<i.data.labels.length;l++)o.push({text:`${xf(A[l])} (${i.data.datasets[0].data[l]})`,borderRadius:999,datasetIndex:0,index:l,fontColor:Oa("--color-0"),fillStyle:i.data.datasets[0].backgroundColor[l]});return o}}},datalabels:{display:!1}}};return(i,o)=>(s.openBlock(),s.createBlock(s.unref(Qd),{ref_key:"chart",ref:t,"chart-data":r.value,options:a},null,8,["chart-data"]))}}),Cde={class:"circle-button"},kde=s.defineComponent({__name:"DeckButtonsDropdown",props:r4,emits:["click:share","click:edit-name","click:update-privacy","click:delete"],setup(e,{emit:t}){const n=e,r=s.ref(null),a=s.ref(null),i=t;return s.onMounted(()=>{tt(r.value,{content:a.value,arrow:!0,interactive:!0,trigger:"click",duration:0})}),(o,A)=>(s.openBlock(),s.createElementBlock("div",{ref_key:"containerDiv",ref:r,class:"deck-buttons-dropdown"},[s.createElementVNode("div",Cde,[s.createVNode(s.unref(ke),{class:"icon",icon:"fa-chevron-down"})]),s.createElementVNode("div",{ref_key:"tippyDiv",ref:a,class:"tippy-div"},[s.createVNode(s.unref(xs),s.mergeProps({class:"deck-buttons","onClick:delete":A[0]||(A[0]=l=>i("click:delete")),"onClick:editName":A[1]||(A[1]=l=>i("click:edit-name")),"onClick:share":A[2]||(A[2]=l=>i("click:share")),"onClick:updatePrivacy":A[3]||(A[3]=l=>i("click:update-privacy"))},n),null,16)],512)],512))}}),kme="",g0=Q(kde,[["__scopeId","data-v-79fac15d"]]),xde={value:{type:Number,required:!0,default:1},max:{type:Number,required:!0,default:2}},zx=s.defineComponent({__name:"SimpleDoughnutChart",props:xde,setup(e){const t=s.ref(null);ze.register(...Mr);const n=e,r=s.computed(()=>({labels:["Value","Max"],datasets:[{data:[n.value,n.max-n.value],backgroundColor:[Oa("--color-good"),"transparent"]}]})),a={cutout:"80%",elements:{arc:{borderWidth:0}},plugins:{legend:{display:!1}}},i=[{id:"text",beforeDraw:function(o){const A=o.chartArea.width,l=o.chartArea.height,c=o.ctx;c.restore();const d=(l/100).toFixed(2);c.font=`bold ${d}em sans-serif`,c.textBaseline="middle";const f=o.data.datasets[0].data[0].toFixed(2),p=Math.round((A-c.measureText(f).width)/2),h=l/2;c.fillStyle=Oa("--color-good"),c.fillText(f,p,h),c.save()}}];return(o,A)=>(s.openBlock(),s.createBlock(s.unref(Qd),{ref_key:"chart",ref:t,"chart-data":r.value,options:a,plugins:i},null,8,["chart-data"]))}}),Ede={items:{type:Array,required:!0,default:()=>[]}},Sde={title:{type:String,required:!0,default:""},start:{type:Date,required:!0,default:new Date},state:{type:String,required:!0,default:!1},description:{type:String,required:!0,default:""}},Fde={class:"content"},Ide={class:"heading"},Dde={class:"title"},Tde={class:"date"},Ude={class:"description"},Lde=s.defineComponent({__name:"TournamentTimelineItem",props:Sde,setup(e){const t=s.inject(wr),n=e;return(r,a)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["tournament-timeline-item",n.state])},[a[0]||(a[0]=s.createElementVNode("div",{class:"progress-circle"},null,-1)),s.createElementVNode("div",Fde,[s.createElementVNode("div",Ide,[s.createElementVNode("div",Dde,s.toDisplayString(n.title),1),s.createElementVNode("div",Tde,s.toDisplayString(s.unref(t)(n.start).fromNow()),1)]),s.createElementVNode("div",Ude,s.toDisplayString(r.description),1)])],2))}}),xme="",Ode=Q(Lde,[["__scopeId","data-v-f008d11f"]]),Qde={class:"tournament-timeline no-scrollbar"},Mde=s.defineComponent({__name:"TournamentTimeline",props:Ede,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",Qde,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.items,a=>(s.openBlock(),s.createBlock(Ode,{description:a.description,state:a.state,title:a.title,start:a.start},null,8,["description","state","title","start"]))),256))]))}}),Eme="",$x=Q(Mde,[["__scopeId","data-v-420a5855"]]),Pde={players:{type:Array,required:!0,default:[]},shownColumns:{type:Object,required:!0,default:{player:!0,lp:!0,change:!0,wins:!0,matches:!0,winrate:!0,deck:!0}},loading:{type:Boolean,required:!1,default:!1}},Nde={routerLink:{type:Object,required:!0,default:{path:"/404"}},index:{type:Number,required:!0,default:0},id:{type:Number,required:!0,default:0},name:{type:String,required:!0,default:""},rank:{type:Number,required:!0,default:0},gameWins:{type:Number,required:!0,default:0},gameLosses:{type:Number,required:!0,default:0},matchWins:{type:Number,required:!0,default:0},matchLosses:{type:Number,required:!0,default:0},opponentsMatchWinrate:{type:Number,required:!0,default:0},opponentsGameWinrate:{type:Number,required:!0,default:0},decks:{type:Array,required:!0,default:[]},selectedBannerCard:{type:[String,null],required:!0,default:""},selectedBannerColor:{type:[String,null],required:!1,default:""},shownColumns:{type:Object,required:!0,default:{player:!0,lp:!0,change:!0,wins:!0,matches:!0,winrate:!0,deck:!0}}},Rde={results:{type:Object,required:!0,default:{type:"single",isVictory:null}},deckCode:{type:String,required:!0,default:""},showEye:{type:Boolean,required:!1,default:!1}},Hde={class:"tournament-deck-result"},Vde={key:0,class:"results"},zde={class:"good"},$de={class:"bad"},Kde=s.defineComponent({__name:"TournamentDeckResult",props:Rde,setup(e){const t=e,n=s.computed(()=>t.results.type==="multiple"?"":t.results.isBanned?"ban":t.results.isVictory===null?"":t.results.isVictory===!1?"times":"check"),r=s.computed(()=>n.value==="check"),a=s.computed(()=>({showButtons:{deleteDeck:!1,updateDeckPrivacy:!1,editDeckName:!1,gemsCost:!0,openArchetypePage:!0,simulateMulligan:!0,openInDeckBuilder:!0,copyDeckCode:!0,uploadDeckToLor:!0,shareDeck:!0},deckCode:t.deckCode,deckBuilderRouterLink:{name:"deck-builder",params:{deckCode:t.deckCode}},archetypeRouterLink:"/404"}));return(i,o)=>(s.openBlock(),s.createElementBlock("div",Hde,[s.createVNode(Ia,{"deck-code":t.deckCode,"show-eye":t.results.type==="multiple"||t.showEye,"deck-buttons-props":a.value,class:"deck-highlight"},null,8,["deck-code","show-eye","deck-buttons-props"]),t.results.type==="multiple"?(s.openBlock(),s.createElementBlock("div",Vde,[s.createElementVNode("span",zde,s.toDisplayString(t.results.wins),1),o[0]||(o[0]=s.createTextVNode(" - ",-1)),s.createElementVNode("span",$de,s.toDisplayString(t.results.losses),1),o[1]||(o[1]=s.createTextVNode(" - ",-1)),s.createElementVNode("span",null,s.toDisplayString(t.results.bans),1)])):n.value.length>0?(s.openBlock(),s.createBlock(s.unref(ke),{key:1,class:s.normalizeClass(["icon",r.value?"good":"bad"]),icon:n.value},null,8,["icon","class"])):s.createCommentVNode("",!0)]))}}),Sme="",yr=Q(Kde,[["__scopeId","data-v-8aaa4e70"]]),Wde={class:"tournament-player-additional-data-wrapper"},Gde={class:"tournament-player-additional-data-content-top"},jde={class:"winrate-wrapper"},Yde={class:"winrate-wrapper"},qde={class:"winrate-wrapper"},Xde={class:"tournament-player-additional-data-content-bottom"},Jde={class:"row tournament-player-row-background-wrapper"},Zde={class:"tournament-player-row-background"},eue={class:"row tournament-player-row wrapper"},tue={class:"column-content"},nue={class:"column-content"},rue=s.defineComponent({__name:"TournamentPlayerRow",props:Nde,setup(e){const{t}=q(),n=e,r=s.ref(null),a=s.ref(0),i=s.ref(!1),o=s.computed(()=>n.selectedBannerCard?["",ve().callbacks.cardImageCallback(n.selectedBannerCard,Bt.Banner)]:[]);return s.onMounted(()=>{r.value&&(a.value=r.value.clientHeight)}),(A,l)=>{const c=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(c,{to:n.routerLink,class:"wrapper"},{default:s.withCtx(()=>[s.createElementVNode("div",{class:s.normalizeClass(["tournament-player-row-wrapper wrapper",{expanded:i.value}]),style:s.normalizeStyle({"--index":n.index})},[s.createElementVNode("div",{class:"row tournament-player-additional-data-row",style:s.normalizeStyle({"--height":a.value+"px"}),onClick:l[0]||(l[0]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createElementVNode("div",Wde,[s.createElementVNode("div",{class:"tournament-player-additional-data-content",ref_key:"additionalDataContent",ref:r},[s.createElementVNode("div",Gde,[s.createVNode(jl,{heading:s.unref(t)("tournament.oppWinrate")},{default:s.withCtx(()=>[s.createElementVNode("div",jde,s.toDisplayString(s.unref(De)(n.opponentsMatchWinrate*100,1,3)+"%"),1)]),_:1},8,["heading"]),s.createVNode(jl,{heading:s.unref(t)("tournament.gameWinrate")},{default:s.withCtx(()=>[s.createElementVNode("div",Yde,s.toDisplayString(s.unref(De)(n.opponentsMatchWinrate*100,1,3)+"%"),1)]),_:1},8,["heading"]),s.createVNode(jl,{heading:s.unref(t)("tournament.oppGameWinrate")},{default:s.withCtx(()=>[s.createElementVNode("div",qde,s.toDisplayString(s.unref(De)(n.opponentsMatchWinrate*100,1,3)+"%"),1)]),_:1},8,["heading"])]),s.createElementVNode("div",Xde,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.decks,d=>(s.openBlock(),s.createBlock(yr,{key:d.deckCode,"deck-code":d.deckCode,results:{type:"multiple",wins:d.wins,losses:d.losses,bans:d.bans}},null,8,["deck-code","results"]))),128))])],512)])],4),s.createElementVNode("div",Jde,[s.createElementVNode("div",Zde,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.value,d=>(s.openBlock(),s.createElementBlock("div",{key:d,class:"background-card",style:s.normalizeStyle({"--background-image":`url(${d})`})},null,4))),128))])]),s.createElementVNode("div",eue,[n.shownColumns.player?(s.openBlock(),s.createElementBlock("div",{key:0,class:"column-content card-wrapper",onClick:l[1]||(l[1]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createVNode(vt,{class:"card-slice-item","card-code-prop":n.selectedBannerCard??void 0,color:n.selectedBannerColor??"var(--color-background-2-rgb)","ignore-card-item":!0,"mana-number":n.rank,name:n.name,"maintain-aspect-ratio":!1,"router-link":n.routerLink},null,8,["card-code-prop","color","mana-number","name","router-link"])])):s.createCommentVNode("",!0),s.createElementVNode("div",tue,s.toDisplayString(n.matchWins)+" - "+s.toDisplayString(n.matchLosses),1),s.createElementVNode("div",nue,s.toDisplayString(n.gameWins)+" - "+s.toDisplayString(n.gameLosses),1),s.createElementVNode("div",{class:"column-content",style:s.normalizeStyle({color:`var(${s.unref(zn)(n.matchWins/(n.matchWins+n.matchLosses))})`})},s.toDisplayString(s.unref(De)(n.matchWins/(n.matchWins+n.matchLosses)*100,1,3)+"%"),5),s.createElementVNode("div",{class:"column-content options-button",onClick:l[2]||(l[2]=s.withModifiers(d=>i.value=!i.value,["stop","prevent"]))},[s.createVNode(s.unref(ke),{class:"icon",icon:"fa-chevron-down"})])])],6)]),_:1},8,["to"])}}}),Fme="",aue=Q(rue,[["__scopeId","data-v-3656be66"]]),iue=s.defineComponent({__name:"TournamentPlayerTable",props:Pde,emits:["sort-updated"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref([{id:"player",isShown:r.shownColumns.player,sortDirection:_e.UP,title:n("general.player")},{id:"matchWLs",isShown:r.shownColumns.matchWLs,sortDirection:_e.NEITHER,title:n("general.matchRecord")},{id:"gameWLs",isShown:r.shownColumns.gameWLs,sortDirection:_e.NEITHER,title:n("general.gameRecord")},{id:"winrate",isShown:r.shownColumns.winrate,sortDirection:_e.NEITHER,title:n("general.winrate")}]),o=s.computed(()=>({"--columns":i.value.filter(l=>l.isShown).length}));function A(l){const c=Gi(l,i);c&&a("sort-updated",c)}return(l,c)=>(s.openBlock(),s.createBlock(ia,{class:"large-table",loading:r.loading,style:s.normalizeStyle(o.value),"heading-items":i.value,onToggleSort:A},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.players,(d,u)=>(s.openBlock(),s.createBlock(aue,s.mergeProps({key:`${d.rank}${d.name}${d.id}`},{ref_for:!0},d,{index:u+2,"router-link":s.unref(ve)().callbacks.playerIdRouterLinkCallback(d.id),"shown-columns":r.shownColumns}),null,16,["index","router-link","shown-columns"]))),128))]),_:1},8,["loading","style","heading-items"]))}}),Ime="",Kx=Q(iue,[["__scopeId","data-v-a8525fd3"]]),oue={selectedRound:{type:Number,required:!0,default:1},numRounds:{type:Number,required:!0,default:1}},sue={class:"swiss-round-options"},Aue=["onClick"],lue=s.defineComponent({__name:"TournamentSwissRoundOptions",props:oue,emits:["update:selectedRound"],setup(e,{emit:t}){const n=e,r=t;return(a,i)=>(s.openBlock(),s.createElementBlock("div",sue,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.numRounds,o=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["swiss-round-option",o===n.selectedRound?"selected":""]),onClick:A=>r("update:selectedRound",o)},s.toDisplayString(o),11,Aue))),256))]))}}),Dme="",Wx=Q(lue,[["__scopeId","data-v-cfee2da2"]]),cue={isHorizontal:{type:Boolean,required:!0,default:!1},player:{type:[Object,null],required:!0,default:null},games:{type:Array,required:!0,default:()=>[]},resultToShow:{type:[Number,null],required:!0,default:null},showTippy:{type:Boolean,required:!1,default:!1},placement:{type:String,required:!0,default:"top"},playerNumber:{type:Number,required:!0,default:1}},due={class:"results"},uue=["onMouseenter","result-index"],fue=["result-index"],pue=s.defineComponent({__name:"TournamentPlayer",props:cue,emits:["update:result-to-show"],setup(e,{emit:t}){const n=fn.useRoute(),r=e,a=s.ref(null),i=s.ref(null),o=s.ref(null),A=s.ref([]),l=s.ref(null),c=s.ref(null),d=t,u=s.computed(()=>r.playerNumber===1?"player1":"player2");function f(m){d("update:result-to-show",m)}s.onMounted(()=>{console.log(l.value),p()}),s.watch([()=>r.showTippy,()=>r.resultToShow],()=>{h()});function p(){if(!(i.value===null||o.value===null)&&(a.value=tt(o.value,{content:i.value,placement:r.placement==="top"?"top-start":r.isHorizontal?"bottom-end":"bottom-start",arrow:!0,duration:0,trigger:"manual",popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:r.isHorizontal?[r.placement==="top"?"bottom-end":"bottom-start",r.placement==="top"?"top-end":"top-start",r.placement==="top"?"bottom-start":"bottom-end",r.placement==="top"?"top-start":"top-end"]:[r.placement==="top"?"right":"left",r.placement==="top"?"left":"right"]}}]}}),!(l.value===null||c.value===null)))for(const m of l.value){const b=m.getAttribute("result-index");console.log(b);const g=c.value.find(B=>B.getAttribute("result-index")===b);console.log(g),g&&A.value.push(tt(g,{content:m,placement:r.placement,arrow:!0,duration:0,trigger:"manual",popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:r.isHorizontal?[r.placement==="top"?"bottom-end":"bottom-start",r.placement==="top"?"top-end":"top-start",r.placement==="top"?"bottom-start":"bottom-end",r.placement==="top"?"top-start":"top-end"]:[r.placement==="top"?"right":"left",r.placement==="top"?"left":"right"]}}]}}))}}function h(){var m,b;if((m=a.value)==null||m.hide(),A.value.forEach(g=>{g.hide()}),!!r.showTippy){if(r.resultToShow===null){(b=a.value)==null||b.show();return}A.value.forEach((g,B)=>{B===r.resultToShow&&g.show()})}}return(m,b)=>{var g,B;return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["tournament-player",[r.showTippy?"show-results":null,r.isHorizontal?"horizontal":"vertical",r.placement]]),ref_key:"tournamentPlayer",ref:o},[r.player?(s.openBlock(),s.createBlock(vt,{key:0,class:"card-slice-item","card-code-prop":r.player.cardCode??void 0,name:r.player.name,color:null,"router-link":{name:"profile",params:{id:r.player.id,lang:s.unref(n).params.lang}},"ignore-card-item":!0,"maintain-aspect-ratio":!1,"mana-number":null,"show-plus-minus":!1,onMouseenter:b[0]||(b[0]=()=>f(null))},null,8,["card-code-prop","name","router-link"])):(s.openBlock(),s.createBlock(vt,{key:1,class:"card-slice-item",name:"",color:null,"router-link":"","ignore-card-item":!0,"maintain-aspect-ratio":!1,"mana-number":null,"show-plus-minus":!1})),s.createElementVNode("div",due,[s.withDirectives(s.createElementVNode("div",{class:s.normalizeClass(["result",(g=r.player)!=null&&g.isVictory?"win":"loss"])},s.toDisplayString(r.games.filter(w=>w[u.value].isVictory).length),3),[[s.vShow,!r.showTippy]]),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.games,(w,y)=>s.withDirectives((s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["result",w[u.value].isVictory?"win":"loss"]),onMouseenter:()=>f(y),ref_for:!0,ref_key:"results",ref:c,"result-index":y},s.toDisplayString(w[u.value].isVictory?1:0),43,uue)),[[s.vShow,r.showTippy]])),256)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.games,(w,y)=>(s.openBlock(),s.createElementBlock("div",{class:"result-tippy","result-index":y,ref_for:!0,ref_key:"resultTippyContents",ref:l},[s.createVNode(yr,{"deck-code":w[u.value].deckCode,results:{type:"single",isVictory:w[u.value].isVictory}},null,8,["deck-code","results"])],8,fue))),256))]),s.createElementVNode("div",{class:"main-tippy",ref_key:"mainTippyContent",ref:i},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(((B=r.player)==null?void 0:B.decks)??[],w=>{var y,_;return s.openBlock(),s.createBlock(yr,{"deck-code":w,results:{type:"single",isVictory:(y=r.games.find(v=>v[u.value].deckCode===w))!=null&&y[u.value].isVictory?!0:null,isBanned:(_=r.player)==null?void 0:_.bannedDecks.includes(w)}},null,8,["deck-code","results"])}),256))],512)],2)}}}),Tme="",Gx=Q(pue,[["__scopeId","data-v-322df46f"]]),y0={matchId:{type:Number,required:!0,default:0},player1:{type:Object,required:!0,default:()=>({})},player2:{type:Object,required:!0,default:()=>({})},games:{type:Array,required:!0,default:()=>[]}},hue={...y0,isHorizontal:{type:Boolean,required:!0,default:!1},showAdminControls:{type:Boolean,required:!1,default:!1}},mue={class:"content no-scrollbar"},gue={class:"players"},yue={class:"player"},bue={class:"player-record"},wue={class:"player-decks"},Bue={class:"player"},vue={class:"player-record"},_ue={class:"player-decks"},Cue={key:0,class:"results"},kue={class:"game"},xue={class:"game-number"},Eue={class:"game-result"},Sue={class:"game-player"},Fue={class:"game-player-name"},Iue={class:"vs"},Due={class:"game-player"},Tue={class:"game-player-name"},Uue=s.defineComponent({__name:"TournamentMatchupDetails",props:y0,setup(e){const{t}=q(),n=fn.useRoute(),r=e;return(a,i)=>(s.openBlock(),s.createElementBlock("div",mue,[s.createElementVNode("div",gue,[s.createElementVNode("div",yue,[s.createVNode(vt,{class:"card-slice-item","card-code-prop":r.player1.cardCode??void 0,color:null,"ignore-card-item":!0,"mana-number":null,name:r.player1.name,"maintain-aspect-ratio":!0,"router-link":{name:"profile",params:{id:r.player1.id,lang:s.unref(n).params.lang}}},null,8,["card-code-prop","name","router-link"]),s.createElementVNode("div",bue,s.toDisplayString(r.games.reduce((o,A)=>A.player1.isVictory?o+1:o,0))+" - "+s.toDisplayString(r.games.reduce((o,A)=>A.player1.isVictory?o:o+1,0)),1),s.createElementVNode("div",wue,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.player1.decks,o=>(s.openBlock(),s.createBlock(yr,{class:"tournament-deck-result",key:o,"deck-code":o,"show-eye":!0,results:{type:"single",isVictory:r.games.some(A=>A.player1.isVictory&&A.player1.deckCode===o)?!0:null,isBanned:r.player1.bannedDecks.includes(o)}},null,8,["deck-code","results"]))),128))])]),s.createElementVNode("div",Bue,[s.createVNode(vt,{class:"card-slice-item","card-code-prop":r.player2.cardCode??void 0,color:null,"ignore-card-item":!0,"mana-number":null,name:r.player2.name,"maintain-aspect-ratio":!0,"router-link":{name:"profile",params:{id:r.player2.id,lang:s.unref(n).params.lang}}},null,8,["card-code-prop","name","router-link"]),s.createElementVNode("div",vue,s.toDisplayString(r.games.reduce((o,A)=>A.player2.isVictory?o+1:o,0))+" - "+s.toDisplayString(r.games.reduce((o,A)=>A.player2.isVictory?o:o+1,0)),1),s.createElementVNode("div",_ue,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.player2.decks,o=>(s.openBlock(),s.createBlock(yr,{class:"tournament-deck-result",key:o,"deck-code":o,"show-eye":!0,results:{type:"single",isVictory:r.games.some(A=>A.player2.isVictory&&A.player2.deckCode===o)?!0:null,isBanned:r.player2.bannedDecks.includes(o)}},null,8,["deck-code","results"]))),128))])])]),r.games.length>0?(s.openBlock(),s.createElementBlock("div",Cue,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.games,(o,A)=>(s.openBlock(),s.createElementBlock("div",kue,[s.createElementVNode("div",xue,s.toDisplayString(s.unref(t)("general.game"))+" "+s.toDisplayString(A+1),1),s.createElementVNode("div",Eue,[s.createElementVNode("div",Sue,[s.createElementVNode("div",Fue,s.toDisplayString(r.player1.name),1),s.createVNode(yr,{class:"tournament-deck-result","deck-code":o.player1.deckCode,"show-eye":!0,results:{type:"single",isVictory:o.player1.isVictory,isBanned:!1}},null,8,["deck-code","results"])]),s.createElementVNode("div",Iue,s.toDisplayString(s.unref(t)("general.vs")),1),s.createElementVNode("div",Due,[s.createElementVNode("div",Tue,s.toDisplayString(r.player2.name),1),s.createVNode(yr,{class:"tournament-deck-result","deck-code":o.player2.deckCode,"show-eye":!0,results:{type:"single",isVictory:o.player2.isVictory,isBanned:!1}},null,8,["deck-code","results"])])])]))),256))])):s.createCommentVNode("",!0)]))}}),Ume="",Lue=Q(Uue,[["__scopeId","data-v-a329da5a"]]),Oue={class:"content no-scrollbar"},Que={class:"heading"},Mue=s.defineComponent({__name:"TournamentMatchupEdit",props:y0,emits:["matchup-edit:submit"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref(0);s.onMounted(()=>{r.player1.isVictory===r.player2.isVictory?i.value=1:r.player2.isVictory&&(i.value=2)});function o(){a("matchup-edit:submit",{matchId:r.matchId,playerId:i.value===0?r.player1.challongeId:i.value===2?r.player2.challongeId:null})}return(A,l)=>(s.openBlock(),s.createElementBlock("div",Oue,[s.createElementVNode("div",Que,s.toDisplayString(s.unref(n)("tournament.admin.editMatchWinner")),1),s.createVNode(gA,{class:"toggle-switch",options:[r.player1.name,s.unref(n)("general.tie"),r.player2.name],"selected-option":i.value,"onUpdate:selectedOption":l[0]||(l[0]=c=>i.value=c)},null,8,["options","selected-option"]),s.createElementVNode("button",{class:"primary-button centered",onClick:o},s.toDisplayString(s.unref(n)("general.submit")),1)]))}}),Lme="",Pue=Q(Mue,[["__scopeId","data-v-0a4547ed"]]),Nue={class:"tournament-matchup"},Rue={class:"hover-options-container"},Hue={class:"hover-options"},Vue=s.defineComponent({__name:"TournamentMatchup",props:hue,emits:["matchup-edit:submit"],setup(e,{emit:t}){const n=e,r=t,a=s.ref(null),i=s.ref(!1),o=s.ref(!1),A=s.ref(!1);function l(){i.value=!1,a.value=null}function c(d){r("matchup-edit:submit",d)}return(d,u)=>(s.openBlock(),s.createElementBlock("div",Nue,[s.createElementVNode("div",{class:s.normalizeClass(["players",n.isHorizontal?"horizontal":"vertical"]),onMouseenter:u[2]||(u[2]=f=>i.value=!0),onMouseleave:l},[s.createVNode(Gx,{"result-to-show":a.value,"onUpdate:resultToShow":u[0]||(u[0]=f=>a.value=f),player:n.player1??null,games:n.games,"show-tippy":i.value,"is-horizontal":n.isHorizontal,"player-number":1,placement:"top"},null,8,["result-to-show","player","games","show-tippy","is-horizontal"]),s.createVNode(Gx,{"result-to-show":a.value,"onUpdate:resultToShow":u[1]||(u[1]=f=>a.value=f),player:n.player2??null,games:n.games,"show-tippy":i.value,"is-horizontal":n.isHorizontal,"player-number":2,placement:"bottom"},null,8,["result-to-show","player","games","show-tippy","is-horizontal"])],34),s.createElementVNode("div",Rue,[s.createElementVNode("div",Hue,[n.showAdminControls?(s.openBlock(),s.createElementBlock("div",{key:0,class:"option",onClick:u[3]||(u[3]=()=>o.value=!0)},[s.createVNode(s.unref(ke),{icon:"pencil"})])):s.createCommentVNode("",!0),s.createElementVNode("div",{class:"option",onClick:u[4]||(u[4]=()=>A.value=!0)},[s.createVNode(s.unref(ke),{icon:"search"})])])]),s.createVNode(s.unref(Tr),{"show-modal":o.value,"onUpdate:showModal":u[5]||(u[5]=f=>o.value=f)},{default:s.withCtx(()=>[s.createVNode(Pue,s.mergeProps({class:"tournament-matchup-edit"},n,{"onMatchupEdit:submit":c}),null,16)]),_:1},8,["show-modal"]),s.createVNode(s.unref(Tr),{"show-modal":A.value,"onUpdate:showModal":u[6]||(u[6]=f=>A.value=f)},{default:s.withCtx(()=>[s.createVNode(Lue,s.mergeProps({class:"tournament-matchup-details"},n),null,16)]),_:1},8,["show-modal"])]))}}),Ome="",jx=Q(Vue,[["__scopeId","data-v-539a82c9"]]),zue={matchups:{type:Array,required:!0,default:null},showAdminControls:{type:Boolean,required:!1,default:!1}},$ue={class:"swiss-round"},Kue={key:1,class:"empty"},Wue=s.defineComponent({__name:"TournamentSwissRound",props:zue,emits:["matchup-edit:submit"],setup(e,{emit:t}){const n=e,r=t;function a(i){r("matchup-edit:submit",i)}return(i,o)=>(s.openBlock(),s.createElementBlock("div",$ue,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.matchups,A=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[A?(s.openBlock(),s.createBlock(jx,s.mergeProps({key:0,class:"matchup"},{ref_for:!0},A,{"is-horizontal":!0,"show-admin-controls":n.showAdminControls,"onMatchupEdit:submit":a}),null,16,["show-admin-controls"])):(s.openBlock(),s.createElementBlock("div",Kue))],64))),256))]))}}),Qme="",Yx=Q(Wue,[["__scopeId","data-v-fb604c77"]]),Gue={rounds:{type:Array,required:!0,default:null},showAdminControls:{type:Boolean,required:!1,default:!1}},jue={class:"tournament-bracket"},Yue={class:"round"},que={key:1,class:"empty"},Xue=s.defineComponent({__name:"TournamentBracket",props:Gue,emits:["matchup-edit:submit"],setup(e,{emit:t}){const n=e,r=t;function a(i){r("matchup-edit:submit",i)}return(i,o)=>(s.openBlock(),s.createElementBlock("div",jue,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.rounds,A=>(s.openBlock(),s.createElementBlock("div",Yue,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(A,l=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[l?(s.openBlock(),s.createBlock(jx,{key:0,player1:l.player1,player2:l.player2,games:l.games,"is-horizontal":!1,"match-id":l.matchId,"show-admin-controls":n.showAdminControls,"onMatchupEdit:submit":a},null,8,["player1","player2","games","match-id","show-admin-controls"])):(s.openBlock(),s.createElementBlock("div",que))],64))),256))]))),256))]))}}),Mme="",qx=Q(Xue,[["__scopeId","data-v-5fb5924f"]]),Jue={title:{type:String,required:!0,default:""},createdAt:{type:String,required:!0,default:""}},Zue={class:"content"},efe=s.defineComponent({__name:"TournamentFeedEvent",props:Jue,setup(e){const t=s.inject(wr),n=e;return(r,a)=>(s.openBlock(),s.createBlock(ct,{class:"tournament-feed-event",title:n.title,text:s.unref(t)(n.createdAt).fromNow()},{default:s.withCtx(()=>[s.createElementVNode("div",Zue,[s.renderSlot(r.$slots,"default",{},void 0,!0)])]),_:3},8,["title","text"]))}}),Pme="",ko=Q(efe,[["__scopeId","data-v-c8ad471f"]]),tfe={createdAt:{type:String,required:!0,default:""}},nfe=s.defineComponent({__name:"TournamentFeedEventAdminUpdate",props:tfe,setup(e){const{t}=q(),n=e;return(r,a)=>(s.openBlock(),s.createBlock(ko,{title:s.unref(t)("tournament.feed.adminUpdate"),"created-at":n.createdAt},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(t)("tournament.feed.adminUpdateMessage")),1)]),_:1},8,["title","created-at"]))}}),Nme="",rfe=Q(nfe,[["__scopeId","data-v-9f936feb"]]),afe={id:{type:Number,required:!0,default:0},name:{type:String,required:!0,default:""},cardCode:{type:[String,null],required:!0,default:null},createdAt:{type:String,required:!0,default:""}},ife={class:"content"},ofe=s.defineComponent({__name:"TournamentFeedEventCheckIn",props:afe,setup(e){const{t}=q(),n=fn.useRoute(),r=e,a=s.computed(()=>({name:"profile",params:{id:r.id,lang:n.params.lang}}));return(i,o)=>{const A=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(ko,{title:s.unref(t)("tournament.feed.checkIn"),"created-at":r.createdAt},{default:s.withCtx(()=>[s.createElementVNode("div",ife,[s.createVNode(A,{to:a.value},{default:s.withCtx(()=>[s.createVNode(vt,{class:"card-slice-item","card-code-prop":r.cardCode??void 0,color:null,"ignore-card-item":!0,"mana-number":null,name:r.name,"maintain-aspect-ratio":!0,"router-link":a.value},null,8,["card-code-prop","name","router-link"])]),_:1},8,["to"])])]),_:1},8,["title","created-at"])}}}),Rme="",sfe=Q(ofe,[["__scopeId","data-v-6d9b3357"]]),Afe={createdAt:{type:String,required:!0,default:""}},lfe=s.defineComponent({__name:"TournamentFeedEventCreated",props:Afe,setup(e){const{t}=q(),n=e;return(r,a)=>(s.openBlock(),s.createBlock(ko,{title:s.unref(t)("tournament.feed.created"),"created-at":n.createdAt},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(t)("tournament.feed.createdMessage")),1)]),_:1},8,["title","created-at"]))}}),Hme="",cfe=Q(lfe,[["__scopeId","data-v-f7db2ed6"]]),dfe={isStarting:{type:Boolean,required:!0,default:!1},matchId:{type:Number,required:!0,default:0},player1:{type:Object,required:!0,default:()=>({})},player2:{type:Object,required:!0,default:()=>({})},games:{type:Array,required:!0,default:()=>[]},createdAt:{type:String,required:!0,default:""}},ufe={class:"content"},ffe={class:"players"},pfe={class:"player"},hfe={class:"player-record"},mfe={class:"player-decks"},gfe={class:"player"},yfe={class:"player-record"},bfe={class:"player-decks"},wfe={key:0,class:"result"},Bfe={class:"game-number"},vfe={class:"game-result"},_fe={class:"game-player"},Cfe={class:"game-player-name"},kfe={class:"vs"},xfe={class:"game-player"},Efe={class:"game-player-name"},Sfe=s.defineComponent({__name:"TournamentFeedEventMatchUpdate",props:dfe,setup(e){const{t}=q(),n=fn.useRoute(),r=e;return(a,i)=>(s.openBlock(),s.createBlock(ko,{class:"tournament-feed-event match-update",title:s.unref(t)("tournament.feed.matchUpdate"),"created-at":r.createdAt},{default:s.withCtx(()=>[s.createElementVNode("div",ufe,[s.createElementVNode("div",ffe,[s.createElementVNode("div",pfe,[s.createVNode(vt,{class:"card-slice-item","card-code-prop":r.player1.cardCode??void 0,color:null,"ignore-card-item":!0,"mana-number":null,name:r.player1.name,"maintain-aspect-ratio":!0,"router-link":{name:"profile",params:{id:r.player1.id,lang:s.unref(n).params.lang}}},null,8,["card-code-prop","name","router-link"]),s.createElementVNode("div",hfe,s.toDisplayString(r.games.reduce((o,A)=>A.player1.isVictory?o+1:o,0))+" - "+s.toDisplayString(r.games.reduce((o,A)=>A.player1.isVictory?o:o+1,0)),1),s.createElementVNode("div",mfe,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.player1.decks,o=>(s.openBlock(),s.createBlock(yr,{class:"tournament-deck-result",key:o,"deck-code":o,"show-eye":!0,results:{type:"single",isVictory:r.games.some(A=>A.player1.isVictory&&A.player1.deckCode===o)?!0:null,isBanned:r.player1.bannedDecks.includes(o)}},null,8,["deck-code","results"]))),128))])]),s.createElementVNode("div",gfe,[s.createVNode(vt,{class:"card-slice-item","card-code-prop":r.player2.cardCode??void 0,color:null,"ignore-card-item":!0,"mana-number":null,name:r.player2.name,"maintain-aspect-ratio":!0,"router-link":{name:"profile",params:{id:r.player2.id,lang:s.unref(n).params.lang}}},null,8,["card-code-prop","name","router-link"]),s.createElementVNode("div",yfe,s.toDisplayString(r.games.reduce((o,A)=>A.player2.isVictory?o+1:o,0))+" - "+s.toDisplayString(r.games.reduce((o,A)=>A.player2.isVictory?o:o+1,0)),1),s.createElementVNode("div",bfe,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.player2.decks,o=>(s.openBlock(),s.createBlock(yr,{class:"tournament-deck-result",key:o,"deck-code":o,"show-eye":!0,results:{type:"single",isVictory:r.games.some(A=>A.player2.isVictory&&A.player2.deckCode===o)?!0:null,isBanned:r.player2.bannedDecks.includes(o)}},null,8,["deck-code","results"]))),128))])])]),!r.isStarting&&r.games.length>0?(s.openBlock(),s.createElementBlock("div",wfe,[s.createElementVNode("div",Bfe,s.toDisplayString(s.unref(t)("general.game"))+" "+s.toDisplayString(r.games.length),1),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList([r.games[r.games.length-1]],o=>(s.openBlock(),s.createElementBlock("div",vfe,[s.createElementVNode("div",_fe,[s.createElementVNode("div",Cfe,s.toDisplayString(r.player1.name),1),s.createVNode(yr,{class:"tournament-deck-result","deck-code":o.player1.deckCode,"show-eye":!0,results:{type:"single",isVictory:o.player1.isVictory,isBanned:!1}},null,8,["deck-code","results"])]),s.createElementVNode("div",kfe,s.toDisplayString(s.unref(t)("general.vs")),1),s.createElementVNode("div",xfe,[s.createElementVNode("div",Efe,s.toDisplayString(r.player2.name),1),s.createVNode(yr,{class:"tournament-deck-result","deck-code":o.player2.deckCode,"show-eye":!0,results:{type:"single",isVictory:o.player2.isVictory,isBanned:!1}},null,8,["deck-code","results"])])]))),256))])):s.createCommentVNode("",!0)])]),_:1},8,["title","created-at"]))}}),Vme="",Ffe=Q(Sfe,[["__scopeId","data-v-60efabe2"]]),Ife={createdAt:{type:String,required:!0,default:""}},Dfe=s.defineComponent({__name:"TournamentFeedEventRoundStarted",props:Ife,setup(e){const{t}=q(),n=e;return(r,a)=>(s.openBlock(),s.createBlock(ko,{title:s.unref(t)("tournament.feed.roundStarted"),"created-at":n.createdAt},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(t)("tournament.feed.roundStartedMessage")),1)]),_:1},8,["title","created-at"]))}}),zme="",Tfe=Q(Dfe,[["__scopeId","data-v-8ad5656f"]]),Ufe={id:{type:Number,required:!0,default:0},name:{type:String,required:!0,default:""},cardCode:{type:[String,null],required:!0,default:null},createdAt:{type:String,required:!0,default:""}},Lfe={class:"content"},Ofe=s.defineComponent({__name:"TournamentFeedEventSignUp",props:Ufe,setup(e){const{t}=q(),n=fn.useRoute(),r=s.computed(()=>({name:"profile",params:{id:a.id,lang:n.params.lang}})),a=e;return(i,o)=>{const A=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(ko,{class:"tournament-feed-event match-update",title:s.unref(t)("tournament.feed.signUp"),"created-at":a.createdAt},{default:s.withCtx(()=>[s.createElementVNode("div",Lfe,[s.createVNode(A,{to:r.value},{default:s.withCtx(()=>[s.createVNode(vt,{class:"card-slice-item","card-code-prop":a.cardCode??void 0,color:null,"ignore-card-item":!0,"mana-number":null,name:a.name,"maintain-aspect-ratio":!0,"router-link":r.value},null,8,["card-code-prop","name","router-link"])]),_:1},8,["to"])])]),_:1},8,["title","created-at"])}}}),$me="",Qfe=Q(Ofe,[["__scopeId","data-v-bd9944b6"]]),Mfe={createdAt:{type:String,required:!0,default:""}},Pfe=s.defineComponent({__name:"TournamentFeedEventWithdraw",props:Mfe,setup(e){const{t}=q(),n=e;return(r,a)=>(s.openBlock(),s.createBlock(ko,{title:s.unref(t)("tournament.feed.withdrawal"),"created-at":n.createdAt},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(t)("tournament.feed.withdrawalMessage")),1)]),_:1},8,["title","created-at"]))}}),Kme="",Nfe=Q(Pfe,[["__scopeId","data-v-d3bac452"]]),Rfe={feed:{type:Array,required:!0,default:[]}},Xx=s.defineComponent({__name:"TournamentSidePanel",props:Rfe,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createBlock(Wi,null,{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.feed,a=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[a.type==="sign_up"?(s.openBlock(),s.createBlock(Qfe,s.mergeProps({key:0,ref_for:!0},a),null,16)):s.createCommentVNode("",!0),a.type==="check_in"?(s.openBlock(),s.createBlock(sfe,s.mergeProps({key:1,ref_for:!0},a),null,16)):s.createCommentVNode("",!0),a.type==="match_update"?(s.openBlock(),s.createBlock(Ffe,s.mergeProps({key:2,ref_for:!0},a),null,16)):s.createCommentVNode("",!0),a.type==="withdraw"?(s.openBlock(),s.createBlock(Nfe,s.mergeProps({key:3,ref_for:!0},a),null,16)):s.createCommentVNode("",!0),a.type==="admin_match_update"?(s.openBlock(),s.createBlock(rfe,s.mergeProps({key:4,ref_for:!0},a),null,16)):s.createCommentVNode("",!0),a.type==="round_started"?(s.openBlock(),s.createBlock(Tfe,s.mergeProps({key:5,ref_for:!0},a),null,16)):s.createCommentVNode("",!0),a.type==="created"?(s.openBlock(),s.createBlock(cfe,s.mergeProps({key:6,ref_for:!0},a),null,16)):s.createCommentVNode("",!0)],64))),256))]),_:1}))}}),Hfe={install:async e=>{e.component("RevealCarousel",zp),e.component("SearchBar",Vc),e.component("SocialLinks",bh),e.component("ModalItem",Tr),e.component("FilterSampleSize",es),e.component("FilterRanks",zw),e.component("FilterManaCost",wh),e.component("FilterRarities",Bh),e.component("FilterSets",vh),e.component("FilterKeywords",_h),e.component("FilterServers",ts),e.component("FilterTime",Ki),e.component("FilterCardCodes",$c),e.component("FilterDecks",$w),e.component("FilterProfile",Kw),e.component("FilterText",BA),e.component("FilterAdvanced",xh),e.component("FilterRegions",yA),e.component("FilterCards",Ww),e.component("AdvancedFilterItem",kh),e.component("FilterTypes",Eh),e.component("RegionsLine",Sh),e.component("CardsTable",Gw),e.component("DeckHighlightRegions",_A),e.component("GemsCost",Th),e.component("CardSliceItem",vt),e.component("LanguageSelection",CA),e.component("DeckSidePanel",n4),e.component("DeckHighlight",Ia),e.component("ArchetypeSidePanel",ox),e.component("OpenInDeckBuilderButton",Vg),e.component("CopyDeckButton",yu),e.component("UpdateDeckPrivacyButton",$g),e.component("EditDeckNameButton",Rg),e.component("UploadDeckToLorButton",wu),e.component("DeleteDeckButton",Ng),e.component("OpenArchetypePageButton",Hg),e.component("SimulateMulliganButton",bu),e.component("DecksRow",Gl),e.component("CardItemLinkWrapper",gf),e.component("DeckHighlightCards",kA),e.component("CheckboxItem",nn),e.component("NavigationTopDesktop",G1),e.component("SidePanelSectionPane",ct),e.component("CardSimilarCards",sx),e.component("DashboardSignUp",Ax),e.component("MatchItem",lx),e.component("ToggleSwitch",gA),e.component("LeaderboardTop10Region",j1),e.component("ShareButton",Wg),e.component("LeaderboardDetailRow",Y1),e.component("DeckBlock",cx),e.component("SmallTable",Co),e.component("LeaderboardTop",dx),e.component("CardLottery",ux),e.component("DashboardProfile",fx),e.component("LeaderboardChart",px),e.component("CardQuantityBarChart",hx),e.component("WinsLossesBarChart",mx),e.component("RoundCardInfoBarChart",gx),e.component("LineChart",yx),e.component("ManaCurveChart",kl),e.component("WinrateDoughnutChart",e0),e.component("InfoDoughnutChart",Md),e.component("BuiltDecksTable",bx),e.component("ProfileRegionTable",wx),e.component("ProfileArchetypeTable",Bx),e.component("CardItem3d",Z1),e.component("LeaderboardOptions",vx),e.component("SimilarDecksTable",_x),e.component("LargeTable",ia),e.component("StatisticsPaneContainer",jl),e.component("ArchetypeSidePanelHighlight",Wc),e.component("CardCarousel",Cx),e.component("DeckButtons",xs),e.component("WinsLossesLine",r0),e.component("DashboardCardRow",a0),e.component("CardTogglePage",kx),e.component("TestComponent",xx),e.component("DashboardLeaderboardRow",i0),e.component("DeckPreview",hf),e.component("CheckboxItemManaCost",zc),e.component("RevealDayOptions",Ex),e.component("DeckDifferenceItem",$1),e.component("DashboardNewCards",Sx),e.component("CardsRow",Fh),e.component("LeaderboardDetailTable",Fx),e.component("DeckIcon",Ix),e.component("LogoIcon",Ns),e.component("FollowerIcon",A0),e.component("ChampionIcon",l0),e.component("EternalIcon",q1),e.component("InfoIcon",W1),e.component("LandmarkIcon",c0),e.component("ManaHexagonIcon",uA),e.component("RuneterraIcon",Kg),e.component("ShardsIcon",Dh),e.component("StandardIcon",X1),e.component("SpellIcon",d0),e.component("GauntletIcon",J1),e.component("EquipmentIcon",u0),e.component("NavigationTop",Dx),e.component("CardMultiselect",Ch),e.component("ProfileDropdown",Tx),e.component("ColorPicker",Ux),e.component("DashboardLeaderboardTable",Lx),e.component("NavigationSide",f0),e.component("ArchetypesTable",Ox),e.component("DeckBuilderSummary",m0),e.component("DeckBuilderSummaryType",Ci),e.component("DashboardCardTable",Qx),e.component("ArchetypesRow",h0),e.component("RevealDayOption",s0),e.component("DeckHighlightEye",mf),e.component("DeckDifferences",K1),e.component("ZoomSlider",Mx),e.component("CardOverview",Px),e.component("CircleCardItem",oa),e.component("ProfileGameTypeWinrate",Nx),e.component("DecksTable",Rx),e.component("RegionItem",vA),e.component("TippyText",Kc),e.component("ProfileRegionRow",t0),e.component("SimulateMulligan",zg),e.component("DeckSummary",gu),e.component("NavigationTopMobile",p0),e.component("CardItem",Vi),e.component("ProfileArchetypeRow",n0),e.component("DeckBuilderSidePanel",Hx),e.component("SimpleDoughnutChart",zx),e.component("RegionDistributionChart",Vx),e.component("DeckButtonsDropdown",g0),e.component("Spinner",Ih),e.component("ToastContainer",C0),e.component("TournamentTimeline",$x),e.component("TournamentPlayerTable",Kx),e.component("TournamentSwissRoundOptions",Wx),e.component("TournamentSwissRound",Yx),e.component("TournamentBracket",qx),e.component("TournamentSidePanel",Xx),e.component("FontAwesomeIcon",ke),e.component("Multiselect",Yt)}};I.AdvancedFilterItem=kh,I.ArchetypeSidePanel=ox,I.ArchetypeSidePanelHighlight=Wc,I.ArchetypesRow=h0,I.ArchetypesTable=Ox,I.BuiltDecksTable=bx,I.CardCarousel=Cx,I.CardImageType=Bt,I.CardItem=Vi,I.CardItem3d=Z1,I.CardItemLinkWrapper=gf,I.CardLottery=ux,I.CardMultiselect=Ch,I.CardOverview=Px,I.CardQuantityBarChart=hx,I.CardSimilarCards=sx,I.CardSliceItem=vt,I.CardTogglePage=kx,I.CardsRow=Fh,I.CardsTable=Gw,I.ChampionIcon=l0,I.CheckboxItem=nn,I.CheckboxItemManaCost=zc,I.CircleCardItem=oa,I.ColorPicker=Ux,I.CopyDeckButton=yu,I.DashboardCardRow=a0,I.DashboardCardTable=Qx,I.DashboardLeaderboardRow=i0,I.DashboardLeaderboardTable=Lx,I.DashboardNewCards=Sx,I.DashboardProfile=fx,I.DashboardSignUp=Ax,I.DeckBlock=cx,I.DeckBuilderSidePanel=Hx,I.DeckBuilderSummary=m0,I.DeckBuilderSummaryType=Ci,I.DeckButtons=xs,I.DeckButtonsDropdown=g0,I.DeckDifferenceItem=$1,I.DeckDifferences=K1,I.DeckHighlight=Ia,I.DeckHighlightCards=kA,I.DeckHighlightEye=mf,I.DeckHighlightRegions=_A,I.DeckIcon=Ix,I.DeckPreview=hf,I.DeckSidePanel=n4,I.DeckSummary=gu,I.DecksRow=Gl,I.DecksTable=Rx,I.DeleteDeckButton=Ng,I.EditDeckNameButton=Rg,I.EquipmentIcon=u0,I.EternalIcon=q1,I.FilterAdvanced=xh,I.FilterCardCodes=$c,I.FilterCards=Ww,I.FilterDecks=$w,I.FilterKeywords=_h,I.FilterManaCost=wh,I.FilterProfile=Kw,I.FilterRanks=zw,I.FilterRarities=Bh,I.FilterRegions=yA,I.FilterSampleSize=es,I.FilterServers=ts,I.FilterSets=vh,I.FilterText=BA,I.FilterTime=Ki,I.FilterTypes=Eh,I.FollowerIcon=A0,I.GauntletIcon=J1,I.GemsCost=Th,I.InfoDoughnutChart=Md,I.InfoIcon=W1,I.LandmarkIcon=c0,I.LanguageSelection=CA,I.LargeTable=ia,I.LeaderboardChart=px,I.LeaderboardDetailRow=Y1,I.LeaderboardDetailTable=Fx,I.LeaderboardOptions=vx,I.LeaderboardTop=dx,I.LeaderboardTop10Region=j1,I.LineChart=yx,I.LogoIcon=Ns,I.ManaCurveChart=kl,I.ManaHexagonIcon=uA,I.MatchItem=lx,I.ModalItem=Tr,I.NavigationSide=f0,I.NavigationTop=Dx,I.NavigationTopDesktop=G1,I.NavigationTopMobile=p0,I.OpenArchetypePageButton=Hg,I.OpenInDeckBuilderButton=Vg,I.ProfileArchetypeRow=n0,I.ProfileArchetypeTable=Bx,I.ProfileDropdown=Tx,I.ProfileGameTypeWinrate=Nx,I.ProfileRegionRow=t0,I.ProfileRegionTable=wx,I.RegionDistributionChart=Vx,I.RegionItem=vA,I.RegionsLine=Sh,I.RevealCarousel=zp,I.RevealDayOption=s0,I.RevealDayOptions=Ex,I.RoundCardInfoBarChart=gx,I.RuneterraIcon=Kg,I.SearchBar=Vc,I.ShardsIcon=Dh,I.ShareButton=Wg,I.SidePanelSectionPane=ct,I.SimilarDecksTable=_x,I.SimpleDoughnutChart=zx,I.SimulateMulligan=zg,I.SimulateMulliganButton=bu,I.SmallTable=Co,I.SocialLinks=bh,I.SpellIcon=d0,I.Spinner=Ih,I.StandardIcon=X1,I.StatisticsPaneContainer=jl,I.TestComponent=xx,I.TippyText=Kc,I.ToastContainer=C0,I.ToggleSwitch=gA,I.TournamentBracket=qx,I.TournamentPlayerTable=Kx,I.TournamentSidePanel=Xx,I.TournamentSwissRound=Yx,I.TournamentSwissRoundOptions=Wx,I.TournamentTimeline=$x,I.UpdateDeckPrivacyButton=$g,I.UploadDeckToLorButton=wu,I.WinrateDoughnutChart=e0,I.WinsLossesBarChart=mx,I.WinsLossesLine=r0,I.ZoomSlider=Mx,I.default=Hfe,I.getCardsFromDeck=Zt,I.getDate=pE,I.getDeckObjectFromCode=kt,I.getMostImportantCards=jr,I.getRegionNameOfRegionRef=xf,I.getRegions=Hs,I.importIcons=gI,I.keyDayjs=wr,I.regionOfCard=Ef,I.setupi18n=u8,I.useAcquiredCardsStore=Jl,I.useCallbacksStore=ve,I.useCardJsonObjectStore=hn,I.useCardJsonStore=Tp,I.useDataJsonStore=Be,I.useFilterStore=yI,I.useSearchBarOptionsStore=h2,I.useToastsStore=_f,I.useUserStore=Jt,Object.defineProperties(I,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
726
|
+
${t(i.value).fromNow()}`)),l=s.computed(()=>{const c=[];return n.activated&&c.push("activated"),n.soon&&c.push("soon"),o.value&&c.push("past"),c});return s.onMounted(()=>{tt(r.value,{content:a.value,arrow:!0,delay:[0,0],duration:[0,0]})}),(c,d)=>(s.openBlock(),s.createElementBlock("div",tle,[s.createElementVNode("div",{ref_key:"revealDayOption",ref:r,class:s.normalizeClass(["reveal-day-option",l.value])},[s.createElementVNode("div",nle,[s.createElementVNode("img",{src:s.unref(o0),alt:"card",class:"card"},null,8,rle)]),s.createElementVNode("div",ale,[s.createElementVNode("img",{src:s.unref(o0),alt:"card",class:"card"},null,8,ile)]),s.createElementVNode("div",ole,[s.createElementVNode("img",{src:s.unref(o0),alt:"card",class:"card"},null,8,sle)])],2),s.createElementVNode("div",{ref_key:"revealDayOptionTippy",ref:a},[s.createVNode(Kc,{text:A.value},null,8,["text"])],512)]))}}),Jhe="",s0=Q(Ale,[["__scopeId","data-v-daac7e87"]]),lle={days:{type:Array,required:!0,default:[]},date:{type:String,required:!0,default:""}},cle={class:"reveal-day-options"},dle=s.defineComponent({__name:"RevealDayOptions",props:lle,emits:["update:date"],setup(e,{emit:t}){const n=e,r=t;function a(i){n.days[i].available&&r("update:date",n.days[i].date)}return(i,o)=>(s.openBlock(),s.createElementBlock("div",cle,[o[0]||(o[0]=s.createElementVNode("div",{class:"line"},null,-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.days,(A,l)=>(s.openBlock(),s.createBlock(s0,{key:A.date,date:A.date,activated:A.date===n.date,soon:A.soon,available:A.available,onClick:c=>a(l)},null,8,["date","activated","soon","available","onClick"]))),128))]))}}),Zhe="",Ex=Q(dle,[["__scopeId","data-v-3ca708c1"]]),ule={cardCodes:{type:Array,required:!0,default:[]}},fle=s.defineComponent({__name:"DashboardNewCards",props:ule,setup(e){const{t}=q(),n=e,r=[{title:t("general.newCards"),id:"newCards"}];return(a,i)=>(s.openBlock(),s.createBlock(Co,{class:"small-table","heading-items":r},{default:s.withCtx(()=>[s.createVNode(zp,{class:"reveal-carousel","card-codes":n.cardCodes},null,8,["card-codes"])]),_:1}))}}),eme="",Sx=Q(fle,[["__scopeId","data-v-89a26f2c"]]),ple={players:{type:Array,required:!0,default:[]},shownColumns:{type:Object,required:!0,default:{player:!0,lp:!0,change:!0,wins:!0,matches:!0,winrate:!0,deck:!0}},loading:{type:Boolean,required:!1,default:!1}},hle=s.defineComponent({__name:"LeaderboardDetailTable",props:ple,emits:["sort-updated"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref([{id:"player",isShown:r.shownColumns.player,sortDirection:_e.UP,title:n("general.player")},{id:"lp",isShown:r.shownColumns.lp,sortDirection:_e.NEITHER,title:n("general.lp")},{id:"change",isShown:r.shownColumns.change,sortDirection:_e.NEITHER,title:n("general.change")},{id:"wins",isShown:r.shownColumns.wins,sortDirection:_e.NEITHER,title:n("general.wins")},{id:"matches",isShown:r.shownColumns.matches,sortDirection:_e.NEITHER,title:n("general.matches")},{id:"winrate",isShown:r.shownColumns.winrate,sortDirection:_e.NEITHER,title:n("general.winrate")},{id:"deck",isShown:r.shownColumns.deck,sortDirection:_e.NOT_SORTABLE,title:n("general.favoriteDeck")}]),o=s.computed(()=>({"--columns":i.value.filter(l=>l.isShown).length}));function A(l){const c=Gi(l,i);c&&a("sort-updated",c)}return(l,c)=>(s.openBlock(),s.createBlock(ia,{class:"large-table",loading:r.loading,style:s.normalizeStyle(o.value),"heading-items":i.value,onToggleSort:A},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.players,(d,u)=>(s.openBlock(),s.createBlock(Y1,s.mergeProps({key:`${d.rank}${d.name}${d.user_id}`},{ref_for:!0},d,{index:u+2,"shown-columns":r.shownColumns,"router-link":s.unref(ve)().callbacks.playerRouterLinkCallback(d)}),null,16,["index","shown-columns","router-link"]))),128))]),_:1},8,["loading","style","heading-items"]))}}),tme="",Fx=Q(hle,[["__scopeId","data-v-11a25b9c"]]),nme="",mle={},gle={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400"};function yle(e,t){return s.openBlock(),s.createElementBlock("svg",gle,[...t[0]||(t[0]=[s.createElementVNode("path",{d:"M107 57.2C23 99 25 97.6 22.2 106.3c-3.4 10.4-6 4 43.5 103.1l44 88.3.5-6.6c.4-4.6 1-7.7 2.4-10.4l1.9-3.7-40-80.8c-22.1-44.4-40.1-81.5-40.1-82.4 0-5-.9-4.5 78-43.9l75-37.4 3.4 1.1 3.3 1.2 49.8 99.6c33 65.8 49.8 100.4 49.8 102 0 4.9-1 5.5-28.2 19.2l-26 13 15.4.1h15.4l13.9-6.9c19.2-9.6 23.1-14 23.2-25.6v-5.7L257 129.6C221.5 58.6 206 28 204 26c-4-4.2-9.6-6.5-15.8-6.5h-5.1L107 57.2m121.5-15.8 3.5 7h29.6c26 0 29.7.2 31.3 1.3 4 2.8 4 1.9 4 68v61.6l6.6 12.9 6.6 12.9v-76.3c0-90 .7-84.8-11.8-91.7l-4.2-2.3-34.6-.3-34.6-.2 3.6 7m95.7 42.1V91l24.3 12.1c25.1 12.5 28 14.5 28 18.7 0 1.3-10.8 24-26.1 55l-26.2 53 .2 14.9.2 14.8 32.8-65.8 32.8-65.8v-5.5a20 20 0 0 0-7-16 739.5 739.5 0 0 0-58.6-30.6c-.2 0-.4 3.4-.4 7.6M126.5 285.1c-4.2 4.2-2 10.3 4 11.4 1.5.2 57.1.3 123.6.2l120.9-.2 1.9-2c3-3 3-6.9 0-9.8l-1.8-1.9H128.8l-2.3 2.3m1.9 25.8c-4.5 1.8-5.5 7.5-1.9 11l2.3 2.3h122.4c130.4 0 125.8.1 127.2-3.5 1.5-3.8.3-7.8-2.7-9.4-2.5-1.3-244-1.7-247.3-.4m-2.3 29.3c-2.6 2.6-2.6 6.6.2 9.3l2 2h246.8l1.9-1.9c2.6-2.6 2.6-7.2.1-9.6l-1.8-1.7H128l-2 1.9m.6 27c-3.7 3.5-3 8.9 1.4 11.1 2.6 1.3 9.8 1.4 124.8 1.2l122-.2 2-2c3-3 3-6.9 0-9.8l-1.8-1.9H251.7c-122.8 0-123.3 0-125 1.6"},null,-1)])])}const Ix=Q(mle,[["render",yle],["__scopeId","data-v-c8a918ec"]]),rme="",ble={},wle={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 431.6"};function Ble(e,t){return s.openBlock(),s.createElementBlock("svg",wle,[...t[0]||(t[0]=[s.createElementVNode("path",{d:"m178 26.2-8.6 1.8-9.6 2c-2.6.6-6.6 1.5-8.8 1.8-2.2.4-5.7 1-7.8 1.6l-8.8 1.8-8.8 1.8-8.6 1.8c-2.6.5-6.2 1.2-8 1.7l-8.8 1.7-8.6 1.8-6.6 1.4c-3.2.5-14.1 2.9-18.3 3.9-4.2 1-4.4 2.2-2.2 15.1 4.2 24.3 5.2 51.8 2.9 80.4l-.8 10.8c-.2 2-.8 6.9-1.4 10.6-.6 3.7-1.5 9-1.8 11.8-.4 2.8-1.2 7-1.8 9.6a138 138 0 0 0-1.8 8.3c-.3 2-1.1 5.3-1.8 7.4l-1.6 6.1c-.8 4-3.8 14.2-7.1 23.6a191.2 191.2 0 0 1-5.7 15.3L39 259.8c-.7 2-1.7 4.2-2.1 5l-8.5 17c-3.4 7-3.6 6.6 11.3 17a13873.6 13873.6 0 0 1 92 64.6c17.4 12.3 16.5 12.7 18-8L151 332c.6-12 .9-16 2-30.4.6-7.2 1-13.3 1.8-30.2l1.2-18c1.6-20.9 3-46.9 2.6-48.9-.4-2.3-1.8-2.8-5-1.8-9.2 3-18 4.4-23 3.7-15.1-2-25.3-12.8-29.8-31.8a95.5 95.5 0 0 1-2.6-29.8c0-19.7.1-20 5.5-21.6a691 691 0 0 0 14.5-4.2 583.1 583.1 0 0 0 24-6.8 88 88 0 0 0 6.4-1.8c2-.6 4.9-1.5 6.4-1.8 1.5-.3 4.7-1.3 7-2l5-1.4 5-1.4c12-3.9 13.8-3.9 28.5.4a746 746 0 0 0 23 6.5c.4.2 2.3.8 4.3 1.3 2 .4 5.2 1.4 7.2 2l6.4 1.8c1.5.3 4.2 1 5.8 1.6l7.4 2.2c19 5 18.6 4.5 18.6 24.2 0 48.9-20.7 71.2-55 59.3-6.4-2.2-6.8-1.3-5.6 13a948 948 0 0 1 1.8 30.3c.2 4.7.9 14.2 1.4 21 1.1 14.4 1.6 22.6 2.2 34.8.2 4.8.9 14.7 1.4 21.8 1 12.3 1.2 16.4 2.2 36 .9 16.2-.6 16.4 26.2-2.6a2102.7 2102.7 0 0 1 24.8-17.3c2.6-2 7.1-5 10-7.1a3744.4 3744.4 0 0 1 30.2-21.1l17.8-12.5c13.2-9.2 14-9.9 13.7-12.5-.2-2-.5-2.7-3.4-8.1a164.8 164.8 0 0 1-10.7-22.4 292 292 0 0 1-9.5-25.4 292 292 0 0 1-7.2-25.2 345.8 345.8 0 0 1-10.4-64.4c-.9-7.7-.6-44.7.4-53.6l1.7-15.4 1.4-10.6c2-9.4 2-10.2-.1-11.7-.7-.4-2.1-1-3.2-1l-6.5-1.5-9.5-2c-2.7-.4-6.7-1.2-8.8-1.8l-6.9-1.4c-1.7-.3-5.7-1-9-1.8l-9.8-2c-2-.3-5.5-1-7.6-1.6l-8.8-1.8-8.8-1.8c-2.1-.5-5.6-1.3-7.8-1.6-2.2-.4-5.8-1.1-8-1.7l-9.4-2c-3-.4-7.3-1.3-9.6-1.9a28.3 28.3 0 0 0-14.8 0"},null,-1)])])}const A0=Q(ble,[["render",Ble],["__scopeId","data-v-4a6733fd"]]),ame="",vle={},_le={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 429.1"};function Cle(e,t){return s.openBlock(),s.createElementBlock("svg",_le,[...t[0]||(t[0]=[s.createElementVNode("path",{d:"M53.8 32.8c-2.6 1-8.3 12.9-13.6 28l-2.1 5.8c-.4 1.1-1.1 3.5-1.5 5.4L35 78.8a84.1 84.1 0 0 0-2.6 14.1c0 2.7.8 4.1 7.4 12.5 16.7 21.3 16.7 21 2.2 21-13.3 0-13-.3-12.7 11.8.2 8.4.7 11.8 1.9 14.2.9 1.7 1.7 2.7 27 35.3 8.1 10.6 7.8 11.5-4.2 11.5-11.9 0-12 .3-4.4 16.9a269.4 269.4 0 0 0 28.7 47.7c8.4 11 8.6 11.5 9 19.8.5 8 1.1 11.4 4.3 24.4 7 28.8 30 57 60 73.2a97 97 0 0 1 5 2.8l3 1.4c1.5.5 3.5 1.4 4.5 2 2.8 1.4 10.6 4 11.6 3.6 2.1-.5 2.4-3.6 1-10.6-.6-2.6-1.4-7.3-1.9-10.6-.4-3.2-1.2-7.6-1.6-9.7a218 218 0 0 1-2.6-15.1l-1.8-10.2-1.6-8.2c-1-5.6-.9-5.5-13-5.8-10.4-.2-11-.4-12.3-2.5-.4-.7-.5-7-.7-28.7-.2-26.2-.2-27.9-1-29.2-.4-.8-5.5-6.3-11.4-12.2-5.9-6-11-11.4-11.4-12.2-.8-1.5-1.3-65.8-.5-68.5.7-2.6 2.6-2.3 7.3 1.3l6.8 4.9a1371.6 1371.6 0 0 1 25 17.9c16.1 11.6 25 18.2 26.2 19.7l1.2 1.6.2 28.6c.2 31.6.1 30.2 2.8 32 1.7 1.1 28 1.4 30.6.3 3-1.2 2.8.6 3-31.4.2-31.9 0-29.5 3-32.5 1.7-1.5 7.1-5.6 18.6-13.7a3147.5 3147.5 0 0 0 38.3-27.6c4.4-3.3 6-3.6 7-1.2.7 2 .4 66.8-.3 68.3-.4.7-5.4 6-11.2 11.9-5.7 5.8-10.9 11.3-11.4 12.2l-1 1.6-.2 27.8c-.3 35 1.2 31.2-12.6 31.6-12 .3-12.2.4-13.6 12.6-.3 2.9-1 7.3-1.4 9.8-1.4 8.3-2 11.7-2.6 17-.3 2.9-1 7.5-1.6 10.4-1 5.6-2.2 14.1-2.2 16.9 0 2 1 3.3 2.8 3.3a93.6 93.6 0 0 0 21.9-9.4 124.7 124.7 0 0 0 47-44.9 128.2 128.2 0 0 0 15.9-52.5c.7-11.5 0-9.7 11.7-27.2l10.4-15.6c2.3-3.3 18.2-34.8 19-37.7 1.1-3.3-.8-4.3-8.8-4.3-11.8-.1-11.9.1 3.4-20.2a1330 1330 0 0 0 15.4-20.8c4.9-6.6 5.5-8.5 6.6-20.9.6-6.3.4-8.2-1-9.6l-1.1-1.1-9-.2c-13.5-.3-13.6-.6-4.2-13.4 14.6-19.7 14.1-18.3 11-31a188 188 0 0 0-9.9-31.1c-2.8-8-7.8-17.3-9.9-18.1-2.6-1.1-1.7-2.8-24.6 43-20.2 40.3-21.3 42.4-22.7 43.2-2.1 1.1-3 .5-6.3-4.2A118.4 118.4 0 0 0 237.3 71a122.9 122.9 0 0 0-76 2 73.7 73.7 0 0 0-14.9 6.9c-13.8 7-29.8 21.3-39.1 35-3.3 4.8-5.2 5.6-7.4 3.1L78.4 75.7c-22.4-44.9-22-44-24.6-43"},null,-1)])])}const l0=Q(vle,[["render",Cle],["__scopeId","data-v-b519ac08"]]),ime="",kle={},xle={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 470.8"};function Ele(e,t){return s.openBlock(),s.createElementBlock("svg",xle,[...t[0]||(t[0]=[s.createElementVNode("path",{"fill-rule":"evenodd",d:"M60.6 11c-.5.8-.6 17.6-.5 157l.1 156 1 .8c1.5 1.3 278.4 1.2 279.6 0 1.3-1.3 1.2.8 1.1-81.1l-.1-78.6-1.3-1.1c-1-.9-4.5-2.2-16-6-38.4-12.5-36.7-12-38-10.7-.7.7-.7 5.1-.9 64.4l-.2 63.7-.9 2.2c-3.9 9.5-11 14-23.1 14.3-12.4.3-20-3.6-24.3-12.3-2.4-4.8-2.3-1.4-2.3-95v-87l-1-1.1c-1.2-1.4 1-.6-31.6-12.6a552 552 0 0 0-25.5-9.1c-2.5 0-2.3-8.5-2.3 98.8 0 60.3-.2 98.7-.4 100.8-2.7 23.7-41.9 26.6-49.7 3.6l-.9-2.6-.2-120.9-.2-120.9-1-1c-.7-.6-5-2.5-12.6-5.3C59.9 8.6 61.7 9.2 60.6 10.9m.9 356.3c-2.6.5-3 1.8-3 7.7-.1 12.3-5.7 18.7-24.6 28.2-11.4 5.6-16.6 10.9-19.3 19.3a86 86 0 0 0-.9 19.5l-.2 17.3 1 1 1 1h368.1l1-1c.7-.6 1-1.6 1.2-3.2.4-3.3 0-28.3-.6-31.4-1.9-10.7-8-17.3-22-23.4-17.3-7.6-21.8-13.2-22.6-28.5-.3-4.5-.4-5-1.3-5.8l-1-.9H200.7c-75.7 0-138.4 0-139.2.2"},null,-1)])])}const c0=Q(kle,[["render",Ele],["__scopeId","data-v-f1928c9e"]]),ome="",Sle={},Fle={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 459.4"};function Ile(e,t){return s.openBlock(),s.createElementBlock("svg",Fle,[...t[0]||(t[0]=[s.createElementVNode("path",{d:"M175.3 29.5c-1.7.3-.9 1.5 6.1 8.9A57.6 57.6 0 0 1 200 82.6a63.5 63.5 0 0 1-5 25.1 63.5 63.5 0 0 1-23 27.5c-4.6 2.7-6.3 2-14.8-6.2-7.9-7.7-8-7.8-11.1-6.2-2.6 1.3-14.6 12-20.5 18.2l-9.6 10a349.5 349.5 0 0 0-35.5 43.8c-3.1 4.6-6 9.1-9.3 15.2a753 753 0 0 1-5.2 9.2c-.9 1.4-2 3.7-2.4 5-.4 1.2-1.3 3.2-2 4.4l-2.2 4.8a52 52 0 0 1-1.8 4.2c-.4.8-1.3 3.2-2 5.4l-2.2 6c-.5 1-1.3 3.8-1.8 6l-2 7.7a62 62 0 0 0-1.8 8c-3.2 23.5-3 26.6 1.7 31A154.6 154.6 0 0 0 73 318a254 254 0 0 0 33.9 16.2c2.4 1.3 12.6 4.6 19 6.3 3.6 1 7.4 2 8.4 2.4l7.4 1.6c3 .5 7.5 1.4 9.8 2 2.7.6 7.5 1.3 13.2 1.8 5 .4 11.5 1 14.6 1.4 3.8.4 9.7.6 18.6.6 18.5 0 19.9 1.2 13.7 11.9a86.4 86.4 0 0 1-50.1 39.8c-1.4.6-4.1 1.4-6 2-1.9.4-5.2 1.3-7.4 2-2.2.6-6.3 1.4-9.2 1.7-6 .7-10 1.5-10.7 2.2-1.3 1.2 2.5 4 7 5.1l8.3 2.3c2.8.8 6.8 1.7 9 2l15.8 2.6c6.9 1.3 29.5 2 39.8 1.2 6.5-.4 8-.6 18.2-2.4l8.3-1.4c2-.3 5.7-1.2 8-2 2.4-.7 5.4-1.6 6.7-1.8 1.3-.3 3.8-1 5.6-1.8l6-2.2c1.5-.5 3.7-1.3 4.7-1.9l4.2-1.8a228 228 0 0 0 22-11.7c20.9-13.4 40-38.5 44.7-58.8l1.8-6c1.7-4.9 1.9-5.8 2.6-13.2a116.3 116.3 0 0 0-10.4-71l-1.4-2.7c-.4-1-2.5-4.5-6-9.7-4.3-6.6-7.5-7.3-10-2.3-3.1 6.1-15.8 20.3-23.2 25.8a81.5 81.5 0 0 1-71.1 13.4l-6.3-2.3a93 93 0 0 1-38.7-30.1c-4-5.7-4-7.3-.4-12.8a82.1 82.1 0 0 1 38.7-30.2c17-7.5 42.3-7.4 57.2.3 8.8 4.5 10.9 2.5 9.2-9.2-.3-2.2-.6-6.5-.6-9.6a129 129 0 0 0-4.6-34.6 75.6 75.6 0 0 0-3.6-13.8c-4.5-17-18-42.2-32-59.6a193.3 193.3 0 0 0-27.5-25.9 82.1 82.1 0 0 0-18-10.3c-3-1.8-14.6-4.6-17-4.1"},null,-1)])])}const d0=Q(Sle,[["render",Ile],["__scopeId","data-v-b1448e85"]]),sme="",Dle={},Tle={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function Ule(e,t){return s.openBlock(),s.createElementBlock("svg",Tle,[...t[0]||(t[0]=[s.createElementVNode("path",{d:"M9.51 16.698 2.244 9.18 1 11.478l6.226 6.264 2.283-1.044ZM6.189 6.676 4.943 5.423 7.02 3.335l1.245 1.253L6.19 6.676ZM9.302 14.61 4.113 9.39l.83-1.044H6.19l3.736-3.55V3.545L10.962 2.5l4.981.626.415 4.803-.83.835-1.453.209-.83 1.043 1.453 1.253.83-.835 1.453.626-4.15 4.176L12 13.775l.83-.835-1.453-1.462-1.037 1.253v1.252l-1.038.627ZM20.924 21.5l-6.018-6.473 1.66-1.67L23 19.412 20.924 21.5Z"},null,-1)])])}const u0=Q(Dle,[["render",Ule],["__scopeId","data-v-e5501fa0"]]),Lle={...yf,expanded:{type:Boolean,required:!1,default:!1}},Ole={class:"content logo no-scrollbar"},Qle={class:"nav-icon-wrapper"},Mle={class:"nav-text"},Ple={class:"nav-icon-wrapper"},Nle={class:"nav-text"},Rle={class:"profile content"},Hle={class:"nav-icon-wrapper"},Vle={class:"nav-text"},zle={class:"nav-icon-wrapper"},$le={class:"nav-text"},Kle={class:"nav-icon-wrapper"},Wle={class:"nav-text"},Gle={class:"nav-icon-wrapper"},jle={class:"nav-text settings"},Yle={class:"nav-icon-wrapper"},qle={class:"nav-text"},Xle={class:"text-content"},Jle={class:"nav-icon-wrapper"},Zle={class:"nav-text name"},ece={class:"nav-icon-wrapper"},tce={class:"nav-text settings"},nce=["href"],rce={class:"nav-icon-wrapper"},ace={class:"nav-text sign-in-container"},ice={class:"fancy-button"},oce=s.defineComponent({__name:"NavigationSide",props:Lle,emits:["click:sync","click:sign-in","click:sign-out","click:language"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=s.ref(),i=s.ref();let o;const A=t,l=s.computed(()=>{const d=Jt().user;if(!d||!d.isPremium&&!d.isAdFree)return n("general.premium");const u=d.isPremium,f=n(u?"premium.premium.title":"premium.adFree.title"),p=u?d.premiumExpiresAt:d.adFreeExpiresAt,h=u?d.isRenewingPremium:d.isRenewingAdFree,m=n(h?"general.renews":"general.expires");if(p){const b=j(p).diff(j(),"days");return n("navigation.subscriptionStatus",{type:f,event:m,days:b})}return f});s.onMounted(()=>{var d;o=new ResizeObserver(c),a.value&&o.observe(a.value),(d=i.value)==null||d.addEventListener("scroll",c),c()}),s.onUnmounted(()=>{var d;o.disconnect(),(d=i.value)==null||d.removeEventListener("scroll",c)});function c(){var f,p;let d=!1,u=!1;i.value&&(i.value.clientHeight<i.value.scrollHeight&&(d=i.value.scrollTop>0,u=i.value.scrollTop<i.value.scrollHeight-i.value.clientHeight),(f=i.value)==null||f.classList.toggle("scrollable-up",d),(p=i.value)==null||p.classList.toggle("scrollable-down",u))}return(d,u)=>(s.openBlock(),s.createElementBlock("div",{ref_key:"navigationSide",ref:a,class:s.normalizeClass(["navigation-side",r.expanded?"expanded":""])},[s.createElementVNode("div",Ole,[s.createVNode(s.unref(fn.RouterLink),{to:r.homeLink,class:"nav-item"},{default:s.withCtx(()=>[s.createElementVNode("div",Qle,[s.createVNode(Ns,{"logo-type":"logo-only"})]),s.createElementVNode("div",Mle,[s.createVNode(Ns,{"logo-type":"text-only"})])]),_:1},8,["to"])]),s.createElementVNode("div",{ref_key:"navigationPages",ref:i,class:"pages content no-scrollbar"},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.items,f=>(s.openBlock(),s.createBlock(s.unref(fn.RouterLink),{key:f.text,to:f.routerLocation,class:s.normalizeClass(["nav-item",f.highlighted?"highlight":""])},{default:s.withCtx(()=>[s.createElementVNode("div",Ple,[s.createVNode(s.unref(ke),{class:"nav-icon",icon:f.faIcon},null,8,["icon"])]),s.createElementVNode("div",Nle,s.toDisplayString(f.text),1)]),_:2},1032,["to","class"]))),128))],512),s.createElementVNode("div",Rle,[s.createVNode(s.unref(fn.RouterLink),{to:s.unref(ve)().callbacks.premiumLinkCallback(),class:"nav-item premium"},{default:s.withCtx(()=>[s.createElementVNode("div",Hle,[s.createVNode(s.unref(ke),{class:"nav-icon",icon:"crown"})]),s.createElementVNode("div",Vle,s.toDisplayString(l.value),1)]),_:1},8,["to"]),s.unref(Jt)().user?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createVNode(s.unref(fn.RouterLink),{to:r.links.gift,class:"nav-item"},{default:s.withCtx(()=>[s.createElementVNode("div",zle,[s.createVNode(s.unref(ke),{class:"nav-icon",icon:"gift"})]),s.createElementVNode("div",$le,s.toDisplayString(s.unref(n)("general.openCards")),1)]),_:1},8,["to"]),s.createVNode(s.unref(fn.RouterLink),{to:r.links.personalization,class:"nav-item"},{default:s.withCtx(()=>[s.createElementVNode("div",Kle,[s.createVNode(s.unref(ke),{class:"nav-icon",icon:"paintbrush"})]),s.createElementVNode("div",Wle,s.toDisplayString(s.unref(n)("settings.personalization")),1)]),_:1},8,["to"]),s.createVNode(s.unref(fn.RouterLink),{to:r.links.settings,class:"nav-item"},{default:s.withCtx(()=>[s.createElementVNode("div",Gle,[s.createVNode(s.unref(ke),{class:"nav-icon",icon:"cog"})]),s.createElementVNode("div",jle,[s.createElementVNode("div",null,s.toDisplayString(s.unref(n)("general.settings")),1),s.createVNode(s.unref(CA),{class:"language-selection icon",onClick:u[0]||(u[0]=s.withModifiers(()=>{},["stop","prevent"]))})])]),_:1},8,["to"]),s.createElementVNode("div",{class:s.normalizeClass(["nav-item",{syncing:r.syncProgress!==void 0}]),onClick:u[1]||(u[1]=f=>A("click:sync"))},[s.createElementVNode("div",Yle,[s.createVNode(s.unref(ke),{class:s.normalizeClass(["nav-icon",{spin:r.syncProgress!==void 0}]),icon:"rotate-right"},null,8,["class"])]),s.createElementVNode("div",qle,[s.createElementVNode("span",Xle,[s.createTextVNode(s.toDisplayString(s.unref(n)("general.syncUserData"))+" ",1),r.syncProgress!==void 0?(s.openBlock(),s.createElementBlock("span",{key:0,class:"progress-text",style:s.normalizeStyle({width:`${r.syncProgress}%`})},s.toDisplayString(s.unref(n)("general.syncUserData")),5)):s.createCommentVNode("",!0)])])],2),s.createVNode(s.unref(fn.RouterLink),{to:r.links.profile,class:"nav-item"},{default:s.withCtx(()=>{var f,p,h,m,b;return[s.createElementVNode("div",Jle,[(s.openBlock(),s.createBlock(oa,{key:`${(f=s.unref(Jt)().user)==null?void 0:f.selectedIconCard}${(p=s.unref(Jt)().user)==null?void 0:p.selectedBannerColor}`,"card-code-prop":((h=s.unref(Jt)().user)==null?void 0:h.selectedIconCard)??"05BC160","ignore-card-item":!0,"color-override":(m=s.unref(Jt)().user)==null?void 0:m.selectedBannerColor,"router-link":r.links.profile},null,8,["card-code-prop","color-override","router-link"]))]),s.createElementVNode("div",Zle,[s.createElementVNode("div",null,s.toDisplayString((b=s.unref(Jt)().user)==null?void 0:b.name),1),s.createVNode(s.unref(ke),{class:"sign-out icon",icon:"right-from-bracket",onClick:u[2]||(u[2]=s.withModifiers(g=>A("click:sign-out"),["stop","prevent"]))})])]}),_:1},8,["to"])],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createVNode(s.unref(fn.RouterLink),{to:r.links.settings,class:"nav-item"},{default:s.withCtx(()=>[s.createElementVNode("div",ece,[s.createVNode(s.unref(ke),{class:"nav-icon",icon:"cog"})]),s.createElementVNode("div",tce,[s.createElementVNode("div",null,s.toDisplayString(s.unref(n)("general.settings")),1),s.createVNode(s.unref(CA),{class:"language-selection icon",onClick:u[3]||(u[3]=s.withModifiers(()=>{},["stop","prevent"]))})])]),_:1},8,["to"]),s.createElementVNode("a",{class:"nav-item",onClick:u[4]||(u[4]=f=>A("click:sign-in")),href:r.loginLink,target:"_blank"},[s.createElementVNode("div",rce,[s.createVNode(s.unref(ke),{class:"nav-icon",icon:"arrow-right-to-bracket"})]),s.createElementVNode("div",ace,[s.createElementVNode("div",ice,s.toDisplayString(s.unref(n)("general.signIn")),1)])],8,nce)],64))])],2))}}),Ame="",f0=Q(oce,[["__scopeId","data-v-6f58d7e9"]]),sce=s.defineComponent({__name:"NavigationTopMobile",props:yf,emits:["click:sync","click:sign-in","click:sign-out"],setup(e,{emit:t}){const n=e,r=t,a=s.ref(!1),i=s.ref(!1),o=s.ref(),A=s.ref();window.addEventListener("click",l);function l(u){var f;a.value&&(a.value=!!((f=A.value)!=null&&f.contains(u.target)))}function c(){s.nextTick(()=>{a.value=!0,s.nextTick(()=>{var u,f;(f=(u=o.value)==null?void 0:u.$el.querySelector("input"))==null||f.focus()})})}function d(){i.value=!0}return s.onUnmounted(()=>{window.removeEventListener("click",l)}),(u,f)=>{const p=s.resolveComponent("RouterLink");return s.openBlock(),s.createElementBlock("div",{ref_key:"navigationTopMobile",ref:A,class:"navigation-top-mobile"},[a.value?(s.openBlock(),s.createBlock(Vc,{key:1,"fetch-seach-result":n.fetchSeachResult,ref_key:"searchBar",ref:o,class:"search-bar"},null,8,["fetch-seach-result"])):(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createVNode(s.unref(ke),{class:"icon",icon:"bars",onClick:d}),s.createVNode(p,{to:n.homeLink},{default:s.withCtx(()=>[s.createVNode(Ns,{class:"logo-icon","logo-type":"text-only"})]),_:1},8,["to"]),s.createVNode(s.unref(ke),{class:"icon",icon:"search",onClick:s.withModifiers(c,["stop","prevent"])})],64)),s.createVNode(Tr,{"show-modal":i.value,"onUpdate:showModal":f[2]||(f[2]=h=>i.value=h)},{default:s.withCtx(()=>[s.createVNode(f0,s.mergeProps({class:"navigation-side","onClick:sync":f[0]||(f[0]=h=>r("click:sync")),"onClick:signIn":f[1]||(f[1]=h=>r("click:sign-in"))},n,{expanded:!0}),null,16)]),_:1},8,["show-modal"])],512)}}}),lme="",p0=Q(sce,[["__scopeId","data-v-f840153f"]]),Ace={class:"navigation-top"},lce=s.defineComponent({__name:"NavigationTop",props:yf,emits:["click:sync","click:sign-in","click:sign-out"],setup(e,{emit:t}){const n=t,r=e;return(a,i)=>(s.openBlock(),s.createElementBlock("div",Ace,[s.createVNode(G1,s.mergeProps({class:"navigation-top-desktop"},r),{default:s.withCtx(()=>[s.renderSlot(a.$slots,"default",{},void 0,!0)]),_:3},16),s.createVNode(p0,s.mergeProps({"onClick:signIn":i[0]||(i[0]=o=>n("click:sign-in")),"onClick:sync":i[1]||(i[1]=o=>n("click:sync")),class:"navigation-top-mobile"},r),null,16)]))}}),cme="",Dx=Q(lce,[["__scopeId","data-v-508e62c8"]]),cce={name:{type:String,required:!0,default:""}},dce={class:"profile-dropdown-wrapper"},uce=s.defineComponent({__name:"ProfileDropdown",props:cce,setup(e){const t=e,n=s.ref(),r=s.ref();return s.onMounted(()=>{tt(n.value,{content:r.value,arrow:!0,interactive:!0,interactiveBorder:10})}),(a,i)=>(s.openBlock(),s.createElementBlock("div",dce,[s.createElementVNode("div",{ref_key:"profile",ref:n,class:"profile-dropdown"},s.toDisplayString(t.name),513),s.createElementVNode("div",{ref_key:"dropdown",ref:r,class:"slider-wrapper"},"Test",512)]))}}),dme="",Tx=Q(uce,[["__scopeId","data-v-1c516824"]]),fce={modelValue:{type:String,required:!0,default:!1}},pce=["value"],hce=s.defineComponent({__name:"ColorPicker",props:fce,emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t;function a(i){r("update:modelValue",i.target.value)}return(i,o)=>(s.openBlock(),s.createElementBlock("input",{type:"color",value:n.modelValue,onInput:a,onClick:o[0]||(o[0]=s.withModifiers(()=>{},["stop"]))},null,40,pce))}}),ume="",Ux=Q(hce,[["__scopeId","data-v-3c45ffbe"]]),mce={rows:{type:Array,required:!0,default:[]},selectedRegion:{type:String,required:!0,default:"americas"}},gce={class:"multiselect-wrapper"},yce=s.defineComponent({__name:"DashboardLeaderboardTable",props:mce,emits:["update:selectedRegion"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref(r.selectedRegion),o=[{title:n("general.leaderboard"),id:"leaderboard"}];return s.watch(i,A=>{a("update:selectedRegion",A)}),(A,l)=>(s.openBlock(),s.createBlock(Co,{class:"small-table","heading-items":o},{heading:s.withCtx(()=>[s.createElementVNode("div",gce,[s.createVNode(s.unref(Yt),{modelValue:i.value,"onUpdate:modelValue":l[0]||(l[0]=c=>i.value=c),class:"multiselect",placeholder:s.unref(n)("general.server"),options:s.unref(Be)().dataJson.servers,"can-clear":!1,label:"name","value-prop":"nameRef"},null,8,["modelValue","placeholder","options"])])]),default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.rows,(c,d)=>(s.openBlock(),s.createBlock(i0,{id:c.id,key:c.id,change:c.change,lp:c.lp,name:c.name,rank:c.rank,"selected-banner-card":c.selectedBannerCard,matches:c.matches,index:d+2},null,8,["id","change","lp","name","rank","selected-banner-card","matches","index"]))),128))]),_:1}))}}),fme="",Lx=Q(yce,[["__scopeId","data-v-fe0f916c"]]),bce={routerLink:{type:Object,required:!0,default:{path:"/404"}},deckBuilderRouterLink:{type:Object,required:!0,default:{path:"/404"}},archetypeId:{type:Number,required:!0,default:1},deckCode:{type:String,required:!0,default:""},index:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:1},wins:{type:Number,required:!0,default:1},playrate:{type:Number,required:!0,default:1},regions:{type:Array,required:!0,default:[]},cards:{type:Array,required:!0,default:[]}},wce={class:"table-card-row-background-wrapper"},Bce={class:"table-card-row-background"},vce={class:"archetypes-row wrapper"},_ce={class:"column-content"},Cce={class:"column-content"},kce=s.defineComponent({__name:"ArchetypesRow",props:bce,setup(e){const t=e,n=s.computed(()=>kt(t.deckCode)),r=s.computed(()=>Zt(n.value)),a=s.computed(()=>t.cards.map(o=>ve().callbacks.cardImageCallback(o,Bt.Banner))),i=s.computed(()=>({showButtons:{deleteDeck:!1,updateDeckPrivacy:!1,editDeckName:!1,gemsCost:!1,openArchetypePage:!0,simulateMulligan:!0,openInDeckBuilder:!0,copyDeckCode:!0,uploadDeckToLor:!0,shareDeck:!1},deckCode:t.deckCode,deckBuilderRouterLink:t.deckBuilderRouterLink,archetypeRouterLink:t.routerLink,deckId:void 0,deckName:void 0,isPrivate:void 0}));return(o,A)=>{const l=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(l,{to:t.routerLink,class:"wrapper"},{default:s.withCtx(()=>[s.createElementVNode("div",{class:"archetypes-row-wrapper wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",wce,[s.createElementVNode("div",Bce,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.value,c=>(s.openBlock(),s.createElementBlock("div",{key:c,class:"background-card-wrapper",style:s.normalizeStyle({"--background-image":`url(${c})`})},[...A[1]||(A[1]=[s.createElementVNode("div",{class:"background-card"},null,-1)])],4))),128))])]),s.createElementVNode("div",vce,[s.createElementVNode("div",{class:"column-content deck-highlight-wrapper",onClick:A[0]||(A[0]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createVNode(Ia,{"deck-code":t.deckCode,deck:n.value,cards:r.value,"deck-buttons-props":i.value},null,8,["deck-code","deck","cards","deck-buttons-props"])]),s.createElementVNode("div",_ce,s.toDisplayString(s.unref(De)(t.matches)),1),s.createElementVNode("div",{class:"column-content",style:s.normalizeStyle({color:`var(${s.unref(zn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(De)(t.wins/t.matches*100,2,3)+"%"),5),s.createElementVNode("div",Cce,s.toDisplayString(s.unref(De)(t.playrate,2,3)+"%"),1)])],4)]),_:1},8,["to"])}}}),pme="",h0=Q(kce,[["__scopeId","data-v-61aebadd"]]),xce={archetypeRows:{type:Array,required:!0,default:[]},loading:{type:Boolean,required:!1,default:!1}},Ece=s.defineComponent({__name:"ArchetypesTable",props:xce,emits:["sort-updated"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref([{id:"deck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.deck")},{id:"matches",isShown:!0,sortDirection:_e.DOWN,title:n("general.matches")},{id:"winrate",isShown:!0,sortDirection:_e.NEITHER,title:n("general.winrate")},{id:"playrate",isShown:!0,sortDirection:_e.NEITHER,title:n("general.playrate")}]);function o(A){const l=Gi(A,i);l&&a("sort-updated",l)}return(A,l)=>(s.openBlock(),s.createBlock(ia,{class:"large-table",loading:r.loading,"heading-items":i.value,onToggleSort:o},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.archetypeRows,(c,d)=>(s.openBlock(),s.createBlock(h0,s.mergeProps({key:c.deckCode},{ref_for:!0},c,{index:d+2}),null,16,["index"]))),128))]),_:1},8,["loading","heading-items"]))}}),hme="",Ox=Q(Ece,[["__scopeId","data-v-4a8597f4"]]),Sce={typeSummary:{type:Object,required:!0,default:{quantity:0,isError:!1,typeRef:"Champion"}}},Fce={class:"number-container"},Ice={key:0,class:"type-icon"},Dce=s.defineComponent({__name:"DeckBuilderSummaryType",props:Sce,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["deck-builder-summary-type",[t.typeSummary.isError?"error":"",t.typeSummary.typeRef==="Deck"?"deck":""]])},[s.createElementVNode("div",Fce,s.toDisplayString(t.typeSummary.quantity),1),t.typeSummary.typeRef!=="Deck"?(s.openBlock(),s.createElementBlock("div",Ice,[t.typeSummary.typeRef==="Champion"?(s.openBlock(),s.createBlock(l0,{key:0})):t.typeSummary.typeRef==="Follower"?(s.openBlock(),s.createBlock(A0,{key:1})):t.typeSummary.typeRef==="Spell"?(s.openBlock(),s.createBlock(d0,{key:2})):t.typeSummary.typeRef==="Landmark"?(s.openBlock(),s.createBlock(c0,{key:3})):t.typeSummary.typeRef==="Equipment"?(s.openBlock(),s.createBlock(u0,{key:4})):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0)],2))}}),mme="",Ci=Q(Dce,[["__scopeId","data-v-2e6bb287"]]),Tce={cards:{type:Array,required:!0,default:[]},deck:{type:Object,required:!0,default:{}}},Uce={class:"deck-builder-summary"},Lce=s.defineComponent({__name:"DeckBuilderSummary",props:Tce,setup(e){const t=e;function n(c,d,u){const f=t.cards.filter(c).map(p=>t.deck[p.cardCode]).reduce((p,h)=>p+h,0);return{typeRef:u,quantity:f,isError:d(f)}}const r=s.computed(()=>n(c=>c.typeRef==="Unit"&&c.supertype==="Champion",c=>c>6,"Champion")),a=s.computed(()=>n(c=>c.typeRef==="Unit"&&c.supertype==="",()=>!1,"Follower")),i=s.computed(()=>n(c=>c.typeRef==="Spell",()=>!1,"Spell")),o=s.computed(()=>n(c=>c.typeRef==="Landmark",()=>!1,"Landmark")),A=s.computed(()=>n(c=>c.typeRef==="Equipment",()=>!1,"Equipment")),l=s.computed(()=>n(()=>!0,c=>c!==40,"Deck"));return(c,d)=>(s.openBlock(),s.createElementBlock("div",Uce,[s.createVNode(Ci,{"type-summary":r.value},null,8,["type-summary"]),s.createVNode(Ci,{"type-summary":a.value},null,8,["type-summary"]),s.createVNode(Ci,{"type-summary":i.value},null,8,["type-summary"]),s.createVNode(Ci,{"type-summary":o.value},null,8,["type-summary"]),s.createVNode(Ci,{"type-summary":A.value},null,8,["type-summary"]),s.createVNode(Ci,{"type-summary":l.value},null,8,["type-summary"])]))}}),gme="",m0=Q(Lce,[["__scopeId","data-v-ec8f0fa9"]]),Oce={rows:{type:Array,required:!0,default:[]}},Qce=s.defineComponent({__name:"DashboardCardTable",props:Oce,setup(e){const{t}=q(),n=e,r=[{title:t("general.cards"),id:"cards"},{title:t("general.matches"),id:"matches"},{title:t("general.winrate"),id:"winrate"}];return(a,i)=>(s.openBlock(),s.createBlock(Co,{class:"small-table","heading-items":r},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.rows,o=>(s.openBlock(),s.createBlock(a0,{key:o.cardCode,"card-code":o.cardCode,matches:o.matches,wins:o.wins,index:o.index+2},null,8,["card-code","matches","wins","index"]))),128))]),_:1}))}}),yme="",Qx=Q(Qce,[["__scopeId","data-v-e5817be3"]]),Mce={modelValue:{type:Number,required:!0,default:5}},Pce=["value"],Nce=s.defineComponent({__name:"ZoomSlider",props:Mce,emits:["update:modelValue"],setup(e,{emit:t}){const n=s.ref(),r=s.ref(),a=e,i=t;function o(A){i("update:modelValue",Number.parseInt(A.target.value))}return s.onMounted(()=>{tt(n.value,{content:r.value,arrow:!0,interactive:!0,trigger:"mouseenter click",interactiveBorder:10})}),(A,l)=>(s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",{ref_key:"button",ref:n,class:"circle-button"},[s.createVNode(s.unref(ke),{icon:"search-plus",class:"zoom-button"})],512),s.createElementVNode("div",{ref_key:"slider",ref:r,class:"slider-wrapper"},[s.createElementVNode("input",{type:"range",min:"1",max:"10",class:"slider",value:a.modelValue,onInput:o},null,40,Pce)],512)]))}}),bme="",Mx=Q(Nce,[["__scopeId","data-v-bb4c05e4"]]),Rce={cardProp:{type:Object,required:!1,default:void 0},cardCodeProp:{type:String,required:!1,default:void 0}},Hce={class:"card-overview"},Vce={class:"full-art-wrapper"},zce=["src"],$ce={class:"overview-top"},Kce={class:"card-name"},Wce={class:"card-tags"},Gce={class:"card-tag"},jce={class:"card-tag-text"},Yce={class:"card-tag"},qce={class:"card-tag-text"},Xce={class:"card-tag"},Jce={class:"card-tag-text"},Zce={class:"card-tag"},ede={class:"card-tag-text"},tde={class:"card-text"},nde={class:"keyword-description"},rde={class:"keyword-name"},ade={class:"flavor-text"},ide=s.defineComponent({__name:"CardOverview",props:Rce,setup(e){const t=e,n=Si(t.cardProp,t.cardCodeProp,!0),r=s.ref(!1),a=s.computed(()=>{if(n.value===void 0)return[];const c=[];for(const d of n.value.keywordRefs){const u=Be().dataJson.keywords.find(f=>f.nameRef===d);u&&c.push(u)}return c}),i=s.computed(()=>{if(n.value===void 0||!n.value.regionRefs||n.value.regionRefs.length===0)return null;const c=Be().dataJson;return To(n.value.regionRefs[0])?c.runeterraChampions.find(d=>d.nameRef===n.value.regionRefs[0])??c.regions[0]:c.regions.find(d=>d.nameRef===n.value.regionRefs[0])??c.regions[0]}),o=s.computed(()=>n.value===void 0?null:Be().dataJson.rarities.find(c=>c.nameRef===n.value.rarityRef)??Be().dataJson.rarities[0]),A=s.computed(()=>n.value===void 0?null:Be().dataJson.types.find(c=>c.nameRef===n.value.typeRef)??Be().dataJson.types[0]),l=s.computed(()=>n.value===void 0?null:Be().dataJson.sets.find(c=>c.nameRef===n.value.set)??Be().dataJson.sets[0]);return(c,d)=>{var u,f,p,h,m,b,g,B;return s.openBlock(),s.createElementBlock("div",Hce,[s.createVNode(s.unref(Tr),{"show-modal":r.value,"onUpdate:showModal":d[0]||(d[0]=w=>r.value=w)},{default:s.withCtx(()=>{var w;return[s.createElementVNode("div",Vce,[s.createElementVNode("img",{class:"full-art",src:s.unref(ve)().callbacks.cardImageCallback(((w=s.unref(n))==null?void 0:w.cardCode)??"01IO001",s.unref(Bt).Full)},null,8,zce)])]}),_:1},8,["show-modal"]),s.unref(n)?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("div",$ce,[s.createElementVNode("div",Kce,s.toDisplayString(s.unref(n).name),1),s.createElementVNode("button",{ref:"button",class:"circle-button",onClick:d[1]||(d[1]=w=>r.value=!0)},[s.createVNode(s.unref(ke),{icon:"image"})],512)]),s.createElementVNode("div",Wce,[s.createElementVNode("div",Gce,[s.createElementVNode("div",{class:"icon",style:s.normalizeStyle({content:`url(${((u=i.value)==null?void 0:u.icon)??""})`})},null,4),s.createElementVNode("div",jce,s.toDisplayString((f=i.value)==null?void 0:f.name),1)]),s.createElementVNode("div",Yce,[s.createElementVNode("div",{class:"icon",style:s.normalizeStyle({content:`url(${((p=o.value)==null?void 0:p.icon)??""})`})},null,4),s.createElementVNode("div",qce,s.toDisplayString((h=o.value)==null?void 0:h.name),1)]),s.createElementVNode("div",Xce,[s.createElementVNode("div",{class:"icon",style:s.normalizeStyle({content:`url(${((m=A.value)==null?void 0:m.icon)??""})`})},null,4),s.createElementVNode("div",Jce,s.toDisplayString((b=A.value)==null?void 0:b.name),1)]),s.createElementVNode("div",Zce,[s.createElementVNode("div",{class:"icon",style:s.normalizeStyle({content:`url(${((g=l.value)==null?void 0:g.icon)??""})`})},null,4),s.createElementVNode("div",ede,s.toDisplayString((B=l.value)==null?void 0:B.name),1)])]),d[3]||(d[3]=s.createElementVNode("hr",{class:"divider"},null,-1)),s.createElementVNode("div",tde,s.toDisplayString(s.unref(n).descriptionRaw),1),d[4]||(d[4]=s.createElementVNode("hr",{class:"divider"},null,-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.value,w=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:w.nameRef},[s.createElementVNode("div",nde,[s.createElementVNode("b",rde,s.toDisplayString(w.name+" - "),1),s.createElementVNode("span",null,s.toDisplayString(w.description),1)]),d[2]||(d[2]=s.createElementVNode("hr",{class:"divider"},null,-1))],64))),128)),s.createElementVNode("div",ade,s.toDisplayString(s.unref(n).flavorText),1)],64)):s.createCommentVNode("",!0)])}}}),wme="",Px=Q(ide,[["__scopeId","data-v-8e45b2bc"]]),ode={gameType:{type:String,required:!0,default:""},matches:{type:Number,required:!0,default:1},wins:{type:Number,required:!0,default:1}},sde={class:"profile-game-type-winrate"},Ade={class:"game-type"},lde=s.defineComponent({__name:"ProfileGameTypeWinrate",props:ode,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",sde,[s.createElementVNode("div",Ade,s.toDisplayString(t.gameType),1),s.createVNode(r0,{matches:t.matches,wins:t.wins},null,8,["matches","wins"])]))}}),Bme="",Nx=Q(lde,[["__scopeId","data-v-1bb3c9de"]]),cde={deckRows:{type:Array,required:!0,default:[]},loading:{type:Boolean,required:!1,default:!1}},dde=s.defineComponent({__name:"DecksTable",props:cde,emits:["sort-updated"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref([{id:"deck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.deck")},{id:"matches",isShown:!0,sortDirection:_e.DOWN,title:n("general.matches")},{id:"winrate",isShown:!0,sortDirection:_e.NEITHER,title:n("general.winrate")},{id:"manaCurve",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.manaCurve")},{id:"cost",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.cost")}]);function o(A){const l=Gi(A,i);l&&a("sort-updated",l)}return(A,l)=>(s.openBlock(),s.createBlock(ia,{class:"large-table",loading:r.loading,"heading-items":i.value,onToggleSort:o},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.deckRows,(c,d)=>(s.openBlock(),s.createBlock(Gl,s.mergeProps({key:c.deckCode},{ref_for:!0},c,{index:d+2}),null,16,["index"]))),128))]),_:1},8,["loading","heading-items"]))}}),vme="",Rx=Q(dde,[["__scopeId","data-v-c789c9b5"]]),ude={deckCode:{type:String,required:!1,default:""}},fde={deck:{type:Object,required:!0,default:{}},deckButtonsProps:{type:Object,required:!0,default:{deckCode:"",deckId:void 0,showButtons:void 0,archetypeRouterLink:void 0,deckBuilderRouterLink:"404",deckName:void 0,showUploaded:void 0,isPrivate:void 0}}},pde={class:"deck-preview-wrapper"},hde=s.defineComponent({__name:"ShowDeckPreviewButton",props:fde,setup(e){const{t}=q(),n=e,r=s.ref(null),a=s.ref(!1);return s.onMounted(()=>{tt(r.value,{content:t("deck.showPreview"),arrow:!0})}),(i,o)=>(s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("button",{ref_key:"button",ref:r,class:"circle-button",onClick:o[0]||(o[0]=A=>a.value=!0)},[s.createVNode(s.unref(ke),{icon:"camera"})],512),s.createVNode(Tr,{"show-modal":a.value,"onUpdate:showModal":o[1]||(o[1]=A=>a.value=A)},{default:s.withCtx(()=>[s.createElementVNode("div",pde,[s.createVNode(s.unref(hf),{deck:n.deck,"deck-buttons-props":n.deckButtonsProps},null,8,["deck","deck-buttons-props"])])]),_:1},8,["show-modal"])]))}}),_me="",mde=Q(hde,[["__scopeId","data-v-90be9f81"]]),gde={class:"cards-container no-scrollbar"},yde={key:0,class:"input-deck-code"},bde={class:"text"},wde=["placeholder"],Bde={class:"bottom"},vde={class:"bottom-buttons"},Hx=s.defineComponent({__name:"DeckBuilderSidePanel",props:ude,emits:["update:card-quantity","input:deck-code","click:save"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.computed(()=>{if(r.deckCode===void 0)throw new Error("DeckCode must be defined");return kt(r.deckCode)}),o=s.computed(()=>Zt(i.value)),A=s.computed(()=>({showButtons:{deleteDeck:!1,updateDeckPrivacy:!1,editDeckName:!1,gemsCost:!0,openArchetypePage:!1,simulateMulligan:!0,openInDeckBuilder:!1,copyDeckCode:!0,uploadDeckToLor:!0,shareDeck:!0},deckCode:r.deckCode,deckBuilderRouterLink:"404"}));function l(c){a("input:deck-code",c.target.value)}return(c,d)=>(s.openBlock(),s.createBlock(Wi,{"show-clear-all":!1},{default:s.withCtx(()=>[s.createVNode(s.unref(m0),{cards:o.value,deck:i.value},null,8,["cards","deck"]),(s.openBlock(),s.createBlock(s.unref(kl),{class:"mana-curve-chart",key:r.deckCode,"padding-top":0,"show-data-labels":!1,"data-labels-offset":0,"tooltips-enabled":!1,"display-x-scale":!0,deck:i.value},null,8,["deck"])),s.createElementVNode("div",gde,[o.value.length===0?(s.openBlock(),s.createElementBlock("div",yde,[s.createElementVNode("div",bde,s.toDisplayString(s.unref(n)("deckBuilder.inputDeckCode")),1),s.createElementVNode("input",{onInput:l,placeholder:s.unref(n)("general.deckCode"),type:"text"},null,40,wde)])):s.createCommentVNode("",!0),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.value,u=>(s.openBlock(),s.createBlock(s.unref(vt),{"onUpdate:cardQuantity":d[0]||(d[0]=f=>a("update:card-quantity",f)),key:u.cardCode,"card-prop":u,"maintain-aspect-ratio":!0,"quantity-number":i.value[u.cardCode],"show-plus-minus":!0,"router-link":s.unref(ve)().callbacks.cardCodeRouterLinkCallback(u.cardCode),class:"card-slice-item"},null,8,["card-prop","quantity-number","router-link"]))),128))]),s.createElementVNode("div",Bde,[s.createElementVNode("div",vde,[s.createVNode(s.unref(bu),{deck:i.value},null,8,["deck"]),s.createVNode(s.unref(yu),{"deck-code":r.deckCode},null,8,["deck-code"]),s.createVNode(mde,{deck:i.value,"deck-buttons-props":A.value},null,8,["deck","deck-buttons-props"]),s.createVNode(s.unref(wu),{"deck-code":r.deckCode,"deck-name":s.unref(Sf)(r.deckCode)},null,8,["deck-code","deck-name"])]),s.createElementVNode("div",{class:"fancy-button",onClick:d[1]||(d[1]=u=>a("click:save"))},s.toDisplayString(s.unref(n)("general.save")),1)])]),_:1}))}}),Cme="",_de={data:{type:Array,required:!0,default:[]},backgroundColor:{type:String,required:!1,default:"#000000"}},Vx=s.defineComponent({__name:"RegionDistributionChart",props:_de,setup(e){const t=s.ref(null);ze.register(...Mr);const n=e,r=s.computed(()=>({labels:n.data.map(i=>i.region),datasets:[{data:n.data.map(i=>i.matches),backgroundColor:n.data.map(i=>I0(i.region))}]})),a={cutout:"80%",elements:{arc:{borderWidth:3,borderColor:n.backgroundColor}},plugins:{legend:{display:!0,position:"right",labels:{usePointStyle:!0,generateLabels(i){const o=[],A=i.data.labels;for(let l=0;l<i.data.labels.length;l++)o.push({text:`${xf(A[l])} (${i.data.datasets[0].data[l]})`,borderRadius:999,datasetIndex:0,index:l,fontColor:Oa("--color-0"),fillStyle:i.data.datasets[0].backgroundColor[l]});return o}}},datalabels:{display:!1}}};return(i,o)=>(s.openBlock(),s.createBlock(s.unref(Qd),{ref_key:"chart",ref:t,"chart-data":r.value,options:a},null,8,["chart-data"]))}}),Cde={class:"circle-button"},kde=s.defineComponent({__name:"DeckButtonsDropdown",props:r4,emits:["click:share","click:edit-name","click:update-privacy","click:delete"],setup(e,{emit:t}){const n=e,r=s.ref(null),a=s.ref(null),i=t;return s.onMounted(()=>{tt(r.value,{content:a.value,arrow:!0,interactive:!0,trigger:"click",duration:0})}),(o,A)=>(s.openBlock(),s.createElementBlock("div",{ref_key:"containerDiv",ref:r,class:"deck-buttons-dropdown"},[s.createElementVNode("div",Cde,[s.createVNode(s.unref(ke),{class:"icon",icon:"fa-chevron-down"})]),s.createElementVNode("div",{ref_key:"tippyDiv",ref:a,class:"tippy-div"},[s.createVNode(s.unref(xs),s.mergeProps({class:"deck-buttons","onClick:delete":A[0]||(A[0]=l=>i("click:delete")),"onClick:editName":A[1]||(A[1]=l=>i("click:edit-name")),"onClick:share":A[2]||(A[2]=l=>i("click:share")),"onClick:updatePrivacy":A[3]||(A[3]=l=>i("click:update-privacy"))},n),null,16)],512)],512))}}),kme="",g0=Q(kde,[["__scopeId","data-v-79fac15d"]]),xde={value:{type:Number,required:!0,default:1},max:{type:Number,required:!0,default:2}},zx=s.defineComponent({__name:"SimpleDoughnutChart",props:xde,setup(e){const t=s.ref(null);ze.register(...Mr);const n=e,r=s.computed(()=>({labels:["Value","Max"],datasets:[{data:[n.value,n.max-n.value],backgroundColor:[Oa("--color-good"),"transparent"]}]})),a={cutout:"80%",elements:{arc:{borderWidth:0}},plugins:{legend:{display:!1}}},i=[{id:"text",beforeDraw:function(o){const A=o.chartArea.width,l=o.chartArea.height,c=o.ctx;c.restore();const d=(l/100).toFixed(2);c.font=`bold ${d}em sans-serif`,c.textBaseline="middle";const f=o.data.datasets[0].data[0].toFixed(2),p=Math.round((A-c.measureText(f).width)/2),h=l/2;c.fillStyle=Oa("--color-good"),c.fillText(f,p,h),c.save()}}];return(o,A)=>(s.openBlock(),s.createBlock(s.unref(Qd),{ref_key:"chart",ref:t,"chart-data":r.value,options:a,plugins:i},null,8,["chart-data"]))}}),Ede={items:{type:Array,required:!0,default:()=>[]}},Sde={title:{type:String,required:!0,default:""},start:{type:Date,required:!0,default:new Date},state:{type:String,required:!0,default:!1},description:{type:String,required:!0,default:""}},Fde={class:"content"},Ide={class:"heading"},Dde={class:"title"},Tde={class:"date"},Ude={class:"description"},Lde=s.defineComponent({__name:"TournamentTimelineItem",props:Sde,setup(e){const t=s.inject(wr),n=e;return(r,a)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["tournament-timeline-item",n.state])},[a[0]||(a[0]=s.createElementVNode("div",{class:"progress-circle"},null,-1)),s.createElementVNode("div",Fde,[s.createElementVNode("div",Ide,[s.createElementVNode("div",Dde,s.toDisplayString(n.title),1),s.createElementVNode("div",Tde,s.toDisplayString(s.unref(t)(n.start).fromNow()),1)]),s.createElementVNode("div",Ude,s.toDisplayString(r.description),1)])],2))}}),xme="",Ode=Q(Lde,[["__scopeId","data-v-f008d11f"]]),Qde={class:"tournament-timeline no-scrollbar"},Mde=s.defineComponent({__name:"TournamentTimeline",props:Ede,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",Qde,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.items,a=>(s.openBlock(),s.createBlock(Ode,{description:a.description,state:a.state,title:a.title,start:a.start},null,8,["description","state","title","start"]))),256))]))}}),Eme="",$x=Q(Mde,[["__scopeId","data-v-420a5855"]]),Pde={players:{type:Array,required:!0,default:[]},shownColumns:{type:Object,required:!0,default:{player:!0,matchWLs:!0,gameWLs:!0,winrate:!0}},loading:{type:Boolean,required:!1,default:!1}},Nde={routerLink:{type:Object,required:!0,default:{path:"/404"}},index:{type:Number,required:!0,default:0},id:{type:Number,required:!0,default:0},name:{type:String,required:!0,default:""},rank:{type:Number,required:!0,default:0},gameWins:{type:Number,required:!0,default:0},gameLosses:{type:Number,required:!0,default:0},matchWins:{type:Number,required:!0,default:0},matchLosses:{type:Number,required:!0,default:0},opponentsMatchWinrate:{type:Number,required:!0,default:0},opponentsGameWinrate:{type:Number,required:!0,default:0},decks:{type:Array,required:!0,default:[]},selectedBannerCard:{type:[String,null],required:!0,default:""},selectedBannerColor:{type:[String,null],required:!1,default:""},shownColumns:{type:Object,required:!0,default:{player:!0,matchWLs:!0,gameWLs:!0,winrate:!0}}},Rde={results:{type:Object,required:!0,default:{type:"single",isVictory:null}},deckCode:{type:String,required:!0,default:""},showEye:{type:Boolean,required:!1,default:!1}},Hde={class:"tournament-deck-result"},Vde={key:0,class:"results"},zde={class:"good"},$de={class:"bad"},Kde=s.defineComponent({__name:"TournamentDeckResult",props:Rde,setup(e){const t=e,n=s.computed(()=>t.results.type==="multiple"?"":t.results.isBanned?"ban":t.results.isVictory===null?"":t.results.isVictory===!1?"times":"check"),r=s.computed(()=>n.value==="check"),a=s.computed(()=>({showButtons:{deleteDeck:!1,updateDeckPrivacy:!1,editDeckName:!1,gemsCost:!0,openArchetypePage:!0,simulateMulligan:!0,openInDeckBuilder:!0,copyDeckCode:!0,uploadDeckToLor:!0,shareDeck:!0},deckCode:t.deckCode,deckBuilderRouterLink:{name:"deck-builder",params:{deckCode:t.deckCode}},archetypeRouterLink:"/404"}));return(i,o)=>(s.openBlock(),s.createElementBlock("div",Hde,[s.createVNode(Ia,{"deck-code":t.deckCode,"show-eye":t.results.type==="multiple"||t.showEye,"deck-buttons-props":a.value,class:"deck-highlight"},null,8,["deck-code","show-eye","deck-buttons-props"]),t.results.type==="multiple"?(s.openBlock(),s.createElementBlock("div",Vde,[s.createElementVNode("span",zde,s.toDisplayString(t.results.wins),1),o[0]||(o[0]=s.createTextVNode(" - ",-1)),s.createElementVNode("span",$de,s.toDisplayString(t.results.losses),1),o[1]||(o[1]=s.createTextVNode(" - ",-1)),s.createElementVNode("span",null,s.toDisplayString(t.results.bans),1)])):n.value.length>0?(s.openBlock(),s.createBlock(s.unref(ke),{key:1,class:s.normalizeClass(["icon",r.value?"good":"bad"]),icon:n.value},null,8,["icon","class"])):s.createCommentVNode("",!0)]))}}),Sme="",yr=Q(Kde,[["__scopeId","data-v-8aaa4e70"]]),Wde={class:"tournament-player-additional-data-wrapper"},Gde={class:"tournament-player-additional-data-content-top"},jde={class:"winrate-wrapper"},Yde={class:"winrate-wrapper"},qde={class:"winrate-wrapper"},Xde={class:"tournament-player-additional-data-content-bottom"},Jde={class:"row tournament-player-row-background-wrapper"},Zde={class:"tournament-player-row-background"},eue={class:"row tournament-player-row wrapper"},tue={key:1,class:"column-content"},nue={key:2,class:"column-content"},rue=s.defineComponent({__name:"TournamentPlayerRow",props:Nde,setup(e){const{t}=q(),n=e,r=s.ref(null),a=s.ref(0),i=s.ref(!1),o=s.computed(()=>c(n.matchWins,n.matchLosses)),A=s.computed(()=>c(n.gameWins,n.gameLosses)),l=s.computed(()=>n.selectedBannerCard?["",ve().callbacks.cardImageCallback(n.selectedBannerCard,Bt.Banner)]:[]);s.onMounted(()=>{r.value&&(a.value=r.value.clientHeight)});function c(d,u){const f=d+u;return f===0?0:d/f}return(d,u)=>{const f=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(f,{to:n.routerLink,class:"wrapper"},{default:s.withCtx(()=>[s.createElementVNode("div",{class:s.normalizeClass(["tournament-player-row-wrapper wrapper",{expanded:i.value}]),style:s.normalizeStyle({"--index":n.index})},[s.createElementVNode("div",{class:"row tournament-player-additional-data-row",style:s.normalizeStyle({"--height":a.value+"px"}),onClick:u[0]||(u[0]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createElementVNode("div",Wde,[s.createElementVNode("div",{class:"tournament-player-additional-data-content",ref_key:"additionalDataContent",ref:r},[s.createElementVNode("div",Gde,[s.createVNode(jl,{heading:s.unref(t)("tournament.oppWinrate")},{default:s.withCtx(()=>[s.createElementVNode("div",jde,s.toDisplayString(s.unref(De)(n.opponentsMatchWinrate*100,1,3)+"%"),1)]),_:1},8,["heading"]),s.createVNode(jl,{heading:s.unref(t)("tournament.gameWinrate")},{default:s.withCtx(()=>[s.createElementVNode("div",Yde,s.toDisplayString(s.unref(De)(A.value*100,1,3)+"%"),1)]),_:1},8,["heading"]),s.createVNode(jl,{heading:s.unref(t)("tournament.oppGameWinrate")},{default:s.withCtx(()=>[s.createElementVNode("div",qde,s.toDisplayString(s.unref(De)(n.opponentsGameWinrate*100,1,3)+"%"),1)]),_:1},8,["heading"])]),s.createElementVNode("div",Xde,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.decks,p=>(s.openBlock(),s.createBlock(yr,{key:p.deckCode,"deck-code":p.deckCode,results:{type:"multiple",wins:p.wins,losses:p.losses,bans:p.bans}},null,8,["deck-code","results"]))),128))])],512)])],4),s.createElementVNode("div",Jde,[s.createElementVNode("div",Zde,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(l.value,p=>(s.openBlock(),s.createElementBlock("div",{key:p,class:"background-card",style:s.normalizeStyle({"--background-image":`url(${p})`})},null,4))),128))])]),s.createElementVNode("div",eue,[n.shownColumns.player?(s.openBlock(),s.createElementBlock("div",{key:0,class:"column-content card-wrapper",onClick:u[1]||(u[1]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createVNode(vt,{class:"card-slice-item","card-code-prop":n.selectedBannerCard??void 0,color:n.selectedBannerColor??"var(--color-background-2-rgb)","ignore-card-item":!0,"mana-number":n.rank,name:n.name,"maintain-aspect-ratio":!1,"router-link":n.routerLink},null,8,["card-code-prop","color","mana-number","name","router-link"])])):s.createCommentVNode("",!0),n.shownColumns.matchWLs?(s.openBlock(),s.createElementBlock("div",tue,s.toDisplayString(n.matchWins)+" - "+s.toDisplayString(n.matchLosses),1)):s.createCommentVNode("",!0),n.shownColumns.gameWLs?(s.openBlock(),s.createElementBlock("div",nue,s.toDisplayString(n.gameWins)+" - "+s.toDisplayString(n.gameLosses),1)):s.createCommentVNode("",!0),n.shownColumns.winrate?(s.openBlock(),s.createElementBlock("div",{key:3,class:"column-content",style:s.normalizeStyle({color:`var(${s.unref(zn)(o.value)})`})},s.toDisplayString(s.unref(De)(o.value*100,1,3)+"%"),5)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:"column-content options-button",onClick:u[2]||(u[2]=s.withModifiers(p=>i.value=!i.value,["stop","prevent"]))},[s.createVNode(s.unref(ke),{class:"icon",icon:"fa-chevron-down"})])])],6)]),_:1},8,["to"])}}}),Fme="",aue=Q(rue,[["__scopeId","data-v-4ec8059f"]]),iue=s.defineComponent({__name:"TournamentPlayerTable",props:Pde,emits:["sort-updated"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref([{id:"player",isShown:r.shownColumns.player,sortDirection:_e.UP,title:n("general.player")},{id:"matchWLs",isShown:r.shownColumns.matchWLs,sortDirection:_e.NEITHER,title:n("general.matchRecord")},{id:"gameWLs",isShown:r.shownColumns.gameWLs,sortDirection:_e.NEITHER,title:n("general.gameRecord")},{id:"winrate",isShown:r.shownColumns.winrate,sortDirection:_e.NEITHER,title:n("general.winrate")}]),o=s.computed(()=>({"--columns":i.value.filter(l=>l.isShown).length}));function A(l){const c=Gi(l,i);c&&a("sort-updated",c)}return(l,c)=>(s.openBlock(),s.createBlock(ia,{class:"large-table",loading:r.loading,style:s.normalizeStyle(o.value),"heading-items":i.value,onToggleSort:A},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.players,(d,u)=>(s.openBlock(),s.createBlock(aue,s.mergeProps({key:`${d.rank}${d.name}${d.id}`},{ref_for:!0},d,{index:u+2,"router-link":s.unref(ve)().callbacks.playerIdRouterLinkCallback(d.id),"shown-columns":r.shownColumns}),null,16,["index","router-link","shown-columns"]))),128))]),_:1},8,["loading","style","heading-items"]))}}),Ime="",Kx=Q(iue,[["__scopeId","data-v-a8525fd3"]]),oue={selectedRound:{type:Number,required:!0,default:1},numRounds:{type:Number,required:!0,default:1}},sue={class:"swiss-round-options"},Aue=["onClick"],lue=s.defineComponent({__name:"TournamentSwissRoundOptions",props:oue,emits:["update:selectedRound"],setup(e,{emit:t}){const n=e,r=t;return(a,i)=>(s.openBlock(),s.createElementBlock("div",sue,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.numRounds,o=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["swiss-round-option",o===n.selectedRound?"selected":""]),onClick:A=>r("update:selectedRound",o)},s.toDisplayString(o),11,Aue))),256))]))}}),Dme="",Wx=Q(lue,[["__scopeId","data-v-cfee2da2"]]),cue={isHorizontal:{type:Boolean,required:!0,default:!1},player:{type:[Object,null],required:!0,default:null},games:{type:Array,required:!0,default:()=>[]},resultToShow:{type:[Number,null],required:!0,default:null},showTippy:{type:Boolean,required:!1,default:!1},placement:{type:String,required:!0,default:"top"},playerNumber:{type:Number,required:!0,default:1}},due={class:"results"},uue=["onMouseenter","result-index"],fue=["result-index"],pue=s.defineComponent({__name:"TournamentPlayer",props:cue,emits:["update:result-to-show"],setup(e,{emit:t}){const n=fn.useRoute(),r=e,a=s.ref(null),i=s.ref(null),o=s.ref(null),A=s.ref([]),l=s.ref(null),c=s.ref(null),d=t,u=s.computed(()=>r.playerNumber===1?"player1":"player2");function f(m){d("update:result-to-show",m)}s.onMounted(()=>{console.log(l.value),p()}),s.watch([()=>r.showTippy,()=>r.resultToShow],()=>{h()});function p(){if(!(i.value===null||o.value===null)&&(a.value=tt(o.value,{content:i.value,placement:r.placement==="top"?"top-start":r.isHorizontal?"bottom-end":"bottom-start",arrow:!0,duration:0,trigger:"manual",popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:r.isHorizontal?[r.placement==="top"?"bottom-end":"bottom-start",r.placement==="top"?"top-end":"top-start",r.placement==="top"?"bottom-start":"bottom-end",r.placement==="top"?"top-start":"top-end"]:[r.placement==="top"?"right":"left",r.placement==="top"?"left":"right"]}}]}}),!(l.value===null||c.value===null)))for(const m of l.value){const b=m.getAttribute("result-index");console.log(b);const g=c.value.find(B=>B.getAttribute("result-index")===b);console.log(g),g&&A.value.push(tt(g,{content:m,placement:r.placement,arrow:!0,duration:0,trigger:"manual",popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:r.isHorizontal?[r.placement==="top"?"bottom-end":"bottom-start",r.placement==="top"?"top-end":"top-start",r.placement==="top"?"bottom-start":"bottom-end",r.placement==="top"?"top-start":"top-end"]:[r.placement==="top"?"right":"left",r.placement==="top"?"left":"right"]}}]}}))}}function h(){var m,b;if((m=a.value)==null||m.hide(),A.value.forEach(g=>{g.hide()}),!!r.showTippy){if(r.resultToShow===null){(b=a.value)==null||b.show();return}A.value.forEach((g,B)=>{B===r.resultToShow&&g.show()})}}return(m,b)=>{var g,B;return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["tournament-player",[r.showTippy?"show-results":null,r.isHorizontal?"horizontal":"vertical",r.placement]]),ref_key:"tournamentPlayer",ref:o},[r.player?(s.openBlock(),s.createBlock(vt,{key:0,class:"card-slice-item","card-code-prop":r.player.cardCode??void 0,name:r.player.name,color:null,"router-link":{name:"profile",params:{id:r.player.id,lang:s.unref(n).params.lang}},"ignore-card-item":!0,"maintain-aspect-ratio":!1,"mana-number":null,"show-plus-minus":!1,onMouseenter:b[0]||(b[0]=()=>f(null))},null,8,["card-code-prop","name","router-link"])):(s.openBlock(),s.createBlock(vt,{key:1,class:"card-slice-item",name:"",color:null,"router-link":"","ignore-card-item":!0,"maintain-aspect-ratio":!1,"mana-number":null,"show-plus-minus":!1})),s.createElementVNode("div",due,[s.withDirectives(s.createElementVNode("div",{class:s.normalizeClass(["result",(g=r.player)!=null&&g.isVictory?"win":"loss"])},s.toDisplayString(r.games.filter(w=>w[u.value].isVictory).length),3),[[s.vShow,!r.showTippy]]),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.games,(w,y)=>s.withDirectives((s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["result",w[u.value].isVictory?"win":"loss"]),onMouseenter:()=>f(y),ref_for:!0,ref_key:"results",ref:c,"result-index":y},s.toDisplayString(w[u.value].isVictory?1:0),43,uue)),[[s.vShow,r.showTippy]])),256)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.games,(w,y)=>(s.openBlock(),s.createElementBlock("div",{class:"result-tippy","result-index":y,ref_for:!0,ref_key:"resultTippyContents",ref:l},[s.createVNode(yr,{"deck-code":w[u.value].deckCode,results:{type:"single",isVictory:w[u.value].isVictory}},null,8,["deck-code","results"])],8,fue))),256))]),s.createElementVNode("div",{class:"main-tippy",ref_key:"mainTippyContent",ref:i},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(((B=r.player)==null?void 0:B.decks)??[],w=>{var y,_;return s.openBlock(),s.createBlock(yr,{"deck-code":w,results:{type:"single",isVictory:(y=r.games.find(v=>v[u.value].deckCode===w))!=null&&y[u.value].isVictory?!0:null,isBanned:(_=r.player)==null?void 0:_.bannedDecks.includes(w)}},null,8,["deck-code","results"])}),256))],512)],2)}}}),Tme="",Gx=Q(pue,[["__scopeId","data-v-322df46f"]]),y0={matchId:{type:Number,required:!0,default:0},player1:{type:Object,required:!0,default:()=>({})},player2:{type:Object,required:!0,default:()=>({})},games:{type:Array,required:!0,default:()=>[]}},hue={...y0,isHorizontal:{type:Boolean,required:!0,default:!1},showAdminControls:{type:Boolean,required:!1,default:!1}},mue={class:"content no-scrollbar"},gue={class:"players"},yue={class:"player"},bue={class:"player-record"},wue={class:"player-decks"},Bue={class:"player"},vue={class:"player-record"},_ue={class:"player-decks"},Cue={key:0,class:"results"},kue={class:"game"},xue={class:"game-number"},Eue={class:"game-result"},Sue={class:"game-player"},Fue={class:"game-player-name"},Iue={class:"vs"},Due={class:"game-player"},Tue={class:"game-player-name"},Uue=s.defineComponent({__name:"TournamentMatchupDetails",props:y0,setup(e){const{t}=q(),n=fn.useRoute(),r=e;return(a,i)=>(s.openBlock(),s.createElementBlock("div",mue,[s.createElementVNode("div",gue,[s.createElementVNode("div",yue,[s.createVNode(vt,{class:"card-slice-item","card-code-prop":r.player1.cardCode??void 0,color:null,"ignore-card-item":!0,"mana-number":null,name:r.player1.name,"maintain-aspect-ratio":!0,"router-link":{name:"profile",params:{id:r.player1.id,lang:s.unref(n).params.lang}}},null,8,["card-code-prop","name","router-link"]),s.createElementVNode("div",bue,s.toDisplayString(r.games.reduce((o,A)=>A.player1.isVictory?o+1:o,0))+" - "+s.toDisplayString(r.games.reduce((o,A)=>A.player1.isVictory?o:o+1,0)),1),s.createElementVNode("div",wue,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.player1.decks,o=>(s.openBlock(),s.createBlock(yr,{class:"tournament-deck-result",key:o,"deck-code":o,"show-eye":!0,results:{type:"single",isVictory:r.games.some(A=>A.player1.isVictory&&A.player1.deckCode===o)?!0:null,isBanned:r.player1.bannedDecks.includes(o)}},null,8,["deck-code","results"]))),128))])]),s.createElementVNode("div",Bue,[s.createVNode(vt,{class:"card-slice-item","card-code-prop":r.player2.cardCode??void 0,color:null,"ignore-card-item":!0,"mana-number":null,name:r.player2.name,"maintain-aspect-ratio":!0,"router-link":{name:"profile",params:{id:r.player2.id,lang:s.unref(n).params.lang}}},null,8,["card-code-prop","name","router-link"]),s.createElementVNode("div",vue,s.toDisplayString(r.games.reduce((o,A)=>A.player2.isVictory?o+1:o,0))+" - "+s.toDisplayString(r.games.reduce((o,A)=>A.player2.isVictory?o:o+1,0)),1),s.createElementVNode("div",_ue,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.player2.decks,o=>(s.openBlock(),s.createBlock(yr,{class:"tournament-deck-result",key:o,"deck-code":o,"show-eye":!0,results:{type:"single",isVictory:r.games.some(A=>A.player2.isVictory&&A.player2.deckCode===o)?!0:null,isBanned:r.player2.bannedDecks.includes(o)}},null,8,["deck-code","results"]))),128))])])]),r.games.length>0?(s.openBlock(),s.createElementBlock("div",Cue,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.games,(o,A)=>(s.openBlock(),s.createElementBlock("div",kue,[s.createElementVNode("div",xue,s.toDisplayString(s.unref(t)("general.game"))+" "+s.toDisplayString(A+1),1),s.createElementVNode("div",Eue,[s.createElementVNode("div",Sue,[s.createElementVNode("div",Fue,s.toDisplayString(r.player1.name),1),s.createVNode(yr,{class:"tournament-deck-result","deck-code":o.player1.deckCode,"show-eye":!0,results:{type:"single",isVictory:o.player1.isVictory,isBanned:!1}},null,8,["deck-code","results"])]),s.createElementVNode("div",Iue,s.toDisplayString(s.unref(t)("general.vs")),1),s.createElementVNode("div",Due,[s.createElementVNode("div",Tue,s.toDisplayString(r.player2.name),1),s.createVNode(yr,{class:"tournament-deck-result","deck-code":o.player2.deckCode,"show-eye":!0,results:{type:"single",isVictory:o.player2.isVictory,isBanned:!1}},null,8,["deck-code","results"])])])]))),256))])):s.createCommentVNode("",!0)]))}}),Ume="",Lue=Q(Uue,[["__scopeId","data-v-a329da5a"]]),Oue={class:"content no-scrollbar"},Que={class:"heading"},Mue=s.defineComponent({__name:"TournamentMatchupEdit",props:y0,emits:["matchup-edit:submit"],setup(e,{emit:t}){const{t:n}=q(),r=e,a=t,i=s.ref(0);s.onMounted(()=>{r.player1.isVictory===r.player2.isVictory?i.value=1:r.player2.isVictory&&(i.value=2)});function o(){a("matchup-edit:submit",{matchId:r.matchId,playerId:i.value===0?r.player1.challongeId:i.value===2?r.player2.challongeId:null})}return(A,l)=>(s.openBlock(),s.createElementBlock("div",Oue,[s.createElementVNode("div",Que,s.toDisplayString(s.unref(n)("tournament.admin.editMatchWinner")),1),s.createVNode(gA,{class:"toggle-switch",options:[r.player1.name,s.unref(n)("general.tie"),r.player2.name],"selected-option":i.value,"onUpdate:selectedOption":l[0]||(l[0]=c=>i.value=c)},null,8,["options","selected-option"]),s.createElementVNode("button",{class:"primary-button centered",onClick:o},s.toDisplayString(s.unref(n)("general.submit")),1)]))}}),Lme="",Pue=Q(Mue,[["__scopeId","data-v-0a4547ed"]]),Nue={class:"tournament-matchup"},Rue={class:"hover-options-container"},Hue={class:"hover-options"},Vue=s.defineComponent({__name:"TournamentMatchup",props:hue,emits:["matchup-edit:submit"],setup(e,{emit:t}){const n=e,r=t,a=s.ref(null),i=s.ref(!1),o=s.ref(!1),A=s.ref(!1);function l(){i.value=!1,a.value=null}function c(d){r("matchup-edit:submit",d)}return(d,u)=>(s.openBlock(),s.createElementBlock("div",Nue,[s.createElementVNode("div",{class:s.normalizeClass(["players",n.isHorizontal?"horizontal":"vertical"]),onMouseenter:u[2]||(u[2]=f=>i.value=!0),onMouseleave:l},[s.createVNode(Gx,{"result-to-show":a.value,"onUpdate:resultToShow":u[0]||(u[0]=f=>a.value=f),player:n.player1??null,games:n.games,"show-tippy":i.value,"is-horizontal":n.isHorizontal,"player-number":1,placement:"top"},null,8,["result-to-show","player","games","show-tippy","is-horizontal"]),s.createVNode(Gx,{"result-to-show":a.value,"onUpdate:resultToShow":u[1]||(u[1]=f=>a.value=f),player:n.player2??null,games:n.games,"show-tippy":i.value,"is-horizontal":n.isHorizontal,"player-number":2,placement:"bottom"},null,8,["result-to-show","player","games","show-tippy","is-horizontal"])],34),s.createElementVNode("div",Rue,[s.createElementVNode("div",Hue,[n.showAdminControls?(s.openBlock(),s.createElementBlock("div",{key:0,class:"option",onClick:u[3]||(u[3]=()=>o.value=!0)},[s.createVNode(s.unref(ke),{icon:"pencil"})])):s.createCommentVNode("",!0),s.createElementVNode("div",{class:"option",onClick:u[4]||(u[4]=()=>A.value=!0)},[s.createVNode(s.unref(ke),{icon:"search"})])])]),s.createVNode(s.unref(Tr),{"show-modal":o.value,"onUpdate:showModal":u[5]||(u[5]=f=>o.value=f)},{default:s.withCtx(()=>[s.createVNode(Pue,s.mergeProps({class:"tournament-matchup-edit"},n,{"onMatchupEdit:submit":c}),null,16)]),_:1},8,["show-modal"]),s.createVNode(s.unref(Tr),{"show-modal":A.value,"onUpdate:showModal":u[6]||(u[6]=f=>A.value=f)},{default:s.withCtx(()=>[s.createVNode(Lue,s.mergeProps({class:"tournament-matchup-details"},n),null,16)]),_:1},8,["show-modal"])]))}}),Ome="",jx=Q(Vue,[["__scopeId","data-v-539a82c9"]]),zue={matchups:{type:Array,required:!0,default:null},showAdminControls:{type:Boolean,required:!1,default:!1}},$ue={class:"swiss-round"},Kue={key:1,class:"empty"},Wue=s.defineComponent({__name:"TournamentSwissRound",props:zue,emits:["matchup-edit:submit"],setup(e,{emit:t}){const n=e,r=t;function a(i){r("matchup-edit:submit",i)}return(i,o)=>(s.openBlock(),s.createElementBlock("div",$ue,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.matchups,A=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[A?(s.openBlock(),s.createBlock(jx,s.mergeProps({key:0,class:"matchup"},{ref_for:!0},A,{"is-horizontal":!0,"show-admin-controls":n.showAdminControls,"onMatchupEdit:submit":a}),null,16,["show-admin-controls"])):(s.openBlock(),s.createElementBlock("div",Kue))],64))),256))]))}}),Qme="",Yx=Q(Wue,[["__scopeId","data-v-fb604c77"]]),Gue={rounds:{type:Array,required:!0,default:null},showAdminControls:{type:Boolean,required:!1,default:!1}},jue={class:"tournament-bracket"},Yue={class:"round"},que={key:1,class:"empty"},Xue=s.defineComponent({__name:"TournamentBracket",props:Gue,emits:["matchup-edit:submit"],setup(e,{emit:t}){const n=e,r=t;function a(i){r("matchup-edit:submit",i)}return(i,o)=>(s.openBlock(),s.createElementBlock("div",jue,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.rounds,A=>(s.openBlock(),s.createElementBlock("div",Yue,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(A,l=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[l?(s.openBlock(),s.createBlock(jx,{key:0,player1:l.player1,player2:l.player2,games:l.games,"is-horizontal":!1,"match-id":l.matchId,"show-admin-controls":n.showAdminControls,"onMatchupEdit:submit":a},null,8,["player1","player2","games","match-id","show-admin-controls"])):(s.openBlock(),s.createElementBlock("div",que))],64))),256))]))),256))]))}}),Mme="",qx=Q(Xue,[["__scopeId","data-v-5fb5924f"]]),Jue={title:{type:String,required:!0,default:""},createdAt:{type:String,required:!0,default:""}},Zue={class:"content"},efe=s.defineComponent({__name:"TournamentFeedEvent",props:Jue,setup(e){const t=s.inject(wr),n=e;return(r,a)=>(s.openBlock(),s.createBlock(ct,{class:"tournament-feed-event",title:n.title,text:s.unref(t)(n.createdAt).fromNow()},{default:s.withCtx(()=>[s.createElementVNode("div",Zue,[s.renderSlot(r.$slots,"default",{},void 0,!0)])]),_:3},8,["title","text"]))}}),Pme="",ko=Q(efe,[["__scopeId","data-v-c8ad471f"]]),tfe={createdAt:{type:String,required:!0,default:""}},nfe=s.defineComponent({__name:"TournamentFeedEventAdminUpdate",props:tfe,setup(e){const{t}=q(),n=e;return(r,a)=>(s.openBlock(),s.createBlock(ko,{title:s.unref(t)("tournament.feed.adminUpdate"),"created-at":n.createdAt},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(t)("tournament.feed.adminUpdateMessage")),1)]),_:1},8,["title","created-at"]))}}),Nme="",rfe=Q(nfe,[["__scopeId","data-v-9f936feb"]]),afe={id:{type:Number,required:!0,default:0},name:{type:String,required:!0,default:""},cardCode:{type:[String,null],required:!0,default:null},createdAt:{type:String,required:!0,default:""}},ife={class:"content"},ofe=s.defineComponent({__name:"TournamentFeedEventCheckIn",props:afe,setup(e){const{t}=q(),n=fn.useRoute(),r=e,a=s.computed(()=>({name:"profile",params:{id:r.id,lang:n.params.lang}}));return(i,o)=>{const A=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(ko,{title:s.unref(t)("tournament.feed.checkIn"),"created-at":r.createdAt},{default:s.withCtx(()=>[s.createElementVNode("div",ife,[s.createVNode(A,{to:a.value},{default:s.withCtx(()=>[s.createVNode(vt,{class:"card-slice-item","card-code-prop":r.cardCode??void 0,color:null,"ignore-card-item":!0,"mana-number":null,name:r.name,"maintain-aspect-ratio":!0,"router-link":a.value},null,8,["card-code-prop","name","router-link"])]),_:1},8,["to"])])]),_:1},8,["title","created-at"])}}}),Rme="",sfe=Q(ofe,[["__scopeId","data-v-6d9b3357"]]),Afe={createdAt:{type:String,required:!0,default:""}},lfe=s.defineComponent({__name:"TournamentFeedEventCreated",props:Afe,setup(e){const{t}=q(),n=e;return(r,a)=>(s.openBlock(),s.createBlock(ko,{title:s.unref(t)("tournament.feed.created"),"created-at":n.createdAt},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(t)("tournament.feed.createdMessage")),1)]),_:1},8,["title","created-at"]))}}),Hme="",cfe=Q(lfe,[["__scopeId","data-v-f7db2ed6"]]),dfe={isStarting:{type:Boolean,required:!0,default:!1},matchId:{type:Number,required:!0,default:0},player1:{type:Object,required:!0,default:()=>({})},player2:{type:Object,required:!0,default:()=>({})},games:{type:Array,required:!0,default:()=>[]},createdAt:{type:String,required:!0,default:""}},ufe={class:"content"},ffe={class:"players"},pfe={class:"player"},hfe={class:"player-record"},mfe={class:"player-decks"},gfe={class:"player"},yfe={class:"player-record"},bfe={class:"player-decks"},wfe={key:0,class:"result"},Bfe={class:"game-number"},vfe={class:"game-result"},_fe={class:"game-player"},Cfe={class:"game-player-name"},kfe={class:"vs"},xfe={class:"game-player"},Efe={class:"game-player-name"},Sfe=s.defineComponent({__name:"TournamentFeedEventMatchUpdate",props:dfe,setup(e){const{t}=q(),n=fn.useRoute(),r=e;return(a,i)=>(s.openBlock(),s.createBlock(ko,{class:"tournament-feed-event match-update",title:s.unref(t)("tournament.feed.matchUpdate"),"created-at":r.createdAt},{default:s.withCtx(()=>[s.createElementVNode("div",ufe,[s.createElementVNode("div",ffe,[s.createElementVNode("div",pfe,[s.createVNode(vt,{class:"card-slice-item","card-code-prop":r.player1.cardCode??void 0,color:null,"ignore-card-item":!0,"mana-number":null,name:r.player1.name,"maintain-aspect-ratio":!0,"router-link":{name:"profile",params:{id:r.player1.id,lang:s.unref(n).params.lang}}},null,8,["card-code-prop","name","router-link"]),s.createElementVNode("div",hfe,s.toDisplayString(r.games.reduce((o,A)=>A.player1.isVictory?o+1:o,0))+" - "+s.toDisplayString(r.games.reduce((o,A)=>A.player1.isVictory?o:o+1,0)),1),s.createElementVNode("div",mfe,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.player1.decks,o=>(s.openBlock(),s.createBlock(yr,{class:"tournament-deck-result",key:o,"deck-code":o,"show-eye":!0,results:{type:"single",isVictory:r.games.some(A=>A.player1.isVictory&&A.player1.deckCode===o)?!0:null,isBanned:r.player1.bannedDecks.includes(o)}},null,8,["deck-code","results"]))),128))])]),s.createElementVNode("div",gfe,[s.createVNode(vt,{class:"card-slice-item","card-code-prop":r.player2.cardCode??void 0,color:null,"ignore-card-item":!0,"mana-number":null,name:r.player2.name,"maintain-aspect-ratio":!0,"router-link":{name:"profile",params:{id:r.player2.id,lang:s.unref(n).params.lang}}},null,8,["card-code-prop","name","router-link"]),s.createElementVNode("div",yfe,s.toDisplayString(r.games.reduce((o,A)=>A.player2.isVictory?o+1:o,0))+" - "+s.toDisplayString(r.games.reduce((o,A)=>A.player2.isVictory?o:o+1,0)),1),s.createElementVNode("div",bfe,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.player2.decks,o=>(s.openBlock(),s.createBlock(yr,{class:"tournament-deck-result",key:o,"deck-code":o,"show-eye":!0,results:{type:"single",isVictory:r.games.some(A=>A.player2.isVictory&&A.player2.deckCode===o)?!0:null,isBanned:r.player2.bannedDecks.includes(o)}},null,8,["deck-code","results"]))),128))])])]),!r.isStarting&&r.games.length>0?(s.openBlock(),s.createElementBlock("div",wfe,[s.createElementVNode("div",Bfe,s.toDisplayString(s.unref(t)("general.game"))+" "+s.toDisplayString(r.games.length),1),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList([r.games[r.games.length-1]],o=>(s.openBlock(),s.createElementBlock("div",vfe,[s.createElementVNode("div",_fe,[s.createElementVNode("div",Cfe,s.toDisplayString(r.player1.name),1),s.createVNode(yr,{class:"tournament-deck-result","deck-code":o.player1.deckCode,"show-eye":!0,results:{type:"single",isVictory:o.player1.isVictory,isBanned:!1}},null,8,["deck-code","results"])]),s.createElementVNode("div",kfe,s.toDisplayString(s.unref(t)("general.vs")),1),s.createElementVNode("div",xfe,[s.createElementVNode("div",Efe,s.toDisplayString(r.player2.name),1),s.createVNode(yr,{class:"tournament-deck-result","deck-code":o.player2.deckCode,"show-eye":!0,results:{type:"single",isVictory:o.player2.isVictory,isBanned:!1}},null,8,["deck-code","results"])])]))),256))])):s.createCommentVNode("",!0)])]),_:1},8,["title","created-at"]))}}),Vme="",Ffe=Q(Sfe,[["__scopeId","data-v-60efabe2"]]),Ife={createdAt:{type:String,required:!0,default:""}},Dfe=s.defineComponent({__name:"TournamentFeedEventRoundStarted",props:Ife,setup(e){const{t}=q(),n=e;return(r,a)=>(s.openBlock(),s.createBlock(ko,{title:s.unref(t)("tournament.feed.roundStarted"),"created-at":n.createdAt},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(t)("tournament.feed.roundStartedMessage")),1)]),_:1},8,["title","created-at"]))}}),zme="",Tfe=Q(Dfe,[["__scopeId","data-v-8ad5656f"]]),Ufe={id:{type:Number,required:!0,default:0},name:{type:String,required:!0,default:""},cardCode:{type:[String,null],required:!0,default:null},createdAt:{type:String,required:!0,default:""}},Lfe={class:"content"},Ofe=s.defineComponent({__name:"TournamentFeedEventSignUp",props:Ufe,setup(e){const{t}=q(),n=fn.useRoute(),r=s.computed(()=>({name:"profile",params:{id:a.id,lang:n.params.lang}})),a=e;return(i,o)=>{const A=s.resolveComponent("RouterLink");return s.openBlock(),s.createBlock(ko,{class:"tournament-feed-event match-update",title:s.unref(t)("tournament.feed.signUp"),"created-at":a.createdAt},{default:s.withCtx(()=>[s.createElementVNode("div",Lfe,[s.createVNode(A,{to:r.value},{default:s.withCtx(()=>[s.createVNode(vt,{class:"card-slice-item","card-code-prop":a.cardCode??void 0,color:null,"ignore-card-item":!0,"mana-number":null,name:a.name,"maintain-aspect-ratio":!0,"router-link":r.value},null,8,["card-code-prop","name","router-link"])]),_:1},8,["to"])])]),_:1},8,["title","created-at"])}}}),$me="",Qfe=Q(Ofe,[["__scopeId","data-v-bd9944b6"]]),Mfe={createdAt:{type:String,required:!0,default:""}},Pfe=s.defineComponent({__name:"TournamentFeedEventWithdraw",props:Mfe,setup(e){const{t}=q(),n=e;return(r,a)=>(s.openBlock(),s.createBlock(ko,{title:s.unref(t)("tournament.feed.withdrawal"),"created-at":n.createdAt},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(t)("tournament.feed.withdrawalMessage")),1)]),_:1},8,["title","created-at"]))}}),Kme="",Nfe=Q(Pfe,[["__scopeId","data-v-d3bac452"]]),Rfe={feed:{type:Array,required:!0,default:[]}},Xx=s.defineComponent({__name:"TournamentSidePanel",props:Rfe,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createBlock(Wi,null,{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.feed,a=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[a.type==="sign_up"?(s.openBlock(),s.createBlock(Qfe,s.mergeProps({key:0,ref_for:!0},a),null,16)):s.createCommentVNode("",!0),a.type==="check_in"?(s.openBlock(),s.createBlock(sfe,s.mergeProps({key:1,ref_for:!0},a),null,16)):s.createCommentVNode("",!0),a.type==="match_update"?(s.openBlock(),s.createBlock(Ffe,s.mergeProps({key:2,ref_for:!0},a),null,16)):s.createCommentVNode("",!0),a.type==="withdraw"?(s.openBlock(),s.createBlock(Nfe,s.mergeProps({key:3,ref_for:!0},a),null,16)):s.createCommentVNode("",!0),a.type==="admin_match_update"?(s.openBlock(),s.createBlock(rfe,s.mergeProps({key:4,ref_for:!0},a),null,16)):s.createCommentVNode("",!0),a.type==="round_started"?(s.openBlock(),s.createBlock(Tfe,s.mergeProps({key:5,ref_for:!0},a),null,16)):s.createCommentVNode("",!0),a.type==="created"?(s.openBlock(),s.createBlock(cfe,s.mergeProps({key:6,ref_for:!0},a),null,16)):s.createCommentVNode("",!0)],64))),256))]),_:1}))}}),Hfe={install:async e=>{e.component("RevealCarousel",zp),e.component("SearchBar",Vc),e.component("SocialLinks",bh),e.component("ModalItem",Tr),e.component("FilterSampleSize",es),e.component("FilterRanks",zw),e.component("FilterManaCost",wh),e.component("FilterRarities",Bh),e.component("FilterSets",vh),e.component("FilterKeywords",_h),e.component("FilterServers",ts),e.component("FilterTime",Ki),e.component("FilterCardCodes",$c),e.component("FilterDecks",$w),e.component("FilterProfile",Kw),e.component("FilterText",BA),e.component("FilterAdvanced",xh),e.component("FilterRegions",yA),e.component("FilterCards",Ww),e.component("AdvancedFilterItem",kh),e.component("FilterTypes",Eh),e.component("RegionsLine",Sh),e.component("CardsTable",Gw),e.component("DeckHighlightRegions",_A),e.component("GemsCost",Th),e.component("CardSliceItem",vt),e.component("LanguageSelection",CA),e.component("DeckSidePanel",n4),e.component("DeckHighlight",Ia),e.component("ArchetypeSidePanel",ox),e.component("OpenInDeckBuilderButton",Vg),e.component("CopyDeckButton",yu),e.component("UpdateDeckPrivacyButton",$g),e.component("EditDeckNameButton",Rg),e.component("UploadDeckToLorButton",wu),e.component("DeleteDeckButton",Ng),e.component("OpenArchetypePageButton",Hg),e.component("SimulateMulliganButton",bu),e.component("DecksRow",Gl),e.component("CardItemLinkWrapper",gf),e.component("DeckHighlightCards",kA),e.component("CheckboxItem",nn),e.component("NavigationTopDesktop",G1),e.component("SidePanelSectionPane",ct),e.component("CardSimilarCards",sx),e.component("DashboardSignUp",Ax),e.component("MatchItem",lx),e.component("ToggleSwitch",gA),e.component("LeaderboardTop10Region",j1),e.component("ShareButton",Wg),e.component("LeaderboardDetailRow",Y1),e.component("DeckBlock",cx),e.component("SmallTable",Co),e.component("LeaderboardTop",dx),e.component("CardLottery",ux),e.component("DashboardProfile",fx),e.component("LeaderboardChart",px),e.component("CardQuantityBarChart",hx),e.component("WinsLossesBarChart",mx),e.component("RoundCardInfoBarChart",gx),e.component("LineChart",yx),e.component("ManaCurveChart",kl),e.component("WinrateDoughnutChart",e0),e.component("InfoDoughnutChart",Md),e.component("BuiltDecksTable",bx),e.component("ProfileRegionTable",wx),e.component("ProfileArchetypeTable",Bx),e.component("CardItem3d",Z1),e.component("LeaderboardOptions",vx),e.component("SimilarDecksTable",_x),e.component("LargeTable",ia),e.component("StatisticsPaneContainer",jl),e.component("ArchetypeSidePanelHighlight",Wc),e.component("CardCarousel",Cx),e.component("DeckButtons",xs),e.component("WinsLossesLine",r0),e.component("DashboardCardRow",a0),e.component("CardTogglePage",kx),e.component("TestComponent",xx),e.component("DashboardLeaderboardRow",i0),e.component("DeckPreview",hf),e.component("CheckboxItemManaCost",zc),e.component("RevealDayOptions",Ex),e.component("DeckDifferenceItem",$1),e.component("DashboardNewCards",Sx),e.component("CardsRow",Fh),e.component("LeaderboardDetailTable",Fx),e.component("DeckIcon",Ix),e.component("LogoIcon",Ns),e.component("FollowerIcon",A0),e.component("ChampionIcon",l0),e.component("EternalIcon",q1),e.component("InfoIcon",W1),e.component("LandmarkIcon",c0),e.component("ManaHexagonIcon",uA),e.component("RuneterraIcon",Kg),e.component("ShardsIcon",Dh),e.component("StandardIcon",X1),e.component("SpellIcon",d0),e.component("GauntletIcon",J1),e.component("EquipmentIcon",u0),e.component("NavigationTop",Dx),e.component("CardMultiselect",Ch),e.component("ProfileDropdown",Tx),e.component("ColorPicker",Ux),e.component("DashboardLeaderboardTable",Lx),e.component("NavigationSide",f0),e.component("ArchetypesTable",Ox),e.component("DeckBuilderSummary",m0),e.component("DeckBuilderSummaryType",Ci),e.component("DashboardCardTable",Qx),e.component("ArchetypesRow",h0),e.component("RevealDayOption",s0),e.component("DeckHighlightEye",mf),e.component("DeckDifferences",K1),e.component("ZoomSlider",Mx),e.component("CardOverview",Px),e.component("CircleCardItem",oa),e.component("ProfileGameTypeWinrate",Nx),e.component("DecksTable",Rx),e.component("RegionItem",vA),e.component("TippyText",Kc),e.component("ProfileRegionRow",t0),e.component("SimulateMulligan",zg),e.component("DeckSummary",gu),e.component("NavigationTopMobile",p0),e.component("CardItem",Vi),e.component("ProfileArchetypeRow",n0),e.component("DeckBuilderSidePanel",Hx),e.component("SimpleDoughnutChart",zx),e.component("RegionDistributionChart",Vx),e.component("DeckButtonsDropdown",g0),e.component("Spinner",Ih),e.component("ToastContainer",C0),e.component("TournamentTimeline",$x),e.component("TournamentPlayerTable",Kx),e.component("TournamentSwissRoundOptions",Wx),e.component("TournamentSwissRound",Yx),e.component("TournamentBracket",qx),e.component("TournamentSidePanel",Xx),e.component("FontAwesomeIcon",ke),e.component("Multiselect",Yt)}};I.AdvancedFilterItem=kh,I.ArchetypeSidePanel=ox,I.ArchetypeSidePanelHighlight=Wc,I.ArchetypesRow=h0,I.ArchetypesTable=Ox,I.BuiltDecksTable=bx,I.CardCarousel=Cx,I.CardImageType=Bt,I.CardItem=Vi,I.CardItem3d=Z1,I.CardItemLinkWrapper=gf,I.CardLottery=ux,I.CardMultiselect=Ch,I.CardOverview=Px,I.CardQuantityBarChart=hx,I.CardSimilarCards=sx,I.CardSliceItem=vt,I.CardTogglePage=kx,I.CardsRow=Fh,I.CardsTable=Gw,I.ChampionIcon=l0,I.CheckboxItem=nn,I.CheckboxItemManaCost=zc,I.CircleCardItem=oa,I.ColorPicker=Ux,I.CopyDeckButton=yu,I.DashboardCardRow=a0,I.DashboardCardTable=Qx,I.DashboardLeaderboardRow=i0,I.DashboardLeaderboardTable=Lx,I.DashboardNewCards=Sx,I.DashboardProfile=fx,I.DashboardSignUp=Ax,I.DeckBlock=cx,I.DeckBuilderSidePanel=Hx,I.DeckBuilderSummary=m0,I.DeckBuilderSummaryType=Ci,I.DeckButtons=xs,I.DeckButtonsDropdown=g0,I.DeckDifferenceItem=$1,I.DeckDifferences=K1,I.DeckHighlight=Ia,I.DeckHighlightCards=kA,I.DeckHighlightEye=mf,I.DeckHighlightRegions=_A,I.DeckIcon=Ix,I.DeckPreview=hf,I.DeckSidePanel=n4,I.DeckSummary=gu,I.DecksRow=Gl,I.DecksTable=Rx,I.DeleteDeckButton=Ng,I.EditDeckNameButton=Rg,I.EquipmentIcon=u0,I.EternalIcon=q1,I.FilterAdvanced=xh,I.FilterCardCodes=$c,I.FilterCards=Ww,I.FilterDecks=$w,I.FilterKeywords=_h,I.FilterManaCost=wh,I.FilterProfile=Kw,I.FilterRanks=zw,I.FilterRarities=Bh,I.FilterRegions=yA,I.FilterSampleSize=es,I.FilterServers=ts,I.FilterSets=vh,I.FilterText=BA,I.FilterTime=Ki,I.FilterTypes=Eh,I.FollowerIcon=A0,I.GauntletIcon=J1,I.GemsCost=Th,I.InfoDoughnutChart=Md,I.InfoIcon=W1,I.LandmarkIcon=c0,I.LanguageSelection=CA,I.LargeTable=ia,I.LeaderboardChart=px,I.LeaderboardDetailRow=Y1,I.LeaderboardDetailTable=Fx,I.LeaderboardOptions=vx,I.LeaderboardTop=dx,I.LeaderboardTop10Region=j1,I.LineChart=yx,I.LogoIcon=Ns,I.ManaCurveChart=kl,I.ManaHexagonIcon=uA,I.MatchItem=lx,I.ModalItem=Tr,I.NavigationSide=f0,I.NavigationTop=Dx,I.NavigationTopDesktop=G1,I.NavigationTopMobile=p0,I.OpenArchetypePageButton=Hg,I.OpenInDeckBuilderButton=Vg,I.ProfileArchetypeRow=n0,I.ProfileArchetypeTable=Bx,I.ProfileDropdown=Tx,I.ProfileGameTypeWinrate=Nx,I.ProfileRegionRow=t0,I.ProfileRegionTable=wx,I.RegionDistributionChart=Vx,I.RegionItem=vA,I.RegionsLine=Sh,I.RevealCarousel=zp,I.RevealDayOption=s0,I.RevealDayOptions=Ex,I.RoundCardInfoBarChart=gx,I.RuneterraIcon=Kg,I.SearchBar=Vc,I.ShardsIcon=Dh,I.ShareButton=Wg,I.SidePanelSectionPane=ct,I.SimilarDecksTable=_x,I.SimpleDoughnutChart=zx,I.SimulateMulligan=zg,I.SimulateMulliganButton=bu,I.SmallTable=Co,I.SocialLinks=bh,I.SpellIcon=d0,I.Spinner=Ih,I.StandardIcon=X1,I.StatisticsPaneContainer=jl,I.TestComponent=xx,I.TippyText=Kc,I.ToastContainer=C0,I.ToggleSwitch=gA,I.TournamentBracket=qx,I.TournamentPlayerTable=Kx,I.TournamentSidePanel=Xx,I.TournamentSwissRound=Yx,I.TournamentSwissRoundOptions=Wx,I.TournamentTimeline=$x,I.UpdateDeckPrivacyButton=$g,I.UploadDeckToLorButton=wu,I.WinrateDoughnutChart=e0,I.WinsLossesBarChart=mx,I.WinsLossesLine=r0,I.ZoomSlider=Mx,I.default=Hfe,I.getCardsFromDeck=Zt,I.getDate=pE,I.getDeckObjectFromCode=kt,I.getMostImportantCards=jr,I.getRegionNameOfRegionRef=xf,I.getRegions=Hs,I.importIcons=gI,I.keyDayjs=wr,I.regionOfCard=Ef,I.setupi18n=u8,I.useAcquiredCardsStore=Jl,I.useCallbacksStore=ve,I.useCardJsonObjectStore=hn,I.useCardJsonStore=Tp,I.useDataJsonStore=Be,I.useFilterStore=yI,I.useSearchBarOptionsStore=h2,I.useToastsStore=_f,I.useUserStore=Jt,Object.defineProperties(I,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|