@adstore/templates 2.7.4 → 2.7.5

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md ADDED
@@ -0,0 +1,430 @@
1
+ # @adstore/templates
2
+
3
+ ## 2.7.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Pass only ESM for templates. Init Statex.
8
+
9
+ ## 2.7.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Add min-size for close icon. Close Gift after click by promo.
14
+
15
+ ## 2.7.0
16
+
17
+ ### Minor Changes
18
+
19
+ - Add promotion layer for Popups. Add new metrik
20
+
21
+ ## 2.6.14
22
+
23
+ ### Patch Changes
24
+
25
+ - Pass only ESM module.
26
+
27
+ ## 2.6.13
28
+
29
+ ### Patch Changes
30
+
31
+ - Modify close icon for WideCard, CopmlexGift, SimpleGift
32
+
33
+ ## 2.6.10
34
+
35
+ ### Patch Changes
36
+
37
+ - add new method for custom close
38
+
39
+ ## 2.6.9
40
+
41
+ ### Patch Changes
42
+
43
+ - Fixes for ContentCards
44
+
45
+ ## 2.6.7
46
+
47
+ ### Patch Changes
48
+
49
+ - Update paddings for ContentCards
50
+
51
+ ## 2.6.6
52
+
53
+ ### Patch Changes
54
+
55
+ - Add onVisible and onClick actions for ContentCards
56
+
57
+ ## 2.6.5
58
+
59
+ ### Patch Changes
60
+
61
+ - Fix error on empty state for WideCard
62
+
63
+ ## 2.6.3
64
+
65
+ ### Patch Changes
66
+
67
+ - Fix paddings/margins
68
+
69
+ ## 2.6.1
70
+
71
+ ### Patch Changes
72
+
73
+ - Fix onClick action. Add link for variant2
74
+
75
+ ## 2.6.0
76
+
77
+ ### Minor Changes
78
+
79
+ - Add ContentCards promotion
80
+
81
+ ## 2.5.13
82
+
83
+ ### Patch Changes
84
+
85
+ - Add limit width and height for CloseIcon
86
+
87
+ ## 2.5.12
88
+
89
+ ### Patch Changes
90
+
91
+ - Reduce Popup width on mobile. Fix editable color for close icon. Add size config for CloseIcon. Fix onVisible for popups.
92
+
93
+ ## 2.5.11
94
+
95
+ ### Patch Changes
96
+
97
+ - Remove paddings for body (ComplexPopup)
98
+
99
+ ## 2.5.10
100
+
101
+ ### Patch Changes
102
+
103
+ - Add background for logo (ComplexPopup)
104
+
105
+ ## 2.5.9
106
+
107
+ ### Patch Changes
108
+
109
+ - Dont hide WideCard after click
110
+
111
+ ## 2.5.8
112
+
113
+ ### Patch Changes
114
+
115
+ - Fix DisplayText
116
+
117
+ ## 2.5.7
118
+
119
+ ### Patch Changes
120
+
121
+ - Fixes for WideCard
122
+
123
+ ## 2.5.5
124
+
125
+ ### Patch Changes
126
+
127
+ - Fixes for WideCard
128
+
129
+ ## 2.5.4
130
+
131
+ ### Patch Changes
132
+
133
+ - Add dep for national teamChange margin for BonusCardFew fixes
134
+
135
+ ## 2.5.3
136
+
137
+ ### Patch Changes
138
+
139
+ - Fixes for WideCard
140
+
141
+ ## 2.5.2
142
+
143
+ ### Patch Changes
144
+
145
+ - Fixes for WideCard
146
+
147
+ ## 2.5.1
148
+
149
+ ### Patch Changes
150
+
151
+ - Fix isOpen Simple popup when image is invalid
152
+
153
+ ## 2.5.0
154
+
155
+ ### Minor Changes
156
+
157
+ - Add more options for Accent typography
158
+ - 9c412ae: Update 1X2 slide for WideCard
159
+
160
+ ## 2.4.4
161
+
162
+ ### Patch Changes
163
+
164
+ - Fix close for Popups. Cnage close color
165
+
166
+ ## 2.4.3
167
+
168
+ ### Patch Changes
169
+
170
+ - Add action for WideCard
171
+
172
+ ## 2.4.2
173
+
174
+ ### Patch Changes
175
+
176
+ - Move promotion to botton of ComplexGift
177
+ - Make fixes for WideCard
178
+
179
+ ## 2.4.1
180
+
181
+ ### Patch Changes
182
+
183
+ - Fix image loading
184
+
185
+ ## 2.4.0
186
+
187
+ ### Minor Changes
188
+
189
+ - d355a72: Make integrations for WideCard
190
+
191
+ ### Patch Changes
192
+
193
+ - 48a0b14: Change size of Gift Icon
194
+
195
+ ## 2.3.1
196
+
197
+ ### Patch Changes
198
+
199
+ - Fix initial title paddings for title of ComplexGift. Updates for ExpressPopup
200
+
201
+ ## 2.3.0
202
+
203
+ ### Minor Changes
204
+
205
+ - Can upload matches to ExpressPopup
206
+
207
+ ## 2.2.12
208
+
209
+ ### Patch Changes
210
+
211
+ - 6209eb0: Add auto-font for typography
212
+ - 89a7916: Remove hide element if he has empty string
213
+ - 26056f0: Updates for WideCard
214
+
215
+ ## 2.2.11
216
+
217
+ ### Patch Changes
218
+
219
+ - Updates for BonusCards
220
+
221
+ ## 2.2.10
222
+
223
+ ### Patch Changes
224
+
225
+ - Make fixes for BonusCards. Add unsubscribe listeners when BonusCards unmounted
226
+ - Add ref actions for BonusCards
227
+ - Add resetListeners method
228
+
229
+ ## 2.2.7
230
+
231
+ ### Patch Changes
232
+
233
+ - df01b04: Add updates for BonusCards
234
+
235
+ ## 2.2.6
236
+
237
+ ### Patch Changes
238
+
239
+ - 16d67c9: Deattach all subscribtion after unmount promos
240
+ - 16d67c9: Add Broadcast values
241
+
242
+ ## 2.2.5
243
+
244
+ ### Patch Changes
245
+
246
+ - 349746d: Add onClickHide action for Popups
247
+
248
+ ## 2.2.3
249
+
250
+ ### Patch Changes
251
+
252
+ - c64af77: Add separate metrics for ComplexPopup and ComplexGift
253
+
254
+ ## 2.2.2
255
+
256
+ ### Patch Changes
257
+
258
+ - bba33be: Add Layer Visibility functional
259
+
260
+ ## 2.2.1
261
+
262
+ ### Patch Changes
263
+
264
+ - 1132005: Fixes for ExpressPopup
265
+
266
+ ## 2.2.0
267
+
268
+ ### Minor Changes
269
+
270
+ - Update sizes for popups
271
+
272
+ ### Patch Changes
273
+
274
+ - d8b5fc7: Remove base paddings for Popups. Fix crash SimpleGift
275
+ - 3f5399e: Remove height from config
276
+ - 3f5399e: Change build target es6
277
+
278
+ ## 2.1.9
279
+
280
+ ### Patch Changes
281
+
282
+ - 5e9b4fa: Add gifts and popups ref actions
283
+ - b0541ac: Add onMount action
284
+ - b0541ac: Add className prop. Make popups as fixed
285
+ - b0541ac: Remove onMount action
286
+
287
+ ## 2.1.2
288
+
289
+ ### Patch Changes
290
+
291
+ - b0afa96: Add fixes for ExpressPopup
292
+ - e378372: Add polifill for ResizeObserver
293
+
294
+ ## 2.1.1
295
+
296
+ ### Patch Changes
297
+
298
+ - Call isOpen method by human click
299
+
300
+ ## 2.1.0
301
+
302
+ ### Minor Changes
303
+
304
+ - d4bfb19: Add lifecycle methods for gifts
305
+
306
+ ## 2.0.19
307
+
308
+ ### Patch Changes
309
+
310
+ - d25ccf2: Make "parent" rewritable
311
+
312
+ ## 2.0.18
313
+
314
+ ### Patch Changes
315
+
316
+ - 6a175ce: Remove offset from container (SimpleGift, ComplexGift)
317
+
318
+ ## 2.0.16
319
+
320
+ ### Patch Changes
321
+
322
+ - 7db235d: Fix horizontal line between offers (Complex gift)
323
+
324
+ ## 2.0.15
325
+
326
+ ### Patch Changes
327
+
328
+ - e608bb5: Unlink border from legal info to container (SimpleGift)
329
+
330
+ ## 2.0.14
331
+
332
+ ### Patch Changes
333
+
334
+ - 55e4ed7: Fix display Gifts
335
+
336
+ ## 2.0.13
337
+
338
+ ### Patch Changes
339
+
340
+ - 4d88789: Fix size of legal info. Change width of SimpleGift container. Add path to Iterator tool. Make centred logo for all promos.
341
+
342
+ ## 2.0.12
343
+
344
+ ### Patch Changes
345
+
346
+ - 1bb97d0: Remove reset css
347
+
348
+ ## 2.0.11
349
+
350
+ ### Patch Changes
351
+
352
+ - 0590d2d: Add max-width on mobile for ComplexGift
353
+
354
+ ## 2.0.10
355
+
356
+ ### Patch Changes
357
+
358
+ - Release version
359
+ - 605b897: Fixes for SimpleGift + ComplexGift
360
+ - 18cdeee: Fixes
361
+ - 484e490: Fix display title icon (ComplexGift)
362
+
363
+ ## 2.0.6
364
+
365
+ ### Patch Changes
366
+
367
+ - Fix modifyState tool
368
+
369
+ ## 2.0.5
370
+
371
+ ### Patch Changes
372
+
373
+ - debb49a: Fix parent extend. Fix legal info scroll (SimpleGift)
374
+ - 89e63db: Add method for modify state
375
+
376
+ ## 2.0.4
377
+
378
+ ### Patch Changes
379
+
380
+ - f67824b: Lock usless fuctions
381
+ - f67824b: Add button animation (SimpleGift)
382
+
383
+ ## 2.0.3
384
+
385
+ ### Patch Changes
386
+
387
+ - 8251580: Fix matrics for all promos
388
+ - 4f83f9b: Make parser for SimpleGift. Style fixes for SimpleGift
389
+ - 75acf6b: Add spacing functional
390
+
391
+ ## 2.0.2
392
+
393
+ ### Patch Changes
394
+
395
+ - 573bc56: Fix container detect device. Fix load custom font from GoogleFonts
396
+ - fda304d: Add logo config. Fix size of bonuses. (Complex popup)
397
+ - 52e29b5: Fix render children (Simple popup)
398
+ - 64004e9: Fixes for Express popup
399
+ - 2f4475e: Fix animations (SimpleGift, ComplexGift)
400
+ - b4fffd7: Make fixes for WideCard
401
+ - d722719: Fix hidden children after reload
402
+
403
+ ## 2.0.1
404
+
405
+ ### Patch Changes
406
+
407
+ - febb0f1: Fixed functionality of changing the background color of slides (WideCard template)
408
+ - 984694e: Fix offer for templates
409
+
410
+ ## 2.0.0
411
+
412
+ ### Major Changes
413
+
414
+ - f8e0c35: Full replace templates to templates-preact. Update web version
415
+
416
+ ### Minor Changes
417
+
418
+ - 3ee1297: Integrate new template by Preact
419
+
420
+ ### Patch Changes
421
+
422
+ - ca46788: Integrade SimplePopup
423
+ - 76702f5: Remake BonusCard
424
+ - dcedd4f: Fix accent typo for ExpressPopup
425
+ - 6c050a8: Remake ExpressPopup
426
+ - b148e96: Remake ComplexGift + ComplexPopup
427
+ - dcedd4f: Add offers config for all templates
428
+ - 7486894: Add new util methods + contants. Fixes for React adapter
429
+ - d3964cd: Remake WideCard
430
+ - dcedd4f: Fix device resolver for initialState
@@ -125,7 +125,7 @@ function tn(t, e, o) {
125
125
  }
