@everymatrix/player-account-controller-nd 1.87.26 → 1.87.27

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 (307) hide show
  1. package/components/GeneralLogout-Bwv0R9Hx.cjs +1 -0
  2. package/components/GeneralLogout-CdYyFZiD.js +300 -0
  3. package/components/GeneralLogout-DjPWd715.js +300 -0
  4. package/components/PlayerAccountBettingHistory-BPts9L4K.js +311 -0
  5. package/components/PlayerAccountBettingHistory-CCEasrSq.cjs +1 -0
  6. package/components/PlayerAccountBettingHistory-Ds82YpR5.js +310 -0
  7. package/components/{PlayerAccountBiometrics-OoKttQC1.js → PlayerAccountBiometrics-CHQqEwdZ.js} +97 -97
  8. package/components/PlayerAccountBiometrics-DEwVaGaY.cjs +1 -0
  9. package/components/{PlayerAccountBiometrics-BZpak-jo.js → PlayerAccountBiometrics-SOxELijD.js} +97 -97
  10. package/components/{PlayerAccountBiometricsAction-RjMo224K.js → PlayerAccountBiometricsAction-BO4ObpAd.js} +51 -51
  11. package/components/{PlayerAccountBiometricsAction-B2am4bpR.js → PlayerAccountBiometricsAction-CJDxb-eB.js} +53 -53
  12. package/components/PlayerAccountBiometricsAction-JDEeJtaN.cjs +1 -0
  13. package/components/{PlayerAccountClosureNd-CfMix_Ps.js → PlayerAccountClosureNd-CZFgXgtB.js} +91 -91
  14. package/components/PlayerAccountClosureNd-DhddTn-2.cjs +1 -0
  15. package/components/{PlayerAccountClosureNd-esNM0ZPD.js → PlayerAccountClosureNd-Dx8vSSXH.js} +95 -95
  16. package/components/PlayerAccountControllerNd-BBPLpWUA.js +12739 -0
  17. package/components/PlayerAccountControllerNd-CzqEuSO8.cjs +21 -0
  18. package/components/PlayerAccountControllerNd-DqI8LBP9.js +12696 -0
  19. package/components/{PlayerAccountGamingLimits-C_xzRgfV.js → PlayerAccountGamingLimits-8UkYjdM7.js} +99 -99
  20. package/components/PlayerAccountGamingLimits-Df14C2-n.cjs +1 -0
  21. package/components/{PlayerAccountGamingLimits-Ctn3FjqL.js → PlayerAccountGamingLimits-DrBGlo8g.js} +94 -94
  22. package/components/PlayerAccountGamingLimitsConfirmationModal-BLQCZBNJ.cjs +1 -0
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-DQY-UCwZ.js → PlayerAccountGamingLimitsConfirmationModal-BfTeuLWJ.js} +71 -71
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-CnAfgPkJ.js → PlayerAccountGamingLimitsConfirmationModal-BjQtd3FS.js} +86 -86
  25. package/components/PlayerAccountGamingLimitsGroupEdit-B0MvkuKa.cjs +1 -0
  26. package/components/PlayerAccountGamingLimitsGroupEdit-BQ9Tyf_4.js +1535 -0
  27. package/components/PlayerAccountGamingLimitsGroupEdit-CQJhFijw.js +1535 -0
  28. package/components/{PlayerAccountGamingLimitsHistory2Nd-CIkQtVKl.js → PlayerAccountGamingLimitsHistory2Nd-BfbuLtzh.js} +118 -118
  29. package/components/PlayerAccountGamingLimitsHistory2Nd-Cd7jX7px.cjs +1 -0
  30. package/components/{PlayerAccountGamingLimitsHistory2Nd-BGTw8CKy.js → PlayerAccountGamingLimitsHistory2Nd-Du6qvnt4.js} +140 -140
  31. package/components/{PlayerAccountGamingLimitsInfoCard-p2DzRnru.js → PlayerAccountGamingLimitsInfoCard-BDTlesGq.js} +233 -233
  32. package/components/{PlayerAccountGamingLimitsInfoCard-BhYr-aTy.js → PlayerAccountGamingLimitsInfoCard-Bs3LadQH.js} +235 -235
  33. package/components/PlayerAccountGamingLimitsInfoCard-CzleCVwr.cjs +1 -0
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BYWVDRrQ.js → PlayerAccountGamingLimitsPage2Gm16Nd-C5SW9HEQ.js} +957 -957
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CG87OHI3.js → PlayerAccountGamingLimitsPage2Gm16Nd-C9KMi9d6.js} +915 -915
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-D0uTHKGt.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-DSsVJPRB.cjs} +6 -6
  37. package/components/{PlayerAccountGamingLimitsPopup-B_bJGEYV.js → PlayerAccountGamingLimitsPopup-B9C8GRHd.js} +30 -30
  38. package/components/PlayerAccountGamingLimitsPopup-CfUFVRPL.cjs +1 -0
  39. package/components/{PlayerAccountGamingLimitsPopup-BBxhJP2t.js → PlayerAccountGamingLimitsPopup-DOlH1lX9.js} +38 -38
  40. package/components/PlayerAccountGamingLimitsWrapper2Nd-BjYWqiIp.cjs +4 -0
  41. package/components/{PlayerAccountGamingLimitsWrapper2Nd-C_6lkNVg.js → PlayerAccountGamingLimitsWrapper2Nd-CwY4mLbD.js} +82 -82
  42. package/components/{PlayerAccountGamingLimitsWrapper2Nd-B6nvQYBf.js → PlayerAccountGamingLimitsWrapper2Nd-EWFmIHbi.js} +82 -82
  43. package/components/{PlayerAccountGeneralConfirmationModal-DhdwRQsk.js → PlayerAccountGeneralConfirmationModal-BodkUqYV.js} +104 -104
  44. package/components/{PlayerAccountGeneralConfirmationModal-D5Beiwfg.js → PlayerAccountGeneralConfirmationModal-BweeYla_.js} +106 -106
  45. package/components/PlayerAccountGeneralConfirmationModal-CpeEHdvU.cjs +1 -0
  46. package/components/PlayerAccountMenuNd-BYu9Kn6q.cjs +1 -0
  47. package/components/{PlayerAccountMenuNd-DGdGzok9.js → PlayerAccountMenuNd-C-2jXq2-.js} +103 -103
  48. package/components/{PlayerAccountMenuNd-Bn6SqVNi.js → PlayerAccountMenuNd-dzMyecgB.js} +103 -103
  49. package/components/{PlayerAccountModal-DadxWqve.js → PlayerAccountModal-DOqkzs-o.js} +58 -58
  50. package/components/{PlayerAccountModal-bePysWNS.js → PlayerAccountModal-DPss2_FK.js} +58 -58
  51. package/components/PlayerAccountModal-DSpV-1by.cjs +1 -0
  52. package/components/PlayerAccountNotifications-BE528Lo_.cjs +1 -0
  53. package/components/{PlayerAccountNotifications-Dn5h2dH-.js → PlayerAccountNotifications-Csnt6org.js} +86 -86
  54. package/components/{PlayerAccountNotifications-Bc4mmMSG.js → PlayerAccountNotifications-Du8W3dvE.js} +126 -126
  55. package/components/PlayerAccountProductRestriction-BsFbbgLx.js +1495 -0
  56. package/components/PlayerAccountProductRestriction-D9PyM6eR.js +1460 -0
  57. package/components/PlayerAccountProductRestriction-Egw5dW9r.cjs +4 -0
  58. package/components/{PlayerAccountReviewFrequency-DTDB54eA.js → PlayerAccountReviewFrequency-5-rOUZ9b.js} +235 -235
  59. package/components/{PlayerAccountReviewFrequency-BMKHgE_L.js → PlayerAccountReviewFrequency-B6eYUTpJ.js} +245 -245
  60. package/components/PlayerAccountReviewFrequency-Z17vOXSI.cjs +4 -0
  61. package/components/PlayerAccountSelfExclusionNd-Bh-9WR1s.cjs +1 -0
  62. package/components/PlayerAccountSelfExclusionNd-WXojIXtf.js +1563 -0
  63. package/components/PlayerAccountSelfExclusionNd-hR8hyqzc.js +1535 -0
  64. package/components/{PlayerAccountSelfExclusionNd-CdpEeI3v.js → PlayerAccountTimeout-BCswyUJg.js} +2275 -2539
  65. package/components/{PlayerAccountSelfExclusionNd-GEKez9Cr.js → PlayerAccountTimeout-Bfm3bGxi.js} +2309 -2573
  66. package/components/{PlayerAccountSelfExclusionNd-DhQyYPye.cjs → PlayerAccountTimeout-BtEdNBUU.cjs} +160 -160
  67. package/components/PlayerAccountTransactionsHistory-B_r1L7fP.cjs +4 -0
  68. package/components/{PlayerAccountTransactionsHistory-CB8tUin2.js → PlayerAccountTransactionsHistory-CVvkXPf-.js} +304 -303
  69. package/components/{PlayerAccountTransactionsHistory-CuRfSIFD.js → PlayerAccountTransactionsHistory-Cxn_VA2N.js} +293 -292
  70. package/components/{PlayerActiveBonuses-B1QGTuE7.js → PlayerActiveBonuses-Cg_ku_vr.js} +190 -191
  71. package/components/{PlayerActiveBonuses-C-leW89T.js → PlayerActiveBonuses-DQFk60mp.js} +221 -220
  72. package/components/PlayerActiveBonuses-YFmoEwBA.cjs +4 -0
  73. package/components/PlayerBonusCard-CLcpryhY.cjs +1 -0
  74. package/components/{PlayerBonusCard--3a42B1v.js → PlayerBonusCard-CjrA2cGw.js} +53 -53
  75. package/components/{PlayerBonusCard-BM1djyEE.js → PlayerBonusCard-Ds3aQ6st.js} +53 -53
  76. package/components/PlayerBonusHistory-CUvHouHW.js +20048 -0
  77. package/components/PlayerBonusHistory-CVACWXfq.js +20037 -0
  78. package/components/{PlayerAccountProductRestriction-iB1RGRkJ.cjs → PlayerBonusHistory-CdiBMCsK.cjs} +295 -294
  79. package/components/{PlayerChangePasswordNd-DAX2Dod3.js → PlayerChangePasswordNd-BbebFwOs.js} +221 -221
  80. package/components/PlayerChangePasswordNd-DO3LJGHP.cjs +1 -0
  81. package/components/{PlayerChangePasswordNd-DvS35-LH.js → PlayerChangePasswordNd-bZvkj2yw.js} +227 -227
  82. package/components/{PlayerDeposit-CDa7RanD.js → PlayerDeposit-Cj9vmYOx.js} +51 -51
  83. package/components/PlayerDeposit-D0t_PuIq.cjs +1 -0
  84. package/components/{PlayerDeposit-CWZCNKC7.js → PlayerDeposit-Ld5JrWjO.js} +45 -45
  85. package/components/{PlayerGamingHistory-jJLaowmj.js → PlayerGamingHistory-Bv08VRsv.js} +372 -373
  86. package/components/{PlayerGamingHistory-BGVnZdLa.js → PlayerGamingHistory-DmchM4re.js} +402 -403
  87. package/components/PlayerGamingHistory-hVeUSK-2.cjs +1 -0
  88. package/components/PlayerPendingWithdrawals-Bl7pUeY4.cjs +1 -0
  89. package/components/{PlayerPendingWithdrawals-DfVCFhR5.js → PlayerPendingWithdrawals-CykJNGBF.js} +54 -54
  90. package/components/{PlayerPendingWithdrawals-CeQ170yk.js → PlayerPendingWithdrawals-Dt7oXMqQ.js} +49 -49
  91. package/components/PlayerProfileInfo-DFYAUCkn.cjs +4 -0
  92. package/components/{PlayerProfileInfo-DbkBbrWm.js → PlayerProfileInfo-DsNmtxaj.js} +726 -726
  93. package/components/{PlayerProfileInfo-DqDnHpr2.js → PlayerProfileInfo-MA8pLRgf.js} +733 -733
  94. package/components/{PlayerRealityCheck-W7WvnWiQ.js → PlayerRealityCheck-BI5ggva_.js} +209 -209
  95. package/components/PlayerRealityCheck-BT_ztnOc.cjs +1 -0
  96. package/components/{PlayerRealityCheck-DzSls4ms.js → PlayerRealityCheck-nR4UHOwC.js} +217 -217
  97. package/components/PlayerTransactionHistory-CnsY_nI5.cjs +1 -0
  98. package/components/{PlayerTransactionHistory-DTxBYW9d.js → PlayerTransactionHistory-NqF2BBiI.js} +60 -60
  99. package/components/{PlayerTransactionHistory-CHW2VFzU.js → PlayerTransactionHistory-SkzWV1dM.js} +68 -68
  100. package/components/PlayerWithdrawal-6q2Hoff_.cjs +1 -0
  101. package/components/{PlayerWithdrawal-DZewaRZG.js → PlayerWithdrawal-C05RHLaR.js} +61 -61
  102. package/components/{PlayerWithdrawal-PqV8UamD.js → PlayerWithdrawal-gqT_tCMj.js} +65 -65
  103. package/es2015/player-account-controller-nd.cjs +1 -1
  104. package/es2015/player-account-controller-nd.js +7 -7
  105. package/esnext/player-account-controller-nd.js +1 -1
  106. package/lazy/general-logout-AjWGsSPF.js +16 -0
  107. package/lazy/general-logout-BHWXbE0Y.js +16 -0
  108. package/lazy/general-logout-FBMQ7yf7.cjs +1 -0
  109. package/lazy/{pam-change-password-AlOm5cr5.cjs → pam-change-password-BDUTekns.cjs} +1 -1
  110. package/lazy/{pam-change-password-C0GDc1-6.js → pam-change-password-DkQC7NqW.js} +1 -1
  111. package/lazy/{pam-change-password-CjEH2xAC.js → pam-change-password-j2fZyk86.js} +1 -1
  112. package/lazy/{player-account-betting-history-DlKYro-8.cjs → player-account-betting-history-Bf4AVIuh.cjs} +1 -1
  113. package/lazy/{player-account-betting-history-TNVapYuj.js → player-account-betting-history-LL3MczXQ.js} +1 -1
  114. package/lazy/{player-account-betting-history-BN-ku90H.js → player-account-betting-history-Mtpt-58U.js} +1 -1
  115. package/lazy/{player-account-biometrics-CS9kBgaZ.cjs → player-account-biometrics-BFfAA3Qd.cjs} +1 -1
  116. package/lazy/{player-account-biometrics-1EKn_0rG.js → player-account-biometrics-BVEOZZjp.js} +1 -1
  117. package/lazy/{player-account-biometrics-DHxxaEW9.js → player-account-biometrics-a4f_rkEM.js} +1 -1
  118. package/lazy/{player-account-biometrics-action-CSOdXe8T.js → player-account-biometrics-action-D1Bv6myE.js} +1 -1
  119. package/lazy/{player-account-biometrics-action-C6DWrJ4F.cjs → player-account-biometrics-action-D5keszYC.cjs} +1 -1
  120. package/lazy/{player-account-biometrics-action-Bz04rXro.js → player-account-biometrics-action-DppYbjgz.js} +1 -1
  121. package/lazy/{player-account-closure-nd-BkX2jAMD.js → player-account-closure-nd-5VNLzj-r.js} +1 -1
  122. package/lazy/{player-account-closure-nd-BVUdxwEr.js → player-account-closure-nd-CgjY7vdg.js} +1 -1
  123. package/lazy/{player-account-closure-nd-Kp5scGGo.cjs → player-account-closure-nd-D0Qg5U4o.cjs} +1 -1
  124. package/lazy/{player-account-gaming-limits-DEnvIgaH.js → player-account-gaming-limits-68E-eLG-.js} +1 -1
  125. package/lazy/{player-account-gaming-limits-DtFbmD_W.cjs → player-account-gaming-limits-B25uQpoU.cjs} +1 -1
  126. package/lazy/{player-account-gaming-limits-CCNLQneo.js → player-account-gaming-limits-DBy6G0gk.js} +1 -1
  127. package/lazy/{player-account-gaming-limits-confirmation-modal-DcLv0BPe.js → player-account-gaming-limits-confirmation-modal-B9oDWf3p.js} +1 -1
  128. package/lazy/{player-account-gaming-limits-confirmation-modal-B025c3El.js → player-account-gaming-limits-confirmation-modal-DYKeZdrP.js} +1 -1
  129. package/lazy/{player-account-gaming-limits-confirmation-modal-BdbfEsBn.cjs → player-account-gaming-limits-confirmation-modal-hQdhwryx.cjs} +1 -1
  130. package/lazy/player-account-gaming-limits-group-edit-B9lQx0EY.js +19 -0
  131. package/lazy/player-account-gaming-limits-group-edit-C5jhYpo9.cjs +1 -0
  132. package/lazy/player-account-gaming-limits-group-edit-DfENLg6R.js +19 -0
  133. package/lazy/{player-account-gaming-limits-history-2-nd-DDcq9wPF.js → player-account-gaming-limits-history-2-nd-CY-i_lx8.js} +1 -1
  134. package/lazy/{player-account-gaming-limits-history-2-nd-DaleQI1O.cjs → player-account-gaming-limits-history-2-nd-DJ888GEO.cjs} +1 -1
  135. package/lazy/{player-account-gaming-limits-history-2-nd-DR2QJ832.js → player-account-gaming-limits-history-2-nd-o-WdeApc.js} +1 -1
  136. package/lazy/{player-account-gaming-limits-info-card-D_paLKYW.cjs → player-account-gaming-limits-info-card-Ca90pCF1.cjs} +1 -1
  137. package/lazy/{player-account-gaming-limits-info-card-UqKk5YRG.js → player-account-gaming-limits-info-card-CpVJFiu7.js} +1 -1
  138. package/lazy/{player-account-gaming-limits-info-card-CqVNFkPo.js → player-account-gaming-limits-info-card-nnVaYcUJ.js} +1 -1
  139. package/lazy/{player-account-gaming-limits-page-2-gm16-nd-unI90BsV.cjs → player-account-gaming-limits-page-2-gm16-nd-3VvKQL0V.cjs} +1 -1
  140. package/lazy/{player-account-gaming-limits-page-2-gm16-nd-4Q0jSRYf.js → player-account-gaming-limits-page-2-gm16-nd-Di-lf4c-.js} +1 -1
  141. package/lazy/{player-account-gaming-limits-page-2-gm16-nd-CwUQoceU.js → player-account-gaming-limits-page-2-gm16-nd-JMOezpT8.js} +1 -1
  142. package/lazy/{player-account-gaming-limits-popup-BcJ5LWdY.js → player-account-gaming-limits-popup-Bp-nnrxa.js} +1 -1
  143. package/lazy/{player-account-gaming-limits-popup-CdHgHFPb.js → player-account-gaming-limits-popup-CgIOupMe.js} +1 -1
  144. package/lazy/{player-account-gaming-limits-popup--U0ySglo.cjs → player-account-gaming-limits-popup-oiVscWc7.cjs} +1 -1
  145. package/lazy/{player-account-gaming-limits-wrapper-2-nd-DIVWZxlh.js → player-account-gaming-limits-wrapper-2-nd-BU0FaOqd.js} +1 -1
  146. package/lazy/{player-account-gaming-limits-wrapper-2-nd-BIwYfENS.js → player-account-gaming-limits-wrapper-2-nd-DDnd7ilE.js} +1 -1
  147. package/lazy/{player-account-gaming-limits-wrapper-2-nd-Cl8879oG.cjs → player-account-gaming-limits-wrapper-2-nd-R4H4wJYe.cjs} +1 -1
  148. package/lazy/{player-account-general-confirmation-modal-CVgKPwXi.js → player-account-general-confirmation-modal-DKPeh6uk.js} +1 -1
  149. package/lazy/{player-account-general-confirmation-modal-B0OaRcZO.cjs → player-account-general-confirmation-modal-DsUI8_as.cjs} +1 -1
  150. package/lazy/{player-account-general-confirmation-modal-cBM55D5t.js → player-account-general-confirmation-modal-XA055-Bf.js} +1 -1
  151. package/lazy/{player-account-menu-nd-FOQfOStS.js → player-account-menu-nd-BRb08IPc.js} +1 -1
  152. package/lazy/{player-account-menu-nd-C0lCBkPn.cjs → player-account-menu-nd-CFivjFbM.cjs} +1 -1
  153. package/lazy/{player-account-menu-nd-Bvin7scU.js → player-account-menu-nd-WbriZ3QE.js} +1 -1
  154. package/lazy/{player-account-modal-BueW0TP-.js → player-account-modal-BAJYAvNe.js} +1 -1
  155. package/lazy/{player-account-modal-BIe31VNS.js → player-account-modal-DXsEA0Ra.js} +1 -1
  156. package/lazy/{player-account-modal-BXoInGeg.cjs → player-account-modal-PXjJKOc_.cjs} +1 -1
  157. package/lazy/{player-account-notifications-AG_zgFna.js → player-account-notifications-BJrMpuV9.js} +1 -1
  158. package/lazy/{player-account-notifications-DukgErgO.js → player-account-notifications-CqUwFwFv.js} +1 -1
  159. package/lazy/{player-account-notifications-Sje-PdYU.cjs → player-account-notifications-Dnrl6HMD.cjs} +1 -1
  160. package/lazy/player-account-product-restriction-BC8rde_m.cjs +1 -0
  161. package/lazy/player-account-product-restriction-Di-RSrPn.js +16 -0
  162. package/lazy/player-account-product-restriction-Dk99NWI4.js +16 -0
  163. package/lazy/{player-account-review-frequency-DxEXVKCA.js → player-account-review-frequency-CkM6NO5u.js} +1 -1
  164. package/lazy/{player-account-review-frequency-I6csp41f.js → player-account-review-frequency-cseW-hvV.js} +1 -1
  165. package/lazy/{player-account-review-frequency-C6bJUysK.cjs → player-account-review-frequency-wuqHieBq.cjs} +1 -1
  166. package/lazy/{player-account-self-exclusion-nd-BeoDRdHh.js → player-account-self-exclusion-nd-D29Sql38.js} +1 -1
  167. package/lazy/{player-account-self-exclusion-nd-ClpM2tLP.js → player-account-self-exclusion-nd-DgNstGAY.js} +1 -1
  168. package/lazy/{player-account-self-exclusion-nd-Bi6nByYV.cjs → player-account-self-exclusion-nd-n5znXgwp.cjs} +1 -1
  169. package/lazy/player-account-timeout-CncXUCQn.cjs +1 -0
  170. package/lazy/{player-account-product-restriction-DdiQqlb8.js → player-account-timeout-TkjBmKPR.js} +2 -2
  171. package/lazy/{player-account-product-restriction-DSHPj6Ge.js → player-account-timeout-hBJlUkJj.js} +2 -2
  172. package/lazy/{player-account-transactions-history-DnyKI4uh.js → player-account-transactions-history-CDfyaz4e.js} +1 -1
  173. package/lazy/{player-account-transactions-history-DWFmGV0x.js → player-account-transactions-history-Dhi2ei72.js} +1 -1
  174. package/lazy/{player-account-transactions-history-7_2Bsts1.cjs → player-account-transactions-history-DxduEVen.cjs} +1 -1
  175. package/lazy/{player-active-bonuses-BY6s0RrQ.js → player-active-bonuses-9ZalIESO.js} +1 -1
  176. package/lazy/{player-active-bonuses-BVjlBxiF.js → player-active-bonuses-Bt_ClbOt.js} +1 -1
  177. package/lazy/{player-active-bonuses-C5OI5LtI.cjs → player-active-bonuses-Byx2O8OK.cjs} +1 -1
  178. package/lazy/{player-bonus-card-gWls3eAM.js → player-bonus-card-Bp8IoJdb.js} +1 -1
  179. package/lazy/{player-bonus-card-CyAM3TLf.cjs → player-bonus-card-Cx9Z6Unr.cjs} +1 -1
  180. package/lazy/{player-bonus-card-CwyKl7Fo.js → player-bonus-card-DnDjAGz9.js} +1 -1
  181. package/lazy/{general-logout-CFVrAZ1t.js → player-bonus-history-5zpX69Az.js} +2 -2
  182. package/lazy/{general-logout-Wcs9-2Pz.js → player-bonus-history-D45z3J-Z.js} +2 -2
  183. package/lazy/{general-logout-DdTvMvkn.cjs → player-bonus-history-IX10cHDz.cjs} +1 -1
  184. package/lazy/{player-change-password-nd-DoxPo46-.cjs → player-change-password-nd-BuA-TrOa.cjs} +1 -1
  185. package/lazy/{player-change-password-nd-ClKOLb8r.js → player-change-password-nd-CerNN5GG.js} +1 -1
  186. package/lazy/{player-change-password-nd-B-n5ppEK.js → player-change-password-nd-aoaVWLb8.js} +1 -1
  187. package/lazy/{player-deposit-BQ6yIA9X.js → player-deposit-6MAIa4wn.js} +1 -1
  188. package/lazy/{player-deposit-BQwPZ83t.js → player-deposit-CVIiqCxi.js} +1 -1
  189. package/lazy/{player-deposit-Dtrsw1lA.cjs → player-deposit-Cp-RAuvc.cjs} +1 -1
  190. package/lazy/{player-gaming-history-BdGaH7MD.cjs → player-gaming-history-AI5pUTKV.cjs} +1 -1
  191. package/lazy/{player-gaming-history-BjBOnS1W.js → player-gaming-history-DIBp-_mT.js} +1 -1
  192. package/lazy/{player-gaming-history-BgdBxGWw.js → player-gaming-history-Dxqkrozw.js} +1 -1
  193. package/lazy/{player-kyc-verification-B5pCUSnk.js → player-kyc-verification-BZP7kUUO.js} +1 -1
  194. package/lazy/{player-kyc-verification-DlZifvve.js → player-kyc-verification-CM0zwZli.js} +1 -1
  195. package/lazy/{player-kyc-verification-BF4tf48l.cjs → player-kyc-verification-CTNRJ426.cjs} +1 -1
  196. package/lazy/{player-pending-withdrawals-79bMxhaa.cjs → player-pending-withdrawals-B7ivfIF1.cjs} +1 -1
  197. package/lazy/{player-pending-withdrawals-_P0uIgma.js → player-pending-withdrawals-BEhET_o8.js} +1 -1
  198. package/lazy/{player-pending-withdrawals-D6Y4E9ce.js → player-pending-withdrawals-DBY-pmaE.js} +1 -1
  199. package/lazy/{player-profile-info-kJ-EcNO_.cjs → player-profile-info-B8UxeKuQ.cjs} +1 -1
  200. package/lazy/{player-profile-info-DcBkxRcA.js → player-profile-info-BLVWdHgR.js} +1 -1
  201. package/lazy/{player-profile-info-WnZGk3JQ.js → player-profile-info-BYUrYdoF.js} +1 -1
  202. package/lazy/{player-reality-check-Au8og8hl.cjs → player-reality-check-B6C5C4Rf.cjs} +1 -1
  203. package/lazy/{player-reality-check-DUC6TenT.js → player-reality-check-B6v65mZ-.js} +1 -1
  204. package/lazy/{player-reality-check-mWm2ryAd.js → player-reality-check-jj2H3eyi.js} +1 -1
  205. package/lazy/{player-transaction-history-BJVIUBee.js → player-transaction-history-7ZFgLY0t.js} +1 -1
  206. package/lazy/{player-transaction-history-NFSIfQcd.cjs → player-transaction-history-DAS9PtjD.cjs} +1 -1
  207. package/lazy/{player-transaction-history-C8Bpi4DA.js → player-transaction-history-DLwzIeDP.js} +1 -1
  208. package/lazy/{player-withdrawal-1KVKXAxd.js → player-withdrawal-C6kEpg1V.js} +1 -1
  209. package/lazy/{player-withdrawal-DlZgjMOh.cjs → player-withdrawal-CW6yoX-5.cjs} +1 -1
  210. package/lazy/{player-withdrawal-UZU8-ppC.js → player-withdrawal-jDk1Z96D.js} +1 -1
  211. package/lazy/{ui-skeleton-BUCYetAg.js → ui-skeleton-BBQWByBl.js} +1 -1
  212. package/lazy/{ui-skeleton-BgUTfAtW.cjs → ui-skeleton-DCHcpm1I.cjs} +1 -1
  213. package/lazy/{ui-skeleton-C-dgOp3G.js → ui-skeleton-D_9rhDxL.js} +1 -1
  214. package/lazy/{user-deposit-withdrawal-BPgWs5L8.js → user-deposit-withdrawal-CDN8DDAf.js} +1 -1
  215. package/lazy/{user-deposit-withdrawal-DPuxBhFZ.cjs → user-deposit-withdrawal-CLrG_muR.cjs} +1 -1
  216. package/lazy/{user-deposit-withdrawal-DBFYKdyJ.js → user-deposit-withdrawal-LBLtDULY.js} +1 -1
  217. package/lazy/{user-transaction-history-B91xe-Pp.cjs → user-transaction-history-CODVmehQ.cjs} +1 -1
  218. package/lazy/{user-transaction-history-BLupDBlt.js → user-transaction-history-CoyTaqaz.js} +1 -1
  219. package/lazy/{user-transaction-history-D8DLm_8b.js → user-transaction-history-D-8VbKaf.js} +1 -1
  220. package/package.json +1 -1
  221. package/stencil/app-globals-0f993ce5-BjWsvLzr.cjs +1 -0
  222. package/stencil/{app-globals-0f993ce5-DzSE6TtH.js → app-globals-0f993ce5-XUXOuUQl.js} +4 -4
  223. package/stencil/{checkbox-group-input_16-tPQE2pxT.cjs → checkbox-group-input_16-BniNMHds.cjs} +1 -1
  224. package/stencil/{checkbox-group-input_16-C2U40PRd.js → checkbox-group-input_16-C2eDNlT5.js} +2 -2
  225. package/stencil/{checkbox-group-input_16-BzuatS1O.js → checkbox-group-input_16-CFQo3UCY.js} +2 -2
  226. package/stencil/{pam-change-password-6b535bd5-BXXd-JH1.js → pam-change-password-25b46f90-CREK_7H0.js} +122 -93
  227. package/stencil/{pam-change-password-6b535bd5-DIIkqQAT.cjs → pam-change-password-25b46f90-CSbDvQn6.cjs} +2 -2
  228. package/stencil/{pam-change-password-6b535bd5-CECTr5ou.js → pam-change-password-25b46f90-DZ8i_l2V.js} +121 -93
  229. package/stencil/{pam-change-password-I_UDtXjh.js → pam-change-password-ClQVPr8a.js} +3 -3
  230. package/stencil/pam-change-password-CvSWIqGx.cjs +1 -0
  231. package/stencil/{pam-change-password-CeHGulmv.js → pam-change-password-k5uXqpgZ.js} +3 -3
  232. package/stencil/{player-kyc-verification-B-Gwyevd.js → player-kyc-verification-CIgWZTIp.js} +95 -67
  233. package/stencil/{player-kyc-verification-Czftixd5.cjs → player-kyc-verification-DTf6J3oe.cjs} +2 -2
  234. package/stencil/{player-kyc-verification-38ukgicS.js → player-kyc-verification-f9L2NsQ9.js} +125 -98
  235. package/stencil/{ui-skeleton-Bp-l1XOX.cjs → ui-skeleton-DCajaTYn.cjs} +1 -1
  236. package/stencil/{ui-skeleton-Ur_BR5_B.js → ui-skeleton-Dd7tqzYw.js} +3 -3
  237. package/stencil/{ui-skeleton-ed169f8f-BC-qcUzg.cjs → ui-skeleton-ed169f8f-CzsV8lCL.cjs} +1 -1
  238. package/stencil/{ui-skeleton-ed169f8f-Dlrug2eB.js → ui-skeleton-ed169f8f-DMVI4VdD.js} +1 -1
  239. package/stencil/{ui-skeleton-ed169f8f-CScXzcMr.js → ui-skeleton-ed169f8f-W8BHwBHY.js} +1 -1
  240. package/stencil/{ui-skeleton--3Oejuq9.js → ui-skeleton-fEyshHrf.js} +3 -3
  241. package/stencil/user-deposit-withdrawal-Bh2KC6s5.cjs +72 -0
  242. package/stencil/{user-deposit-withdrawal-Ca_vjCHW.js → user-deposit-withdrawal-C4XkkxTv.js} +327 -300
  243. package/stencil/{user-deposit-withdrawal-CF2Gsvjt.js → user-deposit-withdrawal-D0OM-Emr.js} +372 -344
  244. package/stencil/{user-transaction-history-BfPSa4ia.js → user-transaction-history-BKRAtQSf.js} +3 -3
  245. package/stencil/{user-transaction-history-OpRaM0zM.js → user-transaction-history-CV0Cuc3e.js} +3 -3
  246. package/stencil/{user-transaction-history-D7eoRXas.cjs → user-transaction-history-wra_Cx3b.cjs} +1 -1
  247. package/stencil/{user-transaction-history_2-3zA9r-wE.js → user-transaction-history_2-B4dInDtd.js} +1701 -1651
  248. package/stencil/{user-transaction-history_2-BSYuOzxw.js → user-transaction-history_2-DjIeJ8Gy.js} +916 -911
  249. package/stencil/{user-transaction-history_2-CUThFqsc.cjs → user-transaction-history_2-DmPuYVuq.cjs} +275 -275
  250. package/components/GeneralLogout-BhFf4pXj.js +0 -4917
  251. package/components/GeneralLogout-CabJYhl_.cjs +0 -21
  252. package/components/GeneralLogout-kVL3KJCW.js +0 -4954
  253. package/components/PlayerAccountBettingHistory-C4kUhIyD.js +0 -310
  254. package/components/PlayerAccountBettingHistory-CDhOm69b.cjs +0 -1
  255. package/components/PlayerAccountBettingHistory-DqrW1eC0.js +0 -311
  256. package/components/PlayerAccountBiometrics-gFISK4P0.cjs +0 -1
  257. package/components/PlayerAccountBiometricsAction-DuFLD8TU.cjs +0 -1
  258. package/components/PlayerAccountClosureNd-qQb5QSAr.cjs +0 -1
  259. package/components/PlayerAccountControllerNd-C6p_kKyh.js +0 -8058
  260. package/components/PlayerAccountControllerNd-SlCHyjHq.js +0 -8075
  261. package/components/PlayerAccountControllerNd-rq8YRAF8.cjs +0 -1
  262. package/components/PlayerAccountGamingLimits-D7Vqty05.cjs +0 -1
  263. package/components/PlayerAccountGamingLimitsConfirmationModal-Db9y9UT0.cjs +0 -1
  264. package/components/PlayerAccountGamingLimitsGroupEdit-BT_aUQxr.js +0 -4731
  265. package/components/PlayerAccountGamingLimitsGroupEdit-CGNgCFWP.js +0 -4731
  266. package/components/PlayerAccountGamingLimitsGroupEdit-CjXacuNt.cjs +0 -2
  267. package/components/PlayerAccountGamingLimitsHistory2Nd-C0NPtChp.cjs +0 -1
  268. package/components/PlayerAccountGamingLimitsInfoCard-lRbryLtl.cjs +0 -1
  269. package/components/PlayerAccountGamingLimitsPopup-COhkcQaf.cjs +0 -1
  270. package/components/PlayerAccountGamingLimitsWrapper2Nd-BKcchGbA.cjs +0 -4
  271. package/components/PlayerAccountGeneralConfirmationModal-BfjwI9f3.cjs +0 -1
  272. package/components/PlayerAccountMenuNd-DfBW-4HX.cjs +0 -1
  273. package/components/PlayerAccountModal-DyIiDJCX.cjs +0 -1
  274. package/components/PlayerAccountNotifications-D3KJc-M4.cjs +0 -1
  275. package/components/PlayerAccountProductRestriction-BScIHqvQ.js +0 -17539
  276. package/components/PlayerAccountProductRestriction-BqDZjIRL.js +0 -17504
  277. package/components/PlayerAccountReviewFrequency-6vdzPgd4.cjs +0 -4
  278. package/components/PlayerAccountTimeout-BFuhuOpT.cjs +0 -1
  279. package/components/PlayerAccountTimeout-Dc_dhq__.js +0 -976
  280. package/components/PlayerAccountTimeout-JeSj9Gxs.js +0 -976
  281. package/components/PlayerAccountTransactionsHistory-DbdgijDb.cjs +0 -4
  282. package/components/PlayerActiveBonuses-Dm3TsqWq.cjs +0 -4
  283. package/components/PlayerBonusCard-D3RRaRG3.cjs +0 -1
  284. package/components/PlayerBonusHistory-BvbveVm4.js +0 -1106
  285. package/components/PlayerBonusHistory-DIhVjnFh.cjs +0 -4
  286. package/components/PlayerBonusHistory-DUyoAOkj.js +0 -1095
  287. package/components/PlayerChangePasswordNd-PdozpMfL.cjs +0 -1
  288. package/components/PlayerDeposit-BMiKdbNV.cjs +0 -1
  289. package/components/PlayerGamingHistory-CG3IxutB.cjs +0 -1
  290. package/components/PlayerPendingWithdrawals-Adf-S-0n.cjs +0 -1
  291. package/components/PlayerProfileInfo-Csb61mgQ.cjs +0 -4
  292. package/components/PlayerRealityCheck-D9_TyV9_.cjs +0 -1
  293. package/components/PlayerTransactionHistory-CzAXZ_UN.cjs +0 -1
  294. package/components/PlayerWithdrawal-C7i6UasK.cjs +0 -1
  295. package/lazy/player-account-gaming-limits-group-edit-BXHQNeDR.cjs +0 -1
  296. package/lazy/player-account-gaming-limits-group-edit-BcwaoXQ4.js +0 -19
  297. package/lazy/player-account-gaming-limits-group-edit-b3EMH7cg.js +0 -19
  298. package/lazy/player-account-product-restriction-wSKzQzGt.cjs +0 -1
  299. package/lazy/player-account-timeout-BMr_crpG.cjs +0 -1
  300. package/lazy/player-account-timeout-D3l_SP1p.js +0 -16
  301. package/lazy/player-account-timeout-nQzir3AH.js +0 -16
  302. package/lazy/player-bonus-history-BMThS-9k.js +0 -16
  303. package/lazy/player-bonus-history-D2d4fDQx.cjs +0 -1
  304. package/lazy/player-bonus-history-EBcErvT8.js +0 -16
  305. package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +0 -1
  306. package/stencil/pam-change-password-DfJ3Hz_h.cjs +0 -1
  307. package/stencil/user-deposit-withdrawal-BXny5CR4.cjs +0 -72
