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