@srimandir/pitru-paksh-common 2.4.4 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/PujaDetailsForm/PujaDetailsForm.types.d.ts +3 -4
- package/dist/components/SelectorCard/SelectorCard.d.ts +4 -13
- package/dist/pitru-paksh-common.js +978 -991
- package/dist/pitru-paksh-common.umd.cjs +7 -7
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/pitru-paksh-common.d.ts +0 -82
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { cn 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 t =
|
|
1
|
+
import { cn as c, BottomSheet as Le, DEFAULT_COUNTRIES as ha, getMaxLengthForCountry as Ie, validatePhoneByCountryCode as St, getFlagEmoji as Me } from "@srimandir/common";
|
|
2
|
+
import { cn as os } from "@srimandir/common";
|
|
3
|
+
import * as ma from "react";
|
|
4
|
+
import _, { useState as $, useMemo as ba, useRef as Tt, useEffect as Rt } from "react";
|
|
5
|
+
import { cva as ga } from "class-variance-authority";
|
|
6
|
+
import va from "react-player";
|
|
7
|
+
var ye = { exports: {} }, de = {};
|
|
8
|
+
var it;
|
|
9
|
+
function ja() {
|
|
10
|
+
if (it) return de;
|
|
11
|
+
it = 1;
|
|
12
|
+
var t = _, 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, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
13
13
|
function u(f, x, b) {
|
|
14
14
|
var p, d = {}, v = null, g = null;
|
|
15
15
|
b !== void 0 && (v = "" + b), x.key !== void 0 && (v = "" + x.key), x.ref !== void 0 && (g = x.ref);
|
|
16
|
-
for (p in x) n.call(x, p) && !
|
|
16
|
+
for (p in x) n.call(x, p) && !o.hasOwnProperty(p) && (d[p] = x[p]);
|
|
17
17
|
if (f && f.defaultProps) for (p in x = f.defaultProps, x) d[p] === void 0 && (d[p] = x[p]);
|
|
18
18
|
return { $$typeof: r, type: f, key: v, ref: g, props: d, _owner: i.current };
|
|
19
19
|
}
|
|
20
|
-
return
|
|
20
|
+
return de.Fragment = s, de.jsx = u, de.jsxs = u, de;
|
|
21
21
|
}
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
function
|
|
25
|
-
return
|
|
26
|
-
var t =
|
|
27
|
-
function
|
|
22
|
+
var ue = {};
|
|
23
|
+
var ot;
|
|
24
|
+
function ya() {
|
|
25
|
+
return ot || (ot = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
26
|
+
var t = _, 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"), o = /* @__PURE__ */ Symbol.for("react.profiler"), u = /* @__PURE__ */ Symbol.for("react.provider"), f = /* @__PURE__ */ Symbol.for("react.context"), x = /* @__PURE__ */ Symbol.for("react.forward_ref"), b = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), d = /* @__PURE__ */ Symbol.for("react.memo"), v = /* @__PURE__ */ Symbol.for("react.lazy"), g = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator, L = "@@iterator";
|
|
27
|
+
function k(a) {
|
|
28
28
|
if (a === null || typeof a != "object")
|
|
29
29
|
return null;
|
|
30
|
-
var l = j && a[j] || a[
|
|
30
|
+
var l = j && a[j] || a[L];
|
|
31
31
|
return typeof l == "function" ? l : null;
|
|
32
32
|
}
|
|
33
33
|
var y = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -42,22 +42,22 @@ function Na() {
|
|
|
42
42
|
{
|
|
43
43
|
var w = y.ReactDebugCurrentFrame, T = w.getStackAddendum();
|
|
44
44
|
T !== "" && (l += "%s", m = m.concat([T]));
|
|
45
|
-
var z = m.map(function(
|
|
46
|
-
return String(
|
|
45
|
+
var z = m.map(function(P) {
|
|
46
|
+
return String(P);
|
|
47
47
|
});
|
|
48
48
|
z.unshift("Warning: " + l), Function.prototype.apply.call(console[a], console, z);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
var h = !1,
|
|
52
|
-
|
|
53
|
-
function
|
|
54
|
-
return !!(typeof a == "string" || typeof a == "function" || a === n || a ===
|
|
51
|
+
var h = !1, O = !1, H = !1, B = !1, Y = !1, ae;
|
|
52
|
+
ae = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
53
|
+
function I(a) {
|
|
54
|
+
return !!(typeof a == "string" || typeof a == "function" || a === n || a === o || Y || a === i || a === b || a === p || B || a === g || h || O || H || typeof a == "object" && a !== null && (a.$$typeof === v || a.$$typeof === d || a.$$typeof === u || a.$$typeof === f || a.$$typeof === x || // 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
|
-
a.$$typeof ===
|
|
58
|
+
a.$$typeof === ae || a.getModuleId !== void 0));
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function W(a, l, m) {
|
|
61
61
|
var w = a.displayName;
|
|
62
62
|
if (w)
|
|
63
63
|
return w;
|
|
@@ -67,7 +67,7 @@ function Na() {
|
|
|
67
67
|
function K(a) {
|
|
68
68
|
return a.displayName || "Context";
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function M(a) {
|
|
71
71
|
if (a == null)
|
|
72
72
|
return null;
|
|
73
73
|
if (typeof a.tag == "number" && N("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof a == "function")
|
|
@@ -79,7 +79,7 @@ function Na() {
|
|
|
79
79
|
return "Fragment";
|
|
80
80
|
case s:
|
|
81
81
|
return "Portal";
|
|
82
|
-
case
|
|
82
|
+
case o:
|
|
83
83
|
return "Profiler";
|
|
84
84
|
case i:
|
|
85
85
|
return "StrictMode";
|
|
@@ -97,14 +97,14 @@ function Na() {
|
|
|
97
97
|
var m = a;
|
|
98
98
|
return K(m._context) + ".Provider";
|
|
99
99
|
case x:
|
|
100
|
-
return
|
|
100
|
+
return W(a, a.render, "ForwardRef");
|
|
101
101
|
case d:
|
|
102
102
|
var w = a.displayName || null;
|
|
103
|
-
return w !== null ? w :
|
|
103
|
+
return w !== null ? w : M(a.type) || "Memo";
|
|
104
104
|
case v: {
|
|
105
|
-
var T = a, z = T._payload,
|
|
105
|
+
var T = a, z = T._payload, P = T._init;
|
|
106
106
|
try {
|
|
107
|
-
return
|
|
107
|
+
return M(P(z));
|
|
108
108
|
} catch {
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
@@ -112,18 +112,18 @@ function Na() {
|
|
|
112
112
|
}
|
|
113
113
|
return null;
|
|
114
114
|
}
|
|
115
|
-
var U = Object.assign,
|
|
116
|
-
function
|
|
115
|
+
var U = Object.assign, te = 0, Z, J, X, re, fe, pe, he;
|
|
116
|
+
function me() {
|
|
117
117
|
}
|
|
118
|
-
|
|
118
|
+
me.__reactDisabledLog = !0;
|
|
119
119
|
function Ee() {
|
|
120
120
|
{
|
|
121
|
-
if (
|
|
122
|
-
Z = console.log, J = console.info, X = console.warn,
|
|
121
|
+
if (te === 0) {
|
|
122
|
+
Z = console.log, J = console.info, X = console.warn, re = console.error, fe = console.group, pe = console.groupCollapsed, he = console.groupEnd;
|
|
123
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, {
|
|
@@ -136,12 +136,12 @@ function Na() {
|
|
|
136
136
|
groupEnd: a
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
te++;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function C() {
|
|
143
143
|
{
|
|
144
|
-
if (
|
|
144
|
+
if (te--, te === 0) {
|
|
145
145
|
var a = {
|
|
146
146
|
configurable: !0,
|
|
147
147
|
enumerable: !0,
|
|
@@ -158,24 +158,24 @@ function Na() {
|
|
|
158
158
|
value: X
|
|
159
159
|
}),
|
|
160
160
|
error: U({}, a, {
|
|
161
|
-
value:
|
|
161
|
+
value: re
|
|
162
162
|
}),
|
|
163
163
|
group: U({}, a, {
|
|
164
|
-
value:
|
|
164
|
+
value: fe
|
|
165
165
|
}),
|
|
166
166
|
groupCollapsed: U({}, a, {
|
|
167
|
-
value:
|
|
167
|
+
value: pe
|
|
168
168
|
}),
|
|
169
169
|
groupEnd: U({}, a, {
|
|
170
|
-
value:
|
|
170
|
+
value: he
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
|
-
|
|
174
|
+
te < 0 && N("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
var
|
|
178
|
-
function
|
|
177
|
+
var D = y.ReactCurrentDispatcher, Q;
|
|
178
|
+
function be(a, l, m) {
|
|
179
179
|
{
|
|
180
180
|
if (Q === void 0)
|
|
181
181
|
try {
|
|
@@ -188,48 +188,48 @@ function Na() {
|
|
|
188
188
|
` + Q + a;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
191
|
+
var Pe = !1, ge;
|
|
192
192
|
{
|
|
193
|
-
var
|
|
194
|
-
|
|
193
|
+
var Wt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
194
|
+
ge = new Wt();
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
if (!a ||
|
|
196
|
+
function Ge(a, l) {
|
|
197
|
+
if (!a || Pe)
|
|
198
198
|
return "";
|
|
199
199
|
{
|
|
200
|
-
var m =
|
|
200
|
+
var m = ge.get(a);
|
|
201
201
|
if (m !== void 0)
|
|
202
202
|
return m;
|
|
203
203
|
}
|
|
204
204
|
var w;
|
|
205
|
-
|
|
205
|
+
Pe = !0;
|
|
206
206
|
var T = Error.prepareStackTrace;
|
|
207
207
|
Error.prepareStackTrace = void 0;
|
|
208
208
|
var z;
|
|
209
|
-
z =
|
|
209
|
+
z = D.current, D.current = null, Ee();
|
|
210
210
|
try {
|
|
211
211
|
if (l) {
|
|
212
|
-
var
|
|
212
|
+
var P = function() {
|
|
213
213
|
throw Error();
|
|
214
214
|
};
|
|
215
|
-
if (Object.defineProperty(
|
|
215
|
+
if (Object.defineProperty(P.prototype, "props", {
|
|
216
216
|
set: function() {
|
|
217
217
|
throw Error();
|
|
218
218
|
}
|
|
219
219
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
220
220
|
try {
|
|
221
|
-
Reflect.construct(
|
|
221
|
+
Reflect.construct(P, []);
|
|
222
222
|
} catch (G) {
|
|
223
223
|
w = G;
|
|
224
224
|
}
|
|
225
|
-
Reflect.construct(a, [],
|
|
225
|
+
Reflect.construct(a, [], P);
|
|
226
226
|
} else {
|
|
227
227
|
try {
|
|
228
|
-
|
|
228
|
+
P.call();
|
|
229
229
|
} catch (G) {
|
|
230
230
|
w = G;
|
|
231
231
|
}
|
|
232
|
-
a.call(
|
|
232
|
+
a.call(P.prototype);
|
|
233
233
|
}
|
|
234
234
|
} else {
|
|
235
235
|
try {
|
|
@@ -241,145 +241,145 @@ function Na() {
|
|
|
241
241
|
}
|
|
242
242
|
} catch (G) {
|
|
243
243
|
if (G && w && typeof G.stack == "string") {
|
|
244
|
-
for (var
|
|
244
|
+
for (var E = G.stack.split(`
|
|
245
245
|
`), V = w.stack.split(`
|
|
246
|
-
`), A =
|
|
246
|
+
`), A = E.length - 1, F = V.length - 1; A >= 1 && F >= 0 && E[A] !== V[F]; )
|
|
247
247
|
F--;
|
|
248
248
|
for (; A >= 1 && F >= 0; A--, F--)
|
|
249
|
-
if (
|
|
249
|
+
if (E[A] !== V[F]) {
|
|
250
250
|
if (A !== 1 || F !== 1)
|
|
251
251
|
do
|
|
252
|
-
if (A--, F--, F < 0 ||
|
|
252
|
+
if (A--, F--, F < 0 || E[A] !== V[F]) {
|
|
253
253
|
var ee = `
|
|
254
|
-
` +
|
|
255
|
-
return a.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", a.displayName)), typeof a == "function" &&
|
|
254
|
+
` + E[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
257
|
while (A >= 1 && F >= 0);
|
|
258
258
|
break;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
} finally {
|
|
262
|
-
|
|
262
|
+
Pe = !1, D.current = z, C(), Error.prepareStackTrace = T;
|
|
263
263
|
}
|
|
264
|
-
var
|
|
265
|
-
return typeof a == "function" &&
|
|
264
|
+
var ie = a ? a.displayName || a.name : "", se = ie ? be(ie) : "";
|
|
265
|
+
return typeof a == "function" && ge.set(a, se), se;
|
|
266
266
|
}
|
|
267
|
-
function
|
|
268
|
-
return
|
|
267
|
+
function Ut(a, l, m) {
|
|
268
|
+
return Ge(a, !1);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function Gt(a) {
|
|
271
271
|
var l = a.prototype;
|
|
272
272
|
return !!(l && l.isReactComponent);
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function ve(a, l, m) {
|
|
275
275
|
if (a == null)
|
|
276
276
|
return "";
|
|
277
277
|
if (typeof a == "function")
|
|
278
|
-
return
|
|
278
|
+
return Ge(a, Gt(a));
|
|
279
279
|
if (typeof a == "string")
|
|
280
|
-
return
|
|
280
|
+
return be(a);
|
|
281
281
|
switch (a) {
|
|
282
282
|
case b:
|
|
283
|
-
return
|
|
283
|
+
return be("Suspense");
|
|
284
284
|
case p:
|
|
285
|
-
return
|
|
285
|
+
return be("SuspenseList");
|
|
286
286
|
}
|
|
287
287
|
if (typeof a == "object")
|
|
288
288
|
switch (a.$$typeof) {
|
|
289
289
|
case x:
|
|
290
|
-
return
|
|
290
|
+
return Ut(a.render);
|
|
291
291
|
case d:
|
|
292
|
-
return
|
|
292
|
+
return ve(a.type, l, m);
|
|
293
293
|
case v: {
|
|
294
294
|
var w = a, T = w._payload, z = w._init;
|
|
295
295
|
try {
|
|
296
|
-
return
|
|
296
|
+
return ve(z(T), l, m);
|
|
297
297
|
} catch {
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
return "";
|
|
302
302
|
}
|
|
303
|
-
var
|
|
304
|
-
function
|
|
303
|
+
var ce = Object.prototype.hasOwnProperty, qe = {}, Ye = y.ReactDebugCurrentFrame;
|
|
304
|
+
function je(a) {
|
|
305
305
|
if (a) {
|
|
306
|
-
var l = a._owner, m =
|
|
307
|
-
|
|
306
|
+
var l = a._owner, m = ve(a.type, a._source, l ? l.type : null);
|
|
307
|
+
Ye.setExtraStackFrame(m);
|
|
308
308
|
} else
|
|
309
|
-
|
|
309
|
+
Ye.setExtraStackFrame(null);
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function qt(a, l, m, w, T) {
|
|
312
312
|
{
|
|
313
|
-
var z = Function.call.bind(
|
|
314
|
-
for (var
|
|
315
|
-
if (z(a,
|
|
316
|
-
var
|
|
313
|
+
var z = Function.call.bind(ce);
|
|
314
|
+
for (var P in a)
|
|
315
|
+
if (z(a, P)) {
|
|
316
|
+
var E = void 0;
|
|
317
317
|
try {
|
|
318
|
-
if (typeof a[
|
|
319
|
-
var V = Error((w || "React class") + ": " + m + " type `" +
|
|
318
|
+
if (typeof a[P] != "function") {
|
|
319
|
+
var V = Error((w || "React class") + ": " + m + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[P] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
320
320
|
throw V.name = "Invariant Violation", V;
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
E = a[P](l, P, w, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
323
323
|
} catch (A) {
|
|
324
|
-
|
|
324
|
+
E = A;
|
|
325
325
|
}
|
|
326
|
-
|
|
326
|
+
E && !(E instanceof Error) && (je(T), N("%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).", w || "React class", m, P, typeof E), je(null)), E instanceof Error && !(E.message in qe) && (qe[E.message] = !0, je(T), N("Failed %s type: %s", m, E.message), je(null));
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
var
|
|
331
|
-
function
|
|
332
|
-
return
|
|
330
|
+
var Yt = Array.isArray;
|
|
331
|
+
function Se(a) {
|
|
332
|
+
return Yt(a);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function Kt(a) {
|
|
335
335
|
{
|
|
336
336
|
var l = typeof Symbol == "function" && Symbol.toStringTag, m = l && a[Symbol.toStringTag] || a.constructor.name || "Object";
|
|
337
337
|
return m;
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function Zt(a) {
|
|
341
341
|
try {
|
|
342
|
-
return
|
|
342
|
+
return Ke(a), !1;
|
|
343
343
|
} catch {
|
|
344
344
|
return !0;
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function Ke(a) {
|
|
348
348
|
return "" + a;
|
|
349
349
|
}
|
|
350
|
-
function
|
|
351
|
-
if (
|
|
352
|
-
return N("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
350
|
+
function Ze(a) {
|
|
351
|
+
if (Zt(a))
|
|
352
|
+
return N("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Kt(a)), Ke(a);
|
|
353
353
|
}
|
|
354
|
-
var
|
|
354
|
+
var Je = y.ReactCurrentOwner, Jt = {
|
|
355
355
|
key: !0,
|
|
356
356
|
ref: !0,
|
|
357
357
|
__self: !0,
|
|
358
358
|
__source: !0
|
|
359
|
-
},
|
|
360
|
-
function
|
|
361
|
-
if (
|
|
359
|
+
}, Xe, Qe;
|
|
360
|
+
function Xt(a) {
|
|
361
|
+
if (ce.call(a, "ref")) {
|
|
362
362
|
var l = Object.getOwnPropertyDescriptor(a, "ref").get;
|
|
363
363
|
if (l && l.isReactWarning)
|
|
364
364
|
return !1;
|
|
365
365
|
}
|
|
366
366
|
return a.ref !== void 0;
|
|
367
367
|
}
|
|
368
|
-
function
|
|
369
|
-
if (
|
|
368
|
+
function Qt(a) {
|
|
369
|
+
if (ce.call(a, "key")) {
|
|
370
370
|
var l = Object.getOwnPropertyDescriptor(a, "key").get;
|
|
371
371
|
if (l && l.isReactWarning)
|
|
372
372
|
return !1;
|
|
373
373
|
}
|
|
374
374
|
return a.key !== void 0;
|
|
375
375
|
}
|
|
376
|
-
function
|
|
377
|
-
typeof a.ref == "string" &&
|
|
376
|
+
function ea(a, l) {
|
|
377
|
+
typeof a.ref == "string" && Je.current;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function ta(a, l) {
|
|
380
380
|
{
|
|
381
381
|
var m = function() {
|
|
382
|
-
|
|
382
|
+
Xe || (Xe = !0, N("%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
384
|
m.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
385
385
|
get: m,
|
|
@@ -387,10 +387,10 @@ function Na() {
|
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function aa(a, l) {
|
|
391
391
|
{
|
|
392
392
|
var m = function() {
|
|
393
|
-
|
|
393
|
+
Qe || (Qe = !0, N("%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
395
|
m.isReactWarning = !0, Object.defineProperty(a, "ref", {
|
|
396
396
|
get: m,
|
|
@@ -398,70 +398,70 @@ function Na() {
|
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
var
|
|
402
|
-
var
|
|
401
|
+
var ra = function(a, l, m, w, T, z, P) {
|
|
402
|
+
var E = {
|
|
403
403
|
// This tag allows us to uniquely identify this as a React Element
|
|
404
404
|
$$typeof: r,
|
|
405
405
|
// Built-in properties that belong on the element
|
|
406
406
|
type: a,
|
|
407
407
|
key: l,
|
|
408
408
|
ref: m,
|
|
409
|
-
props:
|
|
409
|
+
props: P,
|
|
410
410
|
// Record the component responsible for creating this element.
|
|
411
411
|
_owner: z
|
|
412
412
|
};
|
|
413
|
-
return
|
|
413
|
+
return E._store = {}, Object.defineProperty(E._store, "validated", {
|
|
414
414
|
configurable: !1,
|
|
415
415
|
enumerable: !1,
|
|
416
416
|
writable: !0,
|
|
417
417
|
value: !1
|
|
418
|
-
}), Object.defineProperty(
|
|
418
|
+
}), Object.defineProperty(E, "_self", {
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
421
421
|
writable: !1,
|
|
422
422
|
value: w
|
|
423
|
-
}), Object.defineProperty(
|
|
423
|
+
}), Object.defineProperty(E, "_source", {
|
|
424
424
|
configurable: !1,
|
|
425
425
|
enumerable: !1,
|
|
426
426
|
writable: !1,
|
|
427
427
|
value: T
|
|
428
|
-
}), Object.freeze && (Object.freeze(
|
|
428
|
+
}), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
|
|
429
429
|
};
|
|
430
|
-
function
|
|
430
|
+
function sa(a, l, m, w, T) {
|
|
431
431
|
{
|
|
432
|
-
var z,
|
|
433
|
-
m !== void 0 && (
|
|
432
|
+
var z, P = {}, E = null, V = null;
|
|
433
|
+
m !== void 0 && (Ze(m), E = "" + m), Qt(l) && (Ze(l.key), E = "" + l.key), Xt(l) && (V = l.ref, ea(l, T));
|
|
434
434
|
for (z in l)
|
|
435
|
-
|
|
435
|
+
ce.call(l, z) && !Jt.hasOwnProperty(z) && (P[z] = l[z]);
|
|
436
436
|
if (a && a.defaultProps) {
|
|
437
437
|
var A = a.defaultProps;
|
|
438
438
|
for (z in A)
|
|
439
|
-
|
|
439
|
+
P[z] === void 0 && (P[z] = A[z]);
|
|
440
440
|
}
|
|
441
|
-
if (
|
|
441
|
+
if (E || V) {
|
|
442
442
|
var F = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
443
|
-
|
|
443
|
+
E && ta(P, F), V && aa(P, F);
|
|
444
444
|
}
|
|
445
|
-
return
|
|
445
|
+
return ra(a, E, V, T, w, Je.current, P);
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
var
|
|
449
|
-
function
|
|
448
|
+
var Te = y.ReactCurrentOwner, et = y.ReactDebugCurrentFrame;
|
|
449
|
+
function le(a) {
|
|
450
450
|
if (a) {
|
|
451
|
-
var l = a._owner, m =
|
|
452
|
-
|
|
451
|
+
var l = a._owner, m = ve(a.type, a._source, l ? l.type : null);
|
|
452
|
+
et.setExtraStackFrame(m);
|
|
453
453
|
} else
|
|
454
|
-
|
|
454
|
+
et.setExtraStackFrame(null);
|
|
455
455
|
}
|
|
456
|
-
var
|
|
457
|
-
|
|
458
|
-
function
|
|
456
|
+
var Re;
|
|
457
|
+
Re = !1;
|
|
458
|
+
function Oe(a) {
|
|
459
459
|
return typeof a == "object" && a !== null && a.$$typeof === r;
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function tt() {
|
|
462
462
|
{
|
|
463
|
-
if (
|
|
464
|
-
var a =
|
|
463
|
+
if (Te.current) {
|
|
464
|
+
var a = M(Te.current.type);
|
|
465
465
|
if (a)
|
|
466
466
|
return `
|
|
467
467
|
|
|
@@ -470,13 +470,13 @@ Check the render method of \`` + a + "`.";
|
|
|
470
470
|
return "";
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function na(a) {
|
|
474
474
|
return "";
|
|
475
475
|
}
|
|
476
|
-
var
|
|
477
|
-
function
|
|
476
|
+
var at = {};
|
|
477
|
+
function la(a) {
|
|
478
478
|
{
|
|
479
|
-
var l =
|
|
479
|
+
var l = tt();
|
|
480
480
|
if (!l) {
|
|
481
481
|
var m = typeof a == "string" ? a : a.displayName || a.name;
|
|
482
482
|
m && (l = `
|
|
@@ -486,39 +486,39 @@ Check the top-level render call using <` + m + ">.");
|
|
|
486
486
|
return l;
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function rt(a, l) {
|
|
490
490
|
{
|
|
491
491
|
if (!a._store || a._store.validated || a.key != null)
|
|
492
492
|
return;
|
|
493
493
|
a._store.validated = !0;
|
|
494
|
-
var m =
|
|
495
|
-
if (
|
|
494
|
+
var m = la(l);
|
|
495
|
+
if (at[m])
|
|
496
496
|
return;
|
|
497
|
-
|
|
497
|
+
at[m] = !0;
|
|
498
498
|
var w = "";
|
|
499
|
-
a && a._owner && a._owner !==
|
|
499
|
+
a && a._owner && a._owner !== Te.current && (w = " It was passed a child from " + M(a._owner.type) + "."), le(a), N('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, w), le(null);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function st(a, l) {
|
|
503
503
|
{
|
|
504
504
|
if (typeof a != "object")
|
|
505
505
|
return;
|
|
506
|
-
if (
|
|
506
|
+
if (Se(a))
|
|
507
507
|
for (var m = 0; m < a.length; m++) {
|
|
508
508
|
var w = a[m];
|
|
509
|
-
|
|
509
|
+
Oe(w) && rt(w, l);
|
|
510
510
|
}
|
|
511
|
-
else if (
|
|
511
|
+
else if (Oe(a))
|
|
512
512
|
a._store && (a._store.validated = !0);
|
|
513
513
|
else if (a) {
|
|
514
|
-
var T =
|
|
514
|
+
var T = k(a);
|
|
515
515
|
if (typeof T == "function" && T !== a.entries)
|
|
516
|
-
for (var z = T.call(a),
|
|
517
|
-
|
|
516
|
+
for (var z = T.call(a), P; !(P = z.next()).done; )
|
|
517
|
+
Oe(P.value) && rt(P.value, l);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function ia(a) {
|
|
522
522
|
{
|
|
523
523
|
var l = a.type;
|
|
524
524
|
if (l == null || typeof l == "string")
|
|
@@ -533,104 +533,104 @@ Check the top-level render call using <` + m + ">.");
|
|
|
533
533
|
else
|
|
534
534
|
return;
|
|
535
535
|
if (m) {
|
|
536
|
-
var w =
|
|
537
|
-
|
|
538
|
-
} else if (l.PropTypes !== void 0 && !
|
|
539
|
-
|
|
540
|
-
var T =
|
|
536
|
+
var w = M(l);
|
|
537
|
+
qt(m, a.props, "prop", w, a);
|
|
538
|
+
} else if (l.PropTypes !== void 0 && !Re) {
|
|
539
|
+
Re = !0;
|
|
540
|
+
var T = M(l);
|
|
541
541
|
N("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", T || "Unknown");
|
|
542
542
|
}
|
|
543
543
|
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && N("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
function oa(a) {
|
|
547
547
|
{
|
|
548
548
|
for (var l = Object.keys(a.props), m = 0; m < l.length; m++) {
|
|
549
549
|
var w = l[m];
|
|
550
550
|
if (w !== "children" && w !== "key") {
|
|
551
|
-
|
|
551
|
+
le(a), N("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), le(null);
|
|
552
552
|
break;
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
a.ref !== null && (
|
|
555
|
+
a.ref !== null && (le(a), N("Invalid attribute `ref` supplied to `React.Fragment`."), le(null));
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
var
|
|
559
|
-
function
|
|
558
|
+
var nt = {};
|
|
559
|
+
function lt(a, l, m, w, T, z) {
|
|
560
560
|
{
|
|
561
|
-
var
|
|
562
|
-
if (!
|
|
563
|
-
var
|
|
564
|
-
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (
|
|
565
|
-
var V =
|
|
566
|
-
V ?
|
|
561
|
+
var P = I(a);
|
|
562
|
+
if (!P) {
|
|
563
|
+
var E = "";
|
|
564
|
+
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (E += " 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 V = na();
|
|
566
|
+
V ? E += V : E += tt();
|
|
567
567
|
var A;
|
|
568
|
-
a === null ? A = "null" :
|
|
568
|
+
a === null ? A = "null" : Se(a) ? A = "array" : a !== void 0 && a.$$typeof === r ? (A = "<" + (M(a.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : A = typeof a, N("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", A, E);
|
|
569
569
|
}
|
|
570
|
-
var F =
|
|
570
|
+
var F = sa(a, l, m, T, z);
|
|
571
571
|
if (F == null)
|
|
572
572
|
return F;
|
|
573
|
-
if (
|
|
573
|
+
if (P) {
|
|
574
574
|
var ee = l.children;
|
|
575
575
|
if (ee !== void 0)
|
|
576
576
|
if (w)
|
|
577
|
-
if (
|
|
578
|
-
for (var
|
|
579
|
-
|
|
577
|
+
if (Se(ee)) {
|
|
578
|
+
for (var ie = 0; ie < ee.length; ie++)
|
|
579
|
+
st(ee[ie], a);
|
|
580
580
|
Object.freeze && Object.freeze(ee);
|
|
581
581
|
} else
|
|
582
582
|
N("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
|
+
st(ee, a);
|
|
585
585
|
}
|
|
586
|
-
if (
|
|
587
|
-
var
|
|
588
|
-
return
|
|
589
|
-
}),
|
|
590
|
-
if (!
|
|
591
|
-
var
|
|
586
|
+
if (ce.call(l, "key")) {
|
|
587
|
+
var se = M(a), G = Object.keys(l).filter(function(pa) {
|
|
588
|
+
return pa !== "key";
|
|
589
|
+
}), ze = G.length > 0 ? "{key: someKey, " + G.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
590
|
+
if (!nt[se + ze]) {
|
|
591
|
+
var fa = G.length > 0 ? "{" + G.join(": ..., ") + ": ...}" : "{}";
|
|
592
592
|
N(`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, fa, se), nt[se + ze] = !0;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
return a === n ?
|
|
600
|
+
return a === n ? oa(F) : ia(F), F;
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
|
-
function
|
|
604
|
-
return
|
|
603
|
+
function ca(a, l, m) {
|
|
604
|
+
return lt(a, l, m, !0);
|
|
605
605
|
}
|
|
606
|
-
function
|
|
607
|
-
return
|
|
606
|
+
function da(a, l, m) {
|
|
607
|
+
return lt(a, l, m, !1);
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
|
|
611
|
-
})()),
|
|
609
|
+
var ua = da, xa = ca;
|
|
610
|
+
ue.Fragment = n, ue.jsx = ua, ue.jsxs = xa;
|
|
611
|
+
})()), ue;
|
|
612
612
|
}
|
|
613
|
-
var
|
|
614
|
-
function
|
|
615
|
-
return
|
|
613
|
+
var ct;
|
|
614
|
+
function Na() {
|
|
615
|
+
return ct || (ct = 1, process.env.NODE_ENV === "production" ? ye.exports = ja() : ye.exports = ya()), ye.exports;
|
|
616
616
|
}
|
|
617
|
-
var e =
|
|
617
|
+
var e = Na(), Ot = {
|
|
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
|
|
623
|
+
}, dt = _.createContext && /* @__PURE__ */ _.createContext(Ot), wa = ["attr", "size", "title"];
|
|
624
|
+
function ka(t, r) {
|
|
625
625
|
if (t == null) return {};
|
|
626
|
-
var s, n, i =
|
|
626
|
+
var s, n, i = Ca(t, r);
|
|
627
627
|
if (Object.getOwnPropertySymbols) {
|
|
628
|
-
var
|
|
629
|
-
for (n = 0; n <
|
|
628
|
+
var o = Object.getOwnPropertySymbols(t);
|
|
629
|
+
for (n = 0; n < o.length; n++) s = o[n], r.indexOf(s) === -1 && {}.propertyIsEnumerable.call(t, s) && (i[s] = t[s]);
|
|
630
630
|
}
|
|
631
631
|
return i;
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function Ca(t, r) {
|
|
634
634
|
if (t == null) return {};
|
|
635
635
|
var s = {};
|
|
636
636
|
for (var n in t) if ({}.hasOwnProperty.call(t, n)) {
|
|
@@ -639,16 +639,16 @@ function _a(t, r) {
|
|
|
639
639
|
}
|
|
640
640
|
return s;
|
|
641
641
|
}
|
|
642
|
-
function
|
|
643
|
-
return
|
|
642
|
+
function we() {
|
|
643
|
+
return we = Object.assign ? Object.assign.bind() : function(t) {
|
|
644
644
|
for (var r = 1; r < arguments.length; r++) {
|
|
645
645
|
var s = arguments[r];
|
|
646
646
|
for (var n in s) ({}).hasOwnProperty.call(s, n) && (t[n] = s[n]);
|
|
647
647
|
}
|
|
648
648
|
return t;
|
|
649
|
-
},
|
|
649
|
+
}, we.apply(null, arguments);
|
|
650
650
|
}
|
|
651
|
-
function
|
|
651
|
+
function ut(t, r) {
|
|
652
652
|
var s = Object.keys(t);
|
|
653
653
|
if (Object.getOwnPropertySymbols) {
|
|
654
654
|
var n = Object.getOwnPropertySymbols(t);
|
|
@@ -658,21 +658,21 @@ function ft(t, r) {
|
|
|
658
658
|
}
|
|
659
659
|
return s;
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function ke(t) {
|
|
662
662
|
for (var r = 1; r < arguments.length; r++) {
|
|
663
663
|
var s = arguments[r] != null ? arguments[r] : {};
|
|
664
|
-
r % 2 ?
|
|
664
|
+
r % 2 ? ut(Object(s), !0).forEach(function(n) {
|
|
665
665
|
La(t, n, s[n]);
|
|
666
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(s)) :
|
|
666
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(s)) : ut(Object(s)).forEach(function(n) {
|
|
667
667
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(s, n));
|
|
668
668
|
});
|
|
669
669
|
}
|
|
670
670
|
return t;
|
|
671
671
|
}
|
|
672
672
|
function La(t, r, s) {
|
|
673
|
-
return (r =
|
|
673
|
+
return (r = _a(r)) in t ? Object.defineProperty(t, r, { value: s, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = s, t;
|
|
674
674
|
}
|
|
675
|
-
function
|
|
675
|
+
function _a(t) {
|
|
676
676
|
var r = Ea(t, "string");
|
|
677
677
|
return typeof r == "symbol" ? r : r + "";
|
|
678
678
|
}
|
|
@@ -686,49 +686,47 @@ function Ea(t, r) {
|
|
|
686
686
|
}
|
|
687
687
|
return (r === "string" ? String : Number)(t);
|
|
688
688
|
}
|
|
689
|
-
function
|
|
690
|
-
return t && t.map((r, s) => /* @__PURE__ */
|
|
689
|
+
function zt(t) {
|
|
690
|
+
return t && t.map((r, s) => /* @__PURE__ */ _.createElement(r.tag, ke({
|
|
691
691
|
key: s
|
|
692
|
-
}, r.attr),
|
|
692
|
+
}, r.attr), zt(r.child)));
|
|
693
693
|
}
|
|
694
|
-
function
|
|
695
|
-
return (r) => /* @__PURE__ */
|
|
696
|
-
attr:
|
|
697
|
-
}, r),
|
|
694
|
+
function R(t) {
|
|
695
|
+
return (r) => /* @__PURE__ */ _.createElement(Pa, we({
|
|
696
|
+
attr: ke({}, t.attr)
|
|
697
|
+
}, r), zt(t.child));
|
|
698
698
|
}
|
|
699
|
-
function
|
|
699
|
+
function Pa(t) {
|
|
700
700
|
var r = (s) => {
|
|
701
|
-
var n = t.attr, i = t.size,
|
|
702
|
-
return s.className && (x = s.className), t.className && (x = (x ? x + " " : "") + t.className), /* @__PURE__ */
|
|
701
|
+
var n = t.attr, i = t.size, o = t.title, u = ka(t, wa), f = i || s.size || "1em", x;
|
|
702
|
+
return s.className && (x = s.className), t.className && (x = (x ? x + " " : "") + t.className), /* @__PURE__ */ _.createElement("svg", we({
|
|
703
703
|
stroke: "currentColor",
|
|
704
704
|
fill: "currentColor",
|
|
705
705
|
strokeWidth: "0"
|
|
706
706
|
}, s.attr, n, u, {
|
|
707
707
|
className: x,
|
|
708
|
-
style:
|
|
708
|
+
style: ke(ke({
|
|
709
709
|
color: t.color || s.color
|
|
710
710
|
}, s.style), t.style),
|
|
711
711
|
height: f,
|
|
712
712
|
width: f,
|
|
713
713
|
xmlns: "http://www.w3.org/2000/svg"
|
|
714
|
-
}),
|
|
714
|
+
}), o && /* @__PURE__ */ _.createElement("title", null, o), t.children);
|
|
715
715
|
};
|
|
716
|
-
return
|
|
716
|
+
return dt !== void 0 ? /* @__PURE__ */ _.createElement(dt.Consumer, null, (s) => r(s)) : r(Ot);
|
|
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
|
|
722
|
-
"
|
|
721
|
+
const Ta = ga(
|
|
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: {
|
|
725
725
|
variant: {
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
outline: "border border-gray-300 bg-transparent text-gray-900 hover:bg-gray-50 disabled:opacity-50",
|
|
731
|
-
ghost: "border-0 bg-transparent text-gray-900 hover:bg-gray-100 disabled:opacity-50"
|
|
726
|
+
primary: "border-0 bg-gradient-to-b from-[#f97e4e] to-[#f75e22] text-white hover:opacity-90",
|
|
727
|
+
secondary: "border border-[#f75e22] bg-white text-[#f75e22] hover:bg-orange-50",
|
|
728
|
+
outline: "border border-gray-300 bg-transparent text-gray-900 hover:bg-gray-50",
|
|
729
|
+
ghost: "border-0 bg-transparent text-gray-900 hover:bg-gray-100"
|
|
732
730
|
},
|
|
733
731
|
size: {
|
|
734
732
|
xs: "h-6 px-2 text-xs",
|
|
@@ -751,40 +749,37 @@ const Ra = va(
|
|
|
751
749
|
],
|
|
752
750
|
defaultVariants: { variant: "primary", size: "lg", iconOnly: !1 }
|
|
753
751
|
}
|
|
754
|
-
), q =
|
|
752
|
+
), q = ma.forwardRef(
|
|
755
753
|
({
|
|
756
754
|
className: t,
|
|
757
755
|
variant: r,
|
|
758
756
|
size: s,
|
|
759
757
|
iconOnly: n,
|
|
760
758
|
loading: i = !1,
|
|
761
|
-
disabled:
|
|
759
|
+
disabled: o,
|
|
762
760
|
leftIcon: u,
|
|
763
761
|
rightIcon: f,
|
|
764
762
|
children: x,
|
|
765
763
|
type: b = "button",
|
|
766
764
|
...p
|
|
767
|
-
}, d) =>
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
}
|
|
783
|
-
);
|
|
784
|
-
}
|
|
765
|
+
}, d) => /* @__PURE__ */ e.jsx(
|
|
766
|
+
"button",
|
|
767
|
+
{
|
|
768
|
+
ref: d,
|
|
769
|
+
type: b,
|
|
770
|
+
disabled: o || i,
|
|
771
|
+
className: c(Ta({ variant: r, size: s, iconOnly: n }), t),
|
|
772
|
+
...p,
|
|
773
|
+
children: i ? /* @__PURE__ */ e.jsx(Sa, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
774
|
+
u,
|
|
775
|
+
x,
|
|
776
|
+
f
|
|
777
|
+
] })
|
|
778
|
+
}
|
|
779
|
+
)
|
|
785
780
|
);
|
|
786
781
|
q.displayName = "Button";
|
|
787
|
-
function
|
|
782
|
+
function $e(t) {
|
|
788
783
|
return t.isOpen ? /* @__PURE__ */ e.jsx(
|
|
789
784
|
"div",
|
|
790
785
|
{
|
|
@@ -794,38 +789,38 @@ function Ve(t) {
|
|
|
794
789
|
}
|
|
795
790
|
) : null;
|
|
796
791
|
}
|
|
792
|
+
function Ra(t) {
|
|
793
|
+
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);
|
|
794
|
+
}
|
|
797
795
|
function Oa(t) {
|
|
798
|
-
return
|
|
796
|
+
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);
|
|
799
797
|
}
|
|
800
798
|
function za(t) {
|
|
801
|
-
return
|
|
802
|
-
}
|
|
803
|
-
function Aa(t) {
|
|
804
|
-
return O({ 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);
|
|
799
|
+
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);
|
|
805
800
|
}
|
|
806
|
-
function
|
|
807
|
-
return
|
|
801
|
+
function At(t) {
|
|
802
|
+
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);
|
|
808
803
|
}
|
|
809
|
-
function
|
|
810
|
-
return
|
|
804
|
+
function xt(t) {
|
|
805
|
+
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);
|
|
811
806
|
}
|
|
812
|
-
function
|
|
813
|
-
return
|
|
807
|
+
function Aa(t) {
|
|
808
|
+
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);
|
|
814
809
|
}
|
|
815
|
-
const
|
|
810
|
+
const Br = ({
|
|
816
811
|
quote: t,
|
|
817
812
|
authorName: r,
|
|
818
813
|
authorAvatarUrl: s,
|
|
819
814
|
meta: n,
|
|
820
815
|
rating: i = 5,
|
|
821
|
-
className:
|
|
816
|
+
className: o = "",
|
|
822
817
|
...u
|
|
823
818
|
}) => /* @__PURE__ */ e.jsxs(
|
|
824
819
|
"div",
|
|
825
820
|
{
|
|
826
|
-
className:
|
|
821
|
+
className: c(
|
|
827
822
|
"flex flex-col gap-3 rounded-lg bg-[#fef5e9] px-4 py-3.75",
|
|
828
|
-
|
|
823
|
+
o
|
|
829
824
|
),
|
|
830
825
|
...u,
|
|
831
826
|
children: [
|
|
@@ -851,7 +846,7 @@ const Zr = ({
|
|
|
851
846
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col min-w-0 flex-1 gap-0.5", children: [
|
|
852
847
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.75", children: [
|
|
853
848
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-sm font-bold text-[#1d2125]", children: r }),
|
|
854
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex items-center gap-1 text-amber-500", "aria-hidden": !0, children: Array.from({ length: Math.max(0, Math.min(5, i)) }, (f, x) => /* @__PURE__ */ e.jsx(
|
|
849
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex items-center gap-1 text-amber-500", "aria-hidden": !0, children: Array.from({ length: Math.max(0, Math.min(5, i)) }, (f, x) => /* @__PURE__ */ e.jsx(At, { size: 14 }, x)) })
|
|
855
850
|
] }),
|
|
856
851
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium text-gray-500", children: n })
|
|
857
852
|
] })
|
|
@@ -859,47 +854,47 @@ const Zr = ({
|
|
|
859
854
|
]
|
|
860
855
|
}
|
|
861
856
|
);
|
|
862
|
-
function
|
|
863
|
-
return
|
|
857
|
+
function Fa(t) {
|
|
858
|
+
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);
|
|
864
859
|
}
|
|
865
|
-
function
|
|
866
|
-
return
|
|
860
|
+
function Ba(t) {
|
|
861
|
+
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);
|
|
867
862
|
}
|
|
868
|
-
function
|
|
869
|
-
return
|
|
863
|
+
function ft(t) {
|
|
864
|
+
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);
|
|
870
865
|
}
|
|
871
866
|
function Da(t) {
|
|
872
|
-
return
|
|
867
|
+
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);
|
|
873
868
|
}
|
|
874
|
-
function
|
|
875
|
-
return
|
|
869
|
+
function xe(t) {
|
|
870
|
+
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);
|
|
876
871
|
}
|
|
877
|
-
function
|
|
878
|
-
return
|
|
872
|
+
function Ft(t) {
|
|
873
|
+
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);
|
|
879
874
|
}
|
|
880
|
-
function
|
|
881
|
-
return
|
|
875
|
+
function Ia(t) {
|
|
876
|
+
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "18 15 12 9 6 15" }, child: [] }] })(t);
|
|
882
877
|
}
|
|
883
|
-
function
|
|
884
|
-
return
|
|
878
|
+
function Ma(t) {
|
|
879
|
+
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);
|
|
885
880
|
}
|
|
886
|
-
function
|
|
887
|
-
return
|
|
881
|
+
function oe(t) {
|
|
882
|
+
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);
|
|
888
883
|
}
|
|
889
|
-
function
|
|
890
|
-
return
|
|
884
|
+
function Ve(t) {
|
|
885
|
+
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);
|
|
891
886
|
}
|
|
892
|
-
function
|
|
893
|
-
return
|
|
887
|
+
function $a(t) {
|
|
888
|
+
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);
|
|
894
889
|
}
|
|
895
890
|
function Va(t) {
|
|
896
|
-
return
|
|
891
|
+
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);
|
|
897
892
|
}
|
|
898
|
-
function
|
|
899
|
-
return
|
|
893
|
+
function He(t) {
|
|
894
|
+
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);
|
|
900
895
|
}
|
|
901
|
-
function
|
|
902
|
-
return
|
|
896
|
+
function We(t) {
|
|
897
|
+
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);
|
|
903
898
|
}
|
|
904
899
|
const Ha = ({
|
|
905
900
|
title: t = "अक्सर पूछे जाने वाले प्रश्न",
|
|
@@ -907,23 +902,23 @@ const Ha = ({
|
|
|
907
902
|
initialVisibleCount: s = 6,
|
|
908
903
|
showCta: n = !0,
|
|
909
904
|
defaultExpanded: i = !1,
|
|
910
|
-
ctaExpandLabel:
|
|
905
|
+
ctaExpandLabel: o = "और देखें",
|
|
911
906
|
ctaCollapseLabel: u = "कम देखें",
|
|
912
907
|
defaultOpenIndex: f = -1,
|
|
913
908
|
className: x = ""
|
|
914
909
|
}) => {
|
|
915
|
-
const [b, p] =
|
|
910
|
+
const [b, p] = $(i), [d, v] = $(f), g = n && r.length > s, j = g && !b ? r.slice(0, s) : r;
|
|
916
911
|
return /* @__PURE__ */ e.jsxs(
|
|
917
912
|
"div",
|
|
918
913
|
{
|
|
919
|
-
className:
|
|
914
|
+
className: c(
|
|
920
915
|
"flex flex-col items-center gap-5 bg-white px-4 py-6",
|
|
921
916
|
x
|
|
922
917
|
),
|
|
923
918
|
children: [
|
|
924
919
|
/* @__PURE__ */ e.jsx("h2", { className: "px-4 text-center text-base font-bold text-[#1d2125]", children: t }),
|
|
925
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: j.map((
|
|
926
|
-
const y = d ===
|
|
920
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: j.map((L, k) => {
|
|
921
|
+
const y = d === k;
|
|
927
922
|
return /* @__PURE__ */ e.jsxs(
|
|
928
923
|
"div",
|
|
929
924
|
{
|
|
@@ -933,21 +928,21 @@ const Ha = ({
|
|
|
933
928
|
"button",
|
|
934
929
|
{
|
|
935
930
|
type: "button",
|
|
936
|
-
className:
|
|
931
|
+
className: c(
|
|
937
932
|
"flex w-full items-center justify-between gap-2 p-3 text-left",
|
|
938
933
|
y ? "bg-[#f7f8f9]" : "bg-white"
|
|
939
934
|
),
|
|
940
|
-
onClick: () => v(y ? -1 :
|
|
935
|
+
onClick: () => v(y ? -1 : k),
|
|
941
936
|
"aria-expanded": y,
|
|
942
|
-
"aria-controls": `faq-answer-${
|
|
943
|
-
id: `faq-question-${
|
|
937
|
+
"aria-controls": `faq-answer-${k}`,
|
|
938
|
+
id: `faq-question-${k}`,
|
|
944
939
|
children: [
|
|
945
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#22272b]", children:
|
|
940
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#22272b]", children: L.question }),
|
|
946
941
|
/* @__PURE__ */ e.jsx(
|
|
947
|
-
|
|
942
|
+
oe,
|
|
948
943
|
{
|
|
949
944
|
size: 24,
|
|
950
|
-
className:
|
|
945
|
+
className: c("shrink-0 transition-transform duration-200", y ? "rotate-180" : ""),
|
|
951
946
|
"aria-hidden": !0
|
|
952
947
|
}
|
|
953
948
|
)
|
|
@@ -957,17 +952,17 @@ const Ha = ({
|
|
|
957
952
|
/* @__PURE__ */ e.jsx(
|
|
958
953
|
"div",
|
|
959
954
|
{
|
|
960
|
-
id: `faq-answer-${
|
|
955
|
+
id: `faq-answer-${k}`,
|
|
961
956
|
role: "region",
|
|
962
|
-
"aria-labelledby": `faq-question-${
|
|
957
|
+
"aria-labelledby": `faq-question-${k}`,
|
|
963
958
|
hidden: !y,
|
|
964
959
|
className: "bg-white p-3",
|
|
965
|
-
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm text-[#374151]", children:
|
|
960
|
+
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm text-[#374151]", children: L.answer })
|
|
966
961
|
}
|
|
967
962
|
)
|
|
968
963
|
]
|
|
969
964
|
},
|
|
970
|
-
|
|
965
|
+
k
|
|
971
966
|
);
|
|
972
967
|
}) }),
|
|
973
968
|
g && /* @__PURE__ */ e.jsx(
|
|
@@ -976,42 +971,42 @@ const Ha = ({
|
|
|
976
971
|
variant: "secondary",
|
|
977
972
|
size: "lg",
|
|
978
973
|
className: "w-full",
|
|
979
|
-
onClick: () => p((
|
|
974
|
+
onClick: () => p((L) => !L),
|
|
980
975
|
"aria-expanded": b,
|
|
981
976
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
982
|
-
|
|
977
|
+
oe,
|
|
983
978
|
{
|
|
984
979
|
size: 24,
|
|
985
|
-
className:
|
|
980
|
+
className: c("shrink-0 transition-transform duration-200", b ? "rotate-180" : ""),
|
|
986
981
|
"aria-hidden": !0
|
|
987
982
|
}
|
|
988
983
|
),
|
|
989
|
-
children: b ? u :
|
|
984
|
+
children: b ? u : o
|
|
990
985
|
}
|
|
991
986
|
)
|
|
992
987
|
]
|
|
993
988
|
}
|
|
994
989
|
);
|
|
995
|
-
},
|
|
990
|
+
}, Dr = ({
|
|
996
991
|
title: t = "Frequently Asked Questions",
|
|
997
992
|
showTitleAccent: r = !0,
|
|
998
993
|
items: s,
|
|
999
994
|
initialVisibleCount: n = 6,
|
|
1000
995
|
showCta: i = !0,
|
|
1001
|
-
defaultExpanded:
|
|
996
|
+
defaultExpanded: o = !1,
|
|
1002
997
|
ctaExpandLabel: u = "See more",
|
|
1003
998
|
ctaCollapseLabel: f = "See less",
|
|
1004
999
|
defaultOpenIndex: x = -1,
|
|
1005
1000
|
className: b = ""
|
|
1006
1001
|
}) => {
|
|
1007
|
-
const [p, d] =
|
|
1008
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
1002
|
+
const [p, d] = $(o), [v, g] = $(x), j = i && s.length > n, L = j && !p ? s.slice(0, n) : s;
|
|
1003
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("flex flex-col gap-3 bg-white px-4 py-6", b), children: [
|
|
1009
1004
|
/* @__PURE__ */ e.jsxs("h2", { className: "flex items-center gap-2 text-sm font-bold text-[#374151]", children: [
|
|
1010
1005
|
r && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-[18px] w-[3px] shrink-0 bg-[#f75e22]" }),
|
|
1011
1006
|
t
|
|
1012
1007
|
] }),
|
|
1013
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col", children:
|
|
1014
|
-
const N = v === y, S = N ?
|
|
1008
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col", children: L.map((k, y) => {
|
|
1009
|
+
const N = v === y, S = N ? Ia : oe;
|
|
1015
1010
|
return /* @__PURE__ */ e.jsxs(
|
|
1016
1011
|
"div",
|
|
1017
1012
|
{
|
|
@@ -1027,7 +1022,7 @@ const Ha = ({
|
|
|
1027
1022
|
"aria-controls": `faq-accordion-answer-${y}`,
|
|
1028
1023
|
id: `faq-accordion-question-${y}`,
|
|
1029
1024
|
children: [
|
|
1030
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-semibold text-[#22272b]", children:
|
|
1025
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-semibold text-[#22272b]", children: k.question }),
|
|
1031
1026
|
/* @__PURE__ */ e.jsx(S, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 })
|
|
1032
1027
|
]
|
|
1033
1028
|
}
|
|
@@ -1039,7 +1034,7 @@ const Ha = ({
|
|
|
1039
1034
|
role: "region",
|
|
1040
1035
|
"aria-labelledby": `faq-accordion-question-${y}`,
|
|
1041
1036
|
hidden: !N,
|
|
1042
|
-
children: /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-xs text-[#374151]", children:
|
|
1037
|
+
children: /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-xs text-[#374151]", children: k.answer })
|
|
1043
1038
|
}
|
|
1044
1039
|
)
|
|
1045
1040
|
]
|
|
@@ -1053,13 +1048,13 @@ const Ha = ({
|
|
|
1053
1048
|
variant: "secondary",
|
|
1054
1049
|
size: "lg",
|
|
1055
1050
|
className: "w-full",
|
|
1056
|
-
onClick: () => d((
|
|
1051
|
+
onClick: () => d((k) => !k),
|
|
1057
1052
|
"aria-expanded": p,
|
|
1058
1053
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
1059
|
-
|
|
1054
|
+
oe,
|
|
1060
1055
|
{
|
|
1061
1056
|
size: 24,
|
|
1062
|
-
className:
|
|
1057
|
+
className: c("shrink-0 transition-transform duration-200", p ? "rotate-180" : ""),
|
|
1063
1058
|
"aria-hidden": !0
|
|
1064
1059
|
}
|
|
1065
1060
|
),
|
|
@@ -1067,28 +1062,28 @@ const Ha = ({
|
|
|
1067
1062
|
}
|
|
1068
1063
|
)
|
|
1069
1064
|
] });
|
|
1070
|
-
},
|
|
1071
|
-
({ src: t, poster: r, className: s = "", rounded: n = !0, width: i, height:
|
|
1072
|
-
const [f, x] =
|
|
1065
|
+
}, Wa = _.forwardRef(
|
|
1066
|
+
({ src: t, poster: r, className: s = "", rounded: n = !0, width: i, height: o }, u) => {
|
|
1067
|
+
const [f, x] = _.useState(!1), [b, p] = _.useState(!0), [d, v] = _.useState(!1), [g, j] = _.useState(0), [L, k] = _.useState(0), y = _.useRef(null), S = c(
|
|
1073
1068
|
"block w-full",
|
|
1074
|
-
(i !== void 0 ||
|
|
1075
|
-
), h = (
|
|
1076
|
-
const
|
|
1077
|
-
j(
|
|
1069
|
+
(i !== void 0 || o !== void 0) && "h-full object-cover"
|
|
1070
|
+
), h = (O) => {
|
|
1071
|
+
const H = Number(O.target.value);
|
|
1072
|
+
j(H), y.current && (y.current.currentTime = H);
|
|
1078
1073
|
};
|
|
1079
1074
|
return /* @__PURE__ */ e.jsx(
|
|
1080
1075
|
"div",
|
|
1081
1076
|
{
|
|
1082
1077
|
ref: u,
|
|
1083
|
-
style: { width: i, height:
|
|
1084
|
-
className:
|
|
1078
|
+
style: { width: i, height: o },
|
|
1079
|
+
className: c(
|
|
1085
1080
|
"relative w-full overflow-hidden",
|
|
1086
1081
|
n && "rounded-2xl",
|
|
1087
1082
|
s
|
|
1088
1083
|
),
|
|
1089
1084
|
children: f ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1090
1085
|
/* @__PURE__ */ e.jsx(
|
|
1091
|
-
|
|
1086
|
+
va,
|
|
1092
1087
|
{
|
|
1093
1088
|
ref: y,
|
|
1094
1089
|
src: t,
|
|
@@ -1096,10 +1091,10 @@ const Ha = ({
|
|
|
1096
1091
|
playing: b,
|
|
1097
1092
|
muted: d,
|
|
1098
1093
|
width: i,
|
|
1099
|
-
height:
|
|
1094
|
+
height: o,
|
|
1100
1095
|
className: S,
|
|
1101
|
-
onTimeUpdate: (
|
|
1102
|
-
onDurationChange: (
|
|
1096
|
+
onTimeUpdate: (O) => j(O.currentTarget.currentTime),
|
|
1097
|
+
onDurationChange: (O) => k(O.currentTarget.duration),
|
|
1103
1098
|
onEnded: () => p(!1)
|
|
1104
1099
|
}
|
|
1105
1100
|
),
|
|
@@ -1111,8 +1106,8 @@ const Ha = ({
|
|
|
1111
1106
|
size: "lg",
|
|
1112
1107
|
"aria-label": b ? "Pause" : "Play",
|
|
1113
1108
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
1114
|
-
onClick: () => p((
|
|
1115
|
-
children: b ? /* @__PURE__ */ e.jsx(
|
|
1109
|
+
onClick: () => p((O) => !O),
|
|
1110
|
+
children: b ? /* @__PURE__ */ e.jsx(Aa, { size: 16 }) : /* @__PURE__ */ e.jsx(xt, { size: 16, className: "translate-x-0.5" })
|
|
1116
1111
|
}
|
|
1117
1112
|
),
|
|
1118
1113
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1123,8 +1118,8 @@ const Ha = ({
|
|
|
1123
1118
|
size: "sm",
|
|
1124
1119
|
"aria-label": d ? "Unmute" : "Mute",
|
|
1125
1120
|
className: "absolute left-2 top-2 text-white hover:bg-white/10",
|
|
1126
|
-
onClick: () => v((
|
|
1127
|
-
children: d ? /* @__PURE__ */ e.jsx(
|
|
1121
|
+
onClick: () => v((O) => !O),
|
|
1122
|
+
children: d ? /* @__PURE__ */ e.jsx(Oa, { size: 14 }) : /* @__PURE__ */ e.jsx(Ra, { size: 14 })
|
|
1128
1123
|
}
|
|
1129
1124
|
),
|
|
1130
1125
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1132,7 +1127,7 @@ const Ha = ({
|
|
|
1132
1127
|
{
|
|
1133
1128
|
type: "range",
|
|
1134
1129
|
min: 0,
|
|
1135
|
-
max:
|
|
1130
|
+
max: L || 0,
|
|
1136
1131
|
step: 0.1,
|
|
1137
1132
|
value: g,
|
|
1138
1133
|
onChange: h,
|
|
@@ -1152,7 +1147,7 @@ const Ha = ({
|
|
|
1152
1147
|
"aria-label": "Play video",
|
|
1153
1148
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
1154
1149
|
onClick: () => x(!0),
|
|
1155
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1150
|
+
children: /* @__PURE__ */ e.jsx(xt, { size: 16, className: "translate-x-0.5" })
|
|
1156
1151
|
}
|
|
1157
1152
|
)
|
|
1158
1153
|
] })
|
|
@@ -1160,60 +1155,60 @@ const Ha = ({
|
|
|
1160
1155
|
);
|
|
1161
1156
|
}
|
|
1162
1157
|
);
|
|
1163
|
-
|
|
1164
|
-
const
|
|
1158
|
+
Wa.displayName = "VideoPlayer";
|
|
1159
|
+
const Ua = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), Bt = _.forwardRef(
|
|
1165
1160
|
({
|
|
1166
1161
|
options: t,
|
|
1167
1162
|
value: r,
|
|
1168
1163
|
onChange: s,
|
|
1169
1164
|
defaultOpen: n = !1,
|
|
1170
1165
|
open: i,
|
|
1171
|
-
onOpenChange:
|
|
1166
|
+
onOpenChange: o,
|
|
1172
1167
|
className: u = "",
|
|
1173
1168
|
triggerClassName: f = "",
|
|
1174
1169
|
menuClassName: x = "",
|
|
1175
1170
|
...b
|
|
1176
1171
|
}, p) => {
|
|
1177
|
-
const [d, v] =
|
|
1172
|
+
const [d, v] = _.useState(n), g = i !== void 0, j = g ? i : d, L = _.useCallback(
|
|
1178
1173
|
(N) => {
|
|
1179
|
-
g || v(N),
|
|
1174
|
+
g || v(N), o?.(N);
|
|
1180
1175
|
},
|
|
1181
|
-
[g,
|
|
1182
|
-
),
|
|
1183
|
-
|
|
1176
|
+
[g, o]
|
|
1177
|
+
), k = _.useRef(null);
|
|
1178
|
+
_.useImperativeHandle(p, () => k.current), _.useEffect(() => {
|
|
1184
1179
|
if (!j) return;
|
|
1185
1180
|
const N = (h) => {
|
|
1186
|
-
|
|
1181
|
+
k.current?.contains(h.target) || L(!1);
|
|
1187
1182
|
}, S = (h) => {
|
|
1188
|
-
h.key === "Escape" &&
|
|
1183
|
+
h.key === "Escape" && L(!1);
|
|
1189
1184
|
};
|
|
1190
1185
|
return document.addEventListener("mousedown", N), document.addEventListener("keydown", S), () => {
|
|
1191
1186
|
document.removeEventListener("mousedown", N), document.removeEventListener("keydown", S);
|
|
1192
1187
|
};
|
|
1193
|
-
}, [j,
|
|
1188
|
+
}, [j, L]);
|
|
1194
1189
|
const y = (N) => {
|
|
1195
|
-
s?.(N.value),
|
|
1190
|
+
s?.(N.value), L(!1);
|
|
1196
1191
|
};
|
|
1197
|
-
return /* @__PURE__ */ e.jsxs("div", { ref:
|
|
1192
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: k, className: c("relative inline-block", u), ...b, children: [
|
|
1198
1193
|
/* @__PURE__ */ e.jsxs(
|
|
1199
1194
|
"button",
|
|
1200
1195
|
{
|
|
1201
1196
|
type: "button",
|
|
1202
|
-
onClick: () =>
|
|
1197
|
+
onClick: () => L(!j),
|
|
1203
1198
|
"aria-label": "Switch language",
|
|
1204
1199
|
"aria-haspopup": "listbox",
|
|
1205
1200
|
"aria-expanded": j,
|
|
1206
|
-
className:
|
|
1201
|
+
className: c(
|
|
1207
1202
|
"inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",
|
|
1208
1203
|
f
|
|
1209
1204
|
),
|
|
1210
1205
|
children: [
|
|
1211
|
-
/* @__PURE__ */ e.jsx(
|
|
1206
|
+
/* @__PURE__ */ e.jsx(Ua, {}),
|
|
1212
1207
|
/* @__PURE__ */ e.jsx(
|
|
1213
|
-
|
|
1208
|
+
oe,
|
|
1214
1209
|
{
|
|
1215
1210
|
size: 24,
|
|
1216
|
-
className:
|
|
1211
|
+
className: c("transition-transform duration-200", j ? "rotate-180" : ""),
|
|
1217
1212
|
"aria-hidden": !0
|
|
1218
1213
|
}
|
|
1219
1214
|
)
|
|
@@ -1224,7 +1219,7 @@ const Ga = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1224
1219
|
"ul",
|
|
1225
1220
|
{
|
|
1226
1221
|
role: "listbox",
|
|
1227
|
-
className:
|
|
1222
|
+
className: c(
|
|
1228
1223
|
"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",
|
|
1229
1224
|
x
|
|
1230
1225
|
),
|
|
@@ -1235,7 +1230,7 @@ const Ga = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1235
1230
|
{
|
|
1236
1231
|
type: "button",
|
|
1237
1232
|
onClick: () => y(N),
|
|
1238
|
-
className:
|
|
1233
|
+
className: c(
|
|
1239
1234
|
"block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",
|
|
1240
1235
|
S ? "font-medium text-[#f75e22]" : "text-[#1d2125]"
|
|
1241
1236
|
),
|
|
@@ -1248,21 +1243,21 @@ const Ga = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1248
1243
|
] });
|
|
1249
1244
|
}
|
|
1250
1245
|
);
|
|
1251
|
-
|
|
1252
|
-
function
|
|
1246
|
+
Bt.displayName = "LanguageSwitcher";
|
|
1247
|
+
function Ir({
|
|
1253
1248
|
onBackClick: t,
|
|
1254
1249
|
backButtonAriaLabel: r = "Go back",
|
|
1255
1250
|
locale: s,
|
|
1256
1251
|
localeOptions: n,
|
|
1257
1252
|
onLocaleChange: i,
|
|
1258
|
-
className:
|
|
1253
|
+
className: o
|
|
1259
1254
|
}) {
|
|
1260
1255
|
return /* @__PURE__ */ e.jsxs(
|
|
1261
1256
|
"div",
|
|
1262
1257
|
{
|
|
1263
|
-
className:
|
|
1258
|
+
className: c(
|
|
1264
1259
|
"mx-auto flex w-full max-w-md items-center justify-between px-4 py-3",
|
|
1265
|
-
|
|
1260
|
+
o
|
|
1266
1261
|
),
|
|
1267
1262
|
children: [
|
|
1268
1263
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1272,11 +1267,11 @@ function Xr({
|
|
|
1272
1267
|
onClick: t,
|
|
1273
1268
|
"aria-label": r,
|
|
1274
1269
|
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)]",
|
|
1275
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1270
|
+
children: /* @__PURE__ */ e.jsx(We, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
1276
1271
|
}
|
|
1277
1272
|
),
|
|
1278
1273
|
/* @__PURE__ */ e.jsx(
|
|
1279
|
-
|
|
1274
|
+
Bt,
|
|
1280
1275
|
{
|
|
1281
1276
|
options: n,
|
|
1282
1277
|
value: s,
|
|
@@ -1288,15 +1283,15 @@ function Xr({
|
|
|
1288
1283
|
}
|
|
1289
1284
|
);
|
|
1290
1285
|
}
|
|
1291
|
-
const
|
|
1292
|
-
({ label: t, selected: r = !1, onClick: s, icon: n, className: i, type:
|
|
1286
|
+
const Ga = _.forwardRef(
|
|
1287
|
+
({ label: t, selected: r = !1, onClick: s, icon: n, className: i, type: o = "button", ...u }, f) => /* @__PURE__ */ e.jsxs(
|
|
1293
1288
|
"button",
|
|
1294
1289
|
{
|
|
1295
1290
|
ref: f,
|
|
1296
|
-
type:
|
|
1291
|
+
type: o,
|
|
1297
1292
|
onClick: s,
|
|
1298
1293
|
"aria-pressed": r,
|
|
1299
|
-
className:
|
|
1294
|
+
className: c(
|
|
1300
1295
|
"inline-flex shrink-0 items-center justify-center gap-1 rounded-full border text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",
|
|
1301
1296
|
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",
|
|
1302
1297
|
i
|
|
@@ -1309,16 +1304,16 @@ const qa = L.forwardRef(
|
|
|
1309
1304
|
}
|
|
1310
1305
|
)
|
|
1311
1306
|
);
|
|
1312
|
-
|
|
1313
|
-
const
|
|
1307
|
+
Ga.displayName = "Chip";
|
|
1308
|
+
const Mr = ({
|
|
1314
1309
|
quote: t,
|
|
1315
1310
|
currentStep: r,
|
|
1316
1311
|
totalSteps: s,
|
|
1317
1312
|
className: n,
|
|
1318
1313
|
...i
|
|
1319
1314
|
}) => {
|
|
1320
|
-
const
|
|
1321
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
1315
|
+
const o = s > 0 ? Math.min(100, Math.max(0, r / s * 100)) : 0;
|
|
1316
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("step-progress-header", n), ...i, children: [
|
|
1322
1317
|
/* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__column", children: [
|
|
1323
1318
|
/* @__PURE__ */ e.jsx("p", { className: "step-progress-header__quote", children: t }),
|
|
1324
1319
|
/* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__track", children: [
|
|
@@ -1326,14 +1321,14 @@ const Qr = ({
|
|
|
1326
1321
|
"div",
|
|
1327
1322
|
{
|
|
1328
1323
|
className: "step-progress-header__track-fill",
|
|
1329
|
-
style: { width: `${
|
|
1324
|
+
style: { width: `${o}%` }
|
|
1330
1325
|
}
|
|
1331
1326
|
),
|
|
1332
1327
|
/* @__PURE__ */ e.jsx(
|
|
1333
1328
|
"div",
|
|
1334
1329
|
{
|
|
1335
1330
|
className: "step-progress-header__track-marker",
|
|
1336
|
-
style: { left: `${
|
|
1331
|
+
style: { left: `${o}%` },
|
|
1337
1332
|
children: /* @__PURE__ */ e.jsx(
|
|
1338
1333
|
"img",
|
|
1339
1334
|
{
|
|
@@ -1354,13 +1349,13 @@ const Qr = ({
|
|
|
1354
1349
|
] })
|
|
1355
1350
|
] });
|
|
1356
1351
|
};
|
|
1357
|
-
function
|
|
1358
|
-
return
|
|
1352
|
+
function qa(t) {
|
|
1353
|
+
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);
|
|
1359
1354
|
}
|
|
1360
|
-
function
|
|
1361
|
-
return
|
|
1355
|
+
function Ya(t) {
|
|
1356
|
+
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);
|
|
1362
1357
|
}
|
|
1363
|
-
const
|
|
1358
|
+
const pt = 1.25, ht = [
|
|
1364
1359
|
{ x: 11.02, y: 6.38, height: 5.28 },
|
|
1365
1360
|
{ x: 16.3, y: 6.38, height: 5.28 },
|
|
1366
1361
|
{ x: 8.36, y: 3.8, height: 10.44 },
|
|
@@ -1368,7 +1363,7 @@ const mt = 1.25, bt = [
|
|
|
1368
1363
|
{ x: 5.73, y: 2.84, height: 12.32 },
|
|
1369
1364
|
{ x: 3.07, y: 6, height: 6.03 },
|
|
1370
1365
|
{ x: 0.45, y: 7.29, height: 3.37 }
|
|
1371
|
-
],
|
|
1366
|
+
], Ka = ({
|
|
1372
1367
|
animate: t,
|
|
1373
1368
|
iconIndex: r
|
|
1374
1369
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1380,33 +1375,33 @@ const mt = 1.25, bt = [
|
|
|
1380
1375
|
fill: "none",
|
|
1381
1376
|
"aria-hidden": !0,
|
|
1382
1377
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1383
|
-
children:
|
|
1378
|
+
children: ht.map((s, n) => /* @__PURE__ */ e.jsx(
|
|
1384
1379
|
"rect",
|
|
1385
1380
|
{
|
|
1386
1381
|
x: s.x,
|
|
1387
1382
|
y: s.y,
|
|
1388
|
-
width:
|
|
1383
|
+
width: pt,
|
|
1389
1384
|
height: s.height,
|
|
1390
|
-
rx:
|
|
1385
|
+
rx: pt / 2,
|
|
1391
1386
|
fill: "#6B7280",
|
|
1392
1387
|
className: t ? "wave-bar-anim" : "",
|
|
1393
1388
|
style: {
|
|
1394
|
-
animationDelay: `${(r *
|
|
1389
|
+
animationDelay: `${(r * ht.length + n) * 60}ms`
|
|
1395
1390
|
}
|
|
1396
1391
|
},
|
|
1397
1392
|
n
|
|
1398
1393
|
))
|
|
1399
1394
|
}
|
|
1400
|
-
),
|
|
1395
|
+
), $r = ({
|
|
1401
1396
|
avatarUrl: t,
|
|
1402
1397
|
question: r,
|
|
1403
1398
|
description: s,
|
|
1404
1399
|
audioSrc: n,
|
|
1405
1400
|
className: i,
|
|
1406
|
-
...
|
|
1401
|
+
...o
|
|
1407
1402
|
}) => {
|
|
1408
|
-
const u =
|
|
1409
|
-
|
|
1403
|
+
const u = _.useRef(null), f = _.useRef(!1), [x, b] = _.useState(!1), [p, d] = _.useState(!1);
|
|
1404
|
+
_.useEffect(() => {
|
|
1410
1405
|
!n || f.current || (f.current = !0, u.current?.play().catch(() => {
|
|
1411
1406
|
}));
|
|
1412
1407
|
}, [n]);
|
|
@@ -1417,8 +1412,8 @@ const mt = 1.25, bt = [
|
|
|
1417
1412
|
return /* @__PURE__ */ e.jsxs(
|
|
1418
1413
|
"div",
|
|
1419
1414
|
{
|
|
1420
|
-
className:
|
|
1421
|
-
...
|
|
1415
|
+
className: c("flex w-full items-start gap-3 px-4 pb-6", i),
|
|
1416
|
+
...o,
|
|
1422
1417
|
children: [
|
|
1423
1418
|
/* @__PURE__ */ e.jsxs("div", { className: "relative size-16 shrink-0 overflow-hidden rounded-[12.8px] bg-linear-to-b from-[#fef5e9] to-[#fccf9a]", children: [
|
|
1424
1419
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1456,8 +1451,8 @@ const mt = 1.25, bt = [
|
|
|
1456
1451
|
}
|
|
1457
1452
|
),
|
|
1458
1453
|
/* @__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: [
|
|
1459
|
-
|
|
1460
|
-
|
|
1454
|
+
r,
|
|
1455
|
+
s,
|
|
1461
1456
|
n && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
1462
1457
|
/* @__PURE__ */ e.jsx(
|
|
1463
1458
|
"audio",
|
|
@@ -1477,11 +1472,11 @@ const mt = 1.25, bt = [
|
|
|
1477
1472
|
"aria-label": x ? "Unmute" : "Mute",
|
|
1478
1473
|
"aria-pressed": x,
|
|
1479
1474
|
className: "flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
1480
|
-
children: x ? /* @__PURE__ */ e.jsx(
|
|
1475
|
+
children: x ? /* @__PURE__ */ e.jsx(Ya, { size: 18, className: "text-[#f75e22]" }) : /* @__PURE__ */ e.jsx(qa, { size: 18, className: "text-[#f75e22]" })
|
|
1481
1476
|
}
|
|
1482
1477
|
),
|
|
1483
1478
|
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((g) => /* @__PURE__ */ e.jsx(
|
|
1484
|
-
|
|
1479
|
+
Ka,
|
|
1485
1480
|
{
|
|
1486
1481
|
animate: p && !x,
|
|
1487
1482
|
iconIndex: g
|
|
@@ -1494,36 +1489,36 @@ const mt = 1.25, bt = [
|
|
|
1494
1489
|
]
|
|
1495
1490
|
}
|
|
1496
1491
|
);
|
|
1497
|
-
},
|
|
1492
|
+
}, Za = {
|
|
1498
1493
|
sm: "size-9",
|
|
1499
1494
|
md: "size-11",
|
|
1500
1495
|
lg: "size-16"
|
|
1501
|
-
},
|
|
1502
|
-
({ icon: t, avatarUrl: r, alt: s = "", size: n = "md", className: i, ...
|
|
1496
|
+
}, _e = _.forwardRef(
|
|
1497
|
+
({ icon: t, avatarUrl: r, alt: s = "", size: n = "md", className: i, ...o }, u) => /* @__PURE__ */ e.jsx(
|
|
1503
1498
|
"div",
|
|
1504
1499
|
{
|
|
1505
1500
|
ref: u,
|
|
1506
|
-
className:
|
|
1501
|
+
className: c(
|
|
1507
1502
|
"flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
1508
|
-
|
|
1503
|
+
Za[n],
|
|
1509
1504
|
!r && "bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",
|
|
1510
1505
|
i
|
|
1511
1506
|
),
|
|
1512
1507
|
"aria-hidden": r ? void 0 : !0,
|
|
1513
|
-
...
|
|
1508
|
+
...o,
|
|
1514
1509
|
children: r ? /* @__PURE__ */ e.jsx("img", { src: r, alt: s, className: "size-full object-cover" }) : t
|
|
1515
1510
|
}
|
|
1516
1511
|
)
|
|
1517
1512
|
);
|
|
1518
|
-
|
|
1519
|
-
const Dt =
|
|
1513
|
+
_e.displayName = "IconBadge";
|
|
1514
|
+
const Dt = _.forwardRef(
|
|
1520
1515
|
({
|
|
1521
1516
|
selected: t = !1,
|
|
1522
1517
|
onSelect: r,
|
|
1523
1518
|
icon: s,
|
|
1524
1519
|
avatarUrl: n,
|
|
1525
1520
|
iconSize: i = "md",
|
|
1526
|
-
iconClassName:
|
|
1521
|
+
iconClassName: o,
|
|
1527
1522
|
title: u,
|
|
1528
1523
|
description: f,
|
|
1529
1524
|
badge: x,
|
|
@@ -1533,92 +1528,83 @@ const Dt = L.forwardRef(
|
|
|
1533
1528
|
tag: v,
|
|
1534
1529
|
tagClassName: g,
|
|
1535
1530
|
children: j,
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1531
|
+
className: L,
|
|
1532
|
+
disabled: k,
|
|
1533
|
+
type: y = "button",
|
|
1534
|
+
...N
|
|
1535
|
+
}, S) => /* @__PURE__ */ e.jsxs(
|
|
1536
|
+
"div",
|
|
1537
|
+
{
|
|
1538
|
+
className: c(
|
|
1539
|
+
"relative overflow-visible rounded-2xl border transition-colors",
|
|
1540
|
+
t ? "border-[#f38415] bg-[#FEF5E9]" : "border-gray-200 bg-white",
|
|
1541
|
+
k && "opacity-50",
|
|
1542
|
+
L
|
|
1543
|
+
),
|
|
1544
|
+
children: [
|
|
1545
|
+
v && /* @__PURE__ */ e.jsx(
|
|
1546
|
+
"span",
|
|
1547
|
+
{
|
|
1548
|
+
className: c(
|
|
1549
|
+
"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",
|
|
1550
|
+
g
|
|
1551
|
+
),
|
|
1552
|
+
children: v
|
|
1553
|
+
}
|
|
1552
1554
|
),
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
className:
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
t ? p === "check" ? o("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white", d) : "border-[#f75e22]" : "border-gray-300"
|
|
1555
|
+
/* @__PURE__ */ e.jsxs(
|
|
1556
|
+
"button",
|
|
1557
|
+
{
|
|
1558
|
+
ref: S,
|
|
1559
|
+
type: y,
|
|
1560
|
+
role: "radio",
|
|
1561
|
+
"aria-checked": t,
|
|
1562
|
+
disabled: k,
|
|
1563
|
+
onClick: r,
|
|
1564
|
+
className: c(
|
|
1565
|
+
"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",
|
|
1566
|
+
v && "pt-7"
|
|
1567
|
+
),
|
|
1568
|
+
...N,
|
|
1569
|
+
children: [
|
|
1570
|
+
(s || n) && /* @__PURE__ */ e.jsx(_e, { icon: s, avatarUrl: n, size: i, className: o }),
|
|
1571
|
+
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1572
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#1d2125]", children: u }),
|
|
1573
|
+
f && !j && /* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-[13px] leading-4.5 text-gray-500", children: f })
|
|
1574
|
+
] }),
|
|
1575
|
+
x && /* @__PURE__ */ e.jsx("span", { className: "shrink-0", children: x }),
|
|
1576
|
+
b && /* @__PURE__ */ e.jsxs(
|
|
1577
|
+
"span",
|
|
1578
|
+
{
|
|
1579
|
+
"aria-hidden": !0,
|
|
1580
|
+
className: c(
|
|
1581
|
+
"inline-flex size-6 shrink-0 items-center justify-center rounded-full border-2 transition-colors",
|
|
1582
|
+
t ? p === "check" ? c("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white", d) : "border-[#f75e22]" : "border-gray-300"
|
|
1583
|
+
),
|
|
1584
|
+
children: [
|
|
1585
|
+
t && p === "dot" && /* @__PURE__ */ e.jsx(
|
|
1586
|
+
"span",
|
|
1587
|
+
{
|
|
1588
|
+
className: c(
|
|
1589
|
+
"size-3.5 rounded-full bg-linear-to-b from-[#f97e4e] to-[#f75e22]",
|
|
1590
|
+
d
|
|
1591
|
+
)
|
|
1592
|
+
}
|
|
1592
1593
|
),
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
]
|
|
1605
|
-
}
|
|
1606
|
-
)
|
|
1607
|
-
]
|
|
1608
|
-
}
|
|
1609
|
-
),
|
|
1610
|
-
j
|
|
1611
|
-
]
|
|
1612
|
-
}
|
|
1613
|
-
);
|
|
1614
|
-
return k ? /* @__PURE__ */ e.jsxs("div", { className: "relative", children: [
|
|
1615
|
-
M,
|
|
1616
|
-
/* @__PURE__ */ e.jsx("div", { className: o("mt-3 rounded-b-2xl px-4 pt-4 pb-3 text-left text-[#632e06]", C), children: k })
|
|
1617
|
-
] }) : M;
|
|
1618
|
-
}
|
|
1594
|
+
t && p === "check" && /* @__PURE__ */ e.jsx(Ve, { size: 14, "aria-hidden": !0 })
|
|
1595
|
+
]
|
|
1596
|
+
}
|
|
1597
|
+
)
|
|
1598
|
+
]
|
|
1599
|
+
}
|
|
1600
|
+
),
|
|
1601
|
+
j
|
|
1602
|
+
]
|
|
1603
|
+
}
|
|
1604
|
+
)
|
|
1619
1605
|
);
|
|
1620
1606
|
Dt.displayName = "SelectorCard";
|
|
1621
|
-
const
|
|
1607
|
+
const Vr = ({
|
|
1622
1608
|
value: t,
|
|
1623
1609
|
onClick: r,
|
|
1624
1610
|
className: s,
|
|
@@ -1629,18 +1615,18 @@ const ts = ({
|
|
|
1629
1615
|
role: r ? "button" : void 0,
|
|
1630
1616
|
tabIndex: r ? 0 : void 0,
|
|
1631
1617
|
onClick: r,
|
|
1632
|
-
className:
|
|
1618
|
+
className: c(
|
|
1633
1619
|
"mx-3 mb-3 flex items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",
|
|
1634
1620
|
r && "cursor-pointer",
|
|
1635
1621
|
s
|
|
1636
1622
|
),
|
|
1637
1623
|
...n,
|
|
1638
1624
|
children: [
|
|
1639
|
-
/* @__PURE__ */ e.jsx(
|
|
1625
|
+
/* @__PURE__ */ e.jsx(Ft, { size: 16, className: "shrink-0 text-gray-900", "aria-hidden": !0 }),
|
|
1640
1626
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: t })
|
|
1641
1627
|
]
|
|
1642
1628
|
}
|
|
1643
|
-
),
|
|
1629
|
+
), Hr = ({
|
|
1644
1630
|
value: t,
|
|
1645
1631
|
onInfoClick: r,
|
|
1646
1632
|
infoLabel: s = "More info",
|
|
@@ -1649,7 +1635,7 @@ const ts = ({
|
|
|
1649
1635
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1650
1636
|
"div",
|
|
1651
1637
|
{
|
|
1652
|
-
className:
|
|
1638
|
+
className: c(
|
|
1653
1639
|
"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",
|
|
1654
1640
|
n
|
|
1655
1641
|
),
|
|
@@ -1663,61 +1649,61 @@ const ts = ({
|
|
|
1663
1649
|
onClick: r,
|
|
1664
1650
|
"aria-label": s,
|
|
1665
1651
|
className: "shrink-0 border-0 bg-transparent p-0 text-gray-700",
|
|
1666
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1652
|
+
children: /* @__PURE__ */ e.jsx(xe, { size: 18, "aria-hidden": !0 })
|
|
1667
1653
|
}
|
|
1668
|
-
) : /* @__PURE__ */ e.jsx(
|
|
1654
|
+
) : /* @__PURE__ */ e.jsx(xe, { size: 18, className: "shrink-0 text-gray-700", "aria-hidden": !0 })
|
|
1669
1655
|
]
|
|
1670
1656
|
}
|
|
1671
|
-
),
|
|
1657
|
+
), Ja = ({
|
|
1672
1658
|
value: t,
|
|
1673
1659
|
className: r,
|
|
1674
1660
|
...s
|
|
1675
1661
|
}) => /* @__PURE__ */ e.jsx(
|
|
1676
1662
|
"span",
|
|
1677
1663
|
{
|
|
1678
|
-
className:
|
|
1679
|
-
"inline-flex items-center rounded-full bg-white px-3 py-1 text-sm font-semibold text-
|
|
1664
|
+
className: c(
|
|
1665
|
+
"inline-flex items-center rounded-full bg-white px-3 py-1 text-sm font-semibold text-emerald-600",
|
|
1680
1666
|
r
|
|
1681
1667
|
),
|
|
1682
1668
|
...s,
|
|
1683
1669
|
children: t
|
|
1684
1670
|
}
|
|
1685
|
-
),
|
|
1671
|
+
), Xa = ({ className: t, children: r, ...s }) => /* @__PURE__ */ e.jsx(
|
|
1686
1672
|
"div",
|
|
1687
1673
|
{
|
|
1688
|
-
className:
|
|
1689
|
-
"rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#
|
|
1674
|
+
className: c(
|
|
1675
|
+
"rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#b45309]",
|
|
1690
1676
|
t
|
|
1691
1677
|
),
|
|
1692
1678
|
...s,
|
|
1693
1679
|
children: r
|
|
1694
1680
|
}
|
|
1695
|
-
),
|
|
1681
|
+
), Wr = ({
|
|
1696
1682
|
value: t,
|
|
1697
1683
|
onIncrement: r,
|
|
1698
1684
|
onDecrement: s,
|
|
1699
1685
|
min: n = 0,
|
|
1700
1686
|
max: i,
|
|
1701
|
-
addLabel:
|
|
1687
|
+
addLabel: o = "Add",
|
|
1702
1688
|
className: u
|
|
1703
1689
|
}) => t <= n ? /* @__PURE__ */ e.jsxs(
|
|
1704
1690
|
"button",
|
|
1705
1691
|
{
|
|
1706
1692
|
type: "button",
|
|
1707
1693
|
onClick: r,
|
|
1708
|
-
className:
|
|
1694
|
+
className: c(
|
|
1709
1695
|
"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] text-base font-bold text-white",
|
|
1710
1696
|
u
|
|
1711
1697
|
),
|
|
1712
1698
|
children: [
|
|
1713
|
-
/* @__PURE__ */ e.jsx(
|
|
1714
|
-
|
|
1699
|
+
/* @__PURE__ */ e.jsx(ft, { size: 20, "aria-hidden": !0 }),
|
|
1700
|
+
o
|
|
1715
1701
|
]
|
|
1716
1702
|
}
|
|
1717
1703
|
) : /* @__PURE__ */ e.jsxs(
|
|
1718
1704
|
"div",
|
|
1719
1705
|
{
|
|
1720
|
-
className:
|
|
1706
|
+
className: c(
|
|
1721
1707
|
"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",
|
|
1722
1708
|
u
|
|
1723
1709
|
),
|
|
@@ -1741,12 +1727,12 @@ const ts = ({
|
|
|
1741
1727
|
disabled: i !== void 0 && t >= i,
|
|
1742
1728
|
"aria-label": "Increase quantity",
|
|
1743
1729
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors disabled:pointer-events-none disabled:opacity-40",
|
|
1744
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1730
|
+
children: /* @__PURE__ */ e.jsx(ft, { size: 18, "aria-hidden": !0 })
|
|
1745
1731
|
}
|
|
1746
1732
|
)
|
|
1747
1733
|
]
|
|
1748
1734
|
}
|
|
1749
|
-
),
|
|
1735
|
+
), mt = {
|
|
1750
1736
|
en: {
|
|
1751
1737
|
headerTitle: "Review your booking",
|
|
1752
1738
|
addonsTitle: "Add services for all ancestors",
|
|
@@ -1771,18 +1757,18 @@ const ts = ({
|
|
|
1771
1757
|
checkoutRitualSingular: "पूजा-विधि",
|
|
1772
1758
|
checkoutRitualPlural: "पूजा-विधि"
|
|
1773
1759
|
}
|
|
1774
|
-
},
|
|
1760
|
+
}, Ce = (t) => mt[t] ?? mt.en, It = ({
|
|
1775
1761
|
title: t,
|
|
1776
1762
|
description: r,
|
|
1777
1763
|
price: s,
|
|
1778
1764
|
originalPrice: n,
|
|
1779
1765
|
action: i,
|
|
1780
|
-
className:
|
|
1766
|
+
className: o,
|
|
1781
1767
|
...u
|
|
1782
1768
|
}) => /* @__PURE__ */ e.jsx(
|
|
1783
1769
|
"div",
|
|
1784
1770
|
{
|
|
1785
|
-
className:
|
|
1771
|
+
className: c("rounded-2xl border border-gray-200 bg-white p-4", o),
|
|
1786
1772
|
...u,
|
|
1787
1773
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-between gap-3", children: [
|
|
1788
1774
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
@@ -1798,10 +1784,10 @@ const ts = ({
|
|
|
1798
1784
|
] })
|
|
1799
1785
|
] })
|
|
1800
1786
|
}
|
|
1801
|
-
),
|
|
1802
|
-
const { mandapTitle: s, mandapDescription: n } =
|
|
1803
|
-
return /* @__PURE__ */ e.jsx(
|
|
1804
|
-
},
|
|
1787
|
+
), Qa = ({ locale: t = "en", ...r }) => {
|
|
1788
|
+
const { mandapTitle: s, mandapDescription: n } = Ce(t);
|
|
1789
|
+
return /* @__PURE__ */ e.jsx(It, { title: s, description: n, ...r });
|
|
1790
|
+
}, Ur = ({
|
|
1805
1791
|
children: t = "Change",
|
|
1806
1792
|
className: r,
|
|
1807
1793
|
type: s = "button",
|
|
@@ -1810,128 +1796,134 @@ const ts = ({
|
|
|
1810
1796
|
"button",
|
|
1811
1797
|
{
|
|
1812
1798
|
type: s,
|
|
1813
|
-
className:
|
|
1799
|
+
className: c(
|
|
1814
1800
|
"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",
|
|
1815
1801
|
r
|
|
1816
1802
|
),
|
|
1817
1803
|
...n,
|
|
1818
1804
|
children: [
|
|
1819
|
-
/* @__PURE__ */ e.jsx(
|
|
1805
|
+
/* @__PURE__ */ e.jsx(Ft, { size: 14, "aria-hidden": !0 }),
|
|
1820
1806
|
t
|
|
1821
1807
|
]
|
|
1822
1808
|
}
|
|
1823
|
-
),
|
|
1809
|
+
), Gr = ({
|
|
1824
1810
|
locale: t = "en",
|
|
1825
1811
|
isAdded: r = !0,
|
|
1826
1812
|
children: s,
|
|
1827
1813
|
className: n,
|
|
1828
1814
|
type: i = "button",
|
|
1829
|
-
...
|
|
1815
|
+
...o
|
|
1830
1816
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1831
1817
|
"button",
|
|
1832
1818
|
{
|
|
1833
1819
|
type: i,
|
|
1834
|
-
className:
|
|
1820
|
+
className: c(
|
|
1835
1821
|
"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",
|
|
1836
1822
|
n
|
|
1837
1823
|
),
|
|
1838
|
-
...
|
|
1824
|
+
...o,
|
|
1839
1825
|
children: [
|
|
1840
|
-
r && /* @__PURE__ */ e.jsx(
|
|
1841
|
-
s ?? (r ?
|
|
1826
|
+
r && /* @__PURE__ */ e.jsx(Ve, { size: 14, "aria-hidden": !0 }),
|
|
1827
|
+
s ?? (r ? Ce(t).addedLabel : Ce(t).addLabel)
|
|
1842
1828
|
]
|
|
1843
1829
|
}
|
|
1844
|
-
),
|
|
1845
|
-
card: tr,
|
|
1846
|
-
tag: ar,
|
|
1847
|
-
content: rr,
|
|
1848
|
-
info: sr,
|
|
1849
|
-
title: nr,
|
|
1850
|
-
description: lr,
|
|
1851
|
-
priceRow: ir,
|
|
1852
|
-
price: or,
|
|
1853
|
-
originalPrice: cr,
|
|
1854
|
-
imageWrap: dr,
|
|
1855
|
-
image: ur,
|
|
1856
|
-
actionWrap: xr
|
|
1857
|
-
}, fr = ({
|
|
1830
|
+
), er = ({
|
|
1858
1831
|
image: t,
|
|
1859
1832
|
imageAlt: r = "",
|
|
1860
1833
|
title: s,
|
|
1861
1834
|
description: n,
|
|
1862
1835
|
price: i,
|
|
1863
|
-
originalPrice:
|
|
1836
|
+
originalPrice: o,
|
|
1864
1837
|
tag: u,
|
|
1865
1838
|
tagClassName: f,
|
|
1866
1839
|
action: x,
|
|
1867
1840
|
className: b,
|
|
1868
1841
|
...p
|
|
1869
|
-
}) => /* @__PURE__ */ e.jsxs(
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1842
|
+
}) => /* @__PURE__ */ e.jsxs(
|
|
1843
|
+
"div",
|
|
1844
|
+
{
|
|
1845
|
+
className: c(
|
|
1846
|
+
"overflow-hidden rounded-2xl border border-gray-100 bg-white shadow-sm",
|
|
1847
|
+
b
|
|
1848
|
+
),
|
|
1849
|
+
...p,
|
|
1850
|
+
children: [
|
|
1851
|
+
u && /* @__PURE__ */ e.jsx(
|
|
1852
|
+
"div",
|
|
1853
|
+
{
|
|
1854
|
+
className: c(
|
|
1855
|
+
"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",
|
|
1856
|
+
f
|
|
1857
|
+
),
|
|
1858
|
+
children: u
|
|
1859
|
+
}
|
|
1860
|
+
),
|
|
1861
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex gap-3 p-3", children: [
|
|
1862
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
1863
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-sm leading-5 font-bold text-[#232323]", children: s }),
|
|
1864
|
+
n && /* @__PURE__ */ e.jsx("p", { className: "mt-1 text-xs leading-4 text-[#6B7280]", children: n }),
|
|
1865
|
+
/* @__PURE__ */ e.jsxs("div", { className: "mt-auto flex items-baseline gap-1.5 whitespace-nowrap pt-3", children: [
|
|
1866
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] font-semibold text-emerald-600", children: i }),
|
|
1867
|
+
o && /* @__PURE__ */ e.jsx("span", { className: "text-sm text-gray-400 line-through", children: o })
|
|
1868
|
+
] })
|
|
1869
|
+
] }),
|
|
1870
|
+
/* @__PURE__ */ e.jsxs("div", { className: "relative w-30 h-34.25 shrink-0", children: [
|
|
1871
|
+
/* @__PURE__ */ e.jsx("img", { src: t, alt: r, className: "size-30 rounded-2xl object-cover" }),
|
|
1872
|
+
x && /* @__PURE__ */ e.jsx("div", { className: "absolute bottom-0 left-1/2 -translate-x-1/2", children: x })
|
|
1873
|
+
] })
|
|
1878
1874
|
] })
|
|
1879
|
-
]
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
] })
|
|
1885
|
-
] });
|
|
1886
|
-
function $t(t) {
|
|
1887
|
-
return O({ 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);
|
|
1875
|
+
]
|
|
1876
|
+
}
|
|
1877
|
+
);
|
|
1878
|
+
function Mt(t) {
|
|
1879
|
+
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);
|
|
1888
1880
|
}
|
|
1889
|
-
function
|
|
1890
|
-
return
|
|
1881
|
+
function $t(t) {
|
|
1882
|
+
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);
|
|
1891
1883
|
}
|
|
1892
1884
|
function Vt(t) {
|
|
1893
|
-
return
|
|
1885
|
+
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);
|
|
1894
1886
|
}
|
|
1895
|
-
const
|
|
1896
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(
|
|
1897
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(
|
|
1887
|
+
const tr = [
|
|
1888
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx($t, { "aria-hidden": !0 }), label: "100% Money Back Guarantee" },
|
|
1889
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(Mt, { "aria-hidden": !0 }), label: "No Hidden Cost" },
|
|
1898
1890
|
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(Vt, { "aria-hidden": !0 }), label: "24x7 Support" }
|
|
1899
|
-
],
|
|
1891
|
+
], bt = (t, r, s) => /* @__PURE__ */ e.jsxs(
|
|
1900
1892
|
"span",
|
|
1901
1893
|
{
|
|
1902
|
-
className:
|
|
1894
|
+
className: c("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700", s, t.className),
|
|
1903
1895
|
children: [
|
|
1904
1896
|
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-base text-gray-700", "aria-hidden": !0, children: t.icon }),
|
|
1905
1897
|
t.label
|
|
1906
1898
|
]
|
|
1907
1899
|
},
|
|
1908
1900
|
r
|
|
1909
|
-
),
|
|
1910
|
-
badges: t =
|
|
1901
|
+
), ar = ({
|
|
1902
|
+
badges: t = tr,
|
|
1911
1903
|
badgeClassName: r,
|
|
1912
1904
|
marquee: s = !0,
|
|
1913
1905
|
marqueeDurationSeconds: n = 14,
|
|
1914
1906
|
className: i,
|
|
1915
|
-
...
|
|
1916
|
-
}) => s ? /* @__PURE__ */ e.jsx("div", { className:
|
|
1907
|
+
...o
|
|
1908
|
+
}) => s ? /* @__PURE__ */ e.jsx("div", { className: c("overflow-hidden bg-[#f3f5f7] px-4 py-3", i), ...o, children: /* @__PURE__ */ e.jsx(
|
|
1917
1909
|
"div",
|
|
1918
1910
|
{
|
|
1919
1911
|
className: "flex w-max items-center gap-5 whitespace-nowrap motion-reduce:animate-none",
|
|
1920
1912
|
style: { animation: `pitru-paksh-trust-badges-marquee ${n}s linear infinite` },
|
|
1921
|
-
children: [...t, ...t].map((u, f) =>
|
|
1913
|
+
children: [...t, ...t].map((u, f) => bt(u, `${u.id}-${f}`, r))
|
|
1922
1914
|
}
|
|
1923
1915
|
) }) : /* @__PURE__ */ e.jsx(
|
|
1924
1916
|
"div",
|
|
1925
1917
|
{
|
|
1926
|
-
className:
|
|
1918
|
+
className: c(
|
|
1927
1919
|
"flex items-center gap-5 overflow-x-auto bg-[#f3f5f7] px-4 py-3 whitespace-nowrap",
|
|
1928
1920
|
"scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",
|
|
1929
1921
|
i
|
|
1930
1922
|
),
|
|
1931
|
-
...
|
|
1932
|
-
children: t.map((u) =>
|
|
1923
|
+
...o,
|
|
1924
|
+
children: t.map((u) => bt(u, u.id, r))
|
|
1933
1925
|
}
|
|
1934
|
-
),
|
|
1926
|
+
), gt = {
|
|
1935
1927
|
en: {
|
|
1936
1928
|
proceedLabel: "Proceed"
|
|
1937
1929
|
},
|
|
@@ -1941,48 +1933,48 @@ const pr = [
|
|
|
1941
1933
|
te: {
|
|
1942
1934
|
proceedLabel: "ముందుకు సాగండి"
|
|
1943
1935
|
}
|
|
1944
|
-
},
|
|
1936
|
+
}, rr = (t) => gt[t] ?? gt.en, Ue = ({
|
|
1945
1937
|
locale: t = "en",
|
|
1946
1938
|
amount: r,
|
|
1947
1939
|
amountClassName: s,
|
|
1948
1940
|
subtitle: n,
|
|
1949
1941
|
subtitleClassName: i,
|
|
1950
|
-
showInfoIcon:
|
|
1942
|
+
showInfoIcon: o = !0,
|
|
1951
1943
|
onInfoClick: u,
|
|
1952
1944
|
infoIconClassName: f,
|
|
1953
1945
|
proceedLabel: x,
|
|
1954
|
-
proceedIcon: b = /* @__PURE__ */ e.jsx(
|
|
1946
|
+
proceedIcon: b = /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
1955
1947
|
onProceed: p,
|
|
1956
1948
|
proceedButtonProps: d,
|
|
1957
1949
|
buttonWrapperClassName: v,
|
|
1958
1950
|
className: g,
|
|
1959
1951
|
...j
|
|
1960
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
1952
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3 rounded-t-3xl bg-white px-4 py-4 shadow-[0_-2px_12px_rgba(0,0,0,0.08)]", g), ...j, children: [
|
|
1961
1953
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1962
1954
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
1963
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1964
|
-
|
|
1955
|
+
/* @__PURE__ */ e.jsx("span", { className: c("text-xl font-extrabold text-[#1d2125]", s), children: r }),
|
|
1956
|
+
o && /* @__PURE__ */ e.jsx(
|
|
1965
1957
|
"button",
|
|
1966
1958
|
{
|
|
1967
1959
|
type: "button",
|
|
1968
1960
|
onClick: u,
|
|
1969
1961
|
"aria-label": "View bill details",
|
|
1970
|
-
className:
|
|
1962
|
+
className: c(
|
|
1971
1963
|
"inline-flex shrink-0 items-center justify-center text-[#f75e22]",
|
|
1972
1964
|
!u && "pointer-events-none",
|
|
1973
1965
|
f
|
|
1974
1966
|
),
|
|
1975
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1967
|
+
children: /* @__PURE__ */ e.jsx(xe, { size: 18, "aria-hidden": !0 })
|
|
1976
1968
|
}
|
|
1977
1969
|
)
|
|
1978
1970
|
] }),
|
|
1979
|
-
n && /* @__PURE__ */ e.jsx("p", { className:
|
|
1971
|
+
n && /* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", i), children: n })
|
|
1980
1972
|
] }),
|
|
1981
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1982
|
-
x ??
|
|
1973
|
+
/* @__PURE__ */ e.jsx("div", { className: c("shrink-0", v), children: /* @__PURE__ */ e.jsxs(q, { variant: "primary", size: "xl", onClick: p, ...d, className: c("min-w-40 justify-center gap-2 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]", d?.className), children: [
|
|
1974
|
+
x ?? rr(t).proceedLabel,
|
|
1983
1975
|
b
|
|
1984
1976
|
] }) })
|
|
1985
|
-
] }),
|
|
1977
|
+
] }), vt = {
|
|
1986
1978
|
en: {
|
|
1987
1979
|
title: "Select the number of people performing the Puja (Karta)",
|
|
1988
1980
|
description: "Performing the puja together with the whole family brings ancestors’ blessings and family prosperity",
|
|
@@ -2025,13 +2017,13 @@ const pr = [
|
|
|
2025
2017
|
support: "కస్టమర్ సపోర్ట్"
|
|
2026
2018
|
}
|
|
2027
2019
|
}
|
|
2028
|
-
},
|
|
2020
|
+
}, sr = (t) => vt[t] ?? vt.en, qr = ({
|
|
2029
2021
|
locale: t = "en",
|
|
2030
2022
|
title: r,
|
|
2031
2023
|
description: s,
|
|
2032
2024
|
benefits: n,
|
|
2033
2025
|
options: i,
|
|
2034
|
-
value:
|
|
2026
|
+
value: o,
|
|
2035
2027
|
onChange: u,
|
|
2036
2028
|
radioVariant: f = "dot",
|
|
2037
2029
|
radiogroupLabel: x,
|
|
@@ -2041,67 +2033,67 @@ const pr = [
|
|
|
2041
2033
|
optionsClassName: v,
|
|
2042
2034
|
trustBadges: g,
|
|
2043
2035
|
checkout: j,
|
|
2044
|
-
stickyFooter:
|
|
2045
|
-
footerClassName:
|
|
2036
|
+
stickyFooter: L = !0,
|
|
2037
|
+
footerClassName: k
|
|
2046
2038
|
}) => {
|
|
2047
|
-
const y =
|
|
2039
|
+
const y = sr(t), N = r ?? y.title, S = s ?? y.description, h = n ?? y.benefits, O = g ?? {
|
|
2048
2040
|
badges: [
|
|
2049
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(
|
|
2050
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(
|
|
2041
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx($t, { "aria-hidden": !0 }), label: y.trustBadgeLabels.moneyBack },
|
|
2042
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(Mt, { "aria-hidden": !0 }), label: y.trustBadgeLabels.noHiddenCost },
|
|
2051
2043
|
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(Vt, { "aria-hidden": !0 }), label: y.trustBadgeLabels.support }
|
|
2052
2044
|
]
|
|
2053
2045
|
};
|
|
2054
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2055
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2046
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("w-full", b), children: [
|
|
2047
|
+
/* @__PURE__ */ e.jsxs("div", { className: c("px-4 pt-5 pb-4", p), children: [
|
|
2056
2048
|
/* @__PURE__ */ e.jsx("p", { className: "text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: N }),
|
|
2057
2049
|
S && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: S })
|
|
2058
2050
|
] }),
|
|
2059
|
-
h && h.length > 0 && /* @__PURE__ */ e.jsx("div", { className:
|
|
2060
|
-
/* @__PURE__ */ e.jsx(
|
|
2061
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children:
|
|
2051
|
+
h && h.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", d), children: h.map((H, B) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
2052
|
+
/* @__PURE__ */ e.jsx(Ve, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
|
|
2053
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: H })
|
|
2062
2054
|
] }, B)) }),
|
|
2063
2055
|
/* @__PURE__ */ e.jsx(
|
|
2064
2056
|
"div",
|
|
2065
2057
|
{
|
|
2066
2058
|
role: "radiogroup",
|
|
2067
2059
|
"aria-label": x ?? (typeof N == "string" ? N : void 0),
|
|
2068
|
-
className:
|
|
2069
|
-
children: i.map((
|
|
2060
|
+
className: c("flex flex-col gap-3 p-4", v),
|
|
2061
|
+
children: i.map((H) => {
|
|
2070
2062
|
const {
|
|
2071
2063
|
id: B,
|
|
2072
2064
|
price: Y,
|
|
2073
|
-
free:
|
|
2074
|
-
badge:
|
|
2075
|
-
priceBadgeProps:
|
|
2065
|
+
free: ae,
|
|
2066
|
+
badge: I,
|
|
2067
|
+
priceBadgeProps: W,
|
|
2076
2068
|
note: K,
|
|
2077
|
-
noteProps:
|
|
2069
|
+
noteProps: M,
|
|
2078
2070
|
children: U,
|
|
2079
|
-
iconClassName:
|
|
2071
|
+
iconClassName: te,
|
|
2080
2072
|
radioVariant: Z,
|
|
2081
2073
|
...J
|
|
2082
|
-
} =
|
|
2074
|
+
} = H, X = o === B, re = I ?? (Y == null ? void 0 : ae ? /* @__PURE__ */ e.jsx("span", { className: c("text-sm font-medium text-gray-400", W?.className), ...W, children: Y }) : /* @__PURE__ */ e.jsx(Ja, { value: Y, ...W }));
|
|
2083
2075
|
return /* @__PURE__ */ e.jsx(
|
|
2084
2076
|
Dt,
|
|
2085
2077
|
{
|
|
2086
2078
|
...J,
|
|
2087
|
-
iconClassName:
|
|
2079
|
+
iconClassName: c("size-10", te),
|
|
2088
2080
|
radioVariant: Z ?? f,
|
|
2089
|
-
badge:
|
|
2081
|
+
badge: re,
|
|
2090
2082
|
selected: X,
|
|
2091
2083
|
onSelect: () => u(B),
|
|
2092
|
-
children: U ?? (X && K && /* @__PURE__ */ e.jsx(
|
|
2084
|
+
children: U ?? (X && K && /* @__PURE__ */ e.jsx(Xa, { ...M, children: K }))
|
|
2093
2085
|
},
|
|
2094
2086
|
B
|
|
2095
2087
|
);
|
|
2096
2088
|
})
|
|
2097
2089
|
}
|
|
2098
2090
|
),
|
|
2099
|
-
(
|
|
2100
|
-
|
|
2101
|
-
j && /* @__PURE__ */ e.jsx(
|
|
2091
|
+
(O || j) && /* @__PURE__ */ e.jsxs("div", { className: c(L && "sticky bottom-0 z-10", k), children: [
|
|
2092
|
+
O && /* @__PURE__ */ e.jsx(ar, { ...O }),
|
|
2093
|
+
j && /* @__PURE__ */ e.jsx(Ue, { ...j })
|
|
2102
2094
|
] })
|
|
2103
2095
|
] });
|
|
2104
|
-
},
|
|
2096
|
+
}, jt = {
|
|
2105
2097
|
en: {
|
|
2106
2098
|
title: "Pitru Paksha Special Rituals",
|
|
2107
2099
|
ancestorsLabel: "Ancestors",
|
|
@@ -2114,13 +2106,13 @@ const pr = [
|
|
|
2114
2106
|
ritualsLabel: "पूजा विधि",
|
|
2115
2107
|
performersLabel: "कर्ता"
|
|
2116
2108
|
}
|
|
2117
|
-
},
|
|
2109
|
+
}, nr = (t) => jt[t] ?? jt.en, lr = ({
|
|
2118
2110
|
locale: t = "en",
|
|
2119
|
-
icon: r = /* @__PURE__ */ e.jsx(
|
|
2111
|
+
icon: r = /* @__PURE__ */ e.jsx(At, { "aria-hidden": !0 }),
|
|
2120
2112
|
iconClassName: s,
|
|
2121
2113
|
title: n,
|
|
2122
2114
|
titleClassName: i,
|
|
2123
|
-
subtitle:
|
|
2115
|
+
subtitle: o,
|
|
2124
2116
|
subtitleItems: u,
|
|
2125
2117
|
stats: f,
|
|
2126
2118
|
subtitleClassName: x,
|
|
@@ -2128,22 +2120,22 @@ const pr = [
|
|
|
2128
2120
|
className: p,
|
|
2129
2121
|
...d
|
|
2130
2122
|
}) => {
|
|
2131
|
-
const v =
|
|
2123
|
+
const v = nr(t), g = n ?? v.title, j = u ?? (f && [
|
|
2132
2124
|
`${f.ancestors} ${v.ancestorsLabel}`,
|
|
2133
2125
|
`${f.rituals} ${v.ritualsLabel}`,
|
|
2134
2126
|
`${f.performers} ${v.performersLabel}`
|
|
2135
2127
|
]);
|
|
2136
|
-
return /* @__PURE__ */ e.jsx("div", { className:
|
|
2137
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
2138
|
-
r && /* @__PURE__ */ e.jsx("span", { className:
|
|
2128
|
+
return /* @__PURE__ */ e.jsx("div", { className: c("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", p), ...d, children: /* @__PURE__ */ e.jsxs("div", { className: c("rounded-2xl bg-white p-4 shadow-sm", b), children: [
|
|
2129
|
+
/* @__PURE__ */ e.jsxs("p", { className: c("flex items-center gap-2 text-sm font-bold text-[#db2777]", i), children: [
|
|
2130
|
+
r && /* @__PURE__ */ e.jsx("span", { className: c("shrink-0 text-sm", s), children: r }),
|
|
2139
2131
|
g
|
|
2140
2132
|
] }),
|
|
2141
|
-
(
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
] },
|
|
2133
|
+
(o || j && j.length > 0) && /* @__PURE__ */ e.jsx("p", { className: c("mt-2 text-[15px] font-semibold text-[#1d2125]", x), children: j && j.length > 0 ? j.map((L, k) => /* @__PURE__ */ e.jsxs(_.Fragment, { children: [
|
|
2134
|
+
k > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
|
|
2135
|
+
L
|
|
2136
|
+
] }, k)) : o })
|
|
2145
2137
|
] }) });
|
|
2146
|
-
},
|
|
2138
|
+
}, yt = {
|
|
2147
2139
|
en: {
|
|
2148
2140
|
title: "Bill Details",
|
|
2149
2141
|
totalLabel: "Total Amount"
|
|
@@ -2152,46 +2144,46 @@ const pr = [
|
|
|
2152
2144
|
title: "बिल विवरण",
|
|
2153
2145
|
totalLabel: "कुल राशि"
|
|
2154
2146
|
}
|
|
2155
|
-
},
|
|
2147
|
+
}, ir = (t) => yt[t] ?? yt.en, or = ({
|
|
2156
2148
|
locale: t = "en",
|
|
2157
2149
|
titleClassName: r,
|
|
2158
2150
|
rows: s,
|
|
2159
2151
|
rowClassName: n,
|
|
2160
2152
|
showTitleAccent: i = !0,
|
|
2161
|
-
totalValue:
|
|
2153
|
+
totalValue: o,
|
|
2162
2154
|
totalClassName: u,
|
|
2163
2155
|
className: f,
|
|
2164
2156
|
...x
|
|
2165
2157
|
}) => {
|
|
2166
|
-
const { title: b, totalLabel: p } =
|
|
2167
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2168
|
-
/* @__PURE__ */ e.jsxs("h2", { className:
|
|
2158
|
+
const { title: b, totalLabel: p } = ir(t);
|
|
2159
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("bg-white px-4 py-6", f), ...x, children: [
|
|
2160
|
+
/* @__PURE__ */ e.jsxs("h2", { className: c("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]", r), children: [
|
|
2169
2161
|
i && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]" }),
|
|
2170
2162
|
b
|
|
2171
2163
|
] }),
|
|
2172
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-4", children: s.map((d) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
2164
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-4", children: s.map((d) => /* @__PURE__ */ e.jsxs("div", { className: c("flex items-start justify-between gap-3", n), children: [
|
|
2173
2165
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
|
|
2174
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2175
|
-
d.subLabel && /* @__PURE__ */ e.jsx("p", { className:
|
|
2166
|
+
/* @__PURE__ */ e.jsx("p", { className: c("text-sm text-[#1d2125]", d.labelClassName), children: d.label }),
|
|
2167
|
+
d.subLabel && /* @__PURE__ */ e.jsx("p", { className: c("mt-0.5 text-xs text-gray-400", d.subLabelClassName), children: d.subLabel })
|
|
2176
2168
|
] }),
|
|
2177
2169
|
/* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm", children: [
|
|
2178
2170
|
d.note && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400", children: d.note }),
|
|
2179
2171
|
d.originalValue && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400 line-through", children: d.originalValue }),
|
|
2180
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2172
|
+
/* @__PURE__ */ e.jsx("span", { className: c("font-medium text-[#1d2125]", d.valueClassName), children: d.value })
|
|
2181
2173
|
] })
|
|
2182
2174
|
] }, d.id)) }),
|
|
2183
|
-
|
|
2175
|
+
o !== void 0 && /* @__PURE__ */ e.jsxs("div", { className: c("mt-4 flex items-center justify-between border-t border-dashed border-gray-300 pt-4", u), children: [
|
|
2184
2176
|
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-[#1d2125]", children: p }),
|
|
2185
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children:
|
|
2177
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children: o })
|
|
2186
2178
|
] })
|
|
2187
2179
|
] });
|
|
2188
|
-
},
|
|
2180
|
+
}, Yr = ({
|
|
2189
2181
|
locale: t = "en",
|
|
2190
2182
|
onBack: r,
|
|
2191
2183
|
backButtonAriaLabel: s = "Go back",
|
|
2192
2184
|
headerClassName: n,
|
|
2193
2185
|
backButtonClassName: i,
|
|
2194
|
-
headerTitleClassName:
|
|
2186
|
+
headerTitleClassName: o,
|
|
2195
2187
|
summary: u,
|
|
2196
2188
|
items: f,
|
|
2197
2189
|
itemsClassName: x,
|
|
@@ -2201,83 +2193,83 @@ const pr = [
|
|
|
2201
2193
|
addonsHeaderClassName: v,
|
|
2202
2194
|
addonsTitleClassName: g,
|
|
2203
2195
|
addonsDescriptionClassName: j,
|
|
2204
|
-
addonsClassName:
|
|
2205
|
-
addonClassName:
|
|
2196
|
+
addonsClassName: L,
|
|
2197
|
+
addonClassName: k,
|
|
2206
2198
|
billDetails: y,
|
|
2207
2199
|
faq: N,
|
|
2208
2200
|
checkout: S,
|
|
2209
2201
|
className: h,
|
|
2210
|
-
children:
|
|
2211
|
-
...
|
|
2202
|
+
children: O,
|
|
2203
|
+
...H
|
|
2212
2204
|
}) => {
|
|
2213
|
-
const { headerTitle: B, addonsTitle: Y, addonsDescription:
|
|
2214
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2205
|
+
const { headerTitle: B, addonsTitle: Y, addonsDescription: ae, checkoutProceedLabel: I, checkoutRitualSingular: W, checkoutRitualPlural: K } = Ce(t), { price: M, ritualCount: U, ...te } = S ?? {};
|
|
2206
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("flex min-h-screen flex-col bg-white", h), ...H, children: [
|
|
2215
2207
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
2216
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2208
|
+
/* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3 px-4 py-3", n), children: [
|
|
2217
2209
|
r && /* @__PURE__ */ e.jsx(
|
|
2218
2210
|
"button",
|
|
2219
2211
|
{
|
|
2220
2212
|
type: "button",
|
|
2221
2213
|
onClick: r,
|
|
2222
2214
|
"aria-label": s,
|
|
2223
|
-
className:
|
|
2215
|
+
className: c(
|
|
2224
2216
|
"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",
|
|
2225
2217
|
i
|
|
2226
2218
|
),
|
|
2227
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2219
|
+
children: /* @__PURE__ */ e.jsx(We, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
2228
2220
|
}
|
|
2229
2221
|
),
|
|
2230
|
-
/* @__PURE__ */ e.jsx("h1", { className:
|
|
2222
|
+
/* @__PURE__ */ e.jsx("h1", { className: c("text-lg font-bold text-[#1d2125]", o), children: B })
|
|
2231
2223
|
] }),
|
|
2232
|
-
u && /* @__PURE__ */ e.jsx(
|
|
2233
|
-
f && f.length > 0 && /* @__PURE__ */ e.jsx("div", { className:
|
|
2234
|
-
({ id: Z, className: J, isMandapCharge: X, ...
|
|
2235
|
-
|
|
2224
|
+
u && /* @__PURE__ */ e.jsx(lr, { ...u }),
|
|
2225
|
+
f && f.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3 bg-white px-4 py-4", x), children: f.map(
|
|
2226
|
+
({ id: Z, className: J, isMandapCharge: X, ...re }) => X ? /* @__PURE__ */ e.jsx(
|
|
2227
|
+
Qa,
|
|
2236
2228
|
{
|
|
2237
2229
|
locale: t,
|
|
2238
|
-
className:
|
|
2239
|
-
...
|
|
2230
|
+
className: c(b, J),
|
|
2231
|
+
...re
|
|
2240
2232
|
},
|
|
2241
2233
|
Z
|
|
2242
2234
|
) : /* @__PURE__ */ e.jsx(
|
|
2243
|
-
|
|
2235
|
+
It,
|
|
2244
2236
|
{
|
|
2245
|
-
className:
|
|
2246
|
-
...
|
|
2237
|
+
className: c(b, J),
|
|
2238
|
+
...re
|
|
2247
2239
|
},
|
|
2248
2240
|
Z
|
|
2249
2241
|
)
|
|
2250
2242
|
) }),
|
|
2251
|
-
p && p.length > 0 && /* @__PURE__ */ e.jsxs("div", { className:
|
|
2243
|
+
p && p.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: c("flex flex-col gap-4 bg-gray-50 px-4 py-6", d), children: [
|
|
2252
2244
|
/* @__PURE__ */ e.jsxs("div", { className: v, children: [
|
|
2253
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
2254
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2245
|
+
/* @__PURE__ */ e.jsx("h2", { className: c("text-base font-bold text-gray-700", g), children: Y }),
|
|
2246
|
+
/* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", j), children: ae })
|
|
2255
2247
|
] }),
|
|
2256
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2248
|
+
/* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-4", L), children: p.map(({ id: Z, className: J, ...X }) => /* @__PURE__ */ e.jsx(er, { className: c(k, J), ...X }, Z)) })
|
|
2257
2249
|
] }),
|
|
2258
|
-
y && /* @__PURE__ */ e.jsx(
|
|
2250
|
+
y && /* @__PURE__ */ e.jsx(or, { ...y, locale: t }),
|
|
2259
2251
|
N && /* @__PURE__ */ e.jsx(Ha, { ...N }),
|
|
2260
|
-
|
|
2252
|
+
O
|
|
2261
2253
|
] }),
|
|
2262
2254
|
S && /* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0", children: /* @__PURE__ */ e.jsx(
|
|
2263
|
-
|
|
2255
|
+
Ue,
|
|
2264
2256
|
{
|
|
2265
|
-
...
|
|
2257
|
+
...te,
|
|
2266
2258
|
locale: t,
|
|
2267
|
-
amount:
|
|
2268
|
-
subtitle: `${U} ${U === 1 ?
|
|
2269
|
-
proceedLabel:
|
|
2259
|
+
amount: M,
|
|
2260
|
+
subtitle: `${U} ${U === 1 ? W : K}`,
|
|
2261
|
+
proceedLabel: I
|
|
2270
2262
|
}
|
|
2271
2263
|
) })
|
|
2272
2264
|
] });
|
|
2273
|
-
},
|
|
2265
|
+
}, ne = _.forwardRef(
|
|
2274
2266
|
({
|
|
2275
2267
|
label: t,
|
|
2276
2268
|
value: r,
|
|
2277
2269
|
onChange: s,
|
|
2278
2270
|
prefix: n,
|
|
2279
2271
|
showCharCount: i = !1,
|
|
2280
|
-
supportingText:
|
|
2272
|
+
supportingText: o,
|
|
2281
2273
|
error: u = !1,
|
|
2282
2274
|
className: f,
|
|
2283
2275
|
containerClassName: x,
|
|
@@ -2286,14 +2278,14 @@ const pr = [
|
|
|
2286
2278
|
id: d,
|
|
2287
2279
|
...v
|
|
2288
2280
|
}, g) => {
|
|
2289
|
-
const j =
|
|
2290
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2291
|
-
t && /* @__PURE__ */ e.jsx("label", { htmlFor:
|
|
2281
|
+
const j = _.useId(), L = d ?? j, k = o ?? (i ? `${r.length}${p ? `/${p}` : ""}` : void 0);
|
|
2282
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("flex w-full flex-col gap-2", x), children: [
|
|
2283
|
+
t && /* @__PURE__ */ e.jsx("label", { htmlFor: L, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: t }),
|
|
2292
2284
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
2293
2285
|
/* @__PURE__ */ e.jsxs(
|
|
2294
2286
|
"div",
|
|
2295
2287
|
{
|
|
2296
|
-
className:
|
|
2288
|
+
className: c(
|
|
2297
2289
|
"flex w-full items-center gap-1.5 rounded-lg border bg-white p-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",
|
|
2298
2290
|
u ? "border-[#ef4444]" : "border-[#d1d5db]",
|
|
2299
2291
|
b
|
|
@@ -2304,12 +2296,12 @@ const pr = [
|
|
|
2304
2296
|
"input",
|
|
2305
2297
|
{
|
|
2306
2298
|
ref: g,
|
|
2307
|
-
id:
|
|
2299
|
+
id: L,
|
|
2308
2300
|
value: r,
|
|
2309
2301
|
maxLength: p,
|
|
2310
2302
|
onChange: (y) => s(y.target.value),
|
|
2311
2303
|
"aria-invalid": u,
|
|
2312
|
-
className:
|
|
2304
|
+
className: c(
|
|
2313
2305
|
"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",
|
|
2314
2306
|
f
|
|
2315
2307
|
),
|
|
@@ -2319,23 +2311,23 @@ const pr = [
|
|
|
2319
2311
|
]
|
|
2320
2312
|
}
|
|
2321
2313
|
),
|
|
2322
|
-
|
|
2314
|
+
k && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#9ca3af]", children: k })
|
|
2323
2315
|
] })
|
|
2324
2316
|
] });
|
|
2325
2317
|
}
|
|
2326
2318
|
);
|
|
2327
|
-
|
|
2328
|
-
function
|
|
2319
|
+
ne.displayName = "TextField";
|
|
2320
|
+
function Kr({
|
|
2329
2321
|
isOpen: t,
|
|
2330
2322
|
onClose: r,
|
|
2331
2323
|
avatarUrl: s,
|
|
2332
2324
|
heading: n,
|
|
2333
2325
|
tithis: i,
|
|
2334
|
-
confirmLabel:
|
|
2326
|
+
confirmLabel: o,
|
|
2335
2327
|
onConfirm: u,
|
|
2336
2328
|
initialTithi: f
|
|
2337
2329
|
}) {
|
|
2338
|
-
const [x, b] =
|
|
2330
|
+
const [x, b] = $(f), p = () => {
|
|
2339
2331
|
x && u(x);
|
|
2340
2332
|
};
|
|
2341
2333
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -2344,7 +2336,7 @@ function os({
|
|
|
2344
2336
|
isOpen: t,
|
|
2345
2337
|
onClose: r,
|
|
2346
2338
|
showDragHandle: !0,
|
|
2347
|
-
|
|
2339
|
+
closeButtonOutside: !0,
|
|
2348
2340
|
ariaLabel: n,
|
|
2349
2341
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-3 px-5 pt-2", children: [
|
|
2350
2342
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3", children: [
|
|
@@ -2363,7 +2355,7 @@ function os({
|
|
|
2363
2355
|
className: "w-full rounded-xl",
|
|
2364
2356
|
disabled: !x,
|
|
2365
2357
|
onClick: p,
|
|
2366
|
-
children:
|
|
2358
|
+
children: o
|
|
2367
2359
|
}
|
|
2368
2360
|
)
|
|
2369
2361
|
] }),
|
|
@@ -2383,15 +2375,15 @@ function os({
|
|
|
2383
2375
|
}
|
|
2384
2376
|
);
|
|
2385
2377
|
}
|
|
2386
|
-
const
|
|
2387
|
-
function
|
|
2388
|
-
const n =
|
|
2389
|
-
|
|
2390
|
-
i.current || !n.current || (i.current = !0, n.current.scrollTop = r *
|
|
2378
|
+
const Ne = 48;
|
|
2379
|
+
function Ae({ options: t, selectedIndex: r, onChange: s }) {
|
|
2380
|
+
const n = _.useRef(null), i = _.useRef(!1);
|
|
2381
|
+
_.useEffect(() => {
|
|
2382
|
+
i.current || !n.current || (i.current = !0, n.current.scrollTop = r * Ne);
|
|
2391
2383
|
}, []);
|
|
2392
|
-
const
|
|
2384
|
+
const o = () => {
|
|
2393
2385
|
if (!n.current) return;
|
|
2394
|
-
const u = Math.round(n.current.scrollTop /
|
|
2386
|
+
const u = Math.round(n.current.scrollTop / Ne), f = Math.max(0, Math.min(t.length - 1, u));
|
|
2395
2387
|
f !== r && s(f);
|
|
2396
2388
|
};
|
|
2397
2389
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative h-36 w-full", children: [
|
|
@@ -2399,11 +2391,11 @@ function Fe({ options: t, selectedIndex: r, onChange: s }) {
|
|
|
2399
2391
|
"div",
|
|
2400
2392
|
{
|
|
2401
2393
|
ref: n,
|
|
2402
|
-
onScroll:
|
|
2394
|
+
onScroll: o,
|
|
2403
2395
|
className: "h-36 snap-y snap-mandatory overflow-y-auto [&::-webkit-scrollbar]:hidden",
|
|
2404
2396
|
style: { scrollbarWidth: "none" },
|
|
2405
2397
|
children: [
|
|
2406
|
-
/* @__PURE__ */ e.jsx("div", { style: { height:
|
|
2398
|
+
/* @__PURE__ */ e.jsx("div", { style: { height: Ne }, "aria-hidden": !0 }),
|
|
2407
2399
|
t.map((u, f) => /* @__PURE__ */ e.jsx(
|
|
2408
2400
|
"div",
|
|
2409
2401
|
{
|
|
@@ -2412,7 +2404,7 @@ function Fe({ options: t, selectedIndex: r, onChange: s }) {
|
|
|
2412
2404
|
},
|
|
2413
2405
|
u
|
|
2414
2406
|
)),
|
|
2415
|
-
/* @__PURE__ */ e.jsx("div", { style: { height:
|
|
2407
|
+
/* @__PURE__ */ e.jsx("div", { style: { height: Ne }, "aria-hidden": !0 })
|
|
2416
2408
|
]
|
|
2417
2409
|
}
|
|
2418
2410
|
),
|
|
@@ -2420,27 +2412,27 @@ function Fe({ options: t, selectedIndex: r, onChange: s }) {
|
|
|
2420
2412
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-0 top-24 h-px bg-[#e5e7eb]" })
|
|
2421
2413
|
] });
|
|
2422
2414
|
}
|
|
2423
|
-
const
|
|
2424
|
-
function
|
|
2415
|
+
const Fe = Array.from({ length: 31 }, (t, r) => r + 1);
|
|
2416
|
+
function Zr({
|
|
2425
2417
|
isOpen: t,
|
|
2426
2418
|
onClose: r,
|
|
2427
2419
|
avatarUrl: s,
|
|
2428
2420
|
heading: n,
|
|
2429
2421
|
monthLabels: i,
|
|
2430
|
-
confirmLabel:
|
|
2422
|
+
confirmLabel: o,
|
|
2431
2423
|
onConfirm: u,
|
|
2432
2424
|
timezoneLabel: f,
|
|
2433
2425
|
initialDate: x,
|
|
2434
2426
|
minYear: b,
|
|
2435
2427
|
maxYear: p = (/* @__PURE__ */ new Date()).getFullYear()
|
|
2436
2428
|
}) {
|
|
2437
|
-
const d =
|
|
2429
|
+
const d = ba(() => {
|
|
2438
2430
|
const S = b ?? p - 120;
|
|
2439
|
-
return Array.from({ length: p - S + 1 }, (h,
|
|
2440
|
-
}, [b, p]), [v, g] =
|
|
2431
|
+
return Array.from({ length: p - S + 1 }, (h, O) => S + O);
|
|
2432
|
+
}, [b, p]), [v, g] = $(() => x ? x.day - 1 : Math.floor(Fe.length / 2)), [j, L] = $(() => x ? x.month - 1 : 0), [k, y] = $(
|
|
2441
2433
|
() => x ? Math.max(0, d.indexOf(x.year)) : Math.floor(d.length / 2)
|
|
2442
2434
|
), N = () => {
|
|
2443
|
-
u({ day:
|
|
2435
|
+
u({ day: Fe[v], month: j + 1, year: d[k] });
|
|
2444
2436
|
};
|
|
2445
2437
|
return /* @__PURE__ */ e.jsx(
|
|
2446
2438
|
Le,
|
|
@@ -2448,7 +2440,7 @@ function cs({
|
|
|
2448
2440
|
isOpen: t,
|
|
2449
2441
|
onClose: r,
|
|
2450
2442
|
showDragHandle: !0,
|
|
2451
|
-
|
|
2443
|
+
closeButtonOutside: !0,
|
|
2452
2444
|
ariaLabel: n,
|
|
2453
2445
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-3 px-5 pt-2", children: [
|
|
2454
2446
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3", children: [
|
|
@@ -2461,47 +2453,45 @@ function cs({
|
|
|
2461
2453
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
|
|
2462
2454
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-6", children: [
|
|
2463
2455
|
f && /* @__PURE__ */ e.jsx("p", { className: "shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]", children: f }),
|
|
2464
|
-
/* @__PURE__ */ e.jsx(q, { variant: "primary", size: "md", className: "flex-1 rounded-xl", onClick: N, children:
|
|
2456
|
+
/* @__PURE__ */ e.jsx(q, { variant: "primary", size: "md", className: "flex-1 rounded-xl", onClick: N, children: o })
|
|
2465
2457
|
] })
|
|
2466
2458
|
] }),
|
|
2467
2459
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
2468
|
-
/* @__PURE__ */ e.jsx(
|
|
2469
|
-
/* @__PURE__ */ e.jsx(
|
|
2470
|
-
/* @__PURE__ */ e.jsx(
|
|
2460
|
+
/* @__PURE__ */ e.jsx(Ae, { options: Fe.map(String), selectedIndex: v, onChange: g }),
|
|
2461
|
+
/* @__PURE__ */ e.jsx(Ae, { options: i, selectedIndex: j, onChange: L }),
|
|
2462
|
+
/* @__PURE__ */ e.jsx(Ae, { options: d.map(String), selectedIndex: k, onChange: y })
|
|
2471
2463
|
] })
|
|
2472
2464
|
}
|
|
2473
2465
|
);
|
|
2474
2466
|
}
|
|
2475
|
-
function
|
|
2467
|
+
function Jr({
|
|
2476
2468
|
isOpen: t,
|
|
2477
2469
|
onClose: r,
|
|
2478
2470
|
heading: s,
|
|
2479
2471
|
subtext: n,
|
|
2480
2472
|
confirmLabel: i,
|
|
2481
|
-
onConfirm:
|
|
2473
|
+
onConfirm: o,
|
|
2482
2474
|
initialValue: u = "",
|
|
2483
|
-
countries: f =
|
|
2475
|
+
countries: f = ha,
|
|
2484
2476
|
initialCountryIso: x = "IN"
|
|
2485
2477
|
}) {
|
|
2486
|
-
const [b, p] =
|
|
2478
|
+
const [b, p] = $(
|
|
2487
2479
|
() => f.find((h) => h.iso === x) ?? f[0]
|
|
2488
|
-
), [d, v] =
|
|
2489
|
-
|
|
2480
|
+
), [d, v] = $(u), [g, j] = $(!1), L = Tt(null);
|
|
2481
|
+
Rt(() => {
|
|
2490
2482
|
if (!g) return;
|
|
2491
|
-
const h = (
|
|
2492
|
-
|
|
2483
|
+
const h = (O) => {
|
|
2484
|
+
L.current && !L.current.contains(O.target) && j(!1);
|
|
2493
2485
|
};
|
|
2494
2486
|
return document.addEventListener("mousedown", h), () => document.removeEventListener("mousedown", h);
|
|
2495
|
-
}, [g]), We(() => {
|
|
2496
|
-
g && k.current?.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
|
2497
2487
|
}, [g]);
|
|
2498
|
-
const
|
|
2499
|
-
p(h), j(!1), v((
|
|
2488
|
+
const k = Ie(b.code), y = St(d, b.code).isValid && d.length > 0, N = (h) => {
|
|
2489
|
+
p(h), j(!1), v((O) => O.slice(0, Ie(h.code)));
|
|
2500
2490
|
}, S = () => {
|
|
2501
|
-
y &&
|
|
2491
|
+
y && o(d, b);
|
|
2502
2492
|
};
|
|
2503
2493
|
return /* @__PURE__ */ e.jsx(
|
|
2504
|
-
|
|
2494
|
+
$e,
|
|
2505
2495
|
{
|
|
2506
2496
|
isOpen: t,
|
|
2507
2497
|
onClose: r,
|
|
@@ -2514,7 +2504,7 @@ function ds({
|
|
|
2514
2504
|
variant: "primary",
|
|
2515
2505
|
size: "xl",
|
|
2516
2506
|
className: "w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
2517
|
-
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2507
|
+
rightIcon: /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
2518
2508
|
disabled: !y,
|
|
2519
2509
|
onClick: S,
|
|
2520
2510
|
children: i
|
|
@@ -2524,7 +2514,7 @@ function ds({
|
|
|
2524
2514
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
|
|
2525
2515
|
n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
|
|
2526
2516
|
/* @__PURE__ */ e.jsxs("div", { className: "mt-2 flex w-full items-start gap-2", children: [
|
|
2527
|
-
/* @__PURE__ */ e.jsxs("div", { ref:
|
|
2517
|
+
/* @__PURE__ */ e.jsxs("div", { ref: L, className: "relative shrink-0", children: [
|
|
2528
2518
|
/* @__PURE__ */ e.jsxs(
|
|
2529
2519
|
"button",
|
|
2530
2520
|
{
|
|
@@ -2534,9 +2524,9 @@ function ds({
|
|
|
2534
2524
|
"aria-haspopup": "listbox",
|
|
2535
2525
|
className: "flex h-14 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2",
|
|
2536
2526
|
children: [
|
|
2537
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children:
|
|
2527
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: Me(b.iso) }),
|
|
2538
2528
|
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: b.code }),
|
|
2539
|
-
/* @__PURE__ */ e.jsx(
|
|
2529
|
+
/* @__PURE__ */ e.jsx(oe, { size: 24, className: "text-[#1d2125]", "aria-hidden": !0 })
|
|
2540
2530
|
]
|
|
2541
2531
|
}
|
|
2542
2532
|
),
|
|
@@ -2544,7 +2534,7 @@ function ds({
|
|
|
2544
2534
|
"div",
|
|
2545
2535
|
{
|
|
2546
2536
|
role: "listbox",
|
|
2547
|
-
className: "
|
|
2537
|
+
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",
|
|
2548
2538
|
children: f.map((h) => /* @__PURE__ */ e.jsxs(
|
|
2549
2539
|
"button",
|
|
2550
2540
|
{
|
|
@@ -2554,7 +2544,7 @@ function ds({
|
|
|
2554
2544
|
onClick: () => N(h),
|
|
2555
2545
|
className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${h.iso === b.iso ? "bg-[#fff9e9]" : ""}`,
|
|
2556
2546
|
children: [
|
|
2557
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children:
|
|
2547
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children: Me(h.iso) }),
|
|
2558
2548
|
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children: h.code }),
|
|
2559
2549
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children: h.name })
|
|
2560
2550
|
]
|
|
@@ -2565,13 +2555,13 @@ function ds({
|
|
|
2565
2555
|
)
|
|
2566
2556
|
] }),
|
|
2567
2557
|
/* @__PURE__ */ e.jsx(
|
|
2568
|
-
|
|
2558
|
+
ne,
|
|
2569
2559
|
{
|
|
2570
2560
|
type: "tel",
|
|
2571
2561
|
inputMode: "numeric",
|
|
2572
2562
|
value: d,
|
|
2573
|
-
maxLength:
|
|
2574
|
-
onChange: (h) => v(h.replace(/\D/g, "").slice(0,
|
|
2563
|
+
maxLength: k,
|
|
2564
|
+
onChange: (h) => v(h.replace(/\D/g, "").slice(0, k)),
|
|
2575
2565
|
containerClassName: "w-auto flex-1 gap-0",
|
|
2576
2566
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
2577
2567
|
className: "text-[18px]"
|
|
@@ -2582,19 +2572,19 @@ function ds({
|
|
|
2582
2572
|
}
|
|
2583
2573
|
);
|
|
2584
2574
|
}
|
|
2585
|
-
const
|
|
2586
|
-
function
|
|
2575
|
+
const cr = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
2576
|
+
function Xr({
|
|
2587
2577
|
isOpen: t,
|
|
2588
2578
|
onClose: r,
|
|
2589
2579
|
heading: s,
|
|
2590
2580
|
subtext: n,
|
|
2591
2581
|
confirmLabel: i,
|
|
2592
|
-
onConfirm:
|
|
2582
|
+
onConfirm: o,
|
|
2593
2583
|
initialValue: u = "",
|
|
2594
2584
|
errorText: f = "Please enter a valid email"
|
|
2595
2585
|
}) {
|
|
2596
|
-
const [x, b] =
|
|
2597
|
-
g &&
|
|
2586
|
+
const [x, b] = $(u), [p, d] = $(!1), v = x.trim(), g = cr.test(v), j = p && v.length > 0 && !g, L = () => {
|
|
2587
|
+
g && o(v);
|
|
2598
2588
|
};
|
|
2599
2589
|
return /* @__PURE__ */ e.jsx(
|
|
2600
2590
|
Le,
|
|
@@ -2609,9 +2599,9 @@ function us({
|
|
|
2609
2599
|
variant: "primary",
|
|
2610
2600
|
size: "xl",
|
|
2611
2601
|
className: "w-full rounded-xl",
|
|
2612
|
-
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2602
|
+
rightIcon: /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
2613
2603
|
disabled: !g,
|
|
2614
|
-
onClick:
|
|
2604
|
+
onClick: L,
|
|
2615
2605
|
children: i
|
|
2616
2606
|
}
|
|
2617
2607
|
) }),
|
|
@@ -2619,7 +2609,7 @@ function us({
|
|
|
2619
2609
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
|
|
2620
2610
|
n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
|
|
2621
2611
|
/* @__PURE__ */ e.jsx(
|
|
2622
|
-
|
|
2612
|
+
ne,
|
|
2623
2613
|
{
|
|
2624
2614
|
type: "email",
|
|
2625
2615
|
inputMode: "email",
|
|
@@ -2639,20 +2629,20 @@ function us({
|
|
|
2639
2629
|
}
|
|
2640
2630
|
);
|
|
2641
2631
|
}
|
|
2642
|
-
function
|
|
2643
|
-
return
|
|
2632
|
+
function dr(t) {
|
|
2633
|
+
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);
|
|
2644
2634
|
}
|
|
2645
|
-
function
|
|
2646
|
-
return
|
|
2635
|
+
function ur(t) {
|
|
2636
|
+
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);
|
|
2647
2637
|
}
|
|
2648
|
-
const
|
|
2649
|
-
function
|
|
2638
|
+
const xr = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
2639
|
+
function Qr({
|
|
2650
2640
|
chipNumber: t,
|
|
2651
2641
|
chipLabel: r,
|
|
2652
2642
|
isAdded: s,
|
|
2653
2643
|
onEditClick: n,
|
|
2654
2644
|
editButtonAriaLabel: i = "Edit",
|
|
2655
|
-
onExpandClick:
|
|
2645
|
+
onExpandClick: o,
|
|
2656
2646
|
expandButtonAriaLabel: u = "Expand",
|
|
2657
2647
|
imageUrl: f,
|
|
2658
2648
|
imageAlt: x,
|
|
@@ -2662,27 +2652,27 @@ function xs({
|
|
|
2662
2652
|
title: v,
|
|
2663
2653
|
description: g,
|
|
2664
2654
|
learnMoreLabel: j,
|
|
2665
|
-
onLearnMoreClick:
|
|
2666
|
-
learnMoreHref:
|
|
2655
|
+
onLearnMoreClick: L,
|
|
2656
|
+
learnMoreHref: k,
|
|
2667
2657
|
dateLabel: y,
|
|
2668
2658
|
locationLabel: N,
|
|
2669
2659
|
priceInfoLabel: S,
|
|
2670
2660
|
onPriceInfoClick: h,
|
|
2671
|
-
price:
|
|
2672
|
-
cta:
|
|
2661
|
+
price: O,
|
|
2662
|
+
cta: H,
|
|
2673
2663
|
className: B = ""
|
|
2674
2664
|
}) {
|
|
2675
|
-
const [Y,
|
|
2665
|
+
const [Y, ae] = $(!1), I = s || Y, W = I && (p != null || d != null), K = I && (y != null || N != null);
|
|
2676
2666
|
return /* @__PURE__ */ e.jsxs(
|
|
2677
2667
|
"div",
|
|
2678
2668
|
{
|
|
2679
|
-
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-
|
|
2669
|
+
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${I ? "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)]"} ${B}`,
|
|
2680
2670
|
children: [
|
|
2681
|
-
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 px-3 ${
|
|
2671
|
+
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 px-3 ${I ? "py-4" : "pt-4"}`, children: [
|
|
2682
2672
|
/* @__PURE__ */ e.jsxs(
|
|
2683
2673
|
"div",
|
|
2684
2674
|
{
|
|
2685
|
-
className: "flex min-w-0 flex-1 items-center gap-1.5 rounded-2xl
|
|
2675
|
+
className: "flex min-w-0 flex-1 items-center gap-1.5 rounded-2xl py-1.5 pl-1.5",
|
|
2686
2676
|
style: {
|
|
2687
2677
|
background: "linear-gradient(90deg, #fcccdf -29.79%, #fef5e9 50.11%, rgba(254, 245, 233, 0) 100%)"
|
|
2688
2678
|
},
|
|
@@ -2700,7 +2690,7 @@ function xs({
|
|
|
2700
2690
|
className: "flex size-8 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white p-0",
|
|
2701
2691
|
onClick: n,
|
|
2702
2692
|
"aria-label": i,
|
|
2703
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2693
|
+
children: /* @__PURE__ */ e.jsx(dr, { "aria-hidden": !0, className: "size-[18px] text-[#1D2125]" })
|
|
2704
2694
|
}
|
|
2705
2695
|
),
|
|
2706
2696
|
!s && /* @__PURE__ */ e.jsx(
|
|
@@ -2709,12 +2699,12 @@ function xs({
|
|
|
2709
2699
|
type: "button",
|
|
2710
2700
|
className: "flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2711
2701
|
onClick: () => {
|
|
2712
|
-
|
|
2702
|
+
ae((M) => !M), o?.();
|
|
2713
2703
|
},
|
|
2714
2704
|
"aria-label": u,
|
|
2715
2705
|
"aria-expanded": Y,
|
|
2716
2706
|
children: /* @__PURE__ */ e.jsx(
|
|
2717
|
-
|
|
2707
|
+
ur,
|
|
2718
2708
|
{
|
|
2719
2709
|
"aria-hidden": !0,
|
|
2720
2710
|
className: `size-8 text-[#1D2125] ${Y ? "" : "-scale-y-100"}`
|
|
@@ -2724,11 +2714,11 @@ function xs({
|
|
|
2724
2714
|
)
|
|
2725
2715
|
] })
|
|
2726
2716
|
] }),
|
|
2727
|
-
|
|
2728
|
-
|
|
2717
|
+
I && f != null && /* @__PURE__ */ e.jsx("div", { className: "h-[140px] w-full overflow-hidden rounded-xl", children: b ? /* @__PURE__ */ e.jsx(b, { src: f, alt: x ?? "", className: "size-full object-cover" }) : /* @__PURE__ */ e.jsx("img", { src: f, alt: x, className: "size-full object-cover" }) }),
|
|
2718
|
+
W && /* @__PURE__ */ e.jsxs(
|
|
2729
2719
|
"div",
|
|
2730
2720
|
{
|
|
2731
|
-
className: "-
|
|
2721
|
+
className: "-mt-3 flex w-full items-center gap-2.5 rounded-b-xl px-4 py-1",
|
|
2732
2722
|
style: { background: "linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)" },
|
|
2733
2723
|
children: [
|
|
2734
2724
|
p != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: p }),
|
|
@@ -2737,20 +2727,20 @@ function xs({
|
|
|
2737
2727
|
]
|
|
2738
2728
|
}
|
|
2739
2729
|
),
|
|
2740
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2730
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-3", children: [
|
|
2741
2731
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1", children: [
|
|
2742
2732
|
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children: v }),
|
|
2743
|
-
|
|
2733
|
+
I && g != null && /* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-normal leading-4 text-gray-500", children: g })
|
|
2744
2734
|
] }),
|
|
2745
|
-
|
|
2735
|
+
I && j != null && /* @__PURE__ */ e.jsxs(
|
|
2746
2736
|
"a",
|
|
2747
2737
|
{
|
|
2748
|
-
href:
|
|
2738
|
+
href: k,
|
|
2749
2739
|
className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",
|
|
2750
|
-
onClick:
|
|
2740
|
+
onClick: L,
|
|
2751
2741
|
children: [
|
|
2752
2742
|
j,
|
|
2753
|
-
/* @__PURE__ */ e.jsx(
|
|
2743
|
+
/* @__PURE__ */ e.jsx(Ma, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
|
|
2754
2744
|
]
|
|
2755
2745
|
}
|
|
2756
2746
|
),
|
|
@@ -2762,7 +2752,7 @@ function xs({
|
|
|
2762
2752
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: y })
|
|
2763
2753
|
] }),
|
|
2764
2754
|
N != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2765
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2755
|
+
/* @__PURE__ */ e.jsx("img", { src: xr, alt: "", "aria-hidden": !0, className: "size-3.5 shrink-0" }),
|
|
2766
2756
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: N })
|
|
2767
2757
|
] })
|
|
2768
2758
|
] })
|
|
@@ -2779,38 +2769,38 @@ function xs({
|
|
|
2779
2769
|
className: "flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2780
2770
|
onClick: h,
|
|
2781
2771
|
"aria-label": "More info",
|
|
2782
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2772
|
+
children: /* @__PURE__ */ e.jsx(xe, { "aria-hidden": !0, className: "size-4 text-[#1D2125]" })
|
|
2783
2773
|
}
|
|
2784
2774
|
)
|
|
2785
2775
|
] }),
|
|
2786
|
-
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children:
|
|
2776
|
+
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children: O })
|
|
2787
2777
|
] }),
|
|
2788
|
-
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children:
|
|
2778
|
+
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: H })
|
|
2789
2779
|
] })
|
|
2790
2780
|
] })
|
|
2791
2781
|
]
|
|
2792
2782
|
}
|
|
2793
2783
|
);
|
|
2794
2784
|
}
|
|
2795
|
-
const
|
|
2785
|
+
const fr = {
|
|
2796
2786
|
primary: "border border-transparent pl-3 pr-4 text-white",
|
|
2797
2787
|
secondary: "border border-[#159169] px-3 text-[#159169]",
|
|
2798
2788
|
accent: "border border-transparent px-4 text-white"
|
|
2799
|
-
},
|
|
2789
|
+
}, pr = {
|
|
2800
2790
|
md: "h-10 gap-2 rounded-lg text-xs font-semibold leading-4",
|
|
2801
2791
|
lg: "h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"
|
|
2802
|
-
},
|
|
2792
|
+
}, hr = {
|
|
2803
2793
|
primary: { backgroundImage: "linear-gradient(to bottom, #5eb98e, #159169)" },
|
|
2804
2794
|
secondary: { backgroundImage: "linear-gradient(to bottom, #ffffff, #edf5f2)" },
|
|
2805
2795
|
accent: { backgroundImage: "linear-gradient(to bottom, #f97e4e, #f75e22)" }
|
|
2806
2796
|
};
|
|
2807
|
-
function
|
|
2797
|
+
function es({
|
|
2808
2798
|
variant: t = "primary",
|
|
2809
2799
|
size: r = "md",
|
|
2810
2800
|
leftIcon: s,
|
|
2811
2801
|
children: n,
|
|
2812
2802
|
className: i = "",
|
|
2813
|
-
style:
|
|
2803
|
+
style: o,
|
|
2814
2804
|
type: u = "button",
|
|
2815
2805
|
...f
|
|
2816
2806
|
}) {
|
|
@@ -2818,8 +2808,8 @@ function fs({
|
|
|
2818
2808
|
"button",
|
|
2819
2809
|
{
|
|
2820
2810
|
type: u,
|
|
2821
|
-
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${
|
|
2822
|
-
style: { ...
|
|
2811
|
+
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${pr[r]} ${fr[t]} ${i}`,
|
|
2812
|
+
style: { ...hr[t], ...o },
|
|
2823
2813
|
...f,
|
|
2824
2814
|
children: [
|
|
2825
2815
|
s,
|
|
@@ -2828,7 +2818,7 @@ function fs({
|
|
|
2828
2818
|
}
|
|
2829
2819
|
);
|
|
2830
2820
|
}
|
|
2831
|
-
function
|
|
2821
|
+
function ts({ className: t = "size-5" }) {
|
|
2832
2822
|
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(
|
|
2833
2823
|
"path",
|
|
2834
2824
|
{
|
|
@@ -2837,7 +2827,7 @@ function ps({ className: t = "size-5" }) {
|
|
|
2837
2827
|
}
|
|
2838
2828
|
) });
|
|
2839
2829
|
}
|
|
2840
|
-
function
|
|
2830
|
+
function as({ className: t = "size-5" }) {
|
|
2841
2831
|
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(
|
|
2842
2832
|
"path",
|
|
2843
2833
|
{
|
|
@@ -2846,7 +2836,7 @@ function hs({ className: t = "size-5" }) {
|
|
|
2846
2836
|
}
|
|
2847
2837
|
) });
|
|
2848
2838
|
}
|
|
2849
|
-
const
|
|
2839
|
+
const Nt = {
|
|
2850
2840
|
en: {
|
|
2851
2841
|
heading: "Check the details to book your puja procedure",
|
|
2852
2842
|
subtext: "These names and gotra will be taken by the priest",
|
|
@@ -2877,33 +2867,33 @@ const kt = {
|
|
|
2877
2867
|
editDetailsLabel: "మార్చండి",
|
|
2878
2868
|
payButtonTemplate: "{amount} చెల్లించండి"
|
|
2879
2869
|
}
|
|
2880
|
-
},
|
|
2881
|
-
function
|
|
2870
|
+
}, mr = (t) => Nt[t] ?? Nt.en;
|
|
2871
|
+
function wt({ children: t }) {
|
|
2882
2872
|
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 });
|
|
2883
2873
|
}
|
|
2884
|
-
function
|
|
2874
|
+
function br({
|
|
2885
2875
|
isOpen: t,
|
|
2886
2876
|
onClose: r,
|
|
2887
2877
|
locale: s = "en",
|
|
2888
2878
|
ancestors: n,
|
|
2889
2879
|
kartaNames: i,
|
|
2890
|
-
gotra:
|
|
2880
|
+
gotra: o,
|
|
2891
2881
|
whatsappNumber: u,
|
|
2892
2882
|
amount: f,
|
|
2893
2883
|
onEditDetailsClick: x,
|
|
2894
2884
|
onProceedPayment: b,
|
|
2895
2885
|
className: p
|
|
2896
2886
|
}) {
|
|
2897
|
-
const d =
|
|
2887
|
+
const d = mr(s), v = d.payButtonTemplate.replace("{amount}", f);
|
|
2898
2888
|
return /* @__PURE__ */ e.jsx(
|
|
2899
|
-
|
|
2889
|
+
$e,
|
|
2900
2890
|
{
|
|
2901
2891
|
isOpen: t,
|
|
2902
2892
|
onClose: r,
|
|
2903
2893
|
showDragHandle: !1,
|
|
2904
2894
|
closeButtonOutside: !0,
|
|
2905
2895
|
ariaLabel: d.heading,
|
|
2906
|
-
className:
|
|
2896
|
+
className: c("rounded-t-[20px] bg-[#f7f8f9]", p),
|
|
2907
2897
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-0.5 px-4 pt-4", children: [
|
|
2908
2898
|
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[18px] leading-6 font-bold text-[#22272b]", children: d.heading }),
|
|
2909
2899
|
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[14px] leading-5 font-normal text-[#6b7280]", children: d.subtext })
|
|
@@ -2933,7 +2923,7 @@ function Sr({
|
|
|
2933
2923
|
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: [
|
|
2934
2924
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
2935
2925
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: d.ancestorsLabel }),
|
|
2936
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((g) => /* @__PURE__ */ e.jsxs(
|
|
2926
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((g) => /* @__PURE__ */ e.jsxs(wt, { children: [
|
|
2937
2927
|
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: g.value }),
|
|
2938
2928
|
g.label && /* @__PURE__ */ e.jsxs("span", { className: "text-[10px] leading-3.5 font-medium text-[#6b7280]", children: [
|
|
2939
2929
|
"(",
|
|
@@ -2945,7 +2935,7 @@ function Sr({
|
|
|
2945
2935
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
2946
2936
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
2947
2937
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: d.performerLabel }),
|
|
2948
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.map((g, j) => /* @__PURE__ */ e.jsx(
|
|
2938
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.map((g, j) => /* @__PURE__ */ e.jsx(wt, { children: /* @__PURE__ */ e.jsxs("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: [
|
|
2949
2939
|
j + 1,
|
|
2950
2940
|
". ",
|
|
2951
2941
|
g
|
|
@@ -2955,7 +2945,7 @@ function Sr({
|
|
|
2955
2945
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 px-3", children: [
|
|
2956
2946
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
2957
2947
|
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: d.gotraLabel }),
|
|
2958
|
-
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
2948
|
+
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children: o })
|
|
2959
2949
|
] }),
|
|
2960
2950
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
2961
2951
|
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: d.whatsappLabel }),
|
|
@@ -2966,7 +2956,7 @@ function Sr({
|
|
|
2966
2956
|
}
|
|
2967
2957
|
);
|
|
2968
2958
|
}
|
|
2969
|
-
const
|
|
2959
|
+
const kt = {
|
|
2970
2960
|
en: {
|
|
2971
2961
|
heading: "I do not know my Lineage(Gotra), what should I do?",
|
|
2972
2962
|
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.",
|
|
@@ -2985,18 +2975,18 @@ const _t = {
|
|
|
2985
2975
|
okayLabel: "సరే",
|
|
2986
2976
|
closeButtonAriaLabel: "మూసివేయండి"
|
|
2987
2977
|
}
|
|
2988
|
-
}, Ht = (t) =>
|
|
2989
|
-
function
|
|
2978
|
+
}, Ht = (t) => kt[t] ?? kt.en;
|
|
2979
|
+
function gr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
2990
2980
|
const i = Ht(s);
|
|
2991
2981
|
return /* @__PURE__ */ e.jsx(
|
|
2992
|
-
|
|
2982
|
+
$e,
|
|
2993
2983
|
{
|
|
2994
2984
|
isOpen: t,
|
|
2995
2985
|
onClose: r,
|
|
2996
2986
|
showCloseButton: !1,
|
|
2997
2987
|
showDragHandle: !1,
|
|
2998
2988
|
ariaLabel: i.heading,
|
|
2999
|
-
className:
|
|
2989
|
+
className: c("rounded-t-[20px]", n),
|
|
3000
2990
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-3 px-4 pt-5 pb-3", children: [
|
|
3001
2991
|
/* @__PURE__ */ e.jsx("p", { className: "flex-1 text-[18px] leading-6 font-bold text-[#22272b]", children: i.heading }),
|
|
3002
2992
|
/* @__PURE__ */ e.jsx(
|
|
@@ -3006,7 +2996,7 @@ function Tr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
|
3006
2996
|
onClick: r,
|
|
3007
2997
|
"aria-label": i.closeButtonAriaLabel,
|
|
3008
2998
|
className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#22272b]",
|
|
3009
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2999
|
+
children: /* @__PURE__ */ e.jsx(Fa, { size: 24, "aria-hidden": !0 })
|
|
3010
3000
|
}
|
|
3011
3001
|
)
|
|
3012
3002
|
] }),
|
|
@@ -3024,7 +3014,7 @@ function Tr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
|
3024
3014
|
}
|
|
3025
3015
|
);
|
|
3026
3016
|
}
|
|
3027
|
-
const
|
|
3017
|
+
const Ct = {
|
|
3028
3018
|
en: {
|
|
3029
3019
|
topBarTitle: "Fill in necessary details for Puja",
|
|
3030
3020
|
backButtonAriaLabel: "Go back",
|
|
@@ -3106,25 +3096,25 @@ const Lt = {
|
|
|
3106
3096
|
proceedCtaLabel: "వివరాలు నమోదు చేయండి",
|
|
3107
3097
|
kashyapGotraLabel: "కశ్యప"
|
|
3108
3098
|
}
|
|
3109
|
-
},
|
|
3099
|
+
}, vr = (t) => Ct[t] ?? Ct.en, Lt = {
|
|
3110
3100
|
en: ["1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", "10th"],
|
|
3111
3101
|
hi: ["पहले", "दूसरे", "तीसरे", "चौथे", "पांचवें", "छठे", "सातवें", "आठवें", "नौवें", "दसवें"],
|
|
3112
3102
|
te: ["1వ", "2వ", "3వ", "4వ", "5వ", "6వ", "7వ", "8వ", "9వ", "10వ"]
|
|
3113
|
-
},
|
|
3103
|
+
}, jr = {
|
|
3114
3104
|
en: "th",
|
|
3115
3105
|
hi: "वें",
|
|
3116
3106
|
te: "వ"
|
|
3117
|
-
},
|
|
3118
|
-
const s = r in
|
|
3119
|
-
return
|
|
3120
|
-
},
|
|
3121
|
-
function
|
|
3107
|
+
}, yr = (t, r) => {
|
|
3108
|
+
const s = r in Lt ? r : "en";
|
|
3109
|
+
return Lt[s][t - 1] ?? `${t}${jr[s]}`;
|
|
3110
|
+
}, Be = 40, De = "+91", Nr = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
3111
|
+
function rs({
|
|
3122
3112
|
locale: t = "en",
|
|
3123
3113
|
values: r,
|
|
3124
3114
|
onValuesChange: s,
|
|
3125
3115
|
isGlobal: n = !1,
|
|
3126
3116
|
gotraOptions: i = [],
|
|
3127
|
-
isSarvaPitru:
|
|
3117
|
+
isSarvaPitru: o = !1,
|
|
3128
3118
|
onBackClick: u,
|
|
3129
3119
|
amount: f,
|
|
3130
3120
|
ritualsCountLabel: x,
|
|
@@ -3134,33 +3124,33 @@ function ms({
|
|
|
3134
3124
|
proceedCtaLabel: v,
|
|
3135
3125
|
proceedButtonProps: g,
|
|
3136
3126
|
onProceedPayment: j,
|
|
3137
|
-
className:
|
|
3127
|
+
className: L
|
|
3138
3128
|
}) {
|
|
3139
|
-
const [
|
|
3140
|
-
const
|
|
3141
|
-
return
|
|
3142
|
-
}, B = (
|
|
3129
|
+
const [k, y] = $(!1), [N, S] = $(!1), h = vr(t), O = Ht(t), H = (C) => {
|
|
3130
|
+
const D = yr(C + 1, t);
|
|
3131
|
+
return C === 0 ? `*${D} ${h.kartaNameLabel}` : `${D} ${h.kartaNameLabel} ${h.kartaNameOptionalSuffix}`;
|
|
3132
|
+
}, B = (C) => s({ ...r, ...C }), Y = (C, D) => {
|
|
3143
3133
|
const Q = [...r.kartaNames];
|
|
3144
|
-
Q[
|
|
3145
|
-
},
|
|
3146
|
-
B({ ancestors: r.ancestors.map((Q) => Q.id ===
|
|
3147
|
-
}, [
|
|
3148
|
-
|
|
3149
|
-
if (!
|
|
3150
|
-
const
|
|
3151
|
-
K.current && !K.current.contains(
|
|
3134
|
+
Q[C] = D, B({ kartaNames: Q });
|
|
3135
|
+
}, ae = (C, D) => {
|
|
3136
|
+
B({ ancestors: r.ancestors.map((Q) => Q.id === C ? { ...Q, value: D } : Q) });
|
|
3137
|
+
}, [I, W] = $(!1), K = Tt(null);
|
|
3138
|
+
Rt(() => {
|
|
3139
|
+
if (!I) return;
|
|
3140
|
+
const C = (D) => {
|
|
3141
|
+
K.current && !K.current.contains(D.target) && W(!1);
|
|
3152
3142
|
};
|
|
3153
|
-
return document.addEventListener("mousedown",
|
|
3154
|
-
}, [
|
|
3155
|
-
const
|
|
3156
|
-
(
|
|
3157
|
-
), U = (
|
|
3158
|
-
B({ gotra:
|
|
3159
|
-
},
|
|
3160
|
-
const
|
|
3161
|
-
B({ isGotraUnknown:
|
|
3162
|
-
}, Z =
|
|
3163
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
3143
|
+
return document.addEventListener("mousedown", C), () => document.removeEventListener("mousedown", C);
|
|
3144
|
+
}, [I]);
|
|
3145
|
+
const M = i.filter(
|
|
3146
|
+
(C) => C.toLowerCase().includes(r.gotra.trim().toLowerCase())
|
|
3147
|
+
), U = (C) => {
|
|
3148
|
+
B({ gotra: C }), W(!1);
|
|
3149
|
+
}, te = () => {
|
|
3150
|
+
const C = !r.isGotraUnknown;
|
|
3151
|
+
B({ isGotraUnknown: C, gotra: C ? h.kashyapGotraLabel : r.gotra });
|
|
3152
|
+
}, Z = Ie(De), J = St(r.whatsappNumber, De).isValid, X = Nr.test(r.email), re = r.whatsappNumber.length > 0 && !J, fe = r.email.length > 0 && !X, pe = (n ? X : J) && r.kartaNames[0].trim().length > 0 && r.gotra.trim().length > 0 && (o || r.ancestors.every((C) => C.value.trim().length > 0)), he = d ?? pe, me = r.gotra.trim().length > 0 ? r.gotra : h.kashyapGotraLabel, Ee = n ? r.email : r.whatsappNumber;
|
|
3153
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]", L), children: [
|
|
3164
3154
|
/* @__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: [
|
|
3165
3155
|
/* @__PURE__ */ e.jsx(
|
|
3166
3156
|
"button",
|
|
@@ -3169,7 +3159,7 @@ function ms({
|
|
|
3169
3159
|
onClick: u,
|
|
3170
3160
|
"aria-label": h.backButtonAriaLabel,
|
|
3171
3161
|
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)]",
|
|
3172
|
-
children: /* @__PURE__ */ e.jsx(
|
|
3162
|
+
children: /* @__PURE__ */ e.jsx(We, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
3173
3163
|
}
|
|
3174
3164
|
),
|
|
3175
3165
|
/* @__PURE__ */ e.jsx("p", { className: "text-[18px] leading-5 font-bold text-[#1d2125]", children: h.topBarTitle })
|
|
@@ -3178,33 +3168,33 @@ function ms({
|
|
|
3178
3168
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
3179
3169
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children: n ? h.emailLabel : h.whatsappNumberLabel }),
|
|
3180
3170
|
n ? /* @__PURE__ */ e.jsx(
|
|
3181
|
-
|
|
3171
|
+
ne,
|
|
3182
3172
|
{
|
|
3183
3173
|
type: "email",
|
|
3184
3174
|
inputMode: "email",
|
|
3185
3175
|
value: r.email,
|
|
3186
3176
|
placeholder: h.emailPlaceholder,
|
|
3187
|
-
error:
|
|
3188
|
-
onChange: (
|
|
3177
|
+
error: fe,
|
|
3178
|
+
onChange: (C) => B({ email: C }),
|
|
3189
3179
|
containerClassName: "w-full gap-0",
|
|
3190
3180
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
3191
3181
|
className: "text-[18px]"
|
|
3192
3182
|
}
|
|
3193
3183
|
) : /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
3194
3184
|
/* @__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: [
|
|
3195
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children:
|
|
3185
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: Me("IN") }),
|
|
3196
3186
|
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: De })
|
|
3197
3187
|
] }),
|
|
3198
3188
|
/* @__PURE__ */ e.jsx(
|
|
3199
|
-
|
|
3189
|
+
ne,
|
|
3200
3190
|
{
|
|
3201
3191
|
type: "tel",
|
|
3202
3192
|
inputMode: "numeric",
|
|
3203
3193
|
value: r.whatsappNumber,
|
|
3204
3194
|
placeholder: h.whatsappNumberPlaceholder,
|
|
3205
3195
|
maxLength: Z,
|
|
3206
|
-
error:
|
|
3207
|
-
onChange: (
|
|
3196
|
+
error: re,
|
|
3197
|
+
onChange: (C) => B({ whatsappNumber: C.replace(/\D/g, "").slice(0, Z) }),
|
|
3208
3198
|
containerClassName: "w-auto flex-1 gap-0",
|
|
3209
3199
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
3210
3200
|
className: "text-[18px]"
|
|
@@ -3215,18 +3205,18 @@ function ms({
|
|
|
3215
3205
|
] }),
|
|
3216
3206
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
3217
3207
|
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: h.kartaNameSectionTitle }),
|
|
3218
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5", children: r.kartaNames.map((
|
|
3219
|
-
|
|
3208
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5", children: r.kartaNames.map((C, D) => /* @__PURE__ */ e.jsx(
|
|
3209
|
+
ne,
|
|
3220
3210
|
{
|
|
3221
|
-
label:
|
|
3211
|
+
label: H(D),
|
|
3222
3212
|
placeholder: h.kartaNamePlaceholder,
|
|
3223
|
-
value:
|
|
3224
|
-
maxLength:
|
|
3213
|
+
value: C,
|
|
3214
|
+
maxLength: Be,
|
|
3225
3215
|
showCharCount: !0,
|
|
3226
|
-
wrapperClassName:
|
|
3227
|
-
onChange: (Q) => Y(
|
|
3216
|
+
wrapperClassName: c("h-12 rounded-xl", D === 0 && "bg-[#f3f4f6]"),
|
|
3217
|
+
onChange: (Q) => Y(D, Q)
|
|
3228
3218
|
},
|
|
3229
|
-
|
|
3219
|
+
D
|
|
3230
3220
|
)) })
|
|
3231
3221
|
] }),
|
|
3232
3222
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
@@ -3239,11 +3229,11 @@ function ms({
|
|
|
3239
3229
|
id: "karta-gotra",
|
|
3240
3230
|
value: r.gotra,
|
|
3241
3231
|
placeholder: h.gotraFieldPlaceholder,
|
|
3242
|
-
maxLength:
|
|
3232
|
+
maxLength: Be,
|
|
3243
3233
|
autoComplete: "off",
|
|
3244
|
-
onFocus: () =>
|
|
3245
|
-
onChange: (
|
|
3246
|
-
B({ gotra:
|
|
3234
|
+
onFocus: () => W(!0),
|
|
3235
|
+
onChange: (C) => {
|
|
3236
|
+
B({ gotra: C.target.value }), W(!0);
|
|
3247
3237
|
},
|
|
3248
3238
|
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"
|
|
3249
3239
|
}
|
|
@@ -3253,31 +3243,31 @@ function ms({
|
|
|
3253
3243
|
{
|
|
3254
3244
|
type: "button",
|
|
3255
3245
|
onClick: () => S(!0),
|
|
3256
|
-
"aria-label":
|
|
3246
|
+
"aria-label": O.heading,
|
|
3257
3247
|
className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",
|
|
3258
|
-
children: /* @__PURE__ */ e.jsx(
|
|
3248
|
+
children: /* @__PURE__ */ e.jsx(xe, { size: 24, "aria-hidden": !0 })
|
|
3259
3249
|
}
|
|
3260
3250
|
)
|
|
3261
3251
|
] }),
|
|
3262
|
-
|
|
3252
|
+
I && M.length > 0 && /* @__PURE__ */ e.jsx(
|
|
3263
3253
|
"div",
|
|
3264
3254
|
{
|
|
3265
3255
|
role: "listbox",
|
|
3266
3256
|
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",
|
|
3267
|
-
children:
|
|
3257
|
+
children: M.map((C) => /* @__PURE__ */ e.jsx(
|
|
3268
3258
|
"button",
|
|
3269
3259
|
{
|
|
3270
3260
|
type: "button",
|
|
3271
3261
|
role: "option",
|
|
3272
|
-
"aria-selected":
|
|
3273
|
-
onClick: () => U(
|
|
3274
|
-
className:
|
|
3262
|
+
"aria-selected": C === r.gotra,
|
|
3263
|
+
onClick: () => U(C),
|
|
3264
|
+
className: c(
|
|
3275
3265
|
"flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",
|
|
3276
|
-
|
|
3266
|
+
C === r.gotra && "bg-[#fff9e9]"
|
|
3277
3267
|
),
|
|
3278
|
-
children:
|
|
3268
|
+
children: C
|
|
3279
3269
|
},
|
|
3280
|
-
|
|
3270
|
+
C
|
|
3281
3271
|
))
|
|
3282
3272
|
}
|
|
3283
3273
|
)
|
|
@@ -3287,11 +3277,11 @@ function ms({
|
|
|
3287
3277
|
"button",
|
|
3288
3278
|
{
|
|
3289
3279
|
type: "button",
|
|
3290
|
-
onClick:
|
|
3280
|
+
onClick: te,
|
|
3291
3281
|
"aria-pressed": r.isGotraUnknown,
|
|
3292
3282
|
className: "flex items-center gap-1 border-0 bg-transparent p-0",
|
|
3293
3283
|
children: [
|
|
3294
|
-
r.isGotraUnknown ? /* @__PURE__ */ e.jsx(
|
|
3284
|
+
r.isGotraUnknown ? /* @__PURE__ */ e.jsx($a, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsx(Ba, { size: 24, className: "shrink-0 text-[#d1d5db]", "aria-hidden": !0 }),
|
|
3295
3285
|
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: h.gotraUnknownCheckboxLabel })
|
|
3296
3286
|
]
|
|
3297
3287
|
}
|
|
@@ -3301,36 +3291,33 @@ function ms({
|
|
|
3301
3291
|
] }),
|
|
3302
3292
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white", children: [
|
|
3303
3293
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2.5 px-3 pt-3 pb-2", children: [
|
|
3304
|
-
/* @__PURE__ */ e.jsx(
|
|
3294
|
+
/* @__PURE__ */ e.jsx(_e, { size: "sm", icon: /* @__PURE__ */ e.jsx(za, { size: 20, className: "text-[#f38415]", "aria-hidden": !0 }) }),
|
|
3305
3295
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
3306
3296
|
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: h.ancestorNameSectionTitle }),
|
|
3307
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-normal text-[#6b7280]", children:
|
|
3297
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-normal text-[#6b7280]", children: o ? h.sarvaPitruSectionSubtitle : h.ancestorNameSectionSubtitle })
|
|
3308
3298
|
] })
|
|
3309
3299
|
] }),
|
|
3310
|
-
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
_.id
|
|
3328
|
-
))
|
|
3329
|
-
] })
|
|
3300
|
+
o ? /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1 p-3 pt-0", children: [
|
|
3301
|
+
/* @__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: h.sarvaPitruFieldValue }) }),
|
|
3302
|
+
/* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: h.sarvaPitruHelperText })
|
|
3303
|
+
] }) : /* @__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(
|
|
3304
|
+
ne,
|
|
3305
|
+
{
|
|
3306
|
+
label: `*${C.label} ${h.ancestorNameFieldSuffix}`,
|
|
3307
|
+
value: C.value,
|
|
3308
|
+
prefix: h.latePrefixLabel,
|
|
3309
|
+
placeholder: h.kartaNamePlaceholder,
|
|
3310
|
+
maxLength: Be,
|
|
3311
|
+
showCharCount: !0,
|
|
3312
|
+
wrapperClassName: "h-12 rounded-xl",
|
|
3313
|
+
onChange: (D) => ae(C.id, D)
|
|
3314
|
+
},
|
|
3315
|
+
C.id
|
|
3316
|
+
)) })
|
|
3330
3317
|
] })
|
|
3331
3318
|
] }) }),
|
|
3332
3319
|
/* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0 w-full", children: /* @__PURE__ */ e.jsx(
|
|
3333
|
-
|
|
3320
|
+
Ue,
|
|
3334
3321
|
{
|
|
3335
3322
|
amount: f,
|
|
3336
3323
|
subtitle: x,
|
|
@@ -3338,19 +3325,19 @@ function ms({
|
|
|
3338
3325
|
showInfoIcon: p,
|
|
3339
3326
|
proceedLabel: v ?? h.proceedCtaLabel,
|
|
3340
3327
|
onProceed: () => y(!0),
|
|
3341
|
-
proceedButtonProps: { disabled: !
|
|
3328
|
+
proceedButtonProps: { disabled: !he, ...g }
|
|
3342
3329
|
}
|
|
3343
3330
|
) }),
|
|
3344
3331
|
/* @__PURE__ */ e.jsx(
|
|
3345
|
-
|
|
3332
|
+
br,
|
|
3346
3333
|
{
|
|
3347
|
-
isOpen:
|
|
3334
|
+
isOpen: k,
|
|
3348
3335
|
onClose: () => y(!1),
|
|
3349
3336
|
onEditDetailsClick: () => y(!1),
|
|
3350
3337
|
locale: t,
|
|
3351
|
-
ancestors:
|
|
3338
|
+
ancestors: o ? [{ id: "sarva-pitru", label: "", value: h.sarvaPitruFieldValue }] : r.ancestors,
|
|
3352
3339
|
kartaNames: r.kartaNames,
|
|
3353
|
-
gotra:
|
|
3340
|
+
gotra: me,
|
|
3354
3341
|
whatsappNumber: Ee,
|
|
3355
3342
|
amount: f,
|
|
3356
3343
|
onProceedPayment: () => {
|
|
@@ -3358,10 +3345,10 @@ function ms({
|
|
|
3358
3345
|
}
|
|
3359
3346
|
}
|
|
3360
3347
|
),
|
|
3361
|
-
/* @__PURE__ */ e.jsx(
|
|
3348
|
+
/* @__PURE__ */ e.jsx(gr, { isOpen: N, onClose: () => S(!1), locale: t })
|
|
3362
3349
|
] });
|
|
3363
3350
|
}
|
|
3364
|
-
function
|
|
3351
|
+
function ss(t = 3, r = []) {
|
|
3365
3352
|
return {
|
|
3366
3353
|
whatsappNumber: "",
|
|
3367
3354
|
email: "",
|
|
@@ -3371,33 +3358,33 @@ function bs(t = 3, r = []) {
|
|
|
3371
3358
|
ancestors: r
|
|
3372
3359
|
};
|
|
3373
3360
|
}
|
|
3374
|
-
const
|
|
3375
|
-
function
|
|
3361
|
+
const _t = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", wr = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", kr = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", Cr = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", Lr = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", _r = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
|
|
3362
|
+
function Er({ variant: t }) {
|
|
3376
3363
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
3377
3364
|
t === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3378
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3379
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3380
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3365
|
+
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
|
|
3366
|
+
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
|
|
3367
|
+
/* @__PURE__ */ e.jsx("img", { src: wr, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
|
|
3381
3368
|
] }),
|
|
3382
3369
|
t === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
|
|
3383
3370
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]" }),
|
|
3384
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3371
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src: kr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
3385
3372
|
] }),
|
|
3386
3373
|
t === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
|
|
3387
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3388
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3389
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3374
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: Cr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
3375
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src: Lr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
3376
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src: _r, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
3390
3377
|
] })
|
|
3391
3378
|
] });
|
|
3392
3379
|
}
|
|
3393
|
-
const
|
|
3394
|
-
function
|
|
3380
|
+
const Pr = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", Et = "https://srm-cdn.a4b.io/yoda/1788256971870.svg";
|
|
3381
|
+
function ns({
|
|
3395
3382
|
badgeLabel: t,
|
|
3396
3383
|
headingPrefix: r,
|
|
3397
3384
|
ritualCount: s,
|
|
3398
3385
|
ritualCountLabel: n,
|
|
3399
3386
|
headingSuffix: i,
|
|
3400
|
-
trustItems:
|
|
3387
|
+
trustItems: o
|
|
3401
3388
|
}) {
|
|
3402
3389
|
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: [
|
|
3403
3390
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center gap-2", children: [
|
|
@@ -3405,7 +3392,7 @@ function gs({
|
|
|
3405
3392
|
/* @__PURE__ */ e.jsx(
|
|
3406
3393
|
"img",
|
|
3407
3394
|
{
|
|
3408
|
-
src:
|
|
3395
|
+
src: Et,
|
|
3409
3396
|
alt: "",
|
|
3410
3397
|
"aria-hidden": !0,
|
|
3411
3398
|
className: "pointer-events-none absolute inset-0 size-full",
|
|
@@ -3418,7 +3405,7 @@ function gs({
|
|
|
3418
3405
|
/* @__PURE__ */ e.jsx(
|
|
3419
3406
|
"img",
|
|
3420
3407
|
{
|
|
3421
|
-
src:
|
|
3408
|
+
src: Et,
|
|
3422
3409
|
alt: "",
|
|
3423
3410
|
"aria-hidden": !0,
|
|
3424
3411
|
className: "pointer-events-none absolute inset-0 size-full blur-sm",
|
|
@@ -3428,7 +3415,7 @@ function gs({
|
|
|
3428
3415
|
}
|
|
3429
3416
|
}
|
|
3430
3417
|
),
|
|
3431
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3418
|
+
/* @__PURE__ */ e.jsx("img", { src: Pr, alt: "Sri Mandir", className: "relative z-10 h-[53px] w-auto object-contain" })
|
|
3432
3419
|
] }),
|
|
3433
3420
|
/* @__PURE__ */ e.jsxs("p", { className: "text-xs font-semibold text-[#d51f68]", children: [
|
|
3434
3421
|
"✦ ",
|
|
@@ -3444,16 +3431,16 @@ function gs({
|
|
|
3444
3431
|
" ",
|
|
3445
3432
|
i
|
|
3446
3433
|
] }),
|
|
3447
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children:
|
|
3448
|
-
/* @__PURE__ */ e.jsx(
|
|
3434
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children: o.map((u) => /* @__PURE__ */ e.jsxs("div", { className: "flex w-25 flex-col items-center gap-1 py-2", children: [
|
|
3435
|
+
/* @__PURE__ */ e.jsx(Er, { variant: u.variant }),
|
|
3449
3436
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: u.text })
|
|
3450
3437
|
] }, u.variant)) })
|
|
3451
3438
|
] });
|
|
3452
3439
|
}
|
|
3453
|
-
function
|
|
3454
|
-
return
|
|
3440
|
+
function Sr(t) {
|
|
3441
|
+
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);
|
|
3455
3442
|
}
|
|
3456
|
-
const
|
|
3443
|
+
const Pt = {
|
|
3457
3444
|
en: {
|
|
3458
3445
|
title: "Who is this puja for?",
|
|
3459
3446
|
subtitle: "Your ancestors",
|
|
@@ -3466,30 +3453,30 @@ const Tt = {
|
|
|
3466
3453
|
value: "सर्वपितृ के लिए",
|
|
3467
3454
|
helperText: "यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"
|
|
3468
3455
|
}
|
|
3469
|
-
},
|
|
3456
|
+
}, Tr = (t) => Pt[t] ?? Pt.en, Rr = _.forwardRef(
|
|
3470
3457
|
({
|
|
3471
3458
|
locale: t = "en",
|
|
3472
3459
|
title: r,
|
|
3473
3460
|
subtitle: s,
|
|
3474
3461
|
value: n,
|
|
3475
3462
|
helperText: i,
|
|
3476
|
-
icon:
|
|
3463
|
+
icon: o,
|
|
3477
3464
|
className: u,
|
|
3478
3465
|
headerClassName: f,
|
|
3479
3466
|
valueBoxClassName: x,
|
|
3480
3467
|
helperTextClassName: b,
|
|
3481
3468
|
...p
|
|
3482
3469
|
}, d) => {
|
|
3483
|
-
const v =
|
|
3470
|
+
const v = Tr(t);
|
|
3484
3471
|
return /* @__PURE__ */ e.jsxs(
|
|
3485
3472
|
"div",
|
|
3486
3473
|
{
|
|
3487
3474
|
ref: d,
|
|
3488
|
-
className:
|
|
3475
|
+
className: c("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm", u),
|
|
3489
3476
|
...p,
|
|
3490
3477
|
children: [
|
|
3491
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3492
|
-
/* @__PURE__ */ e.jsx(
|
|
3478
|
+
/* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3", f), children: [
|
|
3479
|
+
/* @__PURE__ */ e.jsx(_e, { icon: o ?? /* @__PURE__ */ e.jsx(Sr, { size: 22, "aria-hidden": !0 }), size: "lg" }),
|
|
3493
3480
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
3494
3481
|
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: r ?? v.title }),
|
|
3495
3482
|
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ?? v.subtitle })
|
|
@@ -3498,80 +3485,80 @@ const Tt = {
|
|
|
3498
3485
|
/* @__PURE__ */ e.jsx(
|
|
3499
3486
|
"div",
|
|
3500
3487
|
{
|
|
3501
|
-
className:
|
|
3488
|
+
className: c(
|
|
3502
3489
|
"mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",
|
|
3503
3490
|
x
|
|
3504
3491
|
),
|
|
3505
3492
|
children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ?? v.value })
|
|
3506
3493
|
}
|
|
3507
3494
|
),
|
|
3508
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3495
|
+
/* @__PURE__ */ e.jsx("p", { className: c("mt-3 text-sm leading-4.5 text-gray-500", b), children: i ?? v.helperText })
|
|
3509
3496
|
]
|
|
3510
3497
|
}
|
|
3511
3498
|
);
|
|
3512
3499
|
}
|
|
3513
3500
|
);
|
|
3514
|
-
|
|
3501
|
+
Rr.displayName = "SarvaPitruCard";
|
|
3515
3502
|
export {
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3503
|
+
$r as AudioQuestionCard,
|
|
3504
|
+
jt as BOOKING_SUMMARY_BANNER_DEFAULT_COPY,
|
|
3505
|
+
or as BillDetails,
|
|
3506
|
+
lr as BookingSummaryBanner,
|
|
3520
3507
|
q as Button,
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3508
|
+
gt as CHECKOUT_BAR_DEFAULT_COPY,
|
|
3509
|
+
Nt as CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY,
|
|
3510
|
+
Gr as CartReviewAddedBadge,
|
|
3511
|
+
Ur as CartReviewChangeButton,
|
|
3512
|
+
It as CartReviewItem,
|
|
3513
|
+
Qa as CartReviewMandapItem,
|
|
3514
|
+
Yr as CartView,
|
|
3515
|
+
as as CheckIcon,
|
|
3516
|
+
Ue as CheckoutBar,
|
|
3517
|
+
Ga as Chip,
|
|
3518
|
+
$e as ConfinedBottomSheet,
|
|
3519
|
+
br as ConfirmPujaDetailsModal,
|
|
3520
|
+
Zr as DatePickerSheet,
|
|
3521
|
+
Xr as EmailSheet,
|
|
3522
|
+
Dr as FAQAccordion,
|
|
3536
3523
|
Ha as FAQSection,
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3524
|
+
kt as GOTRA_INFO_MODAL_DEFAULT_COPY,
|
|
3525
|
+
gr as GotraInfoModal,
|
|
3526
|
+
_e as IconBadge,
|
|
3527
|
+
Qr as L2Card,
|
|
3528
|
+
Bt as LanguageSwitcher,
|
|
3529
|
+
es as OutcomeButton,
|
|
3530
|
+
ns as OutcomeSummary,
|
|
3531
|
+
vt as PACKAGE_SELECT_DEFAULT_COPY,
|
|
3532
|
+
Ct as PUJA_DETAILS_FORM_DEFAULT_COPY,
|
|
3533
|
+
qr as PackageSelect,
|
|
3534
|
+
Jr as PhoneNumberSheet,
|
|
3535
|
+
ts as PlusIcon,
|
|
3536
|
+
rs as PujaDetailsForm,
|
|
3537
|
+
Wr as QuantityStepper,
|
|
3538
|
+
Pt as SARVA_PITRU_CARD_DEFAULT_COPY,
|
|
3539
|
+
Rr as SarvaPitruCard,
|
|
3553
3540
|
Dt as SelectorCard,
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3541
|
+
Vr as SelectorCardEditableField,
|
|
3542
|
+
Hr as SelectorCardInfoRow,
|
|
3543
|
+
Xa as SelectorCardNote,
|
|
3544
|
+
Ja as SelectorCardPriceBadge,
|
|
3545
|
+
er as ServiceOfferCard,
|
|
3546
|
+
Mr as StepProgressHeader,
|
|
3547
|
+
Br as TestimonialCard,
|
|
3548
|
+
ne as TextField,
|
|
3549
|
+
Kr as TithiPickerSheet,
|
|
3550
|
+
Ir as TopBar,
|
|
3551
|
+
ar as TrustBadgesBar,
|
|
3552
|
+
Wa as VideoPlayer,
|
|
3553
|
+
Ta as buttonVariants,
|
|
3554
|
+
os as cn,
|
|
3555
|
+
ss as createEmptyPujaDetailsFormValues,
|
|
3556
|
+
nr as getBookingSummaryBannerDefaultCopy,
|
|
3557
|
+
rr as getCheckoutBarDefaultCopy,
|
|
3558
|
+
mr as getConfirmPujaDetailsModalDefaultCopy,
|
|
3572
3559
|
Ht as getGotraInfoModalDefaultCopy,
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3560
|
+
yr as getKartaOrdinalLabel,
|
|
3561
|
+
sr as getPackageSelectDefaultCopy,
|
|
3562
|
+
vr as getPujaDetailsFormDefaultCopy,
|
|
3563
|
+
Tr as getSarvaPitruCardDefaultCopy
|
|
3577
3564
|
};
|