@srimandir/pitru-paksh-common 2.0.23 → 2.0.24

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 (42) hide show
  1. package/dist/components/BillDetails/BillDetails.d.ts +6 -2
  2. package/dist/components/BillDetails/BillDetails.translations.d.ts +9 -0
  3. package/dist/components/BookingSummaryBanner/BookingSummaryBanner.d.ts +25 -4
  4. package/dist/components/BookingSummaryBanner/BookingSummaryBanner.translations.d.ts +18 -0
  5. package/dist/components/BookingSummaryBanner/index.d.ts +3 -1
  6. package/dist/components/CartReviewItem/CartReviewItem.d.ts +27 -4
  7. package/dist/components/CartReviewItem/index.d.ts +2 -2
  8. package/dist/components/CartView/CartView.d.ts +50 -21
  9. package/dist/components/CartView/CartView.translations.d.ts +24 -0
  10. package/dist/components/CartView/index.d.ts +1 -1
  11. package/dist/components/CheckoutBar/CheckoutBar.d.ts +11 -1
  12. package/dist/components/CheckoutBar/CheckoutBar.translations.d.ts +14 -0
  13. package/dist/components/CheckoutBar/index.d.ts +2 -0
  14. package/dist/components/ConfirmPujaDetailsModal/ConfirmPujaDetailsModal.d.ts +11 -0
  15. package/dist/components/ConfirmPujaDetailsModal/ConfirmPujaDetailsModal.translations.d.ts +22 -0
  16. package/dist/components/ConfirmPujaDetailsModal/ConfirmPujaDetailsModal.types.d.ts +25 -0
  17. package/dist/components/ConfirmPujaDetailsModal/index.d.ts +4 -0
  18. package/dist/components/GotraInfoModal/GotraInfoModal.d.ts +9 -0
  19. package/dist/components/GotraInfoModal/GotraInfoModal.translations.d.ts +15 -0
  20. package/dist/components/GotraInfoModal/GotraInfoModal.types.d.ts +12 -0
  21. package/dist/components/GotraInfoModal/index.d.ts +4 -0
  22. package/dist/components/PackageSelect/PackageSelect.d.ts +17 -5
  23. package/dist/components/PackageSelect/PackageSelect.translations.d.ts +23 -0
  24. package/dist/components/PackageSelect/index.d.ts +2 -0
  25. package/dist/components/PujaDetailsForm/PujaDetailsForm.constants.d.ts +6 -0
  26. package/dist/components/PujaDetailsForm/PujaDetailsForm.d.ts +25 -0
  27. package/dist/components/PujaDetailsForm/PujaDetailsForm.translations.d.ts +49 -0
  28. package/dist/components/PujaDetailsForm/PujaDetailsForm.types.d.ts +77 -0
  29. package/dist/components/PujaDetailsForm/index.d.ts +4 -0
  30. package/dist/components/SarvaPitruCard/SarvaPitruCard.d.ts +33 -0
  31. package/dist/components/SarvaPitruCard/SarvaPitruCard.translations.d.ts +19 -0
  32. package/dist/components/SarvaPitruCard/index.d.ts +4 -0
  33. package/dist/components/ServiceOfferCard/ServiceOfferCard.d.ts +1 -1
  34. package/dist/dev/main.d.ts +1 -0
  35. package/dist/index.d.ts +26 -6
  36. package/dist/pitru-paksh-common.d.ts +77 -0
  37. package/dist/pitru-paksh-common.js +2023 -1308
  38. package/dist/pitru-paksh-common.umd.cjs +8 -8
  39. package/dist/style.css +1 -1
  40. package/package.json +6 -6
  41. package/dist/components/EmailSheet/EmailSheet.d.ts +0 -18
  42. package/dist/components/EmailSheet/index.d.ts +0 -2
