genus-ui 2.56.54 → 2.56.55

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/dist/index.es.js CHANGED
@@ -78,7 +78,7 @@ const Ia = D`
78
78
  --snow-white: #fff;
79
79
  }
80
80
  `;
81
- var Sa = Object.defineProperty, La = Object.getOwnPropertyDescriptor, ae = (i, t, e, n) => {
81
+ var Sa = Object.defineProperty, La = Object.getOwnPropertyDescriptor, re = (i, t, e, n) => {
82
82
  for (var s = n > 1 ? void 0 : n ? La(t, e) : t, o = i.length - 1, a; o >= 0; o--)
83
83
  (a = i[o]) && (s = (n ? a(t, e, s) : a(s)) || s);
84
84
  return n && s && Sa(t, e, s), s;
@@ -111,28 +111,28 @@ let vt = class extends Z {
111
111
  };
112
112
  vt.styles = [nt, Ia, Ea, ka, Pa, Qa];
113
113
  vt.formAssociated = !0;
114
- ae([
114
+ re([
115
115
  b({ attribute: "label-text" })
116
116
  ], vt.prototype, "labelText", 2);
117
- ae([
117
+ re([
118
118
  b({ attribute: "input-value" })
119
119
  ], vt.prototype, "inputValue", 2);
120
- ae([
120
+ re([
121
121
  b({ attribute: "without-label", type: Boolean })
122
122
  ], vt.prototype, "withoutLabel", 2);
123
- ae([
123
+ re([
124
124
  b({ attribute: "placeholder-text" })
125
125
  ], vt.prototype, "placeholderText", 2);
126
- ae([
126
+ re([
127
127
  b({ attribute: "name", reflect: !0 })
128
128
  ], vt.prototype, "inputName", 2);
129
- ae([
129
+ re([
130
130
  b({ attribute: "read-only", type: Boolean })
131
131
  ], vt.prototype, "readOnly", 2);
132
- ae([
132
+ re([
133
133
  R()
134
134
  ], vt.prototype, "_targetInput", 2);
135
- vt = ae([
135
+ vt = re([
136
136
  U("genus-textarea")
137
137
  ], vt);
138
138
  const Ta = D`
@@ -273,7 +273,7 @@ const Ta = D`
273
273
  grid-area: icc;
274
274
  }
275
275
  `, Fa = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='24px'%20height='24px'%20viewBox='0%200%2024%2024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cstyle%3e%20%23Profile%20{%20fill:%20%2320bec7;%20}%20%3c/style%3e%3ctitle%3eIconly/Bold/Profile%3c/title%3e%3cg%20id='Iconly/Bold/Profile'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Profile'%20transform='translate(4.000000,%202.000000)'%20fill='%23000000'%20fill-rule='nonzero'%3e%3cpath%20d='M8,13.1739317%20C12.338627,13.1739317%2016,13.8789388%2016,16.598966%20C16,19.3199932%2012.314618,20%208,20%20C3.66237339,20%205.68434189e-14,19.2949929%205.68434189e-14,16.5749657%20C5.68434189e-14,13.8539385%203.68538202,13.1739317%208,13.1739317%20Z%20M8,-6.03961325e-14%20C10.9391022,-6.03961325e-14%2013.2939852,2.35402354%2013.2939852,5.29105291%20C13.2939852,8.22808228%2010.9391022,10.5831058%208,10.5831058%20C5.06189821,10.5831058%202.70601476,8.22808228%202.70601476,5.29105291%20C2.70601476,2.35402354%205.06189821,-6.03961325e-14%208,-6.03961325e-14%20Z'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Wa = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='24px'%20height='24px'%20viewBox='0%200%2024%2024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cstyle%3e%20%23Password%20{%20fill:%20%2320bec7;%20}%20%3c/style%3e%3ctitle%3eIconly/Bold/Password%3c/title%3e%3cg%20id='Iconly/Bold/Password'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Password'%20transform='translate(1.999700,%201.999200)'%20fill='%23000000'%20fill-rule='nonzero'%3e%3cpath%20d='M14.335,0%20C17.723,0%2020,2.378%2020,5.917%20L20,5.917%20L20,14.084%20C20,17.623%2017.723,20%2014.334,20%20L14.334,20%20L5.666,20%20C2.277,20%200,17.623%200,14.084%20L0,14.084%20L0,5.917%20C0,2.378%202.277,0%205.666,0%20L5.666,0%20Z%20M6.841,7.399%20C5.407,7.399%204.24,8.566%204.24,10%20C4.24,11.435%205.407,12.602%206.841,12.602%20C8.013,12.602%208.995,11.818%209.319,10.75%20L9.319,10.75%20L11.431,10.75%20L11.431,11.852%20C11.431,12.266%2011.767,12.602%2012.181,12.602%20C12.595,12.602%2012.931,12.266%2012.931,11.852%20L12.931,11.852%20L12.931,10.75%20L14.261,10.75%20L14.261,11.852%20C14.261,12.266%2014.597,12.602%2015.011,12.602%20C15.425,12.602%2015.761,12.266%2015.761,11.852%20L15.761,11.852%20L15.761,10%20C15.761,9.586%2015.425,9.25%2015.011,9.25%20L15.011,9.25%20L9.319,9.25%20C8.995,8.183%208.013,7.399%206.841,7.399%20Z%20M6.8411,8.8989%20C7.4481,8.8989%207.9431,9.3929%207.9431,10.0009%20C7.9431,10.6079%207.4481,11.1019%206.8411,11.1019%20C6.2341,11.1019%205.7391,10.6079%205.7391,10.0009%20C5.7391,9.3929%206.2341,8.8989%206.8411,8.8989%20Z'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Za = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='24px'%20height='24px'%20viewBox='0%200%2024%2024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cstyle%3e%20%23Message%20{%20fill:%20%2320bec7;%20}%20%3c/style%3e%3ctitle%3eIconly/Bold/Message%3c/title%3e%3cg%20id='Iconly/Bold/Message'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Message'%20transform='translate(2.000400,%203.000000)'%20fill='%23000000'%20fill-rule='nonzero'%3e%3cpath%20d='M14.939,0%20C16.28,0%2017.57,0.53%2018.519,1.481%20C19.469,2.43%2020,3.71%2020,5.05%20L20,5.05%20L20,12.95%20C20,15.74%2017.73,18%2014.939,18%20L14.939,18%20L5.06,18%20C2.269,18%200,15.74%200,12.95%20L0,12.95%20L0,5.05%20C0,2.26%202.259,0%205.06,0%20L5.06,0%20Z%20M16.07,5.2%20C15.86,5.189%2015.66,5.26%2015.509,5.4%20L15.509,5.4%20L11,9%20C10.42,9.481%209.589,9.481%209,9%20L9,9%20L4.5,5.4%20C4.189,5.17%203.759,5.2%203.5,5.47%20C3.23,5.74%203.2,6.17%203.429,6.47%20L3.429,6.47%20L3.56,6.6%20L8.11,10.15%20C8.67,10.59%209.349,10.83%2010.06,10.83%20C10.769,10.83%2011.46,10.59%2012.019,10.15%20L12.019,10.15%20L16.53,6.54%20L16.61,6.46%20C16.849,6.17%2016.849,5.75%2016.599,5.46%20C16.46,5.311%2016.269,5.22%2016.07,5.2%20Z'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Ua = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2320bec7'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20class='feather%20feather-hash'%3e%3cline%20x1='4'%20y1='9'%20x2='20'%20y2='9'%3e%3c/line%3e%3cline%20x1='4'%20y1='15'%20x2='20'%20y2='15'%3e%3c/line%3e%3cline%20x1='10'%20y1='3'%20x2='8'%20y2='21'%3e%3c/line%3e%3cline%20x1='16'%20y1='3'%20x2='14'%20y2='21'%3e%3c/line%3e%3c/svg%3e";
276
- var Ne = {}, Rt = {}, Wn;
276
+ var Ve = {}, Rt = {}, Wn;
277
277
  function Ka() {
278
278
  if (Wn) return Rt;
279
279
  Wn = 1, Object.defineProperty(Rt, "__esModule", { value: !0 }), Rt.isCharExist = Rt.letterCount = Rt.setCharAt = void 0;
@@ -305,8 +305,8 @@ function Ka() {
305
305
  }
306
306
  var Zn;
307
307
  function Xa() {
308
- if (Zn) return Ne;
309
- Zn = 1, Object.defineProperty(Ne, "__esModule", { value: !0 }), Ne.textMarshal = void 0;
308
+ if (Zn) return Ve;
309
+ Zn = 1, Object.defineProperty(Ve, "__esModule", { value: !0 }), Ve.textMarshal = void 0;
310
310
  const i = Ka();
311
311
  function t({ input: e = "", template: n = "", disallowCharacters: s = [], isRepeat: { value: o, removeStart: a, removeEnd: r } = {
312
312
  value: !1,
@@ -344,7 +344,7 @@ function Xa() {
344
344
  };
345
345
  }
346
346
  }
347
- return Ne.textMarshal = t, Ne;
347
+ return Ve.textMarshal = t, Ve;
348
348
  }
349
349
  var Ja = Xa();
350
350
  class qa {
@@ -1248,7 +1248,7 @@ const cr = D`
1248
1248
  }
1249
1249
  }
1250
1250
  `;
1251
- var fr = Object.defineProperty, pr = Object.getOwnPropertyDescriptor, re = (i, t, e, n) => {
1251
+ var fr = Object.defineProperty, pr = Object.getOwnPropertyDescriptor, le = (i, t, e, n) => {
1252
1252
  for (var s = n > 1 ? void 0 : n ? pr(t, e) : t, o = i.length - 1, a; o >= 0; o--)
1253
1253
  (a = i[o]) && (s = (n ? a(t, e, s) : a(s)) || s);
1254
1254
  return n && s && fr(t, e, s), s;
@@ -1293,28 +1293,28 @@ let Gt = class extends Z {
1293
1293
  }
1294
1294
  };
1295
1295
  Gt.styles = [nt, cr, Ar, hr, dr, ur, gr];
1296
- re([
1296
+ le([
1297
1297
  b({ attribute: "tab-names", type: Array })
1298
1298
  ], Gt.prototype, "tabNames", 2);
1299
- re([
1299
+ le([
1300
1300
  b({ attribute: "with-bottom-border", type: Boolean })
1301
1301
  ], Gt.prototype, "withBottomBorder", 2);
1302
- re([
1302
+ le([
1303
1303
  b({ attribute: "with-right-border", type: Boolean })
1304
1304
  ], Gt.prototype, "withRightBorder", 2);
1305
- re([
1305
+ le([
1306
1306
  b({ attribute: "layout-direction" })
1307
1307
  ], Gt.prototype, "tabsLayoutDirection", 2);
1308
- re([
1308
+ le([
1309
1309
  Do()
1310
1310
  ], Gt.prototype, "_tabContents", 2);
1311
- re([
1311
+ le([
1312
1312
  R()
1313
1313
  ], Gt.prototype, "_numberOfTabs", 2);
1314
- re([
1314
+ le([
1315
1315
  R()
1316
1316
  ], Gt.prototype, "_tabsTemplate", 2);
1317
- Gt = re([
1317
+ Gt = le([
1318
1318
  U("genus-tab-container")
1319
1319
  ], Gt);
1320
1320
  var wr = Object.getOwnPropertyDescriptor, mr = (i, t, e, n) => {
@@ -1666,7 +1666,7 @@ var vr = Object.getOwnPropertyDescriptor, Gr = (i, t, e, n) => {
1666
1666
  (a = i[o]) && (s = a(s) || s);
1667
1667
  return s;
1668
1668
  };
1669
- let Ei = class extends Z {
1669
+ let ki = class extends Z {
1670
1670
  render() {
1671
1671
  return m`
1672
1672
  <div class='step-content'>
@@ -1675,14 +1675,14 @@ let Ei = class extends Z {
1675
1675
  `;
1676
1676
  }
1677
1677
  };
1678
- Ei.styles = [xo, Bo];
1679
- Ei = Gr([
1678
+ ki.styles = [xo, Bo];
1679
+ ki = Gr([
1680
1680
  U("genus-step-content")
1681
- ], Ei);
1681
+ ], ki);
1682
1682
  const Mf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1683
1683
  __proto__: null,
1684
1684
  get GenusStepContent() {
1685
- return Ei;
1685
+ return ki;
1686
1686
  },
1687
1687
  get GenusStepWizard() {
1688
1688
  return it;
@@ -1793,7 +1793,7 @@ const Mf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1793
1793
 
1794
1794
  .unchecked-icon { display: block; }
1795
1795
  `, Pr = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='7.5'%20cy='7.5'%20r='7'%20fill='%23FDFDFD'%20stroke='none'/%3e%3c/svg%3e", Sr = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20class='radio-icon-svg%20checked-svg'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cstyle%3e%20.radio-icon-svg%20circle%20{%20fill:%20%23d2f2f4;%20}%20.checked-svg%20path%20{%20stroke:%20%231a3f4c;%20}%20%3c/style%3e%3ccircle%20cx='7.5'%20cy='7.5'%20r='7.5'/%3e%3cpath%20d='M5%208.005L6.892%209.898L10.79%206'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1796
- var Lr = Object.defineProperty, Tr = Object.getOwnPropertyDescriptor, le = (i, t, e, n) => {
1796
+ var Lr = Object.defineProperty, Tr = Object.getOwnPropertyDescriptor, ce = (i, t, e, n) => {
1797
1797
  for (var s = n > 1 ? void 0 : n ? Tr(t, e) : t, o = i.length - 1, a; o >= 0; o--)
1798
1798
  (a = i[o]) && (s = (n ? a(t, e, s) : a(s)) || s);
1799
1799
  return n && s && Lr(t, e, s), s;
@@ -1836,28 +1836,28 @@ let yt = class extends Z {
1836
1836
  };
1837
1837
  yt.styles = [nt, yr, Yr, Er, Cr, Ir, Qr, kr];
1838
1838
  yt.formAssociated = !0;
1839
- le([
1839
+ ce([
1840
1840
  b({ attribute: "label-text" })
1841
1841
  ], yt.prototype, "labelText", 2);
1842
- le([
1842
+ ce([
1843
1843
  b({ attribute: "options", type: Array })
1844
1844
  ], yt.prototype, "options", 2);
1845
- le([
1845
+ ce([
1846
1846
  b({ attribute: "name", reflect: !0 })
1847
1847
  ], yt.prototype, "inputName", 2);
1848
- le([
1848
+ ce([
1849
1849
  b({ attribute: "selected-option" })
1850
1850
  ], yt.prototype, "selectedOption", 2);
1851
- le([
1851
+ ce([
1852
1852
  b({ attribute: "checked-radio-icon" })
1853
1853
  ], yt.prototype, "checkedRadioIcon", 2);
1854
- le([
1854
+ ce([
1855
1855
  b({ attribute: "unchecked-radio-icon" })
1856
1856
  ], yt.prototype, "uncheckedRadioIcon", 2);
1857
- le([
1857
+ ce([
1858
1858
  b({ attribute: "without-icon", type: Boolean })
1859
1859
  ], yt.prototype, "withoutIcon", 2);
1860
- yt = le([
1860
+ yt = ce([
1861
1861
  U("genus-radiobtn-group")
1862
1862
  ], yt);
1863
1863
  const zr = D`
@@ -2057,7 +2057,7 @@ const zr = D`
2057
2057
  height: var(--icon-height, 1.5625rem);
2058
2058
  }
2059
2059
  `;
2060
- var Vr = Object.defineProperty, Hr = Object.getOwnPropertyDescriptor, ve = (i, t, e, n) => {
2060
+ var Vr = Object.defineProperty, Hr = Object.getOwnPropertyDescriptor, Ge = (i, t, e, n) => {
2061
2061
  for (var s = n > 1 ? void 0 : n ? Hr(t, e) : t, o = i.length - 1, a; o >= 0; o--)
2062
2062
  (a = i[o]) && (s = (n ? a(t, e, s) : a(s)) || s);
2063
2063
  return n && s && Vr(t, e, s), s;
@@ -2099,25 +2099,25 @@ let Ut = class extends Z {
2099
2099
  }
2100
2100
  };
2101
2101
  Ut.styles = [nt, zr, jr, Or, Rr, Nr];
2102
- ve([
2102
+ Ge([
2103
2103
  b({ attribute: "card-title" })
2104
2104
  ], Ut.prototype, "dataCardTitle", 2);
2105
- ve([
2105
+ Ge([
2106
2106
  b({ attribute: "card-value" })
2107
2107
  ], Ut.prototype, "dataCardValue", 2);
2108
- ve([
2108
+ Ge([
2109
2109
  b({ attribute: "data-card-icon" })
2110
2110
  ], Ut.prototype, "dataCardIcon", 2);
2111
- ve([
2111
+ Ge([
2112
2112
  b({ attribute: "layout-direction" })
2113
2113
  ], Ut.prototype, "dataCardLayoutDirection", 2);
2114
- ve([
2114
+ Ge([
2115
2115
  b({ attribute: "without-icon", type: Boolean })
2116
2116
  ], Ut.prototype, "withoutIcon", 2);
2117
- ve([
2117
+ Ge([
2118
2118
  b({ attribute: "is-loading", type: Boolean })
2119
2119
  ], Ut.prototype, "isLoading", 2);
2120
- Ut = ve([
2120
+ Ut = Ge([
2121
2121
  U("genus-data-card")
2122
2122
  ], Ut);
2123
2123
  const vo = D`
@@ -2212,7 +2212,7 @@ const vo = D`
2212
2212
  column-gap: unset;
2213
2213
  }
2214
2214
  `, Zr = "data:image/svg+xml;base64,PCEtLSA8P3htbC1zdHlsZXNoZWV0IHR5cGU9InRleHQvY3NzIiBocmVmPSIuLi9jc3Mvc3R5bGUuY3NzIiA/PiAtLT4NCjxzdmcgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGNsYXNzPSdjaGVja2JveC1pY29uLXN2ZyB1bmNoZWNrZWQtc3ZnJyBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KICAgIDxyZWN0IHg9IjAuNSIgeT0iMC41IiB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHJ4PSIzLjUiIGZpbGw9IndoaXRlIiBzdHJva2U9Im5vbmUiLz4NCjwvc3ZnPg0K", Ur = "data:image/svg+xml;base64,PCEtLSA8P3htbC1zdHlsZXNoZWV0IHR5cGU9InRleHQvY3NzIiBocmVmPSIuLi9jc3Mvc3R5bGUuY3NzIiA/PiAtLT4NCjxzdmcgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBjbGFzcz0nY2hlY2tib3gtaWNvbi1zdmcgY2hlY2tlZC1zdmcnIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgICA8c3R5bGU+DQogICAgICAgIC5jaGVja2JveC1pY29uLXN2ZyBwYXRoIHsgZmlsbDogIzFhM2Y0YzsgfQ0KICAgICAgICAuY2hlY2tlZC1zdmcgcGF0aCB7IGZpbGw6ICNkMmYyZjQ7IH0NCiAgICA8L3N0eWxlPg0KICAgIA0KICAgIDxwYXRoIGQ9Ik0xNi4xOSAySDcuODFDNC4xNyAyIDIgNC4xNyAyIDcuODFWMTYuMThDMiAxOS44MyA0LjE3IDIyIDcuODEgMjJIMTYuMThDMTkuODIgMjIgMjEuOTkgMTkuODMgMjEuOTkgMTYuMTlWNy44MUMyMiA0LjE3IDE5LjgzIDIgMTYuMTkgMlpNMTYuNzggOS43TDExLjExIDE1LjM3QzEwLjk3IDE1LjUxIDEwLjc4IDE1LjU5IDEwLjU4IDE1LjU5QzEwLjM4IDE1LjU5IDEwLjE5IDE1LjUxIDEwLjA1IDE1LjM3TDcuMjIgMTIuNTRDNi45MyAxMi4yNSA2LjkzIDExLjc3IDcuMjIgMTEuNDhDNy41MSAxMS4xOSA3Ljk5IDExLjE5IDguMjggMTEuNDhMMTAuNTggMTMuNzhMMTUuNzIgOC42NEMxNi4wMSA4LjM1IDE2LjQ5IDguMzUgMTYuNzggOC42NEMxNy4wNyA4LjkzIDE3LjA3IDkuNCAxNi43OCA5LjdaIiBmaWxsPSIjMjkyRDMyIi8+DQo8L3N2Zz4NCg==";
2215
- var Kr = Object.defineProperty, Xr = Object.getOwnPropertyDescriptor, Ge = (i, t, e, n) => {
2215
+ var Kr = Object.defineProperty, Xr = Object.getOwnPropertyDescriptor, ye = (i, t, e, n) => {
2216
2216
  for (var s = n > 1 ? void 0 : n ? Xr(t, e) : t, o = i.length - 1, a; o >= 0; o--)
2217
2217
  (a = i[o]) && (s = (n ? a(t, e, s) : a(s)) || s);
2218
2218
  return n && s && Kr(t, e, s), s;
@@ -2242,25 +2242,25 @@ let Yt = class extends Z {
2242
2242
  };
2243
2243
  Yt.styles = [vo, Fr, Go, Wr, yo];
2244
2244
  Yt.formAssociated = !0;
2245
- Ge([
2245
+ ye([
2246
2246
  b({ attribute: "option-value" })
2247
2247
  ], Yt.prototype, "optionValue", 2);
2248
- Ge([
2248
+ ye([
2249
2249
  b({ attribute: "option-id" })
2250
2250
  ], Yt.prototype, "optionID", 2);
2251
- Ge([
2251
+ ye([
2252
2252
  b({ attribute: "name", reflect: !0 })
2253
2253
  ], Yt.prototype, "inputName", 2);
2254
- Ge([
2254
+ ye([
2255
2255
  b({ type: Boolean, attribute: "without-icon" })
2256
2256
  ], Yt.prototype, "withoutIcon", 2);
2257
- Ge([
2257
+ ye([
2258
2258
  b({ attribute: "checked-box-icon" })
2259
2259
  ], Yt.prototype, "checkedBoxIcon", 2);
2260
- Ge([
2260
+ ye([
2261
2261
  b({ attribute: "unchecked-box-icon" })
2262
2262
  ], Yt.prototype, "uncheckedBoxIcon", 2);
2263
- Yt = Ge([
2263
+ Yt = ye([
2264
2264
  U("genus-checkbox-option")
2265
2265
  ], Yt);
2266
2266
  const Jr = D`
@@ -2282,7 +2282,7 @@ var _r = Object.defineProperty, $r = Object.getOwnPropertyDescriptor, Yo = (i, t
2282
2282
  (a = i[o]) && (s = (n ? a(t, e, s) : a(s)) || s);
2283
2283
  return n && s && _r(t, e, s), s;
2284
2284
  };
2285
- let ei = class extends Z {
2285
+ let ii = class extends Z {
2286
2286
  constructor() {
2287
2287
  super(...arguments), this.labelText = "";
2288
2288
  }
@@ -2297,17 +2297,17 @@ let ei = class extends Z {
2297
2297
  `;
2298
2298
  }
2299
2299
  };
2300
- ei.styles = [nt, Go, vo, Jr, qr, yo];
2300
+ ii.styles = [nt, Go, vo, Jr, qr, yo];
2301
2301
  Yo([
2302
2302
  b({ attribute: "label-text" })
2303
- ], ei.prototype, "labelText", 2);
2304
- ei = Yo([
2303
+ ], ii.prototype, "labelText", 2);
2304
+ ii = Yo([
2305
2305
  U("genus-checkbox-group")
2306
- ], ei);
2306
+ ], ii);
2307
2307
  const Df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2308
2308
  __proto__: null,
2309
2309
  get GenusCheckBoxGroup() {
2310
- return ei;
2310
+ return ii;
2311
2311
  },
2312
2312
  get GenusCheckBoxOption() {
2313
2313
  return Yt;
@@ -2322,9 +2322,9 @@ const Df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2322
2322
  .genus-checkbox-label
2323
2323
  {
2324
2324
  display: block;
2325
- padding: var(--label-padding, 1rem 1.25rem);
2326
- border-radius: var(--label-border-radius, 0.375rem);
2327
- background: var(--label-background-color, #f2f7f9);
2325
+ padding: var(--checkbox-label-padding, 0.5rem 1rem);
2326
+ border-radius: var(--checkbox-label-border-radius, 0.375rem);
2327
+ background: var(--checkbox-label-background-color, var(--riptide));
2328
2328
  width: -webkit-fit-content;
2329
2329
  width: -moz-fit-content;
2330
2330
  width: fit-content;
@@ -2332,12 +2332,16 @@ const Df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2332
2332
  }
2333
2333
 
2334
2334
  .genus-checkbox-label:hover { cursor: pointer; }
2335
+
2336
+ .genus-checkbox-label--without-icon { display: block; }
2335
2337
  `, el = D`
2336
2338
  input[type=checkbox] { display: none; }
2337
2339
 
2338
- .genus-checkbox:checked + .genus-checkbox-label { background: var(--checked-checkbox-background-color, #213e70); }
2340
+ .genus-checkbox:checked + .genus-checkbox-label { background: var(--checked-checkbox-background-color, var(--nile-blue)); }
2339
2341
 
2340
- .genus-checkbox:checked + .genus-checkbox-label .label-text { color: var(--checked-checkbox-label-color, #f2f7f9); }
2342
+ .genus-checkbox:checked + .genus-checkbox-label .label-text { color: var(--checked-checkbox-label-font-family, 'Sofia Pro Semi'); }
2343
+
2344
+ .genus-checkbox:checked + .genus-checkbox-label .label-text { color: var(--checked-checkbox-label-font-color, var(--riptide)); }
2341
2345
 
2342
2346
  .genus-checkbox:checked + .genus-checkbox-label .checked-icon { display: block; }
2343
2347
 
@@ -2357,58 +2361,75 @@ const Df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2357
2361
  `, nl = D`
2358
2362
  .label-text
2359
2363
  {
2360
- font-family: var(--font-family, sans-serif);
2361
- font-size: var(--font-size, 1rem);
2364
+ font-family: var(--label-text-font-family, 'Sofia Pro Regular');
2365
+ font-size: var(--label-text-font-size, 1rem);
2366
+ color: var(--label-text-font-color, var(--daintree));
2362
2367
  }
2363
2368
  `, sl = D`
2364
- .epr-checkbox-label--with-icon
2369
+ .genus-checkbox-label
2365
2370
  {
2366
2371
  display: flex;
2367
2372
  align-items: center;
2368
2373
  -moz-column-gap: 0.6rem;
2369
2374
  column-gap: 0.6rem;
2370
2375
  }
2376
+
2377
+ .genus-checkbox-label--without-icon
2378
+ {
2379
+ align-items: unset;
2380
+ -moz-column-gap: unset;
2381
+ column-gap: unset;
2382
+ }
2371
2383
  `, ol = "data:image/svg+xml;base64,PCEtLSA8P3htbC1zdHlsZXNoZWV0IHR5cGU9InRleHQvY3NzIiBocmVmPSIuLi9jc3Mvc3R5bGUuY3NzIiA/PiAtLT4NCjxzdmcgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGNsYXNzPSdjaGVja2JveC1pY29uLXN2ZyB1bmNoZWNrZWQtc3ZnJyBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KICAgIDxyZWN0IHg9IjAuNSIgeT0iMC41IiB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHJ4PSIzLjUiIGZpbGw9IndoaXRlIiBzdHJva2U9IiNCOUJEQkEiLz4NCjwvc3ZnPg0K", al = "data:image/svg+xml;base64,PCEtLSA8P3htbC1zdHlsZXNoZWV0IHR5cGU9InRleHQvY3NzIiBocmVmPSIuLi9jc3Mvc3R5bGUuY3NzIiA/PiAtLT4NCjxzdmcgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBjbGFzcz0nY2hlY2tib3gtaWNvbi1zdmcgY2hlY2tlZC1zdmcnIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgICA8c3R5bGU+DQogICAgICAgIC5jaGVja2JveC1pY29uLXN2ZyBwYXRoIHsgZmlsbDogIzI5NDA2YTsgfQ0KICAgICAgICAuY2hlY2tlZC1zdmcgcGF0aCB7IGZpbGw6ICNmZGM1NGE7IH0NCiAgICA8L3N0eWxlPg0KICAgIA0KICAgIDxwYXRoIGQ9Ik0xNi4xOSAySDcuODFDNC4xNyAyIDIgNC4xNyAyIDcuODFWMTYuMThDMiAxOS44MyA0LjE3IDIyIDcuODEgMjJIMTYuMThDMTkuODIgMjIgMjEuOTkgMTkuODMgMjEuOTkgMTYuMTlWNy44MUMyMiA0LjE3IDE5LjgzIDIgMTYuMTkgMlpNMTYuNzggOS43TDExLjExIDE1LjM3QzEwLjk3IDE1LjUxIDEwLjc4IDE1LjU5IDEwLjU4IDE1LjU5QzEwLjM4IDE1LjU5IDEwLjE5IDE1LjUxIDEwLjA1IDE1LjM3TDcuMjIgMTIuNTRDNi45MyAxMi4yNSA2LjkzIDExLjc3IDcuMjIgMTEuNDhDNy41MSAxMS4xOSA3Ljk5IDExLjE5IDguMjggMTEuNDhMMTAuNTggMTMuNzhMMTUuNzIgOC42NEMxNi4wMSA4LjM1IDE2LjQ5IDguMzUgMTYuNzggOC42NEMxNy4wNyA4LjkzIDE3LjA3IDkuNCAxNi43OCA5LjdaIiBmaWxsPSIjMjkyRDMyIi8+DQo8L3N2Zz4NCg==";
2372
- var rl = Object.defineProperty, ll = Object.getOwnPropertyDescriptor, Ri = (i, t, e, n) => {
2384
+ var rl = Object.defineProperty, ll = Object.getOwnPropertyDescriptor, Ye = (i, t, e, n) => {
2373
2385
  for (var s = n > 1 ? void 0 : n ? ll(t, e) : t, o = i.length - 1, a; o >= 0; o--)
2374
2386
  (a = i[o]) && (s = (n ? a(t, e, s) : a(s)) || s);
2375
2387
  return n && s && rl(t, e, s), s;
2376
2388
  };
2377
- let Pe = class extends Z {
2389
+ let Kt = class extends Z {
2378
2390
  constructor() {
2379
- super(...arguments), this.labelText = "", this.inputValue = "", this.withoutIcon = !1, this.getInputValue = () => {
2391
+ super(...arguments), this.labelText = "", this.inputValue = "", this.inputID = "", this.checkedBoxIcon = "", this.uncheckedBoxIcon = "", this.withoutIcon = !1, this.getInputValue = () => {
2380
2392
  this.dispatchEvent(new CustomEvent("checked", { detail: this.inputValue }));
2381
2393
  };
2382
2394
  }
2383
2395
  render() {
2384
2396
  return this.withoutIcon ? m`
2385
- <input type='checkbox' id='genus-checkbox' class='genus-checkbox' @change=${this.getInputValue} value=${this.inputValue} />
2386
- <label class='label genus-checkbox-label' for='genus-checkbox'>
2397
+ <input type='checkbox' id='genus-checkbox-${this.inputID}' class='genus-checkbox' @change=${this.getInputValue} value=${this.inputValue} />
2398
+ <label class='label genus-checkbox-label genus-checkbox-label--without-icon' for=id='genus-checkbox-${this.inputID}'>
2387
2399
  <span class="label-text">${this.labelText}</span>
2388
2400
  </label>
2389
2401
  ` : m`
2390
- <input type='checkbox' id='genus-checkbox' class='genus-checkbox' @change=${this.getInputValue} value=${this.inputValue} />
2391
- <label class='label genus-checkbox-label genus-checkbox-label--with-icon' for='genus-checkbox'>
2402
+ <input type='checkbox' id='genus-checkbox-${this.inputID}' class='genus-checkbox' @change=${this.getInputValue} value=${this.inputValue} />
2403
+ <label class='label genus-checkbox-label' for=id='genus-checkbox-${this.inputID}'>
2392
2404
  <span class="label-text">${this.labelText}</span>
2393
- <object class="genus-icon checkbox-icon unchecked-icon" data='${ol}' width='18' height='18'></object>
2394
- <object class="genus-icon checkbox-icon checked-icon" data='${al}' width='18' height='18'></object>
2405
+ <img class="component-icon checkbox-icon unchecked-icon" src='${this.uncheckedBoxIcon || ol}' />
2406
+ <img class="component-icon checkbox-icon checked-icon" src='${this.checkedBoxIcon || al}' />
2395
2407
  </label>
2396
2408
  `;
2397
2409
  }
2398
2410
  };
2399
- Pe.styles = [sl, tl, el, il, nl];
2400
- Ri([
2411
+ Kt.styles = [sl, tl, el, il, nl];
2412
+ Ye([
2401
2413
  b({ attribute: "label-text" })
2402
- ], Pe.prototype, "labelText", 2);
2403
- Ri([
2414
+ ], Kt.prototype, "labelText", 2);
2415
+ Ye([
2404
2416
  b({ attribute: "input-value" })
2405
- ], Pe.prototype, "inputValue", 2);
2406
- Ri([
2417
+ ], Kt.prototype, "inputValue", 2);
2418
+ Ye([
2419
+ b({ attribute: "input-id" })
2420
+ ], Kt.prototype, "inputID", 2);
2421
+ Ye([
2422
+ b({ attribute: "checked-box-icon" })
2423
+ ], Kt.prototype, "checkedBoxIcon", 2);
2424
+ Ye([
2425
+ b({ attribute: "unchecked-box-icon" })
2426
+ ], Kt.prototype, "uncheckedBoxIcon", 2);
2427
+ Ye([
2407
2428
  b({ type: Boolean, attribute: "without-icon" })
2408
- ], Pe.prototype, "withoutIcon", 2);
2409
- Pe = Ri([
2429
+ ], Kt.prototype, "withoutIcon", 2);
2430
+ Kt = Ye([
2410
2431
  U("genus-checkbox")
2411
- ], Pe);
2432
+ ], Kt);
2412
2433
  const cl = D`
2413
2434
  input[type='text']
2414
2435
  {
@@ -2627,7 +2648,7 @@ const cl = D`
2627
2648
  place-items: center;
2628
2649
  justify-content: center;
2629
2650
  }
2630
- `, ui = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='24px'%20height='24px'%20viewBox='0%200%2024%2024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eIconly/Light/Arrow%20-%20Down%202%3c/title%3e%3cg%20id='Iconly/Light/Arrow---Down-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cg%20id='Arrow---Down-2'%20transform='translate(5.000000,%208.500000)'%20stroke='%2320bec7'%20stroke-width='1.25'%3e%3cpolyline%20id='Stroke-1'%20points='14%200%207%207%200%200'%3e%3c/polyline%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
2651
+ `, gi = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='24px'%20height='24px'%20viewBox='0%200%2024%2024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eIconly/Light/Arrow%20-%20Down%202%3c/title%3e%3cg%20id='Iconly/Light/Arrow---Down-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cg%20id='Arrow---Down-2'%20transform='translate(5.000000,%208.500000)'%20stroke='%2320bec7'%20stroke-width='1.25'%3e%3cpolyline%20id='Stroke-1'%20points='14%200%207%207%200%200'%3e%3c/polyline%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
2631
2652
  var fl = Object.defineProperty, pl = Object.getOwnPropertyDescriptor, Et = (i, t, e, n) => {
2632
2653
  for (var s = n > 1 ? void 0 : n ? pl(t, e) : t, o = i.length - 1, a; o >= 0; o--)
2633
2654
  (a = i[o]) && (s = (n ? a(t, e, s) : a(s)) || s);
@@ -2647,7 +2668,7 @@ let ct = class extends Z {
2647
2668
  <div class='form-field form-field--without-label'>
2648
2669
  <input class='input-control select-control' type='text' @click=${this.toggleOptions} placeholder=${this.placeholderText} value=${this.inputValue} name=${this.inputName} readonly />
2649
2670
  <div class='icon-container'>
2650
- <img class="component-icon" src='${this.inputIconSrc || ui}' />
2671
+ <img class="component-icon" src='${this.inputIconSrc || gi}' />
2651
2672
  </div>
2652
2673
  </div>
2653
2674
  <div class='filter-container filter-container-${this.displayPosition} ${this._showOptionsCSS}'>
@@ -2663,7 +2684,7 @@ let ct = class extends Z {
2663
2684
  <div class='form-field form-field--without-label'>
2664
2685
  <input class='input-control select-control' type='text' @click=${this.toggleOptions} placeholder=${this.placeholderText} value=${this.inputValue} name=${this.inputName} readonly />
2665
2686
  <div class='icon-container'>
2666
- <img class="component-icon" src='${this.inputIconSrc || ui}' />
2687
+ <img class="component-icon" src='${this.inputIconSrc || gi}' />
2667
2688
  </div>
2668
2689
  </div>
2669
2690
  <ul class='options options-${this.displayPosition} ${this._showOptionsCSS}' @click=${this.selectOption}>
@@ -2675,7 +2696,7 @@ let ct = class extends Z {
2675
2696
  <label class='input-label'>${this.labelText}</label>
2676
2697
  <input class='input-control select-control' type='text' @click=${this.toggleOptions} placeholder=${this.placeholderText} value=${this.inputValue} name=${this.inputName} readonly />
2677
2698
  <div class='icon-container'>
2678
- <img class="component-icon" src='${this.inputIconSrc || ui}' />
2699
+ <img class="component-icon" src='${this.inputIconSrc || gi}' />
2679
2700
  </div>
2680
2701
  </div>
2681
2702
  <div class='filter-container filter-container-${this.displayPosition} ${this._showOptionsCSS}'>
@@ -2692,7 +2713,7 @@ let ct = class extends Z {
2692
2713
  <label class='input-label'>${this.labelText}</label>
2693
2714
  <input class='input-control select-control' type='text' @click=${this.toggleOptions} placeholder=${this.placeholderText} value=${this.inputValue} name=${this.inputName} readonly />
2694
2715
  <div class='icon-container'>
2695
- <img class="component-icon" src='${this.inputIconSrc || ui}' />
2716
+ <img class="component-icon" src='${this.inputIconSrc || gi}' />
2696
2717
  </div>
2697
2718
  </div>
2698
2719
  <ul class='options options-${this.displayPosition} ${this._showOptionsCSS}' @click=${this.selectOption}>
@@ -2747,7 +2768,7 @@ var wl = Object.defineProperty, ml = Object.getOwnPropertyDescriptor, Eo = (i, t
2747
2768
  (a = i[o]) && (s = (n ? a(t, e, s) : a(s)) || s);
2748
2769
  return n && s && wl(t, e, s), s;
2749
2770
  };
2750
- let ii = class extends Z {
2771
+ let ni = class extends Z {
2751
2772
  constructor() {
2752
2773
  super(...arguments), this.optionValue = "";
2753
2774
  }
@@ -2759,20 +2780,20 @@ let ii = class extends Z {
2759
2780
  `;
2760
2781
  }
2761
2782
  };
2762
- ii.styles = [nt, Co, Io];
2783
+ ni.styles = [nt, Co, Io];
2763
2784
  Eo([
2764
2785
  b({ attribute: "option-value" })
2765
- ], ii.prototype, "optionValue", 2);
2766
- ii = Eo([
2786
+ ], ni.prototype, "optionValue", 2);
2787
+ ni = Eo([
2767
2788
  U("genus-dropdown-option")
2768
- ], ii);
2789
+ ], ni);
2769
2790
  const xf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2770
2791
  __proto__: null,
2771
2792
  get GenusDropDown() {
2772
2793
  return ct;
2773
2794
  },
2774
2795
  get GenusDropDownOption() {
2775
- return ii;
2796
+ return ni;
2776
2797
  }
2777
2798
  }, Symbol.toStringTag, { value: "Module" })), bl = D`
2778
2799
  *
@@ -2839,23 +2860,23 @@ const xf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2839
2860
  align-items: center;
2840
2861
  }
2841
2862
  `;
2842
- function hi(i) {
2863
+ function Ai(i) {
2843
2864
  return i + 0.5 | 0;
2844
2865
  }
2845
- const _t = (i, t, e) => Math.max(Math.min(i, e), t);
2846
- function Ue(i) {
2847
- return _t(hi(i * 2.55), 0, 255);
2866
+ const $t = (i, t, e) => Math.max(Math.min(i, e), t);
2867
+ function Ke(i) {
2868
+ return $t(Ai(i * 2.55), 0, 255);
2848
2869
  }
2849
- function ie(i) {
2850
- return _t(hi(i * 255), 0, 255);
2870
+ function ne(i) {
2871
+ return $t(Ai(i * 255), 0, 255);
2851
2872
  }
2852
2873
  function Ht(i) {
2853
- return _t(hi(i / 2.55) / 100, 0, 1);
2874
+ return $t(Ai(i / 2.55) / 100, 0, 1);
2854
2875
  }
2855
2876
  function Jn(i) {
2856
- return _t(hi(i * 100), 0, 100);
2877
+ return $t(Ai(i * 100), 0, 100);
2857
2878
  }
2858
- const bt = { 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 }, fn = [..."0123456789ABCDEF"], xl = (i) => fn[i & 15], Bl = (i) => fn[(i & 240) >> 4] + fn[i & 15], gi = (i) => (i & 240) >> 4 === (i & 15), vl = (i) => gi(i.r) && gi(i.g) && gi(i.b) && gi(i.a);
2879
+ const bt = { 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 }, fn = [..."0123456789ABCDEF"], xl = (i) => fn[i & 15], Bl = (i) => fn[(i & 240) >> 4] + fn[i & 15], fi = (i) => (i & 240) >> 4 === (i & 15), vl = (i) => fi(i.r) && fi(i.g) && fi(i.b) && fi(i.a);
2859
2880
  function Gl(i) {
2860
2881
  var t = i.length, e;
2861
2882
  return i[0] === "#" && (t === 4 || t === 5 ? e = {
@@ -2900,7 +2921,7 @@ function yn(i) {
2900
2921
  return o !== a && (h = o - a, c = r > 0.5 ? h / (2 - o - a) : h / (o + a), l = kl(e, n, s, h, o), l = l * 60 + 0.5), [l | 0, c || 0, r];
2901
2922
  }
2902
2923
  function Yn(i, t, e, n) {
2903
- return (Array.isArray(t) ? i(t[0], t[1], t[2]) : i(t, e, n)).map(ie);
2924
+ return (Array.isArray(t) ? i(t[0], t[1], t[2]) : i(t, e, n)).map(ne);
2904
2925
  }
2905
2926
  function Cn(i, t, e) {
2906
2927
  return Yn(ko, i, t, e);
@@ -2919,7 +2940,7 @@ function Sl(i) {
2919
2940
  let e = 255, n;
2920
2941
  if (!t)
2921
2942
  return;
2922
- t[5] !== n && (e = t[6] ? Ue(+t[5]) : ie(+t[5]));
2943
+ t[5] !== n && (e = t[6] ? Ke(+t[5]) : ne(+t[5]));
2923
2944
  const s = Qo(+t[2]), o = +t[3] / 100, a = +t[4] / 100;
2924
2945
  return t[1] === "hwb" ? n = Ql(s, o, a) : t[1] === "hsv" ? n = Pl(s, o, a) : n = Cn(s, o, a), {
2925
2946
  r: n[0],
@@ -3126,10 +3147,10 @@ function zl() {
3126
3147
  }
3127
3148
  return i;
3128
3149
  }
3129
- let fi;
3150
+ let pi;
3130
3151
  function Ol(i) {
3131
- fi || (fi = zl(), fi.transparent = [0, 0, 0, 0]);
3132
- const t = fi[i.toLowerCase()];
3152
+ pi || (pi = zl(), pi.transparent = [0, 0, 0, 0]);
3153
+ const t = pi[i.toLowerCase()];
3133
3154
  return t && {
3134
3155
  r: t[0],
3135
3156
  g: t[1],
@@ -3144,9 +3165,9 @@ function jl(i) {
3144
3165
  if (t) {
3145
3166
  if (t[7] !== n) {
3146
3167
  const a = +t[7];
3147
- e = t[8] ? Ue(a) : _t(a * 255, 0, 255);
3168
+ e = t[8] ? Ke(a) : $t(a * 255, 0, 255);
3148
3169
  }
3149
- return n = +t[1], s = +t[3], o = +t[5], n = 255 & (t[2] ? Ue(n) : _t(n, 0, 255)), s = 255 & (t[4] ? Ue(s) : _t(s, 0, 255)), o = 255 & (t[6] ? Ue(o) : _t(o, 0, 255)), {
3170
+ return n = +t[1], s = +t[3], o = +t[5], n = 255 & (t[2] ? Ke(n) : $t(n, 0, 255)), s = 255 & (t[4] ? Ke(s) : $t(s, 0, 255)), o = 255 & (t[6] ? Ke(o) : $t(o, 0, 255)), {
3150
3171
  r: n,
3151
3172
  g: s,
3152
3173
  b: o,
@@ -3157,17 +3178,17 @@ function jl(i) {
3157
3178
  function Nl(i) {
3158
3179
  return i && (i.a < 255 ? `rgba(${i.r}, ${i.g}, ${i.b}, ${Ht(i.a)})` : `rgb(${i.r}, ${i.g}, ${i.b})`);
3159
3180
  }
3160
- const Xi = (i) => i <= 31308e-7 ? i * 12.92 : Math.pow(i, 1 / 2.4) * 1.055 - 0.055, Ee = (i) => i <= 0.04045 ? i / 12.92 : Math.pow((i + 0.055) / 1.055, 2.4);
3181
+ const Xi = (i) => i <= 31308e-7 ? i * 12.92 : Math.pow(i, 1 / 2.4) * 1.055 - 0.055, Qe = (i) => i <= 0.04045 ? i / 12.92 : Math.pow((i + 0.055) / 1.055, 2.4);
3161
3182
  function Vl(i, t, e) {
3162
- const n = Ee(Ht(i.r)), s = Ee(Ht(i.g)), o = Ee(Ht(i.b));
3183
+ const n = Qe(Ht(i.r)), s = Qe(Ht(i.g)), o = Qe(Ht(i.b));
3163
3184
  return {
3164
- r: ie(Xi(n + e * (Ee(Ht(t.r)) - n))),
3165
- g: ie(Xi(s + e * (Ee(Ht(t.g)) - s))),
3166
- b: ie(Xi(o + e * (Ee(Ht(t.b)) - o))),
3185
+ r: ne(Xi(n + e * (Qe(Ht(t.r)) - n))),
3186
+ g: ne(Xi(s + e * (Qe(Ht(t.g)) - s))),
3187
+ b: ne(Xi(o + e * (Qe(Ht(t.b)) - o))),
3167
3188
  a: i.a + e * (t.a - i.a)
3168
3189
  };
3169
3190
  }
3170
- function pi(i, t, e) {
3191
+ function wi(i, t, e) {
3171
3192
  if (i) {
3172
3193
  let n = yn(i);
3173
3194
  n[t] = Math.max(0, Math.min(n[t] + n[t] * e, t === 0 ? 360 : 1)), n = Cn(n), i.r = n[0], i.g = n[1], i.b = n[2];
@@ -3178,14 +3199,14 @@ function Po(i, t) {
3178
3199
  }
3179
3200
  function $n(i) {
3180
3201
  var t = { r: 0, g: 0, b: 0, a: 255 };
3181
- return Array.isArray(i) ? i.length >= 3 && (t = { r: i[0], g: i[1], b: i[2], a: 255 }, i.length > 3 && (t.a = ie(i[3]))) : (t = Po(i, { r: 0, g: 0, b: 0, a: 1 }), t.a = ie(t.a)), t;
3202
+ return Array.isArray(i) ? i.length >= 3 && (t = { r: i[0], g: i[1], b: i[2], a: 255 }, i.length > 3 && (t.a = ne(i[3]))) : (t = Po(i, { r: 0, g: 0, b: 0, a: 1 }), t.a = ne(t.a)), t;
3182
3203
  }
3183
3204
  function Hl(i) {
3184
3205
  return i.charAt(0) === "r" ? jl(i) : Sl(i);
3185
3206
  }
3186
- class ni {
3207
+ class si {
3187
3208
  constructor(t) {
3188
- if (t instanceof ni)
3209
+ if (t instanceof si)
3189
3210
  return t;
3190
3211
  const e = typeof t;
3191
3212
  let n;
@@ -3223,17 +3244,17 @@ class ni {
3223
3244
  return t && (this._rgb = Vl(this._rgb, t._rgb, e)), this;
3224
3245
  }
3225
3246
  clone() {
3226
- return new ni(this.rgb);
3247
+ return new si(this.rgb);
3227
3248
  }
3228
3249
  alpha(t) {
3229
- return this._rgb.a = ie(t), this;
3250
+ return this._rgb.a = ne(t), this;
3230
3251
  }
3231
3252
  clearer(t) {
3232
3253
  const e = this._rgb;
3233
3254
  return e.a *= 1 - t, this;
3234
3255
  }
3235
3256
  greyscale() {
3236
- const t = this._rgb, e = hi(t.r * 0.3 + t.g * 0.59 + t.b * 0.11);
3257
+ const t = this._rgb, e = Ai(t.r * 0.3 + t.g * 0.59 + t.b * 0.11);
3237
3258
  return t.r = t.g = t.b = e, this;
3238
3259
  }
3239
3260
  opaquer(t) {
@@ -3245,16 +3266,16 @@ class ni {
3245
3266
  return t.r = 255 - t.r, t.g = 255 - t.g, t.b = 255 - t.b, this;
3246
3267
  }
3247
3268
  lighten(t) {
3248
- return pi(this._rgb, 2, t), this;
3269
+ return wi(this._rgb, 2, t), this;
3249
3270
  }
3250
3271
  darken(t) {
3251
- return pi(this._rgb, 2, -t), this;
3272
+ return wi(this._rgb, 2, -t), this;
3252
3273
  }
3253
3274
  saturate(t) {
3254
- return pi(this._rgb, 1, t), this;
3275
+ return wi(this._rgb, 1, t), this;
3255
3276
  }
3256
3277
  desaturate(t) {
3257
- return pi(this._rgb, 1, -t), this;
3278
+ return wi(this._rgb, 1, -t), this;
3258
3279
  }
3259
3280
  rotate(t) {
3260
3281
  return Ll(this._rgb, t), this;
@@ -3301,7 +3322,7 @@ function O(i, t, e, n) {
3301
3322
  for (a = Object.keys(i), o = a.length, s = 0; s < o; s++)
3302
3323
  t.call(e, i[a[s]], a[s]);
3303
3324
  }
3304
- function ki(i, t) {
3325
+ function Qi(i, t) {
3305
3326
  let e, n, s, o;
3306
3327
  if (!i || !t || i.length !== t.length)
3307
3328
  return !1;
@@ -3310,14 +3331,14 @@ function ki(i, t) {
3310
3331
  return !1;
3311
3332
  return !0;
3312
3333
  }
3313
- function Qi(i) {
3334
+ function Pi(i) {
3314
3335
  if (F(i))
3315
- return i.map(Qi);
3336
+ return i.map(Pi);
3316
3337
  if (P(i)) {
3317
3338
  const t = /* @__PURE__ */ Object.create(null), e = Object.keys(i), n = e.length;
3318
3339
  let s = 0;
3319
3340
  for (; s < n; ++s)
3320
- t[e[s]] = Qi(i[e[s]]);
3341
+ t[e[s]] = Pi(i[e[s]]);
3321
3342
  return t;
3322
3343
  }
3323
3344
  return i;
@@ -3333,9 +3354,9 @@ function Zl(i, t, e, n) {
3333
3354
  if (!Lo(i))
3334
3355
  return;
3335
3356
  const s = t[i], o = e[i];
3336
- P(s) && P(o) ? si(s, o, n) : t[i] = Qi(o);
3357
+ P(s) && P(o) ? oi(s, o, n) : t[i] = Pi(o);
3337
3358
  }
3338
- function si(i, t, e) {
3359
+ function oi(i, t, e) {
3339
3360
  const n = F(t) ? t : [
3340
3361
  t
3341
3362
  ], s = n.length;
@@ -3353,8 +3374,8 @@ function si(i, t, e) {
3353
3374
  }
3354
3375
  return i;
3355
3376
  }
3356
- function qe(i, t) {
3357
- return si(i, t, {
3377
+ function _e(i, t) {
3378
+ return oi(i, t, {
3358
3379
  merger: Ul
3359
3380
  });
3360
3381
  }
@@ -3362,7 +3383,7 @@ function Ul(i, t, e) {
3362
3383
  if (!Lo(i))
3363
3384
  return;
3364
3385
  const n = t[i], s = e[i];
3365
- P(n) && P(s) ? qe(n, s) : Object.prototype.hasOwnProperty.call(t, i) || (t[i] = Qi(s));
3386
+ P(n) && P(s) ? _e(n, s) : Object.prototype.hasOwnProperty.call(t, i) || (t[i] = Pi(s));
3366
3387
  }
3367
3388
  const ts = {
3368
3389
  // Chart.helpers.core resolveObjectKey should resolve empty key to root object
@@ -3389,13 +3410,13 @@ function Xl(i) {
3389
3410
  return e;
3390
3411
  };
3391
3412
  }
3392
- function ne(i, t) {
3413
+ function se(i, t) {
3393
3414
  return (ts[t] || (ts[t] = Xl(t)))(i);
3394
3415
  }
3395
3416
  function In(i) {
3396
3417
  return i.charAt(0).toUpperCase() + i.slice(1);
3397
3418
  }
3398
- const oi = (i) => typeof i < "u", se = (i) => typeof i == "function", es = (i, t) => {
3419
+ const ai = (i) => typeof i < "u", oe = (i) => typeof i == "function", es = (i, t) => {
3399
3420
  if (i.size !== t.size)
3400
3421
  return !1;
3401
3422
  for (const e of i)
@@ -3406,14 +3427,14 @@ const oi = (i) => typeof i < "u", se = (i) => typeof i == "function", es = (i, t
3406
3427
  function Jl(i) {
3407
3428
  return i.type === "mouseup" || i.type === "click" || i.type === "contextmenu";
3408
3429
  }
3409
- const T = Math.PI, V = 2 * T, ql = V + T, Pi = Number.POSITIVE_INFINITY, _l = T / 180, J = T / 2, ge = T / 4, is = T * 2 / 3, $t = Math.log10, Lt = Math.sign;
3410
- function _e(i, t, e) {
3430
+ const T = Math.PI, V = 2 * T, ql = V + T, Si = Number.POSITIVE_INFINITY, _l = T / 180, J = T / 2, fe = T / 4, is = T * 2 / 3, te = Math.log10, Lt = Math.sign;
3431
+ function $e(i, t, e) {
3411
3432
  return Math.abs(i - t) < e;
3412
3433
  }
3413
3434
  function ns(i) {
3414
3435
  const t = Math.round(i);
3415
- i = _e(i, t, i / 1e3) ? t : i;
3416
- const e = Math.pow(10, Math.floor($t(i))), n = i / e;
3436
+ i = $e(i, t, i / 1e3) ? t : i;
3437
+ const e = Math.pow(10, Math.floor(te(i))), n = i / e;
3417
3438
  return (n <= 1 ? 1 : n <= 2 ? 2 : n <= 5 ? 5 : 10) * e;
3418
3439
  }
3419
3440
  function $l(i) {
@@ -3426,7 +3447,7 @@ function $l(i) {
3426
3447
  function tc(i) {
3427
3448
  return typeof i == "symbol" || typeof i == "object" && i !== null && !(Symbol.toPrimitive in i || "toString" in i || "valueOf" in i);
3428
3449
  }
3429
- function Se(i) {
3450
+ function Le(i) {
3430
3451
  return !tc(i) && !isNaN(parseFloat(i)) && isFinite(i);
3431
3452
  }
3432
3453
  function ec(i, t) {
@@ -3469,7 +3490,7 @@ function ic(i, t) {
3469
3490
  function at(i) {
3470
3491
  return (i % V + V) % V;
3471
3492
  }
3472
- function ai(i, t, e, n) {
3493
+ function ri(i, t, e, n) {
3473
3494
  const s = at(i), o = at(t), a = at(e), r = at(o - s), l = at(a - s), c = at(s - o), h = at(s - a);
3474
3495
  return s === o || s === a || n && o === a || r > l && c < h;
3475
3496
  }
@@ -3620,7 +3641,7 @@ function Ho(i) {
3620
3641
  const o = n.xmin !== t.min || n.xmax !== t.max || n.ymin !== e.min || n.ymax !== e.max;
3621
3642
  return Object.assign(n, s), o;
3622
3643
  }
3623
- const wi = (i) => i === 0 || i === 1, as = (i, t, e) => -(Math.pow(2, 10 * (i -= 1)) * Math.sin((i - t) * V / e)), rs = (i, t, e) => Math.pow(2, -10 * i) * Math.sin((i - t) * V / e) + 1, $e = {
3644
+ const mi = (i) => i === 0 || i === 1, as = (i, t, e) => -(Math.pow(2, 10 * (i -= 1)) * Math.sin((i - t) * V / e)), rs = (i, t, e) => Math.pow(2, -10 * i) * Math.sin((i - t) * V / e) + 1, ti = {
3624
3645
  linear: (i) => i,
3625
3646
  easeInQuad: (i) => i * i,
3626
3647
  easeOutQuad: (i) => -i * (i - 2),
@@ -3639,14 +3660,14 @@ const wi = (i) => i === 0 || i === 1, as = (i, t, e) => -(Math.pow(2, 10 * (i -=
3639
3660
  easeInOutSine: (i) => -0.5 * (Math.cos(T * i) - 1),
3640
3661
  easeInExpo: (i) => i === 0 ? 0 : Math.pow(2, 10 * (i - 1)),
3641
3662
  easeOutExpo: (i) => i === 1 ? 1 : -Math.pow(2, -10 * i) + 1,
3642
- easeInOutExpo: (i) => wi(i) ? i : i < 0.5 ? 0.5 * Math.pow(2, 10 * (i * 2 - 1)) : 0.5 * (-Math.pow(2, -10 * (i * 2 - 1)) + 2),
3663
+ easeInOutExpo: (i) => mi(i) ? i : i < 0.5 ? 0.5 * Math.pow(2, 10 * (i * 2 - 1)) : 0.5 * (-Math.pow(2, -10 * (i * 2 - 1)) + 2),
3643
3664
  easeInCirc: (i) => i >= 1 ? i : -(Math.sqrt(1 - i * i) - 1),
3644
3665
  easeOutCirc: (i) => Math.sqrt(1 - (i -= 1) * i),
3645
3666
  easeInOutCirc: (i) => (i /= 0.5) < 1 ? -0.5 * (Math.sqrt(1 - i * i) - 1) : 0.5 * (Math.sqrt(1 - (i -= 2) * i) + 1),
3646
- easeInElastic: (i) => wi(i) ? i : as(i, 0.075, 0.3),
3647
- easeOutElastic: (i) => wi(i) ? i : rs(i, 0.075, 0.3),
3667
+ easeInElastic: (i) => mi(i) ? i : as(i, 0.075, 0.3),
3668
+ easeOutElastic: (i) => mi(i) ? i : rs(i, 0.075, 0.3),
3648
3669
  easeInOutElastic(i) {
3649
- return wi(i) ? i : i < 0.5 ? 0.5 * as(i * 2, 0.1125, 0.45) : 0.5 + 0.5 * rs(i * 2 - 1, 0.1125, 0.45);
3670
+ return mi(i) ? i : i < 0.5 ? 0.5 * as(i * 2, 0.1125, 0.45) : 0.5 + 0.5 * rs(i * 2 - 1, 0.1125, 0.45);
3650
3671
  },
3651
3672
  easeInBack(i) {
3652
3673
  return i * i * ((1.70158 + 1) * i - 1.70158);
@@ -3658,11 +3679,11 @@ const wi = (i) => i === 0 || i === 1, as = (i, t, e) => -(Math.pow(2, 10 * (i -=
3658
3679
  let t = 1.70158;
3659
3680
  return (i /= 0.5) < 1 ? 0.5 * (i * i * (((t *= 1.525) + 1) * i - t)) : 0.5 * ((i -= 2) * i * (((t *= 1.525) + 1) * i + t) + 2);
3660
3681
  },
3661
- easeInBounce: (i) => 1 - $e.easeOutBounce(1 - i),
3682
+ easeInBounce: (i) => 1 - ti.easeOutBounce(1 - i),
3662
3683
  easeOutBounce(i) {
3663
3684
  return i < 1 / 2.75 ? 7.5625 * i * i : i < 2 / 2.75 ? 7.5625 * (i -= 1.5 / 2.75) * i + 0.75 : i < 2.5 / 2.75 ? 7.5625 * (i -= 2.25 / 2.75) * i + 0.9375 : 7.5625 * (i -= 2.625 / 2.75) * i + 0.984375;
3664
3685
  },
3665
- easeInOutBounce: (i) => i < 0.5 ? $e.easeInBounce(i * 2) * 0.5 : $e.easeOutBounce(i * 2 - 1) * 0.5 + 0.5
3686
+ easeInOutBounce: (i) => i < 0.5 ? ti.easeInBounce(i * 2) * 0.5 : ti.easeOutBounce(i * 2 - 1) * 0.5 + 0.5
3666
3687
  };
3667
3688
  function Pn(i) {
3668
3689
  if (i && typeof i == "object") {
@@ -3672,10 +3693,10 @@ function Pn(i) {
3672
3693
  return !1;
3673
3694
  }
3674
3695
  function ls(i) {
3675
- return Pn(i) ? i : new ni(i);
3696
+ return Pn(i) ? i : new si(i);
3676
3697
  }
3677
3698
  function Ji(i) {
3678
- return Pn(i) ? i : new ni(i).saturate(0.5).darken(0.1).hexString();
3699
+ return Pn(i) ? i : new si(i).saturate(0.5).darken(0.1).hexString();
3679
3700
  }
3680
3701
  const cc = [
3681
3702
  "x",
@@ -3767,7 +3788,7 @@ function uc(i, t) {
3767
3788
  let n = cs.get(e);
3768
3789
  return n || (n = new Intl.NumberFormat(i, t), cs.set(e, n)), n;
3769
3790
  }
3770
- function Ai(i, t, e) {
3791
+ function di(i, t, e) {
3771
3792
  return uc(t, e).format(i);
3772
3793
  }
3773
3794
  const Fo = {
@@ -3783,17 +3804,17 @@ const Fo = {
3783
3804
  const c = Math.max(Math.abs(e[0].value), Math.abs(e[e.length - 1].value));
3784
3805
  (c < 1e-4 || c > 1e15) && (s = "scientific"), o = gc(i, e);
3785
3806
  }
3786
- const a = $t(Math.abs(o)), r = isNaN(a) ? 1 : Math.max(Math.min(-1 * Math.floor(a), 20), 0), l = {
3807
+ const a = te(Math.abs(o)), r = isNaN(a) ? 1 : Math.max(Math.min(-1 * Math.floor(a), 20), 0), l = {
3787
3808
  notation: s,
3788
3809
  minimumFractionDigits: r,
3789
3810
  maximumFractionDigits: r
3790
3811
  };
3791
- return Object.assign(l, this.options.ticks.format), Ai(i, n, l);
3812
+ return Object.assign(l, this.options.ticks.format), di(i, n, l);
3792
3813
  },
3793
3814
  logarithmic(i, t, e) {
3794
3815
  if (i === 0)
3795
3816
  return "0";
3796
- const n = e[t].significand || i / Math.pow(10, Math.floor($t(i)));
3817
+ const n = e[t].significand || i / Math.pow(10, Math.floor(te(i)));
3797
3818
  return [
3798
3819
  1,
3799
3820
  2,
@@ -3875,8 +3896,8 @@ function fc(i) {
3875
3896
  _indexable: (t) => t !== "backdropPadding"
3876
3897
  });
3877
3898
  }
3878
- const xe = /* @__PURE__ */ Object.create(null), wn = /* @__PURE__ */ Object.create(null);
3879
- function ti(i, t) {
3899
+ const Be = /* @__PURE__ */ Object.create(null), wn = /* @__PURE__ */ Object.create(null);
3900
+ function ei(i, t) {
3880
3901
  if (!t)
3881
3902
  return i;
3882
3903
  const e = t.split(".");
@@ -3887,7 +3908,7 @@ function ti(i, t) {
3887
3908
  return i;
3888
3909
  }
3889
3910
  function qi(i, t, e) {
3890
- return typeof t == "string" ? si(ti(i, t), e) : si(ti(i, ""), t);
3911
+ return typeof t == "string" ? oi(ei(i, t), e) : oi(ei(i, ""), t);
3891
3912
  }
3892
3913
  class pc {
3893
3914
  constructor(t, e) {
@@ -3913,16 +3934,16 @@ class pc {
3913
3934
  return qi(this, t, e);
3914
3935
  }
3915
3936
  get(t) {
3916
- return ti(this, t);
3937
+ return ei(this, t);
3917
3938
  }
3918
3939
  describe(t, e) {
3919
3940
  return qi(wn, t, e);
3920
3941
  }
3921
3942
  override(t, e) {
3922
- return qi(xe, t, e);
3943
+ return qi(Be, t, e);
3923
3944
  }
3924
3945
  route(t, e, n, s) {
3925
- const o = ti(this, t), a = ti(this, n), r = "_" + e;
3946
+ const o = ei(this, t), a = ei(this, n), r = "_" + e;
3926
3947
  Object.defineProperties(o, {
3927
3948
  [r]: {
3928
3949
  value: o[e],
@@ -3962,7 +3983,7 @@ var W = /* @__PURE__ */ new pc({
3962
3983
  function wc(i) {
3963
3984
  return !i || Q(i.size) || Q(i.family) ? null : (i.style ? i.style + " " : "") + (i.weight ? i.weight + " " : "") + i.size + "px " + i.family;
3964
3985
  }
3965
- function Si(i, t, e, n, s) {
3986
+ function Li(i, t, e, n, s) {
3966
3987
  let o = t[s];
3967
3988
  return o || (o = t[s] = i.measureText(s).width, e.push(s)), o > n && (n = o), n;
3968
3989
  }
@@ -3975,10 +3996,10 @@ function mc(i, t, e, n) {
3975
3996
  let l, c, h, A, d;
3976
3997
  for (l = 0; l < r; l++)
3977
3998
  if (A = e[l], A != null && !F(A))
3978
- a = Si(i, s, o, a, A);
3999
+ a = Li(i, s, o, a, A);
3979
4000
  else if (F(A))
3980
4001
  for (c = 0, h = A.length; c < h; c++)
3981
- d = A[c], d != null && !F(d) && (a = Si(i, s, o, a, d));
4002
+ d = A[c], d != null && !F(d) && (a = Li(i, s, o, a, d));
3982
4003
  i.restore();
3983
4004
  const u = o.length / 2;
3984
4005
  if (u > e.length) {
@@ -3988,7 +4009,7 @@ function mc(i, t, e, n) {
3988
4009
  }
3989
4010
  return a;
3990
4011
  }
3991
- function fe(i, t, e) {
4012
+ function pe(i, t, e) {
3992
4013
  const n = i.currentDevicePixelRatio, s = e !== 0 ? Math.max(e / 2, 0.5) : 0;
3993
4014
  return Math.round((t - s) * n) / n + s;
3994
4015
  }
@@ -4016,26 +4037,26 @@ function Wo(i, t, e, n, s) {
4016
4037
  h = s ? s / 2 : f, i.moveTo(e + Math.sin(p) * h, n - Math.cos(p) * f), p += is, i.lineTo(e + Math.sin(p) * h, n - Math.cos(p) * f), p += is, i.lineTo(e + Math.sin(p) * h, n - Math.cos(p) * f), i.closePath();
4017
4038
  break;
4018
4039
  case "rectRounded":
4019
- c = f * 0.516, l = f - c, a = Math.cos(p + ge) * l, A = Math.cos(p + ge) * (s ? s / 2 - c : l), r = Math.sin(p + ge) * l, d = Math.sin(p + ge) * (s ? s / 2 - c : l), i.arc(e - A, n - r, c, p - T, p - J), i.arc(e + d, n - a, c, p - J, p), i.arc(e + A, n + r, c, p, p + J), i.arc(e - d, n + a, c, p + J, p + T), i.closePath();
4040
+ c = f * 0.516, l = f - c, a = Math.cos(p + fe) * l, A = Math.cos(p + fe) * (s ? s / 2 - c : l), r = Math.sin(p + fe) * l, d = Math.sin(p + fe) * (s ? s / 2 - c : l), i.arc(e - A, n - r, c, p - T, p - J), i.arc(e + d, n - a, c, p - J, p), i.arc(e + A, n + r, c, p, p + J), i.arc(e - d, n + a, c, p + J, p + T), i.closePath();
4020
4041
  break;
4021
4042
  case "rect":
4022
4043
  if (!g) {
4023
4044
  l = Math.SQRT1_2 * f, h = s ? s / 2 : l, i.rect(e - h, n - l, 2 * h, 2 * l);
4024
4045
  break;
4025
4046
  }
4026
- p += ge;
4047
+ p += fe;
4027
4048
  /* falls through */
4028
4049
  case "rectRot":
4029
4050
  A = Math.cos(p) * (s ? s / 2 : f), a = Math.cos(p) * f, r = Math.sin(p) * f, d = Math.sin(p) * (s ? s / 2 : f), i.moveTo(e - A, n - r), i.lineTo(e + d, n - a), i.lineTo(e + A, n + r), i.lineTo(e - d, n + a), i.closePath();
4030
4051
  break;
4031
4052
  case "crossRot":
4032
- p += ge;
4053
+ p += fe;
4033
4054
  /* falls through */
4034
4055
  case "cross":
4035
4056
  A = Math.cos(p) * (s ? s / 2 : f), a = Math.cos(p) * f, r = Math.sin(p) * f, d = Math.sin(p) * (s ? s / 2 : f), i.moveTo(e - A, n - r), i.lineTo(e + A, n + r), i.moveTo(e + d, n - a), i.lineTo(e - d, n + a);
4036
4057
  break;
4037
4058
  case "star":
4038
- A = Math.cos(p) * (s ? s / 2 : f), a = Math.cos(p) * f, r = Math.sin(p) * f, d = Math.sin(p) * (s ? s / 2 : f), i.moveTo(e - A, n - r), i.lineTo(e + A, n + r), i.moveTo(e + d, n - a), i.lineTo(e - d, n + a), p += ge, A = Math.cos(p) * (s ? s / 2 : f), a = Math.cos(p) * f, r = Math.sin(p) * f, d = Math.sin(p) * (s ? s / 2 : f), i.moveTo(e - A, n - r), i.lineTo(e + A, n + r), i.moveTo(e + d, n - a), i.lineTo(e - d, n + a);
4059
+ A = Math.cos(p) * (s ? s / 2 : f), a = Math.cos(p) * f, r = Math.sin(p) * f, d = Math.sin(p) * (s ? s / 2 : f), i.moveTo(e - A, n - r), i.lineTo(e + A, n + r), i.moveTo(e + d, n - a), i.lineTo(e - d, n + a), p += fe, A = Math.cos(p) * (s ? s / 2 : f), a = Math.cos(p) * f, r = Math.sin(p) * f, d = Math.sin(p) * (s ? s / 2 : f), i.moveTo(e - A, n - r), i.lineTo(e + A, n + r), i.moveTo(e + d, n - a), i.lineTo(e - d, n + a);
4039
4060
  break;
4040
4061
  case "line":
4041
4062
  a = s ? s / 2 : Math.cos(p) * f, r = Math.sin(p) * f, i.moveTo(e - a, n - r), i.lineTo(e + a, n + r);
@@ -4086,7 +4107,7 @@ function Bc(i, t) {
4086
4107
  const e = i.fillStyle;
4087
4108
  i.fillStyle = t.color, i.fillRect(t.left, t.top, t.width, t.height), i.fillStyle = e;
4088
4109
  }
4089
- function Be(i, t, e, n, s, o = {}) {
4110
+ function ve(i, t, e, n, s, o = {}) {
4090
4111
  const a = F(t) ? t : [
4091
4112
  t
4092
4113
  ], r = o.strokeWidth > 0 && o.strokeColor !== "";
@@ -4095,7 +4116,7 @@ function Be(i, t, e, n, s, o = {}) {
4095
4116
  c = a[l], o.backdrop && Bc(i, o.backdrop), r && (o.strokeColor && (i.strokeStyle = o.strokeColor), Q(o.strokeWidth) || (i.lineWidth = o.strokeWidth), i.strokeText(c, e, n, o.maxWidth)), i.fillText(c, e, n, o.maxWidth), xc(i, e, n, c, o), n += Number(s.lineHeight);
4096
4117
  i.restore();
4097
4118
  }
4098
- function ri(i, t) {
4119
+ function li(i, t) {
4099
4120
  const { x: e, y: n, w: s, h: o, radius: a } = t;
4100
4121
  i.arc(e + a.topLeft, n + a.topLeft, a.topLeft, 1.5 * T, T, !0), i.lineTo(e, n + o - a.bottomLeft), i.arc(e + a.bottomLeft, n + o - a.bottomLeft, a.bottomLeft, T, J, !0), i.lineTo(e + s - a.bottomRight, n + o), i.arc(e + s - a.bottomRight, n + o - a.bottomRight, a.bottomRight, J, 0, !0), i.lineTo(e + s, n + a.topRight), i.arc(e + s - a.topRight, n + a.topRight, a.topRight, 0, -J, !0), i.lineTo(e + a.topLeft, n);
4101
4122
  }
@@ -4128,7 +4149,7 @@ function Zo(i) {
4128
4149
  left: "x"
4129
4150
  });
4130
4151
  }
4131
- function Me(i) {
4152
+ function De(i) {
4132
4153
  return Sn(i, [
4133
4154
  "topLeft",
4134
4155
  "topRight",
@@ -4156,7 +4177,7 @@ function q(i, t) {
4156
4177
  };
4157
4178
  return s.string = wc(s), s;
4158
4179
  }
4159
- function Ke(i, t, e, n) {
4180
+ function Xe(i, t, e, n) {
4160
4181
  let s, o, a;
4161
4182
  for (s = 0, o = i.length; s < o; ++s)
4162
4183
  if (a = i[s], a !== void 0 && a !== void 0)
@@ -4169,7 +4190,7 @@ function Cc(i, t, e) {
4169
4190
  max: a(s, o)
4170
4191
  };
4171
4192
  }
4172
- function ce(i, t) {
4193
+ function he(i, t) {
4173
4194
  return Object.assign(Object.create(i), t);
4174
4195
  }
4175
4196
  function Ln(i, t = [
@@ -4236,7 +4257,7 @@ function Ln(i, t = [
4236
4257
  }
4237
4258
  });
4238
4259
  }
4239
- function Le(i, t, e, n) {
4260
+ function Te(i, t, e, n) {
4240
4261
  const s = {
4241
4262
  _cacheable: !1,
4242
4263
  _proxy: i,
@@ -4244,8 +4265,8 @@ function Le(i, t, e, n) {
4244
4265
  _subProxy: e,
4245
4266
  _stack: /* @__PURE__ */ new Set(),
4246
4267
  _descriptors: Uo(i, n),
4247
- setContext: (o) => Le(i, o, e, n),
4248
- override: (o) => Le(i.override(o), t, e, n)
4268
+ setContext: (o) => Te(i, o, e, n),
4269
+ override: (o) => Te(i.override(o), t, e, n)
4249
4270
  };
4250
4271
  return new Proxy(s, {
4251
4272
  /**
@@ -4305,8 +4326,8 @@ function Uo(i, t = {
4305
4326
  allKeys: s,
4306
4327
  scriptable: e,
4307
4328
  indexable: n,
4308
- isScriptable: se(e) ? e : () => e,
4309
- isIndexable: se(n) ? n : () => n
4329
+ isScriptable: oe(e) ? e : () => e,
4330
+ isIndexable: oe(n) ? n : () => n
4310
4331
  };
4311
4332
  }
4312
4333
  const Ic = (i, t) => i ? i + In(t) : t, Tn = (i, t) => P(t) && i !== "adapters" && (Object.getPrototypeOf(t) === null || t.constructor === Object);
@@ -4319,7 +4340,7 @@ function Ko(i, t, e) {
4319
4340
  function Ec(i, t, e) {
4320
4341
  const { _proxy: n, _context: s, _subProxy: o, _descriptors: a } = i;
4321
4342
  let r = n[t];
4322
- return se(r) && a.isScriptable(t) && (r = kc(t, r, i, e)), F(r) && r.length && (r = Qc(t, r, i, a.isIndexable)), Tn(t, r) && (r = Le(r, s, o && o[t], a)), r;
4343
+ return oe(r) && a.isScriptable(t) && (r = kc(t, r, i, e)), F(r) && r.length && (r = Qc(t, r, i, a.isIndexable)), Tn(t, r) && (r = Te(r, s, o && o[t], a)), r;
4323
4344
  }
4324
4345
  function kc(i, t, e, n) {
4325
4346
  const { _proxy: s, _context: o, _subProxy: a, _stack: r } = e;
@@ -4338,15 +4359,15 @@ function Qc(i, t, e, n) {
4338
4359
  t = [];
4339
4360
  for (const h of l) {
4340
4361
  const A = zn(c, s, i, h);
4341
- t.push(Le(A, o, a && a[i], r));
4362
+ t.push(Te(A, o, a && a[i], r));
4342
4363
  }
4343
4364
  }
4344
4365
  return t;
4345
4366
  }
4346
4367
  function Xo(i, t, e) {
4347
- return se(i) ? i(t, e) : i;
4368
+ return oe(i) ? i(t, e) : i;
4348
4369
  }
4349
- const Pc = (i, t) => i === !0 ? t : typeof i == "string" ? ne(t, i) : void 0;
4370
+ const Pc = (i, t) => i === !0 ? t : typeof i == "string" ? se(t, i) : void 0;
4350
4371
  function Sc(i, t, e, n, s) {
4351
4372
  for (const o of t) {
4352
4373
  const a = Pc(e, o);
@@ -4413,11 +4434,11 @@ function qo(i, t, e, n) {
4413
4434
  let r, l, c, h;
4414
4435
  for (r = 0, l = n; r < l; ++r)
4415
4436
  c = r + e, h = t[c], a[r] = {
4416
- r: s.parse(ne(h, o), c)
4437
+ r: s.parse(se(h, o), c)
4417
4438
  };
4418
4439
  return a;
4419
4440
  }
4420
- const Oc = Number.EPSILON || 1e-14, Te = (i, t) => t < i.length && !i[t].skip && i[t], _o = (i) => i === "x" ? "y" : "x";
4441
+ const Oc = Number.EPSILON || 1e-14, ze = (i, t) => t < i.length && !i[t].skip && i[t], _o = (i) => i === "x" ? "y" : "x";
4421
4442
  function Rc(i, t, e, n) {
4422
4443
  const s = i.skip ? t : i, o = t, a = e.skip ? t : e, r = pn(o, s), l = pn(a, o);
4423
4444
  let c = r / (r + l), h = l / (r + l);
@@ -4436,10 +4457,10 @@ function Rc(i, t, e, n) {
4436
4457
  }
4437
4458
  function jc(i, t, e) {
4438
4459
  const n = i.length;
4439
- let s, o, a, r, l, c = Te(i, 0);
4460
+ let s, o, a, r, l, c = ze(i, 0);
4440
4461
  for (let h = 0; h < n - 1; ++h)
4441
- if (l = c, c = Te(i, h + 1), !(!l || !c)) {
4442
- if (_e(t[h], 0, Oc)) {
4462
+ if (l = c, c = ze(i, h + 1), !(!l || !c)) {
4463
+ if ($e(t[h], 0, Oc)) {
4443
4464
  e[h] = e[h + 1] = 0;
4444
4465
  continue;
4445
4466
  }
@@ -4448,9 +4469,9 @@ function jc(i, t, e) {
4448
4469
  }
4449
4470
  function Nc(i, t, e = "x") {
4450
4471
  const n = _o(e), s = i.length;
4451
- let o, a, r, l = Te(i, 0);
4472
+ let o, a, r, l = ze(i, 0);
4452
4473
  for (let c = 0; c < s; ++c) {
4453
- if (a = r, r = l, l = Te(i, c + 1), !r)
4474
+ if (a = r, r = l, l = ze(i, c + 1), !r)
4454
4475
  continue;
4455
4476
  const h = r[e], A = r[n];
4456
4477
  a && (o = (h - a[e]) / 3, r[`cp1${e}`] = h - o, r[`cp1${n}`] = A - o * t[c]), l && (o = (l[e] - h) / 3, r[`cp2${e}`] = h + o, r[`cp2${n}`] = A + o * t[c]);
@@ -4458,9 +4479,9 @@ function Nc(i, t, e = "x") {
4458
4479
  }
4459
4480
  function Vc(i, t = "x") {
4460
4481
  const e = _o(t), n = i.length, s = Array(n).fill(0), o = Array(n);
4461
- let a, r, l, c = Te(i, 0);
4482
+ let a, r, l, c = ze(i, 0);
4462
4483
  for (a = 0; a < n; ++a)
4463
- if (r = l, l = c, c = Te(i, a + 1), !!l) {
4484
+ if (r = l, l = c, c = ze(i, a + 1), !!l) {
4464
4485
  if (c) {
4465
4486
  const h = c[t] - l[t];
4466
4487
  s[a] = h !== 0 ? (c[e] - l[e]) / h : 0;
@@ -4469,13 +4490,13 @@ function Vc(i, t = "x") {
4469
4490
  }
4470
4491
  jc(i, s, o), Nc(i, o, t);
4471
4492
  }
4472
- function mi(i, t, e) {
4493
+ function bi(i, t, e) {
4473
4494
  return Math.max(Math.min(i, e), t);
4474
4495
  }
4475
4496
  function Hc(i, t) {
4476
4497
  let e, n, s, o, a, r = Zt(i[0], t);
4477
4498
  for (e = 0, n = i.length; e < n; ++e)
4478
- a = o, o = r, r = e < n - 1 && Zt(i[e + 1], t), o && (s = i[e], a && (s.cp1x = mi(s.cp1x, t.left, t.right), s.cp1y = mi(s.cp1y, t.top, t.bottom)), r && (s.cp2x = mi(s.cp2x, t.left, t.right), s.cp2y = mi(s.cp2y, t.top, t.bottom)));
4499
+ a = o, o = r, r = e < n - 1 && Zt(i[e + 1], t), o && (s = i[e], a && (s.cp1x = bi(s.cp1x, t.left, t.right), s.cp1y = bi(s.cp1y, t.top, t.bottom)), r && (s.cp2x = bi(s.cp2x, t.left, t.right), s.cp2y = bi(s.cp2y, t.top, t.bottom)));
4479
4500
  }
4480
4501
  function Fc(i, t, e, n, s) {
4481
4502
  let o, a, r, l;
@@ -4495,7 +4516,7 @@ function Rn(i) {
4495
4516
  let t = i.parentNode;
4496
4517
  return t && t.toString() === "[object ShadowRoot]" && (t = t.host), t;
4497
4518
  }
4498
- function Li(i, t, e) {
4519
+ function Ti(i, t, e) {
4499
4520
  let n;
4500
4521
  return typeof i == "string" ? (n = parseInt(i, 10), i.indexOf("%") !== -1 && (n = n / 100 * t.parentNode[e])) : n = i, n;
4501
4522
  }
@@ -4509,7 +4530,7 @@ const Zc = [
4509
4530
  "bottom",
4510
4531
  "left"
4511
4532
  ];
4512
- function De(i, t, e) {
4533
+ function xe(i, t, e) {
4513
4534
  const n = {};
4514
4535
  e = e ? "-" + e : "";
4515
4536
  for (let s = 0; s < 4; s++) {
@@ -4534,10 +4555,10 @@ function Kc(i, t) {
4534
4555
  box: a
4535
4556
  };
4536
4557
  }
4537
- function me(i, t) {
4558
+ function be(i, t) {
4538
4559
  if ("native" in i)
4539
4560
  return i;
4540
- const { canvas: e, currentDevicePixelRatio: n } = t, s = Hi(e), o = s.boxSizing === "border-box", a = De(s, "padding"), r = De(s, "border", "width"), { x: l, y: c, box: h } = Kc(i, e), A = a.left + (h && r.left), d = a.top + (h && r.top);
4561
+ const { canvas: e, currentDevicePixelRatio: n } = t, s = Hi(e), o = s.boxSizing === "border-box", a = xe(s, "padding"), r = xe(s, "border", "width"), { x: l, y: c, box: h } = Kc(i, e), A = a.left + (h && r.left), d = a.top + (h && r.top);
4541
4562
  let { width: u, height: g } = t;
4542
4563
  return o && (u -= a.width + r.width, g -= a.height + r.height), {
4543
4564
  x: Math.round((l - A) / u * e.width / n),
@@ -4551,33 +4572,33 @@ function Xc(i, t, e) {
4551
4572
  if (!o)
4552
4573
  t = i.clientWidth, e = i.clientHeight;
4553
4574
  else {
4554
- const a = o.getBoundingClientRect(), r = Hi(o), l = De(r, "border", "width"), c = De(r, "padding");
4555
- t = a.width - c.width - l.width, e = a.height - c.height - l.height, n = Li(r.maxWidth, o, "clientWidth"), s = Li(r.maxHeight, o, "clientHeight");
4575
+ const a = o.getBoundingClientRect(), r = Hi(o), l = xe(r, "border", "width"), c = xe(r, "padding");
4576
+ t = a.width - c.width - l.width, e = a.height - c.height - l.height, n = Ti(r.maxWidth, o, "clientWidth"), s = Ti(r.maxHeight, o, "clientHeight");
4556
4577
  }
4557
4578
  }
4558
4579
  return {
4559
4580
  width: t,
4560
4581
  height: e,
4561
- maxWidth: n || Pi,
4562
- maxHeight: s || Pi
4582
+ maxWidth: n || Si,
4583
+ maxHeight: s || Si
4563
4584
  };
4564
4585
  }
4565
- const te = (i) => Math.round(i * 10) / 10;
4586
+ const ee = (i) => Math.round(i * 10) / 10;
4566
4587
  function Jc(i, t, e, n) {
4567
- const s = Hi(i), o = De(s, "margin"), a = Li(s.maxWidth, i, "clientWidth") || Pi, r = Li(s.maxHeight, i, "clientHeight") || Pi, l = Xc(i, t, e);
4588
+ const s = Hi(i), o = xe(s, "margin"), a = Ti(s.maxWidth, i, "clientWidth") || Si, r = Ti(s.maxHeight, i, "clientHeight") || Si, l = Xc(i, t, e);
4568
4589
  let { width: c, height: h } = l;
4569
4590
  if (s.boxSizing === "content-box") {
4570
- const d = De(s, "border", "width"), u = De(s, "padding");
4591
+ const d = xe(s, "border", "width"), u = xe(s, "padding");
4571
4592
  c -= u.width + d.width, h -= u.height + d.height;
4572
4593
  }
4573
- return c = Math.max(0, c - o.width), h = Math.max(0, n ? c / n : h - o.height), c = te(Math.min(c, a, l.maxWidth)), h = te(Math.min(h, r, l.maxHeight)), c && !h && (h = te(c / 2)), (t !== void 0 || e !== void 0) && n && l.height && h > l.height && (h = l.height, c = te(Math.floor(h * n))), {
4594
+ return c = Math.max(0, c - o.width), h = Math.max(0, n ? c / n : h - o.height), c = ee(Math.min(c, a, l.maxWidth)), h = ee(Math.min(h, r, l.maxHeight)), c && !h && (h = ee(c / 2)), (t !== void 0 || e !== void 0) && n && l.height && h > l.height && (h = l.height, c = ee(Math.floor(h * n))), {
4574
4595
  width: c,
4575
4596
  height: h
4576
4597
  };
4577
4598
  }
4578
4599
  function us(i, t, e) {
4579
- const n = t || 1, s = te(i.height * n), o = te(i.width * n);
4580
- i.height = te(i.height), i.width = te(i.width);
4600
+ const n = t || 1, s = ee(i.height * n), o = ee(i.width * n);
4601
+ i.height = ee(i.height), i.width = ee(i.width);
4581
4602
  const a = i.canvas;
4582
4603
  return a.style && (e || !a.style.height && !a.style.width) && (a.style.height = `${i.height}px`, a.style.width = `${i.width}px`), i.currentDevicePixelRatio !== n || a.height !== s || a.width !== o ? (i.currentDevicePixelRatio = n, a.height = s, a.width = o, i.ctx.setTransform(n, 0, 0, n, 0, 0), !0) : !1;
4583
4604
  }
@@ -4598,7 +4619,7 @@ function gs(i, t) {
4598
4619
  const e = Wc(i, t), n = e && e.match(/^(\d+)(\.\d+)?px$/);
4599
4620
  return n ? +n[1] : void 0;
4600
4621
  }
4601
- function be(i, t, e, n) {
4622
+ function Me(i, t, e, n) {
4602
4623
  return {
4603
4624
  x: i.x + e * (t.x - i.x),
4604
4625
  y: i.y + e * (t.y - i.y)
@@ -4617,8 +4638,8 @@ function $c(i, t, e, n) {
4617
4638
  }, o = {
4618
4639
  x: t.cp1x,
4619
4640
  y: t.cp1y
4620
- }, a = be(i, s, e), r = be(s, o, e), l = be(o, t, e), c = be(a, r, e), h = be(r, l, e);
4621
- return be(c, h, e);
4641
+ }, a = Me(i, s, e), r = Me(s, o, e), l = Me(o, t, e), c = Me(a, r, e), h = Me(r, l, e);
4642
+ return Me(c, h, e);
4622
4643
  }
4623
4644
  const th = function(i, t) {
4624
4645
  return {
@@ -4656,7 +4677,7 @@ const th = function(i, t) {
4656
4677
  }
4657
4678
  };
4658
4679
  };
4659
- function Qe(i, t, e) {
4680
+ function Se(i, t, e) {
4660
4681
  return i ? th(t, e) : eh();
4661
4682
  }
4662
4683
  function $o(i, t) {
@@ -4671,7 +4692,7 @@ function ta(i, t) {
4671
4692
  }
4672
4693
  function ea(i) {
4673
4694
  return i === "angle" ? {
4674
- between: ai,
4695
+ between: ri,
4675
4696
  compare: ic,
4676
4697
  normalize: at
4677
4698
  } : {
@@ -4808,7 +4829,7 @@ function ah(i, t, e, n) {
4808
4829
  let f = e[A % l], p;
4809
4830
  for (d = A + 1; d <= g.end; d++) {
4810
4831
  const w = e[d % l];
4811
- p = ws(n.setContext(ce(s, {
4832
+ p = ws(n.setContext(he(s, {
4812
4833
  type: "segment",
4813
4834
  p0: f,
4814
4835
  p1: w,
@@ -4840,16 +4861,16 @@ function rh(i, t) {
4840
4861
  };
4841
4862
  return JSON.stringify(i, n) !== JSON.stringify(t, n);
4842
4863
  }
4843
- function bi(i, t, e) {
4864
+ function Mi(i, t, e) {
4844
4865
  return i.options.clip ? i[e] : t[e];
4845
4866
  }
4846
4867
  function lh(i, t) {
4847
4868
  const { xScale: e, yScale: n } = i;
4848
4869
  return e && n ? {
4849
- left: bi(e, t, "left"),
4850
- right: bi(e, t, "right"),
4851
- top: bi(n, t, "top"),
4852
- bottom: bi(n, t, "bottom")
4870
+ left: Mi(e, t, "left"),
4871
+ right: Mi(e, t, "right"),
4872
+ top: Mi(n, t, "top"),
4873
+ bottom: Mi(n, t, "bottom")
4853
4874
  } : t;
4854
4875
  }
4855
4876
  function sa(i, t) {
@@ -4956,18 +4977,18 @@ const ms = "transparent", hh = {
4956
4977
  class Ah {
4957
4978
  constructor(t, e, n, s) {
4958
4979
  const o = e[n];
4959
- s = Ke([
4980
+ s = Xe([
4960
4981
  t.to,
4961
4982
  s,
4962
4983
  o,
4963
4984
  t.from
4964
4985
  ]);
4965
- const a = Ke([
4986
+ const a = Xe([
4966
4987
  t.from,
4967
4988
  o,
4968
4989
  s
4969
4990
  ]);
4970
- this._active = !0, this._fn = t.fn || hh[t.type || typeof a], this._easing = $e[t.easing] || $e.linear, this._start = Math.floor(Date.now() + (t.delay || 0)), this._duration = this._total = Math.floor(t.duration), this._loop = !!t.loop, this._target = e, this._prop = n, this._from = a, this._to = s, this._promises = void 0;
4991
+ this._active = !0, this._fn = t.fn || hh[t.type || typeof a], this._easing = ti[t.easing] || ti.linear, this._start = Math.floor(Date.now() + (t.delay || 0)), this._duration = this._total = Math.floor(t.duration), this._loop = !!t.loop, this._target = e, this._prop = n, this._from = a, this._to = s, this._promises = void 0;
4971
4992
  }
4972
4993
  active() {
4973
4994
  return this._active;
@@ -4976,12 +4997,12 @@ class Ah {
4976
4997
  if (this._active) {
4977
4998
  this._notify(!1);
4978
4999
  const s = this._target[this._prop], o = n - this._start, a = this._duration - o;
4979
- this._start = n, this._duration = Math.floor(Math.max(a, t.duration)), this._total += o, this._loop = !!t.loop, this._to = Ke([
5000
+ this._start = n, this._duration = Math.floor(Math.max(a, t.duration)), this._total += o, this._loop = !!t.loop, this._to = Xe([
4980
5001
  t.to,
4981
5002
  e,
4982
5003
  s,
4983
5004
  t.from
4984
- ]), this._from = Ke([
5005
+ ]), this._from = Xe([
4985
5006
  t.from,
4986
5007
  s,
4987
5008
  e
@@ -5212,7 +5233,7 @@ function $i(i, t) {
5212
5233
  return Object.keys(e).filter((n) => e[n].axis === t).shift();
5213
5234
  }
5214
5235
  function Mh(i, t) {
5215
- return ce(i, {
5236
+ return he(i, {
5216
5237
  active: !1,
5217
5238
  dataset: void 0,
5218
5239
  datasetIndex: t,
@@ -5222,7 +5243,7 @@ function Mh(i, t) {
5222
5243
  });
5223
5244
  }
5224
5245
  function Dh(i, t, e) {
5225
- return ce(i, {
5246
+ return he(i, {
5226
5247
  active: !1,
5227
5248
  dataIndex: t,
5228
5249
  parsed: void 0,
@@ -5233,7 +5254,7 @@ function Dh(i, t, e) {
5233
5254
  type: "data"
5234
5255
  });
5235
5256
  }
5236
- function Ve(i, t) {
5257
+ function He(i, t) {
5237
5258
  const e = i.controller.index, n = i.vScale && i.vScale.axis;
5238
5259
  if (n) {
5239
5260
  t = t || i._parsed;
@@ -5249,7 +5270,7 @@ const tn = (i) => i === "reset" || i === "none", Bs = (i, t) => t ? i : Object.a
5249
5270
  keys: aa(e, !0),
5250
5271
  values: null
5251
5272
  };
5252
- class he {
5273
+ class Ae {
5253
5274
  static defaults = {};
5254
5275
  static datasetElementType = null;
5255
5276
  static dataElementType = null;
@@ -5261,7 +5282,7 @@ class he {
5261
5282
  this.configure(), this.linkScales(), t._stacked = _i(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");
5262
5283
  }
5263
5284
  updateIndex(t) {
5264
- this.index !== t && Ve(this._cachedMeta), this.index = t;
5285
+ this.index !== t && He(this._cachedMeta), this.index = t;
5265
5286
  }
5266
5287
  linkScales() {
5267
5288
  const t = this.chart, e = this._cachedMeta, n = this.getDataset(), s = (A, d, u, g) => A === "x" ? d : A === "r" ? g : u, o = e.xAxisID = I(n.xAxisID, $i(t, "x")), a = e.yAxisID = I(n.yAxisID, $i(t, "y")), r = e.rAxisID = I(n.rAxisID, $i(t, "r")), l = e.indexAxis, c = e.iAxisID = s(l, o, a, r), h = e.vAxisID = s(l, a, o, r);
@@ -5285,7 +5306,7 @@ class he {
5285
5306
  }
5286
5307
  _destroy() {
5287
5308
  const t = this._cachedMeta;
5288
- this._data && os(this._data, this), t._stacked && Ve(t);
5309
+ this._data && os(this._data, this), t._stacked && He(t);
5289
5310
  }
5290
5311
  _dataCheck() {
5291
5312
  const t = this.getDataset(), e = t.data || (t.data = []), n = this._data;
@@ -5296,7 +5317,7 @@ class he {
5296
5317
  if (n) {
5297
5318
  os(n, this);
5298
5319
  const s = this._cachedMeta;
5299
- Ve(s), s._parsed = [];
5320
+ He(s), s._parsed = [];
5300
5321
  }
5301
5322
  e && Object.isExtensible(e) && ac(e, this), this._syncList = [], this._data = e;
5302
5323
  }
@@ -5310,7 +5331,7 @@ class he {
5310
5331
  let s = !1;
5311
5332
  this._dataCheck();
5312
5333
  const o = e._stacked;
5313
- e._stacked = _i(e.vScale, e), e.stack !== n.stack && (s = !0, Ve(e), e.stack = n.stack), this._resyncElements(t), (s || o !== e._stacked) && (xs(this, e._parsed), e._stacked = _i(e.vScale, e));
5334
+ e._stacked = _i(e.vScale, e), e.stack !== n.stack && (s = !0, He(e), e.stack = n.stack), this._resyncElements(t), (s || o !== e._stacked) && (xs(this, e._parsed), e._stacked = _i(e.vScale, e));
5314
5335
  }
5315
5336
  configure() {
5316
5337
  const t = this.chart.config, e = t.datasetScopeKeys(this._type), n = t.getOptionScopes(this.getDataset(), e, !0);
@@ -5355,8 +5376,8 @@ class he {
5355
5376
  let h, A, d, u;
5356
5377
  for (h = 0, A = s; h < A; ++h)
5357
5378
  d = h + n, u = e[d], c[h] = {
5358
- x: o.parse(ne(u, r), d),
5359
- y: a.parse(ne(u, l), d)
5379
+ x: o.parse(se(u, r), d),
5380
+ y: a.parse(se(u, l), d)
5360
5381
  };
5361
5382
  return c;
5362
5383
  }
@@ -5457,7 +5478,7 @@ class he {
5457
5478
  return this._resolveElementOptions(this.dataElementType.id, e, t);
5458
5479
  }
5459
5480
  _resolveElementOptions(t, e = "default", n) {
5460
- const s = e === "active", o = this._cachedDataOpts, a = t + "-" + e, r = o[a], l = this.enableOptionSharing && oi(n);
5481
+ const s = e === "active", o = this._cachedDataOpts, a = t + "-" + e, r = o[a], l = this.enableOptionSharing && ai(n);
5461
5482
  if (r)
5462
5483
  return Bs(r, l);
5463
5484
  const c = this.chart.config, h = c.datasetElementScopeKeys(this._type, t), A = s ? [
@@ -5549,7 +5570,7 @@ class he {
5549
5570
  const n = this._cachedMeta;
5550
5571
  if (this._parsing) {
5551
5572
  const s = n._parsed.splice(t, e);
5552
- n._stacked && Ve(n, s);
5573
+ n._stacked && He(n, s);
5553
5574
  }
5554
5575
  n.data.splice(t, e);
5555
5576
  }
@@ -5622,7 +5643,7 @@ function vh(i) {
5622
5643
  const t = i.iScale, e = Bh(t, i.type);
5623
5644
  let n = t._length, s, o, a, r;
5624
5645
  const l = () => {
5625
- a === 32767 || a === -32768 || (oi(r) && (n = Math.min(n, Math.abs(a - r) || n)), r = a);
5646
+ a === 32767 || a === -32768 || (ai(r) && (n = Math.min(n, Math.abs(a - r) || n)), r = a);
5626
5647
  };
5627
5648
  for (s = 0, o = e.length; s < o; ++s)
5628
5649
  a = t.getPixelForValue(e[s]), l();
@@ -5720,7 +5741,7 @@ function ys(i, t, e) {
5720
5741
  function Qh(i, { inflateAmount: t }, e) {
5721
5742
  i.inflateAmount = t === "auto" ? e === 1 ? 0.33 : 0 : t;
5722
5743
  }
5723
- class Ph extends he {
5744
+ class Ph extends Ae {
5724
5745
  static id = "bar";
5725
5746
  static defaults = {
5726
5747
  datasetElementType: !1,
@@ -5766,7 +5787,7 @@ class Ph extends he {
5766
5787
  const { iScale: o, vScale: a } = t, { xAxisKey: r = "x", yAxisKey: l = "y" } = this._parsing, c = o.axis === "x" ? r : l, h = a.axis === "x" ? r : l, A = [];
5767
5788
  let d, u, g, f;
5768
5789
  for (d = n, u = n + s; d < u; ++d)
5769
- f = e[d], g = {}, g[o.axis] = o.parse(ne(f, c), d), A.push(ra(ne(f, h), g, a, d));
5790
+ f = e[d], g = {}, g[o.axis] = o.parse(se(f, c), d), A.push(ra(se(f, h), g, a, d));
5770
5791
  return A;
5771
5792
  }
5772
5793
  updateRangeFromParsed(t, e, n, s) {
@@ -5906,7 +5927,7 @@ class Ph extends he {
5906
5927
  this.getParsed(o)[e.axis] !== null && !n[o].hidden && n[o].draw(this._ctx);
5907
5928
  }
5908
5929
  }
5909
- class Sh extends he {
5930
+ class Sh extends Ae {
5910
5931
  static id = "bubble";
5911
5932
  static defaults = {
5912
5933
  datasetElementType: !1,
@@ -5996,7 +6017,7 @@ class Sh extends he {
5996
6017
  function Lh(i, t, e) {
5997
6018
  let n = 1, s = 1, o = 0, a = 0;
5998
6019
  if (t < V) {
5999
- const r = i, l = r + t, c = Math.cos(r), h = Math.sin(r), A = Math.cos(l), d = Math.sin(l), u = (v, B, x) => ai(v, r, l, !0) ? 1 : Math.max(B, B * e, x, x * e), g = (v, B, x) => ai(v, r, l, !0) ? -1 : Math.min(B, B * e, x, x * e), f = u(0, c, A), p = u(J, h, d), w = g(T, c, A), M = g(T + J, h, d);
6020
+ const r = i, l = r + t, c = Math.cos(r), h = Math.sin(r), A = Math.cos(l), d = Math.sin(l), u = (v, B, x) => ri(v, r, l, !0) ? 1 : Math.max(B, B * e, x, x * e), g = (v, B, x) => ri(v, r, l, !0) ? -1 : Math.min(B, B * e, x, x * e), f = u(0, c, A), p = u(J, h, d), w = g(T, c, A), M = g(T + J, h, d);
6000
6021
  n = (f - w) / 2, s = (p - M) / 2, o = -(f + w) / 2, a = -(p + M) / 2;
6001
6022
  }
6002
6023
  return {
@@ -6006,7 +6027,7 @@ function Lh(i, t, e) {
6006
6027
  offsetY: a
6007
6028
  };
6008
6029
  }
6009
- class jn extends he {
6030
+ class jn extends Ae {
6010
6031
  static id = "doughnut";
6011
6032
  static defaults = {
6012
6033
  datasetElementType: !1,
@@ -6089,7 +6110,7 @@ class jn extends he {
6089
6110
  let o = (l) => +n[l];
6090
6111
  if (P(n[t])) {
6091
6112
  const { key: l = "value" } = this._parsing;
6092
- o = (c) => +ne(n[c], l);
6113
+ o = (c) => +se(n[c], l);
6093
6114
  }
6094
6115
  let a, r;
6095
6116
  for (a = t, r = t + e; a < r; ++a)
@@ -6154,7 +6175,7 @@ class jn extends he {
6154
6175
  return e > 0 && !isNaN(t) ? V * (Math.abs(t) / e) : 0;
6155
6176
  }
6156
6177
  getLabelAndValue(t) {
6157
- const e = this._cachedMeta, n = this.chart, s = n.data.labels || [], o = Ai(e._parsed[t], n.options.locale);
6178
+ const e = this._cachedMeta, n = this.chart, s = n.data.labels || [], o = di(e._parsed[t], n.options.locale);
6158
6179
  return {
6159
6180
  label: s[t] || "",
6160
6181
  value: o
@@ -6198,7 +6219,7 @@ class jn extends he {
6198
6219
  return this._getRingWeightOffset(this.chart.data.datasets.length) || 1;
6199
6220
  }
6200
6221
  }
6201
- class Th extends he {
6222
+ class Th extends Ae {
6202
6223
  static id = "line";
6203
6224
  static defaults = {
6204
6225
  datasetElementType: "line",
@@ -6230,7 +6251,7 @@ class Th extends he {
6230
6251
  }, t), this.updateElements(s, r, l, t);
6231
6252
  }
6232
6253
  updateElements(t, e, n, s) {
6233
- const o = s === "reset", { iScale: a, vScale: r, _stacked: l, _dataset: c } = this._cachedMeta, { sharedOptions: h, includeOptions: A } = this._getSharedOptions(e, s), d = a.axis, u = r.axis, { spanGaps: g, segment: f } = this.options, p = Se(g) ? g : Number.POSITIVE_INFINITY, w = this.chart._animationsDisabled || o || s === "none", M = e + n, v = t.length;
6254
+ const o = s === "reset", { iScale: a, vScale: r, _stacked: l, _dataset: c } = this._cachedMeta, { sharedOptions: h, includeOptions: A } = this._getSharedOptions(e, s), d = a.axis, u = r.axis, { spanGaps: g, segment: f } = this.options, p = Le(g) ? g : Number.POSITIVE_INFINITY, w = this.chart._animationsDisabled || o || s === "none", M = e + n, v = t.length;
6234
6255
  let B = e > 0 && this.getParsed(e - 1);
6235
6256
  for (let x = 0; x < v; ++x) {
6236
6257
  const G = t[x], y = w ? G : {};
@@ -6254,7 +6275,7 @@ class Th extends he {
6254
6275
  t.dataset.updateControlPoints(this.chart.chartArea, t.iScale.axis), super.draw();
6255
6276
  }
6256
6277
  }
6257
- class la extends he {
6278
+ class la extends Ae {
6258
6279
  static id = "polarArea";
6259
6280
  static defaults = {
6260
6281
  dataElementType: "arc",
@@ -6330,7 +6351,7 @@ class la extends he {
6330
6351
  super(t, e), this.innerRadius = void 0, this.outerRadius = void 0;
6331
6352
  }
6332
6353
  getLabelAndValue(t) {
6333
- const e = this._cachedMeta, n = this.chart, s = n.data.labels || [], o = Ai(e._parsed[t].r, n.options.locale);
6354
+ const e = this._cachedMeta, n = this.chart, s = n.data.labels || [], o = di(e._parsed[t].r, n.options.locale);
6334
6355
  return {
6335
6356
  label: s[t] || "",
6336
6357
  value: o
@@ -6399,7 +6420,7 @@ class zh extends jn {
6399
6420
  radius: "100%"
6400
6421
  };
6401
6422
  }
6402
- class Oh extends he {
6423
+ class Oh extends Ae {
6403
6424
  static id = "radar";
6404
6425
  static defaults = {
6405
6426
  datasetElementType: "line",
@@ -6458,7 +6479,7 @@ class Oh extends he {
6458
6479
  }
6459
6480
  }
6460
6481
  }
6461
- class Rh extends he {
6482
+ class Rh extends Ae {
6462
6483
  static id = "scatter";
6463
6484
  static defaults = {
6464
6485
  datasetElementType: !1,
@@ -6506,7 +6527,7 @@ class Rh extends he {
6506
6527
  !this.datasetElementType && t && (this.datasetElementType = this.chart.registry.getElement("line")), super.addElements();
6507
6528
  }
6508
6529
  updateElements(t, e, n, s) {
6509
- const o = s === "reset", { iScale: a, vScale: r, _stacked: l, _dataset: c } = this._cachedMeta, h = this.resolveDataElementOptions(e, s), A = this.getSharedOptions(h), d = this.includeOptions(s, A), u = a.axis, g = r.axis, { spanGaps: f, segment: p } = this.options, w = Se(f) ? f : Number.POSITIVE_INFINITY, M = this.chart._animationsDisabled || o || s === "none";
6530
+ const o = s === "reset", { iScale: a, vScale: r, _stacked: l, _dataset: c } = this._cachedMeta, h = this.resolveDataElementOptions(e, s), A = this.getSharedOptions(h), d = this.includeOptions(s, A), u = a.axis, g = r.axis, { spanGaps: f, segment: p } = this.options, w = Le(f) ? f : Number.POSITIVE_INFINITY, M = this.chart._animationsDisabled || o || s === "none";
6510
6531
  let v = e > 0 && this.getParsed(e - 1);
6511
6532
  for (let B = e; B < e + n; ++B) {
6512
6533
  const x = t[B], G = this.getParsed(B), y = M ? x : {}, Y = Q(G[g]), C = y[u] = a.getPixelForValue(G[u], B), E = y[g] = o || Y ? r.getBasePixel() : r.getPixelForValue(l ? this.applyStack(r, G, l) : G[g], B);
@@ -6540,7 +6561,7 @@ var jh = /* @__PURE__ */ Object.freeze({
6540
6561
  RadarController: Oh,
6541
6562
  ScatterController: Rh
6542
6563
  });
6543
- function pe() {
6564
+ function we() {
6544
6565
  throw new Error("This method is not implemented: Check that a complete date adapter is provided.");
6545
6566
  }
6546
6567
  class Nn {
@@ -6565,25 +6586,25 @@ class Nn {
6565
6586
  init() {
6566
6587
  }
6567
6588
  formats() {
6568
- return pe();
6589
+ return we();
6569
6590
  }
6570
6591
  parse() {
6571
- return pe();
6592
+ return we();
6572
6593
  }
6573
6594
  format() {
6574
- return pe();
6595
+ return we();
6575
6596
  }
6576
6597
  add() {
6577
- return pe();
6598
+ return we();
6578
6599
  }
6579
6600
  diff() {
6580
- return pe();
6601
+ return we();
6581
6602
  }
6582
6603
  startOf() {
6583
- return pe();
6604
+ return we();
6584
6605
  }
6585
6606
  endOf() {
6586
- return pe();
6607
+ return we();
6587
6608
  }
6588
6609
  }
6589
6610
  var Nh = {
@@ -6657,7 +6678,7 @@ function Fh(i, t, e, n) {
6657
6678
  x: t.x,
6658
6679
  y: t.y
6659
6680
  });
6660
- ai(A, c, h) && s.push({
6681
+ ri(A, c, h) && s.push({
6661
6682
  element: a,
6662
6683
  datasetIndex: r,
6663
6684
  index: l
@@ -6708,7 +6729,7 @@ function Ys(i, t, e, n, s) {
6708
6729
  var Zh = {
6709
6730
  modes: {
6710
6731
  index(i, t, e, n) {
6711
- const s = me(t, i), o = e.axis || "x", a = e.includeInvisible || !1, r = e.intersect ? nn(i, s, o, n, a) : sn(i, s, o, !1, n, a), l = [];
6732
+ const s = be(t, i), o = e.axis || "x", a = e.includeInvisible || !1, r = e.intersect ? nn(i, s, o, n, a) : sn(i, s, o, !1, n, a), l = [];
6712
6733
  return r.length ? (i.getSortedVisibleDatasetMetas().forEach((c) => {
6713
6734
  const h = r[0].index, A = c.data[h];
6714
6735
  A && !A.skip && l.push({
@@ -6719,7 +6740,7 @@ var Zh = {
6719
6740
  }), l) : [];
6720
6741
  },
6721
6742
  dataset(i, t, e, n) {
6722
- const s = me(t, i), o = e.axis || "xy", a = e.includeInvisible || !1;
6743
+ const s = be(t, i), o = e.axis || "xy", a = e.includeInvisible || !1;
6723
6744
  let r = e.intersect ? nn(i, s, o, n, a) : sn(i, s, o, !1, n, a);
6724
6745
  if (r.length > 0) {
6725
6746
  const l = r[0].datasetIndex, c = i.getDatasetMeta(l).data;
@@ -6734,19 +6755,19 @@ var Zh = {
6734
6755
  return r;
6735
6756
  },
6736
6757
  point(i, t, e, n) {
6737
- const s = me(t, i), o = e.axis || "xy", a = e.includeInvisible || !1;
6758
+ const s = be(t, i), o = e.axis || "xy", a = e.includeInvisible || !1;
6738
6759
  return nn(i, s, o, n, a);
6739
6760
  },
6740
6761
  nearest(i, t, e, n) {
6741
- const s = me(t, i), o = e.axis || "xy", a = e.includeInvisible || !1;
6762
+ const s = be(t, i), o = e.axis || "xy", a = e.includeInvisible || !1;
6742
6763
  return sn(i, s, o, e.intersect, n, a);
6743
6764
  },
6744
6765
  x(i, t, e, n) {
6745
- const s = me(t, i);
6766
+ const s = be(t, i);
6746
6767
  return Ys(i, s, "x", e.intersect, n);
6747
6768
  },
6748
6769
  y(i, t, e, n) {
6749
- const s = me(t, i);
6770
+ const s = be(t, i);
6750
6771
  return Ys(i, s, "y", e.intersect, n);
6751
6772
  }
6752
6773
  }
@@ -6757,13 +6778,13 @@ const ca = [
6757
6778
  "right",
6758
6779
  "bottom"
6759
6780
  ];
6760
- function He(i, t) {
6781
+ function Fe(i, t) {
6761
6782
  return i.filter((e) => e.pos === t);
6762
6783
  }
6763
6784
  function Cs(i, t) {
6764
6785
  return i.filter((e) => ca.indexOf(e.pos) === -1 && e.box.axis === t);
6765
6786
  }
6766
- function Fe(i, t) {
6787
+ function We(i, t) {
6767
6788
  return i.sort((e, n) => {
6768
6789
  const s = t ? n : e, o = t ? e : n;
6769
6790
  return s.weight === o.weight ? s.index - o.index : s.weight - o.weight;
@@ -6811,12 +6832,12 @@ function Xh(i, t) {
6811
6832
  return e;
6812
6833
  }
6813
6834
  function Jh(i) {
6814
- const t = Uh(i), e = Fe(t.filter((c) => c.box.fullSize), !0), n = Fe(He(t, "left"), !0), s = Fe(He(t, "right")), o = Fe(He(t, "top"), !0), a = Fe(He(t, "bottom")), r = Cs(t, "x"), l = Cs(t, "y");
6835
+ const t = Uh(i), e = We(t.filter((c) => c.box.fullSize), !0), n = We(Fe(t, "left"), !0), s = We(Fe(t, "right")), o = We(Fe(t, "top"), !0), a = We(Fe(t, "bottom")), r = Cs(t, "x"), l = Cs(t, "y");
6815
6836
  return {
6816
6837
  fullSize: e,
6817
6838
  leftAndTop: n.concat(o),
6818
6839
  rightAndBottom: s.concat(l).concat(a).concat(r),
6819
- chartArea: He(t, "chartArea"),
6840
+ chartArea: Fe(t, "chartArea"),
6820
6841
  vertical: n.concat(s).concat(l),
6821
6842
  horizontal: o.concat(a).concat(r)
6822
6843
  };
@@ -6876,7 +6897,7 @@ function $h(i, t) {
6876
6897
  "bottom"
6877
6898
  ]);
6878
6899
  }
6879
- function Xe(i, t, e, n) {
6900
+ function Je(i, t, e, n) {
6880
6901
  const s = [];
6881
6902
  let o, a, r, l, c, h;
6882
6903
  for (o = 0, a = i.length, c = 0; o < a; ++o) {
@@ -6884,9 +6905,9 @@ function Xe(i, t, e, n) {
6884
6905
  const { same: A, other: d } = qh(t, e, r, n);
6885
6906
  c |= A && s.length, h = h || d, l.fullSize || s.push(r);
6886
6907
  }
6887
- return c && Xe(s, t, e, n) || h;
6908
+ return c && Je(s, t, e, n) || h;
6888
6909
  }
6889
- function Mi(i, t, e, n, s) {
6910
+ function Di(i, t, e, n, s) {
6890
6911
  i.top = e, i.left = t, i.right = t + n, i.bottom = e + s, i.width = n, i.height = s;
6891
6912
  }
6892
6913
  function Es(i, t, e, n) {
@@ -6899,10 +6920,10 @@ function Es(i, t, e, n) {
6899
6920
  }, h = r.stackWeight / c.weight || 1;
6900
6921
  if (r.horizontal) {
6901
6922
  const A = t.w * h, d = c.size || l.height;
6902
- oi(c.start) && (a = c.start), l.fullSize ? Mi(l, s.left, a, e.outerWidth - s.right - s.left, d) : Mi(l, t.left + c.placed, a, A, d), c.start = a, c.placed += A, a = l.bottom;
6923
+ ai(c.start) && (a = c.start), l.fullSize ? Di(l, s.left, a, e.outerWidth - s.right - s.left, d) : Di(l, t.left + c.placed, a, A, d), c.start = a, c.placed += A, a = l.bottom;
6903
6924
  } else {
6904
6925
  const A = t.h * h, d = c.size || l.width;
6905
- oi(c.start) && (o = c.start), l.fullSize ? Mi(l, o, s.top, d, e.outerHeight - s.bottom - s.top) : Mi(l, o, t.top + c.placed, d, A), c.start = o, c.placed += A, o = l.right;
6926
+ ai(c.start) && (o = c.start), l.fullSize ? Di(l, o, s.top, d, e.outerHeight - s.bottom - s.top) : Di(l, o, t.top + c.placed, d, A), c.start = o, c.placed += A, o = l.right;
6906
6927
  }
6907
6928
  }
6908
6929
  t.x = o, t.y = a;
@@ -6951,7 +6972,7 @@ var rt = {
6951
6972
  x: s.left,
6952
6973
  y: s.top
6953
6974
  }, s), g = Xh(l.concat(c), A);
6954
- Xe(r.fullSize, u, A, g), Xe(l, u, A, g), Xe(c, u, A, g) && Xe(l, u, A, g), _h(u), Es(r.leftAndTop, u, A, g), u.x += u.w, u.y += u.h, Es(r.rightAndBottom, u, A, g), i.chartArea = {
6975
+ Je(r.fullSize, u, A, g), Je(l, u, A, g), Je(c, u, A, g) && Je(l, u, A, g), _h(u), Es(r.leftAndTop, u, A, g), u.x += u.w, u.y += u.h, Es(r.rightAndBottom, u, A, g), i.chartArea = {
6955
6976
  left: u.left,
6956
6977
  top: u.top,
6957
6978
  right: u.left + u.w,
@@ -7002,7 +7023,7 @@ class tA extends Aa {
7002
7023
  t.options.animation = !1;
7003
7024
  }
7004
7025
  }
7005
- const Ci = "$chartjs", eA = {
7026
+ const Ii = "$chartjs", eA = {
7006
7027
  touchstart: "mousedown",
7007
7028
  touchmove: "mousemove",
7008
7029
  touchend: "mouseup",
@@ -7015,7 +7036,7 @@ const Ci = "$chartjs", eA = {
7015
7036
  }, ks = (i) => i === null || i === "";
7016
7037
  function iA(i, t) {
7017
7038
  const e = i.style, n = i.getAttribute("height"), s = i.getAttribute("width");
7018
- if (i[Ci] = {
7039
+ if (i[Ii] = {
7019
7040
  initial: {
7020
7041
  height: n,
7021
7042
  width: s,
@@ -7048,7 +7069,7 @@ function sA(i, t, e) {
7048
7069
  i && i.canvas && i.canvas.removeEventListener(t, e, da);
7049
7070
  }
7050
7071
  function oA(i, t) {
7051
- const e = eA[i.type] || i.type, { x: n, y: s } = me(i, t);
7072
+ const e = eA[i.type] || i.type, { x: n, y: s } = be(i, t);
7052
7073
  return {
7053
7074
  type: e,
7054
7075
  chart: t,
@@ -7057,7 +7078,7 @@ function oA(i, t) {
7057
7078
  y: s !== void 0 ? s : null
7058
7079
  };
7059
7080
  }
7060
- function Ti(i, t) {
7081
+ function zi(i, t) {
7061
7082
  for (const e of i)
7062
7083
  if (e === t || e.contains(t))
7063
7084
  return !0;
@@ -7066,7 +7087,7 @@ function aA(i, t, e) {
7066
7087
  const n = i.canvas, s = new MutationObserver((o) => {
7067
7088
  let a = !1;
7068
7089
  for (const r of o)
7069
- a = a || Ti(r.addedNodes, n), a = a && !Ti(r.removedNodes, n);
7090
+ a = a || zi(r.addedNodes, n), a = a && !zi(r.removedNodes, n);
7070
7091
  a && e();
7071
7092
  });
7072
7093
  return s.observe(document, {
@@ -7078,7 +7099,7 @@ function rA(i, t, e) {
7078
7099
  const n = i.canvas, s = new MutationObserver((o) => {
7079
7100
  let a = !1;
7080
7101
  for (const r of o)
7081
- a = a || Ti(r.removedNodes, n), a = a && !Ti(r.addedNodes, n);
7102
+ a = a || zi(r.removedNodes, n), a = a && !zi(r.addedNodes, n);
7082
7103
  a && e();
7083
7104
  });
7084
7105
  return s.observe(document, {
@@ -7086,19 +7107,19 @@ function rA(i, t, e) {
7086
7107
  subtree: !0
7087
7108
  }), s;
7088
7109
  }
7089
- const li = /* @__PURE__ */ new Map();
7110
+ const ci = /* @__PURE__ */ new Map();
7090
7111
  let Qs = 0;
7091
7112
  function ua() {
7092
7113
  const i = window.devicePixelRatio;
7093
- i !== Qs && (Qs = i, li.forEach((t, e) => {
7114
+ i !== Qs && (Qs = i, ci.forEach((t, e) => {
7094
7115
  e.currentDevicePixelRatio !== i && t();
7095
7116
  }));
7096
7117
  }
7097
7118
  function lA(i, t) {
7098
- li.size || window.addEventListener("resize", ua), li.set(i, t);
7119
+ ci.size || window.addEventListener("resize", ua), ci.set(i, t);
7099
7120
  }
7100
7121
  function cA(i) {
7101
- li.delete(i), li.size || window.removeEventListener("resize", ua);
7122
+ ci.delete(i), ci.size || window.removeEventListener("resize", ua);
7102
7123
  }
7103
7124
  function hA(i, t, e) {
7104
7125
  const n = i.canvas, s = n && Rn(n);
@@ -7129,9 +7150,9 @@ class dA extends Aa {
7129
7150
  }
7130
7151
  releaseContext(t) {
7131
7152
  const e = t.canvas;
7132
- if (!e[Ci])
7153
+ if (!e[Ii])
7133
7154
  return !1;
7134
- const n = e[Ci].initial;
7155
+ const n = e[Ii].initial;
7135
7156
  [
7136
7157
  "height",
7137
7158
  "width"
@@ -7142,7 +7163,7 @@ class dA extends Aa {
7142
7163
  const s = n.style || {};
7143
7164
  return Object.keys(s).forEach((o) => {
7144
7165
  e.style[o] = s[o];
7145
- }), e.width = e.width, delete e[Ci], !0;
7166
+ }), e.width = e.width, delete e[Ii], !0;
7146
7167
  }
7147
7168
  addEventListener(t, e, n) {
7148
7169
  this.removeEventListener(t, e);
@@ -7177,7 +7198,7 @@ class dA extends Aa {
7177
7198
  function uA(i) {
7178
7199
  return !On() || typeof OffscreenCanvas < "u" && i instanceof OffscreenCanvas ? tA : dA;
7179
7200
  }
7180
- class Xt {
7201
+ class Jt {
7181
7202
  static defaults = {};
7182
7203
  static defaultRoutes = void 0;
7183
7204
  x;
@@ -7196,7 +7217,7 @@ class Xt {
7196
7217
  };
7197
7218
  }
7198
7219
  hasValue() {
7199
- return Se(this.x) && Se(this.y);
7220
+ return Le(this.x) && Le(this.y);
7200
7221
  }
7201
7222
  getProps(t, e) {
7202
7223
  const n = this.$animations;
@@ -7216,11 +7237,11 @@ function gA(i, t) {
7216
7237
  if (a > 0) {
7217
7238
  let A, d;
7218
7239
  const u = a > 1 ? Math.round((l - r) / (a - 1)) : null;
7219
- for (Di(t, c, h, Q(u) ? 0 : r - u, r), A = 0, d = a - 1; A < d; A++)
7220
- Di(t, c, h, o[A], o[A + 1]);
7221
- return Di(t, c, h, l, Q(u) ? t.length : l + u), c;
7240
+ for (xi(t, c, h, Q(u) ? 0 : r - u, r), A = 0, d = a - 1; A < d; A++)
7241
+ xi(t, c, h, o[A], o[A + 1]);
7242
+ return xi(t, c, h, l, Q(u) ? t.length : l + u), c;
7222
7243
  }
7223
- return Di(t, c, h), c;
7244
+ return xi(t, c, h), c;
7224
7245
  }
7225
7246
  function fA(i) {
7226
7247
  const t = i.options.offset, e = i._tickSize(), n = i._length / e + (t ? 0 : 1), s = i._maxLength / e;
@@ -7250,7 +7271,7 @@ function mA(i, t, e, n) {
7250
7271
  for (n = Math.ceil(n), a = 0; a < i.length; a++)
7251
7272
  a === o && (t.push(i[a]), s++, o = e[s * n]);
7252
7273
  }
7253
- function Di(i, t, e, n, s) {
7274
+ function xi(i, t, e, n, s) {
7254
7275
  const o = I(n, 0), a = Math.min(I(s, i.length), i.length);
7255
7276
  let r = 0, l, c, h;
7256
7277
  for (e = Math.ceil(e), s && (l = s - n, e = l / Math.floor(l / e)), h = o; h < 0; )
@@ -7293,7 +7314,7 @@ function xA(i, t) {
7293
7314
  }
7294
7315
  });
7295
7316
  }
7296
- function We(i) {
7317
+ function Ze(i) {
7297
7318
  return i.drawTicks ? i.tickLength : 0;
7298
7319
  }
7299
7320
  function Ts(i, t) {
@@ -7303,13 +7324,13 @@ function Ts(i, t) {
7303
7324
  return (F(i.text) ? i.text.length : 1) * e.lineHeight + n.height;
7304
7325
  }
7305
7326
  function BA(i, t) {
7306
- return ce(i, {
7327
+ return he(i, {
7307
7328
  scale: t,
7308
7329
  type: "scale"
7309
7330
  });
7310
7331
  }
7311
7332
  function vA(i, t, e) {
7312
- return ce(i, {
7333
+ return he(i, {
7313
7334
  tick: e,
7314
7335
  index: t,
7315
7336
  type: "tick"
@@ -7343,7 +7364,7 @@ function yA(i, t, e, n) {
7343
7364
  rotation: A
7344
7365
  };
7345
7366
  }
7346
- class ye extends Xt {
7367
+ class Ce extends Jt {
7347
7368
  constructor(t) {
7348
7369
  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 = {
7349
7370
  left: 0,
@@ -7496,7 +7517,7 @@ class ye extends Xt {
7496
7517
  return;
7497
7518
  }
7498
7519
  const h = this._getLabelSizes(), A = h.widest.width, d = h.highest.height, u = _(this.chart.width - A, 0, this.maxWidth);
7499
- r = t.offset ? this.maxWidth / n : u / (n - 1), A + 6 > r && (r = u / (n - (t.offset ? 0.5 : 1)), l = this.maxHeight - We(t.grid) - e.padding - Ts(t.title, this.chart.options.font), c = Math.sqrt(A * A + d * d), a = En(Math.min(Math.asin(_((h.highest.height + 6) / r, -1, 1)), Math.asin(_(l / c, -1, 1)) - Math.asin(_(d / c, -1, 1)))), a = Math.max(s, Math.min(o, a))), this.labelRotation = a;
7520
+ r = t.offset ? this.maxWidth / n : u / (n - 1), A + 6 > r && (r = u / (n - (t.offset ? 0.5 : 1)), l = this.maxHeight - Ze(t.grid) - e.padding - Ts(t.title, this.chart.options.font), c = Math.sqrt(A * A + d * d), a = En(Math.min(Math.asin(_((h.highest.height + 6) / r, -1, 1)), Math.asin(_(l / c, -1, 1)) - Math.asin(_(d / c, -1, 1)))), a = Math.max(s, Math.min(o, a))), this.labelRotation = a;
7500
7521
  }
7501
7522
  afterCalculateLabelRotation() {
7502
7523
  N(this.options.afterCalculateLabelRotation, [
@@ -7517,7 +7538,7 @@ class ye extends Xt {
7517
7538
  }, { chart: e, options: { ticks: n, title: s, grid: o } } = this, a = this._isVisible(), r = this.isHorizontal();
7518
7539
  if (a) {
7519
7540
  const l = Ts(s, e.options.font);
7520
- if (r ? (t.width = this.maxWidth, t.height = We(o) + l) : (t.height = this.maxHeight, t.width = We(o) + l), n.display && this.ticks.length) {
7541
+ if (r ? (t.width = this.maxWidth, t.height = Ze(o) + l) : (t.height = this.maxHeight, t.width = Ze(o) + l), n.display && this.ticks.length) {
7521
7542
  const { first: c, last: h, widest: A, highest: d } = this._getLabelSizes(), u = n.padding * 2, g = Bt(this.labelRotation), f = Math.cos(g), p = Math.sin(g);
7522
7543
  if (r) {
7523
7544
  const w = n.mirror ? 0 : p * A.width + f * d.height;
@@ -7581,10 +7602,10 @@ class ye extends Xt {
7581
7602
  data: {},
7582
7603
  gc: []
7583
7604
  }, M = f.lineHeight, v = B = 0, !Q(g) && !F(g))
7584
- v = Si(s, w.data, w.gc, v, g), B = M;
7605
+ v = Li(s, w.data, w.gc, v, g), B = M;
7585
7606
  else if (F(g))
7586
7607
  for (d = 0, u = g.length; d < u; ++d)
7587
- x = g[d], !Q(x) && !F(x) && (v = Si(s, w.data, w.gc, v, x), B += M);
7608
+ x = g[d], !Q(x) && !F(x) && (v = Li(s, w.data, w.gc, v, x), B += M);
7588
7609
  a.push(v), r.push(B), c = Math.max(v, c), h = Math.max(B, h);
7589
7610
  }
7590
7611
  xA(o, e);
@@ -7616,7 +7637,7 @@ class ye extends Xt {
7616
7637
  getPixelForDecimal(t) {
7617
7638
  this._reversePixels && (t = 1 - t);
7618
7639
  const e = this._startPixel + t * this._length;
7619
- return nc(this._alignToPixels ? fe(this.chart, e, 0) : e);
7640
+ return nc(this._alignToPixels ? pe(this.chart, e, 0) : e);
7620
7641
  }
7621
7642
  getDecimalForPixel(t) {
7622
7643
  const e = (t - this._startPixel) / this._length;
@@ -7646,8 +7667,8 @@ class ye extends Xt {
7646
7667
  return t !== "auto" ? !!t : this.getMatchingVisibleMetas().length > 0;
7647
7668
  }
7648
7669
  _computeGridLineItems(t) {
7649
- const e = this.axis, n = this.chart, s = this.options, { grid: o, position: a, border: r } = s, l = o.offset, c = this.isHorizontal(), A = this.ticks.length + (l ? 1 : 0), d = We(o), u = [], g = r.setContext(this.getContext()), f = g.display ? g.width : 0, p = f / 2, w = function(H) {
7650
- return fe(n, H, f);
7670
+ const e = this.axis, n = this.chart, s = this.options, { grid: o, position: a, border: r } = s, l = o.offset, c = this.isHorizontal(), A = this.ticks.length + (l ? 1 : 0), d = Ze(o), u = [], g = r.setContext(this.getContext()), f = g.display ? g.width : 0, p = f / 2, w = function(H) {
7671
+ return pe(n, H, f);
7651
7672
  };
7652
7673
  let M, v, B, x, G, y, Y, C, E, k, S, et;
7653
7674
  if (a === "top")
@@ -7677,8 +7698,8 @@ class ye extends Xt {
7677
7698
  }
7678
7699
  const ft = I(s.ticks.maxTicksLimit, A), j = Math.max(1, Math.ceil(A / ft));
7679
7700
  for (v = 0; v < A; v += j) {
7680
- const H = this.getContext(v), X = o.setContext(H), xt = r.setContext(H), st = X.lineWidth, Ce = X.color, di = xt.dash || [], Ie = xt.dashOffset, Re = X.tickWidth, de = X.tickColor, je = X.tickBorderDash || [], ue = X.tickBorderDashOffset;
7681
- B = DA(this, v, l), B !== void 0 && (x = fe(n, B, st), c ? G = Y = E = S = x : y = C = k = et = x, u.push({
7701
+ const H = this.getContext(v), X = o.setContext(H), xt = r.setContext(H), st = X.lineWidth, Ee = X.color, ui = xt.dash || [], ke = xt.dashOffset, je = X.tickWidth, ue = X.tickColor, Ne = X.tickBorderDash || [], ge = X.tickBorderDashOffset;
7702
+ B = DA(this, v, l), B !== void 0 && (x = pe(n, B, st), c ? G = Y = E = S = x : y = C = k = et = x, u.push({
7682
7703
  tx1: G,
7683
7704
  ty1: y,
7684
7705
  tx2: Y,
@@ -7688,19 +7709,19 @@ class ye extends Xt {
7688
7709
  x2: S,
7689
7710
  y2: et,
7690
7711
  width: st,
7691
- color: Ce,
7692
- borderDash: di,
7693
- borderDashOffset: Ie,
7694
- tickWidth: Re,
7695
- tickColor: de,
7696
- tickBorderDash: je,
7697
- tickBorderDashOffset: ue
7712
+ color: Ee,
7713
+ borderDash: ui,
7714
+ borderDashOffset: ke,
7715
+ tickWidth: je,
7716
+ tickColor: ue,
7717
+ tickBorderDash: Ne,
7718
+ tickBorderDashOffset: ge
7698
7719
  }));
7699
7720
  }
7700
7721
  return this._ticksLength = A, this._borderValue = M, u;
7701
7722
  }
7702
7723
  _computeLabelItems(t) {
7703
- const e = this.axis, n = this.options, { position: s, ticks: o } = n, a = this.isHorizontal(), r = this.ticks, { align: l, crossAlign: c, padding: h, mirror: A } = o, d = We(n.grid), u = d + h, g = A ? -h : u, f = -Bt(this.labelRotation), p = [];
7724
+ const e = this.axis, n = this.options, { position: s, ticks: o } = n, a = this.isHorizontal(), r = this.ticks, { align: l, crossAlign: c, padding: h, mirror: A } = o, d = Ze(n.grid), u = d + h, g = A ? -h : u, f = -Bt(this.labelRotation), p = [];
7704
7725
  let w, M, v, B, x, G, y, Y, C, E, k, S, et = "middle";
7705
7726
  if (s === "top")
7706
7727
  G = this.bottom - g, y = this._getXAxisLabelAlignment();
@@ -7736,36 +7757,36 @@ class ye extends Xt {
7736
7757
  const j = o.setContext(this.getContext(w));
7737
7758
  Y = this.getPixelForTick(w) + o.labelOffset, C = this._resolveTickFontOptions(w), E = C.lineHeight, k = F(B) ? B.length : 1;
7738
7759
  const H = k / 2, X = j.color, xt = j.textStrokeColor, st = j.textStrokeWidth;
7739
- let Ce = y;
7740
- a ? (x = Y, y === "inner" && (w === M - 1 ? Ce = this.options.reverse ? "left" : "right" : w === 0 ? Ce = this.options.reverse ? "right" : "left" : Ce = "center"), s === "top" ? c === "near" || f !== 0 ? S = -k * E + E / 2 : c === "center" ? S = -ft.highest.height / 2 - H * E + E : S = -ft.highest.height + E / 2 : c === "near" || f !== 0 ? S = E / 2 : c === "center" ? S = ft.highest.height / 2 - H * E : S = ft.highest.height - k * E, A && (S *= -1), f !== 0 && !j.showLabelBackdrop && (x += E / 2 * Math.sin(f))) : (G = Y, S = (1 - k) * E / 2);
7741
- let di;
7760
+ let Ee = y;
7761
+ a ? (x = Y, y === "inner" && (w === M - 1 ? Ee = this.options.reverse ? "left" : "right" : w === 0 ? Ee = this.options.reverse ? "right" : "left" : Ee = "center"), s === "top" ? c === "near" || f !== 0 ? S = -k * E + E / 2 : c === "center" ? S = -ft.highest.height / 2 - H * E + E : S = -ft.highest.height + E / 2 : c === "near" || f !== 0 ? S = E / 2 : c === "center" ? S = ft.highest.height / 2 - H * E : S = ft.highest.height - k * E, A && (S *= -1), f !== 0 && !j.showLabelBackdrop && (x += E / 2 * Math.sin(f))) : (G = Y, S = (1 - k) * E / 2);
7762
+ let ui;
7742
7763
  if (j.showLabelBackdrop) {
7743
- const Ie = lt(j.backdropPadding), Re = ft.heights[w], de = ft.widths[w];
7744
- let je = S - Ie.top, ue = 0 - Ie.left;
7764
+ const ke = lt(j.backdropPadding), je = ft.heights[w], ue = ft.widths[w];
7765
+ let Ne = S - ke.top, ge = 0 - ke.left;
7745
7766
  switch (et) {
7746
7767
  case "middle":
7747
- je -= Re / 2;
7768
+ Ne -= je / 2;
7748
7769
  break;
7749
7770
  case "bottom":
7750
- je -= Re;
7771
+ Ne -= je;
7751
7772
  break;
7752
7773
  }
7753
7774
  switch (y) {
7754
7775
  case "center":
7755
- ue -= de / 2;
7776
+ ge -= ue / 2;
7756
7777
  break;
7757
7778
  case "right":
7758
- ue -= de;
7779
+ ge -= ue;
7759
7780
  break;
7760
7781
  case "inner":
7761
- w === M - 1 ? ue -= de : w > 0 && (ue -= de / 2);
7782
+ w === M - 1 ? ge -= ue : w > 0 && (ge -= ue / 2);
7762
7783
  break;
7763
7784
  }
7764
- di = {
7765
- left: ue,
7766
- top: je,
7767
- width: de + Ie.width,
7768
- height: Re + Ie.height,
7785
+ ui = {
7786
+ left: ge,
7787
+ top: Ne,
7788
+ width: ue + ke.width,
7789
+ height: je + ke.height,
7769
7790
  color: j.backdropColor
7770
7791
  };
7771
7792
  }
@@ -7778,13 +7799,13 @@ class ye extends Xt {
7778
7799
  color: X,
7779
7800
  strokeColor: xt,
7780
7801
  strokeWidth: st,
7781
- textAlign: Ce,
7802
+ textAlign: Ee,
7782
7803
  textBaseline: et,
7783
7804
  translation: [
7784
7805
  x,
7785
7806
  G
7786
7807
  ],
7787
- backdrop: di
7808
+ backdrop: ui
7788
7809
  }
7789
7810
  });
7790
7811
  }
@@ -7870,7 +7891,7 @@ class ye extends Xt {
7870
7891
  return;
7871
7892
  const r = s.setContext(this.getContext(0)).lineWidth, l = this._borderValue;
7872
7893
  let c, h, A, d;
7873
- this.isHorizontal() ? (c = fe(t, this.left, a) - a / 2, h = fe(t, this.right, r) + r / 2, A = d = l) : (A = fe(t, this.top, a) - a / 2, d = fe(t, this.bottom, r) + r / 2, c = h = l), e.save(), e.lineWidth = o.width, e.strokeStyle = o.color, e.beginPath(), e.moveTo(c, A), e.lineTo(h, d), e.stroke(), e.restore();
7894
+ this.isHorizontal() ? (c = pe(t, this.left, a) - a / 2, h = pe(t, this.right, r) + r / 2, A = d = l) : (A = pe(t, this.top, a) - a / 2, d = pe(t, this.bottom, r) + r / 2, c = h = l), e.save(), e.lineWidth = o.width, e.strokeStyle = o.color, e.beginPath(), e.moveTo(c, A), e.lineTo(h, d), e.stroke(), e.restore();
7874
7895
  }
7875
7896
  drawLabels(t) {
7876
7897
  if (!this.options.ticks.display)
@@ -7880,7 +7901,7 @@ class ye extends Xt {
7880
7901
  const o = this.getLabelItems(t);
7881
7902
  for (const a of o) {
7882
7903
  const r = a.options, l = a.font, c = a.label, h = a.textOffset;
7883
- Be(n, c, 0, h, l, r);
7904
+ ve(n, c, 0, h, l, r);
7884
7905
  }
7885
7906
  s && Vi(n);
7886
7907
  }
@@ -7892,7 +7913,7 @@ class ye extends Xt {
7892
7913
  let l = o.lineHeight / 2;
7893
7914
  e === "bottom" || e === "center" || P(e) ? (l += a.bottom, F(n.text) && (l += o.lineHeight * (n.text.length - 1))) : l += a.top;
7894
7915
  const { titleX: c, titleY: h, maxWidth: A, rotation: d } = yA(this, l, e, r);
7895
- Be(t, n.text, 0, 0, o, {
7916
+ ve(t, n.text, 0, 0, o, {
7896
7917
  color: n.color,
7897
7918
  maxWidth: A,
7898
7919
  rotation: d,
@@ -7909,7 +7930,7 @@ class ye extends Xt {
7909
7930
  }
7910
7931
  _layers() {
7911
7932
  const t = this.options, e = t.ticks && t.ticks.z || 0, n = I(t.grid && t.grid.z, -1), s = I(t.border && t.border.z, 0);
7912
- return !this._isVisible() || this.draw !== ye.prototype.draw ? [
7933
+ return !this._isVisible() || this.draw !== Ce.prototype.draw ? [
7913
7934
  {
7914
7935
  z: e,
7915
7936
  draw: (o) => {
@@ -7955,7 +7976,7 @@ class ye extends Xt {
7955
7976
  return (this.isHorizontal() ? this.width : this.height) / t;
7956
7977
  }
7957
7978
  }
7958
- class xi {
7979
+ class Bi {
7959
7980
  constructor(t, e, n) {
7960
7981
  this.type = t, this.scope = e, this.override = n, this.items = /* @__PURE__ */ Object.create(null);
7961
7982
  }
@@ -7976,11 +7997,11 @@ class xi {
7976
7997
  }
7977
7998
  unregister(t) {
7978
7999
  const e = this.items, n = t.id, s = this.scope;
7979
- n in e && delete e[n], s && n in W[s] && (delete W[s][n], this.override && delete xe[n]);
8000
+ n in e && delete e[n], s && n in W[s] && (delete W[s][n], this.override && delete Be[n]);
7980
8001
  }
7981
8002
  }
7982
8003
  function YA(i, t, e) {
7983
- const n = si(/* @__PURE__ */ Object.create(null), [
8004
+ const n = oi(/* @__PURE__ */ Object.create(null), [
7984
8005
  e ? W.get(e) : {},
7985
8006
  W.get(t),
7986
8007
  i.defaults
@@ -8000,7 +8021,7 @@ function IA(i) {
8000
8021
  }
8001
8022
  class EA {
8002
8023
  constructor() {
8003
- this.controllers = new xi(he, "datasets", !0), this.elements = new xi(Xt, "elements"), this.plugins = new xi(Object, "plugins"), this.scales = new xi(ye, "scales"), this._typedRegistries = [
8024
+ this.controllers = new Bi(Ae, "datasets", !0), this.elements = new Bi(Jt, "elements"), this.plugins = new Bi(Object, "plugins"), this.scales = new Bi(Ce, "scales"), this._typedRegistries = [
8004
8025
  this.controllers,
8005
8026
  this.scales,
8006
8027
  this.elements
@@ -8207,7 +8228,7 @@ function RA(i, t) {
8207
8228
  return {};
8208
8229
  }
8209
8230
  function jA(i, t) {
8210
- const e = xe[i.type] || {
8231
+ const e = Be[i.type] || {
8211
8232
  scales: {}
8212
8233
  }, n = t.scales || {}, s = bn(i.type, t), o = /* @__PURE__ */ Object.create(null);
8213
8234
  return Object.keys(n).forEach((a) => {
@@ -8217,7 +8238,7 @@ function jA(i, t) {
8217
8238
  if (r._proxy)
8218
8239
  return console.warn(`Ignoring resolver passed as options for scale: ${a}`);
8219
8240
  const l = Mn(a, r, RA(a, i), W.scales[r.type]), c = zA(l, s), h = e.scales || {};
8220
- o[a] = qe(/* @__PURE__ */ Object.create(null), [
8241
+ o[a] = _e(/* @__PURE__ */ Object.create(null), [
8221
8242
  {
8222
8243
  axis: l
8223
8244
  },
@@ -8226,10 +8247,10 @@ function jA(i, t) {
8226
8247
  h[c]
8227
8248
  ]);
8228
8249
  }), i.data.datasets.forEach((a) => {
8229
- const r = a.type || i.type, l = a.indexAxis || bn(r, t), h = (xe[r] || {}).scales || {};
8250
+ const r = a.type || i.type, l = a.indexAxis || bn(r, t), h = (Be[r] || {}).scales || {};
8230
8251
  Object.keys(h).forEach((A) => {
8231
8252
  const d = TA(A, l), u = a[d + "AxisID"] || d;
8232
- o[u] = o[u] || /* @__PURE__ */ Object.create(null), qe(o[u], [
8253
+ o[u] = o[u] || /* @__PURE__ */ Object.create(null), _e(o[u], [
8233
8254
  {
8234
8255
  axis: d
8235
8256
  },
@@ -8239,7 +8260,7 @@ function jA(i, t) {
8239
8260
  });
8240
8261
  }), Object.keys(o).forEach((a) => {
8241
8262
  const r = o[a];
8242
- qe(r, [
8263
+ _e(r, [
8243
8264
  W.scales[r.type],
8244
8265
  W.scale
8245
8266
  ]);
@@ -8256,12 +8277,12 @@ function NA(i) {
8256
8277
  return i = i || {}, i.data = fa(i.data), ga(i), i;
8257
8278
  }
8258
8279
  const Rs = /* @__PURE__ */ new Map(), pa = /* @__PURE__ */ new Set();
8259
- function Bi(i, t) {
8280
+ function vi(i, t) {
8260
8281
  let e = Rs.get(i);
8261
8282
  return e || (e = t(), Rs.set(i, e), pa.add(e)), e;
8262
8283
  }
8263
- const Ze = (i, t, e) => {
8264
- const n = ne(t, e);
8284
+ const Ue = (i, t, e) => {
8285
+ const n = se(t, e);
8265
8286
  n !== void 0 && i.add(n);
8266
8287
  };
8267
8288
  class VA {
@@ -8300,7 +8321,7 @@ class VA {
8300
8321
  this._scopeCache.clear(), this._resolverCache.clear();
8301
8322
  }
8302
8323
  datasetScopeKeys(t) {
8303
- return Bi(t, () => [
8324
+ return vi(t, () => [
8304
8325
  [
8305
8326
  `datasets.${t}`,
8306
8327
  ""
@@ -8308,7 +8329,7 @@ class VA {
8308
8329
  ]);
8309
8330
  }
8310
8331
  datasetAnimationScopeKeys(t, e) {
8311
- return Bi(`${t}.transition.${e}`, () => [
8332
+ return vi(`${t}.transition.${e}`, () => [
8312
8333
  [
8313
8334
  `datasets.${t}.transitions.${e}`,
8314
8335
  `transitions.${e}`
@@ -8320,7 +8341,7 @@ class VA {
8320
8341
  ]);
8321
8342
  }
8322
8343
  datasetElementScopeKeys(t, e) {
8323
- return Bi(`${t}-${e}`, () => [
8344
+ return vi(`${t}-${e}`, () => [
8324
8345
  [
8325
8346
  `datasets.${t}.elements.${e}`,
8326
8347
  `datasets.${t}`,
@@ -8331,7 +8352,7 @@ class VA {
8331
8352
  }
8332
8353
  pluginScopeKeys(t) {
8333
8354
  const e = t.id, n = this.type;
8334
- return Bi(`${n}-plugin-${e}`, () => [
8355
+ return vi(`${n}-plugin-${e}`, () => [
8335
8356
  [
8336
8357
  `plugins.${e}`,
8337
8358
  ...t.additionalOptionScopes || []
@@ -8349,7 +8370,7 @@ class VA {
8349
8370
  return r;
8350
8371
  const l = /* @__PURE__ */ new Set();
8351
8372
  e.forEach((h) => {
8352
- t && (l.add(t), h.forEach((A) => Ze(l, t, A))), h.forEach((A) => Ze(l, s, A)), h.forEach((A) => Ze(l, xe[o] || {}, A)), h.forEach((A) => Ze(l, W, A)), h.forEach((A) => Ze(l, wn, A));
8373
+ t && (l.add(t), h.forEach((A) => Ue(l, t, A))), h.forEach((A) => Ue(l, s, A)), h.forEach((A) => Ue(l, Be[o] || {}, A)), h.forEach((A) => Ue(l, W, A)), h.forEach((A) => Ue(l, wn, A));
8353
8374
  });
8354
8375
  const c = Array.from(l);
8355
8376
  return c.length === 0 && c.push(/* @__PURE__ */ Object.create(null)), pa.has(e) && a.set(e, c), c;
@@ -8358,7 +8379,7 @@ class VA {
8358
8379
  const { options: t, type: e } = this;
8359
8380
  return [
8360
8381
  t,
8361
- xe[e] || {},
8382
+ Be[e] || {},
8362
8383
  W.datasets[e] || {},
8363
8384
  {
8364
8385
  type: e
@@ -8375,9 +8396,9 @@ class VA {
8375
8396
  }, { resolver: a, subPrefixes: r } = js(this._resolverCache, t, s);
8376
8397
  let l = a;
8377
8398
  if (FA(a, e)) {
8378
- o.$shared = !1, n = se(n) ? n() : n;
8399
+ o.$shared = !1, n = oe(n) ? n() : n;
8379
8400
  const c = this.createResolver(t, n, r);
8380
- l = Le(a, n, c);
8401
+ l = Te(a, n, c);
8381
8402
  }
8382
8403
  for (const c of e)
8383
8404
  o[c] = l[c];
@@ -8387,7 +8408,7 @@ class VA {
8387
8408
  ""
8388
8409
  ], s) {
8389
8410
  const { resolver: o } = js(this._resolverCache, t, n);
8390
- return P(e) ? Le(o, e, void 0, s) : o;
8411
+ return P(e) ? Te(o, e, void 0, s) : o;
8391
8412
  }
8392
8413
  }
8393
8414
  function js(i, t, e) {
@@ -8400,12 +8421,12 @@ function js(i, t, e) {
8400
8421
  subPrefixes: e.filter((r) => !r.toLowerCase().includes("hover"))
8401
8422
  }, n.set(s, o)), o;
8402
8423
  }
8403
- const HA = (i) => P(i) && Object.getOwnPropertyNames(i).some((t) => se(i[t]));
8424
+ const HA = (i) => P(i) && Object.getOwnPropertyNames(i).some((t) => oe(i[t]));
8404
8425
  function FA(i, t) {
8405
8426
  const { isScriptable: e, isIndexable: n } = Uo(i);
8406
8427
  for (const s of t) {
8407
8428
  const o = e(s), a = n(s), r = (a || o) && i[s];
8408
- if (o && (se(r) || HA(r)) || a && F(r))
8429
+ if (o && (oe(r) || HA(r)) || a && F(r))
8409
8430
  return !0;
8410
8431
  }
8411
8432
  return !1;
@@ -8441,9 +8462,9 @@ function UA(i) {
8441
8462
  function wa(i) {
8442
8463
  return On() && typeof i == "string" ? i = document.getElementById(i) : i && i.length && (i = i[0]), i && i.canvas && (i = i.canvas), i;
8443
8464
  }
8444
- const Ii = {}, Fs = (i) => {
8465
+ const Ei = {}, Fs = (i) => {
8445
8466
  const t = wa(i);
8446
- return Object.values(Ii).filter((e) => e.canvas === t).pop();
8467
+ return Object.values(Ei).filter((e) => e.canvas === t).pop();
8447
8468
  };
8448
8469
  function KA(i, t, e) {
8449
8470
  const n = Object.keys(i);
@@ -8460,8 +8481,8 @@ function XA(i, t, e, n) {
8460
8481
  }
8461
8482
  class Vn {
8462
8483
  static defaults = W;
8463
- static instances = Ii;
8464
- static overrides = xe;
8484
+ static instances = Ei;
8485
+ static overrides = Be;
8465
8486
  static registry = Pt;
8466
8487
  static version = WA;
8467
8488
  static getChart = Fs;
@@ -8478,7 +8499,7 @@ class Vn {
8478
8499
  const a = n.createResolver(n.chartOptionScopes(), this.getContext());
8479
8500
  this.platform = new (n.platform || uA(s))(), this.platform.updateConfig(n);
8480
8501
  const r = this.platform.acquireContext(s, a.aspectRatio), l = r && r.canvas, c = l && l.height, h = l && l.width;
8481
- if (this.id = Fl(), this.ctx = r, this.canvas = l, this.width = h, this.height = c, this._options = a, this._aspectRatio = this.aspectRatio, this._layers = [], this._metasets = [], this._stacks = void 0, this.boxes = [], this.currentDevicePixelRatio = void 0, this.chartArea = void 0, this._active = [], this._lastEvent = void 0, this._listeners = {}, this._responsiveListeners = void 0, this._sortedMetasets = [], this.scales = {}, this._plugins = new kA(), this.$proxies = {}, this._hiddenIndices = {}, this.attached = !1, this._animationsDisabled = void 0, this.$context = void 0, this._doResize = rc((A) => this.update(A), a.resizeDelay || 0), this._dataChanges = [], Ii[this.id] = this, !r || !l) {
8502
+ if (this.id = Fl(), this.ctx = r, this.canvas = l, this.width = h, this.height = c, this._options = a, this._aspectRatio = this.aspectRatio, this._layers = [], this._metasets = [], this._stacks = void 0, this.boxes = [], this.currentDevicePixelRatio = void 0, this.chartArea = void 0, this._active = [], this._lastEvent = void 0, this._listeners = {}, this._responsiveListeners = void 0, this._sortedMetasets = [], this.scales = {}, this._plugins = new kA(), this.$proxies = {}, this._hiddenIndices = {}, this.attached = !1, this._animationsDisabled = void 0, this.$context = void 0, this._doResize = rc((A) => this.update(A), a.resizeDelay || 0), this._dataChanges = [], Ei[this.id] = this, !r || !l) {
8482
8503
  console.error("Failed to create chart: can't acquire context from the given item");
8483
8504
  return;
8484
8505
  }
@@ -8683,7 +8704,7 @@ class Vn {
8683
8704
  for (let e = 0, n = this.data.datasets.length; e < n; ++e)
8684
8705
  this.getDatasetMeta(e).controller.configure();
8685
8706
  for (let e = 0, n = this.data.datasets.length; e < n; ++e)
8686
- this._updateDataset(e, se(t) ? t({
8707
+ this._updateDataset(e, oe(t) ? t({
8687
8708
  datasetIndex: e
8688
8709
  }) : t);
8689
8710
  this.notifyPlugins("afterDatasetsUpdate", {
@@ -8780,7 +8801,7 @@ class Vn {
8780
8801
  }, n.push(s)), s;
8781
8802
  }
8782
8803
  getContext() {
8783
- return this.$context || (this.$context = ce(null, {
8804
+ return this.$context || (this.$context = he(null, {
8784
8805
  chart: this,
8785
8806
  type: "chart"
8786
8807
  }));
@@ -8807,7 +8828,7 @@ class Vn {
8807
8828
  }
8808
8829
  _updateVisibility(t, e, n) {
8809
8830
  const s = n ? "show" : "hide", o = this.getDatasetMeta(t), a = o.controller._resolveAnimations(void 0, s);
8810
- oi(e) ? (o.data[e].hidden = !n, this.update()) : (this.setDatasetVisibility(t, n), a.update(o, {
8831
+ ai(e) ? (o.data[e].hidden = !n, this.update()) : (this.setDatasetVisibility(t, n), a.update(o, {
8811
8832
  visible: n
8812
8833
  }), this.update((r) => r.datasetIndex === t ? s : void 0));
8813
8834
  }
@@ -8829,7 +8850,7 @@ class Vn {
8829
8850
  destroy() {
8830
8851
  this.notifyPlugins("beforeDestroy");
8831
8852
  const { canvas: t, ctx: e } = this;
8832
- this._stop(), this.config.clearCache(), t && (this.unbindEvents(), hs(t, e), this.platform.releaseContext(e), this.canvas = null, this.ctx = null), delete Ii[this.id], this.notifyPlugins("afterDestroy");
8853
+ this._stop(), this.config.clearCache(), t && (this.unbindEvents(), hs(t, e), this.platform.releaseContext(e), this.canvas = null, this.ctx = null), delete Ei[this.id], this.notifyPlugins("afterDestroy");
8833
8854
  }
8834
8855
  toBase64Image(...t) {
8835
8856
  return this.canvas.toDataURL(...t);
@@ -8892,7 +8913,7 @@ class Vn {
8892
8913
  index: a
8893
8914
  };
8894
8915
  });
8895
- !ki(n, e) && (this._active = n, this._lastEvent = null, this._updateHoverStyles(n, e));
8916
+ !Qi(n, e) && (this._active = n, this._lastEvent = null, this._updateHoverStyles(n, e));
8896
8917
  }
8897
8918
  notifyPlugins(t, e, n) {
8898
8919
  return this._plugins.notify(this, t, e, n);
@@ -8927,7 +8948,7 @@ class Vn {
8927
8948
  r,
8928
8949
  this
8929
8950
  ], this));
8930
- const h = !ki(r, s);
8951
+ const h = !Qi(r, s);
8931
8952
  return (h || e) && (this._active = r, this._updateHoverStyles(r, s, e)), this._lastEvent = c, h;
8932
8953
  }
8933
8954
  _getActiveElements(t, e, n, s) {
@@ -8983,13 +9004,13 @@ function $A(i, t, e, n) {
8983
9004
  innerEnd: _(s.innerEnd, 0, a)
8984
9005
  };
8985
9006
  }
8986
- function ke(i, t, e, n) {
9007
+ function Pe(i, t, e, n) {
8987
9008
  return {
8988
9009
  x: e + i * Math.cos(t),
8989
9010
  y: n + i * Math.sin(t)
8990
9011
  };
8991
9012
  }
8992
- function zi(i, t, e, n, s, o) {
9013
+ function Oi(i, t, e, n, s, o) {
8993
9014
  const { x: a, y: r, startAngle: l, pixelMargin: c, innerRadius: h } = t, A = Math.max(t.outerRadius + n + e - c, 0), d = h > 0 ? h + n + e + c : 0;
8994
9015
  let u = 0;
8995
9016
  const g = s - l;
@@ -9001,22 +9022,22 @@ function zi(i, t, e, n, s, o) {
9001
9022
  if (i.beginPath(), o) {
9002
9023
  const j = (C + E) / 2;
9003
9024
  if (i.arc(a, r, A, C, j), i.arc(a, r, A, j, E), B > 0) {
9004
- const st = ke(Y, E, a, r);
9025
+ const st = Pe(Y, E, a, r);
9005
9026
  i.arc(st.x, st.y, B, E, M + J);
9006
9027
  }
9007
- const H = ke(S, M, a, r);
9028
+ const H = Pe(S, M, a, r);
9008
9029
  if (i.lineTo(H.x, H.y), G > 0) {
9009
- const st = ke(S, ft, a, r);
9030
+ const st = Pe(S, ft, a, r);
9010
9031
  i.arc(st.x, st.y, G, M + J, ft + Math.PI);
9011
9032
  }
9012
9033
  const X = (M - G / d + (w + x / d)) / 2;
9013
9034
  if (i.arc(a, r, d, M - G / d, X, !0), i.arc(a, r, d, X, w + x / d, !0), x > 0) {
9014
- const st = ke(k, et, a, r);
9035
+ const st = Pe(k, et, a, r);
9015
9036
  i.arc(st.x, st.y, x, et + Math.PI, w - J);
9016
9037
  }
9017
- const xt = ke(y, w, a, r);
9038
+ const xt = Pe(y, w, a, r);
9018
9039
  if (i.lineTo(xt.x, xt.y), v > 0) {
9019
- const st = ke(y, C, a, r);
9040
+ const st = Pe(y, C, a, r);
9020
9041
  i.arc(st.x, st.y, v, w - J, C);
9021
9042
  }
9022
9043
  } else {
@@ -9032,12 +9053,12 @@ function td(i, t, e, n, s) {
9032
9053
  const { fullCircles: o, startAngle: a, circumference: r } = t;
9033
9054
  let l = t.endAngle;
9034
9055
  if (o) {
9035
- zi(i, t, e, n, l, s);
9056
+ Oi(i, t, e, n, l, s);
9036
9057
  for (let c = 0; c < o; ++c)
9037
9058
  i.fill();
9038
9059
  isNaN(r) || (l = a + (r % V || V));
9039
9060
  }
9040
- return zi(i, t, e, n, l, s), i.fill(), l;
9061
+ return Oi(i, t, e, n, l, s), i.fill(), l;
9041
9062
  }
9042
9063
  function ed(i, t, e, n, s) {
9043
9064
  const { fullCircles: o, startAngle: a, circumference: r, options: l } = t, { borderWidth: c, borderJoinStyle: h, borderDash: A, borderDashOffset: d, borderRadius: u } = l, g = l.borderAlign === "inner";
@@ -9046,14 +9067,14 @@ function ed(i, t, e, n, s) {
9046
9067
  i.setLineDash(A || []), i.lineDashOffset = d, g ? (i.lineWidth = c * 2, i.lineJoin = h || "round") : (i.lineWidth = c, i.lineJoin = h || "bevel");
9047
9068
  let f = t.endAngle;
9048
9069
  if (o) {
9049
- zi(i, t, e, n, f, s);
9070
+ Oi(i, t, e, n, f, s);
9050
9071
  for (let p = 0; p < o; ++p)
9051
9072
  i.stroke();
9052
9073
  isNaN(r) || (f = a + (r % V || V));
9053
9074
  }
9054
- g && qA(i, t, f), l.selfJoin && f - a >= T && u === 0 && h !== "miter" && JA(i, t, f), o || (zi(i, t, e, n, f, s), i.stroke());
9075
+ g && qA(i, t, f), l.selfJoin && f - a >= T && u === 0 && h !== "miter" && JA(i, t, f), o || (Oi(i, t, e, n, f, s), i.stroke());
9055
9076
  }
9056
- class id extends Xt {
9077
+ class id extends Jt {
9057
9078
  static id = "arc";
9058
9079
  static defaults = {
9059
9080
  borderAlign: "center",
@@ -9099,7 +9120,7 @@ class id extends Xt {
9099
9120
  "innerRadius",
9100
9121
  "outerRadius",
9101
9122
  "circumference"
9102
- ], n), d = (this.options.spacing + this.options.borderWidth) / 2, u = I(A, l - r), g = ai(o, r, l) && r !== l, f = u >= V || g, p = Ft(a, c + d, h + d);
9123
+ ], n), d = (this.options.spacing + this.options.borderWidth) / 2, u = I(A, l - r), g = ri(o, r, l) && r !== l, f = u >= V || g, p = Ft(a, c + d, h + d);
9103
9124
  return f && p;
9104
9125
  }
9105
9126
  getCenterPoint(t) {
@@ -9174,7 +9195,7 @@ function Dn(i) {
9174
9195
  return !i._decimated && !i._loop && !t.tension && t.cubicInterpolationMode !== "monotone" && !t.stepped && !e ? ad : od;
9175
9196
  }
9176
9197
  function rd(i) {
9177
- return i.stepped ? _c : i.tension || i.cubicInterpolationMode === "monotone" ? $c : be;
9198
+ return i.stepped ? _c : i.tension || i.cubicInterpolationMode === "monotone" ? $c : Me;
9178
9199
  }
9179
9200
  function ld(i, t, e, n) {
9180
9201
  let s = t._path;
@@ -9192,7 +9213,7 @@ const hd = typeof Path2D == "function";
9192
9213
  function Ad(i, t, e, n) {
9193
9214
  hd && !t.options.segment ? ld(i, t, e, n) : cd(i, t, e, n);
9194
9215
  }
9195
- class Wi extends Xt {
9216
+ class Wi extends Jt {
9196
9217
  static id = "line";
9197
9218
  static defaults = {
9198
9219
  borderCapStyle: "butt",
@@ -9288,7 +9309,7 @@ function Zs(i, t, e, n) {
9288
9309
  ], n);
9289
9310
  return Math.abs(t - o) < s.radius + s.hitRadius;
9290
9311
  }
9291
- class dd extends Xt {
9312
+ class dd extends Jt {
9292
9313
  static id = "point";
9293
9314
  parsed;
9294
9315
  skip;
@@ -9370,27 +9391,27 @@ function Ma(i, t) {
9370
9391
  bottom: h
9371
9392
  };
9372
9393
  }
9373
- function ee(i, t, e, n) {
9394
+ function ie(i, t, e, n) {
9374
9395
  return i ? 0 : _(t, e, n);
9375
9396
  }
9376
9397
  function ud(i, t, e) {
9377
9398
  const n = i.options.borderWidth, s = i.borderSkipped, o = Zo(n);
9378
9399
  return {
9379
- t: ee(s.top, o.top, 0, e),
9380
- r: ee(s.right, o.right, 0, t),
9381
- b: ee(s.bottom, o.bottom, 0, e),
9382
- l: ee(s.left, o.left, 0, t)
9400
+ t: ie(s.top, o.top, 0, e),
9401
+ r: ie(s.right, o.right, 0, t),
9402
+ b: ie(s.bottom, o.bottom, 0, e),
9403
+ l: ie(s.left, o.left, 0, t)
9383
9404
  };
9384
9405
  }
9385
9406
  function gd(i, t, e) {
9386
9407
  const { enableBorderRadius: n } = i.getProps([
9387
9408
  "enableBorderRadius"
9388
- ]), s = i.options.borderRadius, o = Me(s), a = Math.min(t, e), r = i.borderSkipped, l = n || P(s);
9409
+ ]), s = i.options.borderRadius, o = De(s), a = Math.min(t, e), r = i.borderSkipped, l = n || P(s);
9389
9410
  return {
9390
- topLeft: ee(!l || r.top || r.left, o.topLeft, 0, a),
9391
- topRight: ee(!l || r.top || r.right, o.topRight, 0, a),
9392
- bottomLeft: ee(!l || r.bottom || r.left, o.bottomLeft, 0, a),
9393
- bottomRight: ee(!l || r.bottom || r.right, o.bottomRight, 0, a)
9411
+ topLeft: ie(!l || r.top || r.left, o.topLeft, 0, a),
9412
+ topRight: ie(!l || r.top || r.right, o.topRight, 0, a),
9413
+ bottomLeft: ie(!l || r.bottom || r.left, o.bottomLeft, 0, a),
9414
+ bottomRight: ie(!l || r.bottom || r.right, o.bottomRight, 0, a)
9394
9415
  };
9395
9416
  }
9396
9417
  function fd(i) {
@@ -9437,7 +9458,7 @@ function rn(i, t, e = {}) {
9437
9458
  radius: i.radius
9438
9459
  };
9439
9460
  }
9440
- class md extends Xt {
9461
+ class md extends Jt {
9441
9462
  static id = "bar";
9442
9463
  static defaults = {
9443
9464
  borderSkipped: "start",
@@ -9454,7 +9475,7 @@ class md extends Xt {
9454
9475
  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);
9455
9476
  }
9456
9477
  draw(t) {
9457
- const { inflateAmount: e, options: { borderColor: n, backgroundColor: s } } = this, { inner: o, outer: a } = fd(this), r = pd(a.radius) ? ri : wd;
9478
+ const { inflateAmount: e, options: { borderColor: n, backgroundColor: s } } = this, { inner: o, outer: a } = fd(this), r = pd(a.radius) ? li : wd;
9458
9479
  t.save(), (a.w !== o.w || a.h !== o.h) && (t.beginPath(), r(t, rn(a, e, o)), t.clip(), r(t, rn(o, -e, a)), t.fillStyle = n, t.fill("evenodd")), t.beginPath(), r(t, rn(o, e)), t.fillStyle = s, t.fill(), t.restore();
9459
9480
  }
9460
9481
  inRange(t, e, n) {
@@ -9635,7 +9656,7 @@ var Ed = {
9635
9656
  const n = i.width;
9636
9657
  i.data.datasets.forEach((s, o) => {
9637
9658
  const { _data: a, indexAxis: r } = s, l = i.getDatasetMeta(o), c = a || s.data;
9638
- if (Ke([
9659
+ if (Xe([
9639
9660
  r,
9640
9661
  i.options.indexAxis
9641
9662
  ]) === "y" || !l.controller.supportsDecimation)
@@ -10078,7 +10099,7 @@ const eo = (i, t) => {
10078
10099
  itemHeight: Math.max(t, e)
10079
10100
  };
10080
10101
  }, qd = (i, t) => i !== null && t !== null && i.datasetIndex === t.datasetIndex && i.index === t.index;
10081
- class io extends Xt {
10102
+ class io extends Jt {
10082
10103
  constructor(t) {
10083
10104
  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;
10084
10105
  }
@@ -10146,7 +10167,7 @@ class io extends Xt {
10146
10167
  adjustHitBoxes() {
10147
10168
  if (!this.options.display)
10148
10169
  return;
10149
- const t = this._computeTitleHeight(), { legendHitBoxes: e, options: { align: n, labels: { padding: s }, rtl: o } } = this, a = Qe(o, this.left, this.width);
10170
+ const t = this._computeTitleHeight(), { legendHitBoxes: e, options: { align: n, labels: { padding: s }, rtl: o } } = this, a = Se(o, this.left, this.width);
10150
10171
  if (this.isHorizontal()) {
10151
10172
  let r = 0, l = ot(n, this.left + s, this.right - this.lineWidths[r]);
10152
10173
  for (const c of e)
@@ -10167,7 +10188,7 @@ class io extends Xt {
10167
10188
  }
10168
10189
  }
10169
10190
  _draw() {
10170
- const { options: t, columnSizes: e, lineWidths: n, ctx: s } = this, { align: o, labels: a } = t, r = W.color, l = Qe(t.rtl, this.left, this.width), c = q(a.font), { padding: h } = a, A = c.size, d = A / 2;
10191
+ const { options: t, columnSizes: e, lineWidths: n, ctx: s } = this, { align: o, labels: a } = t, r = W.color, l = Se(t.rtl, this.left, this.width), c = q(a.font), { padding: h } = a, A = c.size, d = A / 2;
10171
10192
  let u;
10172
10193
  this.drawTitle(), s.textAlign = l.textAlign("left"), s.textBaseline = "middle", s.lineWidth = 0.5, s.font = c.string;
10173
10194
  const { boxWidth: g, boxHeight: f, itemHeight: p } = eo(a, A), w = function(G, y, Y) {
@@ -10184,8 +10205,8 @@ class io extends Xt {
10184
10205
  }, k = l.xPlus(G, g / 2), S = y + d;
10185
10206
  Wo(s, E, k, S, a.pointStyleWidth && g);
10186
10207
  } else {
10187
- const E = y + Math.max((A - f) / 2, 0), k = l.leftForLtr(G, g), S = Me(Y.borderRadius);
10188
- s.beginPath(), Object.values(S).some((et) => et !== 0) ? ri(s, {
10208
+ const E = y + Math.max((A - f) / 2, 0), k = l.leftForLtr(G, g), S = De(Y.borderRadius);
10209
+ s.beginPath(), Object.values(S).some((et) => et !== 0) ? li(s, {
10189
10210
  x: k,
10190
10211
  y: E,
10191
10212
  w: g,
@@ -10195,7 +10216,7 @@ class io extends Xt {
10195
10216
  }
10196
10217
  s.restore();
10197
10218
  }, M = function(G, y, Y) {
10198
- Be(s, Y.text, G, y + p / 2, c, {
10219
+ ve(s, Y.text, G, y + p / 2, c, {
10199
10220
  strikethrough: Y.hidden,
10200
10221
  textAlign: l.textAlign(Y.textAlign)
10201
10222
  });
@@ -10229,7 +10250,7 @@ class io extends Xt {
10229
10250
  const t = this.options, e = t.title, n = q(e.font), s = lt(e.padding);
10230
10251
  if (!e.display)
10231
10252
  return;
10232
- const o = Qe(t.rtl, this.left, this.width), a = this.ctx, r = e.position, l = n.size / 2, c = s.top + l;
10253
+ const o = Se(t.rtl, this.left, this.width), a = this.ctx, r = e.position, l = n.size / 2, c = s.top + l;
10233
10254
  let h, A = this.left, d = this.width;
10234
10255
  if (this.isHorizontal())
10235
10256
  d = Math.max(...this.lineWidths), h = this.top + c, A = ot(t.align, A, this.right - d);
@@ -10238,7 +10259,7 @@ class io extends Xt {
10238
10259
  h = c + ot(t.align, this.top, this.bottom - g - t.labels.padding - this._computeTitleHeight());
10239
10260
  }
10240
10261
  const u = ot(r, A, A + d);
10241
- a.textAlign = o.textAlign(Qn(r)), a.textBaseline = "middle", a.strokeStyle = e.color, a.fillStyle = e.color, a.font = n.string, Be(a, e.text, u, h, n);
10262
+ a.textAlign = o.textAlign(Qn(r)), a.textBaseline = "middle", a.strokeStyle = e.color, a.fillStyle = e.color, a.font = n.string, ve(a, e.text, u, h, n);
10242
10263
  }
10243
10264
  _computeTitleHeight() {
10244
10265
  const t = this.options.title, e = q(t.font), n = lt(t.padding);
@@ -10382,7 +10403,7 @@ var iu = {
10382
10403
  }
10383
10404
  }
10384
10405
  };
10385
- class Hn extends Xt {
10406
+ class Hn extends Jt {
10386
10407
  constructor(t) {
10387
10408
  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;
10388
10409
  }
@@ -10417,7 +10438,7 @@ class Hn extends Xt {
10417
10438
  if (!e.display)
10418
10439
  return;
10419
10440
  const n = q(e.font), o = n.lineHeight / 2 + this._padding.top, { titleX: a, titleY: r, maxWidth: l, rotation: c } = this._drawArgs(o);
10420
- Be(t, e.text, 0, 0, n, {
10441
+ ve(t, e.text, 0, 0, n, {
10421
10442
  color: e.color,
10422
10443
  maxWidth: l,
10423
10444
  rotation: c,
@@ -10472,7 +10493,7 @@ var su = {
10472
10493
  _indexable: !1
10473
10494
  }
10474
10495
  };
10475
- const vi = /* @__PURE__ */ new WeakMap();
10496
+ const Gi = /* @__PURE__ */ new WeakMap();
10476
10497
  var ou = {
10477
10498
  id: "subtitle",
10478
10499
  start(i, t, e) {
@@ -10481,13 +10502,13 @@ var ou = {
10481
10502
  options: e,
10482
10503
  chart: i
10483
10504
  });
10484
- rt.configure(i, n, e), rt.addBox(i, n), vi.set(i, n);
10505
+ rt.configure(i, n, e), rt.addBox(i, n), Gi.set(i, n);
10485
10506
  },
10486
10507
  stop(i) {
10487
- rt.removeBox(i, vi.get(i)), vi.delete(i);
10508
+ rt.removeBox(i, Gi.get(i)), Gi.delete(i);
10488
10509
  },
10489
10510
  beforeUpdate(i, t, e) {
10490
- const n = vi.get(i);
10511
+ const n = Gi.get(i);
10491
10512
  rt.configure(i, n, e), n.options = e;
10492
10513
  },
10493
10514
  defaults: {
@@ -10510,7 +10531,7 @@ var ou = {
10510
10531
  _indexable: !1
10511
10532
  }
10512
10533
  };
10513
- const Je = {
10534
+ const qe = {
10514
10535
  average(i) {
10515
10536
  if (!i.length)
10516
10537
  return !1;
@@ -10621,7 +10642,7 @@ function Au(i, t, e) {
10621
10642
  return t === "top" ? n += e : t === "bottom" ? n -= s + e : n -= s / 2, n;
10622
10643
  }
10623
10644
  function oo(i, t, e, n) {
10624
- const { caretSize: s, caretPadding: o, cornerRadius: a } = i, { xAlign: r, yAlign: l } = e, c = s + o, { topLeft: h, topRight: A, bottomLeft: d, bottomRight: u } = Me(a);
10645
+ const { caretSize: s, caretPadding: o, cornerRadius: a } = i, { xAlign: r, yAlign: l } = e, c = s + o, { topLeft: h, topRight: A, bottomLeft: d, bottomRight: u } = De(a);
10625
10646
  let g = hu(t, r);
10626
10647
  const f = Au(t, l, c);
10627
10648
  return l === "center" ? r === "left" ? g += c : r === "right" && (g -= c) : r === "left" ? g -= Math.max(h, d) + s : r === "right" && (g += Math.max(A, u) + s), {
@@ -10629,7 +10650,7 @@ function oo(i, t, e, n) {
10629
10650
  y: _(f, 0, n.height - t.height)
10630
10651
  };
10631
10652
  }
10632
- function Gi(i, t, e) {
10653
+ function yi(i, t, e) {
10633
10654
  const n = lt(e.padding);
10634
10655
  return t === "center" ? i.x + i.width / 2 : t === "right" ? i.x + i.width - n.right : i.x + n.left;
10635
10656
  }
@@ -10637,7 +10658,7 @@ function ao(i) {
10637
10658
  return Qt([], Vt(i));
10638
10659
  }
10639
10660
  function du(i, t, e) {
10640
- return ce(i, {
10661
+ return he(i, {
10641
10662
  tooltip: t,
10642
10663
  tooltipItems: e,
10643
10664
  type: "tooltip"
@@ -10703,8 +10724,8 @@ function dt(i, t, e, n) {
10703
10724
  const s = i[t].call(e, n);
10704
10725
  return typeof s > "u" ? Ya[t].call(e, n) : s;
10705
10726
  }
10706
- class lo extends Xt {
10707
- static positioners = Je;
10727
+ class lo extends Jt {
10728
+ static positioners = qe;
10708
10729
  constructor(t) {
10709
10730
  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;
10710
10731
  }
@@ -10766,7 +10787,7 @@ class lo extends Xt {
10766
10787
  opacity: 0
10767
10788
  });
10768
10789
  else {
10769
- const r = Je[n.position].call(this, s, this._eventPosition);
10790
+ const r = qe[n.position].call(this, s, this._eventPosition);
10770
10791
  a = this._createItems(n), this.title = this.getTitle(a, n), this.beforeBody = this.getBeforeBody(a, n), this.body = this.getBody(a, n), this.afterBody = this.getAfterBody(a, n), this.footer = this.getFooter(a, n);
10771
10792
  const l = this._size = no(this, n), c = Object.assign({}, r, l), h = so(this.chart, n, c), A = oo(n, c, h, this.chart);
10772
10793
  this.xAlign = h.xAlign, this.yAlign = h.yAlign, o = {
@@ -10790,7 +10811,7 @@ class lo extends Xt {
10790
10811
  e.lineTo(o.x1, o.y1), e.lineTo(o.x2, o.y2), e.lineTo(o.x3, o.y3);
10791
10812
  }
10792
10813
  getCaretPosition(t, e, n) {
10793
- const { xAlign: s, yAlign: o } = this, { caretSize: a, cornerRadius: r } = n, { topLeft: l, topRight: c, bottomLeft: h, bottomRight: A } = Me(r), { x: d, y: u } = t, { width: g, height: f } = e;
10814
+ const { xAlign: s, yAlign: o } = this, { caretSize: a, cornerRadius: r } = n, { topLeft: l, topRight: c, bottomLeft: h, bottomRight: A } = De(r), { x: d, y: u } = t, { width: g, height: f } = e;
10794
10815
  let p, w, M, v, B, x;
10795
10816
  return o === "center" ? (B = u + f / 2, s === "left" ? (p = d, w = p - a, v = B + a, x = B - a) : (p = d + g, w = p + a, v = B - a, x = B + a), M = p) : (s === "left" ? w = d + Math.max(l, h) + a : s === "right" ? w = d + g - Math.max(c, A) - a : w = this.caretX, o === "top" ? (v = u, B = v - a, p = w - a, M = w + a) : (v = u + f, B = v + a, p = w + a, M = w - a), x = v), {
10796
10817
  x1: p,
@@ -10805,13 +10826,13 @@ class lo extends Xt {
10805
10826
  const s = this.title, o = s.length;
10806
10827
  let a, r, l;
10807
10828
  if (o) {
10808
- const c = Qe(n.rtl, this.x, this.width);
10809
- for (t.x = Gi(this, n.titleAlign, n), e.textAlign = c.textAlign(n.titleAlign), e.textBaseline = "middle", a = q(n.titleFont), r = n.titleSpacing, e.fillStyle = n.titleColor, e.font = a.string, l = 0; l < o; ++l)
10829
+ const c = Se(n.rtl, this.x, this.width);
10830
+ for (t.x = yi(this, n.titleAlign, n), e.textAlign = c.textAlign(n.titleAlign), e.textBaseline = "middle", a = q(n.titleFont), r = n.titleSpacing, e.fillStyle = n.titleColor, e.font = a.string, l = 0; l < o; ++l)
10810
10831
  e.fillText(s[l], c.x(t.x), t.y + a.lineHeight / 2), t.y += a.lineHeight + r, l + 1 === o && (t.y += n.titleMarginBottom - r);
10811
10832
  }
10812
10833
  }
10813
10834
  _drawColorBox(t, e, n, s, o) {
10814
- const a = this.labelColors[n], r = this.labelPointStyles[n], { boxHeight: l, boxWidth: c } = o, h = q(o.bodyFont), A = Gi(this, "left", o), d = s.x(A), u = l < h.lineHeight ? (h.lineHeight - l) / 2 : 0, g = e.y + u;
10835
+ const a = this.labelColors[n], r = this.labelPointStyles[n], { boxHeight: l, boxWidth: c } = o, h = q(o.bodyFont), A = yi(this, "left", o), d = s.x(A), u = l < h.lineHeight ? (h.lineHeight - l) / 2 : 0, g = e.y + u;
10815
10836
  if (o.usePointStyle) {
10816
10837
  const f = {
10817
10838
  radius: Math.min(c, l) / 2,
@@ -10822,14 +10843,14 @@ class lo extends Xt {
10822
10843
  t.strokeStyle = o.multiKeyBackground, t.fillStyle = o.multiKeyBackground, mn(t, f, p, w), t.strokeStyle = a.borderColor, t.fillStyle = a.backgroundColor, mn(t, f, p, w);
10823
10844
  } else {
10824
10845
  t.lineWidth = P(a.borderWidth) ? Math.max(...Object.values(a.borderWidth)) : a.borderWidth || 1, t.strokeStyle = a.borderColor, t.setLineDash(a.borderDash || []), t.lineDashOffset = a.borderDashOffset || 0;
10825
- const f = s.leftForLtr(d, c), p = s.leftForLtr(s.xPlus(d, 1), c - 2), w = Me(a.borderRadius);
10826
- Object.values(w).some((M) => M !== 0) ? (t.beginPath(), t.fillStyle = o.multiKeyBackground, ri(t, {
10846
+ const f = s.leftForLtr(d, c), p = s.leftForLtr(s.xPlus(d, 1), c - 2), w = De(a.borderRadius);
10847
+ Object.values(w).some((M) => M !== 0) ? (t.beginPath(), t.fillStyle = o.multiKeyBackground, li(t, {
10827
10848
  x: f,
10828
10849
  y: g,
10829
10850
  w: c,
10830
10851
  h: l,
10831
10852
  radius: w
10832
- }), t.fill(), t.stroke(), t.fillStyle = a.backgroundColor, t.beginPath(), ri(t, {
10853
+ }), t.fill(), t.stroke(), t.fillStyle = a.backgroundColor, t.beginPath(), li(t, {
10833
10854
  x: p,
10834
10855
  y: g + 1,
10835
10856
  w: c - 2,
@@ -10842,11 +10863,11 @@ class lo extends Xt {
10842
10863
  drawBody(t, e, n) {
10843
10864
  const { body: s } = this, { bodySpacing: o, bodyAlign: a, displayColors: r, boxHeight: l, boxWidth: c, boxPadding: h } = n, A = q(n.bodyFont);
10844
10865
  let d = A.lineHeight, u = 0;
10845
- const g = Qe(n.rtl, this.x, this.width), f = function(Y) {
10866
+ const g = Se(n.rtl, this.x, this.width), f = function(Y) {
10846
10867
  e.fillText(Y, g.x(t.x + u), t.y + d / 2), t.y += d + o;
10847
10868
  }, p = g.textAlign(a);
10848
10869
  let w, M, v, B, x, G, y;
10849
- for (e.textAlign = a, e.textBaseline = "middle", e.font = A.string, t.x = Gi(this, p, n), e.fillStyle = n.bodyColor, O(this.beforeBody, f), u = r && p !== "right" ? a === "center" ? c / 2 + h : c + 2 + h : 0, B = 0, G = s.length; B < G; ++B) {
10870
+ for (e.textAlign = a, e.textBaseline = "middle", e.font = A.string, t.x = yi(this, p, n), e.fillStyle = n.bodyColor, O(this.beforeBody, f), u = r && p !== "right" ? a === "center" ? c / 2 + h : c + 2 + h : 0, B = 0, G = s.length; B < G; ++B) {
10850
10871
  for (w = s[B], M = this.labelTextColors[B], e.fillStyle = M, O(w.before, f), v = w.lines, r && v.length && (this._drawColorBox(e, t, B, g, n), d = Math.max(A.lineHeight, l)), x = 0, y = v.length; x < y; ++x)
10851
10872
  f(v[x]), d = A.lineHeight;
10852
10873
  O(w.after, f);
@@ -10857,19 +10878,19 @@ class lo extends Xt {
10857
10878
  const s = this.footer, o = s.length;
10858
10879
  let a, r;
10859
10880
  if (o) {
10860
- const l = Qe(n.rtl, this.x, this.width);
10861
- for (t.x = Gi(this, n.footerAlign, n), t.y += n.footerMarginTop, e.textAlign = l.textAlign(n.footerAlign), e.textBaseline = "middle", a = q(n.footerFont), e.fillStyle = n.footerColor, e.font = a.string, r = 0; r < o; ++r)
10881
+ const l = Se(n.rtl, this.x, this.width);
10882
+ for (t.x = yi(this, n.footerAlign, n), t.y += n.footerMarginTop, e.textAlign = l.textAlign(n.footerAlign), e.textBaseline = "middle", a = q(n.footerFont), e.fillStyle = n.footerColor, e.font = a.string, r = 0; r < o; ++r)
10862
10883
  e.fillText(s[r], l.x(t.x), t.y + a.lineHeight / 2), t.y += a.lineHeight + n.footerSpacing;
10863
10884
  }
10864
10885
  }
10865
10886
  drawBackground(t, e, n, s) {
10866
- const { xAlign: o, yAlign: a } = this, { x: r, y: l } = t, { width: c, height: h } = n, { topLeft: A, topRight: d, bottomLeft: u, bottomRight: g } = Me(s.cornerRadius);
10887
+ const { xAlign: o, yAlign: a } = this, { x: r, y: l } = t, { width: c, height: h } = n, { topLeft: A, topRight: d, bottomLeft: u, bottomRight: g } = De(s.cornerRadius);
10867
10888
  e.fillStyle = s.backgroundColor, e.strokeStyle = s.borderColor, e.lineWidth = s.borderWidth, e.beginPath(), e.moveTo(r + A, l), a === "top" && this.drawCaret(t, e, n, s), e.lineTo(r + c - d, l), e.quadraticCurveTo(r + c, l, r + c, l + d), a === "center" && o === "right" && this.drawCaret(t, e, n, s), e.lineTo(r + c, l + h - g), e.quadraticCurveTo(r + c, l + h, r + c - g, l + h), a === "bottom" && this.drawCaret(t, e, n, s), e.lineTo(r + u, l + h), e.quadraticCurveTo(r, l + h, r, l + h - u), a === "center" && o === "left" && this.drawCaret(t, e, n, s), e.lineTo(r, l + A), e.quadraticCurveTo(r, l, r + A, l), e.closePath(), e.fill(), s.borderWidth > 0 && e.stroke();
10868
10889
  }
10869
10890
  _updateAnimationTarget(t) {
10870
10891
  const e = this.chart, n = this.$animations, s = n && n.x, o = n && n.y;
10871
10892
  if (s || o) {
10872
- const a = Je[t.position].call(this, this._active, this._eventPosition);
10893
+ const a = qe[t.position].call(this, this._active, this._eventPosition);
10873
10894
  if (!a)
10874
10895
  return;
10875
10896
  const r = this._size = no(this, t), l = Object.assign({}, a, this._size), c = so(e, t, l), h = oo(t, l, c, e);
@@ -10909,14 +10930,14 @@ class lo extends Xt {
10909
10930
  element: c.data[l],
10910
10931
  index: l
10911
10932
  };
10912
- }), o = !ki(n, s), a = this._positionChanged(s, e);
10933
+ }), o = !Qi(n, s), a = this._positionChanged(s, e);
10913
10934
  (o || a) && (this._active = s, this._eventPosition = e, this._ignoreReplayEvents = !0, this.update(!0));
10914
10935
  }
10915
10936
  handleEvent(t, e, n = !0) {
10916
10937
  if (e && this._ignoreReplayEvents)
10917
10938
  return !1;
10918
10939
  this._ignoreReplayEvents = !1;
10919
- const s = this.options, o = this._active || [], a = this._getActiveElements(t, o, e, n), r = this._positionChanged(a, t), l = e || !ki(a, o) || r;
10940
+ const s = this.options, o = this._active || [], a = this._getActiveElements(t, o, e, n), r = this._positionChanged(a, t), l = e || !Qi(a, o) || r;
10920
10941
  return l && (this._active = a, (s.enabled || s.external) && (this._eventPosition = {
10921
10942
  x: t.x,
10922
10943
  y: t.y
@@ -10932,14 +10953,14 @@ class lo extends Xt {
10932
10953
  return o.reverse && a.reverse(), a;
10933
10954
  }
10934
10955
  _positionChanged(t, e) {
10935
- const { caretX: n, caretY: s, options: o } = this, a = Je[o.position].call(this, t, e);
10956
+ const { caretX: n, caretY: s, options: o } = this, a = qe[o.position].call(this, t, e);
10936
10957
  return a !== !1 && (n !== a.x || s !== a.y);
10937
10958
  }
10938
10959
  }
10939
10960
  var uu = {
10940
10961
  id: "tooltip",
10941
10962
  _element: lo,
10942
- positioners: Je,
10963
+ positioners: qe,
10943
10964
  afterInit(i, t, e) {
10944
10965
  e && (i.tooltip = new lo({
10945
10966
  chart: i,
@@ -11077,7 +11098,7 @@ function co(i) {
11077
11098
  const t = this.getLabels();
11078
11099
  return i >= 0 && i < t.length ? t[i] : i;
11079
11100
  }
11080
- class mu extends ye {
11101
+ class mu extends Ce {
11081
11102
  static id = "category";
11082
11103
  static defaults = {
11083
11104
  ticks: {
@@ -11150,13 +11171,13 @@ function bu(i, t) {
11150
11171
  value: p
11151
11172
  }
11152
11173
  ];
11153
- C = Math.ceil(p / x) - Math.floor(f / x), C > g && (x = ns(C * x / g / u) * u), Q(l) || (G = Math.pow(10, l), x = Math.ceil(x * G) / G), s === "ticks" ? (y = Math.floor(f / x) * x, Y = Math.ceil(p / x) * x) : (y = f, Y = p), w && M && o && ec((r - a) / o, x / 1e3) ? (C = Math.round(Math.min((r - a) / x, h)), x = (r - a) / C, y = a, Y = r) : v ? (y = w ? a : y, Y = M ? r : Y, C = c - 1, x = (Y - y) / C) : (C = (Y - y) / x, _e(C, Math.round(C), x / 1e3) ? C = Math.round(C) : C = Math.ceil(C));
11174
+ C = Math.ceil(p / x) - Math.floor(f / x), C > g && (x = ns(C * x / g / u) * u), Q(l) || (G = Math.pow(10, l), x = Math.ceil(x * G) / G), s === "ticks" ? (y = Math.floor(f / x) * x, Y = Math.ceil(p / x) * x) : (y = f, Y = p), w && M && o && ec((r - a) / o, x / 1e3) ? (C = Math.round(Math.min((r - a) / x, h)), x = (r - a) / C, y = a, Y = r) : v ? (y = w ? a : y, Y = M ? r : Y, C = c - 1, x = (Y - y) / C) : (C = (Y - y) / x, $e(C, Math.round(C), x / 1e3) ? C = Math.round(C) : C = Math.ceil(C));
11154
11175
  const E = Math.max(ss(x), ss(y));
11155
11176
  G = Math.pow(10, Q(l) ? E : l), y = Math.round(y * G) / G, Y = Math.round(Y * G) / G;
11156
11177
  let k = 0;
11157
11178
  for (w && (d && y !== a ? (e.push({
11158
11179
  value: a
11159
- }), y < a && k++, _e(Math.round((y + k * x) * G) / G, a, ho(a, B, i)) && k++) : y < a && k++); k < C; ++k) {
11180
+ }), y < a && k++, $e(Math.round((y + k * x) * G) / G, a, ho(a, B, i)) && k++) : y < a && k++); k < C; ++k) {
11160
11181
  const S = Math.round((y + k * x) * G) / G;
11161
11182
  if (M && S > r)
11162
11183
  break;
@@ -11164,7 +11185,7 @@ function bu(i, t) {
11164
11185
  value: S
11165
11186
  });
11166
11187
  }
11167
- return M && d && Y !== r ? e.length && _e(e[e.length - 1].value, r, ho(r, B, i)) ? e[e.length - 1].value = r : e.push({
11188
+ return M && d && Y !== r ? e.length && $e(e[e.length - 1].value, r, ho(r, B, i)) ? e[e.length - 1].value = r : e.push({
11168
11189
  value: r
11169
11190
  }) : (!M || Y === r) && e.push({
11170
11191
  value: Y
@@ -11174,7 +11195,7 @@ function ho(i, t, { horizontal: e, minRotation: n }) {
11174
11195
  const s = Bt(n), o = (e ? Math.sin(s) : Math.cos(s)) || 1e-3, a = 0.75 * t * ("" + i).length;
11175
11196
  return Math.min(t / o, a);
11176
11197
  }
11177
- class Oi extends ye {
11198
+ class Ri extends Ce {
11178
11199
  constructor(t) {
11179
11200
  super(t), this.start = void 0, this.end = void 0, this._startValue = void 0, this._endValue = void 0, this._valueRange = 0;
11180
11201
  }
@@ -11232,10 +11253,10 @@ class Oi extends ye {
11232
11253
  this._startValue = e, this._endValue = n, this._valueRange = n - e;
11233
11254
  }
11234
11255
  getLabelForValue(t) {
11235
- return Ai(t, this.chart.options.locale, this.options.ticks.format);
11256
+ return di(t, this.chart.options.locale, this.options.ticks.format);
11236
11257
  }
11237
11258
  }
11238
- class Mu extends Oi {
11259
+ class Mu extends Ri {
11239
11260
  static id = "linear";
11240
11261
  static defaults = {
11241
11262
  ticks: {
@@ -11257,9 +11278,9 @@ class Mu extends Oi {
11257
11278
  return this._startValue + this.getDecimalForPixel(t) * this._valueRange;
11258
11279
  }
11259
11280
  }
11260
- const ci = (i) => Math.floor($t(i)), we = (i, t) => Math.pow(10, ci(i) + t);
11281
+ const hi = (i) => Math.floor(te(i)), me = (i, t) => Math.pow(10, hi(i) + t);
11261
11282
  function Ao(i) {
11262
- return i / Math.pow(10, ci(i)) === 1;
11283
+ return i / Math.pow(10, hi(i)) === 1;
11263
11284
  }
11264
11285
  function uo(i, t, e) {
11265
11286
  const n = Math.pow(10, e), s = Math.floor(i / n);
@@ -11267,16 +11288,16 @@ function uo(i, t, e) {
11267
11288
  }
11268
11289
  function Du(i, t) {
11269
11290
  const e = t - i;
11270
- let n = ci(e);
11291
+ let n = hi(e);
11271
11292
  for (; uo(i, t, n) > 10; )
11272
11293
  n++;
11273
11294
  for (; uo(i, t, n) < 10; )
11274
11295
  n--;
11275
- return Math.min(n, ci(i));
11296
+ return Math.min(n, hi(i));
11276
11297
  }
11277
11298
  function xu(i, { min: t, max: e }) {
11278
11299
  t = pt(i.min, t);
11279
- const n = [], s = ci(t);
11300
+ const n = [], s = hi(t);
11280
11301
  let o = Du(t, e), a = o < 0 ? Math.pow(10, Math.abs(o)) : 1;
11281
11302
  const r = Math.pow(10, o), l = s > o ? Math.pow(10, s) : 0, c = Math.round((t - l) * a) / a, h = Math.floor((t - l) / r / 10) * r * 10;
11282
11303
  let A = Math.floor((c - h) / Math.pow(10, o)), d = pt(i.min, Math.round((l + h + A * Math.pow(10, o)) * a) / a);
@@ -11293,7 +11314,7 @@ function xu(i, { min: t, max: e }) {
11293
11314
  significand: A
11294
11315
  }), n;
11295
11316
  }
11296
- class Bu extends ye {
11317
+ class Bu extends Ce {
11297
11318
  static id = "logarithmic";
11298
11319
  static defaults = {
11299
11320
  ticks: {
@@ -11307,7 +11328,7 @@ class Bu extends ye {
11307
11328
  super(t), this.start = void 0, this.end = void 0, this._startValue = void 0, this._valueRange = 0;
11308
11329
  }
11309
11330
  parse(t, e) {
11310
- const n = Oi.prototype.parse.apply(this, [
11331
+ const n = Ri.prototype.parse.apply(this, [
11311
11332
  t,
11312
11333
  e
11313
11334
  ]);
@@ -11319,13 +11340,13 @@ class Bu extends ye {
11319
11340
  }
11320
11341
  determineDataLimits() {
11321
11342
  const { min: t, max: e } = this.getMinMax(!0);
11322
- this.min = K(t) ? Math.max(0, t) : null, this.max = K(e) ? Math.max(0, e) : null, this.options.beginAtZero && (this._zero = !0), this._zero && this.min !== this._suggestedMin && !K(this._userMin) && (this.min = t === we(this.min, 0) ? we(this.min, -1) : we(this.min, 0)), this.handleTickRangeOptions();
11343
+ this.min = K(t) ? Math.max(0, t) : null, this.max = K(e) ? Math.max(0, e) : null, this.options.beginAtZero && (this._zero = !0), this._zero && this.min !== this._suggestedMin && !K(this._userMin) && (this.min = t === me(this.min, 0) ? me(this.min, -1) : me(this.min, 0)), this.handleTickRangeOptions();
11323
11344
  }
11324
11345
  handleTickRangeOptions() {
11325
11346
  const { minDefined: t, maxDefined: e } = this.getUserBounds();
11326
11347
  let n = this.min, s = this.max;
11327
11348
  const o = (r) => n = t ? n : r, a = (r) => s = e ? s : r;
11328
- n === s && (n <= 0 ? (o(1), a(10)) : (o(we(n, -1)), a(we(s, 1)))), n <= 0 && o(we(s, -1)), s <= 0 && a(we(n, 1)), this.min = n, this.max = s;
11349
+ n === s && (n <= 0 ? (o(1), a(10)) : (o(me(n, -1)), a(me(s, 1)))), n <= 0 && o(me(s, -1)), s <= 0 && a(me(n, 1)), this.min = n, this.max = s;
11329
11350
  }
11330
11351
  buildTicks() {
11331
11352
  const t = this.options, e = {
@@ -11335,14 +11356,14 @@ class Bu extends ye {
11335
11356
  return t.bounds === "ticks" && To(n, this, "value"), t.reverse ? (n.reverse(), this.start = this.max, this.end = this.min) : (this.start = this.min, this.end = this.max), n;
11336
11357
  }
11337
11358
  getLabelForValue(t) {
11338
- return t === void 0 ? "0" : Ai(t, this.chart.options.locale, this.options.ticks.format);
11359
+ return t === void 0 ? "0" : di(t, this.chart.options.locale, this.options.ticks.format);
11339
11360
  }
11340
11361
  configure() {
11341
11362
  const t = this.min;
11342
- super.configure(), this._startValue = $t(t), this._valueRange = $t(this.max) - $t(t);
11363
+ super.configure(), this._startValue = te(t), this._valueRange = te(this.max) - te(t);
11343
11364
  }
11344
11365
  getPixelForValue(t) {
11345
- return (t === void 0 || t === 0) && (t = this.min), t === null || isNaN(t) ? NaN : this.getPixelForDecimal(t === this.min ? 0 : ($t(t) - this._startValue) / this._valueRange);
11366
+ return (t === void 0 || t === 0) && (t = this.min), t === null || isNaN(t) ? NaN : this.getPixelForDecimal(t === this.min ? 0 : (te(t) - this._startValue) / this._valueRange);
11346
11367
  }
11347
11368
  getValueForPixel(t) {
11348
11369
  const e = this.getDecimalForPixel(t);
@@ -11455,10 +11476,10 @@ function Qu(i, t, e) {
11455
11476
  function Pu(i, t, e) {
11456
11477
  const { left: n, top: s, right: o, bottom: a } = e, { backdropColor: r } = t;
11457
11478
  if (!Q(r)) {
11458
- const l = Me(t.borderRadius), c = lt(t.backdropPadding);
11479
+ const l = De(t.borderRadius), c = lt(t.backdropPadding);
11459
11480
  i.fillStyle = r;
11460
11481
  const h = n - c.left, A = s - c.top, d = o - n + c.width, u = a - s + c.height;
11461
- Object.values(l).some((g) => g !== 0) ? (i.beginPath(), ri(i, {
11482
+ Object.values(l).some((g) => g !== 0) ? (i.beginPath(), li(i, {
11462
11483
  x: h,
11463
11484
  y: A,
11464
11485
  w: d,
@@ -11476,7 +11497,7 @@ function Su(i, t) {
11476
11497
  const a = n.setContext(i.getPointLabelContext(s));
11477
11498
  Pu(e, a, o);
11478
11499
  const r = q(a.font), { x: l, y: c, textAlign: h } = o;
11479
- Be(e, i._pointLabels[s], l, c + r.lineHeight / 2, r, {
11500
+ ve(e, i._pointLabels[s], l, c + r.lineHeight / 2, r, {
11480
11501
  color: a.color,
11481
11502
  textAlign: h,
11482
11503
  textBaseline: "middle"
@@ -11499,13 +11520,13 @@ function Lu(i, t, e, n, s) {
11499
11520
  !a && !n || !r || !l || e < 0 || (o.save(), o.strokeStyle = r, o.lineWidth = l, o.setLineDash(s.dash || []), o.lineDashOffset = s.dashOffset, o.beginPath(), Ca(i, e, a, n), o.closePath(), o.stroke(), o.restore());
11500
11521
  }
11501
11522
  function Tu(i, t, e) {
11502
- return ce(i, {
11523
+ return he(i, {
11503
11524
  label: e,
11504
11525
  index: t,
11505
11526
  type: "pointLabel"
11506
11527
  });
11507
11528
  }
11508
- class zu extends Oi {
11529
+ class zu extends Ri {
11509
11530
  static id = "radialLinear";
11510
11531
  static defaults = {
11511
11532
  display: !0,
@@ -11564,7 +11585,7 @@ class zu extends Oi {
11564
11585
  return Math.ceil(this.drawingArea / vn(this.options));
11565
11586
  }
11566
11587
  generateTickLabels(t) {
11567
- Oi.prototype.generateTickLabels.call(this, t), this._pointLabels = this.getLabels().map((e, n) => {
11588
+ Ri.prototype.generateTickLabels.call(this, t), this._pointLabels = this.getLabels().map((e, n) => {
11568
11589
  const s = N(this.options.pointLabels.callback, [
11569
11590
  e,
11570
11591
  n
@@ -11666,7 +11687,7 @@ class zu extends Oi {
11666
11687
  const A = lt(c.backdropPadding);
11667
11688
  t.fillRect(-a / 2 - A.left, -o - h.size / 2 - A.top, a + A.width, h.size + A.height);
11668
11689
  }
11669
- Be(t, r.label, 0, -o, h, {
11690
+ ve(t, r.label, 0, -o, h, {
11670
11691
  color: c.color,
11671
11692
  strokeColor: c.textStrokeColor,
11672
11693
  strokeWidth: c.textStrokeWidth
@@ -11730,7 +11751,7 @@ function po(i, t) {
11730
11751
  return null;
11731
11752
  const e = i._adapter, { parser: n, round: s, isoWeekday: o } = i._parseOpts;
11732
11753
  let a = t;
11733
- return typeof n == "function" && (a = n(a)), K(a) || (a = typeof n == "string" ? e.parse(a, n) : e.parse(a)), a === null ? null : (s && (a = s === "week" && (Se(o) || o === !0) ? e.startOf(a, "isoWeek", o) : e.startOf(a, s)), +a);
11754
+ return typeof n == "function" && (a = n(a)), K(a) || (a = typeof n == "string" ? e.parse(a, n) : e.parse(a)), a === null ? null : (s && (a = s === "week" && (Le(o) || o === !0) ? e.startOf(a, "isoWeek", o) : e.startOf(a, s)), +a);
11734
11755
  }
11735
11756
  function wo(i, t, e, n) {
11736
11757
  const s = ut.length;
@@ -11779,7 +11800,7 @@ function bo(i, t, e) {
11779
11800
  });
11780
11801
  return o === 0 || !e ? n : ju(i, n, s, e);
11781
11802
  }
11782
- class Gn extends ye {
11803
+ class Gn extends Ce {
11783
11804
  static id = "time";
11784
11805
  static defaults = {
11785
11806
  bounds: "data",
@@ -11809,7 +11830,7 @@ class Gn extends ye {
11809
11830
  }
11810
11831
  init(t, e = {}) {
11811
11832
  const n = t.time || (t.time = {}), s = this._adapter = new Nh._date(t.adapters.date);
11812
- s.init(e), qe(n.displayFormats, s.formats()), this._parseOpts = {
11833
+ s.init(e), _e(n.displayFormats, s.formats()), this._parseOpts = {
11813
11834
  parser: n.parser,
11814
11835
  round: n.round,
11815
11836
  isoWeekday: n.isoWeekday
@@ -11861,7 +11882,7 @@ class Gn extends ye {
11861
11882
  };
11862
11883
  }
11863
11884
  _generate() {
11864
- const t = this._adapter, e = this.min, n = this.max, s = this.options, o = s.time, a = o.unit || wo(o.minUnit, e, n, this._getLabelCapacity(e)), r = I(s.ticks.stepSize, 1), l = a === "week" ? o.isoWeekday : !1, c = Se(l) || l === !0, h = {};
11885
+ const t = this._adapter, e = this.min, n = this.max, s = this.options, o = s.time, a = o.unit || wo(o.minUnit, e, n, this._getLabelCapacity(e)), r = I(s.ticks.stepSize, 1), l = a === "week" ? o.isoWeekday : !1, c = Le(l) || l === !0, h = {};
11865
11886
  let A = e, d, u;
11866
11887
  if (c && (A = +t.startOf(A, "isoWeek", l)), A = +t.startOf(A, c ? "day" : a), t.diff(n, e, a) > 1e5 * r)
11867
11888
  throw new Error(e + " and " + n + " are too far apart with stepSize of " + r + " " + a);
@@ -11943,7 +11964,7 @@ class Gn extends ye {
11943
11964
  return Ro(t.sort(fo));
11944
11965
  }
11945
11966
  }
11946
- function yi(i, t, e) {
11967
+ function Yi(i, t, e) {
11947
11968
  let n = 0, s = i.length - 1, o, a, r, l;
11948
11969
  e ? (t >= i[n].pos && t <= i[s].pos && ({ lo: n, hi: s } = Wt(i, "pos", t)), { pos: o, time: r } = i[n], { pos: a, time: l } = i[s]) : (t >= i[n].time && t <= i[s].time && ({ lo: n, hi: s } = Wt(i, "time", t)), { time: o, pos: r } = i[n], { time: a, pos: l } = i[s]);
11949
11970
  const c = a - o;
@@ -11957,7 +11978,7 @@ class Nu extends Gn {
11957
11978
  }
11958
11979
  initOffsets() {
11959
11980
  const t = this._getTimestampsForTable(), e = this._table = this.buildLookupTable(t);
11960
- this._minPos = yi(e, this.min), this._tableRange = yi(e, this.max) - this._minPos, super.initOffsets(t);
11981
+ this._minPos = Yi(e, this.min), this._tableRange = Yi(e, this.max) - this._minPos, super.initOffsets(t);
11961
11982
  }
11962
11983
  buildLookupTable(t) {
11963
11984
  const { min: e, max: n } = this, s = [], o = [];
@@ -11995,11 +12016,11 @@ class Nu extends Gn {
11995
12016
  return e.length && n.length ? t = this.normalize(e.concat(n)) : t = e.length ? e : n, t = this._cache.all = t, t;
11996
12017
  }
11997
12018
  getDecimalForValue(t) {
11998
- return (yi(this._table, t) - this._minPos) / this._tableRange;
12019
+ return (Yi(this._table, t) - this._minPos) / this._tableRange;
11999
12020
  }
12000
12021
  getValueForPixel(t) {
12001
12022
  const e = this._offsets, n = this.getDecimalForPixel(t) / e.factor - e.end;
12002
- return yi(this._table, n * this._tableRange + this._minPos, !0);
12023
+ return Yi(this._table, n * this._tableRange + this._minPos, !0);
12003
12024
  }
12004
12025
  }
12005
12026
  var Vu = /* @__PURE__ */ Object.freeze({
@@ -12018,7 +12039,7 @@ const Hu = [
12018
12039
  Vu
12019
12040
  ];
12020
12041
  Vn.register(...Hu);
12021
- var Fu = Object.defineProperty, Wu = Object.getOwnPropertyDescriptor, Jt = (i, t, e, n) => {
12042
+ var Fu = Object.defineProperty, Wu = Object.getOwnPropertyDescriptor, qt = (i, t, e, n) => {
12022
12043
  for (var s = n > 1 ? void 0 : n ? Wu(t, e) : t, o = i.length - 1, a; o >= 0; o--)
12023
12044
  (a = i[o]) && (s = (n ? a(t, e, s) : a(s)) || s);
12024
12045
  return n && s && Fu(t, e, s), s;
@@ -12060,31 +12081,31 @@ let Ct = class extends Z {
12060
12081
  }
12061
12082
  };
12062
12083
  Ct.styles = [nt, bl, Ml, Dl];
12063
- Jt([
12084
+ qt([
12064
12085
  b({ attribute: "chart-title" })
12065
12086
  ], Ct.prototype, "chartTitle", 2);
12066
- Jt([
12087
+ qt([
12067
12088
  b({ attribute: "chart-type" })
12068
12089
  ], Ct.prototype, "chartType", 2);
12069
- Jt([
12090
+ qt([
12070
12091
  b({ attribute: "chart-labels", type: Array })
12071
12092
  ], Ct.prototype, "chartLabels", 2);
12072
- Jt([
12093
+ qt([
12073
12094
  b({ attribute: "chart-datasets", type: Array })
12074
12095
  ], Ct.prototype, "chartDataSets", 2);
12075
- Jt([
12096
+ qt([
12076
12097
  b({ attribute: "chart-options", type: Object })
12077
12098
  ], Ct.prototype, "chartOptions", 2);
12078
- Jt([
12099
+ qt([
12079
12100
  b({ attribute: "is-loading", type: Number })
12080
12101
  ], Ct.prototype, "isLoading", 2);
12081
- Jt([
12102
+ qt([
12082
12103
  mt("#chart-canvas")
12083
12104
  ], Ct.prototype, "_chartCanvas", 2);
12084
- Jt([
12105
+ qt([
12085
12106
  R()
12086
12107
  ], Ct.prototype, "_chart", 2);
12087
- Ct = Jt([
12108
+ Ct = qt([
12088
12109
  U("genus-chart")
12089
12110
  ], Ct);
12090
12111
  const Zu = D`
@@ -13187,7 +13208,7 @@ var fg = Object.defineProperty, pg = Object.getOwnPropertyDescriptor, Ki = (i, t
13187
13208
  (a = i[o]) && (s = (n ? a(t, e, s) : a(s)) || s);
13188
13209
  return n && s && fg(t, e, s), s;
13189
13210
  };
13190
- let ze = class extends Z {
13211
+ let Oe = class extends Z {
13191
13212
  constructor() {
13192
13213
  super(...arguments), this.toastMessage = "", this.toastType = "info", this.showToast = !1, this.setToastVisibility = () => {
13193
13214
  this.showToast && (this.showToast = !this.showToast);
@@ -13205,19 +13226,19 @@ let ze = class extends Z {
13205
13226
  `;
13206
13227
  }
13207
13228
  };
13208
- ze.styles = [rg, lg, hg, cg, Ag];
13229
+ Oe.styles = [rg, lg, hg, cg, Ag];
13209
13230
  Ki([
13210
13231
  b({ attribute: "toast-message" })
13211
- ], ze.prototype, "toastMessage", 2);
13232
+ ], Oe.prototype, "toastMessage", 2);
13212
13233
  Ki([
13213
13234
  b({ attribute: "toast-type" })
13214
- ], ze.prototype, "toastType", 2);
13235
+ ], Oe.prototype, "toastType", 2);
13215
13236
  Ki([
13216
13237
  b({ type: Boolean, attribute: "show-toast" })
13217
- ], ze.prototype, "showToast", 2);
13218
- ze = Ki([
13238
+ ], Oe.prototype, "showToast", 2);
13239
+ Oe = Ki([
13219
13240
  U("genus-toast-message")
13220
- ], ze);
13241
+ ], Oe);
13221
13242
  const wg = D`
13222
13243
  *
13223
13244
  {
@@ -13454,7 +13475,7 @@ const wg = D`
13454
13475
  border-radius: var(--image-border-radius);
13455
13476
  }
13456
13477
  `;
13457
- var xg = Object.defineProperty, Bg = Object.getOwnPropertyDescriptor, qt = (i, t, e, n) => {
13478
+ var xg = Object.defineProperty, Bg = Object.getOwnPropertyDescriptor, _t = (i, t, e, n) => {
13458
13479
  for (var s = n > 1 ? void 0 : n ? Bg(t, e) : t, o = i.length - 1, a; o >= 0; o--)
13459
13480
  (a = i[o]) && (s = (n ? a(t, e, s) : a(s)) || s);
13460
13481
  return n && s && xg(t, e, s), s;
@@ -13519,31 +13540,31 @@ let It = class extends Z {
13519
13540
  }
13520
13541
  };
13521
13542
  It.styles = [nt, wg, mg, bg, Mg, Dg];
13522
- qt([
13543
+ _t([
13523
13544
  b({ attribute: "data-header" })
13524
13545
  ], It.prototype, "dataHeader", 2);
13525
- qt([
13546
+ _t([
13526
13547
  b({ attribute: "data-text" })
13527
13548
  ], It.prototype, "dataText", 2);
13528
- qt([
13549
+ _t([
13529
13550
  b({ attribute: "data-item-icon" })
13530
13551
  ], It.prototype, "dataItemIcon", 2);
13531
- qt([
13552
+ _t([
13532
13553
  b({ attribute: "layout-direction" })
13533
13554
  ], It.prototype, "dataItemLayoutDirection", 2);
13534
- qt([
13555
+ _t([
13535
13556
  b({ type: Boolean, attribute: "without-icon" })
13536
13557
  ], It.prototype, "withoutIcon", 2);
13537
- qt([
13558
+ _t([
13538
13559
  b({ type: Boolean, attribute: "without-action" })
13539
13560
  ], It.prototype, "withoutAction", 2);
13540
- qt([
13561
+ _t([
13541
13562
  b({ type: Boolean, attribute: "without-icon-action" })
13542
13563
  ], It.prototype, "withoutIconandAction", 2);
13543
- qt([
13564
+ _t([
13544
13565
  b({ attribute: "is-loading", type: Number })
13545
13566
  ], It.prototype, "isLoading", 2);
13546
- It = qt([
13567
+ It = _t([
13547
13568
  U("genus-data-list-item")
13548
13569
  ], It);
13549
13570
  const vg = D`
@@ -13606,7 +13627,7 @@ const vg = D`
13606
13627
  .upload-label:hover { cursor: pointer; }
13607
13628
  `, Cg = D`
13608
13629
  input[type='file'] { display: none; }
13609
- `, Yi = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='24px'%20height='24px'%20viewBox='0%200%2024%2024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eIconly/Bold/Upload%3c/title%3e%3cg%20id='Iconly/Bold/Upload'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Upload'%20transform='translate(2.000000,%202.000000)'%20fill='%23002a38'%20fill-rule='nonzero'%3e%3cpath%20d='M1.77635684e-15,11.2874674%20C1.77635684e-15,8.87583953%201.8779102,6.89627143%204.23116222,6.78512193%20L4.44,6.7802%20L9.23,6.7802%20L9.23,12.8848512%20C9.23,13.3223512%209.57,13.6682814%2010,13.6682814%20C10.385,13.6682814%2010.7111806,13.3776039%2010.7628704,12.9921713%20L10.77,12.8848512%20L10.77,6.7802%20L15.55,6.7802%20C17.93,6.7802%2019.8853469,8.69086445%2019.9951382,11.0944886%20L20,11.3078163%20L20,16.2627581%20C20,18.6842698%2018.1220898,20.6641203%2015.7688378,20.7752778%20L15.56,20.7802%20L4.45,20.7802%20C2.06028571,20.7802%200.114097959,18.8599342%200.00483801749,16.4650885%20L1.77635684e-15,16.2525837%20L1.77635684e-15,11.2874674%20Z%20M6.5502,4.24%20C6.26838182,3.96727273%206.24276198,3.53752066%206.46582735,3.23624343%20L6.5402,3.15%20L9.4502,0.23%20C9.6002,0.08%209.7902,-1.42108547e-14%2010.0002,-1.42108547e-14%20C10.1602,-1.42108547e-14%2010.3202,0.0512%2010.44948,0.14848%20L10.5402,0.23%20L13.4502,3.15%20C13.6002,3.3%2013.6802,3.5%2013.6802,3.69%20C13.6802,3.89%2013.6002,4.09%2013.4502,4.24%20C13.1774727,4.51272727%2012.7477207,4.53752066%2012.4464434,4.31438017%20L12.3602,4.24%20L10.7702,2.64%20L10.7702,6.78%20L9.2302,6.78%20L9.2302,2.64%20L7.6402,4.24%20C7.3402,4.54%206.8502,4.54%206.5502,4.24%20Z'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
13630
+ `, Ci = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='24px'%20height='24px'%20viewBox='0%200%2024%2024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eIconly/Bold/Upload%3c/title%3e%3cg%20id='Iconly/Bold/Upload'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Upload'%20transform='translate(2.000000,%202.000000)'%20fill='%23002a38'%20fill-rule='nonzero'%3e%3cpath%20d='M1.77635684e-15,11.2874674%20C1.77635684e-15,8.87583953%201.8779102,6.89627143%204.23116222,6.78512193%20L4.44,6.7802%20L9.23,6.7802%20L9.23,12.8848512%20C9.23,13.3223512%209.57,13.6682814%2010,13.6682814%20C10.385,13.6682814%2010.7111806,13.3776039%2010.7628704,12.9921713%20L10.77,12.8848512%20L10.77,6.7802%20L15.55,6.7802%20C17.93,6.7802%2019.8853469,8.69086445%2019.9951382,11.0944886%20L20,11.3078163%20L20,16.2627581%20C20,18.6842698%2018.1220898,20.6641203%2015.7688378,20.7752778%20L15.56,20.7802%20L4.45,20.7802%20C2.06028571,20.7802%200.114097959,18.8599342%200.00483801749,16.4650885%20L1.77635684e-15,16.2525837%20L1.77635684e-15,11.2874674%20Z%20M6.5502,4.24%20C6.26838182,3.96727273%206.24276198,3.53752066%206.46582735,3.23624343%20L6.5402,3.15%20L9.4502,0.23%20C9.6002,0.08%209.7902,-1.42108547e-14%2010.0002,-1.42108547e-14%20C10.1602,-1.42108547e-14%2010.3202,0.0512%2010.44948,0.14848%20L10.5402,0.23%20L13.4502,3.15%20C13.6002,3.3%2013.6802,3.5%2013.6802,3.69%20C13.6802,3.89%2013.6002,4.09%2013.4502,4.24%20C13.1774727,4.51272727%2012.7477207,4.53752066%2012.4464434,4.31438017%20L12.3602,4.24%20L10.7702,2.64%20L10.7702,6.78%20L9.2302,6.78%20L9.2302,2.64%20L7.6402,4.24%20C7.3402,4.54%206.8502,4.54%206.5502,4.24%20Z'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
13610
13631
  var Ig = Object.defineProperty, Eg = Object.getOwnPropertyDescriptor, zt = (i, t, e, n) => {
13611
13632
  for (var s = n > 1 ? void 0 : n ? Eg(t, e) : t, o = i.length - 1, a; o >= 0; o--)
13612
13633
  (a = i[o]) && (s = (n ? a(t, e, s) : a(s)) || s);
@@ -13653,7 +13674,7 @@ let Mt = class extends Z {
13653
13674
  <div class='upload-control-container'>
13654
13675
  <input type='file' id='file-input' accept='${this.specificFileTypes}' @change='${this.getInputValue}' multiple />
13655
13676
  <label class='upload-label upload-label--without-button-text' for='file-input'>
13656
- <img class='component-icon' src='${this.uploadIcon || Yi}' />
13677
+ <img class='component-icon' src='${this.uploadIcon || Ci}' />
13657
13678
  </label>
13658
13679
 
13659
13680
  <span class='upload-control-info'>${this._numberOfFiles} file(s) selected</span>
@@ -13662,7 +13683,7 @@ let Mt = class extends Z {
13662
13683
  <div class='upload-control-container'>
13663
13684
  <input type='file' id='file-input' accept='${this.specificFileTypes}' @change='${this.getInputValue}' multiple />
13664
13685
  <label class='upload-label' for='file-input'>
13665
- <img class='component-icon' src='${this.uploadIcon || Yi}' />
13686
+ <img class='component-icon' src='${this.uploadIcon || Ci}' />
13666
13687
  <span class='button-text'>${this.buttonText}</span>
13667
13688
  </label>
13668
13689
 
@@ -13680,7 +13701,7 @@ let Mt = class extends Z {
13680
13701
  <div class='upload-control-container'>
13681
13702
  <input type='file' id='file-input' accept='${this.specificFileTypes}' @change='${this.getInputValue}' />
13682
13703
  <label class='upload-label upload-label--without-button-text' for='file-input'>
13683
- <img class='component-icon' src='${this.uploadIcon || Yi}' />
13704
+ <img class='component-icon' src='${this.uploadIcon || Ci}' />
13684
13705
  </label>
13685
13706
  <span class='upload-control-info'>${this._fileName}</span>
13686
13707
  </div>
@@ -13688,7 +13709,7 @@ let Mt = class extends Z {
13688
13709
  <div class='upload-control-container'>
13689
13710
  <input type='file' id='file-input' accept='${this.specificFileTypes}' @change='${this.getInputValue}' />
13690
13711
  <label class='upload-label' for='file-input'>
13691
- <img class='component-icon' src='${this.uploadIcon || Yi}' />
13712
+ <img class='component-icon' src='${this.uploadIcon || Ci}' />
13692
13713
  <span class='button-text'>${this.buttonText}</span>
13693
13714
  </label>
13694
13715
  <span class='upload-control-info'>${this._fileName}</span>
@@ -13802,12 +13823,12 @@ const kg = D`
13802
13823
  text-transform: capitalize;
13803
13824
  }
13804
13825
  `;
13805
- var Lg = Object.defineProperty, Tg = Object.getOwnPropertyDescriptor, Ye = (i, t, e, n) => {
13826
+ var Lg = Object.defineProperty, Tg = Object.getOwnPropertyDescriptor, Ie = (i, t, e, n) => {
13806
13827
  for (var s = n > 1 ? void 0 : n ? Tg(t, e) : t, o = i.length - 1, a; o >= 0; o--)
13807
13828
  (a = i[o]) && (s = (n ? a(t, e, s) : a(s)) || s);
13808
13829
  return n && s && Lg(t, e, s), s;
13809
13830
  };
13810
- let Kt = class extends Z {
13831
+ let Xt = class extends Z {
13811
13832
  constructor() {
13812
13833
  super(...arguments), this.toggleSwitchValues = [], this.withoutToggleText = !1, this.withoutLabelText = !1, this.labelText = "", this.getInputValue = (i) => {
13813
13834
  this._toggleCheckBox === null && (this._toggleCheckBox = i.target), this._toggleCheckBox.checked ? this._switchValue = this.toggleSwitchValues[1] : this._switchValue = this.toggleSwitchValues[0], this.dispatchEvent(new CustomEvent("toggled", { detail: this._switchValue }));
@@ -13849,28 +13870,28 @@ let Kt = class extends Z {
13849
13870
  );
13850
13871
  }
13851
13872
  };
13852
- Kt.styles = [nt, kg, Qg, Pg, Sg];
13853
- Ye([
13873
+ Xt.styles = [nt, kg, Qg, Pg, Sg];
13874
+ Ie([
13854
13875
  b({ attribute: "toggle-switch-values", type: Array })
13855
- ], Kt.prototype, "toggleSwitchValues", 2);
13856
- Ye([
13876
+ ], Xt.prototype, "toggleSwitchValues", 2);
13877
+ Ie([
13857
13878
  b({ attribute: "without-toggle-text", type: Boolean })
13858
- ], Kt.prototype, "withoutToggleText", 2);
13859
- Ye([
13879
+ ], Xt.prototype, "withoutToggleText", 2);
13880
+ Ie([
13860
13881
  b({ attribute: "without-label-text", type: Boolean })
13861
- ], Kt.prototype, "withoutLabelText", 2);
13862
- Ye([
13882
+ ], Xt.prototype, "withoutLabelText", 2);
13883
+ Ie([
13863
13884
  b({ attribute: "label-text" })
13864
- ], Kt.prototype, "labelText", 2);
13865
- Ye([
13885
+ ], Xt.prototype, "labelText", 2);
13886
+ Ie([
13866
13887
  R()
13867
- ], Kt.prototype, "_toggleCheckBox", 2);
13868
- Ye([
13888
+ ], Xt.prototype, "_toggleCheckBox", 2);
13889
+ Ie([
13869
13890
  R()
13870
- ], Kt.prototype, "_switchValue", 2);
13871
- Kt = Ye([
13891
+ ], Xt.prototype, "_switchValue", 2);
13892
+ Xt = Ie([
13872
13893
  U("genus-toggle-switch")
13873
- ], Kt);
13894
+ ], Xt);
13874
13895
  const zg = D`
13875
13896
  .input-control
13876
13897
  {
@@ -14279,7 +14300,7 @@ const $g = D`
14279
14300
  margin-top: var(--navigation-margin-top, 0.625rem);
14280
14301
  }
14281
14302
  `;
14282
- var nf = Object.defineProperty, sf = Object.getOwnPropertyDescriptor, Ae = (i, t, e, n) => {
14303
+ var nf = Object.defineProperty, sf = Object.getOwnPropertyDescriptor, de = (i, t, e, n) => {
14283
14304
  for (var s = n > 1 ? void 0 : n ? sf(t, e) : t, o = i.length - 1, a; o >= 0; o--)
14284
14305
  (a = i[o]) && (s = (n ? a(t, e, s) : a(s)) || s);
14285
14306
  return n && s && nf(t, e, s), s;
@@ -14353,28 +14374,28 @@ let Tt = class extends Z {
14353
14374
  }
14354
14375
  };
14355
14376
  Tt.styles = [$g, tf, ef];
14356
- Ae([
14377
+ de([
14357
14378
  b({ type: Boolean, attribute: "auto-play" })
14358
14379
  ], Tt.prototype, "autoplay", 2);
14359
- Ae([
14380
+ de([
14360
14381
  b({ type: Number, attribute: "auto-play-interval" })
14361
14382
  ], Tt.prototype, "autoplayInterval", 2);
14362
- Ae([
14383
+ de([
14363
14384
  R()
14364
14385
  ], Tt.prototype, "_currentSlide", 2);
14365
- Ae([
14386
+ de([
14366
14387
  R()
14367
14388
  ], Tt.prototype, "_slideCount", 2);
14368
- Ae([
14389
+ de([
14369
14390
  mt("slot")
14370
14391
  ], Tt.prototype, "_slotElement", 2);
14371
- Ae([
14392
+ de([
14372
14393
  mt(".slider-container")
14373
14394
  ], Tt.prototype, "_sliderContainer", 2);
14374
- Ae([
14395
+ de([
14375
14396
  mt(".slider-content")
14376
14397
  ], Tt.prototype, "_sliderContent", 2);
14377
- Tt = Ae([
14398
+ Tt = de([
14378
14399
  U("genus-slider")
14379
14400
  ], Tt);
14380
14401
  const of = D`
@@ -14470,12 +14491,12 @@ const of = D`
14470
14491
 
14471
14492
  .accordion__content-inner { padding: var(--accordion-content-padding, 0 1rem 1rem); }
14472
14493
  `, Af = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2390dfe3'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3cline%20x1='12'%20y1='5'%20x2='12'%20y2='19'%20/%3e%3cline%20x1='5'%20y1='12'%20x2='19'%20y2='12'%20/%3e%3c/svg%3e";
14473
- var df = Object.defineProperty, uf = Object.getOwnPropertyDescriptor, Oe = (i, t, e, n) => {
14494
+ var df = Object.defineProperty, uf = Object.getOwnPropertyDescriptor, Re = (i, t, e, n) => {
14474
14495
  for (var s = n > 1 ? void 0 : n ? uf(t, e) : t, o = i.length - 1, a; o >= 0; o--)
14475
14496
  (a = i[o]) && (s = (n ? a(t, e, s) : a(s)) || s);
14476
14497
  return n && s && df(t, e, s), s;
14477
14498
  };
14478
- let oe = class extends Z {
14499
+ let ae = class extends Z {
14479
14500
  constructor() {
14480
14501
  super(...arguments), this.accordionId = "", this.accordionTitle = "", this.accordionIndex = "", this.accordionIcon = "", this.withNumber = !1;
14481
14502
  }
@@ -14503,25 +14524,25 @@ let oe = class extends Z {
14503
14524
  `;
14504
14525
  }
14505
14526
  };
14506
- oe.styles = [nt, hf, cf, of, rf, lf, af];
14507
- Oe([
14527
+ ae.styles = [nt, hf, cf, of, rf, lf, af];
14528
+ Re([
14508
14529
  b({ attribute: "accordion-id" })
14509
- ], oe.prototype, "accordionId", 2);
14510
- Oe([
14530
+ ], ae.prototype, "accordionId", 2);
14531
+ Re([
14511
14532
  b({ attribute: "accordion-title" })
14512
- ], oe.prototype, "accordionTitle", 2);
14513
- Oe([
14533
+ ], ae.prototype, "accordionTitle", 2);
14534
+ Re([
14514
14535
  b({ attribute: "accordion-index" })
14515
- ], oe.prototype, "accordionIndex", 2);
14516
- Oe([
14536
+ ], ae.prototype, "accordionIndex", 2);
14537
+ Re([
14517
14538
  b({ attribute: "accordion-icon" })
14518
- ], oe.prototype, "accordionIcon", 2);
14519
- Oe([
14539
+ ], ae.prototype, "accordionIcon", 2);
14540
+ Re([
14520
14541
  b({ attribute: "with-number", type: Boolean })
14521
- ], oe.prototype, "withNumber", 2);
14522
- oe = Oe([
14542
+ ], ae.prototype, "withNumber", 2);
14543
+ ae = Re([
14523
14544
  U("genus-accordion")
14524
- ], oe);
14545
+ ], ae);
14525
14546
  const gf = () => {
14526
14547
  let i = `
14527
14548
  @font-face
@@ -14573,9 +14594,9 @@ const gf = () => {
14573
14594
  };
14574
14595
  gf();
14575
14596
  export {
14576
- oe as GenusAccordion,
14597
+ ae as GenusAccordion,
14577
14598
  Ct as GenusChart,
14578
- Pe as GenusCheckBox,
14599
+ Kt as GenusCheckBox,
14579
14600
  Df as GenusCheckBoxGroup,
14580
14601
  Ut as GenusDataCard,
14581
14602
  It as GenusDataListItem,
@@ -14590,7 +14611,7 @@ export {
14590
14611
  bf as GenusTabs,
14591
14612
  vt as GenusTextArea,
14592
14613
  $ as GenusTextBox,
14593
- ze as GenusToastMessage,
14594
- Kt as GenusToggleSwitch,
14614
+ Oe as GenusToastMessage,
14615
+ Xt as GenusToggleSwitch,
14595
14616
  Mf as GenusWizard
14596
14617
  };