@everymatrix/casino-page-nd 1.76.13 → 1.76.14

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 (92) hide show
  1. package/components/{CasinoCalendar-DDXo_sLW.js → CasinoCalendar-BpmBQMqg.js} +835 -856
  2. package/components/CasinoCalendar-CzrlHwD6.cjs +19 -0
  3. package/components/{CasinoCalendar-DdCnnpAB.js → CasinoCalendar-DIKM6-FX.js} +992 -1013
  4. package/components/{CasinoCalendarDailyDetails-CY7B1lxS.js → CasinoCalendarDailyDetails-B2rPnr-r.js} +37 -37
  5. package/components/{CasinoCalendarDailyDetails-CQZJ4CVD.js → CasinoCalendarDailyDetails-CR3HaDXZ.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-C27NHVH_.cjs → CasinoCalendarDailyDetails-Db4V8lzv.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-BqL5H57o.cjs → CasinoCalendarDailyItem-BYf0S582.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-CwQkhLDC.js → CasinoCalendarDailyItem-BtpO8qS-.js} +36 -36
  9. package/components/{CasinoCalendarDailyItem-DGbWXxCR.js → CasinoCalendarDailyItem-EtfFPL69.js} +39 -39
  10. package/components/{CasinoCollectionsProviders-BoWCBksj.js → CasinoCollectionsProviders-CGHuHGKJ.js} +68 -68
  11. package/components/{CasinoCollectionsProviders-D9evjksc.js → CasinoCollectionsProviders-DRvdCXk8.js} +65 -65
  12. package/components/{CasinoCollectionsProviders-DuN6pZVH.cjs → CasinoCollectionsProviders-zDF0lel_.cjs} +1 -1
  13. package/components/{CasinoFavoritesSectionNd-CGOlvGdM.js → CasinoFavoritesSectionNd-D_iRqzx7.js} +24 -24
  14. package/components/{CasinoFavoritesSectionNd-H7nx1r94.js → CasinoFavoritesSectionNd-Vth9qKYe.js} +27 -27
  15. package/components/{CasinoFavoritesSectionNd-CvXJsyAP.cjs → CasinoFavoritesSectionNd-wD4aGs9L.cjs} +1 -1
  16. package/components/CasinoFilter-BVW1b78L.cjs +1 -0
  17. package/components/{CasinoFilter-KfWVyYe3.js → CasinoFilter-DzWurkh4.js} +235 -236
  18. package/components/{CasinoFilter-DnMTdTn9.js → CasinoFilter-PMuyKrfM.js} +254 -253
  19. package/components/CasinoGameThumbnailNd-B-r_T1ag.cjs +30 -0
  20. package/components/{CasinoGameThumbnailNd-NR9WwTZ6.js → CasinoGameThumbnailNd-Bew7sNHs.js} +64 -62
  21. package/components/{CasinoGameThumbnailNd-Bzu_4Oxw.js → CasinoGameThumbnailNd-a3JP2Y65.js} +66 -64
  22. package/components/{CasinoGamesCategorySectionNd-CblCav-m.js → CasinoGamesCategorySectionNd-BViAsj82.js} +162 -162
  23. package/components/{CasinoGamesCategorySectionNd-CIcaCq68.cjs → CasinoGamesCategorySectionNd-BxnBPZSN.cjs} +1 -1
  24. package/components/{CasinoGamesCategorySectionNd-Rm6DYIBP.js → CasinoGamesCategorySectionNd-Dmc0zltf.js} +136 -136
  25. package/components/{CasinoJackpotBanner-C6wXEguN.js → CasinoJackpotBanner-BqnIz0Jh.js} +58 -58
  26. package/components/{CasinoJackpotBanner-MCIBXYea.js → CasinoJackpotBanner-BvlsWFl7.js} +103 -103
  27. package/components/{CasinoJackpotBanner-BwX1dP1o.cjs → CasinoJackpotBanner-DVQ8suFI.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSectionNd-CN3yKI9-.js → CasinoLastPlayedSectionNd-DP2wNqqR.js} +34 -34
  29. package/components/{CasinoLastPlayedSectionNd-fAiSSaIh.js → CasinoLastPlayedSectionNd-DgT1mzLh.js} +41 -41
  30. package/components/{CasinoLastPlayedSectionNd-Bxs8eYQG.cjs → CasinoLastPlayedSectionNd-jre5mCnw.cjs} +1 -1
  31. package/components/{CasinoMostPlayedSectionNd-B1at83la.js → CasinoMostPlayedSectionNd-B60c74Nx.js} +36 -36
  32. package/components/{CasinoMostPlayedSectionNd-G7f4yFDo.js → CasinoMostPlayedSectionNd-BDbP0dVK.js} +42 -42
  33. package/components/{CasinoMostPlayedSectionNd-C-cloax-.cjs → CasinoMostPlayedSectionNd-C9EPOuC_.cjs} +1 -1
  34. package/components/{CasinoMyGamesNd-CxF3mFQs.cjs → CasinoMyGamesNd-Bhufp11n.cjs} +1 -1
  35. package/components/{CasinoMyGamesNd-DwAtzu1i.js → CasinoMyGamesNd-DMqZrYBo.js} +37 -37
  36. package/components/{CasinoMyGamesNd-Bj2okvQP.js → CasinoMyGamesNd-VCvq-Ujh.js} +28 -28
  37. package/components/{CasinoPageNd-Bo7ns-k8.js → CasinoPageNd-BvQvfzbo.js} +113 -113
  38. package/components/{CasinoPageNd-DxVmo3F5.cjs → CasinoPageNd-D34CwHfP.cjs} +1 -1
  39. package/components/{CasinoPageNd-B6pJElK0.js → CasinoPageNd-DA7qMS-l.js} +109 -109
  40. package/components/{CasinoRandomGame-DlzNumMI.js → CasinoRandomGame-BPjl3Vyt.js} +49 -49
  41. package/components/{CasinoRandomGame-8L_f477H.js → CasinoRandomGame-Dbm27S1o.js} +58 -58
  42. package/components/{CasinoRandomGame-CxZ9BOdC.cjs → CasinoRandomGame-Er_WDp3Q.cjs} +1 -1
  43. package/components/{CasinoSearchNd-BGNGhn3i.cjs → CasinoSearchNd-CNcdxlUR.cjs} +1 -1
  44. package/components/{CasinoSearchNd-DlBxnUCa.js → CasinoSearchNd-DW1Pw7-Q.js} +69 -69
  45. package/components/{CasinoSearchNd-DHWo9Sq0.js → CasinoSearchNd-Dk2PKhWq.js} +82 -82
  46. package/components/{CasinoSort-DNllDxl4.js → CasinoSort-CkIWjxkg.js} +117 -116
  47. package/components/{CasinoSort-BXkq0BBq.cjs → CasinoSort-T5gzvKTb.cjs} +1 -1
  48. package/components/{CasinoSort-D-B4gJyW.js → CasinoSort-zIeABc70.js} +107 -108
  49. package/components/{CasinoWinners-BXurlLis.js → CasinoWinners-BdPKRRdb.js} +162 -162
  50. package/components/{CasinoWinners-eDycJCzQ.cjs → CasinoWinners-DSywKe-Y.cjs} +1 -1
  51. package/components/{CasinoWinners-Gp8fceSt.js → CasinoWinners-iRjkvip2.js} +155 -155
  52. package/components/{GeneralAnimationLoading-CGEL9clS.cjs → GeneralAnimationLoading-BxgOtrDA.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-vgt-l_aE.js → GeneralAnimationLoading-D0OVj1dQ.js} +8 -8
  54. package/components/{GeneralAnimationLoading-DZ1wrvtM.js → GeneralAnimationLoading-DzWSt2Rd.js} +10 -10
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/casino-play-random-game-CUpRDmsd.js +29 -0
  60. package/stencil/casino-play-random-game-Cn7_43lQ.js +11 -0
  61. package/stencil/casino-play-random-game-fvC6k6u_.cjs +1 -0
  62. package/stencil/{casino-play-random-game_2-C2bZyPjR.js → casino-play-random-game_3-B7x6w4BA.js} +155 -66
  63. package/stencil/{casino-play-random-game_2-BdD78js8.js → casino-play-random-game_3-D2RbqU-v.js} +155 -66
  64. package/stencil/casino-play-random-game_3-y8iURQaW.cjs +432 -0
  65. package/stencil/index-242ac81a-Bl2OSy8h.js +538 -0
  66. package/stencil/index-242ac81a-Czg480dJ.js +554 -0
  67. package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
  68. package/stencil/index-27b314b8-9-rvsddy.js +566 -0
  69. package/stencil/index-27b314b8-CCprWmCo.js +582 -0
  70. package/stencil/index-27b314b8-DoR1KfK8.cjs +1 -0
  71. package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
  72. package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
  73. package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
  74. package/stencil/{ui-image-Bj3y-YhF.js → ui-image-BqbNkjGg.js} +1 -1
  75. package/stencil/{ui-image-SXcjABMO.cjs → ui-image-CNN86Aho.cjs} +1 -1
  76. package/stencil/{ui-image-BTT8PTe6.js → ui-image-_f0XGSO2.js} +1 -1
  77. package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
  78. package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-ID_1Oi3k.js} +2 -2
  79. package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-exO7RXKL.js} +2 -2
  80. package/components/CasinoCalendar-1EiuG4ja.cjs +0 -19
  81. package/components/CasinoFilter-Da1iRlYf.cjs +0 -1
  82. package/components/CasinoGameThumbnailNd-CZW4Modc.cjs +0 -30
  83. package/stencil/casino-play-random-game-BpDaQ8lr.js +0 -29
  84. package/stencil/casino-play-random-game-BtyKwZuB.cjs +0 -1
  85. package/stencil/casino-play-random-game-DkvncoWi.js +0 -11
  86. package/stencil/casino-play-random-game_2-CYSobUaR.cjs +0 -432
  87. package/stencil/index-242ac81a-BqeIndhr.js +0 -554
  88. package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
  89. package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
  90. package/stencil/index-328e660d-B9ooleuJ.js +0 -561
  91. package/stencil/index-328e660d-C6jlVqfy.js +0 -577
  92. package/stencil/index-328e660d-D9ZPPQF8.cjs +0 -1
