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