@loczer/storefront-sdk 0.177.0 → 0.179.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.
Files changed (53) hide show
  1. package/dist/chunks/ui/dist/Map/{MapContent-BqCzk6pD.js → MapContent-DUHBHUBa.js} +7 -7
  2. package/dist/chunks/ui/dist/Map/constants-DlJEohkl.js +4 -0
  3. package/dist/chunks/ui/dist/{Map-Cqn7INdm.js → Map-_kbTiMe4.js} +7 -7
  4. package/dist/chunks/ui/dist/Spinner/index-SbbUxcsT.js +48 -0
  5. package/dist/components/BookingBikeVariantDialog/index.js +12 -12
  6. package/dist/components/ContractSaleDocument/Invoice.d.ts.map +1 -1
  7. package/dist/components/ContractSaleDocument/Invoice.js +10 -10
  8. package/dist/components/ContractSaleDocument/InvoiceDetails.d.ts.map +1 -1
  9. package/dist/components/ContractSaleDocument/InvoiceDetails.js +57 -57
  10. package/dist/components/Map/index.js +1 -1
  11. package/dist/components/StorefrontCancellationPolicyNotice/index.js +11 -11
  12. package/dist/components/StorefrontCartPanel/index.js +7 -7
  13. package/dist/components/TestimonialsSection/index.d.ts.map +1 -1
  14. package/dist/components/TestimonialsSection/index.js +108 -117
  15. package/dist/components/payment/MollieCardFieldsForm.d.ts.map +1 -1
  16. package/dist/components/payment/MollieCardFieldsForm.js +16 -15
  17. package/dist/components/payment/StripeCardFieldsForm.d.ts.map +1 -1
  18. package/dist/components/payment/StripeCardFieldsForm.js +11 -10
  19. package/dist/i18n/en.d.ts +2 -0
  20. package/dist/i18n/en.d.ts.map +1 -1
  21. package/dist/i18n/en.js +2 -0
  22. package/dist/i18n/fr.d.ts +2 -0
  23. package/dist/i18n/fr.d.ts.map +1 -1
  24. package/dist/i18n/fr.js +2 -0
  25. package/dist/index.d.ts +9 -0
  26. package/dist/lib/contractSaleDocument.d.ts +2 -0
  27. package/dist/lib/contractSaleDocument.d.ts.map +1 -1
  28. package/dist/lib/contractSaleDocument.js +1 -1
  29. package/dist/lib/contractSaleDocumentApi.d.ts +3 -0
  30. package/dist/lib/contractSaleDocumentApi.d.ts.map +1 -1
  31. package/dist/lib/nameInitials.d.ts +3 -0
  32. package/dist/lib/nameInitials.d.ts.map +1 -0
  33. package/dist/lib/nameInitials.js +19 -0
  34. package/dist/pages/CheckoutPaymentPage.d.ts.map +1 -1
  35. package/dist/pages/CheckoutPaymentPage.js +42 -41
  36. package/dist/pages/CheckoutSuccessPage.js +11 -11
  37. package/dist/pages/ContractSaleDocumentPage.d.ts +1 -1
  38. package/dist/pages/ContractSaleDocumentPage.d.ts.map +1 -1
  39. package/dist/pages/ContractSaleDocumentPage.js +29 -28
  40. package/dist/pages/HomePage.js +36 -36
  41. package/dist/pages/PaymentLinkPage.d.ts.map +1 -1
  42. package/dist/pages/PaymentLinkPage.js +44 -43
  43. package/dist/pages/PaymentLinkSuccessPage.d.ts.map +1 -1
  44. package/dist/pages/PaymentLinkSuccessPage.js +15 -14
  45. package/dist/pages/ProductPage.js +1 -1
  46. package/dist/pages/checkout/components/CheckoutCouponCard.d.ts.map +1 -1
  47. package/dist/pages/checkout/components/CheckoutCouponCard.js +36 -35
  48. package/dist/pages/checkout/components/CheckoutPaymentCard.d.ts.map +1 -1
  49. package/dist/pages/checkout/components/CheckoutPaymentSummaryCard.d.ts.map +1 -1
  50. package/dist/pages/checkout/components/CheckoutPaymentSummaryCard.js +10 -9
  51. package/dist/storefront.css +1 -1
  52. package/package.json +3 -2
  53. package/dist/chunks/ui/dist/Map/constants-AiBwXZf6.js +0 -4
@@ -2,10 +2,11 @@ import { jsx as t, jsxs as g } from "react/jsx-runtime";
2
2
  import { useState as b, useEffect as T } from "react";
3
3
  import { Menu as _ } from "@base-ui/react/menu";
4
4
  import { toast as D } from "@rpcbase/client";
5
- import { cn as K } from "@rpcbase/ui";
6
- import { useLoaderData as B, useLocation as H, useNavigate as W, Link as I } from "@rpcbase/router";
7
- import { ArrowLeft as $, Download as J, ChevronDown as Q, Loader2 as V } from "lucide-react";
8
- import { useTranslation as q } from "react-i18next";
5
+ import { cn as B } from "@rpcbase/ui";
6
+ import { useLoaderData as K, useLocation as H, useNavigate as W, Link as I } from "@rpcbase/router";
7
+ import { Spinner as J } from "../chunks/ui/dist/Spinner/index-SbbUxcsT.js";
8
+ import { ArrowLeft as $, Download as Q, ChevronDown as V } from "lucide-react";
9
+ import { useTranslation as z } from "react-i18next";
9
10
  import { apiPost as X, apiGet as Y } from "../lib/apiCall.js";
10
11
  import { ContractSaleDocument as M } from "../components/ContractSaleDocument/Invoice.js";
11
12
  import { ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE as Z, acceptContractSaleDocumentResponseSchema as ee, contractSaleDocumentApiSchema as te, DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE as ne, GET_CONTRACT_SALE_DOCUMENT_ROUTE as oe, getContractSaleDocumentResponseSchema as re } from "../lib/contractSaleDocumentApi.js";
@@ -35,7 +36,7 @@ const S = (e) => new URLSearchParams(e).get("pdf") === "1", C = (e) => v(new URL
35
36
  );
36
37
  return s.searchParams.set("lang", a), s.toString();
