@everymatrix/player-account-controller 1.56.0 → 1.56.2

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.
Files changed (174) hide show
  1. package/components/GeneralLogout-B0tDLggX.cjs +21 -0
  2. package/components/{GeneralLogout-DKa2JUny.js → GeneralLogout-BSaw6CR3.js} +706 -647
  3. package/components/{GeneralLogout-DH2dZPHM.js → GeneralLogout-P0C6s5DZ.js} +804 -745
  4. package/components/PlayerAccountBettingHistory-DeLbSbrJ.js +329 -0
  5. package/components/PlayerAccountBettingHistory-QrFClf-q.cjs +1 -0
  6. package/components/{PlayerAccountBettingHistory-DcspNMNL.js → PlayerAccountBettingHistory-l2jKP400.js} +126 -127
  7. package/components/{PlayerAccountBiometrics-D3fKLHtV.js → PlayerAccountBiometrics-BrjU0LiD.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-8CaZALdD.cjs → PlayerAccountBiometrics-Bs6NMHc0.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-BBYUw87N.js → PlayerAccountBiometrics-DSkIQnzt.js} +22 -22
  10. package/components/{PlayerAccountClosure-Z7IuAXPP.cjs → PlayerAccountClosure-BOIOY2XA.cjs} +1 -1
  11. package/components/{PlayerAccountClosure-DJv7cY7T.js → PlayerAccountClosure-DfeDK9W_.js} +32 -32
  12. package/components/{PlayerAccountClosure-CtTfS7wl.js → PlayerAccountClosure-DiGREXoY.js} +32 -32
  13. package/components/{PlayerAccountController-BqEnzpc6.js → PlayerAccountController-B0nEgZTS.js} +340 -296
  14. package/components/{PlayerAccountController-BfaTH0AY.cjs → PlayerAccountController-B7U-7bNI.cjs} +1 -1
  15. package/components/{PlayerAccountController-Djsrrn-h.js → PlayerAccountController-CFyMeqDb.js} +339 -295
  16. package/components/{PlayerAccountGamingLimits-cnXxBvfZ.js → PlayerAccountGamingLimits-Crfy5IPI.js} +81 -81
  17. package/components/{PlayerAccountGamingLimits-DoYSa5g4.cjs → PlayerAccountGamingLimits-D46zagPJ.cjs} +1 -1
  18. package/components/{PlayerAccountGamingLimits-Bd5ti2Yy.js → PlayerAccountGamingLimits-Ktm0tqeu.js} +81 -81
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs → PlayerAccountGamingLimitsConfirmationModal-BVtO8XYY.cjs} +1 -1
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-CS4mjsLb.js → PlayerAccountGamingLimitsConfirmationModal-CVt2dp2q.js} +30 -30
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-_MNPhSXy.js → PlayerAccountGamingLimitsConfirmationModal-GJsD4EXP.js} +30 -30
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-C7OBS8be.js → PlayerAccountGamingLimitsGroupEdit-CBQMS6_H.js} +1302 -1355
  23. package/components/PlayerAccountGamingLimitsGroupEdit-DNh-dSyB.cjs +10 -0
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-45Rp4DP_.js → PlayerAccountGamingLimitsGroupEdit-G4w9DdS2.js} +1302 -1355
  25. package/components/{PlayerAccountGamingLimitsHistory2-mJtlR6Ge.js → PlayerAccountGamingLimitsHistory2-Ciipqbhq.js} +43 -42
  26. package/components/{PlayerAccountGamingLimitsHistory2-VyLPwXZu.js → PlayerAccountGamingLimitsHistory2-CtA0oegi.js} +41 -40
  27. package/components/{PlayerAccountGamingLimitsHistory2-XZt8OllP.cjs → PlayerAccountGamingLimitsHistory2-D4h59ZvH.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-C7pCh3__.js → PlayerAccountGamingLimitsInfoCard-BEtS-68W.js} +91 -87
  29. package/components/{PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs → PlayerAccountGamingLimitsInfoCard-BP3ieYB-.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsInfoCard-BxU5hBOF.js → PlayerAccountGamingLimitsInfoCard-LGJizeyk.js} +91 -87
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-CNiOjWfB.js → PlayerAccountGamingLimitsPage2Gm16-BcM2sb1p.js} +35 -22
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-D66arvZd.js → PlayerAccountGamingLimitsPage2Gm16-DdhPHIQd.js} +35 -22
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-Cha-RkAd.cjs → PlayerAccountGamingLimitsPage2Gm16-HZl-4uMr.cjs} +1 -1
  34. package/components/{PlayerAccountGamingLimitsPopup-BzEwvjUN.js → PlayerAccountGamingLimitsPopup-CdRdI3JR.js} +26 -26
  35. package/components/{PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs → PlayerAccountGamingLimitsPopup-DyBIvm50.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-D3UUO_Eq.js → PlayerAccountGamingLimitsPopup-Yhb7EjIg.js} +26 -26
  37. package/components/{PlayerAccountGamingLimitsWrapper2-Bodw0FD-.js → PlayerAccountGamingLimitsWrapper2-BYv2y-rY.js} +55 -55
  38. package/components/{PlayerAccountGamingLimitsWrapper2-5LQf2KmJ.js → PlayerAccountGamingLimitsWrapper2-C6xKIGFF.js} +20 -20
  39. package/components/{PlayerAccountGamingLimitsWrapper2-CFxTXIfS.cjs → PlayerAccountGamingLimitsWrapper2-gGub1fuG.cjs} +1 -1
  40. package/components/{PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs → PlayerAccountGeneralConfirmationModal-B4jIx1BX.cjs} +1 -1
  41. package/components/{PlayerAccountGeneralConfirmationModal-D8JPZNbs.js → PlayerAccountGeneralConfirmationModal-CD-C2QtO.js} +34 -34
  42. package/components/{PlayerAccountGeneralConfirmationModal-CXql07aQ.js → PlayerAccountGeneralConfirmationModal-DyiU178q.js} +34 -34
  43. package/components/{PlayerAccountMenu-BHWtSf34.js → PlayerAccountMenu-CdKBgnzJ.js} +180 -158
  44. package/components/{PlayerAccountMenu-CKSsdVD4.js → PlayerAccountMenu-DFrCnbsI.js} +211 -189
  45. package/components/PlayerAccountMenu-bdpP915D.cjs +1 -0
  46. package/components/{PlayerAccountModal-CLW-XTid.cjs → PlayerAccountModal-COJeLuDu.cjs} +1 -1
  47. package/components/{PlayerAccountModal-CAL-lChv.js → PlayerAccountModal-DvoqjoAL.js} +27 -27
  48. package/components/{PlayerAccountModal-c01xdqmW.js → PlayerAccountModal-oVEZuWB2.js} +27 -27
  49. package/components/{PlayerAccountNotifications-CitVsKYm.js → PlayerAccountNotifications-BaNsCEei.js} +35 -33
  50. package/components/{PlayerAccountNotifications-B-haSjPr.cjs → PlayerAccountNotifications-DAWwzmCU.cjs} +1 -1
  51. package/components/{PlayerAccountNotifications-Bvoot0Jw.js → PlayerAccountNotifications-fgHOmoJ0.js} +36 -34
  52. package/components/{PlayerAccountSelfExclusion-Cz0rML3Z.js → PlayerAccountSelfExclusion-ARIxVSLP.js} +1578 -1559
  53. package/components/{PlayerAccountSelfExclusion-DzxXZ0NG.js → PlayerAccountSelfExclusion-Bx-xxb7Y.js} +1454 -1434
  54. package/components/{PlayerAccountSelfExclusion-CW1t2BNm.cjs → PlayerAccountSelfExclusion-lAbJlcUC.cjs} +182 -184
  55. package/components/{PlayerAccountTimeout-gWHY_22Q.js → PlayerAccountTimeout-04shprSV.js} +41 -41
  56. package/components/{PlayerAccountTimeout-9wxsYv0_.js → PlayerAccountTimeout-C392Fv8K.js} +41 -41
  57. package/components/{PlayerAccountTimeout-CAWJeQ3d.cjs → PlayerAccountTimeout-C7KH6ovR.cjs} +1 -1
  58. package/components/{PlayerActiveBonuses-qHNn2eq8.js → PlayerActiveBonuses-5eFyy-RT.js} +239 -217
  59. package/components/PlayerActiveBonuses-DZpjmd5_.cjs +1 -0
  60. package/components/{PlayerActiveBonuses-D0jBzeb4.js → PlayerActiveBonuses-TbfmKgcG.js} +239 -217
  61. package/components/{PlayerBonusCard-5gtng8cd.cjs → PlayerBonusCard-BLy1uhLi.cjs} +1 -1
  62. package/components/{PlayerBonusCard-CaQEQ2Fx.js → PlayerBonusCard-CukAjEqo.js} +80 -80
  63. package/components/{PlayerBonusCard-CGoRkCFh.js → PlayerBonusCard-DW5VwRsP.js} +80 -80
  64. package/components/{PlayerBonusHistory-DfQd--j_.js → PlayerBonusHistory-CIbSh98F.js} +33 -33
  65. package/components/{PlayerBonusHistory-C6p_5FRc.cjs → PlayerBonusHistory-DLekMCrR.cjs} +1 -1
  66. package/components/{PlayerBonusHistory-DBCc2ItI.js → PlayerBonusHistory-DyASnKHg.js} +33 -33
  67. package/components/{PlayerChangePassword-6dHXMBQg.js → PlayerChangePassword-Bjf-BD9m.js} +86 -84
  68. package/components/{PlayerChangePassword-COdBpupf.js → PlayerChangePassword-RGHCaEP3.js} +86 -84
  69. package/components/{PlayerChangePassword-BsM1lBfW.cjs → PlayerChangePassword-UepIdqvw.cjs} +1 -1
  70. package/components/{PlayerDeposit-DwxXelMX.js → PlayerDeposit-BEZ5yfVx.js} +99 -99
  71. package/components/{PlayerDeposit-CTXnx-k2.js → PlayerDeposit-C2zLAno5.js} +99 -99
  72. package/components/PlayerDeposit-Dcjjga2V.cjs +1 -0
  73. package/components/{PlayerGamingHistory-4f_MiXvH.js → PlayerGamingHistory-DYtKLxtA.js} +57 -57
  74. package/components/{PlayerGamingHistory-DAfDiFej.cjs → PlayerGamingHistory-Qv5CmegZ.cjs} +1 -1
  75. package/components/{PlayerGamingHistory-dDHtahYn.js → PlayerGamingHistory-f408ehA1.js} +62 -62
  76. package/components/{PlayerPendingWithdrawals-CHHH7JPW.js → PlayerPendingWithdrawals-Bl7G42a8.js} +26 -26
  77. package/components/{PlayerPendingWithdrawals-qMs8We3P.cjs → PlayerPendingWithdrawals-CvxjxkOD.cjs} +1 -1
  78. package/components/{PlayerPendingWithdrawals-BFrv_-ow.js → PlayerPendingWithdrawals-Dd-hUBTs.js} +26 -26
  79. package/components/{PlayerProfileInfo-DDHAv267.cjs → PlayerProfileInfo-AlvN_pUL.cjs} +1 -1
  80. package/components/{PlayerProfileInfo-Yky_xo7E.js → PlayerProfileInfo-Chwlpy6G.js} +74 -72
  81. package/components/{PlayerProfileInfo-DlA-e6OI.js → PlayerProfileInfo-tT3FUcqx.js} +74 -72
  82. package/components/{PlayerRealityCheck-JOxPFKqm.js → PlayerRealityCheck-6MNq7GKW.js} +33 -33
  83. package/components/{PlayerRealityCheck-Bn_ov_Ie.js → PlayerRealityCheck-BBRdpOqG.js} +33 -33
  84. package/components/{PlayerRealityCheck-BLlc8RGo.cjs → PlayerRealityCheck-DSYoUIrf.cjs} +1 -1
  85. package/components/{PlayerTransactionHistory-CxRrWzgQ.js → PlayerTransactionHistory-6qxdyqQZ.js} +24 -24
  86. package/components/{PlayerTransactionHistory-CzOvo_E3.js → PlayerTransactionHistory-BrGY_Ah9.js} +24 -24
  87. package/components/{PlayerTransactionHistory-BqEXyDt-.cjs → PlayerTransactionHistory-Cvm1EwgV.cjs} +1 -1
  88. package/components/{PlayerWithdrawal-BlhHRFmC.js → PlayerWithdrawal-B3-mcOWq.js} +19 -19
  89. package/components/{PlayerWithdrawal-1i-tYxaO.cjs → PlayerWithdrawal-D9w69Llz.cjs} +1 -1
  90. package/components/{PlayerWithdrawal-CnoGAUmo.js → PlayerWithdrawal-dfFj1w6I.js} +19 -19
  91. package/es2015/player-account-controller.cjs +1 -1
  92. package/es2015/player-account-controller.js +1 -1
  93. package/esnext/player-account-controller.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/checkbox-group-input_9-DMrH9pTx.cjs +2045 -0
  96. package/stencil/{checkbox-group-input_9-B_RfUM6E.js → checkbox-group-input_9-DtZ9kvK4.js} +945 -903
  97. package/stencil/{checkbox-group-input_9-C98yT4vw.js → checkbox-group-input_9-DvXvp-ML.js} +984 -942
  98. package/stencil/general-input-CFqrfrup.cjs +1 -0
  99. package/stencil/{general-input-CqTf7ErJ.js → general-input-eCxMClmW.js} +6 -6
  100. package/stencil/{general-input-DTHw5Z1Q.js → general-input-rL_ftR3H.js} +6 -6
  101. package/stencil/index-1ef3a64c-BnB-ATuA.js +556 -0
  102. package/stencil/index-1ef3a64c-BvKbNMH8.cjs +1 -0
  103. package/stencil/index-1ef3a64c-Nsr9PDe6.js +572 -0
  104. package/stencil/index-7c5e707a-CTC8RpEi.js +643 -0
  105. package/stencil/index-7c5e707a-CWE0q0mP.js +616 -0
  106. package/stencil/index-7c5e707a-D1Fv8nel.cjs +1 -0
  107. package/stencil/index-9c0f6c58-C1yzTenw.js +576 -0
  108. package/stencil/index-9c0f6c58-CqoLeK5G.js +549 -0
  109. package/stencil/index-9c0f6c58-DEsDY2nb.cjs +1 -0
  110. package/stencil/index-9cd44522-BqLgI-Ho.js +626 -0
  111. package/stencil/index-9cd44522-Cygpa4pV.js +610 -0
  112. package/stencil/index-9cd44522-DwMekoGN.cjs +1 -0
  113. package/stencil/index-ae04a8b1-D4wvtXTw.cjs +1 -0
  114. package/stencil/index-ae04a8b1-fpBaOn88.js +516 -0
  115. package/stencil/index-ae04a8b1-ixlRj3zC.js +532 -0
  116. package/stencil/{password-input_2-CdHS5fmR.js → password-input_2-9_yxZI2g.js} +51 -31
  117. package/stencil/{password-input_2-B2qvf6ku.cjs → password-input_2-BabcxKun.cjs} +7 -7
  118. package/stencil/{password-input_2-DdQvCp3o.js → password-input_2-D-YA_Jkx.js} +51 -31
  119. package/stencil/{player-change-password-gm2-38dff08c-BNhjxr22.js → player-change-password-gm2-039e300e-CcWiaT26.js} +3 -3
  120. package/stencil/{player-change-password-gm2-38dff08c-DnYXSeKg.cjs → player-change-password-gm2-039e300e-DiYWgS70.cjs} +1 -1
  121. package/stencil/{player-change-password-gm2-38dff08c-CPRdwVFF.js → player-change-password-gm2-039e300e-Zp9TDX77.js} +3 -3
  122. package/stencil/player-change-password-gm2-BWjI2Hs0.js +25 -0
  123. package/stencil/player-change-password-gm2-BaYafift.js +7 -0
  124. package/stencil/player-change-password-gm2-DsT1aXcX.cjs +1 -0
  125. package/stencil/{player-kyc-verification-BPrVDLfj.js → player-kyc-verification-B8arDCja.js} +7 -7
  126. package/stencil/{player-kyc-verification-CRwnm961.js → player-kyc-verification-Di40xn9z.js} +11 -11
  127. package/stencil/{player-kyc-verification-5V24oWMX.cjs → player-kyc-verification-GFBDUbhm.cjs} +2 -2
  128. package/stencil/{toggle-checkbox-input-B4OOk9wz.js → toggle-checkbox-input-BxUGWw2X.js} +15 -7
  129. package/stencil/toggle-checkbox-input-D-Cv1QSS.cjs +1 -0
  130. package/stencil/{toggle-checkbox-input-Cwo_Ny77.js → toggle-checkbox-input-PSoH9KF2.js} +15 -7
  131. package/stencil/{ui-skeleton-BjdFVTvB.cjs → ui-skeleton-BC4mw1ae.cjs} +1 -1
  132. package/stencil/{ui-skeleton-Bw-C78oa.js → ui-skeleton-DT0OMDC6.js} +2 -2
  133. package/stencil/{ui-skeleton-BkychLQM.js → ui-skeleton-T4HYbNcC.js} +2 -2
  134. package/stencil/ui-skeleton-a642cced-B8H73O_q.cjs +1 -0
  135. package/stencil/{ui-skeleton-982450d2-CXoVwMz-.js → ui-skeleton-a642cced-Ba-weZ4g.js} +21 -21
  136. package/stencil/{ui-skeleton-982450d2-DgSl7oS5.js → ui-skeleton-a642cced-DhjmNsN7.js} +21 -21
  137. package/stencil/{user-deposit-withdrawal-Bn1WPRou.cjs → user-deposit-withdrawal-BQKFgZ31.cjs} +2 -2
  138. package/stencil/{user-deposit-withdrawal-51pO8ttC.js → user-deposit-withdrawal-DRe5oBqv.js} +63 -42
  139. package/stencil/{user-deposit-withdrawal-C0SOQks0.js → user-deposit-withdrawal-Dj3Po03r.js} +62 -41
  140. package/stencil/{user-transaction-history-LRgu-JMX.js → user-transaction-history-6-z3byrF.js} +5 -5
  141. package/stencil/{user-transaction-history-BsTUJ4on.js → user-transaction-history-Dca7qx08.js} +5 -5
  142. package/stencil/{user-transaction-history-8EskARbv.cjs → user-transaction-history-DrhquxkJ.cjs} +1 -1
  143. package/stencil/{vaadin-button-mixin-ef61174c-DuDVejN4.cjs → vaadin-button-mixin-e8c3f355-BdntioNA.cjs} +130 -124
  144. package/stencil/{vaadin-button-mixin-ef61174c-B_vhSFKU.js → vaadin-button-mixin-e8c3f355-DON-rAuy.js} +821 -795
  145. package/stencil/{vaadin-button-mixin-ef61174c-EQiVsI4x.js → vaadin-button-mixin-e8c3f355-DQ5UgwNf.js} +931 -906
  146. package/components/GeneralLogout-9pZTJKCj.cjs +0 -8
  147. package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +0 -1
  148. package/components/PlayerAccountBettingHistory-CxIU3NjD.js +0 -328
  149. package/components/PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs +0 -10
  150. package/components/PlayerAccountMenu-5EvNrc-W.cjs +0 -1
  151. package/components/PlayerActiveBonuses-DTgD47j8.cjs +0 -1
  152. package/components/PlayerDeposit-0eaqfWH1.cjs +0 -1
  153. package/stencil/checkbox-group-input_9-C2IUNSpC.cjs +0 -2045
  154. package/stencil/general-input-wM2i7b57.cjs +0 -1
  155. package/stencil/index-12dd2b03-B2coll71.js +0 -725
  156. package/stencil/index-12dd2b03-Dd1hsUZX.cjs +0 -1
  157. package/stencil/index-12dd2b03-YP3skHrn.js +0 -698
  158. package/stencil/index-92b64862-BRYoLHww.cjs +0 -1
  159. package/stencil/index-92b64862-C_69cKxK.js +0 -708
  160. package/stencil/index-92b64862-w9a1l35N.js +0 -692
  161. package/stencil/index-b1bdf3f6-0mlbFiN3.js +0 -632
  162. package/stencil/index-b1bdf3f6-DBuAhDH-.js +0 -659
  163. package/stencil/index-b1bdf3f6-DdF5azN0.cjs +0 -1
  164. package/stencil/index-c7e52808-7ohcD8fQ.js +0 -638
  165. package/stencil/index-c7e52808-DYutdKGj.cjs +0 -1
  166. package/stencil/index-c7e52808-WCb5gCA6.js +0 -654
  167. package/stencil/index-db5752f9-B4MZ13Fz.js +0 -610
  168. package/stencil/index-db5752f9-C_VcDZns.js +0 -594
  169. package/stencil/index-db5752f9-DSHLGBj_.cjs +0 -1
  170. package/stencil/player-change-password-gm2-1hTMqepH.js +0 -7
  171. package/stencil/player-change-password-gm2-2YEpyazj.js +0 -25
  172. package/stencil/player-change-password-gm2-CDxgB3eD.cjs +0 -1
  173. package/stencil/toggle-checkbox-input-tQDhlcag.cjs +0 -1
  174. package/stencil/ui-skeleton-982450d2-BEC6vjfL.cjs +0 -1
@@ -1,15 +1,15 @@
1
1
  var ar = Object.defineProperty;
2
2
  var Bt = Object.getOwnPropertySymbols;
3
3
  var sr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable;
