@everymatrix/loyalty-shop 0.1.18 → 0.1.20

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 (23) hide show
  1. package/components/LoyaltyPagination-ChnSUs6d.cjs +14 -0
  2. package/components/{LoyaltyPagination-Bdx-smp6.js → LoyaltyPagination-D7m97E0W.js} +2283 -2227
  3. package/components/LoyaltyPagination-DzmuO9_8.cjs +14 -0
  4. package/components/{LoyaltyPagination-kvqB9vki.js → LoyaltyPagination-o3rQCgms.js} +2287 -2232
  5. package/components/{LoyaltyPointsCard-a-ERcIbF.cjs → LoyaltyPointsCard-46BqNZEK.cjs} +3 -3
  6. package/components/{LoyaltyPointsCard-DAwt9_VW.cjs → LoyaltyPointsCard-5kjF6xRz.cjs} +3 -3
  7. package/components/{LoyaltyPointsCard-Dte4kVve.js → LoyaltyPointsCard-CdBEe40I.js} +64 -68
  8. package/components/{LoyaltyPointsCard-CpUgbUoh.js → LoyaltyPointsCard-SZEIZzo0.js} +59 -63
  9. package/components/{LoyaltyShop-ICV4lgAz.cjs → LoyaltyShop-B2lSw5jy.cjs} +3 -3
  10. package/components/{LoyaltyShop-D4hhy3SS.js → LoyaltyShop-DGAZjo_P.js} +141 -149
  11. package/components/{LoyaltyShop-Dvy8bKVO.cjs → LoyaltyShop-DGLy6Hu5.cjs} +3 -3
  12. package/components/{LoyaltyShop-B5kW3Kng.js → LoyaltyShop-_bWN39Rn.js} +135 -143
  13. package/components/{LoyaltyShopItem-B-9ignkf.js → LoyaltyShopItem-CtZFkxzA.js} +68 -72
  14. package/components/{LoyaltyShopItem-DY4h5OAR.cjs → LoyaltyShopItem-DpFV9qnk.cjs} +3 -3
  15. package/components/{LoyaltyShopItem-Dwm024JF.js → LoyaltyShopItem-DxwkafBG.js} +81 -85
  16. package/components/{LoyaltyShopItem-DCnDun5S.cjs → LoyaltyShopItem-PkfmBV5A.cjs} +3 -3
  17. package/es2015/loyalty-shop.cjs +1 -1
  18. package/es2015/loyalty-shop.js +2 -2
  19. package/esnext/loyalty-shop.cjs +1 -1
  20. package/esnext/loyalty-shop.js +2 -2
  21. package/package.json +1 -1
  22. package/components/LoyaltyPagination-ClX3N4HA.cjs +0 -16
  23. package/components/LoyaltyPagination-DdJI2Ptf.cjs +0 -16
