@everymatrix/player-account-controller-nd 1.70.1 → 1.71.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-D_LZ6noj.js → GeneralLogout-C6SVgUtg.js} +853 -874
- package/components/GeneralLogout-CwfC_imT.cjs +21 -0
- package/components/{GeneralLogout-PryurO1h.js → GeneralLogout-DfKsCxwv.js} +913 -934
- package/components/PlayerAccountBettingHistory-BLjgCtrb.js +329 -0
- package/components/PlayerAccountBettingHistory-CbA15BLO.cjs +1 -0
- package/components/PlayerAccountBettingHistory-CnZ39Cya.js +328 -0
- package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-BYO39i9p.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CtLvJg_Q.js → PlayerAccountBiometrics-DkdsS2L0.js} +22 -22
- package/components/{PlayerAccountBiometrics-DIkqSnzX.js → PlayerAccountBiometrics-Kq_RsCQX.js} +22 -22
- package/components/{PlayerAccountClosureNd-7SyXUtdN.js → PlayerAccountClosureNd-BGyveR6u.js} +17 -17
- package/components/{PlayerAccountClosureNd-WqmFJkpU.cjs → PlayerAccountClosureNd-BVMVyN-i.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-Byw-X8Sr.js → PlayerAccountClosureNd-DgRwmKhw.js} +17 -17
- package/components/{PlayerAccountControllerNd-C1b1AGzM.js → PlayerAccountControllerNd-B1FDRy8G.js} +536 -502
- package/components/{PlayerAccountControllerNd-CVnajMw_.js → PlayerAccountControllerNd-D7Bi1ncx.js} +540 -506
- package/components/PlayerAccountControllerNd-FxU1zYmA.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-BIXEO8qU.cjs → PlayerAccountGamingLimits-DD_Xvlpx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-Bj6iDB2S.js → PlayerAccountGamingLimits-DGBdF8wr.js} +127 -127
- package/components/{PlayerAccountGamingLimits-DxoR6Rl0.js → PlayerAccountGamingLimits-wCgrJnLI.js} +127 -127
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs → PlayerAccountGamingLimitsConfirmationModal-B5DdL-Qq.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BzaZH1VM.js → PlayerAccountGamingLimitsConfirmationModal-Bhw66Tfe.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CxFJV4Qq.js → PlayerAccountGamingLimitsConfirmationModal-Dvenc_fN.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-5Xl-352p.js → PlayerAccountGamingLimitsGroupEdit-B2r6jahF.js} +57 -55
- package/components/{PlayerAccountGamingLimitsGroupEdit-CYeY3dwe.js → PlayerAccountGamingLimitsGroupEdit-B5K6NQck.js} +57 -55
- package/components/PlayerAccountGamingLimitsGroupEdit-DrD_b8jP.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-p3iqTl1u.js → PlayerAccountGamingLimitsHistory2Nd-BYhgU7A1.js} +199 -199
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DrMT268T.js → PlayerAccountGamingLimitsHistory2Nd-D6VhX20D.js} +192 -192
- package/components/{PlayerAccountGamingLimitsHistory2Nd-juZ45FBC.cjs → PlayerAccountGamingLimitsHistory2Nd-DFtdC_JJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs → PlayerAccountGamingLimitsInfoCard-CV-3DIxV.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-B-8AhoxC.js → PlayerAccountGamingLimitsInfoCard-Du4leiEi.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-DSLO6bv_.js → PlayerAccountGamingLimitsInfoCard-_4DnaPCJ.js} +83 -83
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CNEarh24.js → PlayerAccountGamingLimitsPage2Gm16Nd-CUb4P6CK.js} +206 -206
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Bcf8Z04l.js → PlayerAccountGamingLimitsPage2Gm16Nd-D93kFTBu.js} +187 -187
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CEeTJ8Id.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-gKuQQbeq.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-B5CoTG_T.js → PlayerAccountGamingLimitsPopup-CBf5w2kb.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-CzDFUbRs.js → PlayerAccountGamingLimitsPopup-DS9FtNcO.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-DySvpnhJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-OZ4__LSM.js → PlayerAccountGamingLimitsWrapper2Nd-BVEh3MOb.js} +36 -36
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BA9kwsSe.cjs → PlayerAccountGamingLimitsWrapper2Nd-BydDxiYB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-4Y2uzCxt.js → PlayerAccountGamingLimitsWrapper2Nd-DexMABpv.js} +36 -36
- package/components/{PlayerAccountGeneralConfirmationModal-BBveBuYk.js → PlayerAccountGeneralConfirmationModal-CVJBEg6r.js} +32 -32
- package/components/{PlayerAccountGeneralConfirmationModal-DFj-HuBM.js → PlayerAccountGeneralConfirmationModal-C_vpaSjC.js} +32 -32
- package/components/{PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs → PlayerAccountGeneralConfirmationModal-DjEvyfLy.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-DxU1mHZX.js → PlayerAccountMenuNd-BbFwjvUZ.js} +32 -32
- package/components/{PlayerAccountMenuNd-A0VS-bqc.js → PlayerAccountMenuNd-VfTLDcJ7.js} +29 -29
- package/components/{PlayerAccountMenuNd-DUUt9VRH.cjs → PlayerAccountMenuNd-ldM69TpJ.cjs} +1 -1
- package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal--0zxODF3.cjs} +1 -1
- package/components/{PlayerAccountModal-DHs1T-B4.js → PlayerAccountModal-CGYPes0F.js} +42 -42
- package/components/{PlayerAccountModal-iZqtQZF3.js → PlayerAccountModal-VzSk1pK3.js} +42 -42
- package/components/{PlayerAccountNotifications-aQgcZXcD.cjs → PlayerAccountNotifications-DL6whSl1.cjs} +1 -1
- package/components/{PlayerAccountNotifications-DlfjoTaZ.js → PlayerAccountNotifications-DouFF_cH.js} +120 -120
- package/components/{PlayerAccountNotifications-DfxnKiF_.js → PlayerAccountNotifications-pfmvSgjr.js} +35 -35
- package/components/{PlayerAccountProductRestriction-Bo8RstAq.js → PlayerAccountProductRestriction-B1kRUzkM.js} +2314 -2312
- package/components/{PlayerAccountProductRestriction-hEkChQnB.js → PlayerAccountProductRestriction-BvJ92iNo.js} +2328 -2326
- package/components/{PlayerAccountProductRestriction-BiiJjJv1.cjs → PlayerAccountProductRestriction-CoLHLqmO.cjs} +233 -233
- package/components/{PlayerAccountSelfExclusionNd-DbjwBA63.cjs → PlayerAccountSelfExclusionNd-CPpkhUbE.cjs} +75 -75
- package/components/{PlayerAccountSelfExclusionNd-pdOCK_f4.js → PlayerAccountSelfExclusionNd-DXW-cEof.js} +541 -538
- package/components/{PlayerAccountSelfExclusionNd-BDt34Cwv.js → PlayerAccountSelfExclusionNd-bCsjTCoV.js} +140 -137
- package/components/{PlayerAccountTimeout-DrdFtiYr.js → PlayerAccountTimeout-B9oyZO5M.js} +122 -122
- package/components/{PlayerAccountTimeout-HsLSYM7W.js → PlayerAccountTimeout-C3qHUiBc.js} +122 -122
- package/components/PlayerAccountTimeout-CG-hGlO_.cjs +1 -0
- package/components/{PlayerAccountTransactionsHistory-VAN769PL.cjs → PlayerAccountTransactionsHistory-BhvY8bec.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-CAUCRimI.js → PlayerAccountTransactionsHistory-CDW-JrNE.js} +59 -59
- package/components/{PlayerAccountTransactionsHistory-BREZvoV0.js → PlayerAccountTransactionsHistory-DmBsbv8F.js} +59 -59
- package/components/{PlayerActiveBonuses-sQ7BsovQ.js → PlayerActiveBonuses-BH94Auve.js} +55 -55
- package/components/{PlayerActiveBonuses-DIapJ49L.js → PlayerActiveBonuses-D5dvyrmb.js} +48 -48
- package/components/{PlayerActiveBonuses-Dpef1XJD.cjs → PlayerActiveBonuses-dQOuytPa.cjs} +1 -1
- package/components/{PlayerBonusCard-7dIqFpfg.cjs → PlayerBonusCard-BZXqOzco.cjs} +1 -1
- package/components/{PlayerBonusCard-BAMVrPsC.js → PlayerBonusCard-BtDUZxTL.js} +81 -81
- package/components/{PlayerBonusCard-faBE6xxD.js → PlayerBonusCard-UJVwReBr.js} +81 -81
- package/components/{PlayerBonusHistory-BUDZiu-P.js → PlayerBonusHistory-C6KCSJx8.js} +33 -33
- package/components/{PlayerBonusHistory-ppwY60rv.cjs → PlayerBonusHistory-CmOldup0.cjs} +1 -1
- package/components/{PlayerBonusHistory-DqRPaMr-.js → PlayerBonusHistory-DSfHVxbN.js} +33 -33
- package/components/{PlayerChangePasswordNd-B0yPdyGM.js → PlayerChangePasswordNd-CiPj5e6I.js} +71 -71
- package/components/{PlayerChangePasswordNd-B0W5bdN2.js → PlayerChangePasswordNd-DgBk0TZ3.js} +71 -71
- package/components/{PlayerChangePasswordNd-DEzeq-CF.cjs → PlayerChangePasswordNd-JxsnlpId.cjs} +1 -1
- package/components/{PlayerDeposit-N7o3ip4d.js → PlayerDeposit-BMWzlG2-.js} +80 -80
- package/components/PlayerDeposit-XDLH1XV-.cjs +1 -0
- package/components/{PlayerDeposit-CHnzNVZy.js → PlayerDeposit-yFis4xl0.js} +80 -80
- package/components/{PlayerGamingHistory-Bm1BREq3.js → PlayerGamingHistory-BaPQwYES.js} +97 -97
- package/components/{PlayerGamingHistory-DXsCLoa_.js → PlayerGamingHistory-CmTDguMl.js} +88 -88
- package/components/{PlayerGamingHistory-Hs5LWwEP.cjs → PlayerGamingHistory-SuFKYHl5.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-CrNEhXdS.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-B2WyLuNV.js → PlayerPendingWithdrawals-DXDpNvc0.js} +26 -26
- package/components/{PlayerPendingWithdrawals-CRRuYNXr.js → PlayerPendingWithdrawals-bL-txpqs.js} +26 -26
- package/components/{PlayerProfileInfo-DFw4ourA.cjs → PlayerProfileInfo-Ba0P3Lmq.cjs} +1 -1
- package/components/{PlayerProfileInfo-Cxaujp_D.js → PlayerProfileInfo-Co9ZbzUD.js} +66 -66
- package/components/{PlayerProfileInfo-DuQngBLo.js → PlayerProfileInfo-DoeTXAq7.js} +66 -66
- package/components/{PlayerRealityCheck-Bfazo0qy.js → PlayerRealityCheck-BJLzlVUt.js} +44 -44
- package/components/{PlayerRealityCheck-Dr_ZpTwE.cjs → PlayerRealityCheck-CC8qTWId.cjs} +1 -1
- package/components/{PlayerRealityCheck-BMeUmSDr.js → PlayerRealityCheck-DbAjDSQR.js} +43 -43
- package/components/{PlayerTransactionHistory-BQlWb-B9.js → PlayerTransactionHistory-BwMVf693.js} +19 -19
- package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-CPYk3YFO.cjs} +1 -1
- package/components/{PlayerTransactionHistory-DyBRNwAw.js → PlayerTransactionHistory-CjiTH9aE.js} +19 -19
- package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-9DnL98EG.cjs} +1 -1
- package/components/{PlayerWithdrawal-C6_CSTeL.js → PlayerWithdrawal-BE8JBn_B.js} +19 -19
- package/components/{PlayerWithdrawal-CgR0BwqA.js → PlayerWithdrawal-JE73Z0UZ.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_15-DV3L45BU.js → checkbox-group-input_15-COX7DlDn.js} +2292 -2286
- package/stencil/{checkbox-group-input_15-CfJ8hwGl.cjs → checkbox-group-input_15-CfJS-1ti.cjs} +239 -239
- package/stencil/{checkbox-group-input_15-Nrj9GHCK.js → checkbox-group-input_15-DpaVaugQ.js} +2289 -2283
- package/stencil/index-13661b98-BDzather.js +611 -0
- package/stencil/index-13661b98-ChlFIQCB.cjs +1 -0
- package/stencil/index-13661b98-xRNcnGsM.js +595 -0
- package/stencil/index-1ef3a64c-B56pWkNP.js +572 -0
- package/stencil/index-1ef3a64c-drXhqjaW.cjs +1 -0
- package/stencil/index-1ef3a64c-fwHj5L8t.js +556 -0
- package/stencil/index-7c5e707a-CU3H8HVf.js +616 -0
- package/stencil/index-7c5e707a-DIWlFBom.js +643 -0
- package/stencil/index-7c5e707a-DS22ns-5.cjs +1 -0
- package/stencil/index-9c0f6c58-B8OJoZ2G.js +576 -0
- package/stencil/index-9c0f6c58-CEOt4FET.cjs +1 -0
- package/stencil/{index-9c0f6c58-BB5opCt9.js → index-9c0f6c58-z4XuR4dm.js} +197 -197
- package/stencil/index-b2193545-BekNYO1T.js +519 -0
- package/stencil/index-b2193545-BteAUmdh.cjs +1 -0
- package/stencil/index-b2193545-DfDFpDFs.js +503 -0
- package/stencil/{pam-change-password-B5GD5Hl4.js → pam-change-password-CY5-Aktx.js} +1 -1
- package/stencil/{pam-change-password-ubzmglA0.cjs → pam-change-password-CgkH4Jiz.cjs} +1 -1
- package/stencil/{pam-change-password-DMG1L_LG.js → pam-change-password-DjPvltNj.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-CHySnF1q.cjs → pam-change-password-f4a1e7e7-BqDw0WzC.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-DCoikg7H.js → pam-change-password-f4a1e7e7-CfFEjP0U.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-C1ItXOg5.js → pam-change-password-f4a1e7e7-G-vVNocT.js} +1 -1
- package/stencil/{player-kyc-verification-DYcPWwfi.cjs → player-kyc-verification-BEPum-yT.cjs} +1 -1
- package/stencil/{player-kyc-verification-CMAkNiAB.js → player-kyc-verification-BbcCYuiR.js} +1 -1
- package/stencil/{player-kyc-verification-p2WFnKBp.js → player-kyc-verification-Ca4iu4IA.js} +1 -1
- package/stencil/{ui-skeleton-GEqIXVxo.cjs → ui-skeleton-Bez-iF-R.cjs} +1 -1
- package/stencil/{ui-skeleton-mkMdvWYI.js → ui-skeleton-CScGJdv_.js} +2 -2
- package/stencil/{ui-skeleton-C_FDz0NJ.js → ui-skeleton-CnxOhYAT.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-BreM325l.js → ui-skeleton-ae35c6f2-Bl0_r9TX.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-e6Wte4qi.js → ui-skeleton-ae35c6f2-CXRVKjq-.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CeNpgiKf.cjs → ui-skeleton-ae35c6f2-D37mmp9J.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-BjmaGgRK.js → user-deposit-withdrawal-B8kjiJ18.js} +1 -1
- package/stencil/{user-deposit-withdrawal-Du59X_-y.cjs → user-deposit-withdrawal-D2eMp5tL.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-D6SDVw3h.js → user-deposit-withdrawal-DZhlyIWQ.js} +1 -1
- package/stencil/user-transaction-history-3DGGL9dd.cjs +1 -0
- package/stencil/{user-transaction-history-7_yFZr3w.js → user-transaction-history-B1ZWITFg.js} +3 -1
- package/stencil/{user-transaction-history-Dpd_aKdj.js → user-transaction-history-lKr2wNoI.js} +3 -1
- package/components/GeneralLogout-Dzu2Sl-x.cjs +0 -21
- package/components/PlayerAccountBettingHistory-BtDZukYI.cjs +0 -1
- package/components/PlayerAccountBettingHistory-BzAXq1xX.js +0 -329
- package/components/PlayerAccountBettingHistory-CwTEYOIN.js +0 -328
- package/components/PlayerAccountControllerNd-C33ICkyg.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs +0 -2
- package/components/PlayerAccountTimeout-Dwk3qNrp.cjs +0 -1
- package/components/PlayerDeposit-Dzg8Ltb1.cjs +0 -1
- package/stencil/index-13661b98-BCPnsSSE.js +0 -611
- package/stencil/index-13661b98-BUI3AeLv.cjs +0 -1
- package/stencil/index-13661b98-DffousLf.js +0 -595
- package/stencil/index-1ef3a64c-B5I86vac.js +0 -572
- package/stencil/index-1ef3a64c-DqUPq8OL.js +0 -556
- package/stencil/index-1ef3a64c-uiTzpR-U.cjs +0 -1
- package/stencil/index-7c5e707a-2AC9SnQ7.js +0 -616
- package/stencil/index-7c5e707a-BM4sfR0h.js +0 -643
- package/stencil/index-7c5e707a-Cw-c3Bke.cjs +0 -1
- package/stencil/index-9c0f6c58-DmOKHEVq.cjs +0 -1
- package/stencil/index-9c0f6c58-bxjYqwOi.js +0 -576
- package/stencil/index-b2193545-DQUvHUpa.cjs +0 -1
- package/stencil/index-b2193545-DoYU_tL8.js +0 -503
- package/stencil/index-b2193545-_I2wisuY.js +0 -519
- package/stencil/user-transaction-history-DZZT2rYX.cjs +0 -1
|
@@ -2,15 +2,15 @@ var Br = Object.defineProperty, Hr = Object.defineProperties;
|
|
|
2
2
|
var $r = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ho = Object.getOwnPropertySymbols;
|
|
4
4
|
var Yr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var po = (o, t, e) => t in o ? Br(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e,
|
|
5
|
+
var po = (o, t, e) => t in o ? Br(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, Pt = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
7
|
Yr.call(t, e) && po(o, e, t[e]);
|
|
8
8
|
if (ho)
|
|
9
9
|
for (var e of ho(t))
|
|
10
10
|
jr.call(t, e) && po(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
12
|
+
}, kt = (o, t) => Hr(o, $r(t));
|
|
13
|
+
var rt = (o, t, e) => new Promise((i, s) => {
|
|
14
14
|
var r = (l) => {
|
|
15
15
|
try {
|
|
16
16
|
a(e.next(l));
|
|
@@ -26,16 +26,16 @@ var nt = (o, t, e) => new Promise((i, s) => {
|
|
|
26
26
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(r, n);
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a4 as Vr, a5 as Ur, a as Wr, $ as qr, S as Kr, i as Gr,
|
|
30
|
-
import { d as Ee } from "./PlayerAccountProductRestriction-
|
|
31
|
-
import "../stencil/ui-skeleton-
|
|
32
|
-
import "./PlayerAccountGamingLimitsGroupEdit-
|
|
29
|
+
import { a4 as Vr, a5 as Ur, a as Wr, $ as qr, S as Kr, i as Gr, f as te, c as Jr, s as Xr, b as Zr, e as w, k as ae, o as _i, p as le, q as Qr, u as en, v as tn, w as on, x as sn, z as fo, A as rn, O as mo, d as I, t as ne, y as Ae, F as nn, g as E, h as We, l as f, m as zt, n as de, P as an, r as ln, j as S, Y as Xt, B as cn } from "./GeneralLogout-DfKsCxwv.js";
|
|
30
|
+
import { d as Ee } from "./PlayerAccountProductRestriction-BvJ92iNo.js";
|
|
31
|
+
import "../stencil/ui-skeleton-CnxOhYAT.js";
|
|
32
|
+
import "./PlayerAccountGamingLimitsGroupEdit-B5K6NQck.js";
|
|
33
33
|
/**
|
|
34
34
|
* @license
|
|
35
35
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
36
36
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
37
37
|
*/
|
|
38
|
-
function be(o, t = "24.5.
|
|
38
|
+
function be(o, t = "24.5.10") {
|
|
39
39
|
Object.defineProperty(o, "version", {
|
|
40
40
|
get() {
|
|
41
41
|
return t;
|
|
@@ -67,17 +67,17 @@ be(un);
|
|
|
67
67
|
* Copyright 2019 Google LLC
|
|
68
68
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
69
69
|
*/
|
|
70
|
-
const
|
|
71
|
-
let
|
|
70
|
+
const Ft = globalThis, Hi = Ft.ShadowRoot && (Ft.ShadyCSS === void 0 || Ft.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, $i = Symbol(), _o = /* @__PURE__ */ new WeakMap();
|
|
71
|
+
let Yi = class {
|
|
72
72
|
constructor(t, e, i) {
|
|
73
|
-
if (this._$cssResult$ = !0, i !==
|
|
73
|
+
if (this._$cssResult$ = !0, i !== $i)
|
|
74
74
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
75
75
|
this.cssText = t, this.t = e;
|
|
76
76
|
}
|
|
77
77
|
get styleSheet() {
|
|
78
78
|
let t = this.o;
|
|
79
79
|
const e = this.t;
|
|
80
|
-
if (
|
|
80
|
+
if (Hi && t === void 0) {
|
|
81
81
|
const i = e !== void 0 && e.length === 1;
|
|
82
82
|
i && (t = _o.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && _o.set(e, t));
|
|
83
83
|
}
|
|
@@ -87,7 +87,7 @@ let ji = class {
|
|
|
87
87
|
return this.cssText;
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
|
-
const dn = (o) => new
|
|
90
|
+
const dn = (o) => new Yi(typeof o == "string" ? o : o + "", void 0, $i), P = (o, ...t) => {
|
|
91
91
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
92
92
|
if (n._$cssResult$ === !0)
|
|
93
93
|
return n.cssText;
|
|
@@ -95,16 +95,16 @@ const dn = (o) => new ji(typeof o == "string" ? o : o + "", void 0, Yi), P = (o,
|
|
|
95
95
|
return n;
|
|
96
96
|
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.");
|
|
97
97
|
})(s) + o[r + 1], o[0]);
|
|
98
|
-
return new
|
|
98
|
+
return new Yi(e, o, $i);
|
|
99
99
|
}, ps = (o, t) => {
|
|
100
|
-
if (
|
|
100
|
+
if (Hi)
|
|
101
101
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
102
102
|
else
|
|
103
103
|
for (const e of t) {
|
|
104
|
-
const i = document.createElement("style"), s =
|
|
104
|
+
const i = document.createElement("style"), s = Ft.litNonce;
|
|
105
105
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
106
106
|
}
|
|
107
|
-
}, go =
|
|
107
|
+
}, go = Hi ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
108
108
|
let e = "";
|
|
109
109
|
for (const i of t.cssRules)
|
|
110
110
|
e += i.cssText;
|
|
@@ -115,7 +115,7 @@ const dn = (o) => new ji(typeof o == "string" ? o : o + "", void 0, Yi), P = (o,
|
|
|
115
115
|
* Copyright 2017 Google LLC
|
|
116
116
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
117
117
|
*/
|
|
118
|
-
const { is: hn, defineProperty: pn, getOwnPropertyDescriptor: fn, getOwnPropertyNames: mn, getOwnPropertySymbols: _n, getPrototypeOf: gn } = Object, Oe = globalThis, bo = Oe.trustedTypes, bn = bo ? bo.emptyScript : "",
|
|
118
|
+
const { is: hn, defineProperty: pn, getOwnPropertyDescriptor: fn, getOwnPropertyNames: mn, getOwnPropertySymbols: _n, getPrototypeOf: gn } = Object, Oe = globalThis, bo = Oe.trustedTypes, bn = bo ? bo.emptyScript : "", Zt = Oe.reactiveElementPolyfillSupport, pt = (o, t) => o, gi = { toAttribute(o, t) {
|
|
119
119
|
switch (t) {
|
|
120
120
|
case Boolean:
|
|
121
121
|
o = o ? bn : null;
|
|
@@ -143,10 +143,10 @@ const { is: hn, defineProperty: pn, getOwnPropertyDescriptor: fn, getOwnProperty
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
return e;
|
|
146
|
-
} }, fs = (o, t) => !hn(o, t), vo = { attribute: !0, type: String, converter:
|
|
146
|
+
} }, fs = (o, t) => !hn(o, t), vo = { attribute: !0, type: String, converter: gi, reflect: !1, hasChanged: fs };
|
|
147
147
|
var as, ls;
|
|
148
148
|
(as = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (ls = Oe.litPropertyMetadata) != null || (Oe.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
149
|
-
class
|
|
149
|
+
class Ke extends HTMLElement {
|
|
150
150
|
static addInitializer(t) {
|
|
151
151
|
var e;
|
|
152
152
|
this._$Ei(), ((e = this.l) != null ? e : this.l = []).push(t);
|
|
@@ -155,7 +155,7 @@ class Ge extends HTMLElement {
|
|
|
155
155
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
156
156
|
}
|
|
157
157
|
static createProperty(t, e = vo) {
|
|
158
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.
|
|
158
|
+
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
159
159
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
160
160
|
s !== void 0 && pn(this.prototype, t, s);
|
|
161
161
|
}
|
|
@@ -167,9 +167,11 @@ class Ge extends HTMLElement {
|
|
|
167
167
|
}, set(a) {
|
|
168
168
|
this[e] = a;
|
|
169
169
|
} };
|
|
170
|
-
return { get
|
|
170
|
+
return { get() {
|
|
171
|
+
return s == null ? void 0 : s.call(this);
|
|
172
|
+
}, set(a) {
|
|
171
173
|
const l = s == null ? void 0 : s.call(this);
|
|
172
|
-
r
|
|
174
|
+
r.call(this, a), this.requestUpdate(t, l, i);
|
|
173
175
|
}, configurable: !0, enumerable: !0 };
|
|
174
176
|
}
|
|
175
177
|
static getPropertyOptions(t) {
|
|
@@ -177,15 +179,15 @@ class Ge extends HTMLElement {
|
|
|
177
179
|
return (e = this.elementProperties.get(t)) != null ? e : vo;
|
|
178
180
|
}
|
|
179
181
|
static _$Ei() {
|
|
180
|
-
if (this.hasOwnProperty(
|
|
182
|
+
if (this.hasOwnProperty(pt("elementProperties")))
|
|
181
183
|
return;
|
|
182
184
|
const t = gn(this);
|
|
183
185
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
184
186
|
}
|
|
185
187
|
static finalize() {
|
|
186
|
-
if (this.hasOwnProperty(
|
|
188
|
+
if (this.hasOwnProperty(pt("finalized")))
|
|
187
189
|
return;
|
|
188
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
190
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(pt("properties"))) {
|
|
189
191
|
const e = this.properties, i = [...mn(e), ..._n(e)];
|
|
190
192
|
for (const s of i)
|
|
191
193
|
this.createProperty(s, e[s]);
|
|
@@ -263,38 +265,37 @@ class Ge extends HTMLElement {
|
|
|
263
265
|
attributeChangedCallback(t, e, i) {
|
|
264
266
|
this._$AK(t, i);
|
|
265
267
|
}
|
|
266
|
-
_$
|
|
268
|
+
_$EC(t, e) {
|
|
267
269
|
var r;
|
|
268
270
|
const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
|
|
269
271
|
if (s !== void 0 && i.reflect === !0) {
|
|
270
|
-
const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter :
|
|
272
|
+
const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : gi).toAttribute(e, i.type);
|
|
271
273
|
this._$Em = t, n == null ? this.removeAttribute(s) : this.setAttribute(s, n), this._$Em = null;
|
|
272
274
|
}
|
|
273
275
|
}
|
|
274
276
|
_$AK(t, e) {
|
|
275
|
-
var r
|
|
277
|
+
var r;
|
|
276
278
|
const i = this.constructor, s = i._$Eh.get(t);
|
|
277
279
|
if (s !== void 0 && this._$Em !== s) {
|
|
278
|
-
const
|
|
279
|
-
this._$Em = s, this[s] =
|
|
280
|
+
const n = i.getPropertyOptions(s), a = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((r = n.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? n.converter : gi;
|
|
281
|
+
this._$Em = s, this[s] = a.fromAttribute(e, n.type), this._$Em = null;
|
|
280
282
|
}
|
|
281
283
|
}
|
|
282
284
|
requestUpdate(t, e, i) {
|
|
283
|
-
var s
|
|
285
|
+
var s;
|
|
284
286
|
if (t !== void 0) {
|
|
285
|
-
|
|
286
|
-
if (i != null || (i = n.getPropertyOptions(t)), !(((s = i.hasChanged) != null ? s : fs)(a, e) || i.useDefault && i.reflect && a === ((r = this._$Ej) == null ? void 0 : r.get(t)) && !this.hasAttribute(n._$Eu(t, i))))
|
|
287
|
+
if (i != null || (i = this.constructor.getPropertyOptions(t)), !((s = i.hasChanged) != null ? s : fs)(this[t], e))
|
|
287
288
|
return;
|
|
288
|
-
this.
|
|
289
|
+
this.P(t, e, i);
|
|
289
290
|
}
|
|
290
|
-
this.isUpdatePending === !1 && (this._$ES = this._$
|
|
291
|
+
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
291
292
|
}
|
|
292
|
-
|
|
293
|
-
var
|
|
294
|
-
|
|
293
|
+
P(t, e, i) {
|
|
294
|
+
var s;
|
|
295
|
+
this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$Em !== t && ((s = this._$Ej) != null ? s : this._$Ej = /* @__PURE__ */ new Set()).add(t);
|
|
295
296
|
}
|
|
296
|
-
_$
|
|
297
|
-
return
|
|
297
|
+
_$ET() {
|
|
298
|
+
return rt(this, null, function* () {
|
|
298
299
|
this.isUpdatePending = !0;
|
|
299
300
|
try {
|
|
300
301
|
yield this._$ES;
|
|
@@ -320,10 +321,8 @@ class Ge extends HTMLElement {
|
|
|
320
321
|
}
|
|
321
322
|
const r = this.constructor.elementProperties;
|
|
322
323
|
if (r.size > 0)
|
|
323
|
-
for (const [n, a] of r)
|
|
324
|
-
|
|
325
|
-
l !== !0 || this._$AL.has(n) || c === void 0 || this.C(n, void 0, a, c);
|
|
326
|
-
}
|
|
324
|
+
for (const [n, a] of r)
|
|
325
|
+
a.wrapped !== !0 || this._$AL.has(n) || this[n] === void 0 || this.P(n, this[n], a);
|
|
327
326
|
}
|
|
328
327
|
let t = !1;
|
|
329
328
|
const e = this._$AL;
|
|
@@ -331,9 +330,9 @@ class Ge extends HTMLElement {
|
|
|
331
330
|
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((r) => {
|
|
332
331
|
var n;
|
|
333
332
|
return (n = r.hostUpdate) == null ? void 0 : n.call(r);
|
|
334
|
-
}), this.update(e)) : this._$
|
|
333
|
+
}), this.update(e)) : this._$EU();
|
|
335
334
|
} catch (r) {
|
|
336
|
-
throw t = !1, this._$
|
|
335
|
+
throw t = !1, this._$EU(), r;
|
|
337
336
|
}
|
|
338
337
|
t && this._$AE(e);
|
|
339
338
|
}
|
|
@@ -346,7 +345,7 @@ class Ge extends HTMLElement {
|
|
|
346
345
|
return (s = i.hostUpdated) == null ? void 0 : s.call(i);
|
|
347
346
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
348
347
|
}
|
|
349
|
-
_$
|
|
348
|
+
_$EU() {
|
|
350
349
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
351
350
|
}
|
|
352
351
|
get updateComplete() {
|
|
@@ -359,7 +358,7 @@ class Ge extends HTMLElement {
|
|
|
359
358
|
return !0;
|
|
360
359
|
}
|
|
361
360
|
update(t) {
|
|
362
|
-
this._$
|
|
361
|
+
this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
|
|
363
362
|
}
|
|
364
363
|
updated(t) {
|
|
365
364
|
}
|
|
@@ -367,40 +366,40 @@ class Ge extends HTMLElement {
|
|
|
367
366
|
}
|
|
368
367
|
}
|
|
369
368
|
var cs;
|
|
370
|
-
|
|
369
|
+
Ke.elementStyles = [], Ke.shadowRootOptions = { mode: "open" }, Ke[pt("elementProperties")] = /* @__PURE__ */ new Map(), Ke[pt("finalized")] = /* @__PURE__ */ new Map(), Zt == null || Zt({ ReactiveElement: Ke }), ((cs = Oe.reactiveElementVersions) != null ? cs : Oe.reactiveElementVersions = []).push("2.0.4");
|
|
371
370
|
/**
|
|
372
371
|
* @license
|
|
373
372
|
* Copyright 2017 Google LLC
|
|
374
373
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
375
374
|
*/
|
|
376
|
-
const
|
|
377
|
-
\f\r]`,
|
|
378
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Eo = /'/g, So = /"/g, gs = /^(?:script|style|textarea|title)$/i,
|
|
375
|
+
const ft = globalThis, Lt = ft.trustedTypes, yo = Lt ? Lt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ms = "$lit$", Me = `lit$${Math.random().toFixed(9).slice(2)}$`, _s = "?" + Me, vn = `<${_s}>`, Ye = document, _t = () => Ye.createComment(""), gt = (o) => o === null || typeof o != "object" && typeof o != "function", ji = Array.isArray, yn = (o) => ji(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Qt = `[
|
|
376
|
+
\f\r]`, nt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, xo = /-->/g, wo = />/g, Le = RegExp(`>|${Qt}(?:([^\\s"'>=/]+)(${Qt}*=${Qt}*(?:[^
|
|
377
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Eo = /'/g, So = /"/g, gs = /^(?:script|style|textarea|title)$/i, Qe = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), Ao = /* @__PURE__ */ new WeakMap(), Re = Ye.createTreeWalker(Ye, 129);
|
|
379
378
|
function bs(o, t) {
|
|
380
|
-
if (!
|
|
379
|
+
if (!ji(o) || !o.hasOwnProperty("raw"))
|
|
381
380
|
throw Error("invalid template strings array");
|
|
382
381
|
return yo !== void 0 ? yo.createHTML(t) : t;
|
|
383
382
|
}
|
|
384
383
|
const xn = (o, t) => {
|
|
385
384
|
const e = o.length - 1, i = [];
|
|
386
|
-
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n =
|
|
385
|
+
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = nt;
|
|
387
386
|
for (let a = 0; a < e; a++) {
|
|
388
387
|
const l = o[a];
|
|
389
388
|
let c, u, d = -1, h = 0;
|
|
390
389
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
391
|
-
h = n.lastIndex, n ===
|
|
390
|
+
h = n.lastIndex, n === nt ? u[1] === "!--" ? n = xo : u[1] !== void 0 ? n = wo : u[2] !== void 0 ? (gs.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = Le) : u[3] !== void 0 && (n = Le) : n === Le ? u[0] === ">" ? (n = s != null ? s : nt, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? Le : u[3] === '"' ? So : Eo) : n === So || n === Eo ? n = Le : n === xo || n === wo ? n = nt : (n = Le, s = void 0);
|
|
392
391
|
const m = n === Le && o[a + 1].startsWith("/>") ? " " : "";
|
|
393
|
-
r += n ===
|
|
392
|
+
r += n === nt ? l + vn : d >= 0 ? (i.push(c), l.slice(0, d) + ms + l.slice(d) + Me + m) : l + Me + (d === -2 ? a : m);
|
|
394
393
|
}
|
|
395
394
|
return [bs(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
396
395
|
};
|
|
397
|
-
class
|
|
396
|
+
class bt {
|
|
398
397
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
399
398
|
let s;
|
|
400
399
|
this.parts = [];
|
|
401
400
|
let r = 0, n = 0;
|
|
402
401
|
const a = t.length - 1, l = this.parts, [c, u] = xn(t, e);
|
|
403
|
-
if (this.el =
|
|
402
|
+
if (this.el = bt.createElement(c, i), Re.currentNode = this.el.content, e === 2 || e === 3) {
|
|
404
403
|
const d = this.el.content.firstChild;
|
|
405
404
|
d.replaceWith(...d.childNodes);
|
|
406
405
|
}
|
|
@@ -410,16 +409,16 @@ class vt {
|
|
|
410
409
|
for (const d of s.getAttributeNames())
|
|
411
410
|
if (d.endsWith(ms)) {
|
|
412
411
|
const h = u[n++], m = s.getAttribute(d).split(Me), g = /([.?@])?(.*)/.exec(h);
|
|
413
|
-
l.push({ type: 1, index: r, name: g[2], strings: m, ctor: g[1] === "." ? En : g[1] === "?" ? Sn : g[1] === "@" ? An :
|
|
412
|
+
l.push({ type: 1, index: r, name: g[2], strings: m, ctor: g[1] === "." ? En : g[1] === "?" ? Sn : g[1] === "@" ? An : Ut }), s.removeAttribute(d);
|
|
414
413
|
} else
|
|
415
414
|
d.startsWith(Me) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
416
415
|
if (gs.test(s.tagName)) {
|
|
417
416
|
const d = s.textContent.split(Me), h = d.length - 1;
|
|
418
417
|
if (h > 0) {
|
|
419
|
-
s.textContent =
|
|
418
|
+
s.textContent = Lt ? Lt.emptyScript : "";
|
|
420
419
|
for (let m = 0; m < h; m++)
|
|
421
|
-
s.append(d[m],
|
|
422
|
-
s.append(d[h],
|
|
420
|
+
s.append(d[m], _t()), Re.nextNode(), l.push({ type: 2, index: ++r });
|
|
421
|
+
s.append(d[h], _t());
|
|
423
422
|
}
|
|
424
423
|
}
|
|
425
424
|
} else if (s.nodeType === 8)
|
|
@@ -434,17 +433,17 @@ class vt {
|
|
|
434
433
|
}
|
|
435
434
|
}
|
|
436
435
|
static createElement(t, e) {
|
|
437
|
-
const i =
|
|
436
|
+
const i = Ye.createElement("template");
|
|
438
437
|
return i.innerHTML = t, i;
|
|
439
438
|
}
|
|
440
439
|
}
|
|
441
|
-
function
|
|
440
|
+
function et(o, t, e = o, i) {
|
|
442
441
|
var n, a, l;
|
|
443
|
-
if (t ===
|
|
442
|
+
if (t === Qe)
|
|
444
443
|
return t;
|
|
445
444
|
let s = i !== void 0 ? (n = e._$Co) == null ? void 0 : n[i] : e._$Cl;
|
|
446
|
-
const r =
|
|
447
|
-
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[i] = s : e._$Cl = s), s !== void 0 && (t =
|
|
445
|
+
const r = gt(t) ? void 0 : t._$litDirective$;
|
|
446
|
+
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[i] = s : e._$Cl = s), s !== void 0 && (t = et(o, s._$AS(o, t.values), s, i)), t;
|
|
448
447
|
}
|
|
449
448
|
class wn {
|
|
450
449
|
constructor(t, e) {
|
|
@@ -458,17 +457,17 @@ class wn {
|
|
|
458
457
|
}
|
|
459
458
|
u(t) {
|
|
460
459
|
var c;
|
|
461
|
-
const { el: { content: e }, parts: i } = this._$AD, s = ((c = t == null ? void 0 : t.creationScope) != null ? c :
|
|
460
|
+
const { el: { content: e }, parts: i } = this._$AD, s = ((c = t == null ? void 0 : t.creationScope) != null ? c : Ye).importNode(e, !0);
|
|
462
461
|
Re.currentNode = s;
|
|
463
462
|
let r = Re.nextNode(), n = 0, a = 0, l = i[0];
|
|
464
463
|
for (; l !== void 0; ) {
|
|
465
464
|
if (n === l.index) {
|
|
466
465
|
let u;
|
|
467
|
-
l.type === 2 ? u = new
|
|
466
|
+
l.type === 2 ? u = new At(r, r.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (u = new Cn(r, this, t)), this._$AV.push(u), l = i[++a];
|
|
468
467
|
}
|
|
469
468
|
n !== (l == null ? void 0 : l.index) && (r = Re.nextNode(), n++);
|
|
470
469
|
}
|
|
471
|
-
return Re.currentNode =
|
|
470
|
+
return Re.currentNode = Ye, s;
|
|
472
471
|
}
|
|
473
472
|
p(t) {
|
|
474
473
|
let e = 0;
|
|
@@ -476,7 +475,7 @@ class wn {
|
|
|
476
475
|
i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
|
|
477
476
|
}
|
|
478
477
|
}
|
|
479
|
-
class
|
|
478
|
+
class At {
|
|
480
479
|
get _$AU() {
|
|
481
480
|
var t, e;
|
|
482
481
|
return (e = (t = this._$AM) == null ? void 0 : t._$AU) != null ? e : this._$Cv;
|
|
@@ -497,7 +496,7 @@ class Ct {
|
|
|
497
496
|
return this._$AB;
|
|
498
497
|
}
|
|
499
498
|
_$AI(t, e = this) {
|
|
500
|
-
t =
|
|
499
|
+
t = et(this, t, e), gt(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== Qe && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : yn(t) ? this.k(t) : this._(t);
|
|
501
500
|
}
|
|
502
501
|
O(t) {
|
|
503
502
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -506,11 +505,11 @@ class Ct {
|
|
|
506
505
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
507
506
|
}
|
|
508
507
|
_(t) {
|
|
509
|
-
this._$AH !== W &&
|
|
508
|
+
this._$AH !== W && gt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Ye.createTextNode(t)), this._$AH = t;
|
|
510
509
|
}
|
|
511
510
|
$(t) {
|
|
512
511
|
var r;
|
|
513
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el =
|
|
512
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = bt.createElement(bs(i.h, i.h[0]), this.options)), i);
|
|
514
513
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === s)
|
|
515
514
|
this._$AH.p(e);
|
|
516
515
|
else {
|
|
@@ -520,14 +519,14 @@ class Ct {
|
|
|
520
519
|
}
|
|
521
520
|
_$AC(t) {
|
|
522
521
|
let e = Ao.get(t.strings);
|
|
523
|
-
return e === void 0 && Ao.set(t.strings, e = new
|
|
522
|
+
return e === void 0 && Ao.set(t.strings, e = new bt(t)), e;
|
|
524
523
|
}
|
|
525
524
|
k(t) {
|
|
526
|
-
|
|
525
|
+
ji(this._$AH) || (this._$AH = [], this._$AR());
|
|
527
526
|
const e = this._$AH;
|
|
528
527
|
let i, s = 0;
|
|
529
528
|
for (const r of t)
|
|
530
|
-
s === e.length ? e.push(i = new
|
|
529
|
+
s === e.length ? e.push(i = new At(this.O(_t()), this.O(_t()), this, this.options)) : i = e[s], i._$AI(r), s++;
|
|
531
530
|
s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
|
|
532
531
|
}
|
|
533
532
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
@@ -542,7 +541,7 @@ class Ct {
|
|
|
542
541
|
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
543
542
|
}
|
|
544
543
|
}
|
|
545
|
-
class
|
|
544
|
+
class Ut {
|
|
546
545
|
get tagName() {
|
|
547
546
|
return this.element.tagName;
|
|
548
547
|
}
|
|
@@ -556,12 +555,12 @@ class Wt {
|
|
|
556
555
|
const r = this.strings;
|
|
557
556
|
let n = !1;
|
|
558
557
|
if (r === void 0)
|
|
559
|
-
t =
|
|
558
|
+
t = et(this, t, e, 0), n = !gt(t) || t !== this._$AH && t !== Qe, n && (this._$AH = t);
|
|
560
559
|
else {
|
|
561
560
|
const a = t;
|
|
562
561
|
let l, c;
|
|
563
562
|
for (t = r[0], l = 0; l < r.length - 1; l++)
|
|
564
|
-
c =
|
|
563
|
+
c = et(this, a[i + l], e, l), c === Qe && (c = this._$AH[l]), n || (n = !gt(c) || c !== this._$AH[l]), c === W ? t = W : t !== W && (t += (c != null ? c : "") + r[l + 1]), this._$AH[l] = c;
|
|
565
564
|
}
|
|
566
565
|
n && !s && this.j(t);
|
|
567
566
|
}
|
|
@@ -569,7 +568,7 @@ class Wt {
|
|
|
569
568
|
t === W ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
570
569
|
}
|
|
571
570
|
}
|
|
572
|
-
class En extends
|
|
571
|
+
class En extends Ut {
|
|
573
572
|
constructor() {
|
|
574
573
|
super(...arguments), this.type = 3;
|
|
575
574
|
}
|
|
@@ -577,7 +576,7 @@ class En extends Wt {
|
|
|
577
576
|
this.element[this.name] = t === W ? void 0 : t;
|
|
578
577
|
}
|
|
579
578
|
}
|
|
580
|
-
class Sn extends
|
|
579
|
+
class Sn extends Ut {
|
|
581
580
|
constructor() {
|
|
582
581
|
super(...arguments), this.type = 4;
|
|
583
582
|
}
|
|
@@ -585,13 +584,13 @@ class Sn extends Wt {
|
|
|
585
584
|
this.element.toggleAttribute(this.name, !!t && t !== W);
|
|
586
585
|
}
|
|
587
586
|
}
|
|
588
|
-
class An extends
|
|
587
|
+
class An extends Ut {
|
|
589
588
|
constructor(t, e, i, s, r) {
|
|
590
589
|
super(t, e, i, s, r), this.type = 5;
|
|
591
590
|
}
|
|
592
591
|
_$AI(t, e = this) {
|
|
593
592
|
var n;
|
|
594
|
-
if ((t = (n =
|
|
593
|
+
if ((t = (n = et(this, t, e, 0)) != null ? n : W) === Qe)
|
|
595
594
|
return;
|
|
596
595
|
const i = this._$AH, s = t === W && i !== W || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== W && (i === W || s);
|
|
597
596
|
s && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
@@ -609,19 +608,19 @@ class Cn {
|
|
|
609
608
|
return this._$AM._$AU;
|
|
610
609
|
}
|
|
611
610
|
_$AI(t) {
|
|
612
|
-
|
|
611
|
+
et(this, t);
|
|
613
612
|
}
|
|
614
613
|
}
|
|
615
|
-
const
|
|
614
|
+
const ei = ft.litHtmlPolyfillSupport;
|
|
616
615
|
var us;
|
|
617
|
-
|
|
616
|
+
ei == null || ei(bt, At), ((us = ft.litHtmlVersions) != null ? us : ft.litHtmlVersions = []).push("3.2.1");
|
|
618
617
|
const Pn = (o, t, e) => {
|
|
619
618
|
var r, n;
|
|
620
619
|
const i = (r = e == null ? void 0 : e.renderBefore) != null ? r : t;
|
|
621
620
|
let s = i._$litPart$;
|
|
622
621
|
if (s === void 0) {
|
|
623
622
|
const a = (n = e == null ? void 0 : e.renderBefore) != null ? n : null;
|
|
624
|
-
i._$litPart$ = s = new
|
|
623
|
+
i._$litPart$ = s = new At(t.insertBefore(_t(), a), a, void 0, e != null ? e : {});
|
|
625
624
|
}
|
|
626
625
|
return s._$AI(o), s;
|
|
627
626
|
};
|
|
@@ -630,8 +629,7 @@ const Pn = (o, t, e) => {
|
|
|
630
629
|
* Copyright 2017 Google LLC
|
|
631
630
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
632
631
|
*/
|
|
633
|
-
|
|
634
|
-
class Je extends Ge {
|
|
632
|
+
class Ge extends Ke {
|
|
635
633
|
constructor() {
|
|
636
634
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
637
635
|
}
|
|
@@ -653,15 +651,15 @@ class Je extends Ge {
|
|
|
653
651
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
654
652
|
}
|
|
655
653
|
render() {
|
|
656
|
-
return
|
|
654
|
+
return Qe;
|
|
657
655
|
}
|
|
658
656
|
}
|
|
659
657
|
var ds;
|
|
660
|
-
|
|
661
|
-
const
|
|
662
|
-
|
|
658
|
+
Ge._$litElement$ = !0, Ge.finalized = !0, (ds = globalThis.litElementHydrateSupport) == null || ds.call(globalThis, { LitElement: Ge });
|
|
659
|
+
const ti = globalThis.litElementPolyfillSupport;
|
|
660
|
+
ti == null || ti({ LitElement: Ge });
|
|
663
661
|
var hs;
|
|
664
|
-
((hs =
|
|
662
|
+
((hs = globalThis.litElementVersions) != null ? hs : globalThis.litElementVersions = []).push("4.1.1");
|
|
665
663
|
/**
|
|
666
664
|
* @license
|
|
667
665
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -706,7 +704,7 @@ const kn = (o) => class extends o {
|
|
|
706
704
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
707
705
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
708
706
|
*/
|
|
709
|
-
const vs = [],
|
|
707
|
+
const vs = [], bi = /* @__PURE__ */ new Set(), Vi = /* @__PURE__ */ new Set();
|
|
710
708
|
function ys(o) {
|
|
711
709
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
712
710
|
}
|
|
@@ -714,7 +712,7 @@ function Dn(o) {
|
|
|
714
712
|
return ys(customElements.get(o));
|
|
715
713
|
}
|
|
716
714
|
function Tn(o = []) {
|
|
717
|
-
return [o].flat(1 / 0).filter((t) => t instanceof
|
|
715
|
+
return [o].flat(1 / 0).filter((t) => t instanceof Yi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
718
716
|
}
|
|
719
717
|
function xs(o, t) {
|
|
720
718
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
@@ -723,36 +721,36 @@ function ws(o) {
|
|
|
723
721
|
return o.map((t) => t.cssText).join(`
|
|
724
722
|
`);
|
|
725
723
|
}
|
|
726
|
-
const
|
|
724
|
+
const Rt = "vaadin-themable-mixin-style";
|
|
727
725
|
function Mn(o, t) {
|
|
728
726
|
const e = document.createElement("style");
|
|
729
|
-
e.id =
|
|
727
|
+
e.id = Rt, e.textContent = ws(o), t.content.appendChild(e);
|
|
730
728
|
}
|
|
731
729
|
function On(o) {
|
|
732
730
|
if (!o.shadowRoot)
|
|
733
731
|
return;
|
|
734
732
|
const t = o.constructor;
|
|
735
|
-
if (o instanceof
|
|
733
|
+
if (o instanceof Ge)
|
|
736
734
|
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), ps(o.shadowRoot, t.elementStyles);
|
|
737
735
|
else {
|
|
738
|
-
const e = o.shadowRoot.getElementById(
|
|
739
|
-
e.textContent = i.content.getElementById(
|
|
736
|
+
const e = o.shadowRoot.getElementById(Rt), i = t.prototype._template;
|
|
737
|
+
e.textContent = i.content.getElementById(Rt).textContent;
|
|
740
738
|
}
|
|
741
739
|
}
|
|
742
740
|
function In(o) {
|
|
743
|
-
|
|
741
|
+
bi.forEach((t) => {
|
|
744
742
|
const e = t.deref();
|
|
745
|
-
e instanceof o ? On(e) : e ||
|
|
743
|
+
e instanceof o ? On(e) : e || bi.delete(t);
|
|
746
744
|
});
|
|
747
745
|
}
|
|
748
746
|
function Es(o) {
|
|
749
|
-
if (o.prototype instanceof
|
|
747
|
+
if (o.prototype instanceof Ge)
|
|
750
748
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
751
749
|
else {
|
|
752
750
|
const t = o.prototype._template;
|
|
753
|
-
t.content.getElementById(
|
|
751
|
+
t.content.getElementById(Rt).textContent = ws(o.getStylesForThis());
|
|
754
752
|
}
|
|
755
|
-
|
|
753
|
+
Vi.forEach((t) => {
|
|
756
754
|
const e = customElements.get(t);
|
|
757
755
|
e !== o && e.prototype instanceof o && Es(e);
|
|
758
756
|
});
|
|
@@ -769,7 +767,7 @@ function L(o, t, e = {}) {
|
|
|
769
767
|
styles: t,
|
|
770
768
|
include: e.include,
|
|
771
769
|
moduleId: e.moduleId
|
|
772
|
-
}), o &&
|
|
770
|
+
}), o && Vi.forEach((i) => {
|
|
773
771
|
if (xs(o, i) && Dn(i)) {
|
|
774
772
|
const s = customElements.get(i);
|
|
775
773
|
Fn(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
@@ -778,7 +776,7 @@ function L(o, t, e = {}) {
|
|
|
778
776
|
}
|
|
779
777
|
});
|
|
780
778
|
}
|
|
781
|
-
function
|
|
779
|
+
function vi() {
|
|
782
780
|
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : vs;
|
|
783
781
|
}
|
|
784
782
|
function Nn(o = "") {
|
|
@@ -788,29 +786,29 @@ function Nn(o = "") {
|
|
|
788
786
|
function Ss(o) {
|
|
789
787
|
const t = [];
|
|
790
788
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
791
|
-
const i =
|
|
789
|
+
const i = vi().find((s) => s.moduleId === e);
|
|
792
790
|
i ? t.push(...Ss(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
793
791
|
}, o.styles), t;
|
|
794
792
|
}
|
|
795
793
|
function zn(o) {
|
|
796
|
-
const t = `${o}-default-theme`, e =
|
|
794
|
+
const t = `${o}-default-theme`, e = vi().filter((i) => i.moduleId !== t && xs(i.themeFor, o)).map((i) => kt(Pt({}, i), {
|
|
797
795
|
// Prepend styles from included themes
|
|
798
796
|
styles: [...Ss(i), ...i.styles],
|
|
799
797
|
// Map moduleId to includePriority
|
|
800
798
|
includePriority: Nn(i.moduleId)
|
|
801
799
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
802
|
-
return e.length > 0 ? e :
|
|
800
|
+
return e.length > 0 ? e : vi().filter((i) => i.moduleId === t);
|
|
803
801
|
}
|
|
804
|
-
const
|
|
802
|
+
const je = (o) => class extends kn(o) {
|
|
805
803
|
constructor() {
|
|
806
|
-
super(),
|
|
804
|
+
super(), bi.add(new WeakRef(this));
|
|
807
805
|
}
|
|
808
806
|
/**
|
|
809
807
|
* Covers PolymerElement based component styling
|
|
810
808
|
* @protected
|
|
811
809
|
*/
|
|
812
810
|
static finalize() {
|
|
813
|
-
if (super.finalize(), this.is &&
|
|
811
|
+
if (super.finalize(), this.is && Vi.add(this.is), this.elementStyles)
|
|
814
812
|
return;
|
|
815
813
|
const e = this.prototype._template;
|
|
816
814
|
!e || ys(this) || Mn(this.getStylesForThis(), e);
|
|
@@ -845,7 +843,7 @@ const Ln = (o, ...t) => {
|
|
|
845
843
|
const e = document.createElement("style");
|
|
846
844
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
847
845
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
848
|
-
},
|
|
846
|
+
}, ot = (o, ...t) => {
|
|
849
847
|
Ln(`lumo-${o}`, t);
|
|
850
848
|
};
|
|
851
849
|
/**
|
|
@@ -869,7 +867,7 @@ const Rn = P`
|
|
|
869
867
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
870
868
|
}
|
|
871
869
|
`;
|
|
872
|
-
|
|
870
|
+
ot("sizing-props", Rn);
|
|
873
871
|
/**
|
|
874
872
|
* @license
|
|
875
873
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -899,7 +897,7 @@ const Bn = P`
|
|
|
899
897
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
900
898
|
}
|
|
901
899
|
`;
|
|
902
|
-
|
|
900
|
+
ot("spacing-props", Bn);
|
|
903
901
|
/**
|
|
904
902
|
* @license
|
|
905
903
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1007,7 +1005,7 @@ P`
|
|
|
1007
1005
|
--vaadin-input-field-value-font-weight: 500;
|
|
1008
1006
|
}
|
|
1009
1007
|
`;
|
|
1010
|
-
|
|
1008
|
+
ot("style-props", Hn);
|
|
1011
1009
|
/**
|
|
1012
1010
|
* @license
|
|
1013
1011
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1099,7 +1097,7 @@ const $n = P`
|
|
|
1099
1097
|
}
|
|
1100
1098
|
}
|
|
1101
1099
|
`;
|
|
1102
|
-
|
|
1100
|
+
ot("color-props", $n);
|
|
1103
1101
|
const Yn = P`
|
|
1104
1102
|
[theme~='dark'] {
|
|
1105
1103
|
/* Base (background) */
|
|
@@ -1339,7 +1337,7 @@ const jn = P`
|
|
|
1339
1337
|
}
|
|
1340
1338
|
`;
|
|
1341
1339
|
L("", Vn, { moduleId: "lumo-typography" });
|
|
1342
|
-
|
|
1340
|
+
ot("typography-props", jn);
|
|
1343
1341
|
/**
|
|
1344
1342
|
* @license
|
|
1345
1343
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -2418,7 +2416,7 @@ const Kn = P`
|
|
|
2418
2416
|
--lumo-icons-user: '\\ea2a';
|
|
2419
2417
|
}
|
|
2420
2418
|
`;
|
|
2421
|
-
|
|
2419
|
+
ot("font-icons", Kn);
|
|
2422
2420
|
/**
|
|
2423
2421
|
* @license
|
|
2424
2422
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -2819,19 +2817,19 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2819
2817
|
Code distributed by Google as part of the polymer project is also
|
|
2820
2818
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2821
2819
|
*/
|
|
2822
|
-
let Zn = /(url\()([^)]*)(\))/g, Qn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/,
|
|
2823
|
-
function
|
|
2820
|
+
let Zn = /(url\()([^)]*)(\))/g, Qn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Dt, ue;
|
|
2821
|
+
function mt(o, t) {
|
|
2824
2822
|
if (o && Qn.test(o) || o === "//")
|
|
2825
2823
|
return o;
|
|
2826
|
-
if (
|
|
2827
|
-
|
|
2824
|
+
if (Dt === void 0) {
|
|
2825
|
+
Dt = !1;
|
|
2828
2826
|
try {
|
|
2829
2827
|
const e = new URL("b", "http://a");
|
|
2830
|
-
e.pathname = "c%20d",
|
|
2828
|
+
e.pathname = "c%20d", Dt = e.href === "http://a/c%20d";
|
|
2831
2829
|
} catch (e) {
|
|
2832
2830
|
}
|
|
2833
2831
|
}
|
|
2834
|
-
if (t || (t = document.baseURI || window.location.href),
|
|
2832
|
+
if (t || (t = document.baseURI || window.location.href), Dt)
|
|
2835
2833
|
try {
|
|
2836
2834
|
return new URL(o, t).href;
|
|
2837
2835
|
} catch (e) {
|
|
@@ -2839,12 +2837,12 @@ function _t(o, t) {
|
|
|
2839
2837
|
}
|
|
2840
2838
|
return ue || (ue = document.implementation.createHTMLDocument("temp"), ue.base = ue.createElement("base"), ue.head.appendChild(ue.base), ue.anchor = ue.createElement("a"), ue.body.appendChild(ue.anchor)), ue.base.href = t, ue.anchor.href = o, ue.anchor.href || o;
|
|
2841
2839
|
}
|
|
2842
|
-
function
|
|
2840
|
+
function Ui(o, t) {
|
|
2843
2841
|
return o.replace(Zn, function(e, i, s, r) {
|
|
2844
|
-
return i + "'" +
|
|
2842
|
+
return i + "'" + mt(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2845
2843
|
});
|
|
2846
2844
|
}
|
|
2847
|
-
function
|
|
2845
|
+
function Wi(o) {
|
|
2848
2846
|
return o.substring(0, o.lastIndexOf("/") + 1);
|
|
2849
2847
|
}
|
|
2850
2848
|
/**
|
|
@@ -2869,9 +2867,9 @@ const ea = Ms && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2869
2867
|
return !1;
|
|
2870
2868
|
}
|
|
2871
2869
|
})();
|
|
2872
|
-
let ta = window.Polymer && window.Polymer.rootPath ||
|
|
2870
|
+
let ta = window.Polymer && window.Polymer.rootPath || Wi(document.baseURI || window.location.href), Bt = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2873
2871
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2874
|
-
let
|
|
2872
|
+
let Ht = window.Polymer && window.Polymer.strictTemplatePolicy || !1, ia = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Os = window.Polymer && window.Polymer.legacyOptimizations || !1, Is = window.Polymer && window.Polymer.legacyWarnings || !1, oa = window.Polymer && window.Polymer.syncInitialRender || !1, yi = window.Polymer && window.Polymer.legacyUndefined || !1, sa = window.Polymer && window.Polymer.orderedComputed || !1, Co = window.Polymer && window.Polymer.removeNestedTemplates || !1, ra = window.Polymer && window.Polymer.fastDomIf || !1, Po = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2875
2873
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2876
2874
|
let na = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2877
2875
|
/**
|
|
@@ -2921,17 +2919,17 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2921
2919
|
Code distributed by Google as part of the polymer project is also
|
|
2922
2920
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2923
2921
|
*/
|
|
2924
|
-
let
|
|
2922
|
+
let qi = {}, Fs = {};
|
|
2925
2923
|
function ko(o, t) {
|
|
2926
|
-
|
|
2924
|
+
qi[o] = Fs[o.toLowerCase()] = t;
|
|
2927
2925
|
}
|
|
2928
2926
|
function Do(o) {
|
|
2929
|
-
return
|
|
2927
|
+
return qi[o] || Fs[o.toLowerCase()];
|
|
2930
2928
|
}
|
|
2931
2929
|
function la(o) {
|
|
2932
2930
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2933
2931
|
}
|
|
2934
|
-
class
|
|
2932
|
+
class vt extends HTMLElement {
|
|
2935
2933
|
/** @override */
|
|
2936
2934
|
static get observedAttributes() {
|
|
2937
2935
|
return ["id"];
|
|
@@ -2980,11 +2978,11 @@ class yt extends HTMLElement {
|
|
|
2980
2978
|
*/
|
|
2981
2979
|
get assetpath() {
|
|
2982
2980
|
if (!this.__assetpath) {
|
|
2983
|
-
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e =
|
|
2981
|
+
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e = mt(
|
|
2984
2982
|
this.getAttribute("assetpath") || "",
|
|
2985
2983
|
t.baseURI
|
|
2986
2984
|
);
|
|
2987
|
-
this.__assetpath =
|
|
2985
|
+
this.__assetpath = Wi(e);
|
|
2988
2986
|
}
|
|
2989
2987
|
return this.__assetpath;
|
|
2990
2988
|
}
|
|
@@ -2997,14 +2995,14 @@ class yt extends HTMLElement {
|
|
|
2997
2995
|
*/
|
|
2998
2996
|
register(t) {
|
|
2999
2997
|
if (t = t || this.id, t) {
|
|
3000
|
-
if (
|
|
2998
|
+
if (Ht && Do(t) !== void 0)
|
|
3001
2999
|
throw ko(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
3002
3000
|
this.id = t, ko(t, this), la(this);
|
|
3003
3001
|
}
|
|
3004
3002
|
}
|
|
3005
3003
|
}
|
|
3006
|
-
|
|
3007
|
-
customElements.define("dom-module",
|
|
3004
|
+
vt.prototype.modules = qi;
|
|
3005
|
+
customElements.define("dom-module", vt);
|
|
3008
3006
|
/**
|
|
3009
3007
|
@license
|
|
3010
3008
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -3018,12 +3016,12 @@ const ca = "link[rel=import][type~=css]", ua = "include", To = "shady-unscoped";
|
|
|
3018
3016
|
function Ns(o) {
|
|
3019
3017
|
return (
|
|
3020
3018
|
/** @type {?DomModule} */
|
|
3021
|
-
|
|
3019
|
+
vt.import(o)
|
|
3022
3020
|
);
|
|
3023
3021
|
}
|
|
3024
3022
|
function Mo(o) {
|
|
3025
3023
|
let t = o.body ? o.body : o;
|
|
3026
|
-
const e =
|
|
3024
|
+
const e = Ui(
|
|
3027
3025
|
t.textContent,
|
|
3028
3026
|
o.baseURI
|
|
3029
3027
|
), i = document.createElement("style");
|
|
@@ -3061,7 +3059,7 @@ function zs(o, t) {
|
|
|
3061
3059
|
let r = i[s], n = r.getAttribute(ua);
|
|
3062
3060
|
n && e.push(...da(n).filter(function(a, l, c) {
|
|
3063
3061
|
return c.indexOf(a) === l;
|
|
3064
|
-
})), t && (r.textContent =
|
|
3062
|
+
})), t && (r.textContent = Ui(
|
|
3065
3063
|
r.textContent,
|
|
3066
3064
|
/** @type {string} */
|
|
3067
3065
|
t
|
|
@@ -3110,26 +3108,26 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3110
3108
|
Code distributed by Google as part of the polymer project is also
|
|
3111
3109
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3112
3110
|
*/
|
|
3113
|
-
function
|
|
3111
|
+
function xi(o) {
|
|
3114
3112
|
return o.indexOf(".") >= 0;
|
|
3115
3113
|
}
|
|
3116
|
-
function
|
|
3114
|
+
function Ve(o) {
|
|
3117
3115
|
let t = o.indexOf(".");
|
|
3118
3116
|
return t === -1 ? o : o.slice(0, t);
|
|
3119
3117
|
}
|
|
3120
3118
|
function Rs(o, t) {
|
|
3121
3119
|
return o.indexOf(t + ".") === 0;
|
|
3122
3120
|
}
|
|
3123
|
-
function
|
|
3121
|
+
function yt(o, t) {
|
|
3124
3122
|
return t.indexOf(o + ".") === 0;
|
|
3125
3123
|
}
|
|
3126
|
-
function
|
|
3124
|
+
function xt(o, t, e) {
|
|
3127
3125
|
return t + e.slice(o.length);
|
|
3128
3126
|
}
|
|
3129
3127
|
function fa(o, t) {
|
|
3130
|
-
return o === t || Rs(o, t) ||
|
|
3128
|
+
return o === t || Rs(o, t) || yt(o, t);
|
|
3131
3129
|
}
|
|
3132
|
-
function
|
|
3130
|
+
function dt(o) {
|
|
3133
3131
|
if (Array.isArray(o)) {
|
|
3134
3132
|
let t = [];
|
|
3135
3133
|
for (let e = 0; e < o.length; e++) {
|
|
@@ -3142,7 +3140,7 @@ function ht(o) {
|
|
|
3142
3140
|
return o;
|
|
3143
3141
|
}
|
|
3144
3142
|
function Bs(o) {
|
|
3145
|
-
return Array.isArray(o) ?
|
|
3143
|
+
return Array.isArray(o) ? dt(o).split(".") : o.toString().split(".");
|
|
3146
3144
|
}
|
|
3147
3145
|
function re(o, t, e) {
|
|
3148
3146
|
let i = o, s = Bs(t);
|
|
@@ -3176,15 +3174,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3176
3174
|
Code distributed by Google as part of the polymer project is also
|
|
3177
3175
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3178
3176
|
*/
|
|
3179
|
-
const
|
|
3177
|
+
const $t = {}, ma = /-[a-z]/g, _a = /([A-Z])/g;
|
|
3180
3178
|
function Hs(o) {
|
|
3181
|
-
return
|
|
3179
|
+
return $t[o] || ($t[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3182
3180
|
ma,
|
|
3183
3181
|
(t) => t[1].toUpperCase()
|
|
3184
3182
|
));
|
|
3185
3183
|
}
|
|
3186
|
-
function
|
|
3187
|
-
return
|
|
3184
|
+
function Wt(o) {
|
|
3185
|
+
return $t[o] || ($t[o] = o.replace(_a, "-$1").toLowerCase());
|
|
3188
3186
|
}
|
|
3189
3187
|
/**
|
|
3190
3188
|
@license
|
|
@@ -3195,13 +3193,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3195
3193
|
Code distributed by Google as part of the polymer project is also
|
|
3196
3194
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3197
3195
|
*/
|
|
3198
|
-
let ga = 0, $s = 0,
|
|
3196
|
+
let ga = 0, $s = 0, Je = [], ba = 0, wi = !1, Ys = document.createTextNode("");
|
|
3199
3197
|
new window.MutationObserver(va).observe(Ys, { characterData: !0 });
|
|
3200
3198
|
function va() {
|
|
3201
|
-
|
|
3202
|
-
const o =
|
|
3199
|
+
wi = !1;
|
|
3200
|
+
const o = Je.length;
|
|
3203
3201
|
for (let t = 0; t < o; t++) {
|
|
3204
|
-
let e =
|
|
3202
|
+
let e = Je[t];
|
|
3205
3203
|
if (e)
|
|
3206
3204
|
try {
|
|
3207
3205
|
e();
|
|
@@ -3211,7 +3209,7 @@ function va() {
|
|
|
3211
3209
|
});
|
|
3212
3210
|
}
|
|
3213
3211
|
}
|
|
3214
|
-
|
|
3212
|
+
Je.splice(0, o), $s += o;
|
|
3215
3213
|
}
|
|
3216
3214
|
const ya = {
|
|
3217
3215
|
/**
|
|
@@ -3262,7 +3260,7 @@ const ya = {
|
|
|
3262
3260
|
* @return {number} Handle used for canceling task
|
|
3263
3261
|
*/
|
|
3264
3262
|
run(o) {
|
|
3265
|
-
return
|
|
3263
|
+
return wi || (wi = !0, Ys.textContent = ba++), Je.push(o), ga++;
|
|
3266
3264
|
},
|
|
3267
3265
|
/**
|
|
3268
3266
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3274,9 +3272,9 @@ const ya = {
|
|
|
3274
3272
|
cancel(o) {
|
|
3275
3273
|
const t = o - $s;
|
|
3276
3274
|
if (t >= 0) {
|
|
3277
|
-
if (!
|
|
3275
|
+
if (!Je[t])
|
|
3278
3276
|
throw new Error("invalid async handle: " + o);
|
|
3279
|
-
|
|
3277
|
+
Je[t] = null;
|
|
3280
3278
|
}
|
|
3281
3279
|
}
|
|
3282
3280
|
};
|
|
@@ -3726,12 +3724,12 @@ Code distributed by Google as part of the polymer project is also
|
|
|
3726
3724
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3727
3725
|
*/
|
|
3728
3726
|
const Us = {};
|
|
3729
|
-
let
|
|
3730
|
-
for (;
|
|
3731
|
-
let o = Object.getOwnPropertyNames(
|
|
3727
|
+
let Tt = HTMLElement.prototype;
|
|
3728
|
+
for (; Tt; ) {
|
|
3729
|
+
let o = Object.getOwnPropertyNames(Tt);
|
|
3732
3730
|
for (let t = 0; t < o.length; t++)
|
|
3733
3731
|
Us[o[t]] = !0;
|
|
3734
|
-
|
|
3732
|
+
Tt = Object.getPrototypeOf(Tt);
|
|
3735
3733
|
}
|
|
3736
3734
|
const wa = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3737
3735
|
function Ea(o, t) {
|
|
@@ -3771,7 +3769,7 @@ const Sa = V((o) => {
|
|
|
3771
3769
|
* @nocollapse
|
|
3772
3770
|
*/
|
|
3773
3771
|
static attributeNameForProperty(s) {
|
|
3774
|
-
return
|
|
3772
|
+
return Wt(s);
|
|
3775
3773
|
}
|
|
3776
3774
|
/**
|
|
3777
3775
|
* Overrides PropertiesChanged implementation to initialize values for
|
|
@@ -4367,8 +4365,8 @@ const Fa = V(
|
|
|
4367
4365
|
* Google as part of the polymer project is also subject to an additional IP
|
|
4368
4366
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4369
4367
|
*/
|
|
4370
|
-
let
|
|
4371
|
-
const
|
|
4368
|
+
let wt = 0;
|
|
4369
|
+
const Et = [], D = {
|
|
4372
4370
|
COMPUTE: "__computeEffects",
|
|
4373
4371
|
REFLECT: "__reflectEffects",
|
|
4374
4372
|
NOTIFY: "__notifyEffects",
|
|
@@ -4376,7 +4374,7 @@ const St = [], D = {
|
|
|
4376
4374
|
OBSERVE: "__observeEffects",
|
|
4377
4375
|
READ_ONLY: "__readOnly"
|
|
4378
4376
|
}, qs = "__computeInfo", Na = /[A-Z]/;
|
|
4379
|
-
function
|
|
4377
|
+
function ii(o, t, e) {
|
|
4380
4378
|
let i = o[t];
|
|
4381
4379
|
if (!i)
|
|
4382
4380
|
i = o[t] = {};
|
|
@@ -4388,34 +4386,34 @@ function oi(o, t, e) {
|
|
|
4388
4386
|
}
|
|
4389
4387
|
return i;
|
|
4390
4388
|
}
|
|
4391
|
-
function
|
|
4389
|
+
function ht(o, t, e, i, s, r) {
|
|
4392
4390
|
if (t) {
|
|
4393
4391
|
let n = !1;
|
|
4394
|
-
const a =
|
|
4392
|
+
const a = wt++;
|
|
4395
4393
|
for (let l in e) {
|
|
4396
|
-
let c = s ?
|
|
4394
|
+
let c = s ? Ve(l) : l, u = t[c];
|
|
4397
4395
|
if (u)
|
|
4398
4396
|
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
4399
|
-
(!m.info || m.info.lastRun !== a) && (!s ||
|
|
4397
|
+
(!m.info || m.info.lastRun !== a) && (!s || Ki(l, m.trigger)) && (m.info && (m.info.lastRun = a), m.fn(o, l, e, i, m.info, s, r), n = !0);
|
|
4400
4398
|
}
|
|
4401
4399
|
return n;
|
|
4402
4400
|
}
|
|
4403
4401
|
return !1;
|
|
4404
4402
|
}
|
|
4405
4403
|
function za(o, t, e, i, s, r, n, a) {
|
|
4406
|
-
let l = !1, c = n ?
|
|
4404
|
+
let l = !1, c = n ? Ve(i) : i, u = t[c];
|
|
4407
4405
|
if (u)
|
|
4408
4406
|
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
4409
|
-
(!m.info || m.info.lastRun !== e) && (!n ||
|
|
4407
|
+
(!m.info || m.info.lastRun !== e) && (!n || Ki(i, m.trigger)) && (m.info && (m.info.lastRun = e), m.fn(o, i, s, r, m.info, n, a), l = !0);
|
|
4410
4408
|
return l;
|
|
4411
4409
|
}
|
|
4412
|
-
function
|
|
4410
|
+
function Ki(o, t) {
|
|
4413
4411
|
if (t) {
|
|
4414
4412
|
let e = (
|
|
4415
4413
|
/** @type {string} */
|
|
4416
4414
|
t.name
|
|
4417
4415
|
);
|
|
4418
|
-
return e == o || !!(t.structured && Rs(e, o)) || !!(t.wildcard &&
|
|
4416
|
+
return e == o || !!(t.structured && Rs(e, o)) || !!(t.wildcard && yt(e, o));
|
|
4419
4417
|
} else
|
|
4420
4418
|
return !0;
|
|
4421
4419
|
}
|
|
@@ -4424,16 +4422,16 @@ function No(o, t, e, i, s) {
|
|
|
4424
4422
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4425
4423
|
}
|
|
4426
4424
|
function La(o, t, e, i, s) {
|
|
4427
|
-
let r = o[D.NOTIFY], n, a =
|
|
4425
|
+
let r = o[D.NOTIFY], n, a = wt++;
|
|
4428
4426
|
for (let c in t)
|
|
4429
4427
|
t[c] && (r && za(o, r, a, c, e, i, s) || s && Ra(o, c, e)) && (n = !0);
|
|
4430
4428
|
let l;
|
|
4431
4429
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4432
4430
|
}
|
|
4433
4431
|
function Ra(o, t, e) {
|
|
4434
|
-
let i =
|
|
4432
|
+
let i = Ve(t);
|
|
4435
4433
|
if (i !== t) {
|
|
4436
|
-
let s =
|
|
4434
|
+
let s = Wt(i) + "-changed";
|
|
4437
4435
|
return Ks(o, s, e[t], t), !0;
|
|
4438
4436
|
}
|
|
4439
4437
|
return !1;
|
|
@@ -4449,7 +4447,7 @@ function Ks(o, t, e, i) {
|
|
|
4449
4447
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4450
4448
|
}
|
|
4451
4449
|
function Ba(o, t, e, i, s, r) {
|
|
4452
|
-
let a = (r ?
|
|
4450
|
+
let a = (r ? Ve(t) : t) != t ? t : null, l = a ? re(o, a) : o.__data[t];
|
|
4453
4451
|
a && l === void 0 && (l = e[t]), Ks(o, s.eventName, l, a);
|
|
4454
4452
|
}
|
|
4455
4453
|
function Ha(o, t, e, i, s) {
|
|
@@ -4457,11 +4455,11 @@ function Ha(o, t, e, i, s) {
|
|
|
4457
4455
|
/** @type {Object} */
|
|
4458
4456
|
o.detail
|
|
4459
4457
|
), a = n && n.path;
|
|
4460
|
-
a ? (i =
|
|
4458
|
+
a ? (i = xt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[D.READ_ONLY] || !t[D.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4461
4459
|
}
|
|
4462
4460
|
function $a(o, t, e, i, s) {
|
|
4463
4461
|
let r = o.__data[t];
|
|
4464
|
-
|
|
4462
|
+
Bt && (r = Bt(
|
|
4465
4463
|
r,
|
|
4466
4464
|
s.attrName,
|
|
4467
4465
|
"attribute",
|
|
@@ -4473,7 +4471,7 @@ function Ya(o, t, e, i) {
|
|
|
4473
4471
|
let s = o[D.COMPUTE];
|
|
4474
4472
|
if (s)
|
|
4475
4473
|
if (sa) {
|
|
4476
|
-
|
|
4474
|
+
wt++;
|
|
4477
4475
|
const r = Va(o), n = [];
|
|
4478
4476
|
for (let l in t)
|
|
4479
4477
|
zo(l, s, n, r, i);
|
|
@@ -4491,7 +4489,7 @@ function Ya(o, t, e, i) {
|
|
|
4491
4489
|
), o.__dataPending = null;
|
|
4492
4490
|
} else {
|
|
4493
4491
|
let r = t;
|
|
4494
|
-
for (;
|
|
4492
|
+
for (; ht(o, s, r, e, i); )
|
|
4495
4493
|
Object.assign(
|
|
4496
4494
|
/** @type {!Object} */
|
|
4497
4495
|
e,
|
|
@@ -4518,11 +4516,11 @@ const ja = (o, t, e) => {
|
|
|
4518
4516
|
}
|
|
4519
4517
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4520
4518
|
}, zo = (o, t, e, i, s) => {
|
|
4521
|
-
const r = s ?
|
|
4519
|
+
const r = s ? Ve(o) : o, n = t[r];
|
|
4522
4520
|
if (n)
|
|
4523
4521
|
for (let a = 0; a < n.length; a++) {
|
|
4524
4522
|
const l = n[a];
|
|
4525
|
-
l.info.lastRun !==
|
|
4523
|
+
l.info.lastRun !== wt && (!s || Ki(o, l.trigger)) && (l.info.lastRun = wt, ja(l.info, e, i));
|
|
4526
4524
|
}
|
|
4527
4525
|
};
|
|
4528
4526
|
function Va(o) {
|
|
@@ -4556,8 +4554,8 @@ function Ua(o) {
|
|
|
4556
4554
|
return { counts: e, ready: s, total: r };
|
|
4557
4555
|
}
|
|
4558
4556
|
function Gs(o, t, e, i, s) {
|
|
4559
|
-
let r =
|
|
4560
|
-
if (r ===
|
|
4557
|
+
let r = Ei(o, t, e, i, s);
|
|
4558
|
+
if (r === Et)
|
|
4561
4559
|
return !1;
|
|
4562
4560
|
let n = s.methodInfo;
|
|
4563
4561
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
@@ -4568,16 +4566,16 @@ function Wa(o, t, e) {
|
|
|
4568
4566
|
let s;
|
|
4569
4567
|
for (let r in i) {
|
|
4570
4568
|
let n = i[r];
|
|
4571
|
-
|
|
4569
|
+
yt(r, t) ? (s = xt(r, n, t), o._setPendingPropertyOrPath(s, e, !0, !0)) : yt(n, t) && (s = xt(n, r, t), o._setPendingPropertyOrPath(s, e, !0, !0));
|
|
4572
4570
|
}
|
|
4573
4571
|
}
|
|
4574
4572
|
}
|
|
4575
|
-
function
|
|
4573
|
+
function oi(o, t, e, i, s, r, n) {
|
|
4576
4574
|
e.bindings = e.bindings || [];
|
|
4577
4575
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4578
4576
|
if (e.bindings.push(a), Xa(a)) {
|
|
4579
4577
|
let { event: c, negate: u } = a.parts[0];
|
|
4580
|
-
a.listenerEvent = c ||
|
|
4578
|
+
a.listenerEvent = c || Wt(s) + "-changed", a.listenerNegate = u;
|
|
4581
4579
|
}
|
|
4582
4580
|
let l = t.nodeInfoList.length;
|
|
4583
4581
|
for (let c = 0; c < a.parts.length; c++) {
|
|
@@ -4605,14 +4603,14 @@ function Ka(o, t, e, i, s, r, n) {
|
|
|
4605
4603
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
4606
4604
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4607
4605
|
let u = e[t];
|
|
4608
|
-
t =
|
|
4606
|
+
t = xt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
4609
4607
|
} else {
|
|
4610
4608
|
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
4611
|
-
u !==
|
|
4609
|
+
u !== Et && Ga(o, a, l, c, u);
|
|
4612
4610
|
}
|
|
4613
4611
|
}
|
|
4614
4612
|
function Ga(o, t, e, i, s) {
|
|
4615
|
-
if (s = Ja(t, s, e, i),
|
|
4613
|
+
if (s = Ja(t, s, e, i), Bt && (s = Bt(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4616
4614
|
o._valueToNodeAttribute(
|
|
4617
4615
|
/** @type {Element} */
|
|
4618
4616
|
t,
|
|
@@ -4683,11 +4681,11 @@ function Lo(o, t, e, i, s, r) {
|
|
|
4683
4681
|
info: n
|
|
4684
4682
|
}), n;
|
|
4685
4683
|
}
|
|
4686
|
-
function
|
|
4684
|
+
function Ei(o, t, e, i, s) {
|
|
4687
4685
|
let r = o._methodHost || o, n = r[s.methodName];
|
|
4688
4686
|
if (n) {
|
|
4689
4687
|
let a = o._marshalArgs(s.args, t, e);
|
|
4690
|
-
return a ===
|
|
4688
|
+
return a === Et ? Et : n.apply(r, a);
|
|
4691
4689
|
} else
|
|
4692
4690
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4693
4691
|
}
|
|
@@ -4700,7 +4698,7 @@ function Ho(o) {
|
|
|
4700
4698
|
}
|
|
4701
4699
|
return t;
|
|
4702
4700
|
}
|
|
4703
|
-
function
|
|
4701
|
+
function si(o) {
|
|
4704
4702
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4705
4703
|
if (t) {
|
|
4706
4704
|
let i = { methodName: t[1], static: !0, args: tl };
|
|
@@ -4733,7 +4731,7 @@ function Xs(o) {
|
|
|
4733
4731
|
e.value = Number(t), e.literal = !0;
|
|
4734
4732
|
break;
|
|
4735
4733
|
}
|
|
4736
|
-
return e.literal || (e.rootProperty =
|
|
4734
|
+
return e.literal || (e.rootProperty = Ve(t), e.structured = xi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4737
4735
|
}
|
|
4738
4736
|
function $o(o, t, e) {
|
|
4739
4737
|
let i = re(o, e);
|
|
@@ -4741,9 +4739,9 @@ function $o(o, t, e) {
|
|
|
4741
4739
|
}
|
|
4742
4740
|
function Zs(o, t, e, i) {
|
|
4743
4741
|
const s = { indexSplices: i };
|
|
4744
|
-
|
|
4742
|
+
yi && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), yi && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4745
4743
|
}
|
|
4746
|
-
function
|
|
4744
|
+
function at(o, t, e, i, s, r) {
|
|
4747
4745
|
Zs(o, t, e, [{
|
|
4748
4746
|
index: i,
|
|
4749
4747
|
addedCount: s,
|
|
@@ -4755,7 +4753,7 @@ function lt(o, t, e, i, s, r) {
|
|
|
4755
4753
|
function fl(o) {
|
|
4756
4754
|
return o[0].toUpperCase() + o.substring(1);
|
|
4757
4755
|
}
|
|
4758
|
-
const
|
|
4756
|
+
const Gi = V((o) => {
|
|
4759
4757
|
const t = Fa(Sa(o));
|
|
4760
4758
|
class e extends t {
|
|
4761
4759
|
constructor() {
|
|
@@ -4772,8 +4770,8 @@ const Ji = V((o) => {
|
|
|
4772
4770
|
super._initializeProperties(), this._registerHost(), this.__dataClientsReady = !1, this.__dataPendingClients = null, this.__dataToNotify = null, this.__dataLinkedPaths = null, this.__dataHasPaths = !1, this.__dataCompoundStorage = this.__dataCompoundStorage || null, this.__dataHost = this.__dataHost || null, this.__dataTemp = {}, this.__dataClientsInitialized = !1;
|
|
4773
4771
|
}
|
|
4774
4772
|
_registerHost() {
|
|
4775
|
-
if (
|
|
4776
|
-
let s =
|
|
4773
|
+
if (lt.length) {
|
|
4774
|
+
let s = lt[lt.length - 1];
|
|
4777
4775
|
s._enqueueClient(this), this.__dataHost = s;
|
|
4778
4776
|
}
|
|
4779
4777
|
}
|
|
@@ -4817,7 +4815,7 @@ const Ji = V((o) => {
|
|
|
4817
4815
|
*/
|
|
4818
4816
|
_addPropertyEffect(s, r, n) {
|
|
4819
4817
|
this._createPropertyAccessor(s, r == D.READ_ONLY);
|
|
4820
|
-
let a =
|
|
4818
|
+
let a = ii(this, r, !0)[s];
|
|
4821
4819
|
a || (a = this[r][s] = []), a.push(n);
|
|
4822
4820
|
}
|
|
4823
4821
|
/**
|
|
@@ -4830,7 +4828,7 @@ const Ji = V((o) => {
|
|
|
4830
4828
|
* @return {void}
|
|
4831
4829
|
*/
|
|
4832
4830
|
_removePropertyEffect(s, r, n) {
|
|
4833
|
-
let a =
|
|
4831
|
+
let a = ii(this, r, !0)[s], l = a.indexOf(n);
|
|
4834
4832
|
l >= 0 && a.splice(l, 1);
|
|
4835
4833
|
}
|
|
4836
4834
|
/**
|
|
@@ -4931,7 +4929,7 @@ const Ji = V((o) => {
|
|
|
4931
4929
|
* @protected
|
|
4932
4930
|
*/
|
|
4933
4931
|
_setPendingPropertyOrPath(s, r, n, a) {
|
|
4934
|
-
if (a ||
|
|
4932
|
+
if (a || Ve(Array.isArray(s) ? s[0] : s) !== s) {
|
|
4935
4933
|
if (!a) {
|
|
4936
4934
|
let l = re(this, s);
|
|
4937
4935
|
if (s = /** @type {string} */
|
|
@@ -5024,7 +5022,7 @@ const Ji = V((o) => {
|
|
|
5024
5022
|
* @return {boolean} Returns true if the property changed
|
|
5025
5023
|
*/
|
|
5026
5024
|
_setPendingProperty(s, r, n) {
|
|
5027
|
-
let a = this.__dataHasPaths &&
|
|
5025
|
+
let a = this.__dataHasPaths && xi(s), l = a ? this.__dataTemp : this.__data;
|
|
5028
5026
|
return this._shouldPropertyChange(s, r, l[s]) ? (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), s in this.__dataOld || (this.__dataOld[s] = this.__data[s]), a ? this.__dataTemp[s] = r : this.__data[s] = r, this.__dataPending[s] = r, (a || this[D.NOTIFY] && this[D.NOTIFY][s]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[s] = n), !0) : !1;
|
|
5029
5027
|
}
|
|
5030
5028
|
/**
|
|
@@ -5160,7 +5158,7 @@ const Ji = V((o) => {
|
|
|
5160
5158
|
let a = this.__dataHasPaths;
|
|
5161
5159
|
this.__dataHasPaths = !1;
|
|
5162
5160
|
let l;
|
|
5163
|
-
Ya(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(),
|
|
5161
|
+
Ya(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ht(this, this[D.REFLECT], r, n, a), ht(this, this[D.OBSERVE], r, n, a), l && La(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5164
5162
|
}
|
|
5165
5163
|
/**
|
|
5166
5164
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5174,11 +5172,11 @@ const Ji = V((o) => {
|
|
|
5174
5172
|
* @protected
|
|
5175
5173
|
*/
|
|
5176
5174
|
_propagatePropertyChanges(s, r, n) {
|
|
5177
|
-
this[D.PROPAGATE] &&
|
|
5175
|
+
this[D.PROPAGATE] && ht(this, this[D.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
|
|
5178
5176
|
}
|
|
5179
5177
|
_runEffectsForTemplate(s, r, n, a) {
|
|
5180
5178
|
const l = (c, u) => {
|
|
5181
|
-
|
|
5179
|
+
ht(
|
|
5182
5180
|
this,
|
|
5183
5181
|
s.propertyEffects,
|
|
5184
5182
|
c,
|
|
@@ -5202,7 +5200,7 @@ const Ji = V((o) => {
|
|
|
5202
5200
|
* @public
|
|
5203
5201
|
*/
|
|
5204
5202
|
linkPaths(s, r) {
|
|
5205
|
-
s =
|
|
5203
|
+
s = dt(s), r = dt(r), this.__dataLinkedPaths = this.__dataLinkedPaths || {}, this.__dataLinkedPaths[s] = r;
|
|
5206
5204
|
}
|
|
5207
5205
|
/**
|
|
5208
5206
|
* Removes a data path alias previously established with `_linkPaths`.
|
|
@@ -5216,7 +5214,7 @@ const Ji = V((o) => {
|
|
|
5216
5214
|
* @public
|
|
5217
5215
|
*/
|
|
5218
5216
|
unlinkPaths(s) {
|
|
5219
|
-
s =
|
|
5217
|
+
s = dt(s), this.__dataLinkedPaths && delete this.__dataLinkedPaths[s];
|
|
5220
5218
|
}
|
|
5221
5219
|
/**
|
|
5222
5220
|
* Notify that an array has changed.
|
|
@@ -5330,7 +5328,7 @@ const Ji = V((o) => {
|
|
|
5330
5328
|
/** @type {Array}*/
|
|
5331
5329
|
re(this, s, n)
|
|
5332
5330
|
), l = a.length, c = a.push(...r);
|
|
5333
|
-
return r.length &&
|
|
5331
|
+
return r.length && at(this, a, n.path, l, r.length, []), c;
|
|
5334
5332
|
}
|
|
5335
5333
|
/**
|
|
5336
5334
|
* Removes an item from the end of array at the path specified.
|
|
@@ -5351,7 +5349,7 @@ const Ji = V((o) => {
|
|
|
5351
5349
|
/** @type {Array} */
|
|
5352
5350
|
re(this, s, r)
|
|
5353
5351
|
), a = !!n.length, l = n.pop();
|
|
5354
|
-
return a &&
|
|
5352
|
+
return a && at(this, n, r.path, n.length, 0, [l]), l;
|
|
5355
5353
|
}
|
|
5356
5354
|
/**
|
|
5357
5355
|
* Starting from the start index specified, removes 0 or more items
|
|
@@ -5378,7 +5376,7 @@ const Ji = V((o) => {
|
|
|
5378
5376
|
);
|
|
5379
5377
|
r < 0 ? r = c.length - Math.floor(-r) : r && (r = Math.floor(r));
|
|
5380
5378
|
let u;
|
|
5381
|
-
return arguments.length === 2 ? u = c.splice(r) : u = c.splice(r, n, ...a), (a.length || u.length) &&
|
|
5379
|
+
return arguments.length === 2 ? u = c.splice(r) : u = c.splice(r, n, ...a), (a.length || u.length) && at(this, c, l.path, r, a.length, u), u;
|
|
5382
5380
|
}
|
|
5383
5381
|
/**
|
|
5384
5382
|
* Removes an item from the beginning of array at the path specified.
|
|
@@ -5399,7 +5397,7 @@ const Ji = V((o) => {
|
|
|
5399
5397
|
/** @type {Array} */
|
|
5400
5398
|
re(this, s, r)
|
|
5401
5399
|
), a = !!n.length, l = n.shift();
|
|
5402
|
-
return a &&
|
|
5400
|
+
return a && at(this, n, r.path, 0, 0, [l]), l;
|
|
5403
5401
|
}
|
|
5404
5402
|
/**
|
|
5405
5403
|
* Adds items onto the beginning of the array at the path specified.
|
|
@@ -5421,7 +5419,7 @@ const Ji = V((o) => {
|
|
|
5421
5419
|
/** @type {Array} */
|
|
5422
5420
|
re(this, s, n)
|
|
5423
5421
|
), l = a.unshift(...r);
|
|
5424
|
-
return r.length &&
|
|
5422
|
+
return r.length && at(this, a, n.path, 0, r.length, []), l;
|
|
5425
5423
|
}
|
|
5426
5424
|
/**
|
|
5427
5425
|
* Notify that a path has changed.
|
|
@@ -5443,7 +5441,7 @@ const Ji = V((o) => {
|
|
|
5443
5441
|
let a = { path: "" };
|
|
5444
5442
|
r = re(this, s, a), n = a.path;
|
|
5445
5443
|
} else
|
|
5446
|
-
Array.isArray(s) ? n =
|
|
5444
|
+
Array.isArray(s) ? n = dt(s) : n = /** @type{string} */
|
|
5447
5445
|
s;
|
|
5448
5446
|
this._setPendingPropertyOrPath(n, r, !0, !0) && this._invalidateProperties();
|
|
5449
5447
|
}
|
|
@@ -5509,10 +5507,10 @@ const Ji = V((o) => {
|
|
|
5509
5507
|
* @protected
|
|
5510
5508
|
*/
|
|
5511
5509
|
_createMethodObserver(s, r) {
|
|
5512
|
-
let n =
|
|
5510
|
+
let n = si(s);
|
|
5513
5511
|
if (!n)
|
|
5514
5512
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5515
|
-
Lo(this, n, D.OBSERVE,
|
|
5513
|
+
Lo(this, n, D.OBSERVE, Ei, null, r);
|
|
5516
5514
|
}
|
|
5517
5515
|
/**
|
|
5518
5516
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5528,7 +5526,7 @@ const Ji = V((o) => {
|
|
|
5528
5526
|
this._addPropertyEffect(s, D.NOTIFY, {
|
|
5529
5527
|
fn: Ba,
|
|
5530
5528
|
info: {
|
|
5531
|
-
eventName:
|
|
5529
|
+
eventName: Wt(s) + "-changed",
|
|
5532
5530
|
property: s
|
|
5533
5531
|
}
|
|
5534
5532
|
});
|
|
@@ -5567,11 +5565,11 @@ const Ji = V((o) => {
|
|
|
5567
5565
|
* @protected
|
|
5568
5566
|
*/
|
|
5569
5567
|
_createComputedProperty(s, r, n) {
|
|
5570
|
-
let a =
|
|
5568
|
+
let a = si(r);
|
|
5571
5569
|
if (!a)
|
|
5572
5570
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5573
5571
|
const l = Lo(this, a, D.COMPUTE, Gs, s, n);
|
|
5574
|
-
|
|
5572
|
+
ii(this, qs)[s] = l;
|
|
5575
5573
|
}
|
|
5576
5574
|
/**
|
|
5577
5575
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5592,7 +5590,7 @@ const Ji = V((o) => {
|
|
|
5592
5590
|
let { name: d, structured: h, wildcard: m, value: g, literal: p } = s[c];
|
|
5593
5591
|
if (!p)
|
|
5594
5592
|
if (m) {
|
|
5595
|
-
const _ =
|
|
5593
|
+
const _ = yt(d, r), y = $o(a, n, _ ? r : d);
|
|
5596
5594
|
g = {
|
|
5597
5595
|
path: _ ? r : d,
|
|
5598
5596
|
value: y,
|
|
@@ -5600,8 +5598,8 @@ const Ji = V((o) => {
|
|
|
5600
5598
|
};
|
|
5601
5599
|
} else
|
|
5602
5600
|
g = h ? $o(a, n, d) : a[d];
|
|
5603
|
-
if (
|
|
5604
|
-
return
|
|
5601
|
+
if (yi && !this._overrideLegacyUndefined && g === void 0 && s.length > 1)
|
|
5602
|
+
return Et;
|
|
5605
5603
|
l[c] = g;
|
|
5606
5604
|
}
|
|
5607
5605
|
return l;
|
|
@@ -5875,9 +5873,9 @@ const Ji = V((o) => {
|
|
|
5875
5873
|
*/
|
|
5876
5874
|
_stampTemplate(s, r) {
|
|
5877
5875
|
r = r || /** @type {!TemplateInfo} */
|
|
5878
|
-
this._bindTemplate(s, !0),
|
|
5876
|
+
this._bindTemplate(s, !0), lt.push(this);
|
|
5879
5877
|
let n = super._stampTemplate(s, r);
|
|
5880
|
-
if (
|
|
5878
|
+
if (lt.pop(), r.nodeList = n.nodeList, !r.wasPreBound) {
|
|
5881
5879
|
let a = r.childNodes = [];
|
|
5882
5880
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5883
5881
|
a.push(l);
|
|
@@ -5929,7 +5927,7 @@ const Ji = V((o) => {
|
|
|
5929
5927
|
);
|
|
5930
5928
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
5931
5929
|
let l = this._parseBindings(s.textContent, r);
|
|
5932
|
-
l && (s.textContent = Ho(l) || " ",
|
|
5930
|
+
l && (s.textContent = Ho(l) || " ", oi(this, r, n, "text", "textContent", l), a = !0);
|
|
5933
5931
|
}
|
|
5934
5932
|
return a;
|
|
5935
5933
|
}
|
|
@@ -5958,7 +5956,7 @@ const Ji = V((o) => {
|
|
|
5958
5956
|
let u = a, d = "property";
|
|
5959
5957
|
Na.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5960
5958
|
let h = Ho(c);
|
|
5961
|
-
return h && d == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), d === "property" && (a = Hs(a)),
|
|
5959
|
+
return h && d == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), d === "property" && (a = Hs(a)), oi(this, r, n, d, a, c, h), !0;
|
|
5962
5960
|
} else
|
|
5963
5961
|
return t._parseTemplateNodeAttribute.call(
|
|
5964
5962
|
this,
|
|
@@ -5999,7 +5997,7 @@ const Ji = V((o) => {
|
|
|
5999
5997
|
let m = "{";
|
|
6000
5998
|
for (let g in h) {
|
|
6001
5999
|
let p = [{ mode: m, source: g, dependencies: [g], hostProp: !0 }];
|
|
6002
|
-
|
|
6000
|
+
oi(this, r, n, "property", "_host_" + g, p);
|
|
6003
6001
|
}
|
|
6004
6002
|
}
|
|
6005
6003
|
return a;
|
|
@@ -6055,7 +6053,7 @@ const Ji = V((o) => {
|
|
|
6055
6053
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
6056
6054
|
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, m = "", g = -1;
|
|
6057
6055
|
c == "{" && (g = d.indexOf("::")) > 0 && (m = d.substring(g + 2), d = d.substring(0, g), h = !0);
|
|
6058
|
-
let p =
|
|
6056
|
+
let p = si(d), _ = [];
|
|
6059
6057
|
if (p) {
|
|
6060
6058
|
let { args: y, methodName: v } = p;
|
|
6061
6059
|
for (let A = 0; A < y.length; A++) {
|
|
@@ -6101,11 +6099,11 @@ const Ji = V((o) => {
|
|
|
6101
6099
|
*/
|
|
6102
6100
|
static _evaluateBinding(s, r, n, a, l, c) {
|
|
6103
6101
|
let u;
|
|
6104
|
-
return r.signature ? u =
|
|
6102
|
+
return r.signature ? u = Ei(s, n, a, l, r.signature) : n != r.source ? u = re(s, r.source) : c && xi(n) ? u = re(s, n) : u = s.__data[n], r.negate && (u = !u), u;
|
|
6105
6103
|
}
|
|
6106
6104
|
}
|
|
6107
6105
|
return e;
|
|
6108
|
-
}),
|
|
6106
|
+
}), lt = [];
|
|
6109
6107
|
/**
|
|
6110
6108
|
@license
|
|
6111
6109
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -6284,7 +6282,7 @@ const _l = V((o) => {
|
|
|
6284
6282
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6285
6283
|
*/
|
|
6286
6284
|
const gl = "3.5.2", Yo = window.ShadyCSS && window.ShadyCSS.cssBuild, bl = V((o) => {
|
|
6287
|
-
const t = _l(
|
|
6285
|
+
const t = _l(Gi(o));
|
|
6288
6286
|
function e(l) {
|
|
6289
6287
|
if (!l.hasOwnProperty(
|
|
6290
6288
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6336,8 +6334,8 @@ const gl = "3.5.2", Yo = window.ShadyCSS && window.ShadyCSS.cssBuild, bl = V((o)
|
|
|
6336
6334
|
}
|
|
6337
6335
|
function n(l) {
|
|
6338
6336
|
let c = null;
|
|
6339
|
-
if (l && (
|
|
6340
|
-
|
|
6337
|
+
if (l && (!Ht || ia) && (c = /** @type {?HTMLTemplateElement} */
|
|
6338
|
+
vt.import(l, "template"), Ht && !c))
|
|
6341
6339
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6342
6340
|
return c;
|
|
6343
6341
|
}
|
|
@@ -6506,9 +6504,9 @@ const gl = "3.5.2", Yo = window.ShadyCSS && window.ShadyCSS.cssBuild, bl = V((o)
|
|
|
6506
6504
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
6507
6505
|
const c = this.importMeta;
|
|
6508
6506
|
if (c)
|
|
6509
|
-
this._importPath =
|
|
6507
|
+
this._importPath = Wi(c.url);
|
|
6510
6508
|
else {
|
|
6511
|
-
const u =
|
|
6509
|
+
const u = vt.import(
|
|
6512
6510
|
/** @type {PolymerElementConstructor} */
|
|
6513
6511
|
this.is
|
|
6514
6512
|
);
|
|
@@ -6571,7 +6569,7 @@ const gl = "3.5.2", Yo = window.ShadyCSS && window.ShadyCSS.cssBuild, bl = V((o)
|
|
|
6571
6569
|
* @nocollapse
|
|
6572
6570
|
*/
|
|
6573
6571
|
static _processStyleText(c, u) {
|
|
6574
|
-
return
|
|
6572
|
+
return Ui(c, u);
|
|
6575
6573
|
}
|
|
6576
6574
|
/**
|
|
6577
6575
|
* Configures an element `proto` to function with a given `template`.
|
|
@@ -6587,7 +6585,7 @@ const gl = "3.5.2", Yo = window.ShadyCSS && window.ShadyCSS.cssBuild, bl = V((o)
|
|
|
6587
6585
|
const u = this.prototype._template;
|
|
6588
6586
|
if (u && !u.__polymerFinalized) {
|
|
6589
6587
|
u.__polymerFinalized = !0;
|
|
6590
|
-
const d = this.importPath, h = d ?
|
|
6588
|
+
const d = this.importPath, h = d ? mt(d) : "";
|
|
6591
6589
|
r(this, u, c, h), this.prototype._bindTemplate(u);
|
|
6592
6590
|
}
|
|
6593
6591
|
}
|
|
@@ -6699,7 +6697,7 @@ const gl = "3.5.2", Yo = window.ShadyCSS && window.ShadyCSS.cssBuild, bl = V((o)
|
|
|
6699
6697
|
* @return {string} Rewritten URL relative to base
|
|
6700
6698
|
*/
|
|
6701
6699
|
resolveUrl(c, u) {
|
|
6702
|
-
return !u && this.importPath && (u =
|
|
6700
|
+
return !u && this.importPath && (u = mt(this.importPath)), mt(c, u);
|
|
6703
6701
|
}
|
|
6704
6702
|
/**
|
|
6705
6703
|
* Overrides `PropertyEffects` to add map of dynamic functions on
|
|
@@ -6804,7 +6802,7 @@ function vl(o) {
|
|
|
6804
6802
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6805
6803
|
);
|
|
6806
6804
|
}
|
|
6807
|
-
const
|
|
6805
|
+
const Ue = function(t, ...e) {
|
|
6808
6806
|
tr(t, e);
|
|
6809
6807
|
const i = (
|
|
6810
6808
|
/** @type {!HTMLTemplateElement} */
|
|
@@ -6835,21 +6833,21 @@ const Fe = bl(HTMLElement);
|
|
|
6835
6833
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6836
6834
|
*/
|
|
6837
6835
|
const we = [];
|
|
6838
|
-
function
|
|
6836
|
+
function Si(o, t, e = o.getAttribute("dir")) {
|
|
6839
6837
|
t ? o.setAttribute("dir", t) : e != null && o.removeAttribute("dir");
|
|
6840
6838
|
}
|
|
6841
|
-
function
|
|
6839
|
+
function Ai() {
|
|
6842
6840
|
return document.documentElement.getAttribute("dir");
|
|
6843
6841
|
}
|
|
6844
6842
|
function yl() {
|
|
6845
|
-
const o =
|
|
6843
|
+
const o = Ai();
|
|
6846
6844
|
we.forEach((t) => {
|
|
6847
|
-
|
|
6845
|
+
Si(t, o);
|
|
6848
6846
|
});
|
|
6849
6847
|
}
|
|
6850
6848
|
const xl = new MutationObserver(yl);
|
|
6851
6849
|
xl.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6852
|
-
const
|
|
6850
|
+
const qt = (o) => class extends o {
|
|
6853
6851
|
static get properties() {
|
|
6854
6852
|
return {
|
|
6855
6853
|
/**
|
|
@@ -6875,14 +6873,14 @@ const Kt = (o) => class extends o {
|
|
|
6875
6873
|
}
|
|
6876
6874
|
/** @protected */
|
|
6877
6875
|
connectedCallback() {
|
|
6878
|
-
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(),
|
|
6876
|
+
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), Si(this, Ai(), null));
|
|
6879
6877
|
}
|
|
6880
6878
|
/** @protected */
|
|
6881
6879
|
attributeChangedCallback(e, i, s) {
|
|
6882
6880
|
if (super.attributeChangedCallback(e, i, s), e !== "dir")
|
|
6883
6881
|
return;
|
|
6884
|
-
const r =
|
|
6885
|
-
n || a ? (this.__subscribe(),
|
|
6882
|
+
const r = Ai(), n = s === r && we.indexOf(this) === -1, a = !s && i && we.indexOf(this) === -1;
|
|
6883
|
+
n || a ? (this.__subscribe(), Si(this, r, s)) : s !== r && i === r && this.__unsubscribe();
|
|
6886
6884
|
}
|
|
6887
6885
|
/** @protected */
|
|
6888
6886
|
disconnectedCallback() {
|
|
@@ -7022,12 +7020,12 @@ const El = P`
|
|
|
7022
7020
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7023
7021
|
*/
|
|
7024
7022
|
L("vaadin-input-container", El, { moduleId: "vaadin-input-container-styles" });
|
|
7025
|
-
class Sl extends wl(
|
|
7023
|
+
class Sl extends wl(je(qt(Fe))) {
|
|
7026
7024
|
static get is() {
|
|
7027
7025
|
return "vaadin-input-container";
|
|
7028
7026
|
}
|
|
7029
7027
|
static get template() {
|
|
7030
|
-
return
|
|
7028
|
+
return Ue`
|
|
7031
7029
|
<slot name="prefix"></slot>
|
|
7032
7030
|
<slot></slot>
|
|
7033
7031
|
<slot name="suffix"></slot>
|
|
@@ -7105,29 +7103,29 @@ const Al = P`
|
|
|
7105
7103
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7106
7104
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7107
7105
|
*/
|
|
7108
|
-
let
|
|
7106
|
+
let Ji = !1;
|
|
7109
7107
|
window.addEventListener(
|
|
7110
7108
|
"keydown",
|
|
7111
7109
|
() => {
|
|
7112
|
-
|
|
7110
|
+
Ji = !0;
|
|
7113
7111
|
},
|
|
7114
7112
|
{ capture: !0 }
|
|
7115
7113
|
);
|
|
7116
7114
|
window.addEventListener(
|
|
7117
7115
|
"mousedown",
|
|
7118
7116
|
() => {
|
|
7119
|
-
|
|
7117
|
+
Ji = !1;
|
|
7120
7118
|
},
|
|
7121
7119
|
{ capture: !0 }
|
|
7122
7120
|
);
|
|
7123
|
-
function
|
|
7121
|
+
function Ci() {
|
|
7124
7122
|
let o = document.activeElement || document.body;
|
|
7125
7123
|
for (; o.shadowRoot && o.shadowRoot.activeElement; )
|
|
7126
7124
|
o = o.shadowRoot.activeElement;
|
|
7127
7125
|
return o;
|
|
7128
7126
|
}
|
|
7129
|
-
function
|
|
7130
|
-
return
|
|
7127
|
+
function Xi() {
|
|
7128
|
+
return Ji;
|
|
7131
7129
|
}
|
|
7132
7130
|
function Cl(o) {
|
|
7133
7131
|
const t = o.style;
|
|
@@ -7146,11 +7144,11 @@ function kl(o, t) {
|
|
|
7146
7144
|
Pl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7147
7145
|
return e.concat(o, t);
|
|
7148
7146
|
}
|
|
7149
|
-
function
|
|
7147
|
+
function Pi(o) {
|
|
7150
7148
|
const t = o.length;
|
|
7151
7149
|
if (t < 2)
|
|
7152
7150
|
return o;
|
|
7153
|
-
const e = Math.ceil(t / 2), i =
|
|
7151
|
+
const e = Math.ceil(t / 2), i = Pi(o.slice(0, e)), s = Pi(o.slice(e));
|
|
7154
7152
|
return kl(i, s);
|
|
7155
7153
|
}
|
|
7156
7154
|
function ir(o) {
|
|
@@ -7181,7 +7179,7 @@ function or(o, t) {
|
|
|
7181
7179
|
}
|
|
7182
7180
|
function Ml(o) {
|
|
7183
7181
|
const t = [];
|
|
7184
|
-
return or(o, t) ?
|
|
7182
|
+
return or(o, t) ? Pi(t) : t;
|
|
7185
7183
|
}
|
|
7186
7184
|
/**
|
|
7187
7185
|
@license
|
|
@@ -7192,10 +7190,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7192
7190
|
Code distributed by Google as part of the polymer project is also
|
|
7193
7191
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7194
7192
|
*/
|
|
7195
|
-
let
|
|
7193
|
+
let ki = !1, Ol = [], sr = [];
|
|
7196
7194
|
function Il() {
|
|
7197
|
-
|
|
7198
|
-
|
|
7195
|
+
ki = !0, requestAnimationFrame(function() {
|
|
7196
|
+
ki = !1, Fl(Ol), setTimeout(function() {
|
|
7199
7197
|
Nl(sr);
|
|
7200
7198
|
});
|
|
7201
7199
|
});
|
|
@@ -7219,19 +7217,19 @@ function rr(o) {
|
|
|
7219
7217
|
}
|
|
7220
7218
|
}
|
|
7221
7219
|
function nr(o, t, e) {
|
|
7222
|
-
|
|
7220
|
+
ki || Il(), sr.push([o, t, e]);
|
|
7223
7221
|
}
|
|
7224
7222
|
/**
|
|
7225
7223
|
* @license
|
|
7226
7224
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7227
7225
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7228
7226
|
*/
|
|
7229
|
-
const
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
const Ll =
|
|
7234
|
-
|
|
7227
|
+
const Kt = (o) => o.test(navigator.userAgent), Di = (o) => o.test(navigator.platform), zl = (o) => o.test(navigator.vendor);
|
|
7228
|
+
Kt(/Android/u);
|
|
7229
|
+
Kt(/Chrome/u) && zl(/Google Inc/u);
|
|
7230
|
+
Kt(/Firefox/u);
|
|
7231
|
+
const Ll = Di(/^iPad/u) || Di(/^Mac/u) && navigator.maxTouchPoints > 1, Rl = Di(/^iPhone/u), ar = Rl || Ll;
|
|
7232
|
+
Kt(/^((?!chrome|android).)*safari/iu);
|
|
7235
7233
|
const Bl = (() => {
|
|
7236
7234
|
try {
|
|
7237
7235
|
return document.createEvent("TouchEvent"), !0;
|
|
@@ -7244,23 +7242,23 @@ const Bl = (() => {
|
|
|
7244
7242
|
* Copyright (c) 2017 Anton Korzunov
|
|
7245
7243
|
* SPDX-License-Identifier: MIT
|
|
7246
7244
|
*/
|
|
7247
|
-
let
|
|
7248
|
-
const Vo = (o) => o && o.nodeType === Node.ELEMENT_NODE,
|
|
7245
|
+
let qe = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), Ot = {}, ri = 0;
|
|
7246
|
+
const Vo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ni = (...o) => {
|
|
7249
7247
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7250
7248
|
}, Hl = (o, t) => Vo(o) ? t.map((e) => {
|
|
7251
7249
|
if (!Vo(e))
|
|
7252
|
-
return
|
|
7250
|
+
return ni(e, "is not a valid element"), null;
|
|
7253
7251
|
let i = e;
|
|
7254
7252
|
for (; i && i !== o; ) {
|
|
7255
7253
|
if (o.contains(i))
|
|
7256
7254
|
return e;
|
|
7257
7255
|
i = i.getRootNode().host;
|
|
7258
7256
|
}
|
|
7259
|
-
return
|
|
7260
|
-
}).filter((e) => !!e) : (
|
|
7257
|
+
return ni(e, "is not contained inside", o), null;
|
|
7258
|
+
}).filter((e) => !!e) : (ni(o, "is not a valid element"), []), $l = (o, t, e, i) => {
|
|
7261
7259
|
const s = Hl(t, Array.isArray(o) ? o : [o]);
|
|
7262
|
-
|
|
7263
|
-
const r =
|
|
7260
|
+
Ot[e] || (Ot[e] = /* @__PURE__ */ new WeakMap());
|
|
7261
|
+
const r = Ot[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
7264
7262
|
if (!d || a.has(d))
|
|
7265
7263
|
return;
|
|
7266
7264
|
a.add(d);
|
|
@@ -7277,16 +7275,16 @@ const Vo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ai = (...o) => {
|
|
|
7277
7275
|
if (a.has(g))
|
|
7278
7276
|
u(g);
|
|
7279
7277
|
else {
|
|
7280
|
-
const p = g.getAttribute(i), _ = p !== null && p !== "false", y = (
|
|
7281
|
-
|
|
7278
|
+
const p = g.getAttribute(i), _ = p !== null && p !== "false", y = (qe.get(g) || 0) + 1, v = (r.get(g) || 0) + 1;
|
|
7279
|
+
qe.set(g, y), r.set(g, v), n.push(g), y === 1 && _ && Mt.set(g, !0), v === 1 && g.setAttribute(e, "true"), _ || g.setAttribute(i, "true");
|
|
7282
7280
|
}
|
|
7283
7281
|
});
|
|
7284
7282
|
};
|
|
7285
|
-
return u(t), a.clear(),
|
|
7283
|
+
return u(t), a.clear(), ri += 1, () => {
|
|
7286
7284
|
n.forEach((d) => {
|
|
7287
|
-
const h =
|
|
7288
|
-
|
|
7289
|
-
}),
|
|
7285
|
+
const h = qe.get(d) - 1, m = r.get(d) - 1;
|
|
7286
|
+
qe.set(d, h), r.set(d, m), h || (Mt.has(d) ? Mt.delete(d) : d.removeAttribute(i)), m || d.removeAttribute(e);
|
|
7287
|
+
}), ri -= 1, ri || (qe = /* @__PURE__ */ new WeakMap(), qe = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), Ot = {});
|
|
7290
7288
|
};
|
|
7291
7289
|
}, lr = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7292
7290
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
@@ -7337,7 +7335,7 @@ class jl {
|
|
|
7337
7335
|
* @param {Node | null | undefined} focusNode
|
|
7338
7336
|
*/
|
|
7339
7337
|
saveFocus(t) {
|
|
7340
|
-
this.focusNode = t ||
|
|
7338
|
+
this.focusNode = t || Ci();
|
|
7341
7339
|
}
|
|
7342
7340
|
/**
|
|
7343
7341
|
* Restores focus to the target node that was saved previously with `saveFocus()`.
|
|
@@ -7347,7 +7345,7 @@ class jl {
|
|
|
7347
7345
|
if (!e)
|
|
7348
7346
|
return;
|
|
7349
7347
|
const i = t ? t.preventScroll : !1;
|
|
7350
|
-
|
|
7348
|
+
Ci() === document.body ? setTimeout(() => e.focus({ preventScroll: i })) : e.focus({ preventScroll: i }), this.focusNode = null;
|
|
7351
7349
|
}
|
|
7352
7350
|
}
|
|
7353
7351
|
/**
|
|
@@ -7355,7 +7353,7 @@ class jl {
|
|
|
7355
7353
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7356
7354
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7357
7355
|
*/
|
|
7358
|
-
const
|
|
7356
|
+
const ai = [];
|
|
7359
7357
|
class Vl {
|
|
7360
7358
|
/**
|
|
7361
7359
|
* @param {HTMLElement} host
|
|
@@ -7405,14 +7403,14 @@ class Vl {
|
|
|
7405
7403
|
trapFocus(t) {
|
|
7406
7404
|
if (this.__trapNode = t, this.__focusableElements.length === 0)
|
|
7407
7405
|
throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
|
|
7408
|
-
|
|
7406
|
+
ai.push(this), this.__focusedElementIndex === -1 && this.__focusableElements[0].focus();
|
|
7409
7407
|
}
|
|
7410
7408
|
/**
|
|
7411
7409
|
* Deactivates the focus trap set with the `.trapFocus()` method
|
|
7412
7410
|
* so that it becomes possible to tab outside the trap node.
|
|
7413
7411
|
*/
|
|
7414
7412
|
releaseFocus() {
|
|
7415
|
-
this.__trapNode = null,
|
|
7413
|
+
this.__trapNode = null, ai.pop();
|
|
7416
7414
|
}
|
|
7417
7415
|
/**
|
|
7418
7416
|
* A `keydown` event handler that manages tabbing navigation when the trap is enabled.
|
|
@@ -7426,7 +7424,7 @@ class Vl {
|
|
|
7426
7424
|
* @private
|
|
7427
7425
|
*/
|
|
7428
7426
|
__onKeyDown(t) {
|
|
7429
|
-
if (this.__trapNode && this === Array.from(
|
|
7427
|
+
if (this.__trapNode && this === Array.from(ai).pop() && t.key === "Tab") {
|
|
7430
7428
|
t.preventDefault();
|
|
7431
7429
|
const e = t.shiftKey;
|
|
7432
7430
|
this.__focusNextElement(e);
|
|
@@ -7453,7 +7451,7 @@ class Vl {
|
|
|
7453
7451
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7454
7452
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7455
7453
|
*/
|
|
7456
|
-
const
|
|
7454
|
+
const st = V((o) => typeof o.prototype.addController == "function" ? o : class extends o {
|
|
7457
7455
|
constructor() {
|
|
7458
7456
|
super(), this.__controllers = /* @__PURE__ */ new Set();
|
|
7459
7457
|
}
|
|
@@ -7493,7 +7491,7 @@ const rt = V((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7493
7491
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7494
7492
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7495
7493
|
*/
|
|
7496
|
-
const Ul = (o) => class extends
|
|
7494
|
+
const Ul = (o) => class extends st(o) {
|
|
7497
7495
|
static get properties() {
|
|
7498
7496
|
return {
|
|
7499
7497
|
/**
|
|
@@ -7537,7 +7535,7 @@ const Ul = (o) => class extends rt(o) {
|
|
|
7537
7535
|
*/
|
|
7538
7536
|
_resetFocus() {
|
|
7539
7537
|
if (this.focusTrap && (this.__ariaModalController.close(), this.__focusTrapController.releaseFocus()), this.restoreFocusOnClose && this._shouldRestoreFocus()) {
|
|
7540
|
-
const e = !
|
|
7538
|
+
const e = !Xi();
|
|
7541
7539
|
this.__focusRestorationController.restoreFocus({ preventScroll: e });
|
|
7542
7540
|
}
|
|
7543
7541
|
}
|
|
@@ -7569,7 +7567,7 @@ const Ul = (o) => class extends rt(o) {
|
|
|
7569
7567
|
* @return {boolean}
|
|
7570
7568
|
*/
|
|
7571
7569
|
_shouldRestoreFocus() {
|
|
7572
|
-
const e =
|
|
7570
|
+
const e = Ci();
|
|
7573
7571
|
return e === document.body || this._deepContains(e);
|
|
7574
7572
|
}
|
|
7575
7573
|
/**
|
|
@@ -7595,7 +7593,7 @@ const Ul = (o) => class extends rt(o) {
|
|
|
7595
7593
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7596
7594
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7597
7595
|
*/
|
|
7598
|
-
const cr = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0),
|
|
7596
|
+
const cr = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), Ti = () => cr().filter((o) => o.$.overlay), Wl = (o) => o === Ti().pop(), ql = (o) => class extends o {
|
|
7599
7597
|
constructor() {
|
|
7600
7598
|
super(), this._hasOverlayStackMixin = !0;
|
|
7601
7599
|
}
|
|
@@ -7618,14 +7616,14 @@ const cr = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7618
7616
|
}
|
|
7619
7617
|
/** @protected */
|
|
7620
7618
|
_enterModalState() {
|
|
7621
|
-
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"),
|
|
7619
|
+
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"), Ti().forEach((e) => {
|
|
7622
7620
|
e !== this && (e.$.overlay.style.pointerEvents = "none");
|
|
7623
7621
|
});
|
|
7624
7622
|
}
|
|
7625
7623
|
/** @protected */
|
|
7626
7624
|
_exitModalState() {
|
|
7627
7625
|
this._previousDocumentPointerEvents !== void 0 && (document.body.style.pointerEvents = this._previousDocumentPointerEvents, delete this._previousDocumentPointerEvents);
|
|
7628
|
-
const e =
|
|
7626
|
+
const e = Ti();
|
|
7629
7627
|
let i;
|
|
7630
7628
|
for (; (i = e.pop()) && !(i !== this && (i.$.overlay.style.removeProperty("pointer-events"), !i.modeless)); )
|
|
7631
7629
|
;
|
|
@@ -7921,23 +7919,23 @@ function Gl(o) {
|
|
|
7921
7919
|
}
|
|
7922
7920
|
return t;
|
|
7923
7921
|
}
|
|
7924
|
-
function
|
|
7922
|
+
function Zi(o) {
|
|
7925
7923
|
return o ? new Set(o.split(" ")) : /* @__PURE__ */ new Set();
|
|
7926
7924
|
}
|
|
7927
|
-
function
|
|
7925
|
+
function Gt(o) {
|
|
7928
7926
|
return o ? [...o].join(" ") : "";
|
|
7929
7927
|
}
|
|
7930
7928
|
function ur(o, t, e) {
|
|
7931
|
-
const i =
|
|
7932
|
-
i.add(e), o.setAttribute(t,
|
|
7929
|
+
const i = Zi(o.getAttribute(t));
|
|
7930
|
+
i.add(e), o.setAttribute(t, Gt(i));
|
|
7933
7931
|
}
|
|
7934
7932
|
function Jl(o, t, e) {
|
|
7935
|
-
const i =
|
|
7933
|
+
const i = Zi(o.getAttribute(t));
|
|
7936
7934
|
if (i.delete(e), i.size === 0) {
|
|
7937
7935
|
o.removeAttribute(t);
|
|
7938
7936
|
return;
|
|
7939
7937
|
}
|
|
7940
|
-
o.setAttribute(t,
|
|
7938
|
+
o.setAttribute(t, Gt(i));
|
|
7941
7939
|
}
|
|
7942
7940
|
function Xl(o) {
|
|
7943
7941
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
@@ -7981,10 +7979,10 @@ function Zl(o, t) {
|
|
|
7981
7979
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7982
7980
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7983
7981
|
*/
|
|
7984
|
-
const
|
|
7982
|
+
const li = {
|
|
7985
7983
|
start: "top",
|
|
7986
7984
|
end: "bottom"
|
|
7987
|
-
},
|
|
7985
|
+
}, ci = {
|
|
7988
7986
|
start: "left",
|
|
7989
7987
|
end: "right"
|
|
7990
7988
|
}, Uo = new ResizeObserver((o) => {
|
|
@@ -8136,14 +8134,14 @@ const ci = {
|
|
|
8136
8134
|
e,
|
|
8137
8135
|
a,
|
|
8138
8136
|
this.noVerticalOverlap,
|
|
8139
|
-
|
|
8137
|
+
li,
|
|
8140
8138
|
this,
|
|
8141
8139
|
i
|
|
8142
8140
|
), c = this.__calculatePositionInOneDimension(
|
|
8143
8141
|
e,
|
|
8144
8142
|
a,
|
|
8145
8143
|
this.noHorizontalOverlap,
|
|
8146
|
-
|
|
8144
|
+
ci,
|
|
8147
8145
|
this,
|
|
8148
8146
|
r
|
|
8149
8147
|
);
|
|
@@ -8160,7 +8158,7 @@ const ci = {
|
|
|
8160
8158
|
this.__margins,
|
|
8161
8159
|
n,
|
|
8162
8160
|
this.noHorizontalOverlap,
|
|
8163
|
-
|
|
8161
|
+
ci
|
|
8164
8162
|
);
|
|
8165
8163
|
}
|
|
8166
8164
|
__shouldAlignStartVertically(e) {
|
|
@@ -8174,7 +8172,7 @@ const ci = {
|
|
|
8174
8172
|
this.__margins,
|
|
8175
8173
|
r,
|
|
8176
8174
|
this.noVerticalOverlap,
|
|
8177
|
-
|
|
8175
|
+
li
|
|
8178
8176
|
);
|
|
8179
8177
|
}
|
|
8180
8178
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
@@ -8191,7 +8189,7 @@ const ci = {
|
|
|
8191
8189
|
__adjustBottomProperty(e, i, s) {
|
|
8192
8190
|
let r;
|
|
8193
8191
|
if (e === i.end) {
|
|
8194
|
-
if (i.end ===
|
|
8192
|
+
if (i.end === li.end) {
|
|
8195
8193
|
const n = Math.min(window.innerHeight, document.documentElement.clientHeight);
|
|
8196
8194
|
if (s > n && this.__oldViewportHeight) {
|
|
8197
8195
|
const a = this.__oldViewportHeight - n;
|
|
@@ -8199,7 +8197,7 @@ const ci = {
|
|
|
8199
8197
|
}
|
|
8200
8198
|
this.__oldViewportHeight = n;
|
|
8201
8199
|
}
|
|
8202
|
-
if (i.end ===
|
|
8200
|
+
if (i.end === ci.end) {
|
|
8203
8201
|
const n = Math.min(window.innerWidth, document.documentElement.clientWidth);
|
|
8204
8202
|
if (s > n && this.__oldViewportWidth) {
|
|
8205
8203
|
const a = this.__oldViewportWidth - n;
|
|
@@ -8277,12 +8275,12 @@ const tc = P`
|
|
|
8277
8275
|
L("vaadin-date-picker-overlay", [Al, tc], {
|
|
8278
8276
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8279
8277
|
});
|
|
8280
|
-
class ic extends ec(
|
|
8278
|
+
class ic extends ec(qt(je(Fe))) {
|
|
8281
8279
|
static get is() {
|
|
8282
8280
|
return "vaadin-date-picker-overlay";
|
|
8283
8281
|
}
|
|
8284
8282
|
static get template() {
|
|
8285
|
-
return
|
|
8283
|
+
return Ue`
|
|
8286
8284
|
<div id="backdrop" part="backdrop" hidden$="[[!withBackdrop]]"></div>
|
|
8287
8285
|
<div part="overlay" id="overlay">
|
|
8288
8286
|
<div part="content" id="content">
|
|
@@ -8293,7 +8291,7 @@ class ic extends ec(Kt(Ve(Fe))) {
|
|
|
8293
8291
|
}
|
|
8294
8292
|
}
|
|
8295
8293
|
be(ic);
|
|
8296
|
-
const oc = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,
|
|
8294
|
+
const oc = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Nt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8297
8295
|
function sc() {
|
|
8298
8296
|
function o() {
|
|
8299
8297
|
return !0;
|
|
@@ -8302,7 +8300,7 @@ function sc() {
|
|
|
8302
8300
|
}
|
|
8303
8301
|
function rc() {
|
|
8304
8302
|
try {
|
|
8305
|
-
return nc() ? !0 : ac() ?
|
|
8303
|
+
return nc() ? !0 : ac() ? Nt ? !lc() : !sc() : !1;
|
|
8306
8304
|
} catch (o) {
|
|
8307
8305
|
return !1;
|
|
8308
8306
|
}
|
|
@@ -8314,7 +8312,7 @@ function ac() {
|
|
|
8314
8312
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8315
8313
|
}
|
|
8316
8314
|
function lc() {
|
|
8317
|
-
return !!(
|
|
8315
|
+
return !!(Nt && Object.keys(Nt).map((t) => Nt[t]).filter((t) => t.productionMode).length > 0);
|
|
8318
8316
|
}
|
|
8319
8317
|
function dr(o, t) {
|
|
8320
8318
|
if (typeof o != "function")
|
|
@@ -8829,13 +8827,13 @@ const uc = function() {
|
|
|
8829
8827
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8830
8828
|
*/
|
|
8831
8829
|
let qo = 0, hr = 0;
|
|
8832
|
-
const
|
|
8833
|
-
let
|
|
8830
|
+
const Xe = [];
|
|
8831
|
+
let Mi = !1;
|
|
8834
8832
|
function dc() {
|
|
8835
|
-
|
|
8836
|
-
const o =
|
|
8833
|
+
Mi = !1;
|
|
8834
|
+
const o = Xe.length;
|
|
8837
8835
|
for (let t = 0; t < o; t++) {
|
|
8838
|
-
const e =
|
|
8836
|
+
const e = Xe[t];
|
|
8839
8837
|
if (e)
|
|
8840
8838
|
try {
|
|
8841
8839
|
e();
|
|
@@ -8845,9 +8843,9 @@ function dc() {
|
|
|
8845
8843
|
});
|
|
8846
8844
|
}
|
|
8847
8845
|
}
|
|
8848
|
-
|
|
8846
|
+
Xe.splice(0, o), hr += o;
|
|
8849
8847
|
}
|
|
8850
|
-
const
|
|
8848
|
+
const Yt = {
|
|
8851
8849
|
/**
|
|
8852
8850
|
* Returns a sub-module with the async interface providing the provided
|
|
8853
8851
|
* delay.
|
|
@@ -8938,7 +8936,7 @@ const jt = {
|
|
|
8938
8936
|
* @return {number} Handle used for canceling task
|
|
8939
8937
|
*/
|
|
8940
8938
|
run(o) {
|
|
8941
|
-
|
|
8939
|
+
Mi || (Mi = !0, queueMicrotask(() => dc())), Xe.push(o);
|
|
8942
8940
|
const t = qo;
|
|
8943
8941
|
return qo += 1, t;
|
|
8944
8942
|
},
|
|
@@ -8952,9 +8950,9 @@ const jt = {
|
|
|
8952
8950
|
cancel(o) {
|
|
8953
8951
|
const t = o - hr;
|
|
8954
8952
|
if (t >= 0) {
|
|
8955
|
-
if (!
|
|
8953
|
+
if (!Xe[t])
|
|
8956
8954
|
throw new Error(`invalid async handle: ${o}`);
|
|
8957
|
-
|
|
8955
|
+
Xe[t] = null;
|
|
8958
8956
|
}
|
|
8959
8957
|
}
|
|
8960
8958
|
};
|
|
@@ -8967,8 +8965,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
8967
8965
|
Code distributed by Google as part of the polymer project is also
|
|
8968
8966
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8969
8967
|
*/
|
|
8970
|
-
const
|
|
8971
|
-
let
|
|
8968
|
+
const Oi = /* @__PURE__ */ new Set();
|
|
8969
|
+
let tt = class Ii {
|
|
8972
8970
|
/**
|
|
8973
8971
|
* Creates a debouncer if no debouncer is passed as a parameter
|
|
8974
8972
|
* or it cancels an active debouncer otherwise. The following
|
|
@@ -9004,7 +9002,7 @@ let it = class Fi {
|
|
|
9004
9002
|
* @return {!Debouncer} Returns a debouncer object.
|
|
9005
9003
|
*/
|
|
9006
9004
|
static debounce(t, e, i) {
|
|
9007
|
-
return t instanceof
|
|
9005
|
+
return t instanceof Ii ? t._cancelAsync() : t = new Ii(), t.setConfig(e, i), t;
|
|
9008
9006
|
}
|
|
9009
9007
|
constructor() {
|
|
9010
9008
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
@@ -9020,7 +9018,7 @@ let it = class Fi {
|
|
|
9020
9018
|
*/
|
|
9021
9019
|
setConfig(t, e) {
|
|
9022
9020
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
9023
|
-
this._timer = null,
|
|
9021
|
+
this._timer = null, Oi.delete(this), this._callback();
|
|
9024
9022
|
});
|
|
9025
9023
|
}
|
|
9026
9024
|
/**
|
|
@@ -9029,7 +9027,7 @@ let it = class Fi {
|
|
|
9029
9027
|
* @return {void}
|
|
9030
9028
|
*/
|
|
9031
9029
|
cancel() {
|
|
9032
|
-
this.isActive() && (this._cancelAsync(),
|
|
9030
|
+
this.isActive() && (this._cancelAsync(), Oi.delete(this));
|
|
9033
9031
|
}
|
|
9034
9032
|
/**
|
|
9035
9033
|
* Cancels a debouncer's async callback.
|
|
@@ -9060,7 +9058,7 @@ let it = class Fi {
|
|
|
9060
9058
|
}
|
|
9061
9059
|
};
|
|
9062
9060
|
function mc(o) {
|
|
9063
|
-
|
|
9061
|
+
Oi.add(o);
|
|
9064
9062
|
}
|
|
9065
9063
|
/**
|
|
9066
9064
|
* @license
|
|
@@ -9073,15 +9071,15 @@ window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback
|
|
|
9073
9071
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9074
9072
|
uc();
|
|
9075
9073
|
};
|
|
9076
|
-
let
|
|
9077
|
-
const Ko = /* @__PURE__ */ new Set(), pr = (o) => class extends
|
|
9074
|
+
let ui;
|
|
9075
|
+
const Ko = /* @__PURE__ */ new Set(), pr = (o) => class extends qt(o) {
|
|
9078
9076
|
/** @protected */
|
|
9079
9077
|
static finalize() {
|
|
9080
9078
|
super.finalize();
|
|
9081
9079
|
const { is: e } = this;
|
|
9082
|
-
e && !Ko.has(e) && (window.Vaadin.registrations.push(this), Ko.add(e), window.Vaadin.developmentModeCallback && (
|
|
9080
|
+
e && !Ko.has(e) && (window.Vaadin.registrations.push(this), Ko.add(e), window.Vaadin.developmentModeCallback && (ui = tt.debounce(ui, pc, () => {
|
|
9083
9081
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9084
|
-
}), mc(
|
|
9082
|
+
}), mc(ui)));
|
|
9085
9083
|
}
|
|
9086
9084
|
constructor() {
|
|
9087
9085
|
super(), document.doctype === null && console.warn(
|
|
@@ -9454,7 +9452,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9454
9452
|
Code distributed by Google as part of the polymer project is also
|
|
9455
9453
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9456
9454
|
*/
|
|
9457
|
-
const yc = (o) => o,
|
|
9455
|
+
const yc = !1, xc = (o) => o, Qi = typeof document.head.style.touchAction == "string", Fi = "__polymerGestures", di = "__polymerGesturesHandled", Ni = "__polymerGesturesTouchAction", Go = 25, Jo = 5, wc = 2, Ec = ["mousedown", "mousemove", "mouseup", "click"], Sc = [0, 1, 4, 2], Ac = function() {
|
|
9458
9456
|
try {
|
|
9459
9457
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9460
9458
|
} catch (o) {
|
|
@@ -9462,15 +9460,15 @@ const yc = (o) => o, _r = typeof document.head.style.touchAction == "string", Ni
|
|
|
9462
9460
|
}
|
|
9463
9461
|
}();
|
|
9464
9462
|
function eo(o) {
|
|
9465
|
-
return
|
|
9463
|
+
return Ec.indexOf(o) > -1;
|
|
9466
9464
|
}
|
|
9467
|
-
let
|
|
9465
|
+
let _r = !1;
|
|
9468
9466
|
(function() {
|
|
9469
9467
|
try {
|
|
9470
9468
|
const o = Object.defineProperty({}, "passive", {
|
|
9471
9469
|
// eslint-disable-next-line getter-return
|
|
9472
9470
|
get() {
|
|
9473
|
-
|
|
9471
|
+
_r = !0;
|
|
9474
9472
|
}
|
|
9475
9473
|
});
|
|
9476
9474
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
@@ -9478,7 +9476,8 @@ let Ac = !1;
|
|
|
9478
9476
|
}
|
|
9479
9477
|
})();
|
|
9480
9478
|
function Cc(o) {
|
|
9481
|
-
eo(o)
|
|
9479
|
+
if (!(eo(o) || o === "touchend") && Qi && _r && yc)
|
|
9480
|
+
return { passive: !0 };
|
|
9482
9481
|
}
|
|
9483
9482
|
const Pc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), kc = {
|
|
9484
9483
|
button: !0,
|
|
@@ -9491,13 +9490,13 @@ const Pc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), kc = {
|
|
|
9491
9490
|
select: !0,
|
|
9492
9491
|
textarea: !0
|
|
9493
9492
|
};
|
|
9494
|
-
function
|
|
9493
|
+
function $e(o) {
|
|
9495
9494
|
const t = o.type;
|
|
9496
9495
|
if (!eo(t))
|
|
9497
9496
|
return !1;
|
|
9498
9497
|
if (t === "mousemove") {
|
|
9499
9498
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9500
|
-
return o instanceof window.MouseEvent && !
|
|
9499
|
+
return o instanceof window.MouseEvent && !Ac && (i = Sc[o.which] || 0), !!(i & 1);
|
|
9501
9500
|
}
|
|
9502
9501
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9503
9502
|
}
|
|
@@ -9518,6 +9517,10 @@ function Dc(o) {
|
|
|
9518
9517
|
return !1;
|
|
9519
9518
|
}
|
|
9520
9519
|
const Se = {
|
|
9520
|
+
mouse: {
|
|
9521
|
+
target: null,
|
|
9522
|
+
mouseIgnoreJob: null
|
|
9523
|
+
},
|
|
9521
9524
|
touch: {
|
|
9522
9525
|
x: 0,
|
|
9523
9526
|
y: 0,
|
|
@@ -9529,8 +9532,8 @@ function Tc(o) {
|
|
|
9529
9532
|
let t = "auto";
|
|
9530
9533
|
const e = br(o);
|
|
9531
9534
|
for (let i = 0, s; i < e.length; i++)
|
|
9532
|
-
if (s = e[i], s[
|
|
9533
|
-
t = s[
|
|
9535
|
+
if (s = e[i], s[Ni]) {
|
|
9536
|
+
t = s[Ni];
|
|
9534
9537
|
break;
|
|
9535
9538
|
}
|
|
9536
9539
|
return t;
|
|
@@ -9538,7 +9541,7 @@ function Tc(o) {
|
|
|
9538
9541
|
function gr(o, t, e) {
|
|
9539
9542
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9540
9543
|
}
|
|
9541
|
-
function
|
|
9544
|
+
function Ze(o) {
|
|
9542
9545
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9543
9546
|
}
|
|
9544
9547
|
const br = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], to = {}, He = [];
|
|
@@ -9560,19 +9563,19 @@ function Ie(o) {
|
|
|
9560
9563
|
return t.length > 0 ? t[0] : o.target;
|
|
9561
9564
|
}
|
|
9562
9565
|
function Oc(o) {
|
|
9563
|
-
const t = o.type, i = o.currentTarget[
|
|
9566
|
+
const t = o.type, i = o.currentTarget[Fi];
|
|
9564
9567
|
if (!i)
|
|
9565
9568
|
return;
|
|
9566
9569
|
const s = i[t];
|
|
9567
9570
|
if (!s)
|
|
9568
9571
|
return;
|
|
9569
|
-
if (!o[
|
|
9572
|
+
if (!o[di] && (o[di] = {}, t.startsWith("touch"))) {
|
|
9570
9573
|
const n = o.changedTouches[0];
|
|
9571
9574
|
if (t === "touchstart" && o.touches.length === 1 && (Se.touch.id = n.identifier), Se.touch.id !== n.identifier)
|
|
9572
9575
|
return;
|
|
9573
|
-
|
|
9576
|
+
Qi || (t === "touchstart" || t === "touchmove") && Ic(o);
|
|
9574
9577
|
}
|
|
9575
|
-
const r = o[
|
|
9578
|
+
const r = o[di];
|
|
9576
9579
|
if (!r.skip) {
|
|
9577
9580
|
for (let n = 0, a; n < He.length; n++)
|
|
9578
9581
|
a = He[n], s[a.name] && !r[a.name] && a.flow && a.flow.start.indexOf(o.type) > -1 && a.reset && a.reset();
|
|
@@ -9591,7 +9594,7 @@ function Ic(o) {
|
|
|
9591
9594
|
const i = Tc(o);
|
|
9592
9595
|
let s = !1;
|
|
9593
9596
|
const r = Math.abs(Se.touch.x - t.clientX), n = Math.abs(Se.touch.y - t.clientY);
|
|
9594
|
-
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() :
|
|
9597
|
+
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : jt("track");
|
|
9595
9598
|
}
|
|
9596
9599
|
}
|
|
9597
9600
|
function ge(o, t, e) {
|
|
@@ -9599,8 +9602,8 @@ function ge(o, t, e) {
|
|
|
9599
9602
|
}
|
|
9600
9603
|
function Fc(o, t, e) {
|
|
9601
9604
|
const i = to[t], s = i.deps, r = i.name;
|
|
9602
|
-
let n = o[
|
|
9603
|
-
n || (o[
|
|
9605
|
+
let n = o[Fi];
|
|
9606
|
+
n || (o[Fi] = n = {});
|
|
9604
9607
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9605
9608
|
l = s[a], !(Pc && eo(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, Oc, Cc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9606
9609
|
o.addEventListener(t, e), i.touchAction && vr(o, i.touchAction);
|
|
@@ -9620,13 +9623,13 @@ function Nc(o) {
|
|
|
9620
9623
|
return null;
|
|
9621
9624
|
}
|
|
9622
9625
|
function vr(o, t) {
|
|
9623
|
-
|
|
9626
|
+
Qi && o instanceof HTMLElement && fc.run(() => {
|
|
9624
9627
|
o.style.touchAction = t;
|
|
9625
|
-
}), o[
|
|
9628
|
+
}), o[Ni] = t;
|
|
9626
9629
|
}
|
|
9627
9630
|
function oo(o, t, e) {
|
|
9628
9631
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9629
|
-
if (i.detail = e,
|
|
9632
|
+
if (i.detail = e, xc(
|
|
9630
9633
|
/** @type {!Node} */
|
|
9631
9634
|
o
|
|
9632
9635
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9634,7 +9637,7 @@ function oo(o, t, e) {
|
|
|
9634
9637
|
s && s.preventDefault && s.preventDefault();
|
|
9635
9638
|
}
|
|
9636
9639
|
}
|
|
9637
|
-
function
|
|
9640
|
+
function jt(o) {
|
|
9638
9641
|
const t = Nc(o);
|
|
9639
9642
|
t.info && (t.info.prevent = !0);
|
|
9640
9643
|
}
|
|
@@ -9655,7 +9658,7 @@ io({
|
|
|
9655
9658
|
* @return {void}
|
|
9656
9659
|
*/
|
|
9657
9660
|
reset() {
|
|
9658
|
-
|
|
9661
|
+
Ze(this.info);
|
|
9659
9662
|
},
|
|
9660
9663
|
/**
|
|
9661
9664
|
* @this {GestureRecognizer}
|
|
@@ -9663,14 +9666,14 @@ io({
|
|
|
9663
9666
|
* @return {void}
|
|
9664
9667
|
*/
|
|
9665
9668
|
mousedown(o) {
|
|
9666
|
-
if (
|
|
9669
|
+
if (!$e(o))
|
|
9667
9670
|
return;
|
|
9668
9671
|
const t = Ie(o), e = this, i = (r) => {
|
|
9669
|
-
|
|
9672
|
+
$e(r) || (ct("up", t, r), Ze(e.info));
|
|
9670
9673
|
}, s = (r) => {
|
|
9671
|
-
|
|
9674
|
+
$e(r) && ct("up", t, r), Ze(e.info);
|
|
9672
9675
|
};
|
|
9673
|
-
gr(this.info, i, s),
|
|
9676
|
+
gr(this.info, i, s), ct("down", t, o);
|
|
9674
9677
|
},
|
|
9675
9678
|
/**
|
|
9676
9679
|
* @this {GestureRecognizer}
|
|
@@ -9678,7 +9681,7 @@ io({
|
|
|
9678
9681
|
* @return {void}
|
|
9679
9682
|
*/
|
|
9680
9683
|
touchstart(o) {
|
|
9681
|
-
|
|
9684
|
+
ct("down", Ie(o), o.changedTouches[0], o);
|
|
9682
9685
|
},
|
|
9683
9686
|
/**
|
|
9684
9687
|
* @this {GestureRecognizer}
|
|
@@ -9686,17 +9689,17 @@ io({
|
|
|
9686
9689
|
* @return {void}
|
|
9687
9690
|
*/
|
|
9688
9691
|
touchend(o) {
|
|
9689
|
-
|
|
9692
|
+
ct("up", Ie(o), o.changedTouches[0], o);
|
|
9690
9693
|
}
|
|
9691
9694
|
});
|
|
9692
|
-
function
|
|
9695
|
+
function ct(o, t, e, i) {
|
|
9693
9696
|
t && oo(t, o, {
|
|
9694
9697
|
x: e.clientX,
|
|
9695
9698
|
y: e.clientY,
|
|
9696
9699
|
sourceEvent: e,
|
|
9697
9700
|
preventer: i,
|
|
9698
9701
|
prevent(s) {
|
|
9699
|
-
return
|
|
9702
|
+
return jt(s);
|
|
9700
9703
|
}
|
|
9701
9704
|
});
|
|
9702
9705
|
}
|
|
@@ -9717,7 +9720,7 @@ io({
|
|
|
9717
9720
|
moves: [],
|
|
9718
9721
|
/** @this {GestureInfo} */
|
|
9719
9722
|
addMove(o) {
|
|
9720
|
-
this.moves.length >
|
|
9723
|
+
this.moves.length > wc && this.moves.shift(), this.moves.push(o);
|
|
9721
9724
|
},
|
|
9722
9725
|
movefn: null,
|
|
9723
9726
|
upfn: null,
|
|
@@ -9728,7 +9731,7 @@ io({
|
|
|
9728
9731
|
* @return {void}
|
|
9729
9732
|
*/
|
|
9730
9733
|
reset() {
|
|
9731
|
-
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1,
|
|
9734
|
+
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1, Ze(this.info);
|
|
9732
9735
|
},
|
|
9733
9736
|
/**
|
|
9734
9737
|
* @this {GestureRecognizer}
|
|
@@ -9736,13 +9739,13 @@ io({
|
|
|
9736
9739
|
* @return {void}
|
|
9737
9740
|
*/
|
|
9738
9741
|
mousedown(o) {
|
|
9739
|
-
if (
|
|
9742
|
+
if (!$e(o))
|
|
9740
9743
|
return;
|
|
9741
9744
|
const t = Ie(o), e = this, i = (r) => {
|
|
9742
9745
|
const n = r.clientX, a = r.clientY;
|
|
9743
|
-
Xo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" &&
|
|
9746
|
+
Xo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && jt("tap"), e.info.addMove({ x: n, y: a }), $e(r) || (e.info.state = "end", Ze(e.info)), t && hi(e.info, t, r), e.info.started = !0);
|
|
9744
9747
|
}, s = (r) => {
|
|
9745
|
-
e.info.started && i(r),
|
|
9748
|
+
e.info.started && i(r), Ze(e.info);
|
|
9746
9749
|
};
|
|
9747
9750
|
gr(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9748
9751
|
},
|
|
@@ -9762,7 +9765,7 @@ io({
|
|
|
9762
9765
|
*/
|
|
9763
9766
|
touchmove(o) {
|
|
9764
9767
|
const t = Ie(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9765
|
-
Xo(this.info, i, s) && (this.info.state === "start" &&
|
|
9768
|
+
Xo(this.info, i, s) && (this.info.state === "start" && jt("tap"), this.info.addMove({ x: i, y: s }), hi(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9766
9769
|
},
|
|
9767
9770
|
/**
|
|
9768
9771
|
* @this {GestureRecognizer}
|
|
@@ -9771,7 +9774,7 @@ io({
|
|
|
9771
9774
|
*/
|
|
9772
9775
|
touchend(o) {
|
|
9773
9776
|
const t = Ie(o), e = o.changedTouches[0];
|
|
9774
|
-
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }),
|
|
9777
|
+
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), hi(this.info, t, e));
|
|
9775
9778
|
}
|
|
9776
9779
|
});
|
|
9777
9780
|
function Xo(o, t, e) {
|
|
@@ -9782,7 +9785,7 @@ function Xo(o, t, e) {
|
|
|
9782
9785
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9783
9786
|
return i >= Jo || s >= Jo;
|
|
9784
9787
|
}
|
|
9785
|
-
function
|
|
9788
|
+
function hi(o, t, e) {
|
|
9786
9789
|
if (!t)
|
|
9787
9790
|
return;
|
|
9788
9791
|
const i = o.moves[o.moves.length - 2], s = o.moves[o.moves.length - 1], r = s.x - o.x, n = s.y - o.y;
|
|
@@ -9827,7 +9830,7 @@ io({
|
|
|
9827
9830
|
* @return {void}
|
|
9828
9831
|
*/
|
|
9829
9832
|
mousedown(o) {
|
|
9830
|
-
|
|
9833
|
+
$e(o) && (this.info.x = o.clientX, this.info.y = o.clientY);
|
|
9831
9834
|
},
|
|
9832
9835
|
/**
|
|
9833
9836
|
* @this {GestureRecognizer}
|
|
@@ -9835,7 +9838,7 @@ io({
|
|
|
9835
9838
|
* @return {void}
|
|
9836
9839
|
*/
|
|
9837
9840
|
click(o) {
|
|
9838
|
-
|
|
9841
|
+
$e(o) && Zo(this.info, o);
|
|
9839
9842
|
},
|
|
9840
9843
|
/**
|
|
9841
9844
|
* @this {GestureRecognizer}
|
|
@@ -9917,7 +9920,7 @@ const yr = V(
|
|
|
9917
9920
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9918
9921
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9919
9922
|
*/
|
|
9920
|
-
const
|
|
9923
|
+
const Jt = V(
|
|
9921
9924
|
(o) => class extends o {
|
|
9922
9925
|
/** @protected */
|
|
9923
9926
|
ready() {
|
|
@@ -9979,7 +9982,7 @@ const Xt = V(
|
|
|
9979
9982
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9980
9983
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9981
9984
|
*/
|
|
9982
|
-
const zc = (o) => class extends yr(
|
|
9985
|
+
const zc = (o) => class extends yr(Jt(o)) {
|
|
9983
9986
|
/**
|
|
9984
9987
|
* An array of activation keys.
|
|
9985
9988
|
*
|
|
@@ -10049,7 +10052,7 @@ const so = V(
|
|
|
10049
10052
|
* @return {boolean}
|
|
10050
10053
|
*/
|
|
10051
10054
|
get _keyboardActive() {
|
|
10052
|
-
return
|
|
10055
|
+
return Xi();
|
|
10053
10056
|
}
|
|
10054
10057
|
/** @protected */
|
|
10055
10058
|
ready() {
|
|
@@ -10206,12 +10209,12 @@ const Lc = (o) => class extends zc(xr(so(o))) {
|
|
|
10206
10209
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10207
10210
|
*/
|
|
10208
10211
|
L("vaadin-button", bc, { moduleId: "vaadin-button-styles" });
|
|
10209
|
-
class Rc extends Lc(pr(
|
|
10212
|
+
class Rc extends Lc(pr(je(st(Fe)))) {
|
|
10210
10213
|
static get is() {
|
|
10211
10214
|
return "vaadin-button";
|
|
10212
10215
|
}
|
|
10213
10216
|
static get template() {
|
|
10214
|
-
return vc(
|
|
10217
|
+
return vc(Ue);
|
|
10215
10218
|
}
|
|
10216
10219
|
/** @protected */
|
|
10217
10220
|
ready() {
|
|
@@ -10232,11 +10235,11 @@ function Bc(o) {
|
|
|
10232
10235
|
const r = i.getTime() - s.getTime(), n = Math.round(r / (24 * 3600 * 1e3));
|
|
10233
10236
|
return Math.floor(n / 7 + 1);
|
|
10234
10237
|
}
|
|
10235
|
-
function
|
|
10238
|
+
function zi(o) {
|
|
10236
10239
|
const t = new Date(o);
|
|
10237
10240
|
return t.setHours(0, 0, 0, 0), t;
|
|
10238
10241
|
}
|
|
10239
|
-
function Ce(o, t, e =
|
|
10242
|
+
function Ce(o, t, e = zi) {
|
|
10240
10243
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10241
10244
|
}
|
|
10242
10245
|
function ro(o) {
|
|
@@ -10246,7 +10249,7 @@ function ro(o) {
|
|
|
10246
10249
|
year: o.getFullYear()
|
|
10247
10250
|
};
|
|
10248
10251
|
}
|
|
10249
|
-
function
|
|
10252
|
+
function it(o, t, e, i) {
|
|
10250
10253
|
let s = !1;
|
|
10251
10254
|
if (typeof i == "function" && o) {
|
|
10252
10255
|
const r = ro(o);
|
|
@@ -10276,7 +10279,7 @@ function Hc(o, t, e = 0, i = 1) {
|
|
|
10276
10279
|
let s = t + Math.floor(o.getFullYear() / 100) * 100;
|
|
10277
10280
|
return o < new Date(s - 50, e, i) ? s -= 100 : o > new Date(s + 50, e, i) && (s += 100), s;
|
|
10278
10281
|
}
|
|
10279
|
-
function
|
|
10282
|
+
function ut(o) {
|
|
10280
10283
|
const t = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(o);
|
|
10281
10284
|
if (!t)
|
|
10282
10285
|
return;
|
|
@@ -10306,7 +10309,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10306
10309
|
Code distributed by Google as part of the polymer project is also
|
|
10307
10310
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10308
10311
|
*/
|
|
10309
|
-
class
|
|
10312
|
+
class Vt {
|
|
10310
10313
|
constructor() {
|
|
10311
10314
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
10312
10315
|
}
|
|
@@ -10321,7 +10324,7 @@ class Ut {
|
|
|
10321
10324
|
*/
|
|
10322
10325
|
setConfig(t, e) {
|
|
10323
10326
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
10324
|
-
this._timer = null,
|
|
10327
|
+
this._timer = null, St.delete(this), this._callback();
|
|
10325
10328
|
});
|
|
10326
10329
|
}
|
|
10327
10330
|
/**
|
|
@@ -10330,7 +10333,7 @@ class Ut {
|
|
|
10330
10333
|
* @return {void}
|
|
10331
10334
|
*/
|
|
10332
10335
|
cancel() {
|
|
10333
|
-
this.isActive() && (this._cancelAsync(),
|
|
10336
|
+
this.isActive() && (this._cancelAsync(), St.delete(this));
|
|
10334
10337
|
}
|
|
10335
10338
|
/**
|
|
10336
10339
|
* Cancels a debouncer's async callback.
|
|
@@ -10394,15 +10397,15 @@ class Ut {
|
|
|
10394
10397
|
* @return {!Debouncer} Returns a debouncer object.
|
|
10395
10398
|
*/
|
|
10396
10399
|
static debounce(t, e, i) {
|
|
10397
|
-
return t instanceof
|
|
10400
|
+
return t instanceof Vt ? t._cancelAsync() : t = new Vt(), t.setConfig(e, i), t;
|
|
10398
10401
|
}
|
|
10399
10402
|
}
|
|
10400
|
-
let
|
|
10403
|
+
let St = /* @__PURE__ */ new Set();
|
|
10401
10404
|
const jc = function(o) {
|
|
10402
|
-
|
|
10405
|
+
St.add(o);
|
|
10403
10406
|
}, Vc = function() {
|
|
10404
|
-
const o = !!
|
|
10405
|
-
return
|
|
10407
|
+
const o = !!St.size;
|
|
10408
|
+
return St.forEach((t) => {
|
|
10406
10409
|
try {
|
|
10407
10410
|
t.flush();
|
|
10408
10411
|
} catch (e) {
|
|
@@ -10582,7 +10585,7 @@ class Ar extends HTMLElement {
|
|
|
10582
10585
|
const t = this.$.scroller.scrollTop;
|
|
10583
10586
|
(t < this._bufferHeight || t > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
|
|
10584
10587
|
const e = this.itemHeight + this.bufferOffset, i = t > this._buffers[1].translateY + e, s = t < this._buffers[0].translateY + e;
|
|
10585
|
-
(i || s) && (this._translateBuffer(s), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish =
|
|
10588
|
+
(i || s) && (this._translateBuffer(s), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish = tt.debounce(this._debouncerScrollFinish, Yt.after(200), () => {
|
|
10586
10589
|
const r = this.$.scroller.getBoundingClientRect();
|
|
10587
10590
|
!this._isVisible(this._buffers[0], r) && !this._isVisible(this._buffers[1], r) && (this.position = this.position);
|
|
10588
10591
|
});
|
|
@@ -10591,7 +10594,7 @@ class Ar extends HTMLElement {
|
|
|
10591
10594
|
_reset() {
|
|
10592
10595
|
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) => {
|
|
10593
10596
|
t.style.transform = `translate3d(0, ${t.translateY}px, 0)`;
|
|
10594
|
-
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones =
|
|
10597
|
+
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = tt.debounce(this._debouncerUpdateClones, Yt.after(200), () => {
|
|
10595
10598
|
this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones();
|
|
10596
10599
|
}), this._scrollDisabled = !1;
|
|
10597
10600
|
}
|
|
@@ -10784,12 +10787,12 @@ const qc = (o) => class extends o {
|
|
|
10784
10787
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10785
10788
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10786
10789
|
*/
|
|
10787
|
-
class Kc extends
|
|
10790
|
+
class Kc extends je(qc(Fe)) {
|
|
10788
10791
|
static get is() {
|
|
10789
10792
|
return "vaadin-date-picker-year";
|
|
10790
10793
|
}
|
|
10791
10794
|
static get template() {
|
|
10792
|
-
return
|
|
10795
|
+
return Ue`
|
|
10793
10796
|
<style>
|
|
10794
10797
|
:host {
|
|
10795
10798
|
display: block;
|
|
@@ -10888,21 +10891,21 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10888
10891
|
Code distributed by Google as part of the polymer project is also
|
|
10889
10892
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10890
10893
|
*/
|
|
10891
|
-
let
|
|
10892
|
-
function
|
|
10893
|
-
return
|
|
10894
|
+
let Li = null;
|
|
10895
|
+
function Ri() {
|
|
10896
|
+
return Li;
|
|
10894
10897
|
}
|
|
10895
|
-
|
|
10898
|
+
Ri.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
10896
10899
|
constructor: {
|
|
10897
|
-
value:
|
|
10900
|
+
value: Ri,
|
|
10898
10901
|
writable: !0
|
|
10899
10902
|
}
|
|
10900
10903
|
});
|
|
10901
|
-
const kr =
|
|
10904
|
+
const kr = Gi(Ri), Jc = lo(kr);
|
|
10902
10905
|
function Xc(o, t) {
|
|
10903
|
-
|
|
10906
|
+
Li = o, Object.setPrototypeOf(o, t.prototype), new t(), Li = null;
|
|
10904
10907
|
}
|
|
10905
|
-
const Zc =
|
|
10908
|
+
const Zc = Gi(class {
|
|
10906
10909
|
});
|
|
10907
10910
|
function Qc(o, t) {
|
|
10908
10911
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -11056,7 +11059,7 @@ function Qo(o) {
|
|
|
11056
11059
|
}
|
|
11057
11060
|
function tu(o, t, e) {
|
|
11058
11061
|
let i = e.mutableData ? eu : Ne;
|
|
11059
|
-
|
|
11062
|
+
Bi.mixin && (i = Bi.mixin(i));
|
|
11060
11063
|
let s = class extends i {
|
|
11061
11064
|
};
|
|
11062
11065
|
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), su(s, o, t, e), s;
|
|
@@ -11143,8 +11146,8 @@ function nu() {
|
|
|
11143
11146
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11144
11147
|
};
|
|
11145
11148
|
}
|
|
11146
|
-
function
|
|
11147
|
-
if (
|
|
11149
|
+
function Bi(o, t, e) {
|
|
11150
|
+
if (Ht && !Qo(o))
|
|
11148
11151
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11149
11152
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11150
11153
|
e || {}, o.__templatizeOwner)
|
|
@@ -11425,7 +11428,7 @@ class ts extends uu {
|
|
|
11425
11428
|
return s.observe(this, { childList: !0 }), !1;
|
|
11426
11429
|
}
|
|
11427
11430
|
let i = {};
|
|
11428
|
-
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor =
|
|
11431
|
+
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor = Bi(e, this, {
|
|
11429
11432
|
mutableData: this.mutableData,
|
|
11430
11433
|
parentModel: !0,
|
|
11431
11434
|
instanceProps: i,
|
|
@@ -11449,7 +11452,7 @@ class ts extends uu {
|
|
|
11449
11452
|
if (fa(this.as, r)) {
|
|
11450
11453
|
let a = s[this.itemsIndexAs];
|
|
11451
11454
|
r == this.as && (this.items[a] = n);
|
|
11452
|
-
let l =
|
|
11455
|
+
let l = xt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
11453
11456
|
this.notifyPath(l, n);
|
|
11454
11457
|
}
|
|
11455
11458
|
}
|
|
@@ -11500,7 +11503,7 @@ class ts extends uu {
|
|
|
11500
11503
|
* @param {number=} delay Delay in ms to debounce by.
|
|
11501
11504
|
*/
|
|
11502
11505
|
__debounceRender(t, e = 0) {
|
|
11503
|
-
this.__renderDebouncer =
|
|
11506
|
+
this.__renderDebouncer = Vt.debounce(
|
|
11504
11507
|
this.__renderDebouncer,
|
|
11505
11508
|
e > 0 ? ya.after(e) : js,
|
|
11506
11509
|
t.bind(this)
|
|
@@ -11779,7 +11782,7 @@ const du = (o) => class extends so(o) {
|
|
|
11779
11782
|
const r = new Date(0, 0);
|
|
11780
11783
|
r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1);
|
|
11781
11784
|
const n = new Date(0, 0);
|
|
11782
|
-
return n.setFullYear(e.getFullYear()), n.setMonth(e.getMonth() + 1), n.setDate(0), i && s && i.getMonth() === s.getMonth() && i.getMonth() === e.getMonth() && s.getDate() - i.getDate() >= 0 ? !1 : !
|
|
11785
|
+
return n.setFullYear(e.getFullYear()), n.setMonth(e.getMonth() + 1), n.setDate(0), i && s && i.getMonth() === s.getMonth() && i.getMonth() === e.getMonth() && s.getDate() - i.getDate() >= 0 ? !1 : !it(r, i, s) && !it(n, i, s);
|
|
11783
11786
|
}
|
|
11784
11787
|
/** @protected */
|
|
11785
11788
|
_getTitle(e, i) {
|
|
@@ -11936,9 +11939,9 @@ const hu = P`
|
|
|
11936
11939
|
L("vaadin-month-calendar", hu, {
|
|
11937
11940
|
moduleId: "vaadin-month-calendar-styles"
|
|
11938
11941
|
});
|
|
11939
|
-
class pu extends du(
|
|
11942
|
+
class pu extends du(je(Fe)) {
|
|
11940
11943
|
static get template() {
|
|
11941
|
-
return
|
|
11944
|
+
return Ue`
|
|
11942
11945
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
11943
11946
|
<table
|
|
11944
11947
|
id="monthGrid"
|
|
@@ -12014,7 +12017,7 @@ class pu extends du(Ve(Fe)) {
|
|
|
12014
12017
|
/** @private */
|
|
12015
12018
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
12016
12019
|
__getDatePart(t, e, i, s, r, n) {
|
|
12017
|
-
const a = ["date"], l = t >
|
|
12020
|
+
const a = ["date"], l = t > zi(/* @__PURE__ */ new Date()), c = t < zi(/* @__PURE__ */ new Date());
|
|
12018
12021
|
return this.__isDayDisabled(t, s, r, 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(" ");
|
|
12019
12022
|
}
|
|
12020
12023
|
/** @private */
|
|
@@ -12032,7 +12035,7 @@ class pu extends du(Ve(Fe)) {
|
|
|
12032
12035
|
}
|
|
12033
12036
|
/** @private */
|
|
12034
12037
|
__isDayDisabled(t, e, i, s) {
|
|
12035
|
-
return !
|
|
12038
|
+
return !it(t, e, i, s);
|
|
12036
12039
|
}
|
|
12037
12040
|
/** @private */
|
|
12038
12041
|
__getDayAriaDisabled(t, e, i, s) {
|
|
@@ -12401,7 +12404,7 @@ const fu = (o) => class extends o {
|
|
|
12401
12404
|
}
|
|
12402
12405
|
/** @private */
|
|
12403
12406
|
_doIgnoreTaps() {
|
|
12404
|
-
this._ignoreTaps = !0, this._debouncer =
|
|
12407
|
+
this._ignoreTaps = !0, this._debouncer = tt.debounce(this._debouncer, Yt.after(300), () => {
|
|
12405
12408
|
this._ignoreTaps = !1;
|
|
12406
12409
|
});
|
|
12407
12410
|
}
|
|
@@ -12624,13 +12627,13 @@ const fu = (o) => class extends o {
|
|
|
12624
12627
|
}
|
|
12625
12628
|
}
|
|
12626
12629
|
focusDate(e, i) {
|
|
12627
|
-
return
|
|
12630
|
+
return rt(this, null, function* () {
|
|
12628
12631
|
const s = e || this.selectedDate || this.initialPosition || /* @__PURE__ */ new Date();
|
|
12629
12632
|
this.focusedDate = s, i || (this._focusedMonthDate = s.getDate()), yield this.focusDateElement(!1);
|
|
12630
12633
|
});
|
|
12631
12634
|
}
|
|
12632
12635
|
focusDateElement(e = !0) {
|
|
12633
|
-
return
|
|
12636
|
+
return rt(this, null, function* () {
|
|
12634
12637
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((i) => {
|
|
12635
12638
|
nr(this, () => {
|
|
12636
12639
|
no(), i();
|
|
@@ -12668,7 +12671,7 @@ const fu = (o) => class extends o {
|
|
|
12668
12671
|
}
|
|
12669
12672
|
/** @private */
|
|
12670
12673
|
_dateAllowed(e, i = this.minDate, s = this.maxDate, r = this.isDateDisabled) {
|
|
12671
|
-
return
|
|
12674
|
+
return it(e, i, s, r);
|
|
12672
12675
|
}
|
|
12673
12676
|
/** @private */
|
|
12674
12677
|
_isTodayAllowed(e, i, s) {
|
|
@@ -12761,10 +12764,10 @@ L("vaadin-date-picker-overlay-content", mu, {
|
|
|
12761
12764
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12762
12765
|
});
|
|
12763
12766
|
class _u extends fu(
|
|
12764
|
-
|
|
12767
|
+
st(je(qt(Fe)))
|
|
12765
12768
|
) {
|
|
12766
12769
|
static get template() {
|
|
12767
|
-
return
|
|
12770
|
+
return Ue`
|
|
12768
12771
|
<div part="overlay-header" on-touchend="_preventDefault" aria-hidden="true">
|
|
12769
12772
|
<div part="label">[[_formatDisplayed(selectedDate, i18n, label)]]</div>
|
|
12770
12773
|
<div part="clear-button" hidden$="[[!selectedDate]]"></div>
|
|
@@ -12957,9 +12960,9 @@ const Tr = V(
|
|
|
12957
12960
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12958
12961
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12959
12962
|
*/
|
|
12960
|
-
const
|
|
12963
|
+
const pi = /* @__PURE__ */ new WeakMap();
|
|
12961
12964
|
function gu(o) {
|
|
12962
|
-
return
|
|
12965
|
+
return pi.has(o) || pi.set(o, /* @__PURE__ */ new Set()), pi.get(o);
|
|
12963
12966
|
}
|
|
12964
12967
|
function bu(o, t) {
|
|
12965
12968
|
const e = document.createElement("style");
|
|
@@ -13196,7 +13199,7 @@ const Mr = V(
|
|
|
13196
13199
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13197
13200
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13198
13201
|
*/
|
|
13199
|
-
const yu = (o) => class extends Mr(
|
|
13202
|
+
const yu = (o) => class extends Mr(Jt(o)) {
|
|
13200
13203
|
static get properties() {
|
|
13201
13204
|
return {
|
|
13202
13205
|
/**
|
|
@@ -13271,9 +13274,9 @@ const yu = (o) => class extends Mr(Xt(o)) {
|
|
|
13271
13274
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
13272
13275
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13273
13276
|
*/
|
|
13274
|
-
const
|
|
13277
|
+
const fi = /* @__PURE__ */ new Map();
|
|
13275
13278
|
function co(o) {
|
|
13276
|
-
return
|
|
13279
|
+
return fi.has(o) || fi.set(o, /* @__PURE__ */ new WeakMap()), fi.get(o);
|
|
13277
13280
|
}
|
|
13278
13281
|
function Or(o, t) {
|
|
13279
13282
|
o && o.removeAttribute(t);
|
|
@@ -13284,16 +13287,16 @@ function Ir(o, t) {
|
|
|
13284
13287
|
const e = co(t);
|
|
13285
13288
|
if (e.has(o))
|
|
13286
13289
|
return;
|
|
13287
|
-
const i =
|
|
13290
|
+
const i = Zi(o.getAttribute(t));
|
|
13288
13291
|
e.set(o, new Set(i));
|
|
13289
13292
|
}
|
|
13290
13293
|
function xu(o, t) {
|
|
13291
|
-
if (!o)
|
|
13294
|
+
if (!o || !t)
|
|
13292
13295
|
return;
|
|
13293
13296
|
const e = co(t), i = e.get(o);
|
|
13294
|
-
!i || i.size === 0 ? o.removeAttribute(t) : ur(o, t,
|
|
13297
|
+
!i || i.size === 0 ? o.removeAttribute(t) : ur(o, t, Gt(i)), e.delete(o);
|
|
13295
13298
|
}
|
|
13296
|
-
function
|
|
13299
|
+
function mi(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13297
13300
|
if (!o || !t)
|
|
13298
13301
|
return;
|
|
13299
13302
|
const { newId: i, oldId: s, fromUser: r } = e, n = co(t), a = n.get(o);
|
|
@@ -13302,7 +13305,7 @@ function _i(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13302
13305
|
return;
|
|
13303
13306
|
}
|
|
13304
13307
|
r && (a ? i || n.delete(o) : Ir(o, t), Or(o, t)), Jl(o, t, s);
|
|
13305
|
-
const l = i ||
|
|
13308
|
+
const l = i || Gt(a);
|
|
13306
13309
|
l && ur(o, t, l);
|
|
13307
13310
|
}
|
|
13308
13311
|
function wu(o, t) {
|
|
@@ -13395,7 +13398,7 @@ class Eu {
|
|
|
13395
13398
|
* @private
|
|
13396
13399
|
*/
|
|
13397
13400
|
__setLabelIdToAriaAttribute(t, e, i) {
|
|
13398
|
-
|
|
13401
|
+
mi(this.__target, "aria-labelledby", { newId: t, oldId: e, fromUser: i });
|
|
13399
13402
|
}
|
|
13400
13403
|
/**
|
|
13401
13404
|
* @param {string | null | undefined} errorId
|
|
@@ -13403,7 +13406,7 @@ class Eu {
|
|
|
13403
13406
|
* @private
|
|
13404
13407
|
*/
|
|
13405
13408
|
__setErrorIdToAriaAttribute(t, e) {
|
|
13406
|
-
|
|
13409
|
+
mi(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
13407
13410
|
}
|
|
13408
13411
|
/**
|
|
13409
13412
|
* @param {string | null | undefined} helperId
|
|
@@ -13411,7 +13414,7 @@ class Eu {
|
|
|
13411
13414
|
* @private
|
|
13412
13415
|
*/
|
|
13413
13416
|
__setHelperIdToAriaAttribute(t, e) {
|
|
13414
|
-
|
|
13417
|
+
mi(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
13415
13418
|
}
|
|
13416
13419
|
/**
|
|
13417
13420
|
* @param {boolean} required
|
|
@@ -13431,12 +13434,12 @@ pe.style.position = "fixed";
|
|
|
13431
13434
|
pe.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
13432
13435
|
pe.setAttribute("aria-live", "polite");
|
|
13433
13436
|
document.body.appendChild(pe);
|
|
13434
|
-
let
|
|
13437
|
+
let It;
|
|
13435
13438
|
function Su(o, t = {}) {
|
|
13436
13439
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13437
|
-
e === "alert" ? (pe.removeAttribute("aria-live"), pe.removeAttribute("role"),
|
|
13440
|
+
e === "alert" ? (pe.removeAttribute("aria-live"), pe.removeAttribute("role"), It = tt.debounce(It, hc, () => {
|
|
13438
13441
|
pe.setAttribute("role", "alert");
|
|
13439
|
-
})) : (
|
|
13442
|
+
})) : (It && It.cancel(), pe.removeAttribute("role"), pe.setAttribute("aria-live", e)), pe.textContent = "", setTimeout(() => {
|
|
13440
13443
|
pe.textContent = o;
|
|
13441
13444
|
}, i);
|
|
13442
13445
|
}
|
|
@@ -13447,7 +13450,7 @@ function Su(o, t = {}) {
|
|
|
13447
13450
|
*/
|
|
13448
13451
|
class uo extends Be {
|
|
13449
13452
|
constructor(t, e, i, s = {}) {
|
|
13450
|
-
super(t, e, i,
|
|
13453
|
+
super(t, e, i, kt(Pt({}, s), { useUniqueId: !0 }));
|
|
13451
13454
|
}
|
|
13452
13455
|
/**
|
|
13453
13456
|
* Override to initialize the newly added custom node.
|
|
@@ -13751,7 +13754,7 @@ class Pu extends uo {
|
|
|
13751
13754
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13752
13755
|
*/
|
|
13753
13756
|
const ku = V(
|
|
13754
|
-
(o) => class extends
|
|
13757
|
+
(o) => class extends st(o) {
|
|
13755
13758
|
static get properties() {
|
|
13756
13759
|
return {
|
|
13757
13760
|
/**
|
|
@@ -13865,7 +13868,7 @@ const Fr = V(
|
|
|
13865
13868
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13866
13869
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13867
13870
|
*/
|
|
13868
|
-
const Du = (o) => class extends Fr(ku(
|
|
13871
|
+
const Du = (o) => class extends Fr(ku(st(o))) {
|
|
13869
13872
|
static get properties() {
|
|
13870
13873
|
return {
|
|
13871
13874
|
/**
|
|
@@ -14173,7 +14176,7 @@ const Nr = V(
|
|
|
14173
14176
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14174
14177
|
*/
|
|
14175
14178
|
const Mu = (o) => class extends vu(
|
|
14176
|
-
Tr(Nr(Du(yu(
|
|
14179
|
+
Tr(Nr(Du(yu(Jt(o)))))
|
|
14177
14180
|
) {
|
|
14178
14181
|
static get properties() {
|
|
14179
14182
|
return {
|
|
@@ -14305,7 +14308,7 @@ const Mu = (o) => class extends vu(
|
|
|
14305
14308
|
}
|
|
14306
14309
|
/** @protected */
|
|
14307
14310
|
_markInputPrevented() {
|
|
14308
|
-
this.setAttribute("input-prevented", ""), this._preventInputDebouncer =
|
|
14311
|
+
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = tt.debounce(this._preventInputDebouncer, Yt.after(200), () => {
|
|
14309
14312
|
this.removeAttribute("input-prevented");
|
|
14310
14313
|
});
|
|
14311
14314
|
}
|
|
@@ -14555,7 +14558,7 @@ class Bu {
|
|
|
14555
14558
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14556
14559
|
*/
|
|
14557
14560
|
const Hu = (o) => class extends Ru(
|
|
14558
|
-
|
|
14561
|
+
st(Tr(Nr(Jt(o))))
|
|
14559
14562
|
) {
|
|
14560
14563
|
static get properties() {
|
|
14561
14564
|
return {
|
|
@@ -14759,7 +14762,7 @@ const Hu = (o) => class extends Ru(
|
|
|
14759
14762
|
let r, n = s.getMonth(), a = s.getFullYear();
|
|
14760
14763
|
if (i.length === 3) {
|
|
14761
14764
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14762
|
-
const l = this.referenceDate ?
|
|
14765
|
+
const l = this.referenceDate ? ut(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14763
14766
|
a = Hc(l, a, n, r);
|
|
14764
14767
|
}
|
|
14765
14768
|
} else
|
|
@@ -14922,7 +14925,7 @@ const Hu = (o) => class extends Ru(
|
|
|
14922
14925
|
* @protected
|
|
14923
14926
|
*/
|
|
14924
14927
|
_onFocus(e) {
|
|
14925
|
-
super._onFocus(e), this._noInput && !
|
|
14928
|
+
super._onFocus(e), this._noInput && !Xi() && e.target.blur();
|
|
14926
14929
|
}
|
|
14927
14930
|
/**
|
|
14928
14931
|
* Override an event listener from `DelegateFocusMixin`
|
|
@@ -14984,7 +14987,7 @@ const Hu = (o) => class extends Ru(
|
|
|
14984
14987
|
if (!this.i18n.parseDate)
|
|
14985
14988
|
return;
|
|
14986
14989
|
let i = this.i18n.parseDate(e);
|
|
14987
|
-
if (i && (i =
|
|
14990
|
+
if (i && (i = ut(`${i.year}-${i.month + 1}-${i.day}`)), i && !isNaN(i.getTime()))
|
|
14988
14991
|
return i;
|
|
14989
14992
|
}
|
|
14990
14993
|
/**
|
|
@@ -15003,7 +15006,7 @@ const Hu = (o) => class extends Ru(
|
|
|
15003
15006
|
* @return {boolean} True if the value is valid
|
|
15004
15007
|
*/
|
|
15005
15008
|
checkValidity() {
|
|
15006
|
-
const e = this._inputElementValue, i = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), s = !this._selectedDate ||
|
|
15009
|
+
const e = this._inputElementValue, i = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), s = !this._selectedDate || it(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
|
|
15007
15010
|
let r = !0;
|
|
15008
15011
|
return this.inputElement && (this.inputElement.checkValidity ? r = this.inputElement.checkValidity() : this.inputElement.validate && (r = this.inputElement.validate())), i && s && r;
|
|
15009
15012
|
}
|
|
@@ -15126,7 +15129,7 @@ const Hu = (o) => class extends Ru(
|
|
|
15126
15129
|
* @override
|
|
15127
15130
|
*/
|
|
15128
15131
|
_valueChanged(e, i) {
|
|
15129
|
-
const s =
|
|
15132
|
+
const s = ut(e);
|
|
15130
15133
|
if (e && !s) {
|
|
15131
15134
|
this.value = i;
|
|
15132
15135
|
return;
|
|
@@ -15165,8 +15168,8 @@ const Hu = (o) => class extends Ru(
|
|
|
15165
15168
|
}
|
|
15166
15169
|
/** @private */
|
|
15167
15170
|
_getInitialPosition() {
|
|
15168
|
-
const e =
|
|
15169
|
-
return e ||
|
|
15171
|
+
const e = ut(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15172
|
+
return e || it(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? wr(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15170
15173
|
}
|
|
15171
15174
|
/**
|
|
15172
15175
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15304,7 +15307,7 @@ const Hu = (o) => class extends Ru(
|
|
|
15304
15307
|
}
|
|
15305
15308
|
/** @private */
|
|
15306
15309
|
__computeMinOrMaxDate(e) {
|
|
15307
|
-
return
|
|
15310
|
+
return ut(e);
|
|
15308
15311
|
}
|
|
15309
15312
|
/**
|
|
15310
15313
|
* Fired when the user commits a value change.
|
|
@@ -15347,12 +15350,12 @@ const $u = P`
|
|
|
15347
15350
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15348
15351
|
*/
|
|
15349
15352
|
L("vaadin-date-picker", [Lu, $u], { moduleId: "vaadin-date-picker-styles" });
|
|
15350
|
-
class Yu extends Hu(Mu(
|
|
15353
|
+
class Yu extends Hu(Mu(je(pr(Fe)))) {
|
|
15351
15354
|
static get is() {
|
|
15352
15355
|
return "vaadin-date-picker";
|
|
15353
15356
|
}
|
|
15354
15357
|
static get template() {
|
|
15355
|
-
return
|
|
15358
|
+
return Ue`
|
|
15356
15359
|
<div class="vaadin-date-picker-container">
|
|
15357
15360
|
<div part="label">
|
|
15358
15361
|
<slot name="label"></slot>
|
|
@@ -15440,7 +15443,7 @@ var zr = { exports: {} };
|
|
|
15440
15443
|
(function(o, t) {
|
|
15441
15444
|
(function(e, i) {
|
|
15442
15445
|
o.exports = i();
|
|
15443
|
-
})(
|
|
15446
|
+
})(Vr, function() {
|
|
15444
15447
|
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, s = /\d\d/, r = /\d\d?/, n = /\d*[^-_:/,()\s\d]+/, a = {}, l = function(p) {
|
|
15445
15448
|
return (p = +p) + (p > 68 ? 1900 : 2e3);
|
|
15446
15449
|
}, c = function(p) {
|
|
@@ -15567,7 +15570,7 @@ var zr = { exports: {} };
|
|
|
15567
15570
|
});
|
|
15568
15571
|
})(zr);
|
|
15569
15572
|
var ju = zr.exports;
|
|
15570
|
-
const Vu = /* @__PURE__ */
|
|
15573
|
+
const Vu = /* @__PURE__ */ Ur(ju);
|
|
15571
15574
|
function is(o, t) {
|
|
15572
15575
|
Wr(o, t);
|
|
15573
15576
|
}
|
|
@@ -15603,8 +15606,8 @@ const os = {
|
|
|
15603
15606
|
SelfExclusionUntilSelectedDate: "Until",
|
|
15604
15607
|
confirmationModalTitle: "Confirmation",
|
|
15605
15608
|
selfExclusionSuccess: "Self exclusion active",
|
|
15606
|
-
|
|
15607
|
-
|
|
15609
|
+
confirmationModalTextPeriodSelfExclusion: "Are you sure you want to self-exclude for {period}?",
|
|
15610
|
+
confirmationModalTextUntilSelfExclusion: "Are you sure you want to self-exclude until {date}?",
|
|
15608
15611
|
errorSelfExclusionCall: "There was a problem while making the self exclusion request.",
|
|
15609
15612
|
generalError: "There was an error while fetching the self exclusion.",
|
|
15610
15613
|
InvalidSession: "The session is exipired."
|
|
@@ -15637,8 +15640,8 @@ const os = {
|
|
|
15637
15640
|
SelfExclusionUntilSelectedDate: "Until",
|
|
15638
15641
|
confirmationModalTitle: "Confirmation",
|
|
15639
15642
|
selfExclusionSuccess: "Self exclusion active",
|
|
15640
|
-
|
|
15641
|
-
|
|
15643
|
+
confirmationModalTextPeriodSelfExclusion: "Are you sure you want to self-exclude for {period}?",
|
|
15644
|
+
confirmationModalTextUntilSelfExclusion: "Are you sure you want to self-exclude until {date}?",
|
|
15642
15645
|
errorSelfExclusionCall: "There was a problem while making the self exclusion request.",
|
|
15643
15646
|
generalError: "There was an error while fetching the self exclusion.",
|
|
15644
15647
|
InvalidSession: "The session is exipired."
|
|
@@ -15671,8 +15674,8 @@ const os = {
|
|
|
15671
15674
|
SelfExclusionUntilSelectedDate: "直到",
|
|
15672
15675
|
selfExclusionSuccess: "自我排斥活躍",
|
|
15673
15676
|
confirmationModalTitle: "確認",
|
|
15674
|
-
|
|
15675
|
-
|
|
15677
|
+
confirmationModalTextPeriodSelfExclusion: "您確定要自我排除 {period} 嗎?",
|
|
15678
|
+
confirmationModalTextUntilSelfExclusion: "您確定要自我排除直到 {date} 嗎?",
|
|
15676
15679
|
generalError: "提取自我排除时发生错误。",
|
|
15677
15680
|
errorSelfExclusionCall: "发出自我排除请求时出现问题。",
|
|
15678
15681
|
InvalidSession: "会话已过期。"
|
|
@@ -15705,8 +15708,8 @@ const os = {
|
|
|
15705
15708
|
SelfExclusionUntilSelectedDate: "Jusqu'à",
|
|
15706
15709
|
selfExclusionSuccess: "Auto exclusion active",
|
|
15707
15710
|
confirmationModalTitle: "Confirmation",
|
|
15708
|
-
|
|
15709
|
-
|
|
15711
|
+
confirmationModalTextPeriodSelfExclusion: "Êtes-vous sûr de vouloir vous auto-exclure pour {period} ?",
|
|
15712
|
+
confirmationModalTextUntilSelfExclusion: "Êtes-vous sûr de vouloir vous auto-exclure jusqu'au {date} ?",
|
|
15710
15713
|
generalError: "Une erreur s'est produite lors de la récupération de l'auto-exclusion.",
|
|
15711
15714
|
errorSelfExclusionCall: "Un problème est survenu lors de la demande d'auto-exclusion.",
|
|
15712
15715
|
InvalidSession: "La session a expiré."
|
|
@@ -15739,8 +15742,8 @@ const os = {
|
|
|
15739
15742
|
SelfExclusionUntilSelectedDate: "Până la",
|
|
15740
15743
|
selfExclusionSuccess: "Auto-excludere activa",
|
|
15741
15744
|
confirmationModalTitle: "Confirmare",
|
|
15742
|
-
|
|
15743
|
-
|
|
15745
|
+
confirmationModalTextPeriodSelfExclusion: "Sunteți sigur că doriți să vă auto-excludeți pentru {period}?",
|
|
15746
|
+
confirmationModalTextUntilSelfExclusion: "Sunteți sigur că doriți să vă auto-excludeți până la {date}?",
|
|
15744
15747
|
generalError: "A apărut o eroare la preluarea auto-excluderii.",
|
|
15745
15748
|
errorSelfExclusionCall: "A apărut o problemă la efectuarea cererii de auto-excludere.",
|
|
15746
15749
|
InvalidSession: "Sesiunea a expirat."
|
|
@@ -15773,8 +15776,8 @@ const os = {
|
|
|
15773
15776
|
SelfExclusionUntilSelectedDate: "Hasta",
|
|
15774
15777
|
selfExclusionSuccess: "Auto Exclusión activa.",
|
|
15775
15778
|
confirmationModalTitle: "Confirmación",
|
|
15776
|
-
|
|
15777
|
-
|
|
15779
|
+
confirmationModalTextPeriodSelfExclusion: "¿Estás seguro de que deseas autoexcluirte por {period}?",
|
|
15780
|
+
confirmationModalTextUntilSelfExclusion: "¿Estás seguro de que deseas autoexcluirte hasta {date}?",
|
|
15778
15781
|
generalError: "Hubo un error al obtener la autoexclusión.",
|
|
15779
15782
|
errorSelfExclusionCall: "Hubo un problema al hacer la solicitud de autoexclusión.",
|
|
15780
15783
|
InvalidSession: "La sesión ha expirado."
|
|
@@ -15807,8 +15810,8 @@ const os = {
|
|
|
15807
15810
|
SelfExclusionUntilSelectedDate: "Até",
|
|
15808
15811
|
selfExclusionSuccess: "Autoexclusão ativa",
|
|
15809
15812
|
confirmationModalTitle: "Confirmação",
|
|
15810
|
-
|
|
15811
|
-
|
|
15813
|
+
confirmationModalTextPeriodSelfExclusion: "Tem a certeza de que deseja autoexcluir-se por {period}?",
|
|
15814
|
+
confirmationModalTextUntilSelfExclusion: "Tem a certeza de que deseja autoexcluir-se até {date}?",
|
|
15812
15815
|
generalError: "Ocorreu um erro ao buscar a autoexclusão.",
|
|
15813
15816
|
errorSelfExclusionCall: "Ocorreu um problema ao fazer a solicitação de autoexclusão.",
|
|
15814
15817
|
InvalidSession: "A sessão expirou."
|
|
@@ -15841,8 +15844,8 @@ const os = {
|
|
|
15841
15844
|
SelfExclusionUntilSelectedDate: "Do",
|
|
15842
15845
|
selfExclusionSuccess: "Aktivno samoisključivanje",
|
|
15843
15846
|
confirmationModalTitle: "Potvrda",
|
|
15844
|
-
|
|
15845
|
-
|
|
15847
|
+
confirmationModalTextPeriodSelfExclusion: "Jeste li sigurni da se želite samoisključiti na {period}?",
|
|
15848
|
+
confirmationModalTextUntilSelfExclusion: "Jeste li sigurni da se želite samoisključiti do {date}?",
|
|
15846
15849
|
generalError: "Došlo je do pogreške prilikom dohvaćanja samoisključenja.",
|
|
15847
15850
|
errorSelfExclusionCall: "Došlo je do problema prilikom slanja zahtjeva za samoisključenje.",
|
|
15848
15851
|
InvalidSession: "Sesija je istekla."
|
|
@@ -15875,8 +15878,8 @@ const os = {
|
|
|
15875
15878
|
SelfExclusionUntilSelectedDate: "Até",
|
|
15876
15879
|
selfExclusionSuccess: "Autoexclusão ativa",
|
|
15877
15880
|
confirmationModalTitle: "Confirmação",
|
|
15878
|
-
|
|
15879
|
-
|
|
15881
|
+
confirmationModalTextPeriodSelfExclusion: "Você tem certeza de que deseja se autoexcluir por {period}?",
|
|
15882
|
+
confirmationModalTextUntilSelfExclusion: "Você tem certeza de que deseja se autoexcluir até {date}?",
|
|
15880
15883
|
generalError: "Houve um erro ao buscar a autoexclusão.",
|
|
15881
15884
|
errorSelfExclusionCall: "Houve um problema ao fazer a solicitação de autoexclusão.",
|
|
15882
15885
|
InvalidSession: "A sessão expirou."
|
|
@@ -15909,8 +15912,8 @@ const os = {
|
|
|
15909
15912
|
SelfExclusionUntilSelectedDate: "Hasta",
|
|
15910
15913
|
selfExclusionSuccess: "Auto-exclusión activa",
|
|
15911
15914
|
confirmationModalTitle: "Confirmación",
|
|
15912
|
-
|
|
15913
|
-
|
|
15915
|
+
confirmationModalTextPeriodSelfExclusion: "¿Estás seguro de que deseas autoexcluirte por {period}?",
|
|
15916
|
+
confirmationModalTextUntilSelfExclusion: "¿Estás seguro de que deseas autoexcluirte hasta {date}?",
|
|
15914
15917
|
generalError: "Hubo un error al obtener la autoexclusión.",
|
|
15915
15918
|
errorSelfExclusionCall: "Hubo un problema al hacer la solicitud de autoexclusión.",
|
|
15916
15919
|
InvalidSession: "La sesión ha expirado."
|
|
@@ -15943,15 +15946,15 @@ const os = {
|
|
|
15943
15946
|
SelfExclusionUntilSelectedDate: "Tarihe kadar",
|
|
15944
15947
|
selfExclusionSuccess: "Kendini dışlama etkin",
|
|
15945
15948
|
confirmationModalTitle: "Onay",
|
|
15946
|
-
|
|
15947
|
-
|
|
15949
|
+
confirmationModalTextPeriodSelfExclusion: "{period} için kendinizi hariç tutmak istediğinizden emin misiniz?",
|
|
15950
|
+
confirmationModalTextUntilSelfExclusion: "{date} tarihine kadar kendinizi hariç tutmak istediğinizden emin misiniz?",
|
|
15948
15951
|
generalError: "Kendi kendini dışlama alınırken bir hata oluştu.",
|
|
15949
15952
|
errorSelfExclusionCall: "Kendi kendini dışlama isteği yapılırken bir sorun oluştu.",
|
|
15950
15953
|
InvalidSession: "Oturum süresi doldu."
|
|
15951
15954
|
}
|
|
15952
15955
|
};
|
|
15953
15956
|
function Wu(o) {
|
|
15954
|
-
|
|
15957
|
+
Zr(o, "svelte-gvegix", '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:600px;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}}');
|
|
15955
15958
|
}
|
|
15956
15959
|
function ss(o, t, e) {
|
|
15957
15960
|
const i = o.slice();
|
|
@@ -16023,21 +16026,21 @@ function qu(o) {
|
|
|
16023
16026
|
), C = I(), A = w("div"), k = w("div"), G = w("p"), $ = ne(U), R = I(), T = Ae("svg"), F = Ae("g"), N = Ae("path"), X = I(), B = w("div");
|
|
16024
16027
|
for (let x = 0; x < O.length; x += 1)
|
|
16025
16028
|
O[x].c();
|
|
16026
|
-
ie = I(), z && z.c(), he = I(), q = w("div"), J.c(), Z = I(), Y = w("div"), H = w("button"), fe = ne(Q), De = I(), _e && _e.c(), Te =
|
|
16029
|
+
ie = I(), z && z.c(), he = I(), q = w("div"), J.c(), Z = I(), Y = w("div"), H = w("button"), fe = ne(Q), De = I(), _e && _e.c(), Te = nn(), E(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
16027
16030
|
(o[22] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(_, "href", v = "mailto:" + /*supportemail*/
|
|
16028
16031
|
o[2]), E(h, "class", "SelfExclusionDescriptionText"), E(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16029
|
-
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E(N, "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"), E(N, "stroke-linecap", "round"), E(T, "xmlns", "http://www.w3.org/2000/svg"), E(T, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(T, "version", "1.1"), E(T, "viewBox", "0 0 100 100"), E(T, "xml:space", "preserve"), E(T, "class", "SelfExclusionConfigIcon"),
|
|
16032
|
+
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E(N, "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"), E(N, "stroke-linecap", "round"), E(T, "xmlns", "http://www.w3.org/2000/svg"), E(T, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(T, "version", "1.1"), E(T, "viewBox", "0 0 100 100"), E(T, "xml:space", "preserve"), E(T, "class", "SelfExclusionConfigIcon"), We(
|
|
16030
16033
|
T,
|
|
16031
16034
|
"active",
|
|
16032
16035
|
/*isPeriodDropDownToggled*/
|
|
16033
16036
|
o[18]
|
|
16034
|
-
), E(k, "class", "SelfExclusionConfigLabel"), E(B, "class", "SelfExclusionDropDown"),
|
|
16037
|
+
), E(k, "class", "SelfExclusionConfigLabel"), E(B, "class", "SelfExclusionDropDown"), We(
|
|
16035
16038
|
B,
|
|
16036
16039
|
"active",
|
|
16037
16040
|
/*isPeriodDropDownToggled*/
|
|
16038
16041
|
o[18]
|
|
16039
16042
|
), E(A, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
|
|
16040
|
-
(o[22] ? "SelfExclusionConfigWrapperMobile" : "")),
|
|
16043
|
+
(o[22] ? "SelfExclusionConfigWrapperMobile" : "")), We(
|
|
16041
16044
|
A,
|
|
16042
16045
|
"active",
|
|
16043
16046
|
/*isPeriodDropDownToggled*/
|
|
@@ -16050,17 +16053,17 @@ function qu(o) {
|
|
|
16050
16053
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16051
16054
|
},
|
|
16052
16055
|
m(x, M) {
|
|
16053
|
-
|
|
16056
|
+
ae(x, t, M), f(t, e), ee && ee.m(e, null), f(e, i), f(e, s), f(s, n), f(e, a), f(e, l), f(l, c), c.innerHTML = u, f(l, d), f(l, h), f(h, g), f(h, p), f(h, _), f(_, y), f(e, C), f(e, A), f(A, k), f(k, G), f(G, $), f(k, R), f(k, T), f(T, F), f(F, N), f(A, X), f(A, B);
|
|
16054
16057
|
for (let j = 0; j < O.length; j += 1)
|
|
16055
16058
|
O[j] && O[j].m(B, null);
|
|
16056
|
-
f(e, ie), z && z.m(e, null), f(e, he), f(e, q), J.m(q, null), f(e, Z), f(e, Y), f(Y, H), f(H, fe),
|
|
16057
|
-
|
|
16059
|
+
f(e, ie), z && z.m(e, null), f(e, he), f(e, q), J.m(q, null), f(e, Z), f(e, Y), f(Y, H), f(H, fe), ae(x, De, M), _e && _e.m(x, M), ae(x, Te, M), ve || (ye = [
|
|
16060
|
+
zt(
|
|
16058
16061
|
k,
|
|
16059
16062
|
"click",
|
|
16060
16063
|
/*click_handler_1*/
|
|
16061
16064
|
o[37]
|
|
16062
16065
|
),
|
|
16063
|
-
|
|
16066
|
+
zt(
|
|
16064
16067
|
H,
|
|
16065
16068
|
"click",
|
|
16066
16069
|
/*click_handler_3*/
|
|
@@ -16103,7 +16106,7 @@ function qu(o) {
|
|
|
16103
16106
|
1056768 && U !== (U = /*$_*/
|
|
16104
16107
|
x[20](`${/*selectedPeriodKey*/
|
|
16105
16108
|
x[13]}`) + "") && de($, U), M[0] & /*isPeriodDropDownToggled*/
|
|
16106
|
-
262144 &&
|
|
16109
|
+
262144 && We(
|
|
16107
16110
|
T,
|
|
16108
16111
|
"active",
|
|
16109
16112
|
/*isPeriodDropDownToggled*/
|
|
@@ -16117,21 +16120,21 @@ function qu(o) {
|
|
|
16117
16120
|
);
|
|
16118
16121
|
let j;
|
|
16119
16122
|
for (j = 0; j < ce.length; j += 1) {
|
|
16120
|
-
const
|
|
16121
|
-
O[j] ? O[j].p(
|
|
16123
|
+
const Ct = ss(x, ce, j);
|
|
16124
|
+
O[j] ? O[j].p(Ct, M) : (O[j] = rs(Ct), O[j].c(), O[j].m(B, null));
|
|
16122
16125
|
}
|
|
16123
16126
|
for (; j < O.length; j += 1)
|
|
16124
16127
|
O[j].d(1);
|
|
16125
16128
|
O.length = ce.length;
|
|
16126
16129
|
}
|
|
16127
16130
|
M[0] & /*isPeriodDropDownToggled*/
|
|
16128
|
-
262144 &&
|
|
16131
|
+
262144 && We(
|
|
16129
16132
|
B,
|
|
16130
16133
|
"active",
|
|
16131
16134
|
/*isPeriodDropDownToggled*/
|
|
16132
16135
|
x[18]
|
|
16133
16136
|
), M[0] & /*isPeriodDropDownToggled*/
|
|
16134
|
-
262144 &&
|
|
16137
|
+
262144 && We(
|
|
16135
16138
|
A,
|
|
16136
16139
|
"active",
|
|
16137
16140
|
/*isPeriodDropDownToggled*/
|
|
@@ -16147,7 +16150,7 @@ function qu(o) {
|
|
|
16147
16150
|
x[23] && _e.p(x, M);
|
|
16148
16151
|
},
|
|
16149
16152
|
d(x) {
|
|
16150
|
-
x && (
|
|
16153
|
+
x && (le(t), le(De), le(Te)), ee && ee.d(), an(O, x), z && z.d(), J.d(), _e && _e.d(x), ve = !1, ln(ye);
|
|
16151
16154
|
}
|
|
16152
16155
|
};
|
|
16153
16156
|
}
|
|
@@ -16177,7 +16180,7 @@ function Ku(o) {
|
|
|
16177
16180
|
"width",
|
|
16178
16181
|
/*isMobile*/
|
|
16179
16182
|
o[22] ? "100%" : "60%"
|
|
16180
|
-
),
|
|
16183
|
+
), Xt(
|
|
16181
16184
|
a,
|
|
16182
16185
|
"height",
|
|
16183
16186
|
/*isMobile*/
|
|
@@ -16187,7 +16190,7 @@ function Ku(o) {
|
|
|
16187
16190
|
"height",
|
|
16188
16191
|
/*isMobile*/
|
|
16189
16192
|
o[22] ? "15px" : "20px"
|
|
16190
|
-
), S(c, "width", "30%"),
|
|
16193
|
+
), S(c, "width", "30%"), Xt(d, "height", "10px"), E(s, "class", "SelfExclusionDescription"), S(g, "structure", "rectangle"), S(
|
|
16191
16194
|
g,
|
|
16192
16195
|
"width",
|
|
16193
16196
|
/*isMobile*/
|
|
@@ -16197,7 +16200,7 @@ function Ku(o) {
|
|
|
16197
16200
|
"height",
|
|
16198
16201
|
/*isMobile*/
|
|
16199
16202
|
o[22] ? "30px" : "44px"
|
|
16200
|
-
),
|
|
16203
|
+
), Xt(
|
|
16201
16204
|
_,
|
|
16202
16205
|
"height",
|
|
16203
16206
|
/*isMobile*/
|
|
@@ -16217,11 +16220,11 @@ function Ku(o) {
|
|
|
16217
16220
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16218
16221
|
},
|
|
16219
16222
|
m(R, T) {
|
|
16220
|
-
|
|
16223
|
+
ae(R, t, T), f(t, e), $.m(e, null), f(e, i), f(e, s), f(s, r), f(s, n), f(s, a), f(s, l), f(s, c), f(s, u), f(s, d), f(e, h), f(e, m), f(m, g), f(m, p), f(m, _), f(m, y), f(m, v), f(e, C), f(e, A), f(A, k);
|
|
16221
16224
|
},
|
|
16222
|
-
p:
|
|
16225
|
+
p: _i,
|
|
16223
16226
|
d(R) {
|
|
16224
|
-
R &&
|
|
16227
|
+
R && le(t), $.d();
|
|
16225
16228
|
}
|
|
16226
16229
|
};
|
|
16227
16230
|
}
|
|
@@ -16235,7 +16238,7 @@ function Gu(o) {
|
|
|
16235
16238
|
t = w("div"), e = Ae("svg"), i = Ae("defs"), s = Ae("style"), r = ne(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Ae("g"), a = Ae("g"), l = Ae("path"), c = I(), u = w("h2"), h = ne(d), E(l, "class", "aaa"), E(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(l, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(n, "transform", "translate(-20 -158)"), E(e, "xmlns", "http://www.w3.org/2000/svg"), E(e, "width", "15"), E(e, "height", "15"), E(e, "viewBox", "0 0 15 15"), E(u, "class", "PlayerSelfExclusionTitleMobile"), E(t, "class", "MenuReturnButton");
|
|
16236
16239
|
},
|
|
16237
16240
|
m(p, _) {
|
|
16238
|
-
|
|
16241
|
+
ae(p, t, _), f(t, e), f(e, i), f(i, s), f(s, r), f(e, n), f(n, a), f(a, l), f(t, c), f(t, u), f(u, h), m || (g = zt(
|
|
16239
16242
|
t,
|
|
16240
16243
|
"click",
|
|
16241
16244
|
/*click_handler*/
|
|
@@ -16248,7 +16251,7 @@ function Gu(o) {
|
|
|
16248
16251
|
p[20]("titleSelfExclusion") + "") && de(h, d);
|
|
16249
16252
|
},
|
|
16250
16253
|
d(p) {
|
|
16251
|
-
p &&
|
|
16254
|
+
p && le(t), m = !1, g();
|
|
16252
16255
|
}
|
|
16253
16256
|
};
|
|
16254
16257
|
}
|
|
@@ -16272,7 +16275,7 @@ function rs(o) {
|
|
|
16272
16275
|
t = w("div"), i = ne(e);
|
|
16273
16276
|
},
|
|
16274
16277
|
m(a, l) {
|
|
16275
|
-
|
|
16278
|
+
ae(a, t, l), f(t, i), s || (r = zt(t, "click", n), s = !0);
|
|
16276
16279
|
},
|
|
16277
16280
|
p(a, l) {
|
|
16278
16281
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
@@ -16281,7 +16284,7 @@ function rs(o) {
|
|
|
16281
16284
|
o[56].key}`) + "") && de(i, e);
|
|
16282
16285
|
},
|
|
16283
16286
|
d(a) {
|
|
16284
|
-
a &&
|
|
16287
|
+
a && le(t), s = !1, r();
|
|
16285
16288
|
}
|
|
16286
16289
|
};
|
|
16287
16290
|
}
|
|
@@ -16317,7 +16320,7 @@ function ns(o) {
|
|
|
16317
16320
|
(o[22] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16318
16321
|
},
|
|
16319
16322
|
m(p, _) {
|
|
16320
|
-
|
|
16323
|
+
ae(p, t, _), f(t, e), f(e, s), f(t, r), f(t, n), f(n, l), f(n, c), f(n, u), f(u, d), f(u, h), f(t, m), f(t, g), o[39](g);
|
|
16321
16324
|
},
|
|
16322
16325
|
p(p, _) {
|
|
16323
16326
|
_[0] & /*$_*/
|
|
@@ -16345,7 +16348,7 @@ function ns(o) {
|
|
|
16345
16348
|
);
|
|
16346
16349
|
},
|
|
16347
16350
|
d(p) {
|
|
16348
|
-
p &&
|
|
16351
|
+
p && le(t), o[39](null);
|
|
16349
16352
|
}
|
|
16350
16353
|
};
|
|
16351
16354
|
}
|
|
@@ -16369,7 +16372,7 @@ function Ju(o) {
|
|
|
16369
16372
|
t = w("p"), e = w("strong"), s = ne(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16370
16373
|
},
|
|
16371
16374
|
m(r, n) {
|
|
16372
|
-
|
|
16375
|
+
ae(r, t, n), f(t, e), f(e, s);
|
|
16373
16376
|
},
|
|
16374
16377
|
p(r, n) {
|
|
16375
16378
|
n[0] & /*$_, selfExclusionExpiryDate*/
|
|
@@ -16387,7 +16390,7 @@ function Ju(o) {
|
|
|
16387
16390
|
}) + "") && de(s, i);
|
|
16388
16391
|
},
|
|
16389
16392
|
d(r) {
|
|
16390
|
-
r &&
|
|
16393
|
+
r && le(t);
|
|
16391
16394
|
}
|
|
16392
16395
|
};
|
|
16393
16396
|
}
|
|
@@ -16401,7 +16404,7 @@ function Xu(o) {
|
|
|
16401
16404
|
t = w("p"), e = w("strong"), s = ne(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16402
16405
|
},
|
|
16403
16406
|
m(r, n) {
|
|
16404
|
-
|
|
16407
|
+
ae(r, t, n), f(t, e), f(e, s);
|
|
16405
16408
|
},
|
|
16406
16409
|
p(r, n) {
|
|
16407
16410
|
n[0] & /*$_*/
|
|
@@ -16409,7 +16412,7 @@ function Xu(o) {
|
|
|
16409
16412
|
r[20]("noPeriodSelected") + "") && de(s, i);
|
|
16410
16413
|
},
|
|
16411
16414
|
d(r) {
|
|
16412
|
-
r &&
|
|
16415
|
+
r && le(t);
|
|
16413
16416
|
}
|
|
16414
16417
|
};
|
|
16415
16418
|
}
|
|
@@ -16423,7 +16426,7 @@ function Zu(o) {
|
|
|
16423
16426
|
t = w("p"), e = w("strong"), s = ne(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16424
16427
|
},
|
|
16425
16428
|
m(r, n) {
|
|
16426
|
-
|
|
16429
|
+
ae(r, t, n), f(t, e), f(e, s);
|
|
16427
16430
|
},
|
|
16428
16431
|
p(r, n) {
|
|
16429
16432
|
n[0] & /*$_*/
|
|
@@ -16431,7 +16434,7 @@ function Zu(o) {
|
|
|
16431
16434
|
r[20]("permanentSelfExclusion") + "") && de(s, i);
|
|
16432
16435
|
},
|
|
16433
16436
|
d(r) {
|
|
16434
|
-
r &&
|
|
16437
|
+
r && le(t);
|
|
16435
16438
|
}
|
|
16436
16439
|
};
|
|
16437
16440
|
}
|
|
@@ -16473,7 +16476,7 @@ function Qu(o) {
|
|
|
16473
16476
|
), S(t, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
|
|
16474
16477
|
},
|
|
16475
16478
|
m(s, r) {
|
|
16476
|
-
|
|
16479
|
+
ae(s, t, r), f(t, e);
|
|
16477
16480
|
},
|
|
16478
16481
|
p(s, r) {
|
|
16479
16482
|
r[0] & /*$_*/
|
|
@@ -16517,7 +16520,7 @@ function Qu(o) {
|
|
|
16517
16520
|
);
|
|
16518
16521
|
},
|
|
16519
16522
|
d(s) {
|
|
16520
|
-
s &&
|
|
16523
|
+
s && le(t);
|
|
16521
16524
|
}
|
|
16522
16525
|
};
|
|
16523
16526
|
}
|
|
@@ -16528,10 +16531,10 @@ function ed(o) {
|
|
|
16528
16531
|
t = w("ui-skeleton"), S(t, "structure", "title"), S(t, "width", "100px"), S(t, "margin-top", "20px"), S(t, "margin-bottom", "20px");
|
|
16529
16532
|
},
|
|
16530
16533
|
m(e, i) {
|
|
16531
|
-
|
|
16534
|
+
ae(e, t, i);
|
|
16532
16535
|
},
|
|
16533
16536
|
d(e) {
|
|
16534
|
-
e &&
|
|
16537
|
+
e && le(t);
|
|
16535
16538
|
}
|
|
16536
16539
|
};
|
|
16537
16540
|
}
|
|
@@ -16542,10 +16545,10 @@ function td(o) {
|
|
|
16542
16545
|
t = w("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>', E(t, "class", "MenuReturnButton");
|
|
16543
16546
|
},
|
|
16544
16547
|
m(e, i) {
|
|
16545
|
-
|
|
16548
|
+
ae(e, t, i);
|
|
16546
16549
|
},
|
|
16547
16550
|
d(e) {
|
|
16548
|
-
e &&
|
|
16551
|
+
e && le(t);
|
|
16549
16552
|
}
|
|
16550
16553
|
};
|
|
16551
16554
|
}
|
|
@@ -16563,22 +16566,22 @@ function id(o) {
|
|
|
16563
16566
|
t = w("div"), s.c();
|
|
16564
16567
|
},
|
|
16565
16568
|
m(r, n) {
|
|
16566
|
-
|
|
16569
|
+
ae(r, t, n), s.m(t, null), o[41](t);
|
|
16567
16570
|
},
|
|
16568
16571
|
p(r, n) {
|
|
16569
16572
|
i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
|
|
16570
16573
|
},
|
|
16571
|
-
i:
|
|
16572
|
-
o:
|
|
16574
|
+
i: _i,
|
|
16575
|
+
o: _i,
|
|
16573
16576
|
d(r) {
|
|
16574
|
-
r &&
|
|
16577
|
+
r && le(t), s.d(), o[41](null);
|
|
16575
16578
|
}
|
|
16576
16579
|
};
|
|
16577
16580
|
}
|
|
16578
16581
|
function od(o, t, e) {
|
|
16579
16582
|
let i;
|
|
16580
|
-
|
|
16581
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: g, translationurl: p = "", hasconfirmationmodal: _ = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, k = y.toUpperCase(), G = [], U = {}, $ = window.navigator.userAgent, R, T, F = "", N = "", X = "selectAPeriod", B = "", ie = "", he =
|
|
16583
|
+
Qr(o, cn, (b) => e(20, i = b)), Ee.extend(Vu);
|
|
16584
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: g, translationurl: p = "", hasconfirmationmodal: _ = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, k = y.toUpperCase(), G = [], U = {}, $ = window.navigator.userAgent, R, T, F = "", N = "", X = "selectAPeriod", B = "", ie = "", he = en($) !== "PC", q = !1, Z = !1, Y = !1, H = !1, Q = _ === "true", fe = !0;
|
|
16582
16585
|
const Pe = () => {
|
|
16583
16586
|
fetch(p).then((oe) => oe.json()).then((oe) => {
|
|
16584
16587
|
Object.keys(oe).forEach((se) => {
|
|
@@ -16608,7 +16611,7 @@ function od(o, t, e) {
|
|
|
16608
16611
|
});
|
|
16609
16612
|
}, De = (b) => {
|
|
16610
16613
|
b.data.type === "setSelfExclusion" && O();
|
|
16611
|
-
}, Te = (b) =>
|
|
16614
|
+
}, Te = (b) => rt(this, null, function* () {
|
|
16612
16615
|
if (b.status >= 300)
|
|
16613
16616
|
U = yield b.json(), ie = U.thirdPartyResponse.errorCode, console.error(i(ie || "generalError")), window.postMessage(
|
|
16614
16617
|
{
|
|
@@ -16713,7 +16716,7 @@ function od(o, t, e) {
|
|
|
16713
16716
|
}, me = () => {
|
|
16714
16717
|
A.addEventListener("change", xe, !1), e(
|
|
16715
16718
|
8,
|
|
16716
|
-
A.i18n =
|
|
16719
|
+
A.i18n = kt(Pt({}, A.i18n), {
|
|
16717
16720
|
formatDate: (b) => Ee(new Date(b.year, b.month, b.day)).format(k),
|
|
16718
16721
|
parseDate: (b) => {
|
|
16719
16722
|
const oe = Ee(b, k);
|
|
@@ -16727,7 +16730,7 @@ function od(o, t, e) {
|
|
|
16727
16730
|
A
|
|
16728
16731
|
);
|
|
16729
16732
|
};
|
|
16730
|
-
|
|
16733
|
+
tn(() => (window.addEventListener("message", De, !1), () => {
|
|
16731
16734
|
A.removeEventListener("change", xe), window.removeEventListener("message", De);
|
|
16732
16735
|
}));
|
|
16733
16736
|
const J = () => {
|
|
@@ -16738,7 +16741,7 @@ function od(o, t, e) {
|
|
|
16738
16741
|
A = b, e(8, A);
|
|
16739
16742
|
});
|
|
16740
16743
|
}
|
|
16741
|
-
const
|
|
16744
|
+
const Ct = (b) => ce(b);
|
|
16742
16745
|
function Rr(b) {
|
|
16743
16746
|
fo[b ? "unshift" : "push"](() => {
|
|
16744
16747
|
C = b, e(7, C);
|
|
@@ -16753,8 +16756,8 @@ function od(o, t, e) {
|
|
|
16753
16756
|
1 && s && r && n && l && ke(), o.$$.dirty[0] & /*calendar*/
|
|
16754
16757
|
256 && A && me(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16755
16758
|
144 && h && C && rn(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16756
|
-
160 && m && C &&
|
|
16757
|
-
192 && g && C &&
|
|
16759
|
+
160 && m && C && on(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16760
|
+
192 && g && C && sn(C, `${g}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16758
16761
|
2 && p && Pe();
|
|
16759
16762
|
}, Q && ee(), [
|
|
16760
16763
|
a,
|
|
@@ -16797,7 +16800,7 @@ function od(o, t, e) {
|
|
|
16797
16800
|
x,
|
|
16798
16801
|
M,
|
|
16799
16802
|
j,
|
|
16800
|
-
|
|
16803
|
+
Ct,
|
|
16801
16804
|
Rr
|
|
16802
16805
|
];
|
|
16803
16806
|
}
|
|
@@ -16808,7 +16811,7 @@ class Lr extends Kr {
|
|
|
16808
16811
|
t,
|
|
16809
16812
|
od,
|
|
16810
16813
|
id,
|
|
16811
|
-
|
|
16814
|
+
Xr,
|
|
16812
16815
|
{
|
|
16813
16816
|
endpoint: 28,
|
|
16814
16817
|
session: 29,
|
|
@@ -16921,7 +16924,7 @@ class Lr extends Kr {
|
|
|
16921
16924
|
this.$$set({ sendnotificationemail: t }), te();
|
|
16922
16925
|
}
|
|
16923
16926
|
}
|
|
16924
|
-
|
|
16927
|
+
Jr(Lr, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16925
16928
|
const jd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16926
16929
|
__proto__: null,
|
|
16927
16930
|
default: Lr
|