@revenuecat/purchases-js 0.1.3 → 0.2.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.
@@ -4,23 +4,130 @@ var Q = (t, e, r) => (Lt(t, typeof e != "symbol" ? e + "" : e, r), r);
4
4
  function xt(t) {
5
5
  return t != null;
6
6
  }
7
- var Ft = /* @__PURE__ */ ((t) => (t.Unknown = "unknown", t.Custom = "custom", t.Lifetime = "$rc_lifetime", t.Annual = "$rc_annual", t.SixMonth = "$rc_six_month", t.ThreeMonth = "$rc_three_month", t.TwoMonth = "$rc_two_month", t.Monthly = "$rc_monthly", t.Weekly = "$rc_weekly", t))(Ft || {});
8
- const Gt = (t, e) => ({
7
+ var j = /* @__PURE__ */ ((t) => (t[t.Silent = 0] = "Silent", t[t.Error = 1] = "Error", t[t.Warn = 2] = "Warn", t[t.Info = 3] = "Info", t[t.Debug = 4] = "Debug", t[t.Verbose = 5] = "Verbose", t))(j || {});
8
+ class V {
9
+ static setLogLevel(e) {
10
+ this.logLevel = e;
11
+ }
12
+ static log(e, r = this.logLevel) {
13
+ const n = `[Purchases] ${e}`;
14
+ if (!(this.logLevel < r || r === j.Silent))
15
+ switch (r) {
16
+ case j.Error:
17
+ console.error(n);
18
+ break;
19
+ case j.Warn:
20
+ console.warn(n);
21
+ break;
22
+ case j.Info:
23
+ console.info(n);
24
+ break;
25
+ case j.Debug:
26
+ console.debug(n);
27
+ break;
28
+ case j.Verbose:
29
+ console.debug(n);
30
+ break;
31
+ }
32
+ }
33
+ static errorLog(e) {
34
+ this.log(e, j.Error);
35
+ }
36
+ static warnLog(e) {
37
+ this.log(e, j.Warn);
38
+ }
39
+ static infoLog(e) {
40
+ this.log(e, j.Info);
41
+ }
42
+ static debugLog(e) {
43
+ this.log(e, j.Debug);
44
+ }
45
+ static verboseLog(e) {
46
+ this.log(e, j.Verbose);
47
+ }
48
+ }
49
+ Q(V, "logLevel", j.Silent);
50
+ var pe = /* @__PURE__ */ ((t) => (t.Year = "year", t.Month = "month", t.Week = "week", t.Day = "day", t))(pe || {});
51
+ function Ft(t) {
52
+ const e = t.match(/^PT?([0-9]+)([MDYW])$/);
53
+ if (!e || e.length < 3)
54
+ return V.errorLog(`Invalid ISO 8601 duration format: ${t}`), null;
55
+ const r = parseInt(e[1]);
56
+ switch (e[2]) {
57
+ case "Y":
58
+ return {
59
+ number: r,
60
+ unit: "year"
61
+ /* Year */
62
+ };
63
+ case "M":
64
+ return {
65
+ number: r,
66
+ unit: "month"
67
+ /* Month */
68
+ };
69
+ case "W":
70
+ return {
71
+ number: r,
72
+ unit: "week"
73
+ /* Week */
74
+ };
75
+ case "D":
76
+ return {
77
+ number: r,
78
+ unit: "day"
79
+ /* Day */
80
+ };
81
+ default:
82
+ return V.errorLog(`Invalid ISO 8601 unit duration format: ${t}`), null;
83
+ }
84
+ }
85
+ const Ye = (t, e) => {
86
+ const r = t / 100;
87
+ return new Intl.NumberFormat("en-US", {
88
+ style: "currency",
89
+ currency: e
90
+ }).format(r);
91
+ }, Xe = (t) => {
92
+ const e = Ft(t);
93
+ if (!e)
94
+ return "unknown";
95
+ const r = e.number;
96
+ if (r === 1)
97
+ switch (e.unit) {
98
+ case pe.Year:
99
+ return "yearly";
100
+ case pe.Month:
101
+ return "monthly";
102
+ case pe.Week:
103
+ return "weekly";
104
+ case pe.Day:
105
+ return "daily";
106
+ }
107
+ else
108
+ return `every ${r} ${e.unit}s`;
109
+ };
110
+ var Gt = /* @__PURE__ */ ((t) => (t.Unknown = "unknown", t.Custom = "custom", t.Lifetime = "$rc_lifetime", t.Annual = "$rc_annual", t.SixMonth = "$rc_six_month", t.ThreeMonth = "$rc_three_month", t.TwoMonth = "$rc_two_month", t.Monthly = "$rc_monthly", t.Weekly = "$rc_weekly", t))(Gt || {});
111
+ const Yt = (t) => ({
112
+ amount: t.amount,
113
+ currency: t.currency,
114
+ formattedPrice: Ye(t.amount, t.currency)
115
+ }), Ht = (t, e) => ({
9
116
  identifier: t.identifier,
10
117
  displayName: t.title,
11
- currentPrice: t.current_price,
118
+ currentPrice: Yt(t.current_price),
12
119
  normalPeriodDuration: t.normal_period_duration,
13
120
  presentedOfferingIdentifier: e
14
- }), Yt = (t, e, r) => {
121
+ }), Kt = (t, e, r) => {
15
122
  const n = r[e.platform_product_identifier];
16
123
  return n === void 0 ? null : {
17
124
  identifier: e.identifier,
18
- rcBillingProduct: Gt(n, t),
19
- packageType: Ht(e.identifier)
125
+ rcBillingProduct: Ht(n, t),
126
+ packageType: qt(e.identifier)
20
127
  };
21
- }, ze = (t, e) => {
128
+ }, Ze = (t, e) => {
22
129
  const r = t.packages.map(
23
- (i) => Yt(t.identifier, i, e)
130
+ (i) => Kt(t.identifier, i, e)
24
131
  ).filter(xt), n = {};
25
132
  for (const i of r)
26
133
  i != null && (n[i.identifier] = i);
@@ -39,7 +146,7 @@ const Gt = (t, e) => ({
39
146
  weekly: n.$rc_weekly ?? null
40
147
  };
41
148
  };
42
- function Ht(t) {
149
+ function qt(t) {
43
150
  switch (t) {
44
151
  case "$rc_lifetime":
45
152
  return "$rc_lifetime";
@@ -59,9 +166,9 @@ function Ht(t) {
59
166
  return t.startsWith("$rc_") ? "unknown" : "custom";
60
167
  }
61
168
  }
62
- function B() {
169
+ function y() {
63
170
  }
64
- function Kt(t, e) {
171
+ function jt(t, e) {
65
172
  for (const r in e)
66
173
  t[r] = e[r];
67
174
  return (
@@ -72,7 +179,7 @@ function Kt(t, e) {
72
179
  function bt(t) {
73
180
  return t();
74
181
  }
75
- function Xe() {
182
+ function et() {
76
183
  return /* @__PURE__ */ Object.create(null);
77
184
  }
78
185
  function ke(t) {
@@ -84,15 +191,15 @@ function ae(t) {
84
191
  function P(t, e) {
85
192
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
86
193
  }
87
- let ye;
194
+ let Be;
88
195
  function Z(t, e) {
89
- return t === e ? !0 : (ye || (ye = document.createElement("a")), ye.href = e, t === ye.href);
196
+ return t === e ? !0 : (Be || (Be = document.createElement("a")), Be.href = e, t === Be.href);
90
197
  }
91
- function Ze(t) {
198
+ function tt(t) {
92
199
  return t.split(",").map((e) => e.trim().split(" ").filter(Boolean));
93
200
  }
94
- function qt(t, e) {
95
- const r = Ze(t.srcset), n = Ze(e || "");
201
+ function Jt(t, e) {
202
+ const r = tt(t.srcset), n = tt(e || "");
96
203
  return n.length === r.length && n.every(
97
204
  ([i, o], s) => o === r[s][1] && // We need to test both ways because Vite will create an a full URL with
98
205
  // `new URL(asset, import.meta.url).href` for the client when `base: './'`, and the
@@ -102,7 +209,7 @@ function qt(t, e) {
102
209
  (Z(r[s][0], i) || Z(i, r[s][0]))
103
210
  );
104
211
  }
105
- function jt(t) {
212
+ function Vt(t) {
106
213
  return Object.keys(t).length === 0;
107
214
  }
108
215
  function Y(t, e, r, n) {
@@ -112,7 +219,7 @@ function Y(t, e, r, n) {
112
219
  }
113
220
  }
114
221
  function wt(t, e, r, n) {
115
- return t[1] && n ? Kt(r.ctx.slice(), t[1](n(e))) : r.ctx;
222
+ return t[1] && n ? jt(r.ctx.slice(), t[1](n(e))) : r.ctx;
116
223
  }
117
224
  function H(t, e, r, n) {
118
225
  if (t[2] && n) {
@@ -151,13 +258,13 @@ function D(t, e) {
151
258
  t.appendChild(e);
152
259
  }
153
260
  function O(t, e, r) {
154
- const n = Jt(t);
261
+ const n = Wt(t);
155
262
  if (!n.getElementById(e)) {
156
263
  const i = k("style");
157
- i.id = e, i.textContent = r, Vt(n, i);
264
+ i.id = e, i.textContent = r, zt(n, i);
158
265
  }
159
266
  }
160
- function Jt(t) {
267
+ function Wt(t) {
161
268
  if (!t)
162
269
  return document;
163
270
  const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
@@ -167,7 +274,7 @@ function Jt(t) {
167
274
  e
168
275
  ) : t.ownerDocument;
169
276
  }
170
- function Vt(t, e) {
277
+ function zt(t, e) {
171
278
  return D(
172
279
  /** @type {Document} */
173
280
  t.head || t,
@@ -203,35 +310,35 @@ function kt(t) {
203
310
  function _(t, e, r) {
204
311
  r == null ? t.removeAttribute(e) : t.getAttribute(e) !== r && t.setAttribute(e, r);
205
312
  }
206
- const Wt = ["width", "height"];
207
- function zt(t, e) {
313
+ const Xt = ["width", "height"];
314
+ function Zt(t, e) {
208
315
  const r = Object.getOwnPropertyDescriptors(t.__proto__);
209
316
  for (const n in e)
210
- e[n] == null ? t.removeAttribute(n) : n === "style" ? t.style.cssText = e[n] : n === "__value" ? t.value = t[n] = e[n] : r[n] && r[n].set && Wt.indexOf(n) === -1 ? t[n] = e[n] : _(t, n, e[n]);
317
+ e[n] == null ? t.removeAttribute(n) : n === "style" ? t.style.cssText = e[n] : n === "__value" ? t.value = t[n] = e[n] : r[n] && r[n].set && Xt.indexOf(n) === -1 ? t[n] = e[n] : _(t, n, e[n]);
211
318
  }
212
- function Xt(t, e) {
319
+ function en(t, e) {
213
320
  Object.keys(e).forEach((r) => {
214
- Zt(t, r, e[r]);
321
+ tn(t, r, e[r]);
215
322
  });
216
323
  }
217
- function Zt(t, e, r) {
324
+ function tn(t, e, r) {
218
325
  const n = e.toLowerCase();
219
326
  n in t ? t[n] = typeof t[n] == "boolean" && r === "" ? !0 : r : e in t ? t[e] = typeof t[e] == "boolean" && r === "" ? !0 : r : _(t, e, r);
220
327
  }
221
- function en(t) {
222
- return /-/.test(t) ? Xt : zt;
328
+ function nn(t) {
329
+ return /-/.test(t) ? en : Zt;
223
330
  }
224
- function tn(t) {
331
+ function rn(t) {
225
332
  return Array.from(t.childNodes);
226
333
  }
227
334
  function ne(t, e) {
228
335
  e = "" + e, t.data !== e && (t.data = /** @type {string} */
229
336
  e);
230
337
  }
231
- function et(t, e) {
338
+ function nt(t, e) {
232
339
  t.value = e ?? "";
233
340
  }
234
- function nn(t, e, { bubbles: r = !1, cancelable: n = !1 } = {}) {
341
+ function on(t, e, { bubbles: r = !1, cancelable: n = !1 } = {}) {
235
342
  return new CustomEvent(t, { detail: e, bubbles: r, cancelable: n });
236
343
  }
237
344
  let be;
@@ -246,12 +353,12 @@ function Re() {
246
353
  function Se(t) {
247
354
  Re().$$.on_mount.push(t);
248
355
  }
249
- function rn() {
356
+ function sn() {
250
357
  const t = Re();
251
358
  return (e, r, { cancelable: n = !1 } = {}) => {
252
359
  const i = t.$$.callbacks[e];
253
360
  if (i) {
254
- const o = nn(
361
+ const o = on(
255
362
  /** @type {string} */
256
363
  e,
257
364
  r,
@@ -264,10 +371,10 @@ function rn() {
264
371
  return !0;
265
372
  };
266
373
  }
267
- function on(t, e) {
374
+ function ln(t, e) {
268
375
  return Re().$$.context.set(t, e), e;
269
376
  }
270
- function sn(t) {
377
+ function cn(t) {
271
378
  return Re().$$.context.get(t);
272
379
  }
273
380
  function $t(t, e) {
@@ -276,16 +383,16 @@ function $t(t, e) {
276
383
  }
277
384
  const le = [], Ne = [];
278
385
  let ce = [];
279
- const Ye = [], ln = /* @__PURE__ */ Promise.resolve();
280
- let He = !1;
281
- function cn() {
282
- He || (He = !0, ln.then(vt));
386
+ const He = [], an = /* @__PURE__ */ Promise.resolve();
387
+ let Ke = !1;
388
+ function un() {
389
+ Ke || (Ke = !0, an.then(vt));
283
390
  }
284
- function Ke(t) {
391
+ function qe(t) {
285
392
  ce.push(t);
286
393
  }
287
- function an(t) {
288
- Ye.push(t);
394
+ function fn(t) {
395
+ He.push(t);
289
396
  }
290
397
  const xe = /* @__PURE__ */ new Set();
291
398
  let oe = 0;
@@ -297,7 +404,7 @@ function vt() {
297
404
  try {
298
405
  for (; oe < le.length; ) {
299
406
  const e = le[oe];
300
- oe++, he(e), un(e.$$);
407
+ oe++, he(e), dn(e.$$);
301
408
  }
302
409
  } catch (e) {
303
410
  throw le.length = 0, oe = 0, e;
@@ -310,18 +417,18 @@ function vt() {
310
417
  }
311
418
  ce.length = 0;
312
419
  } while (le.length);
313
- for (; Ye.length; )
314
- Ye.pop()();
315
- He = !1, xe.clear(), he(t);
420
+ for (; He.length; )
421
+ He.pop()();
422
+ Ke = !1, xe.clear(), he(t);
316
423
  }
317
- function un(t) {
424
+ function dn(t) {
318
425
  if (t.fragment !== null) {
319
426
  t.update(), ke(t.before_update);
320
427
  const e = t.dirty;
321
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(Ke);
428
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(qe);
322
429
  }
323
430
  }
324
- function fn(t) {
431
+ function mn(t) {
325
432
  const e = [], r = [];
326
433
  ce.forEach((n) => t.indexOf(n) === -1 ? e.push(n) : r.push(n)), r.forEach((n) => n()), ce = e;
327
434
  }
@@ -351,7 +458,7 @@ function m(t, e, r, n) {
351
458
  } else
352
459
  n && n();
353
460
  }
354
- function dn(t, e, r) {
461
+ function gn(t, e, r) {
355
462
  const n = t.$$.props[e];
356
463
  n !== void 0 && (t.$$.bound[n] = r, r(t.$$.ctx[n]));
357
464
  }
@@ -360,17 +467,17 @@ function w(t) {
360
467
  }
361
468
  function I(t, e, r) {
362
469
  const { fragment: n, after_update: i } = t.$$;
363
- n && n.m(e, r), Ke(() => {
470
+ n && n.m(e, r), qe(() => {
364
471
  const o = t.$$.on_mount.map(bt).filter(ae);
365
472
  t.$$.on_destroy ? t.$$.on_destroy.push(...o) : ke(o), t.$$.on_mount = [];
366
- }), i.forEach(Ke);
473
+ }), i.forEach(qe);
367
474
  }
368
475
  function b(t, e) {
369
476
  const r = t.$$;
370
- r.fragment !== null && (fn(r.after_update), ke(r.on_destroy), r.fragment && r.fragment.d(e), r.on_destroy = r.fragment = null, r.ctx = []);
477
+ r.fragment !== null && (mn(r.after_update), ke(r.on_destroy), r.fragment && r.fragment.d(e), r.on_destroy = r.fragment = null, r.ctx = []);
371
478
  }
372
- function mn(t, e) {
373
- t.$$.dirty[0] === -1 && (le.push(t), cn(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
479
+ function pn(t, e) {
480
+ t.$$.dirty[0] === -1 && (le.push(t), un(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
374
481
  }
375
482
  function N(t, e, r, n, i, o, s = null, l = [-1]) {
376
483
  const c = be;
@@ -380,9 +487,9 @@ function N(t, e, r, n, i, o, s = null, l = [-1]) {
380
487
  ctx: [],
381
488
  // state
382
489
  props: o,
383
- update: B,
490
+ update: y,
384
491
  not_equal: i,
385
- bound: Xe(),
492
+ bound: et(),
386
493
  // lifecycle
387
494
  on_mount: [],
388
495
  on_destroy: [],
@@ -391,7 +498,7 @@ function N(t, e, r, n, i, o, s = null, l = [-1]) {
391
498
  after_update: [],
392
499
  context: new Map(e.context || (c ? c.$$.context : [])),
393
500
  // everything else
394
- callbacks: Xe(),
501
+ callbacks: et(),
395
502
  dirty: l,
396
503
  skip_bound: !1,
397
504
  root: e.target || c.$$.root
@@ -400,10 +507,10 @@ function N(t, e, r, n, i, o, s = null, l = [-1]) {
400
507
  let f = !1;
401
508
  if (a.ctx = r ? r(t, e.props || {}, (d, E, ...v) => {
402
509
  const A = v.length ? v[0] : E;
403
- return a.ctx && i(a.ctx[d], a.ctx[d] = A) && (!a.skip_bound && a.bound[d] && a.bound[d](A), f && mn(t, d)), E;
510
+ return a.ctx && i(a.ctx[d], a.ctx[d] = A) && (!a.skip_bound && a.bound[d] && a.bound[d](A), f && pn(t, d)), E;
404
511
  }) : [], a.update(), f = !0, ke(a.before_update), a.fragment = n ? n(a.ctx) : !1, e.target) {
405
512
  if (e.hydrate) {
406
- const d = tn(e.target);
513
+ const d = rn(e.target);
407
514
  a.fragment && a.fragment.l(d), d.forEach(g);
408
515
  } else
409
516
  a.fragment && a.fragment.c();
@@ -432,7 +539,7 @@ class U {
432
539
  }
433
540
  /** @returns {void} */
434
541
  $destroy() {
435
- b(this, 1), this.$destroy = B;
542
+ b(this, 1), this.$destroy = y;
436
543
  }
437
544
  /**
438
545
  * @template {Extract<keyof Events, string>} K
@@ -442,7 +549,7 @@ class U {
442
549
  */
443
550
  $on(e, r) {
444
551
  if (!ae(r))
445
- return B;
552
+ return y;
446
553
  const n = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
447
554
  return n.push(r), () => {
448
555
  const i = n.indexOf(r);
@@ -454,12 +561,12 @@ class U {
454
561
  * @returns {void}
455
562
  */
456
563
  $set(e) {
457
- this.$$set && !jt(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
564
+ this.$$set && !Vt(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
458
565
  }
459
566
  }
460
- const gn = "4";
461
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
462
- function pn(t) {
567
+ const _n = "4";
568
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_n);
569
+ function An(t) {
463
570
  O(t, "svelte-1bzqb13", ".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}");
464
571
  }
465
572
  function Fe(t) {
@@ -479,7 +586,7 @@ function Fe(t) {
479
586
  e = k(
480
587
  /*as*/
481
588
  t[0]
482
- ), i && i.c(), en(
589
+ ), i && i.c(), nn(
483
590
  /*as*/
484
591
  t[0]
485
592
  )(e, {
@@ -521,7 +628,7 @@ function Fe(t) {
521
628
  }
522
629
  };
523
630
  }
524
- function _n(t) {
631
+ function hn(t) {
525
632
  let e = (
526
633
  /*as*/
527
634
  t[0]
@@ -558,7 +665,7 @@ function _n(t) {
558
665
  }
559
666
  };
560
667
  }
561
- function An(t, e, r) {
668
+ function En(t, e, r) {
562
669
  let { $$slots: n = {}, $$scope: i } = e, { as: o = "section" } = e;
563
670
  return t.$$set = (s) => {
564
671
  "as" in s && r(0, o = s.as), "$$scope" in s && r(1, i = s.$$scope);
@@ -566,137 +673,34 @@ function An(t, e, r) {
566
673
  }
567
674
  class ue extends U {
568
675
  constructor(e) {
569
- super(), N(this, e, An, _n, P, { as: 0 }, pn);
570
- }
571
- }
572
- var j = /* @__PURE__ */ ((t) => (t[t.Silent = 0] = "Silent", t[t.Error = 1] = "Error", t[t.Warn = 2] = "Warn", t[t.Info = 3] = "Info", t[t.Debug = 4] = "Debug", t[t.Verbose = 5] = "Verbose", t))(j || {});
573
- class V {
574
- static setLogLevel(e) {
575
- this.logLevel = e;
576
- }
577
- static log(e, r = this.logLevel) {
578
- const n = `[Purchases] ${e}`;
579
- if (!(this.logLevel < r || r === j.Silent))
580
- switch (r) {
581
- case j.Error:
582
- console.error(n);
583
- break;
584
- case j.Warn:
585
- console.warn(n);
586
- break;
587
- case j.Info:
588
- console.info(n);
589
- break;
590
- case j.Debug:
591
- console.debug(n);
592
- break;
593
- case j.Verbose:
594
- console.debug(n);
595
- break;
596
- }
597
- }
598
- static errorLog(e) {
599
- this.log(e, j.Error);
600
- }
601
- static warnLog(e) {
602
- this.log(e, j.Warn);
603
- }
604
- static infoLog(e) {
605
- this.log(e, j.Info);
606
- }
607
- static debugLog(e) {
608
- this.log(e, j.Debug);
609
- }
610
- static verboseLog(e) {
611
- this.log(e, j.Verbose);
612
- }
613
- }
614
- Q(V, "logLevel", j.Silent);
615
- var pe = /* @__PURE__ */ ((t) => (t.Year = "year", t.Month = "month", t.Week = "week", t.Day = "day", t))(pe || {});
616
- function hn(t) {
617
- const e = t.match(/^PT?([0-9]+)([MDYW])$/);
618
- if (!e || e.length < 3)
619
- return V.errorLog(`Invalid ISO 8601 duration format: ${t}`), null;
620
- const r = parseInt(e[1]);
621
- switch (e[2]) {
622
- case "Y":
623
- return {
624
- number: r,
625
- unit: "year"
626
- /* Year */
627
- };
628
- case "M":
629
- return {
630
- number: r,
631
- unit: "month"
632
- /* Month */
633
- };
634
- case "W":
635
- return {
636
- number: r,
637
- unit: "week"
638
- /* Week */
639
- };
640
- case "D":
641
- return {
642
- number: r,
643
- unit: "day"
644
- /* Day */
645
- };
646
- default:
647
- return V.errorLog(`Invalid ISO 8601 unit duration format: ${t}`), null;
676
+ super(), N(this, e, En, hn, P, { as: 0 }, An);
648
677
  }
649
678
  }
650
- const tt = (t, e) => {
651
- const r = t / 100;
652
- return new Intl.NumberFormat("en-US", {
653
- style: "currency",
654
- currency: e
655
- }).format(r);
656
- }, nt = (t) => {
657
- const e = hn(t);
658
- if (!e)
659
- return "unknown";
660
- const r = e.number;
661
- if (r === 1)
662
- switch (e.unit) {
663
- case pe.Year:
664
- return "yearly";
665
- case pe.Month:
666
- return "monthly";
667
- case pe.Week:
668
- return "weekly";
669
- case pe.Day:
670
- return "daily";
671
- }
672
- else
673
- return `every ${r} ${e.unit}s`;
674
- };
675
- function En(t) {
679
+ function In(t) {
676
680
  O(t, "svelte-i5dq8q", ".rcb-pricing-info.svelte-i5dq8q{display:flex;flex-direction:column;margin-top:102px;font-weight:500}.rcb-product-price.svelte-i5dq8q{font-size:24px;margin:12px 0px}.rcb-product-details.svelte-i5dq8q{opacity:0.6;list-style-type:disc;list-style-position:inside;margin:0px;padding:0px}@media screen and (max-width: 960px){.rcb-pricing-info.svelte-i5dq8q{margin-top:48px}}");
677
681
  }
678
- function In(t) {
682
+ function bn(t) {
679
683
  let e, r, n = (
680
684
  /*productDetails*/
681
685
  t[0].displayName + ""
682
686
  ), i, o, s, l = (
683
687
  /*productDetails*/
684
688
  t[0].currentPrice.currency + ""
685
- ), c, a = " ", f, d = tt(
689
+ ), c, a = " ", f, d = Ye(
686
690
  /*productDetails*/
687
691
  t[0].currentPrice.amount,
688
692
  /*productDetails*/
689
693
  t[0].currentPrice.currency
690
- ) + "", E, v, A, M, h, y = nt(
694
+ ) + "", E, v, A, M, h, B = Xe(
691
695
  /*productDetails*/
692
696
  t[0].normalPeriodDuration
693
- ) + "", F, $, de, Be, ie;
697
+ ) + "", F, $, de, ye, ie;
694
698
  return {
695
699
  c() {
696
- e = k("div"), r = k("span"), i = R(n), o = T(), s = k("span"), c = R(l), f = R(a), E = R(d), v = T(), A = k("ul"), M = k("li"), h = R("Billed "), F = R(y), $ = T(), de = k("li"), de.textContent = "Continues until canceled", Be = T(), ie = k("li"), ie.textContent = "Cancel anytime", _(s, "class", "rcb-product-price svelte-i5dq8q"), _(A, "class", "rcb-product-details svelte-i5dq8q"), _(e, "class", "rcb-pricing-info svelte-i5dq8q");
700
+ e = k("div"), r = k("span"), i = R(n), o = T(), s = k("span"), c = R(l), f = R(a), E = R(d), v = T(), A = k("ul"), M = k("li"), h = R("Billed "), F = R(B), $ = T(), de = k("li"), de.textContent = "Continues until canceled", ye = T(), ie = k("li"), ie.textContent = "Cancel anytime", _(s, "class", "rcb-product-price svelte-i5dq8q"), _(A, "class", "rcb-product-details svelte-i5dq8q"), _(e, "class", "rcb-pricing-info svelte-i5dq8q");
697
701
  },
698
702
  m(z, W) {
699
- p(z, e, W), D(e, r), D(r, i), D(e, o), D(e, s), D(s, c), D(s, f), D(s, E), D(e, v), D(e, A), D(A, M), D(M, h), D(M, F), D(A, $), D(A, de), D(A, Be), D(A, ie);
703
+ p(z, e, W), D(e, r), D(r, i), D(e, o), D(e, s), D(s, c), D(s, f), D(s, E), D(e, v), D(e, A), D(A, M), D(M, h), D(M, F), D(A, $), D(A, de), D(A, ye), D(A, ie);
700
704
  },
701
705
  p(z, W) {
702
706
  W & /*productDetails*/
@@ -704,27 +708,27 @@ function In(t) {
704
708
  z[0].displayName + "") && ne(i, n), W & /*productDetails*/
705
709
  1 && l !== (l = /*productDetails*/
706
710
  z[0].currentPrice.currency + "") && ne(c, l), W & /*productDetails*/
707
- 1 && d !== (d = tt(
711
+ 1 && d !== (d = Ye(
708
712
  /*productDetails*/
709
713
  z[0].currentPrice.amount,
710
714
  /*productDetails*/
711
715
  z[0].currentPrice.currency
712
716
  ) + "") && ne(E, d), W & /*productDetails*/
713
- 1 && y !== (y = nt(
717
+ 1 && B !== (B = Xe(
714
718
  /*productDetails*/
715
719
  z[0].normalPeriodDuration
716
- ) + "") && ne(F, y);
720
+ ) + "") && ne(F, B);
717
721
  },
718
722
  d(z) {
719
723
  z && g(e);
720
724
  }
721
725
  };
722
726
  }
723
- function bn(t) {
727
+ function wn(t) {
724
728
  let e, r;
725
729
  return e = new ue({
726
730
  props: {
727
- $$slots: { default: [In] },
731
+ $$slots: { default: [bn] },
728
732
  $$scope: { ctx: t }
729
733
  }
730
734
  }), {
@@ -750,53 +754,53 @@ function bn(t) {
750
754
  }
751
755
  };
752
756
  }
753
- function wn(t, e, r) {
757
+ function kn(t, e, r) {
754
758
  let { productDetails: n } = e;
755
759
  return t.$$set = (i) => {
756
760
  "productDetails" in i && r(0, n = i.productDetails);
757
761
  }, [n];
758
762
  }
759
- class Bt extends U {
763
+ class yt extends U {
760
764
  constructor(e) {
761
- super(), N(this, e, wn, bn, P, { productDetails: 0 }, En);
765
+ super(), N(this, e, kn, wn, P, { productDetails: 0 }, In);
762
766
  }
763
767
  }
764
- const kn = "data:image/gif;base64,R0lGODlhMgAyAPcBAAAAAAD/AAMDAwcHBxERERUVFSoqKi0tLTAwMDg4OD09PURERElJSUtLS1BQUFJSUlVVVVdXV1paWl9fX2NjY2ZmZmlpaWxsbG1tbXNzc3t7e39/f4GBgYKCgoSEhIaGhoeHh4iIiIuLi5KSkpSUlJaWlp2dnaGhoaOjo6SkpKWlpaenp6ioqKqqqqurq6ysrLCwsLGxsbS0tLa2tri4uLm5ub29vb6+vsDAwMHBwcLCwsXFxcjIyMnJyc3Nzc7OztPT09TU1NXV1dfX19nZ2dra2tvb29zc3N7e3uDg4OHh4eLi4uPj4+fn5+np6ezs7O7u7vDw8PHx8fLy8vPz8/X19fb29vj4+Pn5+fz8/P39/f7+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBAABACwAAAAAMgAyAIcAAAAA/wADAwMHBwcREREVFRUqKiotLS0wMDA4ODg9PT1ERERJSUlLS0tQUFBSUlJVVVVXV1daWlpfX19jY2NmZmZpaWlsbGxtbW1zc3N7e3t/f3+BgYGCgoKEhISGhoaHh4eIiIiLi4uSkpKUlJSWlpadnZ2hoaGjo6OkpKSlpaWnp6eoqKiqqqqrq6usrKywsLCxsbG0tLS2tra4uLi5ubm9vb2+vr7AwMDBwcHCwsLFxcXIyMjJycnNzc3Ozs7T09PU1NTV1dXX19fZ2dna2trb29vc3Nze3t7g4ODh4eHi4uLj4+Pn5+fp6ens7Ozu7u7w8PDx8fHy8vLz8/P19fX29vb4+Pj5+fn8/Pz9/f3+/v7///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8I/wCzcBFIcKDBgggPKkzIcCEXLlq4bIEokeLEiBcrYrTIcaNHjRobinQ4sqRCkBlTdtR44MBKlR9TmjQJQMBMkgZfdpwSMSYAACgpRtHpcSYSFUIa1mz448UQnAWDfmzSooUVmD9XVnnBwglMlDdvvMjhcOlCHit23CSqcUrVJiizpnTC4sXQmB1vZvmxwgYWhWYLznjRA+rJryqvxGhxxGNLjkVcwMCCN6ZeLkNevDCcRYYKJJfZptyCQwdiijl0CDxdlLPryw2lymY9WzTs17ijVq69mzbM28Bd8x7u23bu46F7i16uXEvw5ziJM5duGbl1k9OLN5cKvfvh7OC3b0jxTv6h+PDUy3unzl67RPXXc56fnz4+/PbofcOHnr9/5f3x4UeffvYVqJuACP5m4IIJ+gfWgusN6KCCAN7WoITVVXjchBxqERAAIfkEBQQAAQAsDQADACAAEAAACKcAAwgcSDDAAwcFEypcSNDAAYYQA2DZstCAAYZOKCqM8uNJxYcKa3DYsVB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AzhpaIDhFYY+NOBY6HAhkyETFRLZ0CGKQgMVDV4RAoQKQxMdUpx8aJAJECYQnWzYcMQgSoNVgAy5CHGGhhI+aRIkMgRnxCohNvQoiLDgEyFDskQUuINDiK1Hfpgc+ETKQi0nVGxNkkSrwCw/hiBxu7XuFidAhARpgqWu3yxIhgApEtLvVipIgARBYthvlKaNFQYEADs=";
765
- function $n(t) {
768
+ const $n = "data:image/gif;base64,R0lGODlhMgAyAPcBAAAAAAD/AAMDAwcHBxERERUVFSoqKi0tLTAwMDg4OD09PURERElJSUtLS1BQUFJSUlVVVVdXV1paWl9fX2NjY2ZmZmlpaWxsbG1tbXNzc3t7e39/f4GBgYKCgoSEhIaGhoeHh4iIiIuLi5KSkpSUlJaWlp2dnaGhoaOjo6SkpKWlpaenp6ioqKqqqqurq6ysrLCwsLGxsbS0tLa2tri4uLm5ub29vb6+vsDAwMHBwcLCwsXFxcjIyMnJyc3Nzc7OztPT09TU1NXV1dfX19nZ2dra2tvb29zc3N7e3uDg4OHh4eLi4uPj4+fn5+np6ezs7O7u7vDw8PHx8fLy8vPz8/X19fb29vj4+Pn5+fz8/P39/f7+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBAABACwAAAAAMgAyAIcAAAAA/wADAwMHBwcREREVFRUqKiotLS0wMDA4ODg9PT1ERERJSUlLS0tQUFBSUlJVVVVXV1daWlpfX19jY2NmZmZpaWlsbGxtbW1zc3N7e3t/f3+BgYGCgoKEhISGhoaHh4eIiIiLi4uSkpKUlJSWlpadnZ2hoaGjo6OkpKSlpaWnp6eoqKiqqqqrq6usrKywsLCxsbG0tLS2tra4uLi5ubm9vb2+vr7AwMDBwcHCwsLFxcXIyMjJycnNzc3Ozs7T09PU1NTV1dXX19fZ2dna2trb29vc3Nze3t7g4ODh4eHi4uLj4+Pn5+fp6ens7Ozu7u7w8PDx8fHy8vLz8/P19fX29vb4+Pj5+fn8/Pz9/f3+/v7///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8I/wCzcBFIcKDBgggPKkzIcCEXLlq4bIEokeLEiBcrYrTIcaNHjRobinQ4sqRCkBlTdtR44MBKlR9TmjQJQMBMkgZfdpwSMSYAACgpRtHpcSYSFUIa1mz448UQnAWDfmzSooUVmD9XVnnBwglMlDdvvMjhcOlCHit23CSqcUrVJiizpnTC4sXQmB1vZvmxwgYWhWYLznjRA+rJryqvxGhxxGNLjkVcwMCCN6ZeLkNevDCcRYYKJJfZptyCQwdiijl0CDxdlLPryw2lymY9WzTs17ijVq69mzbM28Bd8x7u23bu46F7i16uXEvw5ziJM5duGbl1k9OLN5cKvfvh7OC3b0jxTv6h+PDUy3unzl67RPXXc56fnz4+/PbofcOHnr9/5f3x4UeffvYVqJuACP5m4IIJ+gfWgusN6KCCAN7WoITVVXjchBxqERAAIfkEBQQAAQAsDQADACAAEAAACKcAAwgcSDDAAwcFEypcSNDAAYYQA2DZstCAAYZOKCqM8uNJxYcKa3DYsVBKECBYFFpU+MTDhiIMkQxBohJkwRYaUkDEEiQIlYQrCyLZ0MFJRCdAkgC1OZBEBxgRJRIBAqXgwYI8NoCwEjWAkyFDoorQ4KOrQCRLoqbQuZCKR7NdqzD5MaQKXIhZmAwBIqTJ3YVYogQZ8oMJ178Kk/A1YhfxQiRHjBYMCAAh+QQFBQABACwNAAMAIAAQAAAInQADCBxIMECGDAUTKlxI8EEEhhADcGEI4QFDJQy5ZJmo0OFCFBFkLN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Uy4sGGWT4okaXuFyJAfS8JeWQJEyJCsWpkMAUKEyRbJFJXkbOukStuAAAAh+QQFBAABACwDAAMAFwAiAAAItQADCBxIsKDBGjQMKlyo4sXCgUIetmDxMAAJABsWrnD4UAaAAUkUumhRMcACAQ4UNiwpRAAAGwYnlgyAAQACgxtnPiEAoERBhDMDjBBAoCINHw8ZNHjI5EGEDUyCFtSyIoJVE1KkEnwCIsIDCjK0EgSSAQIED2IHYqkxQUTat3Djyp1b0UbDjXdhBqUxcWTfhHQDCx5MuCIXLVy2vOWShTEXsVsOJz6stbHlx1ojI1b8tvHbgAAAIfkEBQQAAQAsAwADABcAFwAACJQAAwgcSLCgwRIkDCpcqIHDwoFHHm7Y8DCACgMJFWroUBGHgQNMFE6sGGDCAQsaHVY8csAAD4MjSX4w8MDgRpIBoCQwsKIgQpwBUBxIULEHkYcUUC580tDEE6AGbXSYKKMKVIJSUnDQIGIHl6sQS0w8AZagjxAsyqpdy7at24pJfgwBMkQukCRQjQQBIgTIXiFGoAYEACH5BAUFAAEALAMAAwAXABcAAAiVAAMIHEiwoMEMGQwqXPggwsKBTLQshPDgYYAaD1owdPjQB4QIThRGgGAxwIYIIBQ2LMlkJBCDFEsGOPEgA5aCK0tKmQChRkGEMgPIiDDhoRYjTR56CPGwiooXN6oENQikhYsWP65MJXglx4sVMoZsJdikRosWOMYSRPJih9q3cOPKnWuRSxa7eO9O3cJFCxe+frdMDQgAIfkEBQUAAQAsBQADACAAEAAACKYAAwgcSLAgwQcODCpcyNDAAYYQAzhpaIDhFYY+NOBY6HAhkyETFRLZ0CGKQgMVDV4RAoQKQxMdUpx8aJAJECYQnWzYcMQgSoNVgAy5CHGGhhI+aRIkMgRnxCohNvQoiLDgEyFDskQUuINDiK1Hfpgc+ETKQi0nVGxNkkSrwCw/hiBxu7XuFidAhARpgqWu3yxIhgApEtLvVipIgARBYthvlKaNFQYEADs=";
769
+ function vn(t) {
766
770
  let e, r;
767
771
  return {
768
772
  c() {
769
- e = k("img"), Z(e.src, r = kn) || _(e, "src", r), _(e, "alt", "spinner");
773
+ e = k("img"), Z(e.src, r = $n) || _(e, "src", r), _(e, "alt", "spinner");
770
774
  },
771
775
  m(n, i) {
772
776
  p(n, e, i);
773
777
  },
774
- p: B,
775
- i: B,
776
- o: B,
778
+ p: y,
779
+ i: y,
780
+ o: y,
777
781
  d(n) {
778
782
  n && g(e);
779
783
  }
780
784
  };
781
785
  }
782
- class vn extends U {
786
+ class yn extends U {
783
787
  constructor(e) {
784
- super(), N(this, e, null, $n, P, {});
788
+ super(), N(this, e, null, vn, P, {});
785
789
  }
786
790
  }
787
791
  function Bn(t) {
788
792
  O(t, "svelte-1mxx341", ".rcb-modal-loader.svelte-1mxx341{width:100%;flex-grow:1;min-height:100%;display:flex;justify-content:center;align-items:center}");
789
793
  }
790
- function yn(t) {
794
+ function Dn(t) {
791
795
  let e, r, n;
792
- return r = new vn({}), {
796
+ return r = new yn({}), {
793
797
  c() {
794
798
  e = k("div"), w(r.$$.fragment), _(e, "class", "rcb-modal-loader svelte-1mxx341");
795
799
  },
796
800
  m(i, o) {
797
801
  p(i, e, o), I(r, e, null), n = !0;
798
802
  },
799
- p: B,
803
+ p: y,
800
804
  i(i) {
801
805
  n || (u(r.$$.fragment, i), n = !0);
802
806
  },
@@ -808,9 +812,9 @@ function yn(t) {
808
812
  }
809
813
  };
810
814
  }
811
- class je extends U {
815
+ class Je extends U {
812
816
  constructor(e) {
813
- super(), N(this, e, null, yn, P, {}, Bn);
817
+ super(), N(this, e, null, Dn, P, {}, Bn);
814
818
  }
815
819
  }
816
820
  var _e = /* @__PURE__ */ ((t) => (t.Started = "started", t.InProgress = "in_progress", t.Succeeded = "succeeded", t.Failed = "failed", t))(_e || {}), Pe = /* @__PURE__ */ ((t) => (t[t.SetupIntentCreationFailed = 1] = "SetupIntentCreationFailed", t[t.PaymentMethodCreationFailed = 2] = "PaymentMethodCreationFailed", t[t.PaymentChargeFailed = 3] = "PaymentChargeFailed", t))(Pe || {}), S = /* @__PURE__ */ ((t) => (t[t.ErrorSettingUpPurchase = 0] = "ErrorSettingUpPurchase", t[t.ErrorChargingPayment = 1] = "ErrorChargingPayment", t[t.UnknownError = 2] = "UnknownError", t[t.NetworkError = 3] = "NetworkError", t[t.StripeError = 4] = "StripeError", t[t.MissingEmailError = 5] = "MissingEmailError", t))(S || {});
@@ -819,7 +823,7 @@ class G extends Error {
819
823
  super(r), this.errorCode = e, this.underlyingErrorMessage = n;
820
824
  }
821
825
  }
822
- class Dn {
826
+ class Cn {
823
827
  constructor(e, r = 10) {
824
828
  Q(this, "operationSessionId", null);
825
829
  Q(this, "backend");
@@ -925,36 +929,36 @@ class Dn {
925
929
  }
926
930
  }
927
931
  }
928
- const Cn = "data:image/svg+xml,%3csvg%20width='124'%20height='124'%20viewBox='0%200%20124%20124'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='62'%20cy='62'%20r='62'%20fill='%23767676'/%3e%3cpath%20d='M87.6668%2041.504L82.4968%2036.334L62.0002%2056.8307L41.5035%2036.334L36.3335%2041.504L56.8302%2062.0006L36.3335%2082.4973L41.5035%2087.6673L62.0002%2067.1706L82.4968%2087.6673L87.6668%2082.4973L67.1702%2062.0006L87.6668%2041.504Z'%20fill='white'/%3e%3c/svg%3e";
929
- function Mn(t) {
932
+ const Mn = "data:image/svg+xml,%3csvg%20width='124'%20height='124'%20viewBox='0%200%20124%20124'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='62'%20cy='62'%20r='62'%20fill='%23767676'/%3e%3cpath%20d='M87.6668%2041.504L82.4968%2036.334L62.0002%2056.8307L41.5035%2036.334L36.3335%2041.504L56.8302%2062.0006L36.3335%2082.4973L41.5035%2087.6673L62.0002%2067.1706L82.4968%2087.6673L87.6668%2082.4973L67.1702%2062.0006L87.6668%2041.504Z'%20fill='white'/%3e%3c/svg%3e";
933
+ function Qn(t) {
930
934
  O(t, "svelte-1609h93", "img.svelte-1609h93{width:124px;height:124px;margin:0 auto}");
931
935
  }
932
- function Qn(t) {
936
+ function Pn(t) {
933
937
  let e, r;
934
938
  return {
935
939
  c() {
936
- e = k("img"), Z(e.src, r = Cn) || _(e, "src", r), _(e, "alt", "icon"), _(e, "class", "rcb-ui-asset-icon svelte-1609h93");
940
+ e = k("img"), Z(e.src, r = Mn) || _(e, "src", r), _(e, "alt", "icon"), _(e, "class", "rcb-ui-asset-icon svelte-1609h93");
937
941
  },
938
942
  m(n, i) {
939
943
  p(n, e, i);
940
944
  },
941
- p: B,
942
- i: B,
943
- o: B,
945
+ p: y,
946
+ i: y,
947
+ o: y,
944
948
  d(n) {
945
949
  n && g(e);
946
950
  }
947
951
  };
948
952
  }
949
- class Pn extends U {
953
+ class Tn extends U {
950
954
  constructor(e) {
951
- super(), N(this, e, null, Qn, P, {}, Mn);
955
+ super(), N(this, e, null, Pn, P, {}, Qn);
952
956
  }
953
957
  }
954
- function Tn(t) {
958
+ function Nn(t) {
955
959
  O(t, "svelte-1rmxk7q", "button.svelte-1rmxk7q{border:none;border-radius:56px;font-size:16px;cursor:pointer;height:56px;color:var(--rc-color-grey-text-dark);background-color:var(--rc-color-grey-ui-dark);display:flex;align-items:center;justify-content:center}button.intent-primary.svelte-1rmxk7q{background-color:var(--rc-color-grey-text-dark);color:var(--rc-color-white);font-size:16px}button.svelte-1rmxk7q:disabled{color:var(--rc-color-grey-text-light)}button.intent-primary.svelte-1rmxk7q:disabled{color:var(--rc-color-grey-text-light)}");
956
960
  }
957
- function Nn(t) {
961
+ function Un(t) {
958
962
  let e, r, n, i, o;
959
963
  const s = (
960
964
  /*#slots*/
@@ -1016,7 +1020,7 @@ function Nn(t) {
1016
1020
  }
1017
1021
  };
1018
1022
  }
1019
- function Un(t, e, r) {
1023
+ function Rn(t, e, r) {
1020
1024
  let { $$slots: n = {}, $$scope: i } = e, { intent: o = "primary" } = e, { disabled: s = !1 } = e;
1021
1025
  function l(c) {
1022
1026
  $t.call(this, t, c);
@@ -1027,13 +1031,13 @@ function Un(t, e, r) {
1027
1031
  }
1028
1032
  class we extends U {
1029
1033
  constructor(e) {
1030
- super(), N(this, e, Un, Nn, P, { intent: 0, disabled: 1 }, Tn);
1034
+ super(), N(this, e, Rn, Un, P, { intent: 0, disabled: 1 }, Nn);
1031
1035
  }
1032
1036
  }
1033
- function Rn(t) {
1037
+ function Sn(t) {
1034
1038
  O(t, "svelte-1f9z0o8", "footer.svelte-1f9z0o8{display:flex;flex-direction:column}");
1035
1039
  }
1036
- function Sn(t) {
1040
+ function On(t) {
1037
1041
  let e, r;
1038
1042
  const n = (
1039
1043
  /*#slots*/
@@ -1084,21 +1088,21 @@ function Sn(t) {
1084
1088
  }
1085
1089
  };
1086
1090
  }
1087
- function On(t, e, r) {
1091
+ function Ln(t, e, r) {
1088
1092
  let { $$slots: n = {}, $$scope: i } = e;
1089
1093
  return t.$$set = (o) => {
1090
1094
  "$$scope" in o && r(0, i = o.$$scope);
1091
1095
  }, [i, n];
1092
1096
  }
1093
- class Je extends U {
1097
+ class Ve extends U {
1094
1098
  constructor(e) {
1095
- super(), N(this, e, On, Sn, P, {}, Rn);
1099
+ super(), N(this, e, Ln, On, P, {}, Sn);
1096
1100
  }
1097
1101
  }
1098
- function Ln(t) {
1102
+ function xn(t) {
1099
1103
  O(t, "svelte-6o8e90", '.column.svelte-6o8e90{display:flex;flex-direction:column;justify-content:flex-start;gap:var(--gap, "8px");flex-grow:1}');
1100
1104
  }
1101
- function xn(t) {
1105
+ function Fn(t) {
1102
1106
  let e, r, n;
1103
1107
  const i = (
1104
1108
  /*#slots*/
@@ -1152,7 +1156,7 @@ function xn(t) {
1152
1156
  }
1153
1157
  };
1154
1158
  }
1155
- function Fn(t, e, r) {
1159
+ function Gn(t, e, r) {
1156
1160
  let { $$slots: n = {}, $$scope: i } = e, { gutter: o = "8px" } = e;
1157
1161
  return t.$$set = (s) => {
1158
1162
  "gutter" in s && r(0, o = s.gutter), "$$scope" in s && r(1, i = s.$$scope);
@@ -1160,18 +1164,18 @@ function Fn(t, e, r) {
1160
1164
  }
1161
1165
  class ve extends U {
1162
1166
  constructor(e) {
1163
- super(), N(this, e, Fn, xn, P, { gutter: 0 }, Ln);
1167
+ super(), N(this, e, Gn, Fn, P, { gutter: 0 }, xn);
1164
1168
  }
1165
1169
  }
1166
- const Gn = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='mdi_close'%3e%3cpath%20id='Vector'%20d='M19%206.41L17.59%205L12%2010.59L6.41%205L5%206.41L10.59%2012L5%2017.59L6.41%2019L12%2013.41L17.59%2019L19%2017.59L13.41%2012L19%206.41Z'%20fill='%23767676'/%3e%3c/g%3e%3c/svg%3e";
1167
- function Yn(t) {
1170
+ const Yn = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='mdi_close'%3e%3cpath%20id='Vector'%20d='M19%206.41L17.59%205L12%2010.59L6.41%205L5%206.41L10.59%2012L5%2017.59L6.41%2019L12%2013.41L17.59%2019L19%2017.59L13.41%2012L19%206.41Z'%20fill='%23767676'/%3e%3c/g%3e%3c/svg%3e";
1171
+ function Hn(t) {
1168
1172
  O(t, "svelte-14xreta", ".close-button.svelte-14xreta{border:none;cursor:pointer;background-color:transparent;padding:0px}");
1169
1173
  }
1170
- function Hn(t) {
1174
+ function Kn(t) {
1171
1175
  let e, r, n, i, o;
1172
1176
  return {
1173
1177
  c() {
1174
- e = k("button"), r = k("img"), Z(r.src, n = Gn) || _(r, "src", n), _(r, "alt", "close"), _(e, "class", "close-button svelte-14xreta"), e.disabled = /*disabled*/
1178
+ e = k("button"), r = k("img"), Z(r.src, n = Yn) || _(r, "src", n), _(r, "alt", "close"), _(e, "class", "close-button svelte-14xreta"), e.disabled = /*disabled*/
1175
1179
  t[0];
1176
1180
  },
1177
1181
  m(s, l) {
@@ -1187,14 +1191,14 @@ function Hn(t) {
1187
1191
  1 && (e.disabled = /*disabled*/
1188
1192
  s[0]);
1189
1193
  },
1190
- i: B,
1191
- o: B,
1194
+ i: y,
1195
+ o: y,
1192
1196
  d(s) {
1193
1197
  s && g(e), i = !1, o();
1194
1198
  }
1195
1199
  };
1196
1200
  }
1197
- function Kn(t, e, r) {
1201
+ function qn(t, e, r) {
1198
1202
  let { disabled: n = !1 } = e;
1199
1203
  function i(o) {
1200
1204
  $t.call(this, t, o);
@@ -1203,15 +1207,15 @@ function Kn(t, e, r) {
1203
1207
  "disabled" in o && r(0, n = o.disabled);
1204
1208
  }, [n, i];
1205
1209
  }
1206
- class qn extends U {
1210
+ class jn extends U {
1207
1211
  constructor(e) {
1208
- super(), N(this, e, Kn, Hn, P, { disabled: 0 }, Yn);
1212
+ super(), N(this, e, qn, Kn, P, { disabled: 0 }, Hn);
1209
1213
  }
1210
1214
  }
1211
- function jn(t) {
1215
+ function Jn(t) {
1212
1216
  O(t, "svelte-44qpq9", ".rcb-app-icon.svelte-44qpq9{width:40px;height:40px;border-radius:12px;box-shadow:0px 1px 10px 0px rgba(0, 0, 0, 0.1);margin-right:16px}.rcb-app-icon-picture-container.svelte-44qpq9{height:40px}.rcb-app-icon.loading.svelte-44qpq9{background-color:gray}");
1213
1217
  }
1214
- function Jn(t) {
1218
+ function Vn(t) {
1215
1219
  let e;
1216
1220
  return {
1217
1221
  c() {
@@ -1220,17 +1224,17 @@ function Jn(t) {
1220
1224
  m(r, n) {
1221
1225
  p(r, e, n);
1222
1226
  },
1223
- p: B,
1227
+ p: y,
1224
1228
  d(r) {
1225
1229
  r && g(e);
1226
1230
  }
1227
1231
  };
1228
1232
  }
1229
- function Vn(t) {
1233
+ function Wn(t) {
1230
1234
  let e, r, n, i, o, s;
1231
1235
  return {
1232
1236
  c() {
1233
- e = k("picture"), r = k("source"), i = T(), o = k("img"), _(r, "type", "image/webp"), qt(r, n = /*srcWebp*/
1237
+ e = k("picture"), r = k("source"), i = T(), o = k("img"), _(r, "type", "image/webp"), Jt(r, n = /*srcWebp*/
1234
1238
  t[1]) || _(r, "srcset", n), _(o, "class", "rcb-app-icon svelte-44qpq9"), Z(o.src, s = /*src*/
1235
1239
  t[0]) || _(o, "src", s), _(o, "alt", "App icon"), _(e, "class", "rcb-app-icon-picture-container svelte-44qpq9");
1236
1240
  },
@@ -1249,12 +1253,12 @@ function Vn(t) {
1249
1253
  }
1250
1254
  };
1251
1255
  }
1252
- function Wn(t) {
1256
+ function zn(t) {
1253
1257
  let e;
1254
1258
  function r(o, s) {
1255
1259
  return (
1256
1260
  /*src*/
1257
- o[0] !== null ? Vn : Jn
1261
+ o[0] !== null ? Wn : Vn
1258
1262
  );
1259
1263
  }
1260
1264
  let n = r(t), i = n(t);
@@ -1268,38 +1272,38 @@ function Wn(t) {
1268
1272
  p(o, [s]) {
1269
1273
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(e.parentNode, e)));
1270
1274
  },
1271
- i: B,
1272
- o: B,
1275
+ i: y,
1276
+ o: y,
1273
1277
  d(o) {
1274
1278
  o && g(e), i.d(o);
1275
1279
  }
1276
1280
  };
1277
1281
  }
1278
- function zn(t, e, r) {
1282
+ function Xn(t, e, r) {
1279
1283
  let { src: n = null } = e, { srcWebp: i = null } = e;
1280
1284
  return t.$$set = (o) => {
1281
1285
  "src" in o && r(0, n = o.src), "srcWebp" in o && r(1, i = o.srcWebp);
1282
1286
  }, [n, i];
1283
1287
  }
1284
- class yt extends U {
1288
+ class Bt extends U {
1285
1289
  constructor(e) {
1286
- super(), N(this, e, zn, Wn, P, { src: 0, srcWebp: 1 }, jn);
1290
+ super(), N(this, e, Xn, zn, P, { src: 0, srcWebp: 1 }, Jn);
1287
1291
  }
1288
1292
  }
1289
1293
  const De = (t) => `https://da08ctfrofx1b.cloudfront.net/${t}`;
1290
- function Xn(t) {
1294
+ function Zn(t) {
1291
1295
  O(t, "svelte-10uf5fq", ".app-title.svelte-10uf5fq{font-weight:500;margin:8px 0;font-size:16px}.rcb-header-layout__business-info.svelte-10uf5fq{display:flex;align-items:center}");
1292
1296
  }
1293
- function Zn(t) {
1297
+ function er(t) {
1294
1298
  let e, r;
1295
- return e = new yt({}), {
1299
+ return e = new Bt({}), {
1296
1300
  c() {
1297
1301
  w(e.$$.fragment);
1298
1302
  },
1299
1303
  m(n, i) {
1300
1304
  I(e, n, i), r = !0;
1301
1305
  },
1302
- p: B,
1306
+ p: y,
1303
1307
  i(n) {
1304
1308
  r || (u(e.$$.fragment, n), r = !0);
1305
1309
  },
@@ -1311,7 +1315,7 @@ function Zn(t) {
1311
1315
  }
1312
1316
  };
1313
1317
  }
1314
- function er(t) {
1318
+ function tr(t) {
1315
1319
  let e, r, n = (
1316
1320
  /*brandingInfo*/
1317
1321
  t[0].seller_company_name + ""
@@ -1350,7 +1354,7 @@ function er(t) {
1350
1354
  }
1351
1355
  function rt(t) {
1352
1356
  let e, r;
1353
- return e = new yt({
1357
+ return e = new Bt({
1354
1358
  props: {
1355
1359
  src: De(
1356
1360
  /*brandingInfo*/
@@ -1391,9 +1395,9 @@ function rt(t) {
1391
1395
  }
1392
1396
  };
1393
1397
  }
1394
- function tr(t) {
1398
+ function nr(t) {
1395
1399
  let e, r, n, i;
1396
- const o = [er, Zn], s = [];
1400
+ const o = [tr, er], s = [];
1397
1401
  function l(c, a) {
1398
1402
  return (
1399
1403
  /*brandingInfo*/
@@ -1424,7 +1428,7 @@ function tr(t) {
1424
1428
  }
1425
1429
  };
1426
1430
  }
1427
- function nr(t, e, r) {
1431
+ function rr(t, e, r) {
1428
1432
  let { brandingInfo: n = null } = e;
1429
1433
  return t.$$set = (i) => {
1430
1434
  "brandingInfo" in i && r(0, n = i.brandingInfo);
@@ -1432,20 +1436,20 @@ function nr(t, e, r) {
1432
1436
  }
1433
1437
  class Dt extends U {
1434
1438
  constructor(e) {
1435
- super(), N(this, e, nr, tr, P, { brandingInfo: 0 }, Xn);
1439
+ super(), N(this, e, rr, nr, P, { brandingInfo: 0 }, Zn);
1436
1440
  }
1437
1441
  }
1438
- function rr(t) {
1442
+ function ir(t) {
1439
1443
  O(t, "svelte-17puakv", ".rcb-post-purchase-header-layout.svelte-17puakv{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:-4px}");
1440
1444
  }
1441
- function ir(t) {
1445
+ function or(t) {
1442
1446
  let e, r, n, i, o;
1443
1447
  return r = new Dt({
1444
1448
  props: { brandingInfo: (
1445
1449
  /*brandingInfo*/
1446
1450
  t[0]
1447
1451
  ) }
1448
- }), i = new qn({}), i.$on("click", function() {
1452
+ }), i = new jn({}), i.$on("click", function() {
1449
1453
  ae(
1450
1454
  /*onClose*/
1451
1455
  t[1]
@@ -1475,12 +1479,12 @@ function ir(t) {
1475
1479
  }
1476
1480
  };
1477
1481
  }
1478
- function or(t) {
1482
+ function sr(t) {
1479
1483
  let e, r;
1480
1484
  return e = new ue({
1481
1485
  props: {
1482
1486
  as: "header",
1483
- $$slots: { default: [ir] },
1487
+ $$slots: { default: [or] },
1484
1488
  $$scope: { ctx: t }
1485
1489
  }
1486
1490
  }), {
@@ -1506,22 +1510,22 @@ function or(t) {
1506
1510
  }
1507
1511
  };
1508
1512
  }
1509
- function sr(t, e, r) {
1513
+ function lr(t, e, r) {
1510
1514
  let { brandingInfo: n = null } = e, { onClose: i } = e;
1511
1515
  return t.$$set = (o) => {
1512
1516
  "brandingInfo" in o && r(0, n = o.brandingInfo), "onClose" in o && r(1, i = o.onClose);
1513
1517
  }, [n, i];
1514
1518
  }
1515
- class lr extends U {
1519
+ class cr extends U {
1516
1520
  constructor(e) {
1517
- super(), N(this, e, sr, or, P, { brandingInfo: 0, onClose: 1 }, rr);
1521
+ super(), N(this, e, lr, sr, P, { brandingInfo: 0, onClose: 1 }, ir);
1518
1522
  }
1519
1523
  }
1520
- function cr(t) {
1524
+ function ar(t) {
1521
1525
  O(t, "svelte-10pcqja", ".rcb-modal-message.svelte-10pcqja{width:100%;min-height:160px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center}.title.svelte-10pcqja{font-size:24px;line-height:1.25em}.subtitle.svelte-10pcqja{font-size:16px;line-height:1.25em;overflow-wrap:anywhere}");
1522
1526
  }
1523
- const ar = (t) => ({}), it = (t) => ({});
1524
- function ur(t) {
1527
+ const ur = (t) => ({}), it = (t) => ({});
1528
+ function fr(t) {
1525
1529
  let e, r, n, i, o;
1526
1530
  const s = (
1527
1531
  /*#slots*/
@@ -1580,7 +1584,7 @@ function ur(t) {
1580
1584
  }
1581
1585
  };
1582
1586
  }
1583
- function fr(t) {
1587
+ function dr(t) {
1584
1588
  let e, r, n;
1585
1589
  const i = (
1586
1590
  /*#slots*/
@@ -1595,7 +1599,7 @@ function fr(t) {
1595
1599
  return r = new ve({
1596
1600
  props: {
1597
1601
  gutter: "16px",
1598
- $$slots: { default: [ur] },
1602
+ $$slots: { default: [fr] },
1599
1603
  $$scope: { ctx: t }
1600
1604
  }
1601
1605
  }), {
@@ -1618,7 +1622,7 @@ function fr(t) {
1618
1622
  /*$$scope*/
1619
1623
  s[5],
1620
1624
  l,
1621
- ar
1625
+ ur
1622
1626
  ) : q(
1623
1627
  /*$$scope*/
1624
1628
  s[5]
@@ -1640,12 +1644,12 @@ function fr(t) {
1640
1644
  }
1641
1645
  };
1642
1646
  }
1643
- function dr(t) {
1647
+ function mr(t) {
1644
1648
  let e, r, n;
1645
1649
  return r = new ve({
1646
1650
  props: {
1647
1651
  gutter: "16px",
1648
- $$slots: { default: [fr] },
1652
+ $$slots: { default: [dr] },
1649
1653
  $$scope: { ctx: t }
1650
1654
  }
1651
1655
  }), {
@@ -1682,7 +1686,7 @@ function dr(t) {
1682
1686
  }
1683
1687
  };
1684
1688
  }
1685
- function mr(t) {
1689
+ function gr(t) {
1686
1690
  let e;
1687
1691
  return {
1688
1692
  c() {
@@ -1696,11 +1700,11 @@ function mr(t) {
1696
1700
  }
1697
1701
  };
1698
1702
  }
1699
- function gr(t) {
1703
+ function pr(t) {
1700
1704
  let e, r;
1701
1705
  return e = new we({
1702
1706
  props: {
1703
- $$slots: { default: [mr] },
1707
+ $$slots: { default: [gr] },
1704
1708
  $$scope: { ctx: t }
1705
1709
  }
1706
1710
  }), e.$on("click", function() {
@@ -1732,9 +1736,9 @@ function gr(t) {
1732
1736
  }
1733
1737
  };
1734
1738
  }
1735
- function pr(t) {
1739
+ function _r(t) {
1736
1740
  let e, r, n, i, o, s;
1737
- return e = new lr({
1741
+ return e = new cr({
1738
1742
  props: {
1739
1743
  brandingInfo: (
1740
1744
  /*brandingInfo*/
@@ -1747,12 +1751,12 @@ function pr(t) {
1747
1751
  }
1748
1752
  }), n = new ue({
1749
1753
  props: {
1750
- $$slots: { default: [dr] },
1754
+ $$slots: { default: [mr] },
1751
1755
  $$scope: { ctx: t }
1752
1756
  }
1753
- }), o = new Je({
1757
+ }), o = new Ve({
1754
1758
  props: {
1755
- $$slots: { default: [gr] },
1759
+ $$slots: { default: [pr] },
1756
1760
  $$scope: { ctx: t }
1757
1761
  }
1758
1762
  }), {
@@ -1787,12 +1791,12 @@ function pr(t) {
1787
1791
  }
1788
1792
  };
1789
1793
  }
1790
- function _r(t) {
1794
+ function Ar(t) {
1791
1795
  let e, r;
1792
1796
  return e = new ve({
1793
1797
  props: {
1794
1798
  gutter: "32px",
1795
- $$slots: { default: [pr] },
1799
+ $$slots: { default: [_r] },
1796
1800
  $$scope: { ctx: t }
1797
1801
  }
1798
1802
  }), {
@@ -1818,7 +1822,7 @@ function _r(t) {
1818
1822
  }
1819
1823
  };
1820
1824
  }
1821
- function Ar(t, e, r) {
1825
+ function hr(t, e, r) {
1822
1826
  let { $$slots: n = {}, $$scope: i } = e, { brandingInfo: o = null } = e, { onContinue: s } = e, { title: l } = e, { type: c } = e;
1823
1827
  return t.$$set = (a) => {
1824
1828
  "brandingInfo" in a && r(0, o = a.brandingInfo), "onContinue" in a && r(1, s = a.onContinue), "title" in a && r(2, l = a.title), "type" in a && r(3, c = a.type), "$$scope" in a && r(5, i = a.$$scope);
@@ -1829,8 +1833,8 @@ class Ct extends U {
1829
1833
  super(), N(
1830
1834
  this,
1831
1835
  e,
1836
+ hr,
1832
1837
  Ar,
1833
- _r,
1834
1838
  P,
1835
1839
  {
1836
1840
  brandingInfo: 0,
@@ -1838,7 +1842,7 @@ class Ct extends U {
1838
1842
  title: 2,
1839
1843
  type: 3
1840
1844
  },
1841
- cr
1845
+ ar
1842
1846
  );
1843
1847
  }
1844
1848
  }
@@ -1870,7 +1874,7 @@ function ot(t) {
1870
1874
  }
1871
1875
  };
1872
1876
  }
1873
- function hr(t) {
1877
+ function Er(t) {
1874
1878
  let e = (
1875
1879
  /*getErrorMessage*/
1876
1880
  t[3]() + ""
@@ -1894,16 +1898,16 @@ function hr(t) {
1894
1898
  }
1895
1899
  };
1896
1900
  }
1897
- function Er(t) {
1901
+ function Ir(t) {
1898
1902
  let e, r;
1899
- return e = new Pn({ props: { slot: "icon" } }), {
1903
+ return e = new Tn({ props: { slot: "icon" } }), {
1900
1904
  c() {
1901
1905
  w(e.$$.fragment);
1902
1906
  },
1903
1907
  m(n, i) {
1904
1908
  I(e, n, i), r = !0;
1905
1909
  },
1906
- p: B,
1910
+ p: y,
1907
1911
  i(n) {
1908
1912
  r || (u(e.$$.fragment, n), r = !0);
1909
1913
  },
@@ -1915,7 +1919,7 @@ function Er(t) {
1915
1919
  }
1916
1920
  };
1917
1921
  }
1918
- function Ir(t) {
1922
+ function br(t) {
1919
1923
  let e, r;
1920
1924
  return e = new Ct({
1921
1925
  props: {
@@ -1930,8 +1934,8 @@ function Ir(t) {
1930
1934
  ),
1931
1935
  type: "error",
1932
1936
  $$slots: {
1933
- icon: [Er],
1934
- default: [hr]
1937
+ icon: [Ir],
1938
+ default: [Er]
1935
1939
  },
1936
1940
  $$scope: { ctx: t }
1937
1941
  }
@@ -1962,7 +1966,7 @@ function Ir(t) {
1962
1966
  }
1963
1967
  };
1964
1968
  }
1965
- function br(t, e, r) {
1969
+ function wr(t, e, r) {
1966
1970
  let { brandingInfo: n = null } = e, { lastError: i } = e, { supportEmail: o = null } = e, { onContinue: s } = e;
1967
1971
  Se(() => {
1968
1972
  V.errorLog(`Displayed error: ${S[i.errorCode]}. Message: ${i.message ?? "None"}. Underlying error: ${i.underlyingErrorMessage ?? "None"}`);
@@ -1988,9 +1992,9 @@ function br(t, e, r) {
1988
1992
  "brandingInfo" in c && r(0, n = c.brandingInfo), "lastError" in c && r(4, i = c.lastError), "supportEmail" in c && r(1, o = c.supportEmail), "onContinue" in c && r(2, s = c.onContinue);
1989
1993
  }, [n, o, s, l, i];
1990
1994
  }
1991
- class wr extends U {
1995
+ class kr extends U {
1992
1996
  constructor(e) {
1993
- super(), N(this, e, br, Ir, P, {
1997
+ super(), N(this, e, wr, br, P, {
1994
1998
  brandingInfo: 0,
1995
1999
  lastError: 4,
1996
2000
  supportEmail: 1,
@@ -1998,22 +2002,22 @@ class wr extends U {
1998
2002
  });
1999
2003
  }
2000
2004
  }
2001
- const kr = "data:image/svg+xml,%3csvg%20width='124'%20height='124'%20viewBox='0%200%20124%20124'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='62'%20cy='62'%20r='62'%20fill='%23576CDB'/%3e%3crect%20x='44.1116'%20y='56'%20width='27.5'%20height='11'%20transform='rotate(45%2044.1116%2056)'%20fill='white'/%3e%3crect%20x='79.1133'%20y='44.334'%20width='11'%20height='44'%20transform='rotate(45%2079.1133%2044.334)'%20fill='white'/%3e%3c/svg%3e";
2002
- function $r(t) {
2005
+ const $r = "data:image/svg+xml,%3csvg%20width='124'%20height='124'%20viewBox='0%200%20124%20124'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='62'%20cy='62'%20r='62'%20fill='%23576CDB'/%3e%3crect%20x='44.1116'%20y='56'%20width='27.5'%20height='11'%20transform='rotate(45%2044.1116%2056)'%20fill='white'/%3e%3crect%20x='79.1133'%20y='44.334'%20width='11'%20height='44'%20transform='rotate(45%2079.1133%2044.334)'%20fill='white'/%3e%3c/svg%3e";
2006
+ function vr(t) {
2003
2007
  O(t, "svelte-1609h93", "img.svelte-1609h93{width:124px;height:124px;margin:0 auto}");
2004
2008
  }
2005
- function vr(t) {
2009
+ function yr(t) {
2006
2010
  let e, r;
2007
2011
  return {
2008
2012
  c() {
2009
- e = k("img"), Z(e.src, r = kr) || _(e, "src", r), _(e, "alt", "icon"), _(e, "class", "rcb-ui-asset-icon svelte-1609h93");
2013
+ e = k("img"), Z(e.src, r = $r) || _(e, "src", r), _(e, "alt", "icon"), _(e, "class", "rcb-ui-asset-icon svelte-1609h93");
2010
2014
  },
2011
2015
  m(n, i) {
2012
2016
  p(n, e, i);
2013
2017
  },
2014
- p: B,
2015
- i: B,
2016
- o: B,
2018
+ p: y,
2019
+ i: y,
2020
+ o: y,
2017
2021
  d(n) {
2018
2022
  n && g(e);
2019
2023
  }
@@ -2021,10 +2025,10 @@ function vr(t) {
2021
2025
  }
2022
2026
  class Br extends U {
2023
2027
  constructor(e) {
2024
- super(), N(this, e, null, vr, P, {}, $r);
2028
+ super(), N(this, e, null, yr, P, {}, vr);
2025
2029
  }
2026
2030
  }
2027
- function yr(t) {
2031
+ function Dr(t) {
2028
2032
  let e;
2029
2033
  return {
2030
2034
  c() {
@@ -2038,7 +2042,7 @@ function yr(t) {
2038
2042
  }
2039
2043
  };
2040
2044
  }
2041
- function Dr(t) {
2045
+ function Cr(t) {
2042
2046
  let e, r;
2043
2047
  return e = new Br({ props: { slot: "icon" } }), {
2044
2048
  c() {
@@ -2047,7 +2051,7 @@ function Dr(t) {
2047
2051
  m(n, i) {
2048
2052
  I(e, n, i), r = !0;
2049
2053
  },
2050
- p: B,
2054
+ p: y,
2051
2055
  i(n) {
2052
2056
  r || (u(e.$$.fragment, n), r = !0);
2053
2057
  },
@@ -2059,7 +2063,7 @@ function Dr(t) {
2059
2063
  }
2060
2064
  };
2061
2065
  }
2062
- function Cr(t) {
2066
+ function Mr(t) {
2063
2067
  let e, r;
2064
2068
  return e = new Ct({
2065
2069
  props: {
@@ -2074,8 +2078,8 @@ function Cr(t) {
2074
2078
  t[1]
2075
2079
  ),
2076
2080
  $$slots: {
2077
- icon: [Dr],
2078
- default: [yr]
2081
+ icon: [Cr],
2082
+ default: [Dr]
2079
2083
  },
2080
2084
  $$scope: { ctx: t }
2081
2085
  }
@@ -2106,30 +2110,30 @@ function Cr(t) {
2106
2110
  }
2107
2111
  };
2108
2112
  }
2109
- function Mr(t, e, r) {
2113
+ function Qr(t, e, r) {
2110
2114
  let { brandingInfo: n = null } = e, { onContinue: i } = e;
2111
2115
  return t.$$set = (o) => {
2112
2116
  "brandingInfo" in o && r(0, n = o.brandingInfo), "onContinue" in o && r(1, i = o.onContinue);
2113
2117
  }, [n, i];
2114
2118
  }
2115
- class Qr extends U {
2119
+ class Pr extends U {
2116
2120
  constructor(e) {
2117
- super(), N(this, e, Mr, Cr, P, { brandingInfo: 0, onContinue: 1 });
2121
+ super(), N(this, e, Qr, Mr, P, { brandingInfo: 0, onContinue: 1 });
2118
2122
  }
2119
2123
  }
2120
- function Pr(t, e, r, n, i = {}) {
2124
+ function Tr(t, e, r, n, i = {}) {
2121
2125
  const o = r.create(e, i);
2122
2126
  return o.mount(t), o.on("change", (s) => n("change", s)), o.on("ready", (s) => n("ready", s)), o.on("focus", (s) => n("focus", s)), o.on("blur", (s) => n("blur", s)), o.on("escape", (s) => n("escape", s)), o.on("click", (s) => n("click", s)), o.on("loaderror", (s) => n("loaderror", s)), o.on("loaderstart", (s) => n("loaderstart", s)), o.on("networkschange", (s) => n("networkschange", s)), o;
2123
2127
  }
2124
- const Tr = typeof window > "u";
2125
- function Nr(t) {
2126
- if (!Tr)
2128
+ const Nr = typeof window > "u";
2129
+ function Ur(t) {
2130
+ if (!Nr)
2127
2131
  return t.registerAppInfo({
2128
2132
  name: "svelte-stripe-js",
2129
2133
  url: "https://svelte-stripe-js.vercel.app"
2130
2134
  });
2131
2135
  }
2132
- function Ur(t) {
2136
+ function Rr(t) {
2133
2137
  let e;
2134
2138
  return {
2135
2139
  c() {
@@ -2138,19 +2142,19 @@ function Ur(t) {
2138
2142
  m(r, n) {
2139
2143
  p(r, e, n), t[6](e);
2140
2144
  },
2141
- p: B,
2142
- i: B,
2143
- o: B,
2145
+ p: y,
2146
+ i: y,
2147
+ o: y,
2144
2148
  d(r) {
2145
2149
  r && g(e), t[6](null);
2146
2150
  }
2147
2151
  };
2148
2152
  }
2149
- function Rr(t, e, r) {
2153
+ function Sr(t, e, r) {
2150
2154
  let n, i;
2151
- const o = rn(), { elements: s } = sn("stripe");
2155
+ const o = sn(), { elements: s } = cn("stripe");
2152
2156
  let { options: l = void 0 } = e;
2153
- Se(() => (n = Pr(i, "payment", s, o, l), () => n.destroy()));
2157
+ Se(() => (n = Tr(i, "payment", s, o, l), () => n.destroy()));
2154
2158
  function c() {
2155
2159
  n.blur();
2156
2160
  }
@@ -2172,9 +2176,9 @@ function Rr(t, e, r) {
2172
2176
  "options" in v && r(1, l = v.options);
2173
2177
  }, [i, l, c, a, f, d, E];
2174
2178
  }
2175
- class Sr extends U {
2179
+ class Or extends U {
2176
2180
  constructor(e) {
2177
- super(), N(this, e, Rr, Ur, P, {
2181
+ super(), N(this, e, Sr, Rr, P, {
2178
2182
  options: 1,
2179
2183
  blur: 2,
2180
2184
  clear: 3,
@@ -2246,7 +2250,7 @@ function st(t) {
2246
2250
  }
2247
2251
  };
2248
2252
  }
2249
- function Or(t) {
2253
+ function Lr(t) {
2250
2254
  let e, r, n = (
2251
2255
  /*stripe*/
2252
2256
  t[1] && /*elements*/
@@ -2278,10 +2282,10 @@ function Or(t) {
2278
2282
  }
2279
2283
  };
2280
2284
  }
2281
- function Lr(t, e, r) {
2282
- let n, { $$slots: i = {}, $$scope: o } = e, { stripe: s } = e, { mode: l = void 0 } = e, { theme: c = "stripe" } = e, { variables: a = {} } = e, { rules: f = {} } = e, { labels: d = "above" } = e, { loader: E = "auto" } = e, { fonts: v = [] } = e, { locale: A = "auto" } = e, { currency: M = void 0 } = e, { amount: h = void 0 } = e, { clientSecret: y = void 0 } = e, { elements: F = null } = e;
2285
+ function xr(t, e, r) {
2286
+ let n, { $$slots: i = {}, $$scope: o } = e, { stripe: s } = e, { mode: l = void 0 } = e, { theme: c = "stripe" } = e, { variables: a = {} } = e, { rules: f = {} } = e, { labels: d = "above" } = e, { loader: E = "auto" } = e, { fonts: v = [] } = e, { locale: A = "auto" } = e, { currency: M = void 0 } = e, { amount: h = void 0 } = e, { clientSecret: B = void 0 } = e, { elements: F = null } = e;
2283
2287
  return t.$$set = ($) => {
2284
- "stripe" in $ && r(1, s = $.stripe), "mode" in $ && r(2, l = $.mode), "theme" in $ && r(3, c = $.theme), "variables" in $ && r(4, a = $.variables), "rules" in $ && r(5, f = $.rules), "labels" in $ && r(6, d = $.labels), "loader" in $ && r(7, E = $.loader), "fonts" in $ && r(8, v = $.fonts), "locale" in $ && r(9, A = $.locale), "currency" in $ && r(10, M = $.currency), "amount" in $ && r(11, h = $.amount), "clientSecret" in $ && r(12, y = $.clientSecret), "elements" in $ && r(0, F = $.elements), "$$scope" in $ && r(14, o = $.$$scope);
2288
+ "stripe" in $ && r(1, s = $.stripe), "mode" in $ && r(2, l = $.mode), "theme" in $ && r(3, c = $.theme), "variables" in $ && r(4, a = $.variables), "rules" in $ && r(5, f = $.rules), "labels" in $ && r(6, d = $.labels), "loader" in $ && r(7, E = $.loader), "fonts" in $ && r(8, v = $.fonts), "locale" in $ && r(9, A = $.locale), "currency" in $ && r(10, M = $.currency), "amount" in $ && r(11, h = $.amount), "clientSecret" in $ && r(12, B = $.clientSecret), "elements" in $ && r(0, F = $.elements), "$$scope" in $ && r(14, o = $.$$scope);
2285
2289
  }, t.$$.update = () => {
2286
2290
  t.$$.dirty & /*theme, variables, rules, labels*/
2287
2291
  120 && r(13, n = { theme: c, variables: a, rules: f, labels: d }), t.$$.dirty & /*stripe, elements, mode, currency, amount, appearance, clientSecret, fonts, loader, locale*/
@@ -2290,11 +2294,11 @@ function Lr(t, e, r) {
2290
2294
  currency: M,
2291
2295
  amount: h,
2292
2296
  appearance: n,
2293
- clientSecret: y,
2297
+ clientSecret: B,
2294
2298
  fonts: v,
2295
2299
  loader: E,
2296
2300
  locale: A
2297
- })), Nr(s), on("stripe", { stripe: s, elements: F })), t.$$.dirty & /*elements, appearance, locale*/
2301
+ })), Ur(s), ln("stripe", { stripe: s, elements: F })), t.$$.dirty & /*elements, appearance, locale*/
2298
2302
  8705 && F && F.update({ appearance: n, locale: A });
2299
2303
  }, [
2300
2304
  F,
@@ -2309,15 +2313,15 @@ function Lr(t, e, r) {
2309
2313
  A,
2310
2314
  M,
2311
2315
  h,
2312
- y,
2316
+ B,
2313
2317
  n,
2314
2318
  o,
2315
2319
  i
2316
2320
  ];
2317
2321
  }
2318
- class xr extends U {
2322
+ class Fr extends U {
2319
2323
  constructor(e) {
2320
- super(), N(this, e, Lr, Or, P, {
2324
+ super(), N(this, e, xr, Lr, P, {
2321
2325
  stripe: 1,
2322
2326
  mode: 2,
2323
2327
  theme: 3,
@@ -2334,10 +2338,10 @@ class xr extends U {
2334
2338
  });
2335
2339
  }
2336
2340
  }
2337
- var Mt = "https://js.stripe.com/v3", Fr = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, lt = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used", Gr = function() {
2341
+ var Mt = "https://js.stripe.com/v3", Gr = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, lt = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used", Yr = function() {
2338
2342
  for (var e = document.querySelectorAll('script[src^="'.concat(Mt, '"]')), r = 0; r < e.length; r++) {
2339
2343
  var n = e[r];
2340
- if (Fr.test(n.src))
2344
+ if (Gr.test(n.src))
2341
2345
  return n;
2342
2346
  }
2343
2347
  return null;
@@ -2348,21 +2352,21 @@ var Mt = "https://js.stripe.com/v3", Fr = /^https:\/\/js\.stripe\.com\/v3\/?(\?.
2348
2352
  if (!i)
2349
2353
  throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");
2350
2354
  return i.appendChild(n), n;
2351
- }, Yr = function(e, r) {
2355
+ }, Hr = function(e, r) {
2352
2356
  !e || !e._registerWrapper || e._registerWrapper({
2353
2357
  name: "stripe-js",
2354
2358
  version: "2.4.0",
2355
2359
  startTime: r
2356
2360
  });
2357
- }, me = null, Ce = null, Me = null, Hr = function(e) {
2361
+ }, me = null, Ce = null, Me = null, Kr = function(e) {
2358
2362
  return function() {
2359
2363
  e(new Error("Failed to load Stripe.js"));
2360
2364
  };
2361
- }, Kr = function(e, r) {
2365
+ }, qr = function(e, r) {
2362
2366
  return function() {
2363
2367
  window.Stripe ? e(window.Stripe) : r(new Error("Stripe.js not available"));
2364
2368
  };
2365
- }, qr = function(e) {
2369
+ }, jr = function(e) {
2366
2370
  return me !== null ? me : (me = new Promise(function(r, n) {
2367
2371
  if (typeof window > "u" || typeof document > "u") {
2368
2372
  r(null);
@@ -2373,7 +2377,7 @@ var Mt = "https://js.stripe.com/v3", Fr = /^https:\/\/js\.stripe\.com\/v3\/?(\?.
2373
2377
  return;
2374
2378
  }
2375
2379
  try {
2376
- var i = Gr();
2380
+ var i = Yr();
2377
2381
  if (i && e)
2378
2382
  console.warn(lt);
2379
2383
  else if (!i)
@@ -2382,7 +2386,7 @@ var Mt = "https://js.stripe.com/v3", Fr = /^https:\/\/js\.stripe\.com\/v3\/?(\?.
2382
2386
  var o;
2383
2387
  i.removeEventListener("load", Me), i.removeEventListener("error", Ce), (o = i.parentNode) === null || o === void 0 || o.removeChild(i), i = ct(e);
2384
2388
  }
2385
- Me = Kr(r, n), Ce = Hr(n), i.addEventListener("load", Me), i.addEventListener("error", Ce);
2389
+ Me = qr(r, n), Ce = Kr(n), i.addEventListener("load", Me), i.addEventListener("error", Ce);
2386
2390
  } catch (s) {
2387
2391
  n(s);
2388
2392
  return;
@@ -2390,13 +2394,13 @@ var Mt = "https://js.stripe.com/v3", Fr = /^https:\/\/js\.stripe\.com\/v3\/?(\?.
2390
2394
  }), me.catch(function(r) {
2391
2395
  return me = null, Promise.reject(r);
2392
2396
  }));
2393
- }, jr = function(e, r, n) {
2397
+ }, Jr = function(e, r, n) {
2394
2398
  if (e === null)
2395
2399
  return null;
2396
2400
  var i = e.apply(void 0, r);
2397
- return Yr(i, n), i;
2401
+ return Hr(i, n), i;
2398
2402
  }, ge, Qt = !1, Pt = function() {
2399
- return ge || (ge = qr(null).catch(function(e) {
2403
+ return ge || (ge = jr(null).catch(function(e) {
2400
2404
  return ge = null, Promise.reject(e);
2401
2405
  }), ge);
2402
2406
  };
@@ -2405,19 +2409,19 @@ Promise.resolve().then(function() {
2405
2409
  }).catch(function(t) {
2406
2410
  Qt || console.warn(t);
2407
2411
  });
2408
- var Jr = function() {
2412
+ var Vr = function() {
2409
2413
  for (var e = arguments.length, r = new Array(e), n = 0; n < e; n++)
2410
2414
  r[n] = arguments[n];
2411
2415
  Qt = !0;
2412
2416
  var i = Date.now();
2413
2417
  return Pt().then(function(o) {
2414
- return jr(o, r, i);
2418
+ return Jr(o, r, i);
2415
2419
  });
2416
2420
  };
2417
- function Vr(t) {
2421
+ function Wr(t) {
2418
2422
  O(t, "svelte-1xe711j", ".rcb-header-layout.svelte-1xe711j{display:flex;justify-content:space-between;align-items:center;width:100%;font-size:24px;margin:0;font-weight:500}");
2419
2423
  }
2420
- function Wr(t) {
2424
+ function zr(t) {
2421
2425
  let e, r;
2422
2426
  const n = (
2423
2427
  /*#slots*/
@@ -2468,12 +2472,12 @@ function Wr(t) {
2468
2472
  }
2469
2473
  };
2470
2474
  }
2471
- function zr(t) {
2475
+ function Xr(t) {
2472
2476
  let e, r;
2473
2477
  return e = new ue({
2474
2478
  props: {
2475
2479
  as: "header",
2476
- $$slots: { default: [Wr] },
2480
+ $$slots: { default: [zr] },
2477
2481
  $$scope: { ctx: t }
2478
2482
  }
2479
2483
  }), {
@@ -2499,38 +2503,38 @@ function zr(t) {
2499
2503
  }
2500
2504
  };
2501
2505
  }
2502
- function Xr(t, e, r) {
2506
+ function Zr(t, e, r) {
2503
2507
  let { $$slots: n = {}, $$scope: i } = e;
2504
2508
  return t.$$set = (o) => {
2505
2509
  "$$scope" in o && r(1, i = o.$$scope);
2506
2510
  }, [n, i];
2507
2511
  }
2508
- class Ve extends U {
2512
+ class We extends U {
2509
2513
  constructor(e) {
2510
- super(), N(this, e, Xr, zr, P, {}, Vr);
2514
+ super(), N(this, e, Zr, Xr, P, {}, Wr);
2511
2515
  }
2512
2516
  }
2513
- const Zr = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18%208H17V6C17%203.24%2014.76%201%2012%201C9.24%201%207%203.24%207%206V8H6C4.9%208%204%208.9%204%2010V20C4%2021.1%204.9%2022%206%2022H18C19.1%2022%2020%2021.1%2020%2020V10C20%208.9%2019.1%208%2018%208ZM12%2017C10.9%2017%2010%2016.1%2010%2015C10%2013.9%2010.9%2013%2012%2013C13.1%2013%2014%2013.9%2014%2015C14%2016.1%2013.1%2017%2012%2017ZM15.1%208H8.9V6C8.9%204.29%2010.29%202.9%2012%202.9C13.71%202.9%2015.1%204.29%2015.1%206V8Z'%20fill='%2311D483'/%3e%3c/svg%3e";
2514
- function ei(t) {
2517
+ const ei = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18%208H17V6C17%203.24%2014.76%201%2012%201C9.24%201%207%203.24%207%206V8H6C4.9%208%204%208.9%204%2010V20C4%2021.1%204.9%2022%206%2022H18C19.1%2022%2020%2021.1%2020%2020V10C20%208.9%2019.1%208%2018%208ZM12%2017C10.9%2017%2010%2016.1%2010%2015C10%2013.9%2010.9%2013%2012%2013C13.1%2013%2014%2013.9%2014%2015C14%2016.1%2013.1%2017%2012%2017ZM15.1%208H8.9V6C8.9%204.29%2010.29%202.9%2012%202.9C13.71%202.9%2015.1%204.29%2015.1%206V8Z'%20fill='%2311D483'/%3e%3c/svg%3e";
2518
+ function ti(t) {
2515
2519
  let e, r;
2516
2520
  return {
2517
2521
  c() {
2518
- e = k("img"), Z(e.src, r = Zr) || _(e, "src", r), _(e, "alt", "icon"), _(e, "class", "rcb-ui-asset-icon");
2522
+ e = k("img"), Z(e.src, r = ei) || _(e, "src", r), _(e, "alt", "icon"), _(e, "class", "rcb-ui-asset-icon");
2519
2523
  },
2520
2524
  m(n, i) {
2521
2525
  p(n, e, i);
2522
2526
  },
2523
- p: B,
2524
- i: B,
2525
- o: B,
2527
+ p: y,
2528
+ i: y,
2529
+ o: y,
2526
2530
  d(n) {
2527
2531
  n && g(e);
2528
2532
  }
2529
2533
  };
2530
2534
  }
2531
- class ti extends U {
2535
+ class ni extends U {
2532
2536
  constructor(e) {
2533
- super(), N(this, e, null, ei, P, {});
2537
+ super(), N(this, e, null, ti, P, {});
2534
2538
  }
2535
2539
  }
2536
2540
  const Ae = {
@@ -2542,7 +2546,7 @@ const Ae = {
2542
2546
  "grey-ui-dark": "#dfdfdf",
2543
2547
  white: "#ffffff"
2544
2548
  };
2545
- function ni(t) {
2549
+ function ri(t) {
2546
2550
  O(t, "svelte-rjmul6", `.processing.svelte-rjmul6{width:12px;aspect-ratio:1;border-radius:50%;animation:svelte-rjmul6-l5 1.5s infinite linear}@keyframes svelte-rjmul6-l5{0%{box-shadow:20px 0 #fff2,
2547
2551
  -20px 0 #fff2;background:#fff2}25%{box-shadow:20px 0 #fff2,
2548
2552
  -20px 0 #ffff;background:#fff2}50%{box-shadow:20px 0 #fff2,
@@ -2550,7 +2554,7 @@ function ni(t) {
2550
2554
  -20px 0 #fff2;background:#fff2}100%{box-shadow:20px 0 #fff2,
2551
2555
  -20px 0 #fff2;background:#fff2}}`);
2552
2556
  }
2553
- function ri(t) {
2557
+ function ii(t) {
2554
2558
  let e;
2555
2559
  return {
2556
2560
  c() {
@@ -2559,9 +2563,9 @@ function ri(t) {
2559
2563
  m(r, n) {
2560
2564
  p(r, e, n);
2561
2565
  },
2562
- p: B,
2563
- i: B,
2564
- o: B,
2566
+ p: y,
2567
+ i: y,
2568
+ o: y,
2565
2569
  d(r) {
2566
2570
  r && g(e);
2567
2571
  }
@@ -2569,22 +2573,22 @@ function ri(t) {
2569
2573
  }
2570
2574
  class Tt extends U {
2571
2575
  constructor(e) {
2572
- super(), N(this, e, null, ri, P, {}, ni);
2576
+ super(), N(this, e, null, ii, P, {}, ri);
2573
2577
  }
2574
2578
  }
2575
- function ii(t) {
2579
+ function oi(t) {
2576
2580
  O(t, "svelte-1wxt892", ".rcb-stripe-elements-container.svelte-1wxt892{width:100%;margin-top:32px;margin-bottom:24px}");
2577
2581
  }
2578
- function oi(t) {
2582
+ function si(t) {
2579
2583
  let e, r;
2580
- return e = new je({}), {
2584
+ return e = new Je({}), {
2581
2585
  c() {
2582
2586
  w(e.$$.fragment);
2583
2587
  },
2584
2588
  m(n, i) {
2585
2589
  I(e, n, i), r = !0;
2586
2590
  },
2587
- p: B,
2591
+ p: y,
2588
2592
  i(n) {
2589
2593
  r || (u(e.$$.fragment, n), r = !0);
2590
2594
  },
@@ -2596,7 +2600,7 @@ function oi(t) {
2596
2600
  }
2597
2601
  };
2598
2602
  }
2599
- function si(t) {
2603
+ function li(t) {
2600
2604
  let e, r, n, i, o, s;
2601
2605
  function l(a) {
2602
2606
  t[9](a);
@@ -2637,13 +2641,13 @@ function si(t) {
2637
2641
  },
2638
2642
  ".Input--invalid": { boxShadow: "none" }
2639
2643
  },
2640
- $$slots: { default: [pi] },
2644
+ $$slots: { default: [_i] },
2641
2645
  $$scope: { ctx: t }
2642
2646
  };
2643
2647
  return (
2644
2648
  /*elements*/
2645
2649
  t[2] !== void 0 && (c.elements = /*elements*/
2646
- t[2]), r = new xr({ props: c }), Ne.push(() => dn(r, "elements", l)), {
2650
+ t[2]), r = new Fr({ props: c }), Ne.push(() => gn(r, "elements", l)), {
2647
2651
  c() {
2648
2652
  e = k("form"), w(r.$$.fragment);
2649
2653
  },
@@ -2660,7 +2664,7 @@ function si(t) {
2660
2664
  a[3]), f & /*$$scope, processing, onClose*/
2661
2665
  2051 && (d.$$scope = { dirty: f, ctx: a }), !n && f & /*elements*/
2662
2666
  4 && (n = !0, d.elements = /*elements*/
2663
- a[2], an(() => n = !1)), r.$set(d);
2667
+ a[2], fn(() => n = !1)), r.$set(d);
2664
2668
  },
2665
2669
  i(a) {
2666
2670
  i || (u(r.$$.fragment, a), i = !0);
@@ -2674,16 +2678,16 @@ function si(t) {
2674
2678
  }
2675
2679
  );
2676
2680
  }
2677
- function li(t) {
2681
+ function ci(t) {
2678
2682
  let e, r, n, i;
2679
- return n = new ti({}), {
2683
+ return n = new ni({}), {
2680
2684
  c() {
2681
2685
  e = k("div"), e.textContent = "Secure Checkout", r = T(), w(n.$$.fragment);
2682
2686
  },
2683
2687
  m(o, s) {
2684
2688
  p(o, e, s), p(o, r, s), I(n, o, s), i = !0;
2685
2689
  },
2686
- p: B,
2690
+ p: y,
2687
2691
  i(o) {
2688
2692
  i || (u(n.$$.fragment, o), i = !0);
2689
2693
  },
@@ -2695,16 +2699,16 @@ function li(t) {
2695
2699
  }
2696
2700
  };
2697
2701
  }
2698
- function ci(t) {
2702
+ function ai(t) {
2699
2703
  let e, r, n;
2700
- return r = new Sr({}), {
2704
+ return r = new Or({}), {
2701
2705
  c() {
2702
2706
  e = k("div"), w(r.$$.fragment), _(e, "class", "rcb-stripe-elements-container svelte-1wxt892");
2703
2707
  },
2704
2708
  m(i, o) {
2705
2709
  p(i, e, o), I(r, e, null), n = !0;
2706
2710
  },
2707
- p: B,
2711
+ p: y,
2708
2712
  i(i) {
2709
2713
  n || (u(r.$$.fragment, i), n = !0);
2710
2714
  },
@@ -2716,7 +2720,7 @@ function ci(t) {
2716
2720
  }
2717
2721
  };
2718
2722
  }
2719
- function ai(t) {
2723
+ function ui(t) {
2720
2724
  let e;
2721
2725
  return {
2722
2726
  c() {
@@ -2725,14 +2729,14 @@ function ai(t) {
2725
2729
  m(r, n) {
2726
2730
  p(r, e, n);
2727
2731
  },
2728
- i: B,
2729
- o: B,
2732
+ i: y,
2733
+ o: y,
2730
2734
  d(r) {
2731
2735
  r && g(e);
2732
2736
  }
2733
2737
  };
2734
2738
  }
2735
- function ui(t) {
2739
+ function fi(t) {
2736
2740
  let e, r;
2737
2741
  return e = new Tt({}), {
2738
2742
  c() {
@@ -2752,9 +2756,9 @@ function ui(t) {
2752
2756
  }
2753
2757
  };
2754
2758
  }
2755
- function fi(t) {
2759
+ function di(t) {
2756
2760
  let e, r, n, i;
2757
- const o = [ui, ai], s = [];
2761
+ const o = [fi, ui], s = [];
2758
2762
  function l(c, a) {
2759
2763
  return (
2760
2764
  /*processing*/
@@ -2785,7 +2789,7 @@ function fi(t) {
2785
2789
  }
2786
2790
  };
2787
2791
  }
2788
- function di(t) {
2792
+ function mi(t) {
2789
2793
  let e;
2790
2794
  return {
2791
2795
  c() {
@@ -2799,7 +2803,7 @@ function di(t) {
2799
2803
  }
2800
2804
  };
2801
2805
  }
2802
- function mi(t) {
2806
+ function gi(t) {
2803
2807
  let e, r, n, i;
2804
2808
  return e = new we({
2805
2809
  props: {
@@ -2807,7 +2811,7 @@ function mi(t) {
2807
2811
  /*processing*/
2808
2812
  t[0]
2809
2813
  ),
2810
- $$slots: { default: [fi] },
2814
+ $$slots: { default: [di] },
2811
2815
  $$scope: { ctx: t }
2812
2816
  }
2813
2817
  }), n = new we({
@@ -2817,7 +2821,7 @@ function mi(t) {
2817
2821
  t[0]
2818
2822
  ),
2819
2823
  intent: "secondary",
2820
- $$slots: { default: [di] },
2824
+ $$slots: { default: [mi] },
2821
2825
  $$scope: { ctx: t }
2822
2826
  }
2823
2827
  }), n.$on("click", function() {
@@ -2856,11 +2860,11 @@ function mi(t) {
2856
2860
  }
2857
2861
  };
2858
2862
  }
2859
- function gi(t) {
2863
+ function pi(t) {
2860
2864
  let e, r;
2861
2865
  return e = new ve({
2862
2866
  props: {
2863
- $$slots: { default: [mi] },
2867
+ $$slots: { default: [gi] },
2864
2868
  $$scope: { ctx: t }
2865
2869
  }
2866
2870
  }), {
@@ -2886,21 +2890,21 @@ function gi(t) {
2886
2890
  }
2887
2891
  };
2888
2892
  }
2889
- function pi(t) {
2893
+ function _i(t) {
2890
2894
  let e, r, n, i, o, s;
2891
- return e = new Ve({
2895
+ return e = new We({
2892
2896
  props: {
2893
- $$slots: { default: [li] },
2897
+ $$slots: { default: [ci] },
2894
2898
  $$scope: { ctx: t }
2895
2899
  }
2896
2900
  }), n = new ue({
2897
2901
  props: {
2898
- $$slots: { default: [ci] },
2902
+ $$slots: { default: [ai] },
2899
2903
  $$scope: { ctx: t }
2900
2904
  }
2901
- }), o = new Je({
2905
+ }), o = new Ve({
2902
2906
  props: {
2903
- $$slots: { default: [gi] },
2907
+ $$slots: { default: [pi] },
2904
2908
  $$scope: { ctx: t }
2905
2909
  }
2906
2910
  }), {
@@ -2932,9 +2936,9 @@ function pi(t) {
2932
2936
  }
2933
2937
  };
2934
2938
  }
2935
- function _i(t) {
2939
+ function Ai(t) {
2936
2940
  let e, r, n, i;
2937
- const o = [si, oi], s = [];
2941
+ const o = [li, si], s = [];
2938
2942
  function l(c, a) {
2939
2943
  return (
2940
2944
  /*stripe*/
@@ -2966,7 +2970,7 @@ function _i(t) {
2966
2970
  }
2967
2971
  };
2968
2972
  }
2969
- function Ai(t, e, r) {
2973
+ function hi(t, e, r) {
2970
2974
  let { onClose: n } = e, { onContinue: i } = e, { onError: o } = e, { paymentInfoCollectionMetadata: s } = e, { processing: l = !1 } = e;
2971
2975
  const c = s.data.client_secret;
2972
2976
  let a = null, f, d;
@@ -2974,7 +2978,7 @@ function Ai(t, e, r) {
2974
2978
  const A = s.data.publishable_api_key, M = s.data.stripe_account_id;
2975
2979
  if (!A || !M)
2976
2980
  throw new Error("Stripe publishable key or account ID not found");
2977
- r(3, a = await Jr(A, { stripeAccount: M }));
2981
+ r(3, a = await Vr(A, { stripeAccount: M }));
2978
2982
  });
2979
2983
  const E = async () => {
2980
2984
  if (l || !a || !d)
@@ -3007,13 +3011,13 @@ function Ai(t, e, r) {
3007
3011
  v
3008
3012
  ];
3009
3013
  }
3010
- class hi extends U {
3014
+ class Ei extends U {
3011
3015
  constructor(e) {
3012
3016
  super(), N(
3013
3017
  this,
3014
3018
  e,
3019
+ hi,
3015
3020
  Ai,
3016
- _i,
3017
3021
  P,
3018
3022
  {
3019
3023
  onClose: 1,
@@ -3022,14 +3026,14 @@ class hi extends U {
3022
3026
  paymentInfoCollectionMetadata: 8,
3023
3027
  processing: 0
3024
3028
  },
3025
- ii
3029
+ oi
3026
3030
  );
3027
3031
  }
3028
3032
  }
3029
- function Ei(t) {
3033
+ function Ii(t) {
3030
3034
  O(t, "svelte-favd20", "form.svelte-favd20.svelte-favd20{display:flex;flex-direction:column;min-height:100%;flex-grow:1}.form-container.svelte-favd20.svelte-favd20{display:flex;flex-direction:column;width:100%;margin-top:32px;margin-bottom:16px}.form-label.svelte-favd20.svelte-favd20{margin-top:8px;margin-bottom:8px;display:block;font-weight:500;line-height:22px}.form-input.error.svelte-favd20 input.svelte-favd20{border-color:var(--rc-color-error)}.form-error.svelte-favd20.svelte-favd20{margin-top:4px;font-size:16px;line-height:20px;min-height:40px;color:var(--rc-color-error)}input.svelte-favd20.svelte-favd20{width:100%;box-sizing:border-box;padding:8px;border:2px solid var(--rc-color-grey-ui-dark);border-radius:12px;font-size:16px;height:48px;padding:6px 14px}input.svelte-favd20.svelte-favd20:focus{outline:none;border:2px solid var(--rc-color-focus)}");
3031
3035
  }
3032
- function Ii(t) {
3036
+ function bi(t) {
3033
3037
  let e;
3034
3038
  return {
3035
3039
  c() {
@@ -3068,7 +3072,7 @@ function at(t) {
3068
3072
  }
3069
3073
  };
3070
3074
  }
3071
- function bi(t) {
3075
+ function wi(t) {
3072
3076
  let e, r, n, i, o, s, l, c, a, f = (
3073
3077
  /*error*/
3074
3078
  t[2] && at(t)
@@ -3079,7 +3083,7 @@ function bi(t) {
3079
3083
  t[4] + " svelte-favd20"), _(e, "class", "form-container svelte-favd20");
3080
3084
  },
3081
3085
  m(d, E) {
3082
- p(d, e, E), D(e, r), D(e, n), D(e, i), D(i, o), et(
3086
+ p(d, e, E), D(e, r), D(e, n), D(e, i), D(i, o), nt(
3083
3087
  o,
3084
3088
  /*email*/
3085
3089
  t[3]
@@ -3093,7 +3097,7 @@ function bi(t) {
3093
3097
  p(d, E) {
3094
3098
  E & /*email*/
3095
3099
  8 && o.value !== /*email*/
3096
- d[3] && et(
3100
+ d[3] && nt(
3097
3101
  o,
3098
3102
  /*email*/
3099
3103
  d[3]
@@ -3107,7 +3111,7 @@ function bi(t) {
3107
3111
  }
3108
3112
  };
3109
3113
  }
3110
- function wi(t) {
3114
+ function ki(t) {
3111
3115
  let e;
3112
3116
  return {
3113
3117
  c() {
@@ -3116,14 +3120,14 @@ function wi(t) {
3116
3120
  m(r, n) {
3117
3121
  p(r, e, n);
3118
3122
  },
3119
- i: B,
3120
- o: B,
3123
+ i: y,
3124
+ o: y,
3121
3125
  d(r) {
3122
3126
  r && g(e);
3123
3127
  }
3124
3128
  };
3125
3129
  }
3126
- function ki(t) {
3130
+ function $i(t) {
3127
3131
  let e, r;
3128
3132
  return e = new Tt({}), {
3129
3133
  c() {
@@ -3143,9 +3147,9 @@ function ki(t) {
3143
3147
  }
3144
3148
  };
3145
3149
  }
3146
- function $i(t) {
3150
+ function vi(t) {
3147
3151
  let e, r, n, i;
3148
- const o = [ki, wi], s = [];
3152
+ const o = [$i, ki], s = [];
3149
3153
  function l(c, a) {
3150
3154
  return (
3151
3155
  /*processing*/
@@ -3176,7 +3180,7 @@ function $i(t) {
3176
3180
  }
3177
3181
  };
3178
3182
  }
3179
- function vi(t) {
3183
+ function yi(t) {
3180
3184
  let e;
3181
3185
  return {
3182
3186
  c() {
@@ -3198,7 +3202,7 @@ function Bi(t) {
3198
3202
  /*processing*/
3199
3203
  t[1]
3200
3204
  ),
3201
- $$slots: { default: [$i] },
3205
+ $$slots: { default: [vi] },
3202
3206
  $$scope: { ctx: t }
3203
3207
  }
3204
3208
  }), n = new we({
@@ -3208,7 +3212,7 @@ function Bi(t) {
3208
3212
  /*processing*/
3209
3213
  t[1]
3210
3214
  ),
3211
- $$slots: { default: [vi] },
3215
+ $$slots: { default: [yi] },
3212
3216
  $$scope: { ctx: t }
3213
3217
  }
3214
3218
  }), n.$on("click", function() {
@@ -3247,7 +3251,7 @@ function Bi(t) {
3247
3251
  }
3248
3252
  };
3249
3253
  }
3250
- function yi(t) {
3254
+ function Di(t) {
3251
3255
  let e, r;
3252
3256
  return e = new ve({
3253
3257
  props: {
@@ -3277,21 +3281,21 @@ function yi(t) {
3277
3281
  }
3278
3282
  };
3279
3283
  }
3280
- function Di(t) {
3284
+ function Ci(t) {
3281
3285
  let e, r, n, i, o, s, l, c, a;
3282
- return r = new Ve({
3286
+ return r = new We({
3283
3287
  props: {
3284
- $$slots: { default: [Ii] },
3288
+ $$slots: { default: [bi] },
3285
3289
  $$scope: { ctx: t }
3286
3290
  }
3287
3291
  }), i = new ue({
3288
3292
  props: {
3289
- $$slots: { default: [bi] },
3293
+ $$slots: { default: [wi] },
3290
3294
  $$scope: { ctx: t }
3291
3295
  }
3292
- }), s = new Je({
3296
+ }), s = new Ve({
3293
3297
  props: {
3294
- $$slots: { default: [yi] },
3298
+ $$slots: { default: [Di] },
3295
3299
  $$scope: { ctx: t }
3296
3300
  }
3297
3301
  }), {
@@ -3326,7 +3330,7 @@ function Di(t) {
3326
3330
  }
3327
3331
  };
3328
3332
  }
3329
- function Ci(t, e, r) {
3333
+ function Mi(t, e, r) {
3330
3334
  let n, i, o, { onContinue: s } = e, { onClose: l } = e, { processing: c } = e;
3331
3335
  const a = async () => {
3332
3336
  n.trim() === "" ? r(2, i = "You need to provide your email address to continue.") : s({ email: n });
@@ -3350,15 +3354,15 @@ function Ci(t, e, r) {
3350
3354
  f
3351
3355
  ];
3352
3356
  }
3353
- class Mi extends U {
3357
+ class Qi extends U {
3354
3358
  constructor(e) {
3355
- super(), N(this, e, Ci, Di, P, { onContinue: 6, onClose: 0, processing: 1 }, Ei);
3359
+ super(), N(this, e, Mi, Ci, P, { onContinue: 6, onClose: 0, processing: 1 }, Ii);
3356
3360
  }
3357
3361
  }
3358
- function Qi(t) {
3362
+ function Pi(t) {
3359
3363
  O(t, "svelte-17tslso", ".rcb-modal-backdrop.svelte-17tslso{position:fixed;top:0;left:0;right:0;min-width:100%;width:100vw;width:100dvw;min-height:100%;height:100vh;height:100dvh;background-color:rgba(40, 40, 40, 0.75);display:flex;flex-direction:column;justify-content:space-around;z-index:1000001}");
3360
3364
  }
3361
- function Pi(t) {
3365
+ function Ti(t) {
3362
3366
  let e, r;
3363
3367
  const n = (
3364
3368
  /*#slots*/
@@ -3409,21 +3413,21 @@ function Pi(t) {
3409
3413
  }
3410
3414
  };
3411
3415
  }
3412
- function Ti(t, e, r) {
3416
+ function Ni(t, e, r) {
3413
3417
  let { $$slots: n = {}, $$scope: i } = e;
3414
3418
  return t.$$set = (o) => {
3415
3419
  "$$scope" in o && r(0, i = o.$$scope);
3416
3420
  }, [i, n];
3417
3421
  }
3418
- class Ni extends U {
3422
+ class Ui extends U {
3419
3423
  constructor(e) {
3420
- super(), N(this, e, Ti, Pi, P, {}, Qi);
3424
+ super(), N(this, e, Ni, Ti, P, {}, Pi);
3421
3425
  }
3422
3426
  }
3423
- function Ui(t) {
3427
+ function Ri(t) {
3424
3428
  O(t, "svelte-ioxu5d", ".rcb-modal-container.svelte-ioxu5d{width:100%}.rcb-modal-main.svelte-ioxu5d{box-sizing:border-box;border-radius:8px;background-color:var(--rc-color-white);color:var(--rc-color-grey-text-dark);min-height:460px;padding:40px;flex-direction:column;display:flex}.rcb-modal-dark.svelte-ioxu5d{background-color:var(--rc-color-grey-text-dark);color:var(--rc-color-white);min-height:0px}@media screen and (max-width: 960px){.rcb-modal-container.svelte-ioxu5d{width:calc(100% - 32px);min-width:300px;max-width:640px;margin:auto}.rcb-modal-main.svelte-ioxu5d,.rcb-modal-dark.svelte-ioxu5d{min-width:300px;max-width:640px;padding:32px}}");
3425
3429
  }
3426
- function Ri(t) {
3430
+ function Si(t) {
3427
3431
  let e, r, n, i;
3428
3432
  const o = (
3429
3433
  /*#slots*/
@@ -3477,18 +3481,18 @@ function Ri(t) {
3477
3481
  }
3478
3482
  };
3479
3483
  }
3480
- function Si(t, e, r) {
3484
+ function Oi(t, e, r) {
3481
3485
  let { $$slots: n = {}, $$scope: i } = e, { dark: o = !1 } = e;
3482
3486
  return t.$$set = (s) => {
3483
3487
  "dark" in s && r(0, o = s.dark), "$$scope" in s && r(1, i = s.$$scope);
3484
3488
  }, [o, i, n];
3485
3489
  }
3486
- class Oi extends U {
3490
+ class Li extends U {
3487
3491
  constructor(e) {
3488
- super(), N(this, e, Si, Ri, P, { dark: 0 }, Ui);
3492
+ super(), N(this, e, Oi, Si, P, { dark: 0 }, Ri);
3489
3493
  }
3490
3494
  }
3491
- function Li(t) {
3495
+ function xi(t) {
3492
3496
  let e;
3493
3497
  const r = (
3494
3498
  /*#slots*/
@@ -3539,11 +3543,11 @@ function Li(t) {
3539
3543
  }
3540
3544
  };
3541
3545
  }
3542
- function xi(t) {
3546
+ function Fi(t) {
3543
3547
  let e, r;
3544
- return e = new Ni({
3548
+ return e = new Ui({
3545
3549
  props: {
3546
- $$slots: { default: [Fi] },
3550
+ $$slots: { default: [Gi] },
3547
3551
  $$scope: { ctx: t }
3548
3552
  }
3549
3553
  }), {
@@ -3569,7 +3573,7 @@ function xi(t) {
3569
3573
  }
3570
3574
  };
3571
3575
  }
3572
- function Fi(t) {
3576
+ function Gi(t) {
3573
3577
  let e;
3574
3578
  const r = (
3575
3579
  /*#slots*/
@@ -3620,9 +3624,9 @@ function Fi(t) {
3620
3624
  }
3621
3625
  };
3622
3626
  }
3623
- function Gi(t) {
3627
+ function Yi(t) {
3624
3628
  let e, r, n, i;
3625
- const o = [xi, Li], s = [];
3629
+ const o = [Fi, xi], s = [];
3626
3630
  function l(c, a) {
3627
3631
  return (
3628
3632
  /*condition*/
@@ -3653,19 +3657,19 @@ function Gi(t) {
3653
3657
  }
3654
3658
  };
3655
3659
  }
3656
- function Yi(t, e, r) {
3660
+ function Hi(t, e, r) {
3657
3661
  let { $$slots: n = {}, $$scope: i } = e, { condition: o = !1 } = e;
3658
3662
  return t.$$set = (s) => {
3659
3663
  "condition" in s && r(0, o = s.condition), "$$scope" in s && r(2, i = s.$$scope);
3660
3664
  }, [o, n, i];
3661
3665
  }
3662
- class Hi extends U {
3666
+ class Ki extends U {
3663
3667
  constructor(e) {
3664
- super(), N(this, e, Yi, Gi, P, { condition: 0 });
3668
+ super(), N(this, e, Hi, Yi, P, { condition: 0 });
3665
3669
  }
3666
3670
  }
3667
- const Ki = (t) => ({}), ut = (t) => ({});
3668
- function qi(t) {
3671
+ const qi = (t) => ({}), ut = (t) => ({});
3672
+ function ji(t) {
3669
3673
  let e, r;
3670
3674
  const n = (
3671
3675
  /*#slots*/
@@ -3706,7 +3710,7 @@ function qi(t) {
3706
3710
  /*$$scope*/
3707
3711
  l[2],
3708
3712
  c,
3709
- Ki
3713
+ qi
3710
3714
  ) : q(
3711
3715
  /*$$scope*/
3712
3716
  l[2]
@@ -3743,15 +3747,15 @@ function qi(t) {
3743
3747
  }
3744
3748
  };
3745
3749
  }
3746
- function ji(t) {
3750
+ function Ji(t) {
3747
3751
  let e, r;
3748
- return e = new Oi({
3752
+ return e = new Li({
3749
3753
  props: {
3750
3754
  dark: (
3751
3755
  /*dark*/
3752
3756
  t[0]
3753
3757
  ),
3754
- $$slots: { default: [qi] },
3758
+ $$slots: { default: [ji] },
3755
3759
  $$scope: { ctx: t }
3756
3760
  }
3757
3761
  }), {
@@ -3779,7 +3783,7 @@ function ji(t) {
3779
3783
  }
3780
3784
  };
3781
3785
  }
3782
- function Ji(t, e, r) {
3786
+ function Vi(t, e, r) {
3783
3787
  let { $$slots: n = {}, $$scope: i } = e, { dark: o = !1 } = e;
3784
3788
  return t.$$set = (s) => {
3785
3789
  "dark" in s && r(0, o = s.dark), "$$scope" in s && r(2, i = s.$$scope);
@@ -3787,7 +3791,7 @@ function Ji(t, e, r) {
3787
3791
  }
3788
3792
  class Nt extends U {
3789
3793
  constructor(e) {
3790
- super(), N(this, e, Ji, ji, P, { dark: 0 });
3794
+ super(), N(this, e, Vi, Ji, P, { dark: 0 });
3791
3795
  }
3792
3796
  }
3793
3797
  var te = /* @__PURE__ */ ((t) => (t[t.UnknownError = 0] = "UnknownError", t[t.UserCancelledError = 1] = "UserCancelledError", t[t.StoreProblemError = 2] = "StoreProblemError", t[t.PurchaseNotAllowedError = 3] = "PurchaseNotAllowedError", t[t.PurchaseInvalidError = 4] = "PurchaseInvalidError", t[t.ProductNotAvailableForPurchaseError = 5] = "ProductNotAvailableForPurchaseError", t[t.ProductAlreadyPurchasedError = 6] = "ProductAlreadyPurchasedError", t[t.ReceiptAlreadyInUseError = 7] = "ReceiptAlreadyInUseError", t[t.InvalidReceiptError = 8] = "InvalidReceiptError", t[t.MissingReceiptFileError = 9] = "MissingReceiptFileError", t[t.NetworkError = 10] = "NetworkError", t[t.InvalidCredentialsError = 11] = "InvalidCredentialsError", t[t.UnexpectedBackendResponseError = 12] = "UnexpectedBackendResponseError", t[t.InvalidAppUserIdError = 14] = "InvalidAppUserIdError", t[t.OperationAlreadyInProgressError = 15] = "OperationAlreadyInProgressError", t[t.UnknownBackendError = 16] = "UnknownBackendError", t[t.InvalidAppleSubscriptionKeyError = 17] = "InvalidAppleSubscriptionKeyError", t[t.IneligibleError = 18] = "IneligibleError", t[t.InsufficientPermissionsError = 19] = "InsufficientPermissionsError", t[t.PaymentPendingError = 20] = "PaymentPendingError", t[t.InvalidSubscriberAttributesError = 21] = "InvalidSubscriberAttributesError", t[t.LogOutWithAnonymousUserError = 22] = "LogOutWithAnonymousUserError", t[t.ConfigurationError = 23] = "ConfigurationError", t[t.UnsupportedError = 24] = "UnsupportedError", t[t.EmptySubscriberAttributesError = 25] = "EmptySubscriberAttributesError", t[t.CustomerInfoError = 28] = "CustomerInfoError", t[t.SignatureVerificationError = 36] = "SignatureVerificationError", t))(te || {});
@@ -3935,27 +3939,27 @@ class X extends Error {
3935
3939
  );
3936
3940
  }
3937
3941
  }
3938
- class Vi extends Error {
3942
+ class Wi extends Error {
3939
3943
  constructor() {
3940
3944
  super("Purchases must be configured before calling getInstance");
3941
3945
  }
3942
3946
  }
3943
- const Wi = "0.1.3", fe = "https://api.revenuecat.com";
3947
+ const zi = "0.2.0", fe = "https://api.revenuecat.com";
3944
3948
  var Ue;
3945
3949
  (function(t) {
3946
3950
  t[t.CONTINUE = 100] = "CONTINUE", t[t.SWITCHING_PROTOCOLS = 101] = "SWITCHING_PROTOCOLS", t[t.PROCESSING = 102] = "PROCESSING", t[t.EARLY_HINTS = 103] = "EARLY_HINTS", t[t.OK = 200] = "OK", t[t.CREATED = 201] = "CREATED", t[t.ACCEPTED = 202] = "ACCEPTED", t[t.NON_AUTHORITATIVE_INFORMATION = 203] = "NON_AUTHORITATIVE_INFORMATION", t[t.NO_CONTENT = 204] = "NO_CONTENT", t[t.RESET_CONTENT = 205] = "RESET_CONTENT", t[t.PARTIAL_CONTENT = 206] = "PARTIAL_CONTENT", t[t.MULTI_STATUS = 207] = "MULTI_STATUS", t[t.MULTIPLE_CHOICES = 300] = "MULTIPLE_CHOICES", t[t.MOVED_PERMANENTLY = 301] = "MOVED_PERMANENTLY", t[t.MOVED_TEMPORARILY = 302] = "MOVED_TEMPORARILY", t[t.SEE_OTHER = 303] = "SEE_OTHER", t[t.NOT_MODIFIED = 304] = "NOT_MODIFIED", t[t.USE_PROXY = 305] = "USE_PROXY", t[t.TEMPORARY_REDIRECT = 307] = "TEMPORARY_REDIRECT", t[t.PERMANENT_REDIRECT = 308] = "PERMANENT_REDIRECT", t[t.BAD_REQUEST = 400] = "BAD_REQUEST", t[t.UNAUTHORIZED = 401] = "UNAUTHORIZED", t[t.PAYMENT_REQUIRED = 402] = "PAYMENT_REQUIRED", t[t.FORBIDDEN = 403] = "FORBIDDEN", t[t.NOT_FOUND = 404] = "NOT_FOUND", t[t.METHOD_NOT_ALLOWED = 405] = "METHOD_NOT_ALLOWED", t[t.NOT_ACCEPTABLE = 406] = "NOT_ACCEPTABLE", t[t.PROXY_AUTHENTICATION_REQUIRED = 407] = "PROXY_AUTHENTICATION_REQUIRED", t[t.REQUEST_TIMEOUT = 408] = "REQUEST_TIMEOUT", t[t.CONFLICT = 409] = "CONFLICT", t[t.GONE = 410] = "GONE", t[t.LENGTH_REQUIRED = 411] = "LENGTH_REQUIRED", t[t.PRECONDITION_FAILED = 412] = "PRECONDITION_FAILED", t[t.REQUEST_TOO_LONG = 413] = "REQUEST_TOO_LONG", t[t.REQUEST_URI_TOO_LONG = 414] = "REQUEST_URI_TOO_LONG", t[t.UNSUPPORTED_MEDIA_TYPE = 415] = "UNSUPPORTED_MEDIA_TYPE", t[t.REQUESTED_RANGE_NOT_SATISFIABLE = 416] = "REQUESTED_RANGE_NOT_SATISFIABLE", t[t.EXPECTATION_FAILED = 417] = "EXPECTATION_FAILED", t[t.IM_A_TEAPOT = 418] = "IM_A_TEAPOT", t[t.INSUFFICIENT_SPACE_ON_RESOURCE = 419] = "INSUFFICIENT_SPACE_ON_RESOURCE", t[t.METHOD_FAILURE = 420] = "METHOD_FAILURE", t[t.MISDIRECTED_REQUEST = 421] = "MISDIRECTED_REQUEST", t[t.UNPROCESSABLE_ENTITY = 422] = "UNPROCESSABLE_ENTITY", t[t.LOCKED = 423] = "LOCKED", t[t.FAILED_DEPENDENCY = 424] = "FAILED_DEPENDENCY", t[t.UPGRADE_REQUIRED = 426] = "UPGRADE_REQUIRED", t[t.PRECONDITION_REQUIRED = 428] = "PRECONDITION_REQUIRED", t[t.TOO_MANY_REQUESTS = 429] = "TOO_MANY_REQUESTS", t[t.REQUEST_HEADER_FIELDS_TOO_LARGE = 431] = "REQUEST_HEADER_FIELDS_TOO_LARGE", t[t.UNAVAILABLE_FOR_LEGAL_REASONS = 451] = "UNAVAILABLE_FOR_LEGAL_REASONS", t[t.INTERNAL_SERVER_ERROR = 500] = "INTERNAL_SERVER_ERROR", t[t.NOT_IMPLEMENTED = 501] = "NOT_IMPLEMENTED", t[t.BAD_GATEWAY = 502] = "BAD_GATEWAY", t[t.SERVICE_UNAVAILABLE = 503] = "SERVICE_UNAVAILABLE", t[t.GATEWAY_TIMEOUT = 504] = "GATEWAY_TIMEOUT", t[t.HTTP_VERSION_NOT_SUPPORTED = 505] = "HTTP_VERSION_NOT_SUPPORTED", t[t.INSUFFICIENT_STORAGE = 507] = "INSUFFICIENT_STORAGE", t[t.NETWORK_AUTHENTICATION_REQUIRED = 511] = "NETWORK_AUTHENTICATION_REQUIRED";
3947
3951
  })(Ue || (Ue = {}));
3948
- function qe(t) {
3952
+ function je(t) {
3949
3953
  return t ? t.startsWith("rcb_sb_") : !1;
3950
3954
  }
3951
3955
  async function se(t, e, r, n) {
3952
3956
  try {
3953
3957
  const i = await fetch(t.url(), {
3954
3958
  method: t.method,
3955
- headers: Zi(e, n),
3956
- body: Xi(r)
3959
+ headers: eo(e, n),
3960
+ body: Zi(r)
3957
3961
  });
3958
- return await zi(i, t), await i.json();
3962
+ return await Xi(i, t), await i.json();
3959
3963
  } catch (i) {
3960
3964
  throw i instanceof TypeError ? new X(
3961
3965
  te.NetworkError,
@@ -3964,7 +3968,7 @@ async function se(t, e, r, n) {
3964
3968
  ) : i;
3965
3969
  }
3966
3970
  }
3967
- async function zi(t, e) {
3971
+ async function Xi(t, e) {
3968
3972
  const r = t.status;
3969
3973
  if (r >= Ue.INTERNAL_SERVER_ERROR)
3970
3974
  Ge(e, r, await t.text());
@@ -3989,22 +3993,22 @@ function Ge(t, e, r) {
3989
3993
  `Unknown backend error. Request: ${t.name}. Status code: ${e}. Body: ${r}.`
3990
3994
  );
3991
3995
  }
3992
- function Xi(t) {
3996
+ function Zi(t) {
3993
3997
  return t == null ? null : JSON.stringify(t);
3994
3998
  }
3995
- function Zi(t, e) {
3999
+ function eo(t, e) {
3996
4000
  let r = {
3997
4001
  Authorization: `Bearer ${t}`,
3998
4002
  "Content-Type": "application/json",
3999
4003
  Accept: "application/json",
4000
4004
  "X-Platform": "web",
4001
- "X-Version": Wi,
4002
- "X-Is-Sandbox": `${qe(t)}`
4005
+ "X-Version": zi,
4006
+ "X-Is-Sandbox": `${je(t)}`
4003
4007
  };
4004
4008
  return e != null && (r = { ...r, ...e }), r;
4005
4009
  }
4006
4010
  const Rt = "/v1/subscribers", Oe = "/rcbilling/v1";
4007
- class eo {
4011
+ class to {
4008
4012
  constructor(e) {
4009
4013
  Q(this, "appUserId");
4010
4014
  Q(this, "method", "GET");
@@ -4016,7 +4020,7 @@ class eo {
4016
4020
  return `${fe}${Rt}/${e}/offerings`;
4017
4021
  }
4018
4022
  }
4019
- class to {
4023
+ class no {
4020
4024
  constructor() {
4021
4025
  Q(this, "method", "POST");
4022
4026
  Q(this, "name", "subscribe");
@@ -4025,7 +4029,7 @@ class to {
4025
4029
  return `${fe}${Oe}/subscribe`;
4026
4030
  }
4027
4031
  }
4028
- class no {
4032
+ class ro {
4029
4033
  constructor(e, r) {
4030
4034
  Q(this, "method", "GET");
4031
4035
  Q(this, "name", "getProducts");
@@ -4038,7 +4042,7 @@ class no {
4038
4042
  return `${fe}${Oe}/subscribers/${e}/products?id=${r}`;
4039
4043
  }
4040
4044
  }
4041
- class ro {
4045
+ class io {
4042
4046
  constructor(e) {
4043
4047
  Q(this, "method", "GET");
4044
4048
  Q(this, "name", "getCustomerInfo");
@@ -4050,7 +4054,7 @@ class ro {
4050
4054
  return `${fe}${Rt}/${e}`;
4051
4055
  }
4052
4056
  }
4053
- class io {
4057
+ class oo {
4054
4058
  constructor() {
4055
4059
  Q(this, "method", "GET");
4056
4060
  Q(this, "name", "getBrandingInfo");
@@ -4059,7 +4063,7 @@ class io {
4059
4063
  return `${fe}${Oe}/branding`;
4060
4064
  }
4061
4065
  }
4062
- class oo {
4066
+ class so {
4063
4067
  constructor(e) {
4064
4068
  Q(this, "method", "GET");
4065
4069
  Q(this, "name", "getCheckoutStatus");
@@ -4070,38 +4074,38 @@ class oo {
4070
4074
  return `${fe}${Oe}/checkout/${this.operationSessionId}`;
4071
4075
  }
4072
4076
  }
4073
- class so {
4077
+ class lo {
4074
4078
  constructor(e) {
4075
4079
  Q(this, "API_KEY");
4076
4080
  this.API_KEY = e;
4077
4081
  }
4078
4082
  async getOfferings(e) {
4079
4083
  return await se(
4080
- new eo(e),
4084
+ new to(e),
4081
4085
  this.API_KEY
4082
4086
  );
4083
4087
  }
4084
4088
  async getCustomerInfo(e) {
4085
4089
  return await se(
4086
- new ro(e),
4090
+ new io(e),
4087
4091
  this.API_KEY
4088
4092
  );
4089
4093
  }
4090
4094
  async getProducts(e, r) {
4091
4095
  return await se(
4092
- new no(e, r),
4096
+ new ro(e, r),
4093
4097
  this.API_KEY
4094
4098
  );
4095
4099
  }
4096
4100
  async getBrandingInfo() {
4097
4101
  return await se(
4098
- new io(),
4102
+ new oo(),
4099
4103
  this.API_KEY
4100
4104
  );
4101
4105
  }
4102
4106
  async postSubscribe(e, r, n, i) {
4103
4107
  return await se(
4104
- new to(),
4108
+ new no(),
4105
4109
  this.API_KEY,
4106
4110
  {
4107
4111
  app_user_id: e,
@@ -4113,38 +4117,38 @@ class so {
4113
4117
  }
4114
4118
  async getCheckoutStatus(e) {
4115
4119
  return await se(
4116
- new oo(e),
4120
+ new so(e),
4117
4121
  this.API_KEY
4118
4122
  );
4119
4123
  }
4120
4124
  }
4121
- const lo = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20opacity='0.5'%20clip-path='url(%23clip0_344_3390)'%3e%3cpath%20d='M7%2018C5.9%2018%205.01%2018.9%205.01%2020C5.01%2021.1%205.9%2022%207%2022C8.1%2022%209%2021.1%209%2020C9%2018.9%208.1%2018%207%2018ZM1%202V4H3L6.6%2011.59L5.25%2014.04C5.09%2014.32%205%2014.65%205%2015C5%2016.1%205.9%2017%207%2017H19V15H7.42C7.28%2015%207.17%2014.89%207.17%2014.75L7.2%2014.63L8.1%2013H15.55C16.3%2013%2016.96%2012.59%2017.3%2011.97L20.88%205.48C20.96%205.34%2021%205.17%2021%205C21%204.45%2020.55%204%2020%204H5.21L4.27%202H1ZM17%2018C15.9%2018%2015.01%2018.9%2015.01%2020C15.01%2021.1%2015.9%2022%2017%2022C18.1%2022%2019%2021.1%2019%2020C19%2018.9%2018.1%2018%2017%2018Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_344_3390'%3e%3crect%20width='24'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
4122
- function co(t) {
4125
+ const co = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20opacity='0.5'%20clip-path='url(%23clip0_344_3390)'%3e%3cpath%20d='M7%2018C5.9%2018%205.01%2018.9%205.01%2020C5.01%2021.1%205.9%2022%207%2022C8.1%2022%209%2021.1%209%2020C9%2018.9%208.1%2018%207%2018ZM1%202V4H3L6.6%2011.59L5.25%2014.04C5.09%2014.32%205%2014.65%205%2015C5%2016.1%205.9%2017%207%2017H19V15H7.42C7.28%2015%207.17%2014.89%207.17%2014.75L7.2%2014.63L8.1%2013H15.55C16.3%2013%2016.96%2012.59%2017.3%2011.97L20.88%205.48C20.96%205.34%2021%205.17%2021%205C21%204.45%2020.55%204%2020%204H5.21L4.27%202H1ZM17%2018C15.9%2018%2015.01%2018.9%2015.01%2020C15.01%2021.1%2015.9%2022%2017%2022C18.1%2022%2019%2021.1%2019%2020C19%2018.9%2018.1%2018%2017%2018Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_344_3390'%3e%3crect%20width='24'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
4126
+ function ao(t) {
4123
4127
  let e, r;
4124
4128
  return {
4125
4129
  c() {
4126
- e = k("img"), Z(e.src, r = lo) || _(e, "src", r), _(e, "alt", "icon"), _(e, "class", "rcb-ui-asset-icon");
4130
+ e = k("img"), Z(e.src, r = co) || _(e, "src", r), _(e, "alt", "icon"), _(e, "class", "rcb-ui-asset-icon");
4127
4131
  },
4128
4132
  m(n, i) {
4129
4133
  p(n, e, i);
4130
4134
  },
4131
- p: B,
4132
- i: B,
4133
- o: B,
4135
+ p: y,
4136
+ i: y,
4137
+ o: y,
4134
4138
  d(n) {
4135
4139
  n && g(e);
4136
4140
  }
4137
4141
  };
4138
4142
  }
4139
- class ao extends U {
4143
+ class uo extends U {
4140
4144
  constructor(e) {
4141
- super(), N(this, e, null, co, P, {});
4145
+ super(), N(this, e, null, ao, P, {});
4142
4146
  }
4143
4147
  }
4144
- function uo(t) {
4148
+ function fo(t) {
4145
4149
  O(t, "svelte-1rhrjxe", "div.svelte-1rhrjxe{background-color:var(--rc-color-warning);color:var(--rc-color-grey-text-dark);font-size:10px;font-weight:bold;text-transform:uppercase;padding:4px 10px;line-height:10px;border-radius:9px;margin:0px;margin-left:16px}");
4146
4150
  }
4147
- function fo(t) {
4151
+ function mo(t) {
4148
4152
  let e;
4149
4153
  return {
4150
4154
  c() {
@@ -4153,20 +4157,20 @@ function fo(t) {
4153
4157
  m(r, n) {
4154
4158
  p(r, e, n);
4155
4159
  },
4156
- p: B,
4157
- i: B,
4158
- o: B,
4160
+ p: y,
4161
+ i: y,
4162
+ o: y,
4159
4163
  d(r) {
4160
4164
  r && g(e);
4161
4165
  }
4162
4166
  };
4163
4167
  }
4164
- class mo extends U {
4168
+ class go extends U {
4165
4169
  constructor(e) {
4166
- super(), N(this, e, null, fo, P, {}, uo);
4170
+ super(), N(this, e, null, mo, P, {}, fo);
4167
4171
  }
4168
4172
  }
4169
- function go(t) {
4173
+ function po(t) {
4170
4174
  O(t, "svelte-13pdaik", `.rcb-ui-container.svelte-13pdaik{color-scheme:none;font-size:16px;line-height:1.5em;font-weight:400;font-family:-apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu,
4171
4175
  Cantarell, "Open Sans", "Helvetica Neue", sans-serif}.rcb-ui-layout.svelte-13pdaik{width:100vw;width:100dvw;margin-right:auto;display:flex;justify-content:center;align-items:flex-start;position:relative;padding:0px 80px;box-sizing:border-box}.rcb-ui-aside.svelte-13pdaik{margin-right:16px;flex:320px 1 0;max-width:480px}.rcb-ui-main.svelte-13pdaik{flex:480px 1 0;max-width:640px}@media screen and (max-width: 960px){.rcb-ui-layout.svelte-13pdaik{flex-direction:column;align-items:center;justify-content:center;height:100%;min-width:100%}.rcb-ui-aside.svelte-13pdaik{margin-right:0;margin-bottom:16px;min-width:100%;display:flex;flex-direction:column;align-items:center;flex:none;max-width:none}.rcb-ui-main.svelte-13pdaik{flex:none;max-width:none;min-width:100%}}@media screen and (max-width: 960px) and (max-height: 960px){.rcb-ui-layout.svelte-13pdaik{overflow-y:scroll;justify-content:flex-start;padding:16px 0px}}`);
4172
4176
  }
@@ -4176,8 +4180,8 @@ function ft(t) {
4176
4180
  props: {
4177
4181
  dark: !0,
4178
4182
  $$slots: {
4179
- header: [Eo],
4180
- default: [po]
4183
+ header: [Io],
4184
+ default: [_o]
4181
4185
  },
4182
4186
  $$scope: { ctx: t }
4183
4187
  }
@@ -4206,7 +4210,7 @@ function ft(t) {
4206
4210
  }
4207
4211
  function dt(t) {
4208
4212
  let e, r;
4209
- return e = new Bt({
4213
+ return e = new yt({
4210
4214
  props: {
4211
4215
  productDetails: (
4212
4216
  /*productDetails*/
@@ -4237,7 +4241,7 @@ function dt(t) {
4237
4241
  }
4238
4242
  };
4239
4243
  }
4240
- function po(t) {
4244
+ function _o(t) {
4241
4245
  let e, r, n = (
4242
4246
  /*productDetails*/
4243
4247
  t[2] && dt(t)
@@ -4267,9 +4271,9 @@ function po(t) {
4267
4271
  }
4268
4272
  };
4269
4273
  }
4270
- function _o(t) {
4274
+ function Ao(t) {
4271
4275
  let e, r;
4272
- return e = new ao({}), {
4276
+ return e = new uo({}), {
4273
4277
  c() {
4274
4278
  w(e.$$.fragment);
4275
4279
  },
@@ -4287,9 +4291,9 @@ function _o(t) {
4287
4291
  }
4288
4292
  };
4289
4293
  }
4290
- function Ao(t) {
4294
+ function ho(t) {
4291
4295
  let e, r;
4292
- return e = new mo({}), {
4296
+ return e = new go({}), {
4293
4297
  c() {
4294
4298
  w(e.$$.fragment);
4295
4299
  },
@@ -4307,7 +4311,7 @@ function Ao(t) {
4307
4311
  }
4308
4312
  };
4309
4313
  }
4310
- function ho(t) {
4314
+ function Eo(t) {
4311
4315
  let e, r, n, i, o, s, l;
4312
4316
  e = new Dt({
4313
4317
  props: { brandingInfo: (
@@ -4315,7 +4319,7 @@ function ho(t) {
4315
4319
  t[3]
4316
4320
  ) }
4317
4321
  });
4318
- const c = [Ao, _o], a = [];
4322
+ const c = [ho, Ao], a = [];
4319
4323
  function f(d, E) {
4320
4324
  return E & /*purchases*/
4321
4325
  2 && (n = null), n == null && (n = !!/*purchases*/
@@ -4349,12 +4353,12 @@ function ho(t) {
4349
4353
  }
4350
4354
  };
4351
4355
  }
4352
- function Eo(t) {
4356
+ function Io(t) {
4353
4357
  let e, r;
4354
- return e = new Ve({
4358
+ return e = new We({
4355
4359
  props: {
4356
4360
  slot: "header",
4357
- $$slots: { default: [ho] },
4361
+ $$slots: { default: [Eo] },
4358
4362
  $$scope: { ctx: t }
4359
4363
  }
4360
4364
  }), {
@@ -4382,7 +4386,7 @@ function Eo(t) {
4382
4386
  }
4383
4387
  function mt(t) {
4384
4388
  let e, r;
4385
- return e = new Bt({
4389
+ return e = new yt({
4386
4390
  props: {
4387
4391
  productDetails: (
4388
4392
  /*productDetails*/
@@ -4415,7 +4419,7 @@ function mt(t) {
4415
4419
  }
4416
4420
  function gt(t) {
4417
4421
  let e, r;
4418
- return e = new je({}), {
4422
+ return e = new Je({}), {
4419
4423
  c() {
4420
4424
  w(e.$$.fragment);
4421
4425
  },
@@ -4435,7 +4439,7 @@ function gt(t) {
4435
4439
  }
4436
4440
  function pt(t) {
4437
4441
  let e, r;
4438
- return e = new Mi({
4442
+ return e = new Qi({
4439
4443
  props: {
4440
4444
  onContinue: (
4441
4445
  /*handleContinue*/
@@ -4476,7 +4480,7 @@ function pt(t) {
4476
4480
  }
4477
4481
  function _t(t) {
4478
4482
  let e, r;
4479
- return e = new hi({
4483
+ return e = new Ei({
4480
4484
  props: {
4481
4485
  paymentInfoCollectionMetadata: (
4482
4486
  /*paymentInfoCollectionMetadata*/
@@ -4527,7 +4531,7 @@ function _t(t) {
4527
4531
  }
4528
4532
  function At(t) {
4529
4533
  let e, r;
4530
- return e = new je({}), {
4534
+ return e = new Je({}), {
4531
4535
  c() {
4532
4536
  w(e.$$.fragment);
4533
4537
  },
@@ -4548,7 +4552,7 @@ function At(t) {
4548
4552
  function ht(t) {
4549
4553
  var n;
4550
4554
  let e, r;
4551
- return e = new wr({
4555
+ return e = new kr({
4552
4556
  props: {
4553
4557
  brandingInfo: (
4554
4558
  /*brandingInfo*/
@@ -4598,7 +4602,7 @@ function ht(t) {
4598
4602
  }
4599
4603
  function Et(t) {
4600
4604
  let e, r;
4601
- return e = new Qr({
4605
+ return e = new Pr({
4602
4606
  props: {
4603
4607
  brandingInfo: (
4604
4608
  /*brandingInfo*/
@@ -4633,7 +4637,7 @@ function Et(t) {
4633
4637
  }
4634
4638
  };
4635
4639
  }
4636
- function Io(t) {
4640
+ function bo(t) {
4637
4641
  let e, r, n, i, o, s, l, c, a = (
4638
4642
  /*state*/
4639
4643
  t[6] === "present-offer" && /*productDetails*/
@@ -4665,41 +4669,41 @@ function Io(t) {
4665
4669
  c() {
4666
4670
  a && a.c(), e = T(), f && f.c(), r = T(), d && d.c(), n = T(), E && E.c(), i = T(), v && v.c(), o = T(), A && A.c(), s = T(), M && M.c(), l = ee();
4667
4671
  },
4668
- m(h, y) {
4669
- a && a.m(h, y), p(h, e, y), f && f.m(h, y), p(h, r, y), d && d.m(h, y), p(h, n, y), E && E.m(h, y), p(h, i, y), v && v.m(h, y), p(h, o, y), A && A.m(h, y), p(h, s, y), M && M.m(h, y), p(h, l, y), c = !0;
4672
+ m(h, B) {
4673
+ a && a.m(h, B), p(h, e, B), f && f.m(h, B), p(h, r, B), d && d.m(h, B), p(h, n, B), E && E.m(h, B), p(h, i, B), v && v.m(h, B), p(h, o, B), A && A.m(h, B), p(h, s, B), M && M.m(h, B), p(h, l, B), c = !0;
4670
4674
  },
4671
- p(h, y) {
4675
+ p(h, B) {
4672
4676
  /*state*/
4673
4677
  h[6] === "present-offer" && /*productDetails*/
4674
- h[2] ? a ? (a.p(h, y), y & /*state, productDetails*/
4678
+ h[2] ? a ? (a.p(h, B), B & /*state, productDetails*/
4675
4679
  68 && u(a, 1)) : (a = mt(h), a.c(), u(a, 1), a.m(e.parentNode, e)) : a && (L(), m(a, 1, 1, () => {
4676
4680
  a = null;
4677
4681
  }), x()), /*state*/
4678
4682
  h[6] === "present-offer" && !/*productDetails*/
4679
- h[2] ? f ? y & /*state, productDetails*/
4683
+ h[2] ? f ? B & /*state, productDetails*/
4680
4684
  68 && u(f, 1) : (f = gt(), f.c(), u(f, 1), f.m(r.parentNode, r)) : f && (L(), m(f, 1, 1, () => {
4681
4685
  f = null;
4682
4686
  }), x()), /*state*/
4683
4687
  h[6] === "needs-auth-info" || /*state*/
4684
- h[6] === "processing-auth-info" ? d ? (d.p(h, y), y & /*state*/
4688
+ h[6] === "processing-auth-info" ? d ? (d.p(h, B), B & /*state*/
4685
4689
  64 && u(d, 1)) : (d = pt(h), d.c(), u(d, 1), d.m(n.parentNode, n)) : d && (L(), m(d, 1, 1, () => {
4686
4690
  d = null;
4687
4691
  }), x()), /*paymentInfoCollectionMetadata*/
4688
4692
  h[4] && /*state*/
4689
4693
  (h[6] === "needs-payment-info" || /*state*/
4690
- h[6] === "polling-purchase-status") ? E ? (E.p(h, y), y & /*paymentInfoCollectionMetadata, state*/
4694
+ h[6] === "polling-purchase-status") ? E ? (E.p(h, B), B & /*paymentInfoCollectionMetadata, state*/
4691
4695
  80 && u(E, 1)) : (E = _t(h), E.c(), u(E, 1), E.m(i.parentNode, i)) : E && (L(), m(E, 1, 1, () => {
4692
4696
  E = null;
4693
4697
  }), x()), /*state*/
4694
- h[6] === "loading" ? v ? y & /*state*/
4698
+ h[6] === "loading" ? v ? B & /*state*/
4695
4699
  64 && u(v, 1) : (v = At(), v.c(), u(v, 1), v.m(o.parentNode, o)) : v && (L(), m(v, 1, 1, () => {
4696
4700
  v = null;
4697
4701
  }), x()), /*state*/
4698
- h[6] === "error" ? A ? (A.p(h, y), y & /*state*/
4702
+ h[6] === "error" ? A ? (A.p(h, B), B & /*state*/
4699
4703
  64 && u(A, 1)) : (A = ht(h), A.c(), u(A, 1), A.m(s.parentNode, s)) : A && (L(), m(A, 1, 1, () => {
4700
4704
  A = null;
4701
4705
  }), x()), /*state*/
4702
- h[6] === "success" ? M ? (M.p(h, y), y & /*state*/
4706
+ h[6] === "success" ? M ? (M.p(h, B), B & /*state*/
4703
4707
  64 && u(M, 1)) : (M = Et(h), M.c(), u(M, 1), M.m(l.parentNode, l)) : M && (L(), m(M, 1, 1, () => {
4704
4708
  M = null;
4705
4709
  }), x());
@@ -4715,7 +4719,7 @@ function Io(t) {
4715
4719
  }
4716
4720
  };
4717
4721
  }
4718
- function bo(t) {
4722
+ function wo(t) {
4719
4723
  let e, r = (
4720
4724
  /*statesWhereOfferDetailsAreShown*/
4721
4725
  t[8].includes(
@@ -4725,7 +4729,7 @@ function bo(t) {
4725
4729
  ), n, i, o, s, l = r && ft(t);
4726
4730
  return o = new Nt({
4727
4731
  props: {
4728
- $$slots: { default: [Io] },
4732
+ $$slots: { default: [bo] },
4729
4733
  $$scope: { ctx: t }
4730
4734
  }
4731
4735
  }), {
@@ -4765,15 +4769,15 @@ function bo(t) {
4765
4769
  }
4766
4770
  };
4767
4771
  }
4768
- function wo(t) {
4772
+ function ko(t) {
4769
4773
  let e, r, n;
4770
- return r = new Hi({
4774
+ return r = new Ki({
4771
4775
  props: {
4772
4776
  condition: (
4773
4777
  /*asModal*/
4774
4778
  t[0]
4775
4779
  ),
4776
- $$slots: { default: [bo] },
4780
+ $$slots: { default: [wo] },
4777
4781
  $$scope: { ctx: t }
4778
4782
  }
4779
4783
  }), {
@@ -4801,12 +4805,12 @@ function wo(t) {
4801
4805
  }
4802
4806
  };
4803
4807
  }
4804
- function ko(t, e, r) {
4805
- var We;
4808
+ function $o(t, e, r) {
4809
+ var ze;
4806
4810
  let { asModal: n = !0 } = e, { customerEmail: i } = e, { appUserId: o } = e, { rcPackage: s } = e, { onFinished: l } = e, { onError: c } = e, { onClose: a } = e, { purchases: f } = e, { backend: d } = e, { purchaseOperationHelper: E } = e;
4807
4811
  const v = Object.entries(Ae).map(([C, Le]) => `--rc-color-${C}: ${Le}`).join("; ");
4808
- let A = null, M = null, h = null, y = null;
4809
- const F = ((We = s.rcBillingProduct) == null ? void 0 : We.identifier) ?? null;
4812
+ let A = null, M = null, h = null, B = null;
4813
+ const F = ((ze = s.rcBillingProduct) == null ? void 0 : ze.identifier) ?? null;
4810
4814
  let $ = "present-offer";
4811
4815
  const de = [
4812
4816
  "present-offer",
@@ -4822,7 +4826,7 @@ function ko(t, e, r) {
4822
4826
  return;
4823
4827
  }
4824
4828
  });
4825
- const Be = () => {
4829
+ const ye = () => {
4826
4830
  a();
4827
4831
  }, ie = () => {
4828
4832
  if (F === null) {
@@ -4865,9 +4869,9 @@ function ko(t, e, r) {
4865
4869
  }
4866
4870
  r(6, $ = "success");
4867
4871
  }, W = (C) => {
4868
- r(5, y = C), r(6, $ = "error");
4872
+ r(5, B = C), r(6, $ = "error");
4869
4873
  }, St = () => {
4870
- c(y ?? new G(S.UnknownError, "Unknown error without state set."));
4874
+ c(B ?? new G(S.UnknownError, "Unknown error without state set."));
4871
4875
  };
4872
4876
  return t.$$set = (C) => {
4873
4877
  "asModal" in C && r(0, n = C.asModal), "customerEmail" in C && r(13, i = C.customerEmail), "appUserId" in C && r(14, o = C.appUserId), "rcPackage" in C && r(15, s = C.rcPackage), "onFinished" in C && r(16, l = C.onFinished), "onError" in C && r(17, c = C.onError), "onClose" in C && r(18, a = C.onClose), "purchases" in C && r(1, f = C.purchases), "backend" in C && r(19, d = C.backend), "purchaseOperationHelper" in C && r(20, E = C.purchaseOperationHelper);
@@ -4877,11 +4881,11 @@ function ko(t, e, r) {
4877
4881
  A,
4878
4882
  M,
4879
4883
  h,
4880
- y,
4884
+ B,
4881
4885
  $,
4882
4886
  v,
4883
4887
  de,
4884
- Be,
4888
+ ye,
4885
4889
  z,
4886
4890
  W,
4887
4891
  St,
@@ -4895,13 +4899,13 @@ function ko(t, e, r) {
4895
4899
  E
4896
4900
  ];
4897
4901
  }
4898
- class $o extends U {
4902
+ class vo extends U {
4899
4903
  constructor(e) {
4900
4904
  super(), N(
4901
4905
  this,
4902
4906
  e,
4907
+ $o,
4903
4908
  ko,
4904
- wo,
4905
4909
  P,
4906
4910
  {
4907
4911
  asModal: 0,
@@ -4915,23 +4919,23 @@ class $o extends U {
4915
4919
  backend: 19,
4916
4920
  purchaseOperationHelper: 20
4917
4921
  },
4918
- go
4922
+ po
4919
4923
  );
4920
4924
  }
4921
4925
  }
4922
- function vo(t) {
4926
+ function yo(t) {
4923
4927
  return t.expires_date == null ? !0 : new Date(t.expires_date) > /* @__PURE__ */ new Date();
4924
4928
  }
4925
4929
  function Bo(t, e, r, n) {
4926
4930
  const i = e.product_identifier;
4927
4931
  if (i in r)
4928
- return yo(
4932
+ return Do(
4929
4933
  t,
4930
4934
  e,
4931
4935
  r[i]
4932
4936
  );
4933
4937
  if (i in n)
4934
- return Do(
4938
+ return Co(
4935
4939
  t,
4936
4940
  e,
4937
4941
  n[i]
@@ -4941,11 +4945,11 @@ function Bo(t, e, r, n) {
4941
4945
  "Could not find entitlement product in subscriptions or non-subscriptions."
4942
4946
  );
4943
4947
  }
4944
- function yo(t, e, r) {
4948
+ function Do(t, e, r) {
4945
4949
  return {
4946
4950
  identifier: t,
4947
- isActive: vo(e),
4948
- willRenew: Qo(e, r),
4951
+ isActive: yo(e),
4952
+ willRenew: Po(e, r),
4949
4953
  store: (r == null ? void 0 : r.store) ?? "unknown",
4950
4954
  latestPurchaseDate: new Date(e.purchase_date),
4951
4955
  originalPurchaseDate: new Date(e.purchase_date),
@@ -4961,7 +4965,7 @@ function yo(t, e, r) {
4961
4965
  periodType: (r == null ? void 0 : r.period_type) ?? "normal"
4962
4966
  };
4963
4967
  }
4964
- function Do(t, e, r) {
4968
+ function Co(t, e, r) {
4965
4969
  return {
4966
4970
  identifier: t,
4967
4971
  isActive: !0,
@@ -4979,7 +4983,7 @@ function Do(t, e, r) {
4979
4983
  periodType: "normal"
4980
4984
  };
4981
4985
  }
4982
- function Co(t, e, r) {
4986
+ function Mo(t, e, r) {
4983
4987
  const n = {}, i = {};
4984
4988
  for (const o in t) {
4985
4989
  const s = Bo(
@@ -4998,22 +5002,22 @@ function Co(t, e, r) {
4998
5002
  function Te(t) {
4999
5003
  return t == null ? null : new Date(t);
5000
5004
  }
5001
- function Mo(t) {
5002
- const e = To(t), r = t.subscriber, n = Uo(
5005
+ function Qo(t) {
5006
+ const e = No(t), r = t.subscriber, n = Ro(
5003
5007
  r.non_subscriptions
5004
5008
  );
5005
5009
  return {
5006
- entitlements: Co(
5010
+ entitlements: Mo(
5007
5011
  r.entitlements,
5008
5012
  r.subscriptions,
5009
5013
  n
5010
5014
  ),
5011
5015
  allExpirationDatesByProduct: e,
5012
- allPurchaseDatesByProduct: Po(
5016
+ allPurchaseDatesByProduct: To(
5013
5017
  t,
5014
5018
  n
5015
5019
  ),
5016
- activeSubscriptions: No(e),
5020
+ activeSubscriptions: Uo(e),
5017
5021
  managementURL: r.management_url,
5018
5022
  requestDate: new Date(t.request_date),
5019
5023
  firstSeenDate: new Date(r.first_seen),
@@ -5023,13 +5027,13 @@ function Mo(t) {
5023
5027
  originalAppUserId: t.subscriber.original_app_user_id
5024
5028
  };
5025
5029
  }
5026
- function Qo(t, e) {
5030
+ function Po(t, e) {
5027
5031
  if (e == null)
5028
5032
  return !1;
5029
5033
  const r = e.store == "promotional", n = t.expires_date == null, i = e.unsubscribe_detected_at != null, o = e.billing_issues_detected_at != null;
5030
5034
  return !(r || n || i || o);
5031
5035
  }
5032
- function Po(t, e) {
5036
+ function To(t, e) {
5033
5037
  const r = {};
5034
5038
  for (const n in t.subscriber.subscriptions) {
5035
5039
  const i = t.subscriber.subscriptions[n];
@@ -5043,7 +5047,7 @@ function Po(t, e) {
5043
5047
  }
5044
5048
  return r;
5045
5049
  }
5046
- function To(t) {
5050
+ function No(t) {
5047
5051
  const e = {};
5048
5052
  for (const r in t.subscriber.subscriptions) {
5049
5053
  const n = t.subscriber.subscriptions[r];
@@ -5053,7 +5057,7 @@ function To(t) {
5053
5057
  }
5054
5058
  return e;
5055
5059
  }
5056
- function No(t) {
5060
+ function Uo(t) {
5057
5061
  const e = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Date();
5058
5062
  for (const n in t) {
5059
5063
  const i = t[n];
@@ -5061,7 +5065,7 @@ function No(t) {
5061
5065
  }
5062
5066
  return e;
5063
5067
  }
5064
- function Uo(t) {
5068
+ function Ro(t) {
5065
5069
  const e = {};
5066
5070
  for (const r in t) {
5067
5071
  if (t[r].length === 0)
@@ -5071,14 +5075,14 @@ function Uo(t) {
5071
5075
  }
5072
5076
  return e;
5073
5077
  }
5074
- function Ro(t) {
5078
+ function So(t) {
5075
5079
  if (!t.startsWith("rcb_"))
5076
5080
  throw new X(
5077
5081
  te.InvalidCredentialsError,
5078
5082
  "Invalid API key. Use your RevenueCat Billing API key."
5079
5083
  );
5080
5084
  }
5081
- function So(t) {
5085
+ function Oo(t) {
5082
5086
  if ((/* @__PURE__ */ new Set([
5083
5087
  "no_user",
5084
5088
  "null",
@@ -5116,9 +5120,9 @@ const J = class J {
5116
5120
  r.product_details.forEach((l) => {
5117
5121
  i[l.identifier] = l;
5118
5122
  });
5119
- const o = n == null ? null : ze(n, i), s = {};
5123
+ const o = n == null ? null : Ze(n, i), s = {};
5120
5124
  return e.offerings.forEach((l) => {
5121
- const c = ze(l, i);
5125
+ const c = Ze(l, i);
5122
5126
  c != null && (s[l.identifier] = c);
5123
5127
  }), Object.keys(s).length == 0 && V.debugLog(
5124
5128
  "Empty offerings. Please make sure you've configured offerings correctly in the RevenueCat dashboard and that the products are properly configured."
@@ -5127,7 +5131,7 @@ const J = class J {
5127
5131
  current: o
5128
5132
  };
5129
5133
  });
5130
- this._API_KEY = e, this._appUserId = r, qe(e) && V.debugLog("Initializing Purchases SDK with sandbox API Key"), this.backend = new so(this._API_KEY), this.purchaseOperationHelper = new Dn(this.backend);
5134
+ this._API_KEY = e, this._appUserId = r, je(e) && V.debugLog("Initializing Purchases SDK with sandbox API Key"), this.backend = new lo(this._API_KEY), this.purchaseOperationHelper = new Cn(this.backend);
5131
5135
  }
5132
5136
  /**
5133
5137
  * Set the log level. Logs of the given level and below will be printed
@@ -5146,7 +5150,7 @@ const J = class J {
5146
5150
  static getSharedInstance() {
5147
5151
  if (J.isConfigured())
5148
5152
  return J.instance;
5149
- throw new Vi();
5153
+ throw new Wi();
5150
5154
  }
5151
5155
  /**
5152
5156
  * Returns whether the Purchases SDK is configured or not.
@@ -5165,7 +5169,7 @@ const J = class J {
5165
5169
  static configure(e, r) {
5166
5170
  return J.instance !== void 0 ? (V.warnLog(
5167
5171
  "Purchases is already initialized. Ignoring and returning existing instance."
5168
- ), J.getSharedInstance()) : (Ro(e), So(r), J.instance = new J(e, r), J.getSharedInstance());
5172
+ ), J.getSharedInstance()) : (So(e), Oo(r), J.instance = new J(e, r), J.getSharedInstance());
5169
5173
  }
5170
5174
  /**
5171
5175
  * Fetch the configured offerings for this user. You can configure these
@@ -5215,7 +5219,7 @@ const J = class J {
5215
5219
  return V.debugLog(
5216
5220
  `Presenting purchase form for package ${e.identifier}`
5217
5221
  ), new Promise((c, a) => {
5218
- new $o({
5222
+ new vo({
5219
5223
  target: o,
5220
5224
  props: {
5221
5225
  appUserId: l,
@@ -5281,7 +5285,7 @@ const J = class J {
5281
5285
  * @returns Whether the SDK is using a sandbox API Key.
5282
5286
  */
5283
5287
  isSandbox() {
5284
- return qe(this._API_KEY);
5288
+ return je(this._API_KEY);
5285
5289
  }
5286
5290
  /**
5287
5291
  * Closes the Purchases instance. You should never have to do this normally.
@@ -5294,7 +5298,7 @@ const J = class J {
5294
5298
  /** @internal */
5295
5299
  async _getCustomerInfoForUserId(e) {
5296
5300
  const r = await this.backend.getCustomerInfo(e);
5297
- return Mo(r);
5301
+ return Qo(r);
5298
5302
  }
5299
5303
  };
5300
5304
  /** @internal */
@@ -5303,8 +5307,8 @@ let It = J;
5303
5307
  export {
5304
5308
  te as ErrorCode,
5305
5309
  j as LogLevel,
5306
- Ft as PackageType,
5310
+ Gt as PackageType,
5307
5311
  It as Purchases,
5308
5312
  X as PurchasesError,
5309
- Vi as UninitializedPurchasesError
5313
+ Wi as UninitializedPurchasesError
5310
5314
  };