@everymatrix/player-account-controller 1.54.6 → 1.54.8

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 (145) hide show
  1. package/components/{GeneralLogout-Ddt-oH9k.js → GeneralLogout-ChXyfO7j.js} +504 -512
  2. package/components/GeneralLogout-CoXr5Hra.js +4819 -0
  3. package/components/GeneralLogout-JiIri-az.cjs +8 -0
  4. package/components/PlayerAccountBettingHistory-C4SfQEr4.js +333 -0
  5. package/components/{PlayerAccountBettingHistory-C7xwYi03.js → PlayerAccountBettingHistory-CElNilNd.js} +24 -24
  6. package/components/PlayerAccountBettingHistory-CSI5k3hd.cjs +1 -0
  7. package/components/PlayerAccountBiometrics-BS3jkUXn.cjs +1 -0
  8. package/components/{PlayerAccountBiometrics-D7WS5cnI.js → PlayerAccountBiometrics-D9kYcZXR.js} +26 -26
  9. package/components/PlayerAccountBiometrics-orQ-qG9h.js +307 -0
  10. package/components/{PlayerAccountClosure-yRlo8hXR.js → PlayerAccountClosure-CHUq23nB.js} +13 -13
  11. package/components/PlayerAccountClosure-CWd3utu_.js +347 -0
  12. package/components/PlayerAccountClosure-DdfqiT7d.cjs +1 -0
  13. package/components/{PlayerAccountController-BEYNBwE6.js → PlayerAccountController-BclvS237.js} +126 -126
  14. package/components/PlayerAccountController-DEXL47fX.js +6671 -0
  15. package/components/PlayerAccountController-DX3vsM6e.cjs +1 -0
  16. package/components/PlayerAccountGamingLimits-CKnItii4.cjs +1 -0
  17. package/components/{PlayerAccountGamingLimits-CTBhVGgC.js → PlayerAccountGamingLimits-DXQNmZKD.js} +19 -19
  18. package/components/PlayerAccountGamingLimits-Db6qUAS-.js +766 -0
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js → PlayerAccountGamingLimitsConfirmationModal-i09zMH6w.js} +59 -59
  20. package/components/PlayerAccountGamingLimitsConfirmationModal-jZS53-sU.cjs +1 -0
  21. package/components/PlayerAccountGamingLimitsConfirmationModal-l4fu3WOl.js +310 -0
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js → PlayerAccountGamingLimitsGroupEdit-BIt0U7Ia.js} +51 -51
  23. package/components/PlayerAccountGamingLimitsGroupEdit-CsnzS7iF.js +4170 -0
  24. package/components/PlayerAccountGamingLimitsGroupEdit-DZlV6G_9.cjs +10 -0
  25. package/components/PlayerAccountGamingLimitsHistory2-CrW3EIzV.cjs +1 -0
  26. package/components/{PlayerAccountGamingLimitsHistory2-CXKA0L0d.js → PlayerAccountGamingLimitsHistory2-D04L-msb.js} +44 -44
  27. package/components/PlayerAccountGamingLimitsHistory2-DA5YY1gv.js +767 -0
  28. package/components/{PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js → PlayerAccountGamingLimitsInfoCard-B2YB4bdP.js} +95 -95
  29. package/components/PlayerAccountGamingLimitsInfoCard-B4t7J9Ea.js +1513 -0
  30. package/components/PlayerAccountGamingLimitsInfoCard-CaJYYEdy.cjs +1 -0
  31. package/components/PlayerAccountGamingLimitsPage2Gm16-B1GlGvDK.cjs +21 -0
  32. package/components/PlayerAccountGamingLimitsPage2Gm16-CbtwzTC5.js +3283 -0
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js → PlayerAccountGamingLimitsPage2Gm16-D8OKZxQt.js} +90 -90
  34. package/components/{PlayerAccountGamingLimitsPopup-CJu5RRl6.js → PlayerAccountGamingLimitsPopup-B7ZXSiK5.js} +17 -17
  35. package/components/PlayerAccountGamingLimitsPopup-C9KoZcRj.cjs +1 -0
  36. package/components/PlayerAccountGamingLimitsPopup-DxXAP_Yw.js +344 -0
  37. package/components/{PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js → PlayerAccountGamingLimitsWrapper2-BoFnZpPK.js} +8 -8
  38. package/components/PlayerAccountGamingLimitsWrapper2-Dll6Amu9.cjs +1 -0
  39. package/components/PlayerAccountGamingLimitsWrapper2-eSNYZCaw.js +866 -0
  40. package/components/PlayerAccountGeneralConfirmationModal-B-p3sJZ3.cjs +1 -0
  41. package/components/{PlayerAccountGeneralConfirmationModal-DG0N686t.js → PlayerAccountGeneralConfirmationModal-DLBQH_sl.js} +66 -66
  42. package/components/PlayerAccountGeneralConfirmationModal-DhTWcbuE.js +365 -0
  43. package/components/PlayerAccountMenu-BGRoL3Yz.js +579 -0
  44. package/components/{PlayerAccountMenu-CZBa8_5G.js → PlayerAccountMenu-BxjdHhZ_.js} +17 -17
  45. package/components/PlayerAccountMenu-Csb1tUf_.cjs +1 -0
  46. package/components/{PlayerAccountModal-BmKjtXKT.js → PlayerAccountModal-C4nIa5u0.js} +28 -28
  47. package/components/PlayerAccountModal-D29fr970.js +213 -0
  48. package/components/PlayerAccountModal-DabmJiP4.cjs +1 -0
  49. package/components/{PlayerAccountNotifications-B4Ht-hHj.js → PlayerAccountNotifications-4sGKSJWy.js} +16 -16
  50. package/components/PlayerAccountNotifications-C3rPIsKp.js +261 -0
  51. package/components/PlayerAccountNotifications-O92_s-dm.cjs +1 -0
  52. package/components/PlayerAccountSelfExclusion-BkBWGAy2.cjs +3557 -0
  53. package/components/PlayerAccountSelfExclusion-CpKuxBrZ.js +16678 -0
  54. package/components/{PlayerAccountSelfExclusion-DxGHXTb8.js → PlayerAccountSelfExclusion-U9dfheYH.js} +11029 -12570
  55. package/components/PlayerAccountTimeout-CucYpS_w.cjs +1 -0
  56. package/components/{PlayerAccountTimeout-DOSjICsY.js → PlayerAccountTimeout-DIRXKowJ.js} +25 -25
  57. package/components/PlayerAccountTimeout-c2osWNku.js +819 -0
  58. package/components/{PlayerActiveBonuses-DMAG7NUP.js → PlayerActiveBonuses-B2QAPJxC.js} +49 -49
  59. package/components/PlayerActiveBonuses-DDcAwy_n.js +1089 -0
  60. package/components/PlayerActiveBonuses-cecVnp46.cjs +1 -0
  61. package/components/{PlayerBonusCard-Dss1REmn.js → PlayerBonusCard-BQU7JBPr.js} +50 -50
  62. package/components/PlayerBonusCard-C9Xdv-lu.cjs +1 -0
  63. package/components/PlayerBonusCard-TYI-WkBy.js +701 -0
  64. package/components/{PlayerBonusHistory-bS_5m4-D.js → PlayerBonusHistory-Boz8c3tb.js} +30 -30
  65. package/components/PlayerBonusHistory-CMPf8GQz.cjs +1 -0
  66. package/components/PlayerBonusHistory-cNqY_wfD.js +920 -0
  67. package/components/{PlayerChangePassword-DnCj-wcc.js → PlayerChangePassword-BGxYGFs-.js} +103 -103
  68. package/components/PlayerChangePassword-Dl3Pgpul.js +1177 -0
  69. package/components/PlayerChangePassword-X_GfgxAV.cjs +3 -0
  70. package/components/{PlayerDeposit-CHIQ8EaC.js → PlayerDeposit-BzSW3HMj.js} +25 -25
  71. package/components/PlayerDeposit-CqpNLpaq.cjs +1 -0
  72. package/components/PlayerDeposit-kjy658sM.js +395 -0
  73. package/components/PlayerGamingHistory-B6KJDVn0.cjs +1 -0
  74. package/components/PlayerGamingHistory-BW5rigFC.js +986 -0
  75. package/components/{PlayerGamingHistory-ByyLQwtw.js → PlayerGamingHistory-DIgLxCfL.js} +31 -31
  76. package/components/PlayerPendingWithdrawals--W6Dfn3K.cjs +1 -0
  77. package/components/{PlayerPendingWithdrawals-BbTa7_8U.js → PlayerPendingWithdrawals-BzOmRYiC.js} +33 -33
  78. package/components/PlayerPendingWithdrawals-pV1C12y5.js +311 -0
  79. package/components/PlayerProfileInfo-BTgis7wR.cjs +1 -0
  80. package/components/{PlayerProfileInfo-CvAqD3Dk.js → PlayerProfileInfo-CTgSfW-l.js} +45 -45
  81. package/components/PlayerProfileInfo-DkVAYiPX.js +1753 -0
  82. package/components/PlayerRealityCheck-BcsDhvm0.cjs +1 -0
  83. package/components/{PlayerRealityCheck-3d-B64ie.js → PlayerRealityCheck-BdZDs3Tl.js} +26 -26
  84. package/components/PlayerRealityCheck-DT3kOky2.js +598 -0
  85. package/components/PlayerTransactionHistory-BL92RRLF.cjs +1 -0
  86. package/components/{PlayerTransactionHistory-BYJNabMB.js → PlayerTransactionHistory-BQIA4QRw.js} +23 -23
  87. package/components/PlayerTransactionHistory-Yhwt7kUa.js +315 -0
  88. package/components/{PlayerWithdrawal-DDWroufG.js → PlayerWithdrawal-Cgv9nZE8.js} +20 -20
  89. package/components/PlayerWithdrawal-KgqM9wo-.cjs +1 -0
  90. package/components/PlayerWithdrawal-uB46JhmK.js +369 -0
  91. package/es2015/player-account-controller.cjs +1 -0
  92. package/es2015/player-account-controller.js +16 -0
  93. package/esnext/player-account-controller.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/app-globals-0f993ce5-8artnnwr.cjs +1 -0
  96. package/stencil/checkbox-group-input_9-AKw0biZc.cjs +2045 -0
  97. package/stencil/checkbox-group-input_9-BewIfW-f.js +13203 -0
  98. package/stencil/checkbox-group-input_9-CbFpcwPG.js +13237 -0
  99. package/stencil/{general-input-CQlnWzpy.js → general-input-BEcUF0Mm.js} +1 -1
  100. package/stencil/general-input-DI0pw0ot.cjs +1 -0
  101. package/stencil/general-input-DKyA-W8i.js +48 -0
  102. package/stencil/index-581287aa-CC7128Vz.js +654 -0
  103. package/stencil/index-581287aa-D5QW29QV.cjs +1 -0
  104. package/stencil/index-581287aa-D8NTWa_9.js +638 -0
  105. package/stencil/index-8b4525de-BFiXEsaX.cjs +1 -0
  106. package/stencil/index-8b4525de-C2xAv-3x.js +708 -0
  107. package/stencil/index-8b4525de-DeHXGvRF.js +692 -0
  108. package/stencil/index-a76d30c7-CFX9mSqu.cjs +1 -0
  109. package/stencil/index-a76d30c7-CQrAWNu0.js +658 -0
  110. package/stencil/index-a76d30c7-PfqrSVyu.js +631 -0
  111. package/stencil/index-c0196f50-3kAjMpUS.cjs +1 -0
  112. package/stencil/index-c0196f50-BjscP7kj.js +697 -0
  113. package/stencil/index-c0196f50-aE1zPmtS.js +724 -0
  114. package/stencil/locale-B5abSHU_.cjs +1 -0
  115. package/stencil/password-input_2-D97O8QAr.cjs +105 -0
  116. package/stencil/password-input_2-eDchPH-o.js +569 -0
  117. package/stencil/password-input_2-vTvSUJey.js +569 -0
  118. package/stencil/{player-change-password-gm2-BaQUJaH1.js → player-change-password-gm2-D4jpQFwb.js} +1 -1
  119. package/stencil/player-change-password-gm2-DSTqyOhE.js +25 -0
  120. package/stencil/player-change-password-gm2-Dw3D3ckz.cjs +1 -0
  121. package/stencil/{player-change-password-gm2-98dcb7bc-pj_6Z40p.js → player-change-password-gm2-e732ee8e-BjoYj-89.js} +1 -1
  122. package/stencil/player-change-password-gm2-e732ee8e-BqRUxIre.cjs +1 -0
  123. package/stencil/player-change-password-gm2-e732ee8e-Df6ljnLL.js +253 -0
  124. package/stencil/player-kyc-verification-B2FHAsrR.cjs +180 -0
  125. package/stencil/player-kyc-verification-CVqP43FY.js +865 -0
  126. package/stencil/{player-kyc-verification-BQZdJFEJ.js → player-kyc-verification-D6Au6XVN.js} +1 -1
  127. package/stencil/{toggle-checkbox-input-Sy9vd4Jp.js → toggle-checkbox-input-BckTBwKu.js} +1 -1
  128. package/stencil/toggle-checkbox-input-D8fVk4wA.js +46 -0
  129. package/stencil/toggle-checkbox-input-kw5Y1n3x.cjs +1 -0
  130. package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +1 -0
  131. package/stencil/user-deposit-withdrawal-BpAi0dc-.js +668 -0
  132. package/stencil/{user-deposit-withdrawal-CmF0LoNb.js → user-deposit-withdrawal-CrMPR6xn.js} +1 -1
  133. package/stencil/user-deposit-withdrawal-DrKFN7wp.cjs +59 -0
  134. package/stencil/{user-transaction-history-BgV-k2Cl.js → user-transaction-history-BgYG3IxS.js} +1 -1
  135. package/stencil/user-transaction-history-CBxwJE34.cjs +1 -0
  136. package/stencil/user-transaction-history-D8ebS-DZ.js +355 -0
  137. package/stencil/{active-mixin-59dfae2a-BphP4pp5.js → vaadin-button-mixin-d131076c-C559kyH3.js} +3523 -3021
  138. package/stencil/vaadin-button-mixin-d131076c-brSraXp5.js +10277 -0
  139. package/stencil/vaadin-button-mixin-d131076c-zI_s2YZ5.cjs +2385 -0
  140. package/stencil/checkbox-group-input_9-i8KmOWKn.js +0 -15610
  141. package/stencil/index-062e829b-CboMDKTu.js +0 -686
  142. package/stencil/index-33f005e1-fFxPaeNy.js +0 -632
  143. package/stencil/index-9b3245b3-rzHgwqlB.js +0 -625
  144. package/stencil/index-fc58390d-BSwfXuUs.js +0 -691
  145. package/stencil/password-input_2-sxSehMYk.js +0 -2359
