@srimandir/pitru-paksh-common 3.1.4 → 3.1.6
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 +387 -382
- package/dist/pitru-paksh-common.umd.cjs +5 -5
- package/dist/style.css +1 -1
- package/package.json +4 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { createI18n as Ga, cn as m, BottomSheet as
|
|
2
|
-
import { cn as
|
|
1
|
+
import { createI18n as Ga, cn as m, BottomSheet as ze, DEFAULT_COUNTRIES as Ua, getMaxLengthForCountry as sa, validatePhoneByCountryCode as ra, getFlagEmoji as Ka } from "@srimandir/common";
|
|
2
|
+
import { cn as Gl } from "@srimandir/common";
|
|
3
3
|
import * as Za from "react";
|
|
4
4
|
import k, { useState as V, useRef as Ze, useMemo as $e, useEffect as We, forwardRef as Ya, Fragment as qa } from "react";
|
|
5
5
|
import { cva as Xa } from "class-variance-authority";
|
|
6
6
|
import Qa from "react-player";
|
|
7
|
-
const
|
|
7
|
+
const Kn = ["en", "hi", "kn", "te"], Ja = {
|
|
8
8
|
landingOnlinePujaTitle: "Is online puja equally powerful as in-person puja?",
|
|
9
9
|
landingOnlinePujaBodyPrefix: "According to the ",
|
|
10
10
|
landingOnlinePujaBodyPart1: "Skanda Purana",
|
|
@@ -257,7 +257,7 @@ const Un = ["en", "hi", "kn", "te"], Ja = {
|
|
|
257
257
|
hi: es,
|
|
258
258
|
kn: ts,
|
|
259
259
|
te: as
|
|
260
|
-
}, na = Ga(rt),
|
|
260
|
+
}, na = Ga(rt), Zn = na.I18nProvider;
|
|
261
261
|
function ke() {
|
|
262
262
|
return na.useI18n();
|
|
263
263
|
}
|
|
@@ -298,18 +298,18 @@ function rs() {
|
|
|
298
298
|
}
|
|
299
299
|
function _(s, h, N) {
|
|
300
300
|
{
|
|
301
|
-
var S = j.ReactDebugCurrentFrame,
|
|
302
|
-
|
|
301
|
+
var S = j.ReactDebugCurrentFrame, z = S.getStackAddendum();
|
|
302
|
+
z !== "" && (h += "%s", N = N.concat([z]));
|
|
303
303
|
var H = N.map(function(A) {
|
|
304
304
|
return String(A);
|
|
305
305
|
});
|
|
306
306
|
H.unshift("Warning: " + h), Function.prototype.apply.call(console[s], console, H);
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
-
var M = !1, G = !1,
|
|
309
|
+
var M = !1, G = !1, I = !1, B = !1, D = !1, W;
|
|
310
310
|
W = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
311
311
|
function $(s) {
|
|
312
|
-
return !!(typeof s == "string" || typeof s == "function" || s === n || s === i || D || s === l || s === g || s === x ||
|
|
312
|
+
return !!(typeof s == "string" || typeof s == "function" || s === n || s === i || D || s === l || s === g || s === x || B || s === b || M || G || I || typeof s == "object" && s !== null && (s.$$typeof === f || s.$$typeof === d || s.$$typeof === u || s.$$typeof === o || s.$$typeof === c || // This needs to include all possible module reference object
|
|
313
313
|
// types supported by any Flight configuration anywhere since
|
|
314
314
|
// we don't know which Flight build this will end up being used
|
|
315
315
|
// with.
|
|
@@ -319,8 +319,8 @@ function rs() {
|
|
|
319
319
|
var S = s.displayName;
|
|
320
320
|
if (S)
|
|
321
321
|
return S;
|
|
322
|
-
var
|
|
323
|
-
return
|
|
322
|
+
var z = h.displayName || h.name || "";
|
|
323
|
+
return z !== "" ? N + "(" + z + ")" : N;
|
|
324
324
|
}
|
|
325
325
|
function L(s) {
|
|
326
326
|
return s.displayName || "Context";
|
|
@@ -360,7 +360,7 @@ function rs() {
|
|
|
360
360
|
var S = s.displayName || null;
|
|
361
361
|
return S !== null ? S : F(s.type) || "Memo";
|
|
362
362
|
case f: {
|
|
363
|
-
var
|
|
363
|
+
var z = s, H = z._payload, A = z._init;
|
|
364
364
|
try {
|
|
365
365
|
return F(A(H));
|
|
366
366
|
} catch {
|
|
@@ -370,14 +370,14 @@ function rs() {
|
|
|
370
370
|
}
|
|
371
371
|
return null;
|
|
372
372
|
}
|
|
373
|
-
var
|
|
373
|
+
var J = Object.assign, U = 0, ee, K, ne, le, T, O, oe;
|
|
374
374
|
function de() {
|
|
375
375
|
}
|
|
376
376
|
de.__reactDisabledLog = !0;
|
|
377
377
|
function ce() {
|
|
378
378
|
{
|
|
379
379
|
if (U === 0) {
|
|
380
|
-
ee = console.log,
|
|
380
|
+
ee = console.log, K = console.info, ne = console.warn, le = console.error, T = console.group, O = console.groupCollapsed, oe = console.groupEnd;
|
|
381
381
|
var s = {
|
|
382
382
|
configurable: !0,
|
|
383
383
|
enumerable: !0,
|
|
@@ -406,25 +406,25 @@ function rs() {
|
|
|
406
406
|
writable: !0
|
|
407
407
|
};
|
|
408
408
|
Object.defineProperties(console, {
|
|
409
|
-
log:
|
|
409
|
+
log: J({}, s, {
|
|
410
410
|
value: ee
|
|
411
411
|
}),
|
|
412
|
-
info:
|
|
413
|
-
value:
|
|
412
|
+
info: J({}, s, {
|
|
413
|
+
value: K
|
|
414
414
|
}),
|
|
415
|
-
warn:
|
|
415
|
+
warn: J({}, s, {
|
|
416
416
|
value: ne
|
|
417
417
|
}),
|
|
418
|
-
error:
|
|
418
|
+
error: J({}, s, {
|
|
419
419
|
value: le
|
|
420
420
|
}),
|
|
421
|
-
group:
|
|
421
|
+
group: J({}, s, {
|
|
422
422
|
value: T
|
|
423
423
|
}),
|
|
424
|
-
groupCollapsed:
|
|
424
|
+
groupCollapsed: J({}, s, {
|
|
425
425
|
value: O
|
|
426
426
|
}),
|
|
427
|
-
groupEnd:
|
|
427
|
+
groupEnd: J({}, s, {
|
|
428
428
|
value: oe
|
|
429
429
|
})
|
|
430
430
|
});
|
|
@@ -438,8 +438,8 @@ function rs() {
|
|
|
438
438
|
if (ge === void 0)
|
|
439
439
|
try {
|
|
440
440
|
throw Error();
|
|
441
|
-
} catch (
|
|
442
|
-
var S =
|
|
441
|
+
} catch (z) {
|
|
442
|
+
var S = z.stack.trim().match(/\n( *(at )?)/);
|
|
443
443
|
ge = S && S[1] || "";
|
|
444
444
|
}
|
|
445
445
|
return `
|
|
@@ -448,8 +448,8 @@ function rs() {
|
|
|
448
448
|
}
|
|
449
449
|
var Se = !1, fe;
|
|
450
450
|
{
|
|
451
|
-
var
|
|
452
|
-
fe = new
|
|
451
|
+
var Ie = typeof WeakMap == "function" ? WeakMap : Map;
|
|
452
|
+
fe = new Ie();
|
|
453
453
|
}
|
|
454
454
|
function Te(s, h) {
|
|
455
455
|
if (!s || Se)
|
|
@@ -461,7 +461,7 @@ function rs() {
|
|
|
461
461
|
}
|
|
462
462
|
var S;
|
|
463
463
|
Se = !0;
|
|
464
|
-
var
|
|
464
|
+
var z = Error.prepareStackTrace;
|
|
465
465
|
Error.prepareStackTrace = void 0;
|
|
466
466
|
var H;
|
|
467
467
|
H = be.current, be.current = null, ce();
|
|
@@ -501,23 +501,23 @@ function rs() {
|
|
|
501
501
|
if (se && S && typeof se.stack == "string") {
|
|
502
502
|
for (var R = se.stack.split(`
|
|
503
503
|
`), te = S.stack.split(`
|
|
504
|
-
`),
|
|
504
|
+
`), Z = R.length - 1, Y = te.length - 1; Z >= 1 && Y >= 0 && R[Z] !== te[Y]; )
|
|
505
505
|
Y--;
|
|
506
|
-
for (;
|
|
507
|
-
if (R[
|
|
508
|
-
if (
|
|
506
|
+
for (; Z >= 1 && Y >= 0; Z--, Y--)
|
|
507
|
+
if (R[Z] !== te[Y]) {
|
|
508
|
+
if (Z !== 1 || Y !== 1)
|
|
509
509
|
do
|
|
510
|
-
if (
|
|
510
|
+
if (Z--, Y--, Y < 0 || R[Z] !== te[Y]) {
|
|
511
511
|
var ie = `
|
|
512
|
-
` + R[
|
|
512
|
+
` + R[Z].replace(" at new ", " at ");
|
|
513
513
|
return s.displayName && ie.includes("<anonymous>") && (ie = ie.replace("<anonymous>", s.displayName)), typeof s == "function" && fe.set(s, ie), ie;
|
|
514
514
|
}
|
|
515
|
-
while (
|
|
515
|
+
while (Z >= 1 && Y >= 0);
|
|
516
516
|
break;
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
} finally {
|
|
520
|
-
Se = !1, be.current = H, xe(), Error.prepareStackTrace =
|
|
520
|
+
Se = !1, be.current = H, xe(), Error.prepareStackTrace = z;
|
|
521
521
|
}
|
|
522
522
|
var we = s ? s.displayName || s.name : "", pe = we ? je(we) : "";
|
|
523
523
|
return typeof s == "function" && fe.set(s, pe), pe;
|
|
@@ -549,16 +549,16 @@ function rs() {
|
|
|
549
549
|
case d:
|
|
550
550
|
return ve(s.type, h, N);
|
|
551
551
|
case f: {
|
|
552
|
-
var S = s,
|
|
552
|
+
var S = s, z = S._payload, H = S._init;
|
|
553
553
|
try {
|
|
554
|
-
return ve(H(
|
|
554
|
+
return ve(H(z), h, N);
|
|
555
555
|
} catch {
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
return "";
|
|
560
560
|
}
|
|
561
|
-
var me = Object.prototype.hasOwnProperty,
|
|
561
|
+
var me = Object.prototype.hasOwnProperty, Be = {}, De = j.ReactDebugCurrentFrame;
|
|
562
562
|
function ye(s) {
|
|
563
563
|
if (s) {
|
|
564
564
|
var h = s._owner, N = ve(s.type, s._source, h ? h.type : null);
|
|
@@ -566,7 +566,7 @@ function rs() {
|
|
|
566
566
|
} else
|
|
567
567
|
De.setExtraStackFrame(null);
|
|
568
568
|
}
|
|
569
|
-
function w(s, h, N, S,
|
|
569
|
+
function w(s, h, N, S, z) {
|
|
570
570
|
{
|
|
571
571
|
var H = Function.call.bind(me);
|
|
572
572
|
for (var A in s)
|
|
@@ -578,10 +578,10 @@ function rs() {
|
|
|
578
578
|
throw te.name = "Invariant Violation", te;
|
|
579
579
|
}
|
|
580
580
|
R = s[A](h, A, S, N, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
581
|
-
} catch (
|
|
582
|
-
R =
|
|
581
|
+
} catch (Z) {
|
|
582
|
+
R = Z;
|
|
583
583
|
}
|
|
584
|
-
R && !(R instanceof Error) && (ye(
|
|
584
|
+
R && !(R instanceof Error) && (ye(z), v("%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).", S || "React class", N, A, typeof R), ye(null)), R instanceof Error && !(R.message in Be) && (Be[R.message] = !0, ye(z), v("Failed %s type: %s", N, R.message), ye(null));
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
}
|
|
@@ -656,7 +656,7 @@ function rs() {
|
|
|
656
656
|
});
|
|
657
657
|
}
|
|
658
658
|
}
|
|
659
|
-
var Aa = function(s, h, N, S,
|
|
659
|
+
var Aa = function(s, h, N, S, z, H, A) {
|
|
660
660
|
var R = {
|
|
661
661
|
// This tag allows us to uniquely identify this as a React Element
|
|
662
662
|
$$typeof: a,
|
|
@@ -682,25 +682,25 @@ function rs() {
|
|
|
682
682
|
configurable: !1,
|
|
683
683
|
enumerable: !1,
|
|
684
684
|
writable: !1,
|
|
685
|
-
value:
|
|
685
|
+
value: z
|
|
686
686
|
}), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
|
|
687
687
|
};
|
|
688
|
-
function Oa(s, h, N, S,
|
|
688
|
+
function Oa(s, h, N, S, z) {
|
|
689
689
|
{
|
|
690
690
|
var H, A = {}, R = null, te = null;
|
|
691
|
-
N !== void 0 && (ut(N), R = "" + N), Sa(h) && (ut(h.key), R = "" + h.key), Pa(h) && (te = h.ref, Ta(h,
|
|
691
|
+
N !== void 0 && (ut(N), R = "" + N), Sa(h) && (ut(h.key), R = "" + h.key), Pa(h) && (te = h.ref, Ta(h, z));
|
|
692
692
|
for (H in h)
|
|
693
693
|
me.call(h, H) && !_a.hasOwnProperty(H) && (A[H] = h[H]);
|
|
694
694
|
if (s && s.defaultProps) {
|
|
695
|
-
var
|
|
696
|
-
for (H in
|
|
697
|
-
A[H] === void 0 && (A[H] =
|
|
695
|
+
var Z = s.defaultProps;
|
|
696
|
+
for (H in Z)
|
|
697
|
+
A[H] === void 0 && (A[H] = Z[H]);
|
|
698
698
|
}
|
|
699
699
|
if (R || te) {
|
|
700
700
|
var Y = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
701
701
|
R && Ra(A, Y), te && Ea(A, Y);
|
|
702
702
|
}
|
|
703
|
-
return Aa(s, R, te,
|
|
703
|
+
return Aa(s, R, te, z, S, xt.current, A);
|
|
704
704
|
}
|
|
705
705
|
}
|
|
706
706
|
var Xe = j.ReactCurrentOwner, pt = j.ReactDebugCurrentFrame;
|
|
@@ -732,7 +732,7 @@ Check the render method of \`` + s + "`.";
|
|
|
732
732
|
return "";
|
|
733
733
|
}
|
|
734
734
|
var bt = {};
|
|
735
|
-
function
|
|
735
|
+
function za(s) {
|
|
736
736
|
{
|
|
737
737
|
var h = ht();
|
|
738
738
|
if (!h) {
|
|
@@ -749,7 +749,7 @@ Check the top-level render call using <` + N + ">.");
|
|
|
749
749
|
if (!s._store || s._store.validated || s.key != null)
|
|
750
750
|
return;
|
|
751
751
|
s._store.validated = !0;
|
|
752
|
-
var N =
|
|
752
|
+
var N = za(h);
|
|
753
753
|
if (bt[N])
|
|
754
754
|
return;
|
|
755
755
|
bt[N] = !0;
|
|
@@ -769,14 +769,14 @@ Check the top-level render call using <` + N + ">.");
|
|
|
769
769
|
else if (Je(s))
|
|
770
770
|
s._store && (s._store.validated = !0);
|
|
771
771
|
else if (s) {
|
|
772
|
-
var
|
|
773
|
-
if (typeof
|
|
774
|
-
for (var H =
|
|
772
|
+
var z = y(s);
|
|
773
|
+
if (typeof z == "function" && z !== s.entries)
|
|
774
|
+
for (var H = z.call(s), A; !(A = H.next()).done; )
|
|
775
775
|
Je(A.value) && gt(A.value, h);
|
|
776
776
|
}
|
|
777
777
|
}
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function Ia(s) {
|
|
780
780
|
{
|
|
781
781
|
var h = s.type;
|
|
782
782
|
if (h == null || typeof h == "string")
|
|
@@ -795,13 +795,13 @@ Check the top-level render call using <` + N + ">.");
|
|
|
795
795
|
w(N, s.props, "prop", S, s);
|
|
796
796
|
} else if (h.PropTypes !== void 0 && !Qe) {
|
|
797
797
|
Qe = !0;
|
|
798
|
-
var
|
|
799
|
-
v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
798
|
+
var z = F(h);
|
|
799
|
+
v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", z || "Unknown");
|
|
800
800
|
}
|
|
801
801
|
typeof h.getDefaultProps == "function" && !h.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
802
802
|
}
|
|
803
803
|
}
|
|
804
|
-
function
|
|
804
|
+
function Ba(s) {
|
|
805
805
|
{
|
|
806
806
|
for (var h = Object.keys(s.props), N = 0; N < h.length; N++) {
|
|
807
807
|
var S = h[N];
|
|
@@ -814,7 +814,7 @@ Check the top-level render call using <` + N + ">.");
|
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
816
|
var vt = {};
|
|
817
|
-
function yt(s, h, N, S,
|
|
817
|
+
function yt(s, h, N, S, z, H) {
|
|
818
818
|
{
|
|
819
819
|
var A = $(s);
|
|
820
820
|
if (!A) {
|
|
@@ -822,10 +822,10 @@ Check the top-level render call using <` + N + ">.");
|
|
|
822
822
|
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
823
823
|
var te = Ma();
|
|
824
824
|
te ? R += te : R += ht();
|
|
825
|
-
var
|
|
826
|
-
s === null ?
|
|
825
|
+
var Z;
|
|
826
|
+
s === null ? Z = "null" : ae(s) ? Z = "array" : s !== void 0 && s.$$typeof === a ? (Z = "<" + (F(s.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : Z = typeof s, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Z, R);
|
|
827
827
|
}
|
|
828
|
-
var Y = Oa(s, h, N,
|
|
828
|
+
var Y = Oa(s, h, N, z, H);
|
|
829
829
|
if (Y == null)
|
|
830
830
|
return Y;
|
|
831
831
|
if (A) {
|
|
@@ -855,7 +855,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
855
855
|
<%s key={someKey} {...props} />`, et, pe, $a, pe), vt[pe + et] = !0;
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
|
-
return s === n ?
|
|
858
|
+
return s === n ? Ba(Y) : Ia(Y), Y;
|
|
859
859
|
}
|
|
860
860
|
}
|
|
861
861
|
function Da(s, h, N) {
|
|
@@ -991,7 +991,7 @@ function hs(t) {
|
|
|
991
991
|
function bs(t) {
|
|
992
992
|
return E({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48m80 224h-64v64a16 16 0 0 1-32 0v-64h-64a16 16 0 0 1 0-32h64v-64a16 16 0 0 1 32 0v64h64a16 16 0 0 1 0 32" }, child: [] }] })(t);
|
|
993
993
|
}
|
|
994
|
-
function
|
|
994
|
+
function Yn({
|
|
995
995
|
isOpen: t,
|
|
996
996
|
onClose: a,
|
|
997
997
|
closeButtonAriaLabel: r = "Close",
|
|
@@ -1099,7 +1099,7 @@ function ys({
|
|
|
1099
1099
|
}
|
|
1100
1100
|
);
|
|
1101
1101
|
}
|
|
1102
|
-
function
|
|
1102
|
+
function qn({ className: t = "size-5" }) {
|
|
1103
1103
|
return /* @__PURE__ */ e.jsx("svg", { viewBox: "0 0 20 20", fill: "none", "aria-hidden": !0, className: t, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e.jsx(
|
|
1104
1104
|
"path",
|
|
1105
1105
|
{
|
|
@@ -1108,7 +1108,7 @@ function Yn({ className: t = "size-5" }) {
|
|
|
1108
1108
|
}
|
|
1109
1109
|
) });
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1111
|
+
function Xn({ className: t = "size-5" }) {
|
|
1112
1112
|
return /* @__PURE__ */ e.jsx("svg", { viewBox: "0 0 20 20", fill: "none", "aria-hidden": !0, className: t, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e.jsx(
|
|
1113
1113
|
"path",
|
|
1114
1114
|
{
|
|
@@ -1195,7 +1195,7 @@ function Ns({
|
|
|
1195
1195
|
] })
|
|
1196
1196
|
] }) : null;
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1198
|
+
function Qn({
|
|
1199
1199
|
isOpen: t,
|
|
1200
1200
|
onClose: a,
|
|
1201
1201
|
avatarUrl: r = da,
|
|
@@ -1376,7 +1376,7 @@ function _e(t) {
|
|
|
1376
1376
|
function lt(t) {
|
|
1377
1377
|
return E({ 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);
|
|
1378
1378
|
}
|
|
1379
|
-
function
|
|
1379
|
+
function Jn({
|
|
1380
1380
|
totalPrice: t,
|
|
1381
1381
|
ritualCountLabel: a,
|
|
1382
1382
|
proceedLabel: r,
|
|
@@ -1430,7 +1430,7 @@ function Qn({
|
|
|
1430
1430
|
);
|
|
1431
1431
|
}
|
|
1432
1432
|
const Ts = "https://srm-sbox-cdn.a4b.io/yoda/1788262425704.svg";
|
|
1433
|
-
function
|
|
1433
|
+
function el() {
|
|
1434
1434
|
const { t } = ke();
|
|
1435
1435
|
return /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-3 rounded-[20px] border border-[#e5e3fd] bg-white p-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]", children: [
|
|
1436
1436
|
/* @__PURE__ */ e.jsx("img", { src: Ts, alt: "", "aria-hidden": !0, className: "size-6" }),
|
|
@@ -1441,7 +1441,7 @@ function Jn() {
|
|
|
1441
1441
|
] });
|
|
1442
1442
|
}
|
|
1443
1443
|
const Rs = "https://srm-sbox-cdn.a4b.io/yoda/1788261755933.webp", Es = "https://srm-sbox-cdn.a4b.io/yoda/1788261771996.webp", St = "https://srm-sbox-cdn.a4b.io/yoda/1788261812755.svg", As = "linear-gradient(28.44deg, #fbe9f0 0.54%, #ffffff 18.28%, #ffffff 53.34%, #fcccdf 100%), linear-gradient(90deg, #fff9e9 0%, #fff9e9 100%)";
|
|
1444
|
-
function
|
|
1444
|
+
function tl() {
|
|
1445
1445
|
const { t } = ke();
|
|
1446
1446
|
return /* @__PURE__ */ e.jsxs(
|
|
1447
1447
|
"section",
|
|
@@ -1514,7 +1514,7 @@ function el() {
|
|
|
1514
1514
|
}
|
|
1515
1515
|
);
|
|
1516
1516
|
}
|
|
1517
|
-
const Tt = "https://srm-cdn.a4b.io/yoda/1788322995409.svg", Rt = "https://srm-cdn.a4b.io/yoda/1788323009444.svg", Os = "https://srm-cdn.a4b.io/yoda/1789552092952.webp", Ms = "https://srm-cdn.a4b.io/yoda/1789552092951.webp",
|
|
1517
|
+
const Tt = "https://srm-cdn.a4b.io/yoda/1788322995409.svg", Rt = "https://srm-cdn.a4b.io/yoda/1788323009444.svg", Os = "https://srm-cdn.a4b.io/yoda/1789552092952.webp", Ms = "https://srm-cdn.a4b.io/yoda/1789552092951.webp", zs = "https://srm-cdn.a4b.io/yoda/1789552092953.webp", Is = "https://srm-cdn.a4b.io/yoda/1788323390415.svg", Bs = "https://srm-cdn.a4b.io/yoda/1788323405680.svg", Ds = "https://srm-cdn.a4b.io/yoda/1788323418513.svg", Fs = [
|
|
1518
1518
|
{
|
|
1519
1519
|
key: "guarantee",
|
|
1520
1520
|
ribbon: Ds,
|
|
@@ -1523,18 +1523,18 @@ const Tt = "https://srm-cdn.a4b.io/yoda/1788322995409.svg", Rt = "https://srm-cd
|
|
|
1523
1523
|
},
|
|
1524
1524
|
{
|
|
1525
1525
|
key: "temples",
|
|
1526
|
-
ribbon:
|
|
1527
|
-
icon:
|
|
1526
|
+
ribbon: Bs,
|
|
1527
|
+
icon: zs,
|
|
1528
1528
|
labelKey: "whySriMandirTemplesLabel"
|
|
1529
1529
|
},
|
|
1530
1530
|
{
|
|
1531
1531
|
key: "support",
|
|
1532
|
-
ribbon:
|
|
1532
|
+
ribbon: Is,
|
|
1533
1533
|
icon: Ms,
|
|
1534
1534
|
labelKey: "whySriMandirSupportLabel"
|
|
1535
1535
|
}
|
|
1536
1536
|
];
|
|
1537
|
-
function
|
|
1537
|
+
function al() {
|
|
1538
1538
|
const { t } = ke();
|
|
1539
1539
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-center justify-center gap-5 px-4 py-8", children: [
|
|
1540
1540
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
@@ -1621,7 +1621,7 @@ const Et = "https://srm-sbox-cdn.a4b.io/yoda/1788262151570.svg", At = "https://s
|
|
|
1621
1621
|
isVideo: !0
|
|
1622
1622
|
}
|
|
1623
1623
|
];
|
|
1624
|
-
function
|
|
1624
|
+
function sl() {
|
|
1625
1625
|
const { t } = ke();
|
|
1626
1626
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-center gap-4 py-4", children: [
|
|
1627
1627
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2 px-4", children: [
|
|
@@ -1672,7 +1672,7 @@ function al() {
|
|
|
1672
1672
|
] });
|
|
1673
1673
|
}
|
|
1674
1674
|
const Us = "https://srm-cdn.a4b.io/yoda/1788253585577.svg", Ks = "https://srm-cdn.a4b.io/yoda/1788323562516.svg";
|
|
1675
|
-
function
|
|
1675
|
+
function rl({
|
|
1676
1676
|
images: t,
|
|
1677
1677
|
useCase: a,
|
|
1678
1678
|
title: r,
|
|
@@ -1746,7 +1746,7 @@ function sl({
|
|
|
1746
1746
|
] });
|
|
1747
1747
|
}
|
|
1748
1748
|
const Zs = "https://srm-cdn.a4b.io/yoda/1788323512851.webp";
|
|
1749
|
-
function
|
|
1749
|
+
function nl({
|
|
1750
1750
|
heading: t,
|
|
1751
1751
|
benefits: a
|
|
1752
1752
|
}) {
|
|
@@ -1783,7 +1783,7 @@ function fa(t) {
|
|
|
1783
1783
|
return E({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z" }, child: [] }] })(t);
|
|
1784
1784
|
}
|
|
1785
1785
|
const qs = 168;
|
|
1786
|
-
function
|
|
1786
|
+
function ll({
|
|
1787
1787
|
question: t,
|
|
1788
1788
|
imageUrl: a,
|
|
1789
1789
|
imageAlt: r = "",
|
|
@@ -1859,7 +1859,7 @@ function ar(t) {
|
|
|
1859
1859
|
return E({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M399 384.2C376.9 345.8 335.4 320 288 320l-64 0c-47.4 0-88.9 25.8-111 64.2c35.2 39.2 86.2 63.8 143 63.8s107.8-24.7 143-63.8zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm256 16a72 72 0 1 0 0-144 72 72 0 1 0 0 144z" }, child: [] }] })(t);
|
|
1860
1860
|
}
|
|
1861
1861
|
const Mt = 3;
|
|
1862
|
-
function
|
|
1862
|
+
function il({
|
|
1863
1863
|
heading: t,
|
|
1864
1864
|
subtitle: a,
|
|
1865
1865
|
reviews: r,
|
|
@@ -1992,7 +1992,7 @@ function ll({
|
|
|
1992
1992
|
) })
|
|
1993
1993
|
] });
|
|
1994
1994
|
}
|
|
1995
|
-
const
|
|
1995
|
+
const ol = [
|
|
1996
1996
|
{ variant: "pandits", textKey: "outcomeTrustPanditsText" },
|
|
1997
1997
|
{ variant: "gotra", textKey: "outcomeTrustGotraText" },
|
|
1998
1998
|
{ variant: "video", textKey: "outcomeTrustVideoText" }
|
|
@@ -2037,7 +2037,7 @@ const rr = Xa(
|
|
|
2037
2037
|
],
|
|
2038
2038
|
defaultVariants: { variant: "primary", size: "lg", iconOnly: !1 }
|
|
2039
2039
|
}
|
|
2040
|
-
),
|
|
2040
|
+
), Q = Za.forwardRef(
|
|
2041
2041
|
({
|
|
2042
2042
|
className: t,
|
|
2043
2043
|
variant: a,
|
|
@@ -2066,7 +2066,7 @@ const rr = Xa(
|
|
|
2066
2066
|
}
|
|
2067
2067
|
)
|
|
2068
2068
|
);
|
|
2069
|
-
|
|
2069
|
+
Q.displayName = "Button";
|
|
2070
2070
|
function Pe(t) {
|
|
2071
2071
|
return t.isOpen ? /* @__PURE__ */ e.jsx(
|
|
2072
2072
|
"div",
|
|
@@ -2077,11 +2077,11 @@ function Pe(t) {
|
|
|
2077
2077
|
maxWidth: "var(--pitru-paksh-sheet-overlay-max-width, 28rem)",
|
|
2078
2078
|
zIndex: 1100
|
|
2079
2079
|
},
|
|
2080
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2080
|
+
children: /* @__PURE__ */ e.jsx(ze, { ...t })
|
|
2081
2081
|
}
|
|
2082
2082
|
) : null;
|
|
2083
2083
|
}
|
|
2084
|
-
const
|
|
2084
|
+
const cl = ({
|
|
2085
2085
|
quote: t,
|
|
2086
2086
|
authorName: a,
|
|
2087
2087
|
authorAvatarUrl: r,
|
|
@@ -2205,7 +2205,7 @@ const ol = ({
|
|
|
2205
2205
|
);
|
|
2206
2206
|
}) }),
|
|
2207
2207
|
C && /* @__PURE__ */ e.jsx(
|
|
2208
|
-
|
|
2208
|
+
Q,
|
|
2209
2209
|
{
|
|
2210
2210
|
variant: "secondary",
|
|
2211
2211
|
size: "lg",
|
|
@@ -2226,7 +2226,7 @@ const ol = ({
|
|
|
2226
2226
|
]
|
|
2227
2227
|
}
|
|
2228
2228
|
);
|
|
2229
|
-
},
|
|
2229
|
+
}, dl = ({
|
|
2230
2230
|
title: t = "Frequently Asked Questions",
|
|
2231
2231
|
showTitleAccent: a = !0,
|
|
2232
2232
|
items: r,
|
|
@@ -2282,7 +2282,7 @@ const ol = ({
|
|
|
2282
2282
|
);
|
|
2283
2283
|
}) }),
|
|
2284
2284
|
p && /* @__PURE__ */ e.jsx(
|
|
2285
|
-
|
|
2285
|
+
Q,
|
|
2286
2286
|
{
|
|
2287
2287
|
variant: "secondary",
|
|
2288
2288
|
size: "lg",
|
|
@@ -2315,20 +2315,20 @@ const ol = ({
|
|
|
2315
2315
|
autoPlay: g = !1,
|
|
2316
2316
|
onPlayToggle: x
|
|
2317
2317
|
}, d) => {
|
|
2318
|
-
const [f, b] = k.useState(!1), [p, C] = k.useState(!0), [y, j] = k.useState(!1), [v, _] = k.useState(0), [M, G] = k.useState(0), [
|
|
2318
|
+
const [f, b] = k.useState(!1), [p, C] = k.useState(!0), [y, j] = k.useState(!1), [v, _] = k.useState(0), [M, G] = k.useState(0), [I, B] = k.useState(!0), D = k.useRef(null), W = k.useRef(null), $ = k.useRef(() => {
|
|
2319
2319
|
}), P = k.useRef(null);
|
|
2320
2320
|
k.useEffect(() => {
|
|
2321
2321
|
g && (b(!0), j(!1));
|
|
2322
2322
|
}, [g]);
|
|
2323
2323
|
const L = k.useCallback(() => {
|
|
2324
2324
|
P.current && clearTimeout(P.current), P.current = setTimeout(
|
|
2325
|
-
() =>
|
|
2325
|
+
() => B(!1),
|
|
2326
2326
|
1500
|
|
2327
2327
|
);
|
|
2328
2328
|
}, []);
|
|
2329
2329
|
k.useEffect(() => {
|
|
2330
2330
|
if (!f || !p) {
|
|
2331
|
-
P.current && clearTimeout(P.current),
|
|
2331
|
+
P.current && clearTimeout(P.current), B(!0);
|
|
2332
2332
|
return;
|
|
2333
2333
|
}
|
|
2334
2334
|
return L(), () => {
|
|
@@ -2343,7 +2343,7 @@ const ol = ({
|
|
|
2343
2343
|
D.current = T, typeof d == "function" ? d(T) : d && (d.current = T);
|
|
2344
2344
|
},
|
|
2345
2345
|
[d]
|
|
2346
|
-
),
|
|
2346
|
+
), K = k.useCallback(() => {
|
|
2347
2347
|
if (!l || !W.current)
|
|
2348
2348
|
return;
|
|
2349
2349
|
const T = W.current, O = document.fullscreenElement;
|
|
@@ -2361,15 +2361,15 @@ const ol = ({
|
|
|
2361
2361
|
"nofullscreen noremoteplayback nodownload"
|
|
2362
2362
|
), O.addEventListener(
|
|
2363
2363
|
"webkitbeginfullscreen",
|
|
2364
|
-
|
|
2365
|
-
), document.addEventListener("fullscreenchange",
|
|
2364
|
+
K
|
|
2365
|
+
), document.addEventListener("fullscreenchange", K), $.current = () => {
|
|
2366
2366
|
O.removeEventListener(
|
|
2367
2367
|
"webkitbeginfullscreen",
|
|
2368
|
-
|
|
2369
|
-
), document.removeEventListener("fullscreenchange",
|
|
2368
|
+
K
|
|
2369
|
+
), document.removeEventListener("fullscreenchange", K);
|
|
2370
2370
|
};
|
|
2371
2371
|
},
|
|
2372
|
-
[l,
|
|
2372
|
+
[l, K]
|
|
2373
2373
|
);
|
|
2374
2374
|
k.useEffect(
|
|
2375
2375
|
() => () => {
|
|
@@ -2403,7 +2403,7 @@ const ol = ({
|
|
|
2403
2403
|
r
|
|
2404
2404
|
),
|
|
2405
2405
|
onClick: () => {
|
|
2406
|
-
f && !
|
|
2406
|
+
f && !I && (B(!0), p && L());
|
|
2407
2407
|
},
|
|
2408
2408
|
children: f ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2409
2409
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2419,8 +2419,8 @@ const ol = ({
|
|
|
2419
2419
|
playsInline: !0,
|
|
2420
2420
|
disablePictureInPicture: l,
|
|
2421
2421
|
disableRemotePlayback: l,
|
|
2422
|
-
onPlay:
|
|
2423
|
-
onPlaying:
|
|
2422
|
+
onPlay: K,
|
|
2423
|
+
onPlaying: K,
|
|
2424
2424
|
onDoubleClick: (T) => {
|
|
2425
2425
|
l && T.preventDefault();
|
|
2426
2426
|
},
|
|
@@ -2437,9 +2437,9 @@ const ol = ({
|
|
|
2437
2437
|
onEnded: () => C(!1)
|
|
2438
2438
|
}
|
|
2439
2439
|
),
|
|
2440
|
-
|
|
2440
|
+
I && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2441
2441
|
/* @__PURE__ */ e.jsx(
|
|
2442
|
-
|
|
2442
|
+
Q,
|
|
2443
2443
|
{
|
|
2444
2444
|
variant: "ghost",
|
|
2445
2445
|
iconOnly: !0,
|
|
@@ -2457,7 +2457,7 @@ const ol = ({
|
|
|
2457
2457
|
}
|
|
2458
2458
|
),
|
|
2459
2459
|
/* @__PURE__ */ e.jsx(
|
|
2460
|
-
|
|
2460
|
+
Q,
|
|
2461
2461
|
{
|
|
2462
2462
|
variant: "ghost",
|
|
2463
2463
|
iconOnly: !0,
|
|
@@ -2486,7 +2486,7 @@ const ol = ({
|
|
|
2486
2486
|
/* @__PURE__ */ e.jsx("img", { src: a, alt: "", className: U }),
|
|
2487
2487
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-0 bg-linear-to-b from-black/0 to-black/60" }),
|
|
2488
2488
|
/* @__PURE__ */ e.jsx(
|
|
2489
|
-
|
|
2489
|
+
Q,
|
|
2490
2490
|
{
|
|
2491
2491
|
variant: "ghost",
|
|
2492
2492
|
iconOnly: !0,
|
|
@@ -2593,7 +2593,7 @@ const ir = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2593
2593
|
}
|
|
2594
2594
|
);
|
|
2595
2595
|
ma.displayName = "LanguageSwitcher";
|
|
2596
|
-
function
|
|
2596
|
+
function ul({
|
|
2597
2597
|
onBackClick: t,
|
|
2598
2598
|
backButtonAriaLabel: a = "Go back",
|
|
2599
2599
|
locale: r,
|
|
@@ -2666,7 +2666,7 @@ const or = k.forwardRef(
|
|
|
2666
2666
|
)
|
|
2667
2667
|
);
|
|
2668
2668
|
or.displayName = "Chip";
|
|
2669
|
-
const
|
|
2669
|
+
const xl = ({
|
|
2670
2670
|
quote: t,
|
|
2671
2671
|
currentStep: a,
|
|
2672
2672
|
totalSteps: r,
|
|
@@ -2716,7 +2716,7 @@ function cr(t) {
|
|
|
2716
2716
|
function dr(t) {
|
|
2717
2717
|
return E({ 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);
|
|
2718
2718
|
}
|
|
2719
|
-
const
|
|
2719
|
+
const zt = 1.25, It = [
|
|
2720
2720
|
{ x: 11.02, y: 6.38, height: 5.28 },
|
|
2721
2721
|
{ x: 16.3, y: 6.38, height: 5.28 },
|
|
2722
2722
|
{ x: 8.36, y: 3.8, height: 10.44 },
|
|
@@ -2736,24 +2736,24 @@ const It = 1.25, Bt = [
|
|
|
2736
2736
|
fill: "none",
|
|
2737
2737
|
"aria-hidden": !0,
|
|
2738
2738
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2739
|
-
children:
|
|
2739
|
+
children: It.map((r, n) => /* @__PURE__ */ e.jsx(
|
|
2740
2740
|
"rect",
|
|
2741
2741
|
{
|
|
2742
2742
|
x: r.x,
|
|
2743
2743
|
y: r.y,
|
|
2744
|
-
width:
|
|
2744
|
+
width: zt,
|
|
2745
2745
|
height: r.height,
|
|
2746
|
-
rx:
|
|
2746
|
+
rx: zt / 2,
|
|
2747
2747
|
fill: "#6B7280",
|
|
2748
2748
|
className: t ? "wave-bar-anim" : "",
|
|
2749
2749
|
style: {
|
|
2750
|
-
animationDelay: `${(a *
|
|
2750
|
+
animationDelay: `${(a * It.length + n) * 60}ms`
|
|
2751
2751
|
}
|
|
2752
2752
|
},
|
|
2753
2753
|
n
|
|
2754
2754
|
))
|
|
2755
2755
|
}
|
|
2756
|
-
),
|
|
2756
|
+
), fl = ({
|
|
2757
2757
|
avatarUrl: t,
|
|
2758
2758
|
question: a,
|
|
2759
2759
|
description: r,
|
|
@@ -2897,7 +2897,7 @@ const ot = k.forwardRef(
|
|
|
2897
2897
|
type: _ = "button",
|
|
2898
2898
|
...M
|
|
2899
2899
|
}, G) => {
|
|
2900
|
-
const
|
|
2900
|
+
const I = /* @__PURE__ */ e.jsxs(
|
|
2901
2901
|
"div",
|
|
2902
2902
|
{
|
|
2903
2903
|
className: m(
|
|
@@ -2979,7 +2979,7 @@ const ot = k.forwardRef(
|
|
|
2979
2979
|
}
|
|
2980
2980
|
);
|
|
2981
2981
|
return C ? /* @__PURE__ */ e.jsxs("div", { className: "overflow-hidden rounded-xl bg-[#FCCF9A]", children: [
|
|
2982
|
-
|
|
2982
|
+
I,
|
|
2983
2983
|
/* @__PURE__ */ e.jsx(
|
|
2984
2984
|
"div",
|
|
2985
2985
|
{
|
|
@@ -2990,11 +2990,11 @@ const ot = k.forwardRef(
|
|
|
2990
2990
|
children: C
|
|
2991
2991
|
}
|
|
2992
2992
|
)
|
|
2993
|
-
] }) :
|
|
2993
|
+
] }) : I;
|
|
2994
2994
|
}
|
|
2995
2995
|
);
|
|
2996
2996
|
ot.displayName = "SelectorCard";
|
|
2997
|
-
const
|
|
2997
|
+
const ml = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.jsxs(
|
|
2998
2998
|
"div",
|
|
2999
2999
|
{
|
|
3000
3000
|
role: a ? "button" : void 0,
|
|
@@ -3011,7 +3011,7 @@ const fl = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3011
3011
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: t })
|
|
3012
3012
|
]
|
|
3013
3013
|
}
|
|
3014
|
-
),
|
|
3014
|
+
), pl = ({
|
|
3015
3015
|
value: t,
|
|
3016
3016
|
onInfoClick: a,
|
|
3017
3017
|
infoLabel: r = "More info",
|
|
@@ -3053,7 +3053,7 @@ const fl = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3053
3053
|
...r,
|
|
3054
3054
|
children: t
|
|
3055
3055
|
}
|
|
3056
|
-
),
|
|
3056
|
+
), hl = ({
|
|
3057
3057
|
className: t,
|
|
3058
3058
|
children: a,
|
|
3059
3059
|
...r
|
|
@@ -3067,7 +3067,7 @@ const fl = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3067
3067
|
...r,
|
|
3068
3068
|
children: a
|
|
3069
3069
|
}
|
|
3070
|
-
),
|
|
3070
|
+
), bl = ({
|
|
3071
3071
|
value: t,
|
|
3072
3072
|
onIncrement: a,
|
|
3073
3073
|
onDecrement: r,
|
|
@@ -3121,7 +3121,7 @@ const fl = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3121
3121
|
)
|
|
3122
3122
|
]
|
|
3123
3123
|
}
|
|
3124
|
-
),
|
|
3124
|
+
), Bt = {
|
|
3125
3125
|
en: {
|
|
3126
3126
|
backButtonAriaLabel: "Go back",
|
|
3127
3127
|
headerTitle: "Review your booking",
|
|
@@ -3174,7 +3174,7 @@ const fl = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3174
3174
|
checkoutRitualSingular: "పూజ",
|
|
3175
3175
|
checkoutRitualPlural: "పూజలు"
|
|
3176
3176
|
}
|
|
3177
|
-
}, Ke = (t) =>
|
|
3177
|
+
}, Ke = (t) => Bt[t] ?? Bt.en, pa = ({
|
|
3178
3178
|
title: t,
|
|
3179
3179
|
description: a,
|
|
3180
3180
|
price: r,
|
|
@@ -3204,7 +3204,7 @@ const fl = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3204
3204
|
), mr = ({ locale: t = "en", ...a }) => {
|
|
3205
3205
|
const { mandapTitle: r, mandapDescription: n } = Ke(t);
|
|
3206
3206
|
return /* @__PURE__ */ e.jsx(pa, { title: r, description: n, ...a });
|
|
3207
|
-
},
|
|
3207
|
+
}, gl = ({
|
|
3208
3208
|
children: t = "Change",
|
|
3209
3209
|
className: a,
|
|
3210
3210
|
type: r = "button",
|
|
@@ -3226,7 +3226,7 @@ const fl = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3226
3226
|
t
|
|
3227
3227
|
]
|
|
3228
3228
|
}
|
|
3229
|
-
),
|
|
3229
|
+
), jl = ({
|
|
3230
3230
|
locale: t = "en",
|
|
3231
3231
|
isAdded: a = !0,
|
|
3232
3232
|
children: r,
|
|
@@ -3312,7 +3312,7 @@ const fl = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3312
3312
|
] })
|
|
3313
3313
|
}
|
|
3314
3314
|
);
|
|
3315
|
-
}, Sr = "
|
|
3315
|
+
}, Sr = "_card_rz1ei_11", Tr = "_tappable_rz1ei_19", Rr = "_tag_rz1ei_23", Er = "_content_rz1ei_37", Ar = "_info_rz1ei_44", Or = "_textGroup_rz1ei_53", Mr = "_title_rz1ei_59", zr = "_description_rz1ei_66", Ir = "_descriptionClamp_rz1ei_79", Br = "_readMoreToggleBlock_rz1ei_90", Dr = "_readMoreToggle_rz1ei_90", Fr = "_readMoreToggleOverlay_rz1ei_112", Hr = "_priceRow_rz1ei_126", Vr = "_price_rz1ei_126", $r = "_originalPrice_rz1ei_141", Wr = "_imageWrap_rz1ei_152", Gr = "_image_rz1ei_152", Ur = "_actionWrap_rz1ei_166", X = {
|
|
3316
3316
|
card: Sr,
|
|
3317
3317
|
tappable: Tr,
|
|
3318
3318
|
tag: Rr,
|
|
@@ -3320,17 +3320,18 @@ const fl = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3320
3320
|
info: Ar,
|
|
3321
3321
|
textGroup: Or,
|
|
3322
3322
|
title: Mr,
|
|
3323
|
-
description:
|
|
3324
|
-
descriptionClamp:
|
|
3325
|
-
readMoreToggleBlock:
|
|
3323
|
+
description: zr,
|
|
3324
|
+
descriptionClamp: Ir,
|
|
3325
|
+
readMoreToggleBlock: Br,
|
|
3326
3326
|
readMoreToggle: Dr,
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3327
|
+
readMoreToggleOverlay: Fr,
|
|
3328
|
+
priceRow: Hr,
|
|
3329
|
+
price: Vr,
|
|
3330
|
+
originalPrice: $r,
|
|
3331
|
+
imageWrap: Wr,
|
|
3332
|
+
image: Gr,
|
|
3333
|
+
actionWrap: Ur
|
|
3334
|
+
}, Kr = (t) => t.replace(/<[^>]*>/g, "").trim(), Zr = ({
|
|
3334
3335
|
image: t,
|
|
3335
3336
|
imageAlt: a = "",
|
|
3336
3337
|
sheetImage: r,
|
|
@@ -3353,19 +3354,23 @@ const fl = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3353
3354
|
sheetShowSavedBadge: _,
|
|
3354
3355
|
sheetSavedLabel: M,
|
|
3355
3356
|
sheetAriaLabel: G,
|
|
3356
|
-
onReadMoreClick:
|
|
3357
|
-
onSheetOpenChange:
|
|
3357
|
+
onReadMoreClick: I,
|
|
3358
|
+
onSheetOpenChange: B,
|
|
3358
3359
|
className: D,
|
|
3359
3360
|
...W
|
|
3360
3361
|
}) => {
|
|
3361
|
-
const [$, P] = V(!1), [L, F] = V(!1),
|
|
3362
|
+
const [$, P] = V(!1), [L, F] = V(!1), J = i ? Kr(i).length > o : typeof l == "string" && l.length > o, U = J && !i && !$ ? `${l.slice(0, o).trimEnd()}... ` : l, ee = typeof y == "number", K = !!i && J && !$, ne = J && /* @__PURE__ */ e.jsx(
|
|
3362
3363
|
"button",
|
|
3363
3364
|
{
|
|
3364
3365
|
type: "button",
|
|
3365
3366
|
onClick: (le) => {
|
|
3366
|
-
le.stopPropagation(), ee ? (F(!0),
|
|
3367
|
+
le.stopPropagation(), ee ? (F(!0), I?.(!0), B?.(!0)) : P((T) => (I?.(!T), !T));
|
|
3367
3368
|
},
|
|
3368
|
-
className: m(
|
|
3369
|
+
className: m(
|
|
3370
|
+
X.readMoreToggle,
|
|
3371
|
+
i && X.readMoreToggleBlock,
|
|
3372
|
+
K && X.readMoreToggleOverlay
|
|
3373
|
+
),
|
|
3369
3374
|
children: ee ? g : $ ? x : g
|
|
3370
3375
|
}
|
|
3371
3376
|
);
|
|
@@ -3373,40 +3378,40 @@ const fl = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3373
3378
|
/* @__PURE__ */ e.jsxs(
|
|
3374
3379
|
"div",
|
|
3375
3380
|
{
|
|
3376
|
-
className: m(
|
|
3381
|
+
className: m(X.card, ee && X.tappable, D),
|
|
3377
3382
|
onClick: ee ? () => {
|
|
3378
|
-
F(!0),
|
|
3383
|
+
F(!0), B?.(!0);
|
|
3379
3384
|
} : void 0,
|
|
3380
3385
|
...W,
|
|
3381
3386
|
children: [
|
|
3382
|
-
b && /* @__PURE__ */ e.jsx("div", { className: m(
|
|
3383
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3384
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3385
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3386
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3387
|
-
i ? /* @__PURE__ */ e.jsxs("div", { className:
|
|
3387
|
+
b && /* @__PURE__ */ e.jsx("div", { className: m(X.tag, p), children: b }),
|
|
3388
|
+
/* @__PURE__ */ e.jsxs("div", { className: X.content, children: [
|
|
3389
|
+
/* @__PURE__ */ e.jsxs("div", { className: X.info, children: [
|
|
3390
|
+
/* @__PURE__ */ e.jsxs("div", { className: X.textGroup, children: [
|
|
3391
|
+
/* @__PURE__ */ e.jsx("p", { className: X.title, children: n }),
|
|
3392
|
+
i ? /* @__PURE__ */ e.jsxs("div", { className: X.description, children: [
|
|
3388
3393
|
/* @__PURE__ */ e.jsx(
|
|
3389
3394
|
"div",
|
|
3390
3395
|
{
|
|
3391
|
-
className: m(
|
|
3392
|
-
style:
|
|
3396
|
+
className: m(K && X.descriptionClamp),
|
|
3397
|
+
style: K ? { WebkitLineClamp: u } : void 0,
|
|
3393
3398
|
dangerouslySetInnerHTML: { __html: i }
|
|
3394
3399
|
}
|
|
3395
3400
|
),
|
|
3396
3401
|
ne
|
|
3397
|
-
] }) : l && /* @__PURE__ */ e.jsxs("p", { className:
|
|
3402
|
+
] }) : l && /* @__PURE__ */ e.jsxs("p", { className: X.description, children: [
|
|
3398
3403
|
U,
|
|
3399
3404
|
ne
|
|
3400
3405
|
] })
|
|
3401
3406
|
] }),
|
|
3402
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3403
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
3404
|
-
f && /* @__PURE__ */ e.jsx("span", { className:
|
|
3407
|
+
/* @__PURE__ */ e.jsxs("div", { className: X.priceRow, children: [
|
|
3408
|
+
/* @__PURE__ */ e.jsx("span", { className: X.price, children: d }),
|
|
3409
|
+
f && /* @__PURE__ */ e.jsx("span", { className: X.originalPrice, children: f })
|
|
3405
3410
|
] })
|
|
3406
3411
|
] }),
|
|
3407
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3408
|
-
/* @__PURE__ */ e.jsx("img", { src: t, alt: a, className:
|
|
3409
|
-
C && /* @__PURE__ */ e.jsx("div", { className:
|
|
3412
|
+
/* @__PURE__ */ e.jsxs("div", { className: X.imageWrap, children: [
|
|
3413
|
+
/* @__PURE__ */ e.jsx("img", { src: t, alt: a, className: X.image }),
|
|
3414
|
+
C && /* @__PURE__ */ e.jsx("div", { className: X.actionWrap, onClick: (le) => le.stopPropagation(), children: C })
|
|
3410
3415
|
] })
|
|
3411
3416
|
] })
|
|
3412
3417
|
]
|
|
@@ -3417,7 +3422,7 @@ const fl = ({ value: t, onClick: a, className: r, ...n }) => /* @__PURE__ */ e.j
|
|
|
3417
3422
|
{
|
|
3418
3423
|
isOpen: L,
|
|
3419
3424
|
onClose: () => {
|
|
3420
|
-
F(!1),
|
|
3425
|
+
F(!1), B?.(!1);
|
|
3421
3426
|
},
|
|
3422
3427
|
ariaLabel: G,
|
|
3423
3428
|
image: r || t,
|
|
@@ -3542,7 +3547,7 @@ function va(t) {
|
|
|
3542
3547
|
)
|
|
3543
3548
|
] });
|
|
3544
3549
|
}
|
|
3545
|
-
const
|
|
3550
|
+
const Yr = [
|
|
3546
3551
|
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(ha, { className: "size-5" }), label: "100% Money Back Guarantee" },
|
|
3547
3552
|
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(ba, { className: "size-5" }), label: "No Hidden Cost" },
|
|
3548
3553
|
{ id: "iso-certified", icon: /* @__PURE__ */ e.jsx(ga, { className: "size-5" }), label: "ISO 27001 Certified Company" },
|
|
@@ -3558,8 +3563,8 @@ const Zr = [
|
|
|
3558
3563
|
]
|
|
3559
3564
|
},
|
|
3560
3565
|
a
|
|
3561
|
-
),
|
|
3562
|
-
badges: t =
|
|
3566
|
+
), qr = ({
|
|
3567
|
+
badges: t = Yr,
|
|
3563
3568
|
badgeClassName: a,
|
|
3564
3569
|
marquee: r = !0,
|
|
3565
3570
|
marqueeDurationSeconds: n = 14,
|
|
@@ -3600,7 +3605,7 @@ const Zr = [
|
|
|
3600
3605
|
proceedLabel: "ముందుకు సాగండి",
|
|
3601
3606
|
infoButtonAriaLabel: "బిల్లు వివరాలను చూడండి"
|
|
3602
3607
|
}
|
|
3603
|
-
},
|
|
3608
|
+
}, Xr = (t) => Ft[t] ?? Ft.en, ct = ({
|
|
3604
3609
|
locale: t = "en",
|
|
3605
3610
|
amount: a,
|
|
3606
3611
|
amountClassName: r,
|
|
@@ -3618,7 +3623,7 @@ const Zr = [
|
|
|
3618
3623
|
className: p,
|
|
3619
3624
|
...C
|
|
3620
3625
|
}) => {
|
|
3621
|
-
const y =
|
|
3626
|
+
const y = Xr(t);
|
|
3622
3627
|
return /* @__PURE__ */ e.jsxs(
|
|
3623
3628
|
"div",
|
|
3624
3629
|
{
|
|
@@ -3672,7 +3677,7 @@ const Zr = [
|
|
|
3672
3677
|
f
|
|
3673
3678
|
),
|
|
3674
3679
|
children: /* @__PURE__ */ e.jsxs(
|
|
3675
|
-
|
|
3680
|
+
Q,
|
|
3676
3681
|
{
|
|
3677
3682
|
variant: "primary",
|
|
3678
3683
|
size: "xl",
|
|
@@ -3759,7 +3764,7 @@ const Zr = [
|
|
|
3759
3764
|
support: "కస్టమర్ సపోర్ట్"
|
|
3760
3765
|
}
|
|
3761
3766
|
}
|
|
3762
|
-
},
|
|
3767
|
+
}, Qr = (t) => Ht[t] ?? Ht.en, vl = ({
|
|
3763
3768
|
locale: t = "en",
|
|
3764
3769
|
title: a,
|
|
3765
3770
|
description: r,
|
|
@@ -3778,7 +3783,7 @@ const Zr = [
|
|
|
3778
3783
|
stickyFooter: C = !0,
|
|
3779
3784
|
footerClassName: y
|
|
3780
3785
|
}) => {
|
|
3781
|
-
const j =
|
|
3786
|
+
const j = Qr(t), v = a ?? j.title, _ = r ?? j.description, M = n ?? j.benefits, G = b ?? {
|
|
3782
3787
|
badges: [
|
|
3783
3788
|
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(ha, { className: "size-5" }), label: j.trustBadgeLabels.moneyBack },
|
|
3784
3789
|
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(ba, { className: "size-5" }), label: j.trustBadgeLabels.noHiddenCost },
|
|
@@ -3792,48 +3797,48 @@ const Zr = [
|
|
|
3792
3797
|
/* @__PURE__ */ e.jsx("p", { className: "text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: v }),
|
|
3793
3798
|
_ && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: _ })
|
|
3794
3799
|
] }),
|
|
3795
|
-
M && M.length > 0 && /* @__PURE__ */ e.jsx("div", { className: m("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", d), children: M.map((
|
|
3800
|
+
M && M.length > 0 && /* @__PURE__ */ e.jsx("div", { className: m("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", d), children: M.map((I, B) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
3796
3801
|
/* @__PURE__ */ e.jsx(nt, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
|
|
3797
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children:
|
|
3798
|
-
] },
|
|
3802
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: I })
|
|
3803
|
+
] }, B)) }),
|
|
3799
3804
|
/* @__PURE__ */ e.jsx(
|
|
3800
3805
|
"div",
|
|
3801
3806
|
{
|
|
3802
3807
|
role: "radiogroup",
|
|
3803
3808
|
"aria-label": c ?? (typeof v == "string" ? v : void 0),
|
|
3804
3809
|
className: m("flex flex-col gap-3 p-4", f),
|
|
3805
|
-
children: l.map((
|
|
3810
|
+
children: l.map((I) => {
|
|
3806
3811
|
const {
|
|
3807
|
-
id:
|
|
3812
|
+
id: B,
|
|
3808
3813
|
price: D,
|
|
3809
3814
|
free: W,
|
|
3810
3815
|
badge: $,
|
|
3811
3816
|
priceBadgeProps: P,
|
|
3812
3817
|
note: L,
|
|
3813
3818
|
children: F,
|
|
3814
|
-
iconClassName:
|
|
3819
|
+
iconClassName: J,
|
|
3815
3820
|
radioVariant: U,
|
|
3816
3821
|
...ee
|
|
3817
|
-
} =
|
|
3822
|
+
} = I, K = i === B, ne = $ ?? (D == null ? void 0 : W ? /* @__PURE__ */ e.jsx("span", { className: m("text-sm font-medium text-[#22272b]", P?.className), ...P, children: D }) : /* @__PURE__ */ e.jsx(fr, { value: D, ...P }));
|
|
3818
3823
|
return /* @__PURE__ */ e.jsx(
|
|
3819
3824
|
ot,
|
|
3820
3825
|
{
|
|
3821
3826
|
...ee,
|
|
3822
|
-
iconClassName: m("size-10",
|
|
3827
|
+
iconClassName: m("size-10", J),
|
|
3823
3828
|
radioVariant: U ?? o,
|
|
3824
3829
|
badge: ne,
|
|
3825
|
-
selected:
|
|
3826
|
-
onSelect: () => u(
|
|
3827
|
-
note:
|
|
3830
|
+
selected: K,
|
|
3831
|
+
onSelect: () => u(B),
|
|
3832
|
+
note: K ? L : void 0,
|
|
3828
3833
|
children: F
|
|
3829
3834
|
},
|
|
3830
|
-
|
|
3835
|
+
B
|
|
3831
3836
|
);
|
|
3832
3837
|
})
|
|
3833
3838
|
}
|
|
3834
3839
|
),
|
|
3835
3840
|
(G || p) && /* @__PURE__ */ e.jsxs("div", { className: m(C && "sticky bottom-0 z-10", y), children: [
|
|
3836
|
-
G && /* @__PURE__ */ e.jsx(
|
|
3841
|
+
G && /* @__PURE__ */ e.jsx(qr, { ...G }),
|
|
3837
3842
|
p && /* @__PURE__ */ e.jsx(ct, { locale: t, ...p })
|
|
3838
3843
|
] })
|
|
3839
3844
|
] });
|
|
@@ -3877,7 +3882,7 @@ const Zr = [
|
|
|
3877
3882
|
ritualLabel: "ಆಚರಣೆಗಳು",
|
|
3878
3883
|
performerLabel: "ಕರ್ತೃಗಳು"
|
|
3879
3884
|
}
|
|
3880
|
-
},
|
|
3885
|
+
}, Jr = (t) => Vt[t] ?? Vt.en, en = ({
|
|
3881
3886
|
locale: t = "en",
|
|
3882
3887
|
icon: a = /* @__PURE__ */ e.jsx(it, { "aria-hidden": !0 }),
|
|
3883
3888
|
iconClassName: r,
|
|
@@ -3891,7 +3896,7 @@ const Zr = [
|
|
|
3891
3896
|
className: x,
|
|
3892
3897
|
...d
|
|
3893
3898
|
}) => {
|
|
3894
|
-
const f =
|
|
3899
|
+
const f = Jr(t), b = n ?? f.title, p = u ?? (o && [
|
|
3895
3900
|
`${o.ancestors} ${o.ancestors === 1 ? f.ancestorLabel : f.ancestorsLabel}`,
|
|
3896
3901
|
`${o.rituals} ${o.rituals === 1 ? f.ritualLabel : f.ritualsLabel}`,
|
|
3897
3902
|
`${o.performers} ${o.performers === 1 ? f.performerLabel : f.performersLabel}`
|
|
@@ -4061,8 +4066,8 @@ const Na = ({
|
|
|
4061
4066
|
}
|
|
4062
4067
|
)
|
|
4063
4068
|
] });
|
|
4064
|
-
},
|
|
4065
|
-
function
|
|
4069
|
+
}, tn = "https://srm-cdn.a4b.io/yoda/1789670818921.svg";
|
|
4070
|
+
function yl({
|
|
4066
4071
|
isOpen: t,
|
|
4067
4072
|
onClose: a,
|
|
4068
4073
|
locale: r = "en",
|
|
@@ -4088,7 +4093,7 @@ function vl({
|
|
|
4088
4093
|
/* @__PURE__ */ e.jsx(
|
|
4089
4094
|
"img",
|
|
4090
4095
|
{
|
|
4091
|
-
src:
|
|
4096
|
+
src: tn,
|
|
4092
4097
|
alt: "",
|
|
4093
4098
|
"aria-hidden": !0,
|
|
4094
4099
|
className: "size-8 shrink-0"
|
|
@@ -4132,7 +4137,7 @@ function vl({
|
|
|
4132
4137
|
}
|
|
4133
4138
|
);
|
|
4134
4139
|
}
|
|
4135
|
-
const
|
|
4140
|
+
const Nl = ({
|
|
4136
4141
|
locale: t = "en",
|
|
4137
4142
|
onBack: a,
|
|
4138
4143
|
backButtonAriaLabel: r,
|
|
@@ -4152,16 +4157,16 @@ const yl = ({
|
|
|
4152
4157
|
addonsDescriptionClassName: y,
|
|
4153
4158
|
addonsClassName: j,
|
|
4154
4159
|
addonClassName: v,
|
|
4155
|
-
addonComponent: _ =
|
|
4160
|
+
addonComponent: _ = Zr,
|
|
4156
4161
|
onAddonRef: M,
|
|
4157
4162
|
billDetails: G,
|
|
4158
|
-
faq:
|
|
4159
|
-
checkout:
|
|
4163
|
+
faq: I,
|
|
4164
|
+
checkout: B,
|
|
4160
4165
|
className: D,
|
|
4161
4166
|
children: W,
|
|
4162
4167
|
...$
|
|
4163
4168
|
}) => {
|
|
4164
|
-
const { backButtonAriaLabel: P, headerTitle: L, addonsTitle: F, addonsDescription:
|
|
4169
|
+
const { backButtonAriaLabel: P, headerTitle: L, addonsTitle: F, addonsDescription: J, checkoutProceedLabel: U, checkoutRitualSingular: ee, checkoutRitualPlural: K } = Ke(t), { price: ne, ritualCount: le, ...T } = B ?? {};
|
|
4165
4170
|
return /* @__PURE__ */ e.jsxs("div", { className: m("flex min-h-screen flex-col bg-white", D), ...$, children: [
|
|
4166
4171
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
4167
4172
|
/* @__PURE__ */ e.jsxs("div", { className: m("flex items-center gap-3 px-4 py-3", n), children: [
|
|
@@ -4180,7 +4185,7 @@ const yl = ({
|
|
|
4180
4185
|
),
|
|
4181
4186
|
/* @__PURE__ */ e.jsx("h1", { className: m("text-lg font-bold text-[#1d2125]", i), children: L })
|
|
4182
4187
|
] }),
|
|
4183
|
-
o && /* @__PURE__ */ e.jsx(
|
|
4188
|
+
o && /* @__PURE__ */ e.jsx(en, { ...o }),
|
|
4184
4189
|
c && c.length > 0 && /* @__PURE__ */ e.jsx("div", { className: m("flex flex-col gap-3 bg-white px-4 py-4", g), children: c.map(({ id: O, className: oe, isMandapCharge: de, ...ce }) => /* @__PURE__ */ e.jsx("div", { ref: d ? (xe) => d(O, xe) : void 0, children: de ? /* @__PURE__ */ e.jsx(
|
|
4185
4190
|
mr,
|
|
4186
4191
|
{
|
|
@@ -4199,7 +4204,7 @@ const yl = ({
|
|
|
4199
4204
|
f && f.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: m("flex flex-col gap-4 bg-gray-50 px-4 py-6", b), children: [
|
|
4200
4205
|
/* @__PURE__ */ e.jsxs("div", { className: p, children: [
|
|
4201
4206
|
/* @__PURE__ */ e.jsx("h2", { className: m("text-base font-bold text-gray-700", C), children: F }),
|
|
4202
|
-
/* @__PURE__ */ e.jsx("p", { className: m("mt-1 text-sm text-gray-500", y), children:
|
|
4207
|
+
/* @__PURE__ */ e.jsx("p", { className: m("mt-1 text-sm text-gray-500", y), children: J })
|
|
4203
4208
|
] }),
|
|
4204
4209
|
/* @__PURE__ */ e.jsx("div", { className: m("flex flex-col gap-4", j), children: f.map(({ id: O, className: oe, ...de }) => /* @__PURE__ */ e.jsx("div", { ref: M ? (ce) => M(O, ce) : void 0, children: /* @__PURE__ */ e.jsx(
|
|
4205
4210
|
_,
|
|
@@ -4211,17 +4216,17 @@ const yl = ({
|
|
|
4211
4216
|
) }, O)) })
|
|
4212
4217
|
] }),
|
|
4213
4218
|
G && /* @__PURE__ */ e.jsx(Na, { ...G, locale: t }),
|
|
4214
|
-
|
|
4219
|
+
I && /* @__PURE__ */ e.jsx(nr, { ...I }),
|
|
4215
4220
|
W
|
|
4216
4221
|
] }),
|
|
4217
|
-
|
|
4222
|
+
B && /* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0", children: /* @__PURE__ */ e.jsx(
|
|
4218
4223
|
ct,
|
|
4219
4224
|
{
|
|
4220
4225
|
growProceedButton: !0,
|
|
4221
4226
|
...T,
|
|
4222
4227
|
locale: t,
|
|
4223
4228
|
amount: ne,
|
|
4224
|
-
subtitle: `${le} ${le === 1 ? ee :
|
|
4229
|
+
subtitle: `${le} ${le === 1 ? ee : K}`,
|
|
4225
4230
|
proceedLabel: U
|
|
4226
4231
|
}
|
|
4227
4232
|
) })
|
|
@@ -4281,7 +4286,7 @@ const yl = ({
|
|
|
4281
4286
|
}
|
|
4282
4287
|
);
|
|
4283
4288
|
ue.displayName = "TextField";
|
|
4284
|
-
function
|
|
4289
|
+
function wl({
|
|
4285
4290
|
isOpen: t,
|
|
4286
4291
|
onClose: a,
|
|
4287
4292
|
avatarUrl: r,
|
|
@@ -4295,7 +4300,7 @@ function Nl({
|
|
|
4295
4300
|
c && u(c);
|
|
4296
4301
|
};
|
|
4297
4302
|
return /* @__PURE__ */ e.jsx(
|
|
4298
|
-
|
|
4303
|
+
ze,
|
|
4299
4304
|
{
|
|
4300
4305
|
isOpen: t,
|
|
4301
4306
|
onClose: a,
|
|
@@ -4313,7 +4318,7 @@ function Nl({
|
|
|
4313
4318
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-4 px-5 pb-2", children: [
|
|
4314
4319
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
|
|
4315
4320
|
/* @__PURE__ */ e.jsx(
|
|
4316
|
-
|
|
4321
|
+
Q,
|
|
4317
4322
|
{
|
|
4318
4323
|
variant: "primary",
|
|
4319
4324
|
size: "md",
|
|
@@ -4379,8 +4384,8 @@ function Le({ options: t, selectedIndex: a, onChange: r }) {
|
|
|
4379
4384
|
}
|
|
4380
4385
|
) });
|
|
4381
4386
|
}
|
|
4382
|
-
const Gt = Array.from({ length: 31 }, (t, a) => a + 1),
|
|
4383
|
-
function
|
|
4387
|
+
const Gt = Array.from({ length: 31 }, (t, a) => a + 1), an = Array.from({ length: 12 }, (t, a) => a);
|
|
4388
|
+
function Cl({
|
|
4384
4389
|
isOpen: t,
|
|
4385
4390
|
onClose: a,
|
|
4386
4391
|
avatarUrl: r,
|
|
@@ -4400,24 +4405,24 @@ function wl({
|
|
|
4400
4405
|
return Array.from({ length: p - P + 1 }, (L, F) => P + F);
|
|
4401
4406
|
}, [b, p]), [y, j] = V(() => c ? c.day - 1 : Math.floor(Gt.length / 2)), [v, _] = V(() => c ? c.month - 1 : 0), [M, G] = V(
|
|
4402
4407
|
() => c ? Math.max(0, C.indexOf(c.year)) : Math.floor(C.length / 2)
|
|
4403
|
-
),
|
|
4404
|
-
let P =
|
|
4405
|
-
return f &&
|
|
4406
|
-
}, [
|
|
4408
|
+
), I = C[M], B = $e(() => {
|
|
4409
|
+
let P = an;
|
|
4410
|
+
return f && I === f.year && (P = P.filter((L) => L <= f.month - 1)), d && I === d.year && (P = P.filter((L) => L >= d.month - 1)), P;
|
|
4411
|
+
}, [I, d, f]), D = (B[v] ?? B[B.length - 1] ?? 0) + 1, W = $e(() => {
|
|
4407
4412
|
let P = Gt;
|
|
4408
|
-
return f &&
|
|
4409
|
-
}, [
|
|
4413
|
+
return f && I === f.year && D === f.month && (P = P.filter((L) => L <= f.day)), d && I === d.year && D === d.month && (P = P.filter((L) => L >= d.day)), P;
|
|
4414
|
+
}, [I, D, d, f]);
|
|
4410
4415
|
We(() => {
|
|
4411
|
-
_((P) => Math.min(P,
|
|
4412
|
-
}, [
|
|
4416
|
+
_((P) => Math.min(P, B.length - 1));
|
|
4417
|
+
}, [B]), We(() => {
|
|
4413
4418
|
j((P) => Math.min(P, W.length - 1));
|
|
4414
4419
|
}, [W]);
|
|
4415
4420
|
const $ = () => {
|
|
4416
4421
|
const P = W[y] ?? W[W.length - 1] ?? 1;
|
|
4417
|
-
u({ day: P, month: D, year:
|
|
4422
|
+
u({ day: P, month: D, year: I });
|
|
4418
4423
|
};
|
|
4419
4424
|
return /* @__PURE__ */ e.jsx(
|
|
4420
|
-
|
|
4425
|
+
ze,
|
|
4421
4426
|
{
|
|
4422
4427
|
isOpen: t,
|
|
4423
4428
|
onClose: a,
|
|
@@ -4430,14 +4435,14 @@ function wl({
|
|
|
4430
4435
|
] }),
|
|
4431
4436
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-6 px-5 pt-2 pb-5", children: [
|
|
4432
4437
|
o && /* @__PURE__ */ e.jsx("p", { className: "shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]", children: o }),
|
|
4433
|
-
/* @__PURE__ */ e.jsx(
|
|
4438
|
+
/* @__PURE__ */ e.jsx(Q, { variant: "primary", size: "lg", className: "flex-1 rounded-xl", onClick: $, children: i })
|
|
4434
4439
|
] }),
|
|
4435
4440
|
children: /* @__PURE__ */ e.jsxs("div", { className: "relative flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
4436
4441
|
/* @__PURE__ */ e.jsx(Le, { options: W.map(String), selectedIndex: y, onChange: j }),
|
|
4437
4442
|
/* @__PURE__ */ e.jsx(
|
|
4438
4443
|
Le,
|
|
4439
4444
|
{
|
|
4440
|
-
options:
|
|
4445
|
+
options: B.map((P) => l[P]),
|
|
4441
4446
|
selectedIndex: v,
|
|
4442
4447
|
onChange: _
|
|
4443
4448
|
}
|
|
@@ -4450,14 +4455,14 @@ function wl({
|
|
|
4450
4455
|
);
|
|
4451
4456
|
}
|
|
4452
4457
|
const tt = Array.from({ length: 12 }, (t, a) => a + 1), Ut = Array.from({ length: 60 }, (t, a) => a);
|
|
4453
|
-
function
|
|
4458
|
+
function sn(t) {
|
|
4454
4459
|
const a = t >= 12 ? "PM" : "AM";
|
|
4455
4460
|
return { hour12: t % 12 === 0 ? 12 : t % 12, period: a };
|
|
4456
4461
|
}
|
|
4457
|
-
function
|
|
4462
|
+
function rn(t, a) {
|
|
4458
4463
|
return a === "AM" ? t === 12 ? 0 : t : t === 12 ? 12 : t + 12;
|
|
4459
4464
|
}
|
|
4460
|
-
function
|
|
4465
|
+
function Ll({
|
|
4461
4466
|
isOpen: t,
|
|
4462
4467
|
onClose: a,
|
|
4463
4468
|
avatarUrl: r,
|
|
@@ -4469,12 +4474,12 @@ function Cl({
|
|
|
4469
4474
|
amLabel: c = "AM",
|
|
4470
4475
|
pmLabel: g = "PM"
|
|
4471
4476
|
}) {
|
|
4472
|
-
const x = $e(() =>
|
|
4473
|
-
const _ =
|
|
4477
|
+
const x = $e(() => sn(o?.hour ?? 11), [o?.hour]), d = [c, g], [f, b] = V(() => tt.indexOf(x.hour12)), [p, C] = V(() => o?.minute ?? 0), [y, j] = V(() => x.period === "AM" ? 0 : 1), v = () => {
|
|
4478
|
+
const _ = rn(tt[f], y === 0 ? "AM" : "PM");
|
|
4474
4479
|
i({ hour: _, minute: Ut[p] });
|
|
4475
4480
|
};
|
|
4476
4481
|
return /* @__PURE__ */ e.jsx(
|
|
4477
|
-
|
|
4482
|
+
ze,
|
|
4478
4483
|
{
|
|
4479
4484
|
isOpen: t,
|
|
4480
4485
|
onClose: a,
|
|
@@ -4487,7 +4492,7 @@ function Cl({
|
|
|
4487
4492
|
] }),
|
|
4488
4493
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-6 px-5 pt-2 pb-5", children: [
|
|
4489
4494
|
u && /* @__PURE__ */ e.jsx("p", { className: "shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]", children: u }),
|
|
4490
|
-
/* @__PURE__ */ e.jsx(
|
|
4495
|
+
/* @__PURE__ */ e.jsx(Q, { variant: "primary", size: "lg", className: "flex-1 rounded-xl", onClick: v, children: l })
|
|
4491
4496
|
] }),
|
|
4492
4497
|
children: /* @__PURE__ */ e.jsxs("div", { className: "relative flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
4493
4498
|
/* @__PURE__ */ e.jsx(Le, { options: tt.map(String), selectedIndex: f, onChange: b }),
|
|
@@ -4506,7 +4511,7 @@ function Cl({
|
|
|
4506
4511
|
}
|
|
4507
4512
|
);
|
|
4508
4513
|
}
|
|
4509
|
-
function
|
|
4514
|
+
function nn({ className: t }) {
|
|
4510
4515
|
return /* @__PURE__ */ e.jsxs(
|
|
4511
4516
|
"svg",
|
|
4512
4517
|
{
|
|
@@ -4536,7 +4541,7 @@ function rn({ className: t }) {
|
|
|
4536
4541
|
}
|
|
4537
4542
|
);
|
|
4538
4543
|
}
|
|
4539
|
-
function
|
|
4544
|
+
function kl({
|
|
4540
4545
|
isOpen: t,
|
|
4541
4546
|
onClose: a,
|
|
4542
4547
|
heading: r,
|
|
@@ -4563,7 +4568,7 @@ function Ll({
|
|
|
4563
4568
|
className: "min-h-[25vh]",
|
|
4564
4569
|
overlayClassName: "pitru-paksh-common-root",
|
|
4565
4570
|
footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
4566
|
-
|
|
4571
|
+
Q,
|
|
4567
4572
|
{
|
|
4568
4573
|
variant: "primary",
|
|
4569
4574
|
size: "xl",
|
|
@@ -4585,7 +4590,7 @@ function Ll({
|
|
|
4585
4590
|
value: d,
|
|
4586
4591
|
placeholder: l,
|
|
4587
4592
|
prefix: /* @__PURE__ */ e.jsxs("span", { className: "inline-flex shrink-0 items-center gap-1", children: [
|
|
4588
|
-
/* @__PURE__ */ e.jsx(
|
|
4593
|
+
/* @__PURE__ */ e.jsx(nn, { className: "size-6" }),
|
|
4589
4594
|
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#6b7280]", children: x.code })
|
|
4590
4595
|
] }),
|
|
4591
4596
|
maxLength: b,
|
|
@@ -4599,8 +4604,8 @@ function Ll({
|
|
|
4599
4604
|
}
|
|
4600
4605
|
);
|
|
4601
4606
|
}
|
|
4602
|
-
const
|
|
4603
|
-
function
|
|
4607
|
+
const ln = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
4608
|
+
function _l({
|
|
4604
4609
|
isOpen: t,
|
|
4605
4610
|
onClose: a,
|
|
4606
4611
|
heading: r,
|
|
@@ -4610,7 +4615,7 @@ function kl({
|
|
|
4610
4615
|
initialValue: u = "",
|
|
4611
4616
|
errorText: o = "Please enter a valid email"
|
|
4612
4617
|
}) {
|
|
4613
|
-
const [c, g] = V(u), [x, d] = V(!1), f = c.trim(), b =
|
|
4618
|
+
const [c, g] = V(u), [x, d] = V(!1), f = c.trim(), b = ln.test(f), p = x && f.length > 0 && !b, C = () => {
|
|
4614
4619
|
b && i(f);
|
|
4615
4620
|
};
|
|
4616
4621
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -4623,7 +4628,7 @@ function kl({
|
|
|
4623
4628
|
closeButtonOutside: !0,
|
|
4624
4629
|
ariaLabel: r,
|
|
4625
4630
|
footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
4626
|
-
|
|
4631
|
+
Q,
|
|
4627
4632
|
{
|
|
4628
4633
|
variant: "primary",
|
|
4629
4634
|
size: "xl",
|
|
@@ -4658,8 +4663,8 @@ function kl({
|
|
|
4658
4663
|
}
|
|
4659
4664
|
);
|
|
4660
4665
|
}
|
|
4661
|
-
const
|
|
4662
|
-
function
|
|
4666
|
+
const on = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
4667
|
+
function Pl({
|
|
4663
4668
|
chipNumber: t,
|
|
4664
4669
|
chipLabel: a,
|
|
4665
4670
|
isAdded: r,
|
|
@@ -4682,14 +4687,14 @@ function _l({
|
|
|
4682
4687
|
priceInfoLabel: _,
|
|
4683
4688
|
onPriceInfoClick: M,
|
|
4684
4689
|
price: G,
|
|
4685
|
-
cta:
|
|
4686
|
-
className:
|
|
4690
|
+
cta: I,
|
|
4691
|
+
className: B = ""
|
|
4687
4692
|
}) {
|
|
4688
4693
|
const [D, W] = V(!1), $ = r || D, P = $ && (x != null || d != null), L = $ && (j != null || v != null);
|
|
4689
4694
|
return /* @__PURE__ */ e.jsxs(
|
|
4690
4695
|
"div",
|
|
4691
4696
|
{
|
|
4692
|
-
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${$ ? "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)]"} ${
|
|
4697
|
+
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${$ ? "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}`,
|
|
4693
4698
|
children: [
|
|
4694
4699
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center", children: [
|
|
4695
4700
|
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 ${$ ? "py-4" : "pt-4"}`, children: [
|
|
@@ -4780,7 +4785,7 @@ function _l({
|
|
|
4780
4785
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: j })
|
|
4781
4786
|
] }),
|
|
4782
4787
|
v != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
4783
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
4788
|
+
/* @__PURE__ */ e.jsx("img", { src: on, alt: "", "aria-hidden": !0, className: "size-3.5 shrink-0" }),
|
|
4784
4789
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: v })
|
|
4785
4790
|
] })
|
|
4786
4791
|
] })
|
|
@@ -4803,7 +4808,7 @@ function _l({
|
|
|
4803
4808
|
] }),
|
|
4804
4809
|
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children: G })
|
|
4805
4810
|
] }),
|
|
4806
|
-
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children:
|
|
4811
|
+
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: I })
|
|
4807
4812
|
] })
|
|
4808
4813
|
] })
|
|
4809
4814
|
] })
|
|
@@ -4856,11 +4861,11 @@ const Kt = {
|
|
|
4856
4861
|
payButtonTemplate: "{amount} చెల్లించండి",
|
|
4857
4862
|
emailLabel: "ఇమెయిల్"
|
|
4858
4863
|
}
|
|
4859
|
-
},
|
|
4864
|
+
}, cn = (t) => Kt[t] ?? Kt.en;
|
|
4860
4865
|
function Zt({ children: t }) {
|
|
4861
4866
|
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 });
|
|
4862
4867
|
}
|
|
4863
|
-
function
|
|
4868
|
+
function dn({
|
|
4864
4869
|
isOpen: t,
|
|
4865
4870
|
onClose: a,
|
|
4866
4871
|
locale: r = "en",
|
|
@@ -4874,7 +4879,7 @@ function cn({
|
|
|
4874
4879
|
className: x,
|
|
4875
4880
|
isGlobal: d = !1
|
|
4876
4881
|
}) {
|
|
4877
|
-
const f =
|
|
4882
|
+
const f = cn(r), b = f.payButtonTemplate.replace("{amount}", o);
|
|
4878
4883
|
return /* @__PURE__ */ e.jsx(
|
|
4879
4884
|
Pe,
|
|
4880
4885
|
{
|
|
@@ -4890,7 +4895,7 @@ function cn({
|
|
|
4890
4895
|
] }),
|
|
4891
4896
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3 px-4 pb-4", children: [
|
|
4892
4897
|
/* @__PURE__ */ e.jsx(
|
|
4893
|
-
|
|
4898
|
+
Q,
|
|
4894
4899
|
{
|
|
4895
4900
|
variant: "outline",
|
|
4896
4901
|
size: "lg",
|
|
@@ -4900,7 +4905,7 @@ function cn({
|
|
|
4900
4905
|
}
|
|
4901
4906
|
),
|
|
4902
4907
|
/* @__PURE__ */ e.jsx(
|
|
4903
|
-
|
|
4908
|
+
Q,
|
|
4904
4909
|
{
|
|
4905
4910
|
variant: "primary",
|
|
4906
4911
|
size: "lg",
|
|
@@ -4972,7 +4977,7 @@ const Yt = {
|
|
|
4972
4977
|
closeButtonAriaLabel: "మూసివేయండి"
|
|
4973
4978
|
}
|
|
4974
4979
|
}, wa = (t) => Yt[t] ?? Yt.en;
|
|
4975
|
-
function
|
|
4980
|
+
function un({ isOpen: t, onClose: a, onOkayClick: r, locale: n = "en", className: l }) {
|
|
4976
4981
|
const i = wa(n);
|
|
4977
4982
|
return /* @__PURE__ */ e.jsx(
|
|
4978
4983
|
Pe,
|
|
@@ -4997,7 +5002,7 @@ function dn({ isOpen: t, onClose: a, onOkayClick: r, locale: n = "en", className
|
|
|
4997
5002
|
)
|
|
4998
5003
|
] }),
|
|
4999
5004
|
footer: /* @__PURE__ */ e.jsx("div", { className: "w-full px-4 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
5000
|
-
|
|
5005
|
+
Q,
|
|
5001
5006
|
{
|
|
5002
5007
|
variant: "primary",
|
|
5003
5008
|
size: "xl",
|
|
@@ -5136,7 +5141,7 @@ const qt = {
|
|
|
5136
5141
|
proceedCtaLabel: "ವಿವರಗಳನ್ನು ಭರ್ತಿ ಮಾಡಲು ಮುಂದುವರಿಯಿರಿ",
|
|
5137
5142
|
kashyapGotraLabel: "ಕಶ್ಯಪ"
|
|
5138
5143
|
}
|
|
5139
|
-
},
|
|
5144
|
+
}, xn = (t) => {
|
|
5140
5145
|
const a = qt.en, r = qt[t];
|
|
5141
5146
|
return r ? Object.fromEntries(
|
|
5142
5147
|
Object.keys(a).map((n) => [
|
|
@@ -5151,16 +5156,16 @@ const qt = {
|
|
|
5151
5156
|
// Kannada ordinals are regular (number + "ನೇ"), unlike English's — per
|
|
5152
5157
|
// Figma node 7650:35513 ("1ನೇ ಕರ್ತೃವಿನ ಹೆಸರು", "2ನೇ ...", "3ನೇ ...").
|
|
5153
5158
|
kn: ["1ನೇ", "2ನೇ", "3ನೇ", "4ನೇ", "5ನೇ", "6ನೇ", "7ನೇ", "8ನೇ", "9ನೇ", "10ನೇ"]
|
|
5154
|
-
},
|
|
5159
|
+
}, fn = {
|
|
5155
5160
|
en: "th",
|
|
5156
5161
|
hi: "वें",
|
|
5157
5162
|
te: "వ",
|
|
5158
5163
|
kn: "ನೇ"
|
|
5159
|
-
},
|
|
5164
|
+
}, mn = (t, a) => {
|
|
5160
5165
|
const r = a in Xt ? a : "en";
|
|
5161
|
-
return Xt[r][t - 1] ?? `${t}${
|
|
5162
|
-
}, at = 40,
|
|
5163
|
-
function
|
|
5166
|
+
return Xt[r][t - 1] ?? `${t}${fn[r]}`;
|
|
5167
|
+
}, at = 40, pn = 3, st = "+91", hn = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, bn = /[^\p{L}\s]/gu, Qt = (t) => t.replace(bn, ""), Ae = (t) => t.trim().length >= pn;
|
|
5168
|
+
function Sl({
|
|
5164
5169
|
locale: t = "en",
|
|
5165
5170
|
values: a,
|
|
5166
5171
|
onValuesChange: r,
|
|
@@ -5183,17 +5188,17 @@ function Pl({
|
|
|
5183
5188
|
onConfirmModalDismiss: _,
|
|
5184
5189
|
onGotraInfoOpen: M,
|
|
5185
5190
|
onGotraInfoOkayClick: G,
|
|
5186
|
-
className:
|
|
5191
|
+
className: I
|
|
5187
5192
|
}) {
|
|
5188
|
-
const [
|
|
5193
|
+
const [B, D] = V(!1), [W, $] = V(!1), P = xn(t), L = f ? Object.fromEntries(
|
|
5189
5194
|
Object.keys(P).map((w) => [w, f[w] || P[w]])
|
|
5190
|
-
) : P, F = wa(t),
|
|
5191
|
-
const q =
|
|
5195
|
+
) : P, F = wa(t), J = (w) => {
|
|
5196
|
+
const q = mn(w + 1, t);
|
|
5192
5197
|
return w === 0 ? `*${q} ${L.kartaNameLabel}` : `${q} ${L.kartaNameLabel} ${L.kartaNameOptionalSuffix}`;
|
|
5193
5198
|
}, U = (w) => r({ ...a, ...w }), ee = (w, q) => {
|
|
5194
5199
|
const ae = [...a.kartaNames];
|
|
5195
5200
|
ae[w] = Qt(q), U({ kartaNames: ae });
|
|
5196
|
-
},
|
|
5201
|
+
}, K = (w, q) => {
|
|
5197
5202
|
U({
|
|
5198
5203
|
ancestors: a.ancestors.map(
|
|
5199
5204
|
(ae) => ae.id === w ? { ...ae, value: Qt(q) } : ae
|
|
@@ -5221,19 +5226,19 @@ function Pl({
|
|
|
5221
5226
|
}, Se = () => {
|
|
5222
5227
|
const w = !a.isGotraUnknown;
|
|
5223
5228
|
U({ isGotraUnknown: w, gotra: w ? L.kashyapGotraLabel : "" });
|
|
5224
|
-
}, fe = sa(st),
|
|
5229
|
+
}, fe = sa(st), Ie = ra(
|
|
5225
5230
|
a.whatsappNumber,
|
|
5226
5231
|
st
|
|
5227
|
-
).isValid, Te =
|
|
5232
|
+
).isValid, Te = hn.test(a.email), Ye = a.whatsappNumber.length > 0 && !Ie, qe = a.email.length > 0 && !Te, ve = (n ? Te : a.whatsappNumber.trim().length > 0 && Ie) && Ae(a.kartaNames[0]) && // Karta names after the first are optional (see `getKartaNameLabel`) —
|
|
5228
5233
|
// left blank is fine, but a partially-typed one still has to clear
|
|
5229
5234
|
// `MIN_NAME_LENGTH` like every other name field.
|
|
5230
|
-
a.kartaNames.slice(1).every((w) => w.trim().length === 0 || Ae(w)) && a.gotra.trim().length > 0 && a.ancestors.every((w) => Ae(w.value)), me = d ?? ve,
|
|
5235
|
+
a.kartaNames.slice(1).every((w) => w.trim().length === 0 || Ae(w)) && a.gotra.trim().length > 0 && a.ancestors.every((w) => Ae(w.value)), me = d ?? ve, Be = a.gotra.trim().length > 0 ? a.gotra : L.kashyapGotraLabel, De = n ? a.email : a.whatsappNumber, ye = t;
|
|
5231
5236
|
return /* @__PURE__ */ e.jsxs(
|
|
5232
5237
|
"div",
|
|
5233
5238
|
{
|
|
5234
5239
|
className: m(
|
|
5235
5240
|
"flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]",
|
|
5236
|
-
|
|
5241
|
+
I
|
|
5237
5242
|
),
|
|
5238
5243
|
children: [
|
|
5239
5244
|
/* @__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: [
|
|
@@ -5304,7 +5309,7 @@ function Pl({
|
|
|
5304
5309
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5", children: a.kartaNames.map((w, q) => /* @__PURE__ */ e.jsx(
|
|
5305
5310
|
ue,
|
|
5306
5311
|
{
|
|
5307
|
-
label:
|
|
5312
|
+
label: J(q),
|
|
5308
5313
|
placeholder: L.kartaNamePlaceholder,
|
|
5309
5314
|
value: w,
|
|
5310
5315
|
maxLength: at,
|
|
@@ -5445,7 +5450,7 @@ function Pl({
|
|
|
5445
5450
|
error: q != null,
|
|
5446
5451
|
supportingText: q,
|
|
5447
5452
|
wrapperClassName: "h-12 rounded-xl",
|
|
5448
|
-
onChange: (ae) =>
|
|
5453
|
+
onChange: (ae) => K(w.id, ae),
|
|
5449
5454
|
onBlur: () => T(w.id)
|
|
5450
5455
|
},
|
|
5451
5456
|
w.id
|
|
@@ -5473,10 +5478,10 @@ function Pl({
|
|
|
5473
5478
|
}
|
|
5474
5479
|
) }),
|
|
5475
5480
|
/* @__PURE__ */ e.jsx(
|
|
5476
|
-
|
|
5481
|
+
dn,
|
|
5477
5482
|
{
|
|
5478
5483
|
isGlobal: n,
|
|
5479
|
-
isOpen:
|
|
5484
|
+
isOpen: B,
|
|
5480
5485
|
onClose: () => {
|
|
5481
5486
|
D(!1), _?.();
|
|
5482
5487
|
},
|
|
@@ -5493,7 +5498,7 @@ function Pl({
|
|
|
5493
5498
|
...a.ancestors
|
|
5494
5499
|
] : a.ancestors,
|
|
5495
5500
|
kartaNames: a.kartaNames,
|
|
5496
|
-
gotra:
|
|
5501
|
+
gotra: Be,
|
|
5497
5502
|
whatsappNumber: De,
|
|
5498
5503
|
amount: o,
|
|
5499
5504
|
onProceedPayment: () => {
|
|
@@ -5502,7 +5507,7 @@ function Pl({
|
|
|
5502
5507
|
}
|
|
5503
5508
|
),
|
|
5504
5509
|
/* @__PURE__ */ e.jsx(
|
|
5505
|
-
|
|
5510
|
+
un,
|
|
5506
5511
|
{
|
|
5507
5512
|
isOpen: W,
|
|
5508
5513
|
onClose: () => $(!1),
|
|
@@ -5514,7 +5519,7 @@ function Pl({
|
|
|
5514
5519
|
}
|
|
5515
5520
|
);
|
|
5516
5521
|
}
|
|
5517
|
-
function
|
|
5522
|
+
function Tl(t = 3, a = []) {
|
|
5518
5523
|
return {
|
|
5519
5524
|
whatsappNumber: "",
|
|
5520
5525
|
email: "",
|
|
@@ -5524,7 +5529,7 @@ function Sl(t = 3, a = []) {
|
|
|
5524
5529
|
ancestors: a
|
|
5525
5530
|
};
|
|
5526
5531
|
}
|
|
5527
|
-
function
|
|
5532
|
+
function gn({ date: t }) {
|
|
5528
5533
|
return /* @__PURE__ */ e.jsx(
|
|
5529
5534
|
"div",
|
|
5530
5535
|
{
|
|
@@ -5536,8 +5541,8 @@ function bn({ date: t }) {
|
|
|
5536
5541
|
}
|
|
5537
5542
|
);
|
|
5538
5543
|
}
|
|
5539
|
-
const
|
|
5540
|
-
function
|
|
5544
|
+
const jn = "https://srm-cdn.a4b.io/yoda/1788173590414.svg", Jt = "https://srm-cdn.a4b.io/yoda/1788173668895.svg";
|
|
5545
|
+
function vn({ badgeLabel: t, dateLabel: a, className: r }) {
|
|
5541
5546
|
return /* @__PURE__ */ e.jsxs("div", { className: m("flex flex-col items-center gap-1", r), children: [
|
|
5542
5547
|
/* @__PURE__ */ e.jsxs("div", { className: "relative flex size-22.5 items-center justify-center", children: [
|
|
5543
5548
|
/* @__PURE__ */ e.jsx(
|
|
@@ -5566,36 +5571,36 @@ function jn({ badgeLabel: t, dateLabel: a, className: r }) {
|
|
|
5566
5571
|
}
|
|
5567
5572
|
}
|
|
5568
5573
|
),
|
|
5569
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
5574
|
+
/* @__PURE__ */ e.jsx("img", { src: jn, alt: "Sri Mandir", className: "relative z-10 mt-3 h-14 w-auto object-contain" })
|
|
5570
5575
|
] }),
|
|
5571
5576
|
/* @__PURE__ */ e.jsxs("p", { className: "-mt-2.75 text-xs font-semibold text-[#d51f68]", children: [
|
|
5572
5577
|
"✦ ",
|
|
5573
5578
|
t,
|
|
5574
5579
|
" ✦"
|
|
5575
5580
|
] }),
|
|
5576
|
-
a && /* @__PURE__ */ e.jsx(
|
|
5581
|
+
a && /* @__PURE__ */ e.jsx(gn, { date: a })
|
|
5577
5582
|
] });
|
|
5578
5583
|
}
|
|
5579
|
-
const ea = "https://srm-cdn.a4b.io/yoda/1788256892735.svg",
|
|
5580
|
-
function
|
|
5584
|
+
const ea = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", yn = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", Nn = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", wn = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", Cn = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", Ln = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
|
|
5585
|
+
function kn({ variant: t }) {
|
|
5581
5586
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
5582
5587
|
t === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
5583
5588
|
/* @__PURE__ */ e.jsx("img", { src: ea, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
|
|
5584
5589
|
/* @__PURE__ */ e.jsx("img", { src: ea, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
|
|
5585
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
5590
|
+
/* @__PURE__ */ e.jsx("img", { src: yn, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
|
|
5586
5591
|
] }),
|
|
5587
5592
|
t === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
|
|
5588
5593
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]" }),
|
|
5589
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
5594
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src: Nn, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
5590
5595
|
] }),
|
|
5591
5596
|
t === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
|
|
5592
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
5593
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
5594
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
5597
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: wn, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
5598
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src: Cn, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
5599
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src: Ln, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
5595
5600
|
] })
|
|
5596
5601
|
] });
|
|
5597
5602
|
}
|
|
5598
|
-
function
|
|
5603
|
+
function Rl({
|
|
5599
5604
|
badgeLabel: t,
|
|
5600
5605
|
headingPrefix: a,
|
|
5601
5606
|
ritualCount: r,
|
|
@@ -5605,7 +5610,7 @@ function Tl({
|
|
|
5605
5610
|
}) {
|
|
5606
5611
|
return /* @__PURE__ */ e.jsxs("section", { className: "relative flex w-full flex-col items-center gap-3 rounded-b-4xl border-b-2 border-[#FCCF9A] bg-linear-to-b from-white to-[#FFEFDB] px-5 py-4 z-20", children: [
|
|
5607
5612
|
/* @__PURE__ */ e.jsx(
|
|
5608
|
-
|
|
5613
|
+
vn,
|
|
5609
5614
|
{
|
|
5610
5615
|
badgeLabel: t,
|
|
5611
5616
|
className: "w-full"
|
|
@@ -5624,7 +5629,7 @@ function Tl({
|
|
|
5624
5629
|
{
|
|
5625
5630
|
className: "flex w-25 flex-col items-center gap-1 py-2",
|
|
5626
5631
|
children: [
|
|
5627
|
-
/* @__PURE__ */ e.jsx(
|
|
5632
|
+
/* @__PURE__ */ e.jsx(kn, { variant: u.variant }),
|
|
5628
5633
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: u.text })
|
|
5629
5634
|
]
|
|
5630
5635
|
},
|
|
@@ -5632,8 +5637,8 @@ function Tl({
|
|
|
5632
5637
|
)) })
|
|
5633
5638
|
] });
|
|
5634
5639
|
}
|
|
5635
|
-
const
|
|
5636
|
-
function
|
|
5640
|
+
const _n = 40;
|
|
5641
|
+
function El({
|
|
5637
5642
|
isOpen: t,
|
|
5638
5643
|
onClose: a,
|
|
5639
5644
|
onSave: r,
|
|
@@ -5643,7 +5648,7 @@ function Rl({
|
|
|
5643
5648
|
namePlaceholder: u,
|
|
5644
5649
|
addMoreLabel: o,
|
|
5645
5650
|
saveCta: c,
|
|
5646
|
-
maxNameLength: g =
|
|
5651
|
+
maxNameLength: g = _n
|
|
5647
5652
|
}) {
|
|
5648
5653
|
const [x, d] = V([""]), f = () => d([""]), b = (y) => {
|
|
5649
5654
|
f(), a(y);
|
|
@@ -5652,7 +5657,7 @@ function Rl({
|
|
|
5652
5657
|
y.length !== 0 && (r(y), f());
|
|
5653
5658
|
}, C = x.some((y) => y.trim().length > 0);
|
|
5654
5659
|
return /* @__PURE__ */ e.jsx(
|
|
5655
|
-
|
|
5660
|
+
ze,
|
|
5656
5661
|
{
|
|
5657
5662
|
isOpen: t,
|
|
5658
5663
|
onClose: b,
|
|
@@ -5661,7 +5666,7 @@ function Rl({
|
|
|
5661
5666
|
ariaLabel: n,
|
|
5662
5667
|
header: /* @__PURE__ */ e.jsx("p", { className: "px-4 py-2 text-center text-[16px] leading-5.5 font-semibold text-[#47250c]", children: n }),
|
|
5663
5668
|
footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
5664
|
-
|
|
5669
|
+
Q,
|
|
5665
5670
|
{
|
|
5666
5671
|
variant: "primary",
|
|
5667
5672
|
size: "xl",
|
|
@@ -5687,7 +5692,7 @@ function Rl({
|
|
|
5687
5692
|
j
|
|
5688
5693
|
)),
|
|
5689
5694
|
/* @__PURE__ */ e.jsx(
|
|
5690
|
-
|
|
5695
|
+
Q,
|
|
5691
5696
|
{
|
|
5692
5697
|
variant: "ghost",
|
|
5693
5698
|
size: "sm",
|
|
@@ -5701,10 +5706,10 @@ function Rl({
|
|
|
5701
5706
|
}
|
|
5702
5707
|
);
|
|
5703
5708
|
}
|
|
5704
|
-
function
|
|
5709
|
+
function Pn(t) {
|
|
5705
5710
|
return t.replace(/Grand(father|mother)/gi, "Grand $1");
|
|
5706
5711
|
}
|
|
5707
|
-
const
|
|
5712
|
+
const Sn = Ya(function({ label: a, avatarUrl: r, state: n, onClick: l }, i) {
|
|
5708
5713
|
return /* @__PURE__ */ e.jsxs(
|
|
5709
5714
|
"button",
|
|
5710
5715
|
{
|
|
@@ -5728,13 +5733,13 @@ const Pn = Ya(function({ label: a, avatarUrl: r, state: n, onClick: l }, i) {
|
|
|
5728
5733
|
"p",
|
|
5729
5734
|
{
|
|
5730
5735
|
className: `w-full text-center text-[10px] leading-4.5 font-bold wrap-break-word ${n === "enabled" ? "text-[#f75e22]" : n === "filled" ? "text-[#374151]" : "text-[#9ca3af]"}`,
|
|
5731
|
-
children:
|
|
5736
|
+
children: Pn(a)
|
|
5732
5737
|
}
|
|
5733
5738
|
)
|
|
5734
5739
|
]
|
|
5735
5740
|
}
|
|
5736
5741
|
);
|
|
5737
|
-
}), Ca = "all",
|
|
5742
|
+
}), Ca = "all", Tn = [
|
|
5738
5743
|
{ id: Ca, labelKey: "selectAncestorsOptionAll" },
|
|
5739
5744
|
{ id: "mother", labelKey: "selectAncestorsOptionMother", gender: "female" },
|
|
5740
5745
|
{ id: "father", labelKey: "selectAncestorsOptionFather", gender: "male" },
|
|
@@ -5748,13 +5753,13 @@ const Pn = Ya(function({ label: a, avatarUrl: r, state: n, onClick: l }, i) {
|
|
|
5748
5753
|
{ id: "greatGrandmotherPaternal", labelKey: "selectAncestorsOptionGreatGrandmotherPaternal", gender: "female" },
|
|
5749
5754
|
{ id: "greatGrandfatherMaternal", labelKey: "selectAncestorsOptionGreatGrandfatherMaternal", gender: "male" },
|
|
5750
5755
|
{ id: "greatGrandmotherMaternal", labelKey: "selectAncestorsOptionGreatGrandmotherMaternal", gender: "female" }
|
|
5751
|
-
],
|
|
5752
|
-
function
|
|
5753
|
-
if (t === Ca) return
|
|
5754
|
-
const a =
|
|
5755
|
-
return a ? a.gender === "female" ?
|
|
5756
|
+
], Rn = "https://srm-cdn.a4b.io/yoda/1788334548628.webp", En = "https://srm-cdn.a4b.io/yoda/1788334564281.webp", An = "https://srm-cdn.a4b.io/yoda/1789386222504.svg", On = "https://srm-cdn.a4b.io/yoda/1789653082304.webp";
|
|
5757
|
+
function Mn(t) {
|
|
5758
|
+
if (t === Ca) return On;
|
|
5759
|
+
const a = Tn.find((r) => r.id === t);
|
|
5760
|
+
return a ? a.gender === "female" ? En : Rn : An;
|
|
5756
5761
|
}
|
|
5757
|
-
const
|
|
5762
|
+
const Al = [
|
|
5758
5763
|
{
|
|
5759
5764
|
value: "tithi",
|
|
5760
5765
|
iconUrl: "https://srm-cdn.a4b.io/yoda/1788883529190.svg",
|
|
@@ -5773,7 +5778,7 @@ const El = [
|
|
|
5773
5778
|
titleKey: "deathTithiOption3Title",
|
|
5774
5779
|
subtextKey: "deathTithiOption3Subtext"
|
|
5775
5780
|
}
|
|
5776
|
-
],
|
|
5781
|
+
], Ol = [
|
|
5777
5782
|
"tithiNamePratipada",
|
|
5778
5783
|
"tithiNameDvitiya",
|
|
5779
5784
|
"tithiNameTritiya",
|
|
@@ -5790,7 +5795,7 @@ const El = [
|
|
|
5790
5795
|
"tithiNameChaturdashi",
|
|
5791
5796
|
"tithiNameAmavasya"
|
|
5792
5797
|
];
|
|
5793
|
-
function
|
|
5798
|
+
function Ml({
|
|
5794
5799
|
entries: t,
|
|
5795
5800
|
viewedIndex: a,
|
|
5796
5801
|
isEntryFilled: r,
|
|
@@ -5812,11 +5817,11 @@ function Ol({
|
|
|
5812
5817
|
const g = r(o.key), x = n(c), d = c === a, f = d ? "enabled" : g ? "filled" : "disabled";
|
|
5813
5818
|
return /* @__PURE__ */ e.jsxs(qa, { children: [
|
|
5814
5819
|
/* @__PURE__ */ e.jsx(
|
|
5815
|
-
|
|
5820
|
+
Sn,
|
|
5816
5821
|
{
|
|
5817
5822
|
ref: d ? u : void 0,
|
|
5818
5823
|
label: o.label,
|
|
5819
|
-
avatarUrl:
|
|
5824
|
+
avatarUrl: Mn(o.key),
|
|
5820
5825
|
state: f,
|
|
5821
5826
|
onClick: x ? () => l(c) : void 0
|
|
5822
5827
|
}
|
|
@@ -5832,8 +5837,8 @@ function Ol({
|
|
|
5832
5837
|
}
|
|
5833
5838
|
);
|
|
5834
5839
|
}
|
|
5835
|
-
const
|
|
5836
|
-
function
|
|
5840
|
+
const zn = "https://srm-cdn.a4b.io/yoda/1788163138113.svg";
|
|
5841
|
+
function zl({
|
|
5837
5842
|
isOpen: t,
|
|
5838
5843
|
onClose: a,
|
|
5839
5844
|
avatarUrl: r,
|
|
@@ -5856,7 +5861,7 @@ function Ml({
|
|
|
5856
5861
|
},
|
|
5857
5862
|
children: /* @__PURE__ */ e.jsxs("div", { className: "avatar-card-dialog__card", children: [
|
|
5858
5863
|
/* @__PURE__ */ e.jsxs("div", { className: "avatar-card-dialog__avatar", children: [
|
|
5859
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
5864
|
+
/* @__PURE__ */ e.jsx("img", { src: zn, alt: "", className: "avatar-card-dialog__avatar-glow" }),
|
|
5860
5865
|
/* @__PURE__ */ e.jsx("img", { src: r, alt: "", className: "avatar-card-dialog__avatar-image" })
|
|
5861
5866
|
] }),
|
|
5862
5867
|
/* @__PURE__ */ e.jsxs("div", { className: "avatar-card-dialog__content", children: [
|
|
@@ -5876,7 +5881,7 @@ function Ml({
|
|
|
5876
5881
|
)
|
|
5877
5882
|
] }),
|
|
5878
5883
|
/* @__PURE__ */ e.jsx(
|
|
5879
|
-
|
|
5884
|
+
Q,
|
|
5880
5885
|
{
|
|
5881
5886
|
variant: "primary",
|
|
5882
5887
|
size: "md",
|
|
@@ -5901,7 +5906,7 @@ function Bl(t = "en-IN") {
|
|
|
5901
5906
|
const a = new Intl.DateTimeFormat(t, { month: "long" });
|
|
5902
5907
|
return Array.from({ length: 12 }, (r, n) => a.format(new Date(2e3, n, 1)));
|
|
5903
5908
|
}
|
|
5904
|
-
function
|
|
5909
|
+
function Dl(t, a) {
|
|
5905
5910
|
const r = In(t);
|
|
5906
5911
|
return r ? `${r.day} ${a[r.month - 1]} ${r.year}` : t;
|
|
5907
5912
|
}
|
|
@@ -5933,7 +5938,7 @@ const ta = {
|
|
|
5933
5938
|
value: "ಎಲ್ಲಾ ಪೂರ್ವಜರಿಗಾಗಿ",
|
|
5934
5939
|
helperText: "ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಇದನ್ನು ಪಠಿಸುತ್ತಾರೆ"
|
|
5935
5940
|
}
|
|
5936
|
-
},
|
|
5941
|
+
}, Dn = (t) => ta[t] ?? ta.en, Fn = k.forwardRef(
|
|
5937
5942
|
({
|
|
5938
5943
|
locale: t = "en",
|
|
5939
5944
|
title: a,
|
|
@@ -5947,7 +5952,7 @@ const ta = {
|
|
|
5947
5952
|
helperTextClassName: g,
|
|
5948
5953
|
...x
|
|
5949
5954
|
}, d) => {
|
|
5950
|
-
const f =
|
|
5955
|
+
const f = Dn(t);
|
|
5951
5956
|
return /* @__PURE__ */ e.jsxs(
|
|
5952
5957
|
"div",
|
|
5953
5958
|
{
|
|
@@ -5978,11 +5983,11 @@ const ta = {
|
|
|
5978
5983
|
);
|
|
5979
5984
|
}
|
|
5980
5985
|
);
|
|
5981
|
-
|
|
5986
|
+
Fn.displayName = "SarvaPitruCard";
|
|
5982
5987
|
function He(t, a) {
|
|
5983
5988
|
return t.find((r) => r[a] != null);
|
|
5984
5989
|
}
|
|
5985
|
-
function
|
|
5990
|
+
function Fl(t) {
|
|
5986
5991
|
const a = t.data.cards, r = He(a, "store"), n = He(
|
|
5987
5992
|
a,
|
|
5988
5993
|
"user_reviews"
|
|
@@ -6025,7 +6030,7 @@ function Dl(t) {
|
|
|
6025
6030
|
}))
|
|
6026
6031
|
};
|
|
6027
6032
|
}
|
|
6028
|
-
const
|
|
6033
|
+
const Hn = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", Vn = "https://srm-cdn.a4b.io/yoda/1789996033193.svg", Ve = (t) => typeof t == "number" ? `${t}px` : t;
|
|
6029
6034
|
function aa({ className: t }) {
|
|
6030
6035
|
return /* @__PURE__ */ e.jsx("svg", { className: t, width: "8", height: "8", viewBox: "0 0 8 8", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
6031
6036
|
"path",
|
|
@@ -6035,7 +6040,7 @@ function aa({ className: t }) {
|
|
|
6035
6040
|
}
|
|
6036
6041
|
) });
|
|
6037
6042
|
}
|
|
6038
|
-
function
|
|
6043
|
+
function Hl({
|
|
6039
6044
|
badgeLabel: t,
|
|
6040
6045
|
dateRangeLabel: a,
|
|
6041
6046
|
headline: r,
|
|
@@ -6058,7 +6063,7 @@ function Fl({
|
|
|
6058
6063
|
i && /* @__PURE__ */ e.jsx(
|
|
6059
6064
|
"img",
|
|
6060
6065
|
{
|
|
6061
|
-
src:
|
|
6066
|
+
src: Vn,
|
|
6062
6067
|
alt: "",
|
|
6063
6068
|
"aria-hidden": !0,
|
|
6064
6069
|
className: "pointer-events-none absolute z-0 h-auto",
|
|
@@ -6066,7 +6071,7 @@ function Fl({
|
|
|
6066
6071
|
}
|
|
6067
6072
|
),
|
|
6068
6073
|
/* @__PURE__ */ e.jsxs("div", { className: "relative z-10 flex flex-col items-center gap-1", children: [
|
|
6069
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
6074
|
+
/* @__PURE__ */ e.jsx("img", { src: Hn, alt: "Sri Mandir", className: "h-14 w-auto object-contain" }),
|
|
6070
6075
|
/* @__PURE__ */ e.jsxs("p", { className: "flex items-center gap-1 text-xs font-semibold leading-4 text-[#d51f68]", children: [
|
|
6071
6076
|
/* @__PURE__ */ e.jsx(aa, {}),
|
|
6072
6077
|
t,
|
|
@@ -6088,7 +6093,7 @@ function Fl({
|
|
|
6088
6093
|
}
|
|
6089
6094
|
);
|
|
6090
6095
|
}
|
|
6091
|
-
function
|
|
6096
|
+
function Vl({
|
|
6092
6097
|
amount: t,
|
|
6093
6098
|
amountClassName: a,
|
|
6094
6099
|
subtitle: r,
|
|
@@ -6131,7 +6136,7 @@ function Hl({
|
|
|
6131
6136
|
r && /* @__PURE__ */ e.jsx("p", { className: m("text-xs leading-4 text-gray-500", n), children: r })
|
|
6132
6137
|
] }),
|
|
6133
6138
|
/* @__PURE__ */ e.jsxs(
|
|
6134
|
-
|
|
6139
|
+
Q,
|
|
6135
6140
|
{
|
|
6136
6141
|
variant: "primary",
|
|
6137
6142
|
size: "xl",
|
|
@@ -6155,104 +6160,104 @@ function Hl({
|
|
|
6155
6160
|
}
|
|
6156
6161
|
export {
|
|
6157
6162
|
Ca as ALL_ANCESTORS_ID,
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
|
|
6163
|
+
Tn as ANCESTOR_OPTIONS,
|
|
6164
|
+
El as AddAncestorSheet,
|
|
6165
|
+
Sn as AncestorTab,
|
|
6166
|
+
Ml as AncestorTabRow,
|
|
6167
|
+
fl as AudioQuestionCard,
|
|
6168
|
+
zl as AvatarCardDialog,
|
|
6164
6169
|
Vt as BOOKING_SUMMARY_BANNER_DEFAULT_COPY,
|
|
6165
6170
|
Na as BillDetails,
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6171
|
+
yl as BillDetailsSheet,
|
|
6172
|
+
en as BookingSummaryBanner,
|
|
6173
|
+
Q as Button,
|
|
6169
6174
|
Ft as CHECKOUT_BAR_DEFAULT_COPY,
|
|
6170
6175
|
Kt as CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY,
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
|
|
6176
|
+
An as CUSTOM_ANCESTOR_AVATAR_URL,
|
|
6177
|
+
jl as CartReviewAddedBadge,
|
|
6178
|
+
gl as CartReviewChangeButton,
|
|
6174
6179
|
pa as CartReviewItem,
|
|
6175
6180
|
mr as CartReviewMandapItem,
|
|
6176
|
-
|
|
6177
|
-
|
|
6181
|
+
Nl as CartView,
|
|
6182
|
+
Xn as CheckIcon,
|
|
6178
6183
|
ct as CheckoutBar,
|
|
6179
6184
|
or as Chip,
|
|
6180
6185
|
Pe as ConfinedBottomSheet,
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6186
|
+
dn as ConfirmPujaDetailsModal,
|
|
6187
|
+
Al as DEATH_TITHI_OPTIONS,
|
|
6188
|
+
Cl as DatePickerSheet,
|
|
6189
|
+
gn as DatesCard,
|
|
6190
|
+
il as DevoteesReviews,
|
|
6191
|
+
_l as EmailSheet,
|
|
6192
|
+
Hl as EventHeader,
|
|
6193
|
+
dl as FAQAccordion,
|
|
6189
6194
|
nr as FAQSection,
|
|
6190
|
-
|
|
6195
|
+
En as FEMALE_ANCESTOR_AVATAR_URL,
|
|
6191
6196
|
Yt as GOTRA_INFO_MODAL_DEFAULT_COPY,
|
|
6192
|
-
|
|
6193
|
-
|
|
6197
|
+
un as GotraInfoModal,
|
|
6198
|
+
vn as HeroLogoBadge,
|
|
6194
6199
|
Me as IconBadge,
|
|
6195
|
-
|
|
6200
|
+
Pl as L2Card,
|
|
6196
6201
|
ma as LanguageSwitcher,
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6202
|
+
Rn as MALE_ANCESTOR_AVATAR_URL,
|
|
6203
|
+
Kn as OUTCOME_SUPPORTED_LOCALES,
|
|
6204
|
+
ol as OUTCOME_TRUST_ITEMS,
|
|
6205
|
+
tl as OnlinePujaTestimonial,
|
|
6206
|
+
Qn as OutcomeAncestorEditModal,
|
|
6207
|
+
Yn as OutcomeBillDetails,
|
|
6203
6208
|
ys as OutcomeButton,
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6209
|
+
el as OutcomeEmptyRituals,
|
|
6210
|
+
Zn as OutcomeI18nProvider,
|
|
6211
|
+
Jn as OutcomeStickyCta,
|
|
6212
|
+
Rl as OutcomeSummary,
|
|
6208
6213
|
Ht as PACKAGE_SELECT_DEFAULT_COPY,
|
|
6209
6214
|
qt as PUJA_DETAILS_FORM_DEFAULT_COPY,
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6215
|
+
vl as PackageSelect,
|
|
6216
|
+
kl as PhoneNumberSheet,
|
|
6217
|
+
qn as PlusIcon,
|
|
6218
|
+
sl as ProcessInvolved,
|
|
6219
|
+
nl as PujaBenefitsSection,
|
|
6220
|
+
rl as PujaDetailsCarouselHeader,
|
|
6221
|
+
Sl as PujaDetailsForm,
|
|
6222
|
+
bl as QuantityStepper,
|
|
6223
|
+
Vl as RitualProceedBar,
|
|
6219
6224
|
ta as SARVA_PITRU_CARD_DEFAULT_COPY,
|
|
6220
|
-
|
|
6225
|
+
Fn as SarvaPitruCard,
|
|
6221
6226
|
ot as SelectorCard,
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6227
|
+
ml as SelectorCardEditableField,
|
|
6228
|
+
pl as SelectorCardInfoRow,
|
|
6229
|
+
hl as SelectorCardNote,
|
|
6225
6230
|
fr as SelectorCardPriceBadge,
|
|
6226
|
-
|
|
6231
|
+
Zr as ServiceOfferCard,
|
|
6227
6232
|
Pr as ServiceOfferSheet,
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6233
|
+
xl as StepProgressHeader,
|
|
6234
|
+
Ol as TITHI_NAME_KEYS,
|
|
6235
|
+
ll as TempleSignificanceSection,
|
|
6236
|
+
cl as TestimonialCard,
|
|
6232
6237
|
ue as TextField,
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6238
|
+
Ll as TimeOfBirthPickerSheet,
|
|
6239
|
+
wl as TithiPickerSheet,
|
|
6240
|
+
ul as TopBar,
|
|
6241
|
+
qr as TrustBadgesBar,
|
|
6237
6242
|
lr as VideoPlayer,
|
|
6238
|
-
|
|
6243
|
+
al as WhySriMandir,
|
|
6239
6244
|
rr as buttonVariants,
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6245
|
+
Gl as cn,
|
|
6246
|
+
Tl as createEmptyPujaDetailsFormValues,
|
|
6247
|
+
Dl as formatDisplayDate,
|
|
6243
6248
|
Il as formatIsoDate,
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
|
|
6249
|
+
Mn as getAncestorAvatarUrl,
|
|
6250
|
+
Jr as getBookingSummaryBannerDefaultCopy,
|
|
6251
|
+
Xr as getCheckoutBarDefaultCopy,
|
|
6252
|
+
cn as getConfirmPujaDetailsModalDefaultCopy,
|
|
6248
6253
|
wa as getGotraInfoModalDefaultCopy,
|
|
6249
|
-
|
|
6254
|
+
mn as getKartaOrdinalLabel,
|
|
6250
6255
|
Bl as getMonthLabels,
|
|
6251
6256
|
Nt as getOutcomeTranslation,
|
|
6252
|
-
|
|
6253
|
-
|
|
6254
|
-
|
|
6255
|
-
|
|
6257
|
+
Qr as getPackageSelectDefaultCopy,
|
|
6258
|
+
xn as getPujaDetailsFormDefaultCopy,
|
|
6259
|
+
Dn as getSarvaPitruCardDefaultCopy,
|
|
6260
|
+
Fl as mapPujaL2Response,
|
|
6256
6261
|
rt as outcomeTranslations,
|
|
6257
6262
|
In as parseIsoDate,
|
|
6258
6263
|
ke as useOutcomeI18n
|