37
38
  }, le = (e, n, o) => {
38
- const s = `${o === "credit_note" ? "credit-note" : "invoice"}-${n?.trim() || "document"}.pdf`;
39
+ const s = `${o === "credit_note" ? "credit-note" : o === "quote" ? "quote" : "invoice"}-${n?.trim() || "document"}.pdf`;
39
40
  if (!e)
40
41
  return s;
41
42
  const c = e.match(/filename\*=UTF-8''([^;]+)/i)?.[1];
@@ -47,9 +48,9 @@ const S = (e) => new URLSearchParams(e).get("pdf") === "1", C = (e) => v(new URL
47
48
  }
48
49
  return e.match(/filename="([^"]+)"/i)?.[1] ?? e.match(/filename=([^;]+)/i)?.[1]?.trim() ?? s;
49
50
  }, A = (e) => /* @__PURE__ */ t(
50
- V,
51
+ J,
51
52
  {
52
- className: "h-4 w-4 animate-spin",
53
+ className: "size-4",
53
54
  "aria-hidden": "true",
54
55
  "data-testid": e
55
56
  }
@@ -63,7 +64,7 @@ function me({
63
64
  selectedLanguage: e,
64
65
  onChange: n
65
66
  }) {
66
- const { t: o } = q(), [a, s] = b(!1), c = F.find((r) => r.code === e) ?? ue;
67
+ const { t: o } = z(), [a, s] = b(!1), c = F.find((r) => r.code === e) ?? ue;
67
68
  return /* @__PURE__ */ g(_.Root, { open: a, onOpenChange: s, children: [
68
69
  /* @__PURE__ */ t(
69
70
  _.Trigger,
@@ -80,7 +81,7 @@ function me({
80
81
  "data-testid": "contract-sale-document-language-trigger",
81
82
  children: [
82
83
  /* @__PURE__ */ t("span", { children: c.code }),
83
- /* @__PURE__ */ t(Q, { className: "h-4 w-4", "aria-hidden": "true" })
84
+ /* @__PURE__ */ t(V, { className: "h-4 w-4", "aria-hidden": "true" })
84
85
  ]
85
86
  }
86
87
  )
@@ -114,7 +115,7 @@ function me({
114
115
  d.defaultPrevented || (n(r.code), s(!1));
115
116
  },
116
117
  "data-testid": `contract-sale-document-language-option-${r.code}`,
117
- className: K(
118
+ className: B(
118
119
  "relative flex cursor-pointer select-none items-center justify-between gap-3 whitespace-nowrap rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
119
120
  e === r.code && "bg-accent"
120
121
  ),
@@ -131,7 +132,7 @@ function me({
131
132
  ) })
132
133
  ] });
133
134
  }
134
- const Se = (async ({ ctx: e, params: n }) => {
135
+ const Ce = (async ({ ctx: e, params: n }) => {
135
136
  const o = typeof n.storeSlug == "string" ? n.storeSlug.trim().toLowerCase() : "", a = typeof n.referenceId == "string" ? n.referenceId.trim() : "", s = typeof n.saleDocumentId == "string" ? n.saleDocumentId.trim() : "", c = se(e), r = ce(e);
136
137
  if (!o || !a || !s)
137
138
  return {
@@ -182,20 +183,20 @@ const Se = (async ({ ctx: e, params: n }) => {
182
183
  error: null
183
184
  };
184
185
  }
185
- }), j = (e) => {
186
+ }), q = (e) => {
186
187
  const n = te.safeParse(e);
187
188
  return n.success ? n.data : null;
188
189
  };
189
- function Ce() {
190
- const { t: e, i18n: n } = q(), o = B(), a = H(), s = W(), { storeSlug: c, referenceId: r, saleDocumentId: d } = o, p = o.pdfMode || S(a.search), [w, L] = b(
191
- j(o.document)
192
- ), [E, R] = b(null), [N, k] = b(!1), [y, x] = b(o.error), f = C(a.search) ?? v(w?.language?.customer) ?? o.documentLanguage ?? v(n.language) ?? "fr", U = c && r && d ? de(c, r, d, f) : null, O = c && r && d ? ie(c, r, d, f) : "";
190
+ function Ee() {
191
+ const { t: e, i18n: n } = z(), o = K(), a = H(), s = W(), { storeSlug: c, referenceId: r, saleDocumentId: d } = o, p = o.pdfMode || S(a.search), [w, N] = b(
192
+ q(o.document)
193
+ ), [E, R] = b(null), [y, k] = b(!1), [L, x] = b(o.error), f = C(a.search) ?? v(w?.language?.customer) ?? o.documentLanguage ?? v(n.language) ?? "fr", U = c && r && d ? de(c, r, d, f) : null, O = c && r && d ? ie(c, r, d, f) : "";
193
194
  T(() => {
194
- L(j(o.document)), x(o.error);
195
+ N(q(o.document)), x(o.error);
195
196
  }, [o.document, o.error]), T(() => {
196
197
  v(n.language) !== f && n.changeLanguage(f);
197
198
  }, [n, f]);
198
- const z = (u) => {
199
+ const j = (u) => {
199
200
  if (u === f)
200
201
  return;
201
202
  n.changeLanguage(u);
@@ -207,7 +208,7 @@ function Ce() {
207
208
  if (!w)
208
209
  return /* @__PURE__ */ t("div", { className: "mx-auto max-w-3xl px-4 py-14 sm:px-6", children: /* @__PURE__ */ t(ae, { className: "border-slate-200 bg-white p-5 shadow-sm sm:p-6", children: /* @__PURE__ */ g("div", { className: "space-y-4", children: [
209
210
  /* @__PURE__ */ t("h1", { className: "text-lg font-semibold text-slate-950", children: /* @__PURE__ */ t("span", { children: e("docs_contract_sale_not_found_title") }) }),
210
- /* @__PURE__ */ t("p", { className: "text-sm text-destructive", children: /* @__PURE__ */ t("span", { children: y ?? e("docs_contract_sale_load_error") }) }),
211
+ /* @__PURE__ */ t("p", { className: "text-sm text-destructive", children: /* @__PURE__ */ t("span", { children: L ?? e("docs_contract_sale_load_error") }) }),
211
212
  /* @__PURE__ */ t(I, { to: `/${c ?? ""}`, children: /* @__PURE__ */ g(P, { className: "gap-2", children: [
212
213
  /* @__PURE__ */ t($, { className: "h-4 w-4", "aria-hidden": "true" }),
213
214
  /* @__PURE__ */ t("span", { children: e("docs_contract_sale_back_to_storefront") })
@@ -223,7 +224,7 @@ function Ce() {
223
224
  }
224
225
  ) });
225
226
  const G = async () => {
226
- if (!U || N)
227
+ if (!U || y)
227
228
  return;
228
229
  k(!0);
229
230
  const u = D.loading(e("docs_contract_sale_preparing_pdf"), {
@@ -257,12 +258,12 @@ function Ce() {
257
258
  /* @__PURE__ */ t("span", { children: e("docs_contract_sale_back_to_storefront") })
258
259
  ] }),
259
260
  /* @__PURE__ */ g("div", { className: "flex min-w-0 items-center gap-2", children: [
260
- y ? /* @__PURE__ */ t("span", { className: "max-w-[min(44vw,24rem)] truncate text-right text-sm text-destructive", children: y }) : E === "signature" ? /* @__PURE__ */ t("span", { className: "max-w-[min(44vw,24rem)] truncate text-right text-sm text-slate-600", children: e("docs_contract_sale_submitting_signature") }) : E === "acceptance" ? /* @__PURE__ */ t("span", { className: "max-w-[min(44vw,24rem)] truncate text-right text-sm text-slate-600", children: e("docs_contract_sale_submitting_acceptance") }) : null,
261
+ L ? /* @__PURE__ */ t("span", { className: "max-w-[min(44vw,24rem)] truncate text-right text-sm text-destructive", children: L }) : E === "signature" ? /* @__PURE__ */ t("span", { className: "max-w-[min(44vw,24rem)] truncate text-right text-sm text-slate-600", children: e("docs_contract_sale_submitting_signature") }) : E === "acceptance" ? /* @__PURE__ */ t("span", { className: "max-w-[min(44vw,24rem)] truncate text-right text-sm text-slate-600", children: e("docs_contract_sale_submitting_acceptance") }) : null,
261
262
  /* @__PURE__ */ t(
262
263
  me,
263
264
  {
264
265
  selectedLanguage: f,
265
- onChange: z
266
+ onChange: j
266
267
  }
267
268
  ),
268
269
  U ? /* @__PURE__ */ g(
@@ -271,14 +272,14 @@ function Ce() {
271
272
  variant: "outline",
272
273
  size: "sm",
273
274
  type: "button",
274
- disabled: N,
275
+ disabled: y,
275
276
  onClick: () => {
276
277
  G();
277
278
  },
278
279
  className: "h-9 bg-background/80 px-3",
279
280
  "data-testid": "contract-sale-document-download-pdf",
280
281
  children: [
281
- N ? A("contract-sale-document-download-spinner") : /* @__PURE__ */ t(J, { className: "h-4 w-4", "aria-hidden": "true" }),
282
+ y ? A("contract-sale-document-download-spinner") : /* @__PURE__ */ t(Q, { className: "h-4 w-4", "aria-hidden": "true" }),
282
283
  /* @__PURE__ */ t("span", { className: "hidden sm:inline", children: e("docs_contract_sale_download_pdf") }),
283
284
  /* @__PURE__ */ t("span", { className: "sm:hidden", children: "PDF" })
284
285
  ]
@@ -318,12 +319,12 @@ function Ce() {
318
319
  if (!l.success) {
319
320
  const h = l.message ?? i;
320
321
  if (l.document)
321
- return L(l.document), x(h), l.document;
322
+ return N(l.document), x(h), l.document;
322
323
  throw new Error(h);
323
324
  }
324
325
  if (!l.document)
325
326
  throw new Error(i);
326
- return L(l.document), x(null), l.document;
327
+ return N(l.document), x(null), l.document;
327
328
  } catch (m) {
328
329
  console.error("Failed to submit storefront contract sale document acceptance", m);
329
330
  const l = m instanceof Error && m.message.trim().length > 0 ? m.message : i;
@@ -337,6 +338,6 @@ function Ce() {
337
338
  ] });
338
339
  }
339
340
  export {
340
- Ce as default,
341
- Se as loader
341
+ Ee as default,
342
+ Ce as loader
342
343
  };
@@ -3,7 +3,7 @@ import { useMemo as h, useState as b, useRef as je, useEffect as Ue } from "reac
3
3
  import { useMediaQuery as Ve } from "@rpcbase/client";
4
4
  import { useParams as ze, useLocation as Ye, useSearchParams as Qe, useNavigate as We, Link as M } from "@rpcbase/router";
5
5
  import { cn as m } from "@rpcbase/ui";
6
- import { Clock as Ke, MapPin as Ge, ShieldCheck as Je, Umbrella as Xe, Truck as Ze, ArrowRight as z, Bike as de } from "lucide-react";
6
+ import { Clock as Ke, MapPin as Ge, ShieldCheck as Je, Umbrella as Xe, Truck as Ze, ArrowRight as z, Bike as ce } from "lucide-react";
7
7
  import { useTranslation as et } from "react-i18next";
8
8
  import W from "../chunks/assets/playground-hero-preview.svg-DNbSwXV5.js";
9
9
  import { getAvailabilityVariant as tt } from "../lib/utils.js";
@@ -12,11 +12,11 @@ import { getLocalizedValue as A } from "../localization.js";
12
12
  import { AboutSection as rt } from "../components/AboutSection/index.js";
13
13
  import { BikeProductCard as st } from "../components/BikeProductCard/index.js";
14
14
  import { ContactSection as it } from "../components/ContactSection/index.js";
15
- import { ProductPriceBadge as ce } from "../components/ProductPriceBadge/index.js";
15
+ import { ProductPriceBadge as de } from "../components/ProductPriceBadge/index.js";
16
16
  import { ProductWarningNotice as lt } from "../components/ProductWarningNotice/index.js";
17
17
  import { resolveStorefrontCancellationPolicyTeaserTier as nt, StorefrontCancellationPolicyNotice as ot } from "../components/StorefrontCancellationPolicyNotice/index.js";
18
- import { TestimonialsSection as dt } from "../components/TestimonialsSection/index.js";
19
- import { BookingPeriodProvider as ct } from "../components/BookingPeriodSelector/BookingPeriodContext.js";
18
+ import { TestimonialsSection as ct } from "../components/TestimonialsSection/index.js";
19
+ import { BookingPeriodProvider as dt } from "../components/BookingPeriodSelector/BookingPeriodContext.js";
20
20
  import { BookingStartDateField as mt } from "../components/BookingPeriodSelector/components/BookingStartDateField.js";
21
21
  import { BookingStartTimeField as ht } from "../components/BookingPeriodSelector/components/BookingStartTimeField.js";
22
22
  import { BookingEndDateField as pt } from "../components/BookingPeriodSelector/components/BookingEndDateField.js";
@@ -38,12 +38,12 @@ const ue = (a) => String(a).padStart(2, "0"), fe = "text-2xs font-semibold upper
38
38
  const i = a.match(/^(\d{4})-(\d{2})-(\d{2})$/);
39
39
  if (!i)
40
40
  return;
41
- const l = Number(i[1]), p = Number(i[2]), d = Number(i[3]), o = new Date(l, p - 1, d);
42
- if (!(Number.isNaN(o.getTime()) || o.getFullYear() !== l || o.getMonth() !== p - 1 || o.getDate() !== d))
41
+ const l = Number(i[1]), p = Number(i[2]), c = Number(i[3]), o = new Date(l, p - 1, c);
42
+ if (!(Number.isNaN(o.getTime()) || o.getFullYear() !== l || o.getMonth() !== p - 1 || o.getDate() !== c))
43
43
  return o;
44
44
  }, Ct = (a) => {
45
45
  const i = a.length > 0 ? a : [W];
46
- return Array.from({ length: Pt }, (l, p) => Array.from({ length: ve }, (d, o) => {
46
+ return Array.from({ length: Pt }, (l, p) => Array.from({ length: ve }, (c, o) => {
47
47
  const u = p * ve + o;
48
48
  return {
49
49
  aspectRatio: Q[(u + p) % Q.length] ?? Q[0],
@@ -51,30 +51,30 @@ const ue = (a) => String(a).padStart(2, "0"), fe = "text-2xs font-semibold upper
51
51
  };
52
52
  }));
53
53
  };
54
- function da() {
55
- const { t: a, i18n: i } = et(), { storeSlug: l } = ze(), p = Ye(), { storefrontConfiguration: d } = yt(), o = d.workspace?.workspaceLanguage, { bikes: u, accessories: K } = wt(), [R] = Qe(), _e = We(), f = h(
54
+ function ca() {
55
+ const { t: a, i18n: i } = et(), { storeSlug: l } = ze(), p = Ye(), { storefrontConfiguration: c } = yt(), o = c.workspace?.workspaceLanguage, { bikes: u, accessories: K } = wt(), [R] = Qe(), _e = We(), f = h(
56
56
  () => ut(R, l),
57
57
  [R, l]
58
58
  ), x = h(() => at(l), [l]), ke = h(
59
- () => ft(d),
60
- [d]
61
- ), c = h(
62
- () => xt(d),
63
- [d]
64
- ), N = h(() => E(c.start_date), [c.start_date]), ye = h(
65
- () => E(c.end_date) ?? N,
66
- [c.end_date, N]
67
- ), v = d.settings.fulfillmentModes.includes("delivery"), G = d.settings.deliveryDisabledReason.trim(), we = !!nt(d.bookingEngine.cancellationPolicy), q = h(
68
- () => vt(f, c),
69
- [c, f]
59
+ () => ft(c),
60
+ [c]
61
+ ), d = h(
62
+ () => xt(c),
63
+ [c]
64
+ ), N = h(() => E(d.start_date), [d.start_date]), ye = h(
65
+ () => E(d.end_date) ?? N,
66
+ [d.end_date, N]
67
+ ), v = c.settings.fulfillmentModes.includes("delivery"), G = c.settings.deliveryDisabledReason.trim(), we = !!nt(c.bookingEngine.cancellationPolicy), q = h(
68
+ () => vt(f, d),
69
+ [d, f]
70
70
  ), [w, J] = b(
71
71
  () => q.fulfillment === "delivery" && v ? "delivery" : "pickup"
72
72
  ), [L, Se] = b(
73
73
  () => E(f.get("start_date")) ?? N
74
- ), [F, Pe] = b(() => f.get("start_time") ?? c.start_time), [O, Ce] = b(() => {
74
+ ), [F, Pe] = b(() => f.get("start_time") ?? d.start_time), [O, Ce] = b(() => {
75
75
  const t = E(f.get("start_date")) ?? N;
76
76
  return E(f.get("end_date")) ?? t ?? ye;
77
- }), [$, De] = b(() => f.get("end_time") ?? c.end_time), [S, I] = b(() => q.start_address), [P, H] = b(() => q.end_address), j = je(null), Ae = h(() => u.slice(0, 4), [u]), { heroMode: X } = kt(), C = X === "vertical_marquee_hero", _ = X === "booking_bar_overlay_hero" || C, Z = Ve("(min-width: 1024px)"), Ee = _t(l), Be = h(
77
+ }), [$, De] = b(() => f.get("end_time") ?? d.end_time), [S, I] = b(() => q.start_address), [P, H] = b(() => q.end_address), j = je(null), Ae = h(() => u.slice(0, 4), [u]), { heroMode: X } = kt(), C = X === "vertical_marquee_hero", _ = X === "booking_bar_overlay_hero" || C, Z = Ve("(min-width: 1024px)"), Ee = _t(l), Be = h(
78
78
  () => ({
79
79
  startDate: a("booking_start_date"),
80
80
  pickStartDate: a("booking_start_date"),
@@ -90,15 +90,15 @@ function da() {
90
90
  return bt(new URLSearchParams(), {
91
91
  fulfillment: w === "delivery" && v ? "delivery" : "pickup",
92
92
  start_date: Ne(n),
93
- start_time: F || c.start_time,
93
+ start_time: F || d.start_time,
94
94
  end_date: Ne(s),
95
- end_time: $ || c.end_time,
95
+ end_time: $ || d.end_time,
96
96
  start_address: S,
97
97
  end_address: P
98
98
  });
99
99
  }, [
100
- c.end_time,
101
- c.start_time,
100
+ d.end_time,
101
+ d.start_time,
102
102
  N,
103
103
  v,
104
104
  P,
@@ -149,16 +149,16 @@ function da() {
149
149
  /* @__PURE__ */ e("h1", { className: "mt-4 text-3xl font-semibold tracking-tight sm:text-4xl", children: /* @__PURE__ */ e("span", { children: a("hero_title", { fallback: x.hero_title }) }) }),
150
150
  /* @__PURE__ */ e("p", { className: "mt-3 text-sm text-slate-700 sm:text-base", children: /* @__PURE__ */ e("span", { children: a("hero_description", { fallback: x.hero_description }) }) }),
151
151
  /* @__PURE__ */ e("div", { className: m("mt-6", !_ && "rounded-xl border bg-white/70 p-3"), children: /* @__PURE__ */ r("ul", { className: m("space-y-3", _ && "space-y-2"), children: [
152
- /* @__PURE__ */ e(ot, { policy: d.bookingEngine.cancellationPolicy }),
152
+ /* @__PURE__ */ e(ot, { policy: c.bookingEngine.cancellationPolicy }),
153
153
  /* @__PURE__ */ r("li", { className: m("flex items-start gap-3", !_ && we && "border-t border-slate-200/70 pt-3"), children: [
154
- /* @__PURE__ */ e(Je, { className: "mt-0.5 h-5 w-5 text-emerald-600", "aria-hidden": "true" }),
154
+ /* @__PURE__ */ e(Je, { className: "mt-0.5 h-5 w-5 text-success", "aria-hidden": "true" }),
155
155
  /* @__PURE__ */ r("div", { className: "flex flex-col gap-0.5", children: [
156
156
  /* @__PURE__ */ e("p", { className: "text-sm font-medium text-slate-950", children: /* @__PURE__ */ e("span", { children: a("feature_secure_payment_title") }) }),
157
157
  /* @__PURE__ */ e("p", { className: "text-xs text-slate-600", children: /* @__PURE__ */ e("span", { children: a("feature_secure_payment_description") }) })
158
158
  ] })
159
159
  ] }),
160
160
  /* @__PURE__ */ r("li", { className: m("flex items-start gap-3", !_ && "border-t border-slate-200/70 pt-3"), children: [
161
- /* @__PURE__ */ e(Xe, { className: "mt-0.5 h-5 w-5 text-emerald-600", "aria-hidden": "true" }),
161
+ /* @__PURE__ */ e(Xe, { className: "mt-0.5 h-5 w-5 text-success", "aria-hidden": "true" }),
162
162
  /* @__PURE__ */ r("div", { className: "flex flex-col gap-0.5", children: [
163
163
  /* @__PURE__ */ e("p", { className: "text-sm font-medium text-slate-950", children: /* @__PURE__ */ e("span", { children: a("feature_guarantee_insurance_title") }) }),
164
164
  /* @__PURE__ */ e("p", { className: "text-xs text-slate-600", children: /* @__PURE__ */ e("span", { children: a("feature_guarantee_insurance_description") }) })
@@ -177,7 +177,7 @@ function da() {
177
177
  showSubmitButton: n = !1,
178
178
  submitButtonClassName: s
179
179
  }) => /* @__PURE__ */ e(
180
- ct,
180
+ dt,
181
181
  {
182
182
  ...Me,
183
183
  labelClassName: fe,
@@ -436,7 +436,7 @@ function da() {
436
436
  {
437
437
  className: m("relative block aspect-[1618/1000] overflow-hidden rounded-xl", D.className),
438
438
  style: D.style,
439
- children: g ? /* @__PURE__ */ e("img", { src: g, alt: k, className: "absolute inset-0 h-full w-full object-contain p-1", loading: "lazy" }) : /* @__PURE__ */ e("span", { className: "absolute inset-0 flex items-center justify-center text-slate-400", children: /* @__PURE__ */ e(de, { className: "h-8 w-8", "aria-hidden": "true" }) })
439
+ children: g ? /* @__PURE__ */ e("img", { src: g, alt: k, className: "absolute inset-0 h-full w-full object-contain p-1", loading: "lazy" }) : /* @__PURE__ */ e("span", { className: "absolute inset-0 flex items-center justify-center text-slate-400", children: /* @__PURE__ */ e(ce, { className: "h-8 w-8", "aria-hidden": "true" }) })
440
440
  }
441
441
  )
442
442
  }
@@ -451,7 +451,7 @@ function da() {
451
451
  children: /* @__PURE__ */ e("span", { children: k })
452
452
  }
453
453
  ),
454
- /* @__PURE__ */ e(ce, { prices: t.prices, className: "self-start" }),
454
+ /* @__PURE__ */ e(de, { prices: t.prices, className: "self-start" }),
455
455
  /* @__PURE__ */ e("span", { className: "line-clamp-2 text-xs text-slate-600", children: y })
456
456
  ] }),
457
457
  /* @__PURE__ */ r("span", { className: "flex flex-wrap items-center gap-x-2 gap-y-1", children: [
@@ -503,7 +503,7 @@ function da() {
503
503
  {
504
504
  className: m("relative aspect-[1618/1000] overflow-hidden rounded-xl", g.className),
505
505
  style: g.style,
506
- children: y ? /* @__PURE__ */ e("img", { src: y, alt: n, className: "absolute inset-0 h-full w-full object-contain p-1", loading: "lazy" }) : /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center text-slate-400", children: /* @__PURE__ */ e(de, { className: "h-8 w-8", "aria-hidden": "true" }) })
506
+ children: y ? /* @__PURE__ */ e("img", { src: y, alt: n, className: "absolute inset-0 h-full w-full object-contain p-1", loading: "lazy" }) : /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center text-slate-400", children: /* @__PURE__ */ e(ce, { className: "h-8 w-8", "aria-hidden": "true" }) })
507
507
  }
508
508
  ),
509
509
  /* @__PURE__ */ r("div", { className: "flex flex-1 flex-col gap-1", children: [
@@ -511,15 +511,15 @@ function da() {
511
511
  /* @__PURE__ */ e("p", { className: "line-clamp-2 text-xs text-slate-600", children: /* @__PURE__ */ e("span", { children: s }) }),
512
512
  /* @__PURE__ */ e(lt, { warning: k, className: "mt-1" })
513
513
  ] }),
514
- /* @__PURE__ */ e("div", { className: "flex items-center justify-between gap-2", children: /* @__PURE__ */ e(ce, { prices: t.prices }) })
514
+ /* @__PURE__ */ e("div", { className: "flex items-center justify-between gap-2", children: /* @__PURE__ */ e(de, { prices: t.prices }) })
515
515
  ] }, t.id);
516
516
  }) })
517
517
  ] }),
518
518
  /* @__PURE__ */ e(rt, { preset: x }),
519
- /* @__PURE__ */ e(dt, {}),
519
+ /* @__PURE__ */ e(ct, {}),
520
520
  /* @__PURE__ */ e(it, { preset: x, storeSlug: l ?? "" })
521
521
  ] });
522
522
  }
523
523
  export {
524
- da as default
524
+ ca as default
525
525
  };
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentLinkPage.d.ts","sourceRoot":"","sources":["../../src/pages/PaymentLinkPage.tsx"],"names":[],"mappings":"AA2DA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4DA,CAAA;AA0CnB,MAAM,CAAC,OAAO,UAAU,eAAe,4CAsStC"}
1
+ {"version":3,"file":"PaymentLinkPage.d.ts","sourceRoot":"","sources":["../../src/pages/PaymentLinkPage.tsx"],"names":[],"mappings":"AA4DA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4DA,CAAA;AA0CnB,MAAM,CAAC,OAAO,UAAU,eAAe,4CAsStC"}
@@ -1,9 +1,10 @@
1
1
  import { jsx as e, jsxs as c } from "react/jsx-runtime";
2
2
  import { useState as p, useEffect as T, useMemo as M } from "react";
3
3
  import { useNavigate as j, useLoaderData as G, Link as Y, replace as q } from "@rpcbase/router";
4
- import { loadStripe as D } from "@stripe/stripe-js";
5
- import { Elements as z, useStripe as H } from "@stripe/react-stripe-js";
6
- import { AlertTriangle as J, ShieldCheck as Q, Loader2 as V } from "lucide-react";
4
+ import { loadStripe as z } from "@stripe/stripe-js";
5
+ import { Elements as D, useStripe as H } from "@stripe/react-stripe-js";
6
+ import { Spinner as J } from "../chunks/ui/dist/Spinner/index-SbbUxcsT.js";
7
+ import { AlertTriangle as Q, ShieldCheck as V } from "lucide-react";
7
8
  import { useTranslation as k } from "react-i18next";
8
9
  import { apiPost as g, apiGet as W } from "../lib/apiCall.js";
9
10
  import { GET_MOLLIE_SECURE_PAYMENT_SESSION_ROUTE as R, getMollieSecurePaymentSessionResponseSchema as U, GET_STRIPE_SECURE_PAYMENT_SESSION_ROUTE as X, getStripeSecurePaymentSessionResponseSchema as Z, GET_SECURE_PAYMENT_LINK_ROUTE as ee, getSecurePaymentLinkResponseSchema as re } from "../lib/securePaymentLink.js";
@@ -11,7 +12,7 @@ import { MollieCardFieldsForm as se } from "../components/payment/MollieCardFiel
11
12
  import { StripeCardFieldsForm as te } from "../components/payment/StripeCardFieldsForm.js";
12
13
  import { Button as ne } from "../ui/button.js";
13
14
  import { Card as x } from "../ui/card.js";
14
- const ie = {}, le = () => ie?.RB_PUBLIC_STRIPE_PUBLISHABLE_KEY?.trim() ?? "", ae = le(), oe = (r, d, l) => {
15
+ const ie = {}, le = () => ie?.RB_PUBLIC_STRIPE_PUBLISHABLE_KEY?.trim() ?? "", oe = le(), ae = (r, d, l) => {
15
16
  try {
16
17
  return new Intl.NumberFormat(l, {
17
18
  style: "currency",
@@ -24,16 +25,16 @@ const ie = {}, le = () => ie?.RB_PUBLIC_STRIPE_PUBLISHABLE_KEY?.trim() ?? "", ae
24
25
  function C() {
25
26
  const { t: r } = k();
26
27
  return /* @__PURE__ */ c("div", { className: "flex min-h-48 items-center justify-center gap-2 text-sm text-slate-600", children: [
27
- /* @__PURE__ */ e(V, { className: "h-4 w-4 animate-spin", "aria-hidden": "true" }),
28
+ /* @__PURE__ */ e(J, { className: "size-4", "aria-hidden": "true" }),
28
29
  /* @__PURE__ */ e("span", { children: r("secure_payment_link.form.loading_session") })
29
30
  ] });
30
31
  }
31
- const be = (async ({ ctx: r, params: d }) => {
32
- const l = typeof d.storeSlug == "string" ? d.storeSlug.trim().toLowerCase() : "", a = typeof d.token == "string" ? d.token.trim() : "";
33
- if (!l || !a)
32
+ const ve = (async ({ ctx: r, params: d }) => {
33
+ const l = typeof d.storeSlug == "string" ? d.storeSlug.trim().toLowerCase() : "", o = typeof d.token == "string" ? d.token.trim() : "";
34
+ if (!l || !o)
34
35
  return {
35
36
  storeSlug: l,
36
- token: a,
37
+ token: o,
37
38
  session: null,
38
39
  errorMessage: null,
39
40
  errorKey: "invalid_link"
@@ -43,23 +44,23 @@ const be = (async ({ ctx: r, params: d }) => {
43
44
  ee,
44
45
  {
45
46
  storeSlug: l,
46
- token: a
47
+ token: o
47
48
  },
48
49
  r
49
50
  ), t = re.parse(n);
50
51
  if (!t.success || !t.paymentLinkSession)
51
52
  return {
52
53
  storeSlug: l,
53
- token: a,
54
+ token: o,
54
55
  session: null,
55
56
  errorMessage: t.message || null,
56
57
  errorKey: null
57
58
  };
58
59
  if (t.paymentLinkSession.status !== "pending")
59
- throw q(`/${encodeURIComponent(l)}/secure-payment-link/${encodeURIComponent(a)}/success`);
60
+ throw q(`/${encodeURIComponent(l)}/secure-payment-link/${encodeURIComponent(o)}/success`);
60
61
  return {
61
62
  storeSlug: l,
62
- token: a,
63
+ token: o,
63
64
  session: t.paymentLinkSession,
64
65
  errorMessage: null,
65
66
  errorKey: null
@@ -69,7 +70,7 @@ const be = (async ({ ctx: r, params: d }) => {
69
70
  throw n;
70
71
  return console.error("Failed to load secure payment link", n), {
71
72
  storeSlug: l,
72
- token: a,
73
+ token: o,
73
74
  session: null,
74
75
  errorMessage: null,
75
76
  errorKey: "load_failed"
@@ -80,15 +81,15 @@ function ce({
80
81
  clientSecret: r,
81
82
  onSuccess: d
82
83
  }) {
83
- const { t: l } = k(), a = H();
84
+ const { t: l } = k(), o = H();
84
85
  return /* @__PURE__ */ e(
85
86
  te,
86
87
  {
87
88
  requireEmail: !1,
88
89
  onSubmit: async ({ paymentMethodId: n }) => {
89
- if (!a)
90
+ if (!o)
90
91
  throw new Error(l("secure_payment_link.errors.stripe_not_ready"));
91
- const t = await a.confirmCardPayment(
92
+ const t = await o.confirmCardPayment(
92
93
  r,
93
94
  {
94
95
  payment_method: n
@@ -104,8 +105,8 @@ function ce({
104
105
  }
105
106
  );
106
107
  }
107
- function ve() {
108
- const { t: r, i18n: d } = k(), l = j(), a = G(), { storeSlug: n, token: t } = a, s = a.session, N = a.errorMessage ?? (a.errorKey ? r(`secure_payment_link.errors.${a.errorKey}`) : null), K = s?.providerType === "mollie_connect_oauth" && s.status === "pending" && !!(n && t), A = s?.providerType === "stripe_connect_oauth" && s.status === "pending" && !!(n && t), [y, h] = p(null), [F, f] = p(K), [b, _] = p(null), [m, v] = p(null), [$, w] = p(A), [E, S] = p(null), L = `/${n ?? ""}/secure-payment-link/${t ?? ""}/success`;
108
+ function we() {
109
+ const { t: r, i18n: d } = k(), l = j(), o = G(), { storeSlug: n, token: t } = o, s = o.session, b = o.errorMessage ?? (o.errorKey ? r(`secure_payment_link.errors.${o.errorKey}`) : null), K = s?.providerType === "mollie_connect_oauth" && s.status === "pending" && !!(n && t), A = s?.providerType === "stripe_connect_oauth" && s.status === "pending" && !!(n && t), [y, h] = p(null), [F, f] = p(K), [N, _] = p(null), [m, v] = p(null), [$, w] = p(A), [E, S] = p(null), L = `/${n ?? ""}/secure-payment-link/${t ?? ""}/success`;
109
110
  T(() => {
110
111
  if (!s || !n || !t) {
111
112
  h(null), _(null), f(!1);
@@ -115,7 +116,7 @@ function ve() {
115
116
  h(null), _(null), f(!1);
116
117
  return;
117
118
  }
118
- let o = !1;
119
+ let a = !1;
119
120
  return f(!0), _(null), h(null), (async () => {
120
121
  try {
121
122
  const u = await g(
@@ -125,24 +126,24 @@ function ve() {
125
126
  token: t
126
127
  }
127
128
  ), i = U.parse(u);
128
- if (o) return;
129
+ if (a) return;
129
130
  if (!i.success || !i.profileId) {
130
131
  _(i.message || r("secure_payment_link.errors.session_failed"));
131
132
  return;
132
133
  }
133
134
  h(i);
134
135
  } catch (u) {
135
- if (o) return;
136
+ if (a) return;
136
137
  console.error("Failed to create mollie secure session", u), _(r("secure_payment_link.errors.session_failed"));
137
138
  } finally {
138
- o || f(!1);
139
+ a || f(!1);
139
140
  }
140
141
  })(), () => {
141
- o = !0;
142
+ a = !0;
142
143
  };
143
144
  }, [s, n, r, t]), T(() => {
144
145
  if (!s || s.providerType !== "stripe_connect_oauth" || s.status !== "pending" || !n || !t) return;
145
- let o = !1;
146
+ let a = !1;
146
147
  return w(!0), S(null), v(null), (async () => {
147
148
  try {
148
149
  const u = await g(
@@ -152,25 +153,25 @@ function ve() {
152
153
  token: t
153
154
  }
154
155
  ), i = Z.parse(u);
155
- if (o) return;
156
+ if (a) return;
156
157
  if (!i.success || !i.clientSecret || !i.payment) {
157
158
  S(i.message || r("secure_payment_link.errors.session_failed"));
158
159
  return;
159
160
  }
160
161
  v(i);
161
162
  } catch (u) {
162
- if (o) return;
163
+ if (a) return;
163
164
  console.error("Failed to create stripe secure session", u), S(r("secure_payment_link.errors.session_failed"));
164
165
  } finally {
165
- o || w(!1);
166
+ a || w(!1);
166
167
  }
167
168
  })(), () => {
168
- o = !0;
169
+ a = !0;
169
170
  };
170
171
  }, [s, n, r, t]);
171
172
  const P = M(() => {
172
- const o = m?.stripePublishableKey?.trim() || ae;
173
- return !o || !m?.stripeAccountId ? null : D(o, {
173
+ const a = m?.stripePublishableKey?.trim() || oe;
174
+ return !a || !m?.stripeAccountId ? null : z(a, {
174
175
  stripeAccount: m.stripeAccountId
175
176
  });
176
177
  }, [m?.stripeAccountId, m?.stripePublishableKey]), I = M(() => {
@@ -178,18 +179,18 @@ function ve() {
178
179
  return {
179
180
  clientSecret: m.clientSecret
180
181
  };
181
- }, [m?.clientSecret]), B = s ? oe(s.amountMinor, s.currency, d.language) : "—";
182
- return N || !s ? /* @__PURE__ */ e("div", { className: "mx-auto max-w-4xl px-4 py-14 sm:px-6", children: /* @__PURE__ */ e(x, { className: "border-destructive/25 bg-white p-5 sm:p-6 shadow-sm", children: /* @__PURE__ */ c("div", { className: "flex items-start gap-3", children: [
183
- /* @__PURE__ */ e(J, { className: "mt-0.5 h-5 w-5 text-destructive", "aria-hidden": "true" }),
182
+ }, [m?.clientSecret]), B = s ? ae(s.amountMinor, s.currency, d.language) : "—";
183
+ return b || !s ? /* @__PURE__ */ e("div", { className: "mx-auto max-w-4xl px-4 py-14 sm:px-6", children: /* @__PURE__ */ e(x, { className: "border-destructive/25 bg-white p-5 sm:p-6 shadow-sm", children: /* @__PURE__ */ c("div", { className: "flex items-start gap-3", children: [
184
+ /* @__PURE__ */ e(Q, { className: "mt-0.5 h-5 w-5 text-destructive", "aria-hidden": "true" }),
184
185
  /* @__PURE__ */ c("div", { className: "space-y-3", children: [
185
186
  /* @__PURE__ */ e("h1", { className: "text-xl font-semibold tracking-tight text-slate-950", children: /* @__PURE__ */ e("span", { children: r("secure_payment_link.errors.title") }) }),
186
- /* @__PURE__ */ e("p", { className: "text-sm text-slate-700", children: /* @__PURE__ */ e("span", { children: N ?? r("secure_payment_link.errors.invalid_link") }) }),
187
+ /* @__PURE__ */ e("p", { className: "text-sm text-slate-700", children: /* @__PURE__ */ e("span", { children: b ?? r("secure_payment_link.errors.invalid_link") }) }),
187
188
  /* @__PURE__ */ e(Y, { to: `/${n ?? ""}`, children: /* @__PURE__ */ e(ne, { variant: "outline", children: /* @__PURE__ */ e("span", { children: r("secure_payment_link.back_to_store") }) }) })
188
189
  ] })
189
190
  ] }) }) }) : /* @__PURE__ */ e("div", { className: "mx-auto max-w-5xl px-4 py-10 sm:px-6", children: /* @__PURE__ */ c("div", { className: "grid gap-6 lg:grid-cols-[1fr_1fr]", children: [
190
191
  /* @__PURE__ */ e(x, { className: "border-slate-200 bg-white p-5 shadow-sm", children: /* @__PURE__ */ c("div", { className: "space-y-5", children: [
191
- /* @__PURE__ */ c("div", { className: "inline-flex items-center gap-2 rounded-full border border-emerald-200 bg-emerald-50 px-3 py-1 text-xs font-medium text-emerald-700", children: [
192
- /* @__PURE__ */ e(Q, { className: "h-3.5 w-3.5", "aria-hidden": "true" }),
192
+ /* @__PURE__ */ c("div", { className: "inline-flex items-center gap-2 rounded-full border border-success-border bg-success-subtle px-3 py-1 text-xs font-medium text-success", children: [
193
+ /* @__PURE__ */ e(V, { className: "h-3.5 w-3.5", "aria-hidden": "true" }),
193
194
  /* @__PURE__ */ e("span", { children: r("secure_payment_link.secured_badge") })
194
195
  ] }),
195
196
  /* @__PURE__ */ c("div", { children: [
@@ -214,18 +215,18 @@ function ve() {
214
215
  /* @__PURE__ */ e(x, { className: "border-slate-200 bg-white p-5 shadow-sm", children: s.providerType === "mollie_connect_oauth" ? /* @__PURE__ */ c("div", { className: "space-y-4", children: [
215
216
  /* @__PURE__ */ e("h2", { className: "text-lg font-semibold text-slate-950", children: /* @__PURE__ */ e("span", { children: r("secure_payment_link.mollie.form_title") }) }),
216
217
  /* @__PURE__ */ e("p", { className: "text-sm text-slate-600", children: /* @__PURE__ */ e("span", { children: r("secure_payment_link.mollie.form_description") }) }),
217
- F ? /* @__PURE__ */ e(C, {}) : b ? /* @__PURE__ */ e("p", { className: "text-sm text-destructive", children: /* @__PURE__ */ e("span", { children: b }) }) : y?.profileId ? /* @__PURE__ */ e(
218
+ F ? /* @__PURE__ */ e(C, {}) : N ? /* @__PURE__ */ e("p", { className: "text-sm text-destructive", children: /* @__PURE__ */ e("span", { children: N }) }) : y?.profileId ? /* @__PURE__ */ e(
218
219
  se,
219
220
  {
220
221
  profileId: y.profileId,
221
222
  testmode: y.testmode === !0,
222
- onSubmit: async (o) => {
223
+ onSubmit: async (a) => {
223
224
  const u = await g(
224
225
  R,
225
226
  {
226
227
  storeSlug: n,
227
228
  token: t,
228
- cardToken: o
229
+ cardToken: a
229
230
  }
230
231
  ), i = U.parse(u);
231
232
  if (!i.success)
@@ -241,7 +242,7 @@ function ve() {
241
242
  }
242
243
  }
243
244
  ) : /* @__PURE__ */ e("p", { className: "text-sm text-destructive", children: /* @__PURE__ */ e("span", { children: r("secure_payment_link.errors.session_failed") }) })
244
- ] }) : $ ? /* @__PURE__ */ e(C, {}) : E ? /* @__PURE__ */ e("p", { className: "text-sm text-destructive", children: /* @__PURE__ */ e("span", { children: E }) }) : !m?.clientSecret || !P || !I ? /* @__PURE__ */ e("p", { className: "text-sm text-destructive", children: /* @__PURE__ */ e("span", { children: r("secure_payment_link.errors.missing_publishable_key") }) }) : /* @__PURE__ */ e(z, { stripe: P, options: I, children: /* @__PURE__ */ e(
245
+ ] }) : $ ? /* @__PURE__ */ e(C, {}) : E ? /* @__PURE__ */ e("p", { className: "text-sm text-destructive", children: /* @__PURE__ */ e("span", { children: E }) }) : !m?.clientSecret || !P || !I ? /* @__PURE__ */ e("p", { className: "text-sm text-destructive", children: /* @__PURE__ */ e("span", { children: r("secure_payment_link.errors.missing_publishable_key") }) }) : /* @__PURE__ */ e(D, { stripe: P, options: I, children: /* @__PURE__ */ e(
245
246
  ce,
246
247
  {
247
248
  clientSecret: m.clientSecret,
@@ -253,6 +254,6 @@ function ve() {
253
254
  ] }) });
254
255
  }
255
256
  export {
256
- ve as default,
257
- be as loader
257
+ we as default,
258
+ ve as loader
258
259
  };
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentLinkSuccessPage.d.ts","sourceRoot":"","sources":["../../src/pages/PaymentLinkSuccessPage.tsx"],"names":[],"mappings":"AAgCA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoDA,CAAA;AAEnB,MAAM,CAAC,OAAO,UAAU,sBAAsB,4CAiK7C"}
1
+ {"version":3,"file":"PaymentLinkSuccessPage.d.ts","sourceRoot":"","sources":["../../src/pages/PaymentLinkSuccessPage.tsx"],"names":[],"mappings":"AAiCA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoDA,CAAA;AAEnB,MAAM,CAAC,OAAO,UAAU,sBAAsB,4CAiK7C"}