@everymatrix/player-account-controller 1.54.0 → 1.54.2

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 (96) hide show
  1. package/components/{GeneralLogout-CsWa2j6i.js → GeneralLogout-Ddt-oH9k.js} +1094 -1131
  2. package/components/{PlayerAccountBettingHistory-D_8K8e-E.js → PlayerAccountBettingHistory-C7xwYi03.js} +34 -35
  3. package/components/{PlayerAccountBiometrics-FWYyFKmB.js → PlayerAccountBiometrics-D7WS5cnI.js} +1 -1
  4. package/components/{PlayerAccountClosure-BJP8eejl.js → PlayerAccountClosure-yRlo8hXR.js} +1 -1
  5. package/components/{PlayerAccountController-DQGj69Re.js → PlayerAccountController-BZYAo3oo.js} +336 -353
  6. package/components/{PlayerAccountGamingLimits-Dt8hOZzW.js → PlayerAccountGamingLimits-CTBhVGgC.js} +3 -3
  7. package/components/{PlayerAccountGamingLimitsConfirmationModal-B6SPYMpk.js → PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js} +1 -1
  8. package/components/{PlayerAccountGamingLimitsGroupEdit-BG2VPqUz.js → PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js} +16 -16
  9. package/components/{PlayerAccountGamingLimitsHistory2-65MLJ2rD.js → PlayerAccountGamingLimitsHistory2-CXKA0L0d.js} +121 -132
  10. package/components/{PlayerAccountGamingLimitsInfoCard-CqTAvCh7.js → PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js} +4 -4
  11. package/components/{PlayerAccountGamingLimitsPage2Gm16-C3dTjA-p.js → PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js} +737 -768
  12. package/components/{PlayerAccountGamingLimitsPopup-diUVGesC.js → PlayerAccountGamingLimitsPopup-CJu5RRl6.js} +1 -1
  13. package/components/{PlayerAccountGamingLimitsWrapper2-BmDihzLr.js → PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js} +75 -81
  14. package/components/{PlayerAccountGeneralConfirmationModal-D3tbAl7Q.js → PlayerAccountGeneralConfirmationModal-DG0N686t.js} +1 -1
  15. package/components/{PlayerAccountMenu-CbXhpL1a.js → PlayerAccountMenu-CZBa8_5G.js} +66 -67
  16. package/components/{PlayerAccountModal-5TJbkUF8.js → PlayerAccountModal-BmKjtXKT.js} +1 -1
  17. package/components/{PlayerAccountNotifications-BVY-SXyT.js → PlayerAccountNotifications-B4Ht-hHj.js} +1 -1
  18. package/components/{PlayerAccountSelfExclusion-BGfuEA4r.js → PlayerAccountSelfExclusion-DxGHXTb8.js} +1488 -1572
  19. package/components/{PlayerAccountTimeout-BDDMm0XX.js → PlayerAccountTimeout-DOSjICsY.js} +4 -4
  20. package/components/{PlayerActiveBonuses-D0RUTvjl.js → PlayerActiveBonuses-DMAG7NUP.js} +119 -120
  21. package/components/{PlayerBonusCard-CU67pLmG.js → PlayerBonusCard-Dss1REmn.js} +2 -2
  22. package/components/{PlayerBonusHistory-BLedlLHg.js → PlayerBonusHistory-BxBiQwQf.js} +53 -53
  23. package/components/{PlayerChangePassword-8ZD6eOj-.js → PlayerChangePassword-DnCj-wcc.js} +1 -1
  24. package/components/{PlayerDeposit-D5Xuk21T.js → PlayerDeposit-CHIQ8EaC.js} +1 -1
  25. package/components/{PlayerGamingHistory-tb-rMGdz.js → PlayerGamingHistory-BtQ73TId.js} +375 -388
  26. package/components/{PlayerPendingWithdrawals-DuN3Qn3P.js → PlayerPendingWithdrawals-BbTa7_8U.js} +1 -1
  27. package/components/{PlayerProfileInfo-DmKFg0dn.js → PlayerProfileInfo-CvAqD3Dk.js} +532 -549
  28. package/components/{PlayerRealityCheck-BUW8tvj3.js → PlayerRealityCheck-3d-B64ie.js} +175 -191
  29. package/components/{PlayerTransactionHistory-hGi2tOL2.js → PlayerTransactionHistory-BYJNabMB.js} +1 -1
  30. package/components/{PlayerWithdrawal-CR3Xpytk.js → PlayerWithdrawal-DDWroufG.js} +1 -1
  31. package/esnext/player-account-controller.js +14 -0
  32. package/package.json +11 -31
  33. package/stencil/{active-mixin-59dfae2a-CJN1Jc-g.js → active-mixin-59dfae2a-BphP4pp5.js} +745 -776
  34. package/stencil/{checkbox-group-input_9-DQoOMgN8.js → checkbox-group-input_9-CMFoK7_E.js} +1873 -1942
  35. package/stencil/{general-input-bzWxIJkt.js → general-input-DnFPstQP.js} +1 -1
  36. package/stencil/{index-062e829b-DPj_pEuI.js → index-062e829b-DAFsZs6D.js} +220 -236
  37. package/stencil/{index-33f005e1-DGGQe5wK.js → index-33f005e1-fFxPaeNy.js} +223 -239
  38. package/stencil/{index-9b3245b3-3zj7bxxu.js → index-9b3245b3-rzHgwqlB.js} +166 -193
  39. package/stencil/{index-fc58390d-DeoeGpBS.js → index-fc58390d-BSwfXuUs.js} +267 -294
  40. package/stencil/{password-input_2-Dx1lICIg.js → password-input_2-Bb9Q6Fe0.js} +136 -154
  41. package/stencil/{player-change-password-gm2-98dcb7bc-F9HM0T8d.js → player-change-password-gm2-98dcb7bc-gLcZhl3S.js} +1 -1
  42. package/stencil/player-change-password-gm2-DR3e2gh5.js +7 -0
  43. package/stencil/{player-kyc-verification-o-RUWyY4.js → player-kyc-verification-BQZdJFEJ.js} +61 -83
  44. package/stencil/{toggle-checkbox-input-BCrxxTpc.js → toggle-checkbox-input-CCLW6-uK.js} +1 -1
  45. package/stencil/{user-deposit-withdrawal-DEMVRyvk.js → user-deposit-withdrawal-CmF0LoNb.js} +175 -197
  46. package/stencil/{user-transaction-history-CevHOCcm.js → user-transaction-history-BgV-k2Cl.js} +81 -107
  47. package/components/GeneralLogout-DfI2_eQe.cjs +0 -8
  48. package/components/PlayerAccountBettingHistory-ldAp8-yN.cjs +0 -1
  49. package/components/PlayerAccountBiometrics-Cft2jzuJ.cjs +0 -1
  50. package/components/PlayerAccountClosure-DvHhtHhl.cjs +0 -1
  51. package/components/PlayerAccountController-DDLO4xVW.cjs +0 -1
  52. package/components/PlayerAccountGamingLimits-EQC_UZag.cjs +0 -1
  53. package/components/PlayerAccountGamingLimitsConfirmationModal-Ciz1fSFW.cjs +0 -1
  54. package/components/PlayerAccountGamingLimitsGroupEdit-CLjUmEQv.cjs +0 -10
  55. package/components/PlayerAccountGamingLimitsHistory2-CG4RnfZE.cjs +0 -1
  56. package/components/PlayerAccountGamingLimitsInfoCard-Au2vobro.cjs +0 -1
  57. package/components/PlayerAccountGamingLimitsPage2Gm16-CMnCgRU1.cjs +0 -21
  58. package/components/PlayerAccountGamingLimitsPopup-BtbGIQFb.cjs +0 -1
  59. package/components/PlayerAccountGamingLimitsWrapper2-CW3N7E83.cjs +0 -1
  60. package/components/PlayerAccountGeneralConfirmationModal-xMxALug3.cjs +0 -1
  61. package/components/PlayerAccountMenu-DHGBVm64.cjs +0 -1
  62. package/components/PlayerAccountModal-BitbPM3Z.cjs +0 -1
  63. package/components/PlayerAccountNotifications-DDu6ZWkh.cjs +0 -1
  64. package/components/PlayerAccountSelfExclusion-9vzbBY28.cjs +0 -3828
  65. package/components/PlayerAccountTimeout-f4vPyQE-.cjs +0 -1
  66. package/components/PlayerActiveBonuses-BVQwAh2z.cjs +0 -1
  67. package/components/PlayerBonusCard-UTTIEBwb.cjs +0 -1
  68. package/components/PlayerBonusHistory-EXOvKzDr.cjs +0 -1
  69. package/components/PlayerChangePassword-XpKJjnFu.cjs +0 -3
  70. package/components/PlayerDeposit-Do7vb_4b.cjs +0 -1
  71. package/components/PlayerGamingHistory-OEU1L3Q2.cjs +0 -1
  72. package/components/PlayerPendingWithdrawals-Bu2MOezw.cjs +0 -1
  73. package/components/PlayerProfileInfo-lMeb2jBi.cjs +0 -1
  74. package/components/PlayerRealityCheck-CA0P_3BC.cjs +0 -1
  75. package/components/PlayerTransactionHistory-CvZcvyBx.cjs +0 -1
  76. package/components/PlayerWithdrawal-DxLwjX7x.cjs +0 -1
  77. package/es2015/player-account-controller.cjs +0 -1
  78. package/es2015/player-account-controller.js +0 -16
  79. package/stencil/active-mixin-59dfae2a-1hMz67mM.cjs +0 -1519
  80. package/stencil/app-globals-0f993ce5-8artnnwr.cjs +0 -1
  81. package/stencil/checkbox-group-input_9-DiXERGqn.cjs +0 -4193
  82. package/stencil/general-input-fzGwoSoE.cjs +0 -1
  83. package/stencil/index-062e829b-CpXLBOEz.cjs +0 -1
  84. package/stencil/index-33f005e1-BS5PFnj3.cjs +0 -1
  85. package/stencil/index-9b3245b3-ByXtSZIM.cjs +0 -1
  86. package/stencil/index-fc58390d-DgBOSsU7.cjs +0 -1
  87. package/stencil/locale-B5abSHU_.cjs +0 -1
  88. package/stencil/password-input_2-DvDzz75b.cjs +0 -1248
  89. package/stencil/player-change-password-gm2-98dcb7bc-CCEw2GA2.cjs +0 -1
  90. package/stencil/player-change-password-gm2-BEYcuzS-.cjs +0 -1
  91. package/stencil/player-change-password-gm2-NWnv4CCw.js +0 -25
  92. package/stencil/player-kyc-verification-_iT3bbO9.cjs +0 -180
  93. package/stencil/toggle-checkbox-input-BYoIi-jG.cjs +0 -1
  94. package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +0 -1
  95. package/stencil/user-deposit-withdrawal-_jt0Ivg5.cjs +0 -59
  96. package/stencil/user-transaction-history-U0c__t1q.cjs +0 -1
