@everymatrix/cashier-page 1.75.0 → 1.75.1

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 (94) hide show
  1. package/components/{CashierError-BIqFaX3H.js → CashierError-C-zeMshr.js} +1967 -1077
  2. package/components/{CashierError-BWuNinWy.js → CashierError-DW5fJt8u.js} +1938 -1085
  3. package/components/CashierError-Do2yNrqx.cjs +8 -0
  4. package/components/{CashierHeader-CXaZ-6Ua.js → CashierHeader-BvRhx3QL.js} +61 -62
  5. package/components/{CashierHeader-Ca2cghIW.js → CashierHeader-DO8Jda8y.js} +62 -63
  6. package/components/CashierHeader-b4lqjMMD.cjs +1 -0
  7. package/components/{CashierIframeRedirect-ChyzshIQ.js → CashierIframeRedirect-BeOg9j9R.js} +54 -55
  8. package/components/{CashierIframeRedirect-7GBPLJHr.js → CashierIframeRedirect-DaYR4ZSu.js} +48 -49
  9. package/components/CashierIframeRedirect-tAMQ7K0U.cjs +1 -0
  10. package/components/{CashierMethodDetails-BuRbRo-R.js → CashierMethodDetails-3jy1FDno.js} +3537 -2932
  11. package/components/CashierMethodDetails-BccXMt8_.cjs +99 -0
  12. package/components/{CashierMethodDetails-CEFupmfP.js → CashierMethodDetails-D1Rbykqx.js} +3510 -2904
  13. package/components/{CashierMethodsList-BqmFmDOC.js → CashierMethodsList-B2qR503A.js} +84 -85
  14. package/components/CashierMethodsList-CscGn4Gv.cjs +1 -0
  15. package/components/{CashierMethodsList-CB_m5hK-.js → CashierMethodsList-LrhQVCu_.js} +91 -92
  16. package/components/{CashierModal-Bh6E-PDS.js → CashierModal-BU4NlVMY.js} +36 -36
  17. package/components/CashierModal-CVXS5J4T.cjs +1 -0
  18. package/components/{CashierModal-CTayVmDw.js → CashierModal-DvL5giYo.js} +31 -31
  19. package/components/{CashierNotifications-CM4Cti_x.js → CashierNotifications-BD7efj1m.js} +20 -20
  20. package/components/CashierNotifications-BRJ9mXv_.cjs +1 -0
  21. package/components/{CashierNotifications-77FpsD4N.js → CashierNotifications-CUz6gwXF.js} +19 -19
  22. package/components/CashierPage-BbXHTH84.cjs +1 -0
  23. package/components/{CashierPage-Dq-XwH-T.js → CashierPage-CW6lgArf.js} +971 -874
  24. package/components/{CashierPage-B90j2bUX.js → CashierPage-Db8ZicVP.js} +971 -874
  25. package/components/{CashierReceiptPage-BsBy8_a9.js → CashierReceiptPage-Br9U1RfK.js} +95 -96
  26. package/components/{CashierReceiptPage-TGTe-vYp.js → CashierReceiptPage-CBbzq7O6.js} +118 -119
  27. package/components/CashierReceiptPage-Cf5pCh8Z.cjs +1 -0
  28. package/components/{CashierSessionExpirationModal-D7u1LLSa.js → CashierSessionExpirationModal-B8lZyvQF.js} +52 -62
  29. package/components/{CashierSessionExpirationModal-Bwks132l.js → CashierSessionExpirationModal-BZLQ4F3T.js} +52 -62
  30. package/components/CashierSessionExpirationModal-CqZBSAuZ.cjs +2 -0
  31. package/components/CashierSpinner-B3kDZ7DD.cjs +1 -0
  32. package/components/{CashierSpinner-sEBjrLfs.js → CashierSpinner-CWDfPPKy.js} +14 -14
  33. package/components/{CashierSpinner-C6RPqoHx.js → CashierSpinner-u67Lmpn1.js} +16 -16
  34. package/components/{CashierTransactionHistory-DiONlMGi.js → CashierTransactionHistory-BmG7XPkF.js} +141 -142
  35. package/components/{CashierTransactionHistory-CkMKi6Fz.js → CashierTransactionHistory-C81J2b3z.js} +178 -179
  36. package/components/CashierTransactionHistory-DVJeMS7y.cjs +1 -0
  37. package/components/{CashierVerifications-B63zidU5.js → CashierVerifications-BluIxyAW.js} +40 -41
  38. package/components/{CashierVerifications-DkUcWYyo.js → CashierVerifications-DMMGPuTt.js} +49 -50
  39. package/components/CashierVerifications-DbTUG014.cjs +1 -0
  40. package/components/{TxnStatusIcon-Bqtf3sG3.js → TxnStatusIcon-DK8gf5Ec.js} +21 -21
  41. package/components/{TxnStatusIcon-fiVxFVX_.js → TxnStatusIcon-Degz9oJQ.js} +25 -25
  42. package/components/TxnStatusIcon-DlBt7swO.cjs +1 -0
  43. package/components/{TxnTypeIcons-CA9VDuG4.js → TxnTypeIcons-Cjawm9IS.js} +14 -14
  44. package/components/TxnTypeIcons-DH1CxqvE.cjs +1 -0
  45. package/components/{TxnTypeIcons-DMjccElF.js → TxnTypeIcons-DdfELKt3.js} +14 -14
  46. package/es2015/cashier-page.cjs +1 -1
  47. package/es2015/cashier-page.js +1 -1
  48. package/esnext/cashier-page.js +1 -1
  49. package/package.json +1 -1
  50. package/stencil/index-97d17652--F7PvMq9.js +542 -0
  51. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  52. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  53. package/stencil/index-b2193545-BoSqyMpB.js +519 -0
  54. package/stencil/index-b2193545-D4dOaNlR.js +503 -0
  55. package/stencil/index-b2193545-DGHOe8n4.cjs +1 -0
  56. package/stencil/{ui-image-4dZyD9yF.js → ui-image-BWJXFWH1.js} +1 -1
  57. package/stencil/{ui-image-CER01gdl.cjs → ui-image-ByEXiBzx.cjs} +1 -1
  58. package/stencil/{ui-image-6u7OR3Eo.js → ui-image-DIEeZy5u.js} +1 -1
  59. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  60. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  61. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  62. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-Bm97-wkj.js} +2 -2
  63. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  64. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-qO3reSlr.js} +2 -2
  65. package/stencil/{ui-skeleton-BTr272EW.js → ui-skeleton-4-zrLsIW.js} +2 -2
  66. package/stencil/{ui-skeleton-P4PO_42z.js → ui-skeleton-9boHSjtG.js} +2 -2
  67. package/stencil/{ui-skeleton-gIFE_2eg.cjs → ui-skeleton-DgAs7VA3.cjs} +1 -1
  68. package/stencil/{ui-skeleton-ae35c6f2-BIdXBK8D.js → ui-skeleton-ae35c6f2-8tYGV8SR.js} +1 -1
  69. package/stencil/{ui-skeleton-ae35c6f2-D-MGUxCy.cjs → ui-skeleton-ae35c6f2-DLHrpWJM.cjs} +1 -1
  70. package/stencil/{ui-skeleton-ae35c6f2-C7WHUwAT.js → ui-skeleton-ae35c6f2-IN_dPA5_.js} +1 -1
  71. package/components/CashierConfirmModal-Dx60VYf6.js +0 -1165
  72. package/components/CashierConfirmModal-irSMDzV_.cjs +0 -4
  73. package/components/CashierConfirmModal-rwhmlwC5.js +0 -1128
  74. package/components/CashierError-CORG04aE.cjs +0 -18
  75. package/components/CashierHeader-Dl6r6hK0.cjs +0 -1
  76. package/components/CashierIframeRedirect-BjLvrvKL.cjs +0 -1
  77. package/components/CashierMethodDetails-DxYPk7Br.cjs +0 -86
  78. package/components/CashierMethodsList-BI_GHUxf.cjs +0 -1
  79. package/components/CashierModal-BwVWBmwZ.cjs +0 -1
  80. package/components/CashierNotifications-YOOhP2yz.cjs +0 -1
  81. package/components/CashierPage-Bi90dl_Y.cjs +0 -1
  82. package/components/CashierReceiptPage-C-5P1j5e.cjs +0 -1
  83. package/components/CashierSessionExpirationModal-lqr-I0nF.cjs +0 -2
  84. package/components/CashierSpinner-BhE9RAhI.cjs +0 -1
  85. package/components/CashierTransactionHistory-BSO5XGtr.cjs +0 -1
  86. package/components/CashierVerifications-J6r2bd7v.cjs +0 -1
  87. package/components/TxnStatusIcon-C9hNDByt.cjs +0 -1
  88. package/components/TxnTypeIcons-D6ZYjaVc.cjs +0 -1
  89. package/stencil/index-97d17652-BD-QREJe.js +0 -558
  90. package/stencil/index-97d17652-DJqGt8q2.js +0 -542
  91. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  92. package/stencil/index-b2193545-BhpttWPO.cjs +0 -1
  93. package/stencil/index-b2193545-DWKmtYUG.js +0 -503
  94. package/stencil/index-b2193545-Dfy4Cgny.js +0 -519
