@revenuecat/purchases-js 1.7.0 → 1.9.0

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.
@@ -10,14 +10,14 @@ var Vn = (e) => [, , , fs((e == null ? void 0 : e[Rn("metadata")]) ?? null)], Hn
10
10
  for (var n = 0, o = e[r >> 1], i = o && o.length; n < i; n++) r & 1 ? o[n].call(t) : a = o[n].call(t, a);
11
11
  return a;
12
12
  }, Yn = (e, r, t, a, n, o) => {
13
- var i, s, l, c, p, u = r & 7, _ = !!(r & 8), g = !!(r & 16), m = u > 3 ? e.length + 1 : u ? _ ? 1 : 2 : 0, f = Hn[u + 5], h = u > 3 && (e[m - 1] = []), v = e[m] || (e[m] = []), y = u && (!g && !_ && (n = n.prototype), u < 5 && (u > 3 || !g) && ys(u < 4 ? n : { get [t]() {
13
+ var i, s, l, c, p, u = r & 7, _ = !!(r & 8), g = !!(r & 16), m = u > 3 ? e.length + 1 : u ? _ ? 1 : 2 : 0, f = Hn[u + 5], v = u > 3 && (e[m - 1] = []), h = e[m] || (e[m] = []), y = u && (!g && !_ && (n = n.prototype), u < 5 && (u > 3 || !g) && ys(u < 4 ? n : { get [t]() {
14
14
  return Ln(this, o);
15
15
  }, set [t](T) {
16
16
  return Bn(this, o, T);
17
17
  } }, t));
18
18
  u ? g && u < 4 && On(o, (u > 2 ? "set " : u > 1 ? "get " : "") + t) : On(n, t);
19
19
  for (var x = a.length - 1; x >= 0; x--)
20
- c = bs(u, t, l = {}, e[3], v), u && (c.static = _, c.private = g, p = c.access = { has: g ? (T) => hs(n, T) : (T) => t in T }, u ^ 3 && (p.get = g ? (T) => (u ^ 1 ? Ln : vs)(T, n, u ^ 4 ? o : y.get) : (T) => T[t]), u > 2 && (p.set = g ? (T, S) => Bn(T, n, S, u ^ 4 ? o : y.set) : (T, S) => T[t] = S)), s = (0, a[x])(u ? u < 4 ? g ? o : y[f] : u > 4 ? void 0 : { get: y.get, set: y.set } : n, c), l._ = 1, u ^ 4 || s === void 0 ? gt(s) && (u > 4 ? h.unshift(s) : u ? g ? o = s : y[f] = s : n = s) : typeof s != "object" || s === null ? mt("Object expected") : (gt(i = s.get) && (y.get = i), gt(i = s.set) && (y.set = i), gt(i = s.init) && h.unshift(i));
20
+ c = bs(u, t, l = {}, e[3], h), u && (c.static = _, c.private = g, p = c.access = { has: g ? (T) => hs(n, T) : (T) => t in T }, u ^ 3 && (p.get = g ? (T) => (u ^ 1 ? Ln : vs)(T, n, u ^ 4 ? o : y.get) : (T) => T[t]), u > 2 && (p.set = g ? (T, S) => Bn(T, n, S, u ^ 4 ? o : y.set) : (T, S) => T[t] = S)), s = (0, a[x])(u ? u < 4 ? g ? o : y[f] : u > 4 ? void 0 : { get: y.get, set: y.set } : n, c), l._ = 1, u ^ 4 || s === void 0 ? gt(s) && (u > 4 ? v.unshift(s) : u ? g ? o = s : y[f] = s : n = s) : typeof s != "object" || s === null ? mt("Object expected") : (gt(i = s.get) && (y.get = i), gt(i = s.set) && (y.set = i), gt(i = s.init) && v.unshift(i));
21
21
  return u || Sa(e, n), y && Pa(n, t, y), g ? u ^ 4 ? o : y : n;
22
22
  }, M = (e, r, t) => Un(e, typeof r != "symbol" ? r + "" : r, t), Ea = (e, r, t) => r.has(e) || mt("Cannot " + t), hs = (e, r) => Object(r) !== r ? mt('Cannot use the "in" operator on this value') : e.has(r), Ln = (e, r, t) => (Ea(e, r, "read from private field"), t ? t.call(e) : r.get(e));
23
23
  var Bn = (e, r, t, a) => (Ea(e, r, "write to private field"), a ? a.call(e, t) : r.set(e, t), t), vs = (e, r, t) => (Ea(e, r, "access private method"), t);
@@ -147,7 +147,7 @@ function X(e) {
147
147
  function ga(e, r = !1) {
148
148
  var a;
149
149
  const t = je(e);
150
- return r || (t.equals = cn), lt && $ !== null && $.l !== null && ((a = $.l).s ?? (a.s = [])).push(t), t;
150
+ return r || (t.equals = cn), lt && ee !== null && ee.l !== null && ((a = ee.l).s ?? (a.s = [])).push(t), t;
151
151
  }
152
152
  function Ca(e, r = !1) {
153
153
  return /* @__PURE__ */ Lo(/* @__PURE__ */ ga(e, r));
@@ -162,14 +162,14 @@ function D(e, r) {
162
162
  (dr === null || !dr.includes(e)) && al(), Oa(e, r);
163
163
  }
164
164
  function Oa(e, r) {
165
- return e.equals(r) || (e.v, e.v = r, e.wv = ri(), Bo(e, qr), mn() && Z !== null && (Z.f & Ie) !== 0 && (Z.f & Ke) === 0 && (Se !== null && Se.includes(e) ? (Je(Z, qr), ba(Z)) : Tr === null ? fl([e]) : Tr.push(e))), r;
165
+ return e.equals(r) || (e.v, e.v = r, e.wv = ri(), Bo(e, qr), mn() && K !== null && (K.f & Ie) !== 0 && (K.f & Ke) === 0 && (Se !== null && Se.includes(e) ? (Je(K, qr), ba(K)) : Tr === null ? fl([e]) : Tr.push(e))), r;
166
166
  }
167
167
  function Bo(e, r) {
168
168
  var t = e.reactions;
169
169
  if (t !== null)
170
170
  for (var a = mn(), n = t.length, o = 0; o < n; o++) {
171
171
  var i = t[o], s = i.f;
172
- (s & qr) === 0 && (!a && i === Z || (Je(i, r), (s & (Ie | Vr)) !== 0 && ((s & Ze) !== 0 ? Bo(
172
+ (s & qr) === 0 && (!a && i === K || (Je(i, r), (s & (Ie | Vr)) !== 0 && ((s & Ze) !== 0 ? Bo(
173
173
  /** @type {Derived} */
174
174
  i,
175
175
  Dt
@@ -180,7 +180,7 @@ function Bo(e, r) {
180
180
  }
181
181
  }
182
182
  let dn = !1;
183
- function B(e, r = null, t) {
183
+ function L(e, r = null, t) {
184
184
  if (typeof e != "object" || e === null || Er in e)
185
185
  return e;
186
186
  const a = ln(e);
@@ -199,7 +199,7 @@ function B(e, r = null, t) {
199
199
  defineProperty(l, c, p) {
200
200
  (!("value" in p) || p.configurable === !1 || p.enumerable === !1 || p.writable === !1) && el();
201
201
  var u = n.get(c);
202
- return u === void 0 ? (u = je(p.value), n.set(c, u)) : D(u, B(p.value, s)), !0;
202
+ return u === void 0 ? (u = je(p.value), n.set(c, u)) : D(u, L(p.value, s)), !0;
203
203
  },
204
204
  deleteProperty(l, c) {
205
205
  var p = n.get(c);
@@ -222,7 +222,7 @@ function B(e, r = null, t) {
222
222
  if (c === Er)
223
223
  return e;
224
224
  var u = n.get(c), _ = c in l;
225
- if (u === void 0 && (!_ || (m = Sr(l, c)) != null && m.writable) && (u = je(B(_ ? l[c] : Te, s)), n.set(c, u)), u !== void 0) {
225
+ if (u === void 0 && (!_ || (m = Sr(l, c)) != null && m.writable) && (u = je(L(_ ? l[c] : Te, s)), n.set(c, u)), u !== void 0) {
226
226
  var g = d(u);
227
227
  return g === Te ? void 0 : g;
228
228
  }
@@ -250,8 +250,8 @@ function B(e, r = null, t) {
250
250
  if (c === Er)
251
251
  return !0;
252
252
  var p = n.get(c), u = p !== void 0 && p.v !== Te || Reflect.has(l, c);
253
- if (p !== void 0 || Z !== null && (!u || (g = Sr(l, c)) != null && g.writable)) {
254
- p === void 0 && (p = je(u ? B(l[c], s) : Te), n.set(c, p));
253
+ if (p !== void 0 || K !== null && (!u || (g = Sr(l, c)) != null && g.writable)) {
254
+ p === void 0 && (p = je(u ? L(l[c], s) : Te), n.set(c, p));
255
255
  var _ = d(p);
256
256
  if (_ === Te)
257
257
  return !1;
@@ -267,15 +267,15 @@ function B(e, r = null, t) {
267
267
  var f = n.get(m + "");
268
268
  f !== void 0 ? D(f, Te) : m in l && (f = je(Te), n.set(m + "", f));
269
269
  }
270
- _ === void 0 ? (!g || (x = Sr(l, c)) != null && x.writable) && (_ = je(void 0), D(_, B(p, s)), n.set(c, _)) : (g = _.v !== Te, D(_, B(p, s)));
271
- var h = Reflect.getOwnPropertyDescriptor(l, c);
272
- if (h != null && h.set && h.set.call(u, p), !g) {
270
+ _ === void 0 ? (!g || (x = Sr(l, c)) != null && x.writable) && (_ = je(void 0), D(_, L(p, s)), n.set(c, _)) : (g = _.v !== Te, D(_, L(p, s)));
271
+ var v = Reflect.getOwnPropertyDescriptor(l, c);
272
+ if (v != null && v.set && v.set.call(u, p), !g) {
273
273
  if (o && typeof c == "string") {
274
- var v = (
274
+ var h = (
275
275
  /** @type {Source<number>} */
276
276
  n.get("length")
277
277
  ), y = Number(c);
278
- Number.isInteger(y) && y >= v.v && D(v, y + 1);
278
+ Number.isInteger(y) && y >= h.v && D(h, y + 1);
279
279
  }
280
280
  Xn(i);
281
281
  }
@@ -322,7 +322,7 @@ function ma(e) {
322
322
  function P(e, r) {
323
323
  return /* @__PURE__ */ Br(e);
324
324
  }
325
- function Y(e, r) {
325
+ function G(e, r) {
326
326
  {
327
327
  var t = (
328
328
  /** @type {DocumentFragment} */
@@ -334,7 +334,7 @@ function Y(e, r) {
334
334
  return t instanceof Comment && t.data === "" ? /* @__PURE__ */ ma(t) : t;
335
335
  }
336
336
  }
337
- function O(e, r = 1, t = !1) {
337
+ function C(e, r = 1, t = !1) {
338
338
  let a = e;
339
339
  for (; r--; )
340
340
  a = /** @type {TemplateNode} */
@@ -347,14 +347,14 @@ function sl(e) {
347
347
  // @__NO_SIDE_EFFECTS__
348
348
  function E(e) {
349
349
  var r = Ze | qr;
350
- Z === null ? r |= Vr : Z.f |= jo;
350
+ K === null ? r |= Vr : K.f |= jo;
351
351
  var t = le !== null && (le.f & Ze) !== 0 ? (
352
352
  /** @type {Derived} */
353
353
  le
354
354
  ) : null;
355
355
  const a = {
356
356
  children: null,
357
- ctx: $,
357
+ ctx: ee,
358
358
  deps: null,
359
359
  equals: Co,
360
360
  f: r,
@@ -366,7 +366,7 @@ function E(e) {
366
366
  null
367
367
  ),
368
368
  wv: 0,
369
- parent: t ?? Z
369
+ parent: t ?? K
370
370
  };
371
371
  return t !== null && (t.children ?? (t.children = [])).push(a), a;
372
372
  }
@@ -403,7 +403,7 @@ function ll(e) {
403
403
  return null;
404
404
  }
405
405
  function Ho(e) {
406
- var r, t = Z;
406
+ var r, t = K;
407
407
  qe(ll(e));
408
408
  try {
409
409
  Vo(e), r = ti(e);
@@ -420,15 +420,15 @@ function un(e) {
420
420
  Vo(e), St(e, 0), Je(e, st), e.v = e.children = e.deps = e.ctx = e.reactions = null;
421
421
  }
422
422
  function Yo(e) {
423
- Z === null && le === null && Js(), le !== null && (le.f & Vr) !== 0 && Ks(), gn && Zs();
423
+ K === null && le === null && Js(), le !== null && (le.f & Vr) !== 0 && Ks(), gn && Zs();
424
424
  }
425
425
  function cl(e, r) {
426
426
  var t = r.last;
427
427
  t === null ? r.last = r.first = e : (t.next = e, e.prev = t, r.last = e);
428
428
  }
429
429
  function ct(e, r, t, a = !0) {
430
- var n = (e & zt) !== 0, o = Z, i = {
431
- ctx: $,
430
+ var n = (e & zt) !== 0, o = K, i = {
431
+ ctx: ee,
432
432
  deps: null,
433
433
  deriveds: null,
434
434
  nodes_start: null,
@@ -470,15 +470,15 @@ function Go(e) {
470
470
  }
471
471
  function at(e) {
472
472
  Yo();
473
- var r = Z !== null && (Z.f & Ke) !== 0 && $ !== null && !$.m;
473
+ var r = K !== null && (K.f & Ke) !== 0 && ee !== null && !ee.m;
474
474
  if (r) {
475
475
  var t = (
476
476
  /** @type {ComponentContext} */
477
- $
477
+ ee
478
478
  );
479
479
  (t.e ?? (t.e = [])).push({
480
480
  fn: e,
481
- effect: Z,
481
+ effect: K,
482
482
  reaction: le
483
483
  });
484
484
  } else {
@@ -503,7 +503,7 @@ function fa(e) {
503
503
  function Kn(e, r) {
504
504
  var t = (
505
505
  /** @type {ComponentContextLegacy} */
506
- $
506
+ ee
507
507
  ), a = { effect: null, ran: !1 };
508
508
  t.l.r1.push(a), a.effect = ya(() => {
509
509
  e(), !a.ran && (a.ran = !0, D(t.l.r2, !0), br(r));
@@ -512,7 +512,7 @@ function Kn(e, r) {
512
512
  function pl() {
513
513
  var e = (
514
514
  /** @type {ComponentContextLegacy} */
515
- $
515
+ ee
516
516
  );
517
517
  ya(() => {
518
518
  if (d(e.l.r2)) {
@@ -659,9 +659,9 @@ let le = null;
659
659
  function He(e) {
660
660
  le = e;
661
661
  }
662
- let Z = null;
662
+ let K = null;
663
663
  function qe(e) {
664
- Z = e;
664
+ K = e;
665
665
  }
666
666
  let dr = null;
667
667
  function ml(e) {
@@ -671,15 +671,15 @@ let Se = null, Me = 0, Tr = null;
671
671
  function fl(e) {
672
672
  Tr = e;
673
673
  }
674
- let ei = 1, Ua = 0, Or = !1, $ = null;
674
+ let ei = 1, Ua = 0, Or = !1, ee = null;
675
675
  function $n(e) {
676
- $ = e;
676
+ ee = e;
677
677
  }
678
678
  function ri() {
679
679
  return ++ei;
680
680
  }
681
681
  function mn() {
682
- return !lt || $ !== null && $.l === null;
682
+ return !lt || ee !== null && ee.l === null;
683
683
  }
684
684
  function dt(e) {
685
685
  var c;
@@ -689,7 +689,7 @@ function dt(e) {
689
689
  if ((r & Dt) !== 0) {
690
690
  var t = e.deps, a = (r & Vr) !== 0;
691
691
  if (t !== null) {
692
- var n, o, i = (r & Kt) !== 0, s = a && Z !== null && !Or, l = t.length;
692
+ var n, o, i = (r & Kt) !== 0, s = a && K !== null && !Or, l = t.length;
693
693
  if (i || s) {
694
694
  for (n = 0; n < l; n++)
695
695
  o = t[n], (i || !((c = o == null ? void 0 : o.reactions) != null && c.includes(e))) && (o.reactions ?? (o.reactions = [])).push(e);
@@ -705,7 +705,7 @@ function dt(e) {
705
705
  ), o.wv > e.wv)
706
706
  return !0;
707
707
  }
708
- (!a || Z !== null && !Or) && Je(e, Ie);
708
+ (!a || K !== null && !Or) && Je(e, Ie);
709
709
  }
710
710
  return !1;
711
711
  }
@@ -742,9 +742,9 @@ function Mt(e, r, t, a) {
742
742
  }
743
743
  function ti(e) {
744
744
  var _;
745
- var r = Se, t = Me, a = Tr, n = le, o = Or, i = dr, s = $, l = e.f;
745
+ var r = Se, t = Me, a = Tr, n = le, o = Or, i = dr, s = ee, l = e.f;
746
746
  Se = /** @type {null | Value[]} */
747
- null, Me = 0, Tr = null, le = (l & (Ke | zt)) === 0 ? e : null, Or = !rt && (l & Vr) !== 0, dr = null, $ = e.ctx, Ua++;
747
+ null, Me = 0, Tr = null, le = (l & (Ke | zt)) === 0 ? e : null, Or = !rt && (l & Vr) !== 0, dr = null, ee = e.ctx, Ua++;
748
748
  try {
749
749
  var c = (
750
750
  /** @type {Function} */
@@ -763,7 +763,7 @@ function ti(e) {
763
763
  } else p !== null && Me < p.length && (St(e, Me), p.length = Me);
764
764
  return c;
765
765
  } finally {
766
- Se = r, Me = t, Tr = a, le = n, Or = o, dr = i, $ = s;
766
+ Se = r, Me = t, Tr = a, le = n, Or = o, dr = i, ee = s;
767
767
  }
768
768
  }
769
769
  function hl(e, r) {
@@ -794,8 +794,8 @@ function jt(e) {
794
794
  var r = e.f;
795
795
  if ((r & st) === 0) {
796
796
  Je(e, Ie);
797
- var t = Z, a = $;
798
- Z = e;
797
+ var t = K, a = ee;
798
+ K = e;
799
799
  try {
800
800
  (r & _a) !== 0 ? _l(e) : Ko(e), Zo(e), Xo(e);
801
801
  var n = ti(e);
@@ -805,7 +805,7 @@ function jt(e) {
805
805
  } catch (s) {
806
806
  Mt(s, e, t, a || e.ctx);
807
807
  } finally {
808
- Z = t;
808
+ K = t;
809
809
  }
810
810
  }
811
811
  }
@@ -926,7 +926,7 @@ function d(e) {
926
926
  if (le !== null) {
927
927
  dr !== null && dr.includes(e) && tl();
928
928
  var n = le.deps;
929
- e.rv < Ua && (e.rv = Ua, Se === null && n !== null && n[Me] === e ? Me++ : Se === null ? Se = [e] : Se.push(e), Tr !== null && Z !== null && (Z.f & Ie) !== 0 && (Z.f & Ke) === 0 && Tr.includes(e) && (Je(Z, qr), ba(Z)));
929
+ e.rv < Ua && (e.rv = Ua, Se === null && n !== null && n[Me] === e ? Me++ : Se === null ? Se = [e] : Se.push(e), Tr !== null && K !== null && (K.f & Ie) !== 0 && (K.f & Ke) === 0 && Tr.includes(e) && (Je(K, qr), ba(K)));
930
930
  } else if (t && /** @type {Derived} */
931
931
  e.deps === null)
932
932
  for (var o = (
@@ -972,7 +972,7 @@ function Ia(e, r) {
972
972
  return ni().set(e, r), r;
973
973
  }
974
974
  function ni(e) {
975
- return $ === null && _n(), $.c ?? ($.c = new Map(Sl($) || void 0));
975
+ return ee === null && _n(), ee.c ?? (ee.c = new Map(Sl(ee) || void 0));
976
976
  }
977
977
  function Sl(e) {
978
978
  let r = e.p;
@@ -984,29 +984,29 @@ function Sl(e) {
984
984
  }
985
985
  return null;
986
986
  }
987
- function V(e, r = !1, t) {
988
- $ = {
989
- p: $,
987
+ function H(e, r = !1, t) {
988
+ ee = {
989
+ p: ee,
990
990
  c: null,
991
991
  e: null,
992
992
  m: !1,
993
993
  s: e,
994
994
  x: null,
995
995
  l: null
996
- }, lt && !r && ($.l = {
996
+ }, lt && !r && (ee.l = {
997
997
  s: null,
998
998
  u: null,
999
999
  r1: [],
1000
1000
  r2: je(!1)
1001
1001
  });
1002
1002
  }
1003
- function H(e) {
1004
- const r = $;
1003
+ function W(e) {
1004
+ const r = ee;
1005
1005
  if (r !== null) {
1006
1006
  e !== void 0 && (r.x = e);
1007
1007
  const i = r.e;
1008
1008
  if (i !== null) {
1009
- var t = Z, a = le;
1009
+ var t = K, a = le;
1010
1010
  r.e = null;
1011
1011
  try {
1012
1012
  for (var n = 0; n < i.length; n++) {
@@ -1017,7 +1017,7 @@ function H(e) {
1017
1017
  qe(t), He(a);
1018
1018
  }
1019
1019
  }
1020
- $ = r.p, r.m = !0;
1020
+ ee = r.p, r.m = !0;
1021
1021
  }
1022
1022
  return e || /** @type {T} */
1023
1023
  {};
@@ -1065,7 +1065,7 @@ function El(e, r) {
1065
1065
  }
1066
1066
  }
1067
1067
  function Tl(e) {
1068
- var r = le, t = Z;
1068
+ var r = le, t = K;
1069
1069
  He(null), qe(null);
1070
1070
  try {
1071
1071
  return e();
@@ -1124,7 +1124,7 @@ function ft(e) {
1124
1124
  return o || t;
1125
1125
  }
1126
1126
  });
1127
- var p = le, u = Z;
1127
+ var p = le, u = K;
1128
1128
  He(null), qe(null);
1129
1129
  try {
1130
1130
  for (var _, g = []; o !== null; ) {
@@ -1135,8 +1135,8 @@ function ft(e) {
1135
1135
  if (f !== void 0 && !/** @type {any} */
1136
1136
  o.disabled)
1137
1137
  if (pa(f)) {
1138
- var [h, ...v] = f;
1139
- h.apply(o, [e, ...v]);
1138
+ var [v, ...h] = f;
1139
+ v.apply(o, [e, ...h]);
1140
1140
  } else
1141
1141
  f.call(o, e);
1142
1142
  } catch (x) {
@@ -1165,7 +1165,7 @@ function fn(e) {
1165
1165
  function Ur(e, r) {
1166
1166
  var t = (
1167
1167
  /** @type {Effect} */
1168
- Z
1168
+ K
1169
1169
  );
1170
1170
  t.nodes_start === null && (t.nodes_start = e, t.nodes_end = r);
1171
1171
  }
@@ -1221,7 +1221,7 @@ function ie(e = "") {
1221
1221
  return Ur(r, r), r;
1222
1222
  }
1223
1223
  }
1224
- function ee() {
1224
+ function re() {
1225
1225
  var e = document.createDocumentFragment(), r = document.createComment(""), t = At();
1226
1226
  return e.append(r, t), Ur(r, t), e;
1227
1227
  }
@@ -1235,7 +1235,7 @@ let $t = !0;
1235
1235
  function eo(e) {
1236
1236
  $t = e;
1237
1237
  }
1238
- function te(e, r) {
1238
+ function ae(e, r) {
1239
1239
  var t = r == null ? "" : typeof r == "object" ? r + "" : r;
1240
1240
  t !== (e.__t ?? (e.__t = e.nodeValue)) && (e.__t = t, e.nodeValue = t == null ? "" : t + "");
1241
1241
  }
@@ -1262,14 +1262,14 @@ function Il(e, { target: r, anchor: t, props: a = {}, events: n, context: o, int
1262
1262
  var u = t ?? r.appendChild(At());
1263
1263
  return Ue(() => {
1264
1264
  if (o) {
1265
- V({});
1265
+ H({});
1266
1266
  var _ = (
1267
1267
  /** @type {ComponentContext} */
1268
- $
1268
+ ee
1269
1269
  );
1270
1270
  _.c = o;
1271
1271
  }
1272
- n && (a.$$events = n), $t = i, c = e(u, a) || {}, $t = !0, o && H();
1272
+ n && (a.$$events = n), $t = i, c = e(u, a) || {}, $t = !0, o && W();
1273
1273
  }), () => {
1274
1274
  var m;
1275
1275
  for (var _ of s) {
@@ -1366,19 +1366,19 @@ function it(e, r, t, a, n, o = null) {
1366
1366
  });
1367
1367
  }
1368
1368
  function Fl(e, r, t, a, n, o, i, s) {
1369
- var re, pe, me, ce;
1370
- var l = (n & ws) !== 0, c = (n & (nn | on)) !== 0, p = e.length, u = r.items, _ = r.first, g = _, m, f = null, h, v = [], y = [], x, T, S, z;
1369
+ var te, pe, me, ce;
1370
+ var l = (n & ws) !== 0, c = (n & (nn | on)) !== 0, p = e.length, u = r.items, _ = r.first, g = _, m, f = null, v, h = [], y = [], x, T, S, z;
1371
1371
  if (l)
1372
1372
  for (z = 0; z < p; z += 1)
1373
- x = e[z], T = i(x, z), S = u.get(T), S !== void 0 && ((re = S.a) == null || re.measure(), (h ?? (h = /* @__PURE__ */ new Set())).add(S));
1373
+ x = e[z], T = i(x, z), S = u.get(T), S !== void 0 && ((te = S.a) == null || te.measure(), (v ?? (v = /* @__PURE__ */ new Set())).add(S));
1374
1374
  for (z = 0; z < p; z += 1) {
1375
1375
  if (x = e[z], T = i(x, z), S = u.get(T), S === void 0) {
1376
- var C = g ? (
1376
+ var B = g ? (
1377
1377
  /** @type {TemplateNode} */
1378
1378
  g.e.nodes_start
1379
1379
  ) : t;
1380
1380
  f = Dl(
1381
- C,
1381
+ B,
1382
1382
  r,
1383
1383
  f,
1384
1384
  f === null ? r.first : f.next,
@@ -1387,53 +1387,53 @@ function Fl(e, r, t, a, n, o, i, s) {
1387
1387
  z,
1388
1388
  a,
1389
1389
  n
1390
- ), u.set(T, f), v = [], y = [], g = f.next;
1390
+ ), u.set(T, f), h = [], y = [], g = f.next;
1391
1391
  continue;
1392
1392
  }
1393
- if (c && zl(S, x, z, n), (S.e.f & cr) !== 0 && (Pt(S.e), l && ((pe = S.a) == null || pe.unfix(), (h ?? (h = /* @__PURE__ */ new Set())).delete(S))), S !== g) {
1393
+ if (c && zl(S, x, z, n), (S.e.f & cr) !== 0 && (Pt(S.e), l && ((pe = S.a) == null || pe.unfix(), (v ?? (v = /* @__PURE__ */ new Set())).delete(S))), S !== g) {
1394
1394
  if (m !== void 0 && m.has(S)) {
1395
- if (v.length < y.length) {
1395
+ if (h.length < y.length) {
1396
1396
  var k = y[0], w;
1397
1397
  f = k.prev;
1398
- var q = v[0], G = v[v.length - 1];
1399
- for (w = 0; w < v.length; w += 1)
1400
- to(v[w], k, t);
1398
+ var q = h[0], Y = h[h.length - 1];
1399
+ for (w = 0; w < h.length; w += 1)
1400
+ to(h[w], k, t);
1401
1401
  for (w = 0; w < y.length; w += 1)
1402
1402
  m.delete(y[w]);
1403
- Pr(r, q.prev, G.next), Pr(r, f, q), Pr(r, G, k), g = k, f = G, z -= 1, v = [], y = [];
1403
+ Pr(r, q.prev, Y.next), Pr(r, f, q), Pr(r, Y, k), g = k, f = Y, z -= 1, h = [], y = [];
1404
1404
  } else
1405
1405
  m.delete(S), to(S, g, t), Pr(r, S.prev, S.next), Pr(r, S, f === null ? r.first : f.next), Pr(r, f, S), f = S;
1406
1406
  continue;
1407
1407
  }
1408
- for (v = [], y = []; g !== null && g.k !== T; )
1408
+ for (h = [], y = []; g !== null && g.k !== T; )
1409
1409
  (o || (g.e.f & cr) === 0) && (m ?? (m = /* @__PURE__ */ new Set())).add(g), y.push(g), g = g.next;
1410
1410
  if (g === null)
1411
1411
  continue;
1412
1412
  S = g;
1413
1413
  }
1414
- v.push(S), f = S, g = S.next;
1414
+ h.push(S), f = S, g = S.next;
1415
1415
  }
1416
1416
  if (g !== null || m !== void 0) {
1417
- for (var W = m === void 0 ? [] : sn(m); g !== null; )
1418
- (o || (g.e.f & cr) === 0) && W.push(g), g = g.next;
1419
- var ae = W.length;
1420
- if (ae > 0) {
1421
- var J = (n & zo) !== 0 && p === 0 ? t : null;
1417
+ for (var V = m === void 0 ? [] : sn(m); g !== null; )
1418
+ (o || (g.e.f & cr) === 0) && V.push(g), g = g.next;
1419
+ var Q = V.length;
1420
+ if (Q > 0) {
1421
+ var Z = (n & zo) !== 0 && p === 0 ? t : null;
1422
1422
  if (l) {
1423
- for (z = 0; z < ae; z += 1)
1424
- (me = W[z].a) == null || me.measure();
1425
- for (z = 0; z < ae; z += 1)
1426
- (ce = W[z].a) == null || ce.fix();
1423
+ for (z = 0; z < Q; z += 1)
1424
+ (me = V[z].a) == null || me.measure();
1425
+ for (z = 0; z < Q; z += 1)
1426
+ (ce = V[z].a) == null || ce.fix();
1427
1427
  }
1428
- ql(r, W, J, u);
1428
+ ql(r, V, Z, u);
1429
1429
  }
1430
1430
  }
1431
1431
  l && Hr(() => {
1432
1432
  var ke;
1433
- if (h !== void 0)
1434
- for (S of h)
1433
+ if (v !== void 0)
1434
+ for (S of v)
1435
1435
  (ke = S.a) == null || ke.apply();
1436
- }), Z.first = r.first && r.first.e, Z.last = f && f.e;
1436
+ }), K.first = r.first && r.first.e, K.last = f && f.e;
1437
1437
  }
1438
1438
  function zl(e, r, t, a) {
1439
1439
  (a & nn) !== 0 && Oa(e.v, r), (a & on) !== 0 ? Oa(
@@ -1531,11 +1531,11 @@ function ea(e, r, t, a, n, o) {
1531
1531
  );
1532
1532
  a(l, g);
1533
1533
  }
1534
- Z.nodes_end = l, c.before(l);
1534
+ K.nodes_end = l, c.before(l);
1535
1535
  })), i = u, i && (s = i), eo(!0));
1536
1536
  }, zr);
1537
1537
  }
1538
- function R(e, r) {
1538
+ function U(e, r) {
1539
1539
  Hr(() => {
1540
1540
  var t = e.getRootNode(), a = (
1541
1541
  /** @type {ShadowRoot} */
@@ -1586,20 +1586,20 @@ function ra(e, r, t, a, n = !1, o = !1, i = !1) {
1586
1586
  /** @type {Record<string, unknown>} **/
1587
1587
  e.__attributes ?? (e.__attributes = {})
1588
1588
  );
1589
- for (const v in t) {
1590
- let y = t[v];
1591
- if (l && v === "value" && y == null) {
1592
- e.value = e.__value = "", s[v] = y;
1589
+ for (const h in t) {
1590
+ let y = t[h];
1591
+ if (l && h === "value" && y == null) {
1592
+ e.value = e.__value = "", s[h] = y;
1593
1593
  continue;
1594
1594
  }
1595
- var _ = s[v];
1595
+ var _ = s[h];
1596
1596
  if (y !== _) {
1597
- s[v] = y;
1598
- var g = v[0] + v[1];
1597
+ s[h] = y;
1598
+ var g = h[0] + h[1];
1599
1599
  if (g !== "$$") {
1600
1600
  if (g === "on") {
1601
- const x = {}, T = "$$" + v;
1602
- let S = v.slice(2);
1601
+ const x = {}, T = "$$" + h;
1602
+ let S = h.slice(2);
1603
1603
  var m = Ns(S);
1604
1604
  if (Ms(S) && (S = S.slice(0, -7), x.capture = !0), !m && _) {
1605
1605
  if (y != null) continue;
@@ -1609,34 +1609,34 @@ function ra(e, r, t, a, n = !1, o = !1, i = !1) {
1609
1609
  if (m)
1610
1610
  e[`__${S}`] = y, ha([S]);
1611
1611
  else {
1612
- let z = function(C) {
1613
- s[v].call(this, C);
1612
+ let z = function(B) {
1613
+ s[h].call(this, B);
1614
1614
  };
1615
1615
  s[T] = ii(S, e, z, x);
1616
1616
  }
1617
1617
  else m && (e[`__${S}`] = void 0);
1618
- } else if (v === "style" && y != null)
1618
+ } else if (h === "style" && y != null)
1619
1619
  e.style.cssText = y + "";
1620
- else if (v === "autofocus")
1620
+ else if (h === "autofocus")
1621
1621
  El(
1622
1622
  /** @type {HTMLElement} */
1623
1623
  e,
1624
1624
  !!y
1625
1625
  );
1626
- else if (v === "__value" || v === "value" && y != null)
1627
- e.value = e[v] = e.__value = y;
1628
- else if (v === "selected" && l)
1626
+ else if (h === "__value" || h === "value" && y != null)
1627
+ e.value = e[h] = e.__value = y;
1628
+ else if (h === "selected" && l)
1629
1629
  Nl(
1630
1630
  /** @type {HTMLOptionElement} */
1631
1631
  e,
1632
1632
  y
1633
1633
  );
1634
1634
  else {
1635
- var f = v;
1635
+ var f = h;
1636
1636
  n || (f = Os(f));
1637
- var h = f === "defaultValue" || f === "defaultChecked";
1638
- if (y == null && !o && !h)
1639
- if (u[v] = null, f === "value" || f === "checked") {
1637
+ var v = f === "defaultValue" || f === "defaultChecked";
1638
+ if (y == null && !o && !v)
1639
+ if (u[h] = null, f === "value" || f === "checked") {
1640
1640
  let x = (
1641
1641
  /** @type {HTMLInputElement} */
1642
1642
  e
@@ -1649,10 +1649,10 @@ function ra(e, r, t, a, n = !1, o = !1, i = !1) {
1649
1649
  x.removeAttribute(f), x.defaultChecked = T;
1650
1650
  }
1651
1651
  } else
1652
- e.removeAttribute(v);
1653
- else h || p.includes(f) && (o || typeof y != "string") ? e[f] = y : typeof y != "function" && j(e, f, y);
1652
+ e.removeAttribute(h);
1653
+ else v || p.includes(f) && (o || typeof y != "string") ? e[f] = y : typeof y != "function" && j(e, f, y);
1654
1654
  }
1655
- v === "style" && "__styles" in e && (e.__styles = {});
1655
+ h === "style" && "__styles" in e && (e.__styles = {});
1656
1656
  }
1657
1657
  }
1658
1658
  }
@@ -1746,7 +1746,7 @@ const Rl = (e) => e;
1746
1746
  function pi(e, r, t, a) {
1747
1747
  var n = (e & qs) !== 0, o = (e & Fs) !== 0, i = n && o, s = (e & zs) !== 0, l = i ? "both" : n ? "in" : "out", c, p = r.inert, u, _;
1748
1748
  function g() {
1749
- var y = le, x = Z;
1749
+ var y = le, x = K;
1750
1750
  He(null), qe(null);
1751
1751
  try {
1752
1752
  return c ?? (c = t()(r, (a == null ? void 0 : a()) ?? /** @type {P} */
@@ -1783,20 +1783,20 @@ function pi(e, r, t, a) {
1783
1783
  }
1784
1784
  }, f = (
1785
1785
  /** @type {Effect} */
1786
- Z
1786
+ K
1787
1787
  );
1788
1788
  if ((f.transitions ?? (f.transitions = [])).push(m), n && $t) {
1789
- var h = s;
1790
- if (!h) {
1791
- for (var v = (
1789
+ var v = s;
1790
+ if (!v) {
1791
+ for (var h = (
1792
1792
  /** @type {Effect | null} */
1793
1793
  f.parent
1794
- ); v && (v.f & zr) !== 0; )
1795
- for (; (v = v.parent) && (v.f & _a) === 0; )
1794
+ ); h && (h.f & zr) !== 0; )
1795
+ for (; (h = h.parent) && (h.f & _a) === 0; )
1796
1796
  ;
1797
- h = !v || (v.f & Mo) !== 0;
1797
+ v = !h || (h.f & Mo) !== 0;
1798
1798
  }
1799
- h && fa(() => {
1799
+ v && fa(() => {
1800
1800
  br(() => m.in());
1801
1801
  });
1802
1802
  }
@@ -1807,8 +1807,8 @@ function Ga(e, r, t, a, n) {
1807
1807
  var i, s = !1;
1808
1808
  return Hr(() => {
1809
1809
  if (!s) {
1810
- var h = r({ direction: o ? "in" : "out" });
1811
- i = Ga(e, h, t, a, n);
1810
+ var v = r({ direction: o ? "in" : "out" });
1811
+ i = Ga(e, v, t, a, n);
1812
1812
  }
1813
1813
  }), {
1814
1814
  abort: () => {
@@ -1834,17 +1834,17 @@ function Ga(e, r, t, a, n) {
1834
1834
  }
1835
1835
  var m = () => 1 - a, f = e.animate(_, { duration: l });
1836
1836
  return f.onfinish = () => {
1837
- var h = (t == null ? void 0 : t.t()) ?? 1 - a;
1837
+ var v = (t == null ? void 0 : t.t()) ?? 1 - a;
1838
1838
  t == null || t.abort();
1839
- var v = a - h, y = (
1839
+ var h = a - v, y = (
1840
1840
  /** @type {number} */
1841
- r.duration * Math.abs(v)
1841
+ r.duration * Math.abs(h)
1842
1842
  ), x = [];
1843
1843
  if (y > 0) {
1844
1844
  if (c)
1845
1845
  for (var T = Math.ceil(y / 16.666666666666668), S = 0; S <= T; S += 1) {
1846
- var z = h + v * u(S / T), C = c(z, 1 - z);
1847
- x.push(no(C));
1846
+ var z = v + h * u(S / T), B = c(z, 1 - z);
1847
+ x.push(no(B));
1848
1848
  }
1849
1849
  m = () => {
1850
1850
  var k = (
@@ -1852,7 +1852,7 @@ function Ga(e, r, t, a, n) {
1852
1852
  /** @type {globalThis.Animation} */
1853
1853
  f.currentTime
1854
1854
  );
1855
- return h + v * u(k / y);
1855
+ return v + h * u(k / y);
1856
1856
  }, p && Ll(() => {
1857
1857
  if (f.playState !== "running") return !1;
1858
1858
  var k = m();
@@ -1895,7 +1895,7 @@ function _i(e = {}, r, t, a) {
1895
1895
  function Qe(e = !1) {
1896
1896
  const r = (
1897
1897
  /** @type {ComponentContextLegacy} */
1898
- $
1898
+ ee
1899
1899
  ), t = r.l.u;
1900
1900
  if (!t) return;
1901
1901
  let a = () => Va(r.s);
@@ -1940,7 +1940,7 @@ function gi(e, r) {
1940
1940
  n.call(this, r);
1941
1941
  }
1942
1942
  function We(e) {
1943
- $ === null && _n(), lt && $.l !== null ? Ul($).m.push(e) : at(() => {
1943
+ ee === null && _n(), lt && ee.l !== null ? Ul(ee).m.push(e) : at(() => {
1944
1944
  const r = br(e);
1945
1945
  if (typeof r == "function") return (
1946
1946
  /** @type {() => void} */
@@ -1949,7 +1949,7 @@ function We(e) {
1949
1949
  });
1950
1950
  }
1951
1951
  function Nt(e) {
1952
- $ === null && _n(), We(() => () => br(e));
1952
+ ee === null && _n(), We(() => () => br(e));
1953
1953
  }
1954
1954
  function Ul(e) {
1955
1955
  var r = (
@@ -2082,7 +2082,7 @@ function hr(...e) {
2082
2082
  return new Proxy({ props: e }, Yl);
2083
2083
  }
2084
2084
  function so(e) {
2085
- for (var r = Z, t = Z; r !== null && (r.f & (Ke | zt)) === 0; )
2085
+ for (var r = K, t = K; r !== null && (r.f & (Ke | zt)) === 0; )
2086
2086
  r = r.parent;
2087
2087
  try {
2088
2088
  return qe(r), e();
@@ -2090,15 +2090,15 @@ function so(e) {
2090
2090
  qe(t);
2091
2091
  }
2092
2092
  }
2093
- function U(e, r, t, a) {
2094
- var C;
2093
+ function R(e, r, t, a) {
2094
+ var B;
2095
2095
  var n = (t & Ps) !== 0, o = !lt || (t & Ss) !== 0, i = (t & Ts) !== 0, s = (t & Is) !== 0, l = !1, c;
2096
2096
  i ? [c, l] = Hl(() => (
2097
2097
  /** @type {V} */
2098
2098
  e[r]
2099
2099
  )) : c = /** @type {V} */
2100
2100
  e[r];
2101
- var p = Er in e || No in e, u = ((C = Sr(e, r)) == null ? void 0 : C.set) ?? (p && i && r in e ? (k) => e[r] = k : void 0), _ = (
2101
+ var p = Er in e || No in e, u = ((B = Sr(e, r)) == null ? void 0 : B.set) ?? (p && i && r in e ? (k) => e[r] = k : void 0), _ = (
2102
2102
  /** @type {V} */
2103
2103
  a
2104
2104
  ), g = !0, m = !1, f = () => (m = !0, g && (g = !1, s ? _ = br(
@@ -2107,9 +2107,9 @@ function U(e, r, t, a) {
2107
2107
  ) : _ = /** @type {V} */
2108
2108
  a), _);
2109
2109
  c === void 0 && a !== void 0 && (u && o && $s(), c = f(), u && u(c));
2110
- var h;
2110
+ var v;
2111
2111
  if (o)
2112
- h = () => {
2112
+ v = () => {
2113
2113
  var k = (
2114
2114
  /** @type {V} */
2115
2115
  e[r]
@@ -2117,42 +2117,42 @@ function U(e, r, t, a) {
2117
2117
  return k === void 0 ? f() : (g = !0, m = !1, k);
2118
2118
  };
2119
2119
  else {
2120
- var v = so(
2120
+ var h = so(
2121
2121
  () => (n ? E : et)(() => (
2122
2122
  /** @type {V} */
2123
2123
  e[r]
2124
2124
  ))
2125
2125
  );
2126
- v.f |= Ys, h = () => {
2127
- var k = d(v);
2126
+ h.f |= Ys, v = () => {
2127
+ var k = d(h);
2128
2128
  return k !== void 0 && (_ = /** @type {V} */
2129
2129
  void 0), k === void 0 ? _ : k;
2130
2130
  };
2131
2131
  }
2132
2132
  if ((t & Es) === 0)
2133
- return h;
2133
+ return v;
2134
2134
  if (u) {
2135
2135
  var y = e.$$legacy;
2136
2136
  return function(k, w) {
2137
- return arguments.length > 0 ? ((!o || !w || y || l) && u(w ? h() : k), k) : h();
2137
+ return arguments.length > 0 ? ((!o || !w || y || l) && u(w ? v() : k), k) : v();
2138
2138
  };
2139
2139
  }
2140
2140
  var x = !1, T = !1, S = /* @__PURE__ */ ga(c), z = so(
2141
2141
  () => /* @__PURE__ */ E(() => {
2142
- var k = h(), w = d(S);
2142
+ var k = v(), w = d(S);
2143
2143
  return x ? (x = !1, T = !0, w) : (T = !1, S.v = k);
2144
2144
  })
2145
2145
  );
2146
2146
  return n || (z.equals = cn), function(k, w) {
2147
2147
  if (arguments.length > 0) {
2148
- const q = w ? d(z) : o && i ? B(k) : k;
2148
+ const q = w ? d(z) : o && i ? L(k) : k;
2149
2149
  return z.equals(q) || (x = !0, D(S, q), m && _ !== void 0 && (_ = q), br(() => d(z))), k;
2150
2150
  }
2151
2151
  return d(z);
2152
2152
  };
2153
2153
  }
2154
2154
  function lo(e, r) {
2155
- var t = Z, a = le, n = $;
2155
+ var t = K, a = le, n = ee;
2156
2156
  qe(e), He(e), $n(e.ctx);
2157
2157
  try {
2158
2158
  r();
@@ -2165,7 +2165,7 @@ function Gl(e, r, t) {
2165
2165
  Dr(() => {
2166
2166
  var o = (
2167
2167
  /** @type {Effect} */
2168
- Z
2168
+ K
2169
2169
  ), i = !1;
2170
2170
  o.fn = (s) => {
2171
2171
  var l = r.onerror;
@@ -2368,7 +2368,7 @@ class Xl extends Error {
2368
2368
  }
2369
2369
  }
2370
2370
  var yt = /* @__PURE__ */ ((e) => (e.Started = "started", e.InProgress = "in_progress", e.Succeeded = "succeeded", e.Failed = "failed", e))(yt || {}), Jr = /* @__PURE__ */ ((e) => (e[e.SetupIntentCreationFailed = 1] = "SetupIntentCreationFailed", e[e.PaymentMethodCreationFailed = 2] = "PaymentMethodCreationFailed", e[e.PaymentChargeFailed = 3] = "PaymentChargeFailed", e[e.SetupIntentCompletionFailed = 4] = "SetupIntentCompletionFailed", e[e.AlreadyPurchased = 5] = "AlreadyPurchased", e))(Jr || {}), Ae = /* @__PURE__ */ ((e) => (e[e.Silent = 0] = "Silent", e[e.Error = 1] = "Error", e[e.Warn = 2] = "Warn", e[e.Info = 3] = "Info", e[e.Debug = 4] = "Debug", e[e.Verbose = 5] = "Verbose", e))(Ae || {});
2371
- class K {
2371
+ class J {
2372
2372
  static setLogLevel(r) {
2373
2373
  this.logLevel = r;
2374
2374
  }
@@ -2409,7 +2409,7 @@ class K {
2409
2409
  this.log(r, Ae.Verbose);
2410
2410
  }
2411
2411
  }
2412
- M(K, "logLevel", Ae.Silent);
2412
+ M(J, "logLevel", Ae.Silent);
2413
2413
  function Zl(e) {
2414
2414
  var r;
2415
2415
  return e.operation.redemption_info ? {
@@ -2479,7 +2479,7 @@ class Kl {
2479
2479
  );
2480
2480
  {
2481
2481
  const l = "Unknown error starting purchase: " + String(s);
2482
- throw K.errorLog(l), new de(
2482
+ throw J.errorLog(l), new de(
2483
2483
  2,
2484
2484
  l
2485
2485
  );
@@ -2509,7 +2509,7 @@ class Kl {
2509
2509
  );
2510
2510
  {
2511
2511
  const i = "Unknown error calculating tax: " + String(o);
2512
- throw K.errorLog(i), new de(
2512
+ throw J.errorLog(i), new de(
2513
2513
  2,
2514
2514
  i
2515
2515
  );
@@ -2537,7 +2537,7 @@ class Kl {
2537
2537
  );
2538
2538
  {
2539
2539
  const n = "Unknown error starting purchase: " + String(a);
2540
- throw K.errorLog(n), new de(
2540
+ throw J.errorLog(n), new de(
2541
2541
  2,
2542
2542
  n
2543
2543
  );
@@ -5598,7 +5598,7 @@ const Ne = "rcb-ui-translator", tt = "en", Jl = {
5598
5598
  "error_page.error_title_stripe_invalid_tax_origin_address": "Địa chỉ gốc thuế không hợp lệ",
5599
5599
  "apple_pay.free_trial": "Dùng thử miễn phí"
5600
5600
  };
5601
- var L = /* @__PURE__ */ ((e) => (e.PeriodsWeek = "periods.week", e.PeriodsMonth = "periods.month", e.PeriodsYear = "periods.year", e.PeriodsDay = "periods.day", e.PeriodsWeekShort = "periods.weekShort", e.PeriodsMonthShort = "periods.monthShort", e.PeriodsYearShort = "periods.yearShort", e.PeriodsDayShort = "periods.dayShort", e.PeriodsLifetime = "periods.lifetime", e.PeriodsWeekPlural = "periods.weekPlural", e.PeriodsMonthPlural = "periods.monthPlural", e.PeriodsYearPlural = "periods.yearPlural", e.PeriodsDayPlural = "periods.dayPlural", e.PeriodsWeekFrequency = "periods.weekFrequency", e.PeriodsMonthFrequency = "periods.monthFrequency", e.PeriodsYearFrequency = "periods.yearFrequency", e.PeriodsDayFrequency = "periods.dayFrequency", e.PeriodsPerWeekFrequency = "periods.perWeekFrequency", e.PeriodsPerMonthFrequency = "periods.perMonthFrequency", e.PeriodsPerYearFrequency = "periods.perYearFrequency", e.PeriodsPerDayFrequency = "periods.perDayFrequency", e.PeriodsUnknownFrequency = "periods.unknownFrequency", e.PeriodsWeekFrequencyPlural = "periods.weekFrequencyPlural", e.PeriodsMonthFrequencyPlural = "periods.monthFrequencyPlural", e.PeriodsYearFrequencyPlural = "periods.yearFrequencyPlural", e.PeriodsDayFrequencyPlural = "periods.dayFrequencyPlural", e.ProductInfoProductTitle = "product_info.product_title", e.ProductInfoProductDescription = "product_info.product_description", e.ProductInfoProductPrice = "product_info.product_price", e.ProductInfoFreeTrialDuration = "product_info.free_trial_duration", e.ProductInfoPriceAfterFreeTrial = "product_info.price_after_free_trial", e.ProductInfoPriceTotalDueToday = "product_info.total_due_today", e.ProductInfoSubscribeTo = "product_info.subscribe_to", e.ProductInfoRenewalFrequency = "product_info.renewal_frequency", e.ProductInfoContinuesUntilCancelled = "product_info.continues_until_cancelled", e.ProductInfoCancelAnytime = "product_info.cancel_anytime", e.PaymentEntryPagePaymentStepTitle = "payment_entry_page.payment_step_title", e.PaymentEntryPageTermsInfo = "payment_entry_page.terms_info", e.PaymentEntryPageTrialInfo = "payment_entry_page.trial_info", e.PaymentEntryPageButtonPay = "payment_entry_page.button_pay", e.PaymentEntryPageButtonStartTrial = "payment_entry_page.button_start_trial", e.PaymentEntryPageButtonWithPrice = "payment_entry_page.button_with_price", e.PaymentEntryPageButtonPaymentMethod = "payment_entry_page.button_payment_method", e.PaymentEntryPageExpressCheckoutDivider = "payment_entry_page.express_checkout_divider", e.SuccessPagePurchaseSuccessful = "success_page.purchase_successful", e.SuccessPageButtonClose = "success_page.button_close", e.ErrorPageCloseButtonTitle = "error_page.close_button_title", e.ErrorPageIfErrorPersists = "error_page.if_error_persists", e.ErrorPageTroubleAccessing = "error_page.trouble_accessing", e.ErrorPageErrorTitleAlreadySubscribed = "error_page.error_title_already_subscribed", e.ErrorPageErrorTitleAlreadyPurchased = "error_page.error_title_already_purchased", e.ErrorPageErrorTitleOtherErrors = "error_page.error_title_other_errors", e.ErrorPageErrorTitleStripeTaxNotActive = "error_page.error_title_stripe_tax_not_active", e.ErrorPageErrorTitleStripeInvalidTaxOriginAddress = "error_page.error_title_stripe_invalid_tax_origin_address", e.ErrorPageErrorTitleStripeMissingRequiredPermission = "error_page.error_title_stripe_missing_required_permission", e.ErrorPageErrorMessageAlreadySubscribed = "error_page.error_message_already_subscribed", e.ErrorPageErrorMessageAlreadyPurchased = "error_page.error_message_already_purchased", e.ErrorPageErrorMessageMissingEmailError = "error_page.error_message_missing_email_error", e.ErrorPageErrorMessageInvalidEmailError = "error_page.error_message_invalid_email_error", e.ErrorPageErrorMessageNetworkError = "error_page.error_message_network_error", e.ErrorPageErrorMessageErrorChargingPayment = "error_page.error_message_error_charging_payment", e.ErrorPageErrorMessageErrorSettingUpPurchase = "error_page.error_message_error_setting_up_purchase", e.ErrorPageErrorMessageUnknownError = "error_page.error_message_unknown_error", e.ErrorPageErrorMessageInvalidTaxLocation = "error_page.error_message_invalid_tax_location", e.ErrorPageErrorMessageStripeTaxNotActive = "error_page.error_message_stripe_tax_not_active", e.ErrorPageErrorMessageStripeInvalidTaxOriginAddress = "error_page.error_message_stripe_invalid_tax_origin_address", e.ErrorPageErrorMessageStripeMissingRequiredPermission = "error_page.error_message_stripe_missing_required_permission", e.ErrorPageErrorMessageOnlyInSandbox = "error_page.error_only_in_sandbox", e.ErrorButtonTryAgain = "error_page.button_try_again", e.ErrorButtonClose = "error_page.button_close", e.PaywallVariablesPricePerPeriod = "paywall_variables.price_per_period", e.PaywallVariablesSubRelativeDiscount = "paywall_variables.sub_relative_discount", e.PaywallVariablesTotalPriceAndPerMonth = "paywall_variables.total_price_and_per_month", e.PricingDropdownShowDetails = "pricing_dropdown.show_details", e.PricingDropdownHideDetails = "pricing_dropdown.hide_details", e.PricingTotalExcludingTax = "pricing_table.total_excluding_tax", e.PricingTableTrialEnds = "pricing_table.trial_ends", e.PricingTableTotalDueToday = "pricing_table.total_due_today", e.PricingTableTax = "pricing_table.tax", e.PricingTableEnterBillingAddressToCalculate = "pricing_table.enter_billing_address_to_calculate", e.PricingTableEnterStateOrPostalCodeToCalculate = "pricing_table.enter_state_or_postal_code_to_calculate", e.PricingTableEnterPostalCodeToCalculate = "pricing_table.enter_postal_code_to_calculate", e.NavbarHeaderDetails = "navbar_header.details", e.NavbarBackButton = "navbar_header.back_button", e.PriceUpdateTitle = "price_update.title", e.PriceUpdateBaseMessage = "price_update.base_message", e.PriceUpdateTrialMessage = "price_update.trial_message", e.ApplePayFreeTrial = "apple_pay.free_trial", e))(L || {});
5601
+ var O = /* @__PURE__ */ ((e) => (e.PeriodsWeek = "periods.week", e.PeriodsMonth = "periods.month", e.PeriodsYear = "periods.year", e.PeriodsDay = "periods.day", e.PeriodsWeekShort = "periods.weekShort", e.PeriodsMonthShort = "periods.monthShort", e.PeriodsYearShort = "periods.yearShort", e.PeriodsDayShort = "periods.dayShort", e.PeriodsLifetime = "periods.lifetime", e.PeriodsWeekPlural = "periods.weekPlural", e.PeriodsMonthPlural = "periods.monthPlural", e.PeriodsYearPlural = "periods.yearPlural", e.PeriodsDayPlural = "periods.dayPlural", e.PeriodsWeekFrequency = "periods.weekFrequency", e.PeriodsMonthFrequency = "periods.monthFrequency", e.PeriodsYearFrequency = "periods.yearFrequency", e.PeriodsDayFrequency = "periods.dayFrequency", e.PeriodsPerWeekFrequency = "periods.perWeekFrequency", e.PeriodsPerMonthFrequency = "periods.perMonthFrequency", e.PeriodsPerYearFrequency = "periods.perYearFrequency", e.PeriodsPerDayFrequency = "periods.perDayFrequency", e.PeriodsUnknownFrequency = "periods.unknownFrequency", e.PeriodsWeekFrequencyPlural = "periods.weekFrequencyPlural", e.PeriodsMonthFrequencyPlural = "periods.monthFrequencyPlural", e.PeriodsYearFrequencyPlural = "periods.yearFrequencyPlural", e.PeriodsDayFrequencyPlural = "periods.dayFrequencyPlural", e.ProductInfoProductTitle = "product_info.product_title", e.ProductInfoProductDescription = "product_info.product_description", e.ProductInfoProductPrice = "product_info.product_price", e.ProductInfoFreeTrialDuration = "product_info.free_trial_duration", e.ProductInfoPriceAfterFreeTrial = "product_info.price_after_free_trial", e.ProductInfoPriceTotalDueToday = "product_info.total_due_today", e.ProductInfoSubscribeTo = "product_info.subscribe_to", e.ProductInfoRenewalFrequency = "product_info.renewal_frequency", e.ProductInfoContinuesUntilCancelled = "product_info.continues_until_cancelled", e.ProductInfoCancelAnytime = "product_info.cancel_anytime", e.PaymentEntryPagePaymentStepTitle = "payment_entry_page.payment_step_title", e.PaymentEntryPageTermsInfo = "payment_entry_page.terms_info", e.PaymentEntryPageTrialInfo = "payment_entry_page.trial_info", e.PaymentEntryPageButtonPay = "payment_entry_page.button_pay", e.PaymentEntryPageButtonStartTrial = "payment_entry_page.button_start_trial", e.PaymentEntryPageButtonWithPrice = "payment_entry_page.button_with_price", e.PaymentEntryPageButtonPaymentMethod = "payment_entry_page.button_payment_method", e.PaymentEntryPageExpressCheckoutDivider = "payment_entry_page.express_checkout_divider", e.SuccessPagePurchaseSuccessful = "success_page.purchase_successful", e.SuccessPageButtonClose = "success_page.button_close", e.ErrorPageCloseButtonTitle = "error_page.close_button_title", e.ErrorPageIfErrorPersists = "error_page.if_error_persists", e.ErrorPageTroubleAccessing = "error_page.trouble_accessing", e.ErrorPageErrorTitleAlreadySubscribed = "error_page.error_title_already_subscribed", e.ErrorPageErrorTitleAlreadyPurchased = "error_page.error_title_already_purchased", e.ErrorPageErrorTitleOtherErrors = "error_page.error_title_other_errors", e.ErrorPageErrorTitleStripeTaxNotActive = "error_page.error_title_stripe_tax_not_active", e.ErrorPageErrorTitleStripeInvalidTaxOriginAddress = "error_page.error_title_stripe_invalid_tax_origin_address", e.ErrorPageErrorTitleStripeMissingRequiredPermission = "error_page.error_title_stripe_missing_required_permission", e.ErrorPageErrorMessageAlreadySubscribed = "error_page.error_message_already_subscribed", e.ErrorPageErrorMessageAlreadyPurchased = "error_page.error_message_already_purchased", e.ErrorPageErrorMessageMissingEmailError = "error_page.error_message_missing_email_error", e.ErrorPageErrorMessageInvalidEmailError = "error_page.error_message_invalid_email_error", e.ErrorPageErrorMessageNetworkError = "error_page.error_message_network_error", e.ErrorPageErrorMessageErrorChargingPayment = "error_page.error_message_error_charging_payment", e.ErrorPageErrorMessageErrorSettingUpPurchase = "error_page.error_message_error_setting_up_purchase", e.ErrorPageErrorMessageUnknownError = "error_page.error_message_unknown_error", e.ErrorPageErrorMessageInvalidTaxLocation = "error_page.error_message_invalid_tax_location", e.ErrorPageErrorMessageStripeTaxNotActive = "error_page.error_message_stripe_tax_not_active", e.ErrorPageErrorMessageStripeInvalidTaxOriginAddress = "error_page.error_message_stripe_invalid_tax_origin_address", e.ErrorPageErrorMessageStripeMissingRequiredPermission = "error_page.error_message_stripe_missing_required_permission", e.ErrorPageErrorMessageOnlyInSandbox = "error_page.error_only_in_sandbox", e.ErrorButtonTryAgain = "error_page.button_try_again", e.ErrorButtonClose = "error_page.button_close", e.PaywallVariablesPricePerPeriod = "paywall_variables.price_per_period", e.PaywallVariablesSubRelativeDiscount = "paywall_variables.sub_relative_discount", e.PaywallVariablesTotalPriceAndPerMonth = "paywall_variables.total_price_and_per_month", e.PricingDropdownShowDetails = "pricing_dropdown.show_details", e.PricingDropdownHideDetails = "pricing_dropdown.hide_details", e.PricingTotalExcludingTax = "pricing_table.total_excluding_tax", e.PricingTableTrialEnds = "pricing_table.trial_ends", e.PricingTableTotalDueToday = "pricing_table.total_due_today", e.PricingTableTax = "pricing_table.tax", e.PricingTableEnterBillingAddressToCalculate = "pricing_table.enter_billing_address_to_calculate", e.PricingTableEnterStateOrPostalCodeToCalculate = "pricing_table.enter_state_or_postal_code_to_calculate", e.PricingTableEnterPostalCodeToCalculate = "pricing_table.enter_postal_code_to_calculate", e.NavbarHeaderDetails = "navbar_header.details", e.NavbarBackButton = "navbar_header.back_button", e.PriceUpdateTitle = "price_update.title", e.PriceUpdateBaseMessage = "price_update.base_message", e.PriceUpdateTrialMessage = "price_update.trial_message", e.ApplePayFreeTrial = "apple_pay.free_trial", e))(O || {});
5602
5602
  const Fc = {
5603
5603
  en: Jl,
5604
5604
  es: Ql,
@@ -5638,7 +5638,7 @@ var xe = /* @__PURE__ */ ((e) => (e.Year = "year", e.Month = "month", e.Week = "
5638
5638
  function mi(e) {
5639
5639
  const r = e.match(/^PT?([0-9]+)([MDYW])$/);
5640
5640
  if (!r || r.length < 3)
5641
- return K.errorLog(`Invalid ISO 8601 duration format: ${e}`), null;
5641
+ return J.errorLog(`Invalid ISO 8601 duration format: ${e}`), null;
5642
5642
  const t = parseInt(r[1]);
5643
5643
  switch (r[2]) {
5644
5644
  case "Y":
@@ -5666,7 +5666,7 @@ function mi(e) {
5666
5666
  /* Day */
5667
5667
  };
5668
5668
  default:
5669
- return K.errorLog(`Invalid ISO 8601 unit duration format: ${e}`), null;
5669
+ return J.errorLog(`Invalid ISO 8601 unit duration format: ${e}`), null;
5670
5670
  }
5671
5671
  }
5672
5672
  function Xa(e, r, t) {
@@ -5756,7 +5756,7 @@ class va {
5756
5756
  a
5757
5757
  );
5758
5758
  } catch {
5759
- K.errorLog(
5759
+ J.errorLog(
5760
5760
  `Failed to create a price formatter for locale: ${this.locale}`
5761
5761
  );
5762
5762
  }
@@ -5768,7 +5768,7 @@ class va {
5768
5768
  a
5769
5769
  );
5770
5770
  } catch {
5771
- K.errorLog(
5771
+ J.errorLog(
5772
5772
  `Failed to create a price formatter for locale: ${this.fallbackLocale}`
5773
5773
  );
5774
5774
  }
@@ -6365,9 +6365,9 @@ const Qc = {
6365
6365
  code: ".rc-pw-text-block.svelte-1wz4si8 {display:block;padding-block-start:var(--text-padding-block-start, initial);padding-inline-end:var(--text-padding-inline-end, initial);padding-block-end:var(--text-padding-block-end, initial);padding-inline-start:var(--text-padding-inline-start, initial);margin-block-start:var(--text-margin-block-start, initial);margin-inline-end:var(--text-margin-inline-end, initial);margin-block-end:var(--text-margin-block-end, initial);margin-inline-start:var(--text-margin-inline-start, initial);color:var(--text-text-color, #ffffff);background:var(--text-background, none);font-size:var(--text-font-size, 1rem);font-weight:var(--text-font-weight, normal);text-align:var(--text-text-align, center);font-family:var(--text-font-family, sans-serif);-webkit-background-clip:var(--text-background-clip, initial);background-clip:var(--text-background-clip, initial);-webkit-text-fill-color:var(--text-text-fill-color, initial);}"
6366
6366
  };
6367
6367
  function Pi(e, r) {
6368
- V(r, !0), R(e, Qc);
6369
- const t = U(r, "styleVariables", 3, ""), a = U(r, "component", 3, "p");
6370
- var n = ee(), o = Y(n);
6368
+ H(r, !0), U(e, Qc);
6369
+ const t = R(r, "styleVariables", 3, ""), a = R(r, "component", 3, "p");
6370
+ var n = re(), o = G(n);
6371
6371
  ea(o, a, !1, (i, s) => {
6372
6372
  let l;
6373
6373
  A(() => l = ra(
@@ -6382,9 +6382,9 @@ function Pi(e, r) {
6382
6382
  i.namespaceURI === xt,
6383
6383
  i.nodeName.includes("-")
6384
6384
  ));
6385
- var c = ee(), p = Y(c);
6385
+ var c = re(), p = G(c);
6386
6386
  ge(p, () => r.children ?? ne), b(s, c);
6387
- }), b(e, n), H();
6387
+ }), b(e, n), W();
6388
6388
  }
6389
6389
  var $c = /* @__PURE__ */ I('<span class="rc-pw-text-wrapper svelte-11gzifq"><!></span>');
6390
6390
  const ed = {
@@ -6392,7 +6392,7 @@ const ed = {
6392
6392
  code: ".rc-pw-text-wrapper.svelte-11gzifq {display:block;height:var(--text-height, initial);width:var(--text-width, initial);background:var(--text-background, none);position:var(--text-position, relative);inset:var(--text-inset, 0);transform:var(--text-transform, initial);}"
6393
6393
  };
6394
6394
  function rd(e, r) {
6395
- V(r, !0), R(e, ed);
6395
+ H(r, !0), U(e, ed);
6396
6396
  const t = /* @__PURE__ */ Ar(r, [
6397
6397
  "$$slots",
6398
6398
  "$$events",
@@ -6431,11 +6431,11 @@ function rd(e, r) {
6431
6431
  return r.id;
6432
6432
  },
6433
6433
  children: (u, _) => {
6434
- var g = ee(), m = Y(g);
6434
+ var g = re(), m = G(g);
6435
6435
  Wr(m, () => d(l)), b(u, g);
6436
6436
  },
6437
6437
  $$slots: { default: !0 }
6438
- }), A(() => j(c, "style", d(i))), b(e, c), H();
6438
+ }), A(() => j(c, "style", d(i))), b(e, c), W();
6439
6439
  }
6440
6440
  const td = (e) => {
6441
6441
  const { background_color: r, margin: t, padding: a, spacing: n, size: o, border: i, shape: s, shadow: l, dimension: c, componentState: p, overrides: u, purchaseState: _, zStackChildStyles: g } = e, m = {
@@ -6479,8 +6479,8 @@ const td = (e) => {
6479
6479
  ...c,
6480
6480
  ...f
6481
6481
  }), Ct({ ...o, ...f })), Object.assign(m, g);
6482
- const h = Ye(m, "stack");
6483
- return Ce(h);
6482
+ const v = Ye(m, "stack");
6483
+ return Ce(v);
6484
6484
  };
6485
6485
  function ad(e) {
6486
6486
  var n, o, i, s, l, c;
@@ -6631,7 +6631,7 @@ const cd = {
6631
6631
  );border-start-end-radius:var(--stack-badge-border-start-end-radius, 0px);box-shadow:var(--stack-badge-shadow, none);display:flex;align-items:center;justify-content:center;width:var(--stack-badge-badge-width, max-content);height:var(--stack-badge-badge-height, max-content);z-index:var(--stack-badge-z-index, 1);}`
6632
6632
  };
6633
6633
  function Ot(e, r) {
6634
- V(r, !0), R(e, cd);
6634
+ H(r, !0), U(e, cd);
6635
6635
  const t = /* @__PURE__ */ Ar(r, [
6636
6636
  "$$slots",
6637
6637
  "$$events",
@@ -6689,17 +6689,17 @@ function Ot(e, r) {
6689
6689
  var p = ld(), u = P(p);
6690
6690
  {
6691
6691
  var _ = (m) => {
6692
- var f = sd(), h = P(f);
6693
- Pi(h, {
6692
+ var f = sd(), v = P(f);
6693
+ Pi(v, {
6694
6694
  get styleVariables() {
6695
6695
  return d(c);
6696
6696
  },
6697
6697
  get component() {
6698
6698
  return d(l);
6699
6699
  },
6700
- children: (v, y) => {
6700
+ children: (h, y) => {
6701
6701
  var x = ie();
6702
- A(() => te(x, d(i))), b(v, x);
6702
+ A(() => ae(x, d(i))), b(h, x);
6703
6703
  },
6704
6704
  $$slots: { default: !0 }
6705
6705
  }), A(() => j(f, "style", d(n))), b(m, f);
@@ -6708,12 +6708,12 @@ function Ot(e, r) {
6708
6708
  r.badge && m(_);
6709
6709
  });
6710
6710
  }
6711
- var g = O(u, 2);
6712
- it(g, 21, () => r.components, ot, (m, f, h) => {
6713
- var v = ee(), y = Y(v);
6711
+ var g = C(u, 2);
6712
+ it(g, 21, () => r.components, ot, (m, f, v) => {
6713
+ var h = re(), y = G(h);
6714
6714
  {
6715
6715
  var x = (S) => {
6716
- var z = /* @__PURE__ */ E(() => h > 0 ? d(o) : void 0);
6716
+ var z = /* @__PURE__ */ E(() => v > 0 ? d(o) : void 0);
6717
6717
  ia(S, {
6718
6718
  get nodeData() {
6719
6719
  return d(f);
@@ -6763,10 +6763,10 @@ function Ot(e, r) {
6763
6763
  d(o) ? S(x) : S(T, !1);
6764
6764
  });
6765
6765
  }
6766
- b(m, v);
6766
+ b(m, h);
6767
6767
  }), A(() => {
6768
6768
  j(p, "id", r.id), j(p, "style", d(a));
6769
- }), b(e, p), H();
6769
+ }), b(e, p), W();
6770
6770
  }
6771
6771
  function dd({ stack: e, zStackChildStyles: r }) {
6772
6772
  var i, s;
@@ -6783,7 +6783,7 @@ function dd({ stack: e, zStackChildStyles: r }) {
6783
6783
  }
6784
6784
  const ud = { hash: "svelte-mx8s0a", code: "" };
6785
6785
  function pd(e, r) {
6786
- V(r, !0), R(e, ud);
6786
+ H(r, !0), U(e, ud);
6787
6787
  const t = /* @__PURE__ */ Ar(r, [
6788
6788
  "$$slots",
6789
6789
  "$$events",
@@ -6825,10 +6825,10 @@ function pd(e, r) {
6825
6825
  }));
6826
6826
  },
6827
6827
  $$slots: { default: !0 }
6828
- }), H();
6828
+ }), W();
6829
6829
  }
6830
6830
  function ia(e, r) {
6831
- V(r, !0);
6831
+ H(r, !0);
6832
6832
  const t = De(), a = () => ze(vi, "$prefersDarkMode", t), n = {
6833
6833
  stack: Ot,
6834
6834
  text: rd,
@@ -6856,7 +6856,7 @@ function ia(e, r) {
6856
6856
  "variableDictionary",
6857
6857
  "zStackChildStyles"
6858
6858
  ]), s = /* @__PURE__ */ E(() => o(r.nodeData)), l = /* @__PURE__ */ E(() => d(s)[0]), c = /* @__PURE__ */ E(() => d(s)[1]);
6859
- var p = ee(), u = Y(p);
6859
+ var p = re(), u = G(p);
6860
6860
  return Ml(u, () => d(l), (_, g) => {
6861
6861
  g(_, hr(
6862
6862
  () => d(c) || {},
@@ -6883,8 +6883,8 @@ function ia(e, r) {
6883
6883
  () => i,
6884
6884
  {
6885
6885
  children: (m, f) => {
6886
- var h = ee(), v = Y(h);
6887
- it(v, 17, () => r.nodeData.components, ot, (y, x) => {
6886
+ var v = re(), h = G(v);
6887
+ it(h, 17, () => r.nodeData.components, ot, (y, x) => {
6888
6888
  ia(y, hr(
6889
6889
  {
6890
6890
  get nodeData() {
@@ -6905,12 +6905,12 @@ function ia(e, r) {
6905
6905
  },
6906
6906
  () => i
6907
6907
  ));
6908
- }), b(m, h);
6908
+ }), b(m, v);
6909
6909
  },
6910
6910
  $$slots: { default: !0 }
6911
6911
  }
6912
6912
  ));
6913
- }), b(e, p), H({ getComponentClass: o });
6913
+ }), b(e, p), W({ getComponentClass: o });
6914
6914
  }
6915
6915
  function _d({ background: e, colorMode: r }) {
6916
6916
  const t = { "--background": "initial" };
@@ -6937,7 +6937,7 @@ const fd = {
6937
6937
  code: ".rc-pw-footer.svelte-pg5jlz {position:sticky;bottom:0;transform:translateY(50%);width:100%;}"
6938
6938
  };
6939
6939
  function Si(e, r) {
6940
- R(e, fd);
6940
+ U(e, fd);
6941
6941
  var t = md(), a = P(t);
6942
6942
  Ot(a, hr(() => r.stack, {
6943
6943
  get labels() {
@@ -6981,39 +6981,39 @@ const vd = {
6981
6981
  #__next {isolation:isolate;}`
6982
6982
  };
6983
6983
  function kd(e, r) {
6984
- V(r, !0), R(e, vd);
6985
- const t = De(), a = () => ze(vi, "$prefersDarkMode", t), n = U(r, "variablesPerPackage", 19, () => ({}));
6986
- let o = B({
6984
+ H(r, !0), U(e, vd);
6985
+ const t = De(), a = () => ze(vi, "$prefersDarkMode", t), n = R(r, "variablesPerPackage", 19, () => ({}));
6986
+ let o = L({
6987
6987
  selectedPackageId: Vc(r.paywallData),
6988
6988
  locale: r.selectedLocale || r.paywallData.default_locale,
6989
6989
  defaultLocale: r.paywallData.default_locale,
6990
6990
  variablesPerPackage: n(),
6991
6991
  colorMode: r.preferredColorMode || (a() ? "dark" : Re)
6992
- }), i = X(B(n()[o.selectedPackageId || ""]));
6993
- const s = (v, y) => {
6992
+ }), i = X(L(n()[o.selectedPackageId || ""]));
6993
+ const s = (h, y) => {
6994
6994
  var x;
6995
6995
  (x = r.onRestorePurchasesClicked) == null || x.call(r);
6996
- }, l = (v, y) => {
6996
+ }, l = (h, y) => {
6997
6997
  var x;
6998
6998
  (x = r.onBackClicked) == null || x.call(r);
6999
- }, c = (v, y) => {
6999
+ }, c = (h, y) => {
7000
7000
  var T, S;
7001
- if (v.destination === "customer_center" && ((T = r.onVisitCustomerCenterClicked) == null || T.call(r)), !v.url)
7001
+ if (h.destination === "customer_center" && ((T = r.onVisitCustomerCenterClicked) == null || T.call(r)), !h.url)
7002
7002
  return;
7003
- const x = bi(v.url.url_lid, o.locale, o.defaultLocale, r.paywallData.components_localizations);
7003
+ const x = bi(h.url.url_lid, o.locale, o.defaultLocale, r.paywallData.components_localizations);
7004
7004
  x && ((S = r.onNavigateToUrlClicked) == null || S.call(r, x));
7005
- }, p = (v, y) => {
7006
- o.selectedPackageId = y == null ? void 0 : y.packageId, y != null && y.packageId && D(i, B(n()[y.packageId]));
7007
- }, u = (v, y) => {
7005
+ }, p = (h, y) => {
7006
+ o.selectedPackageId = y == null ? void 0 : y.packageId, y != null && y.packageId && D(i, L(n()[y.packageId]));
7007
+ }, u = (h, y) => {
7008
7008
  var x;
7009
7009
  o.selectedPackageId !== void 0 && ((x = r.onPurchaseClicked) == null || x.call(r, o.selectedPackageId));
7010
- }, _ = (v, y) => {
7011
- switch (v.type) {
7010
+ }, _ = (h, y) => {
7011
+ switch (h.type) {
7012
7012
  case "select_package":
7013
- p(v, y);
7013
+ p(h, y);
7014
7014
  break;
7015
7015
  case "navigate_to":
7016
- c(v);
7016
+ c(h);
7017
7017
  break;
7018
7018
  case "navigate_back":
7019
7019
  l();
@@ -7026,21 +7026,21 @@ function kd(e, r) {
7026
7026
  break;
7027
7027
  }
7028
7028
  }, g = /* @__PURE__ */ E(() => {
7029
- var v;
7029
+ var h;
7030
7030
  return _d({
7031
- background: (v = r.paywallData.components_config.base) == null ? void 0 : v.background,
7031
+ background: (h = r.paywallData.components_config.base) == null ? void 0 : h.background,
7032
7032
  colorMode: o.colorMode
7033
7033
  });
7034
7034
  }), m = /* @__PURE__ */ E(() => gd(r.paywallData, o.colorMode));
7035
- var f = ee(), h = Y(f);
7035
+ var f = re(), v = G(f);
7036
7036
  Gl(
7037
- h,
7037
+ v,
7038
7038
  {
7039
7039
  get onerror() {
7040
7040
  return r.onError;
7041
7041
  }
7042
7042
  },
7043
- (v) => {
7043
+ (h) => {
7044
7044
  var y = hd(), x = P(y);
7045
7045
  ia(x, {
7046
7046
  onAction: _,
@@ -7057,7 +7057,7 @@ function kd(e, r) {
7057
7057
  return d(i);
7058
7058
  }
7059
7059
  });
7060
- var T = O(x, 2);
7060
+ var T = C(x, 2);
7061
7061
  {
7062
7062
  var S = (w) => {
7063
7063
  Si(w, hr(() => r.paywallData.components_config.base.sticky_footer, {
@@ -7080,23 +7080,23 @@ function kd(e, r) {
7080
7080
  r.paywallData.components_config.base.sticky_footer && w(S);
7081
7081
  });
7082
7082
  }
7083
- var z = O(T, 2);
7083
+ var z = C(T, 2);
7084
7084
  {
7085
- var C = (w) => {
7085
+ var B = (w) => {
7086
7086
  var q = yd();
7087
7087
  A(() => j(q, "style", d(g))), b(w, q);
7088
7088
  }, k = (w) => {
7089
- var q = ee(), G = Y(q);
7089
+ var q = re(), Y = G(q);
7090
7090
  {
7091
- var W = (ae) => {
7092
- var J = bd(), re = P(J);
7093
- A(() => j(re, "src", d(m))), b(ae, J);
7091
+ var V = (Q) => {
7092
+ var Z = bd(), te = P(Z);
7093
+ A(() => j(te, "src", d(m))), b(Q, Z);
7094
7094
  };
7095
7095
  N(
7096
- G,
7097
- (ae) => {
7098
- var J;
7099
- ((J = r.paywallData.components_config.base.background) == null ? void 0 : J.type) === "image" && ae(W);
7096
+ Y,
7097
+ (Q) => {
7098
+ var Z;
7099
+ ((Z = r.paywallData.components_config.base.background) == null ? void 0 : Z.type) === "image" && Q(V);
7100
7100
  },
7101
7101
  !0
7102
7102
  );
@@ -7105,12 +7105,12 @@ function kd(e, r) {
7105
7105
  };
7106
7106
  N(z, (w) => {
7107
7107
  var q;
7108
- ((q = r.paywallData.components_config.base.background) == null ? void 0 : q.type) === "color" ? w(C) : w(k, !1);
7108
+ ((q = r.paywallData.components_config.base.background) == null ? void 0 : q.type) === "color" ? w(B) : w(k, !1);
7109
7109
  });
7110
7110
  }
7111
- b(v, y);
7111
+ b(h, y);
7112
7112
  }
7113
- ), b(e, f), H();
7113
+ ), b(e, f), W();
7114
7114
  }
7115
7115
  const wd = (e, r) => {
7116
7116
  var t;
@@ -7122,13 +7122,13 @@ const Pd = {
7122
7122
  code: "button.svelte-1wpam0z {border:none;cursor:pointer;background:transparent;width:fit-content;}"
7123
7123
  };
7124
7124
  function Ei(e, r) {
7125
- V(r, !0), R(e, Pd);
7125
+ H(r, !0), U(e, Pd);
7126
7126
  var t = xd();
7127
7127
  t.__click = [wd, r];
7128
7128
  var a = P(t);
7129
7129
  ge(a, () => r.children ?? ne), A(() => {
7130
7130
  Fr(t, li(r.class), "svelte-1wpam0z"), t.disabled = !r.onclick, j(t, "style", r.style);
7131
- }), b(e, t), H();
7131
+ }), b(e, t), W();
7132
7132
  }
7133
7133
  ha(["click"]);
7134
7134
  var Sd = /* @__PURE__ */ I('<div class="rcb-processing svelte-2j2b59"></div>');
@@ -7171,8 +7171,8 @@ const Ed = {
7171
7171
  }`
7172
7172
  };
7173
7173
  function Td(e, r) {
7174
- R(e, Ed);
7175
- let t = U(r, "size", 8, "medium");
7174
+ U(e, Ed);
7175
+ let t = R(r, "size", 8, "medium");
7176
7176
  const a = {
7177
7177
  small: { width: "8px", offset: "10px" },
7178
7178
  medium: { width: "12px", offset: "20px" },
@@ -7228,10 +7228,10 @@ const qd = {
7228
7228
  }`
7229
7229
  };
7230
7230
  function Fd(e, r) {
7231
- V(r, !0), R(e, qd);
7232
- const t = U(r, "size", 3, "body-base");
7231
+ H(r, !0), U(e, qd);
7232
+ const t = R(r, "size", 3, "body-base");
7233
7233
  var a = Id(), n = P(a);
7234
- ge(n, () => r.children ?? ne), A(() => Fr(a, `rcb-typography rcb-typography-${t() ?? ""} svelte-byrjto`)), b(e, a), H();
7234
+ ge(n, () => r.children ?? ne), A(() => Fr(a, `rcb-typography rcb-typography-${t() ?? ""} svelte-byrjto`)), b(e, a), W();
7235
7235
  }
7236
7236
  const zd = {
7237
7237
  error: "#B0171F",
@@ -7627,8 +7627,8 @@ const Qd = {
7627
7627
  button.svelte-td7xvm:active {background-color:var(--rc-color-primary-pressed);outline:none;}button.intent-primary.svelte-td7xvm:disabled {color:var(--rc-color-grey-text-light);background-color:var(--rc-color-grey-ui-dark);}`
7628
7628
  };
7629
7629
  function zi(e, r) {
7630
- V(r, !0), R(e, Qd);
7631
- const t = U(r, "intent", 3, "primary"), a = U(r, "disabled", 3, !1), n = U(r, "loading", 3, !1), o = /* @__PURE__ */ E(() => new Kd(r.brandingAppearance)), i = /* @__PURE__ */ E(() => d(o).textStyleVars), s = /* @__PURE__ */ E(() => d(o).spacingStyleVars), l = /* @__PURE__ */ E(() => d(o).productInfoStyleVars), c = /* @__PURE__ */ E(() => d(o).formStyleVars), p = /* @__PURE__ */ E(() => [
7630
+ H(r, !0), U(e, Qd);
7631
+ const t = R(r, "intent", 3, "primary"), a = R(r, "disabled", 3, !1), n = R(r, "loading", 3, !1), o = /* @__PURE__ */ E(() => new Kd(r.brandingAppearance)), i = /* @__PURE__ */ E(() => d(o).textStyleVars), s = /* @__PURE__ */ E(() => d(o).spacingStyleVars), l = /* @__PURE__ */ E(() => d(o).productInfoStyleVars), c = /* @__PURE__ */ E(() => d(o).formStyleVars), p = /* @__PURE__ */ E(() => [
7632
7632
  r.styleOverrides,
7633
7633
  d(i),
7634
7634
  d(s),
@@ -7637,8 +7637,8 @@ function zi(e, r) {
7637
7637
  ].join("; "));
7638
7638
  var u = Jd();
7639
7639
  u.__click = function(...f) {
7640
- var h;
7641
- (h = r.onclick) == null || h.apply(this, f);
7640
+ var v;
7641
+ (v = r.onclick) == null || v.apply(this, f);
7642
7642
  };
7643
7643
  var _ = P(u);
7644
7644
  {
@@ -7647,9 +7647,9 @@ function zi(e, r) {
7647
7647
  }, m = (f) => {
7648
7648
  Fd(f, {
7649
7649
  size: "body-base",
7650
- children: (h, v) => {
7651
- var y = ee(), x = Y(y);
7652
- Al(x, r, "default", {}), b(h, y);
7650
+ children: (v, h) => {
7651
+ var y = re(), x = G(y);
7652
+ Al(x, r, "default", {}), b(v, y);
7653
7653
  },
7654
7654
  $$slots: { default: !0 }
7655
7655
  });
@@ -7660,7 +7660,7 @@ function zi(e, r) {
7660
7660
  }
7661
7661
  A(() => {
7662
7662
  Fr(u, `${`intent-${t()}` ?? ""} svelte-td7xvm`), u.disabled = a(), j(u, "data-testid", r.testId), j(u, "type", r.type), j(u, "style", d(p));
7663
- }), b(e, u), H();
7663
+ }), b(e, u), W();
7664
7664
  }
7665
7665
  ha(["click"]);
7666
7666
  const $d = (e) => {
@@ -7690,7 +7690,7 @@ const lu = {
7690
7690
  code: ".rc-pw-image-container.svelte-1esrvxg {border-end-start-radius:var(--image-border-end-start-radius, 0px);border-end-end-radius:var(--image-border-end-end-radius, 0px);border-start-start-radius:var(--image-border-start-start-radius, 0px);border-start-end-radius:var(--image-border-start-end-radius, 0px);position:relative;overflow:hidden;display:flex;flex:var(--image-flex, 1 1 auto);position:var(--image-position, relative);inset:var(--image-inset, 0);transform:var(--image-transform, initial);height:var(--image-height, initial);width:var(--image-width, initial);}.rc-pw-image.svelte-1esrvxg {width:100%;height:100%;object-fit:cover;display:block;}.rc-pw-image-overlay.svelte-1esrvxg {position:absolute;inset:0;}"
7691
7691
  };
7692
7692
  function cu(e, r) {
7693
- V(r, !0), R(e, lu);
7693
+ H(r, !0), U(e, lu);
7694
7694
  const t = /* @__PURE__ */ Ar(r, [
7695
7695
  "$$slots",
7696
7696
  "$$events",
@@ -7715,11 +7715,11 @@ function cu(e, r) {
7715
7715
  const k = r.purchaseState.colorMode;
7716
7716
  return (w = r.source[k]) != null && w.original ? r.source[k].original : (q = r.source[Re]) == null ? void 0 : q.original;
7717
7717
  });
7718
- var u = su(), _ = Y(u);
7718
+ var u = su(), _ = G(u);
7719
7719
  _i(_, (k) => n = k, () => n);
7720
- var g = O(_, 2), m = P(g), f = P(m), h = P(f);
7720
+ var g = C(_, 2), m = P(g), f = P(m), v = P(f);
7721
7721
  {
7722
- var v = (k) => {
7722
+ var h = (k) => {
7723
7723
  var w = eu();
7724
7724
  A(() => {
7725
7725
  j(w, "cy", d(a) * 50), j(w, "ry", d(a) * 50);
@@ -7728,42 +7728,42 @@ function cu(e, r) {
7728
7728
  var w = ru();
7729
7729
  A(() => j(w, "d", d(l))), b(k, w);
7730
7730
  };
7731
- N(h, (k) => {
7731
+ N(v, (k) => {
7732
7732
  var w;
7733
- ((w = r.mask_shape) == null ? void 0 : w.type) === "circle" ? k(v) : k(y, !1);
7733
+ ((w = r.mask_shape) == null ? void 0 : w.type) === "circle" ? k(h) : k(y, !1);
7734
7734
  });
7735
7735
  }
7736
- var x = O(f);
7736
+ var x = C(f);
7737
7737
  {
7738
7738
  var T = (k) => {
7739
7739
  var w = au();
7740
7740
  it(w, 21, () => {
7741
- var q, G, W, ae;
7742
- return ((G = (q = r.color_overlay) == null ? void 0 : q[r.purchaseState.colorMode]) == null ? void 0 : G.points) || ((ae = (W = r.color_overlay) == null ? void 0 : W[Re]) == null ? void 0 : ae.points) || [];
7743
- }, ot, (q, G) => {
7744
- var W = tu();
7741
+ var q, Y, V, Q;
7742
+ return ((Y = (q = r.color_overlay) == null ? void 0 : q[r.purchaseState.colorMode]) == null ? void 0 : Y.points) || ((Q = (V = r.color_overlay) == null ? void 0 : V[Re]) == null ? void 0 : Q.points) || [];
7743
+ }, ot, (q, Y) => {
7744
+ var V = tu();
7745
7745
  A(() => {
7746
- j(W, "offset", `${d(G).percent}%`), j(W, "style", `stop-color: ${d(G).color}`);
7747
- }), b(q, W);
7746
+ j(V, "offset", `${d(Y).percent}%`), j(V, "style", `stop-color: ${d(Y).color}`);
7747
+ }), b(q, V);
7748
7748
  }), A(() => {
7749
7749
  j(w, "id", `gradient-${r.id}`), j(w, "x1", d(c).x1), j(w, "y1", d(c).y1), j(w, "x2", d(c).x2), j(w, "y2", d(c).y2);
7750
7750
  }), b(k, w);
7751
7751
  }, S = (k) => {
7752
- var w = ee(), q = Y(w);
7752
+ var w = re(), q = G(w);
7753
7753
  {
7754
- var G = (ae) => {
7755
- var J = ou();
7756
- it(J, 21, () => {
7757
- var re, pe, me, ce;
7758
- return ((pe = (re = r.color_overlay) == null ? void 0 : re[r.purchaseState.colorMode]) == null ? void 0 : pe.points) || ((ce = (me = r.color_overlay) == null ? void 0 : me[Re]) == null ? void 0 : ce.points) || [];
7759
- }, ot, (re, pe) => {
7754
+ var Y = (Q) => {
7755
+ var Z = ou();
7756
+ it(Z, 21, () => {
7757
+ var te, pe, me, ce;
7758
+ return ((pe = (te = r.color_overlay) == null ? void 0 : te[r.purchaseState.colorMode]) == null ? void 0 : pe.points) || ((ce = (me = r.color_overlay) == null ? void 0 : me[Re]) == null ? void 0 : ce.points) || [];
7759
+ }, ot, (te, pe) => {
7760
7760
  var me = nu();
7761
7761
  A(() => {
7762
7762
  j(me, "offset", `${d(pe).percent}%`), j(me, "style", `stop-color: ${d(pe).color}`);
7763
- }), b(re, me);
7764
- }), A(() => j(J, "id", `gradient-${r.id}`)), b(ae, J);
7765
- }, W = (ae) => {
7766
- var J = ee(), re = Y(J);
7763
+ }), b(te, me);
7764
+ }), A(() => j(Z, "id", `gradient-${r.id}`)), b(Q, Z);
7765
+ }, V = (Q) => {
7766
+ var Z = re(), te = G(Z);
7767
7767
  {
7768
7768
  var pe = (me) => {
7769
7769
  var ce = iu(), ke = P(ce);
@@ -7773,7 +7773,7 @@ function cu(e, r) {
7773
7773
  }), b(me, ce);
7774
7774
  };
7775
7775
  N(
7776
- re,
7776
+ te,
7777
7777
  (me) => {
7778
7778
  var ce, ke;
7779
7779
  ((ke = (ce = r.color_overlay) == null ? void 0 : ce[r.purchaseState.colorMode]) == null ? void 0 : ke.type) === "hex" && me(pe);
@@ -7781,13 +7781,13 @@ function cu(e, r) {
7781
7781
  !0
7782
7782
  );
7783
7783
  }
7784
- b(ae, J);
7784
+ b(Q, Z);
7785
7785
  };
7786
7786
  N(
7787
7787
  q,
7788
- (ae) => {
7789
- var J, re;
7790
- ((re = (J = r.color_overlay) == null ? void 0 : J[r.purchaseState.colorMode]) == null ? void 0 : re.type) === "radial" ? ae(G) : ae(W, !1);
7788
+ (Q) => {
7789
+ var Z, te;
7790
+ ((te = (Z = r.color_overlay) == null ? void 0 : Z[r.purchaseState.colorMode]) == null ? void 0 : te.type) === "radial" ? Q(Y) : Q(V, !1);
7791
7791
  },
7792
7792
  !0
7793
7793
  );
@@ -7799,10 +7799,10 @@ function cu(e, r) {
7799
7799
  ((q = (w = r.color_overlay) == null ? void 0 : w[r.purchaseState.colorMode]) == null ? void 0 : q.type) === "linear" ? k(T) : k(S, !1);
7800
7800
  });
7801
7801
  }
7802
- var z = O(m), C = O(z);
7802
+ var z = C(m), B = C(z);
7803
7803
  A(() => {
7804
- j(_, "src", d(p)), j(g, "id", `rc-pw-image-container-${r.id}`), j(g, "style", d(s)), j(g, "viewBox", `0 0 100 ${d(a) * 100}`), j(f, "id", `clip-path-${r.id}`), j(z, "href", d(p)), j(z, "height", d(a) * 100), j(z, "clip-path", `url(#clip-path-${r.id})`), j(z, "id", r.id), j(C, "height", d(a) * 100), j(C, "clip-path", `url(#clip-path-${r.id})`), j(C, "fill", `url(#gradient-${r.id})`);
7805
- }), nt("load", _, o), b(e, u), H();
7804
+ j(_, "src", d(p)), j(g, "id", `rc-pw-image-container-${r.id}`), j(g, "style", d(s)), j(g, "viewBox", `0 0 100 ${d(a) * 100}`), j(f, "id", `clip-path-${r.id}`), j(z, "href", d(p)), j(z, "height", d(a) * 100), j(z, "clip-path", `url(#clip-path-${r.id})`), j(z, "id", r.id), j(B, "height", d(a) * 100), j(B, "clip-path", `url(#clip-path-${r.id})`), j(B, "fill", `url(#gradient-${r.id})`);
7805
+ }), nt("load", _, o), b(e, u), W();
7806
7806
  }
7807
7807
  function du({ stack: e, zStackChildStyles: r }) {
7808
7808
  const t = e.size.width.type === "fill" ? "100%" : "fit-content", a = Ye(r || {}, "purchase-button");
@@ -7818,7 +7818,7 @@ function du({ stack: e, zStackChildStyles: r }) {
7818
7818
  }
7819
7819
  const uu = { hash: "svelte-1x8zwdp", code: "" };
7820
7820
  function pu(e, r) {
7821
- V(r, !0), R(e, uu);
7821
+ H(r, !0), U(e, uu);
7822
7822
  const t = /* @__PURE__ */ Ar(r, [
7823
7823
  "$$slots",
7824
7824
  "$$events",
@@ -7860,7 +7860,7 @@ function pu(e, r) {
7860
7860
  }));
7861
7861
  },
7862
7862
  $$slots: { default: !0 }
7863
- }), H();
7863
+ }), W();
7864
7864
  }
7865
7865
  const _u = (e, r) => {
7866
7866
  e.preventDefault(), e.stopPropagation(), r.onAction && r.onAction({ type: "select_package" }, { packageId: r.package_id });
@@ -7871,7 +7871,7 @@ const mu = {
7871
7871
  code: ".rc-pw-package.svelte-123kamd {width:100%;display:flex;margin:0;padding:0;background:initial;border:initial;text-align:initial;position:var(--package-position, relative);inset:var(--package-inset, 0);transform:var(--package-transform, initial);}"
7872
7872
  };
7873
7873
  function fu(e, r) {
7874
- V(r, !0), R(e, mu);
7874
+ H(r, !0), U(e, mu);
7875
7875
  const t = /* @__PURE__ */ E(() => {
7876
7876
  var s;
7877
7877
  return ((s = r.purchaseState.variablesPerPackage) == null ? void 0 : s[r.package_id]) || r.variableDictionary;
@@ -7902,7 +7902,7 @@ function fu(e, r) {
7902
7902
  }
7903
7903
  })), A(() => {
7904
7904
  j(o, "id", r.id), j(o, "style", d(n)), fr(o, "selected", d(a).selected);
7905
- }), b(e, o), H();
7905
+ }), b(e, o), W();
7906
7906
  }
7907
7907
  ha(["click"]);
7908
7908
  function yu(e) {
@@ -8012,29 +8012,29 @@ const vu = {
8012
8012
  .rc-pw-timeline-item-content-description.svelte-gjmo4g {margin-block-start:var(--timeline-item-text-margin-block-start, 0px);margin-inline-end:var(--timeline-item-text-margin-inline-end, 0px);margin-block-end:var(--timeline-item-text-margin-block-end, 0px);margin-inline-start:var(--timeline-item-text-margin-inline-start, 0px);padding-block-start:var(--timeline-item-text-padding-block-start, 0);padding-inline-end:var(--timeline-item-text-padding-inline-end, 0);padding-block-end:var(--timeline-item-text-padding-block-end, 0);padding-inline-start:var(--timeline-item-text-padding-inline-start, 0);font-family:var(--timeline-item-text-font-family, sans-serif);}`
8013
8013
  };
8014
8014
  function ku(e, r) {
8015
- V(r, !0), R(e, vu);
8015
+ H(r, !0), U(e, vu);
8016
8016
  const t = /* @__PURE__ */ Ar(r, ["$$slots", "$$events", "$$legacy"]), a = /* @__PURE__ */ E(() => bu(t)), n = /* @__PURE__ */ E(() => bo(t, "title")), o = /* @__PURE__ */ E(() => d(n).tagToRender), i = /* @__PURE__ */ E(() => d(n).textStyles), s = /* @__PURE__ */ E(() => d(n).textLabel), l = /* @__PURE__ */ E(() => bo(t, "description")), c = /* @__PURE__ */ E(() => d(l).tagToRender), p = /* @__PURE__ */ E(() => d(l).textStyles), u = /* @__PURE__ */ E(() => d(l).textLabel);
8017
- var _ = hu(), g = O(P(_), 2), m = P(g);
8018
- ea(m, () => d(o), !1, (v, y) => {
8017
+ var _ = hu(), g = C(P(_), 2), m = P(g);
8018
+ ea(m, () => d(o), !1, (h, y) => {
8019
8019
  let x;
8020
8020
  A(() => x = ra(
8021
- v,
8021
+ h,
8022
8022
  x,
8023
8023
  {
8024
8024
  class: "rc-pw-timeline-item-content-title",
8025
8025
  style: d(i)
8026
8026
  },
8027
8027
  "svelte-gjmo4g",
8028
- v.namespaceURI === xt,
8029
- v.nodeName.includes("-")
8028
+ h.namespaceURI === xt,
8029
+ h.nodeName.includes("-")
8030
8030
  ));
8031
8031
  var T = ie();
8032
- A(() => te(T, d(s))), b(y, T);
8032
+ A(() => ae(T, d(s))), b(y, T);
8033
8033
  });
8034
- var f = O(m, 2);
8034
+ var f = C(m, 2);
8035
8035
  {
8036
- var h = (v) => {
8037
- var y = ee(), x = Y(y);
8036
+ var v = (h) => {
8037
+ var y = re(), x = G(y);
8038
8038
  ea(x, () => d(c), !1, (T, S) => {
8039
8039
  let z;
8040
8040
  A(() => z = ra(
@@ -8048,15 +8048,15 @@ function ku(e, r) {
8048
8048
  T.namespaceURI === xt,
8049
8049
  T.nodeName.includes("-")
8050
8050
  ));
8051
- var C = ie();
8052
- A(() => te(C, d(u))), b(S, C);
8053
- }), b(v, y);
8051
+ var B = ie();
8052
+ A(() => ae(B, d(u))), b(S, B);
8053
+ }), b(h, y);
8054
8054
  };
8055
- N(f, (v) => {
8056
- d(u) && v(h);
8055
+ N(f, (h) => {
8056
+ d(u) && h(v);
8057
8057
  });
8058
8058
  }
8059
- A(() => j(_, "style", d(a))), b(e, _), H();
8059
+ A(() => j(_, "style", d(a))), b(e, _), W();
8060
8060
  }
8061
8061
  var wu = /* @__PURE__ */ I('<div class="rc-pw-timeline-container svelte-12g27vu"></div>');
8062
8062
  const xu = {
@@ -8064,9 +8064,9 @@ const xu = {
8064
8064
  code: ".rc-pw-timeline-container.svelte-12g27vu {display:flex;flex:var(--timeline-flex, 0 1 auto);flex-direction:column;gap:var(--timeline-item-spacing, 0);width:var(--timeline-width, initial);height:var(--timeline-height, initial);position:var(--timeline-position, relative);inset:var(--timeline-inset, 0);transform:var(--timeline-transform, initial);}"
8065
8065
  };
8066
8066
  function Pu(e, r) {
8067
- V(r, !0), R(e, xu);
8067
+ H(r, !0), U(e, xu);
8068
8068
  const t = /* @__PURE__ */ Ar(r, ["$$slots", "$$events", "$$legacy", "items"]), a = /* @__PURE__ */ E(() => yu({ items: r.items, ...t }));
8069
- var n = ee(), o = Y(n);
8069
+ var n = re(), o = G(n);
8070
8070
  {
8071
8071
  var i = (s) => {
8072
8072
  var l = wu();
@@ -8099,7 +8099,7 @@ function Pu(e, r) {
8099
8099
  r.items.length && s(i);
8100
8100
  });
8101
8101
  }
8102
- b(e, n), H();
8102
+ b(e, n), W();
8103
8103
  }
8104
8104
  var Su = /* @__PURE__ */ I('<footer class="rcb-modal-footer svelte-1f9z0o8"><!></footer>');
8105
8105
  const Eu = {
@@ -8107,26 +8107,26 @@ const Eu = {
8107
8107
  code: "footer.svelte-1f9z0o8 {display:flex;flex-direction:column;}"
8108
8108
  };
8109
8109
  function Tu(e, r) {
8110
- V(r, !1), R(e, Eu);
8111
- let t = U(r, "children", 8);
8110
+ H(r, !1), U(e, Eu);
8111
+ let t = R(r, "children", 8);
8112
8112
  Qe();
8113
8113
  var a = Su(), n = P(a);
8114
- ge(n, () => t() ?? ne), b(e, a), H();
8114
+ ge(n, () => t() ?? ne), b(e, a), W();
8115
8115
  }
8116
8116
  const Iu = {
8117
8117
  hash: "svelte-1bzqb13",
8118
8118
  code: ".rcb-modal-section.svelte-1bzqb13 {padding:8px 0px;display:flex;}section.rcb-modal-section.svelte-1bzqb13 {flex-grow:1;}.rcb-modal-section.svelte-1bzqb13:last-of-type {padding:0;}"
8119
8119
  };
8120
8120
  function qu(e, r) {
8121
- V(r, !1), R(e, Iu);
8122
- let t = U(r, "as", 8, "section"), a = U(r, "children", 8);
8121
+ H(r, !1), U(e, Iu);
8122
+ let t = R(r, "as", 8, "section"), a = R(r, "children", 8);
8123
8123
  Qe();
8124
- var n = ee(), o = Y(n);
8124
+ var n = re(), o = G(n);
8125
8125
  ea(o, t, !1, (i, s) => {
8126
8126
  ra(i, null, { class: "rcb-modal-section" }, "svelte-1bzqb13", i.namespaceURI === xt, i.nodeName.includes("-"));
8127
- var l = ee(), c = Y(l);
8127
+ var l = re(), c = G(l);
8128
8128
  ge(c, () => a() ?? ne), b(s, l);
8129
- }), b(e, n), H();
8129
+ }), b(e, n), W();
8130
8130
  }
8131
8131
  var Fu = /* @__PURE__ */ I("<div><!></div>");
8132
8132
  const zu = {
@@ -8137,11 +8137,11 @@ const zu = {
8137
8137
  }`
8138
8138
  };
8139
8139
  function Di(e, r) {
8140
- V(r, !1), R(e, zu);
8141
- let t = U(r, "gap", 8, "small"), a = U(r, "align", 8, "start"), n = U(r, "children", 8);
8140
+ H(r, !1), U(e, zu);
8141
+ let t = R(r, "gap", 8, "small"), a = R(r, "align", 8, "start"), n = R(r, "children", 8);
8142
8142
  Qe();
8143
8143
  var o = Fu(), i = P(o);
8144
- ge(i, () => n() ?? ne), A(() => Fr(o, `rcb-column gap-${t() ?? ""} align-${a() ?? ""} svelte-b5dygi`)), b(e, o), H();
8144
+ ge(i, () => n() ?? ne), A(() => Fr(o, `rcb-column gap-${t() ?? ""} align-${a() ?? ""} svelte-b5dygi`)), b(e, o), W();
8145
8145
  }
8146
8146
  var Du = /* @__PURE__ */ I('<div class="rcb-row svelte-1seeuxq"><!></div>');
8147
8147
  const Au = {
@@ -8149,11 +8149,11 @@ const Au = {
8149
8149
  code: ".rcb-row.svelte-1seeuxq {display:flex;flex-direction:row;justify-content:flex-start;}"
8150
8150
  };
8151
8151
  function Mu(e, r) {
8152
- V(r, !1), R(e, Au);
8153
- let t = U(r, "children", 8);
8152
+ H(r, !1), U(e, Au);
8153
+ let t = R(r, "children", 8);
8154
8154
  Qe();
8155
8155
  var a = Du(), n = P(a);
8156
- ge(n, () => t() ?? ne), b(e, a), H();
8156
+ ge(n, () => t() ?? ne), b(e, a), W();
8157
8157
  }
8158
8158
  var ju = /* @__PURE__ */ I("<span><!></span>");
8159
8159
  const Nu = {
@@ -8204,10 +8204,10 @@ const Nu = {
8204
8204
  }`
8205
8205
  };
8206
8206
  function se(e, r) {
8207
- V(r, !0), R(e, Nu);
8208
- const t = U(r, "size", 3, "body-base"), a = U(r, "branded", 3, !1);
8207
+ H(r, !0), U(e, Nu);
8208
+ const t = R(r, "size", 3, "body-base"), a = R(r, "branded", 3, !1);
8209
8209
  var n = ju(), o = P(n);
8210
- ge(o, () => r.children ?? ne), A(() => Fr(n, `rcb-typography rcb-typography-${t() ?? ""} ${(a() ? "rcb-typography-branded" : "") ?? ""} svelte-orw2sj`)), b(e, n), H();
8210
+ ge(o, () => r.children ?? ne), A(() => Fr(n, `rcb-typography rcb-typography-${t() ?? ""} ${(a() ? "rcb-typography-branded" : "") ?? ""} svelte-orw2sj`)), b(e, n), W();
8211
8211
  }
8212
8212
  var Cu = /* @__PURE__ */ I("<div><!></div>"), Ou = /* @__PURE__ */ I('<span style="display: block;"><!></span>'), Lu = /* @__PURE__ */ I("<!> <!>", 1), Bu = /* @__PURE__ */ I("<!> <!>", 1), Ru = /* @__PURE__ */ I('<div class="rcb-modal-message svelte-w46z5s" data-type="error"><!></div>');
8213
8213
  const Uu = {
@@ -8218,8 +8218,8 @@ const Uu = {
8218
8218
  }`
8219
8219
  };
8220
8220
  function Vu(e, r) {
8221
- V(r, !0), R(e, Uu);
8222
- const t = U(r, "title", 3, null), a = U(r, "icon", 3, null), n = 32;
8221
+ H(r, !0), U(e, Uu);
8222
+ const t = R(r, "title", 3, null), a = R(r, "icon", 3, null), n = 32;
8223
8223
  let o = X(null), i = X(!1), s;
8224
8224
  We(() => (d(o) && (s = new ResizeObserver(() => {
8225
8225
  var p;
@@ -8232,60 +8232,60 @@ function Vu(e, r) {
8232
8232
  gap: "medium",
8233
8233
  align: "start",
8234
8234
  children: (p, u) => {
8235
- var _ = Bu(), g = Y(_);
8235
+ var _ = Bu(), g = G(_);
8236
8236
  Mu(g, {
8237
- children: (h, v) => {
8238
- var y = Lu(), x = Y(y);
8237
+ children: (v, h) => {
8238
+ var y = Lu(), x = G(y);
8239
8239
  {
8240
- var T = (C) => {
8240
+ var T = (B) => {
8241
8241
  var k = Cu(), w = P(k);
8242
- ge(w, a), A(() => Fr(k, `rcb-modal-message-icon ${(d(i) ? "large" : "small") ?? ""} svelte-w46z5s`)), b(C, k);
8242
+ ge(w, a), A(() => Fr(k, `rcb-modal-message-icon ${(d(i) ? "large" : "small") ?? ""} svelte-w46z5s`)), b(B, k);
8243
8243
  };
8244
- N(x, (C) => {
8245
- a() && C(T);
8244
+ N(x, (B) => {
8245
+ a() && B(T);
8246
8246
  });
8247
8247
  }
8248
- var S = O(x, 2);
8248
+ var S = C(x, 2);
8249
8249
  {
8250
- var z = (C) => {
8250
+ var z = (B) => {
8251
8251
  var k = Ou(), w = P(k);
8252
8252
  se(w, {
8253
8253
  size: "heading-md",
8254
- children: (q, G) => {
8255
- var W = ie();
8256
- A(() => te(W, t())), b(q, W);
8254
+ children: (q, Y) => {
8255
+ var V = ie();
8256
+ A(() => ae(V, t())), b(q, V);
8257
8257
  },
8258
8258
  $$slots: { default: !0 }
8259
- }), _i(k, (q) => D(o, q), () => d(o)), b(C, k);
8259
+ }), _i(k, (q) => D(o, q), () => d(o)), b(B, k);
8260
8260
  };
8261
- N(S, (C) => {
8262
- t() && C(z);
8261
+ N(S, (B) => {
8262
+ t() && B(z);
8263
8263
  });
8264
8264
  }
8265
- b(h, y);
8265
+ b(v, y);
8266
8266
  },
8267
8267
  $$slots: { default: !0 }
8268
8268
  });
8269
- var m = O(g, 2);
8269
+ var m = C(g, 2);
8270
8270
  {
8271
- var f = (h) => {
8272
- se(h, {
8271
+ var f = (v) => {
8272
+ se(v, {
8273
8273
  size: "body-small",
8274
- children: (v, y) => {
8275
- var x = ee(), T = Y(x);
8276
- ge(T, () => r.message ?? ne), b(v, x);
8274
+ children: (h, y) => {
8275
+ var x = re(), T = G(x);
8276
+ ge(T, () => r.message ?? ne), b(h, x);
8277
8277
  },
8278
8278
  $$slots: { default: !0 }
8279
8279
  });
8280
8280
  };
8281
- N(m, (h) => {
8282
- r.message && h(f);
8281
+ N(m, (v) => {
8282
+ r.message && v(f);
8283
8283
  });
8284
8284
  }
8285
8285
  b(p, _);
8286
8286
  },
8287
8287
  $$slots: { default: !0 }
8288
- }), A(() => j(l, "data-has-title", !!t())), b(e, l), H();
8288
+ }), A(() => j(l, "data-has-title", !!t())), b(e, l), W();
8289
8289
  }
8290
8290
  var Hu = /* @__PURE__ */ I('<div class="rcb-modal-message-icon svelte-c8cuu5"><!></div>'), Wu = /* @__PURE__ */ I("<!> <!>", 1), Yu = /* @__PURE__ */ I('<div class="rcb-modal-message svelte-c8cuu5" data-type="success"><!></div>');
8291
8291
  const Gu = {
@@ -8296,14 +8296,14 @@ const Gu = {
8296
8296
  }`
8297
8297
  };
8298
8298
  function Xu(e, r) {
8299
- V(r, !0), R(e, Gu);
8300
- const t = U(r, "title", 3, null), a = U(r, "icon", 3, null);
8299
+ H(r, !0), U(e, Gu);
8300
+ const t = R(r, "title", 3, null), a = R(r, "icon", 3, null);
8301
8301
  var n = Yu(), o = P(n);
8302
8302
  Di(o, {
8303
8303
  gap: "large",
8304
8304
  align: "center",
8305
8305
  children: (i, s) => {
8306
- var l = Wu(), c = Y(l);
8306
+ var l = Wu(), c = G(l);
8307
8307
  {
8308
8308
  var p = (g) => {
8309
8309
  var m = Hu(), f = P(m);
@@ -8313,14 +8313,14 @@ function Xu(e, r) {
8313
8313
  a() && g(p);
8314
8314
  });
8315
8315
  }
8316
- var u = O(c, 2);
8316
+ var u = C(c, 2);
8317
8317
  {
8318
8318
  var _ = (g) => {
8319
8319
  se(g, {
8320
8320
  size: "heading-md",
8321
8321
  children: (m, f) => {
8322
- var h = ie();
8323
- A(() => te(h, t())), b(m, h);
8322
+ var v = ie();
8323
+ A(() => ae(v, t())), b(m, v);
8324
8324
  },
8325
8325
  $$slots: { default: !0 }
8326
8326
  });
@@ -8332,7 +8332,7 @@ function Xu(e, r) {
8332
8332
  b(i, l);
8333
8333
  },
8334
8334
  $$slots: { default: !0 }
8335
- }), A(() => j(n, "data-has-title", !!t())), b(e, n), H();
8335
+ }), A(() => j(n, "data-has-title", !!t())), b(e, n), W();
8336
8336
  }
8337
8337
  const xn = "rcb-ui-events-tracker", Pn = "branding";
8338
8338
  var Zu = /* @__PURE__ */ I('<div class="message-layout svelte-qavr33"><div class="message-layout-content svelte-qavr33"><!></div> <div class="message-layout-footer"><!></div></div>');
@@ -8347,8 +8347,8 @@ const Ku = {
8347
8347
  }`
8348
8348
  };
8349
8349
  function Sn(e, r) {
8350
- V(r, !0), R(e, Ku);
8351
- let t = U(r, "title", 3, null), a = U(r, "closeButtonTitle", 3, "Go back to app"), n = U(r, "icon", 3, null), o = U(r, "message", 3, null);
8350
+ H(r, !0), U(e, Ku);
8351
+ let t = R(r, "title", 3, null), a = R(r, "closeButtonTitle", 3, "Go back to app"), n = R(r, "icon", 3, null), o = R(r, "message", 3, null);
8352
8352
  const i = Ee(Pn);
8353
8353
  function s() {
8354
8354
  r.onDismiss();
@@ -8356,9 +8356,9 @@ function Sn(e, r) {
8356
8356
  var l = Zu(), c = P(l), p = P(c);
8357
8357
  qu(p, {
8358
8358
  children: (g, m) => {
8359
- var f = ee(), h = Y(f);
8359
+ var f = re(), v = G(f);
8360
8360
  {
8361
- var v = (x) => {
8361
+ var h = (x) => {
8362
8362
  Xu(x, {
8363
8363
  get title() {
8364
8364
  return t();
@@ -8380,48 +8380,48 @@ function Sn(e, r) {
8380
8380
  }
8381
8381
  });
8382
8382
  };
8383
- N(h, (x) => {
8384
- r.type === "success" ? x(v) : x(y, !1);
8383
+ N(v, (x) => {
8384
+ r.type === "success" ? x(h) : x(y, !1);
8385
8385
  });
8386
8386
  }
8387
8387
  b(g, f);
8388
8388
  },
8389
8389
  $$slots: { default: !0 }
8390
8390
  });
8391
- var u = O(c, 2), _ = P(u);
8391
+ var u = C(c, 2), _ = P(u);
8392
8392
  Tu(_, {
8393
8393
  children: (g, m) => {
8394
8394
  zi(g, {
8395
8395
  onclick: s,
8396
8396
  type: "submit",
8397
8397
  brandingAppearance: i,
8398
- children: (f, h) => {
8399
- var v = ie();
8400
- A(() => te(v, a())), b(f, v);
8398
+ children: (f, v) => {
8399
+ var h = ie();
8400
+ A(() => ae(h, a())), b(f, h);
8401
8401
  },
8402
8402
  $$slots: { default: !0 }
8403
8403
  });
8404
8404
  },
8405
8405
  $$slots: { default: !0 }
8406
- }), b(e, l), H();
8406
+ }), b(e, l), W();
8407
8407
  }
8408
8408
  function ur(e, r) {
8409
- V(r, !0);
8410
- const t = De(), a = () => ze(o, "$translator", t), n = U(r, "key", 3, ""), o = Ee(Ne), i = /* @__PURE__ */ E(() => n() ? a().translate(n() || "", r.variables) : void 0);
8411
- var s = ee(), l = Y(s);
8409
+ H(r, !0);
8410
+ const t = De(), a = () => ze(o, "$translator", t), n = R(r, "key", 3, ""), o = Ee(Ne), i = /* @__PURE__ */ E(() => n() ? a().translate(n() || "", r.variables) : void 0);
8411
+ var s = re(), l = G(s);
8412
8412
  {
8413
8413
  var c = (u) => {
8414
8414
  var _ = ie();
8415
- A(() => te(_, d(i))), b(u, _);
8415
+ A(() => ae(_, d(i))), b(u, _);
8416
8416
  }, p = (u) => {
8417
- var _ = ee(), g = Y(_);
8417
+ var _ = re(), g = G(_);
8418
8418
  ge(g, () => r.children ?? ne), b(u, _);
8419
8419
  };
8420
8420
  N(l, (u) => {
8421
8421
  d(i) ? u(c) : u(p, !1);
8422
8422
  });
8423
8423
  }
8424
- b(e, s), H();
8424
+ b(e, s), W();
8425
8425
  }
8426
8426
  var Ju = /* @__PURE__ */ I('<p class="footer-caption svelte-1hbk6xu"><!></p>'), Qu = /* @__PURE__ */ I('<p class="footer-caption svelte-1hbk6xu"><!></p>'), $u = /* @__PURE__ */ I('<div class="footer-caption-container svelte-1hbk6xu"><!> <!> <p class="footer-caption svelte-1hbk6xu"><!></p></div>');
8427
8427
  const ep = {
@@ -8432,23 +8432,23 @@ const ep = {
8432
8432
  }`
8433
8433
  };
8434
8434
  function rp(e, r) {
8435
- V(r, !1), R(e, ep);
8435
+ H(r, !1), U(e, ep);
8436
8436
  const t = De(), a = () => ze(l, "$translator", t), n = Ca(), o = Ca();
8437
- let i = U(r, "brandingInfo", 8, null), s = U(r, "subscriptionOption", 8, null);
8437
+ let i = R(r, "brandingInfo", 8, null), s = R(r, "subscriptionOption", 8, null);
8438
8438
  const l = Ee(Ne);
8439
8439
  Kn(
8440
- () => (Va(i()), a(), L),
8440
+ () => (Va(i()), a(), O),
8441
8441
  () => {
8442
- var h;
8443
- D(n, i() ? a().translate(L.PaymentEntryPageTermsInfo, { appName: (h = i()) == null ? void 0 : h.app_name }) : null);
8442
+ var v;
8443
+ D(n, i() ? a().translate(O.PaymentEntryPageTermsInfo, { appName: (v = i()) == null ? void 0 : v.app_name }) : null);
8444
8444
  }
8445
8445
  ), Kn(
8446
8446
  () => (Va(s()), a(), Xa),
8447
8447
  () => {
8448
- var h, v, y, x, T, S, z, C, k, w, q, G, W, ae, J, re, pe, me, ce;
8449
- D(o, (v = (h = s()) == null ? void 0 : h.base) != null && v.price && ((x = (y = s()) == null ? void 0 : y.trial) != null && x.period) && ((S = (T = s()) == null ? void 0 : T.base) != null && S.period) && ((k = (C = (z = s()) == null ? void 0 : z.base) == null ? void 0 : C.period) != null && k.unit) ? a().translate(L.PaymentEntryPageTrialInfo, {
8450
- price: Ir((q = (w = s()) == null ? void 0 : w.base) == null ? void 0 : q.price.amountMicros, (W = (G = s()) == null ? void 0 : G.base) == null ? void 0 : W.price.currency, a().locale || a().fallbackLocale),
8451
- perFrequency: a().translatePeriodFrequency(((re = (J = (ae = s()) == null ? void 0 : ae.base) == null ? void 0 : J.period) == null ? void 0 : re.number) || 1, (ce = (me = (pe = s()) == null ? void 0 : pe.base) == null ? void 0 : me.period) == null ? void 0 : ce.unit, { useMultipleWords: !0 }),
8448
+ var v, h, y, x, T, S, z, B, k, w, q, Y, V, Q, Z, te, pe, me, ce;
8449
+ D(o, (h = (v = s()) == null ? void 0 : v.base) != null && h.price && ((x = (y = s()) == null ? void 0 : y.trial) != null && x.period) && ((S = (T = s()) == null ? void 0 : T.base) != null && S.period) && ((k = (B = (z = s()) == null ? void 0 : z.base) == null ? void 0 : B.period) != null && k.unit) ? a().translate(O.PaymentEntryPageTrialInfo, {
8450
+ price: Ir((q = (w = s()) == null ? void 0 : w.base) == null ? void 0 : q.price.amountMicros, (V = (Y = s()) == null ? void 0 : Y.base) == null ? void 0 : V.price.currency, a().locale || a().fallbackLocale),
8451
+ perFrequency: a().translatePeriodFrequency(((te = (Z = (Q = s()) == null ? void 0 : Q.base) == null ? void 0 : Z.period) == null ? void 0 : te.number) || 1, (ce = (me = (pe = s()) == null ? void 0 : pe.base) == null ? void 0 : me.period) == null ? void 0 : ce.unit, { useMultipleWords: !0 }),
8452
8452
  renewalDate: a().translateDate(Xa(/* @__PURE__ */ new Date(), s().trial.period || s().base.period, !0), {
8453
8453
  year: "numeric",
8454
8454
  month: "long",
@@ -8459,50 +8459,50 @@ function rp(e, r) {
8459
8459
  ), pl(), Qe();
8460
8460
  var c = $u(), p = P(c);
8461
8461
  {
8462
- var u = (h) => {
8463
- var v = Ju(), y = P(v);
8462
+ var u = (v) => {
8463
+ var h = Ju(), y = P(h);
8464
8464
  se(y, {
8465
8465
  size: "caption-default",
8466
8466
  children: (x, T) => {
8467
8467
  var S = ie();
8468
- A(() => te(S, d(n))), b(x, S);
8468
+ A(() => ae(S, d(n))), b(x, S);
8469
8469
  },
8470
8470
  $$slots: { default: !0 }
8471
- }), b(h, v);
8471
+ }), b(v, h);
8472
8472
  };
8473
- N(p, (h) => {
8474
- d(n) && s() && h(u);
8473
+ N(p, (v) => {
8474
+ d(n) && s() && v(u);
8475
8475
  });
8476
8476
  }
8477
- var _ = O(p, 2);
8477
+ var _ = C(p, 2);
8478
8478
  {
8479
- var g = (h) => {
8480
- var v = Qu(), y = P(v);
8479
+ var g = (v) => {
8480
+ var h = Qu(), y = P(h);
8481
8481
  se(y, {
8482
8482
  size: "caption-default",
8483
8483
  children: (x, T) => {
8484
8484
  var S = ie();
8485
- A(() => te(S, d(o))), b(x, S);
8485
+ A(() => ae(S, d(o))), b(x, S);
8486
8486
  },
8487
8487
  $$slots: { default: !0 }
8488
- }), b(h, v);
8488
+ }), b(v, h);
8489
8489
  };
8490
- N(_, (h) => {
8491
- d(o) && h(g);
8490
+ N(_, (v) => {
8491
+ d(o) && v(g);
8492
8492
  });
8493
8493
  }
8494
- var m = O(_, 2), f = P(m);
8494
+ var m = C(_, 2), f = P(m);
8495
8495
  se(f, {
8496
8496
  size: "caption-default",
8497
- children: (h, v) => {
8498
- ur(h, {
8497
+ children: (v, h) => {
8498
+ ur(v, {
8499
8499
  get key() {
8500
- return L.PaymentEntryPagePaymentStepTitle;
8500
+ return O.PaymentEntryPagePaymentStepTitle;
8501
8501
  }
8502
8502
  });
8503
8503
  },
8504
8504
  $$slots: { default: !0 }
8505
- }), b(e, c), H();
8505
+ }), b(e, c), W();
8506
8506
  }
8507
8507
  var Fe = /* @__PURE__ */ ((e) => (e.SDKInitialized = "sdk_initialized", e.CheckoutSessionStart = "checkout_session_start", e.CheckoutSessionEnd = "checkout_session_end", e.CheckoutFlowError = "checkout_flow_error", e.CheckoutPaymentTaxCalculation = "checkout_payment_tax_calculation", e.CheckoutPaymentFormImpression = "checkout_payment_form_impression", e.CheckoutPaymentFormError = "checkout_payment_form_error", e.CheckoutPaymentFormDismiss = "checkout_payment_form_dismiss", e.CheckoutPaymentFormSubmit = "checkout_payment_form_submit", e.CheckoutPaymentFormGatewayError = "checkout_payment_form_gateway_error", e.CheckoutPurchaseSuccessfulImpression = "checkout_purchase_successful_impression", e.CheckoutPurchaseSuccessfulDismiss = "checkout_purchase_successful_dismiss", e))(Fe || {}), En = /* @__PURE__ */ ((e) => (e.tax_collection_disabled = "tax_collection_disabled", e.invalid_tax_location = "invalid_tax_location", e.rate_limit_exceeded = "rate_limit_exceeded", e.missing_required_permission = "missing_required_permission", e.invalid_origin_address = "invalid_origin_address", e.taxes_not_active = "taxes_not_active", e.unexpected_gateway_error = "unexpected_gateway_error", e))(En || {});
8508
8508
  function tp({
@@ -8670,7 +8670,7 @@ const _p = {
8670
8670
  animation: svelte-1sxpw7o-rotating 2s ease-in-out infinite;}`
8671
8671
  };
8672
8672
  function gp(e) {
8673
- R(e, _p);
8673
+ U(e, _p);
8674
8674
  var r = pp(), t = P(r);
8675
8675
  Wr(t, () => up), b(e, r);
8676
8676
  }
@@ -8683,13 +8683,13 @@ const fp = {
8683
8683
  }`
8684
8684
  };
8685
8685
  function Ai(e) {
8686
- R(e, fp);
8686
+ U(e, fp);
8687
8687
  var r = mp(), t = P(r);
8688
8688
  gp(t), b(e, r);
8689
8689
  }
8690
8690
  function yp(e, r) {
8691
8691
  var c, p;
8692
- V(r, !0);
8692
+ H(r, !0);
8693
8693
  const t = De(), a = () => ze(n, "$translator", t), n = Ee(Ne), o = Ee(Pn), i = /* @__PURE__ */ E(() => r.priceBreakdown ? a().formatPrice(r.priceBreakdown.totalAmountInMicros, r.priceBreakdown.currency) : null), s = (p = (c = r.subscriptionOption) == null ? void 0 : c.trial) == null ? void 0 : p.period, l = /* @__PURE__ */ E(() => s ? a().translatePeriod(s.number, s.unit) : null);
8694
8694
  zi(e, {
8695
8695
  get disabled() {
@@ -8698,35 +8698,35 @@ function yp(e, r) {
8698
8698
  testId: "PayButton",
8699
8699
  brandingAppearance: o,
8700
8700
  children: (u, _) => {
8701
- var g = ee(), m = Y(g);
8701
+ var g = re(), m = G(g);
8702
8702
  {
8703
- var f = (v) => {
8703
+ var f = (h) => {
8704
8704
  var y = /* @__PURE__ */ E(() => ({ trialPeriodLabel: d(l) }));
8705
- ur(v, {
8705
+ ur(h, {
8706
8706
  get key() {
8707
- return L.PaymentEntryPageButtonStartTrial;
8707
+ return O.PaymentEntryPageButtonStartTrial;
8708
8708
  },
8709
8709
  get variables() {
8710
8710
  return d(y);
8711
8711
  }
8712
8712
  });
8713
- }, h = (v) => {
8714
- var y = ee(), x = Y(y);
8713
+ }, v = (h) => {
8714
+ var y = re(), x = G(y);
8715
8715
  {
8716
8716
  var T = (z) => {
8717
- var C = /* @__PURE__ */ E(() => ({ formattedPrice: d(i) }));
8717
+ var B = /* @__PURE__ */ E(() => ({ formattedPrice: d(i) }));
8718
8718
  ur(z, {
8719
8719
  get key() {
8720
- return L.PaymentEntryPageButtonWithPrice;
8720
+ return O.PaymentEntryPageButtonWithPrice;
8721
8721
  },
8722
8722
  get variables() {
8723
- return d(C);
8723
+ return d(B);
8724
8724
  }
8725
8725
  });
8726
8726
  }, S = (z) => {
8727
8727
  ur(z, {
8728
8728
  get key() {
8729
- return L.PaymentEntryPageButtonPay;
8729
+ return O.PaymentEntryPageButtonPay;
8730
8730
  }
8731
8731
  });
8732
8732
  };
@@ -8738,17 +8738,17 @@ function yp(e, r) {
8738
8738
  !0
8739
8739
  );
8740
8740
  }
8741
- b(v, y);
8741
+ b(h, y);
8742
8742
  };
8743
- N(m, (v) => {
8743
+ N(m, (h) => {
8744
8744
  var y;
8745
- (y = r.subscriptionOption) != null && y.trial ? v(f) : v(h, !1);
8745
+ (y = r.subscriptionOption) != null && y.trial ? h(f) : h(v, !1);
8746
8746
  });
8747
8747
  }
8748
8748
  b(u, g);
8749
8749
  },
8750
8750
  $$slots: { default: !0 }
8751
- }), H();
8751
+ }), W();
8752
8752
  }
8753
8753
  const bp = {
8754
8754
  error: "#B0171F",
@@ -9223,8 +9223,8 @@ const $r = class $r {
9223
9223
  };
9224
9224
  const c = await l(t, {
9225
9225
  stripeAccount: r
9226
- }).catch((h) => {
9227
- throw this.mapInitializationError(h);
9226
+ }).catch((v) => {
9227
+ throw this.mapInitializationError(v);
9228
9228
  });
9229
9229
  if (!c)
9230
9230
  throw {
@@ -9284,8 +9284,8 @@ const $r = class $r {
9284
9284
  }
9285
9285
  }
9286
9286
  });
9287
- } catch (h) {
9288
- throw this.mapInitializationError(h);
9287
+ } catch (v) {
9288
+ throw this.mapInitializationError(v);
9289
9289
  }
9290
9290
  return { stripe: c, elements: f };
9291
9291
  }
@@ -9437,7 +9437,7 @@ const $r = class $r {
9437
9437
  paymentDescription: r.title,
9438
9438
  managementURL: o,
9439
9439
  trialBilling: s ? {
9440
- label: n.translate(L.ApplePayFreeTrial),
9440
+ label: n.translate(O.ApplePayFreeTrial),
9441
9441
  amount: 0
9442
9442
  } : void 0,
9443
9443
  regularBilling: {
@@ -9460,7 +9460,7 @@ M($r, "FORM_VALIDATED_CARD_ERROR_CODES", [
9460
9460
  let ve = $r;
9461
9461
  var jp = /* @__PURE__ */ I("<div></div>");
9462
9462
  function Np(e, r) {
9463
- V(r, !0);
9463
+ H(r, !0);
9464
9464
  let t = null;
9465
9465
  const a = "payment-element", n = async (i) => {
9466
9466
  await r.onError(ve.mapInitializationError(i.error));
@@ -9476,11 +9476,11 @@ function Np(e, r) {
9476
9476
  t == null || t.destroy(), t = null;
9477
9477
  });
9478
9478
  var o = jp();
9479
- j(o, "id", a), b(e, o), H();
9479
+ j(o, "id", a), b(e, o), W();
9480
9480
  }
9481
9481
  var Cp = /* @__PURE__ */ I("<div></div>");
9482
9482
  function Op(e, r) {
9483
- V(r, !0);
9483
+ H(r, !0);
9484
9484
  let t = null;
9485
9485
  const a = "link-authentication-element", n = async (i) => {
9486
9486
  await r.onError(ve.mapInitializationError(i.error));
@@ -9495,7 +9495,7 @@ function Op(e, r) {
9495
9495
  t == null || t.destroy(), t = null;
9496
9496
  });
9497
9497
  var o = Cp();
9498
- j(o, "id", a), b(e, o), H();
9498
+ j(o, "id", a), b(e, o), W();
9499
9499
  }
9500
9500
  var Lp = /* @__PURE__ */ I('<div class="text-separator svelte-ch0h61"><hr class="line svelte-ch0h61"> <span class="text svelte-ch0h61"><!></span> <hr class="line svelte-ch0h61"></div>');
9501
9501
  const Bp = {
@@ -9506,33 +9506,33 @@ const Bp = {
9506
9506
  }.line.svelte-ch0h61 {flex:1;height:1px;background-color:var(--rc-color-grey-ui-dark);border:none;}.text.svelte-ch0h61 {color:var(--rc-color-grey-text-light);text-transform:uppercase;white-space:nowrap;}`
9507
9507
  };
9508
9508
  function Rp(e, r) {
9509
- R(e, Bp);
9510
- let t = U(r, "text", 8);
9511
- var a = Lp(), n = O(P(a), 2), o = P(n);
9509
+ U(e, Bp);
9510
+ let t = R(r, "text", 8);
9511
+ var a = Lp(), n = C(P(a), 2), o = P(n);
9512
9512
  se(o, {
9513
9513
  size: "caption-default",
9514
9514
  children: (i, s) => {
9515
9515
  var l = ie();
9516
- A(() => te(l, t())), b(i, l);
9516
+ A(() => ae(l, t())), b(i, l);
9517
9517
  },
9518
9518
  $$slots: { default: !0 }
9519
9519
  }), b(e, a);
9520
9520
  }
9521
9521
  var Up = /* @__PURE__ */ I("<div></div> <!>", 1);
9522
9522
  function Vp(e, r) {
9523
- V(r, !0);
9523
+ H(r, !0);
9524
9524
  const t = De(), a = () => ze(n, "$translator", t), n = Ee(Ne);
9525
9525
  let o = null, i = X(!1);
9526
9526
  const s = "express-checkout-element", l = async (f) => {
9527
- const h = {
9527
+ const v = {
9528
9528
  ...r.expressCheckoutOptions ? r.expressCheckoutOptions : {}
9529
9529
  };
9530
- f.resolve(h);
9530
+ f.resolve(v);
9531
9531
  }, c = async (f) => {
9532
9532
  await r.onError(ve.mapInitializationError(f.error));
9533
9533
  }, p = async (f) => {
9534
- var h;
9535
- r.onSubmit(f.expressPaymentType, ((h = f.billingDetails) == null ? void 0 : h.email) ?? "");
9534
+ var v;
9535
+ r.onSubmit(f.expressPaymentType, ((v = f.billingDetails) == null ? void 0 : v.email) ?? "");
9536
9536
  }, u = async (f) => {
9537
9537
  D(i, !f.availablePaymentMethods), r.onReady();
9538
9538
  };
@@ -9545,23 +9545,23 @@ function Vp(e, r) {
9545
9545
  }), Nt(() => {
9546
9546
  o == null || o.destroy(), o = null;
9547
9547
  });
9548
- var _ = ee(), g = Y(_);
9548
+ var _ = re(), g = G(_);
9549
9549
  {
9550
9550
  var m = (f) => {
9551
- var h = Up(), v = Y(h);
9552
- j(v, "id", s);
9553
- var y = O(v, 2), x = /* @__PURE__ */ E(() => a().translate(L.PaymentEntryPageExpressCheckoutDivider));
9551
+ var v = Up(), h = G(v);
9552
+ j(h, "id", s);
9553
+ var y = C(h, 2), x = /* @__PURE__ */ E(() => a().translate(O.PaymentEntryPageExpressCheckoutDivider));
9554
9554
  Rp(y, {
9555
9555
  get text() {
9556
9556
  return d(x);
9557
9557
  }
9558
- }), b(f, h);
9558
+ }), b(f, v);
9559
9559
  };
9560
9560
  N(g, (f) => {
9561
9561
  d(i) || f(m);
9562
9562
  });
9563
9563
  }
9564
- b(e, _), H();
9564
+ b(e, _), W();
9565
9565
  }
9566
9566
  var Hp = /* @__PURE__ */ I('<div class="rc-elements svelte-6qa1vy"><!> <!> <!></div>');
9567
9567
  const Wp = {
@@ -9572,13 +9572,13 @@ const Wp = {
9572
9572
  }`
9573
9573
  };
9574
9574
  function Yp(e, r) {
9575
- V(r, !0), R(e, Wp);
9575
+ H(r, !0), U(e, Wp);
9576
9576
  const t = De(), a = () => ze(i, "$translator", t);
9577
- let n = U(r, "stripe", 15, null), o = U(r, "elements", 15, null);
9577
+ let n = R(r, "stripe", 15, null), o = R(r, "elements", 15, null);
9578
9578
  const i = Ee(Ne), s = ve.getStripeLocale(a().locale || a().fallbackLocale);
9579
- let l = X(!1), c = X(B(r.skipEmail)), p = X(!1), u = X(void 0), _ = X("mobile"), g = X(void 0);
9579
+ let l = X(!1), c = X(L(r.skipEmail)), p = X(!1), u = X(void 0), _ = X("mobile"), g = X(void 0);
9580
9580
  function m() {
9581
- window.matchMedia && window.matchMedia("(max-width: 767px)").matches ? D(_, "mobile") : D(_, "desktop"), D(u, B({
9581
+ window.matchMedia && window.matchMedia("(max-width: 767px)").matches ? D(_, "mobile") : D(_, "desktop"), D(u, L({
9582
9582
  // Floating labels size cannot be overriden in Stripe since `!important` is being used.
9583
9583
  // There we set fontSizeBase to the desired label size
9584
9584
  // and update the input font size to 16px.
@@ -9591,16 +9591,16 @@ function Yp(e, r) {
9591
9591
  }));
9592
9592
  }
9593
9593
  function f() {
9594
- clearTimeout(d(g)), D(g, B(setTimeout(
9594
+ clearTimeout(d(g)), D(g, L(setTimeout(
9595
9595
  () => {
9596
9596
  m();
9597
9597
  },
9598
9598
  150
9599
9599
  )));
9600
9600
  }
9601
- const h = (w) => {
9601
+ const v = (w) => {
9602
9602
  r.onError(w), r.onLoadingComplete();
9603
- }, v = async () => {
9603
+ }, h = async () => {
9604
9604
  d(c) || (D(c, !0), d(c) && d(l) && d(p) && r.onLoadingComplete());
9605
9605
  }, y = async () => {
9606
9606
  d(p) || (D(p, !0), d(c) && d(l) && d(p) && r.onLoadingComplete());
@@ -9628,15 +9628,15 @@ function Yp(e, r) {
9628
9628
  }), at(() => {
9629
9629
  r.elementsConfiguration && o() && ve.updateElementsConfiguration(o(), r.elementsConfiguration);
9630
9630
  });
9631
- var z = ee(), C = Y(z);
9631
+ var z = re(), B = G(z);
9632
9632
  {
9633
9633
  var k = (w) => {
9634
- var q = Hp(), G = P(q);
9635
- Vp(G, {
9634
+ var q = Hp(), Y = P(q);
9635
+ Vp(Y, {
9636
9636
  get elements() {
9637
9637
  return o();
9638
9638
  },
9639
- onError: h,
9639
+ onError: v,
9640
9640
  onReady: y,
9641
9641
  get onSubmit() {
9642
9642
  return r.onExpressCheckoutElementSubmit;
@@ -9648,24 +9648,24 @@ function Yp(e, r) {
9648
9648
  return r.billingAddressRequired;
9649
9649
  }
9650
9650
  });
9651
- var W = O(G, 2);
9651
+ var V = C(Y, 2);
9652
9652
  {
9653
- var ae = (re) => {
9654
- Op(re, {
9653
+ var Q = (te) => {
9654
+ Op(te, {
9655
9655
  get elements() {
9656
9656
  return o();
9657
9657
  },
9658
- onReady: v,
9658
+ onReady: h,
9659
9659
  onChange: S,
9660
- onError: h
9660
+ onError: v
9661
9661
  });
9662
9662
  };
9663
- N(W, (re) => {
9664
- r.skipEmail || re(ae);
9663
+ N(V, (te) => {
9664
+ r.skipEmail || te(Q);
9665
9665
  });
9666
9666
  }
9667
- var J = O(W, 2);
9668
- Np(J, {
9667
+ var Z = C(V, 2);
9668
+ Np(Z, {
9669
9669
  get elements() {
9670
9670
  return o();
9671
9671
  },
@@ -9674,14 +9674,14 @@ function Yp(e, r) {
9674
9674
  },
9675
9675
  onReady: x,
9676
9676
  onChange: T,
9677
- onError: h
9677
+ onError: v
9678
9678
  }), b(w, q);
9679
9679
  };
9680
- N(C, (w) => {
9680
+ N(B, (w) => {
9681
9681
  o() && w(k);
9682
9682
  });
9683
9683
  }
9684
- b(e, z), H();
9684
+ b(e, z), W();
9685
9685
  }
9686
9686
  const Gp = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
9687
9687
  <path fill-rule="evenodd" d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 6.5a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5zm1.25 4.5a1.25 1.25 0 10-2.5 0v4.5a1.25 1.25 0 102.5 0v-4.5z" clip-rule="evenodd" />
@@ -9692,7 +9692,7 @@ const Zp = {
9692
9692
  code: ".rcb-ui-asset-icon.svelte-1rk57mx {display:inline-block;width:1em;height:1em;}"
9693
9693
  };
9694
9694
  function Bi(e) {
9695
- R(e, Zp);
9695
+ U(e, Zp);
9696
9696
  var r = Xp(), t = P(r);
9697
9697
  Wr(t, () => Gp), b(e, r);
9698
9698
  }
@@ -9705,34 +9705,34 @@ const Jp = {
9705
9705
  }`
9706
9706
  };
9707
9707
  function Qp(e, r) {
9708
- R(e, Jp);
9708
+ U(e, Jp);
9709
9709
  var t = Kp(), a = P(t), n = P(a);
9710
9710
  Bi(n);
9711
- var o = O(a, 2), i = P(o), s = P(i);
9711
+ var o = C(a, 2), i = P(o), s = P(i);
9712
9712
  se(s, {
9713
9713
  size: "body-small",
9714
9714
  children: (p, u) => {
9715
9715
  var _ = ie();
9716
- A(() => te(_, r.title)), b(p, _);
9716
+ A(() => ae(_, r.title)), b(p, _);
9717
9717
  },
9718
9718
  $$slots: { default: !0 }
9719
9719
  });
9720
- var l = O(i, 2), c = P(l);
9720
+ var l = C(i, 2), c = P(l);
9721
9721
  se(c, {
9722
9722
  size: "body-small",
9723
9723
  children: (p, u) => {
9724
9724
  var _ = ie();
9725
- A(() => te(_, r.message)), b(p, _);
9725
+ A(() => ae(_, r.message)), b(p, _);
9726
9726
  },
9727
9727
  $$slots: { default: !0 }
9728
9728
  }), b(e, t);
9729
9729
  }
9730
9730
  function $p(e, r) {
9731
- V(r, !0);
9731
+ H(r, !0);
9732
9732
  const t = De(), a = () => ze(n, "$translator", t), n = Ee(Ne);
9733
- var o = /* @__PURE__ */ E(() => a().translate(L.PriceUpdateTitle)), i = /* @__PURE__ */ E(() => {
9733
+ var o = /* @__PURE__ */ E(() => a().translate(O.PriceUpdateTitle)), i = /* @__PURE__ */ E(() => {
9734
9734
  var s;
9735
- return a().translate((s = r.subscriptionOption) != null && s.trial ? L.PriceUpdateTrialMessage : L.PriceUpdateBaseMessage);
9735
+ return a().translate((s = r.subscriptionOption) != null && s.trial ? O.PriceUpdateTrialMessage : O.PriceUpdateBaseMessage);
9736
9736
  });
9737
9737
  Qp(e, {
9738
9738
  get title() {
@@ -9741,7 +9741,7 @@ function $p(e, r) {
9741
9741
  get message() {
9742
9742
  return d(i);
9743
9743
  }
9744
- }), H();
9744
+ }), W();
9745
9745
  }
9746
9746
  class wo extends Error {
9747
9747
  }
@@ -9760,73 +9760,73 @@ const t_ = {
9760
9760
  };
9761
9761
  function a_(e, r) {
9762
9762
  var jn, Nn, Cn;
9763
- V(r, !0), R(e, t_);
9763
+ H(r, !0), U(e, t_);
9764
9764
  const t = De(), a = () => ze(o, "$translator", t), n = Ee(xn), o = Ee(Ne), i = (jn = r.productDetails.subscriptionOptions) == null ? void 0 : jn[r.purchaseOption.id];
9765
- let s = X(B(((Nn = r.defaultPriceBreakdown) == null ? void 0 : Nn.taxCalculationStatus) ?? ((Cn = r.brandingInfo) != null && Cn.gateway_tax_collection_enabled ? "unavailable" : "disabled"))), l = X(null), c = X(null), p = X(B(r.productDetails.currentPrice.amountMicros)), u = X(B(r.productDetails.currentPrice.amountMicros)), _ = /* @__PURE__ */ E(() => r.defaultPriceBreakdown ?? {
9765
+ let s = X(L(((Nn = r.defaultPriceBreakdown) == null ? void 0 : Nn.taxCalculationStatus) ?? ((Cn = r.brandingInfo) != null && Cn.gateway_tax_collection_enabled ? "unavailable" : "disabled"))), l = X(null), c = X(null), p = X(L(r.productDetails.currentPrice.amountMicros)), u = X(L(r.productDetails.currentPrice.amountMicros)), _ = /* @__PURE__ */ E(() => r.defaultPriceBreakdown ?? {
9766
9766
  currency: r.productDetails.currentPrice.currency,
9767
9767
  totalAmountInMicros: d(u),
9768
9768
  totalExcludingTaxInMicros: d(p),
9769
9769
  taxCalculationStatus: d(s),
9770
9770
  taxAmountInMicros: d(l),
9771
9771
  taxBreakdown: d(c)
9772
- }), g = X(B(r.gatewayParams.elements_configuration)), m = X(null), f = X(null), h = X(null), v = X(B(r.customerEmail ?? void 0)), y = X(B(!!r.customerEmail)), x = X(!0), T = X(!1), S = X(void 0), z = X(void 0), C = X(void 0), k = X(!1), w = X(null), q = /* @__PURE__ */ E(() => d(x) || d(k) ? "loading" : d(z) ? "error" : "form"), G = X("unavailable"), W = /* @__PURE__ */ E(() => !d(k) && d(T) && d(y) && (d(s) === "disabled" || d(s) === "calculated" || d(s) === "miss-match")), ae = /* @__PURE__ */ E(() => i && r.managementUrl && d(_) ? ve.buildStripeExpressCheckoutOptionsForSubscription(r.productDetails, d(_), i, a(), r.managementUrl) : void 0);
9772
+ }), g = X(L(r.gatewayParams.elements_configuration)), m = X(null), f = X(null), v = X(null), h = X(L(r.customerEmail ?? void 0)), y = X(L(!!r.customerEmail)), x = X(!0), T = X(!1), S = X(void 0), z = X(void 0), B = X(void 0), k = X(!1), w = X(null), q = /* @__PURE__ */ E(() => d(x) || d(k) ? "loading" : d(z) ? "error" : "form"), Y = X("unavailable"), V = /* @__PURE__ */ E(() => !d(k) && d(T) && d(y) && (d(s) === "disabled" || d(s) === "calculated" || d(s) === "miss-match")), Q = /* @__PURE__ */ E(() => i && r.managementUrl && d(_) ? ve.buildStripeExpressCheckoutOptionsForSubscription(r.productDetails, d(_), i, a(), r.managementUrl) : void 0);
9773
9773
  at(() => {
9774
9774
  r.onPriceBreakdownUpdated(d(_));
9775
9775
  }), We(async () => {
9776
- d(s) === "unavailable" && await J(null).catch(Xe);
9776
+ d(s) === "unavailable" && await Z(null).catch(Xe);
9777
9777
  }), Nt(() => {
9778
9778
  d(w) && (d(w).abort(), D(w, null));
9779
9779
  });
9780
- async function J(F, Q) {
9781
- await r.purchaseOperationHelper.checkoutCalculateTax(F == null ? void 0 : F.countryCode, F == null ? void 0 : F.postalCode, Q).then((ue) => {
9780
+ async function Z(F, $) {
9781
+ await r.purchaseOperationHelper.checkoutCalculateTax(F == null ? void 0 : F.countryCode, F == null ? void 0 : F.postalCode, $).then((ue) => {
9782
9782
  const jr = lp({ taxCalculation: ue, taxCustomerDetails: F });
9783
- n.trackSDKEvent(jr), Q == null || Q.throwIfAborted(), ue.failed_reason ? !F && ue.failed_reason === En.invalid_tax_location ? D(s, "pending") : D(s, "disabled") : D(s, "calculated"), D(l, B(ue.tax_amount_in_micros)), D(p, B(ue.total_excluding_tax_in_micros)), D(u, B(ue.total_amount_in_micros)), D(c, B(ue.pricing_phases.base.tax_breakdown)), D(g, B(ue.gateway_params.elements_configuration)), D(m, B(F));
9783
+ n.trackSDKEvent(jr), $ == null || $.throwIfAborted(), ue.failed_reason ? !F && ue.failed_reason === En.invalid_tax_location ? D(s, "pending") : D(s, "disabled") : D(s, "calculated"), D(l, L(ue.tax_amount_in_micros)), D(p, L(ue.total_excluding_tax_in_micros)), D(u, L(ue.total_amount_in_micros)), D(c, L(ue.pricing_phases.base.tax_breakdown)), D(g, L(ue.gateway_params.elements_configuration)), D(m, L(F));
9784
9784
  });
9785
9785
  }
9786
- function re() {
9786
+ function te() {
9787
9787
  n.trackSDKEvent({
9788
9788
  eventName: Fe.CheckoutPaymentFormImpression
9789
9789
  }), D(x, !1);
9790
9790
  }
9791
- async function pe(F, Q) {
9792
- D(v, B(Q)), D(y, B(F)), await Pe();
9791
+ async function pe(F, $) {
9792
+ D(h, L($)), D(y, L(F)), await Pe();
9793
9793
  }
9794
- async function me({ complete: F, paymentMethod: Q }) {
9795
- D(S, B(Q)), D(T, B(F)), await Pe();
9794
+ async function me({ complete: F, paymentMethod: $ }) {
9795
+ D(S, L($)), D(T, L(F)), await Pe();
9796
9796
  }
9797
9797
  async function ce(F) {
9798
9798
  if (F == null || F.preventDefault(), d(k)) return;
9799
- const Q = cp({
9799
+ const $ = cp({
9800
9800
  selectedPaymentMethod: d(S) ?? null
9801
9801
  });
9802
- n.trackSDKEvent(Q), D(k, !0), await vr() ? r.onContinue() : D(k, !1);
9802
+ n.trackSDKEvent($), D(k, !0), await vr() ? r.onContinue() : D(k, !1);
9803
9803
  }
9804
- async function ke(F, Q) {
9805
- D(S, B(F)), D(v, B(Q)), await ce();
9804
+ async function ke(F, $) {
9805
+ D(S, L(F)), D(h, L(r.customerEmail ?? $)), await ce();
9806
9806
  }
9807
9807
  async function Pe() {
9808
- d(S) !== "card" || !d(y) || !d(T) || d(k) || d(s) === "disabled" || (d(s) !== "loading" && (D(G, B(d(s))), D(s, "loading")), await _r(async (F) => {
9809
- await Ge().then(() => F.throwIfAborted()).then(() => Oe(F)).then(() => F.throwIfAborted()).catch((Q) => {
9810
- F.aborted || Xe(Q);
9808
+ d(S) !== "card" || !d(y) || !d(T) || d(k) || d(s) === "disabled" || (d(s) !== "loading" && (D(Y, L(d(s))), D(s, "loading")), await _r(async (F) => {
9809
+ await Ge().then(() => F.throwIfAborted()).then(() => Oe(F)).then(() => F.throwIfAborted()).catch(($) => {
9810
+ F.aborted || Xe($);
9811
9811
  }).finally(() => {
9812
- d(s) === "loading" && !F.aborted && D(s, B(d(G)));
9812
+ d(s) === "loading" && !F.aborted && D(s, L(d(Y)));
9813
9813
  });
9814
9814
  }));
9815
9815
  }
9816
9816
  async function vr() {
9817
9817
  return await _r(async (F) => {
9818
- const Q = d(u);
9818
+ const $ = d(u);
9819
9819
  let ue;
9820
9820
  return await Ge().then(() => F.throwIfAborted()).then(() => Oe(F)).then((jr) => {
9821
9821
  ue = jr;
9822
- }).then(() => F.throwIfAborted()).then(kr(Q)).then(() => F.throwIfAborted()).then($e).then(() => F.throwIfAborted()).then(() => wr(ue)).then(() => F.throwIfAborted()).then(() => !0).catch((jr) => (F.aborted || Xe(jr), !1));
9822
+ }).then(() => F.throwIfAborted()).then(kr($)).then(() => F.throwIfAborted()).then($e).then(() => F.throwIfAborted()).then(() => wr(ue)).then(() => F.throwIfAborted()).then(() => !0).catch((jr) => (F.aborted || Xe(jr), !1));
9823
9823
  });
9824
9824
  }
9825
9825
  async function _r(F) {
9826
- d(w) && d(w).abort(), D(w, B(new AbortController()));
9827
- const Q = d(w).signal;
9826
+ d(w) && d(w).abort(), D(w, L(new AbortController()));
9827
+ const $ = d(w).signal;
9828
9828
  try {
9829
- return await F(Q);
9829
+ return await F($);
9830
9830
  } catch (ue) {
9831
9831
  if (ue instanceof DOMException && ue.name === "AbortError")
9832
9832
  return Promise.resolve(void 0);
@@ -9834,17 +9834,17 @@ function a_(e, r) {
9834
9834
  }
9835
9835
  }
9836
9836
  async function Ge() {
9837
- d(h) && await ve.submitElements(d(h));
9837
+ d(v) && await ve.submitElements(d(v));
9838
9838
  }
9839
9839
  async function Oe(F) {
9840
9840
  var Nr, _t;
9841
- if (d(s) === "unavailable" || d(s) === "disabled" || !d(h) || !d(f))
9841
+ if (d(s) === "unavailable" || d(s) === "disabled" || !d(v) || !d(f))
9842
9842
  return;
9843
9843
  const {
9844
- customerDetails: Q,
9844
+ customerDetails: $,
9845
9845
  confirmationTokenId: ue
9846
- } = await ve.extractTaxCustomerDetails(d(h), d(f));
9847
- return F == null || F.throwIfAborted(), Q.postalCode === ((Nr = d(m)) == null ? void 0 : Nr.postalCode) && Q.countryCode === ((_t = d(m)) == null ? void 0 : _t.countryCode) || await J(Q, F), ue && d(S) !== "card" ? ue : void 0;
9846
+ } = await ve.extractTaxCustomerDetails(d(v), d(f));
9847
+ return F == null || F.throwIfAborted(), $.postalCode === ((Nr = d(m)) == null ? void 0 : Nr.postalCode) && $.countryCode === ((_t = d(m)) == null ? void 0 : _t.countryCode) || await Z($, F), ue && d(S) !== "card" ? ue : void 0;
9848
9848
  }
9849
9849
  function kr(F) {
9850
9850
  return () => {
@@ -9854,32 +9854,32 @@ function a_(e, r) {
9854
9854
  }
9855
9855
  async function $e() {
9856
9856
  var ue;
9857
- const F = await r.purchaseOperationHelper.checkoutComplete(d(v)), Q = (ue = F == null ? void 0 : F.gateway_params) == null ? void 0 : ue.client_secret;
9858
- Q && D(C, B(Q));
9857
+ const F = await r.purchaseOperationHelper.checkoutComplete(d(h)), $ = (ue = F == null ? void 0 : F.gateway_params) == null ? void 0 : ue.client_secret;
9858
+ $ && D(B, L($));
9859
9859
  }
9860
9860
  async function wr(F) {
9861
- !d(f) || !d(h) || !d(C) || await ve.confirmElements(d(f), d(h), d(C), F);
9861
+ !d(f) || !d(v) || !d(B) || await ve.confirmElements(d(f), d(v), d(B), F);
9862
9862
  }
9863
9863
  async function Xe(F) {
9864
9864
  if (F instanceof wo)
9865
9865
  D(s, "miss-match");
9866
9866
  else if (F instanceof de) {
9867
- const Q = ap({
9867
+ const $ = ap({
9868
9868
  errorCode: F.errorCode.toString(),
9869
9869
  errorMessage: F.message
9870
9870
  });
9871
- n.trackSDKEvent(Q), F.errorCode === oe.MissingEmailError ? D(z, B(a().translate(L.ErrorPageErrorMessageInvalidEmailError, { email: d(v) }))) : r.onError(F);
9871
+ n.trackSDKEvent($), F.errorCode === oe.MissingEmailError ? D(z, L(a().translate(O.ErrorPageErrorMessageInvalidEmailError, { email: d(h) }))) : r.onError(F);
9872
9872
  } else if (F instanceof Xt)
9873
9873
  await Yr(F);
9874
9874
  else
9875
9875
  throw F;
9876
9876
  }
9877
9877
  async function Yr(F) {
9878
- const Q = dp({
9878
+ const $ = dp({
9879
9879
  errorCode: F.gatewayErrorCode ?? "",
9880
9880
  errorMessage: F.message ?? ""
9881
9881
  });
9882
- n.trackSDKEvent(Q), F.code === rn.HandledFormError || (F.code === rn.UnhandledFormError ? D(z, B(F.message)) : r.onError(new de(oe.ErrorSettingUpPurchase, "Failed to initialize payment form", F.message)));
9882
+ n.trackSDKEvent($), F.code === rn.HandledFormError || (F.code === rn.UnhandledFormError ? D(z, L(F.message)) : r.onError(new de(oe.ErrorSettingUpPurchase, "Failed to initialize payment form", F.message)));
9883
9883
  }
9884
9884
  const Lt = () => {
9885
9885
  D(z, void 0);
@@ -9887,22 +9887,22 @@ function a_(e, r) {
9887
9887
  var xr = r_(), pt = P(xr);
9888
9888
  {
9889
9889
  var Bt = (F) => {
9890
- var Q = e_(), ue = P(Q);
9891
- Ai(ue), b(F, Q);
9890
+ var $ = e_(), ue = P($);
9891
+ Ai(ue), b(F, $);
9892
9892
  };
9893
9893
  N(pt, (F) => {
9894
9894
  d(q) === "loading" && F(Bt);
9895
9895
  });
9896
9896
  }
9897
- var Rt = O(pt, 2);
9897
+ var Rt = C(pt, 2);
9898
9898
  {
9899
9899
  var wa = (F) => {
9900
- var Q = /* @__PURE__ */ E(() => a().translate(L.ErrorButtonTryAgain));
9900
+ var $ = /* @__PURE__ */ E(() => a().translate(O.ErrorButtonTryAgain));
9901
9901
  Sn(F, {
9902
9902
  title: null,
9903
9903
  type: "error",
9904
9904
  get closeButtonTitle() {
9905
- return d(Q);
9905
+ return d($);
9906
9906
  },
9907
9907
  onDismiss: Lt,
9908
9908
  icon: (Nr) => {
@@ -9910,7 +9910,7 @@ function a_(e, r) {
9910
9910
  },
9911
9911
  message: (Nr) => {
9912
9912
  var _t = ie();
9913
- A(() => te(_t, d(z))), b(Nr, _t);
9913
+ A(() => ae(_t, d(z))), b(Nr, _t);
9914
9914
  },
9915
9915
  $$slots: { icon: !0, message: !0 }
9916
9916
  });
@@ -9919,7 +9919,7 @@ function a_(e, r) {
9919
9919
  d(q) === "error" && F(wa);
9920
9920
  });
9921
9921
  }
9922
- var Ut = O(Rt, 2), Gr = P(Ut), Vt = P(Gr), Mr = P(Vt), cs = /* @__PURE__ */ E(() => !!r.customerEmail), ds = /* @__PURE__ */ E(() => d(s) !== "disabled");
9922
+ var Ut = C(Rt, 2), Gr = P(Ut), Vt = P(Gr), Mr = P(Vt), cs = /* @__PURE__ */ E(() => !!r.customerEmail), ds = /* @__PURE__ */ E(() => d(s) !== "disabled");
9923
9923
  Yp(Mr, {
9924
9924
  get stripeAccountId() {
9925
9925
  return r.gatewayParams.stripe_account_id;
@@ -9939,30 +9939,30 @@ function a_(e, r) {
9939
9939
  get billingAddressRequired() {
9940
9940
  return d(ds);
9941
9941
  },
9942
- onLoadingComplete: re,
9942
+ onLoadingComplete: te,
9943
9943
  onError: Yr,
9944
9944
  onEmailChange: pe,
9945
9945
  onPaymentInfoChange: me,
9946
9946
  onExpressCheckoutElementSubmit: ke,
9947
9947
  get expressCheckoutOptions() {
9948
- return d(ae);
9948
+ return d(Q);
9949
9949
  },
9950
9950
  get stripe() {
9951
9951
  return d(f);
9952
9952
  },
9953
9953
  set stripe(F) {
9954
- D(f, B(F));
9954
+ D(f, L(F));
9955
9955
  },
9956
9956
  get elements() {
9957
- return d(h);
9957
+ return d(v);
9958
9958
  },
9959
9959
  set elements(F) {
9960
- D(h, B(F));
9960
+ D(v, L(F));
9961
9961
  }
9962
9962
  });
9963
- var xa = O(Vt, 2), us = P(xa);
9963
+ var xa = C(Vt, 2), us = P(xa);
9964
9964
  $p(us, { subscriptionOption: i });
9965
- var An = O(xa, 2), Mn = P(An), ps = /* @__PURE__ */ E(() => !d(W)), _s = /* @__PURE__ */ E(() => {
9965
+ var An = C(xa, 2), Mn = P(An), ps = /* @__PURE__ */ E(() => !d(V)), _s = /* @__PURE__ */ E(() => {
9966
9966
  var F;
9967
9967
  return (F = r.brandingInfo) != null && F.gateway_tax_collection_enabled ? d(_) : void 0;
9968
9968
  });
@@ -9975,7 +9975,7 @@ function a_(e, r) {
9975
9975
  return d(_s);
9976
9976
  }
9977
9977
  });
9978
- var gs = O(Mn, 2), ms = P(gs);
9978
+ var gs = C(Mn, 2), ms = P(gs);
9979
9979
  rp(ms, {
9980
9980
  get brandingInfo() {
9981
9981
  return r.brandingInfo;
@@ -9983,7 +9983,7 @@ function a_(e, r) {
9983
9983
  subscriptionOption: i
9984
9984
  }), A(() => {
9985
9985
  fr(Gr, "invisible", d(q) !== "form"), fr(xa, "fully-hidden", d(s) !== "miss-match" || d(q) !== "form"), fr(An, "fully-hidden", d(q) !== "form");
9986
- }), nt("submit", Ut, ce), b(e, xr), H();
9986
+ }), nt("submit", Ut, ce), b(e, xr), W();
9987
9987
  }
9988
9988
  function n_(e) {
9989
9989
  return e != null;
@@ -10047,17 +10047,17 @@ function i_(e) {
10047
10047
  i = r * o;
10048
10048
  break;
10049
10049
  default:
10050
- i = 0, K.errorLog(`Unknown period unit: ${t}`);
10050
+ i = 0, J.errorLog(`Unknown period unit: ${t}`);
10051
10051
  }
10052
10052
  const s = i > 0 ? a / i : 0, l = i > 0 ? n / i : 0, c = i > 0 ? o / i : 0;
10053
10053
  return { toWeek: s, toMonth: l, toYear: c };
10054
10054
  }
10055
- const s_ = (e) => e.base == null ? (K.debugLog("Missing base phase for subscription option. Ignoring."), null) : {
10055
+ const s_ = (e) => e.base == null ? (J.debugLog("Missing base phase for subscription option. Ignoring."), null) : {
10056
10056
  id: e.id,
10057
10057
  priceId: e.price_id,
10058
10058
  base: xo(e.base),
10059
10059
  trial: e.trial ? xo(e.trial) : null
10060
- }, l_ = (e) => e.base_price == null ? (K.debugLog(
10060
+ }, l_ = (e) => e.base_price == null ? (J.debugLog(
10061
10061
  "Missing base price for non-subscription option. Ignoring."
10062
10062
  ), null) : {
10063
10063
  id: e.id,
@@ -10084,11 +10084,11 @@ const s_ = (e) => e.base == null ? (K.debugLog("Missing base phase for subscript
10084
10084
  l != null && (a[i] = l);
10085
10085
  }
10086
10086
  ), Object.keys(a).length === 0)
10087
- return K.debugLog(
10087
+ return J.debugLog(
10088
10088
  `Product ${e.identifier} has no purchase options. Ignoring.`
10089
10089
  ), null;
10090
10090
  const n = e.default_purchase_option_id, o = n && n in e.purchase_options ? a[n] : null;
10091
- return o == null ? (K.debugLog(
10091
+ return o == null ? (J.debugLog(
10092
10092
  `Product ${e.identifier} has no default purchase option. Ignoring.`
10093
10093
  ), null) : {
10094
10094
  identifier: e.identifier,
@@ -10113,16 +10113,16 @@ const s_ = (e) => e.base == null ? (K.debugLog("Missing base phase for subscript
10113
10113
  c != null && (a[s] = c);
10114
10114
  }
10115
10115
  ), Object.keys(a).length === 0)
10116
- return K.debugLog(
10116
+ return J.debugLog(
10117
10117
  `Product ${e.identifier} has no subscription options. Ignoring.`
10118
10118
  ), null;
10119
10119
  const n = e.default_purchase_option_id, o = n && n in a ? a[n] : null;
10120
10120
  if (o == null)
10121
- return K.debugLog(
10121
+ return J.debugLog(
10122
10122
  `Product ${e.identifier} has no default subscription option. Ignoring.`
10123
10123
  ), null;
10124
10124
  const i = o.base.price;
10125
- return i == null ? (K.debugLog(
10125
+ return i == null ? (J.debugLog(
10126
10126
  `Product ${e.identifier} default option has no base price. Ignoring.`
10127
10127
  ), null) : {
10128
10128
  identifier: e.identifier,
@@ -10204,8 +10204,8 @@ const f_ = {
10204
10204
  code: ".arrow.svelte-1qexsu3 {transition:transform 0.3s ease;}.arrow-fill.svelte-1qexsu3 {fill:var(--rc-color-grey-text-dark);}.arrow.left.svelte-1qexsu3 {transform:rotate(90deg);}.arrow.up.svelte-1qexsu3 {transform:rotate(180deg);}.arrow.right.svelte-1qexsu3 {transform:rotate(-90deg);}.arrow.down.svelte-1qexsu3 {transform:rotate(0deg);}"
10205
10205
  };
10206
10206
  function Gt(e, r) {
10207
- R(e, f_);
10208
- let t = U(r, "direction", 8);
10207
+ U(e, f_);
10208
+ let t = R(r, "direction", 8);
10209
10209
  var a = m_();
10210
10210
  A(() => Cl(a, `arrow ${t() ?? ""} svelte-1qexsu3`)), b(e, a);
10211
10211
  }
@@ -10215,7 +10215,7 @@ const b_ = {
10215
10215
  code: ".arrow-fill.svelte-r0zny8 {fill:var(--rc-color-grey-text-dark);}"
10216
10216
  };
10217
10217
  function h_(e) {
10218
- R(e, b_);
10218
+ U(e, b_);
10219
10219
  var r = y_();
10220
10220
  b(e, r);
10221
10221
  }
@@ -10249,7 +10249,7 @@ const S_ = {
10249
10249
  code: "div.svelte-wgufvv {height:24px;width:24px;}"
10250
10250
  };
10251
10251
  function E_(e) {
10252
- R(e, S_);
10252
+ U(e, S_);
10253
10253
  var r = P_(), t = P(r);
10254
10254
  Wr(t, () => x_), b(e, r);
10255
10255
  }
@@ -10270,7 +10270,7 @@ const F_ = {
10270
10270
  code: ".arrow-fill.svelte-1jpfelf {fill:var(--arrow-fill-color, var(--rc-color-grey-text-dark));}"
10271
10271
  };
10272
10272
  function z_(e) {
10273
- R(e, F_);
10273
+ U(e, F_);
10274
10274
  var r = q_();
10275
10275
  b(e, r);
10276
10276
  }
@@ -10288,14 +10288,14 @@ const D_ = {
10288
10288
  "chevron-down": Gt
10289
10289
  };
10290
10290
  function qt(e, r) {
10291
- V(r, !0);
10291
+ H(r, !0);
10292
10292
  const t = D_[r.name];
10293
- let a = X(B({}));
10293
+ let a = X(L({}));
10294
10294
  if (r.name.startsWith("chevron")) {
10295
10295
  const n = r.name.split("-")[1];
10296
- D(a, B({ direction: n }));
10296
+ D(a, L({ direction: n }));
10297
10297
  }
10298
- t(e, hr(() => d(a))), H();
10298
+ t(e, hr(() => d(a))), W();
10299
10299
  }
10300
10300
  var A_ = /* @__PURE__ */ I('<span class="rc-sandbox-only-error svelte-1d8gf9n"><!></span> <br> <br>', 1), M_ = /* @__PURE__ */ I('<!> <a class="svelte-1d8gf9n"> </a>.', 1), j_ = /* @__PURE__ */ I("<!> <!>", 1);
10301
10301
  const N_ = {
@@ -10303,51 +10303,51 @@ const N_ = {
10303
10303
  code: "a.svelte-1d8gf9n {color:var(--rc-color-grey-text-dark);}.rc-sandbox-only-error.svelte-1d8gf9n {font-weight:bold;}"
10304
10304
  };
10305
10305
  function C_(e, r) {
10306
- V(r, !0), R(e, N_);
10306
+ H(r, !0), U(e, N_);
10307
10307
  const t = De(), a = () => ze(o, "$translator", t), n = /* @__PURE__ */ E(() => r.lastError ?? new de(oe.UnknownError, "Unknown error without state set.")), o = Ee(Ne), i = /* @__PURE__ */ E(() => d(n).errorCode === oe.StripeTaxNotActive || d(n).errorCode === oe.StripeInvalidTaxOriginAddress || d(n).errorCode === oe.StripeMissingRequiredPermission);
10308
10308
  We(() => {
10309
- K.errorLog(`Displayed error: ${oe[d(n).errorCode]}. Message: ${d(n).message ?? "None"}. Underlying error: ${d(n).underlyingErrorMessage ?? "None"}`);
10309
+ J.errorLog(`Displayed error: ${oe[d(n).errorCode]}. Message: ${d(n).message ?? "None"}. Underlying error: ${d(n).underlyingErrorMessage ?? "None"}`);
10310
10310
  });
10311
10311
  function s() {
10312
- return d(n).errorCode === oe.AlreadyPurchasedError ? a().translate(L.ErrorPageCloseButtonTitle, { appName: r.appName ?? "App" }) : d(i) ? a().translate(L.ErrorButtonClose) : a().translate(L.ErrorButtonTryAgain);
10312
+ return d(n).errorCode === oe.AlreadyPurchasedError ? a().translate(O.ErrorPageCloseButtonTitle, { appName: r.appName ?? "App" }) : d(i) ? a().translate(O.ErrorButtonClose) : a().translate(O.ErrorButtonTryAgain);
10313
10313
  }
10314
10314
  function l() {
10315
10315
  switch (d(n).errorCode) {
10316
10316
  case oe.AlreadyPurchasedError:
10317
- return r.productDetails.productType === Lr.Subscription ? a().translate(L.ErrorPageErrorTitleAlreadySubscribed, { productTitle: r.productDetails.title }) : a().translate(L.ErrorPageErrorTitleAlreadyPurchased, { productTitle: r.productDetails.title });
10317
+ return r.productDetails.productType === Lr.Subscription ? a().translate(O.ErrorPageErrorTitleAlreadySubscribed, { productTitle: r.productDetails.title }) : a().translate(O.ErrorPageErrorTitleAlreadyPurchased, { productTitle: r.productDetails.title });
10318
10318
  case oe.StripeTaxNotActive:
10319
- return a().translate(L.ErrorPageErrorTitleStripeTaxNotActive);
10319
+ return a().translate(O.ErrorPageErrorTitleStripeTaxNotActive);
10320
10320
  case oe.StripeInvalidTaxOriginAddress:
10321
- return a().translate(L.ErrorPageErrorTitleStripeInvalidTaxOriginAddress);
10321
+ return a().translate(O.ErrorPageErrorTitleStripeInvalidTaxOriginAddress);
10322
10322
  case oe.StripeMissingRequiredPermission:
10323
- return a().translate(L.ErrorPageErrorTitleStripeMissingRequiredPermission);
10323
+ return a().translate(O.ErrorPageErrorTitleStripeMissingRequiredPermission);
10324
10324
  default:
10325
- return a().translate(L.ErrorPageErrorTitleOtherErrors);
10325
+ return a().translate(O.ErrorPageErrorTitleOtherErrors);
10326
10326
  }
10327
10327
  }
10328
10328
  function c() {
10329
10329
  const m = d(n).getErrorCode();
10330
10330
  switch (d(n).errorCode) {
10331
10331
  case oe.ErrorSettingUpPurchase:
10332
- return a().translate(L.ErrorPageErrorMessageErrorSettingUpPurchase, { errorCode: m });
10332
+ return a().translate(O.ErrorPageErrorMessageErrorSettingUpPurchase, { errorCode: m });
10333
10333
  case oe.ErrorChargingPayment:
10334
- return a().translate(L.ErrorPageErrorMessageErrorChargingPayment, { errorCode: m });
10334
+ return a().translate(O.ErrorPageErrorMessageErrorChargingPayment, { errorCode: m });
10335
10335
  case oe.AlreadyPurchasedError:
10336
- return r.productDetails.productType === Lr.Subscription ? a().translate(L.ErrorPageErrorMessageAlreadySubscribed, { errorCode: m }) : a().translate(L.ErrorPageErrorMessageAlreadyPurchased, { errorCode: m });
10336
+ return r.productDetails.productType === Lr.Subscription ? a().translate(O.ErrorPageErrorMessageAlreadySubscribed, { errorCode: m }) : a().translate(O.ErrorPageErrorMessageAlreadyPurchased, { errorCode: m });
10337
10337
  case oe.StripeTaxNotActive:
10338
- return a().translate(L.ErrorPageErrorMessageStripeTaxNotActive, { errorCode: m });
10338
+ return a().translate(O.ErrorPageErrorMessageStripeTaxNotActive, { errorCode: m });
10339
10339
  case oe.StripeInvalidTaxOriginAddress:
10340
- return a().translate(L.ErrorPageErrorMessageStripeInvalidTaxOriginAddress, { errorCode: m });
10340
+ return a().translate(O.ErrorPageErrorMessageStripeInvalidTaxOriginAddress, { errorCode: m });
10341
10341
  case oe.StripeMissingRequiredPermission:
10342
- return a().translate(L.ErrorPageErrorMessageStripeMissingRequiredPermission, { errorCode: m });
10342
+ return a().translate(O.ErrorPageErrorMessageStripeMissingRequiredPermission, { errorCode: m });
10343
10343
  case oe.NetworkError:
10344
- return a().translate(L.ErrorPageErrorMessageNetworkError, { errorCode: m });
10344
+ return a().translate(O.ErrorPageErrorMessageNetworkError, { errorCode: m });
10345
10345
  default:
10346
- return a().translate(L.ErrorPageErrorMessageUnknownError, { errorCode: m });
10346
+ return a().translate(O.ErrorPageErrorMessageUnknownError, { errorCode: m });
10347
10347
  }
10348
10348
  }
10349
10349
  function p() {
10350
- return d(n).errorCode === oe.AlreadyPurchasedError ? L.ErrorPageTroubleAccessing : L.ErrorPageIfErrorPersists;
10350
+ return d(n).errorCode === oe.AlreadyPurchasedError ? O.ErrorPageTroubleAccessing : O.ErrorPageIfErrorPersists;
10351
10351
  }
10352
10352
  function u() {
10353
10353
  return d(n).errorCode === oe.AlreadyPurchasedError ? "success" : "error";
@@ -10364,58 +10364,58 @@ function C_(e, r) {
10364
10364
  get closeButtonTitle() {
10365
10365
  return d(g);
10366
10366
  },
10367
- icon: (h) => {
10368
- var v = /* @__PURE__ */ E(u);
10369
- qt(h, {
10367
+ icon: (v) => {
10368
+ var h = /* @__PURE__ */ E(u);
10369
+ qt(v, {
10370
10370
  get name() {
10371
- return d(v);
10371
+ return d(h);
10372
10372
  }
10373
10373
  });
10374
10374
  },
10375
- message: (h) => {
10376
- var v = j_(), y = Y(v);
10375
+ message: (v) => {
10376
+ var h = j_(), y = G(h);
10377
10377
  {
10378
- var x = (C) => {
10379
- var k = A_(), w = Y(k), q = P(w);
10378
+ var x = (B) => {
10379
+ var k = A_(), w = G(k), q = P(w);
10380
10380
  ur(q, {
10381
10381
  get key() {
10382
- return L.ErrorPageErrorMessageOnlyInSandbox;
10382
+ return O.ErrorPageErrorMessageOnlyInSandbox;
10383
10383
  }
10384
- }), b(C, k);
10384
+ }), b(B, k);
10385
10385
  };
10386
- N(y, (C) => {
10387
- d(i) && C(x);
10386
+ N(y, (B) => {
10387
+ d(i) && B(x);
10388
10388
  });
10389
10389
  }
10390
- var T = O(y);
10391
- A(() => te(T, ` ${c() ?? ""} `));
10392
- var S = O(T);
10390
+ var T = C(y);
10391
+ A(() => ae(T, ` ${c() ?? ""} `));
10392
+ var S = C(T);
10393
10393
  {
10394
- var z = (C) => {
10395
- var k = M_(), w = Y(k), q = /* @__PURE__ */ E(p);
10394
+ var z = (B) => {
10395
+ var k = M_(), w = G(k), q = /* @__PURE__ */ E(p);
10396
10396
  ur(w, {
10397
10397
  get key() {
10398
10398
  return d(q);
10399
10399
  }
10400
10400
  });
10401
- var G = O(w, 2), W = P(G);
10401
+ var Y = C(w, 2), V = P(Y);
10402
10402
  A(() => {
10403
- j(G, "href", `mailto:${r.supportEmail ?? ""}`), te(W, r.supportEmail);
10404
- }), b(C, k);
10403
+ j(Y, "href", `mailto:${r.supportEmail ?? ""}`), ae(V, r.supportEmail);
10404
+ }), b(B, k);
10405
10405
  };
10406
- N(S, (C) => {
10407
- !d(i) && r.supportEmail && C(z);
10406
+ N(S, (B) => {
10407
+ !d(i) && r.supportEmail && B(z);
10408
10408
  });
10409
10409
  }
10410
- b(h, v);
10410
+ b(v, h);
10411
10411
  },
10412
10412
  $$slots: { icon: !0, message: !0 }
10413
- }), H();
10413
+ }), W();
10414
10414
  }
10415
10415
  function O_(e, r) {
10416
- V(r, !1);
10416
+ H(r, !1);
10417
10417
  const t = De(), a = () => ze(o, "$translator", t);
10418
- let n = U(r, "onContinue", 8);
10418
+ let n = R(r, "onContinue", 8);
10419
10419
  const o = Ee(Ne), i = Ee(xn);
10420
10420
  function s() {
10421
10421
  i.trackSDKEvent({
@@ -10428,7 +10428,7 @@ function O_(e, r) {
10428
10428
  eventName: Fe.CheckoutPurchaseSuccessfulImpression
10429
10429
  });
10430
10430
  }), Qe();
10431
- var l = /* @__PURE__ */ et(() => a().translate(L.SuccessPagePurchaseSuccessful)), c = /* @__PURE__ */ et(() => a().translate(L.SuccessPageButtonClose));
10431
+ var l = /* @__PURE__ */ et(() => a().translate(O.SuccessPagePurchaseSuccessful)), c = /* @__PURE__ */ et(() => a().translate(O.SuccessPageButtonClose));
10432
10432
  Sn(e, {
10433
10433
  type: "success",
10434
10434
  get title() {
@@ -10442,7 +10442,7 @@ function O_(e, r) {
10442
10442
  Ui(u);
10443
10443
  },
10444
10444
  $$slots: { icon: !0 }
10445
- }), H();
10445
+ }), W();
10446
10446
  }
10447
10447
  function L_(e) {
10448
10448
  Ai(e);
@@ -10459,9 +10459,9 @@ const R_ = {
10459
10459
  }`
10460
10460
  };
10461
10461
  function U_(e, r) {
10462
- V(r, !1), R(e, R_);
10462
+ H(r, !1), U(e, R_);
10463
10463
  const t = De(), a = () => ze(i, "$translator", t);
10464
- let n = U(r, "isExpanded", 12, !0), o = U(r, "children", 8);
10464
+ let n = R(r, "isExpanded", 12, !0), o = R(r, "children", 8);
10465
10465
  const i = Ee(Ne);
10466
10466
  function s() {
10467
10467
  n(!n());
@@ -10471,24 +10471,24 @@ function U_(e, r) {
10471
10471
  se(p, {
10472
10472
  size: "label-default",
10473
10473
  children: (y, x) => {
10474
- var T = ee(), S = Y(T);
10474
+ var T = re(), S = G(T);
10475
10475
  {
10476
10476
  var z = (k) => {
10477
10477
  var w = ie();
10478
- A(() => te(w, a().translate(L.PricingDropdownHideDetails))), b(k, w);
10479
- }, C = (k) => {
10478
+ A(() => ae(w, a().translate(O.PricingDropdownHideDetails))), b(k, w);
10479
+ }, B = (k) => {
10480
10480
  var w = ie();
10481
- A(() => te(w, a().translate(L.PricingDropdownShowDetails))), b(k, w);
10481
+ A(() => ae(w, a().translate(O.PricingDropdownShowDetails))), b(k, w);
10482
10482
  };
10483
10483
  N(S, (k) => {
10484
- n() ? k(z) : k(C, !1);
10484
+ n() ? k(z) : k(B, !1);
10485
10485
  });
10486
10486
  }
10487
10487
  b(y, T);
10488
10488
  },
10489
10489
  $$slots: { default: !0 }
10490
10490
  });
10491
- var u = O(p, 2), _ = P(u);
10491
+ var u = C(p, 2), _ = P(u);
10492
10492
  {
10493
10493
  var g = (y) => {
10494
10494
  qt(y, { name: "chevron-up" });
@@ -10499,10 +10499,10 @@ function U_(e, r) {
10499
10499
  n() ? y(g) : y(m, !1);
10500
10500
  });
10501
10501
  }
10502
- var f = O(c, 2), h = P(f), v = P(h);
10503
- ge(v, () => o() ?? ne), A(() => {
10502
+ var f = C(c, 2), v = P(f), h = P(v);
10503
+ ge(h, () => o() ?? ne), A(() => {
10504
10504
  j(c, "aria-expanded", n()), fr(f, "collapsed", !n());
10505
- }), nt("click", c, s), nt("keydown", c, (y) => y.key === "Enter" || y.key === " " ? s() : null), b(e, l), H();
10505
+ }), nt("click", c, s), nt("keydown", c, (y) => y.key === "Enter" || y.key === " " ? s() : null), b(e, l), W();
10506
10506
  }
10507
10507
  var V_ = /* @__PURE__ */ I('<div class="rcb-pricing-table-value-loading svelte-erv89n"><!></div>');
10508
10508
  const H_ = {
@@ -10522,11 +10522,11 @@ const H_ = {
10522
10522
  }`
10523
10523
  };
10524
10524
  function W_(e, r) {
10525
- V(r, !1), R(e, H_);
10526
- let t = U(r, "children", 8);
10525
+ H(r, !1), U(e, H_);
10526
+ let t = R(r, "children", 8);
10527
10527
  Qe();
10528
10528
  var a = V_(), n = P(a);
10529
- ge(n, () => t() ?? ne), b(e, a), H();
10529
+ ge(n, () => t() ?? ne), b(e, a), W();
10530
10530
  }
10531
10531
  var Y_ = /* @__PURE__ */ I('<div class="rcb-pricing-table-row svelte-i12130" data-testid="tax-loading-skeleton"><div class="rcb-pricing-table-header svelte-i12130"><!></div> <div class="rcb-pricing-table-value svelte-i12130"><!></div></div>'), G_ = /* @__PURE__ */ I('<div class="rcb-pricing-table-row svelte-i12130"><div class="rcb-pricing-table-header svelte-i12130"> </div> <div class="rcb-pricing-table-value svelte-i12130"><!></div></div>'), X_ = /* @__PURE__ */ I('<div class="rcb-pricing-table-row svelte-i12130"><div class="rcb-pricing-table-header svelte-i12130"><!></div> <div class="rcb-pricing-table-value svelte-i12130"><!></div></div>'), Z_ = /* @__PURE__ */ I('<div class="rcb-pricing-table-row svelte-i12130"><div class="rcb-pricing-table-header svelte-i12130"><!></div> <div class="rcb-pricing-table-value svelte-i12130"><!></div></div> <!> <div class="rcb-pricing-table-separator svelte-i12130"></div>', 1), K_ = /* @__PURE__ */ I('<div class="rcb-pricing-table-row svelte-i12130"><div class="rcb-pricing-table-header svelte-i12130"><!></div> <div class="rcb-pricing-table-value svelte-i12130"><!></div></div>'), J_ = /* @__PURE__ */ I('<div class="rcb-pricing-table svelte-i12130"><!> <!> <div class="rcb-pricing-table-row rcb-header svelte-i12130"><div class="rcb-pricing-table-header svelte-i12130"><!></div> <div class="rcb-pricing-table-value svelte-i12130"><!></div></div></div>');
10532
10532
  const Q_ = {
@@ -10540,30 +10540,30 @@ const Q_ = {
10540
10540
  };
10541
10541
  function $_(e, r) {
10542
10542
  var _;
10543
- V(r, !0), R(e, Q_);
10543
+ H(r, !0), U(e, Q_);
10544
10544
  const t = De(), a = () => ze(i, "$translator", t), n = (g) => {
10545
10545
  var m = J_(), f = P(m);
10546
10546
  {
10547
- var h = (k) => {
10548
- var w = Z_(), q = Y(w), G = P(q), W = P(G);
10549
- se(W, {
10547
+ var v = (k) => {
10548
+ var w = Z_(), q = G(w), Y = P(q), V = P(Y);
10549
+ se(V, {
10550
10550
  size: "body-small",
10551
10551
  children: (ce, ke) => {
10552
10552
  var Pe = ie();
10553
- A(() => te(Pe, a().translate(L.PricingTotalExcludingTax))), b(ce, Pe);
10553
+ A(() => ae(Pe, a().translate(O.PricingTotalExcludingTax))), b(ce, Pe);
10554
10554
  },
10555
10555
  $$slots: { default: !0 }
10556
10556
  });
10557
- var ae = O(G, 2), J = P(ae);
10558
- se(J, {
10557
+ var Q = C(Y, 2), Z = P(Q);
10558
+ se(Z, {
10559
10559
  size: "body-small",
10560
10560
  children: (ce, ke) => {
10561
10561
  var Pe = ie();
10562
- A(() => te(Pe, a().formatPrice(r.priceBreakdown.totalExcludingTaxInMicros, r.priceBreakdown.currency))), b(ce, Pe);
10562
+ A(() => ae(Pe, a().formatPrice(r.priceBreakdown.totalExcludingTaxInMicros, r.priceBreakdown.currency))), b(ce, Pe);
10563
10563
  },
10564
10564
  $$slots: { default: !0 }
10565
10565
  });
10566
- var re = O(q, 2);
10566
+ var te = C(q, 2);
10567
10567
  {
10568
10568
  var pe = (ce) => {
10569
10569
  var ke = Y_(), Pe = P(ke), vr = P(Pe);
@@ -10571,18 +10571,18 @@ function $_(e, r) {
10571
10571
  size: "body-small",
10572
10572
  children: (Oe, kr) => {
10573
10573
  var $e = ie();
10574
- A(() => te($e, a().translate(L.PricingTableTax))), b(Oe, $e);
10574
+ A(() => ae($e, a().translate(O.PricingTableTax))), b(Oe, $e);
10575
10575
  },
10576
10576
  $$slots: { default: !0 }
10577
10577
  });
10578
- var _r = O(Pe, 2), Ge = P(_r);
10578
+ var _r = C(Pe, 2), Ge = P(_r);
10579
10579
  se(Ge, {
10580
10580
  size: "body-small",
10581
10581
  children: (Oe, kr) => {
10582
10582
  W_(Oe, {
10583
10583
  children: ($e, wr) => {
10584
10584
  var Xe = ie();
10585
- A(() => te(Xe, a().formatPrice(1234e4, r.priceBreakdown.currency))), b($e, Xe);
10585
+ A(() => ae(Xe, a().formatPrice(1234e4, r.priceBreakdown.currency))), b($e, Xe);
10586
10586
  },
10587
10587
  $$slots: { default: !0 }
10588
10588
  });
@@ -10590,41 +10590,41 @@ function $_(e, r) {
10590
10590
  $$slots: { default: !0 }
10591
10591
  }), b(ce, ke);
10592
10592
  }, me = (ce) => {
10593
- var ke = ee(), Pe = Y(ke);
10593
+ var ke = re(), Pe = G(ke);
10594
10594
  {
10595
10595
  var vr = (Ge) => {
10596
10596
  var Oe = G_(), kr = P(Oe), $e = P(kr);
10597
- A(() => te($e, a().translate(L.PricingTableTax)));
10598
- var wr = O(kr, 2), Xe = P(wr);
10597
+ A(() => ae($e, a().translate(O.PricingTableTax)));
10598
+ var wr = C(kr, 2), Xe = P(wr);
10599
10599
  se(Xe, {
10600
10600
  size: "body-small",
10601
10601
  children: (Yr, Lt) => {
10602
10602
  var xr = ie();
10603
- A(() => te(xr, a().translate(L.PricingTableEnterBillingAddressToCalculate))), b(Yr, xr);
10603
+ A(() => ae(xr, a().translate(O.PricingTableEnterBillingAddressToCalculate))), b(Yr, xr);
10604
10604
  },
10605
10605
  $$slots: { default: !0 }
10606
10606
  }), b(Ge, Oe);
10607
10607
  }, _r = (Ge) => {
10608
- var Oe = ee(), kr = Y(Oe);
10608
+ var Oe = re(), kr = G(Oe);
10609
10609
  {
10610
10610
  var $e = (wr) => {
10611
- var Xe = ee(), Yr = Y(Xe);
10611
+ var Xe = re(), Yr = G(Xe);
10612
10612
  it(Yr, 17, () => r.priceBreakdown.taxBreakdown, ot, (Lt, xr) => {
10613
10613
  var pt = X_(), Bt = P(pt), Rt = P(Bt);
10614
10614
  se(Rt, {
10615
10615
  size: "body-small",
10616
10616
  children: (Gr, Vt) => {
10617
10617
  var Mr = ie();
10618
- A(() => te(Mr, d(xr).display_name)), b(Gr, Mr);
10618
+ A(() => ae(Mr, d(xr).display_name)), b(Gr, Mr);
10619
10619
  },
10620
10620
  $$slots: { default: !0 }
10621
10621
  });
10622
- var wa = O(Bt, 2), Ut = P(wa);
10622
+ var wa = C(Bt, 2), Ut = P(wa);
10623
10623
  se(Ut, {
10624
10624
  size: "body-small",
10625
10625
  children: (Gr, Vt) => {
10626
10626
  var Mr = ie();
10627
- A(() => te(Mr, a().formatPrice(d(xr).tax_amount_in_micros, r.priceBreakdown.currency))), b(Gr, Mr);
10627
+ A(() => ae(Mr, a().formatPrice(d(xr).tax_amount_in_micros, r.priceBreakdown.currency))), b(Gr, Mr);
10628
10628
  },
10629
10629
  $$slots: { default: !0 }
10630
10630
  }), b(Lt, pt);
@@ -10650,68 +10650,68 @@ function $_(e, r) {
10650
10650
  }
10651
10651
  b(ce, ke);
10652
10652
  };
10653
- N(re, (ce) => {
10653
+ N(te, (ce) => {
10654
10654
  r.priceBreakdown.taxCalculationStatus === "loading" ? ce(pe) : ce(me, !1);
10655
10655
  });
10656
10656
  }
10657
10657
  b(k, w);
10658
10658
  };
10659
10659
  N(f, (k) => {
10660
- d(s) && k(h);
10660
+ d(s) && k(v);
10661
10661
  });
10662
10662
  }
10663
- var v = O(f, 2);
10663
+ var h = C(f, 2);
10664
10664
  {
10665
10665
  var y = (k) => {
10666
- var w = K_(), q = P(w), G = P(q);
10667
- se(G, {
10666
+ var w = K_(), q = P(w), Y = P(q);
10667
+ se(Y, {
10668
10668
  size: "body-small",
10669
- children: (J, re) => {
10669
+ children: (Z, te) => {
10670
10670
  var pe = ie();
10671
- A(() => te(pe, a().translate(L.PricingTableTrialEnds, {
10671
+ A(() => ae(pe, a().translate(O.PricingTableTrialEnds, {
10672
10672
  formattedTrialEndDate: a().translateDate(d(o), { dateStyle: "medium" })
10673
- }))), b(J, pe);
10673
+ }))), b(Z, pe);
10674
10674
  },
10675
10675
  $$slots: { default: !0 }
10676
10676
  });
10677
- var W = O(q, 2), ae = P(W);
10678
- se(ae, {
10677
+ var V = C(q, 2), Q = P(V);
10678
+ se(Q, {
10679
10679
  size: "body-small",
10680
- children: (J, re) => {
10680
+ children: (Z, te) => {
10681
10681
  var pe = ie();
10682
- A(() => te(pe, a().formatPrice(r.priceBreakdown.totalAmountInMicros, r.priceBreakdown.currency))), b(J, pe);
10682
+ A(() => ae(pe, a().formatPrice(r.priceBreakdown.totalAmountInMicros, r.priceBreakdown.currency))), b(Z, pe);
10683
10683
  },
10684
10684
  $$slots: { default: !0 }
10685
10685
  }), b(k, w);
10686
10686
  };
10687
- N(v, (k) => {
10687
+ N(h, (k) => {
10688
10688
  d(o) && k(y);
10689
10689
  });
10690
10690
  }
10691
- var x = O(v, 2), T = P(x), S = P(T);
10691
+ var x = C(h, 2), T = P(x), S = P(T);
10692
10692
  se(S, {
10693
10693
  size: "body-small",
10694
10694
  children: (k, w) => {
10695
10695
  var q = ie();
10696
- A(() => te(q, a().translate(L.PricingTableTotalDueToday))), b(k, q);
10696
+ A(() => ae(q, a().translate(O.PricingTableTotalDueToday))), b(k, q);
10697
10697
  },
10698
10698
  $$slots: { default: !0 }
10699
10699
  });
10700
- var z = O(T, 2), C = P(z);
10701
- se(C, {
10700
+ var z = C(T, 2), B = P(z);
10701
+ se(B, {
10702
10702
  size: "body-small",
10703
10703
  children: (k, w) => {
10704
- var q = ee(), G = Y(q);
10704
+ var q = re(), Y = G(q);
10705
10705
  {
10706
- var W = (J) => {
10707
- var re = ie();
10708
- A(() => te(re, a().formatPrice(0, r.priceBreakdown.currency))), b(J, re);
10709
- }, ae = (J) => {
10710
- var re = ie();
10711
- A(() => te(re, a().formatPrice(r.priceBreakdown.totalAmountInMicros, r.priceBreakdown.currency))), b(J, re);
10706
+ var V = (Z) => {
10707
+ var te = ie();
10708
+ A(() => ae(te, a().formatPrice(0, r.priceBreakdown.currency))), b(Z, te);
10709
+ }, Q = (Z) => {
10710
+ var te = ie();
10711
+ A(() => ae(te, a().formatPrice(r.priceBreakdown.totalAmountInMicros, r.priceBreakdown.currency))), b(Z, te);
10712
10712
  };
10713
- N(G, (J) => {
10714
- d(o) ? J(W) : J(ae, !1);
10713
+ N(Y, (Z) => {
10714
+ d(o) ? Z(V) : Z(Q, !1);
10715
10715
  });
10716
10716
  }
10717
10717
  b(k, q);
@@ -10720,9 +10720,9 @@ function $_(e, r) {
10720
10720
  }), b(g, m);
10721
10721
  };
10722
10722
  let o = X(null);
10723
- (_ = r.trialPhase) != null && _.period && D(o, B(Xa(/* @__PURE__ */ new Date(), r.trialPhase.period, !0)));
10723
+ (_ = r.trialPhase) != null && _.period && D(o, L(Xa(/* @__PURE__ */ new Date(), r.trialPhase.period, !0)));
10724
10724
  const i = Ee(Ne), s = /* @__PURE__ */ E(() => r.priceBreakdown.taxCalculationStatus !== "unavailable" && r.priceBreakdown.taxCalculationStatus !== "disabled" && r.priceBreakdown.taxBreakdown && r.priceBreakdown.taxBreakdown.length > 0);
10725
- var l = ee(), c = Y(l);
10725
+ var l = re(), c = G(l);
10726
10726
  {
10727
10727
  var p = (g) => {
10728
10728
  U_(g, {
@@ -10738,7 +10738,7 @@ function $_(e, r) {
10738
10738
  d(s) ? g(p) : g(u, !1);
10739
10739
  });
10740
10740
  }
10741
- b(e, l), H();
10741
+ b(e, l), W();
10742
10742
  }
10743
10743
  var eg = /* @__PURE__ */ I('<div class="rcb-subscribe-to svelte-4fnm8t"><!></div>'), rg = /* @__PURE__ */ I('<span class="rcb-product-description svelte-4fnm8t"><!></span>'), tg = /* @__PURE__ */ I('<div class="rcb-pricing-info-header svelte-4fnm8t"><!> <div class="rcb-product-title svelte-4fnm8t"><!></div> <!></div>');
10744
10744
  const ag = {
@@ -10749,8 +10749,8 @@ const ag = {
10749
10749
  }`
10750
10750
  };
10751
10751
  function ng(e, r) {
10752
- V(r, !1), R(e, ag);
10753
- let t = U(r, "productDetails", 8), a = U(r, "showProductDescription", 8);
10752
+ H(r, !1), U(e, ag);
10753
+ let t = R(r, "productDetails", 8), a = R(r, "showProductDescription", 8);
10754
10754
  const n = t().productType === Lr.Subscription;
10755
10755
  Qe();
10756
10756
  var o = tg(), i = P(o);
@@ -10759,14 +10759,14 @@ function ng(e, r) {
10759
10759
  var g = eg(), m = P(g);
10760
10760
  se(m, {
10761
10761
  size: "body-base",
10762
- children: (f, h) => {
10763
- var v = /* @__PURE__ */ et(() => ({ productTitle: t().title }));
10762
+ children: (f, v) => {
10763
+ var h = /* @__PURE__ */ et(() => ({ productTitle: t().title }));
10764
10764
  ur(f, {
10765
10765
  get key() {
10766
- return L.ProductInfoSubscribeTo;
10766
+ return O.ProductInfoSubscribeTo;
10767
10767
  },
10768
10768
  get variables() {
10769
- return d(v);
10769
+ return d(h);
10770
10770
  }
10771
10771
  });
10772
10772
  },
@@ -10777,7 +10777,7 @@ function ng(e, r) {
10777
10777
  n && _(s);
10778
10778
  });
10779
10779
  }
10780
- var l = O(i, 2), c = P(l);
10780
+ var l = C(i, 2), c = P(l);
10781
10781
  se(c, {
10782
10782
  size: "heading-lg",
10783
10783
  branded: !0,
@@ -10785,7 +10785,7 @@ function ng(e, r) {
10785
10785
  var m = /* @__PURE__ */ et(() => ({ productTitle: t().title }));
10786
10786
  ur(_, {
10787
10787
  get key() {
10788
- return L.ProductInfoProductTitle;
10788
+ return O.ProductInfoProductTitle;
10789
10789
  },
10790
10790
  get variables() {
10791
10791
  return d(m);
@@ -10794,22 +10794,22 @@ function ng(e, r) {
10794
10794
  },
10795
10795
  $$slots: { default: !0 }
10796
10796
  });
10797
- var p = O(l, 2);
10797
+ var p = C(l, 2);
10798
10798
  {
10799
10799
  var u = (_) => {
10800
10800
  var g = rg(), m = P(g);
10801
10801
  se(m, {
10802
10802
  size: "body-small",
10803
- children: (f, h) => {
10804
- var v = /* @__PURE__ */ et(() => ({
10803
+ children: (f, v) => {
10804
+ var h = /* @__PURE__ */ et(() => ({
10805
10805
  productDescription: t().description
10806
10806
  }));
10807
10807
  ur(f, {
10808
10808
  get key() {
10809
- return L.ProductInfoProductDescription;
10809
+ return O.ProductInfoProductDescription;
10810
10810
  },
10811
10811
  get variables() {
10812
- return d(v);
10812
+ return d(h);
10813
10813
  }
10814
10814
  });
10815
10815
  },
@@ -10820,7 +10820,7 @@ function ng(e, r) {
10820
10820
  a() && t().description && _(u);
10821
10821
  });
10822
10822
  }
10823
- b(e, o), H();
10823
+ b(e, o), W();
10824
10824
  }
10825
10825
  var og = /* @__PURE__ */ I("<div><!></div>"), ig = /* @__PURE__ */ I('<div class="rcb-product-price-container svelte-509gz3"><!> <div><!> <!></div></div>');
10826
10826
  const sg = {
@@ -10828,7 +10828,7 @@ const sg = {
10828
10828
  code: ".rcb-product-price-container.svelte-509gz3 {display:flex;flex-direction:column;justify-content:space-between;gap:var(--rc-spacing-gapMedium-mobile);color:var(--rc-color-grey-text-dark);}"
10829
10829
  };
10830
10830
  function lg(e, r) {
10831
- V(r, !0), R(e, sg);
10831
+ H(r, !0), U(e, sg);
10832
10832
  const t = De(), a = () => ze(n, "$translator", t), n = Ee(Ne), o = /* @__PURE__ */ E(() => a().formatPrice(r.priceBreakdown.totalAmountInMicros, r.priceBreakdown.currency));
10833
10833
  var i = ig(), s = P(i);
10834
10834
  {
@@ -10836,13 +10836,13 @@ function lg(e, r) {
10836
10836
  var m = og(), f = P(m);
10837
10837
  se(f, {
10838
10838
  size: "heading-lg",
10839
- children: (h, v) => {
10839
+ children: (v, h) => {
10840
10840
  var y = /* @__PURE__ */ E(() => ({
10841
10841
  trialDuration: Dc(r.trialPhase.periodDuration, a())
10842
10842
  }));
10843
- ur(h, {
10843
+ ur(v, {
10844
10844
  get key() {
10845
- return L.ProductInfoFreeTrialDuration;
10845
+ return O.ProductInfoFreeTrialDuration;
10846
10846
  },
10847
10847
  get variables() {
10848
10848
  return d(y);
@@ -10857,23 +10857,23 @@ function lg(e, r) {
10857
10857
  (m = r.trialPhase) != null && m.periodDuration && g(l);
10858
10858
  });
10859
10859
  }
10860
- var c = O(s, 2), p = P(c);
10860
+ var c = C(s, 2), p = P(c);
10861
10861
  se(p, {
10862
10862
  size: "heading-lg",
10863
10863
  children: (g, m) => {
10864
10864
  var f = ie();
10865
- A(() => te(f, d(o))), b(g, f);
10865
+ A(() => ae(f, d(o))), b(g, f);
10866
10866
  },
10867
10867
  $$slots: { default: !0 }
10868
10868
  });
10869
- var u = O(p, 2);
10869
+ var u = C(p, 2);
10870
10870
  {
10871
10871
  var _ = (g) => {
10872
10872
  se(g, {
10873
10873
  size: "body-small",
10874
10874
  children: (m, f) => {
10875
- var h = ie();
10876
- A(() => te(h, a().translatePeriodFrequency(r.basePhase.period.number, r.basePhase.period.unit, { useMultipleWords: !0 }))), b(m, h);
10875
+ var v = ie();
10876
+ A(() => ae(v, a().translatePeriodFrequency(r.basePhase.period.number, r.basePhase.period.unit, { useMultipleWords: !0 }))), b(m, v);
10877
10877
  },
10878
10878
  $$slots: { default: !0 }
10879
10879
  });
@@ -10883,7 +10883,7 @@ function lg(e, r) {
10883
10883
  (m = r.basePhase) != null && m.period && g(_);
10884
10884
  });
10885
10885
  }
10886
- b(e, i), H();
10886
+ b(e, i), W();
10887
10887
  }
10888
10888
  var cg = /* @__PURE__ */ I('<div class="rcb-pricing-info svelte-18guro7"><div class="rcb-pricing-info-header svelte-18guro7"><!> <!></div> <!></div>');
10889
10889
  const dg = {
@@ -10894,8 +10894,8 @@ const dg = {
10894
10894
  }`
10895
10895
  };
10896
10896
  function ug(e, r) {
10897
- R(e, dg);
10898
- let t = U(r, "productDetails", 8), a = U(r, "purchaseOption", 8), n = U(r, "showProductDescription", 8), o = U(r, "priceBreakdown", 8);
10897
+ U(e, dg);
10898
+ let t = R(r, "productDetails", 8), a = R(r, "purchaseOption", 8), n = R(r, "showProductDescription", 8), o = R(r, "priceBreakdown", 8);
10899
10899
  const i = a(), s = i == null ? void 0 : i.base, l = i == null ? void 0 : i.trial;
10900
10900
  var c = cg(), p = P(c), u = P(p);
10901
10901
  ng(u, {
@@ -10906,7 +10906,7 @@ function ug(e, r) {
10906
10906
  return n();
10907
10907
  }
10908
10908
  });
10909
- var _ = O(u, 2);
10909
+ var _ = C(u, 2);
10910
10910
  lg(_, {
10911
10911
  get priceBreakdown() {
10912
10912
  return o();
@@ -10914,7 +10914,7 @@ function ug(e, r) {
10914
10914
  basePhase: s,
10915
10915
  trialPhase: l
10916
10916
  });
10917
- var g = O(p, 2);
10917
+ var g = C(p, 2);
10918
10918
  $_(g, {
10919
10919
  get priceBreakdown() {
10920
10920
  return o();
@@ -10941,8 +10941,8 @@ const _g = {
10941
10941
  sans-serif;overflow-x:hidden;overflow-y:auto;}.rcb-ui-container.fullscreen.svelte-1h6xr8z {position:fixed;top:0;left:0;right:0;bottom:0;overscroll-behavior:none;z-index:1000001;}.rcb-ui-container.inside.svelte-1h6xr8z {position:relative;width:100%;z-index:unset;height:100%;top:0;left:0;}`
10942
10942
  };
10943
10943
  function gg(e, r) {
10944
- V(r, !0), R(e, _g);
10945
- const t = U(r, "brandingAppearance", 3, void 0), a = U(r, "brandFontConfig", 3, void 0), n = U(r, "isInElement", 3, !1), o = /* @__PURE__ */ E(() => new It(t()).getTextStyleVars(a())), i = /* @__PURE__ */ E(() => new It(t()).spacingStyleVars), s = /* @__PURE__ */ E(() => [d(o), d(i)].join("; ")), l = /* @__PURE__ */ E(() => {
10944
+ H(r, !0), U(e, _g);
10945
+ const t = R(r, "brandingAppearance", 3, void 0), a = R(r, "brandFontConfig", 3, void 0), n = R(r, "isInElement", 3, !1), o = /* @__PURE__ */ E(() => new It(t()).getTextStyleVars(a())), i = /* @__PURE__ */ E(() => new It(t()).spacingStyleVars), s = /* @__PURE__ */ E(() => [d(o), d(i)].join("; ")), l = /* @__PURE__ */ E(() => {
10946
10946
  var _;
10947
10947
  return (_ = a()) != null && _.font_url ? bt(a().font_url) : null;
10948
10948
  }), c = async (_) => {
@@ -10959,7 +10959,7 @@ function gg(e, r) {
10959
10959
  var p = pg(), u = P(p);
10960
10960
  ge(u, () => r.children ?? ne), A(() => {
10961
10961
  j(p, "style", d(s)), fr(p, "fullscreen", !n()), fr(p, "inside", n());
10962
- }), b(e, p), H();
10962
+ }), b(e, p), W();
10963
10963
  }
10964
10964
  var mg = /* @__PURE__ */ I('<div id="layout-query-container" class="svelte-1x4ow5d"><div class="rcb-ui-layout svelte-1x4ow5d"><!></div></div>');
10965
10965
  const fg = {
@@ -10973,11 +10973,11 @@ const fg = {
10973
10973
  }`
10974
10974
  };
10975
10975
  function yg(e, r) {
10976
- V(r, !1), R(e, fg);
10977
- let t = U(r, "style", 8, ""), a = U(r, "children", 8);
10976
+ H(r, !1), U(e, fg);
10977
+ let t = R(r, "style", 8, ""), a = R(r, "children", 8);
10978
10978
  Qe();
10979
10979
  var n = mg(), o = P(n), i = P(o);
10980
- ge(i, () => a() ?? ne), A(() => j(o, "style", t())), b(e, n), H();
10980
+ ge(i, () => a() ?? ne), A(() => j(o, "style", t())), b(e, n), W();
10981
10981
  }
10982
10982
  const bg = (e) => e;
10983
10983
  function hg(e) {
@@ -11007,9 +11007,9 @@ function kg(e, { delay: r = 0, duration: t = 400, easing: a = hg, x: n = 0, y: o
11007
11007
  delay: r,
11008
11008
  duration: t,
11009
11009
  easing: a,
11010
- css: (f, h) => `
11010
+ css: (f, v) => `
11011
11011
  transform: ${c} translate(${(1 - f) * u}${_}, ${(1 - f) * g}${m});
11012
- opacity: ${l - p * h}`
11012
+ opacity: ${l - p * v}`
11013
11013
  };
11014
11014
  }
11015
11015
  var wg = /* @__PURE__ */ I('<div><div class="layout-wrapper svelte-1w6qvx7"><div><!></div></div></div>');
@@ -11024,14 +11024,14 @@ const xg = {
11024
11024
  }`
11025
11025
  };
11026
11026
  function Vi(e, r) {
11027
- V(r, !0), R(e, xg);
11027
+ H(r, !0), U(e, xg);
11028
11028
  const t = `rcb-${r.location}`;
11029
11029
  var a = wg();
11030
11030
  Fr(a, `layout-wrapper-outer ${t ?? ""} svelte-1w6qvx7`);
11031
11031
  var n = P(a), o = P(n);
11032
11032
  Fr(o, `layout-content ${t ?? ""} svelte-1w6qvx7`);
11033
11033
  var i = P(o);
11034
- ge(i, () => r.children ?? ne), pi(3, o, () => vg, () => ({ duration: 500, delay: 50 })), b(e, a), H();
11034
+ ge(i, () => r.children ?? ne), pi(3, o, () => vg, () => ({ duration: 500, delay: 50 })), b(e, a), W();
11035
11035
  }
11036
11036
  var Pg = /* @__PURE__ */ I('<div class="navbar-body svelte-jz90ay"><!></div>'), Sg = /* @__PURE__ */ I('<div class="navbar-header svelte-jz90ay"><!></div> <!>', 1), Eg = /* @__PURE__ */ I('<div class="rcb-ui-navbar svelte-jz90ay"><!></div>');
11037
11037
  const Tg = {
@@ -11045,15 +11045,15 @@ const Tg = {
11045
11045
  }`
11046
11046
  };
11047
11047
  function Ig(e, r) {
11048
- V(r, !0), R(e, Tg);
11049
- const t = U(r, "brandingAppearance", 3, void 0), a = /* @__PURE__ */ E(() => new It(t()).productInfoStyleVars);
11048
+ H(r, !0), U(e, Tg);
11049
+ const t = R(r, "brandingAppearance", 3, void 0), a = /* @__PURE__ */ E(() => new It(t()).productInfoStyleVars);
11050
11050
  var n = Eg(), o = P(n);
11051
11051
  Vi(o, {
11052
11052
  location: "navbar",
11053
11053
  children: (i, s) => {
11054
- var l = Sg(), c = Y(l), p = P(c);
11054
+ var l = Sg(), c = G(l), p = P(c);
11055
11055
  ge(p, () => r.headerContent ?? ne);
11056
- var u = O(c, 2);
11056
+ var u = C(c, 2);
11057
11057
  {
11058
11058
  var _ = (g) => {
11059
11059
  var m = Pg(), f = P(m);
@@ -11066,7 +11066,7 @@ function Ig(e, r) {
11066
11066
  b(i, l);
11067
11067
  },
11068
11068
  $$slots: { default: !0 }
11069
- }), A(() => j(n, "style", d(a))), b(e, n), H();
11069
+ }), A(() => j(n, "style", d(a))), b(e, n), W();
11070
11070
  }
11071
11071
  var qg = /* @__PURE__ */ I('<button class="rcb-close-button svelte-nssttr" data-testid="close-button"><!></button>');
11072
11072
  const Fg = {
@@ -11074,7 +11074,7 @@ const Fg = {
11074
11074
  code: ".rcb-close-button.svelte-nssttr {padding:10px;border:none;cursor:pointer;background-color:transparent;border-radius:50%;color:var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;}.rcb-close-button.svelte-nssttr:active {transition:outline 0.1s ease-in-out;outline:2px solid var(--rc-color-focus);}.rcb-close-button.svelte-nssttr:hover {color:var(--rc-color-grey-text-dark);}"
11075
11075
  };
11076
11076
  function Hi(e, r) {
11077
- R(e, Fg);
11077
+ U(e, Fg);
11078
11078
  var t = qg(), a = P(t);
11079
11079
  qt(a, { name: "close" }), nt("click", t, function(n) {
11080
11080
  gi.call(this, r, n);
@@ -11089,25 +11089,25 @@ const Ag = {
11089
11089
  }`
11090
11090
  };
11091
11091
  function Mg(e, r) {
11092
- V(r, !1), R(e, Ag);
11093
- let t = U(r, "style", 8, ""), a = U(r, "isInElement", 8, !1), n = Ca(!0);
11092
+ H(r, !1), U(e, Ag);
11093
+ let t = R(r, "style", 8, ""), a = R(r, "isInElement", 8, !1), n = Ca(!0);
11094
11094
  function o() {
11095
- K.debugLog("closeBanner"), D(n, !1);
11095
+ J.debugLog("closeBanner"), D(n, !1);
11096
11096
  }
11097
11097
  Qe();
11098
- var i = ee(), s = Y(i);
11098
+ var i = re(), s = G(i);
11099
11099
  {
11100
11100
  var l = (c) => {
11101
11101
  var p = Dg(), u = P(p);
11102
11102
  se(u, {
11103
11103
  size: "caption-default",
11104
11104
  children: (m, f) => {
11105
- var h = zg();
11106
- b(m, h);
11105
+ var v = zg();
11106
+ b(m, v);
11107
11107
  },
11108
11108
  $$slots: { default: !0 }
11109
11109
  });
11110
- var _ = O(u, 2), g = P(_);
11110
+ var _ = C(u, 2), g = P(_);
11111
11111
  se(g, {
11112
11112
  size: "caption-default",
11113
11113
  children: (m, f) => {
@@ -11122,7 +11122,7 @@ function Mg(e, r) {
11122
11122
  d(n) && c(l);
11123
11123
  });
11124
11124
  }
11125
- b(e, i), H();
11125
+ b(e, i), W();
11126
11126
  }
11127
11127
  var jg = /* @__PURE__ */ I('<div class="rcb-ui-main svelte-nr408n"><!></div>');
11128
11128
  const Ng = {
@@ -11130,21 +11130,21 @@ const Ng = {
11130
11130
  code: ".rcb-ui-main.svelte-nr408n {flex:1;display:flex;background-color:var(--rc-color-background);}"
11131
11131
  };
11132
11132
  function Cg(e, r) {
11133
- V(r, !0), R(e, Ng);
11133
+ H(r, !0), U(e, Ng);
11134
11134
  const t = /* @__PURE__ */ E(() => new It(r.brandingAppearance).formStyleVars);
11135
11135
  var a = jg(), n = P(a);
11136
11136
  Vi(n, {
11137
11137
  location: "main-block",
11138
11138
  children: (o, i) => {
11139
- var s = ee(), l = Y(s);
11139
+ var s = re(), l = G(s);
11140
11140
  ge(l, () => r.children ?? ne), b(o, s);
11141
11141
  },
11142
11142
  $$slots: { default: !0 }
11143
- }), A(() => j(a, "style", d(t))), b(e, a), H();
11143
+ }), A(() => j(a, "style", d(t))), b(e, a), W();
11144
11144
  }
11145
11145
  var Og = /* @__PURE__ */ I("<!> <!>", 1), Lg = /* @__PURE__ */ I("<!> <!>", 1);
11146
11146
  function Bg(e, r) {
11147
- V(r, !0);
11147
+ H(r, !0);
11148
11148
  const t = /* @__PURE__ */ E(() => {
11149
11149
  var o;
11150
11150
  return Li((o = r.brandingInfo) == null ? void 0 : o.appearance) ?? "";
@@ -11167,7 +11167,7 @@ function Bg(e, r) {
11167
11167
  return r.isInElement;
11168
11168
  },
11169
11169
  children: (o, i) => {
11170
- var s = Lg(), l = Y(s);
11170
+ var s = Lg(), l = G(s);
11171
11171
  {
11172
11172
  var c = (u) => {
11173
11173
  Mg(u, {
@@ -11183,13 +11183,13 @@ function Bg(e, r) {
11183
11183
  r.isSandbox && u(c);
11184
11184
  });
11185
11185
  }
11186
- var p = O(l, 2);
11186
+ var p = C(l, 2);
11187
11187
  yg(p, {
11188
11188
  get style() {
11189
11189
  return d(t);
11190
11190
  },
11191
11191
  children: (u, _) => {
11192
- var g = Og(), m = Y(g);
11192
+ var g = Og(), m = G(g);
11193
11193
  {
11194
11194
  var f = (y) => {
11195
11195
  var x = /* @__PURE__ */ E(() => {
@@ -11212,16 +11212,16 @@ function Bg(e, r) {
11212
11212
  (r.navbarHeaderContent || r.navbarBodyContent) && y(f);
11213
11213
  });
11214
11214
  }
11215
- var h = O(m, 2), v = /* @__PURE__ */ E(() => {
11215
+ var v = C(m, 2), h = /* @__PURE__ */ E(() => {
11216
11216
  var y;
11217
11217
  return (y = r.brandingInfo) == null ? void 0 : y.appearance;
11218
11218
  });
11219
- Cg(h, {
11219
+ Cg(v, {
11220
11220
  get brandingAppearance() {
11221
- return d(v);
11221
+ return d(h);
11222
11222
  },
11223
11223
  children: (y, x) => {
11224
- var T = ee(), S = Y(T);
11224
+ var T = re(), S = G(T);
11225
11225
  ge(S, () => r.mainContent ?? ne), b(y, T);
11226
11226
  },
11227
11227
  $$slots: { default: !0 }
@@ -11231,7 +11231,7 @@ function Bg(e, r) {
11231
11231
  }), b(o, s);
11232
11232
  },
11233
11233
  $$slots: { default: !0 }
11234
- }), H();
11234
+ }), W();
11235
11235
  }
11236
11236
  var Rg = /* @__PURE__ */ I('<source type="image/webp">'), Ug = /* @__PURE__ */ I('<picture class="rcb-app-icon-picture-container svelte-el1u77"><!> <img class="rcb-app-icon svelte-el1u77" alt="App icon"></picture>'), Vg = /* @__PURE__ */ I('<div class="rcb-app-icon loading svelte-el1u77"></div>');
11237
11237
  const Hg = {
@@ -11239,8 +11239,8 @@ const Hg = {
11239
11239
  code: ".rcb-app-icon.svelte-el1u77 {width:32px;height:32px;border-radius:12px;box-shadow:0px 1px 10px 0px rgba(0, 0, 0, 0.1);}.rcb-app-icon-picture-container.svelte-el1u77 {height:32px;}.rcb-app-icon.loading.svelte-el1u77 {background-color:gray;}"
11240
11240
  };
11241
11241
  function Wg(e, r) {
11242
- R(e, Hg);
11243
- var t = ee(), a = Y(t);
11242
+ U(e, Hg);
11243
+ var t = re(), a = G(t);
11244
11244
  {
11245
11245
  var n = (i) => {
11246
11246
  var s = Ug(), l = P(s);
@@ -11253,7 +11253,7 @@ function Wg(e, r) {
11253
11253
  r.srcWebp && u(c);
11254
11254
  });
11255
11255
  }
11256
- var p = O(l, 2);
11256
+ var p = C(l, 2);
11257
11257
  A(() => j(p, "src", r.src)), b(i, s);
11258
11258
  }, o = (i) => {
11259
11259
  var s = Vg();
@@ -11271,7 +11271,7 @@ const Gg = {
11271
11271
  code: ".rcb-back-button.svelte-9xjbko {padding:8px;border:none;cursor:pointer;background-color:transparent;border-radius:50%;color:var(--rc-color-grey-text-dark);display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;}"
11272
11272
  };
11273
11273
  function Xg(e, r) {
11274
- R(e, Gg);
11274
+ U(e, Gg);
11275
11275
  var t = Yg(), a = P(t);
11276
11276
  qt(a, { name: "back" }), nt("click", t, function(n) {
11277
11277
  gi.call(this, r, n);
@@ -11283,7 +11283,7 @@ const Jg = {
11283
11283
  code: ".rcb-app-icon.svelte-19gv4gf {height:32px;}"
11284
11284
  };
11285
11285
  function Qg(e, r) {
11286
- R(e, Jg);
11286
+ U(e, Jg);
11287
11287
  var t = Kg(), a = P(t);
11288
11288
  {
11289
11289
  var n = (i) => {
@@ -11294,7 +11294,7 @@ function Qg(e, r) {
11294
11294
  r.srcWebp && i(n);
11295
11295
  });
11296
11296
  }
11297
- var o = O(a, 2);
11297
+ var o = C(a, 2);
11298
11298
  A(() => j(o, "src", r.src)), b(e, t);
11299
11299
  }
11300
11300
  var $g = /* @__PURE__ */ I('<div class="rcb-back-wrapper svelte-11zapuq"><!></div>'), em = /* @__PURE__ */ I('<div class="rcb-close-wrapper svelte-11zapuq"><!></div>'), rm = /* @__PURE__ */ I('<div class="rcb-header-wrapper svelte-11zapuq"><!> <div class="rcb-header svelte-11zapuq"><div class="rcb-title svelte-11zapuq"><!> <!></div></div> <!></div>');
@@ -11310,7 +11310,7 @@ const tm = {
11310
11310
  }`
11311
11311
  };
11312
11312
  function am(e, r) {
11313
- V(r, !0), R(e, tm);
11313
+ H(r, !0), U(e, tm);
11314
11314
  const t = (k) => k == null || k == null || k == "" ? null : k, a = /* @__PURE__ */ E(() => {
11315
11315
  var k;
11316
11316
  return t((k = r.brandingInfo) == null ? void 0 : k.app_icon);
@@ -11336,7 +11336,7 @@ function am(e, r) {
11336
11336
  r.showCloseButton && k(m);
11337
11337
  });
11338
11338
  }
11339
- var f = O(g, 2), h = P(f), v = P(h);
11339
+ var f = C(g, 2), v = P(f), h = P(v);
11340
11340
  {
11341
11341
  var y = (k) => {
11342
11342
  Qg(k, {
@@ -11348,10 +11348,10 @@ function am(e, r) {
11348
11348
  }
11349
11349
  });
11350
11350
  }, x = (k) => {
11351
- var w = ee(), q = Y(w);
11351
+ var w = re(), q = G(w);
11352
11352
  {
11353
- var G = (W) => {
11354
- Wg(W, {
11353
+ var Y = (V) => {
11354
+ Wg(V, {
11355
11355
  get src() {
11356
11356
  return d(s);
11357
11357
  },
@@ -11362,29 +11362,29 @@ function am(e, r) {
11362
11362
  };
11363
11363
  N(
11364
11364
  q,
11365
- (W) => {
11366
- d(s) !== null && d(l) !== null && W(G);
11365
+ (V) => {
11366
+ d(s) !== null && d(l) !== null && V(Y);
11367
11367
  },
11368
11368
  !0
11369
11369
  );
11370
11370
  }
11371
11371
  b(k, w);
11372
11372
  };
11373
- N(v, (k) => {
11373
+ N(h, (k) => {
11374
11374
  d(c) !== null ? k(y) : k(x, !1);
11375
11375
  });
11376
11376
  }
11377
- var T = O(v, 2);
11377
+ var T = C(h, 2);
11378
11378
  {
11379
11379
  var S = (k) => {
11380
11380
  se(k, {
11381
11381
  size: "body-base",
11382
11382
  children: (w, q) => {
11383
- var G = ie();
11383
+ var Y = ie();
11384
11384
  A(() => {
11385
- var W;
11386
- return te(G, (W = r.brandingInfo) == null ? void 0 : W.app_name);
11387
- }), b(w, G);
11385
+ var V;
11386
+ return ae(Y, (V = r.brandingInfo) == null ? void 0 : V.app_name);
11387
+ }), b(w, Y);
11388
11388
  },
11389
11389
  $$slots: { default: !0 }
11390
11390
  });
@@ -11393,23 +11393,23 @@ function am(e, r) {
11393
11393
  d(c) === null && k(S);
11394
11394
  });
11395
11395
  }
11396
- var z = O(f, 2);
11396
+ var z = C(f, 2);
11397
11397
  {
11398
- var C = (k) => {
11398
+ var B = (k) => {
11399
11399
  var w = em(), q = P(w);
11400
11400
  Hi(q, { $$events: { click: u } }), b(k, w);
11401
11401
  };
11402
11402
  N(z, (k) => {
11403
- r.showCloseButton && k(C);
11403
+ r.showCloseButton && k(B);
11404
11404
  });
11405
11405
  }
11406
- A(() => fr(_, "rcb-with-close-button", r.showCloseButton)), b(e, _), H();
11406
+ A(() => fr(_, "rcb-with-close-button", r.showCloseButton)), b(e, _), W();
11407
11407
  }
11408
11408
  var nm = /* @__PURE__ */ I("<!> <!> <!> <!>", 1);
11409
11409
  function om(e, r) {
11410
- V(r, !0);
11411
- const t = U(r, "onClose", 3, void 0);
11412
- let a = X(B(r.defaultPriceBreakdown ?? {
11410
+ H(r, !0);
11411
+ const t = R(r, "onClose", 3, void 0);
11412
+ let a = X(L(r.defaultPriceBreakdown ?? {
11413
11413
  currency: r.productDetails.currentPrice.currency,
11414
11414
  totalAmountInMicros: r.productDetails.currentPrice.amountMicros,
11415
11415
  totalExcludingTaxInMicros: r.productDetails.currentPrice.amountMicros,
@@ -11418,7 +11418,7 @@ function om(e, r) {
11418
11418
  taxBreakdown: null
11419
11419
  }));
11420
11420
  const n = (o) => {
11421
- D(a, B(o));
11421
+ D(a, L(o));
11422
11422
  };
11423
11423
  Bg(e, {
11424
11424
  get brandingInfo() {
@@ -11468,7 +11468,7 @@ function om(e, r) {
11468
11468
  });
11469
11469
  },
11470
11470
  mainContent: (l) => {
11471
- var c = nm(), p = Y(c);
11471
+ var c = nm(), p = G(c);
11472
11472
  {
11473
11473
  var u = (y) => {
11474
11474
  L_(y);
@@ -11477,7 +11477,7 @@ function om(e, r) {
11477
11477
  r.currentPage === "payment-entry-loading" && y(u);
11478
11478
  });
11479
11479
  }
11480
- var _ = O(p, 2);
11480
+ var _ = C(p, 2);
11481
11481
  {
11482
11482
  var g = (y) => {
11483
11483
  a_(y, {
@@ -11518,7 +11518,7 @@ function om(e, r) {
11518
11518
  r.currentPage === "payment-entry" && y(g);
11519
11519
  });
11520
11520
  }
11521
- var m = O(_, 2);
11521
+ var m = C(_, 2);
11522
11522
  {
11523
11523
  var f = (y) => {
11524
11524
  var x = /* @__PURE__ */ E(() => {
@@ -11550,17 +11550,17 @@ function om(e, r) {
11550
11550
  r.currentPage === "error" && y(f);
11551
11551
  });
11552
11552
  }
11553
- var h = O(m, 2);
11553
+ var v = C(m, 2);
11554
11554
  {
11555
- var v = (y) => {
11555
+ var h = (y) => {
11556
11556
  O_(y, {
11557
11557
  get onContinue() {
11558
11558
  return r.onContinue;
11559
11559
  }
11560
11560
  });
11561
11561
  };
11562
- N(h, (y) => {
11563
- r.currentPage === "success" && y(v);
11562
+ N(v, (y) => {
11563
+ r.currentPage === "success" && y(h);
11564
11564
  });
11565
11565
  }
11566
11566
  b(l, c);
@@ -11570,7 +11570,7 @@ function om(e, r) {
11570
11570
  navbarBodyContent: !0,
11571
11571
  mainContent: !0
11572
11572
  }
11573
- }), H();
11573
+ }), W();
11574
11574
  }
11575
11575
  function im(e) {
11576
11576
  return e.trim() === "" ? "You need to provide your email address to continue." : e.match(/^[^@]+@[^@]+\.[^@]+$/) ? null : "Email is not valid. Please provide a valid email address.";
@@ -11578,89 +11578,89 @@ function im(e) {
11578
11578
  function sm(e) {
11579
11579
  if (e && !e.match(/^[A-Z]{3}$/)) {
11580
11580
  const r = `Currency code ${e} is not valid. Please provide a valid ISO 4217 currency code.`;
11581
- throw K.errorLog(r), new _e(he.ConfigurationError, r);
11581
+ throw J.errorLog(r), new _e(he.ConfigurationError, r);
11582
11582
  }
11583
11583
  }
11584
11584
  function lm(e, r) {
11585
- var C;
11586
- V(r, !0);
11587
- const t = U(r, "customTranslations", 19, () => ({})), a = r.customerEmail ? im(r.customerEmail) : null;
11588
- let n = X(B(a ? void 0 : r.customerEmail)), o = r.rcPackage.webBillingProduct, i = X(null);
11589
- const s = r.rcPackage.webBillingProduct.identifier ?? null;
11590
- let l = X("payment-entry-loading"), c = X(null), p = X(null), u = X(B({})), _ = X(null), g = X(null), m = X(null), f = X(null), h = new va(t(), r.selectedLocale, r.defaultLocale);
11591
- var v = hi(h);
11592
- Ia(Ne, v), Ia(Pn, (C = r.brandingInfo) == null ? void 0 : C.appearance), We(() => {
11593
- r.isInElement || (D(g, B(document.documentElement.style.height)), D(m, B(document.documentElement.style.overflow)), D(f, B(document.body.style.height)), document.documentElement.style.height = "100%", document.body.style.height = "100%", document.documentElement.style.overflow = "hidden");
11585
+ var k;
11586
+ H(r, !0);
11587
+ const t = R(r, "customTranslations", 19, () => ({})), a = R(r, "skipSuccessPage", 3, !1), n = r.customerEmail ? im(r.customerEmail) : null;
11588
+ let o = X(L(n ? void 0 : r.customerEmail)), i = r.rcPackage.webBillingProduct, s = X(null);
11589
+ const l = r.rcPackage.webBillingProduct.identifier ?? null;
11590
+ let c = X("payment-entry-loading"), p = X(null), u = X(null), _ = X(L({})), g = X(null), m = X(null), f = X(null), v = X(null), h = new va(t(), r.selectedLocale, r.defaultLocale);
11591
+ var y = hi(h);
11592
+ Ia(Ne, y), Ia(Pn, (k = r.brandingInfo) == null ? void 0 : k.appearance), We(() => {
11593
+ r.isInElement || (D(m, L(document.documentElement.style.height)), D(f, L(document.documentElement.style.overflow)), D(v, L(document.body.style.height)), document.documentElement.style.height = "100%", document.body.style.height = "100%", document.documentElement.style.overflow = "hidden");
11594
11594
  }), Nt(() => {
11595
11595
  if (!r.isInElement) {
11596
- const k = (w, q, G) => {
11597
- G === "" ? w.style.removeProperty(q) : w.style.setProperty(q, G);
11596
+ const w = (q, Y, V) => {
11597
+ V === "" ? q.style.removeProperty(Y) : q.style.setProperty(Y, V);
11598
11598
  };
11599
- k(document.documentElement, "height", d(g)), k(document.body, "height", d(f)), k(document.documentElement, "overflow", d(m));
11599
+ w(document.documentElement, "height", d(m)), w(document.body, "height", d(v)), w(document.documentElement, "overflow", d(f));
11600
11600
  }
11601
11601
  }), Ia(xn, r.eventsTracker), We(async () => {
11602
- if (s === null) {
11603
- x(new de(oe.ErrorSettingUpPurchase, "Product ID was not set before purchase."));
11602
+ if (l === null) {
11603
+ T(new de(oe.ErrorSettingUpPurchase, "Product ID was not set before purchase."));
11604
11604
  return;
11605
11605
  }
11606
- r.purchaseOperationHelper.checkoutStart(r.appUserId, s, r.purchaseOption, r.rcPackage.webBillingProduct.presentedOfferingContext, d(n), r.metadata).then((k) => {
11607
- D(i, null), D(l, "payment-entry"), D(u, B(k.gateway_params)), D(_, B(k.management_url));
11608
- }).catch((k) => {
11609
- if (k.errorCode === oe.MissingEmailError)
11610
- return D(n, void 0), r.purchaseOperationHelper.checkoutStart(r.appUserId, s, r.purchaseOption, r.rcPackage.webBillingProduct.presentedOfferingContext, d(n), r.metadata).then((w) => {
11611
- D(i, null), D(l, "payment-entry"), D(u, B(w.gateway_params)), D(_, B(w.management_url));
11612
- }).catch((w) => {
11613
- x(w);
11606
+ r.purchaseOperationHelper.checkoutStart(r.appUserId, l, r.purchaseOption, r.rcPackage.webBillingProduct.presentedOfferingContext, d(o), r.metadata).then((w) => {
11607
+ D(s, null), D(c, "payment-entry"), D(_, L(w.gateway_params)), D(g, L(w.management_url));
11608
+ }).catch((w) => {
11609
+ if (w.errorCode === oe.MissingEmailError)
11610
+ return D(o, void 0), r.purchaseOperationHelper.checkoutStart(r.appUserId, l, r.purchaseOption, r.rcPackage.webBillingProduct.presentedOfferingContext, d(o), r.metadata).then((q) => {
11611
+ D(s, null), D(c, "payment-entry"), D(_, L(q.gateway_params)), D(g, L(q.management_url));
11612
+ }).catch((q) => {
11613
+ T(q);
11614
11614
  });
11615
- x(k);
11615
+ T(w);
11616
11616
  });
11617
11617
  });
11618
- const y = () => {
11619
- if (d(l) === "payment-entry") {
11620
- r.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then((k) => {
11621
- D(l, "success"), D(c, B(k.redemptionInfo)), D(p, B(k.operationSessionId));
11622
- }).catch((k) => {
11623
- x(k);
11618
+ const x = () => {
11619
+ if (d(c) === "payment-entry") {
11620
+ r.purchaseOperationHelper.pollCurrentPurchaseForCompletion().then((w) => {
11621
+ D(p, L(w.redemptionInfo)), D(u, L(w.operationSessionId)), a() ? r.onFinished(d(u), d(p)) : D(c, "success");
11622
+ }).catch((w) => {
11623
+ T(w);
11624
11624
  });
11625
11625
  return;
11626
11626
  }
11627
- if (d(l) === "success" || d(l) === "error") {
11628
- r.onFinished(d(p), d(c));
11627
+ if (d(c) === "success" || d(c) === "error") {
11628
+ r.onFinished(d(u), d(p));
11629
11629
  return;
11630
11630
  }
11631
- D(l, "success");
11632
- }, x = (k) => {
11633
- const w = tp({
11634
- errorCode: k.getErrorCode().toString(),
11635
- errorMessage: k.message
11631
+ D(c, "success");
11632
+ }, T = (w) => {
11633
+ const q = tp({
11634
+ errorCode: w.getErrorCode().toString(),
11635
+ errorMessage: w.message
11636
11636
  });
11637
- r.eventsTracker.trackSDKEvent(w), D(i, B(k)), D(l, "error");
11638
- }, T = () => {
11639
- r.onError(d(i) ?? new de(oe.UnknownError, "Unknown error without state set."));
11637
+ r.eventsTracker.trackSDKEvent(q), D(s, L(w)), D(c, "error");
11638
+ }, S = () => {
11639
+ r.onError(d(s) ?? new de(oe.UnknownError, "Unknown error without state set."));
11640
11640
  };
11641
- var S = /* @__PURE__ */ E(() => r.purchases.isSandbox()), z = /* @__PURE__ */ E(() => d(n) ?? null);
11641
+ var z = /* @__PURE__ */ E(() => r.purchases.isSandbox()), B = /* @__PURE__ */ E(() => d(o) ?? null);
11642
11642
  om(e, {
11643
11643
  get isSandbox() {
11644
- return d(S);
11644
+ return d(z);
11645
11645
  },
11646
11646
  get currentPage() {
11647
- return d(l);
11647
+ return d(c);
11648
11648
  },
11649
11649
  get brandingInfo() {
11650
11650
  return r.brandingInfo;
11651
11651
  },
11652
- productDetails: o,
11652
+ productDetails: i,
11653
11653
  get purchaseOptionToUse() {
11654
11654
  return r.purchaseOption;
11655
11655
  },
11656
11656
  get lastError() {
11657
- return d(i);
11657
+ return d(s);
11658
11658
  },
11659
11659
  get gatewayParams() {
11660
- return d(u);
11660
+ return d(_);
11661
11661
  },
11662
11662
  get managementUrl() {
11663
- return d(_);
11663
+ return d(g);
11664
11664
  },
11665
11665
  get purchaseOperationHelper() {
11666
11666
  return r.purchaseOperationHelper;
@@ -11669,15 +11669,15 @@ function lm(e, r) {
11669
11669
  return r.isInElement;
11670
11670
  },
11671
11671
  get customerEmail() {
11672
- return d(z);
11672
+ return d(B);
11673
11673
  },
11674
- closeWithError: T,
11675
- onContinue: y,
11676
- onError: x,
11674
+ closeWithError: S,
11675
+ onContinue: x,
11676
+ onError: T,
11677
11677
  get onClose() {
11678
11678
  return r.onClose;
11679
11679
  }
11680
- }), H();
11680
+ }), W();
11681
11681
  }
11682
11682
  function Wi(e) {
11683
11683
  return e == null ? !0 : new Date(e) > /* @__PURE__ */ new Date();
@@ -11879,7 +11879,7 @@ function ym(e) {
11879
11879
  }
11880
11880
  return r;
11881
11881
  }
11882
- const Gi = "1.7.0", bm = "https://api.revenuecat.com", hm = "https://e.revenue.cat";
11882
+ const Gi = "1.9.0", bm = "https://api.revenuecat.com", hm = "https://e.revenue.cat";
11883
11883
  var da;
11884
11884
  (function(e) {
11885
11885
  e[e.CONTINUE = 100] = "CONTINUE", e[e.SWITCHING_PROTOCOLS = 101] = "SWITCHING_PROTOCOLS", e[e.PROCESSING = 102] = "PROCESSING", e[e.EARLY_HINTS = 103] = "EARLY_HINTS", e[e.OK = 200] = "OK", e[e.CREATED = 201] = "CREATED", e[e.ACCEPTED = 202] = "ACCEPTED", e[e.NON_AUTHORITATIVE_INFORMATION = 203] = "NON_AUTHORITATIVE_INFORMATION", e[e.NO_CONTENT = 204] = "NO_CONTENT", e[e.RESET_CONTENT = 205] = "RESET_CONTENT", e[e.PARTIAL_CONTENT = 206] = "PARTIAL_CONTENT", e[e.MULTI_STATUS = 207] = "MULTI_STATUS", e[e.MULTIPLE_CHOICES = 300] = "MULTIPLE_CHOICES", e[e.MOVED_PERMANENTLY = 301] = "MOVED_PERMANENTLY", e[e.MOVED_TEMPORARILY = 302] = "MOVED_TEMPORARILY", e[e.SEE_OTHER = 303] = "SEE_OTHER", e[e.NOT_MODIFIED = 304] = "NOT_MODIFIED", e[e.USE_PROXY = 305] = "USE_PROXY", e[e.TEMPORARY_REDIRECT = 307] = "TEMPORARY_REDIRECT", e[e.PERMANENT_REDIRECT = 308] = "PERMANENT_REDIRECT", e[e.BAD_REQUEST = 400] = "BAD_REQUEST", e[e.UNAUTHORIZED = 401] = "UNAUTHORIZED", e[e.PAYMENT_REQUIRED = 402] = "PAYMENT_REQUIRED", e[e.FORBIDDEN = 403] = "FORBIDDEN", e[e.NOT_FOUND = 404] = "NOT_FOUND", e[e.METHOD_NOT_ALLOWED = 405] = "METHOD_NOT_ALLOWED", e[e.NOT_ACCEPTABLE = 406] = "NOT_ACCEPTABLE", e[e.PROXY_AUTHENTICATION_REQUIRED = 407] = "PROXY_AUTHENTICATION_REQUIRED", e[e.REQUEST_TIMEOUT = 408] = "REQUEST_TIMEOUT", e[e.CONFLICT = 409] = "CONFLICT", e[e.GONE = 410] = "GONE", e[e.LENGTH_REQUIRED = 411] = "LENGTH_REQUIRED", e[e.PRECONDITION_FAILED = 412] = "PRECONDITION_FAILED", e[e.REQUEST_TOO_LONG = 413] = "REQUEST_TOO_LONG", e[e.REQUEST_URI_TOO_LONG = 414] = "REQUEST_URI_TOO_LONG", e[e.UNSUPPORTED_MEDIA_TYPE = 415] = "UNSUPPORTED_MEDIA_TYPE", e[e.REQUESTED_RANGE_NOT_SATISFIABLE = 416] = "REQUESTED_RANGE_NOT_SATISFIABLE", e[e.EXPECTATION_FAILED = 417] = "EXPECTATION_FAILED", e[e.IM_A_TEAPOT = 418] = "IM_A_TEAPOT", e[e.INSUFFICIENT_SPACE_ON_RESOURCE = 419] = "INSUFFICIENT_SPACE_ON_RESOURCE", e[e.METHOD_FAILURE = 420] = "METHOD_FAILURE", e[e.MISDIRECTED_REQUEST = 421] = "MISDIRECTED_REQUEST", e[e.UNPROCESSABLE_ENTITY = 422] = "UNPROCESSABLE_ENTITY", e[e.LOCKED = 423] = "LOCKED", e[e.FAILED_DEPENDENCY = 424] = "FAILED_DEPENDENCY", e[e.UPGRADE_REQUIRED = 426] = "UPGRADE_REQUIRED", e[e.PRECONDITION_REQUIRED = 428] = "PRECONDITION_REQUIRED", e[e.TOO_MANY_REQUESTS = 429] = "TOO_MANY_REQUESTS", e[e.REQUEST_HEADER_FIELDS_TOO_LARGE = 431] = "REQUEST_HEADER_FIELDS_TOO_LARGE", e[e.UNAVAILABLE_FOR_LEGAL_REASONS = 451] = "UNAVAILABLE_FOR_LEGAL_REASONS", e[e.INTERNAL_SERVER_ERROR = 500] = "INTERNAL_SERVER_ERROR", e[e.NOT_IMPLEMENTED = 501] = "NOT_IMPLEMENTED", e[e.BAD_GATEWAY = 502] = "BAD_GATEWAY", e[e.SERVICE_UNAVAILABLE = 503] = "SERVICE_UNAVAILABLE", e[e.GATEWAY_TIMEOUT = 504] = "GATEWAY_TIMEOUT", e[e.HTTP_VERSION_NOT_SUPPORTED = 505] = "HTTP_VERSION_NOT_SUPPORTED", e[e.INSUFFICIENT_STORAGE = 507] = "INSUFFICIENT_STORAGE", e[e.NETWORK_AUTHENTICATION_REQUIRED = 511] = "NETWORK_AUTHENTICATION_REQUIRED";
@@ -12319,7 +12319,7 @@ function Om(e, r) {
12319
12319
  s != null && (a[o.identifier] = s);
12320
12320
  });
12321
12321
  const n = e.current_offering_id ? a[e.current_offering_id] ?? null : null;
12322
- return Object.keys(a).length == 0 && K.debugLog(
12322
+ return Object.keys(a).length == 0 && J.debugLog(
12323
12323
  "Empty offerings. Please make sure you've configured offerings correctly in the RevenueCat dashboard and that the products are properly configured."
12324
12324
  ), {
12325
12325
  all: a,
@@ -12331,7 +12331,7 @@ function Bm(e) {
12331
12331
  return e.webBillingProduct.defaultPurchaseOption;
12332
12332
  }
12333
12333
  function Eo(e, r, t, a = !1) {
12334
- return t.translate(L.PaywallVariablesPricePerPeriod, {
12334
+ return t.translate(O.PaywallVariablesPricePerPeriod, {
12335
12335
  formattedPrice: e,
12336
12336
  period: r.base.period ? t.translatePeriod(
12337
12337
  r.base.period.number,
@@ -12413,7 +12413,7 @@ function To({
12413
12413
  break;
12414
12414
  }
12415
12415
  return a.translate(
12416
- L.PaywallVariablesTotalPriceAndPerMonth,
12416
+ O.PaywallVariablesTotalPriceAndPerMonth,
12417
12417
  {
12418
12418
  formattedPrice: a.formatPrice(
12419
12419
  e.amountMicros,
@@ -12514,18 +12514,18 @@ function Wm(e, r, t) {
12514
12514
  }) : void 0;
12515
12515
  const c = a.currentPrice.amountMicros, p = r.webBillingProduct.currentPrice.amountMicros, u = ((p - c) * 100 / p).toFixed(0);
12516
12516
  s.sub_relative_discount = c === p ? "" : t.translate(
12517
- L.PaywallVariablesSubRelativeDiscount,
12517
+ O.PaywallVariablesSubRelativeDiscount,
12518
12518
  {
12519
12519
  discount: u
12520
12520
  }
12521
12521
  );
12522
12522
  }
12523
12523
  return (i === Lr.NonConsumable || i === Lr.Consumable) && o && (s.price = n, s.price_per_period = n, s.price_per_period_full = n, s.total_price_and_per_month = n, s.sub_price_per_month = n, s.sub_duration = t.translate(
12524
- L.PeriodsLifetime
12524
+ O.PeriodsLifetime
12525
12525
  ), s.sub_duration_in_months = t.translate(
12526
- L.PeriodsLifetime
12526
+ O.PeriodsLifetime
12527
12527
  ), s.sub_period = t.translate(
12528
- L.PeriodsLifetime
12528
+ O.PeriodsLifetime
12529
12529
  ), s.sub_price_per_week = void 0, s.sub_relative_discount = void 0, s.price_per_period_full = n, s.total_price_and_per_month_full = n, s.sub_period_length = void 0, s.sub_period_abbreviated = void 0), s;
12530
12530
  }
12531
12531
  const we = [];
@@ -12655,7 +12655,7 @@ class sf {
12655
12655
  }
12656
12656
  tryFlush() {
12657
12657
  if (this.backingOff()) {
12658
- K.debugLog("Backing off, not flushing");
12658
+ J.debugLog("Backing off, not flushing");
12659
12659
  return;
12660
12660
  }
12661
12661
  this.clearTimeout(), this.executeCallbackWithRetries();
@@ -12673,14 +12673,14 @@ class sf {
12673
12673
  }
12674
12674
  backoff() {
12675
12675
  const r = this.currentDelay, t = Math.min(this.currentDelay * 2, this.maxDelay);
12676
- K.debugLog(`Backing next off to ${r}ms delay`), this.clearTimeout(), this.currentDelay = t, this.schedule(r);
12676
+ J.debugLog(`Backing next off to ${r}ms delay`), this.clearTimeout(), this.currentDelay = t, this.schedule(r);
12677
12677
  }
12678
12678
  reset() {
12679
12679
  this.currentDelay !== this.initialDelay && (this.clearTimeout(), this.currentDelay = this.initialDelay);
12680
12680
  }
12681
12681
  async executeCallbackWithRetries() {
12682
12682
  if (this.executingCallback) {
12683
- K.debugLog("Callback already running, rescheduling"), this.schedule();
12683
+ J.debugLog("Callback already running, rescheduling"), this.schedule();
12684
12684
  return;
12685
12685
  }
12686
12686
  this.executingCallback = !0;
@@ -12793,7 +12793,7 @@ class _f {
12793
12793
  }
12794
12794
  trackEvent(r) {
12795
12795
  if (this.isSilent) {
12796
- K.verboseLog("Skipping event tracking, the EventsTracker is silent");
12796
+ J.verboseLog("Skipping event tracking, the EventsTracker is silent");
12797
12797
  return;
12798
12798
  }
12799
12799
  try {
@@ -12806,7 +12806,7 @@ class _f {
12806
12806
  });
12807
12807
  this.eventsQueue.push(t), this.flushManager.tryFlush();
12808
12808
  } catch {
12809
- K.errorLog(`Error while tracking event ${r.eventName}`);
12809
+ J.errorLog(`Error while tracking event ${r.eventName}`);
12810
12810
  }
12811
12811
  }
12812
12812
  dispose() {
@@ -12825,9 +12825,9 @@ class _f {
12825
12825
  this.eventsQueue.splice(0, r.length);
12826
12826
  return;
12827
12827
  } else
12828
- throw K.debugLog("Events failed to flush due to server error"), new Error("Events failed to flush due to server error");
12828
+ throw J.debugLog("Events failed to flush due to server error"), new Error("Events failed to flush due to server error");
12829
12829
  }).catch((t) => {
12830
- throw K.debugLog("Error while flushing events"), t;
12830
+ throw J.debugLog("Error while flushing events"), t;
12831
12831
  });
12832
12832
  }
12833
12833
  }
@@ -12890,7 +12890,7 @@ const be = class be {
12890
12890
  M(this, "purchaseOperationHelper");
12891
12891
  /** @internal */
12892
12892
  M(this, "eventsTracker");
12893
- this._API_KEY = r, this._appUserId = t, this._flags = { ...Ma, ...n }, ua(r) && K.debugLog("Initializing Purchases SDK with sandbox API Key"), this.eventsTracker = new _f({
12893
+ this._API_KEY = r, this._appUserId = t, this._flags = { ...Ma, ...n }, ua(r) && J.debugLog("Initializing Purchases SDK with sandbox API Key"), this.eventsTracker = new _f({
12894
12894
  apiKey: this._API_KEY,
12895
12895
  appUserId: this._appUserId,
12896
12896
  silent: !this._flags.collectAnalyticsEvents,
@@ -12909,7 +12909,7 @@ const be = class be {
12909
12909
  * @param logLevel - LogLevel to set.
12910
12910
  */
12911
12911
  static setLogLevel(r) {
12912
- K.setLogLevel(r);
12912
+ J.setLogLevel(r);
12913
12913
  }
12914
12914
  /**
12915
12915
  * Meant to be used by RevenueCat hybrids SDKS only.
@@ -12939,7 +12939,7 @@ const be = class be {
12939
12939
  return be.instance !== void 0;
12940
12940
  }
12941
12941
  static configure(r, t, a, n) {
12942
- be.instance !== void 0 && K.warnLog(
12942
+ be.instance !== void 0 && J.warnLog(
12943
12943
  "Purchases is already initialized. You normally should only configure Purchases once. Creating and returning new instance."
12944
12944
  );
12945
12945
  let o;
@@ -12986,16 +12986,16 @@ const be = class be {
12986
12986
  */
12987
12987
  async preload() {
12988
12988
  if (this.hasLoadedResources()) {
12989
- K.verboseLog("Purchases resources are loaded. Skipping.");
12989
+ J.verboseLog("Purchases resources are loaded. Skipping.");
12990
12990
  return;
12991
12991
  }
12992
12992
  if (this._loadingResourcesPromise !== null) {
12993
- K.verboseLog("Purchases resources are loading. Waiting."), await this._loadingResourcesPromise;
12993
+ J.verboseLog("Purchases resources are loading. Waiting."), await this._loadingResourcesPromise;
12994
12994
  return;
12995
12995
  }
12996
12996
  return this._loadingResourcesPromise = this.fetchAndCacheBrandingInfo().catch((r) => {
12997
12997
  let t = `${r}`;
12998
- r instanceof _e && (t = `${r.message}. ${r.underlyingErrorMessage ? `Underlying error: ${r.underlyingErrorMessage}` : ""}`), K.errorLog(`Error fetching branding info: ${t}`);
12998
+ r instanceof _e && (t = `${r.message}. ${r.underlyingErrorMessage ? `Underlying error: ${r.underlyingErrorMessage}` : ""}`), J.errorLog(`Error fetching branding info: ${t}`);
12999
12999
  }).finally(() => {
13000
13000
  this._loadingResourcesPromise = null;
13001
13001
  }), this._loadingResourcesPromise;
@@ -13042,7 +13042,7 @@ const be = class be {
13042
13042
  ), l = (g) => {
13043
13043
  var f;
13044
13044
  const m = o.availablePackages.find(
13045
- (h) => h.identifier === g
13045
+ (v) => v.identifier === g
13046
13046
  );
13047
13047
  if (m === void 0)
13048
13048
  throw new Error(`No package found for ${g}`);
@@ -13083,13 +13083,13 @@ const be = class be {
13083
13083
  r.onBack();
13084
13084
  return;
13085
13085
  }
13086
- n.innerHTML = "", K.debugLog("Purchase cancelled by user"), m(new _e(he.UserCancelledError));
13086
+ n.innerHTML = "", J.debugLog("Purchase cancelled by user"), m(new _e(he.UserCancelledError));
13087
13087
  },
13088
13088
  onRestorePurchasesClicked: p,
13089
13089
  onPurchaseClicked: (f) => {
13090
- l(f).then((h) => {
13091
- g(h);
13092
- }).catch((h) => m(h));
13090
+ l(f).then((v) => {
13091
+ g(v);
13092
+ }).catch((v) => m(v));
13093
13093
  },
13094
13094
  onError: (f) => m(f),
13095
13095
  variablesPerPackage: _
@@ -13167,83 +13167,85 @@ const be = class be {
13167
13167
  });
13168
13168
  }
13169
13169
  purchase(r) {
13170
- var x;
13170
+ var T;
13171
13171
  const {
13172
13172
  rcPackage: t,
13173
13173
  purchaseOption: a,
13174
13174
  htmlTarget: n,
13175
13175
  customerEmail: o,
13176
13176
  selectedLocale: i = tt,
13177
- defaultLocale: s = tt
13177
+ defaultLocale: s = tt,
13178
+ skipSuccessPage: l = !1
13178
13179
  } = r;
13179
- let l = n ?? document.getElementById("rcb-ui-root");
13180
- if (l === null) {
13181
- const T = document.createElement("div");
13182
- T.className = "rcb-ui-root", document.body.appendChild(T), l = T;
13180
+ let c = n ?? document.getElementById("rcb-ui-root");
13181
+ if (c === null) {
13182
+ const S = document.createElement("div");
13183
+ S.className = "rcb-ui-root", document.body.appendChild(S), c = S;
13183
13184
  }
13184
- if (l === null)
13185
+ if (c === null)
13185
13186
  throw new Error(
13186
13187
  "Could not generate a mount point for the billing widget"
13187
13188
  );
13188
- const c = l, p = this._appUserId;
13189
- K.debugLog(
13189
+ const p = c, u = this._appUserId;
13190
+ J.debugLog(
13190
13191
  `Presenting purchase form for package ${t.identifier}`
13191
13192
  );
13192
- const u = i || s, _ = a ?? t.webBillingProduct.defaultPurchaseOption, g = np({
13193
- appearance: (x = this._brandingInfo) == null ? void 0 : x.appearance,
13193
+ const _ = i || s, g = a ?? t.webBillingProduct.defaultPurchaseOption, m = np({
13194
+ appearance: (T = this._brandingInfo) == null ? void 0 : T.appearance,
13194
13195
  rcPackage: t,
13195
- purchaseOptionToUse: _,
13196
+ purchaseOptionToUse: g,
13196
13197
  customerEmail: o
13197
13198
  });
13198
- this.eventsTracker.trackSDKEvent(g);
13199
- const f = { ...this._flags.autoCollectUTMAsMetadata ? gf() : {}, ...r.metadata || {} };
13199
+ this.eventsTracker.trackSDKEvent(m);
13200
+ const v = { ...this._flags.autoCollectUTMAsMetadata ? gf() : {}, ...r.metadata || {} };
13200
13201
  let h = null;
13201
- const v = this._brandingInfo;
13202
- v && r.brandingAppearanceOverride && (v.appearance = r.brandingAppearanceOverride);
13203
- const y = n !== void 0;
13204
- return new Promise((T, S) => {
13205
- y || window.history.pushState({ checkoutOpen: !0 }, "");
13206
- const C = this._flags.rcSource && mf.includes(this._flags.rcSource) ? void 0 : () => {
13207
- const q = ip();
13208
- this.eventsTracker.trackSDKEvent(q), window.removeEventListener("popstate", C), h && qa(h), c.innerHTML = "", K.debugLog("Purchase cancelled by user"), S(new _e(he.UserCancelledError));
13202
+ const y = this._brandingInfo;
13203
+ y && r.brandingAppearanceOverride && (y.appearance = r.brandingAppearanceOverride);
13204
+ const x = n !== void 0;
13205
+ return new Promise((S, z) => {
13206
+ x || window.history.pushState({ checkoutOpen: !0 }, "");
13207
+ const k = this._flags.rcSource && mf.includes(this._flags.rcSource) ? void 0 : () => {
13208
+ const Y = ip();
13209
+ this.eventsTracker.trackSDKEvent(Y), window.removeEventListener("popstate", k), h && qa(h), p.innerHTML = "", J.debugLog("Purchase cancelled by user"), z(new _e(he.UserCancelledError));
13209
13210
  };
13210
- !y && C && window.addEventListener("popstate", C), h = ro(lm, {
13211
- target: c,
13211
+ !x && k && window.addEventListener("popstate", k), h = ro(lm, {
13212
+ target: p,
13212
13213
  props: {
13213
- isInElement: y,
13214
- appUserId: p,
13214
+ isInElement: x,
13215
+ appUserId: u,
13215
13216
  rcPackage: t,
13216
- purchaseOption: _,
13217
+ purchaseOption: g,
13217
13218
  customerEmail: o,
13218
- onFinished: async (q, G) => {
13219
- const W = op({
13220
- redemptionInfo: G
13219
+ onFinished: async (Y, V) => {
13220
+ const Q = op({
13221
+ redemptionInfo: V
13221
13222
  });
13222
- this.eventsTracker.trackSDKEvent(W), K.debugLog("Purchase finished"), h && qa(h), c.innerHTML = "";
13223
- const ae = {
13224
- customerInfo: await this._getCustomerInfoForUserId(p),
13225
- redemptionInfo: G,
13226
- operationSessionId: q
13223
+ this.eventsTracker.trackSDKEvent(Q), J.debugLog("Purchase finished"), h && qa(h), p.innerHTML = "";
13224
+ const Z = {
13225
+ customerInfo: await this._getCustomerInfoForUserId(u),
13226
+ redemptionInfo: V,
13227
+ operationSessionId: Y
13227
13228
  };
13228
- T(ae);
13229
+ S(Z);
13229
13230
  },
13230
- onClose: C,
13231
- onError: (q) => {
13232
- var W;
13233
- const G = sp({
13234
- errorCode: (W = q.errorCode) == null ? void 0 : W.toString(),
13235
- errorMessage: q.message
13231
+ onClose: k,
13232
+ onError: (Y) => {
13233
+ var Q;
13234
+ const V = sp({
13235
+ errorCode: (Q = Y.errorCode) == null ? void 0 : Q.toString(),
13236
+ errorMessage: Y.message
13236
13237
  });
13237
- this.eventsTracker.trackSDKEvent(G), h && qa(h), c.innerHTML = "", S(_e.getForPurchasesFlowError(q));
13238
+ this.eventsTracker.trackSDKEvent(V), h && qa(h), p.innerHTML = "", z(_e.getForPurchasesFlowError(Y));
13238
13239
  },
13239
13240
  purchases: this,
13240
13241
  eventsTracker: this.eventsTracker,
13241
13242
  brandingInfo: this._brandingInfo,
13242
13243
  purchaseOperationHelper: this.purchaseOperationHelper,
13243
- selectedLocale: u,
13244
- metadata: f,
13244
+ selectedLocale: _,
13245
+ metadata: v,
13245
13246
  defaultLocale: s,
13246
- customTranslations: r.labelsOverride
13247
+ customTranslations: r.labelsOverride,
13248
+ skipSuccessPage: l
13247
13249
  }
13248
13250
  });
13249
13251
  });
@@ -13291,7 +13293,7 @@ const be = class be {
13291
13293
  const n = [];
13292
13294
  r.forEach((o) => {
13293
13295
  a[o] === void 0 && n.push(o);
13294
- }), n.length > 0 && K.debugLog(
13296
+ }), n.length > 0 && J.debugLog(
13295
13297
  `Could not find product data for product ids:
13296
13298
  ${n.join()}.
13297
13299
  Please check that your product configuration is correct.`
@@ -13313,7 +13315,7 @@ const be = class be {
13313
13315
  * Closes the Purchases instance. You should never have to do this normally.
13314
13316
  */
13315
13317
  close() {
13316
- be.instance === this ? (this.eventsTracker && this.eventsTracker.dispose(), be.instance = void 0) : K.warnLog(
13318
+ be.instance === this ? (this.eventsTracker && this.eventsTracker.dispose(), be.instance = void 0) : J.warnLog(
13317
13319
  "Trying to close a Purchases instance that is not the current instance. Ignoring."
13318
13320
  );
13319
13321
  }