@@ -1,61 +1,34 @@
1
- var Te = Object.defineProperty;
2
- var M = Object.getOwnPropertySymbols;
3
- var Pe = Object.prototype.hasOwnProperty, we = Object.prototype.propertyIsEnumerable;
4
- var J = (e, t, s) => t in e ? Te(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, Z = (e, t) => {
5
- for (var s in t || (t = {}))
6
- Pe.call(t, s) && J(e, s, t[s]);
7
- if (M)
8
- for (var s of M(t))
9
- we.call(t, s) && J(e, s, t[s]);
10
- return e;
11
- };
12
- var O = (e, t, s) => new Promise((n, r) => {
13
- var a = (o) => {
14
- try {
15
- l(s.next(o));
16
- } catch ($) {
17
- r($);
18
- }
19
- }, i = (o) => {
20
- try {
21
- l(s.throw(o));
22
- } catch ($) {
23
- r($);
24
- }
25
- }, l = (o) => o.done ? n(o.value) : Promise.resolve(o.value).then(a, i);
26
- l((s = s.apply(e, t)).next());
27
- });
28
- const Ae = "user-transaction-history", W = (
1
+ const ke = "user-transaction-history", F = (
29
2
  /* user-transaction-history */
30
3
  { allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !1, 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: !0, hostListenerTarget: !0, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !0, 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: !0, propMutable: !1, propNumber: !1, propString: !0, reflect: !0, 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: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !0, watchCallback: !0 }
31
4
  );
32
- var _e = Object.defineProperty, be = (e, t) => {
33
- for (var s in t)
34
- _e(e, s, { get: t[s], enumerable: !0 });
35
- }, Oe = "http://www.w3.org/2000/svg", me = "http://www.w3.org/1999/xhtml", G = /* @__PURE__ */ new WeakMap(), L = (e) => G.get(e), St = (e, t) => {
36
- G.set(t.$lazyInstance$ = e, t);
37
- }, je = (e, t) => {
38
- const s = {
5
+ var Ee = Object.defineProperty, Le = (e, t) => {
6
+ for (var n in t)
7
+ Ee(e, n, { get: t[n], enumerable: !0 });
8
+ }, xe = "http://www.w3.org/2000/svg", Te = "http://www.w3.org/1999/xhtml", W = /* @__PURE__ */ new WeakMap(), L = (e) => W.get(e), ft = (e, t) => {
9
+ W.set(t.$lazyInstance$ = e, t);
10
+ }, Pe = (e, t) => {
11
+ const n = {
39
12
  $flags$: 0,
40
13
  $hostElement$: e,
41
14
  $cmpMeta$: t,
42
15
  $instanceValues$: /* @__PURE__ */ new Map()
43
16
  };
44
- return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], G.set(e, s);
45
- }, N = (e, t) => t in e, T = (e, t) => (0, console.error)(e, t), D = /* @__PURE__ */ new Map(), Ue = (e, t, s) => {
46
- const n = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
17
+ return n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], W.set(e, n);
18
+ }, Q = (e, t) => t in e, T = (e, t) => (0, console.error)(e, t), z = /* @__PURE__ */ new Map(), we = (e, t, n) => {
19
+ const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
47
20
  if (!r)
48
21
  return;
49
- const a = D.get(r);
22
+ const a = z.get(r);
50
23
  if (a)
51
- return a[n];
24
+ return a[s];
52
25
  {
53
- const i = (l) => (D.set(r, l), l[n]);
26
+ const i = (l) => (z.set(r, l), l[s]);
54
27
  switch (r) {
55
28
  case "user-transaction-history":
56
29
  return import(
57
30
  /* webpackMode: "lazy" */
58
- "./user-transaction-history-CevHOCcm.js"
31
+ "./user-transaction-history-BgV-k2Cl.js"
59
32
  ).then(i, T);
60
33
  }
61
34
  }
@@ -66,20 +39,20 @@ var _e = Object.defineProperty, be = (e, t) => {
66
39
  /* webpackMode: "lazy" */
67
40
  `./${r}.entry.js`
68
41
  ).then(
69
- (i) => (D.set(r, i), i[n]),
42
+ (i) => (z.set(r, i), i[s]),
70
43
  (i) => {
71
44
  T(i, t.$hostElement$);
72
45
  }
73
46
  );
74
- }, U = /* @__PURE__ */ new Map(), Ie = "sty-id", ze = "{visibility:hidden}.hydrated{visibility:inherit}", ae = "slot-fb{display:contents}slot-fb[hidden]{display:none}", V = "http://www.w3.org/1999/xlink", _ = typeof window != "undefined" ? window : {}, E = _.document || { head: {} }, h = {
47
+ }, j = /* @__PURE__ */ new Map(), Ae = "sty-id", _e = "{visibility:hidden}.hydrated{visibility:inherit}", se = "slot-fb{display:contents}slot-fb[hidden]{display:none}", M = "http://www.w3.org/1999/xlink", _ = typeof window < "u" ? window : {}, E = _.document || { head: {} }, h = {
75
48
  $flags$: 0,
76
49
  $resourcesUrl$: "",
77
50
  jmp: (e) => e(),
78
51
  raf: (e) => requestAnimationFrame(e),
79
- ael: (e, t, s, n) => e.addEventListener(t, s, n),
80
- rel: (e, t, s, n) => e.removeEventListener(t, s, n),
52
+ ael: (e, t, n, s) => e.addEventListener(t, n, s),
53
+ rel: (e, t, n, s) => e.removeEventListener(t, n, s),
81
54
  ce: (e, t) => new CustomEvent(e, t)
82
- }, De = /* @__PURE__ */ (() => {
55
+ }, be = /* @__PURE__ */ (() => {
83
56
  let e = !1;
84
57
  try {
85
58
  E.addEventListener(
@@ -91,80 +64,80 @@ var _e = Object.defineProperty, be = (e, t) => {
91
64
  }
92
65
  })
93
66
  );
94
- } catch (t) {
67
+ } catch {
95
68
  }
96
69
  return e;
97
- })(), He = (e) => Promise.resolve(e), ie = /* @__PURE__ */ (() => {
70
+ })(), Oe = (e) => Promise.resolve(e), ne = /* @__PURE__ */ (() => {
98
71
  try {
99
72
  return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
100
- } catch (e) {
73
+ } catch {
101
74
  }
102
75
  return !1;
103
- })(), q = !1, ee = [], $e = [], qe = (e, t) => (s) => {
104
- e.push(s), q || (q = !0, h.$flags$ & 4 ? X(R) : h.raf(R));
105
- }, te = (e) => {
76
+ })(), H = !1, J = [], re = [], me = (e, t) => (n) => {
77
+ e.push(n), H || (H = !0, h.$flags$ & 4 ? G(q) : h.raf(q));
78
+ }, Z = (e) => {
106
79
  for (let t = 0; t < e.length; t++)
107
80
  try {
108
81
  e[t](performance.now());
109
- } catch (s) {
110
- T(s);
82
+ } catch (n) {
83
+ T(n);
111
84
  }
112
85
  e.length = 0;
113
- }, R = () => {
114
- te(ee), te($e), (q = ee.length > 0) && h.raf(R);
115
- }, X = (e) => He().then(e), Re = /* @__PURE__ */ qe($e), kt = (e) => {
86
+ }, q = () => {
87
+ Z(J), Z(re), (H = J.length > 0) && h.raf(q);
88
+ }, G = (e) => Oe().then(e), je = /* @__PURE__ */ me(re), ut = (e) => {
116
89
  const t = new URL(e, h.$resourcesUrl$);
117
90
  return t.origin !== _.location.origin ? t.href : t.pathname;
118
- }, Y = (e) => (e = typeof e, e === "object" || e === "function");
119
- function oe(e) {
120
- var t, s, n;
121
- 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;
91
+ }, X = (e) => (e = typeof e, e === "object" || e === "function");
92
+ function le(e) {
93
+ var t, n, s;
94
+ 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;
122
95
  }