@@ -0,0 +1,558 @@
1
+ var P = (e, t, n) => new Promise((s, r) => {
2
+ var i = (a) => {
3
+ try {
4
+ $(n.next(a));
5
+ } catch (o) {
6
+ r(o);
7
+ }
8
+ }, l = (a) => {
9
+ try {
10
+ $(n.throw(a));
11
+ } catch (o) {
12
+ r(o);
13
+ }
14
+ }, $ = (a) => a.done ? s(a.value) : Promise.resolve(a.value).then(i, l);
15
+ $((n = n.apply(e, t)).next());
16
+ });
17
+ const ue = "ui-image", de = (
18
+ /* ui-image */
19
+ { hydratedSelectorName: "hydrated" }
20
+ );
21
+ var ve = Object.defineProperty, ge = (e, t) => {
22
+ for (var n in t)
23
+ ve(e, n, { get: t[n], enumerable: !0 });
24
+ }, z = /* @__PURE__ */ new WeakMap(), E = (e) => z.get(e), tt = (e, t) => z.set(t.$lazyInstance$ = e, t), pe = (e, t) => {
25
+ const n = {
26
+ $flags$: 0,
27
+ $hostElement$: e,
28
+ $cmpMeta$: t,
29
+ $instanceValues$: /* @__PURE__ */ new Map()
30
+ };
31
+ return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], z.set(e, n);
32
+ }, D = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), w = /* @__PURE__ */ new Map(), he = (e, t, n) => {
33
+ const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
34
+ if (!r)
35
+ return;
36
+ const i = w.get(r);
37
+ if (i)
38
+ return i[s];
39
+ {
40
+ const l = ($) => (w.set(r, $), $[s]);
41
+ switch (r) {
42
+ case "ui-image_2":
43
+ return import(
44
+ /* webpackMode: "lazy" */
45
+ "./ui-image_2-qO3reSlr.js"
46
+ ).then(l, k);
47
+ }
48
+ }
49
+ return import(
50
+ /* @vite-ignore */
51
+ /* webpackInclude: /\.entry\.js$/ */
52
+ /* webpackExclude: /\.system\.entry\.js$/ */
53
+ /* webpackMode: "lazy" */
54
+ `./${r}.entry.js`
55
+ ).then((l) => (w.set(r, l), l[s]), k);
56
+ }, A = /* @__PURE__ */ new Map(), ye = "{visibility:hidden}.hydrated{visibility:inherit}", Q = "slot-fb{display:contents}slot-fb[hidden]{display:none}", j = typeof window != "undefined" ? window : {}, m = j.document || { head: {} }, p = {
57
+ $flags$: 0,
58
+ $resourcesUrl$: "",
59
+ jmp: (e) => e(),
60
+ raf: (e) => requestAnimationFrame(e),
61
+ ael: (e, t, n, s) => e.addEventListener(t, n, s),
62
+ rel: (e, t, n, s) => e.removeEventListener(t, n, s),
63
+ ce: (e, t) => new CustomEvent(e, t)
64
+ }, me = (e) => Promise.resolve(e), Se = /* @__PURE__ */ (() => {
65
+ try {
66
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
67
+ } catch (e) {
68
+ }
69
+ return !1;
70
+ })(), I = !1, W = [], Z = [], Ee = (e, t) => (n) => {
71
+ e.push(n), I || (I = !0, p.$flags$ & 4 ? C(U) : p.raf(U));
72
+ }, M = (e) => {
73
+ for (let t = 0; t < e.length; t++)
74
+ try {
75
+ e[t](performance.now());
76
+ } catch (n) {
77
+ k(n);
78
+ }
79
+ e.length = 0;
80
+ }, U = () => {
81
+ M(W), M(Z), (I = W.length > 0) && p.raf(U);
82
+ }, C = (e) => me().then(e), ke = /* @__PURE__ */ Ee(Z), G = {}, q = (e) => (e = typeof e, e === "object" || e === "function");
83
+ function R(e) {
84
+ var t, n, s;
85
+ 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;
86
+ }
87
+ var be = {};
88
+ ge(be, {
89
+ err: () => N,
90
+ map: () => xe,
91
+ ok: () => H,
92
+ unwrap: () => Pe,
93
+ unwrapErr: () => Te
94
+ });
95
+ var H = (e) => ({
96
+ isOk: !0,
97
+ isErr: !1,
98
+ value: e
99
+ }), N = (e) => ({
100
+ isOk: !1,
101
+ isErr: !0,
102
+ value: e
103
+ });
104
+ function xe(e, t) {
105
+ if (e.isOk) {
106
+ const n = t(e.value);
107
+ return n instanceof Promise ? n.then((s) => H(s)) : H(n);
108
+ }
109
+ if (e.isErr) {
110
+ const n = e.value;
111
+ return N(n);
112
+ }
113
+ throw "should never get here";
114
+ }
115
+ var Pe = (e) => {
116
+ if (e.isOk)
117
+ return e.value;
118
+ throw e.value;
119
+ }, Te = (e) => {
120
+ if (e.isErr)
121
+ return e.value;
122
+ throw e.value;
123
+ }, S = (e, t = "") => () => {
124
+ }, _e = (e, t) => () => {
125
+ }, Ae = (e, t, ...n) => {
126
+ let s = null, r = null, i = !1, l = !1;
127
+ const $ = [], a = (c) => {
128
+ for (let f = 0; f < c.length; f++)
129
+ s = c[f], Array.isArray(s) ? a(s) : s != null && typeof s != "boolean" && ((i = typeof e != "function" && !q(s)) && (s = String(s)), i && l ? $[$.length - 1].$text$ += s : $.push(i ? B(null, s) : s), l = i);
130
+ };
131
+ if (a(n), t) {
132
+ t.key && (r = t.key);
133
+ {
134
+ const c = t.className || t.class;
135
+ c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
136
+ }
137
+ }
138
+ const o = B(e, null);
139
+ return o.$attrs$ = t, $.length > 0 && (o.$children$ = $), o.$key$ = r, o;
140
+ }, B = (e, t) => {
141
+ const n = {
142
+ $flags$: 0,
143
+ $tag$: e,
144
+ $text$: t,
145
+ $elm$: null,
146
+ $children$: null
147
+ };
148
+ return n.$attrs$ = null, n.$key$ = null, n;
149
+ }, Le = {}, je = (e) => e && e.$tag$ === Le, Oe = (e, t) => e != null && !q(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, st = (e) => E(e).$hostElement$, we = (e, t, n) => {
150
+ const s = p.ce(t, n);
151
+ return e.dispatchEvent(s), s;
152
+ }, X = /* @__PURE__ */ new WeakMap(), Ie = (e, t, n) => {
153
+ let s = A.get(e);
154
+ Se && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, A.set(e, s);
155
+ }, Ue = (e, t, n) => {
156
+ var s;
157
+ const r = V(t), i = A.get(r);
158
+ if (e = e.nodeType === 11 ? e : m, i)
159
+ if (typeof i == "string") {
160
+ e = e.head || e;
161
+ let l = X.get(e), $;
162
+ if (l || X.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
163
+ {
164
+ $ = m.createElement("style"), $.innerHTML = i;
165
+ const a = (s = p.$nonce$) != null ? s : R(m);
166
+ a != null && $.setAttribute("nonce", a), e.insertBefore($, e.querySelector("link"));
167
+ }
168
+ t.$flags$ & 4 && ($.innerHTML += Q), l && l.add(r);
169
+ }
170
+ } else
171
+ e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
172
+ return r;
173
+ }, He = (e) => {
174
+ const t = e.$cmpMeta$, n = e.$hostElement$, s = S("attachStyles", t.$tagName$);
175
+ Ue(
176
+ n.getRootNode(),
177
+ t
178
+ ), s();
179
+ }, V = (e, t) => "sc-" + e.$tagName$, Y = (e, t, n, s, r, i) => {
180
+ if (n !== s) {
181
+ let l = D(e, t), $ = t.toLowerCase();
182
+ if (t === "class") {
183
+ const a = e.classList, o = J(n), c = J(s);
184
+ a.remove(...o.filter((f) => f && !c.includes(f))), a.add(...c.filter((f) => f && !o.includes(f)));
185
+ } else if (t === "style") {
186
+ for (const a in n)
187
+ (!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
188
+ for (const a in s)
189
+ (!n || s[a] !== n[a]) && (a.includes("-") ? e.style.setProperty(a, s[a]) : e.style[a] = s[a]);
190
+ } else if (t !== "key")
191
+ if (t === "ref")
192
+ s && s(e);
193
+ else if (!l && t[0] === "o" && t[1] === "n") {
194
+ if (t[2] === "-" ? t = t.slice(3) : D(j, $) ? t = $.slice(2) : t = $[2] + t.slice(3), n || s) {
195
+ const a = t.endsWith(ee);
196
+ t = t.replace(ze, ""), n && p.rel(e, t, n, a), s && p.ael(e, t, s, a);
197
+ }
198
+ } else {
199
+ const a = q(s);
200
+ if ((l || a && s !== null) && !r)
201
+ try {
202
+ if (e.tagName.includes("-"))
203
+ e[t] = s;
204
+ else {
205
+ const o = s == null ? "" : s;
206
+ t === "list" ? l = !1 : (n == null || e[t] != o) && (e[t] = o);
207
+ }
208
+ } catch (o) {
209
+ }
210
+ s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || i & 4 || r) && !a && (s = s === !0 ? "" : s, e.setAttribute(t, s));
211
+ }
212
+ }
213
+ }, Be = /\s/, J = (e) => e ? e.split(Be) : [], ee = "Capture", ze = new RegExp(ee + "$"), te = (e, t, n) => {
214
+ const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || G, i = t.$attrs$ || G;
215
+ for (const l of K(Object.keys(r)))
216
+ l in i || Y(s, l, r[l], void 0, n, t.$flags$);
217
+ for (const l of K(Object.keys(i)))
218
+ Y(s, l, r[l], i[l], n, t.$flags$);
219
+ };
220
+ function K(e) {
221
+ return e.includes("ref") ? (
222
+ // we need to sort these to ensure that `'ref'` is the last attr
223
+ [...e.filter((t) => t !== "ref"), "ref"]
224
+ ) : (
225
+ // no need to sort, return the original array
226
+ e
227
+ );
228
+ }
229
+ var se, ne = !1, L = (e, t, n, s) => {
230
+ const r = t.$children$[n];
231
+ let i = 0, l, $;
232
+ if (r.$text$ !== null)
233
+ l = r.$elm$ = m.createTextNode(r.$text$);
234
+ else if (l = r.$elm$ = m.createElement(
235
+ r.$tag$
236
+ ), te(null, r, ne), r.$children$)
237
+ for (i = 0; i < r.$children$.length; ++i)
238
+ $ = L(e, r, i), $ && l.appendChild($);
239
+ return l["s-hn"] = se, l;
240
+ }, re = (e, t, n, s, r, i) => {
241
+ let l = e, $;
242
+ for (; r <= i; ++r)
243
+ s[r] && ($ = L(null, n, r), $ && (s[r].$elm$ = $, _(l, $, t)));
244
+ }, le = (e, t, n) => {
245
+ for (let s = t; s <= n; ++s) {
246
+ const r = e[s];
247
+ if (r) {
248
+ const i = r.$elm$;
249
+ ae(r), i && i.remove();
250
+ }
251
+ }
252
+ }, Ce = (e, t, n, s, r = !1) => {
253
+ let i = 0, l = 0, $ = 0, a = 0, o = t.length - 1, c = t[0], f = t[o], u = s.length - 1, d = s[0], v = s[u], g, h;
254
+ for (; i <= o && l <= u; )
255
+ if (c == null)
256
+ c = t[++i];
257
+ else if (f == null)
258
+ f = t[--o];
259
+ else if (d == null)
260
+ d = s[++l];
261
+ else if (v == null)
262
+ v = s[--u];
263
+ else if (T(c, d, r))
264
+ b(c, d, r), c = t[++i], d = s[++l];
265
+ else if (T(f, v, r))
266
+ b(f, v, r), f = t[--o], v = s[--u];
267
+ else if (T(c, v, r))
268
+ b(c, v, r), _(e, c.$elm$, f.$elm$.nextSibling), c = t[++i], v = s[--u];
269
+ else if (T(f, d, r))
270
+ b(f, d, r), _(e, f.$elm$, c.$elm$), f = t[--o], d = s[++l];
271
+ else {
272
+ for ($ = -1, a = i; a <= o; ++a)
273
+ if (t[a] && t[a].$key$ !== null && t[a].$key$ === d.$key$) {
274
+ $ = a;
275
+ break;
276
+ }
277
+ $ >= 0 ? (h = t[$], h.$tag$ !== d.$tag$ ? g = L(t && t[l], n, $) : (b(h, d, r), t[$] = void 0, g = h.$elm$), d = s[++l]) : (g = L(t && t[l], n, l), d = s[++l]), g && _(c.$elm$.parentNode, g, c.$elm$);
278
+ }
279
+ i > o ? re(
280
+ e,
281
+ s[u + 1] == null ? null : s[u + 1].$elm$,
282
+ n,
283
+ s,
284
+ l,
285
+ u
286
+ ) : l > u && le(t, i, o);
287
+ }, T = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, b = (e, t, n = !1) => {
288
+ const s = t.$elm$ = e.$elm$, r = e.$children$, i = t.$children$, l = t.$text$;
289
+ l === null ? (te(e, t, ne), r !== null && i !== null ? Ce(s, r, t, i, n) : i !== null ? (e.$text$ !== null && (s.textContent = ""), re(s, null, t, i, 0, i.length - 1)) : r !== null && le(r, 0, r.length - 1)) : e.$text$ !== l && (s.data = l);
290
+ }, ae = (e) => {
291
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ae);
292
+ }, _ = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), qe = (e, t, n = !1) => {
293
+ const s = e.$hostElement$, r = e.$vnode$ || B(null, null), i = je(t) ? t : Ae(null, null, t);
294
+ if (se = s.tagName, n && i.$attrs$)
295
+ for (const l of Object.keys(i.$attrs$))
296
+ s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (i.$attrs$[l] = s[l]);
297
+ i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = r.$elm$ = s, b(r, i, n);
298
+ }, ie = (e, t) => {
299
+ t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
300
+ }, F = (e, t) => {
301
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
302
+ e.$flags$ |= 512;
303
+ return;
304
+ }
305
+ return ie(e, e.$ancestorComponent$), ke(() => Fe(e, t));
306
+ }, Fe = (e, t) => {
307
+ const n = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
308
+ if (!r)
309
+ throw new Error(
310
+ `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`
311
+ );
312
+ let i;
313
+ return s(), De(i, () => Me(e, r, t));
314
+ }, De = (e, t) => We(e) ? e.then(t).catch((n) => {
315
+ console.error(n), t();
316
+ }) : t(), We = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Me = (e, t, n) => P(void 0, null, function* () {
317
+ var s;
318
+ const r = e.$hostElement$, i = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
319
+ n && He(e);
320
+ const $ = S("render", e.$cmpMeta$.$tagName$);
321
+ Ge(e, t, r, n), l && (l.map((a) => a()), r["s-rc"] = void 0), $(), i();
322
+ {
323
+ const a = (s = r["s-p"]) != null ? s : [], o = () => Xe(e);
324
+ a.length === 0 ? o() : (Promise.all(a).then(o), e.$flags$ |= 4, a.length = 0);
325
+ }
326
+ }), Ge = (e, t, n, s) => {
327
+ try {
328
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, qe(e, t, s);
329
+ } catch (r) {
330
+ k(r, e.$hostElement$);
331
+ }
332
+ return null;
333
+ }, Xe = (e) => {
334
+ const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = S("postUpdate", t), r = e.$lazyInstance$, i = e.$ancestorComponent$;
335
+ e.$flags$ & 64 ? s() : (e.$flags$ |= 64, oe(n), Ye(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), i || $e()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && C(() => F(e, !1)), e.$flags$ &= -517;
336
+ }, $e = (e) => {
337
+ oe(m.documentElement), C(() => we(j, "appload", { detail: { namespace: ue } }));
338
+ }, Ye = (e, t, n) => {
339
+ if (e && e[t])
340
+ try {
341
+ return e[t](n);
342
+ } catch (s) {
343
+ k(s);
344
+ }
345
+ }, oe = (e) => {
346
+ var t;
347
+ return e.classList.add((t = de.hydratedSelectorName) != null ? t : "hydrated");
348
+ }, Je = (e, t) => E(e).$instanceValues$.get(t), Ke = (e, t, n, s) => {
349
+ const r = E(e);
350
+ if (!r)
351
+ throw new Error(
352
+ `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).`
353
+ );
354
+ const i = r.$hostElement$, l = r.$instanceValues$.get(t), $ = r.$flags$, a = r.$lazyInstance$;
355
+ n = Oe(n, s.$members$[t][0]);
356
+ const o = Number.isNaN(l) && Number.isNaN(n), c = n !== l && !o;
357
+ if ((!($ & 8) || l === void 0) && c && (r.$instanceValues$.set(t, n), a)) {
358
+ if (s.$watchers$ && $ & 128) {
359
+ const f = s.$watchers$[t];
360
+ f && f.map((u) => {
361
+ try {
362
+ a[u](n, l, t);
363
+ } catch (d) {
364
+ k(d, i);
365
+ }
366
+ });
367
+ }
368
+ ($ & 18) === 2 && F(r, !1);
369
+ }
370
+ }, ce = (e, t, n) => {
371
+ var s, r;
372
+ const i = e.prototype;
373
+ if (t.$members$ || t.$watchers$ || e.watchers) {
374
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
375
+ const l = Object.entries((s = t.$members$) != null ? s : {});
376
+ if (l.map(([$, [a]]) => {
377
+ (a & 31 || n & 2 && a & 32) && Object.defineProperty(i, $, {
378
+ get() {
379
+ return Je(this, $);
380
+ },
381
+ set(o) {
382
+ Ke(this, $, o, t);
383
+ },
384
+ configurable: !0,
385
+ enumerable: !0
386
+ });
387
+ }), n & 1) {
388
+ const $ = /* @__PURE__ */ new Map();
389
+ i.attributeChangedCallback = function(a, o, c) {
390
+ p.jmp(() => {
391
+ var f;
392
+ const u = $.get(a);
393
+ if (this.hasOwnProperty(u))
394
+ c = this[u], delete this[u];
395
+ else {
396
+ if (i.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == c)
397
+ return;
398
+ if (u == null) {
399
+ const d = E(this), v = d == null ? void 0 : d.$flags$;
400
+ if (v && !(v & 8) && v & 128 && c !== o) {
401
+ const g = d.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[a];
402
+ h == null || h.forEach((y) => {
403
+ g[y] != null && g[y].call(g, c, o, a);
404
+ });
405
+ }
406
+ return;
407
+ }
408
+ }
409
+ this[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
410
+ });
411
+ }, e.observedAttributes = Array.from(
412
+ /* @__PURE__ */ new Set([
413
+ ...Object.keys((r = t.$watchers$) != null ? r : {}),
414
+ ...l.filter(
415
+ ([a, o]) => o[0] & 15
416
+ /* HasAttribute */
417
+ ).map(([a, o]) => {
418
+ const c = o[1] || a;
419
+ return $.set(c, a), c;
420
+ })
421
+ ])
422
+ );
423
+ }
424
+ }
425
+ return e;
426
+ }, Qe = (e, t, n, s) => P(void 0, null, function* () {
427
+ let r;
428
+ if (!(t.$flags$ & 32)) {
429
+ if (t.$flags$ |= 32, n.$lazyBundleId$) {
430
+ const a = he(n);
431
+ if (a && "then" in a) {
432
+ const c = _e();
433
+ r = yield a, c();
434
+ } else
435
+ r = a;
436
+ if (!r)
437
+ throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
438
+ r.isProxied || (n.$watchers$ = r.watchers, ce(
439
+ r,
440
+ n,
441
+ 2
442
+ /* proxyState */
443
+ ), r.isProxied = !0);
444
+ const o = S("createInstance", n.$tagName$);
445
+ t.$flags$ |= 8;
446
+ try {
447
+ new r(t);
448
+ } catch (c) {
449
+ k(c);
450
+ }
451
+ t.$flags$ &= -9, t.$flags$ |= 128, o();
452
+ } else {
453
+ r = e.constructor;
454
+ const a = e.localName;
455
+ customElements.whenDefined(a).then(
456
+ () => t.$flags$ |= 128
457
+ /* isWatchReady */
458
+ );
459
+ }
460
+ if (r && r.style) {
461
+ let a;
462
+ typeof r.style == "string" && (a = r.style);
463
+ const o = V(n);
464
+ if (!A.has(o)) {
465
+ const c = S("registerStyles", n.$tagName$);
466
+ Ie(o, a, !!(n.$flags$ & 1)), c();
467
+ }
468
+ }
469
+ }
470
+ const i = t.$ancestorComponent$, l = () => F(t, !0);
471
+ i && i["s-rc"] ? i["s-rc"].push(l) : l();
472
+ }), Ze = (e) => {
473
+ }, Re = (e) => {
474
+ if (!(p.$flags$ & 1)) {
475
+ const t = E(e), n = t.$cmpMeta$, s = S("connectedCallback", n.$tagName$);
476
+ if (t.$flags$ & 1)
477
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ze());
478
+ else {
479
+ t.$flags$ |= 1;
480
+ {
481
+ let r = e;
482
+ for (; r = r.parentNode || r.host; )
483
+ if (r["s-p"]) {
484
+ ie(t, t.$ancestorComponent$ = r);
485
+ break;
486
+ }
487
+ }
488
+ n.$members$ && Object.entries(n.$members$).map(([r, [i]]) => {
489
+ if (i & 31 && e.hasOwnProperty(r)) {
490
+ const l = e[r];
491
+ delete e[r], e[r] = l;
492
+ }
493
+ }), Qe(e, t, n);
494
+ }
495
+ s();
496
+ }
497
+ }, Ne = (e) => {
498
+ }, Ve = (e) => P(void 0, null, function* () {
499
+ if (!(p.$flags$ & 1)) {
500
+ const t = E(e);
501
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ne());
502
+ }
503
+ }), nt = (e, t = {}) => {
504
+ var n;
505
+ const s = S(), r = [], i = t.exclude || [], l = j.customElements, $ = m.head, a = /* @__PURE__ */ $.querySelector("meta[charset]"), o = /* @__PURE__ */ m.createElement("style"), c = [];
506
+ let f, u = !0;
507
+ Object.assign(p, t), p.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
508
+ let d = !1;
509
+ if (e.map((v) => {
510
+ v[1].map((g) => {
511
+ var h;
512
+ const y = {
513
+ $flags$: g[0],
514
+ $tagName$: g[1],
515
+ $members$: g[2],
516
+ $listeners$: g[3]
517
+ };
518
+ y.$flags$ & 4 && (d = !0), y.$members$ = g[2], y.$watchers$ = (h = g[4]) != null ? h : {};
519
+ const x = y.$tagName$, fe = class extends HTMLElement {
520
+ // StencilLazyHost
521
+ constructor(O) {
522
+ super(O), this.hasRegisteredEventListeners = !1, O = this, pe(O, y);
523
+ }
524
+ connectedCallback() {
525
+ E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) : p.jmp(() => Re(this));
526
+ }
527
+ disconnectedCallback() {
528
+ p.jmp(() => Ve(this));
529
+ }
530
+ componentOnReady() {
531
+ return E(this).$onReadyPromise$;
532
+ }
533
+ };
534
+ y.$lazyBundleId$ = v[0], !i.includes(x) && !l.get(x) && (r.push(x), l.define(
535
+ x,
536
+ ce(
537
+ fe,
538
+ y,
539
+ 1
540
+ /* isElementConstructor */
541
+ )
542
+ ));
543
+ });
544
+ }), r.length > 0 && (d && (o.textContent += Q), o.textContent += r.sort() + ye, o.innerHTML.length)) {
545
+ o.setAttribute("data-styles", "");
546
+ const v = (n = p.$nonce$) != null ? n : R(m);
547
+ v != null && o.setAttribute("nonce", v), $.insertBefore(o, a ? a.nextSibling : $.firstChild);
548
+ }
549
+ u = !1, c.length ? c.map((v) => v.connectedCallback()) : p.jmp(() => f = setTimeout($e, 30)), s();
550
+ };
551
+ export {
552
+ Le as H,
553
+ nt as b,
554
+ st as g,
555
+ Ae as h,
556
+ me as p,
557
+ tt as r
558
+ };