@@ -1,4731 +0,0 @@
1
- import { a as Kt, $ as Zt, S as $t, i as er, s as tr, f as be, b as rr, n as nt, d as I, r as Qe, c as oe, g as Me, e as b, h as q, j as f, l as ke, Q as ir, k as M, m as Q, w as he, t as K, p as nr, q as ar, u as or, v as sr, D as Ue, E as Je, R as ur, T as He, x as lr, C as Ke, U as at, J as Ze, V as Oe, W as cr, y as mr, z as dr, A as fr, B as vr } from "./GeneralLogout-BhFf4pXj.js";
2
- import "../lazy/player-account-gaming-limits-popup-BcJ5LWdY.js";
3
- import "../lazy/player-account-modal-BIe31VNS.js";
4
- import "../lazy/player-account-gaming-limits-confirmation-modal-B025c3El.js";
5
- function De(n) {
6
- "@babel/helpers - typeof";
7
- return De = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
8
- return typeof r;
9
- } : function(r) {
10
- return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
11
- }, De(n);
12
- }
13
- function le(n) {
14
- if (n === null || n === !0 || n === !1)
15
- return NaN;
16
- var r = Number(n);
17
- return isNaN(r) ? r : r < 0 ? Math.ceil(r) : Math.floor(r);
18
- }
19
- function S(n, r) {
20
- if (r.length < n)
21
- throw new TypeError(n + " argument" + (n > 1 ? "s" : "") + " required, but only " + r.length + " present");
22
- }
23
- function ne(n) {
24
- S(1, arguments);
25
- var r = Object.prototype.toString.call(n);
26
- return n instanceof Date || De(n) === "object" && r === "[object Date]" ? new Date(n.getTime()) : typeof n == "number" || r === "[object Number]" ? new Date(n) : ((typeof n == "string" || r === "[object String]") && typeof console < "u" && (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));
27
- }
28
- function pr(n, r) {
29
- S(2, arguments);
30
- var t = ne(n), i = le(r);
31
- if (isNaN(i))
32
- return /* @__PURE__ */ new Date(NaN);
33
- if (!i)
34
- return t;
35
- var e = t.getDate(), o = new Date(t.getTime());
36
- o.setMonth(t.getMonth() + i + 1, 0);
37
- var a = o.getDate();
38
- return e >= a ? o : (t.setFullYear(o.getFullYear(), o.getMonth(), e), t);
39
- }
40
- function hr(n, r) {
41
- S(2, arguments);
42
- var t = ne(n).getTime(), i = le(r);
43
- return new Date(t + i);
44
- }
45
- var gr = {};
46
- function We() {
47
- return gr;
48
- }
49
- function Et(n) {
50
- var r = new Date(Date.UTC(n.getFullYear(), n.getMonth(), n.getDate(), n.getHours(), n.getMinutes(), n.getSeconds(), n.getMilliseconds()));
51
- return r.setUTCFullYear(n.getFullYear()), n.getTime() - r.getTime();
52
- }
53
- function Dn(n) {
54
- S(1, arguments);
55
- var r = ne(n);
56
- return r.setHours(0, 0, 0, 0), r;
57
- }
58
- var wr = 6e4, yr = 36e5, br = 1e3;
59
- function Tr(n) {
60
- return S(1, arguments), n instanceof Date || De(n) === "object" && Object.prototype.toString.call(n) === "[object Date]";
61
- }
62
- function Lr(n) {
63
- if (S(1, arguments), !Tr(n) && typeof n != "number")
64
- return !1;
65
- var r = ne(n);
66
- return !isNaN(Number(r));
67
- }
68
- function Pn(n) {
69
- S(1, arguments);
70
- var r = ne(n);
71
- return r.setHours(23, 59, 59, 999), r;
72
- }
73
- function Ot(n, r) {
74
- S(2, arguments);
75
- var t = le(r);
76
- return hr(n, -t);
77
- }
78
- var kr = 864e5;
79
- function Cr(n) {
80
- S(1, arguments);
81
- var r = ne(n), t = r.getTime();
82
- r.setUTCMonth(0, 1), r.setUTCHours(0, 0, 0, 0);
83
- var i = r.getTime(), e = t - i;
84
- return Math.floor(e / kr) + 1;
85
- }
86
- function Ne(n) {
87
- S(1, arguments);
88
- var r = 1, t = ne(n), i = t.getUTCDay(), e = (i < r ? 7 : 0) + i - r;
89
- return t.setUTCDate(t.getUTCDate() - e), t.setUTCHours(0, 0, 0, 0), t;
90
- }
91
- function At(n) {
92
- S(1, arguments);
93
- var r = ne(n), t = r.getUTCFullYear(), i = /* @__PURE__ */ new Date(0);
94
- i.setUTCFullYear(t + 1, 0, 4), i.setUTCHours(0, 0, 0, 0);
95
- var e = Ne(i), o = /* @__PURE__ */ new Date(0);
96
- o.setUTCFullYear(t, 0, 4), o.setUTCHours(0, 0, 0, 0);
97
- var a = Ne(o);
98
- return r.getTime() >= e.getTime() ? t + 1 : r.getTime() >= a.getTime() ? t : t - 1;
99
- }
100
- function _r(n) {
101
- S(1, arguments);
102
- var r = At(n), t = /* @__PURE__ */ new Date(0);
103
- t.setUTCFullYear(r, 0, 4), t.setUTCHours(0, 0, 0, 0);
104
- var i = Ne(t);
105
- return i;
106
- }
107
- var Mr = 6048e5;
108
- function xt(n) {
109
- S(1, arguments);
110
- var r = ne(n), t = Ne(r).getTime() - _r(r).getTime();
111
- return Math.round(t / Mr) + 1;
112
- }
113
- function Ae(n, r) {
114
- var t, i, e, o, a, s, u, l;
115
- S(1, arguments);
116
- var m = We(), y = le((t = (i = (e = (o = r?.weekStartsOn) !== null && o !== void 0 ? o : r == null || (a = r.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.weekStartsOn) !== null && e !== void 0 ? e : m.weekStartsOn) !== null && i !== void 0 ? i : (u = m.locale) === null || u === void 0 || (l = u.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && t !== void 0 ? t : 0);
117
- if (!(y >= 0 && y <= 6))
118
- throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
119
- var w = ne(n), p = w.getUTCDay(), E = (p < y ? 7 : 0) + p - y;
120
- return w.setUTCDate(w.getUTCDate() - E), w.setUTCHours(0, 0, 0, 0), w;
121
- }
122
- function $e(n, r) {
123
- var t, i, e, o, a, s, u, l;
124
- S(1, arguments);
125
- var m = ne(n), y = m.getUTCFullYear(), w = We(), p = le((t = (i = (e = (o = r?.firstWeekContainsDate) !== null && o !== void 0 ? o : r == null || (a = r.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && e !== void 0 ? e : w.firstWeekContainsDate) !== null && i !== void 0 ? i : (u = w.locale) === null || u === void 0 || (l = u.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
126
- if (!(p >= 1 && p <= 7))
127
- throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
128
- var E = /* @__PURE__ */ new Date(0);
129
- E.setUTCFullYear(y + 1, 0, p), E.setUTCHours(0, 0, 0, 0);
130
- var h = Ae(E, r), g = /* @__PURE__ */ new Date(0);
131
- g.setUTCFullYear(y, 0, p), g.setUTCHours(0, 0, 0, 0);
132
- var k = Ae(g, r);
133
- return m.getTime() >= h.getTime() ? y + 1 : m.getTime() >= k.getTime() ? y : y - 1;
134
- }
135
- function Dr(n, r) {
136
- var t, i, e, o, a, s, u, l;
137
- S(1, arguments);
138
- var m = We(), y = le((t = (i = (e = (o = r?.firstWeekContainsDate) !== null && o !== void 0 ? o : r == null || (a = r.locale) === null || a === void 0 || (s = a.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && e !== void 0 ? e : m.firstWeekContainsDate) !== null && i !== void 0 ? i : (u = m.locale) === null || u === void 0 || (l = u.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), w = $e(n, r), p = /* @__PURE__ */ new Date(0);
139
- p.setUTCFullYear(w, 0, y), p.setUTCHours(0, 0, 0, 0);
140
- var E = Ae(p, r);
141
- return E;
142
- }
143
- var Pr = 6048e5;
144
- function Ut(n, r) {
145
- S(1, arguments);
146
- var t = ne(n), i = Ae(t, r).getTime() - Dr(t, r).getTime();
147
- return Math.round(i / Pr) + 1;
148
- }
149
- function Y(n, r) {
150
- for (var t = n < 0 ? "-" : "", i = Math.abs(n).toString(); i.length < r; )
151
- i = "0" + i;
152
- return t + i;
153
- }
154
- var Pe = {
155
- // Year
156
- y: function(r, t) {
157
- var i = r.getUTCFullYear(), e = i > 0 ? i : 1 - i;
158
- return Y(t === "yy" ? e % 100 : e, t.length);
159
- },
160
- // Month
161
- M: function(r, t) {
162
- var i = r.getUTCMonth();
163
- return t === "M" ? String(i + 1) : Y(i + 1, 2);
164
- },
165
- // Day of the month
166
- d: function(r, t) {
167
- return Y(r.getUTCDate(), t.length);
168
- },
169
- // AM or PM
170
- a: function(r, t) {
171
- var i = r.getUTCHours() / 12 >= 1 ? "pm" : "am";
172
- switch (t) {
173
- case "a":
174
- case "aa":
175
- return i.toUpperCase();
176
- case "aaa":
177
- return i;
178
- case "aaaaa":
179
- return i[0];
180
- case "aaaa":
181
- default:
182
- return i === "am" ? "a.m." : "p.m.";
183
- }
184
- },
185
- // Hour [1-12]
186
- h: function(r, t) {
187
- return Y(r.getUTCHours() % 12 || 12, t.length);
188
- },
189
- // Hour [0-23]
190
- H: function(r, t) {
191
- return Y(r.getUTCHours(), t.length);
192
- },
193
- // Minute
194
- m: function(r, t) {
195
- return Y(r.getUTCMinutes(), t.length);
196
- },
197
- // Second
198
- s: function(r, t) {
199
- return Y(r.getUTCSeconds(), t.length);
200
- },
201
- // Fraction of second
202
- S: function(r, t) {
203
- var i = t.length, e = r.getUTCMilliseconds(), o = Math.floor(e * Math.pow(10, i - 3));
204
- return Y(o, t.length);
205
- }
206
- }, xe = {
207
- midnight: "midnight",
208
- noon: "noon",
209
- morning: "morning",
210
- afternoon: "afternoon",
211
- evening: "evening",
212
- night: "night"
213
- }, Er = {
214
- // Era
215
- G: function(r, t, i) {
216
- var e = r.getUTCFullYear() > 0 ? 1 : 0;
217
- switch (t) {
218
- case "G":
219
- case "GG":
220
- case "GGG":
221
- return i.era(e, {
222
- width: "abbreviated"
223
- });
224
- case "GGGGG":
225
- return i.era(e, {
226
- width: "narrow"
227
- });
228
- case "GGGG":
229
- default:
230
- return i.era(e, {
231
- width: "wide"
232
- });
233
- }
234
- },
235
- // Year
236
- y: function(r, t, i) {
237
- if (t === "yo") {
238
- var e = r.getUTCFullYear(), o = e > 0 ? e : 1 - e;
239
- return i.ordinalNumber(o, {
240
- unit: "year"
241
- });
242
- }
243
- return Pe.y(r, t);
244
- },
245
- // Local week-numbering year
246
- Y: function(r, t, i, e) {
247
- var o = $e(r, e), a = o > 0 ? o : 1 - o;
248
- if (t === "YY") {
249
- var s = a % 100;
250
- return Y(s, 2);
251
- }
252
- return t === "Yo" ? i.ordinalNumber(a, {
253
- unit: "year"
254
- }) : Y(a, t.length);
255
- },
256
- // ISO week-numbering year
257
- R: function(r, t) {
258
- var i = At(r);
259
- return Y(i, t.length);
260
- },
261
- // Extended year. This is a single number designating the year of this calendar system.
262
- // The main difference between `y` and `u` localizers are B.C. years:
263
- // | Year | `y` | `u` |
264
- // |------|-----|-----|
265
- // | AC 1 | 1 | 1 |
266
- // | BC 1 | 1 | 0 |
267
- // | BC 2 | 2 | -1 |
268
- // Also `yy` always returns the last two digits of a year,
269
- // while `uu` pads single digit years to 2 characters and returns other years unchanged.
270
- u: function(r, t) {
271
- var i = r.getUTCFullYear();
272
- return Y(i, t.length);
273
- },
274
- // Quarter
275
- Q: function(r, t, i) {
276
- var e = Math.ceil((r.getUTCMonth() + 1) / 3);
277
- switch (t) {
278
- case "Q":
279
- return String(e);
280
- case "QQ":
281
- return Y(e, 2);
282
- case "Qo":
283
- return i.ordinalNumber(e, {
284
- unit: "quarter"
285
- });
286
- case "QQQ":
287
- return i.quarter(e, {
288
- width: "abbreviated",
289
- context: "formatting"
290
- });
291
- case "QQQQQ":
292
- return i.quarter(e, {
293
- width: "narrow",
294
- context: "formatting"
295
- });
296
- case "QQQQ":
297
- default:
298
- return i.quarter(e, {
299
- width: "wide",
300
- context: "formatting"
301
- });
302
- }
303
- },
304
- // Stand-alone quarter
305
- q: function(r, t, i) {
306
- var e = Math.ceil((r.getUTCMonth() + 1) / 3);
307
- switch (t) {
308
- case "q":
309
- return String(e);
310
- case "qq":
311
- return Y(e, 2);
312
- case "qo":
313
- return i.ordinalNumber(e, {
314
- unit: "quarter"
315
- });
316
- case "qqq":
317
- return i.quarter(e, {
318
- width: "abbreviated",
319
- context: "standalone"
320
- });
321
- case "qqqqq":
322
- return i.quarter(e, {
323
- width: "narrow",
324
- context: "standalone"
325
- });
326
- case "qqqq":
327
- default:
328
- return i.quarter(e, {
329
- width: "wide",
330
- context: "standalone"
331
- });
332
- }
333
- },
334
- // Month
335
- M: function(r, t, i) {
336
- var e = r.getUTCMonth();
337
- switch (t) {
338
- case "M":
339
- case "MM":
340
- return Pe.M(r, t);
341
- case "Mo":
342
- return i.ordinalNumber(e + 1, {
343
- unit: "month"
344
- });
345
- case "MMM":
346
- return i.month(e, {
347
- width: "abbreviated",
348
- context: "formatting"
349
- });
350
- case "MMMMM":
351
- return i.month(e, {
352
- width: "narrow",
353
- context: "formatting"
354
- });
355
- case "MMMM":
356
- default:
357
- return i.month(e, {
358
- width: "wide",
359
- context: "formatting"
360
- });
361
- }
362
- },
363
- // Stand-alone month
364
- L: function(r, t, i) {
365
- var e = r.getUTCMonth();
366
- switch (t) {
367
- case "L":
368
- return String(e + 1);
369
- case "LL":
370
- return Y(e + 1, 2);
371
- case "Lo":
372
- return i.ordinalNumber(e + 1, {
373
- unit: "month"
374
- });
375
- case "LLL":
376
- return i.month(e, {
377
- width: "abbreviated",
378
- context: "standalone"
379
- });
380
- case "LLLLL":
381
- return i.month(e, {
382
- width: "narrow",
383
- context: "standalone"
384
- });
385
- case "LLLL":
386
- default:
387
- return i.month(e, {
388
- width: "wide",
389
- context: "standalone"
390
- });
391
- }
392
- },
393
- // Local week of year
394
- w: function(r, t, i, e) {
395
- var o = Ut(r, e);
396
- return t === "wo" ? i.ordinalNumber(o, {
397
- unit: "week"
398
- }) : Y(o, t.length);
399
- },
400
- // ISO week of year
401
- I: function(r, t, i) {
402
- var e = xt(r);
403
- return t === "Io" ? i.ordinalNumber(e, {
404
- unit: "week"
405
- }) : Y(e, t.length);
406
- },
407
- // Day of the month
408
- d: function(r, t, i) {
409
- return t === "do" ? i.ordinalNumber(r.getUTCDate(), {
410
- unit: "date"
411
- }) : Pe.d(r, t);
412
- },
413
- // Day of year
414
- D: function(r, t, i) {
415
- var e = Cr(r);
416
- return t === "Do" ? i.ordinalNumber(e, {
417
- unit: "dayOfYear"
418
- }) : Y(e, t.length);
419
- },
420
- // Day of week
421
- E: function(r, t, i) {
422
- var e = r.getUTCDay();
423
- switch (t) {
424
- case "E":
425
- case "EE":
426
- case "EEE":
427
- return i.day(e, {
428
- width: "abbreviated",
429
- context: "formatting"
430
- });
431
- case "EEEEE":
432
- return i.day(e, {
433
- width: "narrow",
434
- context: "formatting"
435
- });
436
- case "EEEEEE":
437
- return i.day(e, {
438
- width: "short",
439
- context: "formatting"
440
- });
441
- case "EEEE":
442
- default:
443
- return i.day(e, {
444
- width: "wide",
445
- context: "formatting"
446
- });
447
- }
448
- },
449
- // Local day of week
450
- e: function(r, t, i, e) {
451
- var o = r.getUTCDay(), a = (o - e.weekStartsOn + 8) % 7 || 7;
452
- switch (t) {
453
- case "e":
454
- return String(a);
455
- case "ee":
456
- return Y(a, 2);
457
- case "eo":
458
- return i.ordinalNumber(a, {
459
- unit: "day"
460
- });
461
- case "eee":
462
- return i.day(o, {
463
- width: "abbreviated",
464
- context: "formatting"
465
- });
466
- case "eeeee":
467
- return i.day(o, {
468
- width: "narrow",
469
- context: "formatting"
470
- });
471
- case "eeeeee":
472
- return i.day(o, {
473
- width: "short",
474
- context: "formatting"
475
- });
476
- case "eeee":
477
- default:
478
- return i.day(o, {
479
- width: "wide",
480
- context: "formatting"
481
- });
482
- }
483
- },
484
- // Stand-alone local day of week
485
- c: function(r, t, i, e) {
486
- var o = r.getUTCDay(), a = (o - e.weekStartsOn + 8) % 7 || 7;
487
- switch (t) {
488
- case "c":
489
- return String(a);
490
- case "cc":
491
- return Y(a, t.length);
492
- case "co":
493
- return i.ordinalNumber(a, {
494
- unit: "day"
495
- });
496
- case "ccc":
497
- return i.day(o, {
498
- width: "abbreviated",
499
- context: "standalone"
500
- });
501
- case "ccccc":
502
- return i.day(o, {
503
- width: "narrow",
504
- context: "standalone"
505
- });
506
- case "cccccc":
507
- return i.day(o, {
508
- width: "short",
509
- context: "standalone"
510
- });
511
- case "cccc":
512
- default:
513
- return i.day(o, {
514
- width: "wide",
515
- context: "standalone"
516
- });
517
- }
518
- },
519
- // ISO day of week
520
- i: function(r, t, i) {
521
- var e = r.getUTCDay(), o = e === 0 ? 7 : e;
522
- switch (t) {
523
- case "i":
524
- return String(o);
525
- case "ii":
526
- return Y(o, t.length);
527
- case "io":
528
- return i.ordinalNumber(o, {
529
- unit: "day"
530
- });
531
- case "iii":
532
- return i.day(e, {
533
- width: "abbreviated",
534
- context: "formatting"
535
- });
536
- case "iiiii":
537
- return i.day(e, {
538
- width: "narrow",
539
- context: "formatting"
540
- });
541
- case "iiiiii":
542
- return i.day(e, {
543
- width: "short",
544
- context: "formatting"
545
- });
546
- case "iiii":
547
- default:
548
- return i.day(e, {
549
- width: "wide",
550
- context: "formatting"
551
- });
552
- }
553
- },
554
- // AM or PM
555
- a: function(r, t, i) {
556
- var e = r.getUTCHours(), o = e / 12 >= 1 ? "pm" : "am";
557
- switch (t) {
558
- case "a":
559
- case "aa":
560
- return i.dayPeriod(o, {
561
- width: "abbreviated",
562
- context: "formatting"
563
- });
564
- case "aaa":
565
- return i.dayPeriod(o, {
566
- width: "abbreviated",
567
- context: "formatting"
568
- }).toLowerCase();
569
- case "aaaaa":
570
- return i.dayPeriod(o, {
571
- width: "narrow",
572
- context: "formatting"
573
- });
574
- case "aaaa":
575
- default:
576
- return i.dayPeriod(o, {
577
- width: "wide",
578
- context: "formatting"
579
- });
580
- }
581
- },
582
- // AM, PM, midnight, noon
583
- b: function(r, t, i) {
584
- var e = r.getUTCHours(), o;
585
- switch (e === 12 ? o = xe.noon : e === 0 ? o = xe.midnight : o = e / 12 >= 1 ? "pm" : "am", t) {
586
- case "b":
587
- case "bb":
588
- return i.dayPeriod(o, {
589
- width: "abbreviated",
590
- context: "formatting"
591
- });
592
- case "bbb":
593
- return i.dayPeriod(o, {
594
- width: "abbreviated",
595
- context: "formatting"
596
- }).toLowerCase();
597
- case "bbbbb":
598
- return i.dayPeriod(o, {
599
- width: "narrow",
600
- context: "formatting"
601
- });
602
- case "bbbb":
603
- default:
604
- return i.dayPeriod(o, {
605
- width: "wide",
606
- context: "formatting"
607
- });
608
- }
609
- },
610
- // in the morning, in the afternoon, in the evening, at night
611
- B: function(r, t, i) {
612
- var e = r.getUTCHours(), o;
613
- switch (e >= 17 ? o = xe.evening : e >= 12 ? o = xe.afternoon : e >= 4 ? o = xe.morning : o = xe.night, t) {
614
- case "B":
615
- case "BB":
616
- case "BBB":
617
- return i.dayPeriod(o, {
618
- width: "abbreviated",
619
- context: "formatting"
620
- });
621
- case "BBBBB":
622
- return i.dayPeriod(o, {
623
- width: "narrow",
624
- context: "formatting"
625
- });
626
- case "BBBB":
627
- default:
628
- return i.dayPeriod(o, {
629
- width: "wide",
630
- context: "formatting"
631
- });
632
- }
633
- },
634
- // Hour [1-12]
635
- h: function(r, t, i) {
636
- if (t === "ho") {
637
- var e = r.getUTCHours() % 12;
638
- return e === 0 && (e = 12), i.ordinalNumber(e, {
639
- unit: "hour"
640
- });
641
- }
642
- return Pe.h(r, t);
643
- },
644
- // Hour [0-23]
645
- H: function(r, t, i) {
646
- return t === "Ho" ? i.ordinalNumber(r.getUTCHours(), {
647
- unit: "hour"
648
- }) : Pe.H(r, t);
649
- },
650
- // Hour [0-11]
651
- K: function(r, t, i) {
652
- var e = r.getUTCHours() % 12;
653
- return t === "Ko" ? i.ordinalNumber(e, {
654
- unit: "hour"
655
- }) : Y(e, t.length);
656
- },
657
- // Hour [1-24]
658
- k: function(r, t, i) {
659
- var e = r.getUTCHours();
660
- return e === 0 && (e = 24), t === "ko" ? i.ordinalNumber(e, {
661
- unit: "hour"
662
- }) : Y(e, t.length);
663
- },
664
- // Minute
665
- m: function(r, t, i) {
666
- return t === "mo" ? i.ordinalNumber(r.getUTCMinutes(), {
667
- unit: "minute"
668
- }) : Pe.m(r, t);
669
- },
670
- // Second
671
- s: function(r, t, i) {
672
- return t === "so" ? i.ordinalNumber(r.getUTCSeconds(), {
673
- unit: "second"
674
- }) : Pe.s(r, t);
675
- },
676
- // Fraction of second
677
- S: function(r, t) {
678
- return Pe.S(r, t);
679
- },
680
- // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
681
- X: function(r, t, i, e) {
682
- var o = e._originalDate || r, a = o.getTimezoneOffset();
683
- if (a === 0)
684
- return "Z";
685
- switch (t) {
686
- case "X":
687
- return st(a);
688
- case "XXXX":
689
- case "XX":
690
- return Ee(a);
691
- case "XXXXX":
692
- case "XXX":
693
- default:
694
- return Ee(a, ":");
695
- }
696
- },
697
- // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
698
- x: function(r, t, i, e) {
699
- var o = e._originalDate || r, a = o.getTimezoneOffset();
700
- switch (t) {
701
- case "x":
702
- return st(a);
703
- case "xxxx":
704
- case "xx":
705
- return Ee(a);
706
- case "xxxxx":
707
- case "xxx":
708
- default:
709
- return Ee(a, ":");
710
- }
711
- },
712
- // Timezone (GMT)
713
- O: function(r, t, i, e) {
714
- var o = e._originalDate || r, a = o.getTimezoneOffset();
715
- switch (t) {
716
- case "O":
717
- case "OO":
718
- case "OOO":
719
- return "GMT" + ot(a, ":");
720
- case "OOOO":
721
- default:
722
- return "GMT" + Ee(a, ":");
723
- }
724
- },
725
- // Timezone (specific non-location)
726
- z: function(r, t, i, e) {
727
- var o = e._originalDate || r, a = o.getTimezoneOffset();
728
- switch (t) {
729
- case "z":
730
- case "zz":
731
- case "zzz":
732
- return "GMT" + ot(a, ":");
733
- case "zzzz":
734
- default:
735
- return "GMT" + Ee(a, ":");
736
- }
737
- },
738
- // Seconds timestamp
739
- t: function(r, t, i, e) {
740
- var o = e._originalDate || r, a = Math.floor(o.getTime() / 1e3);
741
- return Y(a, t.length);
742
- },
743
- // Milliseconds timestamp
744
- T: function(r, t, i, e) {
745
- var o = e._originalDate || r, a = o.getTime();
746
- return Y(a, t.length);
747
- }
748
- };
749
- function ot(n, r) {
750
- var t = n > 0 ? "-" : "+", i = Math.abs(n), e = Math.floor(i / 60), o = i % 60;
751
- if (o === 0)
752
- return t + String(e);
753
- var a = r;
754
- return t + String(e) + a + Y(o, 2);
755
- }
756
- function st(n, r) {
757
- if (n % 60 === 0) {
758
- var t = n > 0 ? "-" : "+";
759
- return t + Y(Math.abs(n) / 60, 2);
760
- }
761
- return Ee(n, r);
762
- }
763
- function Ee(n, r) {
764
- var t = r || "", i = n > 0 ? "-" : "+", e = Math.abs(n), o = Y(Math.floor(e / 60), 2), a = Y(e % 60, 2);
765
- return i + o + t + a;
766
- }
767
- var ut = function(r, t) {
768
- switch (r) {
769
- case "P":
770
- return t.date({
771
- width: "short"
772
- });
773
- case "PP":
774
- return t.date({
775
- width: "medium"
776
- });
777
- case "PPP":
778
- return t.date({
779
- width: "long"
780
- });
781
- case "PPPP":
782
- default:
783
- return t.date({
784
- width: "full"
785
- });
786
- }
787
- }, Nt = function(r, t) {
788
- switch (r) {
789
- case "p":
790
- return t.time({
791
- width: "short"
792
- });
793
- case "pp":
794
- return t.time({
795
- width: "medium"
796
- });
797
- case "ppp":
798
- return t.time({
799
- width: "long"
800
- });
801
- case "pppp":
802
- default:
803
- return t.time({
804
- width: "full"
805
- });
806
- }
807
- }, Or = function(r, t) {
808
- var i = r.match(/(P+)(p+)?/) || [], e = i[1], o = i[2];
809
- if (!o)
810
- return ut(r, t);
811
- var a;
812
- switch (e) {
813
- case "P":
814
- a = t.dateTime({
815
- width: "short"
816
- });
817
- break;
818
- case "PP":
819
- a = t.dateTime({
820
- width: "medium"
821
- });
822
- break;
823
- case "PPP":
824
- a = t.dateTime({
825
- width: "long"
826
- });
827
- break;
828
- case "PPPP":
829
- default:
830
- a = t.dateTime({
831
- width: "full"
832
- });
833
- break;
834
- }
835
- return a.replace("{{date}}", ut(e, t)).replace("{{time}}", Nt(o, t));
836
- }, Ve = {
837
- p: Nt,
838
- P: Or
839
- }, Ar = ["D", "DD"], xr = ["YY", "YYYY"];
840
- function Wt(n) {
841
- return Ar.indexOf(n) !== -1;
842
- }
843
- function Yt(n) {
844
- return xr.indexOf(n) !== -1;
845
- }
846
- function Fe(n, r, t) {
847
- if (n === "YYYY")
848
- throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(r, "`) for formatting years to the input `").concat(t, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
849
- if (n === "YY")
850
- throw new RangeError("Use `yy` instead of `YY` (in `".concat(r, "`) for formatting years to the input `").concat(t, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
851
- if (n === "D")
852
- throw new RangeError("Use `d` instead of `D` (in `".concat(r, "`) for formatting days of the month to the input `").concat(t, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
853
- if (n === "DD")
854
- throw new RangeError("Use `dd` instead of `DD` (in `".concat(r, "`) for formatting days of the month to the input `").concat(t, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
855
- }
856
- var Ur = {
857
- lessThanXSeconds: {
858
- one: "less than a second",
859
- other: "less than {{count}} seconds"
860
- },
861
- xSeconds: {
862
- one: "1 second",
863
- other: "{{count}} seconds"
864
- },
865
- halfAMinute: "half a minute",
866
- lessThanXMinutes: {
867
- one: "less than a minute",
868
- other: "less than {{count}} minutes"
869
- },
870
- xMinutes: {
871
- one: "1 minute",
872
- other: "{{count}} minutes"
873
- },
874
- aboutXHours: {
875
- one: "about 1 hour",
876
- other: "about {{count}} hours"
877
- },
878
- xHours: {
879
- one: "1 hour",
880
- other: "{{count}} hours"
881
- },
882
- xDays: {
883
- one: "1 day",
884
- other: "{{count}} days"
885
- },
886
- aboutXWeeks: {
887
- one: "about 1 week",
888
- other: "about {{count}} weeks"
889
- },
890
- xWeeks: {
891
- one: "1 week",
892
- other: "{{count}} weeks"
893
- },
894
- aboutXMonths: {
895
- one: "about 1 month",
896
- other: "about {{count}} months"
897
- },
898
- xMonths: {
899
- one: "1 month",
900
- other: "{{count}} months"
901
- },
902
- aboutXYears: {
903
- one: "about 1 year",
904
- other: "about {{count}} years"
905
- },
906
- xYears: {
907
- one: "1 year",
908
- other: "{{count}} years"
909
- },
910
- overXYears: {
911
- one: "over 1 year",
912
- other: "over {{count}} years"
913
- },
914
- almostXYears: {
915
- one: "almost 1 year",
916
- other: "almost {{count}} years"
917
- }
918
- }, Nr = function(r, t, i) {
919
- var e, o = Ur[r];
920
- return typeof o == "string" ? e = o : t === 1 ? e = o.one : e = o.other.replace("{{count}}", t.toString()), i != null && i.addSuffix ? i.comparison && i.comparison > 0 ? "in " + e : e + " ago" : e;
921
- };
922
- function ze(n) {
923
- return function() {
924
- var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = r.width ? String(r.width) : n.defaultWidth, i = n.formats[t] || n.formats[n.defaultWidth];
925
- return i;
926
- };
927
- }
928
- var Wr = {
929
- full: "EEEE, MMMM do, y",
930
- long: "MMMM do, y",
931
- medium: "MMM d, y",
932
- short: "MM/dd/yyyy"
933
- }, Yr = {
934
- full: "h:mm:ss a zzzz",
935
- long: "h:mm:ss a z",
936
- medium: "h:mm:ss a",
937
- short: "h:mm a"
938
- }, Ir = {
939
- full: "{{date}} 'at' {{time}}",
940
- long: "{{date}} 'at' {{time}}",
941
- medium: "{{date}}, {{time}}",
942
- short: "{{date}}, {{time}}"
943
- }, qr = {
944
- date: ze({
945
- formats: Wr,
946
- defaultWidth: "full"
947
- }),
948
- time: ze({
949
- formats: Yr,
950
- defaultWidth: "full"
951
- }),
952
- dateTime: ze({
953
- formats: Ir,
954
- defaultWidth: "full"
955
- })
956
- }, Br = {
957
- lastWeek: "'last' eeee 'at' p",
958
- yesterday: "'yesterday at' p",
959
- today: "'today at' p",
960
- tomorrow: "'tomorrow at' p",
961
- nextWeek: "eeee 'at' p",
962
- other: "P"
963
- }, Hr = function(r, t, i, e) {
964
- return Br[r];
965
- };
966
- function Ie(n) {
967
- return function(r, t) {
968
- var i = t != null && t.context ? String(t.context) : "standalone", e;
969
- if (i === "formatting" && n.formattingValues) {
970
- var o = n.defaultFormattingWidth || n.defaultWidth, a = t != null && t.width ? String(t.width) : o;
971
- e = n.formattingValues[a] || n.formattingValues[o];
972
- } else {
973
- var s = n.defaultWidth, u = t != null && t.width ? String(t.width) : n.defaultWidth;
974
- e = n.values[u] || n.values[s];
975
- }
976
- var l = n.argumentCallback ? n.argumentCallback(r) : r;
977
- return e[l];
978
- };
979
- }
980
- var Fr = {
981
- narrow: ["B", "A"],
982
- abbreviated: ["BC", "AD"],
983
- wide: ["Before Christ", "Anno Domini"]
984
- }, jr = {
985
- narrow: ["1", "2", "3", "4"],
986
- abbreviated: ["Q1", "Q2", "Q3", "Q4"],
987
- wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
988
- }, Sr = {
989
- narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
990
- abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
991
- wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
992
- }, Rr = {
993
- narrow: ["S", "M", "T", "W", "T", "F", "S"],
994
- short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
995
- abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
996
- wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
997
- }, Qr = {
998
- narrow: {
999
- am: "a",
1000
- pm: "p",
1001
- midnight: "mi",
1002
- noon: "n",
1003
- morning: "morning",
1004
- afternoon: "afternoon",
1005
- evening: "evening",
1006
- night: "night"
1007
- },
1008
- abbreviated: {
1009
- am: "AM",
1010
- pm: "PM",
1011
- midnight: "midnight",
1012
- noon: "noon",
1013
- morning: "morning",
1014
- afternoon: "afternoon",
1015
- evening: "evening",
1016
- night: "night"
1017
- },
1018
- wide: {
1019
- am: "a.m.",
1020
- pm: "p.m.",
1021
- midnight: "midnight",
1022
- noon: "noon",
1023
- morning: "morning",
1024
- afternoon: "afternoon",
1025
- evening: "evening",
1026
- night: "night"
1027
- }
1028
- }, Gr = {
1029
- narrow: {
1030
- am: "a",
1031
- pm: "p",
1032
- midnight: "mi",
1033
- noon: "n",
1034
- morning: "in the morning",
1035
- afternoon: "in the afternoon",
1036
- evening: "in the evening",
1037
- night: "at night"
1038
- },
1039
- abbreviated: {
1040
- am: "AM",
1041
- pm: "PM",
1042
- midnight: "midnight",
1043
- noon: "noon",
1044
- morning: "in the morning",
1045
- afternoon: "in the afternoon",
1046
- evening: "in the evening",
1047
- night: "at night"
1048
- },
1049
- wide: {
1050
- am: "a.m.",
1051
- pm: "p.m.",
1052
- midnight: "midnight",
1053
- noon: "noon",
1054
- morning: "in the morning",
1055
- afternoon: "in the afternoon",
1056
- evening: "in the evening",
1057
- night: "at night"
1058
- }
1059
- }, zr = function(r, t) {
1060
- var i = Number(r), e = i % 100;
1061
- if (e > 20 || e < 10)
1062
- switch (e % 10) {
1063
- case 1:
1064
- return i + "st";
1065
- case 2:
1066
- return i + "nd";
1067
- case 3:
1068
- return i + "rd";
1069
- }
1070
- return i + "th";
1071
- }, Vr = {
1072
- ordinalNumber: zr,
1073
- era: Ie({
1074
- values: Fr,
1075
- defaultWidth: "wide"
1076
- }),
1077
- quarter: Ie({
1078
- values: jr,
1079
- defaultWidth: "wide",
1080
- argumentCallback: function(r) {
1081
- return r - 1;
1082
- }
1083
- }),
1084
- month: Ie({
1085
- values: Sr,
1086
- defaultWidth: "wide"
1087
- }),
1088
- day: Ie({
1089
- values: Rr,
1090
- defaultWidth: "wide"
1091
- }),
1092
- dayPeriod: Ie({
1093
- values: Qr,
1094
- defaultWidth: "wide",
1095
- formattingValues: Gr,
1096
- defaultFormattingWidth: "wide"
1097
- })
1098
- };
1099
- function qe(n) {
1100
- return function(r) {
1101
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = t.width, e = i && n.matchPatterns[i] || n.matchPatterns[n.defaultMatchWidth], o = r.match(e);
1102
- if (!o)
1103
- return null;
1104
- var a = o[0], s = i && n.parsePatterns[i] || n.parsePatterns[n.defaultParseWidth], u = Array.isArray(s) ? Jr(s, function(y) {
1105
- return y.test(a);
1106
- }) : Xr(s, function(y) {
1107
- return y.test(a);
1108
- }), l;
1109
- l = n.valueCallback ? n.valueCallback(u) : u, l = t.valueCallback ? t.valueCallback(l) : l;
1110
- var m = r.slice(a.length);
1111
- return {
1112
- value: l,
1113
- rest: m
1114
- };
1115
- };
1116
- }
1117
- function Xr(n, r) {
1118
- for (var t in n)
1119
- if (n.hasOwnProperty(t) && r(n[t]))
1120
- return t;
1121
- }
1122
- function Jr(n, r) {
1123
- for (var t = 0; t < n.length; t++)
1124
- if (r(n[t]))
1125
- return t;
1126
- }
1127
- function Kr(n) {
1128
- return function(r) {
1129
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = r.match(n.matchPattern);
1130
- if (!i)
1131
- return null;
1132
- var e = i[0], o = r.match(n.parsePattern);
1133
- if (!o)
1134
- return null;
1135
- var a = n.valueCallback ? n.valueCallback(o[0]) : o[0];
1136
- a = t.valueCallback ? t.valueCallback(a) : a;
1137
- var s = r.slice(e.length);
1138
- return {
1139
- value: a,
1140
- rest: s
1141
- };
1142
- };
1143
- }
1144
- var Zr = /^(\d+)(th|st|nd|rd)?/i, $r = /\d+/i, ei = {
1145
- narrow: /^(b|a)/i,
1146
- abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
1147
- wide: /^(before christ|before common era|anno domini|common era)/i
1148
- }, ti = {
1149
- any: [/^b/i, /^(a|c)/i]
1150
- }, ri = {
1151
- narrow: /^[1234]/i,
1152
- abbreviated: /^q[1234]/i,
1153
- wide: /^[1234](th|st|nd|rd)? quarter/i
1154
- }, ii = {
1155
- any: [/1/i, /2/i, /3/i, /4/i]
1156
- }, ni = {
1157
- narrow: /^[jfmasond]/i,
1158
- abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
1159
- wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
1160
- }, ai = {
1161
- 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],
1162
- 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]
1163
- }, oi = {
1164
- narrow: /^[smtwf]/i,
1165
- short: /^(su|mo|tu|we|th|fr|sa)/i,
1166
- abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
1167
- wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
1168
- }, si = {
1169
- narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
1170
- any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
1171
- }, ui = {
1172
- narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
1173
- any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
1174
- }, li = {
1175
- any: {
1176
- am: /^a/i,
1177
- pm: /^p/i,
1178
- midnight: /^mi/i,
1179
- noon: /^no/i,
1180
- morning: /morning/i,
1181
- afternoon: /afternoon/i,
1182
- evening: /evening/i,
1183
- night: /night/i
1184
- }
1185
- }, ci = {
1186
- ordinalNumber: Kr({
1187
- matchPattern: Zr,
1188
- parsePattern: $r,
1189
- valueCallback: function(r) {
1190
- return parseInt(r, 10);
1191
- }
1192
- }),
1193
- era: qe({
1194
- matchPatterns: ei,
1195
- defaultMatchWidth: "wide",
1196
- parsePatterns: ti,
1197
- defaultParseWidth: "any"
1198
- }),
1199
- quarter: qe({
1200
- matchPatterns: ri,
1201
- defaultMatchWidth: "wide",
1202
- parsePatterns: ii,
1203
- defaultParseWidth: "any",
1204
- valueCallback: function(r) {
1205
- return r + 1;
1206
- }
1207
- }),
1208
- month: qe({
1209
- matchPatterns: ni,
1210
- defaultMatchWidth: "wide",
1211
- parsePatterns: ai,
1212
- defaultParseWidth: "any"
1213
- }),
1214
- day: qe({
1215
- matchPatterns: oi,
1216
- defaultMatchWidth: "wide",
1217
- parsePatterns: si,
1218
- defaultParseWidth: "any"
1219
- }),
1220
- dayPeriod: qe({
1221
- matchPatterns: ui,
1222
- defaultMatchWidth: "any",
1223
- parsePatterns: li,
1224
- defaultParseWidth: "any"
1225
- })
1226
- }, It = {
1227
- code: "en-US",
1228
- formatDistance: Nr,
1229
- formatLong: qr,
1230
- formatRelative: Hr,
1231
- localize: Vr,
1232
- match: ci,
1233
- options: {
1234
- weekStartsOn: 0,
1235
- firstWeekContainsDate: 1
1236
- }
1237
- }, mi = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, di = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, fi = /^'([^]*?)'?$/, vi = /''/g, pi = /[a-zA-Z]/;
1238
- function je(n, r, t) {
1239
- var i, e, o, a, s, u, l, m, y, w, p, E, h, g;
1240
- S(2, arguments);
1241
- var k = String(r), L = We(), _ = (i = (e = void 0) !== null && e !== void 0 ? e : L.locale) !== null && i !== void 0 ? i : It, G = le((o = (a = (s = (u = void 0) !== null && u !== void 0 ? u : void 0) !== null && s !== void 0 ? s : L.firstWeekContainsDate) !== null && a !== void 0 ? a : (l = L.locale) === null || l === void 0 || (m = l.options) === null || m === void 0 ? void 0 : m.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
1242
- if (!(G >= 1 && G <= 7))
1243
- throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1244
- var z = le((y = (w = (p = (E = void 0) !== null && E !== void 0 ? E : void 0) !== null && p !== void 0 ? p : L.weekStartsOn) !== null && w !== void 0 ? w : (h = L.locale) === null || h === void 0 || (g = h.options) === null || g === void 0 ? void 0 : g.weekStartsOn) !== null && y !== void 0 ? y : 0);
1245
- if (!(z >= 0 && z <= 6))
1246
- throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1247
- if (!_.localize)
1248
- throw new RangeError("locale must contain localize property");
1249
- if (!_.formatLong)
1250
- throw new RangeError("locale must contain formatLong property");
1251
- var B = ne(n);
1252
- if (!Lr(B))
1253
- throw new RangeError("Invalid time value");
1254
- var ce = Et(B), N = Ot(B, ce), $ = {
1255
- firstWeekContainsDate: G,
1256
- weekStartsOn: z,
1257
- locale: _,
1258
- _originalDate: B
1259
- }, se = k.match(di).map(function(H) {
1260
- var X = H[0];
1261
- if (X === "p" || X === "P") {
1262
- var ue = Ve[X];
1263
- return ue(H, _.formatLong);
1264
- }
1265
- return H;
1266
- }).join("").match(mi).map(function(H) {
1267
- if (H === "''")
1268
- return "'";
1269
- var X = H[0];
1270
- if (X === "'")
1271
- return hi(H);
1272
- var ue = Er[X];
1273
- if (ue)
1274
- return Yt(H) && Fe(H, r, String(n)), Wt(H) && Fe(H, r, String(n)), ue(N, H, _.localize, $);
1275
- if (X.match(pi))
1276
- throw new RangeError("Format string contains an unescaped latin alphabet character `" + X + "`");
1277
- return H;
1278
- }).join("");
1279
- return se;
1280
- }
1281
- function hi(n) {
1282
- var r = n.match(fi);
1283
- return r ? r[1].replace(vi, "'") : n;
1284
- }
1285
- function gi(n, r) {
1286
- if (n == null)
1287
- throw new TypeError("assign requires that input parameter not be null or undefined");
1288
- for (var t in r)
1289
- Object.prototype.hasOwnProperty.call(r, t) && (n[t] = r[t]);
1290
- return n;
1291
- }
1292
- function En(n) {
1293
- return S(1, arguments), ne(n).getFullYear();
1294
- }
1295
- function lt(n, r) {
1296
- (r == null || r > n.length) && (r = n.length);
1297
- for (var t = 0, i = Array(r); t < r; t++)
1298
- i[t] = n[t];
1299
- return i;
1300
- }
1301
- function wi(n, r) {
1302
- if (n) {
1303
- if (typeof n == "string")
1304
- return lt(n, r);
1305
- var t = {}.toString.call(n).slice(8, -1);
1306
- return t === "Object" && n.constructor && (t = n.constructor.name), t === "Map" || t === "Set" ? Array.from(n) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? lt(n, r) : void 0;
1307
- }
1308
- }
1309
- function ct(n, r) {
1310
- var t = typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
1311
- if (!t) {
1312
- if (Array.isArray(n) || (t = wi(n)) || r) {
1313
- t && (n = t);
1314
- var i = 0, e = function() {
1315
- };
1316
- return {
1317
- s: e,
1318
- n: function() {
1319
- return i >= n.length ? {
1320
- done: !0
1321
- } : {
1322
- done: !1,
1323
- value: n[i++]
1324
- };
1325
- },
1326
- e: function(l) {
1327
- throw l;
1328
- },
1329
- f: e
1330
- };
1331
- }
1332
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1333
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1334
- }
1335
- var o, a = !0, s = !1;
1336
- return {
1337
- s: function() {
1338
- t = t.call(n);
1339
- },
1340
- n: function() {
1341
- var l = t.next();
1342
- return a = l.done, l;
1343
- },
1344
- e: function(l) {
1345
- s = !0, o = l;
1346
- },
1347
- f: function() {
1348
- try {
1349
- a || t.return == null || t.return();
1350
- } finally {
1351
- if (s)
1352
- throw o;
1353
- }
1354
- }
1355
- };
1356
- }
1357
- function v(n) {
1358
- if (n === void 0)
1359
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1360
- return n;
1361
- }
1362
- function Xe(n, r) {
1363
- return Xe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, i) {
1364
- return t.__proto__ = i, t;
1365
- }, Xe(n, r);
1366
- }
1367
- function O(n, r) {
1368
- if (typeof r != "function" && r !== null)
1369
- throw new TypeError("Super expression must either be null or a function");
1370
- n.prototype = Object.create(r && r.prototype, {
1371
- constructor: {
1372
- value: n,
1373
- writable: !0,
1374
- configurable: !0
1375
- }
1376
- }), Object.defineProperty(n, "prototype", {
1377
- writable: !1
1378
- }), r && Xe(n, r);
1379
- }
1380
- function Se(n) {
1381
- return Se = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
1382
- return r.__proto__ || Object.getPrototypeOf(r);
1383
- }, Se(n);
1384
- }
1385
- function qt() {
1386
- try {
1387
- var n = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1388
- }));
1389
- } catch {
1390
- }
1391
- return (qt = function() {
1392
- return !!n;
1393
- })();
1394
- }
1395
- function yi(n, r) {
1396
- if (r && (De(r) == "object" || typeof r == "function"))
1397
- return r;
1398
- if (r !== void 0)
1399
- throw new TypeError("Derived constructors may only return object or undefined");
1400
- return v(n);
1401
- }
1402
- function A(n) {
1403
- var r = qt();
1404
- return function() {
1405
- var t, i = Se(n);
1406
- if (r) {
1407
- var e = Se(this).constructor;
1408
- t = Reflect.construct(i, arguments, e);
1409
- } else
1410
- t = i.apply(this, arguments);
1411
- return yi(this, t);
1412
- };
1413
- }
1414
- function D(n, r) {
1415
- if (!(n instanceof r))
1416
- throw new TypeError("Cannot call a class as a function");
1417
- }
1418
- function bi(n, r) {
1419
- if (De(n) != "object" || !n)
1420
- return n;
1421
- var t = n[Symbol.toPrimitive];
1422
- if (t !== void 0) {
1423
- var i = t.call(n, r);
1424
- if (De(i) != "object")
1425
- return i;
1426
- throw new TypeError("@@toPrimitive must return a primitive value.");
1427
- }
1428
- return (r === "string" ? String : Number)(n);
1429
- }
1430
- function Bt(n) {
1431
- var r = bi(n, "string");
1432
- return De(r) == "symbol" ? r : r + "";
1433
- }
1434
- function Ti(n, r) {
1435
- for (var t = 0; t < r.length; t++) {
1436
- var i = r[t];
1437
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(n, Bt(i.key), i);
1438
- }
1439
- }
1440
- function P(n, r, t) {
1441
- return r && Ti(n.prototype, r), Object.defineProperty(n, "prototype", {
1442
- writable: !1
1443
- }), n;
1444
- }
1445
- function d(n, r, t) {
1446
- return (r = Bt(r)) in n ? Object.defineProperty(n, r, {
1447
- value: t,
1448
- enumerable: !0,
1449
- configurable: !0,
1450
- writable: !0
1451
- }) : n[r] = t, n;
1452
- }
1453
- var Li = 10, Ht = /* @__PURE__ */ function() {
1454
- function n() {
1455
- D(this, n), d(this, "priority", void 0), d(this, "subPriority", 0);
1456
- }
1457
- return P(n, [{
1458
- key: "validate",
1459
- value: function(t, i) {
1460
- return !0;
1461
- }
1462
- }]), n;
1463
- }(), ki = /* @__PURE__ */ function(n) {
1464
- O(t, n);
1465
- var r = A(t);
1466
- function t(i, e, o, a, s) {
1467
- var u;
1468
- return D(this, t), u = r.call(this), u.value = i, u.validateValue = e, u.setValue = o, u.priority = a, s && (u.subPriority = s), u;
1469
- }
1470
- return P(t, [{
1471
- key: "validate",
1472
- value: function(e, o) {
1473
- return this.validateValue(e, this.value, o);
1474
- }
1475
- }, {
1476
- key: "set",
1477
- value: function(e, o, a) {
1478
- return this.setValue(e, o, this.value, a);
1479
- }
1480
- }]), t;
1481
- }(Ht), Ci = /* @__PURE__ */ function(n) {
1482
- O(t, n);
1483
- var r = A(t);
1484
- function t() {
1485
- var i;
1486
- D(this, t);
1487
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
1488
- o[a] = arguments[a];
1489
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", Li), d(v(i), "subPriority", -1), i;
1490
- }
1491
- return P(t, [{
1492
- key: "set",
1493
- value: function(e, o) {
1494
- if (o.timestampIsSet)
1495
- return e;
1496
- var a = /* @__PURE__ */ new Date(0);
1497
- return a.setFullYear(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate()), a.setHours(e.getUTCHours(), e.getUTCMinutes(), e.getUTCSeconds(), e.getUTCMilliseconds()), a;
1498
- }
1499
- }]), t;
1500
- }(Ht), U = /* @__PURE__ */ function() {
1501
- function n() {
1502
- D(this, n), d(this, "incompatibleTokens", void 0), d(this, "priority", void 0), d(this, "subPriority", void 0);
1503
- }
1504
- return P(n, [{
1505
- key: "run",
1506
- value: function(t, i, e, o) {
1507
- var a = this.parse(t, i, e, o);
1508
- return a ? {
1509
- setter: new ki(a.value, this.validate, this.set, this.priority, this.subPriority),
1510
- rest: a.rest
1511
- } : null;
1512
- }
1513
- }, {
1514
- key: "validate",
1515
- value: function(t, i, e) {
1516
- return !0;
1517
- }
1518
- }]), n;
1519
- }(), _i = /* @__PURE__ */ function(n) {
1520
- O(t, n);
1521
- var r = A(t);
1522
- function t() {
1523
- var i;
1524
- D(this, t);
1525
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
1526
- o[a] = arguments[a];
1527
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 140), d(v(i), "incompatibleTokens", ["R", "u", "t", "T"]), i;
1528
- }
1529
- return P(t, [{
1530
- key: "parse",
1531
- value: function(e, o, a) {
1532
- switch (o) {
1533
- case "G":
1534
- case "GG":
1535
- case "GGG":
1536
- return a.era(e, {
1537
- width: "abbreviated"
1538
- }) || a.era(e, {
1539
- width: "narrow"
1540
- });
1541
- case "GGGGG":
1542
- return a.era(e, {
1543
- width: "narrow"
1544
- });
1545
- case "GGGG":
1546
- default:
1547
- return a.era(e, {
1548
- width: "wide"
1549
- }) || a.era(e, {
1550
- width: "abbreviated"
1551
- }) || a.era(e, {
1552
- width: "narrow"
1553
- });
1554
- }
1555
- }
1556
- }, {
1557
- key: "set",
1558
- value: function(e, o, a) {
1559
- return o.era = a, e.setUTCFullYear(a, 0, 1), e.setUTCHours(0, 0, 0, 0), e;
1560
- }
1561
- }]), t;
1562
- }(U), te = {
1563
- month: /^(1[0-2]|0?\d)/,
1564
- // 0 to 12
1565
- date: /^(3[0-1]|[0-2]?\d)/,
1566
- // 0 to 31
1567
- dayOfYear: /^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,
1568
- // 0 to 366
1569
- week: /^(5[0-3]|[0-4]?\d)/,
1570
- // 0 to 53
1571
- hour23h: /^(2[0-3]|[0-1]?\d)/,
1572
- // 0 to 23
1573
- hour24h: /^(2[0-4]|[0-1]?\d)/,
1574
- // 0 to 24
1575
- hour11h: /^(1[0-1]|0?\d)/,
1576
- // 0 to 11
1577
- hour12h: /^(1[0-2]|0?\d)/,
1578
- // 0 to 12
1579
- minute: /^[0-5]?\d/,
1580
- // 0 to 59
1581
- second: /^[0-5]?\d/,
1582
- // 0 to 59
1583
- singleDigit: /^\d/,
1584
- // 0 to 9
1585
- twoDigits: /^\d{1,2}/,
1586
- // 0 to 99
1587
- threeDigits: /^\d{1,3}/,
1588
- // 0 to 999
1589
- fourDigits: /^\d{1,4}/,
1590
- // 0 to 9999
1591
- anyDigitsSigned: /^-?\d+/,
1592
- singleDigitSigned: /^-?\d/,
1593
- // 0 to 9, -0 to -9
1594
- twoDigitsSigned: /^-?\d{1,2}/,
1595
- // 0 to 99, -0 to -99
1596
- threeDigitsSigned: /^-?\d{1,3}/,
1597
- // 0 to 999, -0 to -999
1598
- fourDigitsSigned: /^-?\d{1,4}/
1599
- // 0 to 9999, -0 to -9999
1600
- }, Te = {
1601
- basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
1602
- basic: /^([+-])(\d{2})(\d{2})|Z/,
1603
- basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
1604
- extended: /^([+-])(\d{2}):(\d{2})|Z/,
1605
- extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
1606
- };
1607
- function re(n, r) {
1608
- return n && {
1609
- value: r(n.value),
1610
- rest: n.rest
1611
- };
1612
- }
1613
- function V(n, r) {
1614
- var t = r.match(n);
1615
- return t ? {
1616
- value: parseInt(t[0], 10),
1617
- rest: r.slice(t[0].length)
1618
- } : null;
1619
- }
1620
- function Le(n, r) {
1621
- var t = r.match(n);
1622
- if (!t)
1623
- return null;
1624
- if (t[0] === "Z")
1625
- return {
1626
- value: 0,
1627
- rest: r.slice(1)
1628
- };
1629
- var i = t[1] === "+" ? 1 : -1, e = t[2] ? parseInt(t[2], 10) : 0, o = t[3] ? parseInt(t[3], 10) : 0, a = t[5] ? parseInt(t[5], 10) : 0;
1630
- return {
1631
- value: i * (e * yr + o * wr + a * br),
1632
- rest: r.slice(t[0].length)
1633
- };
1634
- }
1635
- function Ft(n) {
1636
- return V(te.anyDigitsSigned, n);
1637
- }
1638
- function Z(n, r) {
1639
- switch (n) {
1640
- case 1:
1641
- return V(te.singleDigit, r);
1642
- case 2:
1643
- return V(te.twoDigits, r);
1644
- case 3:
1645
- return V(te.threeDigits, r);
1646
- case 4:
1647
- return V(te.fourDigits, r);
1648
- default:
1649
- return V(new RegExp("^\\d{1," + n + "}"), r);
1650
- }
1651
- }
1652
- function Re(n, r) {
1653
- switch (n) {
1654
- case 1:
1655
- return V(te.singleDigitSigned, r);
1656
- case 2:
1657
- return V(te.twoDigitsSigned, r);
1658
- case 3:
1659
- return V(te.threeDigitsSigned, r);
1660
- case 4:
1661
- return V(te.fourDigitsSigned, r);
1662
- default:
1663
- return V(new RegExp("^-?\\d{1," + n + "}"), r);
1664
- }
1665
- }
1666
- function et(n) {
1667
- switch (n) {
1668
- case "morning":
1669
- return 4;
1670
- case "evening":
1671
- return 17;
1672
- case "pm":
1673
- case "noon":
1674
- case "afternoon":
1675
- return 12;
1676
- case "am":
1677
- case "midnight":
1678
- case "night":
1679
- default:
1680
- return 0;
1681
- }
1682
- }
1683
- function jt(n, r) {
1684
- var t = r > 0, i = t ? r : 1 - r, e;
1685
- if (i <= 50)
1686
- e = n || 100;
1687
- else {
1688
- var o = i + 50, a = Math.floor(o / 100) * 100, s = n >= o % 100;
1689
- e = n + a - (s ? 100 : 0);
1690
- }
1691
- return t ? e : 1 - e;
1692
- }
1693
- function St(n) {
1694
- return n % 400 === 0 || n % 4 === 0 && n % 100 !== 0;
1695
- }
1696
- var Mi = /* @__PURE__ */ function(n) {
1697
- O(t, n);
1698
- var r = A(t);
1699
- function t() {
1700
- var i;
1701
- D(this, t);
1702
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
1703
- o[a] = arguments[a];
1704
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 130), d(v(i), "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]), i;
1705
- }
1706
- return P(t, [{
1707
- key: "parse",
1708
- value: function(e, o, a) {
1709
- var s = function(l) {
1710
- return {
1711
- year: l,
1712
- isTwoDigitYear: o === "yy"
1713
- };
1714
- };
1715
- switch (o) {
1716
- case "y":
1717
- return re(Z(4, e), s);
1718
- case "yo":
1719
- return re(a.ordinalNumber(e, {
1720
- unit: "year"
1721
- }), s);
1722
- default:
1723
- return re(Z(o.length, e), s);
1724
- }
1725
- }
1726
- }, {
1727
- key: "validate",
1728
- value: function(e, o) {
1729
- return o.isTwoDigitYear || o.year > 0;
1730
- }
1731
- }, {
1732
- key: "set",
1733
- value: function(e, o, a) {
1734
- var s = e.getUTCFullYear();
1735
- if (a.isTwoDigitYear) {
1736
- var u = jt(a.year, s);
1737
- return e.setUTCFullYear(u, 0, 1), e.setUTCHours(0, 0, 0, 0), e;
1738
- }
1739
- var l = !("era" in o) || o.era === 1 ? a.year : 1 - a.year;
1740
- return e.setUTCFullYear(l, 0, 1), e.setUTCHours(0, 0, 0, 0), e;
1741
- }
1742
- }]), t;
1743
- }(U), Di = /* @__PURE__ */ function(n) {
1744
- O(t, n);
1745
- var r = A(t);
1746
- function t() {
1747
- var i;
1748
- D(this, t);
1749
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
1750
- o[a] = arguments[a];
1751
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 130), d(v(i), "incompatibleTokens", ["y", "R", "u", "Q", "q", "M", "L", "I", "d", "D", "i", "t", "T"]), i;
1752
- }
1753
- return P(t, [{
1754
- key: "parse",
1755
- value: function(e, o, a) {
1756
- var s = function(l) {
1757
- return {
1758
- year: l,
1759
- isTwoDigitYear: o === "YY"
1760
- };
1761
- };
1762
- switch (o) {
1763
- case "Y":
1764
- return re(Z(4, e), s);
1765
- case "Yo":
1766
- return re(a.ordinalNumber(e, {
1767
- unit: "year"
1768
- }), s);
1769
- default:
1770
- return re(Z(o.length, e), s);
1771
- }
1772
- }
1773
- }, {
1774
- key: "validate",
1775
- value: function(e, o) {
1776
- return o.isTwoDigitYear || o.year > 0;
1777
- }
1778
- }, {
1779
- key: "set",
1780
- value: function(e, o, a, s) {
1781
- var u = $e(e, s);
1782
- if (a.isTwoDigitYear) {
1783
- var l = jt(a.year, u);
1784
- return e.setUTCFullYear(l, 0, s.firstWeekContainsDate), e.setUTCHours(0, 0, 0, 0), Ae(e, s);
1785
- }
1786
- var m = !("era" in o) || o.era === 1 ? a.year : 1 - a.year;
1787
- return e.setUTCFullYear(m, 0, s.firstWeekContainsDate), e.setUTCHours(0, 0, 0, 0), Ae(e, s);
1788
- }
1789
- }]), t;
1790
- }(U), Pi = /* @__PURE__ */ function(n) {
1791
- O(t, n);
1792
- var r = A(t);
1793
- function t() {
1794
- var i;
1795
- D(this, t);
1796
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
1797
- o[a] = arguments[a];
1798
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 130), d(v(i), "incompatibleTokens", ["G", "y", "Y", "u", "Q", "q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]), i;
1799
- }
1800
- return P(t, [{
1801
- key: "parse",
1802
- value: function(e, o) {
1803
- return Re(o === "R" ? 4 : o.length, e);
1804
- }
1805
- }, {
1806
- key: "set",
1807
- value: function(e, o, a) {
1808
- var s = /* @__PURE__ */ new Date(0);
1809
- return s.setUTCFullYear(a, 0, 4), s.setUTCHours(0, 0, 0, 0), Ne(s);
1810
- }
1811
- }]), t;
1812
- }(U), Ei = /* @__PURE__ */ function(n) {
1813
- O(t, n);
1814
- var r = A(t);
1815
- function t() {
1816
- var i;
1817
- D(this, t);
1818
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
1819
- o[a] = arguments[a];
1820
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 130), d(v(i), "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]), i;
1821
- }
1822
- return P(t, [{
1823
- key: "parse",
1824
- value: function(e, o) {
1825
- return Re(o === "u" ? 4 : o.length, e);
1826
- }
1827
- }, {
1828
- key: "set",
1829
- value: function(e, o, a) {
1830
- return e.setUTCFullYear(a, 0, 1), e.setUTCHours(0, 0, 0, 0), e;
1831
- }
1832
- }]), t;
1833
- }(U), Oi = /* @__PURE__ */ function(n) {
1834
- O(t, n);
1835
- var r = A(t);
1836
- function t() {
1837
- var i;
1838
- D(this, t);
1839
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
1840
- o[a] = arguments[a];
1841
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 120), d(v(i), "incompatibleTokens", ["Y", "R", "q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]), i;
1842
- }
1843
- return P(t, [{
1844
- key: "parse",
1845
- value: function(e, o, a) {
1846
- switch (o) {
1847
- case "Q":
1848
- case "QQ":
1849
- return Z(o.length, e);
1850
- case "Qo":
1851
- return a.ordinalNumber(e, {
1852
- unit: "quarter"
1853
- });
1854
- case "QQQ":
1855
- return a.quarter(e, {
1856
- width: "abbreviated",
1857
- context: "formatting"
1858
- }) || a.quarter(e, {
1859
- width: "narrow",
1860
- context: "formatting"
1861
- });
1862
- case "QQQQQ":
1863
- return a.quarter(e, {
1864
- width: "narrow",
1865
- context: "formatting"
1866
- });
1867
- case "QQQQ":
1868
- default:
1869
- return a.quarter(e, {
1870
- width: "wide",
1871
- context: "formatting"
1872
- }) || a.quarter(e, {
1873
- width: "abbreviated",
1874
- context: "formatting"
1875
- }) || a.quarter(e, {
1876
- width: "narrow",
1877
- context: "formatting"
1878
- });
1879
- }
1880
- }
1881
- }, {
1882
- key: "validate",
1883
- value: function(e, o) {
1884
- return o >= 1 && o <= 4;
1885
- }
1886
- }, {
1887
- key: "set",
1888
- value: function(e, o, a) {
1889
- return e.setUTCMonth((a - 1) * 3, 1), e.setUTCHours(0, 0, 0, 0), e;
1890
- }
1891
- }]), t;
1892
- }(U), Ai = /* @__PURE__ */ function(n) {
1893
- O(t, n);
1894
- var r = A(t);
1895
- function t() {
1896
- var i;
1897
- D(this, t);
1898
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
1899
- o[a] = arguments[a];
1900
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 120), d(v(i), "incompatibleTokens", ["Y", "R", "Q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]), i;
1901
- }
1902
- return P(t, [{
1903
- key: "parse",
1904
- value: function(e, o, a) {
1905
- switch (o) {
1906
- case "q":
1907
- case "qq":
1908
- return Z(o.length, e);
1909
- case "qo":
1910
- return a.ordinalNumber(e, {
1911
- unit: "quarter"
1912
- });
1913
- case "qqq":
1914
- return a.quarter(e, {
1915
- width: "abbreviated",
1916
- context: "standalone"
1917
- }) || a.quarter(e, {
1918
- width: "narrow",
1919
- context: "standalone"
1920
- });
1921
- case "qqqqq":
1922
- return a.quarter(e, {
1923
- width: "narrow",
1924
- context: "standalone"
1925
- });
1926
- case "qqqq":
1927
- default:
1928
- return a.quarter(e, {
1929
- width: "wide",
1930
- context: "standalone"
1931
- }) || a.quarter(e, {
1932
- width: "abbreviated",
1933
- context: "standalone"
1934
- }) || a.quarter(e, {
1935
- width: "narrow",
1936
- context: "standalone"
1937
- });
1938
- }
1939
- }
1940
- }, {
1941
- key: "validate",
1942
- value: function(e, o) {
1943
- return o >= 1 && o <= 4;
1944
- }
1945
- }, {
1946
- key: "set",
1947
- value: function(e, o, a) {
1948
- return e.setUTCMonth((a - 1) * 3, 1), e.setUTCHours(0, 0, 0, 0), e;
1949
- }
1950
- }]), t;
1951
- }(U), xi = /* @__PURE__ */ function(n) {
1952
- O(t, n);
1953
- var r = A(t);
1954
- function t() {
1955
- var i;
1956
- D(this, t);
1957
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
1958
- o[a] = arguments[a];
1959
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "incompatibleTokens", ["Y", "R", "q", "Q", "L", "w", "I", "D", "i", "e", "c", "t", "T"]), d(v(i), "priority", 110), i;
1960
- }
1961
- return P(t, [{
1962
- key: "parse",
1963
- value: function(e, o, a) {
1964
- var s = function(l) {
1965
- return l - 1;
1966
- };
1967
- switch (o) {
1968
- case "M":
1969
- return re(V(te.month, e), s);
1970
- case "MM":
1971
- return re(Z(2, e), s);
1972
- case "Mo":
1973
- return re(a.ordinalNumber(e, {
1974
- unit: "month"
1975
- }), s);
1976
- case "MMM":
1977
- return a.month(e, {
1978
- width: "abbreviated",
1979
- context: "formatting"
1980
- }) || a.month(e, {
1981
- width: "narrow",
1982
- context: "formatting"
1983
- });
1984
- case "MMMMM":
1985
- return a.month(e, {
1986
- width: "narrow",
1987
- context: "formatting"
1988
- });
1989
- case "MMMM":
1990
- default:
1991
- return a.month(e, {
1992
- width: "wide",
1993
- context: "formatting"
1994
- }) || a.month(e, {
1995
- width: "abbreviated",
1996
- context: "formatting"
1997
- }) || a.month(e, {
1998
- width: "narrow",
1999
- context: "formatting"
2000
- });
2001
- }
2002
- }
2003
- }, {
2004
- key: "validate",
2005
- value: function(e, o) {
2006
- return o >= 0 && o <= 11;
2007
- }
2008
- }, {
2009
- key: "set",
2010
- value: function(e, o, a) {
2011
- return e.setUTCMonth(a, 1), e.setUTCHours(0, 0, 0, 0), e;
2012
- }
2013
- }]), t;
2014
- }(U), Ui = /* @__PURE__ */ function(n) {
2015
- O(t, n);
2016
- var r = A(t);
2017
- function t() {
2018
- var i;
2019
- D(this, t);
2020
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2021
- o[a] = arguments[a];
2022
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 110), d(v(i), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "w", "I", "D", "i", "e", "c", "t", "T"]), i;
2023
- }
2024
- return P(t, [{
2025
- key: "parse",
2026
- value: function(e, o, a) {
2027
- var s = function(l) {
2028
- return l - 1;
2029
- };
2030
- switch (o) {
2031
- case "L":
2032
- return re(V(te.month, e), s);
2033
- case "LL":
2034
- return re(Z(2, e), s);
2035
- case "Lo":
2036
- return re(a.ordinalNumber(e, {
2037
- unit: "month"
2038
- }), s);
2039
- case "LLL":
2040
- return a.month(e, {
2041
- width: "abbreviated",
2042
- context: "standalone"
2043
- }) || a.month(e, {
2044
- width: "narrow",
2045
- context: "standalone"
2046
- });
2047
- case "LLLLL":
2048
- return a.month(e, {
2049
- width: "narrow",
2050
- context: "standalone"
2051
- });
2052
- case "LLLL":
2053
- default:
2054
- return a.month(e, {
2055
- width: "wide",
2056
- context: "standalone"
2057
- }) || a.month(e, {
2058
- width: "abbreviated",
2059
- context: "standalone"
2060
- }) || a.month(e, {
2061
- width: "narrow",
2062
- context: "standalone"
2063
- });
2064
- }
2065
- }
2066
- }, {
2067
- key: "validate",
2068
- value: function(e, o) {
2069
- return o >= 0 && o <= 11;
2070
- }
2071
- }, {
2072
- key: "set",
2073
- value: function(e, o, a) {
2074
- return e.setUTCMonth(a, 1), e.setUTCHours(0, 0, 0, 0), e;
2075
- }
2076
- }]), t;
2077
- }(U);
2078
- function Ni(n, r, t) {
2079
- S(2, arguments);
2080
- var i = ne(n), e = le(r), o = Ut(i, t) - e;
2081
- return i.setUTCDate(i.getUTCDate() - o * 7), i;
2082
- }
2083
- var Wi = /* @__PURE__ */ function(n) {
2084
- O(t, n);
2085
- var r = A(t);
2086
- function t() {
2087
- var i;
2088
- D(this, t);
2089
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2090
- o[a] = arguments[a];
2091
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 100), d(v(i), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "i", "t", "T"]), i;
2092
- }
2093
- return P(t, [{
2094
- key: "parse",
2095
- value: function(e, o, a) {
2096
- switch (o) {
2097
- case "w":
2098
- return V(te.week, e);
2099
- case "wo":
2100
- return a.ordinalNumber(e, {
2101
- unit: "week"
2102
- });
2103
- default:
2104
- return Z(o.length, e);
2105
- }
2106
- }
2107
- }, {
2108
- key: "validate",
2109
- value: function(e, o) {
2110
- return o >= 1 && o <= 53;
2111
- }
2112
- }, {
2113
- key: "set",
2114
- value: function(e, o, a, s) {
2115
- return Ae(Ni(e, a, s), s);
2116
- }
2117
- }]), t;
2118
- }(U);
2119
- function Yi(n, r) {
2120
- S(2, arguments);
2121
- var t = ne(n), i = le(r), e = xt(t) - i;
2122
- return t.setUTCDate(t.getUTCDate() - e * 7), t;
2123
- }
2124
- var Ii = /* @__PURE__ */ function(n) {
2125
- O(t, n);
2126
- var r = A(t);
2127
- function t() {
2128
- var i;
2129
- D(this, t);
2130
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2131
- o[a] = arguments[a];
2132
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 100), d(v(i), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]), i;
2133
- }
2134
- return P(t, [{
2135
- key: "parse",
2136
- value: function(e, o, a) {
2137
- switch (o) {
2138
- case "I":
2139
- return V(te.week, e);
2140
- case "Io":
2141
- return a.ordinalNumber(e, {
2142
- unit: "week"
2143
- });
2144
- default:
2145
- return Z(o.length, e);
2146
- }
2147
- }
2148
- }, {
2149
- key: "validate",
2150
- value: function(e, o) {
2151
- return o >= 1 && o <= 53;
2152
- }
2153
- }, {
2154
- key: "set",
2155
- value: function(e, o, a) {
2156
- return Ne(Yi(e, a));
2157
- }
2158
- }]), t;
2159
- }(U), qi = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Bi = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Hi = /* @__PURE__ */ function(n) {
2160
- O(t, n);
2161
- var r = A(t);
2162
- function t() {
2163
- var i;
2164
- D(this, t);
2165
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2166
- o[a] = arguments[a];
2167
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 90), d(v(i), "subPriority", 1), d(v(i), "incompatibleTokens", ["Y", "R", "q", "Q", "w", "I", "D", "i", "e", "c", "t", "T"]), i;
2168
- }
2169
- return P(t, [{
2170
- key: "parse",
2171
- value: function(e, o, a) {
2172
- switch (o) {
2173
- case "d":
2174
- return V(te.date, e);
2175
- case "do":
2176
- return a.ordinalNumber(e, {
2177
- unit: "date"
2178
- });
2179
- default:
2180
- return Z(o.length, e);
2181
- }
2182
- }
2183
- }, {
2184
- key: "validate",
2185
- value: function(e, o) {
2186
- var a = e.getUTCFullYear(), s = St(a), u = e.getUTCMonth();
2187
- return s ? o >= 1 && o <= Bi[u] : o >= 1 && o <= qi[u];
2188
- }
2189
- }, {
2190
- key: "set",
2191
- value: function(e, o, a) {
2192
- return e.setUTCDate(a), e.setUTCHours(0, 0, 0, 0), e;
2193
- }
2194
- }]), t;
2195
- }(U), Fi = /* @__PURE__ */ function(n) {
2196
- O(t, n);
2197
- var r = A(t);
2198
- function t() {
2199
- var i;
2200
- D(this, t);
2201
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2202
- o[a] = arguments[a];
2203
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 90), d(v(i), "subpriority", 1), d(v(i), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "L", "w", "I", "d", "E", "i", "e", "c", "t", "T"]), i;
2204
- }
2205
- return P(t, [{
2206
- key: "parse",
2207
- value: function(e, o, a) {
2208
- switch (o) {
2209
- case "D":
2210
- case "DD":
2211
- return V(te.dayOfYear, e);
2212
- case "Do":
2213
- return a.ordinalNumber(e, {
2214
- unit: "date"
2215
- });
2216
- default:
2217
- return Z(o.length, e);
2218
- }
2219
- }
2220
- }, {
2221
- key: "validate",
2222
- value: function(e, o) {
2223
- var a = e.getUTCFullYear(), s = St(a);
2224
- return s ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
2225
- }
2226
- }, {
2227
- key: "set",
2228
- value: function(e, o, a) {
2229
- return e.setUTCMonth(0, a), e.setUTCHours(0, 0, 0, 0), e;
2230
- }
2231
- }]), t;
2232
- }(U);
2233
- function tt(n, r, t) {
2234
- var i, e, o, a, s, u, l, m;
2235
- S(2, arguments);
2236
- var y = We(), w = le((i = (e = (o = (a = t?.weekStartsOn) !== null && a !== void 0 ? a : t == null || (s = t.locale) === null || s === void 0 || (u = s.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && o !== void 0 ? o : y.weekStartsOn) !== null && e !== void 0 ? e : (l = y.locale) === null || l === void 0 || (m = l.options) === null || m === void 0 ? void 0 : m.weekStartsOn) !== null && i !== void 0 ? i : 0);
2237
- if (!(w >= 0 && w <= 6))
2238
- throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2239
- var p = ne(n), E = le(r), h = p.getUTCDay(), g = E % 7, k = (g + 7) % 7, L = (k < w ? 7 : 0) + E - h;
2240
- return p.setUTCDate(p.getUTCDate() + L), p;
2241
- }
2242
- var ji = /* @__PURE__ */ function(n) {
2243
- O(t, n);
2244
- var r = A(t);
2245
- function t() {
2246
- var i;
2247
- D(this, t);
2248
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2249
- o[a] = arguments[a];
2250
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 90), d(v(i), "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]), i;
2251
- }
2252
- return P(t, [{
2253
- key: "parse",
2254
- value: function(e, o, a) {
2255
- switch (o) {
2256
- case "E":
2257
- case "EE":
2258
- case "EEE":
2259
- return a.day(e, {
2260
- width: "abbreviated",
2261
- context: "formatting"
2262
- }) || a.day(e, {
2263
- width: "short",
2264
- context: "formatting"
2265
- }) || a.day(e, {
2266
- width: "narrow",
2267
- context: "formatting"
2268
- });
2269
- case "EEEEE":
2270
- return a.day(e, {
2271
- width: "narrow",
2272
- context: "formatting"
2273
- });
2274
- case "EEEEEE":
2275
- return a.day(e, {
2276
- width: "short",
2277
- context: "formatting"
2278
- }) || a.day(e, {
2279
- width: "narrow",
2280
- context: "formatting"
2281
- });
2282
- case "EEEE":
2283
- default:
2284
- return a.day(e, {
2285
- width: "wide",
2286
- context: "formatting"
2287
- }) || a.day(e, {
2288
- width: "abbreviated",
2289
- context: "formatting"
2290
- }) || a.day(e, {
2291
- width: "short",
2292
- context: "formatting"
2293
- }) || a.day(e, {
2294
- width: "narrow",
2295
- context: "formatting"
2296
- });
2297
- }
2298
- }
2299
- }, {
2300
- key: "validate",
2301
- value: function(e, o) {
2302
- return o >= 0 && o <= 6;
2303
- }
2304
- }, {
2305
- key: "set",
2306
- value: function(e, o, a, s) {
2307
- return e = tt(e, a, s), e.setUTCHours(0, 0, 0, 0), e;
2308
- }
2309
- }]), t;
2310
- }(U), Si = /* @__PURE__ */ function(n) {
2311
- O(t, n);
2312
- var r = A(t);
2313
- function t() {
2314
- var i;
2315
- D(this, t);
2316
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2317
- o[a] = arguments[a];
2318
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 90), d(v(i), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "c", "t", "T"]), i;
2319
- }
2320
- return P(t, [{
2321
- key: "parse",
2322
- value: function(e, o, a, s) {
2323
- var u = function(m) {
2324
- var y = Math.floor((m - 1) / 7) * 7;
2325
- return (m + s.weekStartsOn + 6) % 7 + y;
2326
- };
2327
- switch (o) {
2328
- case "e":
2329
- case "ee":
2330
- return re(Z(o.length, e), u);
2331
- case "eo":
2332
- return re(a.ordinalNumber(e, {
2333
- unit: "day"
2334
- }), u);
2335
- case "eee":
2336
- return a.day(e, {
2337
- width: "abbreviated",
2338
- context: "formatting"
2339
- }) || a.day(e, {
2340
- width: "short",
2341
- context: "formatting"
2342
- }) || a.day(e, {
2343
- width: "narrow",
2344
- context: "formatting"
2345
- });
2346
- case "eeeee":
2347
- return a.day(e, {
2348
- width: "narrow",
2349
- context: "formatting"
2350
- });
2351
- case "eeeeee":
2352
- return a.day(e, {
2353
- width: "short",
2354
- context: "formatting"
2355
- }) || a.day(e, {
2356
- width: "narrow",
2357
- context: "formatting"
2358
- });
2359
- case "eeee":
2360
- default:
2361
- return a.day(e, {
2362
- width: "wide",
2363
- context: "formatting"
2364
- }) || a.day(e, {
2365
- width: "abbreviated",
2366
- context: "formatting"
2367
- }) || a.day(e, {
2368
- width: "short",
2369
- context: "formatting"
2370
- }) || a.day(e, {
2371
- width: "narrow",
2372
- context: "formatting"
2373
- });
2374
- }
2375
- }
2376
- }, {
2377
- key: "validate",
2378
- value: function(e, o) {
2379
- return o >= 0 && o <= 6;
2380
- }
2381
- }, {
2382
- key: "set",
2383
- value: function(e, o, a, s) {
2384
- return e = tt(e, a, s), e.setUTCHours(0, 0, 0, 0), e;
2385
- }
2386
- }]), t;
2387
- }(U), Ri = /* @__PURE__ */ function(n) {
2388
- O(t, n);
2389
- var r = A(t);
2390
- function t() {
2391
- var i;
2392
- D(this, t);
2393
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2394
- o[a] = arguments[a];
2395
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 90), d(v(i), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "e", "t", "T"]), i;
2396
- }
2397
- return P(t, [{
2398
- key: "parse",
2399
- value: function(e, o, a, s) {
2400
- var u = function(m) {
2401
- var y = Math.floor((m - 1) / 7) * 7;
2402
- return (m + s.weekStartsOn + 6) % 7 + y;
2403
- };
2404
- switch (o) {
2405
- case "c":
2406
- case "cc":
2407
- return re(Z(o.length, e), u);
2408
- case "co":
2409
- return re(a.ordinalNumber(e, {
2410
- unit: "day"
2411
- }), u);
2412
- case "ccc":
2413
- return a.day(e, {
2414
- width: "abbreviated",
2415
- context: "standalone"
2416
- }) || a.day(e, {
2417
- width: "short",
2418
- context: "standalone"
2419
- }) || a.day(e, {
2420
- width: "narrow",
2421
- context: "standalone"
2422
- });
2423
- case "ccccc":
2424
- return a.day(e, {
2425
- width: "narrow",
2426
- context: "standalone"
2427
- });
2428
- case "cccccc":
2429
- return a.day(e, {
2430
- width: "short",
2431
- context: "standalone"
2432
- }) || a.day(e, {
2433
- width: "narrow",
2434
- context: "standalone"
2435
- });
2436
- case "cccc":
2437
- default:
2438
- return a.day(e, {
2439
- width: "wide",
2440
- context: "standalone"
2441
- }) || a.day(e, {
2442
- width: "abbreviated",
2443
- context: "standalone"
2444
- }) || a.day(e, {
2445
- width: "short",
2446
- context: "standalone"
2447
- }) || a.day(e, {
2448
- width: "narrow",
2449
- context: "standalone"
2450
- });
2451
- }
2452
- }
2453
- }, {
2454
- key: "validate",
2455
- value: function(e, o) {
2456
- return o >= 0 && o <= 6;
2457
- }
2458
- }, {
2459
- key: "set",
2460
- value: function(e, o, a, s) {
2461
- return e = tt(e, a, s), e.setUTCHours(0, 0, 0, 0), e;
2462
- }
2463
- }]), t;
2464
- }(U);
2465
- function Qi(n, r) {
2466
- S(2, arguments);
2467
- var t = le(r);
2468
- t % 7 === 0 && (t = t - 7);
2469
- var i = 1, e = ne(n), o = e.getUTCDay(), a = t % 7, s = (a + 7) % 7, u = (s < i ? 7 : 0) + t - o;
2470
- return e.setUTCDate(e.getUTCDate() + u), e;
2471
- }
2472
- var Gi = /* @__PURE__ */ function(n) {
2473
- O(t, n);
2474
- var r = A(t);
2475
- function t() {
2476
- var i;
2477
- D(this, t);
2478
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2479
- o[a] = arguments[a];
2480
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 90), d(v(i), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "E", "e", "c", "t", "T"]), i;
2481
- }
2482
- return P(t, [{
2483
- key: "parse",
2484
- value: function(e, o, a) {
2485
- var s = function(l) {
2486
- return l === 0 ? 7 : l;
2487
- };
2488
- switch (o) {
2489
- case "i":
2490
- case "ii":
2491
- return Z(o.length, e);
2492
- case "io":
2493
- return a.ordinalNumber(e, {
2494
- unit: "day"
2495
- });
2496
- case "iii":
2497
- return re(a.day(e, {
2498
- width: "abbreviated",
2499
- context: "formatting"
2500
- }) || a.day(e, {
2501
- width: "short",
2502
- context: "formatting"
2503
- }) || a.day(e, {
2504
- width: "narrow",
2505
- context: "formatting"
2506
- }), s);
2507
- case "iiiii":
2508
- return re(a.day(e, {
2509
- width: "narrow",
2510
- context: "formatting"
2511
- }), s);
2512
- case "iiiiii":
2513
- return re(a.day(e, {
2514
- width: "short",
2515
- context: "formatting"
2516
- }) || a.day(e, {
2517
- width: "narrow",
2518
- context: "formatting"
2519
- }), s);
2520
- case "iiii":
2521
- default:
2522
- return re(a.day(e, {
2523
- width: "wide",
2524
- context: "formatting"
2525
- }) || a.day(e, {
2526
- width: "abbreviated",
2527
- context: "formatting"
2528
- }) || a.day(e, {
2529
- width: "short",
2530
- context: "formatting"
2531
- }) || a.day(e, {
2532
- width: "narrow",
2533
- context: "formatting"
2534
- }), s);
2535
- }
2536
- }
2537
- }, {
2538
- key: "validate",
2539
- value: function(e, o) {
2540
- return o >= 1 && o <= 7;
2541
- }
2542
- }, {
2543
- key: "set",
2544
- value: function(e, o, a) {
2545
- return e = Qi(e, a), e.setUTCHours(0, 0, 0, 0), e;
2546
- }
2547
- }]), t;
2548
- }(U), zi = /* @__PURE__ */ function(n) {
2549
- O(t, n);
2550
- var r = A(t);
2551
- function t() {
2552
- var i;
2553
- D(this, t);
2554
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2555
- o[a] = arguments[a];
2556
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 80), d(v(i), "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]), i;
2557
- }
2558
- return P(t, [{
2559
- key: "parse",
2560
- value: function(e, o, a) {
2561
- switch (o) {
2562
- case "a":
2563
- case "aa":
2564
- case "aaa":
2565
- return a.dayPeriod(e, {
2566
- width: "abbreviated",
2567
- context: "formatting"
2568
- }) || a.dayPeriod(e, {
2569
- width: "narrow",
2570
- context: "formatting"
2571
- });
2572
- case "aaaaa":
2573
- return a.dayPeriod(e, {
2574
- width: "narrow",
2575
- context: "formatting"
2576
- });
2577
- case "aaaa":
2578
- default:
2579
- return a.dayPeriod(e, {
2580
- width: "wide",
2581
- context: "formatting"
2582
- }) || a.dayPeriod(e, {
2583
- width: "abbreviated",
2584
- context: "formatting"
2585
- }) || a.dayPeriod(e, {
2586
- width: "narrow",
2587
- context: "formatting"
2588
- });
2589
- }
2590
- }
2591
- }, {
2592
- key: "set",
2593
- value: function(e, o, a) {
2594
- return e.setUTCHours(et(a), 0, 0, 0), e;
2595
- }
2596
- }]), t;
2597
- }(U), Vi = /* @__PURE__ */ function(n) {
2598
- O(t, n);
2599
- var r = A(t);
2600
- function t() {
2601
- var i;
2602
- D(this, t);
2603
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2604
- o[a] = arguments[a];
2605
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 80), d(v(i), "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]), i;
2606
- }
2607
- return P(t, [{
2608
- key: "parse",
2609
- value: function(e, o, a) {
2610
- switch (o) {
2611
- case "b":
2612
- case "bb":
2613
- case "bbb":
2614
- return a.dayPeriod(e, {
2615
- width: "abbreviated",
2616
- context: "formatting"
2617
- }) || a.dayPeriod(e, {
2618
- width: "narrow",
2619
- context: "formatting"
2620
- });
2621
- case "bbbbb":
2622
- return a.dayPeriod(e, {
2623
- width: "narrow",
2624
- context: "formatting"
2625
- });
2626
- case "bbbb":
2627
- default:
2628
- return a.dayPeriod(e, {
2629
- width: "wide",
2630
- context: "formatting"
2631
- }) || a.dayPeriod(e, {
2632
- width: "abbreviated",
2633
- context: "formatting"
2634
- }) || a.dayPeriod(e, {
2635
- width: "narrow",
2636
- context: "formatting"
2637
- });
2638
- }
2639
- }
2640
- }, {
2641
- key: "set",
2642
- value: function(e, o, a) {
2643
- return e.setUTCHours(et(a), 0, 0, 0), e;
2644
- }
2645
- }]), t;
2646
- }(U), Xi = /* @__PURE__ */ function(n) {
2647
- O(t, n);
2648
- var r = A(t);
2649
- function t() {
2650
- var i;
2651
- D(this, t);
2652
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2653
- o[a] = arguments[a];
2654
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 80), d(v(i), "incompatibleTokens", ["a", "b", "t", "T"]), i;
2655
- }
2656
- return P(t, [{
2657
- key: "parse",
2658
- value: function(e, o, a) {
2659
- switch (o) {
2660
- case "B":
2661
- case "BB":
2662
- case "BBB":
2663
- return a.dayPeriod(e, {
2664
- width: "abbreviated",
2665
- context: "formatting"
2666
- }) || a.dayPeriod(e, {
2667
- width: "narrow",
2668
- context: "formatting"
2669
- });
2670
- case "BBBBB":
2671
- return a.dayPeriod(e, {
2672
- width: "narrow",
2673
- context: "formatting"
2674
- });
2675
- case "BBBB":
2676
- default:
2677
- return a.dayPeriod(e, {
2678
- width: "wide",
2679
- context: "formatting"
2680
- }) || a.dayPeriod(e, {
2681
- width: "abbreviated",
2682
- context: "formatting"
2683
- }) || a.dayPeriod(e, {
2684
- width: "narrow",
2685
- context: "formatting"
2686
- });
2687
- }
2688
- }
2689
- }, {
2690
- key: "set",
2691
- value: function(e, o, a) {
2692
- return e.setUTCHours(et(a), 0, 0, 0), e;
2693
- }
2694
- }]), t;
2695
- }(U), Ji = /* @__PURE__ */ function(n) {
2696
- O(t, n);
2697
- var r = A(t);
2698
- function t() {
2699
- var i;
2700
- D(this, t);
2701
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2702
- o[a] = arguments[a];
2703
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 70), d(v(i), "incompatibleTokens", ["H", "K", "k", "t", "T"]), i;
2704
- }
2705
- return P(t, [{
2706
- key: "parse",
2707
- value: function(e, o, a) {
2708
- switch (o) {
2709
- case "h":
2710
- return V(te.hour12h, e);
2711
- case "ho":
2712
- return a.ordinalNumber(e, {
2713
- unit: "hour"
2714
- });
2715
- default:
2716
- return Z(o.length, e);
2717
- }
2718
- }
2719
- }, {
2720
- key: "validate",
2721
- value: function(e, o) {
2722
- return o >= 1 && o <= 12;
2723
- }
2724
- }, {
2725
- key: "set",
2726
- value: function(e, o, a) {
2727
- var s = e.getUTCHours() >= 12;
2728
- return s && a < 12 ? e.setUTCHours(a + 12, 0, 0, 0) : !s && a === 12 ? e.setUTCHours(0, 0, 0, 0) : e.setUTCHours(a, 0, 0, 0), e;
2729
- }
2730
- }]), t;
2731
- }(U), Ki = /* @__PURE__ */ function(n) {
2732
- O(t, n);
2733
- var r = A(t);
2734
- function t() {
2735
- var i;
2736
- D(this, t);
2737
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2738
- o[a] = arguments[a];
2739
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 70), d(v(i), "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]), i;
2740
- }
2741
- return P(t, [{
2742
- key: "parse",
2743
- value: function(e, o, a) {
2744
- switch (o) {
2745
- case "H":
2746
- return V(te.hour23h, e);
2747
- case "Ho":
2748
- return a.ordinalNumber(e, {
2749
- unit: "hour"
2750
- });
2751
- default:
2752
- return Z(o.length, e);
2753
- }
2754
- }
2755
- }, {
2756
- key: "validate",
2757
- value: function(e, o) {
2758
- return o >= 0 && o <= 23;
2759
- }
2760
- }, {
2761
- key: "set",
2762
- value: function(e, o, a) {
2763
- return e.setUTCHours(a, 0, 0, 0), e;
2764
- }
2765
- }]), t;
2766
- }(U), Zi = /* @__PURE__ */ function(n) {
2767
- O(t, n);
2768
- var r = A(t);
2769
- function t() {
2770
- var i;
2771
- D(this, t);
2772
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2773
- o[a] = arguments[a];
2774
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 70), d(v(i), "incompatibleTokens", ["h", "H", "k", "t", "T"]), i;
2775
- }
2776
- return P(t, [{
2777
- key: "parse",
2778
- value: function(e, o, a) {
2779
- switch (o) {
2780
- case "K":
2781
- return V(te.hour11h, e);
2782
- case "Ko":
2783
- return a.ordinalNumber(e, {
2784
- unit: "hour"
2785
- });
2786
- default:
2787
- return Z(o.length, e);
2788
- }
2789
- }
2790
- }, {
2791
- key: "validate",
2792
- value: function(e, o) {
2793
- return o >= 0 && o <= 11;
2794
- }
2795
- }, {
2796
- key: "set",
2797
- value: function(e, o, a) {
2798
- var s = e.getUTCHours() >= 12;
2799
- return s && a < 12 ? e.setUTCHours(a + 12, 0, 0, 0) : e.setUTCHours(a, 0, 0, 0), e;
2800
- }
2801
- }]), t;
2802
- }(U), $i = /* @__PURE__ */ function(n) {
2803
- O(t, n);
2804
- var r = A(t);
2805
- function t() {
2806
- var i;
2807
- D(this, t);
2808
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2809
- o[a] = arguments[a];
2810
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 70), d(v(i), "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]), i;
2811
- }
2812
- return P(t, [{
2813
- key: "parse",
2814
- value: function(e, o, a) {
2815
- switch (o) {
2816
- case "k":
2817
- return V(te.hour24h, e);
2818
- case "ko":
2819
- return a.ordinalNumber(e, {
2820
- unit: "hour"
2821
- });
2822
- default:
2823
- return Z(o.length, e);
2824
- }
2825
- }
2826
- }, {
2827
- key: "validate",
2828
- value: function(e, o) {
2829
- return o >= 1 && o <= 24;
2830
- }
2831
- }, {
2832
- key: "set",
2833
- value: function(e, o, a) {
2834
- var s = a <= 24 ? a % 24 : a;
2835
- return e.setUTCHours(s, 0, 0, 0), e;
2836
- }
2837
- }]), t;
2838
- }(U), en = /* @__PURE__ */ function(n) {
2839
- O(t, n);
2840
- var r = A(t);
2841
- function t() {
2842
- var i;
2843
- D(this, t);
2844
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2845
- o[a] = arguments[a];
2846
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 60), d(v(i), "incompatibleTokens", ["t", "T"]), i;
2847
- }
2848
- return P(t, [{
2849
- key: "parse",
2850
- value: function(e, o, a) {
2851
- switch (o) {
2852
- case "m":
2853
- return V(te.minute, e);
2854
- case "mo":
2855
- return a.ordinalNumber(e, {
2856
- unit: "minute"
2857
- });
2858
- default:
2859
- return Z(o.length, e);
2860
- }
2861
- }
2862
- }, {
2863
- key: "validate",
2864
- value: function(e, o) {
2865
- return o >= 0 && o <= 59;
2866
- }
2867
- }, {
2868
- key: "set",
2869
- value: function(e, o, a) {
2870
- return e.setUTCMinutes(a, 0, 0), e;
2871
- }
2872
- }]), t;
2873
- }(U), tn = /* @__PURE__ */ function(n) {
2874
- O(t, n);
2875
- var r = A(t);
2876
- function t() {
2877
- var i;
2878
- D(this, t);
2879
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2880
- o[a] = arguments[a];
2881
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 50), d(v(i), "incompatibleTokens", ["t", "T"]), i;
2882
- }
2883
- return P(t, [{
2884
- key: "parse",
2885
- value: function(e, o, a) {
2886
- switch (o) {
2887
- case "s":
2888
- return V(te.second, e);
2889
- case "so":
2890
- return a.ordinalNumber(e, {
2891
- unit: "second"
2892
- });
2893
- default:
2894
- return Z(o.length, e);
2895
- }
2896
- }
2897
- }, {
2898
- key: "validate",
2899
- value: function(e, o) {
2900
- return o >= 0 && o <= 59;
2901
- }
2902
- }, {
2903
- key: "set",
2904
- value: function(e, o, a) {
2905
- return e.setUTCSeconds(a, 0), e;
2906
- }
2907
- }]), t;
2908
- }(U), rn = /* @__PURE__ */ function(n) {
2909
- O(t, n);
2910
- var r = A(t);
2911
- function t() {
2912
- var i;
2913
- D(this, t);
2914
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2915
- o[a] = arguments[a];
2916
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 30), d(v(i), "incompatibleTokens", ["t", "T"]), i;
2917
- }
2918
- return P(t, [{
2919
- key: "parse",
2920
- value: function(e, o) {
2921
- var a = function(u) {
2922
- return Math.floor(u * Math.pow(10, -o.length + 3));
2923
- };
2924
- return re(Z(o.length, e), a);
2925
- }
2926
- }, {
2927
- key: "set",
2928
- value: function(e, o, a) {
2929
- return e.setUTCMilliseconds(a), e;
2930
- }
2931
- }]), t;
2932
- }(U), nn = /* @__PURE__ */ function(n) {
2933
- O(t, n);
2934
- var r = A(t);
2935
- function t() {
2936
- var i;
2937
- D(this, t);
2938
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2939
- o[a] = arguments[a];
2940
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 10), d(v(i), "incompatibleTokens", ["t", "T", "x"]), i;
2941
- }
2942
- return P(t, [{
2943
- key: "parse",
2944
- value: function(e, o) {
2945
- switch (o) {
2946
- case "X":
2947
- return Le(Te.basicOptionalMinutes, e);
2948
- case "XX":
2949
- return Le(Te.basic, e);
2950
- case "XXXX":
2951
- return Le(Te.basicOptionalSeconds, e);
2952
- case "XXXXX":
2953
- return Le(Te.extendedOptionalSeconds, e);
2954
- case "XXX":
2955
- default:
2956
- return Le(Te.extended, e);
2957
- }
2958
- }
2959
- }, {
2960
- key: "set",
2961
- value: function(e, o, a) {
2962
- return o.timestampIsSet ? e : new Date(e.getTime() - a);
2963
- }
2964
- }]), t;
2965
- }(U), an = /* @__PURE__ */ function(n) {
2966
- O(t, n);
2967
- var r = A(t);
2968
- function t() {
2969
- var i;
2970
- D(this, t);
2971
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
2972
- o[a] = arguments[a];
2973
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 10), d(v(i), "incompatibleTokens", ["t", "T", "X"]), i;
2974
- }
2975
- return P(t, [{
2976
- key: "parse",
2977
- value: function(e, o) {
2978
- switch (o) {
2979
- case "x":
2980
- return Le(Te.basicOptionalMinutes, e);
2981
- case "xx":
2982
- return Le(Te.basic, e);
2983
- case "xxxx":
2984
- return Le(Te.basicOptionalSeconds, e);
2985
- case "xxxxx":
2986
- return Le(Te.extendedOptionalSeconds, e);
2987
- case "xxx":
2988
- default:
2989
- return Le(Te.extended, e);
2990
- }
2991
- }
2992
- }, {
2993
- key: "set",
2994
- value: function(e, o, a) {
2995
- return o.timestampIsSet ? e : new Date(e.getTime() - a);
2996
- }
2997
- }]), t;
2998
- }(U), on = /* @__PURE__ */ function(n) {
2999
- O(t, n);
3000
- var r = A(t);
3001
- function t() {
3002
- var i;
3003
- D(this, t);
3004
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
3005
- o[a] = arguments[a];
3006
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 40), d(v(i), "incompatibleTokens", "*"), i;
3007
- }
3008
- return P(t, [{
3009
- key: "parse",
3010
- value: function(e) {
3011
- return Ft(e);
3012
- }
3013
- }, {
3014
- key: "set",
3015
- value: function(e, o, a) {
3016
- return [new Date(a * 1e3), {
3017
- timestampIsSet: !0
3018
- }];
3019
- }
3020
- }]), t;
3021
- }(U), sn = /* @__PURE__ */ function(n) {
3022
- O(t, n);
3023
- var r = A(t);
3024
- function t() {
3025
- var i;
3026
- D(this, t);
3027
- for (var e = arguments.length, o = new Array(e), a = 0; a < e; a++)
3028
- o[a] = arguments[a];
3029
- return i = r.call.apply(r, [this].concat(o)), d(v(i), "priority", 20), d(v(i), "incompatibleTokens", "*"), i;
3030
- }
3031
- return P(t, [{
3032
- key: "parse",
3033
- value: function(e) {
3034
- return Ft(e);
3035
- }
3036
- }, {
3037
- key: "set",
3038
- value: function(e, o, a) {
3039
- return [new Date(a), {
3040
- timestampIsSet: !0
3041
- }];
3042
- }
3043
- }]), t;
3044
- }(U), un = {
3045
- G: new _i(),
3046
- y: new Mi(),
3047
- Y: new Di(),
3048
- R: new Pi(),
3049
- u: new Ei(),
3050
- Q: new Oi(),
3051
- q: new Ai(),
3052
- M: new xi(),
3053
- L: new Ui(),
3054
- w: new Wi(),
3055
- I: new Ii(),
3056
- d: new Hi(),
3057
- D: new Fi(),
3058
- E: new ji(),
3059
- e: new Si(),
3060
- c: new Ri(),
3061
- i: new Gi(),
3062
- a: new zi(),
3063
- b: new Vi(),
3064
- B: new Xi(),
3065
- h: new Ji(),
3066
- H: new Ki(),
3067
- K: new Zi(),
3068
- k: new $i(),
3069
- m: new en(),
3070
- s: new tn(),
3071
- S: new rn(),
3072
- X: new nn(),
3073
- x: new an(),
3074
- t: new on(),
3075
- T: new sn()
3076
- }, ln = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, cn = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, mn = /^'([^]*?)'?$/, dn = /''/g, fn = /\S/, vn = /[a-zA-Z]/;
3077
- function On(n, r, t, i) {
3078
- var e, o, a, s, u, l, m, y, w, p, E, h, g, k;
3079
- S(3, arguments);
3080
- var L = String(n), _ = String(r), G = We(), z = (e = (o = void 0) !== null && o !== void 0 ? o : G.locale) !== null && e !== void 0 ? e : It;
3081
- if (!z.match)
3082
- throw new RangeError("locale must contain match property");
3083
- var B = le((a = (s = (u = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && u !== void 0 ? u : G.firstWeekContainsDate) !== null && s !== void 0 ? s : (m = G.locale) === null || m === void 0 || (y = m.options) === null || y === void 0 ? void 0 : y.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
3084
- if (!(B >= 1 && B <= 7))
3085
- throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
3086
- var ce = le((w = (p = (E = (h = void 0) !== null && h !== void 0 ? h : void 0) !== null && E !== void 0 ? E : G.weekStartsOn) !== null && p !== void 0 ? p : (g = G.locale) === null || g === void 0 || (k = g.options) === null || k === void 0 ? void 0 : k.weekStartsOn) !== null && w !== void 0 ? w : 0);
3087
- if (!(ce >= 0 && ce <= 6))
3088
- throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
3089
- if (_ === "")
3090
- return L === "" ? ne(t) : /* @__PURE__ */ new Date(NaN);
3091
- var N = {
3092
- firstWeekContainsDate: B,
3093
- weekStartsOn: ce,
3094
- locale: z
3095
- }, $ = [new Ci()], se = _.match(cn).map(function(F) {
3096
- var C = F[0];
3097
- if (C in Ve) {
3098
- var W = Ve[C];
3099
- return W(F, z.formatLong);
3100
- }
3101
- return F;
3102
- }).join("").match(ln), H = [], X = ct(se), ue;
3103
- try {
3104
- var j = function() {
3105
- var C = ue.value;
3106
- !(i != null && i.useAdditionalWeekYearTokens) && Yt(C) && Fe(C, _, n), !(i != null && i.useAdditionalDayOfYearTokens) && Wt(C) && Fe(C, _, n);
3107
- var W = C[0], ee = un[W];
3108
- if (ee) {
3109
- var x = ee.incompatibleTokens;
3110
- if (Array.isArray(x)) {
3111
- var R = H.find(function(Be) {
3112
- return x.includes(Be.token) || Be.token === W;
3113
- });
3114
- if (R)
3115
- throw new RangeError("The format string mustn't contain `".concat(R.fullToken, "` and `").concat(C, "` at the same time"));
3116
- } else if (ee.incompatibleTokens === "*" && H.length > 0)
3117
- throw new RangeError("The format string mustn't contain `".concat(C, "` and any other token at the same time"));
3118
- H.push({
3119
- token: W,
3120
- fullToken: C
3121
- });
3122
- var Ye = ee.run(L, C, z.match, N);
3123
- if (!Ye)
3124
- return {
3125
- v: /* @__PURE__ */ new Date(NaN)
3126
- };
3127
- $.push(Ye.setter), L = Ye.rest;
3128
- } else {
3129
- if (W.match(vn))
3130
- throw new RangeError("Format string contains an unescaped latin alphabet character `" + W + "`");
3131
- if (C === "''" ? C = "'" : W === "'" && (C = pn(C)), L.indexOf(C) === 0)
3132
- L = L.slice(C.length);
3133
- else
3134
- return {
3135
- v: /* @__PURE__ */ new Date(NaN)
3136
- };
3137
- }
3138
- };
3139
- for (X.s(); !(ue = X.n()).done; ) {
3140
- var ge = j();
3141
- if (De(ge) === "object")
3142
- return ge.v;
3143
- }
3144
- } catch (F) {
3145
- X.e(F);
3146
- } finally {
3147
- X.f();
3148
- }
3149
- if (L.length > 0 && fn.test(L))
3150
- return /* @__PURE__ */ new Date(NaN);
3151
- var Ce = $.map(function(F) {
3152
- return F.priority;
3153
- }).sort(function(F, C) {
3154
- return C - F;
3155
- }).filter(function(F, C, W) {
3156
- return W.indexOf(F) === C;
3157
- }).map(function(F) {
3158
- return $.filter(function(C) {
3159
- return C.priority === F;
3160
- }).sort(function(C, W) {
3161
- return W.subPriority - C.subPriority;
3162
- });
3163
- }).map(function(F) {
3164
- return F[0];
3165
- }), J = ne(t);
3166
- if (isNaN(J.getTime()))
3167
- return /* @__PURE__ */ new Date(NaN);
3168
- var me = Ot(J, Et(J)), _e = {}, ve = ct(Ce), de;
3169
- try {
3170
- for (ve.s(); !(de = ve.n()).done; ) {
3171
- var ye = de.value;
3172
- if (!ye.validate(me, N))
3173
- return /* @__PURE__ */ new Date(NaN);
3174
- var pe = ye.set(me, _e, N);
3175
- Array.isArray(pe) ? (me = pe[0], gi(_e, pe[1])) : me = pe;
3176
- }
3177
- } catch (F) {
3178
- ve.e(F);
3179
- } finally {
3180
- ve.f();
3181
- }
3182
- return me;
3183
- }
3184
- function pn(n) {
3185
- return n.match(mn)[1].replace(dn, "'");
3186
- }
3187
- function An(n, r) {
3188
- S(2, arguments);
3189
- var t = le(r);
3190
- return pr(n, -t);
3191
- }
3192
- function mt(n, r) {
3193
- Kt(n, r);
3194
- }
3195
- function hn(n) {
3196
- Zt.set(n);
3197
- }
3198
- const dt = {
3199
- en: {
3200
- back: "Back to Gaming Limits",
3201
- limit: "Limit",
3202
- amount: "Amount",
3203
- noLimit: "No limit",
3204
- changeLimitsText: "Are you sure you want to change the {limit}s?",
3205
- success: "Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",
3206
- remove: "You have requested to remove this limit. This will be applied on",
3207
- invalidInputMessageLimit: "The amount needs to be between 1 and 99,999,999.",
3208
- invalidInputMessageTime: "The time amount needs to be greater than {minTime} and below {maxTime} minutes.",
3209
- expirationDate: "Expiration Date:",
3210
- save: "Save",
3211
- changedLimitTextBefore: "Your limit has been changed or increased:",
3212
- changedLimitTextAfter: "You will have to wait for the expiration date for your new limit to take effect.",
3213
- daily: "Daily",
3214
- weekly: "Weekly",
3215
- monthly: "Monthly",
3216
- depositLimit: "Deposit Limit",
3217
- timeLimit: "Time Limit",
3218
- wageringLimit: "Wagering Limit",
3219
- lossLimit: "Loss Limit"
3220
- },
3221
- "zh-hk": {
3222
- back: "返回游戲限制",
3223
- limit: "限制",
3224
- amount: "數量",
3225
- noLimit: "沒有限制t",
3226
- changeLimitsText: "您確定要更改 {limit} 嗎?",
3227
- success: "您的遊戲限制已成功設置。",
3228
- remove: "您已請求取消此限制。 這將應用於",
3229
- invalidInputMessageLimit: "金額需要在 0 到 99,999,999 之間",
3230
- invalidInputMessageTime: "時間量需要大於 {minTime} 且低於 {maxTime} 分鐘",
3231
- expirationDate: "截止日期:",
3232
- save: "節省",
3233
- changedLimitTextBefore: "您的限額已更改或增加:",
3234
- changedLimitTextAfter: "您必須等待到期日期才能使新限制生效",
3235
- daily: "日常的",
3236
- weekly: "每周",
3237
- monthly: "月刊",
3238
- depositLimit: "存款限额",
3239
- timeLimit: "时限",
3240
- wageringLimit: "投注限额",
3241
- lossLimit: "损失限额"
3242
- },
3243
- fr: {
3244
- back: "Retour aux limites de jeu",
3245
- daily: "Quotidiennement",
3246
- weekly: "Hebdomadaire",
3247
- monthly: "Mensuel",
3248
- limit: "Limite",
3249
- amount: "Montant",
3250
- noLimit: "Aucune limite",
3251
- changeLimitsText: "Etes-vous sûr de vouloir changer les {limit}s??",
3252
- success: "Vos limites de jeu ont été respectées.",
3253
- remove: "Vous avez demandé à ce que cette limite soit supprimée,elle sera appliquée",
3254
- invalidInputMessageLimit: "Le montant doit être compris entre 1 et 99,999,999.",
3255
- invalidInputMessageTime: "La durée doit être supérieure au {minTime} et inférieur au {maxTime} minutes .",
3256
- expirationDate: "Date d'expiration:",
3257
- save: "Sauvez",
3258
- changedLimitTextBefore: "Votre limit a été modifiée ou augmentée:",
3259
- changedLimitTextAfter: "Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet",
3260
- depositLimit: "Limite de dépôt",
3261
- timeLimit: "Limite de temps",
3262
- wageringLimit: "Limite de mise",
3263
- lossLimit: "Limite de perte"
3264
- },
3265
- ro: {
3266
- back: "Înapoi la limite de joc",
3267
- limit: "Limită",
3268
- amount: "Sumă",
3269
- noLimit: "Fără Limită",
3270
- changeLimitsText: "Ești sigur că vrei să modifici {limit}?",
3271
- success: "Limitele tale de joc au fost configurate cu success.",
3272
- remove: "Ai solicitat eliminarea acestei limite. Acest lucru va avea loc la data expirării limitei",
3273
- invalidInputMessageLimit: "Trebuie să setezi o sumă intre 1 și 99,999,999.",
3274
- invalidInputMessageTime: "Trebuie să setezi o limită intre {minTime} minute și {maxTime} minute",
3275
- expirationDate: "Dată Expirare:",
3276
- save: "Salvează",
3277
- changedLimitTextBefore: "Limita ta a fost schimbată sau a crescut:",
3278
- changedLimitTextAfter: ". Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",
3279
- daily: "Zilnic",
3280
- weekly: "Săptămânal",
3281
- monthly: "Lunar",
3282
- depositLimit: "Limită de depunere",
3283
- timeLimit: "Limită de timp",
3284
- wageringLimit: "Limită de pariere",
3285
- lossLimit: "Limite de pierdere"
3286
- },
3287
- es: {
3288
- back: "Regresa a límites de juego",
3289
- limit: "Límite",
3290
- amount: "Monto",
3291
- noLimit: "Sin Límite",
3292
- changeLimitsText: "Esta seguro que desea cambiar los {limit}es?",
3293
- success: "Limite actualizado satisfactoriamente",
3294
- remove: "Ha solicitado retirar este limite. Esto será aplicado",
3295
- invalidInputMessageLimit: "El monto debe ser entre 1 y 99",
3296
- invalidInputMessageTime: "La cantidad de tiempo debe ser superior a {minTime} y por debajo de {maxTime} minutos.",
3297
- expirationDate: "Fecha de expiración:",
3298
- save: "Guardar",
3299
- changedLimitTextBefore: "Tú limite ha sido cambiado o incrementado:",
3300
- changedLimitTextAfter: "Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia.",
3301
- daily: "Diario",
3302
- weekly: "Semanal",
3303
- monthly: "Mensual",
3304
- depositLimit: "Límite de depósito",
3305
- timeLimit: "Límite de tiempo",
3306
- wageringLimit: "Límite de apuestas",
3307
- lossLimit: "Límite de pérdida"
3308
- },
3309
- pt: {
3310
- back: "Voltar para Limites de jogos",
3311
- limit: "Limite",
3312
- amount: "Montante",
3313
- noLimit: "Sem limite",
3314
- changeLimitsText: "Tem certeza de que deseja alterar os {limite}s?",
3315
- success: "Seus limites de jogo foram definidos com sucesso.",
3316
- remove: "Você solicitou a remoção deste limite. Isso será aplicado em",
3317
- invalidInputMessageLimit: "O valor precisa estar entre 1 e 99.999.999",
3318
- invalidInputMessageTime: "A quantidade de tempo precisa ser maior que {1} e menor que {99999999} minutos",
3319
- expirationDate: "Data de Validade",
3320
- save: "Guardar",
3321
- changedLimitTextBefore: "Seu limite foi alterado ou aumentado:",
3322
- changedLimitTextAfter: "Você terá que aguardar a data de expiração para que seu novo limite entre em vigor",
3323
- daily: "Diariamente",
3324
- weekly: "Semanalmente",
3325
- monthly: "Mensalmente",
3326
- depositLimit: "Limite de Depósito",
3327
- timeLimit: "Limite de Tempo",
3328
- wageringLimit: "Limite de Apostas",
3329
- lossLimit: "Limite de Perda"
3330
- },
3331
- hr: {
3332
- back: "Povratak na ograničenja igranja",
3333
- limit: "Limit",
3334
- amount: "Iznos",
3335
- noLimit: "Nema ograničenja",
3336
- changeLimitsText: "Jeste li sigurni da želite promijeniti {limit}e?",
3337
- success: "Uspješno",
3338
- remove: "Zatražili ste uklanjanje ovog ograničenja. Ovo će se primijeniti na",
3339
- invalidInputMessageLimit: "Iznos mora biti između 1 i 99",
3340
- invalidInputMessageTime: "Vremenski iznos mora biti veći od {minTime} i manji od {maxTime} minuta.",
3341
- expirationDate: "Datum isteka:",
3342
- save: "Spremi",
3343
- changedLimitTextBefore: "Vaše ograničenje je promijenjeno ili povećano:",
3344
- changedLimitTextAfter: "Morat ćete pričekati datum isteka da bi vaše novo ograničenje stupilo na snagu.",
3345
- daily: "Dnevno",
3346
- weekly: "Tjedno",
3347
- monthly: "Mjesečno",
3348
- depositLimit: "Ograničenje uplate",
3349
- timeLimit: "Vremensko ograničenje",
3350
- wageringLimit: "Ograničenje igranja",
3351
- lossLimit: "Ograničenje gubitka"
3352
- },
3353
- "pt-br": {
3354
- back: "Retornar aos limites do jogo",
3355
- limit: "Limite",
3356
- amount: "Quantidade",
3357
- noLimit: "Sem limite",
3358
- changeLimitsText: "Tem certeza de que deseja alterar o(s) limite(s)?",
3359
- success: "A operação bem-sucedida lorem Ipsum é simplesmente um texto fictício da indústria de impressão e composição tipográfica.",
3360
- remove: "Você solicitou a remoção deste limite. Isto será aplicado a partir de",
3361
- invalidInputMessageLimit: "A Quantia deve estar entre 1 e 99",
3362
- invalidInputMessageTime: "A quantidade de tempo precisa ser maior que {minTime} e menor que {maxTime} minutos.",
3363
- expirationDate: "Data de expiração:",
3364
- save: "Manter",
3365
- changedLimitTextBefore: "Seu limite de tempo foi alterado ou aumentado:",
3366
- changedLimitTextAfter: "Você deve aguardar a data de expiração para que seu novo limite entre em vigor.",
3367
- daily: "Diário",
3368
- weekly: "Semanalmente",
3369
- monthly: "Por mês",
3370
- depositLimit: "Limite de depósito",
3371
- timeLimit: "Limite de tempo",
3372
- wageringLimit: "Limite de aposta",
3373
- lossLimit: "Limite de perda"
3374
- },
3375
- "es-mx": {
3376
- back: "Regresar a límites de juego",
3377
- limit: "Límite",
3378
- amount: "Monto",
3379
- noLimit: "Sin límite",
3380
- changeLimitsText: "¿Está seguro que quiere cambiar el/los límite(s)?",
3381
- success: "Operación exitosa lorem Ipsum is simply dummy text of the printing and typesetting industry.",
3382
- remove: "Ha solicitado remover este límite. Esto se aplicará a partir de",
3383
- invalidInputMessageLimit: "El monto debe ser entre 1 y 99,999,999",
3384
- invalidInputMessageTime: "El monto de tiempo necesita ser mayor a {minTime} y menor a {maxTime} minutos.",
3385
- expirationDate: "Fecha de expiración:",
3386
- save: "Guardar",
3387
- changedLimitTextBefore: "Tú límite de tiempo ha sido cambiado o aumentado:",
3388
- changedLimitTextAfter: "Tiene que esperar a la fecha de expiración para que su nuevo límite entre en efecto.",
3389
- daily: "Diario",
3390
- weekly: "Semanal",
3391
- monthly: "Mensual",
3392
- depositLimit: "Límite de depósito",
3393
- timeLimit: "Límite de tiempo",
3394
- wageringLimit: "Límite de apuesta",
3395
- lossLimit: "Límite de pérdida"
3396
- },
3397
- tr: {
3398
- back: "Oyun Sınırlarına Geri Dön",
3399
- limit: "Sınır",
3400
- amount: "Miktar",
3401
- noLimit: "Limit yok",
3402
- changeLimitsText: "{limit}'leri değiştirmek istediğinizden emin misiniz?",
3403
- success: "Başarı lorem Ipsum, basım ve dizgi endüstrisinin sahte metnidir.",
3404
- remove: "Bu sınırın kaldırılmasını talep ettiniz. Bu şu tarihte uygulanacaktır:",
3405
- invalidInputMessageLimit: "Tutarın 1 ile 99.999.999 arasında olması gerekir.",
3406
- invalidInputMessageTime: "Süre miktarının {minTime} değerinden büyük ve {maxTime} dakikanın altında olması gerekir.",
3407
- expirationDate: "Son kullanma tarihi:",
3408
- save: "Kaydetmek",
3409
- changedLimitTextBefore: "Limitiniz değiştirildi veya artırıldı:",
3410
- changedLimitTextAfter: "Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir.",
3411
- daily: "Günlük",
3412
- weekly: "Haftalık",
3413
- monthly: "Aylık",
3414
- depositLimit: "Para Yatırma Limiti",
3415
- timeLimit: "Zaman sınırı",
3416
- wageringLimit: "Bahis Limiti",
3417
- lossLimit: "Kayıp Limiti"
3418
- },
3419
- "en-us": {
3420
- back: "Back to Gaming Limits",
3421
- limit: "Limit",
3422
- amount: "Amount",
3423
- noLimit: "No limit",
3424
- changeLimitsText: "Are you sure you want to change the {limit}s?",
3425
- success: "Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",
3426
- remove: "You have requested to remove this limit. This will be applied on",
3427
- invalidInputMessageLimit: "The amount needs to be between 1 and 99,999,999.",
3428
- invalidInputMessageTime: "The time amount needs to be greater than {minTime} and below {maxTime} minutes.",
3429
- expirationDate: "Expiration Date:",
3430
- save: "Save",
3431
- changedLimitTextBefore: "Your limit has been changed or increased:",
3432
- changedLimitTextAfter: "You will have to wait for the expiration date for your new limit to take effect.",
3433
- daily: "Daily",
3434
- weekly: "Weekly",
3435
- monthly: "Monthly",
3436
- depositLimit: "Deposit Limit",
3437
- timeLimit: "Time Limit",
3438
- wageringLimit: "Wagering Limit",
3439
- lossLimit: "Loss Limit"
3440
- }
3441
- };
3442
- function gn(n) {
3443
- rr(n, "svelte-5vl9hz", ".MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MyAccountCategoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MyAccountCategoryTitleNone{display:none !important}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditBackButton{display:inline-block;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:26px;font-weight:300;cursor:pointer;margin-bottom:30px}.AccountEditBackButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:var(--emw--color-gray-300, #58586B);background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:var(--emw--color-black, #000000)}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:30px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:10px;line-height:16px;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountEditFieldCustom{padding:3%}.AccountEditLimitsPeriodChangeContainer{background:var(--emw--color-gray-50, #F9F8F8);border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:var(--emw--color-gray-300, #58586B);font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #FD2839));font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative;padding-top:10px;width:94%}");
3444
- }
3445
- function ft(n, r, t) {
3446
- const i = n.slice();
3447
- return i[56] = r[t], i[57] = r, i[58] = t, i;
3448
- }
3449
- function vt(n, r, t) {
3450
- const i = n.slice();
3451
- return i[59] = r[t], i;
3452
- }
3453
- function pt(n, r, t) {
3454
- const i = n.slice();
3455
- return i[56] = r[t], i[58] = t, i;
3456
- }
3457
- function wn(n) {
3458
- let r, t, i, e, o, a, s, u, l, m, y = (
3459
- /*$_*/
3460
- n[18]("back") + ""
3461
- ), w, p, E;
3462
- return {
3463
- c() {
3464
- r = M("div"), t = he("svg"), i = he("defs"), e = he("style"), o = K(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = he("g"), s = he("g"), u = he("path"), l = Q(), m = M("h2"), w = K(y), b(u, "class", "aaa"), b(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), b(u, "transform", "translate(15 15) rotate(180)"), b(s, "transform", "translate(20 158)"), b(a, "transform", "translate(-20 -158)"), b(t, "xmlns", "http://www.w3.org/2000/svg"), b(t, "width", "15"), b(t, "height", "15"), b(t, "viewBox", "0 0 15 15"), b(m, "class", "MyAccountCategoryTitleMobile"), b(r, "class", "MenuReturnButton");
3465
- },
3466
- m(h, g) {
3467
- q(h, r, g), f(r, t), f(t, i), f(i, e), f(e, o), f(t, a), f(a, s), f(s, u), f(r, l), f(r, m), f(m, w), p || (E = ke(
3468
- r,
3469
- "click",
3470
- /*switchToLimitsGroupView*/
3471
- n[22]
3472
- ), p = !0);
3473
- },
3474
- p(h, g) {
3475
- g[0] & /*$_*/
3476
- 262144 && y !== (y = /*$_*/
3477
- h[18]("back") + "") && oe(w, y);
3478
- },
3479
- d(h) {
3480
- h && I(r), p = !1, E();
3481
- }
3482
- };
3483
- }
3484
- function ht(n) {
3485
- let r, t, i = (
3486
- /*$_*/
3487
- n[18]("success") + ""
3488
- ), e;
3489
- return {
3490
- c() {
3491
- r = M("div"), t = M("p"), e = K(i), b(r, "class", "AccountEditLimitSuccessfulChangeContainer");
3492
- },
3493
- m(o, a) {
3494
- q(o, r, a), f(r, t), f(t, e);
3495
- },
3496
- p(o, a) {
3497
- a[0] & /*$_*/
3498
- 262144 && i !== (i = /*$_*/
3499
- o[18]("success") + "") && oe(e, i);
3500
- },
3501
- d(o) {
3502
- o && I(r);
3503
- }
3504
- };
3505
- }
3506
- function gt(n) {
3507
- let r, t = Ue(
3508
- /*limitsUpdateData*/
3509
- n[14]
3510
- ), i = [];
3511
- for (let e = 0; e < t.length; e += 1)
3512
- i[e] = yt(pt(n, t, e));
3513
- return {
3514
- c() {
3515
- r = M("div");
3516
- for (let e = 0; e < i.length; e += 1)
3517
- i[e].c();
3518
- b(r, "class", "AccountEditLimitSuccessfulChangeContainer");
3519
- },
3520
- m(e, o) {
3521
- q(e, r, o);
3522
- for (let a = 0; a < i.length; a += 1)
3523
- i[a] && i[a].m(r, null);
3524
- },
3525
- p(e, o) {
3526
- if (o[0] & /*limitsUpdateData, $_, storedData*/
3527
- 409600) {
3528
- t = Ue(
3529
- /*limitsUpdateData*/
3530
- e[14]
3531
- );
3532
- let a;
3533
- for (a = 0; a < t.length; a += 1) {
3534
- const s = pt(e, t, a);
3535
- i[a] ? i[a].p(s, o) : (i[a] = yt(s), i[a].c(), i[a].m(r, null));
3536
- }
3537
- for (; a < i.length; a += 1)
3538
- i[a].d(1);
3539
- i.length = t.length;
3540
- }
3541
- },
3542
- d(e) {
3543
- e && I(r), Je(i, e);
3544
- }
3545
- };
3546
- }
3547
- function wt(n) {
3548
- let r, t = (
3549
- /*$_*/
3550
- n[18]("remove") + ""
3551
- ), i, e, o = (
3552
- /*selectData*/
3553
- (n[56].expiryDate ? je(new Date(
3554
- /*selectData*/
3555
- n[56].expiryDate
3556
- ), "d/M/yyyy - h:mm a") : "N/A") + ""
3557
- ), a;
3558
- return {
3559
- c() {
3560
- r = M("p"), i = K(t), e = Q(), a = K(o);
3561
- },
3562
- m(s, u) {
3563
- q(s, r, u), f(r, i), f(r, e), f(r, a);
3564
- },
3565
- p(s, u) {
3566
- u[0] & /*$_*/
3567
- 262144 && t !== (t = /*$_*/
3568
- s[18]("remove") + "") && oe(i, t), u[0] & /*limitsUpdateData*/
3569
- 16384 && o !== (o = /*selectData*/
3570
- (s[56].expiryDate ? je(new Date(
3571
- /*selectData*/
3572
- s[56].expiryDate
3573
- ), "d/M/yyyy - h:mm a") : "N/A") + "") && oe(a, o);
3574
- },
3575
- d(s) {
3576
- s && I(r);
3577
- }
3578
- };
3579
- }
3580
- function yt(n) {
3581
- let r, t = (
3582
- /*selectData*/
3583
- n[56].period == /*storedData*/
3584
- n[17][
3585
- /*index*/
3586
- n[58]
3587
- ].period && wt(n)
3588
- );
3589
- return {
3590
- c() {
3591
- t && t.c(), r = Ke();
3592
- },
3593
- m(i, e) {
3594
- t && t.m(i, e), q(i, r, e);
3595
- },
3596
- p(i, e) {
3597
- /*selectData*/
3598
- i[56].period == /*storedData*/
3599
- i[17][
3600
- /*index*/
3601
- i[58]
3602
- ].period ? t ? t.p(i, e) : (t = wt(i), t.c(), t.m(r.parentNode, r)) : t && (t.d(1), t = null);
3603
- },
3604
- d(i) {
3605
- i && I(r), t && t.d(i);
3606
- }
3607
- };
3608
- }
3609
- function bt(n) {
3610
- let r, t, i = Ue(
3611
- /*limitsUpdateData*/
3612
- n[14]
3613
- ), e = [];
3614
- for (let o = 0; o < i.length; o += 1)
3615
- e[o] = Pt(ft(n, i, o));
3616
- return {
3617
- c() {
3618
- r = M("div"), t = M("div");
3619
- for (let o = 0; o < e.length; o += 1)
3620
- e[o].c();
3621
- b(t, "class", "AccountEditLimitsContainer"), b(r, "class", "AccountEditContent");
3622
- },
3623
- m(o, a) {
3624
- q(o, r, a), f(r, t);
3625
- for (let s = 0; s < e.length; s += 1)
3626
- e[s] && e[s].m(t, null);
3627
- },
3628
- p(o, a) {
3629
- if (a[0] & /*$_, limitsUpdateData, currency, invalidIndexes, storedData, checkUserInputAmount, updatedLimitValues, limitname, minTimeValue, maxTimeValue, isMobile, limitPredefinedData*/
3630
- 18836560) {
3631
- i = Ue(
3632
- /*limitsUpdateData*/
3633
- o[14]
3634
- );
3635
- let s;
3636
- for (s = 0; s < i.length; s += 1) {
3637
- const u = ft(o, i, s);
3638
- e[s] ? e[s].p(u, a) : (e[s] = Pt(u), e[s].c(), e[s].m(t, null));
3639
- }
3640
- for (; s < e.length; s += 1)
3641
- e[s].d(1);
3642
- e.length = i.length;
3643
- }
3644
- },
3645
- d(o) {
3646
- o && I(r), Je(e, o);
3647
- }
3648
- };
3649
- }
3650
- function Tt(n) {
3651
- let r, t, i = (
3652
- /*$_*/
3653
- n[18]("noLimit") + ""
3654
- ), e, o, a, s, u, l, m, y, w = Ue(
3655
- /*limitPredefinedData*/
3656
- n[20].get(
3657
- /*limitname*/
3658
- n[6]
3659
- )[
3660
- /*index*/
3661
- n[58]
3662
- ].values
3663
- ), p = [];
3664
- for (let k = 0; k < w.length; k += 1)
3665
- p[k] = kt(vt(n, w, k));
3666
- function E() {
3667
- n[30].call(
3668
- r,
3669
- /*index*/
3670
- n[58]
3671
- );
3672
- }
3673
- let h = (
3674
- /*storedData*/
3675
- n[17][
3676
- /*index*/
3677
- n[58]
3678
- ].amount === "Custom" && Ct(n)
3679
- ), g = (
3680
- /*selectData*/
3681
- n[56].isModified === !0 && Dt(n)
3682
- );
3683
- return {
3684
- c() {
3685
- r = M("select"), t = M("option"), e = K(i);
3686
- for (let k = 0; k < p.length; k += 1)
3687
- p[k].c();
3688
- a = Q(), s = M("div"), h && h.c(), u = Q(), g && g.c(), l = Ke(), t.__value = "", Oe(t, t.__value), t.disabled = !0, t.selected = !0, t.hidden = !0, b(r, "class", "AccountEditField " + /*isMobile*/
3689
- (n[19] ? "TimeoutSelectMobile" : "")), r.disabled = o = /*selectData*/
3690
- n[56].isModified === !0, /*storedData*/
3691
- n[17][
3692
- /*index*/
3693
- n[58]
3694
- ].amount === void 0 && cr(E), b(s, "class", "AccountEditLimitsInputContainer");
3695
- },
3696
- m(k, L) {
3697
- q(k, r, L), f(r, t), f(t, e);
3698
- for (let _ = 0; _ < p.length; _ += 1)
3699
- p[_] && p[_].m(r, null);
3700
- at(
3701
- r,
3702
- /*storedData*/
3703
- n[17][
3704
- /*index*/
3705
- n[58]
3706
- ].amount,
3707
- !0
3708
- ), q(k, a, L), q(k, s, L), h && h.m(s, null), q(k, u, L), g && g.m(k, L), q(k, l, L), m || (y = [
3709
- ke(r, "change", E),
3710
- ke(r, "change", function() {
3711
- Ze(
3712
- /*checkUserInputAmount*/
3713
- n[24](
3714
- /*storedData*/
3715
- n[17][
3716
- /*index*/
3717
- n[58]
3718
- ],
3719
- /*index*/
3720
- n[58],
3721
- !1,
3722
- /*updatedLimitValues*/
3723
- n[16]
3724
- )
3725
- ) && n[24](
3726
- /*storedData*/
3727
- n[17][
3728
- /*index*/
3729
- n[58]
3730
- ],
3731
- /*index*/
3732
- n[58],
3733
- !1,
3734
- /*updatedLimitValues*/
3735
- n[16]
3736
- ).apply(this, arguments);
3737
- })
3738
- ], m = !0);
3739
- },
3740
- p(k, L) {
3741
- if (n = k, L[0] & /*$_*/
3742
- 262144 && i !== (i = /*$_*/
3743
- n[18]("noLimit") + "") && oe(e, i), L[0] & /*limitPredefinedData, limitname, currency*/
3744
- 1048656) {
3745
- w = Ue(
3746
- /*limitPredefinedData*/
3747
- n[20].get(
3748
- /*limitname*/
3749
- n[6]
3750
- )[
3751
- /*index*/
3752
- n[58]
3753
- ].values
3754
- );
3755
- let _;
3756
- for (_ = 0; _ < w.length; _ += 1) {
3757
- const G = vt(n, w, _);
3758
- p[_] ? p[_].p(G, L) : (p[_] = kt(G), p[_].c(), p[_].m(r, null));
3759
- }
3760
- for (; _ < p.length; _ += 1)
3761
- p[_].d(1);
3762
- p.length = w.length;
3763
- }
3764
- L[0] & /*limitsUpdateData*/
3765
- 16384 && o !== (o = /*selectData*/
3766
- n[56].isModified === !0) && (r.disabled = o), L[0] & /*storedData, limitPredefinedData, limitname*/
3767
- 1179712 && at(
3768
- r,
3769
- /*storedData*/
3770
- n[17][
3771
- /*index*/
3772
- n[58]
3773
- ].amount
3774
- ), /*storedData*/
3775
- n[17][
3776
- /*index*/
3777
- n[58]
3778
- ].amount === "Custom" ? h ? h.p(n, L) : (h = Ct(n), h.c(), h.m(s, null)) : h && (h.d(1), h = null), /*selectData*/
3779
- n[56].isModified === !0 ? g ? g.p(n, L) : (g = Dt(n), g.c(), g.m(l.parentNode, l)) : g && (g.d(1), g = null);
3780
- },
3781
- d(k) {
3782
- k && (I(r), I(a), I(s), I(u), I(l)), Je(p, k), h && h.d(), g && g.d(k), m = !1, Qe(y);
3783
- }
3784
- };
3785
- }
3786
- function Lt(n) {
3787
- let r = (
3788
- /*limitname*/
3789
- (n[6] !== "Time Limit" ? (
3790
- /*currency*/
3791
- n[4]
3792
- ) : " minutes") + ""
3793
- ), t;
3794
- return {
3795
- c() {
3796
- t = K(r);
3797
- },
3798
- m(i, e) {
3799
- q(i, t, e);
3800
- },
3801
- p(i, e) {
3802
- e[0] & /*limitname, currency*/
3803
- 80 && r !== (r = /*limitname*/
3804
- (i[6] !== "Time Limit" ? (
3805
- /*currency*/
3806
- i[4]
3807
- ) : " minutes") + "") && oe(t, r);
3808
- },
3809
- d(i) {
3810
- i && I(t);
3811
- }
3812
- };
3813
- }
3814
- function kt(n) {
3815
- let r, t = (
3816
- /*predefinedData*/
3817
- n[59] + ""
3818
- ), i, e, o, a, s = (
3819
- /*predefinedData*/
3820
- n[59] !== "No limit" && /*predefinedData*/
3821
- n[59] !== "Custom" && Lt(n)
3822
- );
3823
- return {
3824
- c() {
3825
- r = M("option"), i = K(t), e = Q(), s && s.c(), o = Q(), r.__value = a = /*predefinedData*/
3826
- n[59], Oe(r, r.__value);
3827
- },
3828
- m(u, l) {
3829
- q(u, r, l), f(r, i), f(r, e), s && s.m(r, null), f(r, o);
3830
- },
3831
- p(u, l) {
3832
- l[0] & /*limitname*/
3833
- 64 && t !== (t = /*predefinedData*/
3834
- u[59] + "") && oe(i, t), /*predefinedData*/
3835
- u[59] !== "No limit" && /*predefinedData*/
3836
- u[59] !== "Custom" ? s ? s.p(u, l) : (s = Lt(u), s.c(), s.m(r, o)) : s && (s.d(1), s = null), l[0] & /*limitname*/
3837
- 64 && a !== (a = /*predefinedData*/
3838
- u[59]) && (r.__value = a, Oe(r, r.__value));
3839
- },
3840
- d(u) {
3841
- u && I(r), s && s.d();
3842
- }
3843
- };
3844
- }
3845
- function Ct(n) {
3846
- let r;
3847
- function t(o, a) {
3848
- return (
3849
- /*limitname*/
3850
- o[6] !== "Time Limit" ? bn : yn
3851
- );
3852
- }
3853
- let i = t(n), e = i(n);
3854
- return {
3855
- c() {
3856
- e.c(), r = Ke();
3857
- },
3858
- m(o, a) {
3859
- e.m(o, a), q(o, r, a);
3860
- },
3861
- p(o, a) {
3862
- i === (i = t(o)) && e ? e.p(o, a) : (e.d(1), e = i(o), e && (e.c(), e.m(r.parentNode, r)));
3863
- },
3864
- d(o) {
3865
- o && I(r), e.d(o);
3866
- }
3867
- };
3868
- }
3869
- function yn(n) {
3870
- let r, t, i, e, o, a;
3871
- function s() {
3872
- n[32].call(
3873
- r,
3874
- /*index*/
3875
- n[58]
3876
- );
3877
- }
3878
- let u = (
3879
- /*invalidIndexes*/
3880
- n[13][
3881
- /*index*/
3882
- n[58]
3883
- ] == 1 && _t(n)
3884
- );
3885
- return {
3886
- c() {
3887
- r = M("input"), i = Q(), e = M("p"), u && u.c(), b(r, "type", "number"), b(r, "class", "AccountEditField AccountEditFieldCustom"), r.disabled = t = /*selectData*/
3888
- n[56].isModified === !0, b(e, "class", "AccountEditWarningText");
3889
- },
3890
- m(l, m) {
3891
- q(l, r, m), Oe(
3892
- r,
3893
- /*storedData*/
3894
- n[17][
3895
- /*index*/
3896
- n[58]
3897
- ].value
3898
- ), q(l, i, m), q(l, e, m), u && u.m(e, null), o || (a = [
3899
- ke(r, "keyup", function() {
3900
- Ze(
3901
- /*checkUserInputAmount*/
3902
- n[24](
3903
- /*storedData*/
3904
- n[17][
3905
- /*index*/
3906
- n[58]
3907
- ],
3908
- /*index*/
3909
- n[58],
3910
- !0,
3911
- /*updatedLimitValues*/
3912
- n[16]
3913
- )
3914
- ) && n[24](
3915
- /*storedData*/
3916
- n[17][
3917
- /*index*/
3918
- n[58]
3919
- ],
3920
- /*index*/
3921
- n[58],
3922
- !0,
3923
- /*updatedLimitValues*/
3924
- n[16]
3925
- ).apply(this, arguments);
3926
- }),
3927
- ke(r, "input", s)
3928
- ], o = !0);
3929
- },
3930
- p(l, m) {
3931
- n = l, m[0] & /*limitsUpdateData*/
3932
- 16384 && t !== (t = /*selectData*/
3933
- n[56].isModified === !0) && (r.disabled = t), m[0] & /*storedData, limitPredefinedData, limitname*/
3934
- 1179712 && He(r.value) !== /*storedData*/
3935
- n[17][
3936
- /*index*/
3937
- n[58]
3938
- ].value && Oe(
3939
- r,
3940
- /*storedData*/
3941
- n[17][
3942
- /*index*/
3943
- n[58]
3944
- ].value
3945
- ), /*invalidIndexes*/
3946
- n[13][
3947
- /*index*/
3948
- n[58]
3949
- ] == 1 ? u ? u.p(n, m) : (u = _t(n), u.c(), u.m(e, null)) : u && (u.d(1), u = null);
3950
- },
3951
- d(l) {
3952
- l && (I(r), I(i), I(e)), u && u.d(), o = !1, Qe(a);
3953
- }
3954
- };
3955
- }
3956
- function bn(n) {
3957
- let r, t, i, e, o, a;
3958
- function s() {
3959
- n[31].call(
3960
- r,
3961
- /*index*/
3962
- n[58]
3963
- );
3964
- }
3965
- let u = (
3966
- /*invalidIndexes*/
3967
- n[13][
3968
- /*index*/
3969
- n[58]
3970
- ] == 1 && Mt(n)
3971
- );
3972
- return {
3973
- c() {
3974
- r = M("input"), i = Q(), e = M("p"), u && u.c(), b(r, "type", "number"), b(r, "class", "AccountEditField AccountEditFieldCustom"), r.disabled = t = /*selectData*/
3975
- n[56].isModified === !0, b(e, "class", "AccountEditWarningText");
3976
- },
3977
- m(l, m) {
3978
- q(l, r, m), Oe(
3979
- r,
3980
- /*storedData*/
3981
- n[17][
3982
- /*index*/
3983
- n[58]
3984
- ].value
3985
- ), q(l, i, m), q(l, e, m), u && u.m(e, null), o || (a = [
3986
- ke(r, "keyup", function() {
3987
- Ze(
3988
- /*checkUserInputAmount*/
3989
- n[24](
3990
- /*storedData*/
3991
- n[17][
3992
- /*index*/
3993
- n[58]
3994
- ],
3995
- /*index*/
3996
- n[58],
3997
- !1,
3998
- /*updatedLimitValues*/
3999
- n[16]
4000
- )
4001
- ) && n[24](
4002
- /*storedData*/
4003
- n[17][
4004
- /*index*/
4005
- n[58]
4006
- ],
4007
- /*index*/
4008
- n[58],
4009
- !1,
4010
- /*updatedLimitValues*/
4011
- n[16]
4012
- ).apply(this, arguments);
4013
- }),
4014
- ke(r, "input", s)
4015
- ], o = !0);
4016
- },
4017
- p(l, m) {
4018
- n = l, m[0] & /*limitsUpdateData*/
4019
- 16384 && t !== (t = /*selectData*/
4020
- n[56].isModified === !0) && (r.disabled = t), m[0] & /*storedData, limitPredefinedData, limitname*/
4021
- 1179712 && He(r.value) !== /*storedData*/
4022
- n[17][
4023
- /*index*/
4024
- n[58]
4025
- ].value && Oe(
4026
- r,
4027
- /*storedData*/
4028
- n[17][
4029
- /*index*/
4030
- n[58]
4031
- ].value
4032
- ), /*invalidIndexes*/
4033
- n[13][
4034
- /*index*/
4035
- n[58]
4036
- ] == 1 ? u ? u.p(n, m) : (u = Mt(n), u.c(), u.m(e, null)) : u && (u.d(1), u = null);
4037
- },
4038
- d(l) {
4039
- l && (I(r), I(i), I(e)), u && u.d(), o = !1, Qe(a);
4040
- }
4041
- };
4042
- }
4043
- function _t(n) {
4044
- let r, t = (
4045
- /*$_*/
4046
- n[18]("invalidInputMessageTime", {
4047
- values: {
4048
- minTime: (
4049
- /*minTimeValue*/
4050
- n[10]
4051
- ),
4052
- maxTime: (
4053
- /*maxTimeValue*/
4054
- n[11]
4055
- )
4056
- }
4057
- }) + ""
4058
- ), i;
4059
- return {
4060
- c() {
4061
- r = M("p"), i = K(t), b(r, "class", "InvalidInput");
4062
- },
4063
- m(e, o) {
4064
- q(e, r, o), f(r, i);
4065
- },
4066
- p(e, o) {
4067
- o[0] & /*$_, minTimeValue, maxTimeValue*/
4068
- 265216 && t !== (t = /*$_*/
4069
- e[18]("invalidInputMessageTime", {
4070
- values: {
4071
- minTime: (
4072
- /*minTimeValue*/
4073
- e[10]
4074
- ),
4075
- maxTime: (
4076
- /*maxTimeValue*/
4077
- e[11]
4078
- )
4079
- }
4080
- }) + "") && oe(i, t);
4081
- },
4082
- d(e) {
4083
- e && I(r);
4084
- }
4085
- };
4086
- }
4087
- function Mt(n) {
4088
- let r, t = (
4089
- /*$_*/
4090
- n[18]("invalidInputMessageLimit") + ""
4091
- ), i;
4092
- return {
4093
- c() {
4094
- r = M("p"), i = K(t), b(r, "class", "InvalidInput");
4095
- },
4096
- m(e, o) {
4097
- q(e, r, o), f(r, i);
4098
- },
4099
- p(e, o) {
4100
- o[0] & /*$_*/
4101
- 262144 && t !== (t = /*$_*/
4102
- e[18]("invalidInputMessageLimit") + "") && oe(i, t);
4103
- },
4104
- d(e) {
4105
- e && I(r);
4106
- }
4107
- };
4108
- }
4109
- function Dt(n) {
4110
- let r, t = (
4111
- /*$_*/
4112
- n[18]("expirationDate") + ""
4113
- ), i, e, o, a = (
4114
- /*selectData*/
4115
- (n[56].expiryDate ? je(new Date(
4116
- /*selectData*/
4117
- n[56].expiryDate
4118
- ), "d/M/yyyy - h:mm a") : "N/A") + ""
4119
- ), s, u, l, m, y, w, p = (
4120
- /*$_*/
4121
- n[18]("changedLimitTextBefore") + ""
4122
- ), E, h, g = (
4123
- /*selectData*/
4124
- (n[56].updateAmount > 0 ? (
4125
- /*selectData*/
4126
- n[56].updateAmount
4127
- ) : 0) + ""
4128
- ), k, L, _ = (
4129
- /*selectData*/
4130
- (n[56].minutes !== void 0 ? " minutes" : (
4131
- /*currency*/
4132
- n[4]
4133
- )) + ""
4134
- ), G, z, B = (
4135
- /*$_*/
4136
- n[18]("changedLimitTextAfter") + ""
4137
- ), ce;
4138
- return {
4139
- c() {
4140
- r = M("p"), i = K(t), e = Q(), o = M("span"), s = K(a), u = Q(), l = M("div"), m = M("p"), y = M("span"), y.textContent = "i", w = M("span"), E = K(p), h = Q(), k = K(g), L = Q(), G = K(_), z = K(". "), ce = K(B), b(r, "class", "AccountEditLimitsExpiryDate"), b(y, "class", "AccountEditLimitChangePeriodIcon"), b(l, "class", "AccountEditLimitsPeriodChangeContainer");
4141
- },
4142
- m(N, $) {
4143
- q(N, r, $), f(r, i), f(r, e), f(r, o), f(o, s), q(N, u, $), q(N, l, $), f(l, m), f(m, y), f(m, w), f(w, E), f(w, h), f(w, k), f(w, L), f(w, G), f(w, z), f(w, ce);
4144
- },
4145
- p(N, $) {
4146
- $[0] & /*$_*/
4147
- 262144 && t !== (t = /*$_*/
4148
- N[18]("expirationDate") + "") && oe(i, t), $[0] & /*limitsUpdateData*/
4149
- 16384 && a !== (a = /*selectData*/
4150
- (N[56].expiryDate ? je(new Date(
4151
- /*selectData*/
4152
- N[56].expiryDate
4153
- ), "d/M/yyyy - h:mm a") : "N/A") + "") && oe(s, a), $[0] & /*$_*/
4154
- 262144 && p !== (p = /*$_*/
4155
- N[18]("changedLimitTextBefore") + "") && oe(E, p), $[0] & /*limitsUpdateData*/
4156
- 16384 && g !== (g = /*selectData*/
4157
- (N[56].updateAmount > 0 ? (
4158
- /*selectData*/
4159
- N[56].updateAmount
4160
- ) : 0) + "") && oe(k, g), $[0] & /*limitsUpdateData, currency*/
4161
- 16400 && _ !== (_ = /*selectData*/
4162
- (N[56].minutes !== void 0 ? " minutes" : (
4163
- /*currency*/
4164
- N[4]
4165
- )) + "") && oe(G, _), $[0] & /*$_*/
4166
- 262144 && B !== (B = /*$_*/
4167
- N[18]("changedLimitTextAfter") + "") && oe(ce, B);
4168
- },
4169
- d(N) {
4170
- N && (I(r), I(u), I(l));
4171
- }
4172
- };
4173
- }
4174
- function Pt(n) {
4175
- let r, t, i = (
4176
- /*$_*/
4177
- n[18]("" + /*selectData*/
4178
- n[56].period.charAt(0).toLowerCase() + /*selectData*/
4179
- n[56].period.substring(1)) + ""
4180
- ), e, o, a, s = (
4181
- /*selectData*/
4182
- n[56].period == /*storedData*/
4183
- n[17][
4184
- /*index*/
4185
- n[58]
4186
- ].period && Tt(n)
4187
- );
4188
- return {
4189
- c() {
4190
- r = M("div"), t = M("p"), e = K(i), o = Q(), s && s.c(), a = Q(), b(t, "class", "AccountEditLimitsTitle"), b(r, "class", "AccountEditLimitsBox");
4191
- },
4192
- m(u, l) {
4193
- q(u, r, l), f(r, t), f(t, e), f(r, o), s && s.m(r, null), f(r, a);
4194
- },
4195
- p(u, l) {
4196
- l[0] & /*$_, limitsUpdateData*/
4197
- 278528 && i !== (i = /*$_*/
4198
- u[18]("" + /*selectData*/
4199
- u[56].period.charAt(0).toLowerCase() + /*selectData*/
4200
- u[56].period.substring(1)) + "") && oe(e, i), /*selectData*/
4201
- u[56].period == /*storedData*/
4202
- u[17][
4203
- /*index*/
4204
- u[58]
4205
- ].period ? s ? s.p(u, l) : (s = Tt(u), s.c(), s.m(r, a)) : s && (s.d(1), s = null);
4206
- },
4207
- d(u) {
4208
- u && I(r), s && s.d();
4209
- }
4210
- };
4211
- }
4212
- function Tn(n) {
4213
- let r, t, i, e, o, a, s, u, l, m, y, w, p = (
4214
- /*$_*/
4215
- n[18]("back") + ""
4216
- ), E, h, g, k, L = (
4217
- /*limitsdata*/
4218
- (n[1] ? (
4219
- /*limitNameTitle*/
4220
- n[9]
4221
- ) : "") + ""
4222
- ), _, G, z, B, ce, N, $, se, H, X, ue, j, ge = (
4223
- /*$_*/
4224
- n[18]("save") + ""
4225
- ), Ce, J, me, _e, ve, de, ye, pe, F = (
4226
- /*isMobile*/
4227
- n[19] && wn(n)
4228
- ), C = (
4229
- /*showsuccessnotification*/
4230
- n[2] && ht(n)
4231
- ), W = (
4232
- /*showdeletenotification*/
4233
- n[3] && gt(n)
4234
- ), ee = (
4235
- /*showLimits*/
4236
- n[8] && bt(n)
4237
- );
4238
- return {
4239
- c() {
4240
- r = M("div"), F && F.c(), t = Q(), i = M("div"), e = he("svg"), o = he("defs"), a = he("style"), s = K(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), u = he("g"), l = he("g"), m = he("path"), y = Q(), w = M("h2"), E = K(p), h = Q(), g = M("div"), k = M("h6"), _ = K(L), G = Q(), z = M("div"), B = M("span"), B.textContent = "i", ce = Q(), N = M("player-account-gaming-limits-popup"), $ = Q(), C && C.c(), se = Q(), W && W.c(), H = Q(), ee && ee.c(), X = Q(), ue = M("div"), j = M("button"), Ce = K(ge), _e = Q(), ve = M("player-account-modal"), de = M("player-account-gaming-limits-confirmation-modal"), b(m, "class", "aaa"), b(m, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), b(m, "transform", "translate(15 15) rotate(180)"), b(l, "transform", "translate(20 158)"), b(u, "transform", "translate(-20 -158)"), b(e, "xmlns", "http://www.w3.org/2000/svg"), b(e, "width", "20"), b(e, "height", "20"), b(e, "viewBox", "0 0 15 15"), b(w, "class", "MyAccountCategoryTitle " + /*isMobile*/
4241
- (n[19] ? "MyAccountCategoryTitleNone" : "")), b(i, "class", "MenuReturnButton " + /*isMobile*/
4242
- (n[19] ? "MyAccountCategoryTitleNone" : "")), b(B, "class", "AccountEditLimitsIcon"), Me(
4243
- N,
4244
- "showpopup",
4245
- /*showPopup*/
4246
- n[7]
4247
- ), Me(
4248
- N,
4249
- "lang",
4250
- /*lang*/
4251
- n[0]
4252
- ), b(z, "class", "AccountEditLimitsIconWrapper"), b(g, "class", "AccountEditLimitsHeader"), b(j, "class", J = "AccountEditLimitsSaveButton " + /*hasDifferences*/
4253
- (n[15] ? "" : "AccountEditLimitsButtonDisabled")), j.disabled = me = !/*hasDifferences*/
4254
- n[15], b(ue, "class", "AccountEditLimitsControlArea"), b(r, "class", "AccountEditLimitsWrapper " + /*isMobile*/
4255
- (n[19] ? "AccountEditLimitsMobileWrapper" : "")), Me(
4256
- de,
4257
- "modaltext",
4258
- /*changeLimitsText*/
4259
- n[12]
4260
- ), Me(de, "modalsource", "groupEdit"), Me(
4261
- de,
4262
- "lang",
4263
- /*lang*/
4264
- n[0]
4265
- );
4266
- },
4267
- m(x, R) {
4268
- q(x, r, R), F && F.m(r, null), f(r, t), f(r, i), f(i, e), f(e, o), f(o, a), f(a, s), f(e, u), f(u, l), f(l, m), f(i, y), f(i, w), f(w, E), f(r, h), f(r, g), f(g, k), f(k, _), f(g, G), f(g, z), f(z, B), f(z, ce), f(z, N), f(r, $), C && C.m(r, null), f(r, se), W && W.m(r, null), f(r, H), ee && ee.m(r, null), f(r, X), f(r, ue), f(ue, j), f(j, Ce), n[34](r), q(x, _e, R), q(x, ve, R), f(ve, de), ye || (pe = [
4269
- ke(
4270
- i,
4271
- "click",
4272
- /*switchToLimitsGroupView*/
4273
- n[22]
4274
- ),
4275
- ke(B, "click", ir(
4276
- /*openInfoPopup*/
4277
- n[21]
4278
- )),
4279
- ke(
4280
- j,
4281
- "click",
4282
- /*click_handler*/
4283
- n[33]
4284
- )
4285
- ], ye = !0);
4286
- },
4287
- p(x, R) {
4288
- /*isMobile*/
4289
- x[19] && F.p(x, R), R[0] & /*$_*/
4290
- 262144 && p !== (p = /*$_*/
4291
- x[18]("back") + "") && oe(E, p), R[0] & /*limitsdata, limitNameTitle*/
4292
- 514 && L !== (L = /*limitsdata*/
4293
- (x[1] ? (
4294
- /*limitNameTitle*/
4295
- x[9]
4296
- ) : "") + "") && oe(_, L), R[0] & /*showPopup*/
4297
- 128 && Me(
4298
- N,
4299
- "showpopup",
4300
- /*showPopup*/
4301
- x[7]
4302
- ), R[0] & /*lang*/
4303
- 1 && Me(
4304
- N,
4305
- "lang",
4306
- /*lang*/
4307
- x[0]
4308
- ), /*showsuccessnotification*/
4309
- x[2] ? C ? C.p(x, R) : (C = ht(x), C.c(), C.m(r, se)) : C && (C.d(1), C = null), /*showdeletenotification*/
4310
- x[3] ? W ? W.p(x, R) : (W = gt(x), W.c(), W.m(r, H)) : W && (W.d(1), W = null), /*showLimits*/
4311
- x[8] ? ee ? ee.p(x, R) : (ee = bt(x), ee.c(), ee.m(r, X)) : ee && (ee.d(1), ee = null), R[0] & /*$_*/
4312
- 262144 && ge !== (ge = /*$_*/
4313
- x[18]("save") + "") && oe(Ce, ge), R[0] & /*hasDifferences*/
4314
- 32768 && J !== (J = "AccountEditLimitsSaveButton " + /*hasDifferences*/
4315
- (x[15] ? "" : "AccountEditLimitsButtonDisabled")) && b(j, "class", J), R[0] & /*hasDifferences*/
4316
- 32768 && me !== (me = !/*hasDifferences*/
4317
- x[15]) && (j.disabled = me), R[0] & /*changeLimitsText*/
4318
- 4096 && Me(
4319
- de,
4320
- "modaltext",
4321
- /*changeLimitsText*/
4322
- x[12]
4323
- ), R[0] & /*lang*/
4324
- 1 && Me(
4325
- de,
4326
- "lang",
4327
- /*lang*/
4328
- x[0]
4329
- );
4330
- },
4331
- i: nt,
4332
- o: nt,
4333
- d(x) {
4334
- x && (I(r), I(_e), I(ve)), F && F.d(), C && C.d(), W && W.d(), ee && ee.d(), n[34](null), ye = !1, Qe(pe);
4335
- }
4336
- };
4337
- }
4338
- function Ln(n, r, t) {
4339
- let i;
4340
- nr(n, ar, (c) => t(18, i = c));
4341
- let { limitsdata: e = [] } = r, { showsuccessnotification: o = !1 } = r, { showdeletenotification: a = !1 } = r, { currency: s = "" } = r, { lang: u = "en" } = r, { separatelimits: l = "true" } = r, { clientstyling: m = "" } = r, { clientstylingurl: y = "" } = r, { mbsource: w } = r, { translationurl: p = "" } = r;
4342
- const E = () => {
4343
- fetch(p).then((T) => T.json()).then((T) => {
4344
- Object.keys(T).forEach((ie) => {
4345
- mt(ie, T[ie]);
4346
- });
4347
- }).catch((T) => {
4348
- console.log(T);
4349
- });
4350
- };
4351
- Object.keys(dt).forEach((c) => {
4352
- mt(c, dt[c]);
4353
- });
4354
- let h, g, k = !1, L = !1, _ = "", G = !1, z = 0, B = 0, ce = "", N = window.navigator.userAgent, $ = or(N) !== "PC", se = new Array(3).fill(0), H = {}, X = [], ue = [], j = !1, ge = [];
4355
- const Ce = {
4356
- amount: /^[0-9]{0,8}$/,
4357
- time: /^[1-9]\d*$/
4358
- };
4359
- let J = [
4360
- {
4361
- period: "Daily",
4362
- amount: "No limit",
4363
- value: 0
4364
- },
4365
- {
4366
- period: "Weekly",
4367
- amount: "No limit",
4368
- value: 0
4369
- },
4370
- {
4371
- period: "Monthly",
4372
- amount: "No limit",
4373
- value: 0
4374
- }
4375
- ], me = [
4376
- {
4377
- period: "Daily",
4378
- values: ["10000", "20000", "50000", "No limit", "Custom"]
4379
- },
4380
- {
4381
- period: "Weekly",
4382
- values: ["10000", "50000", "100000", "No limit", "Custom"]
4383
- },
4384
- {
4385
- period: "Monthly",
4386
- values: ["50000", "100000", "200000", "No limit", "Custom"]
4387
- }
4388
- ], _e = [
4389
- {
4390
- period: "Daily",
4391
- values: ["5000", "7000", "10000", "No limit", "Custom"]
4392
- },
4393
- {
4394
- period: "Weekly",
4395
- values: ["25000", "50000", "100000", "No limit", "Custom"]
4396
- },
4397
- {
4398
- period: "Monthly",
4399
- values: ["125000", "175000", "200000", "No limit", "Custom"]
4400
- }
4401
- ], ve = [
4402
- {
4403
- period: "Daily",
4404
- values: ["5000", "7000", "10000", "No limit", "Custom"]
4405
- },
4406
- {
4407
- period: "Weekly",
4408
- values: ["25000", "50000", "100000", "No limit", "Custom"]
4409
- },
4410
- {
4411
- period: "Monthly",
4412
- values: ["125000", "175000", "200000", "No limit", "Custom"]
4413
- }
4414
- ], de = [
4415
- {
4416
- period: "Daily",
4417
- values: ["500", "1000", "1430", "No limit", "Custom"]
4418
- },
4419
- {
4420
- period: "Weekly",
4421
- values: ["5000", "7000", "10000", "No limit", "Custom"]
4422
- },
4423
- {
4424
- period: "Monthly",
4425
- values: ["20000", "30000", "43000", "No limit", "Custom"]
4426
- }
4427
- ];
4428
- const ye = /* @__PURE__ */ new Map([
4429
- ["Deposit Limit", "depositLimits"],
4430
- ["Time Limit", "cumulativeSessionLimits"],
4431
- ["Wagering Limit", "wageringLimits"],
4432
- ["Loss Limit", "lossLimits"]
4433
- ]), pe = /* @__PURE__ */ new Map([
4434
- ["Deposit Limit", me],
4435
- ["Time Limit", de],
4436
- ["Wagering Limit", _e],
4437
- ["Loss Limit", ve]
4438
- ]), F = () => {
4439
- t(7, k = !0);
4440
- }, C = () => {
4441
- window.postMessage({ type: "PlayerAccountBackToLimitsView" }, window.location.href);
4442
- }, W = () => {
4443
- window.postMessage({ type: "ShowLimitsConfirmationModal" }, window.location.href);
4444
- }, ee = () => {
4445
- if (G) {
4446
- h === "Time Limit" ? J.forEach((T) => {
4447
- if (l == "true") {
4448
- if (T.value != 0) {
4449
- let ie = { period: T.period, minutes: T.value };
4450
- X.push(ie);
4451
- }
4452
- } else
4453
- H.forEach((ie) => {
4454
- ie.period === T.period && (ie.minutes = T.value);
4455
- });
4456
- }) : J.forEach((T) => {
4457
- if (l == "true") {
4458
- if (T.value != 0) {
4459
- let ie = {
4460
- period: T.period,
4461
- amount: T.value,
4462
- currency: s
4463
- };
4464
- X.push(ie);
4465
- }
4466
- } else
4467
- H.forEach((ie) => {
4468
- ie.period === T.period && (ie.amount = T.value, ie.currency = s);
4469
- });
4470
- });
4471
- let c = {};
4472
- l == "true" ? c = {
4473
- [ye.get(h)]: [...X]
4474
- } : c = {
4475
- [ye.get(h)]: [...H]
4476
- }, X.length = 0, window.postMessage(
4477
- {
4478
- type: "PlayerAccountGamingLimitsUpdate",
4479
- payload: c,
4480
- limitsCategory: ye.get(h)
4481
- },
4482
- window.location.href
4483
- ), t(15, j = !1);
4484
- }
4485
- }, x = (c, T, ie, ae) => {
4486
- switch (c.amount) {
4487
- case "Custom":
4488
- if (h == "Time Limit")
4489
- if (t(10, z = 60), c.period === "Daily" ? t(11, B = 1440) : c.period == "Weekly" ? t(11, B = 10080) : t(11, B = 43200), c.value && Ce.time.test(c.value) && c.value > z && c.value <= B) {
4490
- t(13, se[T] = 0, se);
4491
- let fe = ae[T];
4492
- c.period == fe.period && c.value == fe.amount ? (t(15, j = !1), R(c, ae)) : t(15, j = !0);
4493
- } else
4494
- t(13, se[T] = 1, se), t(15, j = !1);
4495
- else
4496
- c.value && Ce.amount.test(c.value) ? (t(13, se[T] = 0, se), c.period == ae[T].period && c.value == ae[T].amount ? (t(15, j = !!j), R(c, ae)) : t(15, j = !0), l != "true" && J.forEach((fe) => {
4497
- fe.value == 0 && t(15, j = !1);
4498
- })) : (t(13, se[T] = 1, se), t(15, j = !1));
4499
- break;
4500
- default:
4501
- c.period == ae[T].period ? (R(c, ae), t(15, j = c.value != ae[T].amount)) : t(15, j = !0), J.forEach((fe) => {
4502
- (fe.value == 0 && l != "true" || fe.amount == "Custom" && !Ce.amount.test(fe.value.toString())) && t(15, j = !1);
4503
- });
4504
- break;
4505
- }
4506
- }, R = (c, T) => {
4507
- let ie = JSON.parse(JSON.stringify(T));
4508
- J.forEach((ae) => {
4509
- ie.forEach((fe) => {
4510
- ae.period == c.period && (ae.amount !== "Custom" && ae.amount !== "No limit" ? ae.value = JSON.parse(ae.amount) : ae.amount === "No limit" && (ae.value = 0)), fe.period === ae.period && (fe.amount = ae.value);
4511
- });
4512
- });
4513
- }, Ye = (c, T, ie, ae) => {
4514
- let fe = c.values;
4515
- !T.amount || T.amount === "No limit" ? ie.forEach((we) => {
4516
- we.period === T.period && (we.amount = T.amount, we.value = 0);
4517
- }) : fe.includes(JSON.stringify(T.amount)) ? ie.forEach((we) => {
4518
- we.period === T.period && (we.amount = JSON.stringify(T.amount), we.value = T.amount);
4519
- }) : ie.forEach((we) => {
4520
- we.period === T.period && (we.amount = "Custom", we.value = T.amount);
4521
- });
4522
- }, Be = (c) => {
4523
- ue.forEach((T) => {
4524
- c.period === T.period && (h === "Time Limit" && (t(10, z = 60), c.period === "Daily" ? t(11, B = 1440) : c.period == "Weekly" ? t(11, B = 10080) : t(11, B = 43200)), T.values.indexOf(c.amount) > -1 && (c.amount === "No limit" ? c.amount = 0 : c.amount = JSON.parse(c.amount)));
4525
- });
4526
- }, Qt = () => {
4527
- ge.forEach((c) => {
4528
- Be(c);
4529
- }), H.forEach((c) => {
4530
- ue.forEach((T) => {
4531
- c.period === T.period && Ye(T, c, J);
4532
- });
4533
- });
4534
- }, rt = () => {
4535
- let c = "";
4536
- c = h === "Time Limit" ? "time limit" : h === "Deposit Limit" ? "deposit limit" : h === "Wagering Limit" ? "wagering limit" : "loss limit", t(12, ce = i("changeLimitsText", { values: { limit: c } }));
4537
- }, Ge = () => {
4538
- hn(u), rt(), t(16, ge = JSON.parse(JSON.stringify(e))), t(14, H = JSON.parse(JSON.stringify(e))), ue = h === "Wagering Limit" ? _e : h === "Loss Limit" ? ve : h === "Deposit Limit" ? me : h === "Time Limit" ? de : [], Qt();
4539
- }, it = (c) => {
4540
- if (c.data)
4541
- switch (c.data.type) {
4542
- case "LanguageChanged":
4543
- t(0, u = c.data.lang), rt();
4544
- break;
4545
- case "EditPlayerLimit":
4546
- t(
4547
- 6,
4548
- h = c.data.name
4549
- ), t(9, _ = i(h.charAt(0).toLowerCase() + h.substring(1).replace(/\s/g, ""))), Ge(), t(8, L = !0);
4550
- break;
4551
- case "ClosePlayerAccountGamingLimitsPopup":
4552
- t(7, k = !1);
4553
- break;
4554
- case "GamingLimitsConfirmChanges":
4555
- G = !0, ee();
4556
- break;
4557
- case "CancelGamingLimitsChanges":
4558
- t(8, L = !1), setTimeout(
4559
- () => {
4560
- t(8, L = !0);
4561
- },
4562
- 10
4563
- ), Ge(), t(15, j = !1), G = !1;
4564
- break;
4565
- }
4566
- };
4567
- sr(() => (window.addEventListener("message", it, !1), () => {
4568
- window.removeEventListener("message", it);
4569
- }));
4570
- function Gt(c) {
4571
- J[c].amount = ur(this), t(17, J), t(20, pe), t(6, h);
4572
- }
4573
- function zt(c) {
4574
- J[c].value = He(this.value), t(17, J), t(20, pe), t(6, h);
4575
- }
4576
- function Vt(c) {
4577
- J[c].value = He(this.value), t(17, J), t(20, pe), t(6, h);
4578
- }
4579
- const Xt = () => W();
4580
- function Jt(c) {
4581
- lr[c ? "unshift" : "push"](() => {
4582
- g = c, t(5, g);
4583
- });
4584
- }
4585
- return n.$$set = (c) => {
4586
- "limitsdata" in c && t(1, e = c.limitsdata), "showsuccessnotification" in c && t(2, o = c.showsuccessnotification), "showdeletenotification" in c && t(3, a = c.showdeletenotification), "currency" in c && t(4, s = c.currency), "lang" in c && t(0, u = c.lang), "separatelimits" in c && t(25, l = c.separatelimits), "clientstyling" in c && t(26, m = c.clientstyling), "clientstylingurl" in c && t(27, y = c.clientstylingurl), "mbsource" in c && t(28, w = c.mbsource), "translationurl" in c && t(29, p = c.translationurl);
4587
- }, n.$$.update = () => {
4588
- n.$$.dirty[0] & /*showsuccessnotification, showdeletenotification*/
4589
- 12 && o && a && Ge(), n.$$.dirty[0] & /*limitsdata, lang*/
4590
- 3, n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4591
- 67108896 && m && g && mr(g, m), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4592
- 134217760 && y && g && dr(g, y), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
4593
- 268435488 && w && g && fr(g, `${w}.Style`), n.$$.dirty[0] & /*translationurl*/
4594
- 536870912 && p && E();
4595
- }, [
4596
- u,
4597
- e,
4598
- o,
4599
- a,
4600
- s,
4601
- g,
4602
- h,
4603
- k,
4604
- L,
4605
- _,
4606
- z,
4607
- B,
4608
- ce,
4609
- se,
4610
- H,
4611
- j,
4612
- ge,
4613
- J,
4614
- i,
4615
- $,
4616
- pe,
4617
- F,
4618
- C,
4619
- W,
4620
- x,
4621
- l,
4622
- m,
4623
- y,
4624
- w,
4625
- p,
4626
- Gt,
4627
- zt,
4628
- Vt,
4629
- Xt,
4630
- Jt
4631
- ];
4632
- }
4633
- class Rt extends $t {
4634
- constructor(r) {
4635
- super(), er(
4636
- this,
4637
- r,
4638
- Ln,
4639
- Tn,
4640
- tr,
4641
- {
4642
- limitsdata: 1,
4643
- showsuccessnotification: 2,
4644
- showdeletenotification: 3,
4645
- currency: 4,
4646
- lang: 0,
4647
- separatelimits: 25,
4648
- clientstyling: 26,
4649
- clientstylingurl: 27,
4650
- mbsource: 28,
4651
- translationurl: 29
4652
- },
4653
- gn,
4654
- [-1, -1, -1]
4655
- );
4656
- }
4657
- get limitsdata() {
4658
- return this.$$.ctx[1];
4659
- }
4660
- set limitsdata(r) {
4661
- this.$$set({ limitsdata: r }), be();
4662
- }
4663
- get showsuccessnotification() {
4664
- return this.$$.ctx[2];
4665
- }
4666
- set showsuccessnotification(r) {
4667
- this.$$set({ showsuccessnotification: r }), be();
4668
- }
4669
- get showdeletenotification() {
4670
- return this.$$.ctx[3];
4671
- }
4672
- set showdeletenotification(r) {
4673
- this.$$set({ showdeletenotification: r }), be();
4674
- }
4675
- get currency() {
4676
- return this.$$.ctx[4];
4677
- }
4678
- set currency(r) {
4679
- this.$$set({ currency: r }), be();
4680
- }
4681
- get lang() {
4682
- return this.$$.ctx[0];
4683
- }
4684
- set lang(r) {
4685
- this.$$set({ lang: r }), be();
4686
- }
4687
- get separatelimits() {
4688
- return this.$$.ctx[25];
4689
- }
4690
- set separatelimits(r) {
4691
- this.$$set({ separatelimits: r }), be();
4692
- }
4693
- get clientstyling() {
4694
- return this.$$.ctx[26];
4695
- }
4696
- set clientstyling(r) {
4697
- this.$$set({ clientstyling: r }), be();
4698
- }
4699
- get clientstylingurl() {
4700
- return this.$$.ctx[27];
4701
- }
4702
- set clientstylingurl(r) {
4703
- this.$$set({ clientstylingurl: r }), be();
4704
- }
4705
- get mbsource() {
4706
- return this.$$.ctx[28];
4707
- }
4708
- set mbsource(r) {
4709
- this.$$set({ mbsource: r }), be();
4710
- }
4711
- get translationurl() {
4712
- return this.$$.ctx[29];
4713
- }
4714
- set translationurl(r) {
4715
- this.$$set({ translationurl: r }), be();
4716
- }
4717
- }
4718
- vr(Rt, { limitsdata: {}, showsuccessnotification: { type: "Boolean" }, showdeletenotification: { type: "Boolean" }, currency: {}, lang: {}, separatelimits: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4719
- const xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4720
- __proto__: null,
4721
- default: Rt
4722
- }, Symbol.toStringTag, { value: "Module" }));
4723
- export {
4724
- xn as P,
4725
- Dn as a,
4726
- Pn as e,
4727
- je as f,
4728
- En as g,
4729
- On as p,
4730
- An as s
4731
- };