123
- var Be = {};
124
- be(Be, {
125
- err: () => ce,
126
- map: () => Ce,
127
- ok: () => B,
128
- unwrap: () => Fe,
129
- unwrapErr: () => We
96
+ var Ue = {};
97
+ Le(Ue, {
98
+ err: () => ae,
99
+ map: () => Ie,
100
+ ok: () => R,
101
+ unwrap: () => ze,
102
+ unwrapErr: () => De
130
103
  });
131
- var B = (e) => ({
104
+ var R = (e) => ({
132
105
  isOk: !0,
133
106
  isErr: !1,
134
107
  value: e
135
- }), ce = (e) => ({
108
+ }), ae = (e) => ({
136
109
  isOk: !1,
137
110
  isErr: !0,
138
111
  value: e
139
112
  });
140
- function Ce(e, t) {
113
+ function Ie(e, t) {
141
114
  if (e.isOk) {
142
- const s = t(e.value);
143
- return s instanceof Promise ? s.then((n) => B(n)) : B(s);
115
+ const n = t(e.value);
116
+ return n instanceof Promise ? n.then((s) => R(s)) : R(n);
144
117
  }
145
118
  if (e.isErr) {
146
- const s = e.value;
147
- return ce(s);
119
+ const n = e.value;
120
+ return ae(n);
148
121
  }
149
122
  throw "should never get here";
150
123
  }
151
- var Fe = (e) => {
124
+ var ze = (e) => {
152
125
  if (e.isOk)
153
126
  return e.value;
154
127
  throw e.value;
155
- }, We = (e) => {
128
+ }, De = (e) => {
156
129
  if (e.isErr)
157
130
  return e.value;
158
131
  throw e.value;
159
132
  }, x = (e, t = "") => () => {
160
- }, Ge = (e, t) => () => {
161
- }, fe = (e, t, ...s) => {
162
- let n = null, r = null, a = !1, i = !1;
133
+ }, He = (e, t) => () => {
134
+ }, ie = (e, t, ...n) => {
135
+ let s = null, r = null, a = !1, i = !1;
163
136
  const l = [], o = (c) => {
164
137
  for (let u = 0; u < c.length; u++)
165
- n = c[u], Array.isArray(n) ? o(n) : n != null && typeof n != "boolean" && ((a = typeof e != "function" && !Y(n)) && (n = String(n)), a && i ? l[l.length - 1].$text$ += n : l.push(a ? I(null, n) : n), i = a);
138
+ s = c[u], Array.isArray(s) ? o(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !X(s)) && (s = String(s)), a && i ? l[l.length - 1].$text$ += s : l.push(a ? U(null, s) : s), i = a);
166
139
  };
167
- if (o(s), t) {
140
+ if (o(n), t) {
168
141
  t.key && (r = t.key);
169
142
  {
170
143
  const c = t.className || t.class;
@@ -175,62 +148,62 @@ var Fe = (e) => {
175
148
  return e(
176
149
  t === null ? {} : t,
177
150
  l,
178
- Ke
151
+ Be
179
152
  );
180
- const $ = I(e, null);
153
+ const $ = U(e, null);
181
154
  return $.$attrs$ = t, l.length > 0 && ($.$children$ = l), $.$key$ = r, $;
182
- }, I = (e, t) => {
183
- const s = {
155
+ }, U = (e, t) => {
156
+ const n = {
184
157
  $flags$: 0,
185
158
  $tag$: e,
186
159
  $text$: t,
187
160
  $elm$: null,
188
161
  $children$: null
189
162
  };
190
- return s.$attrs$ = null, s.$key$ = null, s;
191
- }, Xe = {}, Ye = (e) => e && e.$tag$ === Xe, Ke = {
192
- forEach: (e, t) => e.map(se).forEach(t),
193
- map: (e, t) => e.map(se).map(t).map(Qe)
194
- }, se = (e) => ({
163
+ return n.$attrs$ = null, n.$key$ = null, n;
164
+ }, qe = {}, Re = (e) => e && e.$tag$ === qe, Be = {
165
+ forEach: (e, t) => e.map(N).forEach(t),
166
+ map: (e, t) => e.map(N).map(t).map(Ce)
167
+ }, N = (e) => ({
195
168
  vattrs: e.$attrs$,
196
169
  vchildren: e.$children$,
197
170
  vkey: e.$key$,
198
171
  vname: e.$name$,
199
172
  vtag: e.$tag$,
200
173
  vtext: e.$text$
201
- }), Qe = (e) => {
174
+ }), Ce = (e) => {
202
175
  if (typeof e.vtag == "function") {
203
- const s = Z({}, e.vattrs);
204
- return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), fe(e.vtag, s, ...e.vchildren || []);
176
+ const n = { ...e.vattrs };
177
+ return e.vkey && (n.key = e.vkey), e.vname && (n.name = e.vname), ie(e.vtag, n, ...e.vchildren || []);
205
178
  }
206
- const t = I(e.vtag, e.vtext);
179
+ const t = U(e.vtag, e.vtext);
207
180
  return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
208
- }, C = (e, t) => e != null && !Y(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, Et = (e) => L(e).$hostElement$, Me = (e, t, s) => {
209
- const n = h.ce(t, s);
210
- return e.dispatchEvent(n), n;
211
- }, A = /* @__PURE__ */ new WeakMap(), Je = (e, t, s) => {
212
- let n = U.get(e);
213
- ie && s ? (n = n || new CSSStyleSheet(), typeof n == "string" ? n = t : n.replaceSync(t)) : n = t, U.set(e, n);
214
- }, Ze = (e, t, s) => {
215
- var n;
216
- const r = ue(t), a = U.get(r);
181
+ }, B = (e, t) => e != null && !X(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, dt = (e) => L(e).$hostElement$, Fe = (e, t, n) => {
182
+ const s = h.ce(t, n);
183
+ return e.dispatchEvent(s), s;
184
+ }, A = /* @__PURE__ */ new WeakMap(), We = (e, t, n) => {
185
+ let s = j.get(e);
186
+ ne && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, j.set(e, s);
187
+ }, Ge = (e, t, n) => {
188
+ var s;
189
+ const r = $e(t), a = j.get(r);
217
190
  if (e = e.nodeType === 11 ? e : E, a)
218
191
  if (typeof a == "string") {
219
192
  e = e.head || e;
220
193
  let i = A.get(e), l;
221
194
  if (i || A.set(e, i = /* @__PURE__ */ new Set()), !i.has(r)) {
222
195
  {
223
- l = document.querySelector(`[${Ie}="${r}"]`) || E.createElement("style"), l.innerHTML = a;
224
- const o = (n = h.$nonce$) != null ? n : oe(E);
196
+ l = document.querySelector(`[${Ae}="${r}"]`) || E.createElement("style"), l.innerHTML = a;
197
+ const o = (s = h.$nonce$) != null ? s : le(E);
225
198
  if (o != null && l.setAttribute("nonce", o), !(t.$flags$ & 1))
226
199
  if (e.nodeName === "HEAD") {
227
200
  const $ = e.querySelectorAll("link[rel=preconnect]"), c = $.length > 0 ? $[$.length - 1].nextSibling : e.querySelector("style");
228
201
  e.insertBefore(
229
202
  l,
230
- (c == null ? void 0 : c.parentNode) === e ? c : null
203
+ c?.parentNode === e ? c : null
231
204
  );
232
205
  } else if ("host" in e)
233
- if (ie) {
206
+ if (ne) {
234
207
  const $ = new CSSStyleSheet();
235
208
  $.replaceSync(a), e.adoptedStyleSheets = [$, ...e.adoptedStyleSheets];
236
209
  } else {
@@ -241,73 +214,73 @@ var Fe = (e) => {
241
214
  e.append(l);
242
215
  t.$flags$ & 1 && e.nodeName !== "HEAD" && e.insertBefore(l, null);
243
216
  }
244
- t.$flags$ & 4 && (l.innerHTML += ae), i && i.add(r);
217
+ t.$flags$ & 4 && (l.innerHTML += se), i && i.add(r);
245
218
  }
246
219
  } else e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
247
220
  return r;
248
- }, Ne = (e) => {
249
- const t = e.$cmpMeta$, s = e.$hostElement$, n = t.$flags$, r = x("attachStyles", t.$tagName$), a = Ze(
250
- s.shadowRoot ? s.shadowRoot : s.getRootNode(),
221
+ }, Xe = (e) => {
222
+ const t = e.$cmpMeta$, n = e.$hostElement$, s = t.$flags$, r = x("attachStyles", t.$tagName$), a = Ge(
223
+ n.shadowRoot ? n.shadowRoot : n.getRootNode(),
251
224
  t
252
225
  );
253
- n & 10 && n & 2 && (s["s-sc"] = a, s.classList.add(a + "-h")), r();
254
- }, ue = (e, t) => "sc-" + e.$tagName$, ne = (e, t, s, n, r, a, i) => {
255
- if (s !== n) {
256
- let l = N(e, t), o = t.toLowerCase();
226
+ s & 10 && s & 2 && (n["s-sc"] = a, n.classList.add(a + "-h")), r();
227
+ }, $e = (e, t) => "sc-" + e.$tagName$, V = (e, t, n, s, r, a, i) => {
228
+ if (n !== s) {
229
+ let l = Q(e, t), o = t.toLowerCase();
257
230
  if (t === "class") {
258
- const $ = e.classList, c = re(s);
259
- let u = re(n);
231
+ const $ = e.classList, c = ee(n);
232
+ let u = ee(s);
260
233
  $.remove(...c.filter((f) => f && !u.includes(f))), $.add(...u.filter((f) => f && !c.includes(f)));
261
234
  } else if (t === "style") {
262
- for (const $ in s)
263
- (!n || n[$] == null) && ($.includes("-") ? e.style.removeProperty($) : e.style[$] = "");
264
235
  for (const $ in n)
265
- (!s || n[$] !== s[$]) && ($.includes("-") ? e.style.setProperty($, n[$]) : e.style[$] = n[$]);
236
+ (!s || s[$] == null) && ($.includes("-") ? e.style.removeProperty($) : e.style[$] = "");
237
+ for (const $ in s)
238
+ (!n || s[$] !== n[$]) && ($.includes("-") ? e.style.setProperty($, s[$]) : e.style[$] = s[$]);
266
239
  } else if (t !== "key") if (t === "ref")
267
- n && n(e);
240
+ s && s(e);
268
241
  else if (!l && t[0] === "o" && t[1] === "n") {
269
- if (t[2] === "-" ? t = t.slice(3) : N(_, o) ? t = o.slice(2) : t = o[2] + t.slice(3), s || n) {
270
- const $ = t.endsWith(de);
271
- t = t.replace(et, ""), s && h.rel(e, t, s, $), n && h.ael(e, t, n, $);
242
+ if (t[2] === "-" ? t = t.slice(3) : Q(_, o) ? t = o.slice(2) : t = o[2] + t.slice(3), n || s) {
243
+ const $ = t.endsWith(oe);
244
+ t = t.replace(Ke, ""), n && h.rel(e, t, n, $), s && h.ael(e, t, s, $);
272
245
  }
273
246
  } else {
274
- const $ = Y(n);
275
- if ((l || $ && n !== null) && !r)
247
+ const $ = X(s);
248
+ if ((l || $ && s !== null) && !r)
276
249
  try {
277
250
  if (e.tagName.includes("-"))
278
- e[t] !== n && (e[t] = n);
251
+ e[t] !== s && (e[t] = s);
279
252
  else {
280
- const u = n == null ? "" : n;
281
- t === "list" ? l = !1 : (s == null || e[t] != u) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = u : e.setAttribute(t, u));
253
+ const u = s ?? "";
254
+ t === "list" ? l = !1 : (n == null || e[t] != u) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = u : e.setAttribute(t, u));
282
255
  }
283
- } catch (u) {
256
+ } catch {
284
257
  }
285
258
  let c = !1;
286
- o !== (o = o.replace(/^xlink\:?/, "")) && (t = o, c = !0), n == null || n === !1 ? (n !== !1 || e.getAttribute(t) === "") && (c ? e.removeAttributeNS(V, t) : e.removeAttribute(t)) : (!l || a & 4 || r) && !$ && (n = n === !0 ? "" : n, c ? e.setAttributeNS(V, t, n) : e.setAttribute(t, n));
259
+ o !== (o = o.replace(/^xlink\:?/, "")) && (t = o, c = !0), s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && (c ? e.removeAttributeNS(M, t) : e.removeAttribute(t)) : (!l || a & 4 || r) && !$ && (s = s === !0 ? "" : s, c ? e.setAttributeNS(M, t, s) : e.setAttribute(t, s));
287
260
  }
288
261
  }
289
- }, Ve = /\s/, re = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), !e || typeof e != "string" ? [] : e.split(Ve)), de = "Capture", et = new RegExp(de + "$"), pe = (e, t, s, n) => {
262
+ }, Ye = /\s/, ee = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), !e || typeof e != "string" ? [] : e.split(Ye)), oe = "Capture", Ke = new RegExp(oe + "$"), ce = (e, t, n, s) => {
290
263
  const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, a = e && e.$attrs$ || {}, i = t.$attrs$ || {};
291
- for (const l of le(Object.keys(a)))
292
- l in i || ne(
264
+ for (const l of te(Object.keys(a)))
265
+ l in i || V(
293
266
  r,
294
267
  l,
295
268
  a[l],
296
269
  void 0,
297
- s,
270
+ n,
298
271
  t.$flags$
299
272
  );
300
- for (const l of le(Object.keys(i)))
301
- ne(
273
+ for (const l of te(Object.keys(i)))
274
+ V(
302
275
  r,
303
276
  l,
304
277
  a[l],
305
278
  i[l],
306
- s,
279
+ n,
307
280
  t.$flags$
308
281
  );
309
282
  };
310
- function le(e) {
283
+ function te(e) {
311
284
  return e.includes("ref") ? (
312
285
  // we need to sort these to ensure that `'ref'` is the last attr
313
286
  [...e.filter((t) => t !== "ref"), "ref"]
@@ -316,178 +289,178 @@ function le(e) {
316
289
  e
317
290
  );
318
291
  }
319
- var K, y = !1, z = (e, t, s) => {
320
- const n = t.$children$[s];
292
+ var Y, y = !1, I = (e, t, n) => {
293
+ const s = t.$children$[n];
321
294
  let r = 0, a, i;
322
- if (n.$text$ !== null)
323
- a = n.$elm$ = E.createTextNode(n.$text$);
295
+ if (s.$text$ !== null)
296
+ a = s.$elm$ = E.createTextNode(s.$text$);
324
297
  else {
325
- if (y || (y = n.$tag$ === "svg"), a = n.$elm$ = E.createElementNS(
326
- y ? Oe : me,
327
- n.$tag$
328
- ), y && n.$tag$ === "foreignObject" && (y = !1), pe(null, n, y), n.$children$)
329
- for (r = 0; r < n.$children$.length; ++r)
330
- i = z(e, n, r), i && a.appendChild(i);
331
- n.$tag$ === "svg" ? y = !1 : a.tagName === "foreignObject" && (y = !0);
298
+ if (y || (y = s.$tag$ === "svg"), a = s.$elm$ = E.createElementNS(
299
+ y ? xe : Te,
300
+ s.$tag$
301
+ ), y && s.$tag$ === "foreignObject" && (y = !1), ce(null, s, y), s.$children$)
302
+ for (r = 0; r < s.$children$.length; ++r)
303
+ i = I(e, s, r), i && a.appendChild(i);
304
+ s.$tag$ === "svg" ? y = !1 : a.tagName === "foreignObject" && (y = !0);
332
305
  }
333
- return a["s-hn"] = K, a;
334
- }, he = (e, t, s, n, r, a) => {
306
+ return a["s-hn"] = Y, a;
307
+ }, fe = (e, t, n, s, r, a) => {
335
308
  let i = e, l;
336
- for (i.shadowRoot && i.tagName === K && (i = i.shadowRoot); r <= a; ++r)
337
- n[r] && (l = z(null, s, r), l && (n[r].$elm$ = l, j(i, l, t)));
338
- }, ve = (e, t, s) => {
339
- for (let n = t; n <= s; ++n) {
340
- const r = e[n];
309
+ for (i.shadowRoot && i.tagName === Y && (i = i.shadowRoot); r <= a; ++r)
310
+ s[r] && (l = I(null, n, r), l && (s[r].$elm$ = l, m(i, l, t)));
311
+ }, ue = (e, t, n) => {
312
+ for (let s = t; s <= n; ++s) {
313
+ const r = e[s];
341
314
  if (r) {
342
315
  const a = r.$elm$;
343
- ge(r), a && a.remove();
316
+ de(r), a && a.remove();
344
317
  }
345
318
  }
346
- }, tt = (e, t, s, n, r = !1) => {
347
- let a = 0, i = 0, l = 0, o = 0, $ = t.length - 1, c = t[0], u = t[$], f = n.length - 1, d = n[0], p = n[f], v, k;
319
+ }, Qe = (e, t, n, s, r = !1) => {
320
+ let a = 0, i = 0, l = 0, o = 0, $ = t.length - 1, c = t[0], u = t[$], f = s.length - 1, d = s[0], p = s[f], v, k;
348
321
  for (; a <= $ && i <= f; )
349
322
  if (c == null)
350
323
  c = t[++a];
351
324
  else if (u == null)
352
325
  u = t[--$];
353
326
  else if (d == null)
354
- d = n[++i];
327
+ d = s[++i];
355
328
  else if (p == null)
356
- p = n[--f];
357
- else if (m(c, d, r))
358
- w(c, d, r), c = t[++a], d = n[++i];
359
- else if (m(u, p, r))
360
- w(u, p, r), u = t[--$], p = n[--f];
361
- else if (m(c, p, r))
362
- w(c, p, r), j(e, c.$elm$, u.$elm$.nextSibling), c = t[++a], p = n[--f];
363
- else if (m(u, d, r))
364
- w(u, d, r), j(e, u.$elm$, c.$elm$), u = t[--$], d = n[++i];
329
+ p = s[--f];
330
+ else if (O(c, d, r))
331
+ w(c, d, r), c = t[++a], d = s[++i];
332
+ else if (O(u, p, r))
333
+ w(u, p, r), u = t[--$], p = s[--f];
334
+ else if (O(c, p, r))
335
+ w(c, p, r), m(e, c.$elm$, u.$elm$.nextSibling), c = t[++a], p = s[--f];
336
+ else if (O(u, d, r))
337
+ w(u, d, r), m(e, u.$elm$, c.$elm$), u = t[--$], d = s[++i];
365
338
  else {
366
339
  for (l = -1, o = a; o <= $; ++o)
367
340
  if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
368
341
  l = o;
369
342
  break;
370
343
  }
371
- l >= 0 ? (k = t[l], k.$tag$ !== d.$tag$ ? v = z(t && t[i], s, l) : (w(k, d, r), t[l] = void 0, v = k.$elm$), d = n[++i]) : (v = z(t && t[i], s, i), d = n[++i]), v && j(c.$elm$.parentNode, v, c.$elm$);
344
+ l >= 0 ? (k = t[l], k.$tag$ !== d.$tag$ ? v = I(t && t[i], n, l) : (w(k, d, r), t[l] = void 0, v = k.$elm$), d = s[++i]) : (v = I(t && t[i], n, i), d = s[++i]), v && m(c.$elm$.parentNode, v, c.$elm$);
372
345
  }
373
- a > $ ? he(
346
+ a > $ ? fe(
374
347
  e,
375
- n[f + 1] == null ? null : n[f + 1].$elm$,
376
- s,
348
+ s[f + 1] == null ? null : s[f + 1].$elm$,
377
349
  n,
350
+ s,
378
351
  i,
379
352
  f
380
- ) : i > f && ve(t, a, $);
381
- }, m = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? (s && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, w = (e, t, s = !1) => {
382
- const n = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$, i = t.$tag$, l = t.$text$;
383
- l === null ? (y = i === "svg" ? !0 : i === "foreignObject" ? !1 : y, pe(e, t, y), r !== null && a !== null ? tt(n, r, t, a, s) : a !== null ? (e.$text$ !== null && (n.textContent = ""), he(n, null, t, a, 0, a.length - 1)) : (
353
+ ) : i > f && ue(t, a, $);
354
+ }, O = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? (n && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, w = (e, t, n = !1) => {
355
+ const s = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$, i = t.$tag$, l = t.$text$;
356
+ l === null ? (y = i === "svg" ? !0 : i === "foreignObject" ? !1 : y, ce(e, t, y), r !== null && a !== null ? Qe(s, r, t, a, n) : a !== null ? (e.$text$ !== null && (s.textContent = ""), fe(s, null, t, a, 0, a.length - 1)) : (
384
357
  // don't do this on initial render as it can cause non-hydrated content to be removed
385
- !s && W.updatable && r !== null && ve(r, 0, r.length - 1)
386
- ), y && i === "svg" && (y = !1)) : e.$text$ !== l && (n.data = l);
387
- }, ge = (e) => {
388
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ge);
389
- }, j = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), st = (e, t, s = !1) => {
390
- const n = e.$hostElement$, r = e.$cmpMeta$, a = e.$vnode$ || I(null, null), i = Ye(t) ? t : fe(null, null, t);
391
- if (K = n.tagName, r.$attrsToReflect$ && (i.$attrs$ = i.$attrs$ || {}, r.$attrsToReflect$.map(
392
- ([l, o]) => i.$attrs$[o] = n[l]
393
- )), s && i.$attrs$)
358
+ !n && F.updatable && r !== null && ue(r, 0, r.length - 1)
359
+ ), y && i === "svg" && (y = !1)) : e.$text$ !== l && (s.data = l);
360
+ }, de = (e) => {
361
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(de);
362
+ }, m = (e, t, n) => e?.insertBefore(t, n), Me = (e, t, n = !1) => {
363
+ const s = e.$hostElement$, r = e.$cmpMeta$, a = e.$vnode$ || U(null, null), i = Re(t) ? t : ie(null, null, t);
364
+ if (Y = s.tagName, r.$attrsToReflect$ && (i.$attrs$ = i.$attrs$ || {}, r.$attrsToReflect$.map(
365
+ ([l, o]) => i.$attrs$[o] = s[l]
366
+ )), n && i.$attrs$)
394
367
  for (const l of Object.keys(i.$attrs$))
395
- n.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (i.$attrs$[l] = n[l]);
396
- i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = a.$elm$ = n.shadowRoot || n, r.$flags$ & 1, w(a, i, s);
397
- }, ye = (e, t) => {
368
+ s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (i.$attrs$[l] = s[l]);
369
+ i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = a.$elm$ = s.shadowRoot || s, r.$flags$ & 1, w(a, i, n);
370
+ }, pe = (e, t) => {
398
371
  if (t && !e.$onRenderResolve$ && t["s-p"]) {
399
- const s = t["s-p"].push(
372
+ const n = t["s-p"].push(
400
373
  new Promise(
401
- (n) => e.$onRenderResolve$ = () => {
402
- t["s-p"].splice(s - 1, 1), n();
374
+ (s) => e.$onRenderResolve$ = () => {
375
+ t["s-p"].splice(n - 1, 1), s();
403
376
  }
404
377
  )
405
378
  );
406
379
  }
407
- }, Q = (e, t) => {
380
+ }, K = (e, t) => {
408
381
  if (e.$flags$ |= 16, e.$flags$ & 4) {
409
382
  e.$flags$ |= 512;
410
383
  return;
411
384
  }
412
- return ye(e, e.$ancestorComponent$), Re(() => nt(e, t));
413
- }, nt = (e, t) => {
414
- const s = e.$hostElement$, n = x("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
385
+ return pe(e, e.$ancestorComponent$), je(() => Je(e, t));
386
+ }, Je = (e, t) => {
387
+ const n = e.$hostElement$, s = x("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
415
388
  if (!r)
416
389
  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`
390
+ `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`
418
391
  );
419
392
  let a;
420
- return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([i, l]) => F(r, i, l, s)), e.$queuedListeners$ = void 0), a = F(r, "componentWillLoad", void 0, s)), n(), rt(a, () => at(e, r, t));
421
- }, rt = (e, t) => lt(e) ? e.then(t).catch((s) => {
422
- console.error(s), t();
423
- }) : t(), lt = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", at = (e, t, s) => O(void 0, null, function* () {
424
- var n;
393
+ return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([i, l]) => C(r, i, l, n)), e.$queuedListeners$ = void 0), a = C(r, "componentWillLoad", void 0, n)), s(), Ze(a, () => Ve(e, r, t));
394
+ }, Ze = (e, t) => Ne(e) ? e.then(t).catch((n) => {
395
+ console.error(n), t();
396
+ }) : t(), Ne = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ve = async (e, t, n) => {
397
+ var s;
425
398
  const r = e.$hostElement$, a = x("update", e.$cmpMeta$.$tagName$), i = r["s-rc"];
426
- s && Ne(e);
399
+ n && Xe(e);
427
400
  const l = x("render", e.$cmpMeta$.$tagName$);
428
- it(e, t, r, s), i && (i.map((o) => o()), r["s-rc"] = void 0), l(), a();
401
+ et(e, t, r, n), i && (i.map((o) => o()), r["s-rc"] = void 0), l(), a();
429
402
  {
430
- const o = (n = r["s-p"]) != null ? n : [], $ = () => $t(e);
403
+ const o = (s = r["s-p"]) != null ? s : [], $ = () => tt(e);
431
404
  o.length === 0 ? $() : (Promise.all(o).then($), e.$flags$ |= 4, o.length = 0);
432
405
  }
433
- }), it = (e, t, s, n) => {
406
+ }, et = (e, t, n, s) => {
434
407
  try {
435
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, st(e, t, n);
408
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Me(e, t, s);
436
409
  } catch (r) {
437
410
  T(r, e.$hostElement$);
438
411
  }
439
412
  return null;
440
- }, $t = (e) => {
441
- const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, n = x("postUpdate", t), r = e.$lazyInstance$, a = e.$ancestorComponent$;
442
- F(r, "componentDidRender", void 0, s), e.$flags$ & 64 ? n() : (e.$flags$ |= 64, ke(s), n(), e.$onReadyResolve$(s), a || Se()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && X(() => Q(e, !1)), e.$flags$ &= -517;
443
- }, Se = (e) => {
444
- ke(E.documentElement), X(() => Me(_, "appload", { detail: { namespace: Ae } }));
445
- }, F = (e, t, s, n) => {
413
+ }, tt = (e) => {
414
+ const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = x("postUpdate", t), r = e.$lazyInstance$, a = e.$ancestorComponent$;
415
+ C(r, "componentDidRender", void 0, n), e.$flags$ & 64 ? s() : (e.$flags$ |= 64, ve(n), s(), e.$onReadyResolve$(n), a || he()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && G(() => K(e, !1)), e.$flags$ &= -517;
416
+ }, he = (e) => {
417
+ ve(E.documentElement), G(() => Fe(_, "appload", { detail: { namespace: ke } }));
418
+ }, C = (e, t, n, s) => {
446
419
  if (e && e[t])
447
420
  try {
448
- return e[t](s);
421
+ return e[t](n);
449
422
  } catch (r) {
450
- T(r, n);
423
+ T(r, s);
451
424
  }
452
- }, ke = (e) => {
425
+ }, ve = (e) => {
453
426
  var t;
454
- return e.classList.add((t = W.hydratedSelectorName) != null ? t : "hydrated");
455
- }, ot = (e, t) => L(e).$instanceValues$.get(t), H = (e, t, s, n) => {
427
+ return e.classList.add((t = F.hydratedSelectorName) != null ? t : "hydrated");
428
+ }, st = (e, t) => L(e).$instanceValues$.get(t), D = (e, t, n, s) => {
456
429
  const r = L(e);
457
430
  if (!r)
458
431
  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).`
432
+ `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).`
460
433
  );
461
434
  const a = r.$hostElement$, i = r.$instanceValues$.get(t), l = r.$flags$, o = r.$lazyInstance$;
462
- s = C(s, n.$members$[t][0]);
463
- const $ = Number.isNaN(i) && Number.isNaN(s), c = s !== i && !$;
464
- if ((!(l & 8) || i === void 0) && c && (r.$instanceValues$.set(t, s), o)) {
465
- if (n.$watchers$ && l & 128) {
466
- const u = n.$watchers$[t];
435
+ n = B(n, s.$members$[t][0]);
436
+ const $ = Number.isNaN(i) && Number.isNaN(n), c = n !== i && !$;
437
+ if ((!(l & 8) || i === void 0) && c && (r.$instanceValues$.set(t, n), o)) {
438
+ if (s.$watchers$ && l & 128) {
439
+ const u = s.$watchers$[t];
467
440
  u && u.map((f) => {
468
441
  try {
469
- o[f](s, i, t);
442
+ o[f](n, i, t);
470
443
  } catch (d) {
471
444
  T(d, a);
472
445
  }
473
446
  });
474
447
  }
475
- (l & 18) === 2 && Q(r, !1);
448
+ (l & 18) === 2 && K(r, !1);
476
449
  }
477
- }, Ee = (e, t, s) => {
478
- var n, r;
450
+ }, ge = (e, t, n) => {
451
+ var s, r;
479
452
  const a = e.prototype;
480
453
  if (t.$members$ || t.$watchers$ || e.watchers) {
481
454
  e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
482
- const i = Object.entries((n = t.$members$) != null ? n : {});
455
+ const i = Object.entries((s = t.$members$) != null ? s : {});
483
456
  if (i.map(([l, [o]]) => {
484
- if (o & 31 || s & 2 && o & 32) {
457
+ if (o & 31 || n & 2 && o & 32) {
485
458
  const { get: $, set: c } = Object.getOwnPropertyDescriptor(a, l) || {};
486
- $ && (t.$members$[l][0] |= 2048), c && (t.$members$[l][0] |= 4096), (s & 1 || !$) && Object.defineProperty(a, l, {
459
+ $ && (t.$members$[l][0] |= 2048), c && (t.$members$[l][0] |= 4096), (n & 1 || !$) && Object.defineProperty(a, l, {
487
460
  get() {
488
461
  {
489
462
  if (!(t.$members$[l][0] & 2048))
490
- return ot(this, l);
463
+ return st(this, l);
491
464
  const u = L(this), f = u ? u.$lazyInstance$ : a;
492
465
  return f ? f[l] : void 0;
493
466
  }
@@ -499,42 +472,42 @@ var K, y = !1, z = (e, t, s) => {
499
472
  const f = L(this);
500
473
  if (c) {
501
474
  const d = o & 32 ? this[l] : f.$hostElement$[l];
502
- typeof d == "undefined" && f.$instanceValues$.get(l) ? u = f.$instanceValues$.get(l) : !f.$instanceValues$.get(l) && d && f.$instanceValues$.set(l, d), c.apply(this, [C(u, o)]), u = o & 32 ? this[l] : f.$hostElement$[l], H(this, l, u, t);
475
+ typeof d > "u" && f.$instanceValues$.get(l) ? u = f.$instanceValues$.get(l) : !f.$instanceValues$.get(l) && d && f.$instanceValues$.set(l, d), c.apply(this, [B(u, o)]), u = o & 32 ? this[l] : f.$hostElement$[l], D(this, l, u, t);
503
476
  return;
504
477
  }
505
478
  {
506
- if (!(s & 1) || !(t.$members$[l][0] & 4096)) {
507
- H(this, l, u, t), s & 1 && !f.$lazyInstance$ && f.$onReadyPromise$.then(() => {
479
+ if (!(n & 1) || !(t.$members$[l][0] & 4096)) {
480
+ D(this, l, u, t), n & 1 && !f.$lazyInstance$ && f.$onReadyPromise$.then(() => {
508
481
  t.$members$[l][0] & 4096 && f.$lazyInstance$[l] !== f.$instanceValues$.get(l) && (f.$lazyInstance$[l] = u);
509
482
  });
510
483
  return;
511
484
  }
512
485
  const d = () => {
513
486
  const p = f.$lazyInstance$[l];
514
- !f.$instanceValues$.get(l) && p && f.$instanceValues$.set(l, p), f.$lazyInstance$[l] = C(u, o), H(this, l, f.$lazyInstance$[l], t);
487
+ !f.$instanceValues$.get(l) && p && f.$instanceValues$.set(l, p), f.$lazyInstance$[l] = B(u, o), D(this, l, f.$lazyInstance$[l], t);
515
488
  };
516
489
  f.$lazyInstance$ ? d() : f.$onReadyPromise$.then(() => d());
517
490
  }
518
491
  }
519
492
  });
520
493
  }
521
- }), s & 1) {
494
+ }), n & 1) {
522
495
  const l = /* @__PURE__ */ new Map();
523
496
  a.attributeChangedCallback = function(o, $, c) {
524
497
  h.jmp(() => {
525
498
  var u;
526
499
  const f = l.get(o);
527
- if (this.hasOwnProperty(f) && W.lazyLoad)
500
+ if (this.hasOwnProperty(f) && F.lazyLoad)
528
501
  c = this[f], delete this[f];
529
502
  else {
530
503
  if (a.hasOwnProperty(f) && typeof this[f] == "number" && // cast type to number to avoid TS compiler issues
531
504
  this[f] == c)
532
505
  return;
533
506
  if (f == null) {
534
- const p = L(this), v = p == null ? void 0 : p.$flags$;
507
+ const p = L(this), v = p?.$flags$;
535
508
  if (v && !(v & 8) && v & 128 && c !== $) {
536
509
  const k = p.$lazyInstance$, g = (u = t.$watchers$) == null ? void 0 : u[o];
537
- g == null || g.forEach((P) => {
510
+ g?.forEach((P) => {
538
511
  k[P] != null && k[P].call(k, c, $, o);
539
512
  });
540
513
  }
@@ -560,26 +533,26 @@ var K, y = !1, z = (e, t, s) => {
560
533
  }
561
534
  }
562
535
  return e;
563
- }, ct = (e, t, s, n) => O(void 0, null, function* () {
536
+ }, nt = async (e, t, n, s) => {
564
537
  let r;
565
538
  if (!(t.$flags$ & 32)) {
566
539
  t.$flags$ |= 32;
567
540
  {
568
- const l = Ue(s, t);
541
+ const l = we(n, t);
569
542
  if (l && "then" in l) {
570
- const $ = Ge();
571
- r = yield l, $();
543
+ const $ = He();
544
+ r = await l, $();
572
545
  } else
573
546
  r = l;
574
547
  if (!r)
575
- throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
576
- r.isProxied || (s.$watchers$ = r.watchers, Ee(
548
+ throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
549
+ r.isProxied || (n.$watchers$ = r.watchers, ge(
577
550
  r,
578
- s,
551
+ n,
579
552
  2
580
553
  /* proxyState */
581
554
  ), r.isProxied = !0);
582
- const o = x("createInstance", s.$tagName$);
555
+ const o = x("createInstance", n.$tagName$);
583
556
  t.$flags$ |= 8;
584
557
  try {
585
558
  new r(t);
@@ -591,50 +564,50 @@ var K, y = !1, z = (e, t, s) => {
591
564
  if (r && r.style) {
592
565
  let l;
593
566
  typeof r.style == "string" && (l = r.style);
594
- const o = ue(s);
595
- if (!U.has(o)) {
596
- const $ = x("registerStyles", s.$tagName$);
597
- Je(o, l, !!(s.$flags$ & 1)), $();
567
+ const o = $e(n);
568
+ if (!j.has(o)) {
569
+ const $ = x("registerStyles", n.$tagName$);
570
+ We(o, l, !!(n.$flags$ & 1)), $();
598
571
  }
599
572
  }
600
573
  }
601
- const a = t.$ancestorComponent$, i = () => Q(t, !0);
574
+ const a = t.$ancestorComponent$, i = () => K(t, !0);
602
575
  a && a["s-rc"] ? a["s-rc"].push(i) : i();
603
- }), ft = (e, t) => {
604
- }, ut = (e) => {
576
+ }, rt = (e, t) => {
577
+ }, lt = (e) => {
605
578
  if (!(h.$flags$ & 1)) {
606
- const t = L(e), s = t.$cmpMeta$, n = x("connectedCallback", s.$tagName$);
579
+ const t = L(e), n = t.$cmpMeta$, s = x("connectedCallback", n.$tagName$);
607
580
  if (t.$flags$ & 1)
608
- Le(e, t, s.$listeners$), t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => ft());
581
+ ye(e, t, n.$listeners$), t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => rt());
609
582
  else {
610
583
  t.$flags$ |= 1;
611
584
  {
612
585
  let r = e;
613
586
  for (; r = r.parentNode || r.host; )
614
587
  if (r["s-p"]) {
615
- ye(t, t.$ancestorComponent$ = r);
588
+ pe(t, t.$ancestorComponent$ = r);
616
589
  break;
617
590
  }
618
591
  }
619
- s.$members$ && Object.entries(s.$members$).map(([r, [a]]) => {
592
+ n.$members$ && Object.entries(n.$members$).map(([r, [a]]) => {
620
593
  if (a & 31 && e.hasOwnProperty(r)) {
621
594
  const i = e[r];
622
595
  delete e[r], e[r] = i;
623
596
  }
624
- }), ct(e, t, s);
597
+ }), nt(e, t, n);
625
598
  }
626
- n();
599
+ s();
627
600
  }
628
- }, dt = (e, t) => {
629
- }, pt = (e) => O(void 0, null, function* () {
601
+ }, at = (e, t) => {
602
+ }, it = async (e) => {
630
603
  if (!(h.$flags$ & 1)) {
631
604
  const t = L(e);
632
- t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0), t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => dt());
605
+ t.$rmListeners$ && (t.$rmListeners$.map((n) => n()), t.$rmListeners$ = void 0), t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => at());
633
606
  }
634
607
  A.has(e) && A.delete(e), e.shadowRoot && A.has(e.shadowRoot) && A.delete(e.shadowRoot);
635
- }), Lt = (e, t = {}) => {
636
- var s;
637
- const n = x(), r = [], a = t.exclude || [], i = _.customElements, l = E.head, o = /* @__PURE__ */ l.querySelector("meta[charset]"), $ = /* @__PURE__ */ E.createElement("style"), c = [];
608
+ }, pt = (e, t = {}) => {
609
+ var n;
610
+ const s = x(), r = [], a = t.exclude || [], i = _.customElements, l = E.head, o = /* @__PURE__ */ l.querySelector("meta[charset]"), $ = /* @__PURE__ */ E.createElement("style"), c = [];
638
611
  let u, f = !0;
639
612
  Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", E.baseURI).href;
640
613
  let d = !1;
@@ -648,10 +621,10 @@ var K, y = !1, z = (e, t, s) => {
648
621
  $listeners$: v[3]
649
622
  };
650
623
  g.$flags$ & 4 && (d = !0), g.$members$ = v[2], g.$listeners$ = v[3], g.$attrsToReflect$ = [], g.$watchers$ = (k = v[4]) != null ? k : {};
651
- const P = g.$tagName$, xe = class extends HTMLElement {
624
+ const P = g.$tagName$, Se = class extends HTMLElement {
652
625
  // StencilLazyHost
653
626
  constructor(S) {
654
- if (super(S), this.hasRegisteredEventListeners = !1, S = this, je(S, g), g.$flags$ & 1) {
627
+ if (super(S), this.hasRegisteredEventListeners = !1, S = this, Pe(S, g), g.$flags$ & 1) {
655
628
  if (!S.shadowRoot)
656
629
  S.attachShadow({ mode: "open" });
657
630
  else if (S.shadowRoot.mode !== "open")
@@ -662,13 +635,13 @@ var K, y = !1, z = (e, t, s) => {
662
635
  }
663
636
  connectedCallback() {
664
637
  const S = L(this);
665
- this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, Le(this, S, g.$listeners$)), u && (clearTimeout(u), u = null), f ? c.push(this) : h.jmp(() => ut(this));
638
+ this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, ye(this, S, g.$listeners$)), u && (clearTimeout(u), u = null), f ? c.push(this) : h.jmp(() => lt(this));
666
639
  }
667
640
  disconnectedCallback() {
668
- h.jmp(() => pt(this)), h.raf(() => {
641
+ h.jmp(() => it(this)), h.raf(() => {
669
642
  var S;
670
643
  const b = L(this);
671
- ((S = b == null ? void 0 : b.$vnode$) == null ? void 0 : S.$elm$) instanceof Node && !b.$vnode$.$elm$.isConnected && delete b.$vnode$.$elm$;
644
+ ((S = b?.$vnode$) == null ? void 0 : S.$elm$) instanceof Node && !b.$vnode$.$elm$.isConnected && delete b.$vnode$.$elm$;
672
645
  });
673
646
  }
674
647
  componentOnReady() {
@@ -677,42 +650,42 @@ var K, y = !1, z = (e, t, s) => {
677
650
  };
678
651
  g.$lazyBundleId$ = p[0], !a.includes(P) && !i.get(P) && (r.push(P), i.define(
679
652
  P,
680
- Ee(
681
- xe,
653
+ ge(
654
+ Se,
682
655
  g,
683
656
  1
684
657
  /* isElementConstructor */
685
658
  )
686
659
  ));
687
660
  });
688
- }), r.length > 0 && (d && ($.textContent += ae), $.textContent += r.sort() + ze, $.innerHTML.length)) {
661
+ }), r.length > 0 && (d && ($.textContent += se), $.textContent += r.sort() + _e, $.innerHTML.length)) {
689
662
  $.setAttribute("data-styles", "");
690
- const p = (s = h.$nonce$) != null ? s : oe(E);
663
+ const p = (n = h.$nonce$) != null ? n : le(E);
691
664
  p != null && $.setAttribute("nonce", p), l.insertBefore($, o ? o.nextSibling : l.firstChild);
692
665
  }
693
- f = !1, c.length ? c.map((p) => p.connectedCallback()) : h.jmp(() => u = setTimeout(Se, 30)), n();
694
- }, Le = (e, t, s, n) => {
695
- s && s.map(([r, a, i]) => {
696
- const l = vt(e, r), o = ht(t, i), $ = gt(r);
666
+ f = !1, c.length ? c.map((p) => p.connectedCallback()) : h.jmp(() => u = setTimeout(he, 30)), s();
667
+ }, ye = (e, t, n, s) => {
668
+ n && n.map(([r, a, i]) => {
669
+ const l = ot(e, r), o = $t(t, i), $ = ct(r);
697
670
  h.ael(l, a, o, $), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => h.rel(l, a, o, $));
698
671
  });
699
- }, ht = (e, t) => (s) => {
700
- var n;
672
+ }, $t = (e, t) => (n) => {
673
+ var s;
701
674
  try {
702
- e.$flags$ & 256 ? (n = e.$lazyInstance$) == null || n[t](s) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, s]);
675
+ e.$flags$ & 256 ? (s = e.$lazyInstance$) == null || s[t](n) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, n]);
703
676
  } catch (r) {
704
677
  T(r, e.$hostElement$);
705
678
  }
706
- }, vt = (e, t) => t & 8 ? _ : e, gt = (e) => De ? {
679
+ }, ot = (e, t) => t & 8 ? _ : e, ct = (e) => be ? {
707
680
  passive: (e & 1) !== 0,
708
681
  capture: (e & 2) !== 0
709
682
  } : (e & 2) !== 0;
710
683
  export {
711
- Xe as H,
712
- Et as a,
713
- Lt as b,
714
- kt as g,
715
- fe as h,
716
- He as p,
717
- St as r
684
+ qe as H,
685
+ dt as a,
686
+ pt as b,
687
+ ut as g,
688
+ ie as h,
689
+ Oe as p,
690
+ ft as r
718
691
  };