@everymatrix/cashier-page 1.86.2 → 1.86.3
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.
- package/components/{CashierCarousel-BNKjZ4dF.js → CashierCarousel-BhLbwlL5.js} +1144 -1165
- package/components/{CashierCarousel-D8MiOwuE.js → CashierCarousel-Bwhda3Gl.js} +1311 -1332
- package/components/CashierCarousel-CfPrrhkY.cjs +23 -0
- package/components/{CashierError-DZSJKCbW.js → CashierError-CXcO-Kju.js} +40 -40
- package/components/{CashierError-7qg__v0Z.js → CashierError-CXwvUOLy.js} +40 -40
- package/components/{CashierError-BorUJmCn.cjs → CashierError-D4Au4WNB.cjs} +1 -1
- package/components/{CashierHeader-B9Y-DaUB.js → CashierHeader-BgAqvq1Q.js} +56 -56
- package/components/{CashierHeader-B3b8zbwP.cjs → CashierHeader-CmAjJv-w.cjs} +1 -1
- package/components/{CashierHeader-CzpZDjFX.js → CashierHeader-DRj1BUdj.js} +60 -60
- package/components/{CashierIframeRedirect-aTaiu0hG.js → CashierIframeRedirect-B76kjw0o.js} +24 -24
- package/components/{CashierIframeRedirect-YYamzRsf.cjs → CashierIframeRedirect-Ddt7NW02.cjs} +1 -1
- package/components/{CashierIframeRedirect-B_A79AFN.js → CashierIframeRedirect-DmvuwOL2.js} +24 -24
- package/components/{CashierMethodDetails-Bxh5WhVb.js → CashierMethodDetails-BX_W3rwH.js} +151 -151
- package/components/{CashierMethodDetails-C1kjc4-Q.cjs → CashierMethodDetails-DmvyMFjk.cjs} +2 -2
- package/components/{CashierMethodDetails-BzVSr2on.js → CashierMethodDetails-i7grZPp4.js} +305 -305
- package/components/{CashierMethodsList-CBnuQYXc.js → CashierMethodsList-B6tMxcnh.js} +48 -48
- package/components/{CashierMethodsList-CLQK5Xcn.js → CashierMethodsList-DSq72RRw.js} +80 -80
- package/components/{CashierMethodsList-D9ypDDJW.cjs → CashierMethodsList-LHoZgwVR.cjs} +1 -1
- package/components/{CashierModal-Diij1t-w.cjs → CashierModal-C845c3D0.cjs} +1 -1
- package/components/{CashierModal-BE9c03E8.js → CashierModal-CTYxaPKG.js} +56 -56
- package/components/{CashierModal-R6fQk7sI.js → CashierModal-ndVMjksn.js} +69 -69
- package/components/{CashierNotifications-5EjGguMj.js → CashierNotifications-Bp4KJnpm.js} +34 -34
- package/components/{CashierNotifications-mhDeZtGd.js → CashierNotifications-JNstA5Yb.js} +34 -34
- package/components/{CashierNotifications-kuNLTOB3.cjs → CashierNotifications-tfTPEiSk.cjs} +1 -1
- package/components/{CashierPage-y5YsPxSa.js → CashierPage-4nTfbT_j.js} +142 -142
- package/components/{CashierPage-BREFnfc1.js → CashierPage-Bd71Nhaq.js} +89 -89
- package/components/{CashierPage-DcE7E_Wf.cjs → CashierPage-CHtYMgc0.cjs} +1 -1
- package/components/{CashierReceiptPage-BbHKdDra.js → CashierReceiptPage-CnyLmUmL.js} +97 -97
- package/components/{CashierReceiptPage-CNwhHWwV.js → CashierReceiptPage-DV7Iz4wR.js} +97 -97
- package/components/{CashierReceiptPage-DGAjOoFe.cjs → CashierReceiptPage-HRthn--H.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-33ygvBxj.cjs → CashierSessionExpirationModal-Ckhir3qN.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-D6h6euRq.js → CashierSessionExpirationModal-CvYI4jUg.js} +119 -110
- package/components/{CashierSessionExpirationModal-BQujD7Vd.js → CashierSessionExpirationModal-DM8-SPd3.js} +99 -90
- package/components/{CashierSpinner-CYSebSGZ.js → CashierSpinner-CeX51xPH.js} +17 -17
- package/components/{CashierSpinner-DVLxgI0s.cjs → CashierSpinner-ODmoTC6W.cjs} +1 -1
- package/components/{CashierSpinner-DIyI0RD1.js → CashierSpinner-a2VW8q1r.js} +17 -17
- package/components/{CashierStepUp-DEb05cBS.js → CashierStepUp-5um8gbUX.js} +66 -66
- package/components/{CashierStepUp-B9H7E8wY.cjs → CashierStepUp-CjnvqYJo.cjs} +1 -1
- package/components/{CashierStepUp-DnvNxlcq.js → CashierStepUp-CyO7gmgP.js} +83 -83
- package/components/{CashierTransactionHistory-CX3RviXD.js → CashierTransactionHistory-5JNtVHcj.js} +115 -115
- package/components/{CashierTransactionHistory-ButX2_sB.js → CashierTransactionHistory-Cm3ikVPK.js} +84 -84
- package/components/{CashierTransactionHistory-D8cuhIj_.cjs → CashierTransactionHistory-CmgO6bXN.cjs} +1 -1
- package/components/{CashierVerifications-DVccv6qc.js → CashierVerifications-BmZYiJaN.js} +40 -40
- package/components/{CashierVerifications-DPeQTcCN.cjs → CashierVerifications-DkayuISY.cjs} +1 -1
- package/components/{CashierVerifications-CPUhZGV4.js → CashierVerifications-hID6hjDs.js} +37 -37
- package/components/{TxnStatusIcon-Krgh5oF3.js → TxnStatusIcon-BDnNMhFD.js} +19 -19
- package/components/{TxnStatusIcon-CpJJHtXq.js → TxnStatusIcon-HrmfQdAc.js} +19 -19
- package/components/{TxnStatusIcon-DuWdYaRx.cjs → TxnStatusIcon-Le-TBKNh.cjs} +1 -1
- package/components/{TxnTypeIcons-Az6Gbxxw.js → TxnTypeIcons-DZRNYWUy.js} +14 -14
- package/components/{TxnTypeIcons-Bvy6NVGO.js → TxnTypeIcons-__im0AE_.js} +14 -14
- package/components/{TxnTypeIcons-iU9VGsWs.cjs → TxnTypeIcons-sZUo9qa8.cjs} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-DvplcHtm.js +558 -0
- package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
- package/stencil/index-97d17652-p-iQtjus.js +542 -0
- package/stencil/index-b2193545-Bvpy7mp9.js +503 -0
- package/stencil/index-b2193545-DxDmFccl.js +519 -0
- package/stencil/index-b2193545-P1qvDl70.cjs +1 -0
- package/stencil/{ui-image-CNaRr0ax.js → ui-image-BIr_PDb-.js} +1 -1
- package/stencil/{ui-image-IJc7Zz_R.cjs → ui-image-CEbrFHSD.cjs} +1 -1
- package/stencil/{ui-image-BsYHwNhO.js → ui-image-D69wsX4B.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
- package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BESQEo1l.js} +2 -2
- package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BfZmduAK.js} +2 -2
- package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
- package/stencil/{ui-skeleton-UxIIZ8UD.cjs → ui-skeleton-CTOStr1f.cjs} +1 -1
- package/stencil/{ui-skeleton-CQ-FgYMx.js → ui-skeleton-UELn0TdO.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BEwquWmd.cjs → ui-skeleton-ed169f8f-6tILWWI7.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BMrkXoR5.js → ui-skeleton-ed169f8f-DU5yFWqG.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BNn31z1X.js → ui-skeleton-ed169f8f-DmzkEnLt.js} +1 -1
- package/stencil/{ui-skeleton-B9YTz-WD.js → ui-skeleton-i8axfHXy.js} +2 -2
- package/components/CashierCarousel-CecQbbdW.cjs +0 -23
- package/stencil/index-97d17652-B6BYeRne.js +0 -542
- package/stencil/index-97d17652-BOr4KAqq.js +0 -558
- package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
- package/stencil/index-b2193545-B5Q7rnAU.cjs +0 -1
- package/stencil/index-b2193545-CF_fVoFe.js +0 -519
- package/stencil/index-b2193545-DfttkCgg.js +0 -503
|
@@ -0,0 +1,519 @@
|
|
|
1
|
+
var x = (e, t, n) => new Promise((r, s) => {
|
|
2
|
+
var a = (o) => {
|
|
3
|
+
try {
|
|
4
|
+
i(n.next(o));
|
|
5
|
+
} catch (c) {
|
|
6
|
+
s(c);
|
|
7
|
+
}
|
|
8
|
+
}, l = (o) => {
|
|
9
|
+
try {
|
|
10
|
+
i(n.throw(o));
|
|
11
|
+
} catch (c) {
|
|
12
|
+
s(c);
|
|
13
|
+
}
|
|
14
|
+
}, i = (o) => o.done ? r(o.value) : Promise.resolve(o.value).then(a, l);
|
|
15
|
+
i((n = n.apply(e, t)).next());
|
|
16
|
+
});
|
|
17
|
+
const $e = "ui-skeleton", D = (
|
|
18
|
+
/* ui-skeleton */
|
|
19
|
+
{ allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !1, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !1, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !1, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !1, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !0, propString: !0, reflect: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !1, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !1, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !1, vdomPropOrAttr: !1, vdomRef: !1, vdomRender: !0, vdomStyle: !1, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
|
|
20
|
+
);
|
|
21
|
+
var fe = Object.defineProperty, ue = (e, t) => {
|
|
22
|
+
for (var n in t)
|
|
23
|
+
fe(e, n, { get: t[n], enumerable: !0 });
|
|
24
|
+
}, B = /* @__PURE__ */ new WeakMap(), b = (e) => B.get(e), Xe = (e, t) => B.set(t.$lazyInstance$ = e, t), de = (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((r) => n.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], B.set(e, n);
|
|
32
|
+
}, w = (e, t) => (0, console.error)(e, t), _ = /* @__PURE__ */ new Map(), me = (e, t, n) => {
|
|
33
|
+
const r = e.$tagName$.replace(/-/g, "_"), s = e.$lazyBundleId$;
|
|
34
|
+
if (!s)
|
|
35
|
+
return;
|
|
36
|
+
const a = _.get(s);
|
|
37
|
+
if (a)
|
|
38
|
+
return a[r];
|
|
39
|
+
{
|
|
40
|
+
const l = (i) => (_.set(s, i), i[r]);
|
|
41
|
+
switch (s) {
|
|
42
|
+
case "ui-skeleton":
|
|
43
|
+
return import(
|
|
44
|
+
/* webpackMode: "lazy" */
|
|
45
|
+
"./ui-skeleton-i8axfHXy.js"
|
|
46
|
+
).then(l, w);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return import(
|
|
50
|
+
/* @vite-ignore */
|
|
51
|
+
/* webpackInclude: /\.entry\.js$/ */
|
|
52
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
53
|
+
/* webpackMode: "lazy" */
|
|
54
|
+
`./${s}.entry.js`
|
|
55
|
+
).then((l) => (_.set(s, l), l[r]), w);
|
|
56
|
+
}, P = /* @__PURE__ */ new Map(), ve = "{visibility:hidden}.hydrated{visibility:inherit}", J = "slot-fb{display:contents}slot-fb[hidden]{display:none}", H = typeof window != "undefined" ? window : {}, y = H.document || { head: {} }, p = {
|
|
57
|
+
$flags$: 0,
|
|
58
|
+
$resourcesUrl$: "",
|
|
59
|
+
jmp: (e) => e(),
|
|
60
|
+
raf: (e) => requestAnimationFrame(e),
|
|
61
|
+
ael: (e, t, n, r) => e.addEventListener(t, n, r),
|
|
62
|
+
rel: (e, t, n, r) => e.removeEventListener(t, n, r),
|
|
63
|
+
ce: (e, t) => new CustomEvent(e, t)
|
|
64
|
+
}, pe = D.shadowDom, he = (e) => Promise.resolve(e), ge = /* @__PURE__ */ (() => {
|
|
65
|
+
try {
|
|
66
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
67
|
+
} catch (e) {
|
|
68
|
+
}
|
|
69
|
+
return !1;
|
|
70
|
+
})(), j = !1, F = [], K = [], ye = (e, t) => (n) => {
|
|
71
|
+
e.push(n), j || (j = !0, p.$flags$ & 4 ? I(N) : p.raf(N));
|
|
72
|
+
}, q = (e) => {
|
|
73
|
+
for (let t = 0; t < e.length; t++)
|
|
74
|
+
try {
|
|
75
|
+
e[t](performance.now());
|
|
76
|
+
} catch (n) {
|
|
77
|
+
w(n);
|
|
78
|
+
}
|
|
79
|
+
e.length = 0;
|
|
80
|
+
}, N = () => {
|
|
81
|
+
q(F), q(K), (j = F.length > 0) && p.raf(N);
|
|
82
|
+
}, I = (e) => he().then(e), Se = /* @__PURE__ */ ye(K), W = {}, R = (e) => (e = typeof e, e === "object" || e === "function");
|
|
83
|
+
function X(e) {
|
|
84
|
+
var t, n, r;
|
|
85
|
+
return (r = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? r : void 0;
|
|
86
|
+
}
|
|
87
|
+
var be = {};
|
|
88
|
+
ue(be, {
|
|
89
|
+
err: () => Z,
|
|
90
|
+
map: () => ke,
|
|
91
|
+
ok: () => C,
|
|
92
|
+
unwrap: () => we,
|
|
93
|
+
unwrapErr: () => Ee
|
|
94
|
+
});
|
|
95
|
+
var C = (e) => ({
|
|
96
|
+
isOk: !0,
|
|
97
|
+
isErr: !1,
|
|
98
|
+
value: e
|
|
99
|
+
}), Z = (e) => ({
|
|
100
|
+
isOk: !1,
|
|
101
|
+
isErr: !0,
|
|
102
|
+
value: e
|
|
103
|
+
});
|
|
104
|
+
function ke(e, t) {
|
|
105
|
+
if (e.isOk) {
|
|
106
|
+
const n = t(e.value);
|
|
107
|
+
return n instanceof Promise ? n.then((r) => C(r)) : C(n);
|
|
108
|
+
}
|
|
109
|
+
if (e.isErr) {
|
|
110
|
+
const n = e.value;
|
|
111
|
+
return Z(n);
|
|
112
|
+
}
|
|
113
|
+
throw "should never get here";
|
|
114
|
+
}
|
|
115
|
+
var we = (e) => {
|
|
116
|
+
if (e.isOk)
|
|
117
|
+
return e.value;
|
|
118
|
+
throw e.value;
|
|
119
|
+
}, Ee = (e) => {
|
|
120
|
+
if (e.isErr)
|
|
121
|
+
return e.value;
|
|
122
|
+
throw e.value;
|
|
123
|
+
}, S = (e, t = "") => () => {
|
|
124
|
+
}, xe = (e, t) => () => {
|
|
125
|
+
}, Te = (e, t, ...n) => {
|
|
126
|
+
let r = null, s = null, a = !1, l = !1;
|
|
127
|
+
const i = [], o = ($) => {
|
|
128
|
+
for (let f = 0; f < $.length; f++)
|
|
129
|
+
r = $[f], Array.isArray(r) ? o(r) : r != null && typeof r != "boolean" && ((a = typeof e != "function" && !R(r)) && (r = String(r)), a && l ? i[i.length - 1].$text$ += r : i.push(a ? U(null, r) : r), l = a);
|
|
130
|
+
};
|
|
131
|
+
if (o(n), t) {
|
|
132
|
+
t.key && (s = t.key);
|
|
133
|
+
{
|
|
134
|
+
const $ = t.className || t.class;
|
|
135
|
+
$ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((f) => $[f]).join(" "));
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
const c = U(e, null);
|
|
139
|
+
return c.$attrs$ = t, i.length > 0 && (c.$children$ = i), c.$key$ = s, c;
|
|
140
|
+
}, U = (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 = {}, Pe = (e) => e && e.$tag$ === Le, Ae = (e, t) => e != null && !R(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Oe = (e, t, n) => {
|
|
150
|
+
const r = p.ce(t, n);
|
|
151
|
+
return e.dispatchEvent(r), r;
|
|
152
|
+
}, M = /* @__PURE__ */ new WeakMap(), _e = (e, t, n) => {
|
|
153
|
+
let r = P.get(e);
|
|
154
|
+
ge && n ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, P.set(e, r);
|
|
155
|
+
}, je = (e, t, n) => {
|
|
156
|
+
var r;
|
|
157
|
+
const s = V(t), a = P.get(s);
|
|
158
|
+
if (e = e.nodeType === 11 ? e : y, a)
|
|
159
|
+
if (typeof a == "string") {
|
|
160
|
+
e = e.head || e;
|
|
161
|
+
let l = M.get(e), i;
|
|
162
|
+
if (l || M.set(e, l = /* @__PURE__ */ new Set()), !l.has(s)) {
|
|
163
|
+
{
|
|
164
|
+
i = y.createElement("style"), i.innerHTML = a;
|
|
165
|
+
const o = (r = p.$nonce$) != null ? r : X(y);
|
|
166
|
+
o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
|
|
167
|
+
}
|
|
168
|
+
t.$flags$ & 4 && (i.innerHTML += J), l && l.add(s);
|
|
169
|
+
}
|
|
170
|
+
} else
|
|
171
|
+
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
172
|
+
return s;
|
|
173
|
+
}, Ne = (e) => {
|
|
174
|
+
const t = e.$cmpMeta$, n = e.$hostElement$, r = S("attachStyles", t.$tagName$);
|
|
175
|
+
je(
|
|
176
|
+
n.getRootNode(),
|
|
177
|
+
t
|
|
178
|
+
), r();
|
|
179
|
+
}, V = (e, t) => "sc-" + e.$tagName$, Q = (e, t, n, r, s, a) => {
|
|
180
|
+
if (n !== r && (t.toLowerCase(), t === "class")) {
|
|
181
|
+
const l = e.classList, i = Y(n), o = Y(r);
|
|
182
|
+
l.remove(...i.filter((c) => c && !o.includes(c))), l.add(...o.filter((c) => c && !i.includes(c)));
|
|
183
|
+
}
|
|
184
|
+
}, Ce = /\s/, Y = (e) => e ? e.split(Ce) : [], ee = (e, t, n) => {
|
|
185
|
+
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, s = e && e.$attrs$ || W, a = t.$attrs$ || W;
|
|
186
|
+
for (const l of G(Object.keys(s)))
|
|
187
|
+
l in a || Q(r, l, s[l], void 0);
|
|
188
|
+
for (const l of G(Object.keys(a)))
|
|
189
|
+
Q(r, l, s[l], a[l]);
|
|
190
|
+
};
|
|
191
|
+
function G(e) {
|
|
192
|
+
return e.includes("ref") ? (
|
|
193
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
194
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
|
195
|
+
) : (
|
|
196
|
+
// no need to sort, return the original array
|
|
197
|
+
e
|
|
198
|
+
);
|
|
199
|
+
}
|
|
200
|
+
var te, se = !1, A = (e, t, n, r) => {
|
|
201
|
+
const s = t.$children$[n];
|
|
202
|
+
let a = 0, l, i;
|
|
203
|
+
if (s.$text$ !== null)
|
|
204
|
+
l = s.$elm$ = y.createTextNode(s.$text$);
|
|
205
|
+
else if (l = s.$elm$ = y.createElement(
|
|
206
|
+
!se && D.slotRelocation && s.$flags$ & 2 ? "slot-fb" : s.$tag$
|
|
207
|
+
), ee(null, s), s.$children$)
|
|
208
|
+
for (a = 0; a < s.$children$.length; ++a)
|
|
209
|
+
i = A(e, s, a), i && l.appendChild(i);
|
|
210
|
+
return l["s-hn"] = te, l;
|
|
211
|
+
}, ne = (e, t, n, r, s, a) => {
|
|
212
|
+
let l = e, i;
|
|
213
|
+
for (; s <= a; ++s)
|
|
214
|
+
r[s] && (i = A(null, n, s), i && (r[s].$elm$ = i, L(l, i, t)));
|
|
215
|
+
}, re = (e, t, n) => {
|
|
216
|
+
for (let r = t; r <= n; ++r) {
|
|
217
|
+
const s = e[r];
|
|
218
|
+
if (s) {
|
|
219
|
+
const a = s.$elm$;
|
|
220
|
+
a && a.remove();
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}, Ue = (e, t, n, r, s = !1) => {
|
|
224
|
+
let a = 0, l = 0, i = 0, o = 0, c = t.length - 1, $ = t[0], f = t[c], u = r.length - 1, d = r[0], m = r[u], v, h;
|
|
225
|
+
for (; a <= c && l <= u; )
|
|
226
|
+
if ($ == null)
|
|
227
|
+
$ = t[++a];
|
|
228
|
+
else if (f == null)
|
|
229
|
+
f = t[--c];
|
|
230
|
+
else if (d == null)
|
|
231
|
+
d = r[++l];
|
|
232
|
+
else if (m == null)
|
|
233
|
+
m = r[--u];
|
|
234
|
+
else if (T($, d, s))
|
|
235
|
+
k($, d, s), $ = t[++a], d = r[++l];
|
|
236
|
+
else if (T(f, m, s))
|
|
237
|
+
k(f, m, s), f = t[--c], m = r[--u];
|
|
238
|
+
else if (T($, m, s))
|
|
239
|
+
k($, m, s), L(e, $.$elm$, f.$elm$.nextSibling), $ = t[++a], m = r[--u];
|
|
240
|
+
else if (T(f, d, s))
|
|
241
|
+
k(f, d, s), L(e, f.$elm$, $.$elm$), f = t[--c], d = r[++l];
|
|
242
|
+
else {
|
|
243
|
+
for (i = -1, o = a; o <= c; ++o)
|
|
244
|
+
if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
|
|
245
|
+
i = o;
|
|
246
|
+
break;
|
|
247
|
+
}
|
|
248
|
+
i >= 0 ? (h = t[i], h.$tag$ !== d.$tag$ ? v = A(t && t[l], n, i) : (k(h, d, s), t[i] = void 0, v = h.$elm$), d = r[++l]) : (v = A(t && t[l], n, l), d = r[++l]), v && L($.$elm$.parentNode, v, $.$elm$);
|
|
249
|
+
}
|
|
250
|
+
a > c ? ne(
|
|
251
|
+
e,
|
|
252
|
+
r[u + 1] == null ? null : r[u + 1].$elm$,
|
|
253
|
+
n,
|
|
254
|
+
r,
|
|
255
|
+
l,
|
|
256
|
+
u
|
|
257
|
+
) : l > u && re(t, a, c);
|
|
258
|
+
}, T = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, n = !1) => {
|
|
259
|
+
const r = t.$elm$ = e.$elm$, s = e.$children$, a = t.$children$, l = t.$text$;
|
|
260
|
+
l === null ? (ee(e, t), s !== null && a !== null ? Ue(r, s, t, a, n) : a !== null ? (e.$text$ !== null && (r.textContent = ""), ne(r, null, t, a, 0, a.length - 1)) : s !== null && re(s, 0, s.length - 1)) : e.$text$ !== l && (r.data = l);
|
|
261
|
+
}, L = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), De = (e, t, n = !1) => {
|
|
262
|
+
const r = e.$hostElement$, s = e.$vnode$ || U(null, null), a = Pe(t) ? t : Te(null, null, t);
|
|
263
|
+
if (te = r.tagName, n && a.$attrs$)
|
|
264
|
+
for (const l of Object.keys(a.$attrs$))
|
|
265
|
+
r.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = r[l]);
|
|
266
|
+
a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = s.$elm$ = r, se = pe, k(s, a, n);
|
|
267
|
+
}, le = (e, t) => {
|
|
268
|
+
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
|
|
269
|
+
}, z = (e, t) => {
|
|
270
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
271
|
+
e.$flags$ |= 512;
|
|
272
|
+
return;
|
|
273
|
+
}
|
|
274
|
+
return le(e, e.$ancestorComponent$), Se(() => Be(e, t));
|
|
275
|
+
}, Be = (e, t) => {
|
|
276
|
+
const n = e.$hostElement$, r = S("scheduleUpdate", e.$cmpMeta$.$tagName$), s = e.$lazyInstance$;
|
|
277
|
+
if (!s)
|
|
278
|
+
throw new Error(
|
|
279
|
+
`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`
|
|
280
|
+
);
|
|
281
|
+
let a;
|
|
282
|
+
return r(), He(a, () => ze(e, s, t));
|
|
283
|
+
}, He = (e, t) => Ie(e) ? e.then(t).catch((n) => {
|
|
284
|
+
console.error(n), t();
|
|
285
|
+
}) : t(), Ie = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", ze = (e, t, n) => x(void 0, null, function* () {
|
|
286
|
+
var r;
|
|
287
|
+
const s = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = s["s-rc"];
|
|
288
|
+
n && Ne(e);
|
|
289
|
+
const i = S("render", e.$cmpMeta$.$tagName$);
|
|
290
|
+
Fe(e, t, s, n), l && (l.map((o) => o()), s["s-rc"] = void 0), i(), a();
|
|
291
|
+
{
|
|
292
|
+
const o = (r = s["s-p"]) != null ? r : [], c = () => qe(e);
|
|
293
|
+
o.length === 0 ? c() : (Promise.all(o).then(c), e.$flags$ |= 4, o.length = 0);
|
|
294
|
+
}
|
|
295
|
+
}), Fe = (e, t, n, r) => {
|
|
296
|
+
try {
|
|
297
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, De(e, t, r);
|
|
298
|
+
} catch (s) {
|
|
299
|
+
w(s, e.$hostElement$);
|
|
300
|
+
}
|
|
301
|
+
return null;
|
|
302
|
+
}, qe = (e) => {
|
|
303
|
+
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, r = S("postUpdate", t), s = e.$ancestorComponent$;
|
|
304
|
+
e.$flags$ & 64 ? r() : (e.$flags$ |= 64, oe(n), r(), e.$onReadyResolve$(n), s || ae()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && I(() => z(e, !1)), e.$flags$ &= -517;
|
|
305
|
+
}, ae = (e) => {
|
|
306
|
+
oe(y.documentElement), I(() => Oe(H, "appload", { detail: { namespace: $e } }));
|
|
307
|
+
}, oe = (e) => {
|
|
308
|
+
var t;
|
|
309
|
+
return e.classList.add((t = D.hydratedSelectorName) != null ? t : "hydrated");
|
|
310
|
+
}, We = (e, t) => b(e).$instanceValues$.get(t), Me = (e, t, n, r) => {
|
|
311
|
+
const s = b(e);
|
|
312
|
+
if (!s)
|
|
313
|
+
throw new Error(
|
|
314
|
+
`Couldn't find host element for "${r.$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).`
|
|
315
|
+
);
|
|
316
|
+
const a = s.$hostElement$, l = s.$instanceValues$.get(t), i = s.$flags$, o = s.$lazyInstance$;
|
|
317
|
+
n = Ae(n, r.$members$[t][0]);
|
|
318
|
+
const c = Number.isNaN(l) && Number.isNaN(n), $ = n !== l && !c;
|
|
319
|
+
if ((!(i & 8) || l === void 0) && $ && (s.$instanceValues$.set(t, n), o)) {
|
|
320
|
+
if (r.$watchers$ && i & 128) {
|
|
321
|
+
const f = r.$watchers$[t];
|
|
322
|
+
f && f.map((u) => {
|
|
323
|
+
try {
|
|
324
|
+
o[u](n, l, t);
|
|
325
|
+
} catch (d) {
|
|
326
|
+
w(d, a);
|
|
327
|
+
}
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
(i & 18) === 2 && z(s, !1);
|
|
331
|
+
}
|
|
332
|
+
}, ie = (e, t, n) => {
|
|
333
|
+
var r, s;
|
|
334
|
+
const a = e.prototype;
|
|
335
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
336
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
337
|
+
const l = Object.entries((r = t.$members$) != null ? r : {});
|
|
338
|
+
if (l.map(([i, [o]]) => {
|
|
339
|
+
(o & 31 || n & 2 && o & 32) && Object.defineProperty(a, i, {
|
|
340
|
+
get() {
|
|
341
|
+
return We(this, i);
|
|
342
|
+
},
|
|
343
|
+
set(c) {
|
|
344
|
+
Me(this, i, c, t);
|
|
345
|
+
},
|
|
346
|
+
configurable: !0,
|
|
347
|
+
enumerable: !0
|
|
348
|
+
});
|
|
349
|
+
}), n & 1) {
|
|
350
|
+
const i = /* @__PURE__ */ new Map();
|
|
351
|
+
a.attributeChangedCallback = function(o, c, $) {
|
|
352
|
+
p.jmp(() => {
|
|
353
|
+
var f;
|
|
354
|
+
const u = i.get(o);
|
|
355
|
+
if (this.hasOwnProperty(u))
|
|
356
|
+
$ = this[u], delete this[u];
|
|
357
|
+
else {
|
|
358
|
+
if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == $)
|
|
359
|
+
return;
|
|
360
|
+
if (u == null) {
|
|
361
|
+
const d = b(this), m = d == null ? void 0 : d.$flags$;
|
|
362
|
+
if (m && !(m & 8) && m & 128 && $ !== c) {
|
|
363
|
+
const v = d.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[o];
|
|
364
|
+
h == null || h.forEach((g) => {
|
|
365
|
+
v[g] != null && v[g].call(v, $, c, o);
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
return;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
this[u] = $ === null && typeof this[u] == "boolean" ? !1 : $;
|
|
372
|
+
});
|
|
373
|
+
}, e.observedAttributes = Array.from(
|
|
374
|
+
/* @__PURE__ */ new Set([
|
|
375
|
+
...Object.keys((s = t.$watchers$) != null ? s : {}),
|
|
376
|
+
...l.filter(
|
|
377
|
+
([o, c]) => c[0] & 15
|
|
378
|
+
/* HasAttribute */
|
|
379
|
+
).map(([o, c]) => {
|
|
380
|
+
const $ = c[1] || o;
|
|
381
|
+
return i.set($, o), $;
|
|
382
|
+
})
|
|
383
|
+
])
|
|
384
|
+
);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
return e;
|
|
388
|
+
}, Qe = (e, t, n, r) => x(void 0, null, function* () {
|
|
389
|
+
let s;
|
|
390
|
+
if (!(t.$flags$ & 32)) {
|
|
391
|
+
if (t.$flags$ |= 32, n.$lazyBundleId$) {
|
|
392
|
+
const o = me(n);
|
|
393
|
+
if (o && "then" in o) {
|
|
394
|
+
const $ = xe();
|
|
395
|
+
s = yield o, $();
|
|
396
|
+
} else
|
|
397
|
+
s = o;
|
|
398
|
+
if (!s)
|
|
399
|
+
throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
|
|
400
|
+
s.isProxied || (n.$watchers$ = s.watchers, ie(
|
|
401
|
+
s,
|
|
402
|
+
n,
|
|
403
|
+
2
|
|
404
|
+
/* proxyState */
|
|
405
|
+
), s.isProxied = !0);
|
|
406
|
+
const c = S("createInstance", n.$tagName$);
|
|
407
|
+
t.$flags$ |= 8;
|
|
408
|
+
try {
|
|
409
|
+
new s(t);
|
|
410
|
+
} catch ($) {
|
|
411
|
+
w($);
|
|
412
|
+
}
|
|
413
|
+
t.$flags$ &= -9, t.$flags$ |= 128, c();
|
|
414
|
+
} else {
|
|
415
|
+
s = e.constructor;
|
|
416
|
+
const o = e.localName;
|
|
417
|
+
customElements.whenDefined(o).then(
|
|
418
|
+
() => t.$flags$ |= 128
|
|
419
|
+
/* isWatchReady */
|
|
420
|
+
);
|
|
421
|
+
}
|
|
422
|
+
if (s && s.style) {
|
|
423
|
+
let o;
|
|
424
|
+
typeof s.style == "string" && (o = s.style);
|
|
425
|
+
const c = V(n);
|
|
426
|
+
if (!P.has(c)) {
|
|
427
|
+
const $ = S("registerStyles", n.$tagName$);
|
|
428
|
+
_e(c, o, !!(n.$flags$ & 1)), $();
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
const a = t.$ancestorComponent$, l = () => z(t, !0);
|
|
433
|
+
a && a["s-rc"] ? a["s-rc"].push(l) : l();
|
|
434
|
+
}), Ye = (e) => {
|
|
435
|
+
}, Ge = (e) => {
|
|
436
|
+
if (!(p.$flags$ & 1)) {
|
|
437
|
+
const t = b(e), n = t.$cmpMeta$, r = S("connectedCallback", n.$tagName$);
|
|
438
|
+
if (t.$flags$ & 1)
|
|
439
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ye());
|
|
440
|
+
else {
|
|
441
|
+
t.$flags$ |= 1;
|
|
442
|
+
{
|
|
443
|
+
let s = e;
|
|
444
|
+
for (; s = s.parentNode || s.host; )
|
|
445
|
+
if (s["s-p"]) {
|
|
446
|
+
le(t, t.$ancestorComponent$ = s);
|
|
447
|
+
break;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
n.$members$ && Object.entries(n.$members$).map(([s, [a]]) => {
|
|
451
|
+
if (a & 31 && e.hasOwnProperty(s)) {
|
|
452
|
+
const l = e[s];
|
|
453
|
+
delete e[s], e[s] = l;
|
|
454
|
+
}
|
|
455
|
+
}), Qe(e, t, n);
|
|
456
|
+
}
|
|
457
|
+
r();
|
|
458
|
+
}
|
|
459
|
+
}, Je = (e) => {
|
|
460
|
+
}, Ke = (e) => x(void 0, null, function* () {
|
|
461
|
+
if (!(p.$flags$ & 1)) {
|
|
462
|
+
const t = b(e);
|
|
463
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Je());
|
|
464
|
+
}
|
|
465
|
+
}), Ze = (e, t = {}) => {
|
|
466
|
+
var n;
|
|
467
|
+
const r = S(), s = [], a = t.exclude || [], l = H.customElements, i = y.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), c = /* @__PURE__ */ y.createElement("style"), $ = [];
|
|
468
|
+
let f, u = !0;
|
|
469
|
+
Object.assign(p, t), p.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
|
|
470
|
+
let d = !1;
|
|
471
|
+
if (e.map((m) => {
|
|
472
|
+
m[1].map((v) => {
|
|
473
|
+
var h;
|
|
474
|
+
const g = {
|
|
475
|
+
$flags$: v[0],
|
|
476
|
+
$tagName$: v[1],
|
|
477
|
+
$members$: v[2],
|
|
478
|
+
$listeners$: v[3]
|
|
479
|
+
};
|
|
480
|
+
g.$flags$ & 4 && (d = !0), g.$members$ = v[2], g.$watchers$ = (h = v[4]) != null ? h : {};
|
|
481
|
+
const E = g.$tagName$, ce = class extends HTMLElement {
|
|
482
|
+
// StencilLazyHost
|
|
483
|
+
constructor(O) {
|
|
484
|
+
super(O), this.hasRegisteredEventListeners = !1, O = this, de(O, g);
|
|
485
|
+
}
|
|
486
|
+
connectedCallback() {
|
|
487
|
+
b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? $.push(this) : p.jmp(() => Ge(this));
|
|
488
|
+
}
|
|
489
|
+
disconnectedCallback() {
|
|
490
|
+
p.jmp(() => Ke(this));
|
|
491
|
+
}
|
|
492
|
+
componentOnReady() {
|
|
493
|
+
return b(this).$onReadyPromise$;
|
|
494
|
+
}
|
|
495
|
+
};
|
|
496
|
+
g.$lazyBundleId$ = m[0], !a.includes(E) && !l.get(E) && (s.push(E), l.define(
|
|
497
|
+
E,
|
|
498
|
+
ie(
|
|
499
|
+
ce,
|
|
500
|
+
g,
|
|
501
|
+
1
|
|
502
|
+
/* isElementConstructor */
|
|
503
|
+
)
|
|
504
|
+
));
|
|
505
|
+
});
|
|
506
|
+
}), s.length > 0 && (d && (c.textContent += J), c.textContent += s.sort() + ve, c.innerHTML.length)) {
|
|
507
|
+
c.setAttribute("data-styles", "");
|
|
508
|
+
const m = (n = p.$nonce$) != null ? n : X(y);
|
|
509
|
+
m != null && c.setAttribute("nonce", m), i.insertBefore(c, o ? o.nextSibling : i.firstChild);
|
|
510
|
+
}
|
|
511
|
+
u = !1, $.length ? $.map((m) => m.connectedCallback()) : p.jmp(() => f = setTimeout(ae, 30)), r();
|
|
512
|
+
};
|
|
513
|
+
export {
|
|
514
|
+
Le as H,
|
|
515
|
+
Ze as b,
|
|
516
|
+
Te as h,
|
|
517
|
+
he as p,
|
|
518
|
+
Xe as r
|
|
519
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var x=(e,t,n)=>new Promise((r,s)=>{var a=o=>{try{i(n.next(o))}catch(c){s(c)}},l=o=>{try{i(n.throw(o))}catch(c){s(c)}},i=o=>o.done?r(o.value):Promise.resolve(o.value).then(a,l);i((n=n.apply(e,t)).next())});const de="ui-skeleton",D={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!1,cmpDidRender:!1,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!1,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!1,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!1,propNumber:!0,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!1,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!1,style:!0,svg:!1,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!1,vdomPropOrAttr:!1,vdomRef:!1,vdomRender:!0,vdomStyle:!1,vdomText:!0,vdomXlink:!1,watchCallback:!0};var me=Object.defineProperty,ve=(e,t)=>{for(var n in t)me(e,n,{get:t[n],enumerable:!0})},I=new WeakMap,b=e=>I.get(e),he=(e,t)=>I.set(t.$lazyInstance$=e,t),pe=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(r=>n.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],I.set(e,n)},w=(e,t)=>(0,console.error)(e,t),_=new Map,ge=(e,t,n)=>{const r=e.$tagName$.replace(/-/g,"_"),s=e.$lazyBundleId$;if(!s)return;const a=_.get(s);if(a)return a[r];{const l=i=>(_.set(s,i),i[r]);switch(s){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-CTOStr1f.cjs")).then(l,w)}}return import(`./${s}.entry.js`).then(l=>(_.set(s,l),l[r]),w)},P=new Map,ye="{visibility:hidden}.hydrated{visibility:inherit}",G="slot-fb{display:contents}slot-fb[hidden]{display:none}",B=typeof window!="undefined"?window:{},y=B.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)},Se=D.shadowDom,J=e=>Promise.resolve(e),be=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),j=!1,F=[],K=[],ke=(e,t)=>n=>{e.push(n),j||(j=!0,h.$flags$&4?H(N):h.raf(N))},q=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){w(n)}e.length=0},N=()=>{q(F),q(K),(j=F.length>0)&&h.raf(N)},H=e=>J().then(e),we=ke(K),W={},X=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,n,r;return(r=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?r:void 0}var Ee={};ve(Ee,{err:()=>V,map:()=>xe,ok:()=>C,unwrap:()=>Te,unwrapErr:()=>Le});var C=e=>({isOk:!0,isErr:!1,value:e}),V=e=>({isOk:!1,isErr:!0,value:e});function xe(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(r=>C(r)):C(n)}if(e.isErr){const n=e.value;return V(n)}throw"should never get here"}var Te=e=>{if(e.isOk)return e.value;throw e.value},Le=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Pe=(e,t)=>()=>{},ee=(e,t,...n)=>{let r=null,s=null,a=!1,l=!1;const i=[],o=$=>{for(let f=0;f<$.length;f++)r=$[f],Array.isArray(r)?o(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!X(r))&&(r=String(r)),a&&l?i[i.length-1].$text$+=r:i.push(a?U(null,r):r),l=a)};if(o(n),t){t.key&&(s=t.key);{const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(f=>$[f]).join(" "))}}const c=U(e,null);return c.$attrs$=t,i.length>0&&(c.$children$=i),c.$key$=s,c},U=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},te={},Ae=e=>e&&e.$tag$===te,Oe=(e,t)=>e!=null&&!X(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,_e=(e,t,n)=>{const r=h.ce(t,n);return e.dispatchEvent(r),r},M=new WeakMap,je=(e,t,n)=>{let r=P.get(e);be&&n?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,P.set(e,r)},Ne=(e,t,n)=>{var r;const s=se(t),a=P.get(s);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=M.get(e),i;if(l||M.set(e,l=new Set),!l.has(s)){{i=y.createElement("style"),i.innerHTML=a;const o=(r=h.$nonce$)!=null?r:Z(y);o!=null&&i.setAttribute("nonce",o),e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.innerHTML+=G),l&&l.add(s)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return s},Ce=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,r=S("attachStyles",t.$tagName$);Ne(n.getRootNode(),t),r()},se=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,n,r,s,a)=>{if(n!==r&&(t.toLowerCase(),t==="class")){const l=e.classList,i=R(n),o=R(r);l.remove(...i.filter(c=>c&&!o.includes(c))),l.add(...o.filter(c=>c&&!i.includes(c)))}},Ue=/\s/,R=e=>e?e.split(Ue):[],ne=(e,t,n)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,s=e&&e.$attrs$||W,a=t.$attrs$||W;for(const l of Y(Object.keys(s)))l in a||Q(r,l,s[l],void 0);for(const l of Y(Object.keys(a)))Q(r,l,s[l],a[l])};function Y(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var re,le=!1,A=(e,t,n,r)=>{const s=t.$children$[n];let a=0,l,i;if(s.$text$!==null)l=s.$elm$=y.createTextNode(s.$text$);else if(l=s.$elm$=y.createElement(!le&&D.slotRelocation&&s.$flags$&2?"slot-fb":s.$tag$),ne(null,s),s.$children$)for(a=0;a<s.$children$.length;++a)i=A(e,s,a),i&&l.appendChild(i);return l["s-hn"]=re,l},ae=(e,t,n,r,s,a)=>{let l=e,i;for(;s<=a;++s)r[s]&&(i=A(null,n,s),i&&(r[s].$elm$=i,L(l,i,t)))},oe=(e,t,n)=>{for(let r=t;r<=n;++r){const s=e[r];if(s){const a=s.$elm$;a&&a.remove()}}},De=(e,t,n,r,s=!1)=>{let a=0,l=0,i=0,o=0,c=t.length-1,$=t[0],f=t[c],u=r.length-1,d=r[0],m=r[u],v,p;for(;a<=c&&l<=u;)if($==null)$=t[++a];else if(f==null)f=t[--c];else if(d==null)d=r[++l];else if(m==null)m=r[--u];else if(T($,d,s))k($,d,s),$=t[++a],d=r[++l];else if(T(f,m,s))k(f,m,s),f=t[--c],m=r[--u];else if(T($,m,s))k($,m,s),L(e,$.$elm$,f.$elm$.nextSibling),$=t[++a],m=r[--u];else if(T(f,d,s))k(f,d,s),L(e,f.$elm$,$.$elm$),f=t[--c],d=r[++l];else{for(i=-1,o=a;o<=c;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===d.$key$){i=o;break}i>=0?(p=t[i],p.$tag$!==d.$tag$?v=A(t&&t[l],n,i):(k(p,d,s),t[i]=void 0,v=p.$elm$),d=r[++l]):(v=A(t&&t[l],n,l),d=r[++l]),v&&L($.$elm$.parentNode,v,$.$elm$)}a>c?ae(e,r[u+1]==null?null:r[u+1].$elm$,n,r,l,u):l>u&&oe(t,a,c)},T=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,k=(e,t,n=!1)=>{const r=t.$elm$=e.$elm$,s=e.$children$,a=t.$children$,l=t.$text$;l===null?(ne(e,t),s!==null&&a!==null?De(r,s,t,a,n):a!==null?(e.$text$!==null&&(r.textContent=""),ae(r,null,t,a,0,a.length-1)):s!==null&&oe(s,0,s.length-1)):e.$text$!==l&&(r.data=l)},L=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Ie=(e,t,n=!1)=>{const r=e.$hostElement$,s=e.$vnode$||U(null,null),a=Ae(t)?t:ee(null,null,t);if(re=r.tagName,n&&a.$attrs$)for(const l of Object.keys(a.$attrs$))r.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=r[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=s.$elm$=r,le=Se,k(s,a,n)},ie=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},z=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ie(e,e.$ancestorComponent$),we(()=>Be(e,t))},Be=(e,t)=>{const n=e.$hostElement$,r=S("scheduleUpdate",e.$cmpMeta$.$tagName$),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`);let a;return r(),He(a,()=>Fe(e,s,t))},He=(e,t)=>ze(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),ze=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Fe=(e,t,n)=>x(exports,null,function*(){var r;const s=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=s["s-rc"];n&&Ce(e);const i=S("render",e.$cmpMeta$.$tagName$);qe(e,t,s,n),l&&(l.map(o=>o()),s["s-rc"]=void 0),i(),a();{const o=(r=s["s-p"])!=null?r:[],c=()=>We(e);o.length===0?c():(Promise.all(o).then(c),e.$flags$|=4,o.length=0)}}),qe=(e,t,n,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ie(e,t,r)}catch(s){w(s,e.$hostElement$)}return null},We=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,r=S("postUpdate",t),s=e.$ancestorComponent$;e.$flags$&64?r():(e.$flags$|=64,$e(n),r(),e.$onReadyResolve$(n),s||ce()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&H(()=>z(e,!1)),e.$flags$&=-517},ce=e=>{$e(y.documentElement),H(()=>_e(B,"appload",{detail:{namespace:de}}))},$e=e=>{var t;return e.classList.add((t=D.hydratedSelectorName)!=null?t:"hydrated")},Me=(e,t)=>b(e).$instanceValues$.get(t),Qe=(e,t,n,r)=>{const s=b(e);if(!s)throw new Error(`Couldn't find host element for "${r.$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=s.$hostElement$,l=s.$instanceValues$.get(t),i=s.$flags$,o=s.$lazyInstance$;n=Oe(n,r.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n),$=n!==l&&!c;if((!(i&8)||l===void 0)&&$&&(s.$instanceValues$.set(t,n),o)){if(r.$watchers$&&i&128){const f=r.$watchers$[t];f&&f.map(u=>{try{o[u](n,l,t)}catch(d){w(d,a)}})}(i&18)===2&&z(s,!1)}},fe=(e,t,n)=>{var r,s;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((r=t.$members$)!=null?r:{});if(l.map(([i,[o]])=>{(o&31||n&2&&o&32)&&Object.defineProperty(a,i,{get(){return Me(this,i)},set(c){Qe(this,i,c,t)},configurable:!0,enumerable:!0})}),n&1){const i=new Map;a.attributeChangedCallback=function(o,c,$){h.jmp(()=>{var f;const u=i.get(o);if(this.hasOwnProperty(u))$=this[u],delete this[u];else{if(a.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==$)return;if(u==null){const d=b(this),m=d==null?void 0:d.$flags$;if(m&&!(m&8)&&m&128&&$!==c){const v=d.$lazyInstance$,p=(f=t.$watchers$)==null?void 0:f[o];p==null||p.forEach(g=>{v[g]!=null&&v[g].call(v,$,c,o)})}return}}this[u]=$===null&&typeof this[u]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((s=t.$watchers$)!=null?s:{}),...l.filter(([o,c])=>c[0]&15).map(([o,c])=>{const $=c[1]||o;return i.set($,o),$})]))}}return e},Re=(e,t,n,r)=>x(exports,null,function*(){let s;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const o=ge(n);if(o&&"then"in o){const $=Pe();s=yield o,$()}else s=o;if(!s)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);s.isProxied||(n.$watchers$=s.watchers,fe(s,n,2),s.isProxied=!0);const c=S("createInstance",n.$tagName$);t.$flags$|=8;try{new s(t)}catch($){w($)}t.$flags$&=-9,t.$flags$|=128,c()}else{s=e.constructor;const o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(s&&s.style){let o;typeof s.style=="string"&&(o=s.style);const c=se(n);if(!P.has(c)){const $=S("registerStyles",n.$tagName$);je(c,o,!!(n.$flags$&1)),$()}}}const a=t.$ancestorComponent$,l=()=>z(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Ye=e=>{},Ge=e=>{if(!(h.$flags$&1)){const t=b(e),n=t.$cmpMeta$,r=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ye());else{t.$flags$|=1;{let s=e;for(;s=s.parentNode||s.host;)if(s["s-p"]){ie(t,t.$ancestorComponent$=s);break}}n.$members$&&Object.entries(n.$members$).map(([s,[a]])=>{if(a&31&&e.hasOwnProperty(s)){const l=e[s];delete e[s],e[s]=l}}),Re(e,t,n)}r()}},Je=e=>{},Ke=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Je())}}),Xe=(e,t={})=>{var n;const r=S(),s=[],a=t.exclude||[],l=B.customElements,i=y.head,o=i.querySelector("meta[charset]"),c=y.createElement("style"),$=[];let f,u=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(m=>{m[1].map(v=>{var p;const g={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};g.$flags$&4&&(d=!0),g.$members$=v[2],g.$watchers$=(p=v[4])!=null?p:{};const E=g.$tagName$,ue=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,pe(O,g)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?$.push(this):h.jmp(()=>Ge(this))}disconnectedCallback(){h.jmp(()=>Ke(this))}componentOnReady(){return b(this).$onReadyPromise$}};g.$lazyBundleId$=m[0],!a.includes(E)&&!l.get(E)&&(s.push(E),l.define(E,fe(ue,g,1)))})}),s.length>0&&(d&&(c.textContent+=G),c.textContent+=s.sort()+ye,c.innerHTML.length)){c.setAttribute("data-styles","");const m=(n=h.$nonce$)!=null?n:Z(y);m!=null&&c.setAttribute("nonce",m),i.insertBefore(c,o?o.nextSibling:i.firstChild)}u=!1,$.length?$.map(m=>m.connectedCallback()):h.jmp(()=>f=setTimeout(ce,30)),r()};exports.Host=te;exports.bootstrapLazy=Xe;exports.h=ee;exports.promiseResolve=J;exports.registerInstance=he;
|
|
@@ -14,7 +14,7 @@ var n = (r, e, a) => new Promise((m, s) => {
|
|
|
14
14
|
}, i = (t) => t.done ? m(t.value) : Promise.resolve(t.value).then(g, u);
|
|
15
15
|
i((a = a.apply(r, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as c, p as l } from "./index-97d17652-
|
|
17
|
+
import { b as c, p as l } from "./index-97d17652-DvplcHtm.js";
|
|
18
18
|
import { g as d } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
|
19
19
|
var h = () => {
|
|
20
20
|
const r = import.meta.url, e = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var c=(t,r,i)=>new Promise((d,s)=>{var l=e=>{try{n(i.next(e))}catch(a){s(a)}},m=e=>{try{n(i.throw(e))}catch(a){s(a)}},n=e=>e.done?d(e.value):Promise.resolve(e.value).then(l,m);n((i=i.apply(t,r)).next())});const u=require("./index-97d17652-
|
|
1
|
+
"use strict";var c=(t,r,i)=>new Promise((d,s)=>{var l=e=>{try{n(i.next(e))}catch(a){s(a)}},m=e=>{try{n(i.throw(e))}catch(a){s(a)}},n=e=>e.done?d(e.value):Promise.resolve(e.value).then(l,m);n((i=i.apply(t,r)).next())});const u=require("./index-97d17652-ILzgTtTR.cjs"),g=require("./app-globals-0f993ce5-BD-Q0C8R.cjs");var o=typeof document!="undefined"?document.currentScript:null,h=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/ui-image-CEbrFHSD.cjs",document.baseURI).href,r={};return t!==""&&(r.resourcesUrl=new URL(".",t).href),u.promiseResolve(r)};h().then(t=>c(exports,null,function*(){return yield g.globalScripts(),u.bootstrapLazy([["ui-image_2",[[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],t)}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, h as s, H as n, g as a } from "./index-97d17652-
|
|
1
|
+
import { r, h as s, H as n, g as a } from "./index-97d17652-p-iQtjus.js";
|
|
2
2
|
const d = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}", o = d, h = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
r(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("./index-97d17652-
|
|
1
|
+
"use strict";const i=require("./index-97d17652-ILzgTtTR.cjs"),r=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}",d=r,n=class{constructor(e){i.registerInstance(this,e),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,e.onload=null)},e.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver(e=>{e.forEach(t=>{if(t.isIntersecting){const s=t.target.__uxComponent;s&&(s.shouldLoad=!0,s.handleSrc()),window.EMUxObserver.unobserve(t.target)}})},{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return i.h(i.Host,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&i.h("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i.h("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:e=>this.image=e,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:`UiContainer ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}get el(){return i.getElement(this)}static get watchers(){return{src:["handleSrc"]}}};n.style=d;exports.UiImage=n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, h as s, H as n, g as a } from "./index-97d17652-
|
|
1
|
+
import { r, h as s, H as n, g as a } from "./index-97d17652-DvplcHtm.js";
|
|
2
2
|
const d = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}", o = d, h = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
r(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as m } from "./ui-image-b7b48fe5-
|
|
2
|
-
import { r as n, h as t, H as r } from "./index-97d17652-
|
|
1
|
+
import { U as m } from "./ui-image-b7b48fe5-CBB2FKRZ.js";
|
|
2
|
+
import { r as n, h as t, H as r } from "./index-97d17652-p-iQtjus.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,5 +1,5 @@
|
|
|
1
|
-
import { U as m } from "./ui-image-b7b48fe5-
|
|
2
|
-
import { r as n, h as t, H as r } from "./index-97d17652-
|
|
1
|
+
import { U as m } from "./ui-image-b7b48fe5-rCWcyktd.js";
|
|
2
|
+
import { r as n, h as t, H as r } from "./index-97d17652-DvplcHtm.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,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-b7b48fe5-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-b7b48fe5-DjCO-ZF4.cjs"),t=require("./index-97d17652-ILzgTtTR.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};
|