4
- var Xe = (a, i, e) => i in a ? ar(a, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[i] = e, Fe = (a, i) => {
4
+ var Ge = (a, i, e) => i in a ? ar(a, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[i] = e, Xe = (a, i) => {
5
5
  for (var e in i || (i = {}))
6
- sr.call(i, e) && Xe(a, e, i[e]);
6
+ sr.call(i, e) && Ge(a, e, i[e]);
7
7
  if (Bt)
8
8
  for (var e of Bt(i))
9
- nr.call(i, e) && Xe(a, e, i[e]);
9
+ nr.call(i, e) && Ge(a, e, i[e]);
10
10
  return a;
11
11
  };
12
- var R = (a, i, e) => Xe(a, typeof i != "symbol" ? i + "" : i, e);
12
+ var R = (a, i, e) => (Ge(a, typeof i != "symbol" ? i + "" : i, e), e);
13
13
  var Ke = (a, i, e) => new Promise((t, r) => {
14
14
  var s = (l) => {
15
15
  try {
@@ -26,11 +26,11 @@ var Ke = (a, i, e) => new Promise((t, r) => {
26
26
  }, o = (l) => l.done ? t(l.value) : Promise.resolve(l.value).then(s, n);
27
27
  o((e = e.apply(a, i)).next());
28
28
  });
29
- import { r as ae, c as H, h as c, g as _t } from "./index-92b64862-C_69cKxK.js";
29
+ import { r as ae, c as H, h as u, g as mt } from "./index-9cd44522-BqLgI-Ho.js";
30
30
  import { t as k } from "./locale-BG_TzyDt.js";
31
31
  import { t as se } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
32
- import { r as P, i as D, d as mt, D as or, a as vt, I as si, h as X, T as Pe, b as q, c as lr, e as dr, f as ni, g as hr, B as cr, E as Se, j as J, C as Ee, P as W, k as ur, l as oi, m as li, n as di, o as gt, L as bt, F as hi, p as ci, A as pr, q as yt, S as fr, s as ui, t as Nt, w as Z, u as _r, v as mr, x as le, y as vr, z as Ae, G as ie, H as fe, J as We, K as pi, M as fi, N as _i, O as wt, Q as Te, R as Re, U as st, V as gr, W as br, X as yr, Y as wr, Z as mi, _ as $t, $ as xr, a0 as vi, a1 as Cr, a2 as kr, a3 as Tr, a4 as nt, a5 as Dr, a6 as Ir, a7 as Pr, a8 as Sr } from "./vaadin-button-mixin-ef61174c-EQiVsI4x.js";
33
- P(
32
+ import { r as S, i as D, d as _t, h as G, T as Se, a as U, B as or, E as Pe, b as K, C as Ee, P as W, c as lr, e as si, I as ni, f as vt, L as gt, D as dr, g as yt, j as oi, F as li, k as di, A as hr, l as ur, m as cr, n as bt, S as pr, o as hi, p as ui, q as ci, s as fr, t as Nt, w as J, u as mr, v as _r, x as vr, y as gr, z as le, G as yr, H as Fe, J as te, K as fe, M as qe, N as pi, O as fi, Q as wt, R as mi, U as st, V as br, W as Le, X as De, Y as wr, Z as xr, _ as Cr, $ as _i, a0 as $t, a1 as nt, a2 as kr, a3 as Tr, a4 as Dr, a5 as Ir, a6 as Sr, a7 as vi, a8 as Pr } from "./vaadin-button-mixin-e8c3f355-DQ5UgwNf.js";
33
+ S(
34
34
  "vaadin-checkbox",
35
35
  D`
36
36
  :host {
@@ -344,8 +344,8 @@ P(
344
344
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
345
345
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
346
346
  */
347
- const Er = mt(
348
- (a) => class extends or(vt(si(a))) {
347
+ const Er = _t(
348
+ (a) => class extends dr(yt(oi(a))) {
349
349
  static get properties() {
350
350
  return {
351
351
  /**
@@ -356,8 +356,7 @@ const Er = mt(
356
356
  type: Boolean,
357
357
  value: !1,
358
358
  notify: !0,
359
- reflectToAttribute: !0,
360
- sync: !0
359
+ reflectToAttribute: !0
361
360
  }
362
361
  };
363
362
  }
@@ -384,7 +383,7 @@ const Er = mt(
384
383
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
385
384
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
386
385
  */
387
- const Or = (a) => class extends hi(Er(ci(pr(a)))) {
386
+ const Mr = (a) => class extends li(Er(di(hr(a)))) {
388
387
  static get properties() {
389
388
  return {
390
389
  /**
@@ -452,10 +451,10 @@ const Or = (a) => class extends hi(Er(ci(pr(a)))) {
452
451
  /** @protected */
453
452
  ready() {
454
453
  super.ready(), this.addController(
455
- new gt(this, (e) => {
454
+ new vt(this, (e) => {
456
455
  this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
457
456
  })
458
- ), this.addController(new bt(this.inputElement, this._labelController)), this._createMethodObserver("_checkedChanged(checked)");
457
+ ), this.addController(new gt(this.inputElement, this._labelController)), this._createMethodObserver("_checkedChanged(checked)");
459
458
  }
460
459
  /**
461
460
  * Override method inherited from `ActiveMixin` to prevent setting `active`
@@ -520,11 +519,11 @@ const Or = (a) => class extends hi(Er(ci(pr(a)))) {
520
519
  * @protected
521
520
  */
522
521
  _setFocused(e) {
523
- super._setFocused(e), !e && document.hasFocus() && this._requestValidation();
522
+ super._setFocused(e), !e && document.hasFocus() && this.validate();
524
523
  }
525
524
  /** @private */
526
525
  _checkedChanged(e) {
527
- (e || this.__oldChecked) && this._requestValidation(), this.__oldChecked = e;
526
+ (e || this.__oldChecked) && this.validate(), this.__oldChecked = e;
528
527
  }
529
528
  /**
530
529
  * Override an observer from `FieldMixin`
@@ -534,7 +533,7 @@ const Or = (a) => class extends hi(Er(ci(pr(a)))) {
534
533
  * @override
535
534
  */
536
535
  _requiredChanged(e) {
537
- super._requiredChanged(e), e === !1 && this._requestValidation();
536
+ super._requiredChanged(e), e === !1 && this.validate();
538
537
  }
539
538
  /** @private */
540
539
  _onRequiredIndicatorClick() {
@@ -551,7 +550,7 @@ const Or = (a) => class extends hi(Er(ci(pr(a)))) {
551
550
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
552
551
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
553
552
  */
554
- const Mr = D`
553
+ const Or = D`
555
554
  :host {
556
555
  display: inline-block;
557
556
  }
@@ -645,13 +644,13 @@ const Mr = D`
645
644
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
646
645
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
647
646
  */
648
- P("vaadin-checkbox", Mr, { moduleId: "vaadin-checkbox-styles" });
649
- class Vr extends Or(Se(J(W))) {
647
+ S("vaadin-checkbox", Or, { moduleId: "vaadin-checkbox-styles" });
648
+ class Vr extends Mr(Pe(K(W))) {
650
649
  static get is() {
651
650
  return "vaadin-checkbox";
652
651
  }
653
652
  static get template() {
654
- return X`
653
+ return G`
655
654
  <div class="vaadin-checkbox-container">
656
655
  <div part="checkbox" aria-hidden="true"></div>
657
656
  <slot name="input"></slot>
@@ -671,10 +670,10 @@ class Vr extends Or(Se(J(W))) {
671
670
  }
672
671
  /** @protected */
673
672
  ready() {
674
- super.ready(), this._tooltipController = new Pe(this), this._tooltipController.setAriaTarget(this.inputElement), this.addController(this._tooltipController);
673
+ super.ready(), this._tooltipController = new Se(this), this._tooltipController.setAriaTarget(this.inputElement), this.addController(this._tooltipController);
675
674
  }
676
675
  }
677
- q(Vr);
676
+ U(Vr);
678
677
  const Fr = D`
679
678
  :host {
680
679
  color: var(--lumo-body-text-color);
@@ -719,7 +718,7 @@ const Fr = D`
719
718
  }
720
719
  }
721
720
  `;
722
- P("vaadin-checkbox-group", [lr, dr, Fr], {
721
+ S("vaadin-checkbox-group", [ur, cr, Fr], {
723
722
  moduleId: "lumo-checkbox-group"
724
723
  });
725
724
  /**
@@ -727,7 +726,7 @@ P("vaadin-checkbox-group", [lr, dr, Fr], {
727
726
  * Copyright (c) 2018 - 2024 Vaadin Ltd.
728
727
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
729
728
  */
730
- const Ar = (a) => class extends hi(yt(vt(a))) {
729
+ const Ar = (a) => class extends li(bt(yt(a))) {
731
730
  static get properties() {
732
731
  return {
733
732
  /**
@@ -760,7 +759,7 @@ const Ar = (a) => class extends hi(yt(vt(a))) {
760
759
  };
761
760
  }
762
761
  constructor() {
763
- super(), this.__registerCheckbox = this.__registerCheckbox.bind(this), this.__unregisterCheckbox = this.__unregisterCheckbox.bind(this), this.__onCheckboxCheckedChanged = this.__onCheckboxCheckedChanged.bind(this), this._tooltipController = new Pe(this), this._tooltipController.addEventListener("tooltip-changed", (e) => {
762
+ super(), this.__registerCheckbox = this.__registerCheckbox.bind(this), this.__unregisterCheckbox = this.__unregisterCheckbox.bind(this), this.__onCheckboxCheckedChanged = this.__onCheckboxCheckedChanged.bind(this), this._tooltipController = new Se(this), this._tooltipController.addEventListener("tooltip-changed", (e) => {
764
763
  const t = e.detail.node;
765
764
  if (t && t.isConnected) {
766
765
  const r = this.__checkboxes.map((s) => s.inputElement);
@@ -782,7 +781,7 @@ const Ar = (a) => class extends hi(yt(vt(a))) {
782
781
  ready() {
783
782
  super.ready(), this.ariaTarget = this, this.setAttribute("role", "group");
784
783
  const e = this.shadowRoot.querySelector("slot:not([name])");
785
- this._observer = new fr(e, ({ addedNodes: t, removedNodes: r }) => {
784
+ this._observer = new pr(e, ({ addedNodes: t, removedNodes: r }) => {
786
785
  const s = this.__filterCheckboxes(t), n = this.__filterCheckboxes(r);
787
786
  s.forEach(this.__registerCheckbox), n.forEach(this.__unregisterCheckbox);
788
787
  const o = this.__checkboxes.map((l) => l.inputElement);
@@ -879,7 +878,7 @@ const Ar = (a) => class extends hi(yt(vt(a))) {
879
878
  __valueChanged(e, t) {
880
879
  e && e.length === 0 && t === void 0 || (this.toggleAttribute("has-value", e && e.length > 0), this.__checkboxes.forEach((r) => {
881
880
  r.checked = e && e.includes(r.value);
882
- }), t !== void 0 && this._requestValidation());
881
+ }), t !== void 0 && this.validate());
883
882
  }
884
883
  /** @private */
885
884
  __readonlyChanged(e, t) {
@@ -908,7 +907,7 @@ const Ar = (a) => class extends hi(yt(vt(a))) {
908
907
  * @protected
909
908
  */
910
909
  _setFocused(e) {
911
- super._setFocused(e), !e && document.hasFocus() && this._requestValidation();
910
+ super._setFocused(e), !e && document.hasFocus() && this.validate();
912
911
  }
913
912
  };
914
913
  /**
@@ -951,13 +950,13 @@ const Hr = D`
951
950
  * Copyright (c) 2018 - 2024 Vaadin Ltd.
952
951
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
953
952
  */
954
- P("vaadin-checkbox-group", Hr, { moduleId: "vaadin-checkbox-group-styles" });
955
- class zr extends Ar(Se(J(W))) {
953
+ S("vaadin-checkbox-group", Hr, { moduleId: "vaadin-checkbox-group-styles" });
954
+ class zr extends Ar(Pe(K(W))) {
956
955
  static get is() {
957
956
  return "vaadin-checkbox-group";
958
957
  }
959
958
  static get template() {
960
- return X`
959
+ return G`
961
960
  <div class="vaadin-group-field-container">
962
961
  <div part="label">
963
962
  <slot name="label"></slot>
@@ -981,13 +980,16 @@ class zr extends Ar(Se(J(W))) {
981
980
  `;
982
981
  }
983
982
  }
984
- q(zr);
983
+ U(zr);
985
984
  const Lr = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}vaadin-checkbox-group{margin-top:5px;margin-left:40px}.checkboxgroup{font-family:"Roboto";font-style:normal;font-size:15px}.checkboxgroup__wrapper{position:relative}.checkboxgroup__wrapper--flex{display:flex;gap:5px;align-content:flex-start}.checkboxgroup__wrapper--relative{position:relative;display:inline}.checkboxgroup__input{vertical-align:baseline}.checkboxgroup__input[indeterminate]::part(checkbox)::after,.checkboxgroup__input[indeterminate]::part(checkbox),.checkboxgroup__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;padding-left:10px;vertical-align:baseline}.checkboxgroup__label-text{font-size:16px}.checkboxgroup__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkboxgroup__tooltip-icon{width:16px;height:auto}.checkboxgroup__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkboxgroup__tooltip.visible{opacity:1}.checkbox__input::part(checkbox){background-color:var(--emw--color-white, #FFFFFF)}.checkbox__input[indeterminate]::part(checkbox),.checkbox__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}', Rr = Lr, Br = class {
986
985
  constructor(a) {
987
- ae(this, a), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.defaultValue = "", this.clientStyling = "", this.limitStylingAppends = !1, this.showTooltip = !1, this.selectedValues = [], this.value = null, this.setClientStyling = () => {
986
+ ae(this, a), this.sendValidityState = H(this, "sendValidityState", 7), this.sendInputValue = H(this, "sendInputValue", 7), this.value = null, this.setClientStyling = () => {
988
987
  let i = document.createElement("style");
989
988
  i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
990
- };
989
+ }, this.name = void 0, this.displayName = void 0, this.defaultValue = "", this.autofilled = void 0, this.tooltip = void 0, this.options = void 0, this.validation = void 0, this.language = void 0, this.emitValue = void 0, this.clientStyling = "", this.errorMessage = void 0, this.isValid = void 0, this.limitStylingAppends = !1, this.showTooltip = !1, this.selectedValues = [];
990
+ }
991
+ handleStylingChange(a, i) {
992
+ a !== i && this.setClientStyling();
991
993
  }
992
994
  validityChanged() {
993
995
  this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValue == !0 && this.valueHandler({ name: this.name, value: this.value, type: "checkboxgroup" });
@@ -1021,24 +1023,25 @@ const Lr = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}vaadin
1021
1023
  return k("requiredError", this.language);
1022
1024
  }
1023
1025
  renderTooltip() {
1024
- return this.showTooltip ? c("div", { class: `checkboxgroup__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
1026
+ return this.showTooltip ? u("div", { class: `checkboxgroup__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
1025
1027
  }
1026
1028
  handleParentCheckbox(a) {
1027
1029
  this.selectedValues = a.target.checked ? this.options.map((i) => i.name) : [];
1028
1030
  }
1029
1031
  renderLabel() {
1030
- return c("label", { class: "checkbox__label", htmlFor: `${this.name}__input`, slot: "label" }, c("div", { class: "checkbox__label-text", innerHTML: `${this.displayName} ${this.validation.mandatory ? "*" : ""}` }));
1032
+ return u("label", { class: "checkbox__label", htmlFor: `${this.name}__input`, slot: "label" }, u("div", { class: "checkbox__label-text", innerHTML: `${this.displayName} ${this.validation.mandatory ? "*" : ""}` }));
1031
1033
  }
1032
1034
  render() {
1033
- return c("div", { key: "fa45026502fd8d46aa537aee03210ad68d30e577", class: `checkboxgroup__wrapper ${this.name}__input`, ref: (a) => this.stylingContainer = a }, c("div", { key: "15ded4fd896920c6244806e49f300c124c27186d", class: "checkboxgroup__wrapper--flex" }, c("vaadin-checkbox", { key: "d7eaa205877f8f12c9ef7d4f77018665806f5c7c", class: "checkbox__input", checked: this.selectedValues.length === this.options.length || this.defaultValue === "true", indeterminate: this.selectedValues.length > 0 && this.selectedValues.length < this.options.length, onChange: (a) => this.handleParentCheckbox(a) }, this.renderLabel()), this.tooltip && c("img", { key: "aca39ed398415a6e2cef861be40dad33e0398759", class: "checkboxgroup__tooltip-icon", src: se, alt: "", ref: (a) => this.tooltipIconReference = a, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), c("small", { key: "a1a6e1c3c02edcca572b8826ffba06835ca451c3", class: "checkboxgroup__error-message" }, this.errorMessage), c("vaadin-checkbox-group", { key: "9f5f8a945e4ba13d7d0da6d362c15d00a7796b71", theme: "vertical", value: this.selectedValues, "on-value-changed": (a) => {
1035
+ return u("div", { key: "c25b0a1ac187ea0abf1fe8c69d584eee00568177", class: `checkboxgroup__wrapper ${this.name}__input`, ref: (a) => this.stylingContainer = a }, u("div", { key: "daf512e7f98d20bae65e43ab869e45babc008e90", class: "checkboxgroup__wrapper--flex" }, u("vaadin-checkbox", { key: "08e31269cf2ace61c4c929a6a597486555667197", class: "checkbox__input", checked: this.selectedValues.length === this.options.length || this.defaultValue === "true", indeterminate: this.selectedValues.length > 0 && this.selectedValues.length < this.options.length, onChange: (a) => this.handleParentCheckbox(a) }, this.renderLabel()), this.tooltip && u("img", { key: "ed4c3efd6b7e30ae0b68de11093b8faf2cb0a845", class: "checkboxgroup__tooltip-icon", src: se, alt: "", ref: (a) => this.tooltipIconReference = a, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), u("small", { key: "5b95c4059a2de898c04bf147e89c5a2ad035dddf", class: "checkboxgroup__error-message" }, this.errorMessage), u("vaadin-checkbox-group", { key: "2b73ac73d52c6185358e50eda4c9706643f55384", theme: "vertical", value: this.selectedValues, "on-value-changed": (a) => {
1034
1036
  this.selectedValues = a.detail.value;
1035
- } }, this.options.map((a) => c("vaadin-checkbox", { class: "checkbox__input", name: a.name, value: a.name, label: a.displayName }))));
1037
+ } }, this.options.map((a) => u("vaadin-checkbox", { class: "checkbox__input", name: a.name, value: a.name, label: a.displayName }))));
1036
1038
  }
1037
1039
  get element() {
1038
- return _t(this);
1040
+ return mt(this);
1039
1041
  }
1040
1042
  static get watchers() {
1041
1043
  return {
1044
+ clientStyling: ["handleStylingChange"],
1042
1045
  isValid: ["validityChanged"],
1043
1046
  selectedValues: ["setValue"],
1044
1047
  emitValue: ["emitValueHandler"]
@@ -1046,12 +1049,15 @@ const Lr = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}vaadin
1046
1049
  }
1047
1050
  };
1048
1051
  Br.style = Rr;
1049
- const Nr = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.checkbox{font-family:"Roboto";font-style:normal}.checkbox__wrapper{display:flex;gap:10px;position:relative;align-items:baseline}.checkbox__wrapper--relative{position:relative}.checkbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.checkbox__label-text{font-size:16px}.checkbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkbox__tooltip-icon{width:16px;height:auto}.checkbox__tooltip{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkbox__tooltip.visible{opacity:1}', $r = Nr, qr = class {
1052
+ const Nr = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.checkbox{font-family:"Roboto";font-style:normal}.checkbox__wrapper{display:flex;gap:10px;position:relative;align-items:baseline}.checkbox__wrapper--relative{position:relative}.checkbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.checkbox__label-text{font-size:16px}.checkbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkbox__tooltip-icon{width:16px;height:auto}.checkbox__tooltip{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkbox__tooltip.visible{opacity:1}', $r = Nr, Ur = class {
1050
1053
  constructor(a) {
1051
- ae(this, a), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.defaultValue = "", this.clientStyling = "", this.limitStylingAppends = !1, this.showTooltip = !1, this.value = "", this.setClientStyling = () => {
1054
+ ae(this, a), this.sendValidityState = H(this, "sendValidityState", 7), this.sendInputValue = H(this, "sendInputValue", 7), this.value = "", this.setClientStyling = () => {
1052
1055
  let i = document.createElement("style");
1053
1056
  i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
1054
- };
1057
+ }, this.name = void 0, this.displayName = void 0, this.defaultValue = "", this.autofilled = void 0, this.tooltip = void 0, this.validation = void 0, this.language = void 0, this.emitValue = void 0, this.clientStyling = "", this.errorMessage = void 0, this.isValid = void 0, this.limitStylingAppends = !1, this.showTooltip = !1;
1058
+ }
1059
+ handleStylingChange(a, i) {
1060
+ a !== i && this.setClientStyling();
1055
1061
  }
1056
1062
  validityChanged() {
1057
1063
  this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValue == !0 && this.valueHandler({ name: this.name, value: this.value });
@@ -1085,22 +1091,23 @@ const Nr = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.check
1085
1091
  return k("requiredError", this.language);
1086
1092
  }
1087
1093
  renderLabel() {
1088
- return c("label", { class: "checkbox__label", htmlFor: `${this.name}__input` }, c("div", { class: "checkbox__label-text", innerHTML: `${this.displayName} ${this.validation.mandatory ? "*" : ""}` }));
1094
+ return u("label", { class: "checkbox__label", htmlFor: `${this.name}__input` }, u("div", { class: "checkbox__label-text", innerHTML: `${this.displayName} ${this.validation.mandatory ? "*" : ""}` }));
1089
1095
  }
1090
1096
  renderTooltip() {
1091
- return this.showTooltip ? c("div", { class: `checkbox__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
1097
+ return this.showTooltip ? u("div", { class: `checkbox__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
1092
1098
  }
1093
1099
  render() {
1094
- return c("div", { key: "0aae00d291d1da02adae1bc91e79ccd579aa5c7f", class: `checkbox__wrapper ${this.name}__input`, ref: (a) => this.stylingContainer = a }, c("input", { key: "4b8c61d322b5065d8abe4e2687e270511fadc97f", class: "checkbox__input", type: "checkbox", id: `${this.name}__input`, ref: (a) => this.inputReference = a, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel(), c("small", { key: "934263cb58a0d379e8b7dc1f5004ad7e61c63ce0", class: "checkbox__error-message" }, this.errorMessage), c("div", { key: "88cc71329d88b6325d792226e64ff7f93e940178", class: "checkbox__wrapper--relative" }, this.tooltip && c("img", { key: "3708dc613dc920bac6557f2a8020bbafd97d9127", class: "checkbox__tooltip-icon", src: se, alt: "", ref: (a) => this.tooltipIconReference = a, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()));
1100
+ return u("div", { key: "8c80c955bb052558165a4c5b1020d0582ed0af36", class: `checkbox__wrapper ${this.name}__input`, ref: (a) => this.stylingContainer = a }, u("input", { key: "89401d543cb30b72ec614b0cd4e95b2e82b2522d", class: "checkbox__input", type: "checkbox", id: `${this.name}__input`, ref: (a) => this.inputReference = a, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel(), u("small", { key: "d007d8c02dd014a363e2fcc1a0e8df6ffda34bcb", class: "checkbox__error-message" }, this.errorMessage), u("div", { key: "c511c07684173359663d4907371efb82289f0433", class: "checkbox__wrapper--relative" }, this.tooltip && u("img", { key: "dd263ce86efd89f34078f3cc24729f43f40e89a6", class: "checkbox__tooltip-icon", src: se, alt: "", ref: (a) => this.tooltipIconReference = a, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()));
1095
1101
  }
1096
1102
  static get watchers() {
1097
1103
  return {
1104
+ clientStyling: ["handleStylingChange"],
1098
1105
  isValid: ["validityChanged"],
1099
1106
  emitValue: ["emitValueHandler"]
1100
1107
  };
1101
1108
  }
1102
1109
  };
1103
- qr.style = $r;
1110
+ Ur.style = $r;
1104
1111
  /**
1105
1112
  * @license
1106
1113
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
@@ -1172,7 +1179,7 @@ const xt = D`
1172
1179
  }
1173
1180
  }
1174
1181
  `;
1175
- P("", xt, { moduleId: "lumo-overlay" });
1182
+ S("", xt, { moduleId: "lumo-overlay" });
1176
1183
  /**
1177
1184
  * @license
1178
1185
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
@@ -1209,8 +1216,8 @@ const Ct = D`
1209
1216
  }
1210
1217
  }
1211
1218
  `;
1212
- P("", Ct, { moduleId: "lumo-menu-overlay-core" });
1213
- const Ur = D`
1219
+ S("", Ct, { moduleId: "lumo-menu-overlay-core" });
1220
+ const Yr = D`
1214
1221
  /* Small viewport (bottom sheet) styles */
1215
1222
  /* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
1216
1223
  @media (max-width: 450px), (max-height: 450px) {
@@ -1272,9 +1279,9 @@ const Ur = D`
1272
1279
  transform: translateY(150%);
1273
1280
  }
1274
1281
  }
1275
- `, gi = [xt, Ct, Ur];
1276
- P("", gi, { moduleId: "lumo-menu-overlay" });
1277
- const Yr = D`
1282
+ `, gi = [xt, Ct, Yr];
1283
+ S("", gi, { moduleId: "lumo-menu-overlay" });
1284
+ const qr = D`
1278
1285
  [part='overlay'] {
1279
1286
  /*
1280
1287
  Width:
@@ -1320,10 +1327,10 @@ const Yr = D`
1320
1327
  }
1321
1328
  }
1322
1329
  `;
1323
- P("vaadin-date-picker-overlay", [gi, Yr], {
1330
+ S("vaadin-date-picker-overlay", [gi, qr], {
1324
1331
  moduleId: "lumo-date-picker-overlay"
1325
1332
  });
1326
- P(
1333
+ S(
1327
1334
  "vaadin-date-picker-year",
1328
1335
  D`
1329
1336
  :host([current]) [part='year-number'] {
@@ -1352,7 +1359,7 @@ P(
1352
1359
  `,
1353
1360
  { moduleId: "lumo-date-picker-year" }
1354
1361
  );
1355
- P(
1362
+ S(
1356
1363
  "vaadin-date-picker-overlay-content",
1357
1364
  D`
1358
1365
  :host {
@@ -1507,7 +1514,7 @@ P(
1507
1514
  `,
1508
1515
  { moduleId: "lumo-date-picker-overlay-content" }
1509
1516
  );
1510
- P(
1517
+ S(
1511
1518
  "vaadin-month-calendar",
1512
1519
  D`
1513
1520
  :host {
@@ -1682,13 +1689,13 @@ const Wr = D`
1682
1689
  --_lumo-text-field-overflow-mask-image: none;
1683
1690
  }
1684
1691
  `;
1685
- P("vaadin-date-picker", [ni, Wr], { moduleId: "lumo-date-picker" });
1692
+ S("vaadin-date-picker", [hi, Wr], { moduleId: "lumo-date-picker" });
1686
1693
  /**
1687
1694
  * @license
1688
1695
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
1689
1696
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1690
1697
  */
1691
- const bi = D`
1698
+ const yi = D`
1692
1699
  :host {
1693
1700
  z-index: 200;
1694
1701
  position: fixed;
@@ -1757,11 +1764,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1757
1764
  Code distributed by Google as part of the polymer project is also
1758
1765
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1759
1766
  */
1760
- let ot = !1, jr = [], yi = [];
1767
+ let ot = !1, jr = [], bi = [];
1761
1768
  function Qr() {
1762
1769
  ot = !0, requestAnimationFrame(function() {
1763
1770
  ot = !1, Gr(jr), setTimeout(function() {
1764
- Xr(yi);
1771
+ Xr(bi);
1765
1772
  });
1766
1773
  });
1767
1774
  }
@@ -1784,18 +1791,18 @@ function wi(a) {
1784
1791
  }
1785
1792
  }
1786
1793
  function xi(a, i, e) {
1787
- ot || Qr(), yi.push([a, i, e]);
1794
+ ot || Qr(), bi.push([a, i, e]);
1788
1795
  }
1789
1796
  /**
1790
1797
  * @license
1791
1798
  * Copyright (c) 2017 Anton Korzunov
1792
1799
  * SPDX-License-Identifier: MIT
1793
1800
  */
1794
- let ue = /* @__PURE__ */ new WeakMap(), He = /* @__PURE__ */ new WeakMap(), ze = {}, Je = 0;
1795
- const qt = (a) => a && a.nodeType === Node.ELEMENT_NODE, Ze = (...a) => {
1801
+ let ce = /* @__PURE__ */ new WeakMap(), Ae = /* @__PURE__ */ new WeakMap(), He = {}, Je = 0;
1802
+ const Ut = (a) => a && a.nodeType === Node.ELEMENT_NODE, Ze = (...a) => {
1796
1803
  console.error(`Error: ${a.join(" ")}. Skip setting aria-hidden.`);
1797
- }, Kr = (a, i) => qt(a) ? i.map((e) => {
1798
- if (!qt(e))
1804
+ }, Kr = (a, i) => Ut(a) ? i.map((e) => {
1805
+ if (!Ut(e))
1799
1806
  return Ze(e, "is not a valid element"), null;
1800
1807
  let t = e;
1801
1808
  for (; t && t !== a; ) {
@@ -1806,8 +1813,8 @@ const qt = (a) => a && a.nodeType === Node.ELEMENT_NODE, Ze = (...a) => {
1806
1813
  return Ze(e, "is not contained inside", a), null;
1807
1814
  }).filter((e) => !!e) : (Ze(a, "is not a valid element"), []), Jr = (a, i, e, t) => {
1808
1815
  const r = Kr(i, Array.isArray(a) ? a : [a]);
1809
- ze[e] || (ze[e] = /* @__PURE__ */ new WeakMap());
1810
- const s = ze[e], n = [], o = /* @__PURE__ */ new Set(), l = new Set(r), d = (h) => {
1816
+ He[e] || (He[e] = /* @__PURE__ */ new WeakMap());
1817
+ const s = He[e], n = [], o = /* @__PURE__ */ new Set(), l = new Set(r), d = (h) => {
1811
1818
  if (!h || o.has(h))
1812
1819
  return;
1813
1820
  o.add(h);
@@ -1819,21 +1826,21 @@ const qt = (a) => a && a.nodeType === Node.ELEMENT_NODE, Ze = (...a) => {
1819
1826
  if (!h || l.has(h))
1820
1827
  return;
1821
1828
  const m = h.shadowRoot;
1822
- (m ? [...h.children, ...m.children] : [...h.children]).forEach((b) => {
1823
- if (!["template", "script", "style"].includes(b.localName))
1824
- if (o.has(b))
1825
- f(b);
1829
+ (m ? [...h.children, ...m.children] : [...h.children]).forEach((y) => {
1830
+ if (!["template", "script", "style"].includes(y.localName))
1831
+ if (o.has(y))
1832
+ f(y);
1826
1833
  else {
1827
- const B = b.getAttribute(t), z = B !== null && B !== "false", N = (ue.get(b) || 0) + 1, S = (s.get(b) || 0) + 1;
1828
- ue.set(b, N), s.set(b, S), n.push(b), N === 1 && z && He.set(b, !0), S === 1 && b.setAttribute(e, "true"), z || b.setAttribute(t, "true");
1834
+ const B = y.getAttribute(t), z = B !== null && B !== "false", N = (ce.get(y) || 0) + 1, P = (s.get(y) || 0) + 1;
1835
+ ce.set(y, N), s.set(y, P), n.push(y), N === 1 && z && Ae.set(y, !0), P === 1 && y.setAttribute(e, "true"), z || y.setAttribute(t, "true");
1829
1836
  }
1830
1837
  });
1831
1838
  };
1832
1839
  return f(i), o.clear(), Je += 1, () => {
1833
1840
  n.forEach((h) => {
1834
- const m = ue.get(h) - 1, _ = s.get(h) - 1;
1835
- ue.set(h, m), s.set(h, _), m || (He.has(h) ? He.delete(h) : h.removeAttribute(t)), _ || h.removeAttribute(e);
1836
- }), Je -= 1, Je || (ue = /* @__PURE__ */ new WeakMap(), ue = /* @__PURE__ */ new WeakMap(), He = /* @__PURE__ */ new WeakMap(), ze = {});
1841
+ const m = ce.get(h) - 1, g = s.get(h) - 1;
1842
+ ce.set(h, m), s.set(h, g), m || (Ae.has(h) ? Ae.delete(h) : h.removeAttribute(t)), g || h.removeAttribute(e);
1843
+ }), Je -= 1, Je || (ce = /* @__PURE__ */ new WeakMap(), ce = /* @__PURE__ */ new WeakMap(), Ae = /* @__PURE__ */ new WeakMap(), He = {});
1837
1844
  };
1838
1845
  }, Ci = (a, i = document.body, e = "data-aria-hidden") => {
1839
1846
  const t = Array.from(Array.isArray(a) ? a : [a]);
@@ -1917,7 +1924,7 @@ class ta {
1917
1924
  * @private
1918
1925
  */
1919
1926
  get __focusableElements() {
1920
- return Ir(this.__trapNode);
1927
+ return Sr(this.__trapNode);
1921
1928
  }
1922
1929
  /**
1923
1930
  * The index of the element inside the trap node that currently has focus.
@@ -1927,7 +1934,7 @@ class ta {
1927
1934
  */
1928
1935
  get __focusedElementIndex() {
1929
1936
  const i = this.__focusableElements;
1930
- return i.indexOf(i.filter(mi).pop());
1937
+ return i.indexOf(i.filter(_i).pop());
1931
1938
  }
1932
1939
  hostConnected() {
1933
1940
  document.addEventListener("keydown", this.__onKeyDown);
@@ -2153,23 +2160,20 @@ const Ti = (a) => class extends ia(aa(a)) {
2153
2160
  type: Boolean,
2154
2161
  notify: !0,
2155
2162
  observer: "_openedChanged",
2156
- reflectToAttribute: !0,
2157
- sync: !0
2163
+ reflectToAttribute: !0
2158
2164
  },
2159
2165
  /**
2160
2166
  * Owner element passed with renderer function
2161
2167
  * @type {HTMLElement}
2162
2168
  */
2163
2169
  owner: {
2164
- type: Object,
2165
- sync: !0
2170
+ type: Object
2166
2171
  },
2167
2172
  /**
2168
2173
  * Object with properties that is passed to `renderer` function
2169
2174
  */
2170
2175
  model: {
2171
- type: Object,
2172
- sync: !0
2176
+ type: Object
2173
2177
  },
2174
2178
  /**
2175
2179
  * Custom function for rendering the content of the overlay.
@@ -2181,8 +2185,7 @@ const Ti = (a) => class extends ia(aa(a)) {
2181
2185
  * @type {OverlayRenderer | null | undefined}
2182
2186
  */
2183
2187
  renderer: {
2184
- type: Object,
2185
- sync: !0
2188
+ type: Object
2186
2189
  },
2187
2190
  /**
2188
2191
  * When true the overlay won't disable the main content, showing
@@ -2193,8 +2196,7 @@ const Ti = (a) => class extends ia(aa(a)) {
2193
2196
  type: Boolean,
2194
2197
  value: !1,
2195
2198
  reflectToAttribute: !0,
2196
- observer: "_modelessChanged",
2197
- sync: !0
2199
+ observer: "_modelessChanged"
2198
2200
  },
2199
2201
  /**
2200
2202
  * When set to true, the overlay is hidden. This also closes the overlay
@@ -2204,8 +2206,7 @@ const Ti = (a) => class extends ia(aa(a)) {
2204
2206
  hidden: {
2205
2207
  type: Boolean,
2206
2208
  reflectToAttribute: !0,
2207
- observer: "_hiddenChanged",
2208
- sync: !0
2209
+ observer: "_hiddenChanged"
2209
2210
  },
2210
2211
  /**
2211
2212
  * When true the overlay has backdrop on top of content when opened.
@@ -2214,8 +2215,7 @@ const Ti = (a) => class extends ia(aa(a)) {
2214
2215
  withBackdrop: {
2215
2216
  type: Boolean,
2216
2217
  value: !1,
2217
- reflectToAttribute: !0,
2218
- sync: !0
2218
+ reflectToAttribute: !0
2219
2219
  }
2220
2220
  };
2221
2221
  }
@@ -2223,7 +2223,7 @@ const Ti = (a) => class extends ia(aa(a)) {
2223
2223
  return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
2224
2224
  }
2225
2225
  constructor() {
2226
- super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this), _i && (this._boundIosResizeListener = () => this._detectIosNavbar());
2226
+ super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this), ui && (this._boundIosResizeListener = () => this._detectIosNavbar());
2227
2227
  }
2228
2228
  /** @protected */
2229
2229
  ready() {
@@ -2427,19 +2427,19 @@ function sa(a, i) {
2427
2427
  const { left: l, top: d, width: f, height: h } = a.getBoundingClientRect();
2428
2428
  if (n || i(), !f || !h)
2429
2429
  return;
2430
- const m = Math.floor(d), _ = Math.floor(t.clientWidth - (l + f)), b = Math.floor(t.clientHeight - (d + h)), B = Math.floor(l), N = {
2431
- rootMargin: `${-m}px ${-_}px ${-b}px ${-B}px`,
2430
+ const m = Math.floor(d), g = Math.floor(t.clientWidth - (l + f)), y = Math.floor(t.clientHeight - (d + h)), B = Math.floor(l), N = {
2431
+ rootMargin: `${-m}px ${-g}px ${-y}px ${-B}px`,
2432
2432
  threshold: Math.max(0, Math.min(1, o)) || 1
2433
2433
  };
2434
- let S = !0;
2435
- function j(K) {
2436
- let U = K[0].intersectionRatio;
2437
- if (U !== o) {
2438
- if (!S)
2434
+ let P = !0;
2435
+ function j(X) {
2436
+ let Y = X[0].intersectionRatio;
2437
+ if (Y !== o) {
2438
+ if (!P)
2439
2439
  return s();
2440
- U === 0 && (U = 1e-7), s(!1, U);
2440
+ Y === 0 && (Y = 1e-7), s(!1, Y);
2441
2441
  }
2442
- S = !1;
2442
+ P = !1;
2443
2443
  }
2444
2444
  e = new IntersectionObserver(j, N), e.observe(a);
2445
2445
  }
@@ -2456,7 +2456,7 @@ const tt = {
2456
2456
  }, it = {
2457
2457
  start: "left",
2458
2458
  end: "right"
2459
- }, Ut = new ResizeObserver((a) => {
2459
+ }, Yt = new ResizeObserver((a) => {
2460
2460
  setTimeout(() => {
2461
2461
  a.forEach((i) => {
2462
2462
  i.target.__overlay && i.target.__overlay._updatePosition();
@@ -2561,7 +2561,7 @@ const tt = {
2561
2561
  }
2562
2562
  /** @private */
2563
2563
  __addUpdatePositionEventListeners() {
2564
- window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = xr(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
2564
+ window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = kr(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
2565
2565
  e.addEventListener("scroll", this.__onScroll, !0);
2566
2566
  }), this.positionTarget && (this.__observePositionTargetMove = sa(this.positionTarget, () => {
2567
2567
  this._updatePosition();
@@ -2575,7 +2575,7 @@ const tt = {
2575
2575
  }
2576
2576
  /** @private */
2577
2577
  __overlayOpenedChanged(e, t) {
2578
- if (this.__removeUpdatePositionEventListeners(), t && (t.__overlay = null, Ut.unobserve(t), e && (this.__addUpdatePositionEventListeners(), t.__overlay = this, Ut.observe(t))), e) {
2578
+ if (this.__removeUpdatePositionEventListeners(), t && (t.__overlay = null, Yt.unobserve(t), e && (this.__addUpdatePositionEventListeners(), t.__overlay = this, Yt.observe(t))), e) {
2579
2579
  const r = getComputedStyle(this);
2580
2580
  this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((s) => {
2581
2581
  this.__margins[s] = parseInt(r[s], 10);
@@ -2648,8 +2648,8 @@ const tt = {
2648
2648
  }
2649
2649
  // eslint-disable-next-line @typescript-eslint/max-params
2650
2650
  __shouldAlignStart(e, t, r, s, n, o, l) {
2651
- const d = r - e[o ? l.end : l.start] - s[l.end], f = e[o ? l.start : l.end] - s[l.start], h = n ? d : f, _ = h > (n ? f : d) || h > t;
2652
- return n === _;
2651
+ const d = r - e[o ? l.end : l.start] - s[l.end], f = e[o ? l.start : l.end] - s[l.start], h = n ? d : f, g = h > (n ? f : d) || h > t;
2652
+ return n === g;
2653
2653
  }
2654
2654
  /**
2655
2655
  * Returns an adjusted value after resizing the browser window,
@@ -2685,9 +2685,9 @@ const tt = {
2685
2685
  */
2686
2686
  // eslint-disable-next-line @typescript-eslint/max-params
2687
2687
  __calculatePositionInOneDimension(e, t, r, s, n, o) {
2688
- const l = o ? s.start : s.end, d = o ? s.end : s.start, f = parseFloat(n.style[l] || getComputedStyle(n)[l]), h = this.__adjustBottomProperty(l, s, f), m = t[o ? s.start : s.end] - e[r === o ? s.end : s.start], _ = h ? `${h}px` : `${f + m * (o ? -1 : 1)}px`;
2688
+ const l = o ? s.start : s.end, d = o ? s.end : s.start, f = parseFloat(n.style[l] || getComputedStyle(n)[l]), h = this.__adjustBottomProperty(l, s, f), m = t[o ? s.start : s.end] - e[r === o ? s.end : s.start], g = h ? `${h}px` : `${f + m * (o ? -1 : 1)}px`;
2689
2689
  return {
2690
- [l]: _,
2690
+ [l]: g,
2691
2691
  [d]: ""
2692
2692
  };
2693
2693
  }
@@ -2714,7 +2714,7 @@ const na = (a) => class extends Di(Ti(a)) {
2714
2714
  * @override
2715
2715
  */
2716
2716
  _mouseDownListener(e) {
2717
- super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !ui(e.composedPath()[0]) && e.preventDefault();
2717
+ super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !ci(e.composedPath()[0]) && e.preventDefault();
2718
2718
  }
2719
2719
  };
2720
2720
  /**
@@ -2743,15 +2743,15 @@ const oa = D`
2743
2743
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
2744
2744
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2745
2745
  */
2746
- P("vaadin-date-picker-overlay", [bi, oa], {
2746
+ S("vaadin-date-picker-overlay", [yi, oa], {
2747
2747
  moduleId: "vaadin-date-picker-overlay-styles"
2748
2748
  });
2749
- class la extends na(We(J(W))) {
2749
+ class la extends na(qe(K(W))) {
2750
2750
  static get is() {
2751
2751
  return "vaadin-date-picker-overlay";
2752
2752
  }
2753
2753
  static get template() {
2754
- return X`
2754
+ return G`
2755
2755
  <div id="backdrop" part="backdrop" hidden$="[[!withBackdrop]]"></div>
2756
2756
  <div part="overlay" id="overlay">
2757
2757
  <div part="content" id="content">
@@ -2761,26 +2761,26 @@ class la extends na(We(J(W))) {
2761
2761
  `;
2762
2762
  }
2763
2763
  }
2764
- q(la);
2764
+ U(la);
2765
2765
  /**
2766
2766
  * @license
2767
2767
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2768
2768
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2769
2769
  */
2770
- P("vaadin-button", hr, { moduleId: "vaadin-button-styles" });
2771
- class da extends cr(Se(J(Ee(W)))) {
2770
+ S("vaadin-button", fr, { moduleId: "vaadin-button-styles" });
2771
+ class da extends or(Pe(K(Ee(W)))) {
2772
2772
  static get is() {
2773
2773
  return "vaadin-button";
2774
2774
  }
2775
2775
  static get template() {
2776
- return ur(X);
2776
+ return lr(G);
2777
2777
  }
2778
2778
  /** @protected */
2779
2779
  ready() {
2780
- super.ready(), this._tooltipController = new Pe(this), this.addController(this._tooltipController);
2780
+ super.ready(), this._tooltipController = new Se(this), this.addController(this._tooltipController);
2781
2781
  }
2782
2782
  }
2783
- q(da);
2783
+ U(da);
2784
2784
  /**
2785
2785
  * @license
2786
2786
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
@@ -2798,7 +2798,7 @@ function dt(a) {
2798
2798
  const i = new Date(a);
2799
2799
  return i.setHours(0, 0, 0, 0), i;
2800
2800
  }
2801
- function G(a, i, e = dt) {
2801
+ function ie(a, i, e = dt) {
2802
2802
  return a instanceof Date && i instanceof Date && e(a).getTime() === e(i).getTime();
2803
2803
  }
2804
2804
  function kt(a) {
@@ -2808,7 +2808,7 @@ function kt(a) {
2808
2808
  year: a.getFullYear()
2809
2809
  };
2810
2810
  }
2811
- function _e(a, i, e, t) {
2811
+ function me(a, i, e, t) {
2812
2812
  let r = !1;
2813
2813
  if (typeof t == "function" && a) {
2814
2814
  const s = kt(a);
@@ -2826,11 +2826,11 @@ function Ii(a, i) {
2826
2826
  return r < s ? t : e;
2827
2827
  });
2828
2828
  }
2829
- function Pi(a) {
2829
+ function Si(a) {
2830
2830
  const i = /* @__PURE__ */ new Date(), e = new Date(i);
2831
2831
  return e.setDate(1), e.setMonth(parseInt(a) + i.getMonth()), e;
2832
2832
  }
2833
- function ca(a, i, e = 0, t = 1) {
2833
+ function ua(a, i, e = 0, t = 1) {
2834
2834
  if (i > 99)
2835
2835
  throw new Error("The provided year cannot have more than 2 digits.");
2836
2836
  if (i < 0)
@@ -2838,14 +2838,14 @@ function ca(a, i, e = 0, t = 1) {
2838
2838
  let r = i + Math.floor(a.getFullYear() / 100) * 100;
2839
2839
  return a < new Date(r - 50, e, t) ? r -= 100 : a > new Date(r + 50, e, t) && (r += 100), r;
2840
2840
  }
2841
- function De(a) {
2841
+ function Ce(a) {
2842
2842
  const i = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(a);
2843
2843
  if (!i)
2844
2844
  return;
2845
2845
  const e = new Date(0, 0);
2846
2846
  return e.setFullYear(parseInt(i[1], 10)), e.setMonth(parseInt(i[2], 10) - 1), e.setDate(parseInt(i[3], 10)), e;
2847
2847
  }
2848
- function ua(a) {
2848
+ function ca(a) {
2849
2849
  const i = (l, d = "00") => (d + l).substr((d + l).length - d.length);
2850
2850
  let e = "", t = "0000", r = a.year;
2851
2851
  r < 0 ? (r = -r, e = "-", t = "000000") : a.year >= 1e4 && (e = "+", t = "000000");
@@ -2853,7 +2853,7 @@ function ua(a) {
2853
2853
  return [s, n, o].join("-");
2854
2854
  }
2855
2855
  function pa(a) {
2856
- return a instanceof Date ? ua({
2856
+ return a instanceof Date ? ca({
2857
2857
  year: a.getFullYear(),
2858
2858
  month: a.getMonth(),
2859
2859
  day: a.getDate()
@@ -2868,7 +2868,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
2868
2868
  Code distributed by Google as part of the polymer project is also
2869
2869
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2870
2870
  */
2871
- class Be {
2871
+ class Re {
2872
2872
  constructor() {
2873
2873
  this._asyncModule = null, this._callback = null, this._timer = null;
2874
2874
  }
@@ -2956,13 +2956,13 @@ class Be {
2956
2956
  * @return {!Debouncer} Returns a debouncer object.
2957
2957
  */
2958
2958
  static debounce(i, e, t) {
2959
- return i instanceof Be ? i._cancelAsync() : i = new Be(), i.setConfig(e, t), i;
2959
+ return i instanceof Re ? i._cancelAsync() : i = new Re(), i.setConfig(e, t), i;
2960
2960
  }
2961
2961
  }
2962
2962
  let Ie = /* @__PURE__ */ new Set();
2963
2963
  const fa = function(a) {
2964
2964
  Ie.add(a);
2965
- }, _a = function() {
2965
+ }, ma = function() {
2966
2966
  const a = !!Ie.size;
2967
2967
  return Ie.forEach((i) => {
2968
2968
  try {
@@ -2986,7 +2986,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2986
2986
  const Tt = function() {
2987
2987
  let a, i;
2988
2988
  do
2989
- a = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), i = _a();
2989
+ a = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), i = ma();
2990
2990
  while (a || i);
2991
2991
  };
2992
2992
  /**
@@ -2994,8 +2994,8 @@ const Tt = function() {
2994
2994
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
2995
2995
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2996
2996
  */
2997
- const Si = document.createElement("template");
2998
- Si.innerHTML = `
2997
+ const Pi = document.createElement("template");
2998
+ Pi.innerHTML = `
2999
2999
  <style>
3000
3000
  :host {
3001
3001
  display: block;
@@ -3048,7 +3048,7 @@ Si.innerHTML = `
3048
3048
  `;
3049
3049
  class Ei extends HTMLElement {
3050
3050
  constructor() {
3051
- super(), this.attachShadow({ mode: "open" }).appendChild(Si.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
3051
+ super(), this.attachShadow({ mode: "open" }).appendChild(Pi.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
3052
3052
  }
3053
3053
  /**
3054
3054
  * @return {boolean}
@@ -3103,10 +3103,6 @@ class Ei extends HTMLElement {
3103
3103
  this.$[i.id] = i;
3104
3104
  }), this.$.scroller.addEventListener("scroll", () => this._scroll()), this._buffers = [...this.shadowRoot.querySelectorAll(".buffer")], this.$.fullHeight.style.height = `${this._initialScroll * 2}px`);
3105
3105
  }
3106
- /** @protected */
3107
- disconnectedCallback() {
3108
- this._debouncerScrollFinish && this._debouncerScrollFinish.cancel(), this._debouncerUpdateClones && this._debouncerUpdateClones.cancel(), this.__pendingFinishInit && cancelAnimationFrame(this.__pendingFinishInit);
3109
- }
3110
3106
  /**
3111
3107
  * Force the scroller to update clones after a reset, without
3112
3108
  * waiting for the debouncer to resolve.
@@ -3148,7 +3144,7 @@ class Ei extends HTMLElement {
3148
3144
  const i = this.$.scroller.scrollTop;
3149
3145
  (i < this._bufferHeight || i > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
3150
3146
  const e = this.itemHeight + this.bufferOffset, t = i > this._buffers[1].translateY + e, r = i < this._buffers[0].translateY + e;
3151
- (t || r) && (this._translateBuffer(r), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish = ie.debounce(this._debouncerScrollFinish, fe.after(200), () => {
3147
+ (t || r) && (this._translateBuffer(r), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish = te.debounce(this._debouncerScrollFinish, fe.after(200), () => {
3152
3148
  const s = this.$.scroller.getBoundingClientRect();
3153
3149
  !this._isVisible(this._buffers[0], s) && !this._isVisible(this._buffers[1], s) && (this.position = this.position);
3154
3150
  });
@@ -3157,7 +3153,7 @@ class Ei extends HTMLElement {
3157
3153
  _reset() {
3158
3154
  this._scrollDisabled = !0, this.$.scroller.scrollTop = this._initialScroll, this._buffers[0].translateY = this._initialScroll - this._bufferHeight, this._buffers[1].translateY = this._initialScroll, this._buffers.forEach((i) => {
3159
3155
  i.style.transform = `translate3d(0, ${i.translateY}px, 0)`;
3160
- }), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = ie.debounce(this._debouncerUpdateClones, fe.after(200), () => {
3156
+ }), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = te.debounce(this._debouncerUpdateClones, fe.after(200), () => {
3161
3157
  this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones();
3162
3158
  }), this._scrollDisabled = !1;
3163
3159
  }
@@ -3171,8 +3167,8 @@ class Ei extends HTMLElement {
3171
3167
  const s = `vaadin-infinite-scroller-item-content-${vi()}`, n = document.createElement("slot");
3172
3168
  n.setAttribute("name", s), n._itemWrapper = r, e.appendChild(n), r.setAttribute("slot", s), this.appendChild(r), this._isVisible(r, i) && this._ensureStampedInstance(r);
3173
3169
  }
3174
- }), this.__pendingFinishInit = requestAnimationFrame(() => {
3175
- this._finishInit(), this.__pendingFinishInit = null;
3170
+ }), requestAnimationFrame(() => {
3171
+ this._finishInit();
3176
3172
  });
3177
3173
  }
3178
3174
  /** @private */
@@ -3180,7 +3176,7 @@ class Ei extends HTMLElement {
3180
3176
  if (i.firstElementChild)
3181
3177
  return;
3182
3178
  const e = i.instance;
3183
- i.instance = this._createElement(), i.appendChild(i.instance), i.instance.performUpdate && i.instance.performUpdate(), Object.keys(e).forEach((t) => {
3179
+ i.instance = this._createElement(), i.appendChild(i.instance), Object.keys(e).forEach((t) => {
3184
3180
  i.instance[t] = e[t];
3185
3181
  });
3186
3182
  }
@@ -3209,8 +3205,8 @@ class Ei extends HTMLElement {
3209
3205
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3210
3206
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3211
3207
  */
3212
- const Oi = document.createElement("template");
3213
- Oi.innerHTML = `
3208
+ const Mi = document.createElement("template");
3209
+ Mi.innerHTML = `
3214
3210
  <style>
3215
3211
  :host {
3216
3212
  --vaadin-infinite-scroller-item-height: 270px;
@@ -3223,12 +3219,12 @@ Oi.innerHTML = `
3223
3219
  }
3224
3220
  </style>
3225
3221
  `;
3226
- class ma extends Ei {
3222
+ class _a extends Ei {
3227
3223
  static get is() {
3228
3224
  return "vaadin-date-picker-month-scroller";
3229
3225
  }
3230
3226
  constructor() {
3231
- super(), this.bufferSize = 3, this.shadowRoot.appendChild(Oi.content.cloneNode(!0));
3227
+ super(), this.bufferSize = 3, this.shadowRoot.appendChild(Mi.content.cloneNode(!0));
3232
3228
  }
3233
3229
  /**
3234
3230
  * @protected
@@ -3244,17 +3240,17 @@ class ma extends Ei {
3244
3240
  * @override
3245
3241
  */
3246
3242
  _updateElement(i, e) {
3247
- i.month = Pi(e);
3243
+ i.month = Si(e);
3248
3244
  }
3249
3245
  }
3250
- q(ma);
3246
+ U(_a);
3251
3247
  /**
3252
3248
  * @license
3253
3249
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3254
3250
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3255
3251
  */
3256
- const Mi = document.createElement("template");
3257
- Mi.innerHTML = `
3252
+ const Oi = document.createElement("template");
3253
+ Oi.innerHTML = `
3258
3254
  <style>
3259
3255
  :host {
3260
3256
  --vaadin-infinite-scroller-item-height: 80px;
@@ -3294,7 +3290,7 @@ class va extends Ei {
3294
3290
  return "vaadin-date-picker-year-scroller";
3295
3291
  }
3296
3292
  constructor() {
3297
- super(), this.bufferSize = 12, this.shadowRoot.appendChild(Mi.content.cloneNode(!0));
3293
+ super(), this.bufferSize = 12, this.shadowRoot.appendChild(Oi.content.cloneNode(!0));
3298
3294
  }
3299
3295
  /**
3300
3296
  * @protected
@@ -3318,7 +3314,7 @@ class va extends Ei {
3318
3314
  return t.setFullYear(parseInt(i) + e.getFullYear()), t.getFullYear();
3319
3315
  }
3320
3316
  }
3321
- q(va);
3317
+ U(va);
3322
3318
  /**
3323
3319
  * @license
3324
3320
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
@@ -3350,12 +3346,12 @@ const ga = (a) => class extends a {
3350
3346
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3351
3347
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3352
3348
  */
3353
- class ba extends J(ga(W)) {
3349
+ class ya extends K(ga(W)) {
3354
3350
  static get is() {
3355
3351
  return "vaadin-date-picker-year";
3356
3352
  }
3357
3353
  static get template() {
3358
- return X`
3354
+ return G`
3359
3355
  <style>
3360
3356
  :host {
3361
3357
  display: block;
@@ -3367,7 +3363,7 @@ class ba extends J(ga(W)) {
3367
3363
  `;
3368
3364
  }
3369
3365
  }
3370
- q(ba);
3366
+ U(ya);
3371
3367
  /**
3372
3368
  @license
3373
3369
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -3383,7 +3379,7 @@ function Dt(a, i, e, t, r) {
3383
3379
  let n = t !== e && (t === t || e === e);
3384
3380
  return s && n && (a.__dataTemp[i] = e), n;
3385
3381
  }
3386
- const It = mt((a) => {
3382
+ const It = _t((a) => {
3387
3383
  class i extends a {
3388
3384
  /**
3389
3385
  * Overrides `PropertyEffects` to provide option for skipping
@@ -3407,7 +3403,7 @@ const It = mt((a) => {
3407
3403
  }
3408
3404
  }
3409
3405
  return i;
3410
- }), ya = mt((a) => {
3406
+ }), ba = _t((a) => {
3411
3407
  class i extends a {
3412
3408
  /** @nocollapse */
3413
3409
  static get properties() {
@@ -3455,20 +3451,20 @@ Code distributed by Google as part of the polymer project is also
3455
3451
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3456
3452
  */
3457
3453
  let ht = null;
3458
- function ct() {
3454
+ function ut() {
3459
3455
  return ht;
3460
3456
  }
3461
- ct.prototype = Object.create(HTMLTemplateElement.prototype, {
3457
+ ut.prototype = Object.create(HTMLTemplateElement.prototype, {
3462
3458
  constructor: {
3463
- value: ct,
3459
+ value: ut,
3464
3460
  writable: !0
3465
3461
  }
3466
3462
  });
3467
- const Vi = oi(ct), wa = It(Vi);
3463
+ const Vi = si(ut), wa = It(Vi);
3468
3464
  function xa(a, i) {
3469
3465
  ht = a, Object.setPrototypeOf(a, i.prototype), new i(), ht = null;
3470
3466
  }
3471
- const Ca = oi(class {
3467
+ const Ca = si(class {
3472
3468
  });
3473
3469
  function ka(a, i) {
3474
3470
  for (let e = 0; e < i.length; e++) {
@@ -3478,16 +3474,17 @@ function ka(a, i) {
3478
3474
  a ? (t.__polymerTextContent__ = t.textContent, t.textContent = "") : t.textContent = t.__polymerTextContent__;
3479
3475
  else if (t.localName === "slot")
3480
3476
  if (a)
3481
- t.__polymerReplaced__ = document.createComment("hidden-slot"), Z(Z(t).parentNode).replaceChild(t.__polymerReplaced__, t);
3477
+ t.__polymerReplaced__ = document.createComment("hidden-slot"), J(J(t).parentNode).replaceChild(t.__polymerReplaced__, t);
3482
3478
  else {
3483
3479
  const r = t.__polymerReplaced__;
3484
- r && Z(Z(r).parentNode).replaceChild(t, r);
3480
+ r && J(J(r).parentNode).replaceChild(t, r);
3485
3481
  }
3486
- else t.style && (a ? (t.__polymerDisplay__ = t.style.display, t.style.display = "none") : t.style.display = t.__polymerDisplay__);
3482
+ else
3483
+ t.style && (a ? (t.__polymerDisplay__ = t.style.display, t.style.display = "none") : t.style.display = t.__polymerDisplay__);
3487
3484
  t.__hideTemplateChildren__ = a, t._showHideChildren && t._showHideChildren(a);
3488
3485
  }
3489
3486
  }
3490
- class Pt extends Ca {
3487
+ class St extends Ca {
3491
3488
  constructor(i) {
3492
3489
  super(), this._configureProperties(i), this.root = this._stampTemplate(this.__dataHost);
3493
3490
  let e = [];
@@ -3608,18 +3605,18 @@ const Ta = It(
3608
3605
  // This cast shouldn't be neccessary, but Closure doesn't understand that
3609
3606
  // TemplateInstanceBase is a constructor function.
3610
3607
  /** @type {function(new:TemplateInstanceBase)} */
3611
- Pt
3608
+ St
3612
3609
  );
3613
- function Yt(a) {
3610
+ function qt(a) {
3614
3611
  let i = a.__dataHost;
3615
3612
  return i && i._methodHost || i;
3616
3613
  }
3617
3614
  function Da(a, i, e) {
3618
- let t = e.mutableData ? Ta : Pt;
3619
- ut.mixin && (t = ut.mixin(t));
3615
+ let t = e.mutableData ? Ta : St;
3616
+ ct.mixin && (t = ct.mixin(t));
3620
3617
  let r = class extends t {
3621
3618
  };
3622
- return r.prototype.__templatizeOptions = e, r.prototype._bindTemplate(a), Sa(r, a, i, e), r;
3619
+ return r.prototype.__templatizeOptions = e, r.prototype._bindTemplate(a), Pa(r, a, i, e), r;
3623
3620
  }
3624
3621
  function Ia(a, i, e, t) {
3625
3622
  let r = e.forwardHostProp;
@@ -3643,9 +3640,9 @@ function Ia(a, i, e, t) {
3643
3640
  n.prototype._addPropertyEffect(
3644
3641
  "_host_" + l,
3645
3642
  n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
3646
- { fn: Pa(l, r) }
3643
+ { fn: Sa(l, r) }
3647
3644
  ), n.prototype._createNotifyingProperty("_host_" + l);
3648
- Dr && t && Ma(i, e, t);
3645
+ Pr && t && Oa(i, e, t);
3649
3646
  }
3650
3647
  if (a.__dataProto && Object.assign(a.__data, a.__dataProto), s)
3651
3648
  xa(a, n), a.__dataTemp = {}, a.__dataPending = null, a.__dataOld = null, a._enableProperties();
@@ -3660,7 +3657,7 @@ function Ia(a, i, e, t) {
3660
3657
  }
3661
3658
  }
3662
3659
  }
3663
- function Pa(a, i) {
3660
+ function Sa(a, i) {
3664
3661
  return function(t, r, s) {
3665
3662
  i.call(
3666
3663
  t.__templatizeOwner,
@@ -3669,7 +3666,7 @@ function Pa(a, i) {
3669
3666
  );
3670
3667
  };
3671
3668
  }
3672
- function Sa(a, i, e, t) {
3669
+ function Pa(a, i, e, t) {
3673
3670
  let r = e.hostProps || {};
3674
3671
  for (let s in t.instanceProps) {
3675
3672
  delete r[s];
@@ -3685,7 +3682,7 @@ function Sa(a, i, e, t) {
3685
3682
  e.hasHostProps || (e.hasHostProps = !0), a.prototype._addPropertyEffect(
3686
3683
  s,
3687
3684
  a.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
3688
- { fn: Oa() }
3685
+ { fn: Ma() }
3689
3686
  );
3690
3687
  }
3691
3688
  function Ea(a, i) {
@@ -3698,21 +3695,21 @@ function Ea(a, i) {
3698
3695
  );
3699
3696
  };
3700
3697
  }
3701
- function Oa() {
3698
+ function Ma() {
3702
3699
  return function(i, e, t) {
3703
3700
  i.__dataHost._setPendingPropertyOrPath("_host_" + e, t[e], !0, !0);
3704
3701
  };
3705
3702
  }
3706
- function ut(a, i, e) {
3707
- if (Tr && !Yt(a))
3703
+ function ct(a, i, e) {
3704
+ if (Tr && !qt(a))
3708
3705
  throw new Error("strictTemplatePolicy: template owner not trusted");
3709
3706
  if (e = /** @type {!TemplatizeOptions} */
3710
3707
  e || {}, a.__templatizeOwner)
3711
3708
  throw new Error("A <template> can only be templatized once");
3712
3709
  a.__templatizeOwner = i;
3713
- let r = (i ? i.constructor : Pt)._parseTemplate(a), s = r.templatizeInstanceClass;
3710
+ let r = (i ? i.constructor : St)._parseTemplate(a), s = r.templatizeInstanceClass;
3714
3711
  s || (s = Da(a, r, e), r.templatizeInstanceClass = s);
3715
- const n = Yt(a);
3712
+ const n = qt(a);
3716
3713
  Ia(a, r, e, n);
3717
3714
  let o = class extends s {
3718
3715
  };
@@ -3721,7 +3718,7 @@ function ut(a, i, e) {
3721
3718
  i, o.prototype.__hostProps = r.hostProps, o = /** @type {function(new:TemplateInstanceBase)} */
3722
3719
  o, o;
3723
3720
  }
3724
- function Ma(a, i, e) {
3721
+ function Oa(a, i, e) {
3725
3722
  const t = e.constructor._properties, { propertyEffects: r } = a, { instanceProps: s } = i;
3726
3723
  for (let n in r)
3727
3724
  if (!t[n] && !(s && s[n])) {
@@ -3744,7 +3741,7 @@ function Va(a, i) {
3744
3741
  else
3745
3742
  return e;
3746
3743
  else
3747
- i = Z(i).parentNode;
3744
+ i = J(i).parentNode;
3748
3745
  return null;
3749
3746
  }
3750
3747
  /**
@@ -3758,7 +3755,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3758
3755
  */
3759
3756
  let Wt = !1;
3760
3757
  function Fa() {
3761
- if (Cr && !kr) {
3758
+ if (Dr && !Ir) {
3762
3759
  if (!Wt) {
3763
3760
  Wt = !0;
3764
3761
  const a = document.createElement("style");
@@ -3777,7 +3774,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
3777
3774
  Code distributed by Google as part of the polymer project is also
3778
3775
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3779
3776
  */
3780
- const Aa = ya(W);
3777
+ const Aa = ba(W);
3781
3778
  class jt extends Aa {
3782
3779
  // Not needed to find template; can be removed once the analyzer
3783
3780
  // can find the tag name from customElements.define call
@@ -3958,7 +3955,7 @@ class jt extends Aa {
3958
3955
  connectedCallback() {
3959
3956
  if (super.connectedCallback(), Fa() || (this.style.display = "none"), this.__isDetached) {
3960
3957
  this.__isDetached = !1;
3961
- let i = Z(Z(this).parentNode);
3958
+ let i = J(J(this).parentNode);
3962
3959
  for (let e = 0; e < this.__instances.length; e++)
3963
3960
  this.__attachInstance(e, i);
3964
3961
  this.__chunkingId && this.__render();
@@ -3985,7 +3982,7 @@ class jt extends Aa {
3985
3982
  return r.observe(this, { childList: !0 }), !1;
3986
3983
  }
3987
3984
  let t = {};
3988
- t[this.as] = !0, t[this.indexAs] = !0, t[this.itemsIndexAs] = !0, this.__ctor = ut(e, this, {
3985
+ t[this.as] = !0, t[this.indexAs] = !0, t[this.itemsIndexAs] = !0, this.__ctor = ct(e, this, {
3989
3986
  mutableData: this.mutableData,
3990
3987
  parentModel: !0,
3991
3988
  instanceProps: t,
@@ -4006,10 +4003,10 @@ class jt extends Aa {
4006
4003
  * @param {*} value Value to notify
4007
4004
  */
4008
4005
  notifyInstanceProp: function(r, s, n) {
4009
- if (Pr(this.as, s)) {
4006
+ if (mr(this.as, s)) {
4010
4007
  let o = r[this.itemsIndexAs];
4011
4008
  s == this.as && (this.items[o] = n);
4012
- let l = Sr(this.as, `${JSCompiler_renameProperty("items", this)}.${o}`, s);
4009
+ let l = _r(this.as, `${JSCompiler_renameProperty("items", this)}.${o}`, s);
4013
4010
  this.notifyPath(l, n);
4014
4011
  }
4015
4012
  }
@@ -4060,9 +4057,9 @@ class jt extends Aa {
4060
4057
  * @param {number=} delay Delay in ms to debounce by.
4061
4058
  */
4062
4059
  __debounceRender(i, e = 0) {
4063
- this.__renderDebouncer = Be.debounce(
4060
+ this.__renderDebouncer = Re.debounce(
4064
4061
  this.__renderDebouncer,
4065
- e > 0 ? _r.after(e) : mr,
4062
+ e > 0 ? vr.after(e) : gr,
4066
4063
  i.bind(this)
4067
4064
  ), fa(this.__renderDebouncer);
4068
4065
  }
@@ -4126,7 +4123,7 @@ class jt extends Aa {
4126
4123
  }
4127
4124
  __detachInstance(i) {
4128
4125
  let e = this.__instances[i];
4129
- const t = Z(e.root);
4126
+ const t = J(e.root);
4130
4127
  for (let r = 0; r < e.children.length; r++) {
4131
4128
  let s = e.children[r];
4132
4129
  t.appendChild(s);
@@ -4147,7 +4144,7 @@ class jt extends Aa {
4147
4144
  __insertInstance(i, e, t) {
4148
4145
  const r = this.__stampInstance(i, e, t);
4149
4146
  let s = this.__instances[e + 1], n = s ? s.children[0] : this;
4150
- return Z(Z(this).parentNode).insertBefore(r.root, n), this.__instances[e] = r, r;
4147
+ return J(J(this).parentNode).insertBefore(r.root, n), this.__instances[e] = r, r;
4151
4148
  }
4152
4149
  // Implements extension point from Templatize mixin
4153
4150
  /**
@@ -4233,7 +4230,7 @@ customElements.define(jt.is, jt);
4233
4230
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
4234
4231
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4235
4232
  */
4236
- const Ha = (a) => class extends yt(a) {
4233
+ const Ha = (a) => class extends bt(a) {
4237
4234
  static get properties() {
4238
4235
  return {
4239
4236
  /**
@@ -4303,9 +4300,6 @@ const Ha = (a) => class extends yt(a) {
4303
4300
  type: Function,
4304
4301
  value: () => !1
4305
4302
  },
4306
- enteredDate: {
4307
- type: Date
4308
- },
4309
4303
  disabled: {
4310
4304
  type: Boolean,
4311
4305
  reflectToAttribute: !0
@@ -4321,10 +4315,6 @@ const Ha = (a) => class extends yt(a) {
4321
4315
  /** @private */
4322
4316
  _notTapping: {
4323
4317
  type: Boolean
4324
- },
4325
- /** @private */
4326
- __hasFocus: {
4327
- type: Boolean
4328
4318
  }
4329
4319
  };
4330
4320
  }
@@ -4332,16 +4322,12 @@ const Ha = (a) => class extends yt(a) {
4332
4322
  return ["__focusedDateChanged(focusedDate, _days)"];
4333
4323
  }
4334
4324
  get focusableDateElement() {
4335
- return [...this.shadowRoot.querySelectorAll("[part~=date]")].find((e) => G(e.date, this.focusedDate));
4325
+ return [...this.shadowRoot.querySelectorAll("[part~=date]")].find((e) => ie(e.date, this.focusedDate));
4336
4326
  }
4337
4327
  /** @protected */
4338
4328
  ready() {
4339
4329
  super.ready(), le(this.$.monthGrid, "tap", this._handleTap.bind(this));
4340
4330
  }
4341
- /** @override */
4342
- _setFocused(e) {
4343
- super._setFocused(e), this.__hasFocus = e;
4344
- }
4345
4331
  /**
4346
4332
  * Returns true if all the dates in the month are out of the allowed range
4347
4333
  * @protected
@@ -4350,7 +4336,7 @@ const Ha = (a) => class extends yt(a) {
4350
4336
  const s = new Date(0, 0);
4351
4337
  s.setFullYear(e.getFullYear()), s.setMonth(e.getMonth()), s.setDate(1);
4352
4338
  const n = new Date(0, 0);
4353
- return n.setFullYear(e.getFullYear()), n.setMonth(e.getMonth() + 1), n.setDate(0), t && r && t.getMonth() === r.getMonth() && t.getMonth() === e.getMonth() && r.getDate() - t.getDate() >= 0 ? !1 : !_e(s, t, r) && !_e(n, t, r);
4339
+ return n.setFullYear(e.getFullYear()), n.setMonth(e.getMonth() + 1), n.setDate(0), t && r && t.getMonth() === r.getMonth() && t.getMonth() === e.getMonth() && r.getDate() - t.getDate() >= 0 ? !1 : !me(s, t, r) && !me(n, t, r);
4354
4340
  }
4355
4341
  /** @protected */
4356
4342
  _getTitle(e, t) {
@@ -4384,7 +4370,7 @@ const Ha = (a) => class extends yt(a) {
4384
4370
  }
4385
4371
  /** @private */
4386
4372
  __focusedDateChanged(e, t) {
4387
- Array.isArray(t) && t.some((r) => G(r, e)) ? this.removeAttribute("aria-hidden") : this.setAttribute("aria-hidden", "true");
4373
+ Array.isArray(t) && t.some((r) => ie(r, e)) ? this.removeAttribute("aria-hidden") : this.setAttribute("aria-hidden", "true");
4388
4374
  }
4389
4375
  /** @protected */
4390
4376
  _getDate(e) {
@@ -4396,7 +4382,7 @@ const Ha = (a) => class extends yt(a) {
4396
4382
  }
4397
4383
  /** @protected */
4398
4384
  _isToday(e) {
4399
- return G(/* @__PURE__ */ new Date(), e);
4385
+ return ie(/* @__PURE__ */ new Date(), e);
4400
4386
  }
4401
4387
  /** @protected */
4402
4388
  _getDays(e, t) {
@@ -4504,12 +4490,12 @@ const za = D`
4504
4490
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
4505
4491
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4506
4492
  */
4507
- P("vaadin-month-calendar", za, {
4493
+ S("vaadin-month-calendar", za, {
4508
4494
  moduleId: "vaadin-month-calendar-styles"
4509
4495
  });
4510
- class La extends Ha(J(W)) {
4496
+ class La extends Ha(K(W)) {
4511
4497
  static get template() {
4512
- return X`
4498
+ return G`
4513
4499
  <div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
4514
4500
  <table
4515
4501
  id="monthGrid"
@@ -4537,7 +4523,7 @@ class La extends Ha(J(W)) {
4537
4523
  <template is="dom-repeat" items="[[week]]">
4538
4524
  <td
4539
4525
  role="gridcell"
4540
- part$="[[__getDatePart(item, focusedDate, selectedDate, minDate, maxDate, isDateDisabled, enteredDate, __hasFocus)]]"
4526
+ part$="[[__getDatePart(item, focusedDate, selectedDate, minDate, maxDate, isDateDisabled)]]"
4541
4527
  date="[[item]]"
4542
4528
  tabindex$="[[__getDayTabindex(item, focusedDate)]]"
4543
4529
  disabled$="[[__isDayDisabled(item, minDate, maxDate, isDateDisabled)]]"
@@ -4584,13 +4570,17 @@ class La extends Ha(J(W)) {
4584
4570
  }
4585
4571
  /** @private */
4586
4572
  // eslint-disable-next-line @typescript-eslint/max-params
4587
- __getDatePart(i, e, t, r, s, n, o, l) {
4588
- const d = ["date"], f = i > dt(/* @__PURE__ */ new Date()), h = i < dt(/* @__PURE__ */ new Date());
4589
- return this.__isDayDisabled(i, r, s, n) && d.push("disabled"), G(i, e) && (l || G(i, o)) && d.push("focused"), this.__isDaySelected(i, t) && d.push("selected"), this._isToday(i) && d.push("today"), h && d.push("past"), f && d.push("future"), d.join(" ");
4573
+ __getDatePart(i, e, t, r, s, n) {
4574
+ const o = ["date"], l = i > dt(/* @__PURE__ */ new Date()), d = i < dt(/* @__PURE__ */ new Date());
4575
+ return this.__isDayDisabled(i, r, s, n) && o.push("disabled"), this.__isDayFocused(i, e) && o.push("focused"), this.__isDaySelected(i, t) && o.push("selected"), this._isToday(i) && o.push("today"), d && o.push("past"), l && o.push("future"), o.join(" ");
4576
+ }
4577
+ /** @private */
4578
+ __isDayFocused(i, e) {
4579
+ return ie(i, e);
4590
4580
  }
4591
4581
  /** @private */
4592
4582
  __isDaySelected(i, e) {
4593
- return G(i, e);
4583
+ return ie(i, e);
4594
4584
  }
4595
4585
  /** @private */
4596
4586
  __getDayAriaSelected(i, e) {
@@ -4599,7 +4589,7 @@ class La extends Ha(J(W)) {
4599
4589
  }
4600
4590
  /** @private */
4601
4591
  __isDayDisabled(i, e, t, r) {
4602
- return !_e(i, e, t, r);
4592
+ return !me(i, e, t, r);
4603
4593
  }
4604
4594
  /** @private */
4605
4595
  __getDayAriaDisabled(i, e, t, r) {
@@ -4608,10 +4598,10 @@ class La extends Ha(J(W)) {
4608
4598
  }
4609
4599
  /** @private */
4610
4600
  __getDayTabindex(i, e) {
4611
- return G(i, e) ? "0" : "-1";
4601
+ return this.__isDayFocused(i, e) ? "0" : "-1";
4612
4602
  }
4613
4603
  }
4614
- q(La);
4604
+ U(La);
4615
4605
  /**
4616
4606
  * @license
4617
4607
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
@@ -4675,8 +4665,7 @@ const Ra = (a) => class extends a {
4675
4665
  */
4676
4666
  initialPosition: {
4677
4667
  type: Object,
4678
- observer: "_initialPositionChanged",
4679
- sync: !0
4668
+ observer: "_initialPositionChanged"
4680
4669
  },
4681
4670
  _originDate: {
4682
4671
  type: Object,
@@ -4730,10 +4719,6 @@ const Ra = (a) => class extends a {
4730
4719
  isDateDisabled: {
4731
4720
  type: Function
4732
4721
  },
4733
- enteredDate: {
4734
- type: Date,
4735
- sync: !0
4736
- },
4737
4722
  /**
4738
4723
  * Input label
4739
4724
  */
@@ -4756,7 +4741,7 @@ const Ra = (a) => class extends a {
4756
4741
  }
4757
4742
  static get observers() {
4758
4743
  return [
4759
- "__updateCalendars(calendars, i18n, minDate, maxDate, selectedDate, focusedDate, showWeekNumbers, _ignoreTaps, _theme, isDateDisabled, enteredDate)",
4744
+ "__updateCalendars(calendars, i18n, minDate, maxDate, selectedDate, focusedDate, showWeekNumbers, _ignoreTaps, _theme, isDateDisabled)",
4760
4745
  "__updateCancelButton(_cancelButton, i18n)",
4761
4746
  "__updateTodayButton(_todayButton, i18n, minDate, maxDate, isDateDisabled)",
4762
4747
  "__updateYears(years, selectedDate, _theme)"
@@ -4778,7 +4763,7 @@ const Ra = (a) => class extends a {
4778
4763
  }
4779
4764
  /** @protected */
4780
4765
  _addListeners() {
4781
- vr(this.$.scrollers, "pan-y"), le(this.$.scrollers, "track", this._track.bind(this)), le(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), le(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), le(
4766
+ yr(this.$.scrollers, "pan-y"), le(this.$.scrollers, "track", this._track.bind(this)), le(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), le(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), le(
4782
4767
  this.shadowRoot.querySelector('[part="years-toggle-button"]'),
4783
4768
  "tap",
4784
4769
  this._toggleYearScroller.bind(this)
@@ -4791,14 +4776,14 @@ const Ra = (a) => class extends a {
4791
4776
  this._desktopMode = e;
4792
4777
  })
4793
4778
  ), this.addController(
4794
- new Ae(this, "today-button", "vaadin-button", {
4779
+ new Fe(this, "today-button", "vaadin-button", {
4795
4780
  observe: !1,
4796
4781
  initializer: (e) => {
4797
4782
  e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (t) => this.__onTodayButtonKeyDown(t)), le(e, "tap", this._onTodayTap.bind(this)), this._todayButton = e;
4798
4783
  }
4799
4784
  })
4800
4785
  ), this.addController(
4801
- new Ae(this, "cancel-button", "vaadin-button", {
4786
+ new Fe(this, "cancel-button", "vaadin-button", {
4802
4787
  observe: !1,
4803
4788
  initializer: (e) => {
4804
4789
  e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (t) => this.__onCancelButtonKeyDown(t)), le(e, "tap", this._cancel.bind(this)), this._cancelButton = e;
@@ -4825,7 +4810,7 @@ const Ra = (a) => class extends a {
4825
4810
  /** @private */
4826
4811
  __initMonthScroller() {
4827
4812
  this.addController(
4828
- new Ae(this, "months", "vaadin-date-picker-month-scroller", {
4813
+ new Fe(this, "months", "vaadin-date-picker-month-scroller", {
4829
4814
  observe: !1,
4830
4815
  initializer: (e) => {
4831
4816
  e.addEventListener("custom-scroll", () => {
@@ -4849,7 +4834,7 @@ const Ra = (a) => class extends a {
4849
4834
  /** @private */
4850
4835
  __initYearScroller() {
4851
4836
  this.addController(
4852
- new Ae(this, "years", "vaadin-date-picker-year-scroller", {
4837
+ new Fe(this, "years", "vaadin-date-picker-year-scroller", {
4853
4838
  observe: !1,
4854
4839
  initializer: (e) => {
4855
4840
  e.setAttribute("aria-hidden", "true"), le(e, "tap", (t) => {
@@ -4874,9 +4859,9 @@ const Ra = (a) => class extends a {
4874
4859
  e && (e.textContent = t && t.today, e.disabled = !this._isTodayAllowed(r, s, n));
4875
4860
  }
4876
4861
  // eslint-disable-next-line @typescript-eslint/max-params
4877
- __updateCalendars(e, t, r, s, n, o, l, d, f, h, m) {
4878
- e && e.length && e.forEach((_) => {
4879
- _.i18n = t, _.minDate = r, _.maxDate = s, _.isDateDisabled = h, _.focusedDate = o, _.selectedDate = n, _.showWeekNumbers = l, _.ignoreTaps = d, _.enteredDate = m, f ? _.setAttribute("theme", f) : _.removeAttribute("theme");
4862
+ __updateCalendars(e, t, r, s, n, o, l, d, f, h) {
4863
+ e && e.length && e.forEach((m) => {
4864
+ m.i18n = t, m.minDate = r, m.maxDate = s, m.isDateDisabled = h, m.focusedDate = o, m.selectedDate = n, m.showWeekNumbers = l, m.ignoreTaps = d, f ? m.setAttribute("theme", f) : m.removeAttribute("theme");
4880
4865
  });
4881
4866
  }
4882
4867
  /** @private */
@@ -4973,7 +4958,7 @@ const Ra = (a) => class extends a {
4973
4958
  }
4974
4959
  /** @private */
4975
4960
  _doIgnoreTaps() {
4976
- this._ignoreTaps = !0, this._debouncer = ie.debounce(this._debouncer, fe.after(300), () => {
4961
+ this._ignoreTaps = !0, this._debouncer = te.debounce(this._debouncer, fe.after(300), () => {
4977
4962
  this._ignoreTaps = !1;
4978
4963
  });
4979
4964
  }
@@ -5096,7 +5081,7 @@ const Ra = (a) => class extends a {
5096
5081
  }
5097
5082
  /** @private */
5098
5083
  _yearAfterXMonths(e) {
5099
- return Pi(e).getFullYear();
5084
+ return Si(e).getFullYear();
5100
5085
  }
5101
5086
  /** @private */
5102
5087
  _differenceInMonths(e, t) {
@@ -5120,7 +5105,7 @@ const Ra = (a) => class extends a {
5120
5105
  }
5121
5106
  /** @private */
5122
5107
  __toggleDate(e) {
5123
- G(e, this.selectedDate) ? (this._clear(), this.focusedDate = e) : this._selectDate(e);
5108
+ ie(e, this.selectedDate) ? (this._clear(), this.focusedDate = e) : this._selectDate(e);
5124
5109
  }
5125
5110
  /** @private */
5126
5111
  __onMonthCalendarKeyDown(e) {
@@ -5192,7 +5177,7 @@ const Ra = (a) => class extends a {
5192
5177
  __tryFocusDate() {
5193
5178
  if (this.__pendingDateFocus) {
5194
5179
  const t = this.focusableDateElement;
5195
- t && G(t.date, this.__pendingDateFocus) && (delete this.__pendingDateFocus, t.focus());
5180
+ t && ie(t.date, this.__pendingDateFocus) && (delete this.__pendingDateFocus, t.focus());
5196
5181
  }
5197
5182
  }
5198
5183
  focusDate(e, t) {
@@ -5240,7 +5225,7 @@ const Ra = (a) => class extends a {
5240
5225
  }
5241
5226
  /** @private */
5242
5227
  _dateAllowed(e, t = this.minDate, r = this.maxDate, s = this.isDateDisabled) {
5243
- return _e(e, t, r, s);
5228
+ return me(e, t, r, s);
5244
5229
  }
5245
5230
  /** @private */
5246
5231
  _isTodayAllowed(e, t, r) {
@@ -5329,14 +5314,14 @@ const Ba = D`
5329
5314
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
5330
5315
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5331
5316
  */
5332
- P("vaadin-date-picker-overlay-content", Ba, {
5317
+ S("vaadin-date-picker-overlay-content", Ba, {
5333
5318
  moduleId: "vaadin-date-picker-overlay-content-styles"
5334
5319
  });
5335
5320
  class Na extends Ra(
5336
- Ee(J(We(W)))
5321
+ Ee(K(qe(W)))
5337
5322
  ) {
5338
5323
  static get template() {
5339
- return X`
5324
+ return G`
5340
5325
  <div part="overlay-header" on-touchend="_preventDefault" aria-hidden="true">
5341
5326
  <div part="label">[[_formatDisplayed(selectedDate, i18n, label)]]</div>
5342
5327
  <div part="clear-button" hidden$="[[!selectedDate]]"></div>
@@ -5366,7 +5351,7 @@ class Na extends Ra(
5366
5351
  super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
5367
5352
  }
5368
5353
  }
5369
- q(Na);
5354
+ U(Na);
5370
5355
  /**
5371
5356
  * @license
5372
5357
  * Copyright (c) 2023 - 2024 Vaadin Ltd.
@@ -5438,46 +5423,8 @@ class Hi {
5438
5423
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
5439
5424
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5440
5425
  */
5441
- const $a = Object.freeze({
5442
- monthNames: [
5443
- "January",
5444
- "February",
5445
- "March",
5446
- "April",
5447
- "May",
5448
- "June",
5449
- "July",
5450
- "August",
5451
- "September",
5452
- "October",
5453
- "November",
5454
- "December"
5455
- ],
5456
- weekdays: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
5457
- weekdaysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
5458
- firstDayOfWeek: 0,
5459
- today: "Today",
5460
- cancel: "Cancel",
5461
- referenceDate: "",
5462
- formatDate(a) {
5463
- const i = String(a.year).replace(/\d+/u, (e) => "0000".substr(e.length) + e);
5464
- return [a.month + 1, a.day, i].join("/");
5465
- },
5466
- parseDate(a) {
5467
- const i = a.split("/"), e = /* @__PURE__ */ new Date();
5468
- let t, r = e.getMonth(), s = e.getFullYear();
5469
- if (i.length === 3) {
5470
- if (r = parseInt(i[0]) - 1, t = parseInt(i[1]), s = parseInt(i[2]), i[2].length < 3 && s >= 0) {
5471
- const n = this.referenceDate ? De(this.referenceDate) : /* @__PURE__ */ new Date();
5472
- s = ca(n, s, r, t);
5473
- }
5474
- } else i.length === 2 ? (r = parseInt(i[0]) - 1, t = parseInt(i[1])) : i.length === 1 && (t = parseInt(i[0]));
5475
- if (t !== void 0)
5476
- return { day: t, month: r, year: s };
5477
- },
5478
- formatTitle: (a, i) => `${a} ${i}`
5479
- }), qa = (a) => class extends Ai(
5480
- Ee(ci(pi(fi(a))))
5426
+ const $a = (a) => class extends Ai(
5427
+ Ee(di(pi(fi(a))))
5481
5428
  ) {
5482
5429
  static get properties() {
5483
5430
  return {
@@ -5534,10 +5481,7 @@ const $a = Object.freeze({
5534
5481
  * Set true to prevent the overlay from opening automatically.
5535
5482
  * @attr {boolean} auto-open-disabled
5536
5483
  */
5537
- autoOpenDisabled: {
5538
- type: Boolean,
5539
- sync: !0
5540
- },
5484
+ autoOpenDisabled: Boolean,
5541
5485
  /**
5542
5486
  * Set true to display ISO-8601 week numbers in the calendar. Notice that
5543
5487
  * displaying week numbers is only supported when `i18n.firstDayOfWeek`
@@ -5654,7 +5598,46 @@ const $a = Object.freeze({
5654
5598
  i18n: {
5655
5599
  type: Object,
5656
5600
  sync: !0,
5657
- value: () => Fe({}, $a)
5601
+ value: () => ({
5602
+ monthNames: [
5603
+ "January",
5604
+ "February",
5605
+ "March",
5606
+ "April",
5607
+ "May",
5608
+ "June",
5609
+ "July",
5610
+ "August",
5611
+ "September",
5612
+ "October",
5613
+ "November",
5614
+ "December"
5615
+ ],
5616
+ weekdays: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
5617
+ weekdaysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
5618
+ firstDayOfWeek: 0,
5619
+ today: "Today",
5620
+ cancel: "Cancel",
5621
+ referenceDate: "",
5622
+ formatDate(e) {
5623
+ const t = String(e.year).replace(/\d+/u, (r) => "0000".substr(r.length) + r);
5624
+ return [e.month + 1, e.day, t].join("/");
5625
+ },
5626
+ parseDate(e) {
5627
+ const t = e.split("/"), r = /* @__PURE__ */ new Date();
5628
+ let s, n = r.getMonth(), o = r.getFullYear();
5629
+ if (t.length === 3) {
5630
+ if (n = parseInt(t[0]) - 1, s = parseInt(t[1]), o = parseInt(t[2]), t[2].length < 3 && o >= 0) {
5631
+ const l = this.referenceDate ? Ce(this.referenceDate) : /* @__PURE__ */ new Date();
5632
+ o = ua(l, o, n, s);
5633
+ }
5634
+ } else
5635
+ t.length === 2 ? (n = parseInt(t[0]) - 1, s = parseInt(t[1])) : t.length === 1 && (s = parseInt(t[0]));
5636
+ if (s !== void 0)
5637
+ return { day: s, month: n, year: o };
5638
+ },
5639
+ formatTitle: (e, t) => `${e} ${t}`
5640
+ })
5658
5641
  },
5659
5642
  /**
5660
5643
  * The earliest date that can be selected. All earlier dates will be disabled.
@@ -5720,7 +5703,7 @@ const $a = Object.freeze({
5720
5703
  /** @private */
5721
5704
  _ios: {
5722
5705
  type: Boolean,
5723
- value: _i
5706
+ value: ui
5724
5707
  },
5725
5708
  /** @private */
5726
5709
  _focusOverlayOnOpen: Boolean,
@@ -5729,10 +5712,18 @@ const $a = Object.freeze({
5729
5712
  type: Object,
5730
5713
  sync: !0
5731
5714
  },
5732
- /** @private */
5733
- __enteredDate: {
5734
- type: Date,
5735
- sync: !0
5715
+ /**
5716
+ * In date-picker, unlike other components extending `InputMixin`,
5717
+ * the property indicates true only if the input has been entered by the user.
5718
+ * In the case of programmatic changes, the property is reset to false.
5719
+ * Read more about why this workaround is needed:
5720
+ * https://github.com/vaadin/web-components/issues/5639
5721
+ *
5722
+ * @protected
5723
+ * @override
5724
+ */
5725
+ _hasInputValue: {
5726
+ type: Boolean
5736
5727
  }
5737
5728
  };
5738
5729
  }
@@ -5740,7 +5731,7 @@ const $a = Object.freeze({
5740
5731
  return [
5741
5732
  "_selectedDateChanged(_selectedDate, i18n)",
5742
5733
  "_focusedDateChanged(_focusedDate, i18n)",
5743
- "__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled, __enteredDate)",
5734
+ "__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled)",
5744
5735
  "__updateOverlayContentTheme(_overlayContent, _theme)",
5745
5736
  "__updateOverlayContentFullScreen(_overlayContent, _fullscreen)"
5746
5737
  ];
@@ -5751,15 +5742,26 @@ const $a = Object.freeze({
5751
5742
  constructor() {
5752
5743
  super(), this._boundOnClick = this._onClick.bind(this), this._boundOnScroll = this._onScroll.bind(this), this._boundOverlayRenderer = this._overlayRenderer.bind(this);
5753
5744
  }
5754
- /** @override */
5745
+ /**
5746
+ * @override
5747
+ * @protected
5748
+ */
5755
5749
  get _inputElementValue() {
5756
5750
  return super._inputElementValue;
5757
5751
  }
5758
- /** @override */
5752
+ /**
5753
+ * The setter is overridden to reset the `_hasInputValue` property
5754
+ * to false when the input element's value is updated programmatically.
5755
+ * In date-picker, `_hasInputValue` is supposed to indicate true only
5756
+ * if the input has been entered by the user.
5757
+ * Read more about why this workaround is needed:
5758
+ * https://github.com/vaadin/web-components/issues/5639
5759
+ *
5760
+ * @override
5761
+ * @protected
5762
+ */
5759
5763
  set _inputElementValue(e) {
5760
- super._inputElementValue = e;
5761
- const t = this.__parseDate(e);
5762
- this.__setEnteredDate(t);
5764
+ super._inputElementValue = e, this._hasInputValue = !1;
5763
5765
  }
5764
5766
  /**
5765
5767
  * Override a getter from `InputControlMixin` to make it optional
@@ -5796,7 +5798,7 @@ const $a = Object.freeze({
5796
5798
  * @protected
5797
5799
  */
5798
5800
  _onBlur(e) {
5799
- super._onBlur(e), this.opened || (this.__commitParsedOrFocusedDate(), document.hasFocus() && this._requestValidation());
5801
+ super._onBlur(e), this.opened || (this.__commitParsedOrFocusedDate(), document.hasFocus() && this.validate());
5800
5802
  }
5801
5803
  /** @protected */
5802
5804
  ready() {
@@ -5851,7 +5853,7 @@ const $a = Object.freeze({
5851
5853
  if (!this.i18n.parseDate)
5852
5854
  return;
5853
5855
  let t = this.i18n.parseDate(e);
5854
- if (t && (t = De(`${t.year}-${t.month + 1}-${t.day}`)), t && !isNaN(t.getTime()))
5856
+ if (t && (t = Ce(`${t.year}-${t.month + 1}-${t.day}`)), t && !isNaN(t.getTime()))
5855
5857
  return t;
5856
5858
  }
5857
5859
  /**
@@ -5870,9 +5872,9 @@ const $a = Object.freeze({
5870
5872
  * @return {boolean} True if the value is valid
5871
5873
  */
5872
5874
  checkValidity() {
5873
- const e = this._inputElementValue, t = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), r = !this._selectedDate || _e(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
5875
+ const e = this._inputElementValue, t = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), r = !this._selectedDate || me(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
5874
5876
  let s = !0;
5875
- return this.inputElement && this.inputElement.checkValidity && (s = this.inputElement.checkValidity()), t && r && s;
5877
+ return this.inputElement && (this.inputElement.checkValidity ? s = this.inputElement.checkValidity() : this.inputElement.validate && (s = this.inputElement.validate())), t && r && s;
5876
5878
  }
5877
5879
  /**
5878
5880
  * Override method inherited from `FocusMixin`
@@ -5934,7 +5936,7 @@ const $a = Object.freeze({
5934
5936
  */
5935
5937
  __commitValueChange() {
5936
5938
  const e = this.__unparsableValue;
5937
- this.__committedValue !== this.value ? (this._requestValidation(), this.dispatchEvent(new CustomEvent("change", { bubbles: !0 }))) : this.__committedUnparsableValue !== e && (this._requestValidation(), this.dispatchEvent(new CustomEvent("unparsable-change"))), this.__committedValue = this.value, this.__committedUnparsableValue = e;
5939
+ this.__committedValue !== this.value ? (this.validate(), this.dispatchEvent(new CustomEvent("change", { bubbles: !0 }))) : this.__committedUnparsableValue !== e && (this.validate(), this.dispatchEvent(new CustomEvent("unparsable-change"))), this.__committedValue = this.value, this.__committedUnparsableValue = e;
5938
5940
  }
5939
5941
  /**
5940
5942
  * Sets the given date as the value and commits it.
@@ -5993,17 +5995,17 @@ const $a = Object.freeze({
5993
5995
  * @override
5994
5996
  */
5995
5997
  _valueChanged(e, t) {
5996
- const r = De(e);
5998
+ const r = Ce(e);
5997
5999
  if (e && !r) {
5998
6000
  this.value = t;
5999
6001
  return;
6000
6002
  }
6001
- e ? G(this._selectedDate, r) || (this._selectedDate = r, t !== void 0 && this._requestValidation()) : this._selectedDate = null, this.__keepCommittedValue || (this.__committedValue = this.value, this.__committedUnparsableValue = ""), this._toggleHasValue(this._hasValue);
6003
+ e ? ie(this._selectedDate, r) || (this._selectedDate = r, t !== void 0 && this.validate()) : this._selectedDate = null, this.__keepCommittedValue || (this.__committedValue = this.value, this.__committedUnparsableValue = ""), this._toggleHasValue(this._hasValue);
6002
6004
  }
6003
6005
  /** @private */
6004
6006
  // eslint-disable-next-line @typescript-eslint/max-params
6005
- __updateOverlayContent(e, t, r, s, n, o, l, d, f, h) {
6006
- e && (e.i18n = t, e.label = r, e.minDate = s, e.maxDate = n, e.focusedDate = o, e.selectedDate = l, e.showWeekNumbers = d, e.isDateDisabled = f, e.enteredDate = h);
6007
+ __updateOverlayContent(e, t, r, s, n, o, l, d, f) {
6008
+ e && (e.i18n = t, e.label = r, e.minDate = s, e.maxDate = n, e.focusedDate = o, e.selectedDate = l, e.showWeekNumbers = d, e.isDateDisabled = f);
6007
6009
  }
6008
6010
  /** @private */
6009
6011
  __updateOverlayContentTheme(e, t) {
@@ -6032,8 +6034,8 @@ const $a = Object.freeze({
6032
6034
  }
6033
6035
  /** @private */
6034
6036
  _getInitialPosition() {
6035
- const e = De(this.initialPosition), t = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
6036
- return e || _e(t, this._minDate, this._maxDate, this.isDateDisabled) ? t : this._minDate || this._maxDate ? Ii(t, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
6037
+ const e = Ce(this.initialPosition), t = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
6038
+ return e || me(t, this._minDate, this._maxDate, this.isDateDisabled) ? t : this._minDate || this._maxDate ? Ii(t, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
6037
6039
  }
6038
6040
  /**
6039
6041
  * Tries to parse the input element's value as a date. If the input value
@@ -6047,12 +6049,13 @@ const $a = Object.freeze({
6047
6049
  if (this._ignoreFocusedDateChange = !0, this.i18n.parseDate) {
6048
6050
  const e = this._inputElementValue || "", t = this.__parseDate(e);
6049
6051
  t ? this.__commitDate(t) : (this.__keepInputValue = !0, this.__commitDate(null), this.__keepInputValue = !1);
6050
- } else this._focusedDate && this.__commitDate(this._focusedDate);
6052
+ } else
6053
+ this._focusedDate && this.__commitDate(this._focusedDate);
6051
6054
  this._ignoreFocusedDateChange = !1;
6052
6055
  }
6053
6056
  /** @protected */
6054
6057
  _onOverlayClosed() {
6055
- this.__showOthers && (this.__showOthers(), this.__showOthers = null), window.removeEventListener("scroll", this._boundOnScroll, !0), this._closedByEscape && this._applyInputValue(this._selectedDate), this.__commitParsedOrFocusedDate(), this._nativeInput && this._nativeInput.selectionStart && (this._nativeInput.selectionStart = this._nativeInput.selectionEnd), !this.value && !this._keyboardActive && this._requestValidation();
6058
+ this.__showOthers && (this.__showOthers(), this.__showOthers = null), window.removeEventListener("scroll", this._boundOnScroll, !0), this._closedByEscape && this._applyInputValue(this._selectedDate), this.__commitParsedOrFocusedDate(), this._nativeInput && this._nativeInput.selectionStart && (this._nativeInput.selectionStart = this._nativeInput.selectionEnd), !this.value && !this._keyboardActive && this.validate();
6056
6059
  }
6057
6060
  /** @private */
6058
6061
  _onScroll(e) {
@@ -6163,20 +6166,14 @@ const $a = Object.freeze({
6163
6166
  * @protected
6164
6167
  */
6165
6168
  _onInput() {
6166
- !this.opened && this._inputElementValue && !this.autoOpenDisabled && this.open();
6167
- const e = this.__parseDate(this._inputElementValue || "");
6168
- e && (this._ignoreFocusedDateChange = !0, G(e, this._focusedDate) || (this._focusedDate = e), this._ignoreFocusedDateChange = !1), this.__setEnteredDate(e);
6169
- }
6170
- /**
6171
- * @param {Date} date
6172
- * @private
6173
- */
6174
- __setEnteredDate(e) {
6175
- e ? G(this.__enteredDate, e) || (this.__enteredDate = e) : this.__enteredDate != null && (this.__enteredDate = null);
6169
+ if (!this.opened && this._inputElementValue && !this.autoOpenDisabled && this.open(), this._inputElementValue) {
6170
+ const e = this.__parseDate(this._inputElementValue);
6171
+ e && (this._ignoreFocusedDateChange = !0, ie(e, this._focusedDate) || (this._focusedDate = e), this._ignoreFocusedDateChange = !1);
6172
+ }
6176
6173
  }
6177
6174
  /** @private */
6178
6175
  __computeMinOrMaxDate(e) {
6179
- return De(e);
6176
+ return Ce(e);
6180
6177
  }
6181
6178
  /**
6182
6179
  * Fired when the user commits a value change.
@@ -6218,13 +6215,13 @@ const Ua = D`
6218
6215
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
6219
6216
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6220
6217
  */
6221
- P("vaadin-date-picker", [li, Ua], { moduleId: "vaadin-date-picker-styles" });
6222
- class Ya extends qa(di(J(Se(W)))) {
6218
+ S("vaadin-date-picker", [mi, Ua], { moduleId: "vaadin-date-picker-styles" });
6219
+ class Ya extends $a(ni(K(Pe(W)))) {
6223
6220
  static get is() {
6224
6221
  return "vaadin-date-picker";
6225
6222
  }
6226
6223
  static get template() {
6227
- return X`
6224
+ return G`
6228
6225
  <div class="vaadin-date-picker-container">
6229
6226
  <div part="label">
6230
6227
  <slot name="label"></slot>
@@ -6279,7 +6276,7 @@ class Ya extends qa(di(J(Se(W)))) {
6279
6276
  /** @protected */
6280
6277
  ready() {
6281
6278
  super.ready(), this.addController(
6282
- new gt(
6279
+ new vt(
6283
6280
  this,
6284
6281
  (e) => {
6285
6282
  this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
@@ -6291,7 +6288,7 @@ class Ya extends qa(di(J(Se(W)))) {
6291
6288
  uniqueIdPrefix: "search-input"
6292
6289
  }
6293
6290
  )
6294
- ), this.addController(new bt(this.inputElement, this._labelController)), this._tooltipController = new Pe(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown", (e) => e.preventDefault()), this.$.overlay.addEventListener("vaadin-overlay-close", this._onVaadinOverlayClose.bind(this));
6291
+ ), this.addController(new gt(this.inputElement, this._labelController)), this._tooltipController = new Se(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown", (e) => e.preventDefault()), this.$.overlay.addEventListener("vaadin-overlay-close", this._onVaadinOverlayClose.bind(this));
6295
6292
  }
6296
6293
  /** @private */
6297
6294
  _onVaadinOverlayClose(i) {
@@ -6307,7 +6304,7 @@ class Ya extends qa(di(J(Se(W)))) {
6307
6304
  super._openedChanged(i), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
6308
6305
  }
6309
6306
  }
6310
- q(Ya);
6307
+ U(Ya);
6311
6308
  function re(a) {
6312
6309
  "@babel/helpers - typeof";
6313
6310
  return re = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(i) {
@@ -6316,20 +6313,20 @@ function re(a) {
6316
6313
  return i && typeof Symbol == "function" && i.constructor === Symbol && i !== Symbol.prototype ? "symbol" : typeof i;
6317
6314
  }, re(a);
6318
6315
  }
6319
- function O(a, i) {
6316
+ function M(a, i) {
6320
6317
  if (i.length < a)
6321
6318
  throw new TypeError(a + " argument" + (a > 1 ? "s" : "") + " required, but only " + i.length + " present");
6322
6319
  }
6323
- function Wa(a) {
6324
- return O(1, arguments), a instanceof Date || re(a) === "object" && Object.prototype.toString.call(a) === "[object Date]";
6320
+ function qa(a) {
6321
+ return M(1, arguments), a instanceof Date || re(a) === "object" && Object.prototype.toString.call(a) === "[object Date]";
6325
6322
  }
6326
6323
  function F(a) {
6327
- O(1, arguments);
6324
+ M(1, arguments);
6328
6325
  var i = Object.prototype.toString.call(a);
6329
6326
  return a instanceof Date || re(a) === "object" && i === "[object Date]" ? new Date(a.getTime()) : typeof a == "number" || i === "[object Number]" ? new Date(a) : ((typeof a == "string" || i === "[object String]") && typeof console != "undefined" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
6330
6327
  }
6331
- function ja(a) {
6332
- if (O(1, arguments), !Wa(a) && typeof a != "number")
6328
+ function Wa(a) {
6329
+ if (M(1, arguments), !qa(a) && typeof a != "number")
6333
6330
  return !1;
6334
6331
  var i = F(a);
6335
6332
  return !isNaN(Number(i));
@@ -6340,97 +6337,97 @@ function $(a) {
6340
6337
  var i = Number(a);
6341
6338
  return isNaN(i) ? i : i < 0 ? Math.ceil(i) : Math.floor(i);
6342
6339
  }
6343
- function Qa(a, i) {
6344
- O(2, arguments);
6340
+ function ja(a, i) {
6341
+ M(2, arguments);
6345
6342
  var e = F(a).getTime(), t = $(i);
6346
6343
  return new Date(e + t);
6347
6344
  }
6348
6345
  function zi(a, i) {
6349
- O(2, arguments);
6346
+ M(2, arguments);
6350
6347
  var e = $(i);
6351
- return Qa(a, -e);
6348
+ return ja(a, -e);
6352
6349
  }
6353
- var Ga = 864e5;
6354
- function Xa(a) {
6355
- O(1, arguments);
6350
+ var Qa = 864e5;
6351
+ function Ga(a) {
6352
+ M(1, arguments);
6356
6353
  var i = F(a), e = i.getTime();
6357
6354
  i.setUTCMonth(0, 1), i.setUTCHours(0, 0, 0, 0);
6358
6355
  var t = i.getTime(), r = e - t;
6359
- return Math.floor(r / Ga) + 1;
6356
+ return Math.floor(r / Qa) + 1;
6360
6357
  }
6361
- function me(a) {
6362
- O(1, arguments);
6358
+ function _e(a) {
6359
+ M(1, arguments);
6363
6360
  var i = 1, e = F(a), t = e.getUTCDay(), r = (t < i ? 7 : 0) + t - i;
6364
6361
  return e.setUTCDate(e.getUTCDate() - r), e.setUTCHours(0, 0, 0, 0), e;
6365
6362
  }
6366
6363
  function Li(a) {
6367
- O(1, arguments);
6364
+ M(1, arguments);
6368
6365
  var i = F(a), e = i.getUTCFullYear(), t = /* @__PURE__ */ new Date(0);
6369
6366
  t.setUTCFullYear(e + 1, 0, 4), t.setUTCHours(0, 0, 0, 0);
6370
- var r = me(t), s = /* @__PURE__ */ new Date(0);
6367
+ var r = _e(t), s = /* @__PURE__ */ new Date(0);
6371
6368
  s.setUTCFullYear(e, 0, 4), s.setUTCHours(0, 0, 0, 0);
6372
- var n = me(s);
6369
+ var n = _e(s);
6373
6370
  return i.getTime() >= r.getTime() ? e + 1 : i.getTime() >= n.getTime() ? e : e - 1;
6374
6371
  }
6375
- function Ka(a) {
6376
- O(1, arguments);
6372
+ function Xa(a) {
6373
+ M(1, arguments);
6377
6374
  var i = Li(a), e = /* @__PURE__ */ new Date(0);
6378
6375
  e.setUTCFullYear(i, 0, 4), e.setUTCHours(0, 0, 0, 0);
6379
- var t = me(e);
6376
+ var t = _e(e);
6380
6377
  return t;
6381
6378
  }
6382
- var Ja = 6048e5;
6379
+ var Ka = 6048e5;
6383
6380
  function Ri(a) {
6384
- O(1, arguments);
6385
- var i = F(a), e = me(i).getTime() - Ka(i).getTime();
6386
- return Math.round(e / Ja) + 1;
6381
+ M(1, arguments);
6382
+ var i = F(a), e = _e(i).getTime() - Xa(i).getTime();
6383
+ return Math.round(e / Ka) + 1;
6387
6384
  }
6388
- var Za = {};
6385
+ var Ja = {};
6389
6386
  function ge() {
6390
- return Za;
6387
+ return Ja;
6391
6388
  }
6392
- function ce(a, i) {
6389
+ function ue(a, i) {
6393
6390
  var e, t, r, s, n, o, l, d;
6394
- O(1, arguments);
6391
+ M(1, arguments);
6395
6392
  var f = ge(), h = $((e = (t = (r = (s = i == null ? void 0 : i.weekStartsOn) !== null && s !== void 0 ? s : i == null || (n = i.locale) === null || n === void 0 || (o = n.options) === null || o === void 0 ? void 0 : o.weekStartsOn) !== null && r !== void 0 ? r : f.weekStartsOn) !== null && t !== void 0 ? t : (l = f.locale) === null || l === void 0 || (d = l.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && e !== void 0 ? e : 0);
6396
6393
  if (!(h >= 0 && h <= 6))
6397
6394
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
6398
- var m = F(a), _ = m.getUTCDay(), b = (_ < h ? 7 : 0) + _ - h;
6399
- return m.setUTCDate(m.getUTCDate() - b), m.setUTCHours(0, 0, 0, 0), m;
6395
+ var m = F(a), g = m.getUTCDay(), y = (g < h ? 7 : 0) + g - h;
6396
+ return m.setUTCDate(m.getUTCDate() - y), m.setUTCHours(0, 0, 0, 0), m;
6400
6397
  }
6401
- function St(a, i) {
6398
+ function Pt(a, i) {
6402
6399
  var e, t, r, s, n, o, l, d;
6403
- O(1, arguments);
6404
- var f = F(a), h = f.getUTCFullYear(), m = ge(), _ = $((e = (t = (r = (s = i == null ? void 0 : i.firstWeekContainsDate) !== null && s !== void 0 ? s : i == null || (n = i.locale) === null || n === void 0 || (o = n.options) === null || o === void 0 ? void 0 : o.firstWeekContainsDate) !== null && r !== void 0 ? r : m.firstWeekContainsDate) !== null && t !== void 0 ? t : (l = m.locale) === null || l === void 0 || (d = l.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && e !== void 0 ? e : 1);
6405
- if (!(_ >= 1 && _ <= 7))
6400
+ M(1, arguments);
6401
+ var f = F(a), h = f.getUTCFullYear(), m = ge(), g = $((e = (t = (r = (s = i == null ? void 0 : i.firstWeekContainsDate) !== null && s !== void 0 ? s : i == null || (n = i.locale) === null || n === void 0 || (o = n.options) === null || o === void 0 ? void 0 : o.firstWeekContainsDate) !== null && r !== void 0 ? r : m.firstWeekContainsDate) !== null && t !== void 0 ? t : (l = m.locale) === null || l === void 0 || (d = l.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && e !== void 0 ? e : 1);
6402
+ if (!(g >= 1 && g <= 7))
6406
6403
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
6407
- var b = /* @__PURE__ */ new Date(0);
6408
- b.setUTCFullYear(h + 1, 0, _), b.setUTCHours(0, 0, 0, 0);
6409
- var B = ce(b, i), z = /* @__PURE__ */ new Date(0);
6410
- z.setUTCFullYear(h, 0, _), z.setUTCHours(0, 0, 0, 0);
6411
- var N = ce(z, i);
6404
+ var y = /* @__PURE__ */ new Date(0);
6405
+ y.setUTCFullYear(h + 1, 0, g), y.setUTCHours(0, 0, 0, 0);
6406
+ var B = ue(y, i), z = /* @__PURE__ */ new Date(0);
6407
+ z.setUTCFullYear(h, 0, g), z.setUTCHours(0, 0, 0, 0);
6408
+ var N = ue(z, i);
6412
6409
  return f.getTime() >= B.getTime() ? h + 1 : f.getTime() >= N.getTime() ? h : h - 1;
6413
6410
  }
6414
- function es(a, i) {
6411
+ function Za(a, i) {
6415
6412
  var e, t, r, s, n, o, l, d;
6416
- O(1, arguments);
6417
- var f = ge(), h = $((e = (t = (r = (s = i == null ? void 0 : i.firstWeekContainsDate) !== null && s !== void 0 ? s : i == null || (n = i.locale) === null || n === void 0 || (o = n.options) === null || o === void 0 ? void 0 : o.firstWeekContainsDate) !== null && r !== void 0 ? r : f.firstWeekContainsDate) !== null && t !== void 0 ? t : (l = f.locale) === null || l === void 0 || (d = l.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && e !== void 0 ? e : 1), m = St(a, i), _ = /* @__PURE__ */ new Date(0);
6418
- _.setUTCFullYear(m, 0, h), _.setUTCHours(0, 0, 0, 0);
6419
- var b = ce(_, i);
6420
- return b;
6413
+ M(1, arguments);
6414
+ var f = ge(), h = $((e = (t = (r = (s = i == null ? void 0 : i.firstWeekContainsDate) !== null && s !== void 0 ? s : i == null || (n = i.locale) === null || n === void 0 || (o = n.options) === null || o === void 0 ? void 0 : o.firstWeekContainsDate) !== null && r !== void 0 ? r : f.firstWeekContainsDate) !== null && t !== void 0 ? t : (l = f.locale) === null || l === void 0 || (d = l.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && e !== void 0 ? e : 1), m = Pt(a, i), g = /* @__PURE__ */ new Date(0);
6415
+ g.setUTCFullYear(m, 0, h), g.setUTCHours(0, 0, 0, 0);
6416
+ var y = ue(g, i);
6417
+ return y;
6421
6418
  }
6422
- var ts = 6048e5;
6419
+ var es = 6048e5;
6423
6420
  function Bi(a, i) {
6424
- O(1, arguments);
6425
- var e = F(a), t = ce(e, i).getTime() - es(e, i).getTime();
6426
- return Math.round(t / ts) + 1;
6421
+ M(1, arguments);
6422
+ var e = F(a), t = ue(e, i).getTime() - Za(e, i).getTime();
6423
+ return Math.round(t / es) + 1;
6427
6424
  }
6428
6425
  function C(a, i) {
6429
6426
  for (var e = a < 0 ? "-" : "", t = Math.abs(a).toString(); t.length < i; )
6430
6427
  t = "0" + t;
6431
6428
  return e + t;
6432
6429
  }
6433
- var is = {
6430
+ var ts = {
6434
6431
  // Year
6435
6432
  y: function(i, e) {
6436
6433
  var t = i.getUTCFullYear(), r = t > 0 ? t : 1 - t;
@@ -6483,15 +6480,17 @@ var is = {
6483
6480
  return C(s, e.length);
6484
6481
  }
6485
6482
  };
6486
- const oe = is;
6483
+ const oe = ts;
6487
6484
  var pe = {
6485
+ am: "am",
6486
+ pm: "pm",
6488
6487
  midnight: "midnight",
6489
6488
  noon: "noon",
6490
6489
  morning: "morning",
6491
6490
  afternoon: "afternoon",
6492
6491
  evening: "evening",
6493
6492
  night: "night"
6494
- }, rs = {
6493
+ }, is = {
6495
6494
  // Era
6496
6495
  G: function(i, e, t) {
6497
6496
  var r = i.getUTCFullYear() > 0 ? 1 : 0;
@@ -6525,7 +6524,7 @@ var pe = {
6525
6524
  },
6526
6525
  // Local week-numbering year
6527
6526
  Y: function(i, e, t, r) {
6528
- var s = St(i, r), n = s > 0 ? s : 1 - s;
6527
+ var s = Pt(i, r), n = s > 0 ? s : 1 - s;
6529
6528
  if (e === "YY") {
6530
6529
  var o = n % 100;
6531
6530
  return C(o, 2);
@@ -6693,7 +6692,7 @@ var pe = {
6693
6692
  },
6694
6693
  // Day of year
6695
6694
  D: function(i, e, t) {
6696
- var r = Xa(i);
6695
+ var r = Ga(i);
6697
6696
  return e === "Do" ? t.ordinalNumber(r, {
6698
6697
  unit: "dayOfYear"
6699
6698
  }) : C(r, e.length);
@@ -7045,7 +7044,7 @@ function he(a, i) {
7045
7044
  var e = i || "", t = a > 0 ? "-" : "+", r = Math.abs(a), s = C(Math.floor(r / 60), 2), n = C(r % 60, 2);
7046
7045
  return t + s + e + n;
7047
7046
  }
7048
- const as = rs;
7047
+ const rs = is;
7049
7048
  var Xt = function(i, e) {
7050
7049
  switch (i) {
7051
7050
  case "P":
@@ -7086,7 +7085,7 @@ var Xt = function(i, e) {
7086
7085
  width: "full"
7087
7086
  });
7088
7087
  }
7089
- }, ss = function(i, e) {
7088
+ }, as = function(i, e) {
7090
7089
  var t = i.match(/(P+)(p+)?/) || [], r = t[1], s = t[2];
7091
7090
  if (!s)
7092
7091
  return Xt(i, e);
@@ -7115,23 +7114,23 @@ var Xt = function(i, e) {
7115
7114
  break;
7116
7115
  }
7117
7116
  return n.replace("{{date}}", Xt(r, e)).replace("{{time}}", Ni(s, e));
7118
- }, ns = {
7117
+ }, ss = {
7119
7118
  p: Ni,
7120
- P: ss
7119
+ P: as
7121
7120
  };
7122
- const pt = ns;
7121
+ const pt = ss;
7123
7122
  function $i(a) {
7124
7123
  var i = new Date(Date.UTC(a.getFullYear(), a.getMonth(), a.getDate(), a.getHours(), a.getMinutes(), a.getSeconds(), a.getMilliseconds()));
7125
7124
  return i.setUTCFullYear(a.getFullYear()), a.getTime() - i.getTime();
7126
7125
  }
7127
- var os = ["D", "DD"], ls = ["YY", "YYYY"];
7128
- function qi(a) {
7129
- return os.indexOf(a) !== -1;
7130
- }
7126
+ var ns = ["D", "DD"], os = ["YY", "YYYY"];
7131
7127
  function Ui(a) {
7132
- return ls.indexOf(a) !== -1;
7128
+ return ns.indexOf(a) !== -1;
7133
7129
  }
7134
- function Ne(a, i, e) {
7130
+ function Yi(a) {
7131
+ return os.indexOf(a) !== -1;
7132
+ }
7133
+ function Be(a, i, e) {
7135
7134
  if (a === "YYYY")
7136
7135
  throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(i, "`) for formatting years to the input `").concat(e, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
7137
7136
  if (a === "YY")
@@ -7141,7 +7140,7 @@ function Ne(a, i, e) {
7141
7140
  if (a === "DD")
7142
7141
  throw new RangeError("Use `dd` instead of `DD` (in `".concat(i, "`) for formatting days of the month to the input `").concat(e, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
7143
7142
  }
7144
- var ds = {
7143
+ var ls = {
7145
7144
  lessThanXSeconds: {
7146
7145
  one: "less than a second",
7147
7146
  other: "less than {{count}} seconds"
@@ -7203,11 +7202,11 @@ var ds = {
7203
7202
  one: "almost 1 year",
7204
7203
  other: "almost {{count}} years"
7205
7204
  }
7206
- }, hs = function(i, e, t) {
7207
- var r, s = ds[i];
7205
+ }, ds = function(i, e, t) {
7206
+ var r, s = ls[i];
7208
7207
  return typeof s == "string" ? r = s : e === 1 ? r = s.one : r = s.other.replace("{{count}}", e.toString()), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? "in " + r : r + " ago" : r;
7209
7208
  };
7210
- const cs = hs;
7209
+ const hs = ds;
7211
7210
  function rt(a) {
7212
7211
  return function() {
7213
7212
  var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = i.width ? String(i.width) : a.defaultWidth, t = a.formats[e] || a.formats[a.defaultWidth];
@@ -7219,43 +7218,43 @@ var us = {
7219
7218
  long: "MMMM do, y",
7220
7219
  medium: "MMM d, y",
7221
7220
  short: "MM/dd/yyyy"
7222
- }, ps = {
7221
+ }, cs = {
7223
7222
  full: "h:mm:ss a zzzz",
7224
7223
  long: "h:mm:ss a z",
7225
7224
  medium: "h:mm:ss a",
7226
7225
  short: "h:mm a"
7227
- }, fs = {
7226
+ }, ps = {
7228
7227
  full: "{{date}} 'at' {{time}}",
7229
7228
  long: "{{date}} 'at' {{time}}",
7230
7229
  medium: "{{date}}, {{time}}",
7231
7230
  short: "{{date}}, {{time}}"
7232
- }, _s = {
7231
+ }, fs = {
7233
7232
  date: rt({
7234
7233
  formats: us,
7235
7234
  defaultWidth: "full"
7236
7235
  }),
7237
7236
  time: rt({
7238
- formats: ps,
7237
+ formats: cs,
7239
7238
  defaultWidth: "full"
7240
7239
  }),
7241
7240
  dateTime: rt({
7242
- formats: fs,
7241
+ formats: ps,
7243
7242
  defaultWidth: "full"
7244
7243
  })
7245
7244
  };
7246
- const ms = _s;
7247
- var vs = {
7245
+ const ms = fs;
7246
+ var _s = {
7248
7247
  lastWeek: "'last' eeee 'at' p",
7249
7248
  yesterday: "'yesterday at' p",
7250
7249
  today: "'today at' p",
7251
7250
  tomorrow: "'tomorrow at' p",
7252
7251
  nextWeek: "eeee 'at' p",
7253
7252
  other: "P"
7254
- }, gs = function(i, e, t, r) {
7255
- return vs[i];
7253
+ }, vs = function(i, e, t, r) {
7254
+ return _s[i];
7256
7255
  };
7257
- const bs = gs;
7258
- function Ce(a) {
7256
+ const gs = vs;
7257
+ function ke(a) {
7259
7258
  return function(i, e) {
7260
7259
  var t = e != null && e.context ? String(e.context) : "standalone", r;
7261
7260
  if (t === "formatting" && a.formattingValues) {
@@ -7273,20 +7272,20 @@ var ys = {
7273
7272
  narrow: ["B", "A"],
7274
7273
  abbreviated: ["BC", "AD"],
7275
7274
  wide: ["Before Christ", "Anno Domini"]
7276
- }, ws = {
7275
+ }, bs = {
7277
7276
  narrow: ["1", "2", "3", "4"],
7278
7277
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
7279
7278
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
7280
- }, xs = {
7279
+ }, ws = {
7281
7280
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
7282
7281
  abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
7283
7282
  wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
7284
- }, Cs = {
7283
+ }, xs = {
7285
7284
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
7286
7285
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
7287
7286
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
7288
7287
  wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
7289
- }, ks = {
7288
+ }, Cs = {
7290
7289
  narrow: {
7291
7290
  am: "a",
7292
7291
  pm: "p",
@@ -7317,7 +7316,7 @@ var ys = {
7317
7316
  evening: "evening",
7318
7317
  night: "night"
7319
7318
  }
7320
- }, Ts = {
7319
+ }, ks = {
7321
7320
  narrow: {
7322
7321
  am: "a",
7323
7322
  pm: "p",
@@ -7348,7 +7347,7 @@ var ys = {
7348
7347
  evening: "in the evening",
7349
7348
  night: "at night"
7350
7349
  }
7351
- }, Ds = function(i, e) {
7350
+ }, Ts = function(i, e) {
7352
7351
  var t = Number(i), r = t % 100;
7353
7352
  if (r > 20 || r < 10)
7354
7353
  switch (r % 10) {
@@ -7360,41 +7359,41 @@ var ys = {
7360
7359
  return t + "rd";
7361
7360
  }
7362
7361
  return t + "th";
7363
- }, Is = {
7364
- ordinalNumber: Ds,
7365
- era: Ce({
7362
+ }, Ds = {
7363
+ ordinalNumber: Ts,
7364
+ era: ke({
7366
7365
  values: ys,
7367
7366
  defaultWidth: "wide"
7368
7367
  }),
7369
- quarter: Ce({
7370
- values: ws,
7368
+ quarter: ke({
7369
+ values: bs,
7371
7370
  defaultWidth: "wide",
7372
7371
  argumentCallback: function(i) {
7373
7372
  return i - 1;
7374
7373
  }
7375
7374
  }),
7376
- month: Ce({
7377
- values: xs,
7375
+ month: ke({
7376
+ values: ws,
7378
7377
  defaultWidth: "wide"
7379
7378
  }),
7380
- day: Ce({
7381
- values: Cs,
7379
+ day: ke({
7380
+ values: xs,
7382
7381
  defaultWidth: "wide"
7383
7382
  }),
7384
- dayPeriod: Ce({
7385
- values: ks,
7383
+ dayPeriod: ke({
7384
+ values: Cs,
7386
7385
  defaultWidth: "wide",
7387
- formattingValues: Ts,
7386
+ formattingValues: ks,
7388
7387
  defaultFormattingWidth: "wide"
7389
7388
  })
7390
7389
  };
7391
- const Ps = Is;
7392
- function ke(a) {
7390
+ const Is = Ds;
7391
+ function Te(a) {
7393
7392
  return function(i) {
7394
7393
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = e.width, r = t && a.matchPatterns[t] || a.matchPatterns[a.defaultMatchWidth], s = i.match(r);
7395
7394
  if (!s)
7396
7395
  return null;
7397
- var n = s[0], o = t && a.parsePatterns[t] || a.parsePatterns[a.defaultParseWidth], l = Array.isArray(o) ? Es(o, function(h) {
7396
+ var n = s[0], o = t && a.parsePatterns[t] || a.parsePatterns[a.defaultParseWidth], l = Array.isArray(o) ? Ps(o, function(h) {
7398
7397
  return h.test(n);
7399
7398
  }) : Ss(o, function(h) {
7400
7399
  return h.test(n);
@@ -7412,17 +7411,19 @@ function Ss(a, i) {
7412
7411
  if (a.hasOwnProperty(e) && i(a[e]))
7413
7412
  return e;
7414
7413
  }
7415
- function Es(a, i) {
7414
+ function Ps(a, i) {
7416
7415
  for (var e = 0; e < a.length; e++)
7417
7416
  if (i(a[e]))
7418
7417
  return e;
7419
7418
  }
7420
- function Os(a) {
7419
+ function Es(a) {
7421
7420
  return function(i) {
7422
7421
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = i.match(a.matchPattern);
7423
- if (!t) return null;
7422
+ if (!t)
7423
+ return null;
7424
7424
  var r = t[0], s = i.match(a.parsePattern);
7425
- if (!s) return null;
7425
+ if (!s)
7426
+ return null;
7426
7427
  var n = a.valueCallback ? a.valueCallback(s[0]) : s[0];
7427
7428
  n = e.valueCallback ? e.valueCallback(n) : n;
7428
7429
  var o = i.slice(r.length);
@@ -7432,37 +7433,37 @@ function Os(a) {
7432
7433
  };
7433
7434
  };
7434
7435
  }
7435
- var Ms = /^(\d+)(th|st|nd|rd)?/i, Vs = /\d+/i, Fs = {
7436
+ var Ms = /^(\d+)(th|st|nd|rd)?/i, Os = /\d+/i, Vs = {
7436
7437
  narrow: /^(b|a)/i,
7437
7438
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
7438
7439
  wide: /^(before christ|before common era|anno domini|common era)/i
7439
- }, As = {
7440
+ }, Fs = {
7440
7441
  any: [/^b/i, /^(a|c)/i]
7441
- }, Hs = {
7442
+ }, As = {
7442
7443
  narrow: /^[1234]/i,
7443
7444
  abbreviated: /^q[1234]/i,
7444
7445
  wide: /^[1234](th|st|nd|rd)? quarter/i
7445
- }, zs = {
7446
+ }, Hs = {
7446
7447
  any: [/1/i, /2/i, /3/i, /4/i]
7447
- }, Ls = {
7448
+ }, zs = {
7448
7449
  narrow: /^[jfmasond]/i,
7449
7450
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
7450
7451
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
7451
- }, Rs = {
7452
+ }, Ls = {
7452
7453
  narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
7453
7454
  any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
7454
- }, Bs = {
7455
+ }, Rs = {
7455
7456
  narrow: /^[smtwf]/i,
7456
7457
  short: /^(su|mo|tu|we|th|fr|sa)/i,
7457
7458
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
7458
7459
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
7459
- }, Ns = {
7460
+ }, Bs = {
7460
7461
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
7461
7462
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
7462
- }, $s = {
7463
+ }, Ns = {
7463
7464
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
7464
7465
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
7465
- }, qs = {
7466
+ }, $s = {
7466
7467
  any: {
7467
7468
  am: /^a/i,
7468
7469
  pm: /^p/i,
@@ -7474,117 +7475,119 @@ var Ms = /^(\d+)(th|st|nd|rd)?/i, Vs = /\d+/i, Fs = {
7474
7475
  night: /night/i
7475
7476
  }
7476
7477
  }, Us = {
7477
- ordinalNumber: Os({
7478
+ ordinalNumber: Es({
7478
7479
  matchPattern: Ms,
7479
- parsePattern: Vs,
7480
+ parsePattern: Os,
7480
7481
  valueCallback: function(i) {
7481
7482
  return parseInt(i, 10);
7482
7483
  }
7483
7484
  }),
7484
- era: ke({
7485
- matchPatterns: Fs,
7485
+ era: Te({
7486
+ matchPatterns: Vs,
7486
7487
  defaultMatchWidth: "wide",
7487
- parsePatterns: As,
7488
+ parsePatterns: Fs,
7488
7489
  defaultParseWidth: "any"
7489
7490
  }),
7490
- quarter: ke({
7491
- matchPatterns: Hs,
7491
+ quarter: Te({
7492
+ matchPatterns: As,
7492
7493
  defaultMatchWidth: "wide",
7493
- parsePatterns: zs,
7494
+ parsePatterns: Hs,
7494
7495
  defaultParseWidth: "any",
7495
7496
  valueCallback: function(i) {
7496
7497
  return i + 1;
7497
7498
  }
7498
7499
  }),
7499
- month: ke({
7500
- matchPatterns: Ls,
7500
+ month: Te({
7501
+ matchPatterns: zs,
7501
7502
  defaultMatchWidth: "wide",
7502
- parsePatterns: Rs,
7503
+ parsePatterns: Ls,
7503
7504
  defaultParseWidth: "any"
7504
7505
  }),
7505
- day: ke({
7506
- matchPatterns: Bs,
7506
+ day: Te({
7507
+ matchPatterns: Rs,
7507
7508
  defaultMatchWidth: "wide",
7508
- parsePatterns: Ns,
7509
+ parsePatterns: Bs,
7509
7510
  defaultParseWidth: "any"
7510
7511
  }),
7511
- dayPeriod: ke({
7512
- matchPatterns: $s,
7512
+ dayPeriod: Te({
7513
+ matchPatterns: Ns,
7513
7514
  defaultMatchWidth: "any",
7514
- parsePatterns: qs,
7515
+ parsePatterns: $s,
7515
7516
  defaultParseWidth: "any"
7516
7517
  })
7517
7518
  };
7518
7519
  const Ys = Us;
7519
- var Ws = {
7520
+ var qs = {
7520
7521
  code: "en-US",
7521
- formatDistance: cs,
7522
+ formatDistance: hs,
7522
7523
  formatLong: ms,
7523
- formatRelative: bs,
7524
- localize: Ps,
7524
+ formatRelative: gs,
7525
+ localize: Is,
7525
7526
  match: Ys,
7526
7527
  options: {
7527
7528
  weekStartsOn: 0,
7528
7529
  firstWeekContainsDate: 1
7529
7530
  }
7530
7531
  };
7531
- const Yi = Ws;
7532
- var js = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Qs = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Gs = /^'([^]*?)'?$/, Xs = /''/g, Ks = /[a-zA-Z]/;
7533
- function Js(a, i, e) {
7534
- var t, r, s, n, o, l, d, f, h, m, _, b, B, z;
7535
- O(2, arguments);
7536
- var N = String(i), S = ge(), j = (t = (r = void 0) !== null && r !== void 0 ? r : S.locale) !== null && t !== void 0 ? t : Yi, K = $((s = (n = (o = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && o !== void 0 ? o : S.firstWeekContainsDate) !== null && n !== void 0 ? n : (d = S.locale) === null || d === void 0 || (f = d.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && s !== void 0 ? s : 1);
7537
- if (!(K >= 1 && K <= 7))
7532
+ const qi = qs;
7533
+ var Ws = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, js = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Qs = /^'([^]*?)'?$/, Gs = /''/g, Xs = /[a-zA-Z]/;
7534
+ function Ks(a, i, e) {
7535
+ var t, r, s, n, o, l, d, f, h, m, g, y, B, z;
7536
+ M(2, arguments);
7537
+ var N = String(i), P = ge(), j = (t = (r = void 0) !== null && r !== void 0 ? r : P.locale) !== null && t !== void 0 ? t : qi, X = $((s = (n = (o = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && o !== void 0 ? o : P.firstWeekContainsDate) !== null && n !== void 0 ? n : (d = P.locale) === null || d === void 0 || (f = d.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && s !== void 0 ? s : 1);
7538
+ if (!(X >= 1 && X <= 7))
7538
7539
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
7539
- var U = $((h = (m = (_ = (b = void 0) !== null && b !== void 0 ? b : void 0) !== null && _ !== void 0 ? _ : S.weekStartsOn) !== null && m !== void 0 ? m : (B = S.locale) === null || B === void 0 || (z = B.options) === null || z === void 0 ? void 0 : z.weekStartsOn) !== null && h !== void 0 ? h : 0);
7540
- if (!(U >= 0 && U <= 6))
7540
+ var Y = $((h = (m = (g = (y = void 0) !== null && y !== void 0 ? y : void 0) !== null && g !== void 0 ? g : P.weekStartsOn) !== null && m !== void 0 ? m : (B = P.locale) === null || B === void 0 || (z = B.options) === null || z === void 0 ? void 0 : z.weekStartsOn) !== null && h !== void 0 ? h : 0);
7541
+ if (!(Y >= 0 && Y <= 6))
7541
7542
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
7542
7543
  if (!j.localize)
7543
7544
  throw new RangeError("locale must contain localize property");
7544
7545
  if (!j.formatLong)
7545
7546
  throw new RangeError("locale must contain formatLong property");
7546
7547
  var ne = F(a);
7547
- if (!ja(ne))
7548
+ if (!Wa(ne))
7548
7549
  throw new RangeError("Invalid time value");
7549
- var be = $i(ne), ye = zi(ne, be), we = {
7550
- firstWeekContainsDate: K,
7551
- weekStartsOn: U,
7550
+ var ye = $i(ne), be = zi(ne, ye), we = {
7551
+ firstWeekContainsDate: X,
7552
+ weekStartsOn: Y,
7552
7553
  locale: j,
7553
7554
  _originalDate: ne
7554
- }, je = N.match(Qs).map(function(L) {
7555
- var Y = L[0];
7556
- if (Y === "p" || Y === "P") {
7557
- var de = pt[Y];
7555
+ }, We = N.match(js).map(function(L) {
7556
+ var q = L[0];
7557
+ if (q === "p" || q === "P") {
7558
+ var de = pt[q];
7558
7559
  return de(L, j.formatLong);
7559
7560
  }
7560
7561
  return L;
7561
- }).join("").match(js).map(function(L) {
7562
+ }).join("").match(Ws).map(function(L) {
7562
7563
  if (L === "''")
7563
7564
  return "'";
7564
- var Y = L[0];
7565
- if (Y === "'")
7566
- return Zs(L);
7567
- var de = as[Y];
7565
+ var q = L[0];
7566
+ if (q === "'")
7567
+ return Js(L);
7568
+ var de = rs[q];
7568
7569
  if (de)
7569
- return Ui(L) && Ne(L, i, String(a)), qi(L) && Ne(L, i, String(a)), de(ye, L, j.localize, we);
7570
- if (Y.match(Ks))
7571
- throw new RangeError("Format string contains an unescaped latin alphabet character `" + Y + "`");
7570
+ return Yi(L) && Be(L, i, String(a)), Ui(L) && Be(L, i, String(a)), de(be, L, j.localize, we);
7571
+ if (q.match(Xs))
7572
+ throw new RangeError("Format string contains an unescaped latin alphabet character `" + q + "`");
7572
7573
  return L;
7573
7574
  }).join("");
7574
- return je;
7575
+ return We;
7575
7576
  }
7576
- function Zs(a) {
7577
- var i = a.match(Gs);
7578
- return i ? i[1].replace(Xs, "'") : a;
7577
+ function Js(a) {
7578
+ var i = a.match(Qs);
7579
+ return i ? i[1].replace(Gs, "'") : a;
7579
7580
  }
7580
7581
  function Kt(a, i) {
7581
7582
  (i == null || i > a.length) && (i = a.length);
7582
- for (var e = 0, t = Array(i); e < i; e++) t[e] = a[e];
7583
+ for (var e = 0, t = Array(i); e < i; e++)
7584
+ t[e] = a[e];
7583
7585
  return t;
7584
7586
  }
7585
- function en(a, i) {
7587
+ function Zs(a, i) {
7586
7588
  if (a) {
7587
- if (typeof a == "string") return Kt(a, i);
7589
+ if (typeof a == "string")
7590
+ return Kt(a, i);
7588
7591
  var e = {}.toString.call(a).slice(8, -1);
7589
7592
  return e === "Object" && a.constructor && (e = a.constructor.name), e === "Map" || e === "Set" ? Array.from(a) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? Kt(a, i) : void 0;
7590
7593
  }
@@ -7592,7 +7595,7 @@ function en(a, i) {
7592
7595
  function Jt(a, i) {
7593
7596
  var e = typeof Symbol != "undefined" && a[Symbol.iterator] || a["@@iterator"];
7594
7597
  if (!e) {
7595
- if (Array.isArray(a) || (e = en(a)) || i) {
7598
+ if (Array.isArray(a) || (e = Zs(a)) || i) {
7596
7599
  e && (a = e);
7597
7600
  var t = 0, r = function() {
7598
7601
  };
@@ -7631,12 +7634,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7631
7634
  try {
7632
7635
  n || e.return == null || e.return();
7633
7636
  } finally {
7634
- if (o) throw s;
7637
+ if (o)
7638
+ throw s;
7635
7639
  }
7636
7640
  }
7637
7641
  };
7638
7642
  }
7639
- function tn(a, i) {
7643
+ function en(a, i) {
7640
7644
  if (a == null)
7641
7645
  throw new TypeError("assign requires that input parameter not be null or undefined");
7642
7646
  for (var e in i)
@@ -7644,7 +7648,8 @@ function tn(a, i) {
7644
7648
  return a;
7645
7649
  }
7646
7650
  function p(a) {
7647
- if (a === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
7651
+ if (a === void 0)
7652
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
7648
7653
  return a;
7649
7654
  }
7650
7655
  function ft(a, i) {
@@ -7652,8 +7657,9 @@ function ft(a, i) {
7652
7657
  return e.__proto__ = t, e;
7653
7658
  }, ft(a, i);
7654
7659
  }
7655
- function y(a, i) {
7656
- if (typeof i != "function" && i !== null) throw new TypeError("Super expression must either be null or a function");
7660
+ function b(a, i) {
7661
+ if (typeof i != "function" && i !== null)
7662
+ throw new TypeError("Super expression must either be null or a function");
7657
7663
  a.prototype = Object.create(i && i.prototype, {
7658
7664
  constructor: {
7659
7665
  value: a,
@@ -7664,10 +7670,10 @@ function y(a, i) {
7664
7670
  writable: !1
7665
7671
  }), i && ft(a, i);
7666
7672
  }
7667
- function $e(a) {
7668
- return $e = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(i) {
7673
+ function Ne(a) {
7674
+ return Ne = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(i) {
7669
7675
  return i.__proto__ || Object.getPrototypeOf(i);
7670
- }, $e(a);
7676
+ }, Ne(a);
7671
7677
  }
7672
7678
  function Wi() {
7673
7679
  try {
@@ -7679,51 +7685,57 @@ function Wi() {
7679
7685
  return !!a;
7680
7686
  })();
7681
7687
  }
7682
- function rn(a, i) {
7683
- if (i && (re(i) == "object" || typeof i == "function")) return i;
7684
- if (i !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
7688
+ function tn(a, i) {
7689
+ if (i && (re(i) == "object" || typeof i == "function"))
7690
+ return i;
7691
+ if (i !== void 0)
7692
+ throw new TypeError("Derived constructors may only return object or undefined");
7685
7693
  return p(a);
7686
7694
  }
7687
7695
  function w(a) {
7688
7696
  var i = Wi();
7689
7697
  return function() {
7690
- var e, t = $e(a);
7698
+ var e, t = Ne(a);
7691
7699
  if (i) {
7692
- var r = $e(this).constructor;
7700
+ var r = Ne(this).constructor;
7693
7701
  e = Reflect.construct(t, arguments, r);
7694
- } else e = t.apply(this, arguments);
7695
- return rn(this, e);
7702
+ } else
7703
+ e = t.apply(this, arguments);
7704
+ return tn(this, e);
7696
7705
  };
7697
7706
  }
7698
- function v(a, i) {
7699
- if (!(a instanceof i)) throw new TypeError("Cannot call a class as a function");
7707
+ function _(a, i) {
7708
+ if (!(a instanceof i))
7709
+ throw new TypeError("Cannot call a class as a function");
7700
7710
  }
7701
- function an(a, i) {
7702
- if (re(a) != "object" || !a) return a;
7711
+ function rn(a, i) {
7712
+ if (re(a) != "object" || !a)
7713
+ return a;
7703
7714
  var e = a[Symbol.toPrimitive];
7704
7715
  if (e !== void 0) {
7705
- var t = e.call(a, i);
7706
- if (re(t) != "object") return t;
7716
+ var t = e.call(a, i || "default");
7717
+ if (re(t) != "object")
7718
+ return t;
7707
7719
  throw new TypeError("@@toPrimitive must return a primitive value.");
7708
7720
  }
7709
7721
  return (i === "string" ? String : Number)(a);
7710
7722
  }
7711
7723
  function ji(a) {
7712
- var i = an(a, "string");
7724
+ var i = rn(a, "string");
7713
7725
  return re(i) == "symbol" ? i : i + "";
7714
7726
  }
7715
- function sn(a, i) {
7727
+ function an(a, i) {
7716
7728
  for (var e = 0; e < i.length; e++) {
7717
7729
  var t = i[e];
7718
7730
  t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(a, ji(t.key), t);
7719
7731
  }
7720
7732
  }
7721
- function g(a, i, e) {
7722
- return i && sn(a.prototype, i), Object.defineProperty(a, "prototype", {
7733
+ function v(a, i, e) {
7734
+ return i && an(a.prototype, i), Object.defineProperty(a, "prototype", {
7723
7735
  writable: !1
7724
7736
  }), a;
7725
7737
  }
7726
- function u(a, i, e) {
7738
+ function c(a, i, e) {
7727
7739
  return (i = ji(i)) in a ? Object.defineProperty(a, i, {
7728
7740
  value: e,
7729
7741
  enumerable: !0,
@@ -7731,24 +7743,24 @@ function u(a, i, e) {
7731
7743
  writable: !0
7732
7744
  }) : a[i] = e, a;
7733
7745
  }
7734
- var nn = 10, Qi = /* @__PURE__ */ function() {
7746
+ var sn = 10, Qi = /* @__PURE__ */ function() {
7735
7747
  function a() {
7736
- v(this, a), u(this, "priority", void 0), u(this, "subPriority", 0);
7748
+ _(this, a), c(this, "priority", void 0), c(this, "subPriority", 0);
7737
7749
  }
7738
- return g(a, [{
7750
+ return v(a, [{
7739
7751
  key: "validate",
7740
7752
  value: function(e, t) {
7741
7753
  return !0;
7742
7754
  }
7743
7755
  }]), a;
7744
- }(), on = /* @__PURE__ */ function(a) {
7745
- y(e, a);
7756
+ }(), nn = /* @__PURE__ */ function(a) {
7757
+ b(e, a);
7746
7758
  var i = w(e);
7747
7759
  function e(t, r, s, n, o) {
7748
7760
  var l;
7749
- return v(this, e), l = i.call(this), l.value = t, l.validateValue = r, l.setValue = s, l.priority = n, o && (l.subPriority = o), l;
7761
+ return _(this, e), l = i.call(this), l.value = t, l.validateValue = r, l.setValue = s, l.priority = n, o && (l.subPriority = o), l;
7750
7762
  }
7751
- return g(e, [{
7763
+ return v(e, [{
7752
7764
  key: "validate",
7753
7765
  value: function(r, s) {
7754
7766
  return this.validateValue(r, this.value, s);
@@ -7759,17 +7771,17 @@ var nn = 10, Qi = /* @__PURE__ */ function() {
7759
7771
  return this.setValue(r, s, this.value, n);
7760
7772
  }
7761
7773
  }]), e;
7762
- }(Qi), ln = /* @__PURE__ */ function(a) {
7763
- y(e, a);
7774
+ }(Qi), on = /* @__PURE__ */ function(a) {
7775
+ b(e, a);
7764
7776
  var i = w(e);
7765
7777
  function e() {
7766
7778
  var t;
7767
- v(this, e);
7779
+ _(this, e);
7768
7780
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
7769
7781
  s[n] = arguments[n];
7770
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", nn), u(p(t), "subPriority", -1), t;
7782
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", sn), c(p(t), "subPriority", -1), t;
7771
7783
  }
7772
- return g(e, [{
7784
+ return v(e, [{
7773
7785
  key: "set",
7774
7786
  value: function(r, s) {
7775
7787
  if (s.timestampIsSet)
@@ -7780,14 +7792,14 @@ var nn = 10, Qi = /* @__PURE__ */ function() {
7780
7792
  }]), e;
7781
7793
  }(Qi), x = /* @__PURE__ */ function() {
7782
7794
  function a() {
7783
- v(this, a), u(this, "incompatibleTokens", void 0), u(this, "priority", void 0), u(this, "subPriority", void 0);
7795
+ _(this, a), c(this, "incompatibleTokens", void 0), c(this, "priority", void 0), c(this, "subPriority", void 0);
7784
7796
  }
7785
- return g(a, [{
7797
+ return v(a, [{
7786
7798
  key: "run",
7787
7799
  value: function(e, t, r, s) {
7788
7800
  var n = this.parse(e, t, r, s);
7789
7801
  return n ? {
7790
- setter: new on(n.value, this.validate, this.set, this.priority, this.subPriority),
7802
+ setter: new nn(n.value, this.validate, this.set, this.priority, this.subPriority),
7791
7803
  rest: n.rest
7792
7804
  } : null;
7793
7805
  }
@@ -7797,17 +7809,17 @@ var nn = 10, Qi = /* @__PURE__ */ function() {
7797
7809
  return !0;
7798
7810
  }
7799
7811
  }]), a;
7800
- }(), dn = /* @__PURE__ */ function(a) {
7801
- y(e, a);
7812
+ }(), ln = /* @__PURE__ */ function(a) {
7813
+ b(e, a);
7802
7814
  var i = w(e);
7803
7815
  function e() {
7804
7816
  var t;
7805
- v(this, e);
7817
+ _(this, e);
7806
7818
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
7807
7819
  s[n] = arguments[n];
7808
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 140), u(p(t), "incompatibleTokens", ["R", "u", "t", "T"]), t;
7820
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 140), c(p(t), "incompatibleTokens", ["R", "u", "t", "T"]), t;
7809
7821
  }
7810
- return g(e, [{
7822
+ return v(e, [{
7811
7823
  key: "parse",
7812
7824
  value: function(r, s, n) {
7813
7825
  switch (s) {
@@ -7840,7 +7852,7 @@ var nn = 10, Qi = /* @__PURE__ */ function() {
7840
7852
  return s.era = n, r.setUTCFullYear(n, 0, 1), r.setUTCHours(0, 0, 0, 0), r;
7841
7853
  }
7842
7854
  }]), e;
7843
- }(x), hn = 6e4, cn = 36e5, un = 1e3, M = {
7855
+ }(x), dn = 6e4, hn = 36e5, un = 1e3, O = {
7844
7856
  month: /^(1[0-2]|0?\d)/,
7845
7857
  // 0 to 12
7846
7858
  date: /^(3[0-1]|[0-2]?\d)/,
@@ -7878,7 +7890,7 @@ var nn = 10, Qi = /* @__PURE__ */ function() {
7878
7890
  // 0 to 999, -0 to -999
7879
7891
  fourDigitsSigned: /^-?\d{1,4}/
7880
7892
  // 0 to 9999, -0 to -9999
7881
- }, ee = {
7893
+ }, Z = {
7882
7894
  basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
7883
7895
  basic: /^([+-])(\d{2})(\d{2})|Z/,
7884
7896
  basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
@@ -7898,7 +7910,7 @@ function I(a, i) {
7898
7910
  rest: i.slice(e[0].length)
7899
7911
  } : null;
7900
7912
  }
7901
- function te(a, i) {
7913
+ function ee(a, i) {
7902
7914
  var e = i.match(a);
7903
7915
  if (!e)
7904
7916
  return null;
@@ -7909,37 +7921,37 @@ function te(a, i) {
7909
7921
  };
7910
7922
  var t = e[1] === "+" ? 1 : -1, r = e[2] ? parseInt(e[2], 10) : 0, s = e[3] ? parseInt(e[3], 10) : 0, n = e[5] ? parseInt(e[5], 10) : 0;
7911
7923
  return {
7912
- value: t * (r * cn + s * hn + n * un),
7924
+ value: t * (r * hn + s * dn + n * un),
7913
7925
  rest: i.slice(e[0].length)
7914
7926
  };
7915
7927
  }
7916
7928
  function Gi(a) {
7917
- return I(M.anyDigitsSigned, a);
7929
+ return I(O.anyDigitsSigned, a);
7918
7930
  }
7919
7931
  function E(a, i) {
7920
7932
  switch (a) {
7921
7933
  case 1:
7922
- return I(M.singleDigit, i);
7934
+ return I(O.singleDigit, i);
7923
7935
  case 2:
7924
- return I(M.twoDigits, i);
7936
+ return I(O.twoDigits, i);
7925
7937
  case 3:
7926
- return I(M.threeDigits, i);
7938
+ return I(O.threeDigits, i);
7927
7939
  case 4:
7928
- return I(M.fourDigits, i);
7940
+ return I(O.fourDigits, i);
7929
7941
  default:
7930
7942
  return I(new RegExp("^\\d{1," + a + "}"), i);
7931
7943
  }
7932
7944
  }
7933
- function qe(a, i) {
7945
+ function $e(a, i) {
7934
7946
  switch (a) {
7935
7947
  case 1:
7936
- return I(M.singleDigitSigned, i);
7948
+ return I(O.singleDigitSigned, i);
7937
7949
  case 2:
7938
- return I(M.twoDigitsSigned, i);
7950
+ return I(O.twoDigitsSigned, i);
7939
7951
  case 3:
7940
- return I(M.threeDigitsSigned, i);
7952
+ return I(O.threeDigitsSigned, i);
7941
7953
  case 4:
7942
- return I(M.fourDigitsSigned, i);
7954
+ return I(O.fourDigitsSigned, i);
7943
7955
  default:
7944
7956
  return I(new RegExp("^-?\\d{1," + a + "}"), i);
7945
7957
  }
@@ -7974,17 +7986,17 @@ function Xi(a, i) {
7974
7986
  function Ki(a) {
7975
7987
  return a % 400 === 0 || a % 4 === 0 && a % 100 !== 0;
7976
7988
  }
7977
- var pn = /* @__PURE__ */ function(a) {
7978
- y(e, a);
7989
+ var cn = /* @__PURE__ */ function(a) {
7990
+ b(e, a);
7979
7991
  var i = w(e);
7980
7992
  function e() {
7981
7993
  var t;
7982
- v(this, e);
7994
+ _(this, e);
7983
7995
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
7984
7996
  s[n] = arguments[n];
7985
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 130), u(p(t), "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]), t;
7997
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 130), c(p(t), "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]), t;
7986
7998
  }
7987
- return g(e, [{
7999
+ return v(e, [{
7988
8000
  key: "parse",
7989
8001
  value: function(r, s, n) {
7990
8002
  var o = function(d) {
@@ -8021,17 +8033,17 @@ var pn = /* @__PURE__ */ function(a) {
8021
8033
  return r.setUTCFullYear(d, 0, 1), r.setUTCHours(0, 0, 0, 0), r;
8022
8034
  }
8023
8035
  }]), e;
8024
- }(x), fn = /* @__PURE__ */ function(a) {
8025
- y(e, a);
8036
+ }(x), pn = /* @__PURE__ */ function(a) {
8037
+ b(e, a);
8026
8038
  var i = w(e);
8027
8039
  function e() {
8028
8040
  var t;
8029
- v(this, e);
8041
+ _(this, e);
8030
8042
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8031
8043
  s[n] = arguments[n];
8032
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 130), u(p(t), "incompatibleTokens", ["y", "R", "u", "Q", "q", "M", "L", "I", "d", "D", "i", "t", "T"]), t;
8044
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 130), c(p(t), "incompatibleTokens", ["y", "R", "u", "Q", "q", "M", "L", "I", "d", "D", "i", "t", "T"]), t;
8033
8045
  }
8034
- return g(e, [{
8046
+ return v(e, [{
8035
8047
  key: "parse",
8036
8048
  value: function(r, s, n) {
8037
8049
  var o = function(d) {
@@ -8059,51 +8071,51 @@ var pn = /* @__PURE__ */ function(a) {
8059
8071
  }, {
8060
8072
  key: "set",
8061
8073
  value: function(r, s, n, o) {
8062
- var l = St(r, o);
8074
+ var l = Pt(r, o);
8063
8075
  if (n.isTwoDigitYear) {
8064
8076
  var d = Xi(n.year, l);
8065
- return r.setUTCFullYear(d, 0, o.firstWeekContainsDate), r.setUTCHours(0, 0, 0, 0), ce(r, o);
8077
+ return r.setUTCFullYear(d, 0, o.firstWeekContainsDate), r.setUTCHours(0, 0, 0, 0), ue(r, o);
8066
8078
  }
8067
8079
  var f = !("era" in s) || s.era === 1 ? n.year : 1 - n.year;
8068
- return r.setUTCFullYear(f, 0, o.firstWeekContainsDate), r.setUTCHours(0, 0, 0, 0), ce(r, o);
8080
+ return r.setUTCFullYear(f, 0, o.firstWeekContainsDate), r.setUTCHours(0, 0, 0, 0), ue(r, o);
8069
8081
  }
8070
8082
  }]), e;
8071
- }(x), _n = /* @__PURE__ */ function(a) {
8072
- y(e, a);
8083
+ }(x), fn = /* @__PURE__ */ function(a) {
8084
+ b(e, a);
8073
8085
  var i = w(e);
8074
8086
  function e() {
8075
8087
  var t;
8076
- v(this, e);
8088
+ _(this, e);
8077
8089
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8078
8090
  s[n] = arguments[n];
8079
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 130), u(p(t), "incompatibleTokens", ["G", "y", "Y", "u", "Q", "q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]), t;
8091
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 130), c(p(t), "incompatibleTokens", ["G", "y", "Y", "u", "Q", "q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]), t;
8080
8092
  }
8081
- return g(e, [{
8093
+ return v(e, [{
8082
8094
  key: "parse",
8083
8095
  value: function(r, s) {
8084
- return qe(s === "R" ? 4 : s.length, r);
8096
+ return $e(s === "R" ? 4 : s.length, r);
8085
8097
  }
8086
8098
  }, {
8087
8099
  key: "set",
8088
8100
  value: function(r, s, n) {
8089
8101
  var o = /* @__PURE__ */ new Date(0);
8090
- return o.setUTCFullYear(n, 0, 4), o.setUTCHours(0, 0, 0, 0), me(o);
8102
+ return o.setUTCFullYear(n, 0, 4), o.setUTCHours(0, 0, 0, 0), _e(o);
8091
8103
  }
8092
8104
  }]), e;
8093
8105
  }(x), mn = /* @__PURE__ */ function(a) {
8094
- y(e, a);
8106
+ b(e, a);
8095
8107
  var i = w(e);
8096
8108
  function e() {
8097
8109
  var t;
8098
- v(this, e);
8110
+ _(this, e);
8099
8111
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8100
8112
  s[n] = arguments[n];
8101
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 130), u(p(t), "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]), t;
8113
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 130), c(p(t), "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]), t;
8102
8114
  }
8103
- return g(e, [{
8115
+ return v(e, [{
8104
8116
  key: "parse",
8105
8117
  value: function(r, s) {
8106
- return qe(s === "u" ? 4 : s.length, r);
8118
+ return $e(s === "u" ? 4 : s.length, r);
8107
8119
  }
8108
8120
  }, {
8109
8121
  key: "set",
@@ -8111,17 +8123,17 @@ var pn = /* @__PURE__ */ function(a) {
8111
8123
  return r.setUTCFullYear(n, 0, 1), r.setUTCHours(0, 0, 0, 0), r;
8112
8124
  }
8113
8125
  }]), e;
8114
- }(x), vn = /* @__PURE__ */ function(a) {
8115
- y(e, a);
8126
+ }(x), _n = /* @__PURE__ */ function(a) {
8127
+ b(e, a);
8116
8128
  var i = w(e);
8117
8129
  function e() {
8118
8130
  var t;
8119
- v(this, e);
8131
+ _(this, e);
8120
8132
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8121
8133
  s[n] = arguments[n];
8122
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 120), u(p(t), "incompatibleTokens", ["Y", "R", "q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]), t;
8134
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 120), c(p(t), "incompatibleTokens", ["Y", "R", "q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]), t;
8123
8135
  }
8124
- return g(e, [{
8136
+ return v(e, [{
8125
8137
  key: "parse",
8126
8138
  value: function(r, s, n) {
8127
8139
  switch (s) {
@@ -8170,17 +8182,17 @@ var pn = /* @__PURE__ */ function(a) {
8170
8182
  return r.setUTCMonth((n - 1) * 3, 1), r.setUTCHours(0, 0, 0, 0), r;
8171
8183
  }
8172
8184
  }]), e;
8173
- }(x), gn = /* @__PURE__ */ function(a) {
8174
- y(e, a);
8185
+ }(x), vn = /* @__PURE__ */ function(a) {
8186
+ b(e, a);
8175
8187
  var i = w(e);
8176
8188
  function e() {
8177
8189
  var t;
8178
- v(this, e);
8190
+ _(this, e);
8179
8191
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8180
8192
  s[n] = arguments[n];
8181
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 120), u(p(t), "incompatibleTokens", ["Y", "R", "Q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]), t;
8193
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 120), c(p(t), "incompatibleTokens", ["Y", "R", "Q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]), t;
8182
8194
  }
8183
- return g(e, [{
8195
+ return v(e, [{
8184
8196
  key: "parse",
8185
8197
  value: function(r, s, n) {
8186
8198
  switch (s) {
@@ -8229,17 +8241,17 @@ var pn = /* @__PURE__ */ function(a) {
8229
8241
  return r.setUTCMonth((n - 1) * 3, 1), r.setUTCHours(0, 0, 0, 0), r;
8230
8242
  }
8231
8243
  }]), e;
8232
- }(x), bn = /* @__PURE__ */ function(a) {
8233
- y(e, a);
8244
+ }(x), gn = /* @__PURE__ */ function(a) {
8245
+ b(e, a);
8234
8246
  var i = w(e);
8235
8247
  function e() {
8236
8248
  var t;
8237
- v(this, e);
8249
+ _(this, e);
8238
8250
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8239
8251
  s[n] = arguments[n];
8240
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "incompatibleTokens", ["Y", "R", "q", "Q", "L", "w", "I", "D", "i", "e", "c", "t", "T"]), u(p(t), "priority", 110), t;
8252
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "incompatibleTokens", ["Y", "R", "q", "Q", "L", "w", "I", "D", "i", "e", "c", "t", "T"]), c(p(t), "priority", 110), t;
8241
8253
  }
8242
- return g(e, [{
8254
+ return v(e, [{
8243
8255
  key: "parse",
8244
8256
  value: function(r, s, n) {
8245
8257
  var o = function(d) {
@@ -8247,7 +8259,7 @@ var pn = /* @__PURE__ */ function(a) {
8247
8259
  };
8248
8260
  switch (s) {
8249
8261
  case "M":
8250
- return V(I(M.month, r), o);
8262
+ return V(I(O.month, r), o);
8251
8263
  case "MM":
8252
8264
  return V(E(2, r), o);
8253
8265
  case "Mo":
@@ -8293,16 +8305,16 @@ var pn = /* @__PURE__ */ function(a) {
8293
8305
  }
8294
8306
  }]), e;
8295
8307
  }(x), yn = /* @__PURE__ */ function(a) {
8296
- y(e, a);
8308
+ b(e, a);
8297
8309
  var i = w(e);
8298
8310
  function e() {
8299
8311
  var t;
8300
- v(this, e);
8312
+ _(this, e);
8301
8313
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8302
8314
  s[n] = arguments[n];
8303
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 110), u(p(t), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "w", "I", "D", "i", "e", "c", "t", "T"]), t;
8315
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 110), c(p(t), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "w", "I", "D", "i", "e", "c", "t", "T"]), t;
8304
8316
  }
8305
- return g(e, [{
8317
+ return v(e, [{
8306
8318
  key: "parse",
8307
8319
  value: function(r, s, n) {
8308
8320
  var o = function(d) {
@@ -8310,7 +8322,7 @@ var pn = /* @__PURE__ */ function(a) {
8310
8322
  };
8311
8323
  switch (s) {
8312
8324
  case "L":
8313
- return V(I(M.month, r), o);
8325
+ return V(I(O.month, r), o);
8314
8326
  case "LL":
8315
8327
  return V(E(2, r), o);
8316
8328
  case "Lo":
@@ -8356,27 +8368,27 @@ var pn = /* @__PURE__ */ function(a) {
8356
8368
  }
8357
8369
  }]), e;
8358
8370
  }(x);
8359
- function wn(a, i, e) {
8360
- O(2, arguments);
8371
+ function bn(a, i, e) {
8372
+ M(2, arguments);
8361
8373
  var t = F(a), r = $(i), s = Bi(t, e) - r;
8362
8374
  return t.setUTCDate(t.getUTCDate() - s * 7), t;
8363
8375
  }
8364
- var xn = /* @__PURE__ */ function(a) {
8365
- y(e, a);
8376
+ var wn = /* @__PURE__ */ function(a) {
8377
+ b(e, a);
8366
8378
  var i = w(e);
8367
8379
  function e() {
8368
8380
  var t;
8369
- v(this, e);
8381
+ _(this, e);
8370
8382
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8371
8383
  s[n] = arguments[n];
8372
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 100), u(p(t), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "i", "t", "T"]), t;
8384
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 100), c(p(t), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "i", "t", "T"]), t;
8373
8385
  }
8374
- return g(e, [{
8386
+ return v(e, [{
8375
8387
  key: "parse",
8376
8388
  value: function(r, s, n) {
8377
8389
  switch (s) {
8378
8390
  case "w":
8379
- return I(M.week, r);
8391
+ return I(O.week, r);
8380
8392
  case "wo":
8381
8393
  return n.ordinalNumber(r, {
8382
8394
  unit: "week"
@@ -8393,31 +8405,31 @@ var xn = /* @__PURE__ */ function(a) {
8393
8405
  }, {
8394
8406
  key: "set",
8395
8407
  value: function(r, s, n, o) {
8396
- return ce(wn(r, n, o), o);
8408
+ return ue(bn(r, n, o), o);
8397
8409
  }
8398
8410
  }]), e;
8399
8411
  }(x);
8400
- function Cn(a, i) {
8401
- O(2, arguments);
8412
+ function xn(a, i) {
8413
+ M(2, arguments);
8402
8414
  var e = F(a), t = $(i), r = Ri(e) - t;
8403
8415
  return e.setUTCDate(e.getUTCDate() - r * 7), e;
8404
8416
  }
8405
- var kn = /* @__PURE__ */ function(a) {
8406
- y(e, a);
8417
+ var Cn = /* @__PURE__ */ function(a) {
8418
+ b(e, a);
8407
8419
  var i = w(e);
8408
8420
  function e() {
8409
8421
  var t;
8410
- v(this, e);
8422
+ _(this, e);
8411
8423
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8412
8424
  s[n] = arguments[n];
8413
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 100), u(p(t), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]), t;
8425
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 100), c(p(t), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]), t;
8414
8426
  }
8415
- return g(e, [{
8427
+ return v(e, [{
8416
8428
  key: "parse",
8417
8429
  value: function(r, s, n) {
8418
8430
  switch (s) {
8419
8431
  case "I":
8420
- return I(M.week, r);
8432
+ return I(O.week, r);
8421
8433
  case "Io":
8422
8434
  return n.ordinalNumber(r, {
8423
8435
  unit: "week"
@@ -8434,25 +8446,25 @@ var kn = /* @__PURE__ */ function(a) {
8434
8446
  }, {
8435
8447
  key: "set",
8436
8448
  value: function(r, s, n) {
8437
- return me(Cn(r, n));
8449
+ return _e(xn(r, n));
8438
8450
  }
8439
8451
  }]), e;
8440
- }(x), Tn = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Dn = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], In = /* @__PURE__ */ function(a) {
8441
- y(e, a);
8452
+ }(x), kn = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Tn = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Dn = /* @__PURE__ */ function(a) {
8453
+ b(e, a);
8442
8454
  var i = w(e);
8443
8455
  function e() {
8444
8456
  var t;
8445
- v(this, e);
8457
+ _(this, e);
8446
8458
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8447
8459
  s[n] = arguments[n];
8448
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 90), u(p(t), "subPriority", 1), u(p(t), "incompatibleTokens", ["Y", "R", "q", "Q", "w", "I", "D", "i", "e", "c", "t", "T"]), t;
8460
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 90), c(p(t), "subPriority", 1), c(p(t), "incompatibleTokens", ["Y", "R", "q", "Q", "w", "I", "D", "i", "e", "c", "t", "T"]), t;
8449
8461
  }
8450
- return g(e, [{
8462
+ return v(e, [{
8451
8463
  key: "parse",
8452
8464
  value: function(r, s, n) {
8453
8465
  switch (s) {
8454
8466
  case "d":
8455
- return I(M.date, r);
8467
+ return I(O.date, r);
8456
8468
  case "do":
8457
8469
  return n.ordinalNumber(r, {
8458
8470
  unit: "date"
@@ -8465,7 +8477,7 @@ var kn = /* @__PURE__ */ function(a) {
8465
8477
  key: "validate",
8466
8478
  value: function(r, s) {
8467
8479
  var n = r.getUTCFullYear(), o = Ki(n), l = r.getUTCMonth();
8468
- return o ? s >= 1 && s <= Dn[l] : s >= 1 && s <= Tn[l];
8480
+ return o ? s >= 1 && s <= Tn[l] : s >= 1 && s <= kn[l];
8469
8481
  }
8470
8482
  }, {
8471
8483
  key: "set",
@@ -8473,23 +8485,23 @@ var kn = /* @__PURE__ */ function(a) {
8473
8485
  return r.setUTCDate(n), r.setUTCHours(0, 0, 0, 0), r;
8474
8486
  }
8475
8487
  }]), e;
8476
- }(x), Pn = /* @__PURE__ */ function(a) {
8477
- y(e, a);
8488
+ }(x), In = /* @__PURE__ */ function(a) {
8489
+ b(e, a);
8478
8490
  var i = w(e);
8479
8491
  function e() {
8480
8492
  var t;
8481
- v(this, e);
8493
+ _(this, e);
8482
8494
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8483
8495
  s[n] = arguments[n];
8484
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 90), u(p(t), "subpriority", 1), u(p(t), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "L", "w", "I", "d", "E", "i", "e", "c", "t", "T"]), t;
8496
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 90), c(p(t), "subpriority", 1), c(p(t), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "L", "w", "I", "d", "E", "i", "e", "c", "t", "T"]), t;
8485
8497
  }
8486
- return g(e, [{
8498
+ return v(e, [{
8487
8499
  key: "parse",
8488
8500
  value: function(r, s, n) {
8489
8501
  switch (s) {
8490
8502
  case "D":
8491
8503
  case "DD":
8492
- return I(M.dayOfYear, r);
8504
+ return I(O.dayOfYear, r);
8493
8505
  case "Do":
8494
8506
  return n.ordinalNumber(r, {
8495
8507
  unit: "date"
@@ -8511,26 +8523,26 @@ var kn = /* @__PURE__ */ function(a) {
8511
8523
  }
8512
8524
  }]), e;
8513
8525
  }(x);
8514
- function Ot(a, i, e) {
8526
+ function Mt(a, i, e) {
8515
8527
  var t, r, s, n, o, l, d, f;
8516
- O(2, arguments);
8528
+ M(2, arguments);
8517
8529
  var h = ge(), m = $((t = (r = (s = (n = e == null ? void 0 : e.weekStartsOn) !== null && n !== void 0 ? n : e == null || (o = e.locale) === null || o === void 0 || (l = o.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && s !== void 0 ? s : h.weekStartsOn) !== null && r !== void 0 ? r : (d = h.locale) === null || d === void 0 || (f = d.options) === null || f === void 0 ? void 0 : f.weekStartsOn) !== null && t !== void 0 ? t : 0);
8518
8530
  if (!(m >= 0 && m <= 6))
8519
8531
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
8520
- var _ = F(a), b = $(i), B = _.getUTCDay(), z = b % 7, N = (z + 7) % 7, S = (N < m ? 7 : 0) + b - B;
8521
- return _.setUTCDate(_.getUTCDate() + S), _;
8532
+ var g = F(a), y = $(i), B = g.getUTCDay(), z = y % 7, N = (z + 7) % 7, P = (N < m ? 7 : 0) + y - B;
8533
+ return g.setUTCDate(g.getUTCDate() + P), g;
8522
8534
  }
8523
8535
  var Sn = /* @__PURE__ */ function(a) {
8524
- y(e, a);
8536
+ b(e, a);
8525
8537
  var i = w(e);
8526
8538
  function e() {
8527
8539
  var t;
8528
- v(this, e);
8540
+ _(this, e);
8529
8541
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8530
8542
  s[n] = arguments[n];
8531
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 90), u(p(t), "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]), t;
8543
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 90), c(p(t), "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]), t;
8532
8544
  }
8533
- return g(e, [{
8545
+ return v(e, [{
8534
8546
  key: "parse",
8535
8547
  value: function(r, s, n) {
8536
8548
  switch (s) {
@@ -8585,20 +8597,20 @@ var Sn = /* @__PURE__ */ function(a) {
8585
8597
  }, {
8586
8598
  key: "set",
8587
8599
  value: function(r, s, n, o) {
8588
- return r = Ot(r, n, o), r.setUTCHours(0, 0, 0, 0), r;
8600
+ return r = Mt(r, n, o), r.setUTCHours(0, 0, 0, 0), r;
8589
8601
  }
8590
8602
  }]), e;
8591
- }(x), En = /* @__PURE__ */ function(a) {
8592
- y(e, a);
8603
+ }(x), Pn = /* @__PURE__ */ function(a) {
8604
+ b(e, a);
8593
8605
  var i = w(e);
8594
8606
  function e() {
8595
8607
  var t;
8596
- v(this, e);
8608
+ _(this, e);
8597
8609
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8598
8610
  s[n] = arguments[n];
8599
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 90), u(p(t), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "c", "t", "T"]), t;
8611
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 90), c(p(t), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "c", "t", "T"]), t;
8600
8612
  }
8601
- return g(e, [{
8613
+ return v(e, [{
8602
8614
  key: "parse",
8603
8615
  value: function(r, s, n, o) {
8604
8616
  var l = function(f) {
@@ -8662,20 +8674,20 @@ var Sn = /* @__PURE__ */ function(a) {
8662
8674
  }, {
8663
8675
  key: "set",
8664
8676
  value: function(r, s, n, o) {
8665
- return r = Ot(r, n, o), r.setUTCHours(0, 0, 0, 0), r;
8677
+ return r = Mt(r, n, o), r.setUTCHours(0, 0, 0, 0), r;
8666
8678
  }
8667
8679
  }]), e;
8668
- }(x), On = /* @__PURE__ */ function(a) {
8669
- y(e, a);
8680
+ }(x), En = /* @__PURE__ */ function(a) {
8681
+ b(e, a);
8670
8682
  var i = w(e);
8671
8683
  function e() {
8672
8684
  var t;
8673
- v(this, e);
8685
+ _(this, e);
8674
8686
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8675
8687
  s[n] = arguments[n];
8676
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 90), u(p(t), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "e", "t", "T"]), t;
8688
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 90), c(p(t), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "e", "t", "T"]), t;
8677
8689
  }
8678
- return g(e, [{
8690
+ return v(e, [{
8679
8691
  key: "parse",
8680
8692
  value: function(r, s, n, o) {
8681
8693
  var l = function(f) {
@@ -8739,28 +8751,28 @@ var Sn = /* @__PURE__ */ function(a) {
8739
8751
  }, {
8740
8752
  key: "set",
8741
8753
  value: function(r, s, n, o) {
8742
- return r = Ot(r, n, o), r.setUTCHours(0, 0, 0, 0), r;
8754
+ return r = Mt(r, n, o), r.setUTCHours(0, 0, 0, 0), r;
8743
8755
  }
8744
8756
  }]), e;
8745
8757
  }(x);
8746
8758
  function Mn(a, i) {
8747
- O(2, arguments);
8759
+ M(2, arguments);
8748
8760
  var e = $(i);
8749
8761
  e % 7 === 0 && (e = e - 7);
8750
8762
  var t = 1, r = F(a), s = r.getUTCDay(), n = e % 7, o = (n + 7) % 7, l = (o < t ? 7 : 0) + e - s;
8751
8763
  return r.setUTCDate(r.getUTCDate() + l), r;
8752
8764
  }
8753
- var Vn = /* @__PURE__ */ function(a) {
8754
- y(e, a);
8765
+ var On = /* @__PURE__ */ function(a) {
8766
+ b(e, a);
8755
8767
  var i = w(e);
8756
8768
  function e() {
8757
8769
  var t;
8758
- v(this, e);
8770
+ _(this, e);
8759
8771
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8760
8772
  s[n] = arguments[n];
8761
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 90), u(p(t), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "E", "e", "c", "t", "T"]), t;
8773
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 90), c(p(t), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "E", "e", "c", "t", "T"]), t;
8762
8774
  }
8763
- return g(e, [{
8775
+ return v(e, [{
8764
8776
  key: "parse",
8765
8777
  value: function(r, s, n) {
8766
8778
  var o = function(d) {
@@ -8826,17 +8838,17 @@ var Vn = /* @__PURE__ */ function(a) {
8826
8838
  return r = Mn(r, n), r.setUTCHours(0, 0, 0, 0), r;
8827
8839
  }
8828
8840
  }]), e;
8829
- }(x), Fn = /* @__PURE__ */ function(a) {
8830
- y(e, a);
8841
+ }(x), Vn = /* @__PURE__ */ function(a) {
8842
+ b(e, a);
8831
8843
  var i = w(e);
8832
8844
  function e() {
8833
8845
  var t;
8834
- v(this, e);
8846
+ _(this, e);
8835
8847
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8836
8848
  s[n] = arguments[n];
8837
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 80), u(p(t), "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]), t;
8849
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 80), c(p(t), "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]), t;
8838
8850
  }
8839
- return g(e, [{
8851
+ return v(e, [{
8840
8852
  key: "parse",
8841
8853
  value: function(r, s, n) {
8842
8854
  switch (s) {
@@ -8875,17 +8887,17 @@ var Vn = /* @__PURE__ */ function(a) {
8875
8887
  return r.setUTCHours(Et(n), 0, 0, 0), r;
8876
8888
  }
8877
8889
  }]), e;
8878
- }(x), An = /* @__PURE__ */ function(a) {
8879
- y(e, a);
8890
+ }(x), Fn = /* @__PURE__ */ function(a) {
8891
+ b(e, a);
8880
8892
  var i = w(e);
8881
8893
  function e() {
8882
8894
  var t;
8883
- v(this, e);
8895
+ _(this, e);
8884
8896
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8885
8897
  s[n] = arguments[n];
8886
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 80), u(p(t), "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]), t;
8898
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 80), c(p(t), "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]), t;
8887
8899
  }
8888
- return g(e, [{
8900
+ return v(e, [{
8889
8901
  key: "parse",
8890
8902
  value: function(r, s, n) {
8891
8903
  switch (s) {
@@ -8924,17 +8936,17 @@ var Vn = /* @__PURE__ */ function(a) {
8924
8936
  return r.setUTCHours(Et(n), 0, 0, 0), r;
8925
8937
  }
8926
8938
  }]), e;
8927
- }(x), Hn = /* @__PURE__ */ function(a) {
8928
- y(e, a);
8939
+ }(x), An = /* @__PURE__ */ function(a) {
8940
+ b(e, a);
8929
8941
  var i = w(e);
8930
8942
  function e() {
8931
8943
  var t;
8932
- v(this, e);
8944
+ _(this, e);
8933
8945
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8934
8946
  s[n] = arguments[n];
8935
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 80), u(p(t), "incompatibleTokens", ["a", "b", "t", "T"]), t;
8947
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 80), c(p(t), "incompatibleTokens", ["a", "b", "t", "T"]), t;
8936
8948
  }
8937
- return g(e, [{
8949
+ return v(e, [{
8938
8950
  key: "parse",
8939
8951
  value: function(r, s, n) {
8940
8952
  switch (s) {
@@ -8973,22 +8985,22 @@ var Vn = /* @__PURE__ */ function(a) {
8973
8985
  return r.setUTCHours(Et(n), 0, 0, 0), r;
8974
8986
  }
8975
8987
  }]), e;
8976
- }(x), zn = /* @__PURE__ */ function(a) {
8977
- y(e, a);
8988
+ }(x), Hn = /* @__PURE__ */ function(a) {
8989
+ b(e, a);
8978
8990
  var i = w(e);
8979
8991
  function e() {
8980
8992
  var t;
8981
- v(this, e);
8993
+ _(this, e);
8982
8994
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
8983
8995
  s[n] = arguments[n];
8984
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 70), u(p(t), "incompatibleTokens", ["H", "K", "k", "t", "T"]), t;
8996
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 70), c(p(t), "incompatibleTokens", ["H", "K", "k", "t", "T"]), t;
8985
8997
  }
8986
- return g(e, [{
8998
+ return v(e, [{
8987
8999
  key: "parse",
8988
9000
  value: function(r, s, n) {
8989
9001
  switch (s) {
8990
9002
  case "h":
8991
- return I(M.hour12h, r);
9003
+ return I(O.hour12h, r);
8992
9004
  case "ho":
8993
9005
  return n.ordinalNumber(r, {
8994
9006
  unit: "hour"
@@ -9009,22 +9021,22 @@ var Vn = /* @__PURE__ */ function(a) {
9009
9021
  return o && n < 12 ? r.setUTCHours(n + 12, 0, 0, 0) : !o && n === 12 ? r.setUTCHours(0, 0, 0, 0) : r.setUTCHours(n, 0, 0, 0), r;
9010
9022
  }
9011
9023
  }]), e;
9012
- }(x), Ln = /* @__PURE__ */ function(a) {
9013
- y(e, a);
9024
+ }(x), zn = /* @__PURE__ */ function(a) {
9025
+ b(e, a);
9014
9026
  var i = w(e);
9015
9027
  function e() {
9016
9028
  var t;
9017
- v(this, e);
9029
+ _(this, e);
9018
9030
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
9019
9031
  s[n] = arguments[n];
9020
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 70), u(p(t), "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]), t;
9032
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 70), c(p(t), "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]), t;
9021
9033
  }
9022
- return g(e, [{
9034
+ return v(e, [{
9023
9035
  key: "parse",
9024
9036
  value: function(r, s, n) {
9025
9037
  switch (s) {
9026
9038
  case "H":
9027
- return I(M.hour23h, r);
9039
+ return I(O.hour23h, r);
9028
9040
  case "Ho":
9029
9041
  return n.ordinalNumber(r, {
9030
9042
  unit: "hour"
@@ -9044,22 +9056,22 @@ var Vn = /* @__PURE__ */ function(a) {
9044
9056
  return r.setUTCHours(n, 0, 0, 0), r;
9045
9057
  }
9046
9058
  }]), e;
9047
- }(x), Rn = /* @__PURE__ */ function(a) {
9048
- y(e, a);
9059
+ }(x), Ln = /* @__PURE__ */ function(a) {
9060
+ b(e, a);
9049
9061
  var i = w(e);
9050
9062
  function e() {
9051
9063
  var t;
9052
- v(this, e);
9064
+ _(this, e);
9053
9065
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
9054
9066
  s[n] = arguments[n];
9055
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 70), u(p(t), "incompatibleTokens", ["h", "H", "k", "t", "T"]), t;
9067
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 70), c(p(t), "incompatibleTokens", ["h", "H", "k", "t", "T"]), t;
9056
9068
  }
9057
- return g(e, [{
9069
+ return v(e, [{
9058
9070
  key: "parse",
9059
9071
  value: function(r, s, n) {
9060
9072
  switch (s) {
9061
9073
  case "K":
9062
- return I(M.hour11h, r);
9074
+ return I(O.hour11h, r);
9063
9075
  case "Ko":
9064
9076
  return n.ordinalNumber(r, {
9065
9077
  unit: "hour"
@@ -9080,22 +9092,22 @@ var Vn = /* @__PURE__ */ function(a) {
9080
9092
  return o && n < 12 ? r.setUTCHours(n + 12, 0, 0, 0) : r.setUTCHours(n, 0, 0, 0), r;
9081
9093
  }
9082
9094
  }]), e;
9083
- }(x), Bn = /* @__PURE__ */ function(a) {
9084
- y(e, a);
9095
+ }(x), Rn = /* @__PURE__ */ function(a) {
9096
+ b(e, a);
9085
9097
  var i = w(e);
9086
9098
  function e() {
9087
9099
  var t;
9088
- v(this, e);
9100
+ _(this, e);
9089
9101
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
9090
9102
  s[n] = arguments[n];
9091
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 70), u(p(t), "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]), t;
9103
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 70), c(p(t), "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]), t;
9092
9104
  }
9093
- return g(e, [{
9105
+ return v(e, [{
9094
9106
  key: "parse",
9095
9107
  value: function(r, s, n) {
9096
9108
  switch (s) {
9097
9109
  case "k":
9098
- return I(M.hour24h, r);
9110
+ return I(O.hour24h, r);
9099
9111
  case "ko":
9100
9112
  return n.ordinalNumber(r, {
9101
9113
  unit: "hour"
@@ -9116,22 +9128,22 @@ var Vn = /* @__PURE__ */ function(a) {
9116
9128
  return r.setUTCHours(o, 0, 0, 0), r;
9117
9129
  }
9118
9130
  }]), e;
9119
- }(x), Nn = /* @__PURE__ */ function(a) {
9120
- y(e, a);
9131
+ }(x), Bn = /* @__PURE__ */ function(a) {
9132
+ b(e, a);
9121
9133
  var i = w(e);
9122
9134
  function e() {
9123
9135
  var t;
9124
- v(this, e);
9136
+ _(this, e);
9125
9137
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
9126
9138
  s[n] = arguments[n];
9127
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 60), u(p(t), "incompatibleTokens", ["t", "T"]), t;
9139
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 60), c(p(t), "incompatibleTokens", ["t", "T"]), t;
9128
9140
  }
9129
- return g(e, [{
9141
+ return v(e, [{
9130
9142
  key: "parse",
9131
9143
  value: function(r, s, n) {
9132
9144
  switch (s) {
9133
9145
  case "m":
9134
- return I(M.minute, r);
9146
+ return I(O.minute, r);
9135
9147
  case "mo":
9136
9148
  return n.ordinalNumber(r, {
9137
9149
  unit: "minute"
@@ -9151,22 +9163,22 @@ var Vn = /* @__PURE__ */ function(a) {
9151
9163
  return r.setUTCMinutes(n, 0, 0), r;
9152
9164
  }
9153
9165
  }]), e;
9154
- }(x), $n = /* @__PURE__ */ function(a) {
9155
- y(e, a);
9166
+ }(x), Nn = /* @__PURE__ */ function(a) {
9167
+ b(e, a);
9156
9168
  var i = w(e);
9157
9169
  function e() {
9158
9170
  var t;
9159
- v(this, e);
9171
+ _(this, e);
9160
9172
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
9161
9173
  s[n] = arguments[n];
9162
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 50), u(p(t), "incompatibleTokens", ["t", "T"]), t;
9174
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 50), c(p(t), "incompatibleTokens", ["t", "T"]), t;
9163
9175
  }
9164
- return g(e, [{
9176
+ return v(e, [{
9165
9177
  key: "parse",
9166
9178
  value: function(r, s, n) {
9167
9179
  switch (s) {
9168
9180
  case "s":
9169
- return I(M.second, r);
9181
+ return I(O.second, r);
9170
9182
  case "so":
9171
9183
  return n.ordinalNumber(r, {
9172
9184
  unit: "second"
@@ -9186,17 +9198,17 @@ var Vn = /* @__PURE__ */ function(a) {
9186
9198
  return r.setUTCSeconds(n, 0), r;
9187
9199
  }
9188
9200
  }]), e;
9189
- }(x), qn = /* @__PURE__ */ function(a) {
9190
- y(e, a);
9201
+ }(x), $n = /* @__PURE__ */ function(a) {
9202
+ b(e, a);
9191
9203
  var i = w(e);
9192
9204
  function e() {
9193
9205
  var t;
9194
- v(this, e);
9206
+ _(this, e);
9195
9207
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
9196
9208
  s[n] = arguments[n];
9197
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 30), u(p(t), "incompatibleTokens", ["t", "T"]), t;
9209
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 30), c(p(t), "incompatibleTokens", ["t", "T"]), t;
9198
9210
  }
9199
- return g(e, [{
9211
+ return v(e, [{
9200
9212
  key: "parse",
9201
9213
  value: function(r, s) {
9202
9214
  var n = function(l) {
@@ -9211,30 +9223,30 @@ var Vn = /* @__PURE__ */ function(a) {
9211
9223
  }
9212
9224
  }]), e;
9213
9225
  }(x), Un = /* @__PURE__ */ function(a) {
9214
- y(e, a);
9226
+ b(e, a);
9215
9227
  var i = w(e);
9216
9228
  function e() {
9217
9229
  var t;
9218
- v(this, e);
9230
+ _(this, e);
9219
9231
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
9220
9232
  s[n] = arguments[n];
9221
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 10), u(p(t), "incompatibleTokens", ["t", "T", "x"]), t;
9233
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 10), c(p(t), "incompatibleTokens", ["t", "T", "x"]), t;
9222
9234
  }
9223
- return g(e, [{
9235
+ return v(e, [{
9224
9236
  key: "parse",
9225
9237
  value: function(r, s) {
9226
9238
  switch (s) {
9227
9239
  case "X":
9228
- return te(ee.basicOptionalMinutes, r);
9240
+ return ee(Z.basicOptionalMinutes, r);
9229
9241
  case "XX":
9230
- return te(ee.basic, r);
9242
+ return ee(Z.basic, r);
9231
9243
  case "XXXX":
9232
- return te(ee.basicOptionalSeconds, r);
9244
+ return ee(Z.basicOptionalSeconds, r);
9233
9245
  case "XXXXX":
9234
- return te(ee.extendedOptionalSeconds, r);
9246
+ return ee(Z.extendedOptionalSeconds, r);
9235
9247
  case "XXX":
9236
9248
  default:
9237
- return te(ee.extended, r);
9249
+ return ee(Z.extended, r);
9238
9250
  }
9239
9251
  }
9240
9252
  }, {
@@ -9244,30 +9256,30 @@ var Vn = /* @__PURE__ */ function(a) {
9244
9256
  }
9245
9257
  }]), e;
9246
9258
  }(x), Yn = /* @__PURE__ */ function(a) {
9247
- y(e, a);
9259
+ b(e, a);
9248
9260
  var i = w(e);
9249
9261
  function e() {
9250
9262
  var t;
9251
- v(this, e);
9263
+ _(this, e);
9252
9264
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
9253
9265
  s[n] = arguments[n];
9254
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 10), u(p(t), "incompatibleTokens", ["t", "T", "X"]), t;
9266
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 10), c(p(t), "incompatibleTokens", ["t", "T", "X"]), t;
9255
9267
  }
9256
- return g(e, [{
9268
+ return v(e, [{
9257
9269
  key: "parse",
9258
9270
  value: function(r, s) {
9259
9271
  switch (s) {
9260
9272
  case "x":
9261
- return te(ee.basicOptionalMinutes, r);
9273
+ return ee(Z.basicOptionalMinutes, r);
9262
9274
  case "xx":
9263
- return te(ee.basic, r);
9275
+ return ee(Z.basic, r);
9264
9276
  case "xxxx":
9265
- return te(ee.basicOptionalSeconds, r);
9277
+ return ee(Z.basicOptionalSeconds, r);
9266
9278
  case "xxxxx":
9267
- return te(ee.extendedOptionalSeconds, r);
9279
+ return ee(Z.extendedOptionalSeconds, r);
9268
9280
  case "xxx":
9269
9281
  default:
9270
- return te(ee.extended, r);
9282
+ return ee(Z.extended, r);
9271
9283
  }
9272
9284
  }
9273
9285
  }, {
@@ -9276,17 +9288,17 @@ var Vn = /* @__PURE__ */ function(a) {
9276
9288
  return s.timestampIsSet ? r : new Date(r.getTime() - n);
9277
9289
  }
9278
9290
  }]), e;
9279
- }(x), Wn = /* @__PURE__ */ function(a) {
9280
- y(e, a);
9291
+ }(x), qn = /* @__PURE__ */ function(a) {
9292
+ b(e, a);
9281
9293
  var i = w(e);
9282
9294
  function e() {
9283
9295
  var t;
9284
- v(this, e);
9296
+ _(this, e);
9285
9297
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
9286
9298
  s[n] = arguments[n];
9287
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 40), u(p(t), "incompatibleTokens", "*"), t;
9299
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 40), c(p(t), "incompatibleTokens", "*"), t;
9288
9300
  }
9289
- return g(e, [{
9301
+ return v(e, [{
9290
9302
  key: "parse",
9291
9303
  value: function(r) {
9292
9304
  return Gi(r);
@@ -9299,17 +9311,17 @@ var Vn = /* @__PURE__ */ function(a) {
9299
9311
  }];
9300
9312
  }
9301
9313
  }]), e;
9302
- }(x), jn = /* @__PURE__ */ function(a) {
9303
- y(e, a);
9314
+ }(x), Wn = /* @__PURE__ */ function(a) {
9315
+ b(e, a);
9304
9316
  var i = w(e);
9305
9317
  function e() {
9306
9318
  var t;
9307
- v(this, e);
9319
+ _(this, e);
9308
9320
  for (var r = arguments.length, s = new Array(r), n = 0; n < r; n++)
9309
9321
  s[n] = arguments[n];
9310
- return t = i.call.apply(i, [this].concat(s)), u(p(t), "priority", 20), u(p(t), "incompatibleTokens", "*"), t;
9322
+ return t = i.call.apply(i, [this].concat(s)), c(p(t), "priority", 20), c(p(t), "incompatibleTokens", "*"), t;
9311
9323
  }
9312
- return g(e, [{
9324
+ return v(e, [{
9313
9325
  key: "parse",
9314
9326
  value: function(r) {
9315
9327
  return Gi(r);
@@ -9322,70 +9334,70 @@ var Vn = /* @__PURE__ */ function(a) {
9322
9334
  }];
9323
9335
  }
9324
9336
  }]), e;
9325
- }(x), Qn = {
9326
- G: new dn(),
9327
- y: new pn(),
9328
- Y: new fn(),
9329
- R: new _n(),
9337
+ }(x), jn = {
9338
+ G: new ln(),
9339
+ y: new cn(),
9340
+ Y: new pn(),
9341
+ R: new fn(),
9330
9342
  u: new mn(),
9331
- Q: new vn(),
9332
- q: new gn(),
9333
- M: new bn(),
9343
+ Q: new _n(),
9344
+ q: new vn(),
9345
+ M: new gn(),
9334
9346
  L: new yn(),
9335
- w: new xn(),
9336
- I: new kn(),
9337
- d: new In(),
9338
- D: new Pn(),
9347
+ w: new wn(),
9348
+ I: new Cn(),
9349
+ d: new Dn(),
9350
+ D: new In(),
9339
9351
  E: new Sn(),
9340
- e: new En(),
9341
- c: new On(),
9342
- i: new Vn(),
9343
- a: new Fn(),
9344
- b: new An(),
9345
- B: new Hn(),
9346
- h: new zn(),
9347
- H: new Ln(),
9348
- K: new Rn(),
9349
- k: new Bn(),
9350
- m: new Nn(),
9351
- s: new $n(),
9352
- S: new qn(),
9352
+ e: new Pn(),
9353
+ c: new En(),
9354
+ i: new On(),
9355
+ a: new Vn(),
9356
+ b: new Fn(),
9357
+ B: new An(),
9358
+ h: new Hn(),
9359
+ H: new zn(),
9360
+ K: new Ln(),
9361
+ k: new Rn(),
9362
+ m: new Bn(),
9363
+ s: new Nn(),
9364
+ S: new $n(),
9353
9365
  X: new Un(),
9354
9366
  x: new Yn(),
9355
- t: new Wn(),
9356
- T: new jn()
9357
- }, Gn = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Xn = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Kn = /^'([^]*?)'?$/, Jn = /''/g, Zn = /\S/, eo = /[a-zA-Z]/;
9358
- function Le(a, i, e, t) {
9359
- var r, s, n, o, l, d, f, h, m, _, b, B, z, N;
9360
- O(3, arguments);
9361
- var S = String(a), j = String(i), K = ge(), U = (r = (s = void 0) !== null && s !== void 0 ? s : K.locale) !== null && r !== void 0 ? r : Yi;
9362
- if (!U.match)
9367
+ t: new qn(),
9368
+ T: new Wn()
9369
+ }, Qn = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Gn = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Xn = /^'([^]*?)'?$/, Kn = /''/g, Jn = /\S/, Zn = /[a-zA-Z]/;
9370
+ function ze(a, i, e, t) {
9371
+ var r, s, n, o, l, d, f, h, m, g, y, B, z, N;
9372
+ M(3, arguments);
9373
+ var P = String(a), j = String(i), X = ge(), Y = (r = (s = void 0) !== null && s !== void 0 ? s : X.locale) !== null && r !== void 0 ? r : qi;
9374
+ if (!Y.match)
9363
9375
  throw new RangeError("locale must contain match property");
9364
- var ne = $((n = (o = (l = (d = void 0) !== null && d !== void 0 ? d : void 0) !== null && l !== void 0 ? l : K.firstWeekContainsDate) !== null && o !== void 0 ? o : (f = K.locale) === null || f === void 0 || (h = f.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && n !== void 0 ? n : 1);
9376
+ var ne = $((n = (o = (l = (d = void 0) !== null && d !== void 0 ? d : void 0) !== null && l !== void 0 ? l : X.firstWeekContainsDate) !== null && o !== void 0 ? o : (f = X.locale) === null || f === void 0 || (h = f.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && n !== void 0 ? n : 1);
9365
9377
  if (!(ne >= 1 && ne <= 7))
9366
9378
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
9367
- var be = $((m = (_ = (b = (B = void 0) !== null && B !== void 0 ? B : void 0) !== null && b !== void 0 ? b : K.weekStartsOn) !== null && _ !== void 0 ? _ : (z = K.locale) === null || z === void 0 || (N = z.options) === null || N === void 0 ? void 0 : N.weekStartsOn) !== null && m !== void 0 ? m : 0);
9368
- if (!(be >= 0 && be <= 6))
9379
+ var ye = $((m = (g = (y = (B = void 0) !== null && B !== void 0 ? B : void 0) !== null && y !== void 0 ? y : X.weekStartsOn) !== null && g !== void 0 ? g : (z = X.locale) === null || z === void 0 || (N = z.options) === null || N === void 0 ? void 0 : N.weekStartsOn) !== null && m !== void 0 ? m : 0);
9380
+ if (!(ye >= 0 && ye <= 6))
9369
9381
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
9370
9382
  if (j === "")
9371
- return S === "" ? F(e) : /* @__PURE__ */ new Date(NaN);
9372
- var ye = {
9383
+ return P === "" ? F(e) : /* @__PURE__ */ new Date(NaN);
9384
+ var be = {
9373
9385
  firstWeekContainsDate: ne,
9374
- weekStartsOn: be,
9375
- locale: U
9376
- }, we = [new ln()], je = j.match(Xn).map(function(A) {
9386
+ weekStartsOn: ye,
9387
+ locale: Y
9388
+ }, we = [new on()], We = j.match(Gn).map(function(A) {
9377
9389
  var T = A[0];
9378
9390
  if (T in pt) {
9379
9391
  var Q = pt[T];
9380
- return Q(A, U.formatLong);
9392
+ return Q(A, Y.formatLong);
9381
9393
  }
9382
9394
  return A;
9383
- }).join("").match(Gn), L = [], Y = Jt(je), de;
9395
+ }).join("").match(Qn), L = [], q = Jt(We), de;
9384
9396
  try {
9385
9397
  var ir = function() {
9386
9398
  var T = de.value;
9387
- !(t != null && t.useAdditionalWeekYearTokens) && Ui(T) && Ne(T, j, a), !(t != null && t.useAdditionalDayOfYearTokens) && qi(T) && Ne(T, j, a);
9388
- var Q = T[0], Ve = Qn[Q];
9399
+ !(t != null && t.useAdditionalWeekYearTokens) && Yi(T) && Be(T, j, a), !(t != null && t.useAdditionalDayOfYearTokens) && Ui(T) && Be(T, j, a);
9400
+ var Q = T[0], Ve = jn[Q];
9389
9401
  if (Ve) {
9390
9402
  var zt = Ve.incompatibleTokens;
9391
9403
  if (Array.isArray(zt)) {
@@ -9400,33 +9412,34 @@ function Le(a, i, e, t) {
9400
9412
  token: Q,
9401
9413
  fullToken: T
9402
9414
  });
9403
- var Ge = Ve.run(S, T, U.match, ye);
9404
- if (!Ge)
9415
+ var Qe = Ve.run(P, T, Y.match, be);
9416
+ if (!Qe)
9405
9417
  return {
9406
9418
  v: /* @__PURE__ */ new Date(NaN)
9407
9419
  };
9408
- we.push(Ge.setter), S = Ge.rest;
9420
+ we.push(Qe.setter), P = Qe.rest;
9409
9421
  } else {
9410
- if (Q.match(eo))
9422
+ if (Q.match(Zn))
9411
9423
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + Q + "`");
9412
- if (T === "''" ? T = "'" : Q === "'" && (T = to(T)), S.indexOf(T) === 0)
9413
- S = S.slice(T.length);
9424
+ if (T === "''" ? T = "'" : Q === "'" && (T = eo(T)), P.indexOf(T) === 0)
9425
+ P = P.slice(T.length);
9414
9426
  else
9415
9427
  return {
9416
9428
  v: /* @__PURE__ */ new Date(NaN)
9417
9429
  };
9418
9430
  }
9419
9431
  };
9420
- for (Y.s(); !(de = Y.n()).done; ) {
9432
+ for (q.s(); !(de = q.n()).done; ) {
9421
9433
  var Vt = ir();
9422
- if (re(Vt) === "object") return Vt.v;
9434
+ if (re(Vt) === "object")
9435
+ return Vt.v;
9423
9436
  }
9424
9437
  } catch (A) {
9425
- Y.e(A);
9438
+ q.e(A);
9426
9439
  } finally {
9427
- Y.f();
9440
+ q.f();
9428
9441
  }
9429
- if (S.length > 0 && Zn.test(S))
9442
+ if (P.length > 0 && Jn.test(P))
9430
9443
  return /* @__PURE__ */ new Date(NaN);
9431
9444
  var rr = we.map(function(A) {
9432
9445
  return A.priority;
@@ -9442,52 +9455,55 @@ function Le(a, i, e, t) {
9442
9455
  });
9443
9456
  }).map(function(A) {
9444
9457
  return A[0];
9445
- }), Qe = F(e);
9446
- if (isNaN(Qe.getTime()))
9458
+ }), je = F(e);
9459
+ if (isNaN(je.getTime()))
9447
9460
  return /* @__PURE__ */ new Date(NaN);
9448
- var xe = zi(Qe, $i(Qe)), Ft = {}, Oe = Jt(rr), At;
9461
+ var xe = zi(je, $i(je)), Ft = {}, Me = Jt(rr), At;
9449
9462
  try {
9450
- for (Oe.s(); !(At = Oe.n()).done; ) {
9463
+ for (Me.s(); !(At = Me.n()).done; ) {
9451
9464
  var Ht = At.value;
9452
- if (!Ht.validate(xe, ye))
9465
+ if (!Ht.validate(xe, be))
9453
9466
  return /* @__PURE__ */ new Date(NaN);
9454
- var Me = Ht.set(xe, Ft, ye);
9455
- Array.isArray(Me) ? (xe = Me[0], tn(Ft, Me[1])) : xe = Me;
9467
+ var Oe = Ht.set(xe, Ft, be);
9468
+ Array.isArray(Oe) ? (xe = Oe[0], en(Ft, Oe[1])) : xe = Oe;
9456
9469
  }
9457
9470
  } catch (A) {
9458
- Oe.e(A);
9471
+ Me.e(A);
9459
9472
  } finally {
9460
- Oe.f();
9473
+ Me.f();
9461
9474
  }
9462
9475
  return xe;
9463
9476
  }
9464
- function to(a) {
9465
- return a.match(Kn)[1].replace(Jn, "'");
9477
+ function eo(a) {
9478
+ return a.match(Xn)[1].replace(Kn, "'");
9466
9479
  }
9467
9480
  function Zt(a, i) {
9468
- O(2, arguments);
9481
+ M(2, arguments);
9469
9482
  var e = F(a), t = F(i);
9470
9483
  return e.getTime() > t.getTime();
9471
9484
  }
9472
9485
  function ei(a, i) {
9473
- O(2, arguments);
9486
+ M(2, arguments);
9474
9487
  var e = F(a), t = F(i);
9475
9488
  return e.getTime() < t.getTime();
9476
9489
  }
9477
- const io = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{font-family:"Roboto";font-style:normal}.date__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px;height:100%}.date__wrapper--autofilled{pointer-events:none}.date__wrapper--autofilled .date__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__wrapper--autofilled .date__input::part(input-field){color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.date__input{border:none;width:inherit;position:relative}.date__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.date__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.date__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:0;height:44px}.date__input>input{padding:5px 15px}.date__input::part(toggle-button){position:relative;right:10px}.date__error-message{position:absolute;top:calc(100% + 5px);left:0;color:rgba(204, 0, 0, 0.7019607843)}.date__tooltip-icon{position:absolute;right:0;bottom:10px}.date__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.date__tooltip.visible{opacity:1}', ro = io, ao = class {
9490
+ const to = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{font-family:"Roboto";font-style:normal}.date__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px;height:100%}.date__wrapper--autofilled{pointer-events:none}.date__wrapper--autofilled .date__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__wrapper--autofilled .date__input::part(input-field){color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.date__input{border:none;width:inherit;position:relative}.date__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.date__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.date__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:0;height:44px}.date__input>input{padding:5px 15px}.date__input::part(toggle-button){position:relative;right:10px}.date__error-message{position:absolute;top:calc(100% + 5px);left:0;color:rgba(204, 0, 0, 0.7019607843)}.date__tooltip-icon{position:absolute;right:0;bottom:10px}.date__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.date__tooltip.visible{opacity:1}', io = to, ro = class {
9478
9491
  constructor(a) {
9479
- ae(this, a), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.clientStyling = "", this.emitOnClick = !1, this.limitStylingAppends = !1, this.showTooltip = !1, this.touched = !1, this.formatDate = (i) => {
9492
+ ae(this, a), this.sendValidityState = H(this, "sendValidityState", 7), this.sendInputValue = H(this, "sendInputValue", 7), this.touched = !1, this.formatDate = (i) => {
9480
9493
  const { year: e, month: t, day: r } = i, s = new Date(e, t, r);
9481
- return Js(s, this.dateFormat || "yyyy-MM-dd");
9494
+ return Ks(s, this.dateFormat || "yyyy-MM-dd");
9482
9495
  }, this.parseDate = (i) => {
9483
- const e = Le(i, this.dateFormat || "yyyy-MM-dd", /* @__PURE__ */ new Date());
9496
+ const e = ze(i, this.dateFormat || "yyyy-MM-dd", /* @__PURE__ */ new Date());
9484
9497
  return { year: e.getFullYear(), month: e.getMonth(), day: e.getDate() };
9485
9498
  }, this.handleBlur = () => {
9486
9499
  this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.touched = !0;
9487
9500
  }, this.setClientStyling = () => {
9488
9501
  let i = document.createElement("style");
9489
9502
  i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
9490
- };
9503
+ }, this.name = void 0, this.displayName = void 0, this.placeholder = void 0, this.validation = void 0, this.defaultValue = void 0, this.autofilled = void 0, this.tooltip = void 0, this.language = void 0, this.emitValue = void 0, this.clientStyling = "", this.dateFormat = void 0, this.emitOnClick = !1, this.errorMessage = void 0, this.isValid = void 0, this.limitStylingAppends = !1, this.showTooltip = !1;
9504
+ }
9505
+ handleStylingChange(a, i) {
9506
+ a !== i && this.setClientStyling();
9491
9507
  }
9492
9508
  validityChanged() {
9493
9509
  this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValue == !0 && this.valueHandler({ name: this.name, value: this.value });
@@ -9506,7 +9522,7 @@ const io = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{
9506
9522
  }
9507
9523
  connectedCallback() {
9508
9524
  var a, i;
9509
- this.minDate = Le(((a = this.validation.min) === null || a === void 0 ? void 0 : a.toString()) || "", "yyyy-MM-dd", /* @__PURE__ */ new Date()), this.maxDate = Le(((i = this.validation.max) === null || i === void 0 ? void 0 : i.toString()) || "", "yyyy-MM-dd", /* @__PURE__ */ new Date());
9525
+ this.minDate = ze(((a = this.validation.min) === null || a === void 0 ? void 0 : a.toString()) || "", "yyyy-MM-dd", /* @__PURE__ */ new Date()), this.maxDate = ze(((i = this.validation.max) === null || i === void 0 ? void 0 : i.toString()) || "", "yyyy-MM-dd", /* @__PURE__ */ new Date());
9510
9526
  }
9511
9527
  componentDidRender() {
9512
9528
  !this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.limitStylingAppends = !0);
@@ -9522,7 +9538,7 @@ const io = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{
9522
9538
  this.datePicker.opened && this.emitOnClick && window.postMessage({ type: `registration${this.name}Clicked` }, window.location.href);
9523
9539
  }
9524
9540
  handleInput(a) {
9525
- this.value = a.target.value, this.touched = !0, this.valueAsDate = Le(this.value || "", "yyyy-MM-dd", /* @__PURE__ */ new Date()), this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
9541
+ this.value = a.target.value, this.touched = !0, this.valueAsDate = ze(this.value || "", "yyyy-MM-dd", /* @__PURE__ */ new Date()), this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
9526
9542
  }
9527
9543
  setValidity() {
9528
9544
  return ei(this.valueAsDate, this.minDate) || Zt(this.valueAsDate, this.maxDate) ? !1 : this.inputReference.validity.valid;
@@ -9536,26 +9552,27 @@ const io = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{
9536
9552
  return k("requiredError", this.language);
9537
9553
  }
9538
9554
  renderTooltip() {
9539
- return this.showTooltip ? c("div", { class: `date__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
9555
+ return this.showTooltip ? u("div", { class: `date__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
9540
9556
  }
9541
9557
  render() {
9542
9558
  let a = "";
9543
- return this.touched && (a = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), c("div", { key: "fc9cd0a618c7b6e62962c0800399a470fffa1fc4", class: `date__wrapper ${this.autofilled ? "date__wrapper--autofilled" : ""} ${this.name}__input`, ref: (i) => this.stylingContainer = i }, c("label", { key: "abc7c1715dd2d0c60dd2ac6d028355de910be501", class: `date__label ${this.validation.mandatory ? "date__label--required" : ""}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? "*" : ""), c("vaadin-date-picker", { key: "a6b40a978b573d41490457d708f9a7ac78622a6f", id: `${this.name}__input`, type: "date", class: `date__input ${a}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onChange: (i) => this.handleInput(i), onBlur: this.handleBlur }), c("small", { key: "d802ea7b25a64802aca3a7491107fcee7af2a23c", class: "date__error-message" }, this.errorMessage), this.tooltip && c("img", { key: "46edd200a9ce9eba27414a6434c6b3d5e9dc9964", class: "date__tooltip-icon", src: se, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
9559
+ return this.touched && (a = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "ad6360e0afb065a91f860574f5e3c08f5bdb2534", class: `date__wrapper ${this.autofilled ? "date__wrapper--autofilled" : ""} ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("label", { key: "3e8d26e0c8ae0983997b84e95cb34887df1f5fe5", class: `date__label ${this.validation.mandatory ? "date__label--required" : ""}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? "*" : ""), u("vaadin-date-picker", { key: "62ee430506c2ab1a5ebb632d72e84ef905296888", id: `${this.name}__input`, type: "date", class: `date__input ${a}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onChange: (i) => this.handleInput(i), onBlur: this.handleBlur }), u("small", { key: "6b7c0e9c3437b484bd534060f93ad4fcd9eaeb60", class: "date__error-message" }, this.errorMessage), this.tooltip && u("img", { key: "6479b29563710abfe1be584c9de110fafe69ca3d", class: "date__tooltip-icon", src: se, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
9544
9560
  }
9545
9561
  get element() {
9546
- return _t(this);
9562
+ return mt(this);
9547
9563
  }
9548
9564
  static get watchers() {
9549
9565
  return {
9566
+ clientStyling: ["handleStylingChange"],
9550
9567
  isValid: ["validityChanged"],
9551
9568
  emitValue: ["emitValueHandler"]
9552
9569
  };
9553
9570
  }
9554
9571
  };
9555
- ao.style = ro;
9556
- const so = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email{font-family:"Roboto";font-style:normal}.email__wrapper{position:relative;width:100%}.email__wrapper--autofilled{pointer-events:none}.email__wrapper--autofilled .email__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__wrapper--autofilled .email__input{color:var(--emw--color-black, #000000)}.email__wrapper--flex{display:flex;gap:5px}.email__wrapper--relative{position:relative}.email__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.email__input{font-family:inherit;border-radius:4px;width:100%;height:40px;border:2px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;font-size:16px;font-weight:300;line-height:1.5;padding:10px}.email__input:focus{outline-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.email__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__input::placeholder{color:var(--emw--color-gray-150, #828282)}.email__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__tooltip-icon{width:16px;height:auto}.email__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.email__tooltip.visible{opacity:1}', no = so, oo = class {
9572
+ ro.style = io;
9573
+ const ao = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email{font-family:"Roboto";font-style:normal}.email__wrapper{position:relative;width:100%}.email__wrapper--autofilled{pointer-events:none}.email__wrapper--autofilled .email__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__wrapper--autofilled .email__input{color:var(--emw--color-black, #000000)}.email__wrapper--flex{display:flex;gap:5px}.email__wrapper--relative{position:relative}.email__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.email__input{font-family:inherit;border-radius:4px;width:100%;height:40px;border:2px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;font-size:16px;font-weight:300;line-height:1.5;padding:10px}.email__input:focus{outline-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.email__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__input::placeholder{color:var(--emw--color-gray-150, #828282)}.email__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__tooltip-icon{width:16px;height:auto}.email__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.email__tooltip.visible{opacity:1}', so = ao, no = class {
9557
9574
  constructor(a) {
9558
- ae(this, a), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.clientStyling = "", this.limitStylingAppends = !1, this.showTooltip = !1, this.validationPattern = "", this.touched = !1, this.handleInput = (i) => {
9575
+ ae(this, a), this.sendValidityState = H(this, "sendValidityState", 7), this.sendInputValue = H(this, "sendInputValue", 7), this.validationPattern = "", this.touched = !1, this.handleInput = (i) => {
9559
9576
  this.value = i.target.value, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
9560
9577
  this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
9561
9578
  }, 500);
@@ -9564,7 +9581,10 @@ const so = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email
9564
9581
  }, this.setClientStyling = () => {
9565
9582
  let i = document.createElement("style");
9566
9583
  i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
9567
- };
9584
+ }, this.name = void 0, this.displayName = void 0, this.placeholder = void 0, this.validation = void 0, this.defaultValue = void 0, this.autofilled = void 0, this.tooltip = void 0, this.language = void 0, this.emitValue = void 0, this.isDuplicateInput = void 0, this.clientStyling = "", this.errorMessage = void 0, this.isValid = void 0, this.limitStylingAppends = !1, this.showTooltip = !1;
9585
+ }
9586
+ handleStylingChange(a, i) {
9587
+ a !== i && this.setClientStyling();
9568
9588
  }
9569
9589
  validityChanged() {
9570
9590
  this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValue == !0 && this.valueHandler({ name: this.name, value: this.value });
@@ -9617,23 +9637,24 @@ const so = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email
9617
9637
  }
9618
9638
  }
9619
9639
  renderTooltip() {
9620
- return this.showTooltip ? c("div", { class: `email__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
9640
+ return this.showTooltip ? u("div", { class: `email__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
9621
9641
  }
9622
9642
  render() {
9623
9643
  let a = "";
9624
- return this.touched && (a = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), c("div", { key: "23ac67984ab7a0f4db01e5fe01f4f326b4c6a912", class: `email__wrapper ${this.autofilled ? "number__wrapper--autofilled" : ""} ${this.name}__input`, ref: (i) => this.stylingContainer = i }, c("div", { key: "aa2405e435aea20f1678dd74776a8ce4094bc95b", class: "email__wrapper--flex" }, c("label", { key: "970b83bbcf082d1721c1647993fecd076939b65d", class: `email__label ${this.validation.mandatory ? "email__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), c("div", { key: "2f03eaf161aab9b45282c1bc0de15bea8455427c", class: "email__wrapper--relative" }, this.tooltip && c("img", { key: "3c34b91f0b478cf04f5aabc5fdd33a8ed73d091b", class: "email__tooltip-icon", src: se, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), c("input", { key: "491f83c0f562893c02e3425b4d54eecc214e3c95", id: `${this.name}__input`, type: "email", class: `email__input ${a}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, ref: (i) => this.inputReference = i, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), c("small", { key: "edb6660d958cc5d0cb41b0db195bd7e847ecbefe", class: "email__error-message" }, this.errorMessage));
9644
+ return this.touched && (a = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "a46093cfafc840d2fd563ee9676ccd2f16fb1620", class: `email__wrapper ${this.autofilled ? "number__wrapper--autofilled" : ""} ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("div", { key: "2eab4a96efc36cdb94e9f92b2a161e208f0ebcd4", class: "email__wrapper--flex" }, u("label", { key: "f5ed857f61ea6763c5fe88590732258b4dedac1b", class: `email__label ${this.validation.mandatory ? "email__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "58cadc7857cd91dec968852be71e0108f55fbda7", class: "email__wrapper--relative" }, this.tooltip && u("img", { key: "03009d036fde1c36b9348ac45cefa3389194260c", class: "email__tooltip-icon", src: se, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("input", { key: "b2a9fd96ed301df5f1d7cf6f5a2a5b52f96ab189", id: `${this.name}__input`, type: "email", class: `email__input ${a}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, ref: (i) => this.inputReference = i, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), u("small", { key: "edb17f53141a3406bfc657f80098b914044a8894", class: "email__error-message" }, this.errorMessage));
9625
9645
  }
9626
9646
  static get watchers() {
9627
9647
  return {
9648
+ clientStyling: ["handleStylingChange"],
9628
9649
  isValid: ["validityChanged"],
9629
9650
  emitValue: ["emitValueHandler"]
9630
9651
  };
9631
9652
  }
9632
9653
  };
9633
- oo.style = no;
9634
- const lo = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.number{font-family:"Roboto";font-style:normal}.number__wrapper{position:relative;width:100%}.number__wrapper--autofilled{pointer-events:none}.number__wrapper--autofilled .number__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__wrapper--autofilled .number__input{color:var(--emw--color-black, #000000)}.number__wrapper--flex{display:flex;gap:5px}.number__wrapper--relative{position:relative}.number__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.number__input{font-family:inherit;border-radius:5px;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;position:relative;-moz-appearance:textfield;}.number__input:focus{outline-color:#3E3E3E}.number__input::-webkit-outer-spin-button,.number__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.number__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__input::placeholder{color:#979797}.number__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__tooltip-icon{width:16px;height:auto}.number__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.number__tooltip.visible{opacity:1}', ho = lo, co = class {
9654
+ no.style = so;
9655
+ const oo = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.number{font-family:"Roboto";font-style:normal}.number__wrapper{position:relative;width:100%}.number__wrapper--autofilled{pointer-events:none}.number__wrapper--autofilled .number__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__wrapper--autofilled .number__input{color:var(--emw--color-black, #000000)}.number__wrapper--flex{display:flex;gap:5px}.number__wrapper--relative{position:relative}.number__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.number__input{font-family:inherit;border-radius:5px;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;position:relative;-moz-appearance:textfield;}.number__input:focus{outline-color:#3E3E3E}.number__input::-webkit-outer-spin-button,.number__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.number__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__input::placeholder{color:#979797}.number__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__tooltip-icon{width:16px;height:auto}.number__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.number__tooltip.visible{opacity:1}', lo = oo, ho = class {
9635
9656
  constructor(a) {
9636
- ae(this, a), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.clientStyling = "", this.limitStylingAppends = !1, this.showTooltip = !1, this.validationPattern = "", this.touched = !1, this.handleInput = (i) => {
9657
+ ae(this, a), this.sendValidityState = H(this, "sendValidityState", 7), this.sendInputValue = H(this, "sendInputValue", 7), this.validationPattern = "", this.touched = !1, this.handleInput = (i) => {
9637
9658
  this.value = i.target.value, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
9638
9659
  this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
9639
9660
  }, 500);
@@ -9642,7 +9663,10 @@ const lo = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.numbe
9642
9663
  }, this.setClientStyling = () => {
9643
9664
  let i = document.createElement("style");
9644
9665
  i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
9645
- };
9666
+ }, this.name = void 0, this.displayName = void 0, this.placeholder = void 0, this.validation = void 0, this.defaultValue = void 0, this.autofilled = void 0, this.tooltip = void 0, this.language = void 0, this.emitValue = void 0, this.clientStyling = "", this.errorMessage = void 0, this.isValid = void 0, this.limitStylingAppends = !1, this.showTooltip = !1;
9667
+ }
9668
+ handleStylingChange(a, i) {
9669
+ a !== i && this.setClientStyling();
9646
9670
  }
9647
9671
  validityChanged() {
9648
9672
  this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValue == !0 && this.valueHandler({ name: this.name, value: this.value });
@@ -9688,26 +9712,30 @@ const lo = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.numbe
9688
9712
  return k("requiredError", this.language);
9689
9713
  }
9690
9714
  renderTooltip() {
9691
- return this.showTooltip ? c("div", { class: `number__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
9715
+ return this.showTooltip ? u("div", { class: `number__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
9692
9716
  }
9693
9717
  render() {
9694
9718
  let a = "";
9695
- return this.touched && (a = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), c("div", { key: "2032f77ca52b330ae2e8f484d7a0aba60ee7b9d5", class: `number__wrapper ${this.autofilled ? "number__wrapper--autofilled" : ""} ${this.name}__input`, ref: (i) => this.stylingContainer = i }, c("div", { key: "0786901cd928bba86597180f058bff43fba522b6", class: "number__wrapper--flex" }, c("label", { key: "ff7f39306cef7aeba3e0e4508df03c5a945e748b", class: `number__label ${this.validation.mandatory ? "number__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), c("div", { key: "dced91223621551472fee374d56f1ad7476f4191", class: "number__wrapper--relative" }, this.tooltip && c("img", { key: "a804a983e342e4d117126720a32c4c34a2b267dc", class: "number__tooltip-icon", src: se, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), c("input", { key: "fd59afaedf7d9f761684b057a1809474d735cc26", ref: (i) => this.inputReference = i, type: "number", value: this.defaultValue, readOnly: this.autofilled, id: `${this.name}__input`, class: `number__input ${a}`, pattern: this.validationPattern, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onInput: this.handleInput, onBlur: this.handleBlur }), c("small", { key: "ca11558b5704b69311626736ab84a298449b98d7", class: "number__error-message" }, this.errorMessage));
9719
+ return this.touched && (a = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "841265bba6b75cc61a0eac1450c3f5aa5f917a2e", class: `number__wrapper ${this.autofilled ? "number__wrapper--autofilled" : ""} ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("div", { key: "645c7817cf5a0bdc352de9d8c0698fde235aa6d3", class: "number__wrapper--flex" }, u("label", { key: "3343cbbb8482b71cd152161a8d422f318f07f3fe", class: `number__label ${this.validation.mandatory ? "number__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "1f3341b2127095870610fc0e0b4b5d220c5d2e2c", class: "number__wrapper--relative" }, this.tooltip && u("img", { key: "8bbe2fe9f62347cbcd37b753d4a1b0718dc39091", class: "number__tooltip-icon", src: se, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("input", { key: "100401abdc33069f34e27e0807c9f31ddf7e42ec", ref: (i) => this.inputReference = i, type: "number", value: this.defaultValue, readOnly: this.autofilled, id: `${this.name}__input`, class: `number__input ${a}`, pattern: this.validationPattern, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onInput: this.handleInput, onBlur: this.handleBlur }), u("small", { key: "db1e0043bb9b6de2ad8e18f49f96152b9451b93c", class: "number__error-message" }, this.errorMessage));
9696
9720
  }
9697
9721
  static get watchers() {
9698
9722
  return {
9723
+ clientStyling: ["handleStylingChange"],
9699
9724
  isValid: ["validityChanged"],
9700
9725
  emitValue: ["emitValueHandler"]
9701
9726
  };
9702
9727
  }
9703
9728
  };
9704
- co.style = ho;
9705
- const uo = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio__fieldset{border:none;position:relative}.radio__wrapper{display:flex;gap:5px}.radio__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.radio__tooltip-icon{position:absolute;right:0;bottom:10px}.radio__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.radio__tooltip.visible{opacity:1}", po = uo, fo = class {
9729
+ ho.style = lo;
9730
+ const uo = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio__fieldset{border:none;position:relative}.radio__wrapper{display:flex;gap:5px}.radio__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.radio__tooltip-icon{position:absolute;right:0;bottom:10px}.radio__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.radio__tooltip.visible{opacity:1}", co = uo, po = class {
9706
9731
  constructor(a) {
9707
- ae(this, a), this.sendInputValue = H(this, "sendInputValue"), this.sendValidityState = H(this, "sendValidityState"), this.clientStyling = "", this.limitStylingAppends = !1, this.showTooltip = !1, this.setClientStyling = () => {
9732
+ ae(this, a), this.sendInputValue = H(this, "sendInputValue", 7), this.sendValidityState = H(this, "sendValidityState", 7), this.setClientStyling = () => {
9708
9733
  let i = document.createElement("style");
9709
9734
  i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
9710
- };
9735
+ }, this.name = void 0, this.displayName = void 0, this.optionsGroup = void 0, this.validation = void 0, this.tooltip = void 0, this.language = void 0, this.emitValue = void 0, this.clientStyling = "", this.errorMessage = void 0, this.isValid = void 0, this.limitStylingAppends = !1, this.showTooltip = !1;
9736
+ }
9737
+ handleStylingChange(a, i) {
9738
+ a !== i && this.setClientStyling();
9711
9739
  }
9712
9740
  validityChanged() {
9713
9741
  this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValue == !0 && this.valueHandler({ name: this.name, value: this.value });
@@ -9738,19 +9766,20 @@ const uo = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio
9738
9766
  return k("requiredError", this.language);
9739
9767
  }
9740
9768
  renderTooltip() {
9741
- return this.showTooltip ? c("div", { class: `radio__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
9769
+ return this.showTooltip ? u("div", { class: `radio__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
9742
9770
  }
9743
9771
  render() {
9744
- return c("fieldset", { key: "3d90735f7dc8fef6a96dc85b8f9ba22880cb205f", class: `radio__fieldset ${this.name}__input`, ref: (a) => this.stylingContainer = a }, c("legend", { key: "9472ed76f5c7fabb90d2b3d39eeb9e18f05a30dd", class: "radio__legend" }, this.displayName, ":"), this.optionsGroup.map((a) => c("div", { class: "radio__wrapper" }, c("input", { type: "radio", class: "radio__input", id: `${a.label}__input`, ref: (i) => this.inputReference = i, value: a.value, name: this.name, required: this.validation.mandatory, onClick: (i) => this.handleClick(i) }), c("label", { htmlFor: `${a.label}__input` }, a.label))), c("small", { key: "2ae0947580bb8a0a3d889a2d9ebd0b82458fdfd2", class: "radio__error-message" }, this.errorMessage), this.tooltip && c("img", { key: "4f3cbf341f1c559bbdf44ca5d169be7a64d46e97", class: "radio__tooltip-icon", src: se, alt: "", ref: (a) => this.tooltipIconReference = a, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
9772
+ return u("fieldset", { key: "29ff8fcc910622397750532629ac0c202c9726ba", class: `radio__fieldset ${this.name}__input`, ref: (a) => this.stylingContainer = a }, u("legend", { key: "cdab5b331863f3d31aab50c1d95b5a8845d53329", class: "radio__legend" }, this.displayName, ":"), this.optionsGroup.map((a) => u("div", { class: "radio__wrapper" }, u("input", { type: "radio", class: "radio__input", id: `${a.label}__input`, ref: (i) => this.inputReference = i, value: a.value, name: this.name, required: this.validation.mandatory, onClick: (i) => this.handleClick(i) }), u("label", { htmlFor: `${a.label}__input` }, a.label))), u("small", { key: "bd6cd89510e7ace1348b391f3ce9ba334a03e695", class: "radio__error-message" }, this.errorMessage), this.tooltip && u("img", { key: "27036c51c89612dbb87e5248355d3a5466c49705", class: "radio__tooltip-icon", src: se, alt: "", ref: (a) => this.tooltipIconReference = a, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
9745
9773
  }
9746
9774
  static get watchers() {
9747
9775
  return {
9776
+ clientStyling: ["handleStylingChange"],
9748
9777
  isValid: ["validityChanged"],
9749
9778
  emitValue: ["emitValueHandler"]
9750
9779
  };
9751
9780
  }
9752
9781
  };
9753
- fo.style = po;
9782
+ po.style = co;
9754
9783
  const Ji = D`
9755
9784
  :host {
9756
9785
  display: flex;
@@ -9836,8 +9865,8 @@ const Ji = D`
9836
9865
  height: var(--lumo-icon-size-m);
9837
9866
  }
9838
9867
  `;
9839
- P("vaadin-item", Ji, { moduleId: "lumo-item" });
9840
- const _o = D`
9868
+ S("vaadin-item", Ji, { moduleId: "lumo-item" });
9869
+ const fo = D`
9841
9870
  :host {
9842
9871
  transition: background-color 100ms;
9843
9872
  overflow: hidden;
@@ -9850,7 +9879,7 @@ const _o = D`
9850
9879
  box-shadow: inset 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
9851
9880
  }
9852
9881
  `;
9853
- P("vaadin-combo-box-item", [Ji, _o], {
9882
+ S("vaadin-combo-box-item", [Ji, fo], {
9854
9883
  moduleId: "lumo-combo-box-item"
9855
9884
  });
9856
9885
  /**
@@ -9900,7 +9929,7 @@ const mo = D`
9900
9929
  transform: rotate(360deg);
9901
9930
  }
9902
9931
  }
9903
- `, vo = D`
9932
+ `, _o = D`
9904
9933
  [part='content'] {
9905
9934
  padding: 0;
9906
9935
  }
@@ -9921,7 +9950,7 @@ const mo = D`
9921
9950
  :host([bottom-aligned]) [part~='overlay'] {
9922
9951
  margin-bottom: var(--lumo-space-xs);
9923
9952
  }
9924
- `, go = D`
9953
+ `, vo = D`
9925
9954
  [part~='loader'] {
9926
9955
  position: absolute;
9927
9956
  z-index: 1;
@@ -9930,14 +9959,14 @@ const mo = D`
9930
9959
  margin-inline: auto 0;
9931
9960
  }
9932
9961
  `;
9933
- P(
9962
+ S(
9934
9963
  "vaadin-combo-box-overlay",
9935
9964
  [
9936
9965
  xt,
9937
9966
  Ct,
9938
- vo,
9967
+ _o,
9939
9968
  mo,
9940
- go,
9969
+ vo,
9941
9970
  D`
9942
9971
  :host {
9943
9972
  --_vaadin-combo-box-items-container-border-width: var(--lumo-space-xs);
@@ -9947,12 +9976,12 @@ P(
9947
9976
  ],
9948
9977
  { moduleId: "lumo-combo-box-overlay" }
9949
9978
  );
9950
- const bo = D`
9979
+ const go = D`
9951
9980
  [part='toggle-button']::before {
9952
9981
  content: var(--lumo-icons-dropdown);
9953
9982
  }
9954
9983
  `;
9955
- P("vaadin-combo-box", [ni, bo], { moduleId: "lumo-combo-box" });
9984
+ S("vaadin-combo-box", [hi, go], { moduleId: "lumo-combo-box" });
9956
9985
  /**
9957
9986
  * @license
9958
9987
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
@@ -10049,9 +10078,9 @@ const yo = (a) => class extends a {
10049
10078
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
10050
10079
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
10051
10080
  */
10052
- class wo extends yo(J(We(W))) {
10081
+ class bo extends yo(K(qe(W))) {
10053
10082
  static get template() {
10054
- return X`
10083
+ return G`
10055
10084
  <style>
10056
10085
  :host {
10057
10086
  display: block;
@@ -10071,13 +10100,13 @@ class wo extends yo(J(We(W))) {
10071
10100
  return "vaadin-combo-box-item";
10072
10101
  }
10073
10102
  }
10074
- q(wo);
10103
+ U(bo);
10075
10104
  /**
10076
10105
  * @license
10077
10106
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
10078
10107
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
10079
10108
  */
10080
- const xo = (a) => class extends Di(a) {
10109
+ const wo = (a) => class extends Di(a) {
10081
10110
  static get observers() {
10082
10111
  return ["_setOverlayWidth(positionTarget, opened)"];
10083
10112
  }
@@ -10107,7 +10136,7 @@ const xo = (a) => class extends Di(a) {
10107
10136
  * @override
10108
10137
  */
10109
10138
  _mouseDownListener(e) {
10110
- super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !ui(e.composedPath()[0]) && e.preventDefault();
10139
+ super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !ci(e.composedPath()[0]) && e.preventDefault();
10111
10140
  }
10112
10141
  /** @protected */
10113
10142
  _updateOverlayWidth() {
@@ -10126,7 +10155,7 @@ const xo = (a) => class extends Di(a) {
10126
10155
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
10127
10156
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
10128
10157
  */
10129
- const Co = D`
10158
+ const xo = D`
10130
10159
  #overlay {
10131
10160
  width: var(--vaadin-combo-box-overlay-width, var(--_vaadin-combo-box-overlay-default-width, auto));
10132
10161
  }
@@ -10137,15 +10166,15 @@ const Co = D`
10137
10166
  height: 100%;
10138
10167
  }
10139
10168
  `;
10140
- P("vaadin-combo-box-overlay", [bi, Co], {
10169
+ S("vaadin-combo-box-overlay", [yi, xo], {
10141
10170
  moduleId: "vaadin-combo-box-overlay-styles"
10142
10171
  });
10143
- class ko extends xo(Ti(We(J(W)))) {
10172
+ class Co extends wo(Ti(qe(K(W)))) {
10144
10173
  static get is() {
10145
10174
  return "vaadin-combo-box-overlay";
10146
10175
  }
10147
10176
  static get template() {
10148
- return X`
10177
+ return G`
10149
10178
  <div id="backdrop" part="backdrop" hidden></div>
10150
10179
  <div part="overlay" id="overlay">
10151
10180
  <div part="loader"></div>
@@ -10154,7 +10183,7 @@ class ko extends xo(Ti(We(J(W)))) {
10154
10183
  `;
10155
10184
  }
10156
10185
  }
10157
- q(ko);
10186
+ U(Co);
10158
10187
  /**
10159
10188
  * @license
10160
10189
  * Copyright (c) 2023 - 2024 Vaadin Ltd.
@@ -10172,7 +10201,7 @@ function Ue(a, i) {
10172
10201
  * Code distributed by Google as part of the polymer project is also
10173
10202
  * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
10174
10203
  */
10175
- const ti = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), To = ti && ti[1] >= 8, ii = 3, Do = {
10204
+ const ti = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), ko = ti && ti[1] >= 8, ii = 3, To = {
10176
10205
  /**
10177
10206
  * The ratio of hidden tiles that should remain in the scroll direction.
10178
10207
  * Recommended value ~0.5, so it will distribute tiles evenly in both
@@ -10450,7 +10479,7 @@ const ti = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), To
10450
10479
  this._virtualEnd >= this._virtualCount - 1 || t === 0 || (this._isClientFull() ? this._physicalSize < this._optPhysicalSize && this._debounce(
10451
10480
  "_increasePoolIfNeeded",
10452
10481
  this._increasePoolIfNeeded.bind(this, this._clamp(Math.round(50 / this._templateCost), 1, t)),
10453
- yr
10482
+ br
10454
10483
  ) : this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, t), st));
10455
10484
  }
10456
10485
  },
@@ -10462,14 +10491,15 @@ const ti = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), To
10462
10491
  if (this._physicalCount !== 0) {
10463
10492
  const a = this._getReusables(!0);
10464
10493
  this._physicalTop = a.physicalTop, this._virtualStart += a.indexes.length, this._physicalStart += a.indexes.length, this._update(a.indexes), this._update(), this._increasePoolIfNeeded(0);
10465
- } else this._virtualCount > 0 && (this.updateViewportBoundaries(), this._increasePoolIfNeeded(ii));
10494
+ } else
10495
+ this._virtualCount > 0 && (this.updateViewportBoundaries(), this._increasePoolIfNeeded(ii));
10466
10496
  },
10467
10497
  /**
10468
10498
  * Called when the items have changed. That is, reassignments
10469
10499
  * to `items`, splices or updates to a single item.
10470
10500
  */
10471
10501
  _itemsChanged(a) {
10472
- a.path === "items" && (this._virtualStart = 0, this._physicalTop = 0, this._virtualCount = this.items ? this.items.length : 0, this._physicalIndexForKey = {}, this._firstVisibleIndexVal = null, this._lastVisibleIndexVal = null, this._physicalItems || (this._physicalItems = []), this._physicalSizes || (this._physicalSizes = []), this._physicalStart = 0, this._scrollTop > this._scrollOffset && this._resetScrollPosition(0), this._debounce("_render", this._render, Re));
10502
+ a.path === "items" && (this._virtualStart = 0, this._physicalTop = 0, this._virtualCount = this.items ? this.items.length : 0, this._physicalIndexForKey = {}, this._firstVisibleIndexVal = null, this._lastVisibleIndexVal = null, this._physicalItems || (this._physicalItems = []), this._physicalSizes || (this._physicalSizes = []), this._physicalStart = 0, this._scrollTop > this._scrollOffset && this._resetScrollPosition(0), this._debounce("_render", this._render, Le));
10473
10503
  },
10474
10504
  /**
10475
10505
  * Executes a provided function per every physical index in `itemSet`
@@ -10524,7 +10554,7 @@ const ti = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), To
10524
10554
  if (a !== 0) {
10525
10555
  this._physicalTop -= a;
10526
10556
  const i = this._scrollPosition;
10527
- !To && i > 0 && this._resetScrollPosition(i - a);
10557
+ !ko && i > 0 && this._resetScrollPosition(i - a);
10528
10558
  }
10529
10559
  },
10530
10560
  /**
@@ -10550,7 +10580,7 @@ const ti = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), To
10550
10580
  * @param {number} idx The index of the item
10551
10581
  */
10552
10582
  scrollToIndex(a) {
10553
- if (typeof a != "number" || a < 0 || a > this.items.length - 1 || (Te(), this._physicalCount === 0))
10583
+ if (typeof a != "number" || a < 0 || a > this.items.length - 1 || (De(), this._physicalCount === 0))
10554
10584
  return;
10555
10585
  a = this._clamp(a, 0, this._virtualCount - 1), (!this._isIndexRendered(a) || a >= this._maxVirtualStart) && (this._virtualStart = a - 1), this._assignModels(), this._updateMetrics(), this._physicalTop = this._virtualStart * this._physicalAverage;
10556
10586
  let i = this._physicalStart, e = this._virtualStart, t = 0;
@@ -10575,7 +10605,7 @@ const ti = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), To
10575
10605
  () => {
10576
10606
  this._firstVisibleIndexVal = null, this._lastVisibleIndexVal = null, this._isVisible ? (this.updateViewportBoundaries(), this.toggleScrollListener(!0), this._resetAverage(), this._render()) : this.toggleScrollListener(!1);
10577
10607
  },
10578
- Re
10608
+ Le
10579
10609
  );
10580
10610
  },
10581
10611
  _isIndexRendered(a) {
@@ -10588,7 +10618,7 @@ const ti = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), To
10588
10618
  return Math.min(e, Math.max(i, a));
10589
10619
  },
10590
10620
  _debounce(a, i, e) {
10591
- this._debouncers || (this._debouncers = {}), this._debouncers[a] = ie.debounce(this._debouncers[a], e, i.bind(this)), br(this._debouncers[a]);
10621
+ this._debouncers || (this._debouncers = {}), this._debouncers[a] = te.debounce(this._debouncers[a], e, i.bind(this)), wr(this._debouncers[a]);
10592
10622
  }
10593
10623
  };
10594
10624
  /**
@@ -10596,7 +10626,7 @@ const ti = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), To
10596
10626
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
10597
10627
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
10598
10628
  */
10599
- const Io = 1e5, at = 1e3;
10629
+ const Do = 1e5, at = 1e3;
10600
10630
  class Zi {
10601
10631
  constructor({ createElements: i, updateElement: e, scrollTarget: t, scrollContainer: r, elementsContainer: s, reorderElements: n }) {
10602
10632
  this.isAttached = !0, this._vidxOffset = 0, this.createElements = i, this.updateElement = e, this.scrollTarget = t, this.scrollContainer = r, this.elementsContainer = s || r, this.reorderElements = n, this._maxPages = 1.3, this.__placeholderHeight = 200, this.__elementHeightQueue = Array(10), this.timeouts = {
@@ -10640,7 +10670,7 @@ class Zi {
10640
10670
  this._virtualCount - t < e ? (t = this._virtualCount - (this.size - i), this._vidxOffset = this._maxVirtualIndexOffset) : t < e ? i < at ? (t = i, this._vidxOffset = 0) : (t = at, this._vidxOffset = i - t) : this._vidxOffset = i - t, this.__skipNextVirtualIndexAdjust = !0, super.scrollToIndex(t), this.adjustedFirstVisibleIndex !== i && this._scrollTop < this._maxScrollTop && !this.grid && (this._scrollTop -= this.__getIndexScrollOffset(i) || 0), this._scrollHandler(), this.__hasPlaceholders() && (this.__pendingScrollToIndex = i);
10641
10671
  }
10642
10672
  flush() {
10643
- this.scrollTarget.offsetHeight !== 0 && (this._resizeHandler(), Te(), this._scrollHandler(), this.__fixInvalidItemPositioningDebouncer && this.__fixInvalidItemPositioningDebouncer.flush(), this.__scrollReorderDebouncer && this.__scrollReorderDebouncer.flush(), this.__debouncerWheelAnimationFrame && this.__debouncerWheelAnimationFrame.flush());
10673
+ this.scrollTarget.offsetHeight !== 0 && (this._resizeHandler(), De(), this._scrollHandler(), this.__fixInvalidItemPositioningDebouncer && this.__fixInvalidItemPositioningDebouncer.flush(), this.__scrollReorderDebouncer && this.__scrollReorderDebouncer.flush(), this.__debouncerWheelAnimationFrame && this.__debouncerWheelAnimationFrame.flush());
10644
10674
  }
10645
10675
  update(i = 0, e = this.size - 1) {
10646
10676
  const t = [];
@@ -10654,7 +10684,7 @@ class Zi {
10654
10684
  * @param {!Array<number>=} itemSet
10655
10685
  */
10656
10686
  _updateMetrics(i) {
10657
- Te();
10687
+ De();
10658
10688
  let e = 0, t = 0;
10659
10689
  const r = this._physicalAverageCount, s = this._physicalAverage;
10660
10690
  this._iterateItems((n, o) => {
@@ -10683,9 +10713,9 @@ class Zi {
10683
10713
  i.forEach((e) => {
10684
10714
  const t = e.offsetHeight;
10685
10715
  if (t === 0)
10686
- e.style.paddingTop = `${this.__placeholderHeight}px`, e.style.opacity = "0", e.__virtualizerPlaceholder = !0, this.__placeholderClearDebouncer = ie.debounce(
10716
+ e.style.paddingTop = `${this.__placeholderHeight}px`, e.style.opacity = "0", e.__virtualizerPlaceholder = !0, this.__placeholderClearDebouncer = te.debounce(
10687
10717
  this.__placeholderClearDebouncer,
10688
- Re,
10718
+ Le,
10689
10719
  () => this._resizeHandler()
10690
10720
  );
10691
10721
  else {
@@ -10709,12 +10739,12 @@ class Zi {
10709
10739
  let e, t;
10710
10740
  if (i > 0 && (e = this.adjustedFirstVisibleIndex, t = this.__getIndexScrollOffset(e)), this.__size = i, this._itemsChanged({
10711
10741
  path: "items"
10712
- }), Te(), i > 0) {
10742
+ }), De(), i > 0) {
10713
10743
  e = Math.min(e, i - 1), this.scrollToIndex(e);
10714
10744
  const r = this.__getIndexScrollOffset(e);
10715
10745
  t !== void 0 && r !== void 0 && (this._scrollTop += t - r);
10716
10746
  }
10717
- this.__preventElementUpdates = !1, this._isVisible || this._assignModels(), this.elementsContainer.children.length || requestAnimationFrame(() => this._resizeHandler()), this._resizeHandler(), Te(), this._debounce("_update", this._update, st);
10747
+ this.__preventElementUpdates = !1, this._isVisible || this._assignModels(), this.elementsContainer.children.length || requestAnimationFrame(() => this._resizeHandler()), this._resizeHandler(), De(), this._debounce("_update", this._update, st);
10718
10748
  }
10719
10749
  /** @private */
10720
10750
  get _scrollTop() {
@@ -10727,7 +10757,7 @@ class Zi {
10727
10757
  /** @private */
10728
10758
  get items() {
10729
10759
  return {
10730
- length: Math.min(this.size, Io)
10760
+ length: Math.min(this.size, Do)
10731
10761
  };
10732
10762
  }
10733
10763
  /** @private */
@@ -10819,11 +10849,11 @@ class Zi {
10819
10849
  const e = i >= 0, t = this._getReusables(!e);
10820
10850
  t.indexes.length && (this._physicalTop = t.physicalTop, e ? (this._virtualStart -= t.indexes.length, this._physicalStart -= t.indexes.length) : (this._virtualStart += t.indexes.length, this._physicalStart += t.indexes.length), this._resizeHandler());
10821
10851
  }
10822
- i && (this.__fixInvalidItemPositioningDebouncer = ie.debounce(
10852
+ i && (this.__fixInvalidItemPositioningDebouncer = te.debounce(
10823
10853
  this.__fixInvalidItemPositioningDebouncer,
10824
10854
  fe.after(this.timeouts.FIX_INVALID_ITEM_POSITIONING),
10825
10855
  () => this.__fixInvalidItemPositioning()
10826
- )), this.reorderElements && (this.__scrollReorderDebouncer = ie.debounce(
10856
+ )), this.reorderElements && (this.__scrollReorderDebouncer = te.debounce(
10827
10857
  this.__scrollReorderDebouncer,
10828
10858
  fe.after(this.timeouts.SCROLL_REORDER),
10829
10859
  () => this.__reorderElements()
@@ -10852,15 +10882,15 @@ class Zi {
10852
10882
  this._deltaYAcc += e, i.preventDefault();
10853
10883
  return;
10854
10884
  }
10855
- e += this._deltaYAcc, this._deltaYAcc = 0, this._wheelAnimationFrame = !0, this.__debouncerWheelAnimationFrame = ie.debounce(
10885
+ e += this._deltaYAcc, this._deltaYAcc = 0, this._wheelAnimationFrame = !0, this.__debouncerWheelAnimationFrame = te.debounce(
10856
10886
  this.__debouncerWheelAnimationFrame,
10857
- Re,
10887
+ Le,
10858
10888
  () => {
10859
10889
  this._wheelAnimationFrame = !1;
10860
10890
  }
10861
10891
  );
10862
10892
  const t = Math.abs(i.deltaX) + Math.abs(e);
10863
- this._canScroll(this.scrollTarget, i.deltaX, e) ? (i.preventDefault(), this.scrollTarget.scrollTop += e, this.scrollTarget.scrollLeft += i.deltaX, this._hasResidualMomentum = !0, this._ignoreNewWheel = !0, this._debouncerIgnoreNewWheel = ie.debounce(
10893
+ this._canScroll(this.scrollTarget, i.deltaX, e) ? (i.preventDefault(), this.scrollTarget.scrollTop += e, this.scrollTarget.scrollLeft += i.deltaX, this._hasResidualMomentum = !0, this._ignoreNewWheel = !0, this._debouncerIgnoreNewWheel = te.debounce(
10864
10894
  this._debouncerIgnoreNewWheel,
10865
10895
  fe.after(this.timeouts.IGNORE_WHEEL),
10866
10896
  () => {
@@ -10953,7 +10983,7 @@ class Zi {
10953
10983
  else if (s < 0)
10954
10984
  for (let n = e.length + s; n < e.length; n++)
10955
10985
  this.elementsContainer.insertBefore(e[n], e[0]);
10956
- if (gr) {
10986
+ if (xr) {
10957
10987
  const { transform: n } = this.scrollTarget.style;
10958
10988
  this.scrollTarget.style.transform = "translateZ(0)", setTimeout(() => {
10959
10989
  this.scrollTarget.style.transform = n;
@@ -10976,8 +11006,8 @@ class Zi {
10976
11006
  }
10977
11007
  }
10978
11008
  }
10979
- Object.setPrototypeOf(Zi.prototype, Do);
10980
- class Po {
11009
+ Object.setPrototypeOf(Zi.prototype, To);
11010
+ class Io {
10981
11011
  /**
10982
11012
  * @typedef {Object} VirtualizerConfig
10983
11013
  * @property {Function} createElements Function that returns the given number of new elements
@@ -11207,7 +11237,7 @@ const So = (a) => class extends a {
11207
11237
  }
11208
11238
  /** @private */
11209
11239
  __initVirtualizer() {
11210
- this.__virtualizer = new Po({
11240
+ this.__virtualizer = new Io({
11211
11241
  createElements: this.__createElements.bind(this),
11212
11242
  updateElement: this._updateElement.bind(this),
11213
11243
  elementsContainer: this,
@@ -11318,12 +11348,12 @@ const So = (a) => class extends a {
11318
11348
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
11319
11349
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
11320
11350
  */
11321
- class Eo extends So(W) {
11351
+ class Po extends So(W) {
11322
11352
  static get is() {
11323
11353
  return "vaadin-combo-box-scroller";
11324
11354
  }
11325
11355
  static get template() {
11326
- return X`
11356
+ return G`
11327
11357
  <style>
11328
11358
  :host {
11329
11359
  display: block;
@@ -11353,13 +11383,13 @@ class Eo extends So(W) {
11353
11383
  `;
11354
11384
  }
11355
11385
  }
11356
- q(Eo);
11386
+ U(Po);
11357
11387
  /**
11358
11388
  * @license
11359
11389
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
11360
11390
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
11361
11391
  */
11362
- const Oo = (a) => class extends pi(a) {
11392
+ const Eo = (a) => class extends pi(a) {
11363
11393
  static get properties() {
11364
11394
  return {
11365
11395
  /**
@@ -11431,7 +11461,7 @@ function tr(a, [i, ...e], t = 0) {
11431
11461
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
11432
11462
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
11433
11463
  */
11434
- class Mt {
11464
+ class Ot {
11435
11465
  /**
11436
11466
  * @param {Cache['context']} context
11437
11467
  * @param {number} pageSize
@@ -11616,7 +11646,7 @@ class Mt {
11616
11646
  * @return {Cache}
11617
11647
  */
11618
11648
  createSubCache(i) {
11619
- const e = new Mt(this.context, this.pageSize, 0, this, i);
11649
+ const e = new Ot(this.context, this.pageSize, 0, this, i);
11620
11650
  return this.__subCacheByIndex[i] = e, e;
11621
11651
  }
11622
11652
  /**
@@ -11871,7 +11901,7 @@ class Mo extends EventTarget {
11871
11901
  }
11872
11902
  /** @private */
11873
11903
  __createRootCache(e) {
11874
- return new Mt(this.__cacheContext, this.pageSize, e);
11904
+ return new Ot(this.__cacheContext, this.pageSize, e);
11875
11905
  }
11876
11906
  /** @private */
11877
11907
  __loadCachePage(e, t) {
@@ -11882,7 +11912,7 @@ class Mo extends EventTarget {
11882
11912
  pageSize: this.pageSize,
11883
11913
  parentItem: e.parentItem
11884
11914
  };
11885
- this.dataProviderParams && (r = Fe(Fe({}, r), this.dataProviderParams()));
11915
+ this.dataProviderParams && (r = Xe(Xe({}, r), this.dataProviderParams()));
11886
11916
  const s = (n, o) => {
11887
11917
  e.pendingRequests[t] === s && (o !== void 0 ? e.size = o : r.parentItem && (e.size = n.length), e.setPage(t, n), this.recalculateFlatSize(), this.dispatchEvent(new CustomEvent("page-received")), delete e.pendingRequests[t], this.dispatchEvent(new CustomEvent("page-loaded")));
11888
11918
  };
@@ -11898,7 +11928,7 @@ class Mo extends EventTarget {
11898
11928
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
11899
11929
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
11900
11930
  */
11901
- const Vo = (a) => class extends a {
11931
+ const Oo = (a) => class extends a {
11902
11932
  static get properties() {
11903
11933
  return {
11904
11934
  /**
@@ -12073,7 +12103,7 @@ const Vo = (a) => class extends a {
12073
12103
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
12074
12104
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
12075
12105
  */
12076
- function Fo(a) {
12106
+ function Vo(a) {
12077
12107
  if (window.Vaadin && window.Vaadin.templateRendererCallback) {
12078
12108
  window.Vaadin.templateRendererCallback(a);
12079
12109
  return;
@@ -12093,8 +12123,8 @@ function ri(a) {
12093
12123
  function ai(a, i) {
12094
12124
  return a.findIndex((e) => e instanceof ve ? !1 : i(e));
12095
12125
  }
12096
- const Ao = (a) => class extends Ai(
12097
- Ee(wr(yt(fi(si(vt(a))))))
12126
+ const Fo = (a) => class extends Ai(
12127
+ Ee(Cr(bt(fi(oi(yt(a))))))
12098
12128
  ) {
12099
12129
  static get properties() {
12100
12130
  return {
@@ -12353,7 +12383,7 @@ const Ao = (a) => class extends Ai(
12353
12383
  this._overlayElement.bringToFront();
12354
12384
  });
12355
12385
  };
12356
- this.addEventListener("mousedown", e), this.addEventListener("touchstart", e), Fo(this), this.addController(new Hi(this));
12386
+ this.addEventListener("mousedown", e), this.addEventListener("touchstart", e), Vo(this), this.addController(new Hi(this));
12357
12387
  }
12358
12388
  /** @protected */
12359
12389
  disconnectedCallback() {
@@ -12399,7 +12429,6 @@ const Ao = (a) => class extends Ai(
12399
12429
  /**
12400
12430
  * Override LitElement lifecycle callback to handle filter property change.
12401
12431
  * @param {Object} props
12402
- * @protected
12403
12432
  */
12404
12433
  updated(e) {
12405
12434
  super.updated(e), e.has("filter") && this._filterChanged(this.filter);
@@ -12458,7 +12487,7 @@ const Ao = (a) => class extends Ai(
12458
12487
  }
12459
12488
  /** @protected */
12460
12489
  _isInputFocused() {
12461
- return this.inputElement && mi(this.inputElement);
12490
+ return this.inputElement && _i(this.inputElement);
12462
12491
  }
12463
12492
  /** @private */
12464
12493
  _updateActiveDescendant(e) {
@@ -12668,7 +12697,8 @@ const Ao = (a) => class extends Ai(
12668
12697
  bubbles: !0
12669
12698
  });
12670
12699
  this.dispatchEvent(s), s.defaultPrevented || (this.value = r);
12671
- } else !this.allowCustomValue && !this.opened && t ? this.value = this._getItemValue(t) : this._revertInputValueToValue();
12700
+ } else
12701
+ !this.allowCustomValue && !this.opened && t ? this.value = this._getItemValue(t) : this._revertInputValueToValue();
12672
12702
  }
12673
12703
  this._detectAndDispatchChange(), this._clearSelectionRange(), this._clearFilter();
12674
12704
  }
@@ -12728,7 +12758,7 @@ const Ao = (a) => class extends Ai(
12728
12758
  }
12729
12759
  /** @private */
12730
12760
  _detectAndDispatchChange() {
12731
- document.hasFocus() && this._requestValidation(), this.value !== this._lastCommittedValue && (this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })), this._lastCommittedValue = this.value);
12761
+ document.hasFocus() && this.validate(), this.value !== this._lastCommittedValue && (this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })), this._lastCommittedValue = this.value);
12732
12762
  }
12733
12763
  /** @private */
12734
12764
  _itemsChanged(e, t) {
@@ -12869,15 +12899,15 @@ const Ao = (a) => class extends Ai(
12869
12899
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
12870
12900
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
12871
12901
  */
12872
- P("vaadin-combo-box", li, { moduleId: "vaadin-combo-box-styles" });
12873
- class Ho extends Vo(
12874
- Ao(Oo(di(J(Se(W)))))
12902
+ S("vaadin-combo-box", mi, { moduleId: "vaadin-combo-box-styles" });
12903
+ class Ao extends Oo(
12904
+ Fo(Eo(ni(K(Pe(W)))))
12875
12905
  ) {
12876
12906
  static get is() {
12877
12907
  return "vaadin-combo-box";
12878
12908
  }
12879
12909
  static get template() {
12880
- return X`
12910
+ return G`
12881
12911
  <style>
12882
12912
  :host([opened]) {
12883
12913
  pointer-events: auto;
@@ -12945,10 +12975,10 @@ class Ho extends Vo(
12945
12975
  /** @protected */
12946
12976
  ready() {
12947
12977
  super.ready(), this.addController(
12948
- new gt(this, (i) => {
12978
+ new vt(this, (i) => {
12949
12979
  this._setInputElement(i), this._setFocusElement(i), this.stateTarget = i, this.ariaTarget = i;
12950
12980
  })
12951
- ), this.addController(new bt(this.inputElement, this._labelController)), this._tooltipController = new Pe(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((i) => !i.opened), this._positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this._toggleElement = this.$.toggleButton;
12981
+ ), this.addController(new gt(this.inputElement, this._labelController)), this._tooltipController = new Se(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((i) => !i.opened), this._positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this._toggleElement = this.$.toggleButton;
12952
12982
  }
12953
12983
  /**
12954
12984
  * Override the method from `InputControlMixin`
@@ -12971,10 +13001,10 @@ class Ho extends Vo(
12971
13001
  (e.includes(this._labelNode) || e.includes(this._positionTarget)) && super._onHostClick(i);
12972
13002
  }
12973
13003
  }
12974
- q(Ho);
12975
- const zo = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{height:100%}vaadin-combo-box>input{background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--registration-typography, var(--emw--color-black, #000000));font-weight:300;font-size:16px;-webkit-font-smoothing:initial;}.select{font-family:"Roboto";font-style:normal}.select__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.select__wrapper--autofilled{pointer-events:none}.select__wrapper--autofilled .select__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__wrapper--autofilled .select__input::part(input-field){color:var(--emw--color-black, #000000)}.select__wrapper--flex{display:flex;gap:5px}.select__wrapper--relative{position:relative}.select__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.select__input{border:none;width:inherit;position:relative}.select__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.select__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__input vaadin-date-picker-overlay-content>vaadin-button{color:var(--emw--color-black, #000000)}.select__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:0;height:44px}.select__input::part(toggle-button){position:relative;right:10px}.select__input>input{padding:5px 15px}.select__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__tooltip-icon{width:16px;height:auto}.select__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.select__tooltip.visible{opacity:1}', Lo = zo, Ro = class {
13004
+ U(Ao);
13005
+ const Ho = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{height:100%}vaadin-combo-box>input{background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--registration-typography, var(--emw--color-black, #000000));font-weight:300;font-size:16px;-webkit-font-smoothing:initial;}.select{font-family:"Roboto";font-style:normal}.select__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.select__wrapper--autofilled{pointer-events:none}.select__wrapper--autofilled .select__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__wrapper--autofilled .select__input::part(input-field){color:var(--emw--color-black, #000000)}.select__wrapper--flex{display:flex;gap:5px}.select__wrapper--relative{position:relative}.select__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.select__input{border:none;width:inherit;position:relative}.select__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.select__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__input vaadin-date-picker-overlay-content>vaadin-button{color:var(--emw--color-black, #000000)}.select__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:0;height:44px}.select__input::part(toggle-button){position:relative;right:10px}.select__input>input{padding:5px 15px}.select__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__tooltip-icon{width:16px;height:auto}.select__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.select__tooltip.visible{opacity:1}', zo = Ho, Lo = class {
12976
13006
  constructor(a) {
12977
- ae(this, a), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.defaultValue = "", this.options = [], this.clientStyling = "", this.limitStylingAppends = !1, this.showTooltip = !1, this.touched = !1, this.handleChange = (i) => {
13007
+ ae(this, a), this.sendValidityState = H(this, "sendValidityState", 7), this.sendInputValue = H(this, "sendInputValue", 7), this.touched = !1, this.handleChange = (i) => {
12978
13008
  this.touched = !0;
12979
13009
  const e = i.target.value, t = this.options.find((r) => r.value.toLowerCase() === e.toLowerCase());
12980
13010
  t ? this.value = t.value : this.value = e, this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
@@ -12983,7 +13013,10 @@ const zo = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{
12983
13013
  }, this.setClientStyling = () => {
12984
13014
  let i = document.createElement("style");
12985
13015
  i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
12986
- };
13016
+ }, this.name = void 0, this.displayName = void 0, this.placeholder = void 0, this.action = void 0, this.defaultValue = "", this.autofilled = void 0, this.tooltip = void 0, this.options = [], this.validation = void 0, this.language = void 0, this.emitValue = void 0, this.clientStyling = "", this.errorMessage = void 0, this.isValid = void 0, this.limitStylingAppends = !1, this.showTooltip = !1;
13017
+ }
13018
+ handleStylingChange(a, i) {
13019
+ a !== i && this.setClientStyling();
12987
13020
  }
12988
13021
  validityChanged() {
12989
13022
  this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValue == !0 && this.valueHandler({ name: this.name, value: this.value });
@@ -13039,26 +13072,27 @@ const zo = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{
13039
13072
  return k("requiredError", this.language);
13040
13073
  }
13041
13074
  renderTooltip() {
13042
- return this.showTooltip ? c("div", { class: `select__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
13075
+ return this.showTooltip ? u("div", { class: `select__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
13043
13076
  }
13044
13077
  render() {
13045
13078
  let a = "";
13046
- return this.touched && (a = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), c("div", { key: "3d298b9709617233adacd88b8acb7d6298d35627", class: `select__wrapper ${this.autofilled ? "select__wrapper--autofilled" : ""} ${this.name}__input`, ref: (i) => this.stylingContainer = i }, c("div", { key: "9ba53148a200b925da11ad0dea5589e9634ffb03", class: "select__wrapper--flex" }, c("label", { key: "eb2fa2233926ada4da750e47304325d0d7ea3985", class: "select__label", htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? "*" : ""}`), c("div", { key: "3cbe968f9a7c612d0b8d0517621a933cccd1bd58", class: "select__wrapper--relative" }, this.tooltip && c("img", { key: "9fa9be645ed72897a95705b0e17b3aee855eb6d4", class: "select__tooltip-icon", src: se, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), c("vaadin-combo-box", { key: "f596a5fa5b480791080dfa63359ed30eeabfaa02", name: this.name, id: `${this.name}__input`, class: `select__input ${a} ${this.autofilled ? "select__input--autofilled" : ""}`, "item-label-path": "label", "item-value-path": "value", readOnly: this.autofilled, required: this.validation.mandatory, value: this.defaultValue, placeholder: `${this.placeholder}`, items: this.displayedOptions, onChange: this.handleChange, onBlur: this.handleBlur }), c("small", { key: "a9c652406489ba1d23497c55aa14e7b67fa701bd", class: "select__error-message" }, this.errorMessage));
13079
+ return this.touched && (a = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "f02c73635c87a1937f4718c9de8df3aae8397815", class: `select__wrapper ${this.autofilled ? "select__wrapper--autofilled" : ""} ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("div", { key: "26bf79a073dd4c84570e380b1f36bfe848fec568", class: "select__wrapper--flex" }, u("label", { key: "6eaafabe58a2dd4e1604ac2e3d55d001e2c4bc7c", class: "select__label", htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? "*" : ""}`), u("div", { key: "a1de9c4bd3dd4158b26004c6df9dca5915f73978", class: "select__wrapper--relative" }, this.tooltip && u("img", { key: "5cb869c82f53a463c91cd060fad5520d2fbc3d0d", class: "select__tooltip-icon", src: se, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("vaadin-combo-box", { key: "2e94c1faa107657034a98d70b1e98d5c5ab5caa5", name: this.name, id: `${this.name}__input`, class: `select__input ${a} ${this.autofilled ? "select__input--autofilled" : ""}`, "item-label-path": "label", "item-value-path": "value", readOnly: this.autofilled, required: this.validation.mandatory, value: this.defaultValue, placeholder: `${this.placeholder}`, items: this.displayedOptions, onChange: this.handleChange, onBlur: this.handleBlur }), u("small", { key: "2c8162576d30265ea49cdc6d99071f614d833d7e", class: "select__error-message" }, this.errorMessage));
13047
13080
  }
13048
13081
  get element() {
13049
- return _t(this);
13082
+ return mt(this);
13050
13083
  }
13051
13084
  static get watchers() {
13052
13085
  return {
13086
+ clientStyling: ["handleStylingChange"],
13053
13087
  isValid: ["validityChanged"],
13054
13088
  emitValue: ["emitValueHandler"]
13055
13089
  };
13056
13090
  }
13057
13091
  };
13058
- Ro.style = Lo;
13059
- const Bo = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{font-family:"Roboto";font-style:normal}.tel__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.tel__wrapper--autofilled{pointer-events:none}.tel__wrapper--autofilled .tel__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__wrapper--autofilled .tel__input::part(input-field){color:var(--emw--color-black, #000000)}.tel__wrapper--flex{width:inherit;display:flex;align-items:center;border-radius:4px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);overflow:hidden}.tel__wrapper--flex:focus-within{border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.tel__wrapper--flex--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.tel__wrapper--flex-label{display:flex;gap:5px}.tel__wrapper--flex--relative{position:relative}.tel__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.tel__prefix{--vaadin-field-default-width:90px}.tel__prefix[focus]{outline:none}.tel__prefix::part(input-field){border-radius:0 5px 5px 0;background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;border:none;border-right:2px solid #DDE0EE;border-image-source:linear-gradient(to bottom, rgba(221, 224, 238, 0) 25%, rgb(221, 224, 238) 25%, rgb(221, 224, 238) 75%, rgba(221, 224, 238, 0) 75%);border-image-slice:1;border-image-repeat:round}.tel__prefix::part(input-field):hover{background-color:var(--emw--color-white, #FFFFFF)}.tel__prefix::part(toggle-button){color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__input{font-family:inherit;border-radius:5px;width:100%;color:var(--emw--registration-typography, var(--emw--color-black, #000000));background-color:var(--emw--color-white, #FFFFFF);border:none;width:inherit;position:relative;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px;height:42px;-moz-appearance:textfield;}.tel__input:focus{outline:none}.tel__input::-webkit-outer-spin-button,.tel__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.tel__input::placeholder{color:var(--emw--color-gray-150, #979797)}.tel__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.tel__tooltip-icon{width:16px;height:auto}.tel__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.tel__tooltip.visible{opacity:1}', No = Bo, $o = class {
13092
+ Lo.style = zo;
13093
+ const Ro = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{font-family:"Roboto";font-style:normal}.tel__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.tel__wrapper--autofilled{pointer-events:none}.tel__wrapper--autofilled .tel__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__wrapper--autofilled .tel__input::part(input-field){color:var(--emw--color-black, #000000)}.tel__wrapper--flex{width:inherit;display:flex;align-items:center;border-radius:4px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);overflow:hidden}.tel__wrapper--flex:focus-within{border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.tel__wrapper--flex--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.tel__wrapper--flex-label{display:flex;gap:5px}.tel__wrapper--flex--relative{position:relative}.tel__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.tel__prefix{--vaadin-field-default-width:90px}.tel__prefix[focus]{outline:none}.tel__prefix::part(input-field){border-radius:0 5px 5px 0;background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;border:none;border-right:2px solid #DDE0EE;border-image-source:linear-gradient(to bottom, rgba(221, 224, 238, 0) 25%, rgb(221, 224, 238) 25%, rgb(221, 224, 238) 75%, rgba(221, 224, 238, 0) 75%);border-image-slice:1;border-image-repeat:round}.tel__prefix::part(input-field):hover{background-color:var(--emw--color-white, #FFFFFF)}.tel__prefix::part(toggle-button){color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__input{font-family:inherit;border-radius:5px;width:100%;color:var(--emw--registration-typography, var(--emw--color-black, #000000));background-color:var(--emw--color-white, #FFFFFF);border:none;width:inherit;position:relative;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px;height:42px;-moz-appearance:textfield;}.tel__input:focus{outline:none}.tel__input::-webkit-outer-spin-button,.tel__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.tel__input::placeholder{color:var(--emw--color-gray-150, #979797)}.tel__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.tel__tooltip-icon{width:16px;height:auto}.tel__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.tel__tooltip.visible{opacity:1}', Bo = Ro, No = class {
13060
13094
  constructor(a) {
13061
- ae(this, a), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.clientStyling = "", this.limitStylingAppends = !1, this.showTooltip = !1, this.validationPattern = "", this.touched = !1, this.handleInput = (i) => {
13095
+ ae(this, a), this.sendValidityState = H(this, "sendValidityState", 7), this.sendInputValue = H(this, "sendInputValue", 7), this.validationPattern = "", this.touched = !1, this.handleInput = (i) => {
13062
13096
  this.phoneValue = i.target.value, this.value = { prefix: this.prefixValue, phone: this.phoneValue }, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
13063
13097
  this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
13064
13098
  }, 500);
@@ -13067,7 +13101,10 @@ const Bo = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
13067
13101
  }, this.setClientStyling = () => {
13068
13102
  let i = document.createElement("style");
13069
13103
  i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
13070
- };
13104
+ }, this.name = void 0, this.displayName = void 0, this.placeholder = void 0, this.showLabels = void 0, this.action = void 0, this.validation = void 0, this.defaultValue = void 0, this.autofilled = void 0, this.tooltip = void 0, this.language = void 0, this.emitValue = void 0, this.clientStyling = "", this.isValid = void 0, this.errorMessage = void 0, this.limitStylingAppends = !1, this.showTooltip = !1;
13105
+ }
13106
+ handleStylingChange(a, i) {
13107
+ a !== i && this.setClientStyling();
13071
13108
  }
13072
13109
  validityChanged() {
13073
13110
  this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValue == !0 && this.valueHandler({ name: this.name, value: this.value, type: "tel" });
@@ -13134,23 +13171,24 @@ const Bo = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
13134
13171
  return k("requiredError", this.language);
13135
13172
  }
13136
13173
  renderTooltip() {
13137
- return this.showTooltip ? c("div", { class: `tel__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
13174
+ return this.showTooltip ? u("div", { class: `tel__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
13138
13175
  }
13139
13176
  render() {
13140
13177
  let a = "";
13141
- return this.touched && (a = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), c("div", { key: "5febd36c339710683111039d477196daac87853c", class: `tel__wrapper ${this.autofilled ? "tel__wrapper--autofilled" : ""} ${this.name}__input`, ref: (i) => this.stylingContainer = i }, c("div", { key: "fb779beee03992b23478ffcaac85095420048ceb", class: "tel__wrapper--flex-label" }, c("label", { key: "5b69271c1c8bf403a003d765adb40a553e09466e", class: `tel__label ${this.validation.mandatory ? "tel__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), c("div", { key: "040c487308231459fc92eba2e643a80639df09d6", class: "tel__wrapper--relative" }, this.tooltip && c("img", { key: "91efd4656c718c75e5047413daf10c22c37e8f93", class: "tel__tooltip-icon", src: se, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), c("div", { key: "6215f80b6bccb3dfb03dbbc485c850725633627c", class: `tel__wrapper--flex ${a}` }, c("vaadin-combo-box", { key: "3b7b1ef3415619c51d74f5fc7c5e034acb8f037f", class: "tel__prefix", items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (i) => this.handlePrefixInput(i) }), c("input", { key: "886553206896c367ba96f015d81b44ea86f741ea", type: "tel", ref: (i) => this.inputReference = i, id: `${this.name}__input`, readOnly: this.autofilled, class: "tel__input", value: this.phoneValue, placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), c("small", { key: "d4c88d386c3342c789527d925e9cd061494b785c", class: "tel__error-message" }, this.errorMessage));
13178
+ return this.touched && (a = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "f0f70d8568ba083ee19f9e73e5921104f599e15f", class: `tel__wrapper ${this.autofilled ? "tel__wrapper--autofilled" : ""} ${this.name}__input`, ref: (i) => this.stylingContainer = i }, u("div", { key: "8da9e1c2a6b3ca19caff07540f0218266de22bb2", class: "tel__wrapper--flex-label" }, u("label", { key: "d0d90bc96e3ea853f401bae9be3f033d4cfd9b17", class: `tel__label ${this.validation.mandatory ? "tel__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "fdf7929f51edcbea8568b35804b0d9e9a93a7249", class: "tel__wrapper--relative" }, this.tooltip && u("img", { key: "0fbc9b5e8c5feef727caa71ef07d4ae80007e04a", class: "tel__tooltip-icon", src: se, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("div", { key: "b4a11808a7ae5e5cddce47b51a51003bce3a84f8", class: `tel__wrapper--flex ${a}` }, u("vaadin-combo-box", { key: "2d81ff4c11e559f302a8446816f4aca0de2cfcef", class: "tel__prefix", items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (i) => this.handlePrefixInput(i) }), u("input", { key: "ab52185589bf4d52205bad4cecc9c7ecb54cd409", type: "tel", ref: (i) => this.inputReference = i, id: `${this.name}__input`, readOnly: this.autofilled, class: "tel__input", value: this.phoneValue, placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), u("small", { key: "6d219de32297bc2fab31995b5a33b14f2eea21d9", class: "tel__error-message" }, this.errorMessage));
13142
13179
  }
13143
13180
  static get watchers() {
13144
13181
  return {
13182
+ clientStyling: ["handleStylingChange"],
13145
13183
  isValid: ["validityChanged"],
13146
13184
  emitValue: ["emitValueHandler"]
13147
13185
  };
13148
13186
  }
13149
13187
  };
13150
- $o.style = No;
13151
- const qo = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{font-family:"Roboto";font-style:normal}.text__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px;height:100%}.text__wrapper--autofilled{pointer-events:none}.text__wrapper--autofilled .text__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__wrapper--autofilled .text__input::part(input-field){color:var(--emw--color-black, #000000)}.text__wrapper--flex{display:flex;gap:5px}.text__wrapper--relative{position:relative}.text__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.text__input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);border-radius:5px;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px}.text__input:focus{border:1px solid var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.text__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__input::placeholder{color:var(--emw--color-gray-150, #828282)}.text__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__tooltip-icon{width:16px;height:auto}.text__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.text__tooltip.visible{opacity:1}', Uo = qo, Yo = class {
13188
+ No.style = Bo;
13189
+ const $o = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{font-family:"Roboto";font-style:normal}.text__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px;height:100%}.text__wrapper--autofilled{pointer-events:none}.text__wrapper--autofilled .text__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__wrapper--autofilled .text__input::part(input-field){color:var(--emw--color-black, #000000)}.text__wrapper--flex{display:flex;gap:5px}.text__wrapper--relative{position:relative}.text__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.text__input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);border-radius:5px;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px}.text__input:focus{border:1px solid var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.text__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__input::placeholder{color:var(--emw--color-gray-150, #828282)}.text__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__tooltip-icon{width:16px;height:auto}.text__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.text__tooltip.visible{opacity:1}', Uo = $o, Yo = class {
13152
13190
  constructor(a) {
13153
- ae(this, a), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.defaultValue = "", this.clientStyling = "", this.errorMessage = "", this.limitStylingAppends = !1, this.showTooltip = !1, this.value = "", this.validationPattern = "", this.duplicateInputValue = null, this.touched = !1, this.handleInput = (i) => {
13191
+ ae(this, a), this.sendValidityState = H(this, "sendValidityState", 7), this.sendInputValue = H(this, "sendInputValue", 7), this.value = "", this.validationPattern = "", this.duplicateInputValue = null, this.touched = !1, this.handleInput = (i) => {
13154
13192
  this.value = i.target.value, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
13155
13193
  this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValueHandler(!0);
13156
13194
  }, 500);
@@ -13159,7 +13197,10 @@ const qo = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
13159
13197
  }, this.setClientStyling = () => {
13160
13198
  let i = document.createElement("style");
13161
13199
  i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
13162
- };
13200
+ }, this.name = void 0, this.displayName = void 0, this.placeholder = void 0, this.validation = void 0, this.defaultValue = "", this.autofilled = void 0, this.tooltip = void 0, this.language = void 0, this.checkValidity = void 0, this.emitValue = void 0, this.isDuplicateInput = void 0, this.clientStyling = "", this.isValid = void 0, this.errorMessage = "", this.limitStylingAppends = !1, this.showTooltip = !1;
13201
+ }
13202
+ handleStylingChange(a, i) {
13203
+ a !== i && this.setClientStyling();
13163
13204
  }
13164
13205
  validityChanged() {
13165
13206
  this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValue == !0 && this.valueHandler({ name: this.name, value: this.value });
@@ -13213,14 +13254,15 @@ const qo = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
13213
13254
  }
13214
13255
  }
13215
13256
  renderTooltip() {
13216
- return this.showTooltip ? c("div", { class: `text__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
13257
+ return this.showTooltip ? u("div", { class: `text__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (a) => this.tooltipReference = a, innerHTML: this.tooltip }) : null;
13217
13258
  }
13218
13259
  render() {
13219
13260
  let a = "";
13220
- return this.touched && (a = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), c("div", { key: "bfb803110a70b89dd484e993c204b572f0115a17", class: `text__wrapper ${this.name}__input ${this.autofilled ? "text__wrapper--autofilled" : ""}`, ref: (i) => this.stylingContainer = i }, c("div", { key: "6e9f8f5aada98821d5dc78ccb8b1431ba23b81ab", class: "text__wrapper--flex" }, c("label", { key: "05cf07855121a79641475a5b020774cf8120d1ed", class: `text__label ${this.validation.mandatory ? "text__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), c("div", { key: "f8c48a999f6827a61ec392ce99858c19559c77d2", class: "text__wrapper--relative" }, this.tooltip && c("img", { key: "e866f1df104ce57c29164e73b4ad4d017c7201cd", class: "text__tooltip-icon", src: se, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), c("input", { key: "d761c265b1487fe73af54568b6da7fed82656b8d", name: this.name, id: `${this.name}__input`, value: this.defaultValue, type: "text", class: `text__input ${a}`, placeholder: `${this.placeholder}`, ref: (i) => this.inputReference = i, readOnly: this.autofilled, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), c("small", { key: "5c8df34dd47959eb1668cdf389524d145c69fa84", class: "text__error-message" }, this.errorMessage));
13261
+ return this.touched && (a = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "e297f841a57c6acf854535a786916aa641831556", class: `text__wrapper ${this.name}__input ${this.autofilled ? "text__wrapper--autofilled" : ""}`, ref: (i) => this.stylingContainer = i }, u("div", { key: "7fd284a58e58d5c61a03caf4cc317b8dd9dbd82f", class: "text__wrapper--flex" }, u("label", { key: "f80a2003386ec867e5310190a7568105c2912569", class: `text__label ${this.validation.mandatory ? "text__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "e8f5197bd370100406d600be5a336f85f4c6934d", class: "text__wrapper--relative" }, this.tooltip && u("img", { key: "ff8c38fe3495a41a41ac4a1569169ce26a1ec9ce", class: "text__tooltip-icon", src: se, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("input", { key: "581106e515810ab43f7d6b6eda504ccf23906b0e", name: this.name, id: `${this.name}__input`, value: this.defaultValue, type: "text", class: `text__input ${a}`, placeholder: `${this.placeholder}`, ref: (i) => this.inputReference = i, readOnly: this.autofilled, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), u("small", { key: "20620710026982d5fb670a3173bab57a7fa9e7ce", class: "text__error-message" }, this.errorMessage));
13221
13262
  }
13222
13263
  static get watchers() {
13223
13264
  return {
13265
+ clientStyling: ["handleStylingChange"],
13224
13266
  isValid: ["validityChanged"],
13225
13267
  emitValue: ["emitValueHandler"]
13226
13268
  };
@@ -13229,12 +13271,12 @@ const qo = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
13229
13271
  Yo.style = Uo;
13230
13272
  export {
13231
13273
  Br as checkbox_group_input,
13232
- qr as checkbox_input,
13233
- ao as date_input,
13234
- oo as email_input,
13235
- co as number_input,
13236
- fo as radio_input,
13237
- Ro as select_input,
13238
- $o as tel_input,
13274
+ Ur as checkbox_input,
13275
+ ro as date_input,
13276
+ no as email_input,
13277
+ ho as number_input,
13278
+ po as radio_input,
13279
+ Lo as select_input,
13280
+ No as tel_input,
13239
13281
  Yo as text_input
13240
13282
  };