@everymatrix/player-account-controller 1.54.12 → 1.55.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.
Files changed (161) hide show
  1. package/components/GeneralLogout-BW6b3iuS.cjs +8 -0
  2. package/components/{GeneralLogout-BO_iHKNr.js → GeneralLogout-DMvKimEo.js} +735 -713
  3. package/components/{GeneralLogout-CwSCMNgW.js → GeneralLogout-GS7gE3LI.js} +610 -588
  4. package/components/{PlayerAccountBettingHistory-Cb8OMNy9.cjs → PlayerAccountBettingHistory-BsFzBNDY.cjs} +1 -1
  5. package/components/{PlayerAccountBettingHistory-BoeZFFFu.js → PlayerAccountBettingHistory-DUgPRDra.js} +24 -24
  6. package/components/{PlayerAccountBettingHistory-C6G8D9gE.js → PlayerAccountBettingHistory-YNLbWHxl.js} +24 -24
  7. package/components/{PlayerAccountBiometrics-DbzqR4YB.cjs → PlayerAccountBiometrics-BrlNlZ5N.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-TQaVyCUp.js → PlayerAccountBiometrics-CARn4eVu.js} +26 -26
  9. package/components/{PlayerAccountBiometrics-C6n6AU67.js → PlayerAccountBiometrics-CXLK5_xT.js} +26 -26
  10. package/components/{PlayerAccountClosure-mb6TcNFj.js → PlayerAccountClosure-BQsYcTs7.js} +13 -13
  11. package/components/{PlayerAccountClosure-RO3lnj8F.js → PlayerAccountClosure-BkKcpa4J.js} +13 -13
  12. package/components/{PlayerAccountClosure-CoKkAlIq.cjs → PlayerAccountClosure-DfJc6Ip_.cjs} +1 -1
  13. package/components/{PlayerAccountController-B99YscRG.js → PlayerAccountController-5iMZlx1a.js} +128 -128
  14. package/components/{PlayerAccountController-C2q8ibgU.cjs → PlayerAccountController-7FPLehfk.cjs} +1 -1
  15. package/components/{PlayerAccountController-Nco62fa4.js → PlayerAccountController-BhRqOpNe.js} +126 -126
  16. package/components/{PlayerAccountGamingLimits-Bc6vqzq1.js → PlayerAccountGamingLimits-B2-Mgazd.js} +19 -19
  17. package/components/{PlayerAccountGamingLimits-DbX9_Kpb.cjs → PlayerAccountGamingLimits-BPQrptbd.cjs} +1 -1
  18. package/components/{PlayerAccountGamingLimits-DiyC185P.js → PlayerAccountGamingLimits-DwpArRnO.js} +19 -19
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-BnOXTUlS.js → PlayerAccountGamingLimitsConfirmationModal-CNTlXu7V.js} +30 -30
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-x0MkZXMQ.js → PlayerAccountGamingLimitsConfirmationModal-DefxnTKN.js} +30 -30
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-CnGLRHzu.cjs → PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-dprcKEZC.js → PlayerAccountGamingLimitsGroupEdit-CDY-ylK7.js} +51 -51
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-Crmi-e6x.js → PlayerAccountGamingLimitsGroupEdit-Cj7PXLH2.js} +51 -51
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-DYe0OoaG.cjs → PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs} +2 -2
  25. package/components/{PlayerAccountGamingLimitsHistory2-DiAUM6kQ.js → PlayerAccountGamingLimitsHistory2-2NpX8p0k.js} +44 -44
  26. package/components/{PlayerAccountGamingLimitsHistory2-CS4fpWhH.cjs → PlayerAccountGamingLimitsHistory2-B_7Y0DgS.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2-Dt9CSOvf.js → PlayerAccountGamingLimitsHistory2-DF8kvIf6.js} +46 -46
  28. package/components/{PlayerAccountGamingLimitsInfoCard-DFsD9RSx.cjs → PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs} +1 -1
  29. package/components/{PlayerAccountGamingLimitsInfoCard-D9MKGXei.js → PlayerAccountGamingLimitsInfoCard-CNvQOw3A.js} +95 -95
  30. package/components/{PlayerAccountGamingLimitsInfoCard-Bd4vV7fT.js → PlayerAccountGamingLimitsInfoCard-D3sJXuZa.js} +95 -95
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-8-RWZDSp.cjs → PlayerAccountGamingLimitsPage2Gm16-BiFzgvUx.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-C9VhT1ek.js → PlayerAccountGamingLimitsPage2Gm16-C7_DGAt1.js} +72 -72
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-WSk66pxJ.js → PlayerAccountGamingLimitsPage2Gm16-Dz6knJ_h.js} +122 -122
  34. package/components/{PlayerAccountGamingLimitsPopup-C2R4OzUK.js → PlayerAccountGamingLimitsPopup-BlCz3nIH.js} +17 -17
  35. package/components/{PlayerAccountGamingLimitsPopup-DLqNpo7V.js → PlayerAccountGamingLimitsPopup-Bt4YlCWi.js} +17 -17
  36. package/components/{PlayerAccountGamingLimitsPopup-zTXU7ohP.cjs → PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsWrapper2-D3NmPjvT.js → PlayerAccountGamingLimitsWrapper2-D3tW5CCc.js} +8 -8
  38. package/components/{PlayerAccountGamingLimitsWrapper2-CXP2X7Lk.cjs → PlayerAccountGamingLimitsWrapper2-Dg6CwNyN.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsWrapper2-Cr1xbzbX.js → PlayerAccountGamingLimitsWrapper2-RnvNKSgN.js} +8 -8
  40. package/components/{PlayerAccountGeneralConfirmationModal-CnGS36kY.cjs → PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs} +1 -1
  41. package/components/{PlayerAccountGeneralConfirmationModal-BrcO0n_o.js → PlayerAccountGeneralConfirmationModal-D3u9X3Q6.js} +39 -39
  42. package/components/{PlayerAccountGeneralConfirmationModal-DHuSzGQn.js → PlayerAccountGeneralConfirmationModal-SjPp-PVG.js} +39 -39
  43. package/components/{PlayerAccountMenu-VCDFEkVV.js → PlayerAccountMenu-5esyJ_VN.js} +20 -20
  44. package/components/{PlayerAccountMenu-kULPvwXH.cjs → PlayerAccountMenu-C704oUrC.cjs} +1 -1
  45. package/components/{PlayerAccountMenu-Bnj75Pyr.js → PlayerAccountMenu-DgptA72k.js} +17 -17
  46. package/components/{PlayerAccountModal-BGNjm-FU.js → PlayerAccountModal-BnWL5726.js} +28 -28
  47. package/components/{PlayerAccountModal-DLxnK5Aq.cjs → PlayerAccountModal-C7aZZlBw.cjs} +1 -1
  48. package/components/{PlayerAccountModal-d2eY7pgp.js → PlayerAccountModal-CbLpkfXY.js} +28 -28
  49. package/components/{PlayerAccountNotifications-BkPn9o0x.js → PlayerAccountNotifications-B02Ownhe.js} +16 -16
  50. package/components/{PlayerAccountNotifications-DwHaboef.js → PlayerAccountNotifications-C-lyz5dM.js} +16 -16
  51. package/components/{PlayerAccountNotifications-DLpnh54-.cjs → PlayerAccountNotifications-DkgHtUGj.cjs} +1 -1
  52. package/components/PlayerAccountSelfExclusion-BS89T7sZ.cjs +4171 -0
  53. package/components/{PlayerAccountSelfExclusion-Dsc1c5ET.js → PlayerAccountSelfExclusion-BkK_LRpi.js} +9840 -9439
  54. package/components/{PlayerAccountSelfExclusion-C-Gq5xhb.js → PlayerAccountSelfExclusion-D6Kby-08.js} +9320 -8965
  55. package/components/{PlayerAccountTimeout-DX8TE-kL.cjs → PlayerAccountTimeout-DMbUPtRy.cjs} +1 -1
  56. package/components/{PlayerAccountTimeout-DPGSPm6O.js → PlayerAccountTimeout-DWNG3Mes.js} +25 -25
  57. package/components/{PlayerAccountTimeout-BrX6tkl3.js → PlayerAccountTimeout-tPNVqlAT.js} +25 -25
  58. package/components/PlayerActiveBonuses-B9jz3QD8.cjs +1 -0
  59. package/components/{PlayerActiveBonuses-DZ1TuekM.js → PlayerActiveBonuses-SCbHFBuw.js} +392 -443
  60. package/components/{PlayerActiveBonuses-WBu-rYFj.js → PlayerActiveBonuses-dRIcHoZG.js} +415 -466
  61. package/components/{PlayerBonusCard-BtSC36hN.js → PlayerBonusCard-8uOU9OLG.js} +50 -50
  62. package/components/{PlayerBonusCard-DqHyFS9o.cjs → PlayerBonusCard-BC8FfHZz.cjs} +1 -1
  63. package/components/{PlayerBonusCard-Ci1k7NFv.js → PlayerBonusCard-Cppd6wFF.js} +50 -50
  64. package/components/{PlayerBonusHistory-C7m0o7Yl.js → PlayerBonusHistory-44sPM1i7.js} +30 -30
  65. package/components/{PlayerBonusHistory-D-qDx10G.cjs → PlayerBonusHistory-D2YSJiqi.cjs} +1 -1
  66. package/components/{PlayerBonusHistory-DDNLaEBO.js → PlayerBonusHistory-DWvXjCPO.js} +30 -30
  67. package/components/{PlayerChangePassword-B4VW3taV.cjs → PlayerChangePassword-CzR4Xz0H.cjs} +1 -1
  68. package/components/{PlayerChangePassword-Bhfh3D2M.js → PlayerChangePassword-N_UEFJNT.js} +103 -103
  69. package/components/{PlayerChangePassword-Dk7vlEEM.js → PlayerChangePassword-OM9U8MSx.js} +103 -103
  70. package/components/PlayerDeposit-CwMvcnsj.js +414 -0
  71. package/components/PlayerDeposit-D_78W5GC.cjs +1 -0
  72. package/components/PlayerDeposit-Q2N0Y2_v.js +414 -0
  73. package/components/{PlayerGamingHistory-CaYFZtwD.js → PlayerGamingHistory-BLQD-WyT.js} +54 -54
  74. package/components/{PlayerGamingHistory-CcFH-mIk.cjs → PlayerGamingHistory-DRkPp9aG.cjs} +1 -1
  75. package/components/{PlayerGamingHistory-BPF2pyCO.js → PlayerGamingHistory-XiAb60Gu.js} +59 -59
  76. package/components/{PlayerPendingWithdrawals-BvhoX5n1.cjs → PlayerPendingWithdrawals-BG3I8ifu.cjs} +1 -1
  77. package/components/{PlayerPendingWithdrawals-DQ_Nh38H.js → PlayerPendingWithdrawals-BSTgce9H.js} +33 -33
  78. package/components/{PlayerPendingWithdrawals-DabTg_Hg.js → PlayerPendingWithdrawals-BsCRRPqb.js} +33 -33
  79. package/components/{PlayerProfileInfo-D7thO7JS.js → PlayerProfileInfo-C7zRlD3p.js} +45 -45
  80. package/components/{PlayerProfileInfo-DQflJzdX.cjs → PlayerProfileInfo-CGsJydqv.cjs} +1 -1
  81. package/components/{PlayerProfileInfo-AEY5xCAX.js → PlayerProfileInfo-zmbAMe_l.js} +45 -45
  82. package/components/{PlayerRealityCheck-6ZyJUl5U.js → PlayerRealityCheck-A_mZq3YZ.js} +27 -27
  83. package/components/{PlayerRealityCheck-DMI_8YfG.cjs → PlayerRealityCheck-C26ZBWae.cjs} +1 -1
  84. package/components/{PlayerRealityCheck-CzPyJQgR.js → PlayerRealityCheck-D7u9BzPV.js} +26 -26
  85. package/components/{PlayerTransactionHistory-Dj8ABxFp.cjs → PlayerTransactionHistory-CJqhYnbs.cjs} +1 -1
  86. package/components/{PlayerTransactionHistory-CSK3J3Na.js → PlayerTransactionHistory-DllIB_qE.js} +23 -23
  87. package/components/{PlayerTransactionHistory-DmTfwUdw.js → PlayerTransactionHistory-DsRmd4u6.js} +23 -23
  88. package/components/{PlayerWithdrawal-BrqShTsy.js → PlayerWithdrawal-CGSnHppy.js} +20 -20
  89. package/components/{PlayerWithdrawal-BwymNFiL.cjs → PlayerWithdrawal-GDc_7hZX.cjs} +1 -1
  90. package/components/{PlayerWithdrawal-ct79yXDc.js → PlayerWithdrawal-t5mlX5CD.js} +20 -20
  91. package/es2015/player-account-controller.cjs +1 -1
  92. package/es2015/player-account-controller.js +1 -1
  93. package/esnext/player-account-controller.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/{checkbox-group-input_9-9b62GyCW.js → checkbox-group-input_9-Cny9rOs9.js} +2490 -3376
  96. package/stencil/{checkbox-group-input_9-BDryW6Wx.js → checkbox-group-input_9-DZvX2H_r.js} +2434 -3306
  97. package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +2104 -0
  98. package/stencil/{general-input-BXIgsD0E.js → general-input-Yj_LRx0v.js} +6 -6
  99. package/stencil/{general-input-CwyM4h8z.js → general-input-d5RULL12.js} +6 -6
  100. package/stencil/general-input-igTYIJ6W.cjs +1 -0
  101. package/stencil/index-0437c9c0-BwGFk0Yq.js +565 -0
  102. package/stencil/index-0437c9c0-C_oD9Yfn.js +592 -0
  103. package/stencil/index-0437c9c0-oCxuDVFQ.cjs +1 -0
  104. package/stencil/index-657e7a14-B7-RqEpB.js +572 -0
  105. package/stencil/index-657e7a14-CrrA_w_5.cjs +1 -0
  106. package/stencil/index-657e7a14-DW4SbCqy.js +588 -0
  107. package/stencil/index-72d2f0c7--qtpsDOz.js +642 -0
  108. package/stencil/index-72d2f0c7-DldCMjBJ.cjs +1 -0
  109. package/stencil/index-72d2f0c7-DyMEJXra.js +626 -0
  110. package/stencil/index-e8249896-BjtvOmsZ.cjs +1 -0
  111. package/stencil/index-e8249896-CM_igLvD.js +658 -0
  112. package/stencil/index-e8249896-DW1YiUqn.js +631 -0
  113. package/stencil/password-input_2-CHOu4hgw.js +1420 -0
  114. package/stencil/password-input_2-DQAgV1SZ.cjs +896 -0
  115. package/stencil/password-input_2-DaiHlKbQ.js +1420 -0
  116. package/stencil/{player-change-password-gm2-2de114b8-j-W8UbVm.cjs → player-change-password-gm2-780eb445-CdItmoKI.cjs} +1 -1
  117. package/stencil/{player-change-password-gm2-2de114b8-BXdScOXy.js → player-change-password-gm2-780eb445-Cg8Z75Vz.js} +3 -3
  118. package/stencil/{player-change-password-gm2-2de114b8-D375sYxZ.js → player-change-password-gm2-780eb445-DEjz9Jjk.js} +3 -3
  119. package/stencil/{player-change-password-gm2-DLw7pfT_.cjs → player-change-password-gm2-BR82_Y4L.cjs} +1 -1
  120. package/stencil/{player-change-password-gm2-BDCYchnQ.js → player-change-password-gm2-DlMNv4hv.js} +1 -1
  121. package/stencil/{player-change-password-gm2-CQtvRl58.js → player-change-password-gm2-FHUeecdE.js} +1 -1
  122. package/stencil/{player-kyc-verification-KcMUMtzd.js → player-kyc-verification-CZy8RShe.js} +43 -43
  123. package/stencil/{player-kyc-verification-BZX3owFI.js → player-kyc-verification-DuUII5AF.js} +39 -39
  124. package/stencil/{player-kyc-verification-CnOn9bB_.cjs → player-kyc-verification-DxpMnJ6t.cjs} +2 -2
  125. package/stencil/{toggle-checkbox-input-BqotLJuA.js → toggle-checkbox-input-Co64_7cm.js} +7 -7
  126. package/stencil/{toggle-checkbox-input-DFpk-vL2.js → toggle-checkbox-input-ErX2Ngat.js} +7 -7
  127. package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +1 -0
  128. package/stencil/{user-deposit-withdrawal-BZXlCCQr.cjs → user-deposit-withdrawal-Cum51n64.cjs} +2 -2
  129. package/stencil/{user-deposit-withdrawal-6RE0dcHP.js → user-deposit-withdrawal-DRo4MaOR.js} +24 -24
  130. package/stencil/{user-deposit-withdrawal-D7AuBXPO.js → user-deposit-withdrawal-DsEm--6b.js} +24 -24
  131. package/stencil/{user-transaction-history-DW482EoT.js → user-transaction-history-BpBJPUwq.js} +10 -10
  132. package/stencil/{user-transaction-history-CLdEzp7O.cjs → user-transaction-history-C3_7vgUY.cjs} +1 -1
  133. package/stencil/{user-transaction-history-CtDvqHoF.js → user-transaction-history-ClGHRdoQ.js} +7 -7
  134. package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +3018 -0
  135. package/stencil/{vaadin-button-mixin-b8087c3c-DMeIIR12.js → vaadin-button-6001b2a6-CZwj1qjO.js} +5818 -5228
  136. package/stencil/{vaadin-button-mixin-b8087c3c-DTenw4S9.js → vaadin-button-6001b2a6-Dqz5Vp8D.js} +3935 -3299
  137. package/components/GeneralLogout-CMYMtWfC.cjs +0 -8
  138. package/components/PlayerAccountSelfExclusion-Dlkeebgy.cjs +0 -3557
  139. package/components/PlayerActiveBonuses-T1itpvjq.cjs +0 -1
  140. package/components/PlayerDeposit-B04mpHHT.js +0 -395
  141. package/components/PlayerDeposit-CH0pw_GN.cjs +0 -1
  142. package/components/PlayerDeposit-DJXOEJyq.js +0 -395
  143. package/stencil/checkbox-group-input_9-B0JD93gn.cjs +0 -2045
  144. package/stencil/general-input-BL1L8PI-.cjs +0 -1
  145. package/stencil/index-0a27499c-BaAMIKJI.js +0 -724
  146. package/stencil/index-0a27499c-DaAhyku1.js +0 -697
  147. package/stencil/index-0a27499c-vG7Av-0V.cjs +0 -1
  148. package/stencil/index-1d58b17d-BREebYgt.js +0 -658
  149. package/stencil/index-1d58b17d-CY3tvLdR.js +0 -631
  150. package/stencil/index-1d58b17d-oagDV-gC.cjs +0 -1
  151. package/stencil/index-45f4006f-CL2s7me-.cjs +0 -1
  152. package/stencil/index-45f4006f-D9GyS-vs.js +0 -638
  153. package/stencil/index-45f4006f-DKAxZFDZ.js +0 -654
  154. package/stencil/index-92b64862-Bnmv00O2.js +0 -708
  155. package/stencil/index-92b64862-CK1ANWGa.cjs +0 -1
  156. package/stencil/index-92b64862-CO3_TP5h.js +0 -692
  157. package/stencil/password-input_2-B5ePukhS.js +0 -569
  158. package/stencil/password-input_2-D3ziy4Iu.cjs +0 -105
  159. package/stencil/password-input_2-ZN0C3aqj.js +0 -569
  160. package/stencil/toggle-checkbox-input-n5b3s-CU.cjs +0 -1
  161. package/stencil/vaadin-button-mixin-b8087c3c-BzMgQwsM.cjs +0 -2385