@@ -1,110 +1,110 @@
1
- import { cn as c, BottomSheet as xe, DEFAULT_COUNTRIES as qt, getMaxLengthForCountry as Ke, validatePhoneByCountryCode as Ht, getFlagEmoji as Je } from "@srimandir/common";
2
- import { cn as wa } from "@srimandir/common";
3
- import * as Yt from "react";
4
- import C, { useState as V, useMemo as Ut, useRef as Gt, useEffect as Zt } from "react";
5
- import { cva as Kt } from "class-variance-authority";
6
- import Jt from "react-player";
7
- var ie = { exports: {} }, te = {};
8
- var Xe;
9
- function Xt() {
10
- if (Xe) return te;
11
- Xe = 1;
12
- var r = C, a = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
13
- function f(m, d, p) {
14
- var u, h = {}, v = null, g = null;
15
- p !== void 0 && (v = "" + p), d.key !== void 0 && (v = "" + d.key), d.ref !== void 0 && (g = d.ref);
16
- for (u in d) n.call(d, u) && !o.hasOwnProperty(u) && (h[u] = d[u]);
17
- if (m && m.defaultProps) for (u in d = m.defaultProps, d) h[u] === void 0 && (h[u] = d[u]);
18
- return { $$typeof: a, type: m, key: v, ref: g, props: h, _owner: i.current };
1
+ import { cn as o, BottomSheet as xe, DEFAULT_COUNTRIES as fa, getMaxLengthForCountry as Ie, validatePhoneByCountryCode as Lt, getFlagEmoji as Me } from "@srimandir/common";
2
+ import { cn as as } from "@srimandir/common";
3
+ import * as pa from "react";
4
+ import L, { useState as Y, useMemo as ha, useRef as St, useEffect as Pt } from "react";
5
+ import { cva as ma } from "class-variance-authority";
6
+ import ba from "react-player";
7
+ var ye = { exports: {} }, ce = {};
8
+ var nt;
9
+ function ga() {
10
+ if (nt) return ce;
11
+ nt = 1;
12
+ var t = L, r = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
13
+ function x(f, u, m) {
14
+ var h, c = {}, v = null, g = null;
15
+ m !== void 0 && (v = "" + m), u.key !== void 0 && (v = "" + u.key), u.ref !== void 0 && (g = u.ref);
16
+ for (h in u) n.call(u, h) && !d.hasOwnProperty(h) && (c[h] = u[h]);
17
+ if (f && f.defaultProps) for (h in u = f.defaultProps, u) c[h] === void 0 && (c[h] = u[h]);
18
+ return { $$typeof: r, type: f, key: v, ref: g, props: c, _owner: i.current };
19
19
  }
20
- return te.Fragment = s, te.jsx = f, te.jsxs = f, te;
20
+ return ce.Fragment = s, ce.jsx = x, ce.jsxs = x, ce;
21
21
  }
22
- var re = {};
23
- var Qe;
24
- function Qt() {
25
- return Qe || (Qe = 1, process.env.NODE_ENV !== "production" && (function() {
26
- var r = C, a = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), i = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), f = /* @__PURE__ */ Symbol.for("react.provider"), m = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), p = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), v = /* @__PURE__ */ Symbol.for("react.lazy"), g = /* @__PURE__ */ Symbol.for("react.offscreen"), N = Symbol.iterator, R = "@@iterator";
27
- function _(t) {
28
- if (t === null || typeof t != "object")
22
+ var de = {};
23
+ var lt;
24
+ function va() {
25
+ return lt || (lt = 1, process.env.NODE_ENV !== "production" && (function() {
26
+ var t = L, r = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), i = /* @__PURE__ */ Symbol.for("react.strict_mode"), d = /* @__PURE__ */ Symbol.for("react.profiler"), x = /* @__PURE__ */ Symbol.for("react.provider"), f = /* @__PURE__ */ Symbol.for("react.context"), u = /* @__PURE__ */ Symbol.for("react.forward_ref"), m = /* @__PURE__ */ Symbol.for("react.suspense"), h = /* @__PURE__ */ Symbol.for("react.suspense_list"), c = /* @__PURE__ */ Symbol.for("react.memo"), v = /* @__PURE__ */ Symbol.for("react.lazy"), g = /* @__PURE__ */ Symbol.for("react.offscreen"), y = Symbol.iterator, P = "@@iterator";
27
+ function k(a) {
28
+ if (a === null || typeof a != "object")
29
29
  return null;
30
- var l = N && t[N] || t[R];
30
+ var l = y && a[y] || a[P];
31
31
  return typeof l == "function" ? l : null;
32
32
  }
33
- var y = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
34
- function j(t) {
33
+ var w = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
34
+ function j(a) {
35
35
  {
36
- for (var l = arguments.length, x = new Array(l > 1 ? l - 1 : 0), b = 1; b < l; b++)
37
- x[b - 1] = arguments[b];
38
- O("error", t, x);
36
+ for (var l = arguments.length, p = new Array(l > 1 ? l - 1 : 0), N = 1; N < l; N++)
37
+ p[N - 1] = arguments[N];
38
+ b("error", a, p);
39
39
  }
40
40
  }
41
- function O(t, l, x) {
41
+ function b(a, l, p) {
42
42
  {
43
- var b = y.ReactDebugCurrentFrame, S = b.getStackAddendum();
44
- S !== "" && (l += "%s", x = x.concat([S]));
45
- var z = x.map(function(E) {
43
+ var N = w.ReactDebugCurrentFrame, T = N.getStackAddendum();
44
+ T !== "" && (l += "%s", p = p.concat([T]));
45
+ var z = p.map(function(E) {
46
46
  return String(E);
47
47
  });
48
- z.unshift("Warning: " + l), Function.prototype.apply.call(console[t], console, z);
48
+ z.unshift("Warning: " + l), Function.prototype.apply.call(console[a], console, z);
49
49
  }
50
50
  }
51
- var w = !1, P = !1, $ = !1, Y = !1, W = !1, q;
51
+ var _ = !1, O = !1, F = !1, W = !1, U = !1, q;
52
52
  q = /* @__PURE__ */ Symbol.for("react.module.reference");
53
- function M(t) {
54
- return !!(typeof t == "string" || typeof t == "function" || t === n || t === o || W || t === i || t === p || t === u || Y || t === g || w || P || $ || typeof t == "object" && t !== null && (t.$$typeof === v || t.$$typeof === h || t.$$typeof === f || t.$$typeof === m || t.$$typeof === d || // This needs to include all possible module reference object
53
+ function D(a) {
54
+ return !!(typeof a == "string" || typeof a == "function" || a === n || a === d || U || a === i || a === m || a === h || W || a === g || _ || O || F || typeof a == "object" && a !== null && (a.$$typeof === v || a.$$typeof === c || a.$$typeof === x || a.$$typeof === f || a.$$typeof === u || // This needs to include all possible module reference object
55
55
  // types supported by any Flight configuration anywhere since
56
56
  // we don't know which Flight build this will end up being used
57
57
  // with.
58
- t.$$typeof === q || t.getModuleId !== void 0));
58
+ a.$$typeof === q || a.getModuleId !== void 0));
59
59
  }
60
- function X(t, l, x) {
61
- var b = t.displayName;
62
- if (b)
63
- return b;
64
- var S = l.displayName || l.name || "";
65
- return S !== "" ? x + "(" + S + ")" : x;
60
+ function G(a, l, p) {
61
+ var N = a.displayName;
62
+ if (N)
63
+ return N;
64
+ var T = l.displayName || l.name || "";
65
+ return T !== "" ? p + "(" + T + ")" : p;
66
66
  }
67
- function U(t) {
68
- return t.displayName || "Context";
67
+ function K(a) {
68
+ return a.displayName || "Context";
69
69
  }
70
- function B(t) {
71
- if (t == null)
70
+ function M(a) {
71
+ if (a == null)
72
72
  return null;
73
- if (typeof t.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
74
- return t.displayName || t.name || null;
75
- if (typeof t == "string")
76
- return t;
77
- switch (t) {
73
+ if (typeof a.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof a == "function")
74
+ return a.displayName || a.name || null;
75
+ if (typeof a == "string")
76
+ return a;
77
+ switch (a) {
78
78
  case n:
79
79
  return "Fragment";
80
80
  case s:
81
81
  return "Portal";
82
- case o:
82
+ case d:
83
83
  return "Profiler";
84
84
  case i:
85
85
  return "StrictMode";
86
- case p:
86
+ case m:
87
87
  return "Suspense";
88
- case u:
88
+ case h:
89
89
  return "SuspenseList";
90
90
  }
91
- if (typeof t == "object")
92
- switch (t.$$typeof) {
93
- case m:
94
- var l = t;
95
- return U(l) + ".Consumer";
91
+ if (typeof a == "object")
92
+ switch (a.$$typeof) {
96
93
  case f:
97
- var x = t;
98
- return U(x._context) + ".Provider";
99
- case d:
100
- return X(t, t.render, "ForwardRef");
101
- case h:
102
- var b = t.displayName || null;
103
- return b !== null ? b : B(t.type) || "Memo";
94
+ var l = a;
95
+ return K(l) + ".Consumer";
96
+ case x:
97
+ var p = a;
98
+ return K(p._context) + ".Provider";
99
+ case u:
100
+ return G(a, a.render, "ForwardRef");
101
+ case c:
102
+ var N = a.displayName || null;
103
+ return N !== null ? N : M(a.type) || "Memo";
104
104
  case v: {
105
- var S = t, z = S._payload, E = S._init;
105
+ var T = a, z = T._payload, E = T._init;
106
106
  try {
107
- return B(E(z));
107
+ return M(E(z));
108
108
  } catch {
109
109
  return null;
110
110
  }
@@ -112,101 +112,101 @@ function Qt() {
112
112
  }
113
113
  return null;
114
114
  }
115
- var G = Object.assign, Q = 0, Ee, Re, Se, ze, Oe, Pe, Te;
116
- function Le() {
115
+ var V = Object.assign, Z = 0, J, X, ae, re, fe, pe, he;
116
+ function me() {
117
117
  }
118
- Le.__reactDisabledLog = !0;
119
- function gt() {
118
+ me.__reactDisabledLog = !0;
119
+ function C() {
120
120
  {
121
- if (Q === 0) {
122
- Ee = console.log, Re = console.info, Se = console.warn, ze = console.error, Oe = console.group, Pe = console.groupCollapsed, Te = console.groupEnd;
123
- var t = {
121
+ if (Z === 0) {
122
+ J = console.log, X = console.info, ae = console.warn, re = console.error, fe = console.group, pe = console.groupCollapsed, he = console.groupEnd;
123
+ var a = {
124
124
  configurable: !0,
125
125
  enumerable: !0,
126
- value: Le,
126
+ value: me,
127
127
  writable: !0
128
128
  };
129
129
  Object.defineProperties(console, {
130
- info: t,
131
- log: t,
132
- warn: t,
133
- error: t,
134
- group: t,
135
- groupCollapsed: t,
136
- groupEnd: t
130
+ info: a,
131
+ log: a,
132
+ warn: a,
133
+ error: a,
134
+ group: a,
135
+ groupCollapsed: a,
136
+ groupEnd: a
137
137
  });
138
138
  }
139
- Q++;
139
+ Z++;
140
140
  }
141
141
  }
142
- function bt() {
142
+ function I() {
143
143
  {
144
- if (Q--, Q === 0) {
145
- var t = {
144
+ if (Z--, Z === 0) {
145
+ var a = {
146
146
  configurable: !0,
147
147
  enumerable: !0,
148
148
  writable: !0
149
149
  };
150
150
  Object.defineProperties(console, {
151
- log: G({}, t, {
152
- value: Ee
151
+ log: V({}, a, {
152
+ value: J
153
153
  }),
154
- info: G({}, t, {
155
- value: Re
154
+ info: V({}, a, {
155
+ value: X
156
156
  }),
157
- warn: G({}, t, {
158
- value: Se
157
+ warn: V({}, a, {
158
+ value: ae
159
159
  }),
160
- error: G({}, t, {
161
- value: ze
160
+ error: V({}, a, {
161
+ value: re
162
162
  }),
163
- group: G({}, t, {
164
- value: Oe
163
+ group: V({}, a, {
164
+ value: fe
165
165
  }),
166
- groupCollapsed: G({}, t, {
167
- value: Pe
166
+ groupCollapsed: V({}, a, {
167
+ value: pe
168
168
  }),
169
- groupEnd: G({}, t, {
170
- value: Te
169
+ groupEnd: V({}, a, {
170
+ value: he
171
171
  })
172
172
  });
173
173
  }
174
- Q < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
174
+ Z < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
175
175
  }
176
176
  }
177
- var me = y.ReactCurrentDispatcher, he;
178
- function ae(t, l, x) {
177
+ var Q = w.ReactCurrentDispatcher, Se;
178
+ function be(a, l, p) {
179
179
  {
180
- if (he === void 0)
180
+ if (Se === void 0)
181
181
  try {
182
182
  throw Error();
183
- } catch (S) {
184
- var b = S.stack.trim().match(/\n( *(at )?)/);
185
- he = b && b[1] || "";
183
+ } catch (T) {
184
+ var N = T.stack.trim().match(/\n( *(at )?)/);
185
+ Se = N && N[1] || "";
186
186
  }
187
187
  return `
188
- ` + he + t;
188
+ ` + Se + a;
189
189
  }
190
190
  }
191
- var pe = !1, se;
191
+ var Pe = !1, ge;
192
192
  {
193
- var vt = typeof WeakMap == "function" ? WeakMap : Map;
194
- se = new vt();
193
+ var Vt = typeof WeakMap == "function" ? WeakMap : Map;
194
+ ge = new Vt();
195
195
  }
196
- function Ae(t, l) {
197
- if (!t || pe)
196
+ function We(a, l) {
197
+ if (!a || Pe)
198
198
  return "";
199
199
  {
200
- var x = se.get(t);
201
- if (x !== void 0)
202
- return x;
200
+ var p = ge.get(a);
201
+ if (p !== void 0)
202
+ return p;
203
203
  }
204
- var b;
205
- pe = !0;
206
- var S = Error.prepareStackTrace;
204
+ var N;
205
+ Pe = !0;
206
+ var T = Error.prepareStackTrace;
207
207
  Error.prepareStackTrace = void 0;
208
208
  var z;
209
- z = me.current, me.current = null, gt();
209
+ z = Q.current, Q.current = null, C();
210
210
  try {
211
211
  if (l) {
212
212
  var E = function() {
@@ -219,506 +219,506 @@ function Qt() {
219
219
  }), typeof Reflect == "object" && Reflect.construct) {
220
220
  try {
221
221
  Reflect.construct(E, []);
222
- } catch (I) {
223
- b = I;
222
+ } catch (H) {
223
+ N = H;
224
224
  }
225
- Reflect.construct(t, [], E);
225
+ Reflect.construct(a, [], E);
226
226
  } else {
227
227
  try {
228
228
  E.call();
229
- } catch (I) {
230
- b = I;
229
+ } catch (H) {
230
+ N = H;
231
231
  }
232
- t.call(E.prototype);
232
+ a.call(E.prototype);
233
233
  }
234
234
  } else {
235
235
  try {
236
236
  throw Error();
237
- } catch (I) {
238
- b = I;
237
+ } catch (H) {
238
+ N = H;
239
239
  }
240
- t();
240
+ a();
241
241
  }
242
- } catch (I) {
243
- if (I && b && typeof I.stack == "string") {
244
- for (var k = I.stack.split(`
245
- `), F = b.stack.split(`
246
- `), L = k.length - 1, A = F.length - 1; L >= 1 && A >= 0 && k[L] !== F[A]; )
247
- A--;
248
- for (; L >= 1 && A >= 0; L--, A--)
249
- if (k[L] !== F[A]) {
250
- if (L !== 1 || A !== 1)
242
+ } catch (H) {
243
+ if (H && N && typeof H.stack == "string") {
244
+ for (var S = H.stack.split(`
245
+ `), $ = N.stack.split(`
246
+ `), A = S.length - 1, B = $.length - 1; A >= 1 && B >= 0 && S[A] !== $[B]; )
247
+ B--;
248
+ for (; A >= 1 && B >= 0; A--, B--)
249
+ if (S[A] !== $[B]) {
250
+ if (A !== 1 || B !== 1)
251
251
  do
252
- if (L--, A--, A < 0 || k[L] !== F[A]) {
253
- var D = `
254
- ` + k[L].replace(" at new ", " at ");
255
- return t.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", t.displayName)), typeof t == "function" && se.set(t, D), D;
252
+ if (A--, B--, B < 0 || S[A] !== $[B]) {
253
+ var ee = `
254
+ ` + S[A].replace(" at new ", " at ");
255
+ return a.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", a.displayName)), typeof a == "function" && ge.set(a, ee), ee;
256
256
  }
257
- while (L >= 1 && A >= 0);
257
+ while (A >= 1 && B >= 0);
258
258
  break;
259
259
  }
260
260
  }
261
261
  } finally {
262
- pe = !1, me.current = z, bt(), Error.prepareStackTrace = S;
262
+ Pe = !1, Q.current = z, I(), Error.prepareStackTrace = T;
263
263
  }
264
- var J = t ? t.displayName || t.name : "", Z = J ? ae(J) : "";
265
- return typeof t == "function" && se.set(t, Z), Z;
264
+ var le = a ? a.displayName || a.name : "", se = le ? be(le) : "";
265
+ return typeof a == "function" && ge.set(a, se), se;
266
266
  }
267
- function jt(t, l, x) {
268
- return Ae(t, !1);
267
+ function Ht(a, l, p) {
268
+ return We(a, !1);
269
269
  }
270
- function yt(t) {
271
- var l = t.prototype;
270
+ function Wt(a) {
271
+ var l = a.prototype;
272
272
  return !!(l && l.isReactComponent);
273
273
  }
274
- function ne(t, l, x) {
275
- if (t == null)
274
+ function ve(a, l, p) {
275
+ if (a == null)
276
276
  return "";
277
- if (typeof t == "function")
278
- return Ae(t, yt(t));
279
- if (typeof t == "string")
280
- return ae(t);
281
- switch (t) {
282
- case p:
283
- return ae("Suspense");
284
- case u:
285
- return ae("SuspenseList");
277
+ if (typeof a == "function")
278
+ return We(a, Wt(a));
279
+ if (typeof a == "string")
280
+ return be(a);
281
+ switch (a) {
282
+ case m:
283
+ return be("Suspense");
284
+ case h:
285
+ return be("SuspenseList");
286
286
  }
287
- if (typeof t == "object")
288
- switch (t.$$typeof) {
289
- case d:
290
- return jt(t.render);
291
- case h:
292
- return ne(t.type, l, x);
287
+ if (typeof a == "object")
288
+ switch (a.$$typeof) {
289
+ case u:
290
+ return Ht(a.render);
291
+ case c:
292
+ return ve(a.type, l, p);
293
293
  case v: {
294
- var b = t, S = b._payload, z = b._init;
294
+ var N = a, T = N._payload, z = N._init;
295
295
  try {
296
- return ne(z(S), l, x);
296
+ return ve(z(T), l, p);
297
297
  } catch {
298
298
  }
299
299
  }
300
300
  }
301
301
  return "";
302
302
  }
303
- var ee = Object.prototype.hasOwnProperty, Me = {}, Fe = y.ReactDebugCurrentFrame;
304
- function le(t) {
305
- if (t) {
306
- var l = t._owner, x = ne(t.type, t._source, l ? l.type : null);
307
- Fe.setExtraStackFrame(x);
303
+ var oe = Object.prototype.hasOwnProperty, Ue = {}, Ge = w.ReactDebugCurrentFrame;
304
+ function je(a) {
305
+ if (a) {
306
+ var l = a._owner, p = ve(a.type, a._source, l ? l.type : null);
307
+ Ge.setExtraStackFrame(p);
308
308
  } else
309
- Fe.setExtraStackFrame(null);
309
+ Ge.setExtraStackFrame(null);
310
310
  }
311
- function wt(t, l, x, b, S) {
311
+ function Ut(a, l, p, N, T) {
312
312
  {
313
- var z = Function.call.bind(ee);
314
- for (var E in t)
315
- if (z(t, E)) {
316
- var k = void 0;
313
+ var z = Function.call.bind(oe);
314
+ for (var E in a)
315
+ if (z(a, E)) {
316
+ var S = void 0;
317
317
  try {
318
- if (typeof t[E] != "function") {
319
- var F = Error((b || "React class") + ": " + x + " type `" + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[E] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
320
- throw F.name = "Invariant Violation", F;
318
+ if (typeof a[E] != "function") {
319
+ var $ = Error((N || "React class") + ": " + p + " type `" + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[E] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
320
+ throw $.name = "Invariant Violation", $;
321
321
  }
322
- k = t[E](l, E, b, x, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
323
- } catch (L) {
324
- k = L;
322
+ S = a[E](l, E, N, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
323
+ } catch (A) {
324
+ S = A;
325
325
  }
326
- k && !(k instanceof Error) && (le(S), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", x, E, typeof k), le(null)), k instanceof Error && !(k.message in Me) && (Me[k.message] = !0, le(S), j("Failed %s type: %s", x, k.message), le(null));
326
+ S && !(S instanceof Error) && (je(T), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", N || "React class", p, E, typeof S), je(null)), S instanceof Error && !(S.message in Ue) && (Ue[S.message] = !0, je(T), j("Failed %s type: %s", p, S.message), je(null));
327
327
  }
328
328
  }
329
329
  }
330
- var Nt = Array.isArray;
331
- function ge(t) {
332
- return Nt(t);
330
+ var Gt = Array.isArray;
331
+ function Ee(a) {
332
+ return Gt(a);
333
333
  }
334
- function kt(t) {
334
+ function Yt(a) {
335
335
  {
336
- var l = typeof Symbol == "function" && Symbol.toStringTag, x = l && t[Symbol.toStringTag] || t.constructor.name || "Object";
337
- return x;
336
+ var l = typeof Symbol == "function" && Symbol.toStringTag, p = l && a[Symbol.toStringTag] || a.constructor.name || "Object";
337
+ return p;
338
338
  }
339
339
  }
340
- function Ct(t) {
340
+ function qt(a) {
341
341
  try {
342
- return Ie(t), !1;
342
+ return Ye(a), !1;
343
343
  } catch {
344
344
  return !0;
345
345
  }
346
346
  }
347
- function Ie(t) {
348
- return "" + t;
347
+ function Ye(a) {
348
+ return "" + a;
349
349
  }
350
- function Be(t) {
351
- if (Ct(t))
352
- return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", kt(t)), Ie(t);
350
+ function qe(a) {
351
+ if (qt(a))
352
+ return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Yt(a)), Ye(a);
353
353
  }
354
- var De = y.ReactCurrentOwner, _t = {
354
+ var Ke = w.ReactCurrentOwner, Kt = {
355
355
  key: !0,
356
356
  ref: !0,
357
357
  __self: !0,
358
358
  __source: !0
359
- }, Ve, $e;
360
- function Et(t) {
361
- if (ee.call(t, "ref")) {
362
- var l = Object.getOwnPropertyDescriptor(t, "ref").get;
359
+ }, Ze, Je;
360
+ function Zt(a) {
361
+ if (oe.call(a, "ref")) {
362
+ var l = Object.getOwnPropertyDescriptor(a, "ref").get;
363
363
  if (l && l.isReactWarning)
364
364
  return !1;
365
365
  }
366
- return t.ref !== void 0;
366
+ return a.ref !== void 0;
367
367
  }
368
- function Rt(t) {
369
- if (ee.call(t, "key")) {
370
- var l = Object.getOwnPropertyDescriptor(t, "key").get;
368
+ function Jt(a) {
369
+ if (oe.call(a, "key")) {
370
+ var l = Object.getOwnPropertyDescriptor(a, "key").get;
371
371
  if (l && l.isReactWarning)
372
372
  return !1;
373
373
  }
374
- return t.key !== void 0;
374
+ return a.key !== void 0;
375
375
  }
376
- function St(t, l) {
377
- typeof t.ref == "string" && De.current;
376
+ function Xt(a, l) {
377
+ typeof a.ref == "string" && Ke.current;
378
378
  }
379
- function zt(t, l) {
379
+ function Qt(a, l) {
380
380
  {
381
- var x = function() {
382
- Ve || (Ve = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
381
+ var p = function() {
382
+ Ze || (Ze = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
383
383
  };
384
- x.isReactWarning = !0, Object.defineProperty(t, "key", {
385
- get: x,
384
+ p.isReactWarning = !0, Object.defineProperty(a, "key", {
385
+ get: p,
386
386
  configurable: !0
387
387
  });
388
388
  }
389
389
  }
390
- function Ot(t, l) {
390
+ function ea(a, l) {
391
391
  {
392
- var x = function() {
393
- $e || ($e = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
392
+ var p = function() {
393
+ Je || (Je = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
394
394
  };
395
- x.isReactWarning = !0, Object.defineProperty(t, "ref", {
396
- get: x,
395
+ p.isReactWarning = !0, Object.defineProperty(a, "ref", {
396
+ get: p,
397
397
  configurable: !0
398
398
  });
399
399
  }
400
400
  }
401
- var Pt = function(t, l, x, b, S, z, E) {
402
- var k = {
401
+ var ta = function(a, l, p, N, T, z, E) {
402
+ var S = {
403
403
  // This tag allows us to uniquely identify this as a React Element
404
- $$typeof: a,
404
+ $$typeof: r,
405
405
  // Built-in properties that belong on the element
406
- type: t,
406
+ type: a,
407
407
  key: l,
408
- ref: x,
408
+ ref: p,
409
409
  props: E,
410
410
  // Record the component responsible for creating this element.
411
411
  _owner: z
412
412
  };
413
- return k._store = {}, Object.defineProperty(k._store, "validated", {
413
+ return S._store = {}, Object.defineProperty(S._store, "validated", {
414
414
  configurable: !1,
415
415
  enumerable: !1,
416
416
  writable: !0,
417
417
  value: !1
418
- }), Object.defineProperty(k, "_self", {
418
+ }), Object.defineProperty(S, "_self", {
419
419
  configurable: !1,
420
420
  enumerable: !1,
421
421
  writable: !1,
422
- value: b
423
- }), Object.defineProperty(k, "_source", {
422
+ value: N
423
+ }), Object.defineProperty(S, "_source", {
424
424
  configurable: !1,
425
425
  enumerable: !1,
426
426
  writable: !1,
427
- value: S
428
- }), Object.freeze && (Object.freeze(k.props), Object.freeze(k)), k;
427
+ value: T
428
+ }), Object.freeze && (Object.freeze(S.props), Object.freeze(S)), S;
429
429
  };
430
- function Tt(t, l, x, b, S) {
430
+ function aa(a, l, p, N, T) {
431
431
  {
432
- var z, E = {}, k = null, F = null;
433
- x !== void 0 && (Be(x), k = "" + x), Rt(l) && (Be(l.key), k = "" + l.key), Et(l) && (F = l.ref, St(l, S));
432
+ var z, E = {}, S = null, $ = null;
433
+ p !== void 0 && (qe(p), S = "" + p), Jt(l) && (qe(l.key), S = "" + l.key), Zt(l) && ($ = l.ref, Xt(l, T));
434
434
  for (z in l)
435
- ee.call(l, z) && !_t.hasOwnProperty(z) && (E[z] = l[z]);
436
- if (t && t.defaultProps) {
437
- var L = t.defaultProps;
438
- for (z in L)
439
- E[z] === void 0 && (E[z] = L[z]);
435
+ oe.call(l, z) && !Kt.hasOwnProperty(z) && (E[z] = l[z]);
436
+ if (a && a.defaultProps) {
437
+ var A = a.defaultProps;
438
+ for (z in A)
439
+ E[z] === void 0 && (E[z] = A[z]);
440
440
  }
441
- if (k || F) {
442
- var A = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
443
- k && zt(E, A), F && Ot(E, A);
441
+ if (S || $) {
442
+ var B = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
443
+ S && Qt(E, B), $ && ea(E, B);
444
444
  }
445
- return Pt(t, k, F, S, b, De.current, E);
445
+ return ta(a, S, $, T, N, Ke.current, E);
446
446
  }
447
447
  }
448
- var be = y.ReactCurrentOwner, We = y.ReactDebugCurrentFrame;
449
- function K(t) {
450
- if (t) {
451
- var l = t._owner, x = ne(t.type, t._source, l ? l.type : null);
452
- We.setExtraStackFrame(x);
448
+ var Te = w.ReactCurrentOwner, Xe = w.ReactDebugCurrentFrame;
449
+ function ne(a) {
450
+ if (a) {
451
+ var l = a._owner, p = ve(a.type, a._source, l ? l.type : null);
452
+ Xe.setExtraStackFrame(p);
453
453
  } else
454
- We.setExtraStackFrame(null);
454
+ Xe.setExtraStackFrame(null);
455
455
  }
456
- var ve;
457
- ve = !1;
458
- function je(t) {
459
- return typeof t == "object" && t !== null && t.$$typeof === a;
456
+ var Re;
457
+ Re = !1;
458
+ function Oe(a) {
459
+ return typeof a == "object" && a !== null && a.$$typeof === r;
460
460
  }
461
- function qe() {
461
+ function Qe() {
462
462
  {
463
- if (be.current) {
464
- var t = B(be.current.type);
465
- if (t)
463
+ if (Te.current) {
464
+ var a = M(Te.current.type);
465
+ if (a)
466
466
  return `
467
467
 
468
- Check the render method of \`` + t + "`.";
468
+ Check the render method of \`` + a + "`.";
469
469
  }
470
470
  return "";
471
471
  }
472
472
  }
473
- function Lt(t) {
473
+ function ra(a) {
474
474
  return "";
475
475
  }
476
- var He = {};
477
- function At(t) {
476
+ var et = {};
477
+ function sa(a) {
478
478
  {
479
- var l = qe();
479
+ var l = Qe();
480
480
  if (!l) {
481
- var x = typeof t == "string" ? t : t.displayName || t.name;
482
- x && (l = `
481
+ var p = typeof a == "string" ? a : a.displayName || a.name;
482
+ p && (l = `
483
483
 
484
- Check the top-level render call using <` + x + ">.");
484
+ Check the top-level render call using <` + p + ">.");
485
485
  }
486
486
  return l;
487
487
  }
488
488
  }
489
- function Ye(t, l) {
489
+ function tt(a, l) {
490
490
  {
491
- if (!t._store || t._store.validated || t.key != null)
491
+ if (!a._store || a._store.validated || a.key != null)
492
492
  return;
493
- t._store.validated = !0;
494
- var x = At(l);
495
- if (He[x])
493
+ a._store.validated = !0;
494
+ var p = sa(l);
495
+ if (et[p])
496
496
  return;
497
- He[x] = !0;
498
- var b = "";
499
- t && t._owner && t._owner !== be.current && (b = " It was passed a child from " + B(t._owner.type) + "."), K(t), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', x, b), K(null);
497
+ et[p] = !0;
498
+ var N = "";
499
+ a && a._owner && a._owner !== Te.current && (N = " It was passed a child from " + M(a._owner.type) + "."), ne(a), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', p, N), ne(null);
500
500
  }
501
501
  }
502
- function Ue(t, l) {
502
+ function at(a, l) {
503
503
  {
504
- if (typeof t != "object")
504
+ if (typeof a != "object")
505
505
  return;
506
- if (ge(t))
507
- for (var x = 0; x < t.length; x++) {
508
- var b = t[x];
509
- je(b) && Ye(b, l);
506
+ if (Ee(a))
507
+ for (var p = 0; p < a.length; p++) {
508
+ var N = a[p];
509
+ Oe(N) && tt(N, l);
510
510
  }
511
- else if (je(t))
512
- t._store && (t._store.validated = !0);
513
- else if (t) {
514
- var S = _(t);
515
- if (typeof S == "function" && S !== t.entries)
516
- for (var z = S.call(t), E; !(E = z.next()).done; )
517
- je(E.value) && Ye(E.value, l);
511
+ else if (Oe(a))
512
+ a._store && (a._store.validated = !0);
513
+ else if (a) {
514
+ var T = k(a);
515
+ if (typeof T == "function" && T !== a.entries)
516
+ for (var z = T.call(a), E; !(E = z.next()).done; )
517
+ Oe(E.value) && tt(E.value, l);
518
518
  }
519
519
  }
520
520
  }
521
- function Mt(t) {
521
+ function na(a) {
522
522
  {
523
- var l = t.type;
523
+ var l = a.type;
524
524
  if (l == null || typeof l == "string")
525
525
  return;
526
- var x;
526
+ var p;
527
527
  if (typeof l == "function")
528
- x = l.propTypes;
529
- else if (typeof l == "object" && (l.$$typeof === d || // Note: Memo only checks outer props here.
528
+ p = l.propTypes;
529
+ else if (typeof l == "object" && (l.$$typeof === u || // Note: Memo only checks outer props here.
530
530
  // Inner props are checked in the reconciler.
531
- l.$$typeof === h))
532
- x = l.propTypes;
531
+ l.$$typeof === c))
532
+ p = l.propTypes;
533
533
  else
534
534
  return;
535
- if (x) {
536
- var b = B(l);
537
- wt(x, t.props, "prop", b, t);
538
- } else if (l.PropTypes !== void 0 && !ve) {
539
- ve = !0;
540
- var S = B(l);
541
- j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", S || "Unknown");
535
+ if (p) {
536
+ var N = M(l);
537
+ Ut(p, a.props, "prop", N, a);
538
+ } else if (l.PropTypes !== void 0 && !Re) {
539
+ Re = !0;
540
+ var T = M(l);
541
+ j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", T || "Unknown");
542
542
  }
543
543
  typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
544
544
  }
545
545
  }
546
- function Ft(t) {
546
+ function la(a) {
547
547
  {
548
- for (var l = Object.keys(t.props), x = 0; x < l.length; x++) {
549
- var b = l[x];
550
- if (b !== "children" && b !== "key") {
551
- K(t), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), K(null);
548
+ for (var l = Object.keys(a.props), p = 0; p < l.length; p++) {
549
+ var N = l[p];
550
+ if (N !== "children" && N !== "key") {
551
+ ne(a), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", N), ne(null);
552
552
  break;
553
553
  }
554
554
  }
555
- t.ref !== null && (K(t), j("Invalid attribute `ref` supplied to `React.Fragment`."), K(null));
555
+ a.ref !== null && (ne(a), j("Invalid attribute `ref` supplied to `React.Fragment`."), ne(null));
556
556
  }
557
557
  }
558
- var Ge = {};
559
- function Ze(t, l, x, b, S, z) {
558
+ var rt = {};
559
+ function st(a, l, p, N, T, z) {
560
560
  {
561
- var E = M(t);
561
+ var E = D(a);
562
562
  if (!E) {
563
- var k = "";
564
- (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (k += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
565
- var F = Lt();
566
- F ? k += F : k += qe();
567
- var L;
568
- t === null ? L = "null" : ge(t) ? L = "array" : t !== void 0 && t.$$typeof === a ? (L = "<" + (B(t.type) || "Unknown") + " />", k = " Did you accidentally export a JSX literal instead of a component?") : L = typeof t, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, k);
563
+ var S = "";
564
+ (a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (S += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
565
+ var $ = ra();
566
+ $ ? S += $ : S += Qe();
567
+ var A;
568
+ a === null ? A = "null" : Ee(a) ? A = "array" : a !== void 0 && a.$$typeof === r ? (A = "<" + (M(a.type) || "Unknown") + " />", S = " Did you accidentally export a JSX literal instead of a component?") : A = typeof a, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", A, S);
569
569
  }
570
- var A = Tt(t, l, x, S, z);
571
- if (A == null)
572
- return A;
570
+ var B = aa(a, l, p, T, z);
571
+ if (B == null)
572
+ return B;
573
573
  if (E) {
574
- var D = l.children;
575
- if (D !== void 0)
576
- if (b)
577
- if (ge(D)) {
578
- for (var J = 0; J < D.length; J++)
579
- Ue(D[J], t);
580
- Object.freeze && Object.freeze(D);
574
+ var ee = l.children;
575
+ if (ee !== void 0)
576
+ if (N)
577
+ if (Ee(ee)) {
578
+ for (var le = 0; le < ee.length; le++)
579
+ at(ee[le], a);
580
+ Object.freeze && Object.freeze(ee);
581
581
  } else
582
582
  j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
583
583
  else
584
- Ue(D, t);
584
+ at(ee, a);
585
585
  }
586
- if (ee.call(l, "key")) {
587
- var Z = B(t), I = Object.keys(l).filter(function(Wt) {
588
- return Wt !== "key";
589
- }), ye = I.length > 0 ? "{key: someKey, " + I.join(": ..., ") + ": ...}" : "{key: someKey}";
590
- if (!Ge[Z + ye]) {
591
- var $t = I.length > 0 ? "{" + I.join(": ..., ") + ": ...}" : "{}";
586
+ if (oe.call(l, "key")) {
587
+ var se = M(a), H = Object.keys(l).filter(function(xa) {
588
+ return xa !== "key";
589
+ }), ze = H.length > 0 ? "{key: someKey, " + H.join(": ..., ") + ": ...}" : "{key: someKey}";
590
+ if (!rt[se + ze]) {
591
+ var ua = H.length > 0 ? "{" + H.join(": ..., ") + ": ...}" : "{}";
592
592
  j(`A props object containing a "key" prop is being spread into JSX:
593
593
  let props = %s;
594
594
  <%s {...props} />
595
595
  React keys must be passed directly to JSX without using spread:
596
596
  let props = %s;
597
- <%s key={someKey} {...props} />`, ye, Z, $t, Z), Ge[Z + ye] = !0;
597
+ <%s key={someKey} {...props} />`, ze, se, ua, se), rt[se + ze] = !0;
598
598
  }
599
599
  }
600
- return t === n ? Ft(A) : Mt(A), A;
600
+ return a === n ? la(B) : na(B), B;
601
601
  }
602
602
  }
603
- function It(t, l, x) {
604
- return Ze(t, l, x, !0);
603
+ function ia(a, l, p) {
604
+ return st(a, l, p, !0);
605
605
  }
606
- function Bt(t, l, x) {
607
- return Ze(t, l, x, !1);
606
+ function oa(a, l, p) {
607
+ return st(a, l, p, !1);
608
608
  }
609
- var Dt = Bt, Vt = It;
610
- re.Fragment = n, re.jsx = Dt, re.jsxs = Vt;
611
- })()), re;
609
+ var ca = oa, da = ia;
610
+ de.Fragment = n, de.jsx = ca, de.jsxs = da;
611
+ })()), de;
612
612
  }
613
- var et;
614
- function er() {
615
- return et || (et = 1, process.env.NODE_ENV === "production" ? ie.exports = Xt() : ie.exports = Qt()), ie.exports;
613
+ var it;
614
+ function ja() {
615
+ return it || (it = 1, process.env.NODE_ENV === "production" ? ye.exports = ga() : ye.exports = va()), ye.exports;
616
616
  }
617
- var e = er(), ct = {
617
+ var e = ja(), Et = {
618
618
  color: void 0,
619
619
  size: void 0,
620
620
  className: void 0,
621
621
  style: void 0,
622
622
  attr: void 0
623
- }, tt = C.createContext && /* @__PURE__ */ C.createContext(ct), tr = ["attr", "size", "title"];
624
- function rr(r, a) {
625
- if (r == null) return {};
626
- var s, n, i = ar(r, a);
623
+ }, ot = L.createContext && /* @__PURE__ */ L.createContext(Et), ya = ["attr", "size", "title"];
624
+ function Na(t, r) {
625
+ if (t == null) return {};
626
+ var s, n, i = wa(t, r);
627
627
  if (Object.getOwnPropertySymbols) {
628
- var o = Object.getOwnPropertySymbols(r);
629
- for (n = 0; n < o.length; n++) s = o[n], a.indexOf(s) === -1 && {}.propertyIsEnumerable.call(r, s) && (i[s] = r[s]);
628
+ var d = Object.getOwnPropertySymbols(t);
629
+ for (n = 0; n < d.length; n++) s = d[n], r.indexOf(s) === -1 && {}.propertyIsEnumerable.call(t, s) && (i[s] = t[s]);
630
630
  }
631
631
  return i;
632
632
  }
633
- function ar(r, a) {
634
- if (r == null) return {};
633
+ function wa(t, r) {
634
+ if (t == null) return {};
635
635
  var s = {};
636
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
637
- if (a.indexOf(n) !== -1) continue;
638
- s[n] = r[n];
636
+ for (var n in t) if ({}.hasOwnProperty.call(t, n)) {
637
+ if (r.indexOf(n) !== -1) continue;
638
+ s[n] = t[n];
639
639
  }
640
640
  return s;
641
641
  }
642
- function ce() {
643
- return ce = Object.assign ? Object.assign.bind() : function(r) {
644
- for (var a = 1; a < arguments.length; a++) {
645
- var s = arguments[a];
646
- for (var n in s) ({}).hasOwnProperty.call(s, n) && (r[n] = s[n]);
642
+ function we() {
643
+ return we = Object.assign ? Object.assign.bind() : function(t) {
644
+ for (var r = 1; r < arguments.length; r++) {
645
+ var s = arguments[r];
646
+ for (var n in s) ({}).hasOwnProperty.call(s, n) && (t[n] = s[n]);
647
647
  }
648
- return r;
649
- }, ce.apply(null, arguments);
648
+ return t;
649
+ }, we.apply(null, arguments);
650
650
  }
651
- function rt(r, a) {
652
- var s = Object.keys(r);
651
+ function ct(t, r) {
652
+ var s = Object.keys(t);
653
653
  if (Object.getOwnPropertySymbols) {
654
- var n = Object.getOwnPropertySymbols(r);
655
- a && (n = n.filter(function(i) {
656
- return Object.getOwnPropertyDescriptor(r, i).enumerable;
654
+ var n = Object.getOwnPropertySymbols(t);
655
+ r && (n = n.filter(function(i) {
656
+ return Object.getOwnPropertyDescriptor(t, i).enumerable;
657
657
  })), s.push.apply(s, n);
658
658
  }
659
659
  return s;
660
660
  }
661
- function de(r) {
662
- for (var a = 1; a < arguments.length; a++) {
663
- var s = arguments[a] != null ? arguments[a] : {};
664
- a % 2 ? rt(Object(s), !0).forEach(function(n) {
665
- sr(r, n, s[n]);
666
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(s)) : rt(Object(s)).forEach(function(n) {
667
- Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(s, n));
661
+ function ke(t) {
662
+ for (var r = 1; r < arguments.length; r++) {
663
+ var s = arguments[r] != null ? arguments[r] : {};
664
+ r % 2 ? ct(Object(s), !0).forEach(function(n) {
665
+ ka(t, n, s[n]);
666
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(s)) : ct(Object(s)).forEach(function(n) {
667
+ Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(s, n));
668
668
  });
669
669
  }
670
- return r;
670
+ return t;
671
671
  }
672
- function sr(r, a, s) {
673
- return (a = nr(a)) in r ? Object.defineProperty(r, a, { value: s, enumerable: !0, configurable: !0, writable: !0 }) : r[a] = s, r;
672
+ function ka(t, r, s) {
673
+ return (r = Ca(r)) in t ? Object.defineProperty(t, r, { value: s, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = s, t;
674
674
  }
675
- function nr(r) {
676
- var a = lr(r, "string");
677
- return typeof a == "symbol" ? a : a + "";
675
+ function Ca(t) {
676
+ var r = _a(t, "string");
677
+ return typeof r == "symbol" ? r : r + "";
678
678
  }
679
- function lr(r, a) {
680
- if (typeof r != "object" || !r) return r;
681
- var s = r[Symbol.toPrimitive];
679
+ function _a(t, r) {
680
+ if (typeof t != "object" || !t) return t;
681
+ var s = t[Symbol.toPrimitive];
682
682
  if (s !== void 0) {
683
- var n = s.call(r, a);
683
+ var n = s.call(t, r);
684
684
  if (typeof n != "object") return n;
685
685
  throw new TypeError("@@toPrimitive must return a primitive value.");
686
686
  }
687
- return (a === "string" ? String : Number)(r);
687
+ return (r === "string" ? String : Number)(t);
688
688
  }
689
- function dt(r) {
690
- return r && r.map((a, s) => /* @__PURE__ */ C.createElement(a.tag, de({
689
+ function Tt(t) {
690
+ return t && t.map((r, s) => /* @__PURE__ */ L.createElement(r.tag, ke({
691
691
  key: s
692
- }, a.attr), dt(a.child)));
692
+ }, r.attr), Tt(r.child)));
693
693
  }
694
- function T(r) {
695
- return (a) => /* @__PURE__ */ C.createElement(ir, ce({
696
- attr: de({}, r.attr)
697
- }, a), dt(r.child));
694
+ function R(t) {
695
+ return (r) => /* @__PURE__ */ L.createElement(La, we({
696
+ attr: ke({}, t.attr)
697
+ }, r), Tt(t.child));
698
698
  }
699
- function ir(r) {
700
- var a = (s) => {
701
- var n = r.attr, i = r.size, o = r.title, f = rr(r, tr), m = i || s.size || "1em", d;
702
- return s.className && (d = s.className), r.className && (d = (d ? d + " " : "") + r.className), /* @__PURE__ */ C.createElement("svg", ce({
699
+ function La(t) {
700
+ var r = (s) => {
701
+ var n = t.attr, i = t.size, d = t.title, x = Na(t, ya), f = i || s.size || "1em", u;
702
+ return s.className && (u = s.className), t.className && (u = (u ? u + " " : "") + t.className), /* @__PURE__ */ L.createElement("svg", we({
703
703
  stroke: "currentColor",
704
704
  fill: "currentColor",
705
705
  strokeWidth: "0"
706
- }, s.attr, n, f, {
707
- className: d,
708
- style: de(de({
709
- color: r.color || s.color
710
- }, s.style), r.style),
711
- height: m,
712
- width: m,
706
+ }, s.attr, n, x, {
707
+ className: u,
708
+ style: ke(ke({
709
+ color: t.color || s.color
710
+ }, s.style), t.style),
711
+ height: f,
712
+ width: f,
713
713
  xmlns: "http://www.w3.org/2000/svg"
714
- }), o && /* @__PURE__ */ C.createElement("title", null, o), r.children);
714
+ }), d && /* @__PURE__ */ L.createElement("title", null, d), t.children);
715
715
  };
716
- return tt !== void 0 ? /* @__PURE__ */ C.createElement(tt.Consumer, null, (s) => a(s)) : a(ct);
716
+ return ot !== void 0 ? /* @__PURE__ */ L.createElement(ot.Consumer, null, (s) => r(s)) : r(Et);
717
717
  }
718
- function or(r) {
719
- return T({ attr: { version: "1.1", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M16 8c-0.020-1.045-0.247-2.086-0.665-3.038-0.417-0.953-1.023-1.817-1.766-2.53s-1.624-1.278-2.578-1.651c-0.953-0.374-1.978-0.552-2.991-0.531-1.013 0.020-2.021 0.24-2.943 0.646-0.923 0.405-1.758 0.992-2.449 1.712s-1.237 1.574-1.597 2.497c-0.361 0.923-0.533 1.914-0.512 2.895 0.020 0.981 0.234 1.955 0.627 2.847 0.392 0.892 0.961 1.7 1.658 2.368s1.523 1.195 2.416 1.543c0.892 0.348 1.851 0.514 2.799 0.493 0.949-0.020 1.89-0.227 2.751-0.608 0.862-0.379 1.642-0.929 2.287-1.604s1.154-1.472 1.488-2.335c0.204-0.523 0.342-1.069 0.415-1.622 0.019 0.001 0.039 0.002 0.059 0.002 0.552 0 1-0.448 1-1 0-0.028-0.001-0.056-0.004-0.083h0.004zM14.411 10.655c-0.367 0.831-0.898 1.584-1.55 2.206s-1.422 1.112-2.254 1.434c-0.832 0.323-1.723 0.476-2.608 0.454-0.884-0.020-1.759-0.215-2.56-0.57-0.801-0.354-1.526-0.867-2.125-1.495s-1.071-1.371-1.38-2.173c-0.31-0.801-0.457-1.66-0.435-2.512s0.208-1.694 0.551-2.464c0.342-0.77 0.836-1.468 1.441-2.044s1.321-1.029 2.092-1.326c0.771-0.298 1.596-0.438 2.416-0.416s1.629 0.202 2.368 0.532c0.74 0.329 1.41 0.805 1.963 1.387s0.988 1.27 1.272 2.011c0.285 0.74 0.418 1.532 0.397 2.32h0.004c-0.002 0.027-0.004 0.055-0.004 0.083 0 0.516 0.39 0.94 0.892 0.994-0.097 0.544-0.258 1.075-0.481 1.578z" }, child: [] }] })(r);
718
+ function Sa(t) {
719
+ return R({ attr: { version: "1.1", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M16 8c-0.020-1.045-0.247-2.086-0.665-3.038-0.417-0.953-1.023-1.817-1.766-2.53s-1.624-1.278-2.578-1.651c-0.953-0.374-1.978-0.552-2.991-0.531-1.013 0.020-2.021 0.24-2.943 0.646-0.923 0.405-1.758 0.992-2.449 1.712s-1.237 1.574-1.597 2.497c-0.361 0.923-0.533 1.914-0.512 2.895 0.020 0.981 0.234 1.955 0.627 2.847 0.392 0.892 0.961 1.7 1.658 2.368s1.523 1.195 2.416 1.543c0.892 0.348 1.851 0.514 2.799 0.493 0.949-0.020 1.89-0.227 2.751-0.608 0.862-0.379 1.642-0.929 2.287-1.604s1.154-1.472 1.488-2.335c0.204-0.523 0.342-1.069 0.415-1.622 0.019 0.001 0.039 0.002 0.059 0.002 0.552 0 1-0.448 1-1 0-0.028-0.001-0.056-0.004-0.083h0.004zM14.411 10.655c-0.367 0.831-0.898 1.584-1.55 2.206s-1.422 1.112-2.254 1.434c-0.832 0.323-1.723 0.476-2.608 0.454-0.884-0.020-1.759-0.215-2.56-0.57-0.801-0.354-1.526-0.867-2.125-1.495s-1.071-1.371-1.38-2.173c-0.31-0.801-0.457-1.66-0.435-2.512s0.208-1.694 0.551-2.464c0.342-0.77 0.836-1.468 1.441-2.044s1.321-1.029 2.092-1.326c0.771-0.298 1.596-0.438 2.416-0.416s1.629 0.202 2.368 0.532c0.74 0.329 1.41 0.805 1.963 1.387s0.988 1.27 1.272 2.011c0.285 0.74 0.418 1.532 0.397 2.32h0.004c-0.002 0.027-0.004 0.055-0.004 0.083 0 0.516 0.39 0.94 0.892 0.994-0.097 0.544-0.258 1.075-0.481 1.578z" }, child: [] }] })(t);
720
720
  }
721
- const cr = Kt(
721
+ const Pa = ma(
722
722
  "appearance-none inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-semibold transition-colors disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2",
723
723
  {
724
724
  variants: {
@@ -749,69 +749,72 @@ const cr = Kt(
749
749
  ],
750
750
  defaultVariants: { variant: "primary", size: "lg", iconOnly: !1 }
751
751
  }
752
- ), H = Yt.forwardRef(
752
+ ), te = pa.forwardRef(
753
753
  ({
754
- className: r,
755
- variant: a,
754
+ className: t,
755
+ variant: r,
756
756
  size: s,
757
757
  iconOnly: n,
758
758
  loading: i = !1,
759
- disabled: o,
760
- leftIcon: f,
761
- rightIcon: m,
762
- children: d,
763
- type: p = "button",
764
- ...u
765
- }, h) => /* @__PURE__ */ e.jsx(
759
+ disabled: d,
760
+ leftIcon: x,
761
+ rightIcon: f,
762
+ children: u,
763
+ type: m = "button",
764
+ ...h
765
+ }, c) => /* @__PURE__ */ e.jsx(
766
766
  "button",
767
767
  {
768
- ref: h,
769
- type: p,
770
- disabled: o || i,
771
- className: c(cr({ variant: a, size: s, iconOnly: n }), r),
772
- ...u,
773
- children: i ? /* @__PURE__ */ e.jsx(or, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
774
- f,
775
- d,
776
- m
768
+ ref: c,
769
+ type: m,
770
+ disabled: d || i,
771
+ className: o(Pa({ variant: r, size: s, iconOnly: n }), t),
772
+ ...h,
773
+ children: i ? /* @__PURE__ */ e.jsx(Sa, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
774
+ x,
775
+ u,
776
+ f
777
777
  ] })
778
778
  }
779
779
  )
780
780
  );
781
- H.displayName = "Button";
782
- function dr(r) {
783
- return T({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z" }, child: [] }] })(r);
781
+ te.displayName = "Button";
782
+ function Ea(t) {
783
+ return R({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z" }, child: [] }] })(t);
784
+ }
785
+ function Ta(t) {
786
+ return R({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zM461.64 256l45.64-45.64c6.3-6.3 6.3-16.52 0-22.82l-22.82-22.82c-6.3-6.3-16.52-6.3-22.82 0L416 210.36l-45.64-45.64c-6.3-6.3-16.52-6.3-22.82 0l-22.82 22.82c-6.3 6.3-6.3 16.52 0 22.82L370.36 256l-45.63 45.63c-6.3 6.3-6.3 16.52 0 22.82l22.82 22.82c6.3 6.3 16.52 6.3 22.82 0L416 301.64l45.64 45.64c6.3 6.3 16.52 6.3 22.82 0l22.82-22.82c6.3-6.3 6.3-16.52 0-22.82L461.64 256z" }, child: [] }] })(t);
784
787
  }
785
- function ur(r) {
786
- return T({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zM461.64 256l45.64-45.64c6.3-6.3 6.3-16.52 0-22.82l-22.82-22.82c-6.3-6.3-16.52-6.3-22.82 0L416 210.36l-45.64-45.64c-6.3-6.3-16.52-6.3-22.82 0l-22.82 22.82c-6.3 6.3-6.3 16.52 0 22.82L370.36 256l-45.63 45.63c-6.3 6.3-6.3 16.52 0 22.82l22.82 22.82c6.3 6.3 16.52 6.3 22.82 0L416 301.64l45.64 45.64c6.3 6.3 16.52 6.3 22.82 0l22.82-22.82c6.3-6.3 6.3-16.52 0-22.82L461.64 256z" }, child: [] }] })(r);
788
+ function Ra(t) {
789
+ return R({ attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z" }, child: [] }] })(t);
787
790
  }
788
- function ut(r) {
789
- return T({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z" }, child: [] }] })(r);
791
+ function Rt(t) {
792
+ return R({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z" }, child: [] }] })(t);
790
793
  }
791
- function at(r) {
792
- return T({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z" }, child: [] }] })(r);
794
+ function dt(t) {
795
+ return R({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z" }, child: [] }] })(t);
793
796
  }
794
- function fr(r) {
795
- return T({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z" }, child: [] }] })(r);
797
+ function Oa(t) {
798
+ return R({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z" }, child: [] }] })(t);
796
799
  }
797
- const ea = ({
798
- quote: r,
799
- authorName: a,
800
+ const Or = ({
801
+ quote: t,
802
+ authorName: r,
800
803
  authorAvatarUrl: s,
801
804
  meta: n,
802
805
  rating: i = 5,
803
- className: o = "",
804
- ...f
806
+ className: d = "",
807
+ ...x
805
808
  }) => /* @__PURE__ */ e.jsxs(
806
809
  "div",
807
810
  {
808
- className: c(
811
+ className: o(
809
812
  "flex flex-col gap-3 rounded-lg bg-[#f6f5ff] p-4",
810
- o
813
+ d
811
814
  ),
812
- ...f,
815
+ ...x,
813
816
  children: [
814
- /* @__PURE__ */ e.jsx("p", { className: "w-full wrap-break-word text-xs font-normal text-[#1d2125] mb-4", children: r }),
817
+ /* @__PURE__ */ e.jsx("p", { className: "w-full wrap-break-word text-xs font-normal text-[#1d2125] mb-4", children: t }),
815
818
  /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-x-2.5", children: [
816
819
  s ? /* @__PURE__ */ e.jsx(
817
820
  "img",
@@ -832,8 +835,8 @@ const ea = ({
832
835
  ),
833
836
  /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col min-w-0 flex-1 gap-0.5", children: [
834
837
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2", children: [
835
- /* @__PURE__ */ e.jsx("span", { className: "truncate text-base font-bold text-[#1d2125]", children: a }),
836
- /* @__PURE__ */ e.jsx("span", { className: "flex items-center gap-0.5 text-amber-500", "aria-hidden": !0, children: Array.from({ length: Math.max(0, Math.min(5, i)) }, (m, d) => /* @__PURE__ */ e.jsx(ut, { size: 12 }, d)) })
838
+ /* @__PURE__ */ e.jsx("span", { className: "truncate text-base font-bold text-[#1d2125]", children: r }),
839
+ /* @__PURE__ */ e.jsx("span", { className: "flex items-center gap-0.5 text-amber-500", "aria-hidden": !0, children: Array.from({ length: Math.max(0, Math.min(5, i)) }, (f, u) => /* @__PURE__ */ e.jsx(Rt, { size: 12 }, u)) })
837
840
  ] }),
838
841
  /* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium text-gray-500", children: n })
839
842
  ] })
@@ -841,59 +844,68 @@ const ea = ({
841
844
  ]
842
845
  }
843
846
  );
844
- function st(r) {
845
- return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "12", y1: "5", x2: "12", y2: "19" }, child: [] }, { tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }] })(r);
847
+ function za(t) {
848
+ return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "18", y1: "6", x2: "6", y2: "18" }, child: [] }, { tag: "line", attr: { x1: "6", y1: "6", x2: "18", y2: "18" }, child: [] }] })(t);
849
+ }
850
+ function Aa(t) {
851
+ return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "rect", attr: { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }, child: [] }] })(t);
852
+ }
853
+ function ut(t) {
854
+ return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "12", y1: "5", x2: "12", y2: "19" }, child: [] }, { tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }] })(t);
846
855
  }
847
- function xr(r) {
848
- return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }] })(r);
856
+ function Fa(t) {
857
+ return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }] })(t);
849
858
  }
850
- function ue(r) {
851
- return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "circle", attr: { cx: "12", cy: "12", r: "10" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "16", x2: "12", y2: "12" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "8", x2: "12.01", y2: "8" }, child: [] }] })(r);
859
+ function ue(t) {
860
+ return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "circle", attr: { cx: "12", cy: "12", r: "10" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "16", x2: "12", y2: "12" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "8", x2: "12.01", y2: "8" }, child: [] }] })(t);
852
861
  }
853
- function ft(r) {
854
- return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z" }, child: [] }] })(r);
862
+ function Ot(t) {
863
+ return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z" }, child: [] }] })(t);
855
864
  }
856
- function mr(r) {
857
- return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "9 18 15 12 9 6" }, child: [] }] })(r);
865
+ function Ba(t) {
866
+ return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "9 18 15 12 9 6" }, child: [] }] })(t);
858
867
  }
859
- function fe(r) {
860
- return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "6 9 12 15 18 9" }, child: [] }] })(r);
868
+ function Ce(t) {
869
+ return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "6 9 12 15 18 9" }, child: [] }] })(t);
861
870
  }
862
- function ke(r) {
863
- return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "20 6 9 17 4 12" }, child: [] }] })(r);
871
+ function $e(t) {
872
+ return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "20 6 9 17 4 12" }, child: [] }] })(t);
864
873
  }
865
- function hr(r) {
866
- return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "rect", attr: { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }, child: [] }, { tag: "line", attr: { x1: "16", y1: "2", x2: "16", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "8", y1: "2", x2: "8", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "3", y1: "10", x2: "21", y2: "10" }, child: [] }] })(r);
874
+ function Da(t) {
875
+ return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "9 11 12 14 22 4" }, child: [] }, { tag: "path", attr: { d: "M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11" }, child: [] }] })(t);
867
876
  }
868
- function Ce(r) {
869
- return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 5 19 12 12 19" }, child: [] }] })(r);
877
+ function Ia(t) {
878
+ return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "rect", attr: { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }, child: [] }, { tag: "line", attr: { x1: "16", y1: "2", x2: "16", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "8", y1: "2", x2: "8", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "3", y1: "10", x2: "21", y2: "10" }, child: [] }] })(t);
870
879
  }
871
- function xt(r) {
872
- return T({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "19", y1: "12", x2: "5", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 19 5 12 12 5" }, child: [] }] })(r);
880
+ function zt(t) {
881
+ return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 5 19 12 12 19" }, child: [] }] })(t);
873
882
  }
874
- const pr = ({
875
- title: r = "अक्सर पूछे जाने वाले प्रश्न",
876
- items: a,
883
+ function Ve(t) {
884
+ return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "19", y1: "12", x2: "5", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 19 5 12 12 5" }, child: [] }] })(t);
885
+ }
886
+ const Ma = ({
887
+ title: t = "अक्सर पूछे जाने वाले प्रश्न",
888
+ items: r,
877
889
  initialVisibleCount: s = 6,
878
890
  showCta: n = !0,
879
891
  defaultExpanded: i = !1,
880
- ctaExpandLabel: o = "और देखें",
881
- ctaCollapseLabel: f = "कम देखें",
882
- defaultOpenIndex: m = -1,
883
- className: d = ""
892
+ ctaExpandLabel: d = "और देखें",
893
+ ctaCollapseLabel: x = "कम देखें",
894
+ defaultOpenIndex: f = -1,
895
+ className: u = ""
884
896
  }) => {
885
- const [p, u] = V(i), [h, v] = V(m), g = n && a.length > s, N = g && !p ? a.slice(0, s) : a;
897
+ const [m, h] = Y(i), [c, v] = Y(f), g = n && r.length > s, y = g && !m ? r.slice(0, s) : r;
886
898
  return /* @__PURE__ */ e.jsxs(
887
899
  "div",
888
900
  {
889
- className: c(
901
+ className: o(
890
902
  "flex flex-col items-center gap-5 bg-white px-4 py-6",
891
- d
903
+ u
892
904
  ),
893
905
  children: [
894
- /* @__PURE__ */ e.jsx("h2", { className: "px-4 text-center text-base font-bold text-[#1d2125]", children: r }),
895
- /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: N.map((R, _) => {
896
- const y = h === _;
906
+ /* @__PURE__ */ e.jsx("h2", { className: "px-4 text-center text-base font-bold text-[#1d2125]", children: t }),
907
+ /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: y.map((P, k) => {
908
+ const w = c === k;
897
909
  return /* @__PURE__ */ e.jsxs(
898
910
  "div",
899
911
  {
@@ -904,17 +916,17 @@ const pr = ({
904
916
  {
905
917
  type: "button",
906
918
  className: "flex w-full items-center justify-between gap-2 p-3 text-left",
907
- onClick: () => v(y ? -1 : _),
908
- "aria-expanded": y,
909
- "aria-controls": `faq-answer-${_}`,
910
- id: `faq-question-${_}`,
919
+ onClick: () => v(w ? -1 : k),
920
+ "aria-expanded": w,
921
+ "aria-controls": `faq-answer-${k}`,
922
+ id: `faq-question-${k}`,
911
923
  children: [
912
- /* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#1d2125]", children: R.question }),
924
+ /* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#1d2125]", children: P.question }),
913
925
  /* @__PURE__ */ e.jsx(
914
- fe,
926
+ Ce,
915
927
  {
916
928
  size: 24,
917
- className: c("shrink-0 transition-transform duration-200", y ? "rotate-180" : ""),
929
+ className: o("shrink-0 transition-transform duration-200", w ? "rotate-180" : ""),
918
930
  "aria-hidden": !0
919
931
  }
920
932
  )
@@ -924,98 +936,98 @@ const pr = ({
924
936
  /* @__PURE__ */ e.jsx(
925
937
  "div",
926
938
  {
927
- id: `faq-answer-${_}`,
939
+ id: `faq-answer-${k}`,
928
940
  role: "region",
929
- "aria-labelledby": `faq-question-${_}`,
930
- hidden: !y,
931
- children: /* @__PURE__ */ e.jsx("p", { className: "px-3 pb-3 text-sm text-gray-500", children: R.answer })
941
+ "aria-labelledby": `faq-question-${k}`,
942
+ hidden: !w,
943
+ children: /* @__PURE__ */ e.jsx("p", { className: "px-3 pb-3 text-sm text-gray-500", children: P.answer })
932
944
  }
933
945
  )
934
946
  ]
935
947
  },
936
- _
948
+ k
937
949
  );
938
950
  }) }),
939
951
  g && /* @__PURE__ */ e.jsx(
940
- H,
952
+ te,
941
953
  {
942
954
  variant: "secondary",
943
955
  size: "lg",
944
956
  className: "w-full",
945
- onClick: () => u((R) => !R),
946
- "aria-expanded": p,
957
+ onClick: () => h((P) => !P),
958
+ "aria-expanded": m,
947
959
  rightIcon: /* @__PURE__ */ e.jsx(
948
- fe,
960
+ Ce,
949
961
  {
950
962
  size: 24,
951
- className: c("shrink-0 transition-transform duration-200", p ? "rotate-180" : ""),
963
+ className: o("shrink-0 transition-transform duration-200", m ? "rotate-180" : ""),
952
964
  "aria-hidden": !0
953
965
  }
954
966
  ),
955
- children: p ? f : o
967
+ children: m ? x : d
956
968
  }
957
969
  )
958
970
  ]
959
971
  }
960
972
  );
961
- }, gr = C.forwardRef(
962
- ({ src: r, poster: a, className: s = "", rounded: n = !0, width: i, height: o }, f) => {
963
- const [m, d] = C.useState(!1), [p, u] = C.useState(!0), [h, v] = C.useState(!1), [g, N] = C.useState(0), [R, _] = C.useState(0), y = C.useRef(null), O = c(
973
+ }, $a = L.forwardRef(
974
+ ({ src: t, poster: r, className: s = "", rounded: n = !0, width: i, height: d }, x) => {
975
+ const [f, u] = L.useState(!1), [m, h] = L.useState(!0), [c, v] = L.useState(!1), [g, y] = L.useState(0), [P, k] = L.useState(0), w = L.useRef(null), b = o(
964
976
  "block w-full",
965
- (i !== void 0 || o !== void 0) && "h-full object-cover"
966
- ), w = (P) => {
967
- const $ = Number(P.target.value);
968
- N($), y.current && (y.current.currentTime = $);
977
+ (i !== void 0 || d !== void 0) && "h-full object-cover"
978
+ ), _ = (O) => {
979
+ const F = Number(O.target.value);
980
+ y(F), w.current && (w.current.currentTime = F);
969
981
  };
970
982
  return /* @__PURE__ */ e.jsx(
971
983
  "div",
972
984
  {
973
- ref: f,
974
- style: { width: i, height: o },
975
- className: c(
985
+ ref: x,
986
+ style: { width: i, height: d },
987
+ className: o(
976
988
  "relative w-full overflow-hidden",
977
989
  n && "rounded-2xl",
978
990
  s
979
991
  ),
980
- children: m ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
992
+ children: f ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
981
993
  /* @__PURE__ */ e.jsx(
982
- Jt,
994
+ ba,
983
995
  {
984
- ref: y,
985
- src: r,
986
- poster: a,
987
- playing: p,
988
- muted: h,
996
+ ref: w,
997
+ src: t,
998
+ poster: r,
999
+ playing: m,
1000
+ muted: c,
989
1001
  width: i,
990
- height: o,
991
- className: O,
992
- onTimeUpdate: (P) => N(P.currentTarget.currentTime),
993
- onDurationChange: (P) => _(P.currentTarget.duration),
994
- onEnded: () => u(!1)
1002
+ height: d,
1003
+ className: b,
1004
+ onTimeUpdate: (O) => y(O.currentTarget.currentTime),
1005
+ onDurationChange: (O) => k(O.currentTarget.duration),
1006
+ onEnded: () => h(!1)
995
1007
  }
996
1008
  ),
997
1009
  /* @__PURE__ */ e.jsx(
998
- H,
1010
+ te,
999
1011
  {
1000
1012
  variant: "ghost",
1001
1013
  iconOnly: !0,
1002
1014
  size: "lg",
1003
- "aria-label": p ? "Pause" : "Play",
1015
+ "aria-label": m ? "Pause" : "Play",
1004
1016
  className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
1005
- onClick: () => u((P) => !P),
1006
- children: p ? /* @__PURE__ */ e.jsx(fr, { size: 16 }) : /* @__PURE__ */ e.jsx(at, { size: 16, className: "translate-x-0.5" })
1017
+ onClick: () => h((O) => !O),
1018
+ children: m ? /* @__PURE__ */ e.jsx(Oa, { size: 16 }) : /* @__PURE__ */ e.jsx(dt, { size: 16, className: "translate-x-0.5" })
1007
1019
  }
1008
1020
  ),
1009
1021
  /* @__PURE__ */ e.jsx(
1010
- H,
1022
+ te,
1011
1023
  {
1012
1024
  variant: "ghost",
1013
1025
  iconOnly: !0,
1014
1026
  size: "sm",
1015
- "aria-label": h ? "Unmute" : "Mute",
1027
+ "aria-label": c ? "Unmute" : "Mute",
1016
1028
  className: "absolute left-2 top-2 text-white hover:bg-white/10",
1017
- onClick: () => v((P) => !P),
1018
- children: h ? /* @__PURE__ */ e.jsx(ur, { size: 14 }) : /* @__PURE__ */ e.jsx(dr, { size: 14 })
1029
+ onClick: () => v((O) => !O),
1030
+ children: c ? /* @__PURE__ */ e.jsx(Ta, { size: 14 }) : /* @__PURE__ */ e.jsx(Ea, { size: 14 })
1019
1031
  }
1020
1032
  ),
1021
1033
  /* @__PURE__ */ e.jsx(
@@ -1023,27 +1035,27 @@ const pr = ({
1023
1035
  {
1024
1036
  type: "range",
1025
1037
  min: 0,
1026
- max: R || 0,
1038
+ max: P || 0,
1027
1039
  step: 0.1,
1028
1040
  value: g,
1029
- onChange: w,
1041
+ onChange: _,
1030
1042
  "aria-label": "Seek",
1031
1043
  className: "absolute bottom-4 left-5 right-5 h-1 accent-white"
1032
1044
  }
1033
1045
  )
1034
1046
  ] }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1035
- /* @__PURE__ */ e.jsx("img", { src: a, alt: "", className: O }),
1047
+ /* @__PURE__ */ e.jsx("img", { src: r, alt: "", className: b }),
1036
1048
  /* @__PURE__ */ e.jsx("div", { className: "absolute inset-0 bg-linear-to-b from-black/0 to-black/60" }),
1037
1049
  /* @__PURE__ */ e.jsx(
1038
- H,
1050
+ te,
1039
1051
  {
1040
1052
  variant: "ghost",
1041
1053
  iconOnly: !0,
1042
1054
  size: "lg",
1043
1055
  "aria-label": "Play video",
1044
1056
  className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
1045
- onClick: () => d(!0),
1046
- children: /* @__PURE__ */ e.jsx(at, { size: 16, className: "translate-x-0.5" })
1057
+ onClick: () => u(!0),
1058
+ children: /* @__PURE__ */ e.jsx(dt, { size: 16, className: "translate-x-0.5" })
1047
1059
  }
1048
1060
  )
1049
1061
  ] })
@@ -1051,84 +1063,84 @@ const pr = ({
1051
1063
  );
1052
1064
  }
1053
1065
  );
1054
- gr.displayName = "VideoPlayer";
1055
- const br = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), mt = C.forwardRef(
1066
+ $a.displayName = "VideoPlayer";
1067
+ const Va = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), At = L.forwardRef(
1056
1068
  ({
1057
- options: r,
1058
- value: a,
1069
+ options: t,
1070
+ value: r,
1059
1071
  onChange: s,
1060
1072
  defaultOpen: n = !1,
1061
1073
  open: i,
1062
- onOpenChange: o,
1063
- className: f = "",
1064
- triggerClassName: m = "",
1065
- menuClassName: d = "",
1066
- ...p
1067
- }, u) => {
1068
- const [h, v] = C.useState(n), g = i !== void 0, N = g ? i : h, R = C.useCallback(
1074
+ onOpenChange: d,
1075
+ className: x = "",
1076
+ triggerClassName: f = "",
1077
+ menuClassName: u = "",
1078
+ ...m
1079
+ }, h) => {
1080
+ const [c, v] = L.useState(n), g = i !== void 0, y = g ? i : c, P = L.useCallback(
1069
1081
  (j) => {
1070
- g || v(j), o?.(j);
1082
+ g || v(j), d?.(j);
1071
1083
  },
1072
- [g, o]
1073
- ), _ = C.useRef(null);
1074
- C.useImperativeHandle(u, () => _.current), C.useEffect(() => {
1075
- if (!N) return;
1076
- const j = (w) => {
1077
- _.current?.contains(w.target) || R(!1);
1078
- }, O = (w) => {
1079
- w.key === "Escape" && R(!1);
1084
+ [g, d]
1085
+ ), k = L.useRef(null);
1086
+ L.useImperativeHandle(h, () => k.current), L.useEffect(() => {
1087
+ if (!y) return;
1088
+ const j = (_) => {
1089
+ k.current?.contains(_.target) || P(!1);
1090
+ }, b = (_) => {
1091
+ _.key === "Escape" && P(!1);
1080
1092
  };
1081
- return document.addEventListener("mousedown", j), document.addEventListener("keydown", O), () => {
1082
- document.removeEventListener("mousedown", j), document.removeEventListener("keydown", O);
1093
+ return document.addEventListener("mousedown", j), document.addEventListener("keydown", b), () => {
1094
+ document.removeEventListener("mousedown", j), document.removeEventListener("keydown", b);
1083
1095
  };
1084
- }, [N, R]);
1085
- const y = (j) => {
1086
- s?.(j.value), R(!1);
1096
+ }, [y, P]);
1097
+ const w = (j) => {
1098
+ s?.(j.value), P(!1);
1087
1099
  };
1088
- return /* @__PURE__ */ e.jsxs("div", { ref: _, className: c("relative inline-block", f), ...p, children: [
1100
+ return /* @__PURE__ */ e.jsxs("div", { ref: k, className: o("relative inline-block", x), ...m, children: [
1089
1101
  /* @__PURE__ */ e.jsxs(
1090
1102
  "button",
1091
1103
  {
1092
1104
  type: "button",
1093
- onClick: () => R(!N),
1105
+ onClick: () => P(!y),
1094
1106
  "aria-label": "Switch language",
1095
1107
  "aria-haspopup": "listbox",
1096
- "aria-expanded": N,
1097
- className: c(
1108
+ "aria-expanded": y,
1109
+ className: o(
1098
1110
  "inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",
1099
- m
1111
+ f
1100
1112
  ),
1101
1113
  children: [
1102
- /* @__PURE__ */ e.jsx(br, {}),
1114
+ /* @__PURE__ */ e.jsx(Va, {}),
1103
1115
  /* @__PURE__ */ e.jsx(
1104
- fe,
1116
+ Ce,
1105
1117
  {
1106
1118
  size: 24,
1107
- className: c("transition-transform duration-200", N ? "rotate-180" : ""),
1119
+ className: o("transition-transform duration-200", y ? "rotate-180" : ""),
1108
1120
  "aria-hidden": !0
1109
1121
  }
1110
1122
  )
1111
1123
  ]
1112
1124
  }
1113
1125
  ),
1114
- N && /* @__PURE__ */ e.jsx(
1126
+ y && /* @__PURE__ */ e.jsx(
1115
1127
  "ul",
1116
1128
  {
1117
1129
  role: "listbox",
1118
- className: c(
1130
+ className: o(
1119
1131
  "absolute left-0 top-full z-10 mt-2 min-w-35 overflow-hidden rounded-lg border border-gray-200 bg-white py-1 shadow-lg",
1120
- d
1132
+ u
1121
1133
  ),
1122
- children: r.map((j) => {
1123
- const O = j.value === a;
1124
- return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected": O, children: /* @__PURE__ */ e.jsx(
1134
+ children: t.map((j) => {
1135
+ const b = j.value === r;
1136
+ return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected": b, children: /* @__PURE__ */ e.jsx(
1125
1137
  "button",
1126
1138
  {
1127
1139
  type: "button",
1128
- onClick: () => y(j),
1129
- className: c(
1140
+ onClick: () => w(j),
1141
+ className: o(
1130
1142
  "block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",
1131
- O ? "font-medium text-[#f75e22]" : "text-[#1d2125]"
1143
+ b ? "font-medium text-[#f75e22]" : "text-[#1d2125]"
1132
1144
  ),
1133
1145
  children: j.label
1134
1146
  }
@@ -1139,35 +1151,35 @@ const br = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
1139
1151
  ] });
1140
1152
  }
1141
1153
  );
1142
- mt.displayName = "LanguageSwitcher";
1143
- function ta({
1144
- onBackClick: r,
1145
- backButtonAriaLabel: a = "Go back",
1154
+ At.displayName = "LanguageSwitcher";
1155
+ function zr({
1156
+ onBackClick: t,
1157
+ backButtonAriaLabel: r = "Go back",
1146
1158
  locale: s,
1147
1159
  localeOptions: n,
1148
1160
  onLocaleChange: i,
1149
- className: o
1161
+ className: d
1150
1162
  }) {
1151
1163
  return /* @__PURE__ */ e.jsxs(
1152
1164
  "div",
1153
1165
  {
1154
- className: c(
1166
+ className: o(
1155
1167
  "mx-auto flex w-full max-w-md items-center justify-between px-4 py-3",
1156
- o
1168
+ d
1157
1169
  ),
1158
1170
  children: [
1159
1171
  /* @__PURE__ */ e.jsx(
1160
1172
  "button",
1161
1173
  {
1162
1174
  type: "button",
1163
- onClick: r,
1164
- "aria-label": a,
1175
+ onClick: t,
1176
+ "aria-label": r,
1165
1177
  className: "flex size-8 shrink-0 items-center justify-center rounded-lg border-0 bg-transparent p-0 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.1)]",
1166
- children: /* @__PURE__ */ e.jsx(xt, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
1178
+ children: /* @__PURE__ */ e.jsx(Ve, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
1167
1179
  }
1168
1180
  ),
1169
1181
  /* @__PURE__ */ e.jsx(
1170
- mt,
1182
+ At,
1171
1183
  {
1172
1184
  options: n,
1173
1185
  value: s,
@@ -1179,52 +1191,52 @@ function ta({
1179
1191
  }
1180
1192
  );
1181
1193
  }
1182
- const vr = C.forwardRef(
1183
- ({ label: r, selected: a = !1, onClick: s, icon: n, className: i, type: o = "button", ...f }, m) => /* @__PURE__ */ e.jsxs(
1194
+ const Ha = L.forwardRef(
1195
+ ({ label: t, selected: r = !1, onClick: s, icon: n, className: i, type: d = "button", ...x }, f) => /* @__PURE__ */ e.jsxs(
1184
1196
  "button",
1185
1197
  {
1186
- ref: m,
1187
- type: o,
1198
+ ref: f,
1199
+ type: d,
1188
1200
  onClick: s,
1189
- "aria-pressed": a,
1190
- className: c(
1201
+ "aria-pressed": r,
1202
+ className: o(
1191
1203
  "inline-flex shrink-0 items-center justify-center gap-1 rounded-full border font-['Noto_Sans'] text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",
1192
- a ? "border-[#f38415] bg-[#f38415] px-4 py-1.5 text-white" : "border-[#fccf9a] bg-[#ffffff66] px-3 py-1.5 text-[#374151] hover:bg-white/70",
1204
+ r ? "border-[#f38415] bg-[#f38415] px-4 py-1.5 text-white" : "border-[#fccf9a] bg-[#ffffff66] px-3 py-1.5 text-[#374151] hover:bg-white/70",
1193
1205
  i
1194
1206
  ),
1195
- ...f,
1207
+ ...x,
1196
1208
  children: [
1197
1209
  n,
1198
- r
1210
+ t
1199
1211
  ]
1200
1212
  }
1201
1213
  )
1202
1214
  );
1203
- vr.displayName = "Chip";
1204
- const ra = ({
1205
- quote: r,
1206
- currentStep: a,
1215
+ Ha.displayName = "Chip";
1216
+ const Ar = ({
1217
+ quote: t,
1218
+ currentStep: r,
1207
1219
  totalSteps: s,
1208
1220
  className: n,
1209
1221
  ...i
1210
1222
  }) => {
1211
- const o = s > 0 ? Math.min(100, Math.max(0, a / s * 100)) : 0;
1212
- return /* @__PURE__ */ e.jsxs("div", { className: c("step-progress-header", n), ...i, children: [
1223
+ const d = s > 0 ? Math.min(100, Math.max(0, r / s * 100)) : 0;
1224
+ return /* @__PURE__ */ e.jsxs("div", { className: o("step-progress-header", n), ...i, children: [
1213
1225
  /* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__column", children: [
1214
- /* @__PURE__ */ e.jsx("p", { className: "step-progress-header__quote", children: r }),
1226
+ /* @__PURE__ */ e.jsx("p", { className: "step-progress-header__quote", children: t }),
1215
1227
  /* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__track", children: [
1216
1228
  /* @__PURE__ */ e.jsx(
1217
1229
  "div",
1218
1230
  {
1219
1231
  className: "step-progress-header__track-fill",
1220
- style: { width: `${o}%` }
1232
+ style: { width: `${d}%` }
1221
1233
  }
1222
1234
  ),
1223
1235
  /* @__PURE__ */ e.jsx(
1224
1236
  "div",
1225
1237
  {
1226
1238
  className: "step-progress-header__track-marker",
1227
- style: { left: `${o}%` },
1239
+ style: { left: `${d}%` },
1228
1240
  children: /* @__PURE__ */ e.jsx(
1229
1241
  "img",
1230
1242
  {
@@ -1239,19 +1251,19 @@ const ra = ({
1239
1251
  ] })
1240
1252
  ] }),
1241
1253
  /* @__PURE__ */ e.jsxs("p", { className: "step-progress-header__count", children: [
1242
- a,
1254
+ r,
1243
1255
  "/",
1244
1256
  s
1245
1257
  ] })
1246
1258
  ] });
1247
1259
  };
1248
- function jr(r) {
1249
- return T({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M11.553 3.064A.75.75 0 0 1 12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805a.752.752 0 0 1 .808-.13ZM10.5 5.445l-4.245 3.86a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86Zm8.218-1.223a.75.75 0 0 1 1.06 0c4.296 4.296 4.296 11.26 0 15.556a.75.75 0 0 1-1.06-1.06 9.5 9.5 0 0 0 0-13.436.75.75 0 0 1 0-1.06Z" }, child: [] }, { tag: "path", attr: { d: "M16.243 7.757a.75.75 0 1 0-1.061 1.061 4.5 4.5 0 0 1 0 6.364.75.75 0 0 0 1.06 1.06 6 6 0 0 0 0-8.485Z" }, child: [] }] })(r);
1260
+ function Wa(t) {
1261
+ return R({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M11.553 3.064A.75.75 0 0 1 12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805a.752.752 0 0 1 .808-.13ZM10.5 5.445l-4.245 3.86a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86Zm8.218-1.223a.75.75 0 0 1 1.06 0c4.296 4.296 4.296 11.26 0 15.556a.75.75 0 0 1-1.06-1.06 9.5 9.5 0 0 0 0-13.436.75.75 0 0 1 0-1.06Z" }, child: [] }, { tag: "path", attr: { d: "M16.243 7.757a.75.75 0 1 0-1.061 1.061 4.5 4.5 0 0 1 0 6.364.75.75 0 0 0 1.06 1.06 6 6 0 0 0 0-8.485Z" }, child: [] }] })(t);
1250
1262
  }
1251
- function yr(r) {
1252
- return T({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805A.75.75 0 0 1 12 3.75ZM6.255 9.305a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86V5.445ZM16.28 8.22a.75.75 0 1 0-1.06 1.06L17.94 12l-2.72 2.72a.75.75 0 1 0 1.06 1.06L19 13.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L20.06 12l2.72-2.72a.75.75 0 0 0-1.06-1.06L19 10.94l-2.72-2.72Z" }, child: [] }] })(r);
1263
+ function Ua(t) {
1264
+ return R({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805A.75.75 0 0 1 12 3.75ZM6.255 9.305a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86V5.445ZM16.28 8.22a.75.75 0 1 0-1.06 1.06L17.94 12l-2.72 2.72a.75.75 0 1 0 1.06 1.06L19 13.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L20.06 12l2.72-2.72a.75.75 0 0 0-1.06-1.06L19 10.94l-2.72-2.72Z" }, child: [] }] })(t);
1253
1265
  }
1254
- const nt = 1.25, lt = [
1266
+ const xt = 1.25, ft = [
1255
1267
  { x: 11.02, y: 6.38, height: 5.28 },
1256
1268
  { x: 16.3, y: 6.38, height: 5.28 },
1257
1269
  { x: 8.36, y: 3.8, height: 10.44 },
@@ -1259,9 +1271,9 @@ const nt = 1.25, lt = [
1259
1271
  { x: 5.73, y: 2.84, height: 12.32 },
1260
1272
  { x: 3.07, y: 6, height: 6.03 },
1261
1273
  { x: 0.45, y: 7.29, height: 3.37 }
1262
- ], wr = ({
1263
- animate: r,
1264
- iconIndex: a
1274
+ ], Ga = ({
1275
+ animate: t,
1276
+ iconIndex: r
1265
1277
  }) => /* @__PURE__ */ e.jsx(
1266
1278
  "svg",
1267
1279
  {
@@ -1271,45 +1283,45 @@ const nt = 1.25, lt = [
1271
1283
  fill: "none",
1272
1284
  "aria-hidden": !0,
1273
1285
  xmlns: "http://www.w3.org/2000/svg",
1274
- children: lt.map((s, n) => /* @__PURE__ */ e.jsx(
1286
+ children: ft.map((s, n) => /* @__PURE__ */ e.jsx(
1275
1287
  "rect",
1276
1288
  {
1277
1289
  x: s.x,
1278
1290
  y: s.y,
1279
- width: nt,
1291
+ width: xt,
1280
1292
  height: s.height,
1281
- rx: nt / 2,
1293
+ rx: xt / 2,
1282
1294
  fill: "#6B7280",
1283
- className: r ? "wave-bar-anim" : "",
1295
+ className: t ? "wave-bar-anim" : "",
1284
1296
  style: {
1285
- animationDelay: `${(a * lt.length + n) * 60}ms`
1297
+ animationDelay: `${(r * ft.length + n) * 60}ms`
1286
1298
  }
1287
1299
  },
1288
1300
  n
1289
1301
  ))
1290
1302
  }
1291
- ), aa = ({
1292
- avatarUrl: r,
1293
- question: a,
1303
+ ), Fr = ({
1304
+ avatarUrl: t,
1305
+ question: r,
1294
1306
  description: s,
1295
1307
  audioSrc: n,
1296
1308
  className: i,
1297
- ...o
1309
+ ...d
1298
1310
  }) => {
1299
- const f = C.useRef(null), m = C.useRef(!1), [d, p] = C.useState(!1), [u, h] = C.useState(!1);
1300
- C.useEffect(() => {
1301
- !n || m.current || (m.current = !0, f.current?.play().catch(() => {
1311
+ const x = L.useRef(null), f = L.useRef(!1), [u, m] = L.useState(!1), [h, c] = L.useState(!1);
1312
+ L.useEffect(() => {
1313
+ !n || f.current || (f.current = !0, x.current?.play().catch(() => {
1302
1314
  }));
1303
1315
  }, [n]);
1304
1316
  const v = () => {
1305
- const g = f.current;
1306
- g && (g.muted = !g.muted, p(g.muted));
1317
+ const g = x.current;
1318
+ g && (g.muted = !g.muted, m(g.muted));
1307
1319
  };
1308
1320
  return /* @__PURE__ */ e.jsxs(
1309
1321
  "div",
1310
1322
  {
1311
- className: c("flex w-full items-start gap-3 px-4 pb-6", i),
1312
- ...o,
1323
+ className: o("flex w-full items-start gap-3 px-4 pb-6", i),
1324
+ ...d,
1313
1325
  children: [
1314
1326
  /* @__PURE__ */ e.jsxs("div", { className: "relative size-16 shrink-0 overflow-hidden rounded-[12.8px] bg-linear-to-b from-[#fef5e9] to-[#fccf9a]", children: [
1315
1327
  /* @__PURE__ */ e.jsx(
@@ -1323,7 +1335,7 @@ const nt = 1.25, lt = [
1323
1335
  /* @__PURE__ */ e.jsx(
1324
1336
  "img",
1325
1337
  {
1326
- src: r,
1338
+ src: t,
1327
1339
  alt: "",
1328
1340
  className: "absolute top-1 size-[73.92px] object-contain"
1329
1341
  }
@@ -1347,17 +1359,17 @@ const nt = 1.25, lt = [
1347
1359
  }
1348
1360
  ),
1349
1361
  /* @__PURE__ */ e.jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-2 rounded-2xl bg-white p-4 drop-shadow-[-2px_2px_5px_rgba(252,207,154,0.3)]", children: [
1350
- a,
1362
+ r,
1351
1363
  s,
1352
1364
  n && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
1353
1365
  /* @__PURE__ */ e.jsx(
1354
1366
  "audio",
1355
1367
  {
1356
- ref: f,
1368
+ ref: x,
1357
1369
  src: n,
1358
- onPlay: () => h(!0),
1359
- onPause: () => h(!1),
1360
- onEnded: () => h(!1)
1370
+ onPlay: () => c(!0),
1371
+ onPause: () => c(!1),
1372
+ onEnded: () => c(!1)
1361
1373
  }
1362
1374
  ),
1363
1375
  /* @__PURE__ */ e.jsx(
@@ -1365,16 +1377,16 @@ const nt = 1.25, lt = [
1365
1377
  {
1366
1378
  type: "button",
1367
1379
  onClick: v,
1368
- "aria-label": d ? "Unmute" : "Mute",
1369
- "aria-pressed": d,
1380
+ "aria-label": u ? "Unmute" : "Mute",
1381
+ "aria-pressed": u,
1370
1382
  className: "flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",
1371
- children: d ? /* @__PURE__ */ e.jsx(yr, { size: 18, className: "text-[#f75e22]" }) : /* @__PURE__ */ e.jsx(jr, { size: 18, className: "text-[#f75e22]" })
1383
+ children: u ? /* @__PURE__ */ e.jsx(Ua, { size: 18, className: "text-[#f75e22]" }) : /* @__PURE__ */ e.jsx(Wa, { size: 18, className: "text-[#f75e22]" })
1372
1384
  }
1373
1385
  ),
1374
1386
  /* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((g) => /* @__PURE__ */ e.jsx(
1375
- wr,
1387
+ Ga,
1376
1388
  {
1377
- animate: u && !d,
1389
+ animate: h && !u,
1378
1390
  iconIndex: g
1379
1391
  },
1380
1392
  g
@@ -1385,63 +1397,63 @@ const nt = 1.25, lt = [
1385
1397
  ]
1386
1398
  }
1387
1399
  );
1388
- }, Nr = {
1400
+ }, Ya = {
1389
1401
  sm: "size-9",
1390
1402
  md: "size-11",
1391
1403
  lg: "size-16"
1392
- }, ht = C.forwardRef(
1393
- ({ icon: r, avatarUrl: a, alt: s = "", size: n = "md", className: i, ...o }, f) => /* @__PURE__ */ e.jsx(
1404
+ }, Le = L.forwardRef(
1405
+ ({ icon: t, avatarUrl: r, alt: s = "", size: n = "md", className: i, ...d }, x) => /* @__PURE__ */ e.jsx(
1394
1406
  "div",
1395
1407
  {
1396
- ref: f,
1397
- className: c(
1408
+ ref: x,
1409
+ className: o(
1398
1410
  "flex shrink-0 items-center justify-center overflow-hidden rounded-full",
1399
- Nr[n],
1400
- !a && "bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",
1411
+ Ya[n],
1412
+ !r && "bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",
1401
1413
  i
1402
1414
  ),
1403
- "aria-hidden": a ? void 0 : !0,
1404
- ...o,
1405
- children: a ? /* @__PURE__ */ e.jsx("img", { src: a, alt: s, className: "size-full object-cover" }) : r
1415
+ "aria-hidden": r ? void 0 : !0,
1416
+ ...d,
1417
+ children: r ? /* @__PURE__ */ e.jsx("img", { src: r, alt: s, className: "size-full object-cover" }) : t
1406
1418
  }
1407
1419
  )
1408
1420
  );
1409
- ht.displayName = "IconBadge";
1410
- const pt = C.forwardRef(
1421
+ Le.displayName = "IconBadge";
1422
+ const Ft = L.forwardRef(
1411
1423
  ({
1412
- selected: r = !1,
1413
- onSelect: a,
1424
+ selected: t = !1,
1425
+ onSelect: r,
1414
1426
  icon: s,
1415
1427
  avatarUrl: n,
1416
1428
  iconSize: i = "md",
1417
- iconClassName: o,
1418
- title: f,
1419
- description: m,
1420
- badge: d,
1421
- showRadio: p = !0,
1422
- radioVariant: u = "dot",
1423
- radioClassName: h,
1429
+ iconClassName: d,
1430
+ title: x,
1431
+ description: f,
1432
+ badge: u,
1433
+ showRadio: m = !0,
1434
+ radioVariant: h = "dot",
1435
+ radioClassName: c,
1424
1436
  tag: v,
1425
1437
  tagClassName: g,
1426
- children: N,
1427
- className: R,
1428
- disabled: _,
1429
- type: y = "button",
1438
+ children: y,
1439
+ className: P,
1440
+ disabled: k,
1441
+ type: w = "button",
1430
1442
  ...j
1431
- }, O) => /* @__PURE__ */ e.jsxs(
1443
+ }, b) => /* @__PURE__ */ e.jsxs(
1432
1444
  "div",
1433
1445
  {
1434
- className: c(
1446
+ className: o(
1435
1447
  "relative overflow-visible rounded-2xl border transition-colors",
1436
- r ? "border-[#f38415] bg-[#FEF5E9]" : "border-gray-200 bg-white",
1437
- _ && "opacity-50",
1438
- R
1448
+ t ? "border-[#f38415] bg-[#FEF5E9]" : "border-gray-200 bg-white",
1449
+ k && "opacity-50",
1450
+ P
1439
1451
  ),
1440
1452
  children: [
1441
1453
  v && /* @__PURE__ */ e.jsx(
1442
1454
  "span",
1443
1455
  {
1444
- className: c(
1456
+ className: o(
1445
1457
  "absolute -top-2.5 left-4 z-10 inline-flex items-center rounded-full bg-[#6d5bd0] px-2.5 py-1 text-[11px] font-semibold whitespace-nowrap text-white",
1446
1458
  g
1447
1459
  ),
@@ -1451,98 +1463,98 @@ const pt = C.forwardRef(
1451
1463
  /* @__PURE__ */ e.jsxs(
1452
1464
  "button",
1453
1465
  {
1454
- ref: O,
1455
- type: y,
1466
+ ref: b,
1467
+ type: w,
1456
1468
  role: "radio",
1457
- "aria-checked": r,
1458
- disabled: _,
1459
- onClick: a,
1460
- className: c(
1469
+ "aria-checked": t,
1470
+ disabled: k,
1471
+ onClick: r,
1472
+ className: o(
1461
1473
  "flex w-full items-center gap-3 overflow-hidden rounded-2xl px-3 pt-3 pb-3 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2 disabled:cursor-not-allowed",
1462
1474
  v && "pt-7"
1463
1475
  ),
1464
1476
  ...j,
1465
1477
  children: [
1466
- (s || n) && /* @__PURE__ */ e.jsx(ht, { icon: s, avatarUrl: n, size: i, className: o }),
1478
+ (s || n) && /* @__PURE__ */ e.jsx(Le, { icon: s, avatarUrl: n, size: i, className: d }),
1467
1479
  /* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
1468
- /* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-[14px] leading-5 font-bold text-[#1d2125]", children: f }),
1469
- m && !N && /* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-[13px] leading-4.5 text-gray-500", children: m })
1480
+ /* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-[14px] leading-5 font-bold text-[#1d2125]", children: x }),
1481
+ f && !y && /* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-[13px] leading-4.5 text-gray-500", children: f })
1470
1482
  ] }),
1471
- d && /* @__PURE__ */ e.jsx("span", { className: "shrink-0", children: d }),
1472
- p && /* @__PURE__ */ e.jsxs(
1483
+ u && /* @__PURE__ */ e.jsx("span", { className: "shrink-0", children: u }),
1484
+ m && /* @__PURE__ */ e.jsxs(
1473
1485
  "span",
1474
1486
  {
1475
1487
  "aria-hidden": !0,
1476
- className: c(
1488
+ className: o(
1477
1489
  "inline-flex size-6 shrink-0 items-center justify-center rounded-full border-2 transition-colors",
1478
- r ? u === "check" ? c("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white", h) : "border-[#f75e22]" : "border-gray-300"
1490
+ t ? h === "check" ? o("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white", c) : "border-[#f75e22]" : "border-gray-300"
1479
1491
  ),
1480
1492
  children: [
1481
- r && u === "dot" && /* @__PURE__ */ e.jsx(
1493
+ t && h === "dot" && /* @__PURE__ */ e.jsx(
1482
1494
  "span",
1483
1495
  {
1484
- className: c(
1496
+ className: o(
1485
1497
  "size-3.5 rounded-full bg-linear-to-b from-[#f97e4e] to-[#f75e22]",
1486
- h
1498
+ c
1487
1499
  )
1488
1500
  }
1489
1501
  ),
1490
- r && u === "check" && /* @__PURE__ */ e.jsx(ke, { size: 14, "aria-hidden": !0 })
1502
+ t && h === "check" && /* @__PURE__ */ e.jsx($e, { size: 14, "aria-hidden": !0 })
1491
1503
  ]
1492
1504
  }
1493
1505
  )
1494
1506
  ]
1495
1507
  }
1496
1508
  ),
1497
- N
1509
+ y
1498
1510
  ]
1499
1511
  }
1500
1512
  )
1501
1513
  );
1502
- pt.displayName = "SelectorCard";
1503
- const sa = ({
1504
- value: r,
1505
- onClick: a,
1514
+ Ft.displayName = "SelectorCard";
1515
+ const Br = ({
1516
+ value: t,
1517
+ onClick: r,
1506
1518
  className: s,
1507
1519
  ...n
1508
1520
  }) => /* @__PURE__ */ e.jsxs(
1509
1521
  "div",
1510
1522
  {
1511
- role: a ? "button" : void 0,
1512
- tabIndex: a ? 0 : void 0,
1513
- onClick: a,
1514
- className: c(
1523
+ role: r ? "button" : void 0,
1524
+ tabIndex: r ? 0 : void 0,
1525
+ onClick: r,
1526
+ className: o(
1515
1527
  "mx-3 mb-3 flex items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",
1516
- a && "cursor-pointer",
1528
+ r && "cursor-pointer",
1517
1529
  s
1518
1530
  ),
1519
1531
  ...n,
1520
1532
  children: [
1521
- /* @__PURE__ */ e.jsx(ft, { size: 16, className: "shrink-0 text-gray-900", "aria-hidden": !0 }),
1522
- /* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: r })
1533
+ /* @__PURE__ */ e.jsx(Ot, { size: 16, className: "shrink-0 text-gray-900", "aria-hidden": !0 }),
1534
+ /* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: t })
1523
1535
  ]
1524
1536
  }
1525
- ), na = ({
1526
- value: r,
1527
- onInfoClick: a,
1537
+ ), Dr = ({
1538
+ value: t,
1539
+ onInfoClick: r,
1528
1540
  infoLabel: s = "More info",
1529
1541
  className: n,
1530
1542
  ...i
1531
1543
  }) => /* @__PURE__ */ e.jsxs(
1532
1544
  "div",
1533
1545
  {
1534
- className: c(
1546
+ className: o(
1535
1547
  "mx-3 mb-3 flex items-center justify-between gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",
1536
1548
  n
1537
1549
  ),
1538
1550
  ...i,
1539
1551
  children: [
1540
- /* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: r }),
1541
- a ? /* @__PURE__ */ e.jsx(
1552
+ /* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: t }),
1553
+ r ? /* @__PURE__ */ e.jsx(
1542
1554
  "button",
1543
1555
  {
1544
1556
  type: "button",
1545
- onClick: a,
1557
+ onClick: r,
1546
1558
  "aria-label": s,
1547
1559
  className: "shrink-0 border-0 bg-transparent p-0 text-gray-700",
1548
1560
  children: /* @__PURE__ */ e.jsx(ue, { size: 18, "aria-hidden": !0 })
@@ -1550,58 +1562,58 @@ const sa = ({
1550
1562
  ) : /* @__PURE__ */ e.jsx(ue, { size: 18, className: "shrink-0 text-gray-700", "aria-hidden": !0 })
1551
1563
  ]
1552
1564
  }
1553
- ), kr = ({
1554
- value: r,
1555
- className: a,
1565
+ ), qa = ({
1566
+ value: t,
1567
+ className: r,
1556
1568
  ...s
1557
1569
  }) => /* @__PURE__ */ e.jsx(
1558
1570
  "span",
1559
1571
  {
1560
- className: c(
1572
+ className: o(
1561
1573
  "inline-flex items-center rounded-full bg-white px-3 py-1 text-sm font-semibold text-emerald-600",
1562
- a
1574
+ r
1563
1575
  ),
1564
1576
  ...s,
1565
- children: r
1577
+ children: t
1566
1578
  }
1567
- ), Cr = ({ className: r, children: a, ...s }) => /* @__PURE__ */ e.jsx(
1579
+ ), Ka = ({ className: t, children: r, ...s }) => /* @__PURE__ */ e.jsx(
1568
1580
  "div",
1569
1581
  {
1570
- className: c(
1582
+ className: o(
1571
1583
  "rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#b45309]",
1572
- r
1584
+ t
1573
1585
  ),
1574
1586
  ...s,
1575
- children: a
1587
+ children: r
1576
1588
  }
1577
- ), la = ({
1578
- value: r,
1579
- onIncrement: a,
1589
+ ), Ir = ({
1590
+ value: t,
1591
+ onIncrement: r,
1580
1592
  onDecrement: s,
1581
1593
  min: n = 0,
1582
1594
  max: i,
1583
- addLabel: o = "Add",
1584
- className: f
1585
- }) => r <= n ? /* @__PURE__ */ e.jsxs(
1595
+ addLabel: d = "Add",
1596
+ className: x
1597
+ }) => t <= n ? /* @__PURE__ */ e.jsxs(
1586
1598
  "button",
1587
1599
  {
1588
1600
  type: "button",
1589
- onClick: a,
1590
- className: c(
1601
+ onClick: r,
1602
+ className: o(
1591
1603
  "inline-flex h-10 w-22 cursor-pointer items-center justify-center gap-2.5 rounded-lg bg-linear-to-b from-[#5eb98e] to-[#087955] font-['Noto_Sans'] text-base font-bold text-white",
1592
- f
1604
+ x
1593
1605
  ),
1594
1606
  children: [
1595
- /* @__PURE__ */ e.jsx(st, { size: 20, "aria-hidden": !0 }),
1596
- o
1607
+ /* @__PURE__ */ e.jsx(ut, { size: 20, "aria-hidden": !0 }),
1608
+ d
1597
1609
  ]
1598
1610
  }
1599
1611
  ) : /* @__PURE__ */ e.jsxs(
1600
1612
  "div",
1601
1613
  {
1602
- className: c(
1614
+ className: o(
1603
1615
  "inline-flex h-10 w-22 items-center justify-between rounded-lg border border-[#159169] bg-linear-to-b from-white to-[#edf5f2] px-3 text-[#087955] shadow-md",
1604
- f
1616
+ x
1605
1617
  ),
1606
1618
  children: [
1607
1619
  /* @__PURE__ */ e.jsx(
@@ -1611,40 +1623,65 @@ const sa = ({
1611
1623
  onClick: s,
1612
1624
  "aria-label": "Decrease quantity",
1613
1625
  className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",
1614
- children: /* @__PURE__ */ e.jsx(xr, { size: 18, "aria-hidden": !0 })
1626
+ children: /* @__PURE__ */ e.jsx(Fa, { size: 18, "aria-hidden": !0 })
1615
1627
  }
1616
1628
  ),
1617
- /* @__PURE__ */ e.jsx("span", { className: "min-w-[1ch] text-center font-['Noto_Sans'] text-base font-bold", children: r }),
1629
+ /* @__PURE__ */ e.jsx("span", { className: "min-w-[1ch] text-center font-['Noto_Sans'] text-base font-bold", children: t }),
1618
1630
  /* @__PURE__ */ e.jsx(
1619
1631
  "button",
1620
1632
  {
1621
1633
  type: "button",
1622
- onClick: a,
1623
- disabled: i !== void 0 && r >= i,
1634
+ onClick: r,
1635
+ disabled: i !== void 0 && t >= i,
1624
1636
  "aria-label": "Increase quantity",
1625
1637
  className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors disabled:pointer-events-none disabled:opacity-40",
1626
- children: /* @__PURE__ */ e.jsx(st, { size: 18, "aria-hidden": !0 })
1638
+ children: /* @__PURE__ */ e.jsx(ut, { size: 18, "aria-hidden": !0 })
1627
1639
  }
1628
1640
  )
1629
1641
  ]
1630
1642
  }
1631
- ), _r = ({
1632
- title: r,
1633
- description: a,
1643
+ ), pt = {
1644
+ en: {
1645
+ headerTitle: "Review your booking",
1646
+ addonsTitle: "Add services for all ancestors",
1647
+ addonsDescription: "These pujas will be performed on the day of Sarva Pitru Amavasya",
1648
+ addedLabel: "Added",
1649
+ addLabel: "Add",
1650
+ mandapTitle: "Temple and Mandap Charges",
1651
+ mandapDescription: "This fee covers the temple space, mandap, and other arrangements needed for the puja.",
1652
+ checkoutProceedLabel: "Proceed to fill details",
1653
+ checkoutRitualSingular: "Ritual",
1654
+ checkoutRitualPlural: "Rituals"
1655
+ },
1656
+ hi: {
1657
+ headerTitle: "अपनी बुकिंग की समीक्षा करें",
1658
+ addonsTitle: "सभी पितरों के लिए सेवाएं जोड़ें",
1659
+ addonsDescription: "ये पूजाएं सर्वोपित्र अमावस्या के दिन सम्पन्न की जाएंगी",
1660
+ addedLabel: "जोड़ा गया",
1661
+ addLabel: "जोड़ें",
1662
+ mandapTitle: "मंदिर और मंडप शुल्क",
1663
+ mandapDescription: "पूजा के लिए मंदिर में स्थान, मंडप और आवश्यक पूजा व्यवस्था सुनिश्चित करने के लिए यह शुल्क लिया जाता है",
1664
+ checkoutProceedLabel: "आगे बढ़ें, और डिटेल्स भरें",
1665
+ checkoutRitualSingular: "पूजा-विधि",
1666
+ checkoutRitualPlural: "पूजा-विधि"
1667
+ }
1668
+ }, _e = (t) => pt[t] ?? pt.en, Bt = ({
1669
+ title: t,
1670
+ description: r,
1634
1671
  price: s,
1635
1672
  originalPrice: n,
1636
1673
  action: i,
1637
- className: o,
1638
- ...f
1674
+ className: d,
1675
+ ...x
1639
1676
  }) => /* @__PURE__ */ e.jsx(
1640
1677
  "div",
1641
1678
  {
1642
- className: c("rounded-2xl border border-gray-200 bg-white p-4", o),
1643
- ...f,
1679
+ className: o("rounded-2xl border border-gray-200 bg-white p-4", d),
1680
+ ...x,
1644
1681
  children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-between gap-3", children: [
1645
1682
  /* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
1646
- /* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-[15px] leading-5 font-bold text-[#1d2125]", children: r }),
1647
- a && /* @__PURE__ */ e.jsx("p", { className: "mt-1 text-sm leading-5 text-gray-500", children: a })
1683
+ /* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-[15px] leading-5 font-bold text-[#1d2125]", children: t }),
1684
+ r && /* @__PURE__ */ e.jsx("p", { className: "mt-1 text-sm leading-5 text-gray-500", children: r })
1648
1685
  ] }),
1649
1686
  /* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 flex-col items-end gap-2", children: [
1650
1687
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-baseline gap-1.5 whitespace-nowrap", children: [
@@ -1655,73 +1692,78 @@ const sa = ({
1655
1692
  ] })
1656
1693
  ] })
1657
1694
  }
1658
- ), ia = ({
1659
- children: r = "Change",
1660
- className: a,
1695
+ ), Za = ({ locale: t = "en", ...r }) => {
1696
+ const { mandapTitle: s, mandapDescription: n } = _e(t);
1697
+ return /* @__PURE__ */ e.jsx(Bt, { title: s, description: n, ...r });
1698
+ }, Mr = ({
1699
+ children: t = "Change",
1700
+ className: r,
1661
1701
  type: s = "button",
1662
1702
  ...n
1663
1703
  }) => /* @__PURE__ */ e.jsxs(
1664
1704
  "button",
1665
1705
  {
1666
1706
  type: s,
1667
- className: c(
1707
+ className: o(
1668
1708
  "inline-flex items-center gap-1.5 rounded-full border border-gray-300 px-3 py-1.5 text-sm font-semibold text-gray-900 transition-colors hover:bg-gray-50",
1669
- a
1709
+ r
1670
1710
  ),
1671
1711
  ...n,
1672
1712
  children: [
1673
- /* @__PURE__ */ e.jsx(ft, { size: 14, "aria-hidden": !0 }),
1674
- r
1713
+ /* @__PURE__ */ e.jsx(Ot, { size: 14, "aria-hidden": !0 }),
1714
+ t
1675
1715
  ]
1676
1716
  }
1677
- ), oa = ({
1678
- children: r = "Added",
1679
- className: a,
1680
- type: s = "button",
1681
- ...n
1717
+ ), $r = ({
1718
+ locale: t = "en",
1719
+ isAdded: r = !0,
1720
+ children: s,
1721
+ className: n,
1722
+ type: i = "button",
1723
+ ...d
1682
1724
  }) => /* @__PURE__ */ e.jsxs(
1683
1725
  "button",
1684
1726
  {
1685
- type: s,
1686
- className: c(
1727
+ type: i,
1728
+ className: o(
1687
1729
  "inline-flex items-center gap-1.5 rounded-full border border-emerald-500 px-3 py-1.5 text-sm font-semibold text-emerald-600 transition-colors hover:bg-emerald-50",
1688
- a
1730
+ n
1689
1731
  ),
1690
- ...n,
1732
+ ...d,
1691
1733
  children: [
1692
- /* @__PURE__ */ e.jsx(ke, { size: 14, "aria-hidden": !0 }),
1693
- r
1734
+ r && /* @__PURE__ */ e.jsx($e, { size: 14, "aria-hidden": !0 }),
1735
+ s ?? (r ? _e(t).addedLabel : _e(t).addLabel)
1694
1736
  ]
1695
1737
  }
1696
- ), Er = ({
1697
- image: r,
1698
- imageAlt: a = "",
1738
+ ), Ja = ({
1739
+ image: t,
1740
+ imageAlt: r = "",
1699
1741
  title: s,
1700
1742
  description: n,
1701
1743
  price: i,
1702
- originalPrice: o,
1703
- tag: f,
1704
- tagClassName: m,
1705
- action: d,
1706
- className: p,
1707
- ...u
1744
+ originalPrice: d,
1745
+ tag: x,
1746
+ tagClassName: f,
1747
+ action: u,
1748
+ className: m,
1749
+ ...h
1708
1750
  }) => /* @__PURE__ */ e.jsxs(
1709
1751
  "div",
1710
1752
  {
1711
- className: c(
1753
+ className: o(
1712
1754
  "overflow-hidden rounded-2xl border border-gray-100 bg-white shadow-sm",
1713
- p
1755
+ m
1714
1756
  ),
1715
- ...u,
1757
+ ...h,
1716
1758
  children: [
1717
- f && /* @__PURE__ */ e.jsx(
1759
+ x && /* @__PURE__ */ e.jsx(
1718
1760
  "div",
1719
1761
  {
1720
- className: c(
1762
+ className: o(
1721
1763
  "inline-flex items-center gap-1.5 rounded-tl-2xl rounded-br-2xl bg-emerald-800 px-3 py-1.5 text-xs font-semibold text-white",
1722
- m
1764
+ f
1723
1765
  ),
1724
- children: f
1766
+ children: x
1725
1767
  }
1726
1768
  ),
1727
1769
  /* @__PURE__ */ e.jsxs("div", { className: "flex gap-3 p-3", children: [
@@ -1730,48 +1772,48 @@ const sa = ({
1730
1772
  n && /* @__PURE__ */ e.jsx("p", { className: " font-['Noto_Sans'] mt-1 text-xs leading-4 text-[#6B7280]", children: n }),
1731
1773
  /* @__PURE__ */ e.jsxs("div", { className: "mt-auto flex items-baseline gap-1.5 whitespace-nowrap pt-3", children: [
1732
1774
  /* @__PURE__ */ e.jsx("span", { className: "text-[18px] font-semibold text-emerald-600", children: i }),
1733
- o && /* @__PURE__ */ e.jsx("span", { className: "text-sm text-gray-400 line-through", children: o })
1775
+ d && /* @__PURE__ */ e.jsx("span", { className: "text-sm text-gray-400 line-through", children: d })
1734
1776
  ] })
1735
1777
  ] }),
1736
1778
  /* @__PURE__ */ e.jsxs("div", { className: "relative w-30 h-34.25 shrink-0", children: [
1737
- /* @__PURE__ */ e.jsx("img", { src: r, alt: a, className: "size-30 rounded-2xl object-cover" }),
1738
- d && /* @__PURE__ */ e.jsx("div", { className: "absolute bottom-0 left-1/2 -translate-x-1/2", children: d })
1779
+ /* @__PURE__ */ e.jsx("img", { src: t, alt: r, className: "size-30 rounded-2xl object-cover" }),
1780
+ u && /* @__PURE__ */ e.jsx("div", { className: "absolute bottom-0 left-1/2 -translate-x-1/2", children: u })
1739
1781
  ] })
1740
1782
  ] })
1741
1783
  ]
1742
1784
  }
1743
1785
  );
1744
- function Rr(r) {
1745
- return T({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M12.136.326A1.5 1.5 0 0 1 14 1.78V3h.5A1.5 1.5 0 0 1 16 4.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-9a1.5 1.5 0 0 1 1.432-1.499zM5.562 3H13V1.78a.5.5 0 0 0-.621-.484zM1.5 4a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5z" }, child: [] }] })(r);
1786
+ function Dt(t) {
1787
+ return R({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M12.136.326A1.5 1.5 0 0 1 14 1.78V3h.5A1.5 1.5 0 0 1 16 4.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-9a1.5 1.5 0 0 1 1.432-1.499zM5.562 3H13V1.78a.5.5 0 0 0-.621-.484zM1.5 4a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5z" }, child: [] }] })(t);
1746
1788
  }
1747
- function Sr(r) {
1748
- return T({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M5.338 1.59a61 61 0 0 0-2.837.856.48.48 0 0 0-.328.39c-.554 4.157.726 7.19 2.253 9.188a10.7 10.7 0 0 0 2.287 2.233c.346.244.652.42.893.533q.18.085.293.118a1 1 0 0 0 .101.025 1 1 0 0 0 .1-.025q.114-.034.294-.118c.24-.113.547-.29.893-.533a10.7 10.7 0 0 0 2.287-2.233c1.527-1.997 2.807-5.031 2.253-9.188a.48.48 0 0 0-.328-.39c-.651-.213-1.75-.56-2.837-.855C9.552 1.29 8.531 1.067 8 1.067c-.53 0-1.552.223-2.662.524zM5.072.56C6.157.265 7.31 0 8 0s1.843.265 2.928.56c1.11.3 2.229.655 2.887.87a1.54 1.54 0 0 1 1.044 1.262c.596 4.477-.787 7.795-2.465 9.99a11.8 11.8 0 0 1-2.517 2.453 7 7 0 0 1-1.048.625c-.28.132-.581.24-.829.24s-.548-.108-.829-.24a7 7 0 0 1-1.048-.625 11.8 11.8 0 0 1-2.517-2.453C1.928 10.487.545 7.169 1.141 2.692A1.54 1.54 0 0 1 2.185 1.43 63 63 0 0 1 5.072.56" }, child: [] }, { tag: "path", attr: { d: "M10.854 5.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 7.793l2.646-2.647a.5.5 0 0 1 .708 0" }, child: [] }] })(r);
1789
+ function It(t) {
1790
+ return R({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M5.338 1.59a61 61 0 0 0-2.837.856.48.48 0 0 0-.328.39c-.554 4.157.726 7.19 2.253 9.188a10.7 10.7 0 0 0 2.287 2.233c.346.244.652.42.893.533q.18.085.293.118a1 1 0 0 0 .101.025 1 1 0 0 0 .1-.025q.114-.034.294-.118c.24-.113.547-.29.893-.533a10.7 10.7 0 0 0 2.287-2.233c1.527-1.997 2.807-5.031 2.253-9.188a.48.48 0 0 0-.328-.39c-.651-.213-1.75-.56-2.837-.855C9.552 1.29 8.531 1.067 8 1.067c-.53 0-1.552.223-2.662.524zM5.072.56C6.157.265 7.31 0 8 0s1.843.265 2.928.56c1.11.3 2.229.655 2.887.87a1.54 1.54 0 0 1 1.044 1.262c.596 4.477-.787 7.795-2.465 9.99a11.8 11.8 0 0 1-2.517 2.453 7 7 0 0 1-1.048.625c-.28.132-.581.24-.829.24s-.548-.108-.829-.24a7 7 0 0 1-1.048-.625 11.8 11.8 0 0 1-2.517-2.453C1.928 10.487.545 7.169 1.141 2.692A1.54 1.54 0 0 1 2.185 1.43 63 63 0 0 1 5.072.56" }, child: [] }, { tag: "path", attr: { d: "M10.854 5.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 7.793l2.646-2.647a.5.5 0 0 1 .708 0" }, child: [] }] })(t);
1749
1791
  }
1750
- function zr(r) {
1751
- return T({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M8.515 1.019A7 7 0 0 0 8 1V0a8 8 0 0 1 .589.022zm2.004.45a7 7 0 0 0-.985-.299l.219-.976q.576.129 1.126.342zm1.37.71a7 7 0 0 0-.439-.27l.493-.87a8 8 0 0 1 .979.654l-.615.789a7 7 0 0 0-.418-.302zm1.834 1.79a7 7 0 0 0-.653-.796l.724-.69q.406.429.747.91zm.744 1.352a7 7 0 0 0-.214-.468l.893-.45a8 8 0 0 1 .45 1.088l-.95.313a7 7 0 0 0-.179-.483m.53 2.507a7 7 0 0 0-.1-1.025l.985-.17q.1.58.116 1.17zm-.131 1.538q.05-.254.081-.51l.993.123a8 8 0 0 1-.23 1.155l-.964-.267q.069-.247.12-.501m-.952 2.379q.276-.436.486-.908l.914.405q-.24.54-.555 1.038zm-.964 1.205q.183-.183.35-.378l.758.653a8 8 0 0 1-.401.432z" }, child: [] }, { tag: "path", attr: { d: "M8 1a7 7 0 1 0 4.95 11.95l.707.707A8.001 8.001 0 1 1 8 0z" }, child: [] }, { tag: "path", attr: { d: "M7.5 3a.5.5 0 0 1 .5.5v5.21l3.248 1.856a.5.5 0 0 1-.496.868l-3.5-2A.5.5 0 0 1 7 9V3.5a.5.5 0 0 1 .5-.5" }, child: [] }] })(r);
1792
+ function Mt(t) {
1793
+ return R({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M8.515 1.019A7 7 0 0 0 8 1V0a8 8 0 0 1 .589.022zm2.004.45a7 7 0 0 0-.985-.299l.219-.976q.576.129 1.126.342zm1.37.71a7 7 0 0 0-.439-.27l.493-.87a8 8 0 0 1 .979.654l-.615.789a7 7 0 0 0-.418-.302zm1.834 1.79a7 7 0 0 0-.653-.796l.724-.69q.406.429.747.91zm.744 1.352a7 7 0 0 0-.214-.468l.893-.45a8 8 0 0 1 .45 1.088l-.95.313a7 7 0 0 0-.179-.483m.53 2.507a7 7 0 0 0-.1-1.025l.985-.17q.1.58.116 1.17zm-.131 1.538q.05-.254.081-.51l.993.123a8 8 0 0 1-.23 1.155l-.964-.267q.069-.247.12-.501m-.952 2.379q.276-.436.486-.908l.914.405q-.24.54-.555 1.038zm-.964 1.205q.183-.183.35-.378l.758.653a8 8 0 0 1-.401.432z" }, child: [] }, { tag: "path", attr: { d: "M8 1a7 7 0 1 0 4.95 11.95l.707.707A8.001 8.001 0 1 1 8 0z" }, child: [] }, { tag: "path", attr: { d: "M7.5 3a.5.5 0 0 1 .5.5v5.21l3.248 1.856a.5.5 0 0 1-.496.868l-3.5-2A.5.5 0 0 1 7 9V3.5a.5.5 0 0 1 .5-.5" }, child: [] }] })(t);
1752
1794
  }
1753
- const Or = [
1754
- { id: "money-back", icon: /* @__PURE__ */ e.jsx(Sr, { "aria-hidden": !0 }), label: "100% Money Back Guarantee" },
1755
- { id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(Rr, { "aria-hidden": !0 }), label: "No Hidden Cost" },
1756
- { id: "24x7-support", icon: /* @__PURE__ */ e.jsx(zr, { "aria-hidden": !0 }), label: "24x7 Support" }
1757
- ], Pr = ({
1758
- badges: r = Or,
1759
- badgeClassName: a,
1795
+ const Xa = [
1796
+ { id: "money-back", icon: /* @__PURE__ */ e.jsx(It, { "aria-hidden": !0 }), label: "100% Money Back Guarantee" },
1797
+ { id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(Dt, { "aria-hidden": !0 }), label: "No Hidden Cost" },
1798
+ { id: "24x7-support", icon: /* @__PURE__ */ e.jsx(Mt, { "aria-hidden": !0 }), label: "24x7 Support" }
1799
+ ], Qa = ({
1800
+ badges: t = Xa,
1801
+ badgeClassName: r,
1760
1802
  className: s,
1761
1803
  ...n
1762
1804
  }) => /* @__PURE__ */ e.jsx(
1763
1805
  "div",
1764
1806
  {
1765
- className: c(
1807
+ className: o(
1766
1808
  "flex items-center gap-5 overflow-x-auto bg-[#f3f5f7] px-4 py-3 whitespace-nowrap",
1767
1809
  "scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",
1768
1810
  s
1769
1811
  ),
1770
1812
  ...n,
1771
- children: r.map((i) => /* @__PURE__ */ e.jsxs(
1813
+ children: t.map((i) => /* @__PURE__ */ e.jsxs(
1772
1814
  "span",
1773
1815
  {
1774
- className: c("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700", a, i.className),
1816
+ className: o("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700", r, i.className),
1775
1817
  children: [
1776
1818
  /* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-base text-gray-700", "aria-hidden": !0, children: i.icon }),
1777
1819
  i.label
@@ -1780,244 +1822,372 @@ const Or = [
1780
1822
  i.id
1781
1823
  ))
1782
1824
  }
1783
- ), Tr = ({
1825
+ ), ht = {
1826
+ en: {
1827
+ proceedLabel: "Proceed"
1828
+ },
1829
+ hi: {
1830
+ proceedLabel: "आगे बढ़ें"
1831
+ },
1832
+ te: {
1833
+ proceedLabel: "ముందుకు సాగండి"
1834
+ }
1835
+ }, er = (t) => ht[t] ?? ht.en, He = ({
1836
+ locale: t = "en",
1784
1837
  amount: r,
1785
- amountClassName: a,
1786
- subtitle: s,
1787
- subtitleClassName: n,
1788
- showInfoIcon: i = !0,
1789
- onInfoClick: o,
1838
+ amountClassName: s,
1839
+ subtitle: n,
1840
+ subtitleClassName: i,
1841
+ showInfoIcon: d = !0,
1842
+ onInfoClick: x,
1790
1843
  infoIconClassName: f,
1791
- proceedLabel: m = "Proceed",
1792
- proceedIcon: d = /* @__PURE__ */ e.jsx(Ce, { "aria-hidden": !0 }),
1793
- onProceed: p,
1794
- proceedButtonProps: u,
1795
- buttonWrapperClassName: h,
1796
- className: v,
1797
- ...g
1798
- }) => /* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3 rounded-t-3xl bg-white px-4 py-4 shadow-[0_-2px_12px_rgba(0,0,0,0.08)]", v), ...g, children: [
1844
+ proceedLabel: u,
1845
+ proceedIcon: m = /* @__PURE__ */ e.jsx(zt, { "aria-hidden": !0 }),
1846
+ onProceed: h,
1847
+ proceedButtonProps: c,
1848
+ buttonWrapperClassName: v,
1849
+ className: g,
1850
+ ...y
1851
+ }) => /* @__PURE__ */ e.jsxs("div", { className: o("flex items-center gap-3 rounded-t-3xl bg-white px-4 py-4 shadow-[0_-2px_12px_rgba(0,0,0,0.08)]", g), ...y, children: [
1799
1852
  /* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
1800
1853
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
1801
- /* @__PURE__ */ e.jsx("span", { className: c("text-xl font-extrabold text-[#1d2125]", a), children: r }),
1802
- i && /* @__PURE__ */ e.jsx(
1854
+ /* @__PURE__ */ e.jsx("span", { className: o("text-xl font-extrabold text-[#1d2125]", s), children: r }),
1855
+ d && /* @__PURE__ */ e.jsx(
1803
1856
  "button",
1804
1857
  {
1805
1858
  type: "button",
1806
- onClick: o,
1859
+ onClick: x,
1807
1860
  "aria-label": "View bill details",
1808
- className: c(
1861
+ className: o(
1809
1862
  "inline-flex shrink-0 items-center justify-center text-[#f75e22]",
1810
- !o && "pointer-events-none",
1863
+ !x && "pointer-events-none",
1811
1864
  f
1812
1865
  ),
1813
1866
  children: /* @__PURE__ */ e.jsx(ue, { size: 18, "aria-hidden": !0 })
1814
1867
  }
1815
1868
  )
1816
1869
  ] }),
1817
- s && /* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", n), children: s })
1870
+ n && /* @__PURE__ */ e.jsx("p", { className: o("mt-1 text-sm text-gray-500", i), children: n })
1818
1871
  ] }),
1819
- /* @__PURE__ */ e.jsx("div", { className: c("shrink-0", h), children: /* @__PURE__ */ e.jsxs(H, { variant: "primary", size: "xl", onClick: p, ...u, className: c("min-w-40 justify-center gap-2", u?.className), children: [
1820
- m,
1821
- d
1872
+ /* @__PURE__ */ e.jsx("div", { className: o("shrink-0", v), children: /* @__PURE__ */ e.jsxs(te, { variant: "primary", size: "xl", onClick: h, ...c, className: o("min-w-40 justify-center gap-2 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]", c?.className), children: [
1873
+ u ?? er(t).proceedLabel,
1874
+ m
1822
1875
  ] }) })
1823
- ] }), ca = ({
1876
+ ] }), mt = {
1877
+ en: {
1878
+ title: "Select the number of people performing the Puja (Karta)",
1879
+ description: "Performing the puja together with the whole family brings ancestors’ blessings and family prosperity",
1880
+ benefits: [
1881
+ "Panditji will pronounce the names and gotra of the ancestors and the performers",
1882
+ "Our experienced Pandits will conduct the Puja with correct vedic rituals",
1883
+ "A video of the entire Puja will be shared with you on WhatsApp and the Srimandir app"
1884
+ ],
1885
+ trustBadgeLabels: {
1886
+ moneyBack: "100% Money Back Guarantee",
1887
+ noHiddenCost: "No Hidden Cost",
1888
+ support: "24x7 Support"
1889
+ }
1890
+ },
1891
+ hi: {
1892
+ title: "पूजा करवाने वाले (कर्ता) लोगो की संख्या चुनें",
1893
+ description: "पूरे परिवार के साथ मिलकर पूजा करने से पितरों का आशीर्वाद मिलता है और परिवार की सुख-समृद्धि बढ़ती है",
1894
+ benefits: [
1895
+ "पंडितजी द्वारा पितृजन और कर्ता का नाम-गोत्र उच्चारण होगा",
1896
+ "हमारे अनुभवी पुरोहित पूरे विधि-विधान से पूजा कराएंगे",
1897
+ "पूरी पूजा का वीडियो आपको WhatsApp और श्रीमंदिर ऐप पर शेयर किया जाएगा"
1898
+ ],
1899
+ trustBadgeLabels: {
1900
+ moneyBack: "100% पैसा वापसी की गारंटी",
1901
+ noHiddenCost: "कोई छुपी हुई लागत नहीं",
1902
+ support: "24x7 सहायता"
1903
+ }
1904
+ },
1905
+ te: {
1906
+ title: "పూజ చేసే వ్యక్తుల సంఖ్యను ఎంచుకోండి (కర్త)",
1907
+ description: "కుటుంబమంతా కలిసి పూజ చేస్తే పితృదేవతల ఆశీర్వాదం, కుటుంబ సుఖసమృద్ధి లభిస్తాయి",
1908
+ benefits: [
1909
+ "పండితుడు పితృదేవతల మరియు కర్తల పేర్లు, గోత్రాలు చెప్తారు",
1910
+ "మా అనుభవం గల పండితులు సరైన వేద విధులతో పూజ చేస్తారు",
1911
+ "పూర్తి పూజా వీడియో వాట్సాప్ మరియు శ్రీమందిర్ యాప్ లో పంపబడుతుంది"
1912
+ ],
1913
+ trustBadgeLabels: {
1914
+ moneyBack: "100% డబ్బు తిరిగి హామీ",
1915
+ noHiddenCost: "దాచిన ఖర్చులు లేవు",
1916
+ support: "కస్టమర్ సపోర్ట్"
1917
+ }
1918
+ }
1919
+ }, tr = (t) => mt[t] ?? mt.en, Vr = ({
1920
+ locale: t = "en",
1824
1921
  title: r,
1825
- description: a,
1826
- benefits: s,
1827
- options: n,
1828
- value: i,
1829
- onChange: o,
1922
+ description: s,
1923
+ benefits: n,
1924
+ options: i,
1925
+ value: d,
1926
+ onChange: x,
1830
1927
  radioVariant: f = "dot",
1831
- radiogroupLabel: m,
1832
- className: d,
1833
- headerClassName: p,
1834
- benefitsClassName: u,
1835
- optionsClassName: h,
1836
- trustBadges: v,
1837
- checkout: g,
1838
- stickyFooter: N = !0,
1839
- footerClassName: R
1840
- }) => /* @__PURE__ */ e.jsxs("div", { className: c("w-full", d), children: [
1841
- /* @__PURE__ */ e.jsxs("div", { className: c("px-4 pt-5 pb-4", p), children: [
1842
- /* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: r }),
1843
- a && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: a })
1844
- ] }),
1845
- s && s.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", u), children: s.map((_, y) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
1846
- /* @__PURE__ */ e.jsx(ke, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
1847
- /* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: _ })
1848
- ] }, y)) }),
1849
- /* @__PURE__ */ e.jsx(
1850
- "div",
1851
- {
1852
- role: "radiogroup",
1853
- "aria-label": m ?? (typeof r == "string" ? r : void 0),
1854
- className: c("flex flex-col gap-3 p-4", h),
1855
- children: n.map((_) => {
1856
- const {
1857
- id: y,
1858
- price: j,
1859
- free: O,
1860
- badge: w,
1861
- priceBadgeProps: P,
1862
- note: $,
1863
- noteProps: Y,
1864
- children: W,
1865
- iconClassName: q,
1866
- radioVariant: M,
1867
- ...X
1868
- } = _, U = i === y, B = w ?? (j == null ? void 0 : O ? /* @__PURE__ */ e.jsx("span", { className: c("text-sm font-medium text-gray-400", P?.className), ...P, children: j }) : /* @__PURE__ */ e.jsx(kr, { value: j, ...P }));
1869
- return /* @__PURE__ */ e.jsx(
1870
- pt,
1871
- {
1872
- ...X,
1873
- iconClassName: c("size-10", q),
1874
- radioVariant: M ?? f,
1875
- badge: B,
1876
- selected: U,
1877
- onSelect: () => o(y),
1878
- children: W ?? (U && $ && /* @__PURE__ */ e.jsx(Cr, { ...Y, children: $ }))
1879
- },
1880
- y
1881
- );
1882
- })
1883
- }
1884
- ),
1885
- (v || g) && /* @__PURE__ */ e.jsxs("div", { className: c(N && "sticky bottom-0 z-10", R), children: [
1886
- v && /* @__PURE__ */ e.jsx(Pr, { ...v }),
1887
- g && /* @__PURE__ */ e.jsx(Tr, { ...g })
1888
- ] })
1889
- ] }), Lr = ({
1890
- icon: r = /* @__PURE__ */ e.jsx(ut, { "aria-hidden": !0 }),
1891
- iconClassName: a,
1892
- title: s,
1893
- titleClassName: n,
1894
- subtitle: i,
1895
- subtitleItems: o,
1896
- subtitleClassName: f,
1928
+ radiogroupLabel: u,
1929
+ className: m,
1930
+ headerClassName: h,
1931
+ benefitsClassName: c,
1932
+ optionsClassName: v,
1933
+ trustBadges: g,
1934
+ checkout: y,
1935
+ stickyFooter: P = !0,
1936
+ footerClassName: k
1937
+ }) => {
1938
+ const w = tr(t), j = r ?? w.title, b = s ?? w.description, _ = n ?? w.benefits, O = g ?? {
1939
+ badges: [
1940
+ { id: "money-back", icon: /* @__PURE__ */ e.jsx(It, { "aria-hidden": !0 }), label: w.trustBadgeLabels.moneyBack },
1941
+ { id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(Dt, { "aria-hidden": !0 }), label: w.trustBadgeLabels.noHiddenCost },
1942
+ { id: "24x7-support", icon: /* @__PURE__ */ e.jsx(Mt, { "aria-hidden": !0 }), label: w.trustBadgeLabels.support }
1943
+ ]
1944
+ };
1945
+ return /* @__PURE__ */ e.jsxs("div", { className: o("w-full", m), children: [
1946
+ /* @__PURE__ */ e.jsxs("div", { className: o("px-4 pt-5 pb-4", h), children: [
1947
+ /* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: j }),
1948
+ b && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: b })
1949
+ ] }),
1950
+ _ && _.length > 0 && /* @__PURE__ */ e.jsx("div", { className: o("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", c), children: _.map((F, W) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
1951
+ /* @__PURE__ */ e.jsx($e, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
1952
+ /* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: F })
1953
+ ] }, W)) }),
1954
+ /* @__PURE__ */ e.jsx(
1955
+ "div",
1956
+ {
1957
+ role: "radiogroup",
1958
+ "aria-label": u ?? (typeof j == "string" ? j : void 0),
1959
+ className: o("flex flex-col gap-3 p-4", v),
1960
+ children: i.map((F) => {
1961
+ const {
1962
+ id: W,
1963
+ price: U,
1964
+ free: q,
1965
+ badge: D,
1966
+ priceBadgeProps: G,
1967
+ note: K,
1968
+ noteProps: M,
1969
+ children: V,
1970
+ iconClassName: Z,
1971
+ radioVariant: J,
1972
+ ...X
1973
+ } = F, ae = d === W, re = D ?? (U == null ? void 0 : q ? /* @__PURE__ */ e.jsx("span", { className: o("text-sm font-medium text-gray-400", G?.className), ...G, children: U }) : /* @__PURE__ */ e.jsx(qa, { value: U, ...G }));
1974
+ return /* @__PURE__ */ e.jsx(
1975
+ Ft,
1976
+ {
1977
+ ...X,
1978
+ iconClassName: o("size-10", Z),
1979
+ radioVariant: J ?? f,
1980
+ badge: re,
1981
+ selected: ae,
1982
+ onSelect: () => x(W),
1983
+ children: V ?? (ae && K && /* @__PURE__ */ e.jsx(Ka, { ...M, children: K }))
1984
+ },
1985
+ W
1986
+ );
1987
+ })
1988
+ }
1989
+ ),
1990
+ (O || y) && /* @__PURE__ */ e.jsxs("div", { className: o(P && "sticky bottom-0 z-10", k), children: [
1991
+ O && /* @__PURE__ */ e.jsx(Qa, { ...O }),
1992
+ y && /* @__PURE__ */ e.jsx(He, { ...y })
1993
+ ] })
1994
+ ] });
1995
+ }, bt = {
1996
+ en: {
1997
+ title: "Pitru Paksha Special Rituals",
1998
+ ancestorsLabel: "Ancestors",
1999
+ ritualsLabel: "Rituals",
2000
+ performersLabel: "Performers"
2001
+ },
2002
+ hi: {
2003
+ title: "पितृ पक्ष विशेष अनुष्ठान",
2004
+ ancestorsLabel: "पितृजन",
2005
+ ritualsLabel: "पूजा विधि",
2006
+ performersLabel: "कर्ता"
2007
+ }
2008
+ }, ar = (t) => bt[t] ?? bt.en, rr = ({
2009
+ locale: t = "en",
2010
+ icon: r = /* @__PURE__ */ e.jsx(Rt, { "aria-hidden": !0 }),
2011
+ iconClassName: s,
2012
+ title: n,
2013
+ titleClassName: i,
2014
+ subtitle: d,
2015
+ subtitleItems: x,
2016
+ stats: f,
2017
+ subtitleClassName: u,
1897
2018
  cardClassName: m,
1898
- className: d,
1899
- ...p
1900
- }) => /* @__PURE__ */ e.jsx("div", { className: c("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", d), ...p, children: /* @__PURE__ */ e.jsxs("div", { className: c("rounded-2xl bg-white p-4 shadow-sm", m), children: [
1901
- /* @__PURE__ */ e.jsxs("p", { className: c("flex items-center gap-2 text-sm font-bold text-[#db2777]", n), children: [
1902
- r && /* @__PURE__ */ e.jsx("span", { className: c("shrink-0 text-sm", a), children: r }),
1903
- s
1904
- ] }),
1905
- (i || o && o.length > 0) && /* @__PURE__ */ e.jsx("p", { className: c("mt-2 text-[15px] font-semibold text-[#1d2125]", f), children: o && o.length > 0 ? o.map((u, h) => /* @__PURE__ */ e.jsxs(C.Fragment, { children: [
1906
- h > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
1907
- u
1908
- ] }, h)) : i })
1909
- ] }) }), Ar = ({
1910
- title: r = "Bill Details",
1911
- titleClassName: a,
2019
+ className: h,
2020
+ ...c
2021
+ }) => {
2022
+ const v = ar(t), g = n ?? v.title, y = x ?? (f && [
2023
+ `${f.ancestors} ${v.ancestorsLabel}`,
2024
+ `${f.rituals} ${v.ritualsLabel}`,
2025
+ `${f.performers} ${v.performersLabel}`
2026
+ ]);
2027
+ return /* @__PURE__ */ e.jsx("div", { className: o("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", h), ...c, children: /* @__PURE__ */ e.jsxs("div", { className: o("rounded-2xl bg-white p-4 shadow-sm", m), children: [
2028
+ /* @__PURE__ */ e.jsxs("p", { className: o("flex items-center gap-2 text-sm font-bold text-[#db2777]", i), children: [
2029
+ r && /* @__PURE__ */ e.jsx("span", { className: o("shrink-0 text-sm", s), children: r }),
2030
+ g
2031
+ ] }),
2032
+ (d || y && y.length > 0) && /* @__PURE__ */ e.jsx("p", { className: o("mt-2 text-[15px] font-semibold text-[#1d2125]", u), children: y && y.length > 0 ? y.map((P, k) => /* @__PURE__ */ e.jsxs(L.Fragment, { children: [
2033
+ k > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
2034
+ P
2035
+ ] }, k)) : d })
2036
+ ] }) });
2037
+ }, gt = {
2038
+ en: {
2039
+ title: "Bill Details",
2040
+ totalLabel: "Total Amount"
2041
+ },
2042
+ hi: {
2043
+ title: "बिल विवरण",
2044
+ totalLabel: "कुल राशि"
2045
+ }
2046
+ }, sr = (t) => gt[t] ?? gt.en, nr = ({
2047
+ locale: t = "en",
2048
+ titleClassName: r,
1912
2049
  rows: s,
1913
2050
  rowClassName: n,
1914
2051
  showTitleAccent: i = !0,
1915
- totalLabel: o = "Total Amount",
1916
- totalValue: f,
1917
- totalClassName: m,
1918
- className: d,
1919
- ...p
1920
- }) => /* @__PURE__ */ e.jsxs("div", { className: c("bg-white px-4 py-6", d), ...p, children: [
1921
- /* @__PURE__ */ e.jsxs("h2", { className: c("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]", a), children: [
1922
- i && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]" }),
1923
- r
1924
- ] }),
1925
- /* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-4", children: s.map((u) => /* @__PURE__ */ e.jsxs("div", { className: c("flex items-start justify-between gap-3", n), children: [
1926
- /* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
1927
- /* @__PURE__ */ e.jsx("p", { className: c("text-sm text-[#1d2125]", u.labelClassName), children: u.label }),
1928
- u.subLabel && /* @__PURE__ */ e.jsx("p", { className: c("mt-0.5 text-xs text-gray-400", u.subLabelClassName), children: u.subLabel })
2052
+ totalValue: d,
2053
+ totalClassName: x,
2054
+ className: f,
2055
+ ...u
2056
+ }) => {
2057
+ const { title: m, totalLabel: h } = sr(t);
2058
+ return /* @__PURE__ */ e.jsxs("div", { className: o("bg-white px-4 py-6", f), ...u, children: [
2059
+ /* @__PURE__ */ e.jsxs("h2", { className: o("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]", r), children: [
2060
+ i && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]" }),
2061
+ m
1929
2062
  ] }),
1930
- /* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm", children: [
1931
- u.note && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400", children: u.note }),
1932
- u.originalValue && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400 line-through", children: u.originalValue }),
1933
- /* @__PURE__ */ e.jsx("span", { className: c("font-medium text-[#1d2125]", u.valueClassName), children: u.value })
2063
+ /* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-4", children: s.map((c) => /* @__PURE__ */ e.jsxs("div", { className: o("flex items-start justify-between gap-3", n), children: [
2064
+ /* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
2065
+ /* @__PURE__ */ e.jsx("p", { className: o("text-sm text-[#1d2125]", c.labelClassName), children: c.label }),
2066
+ c.subLabel && /* @__PURE__ */ e.jsx("p", { className: o("mt-0.5 text-xs text-gray-400", c.subLabelClassName), children: c.subLabel })
2067
+ ] }),
2068
+ /* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm", children: [
2069
+ c.note && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400", children: c.note }),
2070
+ c.originalValue && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400 line-through", children: c.originalValue }),
2071
+ /* @__PURE__ */ e.jsx("span", { className: o("font-medium text-[#1d2125]", c.valueClassName), children: c.value })
2072
+ ] })
2073
+ ] }, c.id)) }),
2074
+ d !== void 0 && /* @__PURE__ */ e.jsxs("div", { className: o("mt-4 flex items-center justify-between border-t border-dashed border-gray-300 pt-4", x), children: [
2075
+ /* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-[#1d2125]", children: h }),
2076
+ /* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children: d })
1934
2077
  ] })
1935
- ] }, u.id)) }),
1936
- f !== void 0 && /* @__PURE__ */ e.jsxs("div", { className: c("mt-4 flex items-center justify-between border-t border-dashed border-gray-300 pt-4", m), children: [
1937
- /* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-[#1d2125]", children: o }),
1938
- /* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children: f })
1939
- ] })
1940
- ] }), da = ({
1941
- headerTitle: r = "Review your booking",
1942
- onBack: a,
2078
+ ] });
2079
+ }, Hr = ({
2080
+ locale: t = "en",
2081
+ onBack: r,
1943
2082
  backButtonAriaLabel: s = "Go back",
1944
2083
  headerClassName: n,
1945
2084
  backButtonClassName: i,
1946
- headerTitleClassName: o,
1947
- summary: f,
1948
- items: m,
1949
- itemsClassName: d,
1950
- itemClassName: p,
1951
- upsellsTitle: u = "Add services for all ancestors",
1952
- upsellsDescription: h,
1953
- upsells: v,
1954
- upsellsSectionClassName: g,
1955
- upsellsHeaderClassName: N,
1956
- upsellsTitleClassName: R,
1957
- upsellsDescriptionClassName: _,
1958
- upsellsClassName: y,
1959
- upsellClassName: j,
1960
- billDetails: O,
1961
- faq: w,
1962
- className: P,
1963
- children: $,
1964
- ...Y
1965
- }) => /* @__PURE__ */ e.jsxs("div", { className: c("flex flex-col bg-white", P), ...Y, children: [
1966
- (r || a) && /* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3 px-4 py-3", n), children: [
1967
- a && /* @__PURE__ */ e.jsx(
1968
- "button",
1969
- {
1970
- type: "button",
1971
- onClick: a,
1972
- "aria-label": s,
1973
- className: c(
1974
- "flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",
1975
- i
2085
+ headerTitleClassName: d,
2086
+ summary: x,
2087
+ items: f,
2088
+ itemsClassName: u,
2089
+ itemClassName: m,
2090
+ addons: h,
2091
+ addonsSectionClassName: c,
2092
+ addonsHeaderClassName: v,
2093
+ addonsTitleClassName: g,
2094
+ addonsDescriptionClassName: y,
2095
+ addonsClassName: P,
2096
+ addonClassName: k,
2097
+ billDetails: w,
2098
+ faq: j,
2099
+ checkout: b,
2100
+ className: _,
2101
+ children: O,
2102
+ ...F
2103
+ }) => {
2104
+ const { headerTitle: W, addonsTitle: U, addonsDescription: q, checkoutProceedLabel: D, checkoutRitualSingular: G, checkoutRitualPlural: K } = _e(t), { price: M, ritualCount: V, ...Z } = b ?? {};
2105
+ return /* @__PURE__ */ e.jsxs("div", { className: o("flex min-h-screen flex-col bg-white", _), ...F, children: [
2106
+ /* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
2107
+ /* @__PURE__ */ e.jsxs("div", { className: o("flex items-center gap-3 px-4 py-3", n), children: [
2108
+ r && /* @__PURE__ */ e.jsx(
2109
+ "button",
2110
+ {
2111
+ type: "button",
2112
+ onClick: r,
2113
+ "aria-label": s,
2114
+ className: o(
2115
+ "flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",
2116
+ i
2117
+ ),
2118
+ children: /* @__PURE__ */ e.jsx(Ve, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
2119
+ }
1976
2120
  ),
1977
- children: /* @__PURE__ */ e.jsx(xt, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
1978
- }
1979
- ),
1980
- r && /* @__PURE__ */ e.jsx("h1", { className: c("text-lg font-bold text-[#1d2125]", o), children: r })
1981
- ] }),
1982
- f && /* @__PURE__ */ e.jsx(Lr, { ...f }),
1983
- m && m.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3 bg-white px-4 py-4", d), children: m.map(({ id: W, className: q, ...M }) => /* @__PURE__ */ e.jsx(_r, { className: c(p, q), ...M }, W)) }),
1984
- v && v.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: c("flex flex-col gap-4 bg-gray-50 px-4 py-6", g), children: [
1985
- (u || h) && /* @__PURE__ */ e.jsxs("div", { className: N, children: [
1986
- u && /* @__PURE__ */ e.jsx("h2", { className: c("text-base font-bold text-gray-700", R), children: u }),
1987
- h && /* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", _), children: h })
2121
+ /* @__PURE__ */ e.jsx("h1", { className: o("text-lg font-bold text-[#1d2125]", d), children: W })
2122
+ ] }),
2123
+ x && /* @__PURE__ */ e.jsx(rr, { ...x }),
2124
+ f && f.length > 0 && /* @__PURE__ */ e.jsx("div", { className: o("flex flex-col gap-3 bg-white px-4 py-4", u), children: f.map(
2125
+ ({ id: J, className: X, isMandapCharge: ae, ...re }) => ae ? /* @__PURE__ */ e.jsx(
2126
+ Za,
2127
+ {
2128
+ locale: t,
2129
+ className: o(m, X),
2130
+ ...re
2131
+ },
2132
+ J
2133
+ ) : /* @__PURE__ */ e.jsx(
2134
+ Bt,
2135
+ {
2136
+ className: o(m, X),
2137
+ ...re
2138
+ },
2139
+ J
2140
+ )
2141
+ ) }),
2142
+ h && h.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: o("flex flex-col gap-4 bg-gray-50 px-4 py-6", c), children: [
2143
+ /* @__PURE__ */ e.jsxs("div", { className: v, children: [
2144
+ /* @__PURE__ */ e.jsx("h2", { className: o("text-base font-bold text-gray-700", g), children: U }),
2145
+ /* @__PURE__ */ e.jsx("p", { className: o("mt-1 text-sm text-gray-500", y), children: q })
2146
+ ] }),
2147
+ /* @__PURE__ */ e.jsx("div", { className: o("flex flex-col gap-4", P), children: h.map(({ id: J, className: X, ...ae }) => /* @__PURE__ */ e.jsx(Ja, { className: o(k, X), ...ae }, J)) })
2148
+ ] }),
2149
+ w && /* @__PURE__ */ e.jsx(nr, { ...w, locale: t }),
2150
+ j && /* @__PURE__ */ e.jsx(Ma, { ...j }),
2151
+ O
1988
2152
  ] }),
1989
- /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-4", y), children: v.map(({ id: W, className: q, ...M }) => /* @__PURE__ */ e.jsx(Er, { className: c(j, q), ...M }, W)) })
1990
- ] }),
1991
- O && /* @__PURE__ */ e.jsx(Ar, { ...O }),
1992
- w && /* @__PURE__ */ e.jsx(pr, { ...w }),
1993
- $
1994
- ] }), _e = C.forwardRef(
2153
+ b && /* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0", children: /* @__PURE__ */ e.jsx(
2154
+ He,
2155
+ {
2156
+ ...Z,
2157
+ locale: t,
2158
+ amount: M,
2159
+ subtitle: `${V} ${V === 1 ? G : K}`,
2160
+ proceedLabel: D
2161
+ }
2162
+ ) })
2163
+ ] });
2164
+ }, ie = L.forwardRef(
1995
2165
  ({
1996
- label: r,
1997
- value: a,
2166
+ label: t,
2167
+ value: r,
1998
2168
  onChange: s,
1999
2169
  prefix: n,
2000
2170
  showCharCount: i = !1,
2001
- supportingText: o,
2002
- error: f = !1,
2003
- className: m,
2004
- containerClassName: d,
2005
- wrapperClassName: p,
2006
- maxLength: u,
2007
- id: h,
2171
+ supportingText: d,
2172
+ error: x = !1,
2173
+ className: f,
2174
+ containerClassName: u,
2175
+ wrapperClassName: m,
2176
+ maxLength: h,
2177
+ id: c,
2008
2178
  ...v
2009
2179
  }, g) => {
2010
- const N = C.useId(), R = h ?? N, _ = o ?? (i ? `${a.length}${u ? `/${u}` : ""}` : void 0);
2011
- return /* @__PURE__ */ e.jsxs("div", { className: c("flex w-full flex-col gap-2", d), children: [
2012
- r && /* @__PURE__ */ e.jsx("label", { htmlFor: R, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: r }),
2180
+ const y = L.useId(), P = c ?? y, k = d ?? (i ? `${r.length}${h ? `/${h}` : ""}` : void 0);
2181
+ return /* @__PURE__ */ e.jsxs("div", { className: o("flex w-full flex-col gap-2", u), children: [
2182
+ t && /* @__PURE__ */ e.jsx("label", { htmlFor: P, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: t }),
2013
2183
  /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
2014
2184
  /* @__PURE__ */ e.jsxs(
2015
2185
  "div",
2016
2186
  {
2017
- className: c(
2187
+ className: o(
2018
2188
  "flex w-full items-center gap-1.5 rounded-lg border bg-white p-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",
2019
- f ? "border-[#ef4444]" : "border-[#d1d5db]",
2020
- p
2189
+ x ? "border-[#ef4444]" : "border-[#d1d5db]",
2190
+ m
2021
2191
  ),
2022
2192
  children: [
2023
2193
  n && /* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[16px] leading-5.5 font-medium text-[#6b7280]", children: n }),
@@ -2025,14 +2195,14 @@ const Or = [
2025
2195
  "input",
2026
2196
  {
2027
2197
  ref: g,
2028
- id: R,
2029
- value: a,
2030
- maxLength: u,
2031
- onChange: (y) => s(y.target.value),
2032
- "aria-invalid": f,
2033
- className: c(
2198
+ id: P,
2199
+ value: r,
2200
+ maxLength: h,
2201
+ onChange: (w) => s(w.target.value),
2202
+ "aria-invalid": x,
2203
+ className: o(
2034
2204
  "w-full min-w-0 flex-1 border-0 bg-transparent p-0 text-[16px] leading-5.5 font-medium text-[#1f2937] placeholder:text-[#9ca3af] focus:outline-none focus:ring-0",
2035
- m
2205
+ f
2036
2206
  ),
2037
2207
  ...v
2038
2208
  }
@@ -2040,30 +2210,30 @@ const Or = [
2040
2210
  ]
2041
2211
  }
2042
2212
  ),
2043
- _ && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#9ca3af]", children: _ })
2213
+ k && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#9ca3af]", children: k })
2044
2214
  ] })
2045
2215
  ] });
2046
2216
  }
2047
2217
  );
2048
- _e.displayName = "TextField";
2049
- function ua({
2050
- isOpen: r,
2051
- onClose: a,
2218
+ ie.displayName = "TextField";
2219
+ function Wr({
2220
+ isOpen: t,
2221
+ onClose: r,
2052
2222
  avatarUrl: s,
2053
2223
  heading: n,
2054
2224
  tithis: i,
2055
- confirmLabel: o,
2056
- onConfirm: f,
2057
- initialTithi: m
2225
+ confirmLabel: d,
2226
+ onConfirm: x,
2227
+ initialTithi: f
2058
2228
  }) {
2059
- const [d, p] = V(m), u = () => {
2060
- d && f(d);
2229
+ const [u, m] = Y(f), h = () => {
2230
+ u && x(u);
2061
2231
  };
2062
2232
  return /* @__PURE__ */ e.jsx(
2063
2233
  xe,
2064
2234
  {
2065
- isOpen: r,
2066
- onClose: a,
2235
+ isOpen: t,
2236
+ onClose: r,
2067
2237
  showDragHandle: !0,
2068
2238
  closeButtonOutside: !0,
2069
2239
  ariaLabel: n,
@@ -2077,63 +2247,63 @@ function ua({
2077
2247
  footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-4 px-5 pb-2", children: [
2078
2248
  /* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
2079
2249
  /* @__PURE__ */ e.jsx(
2080
- H,
2250
+ te,
2081
2251
  {
2082
2252
  variant: "primary",
2083
2253
  size: "md",
2084
2254
  className: "w-full rounded-xl",
2085
- disabled: !d,
2086
- onClick: u,
2087
- children: o
2255
+ disabled: !u,
2256
+ onClick: h,
2257
+ children: d
2088
2258
  }
2089
2259
  )
2090
2260
  ] }),
2091
- children: /* @__PURE__ */ e.jsx("div", { className: "grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4", children: i.map((h) => {
2092
- const v = d === h;
2261
+ children: /* @__PURE__ */ e.jsx("div", { className: "grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4", children: i.map((c) => {
2262
+ const v = u === c;
2093
2263
  return /* @__PURE__ */ e.jsx(
2094
2264
  "button",
2095
2265
  {
2096
2266
  type: "button",
2097
- onClick: () => p(h),
2267
+ onClick: () => m(c),
2098
2268
  className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${v ? "border-[#f38415] bg-[#f38415] text-white" : "border-[#fccf9a] bg-white/40 text-[#374151]"}`,
2099
- children: h
2269
+ children: c
2100
2270
  },
2101
- h
2271
+ c
2102
2272
  );
2103
2273
  }) })
2104
2274
  }
2105
2275
  );
2106
2276
  }
2107
- const oe = 48;
2108
- function we({ options: r, selectedIndex: a, onChange: s }) {
2109
- const n = C.useRef(null), i = C.useRef(!1);
2110
- C.useEffect(() => {
2111
- i.current || !n.current || (i.current = !0, n.current.scrollTop = a * oe);
2277
+ const Ne = 48;
2278
+ function Ae({ options: t, selectedIndex: r, onChange: s }) {
2279
+ const n = L.useRef(null), i = L.useRef(!1);
2280
+ L.useEffect(() => {
2281
+ i.current || !n.current || (i.current = !0, n.current.scrollTop = r * Ne);
2112
2282
  }, []);
2113
- const o = () => {
2283
+ const d = () => {
2114
2284
  if (!n.current) return;
2115
- const f = Math.round(n.current.scrollTop / oe), m = Math.max(0, Math.min(r.length - 1, f));
2116
- m !== a && s(m);
2285
+ const x = Math.round(n.current.scrollTop / Ne), f = Math.max(0, Math.min(t.length - 1, x));
2286
+ f !== r && s(f);
2117
2287
  };
2118
2288
  return /* @__PURE__ */ e.jsxs("div", { className: "relative h-36 w-full", children: [
2119
2289
  /* @__PURE__ */ e.jsxs(
2120
2290
  "div",
2121
2291
  {
2122
2292
  ref: n,
2123
- onScroll: o,
2293
+ onScroll: d,
2124
2294
  className: "h-36 snap-y snap-mandatory overflow-y-auto [&::-webkit-scrollbar]:hidden",
2125
2295
  style: { scrollbarWidth: "none" },
2126
2296
  children: [
2127
- /* @__PURE__ */ e.jsx("div", { style: { height: oe }, "aria-hidden": !0 }),
2128
- r.map((f, m) => /* @__PURE__ */ e.jsx(
2297
+ /* @__PURE__ */ e.jsx("div", { style: { height: Ne }, "aria-hidden": !0 }),
2298
+ t.map((x, f) => /* @__PURE__ */ e.jsx(
2129
2299
  "div",
2130
2300
  {
2131
- className: `flex h-12 snap-center items-center justify-center whitespace-nowrap text-[20px] leading-7 ${m === a ? "font-bold text-[#f75e22]" : "font-semibold text-[#d1d5db]"}`,
2132
- children: f
2301
+ className: `flex h-12 snap-center items-center justify-center whitespace-nowrap text-[20px] leading-7 ${f === r ? "font-bold text-[#f75e22]" : "font-semibold text-[#d1d5db]"}`,
2302
+ children: x
2133
2303
  },
2134
- f
2304
+ x
2135
2305
  )),
2136
- /* @__PURE__ */ e.jsx("div", { style: { height: oe }, "aria-hidden": !0 })
2306
+ /* @__PURE__ */ e.jsx("div", { style: { height: Ne }, "aria-hidden": !0 })
2137
2307
  ]
2138
2308
  }
2139
2309
  ),
@@ -2141,33 +2311,33 @@ function we({ options: r, selectedIndex: a, onChange: s }) {
2141
2311
  /* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-0 top-24 h-px bg-[#e5e7eb]" })
2142
2312
  ] });
2143
2313
  }
2144
- const Ne = Array.from({ length: 31 }, (r, a) => a + 1);
2145
- function fa({
2146
- isOpen: r,
2147
- onClose: a,
2314
+ const Fe = Array.from({ length: 31 }, (t, r) => r + 1);
2315
+ function Ur({
2316
+ isOpen: t,
2317
+ onClose: r,
2148
2318
  avatarUrl: s,
2149
2319
  heading: n,
2150
2320
  monthLabels: i,
2151
- confirmLabel: o,
2152
- onConfirm: f,
2153
- timezoneLabel: m,
2154
- initialDate: d,
2155
- minYear: p,
2156
- maxYear: u = (/* @__PURE__ */ new Date()).getFullYear()
2321
+ confirmLabel: d,
2322
+ onConfirm: x,
2323
+ timezoneLabel: f,
2324
+ initialDate: u,
2325
+ minYear: m,
2326
+ maxYear: h = (/* @__PURE__ */ new Date()).getFullYear()
2157
2327
  }) {
2158
- const h = Ut(() => {
2159
- const O = p ?? u - 120;
2160
- return Array.from({ length: u - O + 1 }, (w, P) => O + P);
2161
- }, [p, u]), [v, g] = V(() => d ? d.day - 1 : Math.floor(Ne.length / 2)), [N, R] = V(() => d ? d.month - 1 : 0), [_, y] = V(
2162
- () => d ? Math.max(0, h.indexOf(d.year)) : Math.floor(h.length / 2)
2328
+ const c = ha(() => {
2329
+ const b = m ?? h - 120;
2330
+ return Array.from({ length: h - b + 1 }, (_, O) => b + O);
2331
+ }, [m, h]), [v, g] = Y(() => u ? u.day - 1 : Math.floor(Fe.length / 2)), [y, P] = Y(() => u ? u.month - 1 : 0), [k, w] = Y(
2332
+ () => u ? Math.max(0, c.indexOf(u.year)) : Math.floor(c.length / 2)
2163
2333
  ), j = () => {
2164
- f({ day: Ne[v], month: N + 1, year: h[_] });
2334
+ x({ day: Fe[v], month: y + 1, year: c[k] });
2165
2335
  };
2166
2336
  return /* @__PURE__ */ e.jsx(
2167
2337
  xe,
2168
2338
  {
2169
- isOpen: r,
2170
- onClose: a,
2339
+ isOpen: t,
2340
+ onClose: r,
2171
2341
  showDragHandle: !0,
2172
2342
  closeButtonOutside: !0,
2173
2343
  ariaLabel: n,
@@ -2181,61 +2351,61 @@ function fa({
2181
2351
  footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-4 px-5 pb-2", children: [
2182
2352
  /* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
2183
2353
  /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-6", children: [
2184
- m && /* @__PURE__ */ e.jsx("p", { className: "shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]", children: m }),
2185
- /* @__PURE__ */ e.jsx(H, { variant: "primary", size: "md", className: "flex-1 rounded-xl", onClick: j, children: o })
2354
+ f && /* @__PURE__ */ e.jsx("p", { className: "shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]", children: f }),
2355
+ /* @__PURE__ */ e.jsx(te, { variant: "primary", size: "md", className: "flex-1 rounded-xl", onClick: j, children: d })
2186
2356
  ] })
2187
2357
  ] }),
2188
2358
  children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-center gap-11 px-5 py-4", children: [
2189
- /* @__PURE__ */ e.jsx(we, { options: Ne.map(String), selectedIndex: v, onChange: g }),
2190
- /* @__PURE__ */ e.jsx(we, { options: i, selectedIndex: N, onChange: R }),
2191
- /* @__PURE__ */ e.jsx(we, { options: h.map(String), selectedIndex: _, onChange: y })
2359
+ /* @__PURE__ */ e.jsx(Ae, { options: Fe.map(String), selectedIndex: v, onChange: g }),
2360
+ /* @__PURE__ */ e.jsx(Ae, { options: i, selectedIndex: y, onChange: P }),
2361
+ /* @__PURE__ */ e.jsx(Ae, { options: c.map(String), selectedIndex: k, onChange: w })
2192
2362
  ] })
2193
2363
  }
2194
2364
  );
2195
2365
  }
2196
- function xa({
2197
- isOpen: r,
2198
- onClose: a,
2366
+ function Gr({
2367
+ isOpen: t,
2368
+ onClose: r,
2199
2369
  heading: s,
2200
2370
  subtext: n,
2201
2371
  confirmLabel: i,
2202
- onConfirm: o,
2203
- initialValue: f = "",
2204
- countries: m = qt,
2205
- initialCountryIso: d = "IN"
2372
+ onConfirm: d,
2373
+ initialValue: x = "",
2374
+ countries: f = fa,
2375
+ initialCountryIso: u = "IN"
2206
2376
  }) {
2207
- const [p, u] = V(
2208
- () => m.find((w) => w.iso === d) ?? m[0]
2209
- ), [h, v] = V(f), [g, N] = V(!1), R = Gt(null);
2210
- Zt(() => {
2377
+ const [m, h] = Y(
2378
+ () => f.find((_) => _.iso === u) ?? f[0]
2379
+ ), [c, v] = Y(x), [g, y] = Y(!1), P = St(null);
2380
+ Pt(() => {
2211
2381
  if (!g) return;
2212
- const w = (P) => {
2213
- R.current && !R.current.contains(P.target) && N(!1);
2382
+ const _ = (O) => {
2383
+ P.current && !P.current.contains(O.target) && y(!1);
2214
2384
  };
2215
- return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
2385
+ return document.addEventListener("mousedown", _), () => document.removeEventListener("mousedown", _);
2216
2386
  }, [g]);
2217
- const _ = Ke(p.code), y = Ht(h, p.code).isValid && h.length > 0, j = (w) => {
2218
- u(w), N(!1), v((P) => P.slice(0, Ke(w.code)));
2219
- }, O = () => {
2220
- y && o(h, p);
2387
+ const k = Ie(m.code), w = Lt(c, m.code).isValid && c.length > 0, j = (_) => {
2388
+ h(_), y(!1), v((O) => O.slice(0, Ie(_.code)));
2389
+ }, b = () => {
2390
+ w && d(c, m);
2221
2391
  };
2222
2392
  return /* @__PURE__ */ e.jsx(
2223
2393
  xe,
2224
2394
  {
2225
- isOpen: r,
2226
- onClose: a,
2395
+ isOpen: t,
2396
+ onClose: r,
2227
2397
  showDragHandle: !0,
2228
2398
  closeButtonOutside: !0,
2229
2399
  ariaLabel: s,
2230
2400
  footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
2231
- H,
2401
+ te,
2232
2402
  {
2233
2403
  variant: "primary",
2234
2404
  size: "xl",
2235
2405
  className: "w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
2236
- rightIcon: /* @__PURE__ */ e.jsx(Ce, { "aria-hidden": !0 }),
2237
- disabled: !y,
2238
- onClick: O,
2406
+ rightIcon: /* @__PURE__ */ e.jsx(zt, { "aria-hidden": !0 }),
2407
+ disabled: !w,
2408
+ onClick: b,
2239
2409
  children: i
2240
2410
  }
2241
2411
  ) }),
@@ -2243,19 +2413,19 @@ function xa({
2243
2413
  /* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
2244
2414
  n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
2245
2415
  /* @__PURE__ */ e.jsxs("div", { className: "mt-2 flex w-full items-start gap-2", children: [
2246
- /* @__PURE__ */ e.jsxs("div", { ref: R, className: "relative shrink-0", children: [
2416
+ /* @__PURE__ */ e.jsxs("div", { ref: P, className: "relative shrink-0", children: [
2247
2417
  /* @__PURE__ */ e.jsxs(
2248
2418
  "button",
2249
2419
  {
2250
2420
  type: "button",
2251
- onClick: () => N((w) => !w),
2421
+ onClick: () => y((_) => !_),
2252
2422
  "aria-expanded": g,
2253
2423
  "aria-haspopup": "listbox",
2254
2424
  className: "flex h-14 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2",
2255
2425
  children: [
2256
- /* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: Je(p.iso) }),
2257
- /* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: p.code }),
2258
- /* @__PURE__ */ e.jsx(fe, { size: 24, className: "text-[#1d2125]", "aria-hidden": !0 })
2426
+ /* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: Me(m.iso) }),
2427
+ /* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: m.code }),
2428
+ /* @__PURE__ */ e.jsx(Ce, { size: 24, className: "text-[#1d2125]", "aria-hidden": !0 })
2259
2429
  ]
2260
2430
  }
2261
2431
  ),
@@ -2264,33 +2434,33 @@ function xa({
2264
2434
  {
2265
2435
  role: "listbox",
2266
2436
  className: "absolute top-[calc(100%+4px)] left-0 z-10 max-h-60 w-64 overflow-y-auto rounded-xl border border-[#e5e7eb] bg-white py-1 shadow-lg",
2267
- children: m.map((w) => /* @__PURE__ */ e.jsxs(
2437
+ children: f.map((_) => /* @__PURE__ */ e.jsxs(
2268
2438
  "button",
2269
2439
  {
2270
2440
  type: "button",
2271
2441
  role: "option",
2272
- "aria-selected": w.iso === p.iso,
2273
- onClick: () => j(w),
2274
- className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${w.iso === p.iso ? "bg-[#fff9e9]" : ""}`,
2442
+ "aria-selected": _.iso === m.iso,
2443
+ onClick: () => j(_),
2444
+ className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${_.iso === m.iso ? "bg-[#fff9e9]" : ""}`,
2275
2445
  children: [
2276
- /* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children: Je(w.iso) }),
2277
- /* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children: w.code }),
2278
- /* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children: w.name })
2446
+ /* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children: Me(_.iso) }),
2447
+ /* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children: _.code }),
2448
+ /* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children: _.name })
2279
2449
  ]
2280
2450
  },
2281
- `${w.iso}-${w.code}`
2451
+ `${_.iso}-${_.code}`
2282
2452
  ))
2283
2453
  }
2284
2454
  )
2285
2455
  ] }),
2286
2456
  /* @__PURE__ */ e.jsx(
2287
- _e,
2457
+ ie,
2288
2458
  {
2289
2459
  type: "tel",
2290
2460
  inputMode: "numeric",
2291
- value: h,
2292
- maxLength: _,
2293
- onChange: (w) => v(w.replace(/\D/g, "").slice(0, _)),
2461
+ value: c,
2462
+ maxLength: k,
2463
+ onChange: (_) => v(_.replace(/\D/g, "").slice(0, k)),
2294
2464
  containerClassName: "w-auto flex-1 gap-0",
2295
2465
  wrapperClassName: "h-14 rounded-xl px-4",
2296
2466
  className: "text-[18px]"
@@ -2301,103 +2471,46 @@ function xa({
2301
2471
  }
2302
2472
  );
2303
2473
  }
2304
- const Mr = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
2305
- function ma({
2306
- isOpen: r,
2307
- onClose: a,
2308
- heading: s,
2309
- subtext: n,
2310
- confirmLabel: i,
2311
- onConfirm: o,
2312
- initialValue: f = "",
2313
- errorText: m = "Please enter a valid email"
2314
- }) {
2315
- const [d, p] = V(f), [u, h] = V(!1), v = d.trim(), g = Mr.test(v), N = u && v.length > 0 && !g, R = () => {
2316
- g && o(v);
2317
- };
2318
- return /* @__PURE__ */ e.jsx(
2319
- xe,
2320
- {
2321
- isOpen: r,
2322
- onClose: a,
2323
- showDragHandle: !0,
2324
- ariaLabel: s,
2325
- footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
2326
- H,
2327
- {
2328
- variant: "primary",
2329
- size: "xl",
2330
- className: "w-full rounded-xl",
2331
- rightIcon: /* @__PURE__ */ e.jsx(Ce, { "aria-hidden": !0 }),
2332
- disabled: !g,
2333
- onClick: R,
2334
- children: i
2335
- }
2336
- ) }),
2337
- children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 px-4 py-3", children: [
2338
- /* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
2339
- n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
2340
- /* @__PURE__ */ e.jsx(
2341
- _e,
2342
- {
2343
- type: "email",
2344
- inputMode: "email",
2345
- autoFocus: !0,
2346
- value: d,
2347
- placeholder: "you@example.com",
2348
- error: N,
2349
- supportingText: N ? m : void 0,
2350
- onChange: p,
2351
- onBlur: () => h(!0),
2352
- containerClassName: "mt-2",
2353
- wrapperClassName: "h-14 rounded-xl px-4",
2354
- className: "text-[18px]"
2355
- }
2356
- )
2357
- ] })
2358
- }
2359
- );
2474
+ function lr(t) {
2475
+ return R({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10" }, child: [] }] })(t);
2360
2476
  }
2361
- function Fr(r) {
2362
- return T({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10" }, child: [] }] })(r);
2477
+ function ir(t) {
2478
+ return R({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z" }, child: [] }] })(t);
2363
2479
  }
2364
- function Ir(r) {
2365
- return T({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z" }, child: [] }] })(r);
2366
- }
2367
- const Br = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
2368
- function ha({
2369
- chipNumber: r,
2370
- chipLabel: a,
2480
+ const or = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
2481
+ function Yr({
2482
+ chipNumber: t,
2483
+ chipLabel: r,
2371
2484
  isAdded: s,
2372
2485
  onEditClick: n,
2373
2486
  editButtonAriaLabel: i = "Edit",
2374
- onExpandClick: o,
2375
- expandButtonAriaLabel: f = "Expand",
2376
- imageUrl: m,
2377
- imageAlt: d,
2378
- imageComponent: p,
2379
- ratingLabel: u,
2380
- bookedLabel: h,
2487
+ onExpandClick: d,
2488
+ expandButtonAriaLabel: x = "Expand",
2489
+ imageUrl: f,
2490
+ imageAlt: u,
2491
+ imageComponent: m,
2492
+ ratingLabel: h,
2493
+ bookedLabel: c,
2381
2494
  title: v,
2382
2495
  description: g,
2383
- learnMoreLabel: N,
2384
- onLearnMoreClick: R,
2385
- learnMoreHref: _,
2386
- dateLabel: y,
2496
+ learnMoreLabel: y,
2497
+ onLearnMoreClick: P,
2498
+ learnMoreHref: k,
2499
+ dateLabel: w,
2387
2500
  locationLabel: j,
2388
- priceInfoLabel: O,
2389
- onPriceInfoClick: w,
2390
- price: P,
2391
- cta: $,
2392
- className: Y = ""
2501
+ priceInfoLabel: b,
2502
+ onPriceInfoClick: _,
2503
+ price: O,
2504
+ cta: F,
2505
+ className: W = ""
2393
2506
  }) {
2394
- const [W, q] = V(!1), M = s || W, X = M && (u != null || h != null), U = M && (y != null || j != null);
2507
+ const [U, q] = Y(!1), D = s || U, G = D && (h != null || c != null), K = D && (w != null || j != null);
2395
2508
  return /* @__PURE__ */ e.jsxs(
2396
2509
  "div",
2397
2510
  {
2398
- className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${M ? "gap-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]" : "gap-4 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.12)]"} ${Y}`,
2511
+ className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${D ? "gap-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]" : "gap-4 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.12)]"} ${W}`,
2399
2512
  children: [
2400
- /* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 px-3 ${M ? "py-4" : "pt-4"}`, children: [
2513
+ /* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 px-3 ${D ? "py-4" : "pt-4"}`, children: [
2401
2514
  /* @__PURE__ */ e.jsxs(
2402
2515
  "div",
2403
2516
  {
@@ -2406,8 +2519,8 @@ function ha({
2406
2519
  background: "linear-gradient(90deg, #fcccdf -29.79%, #fef5e9 50.11%, rgba(254, 245, 233, 0) 100%)"
2407
2520
  },
2408
2521
  children: [
2409
- /* @__PURE__ */ e.jsx("span", { className: "flex size-5 shrink-0 items-center justify-center rounded-[10px] bg-white text-[11.5px] font-semibold text-gray-700", children: r }),
2410
- /* @__PURE__ */ e.jsx("p", { className: "min-w-0 flex-1 text-xs font-semibold leading-4 text-[#1d0d38]", children: a })
2522
+ /* @__PURE__ */ e.jsx("span", { className: "flex size-5 shrink-0 items-center justify-center rounded-[10px] bg-white text-[11.5px] font-semibold text-gray-700", children: t }),
2523
+ /* @__PURE__ */ e.jsx("p", { className: "min-w-0 flex-1 text-xs font-semibold leading-4 text-[#1d0d38]", children: r })
2411
2524
  ]
2412
2525
  }
2413
2526
  ),
@@ -2419,7 +2532,7 @@ function ha({
2419
2532
  className: "flex size-8 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white p-0",
2420
2533
  onClick: n,
2421
2534
  "aria-label": i,
2422
- children: /* @__PURE__ */ e.jsx(Fr, { "aria-hidden": !0, className: "size-[18px] text-[#1D2125]" })
2535
+ children: /* @__PURE__ */ e.jsx(lr, { "aria-hidden": !0, className: "size-[18px] text-[#1D2125]" })
2423
2536
  }
2424
2537
  ),
2425
2538
  !s && /* @__PURE__ */ e.jsx(
@@ -2428,60 +2541,60 @@ function ha({
2428
2541
  type: "button",
2429
2542
  className: "flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",
2430
2543
  onClick: () => {
2431
- q((B) => !B), o?.();
2544
+ q((M) => !M), d?.();
2432
2545
  },
2433
- "aria-label": f,
2434
- "aria-expanded": W,
2546
+ "aria-label": x,
2547
+ "aria-expanded": U,
2435
2548
  children: /* @__PURE__ */ e.jsx(
2436
- Ir,
2549
+ ir,
2437
2550
  {
2438
2551
  "aria-hidden": !0,
2439
- className: `size-8 text-[#1D2125] ${W ? "" : "-scale-y-100"}`
2552
+ className: `size-8 text-[#1D2125] ${U ? "" : "-scale-y-100"}`
2440
2553
  }
2441
2554
  )
2442
2555
  }
2443
2556
  )
2444
2557
  ] })
2445
2558
  ] }),
2446
- M && m != null && /* @__PURE__ */ e.jsx("div", { className: "h-[140px] w-full overflow-hidden rounded-xl", children: p ? /* @__PURE__ */ e.jsx(p, { src: m, alt: d ?? "", className: "size-full object-cover" }) : /* @__PURE__ */ e.jsx("img", { src: m, alt: d, className: "size-full object-cover" }) }),
2447
- X && /* @__PURE__ */ e.jsxs(
2559
+ D && f != null && /* @__PURE__ */ e.jsx("div", { className: "h-[140px] w-full overflow-hidden rounded-xl", children: m ? /* @__PURE__ */ e.jsx(m, { src: f, alt: u ?? "", className: "size-full object-cover" }) : /* @__PURE__ */ e.jsx("img", { src: f, alt: u, className: "size-full object-cover" }) }),
2560
+ G && /* @__PURE__ */ e.jsxs(
2448
2561
  "div",
2449
2562
  {
2450
2563
  className: "-mt-3 flex w-full items-center gap-2.5 rounded-b-xl px-4 py-1",
2451
2564
  style: { background: "linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)" },
2452
2565
  children: [
2453
- u != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: u }),
2454
- u != null && h != null && /* @__PURE__ */ e.jsx("span", { className: "size-1.5 shrink-0 rounded-full bg-[#4b5513]", "aria-hidden": !0 }),
2455
- h != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: h })
2566
+ h != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: h }),
2567
+ h != null && c != null && /* @__PURE__ */ e.jsx("span", { className: "size-1.5 shrink-0 rounded-full bg-[#4b5513]", "aria-hidden": !0 }),
2568
+ c != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: c })
2456
2569
  ]
2457
2570
  }
2458
2571
  ),
2459
2572
  /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-3", children: [
2460
2573
  /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1", children: [
2461
2574
  /* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children: v }),
2462
- M && g != null && /* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-normal leading-4 text-gray-500", children: g })
2575
+ D && g != null && /* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-normal leading-4 text-gray-500", children: g })
2463
2576
  ] }),
2464
- M && N != null && /* @__PURE__ */ e.jsxs(
2577
+ D && y != null && /* @__PURE__ */ e.jsxs(
2465
2578
  "a",
2466
2579
  {
2467
- href: _,
2580
+ href: k,
2468
2581
  className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#e6327a] underline",
2469
- onClick: R,
2582
+ onClick: P,
2470
2583
  children: [
2471
- N,
2472
- /* @__PURE__ */ e.jsx(mr, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
2584
+ y,
2585
+ /* @__PURE__ */ e.jsx(Ba, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
2473
2586
  ]
2474
2587
  }
2475
2588
  ),
2476
- U && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2589
+ K && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2477
2590
  /* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
2478
2591
  /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2", children: [
2479
- y != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
2480
- /* @__PURE__ */ e.jsx(hr, { "aria-hidden": !0, className: "size-3.5 shrink-0 text-gray-700" }),
2481
- /* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: y })
2592
+ w != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
2593
+ /* @__PURE__ */ e.jsx(Ia, { "aria-hidden": !0, className: "size-3.5 shrink-0 text-gray-700" }),
2594
+ /* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: w })
2482
2595
  ] }),
2483
2596
  j != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
2484
- /* @__PURE__ */ e.jsx("img", { src: Br, alt: "", "aria-hidden": !0, className: "size-3.5 shrink-0" }),
2597
+ /* @__PURE__ */ e.jsx("img", { src: or, alt: "", "aria-hidden": !0, className: "size-3.5 shrink-0" }),
2485
2598
  /* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: j })
2486
2599
  ] })
2487
2600
  ] })
@@ -2489,57 +2602,57 @@ function ha({
2489
2602
  /* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
2490
2603
  /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-between", children: [
2491
2604
  /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-start gap-0.5", children: [
2492
- O != null && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1", children: [
2493
- /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children: O }),
2494
- w && /* @__PURE__ */ e.jsx(
2605
+ b != null && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1", children: [
2606
+ /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children: b }),
2607
+ _ && /* @__PURE__ */ e.jsx(
2495
2608
  "button",
2496
2609
  {
2497
2610
  type: "button",
2498
2611
  className: "flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",
2499
- onClick: w,
2612
+ onClick: _,
2500
2613
  "aria-label": "More info",
2501
2614
  children: /* @__PURE__ */ e.jsx(ue, { "aria-hidden": !0, className: "size-4 text-[#1D2125]" })
2502
2615
  }
2503
2616
  )
2504
2617
  ] }),
2505
- /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children: P })
2618
+ /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children: O })
2506
2619
  ] }),
2507
- /* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: $ })
2620
+ /* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: F })
2508
2621
  ] })
2509
2622
  ] })
2510
2623
  ]
2511
2624
  }
2512
2625
  );
2513
2626
  }
2514
- const Dr = {
2627
+ const cr = {
2515
2628
  primary: "border border-transparent pl-3 pr-4 text-white",
2516
2629
  secondary: "border border-[#159169] px-3 text-[#159169]",
2517
2630
  accent: "border border-transparent px-4 text-white"
2518
- }, Vr = {
2631
+ }, dr = {
2519
2632
  md: "h-10 gap-2 rounded-lg text-xs font-semibold leading-4",
2520
2633
  lg: "h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"
2521
- }, $r = {
2634
+ }, ur = {
2522
2635
  primary: { backgroundImage: "linear-gradient(to bottom, #5eb98e, #159169)" },
2523
2636
  secondary: { backgroundImage: "linear-gradient(to bottom, #ffffff, #edf5f2)" },
2524
2637
  accent: { backgroundImage: "linear-gradient(to bottom, #f97e4e, #f75e22)" }
2525
2638
  };
2526
- function pa({
2527
- variant: r = "primary",
2528
- size: a = "md",
2639
+ function qr({
2640
+ variant: t = "primary",
2641
+ size: r = "md",
2529
2642
  leftIcon: s,
2530
2643
  children: n,
2531
2644
  className: i = "",
2532
- style: o,
2533
- type: f = "button",
2534
- ...m
2645
+ style: d,
2646
+ type: x = "button",
2647
+ ...f
2535
2648
  }) {
2536
2649
  return /* @__PURE__ */ e.jsxs(
2537
2650
  "button",
2538
2651
  {
2539
- type: f,
2540
- className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${Vr[a]} ${Dr[r]} ${i}`,
2541
- style: { ...$r[r], ...o },
2542
- ...m,
2652
+ type: x,
2653
+ className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${dr[r]} ${cr[t]} ${i}`,
2654
+ style: { ...ur[t], ...d },
2655
+ ...f,
2543
2656
  children: [
2544
2657
  s,
2545
2658
  n
@@ -2547,8 +2660,8 @@ function pa({
2547
2660
  }
2548
2661
  );
2549
2662
  }
2550
- function ga({ className: r = "size-5" }) {
2551
- return /* @__PURE__ */ e.jsx("svg", { viewBox: "0 0 20 20", fill: "none", "aria-hidden": !0, className: r, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e.jsx(
2663
+ function Kr({ className: t = "size-5" }) {
2664
+ return /* @__PURE__ */ e.jsx("svg", { viewBox: "0 0 20 20", fill: "none", "aria-hidden": !0, className: t, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e.jsx(
2552
2665
  "path",
2553
2666
  {
2554
2667
  d: "M10 1.75C10.4142 1.75 10.75 2.08579 10.75 2.5V9.25H17.5C17.9142 9.25 18.25 9.58579 18.25 10C18.25 10.4142 17.9142 10.75 17.5 10.75H10.75V17.5C10.75 17.9142 10.4142 18.25 10 18.25C9.58579 18.25 9.25 17.9142 9.25 17.5V10.75H2.5C2.08579 10.75 1.75 10.4142 1.75 10C1.75 9.58579 2.08579 9.25 2.5 9.25H9.25V2.5C9.25 2.08579 9.58579 1.75 10 1.75Z",
@@ -2556,8 +2669,8 @@ function ga({ className: r = "size-5" }) {
2556
2669
  }
2557
2670
  ) });
2558
2671
  }
2559
- function ba({ className: r = "size-5" }) {
2560
- return /* @__PURE__ */ e.jsx("svg", { viewBox: "0 0 20 20", fill: "none", "aria-hidden": !0, className: r, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e.jsx(
2672
+ function Zr({ className: t = "size-5" }) {
2673
+ return /* @__PURE__ */ e.jsx("svg", { viewBox: "0 0 20 20", fill: "none", "aria-hidden": !0, className: t, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e.jsx(
2561
2674
  "path",
2562
2675
  {
2563
2676
  d: "M16.1361 4.88627C16.4289 4.59345 16.9037 4.59355 17.1966 4.88627C17.4895 5.17916 17.4895 5.65394 17.1966 5.94682L8.03059 15.1138C7.89003 15.2544 7.6991 15.3334 7.50032 15.3335C7.30158 15.3335 7.11066 15.2542 6.97004 15.1138L2.80305 10.9468C2.51016 10.6539 2.51016 10.1792 2.80305 9.88627C3.09595 9.59339 3.57071 9.59338 3.8636 9.88627L7.49934 13.522L16.1361 4.88627Z",
@@ -2565,33 +2678,553 @@ function ba({ className: r = "size-5" }) {
2565
2678
  }
2566
2679
  ) });
2567
2680
  }
2568
- const it = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", Wr = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", qr = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", Hr = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", Yr = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", Ur = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
2569
- function Gr({ variant: r }) {
2681
+ const vt = {
2682
+ en: {
2683
+ heading: "Check the details to book your puja procedure",
2684
+ subtext: "These names and gotra will be taken by the priest",
2685
+ ancestorsLabel: "Names of the ancestors:",
2686
+ performerLabel: "Name of the performer:",
2687
+ gotraLabel: "Gotra",
2688
+ whatsappLabel: "Whatsapp number",
2689
+ editDetailsLabel: "Edit Details",
2690
+ payButtonTemplate: "Pay {amount}"
2691
+ },
2692
+ hi: {
2693
+ heading: "अपनी पूजा-विधि बुक करने के लिए जानकारी की जांच करें",
2694
+ subtext: "ये नाम और गोत्र पंडित जी द्वारा लिए जाएंगे",
2695
+ ancestorsLabel: "पितृजन के नाम:",
2696
+ performerLabel: "कर्ता के नाम:",
2697
+ gotraLabel: "गोत्र",
2698
+ whatsappLabel: "Whatsapp नंबर",
2699
+ editDetailsLabel: "जानकारी बदले",
2700
+ payButtonTemplate: "{amount} भुगतान करें"
2701
+ },
2702
+ te: {
2703
+ heading: "మీ పూజ విధి బుక్ చేయడానికి వివరాలు తనిఖీ చేయండి",
2704
+ subtext: "ఈ పేర్లు మరియు గోత్రాన్ని పండితులు చదువుతారు",
2705
+ ancestorsLabel: "పితరుల పేర్లు:",
2706
+ performerLabel: "పూజ చేసే వారి పేరు:",
2707
+ gotraLabel: "గోత్రం",
2708
+ whatsappLabel: "WhatsApp నంబర్",
2709
+ editDetailsLabel: "మార్చండి",
2710
+ payButtonTemplate: "{amount} చెల్లించండి"
2711
+ }
2712
+ }, xr = (t) => vt[t] ?? vt.en;
2713
+ function jt({ children: t }) {
2714
+ return /* @__PURE__ */ e.jsx("div", { className: "inline-flex shrink-0 items-center gap-1 rounded-full border border-[#e5e3fd] bg-[#f6f5ff] px-3 py-0.5", children: t });
2715
+ }
2716
+ function fr({
2717
+ isOpen: t,
2718
+ onClose: r,
2719
+ locale: s = "en",
2720
+ ancestors: n,
2721
+ kartaNames: i,
2722
+ gotra: d,
2723
+ whatsappNumber: x,
2724
+ amount: f,
2725
+ onEditDetailsClick: u,
2726
+ onProceedPayment: m,
2727
+ className: h
2728
+ }) {
2729
+ const c = xr(s), v = c.payButtonTemplate.replace("{amount}", f);
2730
+ return /* @__PURE__ */ e.jsx(
2731
+ xe,
2732
+ {
2733
+ isOpen: t,
2734
+ onClose: r,
2735
+ showDragHandle: !1,
2736
+ closeButtonOutside: !0,
2737
+ ariaLabel: c.heading,
2738
+ className: o("rounded-t-[20px] bg-[#f7f8f9]", h),
2739
+ header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-0.5 px-4 pt-4", children: [
2740
+ /* @__PURE__ */ e.jsx("p", { className: "text-center text-[18px] leading-6 font-bold text-[#22272b]", children: c.heading }),
2741
+ /* @__PURE__ */ e.jsx("p", { className: "text-center text-[14px] leading-5 font-normal text-[#6b7280]", children: c.subtext })
2742
+ ] }),
2743
+ footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3 px-4 pb-4", children: [
2744
+ /* @__PURE__ */ e.jsx(
2745
+ te,
2746
+ {
2747
+ variant: "outline",
2748
+ size: "lg",
2749
+ className: "h-12 shrink-0 rounded-xl border-[#141414] text-[#1d2125] hover:bg-gray-50",
2750
+ onClick: u,
2751
+ children: c.editDetailsLabel
2752
+ }
2753
+ ),
2754
+ /* @__PURE__ */ e.jsx(
2755
+ te,
2756
+ {
2757
+ variant: "primary",
2758
+ size: "lg",
2759
+ className: "h-12 flex-1 rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
2760
+ onClick: m,
2761
+ children: v
2762
+ }
2763
+ )
2764
+ ] }),
2765
+ children: /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-4 px-4 py-3", children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 rounded-lg bg-white py-3", children: [
2766
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
2767
+ /* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: c.ancestorsLabel }),
2768
+ /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((g) => /* @__PURE__ */ e.jsxs(jt, { children: [
2769
+ /* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: g.value }),
2770
+ g.label && /* @__PURE__ */ e.jsxs("span", { className: "text-[10px] leading-3.5 font-medium text-[#6b7280]", children: [
2771
+ "(",
2772
+ g.label,
2773
+ ")"
2774
+ ] })
2775
+ ] }, g.id)) })
2776
+ ] }),
2777
+ /* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
2778
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
2779
+ /* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: c.performerLabel }),
2780
+ /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.map((g, y) => /* @__PURE__ */ e.jsx(jt, { children: /* @__PURE__ */ e.jsxs("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: [
2781
+ y + 1,
2782
+ ". ",
2783
+ g
2784
+ ] }) }, y)) })
2785
+ ] }),
2786
+ /* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
2787
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 px-3", children: [
2788
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
2789
+ /* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: c.gotraLabel }),
2790
+ /* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children: d })
2791
+ ] }),
2792
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
2793
+ /* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: c.whatsappLabel }),
2794
+ /* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children: x })
2795
+ ] })
2796
+ ] })
2797
+ ] }) })
2798
+ }
2799
+ );
2800
+ }
2801
+ const yt = {
2802
+ en: {
2803
+ heading: "I do not know my Lineage(Gotra), what should I do?",
2804
+ body: "If you do not know your lineage (gotra), in this situation, you can consider your lineage as Kshyapa because Rishi Kshyapa is a sage whose descendants can be found in every caste. Therefore, he is considered a revered sage. The priest will chant these details during the worship.",
2805
+ okayLabel: "Okay",
2806
+ closeButtonAriaLabel: "Close"
2807
+ },
2808
+ hi: {
2809
+ heading: "मुझे अपना गोत्र नहीं पता, मुझे क्या करना चाहिए?",
2810
+ body: "अगर आप अपना गोत्र नहीं जानते हैं, तो ऐसी स्थिति में आप अपना गोत्र कश्यप मान सकते हैं, क्योंकि ऋषि कश्यप एक ऐसे ऋषि थे, जिनके वंशज हर जाति में पाए जाते हैं। इसलिए, उन्हें एक पूजनीय ऋषि माना जाता है। पूजा के दौरान पंडित जी कश्यप गोत्र का ही उच्चारण करेंगे।",
2811
+ okayLabel: "ठीक है",
2812
+ closeButtonAriaLabel: "बंद करें"
2813
+ },
2814
+ te: {
2815
+ heading: "నాకు నా గోత్రం తెలియదు, నేను ఏమి చేయాలి?",
2816
+ body: "మీకు మీ గోత్రం తెలియకపోతే, ఈ పరిస్థితిలో మీరు మీ గోత్రాన్ని కశ్యపగా భావించవచ్చు, ఎందుకంటే కశ్యప ఋషి వంశస్థులు ప్రతి కులంలో కనిపిస్తారు. అందువల్ల, ఆయనను ఒక పూజనీయ ఋషిగా భావిస్తారు. పూజ సమయంలో పండితుడు ఈ వివరాలను కశ్యప గోత్రంగానే ఉచ్చరిస్తారు.",
2817
+ okayLabel: "సరే",
2818
+ closeButtonAriaLabel: "మూసివేయండి"
2819
+ }
2820
+ }, $t = (t) => yt[t] ?? yt.en;
2821
+ function pr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
2822
+ const i = $t(s);
2823
+ return /* @__PURE__ */ e.jsx(
2824
+ xe,
2825
+ {
2826
+ isOpen: t,
2827
+ onClose: r,
2828
+ showCloseButton: !1,
2829
+ showDragHandle: !1,
2830
+ ariaLabel: i.heading,
2831
+ className: o("rounded-t-[20px]", n),
2832
+ header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-3 px-4 pt-5 pb-3", children: [
2833
+ /* @__PURE__ */ e.jsx("p", { className: "flex-1 text-[18px] leading-6 font-bold text-[#22272b]", children: i.heading }),
2834
+ /* @__PURE__ */ e.jsx(
2835
+ "button",
2836
+ {
2837
+ type: "button",
2838
+ onClick: r,
2839
+ "aria-label": i.closeButtonAriaLabel,
2840
+ className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#22272b]",
2841
+ children: /* @__PURE__ */ e.jsx(za, { size: 24, "aria-hidden": !0 })
2842
+ }
2843
+ )
2844
+ ] }),
2845
+ footer: /* @__PURE__ */ e.jsx("div", { className: "w-full px-4 pb-5", children: /* @__PURE__ */ e.jsx(
2846
+ te,
2847
+ {
2848
+ variant: "primary",
2849
+ size: "xl",
2850
+ className: "w-full rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
2851
+ onClick: r,
2852
+ children: i.okayLabel
2853
+ }
2854
+ ) }),
2855
+ children: /* @__PURE__ */ e.jsx("p", { className: "w-full px-4 pb-3 text-[14px] leading-5.5 font-normal text-[#6b7280]", children: i.body })
2856
+ }
2857
+ );
2858
+ }
2859
+ const Nt = {
2860
+ en: {
2861
+ topBarTitle: "Fill in necessary details for Puja",
2862
+ backButtonAriaLabel: "Go back",
2863
+ whatsappNumberLabel: "Add your WhatsApp number",
2864
+ whatsappNumberPlaceholder: "0000000000",
2865
+ whatsappNumberHelperText: "Puja updates will be sent to this number",
2866
+ emailLabel: "Add your email",
2867
+ emailPlaceholder: "Enter your email",
2868
+ emailHelperText: "Puja updates will be sent to this email",
2869
+ kartaNameSectionTitle: "Enter the name of the people performing the puja for their ancestors (Karta)",
2870
+ kartaNameLabel: "Karta's name",
2871
+ kartaNameOptionalSuffix: "(optional)",
2872
+ kartaNamePlaceholder: "Name to be taken in the Puja",
2873
+ gotraFieldLabel: "Enter Karta’s Gotra (person performing puja)*",
2874
+ gotraFieldPlaceholder: "Enter Karta’s Gotra (if known)",
2875
+ gotraUnknownCheckboxLabel: "If you don’t know your Gotra, select this",
2876
+ gotraUnknownHelperText: "As per scriptures, the Sankalp can be taken with Kashyap Gotra, allowing you to receive the full benefit of the puja",
2877
+ ancestorNameSectionTitle: "Who is this puja for?",
2878
+ ancestorNameSectionSubtitle: "Enter the name of your ancestors",
2879
+ ancestorNameFieldSuffix: "name",
2880
+ sarvaPitruSectionSubtitle: "Your ancestors",
2881
+ sarvaPitruFieldValue: "For all ancestors",
2882
+ sarvaPitruHelperText: "This will be recited by the Pandit during puja",
2883
+ latePrefixLabel: "Late",
2884
+ proceedCtaLabel: "Proceed to fill details",
2885
+ kashyapGotraLabel: "Kashyap"
2886
+ },
2887
+ hi: {
2888
+ topBarTitle: "पूजा के लिए ज़रूरी विवरण भरे",
2889
+ backButtonAriaLabel: "वापस जाएं",
2890
+ whatsappNumberLabel: "अपना व्हाट्सएप नंबर जोड़ें",
2891
+ whatsappNumberPlaceholder: "0000000000",
2892
+ whatsappNumberHelperText: "पूजा से जुड़ी जानकारी इस नंबर पर भेजी जाएगी",
2893
+ emailLabel: "अपना ईमेल जोड़ें",
2894
+ emailPlaceholder: "अपना ईमेल दर्ज करें",
2895
+ emailHelperText: "पूजा से जुड़ी जानकारी इस ईमेल पर भेजी जाएगी",
2896
+ kartaNameSectionTitle: "पितरों के लिए पूजा करने वाले व्यक्ति का नाम भरे (कर्ता)",
2897
+ kartaNameLabel: "कर्ता का नाम",
2898
+ kartaNameOptionalSuffix: "(वैकल्पिक)",
2899
+ kartaNamePlaceholder: "पूजा में लिया जाने वाला नाम",
2900
+ gotraFieldLabel: "कर्ता का गोत्र भरें (पूजा करने वाले व्यक्ति का)*",
2901
+ gotraFieldPlaceholder: "कर्ता का गोत्र भरें (यदि ज्ञात हो)",
2902
+ gotraUnknownCheckboxLabel: "अगर आपको गोत्र नहीं पता तो इसे चुनें",
2903
+ gotraUnknownHelperText: "शास्त्रों के अनुसार कश्यप गोत्र से पूजा में संकल्प लिया जा सकता है इससे आपको पूजा का पूर्ण लाभ प्राप्त होता है",
2904
+ ancestorNameSectionTitle: "पूजा-विधि किन पितृ के लिए बुक कर रहे है?",
2905
+ ancestorNameSectionSubtitle: "पितृजन का नाम भरें",
2906
+ ancestorNameFieldSuffix: "का नाम",
2907
+ sarvaPitruSectionSubtitle: "पितृजन का नाम",
2908
+ sarvaPitruFieldValue: "सर्वपितृ के लिए",
2909
+ sarvaPitruHelperText: "यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा",
2910
+ latePrefixLabel: "स्व.",
2911
+ proceedCtaLabel: "आगे बढ़ें, और डिटेल्स भरें",
2912
+ kashyapGotraLabel: "कश्यप"
2913
+ },
2914
+ te: {
2915
+ topBarTitle: "పూజ కోసం అవసరమైన వివరాలు నమోదు చేయండి",
2916
+ backButtonAriaLabel: "వెనక్కి వెళ్ళండి",
2917
+ whatsappNumberLabel: "మీ వాట్సాప్ నంబర్ జోడించండి",
2918
+ whatsappNumberPlaceholder: "0000000000",
2919
+ whatsappNumberHelperText: "పూజ నవీకరణలు ఈ నంబర్‌కు పంపబడతాయి",
2920
+ emailLabel: "మీ ఇమెయిల్ జోడించండి",
2921
+ emailPlaceholder: "మీ ఇమెయిల్ నమోదు చేయండి",
2922
+ emailHelperText: "పూజ నవీకరణలు ఈ ఇమెయిల్‌కు పంపబడతాయి",
2923
+ kartaNameSectionTitle: "పితరుల కోసం పూజ చేసే వ్యక్తుల పేరు నమోదు చేయండి (కర్త)",
2924
+ kartaNameLabel: "కర్త పేరు",
2925
+ kartaNameOptionalSuffix: "(ఐచ్ఛికం)",
2926
+ kartaNamePlaceholder: "పూజలో తీసుకోవలసిన పేరు",
2927
+ gotraFieldLabel: "*కర్త గోత్రం నమోదు చేయండి (పూజ చేసే వ్యక్తి)",
2928
+ gotraFieldPlaceholder: "కర్త గోత్రం నమోదు చేయండి (తెలిస్తే)",
2929
+ gotraUnknownCheckboxLabel: "మీ గోత్రం తెలియకపోతే, ఇది ఎంచుకోండి",
2930
+ gotraUnknownHelperText: "శాస్త్రాల ప్రకారం, సంకల్పం కశ్యప గోత్రంతో చేయవచ్చు, ఇది పూజ యొక్క పూర్తి ఫలం పొందడానికి అనుమతిస్తుంది",
2931
+ ancestorNameSectionTitle: "ఈ పూజ ఎవరి కోసం?",
2932
+ ancestorNameSectionSubtitle: "మీ పితరుల పేరు నమోదు చేయండి",
2933
+ ancestorNameFieldSuffix: "పేరు",
2934
+ sarvaPitruSectionSubtitle: "మీ పితరులు",
2935
+ sarvaPitruFieldValue: "సర్వ పితరుల కోసం",
2936
+ sarvaPitruHelperText: "ఇది పూజ సమయంలో పండితుడు ఉచ్చరిస్తారు",
2937
+ latePrefixLabel: "దివంగత",
2938
+ proceedCtaLabel: "వివరాలు నమోదు చేయండి",
2939
+ kashyapGotraLabel: "కశ్యప"
2940
+ }
2941
+ }, hr = (t) => Nt[t] ?? Nt.en, wt = {
2942
+ en: ["1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", "10th"],
2943
+ hi: ["पहले", "दूसरे", "तीसरे", "चौथे", "पांचवें", "छठे", "सातवें", "आठवें", "नौवें", "दसवें"],
2944
+ te: ["1వ", "2వ", "3వ", "4వ", "5వ", "6వ", "7వ", "8వ", "9వ", "10వ"]
2945
+ }, mr = {
2946
+ en: "th",
2947
+ hi: "वें",
2948
+ te: "వ"
2949
+ }, br = (t, r) => {
2950
+ const s = r in wt ? r : "en";
2951
+ return wt[s][t - 1] ?? `${t}${mr[s]}`;
2952
+ }, Be = 40, De = "+91", gr = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
2953
+ function Jr({
2954
+ locale: t = "en",
2955
+ values: r,
2956
+ onValuesChange: s,
2957
+ isGlobal: n = !1,
2958
+ gotraOptions: i = [],
2959
+ isSarvaPitru: d = !1,
2960
+ onBackClick: x,
2961
+ amount: f,
2962
+ ritualsCountLabel: u,
2963
+ onPriceInfoClick: m,
2964
+ canProceed: h,
2965
+ proceedCtaLabel: c,
2966
+ proceedButtonProps: v,
2967
+ onProceedPayment: g,
2968
+ className: y
2969
+ }) {
2970
+ const [P, k] = Y(!1), [w, j] = Y(!1), b = hr(t), _ = $t(t), O = (C) => {
2971
+ const I = br(C + 1, t);
2972
+ return C === 0 ? `*${I} ${b.kartaNameLabel}` : `${I} ${b.kartaNameLabel} ${b.kartaNameOptionalSuffix}`;
2973
+ }, F = (C) => s({ ...r, ...C }), W = (C, I) => {
2974
+ const Q = [...r.kartaNames];
2975
+ Q[C] = I, F({ kartaNames: Q });
2976
+ }, U = (C, I) => {
2977
+ F({ ancestors: r.ancestors.map((Q) => Q.id === C ? { ...Q, value: I } : Q) });
2978
+ }, [q, D] = Y(!1), G = St(null);
2979
+ Pt(() => {
2980
+ if (!q) return;
2981
+ const C = (I) => {
2982
+ G.current && !G.current.contains(I.target) && D(!1);
2983
+ };
2984
+ return document.addEventListener("mousedown", C), () => document.removeEventListener("mousedown", C);
2985
+ }, [q]);
2986
+ const K = i.filter(
2987
+ (C) => C.toLowerCase().includes(r.gotra.trim().toLowerCase())
2988
+ ), M = (C) => {
2989
+ F({ gotra: C }), D(!1);
2990
+ }, V = () => {
2991
+ const C = !r.isGotraUnknown;
2992
+ F({ isGotraUnknown: C, gotra: C ? b.kashyapGotraLabel : r.gotra });
2993
+ }, Z = Ie(De), J = Lt(r.whatsappNumber, De).isValid, X = gr.test(r.email), ae = r.whatsappNumber.length > 0 && !J, re = r.email.length > 0 && !X, fe = (n ? X : J) && r.kartaNames[0].trim().length > 0 && r.gotra.trim().length > 0 && (d || r.ancestors.every((C) => C.value.trim().length > 0)), pe = h ?? fe, he = r.gotra.trim().length > 0 ? r.gotra : b.kashyapGotraLabel, me = n ? r.email : r.whatsappNumber;
2994
+ return /* @__PURE__ */ e.jsxs("div", { className: o("flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]", y), children: [
2995
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3 border-b border-[#f3f4f6] bg-white px-4 py-3 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.08)] ", children: [
2996
+ /* @__PURE__ */ e.jsx(
2997
+ "button",
2998
+ {
2999
+ type: "button",
3000
+ onClick: x,
3001
+ "aria-label": b.backButtonAriaLabel,
3002
+ className: "flex size-8 shrink-0 items-center justify-center rounded-lg border-0 bg-transparent p-0 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.1)]",
3003
+ children: /* @__PURE__ */ e.jsx(Ve, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
3004
+ }
3005
+ ),
3006
+ /* @__PURE__ */ e.jsx("p", { className: "text-[18px] leading-5 font-bold text-[#1d2125]", children: b.topBarTitle })
3007
+ ] }),
3008
+ /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-1 flex-col items-center gap-4 px-4 py-4", children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full max-w-md flex-col gap-4", children: [
3009
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
3010
+ /* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children: n ? b.emailLabel : b.whatsappNumberLabel }),
3011
+ n ? /* @__PURE__ */ e.jsx(
3012
+ ie,
3013
+ {
3014
+ type: "email",
3015
+ inputMode: "email",
3016
+ value: r.email,
3017
+ placeholder: b.emailPlaceholder,
3018
+ error: re,
3019
+ onChange: (C) => F({ email: C }),
3020
+ containerClassName: "w-full gap-0",
3021
+ wrapperClassName: "h-14 rounded-xl px-4",
3022
+ className: "text-[18px]"
3023
+ }
3024
+ ) : /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
3025
+ /* @__PURE__ */ e.jsxs("div", { className: "flex h-14 shrink-0 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2", children: [
3026
+ /* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: Me("IN") }),
3027
+ /* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: De })
3028
+ ] }),
3029
+ /* @__PURE__ */ e.jsx(
3030
+ ie,
3031
+ {
3032
+ type: "tel",
3033
+ inputMode: "numeric",
3034
+ value: r.whatsappNumber,
3035
+ placeholder: b.whatsappNumberPlaceholder,
3036
+ maxLength: Z,
3037
+ error: ae,
3038
+ onChange: (C) => F({ whatsappNumber: C.replace(/\D/g, "").slice(0, Z) }),
3039
+ containerClassName: "w-auto flex-1 gap-0",
3040
+ wrapperClassName: "h-14 rounded-xl px-4",
3041
+ className: "text-[18px]"
3042
+ }
3043
+ )
3044
+ ] }),
3045
+ /* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: n ? b.emailHelperText : b.whatsappNumberHelperText })
3046
+ ] }),
3047
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
3048
+ /* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: b.kartaNameSectionTitle }),
3049
+ /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5", children: r.kartaNames.map((C, I) => /* @__PURE__ */ e.jsx(
3050
+ ie,
3051
+ {
3052
+ label: O(I),
3053
+ placeholder: b.kartaNamePlaceholder,
3054
+ value: C,
3055
+ maxLength: Be,
3056
+ showCharCount: !0,
3057
+ wrapperClassName: o("h-12 rounded-xl", I === 0 && "bg-[#f3f4f6]"),
3058
+ onChange: (Q) => W(I, Q)
3059
+ },
3060
+ I
3061
+ )) })
3062
+ ] }),
3063
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
3064
+ /* @__PURE__ */ e.jsxs("div", { ref: G, className: "relative flex w-full flex-col gap-2", children: [
3065
+ /* @__PURE__ */ e.jsx("label", { htmlFor: "karta-gotra", className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children: b.gotraFieldLabel }),
3066
+ /* @__PURE__ */ e.jsxs("div", { className: "flex h-12 w-full items-center gap-2 rounded-xl border border-[#d1d5db] bg-white px-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40", children: [
3067
+ /* @__PURE__ */ e.jsx(
3068
+ "input",
3069
+ {
3070
+ id: "karta-gotra",
3071
+ value: r.gotra,
3072
+ placeholder: b.gotraFieldPlaceholder,
3073
+ maxLength: Be,
3074
+ autoComplete: "off",
3075
+ onFocus: () => D(!0),
3076
+ onChange: (C) => {
3077
+ F({ gotra: C.target.value }), D(!0);
3078
+ },
3079
+ className: "w-full min-w-0 flex-1 border-0 bg-transparent p-0 text-[16px] leading-5.5 font-medium text-[#374151] placeholder:text-[#ced1d7] focus:outline-none focus:ring-0"
3080
+ }
3081
+ ),
3082
+ /* @__PURE__ */ e.jsx(
3083
+ "button",
3084
+ {
3085
+ type: "button",
3086
+ onClick: () => j(!0),
3087
+ "aria-label": _.heading,
3088
+ className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",
3089
+ children: /* @__PURE__ */ e.jsx(ue, { size: 24, "aria-hidden": !0 })
3090
+ }
3091
+ )
3092
+ ] }),
3093
+ q && K.length > 0 && /* @__PURE__ */ e.jsx(
3094
+ "div",
3095
+ {
3096
+ role: "listbox",
3097
+ className: "absolute top-[calc(100%+4px)] left-0 z-10 max-h-60 w-full overflow-y-auto rounded-xl border border-[#e5e7eb] bg-white py-1 shadow-lg",
3098
+ children: K.map((C) => /* @__PURE__ */ e.jsx(
3099
+ "button",
3100
+ {
3101
+ type: "button",
3102
+ role: "option",
3103
+ "aria-selected": C === r.gotra,
3104
+ onClick: () => M(C),
3105
+ className: o(
3106
+ "flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",
3107
+ C === r.gotra && "bg-[#fff9e9]"
3108
+ ),
3109
+ children: C
3110
+ },
3111
+ C
3112
+ ))
3113
+ }
3114
+ )
3115
+ ] }),
3116
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
3117
+ /* @__PURE__ */ e.jsxs(
3118
+ "button",
3119
+ {
3120
+ type: "button",
3121
+ onClick: V,
3122
+ "aria-pressed": r.isGotraUnknown,
3123
+ className: "flex items-center gap-1 border-0 bg-transparent p-0",
3124
+ children: [
3125
+ r.isGotraUnknown ? /* @__PURE__ */ e.jsx(Da, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsx(Aa, { size: 24, className: "shrink-0 text-[#d1d5db]", "aria-hidden": !0 }),
3126
+ /* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: b.gotraUnknownCheckboxLabel })
3127
+ ]
3128
+ }
3129
+ ),
3130
+ /* @__PURE__ */ e.jsx("p", { className: "text-[10px] leading-[14px] font-medium text-[#6b7280]", children: b.gotraUnknownHelperText })
3131
+ ] })
3132
+ ] }),
3133
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white", children: [
3134
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2.5 px-3 pt-3 pb-2", children: [
3135
+ /* @__PURE__ */ e.jsx(Le, { size: "sm", icon: /* @__PURE__ */ e.jsx(Ra, { size: 20, className: "text-[#f38415]", "aria-hidden": !0 }) }),
3136
+ /* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
3137
+ /* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: b.ancestorNameSectionTitle }),
3138
+ /* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-normal text-[#6b7280]", children: d ? b.sarvaPitruSectionSubtitle : b.ancestorNameSectionSubtitle })
3139
+ ] })
3140
+ ] }),
3141
+ d ? /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1 p-3 pt-0", children: [
3142
+ /* @__PURE__ */ e.jsx("div", { className: "flex h-12 w-full items-center rounded-xl border border-[#d1d5db] bg-[#f3f4f6] px-3", children: /* @__PURE__ */ e.jsx("span", { className: "text-[16px] leading-5.5 font-medium text-[#374151]", children: b.sarvaPitruFieldValue }) }),
3143
+ /* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: b.sarvaPitruHelperText })
3144
+ ] }) : /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5 p-3 pt-0", children: r.ancestors.map((C) => /* @__PURE__ */ e.jsx(
3145
+ ie,
3146
+ {
3147
+ label: `*${C.label} ${b.ancestorNameFieldSuffix}`,
3148
+ value: C.value,
3149
+ prefix: b.latePrefixLabel,
3150
+ placeholder: b.kartaNamePlaceholder,
3151
+ maxLength: Be,
3152
+ showCharCount: !0,
3153
+ wrapperClassName: "h-12 rounded-xl",
3154
+ onChange: (I) => U(C.id, I)
3155
+ },
3156
+ C.id
3157
+ )) })
3158
+ ] })
3159
+ ] }) }),
3160
+ /* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0 w-full", children: /* @__PURE__ */ e.jsx(
3161
+ He,
3162
+ {
3163
+ amount: f,
3164
+ subtitle: u,
3165
+ onInfoClick: m,
3166
+ proceedLabel: c ?? b.proceedCtaLabel,
3167
+ onProceed: () => k(!0),
3168
+ proceedButtonProps: { disabled: !pe, ...v }
3169
+ }
3170
+ ) }),
3171
+ /* @__PURE__ */ e.jsx(
3172
+ fr,
3173
+ {
3174
+ isOpen: P,
3175
+ onClose: () => k(!1),
3176
+ onEditDetailsClick: () => k(!1),
3177
+ locale: t,
3178
+ ancestors: d ? [{ id: "sarva-pitru", label: "", value: b.sarvaPitruFieldValue }] : r.ancestors,
3179
+ kartaNames: r.kartaNames,
3180
+ gotra: he,
3181
+ whatsappNumber: me,
3182
+ amount: f,
3183
+ onProceedPayment: () => {
3184
+ k(!1), g();
3185
+ }
3186
+ }
3187
+ ),
3188
+ /* @__PURE__ */ e.jsx(pr, { isOpen: w, onClose: () => j(!1), locale: t })
3189
+ ] });
3190
+ }
3191
+ function Xr(t = 3, r = []) {
3192
+ return {
3193
+ whatsappNumber: "",
3194
+ email: "",
3195
+ kartaNames: Array.from({ length: Math.max(1, t) }, () => ""),
3196
+ gotra: "",
3197
+ isGotraUnknown: !1,
3198
+ ancestors: r
3199
+ };
3200
+ }
3201
+ const kt = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", vr = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", jr = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", yr = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", Nr = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", wr = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
3202
+ function kr({ variant: t }) {
2570
3203
  return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
2571
- r === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2572
- /* @__PURE__ */ e.jsx("img", { src: it, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
2573
- /* @__PURE__ */ e.jsx("img", { src: it, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
2574
- /* @__PURE__ */ e.jsx("img", { src: Wr, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
3204
+ t === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
3205
+ /* @__PURE__ */ e.jsx("img", { src: kt, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
3206
+ /* @__PURE__ */ e.jsx("img", { src: kt, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
3207
+ /* @__PURE__ */ e.jsx("img", { src: vr, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
2575
3208
  ] }),
2576
- r === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
3209
+ t === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
2577
3210
  /* @__PURE__ */ e.jsx("div", { className: "absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]" }),
2578
- /* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src: qr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
3211
+ /* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src: jr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
2579
3212
  ] }),
2580
- r === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
2581
- /* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: Hr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
2582
- /* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src: Yr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
2583
- /* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src: Ur, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
3213
+ t === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
3214
+ /* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: yr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
3215
+ /* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src: Nr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
3216
+ /* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src: wr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
2584
3217
  ] })
2585
3218
  ] });
2586
3219
  }
2587
- const Zr = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", ot = "https://srm-cdn.a4b.io/yoda/1788256971870.svg";
2588
- function va({
2589
- badgeLabel: r,
2590
- headingPrefix: a,
3220
+ const Cr = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", Ct = "https://srm-cdn.a4b.io/yoda/1788256971870.svg";
3221
+ function Qr({
3222
+ badgeLabel: t,
3223
+ headingPrefix: r,
2591
3224
  ritualCount: s,
2592
3225
  ritualCountLabel: n,
2593
3226
  headingSuffix: i,
2594
- trustItems: o
3227
+ trustItems: d
2595
3228
  }) {
2596
3229
  return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-center gap-3 rounded-b-[32px] border-b-2 border-[#FCCF9A] bg-linear-to-b from-white to-[#FFEFDB] px-5 py-4", children: [
2597
3230
  /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center gap-2", children: [
@@ -2599,7 +3232,7 @@ function va({
2599
3232
  /* @__PURE__ */ e.jsx(
2600
3233
  "img",
2601
3234
  {
2602
- src: ot,
3235
+ src: Ct,
2603
3236
  alt: "",
2604
3237
  "aria-hidden": !0,
2605
3238
  className: "pointer-events-none absolute inset-0 size-full",
@@ -2612,7 +3245,7 @@ function va({
2612
3245
  /* @__PURE__ */ e.jsx(
2613
3246
  "img",
2614
3247
  {
2615
- src: ot,
3248
+ src: Ct,
2616
3249
  alt: "",
2617
3250
  "aria-hidden": !0,
2618
3251
  className: "pointer-events-none absolute inset-0 size-full blur-sm",
@@ -2622,65 +3255,147 @@ function va({
2622
3255
  }
2623
3256
  }
2624
3257
  ),
2625
- /* @__PURE__ */ e.jsx("img", { src: Zr, alt: "Sri Mandir", className: "relative z-10 h-[53px] w-auto object-contain" })
3258
+ /* @__PURE__ */ e.jsx("img", { src: Cr, alt: "Sri Mandir", className: "relative z-10 h-[53px] w-auto object-contain" })
2626
3259
  ] }),
2627
3260
  /* @__PURE__ */ e.jsxs("p", { className: "text-xs font-semibold text-[#d51f68]", children: [
2628
3261
  "✦ ",
2629
- r,
3262
+ t,
2630
3263
  " ✦"
2631
3264
  ] })
2632
3265
  ] }),
2633
3266
  /* @__PURE__ */ e.jsxs("p", { className: "px-4 text-center text-[18px] font-bold leading-6 text-[#22272b]", children: [
2634
- a,
3267
+ r,
2635
3268
  s,
2636
3269
  " ",
2637
3270
  n,
2638
3271
  " ",
2639
3272
  i
2640
3273
  ] }),
2641
- /* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children: o.map((f) => /* @__PURE__ */ e.jsxs("div", { className: "flex w-25 flex-col items-center gap-1 py-2", children: [
2642
- /* @__PURE__ */ e.jsx(Gr, { variant: f.variant }),
2643
- /* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: f.text })
2644
- ] }, f.variant)) })
3274
+ /* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children: d.map((x) => /* @__PURE__ */ e.jsxs("div", { className: "flex w-25 flex-col items-center gap-1 py-2", children: [
3275
+ /* @__PURE__ */ e.jsx(kr, { variant: x.variant }),
3276
+ /* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: x.text })
3277
+ ] }, x.variant)) })
2645
3278
  ] });
2646
3279
  }
3280
+ function _r(t) {
3281
+ return R({ attr: { viewBox: "0 0 256 256", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M64.12,147.8a4,4,0,0,1-4,4.2H16a8,8,0,0,1-7.8-6.17,8.35,8.35,0,0,1,1.62-6.93A67.79,67.79,0,0,1,37,117.51a40,40,0,1,1,66.46-35.8,3.94,3.94,0,0,1-2.27,4.18A64.08,64.08,0,0,0,64,144C64,145.28,64,146.54,64.12,147.8Zm182-8.91A67.76,67.76,0,0,0,219,117.51a40,40,0,1,0-66.46-35.8,3.94,3.94,0,0,0,2.27,4.18A64.08,64.08,0,0,1,192,144c0,1.28,0,2.54-.12,3.8a4,4,0,0,0,4,4.2H240a8,8,0,0,0,7.8-6.17A8.33,8.33,0,0,0,246.17,138.89Zm-89,43.18a48,48,0,1,0-58.37,0A72.13,72.13,0,0,0,65.07,212,8,8,0,0,0,72,224H184a8,8,0,0,0,6.93-12A72.15,72.15,0,0,0,157.19,182.07Z" }, child: [] }] })(t);
3282
+ }
3283
+ const _t = {
3284
+ en: {
3285
+ title: "Who is this puja for?",
3286
+ subtitle: "Your ancestors",
3287
+ value: "For all ancestors",
3288
+ helperText: "This will be recited by the Pandit during puja"
3289
+ },
3290
+ hi: {
3291
+ title: "पूजा-विधि किन पितृ के लिए बुक कर रहे है?",
3292
+ subtitle: "पितृजन का नाम",
3293
+ value: "सर्वपितृ के लिए",
3294
+ helperText: "यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"
3295
+ }
3296
+ }, Lr = (t) => _t[t] ?? _t.en, Sr = L.forwardRef(
3297
+ ({
3298
+ locale: t = "en",
3299
+ title: r,
3300
+ subtitle: s,
3301
+ value: n,
3302
+ helperText: i,
3303
+ icon: d,
3304
+ className: x,
3305
+ headerClassName: f,
3306
+ valueBoxClassName: u,
3307
+ helperTextClassName: m,
3308
+ ...h
3309
+ }, c) => {
3310
+ const v = Lr(t);
3311
+ return /* @__PURE__ */ e.jsxs(
3312
+ "div",
3313
+ {
3314
+ ref: c,
3315
+ className: o("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm", x),
3316
+ ...h,
3317
+ children: [
3318
+ /* @__PURE__ */ e.jsxs("div", { className: o("flex items-center gap-3", f), children: [
3319
+ /* @__PURE__ */ e.jsx(Le, { icon: d ?? /* @__PURE__ */ e.jsx(_r, { size: 22, "aria-hidden": !0 }), size: "lg" }),
3320
+ /* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
3321
+ /* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-lg leading-6 font-bold text-[#1d2125]", children: r ?? v.title }),
3322
+ /* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ?? v.subtitle })
3323
+ ] })
3324
+ ] }),
3325
+ /* @__PURE__ */ e.jsx(
3326
+ "div",
3327
+ {
3328
+ className: o(
3329
+ "mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",
3330
+ u
3331
+ ),
3332
+ children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ?? v.value })
3333
+ }
3334
+ ),
3335
+ /* @__PURE__ */ e.jsx("p", { className: o("mt-3 text-sm leading-4.5 text-gray-500", m), children: i ?? v.helperText })
3336
+ ]
3337
+ }
3338
+ );
3339
+ }
3340
+ );
3341
+ Sr.displayName = "SarvaPitruCard";
2647
3342
  export {
2648
- aa as AudioQuestionCard,
2649
- Ar as BillDetails,
2650
- Lr as BookingSummaryBanner,
2651
- H as Button,
2652
- oa as CartReviewAddedBadge,
2653
- ia as CartReviewChangeButton,
2654
- _r as CartReviewItem,
2655
- da as CartView,
2656
- ba as CheckIcon,
2657
- Tr as CheckoutBar,
2658
- vr as Chip,
2659
- fa as DatePickerSheet,
2660
- ma as EmailSheet,
2661
- pr as FAQSection,
2662
- ht as IconBadge,
2663
- ha as L2Card,
2664
- mt as LanguageSwitcher,
2665
- pa as OutcomeButton,
2666
- va as OutcomeSummary,
2667
- ca as PackageSelect,
2668
- xa as PhoneNumberSheet,
2669
- ga as PlusIcon,
2670
- la as QuantityStepper,
2671
- pt as SelectorCard,
2672
- sa as SelectorCardEditableField,
2673
- na as SelectorCardInfoRow,
2674
- Cr as SelectorCardNote,
2675
- kr as SelectorCardPriceBadge,
2676
- Er as ServiceOfferCard,
2677
- ra as StepProgressHeader,
2678
- ea as TestimonialCard,
2679
- _e as TextField,
2680
- ua as TithiPickerSheet,
2681
- ta as TopBar,
2682
- Pr as TrustBadgesBar,
2683
- gr as VideoPlayer,
2684
- cr as buttonVariants,
2685
- wa as cn
3343
+ Fr as AudioQuestionCard,
3344
+ bt as BOOKING_SUMMARY_BANNER_DEFAULT_COPY,
3345
+ nr as BillDetails,
3346
+ rr as BookingSummaryBanner,
3347
+ te as Button,
3348
+ ht as CHECKOUT_BAR_DEFAULT_COPY,
3349
+ vt as CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY,
3350
+ $r as CartReviewAddedBadge,
3351
+ Mr as CartReviewChangeButton,
3352
+ Bt as CartReviewItem,
3353
+ Za as CartReviewMandapItem,
3354
+ Hr as CartView,
3355
+ Zr as CheckIcon,
3356
+ He as CheckoutBar,
3357
+ Ha as Chip,
3358
+ fr as ConfirmPujaDetailsModal,
3359
+ Ur as DatePickerSheet,
3360
+ Ma as FAQSection,
3361
+ yt as GOTRA_INFO_MODAL_DEFAULT_COPY,
3362
+ pr as GotraInfoModal,
3363
+ Le as IconBadge,
3364
+ Yr as L2Card,
3365
+ At as LanguageSwitcher,
3366
+ qr as OutcomeButton,
3367
+ Qr as OutcomeSummary,
3368
+ mt as PACKAGE_SELECT_DEFAULT_COPY,
3369
+ Nt as PUJA_DETAILS_FORM_DEFAULT_COPY,
3370
+ Vr as PackageSelect,
3371
+ Gr as PhoneNumberSheet,
3372
+ Kr as PlusIcon,
3373
+ Jr as PujaDetailsForm,
3374
+ Ir as QuantityStepper,
3375
+ _t as SARVA_PITRU_CARD_DEFAULT_COPY,
3376
+ Sr as SarvaPitruCard,
3377
+ Ft as SelectorCard,
3378
+ Br as SelectorCardEditableField,
3379
+ Dr as SelectorCardInfoRow,
3380
+ Ka as SelectorCardNote,
3381
+ qa as SelectorCardPriceBadge,
3382
+ Ja as ServiceOfferCard,
3383
+ Ar as StepProgressHeader,
3384
+ Or as TestimonialCard,
3385
+ ie as TextField,
3386
+ Wr as TithiPickerSheet,
3387
+ zr as TopBar,
3388
+ Qa as TrustBadgesBar,
3389
+ $a as VideoPlayer,
3390
+ Pa as buttonVariants,
3391
+ as as cn,
3392
+ Xr as createEmptyPujaDetailsFormValues,
3393
+ ar as getBookingSummaryBannerDefaultCopy,
3394
+ er as getCheckoutBarDefaultCopy,
3395
+ xr as getConfirmPujaDetailsModalDefaultCopy,
3396
+ $t as getGotraInfoModalDefaultCopy,
3397
+ br as getKartaOrdinalLabel,
3398
+ tr as getPackageSelectDefaultCopy,
3399
+ hr as getPujaDetailsFormDefaultCopy,
3400
+ Lr as getSarvaPitruCardDefaultCopy
2686
3401
  };