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