@@ -0,0 +1,582 @@
1
+ var w = (e, t, n) => new Promise((s, r) => {
2
+ var o = (a) => {
3
+ try {
4
+ i(n.next(a));
5
+ } catch (c) {
6
+ r(c);
7
+ }
8
+ }, l = (a) => {
9
+ try {
10
+ i(n.throw(a));
11
+ } catch (c) {
12
+ r(c);
13
+ }
14
+ }, i = (a) => a.done ? s(a.value) : Promise.resolve(a.value).then(o, l);
15
+ i((n = n.apply(e, t)).next());
16
+ });
17
+ const me = "casino-play-random-game", ee = (
18
+ /* casino-play-random-game */
19
+ { allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !0, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !0, element: !1, event: !0, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !0, propString: !0, reflect: !0, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !0, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !0, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
20
+ );
21
+ var Se = Object.defineProperty, Ee = (e, t) => {
22
+ for (var n in t)
23
+ Se(e, n, { get: t[n], enumerable: !0 });
24
+ }, F = /* @__PURE__ */ new WeakMap(), E = (e) => F.get(e), lt = (e, t) => F.set(t.$lazyInstance$ = e, t), be = (e, t) => {
25
+ const n = {
26
+ $flags$: 0,
27
+ $hostElement$: e,
28
+ $cmpMeta$: t,
29
+ $instanceValues$: /* @__PURE__ */ new Map()
30
+ };
31
+ return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], F.set(e, n);
32
+ }, X = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), j = /* @__PURE__ */ new Map(), ke = (e, t, n) => {
33
+ const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
34
+ if (!r)
35
+ return;
36
+ const o = j.get(r);
37
+ if (o)
38
+ return o[s];
39
+ {
40
+ const l = (i) => (j.set(r, i), i[s]);
41
+ switch (r) {
42
+ case "casino-play-random-game_3":
43
+ return import(
44
+ /* webpackMode: "lazy" */
45
+ "./casino-play-random-game_3-D2RbqU-v.js"
46
+ ).then(l, k);
47
+ }
48
+ }
49
+ return import(
50
+ /* @vite-ignore */
51
+ /* webpackInclude: /\.entry\.js$/ */
52
+ /* webpackExclude: /\.system\.entry\.js$/ */
53
+ /* webpackMode: "lazy" */
54
+ `./${r}.entry.js`
55
+ ).then((l) => (j.set(r, l), l[s]), k);
56
+ }, _ = /* @__PURE__ */ new Map(), xe = "{visibility:hidden}.hydrated{visibility:inherit}", te = "slot-fb{display:contents}slot-fb[hidden]{display:none}", O = typeof window != "undefined" ? window : {}, m = O.document || { head: {} }, v = {
57
+ $flags$: 0,
58
+ $resourcesUrl$: "",
59
+ jmp: (e) => e(),
60
+ raf: (e) => requestAnimationFrame(e),
61
+ ael: (e, t, n, s) => e.addEventListener(t, n, s),
62
+ rel: (e, t, n, s) => e.removeEventListener(t, n, s),
63
+ ce: (e, t) => new CustomEvent(e, t)
64
+ }, Te = (e) => Promise.resolve(e), we = /* @__PURE__ */ (() => {
65
+ try {
66
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
67
+ } catch (e) {
68
+ }
69
+ return !1;
70
+ })(), U = !1, G = [], se = [], Le = (e, t) => (n) => {
71
+ e.push(n), U || (U = !0, v.$flags$ & 4 ? H(z) : v.raf(z));
72
+ }, Q = (e) => {
73
+ for (let t = 0; t < e.length; t++)
74
+ try {
75
+ e[t](performance.now());
76
+ } catch (n) {
77
+ k(n);
78
+ }
79
+ e.length = 0;
80
+ }, z = () => {
81
+ Q(G), Q(se), (U = G.length > 0) && v.raf(z);
82
+ }, H = (e) => Te().then(e), Pe = /* @__PURE__ */ Le(se), Y = {}, Ae = (e) => e != null, q = (e) => (e = typeof e, e === "object" || e === "function");
83
+ function ne(e) {
84
+ var t, n, s;
85
+ return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
86
+ }
87
+ var _e = {};
88
+ Ee(_e, {
89
+ err: () => re,
90
+ map: () => Ce,
91
+ ok: () => D,
92
+ unwrap: () => Oe,
93
+ unwrapErr: () => Ie
94
+ });
95
+ var D = (e) => ({
96
+ isOk: !0,
97
+ isErr: !1,
98
+ value: e
99
+ }), re = (e) => ({
100
+ isOk: !1,
101
+ isErr: !0,
102
+ value: e
103
+ });
104
+ function Ce(e, t) {
105
+ if (e.isOk) {
106
+ const n = t(e.value);
107
+ return n instanceof Promise ? n.then((s) => D(s)) : D(n);
108
+ }
109
+ if (e.isErr) {
110
+ const n = e.value;
111
+ return re(n);
112
+ }
113
+ throw "should never get here";
114
+ }
115
+ var Oe = (e) => {
116
+ if (e.isOk)
117
+ return e.value;
118
+ throw e.value;
119
+ }, Ie = (e) => {
120
+ if (e.isErr)
121
+ return e.value;
122
+ throw e.value;
123
+ }, S = (e, t = "") => () => {
124
+ }, je = (e, t) => () => {
125
+ }, Ue = (e, t, ...n) => {
126
+ let s = null, r = null, o = !1, l = !1;
127
+ const i = [], a = ($) => {
128
+ for (let f = 0; f < $.length; f++)
129
+ s = $[f], Array.isArray(s) ? a(s) : s != null && typeof s != "boolean" && ((o = typeof e != "function" && !q(s)) && (s = String(s)), o && l ? i[i.length - 1].$text$ += s : i.push(o ? R(null, s) : s), l = o);
130
+ };
131
+ if (a(n), t) {
132
+ t.key && (r = 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 = R(e, null);
139
+ return c.$attrs$ = t, i.length > 0 && (c.$children$ = i), c.$key$ = r, c;
140
+ }, R = (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
+ }, ze = {}, De = (e) => e && e.$tag$ === ze, Re = (e, t) => e != null && !q(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Be = (e) => E(e).$hostElement$, at = (e, t, n) => {
150
+ const s = Be(e);
151
+ return {
152
+ emit: (r) => le(s, t, {
153
+ bubbles: !!(n & 4),
154
+ composed: !!(n & 2),
155
+ cancelable: !!(n & 1),
156
+ detail: r
157
+ })
158
+ };
159
+ }, le = (e, t, n) => {
160
+ const s = v.ce(t, n);
161
+ return e.dispatchEvent(s), s;
162
+ }, J = /* @__PURE__ */ new WeakMap(), Fe = (e, t, n) => {
163
+ let s = _.get(e);
164
+ we && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, _.set(e, s);
165
+ }, He = (e, t, n) => {
166
+ var s;
167
+ const r = ae(t), o = _.get(r);
168
+ if (e = e.nodeType === 11 ? e : m, o)
169
+ if (typeof o == "string") {
170
+ e = e.head || e;
171
+ let l = J.get(e), i;
172
+ if (l || J.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
173
+ {
174
+ i = m.createElement("style"), i.innerHTML = o;
175
+ const a = (s = v.$nonce$) != null ? s : ne(m);
176
+ a != null && i.setAttribute("nonce", a), e.insertBefore(i, e.querySelector("link"));
177
+ }
178
+ t.$flags$ & 4 && (i.innerHTML += te), l && l.add(r);
179
+ }
180
+ } else
181
+ e.adoptedStyleSheets.includes(o) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, o]);
182
+ return r;
183
+ }, qe = (e) => {
184
+ const t = e.$cmpMeta$, n = e.$hostElement$, s = t.$flags$, r = S("attachStyles", t.$tagName$), o = He(
185
+ n.shadowRoot ? n.shadowRoot : n.getRootNode(),
186
+ t
187
+ );
188
+ s & 10 && (n["s-sc"] = o, n.classList.add(o + "-h")), r();
189
+ }, ae = (e, t) => "sc-" + e.$tagName$, K = (e, t, n, s, r, o) => {
190
+ if (n !== s) {
191
+ let l = X(e, t), i = t.toLowerCase();
192
+ if (t === "class") {
193
+ const a = e.classList, c = Z(n), $ = Z(s);
194
+ a.remove(...c.filter((f) => f && !$.includes(f))), a.add(...$.filter((f) => f && !c.includes(f)));
195
+ } else if (t === "style") {
196
+ for (const a in n)
197
+ (!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
198
+ for (const a in s)
199
+ (!n || s[a] !== n[a]) && (a.includes("-") ? e.style.setProperty(a, s[a]) : e.style[a] = s[a]);
200
+ } else if (t !== "key")
201
+ if (t === "ref")
202
+ s && s(e);
203
+ else if (!l && t[0] === "o" && t[1] === "n") {
204
+ if (t[2] === "-" ? t = t.slice(3) : X(O, i) ? t = i.slice(2) : t = i[2] + t.slice(3), n || s) {
205
+ const a = t.endsWith(oe);
206
+ t = t.replace(Me, ""), n && v.rel(e, t, n, a), s && v.ael(e, t, s, a);
207
+ }
208
+ } else {
209
+ const a = q(s);
210
+ if ((l || a && s !== null) && !r)
211
+ try {
212
+ if (e.tagName.includes("-"))
213
+ e[t] = s;
214
+ else {
215
+ const c = s == null ? "" : s;
216
+ t === "list" ? l = !1 : (n == null || e[t] != c) && (e[t] = c);
217
+ }
218
+ } catch (c) {
219
+ }
220
+ s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || o & 4 || r) && !a && (s = s === !0 ? "" : s, e.setAttribute(t, s));
221
+ }
222
+ }
223
+ }, We = /\s/, Z = (e) => e ? e.split(We) : [], oe = "Capture", Me = new RegExp(oe + "$"), ie = (e, t, n) => {
224
+ const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || Y, o = t.$attrs$ || Y;
225
+ for (const l of N(Object.keys(r)))
226
+ l in o || K(s, l, r[l], void 0, n, t.$flags$);
227
+ for (const l of N(Object.keys(o)))
228
+ K(s, l, r[l], o[l], n, t.$flags$);
229
+ };
230
+ function N(e) {
231
+ return e.includes("ref") ? (
232
+ // we need to sort these to ensure that `'ref'` is the last attr
233
+ [...e.filter((t) => t !== "ref"), "ref"]
234
+ ) : (
235
+ // no need to sort, return the original array
236
+ e
237
+ );
238
+ }
239
+ var P, W, ce = !1, $e = !1, C = (e, t, n, s) => {
240
+ const r = t.$children$[n];
241
+ let o = 0, l, i;
242
+ if (r.$text$ !== null)
243
+ l = r.$elm$ = m.createTextNode(r.$text$);
244
+ else if (l = r.$elm$ = m.createElement(
245
+ !ce && ee.slotRelocation && r.$flags$ & 2 ? "slot-fb" : r.$tag$
246
+ ), ie(null, r, $e), Ae(P) && l["s-si"] !== P && l.classList.add(l["s-si"] = P), r.$children$)
247
+ for (o = 0; o < r.$children$.length; ++o)
248
+ i = C(e, r, o), i && l.appendChild(i);
249
+ return l["s-hn"] = W, l;
250
+ }, fe = (e, t, n, s, r, o) => {
251
+ let l = e, i;
252
+ for (l.shadowRoot && l.tagName === W && (l = l.shadowRoot); r <= o; ++r)
253
+ s[r] && (i = C(null, n, r), i && (s[r].$elm$ = i, A(l, i, t)));
254
+ }, de = (e, t, n) => {
255
+ for (let s = t; s <= n; ++s) {
256
+ const r = e[s];
257
+ if (r) {
258
+ const o = r.$elm$;
259
+ ue(r), o && o.remove();
260
+ }
261
+ }
262
+ }, Xe = (e, t, n, s, r = !1) => {
263
+ let o = 0, l = 0, i = 0, a = 0, c = t.length - 1, $ = t[0], f = t[c], d = s.length - 1, u = s[0], p = s[d], h, y;
264
+ for (; o <= c && l <= d; )
265
+ if ($ == null)
266
+ $ = t[++o];
267
+ else if (f == null)
268
+ f = t[--c];
269
+ else if (u == null)
270
+ u = s[++l];
271
+ else if (p == null)
272
+ p = s[--d];
273
+ else if (L($, u, r))
274
+ x($, u, r), $ = t[++o], u = s[++l];
275
+ else if (L(f, p, r))
276
+ x(f, p, r), f = t[--c], p = s[--d];
277
+ else if (L($, p, r))
278
+ x($, p, r), A(e, $.$elm$, f.$elm$.nextSibling), $ = t[++o], p = s[--d];
279
+ else if (L(f, u, r))
280
+ x(f, u, r), A(e, f.$elm$, $.$elm$), f = t[--c], u = s[++l];
281
+ else {
282
+ for (i = -1, a = o; a <= c; ++a)
283
+ if (t[a] && t[a].$key$ !== null && t[a].$key$ === u.$key$) {
284
+ i = a;
285
+ break;
286
+ }
287
+ i >= 0 ? (y = t[i], y.$tag$ !== u.$tag$ ? h = C(t && t[l], n, i) : (x(y, u, r), t[i] = void 0, h = y.$elm$), u = s[++l]) : (h = C(t && t[l], n, l), u = s[++l]), h && A($.$elm$.parentNode, h, $.$elm$);
288
+ }
289
+ o > c ? fe(
290
+ e,
291
+ s[d + 1] == null ? null : s[d + 1].$elm$,
292
+ n,
293
+ s,
294
+ l,
295
+ d
296
+ ) : l > d && de(t, o, c);
297
+ }, L = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, x = (e, t, n = !1) => {
298
+ const s = t.$elm$ = e.$elm$, r = e.$children$, o = t.$children$, l = t.$text$;
299
+ l === null ? (ie(e, t, $e), r !== null && o !== null ? Xe(s, r, t, o, n) : o !== null ? (e.$text$ !== null && (s.textContent = ""), fe(s, null, t, o, 0, o.length - 1)) : r !== null && de(r, 0, r.length - 1)) : e.$text$ !== l && (s.data = l);
300
+ }, ue = (e) => {
301
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ue);
302
+ }, A = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), Ge = (e, t, n = !1) => {
303
+ const s = e.$hostElement$, r = e.$cmpMeta$, o = e.$vnode$ || R(null, null), l = De(t) ? t : Ue(null, null, t);
304
+ if (W = s.tagName, r.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, r.$attrsToReflect$.map(
305
+ ([i, a]) => l.$attrs$[a] = s[i]
306
+ )), n && l.$attrs$)
307
+ for (const i of Object.keys(l.$attrs$))
308
+ s.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (l.$attrs$[i] = s[i]);
309
+ l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = o.$elm$ = s.shadowRoot || s, P = s["s-sc"], ce = (r.$flags$ & 1) !== 0, x(o, l, n);
310
+ }, pe = (e, t) => {
311
+ t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
312
+ }, M = (e, t) => {
313
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
314
+ e.$flags$ |= 512;
315
+ return;
316
+ }
317
+ return pe(e, e.$ancestorComponent$), Pe(() => Qe(e, t));
318
+ }, Qe = (e, t) => {
319
+ const n = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
320
+ if (!r)
321
+ throw new Error(
322
+ `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`
323
+ );
324
+ let o;
325
+ return t && (o = I(r, "componentWillLoad")), s(), Ye(o, () => Ke(e, r, t));
326
+ }, Ye = (e, t) => Je(e) ? e.then(t).catch((n) => {
327
+ console.error(n), t();
328
+ }) : t(), Je = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ke = (e, t, n) => w(void 0, null, function* () {
329
+ var s;
330
+ const r = e.$hostElement$, o = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
331
+ n && qe(e);
332
+ const i = S("render", e.$cmpMeta$.$tagName$);
333
+ Ze(e, t, r, n), l && (l.map((a) => a()), r["s-rc"] = void 0), i(), o();
334
+ {
335
+ const a = (s = r["s-p"]) != null ? s : [], c = () => Ne(e);
336
+ a.length === 0 ? c() : (Promise.all(a).then(c), e.$flags$ |= 4, a.length = 0);
337
+ }
338
+ }), Ze = (e, t, n, s) => {
339
+ try {
340
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ge(e, t, s);
341
+ } catch (r) {
342
+ k(r, e.$hostElement$);
343
+ }
344
+ return null;
345
+ }, Ne = (e) => {
346
+ const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = S("postUpdate", t), r = e.$lazyInstance$, o = e.$ancestorComponent$;
347
+ e.$flags$ & 64 ? s() : (e.$flags$ |= 64, he(n), I(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), o || ve()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && H(() => M(e, !1)), e.$flags$ &= -517;
348
+ }, ve = (e) => {
349
+ he(m.documentElement), H(() => le(O, "appload", { detail: { namespace: me } }));
350
+ }, I = (e, t, n) => {
351
+ if (e && e[t])
352
+ try {
353
+ return e[t](n);
354
+ } catch (s) {
355
+ k(s);
356
+ }
357
+ }, he = (e) => {
358
+ var t;
359
+ return e.classList.add((t = ee.hydratedSelectorName) != null ? t : "hydrated");
360
+ }, Ve = (e, t) => E(e).$instanceValues$.get(t), et = (e, t, n, s) => {
361
+ const r = E(e);
362
+ if (!r)
363
+ throw new Error(
364
+ `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).`
365
+ );
366
+ const o = r.$hostElement$, l = r.$instanceValues$.get(t), i = r.$flags$, a = r.$lazyInstance$;
367
+ n = Re(n, s.$members$[t][0]);
368
+ const c = Number.isNaN(l) && Number.isNaN(n), $ = n !== l && !c;
369
+ if ((!(i & 8) || l === void 0) && $ && (r.$instanceValues$.set(t, n), a)) {
370
+ if (s.$watchers$ && i & 128) {
371
+ const f = s.$watchers$[t];
372
+ f && f.map((d) => {
373
+ try {
374
+ a[d](n, l, t);
375
+ } catch (u) {
376
+ k(u, o);
377
+ }
378
+ });
379
+ }
380
+ (i & 18) === 2 && M(r, !1);
381
+ }
382
+ }, ge = (e, t, n) => {
383
+ var s, r;
384
+ const o = e.prototype;
385
+ if (t.$members$ || t.$watchers$ || e.watchers) {
386
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
387
+ const l = Object.entries((s = t.$members$) != null ? s : {});
388
+ if (l.map(([i, [a]]) => {
389
+ (a & 31 || n & 2 && a & 32) && Object.defineProperty(o, i, {
390
+ get() {
391
+ return Ve(this, i);
392
+ },
393
+ set(c) {
394
+ et(this, i, c, t);
395
+ },
396
+ configurable: !0,
397
+ enumerable: !0
398
+ });
399
+ }), n & 1) {
400
+ const i = /* @__PURE__ */ new Map();
401
+ o.attributeChangedCallback = function(a, c, $) {
402
+ v.jmp(() => {
403
+ var f;
404
+ const d = i.get(a);
405
+ if (this.hasOwnProperty(d))
406
+ $ = this[d], delete this[d];
407
+ else {
408
+ if (o.hasOwnProperty(d) && typeof this[d] == "number" && this[d] == $)
409
+ return;
410
+ if (d == null) {
411
+ const u = E(this), p = u == null ? void 0 : u.$flags$;
412
+ if (p && !(p & 8) && p & 128 && $ !== c) {
413
+ const h = u.$lazyInstance$, y = (f = t.$watchers$) == null ? void 0 : f[a];
414
+ y == null || y.forEach((g) => {
415
+ h[g] != null && h[g].call(h, $, c, a);
416
+ });
417
+ }
418
+ return;
419
+ }
420
+ }
421
+ this[d] = $ === null && typeof this[d] == "boolean" ? !1 : $;
422
+ });
423
+ }, e.observedAttributes = Array.from(
424
+ /* @__PURE__ */ new Set([
425
+ ...Object.keys((r = t.$watchers$) != null ? r : {}),
426
+ ...l.filter(
427
+ ([a, c]) => c[0] & 15
428
+ /* HasAttribute */
429
+ ).map(([a, c]) => {
430
+ var $;
431
+ const f = c[1] || a;
432
+ return i.set(f, a), c[0] & 512 && (($ = t.$attrsToReflect$) == null || $.push([a, f])), f;
433
+ })
434
+ ])
435
+ );
436
+ }
437
+ }
438
+ return e;
439
+ }, tt = (e, t, n, s) => w(void 0, null, function* () {
440
+ let r;
441
+ if (!(t.$flags$ & 32)) {
442
+ if (t.$flags$ |= 32, n.$lazyBundleId$) {
443
+ const a = ke(n);
444
+ if (a && "then" in a) {
445
+ const $ = je();
446
+ r = yield a, $();
447
+ } else
448
+ r = a;
449
+ if (!r)
450
+ throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
451
+ r.isProxied || (n.$watchers$ = r.watchers, ge(
452
+ r,
453
+ n,
454
+ 2
455
+ /* proxyState */
456
+ ), r.isProxied = !0);
457
+ const c = S("createInstance", n.$tagName$);
458
+ t.$flags$ |= 8;
459
+ try {
460
+ new r(t);
461
+ } catch ($) {
462
+ k($);
463
+ }
464
+ t.$flags$ &= -9, t.$flags$ |= 128, c(), B(t.$lazyInstance$);
465
+ } else {
466
+ r = e.constructor;
467
+ const a = e.localName;
468
+ customElements.whenDefined(a).then(
469
+ () => t.$flags$ |= 128
470
+ /* isWatchReady */
471
+ );
472
+ }
473
+ if (r && r.style) {
474
+ let a;
475
+ typeof r.style == "string" && (a = r.style);
476
+ const c = ae(n);
477
+ if (!_.has(c)) {
478
+ const $ = S("registerStyles", n.$tagName$);
479
+ Fe(c, a, !!(n.$flags$ & 1)), $();
480
+ }
481
+ }
482
+ }
483
+ const o = t.$ancestorComponent$, l = () => M(t, !0);
484
+ o && o["s-rc"] ? o["s-rc"].push(l) : l();
485
+ }), B = (e) => {
486
+ I(e, "connectedCallback");
487
+ }, st = (e) => {
488
+ if (!(v.$flags$ & 1)) {
489
+ const t = E(e), n = t.$cmpMeta$, s = S("connectedCallback", n.$tagName$);
490
+ if (t.$flags$ & 1)
491
+ t != null && t.$lazyInstance$ ? B(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => B(t.$lazyInstance$));
492
+ else {
493
+ t.$flags$ |= 1;
494
+ {
495
+ let r = e;
496
+ for (; r = r.parentNode || r.host; )
497
+ if (r["s-p"]) {
498
+ pe(t, t.$ancestorComponent$ = r);
499
+ break;
500
+ }
501
+ }
502
+ n.$members$ && Object.entries(n.$members$).map(([r, [o]]) => {
503
+ if (o & 31 && e.hasOwnProperty(r)) {
504
+ const l = e[r];
505
+ delete e[r], e[r] = l;
506
+ }
507
+ }), tt(e, t, n);
508
+ }
509
+ s();
510
+ }
511
+ }, V = (e) => {
512
+ I(e, "disconnectedCallback");
513
+ }, nt = (e) => w(void 0, null, function* () {
514
+ if (!(v.$flags$ & 1)) {
515
+ const t = E(e);
516
+ t != null && t.$lazyInstance$ ? V(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => V(t.$lazyInstance$));
517
+ }
518
+ }), ot = (e, t = {}) => {
519
+ var n;
520
+ const s = S(), r = [], o = t.exclude || [], l = O.customElements, i = m.head, a = /* @__PURE__ */ i.querySelector("meta[charset]"), c = /* @__PURE__ */ m.createElement("style"), $ = [];
521
+ let f, d = !0;
522
+ Object.assign(v, t), v.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
523
+ let u = !1;
524
+ if (e.map((p) => {
525
+ p[1].map((h) => {
526
+ var y;
527
+ const g = {
528
+ $flags$: h[0],
529
+ $tagName$: h[1],
530
+ $members$: h[2],
531
+ $listeners$: h[3]
532
+ };
533
+ g.$flags$ & 4 && (u = !0), g.$members$ = h[2], g.$attrsToReflect$ = [], g.$watchers$ = (y = h[4]) != null ? y : {};
534
+ const T = g.$tagName$, ye = class extends HTMLElement {
535
+ // StencilLazyHost
536
+ constructor(b) {
537
+ if (super(b), this.hasRegisteredEventListeners = !1, b = this, be(b, g), g.$flags$ & 1) {
538
+ if (!b.shadowRoot)
539
+ b.attachShadow({ mode: "open" });
540
+ else if (b.shadowRoot.mode !== "open")
541
+ throw new Error(
542
+ `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${b.shadowRoot.mode} but Stencil only supports open shadow roots.`
543
+ );
544
+ }
545
+ }
546
+ connectedCallback() {
547
+ E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), d ? $.push(this) : v.jmp(() => st(this));
548
+ }
549
+ disconnectedCallback() {
550
+ v.jmp(() => nt(this));
551
+ }
552
+ componentOnReady() {
553
+ return E(this).$onReadyPromise$;
554
+ }
555
+ };
556
+ g.$lazyBundleId$ = p[0], !o.includes(T) && !l.get(T) && (r.push(T), l.define(
557
+ T,
558
+ ge(
559
+ ye,
560
+ g,
561
+ 1
562
+ /* isElementConstructor */
563
+ )
564
+ ));
565
+ });
566
+ }), r.length > 0 && (u && (c.textContent += te), c.textContent += r.sort() + xe, c.innerHTML.length)) {
567
+ c.setAttribute("data-styles", "");
568
+ const p = (n = v.$nonce$) != null ? n : ne(m);
569
+ p != null && c.setAttribute("nonce", p), i.insertBefore(c, a ? a.nextSibling : i.firstChild);
570
+ }
571
+ d = !1, $.length ? $.map((p) => p.connectedCallback()) : v.jmp(() => f = setTimeout(ve, 30)), s();
572
+ }, it = (e) => v.$nonce$ = e;
573
+ export {
574
+ ze as H,
575
+ ot as b,
576
+ at as c,
577
+ Be as g,
578
+ Ue as h,
579
+ Te as p,
580
+ lt as r,
581
+ it as s
582
+ };
@@ -0,0 +1 @@
1
+ "use strict";var w=(e,t,n)=>new Promise((s,r)=>{var o=a=>{try{i(n.next(a))}catch(c){r(c)}},l=a=>{try{i(n.throw(a))}catch(c){r(c)}},i=a=>a.done?s(a.value):Promise.resolve(a.value).then(o,l);i((n=n.apply(e,t)).next())});const ke="casino-play-random-game",ee={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!1,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!1,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!1,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!1,watchCallback:!0};var Te=Object.defineProperty,xe=(e,t)=>{for(var n in t)Te(e,n,{get:t[n],enumerable:!0})},F=new WeakMap,E=e=>F.get(e),we=(e,t)=>F.set(t.$lazyInstance$=e,t),Le=(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"]=[],F.set(e,n)},X=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),j=new Map,Pe=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const o=j.get(r);if(o)return o[s];{const l=i=>(j.set(r,i),i[s]);switch(r){case"casino-play-random-game_3":return Promise.resolve().then(()=>require("./casino-play-random-game_3-y8iURQaW.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(j.set(r,l),l[s]),k)},_=new Map,Ae="{visibility:hidden}.hydrated{visibility:inherit}",te="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},m=I.document||{head:{}},p={$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)},se=e=>Promise.resolve(e),_e=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,G=[],ne=[],Ce=(e,t)=>n=>{e.push(n),U||(U=!0,p.$flags$&4?H(z):p.raf(z))},Q=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},z=()=>{Q(G),Q(ne),(U=G.length>0)&&p.raf(z)},H=e=>se().then(e),Ie=Ce(ne),Y={},Oe=e=>e!=null,q=e=>(e=typeof e,e==="object"||e==="function");function re(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 je={};xe(je,{err:()=>le,map:()=>Ue,ok:()=>D,unwrap:()=>ze,unwrapErr:()=>De});var D=e=>({isOk:!0,isErr:!1,value:e}),le=e=>({isOk:!1,isErr:!0,value:e});function Ue(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>D(s)):D(n)}if(e.isErr){const n=e.value;return le(n)}throw"should never get here"}var ze=e=>{if(e.isOk)return e.value;throw e.value},De=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Re=(e,t)=>()=>{},ae=(e,t,...n)=>{let s=null,r=null,o=!1,l=!1;const i=[],a=$=>{for(let f=0;f<$.length;f++)s=$[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((o=typeof e!="function"&&!q(s))&&(s=String(s)),o&&l?i[i.length-1].$text$+=s:i.push(o?R(null,s):s),l=o)};if(a(n),t){t.key&&(r=t.key);{const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(f=>$[f]).join(" "))}}const c=R(e,null);return c.$attrs$=t,i.length>0&&(c.$children$=i),c.$key$=r,c},R=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},oe={},Be=e=>e&&e.$tag$===oe,Fe=(e,t)=>e!=null&&!q(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,ie=e=>E(e).$hostElement$,He=(e,t,n)=>{const s=ie(e);return{emit:r=>ce(s,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:r})}},ce=(e,t,n)=>{const s=p.ce(t,n);return e.dispatchEvent(s),s},J=new WeakMap,qe=(e,t,n)=>{let s=_.get(e);_e&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,_.set(e,s)},We=(e,t,n)=>{var s;const r=$e(t),o=_.get(r);if(e=e.nodeType===11?e:m,o)if(typeof o=="string"){e=e.head||e;let l=J.get(e),i;if(l||J.set(e,l=new Set),!l.has(r)){{i=m.createElement("style"),i.innerHTML=o;const a=(s=p.$nonce$)!=null?s:re(m);a!=null&&i.setAttribute("nonce",a),e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.innerHTML+=te),l&&l.add(r)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return r},Me=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,r=S("attachStyles",t.$tagName$),o=We(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);s&10&&(n["s-sc"]=o,n.classList.add(o+"-h")),r()},$e=(e,t)=>"sc-"+e.$tagName$,K=(e,t,n,s,r,o)=>{if(n!==s){let l=X(e,t),i=t.toLowerCase();if(t==="class"){const a=e.classList,c=Z(n),$=Z(s);a.remove(...c.filter(f=>f&&!$.includes(f))),a.add(...$.filter(f=>f&&!c.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}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):X(I,i)?t=i.slice(2):t=i[2]+t.slice(3),n||s){const a=t.endsWith(fe);t=t.replace(Ge,""),n&&p.rel(e,t,n,a),s&&p.ael(e,t,s,a)}}else{const a=q(s);if((l||a&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const c=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=c)&&(e[t]=c)}}catch(c){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||o&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Xe=/\s/,Z=e=>e?e.split(Xe):[],fe="Capture",Ge=new RegExp(fe+"$"),de=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||Y,o=t.$attrs$||Y;for(const l of N(Object.keys(r)))l in o||K(s,l,r[l],void 0,n,t.$flags$);for(const l of N(Object.keys(o)))K(s,l,r[l],o[l],n,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var P,W,ue=!1,ve=!1,C=(e,t,n,s)=>{const r=t.$children$[n];let o=0,l,i;if(r.$text$!==null)l=r.$elm$=m.createTextNode(r.$text$);else if(l=r.$elm$=m.createElement(!ue&&ee.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$),de(null,r,ve),Oe(P)&&l["s-si"]!==P&&l.classList.add(l["s-si"]=P),r.$children$)for(o=0;o<r.$children$.length;++o)i=C(e,r,o),i&&l.appendChild(i);return l["s-hn"]=W,l},pe=(e,t,n,s,r,o)=>{let l=e,i;for(l.shadowRoot&&l.tagName===W&&(l=l.shadowRoot);r<=o;++r)s[r]&&(i=C(null,n,r),i&&(s[r].$elm$=i,A(l,i,t)))},he=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const o=r.$elm$;ge(r),o&&o.remove()}}},Qe=(e,t,n,s,r=!1)=>{let o=0,l=0,i=0,a=0,c=t.length-1,$=t[0],f=t[c],d=s.length-1,u=s[0],v=s[d],h,y;for(;o<=c&&l<=d;)if($==null)$=t[++o];else if(f==null)f=t[--c];else if(u==null)u=s[++l];else if(v==null)v=s[--d];else if(L($,u,r))T($,u,r),$=t[++o],u=s[++l];else if(L(f,v,r))T(f,v,r),f=t[--c],v=s[--d];else if(L($,v,r))T($,v,r),A(e,$.$elm$,f.$elm$.nextSibling),$=t[++o],v=s[--d];else if(L(f,u,r))T(f,u,r),A(e,f.$elm$,$.$elm$),f=t[--c],u=s[++l];else{for(i=-1,a=o;a<=c;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===u.$key$){i=a;break}i>=0?(y=t[i],y.$tag$!==u.$tag$?h=C(t&&t[l],n,i):(T(y,u,r),t[i]=void 0,h=y.$elm$),u=s[++l]):(h=C(t&&t[l],n,l),u=s[++l]),h&&A($.$elm$.parentNode,h,$.$elm$)}o>c?pe(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&he(t,o,c)},L=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,T=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,o=t.$children$,l=t.$text$;l===null?(de(e,t,ve),r!==null&&o!==null?Qe(s,r,t,o,n):o!==null?(e.$text$!==null&&(s.textContent=""),pe(s,null,t,o,0,o.length-1)):r!==null&&he(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},ge=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(ge)},A=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Ye=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,o=e.$vnode$||R(null,null),l=Be(t)?t:ae(null,null,t);if(W=s.tagName,r.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},r.$attrsToReflect$.map(([i,a])=>l.$attrs$[a]=s[i])),n&&l.$attrs$)for(const i of Object.keys(l.$attrs$))s.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(l.$attrs$[i]=s[i]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=o.$elm$=s.shadowRoot||s,P=s["s-sc"],ue=(r.$flags$&1)!==0,T(o,l,n)},ye=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},M=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ye(e,e.$ancestorComponent$),Ie(()=>Je(e,t))},Je=(e,t)=>{const n=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)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 o;return t&&(o=O(r,"componentWillLoad")),s(),Ke(o,()=>Ne(e,r,t))},Ke=(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",Ne=(e,t,n)=>w(exports,null,function*(){var s;const r=e.$hostElement$,o=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Me(e);const i=S("render",e.$cmpMeta$.$tagName$);Ve(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),i(),o();{const a=(s=r["s-p"])!=null?s:[],c=()=>et(e);a.length===0?c():(Promise.all(a).then(c),e.$flags$|=4,a.length=0)}}),Ve=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ye(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},et=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=S("postUpdate",t),r=e.$lazyInstance$,o=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,Se(n),O(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),o||me()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&H(()=>M(e,!1)),e.$flags$&=-517},me=e=>{Se(m.documentElement),H(()=>ce(I,"appload",{detail:{namespace:ke}}))},O=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},Se=e=>{var t;return e.classList.add((t=ee.hydratedSelectorName)!=null?t:"hydrated")},tt=(e,t)=>E(e).$instanceValues$.get(t),st=(e,t,n,s)=>{const r=E(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 o=r.$hostElement$,l=r.$instanceValues$.get(t),i=r.$flags$,a=r.$lazyInstance$;n=Fe(n,s.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n),$=n!==l&&!c;if((!(i&8)||l===void 0)&&$&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&i&128){const f=s.$watchers$[t];f&&f.map(d=>{try{a[d](n,l,t)}catch(u){k(u,o)}})}(i&18)===2&&M(r,!1)}},Ee=(e,t,n)=>{var s,r;const o=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,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(o,i,{get(){return tt(this,i)},set(c){st(this,i,c,t)},configurable:!0,enumerable:!0})}),n&1){const i=new Map;o.attributeChangedCallback=function(a,c,$){p.jmp(()=>{var f;const d=i.get(a);if(this.hasOwnProperty(d))$=this[d],delete this[d];else{if(o.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==$)return;if(d==null){const u=E(this),v=u==null?void 0:u.$flags$;if(v&&!(v&8)&&v&128&&$!==c){const h=u.$lazyInstance$,y=(f=t.$watchers$)==null?void 0:f[a];y==null||y.forEach(g=>{h[g]!=null&&h[g].call(h,$,c,a)})}return}}this[d]=$===null&&typeof this[d]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,c])=>c[0]&15).map(([a,c])=>{var $;const f=c[1]||a;return i.set(f,a),c[0]&512&&(($=t.$attrsToReflect$)==null||$.push([a,f])),f})]))}}return e},nt=(e,t,n,s)=>w(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=Pe(n);if(a&&"then"in a){const $=Re();r=yield a,$()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,Ee(r,n,2),r.isProxied=!0);const c=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch($){k($)}t.$flags$&=-9,t.$flags$|=128,c(),B(t.$lazyInstance$)}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const c=$e(n);if(!_.has(c)){const $=S("registerStyles",n.$tagName$);qe(c,a,!!(n.$flags$&1)),$()}}}const o=t.$ancestorComponent$,l=()=>M(t,!0);o&&o["s-rc"]?o["s-rc"].push(l):l()}),B=e=>{O(e,"connectedCallback")},rt=e=>{if(!(p.$flags$&1)){const t=E(e),n=t.$cmpMeta$,s=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$?B(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>B(t.$lazyInstance$));else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ye(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[o]])=>{if(o&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),nt(e,t,n)}s()}},V=e=>{O(e,"disconnectedCallback")},lt=e=>w(exports,null,function*(){if(!(p.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),at=(e,t={})=>{var n;const s=S(),r=[],o=t.exclude||[],l=I.customElements,i=m.head,a=i.querySelector("meta[charset]"),c=m.createElement("style"),$=[];let f,d=!0;Object.assign(p,t),p.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(v=>{v[1].map(h=>{var y;const g={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};g.$flags$&4&&(u=!0),g.$members$=h[2],g.$attrsToReflect$=[],g.$watchers$=(y=h[4])!=null?y:{};const x=g.$tagName$,be=class extends HTMLElement{constructor(b){if(super(b),this.hasRegisteredEventListeners=!1,b=this,Le(b,g),g.$flags$&1){if(!b.shadowRoot)b.attachShadow({mode:"open"});else if(b.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${b.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?$.push(this):p.jmp(()=>rt(this))}disconnectedCallback(){p.jmp(()=>lt(this))}componentOnReady(){return E(this).$onReadyPromise$}};g.$lazyBundleId$=v[0],!o.includes(x)&&!l.get(x)&&(r.push(x),l.define(x,Ee(be,g,1)))})}),r.length>0&&(u&&(c.textContent+=te),c.textContent+=r.sort()+Ae,c.innerHTML.length)){c.setAttribute("data-styles","");const v=(n=p.$nonce$)!=null?n:re(m);v!=null&&c.setAttribute("nonce",v),i.insertBefore(c,a?a.nextSibling:i.firstChild)}d=!1,$.length?$.map(v=>v.connectedCallback()):p.jmp(()=>f=setTimeout(me,30)),s()},ot=e=>p.$nonce$=e;exports.Host=oe;exports.bootstrapLazy=at;exports.createEvent=He;exports.getElement=ie;exports.h=ae;exports.promiseResolve=se;exports.registerInstance=we;exports.setNonce=ot;
@@ -1 +1 @@
1
- "use strict";const i=require("./index-242ac81a-CjjM4VND.cjs"),n=".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}",a=n,r=class{constructor(e){i.registerInstance(this,e),this.hasStarted=!1,this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.loading="lazy",this.imgLoaded=!1}onSrcChange(){this.loading!=="eager"&&(this.imgLoaded=!1,this.hasStarted=!1,(typeof window=="undefined"||!("IntersectionObserver"in window))&&this.beginLoad())}onLoadingChange(e,t){e!==t&&(this.cleanupObserver(),this.detachImgHandlers(),e==="eager"?(this.imgEl&&this.src&&(this.imgEl.src=this.src),this.hasStarted=!0):(this.imgLoaded=!1,this.hasStarted=!1,this.setupObserver()))}componentDidLoad(){this.loading!=="eager"&&this.setupObserver()}disconnectedCallback(){this.cleanupObserver(),this.detachImgHandlers()}canUseIO(){return typeof window!="undefined"&&"IntersectionObserver"in window}setupObserver(){if(this.loading!=="eager"){if(!this.canUseIO()){this.beginLoad();return}this.io=new IntersectionObserver(e=>{var t;for(const s of e)if(s.isIntersecting){this.beginLoad(),(t=this.io)===null||t===void 0||t.unobserve(s.target),this.cleanupObserver();break}},{root:null,rootMargin:this.detectDistance,threshold:0}),this.io.observe(this.el)}}cleanupObserver(){var e;(e=this.io)===null||e===void 0||e.disconnect(),this.io=void 0}wireOnceHandlers(){this.imgEl&&(this.detachImgHandlers(),this._onLoad=()=>{var e;this.currentSrc&&(!((e=this.imgEl)===null||e===void 0)&&e.currentSrc)&&!this.imgEl.currentSrc.includes(this.currentSrc)||(this.imgLoaded=!0)},this._onError=()=>{console.error("Load image failed:",this.src)},this.imgEl.addEventListener("load",this._onLoad,{once:!0}),this.imgEl.addEventListener("error",this._onError,{once:!0}))}detachImgHandlers(){this.imgEl&&(this._onLoad&&this.imgEl.removeEventListener("load",this._onLoad),this._onError&&this.imgEl.removeEventListener("error",this._onError),this._onLoad=void 0,this._onError=void 0)}beginLoad(){if(!this.hasStarted&&this.imgEl&&this.src){if(this.hasStarted=!0,this.wireOnceHandlers(),this.imgEl.complete&&this.imgEl.naturalWidth>0){this.imgLoaded=!0;return}this.currentSrc=this.src,this.imgEl.src=this.src,this.imgEl.complete&&this.imgEl.naturalWidth>0&&(this.imgLoaded=!0)}}get showSkeleton(){return this.loading!=="eager"&&!this.imgLoaded}renderEager(){return i.h(i.Host,{class:"HostContainer"},i.h("img",{src:this.src,decoding:"async",style:this.styles,class:"UiContainer Visible",alt:this.alt,width:this.width,height:this.height,loading:"eager"}))}renderLazy(){return i.h(i.Host,{class:"HostContainer","aria-busy":this.imgLoaded?"false":"true"},this.showSkeleton&&i.h("ui-skeleton",{class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i.h("img",{ref:e=>this.imgEl=e,src:void 0,decoding:"async",style:this.styles,class:`UiContainer ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}render(){return this.loading==="eager"?this.renderEager():this.renderLazy()}get el(){return i.getElement(this)}static get watchers(){return{src:["onSrcChange"],loading:["onLoadingChange"]}}};r.style=a;exports.UiImage=r;
1
+ "use strict";const i=require("./index-242ac81a-DDPF_SYN.cjs"),n=".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}",a=n,r=class{constructor(e){i.registerInstance(this,e),this.hasStarted=!1,this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.loading="lazy",this.imgLoaded=!1}onSrcChange(){this.loading!=="eager"&&(this.imgLoaded=!1,this.hasStarted=!1,(typeof window=="undefined"||!("IntersectionObserver"in window))&&this.beginLoad())}onLoadingChange(e,t){e!==t&&(this.cleanupObserver(),this.detachImgHandlers(),e==="eager"?(this.imgEl&&this.src&&(this.imgEl.src=this.src),this.hasStarted=!0):(this.imgLoaded=!1,this.hasStarted=!1,this.setupObserver()))}componentDidLoad(){this.loading!=="eager"&&this.setupObserver()}disconnectedCallback(){this.cleanupObserver(),this.detachImgHandlers()}canUseIO(){return typeof window!="undefined"&&"IntersectionObserver"in window}setupObserver(){if(this.loading!=="eager"){if(!this.canUseIO()){this.beginLoad();return}this.io=new IntersectionObserver(e=>{var t;for(const s of e)if(s.isIntersecting){this.beginLoad(),(t=this.io)===null||t===void 0||t.unobserve(s.target),this.cleanupObserver();break}},{root:null,rootMargin:this.detectDistance,threshold:0}),this.io.observe(this.el)}}cleanupObserver(){var e;(e=this.io)===null||e===void 0||e.disconnect(),this.io=void 0}wireOnceHandlers(){this.imgEl&&(this.detachImgHandlers(),this._onLoad=()=>{var e;this.currentSrc&&(!((e=this.imgEl)===null||e===void 0)&&e.currentSrc)&&!this.imgEl.currentSrc.includes(this.currentSrc)||(this.imgLoaded=!0)},this._onError=()=>{console.error("Load image failed:",this.src)},this.imgEl.addEventListener("load",this._onLoad,{once:!0}),this.imgEl.addEventListener("error",this._onError,{once:!0}))}detachImgHandlers(){this.imgEl&&(this._onLoad&&this.imgEl.removeEventListener("load",this._onLoad),this._onError&&this.imgEl.removeEventListener("error",this._onError),this._onLoad=void 0,this._onError=void 0)}beginLoad(){if(!this.hasStarted&&this.imgEl&&this.src){if(this.hasStarted=!0,this.wireOnceHandlers(),this.imgEl.complete&&this.imgEl.naturalWidth>0){this.imgLoaded=!0;return}this.currentSrc=this.src,this.imgEl.src=this.src,this.imgEl.complete&&this.imgEl.naturalWidth>0&&(this.imgLoaded=!0)}}get showSkeleton(){return this.loading!=="eager"&&!this.imgLoaded}renderEager(){return i.h(i.Host,{class:"HostContainer"},i.h("img",{src:this.src,decoding:"async",style:this.styles,class:"UiContainer Visible",alt:this.alt,width:this.width,height:this.height,loading:"eager"}))}renderLazy(){return i.h(i.Host,{class:"HostContainer","aria-busy":this.imgLoaded?"false":"true"},this.showSkeleton&&i.h("ui-skeleton",{class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i.h("img",{ref:e=>this.imgEl=e,src:void 0,decoding:"async",style:this.styles,class:`UiContainer ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}render(){return this.loading==="eager"?this.renderEager():this.renderLazy()}get el(){return i.getElement(this)}static get watchers(){return{src:["onSrcChange"],loading:["onLoadingChange"]}}};r.style=a;exports.UiImage=r;
@@ -1,4 +1,4 @@
1
- import { r as n, h as t, H as r, g as a } from "./index-242ac81a-BqeIndhr.js";
1
+ import { r as n, h as t, H as r, g as a } from "./index-242ac81a-Czg480dJ.js";
2
2
  const h = ".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 = h, d = class {
3
3
  constructor(e) {
4
4
  n(this, e), this.hasStarted = !1, this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.loading = "lazy", this.imgLoaded = !1;
@@ -1,4 +1,4 @@
1
- import { r as n, h as t, H as r, g as a } from "./index-242ac81a-CI4JxPRf.js";
1
+ import { r as n, h as t, H as r, g as a } from "./index-242ac81a-Bl2OSy8h.js";
2
2
  const h = ".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 = h, d = class {
3
3
  constructor(e) {
4
4
  n(this, e), this.hasStarted = !1, this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.loading = "lazy", this.imgLoaded = !1;
@@ -1,4 +1,4 @@
1
- import { b as a, p as e } from "./index-242ac81a-CI4JxPRf.js";
1
+ import { b as a, p as e } from "./index-242ac81a-Bl2OSy8h.js";
2
2
  import { a as i } from "./app-globals-0f993ce5-Cgk0KVAu.js";
3
3
  var o = () => {
4
4
  const t = import.meta.url, r = {};