@everymatrix/player-account-controller-nd 1.65.0 → 1.65.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-C6SVgUtg.js → GeneralLogout-D_LZ6noj.js} +874 -853
- package/components/GeneralLogout-Dzu2Sl-x.cjs +21 -0
- package/components/{GeneralLogout-DfKsCxwv.js → GeneralLogout-PryurO1h.js} +934 -913
- package/components/PlayerAccountBettingHistory-BtDZukYI.cjs +1 -0
- package/components/PlayerAccountBettingHistory-BzAXq1xX.js +329 -0
- package/components/PlayerAccountBettingHistory-CwTEYOIN.js +328 -0
- package/components/{PlayerAccountBiometrics-BYO39i9p.cjs → PlayerAccountBiometrics-CEEVheLt.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-Kq_RsCQX.js → PlayerAccountBiometrics-CtLvJg_Q.js} +22 -22
- package/components/{PlayerAccountBiometrics-DkdsS2L0.js → PlayerAccountBiometrics-DIkqSnzX.js} +22 -22
- package/components/{PlayerAccountClosureNd-CKg9Baj3.cjs → PlayerAccountClosureNd-Cn1XZe_j.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-BWwH10vQ.js → PlayerAccountClosureNd-DQAZanjf.js} +24 -24
- package/components/{PlayerAccountClosureNd-wAx9yEJc.js → PlayerAccountClosureNd-DrVdnKee.js} +24 -24
- package/components/{PlayerAccountControllerNd-D_A4CqYL.cjs → PlayerAccountControllerNd-CKctddtR.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-DxnZLTok.js → PlayerAccountControllerNd-C_OCpw4E.js} +308 -308
- package/components/{PlayerAccountControllerNd-DRGcMfBR.js → PlayerAccountControllerNd-DkFB8p5R.js} +310 -310
- package/components/{PlayerAccountGamingLimits-holo1MMT.js → PlayerAccountGamingLimits-BwempsG_.js} +127 -127
- package/components/{PlayerAccountGamingLimits-DqESzYnB.js → PlayerAccountGamingLimits-C5fcaaR5.js} +127 -127
- package/components/{PlayerAccountGamingLimits-KgH8rpfi.cjs → PlayerAccountGamingLimits-DZBzKFyv.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Bhw66Tfe.js → PlayerAccountGamingLimitsConfirmationModal-BzaZH1VM.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-B5DdL-Qq.cjs → PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Dvenc_fN.js → PlayerAccountGamingLimitsConfirmationModal-CxFJV4Qq.js} +30 -30
- package/components/PlayerAccountGamingLimitsGroupEdit-BvnqlbPp.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-C_MVqJrM.js → PlayerAccountGamingLimitsGroupEdit-D0hqXEY4.js} +54 -56
- package/components/{PlayerAccountGamingLimitsGroupEdit-ieNo2cu3.js → PlayerAccountGamingLimitsGroupEdit-DVvwhjK6.js} +54 -56
- package/components/{PlayerAccountGamingLimitsHistory2Nd-D6VhX20D.js → PlayerAccountGamingLimitsHistory2Nd-DrMT268T.js} +192 -192
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DFtdC_JJ.cjs → PlayerAccountGamingLimitsHistory2Nd-juZ45FBC.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BYhgU7A1.js → PlayerAccountGamingLimitsHistory2Nd-p3iqTl1u.js} +199 -199
- package/components/{PlayerAccountGamingLimitsInfoCard-BkC1pEYB.js → PlayerAccountGamingLimitsInfoCard-BiYcxWjN.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-BTuHyEBL.cjs → PlayerAccountGamingLimitsInfoCard-DWbZBNtU.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DYMLRkmw.js → PlayerAccountGamingLimitsInfoCard-dUq3DIBx.js} +83 -83
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-D_-44uhs.js → PlayerAccountGamingLimitsPage2Gm16Nd-B3S3aE0o.js} +88 -88
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DYB6LvM1.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-CWcAVks7.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BBfFDN-M.js → PlayerAccountGamingLimitsPage2Gm16Nd-HpGAoH_E.js} +88 -88
- package/components/{PlayerAccountGamingLimitsPopup-CBf5w2kb.js → PlayerAccountGamingLimitsPopup-B5CoTG_T.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-DySvpnhJ.cjs → PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DS9FtNcO.js → PlayerAccountGamingLimitsPopup-CzDFUbRs.js} +42 -42
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-jbKHBghb.js → PlayerAccountGamingLimitsWrapper2Nd-4ZYALP2a.js} +36 -36
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-C0BdSozJ.cjs → PlayerAccountGamingLimitsWrapper2Nd-CErgPgvk.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-Dzm9l83P.js → PlayerAccountGamingLimitsWrapper2Nd-fpNsXAyX.js} +36 -36
- package/components/{PlayerAccountGeneralConfirmationModal-Q91oIY0f.cjs → PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-B4Fy1vtG.js → PlayerAccountGeneralConfirmationModal-Byd2u6b9.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-DMA5_Y_R.js → PlayerAccountGeneralConfirmationModal-C4zwKDdb.js} +34 -34
- package/components/{PlayerAccountMenuNd-DfYUoWLg.cjs → PlayerAccountMenuNd-BFdU3ZXb.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-DMULzOU_.js → PlayerAccountMenuNd-Cs9UjL2S.js} +32 -32
- package/components/{PlayerAccountMenuNd-ktgntefw.js → PlayerAccountMenuNd-Cx7Fxjin.js} +29 -29
- package/components/{PlayerAccountModal-CGYPes0F.js → PlayerAccountModal-DHs1T-B4.js} +42 -42
- package/components/{PlayerAccountModal--0zxODF3.cjs → PlayerAccountModal-SsGlrcmj.cjs} +1 -1
- package/components/{PlayerAccountModal-VzSk1pK3.js → PlayerAccountModal-iZqtQZF3.js} +42 -42
- package/components/{PlayerAccountNotifications-ZlHcSMKn.js → PlayerAccountNotifications-BjAtYQls.js} +120 -120
- package/components/{PlayerAccountNotifications-CyIiR2OQ.js → PlayerAccountNotifications-bjLmyXO3.js} +35 -35
- package/components/{PlayerAccountNotifications-B29nfxe5.cjs → PlayerAccountNotifications-ejASOsrU.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-D2RKtCoz.js → PlayerAccountSelfExclusionNd-Bp0d5NtF.js} +777 -773
- package/components/{PlayerAccountSelfExclusionNd-DcbJdmPf.js → PlayerAccountSelfExclusionNd-CeQNwGUh.js} +782 -778
- package/components/{PlayerAccountSelfExclusionNd-BcXmkWN5.cjs → PlayerAccountSelfExclusionNd-SQnudIeJ.cjs} +77 -77
- package/components/{PlayerAccountTimeout-AhPa2GAR.cjs → PlayerAccountTimeout-BJR8x6Ir.cjs} +1 -1
- package/components/{PlayerAccountTimeout-DYd8oHzz.js → PlayerAccountTimeout-CxUnQBuB.js} +74 -74
- package/components/{PlayerAccountTimeout-EEOciDvy.js → PlayerAccountTimeout-WxW7Vcfz.js} +74 -74
- package/components/{PlayerAccountTransactionsHistory-luOm9cLI.js → PlayerAccountTransactionsHistory-BvJ2fnPY.js} +2237 -2261
- package/components/{PlayerAccountTransactionsHistory-bBLXLKfh.cjs → PlayerAccountTransactionsHistory-DV6Lliwo.cjs} +202 -202
- package/components/{PlayerAccountTransactionsHistory-DTn6153M.js → PlayerAccountTransactionsHistory-weX9yWak.js} +2044 -2028
- package/components/{PlayerActiveBonuses-ysBH5Mf0.cjs → PlayerActiveBonuses-CVhSMdRf.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CkHRSbaE.js → PlayerActiveBonuses-DbYy8R7L.js} +54 -54
- package/components/{PlayerActiveBonuses-KJx5ryn-.js → PlayerActiveBonuses-ednos3wt.js} +52 -52
- package/components/{PlayerBonusCard-B2CAV5ma.cjs → PlayerBonusCard-BNNcjGWn.cjs} +1 -1
- package/components/{PlayerBonusCard-9KhufIpY.js → PlayerBonusCard-C0Z6YeQL.js} +54 -54
- package/components/{PlayerBonusCard-C1O1skMO.js → PlayerBonusCard-CYnvLBMF.js} +54 -54
- package/components/{PlayerBonusHistory-Pyqm_-5W.js → PlayerBonusHistory-CM-gMjlY.js} +33 -33
- package/components/{PlayerBonusHistory-Bw07exWD.js → PlayerBonusHistory-DinAEUrx.js} +33 -33
- package/components/{PlayerBonusHistory-rsj0T9Fh.cjs → PlayerBonusHistory-DorlLTd1.cjs} +1 -1
- package/components/{PlayerChangePassword-DrC7TYG-.js → PlayerChangePassword-BcqVozRi.js} +54 -54
- package/components/{PlayerChangePassword-CdPJNADk.js → PlayerChangePassword-BeIHgM2j.js} +54 -54
- package/components/{PlayerChangePassword-CG0yyj8N.cjs → PlayerChangePassword-LgjKzYU1.cjs} +1 -1
- package/components/{PlayerDeposit-yFis4xl0.js → PlayerDeposit-CHnzNVZy.js} +80 -80
- package/components/PlayerDeposit-Dzg8Ltb1.cjs +1 -0
- package/components/{PlayerDeposit-BMWzlG2-.js → PlayerDeposit-N7o3ip4d.js} +80 -80
- package/components/{PlayerGamingHistory-BQusIfO4.js → PlayerGamingHistory-CbHSH7UQ.js} +83 -83
- package/components/{PlayerGamingHistory-wHrGUw_d.cjs → PlayerGamingHistory-D2D9wm2O.cjs} +1 -1
- package/components/{PlayerGamingHistory-5HKDsmu3.js → PlayerGamingHistory-pa7KWkEL.js} +84 -84
- package/components/{PlayerPendingWithdrawals-bL-txpqs.js → PlayerPendingWithdrawals-B2WyLuNV.js} +26 -26
- package/components/{PlayerPendingWithdrawals-CrNEhXdS.cjs → PlayerPendingWithdrawals-BMwtFNQT.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DXDpNvc0.js → PlayerPendingWithdrawals-CRRuYNXr.js} +26 -26
- package/components/{PlayerProfileInfo-CtxoazNR.js → PlayerProfileInfo-8ER8t_W6.js} +140 -140
- package/components/{PlayerProfileInfo-6mDS69te.cjs → PlayerProfileInfo-D5YZWH2T.cjs} +2 -2
- package/components/{PlayerProfileInfo-BNiKul5r.js → PlayerProfileInfo-D6LqZyUL.js} +130 -130
- package/components/{PlayerRealityCheck-Ds04nfYK.cjs → PlayerRealityCheck-BrVF76qp.cjs} +1 -1
- package/components/{PlayerRealityCheck-D1YPRqrN.js → PlayerRealityCheck-C7EUl18t.js} +43 -43
- package/components/{PlayerRealityCheck-BMQN-vPH.js → PlayerRealityCheck-RsT9a67Q.js} +44 -44
- package/components/{PlayerTransactionHistory-CPYk3YFO.cjs → PlayerTransactionHistory-4VtQqLAc.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BwMVf693.js → PlayerTransactionHistory-BQlWb-B9.js} +19 -19
- package/components/{PlayerTransactionHistory-CjiTH9aE.js → PlayerTransactionHistory-DyBRNwAw.js} +19 -19
- package/components/{PlayerWithdrawal-9DnL98EG.cjs → PlayerWithdrawal-BMLgaRLc.cjs} +1 -1
- package/components/{PlayerWithdrawal-BE8JBn_B.js → PlayerWithdrawal-C6_CSTeL.js} +19 -19
- package/components/{PlayerWithdrawal-JE73Z0UZ.js → PlayerWithdrawal-CgR0BwqA.js} +19 -19
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_9-DxxBgpIV.js → checkbox-group-input_9-B_Jl5XYl.js} +11 -13
- package/stencil/{checkbox-group-input_9-xMMv-SfR.js → checkbox-group-input_9-BubdPaeo.js} +11 -13
- package/stencil/checkbox-group-input_9-BvAcuPzL.cjs +2 -0
- package/stencil/{general-input-CVjXxxqF.js → general-input-BRLohAp9.js} +1241 -1247
- package/stencil/{general-input-BcGIo_EB.cjs → general-input-BjwgkYic.cjs} +199 -199
- package/stencil/{general-input-B6lDYfSh.js → general-input-CZRDVuGV.js} +1243 -1249
- package/stencil/index-1ef3a64c-BNosNJnU.js +572 -0
- package/stencil/index-1ef3a64c-CFvPR_NP.cjs +1 -0
- package/stencil/index-1ef3a64c-DsTe-fF4.js +556 -0
- package/stencil/index-7c5e707a-C9R6jYpt.js +616 -0
- package/stencil/index-7c5e707a-DvxqcEpc.js +643 -0
- package/stencil/index-7c5e707a-ESX_oqGB.cjs +1 -0
- package/stencil/index-9c0f6c58-BNoMpTuB.js +576 -0
- package/stencil/index-9c0f6c58-DkHHwpww.cjs +1 -0
- package/stencil/{index-9c0f6c58-B0-civ7s.js → index-9c0f6c58-pr1WGVFu.js} +197 -197
- package/stencil/index-9cd44522-CbUzJsuK.js +610 -0
- package/stencil/index-9cd44522-NqpP4xs6.js +626 -0
- package/stencil/index-9cd44522-WdjpTA2U.cjs +1 -0
- package/stencil/index-b2193545-CnMZ4-Ff.js +519 -0
- package/stencil/index-b2193545-Ct5AhxM8.cjs +1 -0
- package/stencil/index-b2193545-DePry399.js +503 -0
- package/stencil/password-input_2-8BNshhaU.cjs +193 -0
- package/stencil/{password-input_2-CY6VCkNu.js → password-input_2-DIwo3oT2.js} +3 -3
- package/stencil/{password-input_2-CpFh-8sU.js → password-input_2-DhPkhv-D.js} +3 -3
- package/stencil/{player-change-password-gm2-5cb5c6c1-CjE8zFhv.js → player-change-password-gm2-5cb5c6c1-BsO6atoJ.js} +1 -1
- package/stencil/{player-change-password-gm2-5cb5c6c1-DGWK_k5e.js → player-change-password-gm2-5cb5c6c1-C0AlgHfx.js} +1 -1
- package/stencil/{player-change-password-gm2-5cb5c6c1-Ct7ATwPX.cjs → player-change-password-gm2-5cb5c6c1-ij_CKxBn.cjs} +1 -1
- package/stencil/{player-change-password-gm2-cmkXxbnh.js → player-change-password-gm2-ALHM57bi.js} +1 -1
- package/stencil/{player-change-password-gm2-Be8x3UTo.cjs → player-change-password-gm2-ZOlHswn0.cjs} +1 -1
- package/stencil/{player-change-password-gm2-CSuxaewE.js → player-change-password-gm2-bVKmVTiQ.js} +1 -1
- package/stencil/{player-kyc-verification-Dp9CHVsP.js → player-kyc-verification-CUhrMPde.js} +1 -1
- package/stencil/{player-kyc-verification-DVxMFMcR.cjs → player-kyc-verification-DAy-szI5.cjs} +1 -1
- package/stencil/{player-kyc-verification-COYo0JVK.js → player-kyc-verification-DPUx1txP.js} +1 -1
- package/stencil/toggle-checkbox-input-D3dpAI79.cjs +1 -0
- package/stencil/{toggle-checkbox-input-Dp48ZxWV.js → toggle-checkbox-input-LjmhdQte.js} +2 -2
- package/stencil/{toggle-checkbox-input-CgD7_GVW.js → toggle-checkbox-input-hUEi-Cj3.js} +2 -2
- package/stencil/{ui-skeleton-1cb75d00-yf8wpqiZ.js → ui-skeleton-1cb75d00-BI5A-j0y.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-BVFyqHeR.cjs → ui-skeleton-1cb75d00-Batko5iK.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-r2uxMI-v.js → ui-skeleton-1cb75d00-CwDKR1VD.js} +1 -1
- package/stencil/{ui-skeleton-CB3h08KY.js → ui-skeleton-C974aG7g.js} +2 -2
- package/stencil/{ui-skeleton-MSanR8Xu.js → ui-skeleton-DoX-UmRU.js} +2 -2
- package/stencil/{ui-skeleton-BQ87Vnrb.cjs → ui-skeleton-t0bb1jH7.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-BbYNbmTz.js → user-deposit-withdrawal-C7W58646.js} +1 -1
- package/stencil/{user-deposit-withdrawal-CIbBQQQO.cjs → user-deposit-withdrawal-Dfu_1g2v.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-3Ylq7hQR.js → user-deposit-withdrawal-Dzz_fEvK.js} +1 -1
- package/stencil/{user-transaction-history-BYaNkpQr.js → user-transaction-history-BAK7MHHa.js} +1 -1
- package/stencil/{user-transaction-history-a8uSzFHr.js → user-transaction-history-DhQ6RqNc.js} +1 -1
- package/stencil/{user-transaction-history-Bi_uuYtB.cjs → user-transaction-history-DiRXpfbN.cjs} +1 -1
- package/components/GeneralLogout-CwfC_imT.cjs +0 -21
- package/components/PlayerAccountBettingHistory-BLjgCtrb.js +0 -329
- package/components/PlayerAccountBettingHistory-CbA15BLO.cjs +0 -1
- package/components/PlayerAccountBettingHistory-CnZ39Cya.js +0 -328
- package/components/PlayerAccountGamingLimitsGroupEdit-gGxjSq2Z.cjs +0 -1
- package/components/PlayerDeposit-XDLH1XV-.cjs +0 -1
- package/stencil/checkbox-group-input_9-C_ozrjaU.cjs +0 -2
- package/stencil/index-1ef3a64c-BBHIxt0N.cjs +0 -1
- package/stencil/index-1ef3a64c-CbbXBr97.js +0 -556
- package/stencil/index-1ef3a64c-CccPLrQV.js +0 -572
- package/stencil/index-7c5e707a-BILXAqHK.js +0 -616
- package/stencil/index-7c5e707a-DtZaL7Yo.cjs +0 -1
- package/stencil/index-7c5e707a-wx5FQuxQ.js +0 -643
- package/stencil/index-9c0f6c58-CSS6f_hD.cjs +0 -1
- package/stencil/index-9c0f6c58-NYUdtsvS.js +0 -576
- package/stencil/index-9cd44522-BuEQFQdN.js +0 -610
- package/stencil/index-9cd44522-M89EFHLx.cjs +0 -1
- package/stencil/index-9cd44522-uVgth2NC.js +0 -626
- package/stencil/index-b2193545-COb51DfK.cjs +0 -1
- package/stencil/index-b2193545-CbIQaLIQ.js +0 -519
- package/stencil/index-b2193545-DQ1k9IU6.js +0 -503
- package/stencil/password-input_2-CcDWWiMF.cjs +0 -193
- package/stencil/toggle-checkbox-input-Bb8Pmo33.cjs +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a4 as Zo, a5 as Qo, a as As, $ as Ds, S as ks, i as Ps,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
3
|
-
import "./PlayerAccountGamingLimitsGroupEdit-
|
|
1
|
+
import { a4 as Zo, a5 as Qo, a as As, $ as Ds, S as ks, i as Ps, s as Ts, f as de, b as Ms, n as ci, d as _e, g as ge, j as M, p as Os, q as Is, u as Ns, w as ro, h as g, k as X, e as I, Y as qt, o as O, O as so, P as zs, r as Ls, c as ye, t as Ve, l as Mt, m as me, v as Pe, F as Fs, x as $s, y as Rs, z as Hs, A as Bs, B as Ys } from "./GeneralLogout-D_LZ6noj.js";
|
|
2
|
+
import "../stencil/ui-skeleton-C974aG7g.js";
|
|
3
|
+
import "./PlayerAccountGamingLimitsGroupEdit-D0hqXEY4.js";
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
6
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7
7
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8
8
|
*/
|
|
9
|
-
function Ce(o, t = "24.5.
|
|
9
|
+
function Ce(o, t = "24.5.12") {
|
|
10
10
|
Object.defineProperty(o, "version", {
|
|
11
11
|
get() {
|
|
12
12
|
return t;
|
|
@@ -38,17 +38,17 @@ Ce(js);
|
|
|
38
38
|
* Copyright 2019 Google LLC
|
|
39
39
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
40
40
|
*/
|
|
41
|
-
const
|
|
42
|
-
let
|
|
41
|
+
const Pt = globalThis, Ii = Pt.ShadowRoot && (Pt.ShadyCSS === void 0 || Pt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ni = Symbol(), no = /* @__PURE__ */ new WeakMap();
|
|
42
|
+
let zi = class {
|
|
43
43
|
constructor(t, e, i) {
|
|
44
|
-
if (this._$cssResult$ = !0, i !==
|
|
44
|
+
if (this._$cssResult$ = !0, i !== Ni)
|
|
45
45
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
46
46
|
this.cssText = t, this.t = e;
|
|
47
47
|
}
|
|
48
48
|
get styleSheet() {
|
|
49
49
|
let t = this.o;
|
|
50
50
|
const e = this.t;
|
|
51
|
-
if (
|
|
51
|
+
if (Ii && t === void 0) {
|
|
52
52
|
const i = e !== void 0 && e.length === 1;
|
|
53
53
|
i && (t = no.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && no.set(e, t));
|
|
54
54
|
}
|
|
@@ -58,7 +58,7 @@ let Ni = class {
|
|
|
58
58
|
return this.cssText;
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
|
-
const Us = (o) => new
|
|
61
|
+
const Us = (o) => new zi(typeof o == "string" ? o : o + "", void 0, Ni), $ = (o, ...t) => {
|
|
62
62
|
const e = o.length === 1 ? o[0] : t.reduce((i, r, s) => i + ((n) => {
|
|
63
63
|
if (n._$cssResult$ === !0)
|
|
64
64
|
return n.cssText;
|
|
@@ -66,16 +66,16 @@ const Us = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Ii), $ = (o,
|
|
|
66
66
|
return n;
|
|
67
67
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
68
68
|
})(r) + o[s + 1], o[0]);
|
|
69
|
-
return new
|
|
69
|
+
return new zi(e, o, Ni);
|
|
70
70
|
}, er = (o, t) => {
|
|
71
|
-
if (
|
|
71
|
+
if (Ii)
|
|
72
72
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
73
73
|
else
|
|
74
74
|
for (const e of t) {
|
|
75
|
-
const i = document.createElement("style"), r =
|
|
75
|
+
const i = document.createElement("style"), r = Pt.litNonce;
|
|
76
76
|
r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, o.appendChild(i);
|
|
77
77
|
}
|
|
78
|
-
}, ao =
|
|
78
|
+
}, ao = Ii ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
79
79
|
let e = "";
|
|
80
80
|
for (const i of t.cssRules)
|
|
81
81
|
e += i.cssText;
|
|
@@ -86,7 +86,7 @@ const Us = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Ii), $ = (o,
|
|
|
86
86
|
* Copyright 2017 Google LLC
|
|
87
87
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
88
88
|
*/
|
|
89
|
-
const { is: Vs, defineProperty: Ws, getOwnPropertyDescriptor: qs, getOwnPropertyNames: Ks, getOwnPropertySymbols: Gs, getPrototypeOf: Js } = Object,
|
|
89
|
+
const { is: Vs, defineProperty: Ws, getOwnPropertyDescriptor: qs, getOwnPropertyNames: Ks, getOwnPropertySymbols: Gs, getPrototypeOf: Js } = Object, Ht = globalThis, lo = Ht.trustedTypes, Xs = lo ? lo.emptyScript : "", Zs = Ht.reactiveElementPolyfillSupport, dt = (o, t) => o, ui = { toAttribute(o, t) {
|
|
90
90
|
switch (t) {
|
|
91
91
|
case Boolean:
|
|
92
92
|
o = o ? Xs : null;
|
|
@@ -114,8 +114,8 @@ const { is: Vs, defineProperty: Ws, getOwnPropertyDescriptor: qs, getOwnProperty
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
return e;
|
|
117
|
-
} }, tr = (o, t) => !Vs(o, t), co = { attribute: !0, type: String, converter:
|
|
118
|
-
Symbol.metadata ??= Symbol("metadata"),
|
|
117
|
+
} }, tr = (o, t) => !Vs(o, t), co = { attribute: !0, type: String, converter: ui, reflect: !1, hasChanged: tr };
|
|
118
|
+
Symbol.metadata ??= Symbol("metadata"), Ht.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
119
119
|
class qe extends HTMLElement {
|
|
120
120
|
static addInitializer(t) {
|
|
121
121
|
this._$Ei(), (this.l ??= []).push(t);
|
|
@@ -223,14 +223,14 @@ class qe extends HTMLElement {
|
|
|
223
223
|
_$EC(t, e) {
|
|
224
224
|
const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
|
|
225
225
|
if (r !== void 0 && i.reflect === !0) {
|
|
226
|
-
const s = (i.converter?.toAttribute !== void 0 ? i.converter :
|
|
226
|
+
const s = (i.converter?.toAttribute !== void 0 ? i.converter : ui).toAttribute(e, i.type);
|
|
227
227
|
this._$Em = t, s == null ? this.removeAttribute(r) : this.setAttribute(r, s), this._$Em = null;
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
_$AK(t, e) {
|
|
231
231
|
const i = this.constructor, r = i._$Eh.get(t);
|
|
232
232
|
if (r !== void 0 && this._$Em !== r) {
|
|
233
|
-
const s = i.getPropertyOptions(r), n = typeof s.converter == "function" ? { fromAttribute: s.converter } : s.converter?.fromAttribute !== void 0 ? s.converter :
|
|
233
|
+
const s = i.getPropertyOptions(r), n = typeof s.converter == "function" ? { fromAttribute: s.converter } : s.converter?.fromAttribute !== void 0 ? s.converter : ui;
|
|
234
234
|
this._$Em = r, this[r] = n.fromAttribute(e, s.type), this._$Em = null;
|
|
235
235
|
}
|
|
236
236
|
}
|
|
@@ -306,17 +306,17 @@ class qe extends HTMLElement {
|
|
|
306
306
|
firstUpdated(t) {
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
-
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[dt("elementProperties")] = /* @__PURE__ */ new Map(), qe[dt("finalized")] = /* @__PURE__ */ new Map(), Zs?.({ ReactiveElement: qe }), (
|
|
309
|
+
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[dt("elementProperties")] = /* @__PURE__ */ new Map(), qe[dt("finalized")] = /* @__PURE__ */ new Map(), Zs?.({ ReactiveElement: qe }), (Ht.reactiveElementVersions ??= []).push("2.0.4");
|
|
310
310
|
/**
|
|
311
311
|
* @license
|
|
312
312
|
* Copyright 2017 Google LLC
|
|
313
313
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
314
314
|
*/
|
|
315
|
-
const
|
|
316
|
-
\f\r]`, rt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ho = /-->/g, po = />/g, Le = RegExp(`>|${
|
|
317
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), fo = /'/g, mo = /"/g, rr = /^(?:script|style|textarea|title)$/i, Ze = Symbol.for("lit-noChange"),
|
|
315
|
+
const Li = globalThis, Ot = Li.trustedTypes, uo = Ot ? Ot.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ir = "$lit$", Me = `lit$${Math.random().toFixed(9).slice(2)}$`, or = "?" + Me, Qs = `<${or}>`, Be = document, pt = () => Be.createComment(""), ft = (o) => o === null || typeof o != "object" && typeof o != "function", Fi = Array.isArray, en = (o) => Fi(o) || typeof o?.[Symbol.iterator] == "function", Kt = `[
|
|
316
|
+
\f\r]`, rt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ho = /-->/g, po = />/g, Le = RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^
|
|
317
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), fo = /'/g, mo = /"/g, rr = /^(?:script|style|textarea|title)$/i, Ze = Symbol.for("lit-noChange"), se = Symbol.for("lit-nothing"), _o = /* @__PURE__ */ new WeakMap(), Fe = Be.createTreeWalker(Be, 129);
|
|
318
318
|
function sr(o, t) {
|
|
319
|
-
if (!
|
|
319
|
+
if (!Fi(o) || !o.hasOwnProperty("raw"))
|
|
320
320
|
throw Error("invalid template strings array");
|
|
321
321
|
return uo !== void 0 ? uo.createHTML(t) : t;
|
|
322
322
|
}
|
|
@@ -349,13 +349,13 @@ class mt {
|
|
|
349
349
|
for (const d of r.getAttributeNames())
|
|
350
350
|
if (d.endsWith(ir)) {
|
|
351
351
|
const h = u[n++], p = r.getAttribute(d).split(Me), b = /([.?@])?(.*)/.exec(h);
|
|
352
|
-
l.push({ type: 1, index: s, name: b[2], strings: p, ctor: b[1] === "." ? rn : b[1] === "?" ? sn : b[1] === "@" ? nn :
|
|
352
|
+
l.push({ type: 1, index: s, name: b[2], strings: p, ctor: b[1] === "." ? rn : b[1] === "?" ? sn : b[1] === "@" ? nn : Bt }), r.removeAttribute(d);
|
|
353
353
|
} else
|
|
354
354
|
d.startsWith(Me) && (l.push({ type: 6, index: s }), r.removeAttribute(d));
|
|
355
355
|
if (rr.test(r.tagName)) {
|
|
356
356
|
const d = r.textContent.split(Me), h = d.length - 1;
|
|
357
357
|
if (h > 0) {
|
|
358
|
-
r.textContent =
|
|
358
|
+
r.textContent = Ot ? Ot.emptyScript : "";
|
|
359
359
|
for (let p = 0; p < h; p++)
|
|
360
360
|
r.append(d[p], pt()), Fe.nextNode(), l.push({ type: 2, index: ++s });
|
|
361
361
|
r.append(d[h], pt());
|
|
@@ -418,7 +418,7 @@ class wt {
|
|
|
418
418
|
return this._$AM?._$AU ?? this._$Cv;
|
|
419
419
|
}
|
|
420
420
|
constructor(t, e, i, r) {
|
|
421
|
-
this.type = 2, this._$AH =
|
|
421
|
+
this.type = 2, this._$AH = se, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = r, this._$Cv = r?.isConnected ?? !0;
|
|
422
422
|
}
|
|
423
423
|
get parentNode() {
|
|
424
424
|
let t = this._$AA.parentNode;
|
|
@@ -432,7 +432,7 @@ class wt {
|
|
|
432
432
|
return this._$AB;
|
|
433
433
|
}
|
|
434
434
|
_$AI(t, e = this) {
|
|
435
|
-
t = Qe(this, t, e), ft(t) ? t ===
|
|
435
|
+
t = Qe(this, t, e), ft(t) ? t === se || t == null || t === "" ? (this._$AH !== se && this._$AR(), this._$AH = se) : t !== this._$AH && t !== Ze && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : en(t) ? this.k(t) : this._(t);
|
|
436
436
|
}
|
|
437
437
|
O(t) {
|
|
438
438
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -441,7 +441,7 @@ class wt {
|
|
|
441
441
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
442
442
|
}
|
|
443
443
|
_(t) {
|
|
444
|
-
this._$AH !==
|
|
444
|
+
this._$AH !== se && ft(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Be.createTextNode(t)), this._$AH = t;
|
|
445
445
|
}
|
|
446
446
|
$(t) {
|
|
447
447
|
const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = mt.createElement(sr(i.h, i.h[0]), this.options)), i);
|
|
@@ -457,7 +457,7 @@ class wt {
|
|
|
457
457
|
return e === void 0 && _o.set(t.strings, e = new mt(t)), e;
|
|
458
458
|
}
|
|
459
459
|
k(t) {
|
|
460
|
-
|
|
460
|
+
Fi(this._$AH) || (this._$AH = [], this._$AR());
|
|
461
461
|
const e = this._$AH;
|
|
462
462
|
let i, r = 0;
|
|
463
463
|
for (const s of t)
|
|
@@ -474,7 +474,7 @@ class wt {
|
|
|
474
474
|
this._$AM === void 0 && (this._$Cv = t, this._$AP?.(t));
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
-
class
|
|
477
|
+
class Bt {
|
|
478
478
|
get tagName() {
|
|
479
479
|
return this.element.tagName;
|
|
480
480
|
}
|
|
@@ -482,7 +482,7 @@ class Ht {
|
|
|
482
482
|
return this._$AM._$AU;
|
|
483
483
|
}
|
|
484
484
|
constructor(t, e, i, r, s) {
|
|
485
|
-
this.type = 1, this._$AH =
|
|
485
|
+
this.type = 1, this._$AH = se, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = s, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = se;
|
|
486
486
|
}
|
|
487
487
|
_$AI(t, e = this, i, r) {
|
|
488
488
|
const s = this.strings;
|
|
@@ -493,38 +493,38 @@ class Ht {
|
|
|
493
493
|
const a = t;
|
|
494
494
|
let l, c;
|
|
495
495
|
for (t = s[0], l = 0; l < s.length - 1; l++)
|
|
496
|
-
c = Qe(this, a[i + l], e, l), c === Ze && (c = this._$AH[l]), n ||= !ft(c) || c !== this._$AH[l], c ===
|
|
496
|
+
c = Qe(this, a[i + l], e, l), c === Ze && (c = this._$AH[l]), n ||= !ft(c) || c !== this._$AH[l], c === se ? t = se : t !== se && (t += (c ?? "") + s[l + 1]), this._$AH[l] = c;
|
|
497
497
|
}
|
|
498
498
|
n && !r && this.j(t);
|
|
499
499
|
}
|
|
500
500
|
j(t) {
|
|
501
|
-
t ===
|
|
501
|
+
t === se ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
|
-
class rn extends
|
|
504
|
+
class rn extends Bt {
|
|
505
505
|
constructor() {
|
|
506
506
|
super(...arguments), this.type = 3;
|
|
507
507
|
}
|
|
508
508
|
j(t) {
|
|
509
|
-
this.element[this.name] = t ===
|
|
509
|
+
this.element[this.name] = t === se ? void 0 : t;
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
|
-
class sn extends
|
|
512
|
+
class sn extends Bt {
|
|
513
513
|
constructor() {
|
|
514
514
|
super(...arguments), this.type = 4;
|
|
515
515
|
}
|
|
516
516
|
j(t) {
|
|
517
|
-
this.element.toggleAttribute(this.name, !!t && t !==
|
|
517
|
+
this.element.toggleAttribute(this.name, !!t && t !== se);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
-
class nn extends
|
|
520
|
+
class nn extends Bt {
|
|
521
521
|
constructor(t, e, i, r, s) {
|
|
522
522
|
super(t, e, i, r, s), this.type = 5;
|
|
523
523
|
}
|
|
524
524
|
_$AI(t, e = this) {
|
|
525
|
-
if ((t = Qe(this, t, e, 0) ??
|
|
525
|
+
if ((t = Qe(this, t, e, 0) ?? se) === Ze)
|
|
526
526
|
return;
|
|
527
|
-
const i = this._$AH, r = t ===
|
|
527
|
+
const i = this._$AH, r = t === se && i !== se || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, s = t !== se && (i === se || r);
|
|
528
528
|
r && this.element.removeEventListener(this.name, this, i), s && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
529
529
|
}
|
|
530
530
|
handleEvent(t) {
|
|
@@ -542,8 +542,8 @@ class an {
|
|
|
542
542
|
Qe(this, t);
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
|
-
const ln =
|
|
546
|
-
ln?.(mt, wt), (
|
|
545
|
+
const ln = Li.litHtmlPolyfillSupport;
|
|
546
|
+
ln?.(mt, wt), (Li.litHtmlVersions ??= []).push("3.2.1");
|
|
547
547
|
const cn = (o, t, e) => {
|
|
548
548
|
const i = e?.renderBefore ?? t;
|
|
549
549
|
let r = i._$litPart$;
|
|
@@ -628,7 +628,7 @@ const dn = (o) => class extends o {
|
|
|
628
628
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
629
629
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
630
630
|
*/
|
|
631
|
-
const nr = [],
|
|
631
|
+
const nr = [], di = /* @__PURE__ */ new Set(), $i = /* @__PURE__ */ new Set();
|
|
632
632
|
function ar(o) {
|
|
633
633
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
634
634
|
}
|
|
@@ -636,7 +636,7 @@ function hn(o) {
|
|
|
636
636
|
return ar(customElements.get(o));
|
|
637
637
|
}
|
|
638
638
|
function pn(o = []) {
|
|
639
|
-
return [o].flat(1 / 0).filter((t) => t instanceof
|
|
639
|
+
return [o].flat(1 / 0).filter((t) => t instanceof zi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
640
640
|
}
|
|
641
641
|
function lr(o, t) {
|
|
642
642
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
@@ -645,10 +645,10 @@ function cr(o) {
|
|
|
645
645
|
return o.map((t) => t.cssText).join(`
|
|
646
646
|
`);
|
|
647
647
|
}
|
|
648
|
-
const
|
|
648
|
+
const It = "vaadin-themable-mixin-style";
|
|
649
649
|
function fn(o, t) {
|
|
650
650
|
const e = document.createElement("style");
|
|
651
|
-
e.id =
|
|
651
|
+
e.id = It, e.textContent = cr(o), t.content.appendChild(e);
|
|
652
652
|
}
|
|
653
653
|
function mn(o) {
|
|
654
654
|
if (!o.shadowRoot)
|
|
@@ -657,14 +657,14 @@ function mn(o) {
|
|
|
657
657
|
if (o instanceof Ke)
|
|
658
658
|
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), er(o.shadowRoot, t.elementStyles);
|
|
659
659
|
else {
|
|
660
|
-
const e = o.shadowRoot.getElementById(
|
|
661
|
-
e.textContent = i.content.getElementById(
|
|
660
|
+
const e = o.shadowRoot.getElementById(It), i = t.prototype._template;
|
|
661
|
+
e.textContent = i.content.getElementById(It).textContent;
|
|
662
662
|
}
|
|
663
663
|
}
|
|
664
664
|
function _n(o) {
|
|
665
|
-
|
|
665
|
+
di.forEach((t) => {
|
|
666
666
|
const e = t.deref();
|
|
667
|
-
e instanceof o ? mn(e) : e ||
|
|
667
|
+
e instanceof o ? mn(e) : e || di.delete(t);
|
|
668
668
|
});
|
|
669
669
|
}
|
|
670
670
|
function ur(o) {
|
|
@@ -672,9 +672,9 @@ function ur(o) {
|
|
|
672
672
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
673
673
|
else {
|
|
674
674
|
const t = o.prototype._template;
|
|
675
|
-
t.content.getElementById(
|
|
675
|
+
t.content.getElementById(It).textContent = cr(o.getStylesForThis());
|
|
676
676
|
}
|
|
677
|
-
|
|
677
|
+
$i.forEach((t) => {
|
|
678
678
|
const e = customElements.get(t);
|
|
679
679
|
e !== o && e.prototype instanceof o && ur(e);
|
|
680
680
|
});
|
|
@@ -685,13 +685,13 @@ function gn(o, t) {
|
|
|
685
685
|
(i) => i.styles.some((r) => t.some((s) => s.cssText === r.cssText))
|
|
686
686
|
);
|
|
687
687
|
}
|
|
688
|
-
function
|
|
688
|
+
function ee(o, t, e = {}) {
|
|
689
689
|
t = pn(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : nr.push({
|
|
690
690
|
themeFor: o,
|
|
691
691
|
styles: t,
|
|
692
692
|
include: e.include,
|
|
693
693
|
moduleId: e.moduleId
|
|
694
|
-
}), o &&
|
|
694
|
+
}), o && $i.forEach((i) => {
|
|
695
695
|
if (lr(o, i) && hn(i)) {
|
|
696
696
|
const r = customElements.get(i);
|
|
697
697
|
gn(r, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
@@ -700,7 +700,7 @@ function te(o, t, e = {}) {
|
|
|
700
700
|
}
|
|
701
701
|
});
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function hi() {
|
|
704
704
|
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : nr;
|
|
705
705
|
}
|
|
706
706
|
function vn(o = "") {
|
|
@@ -710,30 +710,30 @@ function vn(o = "") {
|
|
|
710
710
|
function dr(o) {
|
|
711
711
|
const t = [];
|
|
712
712
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
713
|
-
const i =
|
|
713
|
+
const i = hi().find((r) => r.moduleId === e);
|
|
714
714
|
i ? t.push(...dr(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
715
715
|
}, o.styles), t;
|
|
716
716
|
}
|
|
717
717
|
function bn(o) {
|
|
718
|
-
const t = `${o}-default-theme`, e =
|
|
718
|
+
const t = `${o}-default-theme`, e = hi().filter((i) => i.moduleId !== t && lr(i.themeFor, o)).map((i) => ({
|
|
719
719
|
...i,
|
|
720
720
|
// Prepend styles from included themes
|
|
721
721
|
styles: [...dr(i), ...i.styles],
|
|
722
722
|
// Map moduleId to includePriority
|
|
723
723
|
includePriority: vn(i.moduleId)
|
|
724
724
|
})).sort((i, r) => r.includePriority - i.includePriority);
|
|
725
|
-
return e.length > 0 ? e :
|
|
725
|
+
return e.length > 0 ? e : hi().filter((i) => i.moduleId === t);
|
|
726
726
|
}
|
|
727
727
|
const Ye = (o) => class extends dn(o) {
|
|
728
728
|
constructor() {
|
|
729
|
-
super(),
|
|
729
|
+
super(), di.add(new WeakRef(this));
|
|
730
730
|
}
|
|
731
731
|
/**
|
|
732
732
|
* Covers PolymerElement based component styling
|
|
733
733
|
* @protected
|
|
734
734
|
*/
|
|
735
735
|
static finalize() {
|
|
736
|
-
if (super.finalize(), this.is &&
|
|
736
|
+
if (super.finalize(), this.is && $i.add(this.is), this.elementStyles)
|
|
737
737
|
return;
|
|
738
738
|
const e = this.prototype._template;
|
|
739
739
|
!e || ar(this) || fn(this.getStylesForThis(), e);
|
|
@@ -1142,7 +1142,7 @@ const Cn = $`
|
|
|
1142
1142
|
background: transparent;
|
|
1143
1143
|
}
|
|
1144
1144
|
`;
|
|
1145
|
-
|
|
1145
|
+
ee("", Cn, { moduleId: "lumo-color" });
|
|
1146
1146
|
/**
|
|
1147
1147
|
* @license
|
|
1148
1148
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1261,7 +1261,7 @@ const An = $`
|
|
|
1261
1261
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1262
1262
|
}
|
|
1263
1263
|
`;
|
|
1264
|
-
|
|
1264
|
+
ee("", Dn, { moduleId: "lumo-typography" });
|
|
1265
1265
|
it("typography-props", An);
|
|
1266
1266
|
/**
|
|
1267
1267
|
* @license
|
|
@@ -1334,7 +1334,7 @@ const hr = $`
|
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
1336
1336
|
`;
|
|
1337
|
-
|
|
1337
|
+
ee("", hr, { moduleId: "lumo-overlay" });
|
|
1338
1338
|
/**
|
|
1339
1339
|
* @license
|
|
1340
1340
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1371,7 +1371,7 @@ const pr = $`
|
|
|
1371
1371
|
}
|
|
1372
1372
|
}
|
|
1373
1373
|
`;
|
|
1374
|
-
|
|
1374
|
+
ee("", pr, { moduleId: "lumo-menu-overlay-core" });
|
|
1375
1375
|
const kn = $`
|
|
1376
1376
|
/* Small viewport (bottom sheet) styles */
|
|
1377
1377
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
@@ -1435,7 +1435,7 @@ const kn = $`
|
|
|
1435
1435
|
}
|
|
1436
1436
|
}
|
|
1437
1437
|
`, fr = [hr, pr, kn];
|
|
1438
|
-
|
|
1438
|
+
ee("", fr, { moduleId: "lumo-menu-overlay" });
|
|
1439
1439
|
const Pn = $`
|
|
1440
1440
|
[part='overlay'] {
|
|
1441
1441
|
/*
|
|
@@ -1482,7 +1482,7 @@ const Pn = $`
|
|
|
1482
1482
|
}
|
|
1483
1483
|
}
|
|
1484
1484
|
`;
|
|
1485
|
-
|
|
1485
|
+
ee("vaadin-date-picker-overlay", [fr, Pn], {
|
|
1486
1486
|
moduleId: "lumo-date-picker-overlay"
|
|
1487
1487
|
});
|
|
1488
1488
|
const Tn = $`
|
|
@@ -1762,8 +1762,8 @@ const Tn = $`
|
|
|
1762
1762
|
margin-right: 0;
|
|
1763
1763
|
}
|
|
1764
1764
|
`;
|
|
1765
|
-
|
|
1766
|
-
|
|
1765
|
+
ee("vaadin-button", Tn, { moduleId: "lumo-button" });
|
|
1766
|
+
ee(
|
|
1767
1767
|
"vaadin-date-picker-year",
|
|
1768
1768
|
$`
|
|
1769
1769
|
:host([current]) [part='year-number'] {
|
|
@@ -1792,7 +1792,7 @@ te(
|
|
|
1792
1792
|
`,
|
|
1793
1793
|
{ moduleId: "lumo-date-picker-year" }
|
|
1794
1794
|
);
|
|
1795
|
-
|
|
1795
|
+
ee(
|
|
1796
1796
|
"vaadin-date-picker-overlay-content",
|
|
1797
1797
|
$`
|
|
1798
1798
|
:host {
|
|
@@ -1947,7 +1947,7 @@ te(
|
|
|
1947
1947
|
`,
|
|
1948
1948
|
{ moduleId: "lumo-date-picker-overlay-content" }
|
|
1949
1949
|
);
|
|
1950
|
-
|
|
1950
|
+
ee(
|
|
1951
1951
|
"vaadin-month-calendar",
|
|
1952
1952
|
$`
|
|
1953
1953
|
:host {
|
|
@@ -2099,7 +2099,7 @@ te(
|
|
|
2099
2099
|
`,
|
|
2100
2100
|
{ moduleId: "lumo-month-calendar" }
|
|
2101
2101
|
);
|
|
2102
|
-
|
|
2102
|
+
ee(
|
|
2103
2103
|
"vaadin-input-container",
|
|
2104
2104
|
$`
|
|
2105
2105
|
:host {
|
|
@@ -2375,7 +2375,7 @@ const mr = $`
|
|
|
2375
2375
|
display: block;
|
|
2376
2376
|
}
|
|
2377
2377
|
`;
|
|
2378
|
-
|
|
2378
|
+
ee("", mr, { moduleId: "lumo-field-button" });
|
|
2379
2379
|
/**
|
|
2380
2380
|
* @license
|
|
2381
2381
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -2556,7 +2556,7 @@ const _r = $`
|
|
|
2556
2556
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2557
2557
|
}
|
|
2558
2558
|
`;
|
|
2559
|
-
|
|
2559
|
+
ee("", _r, { moduleId: "lumo-required-field" });
|
|
2560
2560
|
/**
|
|
2561
2561
|
* @license
|
|
2562
2562
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -2694,7 +2694,7 @@ const In = $`
|
|
|
2694
2694
|
content: var(--lumo-icons-cross);
|
|
2695
2695
|
}
|
|
2696
2696
|
`, gr = [_r, mr, On, In];
|
|
2697
|
-
|
|
2697
|
+
ee("", gr, {
|
|
2698
2698
|
moduleId: "lumo-input-field-shared-styles"
|
|
2699
2699
|
});
|
|
2700
2700
|
const Nn = $`
|
|
@@ -2720,7 +2720,7 @@ const Nn = $`
|
|
|
2720
2720
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2721
2721
|
}
|
|
2722
2722
|
`;
|
|
2723
|
-
|
|
2723
|
+
ee("vaadin-date-picker", [gr, Nn], { moduleId: "lumo-date-picker" });
|
|
2724
2724
|
/**
|
|
2725
2725
|
@license
|
|
2726
2726
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2742,19 +2742,19 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2742
2742
|
Code distributed by Google as part of the polymer project is also
|
|
2743
2743
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2744
2744
|
*/
|
|
2745
|
-
let zn = /(url\()([^)]*)(\))/g, Ln = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/,
|
|
2745
|
+
let zn = /(url\()([^)]*)(\))/g, Ln = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, St, be;
|
|
2746
2746
|
function ht(o, t) {
|
|
2747
2747
|
if (o && Ln.test(o) || o === "//")
|
|
2748
2748
|
return o;
|
|
2749
|
-
if (
|
|
2750
|
-
|
|
2749
|
+
if (St === void 0) {
|
|
2750
|
+
St = !1;
|
|
2751
2751
|
try {
|
|
2752
2752
|
const e = new URL("b", "http://a");
|
|
2753
|
-
e.pathname = "c%20d",
|
|
2753
|
+
e.pathname = "c%20d", St = e.href === "http://a/c%20d";
|
|
2754
2754
|
} catch {
|
|
2755
2755
|
}
|
|
2756
2756
|
}
|
|
2757
|
-
if (t || (t = document.baseURI || window.location.href),
|
|
2757
|
+
if (t || (t = document.baseURI || window.location.href), St)
|
|
2758
2758
|
try {
|
|
2759
2759
|
return new URL(o, t).href;
|
|
2760
2760
|
} catch {
|
|
@@ -2762,12 +2762,12 @@ function ht(o, t) {
|
|
|
2762
2762
|
}
|
|
2763
2763
|
return be || (be = document.implementation.createHTMLDocument("temp"), be.base = be.createElement("base"), be.head.appendChild(be.base), be.anchor = be.createElement("a"), be.body.appendChild(be.anchor)), be.base.href = t, be.anchor.href = o, be.anchor.href || o;
|
|
2764
2764
|
}
|
|
2765
|
-
function
|
|
2765
|
+
function Ri(o, t) {
|
|
2766
2766
|
return o.replace(zn, function(e, i, r, s) {
|
|
2767
2767
|
return i + "'" + ht(r.replace(/["']/g, ""), t) + "'" + s;
|
|
2768
2768
|
});
|
|
2769
2769
|
}
|
|
2770
|
-
function
|
|
2770
|
+
function Hi(o) {
|
|
2771
2771
|
return o.substring(0, o.lastIndexOf("/") + 1);
|
|
2772
2772
|
}
|
|
2773
2773
|
/**
|
|
@@ -2792,9 +2792,9 @@ const Fn = vr && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2792
2792
|
return !1;
|
|
2793
2793
|
}
|
|
2794
2794
|
})();
|
|
2795
|
-
let $n = window.Polymer && window.Polymer.rootPath ||
|
|
2795
|
+
let $n = window.Polymer && window.Polymer.rootPath || Hi(document.baseURI || window.location.href), Nt = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2796
2796
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2797
|
-
let
|
|
2797
|
+
let zt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Rn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, br = window.Polymer && window.Polymer.legacyOptimizations || !1, yr = window.Polymer && window.Polymer.legacyWarnings || !1, Hn = window.Polymer && window.Polymer.syncInitialRender || !1, pi = window.Polymer && window.Polymer.legacyUndefined || !1, Bn = window.Polymer && window.Polymer.orderedComputed || !1, go = window.Polymer && window.Polymer.removeNestedTemplates || !1, Yn = window.Polymer && window.Polymer.fastDomIf || !1, vo = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2798
2798
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2799
2799
|
let jn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2800
2800
|
/**
|
|
@@ -2844,12 +2844,12 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2844
2844
|
Code distributed by Google as part of the polymer project is also
|
|
2845
2845
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2846
2846
|
*/
|
|
2847
|
-
let
|
|
2847
|
+
let Bi = {}, xr = {};
|
|
2848
2848
|
function bo(o, t) {
|
|
2849
|
-
|
|
2849
|
+
Bi[o] = xr[o.toLowerCase()] = t;
|
|
2850
2850
|
}
|
|
2851
2851
|
function yo(o) {
|
|
2852
|
-
return
|
|
2852
|
+
return Bi[o] || xr[o.toLowerCase()];
|
|
2853
2853
|
}
|
|
2854
2854
|
function Vn(o) {
|
|
2855
2855
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
@@ -2907,7 +2907,7 @@ class _t extends HTMLElement {
|
|
|
2907
2907
|
this.getAttribute("assetpath") || "",
|
|
2908
2908
|
t.baseURI
|
|
2909
2909
|
);
|
|
2910
|
-
this.__assetpath =
|
|
2910
|
+
this.__assetpath = Hi(e);
|
|
2911
2911
|
}
|
|
2912
2912
|
return this.__assetpath;
|
|
2913
2913
|
}
|
|
@@ -2920,13 +2920,13 @@ class _t extends HTMLElement {
|
|
|
2920
2920
|
*/
|
|
2921
2921
|
register(t) {
|
|
2922
2922
|
if (t = t || this.id, t) {
|
|
2923
|
-
if (
|
|
2923
|
+
if (zt && yo(t) !== void 0)
|
|
2924
2924
|
throw bo(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2925
2925
|
this.id = t, bo(t, this), Vn(this);
|
|
2926
2926
|
}
|
|
2927
2927
|
}
|
|
2928
2928
|
}
|
|
2929
|
-
_t.prototype.modules =
|
|
2929
|
+
_t.prototype.modules = Bi;
|
|
2930
2930
|
customElements.define("dom-module", _t);
|
|
2931
2931
|
/**
|
|
2932
2932
|
@license
|
|
@@ -2946,7 +2946,7 @@ function wr(o) {
|
|
|
2946
2946
|
}
|
|
2947
2947
|
function wo(o) {
|
|
2948
2948
|
let t = o.body ? o.body : o;
|
|
2949
|
-
const e =
|
|
2949
|
+
const e = Ri(
|
|
2950
2950
|
t.textContent,
|
|
2951
2951
|
o.baseURI
|
|
2952
2952
|
), i = document.createElement("style");
|
|
@@ -2984,7 +2984,7 @@ function Er(o, t) {
|
|
|
2984
2984
|
let s = i[r], n = s.getAttribute(qn);
|
|
2985
2985
|
n && e.push(...Kn(n).filter(function(a, l, c) {
|
|
2986
2986
|
return c.indexOf(a) === l;
|
|
2987
|
-
})), t && (s.textContent =
|
|
2987
|
+
})), t && (s.textContent = Ri(
|
|
2988
2988
|
s.textContent,
|
|
2989
2989
|
/** @type {string} */
|
|
2990
2990
|
t
|
|
@@ -3033,7 +3033,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3033
3033
|
Code distributed by Google as part of the polymer project is also
|
|
3034
3034
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3035
3035
|
*/
|
|
3036
|
-
function
|
|
3036
|
+
function fi(o) {
|
|
3037
3037
|
return o.indexOf(".") >= 0;
|
|
3038
3038
|
}
|
|
3039
3039
|
function je(o) {
|
|
@@ -3099,15 +3099,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3099
3099
|
Code distributed by Google as part of the polymer project is also
|
|
3100
3100
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3101
3101
|
*/
|
|
3102
|
-
const
|
|
3102
|
+
const Lt = {}, Zn = /-[a-z]/g, Qn = /([A-Z])/g;
|
|
3103
3103
|
function Dr(o) {
|
|
3104
|
-
return
|
|
3104
|
+
return Lt[o] || (Lt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3105
3105
|
Zn,
|
|
3106
3106
|
(t) => t[1].toUpperCase()
|
|
3107
3107
|
));
|
|
3108
3108
|
}
|
|
3109
|
-
function
|
|
3110
|
-
return
|
|
3109
|
+
function Yt(o) {
|
|
3110
|
+
return Lt[o] || (Lt[o] = o.replace(Qn, "-$1").toLowerCase());
|
|
3111
3111
|
}
|
|
3112
3112
|
/**
|
|
3113
3113
|
@license
|
|
@@ -3118,10 +3118,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3118
3118
|
Code distributed by Google as part of the polymer project is also
|
|
3119
3119
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3120
3120
|
*/
|
|
3121
|
-
let ea = 0, kr = 0, Ge = [], ta = 0,
|
|
3121
|
+
let ea = 0, kr = 0, Ge = [], ta = 0, mi = !1, Pr = document.createTextNode("");
|
|
3122
3122
|
new window.MutationObserver(ia).observe(Pr, { characterData: !0 });
|
|
3123
3123
|
function ia() {
|
|
3124
|
-
|
|
3124
|
+
mi = !1;
|
|
3125
3125
|
const o = Ge.length;
|
|
3126
3126
|
for (let t = 0; t < o; t++) {
|
|
3127
3127
|
let e = Ge[t];
|
|
@@ -3185,7 +3185,7 @@ const oa = {
|
|
|
3185
3185
|
* @return {number} Handle used for canceling task
|
|
3186
3186
|
*/
|
|
3187
3187
|
run(o) {
|
|
3188
|
-
return
|
|
3188
|
+
return mi || (mi = !0, Pr.textContent = ta++), Ge.push(o), ea++;
|
|
3189
3189
|
},
|
|
3190
3190
|
/**
|
|
3191
3191
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3649,12 +3649,12 @@ Code distributed by Google as part of the polymer project is also
|
|
|
3649
3649
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3650
3650
|
*/
|
|
3651
3651
|
const Or = {};
|
|
3652
|
-
let
|
|
3653
|
-
for (;
|
|
3654
|
-
let o = Object.getOwnPropertyNames(
|
|
3652
|
+
let Ct = HTMLElement.prototype;
|
|
3653
|
+
for (; Ct; ) {
|
|
3654
|
+
let o = Object.getOwnPropertyNames(Ct);
|
|
3655
3655
|
for (let t = 0; t < o.length; t++)
|
|
3656
3656
|
Or[o[t]] = !0;
|
|
3657
|
-
|
|
3657
|
+
Ct = Object.getPrototypeOf(Ct);
|
|
3658
3658
|
}
|
|
3659
3659
|
const sa = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3660
3660
|
function na(o, t) {
|
|
@@ -3694,7 +3694,7 @@ const aa = oe((o) => {
|
|
|
3694
3694
|
* @nocollapse
|
|
3695
3695
|
*/
|
|
3696
3696
|
static attributeNameForProperty(r) {
|
|
3697
|
-
return
|
|
3697
|
+
return Yt(r);
|
|
3698
3698
|
}
|
|
3699
3699
|
/**
|
|
3700
3700
|
* Overrides PropertiesChanged implementation to initialize values for
|
|
@@ -4299,7 +4299,7 @@ const yt = [], H = {
|
|
|
4299
4299
|
OBSERVE: "__observeEffects",
|
|
4300
4300
|
READ_ONLY: "__readOnly"
|
|
4301
4301
|
}, Nr = "__computeInfo", va = /[A-Z]/;
|
|
4302
|
-
function
|
|
4302
|
+
function Gt(o, t, e) {
|
|
4303
4303
|
let i = o[t];
|
|
4304
4304
|
if (!i)
|
|
4305
4305
|
i = o[t] = {};
|
|
@@ -4319,7 +4319,7 @@ function ut(o, t, e, i, r, s) {
|
|
|
4319
4319
|
let c = r ? je(l) : l, u = t[c];
|
|
4320
4320
|
if (u)
|
|
4321
4321
|
for (let d = 0, h = u.length, p; d < h && (p = u[d]); d++)
|
|
4322
|
-
(!p.info || p.info.lastRun !== a) && (!r ||
|
|
4322
|
+
(!p.info || p.info.lastRun !== a) && (!r || Yi(l, p.trigger)) && (p.info && (p.info.lastRun = a), p.fn(o, l, e, i, p.info, r, s), n = !0);
|
|
4323
4323
|
}
|
|
4324
4324
|
return n;
|
|
4325
4325
|
}
|
|
@@ -4329,10 +4329,10 @@ function ba(o, t, e, i, r, s, n, a) {
|
|
|
4329
4329
|
let l = !1, c = n ? je(i) : i, u = t[c];
|
|
4330
4330
|
if (u)
|
|
4331
4331
|
for (let d = 0, h = u.length, p; d < h && (p = u[d]); d++)
|
|
4332
|
-
(!p.info || p.info.lastRun !== e) && (!n ||
|
|
4332
|
+
(!p.info || p.info.lastRun !== e) && (!n || Yi(i, p.trigger)) && (p.info && (p.info.lastRun = e), p.fn(o, i, r, s, p.info, n, a), l = !0);
|
|
4333
4333
|
return l;
|
|
4334
4334
|
}
|
|
4335
|
-
function
|
|
4335
|
+
function Yi(o, t) {
|
|
4336
4336
|
if (t) {
|
|
4337
4337
|
let e = (
|
|
4338
4338
|
/** @type {string} */
|
|
@@ -4356,7 +4356,7 @@ function ya(o, t, e, i, r) {
|
|
|
4356
4356
|
function xa(o, t, e) {
|
|
4357
4357
|
let i = je(t);
|
|
4358
4358
|
if (i !== t) {
|
|
4359
|
-
let r =
|
|
4359
|
+
let r = Yt(i) + "-changed";
|
|
4360
4360
|
return zr(o, r, e[t], t), !0;
|
|
4361
4361
|
}
|
|
4362
4362
|
return !1;
|
|
@@ -4384,7 +4384,7 @@ function Ea(o, t, e, i, r) {
|
|
|
4384
4384
|
}
|
|
4385
4385
|
function Sa(o, t, e, i, r) {
|
|
4386
4386
|
let s = o.__data[t];
|
|
4387
|
-
|
|
4387
|
+
Nt && (s = Nt(
|
|
4388
4388
|
s,
|
|
4389
4389
|
r.attrName,
|
|
4390
4390
|
"attribute",
|
|
@@ -4445,7 +4445,7 @@ const Aa = (o, t, e) => {
|
|
|
4445
4445
|
if (n)
|
|
4446
4446
|
for (let a = 0; a < n.length; a++) {
|
|
4447
4447
|
const l = n[a];
|
|
4448
|
-
l.info.lastRun !== bt && (!r ||
|
|
4448
|
+
l.info.lastRun !== bt && (!r || Yi(o, l.trigger)) && (l.info.lastRun = bt, Aa(l.info, e, i));
|
|
4449
4449
|
}
|
|
4450
4450
|
};
|
|
4451
4451
|
function Da(o) {
|
|
@@ -4479,7 +4479,7 @@ function ka(o) {
|
|
|
4479
4479
|
return { counts: e, ready: r, total: s };
|
|
4480
4480
|
}
|
|
4481
4481
|
function Lr(o, t, e, i, r) {
|
|
4482
|
-
let s =
|
|
4482
|
+
let s = _i(o, t, e, i, r);
|
|
4483
4483
|
if (s === yt)
|
|
4484
4484
|
return !1;
|
|
4485
4485
|
let n = r.methodInfo;
|
|
@@ -4495,12 +4495,12 @@ function Pa(o, t, e) {
|
|
|
4495
4495
|
}
|
|
4496
4496
|
}
|
|
4497
4497
|
}
|
|
4498
|
-
function
|
|
4498
|
+
function Jt(o, t, e, i, r, s, n) {
|
|
4499
4499
|
e.bindings = e.bindings || [];
|
|
4500
4500
|
let a = { kind: i, target: r, parts: s, literal: n, isCompound: s.length !== 1 };
|
|
4501
4501
|
if (e.bindings.push(a), Na(a)) {
|
|
4502
4502
|
let { event: c, negate: u } = a.parts[0];
|
|
4503
|
-
a.listenerEvent = c ||
|
|
4503
|
+
a.listenerEvent = c || Yt(r) + "-changed", a.listenerNegate = u;
|
|
4504
4504
|
}
|
|
4505
4505
|
let l = t.nodeInfoList.length;
|
|
4506
4506
|
for (let c = 0; c < a.parts.length; c++) {
|
|
@@ -4535,7 +4535,7 @@ function Ma(o, t, e, i, r, s, n) {
|
|
|
4535
4535
|
}
|
|
4536
4536
|
}
|
|
4537
4537
|
function Oa(o, t, e, i, r) {
|
|
4538
|
-
if (r = Ia(t, r, e, i),
|
|
4538
|
+
if (r = Ia(t, r, e, i), Nt && (r = Nt(r, e.target, e.kind, t)), e.kind == "attribute")
|
|
4539
4539
|
o._valueToNodeAttribute(
|
|
4540
4540
|
/** @type {Element} */
|
|
4541
4541
|
t,
|
|
@@ -4606,7 +4606,7 @@ function ko(o, t, e, i, r, s) {
|
|
|
4606
4606
|
info: n
|
|
4607
4607
|
}), n;
|
|
4608
4608
|
}
|
|
4609
|
-
function
|
|
4609
|
+
function _i(o, t, e, i, r) {
|
|
4610
4610
|
let s = o._methodHost || o, n = s[r.methodName];
|
|
4611
4611
|
if (n) {
|
|
4612
4612
|
let a = o._marshalArgs(r.args, t, e);
|
|
@@ -4623,7 +4623,7 @@ function Mo(o) {
|
|
|
4623
4623
|
}
|
|
4624
4624
|
return t;
|
|
4625
4625
|
}
|
|
4626
|
-
function
|
|
4626
|
+
function Xt(o) {
|
|
4627
4627
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4628
4628
|
if (t) {
|
|
4629
4629
|
let i = { methodName: t[1], static: !0, args: $a };
|
|
@@ -4656,7 +4656,7 @@ function $r(o) {
|
|
|
4656
4656
|
e.value = Number(t), e.literal = !0;
|
|
4657
4657
|
break;
|
|
4658
4658
|
}
|
|
4659
|
-
return e.literal || (e.rootProperty = je(t), e.structured =
|
|
4659
|
+
return e.literal || (e.rootProperty = je(t), e.structured = fi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4660
4660
|
}
|
|
4661
4661
|
function Oo(o, t, e) {
|
|
4662
4662
|
let i = fe(o, e);
|
|
@@ -4664,7 +4664,7 @@ function Oo(o, t, e) {
|
|
|
4664
4664
|
}
|
|
4665
4665
|
function Rr(o, t, e, i) {
|
|
4666
4666
|
const r = { indexSplices: i };
|
|
4667
|
-
|
|
4667
|
+
pi && !o._overrideLegacyUndefined && (t.splices = r), o.notifyPath(e + ".splices", r), o.notifyPath(e + ".length", t.length), pi && !o._overrideLegacyUndefined && (r.indexSplices = []);
|
|
4668
4668
|
}
|
|
4669
4669
|
function st(o, t, e, i, r, s) {
|
|
4670
4670
|
Rr(o, t, e, [{
|
|
@@ -4678,7 +4678,7 @@ function st(o, t, e, i, r, s) {
|
|
|
4678
4678
|
function Xa(o) {
|
|
4679
4679
|
return o[0].toUpperCase() + o.substring(1);
|
|
4680
4680
|
}
|
|
4681
|
-
const
|
|
4681
|
+
const ji = oe((o) => {
|
|
4682
4682
|
const t = ga(aa(o));
|
|
4683
4683
|
class e extends t {
|
|
4684
4684
|
constructor() {
|
|
@@ -4740,7 +4740,7 @@ const Yi = oe((o) => {
|
|
|
4740
4740
|
*/
|
|
4741
4741
|
_addPropertyEffect(r, s, n) {
|
|
4742
4742
|
this._createPropertyAccessor(r, s == H.READ_ONLY);
|
|
4743
|
-
let a =
|
|
4743
|
+
let a = Gt(this, s, !0)[r];
|
|
4744
4744
|
a || (a = this[s][r] = []), a.push(n);
|
|
4745
4745
|
}
|
|
4746
4746
|
/**
|
|
@@ -4753,7 +4753,7 @@ const Yi = oe((o) => {
|
|
|
4753
4753
|
* @return {void}
|
|
4754
4754
|
*/
|
|
4755
4755
|
_removePropertyEffect(r, s, n) {
|
|
4756
|
-
let a =
|
|
4756
|
+
let a = Gt(this, s, !0)[r], l = a.indexOf(n);
|
|
4757
4757
|
l >= 0 && a.splice(l, 1);
|
|
4758
4758
|
}
|
|
4759
4759
|
/**
|
|
@@ -4947,7 +4947,7 @@ const Yi = oe((o) => {
|
|
|
4947
4947
|
* @return {boolean} Returns true if the property changed
|
|
4948
4948
|
*/
|
|
4949
4949
|
_setPendingProperty(r, s, n) {
|
|
4950
|
-
let a = this.__dataHasPaths &&
|
|
4950
|
+
let a = this.__dataHasPaths && fi(r), l = a ? this.__dataTemp : this.__data;
|
|
4951
4951
|
return this._shouldPropertyChange(r, s, l[r]) ? (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), r in this.__dataOld || (this.__dataOld[r] = this.__data[r]), a ? this.__dataTemp[r] = s : this.__data[r] = s, this.__dataPending[r] = s, (a || this[H.NOTIFY] && this[H.NOTIFY][r]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[r] = n), !0) : !1;
|
|
4952
4952
|
}
|
|
4953
4953
|
/**
|
|
@@ -5432,10 +5432,10 @@ const Yi = oe((o) => {
|
|
|
5432
5432
|
* @protected
|
|
5433
5433
|
*/
|
|
5434
5434
|
_createMethodObserver(r, s) {
|
|
5435
|
-
let n =
|
|
5435
|
+
let n = Xt(r);
|
|
5436
5436
|
if (!n)
|
|
5437
5437
|
throw new Error("Malformed observer expression '" + r + "'");
|
|
5438
|
-
ko(this, n, H.OBSERVE,
|
|
5438
|
+
ko(this, n, H.OBSERVE, _i, null, s);
|
|
5439
5439
|
}
|
|
5440
5440
|
/**
|
|
5441
5441
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5451,7 +5451,7 @@ const Yi = oe((o) => {
|
|
|
5451
5451
|
this._addPropertyEffect(r, H.NOTIFY, {
|
|
5452
5452
|
fn: wa,
|
|
5453
5453
|
info: {
|
|
5454
|
-
eventName:
|
|
5454
|
+
eventName: Yt(r) + "-changed",
|
|
5455
5455
|
property: r
|
|
5456
5456
|
}
|
|
5457
5457
|
});
|
|
@@ -5490,11 +5490,11 @@ const Yi = oe((o) => {
|
|
|
5490
5490
|
* @protected
|
|
5491
5491
|
*/
|
|
5492
5492
|
_createComputedProperty(r, s, n) {
|
|
5493
|
-
let a =
|
|
5493
|
+
let a = Xt(s);
|
|
5494
5494
|
if (!a)
|
|
5495
5495
|
throw new Error("Malformed computed expression '" + s + "'");
|
|
5496
5496
|
const l = ko(this, a, H.COMPUTE, Lr, r, n);
|
|
5497
|
-
|
|
5497
|
+
Gt(this, Nr)[r] = l;
|
|
5498
5498
|
}
|
|
5499
5499
|
/**
|
|
5500
5500
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5523,7 +5523,7 @@ const Yi = oe((o) => {
|
|
|
5523
5523
|
};
|
|
5524
5524
|
} else
|
|
5525
5525
|
b = h ? Oo(a, n, d) : a[d];
|
|
5526
|
-
if (
|
|
5526
|
+
if (pi && !this._overrideLegacyUndefined && b === void 0 && r.length > 1)
|
|
5527
5527
|
return yt;
|
|
5528
5528
|
l[c] = b;
|
|
5529
5529
|
}
|
|
@@ -5852,7 +5852,7 @@ const Yi = oe((o) => {
|
|
|
5852
5852
|
);
|
|
5853
5853
|
if (r.nodeType === Node.TEXT_NODE) {
|
|
5854
5854
|
let l = this._parseBindings(r.textContent, s);
|
|
5855
|
-
l && (r.textContent = Mo(l) || " ",
|
|
5855
|
+
l && (r.textContent = Mo(l) || " ", Jt(this, s, n, "text", "textContent", l), a = !0);
|
|
5856
5856
|
}
|
|
5857
5857
|
return a;
|
|
5858
5858
|
}
|
|
@@ -5881,7 +5881,7 @@ const Yi = oe((o) => {
|
|
|
5881
5881
|
let u = a, d = "property";
|
|
5882
5882
|
va.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5883
5883
|
let h = Mo(c);
|
|
5884
|
-
return h && d == "attribute" && (a == "class" && r.hasAttribute("class") && (h += " " + r.getAttribute(a)), r.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && r.setAttribute(a, ""), r.localName === "input" && u === "value" && r.setAttribute(u, ""), r.removeAttribute(u), d === "property" && (a = Dr(a)),
|
|
5884
|
+
return h && d == "attribute" && (a == "class" && r.hasAttribute("class") && (h += " " + r.getAttribute(a)), r.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && r.setAttribute(a, ""), r.localName === "input" && u === "value" && r.setAttribute(u, ""), r.removeAttribute(u), d === "property" && (a = Dr(a)), Jt(this, s, n, d, a, c, h), !0;
|
|
5885
5885
|
} else
|
|
5886
5886
|
return t._parseTemplateNodeAttribute.call(
|
|
5887
5887
|
this,
|
|
@@ -5922,7 +5922,7 @@ const Yi = oe((o) => {
|
|
|
5922
5922
|
let p = "{";
|
|
5923
5923
|
for (let b in h) {
|
|
5924
5924
|
let f = [{ mode: p, source: b, dependencies: [b], hostProp: !0 }];
|
|
5925
|
-
|
|
5925
|
+
Jt(this, s, n, "property", "_host_" + b, f);
|
|
5926
5926
|
}
|
|
5927
5927
|
}
|
|
5928
5928
|
return a;
|
|
@@ -5978,15 +5978,15 @@ const Yi = oe((o) => {
|
|
|
5978
5978
|
l.index > a && n.push({ literal: r.slice(a, l.index) });
|
|
5979
5979
|
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, p = "", b = -1;
|
|
5980
5980
|
c == "{" && (b = d.indexOf("::")) > 0 && (p = d.substring(b + 2), d = d.substring(0, b), h = !0);
|
|
5981
|
-
let f =
|
|
5981
|
+
let f = Xt(d), y = [];
|
|
5982
5982
|
if (f) {
|
|
5983
|
-
let { args: D, methodName:
|
|
5984
|
-
for (let
|
|
5985
|
-
let
|
|
5986
|
-
|
|
5983
|
+
let { args: D, methodName: A } = f;
|
|
5984
|
+
for (let N = 0; N < D.length; N++) {
|
|
5985
|
+
let F = D[N];
|
|
5986
|
+
F.literal || y.push(F);
|
|
5987
5987
|
}
|
|
5988
|
-
let
|
|
5989
|
-
(
|
|
5988
|
+
let L = s.dynamicFns;
|
|
5989
|
+
(L && L[A] || f.static) && (y.push(A), f.dynamicFn = !0);
|
|
5990
5990
|
} else
|
|
5991
5991
|
y.push(d);
|
|
5992
5992
|
n.push({
|
|
@@ -6024,7 +6024,7 @@ const Yi = oe((o) => {
|
|
|
6024
6024
|
*/
|
|
6025
6025
|
static _evaluateBinding(r, s, n, a, l, c) {
|
|
6026
6026
|
let u;
|
|
6027
|
-
return s.signature ? u =
|
|
6027
|
+
return s.signature ? u = _i(r, n, a, l, s.signature) : n != s.source ? u = fe(r, s.source) : c && fi(n) ? u = fe(r, n) : u = r.__data[n], s.negate && (u = !u), u;
|
|
6028
6028
|
}
|
|
6029
6029
|
}
|
|
6030
6030
|
return e;
|
|
@@ -6207,7 +6207,7 @@ const Qa = oe((o) => {
|
|
|
6207
6207
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6208
6208
|
*/
|
|
6209
6209
|
const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = oe((o) => {
|
|
6210
|
-
const t = Qa(
|
|
6210
|
+
const t = Qa(ji(o));
|
|
6211
6211
|
function e(l) {
|
|
6212
6212
|
if (!l.hasOwnProperty(
|
|
6213
6213
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6238,13 +6238,13 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = oe((o
|
|
|
6238
6238
|
if (!Io) {
|
|
6239
6239
|
const h = c.content.querySelectorAll("style"), p = Er(c), b = Jn(u), f = c.content.firstElementChild;
|
|
6240
6240
|
for (let D = 0; D < b.length; D++) {
|
|
6241
|
-
let
|
|
6242
|
-
|
|
6241
|
+
let A = b[D];
|
|
6242
|
+
A.textContent = l._processStyleText(A.textContent, d), c.content.insertBefore(A, f);
|
|
6243
6243
|
}
|
|
6244
6244
|
let y = 0;
|
|
6245
6245
|
for (let D = 0; D < p.length; D++) {
|
|
6246
|
-
let
|
|
6247
|
-
|
|
6246
|
+
let A = p[D], L = h[y];
|
|
6247
|
+
L !== A ? (A = A.cloneNode(!0), L.parentNode.insertBefore(A, L)) : y++, A.textContent = l._processStyleText(A.textContent, d);
|
|
6248
6248
|
}
|
|
6249
6249
|
}
|
|
6250
6250
|
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), jn && Io && Fn) {
|
|
@@ -6259,8 +6259,8 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = oe((o
|
|
|
6259
6259
|
}
|
|
6260
6260
|
function n(l) {
|
|
6261
6261
|
let c = null;
|
|
6262
|
-
if (l && (!
|
|
6263
|
-
_t.import(l, "template"),
|
|
6262
|
+
if (l && (!zt || Rn) && (c = /** @type {?HTMLTemplateElement} */
|
|
6263
|
+
_t.import(l, "template"), zt && !c))
|
|
6264
6264
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6265
6265
|
return c;
|
|
6266
6266
|
}
|
|
@@ -6429,7 +6429,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = oe((o
|
|
|
6429
6429
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
6430
6430
|
const c = this.importMeta;
|
|
6431
6431
|
if (c)
|
|
6432
|
-
this._importPath =
|
|
6432
|
+
this._importPath = Hi(c.url);
|
|
6433
6433
|
else {
|
|
6434
6434
|
const u = _t.import(
|
|
6435
6435
|
/** @type {PolymerElementConstructor} */
|
|
@@ -6494,7 +6494,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = oe((o
|
|
|
6494
6494
|
* @nocollapse
|
|
6495
6495
|
*/
|
|
6496
6496
|
static _processStyleText(c, u) {
|
|
6497
|
-
return
|
|
6497
|
+
return Ri(c, u);
|
|
6498
6498
|
}
|
|
6499
6499
|
/**
|
|
6500
6500
|
* Configures an element `proto` to function with a given `template`.
|
|
@@ -6758,21 +6758,21 @@ const Ie = tl(HTMLElement);
|
|
|
6758
6758
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6759
6759
|
*/
|
|
6760
6760
|
const Ae = [];
|
|
6761
|
-
function
|
|
6761
|
+
function gi(o, t, e = o.getAttribute("dir")) {
|
|
6762
6762
|
t ? o.setAttribute("dir", t) : e != null && o.removeAttribute("dir");
|
|
6763
6763
|
}
|
|
6764
|
-
function
|
|
6764
|
+
function vi() {
|
|
6765
6765
|
return document.documentElement.getAttribute("dir");
|
|
6766
6766
|
}
|
|
6767
6767
|
function ol() {
|
|
6768
|
-
const o =
|
|
6768
|
+
const o = vi();
|
|
6769
6769
|
Ae.forEach((t) => {
|
|
6770
|
-
|
|
6770
|
+
gi(t, o);
|
|
6771
6771
|
});
|
|
6772
6772
|
}
|
|
6773
6773
|
const rl = new MutationObserver(ol);
|
|
6774
6774
|
rl.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6775
|
-
const
|
|
6775
|
+
const jt = (o) => class extends o {
|
|
6776
6776
|
static get properties() {
|
|
6777
6777
|
return {
|
|
6778
6778
|
/**
|
|
@@ -6798,14 +6798,14 @@ const Yt = (o) => class extends o {
|
|
|
6798
6798
|
}
|
|
6799
6799
|
/** @protected */
|
|
6800
6800
|
connectedCallback() {
|
|
6801
|
-
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(),
|
|
6801
|
+
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), gi(this, vi(), null));
|
|
6802
6802
|
}
|
|
6803
6803
|
/** @protected */
|
|
6804
6804
|
attributeChangedCallback(e, i, r) {
|
|
6805
6805
|
if (super.attributeChangedCallback(e, i, r), e !== "dir")
|
|
6806
6806
|
return;
|
|
6807
|
-
const s =
|
|
6808
|
-
n || a ? (this.__subscribe(),
|
|
6807
|
+
const s = vi(), n = r === s && Ae.indexOf(this) === -1, a = !r && i && Ae.indexOf(this) === -1;
|
|
6808
|
+
n || a ? (this.__subscribe(), gi(this, s, r)) : r !== s && i === s && this.__unsubscribe();
|
|
6809
6809
|
}
|
|
6810
6810
|
/** @protected */
|
|
6811
6811
|
disconnectedCallback() {
|
|
@@ -6944,8 +6944,8 @@ const nl = $`
|
|
|
6944
6944
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6945
6945
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6946
6946
|
*/
|
|
6947
|
-
|
|
6948
|
-
class al extends sl(Ye(
|
|
6947
|
+
ee("vaadin-input-container", nl, { moduleId: "vaadin-input-container-styles" });
|
|
6948
|
+
class al extends sl(Ye(jt(Ie))) {
|
|
6949
6949
|
static get is() {
|
|
6950
6950
|
return "vaadin-input-container";
|
|
6951
6951
|
}
|
|
@@ -7028,29 +7028,29 @@ const ll = $`
|
|
|
7028
7028
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7029
7029
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7030
7030
|
*/
|
|
7031
|
-
let
|
|
7031
|
+
let Ui = !1;
|
|
7032
7032
|
window.addEventListener(
|
|
7033
7033
|
"keydown",
|
|
7034
7034
|
() => {
|
|
7035
|
-
|
|
7035
|
+
Ui = !0;
|
|
7036
7036
|
},
|
|
7037
7037
|
{ capture: !0 }
|
|
7038
7038
|
);
|
|
7039
7039
|
window.addEventListener(
|
|
7040
7040
|
"mousedown",
|
|
7041
7041
|
() => {
|
|
7042
|
-
|
|
7042
|
+
Ui = !1;
|
|
7043
7043
|
},
|
|
7044
7044
|
{ capture: !0 }
|
|
7045
7045
|
);
|
|
7046
|
-
function
|
|
7046
|
+
function bi() {
|
|
7047
7047
|
let o = document.activeElement || document.body;
|
|
7048
7048
|
for (; o.shadowRoot && o.shadowRoot.activeElement; )
|
|
7049
7049
|
o = o.shadowRoot.activeElement;
|
|
7050
7050
|
return o;
|
|
7051
7051
|
}
|
|
7052
|
-
function
|
|
7053
|
-
return
|
|
7052
|
+
function Vi() {
|
|
7053
|
+
return Ui;
|
|
7054
7054
|
}
|
|
7055
7055
|
function cl(o) {
|
|
7056
7056
|
const t = o.style;
|
|
@@ -7069,11 +7069,11 @@ function dl(o, t) {
|
|
|
7069
7069
|
ul(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7070
7070
|
return e.concat(o, t);
|
|
7071
7071
|
}
|
|
7072
|
-
function
|
|
7072
|
+
function yi(o) {
|
|
7073
7073
|
const t = o.length;
|
|
7074
7074
|
if (t < 2)
|
|
7075
7075
|
return o;
|
|
7076
|
-
const e = Math.ceil(t / 2), i =
|
|
7076
|
+
const e = Math.ceil(t / 2), i = yi(o.slice(0, e)), r = yi(o.slice(e));
|
|
7077
7077
|
return dl(i, r);
|
|
7078
7078
|
}
|
|
7079
7079
|
function jr(o) {
|
|
@@ -7104,7 +7104,7 @@ function Ur(o, t) {
|
|
|
7104
7104
|
}
|
|
7105
7105
|
function fl(o) {
|
|
7106
7106
|
const t = [];
|
|
7107
|
-
return Ur(o, t) ?
|
|
7107
|
+
return Ur(o, t) ? yi(t) : t;
|
|
7108
7108
|
}
|
|
7109
7109
|
/**
|
|
7110
7110
|
@license
|
|
@@ -7115,10 +7115,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7115
7115
|
Code distributed by Google as part of the polymer project is also
|
|
7116
7116
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7117
7117
|
*/
|
|
7118
|
-
let
|
|
7118
|
+
let xi = !1, ml = [], Vr = [];
|
|
7119
7119
|
function _l() {
|
|
7120
|
-
|
|
7121
|
-
|
|
7120
|
+
xi = !0, requestAnimationFrame(function() {
|
|
7121
|
+
xi = !1, gl(ml), setTimeout(function() {
|
|
7122
7122
|
vl(Vr);
|
|
7123
7123
|
});
|
|
7124
7124
|
});
|
|
@@ -7142,19 +7142,19 @@ function Wr(o) {
|
|
|
7142
7142
|
}
|
|
7143
7143
|
}
|
|
7144
7144
|
function qr(o, t, e) {
|
|
7145
|
-
|
|
7145
|
+
xi || _l(), Vr.push([o, t, e]);
|
|
7146
7146
|
}
|
|
7147
7147
|
/**
|
|
7148
7148
|
* @license
|
|
7149
7149
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7150
7150
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7151
7151
|
*/
|
|
7152
|
-
const
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
const yl =
|
|
7157
|
-
|
|
7152
|
+
const Ut = (o) => o.test(navigator.userAgent), wi = (o) => o.test(navigator.platform), bl = (o) => o.test(navigator.vendor);
|
|
7153
|
+
Ut(/Android/u);
|
|
7154
|
+
Ut(/Chrome/u) && bl(/Google Inc/u);
|
|
7155
|
+
Ut(/Firefox/u);
|
|
7156
|
+
const yl = wi(/^iPad/u) || wi(/^Mac/u) && navigator.maxTouchPoints > 1, xl = wi(/^iPhone/u), Kr = xl || yl;
|
|
7157
|
+
Ut(/^((?!chrome|android).)*safari/iu);
|
|
7158
7158
|
const wl = (() => {
|
|
7159
7159
|
try {
|
|
7160
7160
|
return document.createEvent("TouchEvent"), !0;
|
|
@@ -7167,23 +7167,23 @@ const wl = (() => {
|
|
|
7167
7167
|
* Copyright (c) 2017 Anton Korzunov
|
|
7168
7168
|
* SPDX-License-Identifier: MIT
|
|
7169
7169
|
*/
|
|
7170
|
-
let We = /* @__PURE__ */ new WeakMap(),
|
|
7171
|
-
const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE,
|
|
7170
|
+
let We = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), Dt = {}, Zt = 0;
|
|
7171
|
+
const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Qt = (...o) => {
|
|
7172
7172
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7173
7173
|
}, El = (o, t) => zo(o) ? t.map((e) => {
|
|
7174
7174
|
if (!zo(e))
|
|
7175
|
-
return
|
|
7175
|
+
return Qt(e, "is not a valid element"), null;
|
|
7176
7176
|
let i = e;
|
|
7177
7177
|
for (; i && i !== o; ) {
|
|
7178
7178
|
if (o.contains(i))
|
|
7179
7179
|
return e;
|
|
7180
7180
|
i = i.getRootNode().host;
|
|
7181
7181
|
}
|
|
7182
|
-
return
|
|
7183
|
-
}).filter((e) => !!e) : (
|
|
7182
|
+
return Qt(e, "is not contained inside", o), null;
|
|
7183
|
+
}).filter((e) => !!e) : (Qt(o, "is not a valid element"), []), Sl = (o, t, e, i) => {
|
|
7184
7184
|
const r = El(t, Array.isArray(o) ? o : [o]);
|
|
7185
|
-
|
|
7186
|
-
const s =
|
|
7185
|
+
Dt[e] || (Dt[e] = /* @__PURE__ */ new WeakMap());
|
|
7186
|
+
const s = Dt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(r), c = (d) => {
|
|
7187
7187
|
if (!d || a.has(d))
|
|
7188
7188
|
return;
|
|
7189
7189
|
a.add(d);
|
|
@@ -7200,16 +7200,16 @@ const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
|
7200
7200
|
if (a.has(b))
|
|
7201
7201
|
u(b);
|
|
7202
7202
|
else {
|
|
7203
|
-
const f = b.getAttribute(i), y = f !== null && f !== "false", D = (We.get(b) || 0) + 1,
|
|
7204
|
-
We.set(b, D), s.set(b,
|
|
7203
|
+
const f = b.getAttribute(i), y = f !== null && f !== "false", D = (We.get(b) || 0) + 1, A = (s.get(b) || 0) + 1;
|
|
7204
|
+
We.set(b, D), s.set(b, A), n.push(b), D === 1 && y && At.set(b, !0), A === 1 && b.setAttribute(e, "true"), y || b.setAttribute(i, "true");
|
|
7205
7205
|
}
|
|
7206
7206
|
});
|
|
7207
7207
|
};
|
|
7208
|
-
return u(t), a.clear(),
|
|
7208
|
+
return u(t), a.clear(), Zt += 1, () => {
|
|
7209
7209
|
n.forEach((d) => {
|
|
7210
7210
|
const h = We.get(d) - 1, p = s.get(d) - 1;
|
|
7211
|
-
We.set(d, h), s.set(d, p), h || (
|
|
7212
|
-
}),
|
|
7211
|
+
We.set(d, h), s.set(d, p), h || (At.has(d) ? At.delete(d) : d.removeAttribute(i)), p || d.removeAttribute(e);
|
|
7212
|
+
}), Zt -= 1, Zt || (We = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), Dt = {});
|
|
7213
7213
|
};
|
|
7214
7214
|
}, Gr = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7215
7215
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
@@ -7260,7 +7260,7 @@ class Al {
|
|
|
7260
7260
|
* @param {Node | null | undefined} focusNode
|
|
7261
7261
|
*/
|
|
7262
7262
|
saveFocus(t) {
|
|
7263
|
-
this.focusNode = t ||
|
|
7263
|
+
this.focusNode = t || bi();
|
|
7264
7264
|
}
|
|
7265
7265
|
/**
|
|
7266
7266
|
* Restores focus to the target node that was saved previously with `saveFocus()`.
|
|
@@ -7270,7 +7270,7 @@ class Al {
|
|
|
7270
7270
|
if (!e)
|
|
7271
7271
|
return;
|
|
7272
7272
|
const i = t ? t.preventScroll : !1;
|
|
7273
|
-
|
|
7273
|
+
bi() === document.body ? setTimeout(() => e.focus({ preventScroll: i })) : e.focus({ preventScroll: i }), this.focusNode = null;
|
|
7274
7274
|
}
|
|
7275
7275
|
}
|
|
7276
7276
|
/**
|
|
@@ -7278,7 +7278,7 @@ class Al {
|
|
|
7278
7278
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7279
7279
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7280
7280
|
*/
|
|
7281
|
-
const
|
|
7281
|
+
const ei = [];
|
|
7282
7282
|
class Dl {
|
|
7283
7283
|
/**
|
|
7284
7284
|
* @param {HTMLElement} host
|
|
@@ -7328,14 +7328,14 @@ class Dl {
|
|
|
7328
7328
|
trapFocus(t) {
|
|
7329
7329
|
if (this.__trapNode = t, this.__focusableElements.length === 0)
|
|
7330
7330
|
throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
|
|
7331
|
-
|
|
7331
|
+
ei.push(this), this.__focusedElementIndex === -1 && this.__focusableElements[0].focus();
|
|
7332
7332
|
}
|
|
7333
7333
|
/**
|
|
7334
7334
|
* Deactivates the focus trap set with the `.trapFocus()` method
|
|
7335
7335
|
* so that it becomes possible to tab outside the trap node.
|
|
7336
7336
|
*/
|
|
7337
7337
|
releaseFocus() {
|
|
7338
|
-
this.__trapNode = null,
|
|
7338
|
+
this.__trapNode = null, ei.pop();
|
|
7339
7339
|
}
|
|
7340
7340
|
/**
|
|
7341
7341
|
* A `keydown` event handler that manages tabbing navigation when the trap is enabled.
|
|
@@ -7349,7 +7349,7 @@ class Dl {
|
|
|
7349
7349
|
* @private
|
|
7350
7350
|
*/
|
|
7351
7351
|
__onKeyDown(t) {
|
|
7352
|
-
if (this.__trapNode && this === Array.from(
|
|
7352
|
+
if (this.__trapNode && this === Array.from(ei).pop() && t.key === "Tab") {
|
|
7353
7353
|
t.preventDefault();
|
|
7354
7354
|
const e = t.shiftKey;
|
|
7355
7355
|
this.__focusNextElement(e);
|
|
@@ -7460,7 +7460,7 @@ const kl = (o) => class extends ot(o) {
|
|
|
7460
7460
|
*/
|
|
7461
7461
|
_resetFocus() {
|
|
7462
7462
|
if (this.focusTrap && (this.__ariaModalController.close(), this.__focusTrapController.releaseFocus()), this.restoreFocusOnClose && this._shouldRestoreFocus()) {
|
|
7463
|
-
const e = !
|
|
7463
|
+
const e = !Vi();
|
|
7464
7464
|
this.__focusRestorationController.restoreFocus({ preventScroll: e });
|
|
7465
7465
|
}
|
|
7466
7466
|
}
|
|
@@ -7492,7 +7492,7 @@ const kl = (o) => class extends ot(o) {
|
|
|
7492
7492
|
* @return {boolean}
|
|
7493
7493
|
*/
|
|
7494
7494
|
_shouldRestoreFocus() {
|
|
7495
|
-
const e =
|
|
7495
|
+
const e = bi();
|
|
7496
7496
|
return e === document.body || this._deepContains(e);
|
|
7497
7497
|
}
|
|
7498
7498
|
/**
|
|
@@ -7518,7 +7518,7 @@ const kl = (o) => class extends ot(o) {
|
|
|
7518
7518
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7519
7519
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7520
7520
|
*/
|
|
7521
|
-
const Jr = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0),
|
|
7521
|
+
const Jr = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), Ei = () => Jr().filter((o) => o.$.overlay), Pl = (o) => o === Ei().pop(), Tl = (o) => class extends o {
|
|
7522
7522
|
constructor() {
|
|
7523
7523
|
super(), this._hasOverlayStackMixin = !0;
|
|
7524
7524
|
}
|
|
@@ -7541,14 +7541,14 @@ const Jr = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7541
7541
|
}
|
|
7542
7542
|
/** @protected */
|
|
7543
7543
|
_enterModalState() {
|
|
7544
|
-
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"),
|
|
7544
|
+
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"), Ei().forEach((e) => {
|
|
7545
7545
|
e !== this && (e.$.overlay.style.pointerEvents = "none");
|
|
7546
7546
|
});
|
|
7547
7547
|
}
|
|
7548
7548
|
/** @protected */
|
|
7549
7549
|
_exitModalState() {
|
|
7550
7550
|
this._previousDocumentPointerEvents !== void 0 && (document.body.style.pointerEvents = this._previousDocumentPointerEvents, delete this._previousDocumentPointerEvents);
|
|
7551
|
-
const e =
|
|
7551
|
+
const e = Ei();
|
|
7552
7552
|
let i;
|
|
7553
7553
|
for (; (i = e.pop()) && !(i !== this && (i.$.overlay.style.removeProperty("pointer-events"), !i.modeless)); )
|
|
7554
7554
|
;
|
|
@@ -7844,23 +7844,23 @@ function Ol(o) {
|
|
|
7844
7844
|
}
|
|
7845
7845
|
return t;
|
|
7846
7846
|
}
|
|
7847
|
-
function
|
|
7847
|
+
function Wi(o) {
|
|
7848
7848
|
return o ? new Set(o.split(" ")) : /* @__PURE__ */ new Set();
|
|
7849
7849
|
}
|
|
7850
|
-
function
|
|
7850
|
+
function Vt(o) {
|
|
7851
7851
|
return o ? [...o].join(" ") : "";
|
|
7852
7852
|
}
|
|
7853
7853
|
function Xr(o, t, e) {
|
|
7854
|
-
const i =
|
|
7855
|
-
i.add(e), o.setAttribute(t,
|
|
7854
|
+
const i = Wi(o.getAttribute(t));
|
|
7855
|
+
i.add(e), o.setAttribute(t, Vt(i));
|
|
7856
7856
|
}
|
|
7857
7857
|
function Il(o, t, e) {
|
|
7858
|
-
const i =
|
|
7858
|
+
const i = Wi(o.getAttribute(t));
|
|
7859
7859
|
if (i.delete(e), i.size === 0) {
|
|
7860
7860
|
o.removeAttribute(t);
|
|
7861
7861
|
return;
|
|
7862
7862
|
}
|
|
7863
|
-
o.setAttribute(t,
|
|
7863
|
+
o.setAttribute(t, Vt(i));
|
|
7864
7864
|
}
|
|
7865
7865
|
function Nl(o) {
|
|
7866
7866
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
@@ -7885,17 +7885,17 @@ function zl(o, t) {
|
|
|
7885
7885
|
rootMargin: `${-h}px ${-p}px ${-b}px ${-f}px`,
|
|
7886
7886
|
threshold: Math.max(0, Math.min(1, a)) || 1
|
|
7887
7887
|
};
|
|
7888
|
-
let
|
|
7889
|
-
function N
|
|
7890
|
-
let
|
|
7891
|
-
if (
|
|
7892
|
-
if (!
|
|
7888
|
+
let A = !0;
|
|
7889
|
+
function L(N) {
|
|
7890
|
+
let F = N[0].intersectionRatio;
|
|
7891
|
+
if (F !== a) {
|
|
7892
|
+
if (!A)
|
|
7893
7893
|
return s();
|
|
7894
|
-
|
|
7894
|
+
F === 0 && (F = 1e-7), s(!1, F);
|
|
7895
7895
|
}
|
|
7896
|
-
|
|
7896
|
+
A = !1;
|
|
7897
7897
|
}
|
|
7898
|
-
e = new IntersectionObserver(
|
|
7898
|
+
e = new IntersectionObserver(L, D), e.observe(o);
|
|
7899
7899
|
}
|
|
7900
7900
|
return s(!0), r;
|
|
7901
7901
|
}
|
|
@@ -7904,10 +7904,10 @@ function zl(o, t) {
|
|
|
7904
7904
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7905
7905
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7906
7906
|
*/
|
|
7907
|
-
const
|
|
7907
|
+
const ti = {
|
|
7908
7908
|
start: "top",
|
|
7909
7909
|
end: "bottom"
|
|
7910
|
-
},
|
|
7910
|
+
}, ii = {
|
|
7911
7911
|
start: "left",
|
|
7912
7912
|
end: "right"
|
|
7913
7913
|
}, Lo = new ResizeObserver((o) => {
|
|
@@ -8059,14 +8059,14 @@ const ei = {
|
|
|
8059
8059
|
e,
|
|
8060
8060
|
a,
|
|
8061
8061
|
this.noVerticalOverlap,
|
|
8062
|
-
|
|
8062
|
+
ti,
|
|
8063
8063
|
this,
|
|
8064
8064
|
i
|
|
8065
8065
|
), c = this.__calculatePositionInOneDimension(
|
|
8066
8066
|
e,
|
|
8067
8067
|
a,
|
|
8068
8068
|
this.noHorizontalOverlap,
|
|
8069
|
-
|
|
8069
|
+
ii,
|
|
8070
8070
|
this,
|
|
8071
8071
|
s
|
|
8072
8072
|
);
|
|
@@ -8083,7 +8083,7 @@ const ei = {
|
|
|
8083
8083
|
this.__margins,
|
|
8084
8084
|
n,
|
|
8085
8085
|
this.noHorizontalOverlap,
|
|
8086
|
-
|
|
8086
|
+
ii
|
|
8087
8087
|
);
|
|
8088
8088
|
}
|
|
8089
8089
|
__shouldAlignStartVertically(e) {
|
|
@@ -8097,7 +8097,7 @@ const ei = {
|
|
|
8097
8097
|
this.__margins,
|
|
8098
8098
|
s,
|
|
8099
8099
|
this.noVerticalOverlap,
|
|
8100
|
-
|
|
8100
|
+
ti
|
|
8101
8101
|
);
|
|
8102
8102
|
}
|
|
8103
8103
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
@@ -8114,7 +8114,7 @@ const ei = {
|
|
|
8114
8114
|
__adjustBottomProperty(e, i, r) {
|
|
8115
8115
|
let s;
|
|
8116
8116
|
if (e === i.end) {
|
|
8117
|
-
if (i.end ===
|
|
8117
|
+
if (i.end === ti.end) {
|
|
8118
8118
|
const n = Math.min(window.innerHeight, document.documentElement.clientHeight);
|
|
8119
8119
|
if (r > n && this.__oldViewportHeight) {
|
|
8120
8120
|
const a = this.__oldViewportHeight - n;
|
|
@@ -8122,7 +8122,7 @@ const ei = {
|
|
|
8122
8122
|
}
|
|
8123
8123
|
this.__oldViewportHeight = n;
|
|
8124
8124
|
}
|
|
8125
|
-
if (i.end ===
|
|
8125
|
+
if (i.end === ii.end) {
|
|
8126
8126
|
const n = Math.min(window.innerWidth, document.documentElement.clientWidth);
|
|
8127
8127
|
if (r > n && this.__oldViewportWidth) {
|
|
8128
8128
|
const a = this.__oldViewportWidth - n;
|
|
@@ -8197,10 +8197,10 @@ const $l = $`
|
|
|
8197
8197
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8198
8198
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8199
8199
|
*/
|
|
8200
|
-
|
|
8200
|
+
ee("vaadin-date-picker-overlay", [ll, $l], {
|
|
8201
8201
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8202
8202
|
});
|
|
8203
|
-
class Rl extends Fl(
|
|
8203
|
+
class Rl extends Fl(jt(Ye(Ie))) {
|
|
8204
8204
|
static get is() {
|
|
8205
8205
|
return "vaadin-date-picker-overlay";
|
|
8206
8206
|
}
|
|
@@ -8216,7 +8216,7 @@ class Rl extends Fl(Yt(Ye(Ie))) {
|
|
|
8216
8216
|
}
|
|
8217
8217
|
}
|
|
8218
8218
|
Ce(Rl);
|
|
8219
|
-
const Hl = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,
|
|
8219
|
+
const Hl = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Tt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8220
8220
|
function Bl() {
|
|
8221
8221
|
function o() {
|
|
8222
8222
|
return !0;
|
|
@@ -8225,7 +8225,7 @@ function Bl() {
|
|
|
8225
8225
|
}
|
|
8226
8226
|
function Yl() {
|
|
8227
8227
|
try {
|
|
8228
|
-
return jl() ? !0 : Ul() ?
|
|
8228
|
+
return jl() ? !0 : Ul() ? Tt ? !Vl() : !Bl() : !1;
|
|
8229
8229
|
} catch {
|
|
8230
8230
|
return !1;
|
|
8231
8231
|
}
|
|
@@ -8237,7 +8237,7 @@ function Ul() {
|
|
|
8237
8237
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8238
8238
|
}
|
|
8239
8239
|
function Vl() {
|
|
8240
|
-
return !!(
|
|
8240
|
+
return !!(Tt && Object.keys(Tt).map((t) => Tt[t]).filter((t) => t.productionMode).length > 0);
|
|
8241
8241
|
}
|
|
8242
8242
|
function Zr(o, t) {
|
|
8243
8243
|
if (typeof o != "function")
|
|
@@ -8753,9 +8753,9 @@ const ql = function() {
|
|
|
8753
8753
|
*/
|
|
8754
8754
|
let $o = 0, Qr = 0;
|
|
8755
8755
|
const Je = [];
|
|
8756
|
-
let
|
|
8756
|
+
let Si = !1;
|
|
8757
8757
|
function Kl() {
|
|
8758
|
-
|
|
8758
|
+
Si = !1;
|
|
8759
8759
|
const o = Je.length;
|
|
8760
8760
|
for (let t = 0; t < o; t++) {
|
|
8761
8761
|
const e = Je[t];
|
|
@@ -8770,7 +8770,7 @@ function Kl() {
|
|
|
8770
8770
|
}
|
|
8771
8771
|
Je.splice(0, o), Qr += o;
|
|
8772
8772
|
}
|
|
8773
|
-
const
|
|
8773
|
+
const Ft = {
|
|
8774
8774
|
/**
|
|
8775
8775
|
* Returns a sub-module with the async interface providing the provided
|
|
8776
8776
|
* delay.
|
|
@@ -8861,7 +8861,7 @@ const Lt = {
|
|
|
8861
8861
|
* @return {number} Handle used for canceling task
|
|
8862
8862
|
*/
|
|
8863
8863
|
run(o) {
|
|
8864
|
-
|
|
8864
|
+
Si || (Si = !0, queueMicrotask(() => Kl())), Je.push(o);
|
|
8865
8865
|
const t = $o;
|
|
8866
8866
|
return $o += 1, t;
|
|
8867
8867
|
},
|
|
@@ -8890,8 +8890,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
8890
8890
|
Code distributed by Google as part of the polymer project is also
|
|
8891
8891
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8892
8892
|
*/
|
|
8893
|
-
const
|
|
8894
|
-
let et = class
|
|
8893
|
+
const Ci = /* @__PURE__ */ new Set();
|
|
8894
|
+
let et = class Ai {
|
|
8895
8895
|
/**
|
|
8896
8896
|
* Creates a debouncer if no debouncer is passed as a parameter
|
|
8897
8897
|
* or it cancels an active debouncer otherwise. The following
|
|
@@ -8927,7 +8927,7 @@ let et = class Ci {
|
|
|
8927
8927
|
* @return {!Debouncer} Returns a debouncer object.
|
|
8928
8928
|
*/
|
|
8929
8929
|
static debounce(t, e, i) {
|
|
8930
|
-
return t instanceof
|
|
8930
|
+
return t instanceof Ai ? t._cancelAsync() : t = new Ai(), t.setConfig(e, i), t;
|
|
8931
8931
|
}
|
|
8932
8932
|
constructor() {
|
|
8933
8933
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
@@ -8943,7 +8943,7 @@ let et = class Ci {
|
|
|
8943
8943
|
*/
|
|
8944
8944
|
setConfig(t, e) {
|
|
8945
8945
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
8946
|
-
this._timer = null,
|
|
8946
|
+
this._timer = null, Ci.delete(this), this._callback();
|
|
8947
8947
|
});
|
|
8948
8948
|
}
|
|
8949
8949
|
/**
|
|
@@ -8952,7 +8952,7 @@ let et = class Ci {
|
|
|
8952
8952
|
* @return {void}
|
|
8953
8953
|
*/
|
|
8954
8954
|
cancel() {
|
|
8955
|
-
this.isActive() && (this._cancelAsync(),
|
|
8955
|
+
this.isActive() && (this._cancelAsync(), Ci.delete(this));
|
|
8956
8956
|
}
|
|
8957
8957
|
/**
|
|
8958
8958
|
* Cancels a debouncer's async callback.
|
|
@@ -8983,7 +8983,7 @@ let et = class Ci {
|
|
|
8983
8983
|
}
|
|
8984
8984
|
};
|
|
8985
8985
|
function Zl(o) {
|
|
8986
|
-
|
|
8986
|
+
Ci.add(o);
|
|
8987
8987
|
}
|
|
8988
8988
|
/**
|
|
8989
8989
|
* @license
|
|
@@ -8996,15 +8996,15 @@ window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback
|
|
|
8996
8996
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
8997
8997
|
ql();
|
|
8998
8998
|
};
|
|
8999
|
-
let
|
|
9000
|
-
const Ro = /* @__PURE__ */ new Set(), es = (o) => class extends
|
|
8999
|
+
let oi;
|
|
9000
|
+
const Ro = /* @__PURE__ */ new Set(), es = (o) => class extends jt(o) {
|
|
9001
9001
|
/** @protected */
|
|
9002
9002
|
static finalize() {
|
|
9003
9003
|
super.finalize();
|
|
9004
9004
|
const { is: e } = this;
|
|
9005
|
-
e && !Ro.has(e) && (window.Vaadin.registrations.push(this), Ro.add(e), window.Vaadin.developmentModeCallback && (
|
|
9005
|
+
e && !Ro.has(e) && (window.Vaadin.registrations.push(this), Ro.add(e), window.Vaadin.developmentModeCallback && (oi = et.debounce(oi, Jl, () => {
|
|
9006
9006
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9007
|
-
}), Zl(
|
|
9007
|
+
}), Zl(oi)));
|
|
9008
9008
|
}
|
|
9009
9009
|
constructor() {
|
|
9010
9010
|
super(), document.doctype === null && console.warn(
|
|
@@ -9377,7 +9377,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9377
9377
|
Code distributed by Google as part of the polymer project is also
|
|
9378
9378
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9379
9379
|
*/
|
|
9380
|
-
const oc =
|
|
9380
|
+
const oc = (o) => o, os = typeof document.head.style.touchAction == "string", Di = "__polymerGestures", ri = "__polymerGesturesHandled", ki = "__polymerGesturesTouchAction", Ho = 25, Bo = 5, rc = 2, sc = ["mousedown", "mousemove", "mouseup", "click"], nc = [0, 1, 4, 2], ac = function() {
|
|
9381
9381
|
try {
|
|
9382
9382
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9383
9383
|
} catch {
|
|
@@ -9385,15 +9385,15 @@ const oc = !1, rc = (o) => o, Wi = typeof document.head.style.touchAction == "st
|
|
|
9385
9385
|
}
|
|
9386
9386
|
}();
|
|
9387
9387
|
function qi(o) {
|
|
9388
|
-
return
|
|
9388
|
+
return sc.indexOf(o) > -1;
|
|
9389
9389
|
}
|
|
9390
|
-
let
|
|
9390
|
+
let lc = !1;
|
|
9391
9391
|
(function() {
|
|
9392
9392
|
try {
|
|
9393
9393
|
const o = Object.defineProperty({}, "passive", {
|
|
9394
9394
|
// eslint-disable-next-line getter-return
|
|
9395
9395
|
get() {
|
|
9396
|
-
|
|
9396
|
+
lc = !0;
|
|
9397
9397
|
}
|
|
9398
9398
|
});
|
|
9399
9399
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
@@ -9401,8 +9401,7 @@ let os = !1;
|
|
|
9401
9401
|
}
|
|
9402
9402
|
})();
|
|
9403
9403
|
function cc(o) {
|
|
9404
|
-
|
|
9405
|
-
return { passive: !0 };
|
|
9404
|
+
qi(o);
|
|
9406
9405
|
}
|
|
9407
9406
|
const uc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), dc = {
|
|
9408
9407
|
button: !0,
|
|
@@ -9421,7 +9420,7 @@ function He(o) {
|
|
|
9421
9420
|
return !1;
|
|
9422
9421
|
if (t === "mousemove") {
|
|
9423
9422
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9424
|
-
return o instanceof window.MouseEvent && !
|
|
9423
|
+
return o instanceof window.MouseEvent && !ac && (i = nc[o.which] || 0), !!(i & 1);
|
|
9425
9424
|
}
|
|
9426
9425
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9427
9426
|
}
|
|
@@ -9442,10 +9441,6 @@ function hc(o) {
|
|
|
9442
9441
|
return !1;
|
|
9443
9442
|
}
|
|
9444
9443
|
const De = {
|
|
9445
|
-
mouse: {
|
|
9446
|
-
target: null,
|
|
9447
|
-
mouseIgnoreJob: null
|
|
9448
|
-
},
|
|
9449
9444
|
touch: {
|
|
9450
9445
|
x: 0,
|
|
9451
9446
|
y: 0,
|
|
@@ -9457,8 +9452,8 @@ function pc(o) {
|
|
|
9457
9452
|
let t = "auto";
|
|
9458
9453
|
const e = ss(o);
|
|
9459
9454
|
for (let i = 0, r; i < e.length; i++)
|
|
9460
|
-
if (r = e[i], r[
|
|
9461
|
-
t = r[
|
|
9455
|
+
if (r = e[i], r[ki]) {
|
|
9456
|
+
t = r[ki];
|
|
9462
9457
|
break;
|
|
9463
9458
|
}
|
|
9464
9459
|
return t;
|
|
@@ -9488,19 +9483,19 @@ function Oe(o) {
|
|
|
9488
9483
|
return t.length > 0 ? t[0] : o.target;
|
|
9489
9484
|
}
|
|
9490
9485
|
function mc(o) {
|
|
9491
|
-
const t = o.type, i = o.currentTarget[
|
|
9486
|
+
const t = o.type, i = o.currentTarget[Di];
|
|
9492
9487
|
if (!i)
|
|
9493
9488
|
return;
|
|
9494
9489
|
const r = i[t];
|
|
9495
9490
|
if (!r)
|
|
9496
9491
|
return;
|
|
9497
|
-
if (!o[
|
|
9492
|
+
if (!o[ri] && (o[ri] = {}, t.startsWith("touch"))) {
|
|
9498
9493
|
const n = o.changedTouches[0];
|
|
9499
9494
|
if (t === "touchstart" && o.touches.length === 1 && (De.touch.id = n.identifier), De.touch.id !== n.identifier)
|
|
9500
9495
|
return;
|
|
9501
|
-
|
|
9496
|
+
os || (t === "touchstart" || t === "touchmove") && _c(o);
|
|
9502
9497
|
}
|
|
9503
|
-
const s = o[
|
|
9498
|
+
const s = o[ri];
|
|
9504
9499
|
if (!s.skip) {
|
|
9505
9500
|
for (let n = 0, a; n < Re.length; n++)
|
|
9506
9501
|
a = Re[n], r[a.name] && !s[a.name] && a.flow && a.flow.start.indexOf(o.type) > -1 && a.reset && a.reset();
|
|
@@ -9519,7 +9514,7 @@ function _c(o) {
|
|
|
9519
9514
|
const i = pc(o);
|
|
9520
9515
|
let r = !1;
|
|
9521
9516
|
const s = Math.abs(De.touch.x - t.clientX), n = Math.abs(De.touch.y - t.clientY);
|
|
9522
|
-
o.cancelable && (i === "none" ? r = !0 : i === "pan-x" ? r = n > s : i === "pan-y" && (r = s > n)), r ? o.preventDefault() :
|
|
9517
|
+
o.cancelable && (i === "none" ? r = !0 : i === "pan-x" ? r = n > s : i === "pan-y" && (r = s > n)), r ? o.preventDefault() : $t("track");
|
|
9523
9518
|
}
|
|
9524
9519
|
}
|
|
9525
9520
|
function Se(o, t, e) {
|
|
@@ -9527,8 +9522,8 @@ function Se(o, t, e) {
|
|
|
9527
9522
|
}
|
|
9528
9523
|
function gc(o, t, e) {
|
|
9529
9524
|
const i = Ki[t], r = i.deps, s = i.name;
|
|
9530
|
-
let n = o[
|
|
9531
|
-
n || (o[
|
|
9525
|
+
let n = o[Di];
|
|
9526
|
+
n || (o[Di] = n = {});
|
|
9532
9527
|
for (let a = 0, l, c; a < r.length; a++)
|
|
9533
9528
|
l = r[a], !(uc && qi(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, mc, cc(l)), c[s] = (c[s] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9534
9529
|
o.addEventListener(t, e), i.touchAction && ns(o, i.touchAction);
|
|
@@ -9548,13 +9543,13 @@ function vc(o) {
|
|
|
9548
9543
|
return null;
|
|
9549
9544
|
}
|
|
9550
9545
|
function ns(o, t) {
|
|
9551
|
-
|
|
9546
|
+
os && o instanceof HTMLElement && Xl.run(() => {
|
|
9552
9547
|
o.style.touchAction = t;
|
|
9553
|
-
}), o[
|
|
9548
|
+
}), o[ki] = t;
|
|
9554
9549
|
}
|
|
9555
9550
|
function Ji(o, t, e) {
|
|
9556
9551
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9557
|
-
if (i.detail = e,
|
|
9552
|
+
if (i.detail = e, oc(
|
|
9558
9553
|
/** @type {!Node} */
|
|
9559
9554
|
o
|
|
9560
9555
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9562,7 +9557,7 @@ function Ji(o, t, e) {
|
|
|
9562
9557
|
r && r.preventDefault && r.preventDefault();
|
|
9563
9558
|
}
|
|
9564
9559
|
}
|
|
9565
|
-
function
|
|
9560
|
+
function $t(o) {
|
|
9566
9561
|
const t = vc(o);
|
|
9567
9562
|
t.info && (t.info.prevent = !0);
|
|
9568
9563
|
}
|
|
@@ -9624,7 +9619,7 @@ function at(o, t, e, i) {
|
|
|
9624
9619
|
sourceEvent: e,
|
|
9625
9620
|
preventer: i,
|
|
9626
9621
|
prevent(r) {
|
|
9627
|
-
return
|
|
9622
|
+
return $t(r);
|
|
9628
9623
|
}
|
|
9629
9624
|
});
|
|
9630
9625
|
}
|
|
@@ -9645,7 +9640,7 @@ Gi({
|
|
|
9645
9640
|
moves: [],
|
|
9646
9641
|
/** @this {GestureInfo} */
|
|
9647
9642
|
addMove(o) {
|
|
9648
|
-
this.moves.length >
|
|
9643
|
+
this.moves.length > rc && this.moves.shift(), this.moves.push(o);
|
|
9649
9644
|
},
|
|
9650
9645
|
movefn: null,
|
|
9651
9646
|
upfn: null,
|
|
@@ -9668,7 +9663,7 @@ Gi({
|
|
|
9668
9663
|
return;
|
|
9669
9664
|
const t = Oe(o), e = this, i = (s) => {
|
|
9670
9665
|
const n = s.clientX, a = s.clientY;
|
|
9671
|
-
Yo(e.info, n, a) && (e.info.state = e.info.started ? s.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" &&
|
|
9666
|
+
Yo(e.info, n, a) && (e.info.state = e.info.started ? s.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && $t("tap"), e.info.addMove({ x: n, y: a }), He(s) || (e.info.state = "end", Xe(e.info)), t && si(e.info, t, s), e.info.started = !0);
|
|
9672
9667
|
}, r = (s) => {
|
|
9673
9668
|
e.info.started && i(s), Xe(e.info);
|
|
9674
9669
|
};
|
|
@@ -9690,7 +9685,7 @@ Gi({
|
|
|
9690
9685
|
*/
|
|
9691
9686
|
touchmove(o) {
|
|
9692
9687
|
const t = Oe(o), e = o.changedTouches[0], i = e.clientX, r = e.clientY;
|
|
9693
|
-
Yo(this.info, i, r) && (this.info.state === "start" &&
|
|
9688
|
+
Yo(this.info, i, r) && (this.info.state === "start" && $t("tap"), this.info.addMove({ x: i, y: r }), si(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9694
9689
|
},
|
|
9695
9690
|
/**
|
|
9696
9691
|
* @this {GestureRecognizer}
|
|
@@ -9699,7 +9694,7 @@ Gi({
|
|
|
9699
9694
|
*/
|
|
9700
9695
|
touchend(o) {
|
|
9701
9696
|
const t = Oe(o), e = o.changedTouches[0];
|
|
9702
|
-
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }),
|
|
9697
|
+
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), si(this.info, t, e));
|
|
9703
9698
|
}
|
|
9704
9699
|
});
|
|
9705
9700
|
function Yo(o, t, e) {
|
|
@@ -9710,7 +9705,7 @@ function Yo(o, t, e) {
|
|
|
9710
9705
|
const i = Math.abs(o.x - t), r = Math.abs(o.y - e);
|
|
9711
9706
|
return i >= Bo || r >= Bo;
|
|
9712
9707
|
}
|
|
9713
|
-
function
|
|
9708
|
+
function si(o, t, e) {
|
|
9714
9709
|
if (!t)
|
|
9715
9710
|
return;
|
|
9716
9711
|
const i = o.moves[o.moves.length - 2], r = o.moves[o.moves.length - 1], s = r.x - o.x, n = r.y - o.y;
|
|
@@ -9845,7 +9840,7 @@ const as = oe(
|
|
|
9845
9840
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9846
9841
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9847
9842
|
*/
|
|
9848
|
-
const
|
|
9843
|
+
const Wt = oe(
|
|
9849
9844
|
(o) => class extends o {
|
|
9850
9845
|
/** @protected */
|
|
9851
9846
|
ready() {
|
|
@@ -9907,7 +9902,7 @@ const Vt = oe(
|
|
|
9907
9902
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9908
9903
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9909
9904
|
*/
|
|
9910
|
-
const bc = (o) => class extends as(
|
|
9905
|
+
const bc = (o) => class extends as(Wt(o)) {
|
|
9911
9906
|
/**
|
|
9912
9907
|
* An array of activation keys.
|
|
9913
9908
|
*
|
|
@@ -9977,7 +9972,7 @@ const Xi = oe(
|
|
|
9977
9972
|
* @return {boolean}
|
|
9978
9973
|
*/
|
|
9979
9974
|
get _keyboardActive() {
|
|
9980
|
-
return
|
|
9975
|
+
return Vi();
|
|
9981
9976
|
}
|
|
9982
9977
|
/** @protected */
|
|
9983
9978
|
ready() {
|
|
@@ -10133,7 +10128,7 @@ const yc = (o) => class extends bc(ls(Xi(o))) {
|
|
|
10133
10128
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10134
10129
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10135
10130
|
*/
|
|
10136
|
-
|
|
10131
|
+
ee("vaadin-button", tc, { moduleId: "vaadin-button-styles" });
|
|
10137
10132
|
class xc extends yc(es(Ye(ot(Ie)))) {
|
|
10138
10133
|
static get is() {
|
|
10139
10134
|
return "vaadin-button";
|
|
@@ -10160,11 +10155,11 @@ function wc(o) {
|
|
|
10160
10155
|
const s = i.getTime() - r.getTime(), n = Math.round(s / (24 * 3600 * 1e3));
|
|
10161
10156
|
return Math.floor(n / 7 + 1);
|
|
10162
10157
|
}
|
|
10163
|
-
function
|
|
10158
|
+
function Pi(o) {
|
|
10164
10159
|
const t = new Date(o);
|
|
10165
10160
|
return t.setHours(0, 0, 0, 0), t;
|
|
10166
10161
|
}
|
|
10167
|
-
function Te(o, t, e =
|
|
10162
|
+
function Te(o, t, e = Pi) {
|
|
10168
10163
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10169
10164
|
}
|
|
10170
10165
|
function Zi(o) {
|
|
@@ -10234,7 +10229,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10234
10229
|
Code distributed by Google as part of the polymer project is also
|
|
10235
10230
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10236
10231
|
*/
|
|
10237
|
-
class
|
|
10232
|
+
class Rt {
|
|
10238
10233
|
constructor() {
|
|
10239
10234
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
10240
10235
|
}
|
|
@@ -10322,7 +10317,7 @@ class $t {
|
|
|
10322
10317
|
* @return {!Debouncer} Returns a debouncer object.
|
|
10323
10318
|
*/
|
|
10324
10319
|
static debounce(t, e, i) {
|
|
10325
|
-
return t instanceof
|
|
10320
|
+
return t instanceof Rt ? t._cancelAsync() : t = new Rt(), t.setConfig(e, i), t;
|
|
10326
10321
|
}
|
|
10327
10322
|
}
|
|
10328
10323
|
let xt = /* @__PURE__ */ new Set();
|
|
@@ -10510,7 +10505,7 @@ class hs extends HTMLElement {
|
|
|
10510
10505
|
const t = this.$.scroller.scrollTop;
|
|
10511
10506
|
(t < this._bufferHeight || t > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
|
|
10512
10507
|
const e = this.itemHeight + this.bufferOffset, i = t > this._buffers[1].translateY + e, r = t < this._buffers[0].translateY + e;
|
|
10513
|
-
(i || r) && (this._translateBuffer(r), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish = et.debounce(this._debouncerScrollFinish,
|
|
10508
|
+
(i || r) && (this._translateBuffer(r), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish = et.debounce(this._debouncerScrollFinish, Ft.after(200), () => {
|
|
10514
10509
|
const s = this.$.scroller.getBoundingClientRect();
|
|
10515
10510
|
!this._isVisible(this._buffers[0], s) && !this._isVisible(this._buffers[1], s) && (this.position = this.position);
|
|
10516
10511
|
});
|
|
@@ -10519,7 +10514,7 @@ class hs extends HTMLElement {
|
|
|
10519
10514
|
_reset() {
|
|
10520
10515
|
this._scrollDisabled = !0, this.$.scroller.scrollTop = this._initialScroll, this._buffers[0].translateY = this._initialScroll - this._bufferHeight, this._buffers[1].translateY = this._initialScroll, this._buffers.forEach((t) => {
|
|
10521
10516
|
t.style.transform = `translate3d(0, ${t.translateY}px, 0)`;
|
|
10522
|
-
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = et.debounce(this._debouncerUpdateClones,
|
|
10517
|
+
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = et.debounce(this._debouncerUpdateClones, Ft.after(200), () => {
|
|
10523
10518
|
this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones();
|
|
10524
10519
|
}), this._scrollDisabled = !1;
|
|
10525
10520
|
}
|
|
@@ -10816,21 +10811,21 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10816
10811
|
Code distributed by Google as part of the polymer project is also
|
|
10817
10812
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10818
10813
|
*/
|
|
10819
|
-
let
|
|
10820
|
-
function
|
|
10821
|
-
return
|
|
10814
|
+
let Ti = null;
|
|
10815
|
+
function Mi() {
|
|
10816
|
+
return Ti;
|
|
10822
10817
|
}
|
|
10823
|
-
|
|
10818
|
+
Mi.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
10824
10819
|
constructor: {
|
|
10825
|
-
value:
|
|
10820
|
+
value: Mi,
|
|
10826
10821
|
writable: !0
|
|
10827
10822
|
}
|
|
10828
10823
|
});
|
|
10829
|
-
const ms =
|
|
10824
|
+
const ms = ji(Mi), Ic = to(ms);
|
|
10830
10825
|
function Nc(o, t) {
|
|
10831
|
-
|
|
10826
|
+
Ti = o, Object.setPrototypeOf(o, t.prototype), new t(), Ti = null;
|
|
10832
10827
|
}
|
|
10833
|
-
const zc =
|
|
10828
|
+
const zc = ji(class {
|
|
10834
10829
|
});
|
|
10835
10830
|
function Lc(o, t) {
|
|
10836
10831
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -10984,7 +10979,7 @@ function Uo(o) {
|
|
|
10984
10979
|
}
|
|
10985
10980
|
function $c(o, t, e) {
|
|
10986
10981
|
let i = e.mutableData ? Fc : Ne;
|
|
10987
|
-
|
|
10982
|
+
Oi.mixin && (i = Oi.mixin(i));
|
|
10988
10983
|
let r = class extends i {
|
|
10989
10984
|
};
|
|
10990
10985
|
return r.prototype.__templatizeOptions = e, r.prototype._bindTemplate(o), Bc(r, o, t, e), r;
|
|
@@ -11071,8 +11066,8 @@ function jc() {
|
|
|
11071
11066
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11072
11067
|
};
|
|
11073
11068
|
}
|
|
11074
|
-
function
|
|
11075
|
-
if (
|
|
11069
|
+
function Oi(o, t, e) {
|
|
11070
|
+
if (zt && !Uo(o))
|
|
11076
11071
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11077
11072
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11078
11073
|
e || {}, o.__templatizeOwner)
|
|
@@ -11353,7 +11348,7 @@ class Wo extends qc {
|
|
|
11353
11348
|
return r.observe(this, { childList: !0 }), !1;
|
|
11354
11349
|
}
|
|
11355
11350
|
let i = {};
|
|
11356
|
-
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor =
|
|
11351
|
+
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor = Oi(e, this, {
|
|
11357
11352
|
mutableData: this.mutableData,
|
|
11358
11353
|
parentModel: !0,
|
|
11359
11354
|
instanceProps: i,
|
|
@@ -11428,7 +11423,7 @@ class Wo extends qc {
|
|
|
11428
11423
|
* @param {number=} delay Delay in ms to debounce by.
|
|
11429
11424
|
*/
|
|
11430
11425
|
__debounceRender(t, e = 0) {
|
|
11431
|
-
this.__renderDebouncer =
|
|
11426
|
+
this.__renderDebouncer = Rt.debounce(
|
|
11432
11427
|
this.__renderDebouncer,
|
|
11433
11428
|
e > 0 ? oa.after(e) : Tr,
|
|
11434
11429
|
t.bind(this)
|
|
@@ -11861,7 +11856,7 @@ const Gc = $`
|
|
|
11861
11856
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11862
11857
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11863
11858
|
*/
|
|
11864
|
-
|
|
11859
|
+
ee("vaadin-month-calendar", Gc, {
|
|
11865
11860
|
moduleId: "vaadin-month-calendar-styles"
|
|
11866
11861
|
});
|
|
11867
11862
|
class Jc extends Kc(Ye(Ie)) {
|
|
@@ -11942,7 +11937,7 @@ class Jc extends Kc(Ye(Ie)) {
|
|
|
11942
11937
|
/** @private */
|
|
11943
11938
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
11944
11939
|
__getDatePart(t, e, i, r, s, n) {
|
|
11945
|
-
const a = ["date"], l = t >
|
|
11940
|
+
const a = ["date"], l = t > Pi(/* @__PURE__ */ new Date()), c = t < Pi(/* @__PURE__ */ new Date());
|
|
11946
11941
|
return this.__isDayDisabled(t, r, s, n) && a.push("disabled"), this.__isDayFocused(t, e) && a.push("focused"), this.__isDaySelected(t, i) && a.push("selected"), this._isToday(t) && a.push("today"), c && a.push("past"), l && a.push("future"), a.join(" ");
|
|
11947
11942
|
}
|
|
11948
11943
|
/** @private */
|
|
@@ -12329,7 +12324,7 @@ const Xc = (o) => class extends o {
|
|
|
12329
12324
|
}
|
|
12330
12325
|
/** @private */
|
|
12331
12326
|
_doIgnoreTaps() {
|
|
12332
|
-
this._ignoreTaps = !0, this._debouncer = et.debounce(this._debouncer,
|
|
12327
|
+
this._ignoreTaps = !0, this._debouncer = et.debounce(this._debouncer, Ft.after(300), () => {
|
|
12333
12328
|
this._ignoreTaps = !1;
|
|
12334
12329
|
});
|
|
12335
12330
|
}
|
|
@@ -12681,11 +12676,11 @@ const Zc = $`
|
|
|
12681
12676
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12682
12677
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12683
12678
|
*/
|
|
12684
|
-
|
|
12679
|
+
ee("vaadin-date-picker-overlay-content", Zc, {
|
|
12685
12680
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12686
12681
|
});
|
|
12687
12682
|
class Qc extends Xc(
|
|
12688
|
-
ot(Ye(
|
|
12683
|
+
ot(Ye(jt(Ie)))
|
|
12689
12684
|
) {
|
|
12690
12685
|
static get template() {
|
|
12691
12686
|
return Ue`
|
|
@@ -12881,9 +12876,9 @@ const gs = oe(
|
|
|
12881
12876
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12882
12877
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12883
12878
|
*/
|
|
12884
|
-
const
|
|
12879
|
+
const ni = /* @__PURE__ */ new WeakMap();
|
|
12885
12880
|
function eu(o) {
|
|
12886
|
-
return
|
|
12881
|
+
return ni.has(o) || ni.set(o, /* @__PURE__ */ new Set()), ni.get(o);
|
|
12887
12882
|
}
|
|
12888
12883
|
function tu(o, t) {
|
|
12889
12884
|
const e = document.createElement("style");
|
|
@@ -13120,7 +13115,7 @@ const vs = oe(
|
|
|
13120
13115
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13121
13116
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13122
13117
|
*/
|
|
13123
|
-
const ou = (o) => class extends vs(
|
|
13118
|
+
const ou = (o) => class extends vs(Wt(o)) {
|
|
13124
13119
|
static get properties() {
|
|
13125
13120
|
return {
|
|
13126
13121
|
/**
|
|
@@ -13195,9 +13190,9 @@ const ou = (o) => class extends vs(Vt(o)) {
|
|
|
13195
13190
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
13196
13191
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13197
13192
|
*/
|
|
13198
|
-
const
|
|
13193
|
+
const ai = /* @__PURE__ */ new Map();
|
|
13199
13194
|
function io(o) {
|
|
13200
|
-
return
|
|
13195
|
+
return ai.has(o) || ai.set(o, /* @__PURE__ */ new WeakMap()), ai.get(o);
|
|
13201
13196
|
}
|
|
13202
13197
|
function bs(o, t) {
|
|
13203
13198
|
o && o.removeAttribute(t);
|
|
@@ -13208,16 +13203,16 @@ function ys(o, t) {
|
|
|
13208
13203
|
const e = io(t);
|
|
13209
13204
|
if (e.has(o))
|
|
13210
13205
|
return;
|
|
13211
|
-
const i =
|
|
13206
|
+
const i = Wi(o.getAttribute(t));
|
|
13212
13207
|
e.set(o, new Set(i));
|
|
13213
13208
|
}
|
|
13214
13209
|
function ru(o, t) {
|
|
13215
|
-
if (!o
|
|
13210
|
+
if (!o)
|
|
13216
13211
|
return;
|
|
13217
13212
|
const e = io(t), i = e.get(o);
|
|
13218
|
-
!i || i.size === 0 ? o.removeAttribute(t) : Xr(o, t,
|
|
13213
|
+
!i || i.size === 0 ? o.removeAttribute(t) : Xr(o, t, Vt(i)), e.delete(o);
|
|
13219
13214
|
}
|
|
13220
|
-
function
|
|
13215
|
+
function li(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13221
13216
|
if (!o || !t)
|
|
13222
13217
|
return;
|
|
13223
13218
|
const { newId: i, oldId: r, fromUser: s } = e, n = io(t), a = n.get(o);
|
|
@@ -13226,7 +13221,7 @@ function ai(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13226
13221
|
return;
|
|
13227
13222
|
}
|
|
13228
13223
|
s && (a ? i || n.delete(o) : ys(o, t), bs(o, t)), Il(o, t, r);
|
|
13229
|
-
const l = i ||
|
|
13224
|
+
const l = i || Vt(a);
|
|
13230
13225
|
l && Xr(o, t, l);
|
|
13231
13226
|
}
|
|
13232
13227
|
function su(o, t) {
|
|
@@ -13319,7 +13314,7 @@ class nu {
|
|
|
13319
13314
|
* @private
|
|
13320
13315
|
*/
|
|
13321
13316
|
__setLabelIdToAriaAttribute(t, e, i) {
|
|
13322
|
-
|
|
13317
|
+
li(this.__target, "aria-labelledby", { newId: t, oldId: e, fromUser: i });
|
|
13323
13318
|
}
|
|
13324
13319
|
/**
|
|
13325
13320
|
* @param {string | null | undefined} errorId
|
|
@@ -13327,7 +13322,7 @@ class nu {
|
|
|
13327
13322
|
* @private
|
|
13328
13323
|
*/
|
|
13329
13324
|
__setErrorIdToAriaAttribute(t, e) {
|
|
13330
|
-
|
|
13325
|
+
li(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
13331
13326
|
}
|
|
13332
13327
|
/**
|
|
13333
13328
|
* @param {string | null | undefined} helperId
|
|
@@ -13335,7 +13330,7 @@ class nu {
|
|
|
13335
13330
|
* @private
|
|
13336
13331
|
*/
|
|
13337
13332
|
__setHelperIdToAriaAttribute(t, e) {
|
|
13338
|
-
|
|
13333
|
+
li(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
13339
13334
|
}
|
|
13340
13335
|
/**
|
|
13341
13336
|
* @param {boolean} required
|
|
@@ -13355,12 +13350,12 @@ xe.style.position = "fixed";
|
|
|
13355
13350
|
xe.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
13356
13351
|
xe.setAttribute("aria-live", "polite");
|
|
13357
13352
|
document.body.appendChild(xe);
|
|
13358
|
-
let
|
|
13353
|
+
let kt;
|
|
13359
13354
|
function au(o, t = {}) {
|
|
13360
13355
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13361
|
-
e === "alert" ? (xe.removeAttribute("aria-live"), xe.removeAttribute("role"),
|
|
13356
|
+
e === "alert" ? (xe.removeAttribute("aria-live"), xe.removeAttribute("role"), kt = et.debounce(kt, Gl, () => {
|
|
13362
13357
|
xe.setAttribute("role", "alert");
|
|
13363
|
-
})) : (
|
|
13358
|
+
})) : (kt && kt.cancel(), xe.removeAttribute("role"), xe.setAttribute("aria-live", e)), xe.textContent = "", setTimeout(() => {
|
|
13364
13359
|
xe.textContent = o;
|
|
13365
13360
|
}, i);
|
|
13366
13361
|
}
|
|
@@ -14097,7 +14092,7 @@ const ws = oe(
|
|
|
14097
14092
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14098
14093
|
*/
|
|
14099
14094
|
const fu = (o) => class extends iu(
|
|
14100
|
-
gs(ws(hu(ou(
|
|
14095
|
+
gs(ws(hu(ou(Wt(o)))))
|
|
14101
14096
|
) {
|
|
14102
14097
|
static get properties() {
|
|
14103
14098
|
return {
|
|
@@ -14229,7 +14224,7 @@ const fu = (o) => class extends iu(
|
|
|
14229
14224
|
}
|
|
14230
14225
|
/** @protected */
|
|
14231
14226
|
_markInputPrevented() {
|
|
14232
|
-
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = et.debounce(this._preventInputDebouncer,
|
|
14227
|
+
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = et.debounce(this._preventInputDebouncer, Ft.after(200), () => {
|
|
14233
14228
|
this.removeAttribute("input-prevented");
|
|
14234
14229
|
});
|
|
14235
14230
|
}
|
|
@@ -14479,7 +14474,7 @@ class wu {
|
|
|
14479
14474
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14480
14475
|
*/
|
|
14481
14476
|
const Eu = (o) => class extends xu(
|
|
14482
|
-
ot(gs(ws(
|
|
14477
|
+
ot(gs(ws(Wt(o))))
|
|
14483
14478
|
) {
|
|
14484
14479
|
static get properties() {
|
|
14485
14480
|
return {
|
|
@@ -14846,7 +14841,7 @@ const Eu = (o) => class extends xu(
|
|
|
14846
14841
|
* @protected
|
|
14847
14842
|
*/
|
|
14848
14843
|
_onFocus(e) {
|
|
14849
|
-
super._onFocus(e), this._noInput && !
|
|
14844
|
+
super._onFocus(e), this._noInput && !Vi() && e.target.blur();
|
|
14850
14845
|
}
|
|
14851
14846
|
/**
|
|
14852
14847
|
* Override an event listener from `DelegateFocusMixin`
|
|
@@ -15270,7 +15265,7 @@ const Su = $`
|
|
|
15270
15265
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15271
15266
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15272
15267
|
*/
|
|
15273
|
-
|
|
15268
|
+
ee("vaadin-date-picker", [yu, Su], { moduleId: "vaadin-date-picker-styles" });
|
|
15274
15269
|
class Cu extends Eu(fu(Ye(es(Ie)))) {
|
|
15275
15270
|
static get is() {
|
|
15276
15271
|
return "vaadin-date-picker";
|
|
@@ -15372,7 +15367,7 @@ if (typeof window < "u") {
|
|
|
15372
15367
|
}
|
|
15373
15368
|
};
|
|
15374
15369
|
};
|
|
15375
|
-
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-
|
|
15370
|
+
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-C4zwKDdb.js").then(
|
|
15376
15371
|
({ default: t }) => {
|
|
15377
15372
|
!customElements.get("player-account-general-confirmation-modal") && customElements.define(
|
|
15378
15373
|
"player-account-general-confirmation-modal",
|
|
@@ -15385,63 +15380,63 @@ var Es = { exports: {} };
|
|
|
15385
15380
|
(function(o, t) {
|
|
15386
15381
|
(function(e, i) {
|
|
15387
15382
|
o.exports = i();
|
|
15388
|
-
})(
|
|
15389
|
-
var e = 1e3, i = 6e4, r = 36e5, s = "millisecond", n = "second", a = "minute", l = "hour", c = "day", u = "week", d = "month", h = "quarter", p = "year", b = "date", f = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, D = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,
|
|
15390
|
-
var
|
|
15391
|
-
return "[" +
|
|
15392
|
-
} },
|
|
15393
|
-
var
|
|
15394
|
-
return !
|
|
15395
|
-
},
|
|
15396
|
-
var
|
|
15397
|
-
return (
|
|
15398
|
-
}, m: function
|
|
15399
|
-
if (
|
|
15400
|
-
return -
|
|
15401
|
-
var
|
|
15402
|
-
return +(-(
|
|
15403
|
-
}, a: function(
|
|
15404
|
-
return
|
|
15405
|
-
}, p: function(
|
|
15406
|
-
return { M: d, y: p, w: u, d: c, D: b, h: l, m: a, s: n, ms: s, Q: h }[
|
|
15407
|
-
}, u: function(
|
|
15408
|
-
return
|
|
15409
|
-
} },
|
|
15410
|
-
|
|
15411
|
-
var
|
|
15412
|
-
return
|
|
15413
|
-
},
|
|
15383
|
+
})(Qo, function() {
|
|
15384
|
+
var e = 1e3, i = 6e4, r = 36e5, s = "millisecond", n = "second", a = "minute", l = "hour", c = "day", u = "week", d = "month", h = "quarter", p = "year", b = "date", f = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, D = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, A = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(E) {
|
|
15385
|
+
var v = ["th", "st", "nd", "rd"], m = E % 100;
|
|
15386
|
+
return "[" + E + (v[(m - 20) % 10] || v[m] || v[0]) + "]";
|
|
15387
|
+
} }, L = function(E, v, m) {
|
|
15388
|
+
var x = String(E);
|
|
15389
|
+
return !x || x.length >= v ? E : "" + Array(v + 1 - x.length).join(m) + E;
|
|
15390
|
+
}, N = { s: L, z: function(E) {
|
|
15391
|
+
var v = -E.utcOffset(), m = Math.abs(v), x = Math.floor(m / 60), _ = m % 60;
|
|
15392
|
+
return (v <= 0 ? "+" : "-") + L(x, 2, "0") + ":" + L(_, 2, "0");
|
|
15393
|
+
}, m: function E(v, m) {
|
|
15394
|
+
if (v.date() < m.date())
|
|
15395
|
+
return -E(m, v);
|
|
15396
|
+
var x = 12 * (m.year() - v.year()) + (m.month() - v.month()), _ = v.clone().add(x, d), S = m - _ < 0, C = v.clone().add(x + (S ? -1 : 1), d);
|
|
15397
|
+
return +(-(x + (m - _) / (S ? _ - C : C - _)) || 0);
|
|
15398
|
+
}, a: function(E) {
|
|
15399
|
+
return E < 0 ? Math.ceil(E) || 0 : Math.floor(E);
|
|
15400
|
+
}, p: function(E) {
|
|
15401
|
+
return { M: d, y: p, w: u, d: c, D: b, h: l, m: a, s: n, ms: s, Q: h }[E] || String(E || "").toLowerCase().replace(/s$/, "");
|
|
15402
|
+
}, u: function(E) {
|
|
15403
|
+
return E === void 0;
|
|
15404
|
+
} }, F = "en", G = {};
|
|
15405
|
+
G[F] = A;
|
|
15406
|
+
var te = "$isDayjsObject", q = function(E) {
|
|
15407
|
+
return E instanceof K || !(!E || !E[te]);
|
|
15408
|
+
}, J = function E(v, m, x) {
|
|
15414
15409
|
var _;
|
|
15415
|
-
if (!
|
|
15416
|
-
return
|
|
15417
|
-
if (typeof
|
|
15418
|
-
var
|
|
15419
|
-
|
|
15420
|
-
var
|
|
15421
|
-
if (!_ &&
|
|
15422
|
-
return
|
|
15410
|
+
if (!v)
|
|
15411
|
+
return F;
|
|
15412
|
+
if (typeof v == "string") {
|
|
15413
|
+
var S = v.toLowerCase();
|
|
15414
|
+
G[S] && (_ = S), m && (G[S] = m, _ = S);
|
|
15415
|
+
var C = v.split("-");
|
|
15416
|
+
if (!_ && C.length > 1)
|
|
15417
|
+
return E(C[0]);
|
|
15423
15418
|
} else {
|
|
15424
|
-
var z =
|
|
15425
|
-
|
|
15419
|
+
var z = v.name;
|
|
15420
|
+
G[z] = v, _ = z;
|
|
15426
15421
|
}
|
|
15427
|
-
return !
|
|
15428
|
-
}, P = function(
|
|
15429
|
-
if (
|
|
15430
|
-
return
|
|
15431
|
-
var m = typeof
|
|
15432
|
-
return m.date =
|
|
15433
|
-
}, T =
|
|
15434
|
-
T.l =
|
|
15435
|
-
return P(
|
|
15422
|
+
return !x && _ && (F = _), _ || !x && F;
|
|
15423
|
+
}, P = function(E, v) {
|
|
15424
|
+
if (q(E))
|
|
15425
|
+
return E.clone();
|
|
15426
|
+
var m = typeof v == "object" ? v : {};
|
|
15427
|
+
return m.date = E, m.args = arguments, new K(m);
|
|
15428
|
+
}, T = N;
|
|
15429
|
+
T.l = J, T.i = q, T.w = function(E, v) {
|
|
15430
|
+
return P(E, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
|
|
15436
15431
|
};
|
|
15437
15432
|
var K = function() {
|
|
15438
|
-
function
|
|
15439
|
-
this.$L =
|
|
15433
|
+
function E(m) {
|
|
15434
|
+
this.$L = J(m.locale, null, !0), this.parse(m), this.$x = this.$x || m.x || {}, this[te] = !0;
|
|
15440
15435
|
}
|
|
15441
|
-
var
|
|
15442
|
-
return
|
|
15443
|
-
this.$d = function(
|
|
15444
|
-
var _ =
|
|
15436
|
+
var v = E.prototype;
|
|
15437
|
+
return v.parse = function(m) {
|
|
15438
|
+
this.$d = function(x) {
|
|
15439
|
+
var _ = x.date, S = x.utc;
|
|
15445
15440
|
if (_ === null)
|
|
15446
15441
|
return /* @__PURE__ */ new Date(NaN);
|
|
15447
15442
|
if (T.u(_))
|
|
@@ -15449,235 +15444,235 @@ var Es = { exports: {} };
|
|
|
15449
15444
|
if (_ instanceof Date)
|
|
15450
15445
|
return new Date(_);
|
|
15451
15446
|
if (typeof _ == "string" && !/Z$/i.test(_)) {
|
|
15452
|
-
var
|
|
15453
|
-
if (
|
|
15454
|
-
var z =
|
|
15455
|
-
return
|
|
15447
|
+
var C = _.match(y);
|
|
15448
|
+
if (C) {
|
|
15449
|
+
var z = C[2] - 1 || 0, B = (C[7] || "0").substring(0, 3);
|
|
15450
|
+
return S ? new Date(Date.UTC(C[1], z, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, B)) : new Date(C[1], z, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, B);
|
|
15456
15451
|
}
|
|
15457
15452
|
}
|
|
15458
15453
|
return new Date(_);
|
|
15459
15454
|
}(m), this.init();
|
|
15460
|
-
},
|
|
15455
|
+
}, v.init = function() {
|
|
15461
15456
|
var m = this.$d;
|
|
15462
15457
|
this.$y = m.getFullYear(), this.$M = m.getMonth(), this.$D = m.getDate(), this.$W = m.getDay(), this.$H = m.getHours(), this.$m = m.getMinutes(), this.$s = m.getSeconds(), this.$ms = m.getMilliseconds();
|
|
15463
|
-
},
|
|
15458
|
+
}, v.$utils = function() {
|
|
15464
15459
|
return T;
|
|
15465
|
-
},
|
|
15460
|
+
}, v.isValid = function() {
|
|
15466
15461
|
return this.$d.toString() !== f;
|
|
15467
|
-
},
|
|
15462
|
+
}, v.isSame = function(m, x) {
|
|
15468
15463
|
var _ = P(m);
|
|
15469
|
-
return this.startOf(
|
|
15470
|
-
},
|
|
15471
|
-
return P(m) < this.startOf(
|
|
15472
|
-
},
|
|
15473
|
-
return this.endOf(
|
|
15474
|
-
},
|
|
15475
|
-
return T.u(m) ? this[
|
|
15476
|
-
},
|
|
15464
|
+
return this.startOf(x) <= _ && _ <= this.endOf(x);
|
|
15465
|
+
}, v.isAfter = function(m, x) {
|
|
15466
|
+
return P(m) < this.startOf(x);
|
|
15467
|
+
}, v.isBefore = function(m, x) {
|
|
15468
|
+
return this.endOf(x) < P(m);
|
|
15469
|
+
}, v.$g = function(m, x, _) {
|
|
15470
|
+
return T.u(m) ? this[x] : this.set(_, m);
|
|
15471
|
+
}, v.unix = function() {
|
|
15477
15472
|
return Math.floor(this.valueOf() / 1e3);
|
|
15478
|
-
},
|
|
15473
|
+
}, v.valueOf = function() {
|
|
15479
15474
|
return this.$d.getTime();
|
|
15480
|
-
},
|
|
15481
|
-
var _ = this,
|
|
15482
|
-
var R = T.w(_.$u ? Date.UTC(_.$y,
|
|
15483
|
-
return
|
|
15484
|
-
},
|
|
15485
|
-
return T.w(_.toDate()[
|
|
15486
|
-
}, j = this.$W, V = this.$M,
|
|
15487
|
-
switch (
|
|
15475
|
+
}, v.startOf = function(m, x) {
|
|
15476
|
+
var _ = this, S = !!T.u(x) || x, C = T.p(m), z = function(Z, Y) {
|
|
15477
|
+
var R = T.w(_.$u ? Date.UTC(_.$y, Y, Z) : new Date(_.$y, Y, Z), _);
|
|
15478
|
+
return S ? R : R.endOf(c);
|
|
15479
|
+
}, B = function(Z, Y) {
|
|
15480
|
+
return T.w(_.toDate()[Z].apply(_.toDate("s"), (S ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Y)), _);
|
|
15481
|
+
}, j = this.$W, V = this.$M, Q = this.$D, ue = "set" + (this.$u ? "UTC" : "");
|
|
15482
|
+
switch (C) {
|
|
15488
15483
|
case p:
|
|
15489
|
-
return
|
|
15484
|
+
return S ? z(1, 0) : z(31, 11);
|
|
15490
15485
|
case d:
|
|
15491
|
-
return
|
|
15486
|
+
return S ? z(1, V) : z(0, V + 1);
|
|
15492
15487
|
case u:
|
|
15493
|
-
var
|
|
15494
|
-
return z(
|
|
15488
|
+
var ne = this.$locale().weekStart || 0, le = (j < ne ? j + 7 : j) - ne;
|
|
15489
|
+
return z(S ? Q - le : Q + (6 - le), V);
|
|
15495
15490
|
case c:
|
|
15496
15491
|
case b:
|
|
15497
|
-
return
|
|
15492
|
+
return B(ue + "Hours", 0);
|
|
15498
15493
|
case l:
|
|
15499
|
-
return
|
|
15494
|
+
return B(ue + "Minutes", 1);
|
|
15500
15495
|
case a:
|
|
15501
|
-
return
|
|
15496
|
+
return B(ue + "Seconds", 2);
|
|
15502
15497
|
case n:
|
|
15503
|
-
return
|
|
15498
|
+
return B(ue + "Milliseconds", 3);
|
|
15504
15499
|
default:
|
|
15505
15500
|
return this.clone();
|
|
15506
15501
|
}
|
|
15507
|
-
},
|
|
15502
|
+
}, v.endOf = function(m) {
|
|
15508
15503
|
return this.startOf(m, !1);
|
|
15509
|
-
},
|
|
15510
|
-
var _,
|
|
15511
|
-
if (
|
|
15504
|
+
}, v.$set = function(m, x) {
|
|
15505
|
+
var _, S = T.p(m), C = "set" + (this.$u ? "UTC" : ""), z = (_ = {}, _[c] = C + "Date", _[b] = C + "Date", _[d] = C + "Month", _[p] = C + "FullYear", _[l] = C + "Hours", _[a] = C + "Minutes", _[n] = C + "Seconds", _[s] = C + "Milliseconds", _)[S], B = S === c ? this.$D + (x - this.$W) : x;
|
|
15506
|
+
if (S === d || S === p) {
|
|
15512
15507
|
var j = this.clone().set(b, 1);
|
|
15513
|
-
j.$d[z](
|
|
15508
|
+
j.$d[z](B), j.init(), this.$d = j.set(b, Math.min(this.$D, j.daysInMonth())).$d;
|
|
15514
15509
|
} else
|
|
15515
|
-
z && this.$d[z](
|
|
15510
|
+
z && this.$d[z](B);
|
|
15516
15511
|
return this.init(), this;
|
|
15517
|
-
},
|
|
15518
|
-
return this.clone().$set(m,
|
|
15519
|
-
},
|
|
15512
|
+
}, v.set = function(m, x) {
|
|
15513
|
+
return this.clone().$set(m, x);
|
|
15514
|
+
}, v.get = function(m) {
|
|
15520
15515
|
return this[T.p(m)]();
|
|
15521
|
-
},
|
|
15522
|
-
var _,
|
|
15516
|
+
}, v.add = function(m, x) {
|
|
15517
|
+
var _, S = this;
|
|
15523
15518
|
m = Number(m);
|
|
15524
|
-
var
|
|
15525
|
-
var
|
|
15526
|
-
return T.w(
|
|
15519
|
+
var C = T.p(x), z = function(V) {
|
|
15520
|
+
var Q = P(S);
|
|
15521
|
+
return T.w(Q.date(Q.date() + Math.round(V * m)), S);
|
|
15527
15522
|
};
|
|
15528
|
-
if (
|
|
15523
|
+
if (C === d)
|
|
15529
15524
|
return this.set(d, this.$M + m);
|
|
15530
|
-
if (
|
|
15525
|
+
if (C === p)
|
|
15531
15526
|
return this.set(p, this.$y + m);
|
|
15532
|
-
if (
|
|
15527
|
+
if (C === c)
|
|
15533
15528
|
return z(1);
|
|
15534
|
-
if (
|
|
15529
|
+
if (C === u)
|
|
15535
15530
|
return z(7);
|
|
15536
|
-
var
|
|
15531
|
+
var B = (_ = {}, _[a] = i, _[l] = r, _[n] = e, _)[C] || 1, j = this.$d.getTime() + m * B;
|
|
15537
15532
|
return T.w(j, this);
|
|
15538
|
-
},
|
|
15539
|
-
return this.add(-1 * m,
|
|
15540
|
-
},
|
|
15541
|
-
var
|
|
15533
|
+
}, v.subtract = function(m, x) {
|
|
15534
|
+
return this.add(-1 * m, x);
|
|
15535
|
+
}, v.format = function(m) {
|
|
15536
|
+
var x = this, _ = this.$locale();
|
|
15542
15537
|
if (!this.isValid())
|
|
15543
15538
|
return _.invalidDate || f;
|
|
15544
|
-
var
|
|
15545
|
-
return
|
|
15546
|
-
},
|
|
15547
|
-
return T.s(z % 12 || 12,
|
|
15548
|
-
},
|
|
15549
|
-
var ve =
|
|
15550
|
-
return
|
|
15539
|
+
var S = m || "YYYY-MM-DDTHH:mm:ssZ", C = T.z(this), z = this.$H, B = this.$m, j = this.$M, V = _.weekdays, Q = _.months, ue = _.meridiem, ne = function(Y, R, U, ve) {
|
|
15540
|
+
return Y && (Y[R] || Y(x, S)) || U[R].slice(0, ve);
|
|
15541
|
+
}, le = function(Y) {
|
|
15542
|
+
return T.s(z % 12 || 12, Y, "0");
|
|
15543
|
+
}, Z = ue || function(Y, R, U) {
|
|
15544
|
+
var ve = Y < 12 ? "AM" : "PM";
|
|
15545
|
+
return U ? ve.toLowerCase() : ve;
|
|
15551
15546
|
};
|
|
15552
|
-
return
|
|
15553
|
-
return R || function(
|
|
15554
|
-
switch (
|
|
15547
|
+
return S.replace(D, function(Y, R) {
|
|
15548
|
+
return R || function(U) {
|
|
15549
|
+
switch (U) {
|
|
15555
15550
|
case "YY":
|
|
15556
|
-
return String(
|
|
15551
|
+
return String(x.$y).slice(-2);
|
|
15557
15552
|
case "YYYY":
|
|
15558
|
-
return T.s(
|
|
15553
|
+
return T.s(x.$y, 4, "0");
|
|
15559
15554
|
case "M":
|
|
15560
15555
|
return j + 1;
|
|
15561
15556
|
case "MM":
|
|
15562
15557
|
return T.s(j + 1, 2, "0");
|
|
15563
15558
|
case "MMM":
|
|
15564
|
-
return
|
|
15559
|
+
return ne(_.monthsShort, j, Q, 3);
|
|
15565
15560
|
case "MMMM":
|
|
15566
|
-
return
|
|
15561
|
+
return ne(Q, j);
|
|
15567
15562
|
case "D":
|
|
15568
|
-
return
|
|
15563
|
+
return x.$D;
|
|
15569
15564
|
case "DD":
|
|
15570
|
-
return T.s(
|
|
15565
|
+
return T.s(x.$D, 2, "0");
|
|
15571
15566
|
case "d":
|
|
15572
|
-
return String(
|
|
15567
|
+
return String(x.$W);
|
|
15573
15568
|
case "dd":
|
|
15574
|
-
return
|
|
15569
|
+
return ne(_.weekdaysMin, x.$W, V, 2);
|
|
15575
15570
|
case "ddd":
|
|
15576
|
-
return
|
|
15571
|
+
return ne(_.weekdaysShort, x.$W, V, 3);
|
|
15577
15572
|
case "dddd":
|
|
15578
|
-
return V[
|
|
15573
|
+
return V[x.$W];
|
|
15579
15574
|
case "H":
|
|
15580
15575
|
return String(z);
|
|
15581
15576
|
case "HH":
|
|
15582
15577
|
return T.s(z, 2, "0");
|
|
15583
15578
|
case "h":
|
|
15584
|
-
return
|
|
15579
|
+
return le(1);
|
|
15585
15580
|
case "hh":
|
|
15586
|
-
return
|
|
15581
|
+
return le(2);
|
|
15587
15582
|
case "a":
|
|
15588
|
-
return
|
|
15583
|
+
return Z(z, B, !0);
|
|
15589
15584
|
case "A":
|
|
15590
|
-
return
|
|
15585
|
+
return Z(z, B, !1);
|
|
15591
15586
|
case "m":
|
|
15592
|
-
return String(
|
|
15587
|
+
return String(B);
|
|
15593
15588
|
case "mm":
|
|
15594
|
-
return T.s(
|
|
15589
|
+
return T.s(B, 2, "0");
|
|
15595
15590
|
case "s":
|
|
15596
|
-
return String(
|
|
15591
|
+
return String(x.$s);
|
|
15597
15592
|
case "ss":
|
|
15598
|
-
return T.s(
|
|
15593
|
+
return T.s(x.$s, 2, "0");
|
|
15599
15594
|
case "SSS":
|
|
15600
|
-
return T.s(
|
|
15595
|
+
return T.s(x.$ms, 3, "0");
|
|
15601
15596
|
case "Z":
|
|
15602
|
-
return
|
|
15597
|
+
return C;
|
|
15603
15598
|
}
|
|
15604
15599
|
return null;
|
|
15605
|
-
}(
|
|
15600
|
+
}(Y) || C.replace(":", "");
|
|
15606
15601
|
});
|
|
15607
|
-
},
|
|
15602
|
+
}, v.utcOffset = function() {
|
|
15608
15603
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
15609
|
-
},
|
|
15610
|
-
var
|
|
15611
|
-
return T.m(
|
|
15604
|
+
}, v.diff = function(m, x, _) {
|
|
15605
|
+
var S, C = this, z = T.p(x), B = P(m), j = (B.utcOffset() - this.utcOffset()) * i, V = this - B, Q = function() {
|
|
15606
|
+
return T.m(C, B);
|
|
15612
15607
|
};
|
|
15613
15608
|
switch (z) {
|
|
15614
15609
|
case p:
|
|
15615
|
-
|
|
15610
|
+
S = Q() / 12;
|
|
15616
15611
|
break;
|
|
15617
15612
|
case d:
|
|
15618
|
-
|
|
15613
|
+
S = Q();
|
|
15619
15614
|
break;
|
|
15620
15615
|
case h:
|
|
15621
|
-
|
|
15616
|
+
S = Q() / 3;
|
|
15622
15617
|
break;
|
|
15623
15618
|
case u:
|
|
15624
|
-
|
|
15619
|
+
S = (V - j) / 6048e5;
|
|
15625
15620
|
break;
|
|
15626
15621
|
case c:
|
|
15627
|
-
|
|
15622
|
+
S = (V - j) / 864e5;
|
|
15628
15623
|
break;
|
|
15629
15624
|
case l:
|
|
15630
|
-
|
|
15625
|
+
S = V / r;
|
|
15631
15626
|
break;
|
|
15632
15627
|
case a:
|
|
15633
|
-
|
|
15628
|
+
S = V / i;
|
|
15634
15629
|
break;
|
|
15635
15630
|
case n:
|
|
15636
|
-
|
|
15631
|
+
S = V / e;
|
|
15637
15632
|
break;
|
|
15638
15633
|
default:
|
|
15639
|
-
|
|
15634
|
+
S = V;
|
|
15640
15635
|
}
|
|
15641
|
-
return _ ?
|
|
15642
|
-
},
|
|
15636
|
+
return _ ? S : T.a(S);
|
|
15637
|
+
}, v.daysInMonth = function() {
|
|
15643
15638
|
return this.endOf(d).$D;
|
|
15644
|
-
},
|
|
15645
|
-
return
|
|
15646
|
-
},
|
|
15639
|
+
}, v.$locale = function() {
|
|
15640
|
+
return G[this.$L];
|
|
15641
|
+
}, v.locale = function(m, x) {
|
|
15647
15642
|
if (!m)
|
|
15648
15643
|
return this.$L;
|
|
15649
|
-
var _ = this.clone(),
|
|
15650
|
-
return
|
|
15651
|
-
},
|
|
15644
|
+
var _ = this.clone(), S = J(m, x, !0);
|
|
15645
|
+
return S && (_.$L = S), _;
|
|
15646
|
+
}, v.clone = function() {
|
|
15652
15647
|
return T.w(this.$d, this);
|
|
15653
|
-
},
|
|
15648
|
+
}, v.toDate = function() {
|
|
15654
15649
|
return new Date(this.valueOf());
|
|
15655
|
-
},
|
|
15650
|
+
}, v.toJSON = function() {
|
|
15656
15651
|
return this.isValid() ? this.toISOString() : null;
|
|
15657
|
-
},
|
|
15652
|
+
}, v.toISOString = function() {
|
|
15658
15653
|
return this.$d.toISOString();
|
|
15659
|
-
},
|
|
15654
|
+
}, v.toString = function() {
|
|
15660
15655
|
return this.$d.toUTCString();
|
|
15661
|
-
},
|
|
15656
|
+
}, E;
|
|
15662
15657
|
}(), re = K.prototype;
|
|
15663
|
-
return P.prototype = re, [["$ms", s], ["$s", n], ["$m", a], ["$H", l], ["$W", c], ["$M", d], ["$y", p], ["$D", b]].forEach(function(
|
|
15664
|
-
re[
|
|
15665
|
-
return this.$g(
|
|
15658
|
+
return P.prototype = re, [["$ms", s], ["$s", n], ["$m", a], ["$H", l], ["$W", c], ["$M", d], ["$y", p], ["$D", b]].forEach(function(E) {
|
|
15659
|
+
re[E[1]] = function(v) {
|
|
15660
|
+
return this.$g(v, E[0], E[1]);
|
|
15666
15661
|
};
|
|
15667
|
-
}), P.extend = function(
|
|
15668
|
-
return
|
|
15669
|
-
}, P.locale =
|
|
15670
|
-
return P(1e3 *
|
|
15671
|
-
}, P.en =
|
|
15662
|
+
}), P.extend = function(E, v) {
|
|
15663
|
+
return E.$i || (E(v, K, P), E.$i = !0), P;
|
|
15664
|
+
}, P.locale = J, P.isDayjs = q, P.unix = function(E) {
|
|
15665
|
+
return P(1e3 * E);
|
|
15666
|
+
}, P.en = G[F], P.Ls = G, P.p = {}, P;
|
|
15672
15667
|
});
|
|
15673
15668
|
})(Es);
|
|
15674
15669
|
var Au = Es.exports;
|
|
15675
|
-
const ke = /* @__PURE__ */
|
|
15670
|
+
const ke = /* @__PURE__ */ Zo(Au);
|
|
15676
15671
|
var Ss = { exports: {} };
|
|
15677
15672
|
(function(o, t) {
|
|
15678
15673
|
(function(e, i) {
|
|
15679
15674
|
o.exports = i();
|
|
15680
|
-
})(
|
|
15675
|
+
})(Qo, function() {
|
|
15681
15676
|
var e = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, r = /\d\d/, s = /\d\d?/, n = /\d*[^-_:/,()\s\d]+/, a = {}, l = function(f) {
|
|
15682
15677
|
return (f = +f) + (f > 68 ? 1900 : 2e3);
|
|
15683
15678
|
}, c = function(f) {
|
|
@@ -15688,18 +15683,18 @@ var Ss = { exports: {} };
|
|
|
15688
15683
|
(this.zone || (this.zone = {})).offset = function(y) {
|
|
15689
15684
|
if (!y || y === "Z")
|
|
15690
15685
|
return 0;
|
|
15691
|
-
var D = y.match(/([+-]|\d\d)/g),
|
|
15692
|
-
return
|
|
15686
|
+
var D = y.match(/([+-]|\d\d)/g), A = 60 * D[1] + (+D[2] || 0);
|
|
15687
|
+
return A === 0 ? 0 : D[0] === "+" ? -A : A;
|
|
15693
15688
|
}(f);
|
|
15694
15689
|
}], d = function(f) {
|
|
15695
15690
|
var y = a[f];
|
|
15696
15691
|
return y && (y.indexOf ? y : y.s.concat(y.f));
|
|
15697
15692
|
}, h = function(f, y) {
|
|
15698
|
-
var D,
|
|
15699
|
-
if (
|
|
15700
|
-
for (var
|
|
15701
|
-
if (f.indexOf(
|
|
15702
|
-
D =
|
|
15693
|
+
var D, A = a.meridiem;
|
|
15694
|
+
if (A) {
|
|
15695
|
+
for (var L = 1; L <= 24; L += 1)
|
|
15696
|
+
if (f.indexOf(A(L, 0, y)) > -1) {
|
|
15697
|
+
D = L > 12;
|
|
15703
15698
|
break;
|
|
15704
15699
|
}
|
|
15705
15700
|
} else
|
|
@@ -15718,11 +15713,11 @@ var Ss = { exports: {} };
|
|
|
15718
15713
|
}], s: [s, c("seconds")], ss: [s, c("seconds")], m: [s, c("minutes")], mm: [s, c("minutes")], H: [s, c("hours")], h: [s, c("hours")], HH: [s, c("hours")], hh: [s, c("hours")], D: [s, c("day")], DD: [r, c("day")], Do: [n, function(f) {
|
|
15719
15714
|
var y = a.ordinal, D = f.match(/\d+/);
|
|
15720
15715
|
if (this.day = D[0], y)
|
|
15721
|
-
for (var
|
|
15722
|
-
y(
|
|
15716
|
+
for (var A = 1; A <= 31; A += 1)
|
|
15717
|
+
y(A).replace(/\[|\]/g, "") === f && (this.day = A);
|
|
15723
15718
|
}], M: [s, c("month")], MM: [r, c("month")], MMM: [n, function(f) {
|
|
15724
|
-
var y = d("months"), D = (d("monthsShort") || y.map(function(
|
|
15725
|
-
return
|
|
15719
|
+
var y = d("months"), D = (d("monthsShort") || y.map(function(A) {
|
|
15720
|
+
return A.slice(0, 3);
|
|
15726
15721
|
})).indexOf(f) + 1;
|
|
15727
15722
|
if (D < 1)
|
|
15728
15723
|
throw new Error();
|
|
@@ -15738,73 +15733,73 @@ var Ss = { exports: {} };
|
|
|
15738
15733
|
function b(f) {
|
|
15739
15734
|
var y, D;
|
|
15740
15735
|
y = f, D = a && a.formats;
|
|
15741
|
-
for (var
|
|
15736
|
+
for (var A = (f = y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(J, P, T) {
|
|
15742
15737
|
var K = T && T.toUpperCase();
|
|
15743
|
-
return P || D[T] || e[T] || D[K].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(re,
|
|
15744
|
-
return
|
|
15738
|
+
return P || D[T] || e[T] || D[K].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(re, E, v) {
|
|
15739
|
+
return E || v.slice(1);
|
|
15745
15740
|
});
|
|
15746
|
-
})).match(i),
|
|
15747
|
-
var
|
|
15748
|
-
|
|
15741
|
+
})).match(i), L = A.length, N = 0; N < L; N += 1) {
|
|
15742
|
+
var F = A[N], G = p[F], te = G && G[0], q = G && G[1];
|
|
15743
|
+
A[N] = q ? { regex: te, parser: q } : F.replace(/^\[|\]$/g, "");
|
|
15749
15744
|
}
|
|
15750
|
-
return function(
|
|
15751
|
-
for (var P = {}, T = 0, K = 0; T <
|
|
15752
|
-
var re =
|
|
15745
|
+
return function(J) {
|
|
15746
|
+
for (var P = {}, T = 0, K = 0; T < L; T += 1) {
|
|
15747
|
+
var re = A[T];
|
|
15753
15748
|
if (typeof re == "string")
|
|
15754
15749
|
K += re.length;
|
|
15755
15750
|
else {
|
|
15756
|
-
var
|
|
15757
|
-
|
|
15751
|
+
var E = re.regex, v = re.parser, m = J.slice(K), x = E.exec(m)[0];
|
|
15752
|
+
v.call(P, x), J = J.replace(x, "");
|
|
15758
15753
|
}
|
|
15759
15754
|
}
|
|
15760
15755
|
return function(_) {
|
|
15761
|
-
var
|
|
15762
|
-
if (
|
|
15763
|
-
var
|
|
15764
|
-
|
|
15756
|
+
var S = _.afternoon;
|
|
15757
|
+
if (S !== void 0) {
|
|
15758
|
+
var C = _.hours;
|
|
15759
|
+
S ? C < 12 && (_.hours += 12) : C === 12 && (_.hours = 0), delete _.afternoon;
|
|
15765
15760
|
}
|
|
15766
15761
|
}(P), P;
|
|
15767
15762
|
};
|
|
15768
15763
|
}
|
|
15769
15764
|
return function(f, y, D) {
|
|
15770
15765
|
D.p.customParseFormat = !0, f && f.parseTwoDigitYear && (l = f.parseTwoDigitYear);
|
|
15771
|
-
var
|
|
15772
|
-
|
|
15773
|
-
var
|
|
15774
|
-
this.$u =
|
|
15775
|
-
var
|
|
15776
|
-
if (typeof
|
|
15777
|
-
var
|
|
15778
|
-
P && (K =
|
|
15766
|
+
var A = y.prototype, L = A.parse;
|
|
15767
|
+
A.parse = function(N) {
|
|
15768
|
+
var F = N.date, G = N.utc, te = N.args;
|
|
15769
|
+
this.$u = G;
|
|
15770
|
+
var q = te[1];
|
|
15771
|
+
if (typeof q == "string") {
|
|
15772
|
+
var J = te[2] === !0, P = te[3] === !0, T = J || P, K = te[2];
|
|
15773
|
+
P && (K = te[2]), a = this.$locale(), !J && K && (a = D.Ls[K]), this.$d = function(m, x, _) {
|
|
15779
15774
|
try {
|
|
15780
|
-
if (["x", "X"].indexOf(
|
|
15781
|
-
return new Date((
|
|
15782
|
-
var
|
|
15783
|
-
|
|
15784
|
-
var
|
|
15785
|
-
return
|
|
15775
|
+
if (["x", "X"].indexOf(x) > -1)
|
|
15776
|
+
return new Date((x === "X" ? 1e3 : 1) * m);
|
|
15777
|
+
var S = b(x)(m), C = S.year, z = S.month, B = S.day, j = S.hours, V = S.minutes, Q = S.seconds, ue = S.milliseconds, ne = S.zone, le = /* @__PURE__ */ new Date(), Z = B || (C || z ? 1 : le.getDate()), Y = C || le.getFullYear(), R = 0;
|
|
15778
|
+
C && !z || (R = z > 0 ? z - 1 : le.getMonth());
|
|
15779
|
+
var U = j || 0, ve = V || 0, we = Q || 0, ce = ue || 0;
|
|
15780
|
+
return ne ? new Date(Date.UTC(Y, R, Z, U, ve, we, ce + 60 * ne.offset * 1e3)) : _ ? new Date(Date.UTC(Y, R, Z, U, ve, we, ce)) : new Date(Y, R, Z, U, ve, we, ce);
|
|
15786
15781
|
} catch {
|
|
15787
15782
|
return /* @__PURE__ */ new Date("");
|
|
15788
15783
|
}
|
|
15789
|
-
}(
|
|
15790
|
-
} else if (
|
|
15791
|
-
for (var re =
|
|
15792
|
-
|
|
15793
|
-
var
|
|
15794
|
-
if (
|
|
15795
|
-
this.$d =
|
|
15784
|
+
}(F, q, G), this.init(), K && K !== !0 && (this.$L = this.locale(K).$L), T && F != this.format(q) && (this.$d = /* @__PURE__ */ new Date("")), a = {};
|
|
15785
|
+
} else if (q instanceof Array)
|
|
15786
|
+
for (var re = q.length, E = 1; E <= re; E += 1) {
|
|
15787
|
+
te[1] = q[E - 1];
|
|
15788
|
+
var v = D.apply(this, te);
|
|
15789
|
+
if (v.isValid()) {
|
|
15790
|
+
this.$d = v.$d, this.$L = v.$L, this.init();
|
|
15796
15791
|
break;
|
|
15797
15792
|
}
|
|
15798
|
-
|
|
15793
|
+
E === re && (this.$d = /* @__PURE__ */ new Date(""));
|
|
15799
15794
|
}
|
|
15800
15795
|
else
|
|
15801
|
-
|
|
15796
|
+
L.call(this, N);
|
|
15802
15797
|
};
|
|
15803
15798
|
};
|
|
15804
15799
|
});
|
|
15805
15800
|
})(Ss);
|
|
15806
15801
|
var Du = Ss.exports;
|
|
15807
|
-
const ku = /* @__PURE__ */
|
|
15802
|
+
const ku = /* @__PURE__ */ Zo(Du);
|
|
15808
15803
|
function qo(o, t) {
|
|
15809
15804
|
As(o, t);
|
|
15810
15805
|
}
|
|
@@ -16100,11 +16095,11 @@ const Ko = {
|
|
|
16100
16095
|
}
|
|
16101
16096
|
};
|
|
16102
16097
|
function Tu(o) {
|
|
16103
|
-
|
|
16098
|
+
Ms(o, "svelte-h1xl9a", 'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:var(--emw--border-radius-medium, 10px);max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText p{font-size:16px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}.SelfExclusionDescription p{font-size:16px}.SelfExclusionDescription a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}}.SelfExclusionConfigWrapper{width:50%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:300px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:20px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF);cursor:pointer;border:none}.SelfExclusionActionButtons .SelfExclusionSave:hover{filter:brightness(0.9)}.SelfExclusionActionButtons .SelfExclusionSave:disabled{opacity:0.5;cursor:default}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
16104
16099
|
}
|
|
16105
16100
|
function Go(o, t, e) {
|
|
16106
16101
|
const i = o.slice();
|
|
16107
|
-
return i[
|
|
16102
|
+
return i[55] = t[e], i;
|
|
16108
16103
|
}
|
|
16109
16104
|
function Mu(o) {
|
|
16110
16105
|
let t, e, i, r, s = (
|
|
@@ -16131,27 +16126,27 @@ function Mu(o) {
|
|
|
16131
16126
|
), d, h, p = (
|
|
16132
16127
|
/*$_*/
|
|
16133
16128
|
o[21]("selfExclusionEmailText") + ""
|
|
16134
|
-
), b, f, y, D,
|
|
16129
|
+
), b, f, y, D, A, L, N, F, G, te = (
|
|
16135
16130
|
/*$_*/
|
|
16136
16131
|
o[21](`${/*selectedPeriodKey*/
|
|
16137
16132
|
o[14]}`) + ""
|
|
16138
|
-
),
|
|
16133
|
+
), q, J, P, T, K, re, E, v, m, x, _, S, C, z = (
|
|
16139
16134
|
/*$_*/
|
|
16140
16135
|
o[21]("save") + ""
|
|
16141
|
-
),
|
|
16136
|
+
), B, j, V, Q, ue, ne, le, Z = (
|
|
16142
16137
|
/*isMobile*/
|
|
16143
16138
|
o[22] && Iu(o)
|
|
16144
|
-
),
|
|
16139
|
+
), Y = so(
|
|
16145
16140
|
/*selfExclusionPeriods*/
|
|
16146
16141
|
o[10]
|
|
16147
16142
|
), R = [];
|
|
16148
|
-
for (let k = 0; k <
|
|
16149
|
-
R[k] = Jo(Go(o,
|
|
16150
|
-
let
|
|
16143
|
+
for (let k = 0; k < Y.length; k += 1)
|
|
16144
|
+
R[k] = Jo(Go(o, Y, k));
|
|
16145
|
+
let U = (
|
|
16151
16146
|
/*isUntilDate*/
|
|
16152
16147
|
o[17] && Xo(o)
|
|
16153
16148
|
);
|
|
16154
|
-
function ve(k,
|
|
16149
|
+
function ve(k, W) {
|
|
16155
16150
|
return (
|
|
16156
16151
|
/*isPermanentSelfExclusion*/
|
|
16157
16152
|
k[16] ? Lu : (
|
|
@@ -16160,69 +16155,69 @@ function Mu(o) {
|
|
|
16160
16155
|
)
|
|
16161
16156
|
);
|
|
16162
16157
|
}
|
|
16163
|
-
let we = ve(o),
|
|
16158
|
+
let we = ve(o), ce = we(o), Ee = (
|
|
16164
16159
|
/*showConfirmationModal*/
|
|
16165
16160
|
o[23] && Fu(o)
|
|
16166
16161
|
);
|
|
16167
16162
|
return {
|
|
16168
16163
|
c() {
|
|
16169
|
-
t = M("div"), e = M("form"),
|
|
16164
|
+
t = M("div"), e = M("form"), Z && Z.c(), i = X(), r = M("h2"), n = me(s), a = X(), l = M("div"), c = M("p"), d = X(), h = M("p"), b = me(p), f = X(), y = M("a"), D = me(
|
|
16170
16165
|
/*supportemail*/
|
|
16171
16166
|
o[2]
|
|
16172
|
-
),
|
|
16167
|
+
), L = X(), N = M("div"), F = M("div"), G = M("p"), q = me(te), J = X(), P = Pe("svg"), T = Pe("g"), K = Pe("path"), re = X(), E = M("div");
|
|
16173
16168
|
for (let k = 0; k < R.length; k += 1)
|
|
16174
16169
|
R[k].c();
|
|
16175
|
-
|
|
16176
|
-
(o[22] ? "PlayerSelfExclusionTitleNone" : "")), O(c, "class", "SelfExclusionDescriptionText"), O(y, "href",
|
|
16170
|
+
v = X(), U && U.c(), m = X(), x = M("div"), ce.c(), _ = X(), S = M("div"), C = M("button"), B = me(z), Q = X(), Ee && Ee.c(), ue = Fs(), O(r, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
16171
|
+
(o[22] ? "PlayerSelfExclusionTitleNone" : "")), O(c, "class", "SelfExclusionDescriptionText"), O(y, "href", A = "mailto:" + /*supportemail*/
|
|
16177
16172
|
o[2]), O(h, "class", "SelfExclusionDescriptionText"), O(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16178
16173
|
(o[22] ? "SelfExclusionDescriptionMobile" : "")), O(K, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), O(K, "stroke-linecap", "round"), O(P, "xmlns", "http://www.w3.org/2000/svg"), O(P, "xmlns:xlink", "http://www.w3.org/1999/xlink"), O(P, "version", "1.1"), O(P, "viewBox", "0 0 100 100"), O(P, "xml:space", "preserve"), O(P, "class", "SelfExclusionConfigIcon"), Ve(
|
|
16179
16174
|
P,
|
|
16180
16175
|
"active",
|
|
16181
16176
|
/*isPeriodDropDownToggled*/
|
|
16182
16177
|
o[19]
|
|
16183
|
-
), O(
|
|
16184
|
-
|
|
16178
|
+
), O(F, "class", "SelfExclusionConfigLabel"), O(E, "class", "SelfExclusionDropDown"), Ve(
|
|
16179
|
+
E,
|
|
16185
16180
|
"active",
|
|
16186
16181
|
/*isPeriodDropDownToggled*/
|
|
16187
16182
|
o[19]
|
|
16188
|
-
), O(
|
|
16183
|
+
), O(N, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
|
|
16189
16184
|
(o[22] ? "SelfExclusionConfigWrapperMobile" : "")), Ve(
|
|
16190
|
-
|
|
16185
|
+
N,
|
|
16191
16186
|
"active",
|
|
16192
16187
|
/*isPeriodDropDownToggled*/
|
|
16193
16188
|
o[19]
|
|
16194
|
-
), O(
|
|
16195
|
-
(o[22] ? "SelfExclusionDescriptionMobile" : "")), O(
|
|
16196
|
-
(o[18] ? "active" : "")),
|
|
16197
|
-
o[18], O(
|
|
16189
|
+
), O(x, "class", "SelfExclusionNotification " + /*isMobile*/
|
|
16190
|
+
(o[22] ? "SelfExclusionDescriptionMobile" : "")), O(C, "class", j = "SelfExclusionSave " + /*isDateSelected*/
|
|
16191
|
+
(o[18] ? "active" : "")), C.disabled = V = !/*isDateSelected*/
|
|
16192
|
+
o[18], O(S, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16198
16193
|
(o[22] ? "SelfExclusionActionButtonsMobile" : "")), O(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16199
16194
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), O(t, "class", "SelfExclusionContainer");
|
|
16200
16195
|
},
|
|
16201
|
-
m(k,
|
|
16202
|
-
|
|
16196
|
+
m(k, W) {
|
|
16197
|
+
ge(k, t, W), g(t, e), Z && Z.m(e, null), g(e, i), g(e, r), g(r, n), g(e, a), g(e, l), g(l, c), c.innerHTML = u, g(l, d), g(l, h), g(h, b), g(h, f), g(h, y), g(y, D), g(e, L), g(e, N), g(N, F), g(F, G), g(G, q), g(F, J), g(F, P), g(P, T), g(T, K), g(N, re), g(N, E);
|
|
16203
16198
|
for (let ie = 0; ie < R.length; ie += 1)
|
|
16204
|
-
R[ie] && R[ie].m(
|
|
16205
|
-
|
|
16206
|
-
|
|
16207
|
-
|
|
16199
|
+
R[ie] && R[ie].m(E, null);
|
|
16200
|
+
g(e, v), U && U.m(e, null), g(e, m), g(e, x), ce.m(x, null), g(e, _), g(e, S), g(S, C), g(C, B), ge(k, Q, W), Ee && Ee.m(k, W), ge(k, ue, W), ne || (le = [
|
|
16201
|
+
Mt(
|
|
16202
|
+
F,
|
|
16208
16203
|
"click",
|
|
16209
16204
|
/*click_handler_1*/
|
|
16210
|
-
o[
|
|
16205
|
+
o[36]
|
|
16211
16206
|
),
|
|
16212
|
-
|
|
16213
|
-
|
|
16207
|
+
Mt(
|
|
16208
|
+
C,
|
|
16214
16209
|
"click",
|
|
16215
16210
|
/*click_handler_3*/
|
|
16216
|
-
o[
|
|
16211
|
+
o[39]
|
|
16217
16212
|
)
|
|
16218
|
-
],
|
|
16213
|
+
], ne = !0);
|
|
16219
16214
|
},
|
|
16220
|
-
p(k,
|
|
16215
|
+
p(k, W) {
|
|
16221
16216
|
if (
|
|
16222
16217
|
/*isMobile*/
|
|
16223
|
-
k[22] &&
|
|
16218
|
+
k[22] && Z.p(k, W), W[0] & /*$_*/
|
|
16224
16219
|
2097152 && s !== (s = /*$_*/
|
|
16225
|
-
k[21]("titleSelfExclusion") + "") && ye(n, s),
|
|
16220
|
+
k[21]("titleSelfExclusion") + "") && ye(n, s), W[0] & /*$_, operator, baseurl, lang*/
|
|
16226
16221
|
2097163 && u !== (u = /*$_*/
|
|
16227
16222
|
k[21]("selfExclusionText", {
|
|
16228
16223
|
values: {
|
|
@@ -16239,79 +16234,79 @@ function Mu(o) {
|
|
|
16239
16234
|
k[0]
|
|
16240
16235
|
)
|
|
16241
16236
|
}
|
|
16242
|
-
}) + "") && (c.innerHTML = u),
|
|
16237
|
+
}) + "") && (c.innerHTML = u), W[0] & /*$_*/
|
|
16243
16238
|
2097152 && p !== (p = /*$_*/
|
|
16244
|
-
k[21]("selfExclusionEmailText") + "") && ye(b, p),
|
|
16239
|
+
k[21]("selfExclusionEmailText") + "") && ye(b, p), W[0] & /*supportemail*/
|
|
16245
16240
|
4 && ye(
|
|
16246
16241
|
D,
|
|
16247
16242
|
/*supportemail*/
|
|
16248
16243
|
k[2]
|
|
16249
|
-
),
|
|
16250
|
-
4 &&
|
|
16251
|
-
k[2]) && O(y, "href",
|
|
16252
|
-
2113536 &&
|
|
16244
|
+
), W[0] & /*supportemail*/
|
|
16245
|
+
4 && A !== (A = "mailto:" + /*supportemail*/
|
|
16246
|
+
k[2]) && O(y, "href", A), W[0] & /*$_, selectedPeriodKey*/
|
|
16247
|
+
2113536 && te !== (te = /*$_*/
|
|
16253
16248
|
k[21](`${/*selectedPeriodKey*/
|
|
16254
|
-
k[14]}`) + "") && ye(
|
|
16249
|
+
k[14]}`) + "") && ye(q, te), W[0] & /*isPeriodDropDownToggled*/
|
|
16255
16250
|
524288 && Ve(
|
|
16256
16251
|
P,
|
|
16257
16252
|
"active",
|
|
16258
16253
|
/*isPeriodDropDownToggled*/
|
|
16259
16254
|
k[19]
|
|
16260
|
-
),
|
|
16255
|
+
), W[0] & /*selectPeriod, selfExclusionPeriods, $_*/
|
|
16261
16256
|
35652608
|
|
16262
16257
|
) {
|
|
16263
|
-
|
|
16258
|
+
Y = so(
|
|
16264
16259
|
/*selfExclusionPeriods*/
|
|
16265
16260
|
k[10]
|
|
16266
16261
|
);
|
|
16267
16262
|
let ie;
|
|
16268
|
-
for (ie = 0; ie <
|
|
16269
|
-
const
|
|
16270
|
-
R[ie] ? R[ie].p(
|
|
16263
|
+
for (ie = 0; ie < Y.length; ie += 1) {
|
|
16264
|
+
const Et = Go(k, Y, ie);
|
|
16265
|
+
R[ie] ? R[ie].p(Et, W) : (R[ie] = Jo(Et), R[ie].c(), R[ie].m(E, null));
|
|
16271
16266
|
}
|
|
16272
16267
|
for (; ie < R.length; ie += 1)
|
|
16273
16268
|
R[ie].d(1);
|
|
16274
|
-
R.length =
|
|
16269
|
+
R.length = Y.length;
|
|
16275
16270
|
}
|
|
16276
|
-
|
|
16271
|
+
W[0] & /*isPeriodDropDownToggled*/
|
|
16277
16272
|
524288 && Ve(
|
|
16278
|
-
|
|
16273
|
+
E,
|
|
16279
16274
|
"active",
|
|
16280
16275
|
/*isPeriodDropDownToggled*/
|
|
16281
16276
|
k[19]
|
|
16282
|
-
),
|
|
16277
|
+
), W[0] & /*isPeriodDropDownToggled*/
|
|
16283
16278
|
524288 && Ve(
|
|
16284
|
-
|
|
16279
|
+
N,
|
|
16285
16280
|
"active",
|
|
16286
16281
|
/*isPeriodDropDownToggled*/
|
|
16287
16282
|
k[19]
|
|
16288
16283
|
), /*isUntilDate*/
|
|
16289
|
-
k[17] ?
|
|
16284
|
+
k[17] ? U ? U.p(k, W) : (U = Xo(k), U.c(), U.m(e, m)) : U && (U.d(1), U = null), we === (we = ve(k)) && ce ? ce.p(k, W) : (ce.d(1), ce = we(k), ce && (ce.c(), ce.m(x, null))), W[0] & /*$_*/
|
|
16290
16285
|
2097152 && z !== (z = /*$_*/
|
|
16291
|
-
k[21]("save") + "") && ye(
|
|
16286
|
+
k[21]("save") + "") && ye(B, z), W[0] & /*isDateSelected*/
|
|
16292
16287
|
262144 && j !== (j = "SelfExclusionSave " + /*isDateSelected*/
|
|
16293
|
-
(k[18] ? "active" : "")) && O(
|
|
16288
|
+
(k[18] ? "active" : "")) && O(C, "class", j), W[0] & /*isDateSelected*/
|
|
16294
16289
|
262144 && V !== (V = !/*isDateSelected*/
|
|
16295
|
-
k[18]) && (
|
|
16296
|
-
k[23] && Ee.p(k,
|
|
16290
|
+
k[18]) && (C.disabled = V), /*showConfirmationModal*/
|
|
16291
|
+
k[23] && Ee.p(k, W);
|
|
16297
16292
|
},
|
|
16298
16293
|
d(k) {
|
|
16299
|
-
k && (
|
|
16294
|
+
k && (_e(t), _e(Q), _e(ue)), Z && Z.d(), zs(R, k), U && U.d(), ce.d(), Ee && Ee.d(k), ne = !1, Ls(le);
|
|
16300
16295
|
}
|
|
16301
16296
|
};
|
|
16302
16297
|
}
|
|
16303
16298
|
function Ou(o) {
|
|
16304
|
-
let t, e, i, r, s, n, a, l, c, u, d, h, p, b, f, y, D,
|
|
16305
|
-
function J
|
|
16299
|
+
let t, e, i, r, s, n, a, l, c, u, d, h, p, b, f, y, D, A, L, N, F;
|
|
16300
|
+
function G(J, P) {
|
|
16306
16301
|
return (
|
|
16307
16302
|
/*isMobile*/
|
|
16308
|
-
|
|
16303
|
+
J[22] ? Ru : $u
|
|
16309
16304
|
);
|
|
16310
16305
|
}
|
|
16311
|
-
let
|
|
16306
|
+
let q = G(o)(o);
|
|
16312
16307
|
return {
|
|
16313
16308
|
c() {
|
|
16314
|
-
t = M("div"), e = M("div"),
|
|
16309
|
+
t = M("div"), e = M("div"), q.c(), i = X(), r = M("div"), s = M("ui-skeleton"), n = X(), a = M("div"), l = X(), c = M("ui-skeleton"), u = X(), d = M("div"), h = X(), p = M("div"), b = M("ui-skeleton"), f = X(), y = M("div"), D = X(), A = M("ui-skeleton"), L = X(), N = M("div"), F = M("ui-skeleton"), I(s, "structure", "text"), I(
|
|
16315
16310
|
s,
|
|
16316
16311
|
"height",
|
|
16317
16312
|
/*isMobile*/
|
|
@@ -16326,7 +16321,7 @@ function Ou(o) {
|
|
|
16326
16321
|
"width",
|
|
16327
16322
|
/*isMobile*/
|
|
16328
16323
|
o[22] ? "100%" : "60%"
|
|
16329
|
-
),
|
|
16324
|
+
), qt(
|
|
16330
16325
|
a,
|
|
16331
16326
|
"height",
|
|
16332
16327
|
/*isMobile*/
|
|
@@ -16336,7 +16331,7 @@ function Ou(o) {
|
|
|
16336
16331
|
"height",
|
|
16337
16332
|
/*isMobile*/
|
|
16338
16333
|
o[22] ? "15px" : "20px"
|
|
16339
|
-
), I(c, "width", "30%"),
|
|
16334
|
+
), I(c, "width", "30%"), qt(d, "height", "10px"), O(r, "class", "SelfExclusionDescription"), I(b, "structure", "rectangle"), I(
|
|
16340
16335
|
b,
|
|
16341
16336
|
"width",
|
|
16342
16337
|
/*isMobile*/
|
|
@@ -16346,31 +16341,31 @@ function Ou(o) {
|
|
|
16346
16341
|
"height",
|
|
16347
16342
|
/*isMobile*/
|
|
16348
16343
|
o[22] ? "30px" : "44px"
|
|
16349
|
-
),
|
|
16344
|
+
), qt(
|
|
16350
16345
|
y,
|
|
16351
16346
|
"height",
|
|
16352
16347
|
/*isMobile*/
|
|
16353
16348
|
o[22] ? "15px" : "20px"
|
|
16354
|
-
), I(
|
|
16355
|
-
|
|
16349
|
+
), I(A, "structure", "text"), I(
|
|
16350
|
+
A,
|
|
16356
16351
|
"height",
|
|
16357
16352
|
/*isMobile*/
|
|
16358
16353
|
o[22] ? "15px" : "20px"
|
|
16359
|
-
), I(
|
|
16360
|
-
|
|
16354
|
+
), I(A, "width", "30%"), O(p, "class", "SelfExclusionConfig"), I(F, "structure", "rectangle"), I(F, "width", "100%"), I(
|
|
16355
|
+
F,
|
|
16361
16356
|
"height",
|
|
16362
16357
|
/*isMobile*/
|
|
16363
16358
|
o[22] ? "35px" : "50px"
|
|
16364
|
-
), O(
|
|
16359
|
+
), O(N, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16365
16360
|
(o[22] ? "SelfExclusionActionButtonsMobile" : "")), O(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16366
16361
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), O(t, "class", "SelfExclusionContainer");
|
|
16367
16362
|
},
|
|
16368
|
-
m(
|
|
16369
|
-
|
|
16363
|
+
m(J, P) {
|
|
16364
|
+
ge(J, t, P), g(t, e), q.m(e, null), g(e, i), g(e, r), g(r, s), g(r, n), g(r, a), g(r, l), g(r, c), g(r, u), g(r, d), g(e, h), g(e, p), g(p, b), g(p, f), g(p, y), g(p, D), g(p, A), g(e, L), g(e, N), g(N, F);
|
|
16370
16365
|
},
|
|
16371
|
-
p:
|
|
16372
|
-
d(
|
|
16373
|
-
|
|
16366
|
+
p: ci,
|
|
16367
|
+
d(J) {
|
|
16368
|
+
J && _e(t), q.d();
|
|
16374
16369
|
}
|
|
16375
16370
|
};
|
|
16376
16371
|
}
|
|
@@ -16384,11 +16379,11 @@ function Iu(o) {
|
|
|
16384
16379
|
t = M("div"), e = Pe("svg"), i = Pe("defs"), r = Pe("style"), s = me(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Pe("g"), a = Pe("g"), l = Pe("path"), c = X(), u = M("h2"), h = me(d), O(l, "class", "aaa"), O(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), O(l, "transform", "translate(15 15) rotate(180)"), O(a, "transform", "translate(20 158)"), O(n, "transform", "translate(-20 -158)"), O(e, "xmlns", "http://www.w3.org/2000/svg"), O(e, "width", "15"), O(e, "height", "15"), O(e, "viewBox", "0 0 15 15"), O(u, "class", "PlayerSelfExclusionTitleMobile"), O(t, "class", "MenuReturnButton");
|
|
16385
16380
|
},
|
|
16386
16381
|
m(f, y) {
|
|
16387
|
-
|
|
16382
|
+
ge(f, t, y), g(t, e), g(e, i), g(i, r), g(r, s), g(e, n), g(n, a), g(a, l), g(t, c), g(t, u), g(u, h), p || (b = Mt(
|
|
16388
16383
|
t,
|
|
16389
16384
|
"click",
|
|
16390
16385
|
/*click_handler*/
|
|
16391
|
-
o[
|
|
16386
|
+
o[35]
|
|
16392
16387
|
), p = !0);
|
|
16393
16388
|
},
|
|
16394
16389
|
p(f, y) {
|
|
@@ -16397,7 +16392,7 @@ function Iu(o) {
|
|
|
16397
16392
|
f[21]("titleSelfExclusion") + "") && ye(h, d);
|
|
16398
16393
|
},
|
|
16399
16394
|
d(f) {
|
|
16400
|
-
f &&
|
|
16395
|
+
f && _e(t), p = !1, b();
|
|
16401
16396
|
}
|
|
16402
16397
|
};
|
|
16403
16398
|
}
|
|
@@ -16405,14 +16400,14 @@ function Jo(o) {
|
|
|
16405
16400
|
let t, e = (
|
|
16406
16401
|
/*$_*/
|
|
16407
16402
|
o[21](`${/*period*/
|
|
16408
|
-
o[
|
|
16403
|
+
o[55].key}`) + ""
|
|
16409
16404
|
), i, r, s;
|
|
16410
16405
|
function n() {
|
|
16411
16406
|
return (
|
|
16412
16407
|
/*click_handler_2*/
|
|
16413
|
-
o[
|
|
16408
|
+
o[37](
|
|
16414
16409
|
/*period*/
|
|
16415
|
-
o[
|
|
16410
|
+
o[55]
|
|
16416
16411
|
)
|
|
16417
16412
|
);
|
|
16418
16413
|
}
|
|
@@ -16421,16 +16416,16 @@ function Jo(o) {
|
|
|
16421
16416
|
t = M("div"), i = me(e);
|
|
16422
16417
|
},
|
|
16423
16418
|
m(a, l) {
|
|
16424
|
-
|
|
16419
|
+
ge(a, t, l), g(t, i), r || (s = Mt(t, "click", n), r = !0);
|
|
16425
16420
|
},
|
|
16426
16421
|
p(a, l) {
|
|
16427
16422
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
16428
16423
|
2098176 && e !== (e = /*$_*/
|
|
16429
16424
|
o[21](`${/*period*/
|
|
16430
|
-
o[
|
|
16425
|
+
o[55].key}`) + "") && ye(i, e);
|
|
16431
16426
|
},
|
|
16432
16427
|
d(a) {
|
|
16433
|
-
a &&
|
|
16428
|
+
a && _e(t), r = !1, s();
|
|
16434
16429
|
}
|
|
16435
16430
|
};
|
|
16436
16431
|
}
|
|
@@ -16466,7 +16461,7 @@ function Xo(o) {
|
|
|
16466
16461
|
(o[22] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16467
16462
|
},
|
|
16468
16463
|
m(f, y) {
|
|
16469
|
-
|
|
16464
|
+
ge(f, t, y), g(t, e), g(e, r), g(t, s), g(t, n), g(n, l), g(n, c), g(n, u), g(u, d), g(u, h), g(t, p), g(t, b), o[38](b);
|
|
16470
16465
|
},
|
|
16471
16466
|
p(f, y) {
|
|
16472
16467
|
y[0] & /*$_*/
|
|
@@ -16499,7 +16494,7 @@ function Xo(o) {
|
|
|
16499
16494
|
);
|
|
16500
16495
|
},
|
|
16501
16496
|
d(f) {
|
|
16502
|
-
f &&
|
|
16497
|
+
f && _e(t), o[38](null);
|
|
16503
16498
|
}
|
|
16504
16499
|
};
|
|
16505
16500
|
}
|
|
@@ -16523,7 +16518,7 @@ function Nu(o) {
|
|
|
16523
16518
|
t = M("p"), e = M("strong"), r = me(i), O(t, "class", "SelfExclusionDescriptionText");
|
|
16524
16519
|
},
|
|
16525
16520
|
m(s, n) {
|
|
16526
|
-
|
|
16521
|
+
ge(s, t, n), g(t, e), g(e, r);
|
|
16527
16522
|
},
|
|
16528
16523
|
p(s, n) {
|
|
16529
16524
|
n[0] & /*$_, selfExclusionExpiryDate, dateformat*/
|
|
@@ -16541,7 +16536,7 @@ function Nu(o) {
|
|
|
16541
16536
|
}) + "") && ye(r, i);
|
|
16542
16537
|
},
|
|
16543
16538
|
d(s) {
|
|
16544
|
-
s &&
|
|
16539
|
+
s && _e(t);
|
|
16545
16540
|
}
|
|
16546
16541
|
};
|
|
16547
16542
|
}
|
|
@@ -16555,7 +16550,7 @@ function zu(o) {
|
|
|
16555
16550
|
t = M("p"), e = M("strong"), r = me(i), O(t, "class", "SelfExclusionDescriptionText");
|
|
16556
16551
|
},
|
|
16557
16552
|
m(s, n) {
|
|
16558
|
-
|
|
16553
|
+
ge(s, t, n), g(t, e), g(e, r);
|
|
16559
16554
|
},
|
|
16560
16555
|
p(s, n) {
|
|
16561
16556
|
n[0] & /*$_*/
|
|
@@ -16563,7 +16558,7 @@ function zu(o) {
|
|
|
16563
16558
|
s[21]("noPeriodSelected") + "") && ye(r, i);
|
|
16564
16559
|
},
|
|
16565
16560
|
d(s) {
|
|
16566
|
-
s &&
|
|
16561
|
+
s && _e(t);
|
|
16567
16562
|
}
|
|
16568
16563
|
};
|
|
16569
16564
|
}
|
|
@@ -16577,7 +16572,7 @@ function Lu(o) {
|
|
|
16577
16572
|
t = M("p"), e = M("strong"), r = me(i), O(t, "class", "SelfExclusionDescriptionText");
|
|
16578
16573
|
},
|
|
16579
16574
|
m(s, n) {
|
|
16580
|
-
|
|
16575
|
+
ge(s, t, n), g(t, e), g(e, r);
|
|
16581
16576
|
},
|
|
16582
16577
|
p(s, n) {
|
|
16583
16578
|
n[0] & /*$_*/
|
|
@@ -16585,7 +16580,7 @@ function Lu(o) {
|
|
|
16585
16580
|
s[21]("permanentSelfExclusion") + "") && ye(r, i);
|
|
16586
16581
|
},
|
|
16587
16582
|
d(s) {
|
|
16588
|
-
s &&
|
|
16583
|
+
s && _e(t);
|
|
16589
16584
|
}
|
|
16590
16585
|
};
|
|
16591
16586
|
}
|
|
@@ -16627,7 +16622,7 @@ function Fu(o) {
|
|
|
16627
16622
|
), I(t, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
|
|
16628
16623
|
},
|
|
16629
16624
|
m(r, s) {
|
|
16630
|
-
|
|
16625
|
+
ge(r, t, s), g(t, e);
|
|
16631
16626
|
},
|
|
16632
16627
|
p(r, s) {
|
|
16633
16628
|
s[0] & /*$_*/
|
|
@@ -16671,7 +16666,7 @@ function Fu(o) {
|
|
|
16671
16666
|
);
|
|
16672
16667
|
},
|
|
16673
16668
|
d(r) {
|
|
16674
|
-
r &&
|
|
16669
|
+
r && _e(t);
|
|
16675
16670
|
}
|
|
16676
16671
|
};
|
|
16677
16672
|
}
|
|
@@ -16682,10 +16677,10 @@ function $u(o) {
|
|
|
16682
16677
|
t = M("ui-skeleton"), I(t, "structure", "title"), I(t, "width", "100px"), I(t, "margin-top", "20px"), I(t, "margin-bottom", "20px");
|
|
16683
16678
|
},
|
|
16684
16679
|
m(e, i) {
|
|
16685
|
-
|
|
16680
|
+
ge(e, t, i);
|
|
16686
16681
|
},
|
|
16687
16682
|
d(e) {
|
|
16688
|
-
e &&
|
|
16683
|
+
e && _e(t);
|
|
16689
16684
|
}
|
|
16690
16685
|
};
|
|
16691
16686
|
}
|
|
@@ -16696,10 +16691,10 @@ function Ru(o) {
|
|
|
16696
16691
|
t = M("div"), t.innerHTML = '<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>', O(t, "class", "MenuReturnButton");
|
|
16697
16692
|
},
|
|
16698
16693
|
m(e, i) {
|
|
16699
|
-
|
|
16694
|
+
ge(e, t, i);
|
|
16700
16695
|
},
|
|
16701
16696
|
d(e) {
|
|
16702
|
-
e &&
|
|
16697
|
+
e && _e(t);
|
|
16703
16698
|
}
|
|
16704
16699
|
};
|
|
16705
16700
|
}
|
|
@@ -16717,118 +16712,119 @@ function Hu(o) {
|
|
|
16717
16712
|
t = M("div"), r.c();
|
|
16718
16713
|
},
|
|
16719
16714
|
m(s, n) {
|
|
16720
|
-
|
|
16715
|
+
ge(s, t, n), r.m(t, null), o[40](t);
|
|
16721
16716
|
},
|
|
16722
16717
|
p(s, n) {
|
|
16723
16718
|
i === (i = e(s)) && r ? r.p(s, n) : (r.d(1), r = i(s), r && (r.c(), r.m(t, null)));
|
|
16724
16719
|
},
|
|
16725
|
-
i:
|
|
16726
|
-
o:
|
|
16720
|
+
i: ci,
|
|
16721
|
+
o: ci,
|
|
16727
16722
|
d(s) {
|
|
16728
|
-
s &&
|
|
16723
|
+
s && _e(t), r.d(), o[40](null);
|
|
16729
16724
|
}
|
|
16730
16725
|
};
|
|
16731
16726
|
}
|
|
16732
16727
|
function Bu(o, t, e) {
|
|
16733
16728
|
let i;
|
|
16734
|
-
|
|
16735
|
-
let { endpoint: r = "", session: s = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: p = "", mbsource: b, translationurl: f = "", hasconfirmationmodal: y = "false", dateformat: D = "DD/MM/YYYY" } = t,
|
|
16736
|
-
const
|
|
16737
|
-
fetch(f).then((
|
|
16738
|
-
Object.keys(
|
|
16739
|
-
qo(
|
|
16729
|
+
Os(o, Ys, (w) => e(21, i = w)), ke.extend(ku);
|
|
16730
|
+
let { endpoint: r = "", session: s = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: p = "", mbsource: b, translationurl: f = "", hasconfirmationmodal: y = "false", dateformat: D = "DD/MM/YYYY", sendnotificationemail: A = "false" } = t, L, N, F = [], G = {}, te = window.navigator.userAgent, q, J, P = "", T = "", K = "selectAPeriod", re = "", E = "", v = Is(te) !== "PC", m = !1, x = !1, _ = !1, S = !1, C = y === "true", z = !0;
|
|
16731
|
+
const B = () => {
|
|
16732
|
+
fetch(f).then((he) => he.json()).then((he) => {
|
|
16733
|
+
Object.keys(he).forEach((pe) => {
|
|
16734
|
+
qo(pe, he[pe]);
|
|
16740
16735
|
});
|
|
16741
|
-
}).catch((
|
|
16742
|
-
console.log(
|
|
16736
|
+
}).catch((he) => {
|
|
16737
|
+
console.log(he);
|
|
16743
16738
|
});
|
|
16744
16739
|
};
|
|
16745
|
-
Object.keys(Ko).forEach((
|
|
16746
|
-
qo(
|
|
16740
|
+
Object.keys(Ko).forEach((w) => {
|
|
16741
|
+
qo(w, Ko[w]);
|
|
16747
16742
|
});
|
|
16748
|
-
const
|
|
16749
|
-
let
|
|
16750
|
-
fetch(
|
|
16743
|
+
const j = () => {
|
|
16744
|
+
let w = new URL(`${r}/v1/player/selfExclusionSettings`);
|
|
16745
|
+
fetch(w, {
|
|
16751
16746
|
method: "GET",
|
|
16752
16747
|
headers: {
|
|
16753
16748
|
"Content-Type": "application/json",
|
|
16754
16749
|
Accept: "application/json"
|
|
16755
16750
|
}
|
|
16756
|
-
}).then((
|
|
16757
|
-
e(10, F =
|
|
16758
|
-
}).catch((
|
|
16759
|
-
console.log(
|
|
16751
|
+
}).then((pe) => Q(pe)).then((pe) => {
|
|
16752
|
+
e(10, F = pe.periods);
|
|
16753
|
+
}).catch((pe) => {
|
|
16754
|
+
console.log(pe);
|
|
16760
16755
|
}).finally(() => {
|
|
16761
|
-
e(20,
|
|
16756
|
+
e(20, z = !1);
|
|
16762
16757
|
});
|
|
16763
|
-
},
|
|
16764
|
-
|
|
16765
|
-
},
|
|
16766
|
-
if (
|
|
16767
|
-
|
|
16758
|
+
}, V = (w) => {
|
|
16759
|
+
w.data.type === "setSelfExclusion" && Y();
|
|
16760
|
+
}, Q = async (w) => {
|
|
16761
|
+
if (w.status >= 300)
|
|
16762
|
+
G = await w.json(), E = G.thirdPartyResponse.errorCode, console.error(i(E || "generalError")), window.postMessage(
|
|
16768
16763
|
{
|
|
16769
16764
|
type: "WidgetNotification",
|
|
16770
16765
|
data: {
|
|
16771
16766
|
type: "error",
|
|
16772
|
-
message: i(
|
|
16767
|
+
message: i(E || "generalError")
|
|
16773
16768
|
}
|
|
16774
16769
|
},
|
|
16775
16770
|
window.location.href
|
|
16776
16771
|
);
|
|
16777
16772
|
else
|
|
16778
|
-
return
|
|
16779
|
-
},
|
|
16780
|
-
e(19,
|
|
16781
|
-
},
|
|
16782
|
-
switch (
|
|
16773
|
+
return w.json();
|
|
16774
|
+
}, ue = () => {
|
|
16775
|
+
e(19, S = !S);
|
|
16776
|
+
}, ne = (w) => {
|
|
16777
|
+
switch (T = w.text, e(14, K = w.key), e(18, _ = !0), e(19, S = !1), e(16, m = !1), e(17, x = !1), T) {
|
|
16783
16778
|
case "Until":
|
|
16784
|
-
e(17,
|
|
16779
|
+
e(17, x = !0), e(11, q = ke().add(6, "M").format("YYYY-MM-DD")), e(12, J = ke().add(5, "y").format("YYYY-MM-DD")), e(13, P = q);
|
|
16785
16780
|
break;
|
|
16786
16781
|
case "Permanent":
|
|
16787
|
-
e(16,
|
|
16782
|
+
e(16, m = !m);
|
|
16788
16783
|
break;
|
|
16789
16784
|
default:
|
|
16790
|
-
const [
|
|
16785
|
+
const [he, pe] = T.split(" "), ze = pe.includes("Day") ? "days" : pe.includes("Month") ? "months" : pe.includes("Year") ? "years" : null;
|
|
16791
16786
|
if (!ze)
|
|
16792
16787
|
return;
|
|
16793
|
-
e(13,
|
|
16788
|
+
e(13, P = ke().add(Number(he), ze).format("YYYY-MM-DD"));
|
|
16794
16789
|
break;
|
|
16795
16790
|
}
|
|
16796
|
-
C &&
|
|
16797
|
-
},
|
|
16798
|
-
if (!C || !
|
|
16799
|
-
e(15,
|
|
16791
|
+
C && le();
|
|
16792
|
+
}, le = () => {
|
|
16793
|
+
if (!C || !T || !P) {
|
|
16794
|
+
e(15, re = "");
|
|
16800
16795
|
return;
|
|
16801
16796
|
}
|
|
16802
|
-
e(15,
|
|
16797
|
+
e(15, re = x ? i("confirmationModalTextUntil", {
|
|
16803
16798
|
values: {
|
|
16804
|
-
date: ke(
|
|
16799
|
+
date: ke(P).format(D)
|
|
16805
16800
|
}
|
|
16806
|
-
}) : i("confirmationModalTextPeriod", { values: { period: i(
|
|
16807
|
-
},
|
|
16808
|
-
|
|
16801
|
+
}) : i("confirmationModalTextPeriod", { values: { period: i(T) } }));
|
|
16802
|
+
}, Z = (w) => {
|
|
16803
|
+
w.preventDefault(), C ? (le(), window.postMessage(
|
|
16809
16804
|
{
|
|
16810
16805
|
type: "ShowSelfExclusionConfirmationModal"
|
|
16811
16806
|
},
|
|
16812
16807
|
window.location.href
|
|
16813
|
-
)) :
|
|
16814
|
-
},
|
|
16815
|
-
e(20,
|
|
16816
|
-
|
|
16817
|
-
selfExclusion: {
|
|
16818
|
-
period: T,
|
|
16819
|
-
expiryDate: B,
|
|
16820
|
-
selfExclusionReason: "UserRequest"
|
|
16821
|
-
}
|
|
16822
|
-
}, he = {
|
|
16808
|
+
)) : Y();
|
|
16809
|
+
}, Y = () => {
|
|
16810
|
+
e(20, z = !0);
|
|
16811
|
+
const w = new URL(`/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`, r), pe = {
|
|
16823
16812
|
method: "PUT",
|
|
16824
16813
|
headers: {
|
|
16825
16814
|
"X-SessionID": s,
|
|
16826
16815
|
"Content-Type": "application/json",
|
|
16827
16816
|
Accept: "application/json"
|
|
16828
16817
|
},
|
|
16829
|
-
body: JSON.stringify(
|
|
16818
|
+
body: JSON.stringify({
|
|
16819
|
+
selfExclusion: {
|
|
16820
|
+
period: K,
|
|
16821
|
+
expiryDate: P,
|
|
16822
|
+
selfExclusionReason: "UserRequest",
|
|
16823
|
+
sendNotificationEmail: A === "true"
|
|
16824
|
+
}
|
|
16825
|
+
})
|
|
16830
16826
|
};
|
|
16831
|
-
fetch(
|
|
16827
|
+
fetch(w.href, pe).then((ze) => Q(ze)).then((ze) => {
|
|
16832
16828
|
window.postMessage(
|
|
16833
16829
|
{
|
|
16834
16830
|
type: "WidgetNotification",
|
|
@@ -16851,66 +16847,66 @@ function Bu(o, t, e) {
|
|
|
16851
16847
|
window.location.href
|
|
16852
16848
|
);
|
|
16853
16849
|
}).finally(() => {
|
|
16854
|
-
e(20,
|
|
16850
|
+
e(20, z = !1);
|
|
16855
16851
|
});
|
|
16856
|
-
},
|
|
16852
|
+
}, R = () => {
|
|
16857
16853
|
window.postMessage(
|
|
16858
16854
|
{
|
|
16859
16855
|
type: "PlayerAccountMenuActive",
|
|
16860
|
-
isMobile:
|
|
16856
|
+
isMobile: v
|
|
16861
16857
|
},
|
|
16862
16858
|
window.location.href
|
|
16863
16859
|
);
|
|
16864
|
-
},
|
|
16865
|
-
e(13,
|
|
16866
|
-
},
|
|
16867
|
-
N.addEventListener("change",
|
|
16860
|
+
}, U = (w) => {
|
|
16861
|
+
e(13, P = w.target.value);
|
|
16862
|
+
}, ve = () => {
|
|
16863
|
+
N.addEventListener("change", U, !1), e(
|
|
16868
16864
|
9,
|
|
16869
16865
|
N.i18n = {
|
|
16870
16866
|
...N.i18n,
|
|
16871
|
-
formatDate: (
|
|
16872
|
-
parseDate: (
|
|
16873
|
-
const
|
|
16867
|
+
formatDate: (w) => ke(new Date(w.year, w.month, w.day)).format(D),
|
|
16868
|
+
parseDate: (w) => {
|
|
16869
|
+
const he = ke(w, D);
|
|
16874
16870
|
return {
|
|
16875
|
-
year:
|
|
16876
|
-
month:
|
|
16877
|
-
day:
|
|
16871
|
+
year: he.year(),
|
|
16872
|
+
month: he.month(),
|
|
16873
|
+
day: he.date()
|
|
16878
16874
|
};
|
|
16879
16875
|
}
|
|
16880
16876
|
},
|
|
16881
16877
|
N
|
|
16882
16878
|
);
|
|
16883
16879
|
};
|
|
16884
|
-
|
|
16885
|
-
N.removeEventListener("change",
|
|
16880
|
+
Ns(() => (window.addEventListener("message", V, !1), () => {
|
|
16881
|
+
N.removeEventListener("change", U), window.removeEventListener("message", V);
|
|
16886
16882
|
}));
|
|
16887
|
-
const
|
|
16883
|
+
const we = () => {
|
|
16888
16884
|
Pu(a);
|
|
16889
|
-
},
|
|
16890
|
-
function
|
|
16891
|
-
ro[
|
|
16892
|
-
N =
|
|
16885
|
+
}, ce = () => R(), Ee = () => ue(), k = (w) => ne(w);
|
|
16886
|
+
function W(w) {
|
|
16887
|
+
ro[w ? "unshift" : "push"](() => {
|
|
16888
|
+
N = w, e(9, N);
|
|
16893
16889
|
});
|
|
16894
16890
|
}
|
|
16895
|
-
const
|
|
16896
|
-
function
|
|
16897
|
-
ro[
|
|
16898
|
-
|
|
16891
|
+
const ie = (w) => Z(w);
|
|
16892
|
+
function Et(w) {
|
|
16893
|
+
ro[w ? "unshift" : "push"](() => {
|
|
16894
|
+
L = w, e(8, L);
|
|
16899
16895
|
});
|
|
16900
16896
|
}
|
|
16901
|
-
return o.$$set = (
|
|
16902
|
-
"endpoint" in
|
|
16897
|
+
return o.$$set = (w) => {
|
|
16898
|
+
"endpoint" in w && e(28, r = w.endpoint), "session" in w && e(29, s = w.session), "userid" in w && e(30, n = w.userid), "lang" in w && e(0, a = w.lang), "gmversion" in w && e(31, l = w.gmversion), "operator" in w && e(1, c = w.operator), "supportemail" in w && e(2, u = w.supportemail), "baseurl" in w && e(3, d = w.baseurl), "clientstyling" in w && e(4, h = w.clientstyling), "clientstylingurl" in w && e(5, p = w.clientstylingurl), "mbsource" in w && e(6, b = w.mbsource), "translationurl" in w && e(32, f = w.translationurl), "hasconfirmationmodal" in w && e(33, y = w.hasconfirmationmodal), "dateformat" in w && e(7, D = w.dateformat), "sendnotificationemail" in w && e(34, A = w.sendnotificationemail);
|
|
16903
16899
|
}, o.$$.update = () => {
|
|
16904
16900
|
o.$$.dirty[0] & /*lang*/
|
|
16905
|
-
1 && a &&
|
|
16901
|
+
1 && a && we(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
16906
16902
|
1879048192 | o.$$.dirty[1] & /*gmversion*/
|
|
16907
|
-
1 && r && s && n && l &&
|
|
16908
|
-
512 && N &&
|
|
16909
|
-
272 && h &&
|
|
16910
|
-
288 && p &&
|
|
16911
|
-
320 && b &&
|
|
16912
|
-
2 && f &&
|
|
16913
|
-
}, C &&
|
|
16903
|
+
1 && r && s && n && l && j(), o.$$.dirty[0] & /*calendar*/
|
|
16904
|
+
512 && N && ve(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16905
|
+
272 && h && L && $s(L, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16906
|
+
288 && p && L && Rs(L, p), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16907
|
+
320 && b && L && Hs(L, `${b}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16908
|
+
2 && f && B();
|
|
16909
|
+
}, C && le(), [
|
|
16914
16910
|
a,
|
|
16915
16911
|
c,
|
|
16916
16912
|
u,
|
|
@@ -16919,38 +16915,39 @@ function Bu(o, t, e) {
|
|
|
16919
16915
|
p,
|
|
16920
16916
|
b,
|
|
16921
16917
|
D,
|
|
16922
|
-
|
|
16918
|
+
L,
|
|
16923
16919
|
N,
|
|
16924
16920
|
F,
|
|
16925
|
-
|
|
16926
|
-
|
|
16927
|
-
|
|
16928
|
-
T,
|
|
16921
|
+
q,
|
|
16922
|
+
J,
|
|
16923
|
+
P,
|
|
16929
16924
|
K,
|
|
16930
|
-
|
|
16925
|
+
re,
|
|
16931
16926
|
m,
|
|
16932
|
-
|
|
16927
|
+
x,
|
|
16933
16928
|
_,
|
|
16934
|
-
A,
|
|
16935
|
-
i,
|
|
16936
16929
|
S,
|
|
16930
|
+
z,
|
|
16931
|
+
i,
|
|
16932
|
+
v,
|
|
16937
16933
|
C,
|
|
16938
|
-
ee,
|
|
16939
|
-
ce,
|
|
16940
16934
|
ue,
|
|
16941
|
-
|
|
16935
|
+
ne,
|
|
16936
|
+
Z,
|
|
16937
|
+
R,
|
|
16942
16938
|
r,
|
|
16943
16939
|
s,
|
|
16944
16940
|
n,
|
|
16945
16941
|
l,
|
|
16946
16942
|
f,
|
|
16947
16943
|
y,
|
|
16948
|
-
|
|
16949
|
-
|
|
16944
|
+
A,
|
|
16945
|
+
ce,
|
|
16950
16946
|
Ee,
|
|
16951
16947
|
k,
|
|
16952
|
-
|
|
16953
|
-
ie
|
|
16948
|
+
W,
|
|
16949
|
+
ie,
|
|
16950
|
+
Et
|
|
16954
16951
|
];
|
|
16955
16952
|
}
|
|
16956
16953
|
class Cs extends ks {
|
|
@@ -16960,7 +16957,7 @@ class Cs extends ks {
|
|
|
16960
16957
|
t,
|
|
16961
16958
|
Bu,
|
|
16962
16959
|
Hu,
|
|
16963
|
-
|
|
16960
|
+
Ts,
|
|
16964
16961
|
{
|
|
16965
16962
|
endpoint: 28,
|
|
16966
16963
|
session: 29,
|
|
@@ -16975,7 +16972,8 @@ class Cs extends ks {
|
|
|
16975
16972
|
mbsource: 6,
|
|
16976
16973
|
translationurl: 32,
|
|
16977
16974
|
hasconfirmationmodal: 33,
|
|
16978
|
-
dateformat: 7
|
|
16975
|
+
dateformat: 7,
|
|
16976
|
+
sendnotificationemail: 34
|
|
16979
16977
|
},
|
|
16980
16978
|
Tu,
|
|
16981
16979
|
[-1, -1]
|
|
@@ -16985,88 +16983,94 @@ class Cs extends ks {
|
|
|
16985
16983
|
return this.$$.ctx[28];
|
|
16986
16984
|
}
|
|
16987
16985
|
set endpoint(t) {
|
|
16988
|
-
this.$$set({ endpoint: t }),
|
|
16986
|
+
this.$$set({ endpoint: t }), de();
|
|
16989
16987
|
}
|
|
16990
16988
|
get session() {
|
|
16991
16989
|
return this.$$.ctx[29];
|
|
16992
16990
|
}
|
|
16993
16991
|
set session(t) {
|
|
16994
|
-
this.$$set({ session: t }),
|
|
16992
|
+
this.$$set({ session: t }), de();
|
|
16995
16993
|
}
|
|
16996
16994
|
get userid() {
|
|
16997
16995
|
return this.$$.ctx[30];
|
|
16998
16996
|
}
|
|
16999
16997
|
set userid(t) {
|
|
17000
|
-
this.$$set({ userid: t }),
|
|
16998
|
+
this.$$set({ userid: t }), de();
|
|
17001
16999
|
}
|
|
17002
17000
|
get lang() {
|
|
17003
17001
|
return this.$$.ctx[0];
|
|
17004
17002
|
}
|
|
17005
17003
|
set lang(t) {
|
|
17006
|
-
this.$$set({ lang: t }),
|
|
17004
|
+
this.$$set({ lang: t }), de();
|
|
17007
17005
|
}
|
|
17008
17006
|
get gmversion() {
|
|
17009
17007
|
return this.$$.ctx[31];
|
|
17010
17008
|
}
|
|
17011
17009
|
set gmversion(t) {
|
|
17012
|
-
this.$$set({ gmversion: t }),
|
|
17010
|
+
this.$$set({ gmversion: t }), de();
|
|
17013
17011
|
}
|
|
17014
17012
|
get operator() {
|
|
17015
17013
|
return this.$$.ctx[1];
|
|
17016
17014
|
}
|
|
17017
17015
|
set operator(t) {
|
|
17018
|
-
this.$$set({ operator: t }),
|
|
17016
|
+
this.$$set({ operator: t }), de();
|
|
17019
17017
|
}
|
|
17020
17018
|
get supportemail() {
|
|
17021
17019
|
return this.$$.ctx[2];
|
|
17022
17020
|
}
|
|
17023
17021
|
set supportemail(t) {
|
|
17024
|
-
this.$$set({ supportemail: t }),
|
|
17022
|
+
this.$$set({ supportemail: t }), de();
|
|
17025
17023
|
}
|
|
17026
17024
|
get baseurl() {
|
|
17027
17025
|
return this.$$.ctx[3];
|
|
17028
17026
|
}
|
|
17029
17027
|
set baseurl(t) {
|
|
17030
|
-
this.$$set({ baseurl: t }),
|
|
17028
|
+
this.$$set({ baseurl: t }), de();
|
|
17031
17029
|
}
|
|
17032
17030
|
get clientstyling() {
|
|
17033
17031
|
return this.$$.ctx[4];
|
|
17034
17032
|
}
|
|
17035
17033
|
set clientstyling(t) {
|
|
17036
|
-
this.$$set({ clientstyling: t }),
|
|
17034
|
+
this.$$set({ clientstyling: t }), de();
|
|
17037
17035
|
}
|
|
17038
17036
|
get clientstylingurl() {
|
|
17039
17037
|
return this.$$.ctx[5];
|
|
17040
17038
|
}
|
|
17041
17039
|
set clientstylingurl(t) {
|
|
17042
|
-
this.$$set({ clientstylingurl: t }),
|
|
17040
|
+
this.$$set({ clientstylingurl: t }), de();
|
|
17043
17041
|
}
|
|
17044
17042
|
get mbsource() {
|
|
17045
17043
|
return this.$$.ctx[6];
|
|
17046
17044
|
}
|
|
17047
17045
|
set mbsource(t) {
|
|
17048
|
-
this.$$set({ mbsource: t }),
|
|
17046
|
+
this.$$set({ mbsource: t }), de();
|
|
17049
17047
|
}
|
|
17050
17048
|
get translationurl() {
|
|
17051
17049
|
return this.$$.ctx[32];
|
|
17052
17050
|
}
|
|
17053
17051
|
set translationurl(t) {
|
|
17054
|
-
this.$$set({ translationurl: t }),
|
|
17052
|
+
this.$$set({ translationurl: t }), de();
|
|
17055
17053
|
}
|
|
17056
17054
|
get hasconfirmationmodal() {
|
|
17057
17055
|
return this.$$.ctx[33];
|
|
17058
17056
|
}
|
|
17059
17057
|
set hasconfirmationmodal(t) {
|
|
17060
|
-
this.$$set({ hasconfirmationmodal: t }),
|
|
17058
|
+
this.$$set({ hasconfirmationmodal: t }), de();
|
|
17061
17059
|
}
|
|
17062
17060
|
get dateformat() {
|
|
17063
17061
|
return this.$$.ctx[7];
|
|
17064
17062
|
}
|
|
17065
17063
|
set dateformat(t) {
|
|
17066
|
-
this.$$set({ dateformat: t }),
|
|
17064
|
+
this.$$set({ dateformat: t }), de();
|
|
17065
|
+
}
|
|
17066
|
+
get sendnotificationemail() {
|
|
17067
|
+
return this.$$.ctx[34];
|
|
17068
|
+
}
|
|
17069
|
+
set sendnotificationemail(t) {
|
|
17070
|
+
this.$$set({ sendnotificationemail: t }), de();
|
|
17067
17071
|
}
|
|
17068
17072
|
}
|
|
17069
|
-
|
|
17073
|
+
Bs(Cs, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
17070
17074
|
const Cd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17071
17075
|
__proto__: null,
|
|
17072
17076
|
default: Cs
|