@srimandir/pitru-paksh-common 2.0.23 → 2.0.25

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 (40) 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 -4
  36. package/dist/pitru-paksh-common.d.ts +79 -0
  37. package/dist/pitru-paksh-common.js +2058 -1285
  38. package/dist/pitru-paksh-common.umd.cjs +8 -8
  39. package/dist/style.css +1 -1
  40. package/package.json +6 -5
@@ -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 c, BottomSheet as oe, DEFAULT_COUNTRIES as fa, getMaxLengthForCountry as Ie, validatePhoneByCountryCode as Et, getFlagEmoji as Me } from "@srimandir/common";
2
+ import { cn as ss } from "@srimandir/common";
3
+ import * as pa from "react";
4
+ import E, { useState as V, 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: {} }, de = {};
8
+ var lt;
9
+ function ga() {
10
+ if (lt) return de;
11
+ lt = 1;
12
+ var t = E, 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, o = {}, v = null, b = null;
15
+ m !== void 0 && (v = "" + m), u.key !== void 0 && (v = "" + u.key), u.ref !== void 0 && (b = u.ref);
16
+ for (h in u) n.call(u, h) && !d.hasOwnProperty(h) && (o[h] = u[h]);
17
+ if (f && f.defaultProps) for (h in u = f.defaultProps, u) o[h] === void 0 && (o[h] = u[h]);
18
+ return { $$typeof: r, type: f, key: v, ref: b, props: o, _owner: i.current };
19
19
  }
