@everymatrix/cashier-method-details 1.94.113 → 1.94.115

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 (33) hide show
  1. package/components/{CashierError-CxuHQ6UE.js → CashierError-BGvVpTir.js} +2 -2
  2. package/components/{CashierError-BhrV8NoK.js → CashierError-CD6xrsWM.js} +2 -2
  3. package/components/{CashierError-CzVx_4eW.cjs → CashierError-DzEAf4e1.cjs} +1 -1
  4. package/components/{CashierMethodDetails-C4a6kwYL.js → CashierMethodDetails-BX1W3qzj.js} +5 -5
  5. package/components/{CashierMethodDetails-4XgSQgPq.js → CashierMethodDetails-BurWdWWl.js} +5 -5
  6. package/components/{CashierMethodDetails-Bs7IqHIa.cjs → CashierMethodDetails-DhQtjXtQ.cjs} +2 -2
  7. package/components/{CashierModal-BhJfUwqT.js → CashierModal-BIjJHnkI.js} +1 -1
  8. package/components/{CashierModal-CNubZARS.js → CashierModal-Cb78D5X3.js} +1 -1
  9. package/components/{CashierModal-DkK2Mwdp.cjs → CashierModal-DEiR7r2u.cjs} +1 -1
  10. package/components/{CashierNotifications-CZBBkYwB.cjs → CashierNotifications-C_uljnjO.cjs} +1 -1
  11. package/components/{CashierNotifications-Br-_N3PG.js → CashierNotifications-Cluh265Z.js} +1 -1
  12. package/components/{CashierNotifications-BNTNLSID.js → CashierNotifications-DfQzX7sv.js} +1 -1
  13. package/components/{CashierReceiptPage-DNNhJqXL.cjs → CashierReceiptPage-B6rhHBdw.cjs} +1 -1
  14. package/components/{CashierReceiptPage-BfeQgObM.js → CashierReceiptPage-CcoBNAem.js} +1 -1
  15. package/components/{CashierReceiptPage-KFe9Nb84.js → CashierReceiptPage-DObfBNJn.js} +1 -1
  16. package/es2015/cashier-method-details.cjs +1 -1
  17. package/es2015/cashier-method-details.js +1 -1
  18. package/esnext/cashier-method-details.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/{index-97d17652-Ce2P8K1l.js → index-97d17652-B6BYeRne.js} +170 -176
  21. package/stencil/index-97d17652-BOr4KAqq.js +558 -0
  22. package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
  23. package/stencil/{ui-image-DYxxHglY.cjs → ui-image-BX-FBhad.cjs} +1 -1
  24. package/stencil/{ui-image-Kp-i1Epn.js → ui-image-CP8Lp7fB.js} +1 -1
  25. package/stencil/{ui-image-Du28hUkG.js → ui-image-Ch-GHki1.js} +1 -1
  26. package/stencil/{ui-image-b7b48fe5-DdUCzkcr.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
  27. package/stencil/{ui-image-b7b48fe5-CEPR_2Zl.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
  28. package/stencil/{ui-image-b7b48fe5-CynWE8qT.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
  29. package/stencil/{ui-image_2-N1zHirfP.js → ui-image_2-CmVho0dS.js} +2 -2
  30. package/stencil/{ui-image_2-C0sJC5CL.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
  31. package/stencil/{ui-image_2-Do1rIyeJ.js → ui-image_2-Daq38JGa.js} +2 -2
  32. package/stencil/index-97d17652-BeQGJyxy.js +0 -532
  33. package/stencil/index-97d17652-QrAXVnlo.cjs +0 -1
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-b7b48fe5-CynWE8qT.cjs"),t=require("./index-97d17652-QrAXVnlo.cjs"),s=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",l=s,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-b7b48fe5-MC0x5ZQd.cjs"),t=require("./index-97d17652-zTl06Vn9.cjs"),s=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",l=s,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
2
2
  :host {
3
3
  --emw-skeleton-logo-width: ${this.stylingValue.width};
4
4
  --emw-skeleton-logo-height: ${this.stylingValue.height};
@@ -1,5 +1,5 @@
1
- import { U as m } from "./ui-image-b7b48fe5-CEPR_2Zl.js";
2
- import { r as n, h as t, H as r } from "./index-97d17652-BeQGJyxy.js";
1
+ import { U as m } from "./ui-image-b7b48fe5-BKRtoUuG.js";
2
+ import { r as n, h as t, H as r } from "./index-97d17652-B6BYeRne.js";
3
3
  const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", l = s, a = class {
4
4
  constructor(e) {
5
5
  n(this, e), this.stylingValue = {
@@ -1,532 +0,0 @@
1
- const ce = "ui-image", fe = (
2
- /* ui-image */
3
- { hydratedSelectorName: "hydrated" }
4
- );
5
- var ue = Object.defineProperty, de = (e, t) => {
6
- for (var n in t)
7
- ue(e, n, { get: t[n], enumerable: !0 });
8
- }, U = /* @__PURE__ */ new WeakMap(), m = (e) => U.get(e), Re = (e, t) => U.set(t.$lazyInstance$ = e, t), ve = (e, t) => {
9
- const n = {
10
- $flags$: 0,
11
- $hostElement$: e,
12
- $cmpMeta$: t,
13
- $instanceValues$: /* @__PURE__ */ new Map()
14
- };
15
- return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], U.set(e, n);
16
- }, q = (e, t) => t in e, E = (e, t) => (0, console.error)(e, t), L = /* @__PURE__ */ new Map(), ge = (e, t, n) => {
17
- const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
18
- if (!r)
19
- return;
20
- const i = L.get(r);
21
- if (i)
22
- return i[s];
23
- {
24
- const l = ($) => (L.set(r, $), $[s]);
25
- switch (r) {
26
- case "ui-image_2":
27
- return import(
28
- /* webpackMode: "lazy" */
29
- "./ui-image_2-Do1rIyeJ.js"
30
- ).then(l, E);
31
- }
32
- }
33
- return import(
34
- /* @vite-ignore */
35
- /* webpackInclude: /\.entry\.js$/ */
36
- /* webpackExclude: /\.system\.entry\.js$/ */
37
- /* webpackMode: "lazy" */
38
- `./${r}.entry.js`
39
- ).then((l) => (L.set(r, l), l[s]), E);
40
- }, _ = /* @__PURE__ */ new Map(), he = "{visibility:hidden}.hydrated{visibility:inherit}", J = "slot-fb{display:contents}slot-fb[hidden]{display:none}", A = typeof window < "u" ? window : {}, y = A.document || { head: {} }, g = {
41
- $flags$: 0,
42
- $resourcesUrl$: "",
43
- jmp: (e) => e(),
44
- raf: (e) => requestAnimationFrame(e),
45
- ael: (e, t, n, s) => e.addEventListener(t, n, s),
46
- rel: (e, t, n, s) => e.removeEventListener(t, n, s),
47
- ce: (e, t) => new CustomEvent(e, t)
48
- }, pe = (e) => Promise.resolve(e), ye = /* @__PURE__ */ (() => {
49
- try {
50
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
51
- } catch {
52
- }
53
- return !1;
54
- })(), O = !1, F = [], K = [], me = (e, t) => (n) => {
55
- e.push(n), O || (O = !0, g.$flags$ & 4 ? z(w) : g.raf(w));
56
- }, D = (e) => {
57
- for (let t = 0; t < e.length; t++)
58
- try {
59
- e[t](performance.now());
60
- } catch (n) {
61
- E(n);
62
- }
63
- e.length = 0;
64
- }, w = () => {
65
- D(F), D(K), (O = F.length > 0) && g.raf(w);
66
- }, z = (e) => pe().then(e), Se = /* @__PURE__ */ me(K), W = {}, B = (e) => (e = typeof e, e === "object" || e === "function");
67
- function Q(e) {
68
- var t, n, s;
69
- 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;
70
- }
71
- var Ee = {};
72
- de(Ee, {
73
- err: () => Z,
74
- map: () => ke,
75
- ok: () => I,
76
- unwrap: () => be,
77
- unwrapErr: () => xe
78
- });
79
- var I = (e) => ({
80
- isOk: !0,
81
- isErr: !1,
82
- value: e
83
- }), Z = (e) => ({
84
- isOk: !1,
85
- isErr: !0,
86
- value: e
87
- });
88
- function ke(e, t) {
89
- if (e.isOk) {
90
- const n = t(e.value);
91
- return n instanceof Promise ? n.then((s) => I(s)) : I(n);
92
- }
93
- if (e.isErr) {
94
- const n = e.value;
95
- return Z(n);
96
- }
97
- throw "should never get here";
98
- }
99
- var be = (e) => {
100
- if (e.isOk)
101
- return e.value;
102
- throw e.value;
103
- }, xe = (e) => {
104
- if (e.isErr)
105
- return e.value;
106
- throw e.value;
107
- }, k = (e, t = "") => () => {
108
- }, Pe = (e, t, ...n) => {
109
- let s = null, r = null, i = !1, l = !1;
110
- const $ = [], a = (o) => {
111
- for (let f = 0; f < o.length; f++)
112
- s = o[f], Array.isArray(s) ? a(s) : s != null && typeof s != "boolean" && ((i = typeof e != "function" && !B(s)) && (s = String(s)), i && l ? $[$.length - 1].$text$ += s : $.push(i ? H(null, s) : s), l = i);
113
- };
114
- if (a(n), t) {
115
- t.key && (r = t.key);
116
- {
117
- const o = t.className || t.class;
118
- o && (t.class = typeof o != "object" ? o : Object.keys(o).filter((f) => o[f]).join(" "));
119
- }
120
- }
121
- const c = H(e, null);
122
- return c.$attrs$ = t, $.length > 0 && (c.$children$ = $), c.$key$ = r, c;
123
- }, H = (e, t) => {
124
- const n = {
125
- $flags$: 0,
126
- $tag$: e,
127
- $text$: t,
128
- $elm$: null,
129
- $children$: null
130
- };
131
- return n.$attrs$ = null, n.$key$ = null, n;
132
- }, _e = {}, Te = (e) => e && e.$tag$ === _e, Ae = (e, t) => e != null && !B(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Ne = (e) => m(e).$hostElement$, je = (e, t, n) => {
133
- const s = g.ce(t, n);
134
- return e.dispatchEvent(s), s;
135
- }, M = /* @__PURE__ */ new WeakMap(), Le = (e, t, n) => {
136
- let s = _.get(e);
137
- ye && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, _.set(e, s);
138
- }, Oe = (e, t, n) => {
139
- var s;
140
- const r = R(t), i = _.get(r);
141
- if (e = e.nodeType === 11 ? e : y, i)
142
- if (typeof i == "string") {
143
- e = e.head || e;
144
- let l = M.get(e), $;
145
- if (l || M.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
146
- {
147
- $ = y.createElement("style"), $.innerHTML = i;
148
- const a = (s = g.$nonce$) != null ? s : Q(y);
149
- a != null && $.setAttribute("nonce", a), e.insertBefore($, e.querySelector("link"));
150
- }
151
- t.$flags$ & 4 && ($.innerHTML += J), l && l.add(r);
152
- }
153
- } else
154
- e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
155
- return r;
156
- }, we = (e) => {
157
- const t = e.$cmpMeta$, n = e.$hostElement$;
158
- k("attachStyles", t.$tagName$), Oe(
159
- n.getRootNode(),
160
- t
161
- );
162
- }, R = (e, t) => "sc-" + e.$tagName$, G = (e, t, n, s, r, i) => {
163
- if (n !== s) {
164
- let l = q(e, t), $ = t.toLowerCase();
165
- if (t === "class") {
166
- const a = e.classList, c = X(n), o = X(s);
167
- a.remove(...c.filter((f) => f && !o.includes(f))), a.add(...o.filter((f) => f && !c.includes(f)));
168
- } else if (t === "style") {
169
- for (const a in n)
170
- (!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
171
- for (const a in s)
172
- (!n || s[a] !== n[a]) && (a.includes("-") ? e.style.setProperty(a, s[a]) : e.style[a] = s[a]);
173
- } else if (t !== "key")
174
- if (t === "ref")
175
- s && s(e);
176
- else if (!l && t[0] === "o" && t[1] === "n") {
177
- if (t[2] === "-" ? t = t.slice(3) : q(A, $) ? t = $.slice(2) : t = $[2] + t.slice(3), n || s) {
178
- const a = t.endsWith(N);
179
- t = t.replace(He, ""), n && g.rel(e, t, n, a), s && g.ael(e, t, s, a);
180
- }
181
- } else {
182
- const a = B(s);
183
- if ((l || a && s !== null) && !r)
184
- try {
185
- if (e.tagName.includes("-"))
186
- e[t] = s;
187
- else {
188
- const c = s ?? "";
189
- t === "list" ? l = !1 : (n == null || e[t] != c) && (e[t] = c);
190
- }
191
- } catch {
192
- }
193
- 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));
194
- }
195
- }
196
- }, Ie = /\s/, X = (e) => e ? e.split(Ie) : [], N = "Capture", He = new RegExp(N + "$"), V = (e, t, n) => {
197
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || W, i = t.$attrs$ || W;
198
- for (const l of Y(Object.keys(r)))
199
- l in i || G(s, l, r[l], void 0, n, t.$flags$);
200
- for (const l of Y(Object.keys(i)))
201
- G(s, l, r[l], i[l], n, t.$flags$);
202
- };
203
- function Y(e) {
204
- return e.includes("ref") ? (
205
- // we need to sort these to ensure that `'ref'` is the last attr
206
- [...e.filter((t) => t !== "ref"), "ref"]
207
- ) : (
208
- // no need to sort, return the original array
209
- e
210
- );
211
- }
212
- var ee, te = !1, T = (e, t, n, s) => {
213
- const r = t.$children$[n];
214
- let i = 0, l, $;
215
- if (r.$text$ !== null)
216
- l = r.$elm$ = y.createTextNode(r.$text$);
217
- else if (l = r.$elm$ = y.createElement(
218
- r.$tag$
219
- ), V(null, r, te), r.$children$)
220
- for (i = 0; i < r.$children$.length; ++i)
221
- $ = T(e, r, i), $ && l.appendChild($);
222
- return l["s-hn"] = ee, l;
223
- }, se = (e, t, n, s, r, i) => {
224
- let l = e, $;
225
- for (; r <= i; ++r)
226
- s[r] && ($ = T(null, n, r), $ && (s[r].$elm$ = $, P(l, $, t)));
227
- }, ne = (e, t, n) => {
228
- for (let s = t; s <= n; ++s) {
229
- const r = e[s];
230
- if (r) {
231
- const i = r.$elm$;
232
- re(r), i && i.remove();
233
- }
234
- }
235
- }, Ue = (e, t, n, s, r = !1) => {
236
- let i = 0, l = 0, $ = 0, a = 0, c = t.length - 1, o = t[0], f = t[c], d = s.length - 1, u = s[0], v = s[d], p, h;
237
- for (; i <= c && l <= d; )
238
- if (o == null)
239
- o = t[++i];
240
- else if (f == null)
241
- f = t[--c];
242
- else if (u == null)
243
- u = s[++l];
244
- else if (v == null)
245
- v = s[--d];
246
- else if (x(o, u, r))
247
- b(o, u, r), o = t[++i], u = s[++l];
248
- else if (x(f, v, r))
249
- b(f, v, r), f = t[--c], v = s[--d];
250
- else if (x(o, v, r))
251
- b(o, v, r), P(e, o.$elm$, f.$elm$.nextSibling), o = t[++i], v = s[--d];
252
- else if (x(f, u, r))
253
- b(f, u, r), P(e, f.$elm$, o.$elm$), f = t[--c], u = s[++l];
254
- else {
255
- for ($ = -1, a = i; a <= c; ++a)
256
- if (t[a] && t[a].$key$ !== null && t[a].$key$ === u.$key$) {
257
- $ = a;
258
- break;
259
- }
260
- $ >= 0 ? (h = t[$], h.$tag$ !== u.$tag$ ? p = T(t && t[l], n, $) : (b(h, u, r), t[$] = void 0, p = h.$elm$), u = s[++l]) : (p = T(t && t[l], n, l), u = s[++l]), p && P(o.$elm$.parentNode, p, o.$elm$);
261
- }
262
- i > c ? se(
263
- e,
264
- s[d + 1] == null ? null : s[d + 1].$elm$,
265
- n,
266
- s,
267
- l,
268
- d
269
- ) : l > d && ne(t, i, c);
270
- }, x = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, b = (e, t, n = !1) => {
271
- const s = t.$elm$ = e.$elm$, r = e.$children$, i = t.$children$, l = t.$text$;
272
- l === null ? (V(e, t, te), r !== null && i !== null ? Ue(s, r, t, i, n) : i !== null ? (e.$text$ !== null && (s.textContent = ""), se(s, null, t, i, 0, i.length - 1)) : r !== null && ne(r, 0, r.length - 1)) : e.$text$ !== l && (s.data = l);
273
- }, re = (e) => {
274
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(re);
275
- }, P = (e, t, n) => e?.insertBefore(t, n), ze = (e, t, n = !1) => {
276
- const s = e.$hostElement$, r = e.$vnode$ || H(null, null), i = Te(t) ? t : Pe(null, null, t);
277
- if (ee = s.tagName, n && i.$attrs$)
278
- for (const l of Object.keys(i.$attrs$))
279
- s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (i.$attrs$[l] = s[l]);
280
- i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = r.$elm$ = s, b(r, i, n);
281
- }, le = (e, t) => {
282
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
283
- }, C = (e, t) => {
284
- if (e.$flags$ |= 16, e.$flags$ & 4) {
285
- e.$flags$ |= 512;
286
- return;
287
- }
288
- return le(e, e.$ancestorComponent$), Se(() => Be(e, t));
289
- }, Be = (e, t) => {
290
- const n = e.$hostElement$;
291
- k("scheduleUpdate", e.$cmpMeta$.$tagName$);
292
- const s = e.$lazyInstance$;
293
- if (!s)
294
- throw new Error(
295
- `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`
296
- );
297
- return Ce(void 0, () => Fe(e, s, t));
298
- }, Ce = (e, t) => qe(e) ? e.then(t).catch((n) => {
299
- console.error(n), t();
300
- }) : t(), qe = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Fe = async (e, t, n) => {
301
- var s;
302
- const r = e.$hostElement$;
303
- k("update", e.$cmpMeta$.$tagName$);
304
- const i = r["s-rc"];
305
- n && we(e), k("render", e.$cmpMeta$.$tagName$), De(e, t, r, n), i && (i.map((l) => l()), r["s-rc"] = void 0);
306
- {
307
- const l = (s = r["s-p"]) != null ? s : [], $ = () => We(e);
308
- l.length === 0 ? $() : (Promise.all(l).then($), e.$flags$ |= 4, l.length = 0);
309
- }
310
- }, De = (e, t, n, s) => {
311
- try {
312
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, ze(e, t, s);
313
- } catch (r) {
314
- E(r, e.$hostElement$);
315
- }
316
- return null;
317
- }, We = (e) => {
318
- e.$cmpMeta$.$tagName$;
319
- const t = e.$hostElement$, n = e.$lazyInstance$, s = e.$ancestorComponent$;
320
- e.$flags$ & 64 || (e.$flags$ |= 64, ae(t), Me(n, "componentDidLoad"), e.$onReadyResolve$(t), s || ie()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => C(e, !1)), e.$flags$ &= -517;
321
- }, ie = (e) => {
322
- ae(y.documentElement), z(() => je(A, "appload", { detail: { namespace: ce } }));
323
- }, Me = (e, t, n) => {
324
- if (e && e[t])
325
- try {
326
- return e[t](n);
327
- } catch (s) {
328
- E(s);
329
- }
330
- }, ae = (e) => {
331
- var t;
332
- return e.classList.add((t = fe.hydratedSelectorName) != null ? t : "hydrated");
333
- }, Ge = (e, t) => m(e).$instanceValues$.get(t), Xe = (e, t, n, s) => {
334
- const r = m(e);
335
- if (!r)
336
- throw new Error(
337
- `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).`
338
- );
339
- const i = r.$hostElement$, l = r.$instanceValues$.get(t), $ = r.$flags$, a = r.$lazyInstance$;
340
- n = Ae(n, s.$members$[t][0]);
341
- const c = Number.isNaN(l) && Number.isNaN(n), o = n !== l && !c;
342
- if ((!($ & 8) || l === void 0) && o && (r.$instanceValues$.set(t, n), a)) {
343
- if (s.$watchers$ && $ & 128) {
344
- const f = s.$watchers$[t];
345
- f && f.map((d) => {
346
- try {
347
- a[d](n, l, t);
348
- } catch (u) {
349
- E(u, i);
350
- }
351
- });
352
- }
353
- ($ & 18) === 2 && C(r, !1);
354
- }
355
- }, $e = (e, t, n) => {
356
- var s, r;
357
- const i = e.prototype;
358
- if (t.$members$ || t.$watchers$ || e.watchers) {
359
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
360
- const l = Object.entries((s = t.$members$) != null ? s : {});
361
- if (l.map(([$, [a]]) => {
362
- (a & 31 || n & 2 && a & 32) && Object.defineProperty(i, $, {
363
- get() {
364
- return Ge(this, $);
365
- },
366
- set(c) {
367
- Xe(this, $, c, t);
368
- },
369
- configurable: !0,
370
- enumerable: !0
371
- });
372
- }), n & 1) {
373
- const $ = /* @__PURE__ */ new Map();
374
- i.attributeChangedCallback = function(a, c, o) {
375
- g.jmp(() => {
376
- var f;
377
- const d = $.get(a);
378
- if (this.hasOwnProperty(d))
379
- o = this[d], delete this[d];
380
- else {
381
- if (i.hasOwnProperty(d) && typeof this[d] == "number" && this[d] == o)
382
- return;
383
- if (d == null) {
384
- const u = m(this), v = u?.$flags$;
385
- if (v && !(v & 8) && v & 128 && o !== c) {
386
- const p = u.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[a];
387
- h?.forEach((S) => {
388
- p[S] != null && p[S].call(p, o, c, a);
389
- });
390
- }
391
- return;
392
- }
393
- }
394
- this[d] = o === null && typeof this[d] == "boolean" ? !1 : o;
395
- });
396
- }, e.observedAttributes = Array.from(
397
- /* @__PURE__ */ new Set([
398
- ...Object.keys((r = t.$watchers$) != null ? r : {}),
399
- ...l.filter(
400
- ([a, c]) => c[0] & 15
401
- /* HasAttribute */
402
- ).map(([a, c]) => {
403
- const o = c[1] || a;
404
- return $.set(o, a), o;
405
- })
406
- ])
407
- );
408
- }
409
- }
410
- return e;
411
- }, Ye = async (e, t, n, s) => {
412
- let r;
413
- if (!(t.$flags$ & 32)) {
414
- if (t.$flags$ |= 32, n.$lazyBundleId$) {
415
- const a = ge(n);
416
- if (a && "then" in a ? r = await a : r = a, !r)
417
- throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
418
- r.isProxied || (n.$watchers$ = r.watchers, $e(
419
- r,
420
- n,
421
- 2
422
- /* proxyState */
423
- ), r.isProxied = !0), k("createInstance", n.$tagName$), t.$flags$ |= 8;
424
- try {
425
- new r(t);
426
- } catch (c) {
427
- E(c);
428
- }
429
- t.$flags$ &= -9, t.$flags$ |= 128;
430
- } else {
431
- r = e.constructor;
432
- const a = e.localName;
433
- customElements.whenDefined(a).then(
434
- () => t.$flags$ |= 128
435
- /* isWatchReady */
436
- );
437
- }
438
- if (r && r.style) {
439
- let a;
440
- typeof r.style == "string" && (a = r.style);
441
- const c = R(n);
442
- _.has(c) || (k("registerStyles", n.$tagName$), Le(c, a, !!(n.$flags$ & 1)));
443
- }
444
- }
445
- const i = t.$ancestorComponent$, l = () => C(t, !0);
446
- i && i["s-rc"] ? i["s-rc"].push(l) : l();
447
- }, Je = (e) => {
448
- }, Ke = (e) => {
449
- if (!(g.$flags$ & 1)) {
450
- const t = m(e), n = t.$cmpMeta$;
451
- if (k("connectedCallback", n.$tagName$), t.$flags$ & 1)
452
- t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Je());
453
- else {
454
- t.$flags$ |= 1;
455
- {
456
- let s = e;
457
- for (; s = s.parentNode || s.host; )
458
- if (s["s-p"]) {
459
- le(t, t.$ancestorComponent$ = s);
460
- break;
461
- }
462
- }
463
- n.$members$ && Object.entries(n.$members$).map(([s, [r]]) => {
464
- if (r & 31 && e.hasOwnProperty(s)) {
465
- const i = e[s];
466
- delete e[s], e[s] = i;
467
- }
468
- }), Ye(e, t, n);
469
- }
470
- }
471
- }, Qe = (e) => {
472
- }, Ze = async (e) => {
473
- if (!(g.$flags$ & 1)) {
474
- const t = m(e);
475
- t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Qe());
476
- }
477
- }, Ve = (e, t = {}) => {
478
- var n;
479
- const s = [], r = t.exclude || [], i = A.customElements, l = y.head, $ = /* @__PURE__ */ l.querySelector("meta[charset]"), a = /* @__PURE__ */ y.createElement("style"), c = [];
480
- let o, f = !0;
481
- Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
482
- let d = !1;
483
- if (e.map((u) => {
484
- u[1].map((v) => {
485
- var p;
486
- const h = {
487
- $flags$: v[0],
488
- $tagName$: v[1],
489
- $members$: v[2],
490
- $listeners$: v[3]
491
- };
492
- h.$flags$ & 4 && (d = !0), h.$members$ = v[2], h.$watchers$ = (p = v[4]) != null ? p : {};
493
- const S = h.$tagName$, oe = class extends HTMLElement {
494
- // StencilLazyHost
495
- constructor(j) {
496
- super(j), this.hasRegisteredEventListeners = !1, j = this, ve(j, h);
497
- }
498
- connectedCallback() {
499
- m(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), o && (clearTimeout(o), o = null), f ? c.push(this) : g.jmp(() => Ke(this));
500
- }
501
- disconnectedCallback() {
502
- g.jmp(() => Ze(this));
503
- }
504
- componentOnReady() {
505
- return m(this).$onReadyPromise$;
506
- }
507
- };
508
- h.$lazyBundleId$ = u[0], !r.includes(S) && !i.get(S) && (s.push(S), i.define(
509
- S,
510
- $e(
511
- oe,
512
- h,
513
- 1
514
- /* isElementConstructor */
515
- )
516
- ));
517
- });
518
- }), s.length > 0 && (d && (a.textContent += J), a.textContent += s.sort() + he, a.innerHTML.length)) {
519
- a.setAttribute("data-styles", "");
520
- const u = (n = g.$nonce$) != null ? n : Q(y);
521
- u != null && a.setAttribute("nonce", u), l.insertBefore(a, $ ? $.nextSibling : l.firstChild);
522
- }
523
- f = !1, c.length ? c.map((u) => u.connectedCallback()) : g.jmp(() => o = setTimeout(ie, 30));
524
- };
525
- export {
526
- _e as H,
527
- Ve as b,
528
- Ne as g,
529
- Pe as h,
530
- pe as p,
531
- Re as r
532
- };
@@ -1 +0,0 @@
1
- "use strict";var P=(e,t,n)=>new Promise((s,r)=>{var a=i=>{try{$(n.next(i))}catch(o){r(o)}},l=i=>{try{$(n.throw(i))}catch(o){r(o)}},$=i=>i.done?s(i.value):Promise.resolve(i.value).then(a,l);$((n=n.apply(e,t)).next())});const ve="ui-image",ge={hydratedSelectorName:"hydrated"};var he=Object.defineProperty,pe=(e,t)=>{for(var n in t)he(e,n,{get:t[n],enumerable:!0})},z=new WeakMap,m=e=>z.get(e),ye=(e,t)=>z.set(t.$lazyInstance$=e,t),me=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],z.set(e,n)},F=(e,t)=>t in e,E=(e,t)=>(0,console.error)(e,t),O=new Map,Se=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const a=O.get(r);if(a)return a[s];{const l=$=>(O.set(r,$),$[s]);switch(r){case"ui-image_2":return Promise.resolve().then(()=>require("./ui-image_2-C0sJC5CL.cjs")).then(l,E)}}return import(`./${r}.entry.js`).then(l=>(O.set(r,l),l[s]),E)},T=new Map,Ee="{visibility:hidden}.hydrated{visibility:inherit}",K="slot-fb{display:contents}slot-fb[hidden]{display:none}",L=typeof window!="undefined"?window:{},y=L.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},Q=e=>Promise.resolve(e),ke=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),w=!1,D=[],Z=[],be=(e,t)=>n=>{e.push(n),w||(w=!0,g.$flags$&4?B(I):g.raf(I))},W=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){E(n)}e.length=0},I=()=>{W(D),W(Z),(w=D.length>0)&&g.raf(I)},B=e=>Q().then(e),Pe=be(Z),M={},C=e=>(e=typeof e,e==="object"||e==="function");function R(e){var t,n,s;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}var xe={};pe(xe,{err:()=>N,map:()=>_e,ok:()=>H,unwrap:()=>Te,unwrapErr:()=>Ae});var H=e=>({isOk:!0,isErr:!1,value:e}),N=e=>({isOk:!1,isErr:!0,value:e});function _e(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>H(s)):H(n)}if(e.isErr){const n=e.value;return N(n)}throw"should never get here"}var Te=e=>{if(e.isOk)return e.value;throw e.value},Ae=e=>{if(e.isErr)return e.value;throw e.value},k=(e,t="")=>()=>{},V=(e,t,...n)=>{let s=null,r=null,a=!1,l=!1;const $=[],i=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?i(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!C(s))&&(s=String(s)),a&&l?$[$.length-1].$text$+=s:$.push(a?U(null,s):s),l=a)};if(i(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const o=U(e,null);return o.$attrs$=t,$.length>0&&(o.$children$=$),o.$key$=r,o},U=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},ee={},Le=e=>e&&e.$tag$===ee,je=(e,t)=>e!=null&&!C(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,Oe=e=>m(e).$hostElement$,we=(e,t,n)=>{const s=g.ce(t,n);return e.dispatchEvent(s),s},G=new WeakMap,Ie=(e,t,n)=>{let s=T.get(e);ke&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,T.set(e,s)},He=(e,t,n)=>{var s;const r=te(t),a=T.get(r);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=G.get(e),$;if(l||G.set(e,l=new Set),!l.has(r)){{$=y.createElement("style"),$.innerHTML=a;const i=(s=g.$nonce$)!=null?s:R(y);i!=null&&$.setAttribute("nonce",i),e.insertBefore($,e.querySelector("link"))}t.$flags$&4&&($.innerHTML+=K),l&&l.add(r)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return r},Ue=e=>{const t=e.$cmpMeta$,n=e.$hostElement$;k("attachStyles",t.$tagName$),He(n.getRootNode(),t)},te=(e,t)=>"sc-"+e.$tagName$,X=(e,t,n,s,r,a)=>{if(n!==s){let l=F(e,t),$=t.toLowerCase();if(t==="class"){const i=e.classList,o=Y(n),c=Y(s);i.remove(...o.filter(f=>f&&!c.includes(f))),i.add(...c.filter(f=>f&&!o.includes(f)))}else if(t==="style"){for(const i in n)(!s||s[i]==null)&&(i.includes("-")?e.style.removeProperty(i):e.style[i]="");for(const i in s)(!n||s[i]!==n[i])&&(i.includes("-")?e.style.setProperty(i,s[i]):e.style[i]=s[i])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):F(L,$)?t=$.slice(2):t=$[2]+t.slice(3),n||s){const i=t.endsWith(se);t=t.replace(Be,""),n&&g.rel(e,t,n,i),s&&g.ael(e,t,s,i)}}else{const i=C(s);if((l||i&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const o=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=o)&&(e[t]=o)}}catch(o){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||a&4||r)&&!i&&(s=s===!0?"":s,e.setAttribute(t,s))}}},ze=/\s/,Y=e=>e?e.split(ze):[],se="Capture",Be=new RegExp(se+"$"),ne=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||M,a=t.$attrs$||M;for(const l of J(Object.keys(r)))l in a||X(s,l,r[l],void 0,n,t.$flags$);for(const l of J(Object.keys(a)))X(s,l,r[l],a[l],n,t.$flags$)};function J(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var re,le=!1,A=(e,t,n,s)=>{const r=t.$children$[n];let a=0,l,$;if(r.$text$!==null)l=r.$elm$=y.createTextNode(r.$text$);else if(l=r.$elm$=y.createElement(r.$tag$),ne(null,r,le),r.$children$)for(a=0;a<r.$children$.length;++a)$=A(e,r,a),$&&l.appendChild($);return l["s-hn"]=re,l},ie=(e,t,n,s,r,a)=>{let l=e,$;for(;r<=a;++r)s[r]&&($=A(null,n,r),$&&(s[r].$elm$=$,_(l,$,t)))},ae=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const a=r.$elm$;$e(r),a&&a.remove()}}},Ce=(e,t,n,s,r=!1)=>{let a=0,l=0,$=0,i=0,o=t.length-1,c=t[0],f=t[o],d=s.length-1,u=s[0],v=s[d],p,h;for(;a<=o&&l<=d;)if(c==null)c=t[++a];else if(f==null)f=t[--o];else if(u==null)u=s[++l];else if(v==null)v=s[--d];else if(x(c,u,r))b(c,u,r),c=t[++a],u=s[++l];else if(x(f,v,r))b(f,v,r),f=t[--o],v=s[--d];else if(x(c,v,r))b(c,v,r),_(e,c.$elm$,f.$elm$.nextSibling),c=t[++a],v=s[--d];else if(x(f,u,r))b(f,u,r),_(e,f.$elm$,c.$elm$),f=t[--o],u=s[++l];else{for($=-1,i=a;i<=o;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===u.$key$){$=i;break}$>=0?(h=t[$],h.$tag$!==u.$tag$?p=A(t&&t[l],n,$):(b(h,u,r),t[$]=void 0,p=h.$elm$),u=s[++l]):(p=A(t&&t[l],n,l),u=s[++l]),p&&_(c.$elm$.parentNode,p,c.$elm$)}a>o?ie(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&ae(t,a,o)},x=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,b=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,a=t.$children$,l=t.$text$;l===null?(ne(e,t,le),r!==null&&a!==null?Ce(s,r,t,a,n):a!==null?(e.$text$!==null&&(s.textContent=""),ie(s,null,t,a,0,a.length-1)):r!==null&&ae(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},$e=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map($e)},_=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),qe=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$vnode$||U(null,null),a=Le(t)?t:V(null,null,t);if(re=s.tagName,n&&a.$attrs$)for(const l of Object.keys(a.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=s[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=r.$elm$=s,b(r,a,n)},oe=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return oe(e,e.$ancestorComponent$),Pe(()=>Fe(e,t))},Fe=(e,t)=>{const n=e.$hostElement$;k("scheduleUpdate",e.$cmpMeta$.$tagName$);const s=e.$lazyInstance$;if(!s)throw new Error(`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`);return De(void 0,()=>Me(e,s,t))},De=(e,t)=>We(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),We=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Me=(e,t,n)=>P(exports,null,function*(){var s;const r=e.$hostElement$;k("update",e.$cmpMeta$.$tagName$);const a=r["s-rc"];n&&Ue(e),k("render",e.$cmpMeta$.$tagName$),Ge(e,t,r,n),a&&(a.map(l=>l()),r["s-rc"]=void 0);{const l=(s=r["s-p"])!=null?s:[],$=()=>Xe(e);l.length===0?$():(Promise.all(l).then($),e.$flags$|=4,l.length=0)}}),Ge=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,qe(e,t,s)}catch(r){E(r,e.$hostElement$)}return null},Xe=e=>{e.$cmpMeta$.$tagName$;const t=e.$hostElement$,n=e.$lazyInstance$,s=e.$ancestorComponent$;e.$flags$&64||(e.$flags$|=64,fe(t),Ye(n,"componentDidLoad"),e.$onReadyResolve$(t),s||ce()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&B(()=>q(e,!1)),e.$flags$&=-517},ce=e=>{fe(y.documentElement),B(()=>we(L,"appload",{detail:{namespace:ve}}))},Ye=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){E(s)}},fe=e=>{var t;return e.classList.add((t=ge.hydratedSelectorName)!=null?t:"hydrated")},Je=(e,t)=>m(e).$instanceValues$.get(t),Ke=(e,t,n,s)=>{const r=m(e);if(!r)throw new Error(`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).`);const a=r.$hostElement$,l=r.$instanceValues$.get(t),$=r.$flags$,i=r.$lazyInstance$;n=je(n,s.$members$[t][0]);const o=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!o;if((!($&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),i)){if(s.$watchers$&&$&128){const f=s.$watchers$[t];f&&f.map(d=>{try{i[d](n,l,t)}catch(u){E(u,a)}})}($&18)===2&&q(r,!1)}},ue=(e,t,n)=>{var s,r;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([$,[i]])=>{(i&31||n&2&&i&32)&&Object.defineProperty(a,$,{get(){return Je(this,$)},set(o){Ke(this,$,o,t)},configurable:!0,enumerable:!0})}),n&1){const $=new Map;a.attributeChangedCallback=function(i,o,c){g.jmp(()=>{var f;const d=$.get(i);if(this.hasOwnProperty(d))c=this[d],delete this[d];else{if(a.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;if(d==null){const u=m(this),v=u==null?void 0:u.$flags$;if(v&&!(v&8)&&v&128&&c!==o){const p=u.$lazyInstance$,h=(f=t.$watchers$)==null?void 0:f[i];h==null||h.forEach(S=>{p[S]!=null&&p[S].call(p,c,o,i)})}return}}this[d]=c===null&&typeof this[d]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([i,o])=>o[0]&15).map(([i,o])=>{const c=o[1]||i;return $.set(c,i),c})]))}}return e},Qe=(e,t,n,s)=>P(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const i=Se(n);if(i&&"then"in i?r=yield i:r=i,!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,ue(r,n,2),r.isProxied=!0),k("createInstance",n.$tagName$),t.$flags$|=8;try{new r(t)}catch(o){E(o)}t.$flags$&=-9,t.$flags$|=128}else{r=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(r&&r.style){let i;typeof r.style=="string"&&(i=r.style);const o=te(n);T.has(o)||(k("registerStyles",n.$tagName$),Ie(o,i,!!(n.$flags$&1)))}}const a=t.$ancestorComponent$,l=()=>q(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Ze=e=>{},Re=e=>{if(!(g.$flags$&1)){const t=m(e),n=t.$cmpMeta$;if(k("connectedCallback",n.$tagName$),t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ze());else{t.$flags$|=1;{let s=e;for(;s=s.parentNode||s.host;)if(s["s-p"]){oe(t,t.$ancestorComponent$=s);break}}n.$members$&&Object.entries(n.$members$).map(([s,[r]])=>{if(r&31&&e.hasOwnProperty(s)){const a=e[s];delete e[s],e[s]=a}}),Qe(e,t,n)}}},Ne=e=>{},Ve=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=m(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ne())}}),et=(e,t={})=>{var n;const s=[],r=t.exclude||[],a=L.customElements,l=y.head,$=l.querySelector("meta[charset]"),i=y.createElement("style"),o=[];let c,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(u=>{u[1].map(v=>{var p;const h={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};h.$flags$&4&&(d=!0),h.$members$=v[2],h.$watchers$=(p=v[4])!=null?p:{};const S=h.$tagName$,de=class extends HTMLElement{constructor(j){super(j),this.hasRegisteredEventListeners=!1,j=this,me(j,h)}connectedCallback(){m(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),c&&(clearTimeout(c),c=null),f?o.push(this):g.jmp(()=>Re(this))}disconnectedCallback(){g.jmp(()=>Ve(this))}componentOnReady(){return m(this).$onReadyPromise$}};h.$lazyBundleId$=u[0],!r.includes(S)&&!a.get(S)&&(s.push(S),a.define(S,ue(de,h,1)))})}),s.length>0&&(d&&(i.textContent+=K),i.textContent+=s.sort()+Ee,i.innerHTML.length)){i.setAttribute("data-styles","");const u=(n=g.$nonce$)!=null?n:R(y);u!=null&&i.setAttribute("nonce",u),l.insertBefore(i,$?$.nextSibling:l.firstChild)}f=!1,o.length?o.map(u=>u.connectedCallback()):g.jmp(()=>c=setTimeout(ce,30))};exports.Host=ee;exports.bootstrapLazy=et;exports.getElement=Oe;exports.h=V;exports.promiseResolve=Q;exports.registerInstance=ye;