@@ -1,4 +1,4 @@
1
- var J = (g, a, o) => new Promise((d, _) => {
1
+ var q = (g, a, o) => new Promise((d, _) => {
2
2
  var u = (l) => {
3
3
  try {
4
4
  c(o.next(l));
@@ -14,8 +14,8 @@ var J = (g, a, o) => new Promise((d, _) => {
14
14
  }, c = (l) => l.done ? d(l.value) : Promise.resolve(l.value).then(u, v);
15
15
  c((o = o.apply(g, a)).next());
16
16
  });
17
- import { y as me, c as W, p as Y, a as ve, b as p, s as fe, d as q, z as O, A as he, B as ye, C as G, E, F as ge, G as _e, m as s, f as we, g as be, i as z, h as T, j as Q, H as xe, I as Ee, J as Re, K as ke, k as m, l as Se, n as b, o as k, r as x, t as j, q as L, L as Ie, v as V, u as C, w as Ne, $ as Te, M as Le, N as K } from "./LoyaltyPagination-kvqB9vki.js";
18
- import { L as Ce } from "./LoyaltyPointsCard-Dte4kVve.js";
17
+ import { z as ve, c as Y, p as Q, a as fe, b as p, s as he, d as G, A as C, B as ye, C as ge, E as K, F as b, G as _e, H as we, m as s, f as be, g as xe, i as U, h as S, j as X, I as Ee, J as Re, K as ke, L as Se, k as m, l as Ie, n as M, q as x, o as I, r as O, t as z, v as N, M as Ne, w as j, u as T, x as Te, $ as Le, N as Ce, O as W } from "./LoyaltyPagination-o3rQCgms.js";
18
+ import { L as Ue } from "./LoyaltyPointsCard-CdBEe40I.js";
19
19
  typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
20
20
  }, globalThis.customElements = { define() {
21
21
  }, get() {
@@ -33,14 +33,14 @@ if (typeof window != "undefined") {
33
33
  }
34
34
  };
35
35
  };
36
- customElements.define = g(customElements.define), import("./LoyaltyPointsCard-Dte4kVve.js").then((a) => a.a).then((a) => {
36
+ customElements.define = g(customElements.define), import("./LoyaltyPointsCard-CdBEe40I.js").then((a) => a.a).then((a) => {
37
37
  const o = a.default || a;
38
38
  customElements.get("loyalty-points-card") || customElements.define("loyalty-points-card", o.element || o);
39
39
  }).catch((a) => {
40
40
  console.error("BOOT ERROR:", a);
41
41
  });
42
42
  }
43
- const Ue = {
43
+ const Me = {
44
44
  en: {
45
45
  tokens: "Tokens",
46
46
  buyNow: "Buy Now",
@@ -76,52 +76,52 @@ const Ue = {
76
76
  buyNow: "Vásárlás",
77
77
  back: "Vissza"
78
78
  }
79
- }, Me = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='800px'%20height='800px'%20viewBox='0%200%20120%20120'%20fill='none'%3e%3crect%20width='120'%20height='120'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M33.2503%2038.4816C33.2603%2037.0472%2034.4199%2035.8864%2035.8543%2035.875H83.1463C84.5848%2035.875%2085.7503%2037.0431%2085.7503%2038.4816V80.5184C85.7403%2081.9528%2084.5807%2083.1136%2083.1463%2083.125H35.8543C34.4158%2083.1236%2033.2503%2081.957%2033.2503%2080.5184V38.4816ZM80.5006%2041.1251H38.5006V77.8751L62.8921%2053.4783C63.9172%2052.4536%2065.5788%2052.4536%2066.6039%2053.4783L80.5006%2067.4013V41.1251ZM43.75%2051.6249C43.75%2054.5244%2046.1005%2056.8749%2049%2056.8749C51.8995%2056.8749%2054.25%2054.5244%2054.25%2051.6249C54.25%2048.7254%2051.8995%2046.3749%2049%2046.3749C46.1005%2046.3749%2043.75%2048.7254%2043.75%2051.6249Z'%20fill='%23687787'/%3e%3c/svg%3e";
80
- var Oe = V('<img class="loyalty-shop-item__image svelte-ravnpu"/>'), ze = V('<div class="loyalty-shop-item__card loyalty-shop-item__card--description svelte-ravnpu"><p class="loyalty-shop-item__description svelte-ravnpu"> </p></div>'), je = V('<div class="loyalty-shop-item svelte-ravnpu"><div class="loyalty-shop-item__card svelte-ravnpu"><!> <span class="loyalty-shop-item__title svelte-ravnpu"> </span> <span class="loyalty-shop-item__points svelte-ravnpu"> </span> <button class="loyalty-shop-item__button svelte-ravnpu" type="button"> </button></div> <!> <!></div>');
81
- const Ve = {
79
+ }, Oe = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='800px'%20height='800px'%20viewBox='0%200%20120%20120'%20fill='none'%3e%3crect%20width='120'%20height='120'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M33.2503%2038.4816C33.2603%2037.0472%2034.4199%2035.8864%2035.8543%2035.875H83.1463C84.5848%2035.875%2085.7503%2037.0431%2085.7503%2038.4816V80.5184C85.7403%2081.9528%2084.5807%2083.1136%2083.1463%2083.125H35.8543C34.4158%2083.1236%2033.2503%2081.957%2033.2503%2080.5184V38.4816ZM80.5006%2041.1251H38.5006V77.8751L62.8921%2053.4783C63.9172%2052.4536%2065.5788%2052.4536%2066.6039%2053.4783L80.5006%2067.4013V41.1251ZM43.75%2051.6249C43.75%2054.5244%2046.1005%2056.8749%2049%2056.8749C51.8995%2056.8749%2054.25%2054.5244%2054.25%2051.6249C54.25%2048.7254%2051.8995%2046.3749%2049%2046.3749C46.1005%2046.3749%2043.75%2048.7254%2043.75%2051.6249Z'%20fill='%23687787'/%3e%3c/svg%3e";
80
+ var ze = j('<img class="loyalty-shop-item__image svelte-ravnpu"/>'), je = j('<div class="loyalty-shop-item__card loyalty-shop-item__card--description svelte-ravnpu"><p class="loyalty-shop-item__description svelte-ravnpu"> </p></div>'), Ve = j('<div class="loyalty-shop-item svelte-ravnpu"><div class="loyalty-shop-item__card svelte-ravnpu"><!> <span class="loyalty-shop-item__title svelte-ravnpu"> </span> <span class="loyalty-shop-item__points svelte-ravnpu"> </span> <button class="loyalty-shop-item__button svelte-ravnpu" type="button"> </button></div> <!> <!></div>');
81
+ const Ae = {
82
82
  hash: "svelte-ravnpu",
83
83
  code: `.loyalty-shop-item.svelte-ravnpu {display:flex;flex-direction:column;gap:12px;}.loyalty-shop-item__card.svelte-ravnpu {display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:10px;border:1px solid var(--border-default, rgba(251, 251, 251, 0.15));background-color:var(--app-container-bg-default, #022652);}.loyalty-shop-item__card--description.svelte-ravnpu {min-height:120px;}.loyalty-shop-item__image.svelte-ravnpu {width:100%;height:170px;border-radius:6px;}.loyalty-shop-item__title.svelte-ravnpu {color:var(--text-default, #ffffff);font-size:12px;font-weight:400;}.loyalty-shop-item__points.svelte-ravnpu {color:var(--text-subtle, #dfe3e8);font-size:14px;font-weight:400;}.loyalty-shop-item__button.svelte-ravnpu {margin-top:auto;width:100%;height:37px;padding:8px 16px;border:none;border-radius:6px;background:var(--button-primary-bg-default, #ffcc00);color:var(--button-primary-text-default, #261d00);font-size:12px;font-weight:400;cursor:pointer;}.loyalty-shop-item__button.svelte-ravnpu:disabled {opacity:0.4;cursor:default;}.loyalty-shop-item__description.svelte-ravnpu {color:var(--text-subtle, #dfe3e8);font-size:12px;line-height:1.4;margin:0;font-weight:500;min-height:120px;}
84
84
 
85
85
  @media (min-width: 768px) {.loyalty-shop-item__image.svelte-ravnpu {height:clamp(170px, 30vw, 400px);object-fit:cover;}
86
86
  }`
87
87
  };
88
- function X(g, a) {
89
- Y(a, !0), ve(g, Ve);
90
- const o = () => Ne(Te, "$_", d), [d, _] = Se(), u = p(a, "apiEndpoint", 7, ""), v = p(a, "userSession", 7, ""), c = p(a, "locale", 7, ""), l = p(a, "itemId", 7, ""), r = p(a, "elevateReward"), S = p(a, "translationUrl");
91
- fe({ withLocale: c(), translations: {} }), Object.entries(Ue).forEach(([e, t]) => {
92
- q(e, t);
88
+ function $(g, a) {
89
+ Q(a, !0), fe(g, Ae);
90
+ const o = () => Te(Le, "$_", d), [d, _] = Ie(), u = p(a, "apiEndpoint", 7, ""), v = p(a, "userSession", 7, ""), c = p(a, "locale", 7, ""), l = p(a, "itemId", 7, ""), r = p(a, "elevateReward"), E = p(a, "translationUrl");
91
+ he({ withLocale: c(), translations: {} }), Object.entries(Me).forEach(([e, t]) => {
92
+ G(e, t);
93
93
  });
94
- let i = O(he(r())), I = O(!1), A = O("");
95
- const B = C(() => {
94
+ let i = C(ye(r())), R = C(!1), V = C("");
95
+ const A = T(() => {
96
96
  var e, t, n, f;
97
97
  return (f = (n = (t = (e = s(i)) == null ? void 0 : e.presentation) == null ? void 0 : t.assets) == null ? void 0 : n[0]) != null ? f : "";
98
- }), D = C(() => {
98
+ }), B = T(() => {
99
99
  var e, t, n, f, w;
100
100
  return (w = (f = (t = (e = s(i)) == null ? void 0 : e.presentation) == null ? void 0 : t.displayName) != null ? f : (n = s(i)) == null ? void 0 : n.displayName) != null ? w : "";
101
- }), H = C(() => {
101
+ }), D = T(() => {
102
102
  var e, t, n;
103
103
  return (n = (t = (e = s(i)) == null ? void 0 : e.presentation) == null ? void 0 : t.description) != null ? n : "";
104
- }), F = C(() => {
104
+ }), H = T(() => {
105
105
  var e;
106
106
  return ((e = s(i)) == null ? void 0 : e.available) === "true";
107
- }), ee = () => {
108
- let e = new URL(S(), window.location.href);
107
+ }), te = () => {
108
+ let e = new URL(E(), window.location.href);
109
109
  fetch(e.href).then((t) => t.json()).then((t) => {
110
110
  Object.keys(t).forEach((n) => {
111
- q(n, t[n]);
111
+ G(n, t[n]);
112
112
  });
113
113
  }).catch((t) => {
114
114
  console.log("loyalty shop item translation url err:", t);
115
115
  });
116
116
  };
117
- ye(() => {
118
- S() && ee();
119
- }), G(() => {
117
+ ge(() => {
118
+ E() && te();
119
+ }), K(() => {
120
120
  if (r()) {
121
- E(i, r(), !0);
121
+ b(i, r(), !0);
122
122
  return;
123
123
  }
124
- !u() || !l() || ge(
124
+ !u() || !l() || _e(
125
125
  {
126
126
  apiEndpoint: u(),
127
127
  userSession: v(),
@@ -129,33 +129,33 @@ function X(g, a) {
129
129
  },
130
130
  l()
131
131
  ).then((e) => {
132
- E(i, e, !0);
132
+ b(i, e, !0);
133
133
  }).catch((e) => console.error("Failed to load shop item:", e));
134
134
  });
135
- const te = () => {
136
- s(I) || !s(F) || !s(i) || Le(s(i).displayName || s(i).presentation.displayName, s(i).id);
137
- }, ae = () => J(this, null, function* () {
135
+ const ae = () => {
136
+ s(R) || !s(H) || !s(i) || Ce(s(i).displayName || s(i).presentation.displayName, s(i).id);
137
+ }, se = () => q(this, null, function* () {
138
138
  var t;
139
139
  if (!u() || !s(i))
140
140
  return;
141
- E(I, !0), E(A, "");
141
+ b(R, !0), b(V, "");
142
142
  const e = s(i).id;
143
143
  try {
144
- yield xe({ apiEndpoint: u(), userSession: v() }, e), Ee(e), Re();
144
+ yield Ee({ apiEndpoint: u(), userSession: v() }, e), Re(e), ke();
145
145
  } catch (n) {
146
- E(A, (t = n == null ? void 0 : n.message) != null ? t : "Redeem failed", !0), ke(e, n);
146
+ b(V, (t = n == null ? void 0 : n.message) != null ? t : "Redeem failed", !0), Se(e, n);
147
147
  } finally {
148
- E(I, !1);
148
+ b(R, !1);
149
149
  }
150
150
  });
151
- G(() => {
151
+ K(() => {
152
152
  const e = (t) => {
153
153
  var n, f, w;
154
- ((n = t.data) == null ? void 0 : n.type) === _e.REDEEM_REWARD_CONFIRMED && ((f = t.data) == null ? void 0 : f.id) === ((w = s(i)) == null ? void 0 : w.id) && ae();
154
+ ((n = t.data) == null ? void 0 : n.type) === we.REDEEM_REWARD_CONFIRMED && ((f = t.data) == null ? void 0 : f.id) === ((w = s(i)) == null ? void 0 : w.id) && se();
155
155
  };
156
156
  return window.addEventListener("message", e), () => window.removeEventListener("message", e);
157
157
  });
158
- var se = {
158
+ var ne = {
159
159
  get apiEndpoint() {
160
160
  return u();
161
161
  },
@@ -187,34 +187,30 @@ function X(g, a) {
187
187
  r(e), m();
188
188
  },
189
189
  get translationUrl() {
190
- return S();
190
+ return E();
191
191
  },
192
192
  set translationUrl(e) {
193
- S(e), m();
193
+ E(e), m();
194
194
  }
195
- }, P = we(), ne = be(P);
195
+ }, F = be(), re = xe(F);
196
196
  {
197
- var re = (e) => {
198
- var t = je(), n = b(t), f = b(n);
197
+ var oe = (e) => {
198
+ var t = Ve(), n = M(t), f = M(n);
199
199
  {
200
200
  var w = (h) => {
201
- var y = Oe();
202
- j(() => {
203
- K(y, "src", s(B) || Me), K(y, "alt", s(D));
204
- }), T(h, y);
201
+ var y = ze();
202
+ z(() => {
203
+ W(y, "src", s(A) || Oe), W(y, "alt", s(B));
204
+ }), S(h, y);
205
205
  };
206
- z(f, (h) => {
207
- s(B) && h(w);
206
+ U(f, (h) => {
207
+ s(A) && h(w);
208
208
  });
209
209
  }
210
- var U = k(f, 2), ie = b(U, !0);
211
- x(U);
212
- var M = k(U, 2), le = b(M);
213
- x(M);
214
- var N = k(M, 2), de = b(N, !0);
215
- x(N), x(n);
216
- var Z = k(n, 2);
217
- Ce(Z, {
210
+ var P = x(f, 2), le = I(P, !0), Z = x(P, 2), de = I(Z), L = x(Z, 2), ue = I(L, !0);
211
+ O(n);
212
+ var J = x(n, 2);
213
+ Ue(J, {
218
214
  get apiEndpoint() {
219
215
  return u();
220
216
  },
@@ -225,36 +221,36 @@ function X(g, a) {
225
221
  return c();
226
222
  }
227
223
  });
228
- var ue = k(Z, 2);
224
+ var ce = x(J, 2);
229
225
  {
230
- var ce = (h) => {
231
- var y = ze(), R = b(y), pe = b(R, !0);
232
- x(R), x(y), j(() => L(pe, s(H))), T(h, y);
226
+ var pe = (h) => {
227
+ var y = je(), k = M(y), me = I(k, !0);
228
+ O(y), z(() => N(me, s(D))), S(h, y);
233
229
  };
234
- z(ue, (h) => {
235
- s(H) && h(ce);
230
+ U(ce, (h) => {
231
+ s(D) && h(pe);
236
232
  });
237
233
  }
238
- x(t), j(
234
+ O(t), z(
239
235
  (h, y) => {
240
- var R;
241
- L(ie, s(D)), L(le, `${(R = s(i).points) != null ? R : ""}
242
- ${h != null ? h : ""}`), N.disabled = !s(F) || s(I), L(de, y);
236
+ var k;
237
+ N(le, s(B)), N(de, `${(k = s(i).points) != null ? k : ""}
238
+ ${h != null ? h : ""}`), L.disabled = !s(H) || s(R), N(ue, y);
243
239
  },
244
240
  [() => o()("tokens"), () => o()("buyNow")]
245
- ), Ie("click", N, te), T(e, t);
241
+ ), Ne("click", L, ae), S(e, t);
246
242
  };
247
- z(ne, (e) => {
248
- s(i) && e(re);
243
+ U(re, (e) => {
244
+ s(i) && e(oe);
249
245
  });
250
246
  }
251
- T(g, P);
252
- var oe = Q(se);
253
- return _(), oe;
247
+ S(g, F);
248
+ var ie = X(ne);
249
+ return _(), ie;
254
250
  }
255
- me(["click"]);
256
- W(
257
- X,
251
+ ve(["click"]);
252
+ Y(
253
+ $,
258
254
  {
259
255
  apiEndpoint: {},
260
256
  userSession: {},
@@ -267,8 +263,8 @@ W(
267
263
  [],
268
264
  { mode: "open" }
269
265
  );
270
- function $(g, a) {
271
- Y(a, !0);
266
+ function ee(g, a) {
267
+ Q(a, !0);
272
268
  let o = p(a, "apiEndpoint", 7, ""), d = p(a, "userSession", 7, ""), _ = p(a, "locale", 7, ""), u = p(a, "itemId", 7, ""), v = p(a, "elevateReward"), c = p(a, "translationUrl");
273
269
  var l = {
274
270
  get apiEndpoint() {
@@ -308,7 +304,7 @@ function $(g, a) {
308
304
  c(r), m();
309
305
  }
310
306
  };
311
- return X(g, {
307
+ return $(g, {
312
308
  get apiEndpoint() {
313
309
  return o();
314
310
  },
@@ -327,10 +323,10 @@ function $(g, a) {
327
323
  get translationUrl() {
328
324
  return c();
329
325
  }
330
- }), Q(l);
326
+ }), X(l);
331
327
  }
332
- customElements.define("loyalty-shop-item", W(
333
- $,
328
+ customElements.define("loyalty-shop-item", Y(
329
+ ee,
334
330
  {
335
331
  apiEndpoint: {},
336
332
  userSession: {},
@@ -342,11 +338,11 @@ customElements.define("loyalty-shop-item", W(
342
338
  [],
343
339
  []
344
340
  ));
345
- const He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
341
+ const Fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
346
342
  __proto__: null,
347
- default: $
343
+ default: ee
348
344
  }, Symbol.toStringTag, { value: "Module" }));
349
345
  export {
350
- X as L,
351
- He as a
346
+ $ as L,
347
+ Fe as a
352
348
  };
@@ -1,5 +1,5 @@
1
- typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./LoyaltyPagination-ClX3N4HA.cjs"),G=require("./LoyaltyPointsCard-a-ERcIbF.cjs");if(typeof window<"u"){let m=function(n){return function(...o){try{return n.apply(this,o)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l instanceof Error&&l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=m(customElements.define),Promise.resolve().then(()=>require("./LoyaltyPointsCard-a-ERcIbF.cjs")).then(n=>n.LoyaltyPointsCard_ce).then(n=>{const o=n.default||n;customElements.get("loyalty-points-card")||customElements.define("loyalty-points-card",o.element||o)}).catch(n=>{console.error("BOOT ERROR:",n)})}const K={en:{tokens:"Tokens",buyNow:"Buy Now",back:"Back"},tr:{tokens:"Tokens",buyNow:"Şimdi Satın Al",back:"Geri"},da:{tokens:"Tokens",buyNow:"Køb nu",back:"Tilbage"},de:{tokens:"Token",buyNow:"Jetzt kaufen",back:"Zurück"},nl:{tokens:"Tokens",buyNow:"Nu kopen",back:"Terug"},fr:{tokens:"Jetons",buyNow:"Acheter",back:"Retour"},hu:{tokens:"Tokenek",buyNow:"Vásárlás",back:"Vissza"}},W="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='800px'%20height='800px'%20viewBox='0%200%20120%20120'%20fill='none'%3e%3crect%20width='120'%20height='120'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M33.2503%2038.4816C33.2603%2037.0472%2034.4199%2035.8864%2035.8543%2035.875H83.1463C84.5848%2035.875%2085.7503%2037.0431%2085.7503%2038.4816V80.5184C85.7403%2081.9528%2084.5807%2083.1136%2083.1463%2083.125H35.8543C34.4158%2083.1236%2033.2503%2081.957%2033.2503%2080.5184V38.4816ZM80.5006%2041.1251H38.5006V77.8751L62.8921%2053.4783C63.9172%2052.4536%2065.5788%2052.4536%2066.6039%2053.4783L80.5006%2067.4013V41.1251ZM43.75%2051.6249C43.75%2054.5244%2046.1005%2056.8749%2049%2056.8749C51.8995%2056.8749%2054.25%2054.5244%2054.25%2051.6249C54.25%2048.7254%2051.8995%2046.3749%2049%2046.3749C46.1005%2046.3749%2043.75%2048.7254%2043.75%2051.6249Z'%20fill='%23687787'/%3e%3c/svg%3e";var Y=e.from_html('<img class="loyalty-shop-item__image svelte-ravnpu"/>'),Q=e.from_html('<div class="loyalty-shop-item__card loyalty-shop-item__card--description svelte-ravnpu"><p class="loyalty-shop-item__description svelte-ravnpu"> </p></div>'),X=e.from_html('<div class="loyalty-shop-item svelte-ravnpu"><div class="loyalty-shop-item__card svelte-ravnpu"><!> <span class="loyalty-shop-item__title svelte-ravnpu"> </span> <span class="loyalty-shop-item__points svelte-ravnpu"> </span> <button class="loyalty-shop-item__button svelte-ravnpu" type="button"> </button></div> <!> <!></div>');const $={hash:"svelte-ravnpu",code:`.loyalty-shop-item.svelte-ravnpu {display:flex;flex-direction:column;gap:12px;}.loyalty-shop-item__card.svelte-ravnpu {display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:10px;border:1px solid var(--border-default, rgba(251, 251, 251, 0.15));background-color:var(--app-container-bg-default, #022652);}.loyalty-shop-item__card--description.svelte-ravnpu {min-height:120px;}.loyalty-shop-item__image.svelte-ravnpu {width:100%;height:170px;border-radius:6px;}.loyalty-shop-item__title.svelte-ravnpu {color:var(--text-default, #ffffff);font-size:12px;font-weight:400;}.loyalty-shop-item__points.svelte-ravnpu {color:var(--text-subtle, #dfe3e8);font-size:14px;font-weight:400;}.loyalty-shop-item__button.svelte-ravnpu {margin-top:auto;width:100%;height:37px;padding:8px 16px;border:none;border-radius:6px;background:var(--button-primary-bg-default, #ffcc00);color:var(--button-primary-text-default, #261d00);font-size:12px;font-weight:400;cursor:pointer;}.loyalty-shop-item__button.svelte-ravnpu:disabled {opacity:0.4;cursor:default;}.loyalty-shop-item__description.svelte-ravnpu {color:var(--text-subtle, #dfe3e8);font-size:12px;line-height:1.4;margin:0;font-weight:500;min-height:120px;}
1
+ typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./LoyaltyPagination-DzmuO9_8.cjs"),G=require("./LoyaltyPointsCard-46BqNZEK.cjs");if(typeof window<"u"){let m=function(n){return function(...o){try{return n.apply(this,o)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l instanceof Error&&l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=m(customElements.define),Promise.resolve().then(()=>require("./LoyaltyPointsCard-46BqNZEK.cjs")).then(n=>n.LoyaltyPointsCard_ce).then(n=>{const o=n.default||n;customElements.get("loyalty-points-card")||customElements.define("loyalty-points-card",o.element||o)}).catch(n=>{console.error("BOOT ERROR:",n)})}const K={en:{tokens:"Tokens",buyNow:"Buy Now",back:"Back"},tr:{tokens:"Tokens",buyNow:"Şimdi Satın Al",back:"Geri"},da:{tokens:"Tokens",buyNow:"Køb nu",back:"Tilbage"},de:{tokens:"Token",buyNow:"Jetzt kaufen",back:"Zurück"},nl:{tokens:"Tokens",buyNow:"Nu kopen",back:"Terug"},fr:{tokens:"Jetons",buyNow:"Acheter",back:"Retour"},hu:{tokens:"Tokenek",buyNow:"Vásárlás",back:"Vissza"}},W="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='800px'%20height='800px'%20viewBox='0%200%20120%20120'%20fill='none'%3e%3crect%20width='120'%20height='120'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M33.2503%2038.4816C33.2603%2037.0472%2034.4199%2035.8864%2035.8543%2035.875H83.1463C84.5848%2035.875%2085.7503%2037.0431%2085.7503%2038.4816V80.5184C85.7403%2081.9528%2084.5807%2083.1136%2083.1463%2083.125H35.8543C34.4158%2083.1236%2033.2503%2081.957%2033.2503%2080.5184V38.4816ZM80.5006%2041.1251H38.5006V77.8751L62.8921%2053.4783C63.9172%2052.4536%2065.5788%2052.4536%2066.6039%2053.4783L80.5006%2067.4013V41.1251ZM43.75%2051.6249C43.75%2054.5244%2046.1005%2056.8749%2049%2056.8749C51.8995%2056.8749%2054.25%2054.5244%2054.25%2051.6249C54.25%2048.7254%2051.8995%2046.3749%2049%2046.3749C46.1005%2046.3749%2043.75%2048.7254%2043.75%2051.6249Z'%20fill='%23687787'/%3e%3c/svg%3e";var Y=e.from_html('<img class="loyalty-shop-item__image svelte-ravnpu"/>'),Q=e.from_html('<div class="loyalty-shop-item__card loyalty-shop-item__card--description svelte-ravnpu"><p class="loyalty-shop-item__description svelte-ravnpu"> </p></div>'),X=e.from_html('<div class="loyalty-shop-item svelte-ravnpu"><div class="loyalty-shop-item__card svelte-ravnpu"><!> <span class="loyalty-shop-item__title svelte-ravnpu"> </span> <span class="loyalty-shop-item__points svelte-ravnpu"> </span> <button class="loyalty-shop-item__button svelte-ravnpu" type="button"> </button></div> <!> <!></div>');const $={hash:"svelte-ravnpu",code:`.loyalty-shop-item.svelte-ravnpu {display:flex;flex-direction:column;gap:12px;}.loyalty-shop-item__card.svelte-ravnpu {display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:10px;border:1px solid var(--border-default, rgba(251, 251, 251, 0.15));background-color:var(--app-container-bg-default, #022652);}.loyalty-shop-item__card--description.svelte-ravnpu {min-height:120px;}.loyalty-shop-item__image.svelte-ravnpu {width:100%;height:170px;border-radius:6px;}.loyalty-shop-item__title.svelte-ravnpu {color:var(--text-default, #ffffff);font-size:12px;font-weight:400;}.loyalty-shop-item__points.svelte-ravnpu {color:var(--text-subtle, #dfe3e8);font-size:14px;font-weight:400;}.loyalty-shop-item__button.svelte-ravnpu {margin-top:auto;width:100%;height:37px;padding:8px 16px;border:none;border-radius:6px;background:var(--button-primary-bg-default, #ffcc00);color:var(--button-primary-text-default, #261d00);font-size:12px;font-weight:400;cursor:pointer;}.loyalty-shop-item__button.svelte-ravnpu:disabled {opacity:0.4;cursor:default;}.loyalty-shop-item__description.svelte-ravnpu {color:var(--text-subtle, #dfe3e8);font-size:12px;line-height:1.4;margin:0;font-weight:500;min-height:120px;}
2
2
 
3
3
  @media (min-width: 768px) {.loyalty-shop-item__image.svelte-ravnpu {height:clamp(170px, 30vw, 400px);object-fit:cover;}
4
- }`};function x(m,n){e.push(n,!0),e.append_styles(m,$);const o=()=>e.store_get(e.$format,"$_",l),[l,y]=e.setup_stores(),i=e.prop(n,"apiEndpoint",7,""),d=e.prop(n,"userSession",7,""),p=e.prop(n,"locale",7,""),h=e.prop(n,"itemId",7,""),r=e.prop(n,"elevateReward"),g=e.prop(n,"translationUrl");e.setupI18n({withLocale:p(),translations:{}}),Object.entries(K).forEach(([t,a])=>{e.addNewMessages(t,a)});let s=e.state(e.proxy(r())),v=e.state(!1),S=e.state("");const E=e.user_derived(()=>e.get(s)?.presentation?.assets?.[0]??""),k=e.user_derived(()=>e.get(s)?.presentation?.displayName??e.get(s)?.displayName??""),R=e.user_derived(()=>e.get(s)?.presentation?.description??""),I=e.user_derived(()=>e.get(s)?.available==="true"),M=()=>{let t=new URL(g(),window.location.href);fetch(t.href).then(a=>a.json()).then(a=>{Object.keys(a).forEach(f=>{e.addNewMessages(f,a[f])})}).catch(a=>{console.log("loyalty shop item translation url err:",a)})};e.user_pre_effect(()=>{g()&&M()}),e.user_effect(()=>{if(r()){e.set(s,r(),!0);return}!i()||!h()||e.fetchShopItem({apiEndpoint:i(),userSession:d(),locale:p()},h()).then(t=>{e.set(s,t,!0)}).catch(t=>console.error("Failed to load shop item:",t))});const O=()=>{e.get(v)||!e.get(I)||!e.get(s)||e.sendRedeemRewardRequested(e.get(s).displayName||e.get(s).presentation.displayName,e.get(s).id)},P=async()=>{if(!i()||!e.get(s))return;e.set(v,!0),e.set(S,"");const t=e.get(s).id;try{await e.redeemReward({apiEndpoint:i(),userSession:d()},t),e.sendRedeemRewardSuccess(t),e.dispatchRedeemRewardButton()}catch(a){e.set(S,a?.message??"Redeem failed",!0),e.sendRedeemRewardFailed(t,a)}finally{e.set(v,!1)}};e.user_effect(()=>{const t=a=>{a.data?.type===e.EVENT_TYPES.REDEEM_REWARD_CONFIRMED&&a.data?.id===e.get(s)?.id&&P()};return window.addEventListener("message",t),()=>window.removeEventListener("message",t)});var z={get apiEndpoint(){return i()},set apiEndpoint(t=""){i(t),e.flushSync()},get userSession(){return d()},set userSession(t=""){d(t),e.flushSync()},get locale(){return p()},set locale(t=""){p(t),e.flushSync()},get itemId(){return h()},set itemId(t=""){h(t),e.flushSync()},get elevateReward(){return r()},set elevateReward(t){r(t),e.flushSync()},get translationUrl(){return g()},set translationUrl(t){g(t),e.flushSync()}},N=e.comment(),V=e.first_child(N);{var j=t=>{var a=X(),f=e.child(a),T=e.child(f);{var A=c=>{var u=Y();e.template_effect(()=>{e.set_attribute(u,"src",e.get(E)||W),e.set_attribute(u,"alt",e.get(k))}),e.append(c,u)};e.if_block(T,c=>{e.get(E)&&c(A)})}var b=e.sibling(T,2),B=e.child(b,!0);e.reset(b);var w=e.sibling(b,2),H=e.child(w);e.reset(w);var _=e.sibling(w,2),q=e.child(_,!0);e.reset(_),e.reset(f);var L=e.sibling(f,2);G.LoyaltyPointsCard(L,{get apiEndpoint(){return i()},get userSession(){return d()},get locale(){return p()}});var Z=e.sibling(L,2);{var F=c=>{var u=Q(),C=e.child(u),J=e.child(C,!0);e.reset(C),e.reset(u),e.template_effect(()=>e.set_text(J,e.get(R))),e.append(c,u)};e.if_block(Z,c=>{e.get(R)&&c(F)})}e.reset(a),e.template_effect((c,u)=>{e.set_text(B,e.get(k)),e.set_text(H,`${e.get(s).points??""}
5
- ${c??""}`),_.disabled=!e.get(I)||e.get(v),e.set_text(q,u)},[()=>o()("tokens"),()=>o()("buyNow")]),e.delegated("click",_,O),e.append(t,a)};e.if_block(V,t=>{e.get(s)&&t(j)})}e.append(m,N);var D=e.pop(z);return y(),D}e.delegate(["click"]);e.create_custom_element(x,{apiEndpoint:{},userSession:{},locale:{},itemId:{},elevateReward:{},translationUrl:{}},[],[],{mode:"open"});function U(m,n){e.push(n,!0);let o=e.prop(n,"apiEndpoint",7,""),l=e.prop(n,"userSession",7,""),y=e.prop(n,"locale",7,""),i=e.prop(n,"itemId",7,""),d=e.prop(n,"elevateReward"),p=e.prop(n,"translationUrl");var h={get apiEndpoint(){return o()},set apiEndpoint(r=""){o(r),e.flushSync()},get userSession(){return l()},set userSession(r=""){l(r),e.flushSync()},get locale(){return y()},set locale(r=""){y(r),e.flushSync()},get itemId(){return i()},set itemId(r=""){i(r),e.flushSync()},get elevateReward(){return d()},set elevateReward(r){d(r),e.flushSync()},get translationUrl(){return p()},set translationUrl(r){p(r),e.flushSync()}};return x(m,{get apiEndpoint(){return o()},get userSession(){return l()},get locale(){return y()},get itemId(){return i()},get elevateReward(){return d()},get translationUrl(){return p()}}),e.pop(h)}customElements.define("loyalty-shop-item",e.create_custom_element(U,{apiEndpoint:{},userSession:{},locale:{},itemId:{},elevateReward:{},translationUrl:{}},[],[]));const ee=Object.freeze(Object.defineProperty({__proto__:null,default:U},Symbol.toStringTag,{value:"Module"}));exports.LoyaltyShopItem=x;exports.LoyaltyShopItem_ce=ee;
4
+ }`};function b(m,n){e.push(n,!0),e.append_styles(m,$);const o=()=>e.store_get(e.$format,"$_",l),[l,f]=e.setup_stores(),i=e.prop(n,"apiEndpoint",7,""),d=e.prop(n,"userSession",7,""),p=e.prop(n,"locale",7,""),h=e.prop(n,"itemId",7,""),r=e.prop(n,"elevateReward"),g=e.prop(n,"translationUrl");e.setupI18n({withLocale:p(),translations:{}}),Object.entries(K).forEach(([t,a])=>{e.addNewMessages(t,a)});let s=e.state(e.proxy(r())),v=e.state(!1),w=e.state("");const x=e.user_derived(()=>e.get(s)?.presentation?.assets?.[0]??""),S=e.user_derived(()=>e.get(s)?.presentation?.displayName??e.get(s)?.displayName??""),E=e.user_derived(()=>e.get(s)?.presentation?.description??""),k=e.user_derived(()=>e.get(s)?.available==="true"),U=()=>{let t=new URL(g(),window.location.href);fetch(t.href).then(a=>a.json()).then(a=>{Object.keys(a).forEach(y=>{e.addNewMessages(y,a[y])})}).catch(a=>{console.log("loyalty shop item translation url err:",a)})};e.user_pre_effect(()=>{g()&&U()}),e.user_effect(()=>{if(r()){e.set(s,r(),!0);return}!i()||!h()||e.fetchShopItem({apiEndpoint:i(),userSession:d(),locale:p()},h()).then(t=>{e.set(s,t,!0)}).catch(t=>console.error("Failed to load shop item:",t))});const M=()=>{e.get(v)||!e.get(k)||!e.get(s)||e.sendRedeemRewardRequested(e.get(s).displayName||e.get(s).presentation.displayName,e.get(s).id)},O=async()=>{if(!i()||!e.get(s))return;e.set(v,!0),e.set(w,"");const t=e.get(s).id;try{await e.redeemReward({apiEndpoint:i(),userSession:d()},t),e.sendRedeemRewardSuccess(t),e.dispatchRedeemRewardButton()}catch(a){e.set(w,a?.message??"Redeem failed",!0),e.sendRedeemRewardFailed(t,a)}finally{e.set(v,!1)}};e.user_effect(()=>{const t=a=>{a.data?.type===e.EVENT_TYPES.REDEEM_REWARD_CONFIRMED&&a.data?.id===e.get(s)?.id&&O()};return window.addEventListener("message",t),()=>window.removeEventListener("message",t)});var P={get apiEndpoint(){return i()},set apiEndpoint(t=""){i(t),e.flushSync()},get userSession(){return d()},set userSession(t=""){d(t),e.flushSync()},get locale(){return p()},set locale(t=""){p(t),e.flushSync()},get itemId(){return h()},set itemId(t=""){h(t),e.flushSync()},get elevateReward(){return r()},set elevateReward(t){r(t),e.flushSync()},get translationUrl(){return g()},set translationUrl(t){g(t),e.flushSync()}},R=e.comment(),z=e.first_child(R);{var V=t=>{var a=X(),y=e.child(a),I=e.child(y);{var D=c=>{var u=Y();e.template_effect(()=>{e.set_attribute(u,"src",e.get(x)||W),e.set_attribute(u,"alt",e.get(S))}),e.append(c,u)};e.if_block(I,c=>{e.get(x)&&c(D)})}var N=e.sibling(I,2),A=e.only_child(N,!0),T=e.sibling(N,2),B=e.only_child(T),_=e.sibling(T,2),H=e.only_child(_,!0);e.reset(y);var L=e.sibling(y,2);G.LoyaltyPointsCard(L,{get apiEndpoint(){return i()},get userSession(){return d()},get locale(){return p()}});var q=e.sibling(L,2);{var Z=c=>{var u=Q(),F=e.child(u),J=e.only_child(F,!0);e.reset(u),e.template_effect(()=>e.set_text(J,e.get(E))),e.append(c,u)};e.if_block(q,c=>{e.get(E)&&c(Z)})}e.reset(a),e.template_effect((c,u)=>{e.set_text(A,e.get(S)),e.set_text(B,`${e.get(s).points??""}
5
+ ${c??""}`),_.disabled=!e.get(k)||e.get(v),e.set_text(H,u)},[()=>o()("tokens"),()=>o()("buyNow")]),e.delegated("click",_,M),e.append(t,a)};e.if_block(z,t=>{e.get(s)&&t(V)})}e.append(m,R);var j=e.pop(P);return f(),j}e.delegate(["click"]);e.create_custom_element(b,{apiEndpoint:{},userSession:{},locale:{},itemId:{},elevateReward:{},translationUrl:{}},[],[],{mode:"open"});function C(m,n){e.push(n,!0);let o=e.prop(n,"apiEndpoint",7,""),l=e.prop(n,"userSession",7,""),f=e.prop(n,"locale",7,""),i=e.prop(n,"itemId",7,""),d=e.prop(n,"elevateReward"),p=e.prop(n,"translationUrl");var h={get apiEndpoint(){return o()},set apiEndpoint(r=""){o(r),e.flushSync()},get userSession(){return l()},set userSession(r=""){l(r),e.flushSync()},get locale(){return f()},set locale(r=""){f(r),e.flushSync()},get itemId(){return i()},set itemId(r=""){i(r),e.flushSync()},get elevateReward(){return d()},set elevateReward(r){d(r),e.flushSync()},get translationUrl(){return p()},set translationUrl(r){p(r),e.flushSync()}};return b(m,{get apiEndpoint(){return o()},get userSession(){return l()},get locale(){return f()},get itemId(){return i()},get elevateReward(){return d()},get translationUrl(){return p()}}),e.pop(h)}customElements.define("loyalty-shop-item",e.create_custom_element(C,{apiEndpoint:{},userSession:{},locale:{},itemId:{},elevateReward:{},translationUrl:{}},[],[]));const ee=Object.freeze(Object.defineProperty({__proto__:null,default:C},Symbol.toStringTag,{value:"Module"}));exports.LoyaltyShopItem=b;exports.LoyaltyShopItem_ce=ee;
@@ -1 +1 @@
1
- typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const s=require("../components/LoyaltyShop-ICV4lgAz.cjs");if(typeof window!="undefined"){let o=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t instanceof Error&&t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("../components/LoyaltyShop-ICV4lgAz.cjs")).then(e=>e.LoyaltyShop_ce).then(e=>{const n=e.default||e;customElements.get("loyalty-shop")||customElements.define("loyalty-shop",n.element||n)}).catch(e=>{console.error("BOOT ERROR:",e)})}module.exports=s.LoyaltyShop;
1
+ typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const s=require("../components/LoyaltyShop-B2lSw5jy.cjs");if(typeof window!="undefined"){let o=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t instanceof Error&&t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("../components/LoyaltyShop-B2lSw5jy.cjs")).then(e=>e.LoyaltyShop_ce).then(e=>{const n=e.default||e;customElements.get("loyalty-shop")||customElements.define("loyalty-shop",n.element||n)}).catch(e=>{console.error("BOOT ERROR:",e)})}module.exports=s.LoyaltyShop;
@@ -1,4 +1,4 @@
1
- import { L as a } from "../components/LoyaltyShop-D4hhy3SS.js";
1
+ import { L as a } from "../components/LoyaltyShop-DGAZjo_P.js";
2
2
  typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
3
3
  }, globalThis.customElements = { define() {
4
4
  }, get() {
@@ -16,7 +16,7 @@ if (typeof window != "undefined") {
16
16
  }
17
17
  };
18
18
  };
19
- customElements.define = s(customElements.define), import("../components/LoyaltyShop-D4hhy3SS.js").then((e) => e.a).then((e) => {
19
+ customElements.define = s(customElements.define), import("../components/LoyaltyShop-DGAZjo_P.js").then((e) => e.a).then((e) => {
20
20
  const n = e.default || e;
21
21
  customElements.get("loyalty-shop") || customElements.define("loyalty-shop", n.element || n);
22
22
  }).catch((e) => {
@@ -1 +1 @@
1
- typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const s=require("../components/LoyaltyShop-Dvy8bKVO.cjs");if(typeof window<"u"){let o=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t instanceof Error&&t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("../components/LoyaltyShop-Dvy8bKVO.cjs")).then(e=>e.LoyaltyShop_ce).then(e=>{const n=e.default||e;customElements.get("loyalty-shop")||customElements.define("loyalty-shop",n.element||n)}).catch(e=>{console.error("BOOT ERROR:",e)})}module.exports=s.LoyaltyShop;
1
+ typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const s=require("../components/LoyaltyShop-DGLy6Hu5.cjs");if(typeof window<"u"){let o=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t instanceof Error&&t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("../components/LoyaltyShop-DGLy6Hu5.cjs")).then(e=>e.LoyaltyShop_ce).then(e=>{const n=e.default||e;customElements.get("loyalty-shop")||customElements.define("loyalty-shop",n.element||n)}).catch(e=>{console.error("BOOT ERROR:",e)})}module.exports=s.LoyaltyShop;
@@ -1,4 +1,4 @@
1
- import { L as a } from "../components/LoyaltyShop-B5kW3Kng.js";
1
+ import { L as a } from "../components/LoyaltyShop-_bWN39Rn.js";
2
2
  typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
3
3
  }, globalThis.customElements = { define() {
4
4
  }, get() {
@@ -16,7 +16,7 @@ if (typeof window < "u") {
16
16
  }
17
17
  };
18
18
  };
19
- customElements.define = s(customElements.define), import("../components/LoyaltyShop-B5kW3Kng.js").then((e) => e.a).then((e) => {
19
+ customElements.define = s(customElements.define), import("../components/LoyaltyShop-_bWN39Rn.js").then((e) => e.a).then((e) => {
20
20
  const n = e.default || e;
21
21
  customElements.get("loyalty-shop") || customElements.define("loyalty-shop", n.element || n);
22
22
  }).catch((e) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/loyalty-shop",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "type": "module",
5
5
  "main": "./esnext/loyalty-shop.cjs",
6
6
  "module": "./esnext/loyalty-shop.js",