20
- return te.Fragment = s, te.jsx = f, te.jsxs = f, te;
20
+ return de.Fragment = s, de.jsx = x, de.jsxs = x, de;
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 ue = {};
23
+ var it;
24
+ function va() {
25
+ return it || (it = 1, process.env.NODE_ENV !== "production" && (function() {
26
+ var t = E, 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"), o = /* @__PURE__ */ Symbol.for("react.memo"), v = /* @__PURE__ */ Symbol.for("react.lazy"), b = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator, L = "@@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 = j && a[j] || a[L];
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 y(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
+ g("error", a, p);
39
39
  }
40
40
  }
41
- function O(t, l, x) {
41
+ function g(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) {
46
- return String(E);
43
+ var N = w.ReactDebugCurrentFrame, T = N.getStackAddendum();
44
+ T !== "" && (l += "%s", p = p.concat([T]));
45
+ var z = p.map(function(P) {
46
+ return String(P);
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;
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
51
+ var _ = !1, O = !1, F = !1, U = !1, G = !1, K;
52
+ K = /* @__PURE__ */ Symbol.for("react.module.reference");
53
+ function D(a) {
54
+ return !!(typeof a == "string" || typeof a == "function" || a === n || a === d || G || a === i || a === m || a === h || U || a === b || _ || O || F || typeof a == "object" && a !== null && (a.$$typeof === v || a.$$typeof === o || 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 === K || 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 Y(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 Z(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" && y("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 Z(l) + ".Consumer";
96
+ case x:
97
+ var p = a;
98
+ return Z(p._context) + ".Provider";
99
+ case u:
100
+ return Y(a, a.render, "ForwardRef");
101
+ case o:
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, P = T._init;
106
106
  try {
107
- return B(E(z));
107
+ return M(P(z));
108
108
  } catch {
109
109
  return null;
110
110
  }
@@ -112,613 +112,613 @@ 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 H = Object.assign, J = 0, X, Q, 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 (J === 0) {
122
+ X = console.log, Q = 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
+ J++;
140
140
  }
141
141
  }
142
- function bt() {
142
+ function I() {
143
143
  {
144
- if (Q--, Q === 0) {
145
- var t = {
144
+ if (J--, J === 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: H({}, a, {
152
+ value: X
153
153
  }),
154
- info: G({}, t, {
155
- value: Re
154
+ info: H({}, a, {
155
+ value: Q
156
156
  }),
157
- warn: G({}, t, {
158
- value: Se
157
+ warn: H({}, a, {
158
+ value: ae
159
159
  }),
160
- error: G({}, t, {
161
- value: ze
160
+ error: H({}, a, {
161
+ value: re
162
162
  }),
163
- group: G({}, t, {
164
- value: Oe
163
+ group: H({}, a, {
164
+ value: fe
165
165
  }),
166
- groupCollapsed: G({}, t, {
167
- value: Pe
166
+ groupCollapsed: H({}, a, {
167
+ value: pe
168
168
  }),
169
- groupEnd: G({}, t, {
170
- value: Te
169
+ groupEnd: H({}, 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
+ J < 0 && y("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 ee = w.ReactCurrentDispatcher, Ee;
178
+ function be(a, l, p) {
179
179
  {
180
- if (he === void 0)
180
+ if (Ee === 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
+ Ee = N && N[1] || "";
186
186
  }
187
187
  return `
188
- ` + he + t;
188
+ ` + Ee + a;
189
189
  }
190
190
  }
191
- var pe = !1, se;
191
+ var Se = !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 Ue(a, l) {
197
+ if (!a || Se)
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
+ Se = !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 = ee.current, ee.current = null, C();
210
210
  try {
211
211
  if (l) {
212
- var E = function() {
212
+ var P = function() {
213
213
  throw Error();
214
214
  };
215
- if (Object.defineProperty(E.prototype, "props", {
215
+ if (Object.defineProperty(P.prototype, "props", {
216
216
  set: function() {
217
217
  throw Error();
218
218
  }
219
219
  }), typeof Reflect == "object" && Reflect.construct) {
220
220
  try {
221
- Reflect.construct(E, []);
222
- } catch (I) {
223
- b = I;
221
+ Reflect.construct(P, []);
222
+ } catch (W) {
223
+ N = W;
224
224
  }
225
- Reflect.construct(t, [], E);
225
+ Reflect.construct(a, [], P);
226
226
  } else {
227
227
  try {
228
- E.call();
229
- } catch (I) {
230
- b = I;
228
+ P.call();
229
+ } catch (W) {
230
+ N = W;
231
231
  }
232
- t.call(E.prototype);
232
+ a.call(P.prototype);
233
233
  }
234
234
  } else {
235
235
  try {
236
236
  throw Error();
237
- } catch (I) {
238
- b = I;
237
+ } catch (W) {
238
+ N = W;
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 (W) {
243
+ if (W && N && typeof W.stack == "string") {
244
+ for (var S = W.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 te = `
254
+ ` + S[A].replace(" at new ", " at ");
255
+ return a.displayName && te.includes("<anonymous>") && (te = te.replace("<anonymous>", a.displayName)), typeof a == "function" && ge.set(a, te), te;
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
+ Se = !1, ee.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 ie = a ? a.displayName || a.name : "", se = ie ? be(ie) : "";
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 Ue(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 Ue(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 o:
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 ce = Object.prototype.hasOwnProperty, Ge = {}, Ye = 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
+ Ye.setExtraStackFrame(p);
308
308
  } else
309
- Fe.setExtraStackFrame(null);
309
+ Ye.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(ce);
314
+ for (var P in a)
315
+ if (z(a, P)) {
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[P] != "function") {
319
+ var $ = Error((N || "React class") + ": " + p + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[P] + "`.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[P](l, P, 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), y("%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, P, typeof S), je(null)), S instanceof Error && !(S.message in Ge) && (Ge[S.message] = !0, je(T), y("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 Pe(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 qe(a), !1;
343
343
  } catch {
344
344
  return !0;
345
345
  }
346
346
  }
347
- function Ie(t) {
348
- return "" + t;
347
+ function qe(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 Ke(a) {
351
+ if (qt(a))
352
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Yt(a)), qe(a);
353
353
  }
354
- var De = y.ReactCurrentOwner, _t = {
354
+ var Ze = 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
+ }, Je, Xe;
360
+ function Zt(a) {
361
+ if (ce.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 (ce.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" && Ze.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
+ Je || (Je = !0, y("%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
+ Xe || (Xe = !0, y("%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, P) {
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,
409
- props: E,
408
+ ref: p,
409
+ props: P,
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, P = {}, S = null, $ = null;
433
+ p !== void 0 && (Ke(p), S = "" + p), Jt(l) && (Ke(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
+ ce.call(l, z) && !Kt.hasOwnProperty(z) && (P[z] = l[z]);
436
+ if (a && a.defaultProps) {
437
+ var A = a.defaultProps;
438
+ for (z in A)
439
+ P[z] === void 0 && (P[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(P, B), $ && ea(P, B);
444
444
  }
445
- return Pt(t, k, F, S, b, De.current, E);
445
+ return ta(a, S, $, T, N, Ze.current, P);
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, Qe = w.ReactDebugCurrentFrame;
449
+ function le(a) {
450
+ if (a) {
451
+ var l = a._owner, p = ve(a.type, a._source, l ? l.type : null);
452
+ Qe.setExtraStackFrame(p);
453
453
  } else
454
- We.setExtraStackFrame(null);
454
+ Qe.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 et() {
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 tt = {};
477
+ function sa(a) {
478
478
  {
479
- var l = qe();
479
+ var l = et();
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 at(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 (tt[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
+ tt[p] = !0;
498
+ var N = "";
499
+ a && a._owner && a._owner !== Te.current && (N = " It was passed a child from " + M(a._owner.type) + "."), le(a), y('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), le(null);
500
500
  }
501
501
  }
502
- function Ue(t, l) {
502
+ function rt(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 (Pe(a))
507
+ for (var p = 0; p < a.length; p++) {
508
+ var N = a[p];
509
+ Oe(N) && at(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), P; !(P = z.next()).done; )
517
+ Oe(P.value) && at(P.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 === o))
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
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", T || "Unknown");
542
542
  }
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.");
543
+ typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && y("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
+ le(a), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", N), le(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 && (le(a), y("Invalid attribute `ref` supplied to `React.Fragment`."), le(null));
556
556
  }
557
557
  }
558
- var Ge = {};
559
- function Ze(t, l, x, b, S, z) {
558
+ var st = {};
559
+ function nt(a, l, p, N, T, z) {
560
560
  {
561
- var E = M(t);
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);
561
+ var P = D(a);
562
+ if (!P) {
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 += et();
567
+ var A;
568
+ a === null ? A = "null" : Pe(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, y("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;
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);
570
+ var B = aa(a, l, p, T, z);
571
+ if (B == null)
572
+ return B;
573
+ if (P) {
574
+ var te = l.children;
575
+ if (te !== void 0)
576
+ if (N)
577
+ if (Pe(te)) {
578
+ for (var ie = 0; ie < te.length; ie++)
579
+ rt(te[ie], a);
580
+ Object.freeze && Object.freeze(te);
581
581
  } else
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.");
582
+ y("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
+ rt(te, 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(": ..., ") + ": ...}" : "{}";
592
- j(`A props object containing a "key" prop is being spread into JSX:
586
+ if (ce.call(l, "key")) {
587
+ var se = M(a), W = Object.keys(l).filter(function(xa) {
588
+ return xa !== "key";
589
+ }), ze = W.length > 0 ? "{key: someKey, " + W.join(": ..., ") + ": ...}" : "{key: someKey}";
590
+ if (!st[se + ze]) {
591
+ var ua = W.length > 0 ? "{" + W.join(": ..., ") + ": ...}" : "{}";
592
+ y(`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), st[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 nt(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 nt(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
+ ue.Fragment = n, ue.jsx = ca, ue.jsxs = da;
611
+ })()), ue;
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 ot;
614
+ function ja() {
615
+ return ot || (ot = 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(), Tt = {
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
+ }, ct = E.createContext && /* @__PURE__ */ E.createContext(Tt), 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 dt(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 ? dt(Object(s), !0).forEach(function(n) {
665
+ ka(t, n, s[n]);
666
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(s)) : dt(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 Rt(t) {
690
+ return t && t.map((r, s) => /* @__PURE__ */ E.createElement(r.tag, ke({
691
691
  key: s
692
- }, a.attr), dt(a.child)));
692
+ }, r.attr), Rt(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__ */ E.createElement(La, we({
696
+ attr: ke({}, t.attr)
697
+ }, r), Rt(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__ */ E.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__ */ E.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 ct !== void 0 ? /* @__PURE__ */ E.createElement(ct.Consumer, null, (s) => r(s)) : r(Tt);
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 Ea(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 Sa = 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
+ ), q = 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
+ }, o) => /* @__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: o,
769
+ type: m,
770
+ disabled: d || i,
771
+ className: c(Sa({ variant: r, size: s, iconOnly: n }), t),
772
+ ...h,
773
+ children: i ? /* @__PURE__ */ e.jsx(Ea, { 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
+ q.displayName = "Button";
782
+ function Pa(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 Ot(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 ut(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 zr = ({
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
811
  className: c(
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(Ot, { 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 xt(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 xe(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 zt(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 Ve(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 He(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] = V(i), [o, v] = V(f), b = n && r.length > s, j = b && !m ? r.slice(0, s) : r;
886
898
  return /* @__PURE__ */ e.jsxs(
887
899
  "div",
888
900
  {
889
901
  className: c(
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: j.map((L, k) => {
908
+ const w = o === 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: L.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: c("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: L.answer })
932
944
  }
933
945
  )
934
946
  ]
935
947
  },
936
- _
948
+ k
937
949
  );
938
950
  }) }),
939
- g && /* @__PURE__ */ e.jsx(
940
- H,
951
+ b && /* @__PURE__ */ e.jsx(
952
+ q,
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((L) => !L),
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: c("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 = E.forwardRef(
974
+ ({ src: t, poster: r, className: s = "", rounded: n = !0, width: i, height: d }, x) => {
975
+ const [f, u] = E.useState(!1), [m, h] = E.useState(!0), [o, v] = E.useState(!1), [b, j] = E.useState(0), [L, k] = E.useState(0), w = E.useRef(null), g = c(
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
+ j(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 },
985
+ ref: x,
986
+ style: { width: i, height: d },
975
987
  className: c(
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: o,
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: g,
1004
+ onTimeUpdate: (O) => j(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
+ q,
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(ut, { size: 16, className: "translate-x-0.5" })
1007
1019
  }
1008
1020
  ),
1009
1021
  /* @__PURE__ */ e.jsx(
1010
- H,
1022
+ q,
1011
1023
  {
1012
1024
  variant: "ghost",
1013
1025
  iconOnly: !0,
1014
1026
  size: "sm",
1015
- "aria-label": h ? "Unmute" : "Mute",
1027
+ "aria-label": o ? "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: o ? /* @__PURE__ */ e.jsx(Ta, { size: 14 }) : /* @__PURE__ */ e.jsx(Pa, { 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: L || 0,
1027
1039
  step: 0.1,
1028
- value: g,
1029
- onChange: w,
1040
+ value: b,
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: g }),
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
+ q,
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(ut, { size: 16, className: "translate-x-0.5" })
1047
1059
  }
1048
1060
  )
1049
1061
  ] })
@@ -1051,123 +1063,123 @@ 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 = E.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(
1069
- (j) => {
1070
- g || v(j), o?.(j);
1074
+ onOpenChange: d,
1075
+ className: x = "",
1076
+ triggerClassName: f = "",
1077
+ menuClassName: u = "",
1078
+ ...m
1079
+ }, h) => {
1080
+ const [o, v] = E.useState(n), b = i !== void 0, j = b ? i : o, L = E.useCallback(
1081
+ (y) => {
1082
+ b || v(y), d?.(y);
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
+ [b, d]
1085
+ ), k = E.useRef(null);
1086
+ E.useImperativeHandle(h, () => k.current), E.useEffect(() => {
1087
+ if (!j) return;
1088
+ const y = (_) => {
1089
+ k.current?.contains(_.target) || L(!1);
1090
+ }, g = (_) => {
1091
+ _.key === "Escape" && L(!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", y), document.addEventListener("keydown", g), () => {
1094
+ document.removeEventListener("mousedown", y), document.removeEventListener("keydown", g);
1083
1095
  };
1084
- }, [N, R]);
1085
- const y = (j) => {
1086
- s?.(j.value), R(!1);
1096
+ }, [j, L]);
1097
+ const w = (y) => {
1098
+ s?.(y.value), L(!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: c("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: () => L(!j),
1094
1106
  "aria-label": "Switch language",
1095
1107
  "aria-haspopup": "listbox",
1096
- "aria-expanded": N,
1108
+ "aria-expanded": j,
1097
1109
  className: c(
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: c("transition-transform duration-200", j ? "rotate-180" : ""),
1108
1120
  "aria-hidden": !0
1109
1121
  }
1110
1122
  )
1111
1123
  ]
1112
1124
  }
1113
1125
  ),
1114
- N && /* @__PURE__ */ e.jsx(
1126
+ j && /* @__PURE__ */ e.jsx(
1115
1127
  "ul",
1116
1128
  {
1117
1129
  role: "listbox",
1118
1130
  className: c(
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((y) => {
1135
+ const g = y.value === r;
1136
+ return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected": g, children: /* @__PURE__ */ e.jsx(
1125
1137
  "button",
1126
1138
  {
1127
1139
  type: "button",
1128
- onClick: () => y(j),
1140
+ onClick: () => w(y),
1129
1141
  className: c(
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
+ g ? "font-medium text-[#f75e22]" : "text-[#1d2125]"
1132
1144
  ),
1133
- children: j.label
1145
+ children: y.label
1134
1146
  }
1135
- ) }, j.value);
1147
+ ) }, y.value);
1136
1148
  })
1137
1149
  }
1138
1150
  )
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 Ar({
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
1166
  className: c(
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(He, { 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 = E.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,
1201
+ "aria-pressed": r,
1190
1202
  className: c(
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 Fr = ({
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;
1223
+ const d = s > 0 ? Math.min(100, Math.max(0, r / s * 100)) : 0;
1212
1224
  return /* @__PURE__ */ e.jsxs("div", { className: c("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 ft = 1.25, pt = [
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: pt.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: ft,
1280
1292
  height: s.height,
1281
- rx: nt / 2,
1293
+ rx: ft / 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 * pt.length + n) * 60}ms`
1286
1298
  }
1287
1299
  },
1288
1300
  n
1289
1301
  ))
1290
1302
  }
1291
- ), aa = ({
1292
- avatarUrl: r,
1293
- question: a,
1303
+ ), Br = ({
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 = E.useRef(null), f = E.useRef(!1), [u, m] = E.useState(!1), [h, o] = E.useState(!1);
1312
+ E.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 b = x.current;
1318
+ b && (b.muted = !b.muted, m(b.muted));
1307
1319
  };
1308
1320
  return /* @__PURE__ */ e.jsxs(
1309
1321
  "div",
1310
1322
  {
1311
1323
  className: c("flex w-full items-start gap-3 px-4 pb-6", i),
1312
- ...o,
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: () => o(!0),
1371
+ onPause: () => o(!1),
1372
+ onEnded: () => o(!1)
1361
1373
  }
1362
1374
  ),
1363
1375
  /* @__PURE__ */ e.jsx(
@@ -1365,19 +1377,19 @@ 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
- /* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((g) => /* @__PURE__ */ e.jsx(
1375
- wr,
1386
+ /* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((b) => /* @__PURE__ */ e.jsx(
1387
+ Ga,
1376
1388
  {
1377
- animate: u && !d,
1378
- iconIndex: g
1389
+ animate: h && !u,
1390
+ iconIndex: b
1379
1391
  },
1380
- g
1392
+ b
1381
1393
  )) })
1382
1394
  ] })
1383
1395
  ] })
@@ -1385,57 +1397,57 @@ 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 = E.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,
1408
+ ref: x,
1397
1409
  className: c(
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 = E.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: o,
1424
1436
  tag: v,
1425
- tagClassName: g,
1426
- children: N,
1427
- className: R,
1428
- disabled: _,
1429
- type: y = "button",
1430
- ...j
1431
- }, O) => /* @__PURE__ */ e.jsxs(
1437
+ tagClassName: b,
1438
+ children: j,
1439
+ className: L,
1440
+ disabled: k,
1441
+ type: w = "button",
1442
+ ...y
1443
+ }, g) => /* @__PURE__ */ e.jsxs(
1432
1444
  "div",
1433
1445
  {
1434
1446
  className: c(
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
+ L
1439
1451
  ),
1440
1452
  children: [
1441
1453
  v && /* @__PURE__ */ e.jsx(
@@ -1443,7 +1455,7 @@ const pt = C.forwardRef(
1443
1455
  {
1444
1456
  className: c(
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
- g
1458
+ b
1447
1459
  ),
1448
1460
  children: v
1449
1461
  }
@@ -1451,80 +1463,80 @@ const pt = C.forwardRef(
1451
1463
  /* @__PURE__ */ e.jsxs(
1452
1464
  "button",
1453
1465
  {
1454
- ref: O,
1455
- type: y,
1466
+ ref: g,
1467
+ type: w,
1456
1468
  role: "radio",
1457
- "aria-checked": r,
1458
- disabled: _,
1459
- onClick: a,
1469
+ "aria-checked": t,
1470
+ disabled: k,
1471
+ onClick: r,
1460
1472
  className: c(
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
- ...j,
1476
+ ...y,
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 && !j && /* @__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
1488
  className: c(
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" ? c("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white", o) : "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
1496
  className: c(
1485
1497
  "size-3.5 rounded-full bg-linear-to-b from-[#f97e4e] to-[#f75e22]",
1486
- h
1498
+ o
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
+ j
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 Dr = ({
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,
1523
+ role: r ? "button" : void 0,
1524
+ tabIndex: r ? 0 : void 0,
1525
+ onClick: r,
1514
1526
  className: c(
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(zt, { 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
+ ), Ir = ({
1538
+ value: t,
1539
+ onInfoClick: r,
1528
1540
  infoLabel: s = "More info",
1529
1541
  className: n,
1530
1542
  ...i
@@ -1537,63 +1549,63 @@ const sa = ({
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
- children: /* @__PURE__ */ e.jsx(ue, { size: 18, "aria-hidden": !0 })
1560
+ children: /* @__PURE__ */ e.jsx(xe, { size: 18, "aria-hidden": !0 })
1549
1561
  }
1550
- ) : /* @__PURE__ */ e.jsx(ue, { size: 18, className: "shrink-0 text-gray-700", "aria-hidden": !0 })
1562
+ ) : /* @__PURE__ */ e.jsx(xe, { 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
1572
  className: c(
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
1582
  className: c(
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
+ ), Mr = ({
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,
1601
+ onClick: r,
1590
1602
  className: c(
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(xt, { size: 20, "aria-hidden": !0 }),
1608
+ d
1597
1609
  ]
1598
1610
  }
1599
1611
  ) : /* @__PURE__ */ e.jsxs(
@@ -1601,7 +1613,7 @@ const sa = ({
1601
1613
  {
1602
1614
  className: c(
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(xt, { size: 18, "aria-hidden": !0 })
1627
1639
  }
1628
1640
  )
1629
1641
  ]
1630
1642
  }
1631
- ), _r = ({
1632
- title: r,
1633
- description: a,
1643
+ ), ht = {
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) => ht[t] ?? ht.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: c("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,9 +1692,12 @@ 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
+ }, $r = ({
1699
+ children: t = "Change",
1700
+ className: r,
1661
1701
  type: s = "button",
1662
1702
  ...n
1663
1703
  }) => /* @__PURE__ */ e.jsxs(
@@ -1666,62 +1706,64 @@ const sa = ({
1666
1706
  type: s,
1667
1707
  className: c(
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(zt, { 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
+ ), Vr = ({
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,
1727
+ type: i,
1686
1728
  className: c(
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
1753
  className: c(
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
1762
  className: c(
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,33 +1772,33 @@ 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(
@@ -1768,10 +1810,10 @@ const Or = [
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: c("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,259 +1822,387 @@ const Or = [
1780
1822
  i.id
1781
1823
  ))
1782
1824
  }
1783
- ), Tr = ({
1825
+ ), mt = {
1826
+ en: {
1827
+ proceedLabel: "Proceed"
1828
+ },
1829
+ hi: {
1830
+ proceedLabel: "आगे बढ़ें"
1831
+ },
1832
+ te: {
1833
+ proceedLabel: "ముందుకు సాగండి"
1834
+ }
1835
+ }, er = (t) => mt[t] ?? mt.en, We = ({
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(Ve, { "aria-hidden": !0 }),
1846
+ onProceed: h,
1847
+ proceedButtonProps: o,
1848
+ buttonWrapperClassName: v,
1849
+ className: b,
1850
+ ...j
1851
+ }) => /* @__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)]", b), ...j, 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: c("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
1861
  className: c(
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
- children: /* @__PURE__ */ e.jsx(ue, { size: 18, "aria-hidden": !0 })
1866
+ children: /* @__PURE__ */ e.jsx(xe, { 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: c("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: c("shrink-0", v), children: /* @__PURE__ */ e.jsxs(q, { variant: "primary", size: "xl", onClick: h, ...o, className: c("min-w-40 justify-center gap-2 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]", o?.className), children: [
1873
+ u ?? er(t).proceedLabel,
1874
+ m
1822
1875
  ] }) })
1823
- ] }), ca = ({
1876
+ ] }), bt = {
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) => bt[t] ?? bt.en, Hr = ({
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: o,
1932
+ optionsClassName: v,
1933
+ trustBadges: b,
1934
+ checkout: j,
1935
+ stickyFooter: L = !0,
1936
+ footerClassName: k
1937
+ }) => {
1938
+ const w = tr(t), y = r ?? w.title, g = s ?? w.description, _ = n ?? w.benefits, O = b ?? {
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: c("w-full", m), children: [
1946
+ /* @__PURE__ */ e.jsxs("div", { className: c("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: y }),
1948
+ g && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: g })
1949
+ ] }),
1950
+ _ && _.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", o), children: _.map((F, U) => /* @__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
+ ] }, U)) }),
1954
+ /* @__PURE__ */ e.jsx(
1955
+ "div",
1956
+ {
1957
+ role: "radiogroup",
1958
+ "aria-label": u ?? (typeof y == "string" ? y : void 0),
1959
+ className: c("flex flex-col gap-3 p-4", v),
1960
+ children: i.map((F) => {
1961
+ const {
1962
+ id: U,
1963
+ price: G,
1964
+ free: K,
1965
+ badge: D,
1966
+ priceBadgeProps: Y,
1967
+ note: Z,
1968
+ noteProps: M,
1969
+ children: H,
1970
+ iconClassName: J,
1971
+ radioVariant: X,
1972
+ ...Q
1973
+ } = F, ae = d === U, re = D ?? (G == null ? void 0 : K ? /* @__PURE__ */ e.jsx("span", { className: c("text-sm font-medium text-gray-400", Y?.className), ...Y, children: G }) : /* @__PURE__ */ e.jsx(qa, { value: G, ...Y }));
1974
+ return /* @__PURE__ */ e.jsx(
1975
+ Ft,
1976
+ {
1977
+ ...Q,
1978
+ iconClassName: c("size-10", J),
1979
+ radioVariant: X ?? f,
1980
+ badge: re,
1981
+ selected: ae,
1982
+ onSelect: () => x(U),
1983
+ children: H ?? (ae && Z && /* @__PURE__ */ e.jsx(Ka, { ...M, children: Z }))
1984
+ },
1985
+ U
1986
+ );
1987
+ })
1988
+ }
1989
+ ),
1990
+ (O || j) && /* @__PURE__ */ e.jsxs("div", { className: c(L && "sticky bottom-0 z-10", k), children: [
1991
+ O && /* @__PURE__ */ e.jsx(Qa, { ...O }),
1992
+ j && /* @__PURE__ */ e.jsx(We, { ...j })
1993
+ ] })
1994
+ ] });
1995
+ }, gt = {
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) => gt[t] ?? gt.en, rr = ({
2009
+ locale: t = "en",
2010
+ icon: r = /* @__PURE__ */ e.jsx(Ot, { "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
+ ...o
2021
+ }) => {
2022
+ const v = ar(t), b = n ?? v.title, j = 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: c("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", h), ...o, children: /* @__PURE__ */ e.jsxs("div", { className: c("rounded-2xl bg-white p-4 shadow-sm", m), children: [
2028
+ /* @__PURE__ */ e.jsxs("p", { className: c("flex items-center gap-2 text-sm font-bold text-[#db2777]", i), children: [
2029
+ r && /* @__PURE__ */ e.jsx("span", { className: c("shrink-0 text-sm", s), children: r }),
2030
+ b
2031
+ ] }),
2032
+ (d || j && j.length > 0) && /* @__PURE__ */ e.jsx("p", { className: c("mt-2 text-[15px] font-semibold text-[#1d2125]", u), children: j && j.length > 0 ? j.map((L, k) => /* @__PURE__ */ e.jsxs(E.Fragment, { children: [
2033
+ k > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
2034
+ L
2035
+ ] }, k)) : d })
2036
+ ] }) });
2037
+ }, vt = {
2038
+ en: {
2039
+ title: "Bill Details",
2040
+ totalLabel: "Total Amount"
2041
+ },
2042
+ hi: {
2043
+ title: "बिल विवरण",
2044
+ totalLabel: "कुल राशि"
2045
+ }
2046
+ }, sr = (t) => vt[t] ?? vt.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: c("bg-white px-4 py-6", f), ...u, children: [
2059
+ /* @__PURE__ */ e.jsxs("h2", { className: c("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((o) => /* @__PURE__ */ e.jsxs("div", { className: c("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: c("text-sm text-[#1d2125]", o.labelClassName), children: o.label }),
2066
+ o.subLabel && /* @__PURE__ */ e.jsx("p", { className: c("mt-0.5 text-xs text-gray-400", o.subLabelClassName), children: o.subLabel })
2067
+ ] }),
2068
+ /* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm", children: [
2069
+ o.note && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400", children: o.note }),
2070
+ o.originalValue && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400 line-through", children: o.originalValue }),
2071
+ /* @__PURE__ */ e.jsx("span", { className: c("font-medium text-[#1d2125]", o.valueClassName), children: o.value })
2072
+ ] })
2073
+ ] }, o.id)) }),
2074
+ d !== void 0 && /* @__PURE__ */ e.jsxs("div", { className: c("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
+ }, Wr = ({
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: o,
2092
+ addonsHeaderClassName: v,
2093
+ addonsTitleClassName: b,
2094
+ addonsDescriptionClassName: j,
2095
+ addonsClassName: L,
2096
+ addonClassName: k,
2097
+ billDetails: w,
2098
+ faq: y,
2099
+ checkout: g,
2100
+ className: _,
2101
+ children: O,
2102
+ ...F
2103
+ }) => {
2104
+ const { headerTitle: U, addonsTitle: G, addonsDescription: K, checkoutProceedLabel: D, checkoutRitualSingular: Y, checkoutRitualPlural: Z } = _e(t), { price: M, ritualCount: H, ...J } = g ?? {};
2105
+ return /* @__PURE__ */ e.jsxs("div", { className: c("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: c("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: c(
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(He, { 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: c("text-lg font-bold text-[#1d2125]", d), children: U })
2122
+ ] }),
2123
+ x && /* @__PURE__ */ e.jsx(rr, { ...x }),
2124
+ f && f.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3 bg-white px-4 py-4", u), children: f.map(
2125
+ ({ id: X, className: Q, isMandapCharge: ae, ...re }) => ae ? /* @__PURE__ */ e.jsx(
2126
+ Za,
2127
+ {
2128
+ locale: t,
2129
+ className: c(m, Q),
2130
+ ...re
2131
+ },
2132
+ X
2133
+ ) : /* @__PURE__ */ e.jsx(
2134
+ Bt,
2135
+ {
2136
+ className: c(m, Q),
2137
+ ...re
2138
+ },
2139
+ X
2140
+ )
2141
+ ) }),
2142
+ h && h.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: c("flex flex-col gap-4 bg-gray-50 px-4 py-6", o), children: [
2143
+ /* @__PURE__ */ e.jsxs("div", { className: v, children: [
2144
+ /* @__PURE__ */ e.jsx("h2", { className: c("text-base font-bold text-gray-700", b), children: G }),
2145
+ /* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", j), children: K })
2146
+ ] }),
2147
+ /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-4", L), children: h.map(({ id: X, className: Q, ...ae }) => /* @__PURE__ */ e.jsx(Ja, { className: c(k, Q), ...ae }, X)) })
2148
+ ] }),
2149
+ w && /* @__PURE__ */ e.jsx(nr, { ...w, locale: t }),
2150
+ y && /* @__PURE__ */ e.jsx(Ma, { ...y }),
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
+ g && /* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0", children: /* @__PURE__ */ e.jsx(
2154
+ We,
2155
+ {
2156
+ ...J,
2157
+ locale: t,
2158
+ amount: M,
2159
+ subtitle: `${H} ${H === 1 ? Y : Z}`,
2160
+ proceedLabel: D
2161
+ }
2162
+ ) })
2163
+ ] });
2164
+ }, ne = E.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: o,
2008
2178
  ...v
2009
- }, 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 }),
2179
+ }, b) => {
2180
+ const j = E.useId(), L = o ?? j, k = d ?? (i ? `${r.length}${h ? `/${h}` : ""}` : void 0);
2181
+ return /* @__PURE__ */ e.jsxs("div", { className: c("flex w-full flex-col gap-2", u), children: [
2182
+ t && /* @__PURE__ */ e.jsx("label", { htmlFor: L, 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
2187
  className: c(
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 }),
2024
2194
  /* @__PURE__ */ e.jsx(
2025
2195
  "input",
2026
2196
  {
2027
- ref: g,
2028
- id: R,
2029
- value: a,
2030
- maxLength: u,
2031
- onChange: (y) => s(y.target.value),
2032
- "aria-invalid": f,
2197
+ ref: b,
2198
+ id: L,
2199
+ value: r,
2200
+ maxLength: h,
2201
+ onChange: (w) => s(w.target.value),
2202
+ "aria-invalid": x,
2033
2203
  className: c(
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
+ ne.displayName = "TextField";
2219
+ function Ur({
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] = V(f), h = () => {
2230
+ u && x(u);
2061
2231
  };
2062
2232
  return /* @__PURE__ */ e.jsx(
2063
- xe,
2233
+ oe,
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
+ q,
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((o) => {
2262
+ const v = u === o;
2093
2263
  return /* @__PURE__ */ e.jsx(
2094
2264
  "button",
2095
2265
  {
2096
2266
  type: "button",
2097
- onClick: () => p(h),
2267
+ onClick: () => m(o),
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: o
2100
2270
  },
2101
- h
2271
+ o
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 = E.useRef(null), i = E.useRef(!1);
2280
+ E.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 Gr({
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)
2163
- ), j = () => {
2164
- f({ day: Ne[v], month: N + 1, year: h[_] });
2328
+ const o = ha(() => {
2329
+ const g = m ?? h - 120;
2330
+ return Array.from({ length: h - g + 1 }, (_, O) => g + O);
2331
+ }, [m, h]), [v, b] = V(() => u ? u.day - 1 : Math.floor(Fe.length / 2)), [j, L] = V(() => u ? u.month - 1 : 0), [k, w] = V(
2332
+ () => u ? Math.max(0, o.indexOf(u.year)) : Math.floor(o.length / 2)
2333
+ ), y = () => {
2334
+ x({ day: Fe[v], month: j + 1, year: o[k] });
2165
2335
  };
2166
2336
  return /* @__PURE__ */ e.jsx(
2167
- xe,
2337
+ oe,
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(q, { variant: "primary", size: "md", className: "flex-1 rounded-xl", onClick: y, 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: b }),
2360
+ /* @__PURE__ */ e.jsx(Ae, { options: i, selectedIndex: j, onChange: L }),
2361
+ /* @__PURE__ */ e.jsx(Ae, { options: o.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 Yr({
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(() => {
2211
- if (!g) return;
2212
- const w = (P) => {
2213
- R.current && !R.current.contains(P.target) && N(!1);
2377
+ const [m, h] = V(
2378
+ () => f.find((_) => _.iso === u) ?? f[0]
2379
+ ), [o, v] = V(x), [b, j] = V(!1), L = St(null);
2380
+ Pt(() => {
2381
+ if (!b) return;
2382
+ const _ = (O) => {
2383
+ L.current && !L.current.contains(O.target) && j(!1);
2214
2384
  };
2215
- return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
2216
- }, [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);
2385
+ return document.addEventListener("mousedown", _), () => document.removeEventListener("mousedown", _);
2386
+ }, [b]);
2387
+ const k = Ie(m.code), w = Et(o, m.code).isValid && o.length > 0, y = (_) => {
2388
+ h(_), j(!1), v((O) => O.slice(0, Ie(_.code)));
2389
+ }, g = () => {
2390
+ w && d(o, m);
2221
2391
  };
2222
2392
  return /* @__PURE__ */ e.jsx(
2223
- xe,
2393
+ oe,
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
+ q,
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(Ve, { "aria-hidden": !0 }),
2407
+ disabled: !w,
2408
+ onClick: g,
2239
2409
  children: i
2240
2410
  }
2241
2411
  ) }),
@@ -2243,54 +2413,54 @@ 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: L, className: "relative shrink-0", children: [
2247
2417
  /* @__PURE__ */ e.jsxs(
2248
2418
  "button",
2249
2419
  {
2250
2420
  type: "button",
2251
- onClick: () => N((w) => !w),
2252
- "aria-expanded": g,
2421
+ onClick: () => j((_) => !_),
2422
+ "aria-expanded": b,
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
  ),
2262
- g && /* @__PURE__ */ e.jsx(
2432
+ b && /* @__PURE__ */ e.jsx(
2263
2433
  "div",
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: () => y(_),
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
+ ne,
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: o,
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,36 +2471,36 @@ function xa({
2301
2471
  }
2302
2472
  );
2303
2473
  }
2304
- const Mr = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
2305
- function ma({
2306
- isOpen: r,
2307
- onClose: a,
2474
+ const lr = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
2475
+ function qr({
2476
+ isOpen: t,
2477
+ onClose: r,
2308
2478
  heading: s,
2309
2479
  subtext: n,
2310
2480
  confirmLabel: i,
2311
- onConfirm: o,
2312
- initialValue: f = "",
2313
- errorText: m = "Please enter a valid email"
2481
+ onConfirm: d,
2482
+ initialValue: x = "",
2483
+ errorText: f = "Please enter a valid email"
2314
2484
  }) {
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);
2485
+ const [u, m] = V(x), [h, o] = V(!1), v = u.trim(), b = lr.test(v), j = h && v.length > 0 && !b, L = () => {
2486
+ b && d(v);
2317
2487
  };
2318
2488
  return /* @__PURE__ */ e.jsx(
2319
- xe,
2489
+ oe,
2320
2490
  {
2321
- isOpen: r,
2322
- onClose: a,
2491
+ isOpen: t,
2492
+ onClose: r,
2323
2493
  showDragHandle: !0,
2324
2494
  ariaLabel: s,
2325
2495
  footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
2326
- H,
2496
+ q,
2327
2497
  {
2328
2498
  variant: "primary",
2329
2499
  size: "xl",
2330
2500
  className: "w-full rounded-xl",
2331
- rightIcon: /* @__PURE__ */ e.jsx(Ce, { "aria-hidden": !0 }),
2332
- disabled: !g,
2333
- onClick: R,
2501
+ rightIcon: /* @__PURE__ */ e.jsx(Ve, { "aria-hidden": !0 }),
2502
+ disabled: !b,
2503
+ onClick: L,
2334
2504
  children: i
2335
2505
  }
2336
2506
  ) }),
@@ -2338,17 +2508,17 @@ function ma({
2338
2508
  /* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
2339
2509
  n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
2340
2510
  /* @__PURE__ */ e.jsx(
2341
- _e,
2511
+ ne,
2342
2512
  {
2343
2513
  type: "email",
2344
2514
  inputMode: "email",
2345
2515
  autoFocus: !0,
2346
- value: d,
2516
+ value: u,
2347
2517
  placeholder: "you@example.com",
2348
- error: N,
2349
- supportingText: N ? m : void 0,
2350
- onChange: p,
2351
- onBlur: () => h(!0),
2518
+ error: j,
2519
+ supportingText: j ? f : void 0,
2520
+ onChange: m,
2521
+ onBlur: () => o(!0),
2352
2522
  containerClassName: "mt-2",
2353
2523
  wrapperClassName: "h-14 rounded-xl px-4",
2354
2524
  className: "text-[18px]"
@@ -2358,46 +2528,46 @@ function ma({
2358
2528
  }
2359
2529
  );
2360
2530
  }
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);
2531
+ function ir(t) {
2532
+ 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);
2363
2533
  }
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);
2534
+ function or(t) {
2535
+ 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);
2366
2536
  }
2367
- const Br = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
2368
- function ha({
2369
- chipNumber: r,
2370
- chipLabel: a,
2537
+ const cr = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
2538
+ function Kr({
2539
+ chipNumber: t,
2540
+ chipLabel: r,
2371
2541
  isAdded: s,
2372
2542
  onEditClick: n,
2373
2543
  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,
2544
+ onExpandClick: d,
2545
+ expandButtonAriaLabel: x = "Expand",
2546
+ imageUrl: f,
2547
+ imageAlt: u,
2548
+ imageComponent: m,
2549
+ ratingLabel: h,
2550
+ bookedLabel: o,
2381
2551
  title: v,
2382
- description: g,
2383
- learnMoreLabel: N,
2384
- onLearnMoreClick: R,
2385
- learnMoreHref: _,
2386
- dateLabel: y,
2387
- locationLabel: j,
2388
- priceInfoLabel: O,
2389
- onPriceInfoClick: w,
2390
- price: P,
2391
- cta: $,
2392
- className: Y = ""
2552
+ description: b,
2553
+ learnMoreLabel: j,
2554
+ onLearnMoreClick: L,
2555
+ learnMoreHref: k,
2556
+ dateLabel: w,
2557
+ locationLabel: y,
2558
+ priceInfoLabel: g,
2559
+ onPriceInfoClick: _,
2560
+ price: O,
2561
+ cta: F,
2562
+ className: U = ""
2393
2563
  }) {
2394
- const [W, q] = V(!1), M = s || W, X = M && (u != null || h != null), U = M && (y != null || j != null);
2564
+ const [G, K] = V(!1), D = s || G, Y = D && (h != null || o != null), Z = D && (w != null || y != null);
2395
2565
  return /* @__PURE__ */ e.jsxs(
2396
2566
  "div",
2397
2567
  {
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}`,
2568
+ 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)]"} ${U}`,
2399
2569
  children: [
2400
- /* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 px-3 ${M ? "py-4" : "pt-4"}`, children: [
2570
+ /* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 px-3 ${D ? "py-4" : "pt-4"}`, children: [
2401
2571
  /* @__PURE__ */ e.jsxs(
2402
2572
  "div",
2403
2573
  {
@@ -2406,8 +2576,8 @@ function ha({
2406
2576
  background: "linear-gradient(90deg, #fcccdf -29.79%, #fef5e9 50.11%, rgba(254, 245, 233, 0) 100%)"
2407
2577
  },
2408
2578
  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 })
2579
+ /* @__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 }),
2580
+ /* @__PURE__ */ e.jsx("p", { className: "min-w-0 flex-1 text-xs font-semibold leading-4 text-[#632E06]", children: r })
2411
2581
  ]
2412
2582
  }
2413
2583
  ),
@@ -2419,7 +2589,7 @@ function ha({
2419
2589
  className: "flex size-8 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white p-0",
2420
2590
  onClick: n,
2421
2591
  "aria-label": i,
2422
- children: /* @__PURE__ */ e.jsx(Fr, { "aria-hidden": !0, className: "size-[18px] text-[#1D2125]" })
2592
+ children: /* @__PURE__ */ e.jsx(ir, { "aria-hidden": !0, className: "size-[18px] text-[#1D2125]" })
2423
2593
  }
2424
2594
  ),
2425
2595
  !s && /* @__PURE__ */ e.jsx(
@@ -2428,118 +2598,118 @@ function ha({
2428
2598
  type: "button",
2429
2599
  className: "flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",
2430
2600
  onClick: () => {
2431
- q((B) => !B), o?.();
2601
+ K((M) => !M), d?.();
2432
2602
  },
2433
- "aria-label": f,
2434
- "aria-expanded": W,
2603
+ "aria-label": x,
2604
+ "aria-expanded": G,
2435
2605
  children: /* @__PURE__ */ e.jsx(
2436
- Ir,
2606
+ or,
2437
2607
  {
2438
2608
  "aria-hidden": !0,
2439
- className: `size-8 text-[#1D2125] ${W ? "" : "-scale-y-100"}`
2609
+ className: `size-8 text-[#1D2125] ${G ? "" : "-scale-y-100"}`
2440
2610
  }
2441
2611
  )
2442
2612
  }
2443
2613
  )
2444
2614
  ] })
2445
2615
  ] }),
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(
2616
+ 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" }) }),
2617
+ Y && /* @__PURE__ */ e.jsxs(
2448
2618
  "div",
2449
2619
  {
2450
2620
  className: "-mt-3 flex w-full items-center gap-2.5 rounded-b-xl px-4 py-1",
2451
2621
  style: { background: "linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)" },
2452
2622
  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 })
2623
+ h != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: h }),
2624
+ h != null && o != null && /* @__PURE__ */ e.jsx("span", { className: "size-1.5 shrink-0 rounded-full bg-[#4b5513]", "aria-hidden": !0 }),
2625
+ o != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: o })
2456
2626
  ]
2457
2627
  }
2458
2628
  ),
2459
2629
  /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-3", children: [
2460
2630
  /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1", children: [
2461
2631
  /* @__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 })
2632
+ D && b != null && /* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-normal leading-4 text-gray-500", children: b })
2463
2633
  ] }),
2464
- M && N != null && /* @__PURE__ */ e.jsxs(
2634
+ D && j != null && /* @__PURE__ */ e.jsxs(
2465
2635
  "a",
2466
2636
  {
2467
- href: _,
2468
- className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#e6327a] underline",
2469
- onClick: R,
2637
+ href: k,
2638
+ className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",
2639
+ onClick: L,
2470
2640
  children: [
2471
- N,
2472
- /* @__PURE__ */ e.jsx(mr, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
2641
+ j,
2642
+ /* @__PURE__ */ e.jsx(Ba, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
2473
2643
  ]
2474
2644
  }
2475
2645
  ),
2476
- U && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2646
+ Z && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2477
2647
  /* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
2478
2648
  /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2", children: [
2649
+ w != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
2650
+ /* @__PURE__ */ e.jsx(Ia, { "aria-hidden": !0, className: "size-3.5 shrink-0 text-gray-700" }),
2651
+ /* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: w })
2652
+ ] }),
2479
2653
  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" }),
2654
+ /* @__PURE__ */ e.jsx("img", { src: cr, alt: "", "aria-hidden": !0, className: "size-3.5 shrink-0" }),
2481
2655
  /* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: y })
2482
- ] }),
2483
- 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" }),
2485
- /* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: j })
2486
2656
  ] })
2487
2657
  ] })
2488
2658
  ] }),
2489
2659
  /* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
2490
2660
  /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-between", children: [
2491
2661
  /* @__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(
2662
+ g != null && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1", children: [
2663
+ /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children: g }),
2664
+ _ && /* @__PURE__ */ e.jsx(
2495
2665
  "button",
2496
2666
  {
2497
2667
  type: "button",
2498
2668
  className: "flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",
2499
- onClick: w,
2669
+ onClick: _,
2500
2670
  "aria-label": "More info",
2501
- children: /* @__PURE__ */ e.jsx(ue, { "aria-hidden": !0, className: "size-4 text-[#1D2125]" })
2671
+ children: /* @__PURE__ */ e.jsx(xe, { "aria-hidden": !0, className: "size-4 text-[#1D2125]" })
2502
2672
  }
2503
2673
  )
2504
2674
  ] }),
2505
- /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children: P })
2675
+ /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children: O })
2506
2676
  ] }),
2507
- /* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: $ })
2677
+ /* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: F })
2508
2678
  ] })
2509
2679
  ] })
2510
2680
  ]
2511
2681
  }
2512
2682
  );
2513
2683
  }
2514
- const Dr = {
2684
+ const dr = {
2515
2685
  primary: "border border-transparent pl-3 pr-4 text-white",
2516
2686
  secondary: "border border-[#159169] px-3 text-[#159169]",
2517
2687
  accent: "border border-transparent px-4 text-white"
2518
- }, Vr = {
2688
+ }, ur = {
2519
2689
  md: "h-10 gap-2 rounded-lg text-xs font-semibold leading-4",
2520
2690
  lg: "h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"
2521
- }, $r = {
2691
+ }, xr = {
2522
2692
  primary: { backgroundImage: "linear-gradient(to bottom, #5eb98e, #159169)" },
2523
2693
  secondary: { backgroundImage: "linear-gradient(to bottom, #ffffff, #edf5f2)" },
2524
2694
  accent: { backgroundImage: "linear-gradient(to bottom, #f97e4e, #f75e22)" }
2525
2695
  };
2526
- function pa({
2527
- variant: r = "primary",
2528
- size: a = "md",
2696
+ function Zr({
2697
+ variant: t = "primary",
2698
+ size: r = "md",
2529
2699
  leftIcon: s,
2530
2700
  children: n,
2531
2701
  className: i = "",
2532
- style: o,
2533
- type: f = "button",
2534
- ...m
2702
+ style: d,
2703
+ type: x = "button",
2704
+ ...f
2535
2705
  }) {
2536
2706
  return /* @__PURE__ */ e.jsxs(
2537
2707
  "button",
2538
2708
  {
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,
2709
+ type: x,
2710
+ className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${ur[r]} ${dr[t]} ${i}`,
2711
+ style: { ...xr[t], ...d },
2712
+ ...f,
2543
2713
  children: [
2544
2714
  s,
2545
2715
  n
@@ -2547,8 +2717,8 @@ function pa({
2547
2717
  }
2548
2718
  );
2549
2719
  }
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(
2720
+ function Jr({ className: t = "size-5" }) {
2721
+ 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
2722
  "path",
2553
2723
  {
2554
2724
  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 +2726,8 @@ function ga({ className: r = "size-5" }) {
2556
2726
  }
2557
2727
  ) });
2558
2728
  }
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(
2729
+ function Xr({ className: t = "size-5" }) {
2730
+ 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
2731
  "path",
2562
2732
  {
2563
2733
  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 +2735,553 @@ function ba({ className: r = "size-5" }) {
2565
2735
  }
2566
2736
  ) });
2567
2737
  }
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 }) {
2738
+ const jt = {
2739
+ en: {
2740
+ heading: "Check the details to book your puja procedure",
2741
+ subtext: "These names and gotra will be taken by the priest",
2742
+ ancestorsLabel: "Names of the ancestors:",
2743
+ performerLabel: "Name of the performer:",
2744
+ gotraLabel: "Gotra",
2745
+ whatsappLabel: "Whatsapp number",
2746
+ editDetailsLabel: "Edit Details",
2747
+ payButtonTemplate: "Pay {amount}"
2748
+ },
2749
+ hi: {
2750
+ heading: "अपनी पूजा-विधि बुक करने के लिए जानकारी की जांच करें",
2751
+ subtext: "ये नाम और गोत्र पंडित जी द्वारा लिए जाएंगे",
2752
+ ancestorsLabel: "पितृजन के नाम:",
2753
+ performerLabel: "कर्ता के नाम:",
2754
+ gotraLabel: "गोत्र",
2755
+ whatsappLabel: "Whatsapp नंबर",
2756
+ editDetailsLabel: "जानकारी बदले",
2757
+ payButtonTemplate: "{amount} भुगतान करें"
2758
+ },
2759
+ te: {
2760
+ heading: "మీ పూజ విధి బుక్ చేయడానికి వివరాలు తనిఖీ చేయండి",
2761
+ subtext: "ఈ పేర్లు మరియు గోత్రాన్ని పండితులు చదువుతారు",
2762
+ ancestorsLabel: "పితరుల పేర్లు:",
2763
+ performerLabel: "పూజ చేసే వారి పేరు:",
2764
+ gotraLabel: "గోత్రం",
2765
+ whatsappLabel: "WhatsApp నంబర్",
2766
+ editDetailsLabel: "మార్చండి",
2767
+ payButtonTemplate: "{amount} చెల్లించండి"
2768
+ }
2769
+ }, fr = (t) => jt[t] ?? jt.en;
2770
+ function yt({ children: t }) {
2771
+ 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 });
2772
+ }
2773
+ function pr({
2774
+ isOpen: t,
2775
+ onClose: r,
2776
+ locale: s = "en",
2777
+ ancestors: n,
2778
+ kartaNames: i,
2779
+ gotra: d,
2780
+ whatsappNumber: x,
2781
+ amount: f,
2782
+ onEditDetailsClick: u,
2783
+ onProceedPayment: m,
2784
+ className: h
2785
+ }) {
2786
+ const o = fr(s), v = o.payButtonTemplate.replace("{amount}", f);
2787
+ return /* @__PURE__ */ e.jsx(
2788
+ oe,
2789
+ {
2790
+ isOpen: t,
2791
+ onClose: r,
2792
+ showDragHandle: !1,
2793
+ closeButtonOutside: !0,
2794
+ ariaLabel: o.heading,
2795
+ className: c("rounded-t-[20px] bg-[#f7f8f9]", h),
2796
+ header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-0.5 px-4 pt-4", children: [
2797
+ /* @__PURE__ */ e.jsx("p", { className: "text-center text-[18px] leading-6 font-bold text-[#22272b]", children: o.heading }),
2798
+ /* @__PURE__ */ e.jsx("p", { className: "text-center text-[14px] leading-5 font-normal text-[#6b7280]", children: o.subtext })
2799
+ ] }),
2800
+ footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3 px-4 pb-4", children: [
2801
+ /* @__PURE__ */ e.jsx(
2802
+ q,
2803
+ {
2804
+ variant: "outline",
2805
+ size: "lg",
2806
+ className: "h-12 shrink-0 rounded-xl border-[#141414] text-[#1d2125] hover:bg-gray-50",
2807
+ onClick: u,
2808
+ children: o.editDetailsLabel
2809
+ }
2810
+ ),
2811
+ /* @__PURE__ */ e.jsx(
2812
+ q,
2813
+ {
2814
+ variant: "primary",
2815
+ size: "lg",
2816
+ className: "h-12 flex-1 rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
2817
+ onClick: m,
2818
+ children: v
2819
+ }
2820
+ )
2821
+ ] }),
2822
+ 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: [
2823
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
2824
+ /* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: o.ancestorsLabel }),
2825
+ /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((b) => /* @__PURE__ */ e.jsxs(yt, { children: [
2826
+ /* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: b.value }),
2827
+ b.label && /* @__PURE__ */ e.jsxs("span", { className: "text-[10px] leading-3.5 font-medium text-[#6b7280]", children: [
2828
+ "(",
2829
+ b.label,
2830
+ ")"
2831
+ ] })
2832
+ ] }, b.id)) })
2833
+ ] }),
2834
+ /* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
2835
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
2836
+ /* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: o.performerLabel }),
2837
+ /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.map((b, j) => /* @__PURE__ */ e.jsx(yt, { children: /* @__PURE__ */ e.jsxs("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: [
2838
+ j + 1,
2839
+ ". ",
2840
+ b
2841
+ ] }) }, j)) })
2842
+ ] }),
2843
+ /* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
2844
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 px-3", children: [
2845
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
2846
+ /* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: o.gotraLabel }),
2847
+ /* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children: d })
2848
+ ] }),
2849
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
2850
+ /* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: o.whatsappLabel }),
2851
+ /* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children: x })
2852
+ ] })
2853
+ ] })
2854
+ ] }) })
2855
+ }
2856
+ );
2857
+ }
2858
+ const Nt = {
2859
+ en: {
2860
+ heading: "I do not know my Lineage(Gotra), what should I do?",
2861
+ 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.",
2862
+ okayLabel: "Okay",
2863
+ closeButtonAriaLabel: "Close"
2864
+ },
2865
+ hi: {
2866
+ heading: "मुझे अपना गोत्र नहीं पता, मुझे क्या करना चाहिए?",
2867
+ body: "अगर आप अपना गोत्र नहीं जानते हैं, तो ऐसी स्थिति में आप अपना गोत्र कश्यप मान सकते हैं, क्योंकि ऋषि कश्यप एक ऐसे ऋषि थे, जिनके वंशज हर जाति में पाए जाते हैं। इसलिए, उन्हें एक पूजनीय ऋषि माना जाता है। पूजा के दौरान पंडित जी कश्यप गोत्र का ही उच्चारण करेंगे।",
2868
+ okayLabel: "ठीक है",
2869
+ closeButtonAriaLabel: "बंद करें"
2870
+ },
2871
+ te: {
2872
+ heading: "నాకు నా గోత్రం తెలియదు, నేను ఏమి చేయాలి?",
2873
+ body: "మీకు మీ గోత్రం తెలియకపోతే, ఈ పరిస్థితిలో మీరు మీ గోత్రాన్ని కశ్యపగా భావించవచ్చు, ఎందుకంటే కశ్యప ఋషి వంశస్థులు ప్రతి కులంలో కనిపిస్తారు. అందువల్ల, ఆయనను ఒక పూజనీయ ఋషిగా భావిస్తారు. పూజ సమయంలో పండితుడు ఈ వివరాలను కశ్యప గోత్రంగానే ఉచ్చరిస్తారు.",
2874
+ okayLabel: "సరే",
2875
+ closeButtonAriaLabel: "మూసివేయండి"
2876
+ }
2877
+ }, $t = (t) => Nt[t] ?? Nt.en;
2878
+ function hr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
2879
+ const i = $t(s);
2880
+ return /* @__PURE__ */ e.jsx(
2881
+ oe,
2882
+ {
2883
+ isOpen: t,
2884
+ onClose: r,
2885
+ showCloseButton: !1,
2886
+ showDragHandle: !1,
2887
+ ariaLabel: i.heading,
2888
+ className: c("rounded-t-[20px]", n),
2889
+ header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-3 px-4 pt-5 pb-3", children: [
2890
+ /* @__PURE__ */ e.jsx("p", { className: "flex-1 text-[18px] leading-6 font-bold text-[#22272b]", children: i.heading }),
2891
+ /* @__PURE__ */ e.jsx(
2892
+ "button",
2893
+ {
2894
+ type: "button",
2895
+ onClick: r,
2896
+ "aria-label": i.closeButtonAriaLabel,
2897
+ className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#22272b]",
2898
+ children: /* @__PURE__ */ e.jsx(za, { size: 24, "aria-hidden": !0 })
2899
+ }
2900
+ )
2901
+ ] }),
2902
+ footer: /* @__PURE__ */ e.jsx("div", { className: "w-full px-4 pb-5", children: /* @__PURE__ */ e.jsx(
2903
+ q,
2904
+ {
2905
+ variant: "primary",
2906
+ size: "xl",
2907
+ className: "w-full rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
2908
+ onClick: r,
2909
+ children: i.okayLabel
2910
+ }
2911
+ ) }),
2912
+ children: /* @__PURE__ */ e.jsx("p", { className: "w-full px-4 pb-3 text-[14px] leading-5.5 font-normal text-[#6b7280]", children: i.body })
2913
+ }
2914
+ );
2915
+ }
2916
+ const wt = {
2917
+ en: {
2918
+ topBarTitle: "Fill in necessary details for Puja",
2919
+ backButtonAriaLabel: "Go back",
2920
+ whatsappNumberLabel: "Add your WhatsApp number",
2921
+ whatsappNumberPlaceholder: "0000000000",
2922
+ whatsappNumberHelperText: "Puja updates will be sent to this number",
2923
+ emailLabel: "Add your email",
2924
+ emailPlaceholder: "Enter your email",
2925
+ emailHelperText: "Puja updates will be sent to this email",
2926
+ kartaNameSectionTitle: "Enter the name of the people performing the puja for their ancestors (Karta)",
2927
+ kartaNameLabel: "Karta's name",
2928
+ kartaNameOptionalSuffix: "(optional)",
2929
+ kartaNamePlaceholder: "Name to be taken in the Puja",
2930
+ gotraFieldLabel: "Enter Karta’s Gotra (person performing puja)*",
2931
+ gotraFieldPlaceholder: "Enter Karta’s Gotra (if known)",
2932
+ gotraUnknownCheckboxLabel: "If you don’t know your Gotra, select this",
2933
+ gotraUnknownHelperText: "As per scriptures, the Sankalp can be taken with Kashyap Gotra, allowing you to receive the full benefit of the puja",
2934
+ ancestorNameSectionTitle: "Who is this puja for?",
2935
+ ancestorNameSectionSubtitle: "Enter the name of your ancestors",
2936
+ ancestorNameFieldSuffix: "name",
2937
+ sarvaPitruSectionSubtitle: "Your ancestors",
2938
+ sarvaPitruFieldValue: "For all ancestors",
2939
+ sarvaPitruHelperText: "This will be recited by the Pandit during puja",
2940
+ latePrefixLabel: "Late",
2941
+ proceedCtaLabel: "Proceed to fill details",
2942
+ kashyapGotraLabel: "Kashyap"
2943
+ },
2944
+ hi: {
2945
+ topBarTitle: "पूजा के लिए ज़रूरी विवरण भरे",
2946
+ backButtonAriaLabel: "वापस जाएं",
2947
+ whatsappNumberLabel: "अपना व्हाट्सएप नंबर जोड़ें",
2948
+ whatsappNumberPlaceholder: "0000000000",
2949
+ whatsappNumberHelperText: "पूजा से जुड़ी जानकारी इस नंबर पर भेजी जाएगी",
2950
+ emailLabel: "अपना ईमेल जोड़ें",
2951
+ emailPlaceholder: "अपना ईमेल दर्ज करें",
2952
+ emailHelperText: "पूजा से जुड़ी जानकारी इस ईमेल पर भेजी जाएगी",
2953
+ kartaNameSectionTitle: "पितरों के लिए पूजा करने वाले व्यक्ति का नाम भरे (कर्ता)",
2954
+ kartaNameLabel: "कर्ता का नाम",
2955
+ kartaNameOptionalSuffix: "(वैकल्पिक)",
2956
+ kartaNamePlaceholder: "पूजा में लिया जाने वाला नाम",
2957
+ gotraFieldLabel: "कर्ता का गोत्र भरें (पूजा करने वाले व्यक्ति का)*",
2958
+ gotraFieldPlaceholder: "कर्ता का गोत्र भरें (यदि ज्ञात हो)",
2959
+ gotraUnknownCheckboxLabel: "अगर आपको गोत्र नहीं पता तो इसे चुनें",
2960
+ gotraUnknownHelperText: "शास्त्रों के अनुसार कश्यप गोत्र से पूजा में संकल्प लिया जा सकता है इससे आपको पूजा का पूर्ण लाभ प्राप्त होता है",
2961
+ ancestorNameSectionTitle: "पूजा-विधि किन पितृ के लिए बुक कर रहे है?",
2962
+ ancestorNameSectionSubtitle: "पितृजन का नाम भरें",
2963
+ ancestorNameFieldSuffix: "का नाम",
2964
+ sarvaPitruSectionSubtitle: "पितृजन का नाम",
2965
+ sarvaPitruFieldValue: "सर्वपितृ के लिए",
2966
+ sarvaPitruHelperText: "यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा",
2967
+ latePrefixLabel: "स्व.",
2968
+ proceedCtaLabel: "आगे बढ़ें, और डिटेल्स भरें",
2969
+ kashyapGotraLabel: "कश्यप"
2970
+ },
2971
+ te: {
2972
+ topBarTitle: "పూజ కోసం అవసరమైన వివరాలు నమోదు చేయండి",
2973
+ backButtonAriaLabel: "వెనక్కి వెళ్ళండి",
2974
+ whatsappNumberLabel: "మీ వాట్సాప్ నంబర్ జోడించండి",
2975
+ whatsappNumberPlaceholder: "0000000000",
2976
+ whatsappNumberHelperText: "పూజ నవీకరణలు ఈ నంబర్‌కు పంపబడతాయి",
2977
+ emailLabel: "మీ ఇమెయిల్ జోడించండి",
2978
+ emailPlaceholder: "మీ ఇమెయిల్ నమోదు చేయండి",
2979
+ emailHelperText: "పూజ నవీకరణలు ఈ ఇమెయిల్‌కు పంపబడతాయి",
2980
+ kartaNameSectionTitle: "పితరుల కోసం పూజ చేసే వ్యక్తుల పేరు నమోదు చేయండి (కర్త)",
2981
+ kartaNameLabel: "కర్త పేరు",
2982
+ kartaNameOptionalSuffix: "(ఐచ్ఛికం)",
2983
+ kartaNamePlaceholder: "పూజలో తీసుకోవలసిన పేరు",
2984
+ gotraFieldLabel: "*కర్త గోత్రం నమోదు చేయండి (పూజ చేసే వ్యక్తి)",
2985
+ gotraFieldPlaceholder: "కర్త గోత్రం నమోదు చేయండి (తెలిస్తే)",
2986
+ gotraUnknownCheckboxLabel: "మీ గోత్రం తెలియకపోతే, ఇది ఎంచుకోండి",
2987
+ gotraUnknownHelperText: "శాస్త్రాల ప్రకారం, సంకల్పం కశ్యప గోత్రంతో చేయవచ్చు, ఇది పూజ యొక్క పూర్తి ఫలం పొందడానికి అనుమతిస్తుంది",
2988
+ ancestorNameSectionTitle: "ఈ పూజ ఎవరి కోసం?",
2989
+ ancestorNameSectionSubtitle: "మీ పితరుల పేరు నమోదు చేయండి",
2990
+ ancestorNameFieldSuffix: "పేరు",
2991
+ sarvaPitruSectionSubtitle: "మీ పితరులు",
2992
+ sarvaPitruFieldValue: "సర్వ పితరుల కోసం",
2993
+ sarvaPitruHelperText: "ఇది పూజ సమయంలో పండితుడు ఉచ్చరిస్తారు",
2994
+ latePrefixLabel: "దివంగత",
2995
+ proceedCtaLabel: "వివరాలు నమోదు చేయండి",
2996
+ kashyapGotraLabel: "కశ్యప"
2997
+ }
2998
+ }, mr = (t) => wt[t] ?? wt.en, kt = {
2999
+ en: ["1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", "10th"],
3000
+ hi: ["पहले", "दूसरे", "तीसरे", "चौथे", "पांचवें", "छठे", "सातवें", "आठवें", "नौवें", "दसवें"],
3001
+ te: ["1వ", "2వ", "3వ", "4వ", "5వ", "6వ", "7వ", "8వ", "9వ", "10వ"]
3002
+ }, br = {
3003
+ en: "th",
3004
+ hi: "वें",
3005
+ te: "వ"
3006
+ }, gr = (t, r) => {
3007
+ const s = r in kt ? r : "en";
3008
+ return kt[s][t - 1] ?? `${t}${br[s]}`;
3009
+ }, Be = 40, De = "+91", vr = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
3010
+ function Qr({
3011
+ locale: t = "en",
3012
+ values: r,
3013
+ onValuesChange: s,
3014
+ isGlobal: n = !1,
3015
+ gotraOptions: i = [],
3016
+ isSarvaPitru: d = !1,
3017
+ onBackClick: x,
3018
+ amount: f,
3019
+ ritualsCountLabel: u,
3020
+ onPriceInfoClick: m,
3021
+ canProceed: h,
3022
+ proceedCtaLabel: o,
3023
+ proceedButtonProps: v,
3024
+ onProceedPayment: b,
3025
+ className: j
3026
+ }) {
3027
+ const [L, k] = V(!1), [w, y] = V(!1), g = mr(t), _ = $t(t), O = (C) => {
3028
+ const I = gr(C + 1, t);
3029
+ return C === 0 ? `*${I} ${g.kartaNameLabel}` : `${I} ${g.kartaNameLabel} ${g.kartaNameOptionalSuffix}`;
3030
+ }, F = (C) => s({ ...r, ...C }), U = (C, I) => {
3031
+ const ee = [...r.kartaNames];
3032
+ ee[C] = I, F({ kartaNames: ee });
3033
+ }, G = (C, I) => {
3034
+ F({ ancestors: r.ancestors.map((ee) => ee.id === C ? { ...ee, value: I } : ee) });
3035
+ }, [K, D] = V(!1), Y = St(null);
3036
+ Pt(() => {
3037
+ if (!K) return;
3038
+ const C = (I) => {
3039
+ Y.current && !Y.current.contains(I.target) && D(!1);
3040
+ };
3041
+ return document.addEventListener("mousedown", C), () => document.removeEventListener("mousedown", C);
3042
+ }, [K]);
3043
+ const Z = i.filter(
3044
+ (C) => C.toLowerCase().includes(r.gotra.trim().toLowerCase())
3045
+ ), M = (C) => {
3046
+ F({ gotra: C }), D(!1);
3047
+ }, H = () => {
3048
+ const C = !r.isGotraUnknown;
3049
+ F({ isGotraUnknown: C, gotra: C ? g.kashyapGotraLabel : r.gotra });
3050
+ }, J = Ie(De), X = Et(r.whatsappNumber, De).isValid, Q = vr.test(r.email), ae = r.whatsappNumber.length > 0 && !X, re = r.email.length > 0 && !Q, fe = (n ? Q : X) && 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 : g.kashyapGotraLabel, me = n ? r.email : r.whatsappNumber;
3051
+ return /* @__PURE__ */ e.jsxs("div", { className: c("flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]", j), children: [
3052
+ /* @__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: [
3053
+ /* @__PURE__ */ e.jsx(
3054
+ "button",
3055
+ {
3056
+ type: "button",
3057
+ onClick: x,
3058
+ "aria-label": g.backButtonAriaLabel,
3059
+ 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)]",
3060
+ children: /* @__PURE__ */ e.jsx(He, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
3061
+ }
3062
+ ),
3063
+ /* @__PURE__ */ e.jsx("p", { className: "text-[18px] leading-5 font-bold text-[#1d2125]", children: g.topBarTitle })
3064
+ ] }),
3065
+ /* @__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: [
3066
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
3067
+ /* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children: n ? g.emailLabel : g.whatsappNumberLabel }),
3068
+ n ? /* @__PURE__ */ e.jsx(
3069
+ ne,
3070
+ {
3071
+ type: "email",
3072
+ inputMode: "email",
3073
+ value: r.email,
3074
+ placeholder: g.emailPlaceholder,
3075
+ error: re,
3076
+ onChange: (C) => F({ email: C }),
3077
+ containerClassName: "w-full gap-0",
3078
+ wrapperClassName: "h-14 rounded-xl px-4",
3079
+ className: "text-[18px]"
3080
+ }
3081
+ ) : /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
3082
+ /* @__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: [
3083
+ /* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: Me("IN") }),
3084
+ /* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: De })
3085
+ ] }),
3086
+ /* @__PURE__ */ e.jsx(
3087
+ ne,
3088
+ {
3089
+ type: "tel",
3090
+ inputMode: "numeric",
3091
+ value: r.whatsappNumber,
3092
+ placeholder: g.whatsappNumberPlaceholder,
3093
+ maxLength: J,
3094
+ error: ae,
3095
+ onChange: (C) => F({ whatsappNumber: C.replace(/\D/g, "").slice(0, J) }),
3096
+ containerClassName: "w-auto flex-1 gap-0",
3097
+ wrapperClassName: "h-14 rounded-xl px-4",
3098
+ className: "text-[18px]"
3099
+ }
3100
+ )
3101
+ ] }),
3102
+ /* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: n ? g.emailHelperText : g.whatsappNumberHelperText })
3103
+ ] }),
3104
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
3105
+ /* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: g.kartaNameSectionTitle }),
3106
+ /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5", children: r.kartaNames.map((C, I) => /* @__PURE__ */ e.jsx(
3107
+ ne,
3108
+ {
3109
+ label: O(I),
3110
+ placeholder: g.kartaNamePlaceholder,
3111
+ value: C,
3112
+ maxLength: Be,
3113
+ showCharCount: !0,
3114
+ wrapperClassName: c("h-12 rounded-xl", I === 0 && "bg-[#f3f4f6]"),
3115
+ onChange: (ee) => U(I, ee)
3116
+ },
3117
+ I
3118
+ )) })
3119
+ ] }),
3120
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
3121
+ /* @__PURE__ */ e.jsxs("div", { ref: Y, className: "relative flex w-full flex-col gap-2", children: [
3122
+ /* @__PURE__ */ e.jsx("label", { htmlFor: "karta-gotra", className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children: g.gotraFieldLabel }),
3123
+ /* @__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: [
3124
+ /* @__PURE__ */ e.jsx(
3125
+ "input",
3126
+ {
3127
+ id: "karta-gotra",
3128
+ value: r.gotra,
3129
+ placeholder: g.gotraFieldPlaceholder,
3130
+ maxLength: Be,
3131
+ autoComplete: "off",
3132
+ onFocus: () => D(!0),
3133
+ onChange: (C) => {
3134
+ F({ gotra: C.target.value }), D(!0);
3135
+ },
3136
+ 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"
3137
+ }
3138
+ ),
3139
+ /* @__PURE__ */ e.jsx(
3140
+ "button",
3141
+ {
3142
+ type: "button",
3143
+ onClick: () => y(!0),
3144
+ "aria-label": _.heading,
3145
+ className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",
3146
+ children: /* @__PURE__ */ e.jsx(xe, { size: 24, "aria-hidden": !0 })
3147
+ }
3148
+ )
3149
+ ] }),
3150
+ K && Z.length > 0 && /* @__PURE__ */ e.jsx(
3151
+ "div",
3152
+ {
3153
+ role: "listbox",
3154
+ 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",
3155
+ children: Z.map((C) => /* @__PURE__ */ e.jsx(
3156
+ "button",
3157
+ {
3158
+ type: "button",
3159
+ role: "option",
3160
+ "aria-selected": C === r.gotra,
3161
+ onClick: () => M(C),
3162
+ className: c(
3163
+ "flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",
3164
+ C === r.gotra && "bg-[#fff9e9]"
3165
+ ),
3166
+ children: C
3167
+ },
3168
+ C
3169
+ ))
3170
+ }
3171
+ )
3172
+ ] }),
3173
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
3174
+ /* @__PURE__ */ e.jsxs(
3175
+ "button",
3176
+ {
3177
+ type: "button",
3178
+ onClick: H,
3179
+ "aria-pressed": r.isGotraUnknown,
3180
+ className: "flex items-center gap-1 border-0 bg-transparent p-0",
3181
+ children: [
3182
+ 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 }),
3183
+ /* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: g.gotraUnknownCheckboxLabel })
3184
+ ]
3185
+ }
3186
+ ),
3187
+ /* @__PURE__ */ e.jsx("p", { className: "text-[10px] leading-[14px] font-medium text-[#6b7280]", children: g.gotraUnknownHelperText })
3188
+ ] })
3189
+ ] }),
3190
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white", children: [
3191
+ /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2.5 px-3 pt-3 pb-2", children: [
3192
+ /* @__PURE__ */ e.jsx(Le, { size: "sm", icon: /* @__PURE__ */ e.jsx(Ra, { size: 20, className: "text-[#f38415]", "aria-hidden": !0 }) }),
3193
+ /* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
3194
+ /* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: g.ancestorNameSectionTitle }),
3195
+ /* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-normal text-[#6b7280]", children: d ? g.sarvaPitruSectionSubtitle : g.ancestorNameSectionSubtitle })
3196
+ ] })
3197
+ ] }),
3198
+ d ? /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1 p-3 pt-0", children: [
3199
+ /* @__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: g.sarvaPitruFieldValue }) }),
3200
+ /* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: g.sarvaPitruHelperText })
3201
+ ] }) : /* @__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(
3202
+ ne,
3203
+ {
3204
+ label: `*${C.label} ${g.ancestorNameFieldSuffix}`,
3205
+ value: C.value,
3206
+ prefix: g.latePrefixLabel,
3207
+ placeholder: g.kartaNamePlaceholder,
3208
+ maxLength: Be,
3209
+ showCharCount: !0,
3210
+ wrapperClassName: "h-12 rounded-xl",
3211
+ onChange: (I) => G(C.id, I)
3212
+ },
3213
+ C.id
3214
+ )) })
3215
+ ] })
3216
+ ] }) }),
3217
+ /* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0 w-full", children: /* @__PURE__ */ e.jsx(
3218
+ We,
3219
+ {
3220
+ amount: f,
3221
+ subtitle: u,
3222
+ onInfoClick: m,
3223
+ proceedLabel: o ?? g.proceedCtaLabel,
3224
+ onProceed: () => k(!0),
3225
+ proceedButtonProps: { disabled: !pe, ...v }
3226
+ }
3227
+ ) }),
3228
+ /* @__PURE__ */ e.jsx(
3229
+ pr,
3230
+ {
3231
+ isOpen: L,
3232
+ onClose: () => k(!1),
3233
+ onEditDetailsClick: () => k(!1),
3234
+ locale: t,
3235
+ ancestors: d ? [{ id: "sarva-pitru", label: "", value: g.sarvaPitruFieldValue }] : r.ancestors,
3236
+ kartaNames: r.kartaNames,
3237
+ gotra: he,
3238
+ whatsappNumber: me,
3239
+ amount: f,
3240
+ onProceedPayment: () => {
3241
+ k(!1), b();
3242
+ }
3243
+ }
3244
+ ),
3245
+ /* @__PURE__ */ e.jsx(hr, { isOpen: w, onClose: () => y(!1), locale: t })
3246
+ ] });
3247
+ }
3248
+ function es(t = 3, r = []) {
3249
+ return {
3250
+ whatsappNumber: "",
3251
+ email: "",
3252
+ kartaNames: Array.from({ length: Math.max(1, t) }, () => ""),
3253
+ gotra: "",
3254
+ isGotraUnknown: !1,
3255
+ ancestors: r
3256
+ };
3257
+ }
3258
+ const Ct = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", jr = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", yr = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", Nr = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", wr = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", kr = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
3259
+ function Cr({ variant: t }) {
2570
3260
  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]" })
3261
+ t === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
3262
+ /* @__PURE__ */ e.jsx("img", { src: Ct, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
3263
+ /* @__PURE__ */ e.jsx("img", { src: Ct, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
3264
+ /* @__PURE__ */ e.jsx("img", { src: jr, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
2575
3265
  ] }),
2576
- r === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
3266
+ t === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
2577
3267
  /* @__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" }) })
3268
+ /* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src: yr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
2579
3269
  ] }),
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" }) })
3270
+ t === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
3271
+ /* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: Nr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
3272
+ /* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src: wr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
3273
+ /* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src: kr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
2584
3274
  ] })
2585
3275
  ] });
2586
3276
  }
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,
3277
+ const _r = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", _t = "https://srm-cdn.a4b.io/yoda/1788256971870.svg";
3278
+ function ts({
3279
+ badgeLabel: t,
3280
+ headingPrefix: r,
2591
3281
  ritualCount: s,
2592
3282
  ritualCountLabel: n,
2593
3283
  headingSuffix: i,
2594
- trustItems: o
3284
+ trustItems: d
2595
3285
  }) {
2596
3286
  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
3287
  /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center gap-2", children: [
@@ -2599,7 +3289,7 @@ function va({
2599
3289
  /* @__PURE__ */ e.jsx(
2600
3290
  "img",
2601
3291
  {
2602
- src: ot,
3292
+ src: _t,
2603
3293
  alt: "",
2604
3294
  "aria-hidden": !0,
2605
3295
  className: "pointer-events-none absolute inset-0 size-full",
@@ -2612,7 +3302,7 @@ function va({
2612
3302
  /* @__PURE__ */ e.jsx(
2613
3303
  "img",
2614
3304
  {
2615
- src: ot,
3305
+ src: _t,
2616
3306
  alt: "",
2617
3307
  "aria-hidden": !0,
2618
3308
  className: "pointer-events-none absolute inset-0 size-full blur-sm",
@@ -2622,65 +3312,148 @@ function va({
2622
3312
  }
2623
3313
  }
2624
3314
  ),
2625
- /* @__PURE__ */ e.jsx("img", { src: Zr, alt: "Sri Mandir", className: "relative z-10 h-[53px] w-auto object-contain" })
3315
+ /* @__PURE__ */ e.jsx("img", { src: _r, alt: "Sri Mandir", className: "relative z-10 h-[53px] w-auto object-contain" })
2626
3316
  ] }),
2627
3317
  /* @__PURE__ */ e.jsxs("p", { className: "text-xs font-semibold text-[#d51f68]", children: [
2628
3318
  "✦ ",
2629
- r,
3319
+ t,
2630
3320
  " ✦"
2631
3321
  ] })
2632
3322
  ] }),
2633
3323
  /* @__PURE__ */ e.jsxs("p", { className: "px-4 text-center text-[18px] font-bold leading-6 text-[#22272b]", children: [
2634
- a,
3324
+ r,
2635
3325
  s,
2636
3326
  " ",
2637
3327
  n,
2638
3328
  " ",
2639
3329
  i
2640
3330
  ] }),
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)) })
3331
+ /* @__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: [
3332
+ /* @__PURE__ */ e.jsx(Cr, { variant: x.variant }),
3333
+ /* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: x.text })
3334
+ ] }, x.variant)) })
2645
3335
  ] });
2646
3336
  }
3337
+ function Lr(t) {
3338
+ 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);
3339
+ }
3340
+ const Lt = {
3341
+ en: {
3342
+ title: "Who is this puja for?",
3343
+ subtitle: "Your ancestors",
3344
+ value: "For all ancestors",
3345
+ helperText: "This will be recited by the Pandit during puja"
3346
+ },
3347
+ hi: {
3348
+ title: "पूजा-विधि किन पितृ के लिए बुक कर रहे है?",
3349
+ subtitle: "पितृजन का नाम",
3350
+ value: "सर्वपितृ के लिए",
3351
+ helperText: "यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"
3352
+ }
3353
+ }, Er = (t) => Lt[t] ?? Lt.en, Sr = E.forwardRef(
3354
+ ({
3355
+ locale: t = "en",
3356
+ title: r,
3357
+ subtitle: s,
3358
+ value: n,
3359
+ helperText: i,
3360
+ icon: d,
3361
+ className: x,
3362
+ headerClassName: f,
3363
+ valueBoxClassName: u,
3364
+ helperTextClassName: m,
3365
+ ...h
3366
+ }, o) => {
3367
+ const v = Er(t);
3368
+ return /* @__PURE__ */ e.jsxs(
3369
+ "div",
3370
+ {
3371
+ ref: o,
3372
+ className: c("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm", x),
3373
+ ...h,
3374
+ children: [
3375
+ /* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3", f), children: [
3376
+ /* @__PURE__ */ e.jsx(Le, { icon: d ?? /* @__PURE__ */ e.jsx(Lr, { size: 22, "aria-hidden": !0 }), size: "lg" }),
3377
+ /* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
3378
+ /* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-lg leading-6 font-bold text-[#1d2125]", children: r ?? v.title }),
3379
+ /* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ?? v.subtitle })
3380
+ ] })
3381
+ ] }),
3382
+ /* @__PURE__ */ e.jsx(
3383
+ "div",
3384
+ {
3385
+ className: c(
3386
+ "mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",
3387
+ u
3388
+ ),
3389
+ children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ?? v.value })
3390
+ }
3391
+ ),
3392
+ /* @__PURE__ */ e.jsx("p", { className: c("mt-3 text-sm leading-4.5 text-gray-500", m), children: i ?? v.helperText })
3393
+ ]
3394
+ }
3395
+ );
3396
+ }
3397
+ );
3398
+ Sr.displayName = "SarvaPitruCard";
2647
3399
  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
3400
+ Br as AudioQuestionCard,
3401
+ gt as BOOKING_SUMMARY_BANNER_DEFAULT_COPY,
3402
+ nr as BillDetails,
3403
+ rr as BookingSummaryBanner,
3404
+ q as Button,
3405
+ mt as CHECKOUT_BAR_DEFAULT_COPY,
3406
+ jt as CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY,
3407
+ Vr as CartReviewAddedBadge,
3408
+ $r as CartReviewChangeButton,
3409
+ Bt as CartReviewItem,
3410
+ Za as CartReviewMandapItem,
3411
+ Wr as CartView,
3412
+ Xr as CheckIcon,
3413
+ We as CheckoutBar,
3414
+ Ha as Chip,
3415
+ pr as ConfirmPujaDetailsModal,
3416
+ Gr as DatePickerSheet,
3417
+ qr as EmailSheet,
3418
+ Ma as FAQSection,
3419
+ Nt as GOTRA_INFO_MODAL_DEFAULT_COPY,
3420
+ hr as GotraInfoModal,
3421
+ Le as IconBadge,
3422
+ Kr as L2Card,
3423
+ At as LanguageSwitcher,
3424
+ Zr as OutcomeButton,
3425
+ ts as OutcomeSummary,
3426
+ bt as PACKAGE_SELECT_DEFAULT_COPY,
3427
+ wt as PUJA_DETAILS_FORM_DEFAULT_COPY,
3428
+ Hr as PackageSelect,
3429
+ Yr as PhoneNumberSheet,
3430
+ Jr as PlusIcon,
3431
+ Qr as PujaDetailsForm,
3432
+ Mr as QuantityStepper,
3433
+ Lt as SARVA_PITRU_CARD_DEFAULT_COPY,
3434
+ Sr as SarvaPitruCard,
3435
+ Ft as SelectorCard,
3436
+ Dr as SelectorCardEditableField,
3437
+ Ir as SelectorCardInfoRow,
3438
+ Ka as SelectorCardNote,
3439
+ qa as SelectorCardPriceBadge,
3440
+ Ja as ServiceOfferCard,
3441
+ Fr as StepProgressHeader,
3442
+ zr as TestimonialCard,
3443
+ ne as TextField,
3444
+ Ur as TithiPickerSheet,
3445
+ Ar as TopBar,
3446
+ Qa as TrustBadgesBar,
3447
+ $a as VideoPlayer,
3448
+ Sa as buttonVariants,
3449
+ ss as cn,
3450
+ es as createEmptyPujaDetailsFormValues,
3451
+ ar as getBookingSummaryBannerDefaultCopy,
3452
+ er as getCheckoutBarDefaultCopy,
3453
+ fr as getConfirmPujaDetailsModalDefaultCopy,
3454
+ $t as getGotraInfoModalDefaultCopy,
3455
+ gr as getKartaOrdinalLabel,
3456
+ tr as getPackageSelectDefaultCopy,
3457
+ mr as getPujaDetailsFormDefaultCopy,
3458
+ Er as getSarvaPitruCardDefaultCopy
2686
3459
  };