@@ -1,625 +0,0 @@
1
- const ye = "player-kyc-verification", q = (
2
- /* player-kyc-verification */
3
- { allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !0, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !1, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, modernPropertyDecls: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !1, propMutable: !1, propNumber: !1, propString: !0, reflect: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !0, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !0, style: !0, svg: !0, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !0, vdomKey: !1, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
4
- );
5
- var Se = Object.defineProperty, Ee = (e, t) => {
6
- for (var n in t)
7
- Se(e, n, { get: t[n], enumerable: !0 });
8
- }, ke = "http://www.w3.org/2000/svg", xe = "http://www.w3.org/1999/xhtml", F = /* @__PURE__ */ new WeakMap(), k = (e) => F.get(e), lt = (e, t) => {
9
- F.set(t.$lazyInstance$ = e, t);
10
- }, Te = (e, t) => {
11
- const n = {
12
- $flags$: 0,
13
- $hostElement$: e,
14
- $cmpMeta$: t,
15
- $instanceValues$: /* @__PURE__ */ new Map()
16
- };
17
- return n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], F.set(e, n);
18
- }, Q = (e, t) => t in e, m = (e, t) => (0, console.error)(e, t), I = /* @__PURE__ */ new Map(), me = (e, t, n) => {
19
- const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
20
- if (!r)
21
- return;
22
- const o = I.get(r);
23
- if (o)
24
- return o[s];
25
- {
26
- const i = (l) => (I.set(r, l), l[s]);
27
- switch (r) {
28
- case "player-kyc-verification":
29
- return import(
30
- /* webpackMode: "lazy" */
31
- "./player-kyc-verification-BQZdJFEJ.js"
32
- ).then(i, m);
33
- }
34
- }
35
- return import(
36
- /* @vite-ignore */
37
- /* webpackInclude: /\.entry\.js$/ */
38
- /* webpackExclude: /\.system\.entry\.js$/ */
39
- /* webpackMode: "lazy" */
40
- `./${r}.entry.js`
41
- ).then(
42
- (i) => (I.set(r, i), i[s]),
43
- (i) => {
44
- m(i, t.$hostElement$);
45
- }
46
- );
47
- }, O = /* @__PURE__ */ new Map(), we = "sty-id", Pe = "{visibility:hidden}.hydrated{visibility:inherit}", te = "slot-fb{display:contents}slot-fb[hidden]{display:none}", D = typeof window < "u" ? window : {}, E = D.document || { head: {} }, p = {
48
- $flags$: 0,
49
- $resourcesUrl$: "",
50
- jmp: (e) => e(),
51
- raf: (e) => requestAnimationFrame(e),
52
- ael: (e, t, n, s) => e.addEventListener(t, n, s),
53
- rel: (e, t, n, s) => e.removeEventListener(t, n, s),
54
- ce: (e, t) => new CustomEvent(e, t)
55
- }, Le = (e) => Promise.resolve(e), se = /* @__PURE__ */ (() => {
56
- try {
57
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
58
- } catch {
59
- }
60
- return !1;
61
- })(), z = !1, K = [], ne = [], Ae = (e, t) => (n) => {
62
- e.push(n), z || (z = !0, p.$flags$ & 4 ? W(C) : p.raf(C));
63
- }, J = (e) => {
64
- for (let t = 0; t < e.length; t++)
65
- try {
66
- e[t](performance.now());
67
- } catch (n) {
68
- m(n);
69
- }
70
- e.length = 0;
71
- }, C = () => {
72
- J(K), J(ne), (z = K.length > 0) && p.raf(C);
73
- }, W = (e) => Le().then(e), be = /* @__PURE__ */ Ae(ne), G = (e) => (e = typeof e, e === "object" || e === "function");
74
- function re(e) {
75
- var t, n, s;
76
- return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
77
- }
78
- var _e = {};
79
- Ee(_e, {
80
- err: () => le,
81
- map: () => Oe,
82
- ok: () => R,
83
- unwrap: () => je,
84
- unwrapErr: () => De
85
- });
86
- var R = (e) => ({
87
- isOk: !0,
88
- isErr: !1,
89
- value: e
90
- }), le = (e) => ({
91
- isOk: !1,
92
- isErr: !0,
93
- value: e
94
- });
95
- function Oe(e, t) {
96
- if (e.isOk) {
97
- const n = t(e.value);
98
- return n instanceof Promise ? n.then((s) => R(s)) : R(n);
99
- }
100
- if (e.isErr) {
101
- const n = e.value;
102
- return le(n);
103
- }
104
- throw "should never get here";
105
- }
106
- var je = (e) => {
107
- if (e.isOk)
108
- return e.value;
109
- throw e.value;
110
- }, De = (e) => {
111
- if (e.isErr)
112
- return e.value;
113
- throw e.value;
114
- }, x = (e, t = "") => () => {
115
- }, Ie = (e, t) => () => {
116
- }, ae = (e, t, ...n) => {
117
- let s = null, r = !1, o = !1;
118
- const i = [], l = (a) => {
119
- for (let f = 0; f < a.length; f++)
120
- s = a[f], Array.isArray(s) ? l(s) : s != null && typeof s != "boolean" && ((r = typeof e != "function" && !G(s)) && (s = String(s)), r && o ? i[i.length - 1].$text$ += s : i.push(r ? j(null, s) : s), o = r);
121
- };
122
- if (l(n), t) {
123
- const a = t.className || t.class;
124
- a && (t.class = typeof a != "object" ? a : Object.keys(a).filter((f) => a[f]).join(" "));
125
- }
126
- if (typeof e == "function")
127
- return e(
128
- t === null ? {} : t,
129
- i,
130
- Ce
131
- );
132
- const $ = j(e, null);
133
- return $.$attrs$ = t, i.length > 0 && ($.$children$ = i), $;
134
- }, j = (e, t) => {
135
- const n = {
136
- $flags$: 0,
137
- $tag$: e,
138
- $text$: t,
139
- $elm$: null,
140
- $children$: null
141
- };
142
- return n.$attrs$ = null, n;
143
- }, Ue = {}, ze = (e) => e && e.$tag$ === Ue, Ce = {
144
- forEach: (e, t) => e.map(Z).forEach(t),
145
- map: (e, t) => e.map(Z).map(t).map(Re)
146
- }, Z = (e) => ({
147
- vattrs: e.$attrs$,
148
- vchildren: e.$children$,
149
- vkey: e.$key$,
150
- vname: e.$name$,
151
- vtag: e.$tag$,
152
- vtext: e.$text$
153
- }), Re = (e) => {
154
- if (typeof e.vtag == "function") {
155
- const n = { ...e.vattrs };
156
- return e.vkey && (n.key = e.vkey), e.vname && (n.name = e.vname), ae(e.vtag, n, ...e.vchildren || []);
157
- }
158
- const t = j(e.vtag, e.vtext);
159
- return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
160
- }, H = (e, t) => e != null && !G(e) && t & 1 ? String(e) : e, He = (e, t, n) => {
161
- const s = p.ce(t, n);
162
- return e.dispatchEvent(s), s;
163
- }, P = /* @__PURE__ */ new WeakMap(), Be = (e, t, n) => {
164
- let s = O.get(e);
165
- se && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, O.set(e, s);
166
- }, qe = (e, t, n) => {
167
- var s;
168
- const r = ie(t), o = O.get(r);
169
- if (e = e.nodeType === 11 ? e : E, o)
170
- if (typeof o == "string") {
171
- e = e.head || e;
172
- let i = P.get(e), l;
173
- if (i || P.set(e, i = /* @__PURE__ */ new Set()), !i.has(r)) {
174
- {
175
- l = document.querySelector(`[${we}="${r}"]`) || E.createElement("style"), l.innerHTML = o;
176
- const $ = (s = p.$nonce$) != null ? s : re(E);
177
- if ($ != null && l.setAttribute("nonce", $), !(t.$flags$ & 1))
178
- if (e.nodeName === "HEAD") {
179
- const a = e.querySelectorAll("link[rel=preconnect]"), f = a.length > 0 ? a[a.length - 1].nextSibling : e.querySelector("style");
180
- e.insertBefore(
181
- l,
182
- f?.parentNode === e ? f : null
183
- );
184
- } else if ("host" in e)
185
- if (se) {
186
- const a = new CSSStyleSheet();
187
- a.replaceSync(o), e.adoptedStyleSheets = [a, ...e.adoptedStyleSheets];
188
- } else {
189
- const a = e.querySelector("style");
190
- a ? a.innerHTML = o + a.innerHTML : e.prepend(l);
191
- }
192
- else
193
- e.append(l);
194
- t.$flags$ & 1 && e.nodeName !== "HEAD" && e.insertBefore(l, null);
195
- }
196
- t.$flags$ & 4 && (l.innerHTML += te), i && i.add(r);
197
- }
198
- } else e.adoptedStyleSheets.includes(o) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, o]);
199
- return r;
200
- }, Fe = (e) => {
201
- const t = e.$cmpMeta$, n = e.$hostElement$, s = t.$flags$, r = x("attachStyles", t.$tagName$), o = qe(
202
- n.shadowRoot ? n.shadowRoot : n.getRootNode(),
203
- t
204
- );
205
- s & 10 && s & 2 && (n["s-sc"] = o, n.classList.add(o + "-h")), r();
206
- }, ie = (e, t) => "sc-" + e.$tagName$, V = (e, t, n, s, r, o, i) => {
207
- if (n !== s) {
208
- let l = Q(e, t), $ = t.toLowerCase();
209
- if (t === "class") {
210
- const a = e.classList, f = N(n);
211
- let d = N(s);
212
- a.remove(...f.filter((c) => c && !d.includes(c))), a.add(...d.filter((c) => c && !f.includes(c)));
213
- } else if (t === "style") {
214
- for (const a in n)
215
- (!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
216
- for (const a in s)
217
- (!n || s[a] !== n[a]) && (a.includes("-") ? e.style.setProperty(a, s[a]) : e.style[a] = s[a]);
218
- } else if (t === "ref")
219
- s && s(e);
220
- else if (!l && t[0] === "o" && t[1] === "n") {
221
- if (t[2] === "-" ? t = t.slice(3) : Q(D, $) ? t = $.slice(2) : t = $[2] + t.slice(3), n || s) {
222
- const a = t.endsWith(oe);
223
- t = t.replace(Ge, ""), n && p.rel(e, t, n, a), s && p.ael(e, t, s, a);
224
- }
225
- } else {
226
- const a = G(s);
227
- if ((l || a && s !== null) && !r)
228
- try {
229
- if (e.tagName.includes("-"))
230
- e[t] !== s && (e[t] = s);
231
- else {
232
- const f = s ?? "";
233
- t === "list" ? l = !1 : (n == null || e[t] != f) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = f : e.setAttribute(t, f));
234
- }
235
- } catch {
236
- }
237
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || o & 4 || r) && !a && (s = s === !0 ? "" : s, e.setAttribute(t, s));
238
- }
239
- }
240
- }, We = /\s/, N = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), !e || typeof e != "string" ? [] : e.split(We)), oe = "Capture", Ge = new RegExp(oe + "$"), $e = (e, t, n, s) => {
241
- const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, o = e && e.$attrs$ || {}, i = t.$attrs$ || {};
242
- for (const l of ee(Object.keys(o)))
243
- l in i || V(
244
- r,
245
- l,
246
- o[l],
247
- void 0,
248
- n,
249
- t.$flags$
250
- );
251
- for (const l of ee(Object.keys(i)))
252
- V(
253
- r,
254
- l,
255
- o[l],
256
- i[l],
257
- n,
258
- t.$flags$
259
- );
260
- };
261
- function ee(e) {
262
- return e.includes("ref") ? (
263
- // we need to sort these to ensure that `'ref'` is the last attr
264
- [...e.filter((t) => t !== "ref"), "ref"]
265
- ) : (
266
- // no need to sort, return the original array
267
- e
268
- );
269
- }
270
- var X, v = !1, Y = (e, t, n) => {
271
- const s = t.$children$[n];
272
- let r = 0, o, i;
273
- if (s.$text$ !== null)
274
- o = s.$elm$ = E.createTextNode(s.$text$);
275
- else {
276
- if (v || (v = s.$tag$ === "svg"), o = s.$elm$ = E.createElementNS(
277
- v ? ke : xe,
278
- s.$tag$
279
- ), v && s.$tag$ === "foreignObject" && (v = !1), $e(null, s, v), s.$children$)
280
- for (r = 0; r < s.$children$.length; ++r)
281
- i = Y(e, s, r), i && o.appendChild(i);
282
- s.$tag$ === "svg" ? v = !1 : o.tagName === "foreignObject" && (v = !0);
283
- }
284
- return o["s-hn"] = X, o;
285
- }, ce = (e, t, n, s, r, o) => {
286
- let i = e, l;
287
- for (i.shadowRoot && i.tagName === X && (i = i.shadowRoot); r <= o; ++r)
288
- s[r] && (l = Y(null, n, r), l && (s[r].$elm$ = l, _(i, l, t)));
289
- }, fe = (e, t, n) => {
290
- for (let s = t; s <= n; ++s) {
291
- const r = e[s];
292
- if (r) {
293
- const o = r.$elm$;
294
- de(r), o && o.remove();
295
- }
296
- }
297
- }, Xe = (e, t, n, s, r = !1) => {
298
- let o = 0, i = 0, l = t.length - 1, $ = t[0], a = t[l], f = s.length - 1, d = s[0], c = s[f], u;
299
- for (; o <= l && i <= f; )
300
- $ == null ? $ = t[++o] : a == null ? a = t[--l] : d == null ? d = s[++i] : c == null ? c = s[--f] : b($, d, r) ? (L($, d, r), $ = t[++o], d = s[++i]) : b(a, c, r) ? (L(a, c, r), a = t[--l], c = s[--f]) : b($, c, r) ? (L($, c, r), _(e, $.$elm$, a.$elm$.nextSibling), $ = t[++o], c = s[--f]) : b(a, d, r) ? (L(a, d, r), _(e, a.$elm$, $.$elm$), a = t[--l], d = s[++i]) : (u = Y(t && t[i], n, i), d = s[++i], u && _($.$elm$.parentNode, u, $.$elm$));
301
- o > l ? ce(
302
- e,
303
- s[f + 1] == null ? null : s[f + 1].$elm$,
304
- n,
305
- s,
306
- i,
307
- f
308
- ) : i > f && fe(t, o, l);
309
- }, b = (e, t, n = !1) => e.$tag$ === t.$tag$ ? (n && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : !1, L = (e, t, n = !1) => {
310
- const s = t.$elm$ = e.$elm$, r = e.$children$, o = t.$children$, i = t.$tag$, l = t.$text$;
311
- l === null ? (v = i === "svg" ? !0 : i === "foreignObject" ? !1 : v, $e(e, t, v), r !== null && o !== null ? Xe(s, r, t, o, n) : o !== null ? (e.$text$ !== null && (s.textContent = ""), ce(s, null, t, o, 0, o.length - 1)) : (
312
- // don't do this on initial render as it can cause non-hydrated content to be removed
313
- !n && q.updatable && r !== null && fe(r, 0, r.length - 1)
314
- ), v && i === "svg" && (v = !1)) : e.$text$ !== l && (s.data = l);
315
- }, de = (e) => {
316
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(de);
317
- }, _ = (e, t, n) => e?.insertBefore(t, n), Ye = (e, t, n = !1) => {
318
- const s = e.$hostElement$, r = e.$cmpMeta$, o = e.$vnode$ || j(null, null), i = ze(t) ? t : ae(null, null, t);
319
- if (X = s.tagName, n && i.$attrs$)
320
- for (const l of Object.keys(i.$attrs$))
321
- s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (i.$attrs$[l] = s[l]);
322
- i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = o.$elm$ = s.shadowRoot || s, r.$flags$ & 1, L(o, i, n);
323
- }, ue = (e, t) => {
324
- if (t && !e.$onRenderResolve$ && t["s-p"]) {
325
- const n = t["s-p"].push(
326
- new Promise(
327
- (s) => e.$onRenderResolve$ = () => {
328
- t["s-p"].splice(n - 1, 1), s();
329
- }
330
- )
331
- );
332
- }
333
- }, M = (e, t) => {
334
- if (e.$flags$ |= 16, e.$flags$ & 4) {
335
- e.$flags$ |= 512;
336
- return;
337
- }
338
- return ue(e, e.$ancestorComponent$), be(() => Me(e, t));
339
- }, Me = (e, t) => {
340
- const n = e.$hostElement$, s = x("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
341
- if (!r)
342
- throw new Error(
343
- `Can't render component <${n.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`
344
- );
345
- let o;
346
- return t && (o = B(r, "componentWillLoad", void 0, n)), s(), Qe(o, () => Je(e, r, t));
347
- }, Qe = (e, t) => Ke(e) ? e.then(t).catch((n) => {
348
- console.error(n), t();
349
- }) : t(), Ke = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Je = async (e, t, n) => {
350
- var s;
351
- const r = e.$hostElement$, o = x("update", e.$cmpMeta$.$tagName$), i = r["s-rc"];
352
- n && Fe(e);
353
- const l = x("render", e.$cmpMeta$.$tagName$);
354
- Ze(e, t, r, n), i && (i.map(($) => $()), r["s-rc"] = void 0), l(), o();
355
- {
356
- const $ = (s = r["s-p"]) != null ? s : [], a = () => Ve(e);
357
- $.length === 0 ? a() : (Promise.all($).then(a), e.$flags$ |= 4, $.length = 0);
358
- }
359
- }, Ze = (e, t, n, s) => {
360
- try {
361
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ye(e, t, s);
362
- } catch (r) {
363
- m(r, e.$hostElement$);
364
- }
365
- return null;
366
- }, Ve = (e) => {
367
- const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = x("postUpdate", t), r = e.$lazyInstance$, o = e.$ancestorComponent$;
368
- B(r, "componentDidRender", void 0, n), e.$flags$ & 64 ? s() : (e.$flags$ |= 64, he(n), B(r, "componentDidLoad", void 0, n), s(), e.$onReadyResolve$(n), o || pe()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && W(() => M(e, !1)), e.$flags$ &= -517;
369
- }, pe = (e) => {
370
- he(E.documentElement), W(() => He(D, "appload", { detail: { namespace: ye } }));
371
- }, B = (e, t, n, s) => {
372
- if (e && e[t])
373
- try {
374
- return e[t](n);
375
- } catch (r) {
376
- m(r, s);
377
- }
378
- }, he = (e) => {
379
- var t;
380
- return e.classList.add((t = q.hydratedSelectorName) != null ? t : "hydrated");
381
- }, Ne = (e, t) => k(e).$instanceValues$.get(t), U = (e, t, n, s) => {
382
- const r = k(e);
383
- if (!r)
384
- throw new Error(
385
- `Couldn't find host element for "${s.$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).`
386
- );
387
- const o = r.$hostElement$, i = r.$instanceValues$.get(t), l = r.$flags$, $ = r.$lazyInstance$;
388
- n = H(n, s.$members$[t][0]);
389
- const a = Number.isNaN(i) && Number.isNaN(n), f = n !== i && !a;
390
- if ((!(l & 8) || i === void 0) && f && (r.$instanceValues$.set(t, n), $)) {
391
- if (s.$watchers$ && l & 128) {
392
- const d = s.$watchers$[t];
393
- d && d.map((c) => {
394
- try {
395
- $[c](n, i, t);
396
- } catch (u) {
397
- m(u, o);
398
- }
399
- });
400
- }
401
- (l & 18) === 2 && M(r, !1);
402
- }
403
- }, ve = (e, t, n) => {
404
- var s, r;
405
- const o = e.prototype;
406
- if (t.$members$ || t.$watchers$ || e.watchers) {
407
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
408
- const i = Object.entries((s = t.$members$) != null ? s : {});
409
- if (i.map(([l, [$]]) => {
410
- if ($ & 31 || n & 2 && $ & 32) {
411
- const { get: a, set: f } = Object.getOwnPropertyDescriptor(o, l) || {};
412
- a && (t.$members$[l][0] |= 2048), f && (t.$members$[l][0] |= 4096), (n & 1 || !a) && Object.defineProperty(o, l, {
413
- get() {
414
- {
415
- if (!(t.$members$[l][0] & 2048))
416
- return Ne(this, l);
417
- const d = k(this), c = d ? d.$lazyInstance$ : o;
418
- return c ? c[l] : void 0;
419
- }
420
- },
421
- configurable: !0,
422
- enumerable: !0
423
- }), Object.defineProperty(o, l, {
424
- set(d) {
425
- const c = k(this);
426
- if (f) {
427
- const u = $ & 32 ? this[l] : c.$hostElement$[l];
428
- typeof u > "u" && c.$instanceValues$.get(l) ? d = c.$instanceValues$.get(l) : !c.$instanceValues$.get(l) && u && c.$instanceValues$.set(l, u), f.apply(this, [H(d, $)]), d = $ & 32 ? this[l] : c.$hostElement$[l], U(this, l, d, t);
429
- return;
430
- }
431
- {
432
- if (!(n & 1) || !(t.$members$[l][0] & 4096)) {
433
- U(this, l, d, t), n & 1 && !c.$lazyInstance$ && c.$onReadyPromise$.then(() => {
434
- t.$members$[l][0] & 4096 && c.$lazyInstance$[l] !== c.$instanceValues$.get(l) && (c.$lazyInstance$[l] = d);
435
- });
436
- return;
437
- }
438
- const u = () => {
439
- const h = c.$lazyInstance$[l];
440
- !c.$instanceValues$.get(l) && h && c.$instanceValues$.set(l, h), c.$lazyInstance$[l] = H(d, $), U(this, l, c.$lazyInstance$[l], t);
441
- };
442
- c.$lazyInstance$ ? u() : c.$onReadyPromise$.then(() => u());
443
- }
444
- }
445
- });
446
- }
447
- }), n & 1) {
448
- const l = /* @__PURE__ */ new Map();
449
- o.attributeChangedCallback = function($, a, f) {
450
- p.jmp(() => {
451
- var d;
452
- const c = l.get($);
453
- if (this.hasOwnProperty(c) && q.lazyLoad)
454
- f = this[c], delete this[c];
455
- else {
456
- if (o.hasOwnProperty(c) && typeof this[c] == "number" && // cast type to number to avoid TS compiler issues
457
- this[c] == f)
458
- return;
459
- if (c == null) {
460
- const h = k(this), y = h?.$flags$;
461
- if (y && !(y & 8) && y & 128 && f !== a) {
462
- const w = h.$lazyInstance$, g = (d = t.$watchers$) == null ? void 0 : d[$];
463
- g?.forEach((T) => {
464
- w[T] != null && w[T].call(w, f, a, $);
465
- });
466
- }
467
- return;
468
- }
469
- }
470
- const u = Object.getOwnPropertyDescriptor(o, c);
471
- f = f === null && typeof this[c] == "boolean" ? !1 : f, f !== this[c] && (!u.get || u.set) && (this[c] = f);
472
- });
473
- }, e.observedAttributes = Array.from(
474
- /* @__PURE__ */ new Set([
475
- ...Object.keys((r = t.$watchers$) != null ? r : {}),
476
- ...i.filter(
477
- ([$, a]) => a[0] & 15
478
- /* HasAttribute */
479
- ).map(([$, a]) => {
480
- const f = a[1] || $;
481
- return l.set(f, $), f;
482
- })
483
- ])
484
- );
485
- }
486
- }
487
- return e;
488
- }, et = async (e, t, n, s) => {
489
- let r;
490
- if (!(t.$flags$ & 32)) {
491
- t.$flags$ |= 32;
492
- {
493
- const l = me(n, t);
494
- if (l && "then" in l) {
495
- const a = Ie();
496
- r = await l, a();
497
- } else
498
- r = l;
499
- if (!r)
500
- throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
501
- r.isProxied || (n.$watchers$ = r.watchers, ve(
502
- r,
503
- n,
504
- 2
505
- /* proxyState */
506
- ), r.isProxied = !0);
507
- const $ = x("createInstance", n.$tagName$);
508
- t.$flags$ |= 8;
509
- try {
510
- new r(t);
511
- } catch (a) {
512
- m(a, e);
513
- }
514
- t.$flags$ &= -9, t.$flags$ |= 128, $();
515
- }
516
- if (r && r.style) {
517
- let l;
518
- typeof r.style == "string" && (l = r.style);
519
- const $ = ie(n);
520
- if (!O.has($)) {
521
- const a = x("registerStyles", n.$tagName$);
522
- Be($, l, !!(n.$flags$ & 1)), a();
523
- }
524
- }
525
- }
526
- const o = t.$ancestorComponent$, i = () => M(t, !0);
527
- o && o["s-rc"] ? o["s-rc"].push(i) : i();
528
- }, tt = (e, t) => {
529
- }, st = (e) => {
530
- if (!(p.$flags$ & 1)) {
531
- const t = k(e), n = t.$cmpMeta$, s = x("connectedCallback", n.$tagName$);
532
- if (t.$flags$ & 1)
533
- t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => tt());
534
- else {
535
- t.$flags$ |= 1;
536
- {
537
- let r = e;
538
- for (; r = r.parentNode || r.host; )
539
- if (r["s-p"]) {
540
- ue(t, t.$ancestorComponent$ = r);
541
- break;
542
- }
543
- }
544
- n.$members$ && Object.entries(n.$members$).map(([r, [o]]) => {
545
- if (o & 31 && e.hasOwnProperty(r)) {
546
- const i = e[r];
547
- delete e[r], e[r] = i;
548
- }
549
- }), et(e, t, n);
550
- }
551
- s();
552
- }
553
- }, nt = (e, t) => {
554
- }, rt = async (e) => {
555
- if (!(p.$flags$ & 1)) {
556
- const t = k(e);
557
- t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => nt());
558
- }
559
- P.has(e) && P.delete(e), e.shadowRoot && P.has(e.shadowRoot) && P.delete(e.shadowRoot);
560
- }, at = (e, t = {}) => {
561
- var n;
562
- const s = x(), r = [], o = t.exclude || [], i = D.customElements, l = E.head, $ = /* @__PURE__ */ l.querySelector("meta[charset]"), a = /* @__PURE__ */ E.createElement("style"), f = [];
563
- let d, c = !0;
564
- Object.assign(p, t), p.$resourcesUrl$ = new URL(t.resourcesUrl || "./", E.baseURI).href;
565
- let u = !1;
566
- if (e.map((h) => {
567
- h[1].map((y) => {
568
- var w;
569
- const g = {
570
- $flags$: y[0],
571
- $tagName$: y[1],
572
- $members$: y[2],
573
- $listeners$: y[3]
574
- };
575
- g.$flags$ & 4 && (u = !0), g.$members$ = y[2], g.$watchers$ = (w = y[4]) != null ? w : {};
576
- const T = g.$tagName$, ge = class extends HTMLElement {
577
- // StencilLazyHost
578
- constructor(S) {
579
- if (super(S), this.hasRegisteredEventListeners = !1, S = this, Te(S, g), g.$flags$ & 1) {
580
- if (!S.shadowRoot)
581
- S.attachShadow({ mode: "open" });
582
- else if (S.shadowRoot.mode !== "open")
583
- throw new Error(
584
- `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${S.shadowRoot.mode} but Stencil only supports open shadow roots.`
585
- );
586
- }
587
- }
588
- connectedCallback() {
589
- k(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), d && (clearTimeout(d), d = null), c ? f.push(this) : p.jmp(() => st(this));
590
- }
591
- disconnectedCallback() {
592
- p.jmp(() => rt(this)), p.raf(() => {
593
- var S;
594
- const A = k(this);
595
- ((S = A?.$vnode$) == null ? void 0 : S.$elm$) instanceof Node && !A.$vnode$.$elm$.isConnected && delete A.$vnode$.$elm$;
596
- });
597
- }
598
- componentOnReady() {
599
- return k(this).$onReadyPromise$;
600
- }
601
- };
602
- g.$lazyBundleId$ = h[0], !o.includes(T) && !i.get(T) && (r.push(T), i.define(
603
- T,
604
- ve(
605
- ge,
606
- g,
607
- 1
608
- /* isElementConstructor */
609
- )
610
- ));
611
- });
612
- }), r.length > 0 && (u && (a.textContent += te), a.textContent += r.sort() + Pe, a.innerHTML.length)) {
613
- a.setAttribute("data-styles", "");
614
- const h = (n = p.$nonce$) != null ? n : re(E);
615
- h != null && a.setAttribute("nonce", h), l.insertBefore(a, $ ? $.nextSibling : l.firstChild);
616
- }
617
- c = !1, f.length ? f.map((h) => h.connectedCallback()) : p.jmp(() => d = setTimeout(pe, 30)), s();
618
- }, it = (e, t) => t;
619
- export {
620
- it as F,
621
- at as b,
622
- ae as h,
623
- Le as p,
624
- lt as r
625
- };