126
126
  return n.__N || n.__;
127
127
  }
128
- function q(t, e) {
128
+ function W(t, e) {
129
129
  var o = It(vt++, 3);
130
130
  !g.__s && ce(o.__H, e) && (o.__ = t, o.i = e, C.__H.__h.push(o));
131
131
  }
@@ -133,7 +133,7 @@ function _o(t, e) {
133
133
  var o = It(vt++, 4);
134
134
  !g.__s && ce(o.__H, e) && (o.__ = t, o.i = e, C.__h.push(o));
135
135
  }
136
- function U(t) {
136
+ function q(t) {
137
137
  return mt = 5, Pt(function() {
138
138
  return { current: t };
139
139
  }, []);
@@ -1004,14 +1004,14 @@ e_(function(t, e, o) {
1004
1004
  t_(t, e, o);
1005
1005
  });
1006
1006
  const ht = (t, e, o) => Array.isArray(t) ? t.map((n, s) => {
1007
- const r = [o, s].filter(F).join(".");
1007
+ const r = [o, s].filter(D).join(".");
1008
1008
  return ht(e(s, n, r), e, r);
1009
1009
  }) : typeof t == "object" && t ? Object.entries(t).reduce((n, [s, r]) => {
1010
- const i = [o, s].filter(F).join(".");
1010
+ const i = [o, s].filter(D).join(".");
1011
1011
  return n[s] = ht(e(s, r, i), e, i), n;
1012
1012
  }, {}) : t, o_ = (t) => {
1013
1013
  const e = document.getElementsByTagName("head")[0], o = document.createElement("link");
1014
- Object.entries(t).forEach(([n, s]) => o.setAttribute(n, s)), e.appendChild(o);
1014
+ document.querySelector(`link[href="${t.href}"]`) || (Object.entries(t).forEach(([s, r]) => o.setAttribute(s, r)), e.appendChild(o));
1015
1015
  }, Ht = () => {
1016
1016
  let t = {};
1017
1017
  return {
@@ -1063,7 +1063,7 @@ const ht = (t, e, o) => Array.isArray(t) ? t.map((n, s) => {
1063
1063
  At(o, "markets", s);
1064
1064
  }
1065
1065
  return o;
1066
- }, c_ = (t = 300, e) => new Promise((o) => setTimeout(() => o(e), t)), l_ = (t) => !t && t == null, F = (t) => !l_(t), no = (t) => typeof t != "object" && typeof t != "function" || t === null, __ = (t) => typeof t == "object" && !Array.isArray(t) && F(t), d_ = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (e, o) => (o ? "-" : "") + e.toLowerCase()), nt = (t, ...e) => e.reduce((o, n) => (o[n] = t[n], o), {});
1066
+ }, c_ = (t = 300, e) => new Promise((o) => setTimeout(() => o(e), t)), l_ = (t) => !t && t == null, D = (t) => !l_(t), no = (t) => typeof t != "object" && typeof t != "function" || t === null, __ = (t) => typeof t == "object" && !Array.isArray(t) && D(t), d_ = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (e, o) => (o ? "-" : "") + e.toLowerCase()), nt = (t, ...e) => e.reduce((o, n) => (o[n] = t[n], o), {});
1067
1067
  function at(t, ...e) {
1068
1068
  const o = h({}, t);
1069
1069
  return e.forEach((n) => {
@@ -1180,10 +1180,10 @@ const Vo = Xo(), dt = ({
1180
1180
  id: o
1181
1181
  }, r))
1182
1182
  }), e);
1183
- }), E = () => on(Vo), D_ = (t = {}) => typeof t == "object" && F(t) && Bo.every((e) => e in t), F_ = (t, e) => t && ht(t, (o, n) => {
1183
+ }), E = () => on(Vo), D_ = (t = {}) => typeof t == "object" && D(t) && Bo.every((e) => e in t), F_ = (t, e) => t && ht(t, (o, n) => {
1184
1184
  if (D_(n)) {
1185
1185
  const s = n[e];
1186
- return s && "parent" in s && F(s.parent) ? h(h({}, n[s.parent]), at(s, "parent")) : s;
1186
+ return s && "parent" in s && D(s.parent) ? h(h({}, n[s.parent]), at(s, "parent")) : s;
1187
1187
  }
1188
1188
  return n;
1189
1189
  }), ct = (t, e) => F_(t, e), ut = ({
@@ -1204,7 +1204,7 @@ const Vo = Xo(), dt = ({
1204
1204
  const l = e.current.closest(`[data-${o}='${t}']`) || document.body;
1205
1205
  l && (new ResizeObserver(() => i(l)).observe(l), i(l));
1206
1206
  }, []), s;
1207
- }, ro = (t) => console.warn(`[Adstore-templates Deprecated]: ${t}`), qt = (t, e) => F(t) && !(typeof t == "number" ? t.toString() : t).includes(e) ? `${t}${e}` : t, G_ = (t) => t.startsWith("px_"), W_ = (t) => t.startsWith("percent_"), q_ = (t, e) => {
1207
+ }, ro = (t) => console.warn(`[Adstore-templates Deprecated]: ${t}`), qt = (t, e) => D(t) && !(typeof t == "number" ? t.toString() : t).includes(e) ? `${t}${e}` : t, G_ = (t) => t.startsWith("px_"), W_ = (t) => t.startsWith("percent_"), q_ = (t, e) => {
1208
1208
  let o = t, n = e;
1209
1209
  return G_(o) && (o = o.replace("px_", ""), n = qt(e, "px")), W_(o) && (o = o.replace("percent_", ""), n = qt(e, "%")), {
1210
1210
  key: o,
@@ -1220,13 +1220,13 @@ const Vo = Xo(), dt = ({
1220
1220
  } = q_(n, s);
1221
1221
  if (__(i) && (o[r] = Do(i)), o[r] = i, r === "hidden" && i)
1222
1222
  return o.display = "none", o;
1223
- if (r === "innerHTML" && (o.innerHTML = F(i) ? `${i}` : ""), r === "innerText" && (o.innerText = F(i) ? `${i}` : ""), r === "children" && (o.children = typeof i == "string" ? F(i) ? `${i}` : "" : i), r.includes("borderWidth") && (o.borderStyle = "solid"), r === "corner" && (o.borderRadius = qt(i, "px")), r === "backgroundFit" && (ro("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."), o.backgroundSize = i, o.objectFit = i), r === "backgroundImage" && F(i) && (o.backgroundImage = `url(${i})`, o.backgroundRepeat = "no-repeat", o.imageSource = i, ro("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")), r === "backgroundColorOpacity" && F(o.backgroundColorOpacity) && F(o.backgroundColor)) {
1223
+ if (r === "innerHTML" && (o.innerHTML = D(i) ? `${i}` : ""), r === "innerText" && (o.innerText = D(i) ? `${i}` : ""), r === "children" && (o.children = typeof i == "string" ? D(i) ? `${i}` : "" : i), r.includes("borderWidth") && (o.borderStyle = "solid"), r === "corner" && (o.borderRadius = qt(i, "px")), r === "backgroundFit" && (ro("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."), o.backgroundSize = i, o.objectFit = i), r === "backgroundImage" && D(i) && (o.backgroundImage = `url(${i})`, o.backgroundRepeat = "no-repeat", o.imageSource = i, ro("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")), r === "backgroundColorOpacity" && D(o.backgroundColorOpacity) && D(o.backgroundColor)) {
1224
1224
  const l = p_(o.backgroundColor);
1225
1225
  l && (o.backgroundColor = h_(`rgb(${l.r}, ${l.g}, ${l.b})`, +o.backgroundColorOpacity / 100));
1226
1226
  }
1227
1227
  return r === "fontFamily" && /auto/i.test(i) && (o.fontFamily = U_), r === "isBold" && (o.fontWeight = i ? "bold" : "initial"), r === "isItalic" && (o.fontStyle = i ? "italic" : "initial"), r === "isThrough" && (o.textDecoration = i ? "line-through" : "initial"), o;
1228
1228
  }, t);
1229
- }, Z_ = (t) => typeof t == "object" && !Array.isArray(t) && "parent" in t, j = (t) => F(t) ? Object.entries(t).reduce((e, [o, n]) => (e[o] = Z_(n) ? Do(h({}, t[o])) : n, e), {}) : t, K_ = (t) => t in document.createElement("div").style || t.startsWith("--"), X_ = (t) => `<span style="${t}">$1</span>`, O = (r) => {
1229
+ }, Z_ = (t) => typeof t == "object" && !Array.isArray(t) && "parent" in t, j = (t) => D(t) ? Object.entries(t).reduce((e, [o, n]) => (e[o] = Z_(n) ? Do(h({}, t[o])) : n, e), {}) : t, K_ = (t) => t in document.createElement("div").style || t.startsWith("--"), X_ = (t) => `<span style="${t}">$1</span>`, O = (r) => {
1230
1230
  var i = r, {
1231
1231
  children: t,
1232
1232
  typography: e,
@@ -1281,7 +1281,7 @@ const Vo = Xo(), dt = ({
1281
1281
  wiggle: `${t.wiggle} 2s linear infinite`,
1282
1282
  gradient: `${t.gradient} 3s ease infinite`
1283
1283
  }), Fo = (t, e) => {
1284
- var d, p, u, f, m, v, b, B, G, L, A, I, S;
1284
+ var d, p, u, f, m, v, b, B, F, L, A, I, S;
1285
1285
  const o = J_(e), n = j(t), s = (d = n == null ? void 0 : n.icon) == null ? void 0 : d.hasIcon, r = {
1286
1286
  left: `${+(((p = t == null ? void 0 : t.container) == null ? void 0 : p.left) || 0) * -1 + 8}px`,
1287
1287
  backgroundColor: (u = n == null ? void 0 : n.container) == null ? void 0 : u.backgroundColor,
@@ -1293,7 +1293,7 @@ const Vo = Xo(), dt = ({
1293
1293
  borderLeftStyle: "solid"
1294
1294
  }, i = {
1295
1295
  left: (B = n == null ? void 0 : n.container) == null ? void 0 : B.left
1296
- }, l = (((G = n == null ? void 0 : n.icon) == null ? void 0 : G.animations) || []).map(($) => o[$]).join(", "), _ = F((L = n == null ? void 0 : n.icon) == null ? void 0 : L.gradientColor) && ((A = n == null ? void 0 : n.icon) != null && A.animations.includes("gradient")) ? {
1296
+ }, l = (((F = n == null ? void 0 : n.icon) == null ? void 0 : F.animations) || []).map(($) => o[$]).join(", "), _ = D((L = n == null ? void 0 : n.icon) == null ? void 0 : L.gradientColor) && ((A = n == null ? void 0 : n.icon) != null && A.animations.includes("gradient")) ? {
1297
1297
  background: `linear-gradient(-90deg, ${(I = n.icon) == null ? void 0 : I.backgroundColor} 0%, ${(S = n == null ? void 0 : n.icon) == null ? void 0 : S.gradientColor} 100%) 0% 0% / 400% 400%`,
1298
1298
  backgroundSize: "400% 400%"
1299
1299
  } : n == null ? void 0 : n.icon, c = h(k(h({}, (n == null ? void 0 : n.icon) || {}), {
@@ -1312,7 +1312,7 @@ const Vo = Xo(), dt = ({
1312
1312
  rel: "stylesheet",
1313
1313
  href: `https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`
1314
1314
  })), [e]);
1315
- q(() => {
1315
+ W(() => {
1316
1316
  o.forEach(o_);
1317
1317
  }, [o]);
1318
1318
  }, Q = ["backgroundColor", "backgroundColorOpacity", "backgroundImage", "backgroundSize", "backgroundRepeat"], Q_ = ["borderWidth", "borderColor", "borderStyle"], ao = ["imageSource", "objectFit"], zt = ["marginTop", "marginBottom", "marginLeft", "marginRight", "paddingTop", "paddingBottom", "paddingLeft", "paddingRight"], Y_ = ({
@@ -1323,19 +1323,19 @@ const Vo = Xo(), dt = ({
1323
1323
  crossCloseEmitter: s,
1324
1324
  disableAutoOpen: r
1325
1325
  }) => {
1326
- const [i, l] = rt(!1), _ = U(null), c = (u) => {
1326
+ const [i, l] = rt(!1), _ = q(null), c = (u) => {
1327
1327
  clearTimeout(_.current), _.current = null;
1328
1328
  }, d = () => {
1329
1329
  c(_.current), l((u) => (u && n && n(), !u));
1330
1330
  }, p = () => {
1331
1331
  d(), s && s();
1332
1332
  };
1333
- return q(() => {
1333
+ return W(() => {
1334
1334
  if (!r)
1335
1335
  return _.current = setTimeout(() => {
1336
1336
  l(!0), o && o();
1337
1337
  }, t || 1e3), () => c(_.current);
1338
- }, [t, r]), q(() => {
1338
+ }, [t, r]), W(() => {
1339
1339
  i && !_.current && e && e();
1340
1340
  }, [i]), {
1341
1341
  isOpen: i,
@@ -1347,7 +1347,7 @@ const Vo = Xo(), dt = ({
1347
1347
  openDelay: e,
1348
1348
  disableAutoOpen: o
1349
1349
  }) => {
1350
- const n = U(Ht()), s = (u) => n.current.on("open", u), r = (u) => n.current.on("click", u), i = (u) => n.current.on("autoOpen", u), l = (u) => n.current.on("close", u), _ = (u) => n.current.on("crossClose", u), {
1350
+ const n = q(Ht()), s = (u) => n.current.on("open", u), r = (u) => n.current.on("click", u), i = (u) => n.current.on("autoOpen", u), l = (u) => n.current.on("close", u), _ = (u) => n.current.on("crossClose", u), {
1351
1351
  isOpen: c,
1352
1352
  toggle: d,
1353
1353
  onCrossClick: p
@@ -1367,7 +1367,7 @@ const Vo = Xo(), dt = ({
1367
1367
  onClose: l,
1368
1368
  onAutoOpen: i,
1369
1369
  resetListeners: n.current.reset
1370
- })), q(() => n.current.reset, []), {
1370
+ })), W(() => n.current.reset, []), {
1371
1371
  isOpen: c,
1372
1372
  toggle: d,
1373
1373
  onCrossClick: p,
@@ -1377,8 +1377,8 @@ const Vo = Xo(), dt = ({
1377
1377
  id: t,
1378
1378
  disableAutoOpen: e
1379
1379
  }, o) => {
1380
- var L, A, I, S, $, V, W, X, z;
1381
- const n = U(null), [s, r] = Mt(), i = E(), l = ut({
1380
+ var L, A, I, S, $, U, G, X, z;
1381
+ const n = q(null), [s, r] = Mt(), i = E(), l = ut({
1382
1382
  targetRef: n,
1383
1383
  id: t
1384
1384
  }), _ = ct(i, l), c = j(_), {
@@ -1402,7 +1402,7 @@ const Vo = Xo(), dt = ({
1402
1402
  disableAutoOpen: e
1403
1403
  });
1404
1404
  lt(_);
1405
- const G = s ? nt(c.container, ...Q_) : {};
1405
+ const F = s ? nt(c.container, ...Q_) : {};
1406
1406
  return a("div", {
1407
1407
  className: T(w.root, {
1408
1408
  [w.legalOpen]: s
@@ -1454,18 +1454,18 @@ const Vo = Xo(), dt = ({
1454
1454
  [w.buttonAnimated]: c == null ? void 0 : c.button.isAnimated
1455
1455
  }),
1456
1456
  style: c == null ? void 0 : c.button,
1457
- children: (V = c == null ? void 0 : c.button) == null ? void 0 : V.children
1457
+ children: (U = c == null ? void 0 : c.button) == null ? void 0 : U.children
1458
1458
  })]
1459
1459
  }), a("div", {
1460
1460
  className: w.legalGap
1461
1461
  }), a("div", {
1462
1462
  className: w.legal,
1463
- style: h(h({}, c == null ? void 0 : c.legal), G),
1463
+ style: h(h({}, c == null ? void 0 : c.legal), F),
1464
1464
  children: a("span", {
1465
1465
  className: w.legalText,
1466
1466
  children: a("span", {
1467
1467
  children: [a("span", {
1468
- children: (W = c == null ? void 0 : c.legal) == null ? void 0 : W.children
1468
+ children: (G = c == null ? void 0 : c.legal) == null ? void 0 : G.children
1469
1469
  }), a("span", {
1470
1470
  className: w.legalButton,
1471
1471
  onClick: r,
@@ -1565,7 +1565,7 @@ const Vo = Xo(), dt = ({
1565
1565
  disableAutoOpen: e
1566
1566
  }, o) => {
1567
1567
  var L, A, I, S;
1568
- const n = U(null), s = E(), r = ut({
1568
+ const n = q(null), s = E(), r = ut({
1569
1569
  targetRef: n,
1570
1570
  id: t
1571
1571
  }), i = ct(s, r), l = j(i), {
@@ -1589,7 +1589,7 @@ const Vo = Xo(), dt = ({
1589
1589
  pulse: P.pulse,
1590
1590
  wiggle: P.wiggle,
1591
1591
  gradient: P.gradient
1592
- }), b = (A = l == null ? void 0 : l.title) == null ? void 0 : A.hasIcon, B = nt(l == null ? void 0 : l.title, ...zt), G = at(l == null ? void 0 : l.title, ...zt);
1592
+ }), b = (A = l == null ? void 0 : l.title) == null ? void 0 : A.hasIcon, B = nt(l == null ? void 0 : l.title, ...zt), F = at(l == null ? void 0 : l.title, ...zt);
1593
1593
  return a("div", {
1594
1594
  ref: n,
1595
1595
  className: T(P.root, {
@@ -1625,7 +1625,7 @@ const Vo = Xo(), dt = ({
1625
1625
  children: a(Ut, {})
1626
1626
  }), a("div", {
1627
1627
  className: P.headTitle,
1628
- style: G,
1628
+ style: F,
1629
1629
  children: (I = l.title) == null ? void 0 : I.children
1630
1630
  }), a("div", {
1631
1631
  className: P.close,
@@ -1638,7 +1638,7 @@ const Vo = Xo(), dt = ({
1638
1638
  children: (l.children || []).map(($) => a(dt, {
1639
1639
  value: $,
1640
1640
  children: a(Id, {
1641
- onClick: (V) => c(V) && d()
1641
+ onClick: () => c() && d()
1642
1642
  })
1643
1643
  }))
1644
1644
  }), a("div", {
@@ -1683,12 +1683,12 @@ const Vo = Xo(), dt = ({
1683
1683
  })
1684
1684
  });
1685
1685
  }, pe = (t, e = 0, o = !1) => {
1686
- const n = U(Ht()), [s, r] = rt(!1), [i, l] = rt(), [_, c] = rt(o), d = (b) => n.current.on("visible", b), p = (b) => n.current.on("click", b), u = (b) => n.current.on("clickHide", b), f = () => wt(void 0, null, function* () {
1686
+ const n = q(Ht()), [s, r] = rt(!1), [i, l] = rt(), [_, c] = rt(o), d = (b) => n.current.on("visible", b), p = (b) => n.current.on("click", b), u = (b) => n.current.on("clickHide", b), f = () => wt(void 0, null, function* () {
1687
1687
  yield c_(+e), r(!0);
1688
1688
  }), m = () => r(!1), v = () => {
1689
1689
  n.current.emit("clickHide"), m();
1690
1690
  };
1691
- return q(() => {
1691
+ return W(() => {
1692
1692
  _ && n.current.emit("visible", s);
1693
1693
  }, [s, _]), St(t, () => ({
1694
1694
  onVisible: d,
@@ -1698,7 +1698,7 @@ const Vo = Xo(), dt = ({
1698
1698
  hide: m,
1699
1699
  setApiHost: l,
1700
1700
  resetListeners: n.current.reset
1701
- })), q(() => n.current.reset, []), {
1701
+ })), W(() => n.current.reset, []), {
1702
1702
  isReady: _,
1703
1703
  isOpen: s,
1704
1704
  apiHost: i,
@@ -1718,8 +1718,8 @@ const Qd = _t(({
1718
1718
  id: t,
1719
1719
  className: e
1720
1720
  }, o) => {
1721
- var A, I, S, $, V, W, X;
1722
- const n = U(null), s = U(null), r = ut({
1721
+ var A, I, S, $, U, G, X;
1722
+ const n = q(null), s = q(null), r = ut({
1723
1723
  targetRef: n,
1724
1724
  id: t
1725
1725
  }), i = E(), l = ct(i, r);
@@ -1731,7 +1731,7 @@ const Qd = _t(({
1731
1731
  clickHide: f,
1732
1732
  click: m
1733
1733
  } = pe(o, c);
1734
- q(() => {
1734
+ W(() => {
1735
1735
  const z = s.current;
1736
1736
  if (!z)
1737
1737
  return;
@@ -1749,8 +1749,8 @@ const Qd = _t(({
1749
1749
  }, b = k(h({}, _ == null ? void 0 : _.button), {
1750
1750
  justifyContent: pt(($ = _.root) == null ? void 0 : $.textAlign)
1751
1751
  }), B = k(h({}, _ == null ? void 0 : _.legal), {
1752
- justifyContent: pt((V = _.root) == null ? void 0 : V.textAlign)
1753
- }), G = at(_.root, ...ao, ...Q), L = nt(_.root, ...ao);
1752
+ justifyContent: pt((U = _.root) == null ? void 0 : U.textAlign)
1753
+ }), F = at(_.root, ...ao, ...Q), L = nt(_.root, ...ao);
1754
1754
  return a("div", {
1755
1755
  className: T(K.root, e, {
1756
1756
  [K.desktop]: r === "desktop",
@@ -1775,13 +1775,13 @@ const Qd = _t(({
1775
1775
  }), a(O, {
1776
1776
  className: K.promotion,
1777
1777
  style: _.promotion,
1778
- children: (W = _.promotion) == null ? void 0 : W.children
1778
+ children: (G = _.promotion) == null ? void 0 : G.children
1779
1779
  }), a("a", {
1780
1780
  href: (X = _.root) == null ? void 0 : X.offer,
1781
1781
  target: "_blank",
1782
1782
  rel: "nofollow noopener noreferrer",
1783
1783
  className: K.content,
1784
- style: G,
1784
+ style: F,
1785
1785
  onClick: () => m(_.id),
1786
1786
  children: [a("img", {
1787
1787
  ref: s,
@@ -1894,7 +1894,7 @@ const Qd = _t(({
1894
1894
  id: t
1895
1895
  }, e) => {
1896
1896
  var p, u;
1897
- const o = U(null), n = ut({
1897
+ const o = q(null), n = ut({
1898
1898
  targetRef: o,
1899
1899
  id: t
1900
1900
  }), s = E(), r = ct(s, n), i = j(r);
@@ -1946,7 +1946,7 @@ const Qd = _t(({
1946
1946
  })]
1947
1947
  })]
1948
1948
  });
1949
- }), jf = it(a(bu, {})), $u = "_root_tsejc_1", ku = "_content_tsejc_11", xu = "_close_tsejc_18", Nu = "_promotion_tsejc_31", Cu = "_overlay_tsejc_39", wu = "_body_tsejc_45", Tu = "_desktop_tsejc_53", Ou = "_laptop_tsejc_53", ju = "_tablet_tsejc_57", Lu = "_head_tsejc_62", Au = "_title_tsejc_72", Iu = "_logo_tsejc_85", Su = "_wrapper_tsejc_92", Pu = "_text_tsejc_99", Ru = "_button_tsejc_107", Hu = "_buttonHead_tsejc_122", Mu = "_buttonTarget_tsejc_139", Eu = "_legal_tsejc_153", D = {
1949
+ }), jf = it(a(bu, {})), $u = "_root_tsejc_1", ku = "_content_tsejc_11", xu = "_close_tsejc_18", Nu = "_promotion_tsejc_31", Cu = "_overlay_tsejc_39", wu = "_body_tsejc_45", Tu = "_desktop_tsejc_53", Ou = "_laptop_tsejc_53", ju = "_tablet_tsejc_57", Lu = "_head_tsejc_62", Au = "_title_tsejc_72", Iu = "_logo_tsejc_85", Su = "_wrapper_tsejc_92", Pu = "_text_tsejc_99", Ru = "_button_tsejc_107", Hu = "_buttonHead_tsejc_122", Mu = "_buttonTarget_tsejc_139", Eu = "_legal_tsejc_153", V = {
1950
1950
  root: $u,
1951
1951
  content: ku,
1952
1952
  close: xu,
@@ -2083,7 +2083,7 @@ const Qd = _t(({
2083
2083
  }).then((d) => d.json());
2084
2084
  i(c.data);
2085
2085
  }), [l, e, n, s]);
2086
- return q(() => {
2086
+ return W(() => {
2087
2087
  e || _();
2088
2088
  }, [l, e]), {
2089
2089
  data: r,
@@ -2091,15 +2091,15 @@ const Qd = _t(({
2091
2091
  };
2092
2092
  };
2093
2093
  function qo(t) {
2094
- const e = U();
2095
- return q(() => {
2094
+ const e = q();
2095
+ return W(() => {
2096
2096
  e.current = t;
2097
2097
  }, [t]), e.current;
2098
2098
  }
2099
2099
  const ep = (t, e) => {
2100
2100
  const o = (c) => {
2101
2101
  var d;
2102
- return F(c == null ? void 0 : c.matchSlug) && ((d = c == null ? void 0 : c.matchSlug) == null ? void 0 : d.length) > 0;
2102
+ return D(c == null ? void 0 : c.matchSlug) && ((d = c == null ? void 0 : c.matchSlug) == null ? void 0 : d.length) > 0;
2103
2103
  }, n = t.children || [], s = n.filter((c) => o(c.root.targetMatch)).map((c) => c.root.targetMatch), r = qo(s), {
2104
2104
  data: i,
2105
2105
  execute: l
@@ -2117,13 +2117,13 @@ const ep = (t, e) => {
2117
2117
  },
2118
2118
  pause: !e || s.length === 0
2119
2119
  });
2120
- return q(() => {
2120
+ return W(() => {
2121
2121
  Mo(r, s) || l();
2122
2122
  }, [s]), n.map((c) => {
2123
2123
  const d = (i || []).find((f) => f.slug === c.root.targetMatch.matchSlug);
2124
2124
  if (!d)
2125
2125
  return;
2126
- const p = Ho(d), u = Eo(p, c.root.customMatch, (f, [m, v]) => F(v));
2126
+ const p = Ho(d), u = Eo(p, c.root.customMatch, (f, [m, v]) => D(v));
2127
2127
  return k(h({}, c), {
2128
2128
  match: u
2129
2129
  });
@@ -2131,12 +2131,12 @@ const ep = (t, e) => {
2131
2131
  }, op = _t(({
2132
2132
  id: t
2133
2133
  }, e) => {
2134
- var G, L, A, I, S, $, V, W, X, z, Ct, he, fe, ge;
2135
- const o = U(null), n = ut({
2134
+ var F, L, A, I, S, $, U, G, X, z, Ct, he, fe, ge;
2135
+ const o = q(null), n = ut({
2136
2136
  targetRef: o,
2137
2137
  id: t
2138
2138
  }), s = E(), r = ct(s, n);
2139
- At(r, "buttonWrapper.percent_width", (G = r == null ? void 0 : r.buttonWrapper) == null ? void 0 : G.width), At(r, "legal.percent_width", (L = r == null ? void 0 : r.legal) == null ? void 0 : L.width);
2139
+ At(r, "buttonWrapper.percent_width", (F = r == null ? void 0 : r.buttonWrapper) == null ? void 0 : F.width), At(r, "legal.percent_width", (L = r == null ? void 0 : r.legal) == null ? void 0 : L.width);
2140
2140
  const i = j(r);
2141
2141
  lt(r);
2142
2142
  const l = y(i, "root.delay", 0), {
@@ -2153,33 +2153,33 @@ const ep = (t, e) => {
2153
2153
  }), b = k(h({}, i == null ? void 0 : i.button), {
2154
2154
  justifyContent: pt(($ = i.root) == null ? void 0 : $.textAlign)
2155
2155
  }), B = k(h({}, i == null ? void 0 : i.legal), {
2156
- justifyContent: pt((V = i.root) == null ? void 0 : V.textAlign)
2156
+ justifyContent: pt((U = i.root) == null ? void 0 : U.textAlign)
2157
2157
  });
2158
2158
  return a("div", {
2159
- className: T(D.root, {
2160
- [D.desktop]: n === "desktop",
2161
- [D.laptop]: n === "laptop",
2162
- [D.tablet]: n === "tablet"
2159
+ className: T(V.root, {
2160
+ [V.desktop]: n === "desktop",
2161
+ [V.laptop]: n === "laptop",
2162
+ [V.tablet]: n === "tablet"
2163
2163
  }),
2164
2164
  ref: o,
2165
2165
  style: {
2166
2166
  display: _ ? "flex" : "none"
2167
2167
  },
2168
2168
  children: [a("div", {
2169
- className: D.overlay,
2169
+ className: V.overlay,
2170
2170
  style: i.overlay,
2171
2171
  onClick: d
2172
2172
  }), a("div", {
2173
- className: D.content,
2173
+ className: V.content,
2174
2174
  children: [a("div", {
2175
- className: D.close,
2175
+ className: V.close,
2176
2176
  style: gt(i.close),
2177
2177
  onClick: d,
2178
2178
  children: a(Nt, {})
2179
2179
  }), a(O, {
2180
- className: D.promotion,
2180
+ className: V.promotion,
2181
2181
  style: i.promotion,
2182
- children: (W = i.promotion) == null ? void 0 : W.children
2182
+ children: (G = i.promotion) == null ? void 0 : G.children
2183
2183
  }), a("a", {
2184
2184
  ref: o,
2185
2185
  href: (X = i.root) == null ? void 0 : X.offer,
@@ -2187,20 +2187,20 @@ const ep = (t, e) => {
2187
2187
  rel: "nofollow noopener noreferrer",
2188
2188
  onClick: () => p(i.id),
2189
2189
  children: a("div", {
2190
- className: D.body,
2190
+ className: V.body,
2191
2191
  style: f,
2192
2192
  children: [a("div", {
2193
- className: D.head,
2193
+ className: V.head,
2194
2194
  children: [a("div", {
2195
- className: D.title,
2195
+ className: V.title,
2196
2196
  style: i.title,
2197
2197
  children: (z = i.title) == null ? void 0 : z.children
2198
2198
  }), a("div", {
2199
- className: D.logo,
2199
+ className: V.logo,
2200
2200
  style: i.logo
2201
2201
  })]
2202
2202
  }), a("div", {
2203
- className: D.wrapper,
2203
+ className: V.wrapper,
2204
2204
  style: m,
2205
2205
  children: (u || []).map((Uo) => a(dt, {
2206
2206
  value: k(h({}, Uo), {
@@ -2209,25 +2209,25 @@ const ep = (t, e) => {
2209
2209
  children: a(tp, {})
2210
2210
  }))
2211
2211
  }), a(O, {
2212
- className: D.text,
2212
+ className: V.text,
2213
2213
  style: v,
2214
2214
  typography: v.typography,
2215
2215
  accentTypography: v.accentTypography,
2216
2216
  children: (Ct = i.text) == null ? void 0 : Ct.children
2217
2217
  }), a("div", {
2218
- className: D.button,
2218
+ className: V.button,
2219
2219
  style: i.buttonWrapper,
2220
2220
  children: [a("div", {
2221
- className: D.buttonHead,
2221
+ className: V.buttonHead,
2222
2222
  style: i.buttonHead,
2223
2223
  children: (he = i.buttonHead) == null ? void 0 : he.children
2224
2224
  }), a("div", {
2225
- className: D.buttonTarget,
2225
+ className: V.buttonTarget,
2226
2226
  style: b,
2227
2227
  children: (fe = i.button) == null ? void 0 : fe.children
2228
2228
  })]
2229
2229
  }), a(O, {
2230
- className: D.legal,
2230
+ className: V.legal,
2231
2231
  style: B,
2232
2232
  children: (ge = i.legal) == null ? void 0 : ge.children
2233
2233
  })]
@@ -2302,17 +2302,17 @@ const ep = (t, e) => {
2302
2302
  })]
2303
2303
  });
2304
2304
  }, fp = (t) => {
2305
- const e = U(Ht()), o = (n) => e.current.on("click", n);
2305
+ const e = q(Ht()), o = (n) => e.current.on("click", n);
2306
2306
  return St(t, () => ({
2307
2307
  promoId: "ContentCards",
2308
2308
  onClick: o,
2309
2309
  resetListeners: e.current.reset
2310
- })), q(() => e.current.reset, []), {
2310
+ })), W(() => e.current.reset, []), {
2311
2311
  click: (...n) => e.current.emit("click", ...n),
2312
2312
  onClick: o
2313
2313
  };
2314
2314
  }, gp = _t((t, e) => {
2315
- const o = U(null), n = E(), r = ct(n, "mobile"), i = j(r);
2315
+ const o = q(null), n = E(), r = ct(n, "mobile"), i = j(r);
2316
2316
  lt(r);
2317
2317
  const {
2318
2318
  click: l
@@ -2540,7 +2540,7 @@ const ep = (t, e) => {
2540
2540
  }, uh = (t = []) => {
2541
2541
  var r;
2542
2542
  const e = t.length, [o, n] = rt(0), s = (r = t[o || 0]) == null ? void 0 : r.animationDuration;
2543
- return q(() => {
2543
+ return W(() => {
2544
2544
  const l = setTimeout(() => {
2545
2545
  n((_) => _ + 1 < e ? _ + 1 : 0);
2546
2546
  }, s);
@@ -2552,7 +2552,7 @@ const ep = (t, e) => {
2552
2552
  }, io = (t) => [ph[t]], hh = (t, e) => {
2553
2553
  const o = (c) => {
2554
2554
  var d;
2555
- return F(c == null ? void 0 : c.matchSlug) && ((d = c == null ? void 0 : c.matchSlug) == null ? void 0 : d.length) > 0;
2555
+ return D(c == null ? void 0 : c.matchSlug) && ((d = c == null ? void 0 : c.matchSlug) == null ? void 0 : d.length) > 0;
2556
2556
  }, n = (t == null ? void 0 : t.children) || [], s = n.filter((c) => o(c.root.targetMatch)).map((c) => k(h({}, c.root.targetMatch), {
2557
2557
  markets: io(c.name)
2558
2558
  })), r = qo(s), {
@@ -2572,7 +2572,7 @@ const ep = (t, e) => {
2572
2572
  },
2573
2573
  pause: !e || s.length === 0
2574
2574
  });
2575
- return q(() => {
2575
+ return W(() => {
2576
2576
  Mo(r, s) || l();
2577
2577
  }, [s]), n.map((c) => {
2578
2578
  if ("targetMatch" in c.root) {
@@ -2581,7 +2581,7 @@ const ep = (t, e) => {
2581
2581
  return;
2582
2582
  const p = io(c.name), u = Ho(d, {
2583
2583
  markets: p
2584
- }), f = Eo(u, c.root.customMatch, (m, [v, b]) => F(b));
2584
+ }), f = Eo(u, c.root.customMatch, (m, [v, b]) => D(b));
2585
2585
  return k(h({}, c), {
2586
2586
  match: f
2587
2587
  });
@@ -2589,12 +2589,12 @@ const ep = (t, e) => {
2589
2589
  return c;
2590
2590
  }).filter(Boolean);
2591
2591
  }, fh = (t) => {
2592
- const e = U(Ht()), [o, n] = rt(!1), [s, r] = rt(), i = (u) => e.current.on("visible", u), l = (u) => e.current.on("click", u), _ = (u) => e.current.on("clickHide", u), c = () => wt(void 0, null, function* () {
2592
+ const e = q(Ht()), [o, n] = rt(!1), [s, r] = rt(), i = (u) => e.current.on("visible", u), l = (u) => e.current.on("click", u), _ = (u) => e.current.on("clickHide", u), c = () => wt(void 0, null, function* () {
2593
2593
  n(!0);
2594
2594
  }), d = () => n(!1), p = () => {
2595
2595
  e.current.emit("clickHide"), d();
2596
2596
  };
2597
- return q(() => {
2597
+ return W(() => {
2598
2598
  e.current.emit("visible", o);
2599
2599
  }, [o]), St(t, () => ({
2600
2600
  onVisible: i,
@@ -2604,7 +2604,7 @@ const ep = (t, e) => {
2604
2604
  hide: d,
2605
2605
  setApiHost: r,
2606
2606
  resetListeners: e.current.reset
2607
- })), q(() => e.current.reset, []), {
2607
+ })), W(() => e.current.reset, []), {
2608
2608
  isOpen: o,
2609
2609
  apiHost: s,
2610
2610
  show: c,
@@ -2617,8 +2617,8 @@ const ep = (t, e) => {
2617
2617
  }, gh = 3700, mh = _t(({
2618
2618
  id: t
2619
2619
  }, e) => {
2620
- var G, L, A, I, S;
2621
- const o = U(null), n = E(), s = ut({
2620
+ var F, L, A, I, S;
2621
+ const o = q(null), n = E(), s = ut({
2622
2622
  id: t,
2623
2623
  targetRef: o
2624
2624
  }), r = ct(n, s), i = j(r);
@@ -2633,12 +2633,12 @@ const ep = (t, e) => {
2633
2633
  matches: a(Qp, {}),
2634
2634
  matchesOneTwo: a(dh, {})
2635
2635
  })[$], f = p.filter(Boolean).map(($) => {
2636
- var V, W;
2636
+ var U, G;
2637
2637
  return k(h({}, $), {
2638
- animationName: (V = $ == null ? void 0 : $.root) == null ? void 0 : V.animationName,
2639
- animationDuration: ((W = $ == null ? void 0 : $.root) == null ? void 0 : W.animationDuration) || gh
2638
+ animationName: (U = $ == null ? void 0 : $.root) == null ? void 0 : U.animationName,
2639
+ animationDuration: ((G = $ == null ? void 0 : $.root) == null ? void 0 : G.animationDuration) || gh
2640
2640
  });
2641
- }), m = uh(f), v = j(f[m] || {}), b = at(i.root, ...Q), B = (G = v == null ? void 0 : v.root) != null && G.hasCustomBackground ? nt((v == null ? void 0 : v.root) || {}, ...Q) : nt(i.root, ...Q);
2641
+ }), m = uh(f), v = j(f[m] || {}), b = at(i.root, ...Q), B = (F = v == null ? void 0 : v.root) != null && F.hasCustomBackground ? nt((v == null ? void 0 : v.root) || {}, ...Q) : nt(i.root, ...Q);
2642
2642
  return a("div", {
2643
2643
  ref: o,
2644
2644
  className: T(H.root, {
@@ -2677,12 +2677,12 @@ const ep = (t, e) => {
2677
2677
  })
2678
2678
  }), a("div", {
2679
2679
  className: H.center,
2680
- children: (f || []).map(($, V) => {
2681
- var W, X;
2680
+ children: (f || []).map(($, U) => {
2681
+ var G, X;
2682
2682
  return a("div", {
2683
2683
  className: H.slide,
2684
2684
  style: {
2685
- animationName: m === V ? H[((W = $.root) == null ? void 0 : W.animationName) || "fade-in-out"] : "none",
2685
+ animationName: m === U ? H[((G = $.root) == null ? void 0 : G.animationName) || "fade-in-out"] : "none",
2686
2686
  animationDuration: `${(X = $.root) == null ? void 0 : X.animationDuration}ms`
2687
2687
  },
2688
2688
  children: a(dt, {
@@ -2889,22 +2889,22 @@ const ep = (t, e) => {
2889
2889
  })]
2890
2890
  });
2891
2891
  }, qh = (t) => {
2892
- const e = U(Ht()), o = (s) => e.current.on("click", s), n = (s) => e.current.on("visible", s);
2892
+ const e = q(Ht()), o = (s) => e.current.on("click", s), n = (s) => e.current.on("visible", s);
2893
2893
  return St(t, () => ({
2894
2894
  promoId: "ContentCards",
2895
2895
  onClick: o,
2896
2896
  onVisible: n,
2897
2897
  resetListeners: e.current.reset
2898
- })), q(() => {
2898
+ })), W(() => {
2899
2899
  e.current.emit("visible");
2900
- }, []), q(() => e.current.reset, []), {
2900
+ }, []), W(() => e.current.reset, []), {
2901
2901
  click: (...s) => e.current.emit("click", ...s),
2902
2902
  onClick: o
2903
2903
  };
2904
2904
  }, Uh = _t(({
2905
2905
  id: t
2906
2906
  }, e) => {
2907
- const o = U(null), n = E(), s = ut({
2907
+ const o = q(null), n = E(), s = ut({
2908
2908
  targetRef: o,
2909
2909
  id: t
2910
2910
  }), r = ct(n, s), i = j(r);
@@ -3015,8 +3015,8 @@ const ep = (t, e) => {
3015
3015
  </svg>`, bf = ({
3016
3016
  id: t
3017
3017
  }) => {
3018
- var p, u, f, m, v, b, B, G, L, A, I, S, $, V, W, X;
3019
- const e = U(null), o = E(), n = ut({
3018
+ var p, u, f, m, v, b, B, F, L, A, I, S, $, U, G, X;
3019
+ const e = q(null), o = E(), n = ut({
3020
3020
  targetRef: e,
3021
3021
  id: t
3022
3022
  }), s = ct(o, n);
@@ -3069,7 +3069,7 @@ const ep = (t, e) => {
3069
3069
  children: a(O, {
3070
3070
  typography: r == null ? void 0 : r.fullDescription,
3071
3071
  replacer: (z) => `<div class="${x.item}" style="${z}">${co} $1</div>`,
3072
- children: (G = r == null ? void 0 : r.fullDescription) == null ? void 0 : G.children
3072
+ children: (F = r == null ? void 0 : r.fullDescription) == null ? void 0 : F.children
3073
3073
  })
3074
3074
  }), a("div", {
3075
3075
  className: T(x.legal, {
@@ -3110,11 +3110,11 @@ const ep = (t, e) => {
3110
3110
  className: x.codeTitle,
3111
3111
  children: a(O, {
3112
3112
  typography: r == null ? void 0 : r.promoCode,
3113
- children: (V = r == null ? void 0 : r.promoCode) == null ? void 0 : V.children
3113
+ children: (U = r == null ? void 0 : r.promoCode) == null ? void 0 : U.children
3114
3114
  })
3115
3115
  }), a("div", {
3116
3116
  className: x.codeDescription,
3117
- children: (W = r == null ? void 0 : r.promoCode) == null ? void 0 : W.description
3117
+ children: (G = r == null ? void 0 : r.promoCode) == null ? void 0 : G.description
3118
3118
  })]
3119
3119
  })]
3120
3120
  }), a("div", {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adstore/templates",
3
3
  "private": false,
4
- "version": "2.7.4",
4
+ "version": "2.7.5",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"