@everymatrix/player-account-controller 1.61.1 → 1.62.0
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-BjsDUNrm.cjs +21 -0
- package/components/{GeneralLogout-C38FmUFl.js → GeneralLogout-CrdxxT-0.js} +649 -627
- package/components/{GeneralLogout-D-G0wJfI.js → GeneralLogout-Cs6a0Woe.js} +752 -730
- package/components/PlayerAccountBettingHistory-Bu3VS2Sg.cjs +1 -0
- package/components/PlayerAccountBettingHistory-DznJRKHH.js +329 -0
- package/components/{PlayerAccountBettingHistory-At0LtRRx.js → PlayerAccountBettingHistory-HLjCXypd.js} +126 -127
- package/components/{PlayerAccountBiometrics-DKhi-g1X.js → PlayerAccountBiometrics-CIo8pkfn.js} +22 -22
- package/components/{PlayerAccountBiometrics-CY06pWs8.js → PlayerAccountBiometrics-DpVTOI5S.js} +22 -22
- package/components/{PlayerAccountBiometrics-CqDrX8sl.cjs → PlayerAccountBiometrics-DvJlyQ8z.cjs} +1 -1
- package/components/{PlayerAccountClosure-PhH0M42z.cjs → PlayerAccountClosure-Bgcd5aWK.cjs} +1 -1
- package/components/{PlayerAccountClosure-D9uP7QYP.js → PlayerAccountClosure-DJx7NuYi.js} +32 -32
- package/components/{PlayerAccountClosure-D5r1hdkX.js → PlayerAccountClosure-DUnNJuF0.js} +32 -32
- package/components/{PlayerAccountController-DsIsI9ww.cjs → PlayerAccountController-BU1z2HqT.cjs} +1 -1
- package/components/{PlayerAccountController-CFveIiLH.js → PlayerAccountController-Btq8Srh5.js} +297 -297
- package/components/{PlayerAccountController-CP2uODru.js → PlayerAccountController-NW3EKxPm.js} +297 -297
- package/components/{PlayerAccountGamingLimits-D3pKs0ht.js → PlayerAccountGamingLimits-DiTQMKO-.js} +81 -81
- package/components/{PlayerAccountGamingLimits-BnzPj9tx.cjs → PlayerAccountGamingLimits-UmFJS4yG.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-C0_hRUCj.js → PlayerAccountGamingLimits-t-Kt6fD1.js} +81 -81
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BazG22ih.js → PlayerAccountGamingLimitsConfirmationModal-BOqmU6ao.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Cg2EZjXZ.cjs → PlayerAccountGamingLimitsConfirmationModal-BTGWvZ_H.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-xjZZUbpF.js → PlayerAccountGamingLimitsConfirmationModal-CJS6pzAL.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-DeUVEnCP.js → PlayerAccountGamingLimitsGroupEdit-Cohx9d0h.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-CnW3YzfS.js → PlayerAccountGamingLimitsGroupEdit-DQ4LAIh3.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-DGnRlAUZ.cjs → PlayerAccountGamingLimitsGroupEdit-DWXrW8rz.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2-CsxTesLB.cjs → PlayerAccountGamingLimitsHistory2-1CxT-5pd.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-TkOqxfj1.js → PlayerAccountGamingLimitsHistory2-CZWoK_f5.js} +46 -46
- package/components/{PlayerAccountGamingLimitsHistory2-D7J0FgHo.js → PlayerAccountGamingLimitsHistory2-DuWgdsnY.js} +48 -48
- package/components/{PlayerAccountGamingLimitsInfoCard-jhpuGIrw.cjs → PlayerAccountGamingLimitsInfoCard-7dQquqQ4.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BRpxiqVR.js → PlayerAccountGamingLimitsInfoCard-AOCz2477.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-D1qSvNxW.js → PlayerAccountGamingLimitsInfoCard-wb1MgSRM.js} +83 -83
- package/components/{PlayerAccountGamingLimitsPage2Gm16-djQdW8L6.js → PlayerAccountGamingLimitsPage2Gm16-BBIm2Wl_.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BEYO8tnS.cjs → PlayerAccountGamingLimitsPage2Gm16-CIPm4r-k.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CAfx0SZl.js → PlayerAccountGamingLimitsPage2Gm16-DXjuwk_W.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPopup-Cvl_mdrl.cjs → PlayerAccountGamingLimitsPopup-Bq6g8_Ex.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Bst4PQwl.js → PlayerAccountGamingLimitsPopup-Byk1Oi5A.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-D3DnB3bN.js → PlayerAccountGamingLimitsPopup-Cou16qpk.js} +42 -42
- package/components/{PlayerAccountGamingLimitsWrapper2-BKVQxFca.js → PlayerAccountGamingLimitsWrapper2-C1sTZzPR.js} +55 -55
- package/components/{PlayerAccountGamingLimitsWrapper2-DY7OziU-.js → PlayerAccountGamingLimitsWrapper2-DPcYdYKE.js} +20 -20
- package/components/{PlayerAccountGamingLimitsWrapper2-Coq_1wOX.cjs → PlayerAccountGamingLimitsWrapper2-Qv1obJuu.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-CNr7wBeh.js → PlayerAccountGeneralConfirmationModal-DTd4PiMe.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-DNkcN7ty.cjs → PlayerAccountGeneralConfirmationModal-DoognqGf.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BbAXu7LA.js → PlayerAccountGeneralConfirmationModal-kdUl-EBq.js} +34 -34
- package/components/{PlayerAccountMenu-CARKaeb_.js → PlayerAccountMenu-BEGwhor9.js} +30 -30
- package/components/{PlayerAccountMenu-DbPwX5s7.cjs → PlayerAccountMenu-Bp4Sihhw.cjs} +1 -1
- package/components/{PlayerAccountMenu-CSjfFSiS.js → PlayerAccountMenu-CVxMx86F.js} +33 -33
- package/components/{PlayerAccountModal-DcuNgIsg.js → PlayerAccountModal-Cgwoz0_A.js} +42 -42
- package/components/{PlayerAccountModal-IFpCl0Uz.js → PlayerAccountModal-ZSZxImk8.js} +42 -42
- package/components/{PlayerAccountModal-Dmgt5WVr.cjs → PlayerAccountModal-zI2QLAL1.cjs} +1 -1
- package/components/{PlayerAccountNotifications-C1NLTeZY.js → PlayerAccountNotifications-CuCWYS7t.js} +32 -32
- package/components/{PlayerAccountNotifications-VnrN4aPw.cjs → PlayerAccountNotifications-D6WEtRtU.cjs} +1 -1
- package/components/{PlayerAccountNotifications-DFauPmd4.js → PlayerAccountNotifications-VJ7BL5Qd.js} +33 -33
- package/components/{PlayerAccountSelfExclusion-BKNMjGeJ.js → PlayerAccountSelfExclusion-B35qA850.js} +786 -781
- package/components/{PlayerAccountSelfExclusion-BYJ28ASb.js → PlayerAccountSelfExclusion-BmaCKfda.js} +1689 -1684
- package/components/{PlayerAccountSelfExclusion-CcBtRscg.cjs → PlayerAccountSelfExclusion-CLihjJWi.cjs} +153 -153
- package/components/{PlayerAccountTimeout-Bkmp3-eA.js → PlayerAccountTimeout-BZvL77HV.js} +58 -58
- package/components/{PlayerAccountTimeout-CLi5If_j.cjs → PlayerAccountTimeout-D4o3CJUo.cjs} +1 -1
- package/components/{PlayerAccountTimeout-B3AH6XOt.js → PlayerAccountTimeout-_kQbj9u3.js} +58 -58
- package/components/{PlayerActiveBonuses-BRNrSu8p.js → PlayerActiveBonuses-didA1XVs.js} +74 -74
- package/components/{PlayerActiveBonuses-NHzgl6B8.cjs → PlayerActiveBonuses-x-xKis97.cjs} +1 -1
- package/components/{PlayerActiveBonuses-C2N9z4Wk.js → PlayerActiveBonuses-xfEDc3KL.js} +73 -73
- package/components/{PlayerBonusCard-B1SyuM2F.cjs → PlayerBonusCard-Ci9NqNFE.cjs} +1 -1
- package/components/{PlayerBonusCard-BnXPy7Pl.js → PlayerBonusCard-CjXKX6OS.js} +48 -46
- package/components/{PlayerBonusCard-ys8sEqaW.js → PlayerBonusCard-DeDB25Nn.js} +48 -46
- package/components/{PlayerBonusHistory-DSTP6ZoH.js → PlayerBonusHistory-COBMVbTl.js} +33 -33
- package/components/{PlayerBonusHistory-DMarejVg.js → PlayerBonusHistory-S0XNS8Vd.js} +33 -33
- package/components/{PlayerBonusHistory-Dg5LjtIZ.cjs → PlayerBonusHistory-xvOSnDXZ.cjs} +1 -1
- package/components/{PlayerChangePassword-DIJxZkuX.js → PlayerChangePassword-Cy_iUEwl.js} +71 -71
- package/components/{PlayerChangePassword-sZQBKHjd.js → PlayerChangePassword-DMiyyEYC.js} +71 -71
- package/components/{PlayerChangePassword-DkVY0JFR.cjs → PlayerChangePassword-awaQVsiP.cjs} +1 -1
- package/components/{PlayerDeposit-DJdl_B5Q.js → PlayerDeposit-BFpoULil.js} +75 -75
- package/components/{PlayerDeposit-C8yaYj_O.js → PlayerDeposit-BUbpr-x6.js} +75 -75
- package/components/PlayerDeposit-_oIOMh8l.cjs +1 -0
- package/components/{PlayerGamingHistory-CUv-flEN.js → PlayerGamingHistory-B48-4XYY.js} +74 -74
- package/components/{PlayerGamingHistory-Bz-tWEB-.cjs → PlayerGamingHistory-CJJe4-t3.cjs} +1 -1
- package/components/{PlayerGamingHistory-C-a7eWUa.js → PlayerGamingHistory-DvFoTCqg.js} +84 -84
- package/components/{PlayerPendingWithdrawals-DtwQGdZm.js → PlayerPendingWithdrawals-Dc91b0Cm.js} +26 -26
- package/components/{PlayerPendingWithdrawals-H49FURps.cjs → PlayerPendingWithdrawals-aaHugNLD.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-D9Yxc7FK.js → PlayerPendingWithdrawals-ttbTlX0c.js} +26 -26
- package/components/{PlayerProfileInfo-B2B_yWpR.cjs → PlayerProfileInfo-BZAC8BX8.cjs} +1 -1
- package/components/{PlayerProfileInfo-TSYhIxp0.js → PlayerProfileInfo-BxSmEqRX.js} +60 -60
- package/components/{PlayerProfileInfo-DCG1m8s7.js → PlayerProfileInfo-CL-HWOum.js} +60 -60
- package/components/{PlayerRealityCheck-Bs__HuR3.cjs → PlayerRealityCheck-B5-r6aMV.cjs} +1 -1
- package/components/{PlayerRealityCheck-BCc9e1-4.js → PlayerRealityCheck-CZcBQqX0.js} +33 -33
- package/components/{PlayerRealityCheck-YPtJgHZo.js → PlayerRealityCheck-kNrY9GtR.js} +33 -33
- package/components/{PlayerTransactionHistory-CSHYcAs1.js → PlayerTransactionHistory-BHDwTuEi.js} +24 -24
- package/components/{PlayerTransactionHistory-Bb8js_3p.cjs → PlayerTransactionHistory-Dff51WQG.cjs} +1 -1
- package/components/{PlayerTransactionHistory-D31yO5X5.js → PlayerTransactionHistory-fsxifDQz.js} +24 -24
- package/components/{PlayerWithdrawal-BcoiHu5m.js → PlayerWithdrawal-4QbyF-GU.js} +19 -19
- package/components/{PlayerWithdrawal-Byr8jun8.js → PlayerWithdrawal-D6ic1PCk.js} +19 -19
- package/components/{PlayerWithdrawal-xHn3kl2k.cjs → PlayerWithdrawal-DdPBGufW.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_9-bIi7h3_V.js → checkbox-group-input_9-ByOlN8T1.js} +13 -11
- package/stencil/checkbox-group-input_9-DVmGQbxk.cjs +2 -0
- package/stencil/{checkbox-group-input_9-BRv_piPJ.js → checkbox-group-input_9-Z2MKRqTa.js} +13 -11
- package/stencil/{general-input-DgKQ0KIf.cjs → general-input-BICEE8TF.cjs} +199 -199
- package/stencil/{general-input-OUKrtuTp.js → general-input-Cbs_fuJv.js} +1247 -1241
- package/stencil/{general-input-CQs-v3_Y.js → general-input-Hae0m9ND.js} +1249 -1243
- package/stencil/index-1ef3a64c-DGzBF_WG.js +556 -0
- package/stencil/index-1ef3a64c-GdhfNavS.js +572 -0
- package/stencil/index-1ef3a64c-UpJak1Ul.cjs +1 -0
- package/stencil/index-21ba09dd-BSHxKLno.cjs +1 -0
- package/stencil/index-21ba09dd-C-CdzL2X.js +616 -0
- package/stencil/index-21ba09dd-C4H8b97G.js +643 -0
- package/stencil/index-34008883-D4JgG-UH.cjs +1 -0
- package/stencil/index-34008883-DiRFksj6.js +577 -0
- package/stencil/index-34008883-HqY7Srzu.js +604 -0
- package/stencil/index-9cd44522-Bk39Mpgz.js +610 -0
- package/stencil/index-9cd44522-CEWNaj7G.js +626 -0
- package/stencil/index-9cd44522-nMffx5wM.cjs +1 -0
- package/stencil/index-b2193545-BDj0KFq2.js +519 -0
- package/stencil/index-b2193545-DMm5-ozm.js +503 -0
- package/stencil/index-b2193545-DNXbYajk.cjs +1 -0
- package/stencil/index-b7bbd57e-B_RTw6KX.cjs +1 -0
- package/stencil/index-b7bbd57e-Bjp2h7OX.js +550 -0
- package/stencil/index-b7bbd57e-Y219twcC.js +534 -0
- package/stencil/{password-input_2-C84wWI7v.js → password-input_2-0tVmf9Va.js} +3 -3
- package/stencil/{password-input_2-DQO_Gwqq.js → password-input_2-B5aWg7vh.js} +3 -3
- package/stencil/password-input_2-CRu0zESf.cjs +193 -0
- package/stencil/{player-change-password-gm2-039e300e-DIjTdjzy.cjs → player-change-password-gm2-039e300e-BMDnHtCW.cjs} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-mRLvAYzw.js → player-change-password-gm2-039e300e-BqCRJ0OI.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-s9osP-86.js → player-change-password-gm2-039e300e-BtDuTmYF.js} +1 -1
- package/stencil/{player-change-password-gm2-imi6O1-U.js → player-change-password-gm2-Bv5ZnN9J.js} +1 -1
- package/stencil/{player-change-password-gm2-CfP6Qbnu.js → player-change-password-gm2-D6MfQu2A.js} +1 -1
- package/stencil/{player-change-password-gm2-ADkIHrgJ.cjs → player-change-password-gm2-aC_8HBG2.cjs} +1 -1
- package/stencil/{player-kyc-verification-ChHU4NZP.js → player-kyc-verification-B6MdkJSA.js} +1 -1
- package/stencil/{player-kyc-verification-YKqDy8y5.cjs → player-kyc-verification-DFGsW2RW.cjs} +1 -1
- package/stencil/{player-kyc-verification-CJSQoIZp.js → player-kyc-verification-DQ1Pv6EE.js} +1 -1
- package/stencil/{player-kyc-verification_2-w8_XwPSF.js → player-kyc-verification_2-B17znAZy.js} +1 -1
- package/stencil/{player-kyc-verification_2-EJZCFPKM.js → player-kyc-verification_2-BdvRBF9L.js} +1 -1
- package/stencil/{player-kyc-verification_2-HIgoVn9n.cjs → player-kyc-verification_2-Dx4nmjvu.cjs} +1 -1
- package/stencil/toggle-checkbox-input-B-kRXFjU.cjs +1 -0
- package/stencil/{toggle-checkbox-input-Bh9dCfaE.js → toggle-checkbox-input-BqVxrLPm.js} +2 -2
- package/stencil/{toggle-checkbox-input-CFvMg26A.js → toggle-checkbox-input-DKIzGsYQ.js} +2 -2
- package/stencil/{ui-image-38c3c15f-GCugIif_.js → ui-image-38c3c15f-B_14E02m.js} +1 -1
- package/stencil/{ui-image-38c3c15f-jIUUUHF_.js → ui-image-38c3c15f-CaThwLY2.js} +1 -1
- package/stencil/{ui-image-38c3c15f-B5VYjuwc.cjs → ui-image-38c3c15f-CvAJdmpl.cjs} +1 -1
- package/stencil/{ui-image-Doro4rUa.cjs → ui-image-BWaSQpz8.cjs} +1 -1
- package/stencil/{ui-image-C3z33p-I.js → ui-image-CUNAKrBR.js} +2 -2
- package/stencil/{ui-image-DZDIlV4g.js → ui-image-DBJx1uKx.js} +2 -2
- package/stencil/{ui-image_2-nVKXie9g.js → ui-image_2-BRZIuSu1.js} +1 -1
- package/stencil/{ui-image_2-CYG1_Yew.js → ui-image_2-CKBb8XBa.js} +1 -1
- package/stencil/{ui-image_2-Cyb78tZB.cjs → ui-image_2-DFkW49rO.cjs} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-DJPgMPrF.cjs → ui-skeleton-6d1c12ae-CcLT16S_.cjs} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-C3kv5BUk.js → ui-skeleton-6d1c12ae-DFHylRJ5.js} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-CaaJODhZ.js → ui-skeleton-6d1c12ae-NdnCQ3VR.js} +1 -1
- package/stencil/{ui-skeleton-84ZRJzrd.cjs → ui-skeleton-CdtcCCVZ.cjs} +1 -1
- package/stencil/{ui-skeleton-DX9fcIIz.js → ui-skeleton-DE5INMSH.js} +2 -2
- package/stencil/{ui-skeleton-1aZpiK3a.js → ui-skeleton-DNc7-Twy.js} +2 -2
- package/stencil/{user-deposit-withdrawal-BC5Vpfet.cjs → user-deposit-withdrawal-B348VgXU.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-IExj2XcB.js → user-deposit-withdrawal-CAxkA7sZ.js} +1 -1
- package/stencil/{user-deposit-withdrawal-DHbTwAxF.js → user-deposit-withdrawal-Dba99ITf.js} +1 -1
- package/stencil/{user-transaction-history-GwpbhIB0.js → user-transaction-history-BEGAQiEK.js} +1 -1
- package/stencil/{user-transaction-history-BhqF7ecn.js → user-transaction-history-C-QLPlUU.js} +1 -1
- package/stencil/{user-transaction-history-BQjF7asc.cjs → user-transaction-history-CaEZwxd_.cjs} +1 -1
- package/components/GeneralLogout-CneHnHyh.cjs +0 -21
- package/components/PlayerAccountBettingHistory-C7ncnu-s.js +0 -328
- package/components/PlayerAccountBettingHistory-ClvAJn7G.cjs +0 -1
- package/components/PlayerDeposit-DgZ1K6jf.cjs +0 -1
- package/stencil/checkbox-group-input_9-DCA5sbPo.cjs +0 -2
- package/stencil/index-1ef3a64c-BQUwxiUT.js +0 -556
- package/stencil/index-1ef3a64c-Btq5IvMJ.cjs +0 -1
- package/stencil/index-1ef3a64c-Kn7ohe2t.js +0 -572
- package/stencil/index-21ba09dd-C-HsjTUn.js +0 -643
- package/stencil/index-21ba09dd-DNkmY6MF.js +0 -616
- package/stencil/index-21ba09dd-lQRQL1Nd.cjs +0 -1
- package/stencil/index-34008883-B7S8keyz.js +0 -577
- package/stencil/index-34008883-CX1Vpol5.cjs +0 -1
- package/stencil/index-34008883-DRJSKOUl.js +0 -604
- package/stencil/index-9cd44522-C566YWys.js +0 -626
- package/stencil/index-9cd44522-Crt8CtBe.js +0 -610
- package/stencil/index-9cd44522-jv76DI6J.cjs +0 -1
- package/stencil/index-b2193545-BTiWOlSy.js +0 -503
- package/stencil/index-b2193545-CZLTKj69.cjs +0 -1
- package/stencil/index-b2193545-DXYxg-Ur.js +0 -519
- package/stencil/index-b7bbd57e-98ddCQYl.js +0 -534
- package/stencil/index-b7bbd57e-BTUOk4HF.js +0 -550
- package/stencil/index-b7bbd57e-CCr8MvU_.cjs +0 -1
- package/stencil/password-input_2-Cb1ahifk.cjs +0 -193
- package/stencil/toggle-checkbox-input-CDg0DAAQ.cjs +0 -1
package/components/{PlayerAccountSelfExclusion-BKNMjGeJ.js → PlayerAccountSelfExclusion-B35qA850.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Fs = Object.defineProperty, Ls = Object.defineProperties;
|
|
2
|
+
var $s = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var co = Object.getOwnPropertySymbols;
|
|
4
|
+
var Rs = Object.prototype.hasOwnProperty, Bs = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var uo = (o, t, e) => t in o ? Fs(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, Wt = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
7
|
+
Rs.call(t, e) && uo(o, e, t[e]);
|
|
8
|
+
if (co)
|
|
9
|
+
for (var e of co(t))
|
|
10
|
+
Bs.call(t, e) && uo(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
}, qt = (o, t) =>
|
|
12
|
+
}, qt = (o, t) => Ls(o, $s(t));
|
|
13
13
|
var ot = (o, t, e) => new Promise((i, r) => {
|
|
14
14
|
var s = (l) => {
|
|
15
15
|
try {
|
|
@@ -26,14 +26,14 @@ var ot = (o, t, e) => new Promise((i, r) => {
|
|
|
26
26
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(s, n);
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a4 as
|
|
30
|
-
import "../stencil/ui-skeleton-
|
|
29
|
+
import { a4 as Hs, a5 as js, a as Ys, $ as Vs, S as Us, i as Ws, f as ce, c as qs, s as Ks, b as Gs, e as A, k as fe, o as fi, p as me, q as Js, u as Xs, v as Zs, w as Qs, x as en, z as ho, A as tn, O as po, d as U, t as de, y as Ae, g as C, h as Ve, l as f, m as Mt, n as pe, P as on, r as rn, j as k, Z as Kt, B as sn } from "./GeneralLogout-CrdxxT-0.js";
|
|
30
|
+
import "../stencil/ui-skeleton-DNc7-Twy.js";
|
|
31
31
|
/**
|
|
32
32
|
* @license
|
|
33
33
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
34
34
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
35
35
|
*/
|
|
36
|
-
function we(o, t = "24.5.
|
|
36
|
+
function we(o, t = "24.5.10") {
|
|
37
37
|
Object.defineProperty(o, "version", {
|
|
38
38
|
get() {
|
|
39
39
|
return t;
|
|
@@ -54,18 +54,18 @@ function we(o, t = "24.5.12") {
|
|
|
54
54
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
55
55
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
56
56
|
*/
|
|
57
|
-
class
|
|
57
|
+
class nn extends HTMLElement {
|
|
58
58
|
static get is() {
|
|
59
59
|
return "vaadin-lumo-styles";
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
we(
|
|
62
|
+
we(nn);
|
|
63
63
|
/**
|
|
64
64
|
* @license
|
|
65
65
|
* Copyright 2019 Google LLC
|
|
66
66
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
67
|
*/
|
|
68
|
-
const Dt = globalThis, $i = Dt.ShadowRoot && (Dt.ShadyCSS === void 0 || Dt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ri = Symbol(),
|
|
68
|
+
const Dt = globalThis, $i = Dt.ShadowRoot && (Dt.ShadyCSS === void 0 || Dt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ri = Symbol(), fo = /* @__PURE__ */ new WeakMap();
|
|
69
69
|
let Bi = class {
|
|
70
70
|
constructor(t, e, i) {
|
|
71
71
|
if (this._$cssResult$ = !0, i !== Ri)
|
|
@@ -77,7 +77,7 @@ let Bi = class {
|
|
|
77
77
|
const e = this.t;
|
|
78
78
|
if ($i && t === void 0) {
|
|
79
79
|
const i = e !== void 0 && e.length === 1;
|
|
80
|
-
i && (t =
|
|
80
|
+
i && (t = fo.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && fo.set(e, t));
|
|
81
81
|
}
|
|
82
82
|
return t;
|
|
83
83
|
}
|
|
@@ -85,7 +85,7 @@ let Bi = class {
|
|
|
85
85
|
return this.cssText;
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
|
-
const
|
|
88
|
+
const an = (o) => new Bi(typeof o == "string" ? o : o + "", void 0, Ri), F = (o, ...t) => {
|
|
89
89
|
const e = o.length === 1 ? o[0] : t.reduce((i, r, s) => i + ((n) => {
|
|
90
90
|
if (n._$cssResult$ === !0)
|
|
91
91
|
return n.cssText;
|
|
@@ -94,7 +94,7 @@ const nn = (o) => new Bi(typeof o == "string" ? o : o + "", void 0, Ri), F = (o,
|
|
|
94
94
|
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.");
|
|
95
95
|
})(r) + o[s + 1], o[0]);
|
|
96
96
|
return new Bi(e, o, Ri);
|
|
97
|
-
},
|
|
97
|
+
}, dr = (o, t) => {
|
|
98
98
|
if ($i)
|
|
99
99
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
100
100
|
else
|
|
@@ -102,21 +102,21 @@ const nn = (o) => new Bi(typeof o == "string" ? o : o + "", void 0, Ri), F = (o,
|
|
|
102
102
|
const i = document.createElement("style"), r = Dt.litNonce;
|
|
103
103
|
r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, o.appendChild(i);
|
|
104
104
|
}
|
|
105
|
-
},
|
|
105
|
+
}, mo = $i ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
106
106
|
let e = "";
|
|
107
107
|
for (const i of t.cssRules)
|
|
108
108
|
e += i.cssText;
|
|
109
|
-
return
|
|
109
|
+
return an(e);
|
|
110
110
|
})(o) : o;
|
|
111
111
|
/**
|
|
112
112
|
* @license
|
|
113
113
|
* Copyright 2017 Google LLC
|
|
114
114
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
115
115
|
*/
|
|
116
|
-
const { is:
|
|
116
|
+
const { is: ln, defineProperty: cn, getOwnPropertyDescriptor: un, getOwnPropertyNames: dn, getOwnPropertySymbols: hn, getPrototypeOf: pn } = Object, Te = globalThis, _o = Te.trustedTypes, fn = _o ? _o.emptyScript : "", Gt = Te.reactiveElementPolyfillSupport, dt = (o, t) => o, mi = { toAttribute(o, t) {
|
|
117
117
|
switch (t) {
|
|
118
118
|
case Boolean:
|
|
119
|
-
o = o ?
|
|
119
|
+
o = o ? fn : null;
|
|
120
120
|
break;
|
|
121
121
|
case Object:
|
|
122
122
|
case Array:
|
|
@@ -141,9 +141,9 @@ const { is: an, defineProperty: ln, getOwnPropertyDescriptor: cn, getOwnProperty
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
return e;
|
|
144
|
-
} },
|
|
145
|
-
var
|
|
146
|
-
(
|
|
144
|
+
} }, hr = (o, t) => !ln(o, t), go = { attribute: !0, type: String, converter: mi, reflect: !1, hasChanged: hr };
|
|
145
|
+
var sr, nr;
|
|
146
|
+
(sr = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (nr = Te.litPropertyMetadata) != null || (Te.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
147
147
|
class We extends HTMLElement {
|
|
148
148
|
static addInitializer(t) {
|
|
149
149
|
var e;
|
|
@@ -152,15 +152,15 @@ class We extends HTMLElement {
|
|
|
152
152
|
static get observedAttributes() {
|
|
153
153
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
154
154
|
}
|
|
155
|
-
static createProperty(t, e =
|
|
155
|
+
static createProperty(t, e = go) {
|
|
156
156
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
157
157
|
const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
|
|
158
|
-
r !== void 0 &&
|
|
158
|
+
r !== void 0 && cn(this.prototype, t, r);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
static getPropertyDescriptor(t, e, i) {
|
|
162
162
|
var n;
|
|
163
|
-
const { get: r, set: s } = (n =
|
|
163
|
+
const { get: r, set: s } = (n = un(this.prototype, t)) != null ? n : { get() {
|
|
164
164
|
return this[e];
|
|
165
165
|
}, set(a) {
|
|
166
166
|
this[e] = a;
|
|
@@ -174,19 +174,19 @@ class We extends HTMLElement {
|
|
|
174
174
|
}
|
|
175
175
|
static getPropertyOptions(t) {
|
|
176
176
|
var e;
|
|
177
|
-
return (e = this.elementProperties.get(t)) != null ? e :
|
|
177
|
+
return (e = this.elementProperties.get(t)) != null ? e : go;
|
|
178
178
|
}
|
|
179
179
|
static _$Ei() {
|
|
180
180
|
if (this.hasOwnProperty(dt("elementProperties")))
|
|
181
181
|
return;
|
|
182
|
-
const t =
|
|
182
|
+
const t = pn(this);
|
|
183
183
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
184
184
|
}
|
|
185
185
|
static finalize() {
|
|
186
186
|
if (this.hasOwnProperty(dt("finalized")))
|
|
187
187
|
return;
|
|
188
188
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(dt("properties"))) {
|
|
189
|
-
const e = this.properties, i = [...
|
|
189
|
+
const e = this.properties, i = [...dn(e), ...hn(e)];
|
|
190
190
|
for (const r of i)
|
|
191
191
|
this.createProperty(r, e[r]);
|
|
192
192
|
}
|
|
@@ -209,9 +209,9 @@ class We extends HTMLElement {
|
|
|
209
209
|
if (Array.isArray(t)) {
|
|
210
210
|
const i = new Set(t.flat(1 / 0).reverse());
|
|
211
211
|
for (const r of i)
|
|
212
|
-
e.unshift(
|
|
212
|
+
e.unshift(mo(r));
|
|
213
213
|
} else
|
|
214
|
-
t !== void 0 && e.push(
|
|
214
|
+
t !== void 0 && e.push(mo(t));
|
|
215
215
|
return e;
|
|
216
216
|
}
|
|
217
217
|
static _$Eu(t, e) {
|
|
@@ -242,7 +242,7 @@ class We extends HTMLElement {
|
|
|
242
242
|
createRenderRoot() {
|
|
243
243
|
var e;
|
|
244
244
|
const t = (e = this.shadowRoot) != null ? e : this.attachShadow(this.constructor.shadowRootOptions);
|
|
245
|
-
return
|
|
245
|
+
return dr(t, this.constructor.elementStyles), t;
|
|
246
246
|
}
|
|
247
247
|
connectedCallback() {
|
|
248
248
|
var t, e;
|
|
@@ -282,7 +282,7 @@ class We extends HTMLElement {
|
|
|
282
282
|
requestUpdate(t, e, i) {
|
|
283
283
|
var r;
|
|
284
284
|
if (t !== void 0) {
|
|
285
|
-
if (i != null || (i = this.constructor.getPropertyOptions(t)), !((r = i.hasChanged) != null ? r :
|
|
285
|
+
if (i != null || (i = this.constructor.getPropertyOptions(t)), !((r = i.hasChanged) != null ? r : hr)(this[t], e))
|
|
286
286
|
return;
|
|
287
287
|
this.P(t, e, i);
|
|
288
288
|
}
|
|
@@ -363,40 +363,40 @@ class We extends HTMLElement {
|
|
|
363
363
|
firstUpdated(t) {
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
var
|
|
367
|
-
We.elementStyles = [], We.shadowRootOptions = { mode: "open" }, We[dt("elementProperties")] = /* @__PURE__ */ new Map(), We[dt("finalized")] = /* @__PURE__ */ new Map(), Gt == null || Gt({ ReactiveElement: We }), ((
|
|
366
|
+
var ar;
|
|
367
|
+
We.elementStyles = [], We.shadowRootOptions = { mode: "open" }, We[dt("elementProperties")] = /* @__PURE__ */ new Map(), We[dt("finalized")] = /* @__PURE__ */ new Map(), Gt == null || Gt({ ReactiveElement: We }), ((ar = Te.reactiveElementVersions) != null ? ar : Te.reactiveElementVersions = []).push("2.0.4");
|
|
368
368
|
/**
|
|
369
369
|
* @license
|
|
370
370
|
* Copyright 2017 Google LLC
|
|
371
371
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
372
372
|
*/
|
|
373
|
-
const ht = globalThis, Ot = ht.trustedTypes,
|
|
374
|
-
\f\r]`, rt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
375
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
376
|
-
function
|
|
373
|
+
const ht = globalThis, Ot = ht.trustedTypes, bo = Ot ? Ot.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, pr = "$lit$", De = `lit$${Math.random().toFixed(9).slice(2)}$`, fr = "?" + De, mn = `<${fr}>`, Be = document, ft = () => Be.createComment(""), mt = (o) => o === null || typeof o != "object" && typeof o != "function", Hi = Array.isArray, _n = (o) => Hi(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Jt = `[
|
|
374
|
+
\f\r]`, rt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, vo = /-->/g, yo = />/g, ze = RegExp(`>|${Jt}(?:([^\\s"'>=/]+)(${Jt}*=${Jt}*(?:[^
|
|
375
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), xo = /'/g, wo = /"/g, mr = /^(?:script|style|textarea|title)$/i, Xe = Symbol.for("lit-noChange"), Q = Symbol.for("lit-nothing"), Eo = /* @__PURE__ */ new WeakMap(), Fe = Be.createTreeWalker(Be, 129);
|
|
376
|
+
function _r(o, t) {
|
|
377
377
|
if (!Hi(o) || !o.hasOwnProperty("raw"))
|
|
378
378
|
throw Error("invalid template strings array");
|
|
379
|
-
return
|
|
379
|
+
return bo !== void 0 ? bo.createHTML(t) : t;
|
|
380
380
|
}
|
|
381
|
-
const
|
|
381
|
+
const gn = (o, t) => {
|
|
382
382
|
const e = o.length - 1, i = [];
|
|
383
383
|
let r, s = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = rt;
|
|
384
384
|
for (let a = 0; a < e; a++) {
|
|
385
385
|
const l = o[a];
|
|
386
386
|
let c, u, d = -1, h = 0;
|
|
387
387
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
388
|
-
h = n.lastIndex, n === rt ? u[1] === "!--" ? n =
|
|
388
|
+
h = n.lastIndex, n === rt ? u[1] === "!--" ? n = vo : u[1] !== void 0 ? n = yo : u[2] !== void 0 ? (mr.test(u[2]) && (r = RegExp("</" + u[2], "g")), n = ze) : u[3] !== void 0 && (n = ze) : n === ze ? u[0] === ">" ? (n = r != null ? r : rt, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? ze : u[3] === '"' ? wo : xo) : n === wo || n === xo ? n = ze : n === vo || n === yo ? n = rt : (n = ze, r = void 0);
|
|
389
389
|
const p = n === ze && o[a + 1].startsWith("/>") ? " " : "";
|
|
390
|
-
s += n === rt ? l +
|
|
390
|
+
s += n === rt ? l + mn : d >= 0 ? (i.push(c), l.slice(0, d) + pr + l.slice(d) + De + p) : l + De + (d === -2 ? a : p);
|
|
391
391
|
}
|
|
392
|
-
return [
|
|
392
|
+
return [_r(o, s + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
393
393
|
};
|
|
394
394
|
class _t {
|
|
395
395
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
396
396
|
let r;
|
|
397
397
|
this.parts = [];
|
|
398
398
|
let s = 0, n = 0;
|
|
399
|
-
const a = t.length - 1, l = this.parts, [c, u] =
|
|
399
|
+
const a = t.length - 1, l = this.parts, [c, u] = gn(t, e);
|
|
400
400
|
if (this.el = _t.createElement(c, i), Fe.currentNode = this.el.content, e === 2 || e === 3) {
|
|
401
401
|
const d = this.el.content.firstChild;
|
|
402
402
|
d.replaceWith(...d.childNodes);
|
|
@@ -405,12 +405,12 @@ class _t {
|
|
|
405
405
|
if (r.nodeType === 1) {
|
|
406
406
|
if (r.hasAttributes())
|
|
407
407
|
for (const d of r.getAttributeNames())
|
|
408
|
-
if (d.endsWith(
|
|
408
|
+
if (d.endsWith(pr)) {
|
|
409
409
|
const h = u[n++], p = r.getAttribute(d).split(De), g = /([.?@])?(.*)/.exec(h);
|
|
410
|
-
l.push({ type: 1, index: s, name: g[2], strings: p, ctor: g[1] === "." ?
|
|
410
|
+
l.push({ type: 1, index: s, name: g[2], strings: p, ctor: g[1] === "." ? vn : g[1] === "?" ? yn : g[1] === "@" ? xn : Bt }), r.removeAttribute(d);
|
|
411
411
|
} else
|
|
412
412
|
d.startsWith(De) && (l.push({ type: 6, index: s }), r.removeAttribute(d));
|
|
413
|
-
if (
|
|
413
|
+
if (mr.test(r.tagName)) {
|
|
414
414
|
const d = r.textContent.split(De), h = d.length - 1;
|
|
415
415
|
if (h > 0) {
|
|
416
416
|
r.textContent = Ot ? Ot.emptyScript : "";
|
|
@@ -420,7 +420,7 @@ class _t {
|
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
422
|
} else if (r.nodeType === 8)
|
|
423
|
-
if (r.data ===
|
|
423
|
+
if (r.data === fr)
|
|
424
424
|
l.push({ type: 2, index: s });
|
|
425
425
|
else {
|
|
426
426
|
let d = -1;
|
|
@@ -443,7 +443,7 @@ function Ze(o, t, e = o, i) {
|
|
|
443
443
|
const s = mt(t) ? void 0 : t._$litDirective$;
|
|
444
444
|
return (r == null ? void 0 : r.constructor) !== s && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), s === void 0 ? r = void 0 : (r = new s(o), r._$AT(o, e, i)), i !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[i] = r : e._$Cl = r), r !== void 0 && (t = Ze(o, r._$AS(o, t.values), r, i)), t;
|
|
445
445
|
}
|
|
446
|
-
class
|
|
446
|
+
class bn {
|
|
447
447
|
constructor(t, e) {
|
|
448
448
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
449
449
|
}
|
|
@@ -461,7 +461,7 @@ class gn {
|
|
|
461
461
|
for (; l !== void 0; ) {
|
|
462
462
|
if (n === l.index) {
|
|
463
463
|
let u;
|
|
464
|
-
l.type === 2 ? u = new Et(s, s.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(s, l.name, l.strings, this, t) : l.type === 6 && (u = new
|
|
464
|
+
l.type === 2 ? u = new Et(s, s.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(s, l.name, l.strings, this, t) : l.type === 6 && (u = new wn(s, this, t)), this._$AV.push(u), l = i[++a];
|
|
465
465
|
}
|
|
466
466
|
n !== (l == null ? void 0 : l.index) && (s = Fe.nextNode(), n++);
|
|
467
467
|
}
|
|
@@ -494,7 +494,7 @@ class Et {
|
|
|
494
494
|
return this._$AB;
|
|
495
495
|
}
|
|
496
496
|
_$AI(t, e = this) {
|
|
497
|
-
t = Ze(this, t, e), mt(t) ? t === Q || t == null || t === "" ? (this._$AH !== Q && this._$AR(), this._$AH = Q) : t !== this._$AH && t !== Xe && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
497
|
+
t = Ze(this, t, e), mt(t) ? t === Q || t == null || t === "" ? (this._$AH !== Q && this._$AR(), this._$AH = Q) : t !== this._$AH && t !== Xe && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : _n(t) ? this.k(t) : this._(t);
|
|
498
498
|
}
|
|
499
499
|
O(t) {
|
|
500
500
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -507,17 +507,17 @@ class Et {
|
|
|
507
507
|
}
|
|
508
508
|
$(t) {
|
|
509
509
|
var s;
|
|
510
|
-
const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = _t.createElement(
|
|
510
|
+
const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = _t.createElement(_r(i.h, i.h[0]), this.options)), i);
|
|
511
511
|
if (((s = this._$AH) == null ? void 0 : s._$AD) === r)
|
|
512
512
|
this._$AH.p(e);
|
|
513
513
|
else {
|
|
514
|
-
const n = new
|
|
514
|
+
const n = new bn(r, this), a = n.u(this.options);
|
|
515
515
|
n.p(e), this.T(a), this._$AH = n;
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
518
|
_$AC(t) {
|
|
519
|
-
let e =
|
|
520
|
-
return e === void 0 &&
|
|
519
|
+
let e = Eo.get(t.strings);
|
|
520
|
+
return e === void 0 && Eo.set(t.strings, e = new _t(t)), e;
|
|
521
521
|
}
|
|
522
522
|
k(t) {
|
|
523
523
|
Hi(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -566,7 +566,7 @@ class Bt {
|
|
|
566
566
|
t === Q ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
class
|
|
569
|
+
class vn extends Bt {
|
|
570
570
|
constructor() {
|
|
571
571
|
super(...arguments), this.type = 3;
|
|
572
572
|
}
|
|
@@ -574,7 +574,7 @@ class bn extends Bt {
|
|
|
574
574
|
this.element[this.name] = t === Q ? void 0 : t;
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
class
|
|
577
|
+
class yn extends Bt {
|
|
578
578
|
constructor() {
|
|
579
579
|
super(...arguments), this.type = 4;
|
|
580
580
|
}
|
|
@@ -582,7 +582,7 @@ class vn extends Bt {
|
|
|
582
582
|
this.element.toggleAttribute(this.name, !!t && t !== Q);
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
-
class
|
|
585
|
+
class xn extends Bt {
|
|
586
586
|
constructor(t, e, i, r, s) {
|
|
587
587
|
super(t, e, i, r, s), this.type = 5;
|
|
588
588
|
}
|
|
@@ -598,7 +598,7 @@ class yn extends Bt {
|
|
|
598
598
|
typeof this._$AH == "function" ? this._$AH.call((i = (e = this.options) == null ? void 0 : e.host) != null ? i : this.element, t) : this._$AH.handleEvent(t);
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
|
-
class
|
|
601
|
+
class wn {
|
|
602
602
|
constructor(t, e, i) {
|
|
603
603
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
604
604
|
}
|
|
@@ -610,9 +610,9 @@ class xn {
|
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
612
|
const Xt = ht.litHtmlPolyfillSupport;
|
|
613
|
-
var
|
|
614
|
-
Xt == null || Xt(_t, Et), ((
|
|
615
|
-
const
|
|
613
|
+
var lr;
|
|
614
|
+
Xt == null || Xt(_t, Et), ((lr = ht.litHtmlVersions) != null ? lr : ht.litHtmlVersions = []).push("3.2.1");
|
|
615
|
+
const En = (o, t, e) => {
|
|
616
616
|
var s, n;
|
|
617
617
|
const i = (s = e == null ? void 0 : e.renderBefore) != null ? s : t;
|
|
618
618
|
let r = i._$litPart$;
|
|
@@ -638,7 +638,7 @@ class qe extends We {
|
|
|
638
638
|
}
|
|
639
639
|
update(t) {
|
|
640
640
|
const e = this.render();
|
|
641
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
641
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = En(e, this.renderRoot, this.renderOptions);
|
|
642
642
|
}
|
|
643
643
|
connectedCallback() {
|
|
644
644
|
var t;
|
|
@@ -652,18 +652,18 @@ class qe extends We {
|
|
|
652
652
|
return Xe;
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
var
|
|
656
|
-
qe._$litElement$ = !0, qe.finalized = !0, (
|
|
655
|
+
var cr;
|
|
656
|
+
qe._$litElement$ = !0, qe.finalized = !0, (cr = globalThis.litElementHydrateSupport) == null || cr.call(globalThis, { LitElement: qe });
|
|
657
657
|
const Zt = globalThis.litElementPolyfillSupport;
|
|
658
658
|
Zt == null || Zt({ LitElement: qe });
|
|
659
|
-
var
|
|
660
|
-
((
|
|
659
|
+
var ur;
|
|
660
|
+
((ur = globalThis.litElementVersions) != null ? ur : globalThis.litElementVersions = []).push("4.1.1");
|
|
661
661
|
/**
|
|
662
662
|
* @license
|
|
663
663
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
664
664
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
665
665
|
*/
|
|
666
|
-
const
|
|
666
|
+
const Sn = (o) => class extends o {
|
|
667
667
|
static get properties() {
|
|
668
668
|
return {
|
|
669
669
|
/**
|
|
@@ -702,102 +702,102 @@ const En = (o) => class extends o {
|
|
|
702
702
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
703
703
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
704
704
|
*/
|
|
705
|
-
const
|
|
706
|
-
function
|
|
705
|
+
const gr = [], _i = /* @__PURE__ */ new Set(), ji = /* @__PURE__ */ new Set();
|
|
706
|
+
function br(o) {
|
|
707
707
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
708
708
|
}
|
|
709
|
-
function
|
|
710
|
-
return
|
|
709
|
+
function Cn(o) {
|
|
710
|
+
return br(customElements.get(o));
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function An(o = []) {
|
|
713
713
|
return [o].flat(1 / 0).filter((t) => t instanceof Bi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
714
714
|
}
|
|
715
|
-
function
|
|
715
|
+
function vr(o, t) {
|
|
716
716
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function yr(o) {
|
|
719
719
|
return o.map((t) => t.cssText).join(`
|
|
720
720
|
`);
|
|
721
721
|
}
|
|
722
722
|
const It = "vaadin-themable-mixin-style";
|
|
723
|
-
function
|
|
723
|
+
function kn(o, t) {
|
|
724
724
|
const e = document.createElement("style");
|
|
725
|
-
e.id = It, e.textContent =
|
|
725
|
+
e.id = It, e.textContent = yr(o), t.content.appendChild(e);
|
|
726
726
|
}
|
|
727
|
-
function
|
|
727
|
+
function Pn(o) {
|
|
728
728
|
if (!o.shadowRoot)
|
|
729
729
|
return;
|
|
730
730
|
const t = o.constructor;
|
|
731
731
|
if (o instanceof qe)
|
|
732
|
-
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
732
|
+
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), dr(o.shadowRoot, t.elementStyles);
|
|
733
733
|
else {
|
|
734
734
|
const e = o.shadowRoot.getElementById(It), i = t.prototype._template;
|
|
735
735
|
e.textContent = i.content.getElementById(It).textContent;
|
|
736
736
|
}
|
|
737
737
|
}
|
|
738
|
-
function
|
|
738
|
+
function Dn(o) {
|
|
739
739
|
_i.forEach((t) => {
|
|
740
740
|
const e = t.deref();
|
|
741
|
-
e instanceof o ?
|
|
741
|
+
e instanceof o ? Pn(e) : e || _i.delete(t);
|
|
742
742
|
});
|
|
743
743
|
}
|
|
744
|
-
function
|
|
744
|
+
function xr(o) {
|
|
745
745
|
if (o.prototype instanceof qe)
|
|
746
746
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
747
747
|
else {
|
|
748
748
|
const t = o.prototype._template;
|
|
749
|
-
t.content.getElementById(It).textContent =
|
|
749
|
+
t.content.getElementById(It).textContent = yr(o.getStylesForThis());
|
|
750
750
|
}
|
|
751
751
|
ji.forEach((t) => {
|
|
752
752
|
const e = customElements.get(t);
|
|
753
|
-
e !== o && e.prototype instanceof o &&
|
|
753
|
+
e !== o && e.prototype instanceof o && xr(e);
|
|
754
754
|
});
|
|
755
755
|
}
|
|
756
|
-
function
|
|
756
|
+
function Tn(o, t) {
|
|
757
757
|
const e = o.__themes;
|
|
758
758
|
return !e || !t ? !1 : e.some(
|
|
759
759
|
(i) => i.styles.some((r) => t.some((s) => s.cssText === r.cssText))
|
|
760
760
|
);
|
|
761
761
|
}
|
|
762
762
|
function q(o, t, e = {}) {
|
|
763
|
-
t =
|
|
763
|
+
t = An(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : gr.push({
|
|
764
764
|
themeFor: o,
|
|
765
765
|
styles: t,
|
|
766
766
|
include: e.include,
|
|
767
767
|
moduleId: e.moduleId
|
|
768
768
|
}), o && ji.forEach((i) => {
|
|
769
|
-
if (
|
|
769
|
+
if (vr(o, i) && Cn(i)) {
|
|
770
770
|
const r = customElements.get(i);
|
|
771
|
-
|
|
771
|
+
Tn(r, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
772
772
|
`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`
|
|
773
|
-
),
|
|
773
|
+
), xr(r), Dn(r);
|
|
774
774
|
}
|
|
775
775
|
});
|
|
776
776
|
}
|
|
777
777
|
function gi() {
|
|
778
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
778
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : gr;
|
|
779
779
|
}
|
|
780
|
-
function
|
|
780
|
+
function Mn(o = "") {
|
|
781
781
|
let t = 0;
|
|
782
782
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
783
783
|
}
|
|
784
|
-
function
|
|
784
|
+
function wr(o) {
|
|
785
785
|
const t = [];
|
|
786
786
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
787
787
|
const i = gi().find((r) => r.moduleId === e);
|
|
788
|
-
i ? t.push(...
|
|
788
|
+
i ? t.push(...wr(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
789
789
|
}, o.styles), t;
|
|
790
790
|
}
|
|
791
|
-
function
|
|
792
|
-
const t = `${o}-default-theme`, e = gi().filter((i) => i.moduleId !== t &&
|
|
791
|
+
function On(o) {
|
|
792
|
+
const t = `${o}-default-theme`, e = gi().filter((i) => i.moduleId !== t && vr(i.themeFor, o)).map((i) => qt(Wt({}, i), {
|
|
793
793
|
// Prepend styles from included themes
|
|
794
|
-
styles: [...
|
|
794
|
+
styles: [...wr(i), ...i.styles],
|
|
795
795
|
// Map moduleId to includePriority
|
|
796
|
-
includePriority:
|
|
796
|
+
includePriority: Mn(i.moduleId)
|
|
797
797
|
})).sort((i, r) => r.includePriority - i.includePriority);
|
|
798
798
|
return e.length > 0 ? e : gi().filter((i) => i.moduleId === t);
|
|
799
799
|
}
|
|
800
|
-
const He = (o) => class extends
|
|
800
|
+
const He = (o) => class extends Sn(o) {
|
|
801
801
|
constructor() {
|
|
802
802
|
super(), _i.add(new WeakRef(this));
|
|
803
803
|
}
|
|
@@ -809,7 +809,7 @@ const He = (o) => class extends En(o) {
|
|
|
809
809
|
if (super.finalize(), this.is && ji.add(this.is), this.elementStyles)
|
|
810
810
|
return;
|
|
811
811
|
const e = this.prototype._template;
|
|
812
|
-
!e ||
|
|
812
|
+
!e || br(this) || kn(this.getStylesForThis(), e);
|
|
813
813
|
}
|
|
814
814
|
/**
|
|
815
815
|
* Covers LitElement based component styling
|
|
@@ -827,7 +827,7 @@ const He = (o) => class extends En(o) {
|
|
|
827
827
|
*/
|
|
828
828
|
static getStylesForThis() {
|
|
829
829
|
const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), r = (i ? i.constructor.__themes : []) || [];
|
|
830
|
-
this.__themes = [...e, ...r, ...
|
|
830
|
+
this.__themes = [...e, ...r, ...On(this.is)];
|
|
831
831
|
const s = this.__themes.flatMap((n) => n.styles);
|
|
832
832
|
return s.filter((n, a) => a === s.lastIndexOf(n));
|
|
833
833
|
}
|
|
@@ -837,19 +837,19 @@ const He = (o) => class extends En(o) {
|
|
|
837
837
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
838
838
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
839
839
|
*/
|
|
840
|
-
const
|
|
840
|
+
const In = (o, ...t) => {
|
|
841
841
|
const e = document.createElement("style");
|
|
842
842
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
843
843
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
844
844
|
}, tt = (o, ...t) => {
|
|
845
|
-
|
|
845
|
+
In(`lumo-${o}`, t);
|
|
846
846
|
};
|
|
847
847
|
/**
|
|
848
848
|
* @license
|
|
849
849
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
850
850
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
851
851
|
*/
|
|
852
|
-
const
|
|
852
|
+
const Nn = F`
|
|
853
853
|
:host {
|
|
854
854
|
--lumo-size-xs: 1.625rem;
|
|
855
855
|
--lumo-size-s: 1.875rem;
|
|
@@ -865,13 +865,13 @@ const In = F`
|
|
|
865
865
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
866
866
|
}
|
|
867
867
|
`;
|
|
868
|
-
tt("sizing-props",
|
|
868
|
+
tt("sizing-props", Nn);
|
|
869
869
|
/**
|
|
870
870
|
* @license
|
|
871
871
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
872
872
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
873
873
|
*/
|
|
874
|
-
const
|
|
874
|
+
const zn = F`
|
|
875
875
|
:host {
|
|
876
876
|
/* Square */
|
|
877
877
|
--lumo-space-xs: 0.25rem;
|
|
@@ -895,13 +895,13 @@ const Nn = F`
|
|
|
895
895
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
896
896
|
}
|
|
897
897
|
`;
|
|
898
|
-
tt("spacing-props",
|
|
898
|
+
tt("spacing-props", zn);
|
|
899
899
|
/**
|
|
900
900
|
* @license
|
|
901
901
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
902
902
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
903
903
|
*/
|
|
904
|
-
const
|
|
904
|
+
const Fn = F`
|
|
905
905
|
:host {
|
|
906
906
|
/* Border radius */
|
|
907
907
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -1003,13 +1003,13 @@ F`
|
|
|
1003
1003
|
--vaadin-input-field-value-font-weight: 500;
|
|
1004
1004
|
}
|
|
1005
1005
|
`;
|
|
1006
|
-
tt("style-props",
|
|
1006
|
+
tt("style-props", Fn);
|
|
1007
1007
|
/**
|
|
1008
1008
|
* @license
|
|
1009
1009
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1010
1010
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1011
1011
|
*/
|
|
1012
|
-
const
|
|
1012
|
+
const Ln = F`
|
|
1013
1013
|
:host {
|
|
1014
1014
|
/* Base (background) */
|
|
1015
1015
|
--lumo-base-color: #fff;
|
|
@@ -1095,8 +1095,8 @@ const Fn = F`
|
|
|
1095
1095
|
}
|
|
1096
1096
|
}
|
|
1097
1097
|
`;
|
|
1098
|
-
tt("color-props",
|
|
1099
|
-
const
|
|
1098
|
+
tt("color-props", Ln);
|
|
1099
|
+
const $n = F`
|
|
1100
1100
|
[theme~='dark'] {
|
|
1101
1101
|
/* Base (background) */
|
|
1102
1102
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1215,13 +1215,13 @@ const Ln = F`
|
|
|
1215
1215
|
background: transparent;
|
|
1216
1216
|
}
|
|
1217
1217
|
`;
|
|
1218
|
-
q("",
|
|
1218
|
+
q("", $n, { moduleId: "lumo-color" });
|
|
1219
1219
|
/**
|
|
1220
1220
|
* @license
|
|
1221
1221
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1222
1222
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1223
1223
|
*/
|
|
1224
|
-
const
|
|
1224
|
+
const Rn = F`
|
|
1225
1225
|
:host {
|
|
1226
1226
|
/* prettier-ignore */
|
|
1227
1227
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1241,7 +1241,7 @@ const $n = F`
|
|
|
1241
1241
|
--lumo-line-height-s: 1.375;
|
|
1242
1242
|
--lumo-line-height-m: 1.625;
|
|
1243
1243
|
}
|
|
1244
|
-
`,
|
|
1244
|
+
`, Bn = F`
|
|
1245
1245
|
body,
|
|
1246
1246
|
:host {
|
|
1247
1247
|
font-family: var(--lumo-font-family);
|
|
@@ -1334,14 +1334,14 @@ const $n = F`
|
|
|
1334
1334
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1335
1335
|
}
|
|
1336
1336
|
`;
|
|
1337
|
-
q("",
|
|
1338
|
-
tt("typography-props",
|
|
1337
|
+
q("", Bn, { moduleId: "lumo-typography" });
|
|
1338
|
+
tt("typography-props", Rn);
|
|
1339
1339
|
/**
|
|
1340
1340
|
* @license
|
|
1341
1341
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1342
1342
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1343
1343
|
*/
|
|
1344
|
-
const
|
|
1344
|
+
const Er = F`
|
|
1345
1345
|
:host {
|
|
1346
1346
|
top: var(--lumo-space-m);
|
|
1347
1347
|
right: var(--lumo-space-m);
|
|
@@ -1407,13 +1407,13 @@ const wr = F`
|
|
|
1407
1407
|
}
|
|
1408
1408
|
}
|
|
1409
1409
|
`;
|
|
1410
|
-
q("",
|
|
1410
|
+
q("", Er, { moduleId: "lumo-overlay" });
|
|
1411
1411
|
/**
|
|
1412
1412
|
* @license
|
|
1413
1413
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1414
1414
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1415
1415
|
*/
|
|
1416
|
-
const
|
|
1416
|
+
const Sr = F`
|
|
1417
1417
|
:host([opening]),
|
|
1418
1418
|
:host([closing]) {
|
|
1419
1419
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1444,8 +1444,8 @@ const Er = F`
|
|
|
1444
1444
|
}
|
|
1445
1445
|
}
|
|
1446
1446
|
`;
|
|
1447
|
-
q("",
|
|
1448
|
-
const
|
|
1447
|
+
q("", Sr, { moduleId: "lumo-menu-overlay-core" });
|
|
1448
|
+
const Hn = F`
|
|
1449
1449
|
/* Small viewport (bottom sheet) styles */
|
|
1450
1450
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
1451
1451
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1507,9 +1507,9 @@ const Bn = F`
|
|
|
1507
1507
|
transform: translateY(150%);
|
|
1508
1508
|
}
|
|
1509
1509
|
}
|
|
1510
|
-
`,
|
|
1511
|
-
q("",
|
|
1512
|
-
const
|
|
1510
|
+
`, Cr = [Er, Sr, Hn];
|
|
1511
|
+
q("", Cr, { moduleId: "lumo-menu-overlay" });
|
|
1512
|
+
const jn = F`
|
|
1513
1513
|
[part='overlay'] {
|
|
1514
1514
|
/*
|
|
1515
1515
|
Width:
|
|
@@ -1555,10 +1555,10 @@ const Hn = F`
|
|
|
1555
1555
|
}
|
|
1556
1556
|
}
|
|
1557
1557
|
`;
|
|
1558
|
-
q("vaadin-date-picker-overlay", [
|
|
1558
|
+
q("vaadin-date-picker-overlay", [Cr, jn], {
|
|
1559
1559
|
moduleId: "lumo-date-picker-overlay"
|
|
1560
1560
|
});
|
|
1561
|
-
const
|
|
1561
|
+
const Yn = F`
|
|
1562
1562
|
:host {
|
|
1563
1563
|
/* Sizing */
|
|
1564
1564
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1835,7 +1835,7 @@ const jn = F`
|
|
|
1835
1835
|
margin-right: 0;
|
|
1836
1836
|
}
|
|
1837
1837
|
`;
|
|
1838
|
-
q("vaadin-button",
|
|
1838
|
+
q("vaadin-button", Yn, { moduleId: "lumo-button" });
|
|
1839
1839
|
q(
|
|
1840
1840
|
"vaadin-date-picker-year",
|
|
1841
1841
|
F`
|
|
@@ -2360,7 +2360,7 @@ q(
|
|
|
2360
2360
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2361
2361
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2362
2362
|
*/
|
|
2363
|
-
const
|
|
2363
|
+
const Vn = F`
|
|
2364
2364
|
@font-face {
|
|
2365
2365
|
font-family: 'lumo-icons';
|
|
2366
2366
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5afzvgtyz9/zG9t1hV4RtF1pXolowvtzc2z6L2aYUQM45jKH9WDTvd1LRDoDASYWhfTzTyvboXz6uZX4ARX5wrF39y+HM2+CJ8d0pkyqBIqoze3D12ez4DrFoYzxI8dWwMrDlZ2DMqQAR9AROsJU+2smlTPaTTco52BVxXa2a2+I8vvqd2dVHm1LoPeTn/AZPRYGthDYOeZjBjKoFsVGulR3lGU95SeCK44oHU7MhWUGUKZDT3oSUcG2GWuh+EDDfUYA/jhIhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgJW95qEtpJ1VcW9HiTriZBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKifkqHRCoWZc3m11Wa/dKdFgXD4kSYfkeJBKd8KMz7J8dZn/cGRCcLGDnA2Ge3bKzcvlnTDNthFWLH7Xt80ua5FMjA4WKelWv5Xo16vHuYzpRbJhhdVlftuRK0VlR27D9lu5TF0DPBi60OrHNO0AfP/uRWvhn/U3LXICE+nh+3IHPUJ8JE6GyBjZQLbjGchlrSgYngF8zyrIF4NJD3atUcgWsWunGN/UHX5B5/yg7uF87Nqp4Gf52F3gH73DjEZNRoqCKAr9giQJp5rGJABpiVE2htNhW9R8nw0jqYjCYcY4LIjwYNScf4WN06IZnZCEqsI4cFaQbo4Z1TsZBx40YhXkHOecaYE5oY37IIQ+iJJ+UsDYSun5MuRSBRZRUUhlY2DqOGajOR6zrSU/5My6l2DnusH1GQgnw5BZP7iuYM/ahcfQ7Z8y51ddfutvuwNqWQ0cBYr8fj0U0vsHpwerVaB2sWhXT2NExi2r1KUE2tUuVMnkepVQrxTmpQrZTG4iu8he8iPyM3KcPE/+RP5KPoE2CEAKclCBzXATxkYOtUY/o961PWRqsj0chRrHFBbtrjP9/P0ven5pcbRdpL94vfsy33e5+izuwz3nFLFPVNayPZx/jdG1fOChflFRvYzsW6L18efgLrSWIgvcqnGJYi4skO4xREURjbDuxKke5v0T3Mrzkt2fi31uyZlLLrqIpEuXXsMlgw442Jb0GAxjS1DM20kBoCzHLXm/jEm0IltdcvU0fEW24jgiwwRjVd9u4NJHcIyoHJcwvyVqgqj5hqBJ1ZWSJryh9p56UWhX1XbhRbW2ZopuZWsQd5y8mEQ8M+C6xjRYxZbDKWf5AgY+Qq/l6wSPk16zDFjowYuu+wjx13mfkxbyDDxadYT/LijZyI0THB+6yfLaWsRcO82zo9mWTNtpO18qlorZoIVMwSN40tky5DOQ1MCIAe24mvlsuwIIxPb10+uXDQ4uWz/9m3rj+ql7p6bufZARuPVq5tXtsn6KwfP8Jy0TeWOyNhUJN6mhX5rkUTtUppQWEMNTqEdaCGKFYKJaQrCE4JtDLYOlNEKmO5kBTPGY2A0N2sY3+dVlo1N9ycBsIGtOjQ2p/tlZvzo0ur4v6cOh8NTospB7U/X40KahoU3bGIH97dnwmtHlYffVG3R1YOwKM2vNhrPhCT5zk64sG53oS4b31aYjqe/B7+kQiXBN+b6h21hNUPMq29B8CU4elINdygMPKF1B+WBTG7Z9ZshpN/xwEuuDQZR+nuoo4CDaAiiwXmLpmukMQyPf/JMclqgL1ixZQ/nnP2VbdUODFGt2fgBvL123rlLYu/6A9ckb7F3K0/CyBMEu6aQoPscroCcacVehvyQyCZAsizsWWBkoLC+WAiWnOksLKaeuQDzGuqSk42aiYTiJ4zf9afl17SrqaTO1f+XlZAfIuYcq7/IqYMaMrksOJ6vHkOCPDq943xcCnHqVD9pHFRpMqSPXrIua1WNs+tOz1U+ciTCDpPk+c4QYJIHnYhxP/kVPAq+ahFpVhPcHp8qyarhiF+HsBU9Hrl+UZa876fbKipL0KqB6OdUveErgtOI97fZ63ae9SvWU6k2w1JfwqnUbHsYcFCJFrC/W12zIMMirWYEHxMPs6LGYSdkSZ5TsNP9PCpwnWC3HKZ1lydNjWHC2Mn3l6vL0dHn1ldP3LTSrX+vKrBqv7KmMr8p0SR6P1NqF63or6XRlIyO90f7+kf7+myOhvt4tq7f09oUiTc2/dycGgqFQcCDRLYmi1NL7fk0CknVMxEg/cdfs/TnpJMNkgqwj17B8beVazSrVbU4lG67IZYOCnWrYy3yBR9cyWcChywos3LJBEdhhFoAdYjiw0rLGm0xU5OzoGm5/ZfmHjVZpNNg6SznzGKDdwv2cCtVn6Eaxo12cfxLprpVtTcZ6hVx6dow7Yq7e8LXO8PY9Jgjoze9yCtU5FNbegcKkQMdCbt9au/te4Ebe0jkc0ukUL32eYnTpNs20h0KpUOhZPYwVcfhZnfdqeCvDfXiuCbAoYWcXERPc/mDQD3/hdF+wK4i/xv3kYfprIpAuMkk2kW3kdtS0kBIKpZwp8KxmsCyfM1MFzAss9LBkDxRyThiaqTLwKYKJVTwmWTudMyz+yks09346MDh4m72yOxCKrt1XMlQ1qPVlTEVVQ1ofdK/sCWjtZu9qGwZ8YZ9PPWlo1IV3eW3+U0aXblP39zrt+JPf6UhEQ1rUjNBULN+utyuaDNW34kpAVuSOeMTyWbSNWnooFu+QFNWQ4d/Ox4IPWx41fP/fB/Rjeoz08ezPA9TysMtmnOXfGN7Ui3xIYLDALrlDLOP09qtJuY2OeL0+QZXdRnR1nxRVBF/SOyKKPpcrn9mWzH4rH9IidE+PTNU2182+hOgSItrE1slByS24vaLvJpxOqe4Pduf3HJkZ+jLqUz9rRzB7p8gKcgWZwV1L8JtUS5Z2JxZSOCuBoMTQihMzLbCPA0KqGMAljRQjONklW/wjnXKy8vxT/Elvm3/KiMUMOoV0/vnDYlhec0SMKtt3/kKMyOt33tj2bqxQLsTjSGLl+EAsNhCnTyRGktW55EgCn/A4PlnWn+Mg8bgZrWqHxTbPwMuyy1u5YeZF2SUM7JRhddwRgiRuxpmgJmxn9ZW7XpcF3ViX/ar6ptRpGJ0S9Adg4qhb9sI3vbL7qNJV/y4i07t5TZBiho1imFoMz3gED+CtjYUxvP4SOxov4bFoNPg5aR1e+G4UgDPoedJTpogyCJ7oYvRqoVS0MQAy+CoNEdTDUjok5ZHZL/WtjV7rFj3PKQE3iKp7ou+rIxN3b9LB1dGjeT4cvKo3FrnWpYpuaFd/h3dtV8UeKN1Y9hpR3dt4p0H/zKuPQq0kZQUIIpuDfoiETsnIk+gCWMJZUXHtE8V9LkUc2TE8vOMbO4ax/MACabzyaGXc7u3FBr11ThBdB8SIeMAlCntG2KThHSPsaj2Dc9KNyY2a0KZ7ODaTHoRiFkeYz+shZBpCS4X6471KKKnuHd84edfk5F37d1XO5bbkcltu2ZLNbvnPXiUVAnVvprJrP+NObryjxrllS65md6Tm6wzFHRR4dY3QUUjb7MgxaIixU8hspi98fl/Xc+IB4iU66eCVL9YfAfahiSUt4TONS8x0D8W7u8vd3fGWx6OXlM/U1IoU/s61PGhpyXRFa3eReq2qG56lvmYtXavCC1iN7lbiBpWxXHU+cSlztVLVz0tVN600fVsLxaVDknhYioeoXP3t4lqV1r79MAw0GCI1FTL1YIGzPL1MMlJ9ZsN9P7lvA2yr9ZFUzwzPrVgxN/x/SS+chwB4nGNgZGBgAOLPrYdY4vltvjJwM78AijDUqG5oRND/XzNPZboF5HIwMIFEAU/lC+J4nGNgZGBgDvqfBSRfMAAB81QGRgZUoA0AVvYDbwAAAHicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -2414,13 +2414,13 @@ const Yn = F`
|
|
|
2414
2414
|
--lumo-icons-user: '\\ea2a';
|
|
2415
2415
|
}
|
|
2416
2416
|
`;
|
|
2417
|
-
tt("font-icons",
|
|
2417
|
+
tt("font-icons", Vn);
|
|
2418
2418
|
/**
|
|
2419
2419
|
* @license
|
|
2420
2420
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2421
2421
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2422
2422
|
*/
|
|
2423
|
-
const
|
|
2423
|
+
const Ar = F`
|
|
2424
2424
|
[part$='button'] {
|
|
2425
2425
|
flex: none;
|
|
2426
2426
|
width: 1em;
|
|
@@ -2448,13 +2448,13 @@ const Cr = F`
|
|
|
2448
2448
|
display: block;
|
|
2449
2449
|
}
|
|
2450
2450
|
`;
|
|
2451
|
-
q("",
|
|
2451
|
+
q("", Ar, { moduleId: "lumo-field-button" });
|
|
2452
2452
|
/**
|
|
2453
2453
|
* @license
|
|
2454
2454
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2455
2455
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2456
2456
|
*/
|
|
2457
|
-
const
|
|
2457
|
+
const Un = F`
|
|
2458
2458
|
:host {
|
|
2459
2459
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2460
2460
|
}
|
|
@@ -2516,7 +2516,7 @@ const Vn = F`
|
|
|
2516
2516
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2517
2517
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2518
2518
|
*/
|
|
2519
|
-
const
|
|
2519
|
+
const kr = F`
|
|
2520
2520
|
[part='label'] {
|
|
2521
2521
|
align-self: flex-start;
|
|
2522
2522
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -2629,13 +2629,13 @@ const Ar = F`
|
|
|
2629
2629
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2630
2630
|
}
|
|
2631
2631
|
`;
|
|
2632
|
-
q("",
|
|
2632
|
+
q("", kr, { moduleId: "lumo-required-field" });
|
|
2633
2633
|
/**
|
|
2634
2634
|
* @license
|
|
2635
2635
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2636
2636
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2637
2637
|
*/
|
|
2638
|
-
const
|
|
2638
|
+
const Wn = F`
|
|
2639
2639
|
:host {
|
|
2640
2640
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2641
2641
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2766,11 +2766,11 @@ const Un = F`
|
|
|
2766
2766
|
[part='clear-button']::before {
|
|
2767
2767
|
content: var(--lumo-icons-cross);
|
|
2768
2768
|
}
|
|
2769
|
-
`,
|
|
2770
|
-
q("",
|
|
2769
|
+
`, Pr = [kr, Ar, Un, Wn];
|
|
2770
|
+
q("", Pr, {
|
|
2771
2771
|
moduleId: "lumo-input-field-shared-styles"
|
|
2772
2772
|
});
|
|
2773
|
-
const
|
|
2773
|
+
const qn = F`
|
|
2774
2774
|
[part='toggle-button']::before {
|
|
2775
2775
|
content: var(--lumo-icons-calendar);
|
|
2776
2776
|
}
|
|
@@ -2793,7 +2793,7 @@ const Wn = F`
|
|
|
2793
2793
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2794
2794
|
}
|
|
2795
2795
|
`;
|
|
2796
|
-
q("vaadin-date-picker", [
|
|
2796
|
+
q("vaadin-date-picker", [Pr, qn], { moduleId: "lumo-date-picker" });
|
|
2797
2797
|
/**
|
|
2798
2798
|
@license
|
|
2799
2799
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2815,9 +2815,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2815
2815
|
Code distributed by Google as part of the polymer project is also
|
|
2816
2816
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2817
2817
|
*/
|
|
2818
|
-
let
|
|
2818
|
+
let Kn = /(url\()([^)]*)(\))/g, Gn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, St, ue;
|
|
2819
2819
|
function pt(o, t) {
|
|
2820
|
-
if (o &&
|
|
2820
|
+
if (o && Gn.test(o) || o === "//")
|
|
2821
2821
|
return o;
|
|
2822
2822
|
if (St === void 0) {
|
|
2823
2823
|
St = !1;
|
|
@@ -2836,7 +2836,7 @@ function pt(o, t) {
|
|
|
2836
2836
|
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;
|
|
2837
2837
|
}
|
|
2838
2838
|
function Yi(o, t) {
|
|
2839
|
-
return o.replace(
|
|
2839
|
+
return o.replace(Kn, function(e, i, r, s) {
|
|
2840
2840
|
return i + "'" + pt(r.replace(/["']/g, ""), t) + "'" + s;
|
|
2841
2841
|
});
|
|
2842
2842
|
}
|
|
@@ -2852,9 +2852,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2852
2852
|
Code distributed by Google as part of the polymer project is also
|
|
2853
2853
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2854
2854
|
*/
|
|
2855
|
-
const
|
|
2855
|
+
const Dr = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
2856
2856
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
2857
|
-
const
|
|
2857
|
+
const Jn = Dr && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
2858
2858
|
(() => {
|
|
2859
2859
|
try {
|
|
2860
2860
|
const o = new CSSStyleSheet();
|
|
@@ -2865,11 +2865,11 @@ const Gn = Pr && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2865
2865
|
return !1;
|
|
2866
2866
|
}
|
|
2867
2867
|
})();
|
|
2868
|
-
let
|
|
2868
|
+
let Xn = window.Polymer && window.Polymer.rootPath || Vi(document.baseURI || window.location.href), Nt = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2869
2869
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2870
|
-
let zt = window.Polymer && window.Polymer.strictTemplatePolicy || !1,
|
|
2870
|
+
let zt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Zn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Tr = window.Polymer && window.Polymer.legacyOptimizations || !1, Mr = window.Polymer && window.Polymer.legacyWarnings || !1, Qn = window.Polymer && window.Polymer.syncInitialRender || !1, bi = window.Polymer && window.Polymer.legacyUndefined || !1, ea = window.Polymer && window.Polymer.orderedComputed || !1, So = window.Polymer && window.Polymer.removeNestedTemplates || !1, ta = window.Polymer && window.Polymer.fastDomIf || !1, Co = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2871
2871
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2872
|
-
let
|
|
2872
|
+
let ia = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2873
2873
|
/**
|
|
2874
2874
|
@license
|
|
2875
2875
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2879,14 +2879,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2879
2879
|
Code distributed by Google as part of the polymer project is also
|
|
2880
2880
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2881
2881
|
*/
|
|
2882
|
-
let
|
|
2882
|
+
let oa = 0;
|
|
2883
2883
|
const X = function(o) {
|
|
2884
2884
|
let t = (
|
|
2885
2885
|
/** @type {!MixinFunction} */
|
|
2886
2886
|
o.__mixinApplications
|
|
2887
2887
|
);
|
|
2888
2888
|
t || (t = /* @__PURE__ */ new WeakMap(), o.__mixinApplications = t);
|
|
2889
|
-
let e =
|
|
2889
|
+
let e = oa++;
|
|
2890
2890
|
function i(r) {
|
|
2891
2891
|
let s = (
|
|
2892
2892
|
/** @type {!MixinFunction} */
|
|
@@ -2917,14 +2917,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2917
2917
|
Code distributed by Google as part of the polymer project is also
|
|
2918
2918
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2919
2919
|
*/
|
|
2920
|
-
let Ui = {},
|
|
2921
|
-
function
|
|
2922
|
-
Ui[o] =
|
|
2920
|
+
let Ui = {}, Or = {};
|
|
2921
|
+
function Ao(o, t) {
|
|
2922
|
+
Ui[o] = Or[o.toLowerCase()] = t;
|
|
2923
2923
|
}
|
|
2924
|
-
function
|
|
2925
|
-
return Ui[o] ||
|
|
2924
|
+
function ko(o) {
|
|
2925
|
+
return Ui[o] || Or[o.toLowerCase()];
|
|
2926
2926
|
}
|
|
2927
|
-
function
|
|
2927
|
+
function ra(o) {
|
|
2928
2928
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2929
2929
|
}
|
|
2930
2930
|
class gt extends HTMLElement {
|
|
@@ -2945,7 +2945,7 @@ class gt extends HTMLElement {
|
|
|
2945
2945
|
*/
|
|
2946
2946
|
static import(t, e) {
|
|
2947
2947
|
if (t) {
|
|
2948
|
-
let i =
|
|
2948
|
+
let i = ko(t);
|
|
2949
2949
|
return i && e ? i.querySelector(e) : i;
|
|
2950
2950
|
}
|
|
2951
2951
|
return null;
|
|
@@ -2993,9 +2993,9 @@ class gt extends HTMLElement {
|
|
|
2993
2993
|
*/
|
|
2994
2994
|
register(t) {
|
|
2995
2995
|
if (t = t || this.id, t) {
|
|
2996
|
-
if (zt &&
|
|
2997
|
-
throw
|
|
2998
|
-
this.id = t,
|
|
2996
|
+
if (zt && ko(t) !== void 0)
|
|
2997
|
+
throw Ao(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2998
|
+
this.id = t, Ao(t, this), ra(this);
|
|
2999
2999
|
}
|
|
3000
3000
|
}
|
|
3001
3001
|
}
|
|
@@ -3010,14 +3010,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3010
3010
|
Code distributed by Google as part of the polymer project is also
|
|
3011
3011
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3012
3012
|
*/
|
|
3013
|
-
const
|
|
3014
|
-
function
|
|
3013
|
+
const sa = "link[rel=import][type~=css]", na = "include", Po = "shady-unscoped";
|
|
3014
|
+
function Ir(o) {
|
|
3015
3015
|
return (
|
|
3016
3016
|
/** @type {?DomModule} */
|
|
3017
3017
|
gt.import(o)
|
|
3018
3018
|
);
|
|
3019
3019
|
}
|
|
3020
|
-
function
|
|
3020
|
+
function Do(o) {
|
|
3021
3021
|
let t = o.body ? o.body : o;
|
|
3022
3022
|
const e = Yi(
|
|
3023
3023
|
t.textContent,
|
|
@@ -3025,24 +3025,24 @@ function Po(o) {
|
|
|
3025
3025
|
), i = document.createElement("style");
|
|
3026
3026
|
return i.textContent = e, i;
|
|
3027
3027
|
}
|
|
3028
|
-
function
|
|
3028
|
+
function aa(o) {
|
|
3029
3029
|
const t = o.trim().split(/\s+/), e = [];
|
|
3030
3030
|
for (let i = 0; i < t.length; i++)
|
|
3031
|
-
e.push(...
|
|
3031
|
+
e.push(...la(t[i]));
|
|
3032
3032
|
return e;
|
|
3033
3033
|
}
|
|
3034
|
-
function
|
|
3035
|
-
const t =
|
|
3034
|
+
function la(o) {
|
|
3035
|
+
const t = Ir(o);
|
|
3036
3036
|
if (!t)
|
|
3037
3037
|
return console.warn("Could not find style data in module named", o), [];
|
|
3038
3038
|
if (t._styles === void 0) {
|
|
3039
3039
|
const e = [];
|
|
3040
|
-
e.push(...
|
|
3040
|
+
e.push(...zr(t));
|
|
3041
3041
|
const i = (
|
|
3042
3042
|
/** @type {?HTMLTemplateElement} */
|
|
3043
3043
|
t.querySelector("template")
|
|
3044
3044
|
);
|
|
3045
|
-
i && e.push(...
|
|
3045
|
+
i && e.push(...Nr(
|
|
3046
3046
|
i,
|
|
3047
3047
|
/** @type {templateWithAssetPath} */
|
|
3048
3048
|
t.assetpath
|
|
@@ -3050,12 +3050,12 @@ function aa(o) {
|
|
|
3050
3050
|
}
|
|
3051
3051
|
return t._styles;
|
|
3052
3052
|
}
|
|
3053
|
-
function
|
|
3053
|
+
function Nr(o, t) {
|
|
3054
3054
|
if (!o._styles) {
|
|
3055
3055
|
const e = [], i = o.content.querySelectorAll("style");
|
|
3056
3056
|
for (let r = 0; r < i.length; r++) {
|
|
3057
|
-
let s = i[r], n = s.getAttribute(
|
|
3058
|
-
n && e.push(...
|
|
3057
|
+
let s = i[r], n = s.getAttribute(na);
|
|
3058
|
+
n && e.push(...aa(n).filter(function(a, l, c) {
|
|
3059
3059
|
return c.indexOf(a) === l;
|
|
3060
3060
|
})), t && (s.textContent = Yi(
|
|
3061
3061
|
s.textContent,
|
|
@@ -3067,21 +3067,21 @@ function Ir(o, t) {
|
|
|
3067
3067
|
}
|
|
3068
3068
|
return o._styles;
|
|
3069
3069
|
}
|
|
3070
|
-
function
|
|
3071
|
-
let t =
|
|
3072
|
-
return t ?
|
|
3070
|
+
function ca(o) {
|
|
3071
|
+
let t = Ir(o);
|
|
3072
|
+
return t ? zr(t) : [];
|
|
3073
3073
|
}
|
|
3074
|
-
function
|
|
3075
|
-
const t = [], e = o.querySelectorAll(
|
|
3074
|
+
function zr(o) {
|
|
3075
|
+
const t = [], e = o.querySelectorAll(sa);
|
|
3076
3076
|
for (let i = 0; i < e.length; i++) {
|
|
3077
3077
|
let r = e[i];
|
|
3078
3078
|
if (r.import) {
|
|
3079
|
-
const s = r.import, n = r.hasAttribute(
|
|
3079
|
+
const s = r.import, n = r.hasAttribute(Po);
|
|
3080
3080
|
if (n && !s._unscopedStyle) {
|
|
3081
|
-
const a =
|
|
3082
|
-
a.setAttribute(
|
|
3081
|
+
const a = Do(s);
|
|
3082
|
+
a.setAttribute(Po, ""), s._unscopedStyle = a;
|
|
3083
3083
|
} else
|
|
3084
|
-
s._style || (s._style =
|
|
3084
|
+
s._style || (s._style = Do(s));
|
|
3085
3085
|
t.push(n ? s._unscopedStyle : s._style);
|
|
3086
3086
|
}
|
|
3087
3087
|
}
|
|
@@ -3113,7 +3113,7 @@ function je(o) {
|
|
|
3113
3113
|
let t = o.indexOf(".");
|
|
3114
3114
|
return t === -1 ? o : o.slice(0, t);
|
|
3115
3115
|
}
|
|
3116
|
-
function
|
|
3116
|
+
function Fr(o, t) {
|
|
3117
3117
|
return o.indexOf(t + ".") === 0;
|
|
3118
3118
|
}
|
|
3119
3119
|
function bt(o, t) {
|
|
@@ -3122,8 +3122,8 @@ function bt(o, t) {
|
|
|
3122
3122
|
function vt(o, t, e) {
|
|
3123
3123
|
return t + e.slice(o.length);
|
|
3124
3124
|
}
|
|
3125
|
-
function
|
|
3126
|
-
return o === t ||
|
|
3125
|
+
function ua(o, t) {
|
|
3126
|
+
return o === t || Fr(o, t) || bt(o, t);
|
|
3127
3127
|
}
|
|
3128
3128
|
function ct(o) {
|
|
3129
3129
|
if (Array.isArray(o)) {
|
|
@@ -3137,11 +3137,11 @@ function ct(o) {
|
|
|
3137
3137
|
} else
|
|
3138
3138
|
return o;
|
|
3139
3139
|
}
|
|
3140
|
-
function
|
|
3140
|
+
function Lr(o) {
|
|
3141
3141
|
return Array.isArray(o) ? ct(o).split(".") : o.toString().split(".");
|
|
3142
3142
|
}
|
|
3143
3143
|
function se(o, t, e) {
|
|
3144
|
-
let i = o, r =
|
|
3144
|
+
let i = o, r = Lr(t);
|
|
3145
3145
|
for (let s = 0; s < r.length; s++) {
|
|
3146
3146
|
if (!i)
|
|
3147
3147
|
return;
|
|
@@ -3150,8 +3150,8 @@ function se(o, t, e) {
|
|
|
3150
3150
|
}
|
|
3151
3151
|
return e && (e.path = r.join(".")), i;
|
|
3152
3152
|
}
|
|
3153
|
-
function
|
|
3154
|
-
let i = o, r =
|
|
3153
|
+
function To(o, t, e) {
|
|
3154
|
+
let i = o, r = Lr(t), s = r[r.length - 1];
|
|
3155
3155
|
if (r.length > 1) {
|
|
3156
3156
|
for (let n = 0; n < r.length - 1; n++) {
|
|
3157
3157
|
let a = r[n];
|
|
@@ -3172,15 +3172,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3172
3172
|
Code distributed by Google as part of the polymer project is also
|
|
3173
3173
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3174
3174
|
*/
|
|
3175
|
-
const Ft = {},
|
|
3176
|
-
function
|
|
3175
|
+
const Ft = {}, da = /-[a-z]/g, ha = /([A-Z])/g;
|
|
3176
|
+
function $r(o) {
|
|
3177
3177
|
return Ft[o] || (Ft[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3178
|
-
|
|
3178
|
+
da,
|
|
3179
3179
|
(t) => t[1].toUpperCase()
|
|
3180
3180
|
));
|
|
3181
3181
|
}
|
|
3182
3182
|
function Ht(o) {
|
|
3183
|
-
return Ft[o] || (Ft[o] = o.replace(
|
|
3183
|
+
return Ft[o] || (Ft[o] = o.replace(ha, "-$1").toLowerCase());
|
|
3184
3184
|
}
|
|
3185
3185
|
/**
|
|
3186
3186
|
@license
|
|
@@ -3191,9 +3191,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3191
3191
|
Code distributed by Google as part of the polymer project is also
|
|
3192
3192
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3193
3193
|
*/
|
|
3194
|
-
let
|
|
3195
|
-
new window.MutationObserver(
|
|
3196
|
-
function
|
|
3194
|
+
let pa = 0, Rr = 0, Ke = [], fa = 0, yi = !1, Br = document.createTextNode("");
|
|
3195
|
+
new window.MutationObserver(ma).observe(Br, { characterData: !0 });
|
|
3196
|
+
function ma() {
|
|
3197
3197
|
yi = !1;
|
|
3198
3198
|
const o = Ke.length;
|
|
3199
3199
|
for (let t = 0; t < o; t++) {
|
|
@@ -3207,9 +3207,9 @@ function fa() {
|
|
|
3207
3207
|
});
|
|
3208
3208
|
}
|
|
3209
3209
|
}
|
|
3210
|
-
Ke.splice(0, o),
|
|
3210
|
+
Ke.splice(0, o), Rr += o;
|
|
3211
3211
|
}
|
|
3212
|
-
const
|
|
3212
|
+
const _a = {
|
|
3213
3213
|
/**
|
|
3214
3214
|
* Returns a sub-module with the async interface providing the provided
|
|
3215
3215
|
* delay.
|
|
@@ -3249,7 +3249,7 @@ const ma = {
|
|
|
3249
3249
|
cancel(o) {
|
|
3250
3250
|
window.clearTimeout(o);
|
|
3251
3251
|
}
|
|
3252
|
-
},
|
|
3252
|
+
}, Hr = {
|
|
3253
3253
|
/**
|
|
3254
3254
|
* Enqueues a function called at microtask timing.
|
|
3255
3255
|
*
|
|
@@ -3258,7 +3258,7 @@ const ma = {
|
|
|
3258
3258
|
* @return {number} Handle used for canceling task
|
|
3259
3259
|
*/
|
|
3260
3260
|
run(o) {
|
|
3261
|
-
return yi || (yi = !0,
|
|
3261
|
+
return yi || (yi = !0, Br.textContent = fa++), Ke.push(o), pa++;
|
|
3262
3262
|
},
|
|
3263
3263
|
/**
|
|
3264
3264
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3268,7 +3268,7 @@ const ma = {
|
|
|
3268
3268
|
* @return {void}
|
|
3269
3269
|
*/
|
|
3270
3270
|
cancel(o) {
|
|
3271
|
-
const t = o -
|
|
3271
|
+
const t = o - Rr;
|
|
3272
3272
|
if (t >= 0) {
|
|
3273
3273
|
if (!Ke[t])
|
|
3274
3274
|
throw new Error("invalid async handle: " + o);
|
|
@@ -3285,7 +3285,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3285
3285
|
Code distributed by Google as part of the polymer project is also
|
|
3286
3286
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3287
3287
|
*/
|
|
3288
|
-
const
|
|
3288
|
+
const ga = Hr, jr = X(
|
|
3289
3289
|
/**
|
|
3290
3290
|
* @template T
|
|
3291
3291
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3494,7 +3494,7 @@ const _a = Br, Hr = X(
|
|
|
3494
3494
|
* @override
|
|
3495
3495
|
*/
|
|
3496
3496
|
_invalidateProperties() {
|
|
3497
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3497
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, ga.run(() => {
|
|
3498
3498
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
3499
3499
|
}));
|
|
3500
3500
|
}
|
|
@@ -3721,23 +3721,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3721
3721
|
Code distributed by Google as part of the polymer project is also
|
|
3722
3722
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3723
3723
|
*/
|
|
3724
|
-
const
|
|
3724
|
+
const Yr = {};
|
|
3725
3725
|
let Ct = HTMLElement.prototype;
|
|
3726
3726
|
for (; Ct; ) {
|
|
3727
3727
|
let o = Object.getOwnPropertyNames(Ct);
|
|
3728
3728
|
for (let t = 0; t < o.length; t++)
|
|
3729
|
-
|
|
3729
|
+
Yr[o[t]] = !0;
|
|
3730
3730
|
Ct = Object.getPrototypeOf(Ct);
|
|
3731
3731
|
}
|
|
3732
|
-
const
|
|
3733
|
-
function
|
|
3734
|
-
if (!
|
|
3732
|
+
const ba = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3733
|
+
function va(o, t) {
|
|
3734
|
+
if (!Yr[t]) {
|
|
3735
3735
|
let e = o[t];
|
|
3736
3736
|
e !== void 0 && (o.__data ? o._setPendingProperty(t, e) : (o.__dataProto ? o.hasOwnProperty(JSCompiler_renameProperty("__dataProto", o)) || (o.__dataProto = Object.create(o.__dataProto)) : o.__dataProto = {}, o.__dataProto[t] = e));
|
|
3737
3737
|
}
|
|
3738
3738
|
}
|
|
3739
|
-
const
|
|
3740
|
-
const t =
|
|
3739
|
+
const ya = X((o) => {
|
|
3740
|
+
const t = jr(o);
|
|
3741
3741
|
class e extends t {
|
|
3742
3742
|
/**
|
|
3743
3743
|
* Generates property accessors for all attributes in the standard
|
|
@@ -3755,7 +3755,7 @@ const va = X((o) => {
|
|
|
3755
3755
|
this.observedAttributes
|
|
3756
3756
|
);
|
|
3757
3757
|
for (let s = 0; s < r.length; s++)
|
|
3758
|
-
this.prototype._createPropertyAccessor(
|
|
3758
|
+
this.prototype._createPropertyAccessor($r(r[s]));
|
|
3759
3759
|
}
|
|
3760
3760
|
/**
|
|
3761
3761
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3832,7 +3832,7 @@ const va = X((o) => {
|
|
|
3832
3832
|
if (r instanceof Date)
|
|
3833
3833
|
return r.toString();
|
|
3834
3834
|
if (r) {
|
|
3835
|
-
if (
|
|
3835
|
+
if (ba(r))
|
|
3836
3836
|
return (
|
|
3837
3837
|
/** @type {?} */
|
|
3838
3838
|
r
|
|
@@ -3913,7 +3913,7 @@ const va = X((o) => {
|
|
|
3913
3913
|
* @override
|
|
3914
3914
|
*/
|
|
3915
3915
|
_definePropertyAccessor(r, s) {
|
|
3916
|
-
|
|
3916
|
+
va(this, r), super._definePropertyAccessor(r, s);
|
|
3917
3917
|
}
|
|
3918
3918
|
/**
|
|
3919
3919
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -3948,23 +3948,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3948
3948
|
Code distributed by Google as part of the polymer project is also
|
|
3949
3949
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3950
3950
|
*/
|
|
3951
|
-
const
|
|
3951
|
+
const xa = {
|
|
3952
3952
|
"dom-if": !0,
|
|
3953
3953
|
"dom-repeat": !0
|
|
3954
3954
|
};
|
|
3955
|
-
let
|
|
3956
|
-
function
|
|
3957
|
-
if (!
|
|
3958
|
-
|
|
3955
|
+
let Mo = !1, Oo = !1;
|
|
3956
|
+
function wa() {
|
|
3957
|
+
if (!Mo) {
|
|
3958
|
+
Mo = !0;
|
|
3959
3959
|
const o = document.createElement("textarea");
|
|
3960
|
-
o.placeholder = "a",
|
|
3960
|
+
o.placeholder = "a", Oo = o.placeholder === o.textContent;
|
|
3961
3961
|
}
|
|
3962
|
-
return
|
|
3962
|
+
return Oo;
|
|
3963
3963
|
}
|
|
3964
|
-
function
|
|
3965
|
-
|
|
3964
|
+
function Ea(o) {
|
|
3965
|
+
wa() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3966
3966
|
}
|
|
3967
|
-
const
|
|
3967
|
+
const Sa = (() => {
|
|
3968
3968
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3969
3969
|
"polymer-template-event-attribute-policy",
|
|
3970
3970
|
{
|
|
@@ -3983,19 +3983,19 @@ const Ea = (() => {
|
|
|
3983
3983
|
t.setAttribute(i, r);
|
|
3984
3984
|
};
|
|
3985
3985
|
})();
|
|
3986
|
-
function
|
|
3986
|
+
function Ca(o) {
|
|
3987
3987
|
let t = o.getAttribute("is");
|
|
3988
|
-
if (t &&
|
|
3988
|
+
if (t && xa[t]) {
|
|
3989
3989
|
let e = o;
|
|
3990
3990
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3991
3991
|
const { name: i } = e.attributes[0];
|
|
3992
|
-
|
|
3992
|
+
Sa(o, e, i), e.removeAttribute(i);
|
|
3993
3993
|
}
|
|
3994
3994
|
}
|
|
3995
3995
|
return o;
|
|
3996
3996
|
}
|
|
3997
|
-
function
|
|
3998
|
-
let e = t.parentInfo &&
|
|
3997
|
+
function Vr(o, t) {
|
|
3998
|
+
let e = t.parentInfo && Vr(o, t.parentInfo);
|
|
3999
3999
|
if (e) {
|
|
4000
4000
|
for (let i = e.firstChild, r = 0; i; i = i.nextSibling)
|
|
4001
4001
|
if (t.parentIndex === r++)
|
|
@@ -4003,23 +4003,23 @@ function Yr(o, t) {
|
|
|
4003
4003
|
} else
|
|
4004
4004
|
return o;
|
|
4005
4005
|
}
|
|
4006
|
-
function
|
|
4006
|
+
function Aa(o, t, e, i) {
|
|
4007
4007
|
i.id && (t[i.id] = e);
|
|
4008
4008
|
}
|
|
4009
|
-
function
|
|
4009
|
+
function ka(o, t, e) {
|
|
4010
4010
|
if (e.events && e.events.length)
|
|
4011
4011
|
for (let i = 0, r = e.events, s; i < r.length && (s = r[i]); i++)
|
|
4012
4012
|
o._addMethodEventListenerToNode(t, s.name, s.value, o);
|
|
4013
4013
|
}
|
|
4014
|
-
function
|
|
4014
|
+
function Pa(o, t, e, i) {
|
|
4015
4015
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
4016
4016
|
}
|
|
4017
|
-
function
|
|
4017
|
+
function Da(o, t, e) {
|
|
4018
4018
|
return o = o._methodHost || o, function(r) {
|
|
4019
4019
|
o[e] ? o[e](r, r.detail) : console.warn("listener method `" + e + "` not defined");
|
|
4020
4020
|
};
|
|
4021
4021
|
}
|
|
4022
|
-
const
|
|
4022
|
+
const Ta = X(
|
|
4023
4023
|
/**
|
|
4024
4024
|
* @template T
|
|
4025
4025
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4146,7 +4146,7 @@ const Da = X(
|
|
|
4146
4146
|
/** @type {!HTMLTemplateElement} */
|
|
4147
4147
|
i
|
|
4148
4148
|
);
|
|
4149
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, r, s) || n : a.localName === "slot" && (r.hasInsertionPoint = !0),
|
|
4149
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, r, s) || n : a.localName === "slot" && (r.hasInsertionPoint = !0), Ea(a), a.firstChild && this._parseTemplateChildNodes(a, r, s), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, r, s) || n), n || s.noted;
|
|
4150
4150
|
}
|
|
4151
4151
|
/**
|
|
4152
4152
|
* Parses template child nodes for the given root node.
|
|
@@ -4164,7 +4164,7 @@ const Da = X(
|
|
|
4164
4164
|
static _parseTemplateChildNodes(i, r, s) {
|
|
4165
4165
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4166
4166
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4167
|
-
if (n.localName == "template" && (n =
|
|
4167
|
+
if (n.localName == "template" && (n = Ca(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4168
4168
|
let u = l;
|
|
4169
4169
|
for (; u && u.nodeType === Node.TEXT_NODE; )
|
|
4170
4170
|
n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
|
|
@@ -4299,8 +4299,8 @@ const Da = X(
|
|
|
4299
4299
|
let l = a.nodeList = new Array(s.length);
|
|
4300
4300
|
a.$ = {};
|
|
4301
4301
|
for (let c = 0, u = s.length, d; c < u && (d = s[c]); c++) {
|
|
4302
|
-
let h = l[c] =
|
|
4303
|
-
|
|
4302
|
+
let h = l[c] = Vr(a, d);
|
|
4303
|
+
Aa(this, a.$, h, d), Pa(this, h, d, r), ka(this, h, d);
|
|
4304
4304
|
}
|
|
4305
4305
|
return a = /** @type {!StampedTemplate} */
|
|
4306
4306
|
a, a;
|
|
@@ -4321,7 +4321,7 @@ const Da = X(
|
|
|
4321
4321
|
*/
|
|
4322
4322
|
_addMethodEventListenerToNode(i, r, s, n) {
|
|
4323
4323
|
n = n || i;
|
|
4324
|
-
let a =
|
|
4324
|
+
let a = Da(n, r, s);
|
|
4325
4325
|
return this._addEventListenerToNode(i, r, a), a;
|
|
4326
4326
|
}
|
|
4327
4327
|
/**
|
|
@@ -4371,7 +4371,7 @@ const xt = [], L = {
|
|
|
4371
4371
|
PROPAGATE: "__propagateEffects",
|
|
4372
4372
|
OBSERVE: "__observeEffects",
|
|
4373
4373
|
READ_ONLY: "__readOnly"
|
|
4374
|
-
},
|
|
4374
|
+
}, Ur = "__computeInfo", Ma = /[A-Z]/;
|
|
4375
4375
|
function Qt(o, t, e) {
|
|
4376
4376
|
let i = o[t];
|
|
4377
4377
|
if (!i)
|
|
@@ -4398,7 +4398,7 @@ function ut(o, t, e, i, r, s) {
|
|
|
4398
4398
|
}
|
|
4399
4399
|
return !1;
|
|
4400
4400
|
}
|
|
4401
|
-
function
|
|
4401
|
+
function Oa(o, t, e, i, r, s, n, a) {
|
|
4402
4402
|
let l = !1, c = n ? je(i) : i, u = t[c];
|
|
4403
4403
|
if (u)
|
|
4404
4404
|
for (let d = 0, h = u.length, p; d < h && (p = u[d]); d++)
|
|
@@ -4411,30 +4411,30 @@ function Wi(o, t) {
|
|
|
4411
4411
|
/** @type {string} */
|
|
4412
4412
|
t.name
|
|
4413
4413
|
);
|
|
4414
|
-
return e == o || !!(t.structured &&
|
|
4414
|
+
return e == o || !!(t.structured && Fr(e, o)) || !!(t.wildcard && bt(e, o));
|
|
4415
4415
|
} else
|
|
4416
4416
|
return !0;
|
|
4417
4417
|
}
|
|
4418
|
-
function
|
|
4418
|
+
function Io(o, t, e, i, r) {
|
|
4419
4419
|
let s = typeof r.method == "string" ? o[r.method] : r.method, n = r.property;
|
|
4420
4420
|
s ? s.call(o, o.__data[n], i[n]) : r.dynamicFn || console.warn("observer method `" + r.method + "` not defined");
|
|
4421
4421
|
}
|
|
4422
|
-
function
|
|
4422
|
+
function Ia(o, t, e, i, r) {
|
|
4423
4423
|
let s = o[L.NOTIFY], n, a = yt++;
|
|
4424
4424
|
for (let c in t)
|
|
4425
|
-
t[c] && (s &&
|
|
4425
|
+
t[c] && (s && Oa(o, s, a, c, e, i, r) || r && Na(o, c, e)) && (n = !0);
|
|
4426
4426
|
let l;
|
|
4427
4427
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4428
4428
|
}
|
|
4429
|
-
function
|
|
4429
|
+
function Na(o, t, e) {
|
|
4430
4430
|
let i = je(t);
|
|
4431
4431
|
if (i !== t) {
|
|
4432
4432
|
let r = Ht(i) + "-changed";
|
|
4433
|
-
return
|
|
4433
|
+
return Wr(o, r, e[t], t), !0;
|
|
4434
4434
|
}
|
|
4435
4435
|
return !1;
|
|
4436
4436
|
}
|
|
4437
|
-
function
|
|
4437
|
+
function Wr(o, t, e, i) {
|
|
4438
4438
|
let r = {
|
|
4439
4439
|
value: e,
|
|
4440
4440
|
queueProperty: !0
|
|
@@ -4444,18 +4444,18 @@ function Ur(o, t, e, i) {
|
|
|
4444
4444
|
o
|
|
4445
4445
|
).dispatchEvent(new CustomEvent(t, { detail: r }));
|
|
4446
4446
|
}
|
|
4447
|
-
function
|
|
4447
|
+
function za(o, t, e, i, r, s) {
|
|
4448
4448
|
let a = (s ? je(t) : t) != t ? t : null, l = a ? se(o, a) : o.__data[t];
|
|
4449
|
-
a && l === void 0 && (l = e[t]),
|
|
4449
|
+
a && l === void 0 && (l = e[t]), Wr(o, r.eventName, l, a);
|
|
4450
4450
|
}
|
|
4451
|
-
function
|
|
4451
|
+
function Fa(o, t, e, i, r) {
|
|
4452
4452
|
let s, n = (
|
|
4453
4453
|
/** @type {Object} */
|
|
4454
4454
|
o.detail
|
|
4455
4455
|
), a = n && n.path;
|
|
4456
4456
|
a ? (i = vt(e, i, a), s = n && n.value) : s = o.currentTarget[e], s = r ? !s : s, (!t[L.READ_ONLY] || !t[L.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, s, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4457
4457
|
}
|
|
4458
|
-
function
|
|
4458
|
+
function La(o, t, e, i, r) {
|
|
4459
4459
|
let s = o.__data[t];
|
|
4460
4460
|
Nt && (s = Nt(
|
|
4461
4461
|
s,
|
|
@@ -4465,17 +4465,17 @@ function Fa(o, t, e, i, r) {
|
|
|
4465
4465
|
o
|
|
4466
4466
|
)), o._propertyToAttribute(t, r.attrName, s);
|
|
4467
4467
|
}
|
|
4468
|
-
function
|
|
4468
|
+
function $a(o, t, e, i) {
|
|
4469
4469
|
let r = o[L.COMPUTE];
|
|
4470
4470
|
if (r)
|
|
4471
|
-
if (
|
|
4471
|
+
if (ea) {
|
|
4472
4472
|
yt++;
|
|
4473
|
-
const s =
|
|
4473
|
+
const s = Ba(o), n = [];
|
|
4474
4474
|
for (let l in t)
|
|
4475
|
-
|
|
4475
|
+
No(l, r, n, s, i);
|
|
4476
4476
|
let a;
|
|
4477
4477
|
for (; a = n.shift(); )
|
|
4478
|
-
|
|
4478
|
+
qr(o, "", t, e, a) && No(a.methodInfo, r, n, s, i);
|
|
4479
4479
|
Object.assign(
|
|
4480
4480
|
/** @type {!Object} */
|
|
4481
4481
|
e,
|
|
@@ -4499,7 +4499,7 @@ function La(o, t, e, i) {
|
|
|
4499
4499
|
), s = o.__dataPending, o.__dataPending = null;
|
|
4500
4500
|
}
|
|
4501
4501
|
}
|
|
4502
|
-
const
|
|
4502
|
+
const Ra = (o, t, e) => {
|
|
4503
4503
|
let i = 0, r = t.length - 1, s = -1;
|
|
4504
4504
|
for (; i <= r; ) {
|
|
4505
4505
|
const n = i + r >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -4513,20 +4513,20 @@ const $a = (o, t, e) => {
|
|
|
4513
4513
|
}
|
|
4514
4514
|
}
|
|
4515
4515
|
s < 0 && (s = r + 1), t.splice(s, 0, o);
|
|
4516
|
-
},
|
|
4516
|
+
}, No = (o, t, e, i, r) => {
|
|
4517
4517
|
const s = r ? je(o) : o, n = t[s];
|
|
4518
4518
|
if (n)
|
|
4519
4519
|
for (let a = 0; a < n.length; a++) {
|
|
4520
4520
|
const l = n[a];
|
|
4521
|
-
l.info.lastRun !== yt && (!r || Wi(o, l.trigger)) && (l.info.lastRun = yt,
|
|
4521
|
+
l.info.lastRun !== yt && (!r || Wi(o, l.trigger)) && (l.info.lastRun = yt, Ra(l.info, e, i));
|
|
4522
4522
|
}
|
|
4523
4523
|
};
|
|
4524
|
-
function
|
|
4524
|
+
function Ba(o) {
|
|
4525
4525
|
let t = o.constructor.__orderedComputedDeps;
|
|
4526
4526
|
if (!t) {
|
|
4527
4527
|
t = /* @__PURE__ */ new Map();
|
|
4528
4528
|
const e = o[L.COMPUTE];
|
|
4529
|
-
let { counts: i, ready: r, total: s } =
|
|
4529
|
+
let { counts: i, ready: r, total: s } = Ha(o), n;
|
|
4530
4530
|
for (; n = r.shift(); ) {
|
|
4531
4531
|
t.set(n, t.size);
|
|
4532
4532
|
const a = e[n];
|
|
@@ -4540,8 +4540,8 @@ function Ra(o) {
|
|
|
4540
4540
|
}
|
|
4541
4541
|
return t;
|
|
4542
4542
|
}
|
|
4543
|
-
function
|
|
4544
|
-
const t = o[
|
|
4543
|
+
function Ha(o) {
|
|
4544
|
+
const t = o[Ur], e = {}, i = o[L.COMPUTE], r = [];
|
|
4545
4545
|
let s = 0;
|
|
4546
4546
|
for (let n in t) {
|
|
4547
4547
|
const a = t[n];
|
|
@@ -4551,14 +4551,14 @@ function Ba(o) {
|
|
|
4551
4551
|
t[n] || r.push(n);
|
|
4552
4552
|
return { counts: e, ready: r, total: s };
|
|
4553
4553
|
}
|
|
4554
|
-
function
|
|
4554
|
+
function qr(o, t, e, i, r) {
|
|
4555
4555
|
let s = xi(o, t, e, i, r);
|
|
4556
4556
|
if (s === xt)
|
|
4557
4557
|
return !1;
|
|
4558
4558
|
let n = r.methodInfo;
|
|
4559
4559
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, s, !0) : (o[n] = s, !1);
|
|
4560
4560
|
}
|
|
4561
|
-
function
|
|
4561
|
+
function ja(o, t, e) {
|
|
4562
4562
|
let i = o.__dataLinkedPaths;
|
|
4563
4563
|
if (i) {
|
|
4564
4564
|
let r;
|
|
@@ -4571,17 +4571,17 @@ function Ha(o, t, e) {
|
|
|
4571
4571
|
function ei(o, t, e, i, r, s, n) {
|
|
4572
4572
|
e.bindings = e.bindings || [];
|
|
4573
4573
|
let a = { kind: i, target: r, parts: s, literal: n, isCompound: s.length !== 1 };
|
|
4574
|
-
if (e.bindings.push(a),
|
|
4574
|
+
if (e.bindings.push(a), qa(a)) {
|
|
4575
4575
|
let { event: c, negate: u } = a.parts[0];
|
|
4576
4576
|
a.listenerEvent = c || Ht(r) + "-changed", a.listenerNegate = u;
|
|
4577
4577
|
}
|
|
4578
4578
|
let l = t.nodeInfoList.length;
|
|
4579
4579
|
for (let c = 0; c < a.parts.length; c++) {
|
|
4580
4580
|
let u = a.parts[c];
|
|
4581
|
-
u.compoundIndex = c,
|
|
4581
|
+
u.compoundIndex = c, Ya(o, t, a, u, l);
|
|
4582
4582
|
}
|
|
4583
4583
|
}
|
|
4584
|
-
function
|
|
4584
|
+
function Ya(o, t, e, i, r) {
|
|
4585
4585
|
if (!i.literal)
|
|
4586
4586
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
4587
4587
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -4589,26 +4589,26 @@ function ja(o, t, e, i, r) {
|
|
|
4589
4589
|
let s = i.dependencies, n = { index: r, binding: e, part: i, evaluator: o };
|
|
4590
4590
|
for (let a = 0; a < s.length; a++) {
|
|
4591
4591
|
let l = s[a];
|
|
4592
|
-
typeof l == "string" && (l =
|
|
4593
|
-
fn:
|
|
4592
|
+
typeof l == "string" && (l = Gr(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4593
|
+
fn: Va,
|
|
4594
4594
|
info: n,
|
|
4595
4595
|
trigger: l
|
|
4596
4596
|
});
|
|
4597
4597
|
}
|
|
4598
4598
|
}
|
|
4599
4599
|
}
|
|
4600
|
-
function
|
|
4600
|
+
function Va(o, t, e, i, r, s, n) {
|
|
4601
4601
|
let a = n[r.index], l = r.binding, c = r.part;
|
|
4602
4602
|
if (s && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4603
4603
|
let u = e[t];
|
|
4604
4604
|
t = vt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
4605
4605
|
} else {
|
|
4606
4606
|
let u = r.evaluator._evaluateBinding(o, c, t, e, i, s);
|
|
4607
|
-
u !== xt &&
|
|
4607
|
+
u !== xt && Ua(o, a, l, c, u);
|
|
4608
4608
|
}
|
|
4609
4609
|
}
|
|
4610
|
-
function
|
|
4611
|
-
if (r =
|
|
4610
|
+
function Ua(o, t, e, i, r) {
|
|
4611
|
+
if (r = Wa(t, r, e, i), Nt && (r = Nt(r, e.target, e.kind, t)), e.kind == "attribute")
|
|
4612
4612
|
o._valueToNodeAttribute(
|
|
4613
4613
|
/** @type {Element} */
|
|
4614
4614
|
t,
|
|
@@ -4620,17 +4620,17 @@ function Va(o, t, e, i, r) {
|
|
|
4620
4620
|
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[s] ? (!t[L.READ_ONLY] || !t[L.READ_ONLY][s]) && t._setPendingProperty(s, r) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, s, r);
|
|
4621
4621
|
}
|
|
4622
4622
|
}
|
|
4623
|
-
function
|
|
4623
|
+
function Wa(o, t, e, i) {
|
|
4624
4624
|
if (e.isCompound) {
|
|
4625
4625
|
let r = o.__dataCompoundStorage[e.target];
|
|
4626
4626
|
r[i.compoundIndex] = t, t = r.join("");
|
|
4627
4627
|
}
|
|
4628
4628
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t == null ? "" : t), t;
|
|
4629
4629
|
}
|
|
4630
|
-
function
|
|
4630
|
+
function qa(o) {
|
|
4631
4631
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4632
4632
|
}
|
|
4633
|
-
function
|
|
4633
|
+
function Ka(o, t) {
|
|
4634
4634
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4635
4635
|
if (i.length)
|
|
4636
4636
|
for (let r = 0; r < i.length; r++) {
|
|
@@ -4638,12 +4638,12 @@ function qa(o, t) {
|
|
|
4638
4638
|
if (a)
|
|
4639
4639
|
for (let l = 0; l < a.length; l++) {
|
|
4640
4640
|
let c = a[l];
|
|
4641
|
-
|
|
4641
|
+
Ga(n, c), Ja(n, o, c);
|
|
4642
4642
|
}
|
|
4643
4643
|
n.__dataHost = o;
|
|
4644
4644
|
}
|
|
4645
4645
|
}
|
|
4646
|
-
function
|
|
4646
|
+
function Ga(o, t) {
|
|
4647
4647
|
if (t.isCompound) {
|
|
4648
4648
|
let e = o.__dataCompoundStorage || (o.__dataCompoundStorage = {}), i = t.parts, r = new Array(i.length);
|
|
4649
4649
|
for (let n = 0; n < i.length; n++)
|
|
@@ -4652,15 +4652,15 @@ function Ka(o, t) {
|
|
|
4652
4652
|
e[s] = r, t.literal && t.kind == "property" && (s === "className" && (o = ie(o)), o[s] = t.literal);
|
|
4653
4653
|
}
|
|
4654
4654
|
}
|
|
4655
|
-
function
|
|
4655
|
+
function Ja(o, t, e) {
|
|
4656
4656
|
if (e.listenerEvent) {
|
|
4657
4657
|
let i = e.parts[0];
|
|
4658
4658
|
o.addEventListener(e.listenerEvent, function(r) {
|
|
4659
|
-
|
|
4659
|
+
Fa(r, t, e.target, i.source, i.negate);
|
|
4660
4660
|
});
|
|
4661
4661
|
}
|
|
4662
4662
|
}
|
|
4663
|
-
function
|
|
4663
|
+
function zo(o, t, e, i, r, s) {
|
|
4664
4664
|
s = t.static || s && (typeof s != "object" || s[t.methodName]);
|
|
4665
4665
|
let n = {
|
|
4666
4666
|
methodName: t.methodName,
|
|
@@ -4687,8 +4687,8 @@ function xi(o, t, e, i, r) {
|
|
|
4687
4687
|
} else
|
|
4688
4688
|
r.dynamicFn || console.warn("method `" + r.methodName + "` not defined");
|
|
4689
4689
|
}
|
|
4690
|
-
const
|
|
4691
|
-
function
|
|
4690
|
+
const Xa = [], Kr = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Za = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Qa = "(?:'(?:[^'\\\\]|\\\\.)*')", el = '(?:"(?:[^"\\\\]|\\\\.)*")', tl = "(?:" + Qa + "|" + el + ")", Fo = "(?:(" + Kr + "|" + Za + "|" + tl + ")\\s*)", il = "(?:" + Fo + "(?:,\\s*" + Fo + ")*)", ol = "(?:\\(\\s*(?:" + il + "?)\\)\\s*)", rl = "(" + Kr + "\\s*" + ol + "?)", sl = "(\\[\\[|{{)\\s*", nl = "(?:]]|}})", al = "(?:(!)\\s*)?", ll = sl + al + rl + nl, Lo = new RegExp(ll, "g");
|
|
4691
|
+
function $o(o) {
|
|
4692
4692
|
let t = "";
|
|
4693
4693
|
for (let e = 0; e < o.length; e++) {
|
|
4694
4694
|
let i = o[e].literal;
|
|
@@ -4699,22 +4699,22 @@ function Lo(o) {
|
|
|
4699
4699
|
function ti(o) {
|
|
4700
4700
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4701
4701
|
if (t) {
|
|
4702
|
-
let i = { methodName: t[1], static: !0, args:
|
|
4702
|
+
let i = { methodName: t[1], static: !0, args: Xa };
|
|
4703
4703
|
if (t[2].trim()) {
|
|
4704
4704
|
let r = t[2].replace(/\\,/g, ",").split(",");
|
|
4705
|
-
return
|
|
4705
|
+
return cl(r, i);
|
|
4706
4706
|
} else
|
|
4707
4707
|
return i;
|
|
4708
4708
|
}
|
|
4709
4709
|
return null;
|
|
4710
4710
|
}
|
|
4711
|
-
function
|
|
4711
|
+
function cl(o, t) {
|
|
4712
4712
|
return t.args = o.map(function(e) {
|
|
4713
|
-
let i =
|
|
4713
|
+
let i = Gr(e);
|
|
4714
4714
|
return i.literal || (t.static = !1), i;
|
|
4715
4715
|
}, this), t;
|
|
4716
4716
|
}
|
|
4717
|
-
function
|
|
4717
|
+
function Gr(o) {
|
|
4718
4718
|
let t = o.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
4719
4719
|
name: t,
|
|
4720
4720
|
value: "",
|
|
@@ -4731,16 +4731,16 @@ function Kr(o) {
|
|
|
4731
4731
|
}
|
|
4732
4732
|
return e.literal || (e.rootProperty = je(t), e.structured = vi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4733
4733
|
}
|
|
4734
|
-
function
|
|
4734
|
+
function Ro(o, t, e) {
|
|
4735
4735
|
let i = se(o, e);
|
|
4736
4736
|
return i === void 0 && (i = t[e]), i;
|
|
4737
4737
|
}
|
|
4738
|
-
function
|
|
4738
|
+
function Jr(o, t, e, i) {
|
|
4739
4739
|
const r = { indexSplices: i };
|
|
4740
4740
|
bi && !o._overrideLegacyUndefined && (t.splices = r), o.notifyPath(e + ".splices", r), o.notifyPath(e + ".length", t.length), bi && !o._overrideLegacyUndefined && (r.indexSplices = []);
|
|
4741
4741
|
}
|
|
4742
4742
|
function st(o, t, e, i, r, s) {
|
|
4743
|
-
|
|
4743
|
+
Jr(o, t, e, [{
|
|
4744
4744
|
index: i,
|
|
4745
4745
|
addedCount: r,
|
|
4746
4746
|
removed: s,
|
|
@@ -4748,11 +4748,11 @@ function st(o, t, e, i, r, s) {
|
|
|
4748
4748
|
type: "splice"
|
|
4749
4749
|
}]);
|
|
4750
4750
|
}
|
|
4751
|
-
function
|
|
4751
|
+
function ul(o) {
|
|
4752
4752
|
return o[0].toUpperCase() + o.substring(1);
|
|
4753
4753
|
}
|
|
4754
4754
|
const qi = X((o) => {
|
|
4755
|
-
const t =
|
|
4755
|
+
const t = Ta(ya(o));
|
|
4756
4756
|
class e extends t {
|
|
4757
4757
|
constructor() {
|
|
4758
4758
|
super(), this.__isPropertyEffectsClient = !0, this.__dataClientsReady, this.__dataPendingClients, this.__dataToNotify, this.__dataLinkedPaths, this.__dataHasPaths, this.__dataCompoundStorage, this.__dataHost, this.__dataTemp, this.__dataClientsInitialized, this.__data, this.__dataPending, this.__dataOld, this.__computeEffects, this.__computeInfo, this.__reflectEffects, this.__notifyEffects, this.__propagateEffects, this.__observeEffects, this.__readOnly, this.__templateInfo, this._overrideLegacyUndefined;
|
|
@@ -4931,7 +4931,7 @@ const qi = X((o) => {
|
|
|
4931
4931
|
if (!a) {
|
|
4932
4932
|
let l = se(this, r);
|
|
4933
4933
|
if (r = /** @type {string} */
|
|
4934
|
-
|
|
4934
|
+
To(this, r, s), !r || !super._shouldPropertyChange(r, s, l))
|
|
4935
4935
|
return !1;
|
|
4936
4936
|
}
|
|
4937
4937
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -4940,7 +4940,7 @@ const qi = X((o) => {
|
|
|
4940
4940
|
s,
|
|
4941
4941
|
n
|
|
4942
4942
|
))
|
|
4943
|
-
return
|
|
4943
|
+
return ja(
|
|
4944
4944
|
this,
|
|
4945
4945
|
/**@type{string}*/
|
|
4946
4946
|
r,
|
|
@@ -5156,7 +5156,7 @@ const qi = X((o) => {
|
|
|
5156
5156
|
let a = this.__dataHasPaths;
|
|
5157
5157
|
this.__dataHasPaths = !1;
|
|
5158
5158
|
let l;
|
|
5159
|
-
|
|
5159
|
+
$a(this, s, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(s, n, a), this._flushClients(), ut(this, this[L.REFLECT], s, n, a), ut(this, this[L.OBSERVE], s, n, a), l && Ia(this, l, s, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5160
5160
|
}
|
|
5161
5161
|
/**
|
|
5162
5162
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5253,7 +5253,7 @@ const qi = X((o) => {
|
|
|
5253
5253
|
/** @type {Array} */
|
|
5254
5254
|
se(this, r, n)
|
|
5255
5255
|
);
|
|
5256
|
-
|
|
5256
|
+
Jr(this, a, n.path, s);
|
|
5257
5257
|
}
|
|
5258
5258
|
/**
|
|
5259
5259
|
* Convenience method for reading a value from a path.
|
|
@@ -5301,7 +5301,7 @@ const qi = X((o) => {
|
|
|
5301
5301
|
* @public
|
|
5302
5302
|
*/
|
|
5303
5303
|
set(r, s, n) {
|
|
5304
|
-
n ?
|
|
5304
|
+
n ? To(n, r, s) : (!this[L.READ_ONLY] || !this[L.READ_ONLY][
|
|
5305
5305
|
/** @type {string} */
|
|
5306
5306
|
r
|
|
5307
5307
|
]) && this._setPendingPropertyOrPath(r, s, !0) && this._invalidateProperties();
|
|
@@ -5456,7 +5456,7 @@ const qi = X((o) => {
|
|
|
5456
5456
|
* @protected
|
|
5457
5457
|
*/
|
|
5458
5458
|
_createReadOnlyProperty(r, s) {
|
|
5459
|
-
this._addPropertyEffect(r, L.READ_ONLY), s && (this["_set" +
|
|
5459
|
+
this._addPropertyEffect(r, L.READ_ONLY), s && (this["_set" + ul(r)] = /** @this {PropertyEffects} */
|
|
5460
5460
|
function(n) {
|
|
5461
5461
|
this._setProperty(r, n);
|
|
5462
5462
|
});
|
|
@@ -5478,7 +5478,7 @@ const qi = X((o) => {
|
|
|
5478
5478
|
_createPropertyObserver(r, s, n) {
|
|
5479
5479
|
let a = { property: r, method: s, dynamicFn: !!n };
|
|
5480
5480
|
this._addPropertyEffect(r, L.OBSERVE, {
|
|
5481
|
-
fn:
|
|
5481
|
+
fn: Io,
|
|
5482
5482
|
info: a,
|
|
5483
5483
|
trigger: { name: r }
|
|
5484
5484
|
}), n && this._addPropertyEffect(
|
|
@@ -5486,7 +5486,7 @@ const qi = X((o) => {
|
|
|
5486
5486
|
s,
|
|
5487
5487
|
L.OBSERVE,
|
|
5488
5488
|
{
|
|
5489
|
-
fn:
|
|
5489
|
+
fn: Io,
|
|
5490
5490
|
info: a,
|
|
5491
5491
|
trigger: { name: s }
|
|
5492
5492
|
}
|
|
@@ -5508,7 +5508,7 @@ const qi = X((o) => {
|
|
|
5508
5508
|
let n = ti(r);
|
|
5509
5509
|
if (!n)
|
|
5510
5510
|
throw new Error("Malformed observer expression '" + r + "'");
|
|
5511
|
-
|
|
5511
|
+
zo(this, n, L.OBSERVE, xi, null, s);
|
|
5512
5512
|
}
|
|
5513
5513
|
/**
|
|
5514
5514
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5522,7 +5522,7 @@ const qi = X((o) => {
|
|
|
5522
5522
|
*/
|
|
5523
5523
|
_createNotifyingProperty(r) {
|
|
5524
5524
|
this._addPropertyEffect(r, L.NOTIFY, {
|
|
5525
|
-
fn:
|
|
5525
|
+
fn: za,
|
|
5526
5526
|
info: {
|
|
5527
5527
|
eventName: Ht(r) + "-changed",
|
|
5528
5528
|
property: r
|
|
@@ -5543,7 +5543,7 @@ const qi = X((o) => {
|
|
|
5543
5543
|
_createReflectedProperty(r) {
|
|
5544
5544
|
let s = this.constructor.attributeNameForProperty(r);
|
|
5545
5545
|
s[0] === "-" ? console.warn("Property " + r + " cannot be reflected to attribute " + s + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(r, L.REFLECT, {
|
|
5546
|
-
fn:
|
|
5546
|
+
fn: La,
|
|
5547
5547
|
info: {
|
|
5548
5548
|
attrName: s
|
|
5549
5549
|
}
|
|
@@ -5566,8 +5566,8 @@ const qi = X((o) => {
|
|
|
5566
5566
|
let a = ti(s);
|
|
5567
5567
|
if (!a)
|
|
5568
5568
|
throw new Error("Malformed computed expression '" + s + "'");
|
|
5569
|
-
const l =
|
|
5570
|
-
Qt(this,
|
|
5569
|
+
const l = zo(this, a, L.COMPUTE, qr, r, n);
|
|
5570
|
+
Qt(this, Ur)[r] = l;
|
|
5571
5571
|
}
|
|
5572
5572
|
/**
|
|
5573
5573
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5588,14 +5588,14 @@ const qi = X((o) => {
|
|
|
5588
5588
|
let { name: d, structured: h, wildcard: p, value: g, literal: M } = r[c];
|
|
5589
5589
|
if (!M)
|
|
5590
5590
|
if (p) {
|
|
5591
|
-
const I = bt(d, s), D =
|
|
5591
|
+
const I = bt(d, s), D = Ro(a, n, I ? s : d);
|
|
5592
5592
|
g = {
|
|
5593
5593
|
path: I ? s : d,
|
|
5594
5594
|
value: D,
|
|
5595
5595
|
base: I ? se(a, d) : D
|
|
5596
5596
|
};
|
|
5597
5597
|
} else
|
|
5598
|
-
g = h ?
|
|
5598
|
+
g = h ? Ro(a, n, d) : a[d];
|
|
5599
5599
|
if (bi && !this._overrideLegacyUndefined && g === void 0 && r.length > 1)
|
|
5600
5600
|
return xt;
|
|
5601
5601
|
l[c] = g;
|
|
@@ -5878,7 +5878,7 @@ const qi = X((o) => {
|
|
|
5878
5878
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5879
5879
|
a.push(l);
|
|
5880
5880
|
}
|
|
5881
|
-
return n.templateInfo = s,
|
|
5881
|
+
return n.templateInfo = s, Ka(this, s), this.__dataClientsReady && (this._runEffectsForTemplate(s, this.__data, null, !1), this._flushClients()), n;
|
|
5882
5882
|
}
|
|
5883
5883
|
/**
|
|
5884
5884
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5925,7 +5925,7 @@ const qi = X((o) => {
|
|
|
5925
5925
|
);
|
|
5926
5926
|
if (r.nodeType === Node.TEXT_NODE) {
|
|
5927
5927
|
let l = this._parseBindings(r.textContent, s);
|
|
5928
|
-
l && (r.textContent =
|
|
5928
|
+
l && (r.textContent = $o(l) || " ", ei(this, s, n, "text", "textContent", l), a = !0);
|
|
5929
5929
|
}
|
|
5930
5930
|
return a;
|
|
5931
5931
|
}
|
|
@@ -5952,9 +5952,9 @@ const qi = X((o) => {
|
|
|
5952
5952
|
let c = this._parseBindings(l, s);
|
|
5953
5953
|
if (c) {
|
|
5954
5954
|
let u = a, d = "property";
|
|
5955
|
-
|
|
5956
|
-
let h =
|
|
5957
|
-
return h && d == "attribute" && (a == "class" && r.hasAttribute("class") && (h += " " + r.getAttribute(a)), r.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && r.setAttribute(a, ""), r.localName === "input" && u === "value" && r.setAttribute(u, ""), r.removeAttribute(u), d === "property" && (a =
|
|
5955
|
+
Ma.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5956
|
+
let h = $o(c);
|
|
5957
|
+
return h && d == "attribute" && (a == "class" && r.hasAttribute("class") && (h += " " + r.getAttribute(a)), r.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && r.setAttribute(a, ""), r.localName === "input" && u === "value" && r.setAttribute(u, ""), r.removeAttribute(u), d === "property" && (a = $r(a)), ei(this, s, n, d, a, c, h), !0;
|
|
5958
5958
|
} else
|
|
5959
5959
|
return t._parseTemplateNodeAttribute.call(
|
|
5960
5960
|
this,
|
|
@@ -5987,10 +5987,10 @@ const qi = X((o) => {
|
|
|
5987
5987
|
n
|
|
5988
5988
|
);
|
|
5989
5989
|
const l = r.parentNode, c = n.templateInfo, u = l.localName === "dom-if", d = l.localName === "dom-repeat";
|
|
5990
|
-
|
|
5990
|
+
So && (u || d) && (l.removeChild(r), n = n.parentInfo, n.templateInfo = c, n.noted = !0, a = !1);
|
|
5991
5991
|
let h = c.hostProps;
|
|
5992
|
-
if (
|
|
5993
|
-
h && (s.hostProps = Object.assign(s.hostProps || {}, h),
|
|
5992
|
+
if (ta && u)
|
|
5993
|
+
h && (s.hostProps = Object.assign(s.hostProps || {}, h), So || (n.parentInfo.noted = !0));
|
|
5994
5994
|
else {
|
|
5995
5995
|
let p = "{";
|
|
5996
5996
|
for (let g in h) {
|
|
@@ -6047,7 +6047,7 @@ const qi = X((o) => {
|
|
|
6047
6047
|
*/
|
|
6048
6048
|
static _parseBindings(r, s) {
|
|
6049
6049
|
let n = [], a = 0, l;
|
|
6050
|
-
for (; (l =
|
|
6050
|
+
for (; (l = Lo.exec(r)) !== null; ) {
|
|
6051
6051
|
l.index > a && n.push({ literal: r.slice(a, l.index) });
|
|
6052
6052
|
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, p = "", g = -1;
|
|
6053
6053
|
c == "{" && (g = d.indexOf("::")) > 0 && (p = d.substring(g + 2), d = d.substring(0, g), h = !0);
|
|
@@ -6070,7 +6070,7 @@ const qi = X((o) => {
|
|
|
6070
6070
|
signature: M,
|
|
6071
6071
|
dependencies: I,
|
|
6072
6072
|
event: p
|
|
6073
|
-
}), a =
|
|
6073
|
+
}), a = Lo.lastIndex;
|
|
6074
6074
|
}
|
|
6075
6075
|
if (a && a < r.length) {
|
|
6076
6076
|
let c = r.substring(a);
|
|
@@ -6120,7 +6120,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6120
6120
|
Code distributed by Google as part of the polymer project is also
|
|
6121
6121
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6122
6122
|
*/
|
|
6123
|
-
function
|
|
6123
|
+
function dl(o) {
|
|
6124
6124
|
const t = {};
|
|
6125
6125
|
for (let e in o) {
|
|
6126
6126
|
const i = o[e];
|
|
@@ -6128,8 +6128,8 @@ function ul(o) {
|
|
|
6128
6128
|
}
|
|
6129
6129
|
return t;
|
|
6130
6130
|
}
|
|
6131
|
-
const
|
|
6132
|
-
const t =
|
|
6131
|
+
const hl = X((o) => {
|
|
6132
|
+
const t = jr(o);
|
|
6133
6133
|
function e(s) {
|
|
6134
6134
|
const n = Object.getPrototypeOf(s);
|
|
6135
6135
|
return n.prototype instanceof r ? (
|
|
@@ -6142,7 +6142,7 @@ const dl = X((o) => {
|
|
|
6142
6142
|
let n = null;
|
|
6143
6143
|
if (s.hasOwnProperty(JSCompiler_renameProperty("properties", s))) {
|
|
6144
6144
|
const a = s.properties;
|
|
6145
|
-
a && (n =
|
|
6145
|
+
a && (n = dl(a));
|
|
6146
6146
|
}
|
|
6147
6147
|
s.__ownProperties = n;
|
|
6148
6148
|
}
|
|
@@ -6279,8 +6279,8 @@ const dl = X((o) => {
|
|
|
6279
6279
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6280
6280
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6281
6281
|
*/
|
|
6282
|
-
const
|
|
6283
|
-
const t =
|
|
6282
|
+
const pl = "3.5.2", Bo = window.ShadyCSS && window.ShadyCSS.cssBuild, fl = X((o) => {
|
|
6283
|
+
const t = hl(qi(o));
|
|
6284
6284
|
function e(l) {
|
|
6285
6285
|
if (!l.hasOwnProperty(
|
|
6286
6286
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6308,8 +6308,8 @@ const hl = "3.5.2", Ro = window.ShadyCSS && window.ShadyCSS.cssBuild, pl = X((o)
|
|
|
6308
6308
|
u.computed && (u.readOnly = !0), u.computed && (l._hasReadOnlyEffect(c) ? console.warn(`Cannot redefine computed property '${c}'.`) : l._createComputedProperty(c, u.computed, d)), u.readOnly && !l._hasReadOnlyEffect(c) ? l._createReadOnlyProperty(c, !u.computed) : u.readOnly === !1 && l._hasReadOnlyEffect(c) && console.warn(`Cannot make readOnly property '${c}' non-readOnly.`), u.reflectToAttribute && !l._hasReflectEffect(c) ? l._createReflectedProperty(c) : u.reflectToAttribute === !1 && l._hasReflectEffect(c) && console.warn(`Cannot make reflected property '${c}' non-reflected.`), u.notify && !l._hasNotifyEffect(c) ? l._createNotifyingProperty(c) : u.notify === !1 && l._hasNotifyEffect(c) && console.warn(`Cannot make notify property '${c}' non-notify.`), u.observer && l._createPropertyObserver(c, u.observer, d[u.observer]), l._addPropertyToAttributeMap(c);
|
|
6309
6309
|
}
|
|
6310
6310
|
function s(l, c, u, d) {
|
|
6311
|
-
if (!
|
|
6312
|
-
const h = c.content.querySelectorAll("style"), p =
|
|
6311
|
+
if (!Bo) {
|
|
6312
|
+
const h = c.content.querySelectorAll("style"), p = Nr(c), g = ca(u), M = c.content.firstElementChild;
|
|
6313
6313
|
for (let D = 0; D < g.length; D++) {
|
|
6314
6314
|
let P = g[D];
|
|
6315
6315
|
P.textContent = l._processStyleText(P.textContent, d), c.content.insertBefore(P, M);
|
|
@@ -6320,7 +6320,7 @@ const hl = "3.5.2", Ro = window.ShadyCSS && window.ShadyCSS.cssBuild, pl = X((o)
|
|
|
6320
6320
|
W !== P ? (P = P.cloneNode(!0), W.parentNode.insertBefore(P, W)) : I++, P.textContent = l._processStyleText(P.textContent, d);
|
|
6321
6321
|
}
|
|
6322
6322
|
}
|
|
6323
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u),
|
|
6323
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), ia && Bo && Jn) {
|
|
6324
6324
|
const h = c.content.querySelectorAll("style");
|
|
6325
6325
|
if (h) {
|
|
6326
6326
|
let p = "";
|
|
@@ -6332,7 +6332,7 @@ const hl = "3.5.2", Ro = window.ShadyCSS && window.ShadyCSS.cssBuild, pl = X((o)
|
|
|
6332
6332
|
}
|
|
6333
6333
|
function n(l) {
|
|
6334
6334
|
let c = null;
|
|
6335
|
-
if (l && (!zt ||
|
|
6335
|
+
if (l && (!zt || Zn) && (c = /** @type {?HTMLTemplateElement} */
|
|
6336
6336
|
gt.import(l, "template"), zt && !c))
|
|
6337
6337
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6338
6338
|
return c;
|
|
@@ -6344,7 +6344,7 @@ const hl = "3.5.2", Ro = window.ShadyCSS && window.ShadyCSS.cssBuild, pl = X((o)
|
|
|
6344
6344
|
* @nocollapse
|
|
6345
6345
|
*/
|
|
6346
6346
|
static get polymerElementVersion() {
|
|
6347
|
-
return
|
|
6347
|
+
return pl;
|
|
6348
6348
|
}
|
|
6349
6349
|
/**
|
|
6350
6350
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -6365,7 +6365,7 @@ const hl = "3.5.2", Ro = window.ShadyCSS && window.ShadyCSS.cssBuild, pl = X((o)
|
|
|
6365
6365
|
/** @type {PolymerElementConstructor} */
|
|
6366
6366
|
this.template
|
|
6367
6367
|
);
|
|
6368
|
-
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) :
|
|
6368
|
+
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) : Tr || (c = c.cloneNode(!0))), this.prototype._template = c;
|
|
6369
6369
|
}
|
|
6370
6370
|
/**
|
|
6371
6371
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -6535,7 +6535,7 @@ const hl = "3.5.2", Ro = window.ShadyCSS && window.ShadyCSS.cssBuild, pl = X((o)
|
|
|
6535
6535
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
6536
6536
|
/** @type {!HTMLElement} */
|
|
6537
6537
|
this.localName
|
|
6538
|
-
), super._initializeProperties(), this.rootPath =
|
|
6538
|
+
), super._initializeProperties(), this.rootPath = Xn, this.importPath = this.constructor.importPath;
|
|
6539
6539
|
let c = e(this.constructor);
|
|
6540
6540
|
if (c)
|
|
6541
6541
|
for (let u in c) {
|
|
@@ -6646,7 +6646,7 @@ const hl = "3.5.2", Ro = window.ShadyCSS && window.ShadyCSS.cssBuild, pl = X((o)
|
|
|
6646
6646
|
_attachDom(c) {
|
|
6647
6647
|
const u = ie(this);
|
|
6648
6648
|
if (u.attachShadow)
|
|
6649
|
-
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
6649
|
+
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Qn && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
|
|
6650
6650
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6651
6651
|
}
|
|
6652
6652
|
/**
|
|
@@ -6731,7 +6731,7 @@ const hl = "3.5.2", Ro = window.ShadyCSS && window.ShadyCSS.cssBuild, pl = X((o)
|
|
|
6731
6731
|
* @nocollapse
|
|
6732
6732
|
*/
|
|
6733
6733
|
static _addTemplatePropertyEffect(c, u, d) {
|
|
6734
|
-
return
|
|
6734
|
+
return Mr && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6735
6735
|
// dependencies) become accessors with template effects; ignore these
|
|
6736
6736
|
!(d.info.part.signature && d.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6737
6737
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -6756,16 +6756,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6756
6756
|
Code distributed by Google as part of the polymer project is also
|
|
6757
6757
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6758
6758
|
*/
|
|
6759
|
-
const
|
|
6760
|
-
class
|
|
6759
|
+
const Ho = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6760
|
+
class Xr {
|
|
6761
6761
|
/**
|
|
6762
6762
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
6763
6763
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
6764
6764
|
*/
|
|
6765
6765
|
constructor(t, e) {
|
|
6766
|
-
|
|
6766
|
+
Qr(t, e);
|
|
6767
6767
|
const i = e.reduce(
|
|
6768
|
-
(r, s, n) => r +
|
|
6768
|
+
(r, s, n) => r + Zr(s) + t[n + 1],
|
|
6769
6769
|
t[0]
|
|
6770
6770
|
);
|
|
6771
6771
|
this.value = i.toString();
|
|
@@ -6778,8 +6778,8 @@ class Jr {
|
|
|
6778
6778
|
return this.value;
|
|
6779
6779
|
}
|
|
6780
6780
|
}
|
|
6781
|
-
function
|
|
6782
|
-
if (o instanceof
|
|
6781
|
+
function Zr(o) {
|
|
6782
|
+
if (o instanceof Xr)
|
|
6783
6783
|
return (
|
|
6784
6784
|
/** @type {!LiteralString} */
|
|
6785
6785
|
o.value
|
|
@@ -6788,30 +6788,30 @@ function Xr(o) {
|
|
|
6788
6788
|
`non-literal value passed to Polymer's htmlLiteral function: ${o}`
|
|
6789
6789
|
);
|
|
6790
6790
|
}
|
|
6791
|
-
function
|
|
6791
|
+
function ml(o) {
|
|
6792
6792
|
if (o instanceof HTMLTemplateElement)
|
|
6793
6793
|
return (
|
|
6794
6794
|
/** @type {!HTMLTemplateElement } */
|
|
6795
6795
|
o.innerHTML
|
|
6796
6796
|
);
|
|
6797
|
-
if (o instanceof
|
|
6798
|
-
return
|
|
6797
|
+
if (o instanceof Xr)
|
|
6798
|
+
return Zr(o);
|
|
6799
6799
|
throw new Error(
|
|
6800
6800
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6801
6801
|
);
|
|
6802
6802
|
}
|
|
6803
6803
|
const Ye = function(t, ...e) {
|
|
6804
|
-
|
|
6804
|
+
Qr(t, e);
|
|
6805
6805
|
const i = (
|
|
6806
6806
|
/** @type {!HTMLTemplateElement} */
|
|
6807
6807
|
document.createElement("template")
|
|
6808
6808
|
);
|
|
6809
6809
|
let r = e.reduce(
|
|
6810
|
-
(s, n, a) => s +
|
|
6810
|
+
(s, n, a) => s + ml(n) + t[a + 1],
|
|
6811
6811
|
t[0]
|
|
6812
6812
|
);
|
|
6813
|
-
return
|
|
6814
|
-
},
|
|
6813
|
+
return Ho && (r = Ho.createHTML(r)), i.innerHTML = r, i;
|
|
6814
|
+
}, Qr = (o, t) => {
|
|
6815
6815
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
6816
6816
|
throw new TypeError("Invalid call to the html template tag");
|
|
6817
6817
|
};
|
|
@@ -6824,7 +6824,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6824
6824
|
Code distributed by Google as part of the polymer project is also
|
|
6825
6825
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6826
6826
|
*/
|
|
6827
|
-
const Oe =
|
|
6827
|
+
const Oe = fl(HTMLElement);
|
|
6828
6828
|
/**
|
|
6829
6829
|
* @license
|
|
6830
6830
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -6837,14 +6837,14 @@ function wi(o, t, e = o.getAttribute("dir")) {
|
|
|
6837
6837
|
function Ei() {
|
|
6838
6838
|
return document.documentElement.getAttribute("dir");
|
|
6839
6839
|
}
|
|
6840
|
-
function
|
|
6840
|
+
function _l() {
|
|
6841
6841
|
const o = Ei();
|
|
6842
6842
|
Se.forEach((t) => {
|
|
6843
6843
|
wi(t, o);
|
|
6844
6844
|
});
|
|
6845
6845
|
}
|
|
6846
|
-
const
|
|
6847
|
-
|
|
6846
|
+
const gl = new MutationObserver(_l);
|
|
6847
|
+
gl.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6848
6848
|
const jt = (o) => class extends o {
|
|
6849
6849
|
static get properties() {
|
|
6850
6850
|
return {
|
|
@@ -6906,7 +6906,7 @@ const jt = (o) => class extends o {
|
|
|
6906
6906
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6907
6907
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6908
6908
|
*/
|
|
6909
|
-
const
|
|
6909
|
+
const bl = (o) => class extends o {
|
|
6910
6910
|
static get properties() {
|
|
6911
6911
|
return {
|
|
6912
6912
|
/**
|
|
@@ -6946,7 +6946,7 @@ const gl = (o) => class extends o {
|
|
|
6946
6946
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6947
6947
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6948
6948
|
*/
|
|
6949
|
-
const
|
|
6949
|
+
const vl = F`
|
|
6950
6950
|
:host {
|
|
6951
6951
|
display: flex;
|
|
6952
6952
|
align-items: center;
|
|
@@ -7017,8 +7017,8 @@ const bl = F`
|
|
|
7017
7017
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7018
7018
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7019
7019
|
*/
|
|
7020
|
-
q("vaadin-input-container",
|
|
7021
|
-
class
|
|
7020
|
+
q("vaadin-input-container", vl, { moduleId: "vaadin-input-container-styles" });
|
|
7021
|
+
class yl extends bl(He(jt(Oe))) {
|
|
7022
7022
|
static get is() {
|
|
7023
7023
|
return "vaadin-input-container";
|
|
7024
7024
|
}
|
|
@@ -7030,13 +7030,13 @@ class vl extends gl(He(jt(Oe))) {
|
|
|
7030
7030
|
`;
|
|
7031
7031
|
}
|
|
7032
7032
|
}
|
|
7033
|
-
we(
|
|
7033
|
+
we(yl);
|
|
7034
7034
|
/**
|
|
7035
7035
|
* @license
|
|
7036
7036
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7037
7037
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7038
7038
|
*/
|
|
7039
|
-
const
|
|
7039
|
+
const xl = F`
|
|
7040
7040
|
:host {
|
|
7041
7041
|
z-index: 200;
|
|
7042
7042
|
position: fixed;
|
|
@@ -7125,21 +7125,21 @@ function Si() {
|
|
|
7125
7125
|
function Gi() {
|
|
7126
7126
|
return Ki;
|
|
7127
7127
|
}
|
|
7128
|
-
function
|
|
7128
|
+
function wl(o) {
|
|
7129
7129
|
const t = o.style;
|
|
7130
7130
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7131
7131
|
return !0;
|
|
7132
7132
|
const e = window.getComputedStyle(o);
|
|
7133
7133
|
return e.visibility === "hidden" || e.display === "none";
|
|
7134
7134
|
}
|
|
7135
|
-
function
|
|
7135
|
+
function El(o, t) {
|
|
7136
7136
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7137
7137
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7138
7138
|
}
|
|
7139
|
-
function
|
|
7139
|
+
function Sl(o, t) {
|
|
7140
7140
|
const e = [];
|
|
7141
7141
|
for (; o.length > 0 && t.length > 0; )
|
|
7142
|
-
|
|
7142
|
+
El(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7143
7143
|
return e.concat(o, t);
|
|
7144
7144
|
}
|
|
7145
7145
|
function Ci(o) {
|
|
@@ -7147,37 +7147,37 @@ function Ci(o) {
|
|
|
7147
7147
|
if (t < 2)
|
|
7148
7148
|
return o;
|
|
7149
7149
|
const e = Math.ceil(t / 2), i = Ci(o.slice(0, e)), r = Ci(o.slice(e));
|
|
7150
|
-
return
|
|
7150
|
+
return Sl(i, r);
|
|
7151
7151
|
}
|
|
7152
|
-
function
|
|
7152
|
+
function es(o) {
|
|
7153
7153
|
return o.matches('[tabindex="-1"]') ? !1 : o.matches("input, select, textarea, button, object") ? o.matches(":not([disabled])") : o.matches("a[href], area[href], iframe, [tabindex], [contentEditable]");
|
|
7154
7154
|
}
|
|
7155
|
-
function
|
|
7155
|
+
function Cl(o) {
|
|
7156
7156
|
return o.getRootNode().activeElement === o;
|
|
7157
7157
|
}
|
|
7158
|
-
function
|
|
7159
|
-
if (!
|
|
7158
|
+
function Al(o) {
|
|
7159
|
+
if (!es(o))
|
|
7160
7160
|
return -1;
|
|
7161
7161
|
const t = o.getAttribute("tabindex") || 0;
|
|
7162
7162
|
return Number(t);
|
|
7163
7163
|
}
|
|
7164
|
-
function
|
|
7165
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7164
|
+
function ts(o, t) {
|
|
7165
|
+
if (o.nodeType !== Node.ELEMENT_NODE || wl(o))
|
|
7166
7166
|
return !1;
|
|
7167
7167
|
const e = (
|
|
7168
7168
|
/** @type {HTMLElement} */
|
|
7169
7169
|
o
|
|
7170
|
-
), i =
|
|
7170
|
+
), i = Al(e);
|
|
7171
7171
|
let r = i > 0;
|
|
7172
7172
|
i >= 0 && t.push(e);
|
|
7173
7173
|
let s = [];
|
|
7174
7174
|
return e.localName === "slot" ? s = e.assignedNodes({ flatten: !0 }) : s = (e.shadowRoot || e).children, [...s].forEach((n) => {
|
|
7175
|
-
r =
|
|
7175
|
+
r = ts(n, t) || r;
|
|
7176
7176
|
}), r;
|
|
7177
7177
|
}
|
|
7178
|
-
function
|
|
7178
|
+
function kl(o) {
|
|
7179
7179
|
const t = [];
|
|
7180
|
-
return
|
|
7180
|
+
return ts(o, t) ? Ci(t) : t;
|
|
7181
7181
|
}
|
|
7182
7182
|
/**
|
|
7183
7183
|
@license
|
|
@@ -7188,23 +7188,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7188
7188
|
Code distributed by Google as part of the polymer project is also
|
|
7189
7189
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7190
7190
|
*/
|
|
7191
|
-
let Ai = !1,
|
|
7192
|
-
function
|
|
7191
|
+
let Ai = !1, Pl = [], is = [];
|
|
7192
|
+
function Dl() {
|
|
7193
7193
|
Ai = !0, requestAnimationFrame(function() {
|
|
7194
|
-
Ai = !1,
|
|
7195
|
-
|
|
7194
|
+
Ai = !1, Tl(Pl), setTimeout(function() {
|
|
7195
|
+
Ml(is);
|
|
7196
7196
|
});
|
|
7197
7197
|
});
|
|
7198
7198
|
}
|
|
7199
|
-
function
|
|
7199
|
+
function Tl(o) {
|
|
7200
7200
|
for (; o.length; )
|
|
7201
|
-
|
|
7201
|
+
os(o.shift());
|
|
7202
7202
|
}
|
|
7203
|
-
function
|
|
7203
|
+
function Ml(o) {
|
|
7204
7204
|
for (let t = 0, e = o.length; t < e; t++)
|
|
7205
|
-
|
|
7205
|
+
os(o.shift());
|
|
7206
7206
|
}
|
|
7207
|
-
function
|
|
7207
|
+
function os(o) {
|
|
7208
7208
|
const t = o[0], e = o[1], i = o[2];
|
|
7209
7209
|
try {
|
|
7210
7210
|
e.apply(t, i);
|
|
@@ -7214,21 +7214,21 @@ function is(o) {
|
|
|
7214
7214
|
});
|
|
7215
7215
|
}
|
|
7216
7216
|
}
|
|
7217
|
-
function
|
|
7218
|
-
Ai ||
|
|
7217
|
+
function rs(o, t, e) {
|
|
7218
|
+
Ai || Dl(), is.push([o, t, e]);
|
|
7219
7219
|
}
|
|
7220
7220
|
/**
|
|
7221
7221
|
* @license
|
|
7222
7222
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7223
7223
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7224
7224
|
*/
|
|
7225
|
-
const Yt = (o) => o.test(navigator.userAgent), ki = (o) => o.test(navigator.platform),
|
|
7225
|
+
const Yt = (o) => o.test(navigator.userAgent), ki = (o) => o.test(navigator.platform), Ol = (o) => o.test(navigator.vendor);
|
|
7226
7226
|
Yt(/Android/u);
|
|
7227
|
-
Yt(/Chrome/u) &&
|
|
7227
|
+
Yt(/Chrome/u) && Ol(/Google Inc/u);
|
|
7228
7228
|
Yt(/Firefox/u);
|
|
7229
|
-
const
|
|
7229
|
+
const Il = ki(/^iPad/u) || ki(/^Mac/u) && navigator.maxTouchPoints > 1, Nl = ki(/^iPhone/u), ss = Nl || Il;
|
|
7230
7230
|
Yt(/^((?!chrome|android).)*safari/iu);
|
|
7231
|
-
const
|
|
7231
|
+
const zl = (() => {
|
|
7232
7232
|
try {
|
|
7233
7233
|
return document.createEvent("TouchEvent"), !0;
|
|
7234
7234
|
} catch (o) {
|
|
@@ -7241,10 +7241,10 @@ const Nl = (() => {
|
|
|
7241
7241
|
* SPDX-License-Identifier: MIT
|
|
7242
7242
|
*/
|
|
7243
7243
|
let Ue = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), kt = {}, ii = 0;
|
|
7244
|
-
const
|
|
7244
|
+
const jo = (o) => o && o.nodeType === Node.ELEMENT_NODE, oi = (...o) => {
|
|
7245
7245
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7246
|
-
},
|
|
7247
|
-
if (!
|
|
7246
|
+
}, Fl = (o, t) => jo(o) ? t.map((e) => {
|
|
7247
|
+
if (!jo(e))
|
|
7248
7248
|
return oi(e, "is not a valid element"), null;
|
|
7249
7249
|
let i = e;
|
|
7250
7250
|
for (; i && i !== o; ) {
|
|
@@ -7253,8 +7253,8 @@ const Ho = (o) => o && o.nodeType === Node.ELEMENT_NODE, oi = (...o) => {
|
|
|
7253
7253
|
i = i.getRootNode().host;
|
|
7254
7254
|
}
|
|
7255
7255
|
return oi(e, "is not contained inside", o), null;
|
|
7256
|
-
}).filter((e) => !!e) : (oi(o, "is not a valid element"), []),
|
|
7257
|
-
const r =
|
|
7256
|
+
}).filter((e) => !!e) : (oi(o, "is not a valid element"), []), Ll = (o, t, e, i) => {
|
|
7257
|
+
const r = Fl(t, Array.isArray(o) ? o : [o]);
|
|
7258
7258
|
kt[e] || (kt[e] = /* @__PURE__ */ new WeakMap());
|
|
7259
7259
|
const s = kt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(r), c = (d) => {
|
|
7260
7260
|
if (!d || a.has(d))
|
|
@@ -7284,16 +7284,16 @@ const Ho = (o) => o && o.nodeType === Node.ELEMENT_NODE, oi = (...o) => {
|
|
|
7284
7284
|
Ue.set(d, h), s.set(d, p), h || (At.has(d) ? At.delete(d) : d.removeAttribute(i)), p || d.removeAttribute(e);
|
|
7285
7285
|
}), ii -= 1, ii || (Ue = /* @__PURE__ */ new WeakMap(), Ue = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), kt = {});
|
|
7286
7286
|
};
|
|
7287
|
-
},
|
|
7287
|
+
}, ns = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7288
7288
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7289
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7289
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), Ll(i, t, e, "aria-hidden");
|
|
7290
7290
|
};
|
|
7291
7291
|
/**
|
|
7292
7292
|
* @license
|
|
7293
7293
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7294
7294
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7295
7295
|
*/
|
|
7296
|
-
class
|
|
7296
|
+
class $l {
|
|
7297
7297
|
/**
|
|
7298
7298
|
* @param {HTMLElement} host
|
|
7299
7299
|
*/
|
|
@@ -7309,7 +7309,7 @@ class Ll {
|
|
|
7309
7309
|
*/
|
|
7310
7310
|
showModal() {
|
|
7311
7311
|
const t = this.callback();
|
|
7312
|
-
this.__showOthers =
|
|
7312
|
+
this.__showOthers = ns(t);
|
|
7313
7313
|
}
|
|
7314
7314
|
/**
|
|
7315
7315
|
* Remove `aria-hidden` from other elements unless there are any other
|
|
@@ -7324,7 +7324,7 @@ class Ll {
|
|
|
7324
7324
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7325
7325
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7326
7326
|
*/
|
|
7327
|
-
class
|
|
7327
|
+
class Rl {
|
|
7328
7328
|
/**
|
|
7329
7329
|
* Saves the given node as a target for restoring focus to
|
|
7330
7330
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7352,7 +7352,7 @@ class $l {
|
|
|
7352
7352
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7353
7353
|
*/
|
|
7354
7354
|
const ri = [];
|
|
7355
|
-
class
|
|
7355
|
+
class Bl {
|
|
7356
7356
|
/**
|
|
7357
7357
|
* @param {HTMLElement} host
|
|
7358
7358
|
*/
|
|
@@ -7366,7 +7366,7 @@ class Rl {
|
|
|
7366
7366
|
* @private
|
|
7367
7367
|
*/
|
|
7368
7368
|
get __focusableElements() {
|
|
7369
|
-
return
|
|
7369
|
+
return kl(this.__trapNode);
|
|
7370
7370
|
}
|
|
7371
7371
|
/**
|
|
7372
7372
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -7376,7 +7376,7 @@ class Rl {
|
|
|
7376
7376
|
*/
|
|
7377
7377
|
get __focusedElementIndex() {
|
|
7378
7378
|
const t = this.__focusableElements;
|
|
7379
|
-
return t.indexOf(t.filter(
|
|
7379
|
+
return t.indexOf(t.filter(Cl).pop());
|
|
7380
7380
|
}
|
|
7381
7381
|
hostConnected() {
|
|
7382
7382
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7489,7 +7489,7 @@ const it = X((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7489
7489
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7490
7490
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7491
7491
|
*/
|
|
7492
|
-
const
|
|
7492
|
+
const Hl = (o) => class extends it(o) {
|
|
7493
7493
|
static get properties() {
|
|
7494
7494
|
return {
|
|
7495
7495
|
/**
|
|
@@ -7520,7 +7520,7 @@ const Bl = (o) => class extends it(o) {
|
|
|
7520
7520
|
};
|
|
7521
7521
|
}
|
|
7522
7522
|
constructor() {
|
|
7523
|
-
super(), this.__ariaModalController = new
|
|
7523
|
+
super(), this.__ariaModalController = new $l(this), this.__focusTrapController = new Bl(this), this.__focusRestorationController = new Rl();
|
|
7524
7524
|
}
|
|
7525
7525
|
/** @protected */
|
|
7526
7526
|
ready() {
|
|
@@ -7591,7 +7591,7 @@ const Bl = (o) => class extends it(o) {
|
|
|
7591
7591
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7592
7592
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7593
7593
|
*/
|
|
7594
|
-
const
|
|
7594
|
+
const as = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), Pi = () => as().filter((o) => o.$.overlay), jl = (o) => o === Pi().pop(), Yl = (o) => class extends o {
|
|
7595
7595
|
constructor() {
|
|
7596
7596
|
super(), this._hasOverlayStackMixin = !0;
|
|
7597
7597
|
}
|
|
@@ -7602,14 +7602,14 @@ const ns = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7602
7602
|
* @protected
|
|
7603
7603
|
*/
|
|
7604
7604
|
get _last() {
|
|
7605
|
-
return
|
|
7605
|
+
return jl(this);
|
|
7606
7606
|
}
|
|
7607
7607
|
/**
|
|
7608
7608
|
* Brings the overlay as visually the frontmost one.
|
|
7609
7609
|
*/
|
|
7610
7610
|
bringToFront() {
|
|
7611
7611
|
let e = "";
|
|
7612
|
-
const i =
|
|
7612
|
+
const i = as().filter((r) => r !== this).pop();
|
|
7613
7613
|
i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
7614
7614
|
}
|
|
7615
7615
|
/** @protected */
|
|
@@ -7632,7 +7632,7 @@ const ns = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7632
7632
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7633
7633
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7634
7634
|
*/
|
|
7635
|
-
const
|
|
7635
|
+
const Vl = (o) => class extends Hl(Yl(o)) {
|
|
7636
7636
|
static get properties() {
|
|
7637
7637
|
return {
|
|
7638
7638
|
/**
|
|
@@ -7705,7 +7705,7 @@ const Yl = (o) => class extends Bl(jl(o)) {
|
|
|
7705
7705
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
7706
7706
|
}
|
|
7707
7707
|
constructor() {
|
|
7708
|
-
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this),
|
|
7708
|
+
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this), ss && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
7709
7709
|
}
|
|
7710
7710
|
/** @protected */
|
|
7711
7711
|
ready() {
|
|
@@ -7773,7 +7773,7 @@ const Yl = (o) => class extends Bl(jl(o)) {
|
|
|
7773
7773
|
}
|
|
7774
7774
|
/** @private */
|
|
7775
7775
|
_openedChanged(e, i) {
|
|
7776
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
7776
|
+
e ? (this._saveFocus(), this._animatedOpening(), rs(this, () => {
|
|
7777
7777
|
this._trapFocus();
|
|
7778
7778
|
const r = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
7779
7779
|
this.dispatchEvent(r);
|
|
@@ -7898,7 +7898,7 @@ const Yl = (o) => class extends Bl(jl(o)) {
|
|
|
7898
7898
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7899
7899
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7900
7900
|
*/
|
|
7901
|
-
function
|
|
7901
|
+
function Ul(o) {
|
|
7902
7902
|
const t = [];
|
|
7903
7903
|
for (; o; ) {
|
|
7904
7904
|
if (o.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -7923,11 +7923,11 @@ function Ji(o) {
|
|
|
7923
7923
|
function Vt(o) {
|
|
7924
7924
|
return o ? [...o].join(" ") : "";
|
|
7925
7925
|
}
|
|
7926
|
-
function
|
|
7926
|
+
function ls(o, t, e) {
|
|
7927
7927
|
const i = Ji(o.getAttribute(t));
|
|
7928
7928
|
i.add(e), o.setAttribute(t, Vt(i));
|
|
7929
7929
|
}
|
|
7930
|
-
function
|
|
7930
|
+
function Wl(o, t, e) {
|
|
7931
7931
|
const i = Ji(o.getAttribute(t));
|
|
7932
7932
|
if (i.delete(e), i.size === 0) {
|
|
7933
7933
|
o.removeAttribute(t);
|
|
@@ -7935,7 +7935,7 @@ function Ul(o, t, e) {
|
|
|
7935
7935
|
}
|
|
7936
7936
|
o.setAttribute(t, Vt(i));
|
|
7937
7937
|
}
|
|
7938
|
-
function
|
|
7938
|
+
function ql(o) {
|
|
7939
7939
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7940
7940
|
}
|
|
7941
7941
|
/**
|
|
@@ -7943,7 +7943,7 @@ function Wl(o) {
|
|
|
7943
7943
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
7944
7944
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7945
7945
|
*/
|
|
7946
|
-
function
|
|
7946
|
+
function Kl(o, t) {
|
|
7947
7947
|
let e = null;
|
|
7948
7948
|
const i = document.documentElement;
|
|
7949
7949
|
function r() {
|
|
@@ -7983,13 +7983,13 @@ const si = {
|
|
|
7983
7983
|
}, ni = {
|
|
7984
7984
|
start: "left",
|
|
7985
7985
|
end: "right"
|
|
7986
|
-
},
|
|
7986
|
+
}, Yo = new ResizeObserver((o) => {
|
|
7987
7987
|
setTimeout(() => {
|
|
7988
7988
|
o.forEach((t) => {
|
|
7989
7989
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
7990
7990
|
});
|
|
7991
7991
|
});
|
|
7992
|
-
}),
|
|
7992
|
+
}), Gl = (o) => class extends o {
|
|
7993
7993
|
static get properties() {
|
|
7994
7994
|
return {
|
|
7995
7995
|
/**
|
|
@@ -8088,9 +8088,9 @@ const si = {
|
|
|
8088
8088
|
}
|
|
8089
8089
|
/** @private */
|
|
8090
8090
|
__addUpdatePositionEventListeners() {
|
|
8091
|
-
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes =
|
|
8091
|
+
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = Ul(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8092
8092
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8093
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8093
|
+
}), this.positionTarget && (this.__observePositionTargetMove = Kl(this.positionTarget, () => {
|
|
8094
8094
|
this._updatePosition();
|
|
8095
8095
|
}));
|
|
8096
8096
|
}
|
|
@@ -8102,7 +8102,7 @@ const si = {
|
|
|
8102
8102
|
}
|
|
8103
8103
|
/** @private */
|
|
8104
8104
|
__overlayOpenedChanged(e, i) {
|
|
8105
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8105
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, Yo.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, Yo.observe(i))), e) {
|
|
8106
8106
|
const r = getComputedStyle(this);
|
|
8107
8107
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((s) => {
|
|
8108
8108
|
this.__margins[s] = parseInt(r[s], 10);
|
|
@@ -8224,7 +8224,7 @@ const si = {
|
|
|
8224
8224
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
8225
8225
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8226
8226
|
*/
|
|
8227
|
-
const
|
|
8227
|
+
const Jl = (o) => class extends Gl(Vl(o)) {
|
|
8228
8228
|
/**
|
|
8229
8229
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
8230
8230
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -8241,7 +8241,7 @@ const Gl = (o) => class extends Kl(Yl(o)) {
|
|
|
8241
8241
|
* @override
|
|
8242
8242
|
*/
|
|
8243
8243
|
_mouseDownListener(e) {
|
|
8244
|
-
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !
|
|
8244
|
+
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !es(e.composedPath()[0]) && e.preventDefault();
|
|
8245
8245
|
}
|
|
8246
8246
|
};
|
|
8247
8247
|
/**
|
|
@@ -8249,7 +8249,7 @@ const Gl = (o) => class extends Kl(Yl(o)) {
|
|
|
8249
8249
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8250
8250
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8251
8251
|
*/
|
|
8252
|
-
const
|
|
8252
|
+
const Xl = F`
|
|
8253
8253
|
[part='overlay'] {
|
|
8254
8254
|
display: flex;
|
|
8255
8255
|
flex: auto;
|
|
@@ -8270,10 +8270,10 @@ const Jl = F`
|
|
|
8270
8270
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8271
8271
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8272
8272
|
*/
|
|
8273
|
-
q("vaadin-date-picker-overlay", [
|
|
8273
|
+
q("vaadin-date-picker-overlay", [xl, Xl], {
|
|
8274
8274
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8275
8275
|
});
|
|
8276
|
-
class
|
|
8276
|
+
class Zl extends Jl(jt(He(Oe))) {
|
|
8277
8277
|
static get is() {
|
|
8278
8278
|
return "vaadin-date-picker-overlay";
|
|
8279
8279
|
}
|
|
@@ -8288,34 +8288,34 @@ class Xl extends Gl(jt(He(Oe))) {
|
|
|
8288
8288
|
`;
|
|
8289
8289
|
}
|
|
8290
8290
|
}
|
|
8291
|
-
we(
|
|
8292
|
-
const
|
|
8293
|
-
function
|
|
8291
|
+
we(Zl);
|
|
8292
|
+
const Ql = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Tt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8293
|
+
function ec() {
|
|
8294
8294
|
function o() {
|
|
8295
8295
|
return !0;
|
|
8296
8296
|
}
|
|
8297
|
-
return
|
|
8297
|
+
return cs(o);
|
|
8298
8298
|
}
|
|
8299
|
-
function
|
|
8299
|
+
function tc() {
|
|
8300
8300
|
try {
|
|
8301
|
-
return
|
|
8301
|
+
return ic() ? !0 : oc() ? Tt ? !rc() : !ec() : !1;
|
|
8302
8302
|
} catch (o) {
|
|
8303
8303
|
return !1;
|
|
8304
8304
|
}
|
|
8305
8305
|
}
|
|
8306
|
-
function
|
|
8306
|
+
function ic() {
|
|
8307
8307
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
8308
8308
|
}
|
|
8309
|
-
function
|
|
8309
|
+
function oc() {
|
|
8310
8310
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8311
8311
|
}
|
|
8312
|
-
function
|
|
8312
|
+
function rc() {
|
|
8313
8313
|
return !!(Tt && Object.keys(Tt).map((t) => Tt[t]).filter((t) => t.productionMode).length > 0);
|
|
8314
8314
|
}
|
|
8315
|
-
function
|
|
8315
|
+
function cs(o, t) {
|
|
8316
8316
|
if (typeof o != "function")
|
|
8317
8317
|
return;
|
|
8318
|
-
const e =
|
|
8318
|
+
const e = Ql.exec(o.toString());
|
|
8319
8319
|
if (e)
|
|
8320
8320
|
try {
|
|
8321
8321
|
o = new Function(e[1]);
|
|
@@ -8325,12 +8325,12 @@ function ls(o, t) {
|
|
|
8325
8325
|
return o(t);
|
|
8326
8326
|
}
|
|
8327
8327
|
window.Vaadin = window.Vaadin || {};
|
|
8328
|
-
const
|
|
8328
|
+
const Vo = function(o, t) {
|
|
8329
8329
|
if (window.Vaadin.developmentMode)
|
|
8330
|
-
return
|
|
8330
|
+
return cs(o, t);
|
|
8331
8331
|
};
|
|
8332
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
8333
|
-
function
|
|
8332
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = tc());
|
|
8333
|
+
function sc() {
|
|
8334
8334
|
/*! vaadin-dev-mode:start
|
|
8335
8335
|
(function () {
|
|
8336
8336
|
'use strict';
|
|
@@ -8811,9 +8811,9 @@ function rc() {
|
|
|
8811
8811
|
|
|
8812
8812
|
vaadin-dev-mode:end **/
|
|
8813
8813
|
}
|
|
8814
|
-
const
|
|
8815
|
-
if (typeof
|
|
8816
|
-
return
|
|
8814
|
+
const nc = function() {
|
|
8815
|
+
if (typeof Vo == "function")
|
|
8816
|
+
return Vo(sc);
|
|
8817
8817
|
};
|
|
8818
8818
|
/**
|
|
8819
8819
|
* @license
|
|
@@ -8824,10 +8824,10 @@ const sc = function() {
|
|
|
8824
8824
|
* Code distributed by Google as part of the polymer project is also
|
|
8825
8825
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8826
8826
|
*/
|
|
8827
|
-
let
|
|
8827
|
+
let Uo = 0, us = 0;
|
|
8828
8828
|
const Ge = [];
|
|
8829
8829
|
let Di = !1;
|
|
8830
|
-
function
|
|
8830
|
+
function ac() {
|
|
8831
8831
|
Di = !1;
|
|
8832
8832
|
const o = Ge.length;
|
|
8833
8833
|
for (let t = 0; t < o; t++) {
|
|
@@ -8841,7 +8841,7 @@ function nc() {
|
|
|
8841
8841
|
});
|
|
8842
8842
|
}
|
|
8843
8843
|
}
|
|
8844
|
-
Ge.splice(0, o),
|
|
8844
|
+
Ge.splice(0, o), us += o;
|
|
8845
8845
|
}
|
|
8846
8846
|
const Lt = {
|
|
8847
8847
|
/**
|
|
@@ -8883,7 +8883,7 @@ const Lt = {
|
|
|
8883
8883
|
cancel(o) {
|
|
8884
8884
|
window.clearTimeout(o);
|
|
8885
8885
|
}
|
|
8886
|
-
},
|
|
8886
|
+
}, lc = {
|
|
8887
8887
|
/**
|
|
8888
8888
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8889
8889
|
*
|
|
@@ -8904,7 +8904,7 @@ const Lt = {
|
|
|
8904
8904
|
cancel(o) {
|
|
8905
8905
|
window.cancelAnimationFrame(o);
|
|
8906
8906
|
}
|
|
8907
|
-
},
|
|
8907
|
+
}, cc = {
|
|
8908
8908
|
/**
|
|
8909
8909
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
8910
8910
|
*
|
|
@@ -8925,7 +8925,7 @@ const Lt = {
|
|
|
8925
8925
|
cancel(o) {
|
|
8926
8926
|
window.cancelIdleCallback ? window.cancelIdleCallback(o) : window.clearTimeout(o);
|
|
8927
8927
|
}
|
|
8928
|
-
},
|
|
8928
|
+
}, uc = {
|
|
8929
8929
|
/**
|
|
8930
8930
|
* Enqueues a function called at microtask timing.
|
|
8931
8931
|
*
|
|
@@ -8934,9 +8934,9 @@ const Lt = {
|
|
|
8934
8934
|
* @return {number} Handle used for canceling task
|
|
8935
8935
|
*/
|
|
8936
8936
|
run(o) {
|
|
8937
|
-
Di || (Di = !0, queueMicrotask(() =>
|
|
8938
|
-
const t =
|
|
8939
|
-
return
|
|
8937
|
+
Di || (Di = !0, queueMicrotask(() => ac())), Ge.push(o);
|
|
8938
|
+
const t = Uo;
|
|
8939
|
+
return Uo += 1, t;
|
|
8940
8940
|
},
|
|
8941
8941
|
/**
|
|
8942
8942
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -8946,7 +8946,7 @@ const Lt = {
|
|
|
8946
8946
|
* @return {void}
|
|
8947
8947
|
*/
|
|
8948
8948
|
cancel(o) {
|
|
8949
|
-
const t = o -
|
|
8949
|
+
const t = o - us;
|
|
8950
8950
|
if (t >= 0) {
|
|
8951
8951
|
if (!Ge[t])
|
|
8952
8952
|
throw new Error(`invalid async handle: ${o}`);
|
|
@@ -9055,7 +9055,7 @@ let Qe = class Mi {
|
|
|
9055
9055
|
return this._timer != null;
|
|
9056
9056
|
}
|
|
9057
9057
|
};
|
|
9058
|
-
function
|
|
9058
|
+
function dc(o) {
|
|
9059
9059
|
Ti.add(o);
|
|
9060
9060
|
}
|
|
9061
9061
|
/**
|
|
@@ -9067,17 +9067,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
9067
9067
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
9068
9068
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
9069
9069
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9070
|
-
|
|
9070
|
+
nc();
|
|
9071
9071
|
};
|
|
9072
9072
|
let ai;
|
|
9073
|
-
const
|
|
9073
|
+
const Wo = /* @__PURE__ */ new Set(), ds = (o) => class extends jt(o) {
|
|
9074
9074
|
/** @protected */
|
|
9075
9075
|
static finalize() {
|
|
9076
9076
|
super.finalize();
|
|
9077
9077
|
const { is: e } = this;
|
|
9078
|
-
e && !
|
|
9078
|
+
e && !Wo.has(e) && (window.Vaadin.registrations.push(this), Wo.add(e), window.Vaadin.developmentModeCallback && (ai = Qe.debounce(ai, cc, () => {
|
|
9079
9079
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9080
|
-
}),
|
|
9080
|
+
}), dc(ai)));
|
|
9081
9081
|
}
|
|
9082
9082
|
constructor() {
|
|
9083
9083
|
super(), document.doctype === null && console.warn(
|
|
@@ -9090,7 +9090,7 @@ const Uo = /* @__PURE__ */ new Set(), us = (o) => class extends jt(o) {
|
|
|
9090
9090
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9091
9091
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9092
9092
|
*/
|
|
9093
|
-
class
|
|
9093
|
+
class hc {
|
|
9094
9094
|
constructor(t, e) {
|
|
9095
9095
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9096
9096
|
this._schedule();
|
|
@@ -9140,9 +9140,9 @@ class dc {
|
|
|
9140
9140
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9141
9141
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9142
9142
|
*/
|
|
9143
|
-
let
|
|
9144
|
-
function
|
|
9145
|
-
return
|
|
9143
|
+
let pc = 0;
|
|
9144
|
+
function hs() {
|
|
9145
|
+
return pc++;
|
|
9146
9146
|
}
|
|
9147
9147
|
/**
|
|
9148
9148
|
* @license
|
|
@@ -9159,7 +9159,7 @@ class Le extends EventTarget {
|
|
|
9159
9159
|
* @protected
|
|
9160
9160
|
*/
|
|
9161
9161
|
static generateId(t, e = "default") {
|
|
9162
|
-
return `${e}-${t.localName}-${
|
|
9162
|
+
return `${e}-${t.localName}-${hs()}`;
|
|
9163
9163
|
}
|
|
9164
9164
|
constructor(t, e, i, r = {}) {
|
|
9165
9165
|
super();
|
|
@@ -9251,8 +9251,8 @@ class Le extends EventTarget {
|
|
|
9251
9251
|
*/
|
|
9252
9252
|
observeSlot() {
|
|
9253
9253
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9254
|
-
this.__slotObserver = new
|
|
9255
|
-
const n = this.multiple ? this.nodes : [this.node], a = r.filter((l) => !
|
|
9254
|
+
this.__slotObserver = new hc(i, ({ addedNodes: r, removedNodes: s }) => {
|
|
9255
|
+
const n = this.multiple ? this.nodes : [this.node], a = r.filter((l) => !ql(l) && !n.includes(l));
|
|
9256
9256
|
s.length && (this.nodes = n.filter((l) => !s.includes(l)), s.forEach((l) => {
|
|
9257
9257
|
this.teardownNode(l);
|
|
9258
9258
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9266,7 +9266,7 @@ class Le extends EventTarget {
|
|
|
9266
9266
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
9267
9267
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9268
9268
|
*/
|
|
9269
|
-
class
|
|
9269
|
+
class ps extends Le {
|
|
9270
9270
|
constructor(t) {
|
|
9271
9271
|
super(t, "tooltip"), this.setTarget(t);
|
|
9272
9272
|
}
|
|
@@ -9367,7 +9367,7 @@ class hs extends Le {
|
|
|
9367
9367
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9368
9368
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9369
9369
|
*/
|
|
9370
|
-
const
|
|
9370
|
+
const fc = F`
|
|
9371
9371
|
:host {
|
|
9372
9372
|
display: inline-block;
|
|
9373
9373
|
position: relative;
|
|
@@ -9427,7 +9427,7 @@ const pc = F`
|
|
|
9427
9427
|
outline-color: GrayText;
|
|
9428
9428
|
}
|
|
9429
9429
|
}
|
|
9430
|
-
`,
|
|
9430
|
+
`, mc = (o) => o`
|
|
9431
9431
|
<div class="vaadin-button-container">
|
|
9432
9432
|
<span part="prefix" aria-hidden="true">
|
|
9433
9433
|
<slot name="prefix"></slot>
|
|
@@ -9450,33 +9450,34 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9450
9450
|
Code distributed by Google as part of the polymer project is also
|
|
9451
9451
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9452
9452
|
*/
|
|
9453
|
-
const
|
|
9453
|
+
const _c = !1, gc = (o) => o, Xi = typeof document.head.style.touchAction == "string", Oi = "__polymerGestures", li = "__polymerGesturesHandled", Ii = "__polymerGesturesTouchAction", qo = 25, Ko = 5, bc = 2, vc = ["mousedown", "mousemove", "mouseup", "click"], yc = [0, 1, 4, 2], xc = function() {
|
|
9454
9454
|
try {
|
|
9455
9455
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9456
9456
|
} catch (o) {
|
|
9457
9457
|
return !1;
|
|
9458
9458
|
}
|
|
9459
9459
|
}();
|
|
9460
|
-
function
|
|
9461
|
-
return
|
|
9460
|
+
function Zi(o) {
|
|
9461
|
+
return vc.indexOf(o) > -1;
|
|
9462
9462
|
}
|
|
9463
|
-
let
|
|
9463
|
+
let fs = !1;
|
|
9464
9464
|
(function() {
|
|
9465
9465
|
try {
|
|
9466
9466
|
const o = Object.defineProperty({}, "passive", {
|
|
9467
9467
|
// eslint-disable-next-line getter-return
|
|
9468
9468
|
get() {
|
|
9469
|
-
|
|
9469
|
+
fs = !0;
|
|
9470
9470
|
}
|
|
9471
9471
|
});
|
|
9472
9472
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
9473
9473
|
} catch (o) {
|
|
9474
9474
|
}
|
|
9475
9475
|
})();
|
|
9476
|
-
function
|
|
9477
|
-
|
|
9476
|
+
function wc(o) {
|
|
9477
|
+
if (!(Zi(o) || o === "touchend") && Xi && fs && _c)
|
|
9478
|
+
return { passive: !0 };
|
|
9478
9479
|
}
|
|
9479
|
-
const
|
|
9480
|
+
const Ec = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Sc = {
|
|
9480
9481
|
button: !0,
|
|
9481
9482
|
command: !0,
|
|
9482
9483
|
fieldset: !0,
|
|
@@ -9489,15 +9490,15 @@ const wc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Ec = {
|
|
|
9489
9490
|
};
|
|
9490
9491
|
function Re(o) {
|
|
9491
9492
|
const t = o.type;
|
|
9492
|
-
if (!
|
|
9493
|
+
if (!Zi(t))
|
|
9493
9494
|
return !1;
|
|
9494
9495
|
if (t === "mousemove") {
|
|
9495
9496
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9496
|
-
return o instanceof window.MouseEvent && !
|
|
9497
|
+
return o instanceof window.MouseEvent && !xc && (i = yc[o.which] || 0), !!(i & 1);
|
|
9497
9498
|
}
|
|
9498
9499
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9499
9500
|
}
|
|
9500
|
-
function
|
|
9501
|
+
function Cc(o) {
|
|
9501
9502
|
if (o.type === "click") {
|
|
9502
9503
|
if (o.detail === 0)
|
|
9503
9504
|
return !0;
|
|
@@ -9514,6 +9515,10 @@ function Sc(o) {
|
|
|
9514
9515
|
return !1;
|
|
9515
9516
|
}
|
|
9516
9517
|
const Ce = {
|
|
9518
|
+
mouse: {
|
|
9519
|
+
target: null,
|
|
9520
|
+
mouseIgnoreJob: null
|
|
9521
|
+
},
|
|
9517
9522
|
touch: {
|
|
9518
9523
|
x: 0,
|
|
9519
9524
|
y: 0,
|
|
@@ -9521,9 +9526,9 @@ const Ce = {
|
|
|
9521
9526
|
scrollDecided: !1
|
|
9522
9527
|
}
|
|
9523
9528
|
};
|
|
9524
|
-
function
|
|
9529
|
+
function Ac(o) {
|
|
9525
9530
|
let t = "auto";
|
|
9526
|
-
const e =
|
|
9531
|
+
const e = _s(o);
|
|
9527
9532
|
for (let i = 0, r; i < e.length; i++)
|
|
9528
9533
|
if (r = e[i], r[Ii]) {
|
|
9529
9534
|
t = r[Ii];
|
|
@@ -9531,14 +9536,14 @@ function Cc(o) {
|
|
|
9531
9536
|
}
|
|
9532
9537
|
return t;
|
|
9533
9538
|
}
|
|
9534
|
-
function
|
|
9539
|
+
function ms(o, t, e) {
|
|
9535
9540
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9536
9541
|
}
|
|
9537
9542
|
function Je(o) {
|
|
9538
9543
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9539
9544
|
}
|
|
9540
|
-
const
|
|
9541
|
-
function
|
|
9545
|
+
const _s = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], Qi = {}, $e = [];
|
|
9546
|
+
function kc(o, t) {
|
|
9542
9547
|
let e = document.elementFromPoint(o, t), i = e;
|
|
9543
9548
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
9544
9549
|
const r = i;
|
|
@@ -9549,13 +9554,13 @@ function Ac(o, t) {
|
|
|
9549
9554
|
return e;
|
|
9550
9555
|
}
|
|
9551
9556
|
function Me(o) {
|
|
9552
|
-
const t =
|
|
9557
|
+
const t = _s(
|
|
9553
9558
|
/** @type {?Event} */
|
|
9554
9559
|
o
|
|
9555
9560
|
);
|
|
9556
9561
|
return t.length > 0 ? t[0] : o.target;
|
|
9557
9562
|
}
|
|
9558
|
-
function
|
|
9563
|
+
function Pc(o) {
|
|
9559
9564
|
const t = o.type, i = o.currentTarget[Oi];
|
|
9560
9565
|
if (!i)
|
|
9561
9566
|
return;
|
|
@@ -9566,7 +9571,7 @@ function kc(o) {
|
|
|
9566
9571
|
const n = o.changedTouches[0];
|
|
9567
9572
|
if (t === "touchstart" && o.touches.length === 1 && (Ce.touch.id = n.identifier), Ce.touch.id !== n.identifier)
|
|
9568
9573
|
return;
|
|
9569
|
-
|
|
9574
|
+
Xi || (t === "touchstart" || t === "touchmove") && Dc(o);
|
|
9570
9575
|
}
|
|
9571
9576
|
const s = o[li];
|
|
9572
9577
|
if (!s.skip) {
|
|
@@ -9576,7 +9581,7 @@ function kc(o) {
|
|
|
9576
9581
|
a = $e[n], r[a.name] && !s[a.name] && (s[a.name] = !0, a[t](o));
|
|
9577
9582
|
}
|
|
9578
9583
|
}
|
|
9579
|
-
function
|
|
9584
|
+
function Dc(o) {
|
|
9580
9585
|
const t = o.changedTouches[0], e = o.type;
|
|
9581
9586
|
if (e === "touchstart")
|
|
9582
9587
|
Ce.touch.x = t.clientX, Ce.touch.y = t.clientY, Ce.touch.scrollDecided = !1;
|
|
@@ -9584,29 +9589,29 @@ function Pc(o) {
|
|
|
9584
9589
|
if (Ce.touch.scrollDecided)
|
|
9585
9590
|
return;
|
|
9586
9591
|
Ce.touch.scrollDecided = !0;
|
|
9587
|
-
const i =
|
|
9592
|
+
const i = Ac(o);
|
|
9588
9593
|
let r = !1;
|
|
9589
9594
|
const s = Math.abs(Ce.touch.x - t.clientX), n = Math.abs(Ce.touch.y - t.clientY);
|
|
9590
9595
|
o.cancelable && (i === "none" ? r = !0 : i === "pan-x" ? r = n > s : i === "pan-y" && (r = s > n)), r ? o.preventDefault() : $t("track");
|
|
9591
9596
|
}
|
|
9592
9597
|
}
|
|
9593
9598
|
function xe(o, t, e) {
|
|
9594
|
-
return
|
|
9599
|
+
return Qi[t] ? (Tc(o, t, e), !0) : !1;
|
|
9595
9600
|
}
|
|
9596
|
-
function
|
|
9597
|
-
const i =
|
|
9601
|
+
function Tc(o, t, e) {
|
|
9602
|
+
const i = Qi[t], r = i.deps, s = i.name;
|
|
9598
9603
|
let n = o[Oi];
|
|
9599
9604
|
n || (o[Oi] = n = {});
|
|
9600
9605
|
for (let a = 0, l, c; a < r.length; a++)
|
|
9601
|
-
l = r[a], !(
|
|
9602
|
-
o.addEventListener(t, e), i.touchAction &&
|
|
9606
|
+
l = r[a], !(Ec && Zi(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, Pc, wc(l)), c[s] = (c[s] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9607
|
+
o.addEventListener(t, e), i.touchAction && gs(o, i.touchAction);
|
|
9603
9608
|
}
|
|
9604
|
-
function
|
|
9609
|
+
function eo(o) {
|
|
9605
9610
|
$e.push(o), o.emits.forEach((t) => {
|
|
9606
|
-
|
|
9611
|
+
Qi[t] = o;
|
|
9607
9612
|
});
|
|
9608
9613
|
}
|
|
9609
|
-
function
|
|
9614
|
+
function Mc(o) {
|
|
9610
9615
|
for (let t = 0, e; t < $e.length; t++) {
|
|
9611
9616
|
e = $e[t];
|
|
9612
9617
|
for (let i = 0, r; i < e.emits.length; i++)
|
|
@@ -9615,14 +9620,14 @@ function Tc(o) {
|
|
|
9615
9620
|
}
|
|
9616
9621
|
return null;
|
|
9617
9622
|
}
|
|
9618
|
-
function
|
|
9619
|
-
|
|
9623
|
+
function gs(o, t) {
|
|
9624
|
+
Xi && o instanceof HTMLElement && uc.run(() => {
|
|
9620
9625
|
o.style.touchAction = t;
|
|
9621
9626
|
}), o[Ii] = t;
|
|
9622
9627
|
}
|
|
9623
|
-
function
|
|
9628
|
+
function to(o, t, e) {
|
|
9624
9629
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9625
|
-
if (i.detail = e,
|
|
9630
|
+
if (i.detail = e, gc(
|
|
9626
9631
|
/** @type {!Node} */
|
|
9627
9632
|
o
|
|
9628
9633
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9631,10 +9636,10 @@ function eo(o, t, e) {
|
|
|
9631
9636
|
}
|
|
9632
9637
|
}
|
|
9633
9638
|
function $t(o) {
|
|
9634
|
-
const t =
|
|
9639
|
+
const t = Mc(o);
|
|
9635
9640
|
t.info && (t.info.prevent = !0);
|
|
9636
9641
|
}
|
|
9637
|
-
|
|
9642
|
+
eo({
|
|
9638
9643
|
name: "downup",
|
|
9639
9644
|
deps: ["mousedown", "touchstart", "touchend"],
|
|
9640
9645
|
flow: {
|
|
@@ -9666,7 +9671,7 @@ Qi({
|
|
|
9666
9671
|
}, r = (s) => {
|
|
9667
9672
|
Re(s) && at("up", t, s), Je(e.info);
|
|
9668
9673
|
};
|
|
9669
|
-
|
|
9674
|
+
ms(this.info, i, r), at("down", t, o);
|
|
9670
9675
|
},
|
|
9671
9676
|
/**
|
|
9672
9677
|
* @this {GestureRecognizer}
|
|
@@ -9686,7 +9691,7 @@ Qi({
|
|
|
9686
9691
|
}
|
|
9687
9692
|
});
|
|
9688
9693
|
function at(o, t, e, i) {
|
|
9689
|
-
t &&
|
|
9694
|
+
t && to(t, o, {
|
|
9690
9695
|
x: e.clientX,
|
|
9691
9696
|
y: e.clientY,
|
|
9692
9697
|
sourceEvent: e,
|
|
@@ -9696,7 +9701,7 @@ function at(o, t, e, i) {
|
|
|
9696
9701
|
}
|
|
9697
9702
|
});
|
|
9698
9703
|
}
|
|
9699
|
-
|
|
9704
|
+
eo({
|
|
9700
9705
|
name: "track",
|
|
9701
9706
|
touchAction: "none",
|
|
9702
9707
|
deps: ["mousedown", "touchstart", "touchmove", "touchend"],
|
|
@@ -9713,7 +9718,7 @@ Qi({
|
|
|
9713
9718
|
moves: [],
|
|
9714
9719
|
/** @this {GestureInfo} */
|
|
9715
9720
|
addMove(o) {
|
|
9716
|
-
this.moves.length >
|
|
9721
|
+
this.moves.length > bc && this.moves.shift(), this.moves.push(o);
|
|
9717
9722
|
},
|
|
9718
9723
|
movefn: null,
|
|
9719
9724
|
upfn: null,
|
|
@@ -9736,11 +9741,11 @@ Qi({
|
|
|
9736
9741
|
return;
|
|
9737
9742
|
const t = Me(o), e = this, i = (s) => {
|
|
9738
9743
|
const n = s.clientX, a = s.clientY;
|
|
9739
|
-
|
|
9744
|
+
Go(e.info, n, a) && (e.info.state = e.info.started ? s.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && $t("tap"), e.info.addMove({ x: n, y: a }), Re(s) || (e.info.state = "end", Je(e.info)), t && ci(e.info, t, s), e.info.started = !0);
|
|
9740
9745
|
}, r = (s) => {
|
|
9741
9746
|
e.info.started && i(s), Je(e.info);
|
|
9742
9747
|
};
|
|
9743
|
-
|
|
9748
|
+
ms(this.info, i, r), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9744
9749
|
},
|
|
9745
9750
|
/**
|
|
9746
9751
|
* @this {GestureRecognizer}
|
|
@@ -9758,7 +9763,7 @@ Qi({
|
|
|
9758
9763
|
*/
|
|
9759
9764
|
touchmove(o) {
|
|
9760
9765
|
const t = Me(o), e = o.changedTouches[0], i = e.clientX, r = e.clientY;
|
|
9761
|
-
|
|
9766
|
+
Go(this.info, i, r) && (this.info.state === "start" && $t("tap"), this.info.addMove({ x: i, y: r }), ci(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9762
9767
|
},
|
|
9763
9768
|
/**
|
|
9764
9769
|
* @this {GestureRecognizer}
|
|
@@ -9770,20 +9775,20 @@ Qi({
|
|
|
9770
9775
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), ci(this.info, t, e));
|
|
9771
9776
|
}
|
|
9772
9777
|
});
|
|
9773
|
-
function
|
|
9778
|
+
function Go(o, t, e) {
|
|
9774
9779
|
if (o.prevent)
|
|
9775
9780
|
return !1;
|
|
9776
9781
|
if (o.started)
|
|
9777
9782
|
return !0;
|
|
9778
9783
|
const i = Math.abs(o.x - t), r = Math.abs(o.y - e);
|
|
9779
|
-
return i >=
|
|
9784
|
+
return i >= Ko || r >= Ko;
|
|
9780
9785
|
}
|
|
9781
9786
|
function ci(o, t, e) {
|
|
9782
9787
|
if (!t)
|
|
9783
9788
|
return;
|
|
9784
9789
|
const i = o.moves[o.moves.length - 2], r = o.moves[o.moves.length - 1], s = r.x - o.x, n = r.y - o.y;
|
|
9785
9790
|
let a, l = 0;
|
|
9786
|
-
i && (a = r.x - i.x, l = r.y - i.y),
|
|
9791
|
+
i && (a = r.x - i.x, l = r.y - i.y), to(t, "track", {
|
|
9787
9792
|
state: o.state,
|
|
9788
9793
|
x: e.clientX,
|
|
9789
9794
|
y: e.clientY,
|
|
@@ -9793,11 +9798,11 @@ function ci(o, t, e) {
|
|
|
9793
9798
|
ddy: l,
|
|
9794
9799
|
sourceEvent: e,
|
|
9795
9800
|
hover() {
|
|
9796
|
-
return
|
|
9801
|
+
return kc(e.clientX, e.clientY);
|
|
9797
9802
|
}
|
|
9798
9803
|
});
|
|
9799
9804
|
}
|
|
9800
|
-
|
|
9805
|
+
eo({
|
|
9801
9806
|
name: "tap",
|
|
9802
9807
|
deps: ["mousedown", "click", "touchstart", "touchend"],
|
|
9803
9808
|
flow: {
|
|
@@ -9831,7 +9836,7 @@ Qi({
|
|
|
9831
9836
|
* @return {void}
|
|
9832
9837
|
*/
|
|
9833
9838
|
click(o) {
|
|
9834
|
-
Re(o) &&
|
|
9839
|
+
Re(o) && Jo(this.info, o);
|
|
9835
9840
|
},
|
|
9836
9841
|
/**
|
|
9837
9842
|
* @this {GestureRecognizer}
|
|
@@ -9848,15 +9853,15 @@ Qi({
|
|
|
9848
9853
|
* @return {void}
|
|
9849
9854
|
*/
|
|
9850
9855
|
touchend(o) {
|
|
9851
|
-
|
|
9856
|
+
Jo(this.info, o.changedTouches[0], o);
|
|
9852
9857
|
}
|
|
9853
9858
|
});
|
|
9854
|
-
function
|
|
9859
|
+
function Jo(o, t, e) {
|
|
9855
9860
|
const i = Math.abs(t.clientX - o.x), r = Math.abs(t.clientY - o.y), s = Me(e || t);
|
|
9856
|
-
!s ||
|
|
9861
|
+
!s || Sc[
|
|
9857
9862
|
/** @type {!HTMLElement} */
|
|
9858
9863
|
s.localName
|
|
9859
|
-
] && s.hasAttribute("disabled") || (isNaN(i) || isNaN(r) || i <=
|
|
9864
|
+
] && s.hasAttribute("disabled") || (isNaN(i) || isNaN(r) || i <= qo && r <= qo || Cc(t)) && (o.prevent || to(s, "tap", {
|
|
9860
9865
|
x: t.clientX,
|
|
9861
9866
|
y: t.clientY,
|
|
9862
9867
|
sourceEvent: t,
|
|
@@ -9868,7 +9873,7 @@ function Go(o, t, e) {
|
|
|
9868
9873
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9869
9874
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9870
9875
|
*/
|
|
9871
|
-
const
|
|
9876
|
+
const bs = X(
|
|
9872
9877
|
(o) => class extends o {
|
|
9873
9878
|
static get properties() {
|
|
9874
9879
|
return {
|
|
@@ -9975,7 +9980,7 @@ const Ut = X(
|
|
|
9975
9980
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9976
9981
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9977
9982
|
*/
|
|
9978
|
-
const
|
|
9983
|
+
const Oc = (o) => class extends bs(Ut(o)) {
|
|
9979
9984
|
/**
|
|
9980
9985
|
* An array of activation keys.
|
|
9981
9986
|
*
|
|
@@ -10038,7 +10043,7 @@ const Mc = (o) => class extends gs(Ut(o)) {
|
|
|
10038
10043
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10039
10044
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10040
10045
|
*/
|
|
10041
|
-
const
|
|
10046
|
+
const io = X(
|
|
10042
10047
|
(o) => class extends o {
|
|
10043
10048
|
/**
|
|
10044
10049
|
* @protected
|
|
@@ -10095,7 +10100,7 @@ const to = X(
|
|
|
10095
10100
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10096
10101
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10097
10102
|
*/
|
|
10098
|
-
const
|
|
10103
|
+
const vs = (o) => class extends bs(o) {
|
|
10099
10104
|
static get properties() {
|
|
10100
10105
|
return {
|
|
10101
10106
|
/**
|
|
@@ -10146,7 +10151,7 @@ const bs = (o) => class extends gs(o) {
|
|
|
10146
10151
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10147
10152
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10148
10153
|
*/
|
|
10149
|
-
const
|
|
10154
|
+
const Ic = (o) => class extends Oc(vs(io(o))) {
|
|
10150
10155
|
static get properties() {
|
|
10151
10156
|
return {
|
|
10152
10157
|
/**
|
|
@@ -10201,26 +10206,26 @@ const Oc = (o) => class extends Mc(bs(to(o))) {
|
|
|
10201
10206
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10202
10207
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10203
10208
|
*/
|
|
10204
|
-
q("vaadin-button",
|
|
10205
|
-
class
|
|
10209
|
+
q("vaadin-button", fc, { moduleId: "vaadin-button-styles" });
|
|
10210
|
+
class Nc extends Ic(ds(He(it(Oe)))) {
|
|
10206
10211
|
static get is() {
|
|
10207
10212
|
return "vaadin-button";
|
|
10208
10213
|
}
|
|
10209
10214
|
static get template() {
|
|
10210
|
-
return
|
|
10215
|
+
return mc(Ye);
|
|
10211
10216
|
}
|
|
10212
10217
|
/** @protected */
|
|
10213
10218
|
ready() {
|
|
10214
|
-
super.ready(), this._tooltipController = new
|
|
10219
|
+
super.ready(), this._tooltipController = new ps(this), this.addController(this._tooltipController);
|
|
10215
10220
|
}
|
|
10216
10221
|
}
|
|
10217
|
-
we(
|
|
10222
|
+
we(Nc);
|
|
10218
10223
|
/**
|
|
10219
10224
|
* @license
|
|
10220
10225
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10221
10226
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10222
10227
|
*/
|
|
10223
|
-
function
|
|
10228
|
+
function zc(o) {
|
|
10224
10229
|
let t = o.getDay();
|
|
10225
10230
|
t === 0 && (t = 7);
|
|
10226
10231
|
const e = 4 - t, i = new Date(o.getTime() + e * 24 * 3600 * 1e3), r = new Date(0, 0);
|
|
@@ -10235,7 +10240,7 @@ function Ni(o) {
|
|
|
10235
10240
|
function ke(o, t, e = Ni) {
|
|
10236
10241
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10237
10242
|
}
|
|
10238
|
-
function
|
|
10243
|
+
function oo(o) {
|
|
10239
10244
|
return {
|
|
10240
10245
|
day: o.getDate(),
|
|
10241
10246
|
month: o.getMonth(),
|
|
@@ -10245,12 +10250,12 @@ function io(o) {
|
|
|
10245
10250
|
function et(o, t, e, i) {
|
|
10246
10251
|
let r = !1;
|
|
10247
10252
|
if (typeof i == "function" && o) {
|
|
10248
|
-
const s =
|
|
10253
|
+
const s = oo(o);
|
|
10249
10254
|
r = i(s);
|
|
10250
10255
|
}
|
|
10251
10256
|
return (!t || o >= t) && (!e || o <= e) && !r;
|
|
10252
10257
|
}
|
|
10253
|
-
function
|
|
10258
|
+
function ys(o, t) {
|
|
10254
10259
|
return t.filter((e) => e !== void 0).reduce((e, i) => {
|
|
10255
10260
|
if (!i)
|
|
10256
10261
|
return e;
|
|
@@ -10260,11 +10265,11 @@ function vs(o, t) {
|
|
|
10260
10265
|
return r < s ? i : e;
|
|
10261
10266
|
});
|
|
10262
10267
|
}
|
|
10263
|
-
function
|
|
10268
|
+
function xs(o) {
|
|
10264
10269
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
10265
10270
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
10266
10271
|
}
|
|
10267
|
-
function
|
|
10272
|
+
function Fc(o, t, e = 0, i = 1) {
|
|
10268
10273
|
if (t > 99)
|
|
10269
10274
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
10270
10275
|
if (t < 0)
|
|
@@ -10279,15 +10284,15 @@ function lt(o) {
|
|
|
10279
10284
|
const e = new Date(0, 0);
|
|
10280
10285
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10281
10286
|
}
|
|
10282
|
-
function
|
|
10287
|
+
function Lc(o) {
|
|
10283
10288
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
10284
10289
|
let e = "", i = "0000", r = o.year;
|
|
10285
10290
|
r < 0 ? (r = -r, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10286
10291
|
const s = e + t(r, i), n = t(o.month + 1), a = t(o.day);
|
|
10287
10292
|
return [s, n, a].join("-");
|
|
10288
10293
|
}
|
|
10289
|
-
function
|
|
10290
|
-
return o instanceof Date ?
|
|
10294
|
+
function $c(o) {
|
|
10295
|
+
return o instanceof Date ? Lc({
|
|
10291
10296
|
year: o.getFullYear(),
|
|
10292
10297
|
month: o.getMonth(),
|
|
10293
10298
|
day: o.getDate()
|
|
@@ -10394,9 +10399,9 @@ class Rt {
|
|
|
10394
10399
|
}
|
|
10395
10400
|
}
|
|
10396
10401
|
let wt = /* @__PURE__ */ new Set();
|
|
10397
|
-
const
|
|
10402
|
+
const Rc = function(o) {
|
|
10398
10403
|
wt.add(o);
|
|
10399
|
-
},
|
|
10404
|
+
}, Bc = function() {
|
|
10400
10405
|
const o = !!wt.size;
|
|
10401
10406
|
return wt.forEach((t) => {
|
|
10402
10407
|
try {
|
|
@@ -10417,10 +10422,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10417
10422
|
Code distributed by Google as part of the polymer project is also
|
|
10418
10423
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10419
10424
|
*/
|
|
10420
|
-
const
|
|
10425
|
+
const ro = function() {
|
|
10421
10426
|
let o, t;
|
|
10422
10427
|
do
|
|
10423
|
-
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
10428
|
+
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = Bc();
|
|
10424
10429
|
while (o || t);
|
|
10425
10430
|
};
|
|
10426
10431
|
/**
|
|
@@ -10428,8 +10433,8 @@ const oo = function() {
|
|
|
10428
10433
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10429
10434
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10430
10435
|
*/
|
|
10431
|
-
const
|
|
10432
|
-
|
|
10436
|
+
const ws = document.createElement("template");
|
|
10437
|
+
ws.innerHTML = `
|
|
10433
10438
|
<style>
|
|
10434
10439
|
:host {
|
|
10435
10440
|
display: block;
|
|
@@ -10480,9 +10485,9 @@ xs.innerHTML = `
|
|
|
10480
10485
|
<div id="fullHeight"></div>
|
|
10481
10486
|
</div>
|
|
10482
10487
|
`;
|
|
10483
|
-
class
|
|
10488
|
+
class Es extends HTMLElement {
|
|
10484
10489
|
constructor() {
|
|
10485
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10490
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(ws.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10486
10491
|
}
|
|
10487
10492
|
/**
|
|
10488
10493
|
* @return {boolean}
|
|
@@ -10542,7 +10547,7 @@ class ws extends HTMLElement {
|
|
|
10542
10547
|
* waiting for the debouncer to resolve.
|
|
10543
10548
|
*/
|
|
10544
10549
|
forceUpdate() {
|
|
10545
|
-
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()),
|
|
10550
|
+
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()), ro();
|
|
10546
10551
|
}
|
|
10547
10552
|
/**
|
|
10548
10553
|
* @protected
|
|
@@ -10598,7 +10603,7 @@ class ws extends HTMLElement {
|
|
|
10598
10603
|
for (let i = 0; i < this.bufferSize; i++) {
|
|
10599
10604
|
const r = document.createElement("div");
|
|
10600
10605
|
r.style.height = `${this.itemHeight}px`, r.instance = {};
|
|
10601
|
-
const s = `vaadin-infinite-scroller-item-content-${
|
|
10606
|
+
const s = `vaadin-infinite-scroller-item-content-${hs()}`, n = document.createElement("slot");
|
|
10602
10607
|
n.setAttribute("name", s), n._itemWrapper = r, e.appendChild(n), r.setAttribute("slot", s), this.appendChild(r), this._isVisible(r, t) && this._ensureStampedInstance(r);
|
|
10603
10608
|
}
|
|
10604
10609
|
}), requestAnimationFrame(() => {
|
|
@@ -10639,8 +10644,8 @@ class ws extends HTMLElement {
|
|
|
10639
10644
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10640
10645
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10641
10646
|
*/
|
|
10642
|
-
const
|
|
10643
|
-
|
|
10647
|
+
const Ss = document.createElement("template");
|
|
10648
|
+
Ss.innerHTML = `
|
|
10644
10649
|
<style>
|
|
10645
10650
|
:host {
|
|
10646
10651
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10653,12 +10658,12 @@ Es.innerHTML = `
|
|
|
10653
10658
|
}
|
|
10654
10659
|
</style>
|
|
10655
10660
|
`;
|
|
10656
|
-
class
|
|
10661
|
+
class Hc extends Es {
|
|
10657
10662
|
static get is() {
|
|
10658
10663
|
return "vaadin-date-picker-month-scroller";
|
|
10659
10664
|
}
|
|
10660
10665
|
constructor() {
|
|
10661
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10666
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(Ss.content.cloneNode(!0));
|
|
10662
10667
|
}
|
|
10663
10668
|
/**
|
|
10664
10669
|
* @protected
|
|
@@ -10674,17 +10679,17 @@ class Bc extends ws {
|
|
|
10674
10679
|
* @override
|
|
10675
10680
|
*/
|
|
10676
10681
|
_updateElement(t, e) {
|
|
10677
|
-
t.month =
|
|
10682
|
+
t.month = xs(e);
|
|
10678
10683
|
}
|
|
10679
10684
|
}
|
|
10680
|
-
we(
|
|
10685
|
+
we(Hc);
|
|
10681
10686
|
/**
|
|
10682
10687
|
* @license
|
|
10683
10688
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10684
10689
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10685
10690
|
*/
|
|
10686
|
-
const
|
|
10687
|
-
|
|
10691
|
+
const Cs = document.createElement("template");
|
|
10692
|
+
Cs.innerHTML = `
|
|
10688
10693
|
<style>
|
|
10689
10694
|
:host {
|
|
10690
10695
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -10719,12 +10724,12 @@ Ss.innerHTML = `
|
|
|
10719
10724
|
}
|
|
10720
10725
|
</style>
|
|
10721
10726
|
`;
|
|
10722
|
-
class
|
|
10727
|
+
class jc extends Es {
|
|
10723
10728
|
static get is() {
|
|
10724
10729
|
return "vaadin-date-picker-year-scroller";
|
|
10725
10730
|
}
|
|
10726
10731
|
constructor() {
|
|
10727
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
10732
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(Cs.content.cloneNode(!0));
|
|
10728
10733
|
}
|
|
10729
10734
|
/**
|
|
10730
10735
|
* @protected
|
|
@@ -10748,13 +10753,13 @@ class Hc extends ws {
|
|
|
10748
10753
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
10749
10754
|
}
|
|
10750
10755
|
}
|
|
10751
|
-
we(
|
|
10756
|
+
we(jc);
|
|
10752
10757
|
/**
|
|
10753
10758
|
* @license
|
|
10754
10759
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10755
10760
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10756
10761
|
*/
|
|
10757
|
-
const
|
|
10762
|
+
const Yc = (o) => class extends o {
|
|
10758
10763
|
static get properties() {
|
|
10759
10764
|
return {
|
|
10760
10765
|
year: {
|
|
@@ -10780,7 +10785,7 @@ const jc = (o) => class extends o {
|
|
|
10780
10785
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10781
10786
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10782
10787
|
*/
|
|
10783
|
-
class
|
|
10788
|
+
class Vc extends He(Yc(Oe)) {
|
|
10784
10789
|
static get is() {
|
|
10785
10790
|
return "vaadin-date-picker-year";
|
|
10786
10791
|
}
|
|
@@ -10797,7 +10802,7 @@ class Yc extends He(jc(Oe)) {
|
|
|
10797
10802
|
`;
|
|
10798
10803
|
}
|
|
10799
10804
|
}
|
|
10800
|
-
we(
|
|
10805
|
+
we(Vc);
|
|
10801
10806
|
/**
|
|
10802
10807
|
@license
|
|
10803
10808
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10807,13 +10812,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10807
10812
|
Code distributed by Google as part of the polymer project is also
|
|
10808
10813
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10809
10814
|
*/
|
|
10810
|
-
function
|
|
10815
|
+
function so(o, t, e, i, r) {
|
|
10811
10816
|
let s;
|
|
10812
10817
|
r && (s = typeof e == "object" && e !== null, s && (i = o.__dataTemp[t]));
|
|
10813
10818
|
let n = i !== e && (i === i || e === e);
|
|
10814
10819
|
return s && n && (o.__dataTemp[t] = e), n;
|
|
10815
10820
|
}
|
|
10816
|
-
const
|
|
10821
|
+
const no = X((o) => {
|
|
10817
10822
|
class t extends o {
|
|
10818
10823
|
/**
|
|
10819
10824
|
* Overrides `PropertyEffects` to provide option for skipping
|
|
@@ -10833,11 +10838,11 @@ const so = X((o) => {
|
|
|
10833
10838
|
* @protected
|
|
10834
10839
|
*/
|
|
10835
10840
|
_shouldPropertyChange(i, r, s) {
|
|
10836
|
-
return
|
|
10841
|
+
return so(this, i, r, s, !0);
|
|
10837
10842
|
}
|
|
10838
10843
|
}
|
|
10839
10844
|
return t;
|
|
10840
|
-
}),
|
|
10845
|
+
}), Uc = X((o) => {
|
|
10841
10846
|
class t extends o {
|
|
10842
10847
|
/** @nocollapse */
|
|
10843
10848
|
static get properties() {
|
|
@@ -10869,12 +10874,12 @@ const so = X((o) => {
|
|
|
10869
10874
|
* @protected
|
|
10870
10875
|
*/
|
|
10871
10876
|
_shouldPropertyChange(i, r, s) {
|
|
10872
|
-
return
|
|
10877
|
+
return so(this, i, r, s, this.mutableData);
|
|
10873
10878
|
}
|
|
10874
10879
|
}
|
|
10875
10880
|
return t;
|
|
10876
10881
|
});
|
|
10877
|
-
|
|
10882
|
+
no._mutablePropertyChange = so;
|
|
10878
10883
|
/**
|
|
10879
10884
|
@license
|
|
10880
10885
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10894,13 +10899,13 @@ Fi.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10894
10899
|
writable: !0
|
|
10895
10900
|
}
|
|
10896
10901
|
});
|
|
10897
|
-
const
|
|
10898
|
-
function
|
|
10902
|
+
const As = qi(Fi), Wc = no(As);
|
|
10903
|
+
function qc(o, t) {
|
|
10899
10904
|
zi = o, Object.setPrototypeOf(o, t.prototype), new t(), zi = null;
|
|
10900
10905
|
}
|
|
10901
|
-
const
|
|
10906
|
+
const Kc = qi(class {
|
|
10902
10907
|
});
|
|
10903
|
-
function
|
|
10908
|
+
function Gc(o, t) {
|
|
10904
10909
|
for (let e = 0; e < t.length; e++) {
|
|
10905
10910
|
let i = t[e];
|
|
10906
10911
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -10918,7 +10923,7 @@ function Kc(o, t) {
|
|
|
10918
10923
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10919
10924
|
}
|
|
10920
10925
|
}
|
|
10921
|
-
class Ie extends
|
|
10926
|
+
class Ie extends Kc {
|
|
10922
10927
|
constructor(t) {
|
|
10923
10928
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10924
10929
|
let e = [];
|
|
@@ -10987,7 +10992,7 @@ class Ie extends qc {
|
|
|
10987
10992
|
* @protected
|
|
10988
10993
|
*/
|
|
10989
10994
|
_showHideChildren(t) {
|
|
10990
|
-
|
|
10995
|
+
Gc(t, this.children);
|
|
10991
10996
|
}
|
|
10992
10997
|
/**
|
|
10993
10998
|
* Overrides default property-effects implementation to intercept
|
|
@@ -11040,31 +11045,31 @@ Ie.prototype.__templatizeOptions;
|
|
|
11040
11045
|
Ie.prototype._methodHost;
|
|
11041
11046
|
Ie.prototype.__templatizeOwner;
|
|
11042
11047
|
Ie.prototype.__hostProps;
|
|
11043
|
-
const
|
|
11048
|
+
const Jc = no(
|
|
11044
11049
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
11045
11050
|
// TemplateInstanceBase is a constructor function.
|
|
11046
11051
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
11047
11052
|
Ie
|
|
11048
11053
|
);
|
|
11049
|
-
function
|
|
11054
|
+
function Xo(o) {
|
|
11050
11055
|
let t = o.__dataHost;
|
|
11051
11056
|
return t && t._methodHost || t;
|
|
11052
11057
|
}
|
|
11053
|
-
function
|
|
11054
|
-
let i = e.mutableData ?
|
|
11058
|
+
function Xc(o, t, e) {
|
|
11059
|
+
let i = e.mutableData ? Jc : Ie;
|
|
11055
11060
|
Li.mixin && (i = Li.mixin(i));
|
|
11056
11061
|
let r = class extends i {
|
|
11057
11062
|
};
|
|
11058
|
-
return r.prototype.__templatizeOptions = e, r.prototype._bindTemplate(o),
|
|
11063
|
+
return r.prototype.__templatizeOptions = e, r.prototype._bindTemplate(o), eu(r, o, t, e), r;
|
|
11059
11064
|
}
|
|
11060
|
-
function
|
|
11065
|
+
function Zc(o, t, e, i) {
|
|
11061
11066
|
let r = e.forwardHostProp;
|
|
11062
11067
|
if (r && t.hasHostProps) {
|
|
11063
11068
|
const s = o.localName == "template";
|
|
11064
11069
|
let n = t.templatizeTemplateClass;
|
|
11065
11070
|
if (!n) {
|
|
11066
11071
|
if (s) {
|
|
11067
|
-
let l = e.mutableData ?
|
|
11072
|
+
let l = e.mutableData ? Wc : As;
|
|
11068
11073
|
class c extends l {
|
|
11069
11074
|
}
|
|
11070
11075
|
n = t.templatizeTemplateClass = c;
|
|
@@ -11079,12 +11084,12 @@ function Xc(o, t, e, i) {
|
|
|
11079
11084
|
n.prototype._addPropertyEffect(
|
|
11080
11085
|
"_host_" + l,
|
|
11081
11086
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11082
|
-
{ fn:
|
|
11087
|
+
{ fn: Qc(l, r) }
|
|
11083
11088
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11084
|
-
|
|
11089
|
+
Mr && i && ou(t, e, i);
|
|
11085
11090
|
}
|
|
11086
11091
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), s)
|
|
11087
|
-
|
|
11092
|
+
qc(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11088
11093
|
else {
|
|
11089
11094
|
Object.setPrototypeOf(o, n.prototype);
|
|
11090
11095
|
const a = t.hostProps;
|
|
@@ -11096,7 +11101,7 @@ function Xc(o, t, e, i) {
|
|
|
11096
11101
|
}
|
|
11097
11102
|
}
|
|
11098
11103
|
}
|
|
11099
|
-
function
|
|
11104
|
+
function Qc(o, t) {
|
|
11100
11105
|
return function(i, r, s) {
|
|
11101
11106
|
t.call(
|
|
11102
11107
|
i.__templatizeOwner,
|
|
@@ -11105,7 +11110,7 @@ function Zc(o, t) {
|
|
|
11105
11110
|
);
|
|
11106
11111
|
};
|
|
11107
11112
|
}
|
|
11108
|
-
function
|
|
11113
|
+
function eu(o, t, e, i) {
|
|
11109
11114
|
let r = e.hostProps || {};
|
|
11110
11115
|
for (let s in i.instanceProps) {
|
|
11111
11116
|
delete r[s];
|
|
@@ -11113,7 +11118,7 @@ function Qc(o, t, e, i) {
|
|
|
11113
11118
|
n && o.prototype._addPropertyEffect(
|
|
11114
11119
|
s,
|
|
11115
11120
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11116
|
-
{ fn:
|
|
11121
|
+
{ fn: tu(s, n) }
|
|
11117
11122
|
);
|
|
11118
11123
|
}
|
|
11119
11124
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11121,10 +11126,10 @@ function Qc(o, t, e, i) {
|
|
|
11121
11126
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11122
11127
|
s,
|
|
11123
11128
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11124
|
-
{ fn:
|
|
11129
|
+
{ fn: iu() }
|
|
11125
11130
|
);
|
|
11126
11131
|
}
|
|
11127
|
-
function
|
|
11132
|
+
function tu(o, t) {
|
|
11128
11133
|
return function(i, r, s) {
|
|
11129
11134
|
t.call(
|
|
11130
11135
|
i.__templatizeOwner,
|
|
@@ -11134,22 +11139,22 @@ function eu(o, t) {
|
|
|
11134
11139
|
);
|
|
11135
11140
|
};
|
|
11136
11141
|
}
|
|
11137
|
-
function
|
|
11142
|
+
function iu() {
|
|
11138
11143
|
return function(t, e, i) {
|
|
11139
11144
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11140
11145
|
};
|
|
11141
11146
|
}
|
|
11142
11147
|
function Li(o, t, e) {
|
|
11143
|
-
if (zt && !
|
|
11148
|
+
if (zt && !Xo(o))
|
|
11144
11149
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11145
11150
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11146
11151
|
e || {}, o.__templatizeOwner)
|
|
11147
11152
|
throw new Error("A <template> can only be templatized once");
|
|
11148
11153
|
o.__templatizeOwner = t;
|
|
11149
11154
|
let r = (t ? t.constructor : Ie)._parseTemplate(o), s = r.templatizeInstanceClass;
|
|
11150
|
-
s || (s =
|
|
11151
|
-
const n =
|
|
11152
|
-
|
|
11155
|
+
s || (s = Xc(o, r, e), r.templatizeInstanceClass = s);
|
|
11156
|
+
const n = Xo(o);
|
|
11157
|
+
Zc(o, r, e, n);
|
|
11153
11158
|
let a = class extends s {
|
|
11154
11159
|
};
|
|
11155
11160
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11157,7 +11162,7 @@ function Li(o, t, e) {
|
|
|
11157
11162
|
t, a.prototype.__hostProps = r.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11158
11163
|
a, a;
|
|
11159
11164
|
}
|
|
11160
|
-
function
|
|
11165
|
+
function ou(o, t, e) {
|
|
11161
11166
|
const i = e.constructor._properties, { propertyEffects: r } = o, { instanceProps: s } = t;
|
|
11162
11167
|
for (let n in r)
|
|
11163
11168
|
if (!i[n] && !(s && s[n])) {
|
|
@@ -11171,7 +11176,7 @@ function iu(o, t, e) {
|
|
|
11171
11176
|
}
|
|
11172
11177
|
}
|
|
11173
11178
|
}
|
|
11174
|
-
function
|
|
11179
|
+
function ru(o, t) {
|
|
11175
11180
|
let e;
|
|
11176
11181
|
for (; t; )
|
|
11177
11182
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11192,11 +11197,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11192
11197
|
Code distributed by Google as part of the polymer project is also
|
|
11193
11198
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11194
11199
|
*/
|
|
11195
|
-
let
|
|
11196
|
-
function
|
|
11197
|
-
if (
|
|
11198
|
-
if (!
|
|
11199
|
-
|
|
11200
|
+
let Zo = !1;
|
|
11201
|
+
function su() {
|
|
11202
|
+
if (Tr && !Dr) {
|
|
11203
|
+
if (!Zo) {
|
|
11204
|
+
Zo = !0;
|
|
11200
11205
|
const o = document.createElement("style");
|
|
11201
11206
|
o.textContent = "dom-bind,dom-if,dom-repeat{display:none;}", document.head.appendChild(o);
|
|
11202
11207
|
}
|
|
@@ -11213,8 +11218,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11213
11218
|
Code distributed by Google as part of the polymer project is also
|
|
11214
11219
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11215
11220
|
*/
|
|
11216
|
-
const
|
|
11217
|
-
class
|
|
11221
|
+
const nu = Uc(Oe);
|
|
11222
|
+
class Qo extends nu {
|
|
11218
11223
|
// Not needed to find template; can be removed once the analyzer
|
|
11219
11224
|
// can find the tag name from customElements.define call
|
|
11220
11225
|
static get is() {
|
|
@@ -11309,7 +11314,7 @@ class Zo extends su {
|
|
|
11309
11314
|
*/
|
|
11310
11315
|
renderedItemCount: {
|
|
11311
11316
|
type: Number,
|
|
11312
|
-
notify: !
|
|
11317
|
+
notify: !Co,
|
|
11313
11318
|
readOnly: !0
|
|
11314
11319
|
},
|
|
11315
11320
|
/**
|
|
@@ -11392,7 +11397,7 @@ class Zo extends su {
|
|
|
11392
11397
|
* @return {void}
|
|
11393
11398
|
*/
|
|
11394
11399
|
connectedCallback() {
|
|
11395
|
-
if (super.connectedCallback(),
|
|
11400
|
+
if (super.connectedCallback(), su() || (this.style.display = "none"), this.__isDetached) {
|
|
11396
11401
|
this.__isDetached = !1;
|
|
11397
11402
|
let t = ie(ie(this).parentNode);
|
|
11398
11403
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11442,7 +11447,7 @@ class Zo extends su {
|
|
|
11442
11447
|
* @param {*} value Value to notify
|
|
11443
11448
|
*/
|
|
11444
11449
|
notifyInstanceProp: function(r, s, n) {
|
|
11445
|
-
if (
|
|
11450
|
+
if (ua(this.as, s)) {
|
|
11446
11451
|
let a = r[this.itemsIndexAs];
|
|
11447
11452
|
s == this.as && (this.items[a] = n);
|
|
11448
11453
|
let l = vt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, s);
|
|
@@ -11498,9 +11503,9 @@ class Zo extends su {
|
|
|
11498
11503
|
__debounceRender(t, e = 0) {
|
|
11499
11504
|
this.__renderDebouncer = Rt.debounce(
|
|
11500
11505
|
this.__renderDebouncer,
|
|
11501
|
-
e > 0 ?
|
|
11506
|
+
e > 0 ? _a.after(e) : Hr,
|
|
11502
11507
|
t.bind(this)
|
|
11503
|
-
),
|
|
11508
|
+
), Rc(this.__renderDebouncer);
|
|
11504
11509
|
}
|
|
11505
11510
|
/**
|
|
11506
11511
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11511,7 +11516,7 @@ class Zo extends su {
|
|
|
11511
11516
|
* @return {void}
|
|
11512
11517
|
*/
|
|
11513
11518
|
render() {
|
|
11514
|
-
this.__debounceRender(this.__render),
|
|
11519
|
+
this.__debounceRender(this.__render), ro();
|
|
11515
11520
|
}
|
|
11516
11521
|
__render() {
|
|
11517
11522
|
if (!this.__ensureTemplatized())
|
|
@@ -11520,7 +11525,7 @@ class Zo extends su {
|
|
|
11520
11525
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
11521
11526
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
11522
11527
|
this.__chunkingId = null, this.__continueChunking();
|
|
11523
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
11528
|
+
})), this._setRenderedItemCount(this.__instances.length), (!Co || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
11524
11529
|
bubbles: !0,
|
|
11525
11530
|
composed: !0
|
|
11526
11531
|
}));
|
|
@@ -11660,16 +11665,16 @@ class Zo extends su {
|
|
|
11660
11665
|
* the element.
|
|
11661
11666
|
*/
|
|
11662
11667
|
modelForElement(t) {
|
|
11663
|
-
return
|
|
11668
|
+
return ru(this.template, t);
|
|
11664
11669
|
}
|
|
11665
11670
|
}
|
|
11666
|
-
customElements.define(
|
|
11671
|
+
customElements.define(Qo.is, Qo);
|
|
11667
11672
|
/**
|
|
11668
11673
|
* @license
|
|
11669
11674
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11670
11675
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11671
11676
|
*/
|
|
11672
|
-
const
|
|
11677
|
+
const au = (o) => class extends io(o) {
|
|
11673
11678
|
static get properties() {
|
|
11674
11679
|
return {
|
|
11675
11680
|
/**
|
|
@@ -11852,7 +11857,7 @@ const nu = (o) => class extends to(o) {
|
|
|
11852
11857
|
/** @protected */
|
|
11853
11858
|
__getWeekNumber(e) {
|
|
11854
11859
|
const i = e.reduce((r, s) => !r && s ? s : r);
|
|
11855
|
-
return
|
|
11860
|
+
return zc(i);
|
|
11856
11861
|
}
|
|
11857
11862
|
/** @protected */
|
|
11858
11863
|
__getDayAriaLabel(e) {
|
|
@@ -11867,7 +11872,7 @@ const nu = (o) => class extends to(o) {
|
|
|
11867
11872
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11868
11873
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11869
11874
|
*/
|
|
11870
|
-
const
|
|
11875
|
+
const lu = F`
|
|
11871
11876
|
:host {
|
|
11872
11877
|
display: block;
|
|
11873
11878
|
}
|
|
@@ -11929,10 +11934,10 @@ const au = F`
|
|
|
11929
11934
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11930
11935
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11931
11936
|
*/
|
|
11932
|
-
q("vaadin-month-calendar",
|
|
11937
|
+
q("vaadin-month-calendar", lu, {
|
|
11933
11938
|
moduleId: "vaadin-month-calendar-styles"
|
|
11934
11939
|
});
|
|
11935
|
-
class
|
|
11940
|
+
class cu extends au(He(Oe)) {
|
|
11936
11941
|
static get template() {
|
|
11937
11942
|
return Ye`
|
|
11938
11943
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -12040,13 +12045,13 @@ class lu extends nu(He(Oe)) {
|
|
|
12040
12045
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
12041
12046
|
}
|
|
12042
12047
|
}
|
|
12043
|
-
we(
|
|
12048
|
+
we(cu);
|
|
12044
12049
|
/**
|
|
12045
12050
|
* @license
|
|
12046
12051
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12047
12052
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12048
12053
|
*/
|
|
12049
|
-
class
|
|
12054
|
+
class ks {
|
|
12050
12055
|
constructor(t, e) {
|
|
12051
12056
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
12052
12057
|
}
|
|
@@ -12074,7 +12079,7 @@ class As {
|
|
|
12074
12079
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12075
12080
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12076
12081
|
*/
|
|
12077
|
-
const
|
|
12082
|
+
const uu = (o) => class extends o {
|
|
12078
12083
|
static get properties() {
|
|
12079
12084
|
return {
|
|
12080
12085
|
scrollDuration: {
|
|
@@ -12202,7 +12207,7 @@ const cu = (o) => class extends o {
|
|
|
12202
12207
|
}
|
|
12203
12208
|
/** @protected */
|
|
12204
12209
|
_addListeners() {
|
|
12205
|
-
|
|
12210
|
+
gs(this.$.scrollers, "pan-y"), xe(this.$.scrollers, "track", this._track.bind(this)), xe(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), xe(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), xe(
|
|
12206
12211
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
12207
12212
|
"tap",
|
|
12208
12213
|
this._toggleYearScroller.bind(this)
|
|
@@ -12211,7 +12216,7 @@ const cu = (o) => class extends o {
|
|
|
12211
12216
|
/** @protected */
|
|
12212
12217
|
_initControllers() {
|
|
12213
12218
|
this.addController(
|
|
12214
|
-
new
|
|
12219
|
+
new ks(this._desktopMediaQuery, (e) => {
|
|
12215
12220
|
this._desktopMode = e;
|
|
12216
12221
|
})
|
|
12217
12222
|
), this.addController(
|
|
@@ -12403,7 +12408,7 @@ const cu = (o) => class extends o {
|
|
|
12403
12408
|
}
|
|
12404
12409
|
/** @protected */
|
|
12405
12410
|
_formatDisplayed(e, i, r) {
|
|
12406
|
-
return e && i && typeof i.formatDate == "function" ? i.formatDate(
|
|
12411
|
+
return e && i && typeof i.formatDate == "function" ? i.formatDate(oo(e)) : r;
|
|
12407
12412
|
}
|
|
12408
12413
|
/** @private */
|
|
12409
12414
|
_onTodayTap() {
|
|
@@ -12520,7 +12525,7 @@ const cu = (o) => class extends o {
|
|
|
12520
12525
|
}
|
|
12521
12526
|
/** @private */
|
|
12522
12527
|
_yearAfterXMonths(e) {
|
|
12523
|
-
return
|
|
12528
|
+
return xs(e).getFullYear();
|
|
12524
12529
|
}
|
|
12525
12530
|
/** @private */
|
|
12526
12531
|
_differenceInMonths(e, i) {
|
|
@@ -12628,15 +12633,15 @@ const cu = (o) => class extends o {
|
|
|
12628
12633
|
focusDateElement(e = !0) {
|
|
12629
12634
|
return ot(this, null, function* () {
|
|
12630
12635
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((i) => {
|
|
12631
|
-
|
|
12632
|
-
|
|
12636
|
+
rs(this, () => {
|
|
12637
|
+
ro(), i();
|
|
12633
12638
|
});
|
|
12634
12639
|
})), e && this.revealDate(this.focusedDate), this._revealPromise && (yield this._revealPromise), this.__tryFocusDate();
|
|
12635
12640
|
});
|
|
12636
12641
|
}
|
|
12637
12642
|
/** @private */
|
|
12638
12643
|
_focusClosestDate(e) {
|
|
12639
|
-
this.focusDate(
|
|
12644
|
+
this.focusDate(ys(e, [this.minDate, this.maxDate]));
|
|
12640
12645
|
}
|
|
12641
12646
|
/** @private */
|
|
12642
12647
|
_focusAllowedDate(e, i, r) {
|
|
@@ -12687,7 +12692,7 @@ const cu = (o) => class extends o {
|
|
|
12687
12692
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12688
12693
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12689
12694
|
*/
|
|
12690
|
-
const
|
|
12695
|
+
const du = F`
|
|
12691
12696
|
:host {
|
|
12692
12697
|
display: flex;
|
|
12693
12698
|
flex-direction: column;
|
|
@@ -12753,10 +12758,10 @@ const uu = F`
|
|
|
12753
12758
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12754
12759
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12755
12760
|
*/
|
|
12756
|
-
q("vaadin-date-picker-overlay-content",
|
|
12761
|
+
q("vaadin-date-picker-overlay-content", du, {
|
|
12757
12762
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12758
12763
|
});
|
|
12759
|
-
class
|
|
12764
|
+
class hu extends uu(
|
|
12760
12765
|
it(He(jt(Oe)))
|
|
12761
12766
|
) {
|
|
12762
12767
|
static get template() {
|
|
@@ -12790,14 +12795,14 @@ class du extends cu(
|
|
|
12790
12795
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12791
12796
|
}
|
|
12792
12797
|
}
|
|
12793
|
-
we(
|
|
12798
|
+
we(hu);
|
|
12794
12799
|
/**
|
|
12795
12800
|
* @license
|
|
12796
12801
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12797
12802
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12798
12803
|
*/
|
|
12799
|
-
const
|
|
12800
|
-
(o) => class extends
|
|
12804
|
+
const Ps = X(
|
|
12805
|
+
(o) => class extends io(vs(o)) {
|
|
12801
12806
|
static get properties() {
|
|
12802
12807
|
return {
|
|
12803
12808
|
/**
|
|
@@ -12954,14 +12959,14 @@ const ks = X(
|
|
|
12954
12959
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12955
12960
|
*/
|
|
12956
12961
|
const ui = /* @__PURE__ */ new WeakMap();
|
|
12957
|
-
function
|
|
12962
|
+
function pu(o) {
|
|
12958
12963
|
return ui.has(o) || ui.set(o, /* @__PURE__ */ new Set()), ui.get(o);
|
|
12959
12964
|
}
|
|
12960
|
-
function
|
|
12965
|
+
function fu(o, t) {
|
|
12961
12966
|
const e = document.createElement("style");
|
|
12962
12967
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12963
12968
|
}
|
|
12964
|
-
const
|
|
12969
|
+
const mu = X(
|
|
12965
12970
|
(o) => class extends o {
|
|
12966
12971
|
/**
|
|
12967
12972
|
* List of styles to insert into root.
|
|
@@ -12976,9 +12981,9 @@ const fu = X(
|
|
|
12976
12981
|
}
|
|
12977
12982
|
/** @private */
|
|
12978
12983
|
__applySlotStyles() {
|
|
12979
|
-
const e = this.getRootNode(), i =
|
|
12984
|
+
const e = this.getRootNode(), i = pu(e);
|
|
12980
12985
|
this.slotStyles.forEach((r) => {
|
|
12981
|
-
i.has(r) || (
|
|
12986
|
+
i.has(r) || (fu(r, e), i.add(r));
|
|
12982
12987
|
});
|
|
12983
12988
|
}
|
|
12984
12989
|
}
|
|
@@ -12988,7 +12993,7 @@ const fu = X(
|
|
|
12988
12993
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12989
12994
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12990
12995
|
*/
|
|
12991
|
-
const
|
|
12996
|
+
const Ds = X(
|
|
12992
12997
|
(o) => class extends o {
|
|
12993
12998
|
static get properties() {
|
|
12994
12999
|
return {
|
|
@@ -13192,7 +13197,7 @@ const Ps = X(
|
|
|
13192
13197
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13193
13198
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13194
13199
|
*/
|
|
13195
|
-
const
|
|
13200
|
+
const _u = (o) => class extends Ds(Ut(o)) {
|
|
13196
13201
|
static get properties() {
|
|
13197
13202
|
return {
|
|
13198
13203
|
/**
|
|
@@ -13237,7 +13242,7 @@ const mu = (o) => class extends Ps(Ut(o)) {
|
|
|
13237
13242
|
* @protected
|
|
13238
13243
|
*/
|
|
13239
13244
|
_onClearButtonMouseDown(e) {
|
|
13240
|
-
e.preventDefault(),
|
|
13245
|
+
e.preventDefault(), zl || this.inputElement.focus();
|
|
13241
13246
|
}
|
|
13242
13247
|
/**
|
|
13243
13248
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -13268,48 +13273,48 @@ const mu = (o) => class extends Ps(Ut(o)) {
|
|
|
13268
13273
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13269
13274
|
*/
|
|
13270
13275
|
const di = /* @__PURE__ */ new Map();
|
|
13271
|
-
function
|
|
13276
|
+
function ao(o) {
|
|
13272
13277
|
return di.has(o) || di.set(o, /* @__PURE__ */ new WeakMap()), di.get(o);
|
|
13273
13278
|
}
|
|
13274
|
-
function
|
|
13279
|
+
function Ts(o, t) {
|
|
13275
13280
|
o && o.removeAttribute(t);
|
|
13276
13281
|
}
|
|
13277
|
-
function
|
|
13282
|
+
function Ms(o, t) {
|
|
13278
13283
|
if (!o || !t)
|
|
13279
13284
|
return;
|
|
13280
|
-
const e =
|
|
13285
|
+
const e = ao(t);
|
|
13281
13286
|
if (e.has(o))
|
|
13282
13287
|
return;
|
|
13283
13288
|
const i = Ji(o.getAttribute(t));
|
|
13284
13289
|
e.set(o, new Set(i));
|
|
13285
13290
|
}
|
|
13286
|
-
function
|
|
13287
|
-
if (!o)
|
|
13291
|
+
function gu(o, t) {
|
|
13292
|
+
if (!o || !t)
|
|
13288
13293
|
return;
|
|
13289
|
-
const e =
|
|
13290
|
-
!i || i.size === 0 ? o.removeAttribute(t) :
|
|
13294
|
+
const e = ao(t), i = e.get(o);
|
|
13295
|
+
!i || i.size === 0 ? o.removeAttribute(t) : ls(o, t, Vt(i)), e.delete(o);
|
|
13291
13296
|
}
|
|
13292
13297
|
function hi(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13293
13298
|
if (!o || !t)
|
|
13294
13299
|
return;
|
|
13295
|
-
const { newId: i, oldId: r, fromUser: s } = e, n =
|
|
13300
|
+
const { newId: i, oldId: r, fromUser: s } = e, n = ao(t), a = n.get(o);
|
|
13296
13301
|
if (!s && a) {
|
|
13297
13302
|
r && a.delete(r), i && a.add(i);
|
|
13298
13303
|
return;
|
|
13299
13304
|
}
|
|
13300
|
-
s && (a ? i || n.delete(o) :
|
|
13305
|
+
s && (a ? i || n.delete(o) : Ms(o, t), Ts(o, t)), Wl(o, t, r);
|
|
13301
13306
|
const l = i || Vt(a);
|
|
13302
|
-
l &&
|
|
13307
|
+
l && ls(o, t, l);
|
|
13303
13308
|
}
|
|
13304
|
-
function
|
|
13305
|
-
|
|
13309
|
+
function bu(o, t) {
|
|
13310
|
+
Ms(o, t), Ts(o, t);
|
|
13306
13311
|
}
|
|
13307
13312
|
/**
|
|
13308
13313
|
* @license
|
|
13309
13314
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13310
13315
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13311
13316
|
*/
|
|
13312
|
-
class
|
|
13317
|
+
class vu {
|
|
13313
13318
|
constructor(t) {
|
|
13314
13319
|
this.host = t, this.__required = !1;
|
|
13315
13320
|
}
|
|
@@ -13382,7 +13387,7 @@ class bu {
|
|
|
13382
13387
|
* @private
|
|
13383
13388
|
* */
|
|
13384
13389
|
__setAriaLabelToAttribute(t) {
|
|
13385
|
-
this.__target && (t ? (
|
|
13390
|
+
this.__target && (t ? (bu(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (gu(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13386
13391
|
}
|
|
13387
13392
|
/**
|
|
13388
13393
|
* @param {string | null | undefined} labelId
|
|
@@ -13428,9 +13433,9 @@ ve.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13428
13433
|
ve.setAttribute("aria-live", "polite");
|
|
13429
13434
|
document.body.appendChild(ve);
|
|
13430
13435
|
let Pt;
|
|
13431
|
-
function
|
|
13436
|
+
function yu(o, t = {}) {
|
|
13432
13437
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13433
|
-
e === "alert" ? (ve.removeAttribute("aria-live"), ve.removeAttribute("role"), Pt = Qe.debounce(Pt,
|
|
13438
|
+
e === "alert" ? (ve.removeAttribute("aria-live"), ve.removeAttribute("role"), Pt = Qe.debounce(Pt, lc, () => {
|
|
13434
13439
|
ve.setAttribute("role", "alert");
|
|
13435
13440
|
})) : (Pt && Pt.cancel(), ve.removeAttribute("role"), ve.setAttribute("aria-live", e)), ve.textContent = "", setTimeout(() => {
|
|
13436
13441
|
ve.textContent = o;
|
|
@@ -13441,7 +13446,7 @@ function vu(o, t = {}) {
|
|
|
13441
13446
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
13442
13447
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13443
13448
|
*/
|
|
13444
|
-
class
|
|
13449
|
+
class lo extends Le {
|
|
13445
13450
|
constructor(t, e, i, r = {}) {
|
|
13446
13451
|
super(t, e, i, qt(Wt({}, r), { useUniqueId: !0 }));
|
|
13447
13452
|
}
|
|
@@ -13556,7 +13561,7 @@ class ao extends Le {
|
|
|
13556
13561
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13557
13562
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13558
13563
|
*/
|
|
13559
|
-
class
|
|
13564
|
+
class xu extends lo {
|
|
13560
13565
|
constructor(t) {
|
|
13561
13566
|
super(t, "error-message", "div");
|
|
13562
13567
|
}
|
|
@@ -13630,7 +13635,7 @@ class yu extends ao {
|
|
|
13630
13635
|
*/
|
|
13631
13636
|
updateDefaultNode(t) {
|
|
13632
13637
|
const { errorMessage: e, invalid: i } = this, r = !!(i && e && e.trim() !== "");
|
|
13633
|
-
t && (t.textContent = r ? e : "", t.hidden = !r, r &&
|
|
13638
|
+
t && (t.textContent = r ? e : "", t.hidden = !r, r && yu(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13634
13639
|
}
|
|
13635
13640
|
}
|
|
13636
13641
|
/**
|
|
@@ -13638,7 +13643,7 @@ class yu extends ao {
|
|
|
13638
13643
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13639
13644
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13640
13645
|
*/
|
|
13641
|
-
class
|
|
13646
|
+
class wu extends lo {
|
|
13642
13647
|
constructor(t) {
|
|
13643
13648
|
super(t, "helper", null);
|
|
13644
13649
|
}
|
|
@@ -13693,7 +13698,7 @@ class xu extends ao {
|
|
|
13693
13698
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13694
13699
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13695
13700
|
*/
|
|
13696
|
-
class
|
|
13701
|
+
class Eu extends lo {
|
|
13697
13702
|
constructor(t) {
|
|
13698
13703
|
super(t, "label", "label");
|
|
13699
13704
|
}
|
|
@@ -13746,7 +13751,7 @@ class wu extends ao {
|
|
|
13746
13751
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13747
13752
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13748
13753
|
*/
|
|
13749
|
-
const
|
|
13754
|
+
const Su = X(
|
|
13750
13755
|
(o) => class extends it(o) {
|
|
13751
13756
|
static get properties() {
|
|
13752
13757
|
return {
|
|
@@ -13761,7 +13766,7 @@ const Eu = X(
|
|
|
13761
13766
|
};
|
|
13762
13767
|
}
|
|
13763
13768
|
constructor() {
|
|
13764
|
-
super(), this._labelController = new
|
|
13769
|
+
super(), this._labelController = new Eu(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13765
13770
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13766
13771
|
});
|
|
13767
13772
|
}
|
|
@@ -13789,7 +13794,7 @@ const Eu = X(
|
|
|
13789
13794
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13790
13795
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13791
13796
|
*/
|
|
13792
|
-
const
|
|
13797
|
+
const Os = X(
|
|
13793
13798
|
(o) => class extends o {
|
|
13794
13799
|
static get properties() {
|
|
13795
13800
|
return {
|
|
@@ -13861,7 +13866,7 @@ const Ms = X(
|
|
|
13861
13866
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13862
13867
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13863
13868
|
*/
|
|
13864
|
-
const
|
|
13869
|
+
const Cu = (o) => class extends Os(Su(it(o))) {
|
|
13865
13870
|
static get properties() {
|
|
13866
13871
|
return {
|
|
13867
13872
|
/**
|
|
@@ -13911,7 +13916,7 @@ const Su = (o) => class extends Ms(Eu(it(o))) {
|
|
|
13911
13916
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13912
13917
|
}
|
|
13913
13918
|
constructor() {
|
|
13914
|
-
super(), this._fieldAriaController = new
|
|
13919
|
+
super(), this._fieldAriaController = new vu(this), this._helperController = new wu(this), this._errorController = new xu(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13915
13920
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13916
13921
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13917
13922
|
const { hasContent: i, node: r } = e.detail;
|
|
@@ -14002,7 +14007,7 @@ const Su = (o) => class extends Ms(Eu(it(o))) {
|
|
|
14002
14007
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14003
14008
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14004
14009
|
*/
|
|
14005
|
-
const
|
|
14010
|
+
const Au = X(
|
|
14006
14011
|
(o) => class extends o {
|
|
14007
14012
|
static get properties() {
|
|
14008
14013
|
return {
|
|
@@ -14083,8 +14088,8 @@ const Cu = X(
|
|
|
14083
14088
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14084
14089
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14085
14090
|
*/
|
|
14086
|
-
const
|
|
14087
|
-
(o) => class extends
|
|
14091
|
+
const Is = X(
|
|
14092
|
+
(o) => class extends Au(Os(Ds(o))) {
|
|
14088
14093
|
/**
|
|
14089
14094
|
* An array of attributes which participate in the input validation.
|
|
14090
14095
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14168,8 +14173,8 @@ const Os = X(
|
|
|
14168
14173
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14169
14174
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14170
14175
|
*/
|
|
14171
|
-
const
|
|
14172
|
-
|
|
14176
|
+
const ku = (o) => class extends mu(
|
|
14177
|
+
Ps(Is(Cu(_u(Ut(o)))))
|
|
14173
14178
|
) {
|
|
14174
14179
|
static get properties() {
|
|
14175
14180
|
return {
|
|
@@ -14355,7 +14360,7 @@ const Au = (o) => class extends fu(
|
|
|
14355
14360
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14356
14361
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14357
14362
|
*/
|
|
14358
|
-
class
|
|
14363
|
+
class Pu extends Le {
|
|
14359
14364
|
constructor(t, e, i = {}) {
|
|
14360
14365
|
const { uniqueIdPrefix: r } = i;
|
|
14361
14366
|
super(t, "input", "input", {
|
|
@@ -14372,7 +14377,7 @@ class ku extends Le {
|
|
|
14372
14377
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14373
14378
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14374
14379
|
*/
|
|
14375
|
-
class
|
|
14380
|
+
class Du {
|
|
14376
14381
|
constructor(t, e) {
|
|
14377
14382
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14378
14383
|
this.__initLabel(i.detail.node);
|
|
@@ -14405,7 +14410,7 @@ class Pu {
|
|
|
14405
14410
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14406
14411
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14407
14412
|
*/
|
|
14408
|
-
const
|
|
14413
|
+
const Tu = F`
|
|
14409
14414
|
[part='clear-button'] {
|
|
14410
14415
|
display: none;
|
|
14411
14416
|
cursor: default;
|
|
@@ -14424,7 +14429,7 @@ const Du = F`
|
|
|
14424
14429
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14425
14430
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14426
14431
|
*/
|
|
14427
|
-
const
|
|
14432
|
+
const Mu = F`
|
|
14428
14433
|
:host {
|
|
14429
14434
|
display: inline-flex;
|
|
14430
14435
|
outline: none;
|
|
@@ -14464,7 +14469,7 @@ const Tu = F`
|
|
|
14464
14469
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14465
14470
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14466
14471
|
*/
|
|
14467
|
-
const
|
|
14472
|
+
const Ou = F`
|
|
14468
14473
|
[class$='container'] {
|
|
14469
14474
|
display: flex;
|
|
14470
14475
|
flex-direction: column;
|
|
@@ -14478,13 +14483,13 @@ const Mu = F`
|
|
|
14478
14483
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14479
14484
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14480
14485
|
*/
|
|
14481
|
-
const
|
|
14486
|
+
const Iu = [Mu, Ou, Tu];
|
|
14482
14487
|
/**
|
|
14483
14488
|
* @license
|
|
14484
14489
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14485
14490
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14486
14491
|
*/
|
|
14487
|
-
const
|
|
14492
|
+
const Nu = (o) => class extends o {
|
|
14488
14493
|
static get properties() {
|
|
14489
14494
|
return {
|
|
14490
14495
|
/**
|
|
@@ -14531,7 +14536,7 @@ const Iu = (o) => class extends o {
|
|
|
14531
14536
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14532
14537
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14533
14538
|
*/
|
|
14534
|
-
class
|
|
14539
|
+
class zu {
|
|
14535
14540
|
/**
|
|
14536
14541
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14537
14542
|
*/
|
|
@@ -14550,8 +14555,8 @@ class Nu {
|
|
|
14550
14555
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14551
14556
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14552
14557
|
*/
|
|
14553
|
-
const
|
|
14554
|
-
it(
|
|
14558
|
+
const Fu = (o) => class extends Nu(
|
|
14559
|
+
it(Ps(Is(Ut(o))))
|
|
14555
14560
|
) {
|
|
14556
14561
|
static get properties() {
|
|
14557
14562
|
return {
|
|
@@ -14756,7 +14761,7 @@ const zu = (o) => class extends Iu(
|
|
|
14756
14761
|
if (i.length === 3) {
|
|
14757
14762
|
if (n = parseInt(i[0]) - 1, s = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14758
14763
|
const l = this.referenceDate ? lt(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14759
|
-
a =
|
|
14764
|
+
a = Fc(l, a, n, s);
|
|
14760
14765
|
}
|
|
14761
14766
|
} else
|
|
14762
14767
|
i.length === 2 ? (n = parseInt(i[0]) - 1, s = parseInt(i[1])) : i.length === 1 && (s = parseInt(i[0]));
|
|
@@ -14830,7 +14835,7 @@ const zu = (o) => class extends Iu(
|
|
|
14830
14835
|
/** @private */
|
|
14831
14836
|
_ios: {
|
|
14832
14837
|
type: Boolean,
|
|
14833
|
-
value:
|
|
14838
|
+
value: ss
|
|
14834
14839
|
},
|
|
14835
14840
|
/** @private */
|
|
14836
14841
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -14930,10 +14935,10 @@ const zu = (o) => class extends Iu(
|
|
|
14930
14935
|
/** @protected */
|
|
14931
14936
|
ready() {
|
|
14932
14937
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
14933
|
-
new
|
|
14938
|
+
new ks(this._fullscreenMediaQuery, (i) => {
|
|
14934
14939
|
this._fullscreen = i;
|
|
14935
14940
|
})
|
|
14936
|
-
), this.addController(new
|
|
14941
|
+
), this.addController(new zu(this));
|
|
14937
14942
|
const e = this.$.overlay;
|
|
14938
14943
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14939
14944
|
}
|
|
@@ -14989,7 +14994,7 @@ const zu = (o) => class extends Iu(
|
|
|
14989
14994
|
*/
|
|
14990
14995
|
__formatDate(e) {
|
|
14991
14996
|
if (this.i18n.formatDate)
|
|
14992
|
-
return this.i18n.formatDate(
|
|
14997
|
+
return this.i18n.formatDate(oo(e));
|
|
14993
14998
|
}
|
|
14994
14999
|
/**
|
|
14995
15000
|
* Returns true if the current input value satisfies all constraints (if any)
|
|
@@ -15091,7 +15096,7 @@ const zu = (o) => class extends Iu(
|
|
|
15091
15096
|
}
|
|
15092
15097
|
/** @private */
|
|
15093
15098
|
_formatISO(e) {
|
|
15094
|
-
return
|
|
15099
|
+
return $c(e);
|
|
15095
15100
|
}
|
|
15096
15101
|
/** @protected */
|
|
15097
15102
|
_inputElementChanged(e) {
|
|
@@ -15157,12 +15162,12 @@ const zu = (o) => class extends Iu(
|
|
|
15157
15162
|
const s = this._nativeInput;
|
|
15158
15163
|
this._noInput && s && (s.blur(), this._overlayContent.focusDateElement());
|
|
15159
15164
|
const n = this._noInput ? e : [s, e];
|
|
15160
|
-
this.__showOthers =
|
|
15165
|
+
this.__showOthers = ns(n);
|
|
15161
15166
|
}
|
|
15162
15167
|
/** @private */
|
|
15163
15168
|
_getInitialPosition() {
|
|
15164
15169
|
const e = lt(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15165
|
-
return e || et(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ?
|
|
15170
|
+
return e || et(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? ys(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15166
15171
|
}
|
|
15167
15172
|
/**
|
|
15168
15173
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15323,7 +15328,7 @@ const zu = (o) => class extends Iu(
|
|
|
15323
15328
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15324
15329
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15325
15330
|
*/
|
|
15326
|
-
const
|
|
15331
|
+
const Lu = F`
|
|
15327
15332
|
:host([opened]) {
|
|
15328
15333
|
pointer-events: auto;
|
|
15329
15334
|
}
|
|
@@ -15342,8 +15347,8 @@ const Fu = F`
|
|
|
15342
15347
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15343
15348
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15344
15349
|
*/
|
|
15345
|
-
q("vaadin-date-picker", [
|
|
15346
|
-
class
|
|
15350
|
+
q("vaadin-date-picker", [Iu, Lu], { moduleId: "vaadin-date-picker-styles" });
|
|
15351
|
+
class $u extends Fu(ku(He(ds(Oe)))) {
|
|
15347
15352
|
static get is() {
|
|
15348
15353
|
return "vaadin-date-picker";
|
|
15349
15354
|
}
|
|
@@ -15403,7 +15408,7 @@ class Lu extends zu(Au(He(us(Oe)))) {
|
|
|
15403
15408
|
/** @protected */
|
|
15404
15409
|
ready() {
|
|
15405
15410
|
super.ready(), this.addController(
|
|
15406
|
-
new
|
|
15411
|
+
new Pu(
|
|
15407
15412
|
this,
|
|
15408
15413
|
(e) => {
|
|
15409
15414
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15415,7 +15420,7 @@ class Lu extends zu(Au(He(us(Oe)))) {
|
|
|
15415
15420
|
uniqueIdPrefix: "search-input"
|
|
15416
15421
|
}
|
|
15417
15422
|
)
|
|
15418
|
-
), this.addController(new
|
|
15423
|
+
), this.addController(new Du(this.inputElement, this._labelController)), this._tooltipController = new ps(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown", (e) => e.preventDefault()), this.$.overlay.addEventListener("vaadin-overlay-close", this._onVaadinOverlayClose.bind(this));
|
|
15419
15424
|
}
|
|
15420
15425
|
/** @private */
|
|
15421
15426
|
_onVaadinOverlayClose(t) {
|
|
@@ -15431,8 +15436,8 @@ class Lu extends zu(Au(He(us(Oe)))) {
|
|
|
15431
15436
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15432
15437
|
}
|
|
15433
15438
|
}
|
|
15434
|
-
we(
|
|
15435
|
-
var
|
|
15439
|
+
we($u);
|
|
15440
|
+
var Ns = { exports: {} };
|
|
15436
15441
|
(function(o, t) {
|
|
15437
15442
|
(function(e, i) {
|
|
15438
15443
|
o.exports = i();
|
|
@@ -15721,16 +15726,16 @@ var Is = { exports: {} };
|
|
|
15721
15726
|
return T(1e3 * x);
|
|
15722
15727
|
}, T.en = ee[$], T.Ls = ee, T.p = {}, T;
|
|
15723
15728
|
});
|
|
15724
|
-
})(
|
|
15725
|
-
var
|
|
15726
|
-
const pi = /* @__PURE__ */
|
|
15727
|
-
function
|
|
15728
|
-
|
|
15729
|
+
})(Ns);
|
|
15730
|
+
var Ru = Ns.exports;
|
|
15731
|
+
const pi = /* @__PURE__ */ js(Ru);
|
|
15732
|
+
function er(o, t) {
|
|
15733
|
+
Ys(o, t);
|
|
15729
15734
|
}
|
|
15730
|
-
function
|
|
15731
|
-
|
|
15735
|
+
function Bu(o) {
|
|
15736
|
+
Vs.set(o);
|
|
15732
15737
|
}
|
|
15733
|
-
const
|
|
15738
|
+
const tr = {
|
|
15734
15739
|
en: {
|
|
15735
15740
|
titleSelfExclusion: "Self-Exclusion",
|
|
15736
15741
|
selfExclusionText: "<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",
|
|
@@ -16018,14 +16023,14 @@ const er = {
|
|
|
16018
16023
|
InvalidSession: "Oturum süresi doldu."
|
|
16019
16024
|
}
|
|
16020
16025
|
};
|
|
16021
|
-
function
|
|
16022
|
-
|
|
16026
|
+
function Hu(o) {
|
|
16027
|
+
Gs(o, "svelte-1n3apnn", '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{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:20px;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 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}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}}.SelfExclusionConfigWrapper{width:50%;height:100%;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, 20px);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, 20px) var(--emw--border-radius-medium, 20px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:300px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-gray-150, #828282) 80%, black 20%), var(--emw--color-gray-150, #828282), color-mix(in srgb, var(--emw--color-gray-150, #828282) 80%, white 30%));border:2px solid var(--emw--color-black, #000000);border-radius:50px;padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.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}}');
|
|
16023
16028
|
}
|
|
16024
|
-
function
|
|
16029
|
+
function ir(o, t, e) {
|
|
16025
16030
|
const i = o.slice();
|
|
16026
16031
|
return i[53] = t[e], i;
|
|
16027
16032
|
}
|
|
16028
|
-
function
|
|
16033
|
+
function ju(o) {
|
|
16029
16034
|
let t, e, i, r, s = (
|
|
16030
16035
|
/*$_*/
|
|
16031
16036
|
o[20]("titleSelfExclusion") + ""
|
|
@@ -16059,29 +16064,29 @@ function Hu(o) {
|
|
|
16059
16064
|
o[20]("save") + ""
|
|
16060
16065
|
), R, B, Y, Z, ae, le, oe = (
|
|
16061
16066
|
/*isMobile*/
|
|
16062
|
-
o[21] &&
|
|
16063
|
-
), te =
|
|
16067
|
+
o[21] && Vu(o)
|
|
16068
|
+
), te = po(
|
|
16064
16069
|
/*selfExclusionPeriods*/
|
|
16065
16070
|
o[9]
|
|
16066
16071
|
), z = [];
|
|
16067
16072
|
for (let S = 0; S < te.length; S += 1)
|
|
16068
|
-
z[S] = ir(
|
|
16073
|
+
z[S] = or(ir(o, te, S));
|
|
16069
16074
|
let H = (
|
|
16070
16075
|
/*isUntilDate*/
|
|
16071
|
-
o[16] &&
|
|
16076
|
+
o[16] && rr(o)
|
|
16072
16077
|
);
|
|
16073
16078
|
function ye(S, V) {
|
|
16074
16079
|
return (
|
|
16075
16080
|
/*isPermanentSelfExclusion*/
|
|
16076
|
-
S[15] ?
|
|
16081
|
+
S[15] ? qu : (
|
|
16077
16082
|
/*isDateSelected*/
|
|
16078
|
-
S[17] ?
|
|
16083
|
+
S[17] ? Uu : Wu
|
|
16079
16084
|
)
|
|
16080
16085
|
);
|
|
16081
16086
|
}
|
|
16082
16087
|
let ge = ye(o), he = ge(o), Ee = (
|
|
16083
16088
|
/*showConfirmationModal*/
|
|
16084
|
-
o[22] &&
|
|
16089
|
+
o[22] && Ku(o)
|
|
16085
16090
|
);
|
|
16086
16091
|
return {
|
|
16087
16092
|
c() {
|
|
@@ -16118,7 +16123,7 @@ function Hu(o) {
|
|
|
16118
16123
|
(o[21] ? "SelfExclusionWrapperMobile" : "")), C(t, "class", "SelfExclusionContainer");
|
|
16119
16124
|
},
|
|
16120
16125
|
m(S, V) {
|
|
16121
|
-
|
|
16126
|
+
fe(S, t, V), f(t, e), oe && oe.m(e, null), f(e, i), f(e, r), f(r, n), f(e, a), f(e, l), f(l, c), c.innerHTML = u, f(l, d), f(l, h), f(h, g), f(h, M), f(h, I), f(I, D), f(e, W), f(e, j), f(j, $), f($, ee), f(ee, K), f($, G), f($, T), f(T, O), f(O, ne), f(j, Pe), f(j, x);
|
|
16122
16127
|
for (let J = 0; J < z.length; J += 1)
|
|
16123
16128
|
z[J] && z[J].m(x, null);
|
|
16124
16129
|
f(e, b), H && H.m(e, null), f(e, m), f(e, v), he.m(v, null), f(e, _), f(e, E), f(E, w), f(w, R), f(t, Z), Ee && Ee.m(t, null), ae || (le = [
|
|
@@ -16179,14 +16184,14 @@ function Hu(o) {
|
|
|
16179
16184
|
), V[0] & /*selectPeriod, selfExclusionPeriods, $_*/
|
|
16180
16185
|
17826304
|
|
16181
16186
|
) {
|
|
16182
|
-
te =
|
|
16187
|
+
te = po(
|
|
16183
16188
|
/*selfExclusionPeriods*/
|
|
16184
16189
|
S[9]
|
|
16185
16190
|
);
|
|
16186
16191
|
let J;
|
|
16187
16192
|
for (J = 0; J < te.length; J += 1) {
|
|
16188
|
-
const y =
|
|
16189
|
-
z[J] ? z[J].p(y, V) : (z[J] =
|
|
16193
|
+
const y = ir(S, te, J);
|
|
16194
|
+
z[J] ? z[J].p(y, V) : (z[J] = or(y), z[J].c(), z[J].m(x, null));
|
|
16190
16195
|
}
|
|
16191
16196
|
for (; J < z.length; J += 1)
|
|
16192
16197
|
z[J].d(1);
|
|
@@ -16205,7 +16210,7 @@ function Hu(o) {
|
|
|
16205
16210
|
/*isPeriodDropDownToggled*/
|
|
16206
16211
|
S[18]
|
|
16207
16212
|
), /*isUntilDate*/
|
|
16208
|
-
S[16] ? H ? H.p(S, V) : (H =
|
|
16213
|
+
S[16] ? H ? H.p(S, V) : (H = rr(S), H.c(), H.m(e, m)) : H && (H.d(1), H = null), ge === (ge = ye(S)) && he ? he.p(S, V) : (he.d(1), he = ge(S), he && (he.c(), he.m(v, null))), V[0] & /*$_*/
|
|
16209
16214
|
1048576 && N !== (N = /*$_*/
|
|
16210
16215
|
S[20]("save") + "") && pe(R, N), V[0] & /*isDateSelected*/
|
|
16211
16216
|
131072 && B !== (B = "SelfExclusionSave " + /*isDateSelected*/
|
|
@@ -16215,16 +16220,16 @@ function Hu(o) {
|
|
|
16215
16220
|
S[22] && Ee.p(S, V);
|
|
16216
16221
|
},
|
|
16217
16222
|
d(S) {
|
|
16218
|
-
S &&
|
|
16223
|
+
S && me(t), oe && oe.d(), on(z, S), H && H.d(), he.d(), Ee && Ee.d(), ae = !1, rn(le);
|
|
16219
16224
|
}
|
|
16220
16225
|
};
|
|
16221
16226
|
}
|
|
16222
|
-
function
|
|
16227
|
+
function Yu(o) {
|
|
16223
16228
|
let t, e, i, r, s, n, a, l, c, u, d, h, p, g, M, I, D, P, W, j, $;
|
|
16224
16229
|
function ee(G, T) {
|
|
16225
16230
|
return (
|
|
16226
16231
|
/*isMobile*/
|
|
16227
|
-
G[21] ?
|
|
16232
|
+
G[21] ? Ju : Gu
|
|
16228
16233
|
);
|
|
16229
16234
|
}
|
|
16230
16235
|
let K = ee(o)(o);
|
|
@@ -16275,15 +16280,15 @@ function ju(o) {
|
|
|
16275
16280
|
(o[21] ? "SelfExclusionWrapperMobile" : "")), C(t, "class", "SelfExclusionContainer");
|
|
16276
16281
|
},
|
|
16277
16282
|
m(G, T) {
|
|
16278
|
-
|
|
16283
|
+
fe(G, t, T), f(t, e), K.m(e, null), f(e, i), f(e, r), f(r, s), f(r, n), f(r, a), f(r, l), f(r, c), f(r, u), f(r, d), f(e, h), f(e, p), f(p, g), f(p, M), f(p, I), f(p, D), f(p, P), f(e, W), f(e, j), f(j, $);
|
|
16279
16284
|
},
|
|
16280
16285
|
p: fi,
|
|
16281
16286
|
d(G) {
|
|
16282
|
-
G &&
|
|
16287
|
+
G && me(t), K.d();
|
|
16283
16288
|
}
|
|
16284
16289
|
};
|
|
16285
16290
|
}
|
|
16286
|
-
function
|
|
16291
|
+
function Vu(o) {
|
|
16287
16292
|
let t, e, i, r, s, n, a, l, c, u, d = (
|
|
16288
16293
|
/*$_*/
|
|
16289
16294
|
o[20]("titleSelfExclusion") + ""
|
|
@@ -16293,7 +16298,7 @@ function Yu(o) {
|
|
|
16293
16298
|
t = A("div"), e = Ae("svg"), i = Ae("defs"), r = Ae("style"), s = de(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Ae("g"), a = Ae("g"), l = Ae("path"), c = U(), u = A("h2"), h = de(d), C(l, "class", "aaa"), C(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), C(l, "transform", "translate(15 15) rotate(180)"), C(a, "transform", "translate(20 158)"), C(n, "transform", "translate(-20 -158)"), C(e, "xmlns", "http://www.w3.org/2000/svg"), C(e, "width", "15"), C(e, "height", "15"), C(e, "viewBox", "0 0 15 15"), C(u, "class", "PlayerSelfExclusionTitleMobile"), C(t, "class", "MenuReturnButton");
|
|
16294
16299
|
},
|
|
16295
16300
|
m(M, I) {
|
|
16296
|
-
|
|
16301
|
+
fe(M, t, I), f(t, e), f(e, i), f(i, r), f(r, s), f(e, n), f(n, a), f(a, l), f(t, c), f(t, u), f(u, h), p || (g = Mt(
|
|
16297
16302
|
t,
|
|
16298
16303
|
"click",
|
|
16299
16304
|
/*click_handler*/
|
|
@@ -16306,11 +16311,11 @@ function Yu(o) {
|
|
|
16306
16311
|
M[20]("titleSelfExclusion") + "") && pe(h, d);
|
|
16307
16312
|
},
|
|
16308
16313
|
d(M) {
|
|
16309
|
-
M &&
|
|
16314
|
+
M && me(t), p = !1, g();
|
|
16310
16315
|
}
|
|
16311
16316
|
};
|
|
16312
16317
|
}
|
|
16313
|
-
function
|
|
16318
|
+
function or(o) {
|
|
16314
16319
|
let t, e = (
|
|
16315
16320
|
/*$_*/
|
|
16316
16321
|
o[20](`${/*period*/
|
|
@@ -16330,7 +16335,7 @@ function ir(o) {
|
|
|
16330
16335
|
t = A("div"), i = de(e);
|
|
16331
16336
|
},
|
|
16332
16337
|
m(a, l) {
|
|
16333
|
-
|
|
16338
|
+
fe(a, t, l), f(t, i), r || (s = Mt(t, "click", n), r = !0);
|
|
16334
16339
|
},
|
|
16335
16340
|
p(a, l) {
|
|
16336
16341
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
@@ -16339,11 +16344,11 @@ function ir(o) {
|
|
|
16339
16344
|
o[53].key}`) + "") && pe(i, e);
|
|
16340
16345
|
},
|
|
16341
16346
|
d(a) {
|
|
16342
|
-
a &&
|
|
16347
|
+
a && me(t), r = !1, s();
|
|
16343
16348
|
}
|
|
16344
16349
|
};
|
|
16345
16350
|
}
|
|
16346
|
-
function
|
|
16351
|
+
function rr(o) {
|
|
16347
16352
|
let t, e, i = (
|
|
16348
16353
|
/*$_*/
|
|
16349
16354
|
o[20]("duration") + ""
|
|
@@ -16372,7 +16377,7 @@ function or(o) {
|
|
|
16372
16377
|
(o[21] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16373
16378
|
},
|
|
16374
16379
|
m(p, g) {
|
|
16375
|
-
|
|
16380
|
+
fe(p, t, g), f(t, e), f(e, r), f(t, s), f(t, n), f(n, l), f(n, c), f(n, u), f(t, d), f(t, h), o[36](h);
|
|
16376
16381
|
},
|
|
16377
16382
|
p(p, g) {
|
|
16378
16383
|
g[0] & /*$_*/
|
|
@@ -16400,11 +16405,11 @@ function or(o) {
|
|
|
16400
16405
|
);
|
|
16401
16406
|
},
|
|
16402
16407
|
d(p) {
|
|
16403
|
-
p &&
|
|
16408
|
+
p && me(t), o[36](null);
|
|
16404
16409
|
}
|
|
16405
16410
|
};
|
|
16406
16411
|
}
|
|
16407
|
-
function
|
|
16412
|
+
function Uu(o) {
|
|
16408
16413
|
let t, e, i = (
|
|
16409
16414
|
/*$_*/
|
|
16410
16415
|
o[20]("temporarySelfExclusion", {
|
|
@@ -16421,7 +16426,7 @@ function Vu(o) {
|
|
|
16421
16426
|
t = A("p"), e = A("strong"), r = de(i), C(t, "class", "SelfExclusionDescriptionText");
|
|
16422
16427
|
},
|
|
16423
16428
|
m(s, n) {
|
|
16424
|
-
|
|
16429
|
+
fe(s, t, n), f(t, e), f(e, r);
|
|
16425
16430
|
},
|
|
16426
16431
|
p(s, n) {
|
|
16427
16432
|
n[0] & /*$_, selfExclusionExpiryDate*/
|
|
@@ -16436,11 +16441,11 @@ function Vu(o) {
|
|
|
16436
16441
|
}) + "") && pe(r, i);
|
|
16437
16442
|
},
|
|
16438
16443
|
d(s) {
|
|
16439
|
-
s &&
|
|
16444
|
+
s && me(t);
|
|
16440
16445
|
}
|
|
16441
16446
|
};
|
|
16442
16447
|
}
|
|
16443
|
-
function
|
|
16448
|
+
function Wu(o) {
|
|
16444
16449
|
let t, e, i = (
|
|
16445
16450
|
/*$_*/
|
|
16446
16451
|
o[20]("noPeriodSelected") + ""
|
|
@@ -16450,7 +16455,7 @@ function Uu(o) {
|
|
|
16450
16455
|
t = A("p"), e = A("strong"), r = de(i), C(t, "class", "SelfExclusionDescriptionText");
|
|
16451
16456
|
},
|
|
16452
16457
|
m(s, n) {
|
|
16453
|
-
|
|
16458
|
+
fe(s, t, n), f(t, e), f(e, r);
|
|
16454
16459
|
},
|
|
16455
16460
|
p(s, n) {
|
|
16456
16461
|
n[0] & /*$_*/
|
|
@@ -16458,11 +16463,11 @@ function Uu(o) {
|
|
|
16458
16463
|
s[20]("noPeriodSelected") + "") && pe(r, i);
|
|
16459
16464
|
},
|
|
16460
16465
|
d(s) {
|
|
16461
|
-
s &&
|
|
16466
|
+
s && me(t);
|
|
16462
16467
|
}
|
|
16463
16468
|
};
|
|
16464
16469
|
}
|
|
16465
|
-
function
|
|
16470
|
+
function qu(o) {
|
|
16466
16471
|
let t, e, i = (
|
|
16467
16472
|
/*$_*/
|
|
16468
16473
|
o[20]("permanentSelfExclusion") + ""
|
|
@@ -16472,7 +16477,7 @@ function Wu(o) {
|
|
|
16472
16477
|
t = A("p"), e = A("strong"), r = de(i), C(t, "class", "SelfExclusionDescriptionText");
|
|
16473
16478
|
},
|
|
16474
16479
|
m(s, n) {
|
|
16475
|
-
|
|
16480
|
+
fe(s, t, n), f(t, e), f(e, r);
|
|
16476
16481
|
},
|
|
16477
16482
|
p(s, n) {
|
|
16478
16483
|
n[0] & /*$_*/
|
|
@@ -16480,11 +16485,11 @@ function Wu(o) {
|
|
|
16480
16485
|
s[20]("permanentSelfExclusion") + "") && pe(r, i);
|
|
16481
16486
|
},
|
|
16482
16487
|
d(s) {
|
|
16483
|
-
s &&
|
|
16488
|
+
s && me(t);
|
|
16484
16489
|
}
|
|
16485
16490
|
};
|
|
16486
16491
|
}
|
|
16487
|
-
function
|
|
16492
|
+
function Ku(o) {
|
|
16488
16493
|
let t, e, i;
|
|
16489
16494
|
return {
|
|
16490
16495
|
c() {
|
|
@@ -16522,7 +16527,7 @@ function qu(o) {
|
|
|
16522
16527
|
), k(t, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
|
|
16523
16528
|
},
|
|
16524
16529
|
m(r, s) {
|
|
16525
|
-
|
|
16530
|
+
fe(r, t, s), f(t, e);
|
|
16526
16531
|
},
|
|
16527
16532
|
p(r, s) {
|
|
16528
16533
|
s[0] & /*$_*/
|
|
@@ -16566,44 +16571,44 @@ function qu(o) {
|
|
|
16566
16571
|
);
|
|
16567
16572
|
},
|
|
16568
16573
|
d(r) {
|
|
16569
|
-
r &&
|
|
16574
|
+
r && me(t);
|
|
16570
16575
|
}
|
|
16571
16576
|
};
|
|
16572
16577
|
}
|
|
16573
|
-
function
|
|
16578
|
+
function Gu(o) {
|
|
16574
16579
|
let t;
|
|
16575
16580
|
return {
|
|
16576
16581
|
c() {
|
|
16577
16582
|
t = A("ui-skeleton"), k(t, "structure", "title"), k(t, "width", "100px"), k(t, "margin-top", "20px"), k(t, "margin-bottom", "20px");
|
|
16578
16583
|
},
|
|
16579
16584
|
m(e, i) {
|
|
16580
|
-
|
|
16585
|
+
fe(e, t, i);
|
|
16581
16586
|
},
|
|
16582
16587
|
d(e) {
|
|
16583
|
-
e &&
|
|
16588
|
+
e && me(t);
|
|
16584
16589
|
}
|
|
16585
16590
|
};
|
|
16586
16591
|
}
|
|
16587
|
-
function
|
|
16592
|
+
function Ju(o) {
|
|
16588
16593
|
let t;
|
|
16589
16594
|
return {
|
|
16590
16595
|
c() {
|
|
16591
16596
|
t = A("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>', C(t, "class", "MenuReturnButton");
|
|
16592
16597
|
},
|
|
16593
16598
|
m(e, i) {
|
|
16594
|
-
|
|
16599
|
+
fe(e, t, i);
|
|
16595
16600
|
},
|
|
16596
16601
|
d(e) {
|
|
16597
|
-
e &&
|
|
16602
|
+
e && me(t);
|
|
16598
16603
|
}
|
|
16599
16604
|
};
|
|
16600
16605
|
}
|
|
16601
|
-
function
|
|
16606
|
+
function Xu(o) {
|
|
16602
16607
|
let t;
|
|
16603
16608
|
function e(s, n) {
|
|
16604
16609
|
return (
|
|
16605
16610
|
/*skeletonLoading*/
|
|
16606
|
-
s[19] ?
|
|
16611
|
+
s[19] ? Yu : ju
|
|
16607
16612
|
);
|
|
16608
16613
|
}
|
|
16609
16614
|
let i = e(o), r = i(o);
|
|
@@ -16612,7 +16617,7 @@ function Ju(o) {
|
|
|
16612
16617
|
t = A("div"), r.c();
|
|
16613
16618
|
},
|
|
16614
16619
|
m(s, n) {
|
|
16615
|
-
|
|
16620
|
+
fe(s, t, n), r.m(t, null), o[38](t);
|
|
16616
16621
|
},
|
|
16617
16622
|
p(s, n) {
|
|
16618
16623
|
i === (i = e(s)) && r ? r.p(s, n) : (r.d(1), r = i(s), r && (r.c(), r.m(t, null)));
|
|
@@ -16620,25 +16625,25 @@ function Ju(o) {
|
|
|
16620
16625
|
i: fi,
|
|
16621
16626
|
o: fi,
|
|
16622
16627
|
d(s) {
|
|
16623
|
-
s &&
|
|
16628
|
+
s && me(t), r.d(), o[38](null);
|
|
16624
16629
|
}
|
|
16625
16630
|
};
|
|
16626
16631
|
}
|
|
16627
|
-
function
|
|
16632
|
+
function Zu(o, t, e) {
|
|
16628
16633
|
let i;
|
|
16629
|
-
|
|
16630
|
-
let { endpoint: r = "", session: s = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: p = "", mbsource: g, translationurl: M = "", hasconfirmationmodal: I = "false" } = t, D, P, W = [], j = {}, $ = window.navigator.userAgent, ee, _e, K = "", G = "", T = "selectAPeriod", O = "", ne = "", Pe =
|
|
16634
|
+
Js(o, sn, (y) => e(20, i = y));
|
|
16635
|
+
let { endpoint: r = "", session: s = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: p = "", mbsource: g, translationurl: M = "", hasconfirmationmodal: I = "false" } = t, D, P, W = [], j = {}, $ = window.navigator.userAgent, ee, _e, K = "", G = "", T = "selectAPeriod", O = "", ne = "", Pe = Xs($) !== "PC", x = !1, b = !1, m = !1, v = !1, _ = I === "true", E = !0;
|
|
16631
16636
|
const w = () => {
|
|
16632
16637
|
fetch(M).then((be) => be.json()).then((be) => {
|
|
16633
16638
|
Object.keys(be).forEach((re) => {
|
|
16634
|
-
|
|
16639
|
+
er(re, be[re]);
|
|
16635
16640
|
});
|
|
16636
16641
|
}).catch((be) => {
|
|
16637
16642
|
console.log(be);
|
|
16638
16643
|
});
|
|
16639
16644
|
};
|
|
16640
|
-
Object.keys(
|
|
16641
|
-
|
|
16645
|
+
Object.keys(tr).forEach((y) => {
|
|
16646
|
+
er(y, tr[y]);
|
|
16642
16647
|
});
|
|
16643
16648
|
const N = () => {
|
|
16644
16649
|
let y = new URL(`${r}/v1/player/selfExclusionSettings`);
|
|
@@ -16759,20 +16764,20 @@ function Xu(o, t, e) {
|
|
|
16759
16764
|
}, H = () => {
|
|
16760
16765
|
P.addEventListener("change", z, !1);
|
|
16761
16766
|
};
|
|
16762
|
-
|
|
16767
|
+
Zs(() => (window.addEventListener("message", R, !1), () => {
|
|
16763
16768
|
P.removeEventListener("change", z), window.removeEventListener("message", R);
|
|
16764
16769
|
}));
|
|
16765
16770
|
const ye = () => {
|
|
16766
|
-
|
|
16771
|
+
Bu(a);
|
|
16767
16772
|
}, ge = () => te(), he = () => Y(), Ee = (y) => Z(y);
|
|
16768
16773
|
function S(y) {
|
|
16769
|
-
|
|
16774
|
+
ho[y ? "unshift" : "push"](() => {
|
|
16770
16775
|
P = y, e(8, P);
|
|
16771
16776
|
});
|
|
16772
16777
|
}
|
|
16773
16778
|
const V = (y) => le(y);
|
|
16774
16779
|
function J(y) {
|
|
16775
|
-
|
|
16780
|
+
ho[y ? "unshift" : "push"](() => {
|
|
16776
16781
|
D = y, e(7, D);
|
|
16777
16782
|
});
|
|
16778
16783
|
}
|
|
@@ -16783,9 +16788,9 @@ function Xu(o, t, e) {
|
|
|
16783
16788
|
1 && a && ye(), o.$$.dirty[0] & /*endpoint, session, userid, gmversion*/
|
|
16784
16789
|
2013265920 && r && s && n && l && N(), o.$$.dirty[0] & /*calendar*/
|
|
16785
16790
|
256 && P && H(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16786
|
-
144 && h && D &&
|
|
16787
|
-
160 && p && D &&
|
|
16788
|
-
192 && g && D &&
|
|
16791
|
+
144 && h && D && tn(D, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16792
|
+
160 && p && D && Qs(D, p), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16793
|
+
192 && g && D && en(D, `${g}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16789
16794
|
1 && M && w();
|
|
16790
16795
|
}, _ && ae(), [
|
|
16791
16796
|
a,
|
|
@@ -16829,14 +16834,14 @@ function Xu(o, t, e) {
|
|
|
16829
16834
|
J
|
|
16830
16835
|
];
|
|
16831
16836
|
}
|
|
16832
|
-
class
|
|
16837
|
+
class zs extends Us {
|
|
16833
16838
|
constructor(t) {
|
|
16834
|
-
super(),
|
|
16839
|
+
super(), Ws(
|
|
16835
16840
|
this,
|
|
16836
16841
|
t,
|
|
16842
|
+
Zu,
|
|
16837
16843
|
Xu,
|
|
16838
|
-
|
|
16839
|
-
Ws,
|
|
16844
|
+
Ks,
|
|
16840
16845
|
{
|
|
16841
16846
|
endpoint: 27,
|
|
16842
16847
|
session: 28,
|
|
@@ -16852,7 +16857,7 @@ class Ns extends Vs {
|
|
|
16852
16857
|
translationurl: 31,
|
|
16853
16858
|
hasconfirmationmodal: 32
|
|
16854
16859
|
},
|
|
16855
|
-
|
|
16860
|
+
Hu,
|
|
16856
16861
|
[-1, -1]
|
|
16857
16862
|
);
|
|
16858
16863
|
}
|
|
@@ -16935,12 +16940,12 @@ class Ns extends Vs {
|
|
|
16935
16940
|
this.$$set({ hasconfirmationmodal: t }), ce();
|
|
16936
16941
|
}
|
|
16937
16942
|
}
|
|
16938
|
-
|
|
16939
|
-
const
|
|
16943
|
+
qs(zs, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {} }, [], [], !0);
|
|
16944
|
+
const Fd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16940
16945
|
__proto__: null,
|
|
16941
|
-
default:
|
|
16946
|
+
default: zs
|
|
16942
16947
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16943
16948
|
export {
|
|
16944
|
-
|
|
16949
|
+
Fd as P,
|
|
16945
16950
|
pi as d
|
|
16946
16951
|
};
|