@srimandir/pitru-paksh-common 2.2.5 → 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.
- package/dist/pitru-paksh-common.js +334 -332
- package/dist/pitru-paksh-common.umd.cjs +4 -4
- package/package.json +4 -3
|
@@ -1,33 +1,33 @@
|
|
|
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 W, useMemo as ga, useRef 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
|
-
var p, d = {},
|
|
15
|
-
b !== void 0 && (
|
|
14
|
+
var p, d = {}, v = null, g = null;
|
|
15
|
+
b !== void 0 && (v = "" + b), x.key !== void 0 && (v = "" + x.key), x.ref !== void 0 && (g = x.ref);
|
|
16
16
|
for (p in x) n.call(x, p) && !c.hasOwnProperty(p) && (d[p] = x[p]);
|
|
17
17
|
if (f && f.defaultProps) for (p in x = f.defaultProps, x) d[p] === void 0 && (d[p] = x[p]);
|
|
18
|
-
return { $$typeof: r, type: f, key:
|
|
18
|
+
return { $$typeof: r, type: f, key: v, ref: g, props: d, _owner: i.current };
|
|
19
19
|
}
|
|
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"),
|
|
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;
|
|
@@ -50,8 +50,8 @@ function Na() {
|
|
|
50
50
|
}
|
|
51
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 ===
|
|
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.
|
|
@@ -101,7 +101,7 @@ function Na() {
|
|
|
101
101
|
case d:
|
|
102
102
|
var w = a.displayName || null;
|
|
103
103
|
return w !== null ? w : $(a.type) || "Memo";
|
|
104
|
-
case
|
|
104
|
+
case v: {
|
|
105
105
|
var T = a, z = T._payload, E = T._init;
|
|
106
106
|
try {
|
|
107
107
|
return $(E(z));
|
|
@@ -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() {
|
|
@@ -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) {
|
|
@@ -290,7 +290,7 @@ function Na() {
|
|
|
290
290
|
return Gt(a.render);
|
|
291
291
|
case d:
|
|
292
292
|
return je(a.type, l, m);
|
|
293
|
-
case
|
|
293
|
+
case v: {
|
|
294
294
|
var w = a, T = w._payload, z = w._init;
|
|
295
295
|
try {
|
|
296
296
|
return je(z(T), l, m);
|
|
@@ -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
|
{
|
|
@@ -323,7 +323,7 @@ function Na() {
|
|
|
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,
|
|
@@ -430,7 +430,7 @@ function Na() {
|
|
|
430
430
|
function na(a, l, m, w, T) {
|
|
431
431
|
{
|
|
432
432
|
var z, E = {}, P = null, V = null;
|
|
433
|
-
m !== void 0 && (
|
|
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) {
|
|
@@ -442,23 +442,23 @@ function Na() {
|
|
|
442
442
|
var F = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
443
443
|
P && aa(E, F), V && ra(E, F);
|
|
444
444
|
}
|
|
445
|
-
return sa(a, P, V, T, w,
|
|
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
464
|
var a = $(Re.current.type);
|
|
@@ -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
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
|
}
|
|
@@ -555,15 +555,15 @@ 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
565
|
var V = la();
|
|
566
|
-
V ? P += V : P +=
|
|
566
|
+
V ? P += V : P += rt();
|
|
567
567
|
var A;
|
|
568
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
|
}
|
|
@@ -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
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
|
}
|
|
@@ -713,7 +713,7 @@ 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
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);
|
|
@@ -765,7 +765,7 @@ const Ra = va(
|
|
|
765
765
|
type: b = "button",
|
|
766
766
|
...p
|
|
767
767
|
}, d) => {
|
|
768
|
-
const
|
|
768
|
+
const v = (r ?? "primary") === "primary";
|
|
769
769
|
return /* @__PURE__ */ e.jsx(
|
|
770
770
|
"button",
|
|
771
771
|
{
|
|
@@ -774,7 +774,7 @@ const Ra = va(
|
|
|
774
774
|
disabled: c || i,
|
|
775
775
|
className: o(Ra({ variant: r, size: s, iconOnly: n }), t),
|
|
776
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",
|
|
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
778
|
u,
|
|
779
779
|
x,
|
|
780
780
|
f
|
|
@@ -784,7 +784,7 @@ const Ra = va(
|
|
|
784
784
|
}
|
|
785
785
|
);
|
|
786
786
|
q.displayName = "Button";
|
|
787
|
-
function
|
|
787
|
+
function Ve(t) {
|
|
788
788
|
return t.isOpen ? /* @__PURE__ */ e.jsx(
|
|
789
789
|
"div",
|
|
790
790
|
{
|
|
@@ -806,7 +806,7 @@ function Aa(t) {
|
|
|
806
806
|
function Ft(t) {
|
|
807
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);
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function pt(t) {
|
|
810
810
|
return O({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z" }, child: [] }] })(t);
|
|
811
811
|
}
|
|
812
812
|
function Fa(t) {
|
|
@@ -862,13 +862,13 @@ const Zr = ({
|
|
|
862
862
|
function Ba(t) {
|
|
863
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);
|
|
864
864
|
}
|
|
865
|
-
function
|
|
865
|
+
function Ia(t) {
|
|
866
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);
|
|
867
867
|
}
|
|
868
|
-
function
|
|
868
|
+
function ht(t) {
|
|
869
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);
|
|
870
870
|
}
|
|
871
|
-
function
|
|
871
|
+
function Da(t) {
|
|
872
872
|
return O({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }] })(t);
|
|
873
873
|
}
|
|
874
874
|
function fe(t) {
|
|
@@ -886,7 +886,7 @@ function $a(t) {
|
|
|
886
886
|
function ce(t) {
|
|
887
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);
|
|
888
888
|
}
|
|
889
|
-
function
|
|
889
|
+
function He(t) {
|
|
890
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);
|
|
891
891
|
}
|
|
892
892
|
function Wa(t) {
|
|
@@ -895,10 +895,10 @@ function Wa(t) {
|
|
|
895
895
|
function Va(t) {
|
|
896
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);
|
|
897
897
|
}
|
|
898
|
-
function
|
|
898
|
+
function Ue(t) {
|
|
899
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
900
|
}
|
|
901
|
-
function
|
|
901
|
+
function Ge(t) {
|
|
902
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);
|
|
903
903
|
}
|
|
904
904
|
const Ha = ({
|
|
@@ -912,7 +912,7 @@ const Ha = ({
|
|
|
912
912
|
defaultOpenIndex: f = -1,
|
|
913
913
|
className: x = ""
|
|
914
914
|
}) => {
|
|
915
|
-
const [b, p] = W(i), [d,
|
|
915
|
+
const [b, p] = W(i), [d, v] = W(f), g = n && r.length > s, j = g && !b ? r.slice(0, s) : r;
|
|
916
916
|
return /* @__PURE__ */ e.jsxs(
|
|
917
917
|
"div",
|
|
918
918
|
{
|
|
@@ -922,8 +922,8 @@ const Ha = ({
|
|
|
922
922
|
),
|
|
923
923
|
children: [
|
|
924
924
|
/* @__PURE__ */ e.jsx("h2", { className: "px-4 text-center text-base font-bold text-[#1d2125]", children: t }),
|
|
925
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: j.map((
|
|
926
|
-
const y = d ===
|
|
925
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: j.map((k, C) => {
|
|
926
|
+
const y = d === C;
|
|
927
927
|
return /* @__PURE__ */ e.jsxs(
|
|
928
928
|
"div",
|
|
929
929
|
{
|
|
@@ -937,12 +937,12 @@ const Ha = ({
|
|
|
937
937
|
"flex w-full items-center justify-between gap-2 p-3 text-left",
|
|
938
938
|
y ? "bg-[#f7f8f9]" : "bg-white"
|
|
939
939
|
),
|
|
940
|
-
onClick: () =>
|
|
940
|
+
onClick: () => v(y ? -1 : C),
|
|
941
941
|
"aria-expanded": y,
|
|
942
|
-
"aria-controls": `faq-answer-${
|
|
943
|
-
id: `faq-question-${
|
|
942
|
+
"aria-controls": `faq-answer-${C}`,
|
|
943
|
+
id: `faq-question-${C}`,
|
|
944
944
|
children: [
|
|
945
|
-
/* @__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 }),
|
|
946
946
|
/* @__PURE__ */ e.jsx(
|
|
947
947
|
ce,
|
|
948
948
|
{
|
|
@@ -957,26 +957,26 @@ const Ha = ({
|
|
|
957
957
|
/* @__PURE__ */ e.jsx(
|
|
958
958
|
"div",
|
|
959
959
|
{
|
|
960
|
-
id: `faq-answer-${
|
|
960
|
+
id: `faq-answer-${C}`,
|
|
961
961
|
role: "region",
|
|
962
|
-
"aria-labelledby": `faq-question-${
|
|
962
|
+
"aria-labelledby": `faq-question-${C}`,
|
|
963
963
|
hidden: !y,
|
|
964
964
|
className: "bg-white p-3",
|
|
965
|
-
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 })
|
|
966
966
|
}
|
|
967
967
|
)
|
|
968
968
|
]
|
|
969
969
|
},
|
|
970
|
-
|
|
970
|
+
C
|
|
971
971
|
);
|
|
972
972
|
}) }),
|
|
973
|
-
|
|
973
|
+
g && /* @__PURE__ */ e.jsx(
|
|
974
974
|
q,
|
|
975
975
|
{
|
|
976
976
|
variant: "secondary",
|
|
977
977
|
size: "lg",
|
|
978
978
|
className: "w-full",
|
|
979
|
-
onClick: () => p((
|
|
979
|
+
onClick: () => p((k) => !k),
|
|
980
980
|
"aria-expanded": b,
|
|
981
981
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
982
982
|
ce,
|
|
@@ -1004,14 +1004,14 @@ const Ha = ({
|
|
|
1004
1004
|
defaultOpenIndex: x = -1,
|
|
1005
1005
|
className: b = ""
|
|
1006
1006
|
}) => {
|
|
1007
|
-
const [p, d] = W(c), [
|
|
1007
|
+
const [p, d] = W(c), [v, g] = W(x), j = i && s.length > n, k = j && !p ? s.slice(0, n) : s;
|
|
1008
1008
|
return /* @__PURE__ */ e.jsxs("div", { className: o("flex flex-col gap-3 bg-white px-4 py-6", b), children: [
|
|
1009
1009
|
/* @__PURE__ */ e.jsxs("h2", { className: "flex items-center gap-2 text-sm font-bold text-[#374151]", children: [
|
|
1010
1010
|
r && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-[18px] w-[3px] shrink-0 bg-[#f75e22]" }),
|
|
1011
1011
|
t
|
|
1012
1012
|
] }),
|
|
1013
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col", children:
|
|
1014
|
-
const N =
|
|
1013
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col", children: k.map((C, y) => {
|
|
1014
|
+
const N = v === y, S = N ? Ma : ce;
|
|
1015
1015
|
return /* @__PURE__ */ e.jsxs(
|
|
1016
1016
|
"div",
|
|
1017
1017
|
{
|
|
@@ -1022,12 +1022,12 @@ const Ha = ({
|
|
|
1022
1022
|
{
|
|
1023
1023
|
type: "button",
|
|
1024
1024
|
className: "flex w-full items-center justify-between gap-2 text-left",
|
|
1025
|
-
onClick: () =>
|
|
1025
|
+
onClick: () => g(N ? -1 : y),
|
|
1026
1026
|
"aria-expanded": N,
|
|
1027
1027
|
"aria-controls": `faq-accordion-answer-${y}`,
|
|
1028
1028
|
id: `faq-accordion-question-${y}`,
|
|
1029
1029
|
children: [
|
|
1030
|
-
/* @__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 }),
|
|
1031
1031
|
/* @__PURE__ */ e.jsx(S, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 })
|
|
1032
1032
|
]
|
|
1033
1033
|
}
|
|
@@ -1039,7 +1039,7 @@ const Ha = ({
|
|
|
1039
1039
|
role: "region",
|
|
1040
1040
|
"aria-labelledby": `faq-accordion-question-${y}`,
|
|
1041
1041
|
hidden: !N,
|
|
1042
|
-
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 })
|
|
1043
1043
|
}
|
|
1044
1044
|
)
|
|
1045
1045
|
]
|
|
@@ -1053,7 +1053,7 @@ const Ha = ({
|
|
|
1053
1053
|
variant: "secondary",
|
|
1054
1054
|
size: "lg",
|
|
1055
1055
|
className: "w-full",
|
|
1056
|
-
onClick: () => d((
|
|
1056
|
+
onClick: () => d((C) => !C),
|
|
1057
1057
|
"aria-expanded": p,
|
|
1058
1058
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
1059
1059
|
ce,
|
|
@@ -1069,7 +1069,7 @@ const Ha = ({
|
|
|
1069
1069
|
] });
|
|
1070
1070
|
}, Ua = L.forwardRef(
|
|
1071
1071
|
({ src: t, poster: r, className: s = "", rounded: n = !0, width: i, height: c }, u) => {
|
|
1072
|
-
const [f, x] = L.useState(!1), [b, p] = L.useState(!0), [d,
|
|
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(
|
|
1073
1073
|
"block w-full",
|
|
1074
1074
|
(i !== void 0 || c !== void 0) && "h-full object-cover"
|
|
1075
1075
|
), h = (R) => {
|
|
@@ -1099,7 +1099,7 @@ const Ha = ({
|
|
|
1099
1099
|
height: c,
|
|
1100
1100
|
className: S,
|
|
1101
1101
|
onTimeUpdate: (R) => j(R.currentTarget.currentTime),
|
|
1102
|
-
onDurationChange: (R) =>
|
|
1102
|
+
onDurationChange: (R) => C(R.currentTarget.duration),
|
|
1103
1103
|
onEnded: () => p(!1)
|
|
1104
1104
|
}
|
|
1105
1105
|
),
|
|
@@ -1112,7 +1112,7 @@ const Ha = ({
|
|
|
1112
1112
|
"aria-label": b ? "Pause" : "Play",
|
|
1113
1113
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
1114
1114
|
onClick: () => p((R) => !R),
|
|
1115
|
-
children: b ? /* @__PURE__ */ e.jsx(Fa, { size: 16 }) : /* @__PURE__ */ e.jsx(
|
|
1115
|
+
children: b ? /* @__PURE__ */ e.jsx(Fa, { size: 16 }) : /* @__PURE__ */ e.jsx(pt, { size: 16, className: "translate-x-0.5" })
|
|
1116
1116
|
}
|
|
1117
1117
|
),
|
|
1118
1118
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1123,7 +1123,7 @@ const Ha = ({
|
|
|
1123
1123
|
size: "sm",
|
|
1124
1124
|
"aria-label": d ? "Unmute" : "Mute",
|
|
1125
1125
|
className: "absolute left-2 top-2 text-white hover:bg-white/10",
|
|
1126
|
-
onClick: () =>
|
|
1126
|
+
onClick: () => v((R) => !R),
|
|
1127
1127
|
children: d ? /* @__PURE__ */ e.jsx(za, { size: 14 }) : /* @__PURE__ */ e.jsx(Oa, { size: 14 })
|
|
1128
1128
|
}
|
|
1129
1129
|
),
|
|
@@ -1132,9 +1132,9 @@ const Ha = ({
|
|
|
1132
1132
|
{
|
|
1133
1133
|
type: "range",
|
|
1134
1134
|
min: 0,
|
|
1135
|
-
max:
|
|
1135
|
+
max: k || 0,
|
|
1136
1136
|
step: 0.1,
|
|
1137
|
-
value:
|
|
1137
|
+
value: g,
|
|
1138
1138
|
onChange: h,
|
|
1139
1139
|
"aria-label": "Seek",
|
|
1140
1140
|
className: "absolute bottom-4 left-5 right-5 h-1 accent-white"
|
|
@@ -1152,7 +1152,7 @@ const Ha = ({
|
|
|
1152
1152
|
"aria-label": "Play video",
|
|
1153
1153
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
1154
1154
|
onClick: () => x(!0),
|
|
1155
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1155
|
+
children: /* @__PURE__ */ e.jsx(pt, { size: 16, className: "translate-x-0.5" })
|
|
1156
1156
|
}
|
|
1157
1157
|
)
|
|
1158
1158
|
] })
|
|
@@ -1161,7 +1161,7 @@ const Ha = ({
|
|
|
1161
1161
|
}
|
|
1162
1162
|
);
|
|
1163
1163
|
Ua.displayName = "VideoPlayer";
|
|
1164
|
-
const Ga = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }),
|
|
1164
|
+
const Ga = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), It = L.forwardRef(
|
|
1165
1165
|
({
|
|
1166
1166
|
options: t,
|
|
1167
1167
|
value: r,
|
|
@@ -1174,32 +1174,32 @@ const Ga = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1174
1174
|
menuClassName: x = "",
|
|
1175
1175
|
...b
|
|
1176
1176
|
}, p) => {
|
|
1177
|
-
const [d,
|
|
1177
|
+
const [d, v] = L.useState(n), g = i !== void 0, j = g ? i : d, k = L.useCallback(
|
|
1178
1178
|
(N) => {
|
|
1179
|
-
|
|
1179
|
+
g || v(N), c?.(N);
|
|
1180
1180
|
},
|
|
1181
|
-
[
|
|
1182
|
-
),
|
|
1183
|
-
L.useImperativeHandle(p, () =>
|
|
1181
|
+
[g, c]
|
|
1182
|
+
), C = L.useRef(null);
|
|
1183
|
+
L.useImperativeHandle(p, () => C.current), L.useEffect(() => {
|
|
1184
1184
|
if (!j) return;
|
|
1185
1185
|
const N = (h) => {
|
|
1186
|
-
|
|
1186
|
+
C.current?.contains(h.target) || k(!1);
|
|
1187
1187
|
}, S = (h) => {
|
|
1188
|
-
h.key === "Escape" &&
|
|
1188
|
+
h.key === "Escape" && k(!1);
|
|
1189
1189
|
};
|
|
1190
1190
|
return document.addEventListener("mousedown", N), document.addEventListener("keydown", S), () => {
|
|
1191
1191
|
document.removeEventListener("mousedown", N), document.removeEventListener("keydown", S);
|
|
1192
1192
|
};
|
|
1193
|
-
}, [j,
|
|
1193
|
+
}, [j, k]);
|
|
1194
1194
|
const y = (N) => {
|
|
1195
|
-
s?.(N.value),
|
|
1195
|
+
s?.(N.value), k(!1);
|
|
1196
1196
|
};
|
|
1197
|
-
return /* @__PURE__ */ e.jsxs("div", { ref:
|
|
1197
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: C, className: o("relative inline-block", u), ...b, children: [
|
|
1198
1198
|
/* @__PURE__ */ e.jsxs(
|
|
1199
1199
|
"button",
|
|
1200
1200
|
{
|
|
1201
1201
|
type: "button",
|
|
1202
|
-
onClick: () =>
|
|
1202
|
+
onClick: () => k(!j),
|
|
1203
1203
|
"aria-label": "Switch language",
|
|
1204
1204
|
"aria-haspopup": "listbox",
|
|
1205
1205
|
"aria-expanded": j,
|
|
@@ -1248,7 +1248,7 @@ const Ga = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1248
1248
|
] });
|
|
1249
1249
|
}
|
|
1250
1250
|
);
|
|
1251
|
-
|
|
1251
|
+
It.displayName = "LanguageSwitcher";
|
|
1252
1252
|
function Xr({
|
|
1253
1253
|
onBackClick: t,
|
|
1254
1254
|
backButtonAriaLabel: r = "Go back",
|
|
@@ -1272,11 +1272,11 @@ function Xr({
|
|
|
1272
1272
|
onClick: t,
|
|
1273
1273
|
"aria-label": r,
|
|
1274
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)]",
|
|
1275
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1275
|
+
children: /* @__PURE__ */ e.jsx(Ge, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
1276
1276
|
}
|
|
1277
1277
|
),
|
|
1278
1278
|
/* @__PURE__ */ e.jsx(
|
|
1279
|
-
|
|
1279
|
+
It,
|
|
1280
1280
|
{
|
|
1281
1281
|
options: n,
|
|
1282
1282
|
value: s,
|
|
@@ -1360,7 +1360,7 @@ function Ya(t) {
|
|
|
1360
1360
|
function Ka(t) {
|
|
1361
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);
|
|
1362
1362
|
}
|
|
1363
|
-
const
|
|
1363
|
+
const mt = 1.25, bt = [
|
|
1364
1364
|
{ x: 11.02, y: 6.38, height: 5.28 },
|
|
1365
1365
|
{ x: 16.3, y: 6.38, height: 5.28 },
|
|
1366
1366
|
{ x: 8.36, y: 3.8, height: 10.44 },
|
|
@@ -1380,18 +1380,18 @@ const ht = 1.25, mt = [
|
|
|
1380
1380
|
fill: "none",
|
|
1381
1381
|
"aria-hidden": !0,
|
|
1382
1382
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1383
|
-
children:
|
|
1383
|
+
children: bt.map((s, n) => /* @__PURE__ */ e.jsx(
|
|
1384
1384
|
"rect",
|
|
1385
1385
|
{
|
|
1386
1386
|
x: s.x,
|
|
1387
1387
|
y: s.y,
|
|
1388
|
-
width:
|
|
1388
|
+
width: mt,
|
|
1389
1389
|
height: s.height,
|
|
1390
|
-
rx:
|
|
1390
|
+
rx: mt / 2,
|
|
1391
1391
|
fill: "#6B7280",
|
|
1392
1392
|
className: t ? "wave-bar-anim" : "",
|
|
1393
1393
|
style: {
|
|
1394
|
-
animationDelay: `${(r *
|
|
1394
|
+
animationDelay: `${(r * bt.length + n) * 60}ms`
|
|
1395
1395
|
}
|
|
1396
1396
|
},
|
|
1397
1397
|
n
|
|
@@ -1410,9 +1410,9 @@ const ht = 1.25, mt = [
|
|
|
1410
1410
|
!n || f.current || (f.current = !0, u.current?.play().catch(() => {
|
|
1411
1411
|
}));
|
|
1412
1412
|
}, [n]);
|
|
1413
|
-
const
|
|
1414
|
-
const
|
|
1415
|
-
|
|
1413
|
+
const v = () => {
|
|
1414
|
+
const g = u.current;
|
|
1415
|
+
g && (g.muted = !g.muted, b(g.muted));
|
|
1416
1416
|
};
|
|
1417
1417
|
return /* @__PURE__ */ e.jsxs(
|
|
1418
1418
|
"div",
|
|
@@ -1473,20 +1473,20 @@ const ht = 1.25, mt = [
|
|
|
1473
1473
|
"button",
|
|
1474
1474
|
{
|
|
1475
1475
|
type: "button",
|
|
1476
|
-
onClick:
|
|
1476
|
+
onClick: v,
|
|
1477
1477
|
"aria-label": x ? "Unmute" : "Mute",
|
|
1478
1478
|
"aria-pressed": x,
|
|
1479
1479
|
className: "flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
1480
1480
|
children: x ? /* @__PURE__ */ e.jsx(Ka, { size: 18, className: "text-[#f75e22]" }) : /* @__PURE__ */ e.jsx(Ya, { size: 18, className: "text-[#f75e22]" })
|
|
1481
1481
|
}
|
|
1482
1482
|
),
|
|
1483
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((
|
|
1483
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((g) => /* @__PURE__ */ e.jsx(
|
|
1484
1484
|
Za,
|
|
1485
1485
|
{
|
|
1486
1486
|
animate: p && !x,
|
|
1487
|
-
iconIndex:
|
|
1487
|
+
iconIndex: g
|
|
1488
1488
|
},
|
|
1489
|
-
|
|
1489
|
+
g
|
|
1490
1490
|
)) })
|
|
1491
1491
|
] })
|
|
1492
1492
|
] })
|
|
@@ -1516,7 +1516,7 @@ const ht = 1.25, mt = [
|
|
|
1516
1516
|
)
|
|
1517
1517
|
);
|
|
1518
1518
|
Pe.displayName = "IconBadge";
|
|
1519
|
-
const
|
|
1519
|
+
const Dt = L.forwardRef(
|
|
1520
1520
|
({
|
|
1521
1521
|
selected: t = !1,
|
|
1522
1522
|
onSelect: r,
|
|
@@ -1530,11 +1530,11 @@ const It = L.forwardRef(
|
|
|
1530
1530
|
showRadio: b = !0,
|
|
1531
1531
|
radioVariant: p = "dot",
|
|
1532
1532
|
radioClassName: d,
|
|
1533
|
-
tag:
|
|
1534
|
-
tagClassName:
|
|
1533
|
+
tag: v,
|
|
1534
|
+
tagClassName: g,
|
|
1535
1535
|
children: j,
|
|
1536
|
-
note:
|
|
1537
|
-
noteClassName:
|
|
1536
|
+
note: k,
|
|
1537
|
+
noteClassName: C,
|
|
1538
1538
|
className: y,
|
|
1539
1539
|
disabled: N,
|
|
1540
1540
|
type: S = "button",
|
|
@@ -1547,18 +1547,18 @@ const It = L.forwardRef(
|
|
|
1547
1547
|
"relative overflow-visible rounded-2xl border transition-colors",
|
|
1548
1548
|
t ? "border-[#f38415] bg-[#FEF5E9]" : "border-gray-200 bg-white",
|
|
1549
1549
|
N && "opacity-50",
|
|
1550
|
-
|
|
1550
|
+
k && "z-10",
|
|
1551
1551
|
y
|
|
1552
1552
|
),
|
|
1553
1553
|
children: [
|
|
1554
|
-
|
|
1554
|
+
v && /* @__PURE__ */ e.jsx(
|
|
1555
1555
|
"span",
|
|
1556
1556
|
{
|
|
1557
1557
|
className: o(
|
|
1558
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
|
-
|
|
1559
|
+
g
|
|
1560
1560
|
),
|
|
1561
|
-
children:
|
|
1561
|
+
children: v
|
|
1562
1562
|
}
|
|
1563
1563
|
),
|
|
1564
1564
|
/* @__PURE__ */ e.jsxs(
|
|
@@ -1572,7 +1572,7 @@ const It = L.forwardRef(
|
|
|
1572
1572
|
onClick: r,
|
|
1573
1573
|
className: o(
|
|
1574
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
|
-
|
|
1575
|
+
v && "pt-7"
|
|
1576
1576
|
),
|
|
1577
1577
|
...h,
|
|
1578
1578
|
children: [
|
|
@@ -1600,7 +1600,7 @@ const It = L.forwardRef(
|
|
|
1600
1600
|
)
|
|
1601
1601
|
}
|
|
1602
1602
|
),
|
|
1603
|
-
t && p === "check" && /* @__PURE__ */ e.jsx(
|
|
1603
|
+
t && p === "check" && /* @__PURE__ */ e.jsx(He, { size: 14, "aria-hidden": !0 })
|
|
1604
1604
|
]
|
|
1605
1605
|
}
|
|
1606
1606
|
)
|
|
@@ -1611,13 +1611,13 @@ const It = L.forwardRef(
|
|
|
1611
1611
|
]
|
|
1612
1612
|
}
|
|
1613
1613
|
);
|
|
1614
|
-
return
|
|
1614
|
+
return k ? /* @__PURE__ */ e.jsxs("div", { className: "relative", children: [
|
|
1615
1615
|
M,
|
|
1616
|
-
/* @__PURE__ */ e.jsx("div", { className: o("mt-3 rounded-b-2xl px-4 pt-4 pb-3 text-left text-[#632e06]",
|
|
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
1617
|
] }) : M;
|
|
1618
1618
|
}
|
|
1619
1619
|
);
|
|
1620
|
-
|
|
1620
|
+
Dt.displayName = "SelectorCard";
|
|
1621
1621
|
const ts = ({
|
|
1622
1622
|
value: t,
|
|
1623
1623
|
onClick: r,
|
|
@@ -1710,7 +1710,7 @@ const ts = ({
|
|
|
1710
1710
|
u
|
|
1711
1711
|
),
|
|
1712
1712
|
children: [
|
|
1713
|
-
/* @__PURE__ */ e.jsx(
|
|
1713
|
+
/* @__PURE__ */ e.jsx(ht, { size: 20, "aria-hidden": !0 }),
|
|
1714
1714
|
c
|
|
1715
1715
|
]
|
|
1716
1716
|
}
|
|
@@ -1729,7 +1729,7 @@ const ts = ({
|
|
|
1729
1729
|
onClick: s,
|
|
1730
1730
|
"aria-label": "Decrease quantity",
|
|
1731
1731
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",
|
|
1732
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1732
|
+
children: /* @__PURE__ */ e.jsx(Da, { size: 18, "aria-hidden": !0 })
|
|
1733
1733
|
}
|
|
1734
1734
|
),
|
|
1735
1735
|
/* @__PURE__ */ e.jsx("span", { className: "min-w-[1ch] text-center text-base font-bold", children: t }),
|
|
@@ -1741,12 +1741,12 @@ const ts = ({
|
|
|
1741
1741
|
disabled: i !== void 0 && t >= i,
|
|
1742
1742
|
"aria-label": "Increase quantity",
|
|
1743
1743
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors disabled:pointer-events-none disabled:opacity-40",
|
|
1744
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1744
|
+
children: /* @__PURE__ */ e.jsx(ht, { size: 18, "aria-hidden": !0 })
|
|
1745
1745
|
}
|
|
1746
1746
|
)
|
|
1747
1747
|
]
|
|
1748
1748
|
}
|
|
1749
|
-
),
|
|
1749
|
+
), gt = {
|
|
1750
1750
|
en: {
|
|
1751
1751
|
headerTitle: "Review your booking",
|
|
1752
1752
|
addonsTitle: "Add services for all ancestors",
|
|
@@ -1771,7 +1771,7 @@ const ts = ({
|
|
|
1771
1771
|
checkoutRitualSingular: "पूजा-विधि",
|
|
1772
1772
|
checkoutRitualPlural: "पूजा-विधि"
|
|
1773
1773
|
}
|
|
1774
|
-
}, _e = (t) =>
|
|
1774
|
+
}, _e = (t) => gt[t] ?? gt.en, Mt = ({
|
|
1775
1775
|
title: t,
|
|
1776
1776
|
description: r,
|
|
1777
1777
|
price: s,
|
|
@@ -1837,7 +1837,7 @@ const ts = ({
|
|
|
1837
1837
|
),
|
|
1838
1838
|
...c,
|
|
1839
1839
|
children: [
|
|
1840
|
-
r && /* @__PURE__ */ e.jsx(
|
|
1840
|
+
r && /* @__PURE__ */ e.jsx(He, { size: 14, "aria-hidden": !0 }),
|
|
1841
1841
|
s ?? (r ? _e(t).addedLabel : _e(t).addLabel)
|
|
1842
1842
|
]
|
|
1843
1843
|
}
|
|
@@ -1896,7 +1896,7 @@ const pr = [
|
|
|
1896
1896
|
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(Wt, { "aria-hidden": !0 }), label: "100% Money Back Guarantee" },
|
|
1897
1897
|
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx($t, { "aria-hidden": !0 }), label: "No Hidden Cost" },
|
|
1898
1898
|
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(Vt, { "aria-hidden": !0 }), label: "24x7 Support" }
|
|
1899
|
-
],
|
|
1899
|
+
], vt = (t, r, s) => /* @__PURE__ */ e.jsxs(
|
|
1900
1900
|
"span",
|
|
1901
1901
|
{
|
|
1902
1902
|
className: o("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700", s, t.className),
|
|
@@ -1918,7 +1918,7 @@ const pr = [
|
|
|
1918
1918
|
{
|
|
1919
1919
|
className: "flex w-max items-center gap-5 whitespace-nowrap motion-reduce:animate-none",
|
|
1920
1920
|
style: { animation: `pitru-paksh-trust-badges-marquee ${n}s linear infinite` },
|
|
1921
|
-
children: [...t, ...t].map((u, f) =>
|
|
1921
|
+
children: [...t, ...t].map((u, f) => vt(u, `${u.id}-${f}`, r))
|
|
1922
1922
|
}
|
|
1923
1923
|
) }) : /* @__PURE__ */ e.jsx(
|
|
1924
1924
|
"div",
|
|
@@ -1929,9 +1929,9 @@ const pr = [
|
|
|
1929
1929
|
i
|
|
1930
1930
|
),
|
|
1931
1931
|
...c,
|
|
1932
|
-
children: t.map((u) =>
|
|
1932
|
+
children: t.map((u) => vt(u, u.id, r))
|
|
1933
1933
|
}
|
|
1934
|
-
),
|
|
1934
|
+
), jt = {
|
|
1935
1935
|
en: {
|
|
1936
1936
|
proceedLabel: "Proceed"
|
|
1937
1937
|
},
|
|
@@ -1941,7 +1941,7 @@ const pr = [
|
|
|
1941
1941
|
te: {
|
|
1942
1942
|
proceedLabel: "ముందుకు సాగండి"
|
|
1943
1943
|
}
|
|
1944
|
-
}, mr = (t) =>
|
|
1944
|
+
}, mr = (t) => jt[t] ?? jt.en, qe = ({
|
|
1945
1945
|
locale: t = "en",
|
|
1946
1946
|
amount: r,
|
|
1947
1947
|
amountClassName: s,
|
|
@@ -1951,13 +1951,13 @@ const pr = [
|
|
|
1951
1951
|
onInfoClick: u,
|
|
1952
1952
|
infoIconClassName: f,
|
|
1953
1953
|
proceedLabel: x,
|
|
1954
|
-
proceedIcon: b = /* @__PURE__ */ e.jsx(
|
|
1954
|
+
proceedIcon: b = /* @__PURE__ */ e.jsx(Ue, { "aria-hidden": !0 }),
|
|
1955
1955
|
onProceed: p,
|
|
1956
1956
|
proceedButtonProps: d,
|
|
1957
|
-
buttonWrapperClassName:
|
|
1958
|
-
className:
|
|
1957
|
+
buttonWrapperClassName: v,
|
|
1958
|
+
className: g,
|
|
1959
1959
|
...j
|
|
1960
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className: o("flex items-center gap-3 rounded-t-3xl bg-white px-4 py-4 shadow-[0_-2px_12px_rgba(0,0,0,0.08)]",
|
|
1960
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: o("flex items-center gap-3 rounded-t-3xl bg-white px-4 py-4 shadow-[0_-2px_12px_rgba(0,0,0,0.08)]", g), ...j, children: [
|
|
1961
1961
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1962
1962
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
1963
1963
|
/* @__PURE__ */ e.jsx("span", { className: o("text-xl font-extrabold text-[#1d2125]", s), children: r }),
|
|
@@ -1978,11 +1978,11 @@ const pr = [
|
|
|
1978
1978
|
] }),
|
|
1979
1979
|
n && /* @__PURE__ */ e.jsx("p", { className: o("mt-1 text-sm text-gray-500", i), children: n })
|
|
1980
1980
|
] }),
|
|
1981
|
-
/* @__PURE__ */ e.jsx("div", { className: o("shrink-0",
|
|
1981
|
+
/* @__PURE__ */ e.jsx("div", { className: o("shrink-0", v), children: /* @__PURE__ */ e.jsxs(q, { variant: "primary", size: "xl", onClick: p, ...d, className: o("min-w-40 justify-center gap-2 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]", d?.className), children: [
|
|
1982
1982
|
x ?? mr(t).proceedLabel,
|
|
1983
1983
|
b
|
|
1984
1984
|
] }) })
|
|
1985
|
-
] }),
|
|
1985
|
+
] }), yt = {
|
|
1986
1986
|
en: {
|
|
1987
1987
|
title: "Select the number of people performing the Puja (Karta)",
|
|
1988
1988
|
description: "Performing the puja together with the whole family brings ancestors’ blessings and family prosperity",
|
|
@@ -2025,7 +2025,7 @@ const pr = [
|
|
|
2025
2025
|
support: "కస్టమర్ సపోర్ట్"
|
|
2026
2026
|
}
|
|
2027
2027
|
}
|
|
2028
|
-
}, br = (t) =>
|
|
2028
|
+
}, br = (t) => yt[t] ?? yt.en, ls = ({
|
|
2029
2029
|
locale: t = "en",
|
|
2030
2030
|
title: r,
|
|
2031
2031
|
description: s,
|
|
@@ -2038,13 +2038,13 @@ const pr = [
|
|
|
2038
2038
|
className: b,
|
|
2039
2039
|
headerClassName: p,
|
|
2040
2040
|
benefitsClassName: d,
|
|
2041
|
-
optionsClassName:
|
|
2042
|
-
trustBadges:
|
|
2041
|
+
optionsClassName: v,
|
|
2042
|
+
trustBadges: g,
|
|
2043
2043
|
checkout: j,
|
|
2044
|
-
stickyFooter:
|
|
2045
|
-
footerClassName:
|
|
2044
|
+
stickyFooter: k = !0,
|
|
2045
|
+
footerClassName: C
|
|
2046
2046
|
}) => {
|
|
2047
|
-
const y = br(t), N = r ?? y.title, S = s ?? y.description, h = n ?? y.benefits, R =
|
|
2047
|
+
const y = br(t), N = r ?? y.title, S = s ?? y.description, h = n ?? y.benefits, R = g ?? {
|
|
2048
2048
|
badges: [
|
|
2049
2049
|
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(Wt, { "aria-hidden": !0 }), label: y.trustBadgeLabels.moneyBack },
|
|
2050
2050
|
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx($t, { "aria-hidden": !0 }), label: y.trustBadgeLabels.noHiddenCost },
|
|
@@ -2057,7 +2057,7 @@ const pr = [
|
|
|
2057
2057
|
S && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: S })
|
|
2058
2058
|
] }),
|
|
2059
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(
|
|
2060
|
+
/* @__PURE__ */ e.jsx(He, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
|
|
2061
2061
|
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: M })
|
|
2062
2062
|
] }, B)) }),
|
|
2063
2063
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2065,13 +2065,13 @@ const pr = [
|
|
|
2065
2065
|
{
|
|
2066
2066
|
role: "radiogroup",
|
|
2067
2067
|
"aria-label": x ?? (typeof N == "string" ? N : void 0),
|
|
2068
|
-
className: o("flex flex-col gap-3 p-4",
|
|
2068
|
+
className: o("flex flex-col gap-3 p-4", v),
|
|
2069
2069
|
children: i.map((M) => {
|
|
2070
2070
|
const {
|
|
2071
2071
|
id: B,
|
|
2072
2072
|
price: Y,
|
|
2073
2073
|
free: re,
|
|
2074
|
-
badge:
|
|
2074
|
+
badge: D,
|
|
2075
2075
|
priceBadgeProps: H,
|
|
2076
2076
|
note: K,
|
|
2077
2077
|
noteProps: $,
|
|
@@ -2079,9 +2079,9 @@ const pr = [
|
|
|
2079
2079
|
iconClassName: ae,
|
|
2080
2080
|
radioVariant: Z,
|
|
2081
2081
|
...J
|
|
2082
|
-
} = M, X = c === B, se =
|
|
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 }));
|
|
2083
2083
|
return /* @__PURE__ */ e.jsx(
|
|
2084
|
-
|
|
2084
|
+
Dt,
|
|
2085
2085
|
{
|
|
2086
2086
|
...J,
|
|
2087
2087
|
iconClassName: o("size-10", ae),
|
|
@@ -2096,12 +2096,12 @@ const pr = [
|
|
|
2096
2096
|
})
|
|
2097
2097
|
}
|
|
2098
2098
|
),
|
|
2099
|
-
(R || j) && /* @__PURE__ */ e.jsxs("div", { className: o(
|
|
2099
|
+
(R || j) && /* @__PURE__ */ e.jsxs("div", { className: o(k && "sticky bottom-0 z-10", C), children: [
|
|
2100
2100
|
R && /* @__PURE__ */ e.jsx(hr, { ...R }),
|
|
2101
|
-
j && /* @__PURE__ */ e.jsx(
|
|
2101
|
+
j && /* @__PURE__ */ e.jsx(qe, { ...j })
|
|
2102
2102
|
] })
|
|
2103
2103
|
] });
|
|
2104
|
-
},
|
|
2104
|
+
}, Nt = {
|
|
2105
2105
|
en: {
|
|
2106
2106
|
title: "Pitru Paksha Special Rituals",
|
|
2107
2107
|
ancestorsLabel: "Ancestors",
|
|
@@ -2114,7 +2114,7 @@ const pr = [
|
|
|
2114
2114
|
ritualsLabel: "पूजा विधि",
|
|
2115
2115
|
performersLabel: "कर्ता"
|
|
2116
2116
|
}
|
|
2117
|
-
}, gr = (t) =>
|
|
2117
|
+
}, gr = (t) => Nt[t] ?? Nt.en, vr = ({
|
|
2118
2118
|
locale: t = "en",
|
|
2119
2119
|
icon: r = /* @__PURE__ */ e.jsx(Ft, { "aria-hidden": !0 }),
|
|
2120
2120
|
iconClassName: s,
|
|
@@ -2128,22 +2128,22 @@ const pr = [
|
|
|
2128
2128
|
className: p,
|
|
2129
2129
|
...d
|
|
2130
2130
|
}) => {
|
|
2131
|
-
const
|
|
2132
|
-
`${f.ancestors} ${
|
|
2133
|
-
`${f.rituals} ${
|
|
2134
|
-
`${f.performers} ${
|
|
2131
|
+
const v = gr(t), g = n ?? v.title, j = u ?? (f && [
|
|
2132
|
+
`${f.ancestors} ${v.ancestorsLabel}`,
|
|
2133
|
+
`${f.rituals} ${v.ritualsLabel}`,
|
|
2134
|
+
`${f.performers} ${v.performersLabel}`
|
|
2135
2135
|
]);
|
|
2136
2136
|
return /* @__PURE__ */ e.jsx("div", { className: o("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", p), ...d, children: /* @__PURE__ */ e.jsxs("div", { className: o("rounded-2xl bg-white p-4 shadow-sm", b), children: [
|
|
2137
2137
|
/* @__PURE__ */ e.jsxs("p", { className: o("flex items-center gap-2 text-sm font-bold text-[#db2777]", i), children: [
|
|
2138
2138
|
r && /* @__PURE__ */ e.jsx("span", { className: o("shrink-0 text-sm", s), children: r }),
|
|
2139
|
-
|
|
2139
|
+
g
|
|
2140
2140
|
] }),
|
|
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((
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
] },
|
|
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 })
|
|
2145
2145
|
] }) });
|
|
2146
|
-
},
|
|
2146
|
+
}, wt = {
|
|
2147
2147
|
en: {
|
|
2148
2148
|
title: "Bill Details",
|
|
2149
2149
|
totalLabel: "Total Amount"
|
|
@@ -2152,7 +2152,7 @@ const pr = [
|
|
|
2152
2152
|
title: "बिल विवरण",
|
|
2153
2153
|
totalLabel: "कुल राशि"
|
|
2154
2154
|
}
|
|
2155
|
-
}, jr = (t) =>
|
|
2155
|
+
}, jr = (t) => wt[t] ?? wt.en, yr = ({
|
|
2156
2156
|
locale: t = "en",
|
|
2157
2157
|
titleClassName: r,
|
|
2158
2158
|
rows: s,
|
|
@@ -2198,11 +2198,11 @@ const pr = [
|
|
|
2198
2198
|
itemClassName: b,
|
|
2199
2199
|
addons: p,
|
|
2200
2200
|
addonsSectionClassName: d,
|
|
2201
|
-
addonsHeaderClassName:
|
|
2202
|
-
addonsTitleClassName:
|
|
2201
|
+
addonsHeaderClassName: v,
|
|
2202
|
+
addonsTitleClassName: g,
|
|
2203
2203
|
addonsDescriptionClassName: j,
|
|
2204
|
-
addonsClassName:
|
|
2205
|
-
addonClassName:
|
|
2204
|
+
addonsClassName: k,
|
|
2205
|
+
addonClassName: C,
|
|
2206
2206
|
billDetails: y,
|
|
2207
2207
|
faq: N,
|
|
2208
2208
|
checkout: S,
|
|
@@ -2210,7 +2210,7 @@ const pr = [
|
|
|
2210
2210
|
children: R,
|
|
2211
2211
|
...M
|
|
2212
2212
|
}) => {
|
|
2213
|
-
const { headerTitle: B, addonsTitle: Y, addonsDescription: re, checkoutProceedLabel:
|
|
2213
|
+
const { headerTitle: B, addonsTitle: Y, addonsDescription: re, checkoutProceedLabel: D, checkoutRitualSingular: H, checkoutRitualPlural: K } = _e(t), { price: $, ritualCount: U, ...ae } = S ?? {};
|
|
2214
2214
|
return /* @__PURE__ */ e.jsxs("div", { className: o("flex min-h-screen flex-col bg-white", h), ...M, children: [
|
|
2215
2215
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
2216
2216
|
/* @__PURE__ */ e.jsxs("div", { className: o("flex items-center gap-3 px-4 py-3", n), children: [
|
|
@@ -2224,7 +2224,7 @@ const pr = [
|
|
|
2224
2224
|
"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",
|
|
2225
2225
|
i
|
|
2226
2226
|
),
|
|
2227
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2227
|
+
children: /* @__PURE__ */ e.jsx(Ge, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
2228
2228
|
}
|
|
2229
2229
|
),
|
|
2230
2230
|
/* @__PURE__ */ e.jsx("h1", { className: o("text-lg font-bold text-[#1d2125]", c), children: B })
|
|
@@ -2249,24 +2249,24 @@ const pr = [
|
|
|
2249
2249
|
)
|
|
2250
2250
|
) }),
|
|
2251
2251
|
p && p.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: o("flex flex-col gap-4 bg-gray-50 px-4 py-6", d), children: [
|
|
2252
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2253
|
-
/* @__PURE__ */ e.jsx("h2", { className: o("text-base font-bold text-gray-700",
|
|
2252
|
+
/* @__PURE__ */ e.jsxs("div", { className: v, children: [
|
|
2253
|
+
/* @__PURE__ */ e.jsx("h2", { className: o("text-base font-bold text-gray-700", g), children: Y }),
|
|
2254
2254
|
/* @__PURE__ */ e.jsx("p", { className: o("mt-1 text-sm text-gray-500", j), children: re })
|
|
2255
2255
|
] }),
|
|
2256
|
-
/* @__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)) })
|
|
2257
2257
|
] }),
|
|
2258
2258
|
y && /* @__PURE__ */ e.jsx(yr, { ...y, locale: t }),
|
|
2259
2259
|
N && /* @__PURE__ */ e.jsx(Ha, { ...N }),
|
|
2260
2260
|
R
|
|
2261
2261
|
] }),
|
|
2262
2262
|
S && /* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0", children: /* @__PURE__ */ e.jsx(
|
|
2263
|
-
|
|
2263
|
+
qe,
|
|
2264
2264
|
{
|
|
2265
2265
|
...ae,
|
|
2266
2266
|
locale: t,
|
|
2267
2267
|
amount: $,
|
|
2268
2268
|
subtitle: `${U} ${U === 1 ? H : K}`,
|
|
2269
|
-
proceedLabel:
|
|
2269
|
+
proceedLabel: D
|
|
2270
2270
|
}
|
|
2271
2271
|
) })
|
|
2272
2272
|
] });
|
|
@@ -2284,11 +2284,11 @@ const pr = [
|
|
|
2284
2284
|
wrapperClassName: b,
|
|
2285
2285
|
maxLength: p,
|
|
2286
2286
|
id: d,
|
|
2287
|
-
...
|
|
2288
|
-
},
|
|
2289
|
-
const j = L.useId(),
|
|
2287
|
+
...v
|
|
2288
|
+
}, g) => {
|
|
2289
|
+
const j = L.useId(), k = d ?? j, C = c ?? (i ? `${r.length}${p ? `/${p}` : ""}` : void 0);
|
|
2290
2290
|
return /* @__PURE__ */ e.jsxs("div", { className: o("flex w-full flex-col gap-2", x), children: [
|
|
2291
|
-
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 }),
|
|
2292
2292
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
2293
2293
|
/* @__PURE__ */ e.jsxs(
|
|
2294
2294
|
"div",
|
|
@@ -2303,8 +2303,8 @@ const pr = [
|
|
|
2303
2303
|
/* @__PURE__ */ e.jsx(
|
|
2304
2304
|
"input",
|
|
2305
2305
|
{
|
|
2306
|
-
ref:
|
|
2307
|
-
id:
|
|
2306
|
+
ref: g,
|
|
2307
|
+
id: k,
|
|
2308
2308
|
value: r,
|
|
2309
2309
|
maxLength: p,
|
|
2310
2310
|
onChange: (y) => s(y.target.value),
|
|
@@ -2313,13 +2313,13 @@ const pr = [
|
|
|
2313
2313
|
"w-full min-w-0 flex-1 border-0 bg-transparent p-0 text-[16px] leading-5.5 font-medium text-[#1f2937] placeholder:text-[#9ca3af] focus:outline-none focus:ring-0",
|
|
2314
2314
|
f
|
|
2315
2315
|
),
|
|
2316
|
-
...
|
|
2316
|
+
...v
|
|
2317
2317
|
}
|
|
2318
2318
|
)
|
|
2319
2319
|
]
|
|
2320
2320
|
}
|
|
2321
2321
|
),
|
|
2322
|
-
|
|
2322
|
+
C && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#9ca3af]", children: C })
|
|
2323
2323
|
] })
|
|
2324
2324
|
] });
|
|
2325
2325
|
}
|
|
@@ -2368,13 +2368,13 @@ function os({
|
|
|
2368
2368
|
)
|
|
2369
2369
|
] }),
|
|
2370
2370
|
children: /* @__PURE__ */ e.jsx("div", { className: "grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4", children: i.map((d) => {
|
|
2371
|
-
const
|
|
2371
|
+
const v = x === d;
|
|
2372
2372
|
return /* @__PURE__ */ e.jsx(
|
|
2373
2373
|
"button",
|
|
2374
2374
|
{
|
|
2375
2375
|
type: "button",
|
|
2376
2376
|
onClick: () => b(d),
|
|
2377
|
-
className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${
|
|
2377
|
+
className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${v ? "border-[#f38415] bg-[#f38415] text-white" : "border-[#fccf9a] bg-white/40 text-[#374151]"}`,
|
|
2378
2378
|
children: d
|
|
2379
2379
|
},
|
|
2380
2380
|
d
|
|
@@ -2437,10 +2437,10 @@ function cs({
|
|
|
2437
2437
|
const d = ga(() => {
|
|
2438
2438
|
const S = b ?? p - 120;
|
|
2439
2439
|
return Array.from({ length: p - S + 1 }, (h, R) => S + R);
|
|
2440
|
-
}, [b, p]), [
|
|
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(
|
|
2441
2441
|
() => x ? Math.max(0, d.indexOf(x.year)) : Math.floor(d.length / 2)
|
|
2442
2442
|
), N = () => {
|
|
2443
|
-
u({ day: Be[
|
|
2443
|
+
u({ day: Be[v], month: j + 1, year: d[C] });
|
|
2444
2444
|
};
|
|
2445
2445
|
return /* @__PURE__ */ e.jsx(
|
|
2446
2446
|
Le,
|
|
@@ -2465,9 +2465,9 @@ function cs({
|
|
|
2465
2465
|
] })
|
|
2466
2466
|
] }),
|
|
2467
2467
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
2468
|
-
/* @__PURE__ */ e.jsx(Fe, { options: Be.map(String), selectedIndex:
|
|
2469
|
-
/* @__PURE__ */ e.jsx(Fe, { options: i, selectedIndex: j, onChange:
|
|
2470
|
-
/* @__PURE__ */ e.jsx(Fe, { options: d.map(String), selectedIndex:
|
|
2468
|
+
/* @__PURE__ */ e.jsx(Fe, { options: Be.map(String), selectedIndex: v, onChange: g }),
|
|
2469
|
+
/* @__PURE__ */ e.jsx(Fe, { options: i, selectedIndex: j, onChange: k }),
|
|
2470
|
+
/* @__PURE__ */ e.jsx(Fe, { options: d.map(String), selectedIndex: C, onChange: y })
|
|
2471
2471
|
] })
|
|
2472
2472
|
}
|
|
2473
2473
|
);
|
|
@@ -2485,21 +2485,23 @@ function ds({
|
|
|
2485
2485
|
}) {
|
|
2486
2486
|
const [b, p] = W(
|
|
2487
2487
|
() => f.find((h) => h.iso === x) ?? f[0]
|
|
2488
|
-
), [d,
|
|
2489
|
-
|
|
2490
|
-
if (!
|
|
2488
|
+
), [d, v] = W(u), [g, j] = W(!1), k = Ot(null);
|
|
2489
|
+
We(() => {
|
|
2490
|
+
if (!g) return;
|
|
2491
2491
|
const h = (R) => {
|
|
2492
|
-
|
|
2492
|
+
k.current && !k.current.contains(R.target) && j(!1);
|
|
2493
2493
|
};
|
|
2494
2494
|
return document.addEventListener("mousedown", h), () => document.removeEventListener("mousedown", h);
|
|
2495
|
-
}, [
|
|
2496
|
-
|
|
2497
|
-
|
|
2495
|
+
}, [g]), We(() => {
|
|
2496
|
+
g && k.current?.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
|
2497
|
+
}, [g]);
|
|
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)));
|
|
2498
2500
|
}, S = () => {
|
|
2499
2501
|
y && c(d, b);
|
|
2500
2502
|
};
|
|
2501
2503
|
return /* @__PURE__ */ e.jsx(
|
|
2502
|
-
|
|
2504
|
+
Ve,
|
|
2503
2505
|
{
|
|
2504
2506
|
isOpen: t,
|
|
2505
2507
|
onClose: r,
|
|
@@ -2512,7 +2514,7 @@ function ds({
|
|
|
2512
2514
|
variant: "primary",
|
|
2513
2515
|
size: "xl",
|
|
2514
2516
|
className: "w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
2515
|
-
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2517
|
+
rightIcon: /* @__PURE__ */ e.jsx(Ue, { "aria-hidden": !0 }),
|
|
2516
2518
|
disabled: !y,
|
|
2517
2519
|
onClick: S,
|
|
2518
2520
|
children: i
|
|
@@ -2522,13 +2524,13 @@ function ds({
|
|
|
2522
2524
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
|
|
2523
2525
|
n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
|
|
2524
2526
|
/* @__PURE__ */ e.jsxs("div", { className: "mt-2 flex w-full items-start gap-2", children: [
|
|
2525
|
-
/* @__PURE__ */ e.jsxs("div", { ref:
|
|
2527
|
+
/* @__PURE__ */ e.jsxs("div", { ref: k, className: "relative shrink-0", children: [
|
|
2526
2528
|
/* @__PURE__ */ e.jsxs(
|
|
2527
2529
|
"button",
|
|
2528
2530
|
{
|
|
2529
2531
|
type: "button",
|
|
2530
2532
|
onClick: () => j((h) => !h),
|
|
2531
|
-
"aria-expanded":
|
|
2533
|
+
"aria-expanded": g,
|
|
2532
2534
|
"aria-haspopup": "listbox",
|
|
2533
2535
|
className: "flex h-14 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2",
|
|
2534
2536
|
children: [
|
|
@@ -2538,11 +2540,11 @@ function ds({
|
|
|
2538
2540
|
]
|
|
2539
2541
|
}
|
|
2540
2542
|
),
|
|
2541
|
-
|
|
2543
|
+
g && /* @__PURE__ */ e.jsx(
|
|
2542
2544
|
"div",
|
|
2543
2545
|
{
|
|
2544
2546
|
role: "listbox",
|
|
2545
|
-
className: "
|
|
2547
|
+
className: "mt-1 max-h-60 w-64 overflow-y-auto rounded-xl border border-[#e5e7eb] bg-white py-1 shadow-lg",
|
|
2546
2548
|
children: f.map((h) => /* @__PURE__ */ e.jsxs(
|
|
2547
2549
|
"button",
|
|
2548
2550
|
{
|
|
@@ -2568,8 +2570,8 @@ function ds({
|
|
|
2568
2570
|
type: "tel",
|
|
2569
2571
|
inputMode: "numeric",
|
|
2570
2572
|
value: d,
|
|
2571
|
-
maxLength:
|
|
2572
|
-
onChange: (h) =>
|
|
2573
|
+
maxLength: C,
|
|
2574
|
+
onChange: (h) => v(h.replace(/\D/g, "").slice(0, C)),
|
|
2573
2575
|
containerClassName: "w-auto flex-1 gap-0",
|
|
2574
2576
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
2575
2577
|
className: "text-[18px]"
|
|
@@ -2591,8 +2593,8 @@ function us({
|
|
|
2591
2593
|
initialValue: u = "",
|
|
2592
2594
|
errorText: f = "Please enter a valid email"
|
|
2593
2595
|
}) {
|
|
2594
|
-
const [x, b] = W(u), [p, d] = W(!1),
|
|
2595
|
-
|
|
2596
|
+
const [x, b] = W(u), [p, d] = W(!1), v = x.trim(), g = Nr.test(v), j = p && v.length > 0 && !g, k = () => {
|
|
2597
|
+
g && c(v);
|
|
2596
2598
|
};
|
|
2597
2599
|
return /* @__PURE__ */ e.jsx(
|
|
2598
2600
|
Le,
|
|
@@ -2607,9 +2609,9 @@ function us({
|
|
|
2607
2609
|
variant: "primary",
|
|
2608
2610
|
size: "xl",
|
|
2609
2611
|
className: "w-full rounded-xl",
|
|
2610
|
-
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2611
|
-
disabled: !
|
|
2612
|
-
onClick:
|
|
2612
|
+
rightIcon: /* @__PURE__ */ e.jsx(Ue, { "aria-hidden": !0 }),
|
|
2613
|
+
disabled: !g,
|
|
2614
|
+
onClick: k,
|
|
2613
2615
|
children: i
|
|
2614
2616
|
}
|
|
2615
2617
|
) }),
|
|
@@ -2657,11 +2659,11 @@ function xs({
|
|
|
2657
2659
|
imageComponent: b,
|
|
2658
2660
|
ratingLabel: p,
|
|
2659
2661
|
bookedLabel: d,
|
|
2660
|
-
title:
|
|
2661
|
-
description:
|
|
2662
|
+
title: v,
|
|
2663
|
+
description: g,
|
|
2662
2664
|
learnMoreLabel: j,
|
|
2663
|
-
onLearnMoreClick:
|
|
2664
|
-
learnMoreHref:
|
|
2665
|
+
onLearnMoreClick: k,
|
|
2666
|
+
learnMoreHref: C,
|
|
2665
2667
|
dateLabel: y,
|
|
2666
2668
|
locationLabel: N,
|
|
2667
2669
|
priceInfoLabel: S,
|
|
@@ -2670,13 +2672,13 @@ function xs({
|
|
|
2670
2672
|
cta: M,
|
|
2671
2673
|
className: B = ""
|
|
2672
2674
|
}) {
|
|
2673
|
-
const [Y, re] = W(!1),
|
|
2675
|
+
const [Y, re] = W(!1), D = s || Y, H = D && (p != null || d != null), K = D && (y != null || N != null);
|
|
2674
2676
|
return /* @__PURE__ */ e.jsxs(
|
|
2675
2677
|
"div",
|
|
2676
2678
|
{
|
|
2677
|
-
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-3 pb-4 ${
|
|
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}`,
|
|
2678
2680
|
children: [
|
|
2679
|
-
/* @__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: [
|
|
2680
2682
|
/* @__PURE__ */ e.jsxs(
|
|
2681
2683
|
"div",
|
|
2682
2684
|
{
|
|
@@ -2722,7 +2724,7 @@ function xs({
|
|
|
2722
2724
|
)
|
|
2723
2725
|
] })
|
|
2724
2726
|
] }),
|
|
2725
|
-
|
|
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" }) }),
|
|
2726
2728
|
H && /* @__PURE__ */ e.jsxs(
|
|
2727
2729
|
"div",
|
|
2728
2730
|
{
|
|
@@ -2735,17 +2737,17 @@ function xs({
|
|
|
2735
2737
|
]
|
|
2736
2738
|
}
|
|
2737
2739
|
),
|
|
2738
|
-
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full flex-col items-start gap-3 ${
|
|
2740
|
+
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full flex-col items-start gap-3 ${D && f != null ? "mt-1" : ""}`, children: [
|
|
2739
2741
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1", children: [
|
|
2740
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children:
|
|
2741
|
-
|
|
2742
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children: v }),
|
|
2743
|
+
D && g != null && /* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-normal leading-4 text-gray-500", children: g })
|
|
2742
2744
|
] }),
|
|
2743
|
-
|
|
2745
|
+
D && j != null && /* @__PURE__ */ e.jsxs(
|
|
2744
2746
|
"a",
|
|
2745
2747
|
{
|
|
2746
|
-
href:
|
|
2748
|
+
href: C,
|
|
2747
2749
|
className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",
|
|
2748
|
-
onClick:
|
|
2750
|
+
onClick: k,
|
|
2749
2751
|
children: [
|
|
2750
2752
|
j,
|
|
2751
2753
|
/* @__PURE__ */ e.jsx($a, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
|
|
@@ -2844,7 +2846,7 @@ function hs({ className: t = "size-5" }) {
|
|
|
2844
2846
|
}
|
|
2845
2847
|
) });
|
|
2846
2848
|
}
|
|
2847
|
-
const
|
|
2849
|
+
const kt = {
|
|
2848
2850
|
en: {
|
|
2849
2851
|
heading: "Check the details to book your puja procedure",
|
|
2850
2852
|
subtext: "These names and gotra will be taken by the priest",
|
|
@@ -2875,8 +2877,8 @@ const wt = {
|
|
|
2875
2877
|
editDetailsLabel: "మార్చండి",
|
|
2876
2878
|
payButtonTemplate: "{amount} చెల్లించండి"
|
|
2877
2879
|
}
|
|
2878
|
-
}, Er = (t) =>
|
|
2879
|
-
function
|
|
2880
|
+
}, Er = (t) => kt[t] ?? kt.en;
|
|
2881
|
+
function Ct({ children: t }) {
|
|
2880
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 });
|
|
2881
2883
|
}
|
|
2882
2884
|
function Sr({
|
|
@@ -2892,9 +2894,9 @@ function Sr({
|
|
|
2892
2894
|
onProceedPayment: b,
|
|
2893
2895
|
className: p
|
|
2894
2896
|
}) {
|
|
2895
|
-
const d = Er(s),
|
|
2897
|
+
const d = Er(s), v = d.payButtonTemplate.replace("{amount}", f);
|
|
2896
2898
|
return /* @__PURE__ */ e.jsx(
|
|
2897
|
-
|
|
2899
|
+
Ve,
|
|
2898
2900
|
{
|
|
2899
2901
|
isOpen: t,
|
|
2900
2902
|
onClose: r,
|
|
@@ -2924,29 +2926,29 @@ function Sr({
|
|
|
2924
2926
|
size: "lg",
|
|
2925
2927
|
className: "h-12 flex-1 rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
2926
2928
|
onClick: b,
|
|
2927
|
-
children:
|
|
2929
|
+
children: v
|
|
2928
2930
|
}
|
|
2929
2931
|
)
|
|
2930
2932
|
] }),
|
|
2931
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: [
|
|
2932
2934
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
2933
2935
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: d.ancestorsLabel }),
|
|
2934
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((
|
|
2935
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
2936
|
-
|
|
2936
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((g) => /* @__PURE__ */ e.jsxs(Ct, { children: [
|
|
2937
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: g.value }),
|
|
2938
|
+
g.label && /* @__PURE__ */ e.jsxs("span", { className: "text-[10px] leading-3.5 font-medium text-[#6b7280]", children: [
|
|
2937
2939
|
"(",
|
|
2938
|
-
|
|
2940
|
+
g.label,
|
|
2939
2941
|
")"
|
|
2940
2942
|
] })
|
|
2941
|
-
] },
|
|
2943
|
+
] }, g.id)) })
|
|
2942
2944
|
] }),
|
|
2943
2945
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
2944
2946
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
2945
2947
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: d.performerLabel }),
|
|
2946
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.map((
|
|
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: [
|
|
2947
2949
|
j + 1,
|
|
2948
2950
|
". ",
|
|
2949
|
-
|
|
2951
|
+
g
|
|
2950
2952
|
] }) }, j)) })
|
|
2951
2953
|
] }),
|
|
2952
2954
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
@@ -2964,7 +2966,7 @@ function Sr({
|
|
|
2964
2966
|
}
|
|
2965
2967
|
);
|
|
2966
2968
|
}
|
|
2967
|
-
const
|
|
2969
|
+
const _t = {
|
|
2968
2970
|
en: {
|
|
2969
2971
|
heading: "I do not know my Lineage(Gotra), what should I do?",
|
|
2970
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.",
|
|
@@ -2983,11 +2985,11 @@ const Ct = {
|
|
|
2983
2985
|
okayLabel: "సరే",
|
|
2984
2986
|
closeButtonAriaLabel: "మూసివేయండి"
|
|
2985
2987
|
}
|
|
2986
|
-
}, Ht = (t) =>
|
|
2988
|
+
}, Ht = (t) => _t[t] ?? _t.en;
|
|
2987
2989
|
function Tr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
2988
2990
|
const i = Ht(s);
|
|
2989
2991
|
return /* @__PURE__ */ e.jsx(
|
|
2990
|
-
|
|
2992
|
+
Ve,
|
|
2991
2993
|
{
|
|
2992
2994
|
isOpen: t,
|
|
2993
2995
|
onClose: r,
|
|
@@ -3022,7 +3024,7 @@ function Tr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
|
3022
3024
|
}
|
|
3023
3025
|
);
|
|
3024
3026
|
}
|
|
3025
|
-
const
|
|
3027
|
+
const Lt = {
|
|
3026
3028
|
en: {
|
|
3027
3029
|
topBarTitle: "Fill in necessary details for Puja",
|
|
3028
3030
|
backButtonAriaLabel: "Go back",
|
|
@@ -3104,7 +3106,7 @@ const _t = {
|
|
|
3104
3106
|
proceedCtaLabel: "వివరాలు నమోదు చేయండి",
|
|
3105
3107
|
kashyapGotraLabel: "కశ్యప"
|
|
3106
3108
|
}
|
|
3107
|
-
}, Rr = (t) =>
|
|
3109
|
+
}, Rr = (t) => Lt[t] ?? Lt.en, Pt = {
|
|
3108
3110
|
en: ["1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", "10th"],
|
|
3109
3111
|
hi: ["पहले", "दूसरे", "तीसरे", "चौथे", "पांचवें", "छठे", "सातवें", "आठवें", "नौवें", "दसवें"],
|
|
3110
3112
|
te: ["1వ", "2వ", "3వ", "4వ", "5వ", "6వ", "7వ", "8వ", "9వ", "10వ"]
|
|
@@ -3113,9 +3115,9 @@ const _t = {
|
|
|
3113
3115
|
hi: "वें",
|
|
3114
3116
|
te: "వ"
|
|
3115
3117
|
}, zr = (t, r) => {
|
|
3116
|
-
const s = r in
|
|
3117
|
-
return
|
|
3118
|
-
},
|
|
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@]+$/;
|
|
3119
3121
|
function ms({
|
|
3120
3122
|
locale: t = "en",
|
|
3121
3123
|
values: r,
|
|
@@ -3129,36 +3131,36 @@ function ms({
|
|
|
3129
3131
|
onPriceInfoClick: b,
|
|
3130
3132
|
showPriceInfoIcon: p = !0,
|
|
3131
3133
|
canProceed: d,
|
|
3132
|
-
proceedCtaLabel:
|
|
3133
|
-
proceedButtonProps:
|
|
3134
|
+
proceedCtaLabel: v,
|
|
3135
|
+
proceedButtonProps: g,
|
|
3134
3136
|
onProceedPayment: j,
|
|
3135
|
-
className:
|
|
3137
|
+
className: k
|
|
3136
3138
|
}) {
|
|
3137
|
-
const [
|
|
3138
|
-
const
|
|
3139
|
-
return _ === 0 ? `*${
|
|
3140
|
-
}, B = (_) => s({ ...r, ..._ }), Y = (_,
|
|
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) => {
|
|
3141
3143
|
const Q = [...r.kartaNames];
|
|
3142
|
-
Q[_] =
|
|
3143
|
-
}, re = (_,
|
|
3144
|
-
B({ ancestors: r.ancestors.map((Q) => Q.id === _ ? { ...Q, value:
|
|
3145
|
-
}, [
|
|
3146
|
-
|
|
3147
|
-
if (!
|
|
3148
|
-
const _ = (
|
|
3149
|
-
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);
|
|
3150
3152
|
};
|
|
3151
3153
|
return document.addEventListener("mousedown", _), () => document.removeEventListener("mousedown", _);
|
|
3152
|
-
}, [
|
|
3154
|
+
}, [D]);
|
|
3153
3155
|
const $ = i.filter(
|
|
3154
3156
|
(_) => _.toLowerCase().includes(r.gotra.trim().toLowerCase())
|
|
3155
3157
|
), U = (_) => {
|
|
3156
3158
|
B({ gotra: _ }), H(!1);
|
|
3157
3159
|
}, ae = () => {
|
|
3158
3160
|
const _ = !r.isGotraUnknown;
|
|
3159
|
-
B({ isGotraUnknown: _, gotra: _ ? h.kashyapGotraLabel :
|
|
3160
|
-
}, Z = Me(
|
|
3161
|
-
return /* @__PURE__ */ e.jsxs("div", { className: o("flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]",
|
|
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: [
|
|
3162
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: [
|
|
3163
3165
|
/* @__PURE__ */ e.jsx(
|
|
3164
3166
|
"button",
|
|
@@ -3167,7 +3169,7 @@ function ms({
|
|
|
3167
3169
|
onClick: u,
|
|
3168
3170
|
"aria-label": h.backButtonAriaLabel,
|
|
3169
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)]",
|
|
3170
|
-
children: /* @__PURE__ */ e.jsx(
|
|
3172
|
+
children: /* @__PURE__ */ e.jsx(Ge, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
3171
3173
|
}
|
|
3172
3174
|
),
|
|
3173
3175
|
/* @__PURE__ */ e.jsx("p", { className: "text-[18px] leading-5 font-bold text-[#1d2125]", children: h.topBarTitle })
|
|
@@ -3191,7 +3193,7 @@ function ms({
|
|
|
3191
3193
|
) : /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
3192
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: [
|
|
3193
3195
|
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: $e("IN") }),
|
|
3194
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children:
|
|
3196
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: De })
|
|
3195
3197
|
] }),
|
|
3196
3198
|
/* @__PURE__ */ e.jsx(
|
|
3197
3199
|
le,
|
|
@@ -3213,18 +3215,18 @@ function ms({
|
|
|
3213
3215
|
] }),
|
|
3214
3216
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
3215
3217
|
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: h.kartaNameSectionTitle }),
|
|
3216
|
-
/* @__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(
|
|
3217
3219
|
le,
|
|
3218
3220
|
{
|
|
3219
|
-
label: M(
|
|
3221
|
+
label: M(I),
|
|
3220
3222
|
placeholder: h.kartaNamePlaceholder,
|
|
3221
3223
|
value: _,
|
|
3222
|
-
maxLength:
|
|
3224
|
+
maxLength: Ie,
|
|
3223
3225
|
showCharCount: !0,
|
|
3224
|
-
wrapperClassName: o("h-12 rounded-xl",
|
|
3225
|
-
onChange: (Q) => Y(
|
|
3226
|
+
wrapperClassName: o("h-12 rounded-xl", I === 0 && "bg-[#f3f4f6]"),
|
|
3227
|
+
onChange: (Q) => Y(I, Q)
|
|
3226
3228
|
},
|
|
3227
|
-
|
|
3229
|
+
I
|
|
3228
3230
|
)) })
|
|
3229
3231
|
] }),
|
|
3230
3232
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
@@ -3237,7 +3239,7 @@ function ms({
|
|
|
3237
3239
|
id: "karta-gotra",
|
|
3238
3240
|
value: r.gotra,
|
|
3239
3241
|
placeholder: h.gotraFieldPlaceholder,
|
|
3240
|
-
maxLength:
|
|
3242
|
+
maxLength: Ie,
|
|
3241
3243
|
autoComplete: "off",
|
|
3242
3244
|
onFocus: () => H(!0),
|
|
3243
3245
|
onChange: (_) => {
|
|
@@ -3257,7 +3259,7 @@ function ms({
|
|
|
3257
3259
|
}
|
|
3258
3260
|
)
|
|
3259
3261
|
] }),
|
|
3260
|
-
|
|
3262
|
+
D && $.length > 0 && /* @__PURE__ */ e.jsx(
|
|
3261
3263
|
"div",
|
|
3262
3264
|
{
|
|
3263
3265
|
role: "listbox",
|
|
@@ -3289,7 +3291,7 @@ function ms({
|
|
|
3289
3291
|
"aria-pressed": r.isGotraUnknown,
|
|
3290
3292
|
className: "flex items-center gap-1 border-0 bg-transparent p-0",
|
|
3291
3293
|
children: [
|
|
3292
|
-
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 }),
|
|
3293
3295
|
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: h.gotraUnknownCheckboxLabel })
|
|
3294
3296
|
]
|
|
3295
3297
|
}
|
|
@@ -3317,10 +3319,10 @@ function ms({
|
|
|
3317
3319
|
value: _.value,
|
|
3318
3320
|
prefix: h.latePrefixLabel,
|
|
3319
3321
|
placeholder: h.kartaNamePlaceholder,
|
|
3320
|
-
maxLength:
|
|
3322
|
+
maxLength: Ie,
|
|
3321
3323
|
showCharCount: !0,
|
|
3322
3324
|
wrapperClassName: "h-12 rounded-xl",
|
|
3323
|
-
onChange: (
|
|
3325
|
+
onChange: (I) => re(_.id, I)
|
|
3324
3326
|
},
|
|
3325
3327
|
_.id
|
|
3326
3328
|
))
|
|
@@ -3328,21 +3330,21 @@ function ms({
|
|
|
3328
3330
|
] })
|
|
3329
3331
|
] }) }),
|
|
3330
3332
|
/* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0 w-full", children: /* @__PURE__ */ e.jsx(
|
|
3331
|
-
|
|
3333
|
+
qe,
|
|
3332
3334
|
{
|
|
3333
3335
|
amount: f,
|
|
3334
3336
|
subtitle: x,
|
|
3335
3337
|
onInfoClick: b,
|
|
3336
3338
|
showInfoIcon: p,
|
|
3337
|
-
proceedLabel:
|
|
3339
|
+
proceedLabel: v ?? h.proceedCtaLabel,
|
|
3338
3340
|
onProceed: () => y(!0),
|
|
3339
|
-
proceedButtonProps: { disabled: !me, ...
|
|
3341
|
+
proceedButtonProps: { disabled: !me, ...g }
|
|
3340
3342
|
}
|
|
3341
3343
|
) }),
|
|
3342
3344
|
/* @__PURE__ */ e.jsx(
|
|
3343
3345
|
Sr,
|
|
3344
3346
|
{
|
|
3345
|
-
isOpen:
|
|
3347
|
+
isOpen: C,
|
|
3346
3348
|
onClose: () => y(!1),
|
|
3347
3349
|
onEditDetailsClick: () => y(!1),
|
|
3348
3350
|
locale: t,
|
|
@@ -3369,12 +3371,12 @@ function bs(t = 3, r = []) {
|
|
|
3369
3371
|
ancestors: r
|
|
3370
3372
|
};
|
|
3371
3373
|
}
|
|
3372
|
-
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";
|
|
3373
3375
|
function $r({ variant: t }) {
|
|
3374
3376
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
3375
3377
|
t === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3376
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3377
|
-
/* @__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]" }),
|
|
3378
3380
|
/* @__PURE__ */ e.jsx("img", { src: Fr, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
|
|
3379
3381
|
] }),
|
|
3380
3382
|
t === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
|
|
@@ -3382,13 +3384,13 @@ function $r({ variant: t }) {
|
|
|
3382
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" }) })
|
|
3383
3385
|
] }),
|
|
3384
3386
|
t === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
|
|
3385
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3386
|
-
/* @__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" }) }),
|
|
3387
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" }) })
|
|
3388
3390
|
] })
|
|
3389
3391
|
] });
|
|
3390
3392
|
}
|
|
3391
|
-
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";
|
|
3392
3394
|
function gs({
|
|
3393
3395
|
badgeLabel: t,
|
|
3394
3396
|
headingPrefix: r,
|
|
@@ -3403,7 +3405,7 @@ function gs({
|
|
|
3403
3405
|
/* @__PURE__ */ e.jsx(
|
|
3404
3406
|
"img",
|
|
3405
3407
|
{
|
|
3406
|
-
src:
|
|
3408
|
+
src: St,
|
|
3407
3409
|
alt: "",
|
|
3408
3410
|
"aria-hidden": !0,
|
|
3409
3411
|
className: "pointer-events-none absolute inset-0 size-full",
|
|
@@ -3416,7 +3418,7 @@ function gs({
|
|
|
3416
3418
|
/* @__PURE__ */ e.jsx(
|
|
3417
3419
|
"img",
|
|
3418
3420
|
{
|
|
3419
|
-
src:
|
|
3421
|
+
src: St,
|
|
3420
3422
|
alt: "",
|
|
3421
3423
|
"aria-hidden": !0,
|
|
3422
3424
|
className: "pointer-events-none absolute inset-0 size-full blur-sm",
|
|
@@ -3451,7 +3453,7 @@ function gs({
|
|
|
3451
3453
|
function Vr(t) {
|
|
3452
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);
|
|
3453
3455
|
}
|
|
3454
|
-
const
|
|
3456
|
+
const Tt = {
|
|
3455
3457
|
en: {
|
|
3456
3458
|
title: "Who is this puja for?",
|
|
3457
3459
|
subtitle: "Your ancestors",
|
|
@@ -3464,7 +3466,7 @@ const St = {
|
|
|
3464
3466
|
value: "सर्वपितृ के लिए",
|
|
3465
3467
|
helperText: "यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"
|
|
3466
3468
|
}
|
|
3467
|
-
}, Hr = (t) =>
|
|
3469
|
+
}, Hr = (t) => Tt[t] ?? Tt.en, Ur = L.forwardRef(
|
|
3468
3470
|
({
|
|
3469
3471
|
locale: t = "en",
|
|
3470
3472
|
title: r,
|
|
@@ -3478,7 +3480,7 @@ const St = {
|
|
|
3478
3480
|
helperTextClassName: b,
|
|
3479
3481
|
...p
|
|
3480
3482
|
}, d) => {
|
|
3481
|
-
const
|
|
3483
|
+
const v = Hr(t);
|
|
3482
3484
|
return /* @__PURE__ */ e.jsxs(
|
|
3483
3485
|
"div",
|
|
3484
3486
|
{
|
|
@@ -3489,8 +3491,8 @@ const St = {
|
|
|
3489
3491
|
/* @__PURE__ */ e.jsxs("div", { className: o("flex items-center gap-3", f), children: [
|
|
3490
3492
|
/* @__PURE__ */ e.jsx(Pe, { icon: c ?? /* @__PURE__ */ e.jsx(Vr, { size: 22, "aria-hidden": !0 }), size: "lg" }),
|
|
3491
3493
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
3492
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: r ??
|
|
3493
|
-
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ??
|
|
3494
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: r ?? v.title }),
|
|
3495
|
+
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ?? v.subtitle })
|
|
3494
3496
|
] })
|
|
3495
3497
|
] }),
|
|
3496
3498
|
/* @__PURE__ */ e.jsx(
|
|
@@ -3500,10 +3502,10 @@ const St = {
|
|
|
3500
3502
|
"mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",
|
|
3501
3503
|
x
|
|
3502
3504
|
),
|
|
3503
|
-
children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ??
|
|
3505
|
+
children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ?? v.value })
|
|
3504
3506
|
}
|
|
3505
3507
|
),
|
|
3506
|
-
/* @__PURE__ */ e.jsx("p", { className: o("mt-3 text-sm leading-4.5 text-gray-500", b), children: i ??
|
|
3508
|
+
/* @__PURE__ */ e.jsx("p", { className: o("mt-3 text-sm leading-4.5 text-gray-500", b), children: i ?? v.helperText })
|
|
3507
3509
|
]
|
|
3508
3510
|
}
|
|
3509
3511
|
);
|
|
@@ -3512,43 +3514,43 @@ const St = {
|
|
|
3512
3514
|
Ur.displayName = "SarvaPitruCard";
|
|
3513
3515
|
export {
|
|
3514
3516
|
es as AudioQuestionCard,
|
|
3515
|
-
|
|
3517
|
+
Nt as BOOKING_SUMMARY_BANNER_DEFAULT_COPY,
|
|
3516
3518
|
yr as BillDetails,
|
|
3517
3519
|
vr as BookingSummaryBanner,
|
|
3518
3520
|
q as Button,
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
+
jt as CHECKOUT_BAR_DEFAULT_COPY,
|
|
3522
|
+
kt as CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY,
|
|
3521
3523
|
ns as CartReviewAddedBadge,
|
|
3522
3524
|
ss as CartReviewChangeButton,
|
|
3523
3525
|
Mt as CartReviewItem,
|
|
3524
3526
|
er as CartReviewMandapItem,
|
|
3525
3527
|
is as CartView,
|
|
3526
3528
|
hs as CheckIcon,
|
|
3527
|
-
|
|
3529
|
+
qe as CheckoutBar,
|
|
3528
3530
|
qa as Chip,
|
|
3529
|
-
|
|
3531
|
+
Ve as ConfinedBottomSheet,
|
|
3530
3532
|
Sr as ConfirmPujaDetailsModal,
|
|
3531
3533
|
cs as DatePickerSheet,
|
|
3532
3534
|
us as EmailSheet,
|
|
3533
3535
|
Jr as FAQAccordion,
|
|
3534
3536
|
Ha as FAQSection,
|
|
3535
|
-
|
|
3537
|
+
_t as GOTRA_INFO_MODAL_DEFAULT_COPY,
|
|
3536
3538
|
Tr as GotraInfoModal,
|
|
3537
3539
|
Pe as IconBadge,
|
|
3538
3540
|
xs as L2Card,
|
|
3539
|
-
|
|
3541
|
+
It as LanguageSwitcher,
|
|
3540
3542
|
fs as OutcomeButton,
|
|
3541
3543
|
gs as OutcomeSummary,
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
+
yt as PACKAGE_SELECT_DEFAULT_COPY,
|
|
3545
|
+
Lt as PUJA_DETAILS_FORM_DEFAULT_COPY,
|
|
3544
3546
|
ls as PackageSelect,
|
|
3545
3547
|
ds as PhoneNumberSheet,
|
|
3546
3548
|
ps as PlusIcon,
|
|
3547
3549
|
ms as PujaDetailsForm,
|
|
3548
3550
|
rs as QuantityStepper,
|
|
3549
|
-
|
|
3551
|
+
Tt as SARVA_PITRU_CARD_DEFAULT_COPY,
|
|
3550
3552
|
Ur as SarvaPitruCard,
|
|
3551
|
-
|
|
3553
|
+
Dt as SelectorCard,
|
|
3552
3554
|
ts as SelectorCardEditableField,
|
|
3553
3555
|
as as SelectorCardInfoRow,
|
|
3554
3556
|
Qa as SelectorCardNote,
|