@@ -1,724 +0,0 @@
1
- var wt = Object.defineProperty;
2
- var m = Object.getOwnPropertySymbols;
3
- var Tt = Object.prototype.hasOwnProperty, _t = Object.prototype.propertyIsEnumerable;
4
- var M = (t, e, s) => e in t ? wt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, V = (t, e) => {
5
- for (var s in e || (e = {}))
6
- Tt.call(e, s) && M(t, s, e[s]);
7
- if (m)
8
- for (var s of m(e))
9
- _t.call(e, s) && M(t, s, e[s]);
10
- return t;
11
- };
12
- var j = (t, e, s) => new Promise((n, r) => {
13
- var $ = (o) => {
14
- try {
15
- i(s.next(o));
16
- } catch (a) {
17
- r(a);
18
- }
19
- }, l = (o) => {
20
- try {
21
- i(s.throw(o));
22
- } catch (a) {
23
- r(a);
24
- }
25
- }, i = (o) => o.done ? n(o.value) : Promise.resolve(o.value).then($, l);
26
- i((s = s.apply(t, e)).next());
27
- });
28
- const At = "user-transaction-history", X = (
29
- /* user-transaction-history */
30
- { hydratedSelectorName: "hydrated", lazyLoad: !0, updatable: !0 }
31
- );
32
- var Ot = Object.defineProperty, jt = (t, e) => {
33
- for (var s in e)
34
- Ot(t, s, { get: e[s], enumerable: !0 });
35
- }, It = "http://www.w3.org/2000/svg", bt = "http://www.w3.org/1999/xhtml", Y = /* @__PURE__ */ new WeakMap(), k = (t) => Y.get(t), ke = (t, e) => {
36
- Y.set(e.$lazyInstance$ = t, e);
37
- }, zt = (t, e) => {
38
- const s = {
39
- $flags$: 0,
40
- $hostElement$: t,
41
- $cmpMeta$: e,
42
- $instanceValues$: /* @__PURE__ */ new Map()
43
- };
44
- return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), t["s-p"] = [], t["s-rc"] = [], Y.set(t, s);
45
- }, N = (t, e) => e in t, P = (t, e) => (0, console.error)(t, e), q = /* @__PURE__ */ new Map(), Ht = (t, e, s) => {
46
- const n = t.$tagName$.replace(/-/g, "_"), r = t.$lazyBundleId$;
47
- if (!r)
48
- return;
49
- const $ = q.get(r);
50
- if ($)
51
- return $[n];
52
- {
53
- const l = (i) => (q.set(r, i), i[n]);
54
- switch (r) {
55
- case "user-transaction-history":
56
- return import(
57
- /* webpackMode: "lazy" */
58
- "./user-transaction-history-DW482EoT.js"
59
- ).then(l, P);
60
- }
61
- }
62
- return import(
63
- /* @vite-ignore */
64
- /* webpackInclude: /\.entry\.js$/ */
65
- /* webpackExclude: /\.system\.entry\.js$/ */
66
- /* webpackMode: "lazy" */
67
- `./${r}.entry.js`
68
- ).then(
69
- (l) => (q.set(r, l), l[n]),
70
- (l) => {
71
- P(l, e.$hostElement$);
72
- }
73
- );
74
- }, z = /* @__PURE__ */ new Map(), Ut = "sty-id", qt = "{visibility:hidden}.hydrated{visibility:inherit}", lt = "slot-fb{display:contents}slot-fb[hidden]{display:none}", tt = "http://www.w3.org/1999/xlink", A = typeof window != "undefined" ? window : {}, L = A.document || { head: {} }, p = {
75
- $flags$: 0,
76
- $resourcesUrl$: "",
77
- jmp: (t) => t(),
78
- raf: (t) => requestAnimationFrame(t),
79
- ael: (t, e, s, n) => t.addEventListener(e, s, n),
80
- rel: (t, e, s, n) => t.removeEventListener(e, s, n),
81
- ce: (t, e) => new CustomEvent(t, e)
82
- }, Bt = /* @__PURE__ */ (() => {
83
- let t = !1;
84
- try {
85
- L.addEventListener(
86
- "e",
87
- null,
88
- Object.defineProperty({}, "passive", {
89
- get() {
90
- t = !0;
91
- }
92
- })
93
- );
94
- } catch (e) {
95
- }
96
- return t;
97
- })(), Dt = (t) => Promise.resolve(t), at = /* @__PURE__ */ (() => {
98
- try {
99
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
100
- } catch (t) {
101
- }
102
- return !1;
103
- })(), D = !1, et = [], ot = [], Rt = (t, e) => (s) => {
104
- t.push(s), D || (D = !0, p.$flags$ & 4 ? F(R) : p.raf(R));
105
- }, st = (t) => {
106
- for (let e = 0; e < t.length; e++)
107
- try {
108
- t[e](performance.now());
109
- } catch (s) {
110
- P(s);
111
- }
112
- t.length = 0;
113
- }, R = () => {
114
- st(et), st(ot), (D = et.length > 0) && p.raf(R);
115
- }, F = (t) => Dt().then(t), Wt = /* @__PURE__ */ Rt(ot), Le = (t) => {
116
- const e = new URL(t, p.$resourcesUrl$);
117
- return e.origin !== A.location.origin ? e.href : e.pathname;
118
- }, K = (t) => (t = typeof t, t === "object" || t === "function");
119
- function ct(t) {
120
- var e, s, n;
121
- return (n = (s = (e = t.head) == null ? void 0 : e.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? n : void 0;
122
- }
123
- var Gt = {};
124
- jt(Gt, {
125
- err: () => ft,
126
- map: () => Ct,
127
- ok: () => W,
128
- unwrap: () => Xt,
129
- unwrapErr: () => Yt
130
- });
131
- var W = (t) => ({
132
- isOk: !0,
133
- isErr: !1,
134
- value: t
135
- }), ft = (t) => ({
136
- isOk: !1,
137
- isErr: !0,
138
- value: t
139
- });
140
- function Ct(t, e) {
141
- if (t.isOk) {
142
- const s = e(t.value);
143
- return s instanceof Promise ? s.then((n) => W(n)) : W(s);
144
- }
145
- if (t.isErr) {
146
- const s = t.value;
147
- return ft(s);
148
- }
149
- throw "should never get here";
150
- }
151
- var Xt = (t) => {
152
- if (t.isOk)
153
- return t.value;
154
- throw t.value;
155
- }, Yt = (t) => {
156
- if (t.isErr)
157
- return t.value;
158
- throw t.value;
159
- }, x = (t, e = "") => () => {
160
- }, Ft = (t, e) => () => {
161
- }, ut = (t, e, ...s) => {
162
- let n = null, r = null, $ = !1, l = !1;
163
- const i = [], o = (c) => {
164
- for (let u = 0; u < c.length; u++)
165
- n = c[u], Array.isArray(n) ? o(n) : n != null && typeof n != "boolean" && (($ = typeof t != "function" && !K(n)) && (n = String(n)), $ && l ? i[i.length - 1].$text$ += n : i.push($ ? H(null, n) : n), l = $);
166
- };
167
- if (o(s), e) {
168
- e.key && (r = e.key);
169
- {
170
- const c = e.className || e.class;
171
- c && (e.class = typeof c != "object" ? c : Object.keys(c).filter((u) => c[u]).join(" "));
172
- }
173
- }
174
- if (typeof t == "function")
175
- return t(
176
- e === null ? {} : e,
177
- i,
178
- Qt
179
- );
180
- const a = H(t, null);
181
- return a.$attrs$ = e, i.length > 0 && (a.$children$ = i), a.$key$ = r, a;
182
- }, H = (t, e) => {
183
- const s = {
184
- $flags$: 0,
185
- $tag$: t,
186
- $text$: e,
187
- $elm$: null,
188
- $children$: null
189
- };
190
- return s.$attrs$ = null, s.$key$ = null, s;
191
- }, Kt = {}, Jt = (t) => t && t.$tag$ === Kt, Qt = {
192
- forEach: (t, e) => t.map(nt).forEach(e),
193
- map: (t, e) => t.map(nt).map(e).map(Zt)
194
- }, nt = (t) => ({
195
- vattrs: t.$attrs$,
196
- vchildren: t.$children$,
197
- vkey: t.$key$,
198
- vname: t.$name$,
199
- vtag: t.$tag$,
200
- vtext: t.$text$
201
- }), Zt = (t) => {
202
- if (typeof t.vtag == "function") {
203
- const s = V({}, t.vattrs);
204
- return t.vkey && (s.key = t.vkey), t.vname && (s.name = t.vname), ut(t.vtag, s, ...t.vchildren || []);
205
- }
206
- const e = H(t.vtag, t.vtext);
207
- return e.$attrs$ = t.vattrs, e.$children$ = t.vchildren, e.$key$ = t.vkey, e.$name$ = t.vname, e;
208
- }, G = (t, e) => t != null && !K(t) ? e & 4 ? t === "false" ? !1 : t === "" || !!t : e & 1 ? String(t) : t : t, xe = (t) => k(t).$hostElement$, mt = (t, e, s) => {
209
- const n = p.ce(e, s);
210
- return t.dispatchEvent(n), n;
211
- }, _ = /* @__PURE__ */ new WeakMap(), Mt = (t, e, s) => {
212
- let n = z.get(t);
213
- at && s ? (n = n || new CSSStyleSheet(), typeof n == "string" ? n = e : n.replaceSync(e)) : n = e, z.set(t, n);
214
- }, Vt = (t, e, s) => {
215
- var n;
216
- const r = dt(e), $ = z.get(r);
217
- if (t = t.nodeType === 11 ? t : L, $)
218
- if (typeof $ == "string") {
219
- t = t.head || t;
220
- let l = _.get(t), i;
221
- if (l || _.set(t, l = /* @__PURE__ */ new Set()), !l.has(r)) {
222
- {
223
- i = document.querySelector(`[${Ut}="${r}"]`) || L.createElement("style"), i.innerHTML = $;
224
- const o = (n = p.$nonce$) != null ? n : ct(L);
225
- if (o != null && i.setAttribute("nonce", o), !(e.$flags$ & 1))
226
- if (t.nodeName === "HEAD") {
227
- const a = t.querySelectorAll("link[rel=preconnect]"), c = a.length > 0 ? a[a.length - 1].nextSibling : t.querySelector("style");
228
- t.insertBefore(
229
- i,
230
- (c == null ? void 0 : c.parentNode) === t ? c : null
231
- );
232
- } else if ("host" in t)
233
- if (at) {
234
- const a = new CSSStyleSheet();
235
- a.replaceSync($), t.adoptedStyleSheets = [a, ...t.adoptedStyleSheets];
236
- } else {
237
- const a = t.querySelector("style");
238
- a ? a.innerHTML = $ + a.innerHTML : t.prepend(i);
239
- }
240
- else
241
- t.append(i);
242
- e.$flags$ & 1 && t.insertBefore(i, null);
243
- }
244
- e.$flags$ & 4 && (i.innerHTML += lt), l && l.add(r);
245
- }
246
- } else t.adoptedStyleSheets.includes($) || (t.adoptedStyleSheets = [...t.adoptedStyleSheets, $]);
247
- return r;
248
- }, Nt = (t) => {
249
- const e = t.$cmpMeta$, s = t.$hostElement$, n = e.$flags$, r = x("attachStyles", e.$tagName$), $ = Vt(
250
- s.shadowRoot ? s.shadowRoot : s.getRootNode(),
251
- e
252
- );
253
- (n & 10 && n & 2 || n & 128) && (s["s-sc"] = $, s.classList.add($ + "-h")), r();
254
- }, dt = (t, e) => "sc-" + t.$tagName$, rt = (t, e, s, n, r, $, l) => {
255
- if (s !== n) {
256
- let i = N(t, e), o = e.toLowerCase();
257
- if (e === "class") {
258
- const a = t.classList, c = it(s);
259
- let u = it(n);
260
- a.remove(...c.filter((f) => f && !u.includes(f))), a.add(...u.filter((f) => f && !c.includes(f)));
261
- } else if (e === "style") {
262
- for (const a in s)
263
- (!n || n[a] == null) && (a.includes("-") ? t.style.removeProperty(a) : t.style[a] = "");
264
- for (const a in n)
265
- (!s || n[a] !== s[a]) && (a.includes("-") ? t.style.setProperty(a, n[a]) : t.style[a] = n[a]);
266
- } else if (e !== "key") if (e === "ref")
267
- n && n(t);
268
- else if (!i && e[0] === "o" && e[1] === "n") {
269
- if (e[2] === "-" ? e = e.slice(3) : N(A, o) ? e = o.slice(2) : e = o[2] + e.slice(3), s || n) {
270
- const a = e.endsWith(vt);
271
- e = e.replace(ee, ""), s && p.rel(t, e, s, a), n && p.ael(t, e, n, a);
272
- }
273
- } else {
274
- const a = K(n);
275
- if ((i || a && n !== null) && !r)
276
- try {
277
- if (t.tagName.includes("-"))
278
- t[e] !== n && (t[e] = n);
279
- else {
280
- const u = n == null ? "" : n;
281
- e === "list" ? i = !1 : (s == null || t[e] != u) && (typeof t.__lookupSetter__(e) == "function" ? t[e] = u : t.setAttribute(e, u));
282
- }
283
- } catch (u) {
284
- }
285
- let c = !1;
286
- o !== (o = o.replace(/^xlink\:?/, "")) && (e = o, c = !0), n == null || n === !1 ? (n !== !1 || t.getAttribute(e) === "") && (c ? t.removeAttributeNS(tt, e) : t.removeAttribute(e)) : (!i || $ & 4 || r) && !a && (n = n === !0 ? "" : n, c ? t.setAttributeNS(tt, e, n) : t.setAttribute(e, n));
287
- }
288
- }
289
- }, te = /\s/, it = (t) => (typeof t == "object" && t && "baseVal" in t && (t = t.baseVal), !t || typeof t != "string" ? [] : t.split(te)), vt = "Capture", ee = new RegExp(vt + "$"), pt = (t, e, s, n) => {
290
- const r = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, $ = t && t.$attrs$ || {}, l = e.$attrs$ || {};
291
- for (const i of $t(Object.keys($)))
292
- i in l || rt(
293
- r,
294
- i,
295
- $[i],
296
- void 0,
297
- s,
298
- e.$flags$
299
- );
300
- for (const i of $t(Object.keys(l)))
301
- rt(
302
- r,
303
- i,
304
- $[i],
305
- l[i],
306
- s,
307
- e.$flags$
308
- );
309
- };
310
- function $t(t) {
311
- return t.includes("ref") ? (
312
- // we need to sort these to ensure that `'ref'` is the last attr
313
- [...t.filter((e) => e !== "ref"), "ref"]
314
- ) : (
315
- // no need to sort, return the original array
316
- t
317
- );
318
- }
319
- var J, y = !1, U = (t, e, s) => {
320
- const n = e.$children$[s];
321
- let r = 0, $, l;
322
- if (n.$text$ !== null)
323
- $ = n.$elm$ = L.createTextNode(n.$text$);
324
- else {
325
- if (y || (y = n.$tag$ === "svg"), $ = n.$elm$ = L.createElementNS(
326
- y ? It : bt,
327
- n.$tag$
328
- ), y && n.$tag$ === "foreignObject" && (y = !1), pt(null, n, y), n.$children$)
329
- for (r = 0; r < n.$children$.length; ++r)
330
- l = U(t, n, r), l && $.appendChild(l);
331
- n.$tag$ === "svg" ? y = !1 : $.tagName === "foreignObject" && (y = !0);
332
- }
333
- return $["s-hn"] = J, $;
334
- }, ht = (t, e, s, n, r, $) => {
335
- let l = t, i;
336
- for (l.shadowRoot && l.tagName === J && (l = l.shadowRoot); r <= $; ++r)
337
- n[r] && (i = U(null, s, r), i && (n[r].$elm$ = i, b(l, i, e)));
338
- }, gt = (t, e, s) => {
339
- for (let n = e; n <= s; ++n) {
340
- const r = t[n];
341
- if (r) {
342
- const $ = r.$elm$;
343
- yt(r), $ && $.remove();
344
- }
345
- }
346
- }, se = (t, e, s, n, r = !1) => {
347
- let $ = 0, l = 0, i = 0, o = 0, a = e.length - 1, c = e[0], u = e[a], f = n.length - 1, d = n[0], v = n[f], h, E;
348
- for (; $ <= a && l <= f; )
349
- if (c == null)
350
- c = e[++$];
351
- else if (u == null)
352
- u = e[--a];
353
- else if (d == null)
354
- d = n[++l];
355
- else if (v == null)
356
- v = n[--f];
357
- else if (I(c, d, r))
358
- T(c, d, r), c = e[++$], d = n[++l];
359
- else if (I(u, v, r))
360
- T(u, v, r), u = e[--a], v = n[--f];
361
- else if (I(c, v, r))
362
- T(c, v, r), b(t, c.$elm$, u.$elm$.nextSibling), c = e[++$], v = n[--f];
363
- else if (I(u, d, r))
364
- T(u, d, r), b(t, u.$elm$, c.$elm$), u = e[--a], d = n[++l];
365
- else {
366
- for (i = -1, o = $; o <= a; ++o)
367
- if (e[o] && e[o].$key$ !== null && e[o].$key$ === d.$key$) {
368
- i = o;
369
- break;
370
- }
371
- i >= 0 ? (E = e[i], E.$tag$ !== d.$tag$ ? h = U(e && e[l], s, i) : (T(E, d, r), e[i] = void 0, h = E.$elm$), d = n[++l]) : (h = U(e && e[l], s, l), d = n[++l]), h && b(c.$elm$.parentNode, h, c.$elm$);
372
- }
373
- $ > a ? ht(
374
- t,
375
- n[f + 1] == null ? null : n[f + 1].$elm$,
376
- s,
377
- n,
378
- l,
379
- f
380
- ) : l > f && gt(e, $, a);
381
- }, I = (t, e, s = !1) => t.$tag$ === e.$tag$ ? s ? (s && !t.$key$ && e.$key$ && (t.$key$ = e.$key$), !0) : t.$key$ === e.$key$ : !1, T = (t, e, s = !1) => {
382
- const n = e.$elm$ = t.$elm$, r = t.$children$, $ = e.$children$, l = e.$tag$, i = e.$text$;
383
- i === null ? (y = l === "svg" ? !0 : l === "foreignObject" ? !1 : y, pt(t, e, y), r !== null && $ !== null ? se(n, r, e, $, s) : $ !== null ? (t.$text$ !== null && (n.textContent = ""), ht(n, null, e, $, 0, $.length - 1)) : (
384
- // don't do this on initial render as it can cause non-hydrated content to be removed
385
- !s && X.updatable && r !== null && gt(r, 0, r.length - 1)
386
- ), y && l === "svg" && (y = !1)) : t.$text$ !== i && (n.data = i);
387
- }, yt = (t) => {
388
- t.$attrs$ && t.$attrs$.ref && t.$attrs$.ref(null), t.$children$ && t.$children$.map(yt);
389
- }, b = (t, e, s) => t == null ? void 0 : t.insertBefore(e, s), ne = (t, e, s = !1) => {
390
- const n = t.$hostElement$, r = t.$cmpMeta$, $ = t.$vnode$ || H(null, null), l = Jt(e) ? e : ut(null, null, e);
391
- if (J = n.tagName, r.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, r.$attrsToReflect$.map(
392
- ([i, o]) => l.$attrs$[o] = n[i]
393
- )), s && l.$attrs$)
394
- for (const i of Object.keys(l.$attrs$))
395
- n.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (l.$attrs$[i] = n[i]);
396
- l.$tag$ = null, l.$flags$ |= 4, t.$vnode$ = l, l.$elm$ = $.$elm$ = n.shadowRoot || n, r.$flags$ & 1 && r.$flags$ & 128, T($, l, s);
397
- }, St = (t, e) => {
398
- if (e && !t.$onRenderResolve$ && e["s-p"]) {
399
- const s = e["s-p"].push(
400
- new Promise(
401
- (n) => t.$onRenderResolve$ = () => {
402
- e["s-p"].splice(s - 1, 1), n();
403
- }
404
- )
405
- );
406
- }
407
- }, Q = (t, e) => {
408
- if (t.$flags$ |= 16, t.$flags$ & 4) {
409
- t.$flags$ |= 512;
410
- return;
411
- }
412
- return St(t, t.$ancestorComponent$), Wt(() => re(t, e));
413
- }, re = (t, e) => {
414
- const s = t.$hostElement$, n = x("scheduleUpdate", t.$cmpMeta$.$tagName$), r = t.$lazyInstance$;
415
- if (!r)
416
- throw new Error(
417
- `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`
418
- );
419
- let $;
420
- return e && (t.$flags$ |= 256, t.$queuedListeners$ && (t.$queuedListeners$.map(([l, i]) => C(r, l, i, s)), t.$queuedListeners$ = void 0), $ = C(r, "componentWillLoad", void 0, s)), n(), ie($, () => le(t, r, e));
421
- }, ie = (t, e) => $e(t) ? t.then(e).catch((s) => {
422
- console.error(s), e();
423
- }) : e(), $e = (t) => t instanceof Promise || t && t.then && typeof t.then == "function", le = (t, e, s) => j(void 0, null, function* () {
424
- var n;
425
- const r = t.$hostElement$, $ = x("update", t.$cmpMeta$.$tagName$), l = r["s-rc"];
426
- s && Nt(t);
427
- const i = x("render", t.$cmpMeta$.$tagName$);
428
- ae(t, e, r, s), l && (l.map((o) => o()), r["s-rc"] = void 0), i(), $();
429
- {
430
- const o = (n = r["s-p"]) != null ? n : [], a = () => oe(t);
431
- o.length === 0 ? a() : (Promise.all(o).then(a), t.$flags$ |= 4, o.length = 0);
432
- }
433
- }), ae = (t, e, s, n) => {
434
- try {
435
- e = e.render(), t.$flags$ &= -17, t.$flags$ |= 2, ne(t, e, n);
436
- } catch (r) {
437
- P(r, t.$hostElement$);
438
- }
439
- return null;
440
- }, oe = (t) => {
441
- const e = t.$cmpMeta$.$tagName$, s = t.$hostElement$, n = x("postUpdate", e), r = t.$lazyInstance$, $ = t.$ancestorComponent$;
442
- C(r, "componentDidRender", void 0, s), t.$flags$ & 64 ? n() : (t.$flags$ |= 64, ce(s), n(), t.$onReadyResolve$(s), $ || Et()), t.$onRenderResolve$ && (t.$onRenderResolve$(), t.$onRenderResolve$ = void 0), t.$flags$ & 512 && F(() => Q(t, !1)), t.$flags$ &= -517;
443
- }, Et = (t) => {
444
- F(() => mt(A, "appload", { detail: { namespace: At } }));
445
- }, C = (t, e, s, n) => {
446
- if (t && t[e])
447
- try {
448
- return t[e](s);
449
- } catch (r) {
450
- P(r, n);
451
- }
452
- }, ce = (t) => {
453
- var e;
454
- return t.classList.add((e = X.hydratedSelectorName) != null ? e : "hydrated");
455
- }, fe = (t, e) => k(t).$instanceValues$.get(e), B = (t, e, s, n) => {
456
- const r = k(t);
457
- if (!r)
458
- throw new Error(
459
- `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).`
460
- );
461
- const $ = r.$hostElement$, l = r.$instanceValues$.get(e), i = r.$flags$, o = r.$lazyInstance$;
462
- s = G(s, n.$members$[e][0]);
463
- const a = Number.isNaN(l) && Number.isNaN(s), c = s !== l && !a;
464
- if ((!(i & 8) || l === void 0) && c && (r.$instanceValues$.set(e, s), o)) {
465
- if (n.$watchers$ && i & 128) {
466
- const u = n.$watchers$[e];
467
- u && u.map((f) => {
468
- try {
469
- o[f](s, l, e);
470
- } catch (d) {
471
- P(d, $);
472
- }
473
- });
474
- }
475
- (i & 18) === 2 && Q(r, !1);
476
- }
477
- }, kt = (t, e, s) => {
478
- var n, r;
479
- const $ = t.prototype;
480
- if (e.$members$ || e.$watchers$ || t.watchers) {
481
- t.watchers && !e.$watchers$ && (e.$watchers$ = t.watchers);
482
- const l = Object.entries((n = e.$members$) != null ? n : {});
483
- if (l.map(([i, [o]]) => {
484
- if (o & 31 || s & 2 && o & 32) {
485
- const { get: a, set: c } = Object.getOwnPropertyDescriptor($, i) || {};
486
- a && (e.$members$[i][0] |= 2048), c && (e.$members$[i][0] |= 4096), (s & 1 || !a) && Object.defineProperty($, i, {
487
- get() {
488
- {
489
- if (!(e.$members$[i][0] & 2048))
490
- return fe(this, i);
491
- const u = k(this), f = u ? u.$lazyInstance$ : $;
492
- return f ? f[i] : void 0;
493
- }
494
- },
495
- configurable: !0,
496
- enumerable: !0
497
- }), Object.defineProperty($, i, {
498
- set(u) {
499
- const f = k(this);
500
- if (c) {
501
- const d = o & 32 ? this[i] : f.$hostElement$[i];
502
- typeof d == "undefined" && f.$instanceValues$.get(i) ? u = f.$instanceValues$.get(i) : !f.$instanceValues$.get(i) && d && f.$instanceValues$.set(i, d), c.apply(this, [G(u, o)]), u = o & 32 ? this[i] : f.$hostElement$[i], B(this, i, u, e);
503
- return;
504
- }
505
- {
506
- if (!(s & 1) || !(e.$members$[i][0] & 4096)) {
507
- B(this, i, u, e), s & 1 && !f.$lazyInstance$ && f.$onReadyPromise$.then(() => {
508
- e.$members$[i][0] & 4096 && f.$lazyInstance$[i] !== f.$instanceValues$.get(i) && (f.$lazyInstance$[i] = u);
509
- });
510
- return;
511
- }
512
- const d = () => {
513
- const v = f.$lazyInstance$[i];
514
- !f.$instanceValues$.get(i) && v && f.$instanceValues$.set(i, v), f.$lazyInstance$[i] = G(u, o), B(this, i, f.$lazyInstance$[i], e);
515
- };
516
- f.$lazyInstance$ ? d() : f.$onReadyPromise$.then(() => d());
517
- }
518
- }
519
- });
520
- }
521
- }), s & 1) {
522
- const i = /* @__PURE__ */ new Map();
523
- $.attributeChangedCallback = function(o, a, c) {
524
- p.jmp(() => {
525
- var u;
526
- const f = i.get(o);
527
- if (this.hasOwnProperty(f) && X.lazyLoad)
528
- c = this[f], delete this[f];
529
- else {
530
- if ($.hasOwnProperty(f) && typeof this[f] == "number" && // cast type to number to avoid TS compiler issues
531
- this[f] == c)
532
- return;
533
- if (f == null) {
534
- const v = k(this), h = v == null ? void 0 : v.$flags$;
535
- if (h && !(h & 8) && h & 128 && c !== a) {
536
- const E = v.$lazyInstance$, g = (u = e.$watchers$) == null ? void 0 : u[o];
537
- g == null || g.forEach((w) => {
538
- E[w] != null && E[w].call(E, c, a, o);
539
- });
540
- }
541
- return;
542
- }
543
- }
544
- const d = Object.getOwnPropertyDescriptor($, f);
545
- c = c === null && typeof this[f] == "boolean" ? !1 : c, c !== this[f] && (!d.get || d.set) && (this[f] = c);
546
- });
547
- }, t.observedAttributes = Array.from(
548
- /* @__PURE__ */ new Set([
549
- ...Object.keys((r = e.$watchers$) != null ? r : {}),
550
- ...l.filter(
551
- ([o, a]) => a[0] & 15
552
- /* HasAttribute */
553
- ).map(([o, a]) => {
554
- var c;
555
- const u = a[1] || o;
556
- return i.set(u, o), a[0] & 512 && ((c = e.$attrsToReflect$) == null || c.push([o, u])), u;
557
- })
558
- ])
559
- );
560
- }
561
- }
562
- return t;
563
- }, ue = (t, e, s, n) => j(void 0, null, function* () {
564
- let r;
565
- if (!(e.$flags$ & 32)) {
566
- if (e.$flags$ |= 32, s.$lazyBundleId$) {
567
- const o = Ht(s, e);
568
- if (o && "then" in o) {
569
- const c = Ft();
570
- r = yield o, c();
571
- } else
572
- r = o;
573
- if (!r)
574
- throw new Error(`Constructor for "${s.$tagName$}#${e.$modeName$}" was not found`);
575
- r.isProxied || (s.$watchers$ = r.watchers, kt(
576
- r,
577
- s,
578
- 2
579
- /* proxyState */
580
- ), r.isProxied = !0);
581
- const a = x("createInstance", s.$tagName$);
582
- e.$flags$ |= 8;
583
- try {
584
- new r(e);
585
- } catch (c) {
586
- P(c, t);
587
- }
588
- e.$flags$ &= -9, e.$flags$ |= 128, a();
589
- } else {
590
- r = t.constructor;
591
- const o = t.localName;
592
- customElements.whenDefined(o).then(
593
- () => e.$flags$ |= 128
594
- /* isWatchReady */
595
- );
596
- }
597
- if (r && r.style) {
598
- let o;
599
- typeof r.style == "string" && (o = r.style);
600
- const a = dt(s);
601
- if (!z.has(a)) {
602
- const c = x("registerStyles", s.$tagName$);
603
- Mt(a, o, !!(s.$flags$ & 1)), c();
604
- }
605
- }
606
- }
607
- const $ = e.$ancestorComponent$, l = () => Q(e, !0);
608
- $ && $["s-rc"] ? $["s-rc"].push(l) : l();
609
- }), de = (t, e) => {
610
- }, ve = (t) => {
611
- if (!(p.$flags$ & 1)) {
612
- const e = k(t), s = e.$cmpMeta$, n = x("connectedCallback", s.$tagName$);
613
- if (e.$flags$ & 1)
614
- Lt(t, e, s.$listeners$), e != null && e.$lazyInstance$ || e != null && e.$onReadyPromise$ && e.$onReadyPromise$.then(() => de());
615
- else {
616
- e.$flags$ |= 1;
617
- {
618
- let r = t;
619
- for (; r = r.parentNode || r.host; )
620
- if (r["s-p"]) {
621
- St(e, e.$ancestorComponent$ = r);
622
- break;
623
- }
624
- }
625
- s.$members$ && Object.entries(s.$members$).map(([r, [$]]) => {
626
- if ($ & 31 && t.hasOwnProperty(r)) {
627
- const l = t[r];
628
- delete t[r], t[r] = l;
629
- }
630
- }), ue(t, e, s);
631
- }
632
- n();
633
- }
634
- }, pe = (t, e) => {
635
- }, he = (t) => j(void 0, null, function* () {
636
- if (!(p.$flags$ & 1)) {
637
- const e = k(t);
638
- e.$rmListeners$ && (e.$rmListeners$.map((s) => s()), e.$rmListeners$ = void 0), e != null && e.$lazyInstance$ || e != null && e.$onReadyPromise$ && e.$onReadyPromise$.then(() => pe());
639
- }
640
- _.has(t) && _.delete(t), t.shadowRoot && _.has(t.shadowRoot) && _.delete(t.shadowRoot);
641
- }), Pe = (t, e = {}) => {
642
- var s;
643
- const n = x(), r = [], $ = e.exclude || [], l = A.customElements, i = L.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), a = /* @__PURE__ */ L.createElement("style"), c = [];
644
- let u, f = !0;
645
- Object.assign(p, e), p.$resourcesUrl$ = new URL(e.resourcesUrl || "./", L.baseURI).href;
646
- let d = !1;
647
- if (t.map((v) => {
648
- v[1].map((h) => {
649
- var E;
650
- const g = {
651
- $flags$: h[0],
652
- $tagName$: h[1],
653
- $members$: h[2],
654
- $listeners$: h[3]
655
- };
656
- g.$flags$ & 4 && (d = !0), g.$members$ = h[2], g.$listeners$ = h[3], g.$attrsToReflect$ = [], g.$watchers$ = (E = h[4]) != null ? E : {};
657
- const w = g.$tagName$, xt = class extends HTMLElement {
658
- // StencilLazyHost
659
- constructor(S) {
660
- if (super(S), this.hasRegisteredEventListeners = !1, S = this, zt(S, g), g.$flags$ & 1) {
661
- if (!S.shadowRoot)
662
- S.attachShadow({ mode: "open" });
663
- else if (S.shadowRoot.mode !== "open")
664
- throw new Error(
665
- `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${S.shadowRoot.mode} but Stencil only supports open shadow roots.`
666
- );
667
- }
668
- }
669
- connectedCallback() {
670
- const S = k(this);
671
- this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, Lt(this, S, g.$listeners$)), u && (clearTimeout(u), u = null), f ? c.push(this) : p.jmp(() => ve(this));
672
- }
673
- disconnectedCallback() {
674
- p.jmp(() => he(this)), p.raf(() => {
675
- var S;
676
- const O = k(this), Z = c.findIndex((Pt) => Pt === this);
677
- Z > -1 && c.splice(Z, 1), ((S = O == null ? void 0 : O.$vnode$) == null ? void 0 : S.$elm$) instanceof Node && !O.$vnode$.$elm$.isConnected && delete O.$vnode$.$elm$;
678
- });
679
- }
680
- componentOnReady() {
681
- return k(this).$onReadyPromise$;
682
- }
683
- };
684
- g.$lazyBundleId$ = v[0], !$.includes(w) && !l.get(w) && (r.push(w), l.define(
685
- w,
686
- kt(
687
- xt,
688
- g,
689
- 1
690
- /* isElementConstructor */
691
- )
692
- ));
693
- });
694
- }), r.length > 0 && (d && (a.textContent += lt), a.textContent += r.sort() + qt, a.innerHTML.length)) {
695
- a.setAttribute("data-styles", "");
696
- const v = (s = p.$nonce$) != null ? s : ct(L);
697
- v != null && a.setAttribute("nonce", v), i.insertBefore(a, o ? o.nextSibling : i.firstChild);
698
- }
699
- f = !1, c.length ? c.map((v) => v.connectedCallback()) : p.jmp(() => u = setTimeout(Et, 30)), n();
700
- }, Lt = (t, e, s, n) => {
701
- s && s.map(([r, $, l]) => {
702
- const i = ye(t, r), o = ge(e, l), a = Se(r);
703
- p.ael(i, $, o, a), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => p.rel(i, $, o, a));
704
- });
705
- }, ge = (t, e) => (s) => {
706
- var n;
707
- try {
708
- t.$flags$ & 256 ? (n = t.$lazyInstance$) == null || n[e](s) : (t.$queuedListeners$ = t.$queuedListeners$ || []).push([e, s]);
709
- } catch (r) {
710
- P(r, t.$hostElement$);
711
- }
712
- }, ye = (t, e) => e & 8 ? A : t, Se = (t) => Bt ? {
713
- passive: (t & 1) !== 0,
714
- capture: (t & 2) !== 0
715
- } : (t & 2) !== 0;
716
- export {
717
- Kt as H,
718
- xe as a,
719
- Pe as b,
720
- Le as g,
721
- ut as h,
722
- Dt as p,
723
- ke as r
724
- };