@srimandir/pitru-paksh-common 2.2.4 → 2.4.4
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,14 +1,14 @@
|
|
|
1
|
-
import { cn as o, BottomSheet as Le, DEFAULT_COUNTRIES as ma, getMaxLengthForCountry as Me, validatePhoneByCountryCode as
|
|
1
|
+
import { cn as o, BottomSheet as Le, DEFAULT_COUNTRIES as ma, getMaxLengthForCountry as Me, validatePhoneByCountryCode as Rt, getFlagEmoji as $e } from "@srimandir/common";
|
|
2
2
|
import { cn as ys } from "@srimandir/common";
|
|
3
3
|
import * as ba from "react";
|
|
4
|
-
import L, { useState as
|
|
4
|
+
import L, { useState as W, useMemo as ga, useRef as Ot, useEffect as We } from "react";
|
|
5
5
|
import { cva as va } from "class-variance-authority";
|
|
6
6
|
import ja from "react-player";
|
|
7
7
|
var Ne = { exports: {} }, ue = {};
|
|
8
|
-
var
|
|
8
|
+
var ct;
|
|
9
9
|
function ya() {
|
|
10
|
-
if (
|
|
11
|
-
|
|
10
|
+
if (ct) return ue;
|
|
11
|
+
ct = 1;
|
|
12
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
14
|
var p, d = {}, v = null, g = null;
|
|
@@ -20,14 +20,14 @@ function ya() {
|
|
|
20
20
|
return ue.Fragment = s, ue.jsx = u, ue.jsxs = u, ue;
|
|
21
21
|
}
|
|
22
22
|
var xe = {};
|
|
23
|
-
var
|
|
23
|
+
var dt;
|
|
24
24
|
function Na() {
|
|
25
|
-
return
|
|
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"), v = /* @__PURE__ */ Symbol.for("react.lazy"), g = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator,
|
|
27
|
-
function
|
|
25
|
+
return dt || (dt = 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"), v = /* @__PURE__ */ Symbol.for("react.lazy"), g = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator, k = "@@iterator";
|
|
27
|
+
function C(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[k];
|
|
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;
|
|
@@ -48,10 +48,10 @@ function Na() {
|
|
|
48
48
|
z.unshift("Warning: " + l), Function.prototype.apply.call(console[a], console, z);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
var h = !1,
|
|
51
|
+
var h = !1, R = !1, M = !1, B = !1, Y = !1, re;
|
|
52
52
|
re = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
53
|
-
function
|
|
54
|
-
return !!(typeof a == "string" || typeof a == "function" || a === n || a === c || Y || a === i || a === b || a === p || B || a === g || h ||
|
|
53
|
+
function D(a) {
|
|
54
|
+
return !!(typeof a == "string" || typeof a == "function" || a === n || a === c || Y || a === i || a === b || a === p || B || a === g || h || R || M || typeof a == "object" && a !== null && (a.$$typeof === v || a.$$typeof === d || a.$$typeof === u || a.$$typeof === f || a.$$typeof === x || // This needs to include all possible module reference object
|
|
55
55
|
// types supported by any Flight configuration anywhere since
|
|
56
56
|
// we don't know which Flight build this will end up being used
|
|
57
57
|
// with.
|
|
@@ -67,7 +67,7 @@ function Na() {
|
|
|
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")
|
|
@@ -100,11 +100,11 @@ function Na() {
|
|
|
100
100
|
return H(a, a.render, "ForwardRef");
|
|
101
101
|
case d:
|
|
102
102
|
var w = a.displayName || null;
|
|
103
|
-
return w !== null ? w :
|
|
103
|
+
return w !== null ? w : $(a.type) || "Memo";
|
|
104
104
|
case v: {
|
|
105
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
|
}
|
|
@@ -139,7 +139,7 @@ function Na() {
|
|
|
139
139
|
ae++;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function _() {
|
|
143
143
|
{
|
|
144
144
|
if (ae--, ae === 0) {
|
|
145
145
|
var a = {
|
|
@@ -174,7 +174,7 @@ function Na() {
|
|
|
174
174
|
ae < 0 && N("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
var
|
|
177
|
+
var I = y.ReactCurrentDispatcher, Q;
|
|
178
178
|
function ge(a, l, m) {
|
|
179
179
|
{
|
|
180
180
|
if (Q === void 0)
|
|
@@ -193,7 +193,7 @@ function Na() {
|
|
|
193
193
|
var Ut = typeof WeakMap == "function" ? WeakMap : Map;
|
|
194
194
|
ve = new Ut();
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function Ye(a, l) {
|
|
197
197
|
if (!a || Se)
|
|
198
198
|
return "";
|
|
199
199
|
{
|
|
@@ -206,7 +206,7 @@ function Na() {
|
|
|
206
206
|
var T = Error.prepareStackTrace;
|
|
207
207
|
Error.prepareStackTrace = void 0;
|
|
208
208
|
var z;
|
|
209
|
-
z =
|
|
209
|
+
z = I.current, I.current = null, Ee();
|
|
210
210
|
try {
|
|
211
211
|
if (l) {
|
|
212
212
|
var E = function() {
|
|
@@ -242,14 +242,14 @@ function Na() {
|
|
|
242
242
|
} catch (G) {
|
|
243
243
|
if (G && w && typeof G.stack == "string") {
|
|
244
244
|
for (var P = G.stack.split(`
|
|
245
|
-
`),
|
|
246
|
-
`), A = P.length - 1, F =
|
|
245
|
+
`), V = w.stack.split(`
|
|
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 (P[A] !==
|
|
249
|
+
if (P[A] !== V[F]) {
|
|
250
250
|
if (A !== 1 || F !== 1)
|
|
251
251
|
do
|
|
252
|
-
if (A--, F--, F < 0 || P[A] !==
|
|
252
|
+
if (A--, F--, F < 0 || P[A] !== V[F]) {
|
|
253
253
|
var ee = `
|
|
254
254
|
` + P[A].replace(" at new ", " at ");
|
|
255
255
|
return a.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", a.displayName)), typeof a == "function" && ve.set(a, ee), ee;
|
|
@@ -259,13 +259,13 @@ function Na() {
|
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
} finally {
|
|
262
|
-
Se = !1,
|
|
262
|
+
Se = !1, I.current = z, _(), Error.prepareStackTrace = T;
|
|
263
263
|
}
|
|
264
264
|
var oe = a ? a.displayName || a.name : "", ne = oe ? ge(oe) : "";
|
|
265
265
|
return typeof a == "function" && ve.set(a, ne), ne;
|
|
266
266
|
}
|
|
267
267
|
function Gt(a, l, m) {
|
|
268
|
-
return
|
|
268
|
+
return Ye(a, !1);
|
|
269
269
|
}
|
|
270
270
|
function qt(a) {
|
|
271
271
|
var l = a.prototype;
|
|
@@ -275,7 +275,7 @@ function Na() {
|
|
|
275
275
|
if (a == null)
|
|
276
276
|
return "";
|
|
277
277
|
if (typeof a == "function")
|
|
278
|
-
return
|
|
278
|
+
return Ye(a, qt(a));
|
|
279
279
|
if (typeof a == "string")
|
|
280
280
|
return ge(a);
|
|
281
281
|
switch (a) {
|
|
@@ -300,13 +300,13 @@ function Na() {
|
|
|
300
300
|
}
|
|
301
301
|
return "";
|
|
302
302
|
}
|
|
303
|
-
var de = Object.prototype.hasOwnProperty,
|
|
303
|
+
var de = Object.prototype.hasOwnProperty, Ke = {}, Ze = y.ReactDebugCurrentFrame;
|
|
304
304
|
function ye(a) {
|
|
305
305
|
if (a) {
|
|
306
306
|
var l = a._owner, m = je(a.type, a._source, l ? l.type : null);
|
|
307
|
-
|
|
307
|
+
Ze.setExtraStackFrame(m);
|
|
308
308
|
} else
|
|
309
|
-
|
|
309
|
+
Ze.setExtraStackFrame(null);
|
|
310
310
|
}
|
|
311
311
|
function Yt(a, l, m, w, T) {
|
|
312
312
|
{
|
|
@@ -316,14 +316,14 @@ function Na() {
|
|
|
316
316
|
var P = void 0;
|
|
317
317
|
try {
|
|
318
318
|
if (typeof a[E] != "function") {
|
|
319
|
-
var
|
|
320
|
-
throw
|
|
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
|
+
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
|
-
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
|
|
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 Ke) && (Ke[P.message] = !0, ye(T), N("Failed %s type: %s", m, P.message), ye(null));
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
}
|
|
@@ -339,24 +339,24 @@ function Na() {
|
|
|
339
339
|
}
|
|
340
340
|
function Jt(a) {
|
|
341
341
|
try {
|
|
342
|
-
return
|
|
342
|
+
return Je(a), !1;
|
|
343
343
|
} catch {
|
|
344
344
|
return !0;
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function Je(a) {
|
|
348
348
|
return "" + a;
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function Xe(a) {
|
|
351
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)),
|
|
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)), Je(a);
|
|
353
353
|
}
|
|
354
|
-
var
|
|
354
|
+
var Qe = y.ReactCurrentOwner, Xt = {
|
|
355
355
|
key: !0,
|
|
356
356
|
ref: !0,
|
|
357
357
|
__self: !0,
|
|
358
358
|
__source: !0
|
|
359
|
-
},
|
|
359
|
+
}, et, tt;
|
|
360
360
|
function Qt(a) {
|
|
361
361
|
if (de.call(a, "ref")) {
|
|
362
362
|
var l = Object.getOwnPropertyDescriptor(a, "ref").get;
|
|
@@ -374,12 +374,12 @@ function Na() {
|
|
|
374
374
|
return a.key !== void 0;
|
|
375
375
|
}
|
|
376
376
|
function ta(a, l) {
|
|
377
|
-
typeof a.ref == "string" &&
|
|
377
|
+
typeof a.ref == "string" && Qe.current;
|
|
378
378
|
}
|
|
379
379
|
function aa(a, l) {
|
|
380
380
|
{
|
|
381
381
|
var m = function() {
|
|
382
|
-
|
|
382
|
+
et || (et = !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,
|
|
@@ -390,7 +390,7 @@ function Na() {
|
|
|
390
390
|
function ra(a, l) {
|
|
391
391
|
{
|
|
392
392
|
var m = function() {
|
|
393
|
-
|
|
393
|
+
tt || (tt = !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,
|
|
@@ -429,8 +429,8 @@ function Na() {
|
|
|
429
429
|
};
|
|
430
430
|
function na(a, l, m, w, T) {
|
|
431
431
|
{
|
|
432
|
-
var z, E = {}, P = null,
|
|
433
|
-
m !== void 0 && (
|
|
432
|
+
var z, E = {}, P = null, V = null;
|
|
433
|
+
m !== void 0 && (Xe(m), P = "" + m), ea(l) && (Xe(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) {
|
|
@@ -438,30 +438,30 @@ function Na() {
|
|
|
438
438
|
for (z in A)
|
|
439
439
|
E[z] === void 0 && (E[z] = A[z]);
|
|
440
440
|
}
|
|
441
|
-
if (P ||
|
|
441
|
+
if (P || V) {
|
|
442
442
|
var F = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
443
|
-
P && aa(E, F),
|
|
443
|
+
P && aa(E, F), V && ra(E, F);
|
|
444
444
|
}
|
|
445
|
-
return sa(a, P,
|
|
445
|
+
return sa(a, P, V, T, w, Qe.current, E);
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
var Re = y.ReactCurrentOwner,
|
|
448
|
+
var Re = y.ReactCurrentOwner, at = y.ReactDebugCurrentFrame;
|
|
449
449
|
function ie(a) {
|
|
450
450
|
if (a) {
|
|
451
451
|
var l = a._owner, m = je(a.type, a._source, l ? l.type : null);
|
|
452
|
-
|
|
452
|
+
at.setExtraStackFrame(m);
|
|
453
453
|
} else
|
|
454
|
-
|
|
454
|
+
at.setExtraStackFrame(null);
|
|
455
455
|
}
|
|
456
456
|
var Oe;
|
|
457
457
|
Oe = !1;
|
|
458
458
|
function ze(a) {
|
|
459
459
|
return typeof a == "object" && a !== null && a.$$typeof === r;
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function rt() {
|
|
462
462
|
{
|
|
463
463
|
if (Re.current) {
|
|
464
|
-
var a =
|
|
464
|
+
var a = $(Re.current.type);
|
|
465
465
|
if (a)
|
|
466
466
|
return `
|
|
467
467
|
|
|
@@ -473,10 +473,10 @@ Check the render method of \`` + a + "`.";
|
|
|
473
473
|
function la(a) {
|
|
474
474
|
return "";
|
|
475
475
|
}
|
|
476
|
-
var
|
|
476
|
+
var st = {};
|
|
477
477
|
function ia(a) {
|
|
478
478
|
{
|
|
479
|
-
var l =
|
|
479
|
+
var l = rt();
|
|
480
480
|
if (!l) {
|
|
481
481
|
var m = typeof a == "string" ? a : a.displayName || a.name;
|
|
482
482
|
m && (l = `
|
|
@@ -486,35 +486,35 @@ Check the top-level render call using <` + m + ">.");
|
|
|
486
486
|
return l;
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function nt(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
494
|
var m = ia(l);
|
|
495
|
-
if (
|
|
495
|
+
if (st[m])
|
|
496
496
|
return;
|
|
497
|
-
|
|
497
|
+
st[m] = !0;
|
|
498
498
|
var w = "";
|
|
499
|
-
a && a._owner && a._owner !== Re.current && (w = " It was passed a child from " +
|
|
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 lt(a, l) {
|
|
503
503
|
{
|
|
504
504
|
if (typeof a != "object")
|
|
505
505
|
return;
|
|
506
506
|
if (Te(a))
|
|
507
507
|
for (var m = 0; m < a.length; m++) {
|
|
508
508
|
var w = a[m];
|
|
509
|
-
ze(w) &&
|
|
509
|
+
ze(w) && nt(w, l);
|
|
510
510
|
}
|
|
511
511
|
else if (ze(a))
|
|
512
512
|
a._store && (a._store.validated = !0);
|
|
513
513
|
else if (a) {
|
|
514
|
-
var T =
|
|
514
|
+
var T = C(a);
|
|
515
515
|
if (typeof T == "function" && T !== a.entries)
|
|
516
516
|
for (var z = T.call(a), E; !(E = z.next()).done; )
|
|
517
|
-
ze(E.value) &&
|
|
517
|
+
ze(E.value) && nt(E.value, l);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
}
|
|
@@ -533,11 +533,11 @@ Check the top-level render call using <` + m + ">.");
|
|
|
533
533
|
else
|
|
534
534
|
return;
|
|
535
535
|
if (m) {
|
|
536
|
-
var w =
|
|
536
|
+
var w = $(l);
|
|
537
537
|
Yt(m, a.props, "prop", w, a);
|
|
538
538
|
} else if (l.PropTypes !== void 0 && !Oe) {
|
|
539
539
|
Oe = !0;
|
|
540
|
-
var T =
|
|
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.");
|
|
@@ -555,17 +555,17 @@ Check the top-level render call using <` + m + ">.");
|
|
|
555
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 it = {};
|
|
559
|
+
function ot(a, l, m, w, T, z) {
|
|
560
560
|
{
|
|
561
|
-
var E =
|
|
561
|
+
var E = D(a);
|
|
562
562
|
if (!E) {
|
|
563
563
|
var P = "";
|
|
564
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
|
|
566
|
-
|
|
565
|
+
var V = la();
|
|
566
|
+
V ? P += V : P += rt();
|
|
567
567
|
var A;
|
|
568
|
-
a === null ? A = "null" : Te(a) ? A = "array" : a !== void 0 && a.$$typeof === r ? (A = "<" + (
|
|
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
570
|
var F = na(a, l, m, T, z);
|
|
571
571
|
if (F == null)
|
|
@@ -576,43 +576,43 @@ Check the top-level render call using <` + m + ">.");
|
|
|
576
576
|
if (w)
|
|
577
577
|
if (Te(ee)) {
|
|
578
578
|
for (var oe = 0; oe < ee.length; oe++)
|
|
579
|
-
|
|
579
|
+
lt(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
|
+
lt(ee, a);
|
|
585
585
|
}
|
|
586
586
|
if (de.call(l, "key")) {
|
|
587
|
-
var ne =
|
|
587
|
+
var ne = $(a), G = Object.keys(l).filter(function(ha) {
|
|
588
588
|
return ha !== "key";
|
|
589
589
|
}), Ae = G.length > 0 ? "{key: someKey, " + G.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
590
|
-
if (!
|
|
590
|
+
if (!it[ne + Ae]) {
|
|
591
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} />`, Ae, ne, pa, ne),
|
|
597
|
+
<%s key={someKey} {...props} />`, Ae, ne, pa, ne), it[ne + Ae] = !0;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
return a === n ? ca(F) : oa(F), F;
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
603
|
function da(a, l, m) {
|
|
604
|
-
return
|
|
604
|
+
return ot(a, l, m, !0);
|
|
605
605
|
}
|
|
606
606
|
function ua(a, l, m) {
|
|
607
|
-
return
|
|
607
|
+
return ot(a, l, m, !1);
|
|
608
608
|
}
|
|
609
609
|
var xa = ua, fa = da;
|
|
610
610
|
xe.Fragment = n, xe.jsx = xa, xe.jsxs = fa;
|
|
611
611
|
})()), xe;
|
|
612
612
|
}
|
|
613
|
-
var
|
|
613
|
+
var ut;
|
|
614
614
|
function wa() {
|
|
615
|
-
return
|
|
615
|
+
return ut || (ut = 1, process.env.NODE_ENV === "production" ? Ne.exports = ya() : Ne.exports = Na()), Ne.exports;
|
|
616
616
|
}
|
|
617
617
|
var e = wa(), zt = {
|
|
618
618
|
color: void 0,
|
|
@@ -620,7 +620,7 @@ var e = wa(), zt = {
|
|
|
620
620
|
className: void 0,
|
|
621
621
|
style: void 0,
|
|
622
622
|
attr: void 0
|
|
623
|
-
},
|
|
623
|
+
}, xt = L.createContext && /* @__PURE__ */ L.createContext(zt), ka = ["attr", "size", "title"];
|
|
624
624
|
function Ca(t, r) {
|
|
625
625
|
if (t == null) return {};
|
|
626
626
|
var s, n, i = _a(t, r);
|
|
@@ -648,7 +648,7 @@ function ke() {
|
|
|
648
648
|
return t;
|
|
649
649
|
}, ke.apply(null, arguments);
|
|
650
650
|
}
|
|
651
|
-
function
|
|
651
|
+
function ft(t, r) {
|
|
652
652
|
var s = Object.keys(t);
|
|
653
653
|
if (Object.getOwnPropertySymbols) {
|
|
654
654
|
var n = Object.getOwnPropertySymbols(t);
|
|
@@ -661,9 +661,9 @@ function xt(t, r) {
|
|
|
661
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 ? ft(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)) : ft(Object(s)).forEach(function(n) {
|
|
667
667
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(s, n));
|
|
668
668
|
});
|
|
669
669
|
}
|
|
@@ -691,7 +691,7 @@ function At(t) {
|
|
|
691
691
|
key: s
|
|
692
692
|
}, r.attr), At(r.child)));
|
|
693
693
|
}
|
|
694
|
-
function
|
|
694
|
+
function O(t) {
|
|
695
695
|
return (r) => /* @__PURE__ */ L.createElement(Sa, ke({
|
|
696
696
|
attr: Ce({}, t.attr)
|
|
697
697
|
}, r), At(t.child));
|
|
@@ -713,20 +713,22 @@ function Sa(t) {
|
|
|
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 xt !== void 0 ? /* @__PURE__ */ L.createElement(xt.Consumer, null, (s) => r(s)) : r(zt);
|
|
717
717
|
}
|
|
718
718
|
function Ta(t) {
|
|
719
|
-
return
|
|
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
721
|
const Ra = va(
|
|
722
|
-
"appearance-none inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-semibold transition-colors disabled:pointer-events-none
|
|
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",
|
|
@@ -762,24 +764,27 @@ const Ra = va(
|
|
|
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 v = (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", v && "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 Ve(t) {
|
|
783
788
|
return t.isOpen ? /* @__PURE__ */ e.jsx(
|
|
784
789
|
"div",
|
|
785
790
|
{
|
|
@@ -790,22 +795,22 @@ function We(t) {
|
|
|
790
795
|
) : null;
|
|
791
796
|
}
|
|
792
797
|
function Oa(t) {
|
|
793
|
-
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);
|
|
794
799
|
}
|
|
795
800
|
function za(t) {
|
|
796
|
-
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);
|
|
797
802
|
}
|
|
798
803
|
function Aa(t) {
|
|
799
|
-
return
|
|
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);
|
|
800
805
|
}
|
|
801
806
|
function Ft(t) {
|
|
802
|
-
return
|
|
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);
|
|
803
808
|
}
|
|
804
|
-
function
|
|
805
|
-
return
|
|
809
|
+
function pt(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);
|
|
806
811
|
}
|
|
807
812
|
function Fa(t) {
|
|
808
|
-
return
|
|
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
815
|
const Zr = ({
|
|
811
816
|
quote: t,
|
|
@@ -855,46 +860,46 @@ const Zr = ({
|
|
|
855
860
|
}
|
|
856
861
|
);
|
|
857
862
|
function Ba(t) {
|
|
858
|
-
return
|
|
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);
|
|
859
864
|
}
|
|
860
|
-
function
|
|
861
|
-
return
|
|
865
|
+
function Ia(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);
|
|
862
867
|
}
|
|
863
|
-
function
|
|
864
|
-
return
|
|
868
|
+
function ht(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);
|
|
865
870
|
}
|
|
866
|
-
function
|
|
867
|
-
return
|
|
871
|
+
function Da(t) {
|
|
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);
|
|
868
873
|
}
|
|
869
874
|
function fe(t) {
|
|
870
|
-
return
|
|
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);
|
|
871
876
|
}
|
|
872
877
|
function Bt(t) {
|
|
873
|
-
return
|
|
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);
|
|
874
879
|
}
|
|
875
880
|
function Ma(t) {
|
|
876
|
-
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);
|
|
877
882
|
}
|
|
878
883
|
function $a(t) {
|
|
879
|
-
return
|
|
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);
|
|
880
885
|
}
|
|
881
886
|
function ce(t) {
|
|
882
|
-
return
|
|
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
|
-
function
|
|
885
|
-
return
|
|
889
|
+
function He(t) {
|
|
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
892
|
function Wa(t) {
|
|
888
|
-
return
|
|
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
|
|
892
|
-
}
|
|
893
|
-
function He(t) {
|
|
894
|
-
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 5 19 12 12 19" }, child: [] }] })(t);
|
|
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);
|
|
895
897
|
}
|
|
896
898
|
function Ue(t) {
|
|
897
|
-
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);
|
|
900
|
+
}
|
|
901
|
+
function Ge(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 = "अक्सर पूछे जाने वाले प्रश्न",
|
|
@@ -907,7 +912,7 @@ const Ha = ({
|
|
|
907
912
|
defaultOpenIndex: f = -1,
|
|
908
913
|
className: x = ""
|
|
909
914
|
}) => {
|
|
910
|
-
const [b, p] =
|
|
915
|
+
const [b, p] = W(i), [d, v] = W(f), g = n && r.length > s, j = g && !b ? r.slice(0, s) : r;
|
|
911
916
|
return /* @__PURE__ */ e.jsxs(
|
|
912
917
|
"div",
|
|
913
918
|
{
|
|
@@ -917,8 +922,8 @@ const Ha = ({
|
|
|
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((
|
|
921
|
-
const y = d ===
|
|
925
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: j.map((k, C) => {
|
|
926
|
+
const y = d === C;
|
|
922
927
|
return /* @__PURE__ */ e.jsxs(
|
|
923
928
|
"div",
|
|
924
929
|
{
|
|
@@ -932,12 +937,12 @@ const Ha = ({
|
|
|
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: () => v(y ? -1 :
|
|
940
|
+
onClick: () => v(y ? -1 : C),
|
|
936
941
|
"aria-expanded": y,
|
|
937
|
-
"aria-controls": `faq-answer-${
|
|
938
|
-
id: `faq-question-${
|
|
942
|
+
"aria-controls": `faq-answer-${C}`,
|
|
943
|
+
id: `faq-question-${C}`,
|
|
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: k.question }),
|
|
941
946
|
/* @__PURE__ */ e.jsx(
|
|
942
947
|
ce,
|
|
943
948
|
{
|
|
@@ -952,17 +957,17 @@ const Ha = ({
|
|
|
952
957
|
/* @__PURE__ */ e.jsx(
|
|
953
958
|
"div",
|
|
954
959
|
{
|
|
955
|
-
id: `faq-answer-${
|
|
960
|
+
id: `faq-answer-${C}`,
|
|
956
961
|
role: "region",
|
|
957
|
-
"aria-labelledby": `faq-question-${
|
|
962
|
+
"aria-labelledby": `faq-question-${C}`,
|
|
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: k.answer })
|
|
961
966
|
}
|
|
962
967
|
)
|
|
963
968
|
]
|
|
964
969
|
},
|
|
965
|
-
|
|
970
|
+
C
|
|
966
971
|
);
|
|
967
972
|
}) }),
|
|
968
973
|
g && /* @__PURE__ */ e.jsx(
|
|
@@ -971,7 +976,7 @@ const Ha = ({
|
|
|
971
976
|
variant: "secondary",
|
|
972
977
|
size: "lg",
|
|
973
978
|
className: "w-full",
|
|
974
|
-
onClick: () => p((
|
|
979
|
+
onClick: () => p((k) => !k),
|
|
975
980
|
"aria-expanded": b,
|
|
976
981
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
977
982
|
ce,
|
|
@@ -999,13 +1004,13 @@ const Ha = ({
|
|
|
999
1004
|
defaultOpenIndex: x = -1,
|
|
1000
1005
|
className: b = ""
|
|
1001
1006
|
}) => {
|
|
1002
|
-
const [p, d] =
|
|
1007
|
+
const [p, d] = W(c), [v, g] = W(x), j = i && s.length > n, k = j && !p ? s.slice(0, n) : s;
|
|
1003
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:
|
|
1013
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col", children: k.map((C, y) => {
|
|
1009
1014
|
const N = v === y, S = N ? Ma : ce;
|
|
1010
1015
|
return /* @__PURE__ */ e.jsxs(
|
|
1011
1016
|
"div",
|
|
@@ -1022,7 +1027,7 @@ const Ha = ({
|
|
|
1022
1027
|
"aria-controls": `faq-accordion-answer-${y}`,
|
|
1023
1028
|
id: `faq-accordion-question-${y}`,
|
|
1024
1029
|
children: [
|
|
1025
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-semibold text-[#22272b]", children:
|
|
1030
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-semibold text-[#22272b]", children: C.question }),
|
|
1026
1031
|
/* @__PURE__ */ e.jsx(S, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 })
|
|
1027
1032
|
]
|
|
1028
1033
|
}
|
|
@@ -1034,7 +1039,7 @@ const Ha = ({
|
|
|
1034
1039
|
role: "region",
|
|
1035
1040
|
"aria-labelledby": `faq-accordion-question-${y}`,
|
|
1036
1041
|
hidden: !N,
|
|
1037
|
-
children: /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-xs text-[#374151]", children:
|
|
1042
|
+
children: /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-xs text-[#374151]", children: C.answer })
|
|
1038
1043
|
}
|
|
1039
1044
|
)
|
|
1040
1045
|
]
|
|
@@ -1048,7 +1053,7 @@ const Ha = ({
|
|
|
1048
1053
|
variant: "secondary",
|
|
1049
1054
|
size: "lg",
|
|
1050
1055
|
className: "w-full",
|
|
1051
|
-
onClick: () => d((
|
|
1056
|
+
onClick: () => d((C) => !C),
|
|
1052
1057
|
"aria-expanded": p,
|
|
1053
1058
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
1054
1059
|
ce,
|
|
@@ -1064,12 +1069,12 @@ const Ha = ({
|
|
|
1064
1069
|
] });
|
|
1065
1070
|
}, Ua = L.forwardRef(
|
|
1066
1071
|
({ src: t, poster: r, className: s = "", rounded: n = !0, width: i, height: c }, u) => {
|
|
1067
|
-
const [f, x] = L.useState(!1), [b, p] = L.useState(!0), [d, v] = L.useState(!1), [g, j] = L.useState(0), [
|
|
1072
|
+
const [f, x] = L.useState(!1), [b, p] = L.useState(!0), [d, v] = L.useState(!1), [g, j] = L.useState(0), [k, C] = L.useState(0), y = L.useRef(null), S = o(
|
|
1068
1073
|
"block w-full",
|
|
1069
1074
|
(i !== void 0 || c !== void 0) && "h-full object-cover"
|
|
1070
|
-
), h = (
|
|
1071
|
-
const
|
|
1072
|
-
j(
|
|
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",
|
|
@@ -1093,8 +1098,8 @@ const Ha = ({
|
|
|
1093
1098
|
width: i,
|
|
1094
1099
|
height: c,
|
|
1095
1100
|
className: S,
|
|
1096
|
-
onTimeUpdate: (
|
|
1097
|
-
onDurationChange: (
|
|
1101
|
+
onTimeUpdate: (R) => j(R.currentTarget.currentTime),
|
|
1102
|
+
onDurationChange: (R) => C(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(Fa, { size: 16 }) : /* @__PURE__ */ e.jsx(
|
|
1114
|
+
onClick: () => p((R) => !R),
|
|
1115
|
+
children: b ? /* @__PURE__ */ e.jsx(Fa, { size: 16 }) : /* @__PURE__ */ e.jsx(pt, { size: 16, className: "translate-x-0.5" })
|
|
1111
1116
|
}
|
|
1112
1117
|
),
|
|
1113
1118
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1118,7 +1123,7 @@ 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: () => v((
|
|
1126
|
+
onClick: () => v((R) => !R),
|
|
1122
1127
|
children: d ? /* @__PURE__ */ e.jsx(za, { size: 14 }) : /* @__PURE__ */ e.jsx(Oa, { size: 14 })
|
|
1123
1128
|
}
|
|
1124
1129
|
),
|
|
@@ -1127,7 +1132,7 @@ const Ha = ({
|
|
|
1127
1132
|
{
|
|
1128
1133
|
type: "range",
|
|
1129
1134
|
min: 0,
|
|
1130
|
-
max:
|
|
1135
|
+
max: k || 0,
|
|
1131
1136
|
step: 0.1,
|
|
1132
1137
|
value: g,
|
|
1133
1138
|
onChange: h,
|
|
@@ -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(pt, { size: 16, className: "translate-x-0.5" })
|
|
1151
1156
|
}
|
|
1152
1157
|
)
|
|
1153
1158
|
] })
|
|
@@ -1156,7 +1161,7 @@ const Ha = ({
|
|
|
1156
1161
|
}
|
|
1157
1162
|
);
|
|
1158
1163
|
Ua.displayName = "VideoPlayer";
|
|
1159
|
-
const Ga = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }),
|
|
1164
|
+
const Ga = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), It = L.forwardRef(
|
|
1160
1165
|
({
|
|
1161
1166
|
options: t,
|
|
1162
1167
|
value: r,
|
|
@@ -1169,32 +1174,32 @@ const Ga = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1169
1174
|
menuClassName: x = "",
|
|
1170
1175
|
...b
|
|
1171
1176
|
}, p) => {
|
|
1172
|
-
const [d, v] = L.useState(n), g = i !== void 0, j = g ? i : d,
|
|
1177
|
+
const [d, v] = L.useState(n), g = i !== void 0, j = g ? i : d, k = L.useCallback(
|
|
1173
1178
|
(N) => {
|
|
1174
1179
|
g || v(N), c?.(N);
|
|
1175
1180
|
},
|
|
1176
1181
|
[g, c]
|
|
1177
|
-
),
|
|
1178
|
-
L.useImperativeHandle(p, () =>
|
|
1182
|
+
), C = L.useRef(null);
|
|
1183
|
+
L.useImperativeHandle(p, () => C.current), L.useEffect(() => {
|
|
1179
1184
|
if (!j) return;
|
|
1180
1185
|
const N = (h) => {
|
|
1181
|
-
|
|
1186
|
+
C.current?.contains(h.target) || k(!1);
|
|
1182
1187
|
}, S = (h) => {
|
|
1183
|
-
h.key === "Escape" &&
|
|
1188
|
+
h.key === "Escape" && k(!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, k]);
|
|
1189
1194
|
const y = (N) => {
|
|
1190
|
-
s?.(N.value),
|
|
1195
|
+
s?.(N.value), k(!1);
|
|
1191
1196
|
};
|
|
1192
|
-
return /* @__PURE__ */ e.jsxs("div", { ref:
|
|
1197
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: C, 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: () => k(!j),
|
|
1198
1203
|
"aria-label": "Switch language",
|
|
1199
1204
|
"aria-haspopup": "listbox",
|
|
1200
1205
|
"aria-expanded": j,
|
|
@@ -1243,7 +1248,7 @@ const Ga = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1243
1248
|
] });
|
|
1244
1249
|
}
|
|
1245
1250
|
);
|
|
1246
|
-
|
|
1251
|
+
It.displayName = "LanguageSwitcher";
|
|
1247
1252
|
function Xr({
|
|
1248
1253
|
onBackClick: t,
|
|
1249
1254
|
backButtonAriaLabel: r = "Go back",
|
|
@@ -1267,11 +1272,11 @@ function Xr({
|
|
|
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(Ge, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
1271
1276
|
}
|
|
1272
1277
|
),
|
|
1273
1278
|
/* @__PURE__ */ e.jsx(
|
|
1274
|
-
|
|
1279
|
+
It,
|
|
1275
1280
|
{
|
|
1276
1281
|
options: n,
|
|
1277
1282
|
value: s,
|
|
@@ -1350,12 +1355,12 @@ const Qr = ({
|
|
|
1350
1355
|
] });
|
|
1351
1356
|
};
|
|
1352
1357
|
function Ya(t) {
|
|
1353
|
-
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);
|
|
1354
1359
|
}
|
|
1355
1360
|
function Ka(t) {
|
|
1356
|
-
return
|
|
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 mt = 1.25, bt = [
|
|
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 },
|
|
@@ -1375,18 +1380,18 @@ const ht = 1.25, mt = [
|
|
|
1375
1380
|
fill: "none",
|
|
1376
1381
|
"aria-hidden": !0,
|
|
1377
1382
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1378
|
-
children:
|
|
1383
|
+
children: bt.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: mt,
|
|
1384
1389
|
height: s.height,
|
|
1385
|
-
rx:
|
|
1390
|
+
rx: mt / 2,
|
|
1386
1391
|
fill: "#6B7280",
|
|
1387
1392
|
className: t ? "wave-bar-anim" : "",
|
|
1388
1393
|
style: {
|
|
1389
|
-
animationDelay: `${(r *
|
|
1394
|
+
animationDelay: `${(r * bt.length + n) * 60}ms`
|
|
1390
1395
|
}
|
|
1391
1396
|
},
|
|
1392
1397
|
n
|
|
@@ -1451,8 +1456,8 @@ const ht = 1.25, mt = [
|
|
|
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",
|
|
@@ -1511,7 +1516,7 @@ const ht = 1.25, mt = [
|
|
|
1511
1516
|
)
|
|
1512
1517
|
);
|
|
1513
1518
|
Pe.displayName = "IconBadge";
|
|
1514
|
-
const
|
|
1519
|
+
const Dt = L.forwardRef(
|
|
1515
1520
|
({
|
|
1516
1521
|
selected: t = !1,
|
|
1517
1522
|
onSelect: r,
|
|
@@ -1528,82 +1533,91 @@ const It = L.forwardRef(
|
|
|
1528
1533
|
tag: v,
|
|
1529
1534
|
tagClassName: g,
|
|
1530
1535
|
children: j,
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
{
|
|
1548
|
-
className: o(
|
|
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: k,
|
|
1537
|
+
noteClassName: C,
|
|
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
|
+
k && "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
|
+
v && /* @__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
|
+
g
|
|
1560
|
+
),
|
|
1561
|
+
children: v
|
|
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
|
+
v && "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(He, { size: 14, "aria-hidden": !0 })
|
|
1604
|
+
]
|
|
1605
|
+
}
|
|
1606
|
+
)
|
|
1607
|
+
]
|
|
1608
|
+
}
|
|
1609
|
+
),
|
|
1610
|
+
j
|
|
1611
|
+
]
|
|
1612
|
+
}
|
|
1613
|
+
);
|
|
1614
|
+
return k ? /* @__PURE__ */ e.jsxs("div", { className: "relative", children: [
|
|
1615
|
+
M,
|
|
1616
|
+
/* @__PURE__ */ e.jsx("div", { className: o("mt-3 rounded-b-2xl px-4 pt-4 pb-3 text-left text-[#632e06]", C), children: k })
|
|
1617
|
+
] }) : M;
|
|
1618
|
+
}
|
|
1605
1619
|
);
|
|
1606
|
-
|
|
1620
|
+
Dt.displayName = "SelectorCard";
|
|
1607
1621
|
const ts = ({
|
|
1608
1622
|
value: t,
|
|
1609
1623
|
onClick: r,
|
|
@@ -1696,7 +1710,7 @@ const ts = ({
|
|
|
1696
1710
|
u
|
|
1697
1711
|
),
|
|
1698
1712
|
children: [
|
|
1699
|
-
/* @__PURE__ */ e.jsx(
|
|
1713
|
+
/* @__PURE__ */ e.jsx(ht, { size: 20, "aria-hidden": !0 }),
|
|
1700
1714
|
c
|
|
1701
1715
|
]
|
|
1702
1716
|
}
|
|
@@ -1715,7 +1729,7 @@ const ts = ({
|
|
|
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(Da, { 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 ts = ({
|
|
|
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(ht, { size: 18, "aria-hidden": !0 })
|
|
1731
1745
|
}
|
|
1732
1746
|
)
|
|
1733
1747
|
]
|
|
1734
1748
|
}
|
|
1735
|
-
),
|
|
1749
|
+
), gt = {
|
|
1736
1750
|
en: {
|
|
1737
1751
|
headerTitle: "Review your booking",
|
|
1738
1752
|
addonsTitle: "Add services for all ancestors",
|
|
@@ -1757,7 +1771,7 @@ const ts = ({
|
|
|
1757
1771
|
checkoutRitualSingular: "पूजा-विधि",
|
|
1758
1772
|
checkoutRitualPlural: "पूजा-विधि"
|
|
1759
1773
|
}
|
|
1760
|
-
}, _e = (t) =>
|
|
1774
|
+
}, _e = (t) => gt[t] ?? gt.en, Mt = ({
|
|
1761
1775
|
title: t,
|
|
1762
1776
|
description: r,
|
|
1763
1777
|
price: s,
|
|
@@ -1823,7 +1837,7 @@ const ts = ({
|
|
|
1823
1837
|
),
|
|
1824
1838
|
...c,
|
|
1825
1839
|
children: [
|
|
1826
|
-
r && /* @__PURE__ */ e.jsx(
|
|
1840
|
+
r && /* @__PURE__ */ e.jsx(He, { size: 14, "aria-hidden": !0 }),
|
|
1827
1841
|
s ?? (r ? _e(t).addedLabel : _e(t).addLabel)
|
|
1828
1842
|
]
|
|
1829
1843
|
}
|
|
@@ -1870,19 +1884,19 @@ const ts = ({
|
|
|
1870
1884
|
] })
|
|
1871
1885
|
] });
|
|
1872
1886
|
function $t(t) {
|
|
1873
|
-
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);
|
|
1874
1888
|
}
|
|
1875
1889
|
function Wt(t) {
|
|
1876
|
-
return
|
|
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);
|
|
1877
1891
|
}
|
|
1878
1892
|
function Vt(t) {
|
|
1879
|
-
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);
|
|
1880
1894
|
}
|
|
1881
1895
|
const pr = [
|
|
1882
1896
|
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(Wt, { "aria-hidden": !0 }), label: "100% Money Back Guarantee" },
|
|
1883
1897
|
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx($t, { "aria-hidden": !0 }), label: "No Hidden Cost" },
|
|
1884
1898
|
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(Vt, { "aria-hidden": !0 }), label: "24x7 Support" }
|
|
1885
|
-
],
|
|
1899
|
+
], vt = (t, r, s) => /* @__PURE__ */ e.jsxs(
|
|
1886
1900
|
"span",
|
|
1887
1901
|
{
|
|
1888
1902
|
className: o("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700", s, t.className),
|
|
@@ -1904,7 +1918,7 @@ const pr = [
|
|
|
1904
1918
|
{
|
|
1905
1919
|
className: "flex w-max items-center gap-5 whitespace-nowrap motion-reduce:animate-none",
|
|
1906
1920
|
style: { animation: `pitru-paksh-trust-badges-marquee ${n}s linear infinite` },
|
|
1907
|
-
children: [...t, ...t].map((u, f) =>
|
|
1921
|
+
children: [...t, ...t].map((u, f) => vt(u, `${u.id}-${f}`, r))
|
|
1908
1922
|
}
|
|
1909
1923
|
) }) : /* @__PURE__ */ e.jsx(
|
|
1910
1924
|
"div",
|
|
@@ -1915,9 +1929,9 @@ const pr = [
|
|
|
1915
1929
|
i
|
|
1916
1930
|
),
|
|
1917
1931
|
...c,
|
|
1918
|
-
children: t.map((u) =>
|
|
1932
|
+
children: t.map((u) => vt(u, u.id, r))
|
|
1919
1933
|
}
|
|
1920
|
-
),
|
|
1934
|
+
), jt = {
|
|
1921
1935
|
en: {
|
|
1922
1936
|
proceedLabel: "Proceed"
|
|
1923
1937
|
},
|
|
@@ -1927,7 +1941,7 @@ const pr = [
|
|
|
1927
1941
|
te: {
|
|
1928
1942
|
proceedLabel: "ముందుకు సాగండి"
|
|
1929
1943
|
}
|
|
1930
|
-
}, mr = (t) =>
|
|
1944
|
+
}, mr = (t) => jt[t] ?? jt.en, qe = ({
|
|
1931
1945
|
locale: t = "en",
|
|
1932
1946
|
amount: r,
|
|
1933
1947
|
amountClassName: s,
|
|
@@ -1937,7 +1951,7 @@ const pr = [
|
|
|
1937
1951
|
onInfoClick: u,
|
|
1938
1952
|
infoIconClassName: f,
|
|
1939
1953
|
proceedLabel: x,
|
|
1940
|
-
proceedIcon: b = /* @__PURE__ */ e.jsx(
|
|
1954
|
+
proceedIcon: b = /* @__PURE__ */ e.jsx(Ue, { "aria-hidden": !0 }),
|
|
1941
1955
|
onProceed: p,
|
|
1942
1956
|
proceedButtonProps: d,
|
|
1943
1957
|
buttonWrapperClassName: v,
|
|
@@ -1968,7 +1982,7 @@ const pr = [
|
|
|
1968
1982
|
x ?? mr(t).proceedLabel,
|
|
1969
1983
|
b
|
|
1970
1984
|
] }) })
|
|
1971
|
-
] }),
|
|
1985
|
+
] }), yt = {
|
|
1972
1986
|
en: {
|
|
1973
1987
|
title: "Select the number of people performing the Puja (Karta)",
|
|
1974
1988
|
description: "Performing the puja together with the whole family brings ancestors’ blessings and family prosperity",
|
|
@@ -2011,7 +2025,7 @@ const pr = [
|
|
|
2011
2025
|
support: "కస్టమర్ సపోర్ట్"
|
|
2012
2026
|
}
|
|
2013
2027
|
}
|
|
2014
|
-
}, br = (t) =>
|
|
2028
|
+
}, br = (t) => yt[t] ?? yt.en, ls = ({
|
|
2015
2029
|
locale: t = "en",
|
|
2016
2030
|
title: r,
|
|
2017
2031
|
description: s,
|
|
@@ -2027,10 +2041,10 @@ const pr = [
|
|
|
2027
2041
|
optionsClassName: v,
|
|
2028
2042
|
trustBadges: g,
|
|
2029
2043
|
checkout: j,
|
|
2030
|
-
stickyFooter:
|
|
2031
|
-
footerClassName:
|
|
2044
|
+
stickyFooter: k = !0,
|
|
2045
|
+
footerClassName: C
|
|
2032
2046
|
}) => {
|
|
2033
|
-
const y = br(t), N = r ?? y.title, S = s ?? y.description, h = n ?? y.benefits,
|
|
2047
|
+
const y = br(t), N = r ?? y.title, S = s ?? y.description, h = n ?? y.benefits, R = g ?? {
|
|
2034
2048
|
badges: [
|
|
2035
2049
|
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(Wt, { "aria-hidden": !0 }), label: y.trustBadgeLabels.moneyBack },
|
|
2036
2050
|
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx($t, { "aria-hidden": !0 }), label: y.trustBadgeLabels.noHiddenCost },
|
|
@@ -2042,9 +2056,9 @@ const pr = [
|
|
|
2042
2056
|
/* @__PURE__ */ e.jsx("p", { className: "text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: N }),
|
|
2043
2057
|
S && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: S })
|
|
2044
2058
|
] }),
|
|
2045
|
-
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((
|
|
2046
|
-
/* @__PURE__ */ e.jsx(
|
|
2047
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children:
|
|
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: [
|
|
2060
|
+
/* @__PURE__ */ e.jsx(He, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
|
|
2061
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: M })
|
|
2048
2062
|
] }, B)) }),
|
|
2049
2063
|
/* @__PURE__ */ e.jsx(
|
|
2050
2064
|
"div",
|
|
@@ -2052,22 +2066,22 @@ const pr = [
|
|
|
2052
2066
|
role: "radiogroup",
|
|
2053
2067
|
"aria-label": x ?? (typeof N == "string" ? N : void 0),
|
|
2054
2068
|
className: o("flex flex-col gap-3 p-4", v),
|
|
2055
|
-
children: i.map((
|
|
2069
|
+
children: i.map((M) => {
|
|
2056
2070
|
const {
|
|
2057
2071
|
id: B,
|
|
2058
2072
|
price: Y,
|
|
2059
2073
|
free: re,
|
|
2060
|
-
badge:
|
|
2074
|
+
badge: D,
|
|
2061
2075
|
priceBadgeProps: H,
|
|
2062
2076
|
note: K,
|
|
2063
|
-
noteProps:
|
|
2077
|
+
noteProps: $,
|
|
2064
2078
|
children: U,
|
|
2065
2079
|
iconClassName: ae,
|
|
2066
2080
|
radioVariant: Z,
|
|
2067
2081
|
...J
|
|
2068
|
-
} =
|
|
2082
|
+
} = M, X = c === B, se = D ?? (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 }));
|
|
2069
2083
|
return /* @__PURE__ */ e.jsx(
|
|
2070
|
-
|
|
2084
|
+
Dt,
|
|
2071
2085
|
{
|
|
2072
2086
|
...J,
|
|
2073
2087
|
iconClassName: o("size-10", ae),
|
|
@@ -2075,19 +2089,19 @@ const pr = [
|
|
|
2075
2089
|
badge: se,
|
|
2076
2090
|
selected: X,
|
|
2077
2091
|
onSelect: () => u(B),
|
|
2078
|
-
children: U ?? (X && K && /* @__PURE__ */ e.jsx(Qa, {
|
|
2092
|
+
children: U ?? (X && K && /* @__PURE__ */ e.jsx(Qa, { ...$, children: K }))
|
|
2079
2093
|
},
|
|
2080
2094
|
B
|
|
2081
2095
|
);
|
|
2082
2096
|
})
|
|
2083
2097
|
}
|
|
2084
2098
|
),
|
|
2085
|
-
(
|
|
2086
|
-
|
|
2087
|
-
j && /* @__PURE__ */ e.jsx(
|
|
2099
|
+
(R || j) && /* @__PURE__ */ e.jsxs("div", { className: o(k && "sticky bottom-0 z-10", C), children: [
|
|
2100
|
+
R && /* @__PURE__ */ e.jsx(hr, { ...R }),
|
|
2101
|
+
j && /* @__PURE__ */ e.jsx(qe, { ...j })
|
|
2088
2102
|
] })
|
|
2089
2103
|
] });
|
|
2090
|
-
},
|
|
2104
|
+
}, Nt = {
|
|
2091
2105
|
en: {
|
|
2092
2106
|
title: "Pitru Paksha Special Rituals",
|
|
2093
2107
|
ancestorsLabel: "Ancestors",
|
|
@@ -2100,7 +2114,7 @@ const pr = [
|
|
|
2100
2114
|
ritualsLabel: "पूजा विधि",
|
|
2101
2115
|
performersLabel: "कर्ता"
|
|
2102
2116
|
}
|
|
2103
|
-
}, gr = (t) =>
|
|
2117
|
+
}, gr = (t) => Nt[t] ?? Nt.en, vr = ({
|
|
2104
2118
|
locale: t = "en",
|
|
2105
2119
|
icon: r = /* @__PURE__ */ e.jsx(Ft, { "aria-hidden": !0 }),
|
|
2106
2120
|
iconClassName: s,
|
|
@@ -2124,12 +2138,12 @@ const pr = [
|
|
|
2124
2138
|
r && /* @__PURE__ */ e.jsx("span", { className: o("shrink-0 text-sm", s), children: r }),
|
|
2125
2139
|
g
|
|
2126
2140
|
] }),
|
|
2127
|
-
(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((
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
] },
|
|
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((k, C) => /* @__PURE__ */ e.jsxs(L.Fragment, { children: [
|
|
2142
|
+
C > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
|
|
2143
|
+
k
|
|
2144
|
+
] }, C)) : c })
|
|
2131
2145
|
] }) });
|
|
2132
|
-
},
|
|
2146
|
+
}, wt = {
|
|
2133
2147
|
en: {
|
|
2134
2148
|
title: "Bill Details",
|
|
2135
2149
|
totalLabel: "Total Amount"
|
|
@@ -2138,7 +2152,7 @@ const pr = [
|
|
|
2138
2152
|
title: "बिल विवरण",
|
|
2139
2153
|
totalLabel: "कुल राशि"
|
|
2140
2154
|
}
|
|
2141
|
-
}, jr = (t) =>
|
|
2155
|
+
}, jr = (t) => wt[t] ?? wt.en, yr = ({
|
|
2142
2156
|
locale: t = "en",
|
|
2143
2157
|
titleClassName: r,
|
|
2144
2158
|
rows: s,
|
|
@@ -2187,17 +2201,17 @@ const pr = [
|
|
|
2187
2201
|
addonsHeaderClassName: v,
|
|
2188
2202
|
addonsTitleClassName: g,
|
|
2189
2203
|
addonsDescriptionClassName: j,
|
|
2190
|
-
addonsClassName:
|
|
2191
|
-
addonClassName:
|
|
2204
|
+
addonsClassName: k,
|
|
2205
|
+
addonClassName: C,
|
|
2192
2206
|
billDetails: y,
|
|
2193
2207
|
faq: N,
|
|
2194
2208
|
checkout: S,
|
|
2195
2209
|
className: h,
|
|
2196
|
-
children:
|
|
2197
|
-
...
|
|
2210
|
+
children: R,
|
|
2211
|
+
...M
|
|
2198
2212
|
}) => {
|
|
2199
|
-
const { headerTitle: B, addonsTitle: Y, addonsDescription: re, checkoutProceedLabel:
|
|
2200
|
-
return /* @__PURE__ */ e.jsxs("div", { className: o("flex min-h-screen flex-col bg-white", h), ...
|
|
2213
|
+
const { headerTitle: B, addonsTitle: Y, addonsDescription: re, checkoutProceedLabel: D, 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: [
|
|
2201
2215
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
2202
2216
|
/* @__PURE__ */ e.jsxs("div", { className: o("flex items-center gap-3 px-4 py-3", n), children: [
|
|
2203
2217
|
r && /* @__PURE__ */ e.jsx(
|
|
@@ -2210,7 +2224,7 @@ const pr = [
|
|
|
2210
2224
|
"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",
|
|
2211
2225
|
i
|
|
2212
2226
|
),
|
|
2213
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2227
|
+
children: /* @__PURE__ */ e.jsx(Ge, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
2214
2228
|
}
|
|
2215
2229
|
),
|
|
2216
2230
|
/* @__PURE__ */ e.jsx("h1", { className: o("text-lg font-bold text-[#1d2125]", c), children: B })
|
|
@@ -2239,20 +2253,20 @@ const pr = [
|
|
|
2239
2253
|
/* @__PURE__ */ e.jsx("h2", { className: o("text-base font-bold text-gray-700", g), children: Y }),
|
|
2240
2254
|
/* @__PURE__ */ e.jsx("p", { className: o("mt-1 text-sm text-gray-500", j), children: re })
|
|
2241
2255
|
] }),
|
|
2242
|
-
/* @__PURE__ */ e.jsx("div", { className: o("flex flex-col gap-4",
|
|
2256
|
+
/* @__PURE__ */ e.jsx("div", { className: o("flex flex-col gap-4", k), children: p.map(({ id: Z, className: J, ...X }) => /* @__PURE__ */ e.jsx(fr, { className: o(C, J), ...X }, Z)) })
|
|
2243
2257
|
] }),
|
|
2244
2258
|
y && /* @__PURE__ */ e.jsx(yr, { ...y, locale: t }),
|
|
2245
2259
|
N && /* @__PURE__ */ e.jsx(Ha, { ...N }),
|
|
2246
|
-
|
|
2260
|
+
R
|
|
2247
2261
|
] }),
|
|
2248
2262
|
S && /* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0", children: /* @__PURE__ */ e.jsx(
|
|
2249
|
-
|
|
2263
|
+
qe,
|
|
2250
2264
|
{
|
|
2251
2265
|
...ae,
|
|
2252
2266
|
locale: t,
|
|
2253
|
-
amount:
|
|
2267
|
+
amount: $,
|
|
2254
2268
|
subtitle: `${U} ${U === 1 ? H : K}`,
|
|
2255
|
-
proceedLabel:
|
|
2269
|
+
proceedLabel: D
|
|
2256
2270
|
}
|
|
2257
2271
|
) })
|
|
2258
2272
|
] });
|
|
@@ -2272,9 +2286,9 @@ const pr = [
|
|
|
2272
2286
|
id: d,
|
|
2273
2287
|
...v
|
|
2274
2288
|
}, g) => {
|
|
2275
|
-
const j = L.useId(),
|
|
2289
|
+
const j = L.useId(), k = d ?? j, C = c ?? (i ? `${r.length}${p ? `/${p}` : ""}` : void 0);
|
|
2276
2290
|
return /* @__PURE__ */ e.jsxs("div", { className: o("flex w-full flex-col gap-2", x), children: [
|
|
2277
|
-
t && /* @__PURE__ */ e.jsx("label", { htmlFor:
|
|
2291
|
+
t && /* @__PURE__ */ e.jsx("label", { htmlFor: k, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: t }),
|
|
2278
2292
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
2279
2293
|
/* @__PURE__ */ e.jsxs(
|
|
2280
2294
|
"div",
|
|
@@ -2290,7 +2304,7 @@ const pr = [
|
|
|
2290
2304
|
"input",
|
|
2291
2305
|
{
|
|
2292
2306
|
ref: g,
|
|
2293
|
-
id:
|
|
2307
|
+
id: k,
|
|
2294
2308
|
value: r,
|
|
2295
2309
|
maxLength: p,
|
|
2296
2310
|
onChange: (y) => s(y.target.value),
|
|
@@ -2305,7 +2319,7 @@ const pr = [
|
|
|
2305
2319
|
]
|
|
2306
2320
|
}
|
|
2307
2321
|
),
|
|
2308
|
-
|
|
2322
|
+
C && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#9ca3af]", children: C })
|
|
2309
2323
|
] })
|
|
2310
2324
|
] });
|
|
2311
2325
|
}
|
|
@@ -2321,7 +2335,7 @@ function os({
|
|
|
2321
2335
|
onConfirm: u,
|
|
2322
2336
|
initialTithi: f
|
|
2323
2337
|
}) {
|
|
2324
|
-
const [x, b] =
|
|
2338
|
+
const [x, b] = W(f), p = () => {
|
|
2325
2339
|
x && u(x);
|
|
2326
2340
|
};
|
|
2327
2341
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -2330,7 +2344,7 @@ function os({
|
|
|
2330
2344
|
isOpen: t,
|
|
2331
2345
|
onClose: r,
|
|
2332
2346
|
showDragHandle: !0,
|
|
2333
|
-
|
|
2347
|
+
showCloseButton: !1,
|
|
2334
2348
|
ariaLabel: n,
|
|
2335
2349
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-3 px-5 pt-2", children: [
|
|
2336
2350
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3", children: [
|
|
@@ -2422,11 +2436,11 @@ function cs({
|
|
|
2422
2436
|
}) {
|
|
2423
2437
|
const d = ga(() => {
|
|
2424
2438
|
const S = b ?? p - 120;
|
|
2425
|
-
return Array.from({ length: p - S + 1 }, (h,
|
|
2426
|
-
}, [b, p]), [v, g] =
|
|
2439
|
+
return Array.from({ length: p - S + 1 }, (h, R) => S + R);
|
|
2440
|
+
}, [b, p]), [v, g] = W(() => x ? x.day - 1 : Math.floor(Be.length / 2)), [j, k] = W(() => x ? x.month - 1 : 0), [C, y] = W(
|
|
2427
2441
|
() => x ? Math.max(0, d.indexOf(x.year)) : Math.floor(d.length / 2)
|
|
2428
2442
|
), N = () => {
|
|
2429
|
-
u({ day: Be[v], month: j + 1, year: d[
|
|
2443
|
+
u({ day: Be[v], month: j + 1, year: d[C] });
|
|
2430
2444
|
};
|
|
2431
2445
|
return /* @__PURE__ */ e.jsx(
|
|
2432
2446
|
Le,
|
|
@@ -2434,7 +2448,7 @@ function cs({
|
|
|
2434
2448
|
isOpen: t,
|
|
2435
2449
|
onClose: r,
|
|
2436
2450
|
showDragHandle: !0,
|
|
2437
|
-
|
|
2451
|
+
showCloseButton: !1,
|
|
2438
2452
|
ariaLabel: n,
|
|
2439
2453
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-3 px-5 pt-2", children: [
|
|
2440
2454
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3", children: [
|
|
@@ -2452,8 +2466,8 @@ function cs({
|
|
|
2452
2466
|
] }),
|
|
2453
2467
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
2454
2468
|
/* @__PURE__ */ e.jsx(Fe, { options: Be.map(String), selectedIndex: v, onChange: g }),
|
|
2455
|
-
/* @__PURE__ */ e.jsx(Fe, { options: i, selectedIndex: j, onChange:
|
|
2456
|
-
/* @__PURE__ */ e.jsx(Fe, { options: d.map(String), selectedIndex:
|
|
2469
|
+
/* @__PURE__ */ e.jsx(Fe, { options: i, selectedIndex: j, onChange: k }),
|
|
2470
|
+
/* @__PURE__ */ e.jsx(Fe, { options: d.map(String), selectedIndex: C, onChange: y })
|
|
2457
2471
|
] })
|
|
2458
2472
|
}
|
|
2459
2473
|
);
|
|
@@ -2469,23 +2483,25 @@ function ds({
|
|
|
2469
2483
|
countries: f = ma,
|
|
2470
2484
|
initialCountryIso: x = "IN"
|
|
2471
2485
|
}) {
|
|
2472
|
-
const [b, p] =
|
|
2486
|
+
const [b, p] = W(
|
|
2473
2487
|
() => f.find((h) => h.iso === x) ?? f[0]
|
|
2474
|
-
), [d, v] =
|
|
2475
|
-
|
|
2488
|
+
), [d, v] = W(u), [g, j] = W(!1), k = Ot(null);
|
|
2489
|
+
We(() => {
|
|
2476
2490
|
if (!g) return;
|
|
2477
|
-
const h = (
|
|
2478
|
-
|
|
2491
|
+
const h = (R) => {
|
|
2492
|
+
k.current && !k.current.contains(R.target) && j(!1);
|
|
2479
2493
|
};
|
|
2480
2494
|
return document.addEventListener("mousedown", h), () => document.removeEventListener("mousedown", h);
|
|
2495
|
+
}, [g]), We(() => {
|
|
2496
|
+
g && k.current?.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
|
2481
2497
|
}, [g]);
|
|
2482
|
-
const
|
|
2483
|
-
p(h), j(!1), v((
|
|
2498
|
+
const C = Me(b.code), y = Rt(d, b.code).isValid && d.length > 0, N = (h) => {
|
|
2499
|
+
p(h), j(!1), v((R) => R.slice(0, Me(h.code)));
|
|
2484
2500
|
}, S = () => {
|
|
2485
2501
|
y && c(d, b);
|
|
2486
2502
|
};
|
|
2487
2503
|
return /* @__PURE__ */ e.jsx(
|
|
2488
|
-
|
|
2504
|
+
Ve,
|
|
2489
2505
|
{
|
|
2490
2506
|
isOpen: t,
|
|
2491
2507
|
onClose: r,
|
|
@@ -2498,7 +2514,7 @@ function ds({
|
|
|
2498
2514
|
variant: "primary",
|
|
2499
2515
|
size: "xl",
|
|
2500
2516
|
className: "w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
2501
|
-
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2517
|
+
rightIcon: /* @__PURE__ */ e.jsx(Ue, { "aria-hidden": !0 }),
|
|
2502
2518
|
disabled: !y,
|
|
2503
2519
|
onClick: S,
|
|
2504
2520
|
children: i
|
|
@@ -2508,7 +2524,7 @@ function ds({
|
|
|
2508
2524
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
|
|
2509
2525
|
n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
|
|
2510
2526
|
/* @__PURE__ */ e.jsxs("div", { className: "mt-2 flex w-full items-start gap-2", children: [
|
|
2511
|
-
/* @__PURE__ */ e.jsxs("div", { ref:
|
|
2527
|
+
/* @__PURE__ */ e.jsxs("div", { ref: k, className: "relative shrink-0", children: [
|
|
2512
2528
|
/* @__PURE__ */ e.jsxs(
|
|
2513
2529
|
"button",
|
|
2514
2530
|
{
|
|
@@ -2528,7 +2544,7 @@ function ds({
|
|
|
2528
2544
|
"div",
|
|
2529
2545
|
{
|
|
2530
2546
|
role: "listbox",
|
|
2531
|
-
className: "
|
|
2547
|
+
className: "mt-1 max-h-60 w-64 overflow-y-auto rounded-xl border border-[#e5e7eb] bg-white py-1 shadow-lg",
|
|
2532
2548
|
children: f.map((h) => /* @__PURE__ */ e.jsxs(
|
|
2533
2549
|
"button",
|
|
2534
2550
|
{
|
|
@@ -2554,8 +2570,8 @@ function ds({
|
|
|
2554
2570
|
type: "tel",
|
|
2555
2571
|
inputMode: "numeric",
|
|
2556
2572
|
value: d,
|
|
2557
|
-
maxLength:
|
|
2558
|
-
onChange: (h) => v(h.replace(/\D/g, "").slice(0,
|
|
2573
|
+
maxLength: C,
|
|
2574
|
+
onChange: (h) => v(h.replace(/\D/g, "").slice(0, C)),
|
|
2559
2575
|
containerClassName: "w-auto flex-1 gap-0",
|
|
2560
2576
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
2561
2577
|
className: "text-[18px]"
|
|
@@ -2577,7 +2593,7 @@ function us({
|
|
|
2577
2593
|
initialValue: u = "",
|
|
2578
2594
|
errorText: f = "Please enter a valid email"
|
|
2579
2595
|
}) {
|
|
2580
|
-
const [x, b] =
|
|
2596
|
+
const [x, b] = W(u), [p, d] = W(!1), v = x.trim(), g = Nr.test(v), j = p && v.length > 0 && !g, k = () => {
|
|
2581
2597
|
g && c(v);
|
|
2582
2598
|
};
|
|
2583
2599
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -2593,9 +2609,9 @@ function us({
|
|
|
2593
2609
|
variant: "primary",
|
|
2594
2610
|
size: "xl",
|
|
2595
2611
|
className: "w-full rounded-xl",
|
|
2596
|
-
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2612
|
+
rightIcon: /* @__PURE__ */ e.jsx(Ue, { "aria-hidden": !0 }),
|
|
2597
2613
|
disabled: !g,
|
|
2598
|
-
onClick:
|
|
2614
|
+
onClick: k,
|
|
2599
2615
|
children: i
|
|
2600
2616
|
}
|
|
2601
2617
|
) }),
|
|
@@ -2624,10 +2640,10 @@ function us({
|
|
|
2624
2640
|
);
|
|
2625
2641
|
}
|
|
2626
2642
|
function wr(t) {
|
|
2627
|
-
return
|
|
2643
|
+
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);
|
|
2628
2644
|
}
|
|
2629
2645
|
function kr(t) {
|
|
2630
|
-
return
|
|
2646
|
+
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);
|
|
2631
2647
|
}
|
|
2632
2648
|
const Cr = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
2633
2649
|
function xs({
|
|
@@ -2646,27 +2662,27 @@ function xs({
|
|
|
2646
2662
|
title: v,
|
|
2647
2663
|
description: g,
|
|
2648
2664
|
learnMoreLabel: j,
|
|
2649
|
-
onLearnMoreClick:
|
|
2650
|
-
learnMoreHref:
|
|
2665
|
+
onLearnMoreClick: k,
|
|
2666
|
+
learnMoreHref: C,
|
|
2651
2667
|
dateLabel: y,
|
|
2652
2668
|
locationLabel: N,
|
|
2653
2669
|
priceInfoLabel: S,
|
|
2654
2670
|
onPriceInfoClick: h,
|
|
2655
|
-
price:
|
|
2656
|
-
cta:
|
|
2671
|
+
price: R,
|
|
2672
|
+
cta: M,
|
|
2657
2673
|
className: B = ""
|
|
2658
2674
|
}) {
|
|
2659
|
-
const [Y, re] =
|
|
2675
|
+
const [Y, re] = W(!1), D = s || Y, H = D && (p != null || d != null), K = D && (y != null || N != null);
|
|
2660
2676
|
return /* @__PURE__ */ e.jsxs(
|
|
2661
2677
|
"div",
|
|
2662
2678
|
{
|
|
2663
|
-
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-
|
|
2679
|
+
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-3 pb-4 ${D ? "gap-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]" : "gap-4 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.12)]"} ${B}`,
|
|
2664
2680
|
children: [
|
|
2665
|
-
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 px-3 ${
|
|
2681
|
+
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 px-3 ${D ? "py-4" : "pt-4"}`, children: [
|
|
2666
2682
|
/* @__PURE__ */ e.jsxs(
|
|
2667
2683
|
"div",
|
|
2668
2684
|
{
|
|
2669
|
-
className: "flex min-w-0 flex-1 items-center gap-1.5 rounded-2xl
|
|
2685
|
+
className: "flex min-w-0 flex-1 items-center gap-1.5 rounded-2xl px-3 py-1.5",
|
|
2670
2686
|
style: {
|
|
2671
2687
|
background: "linear-gradient(90deg, #fcccdf -29.79%, #fef5e9 50.11%, rgba(254, 245, 233, 0) 100%)"
|
|
2672
2688
|
},
|
|
@@ -2693,7 +2709,7 @@ function xs({
|
|
|
2693
2709
|
type: "button",
|
|
2694
2710
|
className: "flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2695
2711
|
onClick: () => {
|
|
2696
|
-
re((
|
|
2712
|
+
re(($) => !$), c?.();
|
|
2697
2713
|
},
|
|
2698
2714
|
"aria-label": u,
|
|
2699
2715
|
"aria-expanded": Y,
|
|
@@ -2708,11 +2724,11 @@ function xs({
|
|
|
2708
2724
|
)
|
|
2709
2725
|
] })
|
|
2710
2726
|
] }),
|
|
2711
|
-
|
|
2727
|
+
D && 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" }) }),
|
|
2712
2728
|
H && /* @__PURE__ */ e.jsxs(
|
|
2713
2729
|
"div",
|
|
2714
2730
|
{
|
|
2715
|
-
className: "-mt-3 flex
|
|
2731
|
+
className: "-mx-3 -mt-3 flex items-center gap-2.5 self-stretch px-4 py-1",
|
|
2716
2732
|
style: { background: "linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)" },
|
|
2717
2733
|
children: [
|
|
2718
2734
|
p != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: p }),
|
|
@@ -2721,17 +2737,17 @@ function xs({
|
|
|
2721
2737
|
]
|
|
2722
2738
|
}
|
|
2723
2739
|
),
|
|
2724
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2740
|
+
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full flex-col items-start gap-3 ${D && f != null ? "mt-1" : ""}`, children: [
|
|
2725
2741
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1", children: [
|
|
2726
2742
|
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children: v }),
|
|
2727
|
-
|
|
2743
|
+
D && g != null && /* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-normal leading-4 text-gray-500", children: g })
|
|
2728
2744
|
] }),
|
|
2729
|
-
|
|
2745
|
+
D && j != null && /* @__PURE__ */ e.jsxs(
|
|
2730
2746
|
"a",
|
|
2731
2747
|
{
|
|
2732
|
-
href:
|
|
2748
|
+
href: C,
|
|
2733
2749
|
className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",
|
|
2734
|
-
onClick:
|
|
2750
|
+
onClick: k,
|
|
2735
2751
|
children: [
|
|
2736
2752
|
j,
|
|
2737
2753
|
/* @__PURE__ */ e.jsx($a, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
|
|
@@ -2767,9 +2783,9 @@ function xs({
|
|
|
2767
2783
|
}
|
|
2768
2784
|
)
|
|
2769
2785
|
] }),
|
|
2770
|
-
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children:
|
|
2786
|
+
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children: R })
|
|
2771
2787
|
] }),
|
|
2772
|
-
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children:
|
|
2788
|
+
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: M })
|
|
2773
2789
|
] })
|
|
2774
2790
|
] })
|
|
2775
2791
|
]
|
|
@@ -2830,7 +2846,7 @@ function hs({ className: t = "size-5" }) {
|
|
|
2830
2846
|
}
|
|
2831
2847
|
) });
|
|
2832
2848
|
}
|
|
2833
|
-
const
|
|
2849
|
+
const kt = {
|
|
2834
2850
|
en: {
|
|
2835
2851
|
heading: "Check the details to book your puja procedure",
|
|
2836
2852
|
subtext: "These names and gotra will be taken by the priest",
|
|
@@ -2861,8 +2877,8 @@ const wt = {
|
|
|
2861
2877
|
editDetailsLabel: "మార్చండి",
|
|
2862
2878
|
payButtonTemplate: "{amount} చెల్లించండి"
|
|
2863
2879
|
}
|
|
2864
|
-
}, Er = (t) =>
|
|
2865
|
-
function
|
|
2880
|
+
}, Er = (t) => kt[t] ?? kt.en;
|
|
2881
|
+
function Ct({ children: t }) {
|
|
2866
2882
|
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 });
|
|
2867
2883
|
}
|
|
2868
2884
|
function Sr({
|
|
@@ -2880,7 +2896,7 @@ function Sr({
|
|
|
2880
2896
|
}) {
|
|
2881
2897
|
const d = Er(s), v = d.payButtonTemplate.replace("{amount}", f);
|
|
2882
2898
|
return /* @__PURE__ */ e.jsx(
|
|
2883
|
-
|
|
2899
|
+
Ve,
|
|
2884
2900
|
{
|
|
2885
2901
|
isOpen: t,
|
|
2886
2902
|
onClose: r,
|
|
@@ -2917,7 +2933,7 @@ function Sr({
|
|
|
2917
2933
|
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: [
|
|
2918
2934
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
2919
2935
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: d.ancestorsLabel }),
|
|
2920
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((g) => /* @__PURE__ */ e.jsxs(
|
|
2936
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((g) => /* @__PURE__ */ e.jsxs(Ct, { children: [
|
|
2921
2937
|
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: g.value }),
|
|
2922
2938
|
g.label && /* @__PURE__ */ e.jsxs("span", { className: "text-[10px] leading-3.5 font-medium text-[#6b7280]", children: [
|
|
2923
2939
|
"(",
|
|
@@ -2929,7 +2945,7 @@ function Sr({
|
|
|
2929
2945
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
2930
2946
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
2931
2947
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: d.performerLabel }),
|
|
2932
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.map((g, j) => /* @__PURE__ */ e.jsx(
|
|
2948
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.map((g, j) => /* @__PURE__ */ e.jsx(Ct, { children: /* @__PURE__ */ e.jsxs("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: [
|
|
2933
2949
|
j + 1,
|
|
2934
2950
|
". ",
|
|
2935
2951
|
g
|
|
@@ -2950,7 +2966,7 @@ function Sr({
|
|
|
2950
2966
|
}
|
|
2951
2967
|
);
|
|
2952
2968
|
}
|
|
2953
|
-
const
|
|
2969
|
+
const _t = {
|
|
2954
2970
|
en: {
|
|
2955
2971
|
heading: "I do not know my Lineage(Gotra), what should I do?",
|
|
2956
2972
|
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.",
|
|
@@ -2969,11 +2985,11 @@ const Ct = {
|
|
|
2969
2985
|
okayLabel: "సరే",
|
|
2970
2986
|
closeButtonAriaLabel: "మూసివేయండి"
|
|
2971
2987
|
}
|
|
2972
|
-
}, Ht = (t) =>
|
|
2988
|
+
}, Ht = (t) => _t[t] ?? _t.en;
|
|
2973
2989
|
function Tr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
2974
2990
|
const i = Ht(s);
|
|
2975
2991
|
return /* @__PURE__ */ e.jsx(
|
|
2976
|
-
|
|
2992
|
+
Ve,
|
|
2977
2993
|
{
|
|
2978
2994
|
isOpen: t,
|
|
2979
2995
|
onClose: r,
|
|
@@ -3008,7 +3024,7 @@ function Tr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
|
3008
3024
|
}
|
|
3009
3025
|
);
|
|
3010
3026
|
}
|
|
3011
|
-
const
|
|
3027
|
+
const Lt = {
|
|
3012
3028
|
en: {
|
|
3013
3029
|
topBarTitle: "Fill in necessary details for Puja",
|
|
3014
3030
|
backButtonAriaLabel: "Go back",
|
|
@@ -3090,7 +3106,7 @@ const _t = {
|
|
|
3090
3106
|
proceedCtaLabel: "వివరాలు నమోదు చేయండి",
|
|
3091
3107
|
kashyapGotraLabel: "కశ్యప"
|
|
3092
3108
|
}
|
|
3093
|
-
}, Rr = (t) =>
|
|
3109
|
+
}, Rr = (t) => Lt[t] ?? Lt.en, Pt = {
|
|
3094
3110
|
en: ["1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", "10th"],
|
|
3095
3111
|
hi: ["पहले", "दूसरे", "तीसरे", "चौथे", "पांचवें", "छठे", "सातवें", "आठवें", "नौवें", "दसवें"],
|
|
3096
3112
|
te: ["1వ", "2వ", "3వ", "4వ", "5వ", "6వ", "7వ", "8వ", "9వ", "10వ"]
|
|
@@ -3099,9 +3115,9 @@ const _t = {
|
|
|
3099
3115
|
hi: "वें",
|
|
3100
3116
|
te: "వ"
|
|
3101
3117
|
}, zr = (t, r) => {
|
|
3102
|
-
const s = r in
|
|
3103
|
-
return
|
|
3104
|
-
},
|
|
3118
|
+
const s = r in Pt ? r : "en";
|
|
3119
|
+
return Pt[s][t - 1] ?? `${t}${Or[s]}`;
|
|
3120
|
+
}, Ie = 40, De = "+91", Ar = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
3105
3121
|
function ms({
|
|
3106
3122
|
locale: t = "en",
|
|
3107
3123
|
values: r,
|
|
@@ -3118,33 +3134,33 @@ function ms({
|
|
|
3118
3134
|
proceedCtaLabel: v,
|
|
3119
3135
|
proceedButtonProps: g,
|
|
3120
3136
|
onProceedPayment: j,
|
|
3121
|
-
className:
|
|
3137
|
+
className: k
|
|
3122
3138
|
}) {
|
|
3123
|
-
const [
|
|
3124
|
-
const
|
|
3125
|
-
return
|
|
3126
|
-
}, B = (
|
|
3139
|
+
const [C, y] = W(!1), [N, S] = W(!1), h = Rr(t), R = Ht(t), M = (_) => {
|
|
3140
|
+
const I = zr(_ + 1, t);
|
|
3141
|
+
return _ === 0 ? `*${I} ${h.kartaNameLabel}` : `${I} ${h.kartaNameLabel} ${h.kartaNameOptionalSuffix}`;
|
|
3142
|
+
}, B = (_) => s({ ...r, ..._ }), Y = (_, I) => {
|
|
3127
3143
|
const Q = [...r.kartaNames];
|
|
3128
|
-
Q[
|
|
3129
|
-
}, re = (
|
|
3130
|
-
B({ ancestors: r.ancestors.map((Q) => Q.id ===
|
|
3131
|
-
}, [
|
|
3132
|
-
|
|
3133
|
-
if (!
|
|
3134
|
-
const
|
|
3135
|
-
K.current && !K.current.contains(
|
|
3144
|
+
Q[_] = I, B({ kartaNames: Q });
|
|
3145
|
+
}, re = (_, I) => {
|
|
3146
|
+
B({ ancestors: r.ancestors.map((Q) => Q.id === _ ? { ...Q, value: I } : Q) });
|
|
3147
|
+
}, [D, H] = W(!1), K = Ot(null);
|
|
3148
|
+
We(() => {
|
|
3149
|
+
if (!D) return;
|
|
3150
|
+
const _ = (I) => {
|
|
3151
|
+
K.current && !K.current.contains(I.target) && H(!1);
|
|
3136
3152
|
};
|
|
3137
|
-
return document.addEventListener("mousedown",
|
|
3138
|
-
}, [
|
|
3139
|
-
const
|
|
3140
|
-
(
|
|
3141
|
-
), U = (
|
|
3142
|
-
B({ gotra:
|
|
3153
|
+
return document.addEventListener("mousedown", _), () => document.removeEventListener("mousedown", _);
|
|
3154
|
+
}, [D]);
|
|
3155
|
+
const $ = i.filter(
|
|
3156
|
+
(_) => _.toLowerCase().includes(r.gotra.trim().toLowerCase())
|
|
3157
|
+
), U = (_) => {
|
|
3158
|
+
B({ gotra: _ }), H(!1);
|
|
3143
3159
|
}, ae = () => {
|
|
3144
|
-
const
|
|
3145
|
-
B({ isGotraUnknown:
|
|
3146
|
-
}, Z = Me(
|
|
3147
|
-
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]",
|
|
3160
|
+
const _ = !r.isGotraUnknown;
|
|
3161
|
+
B({ isGotraUnknown: _, gotra: _ ? h.kashyapGotraLabel : "" });
|
|
3162
|
+
}, Z = Me(De), J = Rt(r.whatsappNumber, De).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;
|
|
3163
|
+
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]", k), children: [
|
|
3148
3164
|
/* @__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: [
|
|
3149
3165
|
/* @__PURE__ */ e.jsx(
|
|
3150
3166
|
"button",
|
|
@@ -3153,7 +3169,7 @@ function ms({
|
|
|
3153
3169
|
onClick: u,
|
|
3154
3170
|
"aria-label": h.backButtonAriaLabel,
|
|
3155
3171
|
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)]",
|
|
3156
|
-
children: /* @__PURE__ */ e.jsx(
|
|
3172
|
+
children: /* @__PURE__ */ e.jsx(Ge, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
3157
3173
|
}
|
|
3158
3174
|
),
|
|
3159
3175
|
/* @__PURE__ */ e.jsx("p", { className: "text-[18px] leading-5 font-bold text-[#1d2125]", children: h.topBarTitle })
|
|
@@ -3169,7 +3185,7 @@ function ms({
|
|
|
3169
3185
|
value: r.email,
|
|
3170
3186
|
placeholder: h.emailPlaceholder,
|
|
3171
3187
|
error: pe,
|
|
3172
|
-
onChange: (
|
|
3188
|
+
onChange: (_) => B({ email: _ }),
|
|
3173
3189
|
containerClassName: "w-full gap-0",
|
|
3174
3190
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
3175
3191
|
className: "text-[18px]"
|
|
@@ -3177,7 +3193,7 @@ function ms({
|
|
|
3177
3193
|
) : /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
3178
3194
|
/* @__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: [
|
|
3179
3195
|
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: $e("IN") }),
|
|
3180
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children:
|
|
3196
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: De })
|
|
3181
3197
|
] }),
|
|
3182
3198
|
/* @__PURE__ */ e.jsx(
|
|
3183
3199
|
le,
|
|
@@ -3188,7 +3204,7 @@ function ms({
|
|
|
3188
3204
|
placeholder: h.whatsappNumberPlaceholder,
|
|
3189
3205
|
maxLength: Z,
|
|
3190
3206
|
error: se,
|
|
3191
|
-
onChange: (
|
|
3207
|
+
onChange: (_) => B({ whatsappNumber: _.replace(/\D/g, "").slice(0, Z) }),
|
|
3192
3208
|
containerClassName: "w-auto flex-1 gap-0",
|
|
3193
3209
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
3194
3210
|
className: "text-[18px]"
|
|
@@ -3199,18 +3215,18 @@ function ms({
|
|
|
3199
3215
|
] }),
|
|
3200
3216
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
3201
3217
|
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: h.kartaNameSectionTitle }),
|
|
3202
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5", children: r.kartaNames.map((
|
|
3218
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5", children: r.kartaNames.map((_, I) => /* @__PURE__ */ e.jsx(
|
|
3203
3219
|
le,
|
|
3204
3220
|
{
|
|
3205
|
-
label:
|
|
3221
|
+
label: M(I),
|
|
3206
3222
|
placeholder: h.kartaNamePlaceholder,
|
|
3207
|
-
value:
|
|
3208
|
-
maxLength:
|
|
3223
|
+
value: _,
|
|
3224
|
+
maxLength: Ie,
|
|
3209
3225
|
showCharCount: !0,
|
|
3210
|
-
wrapperClassName: o("h-12 rounded-xl",
|
|
3211
|
-
onChange: (Q) => Y(
|
|
3226
|
+
wrapperClassName: o("h-12 rounded-xl", I === 0 && "bg-[#f3f4f6]"),
|
|
3227
|
+
onChange: (Q) => Y(I, Q)
|
|
3212
3228
|
},
|
|
3213
|
-
|
|
3229
|
+
I
|
|
3214
3230
|
)) })
|
|
3215
3231
|
] }),
|
|
3216
3232
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
@@ -3223,11 +3239,11 @@ function ms({
|
|
|
3223
3239
|
id: "karta-gotra",
|
|
3224
3240
|
value: r.gotra,
|
|
3225
3241
|
placeholder: h.gotraFieldPlaceholder,
|
|
3226
|
-
maxLength:
|
|
3242
|
+
maxLength: Ie,
|
|
3227
3243
|
autoComplete: "off",
|
|
3228
3244
|
onFocus: () => H(!0),
|
|
3229
|
-
onChange: (
|
|
3230
|
-
B({ gotra:
|
|
3245
|
+
onChange: (_) => {
|
|
3246
|
+
B({ gotra: _.target.value }), H(!0);
|
|
3231
3247
|
},
|
|
3232
3248
|
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"
|
|
3233
3249
|
}
|
|
@@ -3237,31 +3253,31 @@ function ms({
|
|
|
3237
3253
|
{
|
|
3238
3254
|
type: "button",
|
|
3239
3255
|
onClick: () => S(!0),
|
|
3240
|
-
"aria-label":
|
|
3256
|
+
"aria-label": R.heading,
|
|
3241
3257
|
className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",
|
|
3242
3258
|
children: /* @__PURE__ */ e.jsx(fe, { size: 24, "aria-hidden": !0 })
|
|
3243
3259
|
}
|
|
3244
3260
|
)
|
|
3245
3261
|
] }),
|
|
3246
|
-
|
|
3262
|
+
D && $.length > 0 && /* @__PURE__ */ e.jsx(
|
|
3247
3263
|
"div",
|
|
3248
3264
|
{
|
|
3249
3265
|
role: "listbox",
|
|
3250
3266
|
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",
|
|
3251
|
-
children:
|
|
3267
|
+
children: $.map((_) => /* @__PURE__ */ e.jsx(
|
|
3252
3268
|
"button",
|
|
3253
3269
|
{
|
|
3254
3270
|
type: "button",
|
|
3255
3271
|
role: "option",
|
|
3256
|
-
"aria-selected":
|
|
3257
|
-
onClick: () => U(
|
|
3272
|
+
"aria-selected": _ === r.gotra,
|
|
3273
|
+
onClick: () => U(_),
|
|
3258
3274
|
className: o(
|
|
3259
3275
|
"flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",
|
|
3260
|
-
|
|
3276
|
+
_ === r.gotra && "bg-[#fff9e9]"
|
|
3261
3277
|
),
|
|
3262
|
-
children:
|
|
3278
|
+
children: _
|
|
3263
3279
|
},
|
|
3264
|
-
|
|
3280
|
+
_
|
|
3265
3281
|
))
|
|
3266
3282
|
}
|
|
3267
3283
|
)
|
|
@@ -3275,7 +3291,7 @@ function ms({
|
|
|
3275
3291
|
"aria-pressed": r.isGotraUnknown,
|
|
3276
3292
|
className: "flex items-center gap-1 border-0 bg-transparent p-0",
|
|
3277
3293
|
children: [
|
|
3278
|
-
r.isGotraUnknown ? /* @__PURE__ */ e.jsx(Wa, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsx(
|
|
3294
|
+
r.isGotraUnknown ? /* @__PURE__ */ e.jsx(Wa, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsx(Ia, { size: 24, className: "shrink-0 text-[#d1d5db]", "aria-hidden": !0 }),
|
|
3279
3295
|
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: h.gotraUnknownCheckboxLabel })
|
|
3280
3296
|
]
|
|
3281
3297
|
}
|
|
@@ -3296,25 +3312,25 @@ function ms({
|
|
|
3296
3312
|
/* @__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 }) }),
|
|
3297
3313
|
/* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: h.sarvaPitruHelperText })
|
|
3298
3314
|
] }),
|
|
3299
|
-
r.ancestors.map((
|
|
3315
|
+
r.ancestors.map((_) => /* @__PURE__ */ e.jsx(
|
|
3300
3316
|
le,
|
|
3301
3317
|
{
|
|
3302
|
-
label: `*${
|
|
3303
|
-
value:
|
|
3318
|
+
label: `*${_.label} ${h.ancestorNameFieldSuffix}`,
|
|
3319
|
+
value: _.value,
|
|
3304
3320
|
prefix: h.latePrefixLabel,
|
|
3305
3321
|
placeholder: h.kartaNamePlaceholder,
|
|
3306
|
-
maxLength:
|
|
3322
|
+
maxLength: Ie,
|
|
3307
3323
|
showCharCount: !0,
|
|
3308
3324
|
wrapperClassName: "h-12 rounded-xl",
|
|
3309
|
-
onChange: (
|
|
3325
|
+
onChange: (I) => re(_.id, I)
|
|
3310
3326
|
},
|
|
3311
|
-
|
|
3327
|
+
_.id
|
|
3312
3328
|
))
|
|
3313
3329
|
] })
|
|
3314
3330
|
] })
|
|
3315
3331
|
] }) }),
|
|
3316
3332
|
/* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0 w-full", children: /* @__PURE__ */ e.jsx(
|
|
3317
|
-
|
|
3333
|
+
qe,
|
|
3318
3334
|
{
|
|
3319
3335
|
amount: f,
|
|
3320
3336
|
subtitle: x,
|
|
@@ -3328,7 +3344,7 @@ function ms({
|
|
|
3328
3344
|
/* @__PURE__ */ e.jsx(
|
|
3329
3345
|
Sr,
|
|
3330
3346
|
{
|
|
3331
|
-
isOpen:
|
|
3347
|
+
isOpen: C,
|
|
3332
3348
|
onClose: () => y(!1),
|
|
3333
3349
|
onEditDetailsClick: () => y(!1),
|
|
3334
3350
|
locale: t,
|
|
@@ -3355,12 +3371,12 @@ function bs(t = 3, r = []) {
|
|
|
3355
3371
|
ancestors: r
|
|
3356
3372
|
};
|
|
3357
3373
|
}
|
|
3358
|
-
const
|
|
3374
|
+
const Et = "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", Ir = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", Dr = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", Mr = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
|
|
3359
3375
|
function $r({ variant: t }) {
|
|
3360
3376
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
3361
3377
|
t === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3362
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3363
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3378
|
+
/* @__PURE__ */ e.jsx("img", { src: Et, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
|
|
3379
|
+
/* @__PURE__ */ e.jsx("img", { src: Et, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
|
|
3364
3380
|
/* @__PURE__ */ e.jsx("img", { src: Fr, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
|
|
3365
3381
|
] }),
|
|
3366
3382
|
t === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
|
|
@@ -3368,13 +3384,13 @@ function $r({ variant: t }) {
|
|
|
3368
3384
|
/* @__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" }) })
|
|
3369
3385
|
] }),
|
|
3370
3386
|
t === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
|
|
3371
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3372
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3387
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: Ir, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
3388
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src: Dr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
3373
3389
|
/* @__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" }) })
|
|
3374
3390
|
] })
|
|
3375
3391
|
] });
|
|
3376
3392
|
}
|
|
3377
|
-
const Wr = "https://srm-cdn.a4b.io/yoda/1788256961374.svg",
|
|
3393
|
+
const Wr = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", St = "https://srm-cdn.a4b.io/yoda/1788256971870.svg";
|
|
3378
3394
|
function gs({
|
|
3379
3395
|
badgeLabel: t,
|
|
3380
3396
|
headingPrefix: r,
|
|
@@ -3389,7 +3405,7 @@ function gs({
|
|
|
3389
3405
|
/* @__PURE__ */ e.jsx(
|
|
3390
3406
|
"img",
|
|
3391
3407
|
{
|
|
3392
|
-
src:
|
|
3408
|
+
src: St,
|
|
3393
3409
|
alt: "",
|
|
3394
3410
|
"aria-hidden": !0,
|
|
3395
3411
|
className: "pointer-events-none absolute inset-0 size-full",
|
|
@@ -3402,7 +3418,7 @@ function gs({
|
|
|
3402
3418
|
/* @__PURE__ */ e.jsx(
|
|
3403
3419
|
"img",
|
|
3404
3420
|
{
|
|
3405
|
-
src:
|
|
3421
|
+
src: St,
|
|
3406
3422
|
alt: "",
|
|
3407
3423
|
"aria-hidden": !0,
|
|
3408
3424
|
className: "pointer-events-none absolute inset-0 size-full blur-sm",
|
|
@@ -3435,9 +3451,9 @@ function gs({
|
|
|
3435
3451
|
] });
|
|
3436
3452
|
}
|
|
3437
3453
|
function Vr(t) {
|
|
3438
|
-
return
|
|
3454
|
+
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);
|
|
3439
3455
|
}
|
|
3440
|
-
const
|
|
3456
|
+
const Tt = {
|
|
3441
3457
|
en: {
|
|
3442
3458
|
title: "Who is this puja for?",
|
|
3443
3459
|
subtitle: "Your ancestors",
|
|
@@ -3450,7 +3466,7 @@ const St = {
|
|
|
3450
3466
|
value: "सर्वपितृ के लिए",
|
|
3451
3467
|
helperText: "यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"
|
|
3452
3468
|
}
|
|
3453
|
-
}, Hr = (t) =>
|
|
3469
|
+
}, Hr = (t) => Tt[t] ?? Tt.en, Ur = L.forwardRef(
|
|
3454
3470
|
({
|
|
3455
3471
|
locale: t = "en",
|
|
3456
3472
|
title: r,
|
|
@@ -3498,43 +3514,43 @@ const St = {
|
|
|
3498
3514
|
Ur.displayName = "SarvaPitruCard";
|
|
3499
3515
|
export {
|
|
3500
3516
|
es as AudioQuestionCard,
|
|
3501
|
-
|
|
3517
|
+
Nt as BOOKING_SUMMARY_BANNER_DEFAULT_COPY,
|
|
3502
3518
|
yr as BillDetails,
|
|
3503
3519
|
vr as BookingSummaryBanner,
|
|
3504
3520
|
q as Button,
|
|
3505
|
-
|
|
3506
|
-
|
|
3521
|
+
jt as CHECKOUT_BAR_DEFAULT_COPY,
|
|
3522
|
+
kt as CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY,
|
|
3507
3523
|
ns as CartReviewAddedBadge,
|
|
3508
3524
|
ss as CartReviewChangeButton,
|
|
3509
3525
|
Mt as CartReviewItem,
|
|
3510
3526
|
er as CartReviewMandapItem,
|
|
3511
3527
|
is as CartView,
|
|
3512
3528
|
hs as CheckIcon,
|
|
3513
|
-
|
|
3529
|
+
qe as CheckoutBar,
|
|
3514
3530
|
qa as Chip,
|
|
3515
|
-
|
|
3531
|
+
Ve as ConfinedBottomSheet,
|
|
3516
3532
|
Sr as ConfirmPujaDetailsModal,
|
|
3517
3533
|
cs as DatePickerSheet,
|
|
3518
3534
|
us as EmailSheet,
|
|
3519
3535
|
Jr as FAQAccordion,
|
|
3520
3536
|
Ha as FAQSection,
|
|
3521
|
-
|
|
3537
|
+
_t as GOTRA_INFO_MODAL_DEFAULT_COPY,
|
|
3522
3538
|
Tr as GotraInfoModal,
|
|
3523
3539
|
Pe as IconBadge,
|
|
3524
3540
|
xs as L2Card,
|
|
3525
|
-
|
|
3541
|
+
It as LanguageSwitcher,
|
|
3526
3542
|
fs as OutcomeButton,
|
|
3527
3543
|
gs as OutcomeSummary,
|
|
3528
|
-
|
|
3529
|
-
|
|
3544
|
+
yt as PACKAGE_SELECT_DEFAULT_COPY,
|
|
3545
|
+
Lt as PUJA_DETAILS_FORM_DEFAULT_COPY,
|
|
3530
3546
|
ls as PackageSelect,
|
|
3531
3547
|
ds as PhoneNumberSheet,
|
|
3532
3548
|
ps as PlusIcon,
|
|
3533
3549
|
ms as PujaDetailsForm,
|
|
3534
3550
|
rs as QuantityStepper,
|
|
3535
|
-
|
|
3551
|
+
Tt as SARVA_PITRU_CARD_DEFAULT_COPY,
|
|
3536
3552
|
Ur as SarvaPitruCard,
|
|
3537
|
-
|
|
3553
|
+
Dt as SelectorCard,
|
|
3538
3554
|
ts as SelectorCardEditableField,
|
|
3539
3555
|
as as SelectorCardInfoRow,
|
|
3540
3556
|
Qa as SelectorCardNote,
|