@everymatrix/player-account-controller 1.57.0 → 1.59.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-D1bnYvKD.js → GeneralLogout-BplfowFH.js} +617 -639
- package/components/{GeneralLogout-oWKFw5-U.js → GeneralLogout-DuABjNp8.js} +718 -740
- package/components/GeneralLogout-aDlrOvb2.cjs +21 -0
- package/components/{PlayerAccountBettingHistory-cvLnLJaM.js → PlayerAccountBettingHistory-BxCRppml.js} +127 -126
- package/components/PlayerAccountBettingHistory-CIfM4HLW.js +328 -0
- package/components/PlayerAccountBettingHistory-CaGfH6ef.cjs +1 -0
- package/components/{PlayerAccountBiometrics-ClTvex4w.js → PlayerAccountBiometrics-BEFosUME.js} +22 -22
- package/components/{PlayerAccountBiometrics-244_l2MD.js → PlayerAccountBiometrics-C8NBQKUw.js} +22 -22
- package/components/{PlayerAccountBiometrics-D3SdfZAk.cjs → PlayerAccountBiometrics-DTFbvNhj.cjs} +1 -1
- package/components/{PlayerAccountClosure-Dk5N1AgF.cjs → PlayerAccountClosure-B2Gy9x3G.cjs} +1 -1
- package/components/{PlayerAccountClosure-9BJkNHZ1.js → PlayerAccountClosure-D9hNArXT.js} +32 -32
- package/components/{PlayerAccountClosure-CUDjmpCz.js → PlayerAccountClosure-bkzdtq3v.js} +32 -32
- package/components/{PlayerAccountController-BR2iFVCe.js → PlayerAccountController-CtAC8Bkz.js} +2131 -2084
- package/components/{PlayerAccountController-rcttF6Lm.js → PlayerAccountController-DMXXG8tF.js} +2131 -2084
- package/components/PlayerAccountController-utJgFIt1.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-FIGZjiiE.cjs → PlayerAccountGamingLimits-BrtFDG1O.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-C2OQmz0L.js → PlayerAccountGamingLimits-Dxz29F5p.js} +81 -81
- package/components/{PlayerAccountGamingLimits-CGZB2W3L.js → PlayerAccountGamingLimits-oNSvEvXz.js} +81 -81
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CMNuF6Yo.js → PlayerAccountGamingLimitsConfirmationModal-Bes0Svrr.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-apD3a9Bz.js → PlayerAccountGamingLimitsConfirmationModal-BhmpbfB9.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CyALQICB.cjs → PlayerAccountGamingLimitsConfirmationModal-aQzVqW8v.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-Cj28m25L.js → PlayerAccountGamingLimitsGroupEdit-BS6wWGFd.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-DrfWEw7D.js → PlayerAccountGamingLimitsGroupEdit-D2lkSHNX.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-BpaOoTGu.cjs → PlayerAccountGamingLimitsGroupEdit-gdCqCIvt.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2-D90-0n9S.cjs → PlayerAccountGamingLimitsHistory2-DGVBzjIn.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-CL7qYX9D.js → PlayerAccountGamingLimitsHistory2-DrrIUH-E.js} +48 -48
- package/components/{PlayerAccountGamingLimitsHistory2-CsMgI2vP.js → PlayerAccountGamingLimitsHistory2-_bX1iIJM.js} +46 -46
- package/components/{PlayerAccountGamingLimitsInfoCard-CFusXmG3.js → PlayerAccountGamingLimitsInfoCard-Cd2oTK9r.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-C-SGItlz.js → PlayerAccountGamingLimitsInfoCard-D73a50SO.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-DlJXsDqV.cjs → PlayerAccountGamingLimitsInfoCard-DwNXbIaa.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DoZ7M3C6.js → PlayerAccountGamingLimitsPage2Gm16-BikeP6Os.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BfV10mIx.js → PlayerAccountGamingLimitsPage2Gm16-DV_B0I-1.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DAMLMUMu.cjs → PlayerAccountGamingLimitsPage2Gm16-DzG7Yyop.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-4sFhABTh.js → PlayerAccountGamingLimitsPopup-BhxPf2k2.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-Cut_OV-5.js → PlayerAccountGamingLimitsPopup-Bmo_d-SK.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-Dbr-uHeX.cjs → PlayerAccountGamingLimitsPopup-BzAiMR7P.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-eTM9_1BC.js → PlayerAccountGamingLimitsWrapper2-CE96__tw.js} +20 -20
- package/components/{PlayerAccountGamingLimitsWrapper2-Cr_T1GBf.cjs → PlayerAccountGamingLimitsWrapper2-Cm_s6Fie.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BBhmB2BI.js → PlayerAccountGamingLimitsWrapper2-Dz66ld9y.js} +55 -55
- package/components/{PlayerAccountGeneralConfirmationModal-BJ3S0RLL.cjs → PlayerAccountGeneralConfirmationModal-C_d3r_5u.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-Cxl-LoG0.js → PlayerAccountGeneralConfirmationModal-DHO5sM_A.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-L97vGeau.js → PlayerAccountGeneralConfirmationModal-xn068Ofp.js} +34 -34
- package/components/{PlayerAccountMenu-DUTsp-yv.js → PlayerAccountMenu-2fRKWX72.js} +32 -32
- package/components/{PlayerAccountMenu-BIdnddS_.cjs → PlayerAccountMenu-B2ipwiXm.cjs} +1 -1
- package/components/{PlayerAccountMenu-CBgydCnL.js → PlayerAccountMenu-BZMOA6FB.js} +29 -29
- package/components/{PlayerAccountModal-tginaXbZ.cjs → PlayerAccountModal-BC3FTDl6.cjs} +1 -1
- package/components/{PlayerAccountModal-7R2WRCgZ.js → PlayerAccountModal-BPfkAiOY.js} +42 -42
- package/components/{PlayerAccountModal-C7_3et-5.js → PlayerAccountModal-DYanNf6b.js} +42 -42
- package/components/{PlayerAccountNotifications-DcYU4F80.js → PlayerAccountNotifications-989NFh5T.js} +32 -32
- package/components/{PlayerAccountNotifications-BLsxWrq2.cjs → PlayerAccountNotifications-CcTMD34l.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BQPI0SJW.js → PlayerAccountNotifications-DxM4yW0h.js} +31 -31
- package/components/{PlayerAccountSelfExclusion-DQemkHnw.js → PlayerAccountSelfExclusion-BrQUxdxS.js} +1896 -1785
- package/components/{PlayerAccountSelfExclusion-PIbK0zJN.cjs → PlayerAccountSelfExclusion-D4uJysE9.cjs} +160 -160
- package/components/{PlayerAccountSelfExclusion-EzdDd4JW.js → PlayerAccountSelfExclusion-tDcqpg8M.js} +1874 -1763
- package/components/{PlayerAccountTimeout-DC6dXEP7.js → PlayerAccountTimeout-1VU-R_sT.js} +58 -58
- package/components/{PlayerAccountTimeout-DqOYXUZt.cjs → PlayerAccountTimeout-BnBgpjeF.cjs} +1 -1
- package/components/{PlayerAccountTimeout-DGGqGhkZ.js → PlayerAccountTimeout-DAyJv6XI.js} +58 -58
- package/components/{PlayerActiveBonuses-BbsdliMe.js → PlayerActiveBonuses-BFVeH6mh.js} +74 -74
- package/components/{PlayerActiveBonuses-DTojdXrg.cjs → PlayerActiveBonuses-C2r4IPEL.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CS8nC9ys.js → PlayerActiveBonuses-zUVH_ST1.js} +73 -73
- package/components/{PlayerBonusCard-9sQnuijs.js → PlayerBonusCard-B-cs4cqg.js} +80 -80
- package/components/{PlayerBonusCard-QZKUlUnC.js → PlayerBonusCard-BX-b3HKZ.js} +80 -80
- package/components/{PlayerBonusCard-ihCApHIs.cjs → PlayerBonusCard-BrvsM8No.cjs} +1 -1
- package/components/{PlayerBonusHistory-DMC3iv-M.cjs → PlayerBonusHistory-B_a21BCE.cjs} +1 -1
- package/components/{PlayerBonusHistory-BXX10tEI.js → PlayerBonusHistory-Bg0Kax3B.js} +33 -33
- package/components/{PlayerBonusHistory-CbptkPyg.js → PlayerBonusHistory-CuOv2Hc4.js} +33 -33
- package/components/{PlayerChangePassword-DRF3YUcY.js → PlayerChangePassword-BXTWOpKM.js} +71 -71
- package/components/{PlayerChangePassword-DIVU7Hm-.js → PlayerChangePassword-CYvwu077.js} +71 -71
- package/components/{PlayerChangePassword-DZ0zUct-.cjs → PlayerChangePassword-CbBHjN4s.cjs} +1 -1
- package/components/{PlayerDeposit-Bu1poUUC.js → PlayerDeposit-BxvpoON-.js} +75 -75
- package/components/{PlayerDeposit-CC1ZNh0V.js → PlayerDeposit-VF5d6vUd.js} +75 -75
- package/components/PlayerDeposit-mr7WW9bf.cjs +1 -0
- package/components/{PlayerGamingHistory-CITsPSbY.cjs → PlayerGamingHistory-CorLWCJo.cjs} +1 -1
- package/components/{PlayerGamingHistory-CIZ2Ous8.js → PlayerGamingHistory-D3Ks9sA3.js} +84 -84
- package/components/{PlayerGamingHistory-LEBGykAk.js → PlayerGamingHistory-D_p5zZIW.js} +74 -74
- package/components/{PlayerPendingWithdrawals-CaouMSqA.js → PlayerPendingWithdrawals-CePMH1Ym.js} +26 -26
- package/components/{PlayerPendingWithdrawals-UG-bN1ca.cjs → PlayerPendingWithdrawals-D3hbZ7iV.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BAYRu_8K.js → PlayerPendingWithdrawals-DnRLD9Qj.js} +26 -26
- package/components/{PlayerProfileInfo-D3NxPM1Z.js → PlayerProfileInfo-BM9bYXPT.js} +56 -56
- package/components/{PlayerProfileInfo-DLth9JMy.cjs → PlayerProfileInfo-BST7W89r.cjs} +1 -1
- package/components/{PlayerProfileInfo-BLPDFygv.js → PlayerProfileInfo-CGh-HMYc.js} +56 -56
- package/components/{PlayerRealityCheck-BmVSMTSf.cjs → PlayerRealityCheck-DTbqf0Qh.cjs} +1 -1
- package/components/{PlayerRealityCheck-DL5sLluu.js → PlayerRealityCheck-Dkm-7UeP.js} +33 -33
- package/components/{PlayerRealityCheck-CI5fiJv3.js → PlayerRealityCheck-hu40INih.js} +33 -33
- package/components/{PlayerTransactionHistory-BGPDkKNI.js → PlayerTransactionHistory-CmHZLNzi.js} +24 -24
- package/components/{PlayerTransactionHistory-U2CncC4r.cjs → PlayerTransactionHistory-Cp--JykS.cjs} +1 -1
- package/components/{PlayerTransactionHistory-x-p-YOv6.js → PlayerTransactionHistory-Dob8ZHvF.js} +24 -24
- package/components/{PlayerWithdrawal-CsPPu5bX.cjs → PlayerWithdrawal-BocnE727.cjs} +1 -1
- package/components/{PlayerWithdrawal-BknOF8Sy.js → PlayerWithdrawal-DMasfo5k.js} +19 -19
- package/components/{PlayerWithdrawal-Cx3cOp7C.js → PlayerWithdrawal-fB3IW1Dc.js} +19 -19
- 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-jMRVCzfy.cjs → checkbox-group-input_9-7pHEk7KK.cjs} +5 -5
- package/stencil/{checkbox-group-input_9-JSy4d2L9.js → checkbox-group-input_9-DSksAr33.js} +51 -53
- package/stencil/{checkbox-group-input_9-UDA-XaF9.js → checkbox-group-input_9-DyXG_RqX.js} +51 -53
- package/stencil/{general-input-C6k63W5y.js → general-input-CH-Wnz0o.js} +2 -2
- package/stencil/{general-input-TvqmX5hk.cjs → general-input-CX-Aoxyz.cjs} +1 -1
- package/stencil/{general-input-BbXpUFir.js → general-input-CuV9Y7I_.js} +2 -2
- package/stencil/index-1ef3a64c-Dr_Pi_Tn.cjs +1 -0
- package/stencil/index-1ef3a64c-gNJv-qax.js +572 -0
- package/stencil/index-1ef3a64c-jZYsp9Sk.js +556 -0
- package/stencil/index-7c5e707a-40SRy2Ab.js +616 -0
- package/stencil/index-7c5e707a-B9tD4t-g.js +643 -0
- package/stencil/index-7c5e707a-DosLPDO6.cjs +1 -0
- package/stencil/index-9c0f6c58-CiH_jMvd.cjs +1 -0
- package/stencil/{index-9c0f6c58-CqoLeK5G.js → index-9c0f6c58-DRP3WpwA.js} +197 -197
- package/stencil/index-9c0f6c58-jtioo3_h.js +576 -0
- package/stencil/index-9cd44522-BMi5SCI8.cjs +1 -0
- package/stencil/index-9cd44522-C5PazzcR.js +626 -0
- package/stencil/index-9cd44522-CTVB6N0s.js +610 -0
- package/stencil/index-ae04a8b1-BIDvdZJs.js +532 -0
- package/stencil/index-ae04a8b1-BUa25EUq.cjs +1 -0
- package/stencil/index-ae04a8b1-BYWsXc_G.js +516 -0
- package/stencil/locale-BB2iZ4t0.cjs +1 -0
- package/stencil/{locale-BG_TzyDt.js → locale-ioQf6ZrW.js} +12 -6
- package/stencil/{password-input_2-DcXEnCK_.cjs → password-input_2-BmdsggMk.cjs} +2 -2
- package/stencil/{password-input_2-DsZJxliE.js → password-input_2-CPv8XrqV.js} +20 -20
- package/stencil/{password-input_2-DhPva8mM.js → password-input_2-oaROKAQs.js} +20 -20
- package/stencil/{player-change-password-gm2-039e300e-DiWG8cwr.js → player-change-password-gm2-039e300e-BVlNNts_.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-GCkrv9Aa.js → player-change-password-gm2-039e300e-CCcJUFnW.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-BGXXN2fy.cjs → player-change-password-gm2-039e300e-CSWUPhYT.cjs} +1 -1
- package/stencil/{player-change-password-gm2-CWzdeleK.cjs → player-change-password-gm2-C3qCCE1E.cjs} +1 -1
- package/stencil/{player-change-password-gm2-BB9nhWGy.js → player-change-password-gm2-C6pxbnjL.js} +1 -1
- package/stencil/{player-change-password-gm2-B2cv54i2.js → player-change-password-gm2-Ckya-tLH.js} +1 -1
- package/stencil/{player-kyc-verification-B8arDCja.js → player-kyc-verification-CK7jvih_.js} +1 -1
- package/stencil/{player-kyc-verification-GFBDUbhm.cjs → player-kyc-verification-CWBei0Yk.cjs} +1 -1
- package/stencil/{player-kyc-verification-Di40xn9z.js → player-kyc-verification-ClECAHs-.js} +1 -1
- package/stencil/toggle-checkbox-input-B-OT73su.cjs +1 -0
- package/stencil/{toggle-checkbox-input-2FXfNCyw.js → toggle-checkbox-input-C-GcqDa0.js} +3 -3
- package/stencil/{toggle-checkbox-input-BZQethuD.js → toggle-checkbox-input-L8SjZwTW.js} +3 -3
- package/stencil/{ui-skeleton-DT0OMDC6.js → ui-skeleton-CWQGWUte.js} +2 -2
- package/stencil/{ui-skeleton-T4HYbNcC.js → ui-skeleton-DGSaG5JU.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-Ba-weZ4g.js → ui-skeleton-a642cced-21I14Ylk.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-B8H73O_q.cjs → ui-skeleton-a642cced-BXc76uPc.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-DhjmNsN7.js → ui-skeleton-a642cced-C5tlYQb-.js} +1 -1
- package/stencil/{ui-skeleton-BC4mw1ae.cjs → ui-skeleton-r-lLy7GD.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-DRe5oBqv.js → user-deposit-withdrawal-BISsu0Z-.js} +1 -1
- package/stencil/{user-deposit-withdrawal-Dj3Po03r.js → user-deposit-withdrawal-BmOGfPLJ.js} +1 -1
- package/stencil/{user-deposit-withdrawal-BQKFgZ31.cjs → user-deposit-withdrawal-C8N7GB9E.cjs} +1 -1
- package/stencil/{user-transaction-history-Dca7qx08.js → user-transaction-history-BO92Qvk4.js} +1 -1
- package/stencil/{user-transaction-history-6-z3byrF.js → user-transaction-history-Bg6onQ-I.js} +1 -1
- package/stencil/{user-transaction-history-DrhquxkJ.cjs → user-transaction-history-COJbthDt.cjs} +1 -1
- package/stencil/{vaadin-button-mixin-e8c3f355-BdntioNA.cjs → vaadin-button-mixin-5fa6ca77-BEoWt381.cjs} +94 -102
- package/stencil/{vaadin-button-mixin-e8c3f355-DON-rAuy.js → vaadin-button-mixin-5fa6ca77-DNBadodK.js} +569 -584
- package/stencil/{vaadin-button-mixin-e8c3f355-DQ5UgwNf.js → vaadin-button-mixin-5fa6ca77-SQip1zuF.js} +586 -601
- package/components/GeneralLogout-DKq7aXpj.cjs +0 -21
- package/components/PlayerAccountBettingHistory-B5a8vPwA.js +0 -329
- package/components/PlayerAccountBettingHistory-Ba0rbzAt.cjs +0 -1
- package/components/PlayerAccountController-D25Cayml.cjs +0 -1
- package/components/PlayerDeposit-2rXfB2O5.cjs +0 -1
- package/stencil/index-1ef3a64c-BnB-ATuA.js +0 -556
- package/stencil/index-1ef3a64c-BvKbNMH8.cjs +0 -1
- package/stencil/index-1ef3a64c-Nsr9PDe6.js +0 -572
- package/stencil/index-7c5e707a-CTC8RpEi.js +0 -643
- package/stencil/index-7c5e707a-CWE0q0mP.js +0 -616
- package/stencil/index-7c5e707a-D1Fv8nel.cjs +0 -1
- package/stencil/index-9c0f6c58-C1yzTenw.js +0 -576
- package/stencil/index-9c0f6c58-DEsDY2nb.cjs +0 -1
- package/stencil/index-9cd44522-BQ_s4zJm.js +0 -626
- package/stencil/index-9cd44522-BUwXI--9.js +0 -610
- package/stencil/index-9cd44522-lJqPKy7q.cjs +0 -1
- package/stencil/index-ae04a8b1-D4wvtXTw.cjs +0 -1
- package/stencil/index-ae04a8b1-fpBaOn88.js +0 -516
- package/stencil/index-ae04a8b1-ixlRj3zC.js +0 -532
- package/stencil/locale-B5abSHU_.cjs +0 -1
- package/stencil/toggle-checkbox-input-CA92JmGn.cjs +0 -1
|
@@ -0,0 +1,516 @@
|
|
|
1
|
+
const oe = "ui-skeleton", $e = (
|
|
2
|
+
/* ui-skeleton */
|
|
3
|
+
{ hydratedSelectorName: "hydrated" }
|
|
4
|
+
);
|
|
5
|
+
var ce = Object.defineProperty, fe = (e, t) => {
|
|
6
|
+
for (var s in t)
|
|
7
|
+
ce(e, s, { get: t[s], enumerable: !0 });
|
|
8
|
+
}, U = /* @__PURE__ */ new WeakMap(), b = (e) => U.get(e), Qe = (e, t) => U.set(t.$lazyInstance$ = e, t), ue = (e, t) => {
|
|
9
|
+
const s = {
|
|
10
|
+
$flags$: 0,
|
|
11
|
+
$hostElement$: e,
|
|
12
|
+
$cmpMeta$: t,
|
|
13
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
|
14
|
+
};
|
|
15
|
+
return s.$onReadyPromise$ = new Promise((n) => s.$onReadyResolve$ = n), e["s-p"] = [], e["s-rc"] = [], U.set(e, s);
|
|
16
|
+
}, k = (e, t) => (0, console.error)(e, t), j = /* @__PURE__ */ new Map(), de = (e, t, s) => {
|
|
17
|
+
const n = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
|
18
|
+
if (!r)
|
|
19
|
+
return;
|
|
20
|
+
const a = j.get(r);
|
|
21
|
+
if (a)
|
|
22
|
+
return a[n];
|
|
23
|
+
{
|
|
24
|
+
const l = (i) => (j.set(r, i), i[n]);
|
|
25
|
+
switch (r) {
|
|
26
|
+
case "ui-skeleton":
|
|
27
|
+
return import(
|
|
28
|
+
/* webpackMode: "lazy" */
|
|
29
|
+
"./ui-skeleton-CWQGWUte.js"
|
|
30
|
+
).then(l, k);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return import(
|
|
34
|
+
/* @vite-ignore */
|
|
35
|
+
/* webpackInclude: /\.entry\.js$/ */
|
|
36
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
37
|
+
/* webpackMode: "lazy" */
|
|
38
|
+
`./${r}.entry.js`
|
|
39
|
+
).then((l) => (j.set(r, l), l[n]), k);
|
|
40
|
+
}, L = /* @__PURE__ */ new Map(), me = "{visibility:hidden}.hydrated{visibility:inherit}", G = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window < "u" ? window : {}, y = B.document || { head: {} }, g = {
|
|
41
|
+
$flags$: 0,
|
|
42
|
+
$resourcesUrl$: "",
|
|
43
|
+
jmp: (e) => e(),
|
|
44
|
+
raf: (e) => requestAnimationFrame(e),
|
|
45
|
+
ael: (e, t, s, n) => e.addEventListener(t, s, n),
|
|
46
|
+
rel: (e, t, s, n) => e.removeEventListener(t, s, n),
|
|
47
|
+
ce: (e, t) => new CustomEvent(e, t)
|
|
48
|
+
}, ve = (e) => Promise.resolve(e), ge = /* @__PURE__ */ (() => {
|
|
49
|
+
try {
|
|
50
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
51
|
+
} catch {
|
|
52
|
+
}
|
|
53
|
+
return !1;
|
|
54
|
+
})(), O = !1, N = [], J = [], he = (e, t) => (s) => {
|
|
55
|
+
e.push(s), O || (O = !0, g.$flags$ & 4 ? z(A) : g.raf(A));
|
|
56
|
+
}, C = (e) => {
|
|
57
|
+
for (let t = 0; t < e.length; t++)
|
|
58
|
+
try {
|
|
59
|
+
e[t](performance.now());
|
|
60
|
+
} catch (s) {
|
|
61
|
+
k(s);
|
|
62
|
+
}
|
|
63
|
+
e.length = 0;
|
|
64
|
+
}, A = () => {
|
|
65
|
+
C(N), C(J), (O = N.length > 0) && g.raf(A);
|
|
66
|
+
}, z = (e) => ve().then(e), pe = /* @__PURE__ */ he(J), D = {}, K = (e) => (e = typeof e, e === "object" || e === "function");
|
|
67
|
+
function Q(e) {
|
|
68
|
+
var t, s, n;
|
|
69
|
+
return (n = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? n : void 0;
|
|
70
|
+
}
|
|
71
|
+
var ye = {};
|
|
72
|
+
fe(ye, {
|
|
73
|
+
err: () => X,
|
|
74
|
+
map: () => Se,
|
|
75
|
+
ok: () => I,
|
|
76
|
+
unwrap: () => be,
|
|
77
|
+
unwrapErr: () => ke
|
|
78
|
+
});
|
|
79
|
+
var I = (e) => ({
|
|
80
|
+
isOk: !0,
|
|
81
|
+
isErr: !1,
|
|
82
|
+
value: e
|
|
83
|
+
}), X = (e) => ({
|
|
84
|
+
isOk: !1,
|
|
85
|
+
isErr: !0,
|
|
86
|
+
value: e
|
|
87
|
+
});
|
|
88
|
+
function Se(e, t) {
|
|
89
|
+
if (e.isOk) {
|
|
90
|
+
const s = t(e.value);
|
|
91
|
+
return s instanceof Promise ? s.then((n) => I(n)) : I(s);
|
|
92
|
+
}
|
|
93
|
+
if (e.isErr) {
|
|
94
|
+
const s = e.value;
|
|
95
|
+
return X(s);
|
|
96
|
+
}
|
|
97
|
+
throw "should never get here";
|
|
98
|
+
}
|
|
99
|
+
var be = (e) => {
|
|
100
|
+
if (e.isOk)
|
|
101
|
+
return e.value;
|
|
102
|
+
throw e.value;
|
|
103
|
+
}, ke = (e) => {
|
|
104
|
+
if (e.isErr)
|
|
105
|
+
return e.value;
|
|
106
|
+
throw e.value;
|
|
107
|
+
}, S = (e, t = "") => () => {
|
|
108
|
+
}, Ee = (e, t) => () => {
|
|
109
|
+
}, we = (e, t, ...s) => {
|
|
110
|
+
let n = null, r = null, a = !1, l = !1;
|
|
111
|
+
const i = [], o = (c) => {
|
|
112
|
+
for (let f = 0; f < c.length; f++)
|
|
113
|
+
n = c[f], Array.isArray(n) ? o(n) : n != null && typeof n != "boolean" && ((a = typeof e != "function" && !K(n)) && (n = String(n)), a && l ? i[i.length - 1].$text$ += n : i.push(a ? H(null, n) : n), l = a);
|
|
114
|
+
};
|
|
115
|
+
if (o(s), t) {
|
|
116
|
+
t.key && (r = t.key);
|
|
117
|
+
{
|
|
118
|
+
const c = t.className || t.class;
|
|
119
|
+
c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
const $ = H(e, null);
|
|
123
|
+
return $.$attrs$ = t, i.length > 0 && ($.$children$ = i), $.$key$ = r, $;
|
|
124
|
+
}, H = (e, t) => {
|
|
125
|
+
const s = {
|
|
126
|
+
$flags$: 0,
|
|
127
|
+
$tag$: e,
|
|
128
|
+
$text$: t,
|
|
129
|
+
$elm$: null,
|
|
130
|
+
$children$: null
|
|
131
|
+
};
|
|
132
|
+
return s.$attrs$ = null, s.$key$ = null, s;
|
|
133
|
+
}, Pe = {}, xe = (e) => e && e.$tag$ === Pe, Le = (e, t) => e != null && !K(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Te = (e, t, s) => {
|
|
134
|
+
const n = g.ce(t, s);
|
|
135
|
+
return e.dispatchEvent(n), n;
|
|
136
|
+
}, F = /* @__PURE__ */ new WeakMap(), _e = (e, t, s) => {
|
|
137
|
+
let n = L.get(e);
|
|
138
|
+
ge && s ? (n = n || new CSSStyleSheet(), typeof n == "string" ? n = t : n.replaceSync(t)) : n = t, L.set(e, n);
|
|
139
|
+
}, je = (e, t, s) => {
|
|
140
|
+
var n;
|
|
141
|
+
const r = Z(t), a = L.get(r);
|
|
142
|
+
if (e = e.nodeType === 11 ? e : y, a)
|
|
143
|
+
if (typeof a == "string") {
|
|
144
|
+
e = e.head || e;
|
|
145
|
+
let l = F.get(e), i;
|
|
146
|
+
if (l || F.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
|
|
147
|
+
{
|
|
148
|
+
i = y.createElement("style"), i.innerHTML = a;
|
|
149
|
+
const o = (n = g.$nonce$) != null ? n : Q(y);
|
|
150
|
+
o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
|
|
151
|
+
}
|
|
152
|
+
t.$flags$ & 4 && (i.innerHTML += G), l && l.add(r);
|
|
153
|
+
}
|
|
154
|
+
} else
|
|
155
|
+
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
156
|
+
return r;
|
|
157
|
+
}, Oe = (e) => {
|
|
158
|
+
const t = e.$cmpMeta$, s = e.$hostElement$, n = S("attachStyles", t.$tagName$);
|
|
159
|
+
je(
|
|
160
|
+
s.getRootNode(),
|
|
161
|
+
t
|
|
162
|
+
), n();
|
|
163
|
+
}, Z = (e, t) => "sc-" + e.$tagName$, M = (e, t, s, n, r, a) => {
|
|
164
|
+
if (s !== n)
|
|
165
|
+
if (t.toLowerCase(), t === "class") {
|
|
166
|
+
const l = e.classList, i = W(s), o = W(n);
|
|
167
|
+
l.remove(...i.filter(($) => $ && !o.includes($))), l.add(...o.filter(($) => $ && !i.includes($)));
|
|
168
|
+
} else if (t === "style") {
|
|
169
|
+
for (const l in s)
|
|
170
|
+
(!n || n[l] == null) && (l.includes("-") ? e.style.removeProperty(l) : e.style[l] = "");
|
|
171
|
+
for (const l in n)
|
|
172
|
+
(!s || n[l] !== s[l]) && (l.includes("-") ? e.style.setProperty(l, n[l]) : e.style[l] = n[l]);
|
|
173
|
+
} else
|
|
174
|
+
t === "key" || t === "ref" && n && n(e);
|
|
175
|
+
}, Ae = /\s/, W = (e) => e ? e.split(Ae) : [], R = (e, t, s) => {
|
|
176
|
+
const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || D, a = t.$attrs$ || D;
|
|
177
|
+
for (const l of Y(Object.keys(r)))
|
|
178
|
+
l in a || M(n, l, r[l], void 0);
|
|
179
|
+
for (const l of Y(Object.keys(a)))
|
|
180
|
+
M(n, l, r[l], a[l]);
|
|
181
|
+
};
|
|
182
|
+
function Y(e) {
|
|
183
|
+
return e.includes("ref") ? (
|
|
184
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
185
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
|
186
|
+
) : (
|
|
187
|
+
// no need to sort, return the original array
|
|
188
|
+
e
|
|
189
|
+
);
|
|
190
|
+
}
|
|
191
|
+
var V, T = (e, t, s, n) => {
|
|
192
|
+
const r = t.$children$[s];
|
|
193
|
+
let a = 0, l, i;
|
|
194
|
+
if (l = r.$elm$ = y.createElement(
|
|
195
|
+
r.$tag$
|
|
196
|
+
), R(null, r), r.$children$)
|
|
197
|
+
for (a = 0; a < r.$children$.length; ++a)
|
|
198
|
+
i = T(e, r, a), i && l.appendChild(i);
|
|
199
|
+
return l["s-hn"] = V, l;
|
|
200
|
+
}, ee = (e, t, s, n, r, a) => {
|
|
201
|
+
let l = e, i;
|
|
202
|
+
for (; r <= a; ++r)
|
|
203
|
+
n[r] && (i = T(null, s, r), i && (n[r].$elm$ = i, x(l, i, t)));
|
|
204
|
+
}, te = (e, t, s) => {
|
|
205
|
+
for (let n = t; n <= s; ++n) {
|
|
206
|
+
const r = e[n];
|
|
207
|
+
if (r) {
|
|
208
|
+
const a = r.$elm$;
|
|
209
|
+
ne(r), a && a.remove();
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}, Ie = (e, t, s, n, r = !1) => {
|
|
213
|
+
let a = 0, l = 0, i = 0, o = 0, $ = t.length - 1, c = t[0], f = t[$], u = n.length - 1, d = n[0], m = n[u], v, h;
|
|
214
|
+
for (; a <= $ && l <= u; )
|
|
215
|
+
if (c == null)
|
|
216
|
+
c = t[++a];
|
|
217
|
+
else if (f == null)
|
|
218
|
+
f = t[--$];
|
|
219
|
+
else if (d == null)
|
|
220
|
+
d = n[++l];
|
|
221
|
+
else if (m == null)
|
|
222
|
+
m = n[--u];
|
|
223
|
+
else if (P(c, d, r))
|
|
224
|
+
E(c, d, r), c = t[++a], d = n[++l];
|
|
225
|
+
else if (P(f, m, r))
|
|
226
|
+
E(f, m, r), f = t[--$], m = n[--u];
|
|
227
|
+
else if (P(c, m, r))
|
|
228
|
+
E(c, m, r), x(e, c.$elm$, f.$elm$.nextSibling), c = t[++a], m = n[--u];
|
|
229
|
+
else if (P(f, d, r))
|
|
230
|
+
E(f, d, r), x(e, f.$elm$, c.$elm$), f = t[--$], d = n[++l];
|
|
231
|
+
else {
|
|
232
|
+
for (i = -1, o = a; o <= $; ++o)
|
|
233
|
+
if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
|
|
234
|
+
i = o;
|
|
235
|
+
break;
|
|
236
|
+
}
|
|
237
|
+
i >= 0 ? (h = t[i], h.$tag$ !== d.$tag$ ? v = T(t && t[l], s, i) : (E(h, d, r), t[i] = void 0, v = h.$elm$), d = n[++l]) : (v = T(t && t[l], s, l), d = n[++l]), v && x(c.$elm$.parentNode, v, c.$elm$);
|
|
238
|
+
}
|
|
239
|
+
a > $ ? ee(
|
|
240
|
+
e,
|
|
241
|
+
n[u + 1] == null ? null : n[u + 1].$elm$,
|
|
242
|
+
s,
|
|
243
|
+
n,
|
|
244
|
+
l,
|
|
245
|
+
u
|
|
246
|
+
) : l > u && te(t, a, $);
|
|
247
|
+
}, P = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? !0 : e.$key$ === t.$key$ : !1, E = (e, t, s = !1) => {
|
|
248
|
+
const n = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$;
|
|
249
|
+
R(e, t), r !== null && a !== null ? Ie(n, r, t, a, s) : a !== null ? ee(n, null, t, a, 0, a.length - 1) : r !== null && te(r, 0, r.length - 1);
|
|
250
|
+
}, ne = (e) => {
|
|
251
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ne);
|
|
252
|
+
}, x = (e, t, s) => e?.insertBefore(t, s), He = (e, t, s = !1) => {
|
|
253
|
+
const n = e.$hostElement$, r = e.$vnode$ || H(null, null), a = xe(t) ? t : we(null, null, t);
|
|
254
|
+
if (V = n.tagName, s && a.$attrs$)
|
|
255
|
+
for (const l of Object.keys(a.$attrs$))
|
|
256
|
+
n.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = n[l]);
|
|
257
|
+
a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = r.$elm$ = n, E(r, a, s);
|
|
258
|
+
}, se = (e, t) => {
|
|
259
|
+
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
|
|
260
|
+
}, q = (e, t) => {
|
|
261
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
262
|
+
e.$flags$ |= 512;
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
return se(e, e.$ancestorComponent$), pe(() => Ue(e, t));
|
|
266
|
+
}, Ue = (e, t) => {
|
|
267
|
+
const s = e.$hostElement$, n = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
|
268
|
+
if (!r)
|
|
269
|
+
throw new Error(
|
|
270
|
+
`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
|
271
|
+
);
|
|
272
|
+
let a;
|
|
273
|
+
return n(), Be(a, () => qe(e, r, t));
|
|
274
|
+
}, Be = (e, t) => ze(e) ? e.then(t).catch((s) => {
|
|
275
|
+
console.error(s), t();
|
|
276
|
+
}) : t(), ze = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", qe = async (e, t, s) => {
|
|
277
|
+
var n;
|
|
278
|
+
const r = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
|
|
279
|
+
s && Oe(e);
|
|
280
|
+
const i = S("render", e.$cmpMeta$.$tagName$);
|
|
281
|
+
Ne(e, t, r, s), l && (l.map((o) => o()), r["s-rc"] = void 0), i(), a();
|
|
282
|
+
{
|
|
283
|
+
const o = (n = r["s-p"]) != null ? n : [], $ = () => Ce(e);
|
|
284
|
+
o.length === 0 ? $() : (Promise.all(o).then($), e.$flags$ |= 4, o.length = 0);
|
|
285
|
+
}
|
|
286
|
+
}, Ne = (e, t, s, n) => {
|
|
287
|
+
try {
|
|
288
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, He(e, t, n);
|
|
289
|
+
} catch (r) {
|
|
290
|
+
k(r, e.$hostElement$);
|
|
291
|
+
}
|
|
292
|
+
return null;
|
|
293
|
+
}, Ce = (e) => {
|
|
294
|
+
const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, n = S("postUpdate", t), r = e.$lazyInstance$, a = e.$ancestorComponent$;
|
|
295
|
+
e.$flags$ & 64 ? n() : (e.$flags$ |= 64, le(s), De(r, "componentDidLoad"), n(), e.$onReadyResolve$(s), a || re()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => q(e, !1)), e.$flags$ &= -517;
|
|
296
|
+
}, re = (e) => {
|
|
297
|
+
le(y.documentElement), z(() => Te(B, "appload", { detail: { namespace: oe } }));
|
|
298
|
+
}, De = (e, t, s) => {
|
|
299
|
+
if (e && e[t])
|
|
300
|
+
try {
|
|
301
|
+
return e[t](s);
|
|
302
|
+
} catch (n) {
|
|
303
|
+
k(n);
|
|
304
|
+
}
|
|
305
|
+
}, le = (e) => {
|
|
306
|
+
var t;
|
|
307
|
+
return e.classList.add((t = $e.hydratedSelectorName) != null ? t : "hydrated");
|
|
308
|
+
}, Fe = (e, t) => b(e).$instanceValues$.get(t), Me = (e, t, s, n) => {
|
|
309
|
+
const r = b(e);
|
|
310
|
+
if (!r)
|
|
311
|
+
throw new Error(
|
|
312
|
+
`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
|
|
313
|
+
);
|
|
314
|
+
const a = r.$hostElement$, l = r.$instanceValues$.get(t), i = r.$flags$, o = r.$lazyInstance$;
|
|
315
|
+
s = Le(s, n.$members$[t][0]);
|
|
316
|
+
const $ = Number.isNaN(l) && Number.isNaN(s), c = s !== l && !$;
|
|
317
|
+
if ((!(i & 8) || l === void 0) && c && (r.$instanceValues$.set(t, s), o)) {
|
|
318
|
+
if (n.$watchers$ && i & 128) {
|
|
319
|
+
const f = n.$watchers$[t];
|
|
320
|
+
f && f.map((u) => {
|
|
321
|
+
try {
|
|
322
|
+
o[u](s, l, t);
|
|
323
|
+
} catch (d) {
|
|
324
|
+
k(d, a);
|
|
325
|
+
}
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
(i & 18) === 2 && q(r, !1);
|
|
329
|
+
}
|
|
330
|
+
}, ae = (e, t, s) => {
|
|
331
|
+
var n, r;
|
|
332
|
+
const a = e.prototype;
|
|
333
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
334
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
335
|
+
const l = Object.entries((n = t.$members$) != null ? n : {});
|
|
336
|
+
if (l.map(([i, [o]]) => {
|
|
337
|
+
(o & 31 || s & 2 && o & 32) && Object.defineProperty(a, i, {
|
|
338
|
+
get() {
|
|
339
|
+
return Fe(this, i);
|
|
340
|
+
},
|
|
341
|
+
set($) {
|
|
342
|
+
Me(this, i, $, t);
|
|
343
|
+
},
|
|
344
|
+
configurable: !0,
|
|
345
|
+
enumerable: !0
|
|
346
|
+
});
|
|
347
|
+
}), s & 1) {
|
|
348
|
+
const i = /* @__PURE__ */ new Map();
|
|
349
|
+
a.attributeChangedCallback = function(o, $, c) {
|
|
350
|
+
g.jmp(() => {
|
|
351
|
+
var f;
|
|
352
|
+
const u = i.get(o);
|
|
353
|
+
if (this.hasOwnProperty(u))
|
|
354
|
+
c = this[u], delete this[u];
|
|
355
|
+
else {
|
|
356
|
+
if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == c)
|
|
357
|
+
return;
|
|
358
|
+
if (u == null) {
|
|
359
|
+
const d = b(this), m = d?.$flags$;
|
|
360
|
+
if (m && !(m & 8) && m & 128 && c !== $) {
|
|
361
|
+
const v = d.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[o];
|
|
362
|
+
h?.forEach((p) => {
|
|
363
|
+
v[p] != null && v[p].call(v, c, $, o);
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
return;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
this[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
|
|
370
|
+
});
|
|
371
|
+
}, e.observedAttributes = Array.from(
|
|
372
|
+
/* @__PURE__ */ new Set([
|
|
373
|
+
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
|
374
|
+
...l.filter(
|
|
375
|
+
([o, $]) => $[0] & 15
|
|
376
|
+
/* HasAttribute */
|
|
377
|
+
).map(([o, $]) => {
|
|
378
|
+
const c = $[1] || o;
|
|
379
|
+
return i.set(c, o), c;
|
|
380
|
+
})
|
|
381
|
+
])
|
|
382
|
+
);
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
return e;
|
|
386
|
+
}, We = async (e, t, s, n) => {
|
|
387
|
+
let r;
|
|
388
|
+
if (!(t.$flags$ & 32)) {
|
|
389
|
+
if (t.$flags$ |= 32, s.$lazyBundleId$) {
|
|
390
|
+
const o = de(s);
|
|
391
|
+
if (o && "then" in o) {
|
|
392
|
+
const c = Ee();
|
|
393
|
+
r = await o, c();
|
|
394
|
+
} else
|
|
395
|
+
r = o;
|
|
396
|
+
if (!r)
|
|
397
|
+
throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
|
|
398
|
+
r.isProxied || (s.$watchers$ = r.watchers, ae(
|
|
399
|
+
r,
|
|
400
|
+
s,
|
|
401
|
+
2
|
|
402
|
+
/* proxyState */
|
|
403
|
+
), r.isProxied = !0);
|
|
404
|
+
const $ = S("createInstance", s.$tagName$);
|
|
405
|
+
t.$flags$ |= 8;
|
|
406
|
+
try {
|
|
407
|
+
new r(t);
|
|
408
|
+
} catch (c) {
|
|
409
|
+
k(c);
|
|
410
|
+
}
|
|
411
|
+
t.$flags$ &= -9, t.$flags$ |= 128, $();
|
|
412
|
+
} else {
|
|
413
|
+
r = e.constructor;
|
|
414
|
+
const o = e.localName;
|
|
415
|
+
customElements.whenDefined(o).then(
|
|
416
|
+
() => t.$flags$ |= 128
|
|
417
|
+
/* isWatchReady */
|
|
418
|
+
);
|
|
419
|
+
}
|
|
420
|
+
if (r && r.style) {
|
|
421
|
+
let o;
|
|
422
|
+
typeof r.style == "string" && (o = r.style);
|
|
423
|
+
const $ = Z(s);
|
|
424
|
+
if (!L.has($)) {
|
|
425
|
+
const c = S("registerStyles", s.$tagName$);
|
|
426
|
+
_e($, o, !!(s.$flags$ & 1)), c();
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
const a = t.$ancestorComponent$, l = () => q(t, !0);
|
|
431
|
+
a && a["s-rc"] ? a["s-rc"].push(l) : l();
|
|
432
|
+
}, Ye = (e) => {
|
|
433
|
+
}, Ge = (e) => {
|
|
434
|
+
if (!(g.$flags$ & 1)) {
|
|
435
|
+
const t = b(e), s = t.$cmpMeta$, n = S("connectedCallback", s.$tagName$);
|
|
436
|
+
if (t.$flags$ & 1)
|
|
437
|
+
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ye());
|
|
438
|
+
else {
|
|
439
|
+
t.$flags$ |= 1;
|
|
440
|
+
{
|
|
441
|
+
let r = e;
|
|
442
|
+
for (; r = r.parentNode || r.host; )
|
|
443
|
+
if (r["s-p"]) {
|
|
444
|
+
se(t, t.$ancestorComponent$ = r);
|
|
445
|
+
break;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
s.$members$ && Object.entries(s.$members$).map(([r, [a]]) => {
|
|
449
|
+
if (a & 31 && e.hasOwnProperty(r)) {
|
|
450
|
+
const l = e[r];
|
|
451
|
+
delete e[r], e[r] = l;
|
|
452
|
+
}
|
|
453
|
+
}), We(e, t, s);
|
|
454
|
+
}
|
|
455
|
+
n();
|
|
456
|
+
}
|
|
457
|
+
}, Je = (e) => {
|
|
458
|
+
}, Ke = async (e) => {
|
|
459
|
+
if (!(g.$flags$ & 1)) {
|
|
460
|
+
const t = b(e);
|
|
461
|
+
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Je());
|
|
462
|
+
}
|
|
463
|
+
}, Xe = (e, t = {}) => {
|
|
464
|
+
var s;
|
|
465
|
+
const n = S(), r = [], a = t.exclude || [], l = B.customElements, i = y.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
|
|
466
|
+
let f, u = !0;
|
|
467
|
+
Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
|
|
468
|
+
let d = !1;
|
|
469
|
+
if (e.map((m) => {
|
|
470
|
+
m[1].map((v) => {
|
|
471
|
+
var h;
|
|
472
|
+
const p = {
|
|
473
|
+
$flags$: v[0],
|
|
474
|
+
$tagName$: v[1],
|
|
475
|
+
$members$: v[2],
|
|
476
|
+
$listeners$: v[3]
|
|
477
|
+
};
|
|
478
|
+
p.$flags$ & 4 && (d = !0), p.$members$ = v[2], p.$watchers$ = (h = v[4]) != null ? h : {};
|
|
479
|
+
const w = p.$tagName$, ie = class extends HTMLElement {
|
|
480
|
+
// StencilLazyHost
|
|
481
|
+
constructor(_) {
|
|
482
|
+
super(_), this.hasRegisteredEventListeners = !1, _ = this, ue(_, p);
|
|
483
|
+
}
|
|
484
|
+
connectedCallback() {
|
|
485
|
+
b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) : g.jmp(() => Ge(this));
|
|
486
|
+
}
|
|
487
|
+
disconnectedCallback() {
|
|
488
|
+
g.jmp(() => Ke(this));
|
|
489
|
+
}
|
|
490
|
+
componentOnReady() {
|
|
491
|
+
return b(this).$onReadyPromise$;
|
|
492
|
+
}
|
|
493
|
+
};
|
|
494
|
+
p.$lazyBundleId$ = m[0], !a.includes(w) && !l.get(w) && (r.push(w), l.define(
|
|
495
|
+
w,
|
|
496
|
+
ae(
|
|
497
|
+
ie,
|
|
498
|
+
p,
|
|
499
|
+
1
|
|
500
|
+
/* isElementConstructor */
|
|
501
|
+
)
|
|
502
|
+
));
|
|
503
|
+
});
|
|
504
|
+
}), r.length > 0 && (d && ($.textContent += G), $.textContent += r.sort() + me, $.innerHTML.length)) {
|
|
505
|
+
$.setAttribute("data-styles", "");
|
|
506
|
+
const m = (s = g.$nonce$) != null ? s : Q(y);
|
|
507
|
+
m != null && $.setAttribute("nonce", m), i.insertBefore($, o ? o.nextSibling : i.firstChild);
|
|
508
|
+
}
|
|
509
|
+
u = !1, c.length ? c.map((m) => m.connectedCallback()) : g.jmp(() => f = setTimeout(re, 30)), n();
|
|
510
|
+
};
|
|
511
|
+
export {
|
|
512
|
+
Xe as b,
|
|
513
|
+
we as h,
|
|
514
|
+
ve as p,
|
|
515
|
+
Qe as r
|
|
516
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const d="en",i={en:{dateError:"The selected date should be between {min} and {max}",dateError2:"The selected date is not within the accepted range",numberLengthError:"The number should be between {min} and {max}",lengthError:"The length should be between {minLength} and {maxLength}",requiredError:"This input is required.",invalidOriginalPasswordError:"Initial password field does not validate all criteria.",passwordStrength:"Password strength",passwordStrengthWeak:"is not adequate",passwordStrengthStrong:"is adequate",SpecialCharactersNotAllowed:"Should not contain special characters",InvalidEmailFormat:"Invalid email format.",EmailNotMatching:"Emails not matching!",PasswordNotMatching:"Passwords not matching",MustIncludeNumber:"Password must include a number",MustContainCapital:"Password must include a capital letter",MustIncludePunctation:"Password must include punctuation",OnlyNumbers:"Should contains only numbers.",InvalidFieldSize:"The length must be exactly 11 digits.",InvalidDocumentNumber:"Only numerical characters are allowed."},hu:{dateError:"A választott dátumnak {min} és {max} között kell lennie",numberLengthError:"A számnak {min} és {max} között kell lennie",lengthError:"A hossznak {minLength} és {maxLength} között kell lennie",requiredError:"Ez a beviteli mező kötelező.",invalidOriginalPasswordError:"Initial password field does not validate all criteria.",passwordStrength:"Jelszó erőssége",passwordStrengthWeak:"nem megfelelő",passwordStrengthStrong:"megfelelő",SpecialCharactersNotAllowed:"Nem tartalmazhat speciális karaktereket",InvalidEmailFormat:"Érvénytelen e-mail formátum.",EmailNotMatching:"Az e-mailek nem egyeznek!",PasswordNotMatching:"A jelszavak nem egyeznek",MustIncludeNumber:"A jelszónak tartalmaznia kell egy számot",MustContainCapital:"A jelszónak tartalmaznia kell egy nagybetűt",MustIncludePunctation:"A jelszónak tartalmaznia kell írásjelet",OnlyNumbers:"Csak számokat kell tartalmaznia.",InvalidFieldSize:"A hosszúságnak pontosan 11 számjegynek kell lennie.",InvalidDocumentNumber:"Csak számjegyek engedélyezettek."},hr:{dateError:"Odabrani datum treba biti između {min} i {max}",dateError2:"Odabrani datum nije unutar prihvaćenog raspona",numberLengthError:"Broj bi trebao biti između {min} i {max}",lengthError:"Duljina bi trebala biti između {minLength} i {maxLength}",requiredError:"Ovaj unos je obavezan.",invalidOriginalPasswordError:"Lozinke se ne podudaraju",passwordStrength:"Lozinka",passwordStrengthWeak:"nije dovoljno jaka",passwordStrengthStrong:"je dovoljno jaka",SpecialCharactersNotAllowed:"Ne smije sadržavati posebne znakove",InvalidEmailFormat:"Nevažeći format e-maila",EmailNotMatching:"E-mailovi se ne podudaraju!",PasswordNotMatching:"Lozinke se ne podudaraju",MustIncludeNumber:"Lozinka mora sadržavati broj",MustContainCapital:"Lozinka mora sadržavati veliko slovo",MustIncludePunctation:"Lozinka mora sadržavati barem jedan znak",OnlyNumbers:"Treba sadržavati samo brojeve.",InvalidFieldSize:"Dužina mora biti točno 11 znamenki.",InvalidDocumentNumber:"Dopušteni su samo numerički znakovi."},tr:{dateError:"Seçilen tarih {min} ve {max} arasında olmalıdır",dateError2:"Seçilen tarih kabul edilen aralıkta değil",numberLengthError:"Sayı {min} ve {max} arasında olmalıdır",lengthError:"Uzunluk {minLength} ve {maxLength} arasında olmalıdır",requiredError:"Bu alan zorunludur.",invalidOriginalPasswordError:"İlk şifre alanı tüm kriterleri karşılamıyor.",passwordStrength:"Şifre gücü",passwordStrengthWeak:"yetersiz",passwordStrengthStrong:"yeterli",SpecialCharactersNotAllowed:"Özel karakter içermemelidir",InvalidEmailFormat:"Geçersiz e-posta formatı.",EmailNotMatching:"E-postalar uyuşmuyor!",PasswordNotMatching:"Şifreler uyuşmuyor",MustIncludeNumber:"bir sayı içermelidir",MustContainCapital:"büyük harf içermelidir",MustIncludePunctation:"noktalama işareti içermelidir",OnlyNumbers:"Sadece sayılar içermelidir.",InvalidFieldSize:"Uzunluk tam olarak 11 rakam olmalıdır.",InvalidDocumentNumber:"Sadece sayısal karakterlere izin verilir."},"pt-br":{dateError:"A data selecionada deve estar entre {min} e {max}",dateError2:"A data selecionada não está dentro de um intervalo válido",numberLengthError:"O número deve estar entre {min} e {max}",lengthError:"O comprimento deve estar entre {minLength} e {maxLength}",requiredError:"Este campo é obrigatório",invalidOriginalPasswordError:"O campo de senha inicial não faz parte dos critérios válidos",PasswordStrength:"Força da senha",PasswordStrengthWeak:"Não é adequado",PasswordStrengthStrong:"é apropriado",SpecialCharactersNotAllowed:"Não deve conter caracteres especiais",InvalidEmailFormat:"Formato de email inválido",EmailNotMatching:"E-mail não corresponde",PasswordNotMatching:"Senha não corresponde",MustIncludeNumber:"A senha deve incluir um número",MustContainCapital:"A senha deve incluir uma letra maiúscula",MustIncludePunctation:"A senha deve incluir um sinal de pontuação",OnlyNumbers:"Deve conter apenas números",InvalidFieldSize:"O comprimento deve ser exatamente 11 dígitos.",InvalidDocumentNumber:"Apenas caracteres numéricos são permitidos."},"es-mx":{dateError:"La fecha seleccionada debe ser entre {min} y {max}",dateError2:"La fecha seleccionada no está dentro de un rango válido",numberLengthError:"El número debe ser entre {min} y {max}",lengthError:"La longitud deber ser entre {minLength} y {maxLength}",requiredError:"Este campo es requerido",invalidOriginalPasswordError:"El campo de contraseña inicial no es parte del criterio válido",PasswordStrength:"La fortaleza de la contraseña",PasswordStrengthWeak:"no es adecuada",PasswordStrengthStrong:"es adecuada",SpecialCharactersNotAllowed:"No debe contener caracteres especiales",InvalidEmailFormat:"Formato inválido de correo",EmailNotMatching:"El correo electrónico no coincide",PasswordNotMatching:"La contraseña no coincide",MustIncludeNumber:"La contraseña debe incluir un número",MustContainCapital:"La contraseña debe incluir una letra mayúscula",MustIncludePunctation:"La contraseña debe incluir un signo de puntuación",OnlyNumbers:"Solo debe contener números",InvalidFieldSize:"La longitud debe ser exactamente de 11 dígitos.",InvalidDocumentNumber:"Solo se permiten caracteres numéricos."}},m=(n,t,e)=>{const a=t;let r=i[a!==void 0?a:d][n];if(e!==void 0)for(const[o,l]of Object.entries(e.values)){const s=new RegExp(`{${o}}`,"g");r=r.replace(s,l)}return r},u=n=>new Promise(t=>{fetch(n).then(e=>e.json()).then(e=>{Object.keys(e).forEach(a=>{for(let r in e[a])i[a][r]=e[a][r]}),t(!0)})});exports.getTranslations=u;exports.translate=m;
|
|
@@ -17,7 +17,8 @@ const d = "en", i = {
|
|
|
17
17
|
MustContainCapital: "Password must include a capital letter",
|
|
18
18
|
MustIncludePunctation: "Password must include punctuation",
|
|
19
19
|
OnlyNumbers: "Should contains only numbers.",
|
|
20
|
-
InvalidFieldSize: "The length must be exactly 11 digits."
|
|
20
|
+
InvalidFieldSize: "The length must be exactly 11 digits.",
|
|
21
|
+
InvalidDocumentNumber: "Only numerical characters are allowed."
|
|
21
22
|
},
|
|
22
23
|
hu: {
|
|
23
24
|
dateError: "A választott dátumnak {min} és {max} között kell lennie",
|
|
@@ -36,7 +37,8 @@ const d = "en", i = {
|
|
|
36
37
|
MustContainCapital: "A jelszónak tartalmaznia kell egy nagybetűt",
|
|
37
38
|
MustIncludePunctation: "A jelszónak tartalmaznia kell írásjelet",
|
|
38
39
|
OnlyNumbers: "Csak számokat kell tartalmaznia.",
|
|
39
|
-
InvalidFieldSize: "A hosszúságnak pontosan 11 számjegynek kell lennie."
|
|
40
|
+
InvalidFieldSize: "A hosszúságnak pontosan 11 számjegynek kell lennie.",
|
|
41
|
+
InvalidDocumentNumber: "Csak számjegyek engedélyezettek."
|
|
40
42
|
},
|
|
41
43
|
hr: {
|
|
42
44
|
dateError: "Odabrani datum treba biti između {min} i {max}",
|
|
@@ -56,7 +58,8 @@ const d = "en", i = {
|
|
|
56
58
|
MustContainCapital: "Lozinka mora sadržavati veliko slovo",
|
|
57
59
|
MustIncludePunctation: "Lozinka mora sadržavati barem jedan znak",
|
|
58
60
|
OnlyNumbers: "Treba sadržavati samo brojeve.",
|
|
59
|
-
InvalidFieldSize: "Dužina mora biti točno 11 znamenki."
|
|
61
|
+
InvalidFieldSize: "Dužina mora biti točno 11 znamenki.",
|
|
62
|
+
InvalidDocumentNumber: "Dopušteni su samo numerički znakovi."
|
|
60
63
|
},
|
|
61
64
|
tr: {
|
|
62
65
|
dateError: "Seçilen tarih {min} ve {max} arasında olmalıdır",
|
|
@@ -76,7 +79,8 @@ const d = "en", i = {
|
|
|
76
79
|
MustContainCapital: "büyük harf içermelidir",
|
|
77
80
|
MustIncludePunctation: "noktalama işareti içermelidir",
|
|
78
81
|
OnlyNumbers: "Sadece sayılar içermelidir.",
|
|
79
|
-
InvalidFieldSize: "Uzunluk tam olarak 11 rakam olmalıdır."
|
|
82
|
+
InvalidFieldSize: "Uzunluk tam olarak 11 rakam olmalıdır.",
|
|
83
|
+
InvalidDocumentNumber: "Sadece sayısal karakterlere izin verilir."
|
|
80
84
|
},
|
|
81
85
|
"pt-br": {
|
|
82
86
|
dateError: "A data selecionada deve estar entre {min} e {max}",
|
|
@@ -96,7 +100,8 @@ const d = "en", i = {
|
|
|
96
100
|
MustContainCapital: "A senha deve incluir uma letra maiúscula",
|
|
97
101
|
MustIncludePunctation: "A senha deve incluir um sinal de pontuação",
|
|
98
102
|
OnlyNumbers: "Deve conter apenas números",
|
|
99
|
-
InvalidFieldSize: "O comprimento deve ser exatamente 11 dígitos."
|
|
103
|
+
InvalidFieldSize: "O comprimento deve ser exatamente 11 dígitos.",
|
|
104
|
+
InvalidDocumentNumber: "Apenas caracteres numéricos são permitidos."
|
|
100
105
|
},
|
|
101
106
|
"es-mx": {
|
|
102
107
|
dateError: "La fecha seleccionada debe ser entre {min} y {max}",
|
|
@@ -116,7 +121,8 @@ const d = "en", i = {
|
|
|
116
121
|
MustContainCapital: "La contraseña debe incluir una letra mayúscula",
|
|
117
122
|
MustIncludePunctation: "La contraseña debe incluir un signo de puntuación",
|
|
118
123
|
OnlyNumbers: "Solo debe contener números",
|
|
119
|
-
InvalidFieldSize: "La longitud debe ser exactamente de 11 dígitos."
|
|
124
|
+
InvalidFieldSize: "La longitud debe ser exactamente de 11 dígitos.",
|
|
125
|
+
InvalidDocumentNumber: "Solo se permiten caracteres numéricos."
|
|
120
126
|
}
|
|
121
127
|
}, m = (n, t, e) => {
|
|
122
128
|
const a = t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-9cd44522-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-9cd44522-BMi5SCI8.cjs"),o=require("./locale-BB2iZ4t0.cjs"),a=require("./vaadin-button-mixin-5fa6ca77-BEoWt381.cjs"),c=require("./tooltipIcon-ee9760a8-Bd9l1O5C.cjs"),m=require("./player-change-password-gm2-039e300e-CSWUPhYT.cjs");/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -102,4 +102,4 @@
|
|
|
102
102
|
<div part="reveal-button" slot="suffix">
|
|
103
103
|
<slot name="reveal"></slot>
|
|
104
104
|
</div>
|
|
105
|
-
`;let u;class x extends y(p){static get is(){return"vaadin-password-field"}static get template(){if(!u){u=super.template.cloneNode(!0);const i=b.content.querySelector('[part="reveal-button"]');u.content.querySelector('[part="input-field"]').appendChild(i)}return u}}a.defineCustomElement(x);const C='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:"Roboto";font-style:normal}.password__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.password__wrapper--autofilled{pointer-events:none}.password__wrapper--autofilled .password__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__wrapper--autofilled .password__input::part(input-field){color:var(--emw--color-black, #000000)}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.password__input{width:inherit;border:none}.password__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.password__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);background-color:var(--emw--color-white, #FFFFFF);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;position:relative;margin-bottom:unset;height:44px;padding:0;width:100%}.password__input::part(reveal-button){position:relative;right:10px}.password__input::part(reveal-button)::before{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__input>input{padding:5px 15px}.password__input>input:placeholder-shown{color:var(--emw--color-gray-150, #828282)}.password__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:var(--emw--color-white, #FFFFFF);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;height:150px;border:1px solid #B0B0B0;}.password__complexity meter{border-color:transparent;}.password__complexity meter[value="1"]::-moz-meter-bar{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter[value="1"]::-webkit-meter-optimum-value{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter:not([value="1"])::-moz-meter-bar{background-color:var(--emw--color-error, #FD2839)}.password__complexity meter:not([value="1"])::-webkit-meter-optimum-value{background-color:var(--emw--color-error, #FD2839)}.password__complexity--strength{display:flex;justify-content:space-evenly;align-items:center}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:"";position:absolute;width:25px;height:25px;border-top:1px solid var(--emw--color-gray-150, #828282);border-right:0 solid var(--emw--color-gray-150, #828282);border-left:1px solid var(--emw--color-gray-150, #828282);border-bottom:0 solid var(--emw--color-gray-150, #828282);bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:var(--emw--color-white, #FFFFFF)}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-150, #828282);color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}',F=C,h=class{constructor(t){s.registerInstance(this,t),this.sendOriginalValidityState=s.createEvent(this,"sendOriginalValidityState",7),this.sendValidityState=s.createEvent(this,"sendValidityState",7),this.sendInputValue=s.createEvent(this,"sendInputValue",7),this.touched=!1,this.originalValid=!1,this.validationPattern="",this.duplicateInputValue=null,this.handleInput=i=>{this.value=i.target.value,this.calculateComplexity(this.value),this.showPopup=!0,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout(()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)},500)},this.handleRevealField=i=>{i.stopPropagation(),window.postMessage({type:`registrationShow${this.name}`},window.location.href)},this.handleBlur=i=>{this.value=i.target.value,this.showPopup=!1,this.touched=!0,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage()},this.handleFocus=()=>{this.showPopup=!0,this.calculateComplexity(this.value)},this.setClientStyling=()=>{let i=document.createElement("style");i.innerHTML=this.clientStyling,this.stylingContainer.prepend(i)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.defaultValue="",this.autofilled=void 0,this.tooltip=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.isDuplicateInput=void 0,this.clientStyling="",this.isValid=void 0,this.errorMessage=void 0,this.limitStylingAppends=!1,this.showTooltip=!1,this.passwordComplexity=void 0,this.showPopup=void 0,this.value=""}handleStylingChange(t,i){t!==i&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),this.emitValue==!0&&this.valueHandler({name:this.name,value:this.value})}valueChanged(){this.isDuplicateInput||(this.calculateComplexity(this.value),this.sendOriginalValidityState.emit({name:this.name,valid:this.setValidity()}))}emitValueHandler(t){t==!0&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"duplicate"})}validityStateHandler(t){this.sendValidityState.emit(t)}valueHandler(t){this.sendInputValue.emit(t)}originalValidityChangedHandler(t){this.isDuplicateInput&&(t.detail.valid?(this.originalValid=!0,this.isValid=this.setValidity()):(this.originalValid=!1,this.isValid=!1,this.value!==""&&(this.errorMessage=this.setErrorMessage())))}valueChangedHandler(t){this.isDuplicateInput&&this.name===t.detail.name+"Duplicate"&&(this.duplicateInputValue=t.detail.value,this.touched&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())),this.name===t.detail.name+"Duplicate"&&this.name.replace("Duplicate","")===t.detail.name&&this.touched===!0&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())}handleClickOutside(t){t.composedPath()[0]!==this.tooltipIconReference&&t.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.inputReference=this.element.shadowRoot.querySelector("input"),this.passwordButton=this.element.shadowRoot.querySelector("vaadin-password-field-button"),this.passwordButton.tabIndex=-1,this.passwordButton.addEventListener("click",t=>{this.handleRevealField(t)}),this.defaultValue&&(this.value=this.defaultValue,this.calculateComplexity(this.value),this.valueHandler({name:this.name,value:this.value}),this.isDuplicateInput&&(this.duplicateInputValue=this.defaultValue,this.touched=!0)),this.isValid=this.setValidity()}disconnectedCallback(){this.passwordButton.removeEventListener("click",this.handleRevealField)}calculateComplexity(t){this.passwordComplexity=this.validation.custom.filter(i=>i.rule==="regex").map(i=>{const r=new RegExp(i.pattern).test(t);return{rule:i.displayName,ruleKey:i.errorKey,passed:r}})}setValidity(){var t,i;return this.isDuplicateInput&&this.duplicateInputValue!==this.value?!1:!((t=this.passwordComplexity)===null||t===void 0)&&t.every(e=>e.passed)?(i=this.inputReference)===null||i===void 0?void 0:i.validity.valid:!1}setPattern(){var t,i;if(((t=this.validation.custom)===null||t===void 0?void 0:t.length)>0)return(i=this.validation.custom.find(e=>e.rule==="regex"))===null||i===void 0?void 0:i.pattern}setErrorMessage(){var t,i,e,r;if(this.isDuplicateInput&&!this.originalValid)return o.translate("invalidOriginalPasswordError",this.language);if(this.inputReference.validity.patternMismatch){const l=(t=this.validation.custom.find(n=>n.rule==="regex"))===null||t===void 0?void 0:t.errorKey,d=(i=this.validation.custom.find(n=>n.rule==="regex"))===null||i===void 0?void 0:i.errorMessage;return o.translate(`${l}`,this.language)?o.translate(`${l}`,this.language):d}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return o.translate("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return o.translate("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const l=(e=this.validation.custom.find(n=>n.rule==="duplicate-input"))===null||e===void 0?void 0:e.errorKey,d=(r=this.validation.custom.find(n=>n.rule==="duplicate-input"))===null||r===void 0?void 0:r.errorMessage;return o.translate(`${l}`,this.language)?o.translate(`${l}`,this.language):d}}renderTooltip(){return this.showTooltip?s.h("div",{class:`password__tooltip ${this.showTooltip?"visible":""}`,ref:t=>this.tooltipReference=t,innerHTML:this.tooltip}):null}renderComplexityPopup(){const t=this.passwordComplexity.length,e=this.passwordComplexity.filter(l=>l.passed).length/t,r=this.passwordComplexity.every(l=>l.passed);return s.h("div",{class:`password__complexity ${this.showPopup?"":"password__complexity--hidden"}`},s.h("div",{class:"password__complexity--strength"},s.h("p",{class:"password__complexity--text"},o.translate("passwordStrength",this.language)," ",s.h("span",{class:"password__complexity--text-bold"},o.translate(`${r?"passwordStrengthStrong":"passwordStrengthWeak"}`,this.language))),s.h("meter",{value:e,min:"0",max:"1"})),s.h("div",null,this.passwordComplexity.map((l,d)=>s.h("div",{key:d},s.h("input",{class:"password__complexity--checkbox",type:"checkbox",checked:l.passed,disabled:!0}),s.h("span",null,o.translate(`${l.ruleKey}`,this.language)?o.translate(`${l.ruleKey}`,this.language):l.rule)))))}render(){let t="";return this.touched&&(t=this.isValid==!0||this.isValid==null?"":"text__input--invalid"),s.h("div",{key:"36d21c63dcd15b6de2d2de417ce97b520493cd16",class:`password__wrapper ${this.autofilled?"password__wrapper--autofilled":""} ${this.name}__input`,ref:i=>this.stylingContainer=i},s.h("div",{key:"3de600f4ccbf2ffe7a8a8858e9d5a483701dd4d7",class:"password__wrapper--flex"},s.h("label",{key:"74fee343f4d6adbbb22e88c5d51d3a471979d42e",class:`password__label ${this.validation.mandatory?"password__label--required":""}`,htmlFor:`${this.name}__input`},this.displayName),s.h("div",{key:"d1f30d776c5612b1a5581859b929bee171105bf5",class:"password__wrapper--relative"},this.tooltip&&s.h("img",{key:"932201990b5fa67f448d4ab8ca7f844f757d5e47",class:"password__tooltip-icon",src:c.tooltipIconSvg,alt:"",ref:i=>this.tooltipIconReference=i,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),s.h("vaadin-password-field",{key:"83f00cb4452b60fd883efcd742d6eb463a8fc729",type:"password",id:`${this.name}__input`,class:`password__input ${t}`,name:this.name,readOnly:this.autofilled,value:this.defaultValue,required:this.validation.mandatory,maxlength:this.validation.maxLength,minlength:this.validation.minLength,pattern:this.validationPattern,placeholder:`${this.placeholder}`,onInput:this.handleInput,onBlur:this.handleBlur,onFocus:this.handleFocus}),s.h("small",{key:"0f6f7ba5e9ec6f492f22a46ac77c7977f7a8e835",class:"password__error-message"},this.errorMessage),this.passwordComplexity&&this.showPopup&&!this.isDuplicateInput&&this.renderComplexityPopup())}get element(){return s.getElement(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}}};h.style=F;exports.player_change_password_gm2=m.PlayerChangePasswordGm2;exports.password_input=h;
|
|
105
|
+
`;let u;class x extends y(p){static get is(){return"vaadin-password-field"}static get template(){if(!u){u=super.template.cloneNode(!0);const i=b.content.querySelector('[part="reveal-button"]');u.content.querySelector('[part="input-field"]').appendChild(i)}return u}}a.defineCustomElement(x);const C='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:"Roboto";font-style:normal}.password__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.password__wrapper--autofilled{pointer-events:none}.password__wrapper--autofilled .password__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__wrapper--autofilled .password__input::part(input-field){color:var(--emw--color-black, #000000)}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.password__input{width:inherit;border:none}.password__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.password__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);background-color:var(--emw--color-white, #FFFFFF);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;position:relative;margin-bottom:unset;height:44px;padding:0;width:100%}.password__input::part(reveal-button){position:relative;right:10px}.password__input::part(reveal-button)::before{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__input>input{padding:5px 15px}.password__input>input:placeholder-shown{color:var(--emw--color-gray-150, #828282)}.password__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:var(--emw--color-white, #FFFFFF);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;height:150px;border:1px solid #B0B0B0;}.password__complexity meter{border-color:transparent;}.password__complexity meter[value="1"]::-moz-meter-bar{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter[value="1"]::-webkit-meter-optimum-value{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter:not([value="1"])::-moz-meter-bar{background-color:var(--emw--color-error, #FD2839)}.password__complexity meter:not([value="1"])::-webkit-meter-optimum-value{background-color:var(--emw--color-error, #FD2839)}.password__complexity--strength{display:flex;justify-content:space-evenly;align-items:center}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:"";position:absolute;width:25px;height:25px;border-top:1px solid var(--emw--color-gray-150, #828282);border-right:0 solid var(--emw--color-gray-150, #828282);border-left:1px solid var(--emw--color-gray-150, #828282);border-bottom:0 solid var(--emw--color-gray-150, #828282);bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:var(--emw--color-white, #FFFFFF)}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-150, #828282);color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}',F=C,h=class{constructor(t){s.registerInstance(this,t),this.sendOriginalValidityState=s.createEvent(this,"sendOriginalValidityState"),this.sendValidityState=s.createEvent(this,"sendValidityState"),this.sendInputValue=s.createEvent(this,"sendInputValue"),this.touched=!1,this.originalValid=!1,this.validationPattern="",this.duplicateInputValue=null,this.handleInput=i=>{this.value=i.target.value,this.calculateComplexity(this.value),this.showPopup=!0,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout(()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)},500)},this.handleRevealField=i=>{i.stopPropagation(),window.postMessage({type:`registrationShow${this.name}`},window.location.href)},this.handleBlur=i=>{this.value=i.target.value,this.showPopup=!1,this.touched=!0,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage()},this.handleFocus=()=>{this.showPopup=!0,this.calculateComplexity(this.value)},this.setClientStyling=()=>{let i=document.createElement("style");i.innerHTML=this.clientStyling,this.stylingContainer.prepend(i)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.defaultValue="",this.autofilled=void 0,this.tooltip=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.isDuplicateInput=void 0,this.clientStyling="",this.isValid=void 0,this.errorMessage=void 0,this.limitStylingAppends=!1,this.showTooltip=!1,this.passwordComplexity=void 0,this.showPopup=void 0,this.value=""}handleStylingChange(t,i){t!==i&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),this.emitValue==!0&&this.valueHandler({name:this.name,value:this.value})}valueChanged(){this.isDuplicateInput||(this.calculateComplexity(this.value),this.sendOriginalValidityState.emit({name:this.name,valid:this.setValidity()}))}emitValueHandler(t){t==!0&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"duplicate"})}validityStateHandler(t){this.sendValidityState.emit(t)}valueHandler(t){this.sendInputValue.emit(t)}originalValidityChangedHandler(t){this.isDuplicateInput&&(t.detail.valid?(this.originalValid=!0,this.isValid=this.setValidity()):(this.originalValid=!1,this.isValid=!1,this.value!==""&&(this.errorMessage=this.setErrorMessage())))}valueChangedHandler(t){this.isDuplicateInput&&this.name===t.detail.name+"Duplicate"&&(this.duplicateInputValue=t.detail.value,this.touched&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())),this.name===t.detail.name+"Duplicate"&&this.name.replace("Duplicate","")===t.detail.name&&this.touched===!0&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())}handleClickOutside(t){t.composedPath()[0]!==this.tooltipIconReference&&t.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.inputReference=this.element.shadowRoot.querySelector("input"),this.passwordButton=this.element.shadowRoot.querySelector("vaadin-password-field-button"),this.passwordButton.tabIndex=-1,this.passwordButton.addEventListener("click",t=>{this.handleRevealField(t)}),this.defaultValue&&(this.value=this.defaultValue,this.calculateComplexity(this.value),this.valueHandler({name:this.name,value:this.value}),this.isDuplicateInput&&(this.duplicateInputValue=this.defaultValue,this.touched=!0)),this.isValid=this.setValidity()}disconnectedCallback(){this.passwordButton.removeEventListener("click",this.handleRevealField)}calculateComplexity(t){this.passwordComplexity=this.validation.custom.filter(i=>i.rule==="regex").map(i=>{const r=new RegExp(i.pattern).test(t);return{rule:i.displayName,ruleKey:i.errorKey,passed:r}})}setValidity(){var t,i;return this.isDuplicateInput&&this.duplicateInputValue!==this.value?!1:!((t=this.passwordComplexity)===null||t===void 0)&&t.every(e=>e.passed)?(i=this.inputReference)===null||i===void 0?void 0:i.validity.valid:!1}setPattern(){var t,i;if(((t=this.validation.custom)===null||t===void 0?void 0:t.length)>0)return(i=this.validation.custom.find(e=>e.rule==="regex"))===null||i===void 0?void 0:i.pattern}setErrorMessage(){var t,i,e,r;if(this.isDuplicateInput&&!this.originalValid)return o.translate("invalidOriginalPasswordError",this.language);if(this.inputReference.validity.patternMismatch){const l=(t=this.validation.custom.find(n=>n.rule==="regex"))===null||t===void 0?void 0:t.errorKey,d=(i=this.validation.custom.find(n=>n.rule==="regex"))===null||i===void 0?void 0:i.errorMessage;return o.translate(`${l}`,this.language)?o.translate(`${l}`,this.language):d}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return o.translate("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return o.translate("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const l=(e=this.validation.custom.find(n=>n.rule==="duplicate-input"))===null||e===void 0?void 0:e.errorKey,d=(r=this.validation.custom.find(n=>n.rule==="duplicate-input"))===null||r===void 0?void 0:r.errorMessage;return o.translate(`${l}`,this.language)?o.translate(`${l}`,this.language):d}}renderTooltip(){return this.showTooltip?s.h("div",{class:`password__tooltip ${this.showTooltip?"visible":""}`,ref:t=>this.tooltipReference=t,innerHTML:this.tooltip}):null}renderComplexityPopup(){const t=this.passwordComplexity.length,e=this.passwordComplexity.filter(l=>l.passed).length/t,r=this.passwordComplexity.every(l=>l.passed);return s.h("div",{class:`password__complexity ${this.showPopup?"":"password__complexity--hidden"}`},s.h("div",{class:"password__complexity--strength"},s.h("p",{class:"password__complexity--text"},o.translate("passwordStrength",this.language)," ",s.h("span",{class:"password__complexity--text-bold"},o.translate(`${r?"passwordStrengthStrong":"passwordStrengthWeak"}`,this.language))),s.h("meter",{value:e,min:"0",max:"1"})),s.h("div",null,this.passwordComplexity.map((l,d)=>s.h("div",{key:d},s.h("input",{class:"password__complexity--checkbox",type:"checkbox",checked:l.passed,disabled:!0}),s.h("span",null,o.translate(`${l.ruleKey}`,this.language)?o.translate(`${l.ruleKey}`,this.language):l.rule)))))}render(){let t="";return this.touched&&(t=this.isValid==!0||this.isValid==null?"":"text__input--invalid"),s.h("div",{key:"36d21c63dcd15b6de2d2de417ce97b520493cd16",class:`password__wrapper ${this.autofilled?"password__wrapper--autofilled":""} ${this.name}__input`,ref:i=>this.stylingContainer=i},s.h("div",{key:"3de600f4ccbf2ffe7a8a8858e9d5a483701dd4d7",class:"password__wrapper--flex"},s.h("label",{key:"74fee343f4d6adbbb22e88c5d51d3a471979d42e",class:`password__label ${this.validation.mandatory?"password__label--required":""}`,htmlFor:`${this.name}__input`},this.displayName),s.h("div",{key:"d1f30d776c5612b1a5581859b929bee171105bf5",class:"password__wrapper--relative"},this.tooltip&&s.h("img",{key:"932201990b5fa67f448d4ab8ca7f844f757d5e47",class:"password__tooltip-icon",src:c.tooltipIconSvg,alt:"",ref:i=>this.tooltipIconReference=i,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),s.h("vaadin-password-field",{key:"83f00cb4452b60fd883efcd742d6eb463a8fc729",type:"password",id:`${this.name}__input`,class:`password__input ${t}`,name:this.name,readOnly:this.autofilled,value:this.defaultValue,required:this.validation.mandatory,maxlength:this.validation.maxLength,minlength:this.validation.minLength,pattern:this.validationPattern,placeholder:`${this.placeholder}`,onInput:this.handleInput,onBlur:this.handleBlur,onFocus:this.handleFocus}),s.h("small",{key:"0f6f7ba5e9ec6f492f22a46ac77c7977f7a8e835",class:"password__error-message"},this.errorMessage),this.passwordComplexity&&this.showPopup&&!this.isDuplicateInput&&this.renderComplexityPopup())}get element(){return s.getElement(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}}};h.style=F;exports.player_change_password_gm2=m.PlayerChangePasswordGm2;exports.password_input=h;
|