@srimandir/pitru-paksh-common 2.58.0 → 2.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createI18n as Ga, cn as
|
|
1
|
+
import { createI18n as Ga, cn as m, BottomSheet as ke, DEFAULT_COUNTRIES as Ua, getMaxLengthForCountry as sa, validatePhoneByCountryCode as ra, getFlagEmoji as Ka } from "@srimandir/common";
|
|
2
2
|
import { cn as $l } from "@srimandir/common";
|
|
3
3
|
import * as Za from "react";
|
|
4
4
|
import k, { useState as $, useRef as rt, useMemo as $e, useEffect as at, Fragment as Ya } from "react";
|
|
@@ -269,11 +269,11 @@ function as() {
|
|
|
269
269
|
wt = 1;
|
|
270
270
|
var t = k, a = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
271
271
|
function c(o, d, g) {
|
|
272
|
-
var x, u = {},
|
|
273
|
-
g !== void 0 && (
|
|
272
|
+
var x, u = {}, f = null, b = null;
|
|
273
|
+
g !== void 0 && (f = "" + g), d.key !== void 0 && (f = "" + d.key), d.ref !== void 0 && (b = d.ref);
|
|
274
274
|
for (x in d) n.call(d, x) && !i.hasOwnProperty(x) && (u[x] = d[x]);
|
|
275
275
|
if (o && o.defaultProps) for (x in d = o.defaultProps, d) u[x] === void 0 && (u[x] = d[x]);
|
|
276
|
-
return { $$typeof: a, type: o, key:
|
|
276
|
+
return { $$typeof: a, type: o, key: f, ref: b, props: u, _owner: l.current };
|
|
277
277
|
}
|
|
278
278
|
return Re.Fragment = s, Re.jsx = c, Re.jsxs = c, Re;
|
|
279
279
|
}
|
|
@@ -281,14 +281,14 @@ var Ee = {};
|
|
|
281
281
|
var Ct;
|
|
282
282
|
function ss() {
|
|
283
283
|
return Ct || (Ct = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
284
|
-
var t = k, a = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), l = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.provider"), o = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), g = /* @__PURE__ */ Symbol.for("react.suspense"), x = /* @__PURE__ */ Symbol.for("react.suspense_list"), u = /* @__PURE__ */ Symbol.for("react.memo"),
|
|
285
|
-
function
|
|
284
|
+
var t = k, a = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), l = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.provider"), o = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), g = /* @__PURE__ */ Symbol.for("react.suspense"), x = /* @__PURE__ */ Symbol.for("react.suspense_list"), u = /* @__PURE__ */ Symbol.for("react.memo"), f = /* @__PURE__ */ Symbol.for("react.lazy"), b = /* @__PURE__ */ Symbol.for("react.offscreen"), p = Symbol.iterator, w = "@@iterator";
|
|
285
|
+
function v(r) {
|
|
286
286
|
if (r === null || typeof r != "object")
|
|
287
287
|
return null;
|
|
288
288
|
var h = p && r[p] || r[w];
|
|
289
289
|
return typeof h == "function" ? h : null;
|
|
290
290
|
}
|
|
291
|
-
var
|
|
291
|
+
var j = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
292
292
|
function y(r) {
|
|
293
293
|
{
|
|
294
294
|
for (var h = arguments.length, N = new Array(h > 1 ? h - 1 : 0), P = 1; P < h; P++)
|
|
@@ -298,7 +298,7 @@ function ss() {
|
|
|
298
298
|
}
|
|
299
299
|
function S(r, h, N) {
|
|
300
300
|
{
|
|
301
|
-
var P =
|
|
301
|
+
var P = j.ReactDebugCurrentFrame, M = P.getStackAddendum();
|
|
302
302
|
M !== "" && (h += "%s", N = N.concat([M]));
|
|
303
303
|
var V = N.map(function(A) {
|
|
304
304
|
return String(A);
|
|
@@ -309,7 +309,7 @@ function ss() {
|
|
|
309
309
|
var B = !1, U = !1, I = !1, z = !1, D = !1, F;
|
|
310
310
|
F = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
311
311
|
function G(r) {
|
|
312
|
-
return !!(typeof r == "string" || typeof r == "function" || r === n || r === i || D || r === l || r === g || r === x || z || r === b || B || U || I || typeof r == "object" && r !== null && (r.$$typeof ===
|
|
312
|
+
return !!(typeof r == "string" || typeof r == "function" || r === n || r === i || D || r === l || r === g || r === x || z || r === b || B || U || I || typeof r == "object" && r !== null && (r.$$typeof === f || r.$$typeof === u || r.$$typeof === c || r.$$typeof === o || r.$$typeof === d || // 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.
|
|
@@ -359,7 +359,7 @@ function ss() {
|
|
|
359
359
|
case u:
|
|
360
360
|
var P = r.displayName || null;
|
|
361
361
|
return P !== null ? P : H(r.type) || "Memo";
|
|
362
|
-
case
|
|
362
|
+
case f: {
|
|
363
363
|
var M = r, V = M._payload, A = M._init;
|
|
364
364
|
try {
|
|
365
365
|
return H(A(V));
|
|
@@ -432,8 +432,8 @@ function ss() {
|
|
|
432
432
|
W < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
|
-
var be =
|
|
436
|
-
function
|
|
435
|
+
var be = j.ReactCurrentDispatcher, ge;
|
|
436
|
+
function je(r, h, N) {
|
|
437
437
|
{
|
|
438
438
|
if (ge === void 0)
|
|
439
439
|
try {
|
|
@@ -519,7 +519,7 @@ function ss() {
|
|
|
519
519
|
} finally {
|
|
520
520
|
Se = !1, be.current = V, xe(), Error.prepareStackTrace = M;
|
|
521
521
|
}
|
|
522
|
-
var we = r ? r.displayName || r.name : "", pe = we ?
|
|
522
|
+
var we = r ? r.displayName || r.name : "", pe = we ? je(we) : "";
|
|
523
523
|
return typeof r == "function" && fe.set(r, pe), pe;
|
|
524
524
|
}
|
|
525
525
|
function Ke(r, h, N) {
|
|
@@ -529,39 +529,39 @@ function ss() {
|
|
|
529
529
|
var h = r.prototype;
|
|
530
530
|
return !!(h && h.isReactComponent);
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function ve(r, h, N) {
|
|
533
533
|
if (r == null)
|
|
534
534
|
return "";
|
|
535
535
|
if (typeof r == "function")
|
|
536
536
|
return Te(r, Ze(r));
|
|
537
537
|
if (typeof r == "string")
|
|
538
|
-
return
|
|
538
|
+
return je(r);
|
|
539
539
|
switch (r) {
|
|
540
540
|
case g:
|
|
541
|
-
return
|
|
541
|
+
return je("Suspense");
|
|
542
542
|
case x:
|
|
543
|
-
return
|
|
543
|
+
return je("SuspenseList");
|
|
544
544
|
}
|
|
545
545
|
if (typeof r == "object")
|
|
546
546
|
switch (r.$$typeof) {
|
|
547
547
|
case d:
|
|
548
548
|
return Ke(r.render);
|
|
549
549
|
case u:
|
|
550
|
-
return
|
|
551
|
-
case
|
|
550
|
+
return ve(r.type, h, N);
|
|
551
|
+
case f: {
|
|
552
552
|
var P = r, M = P._payload, V = P._init;
|
|
553
553
|
try {
|
|
554
|
-
return
|
|
554
|
+
return ve(V(M), h, N);
|
|
555
555
|
} catch {
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
return "";
|
|
560
560
|
}
|
|
561
|
-
var me = Object.prototype.hasOwnProperty, ze = {}, De =
|
|
561
|
+
var me = Object.prototype.hasOwnProperty, ze = {}, De = j.ReactDebugCurrentFrame;
|
|
562
562
|
function ye(r) {
|
|
563
563
|
if (r) {
|
|
564
|
-
var h = r._owner, N =
|
|
564
|
+
var h = r._owner, N = ve(r.type, r._source, h ? h.type : null);
|
|
565
565
|
De.setExtraStackFrame(N);
|
|
566
566
|
} else
|
|
567
567
|
De.setExtraStackFrame(null);
|
|
@@ -609,7 +609,7 @@ function ss() {
|
|
|
609
609
|
if (ka(r))
|
|
610
610
|
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", La(r)), dt(r);
|
|
611
611
|
}
|
|
612
|
-
var xt =
|
|
612
|
+
var xt = j.ReactCurrentOwner, _a = {
|
|
613
613
|
key: !0,
|
|
614
614
|
ref: !0,
|
|
615
615
|
__self: !0,
|
|
@@ -703,10 +703,10 @@ function ss() {
|
|
|
703
703
|
return Aa(r, R, ee, M, P, xt.current, A);
|
|
704
704
|
}
|
|
705
705
|
}
|
|
706
|
-
var Ye =
|
|
706
|
+
var Ye = j.ReactCurrentOwner, pt = j.ReactDebugCurrentFrame;
|
|
707
707
|
function Ne(r) {
|
|
708
708
|
if (r) {
|
|
709
|
-
var h = r._owner, N =
|
|
709
|
+
var h = r._owner, N = ve(r.type, r._source, h ? h.type : null);
|
|
710
710
|
pt.setExtraStackFrame(N);
|
|
711
711
|
} else
|
|
712
712
|
pt.setExtraStackFrame(null);
|
|
@@ -757,7 +757,7 @@ Check the top-level render call using <` + N + ">.");
|
|
|
757
757
|
r && r._owner && r._owner !== Ye.current && (P = " It was passed a child from " + H(r._owner.type) + "."), Ne(r), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', N, P), Ne(null);
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
|
-
function
|
|
760
|
+
function jt(r, h) {
|
|
761
761
|
{
|
|
762
762
|
if (typeof r != "object")
|
|
763
763
|
return;
|
|
@@ -769,7 +769,7 @@ Check the top-level render call using <` + N + ">.");
|
|
|
769
769
|
else if (Xe(r))
|
|
770
770
|
r._store && (r._store.validated = !0);
|
|
771
771
|
else if (r) {
|
|
772
|
-
var M =
|
|
772
|
+
var M = v(r);
|
|
773
773
|
if (typeof M == "function" && M !== r.entries)
|
|
774
774
|
for (var V = M.call(r), A; !(A = V.next()).done; )
|
|
775
775
|
Xe(A.value) && gt(A.value, h);
|
|
@@ -813,7 +813,7 @@ Check the top-level render call using <` + N + ">.");
|
|
|
813
813
|
r.ref !== null && (Ne(r), y("Invalid attribute `ref` supplied to `React.Fragment`."), Ne(null));
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
|
-
var
|
|
816
|
+
var vt = {};
|
|
817
817
|
function yt(r, h, N, P, M, V) {
|
|
818
818
|
{
|
|
819
819
|
var A = G(r);
|
|
@@ -834,25 +834,25 @@ Check the top-level render call using <` + N + ">.");
|
|
|
834
834
|
if (P)
|
|
835
835
|
if (ae(ie)) {
|
|
836
836
|
for (var we = 0; we < ie.length; we++)
|
|
837
|
-
|
|
837
|
+
jt(ie[we], r);
|
|
838
838
|
Object.freeze && Object.freeze(ie);
|
|
839
839
|
} else
|
|
840
840
|
y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
841
841
|
else
|
|
842
|
-
|
|
842
|
+
jt(ie, r);
|
|
843
843
|
}
|
|
844
844
|
if (me.call(h, "key")) {
|
|
845
845
|
var pe = H(r), se = Object.keys(h).filter(function(Wa) {
|
|
846
846
|
return Wa !== "key";
|
|
847
847
|
}), Qe = se.length > 0 ? "{key: someKey, " + se.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
848
|
-
if (!
|
|
848
|
+
if (!vt[pe + Qe]) {
|
|
849
849
|
var $a = se.length > 0 ? "{" + se.join(": ..., ") + ": ...}" : "{}";
|
|
850
850
|
y(`A props object containing a "key" prop is being spread into JSX:
|
|
851
851
|
let props = %s;
|
|
852
852
|
<%s {...props} />
|
|
853
853
|
React keys must be passed directly to JSX without using spread:
|
|
854
854
|
let props = %s;
|
|
855
|
-
<%s key={someKey} {...props} />`, Qe, pe, $a, pe),
|
|
855
|
+
<%s key={someKey} {...props} />`, Qe, pe, $a, pe), vt[pe + Qe] = !0;
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
858
|
return r === n ? za(Y) : Ba(Y), Y;
|
|
@@ -1070,12 +1070,12 @@ const bs = {
|
|
|
1070
1070
|
}, gs = {
|
|
1071
1071
|
md: "h-10 gap-2 rounded-lg text-xs font-semibold leading-4",
|
|
1072
1072
|
lg: "h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"
|
|
1073
|
-
},
|
|
1073
|
+
}, js = {
|
|
1074
1074
|
primary: { backgroundImage: "linear-gradient(to bottom, #5eb98e, #159169)" },
|
|
1075
1075
|
secondary: { backgroundImage: "linear-gradient(to bottom, #ffffff, #edf5f2)" },
|
|
1076
1076
|
accent: { backgroundImage: "linear-gradient(to bottom, #f97e4e, #f75e22)" }
|
|
1077
1077
|
};
|
|
1078
|
-
function
|
|
1078
|
+
function vs({
|
|
1079
1079
|
variant: t = "primary",
|
|
1080
1080
|
size: a = "md",
|
|
1081
1081
|
leftIcon: s,
|
|
@@ -1090,7 +1090,7 @@ function js({
|
|
|
1090
1090
|
{
|
|
1091
1091
|
type: c,
|
|
1092
1092
|
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${gs[a]} ${bs[t]} ${l}`,
|
|
1093
|
-
style: { ...
|
|
1093
|
+
style: { ...js[t], ...i },
|
|
1094
1094
|
...o,
|
|
1095
1095
|
children: [
|
|
1096
1096
|
s,
|
|
@@ -1208,13 +1208,13 @@ function qn({
|
|
|
1208
1208
|
removeLabel: g,
|
|
1209
1209
|
removeWarningMessagePrefix: x,
|
|
1210
1210
|
removeWarningMessageSuffix: u = "?",
|
|
1211
|
-
removeWarningConfirmLabel:
|
|
1211
|
+
removeWarningConfirmLabel: f,
|
|
1212
1212
|
removeWarningCancelLabel: b
|
|
1213
1213
|
}) {
|
|
1214
1214
|
const [p, w] = $(null);
|
|
1215
1215
|
if (!t)
|
|
1216
1216
|
return null;
|
|
1217
|
-
const
|
|
1217
|
+
const v = p != null ? l[p] : null;
|
|
1218
1218
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1219
1219
|
/* @__PURE__ */ e.jsxs("div", { className: "fixed inset-0 z-50 mx-auto flex w-full max-w-md items-end justify-center", children: [
|
|
1220
1220
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1252,7 +1252,7 @@ function qn({
|
|
|
1252
1252
|
}
|
|
1253
1253
|
),
|
|
1254
1254
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-base font-semibold leading-[22px] text-gray-700", children: n }),
|
|
1255
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col items-start gap-3 rounded-lg bg-[#f7f8f9] px-2 py-4", children: l.map((
|
|
1255
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col items-start gap-3 rounded-lg bg-[#f7f8f9] px-2 py-4", children: l.map((j, y) => /* @__PURE__ */ e.jsxs(
|
|
1256
1256
|
"div",
|
|
1257
1257
|
{
|
|
1258
1258
|
className: "flex w-full items-center justify-between gap-3",
|
|
@@ -1260,15 +1260,15 @@ function qn({
|
|
|
1260
1260
|
/* @__PURE__ */ e.jsxs(
|
|
1261
1261
|
"p",
|
|
1262
1262
|
{
|
|
1263
|
-
className: `min-w-0 flex-1 text-base font-semibold leading-[22px] ${
|
|
1263
|
+
className: `min-w-0 flex-1 text-base font-semibold leading-[22px] ${j.isActive ? "text-[#22272b]" : "text-[#22272b]/50"}`,
|
|
1264
1264
|
children: [
|
|
1265
|
-
|
|
1265
|
+
j.name,
|
|
1266
1266
|
" ",
|
|
1267
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-xs font-medium leading-4 text-gray-500", children:
|
|
1267
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-xs font-medium leading-4 text-gray-500", children: j.tithi })
|
|
1268
1268
|
]
|
|
1269
1269
|
}
|
|
1270
1270
|
),
|
|
1271
|
-
|
|
1271
|
+
j.isActive ? /* @__PURE__ */ e.jsxs(
|
|
1272
1272
|
"button",
|
|
1273
1273
|
{
|
|
1274
1274
|
type: "button",
|
|
@@ -1293,10 +1293,10 @@ function qn({
|
|
|
1293
1293
|
)
|
|
1294
1294
|
]
|
|
1295
1295
|
},
|
|
1296
|
-
|
|
1296
|
+
j.id
|
|
1297
1297
|
)) }),
|
|
1298
1298
|
/* @__PURE__ */ e.jsx(
|
|
1299
|
-
|
|
1299
|
+
vs,
|
|
1300
1300
|
{
|
|
1301
1301
|
variant: "accent",
|
|
1302
1302
|
size: "lg",
|
|
@@ -1310,12 +1310,12 @@ function qn({
|
|
|
1310
1310
|
/* @__PURE__ */ e.jsx(
|
|
1311
1311
|
ys,
|
|
1312
1312
|
{
|
|
1313
|
-
isOpen:
|
|
1313
|
+
isOpen: v != null,
|
|
1314
1314
|
avatarUrl: s,
|
|
1315
1315
|
messagePrefix: x,
|
|
1316
|
-
highlightedNames:
|
|
1316
|
+
highlightedNames: v ? v.name : "",
|
|
1317
1317
|
messageSuffix: u,
|
|
1318
|
-
confirmLabel:
|
|
1318
|
+
confirmLabel: f,
|
|
1319
1319
|
cancelLabel: b,
|
|
1320
1320
|
onConfirm: () => {
|
|
1321
1321
|
p != null && i(p), w(null);
|
|
@@ -1861,7 +1861,7 @@ function nl({
|
|
|
1861
1861
|
seeMoreLabel: l,
|
|
1862
1862
|
onSeeMoreClick: i
|
|
1863
1863
|
}) {
|
|
1864
|
-
const [c, o] = $(!1), d = c ? s : s.slice(0, Mt), [g, x] = $(0), u = rt(null),
|
|
1864
|
+
const [c, o] = $(!1), d = c ? s : s.slice(0, Mt), [g, x] = $(0), u = rt(null), f = () => {
|
|
1865
1865
|
const b = u.current;
|
|
1866
1866
|
if (!b || b.children.length === 0)
|
|
1867
1867
|
return;
|
|
@@ -1878,7 +1878,7 @@ function nl({
|
|
|
1878
1878
|
"div",
|
|
1879
1879
|
{
|
|
1880
1880
|
ref: u,
|
|
1881
|
-
onScroll:
|
|
1881
|
+
onScroll: f,
|
|
1882
1882
|
className: `flex w-full snap-x snap-mandatory gap-3 overflow-x-auto px-4 pt-4 ${n.length === 1 ? "justify-center" : ""}`,
|
|
1883
1883
|
children: n.map((b, p) => /* @__PURE__ */ e.jsxs(
|
|
1884
1884
|
"div",
|
|
@@ -1958,13 +1958,13 @@ function nl({
|
|
|
1958
1958
|
] })
|
|
1959
1959
|
] }),
|
|
1960
1960
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2 px-4 pt-3", children: [
|
|
1961
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-2", children: Array.from({ length: b.stars }).map((w,
|
|
1961
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-2", children: Array.from({ length: b.stars }).map((w, v) => /* @__PURE__ */ e.jsx(
|
|
1962
1962
|
it,
|
|
1963
1963
|
{
|
|
1964
1964
|
"aria-hidden": !0,
|
|
1965
1965
|
className: "size-5 text-[#F06A16]"
|
|
1966
1966
|
},
|
|
1967
|
-
|
|
1967
|
+
v
|
|
1968
1968
|
)) }),
|
|
1969
1969
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-sm font-normal leading-5 text-gray-500", children: b.text })
|
|
1970
1970
|
] }),
|
|
@@ -2050,7 +2050,7 @@ const sr = qa(
|
|
|
2050
2050
|
ref: u,
|
|
2051
2051
|
type: g,
|
|
2052
2052
|
disabled: i || l,
|
|
2053
|
-
className:
|
|
2053
|
+
className: m(sr({ variant: a, size: s, iconOnly: n }), t),
|
|
2054
2054
|
...x,
|
|
2055
2055
|
children: l ? /* @__PURE__ */ e.jsx(ar, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsxs("span", { className: "inline-flex items-center gap-2", children: [
|
|
2056
2056
|
c,
|
|
@@ -2086,7 +2086,7 @@ const il = ({
|
|
|
2086
2086
|
}) => /* @__PURE__ */ e.jsxs(
|
|
2087
2087
|
"div",
|
|
2088
2088
|
{
|
|
2089
|
-
className:
|
|
2089
|
+
className: m(
|
|
2090
2090
|
"flex flex-col gap-3 rounded-lg bg-[#fef5e9] px-4 py-3.75",
|
|
2091
2091
|
i
|
|
2092
2092
|
),
|
|
@@ -2134,20 +2134,20 @@ const il = ({
|
|
|
2134
2134
|
showTitleAccent: g = !1,
|
|
2135
2135
|
titleClassName: x
|
|
2136
2136
|
}) => {
|
|
2137
|
-
const [u,
|
|
2137
|
+
const [u, f] = $(l), [b, p] = $(o), w = n && a.length > s, v = w && !u ? a.slice(0, s) : a;
|
|
2138
2138
|
return /* @__PURE__ */ e.jsxs(
|
|
2139
2139
|
"div",
|
|
2140
2140
|
{
|
|
2141
|
-
className:
|
|
2141
|
+
className: m(
|
|
2142
2142
|
"flex flex-col items-center gap-5 bg-white px-4 py-6",
|
|
2143
2143
|
d
|
|
2144
2144
|
),
|
|
2145
2145
|
children: [
|
|
2146
|
-
g ? /* @__PURE__ */ e.jsxs("h2", { className:
|
|
2146
|
+
g ? /* @__PURE__ */ e.jsxs("h2", { className: m("flex w-full items-center gap-2 text-lg font-bold text-[#1d2125]", x), children: [
|
|
2147
2147
|
/* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]" }),
|
|
2148
2148
|
t
|
|
2149
|
-
] }) : /* @__PURE__ */ e.jsx("h2", { className:
|
|
2150
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children:
|
|
2149
|
+
] }) : /* @__PURE__ */ e.jsx("h2", { className: m("w-full text-base font-bold text-[#1d2125]", x), children: t }),
|
|
2150
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: v.map((j, y) => {
|
|
2151
2151
|
const S = b === y;
|
|
2152
2152
|
return /* @__PURE__ */ e.jsxs(
|
|
2153
2153
|
"div",
|
|
@@ -2158,7 +2158,7 @@ const il = ({
|
|
|
2158
2158
|
"button",
|
|
2159
2159
|
{
|
|
2160
2160
|
type: "button",
|
|
2161
|
-
className:
|
|
2161
|
+
className: m(
|
|
2162
2162
|
"flex w-full items-center justify-between gap-2 p-3 text-left",
|
|
2163
2163
|
S ? "bg-[#f7f8f9]" : "bg-white"
|
|
2164
2164
|
),
|
|
@@ -2167,12 +2167,12 @@ const il = ({
|
|
|
2167
2167
|
"aria-controls": `faq-answer-${y}`,
|
|
2168
2168
|
id: `faq-question-${y}`,
|
|
2169
2169
|
children: [
|
|
2170
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#22272b]", children:
|
|
2170
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#22272b]", children: j.question }),
|
|
2171
2171
|
/* @__PURE__ */ e.jsx(
|
|
2172
2172
|
Oe,
|
|
2173
2173
|
{
|
|
2174
2174
|
size: 24,
|
|
2175
|
-
className:
|
|
2175
|
+
className: m("shrink-0 transition-transform duration-200", S ? "rotate-180" : ""),
|
|
2176
2176
|
"aria-hidden": !0
|
|
2177
2177
|
}
|
|
2178
2178
|
)
|
|
@@ -2187,7 +2187,7 @@ const il = ({
|
|
|
2187
2187
|
"aria-labelledby": `faq-question-${y}`,
|
|
2188
2188
|
hidden: !S,
|
|
2189
2189
|
className: "bg-white p-3",
|
|
2190
|
-
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm text-[#374151]", children:
|
|
2190
|
+
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm text-[#374151]", children: j.answer })
|
|
2191
2191
|
}
|
|
2192
2192
|
)
|
|
2193
2193
|
]
|
|
@@ -2201,13 +2201,13 @@ const il = ({
|
|
|
2201
2201
|
variant: "secondary",
|
|
2202
2202
|
size: "lg",
|
|
2203
2203
|
className: "w-full",
|
|
2204
|
-
onClick: () =>
|
|
2204
|
+
onClick: () => f((j) => !j),
|
|
2205
2205
|
"aria-expanded": u,
|
|
2206
2206
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2207
2207
|
Oe,
|
|
2208
2208
|
{
|
|
2209
2209
|
size: 24,
|
|
2210
|
-
className:
|
|
2210
|
+
className: m("shrink-0 transition-transform duration-200", u ? "rotate-180" : ""),
|
|
2211
2211
|
"aria-hidden": !0
|
|
2212
2212
|
}
|
|
2213
2213
|
),
|
|
@@ -2229,14 +2229,14 @@ const il = ({
|
|
|
2229
2229
|
defaultOpenIndex: d = -1,
|
|
2230
2230
|
className: g = ""
|
|
2231
2231
|
}) => {
|
|
2232
|
-
const [x, u] = $(i), [
|
|
2233
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2232
|
+
const [x, u] = $(i), [f, b] = $(d), p = l && s.length > n, w = p && !x ? s.slice(0, n) : s;
|
|
2233
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("flex flex-col gap-3 bg-white px-4 py-6", g), children: [
|
|
2234
2234
|
/* @__PURE__ */ e.jsxs("h2", { className: "flex items-center gap-2 text-sm font-bold text-[#374151]", children: [
|
|
2235
2235
|
a && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-[18px] w-[3px] shrink-0 bg-[#f75e22]" }),
|
|
2236
2236
|
t
|
|
2237
2237
|
] }),
|
|
2238
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col", children: w.map((
|
|
2239
|
-
const y =
|
|
2238
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col", children: w.map((v, j) => {
|
|
2239
|
+
const y = f === j, S = y ? ks : Oe;
|
|
2240
2240
|
return /* @__PURE__ */ e.jsxs(
|
|
2241
2241
|
"div",
|
|
2242
2242
|
{
|
|
@@ -2247,12 +2247,12 @@ const il = ({
|
|
|
2247
2247
|
{
|
|
2248
2248
|
type: "button",
|
|
2249
2249
|
className: "flex w-full items-center justify-between gap-2 text-left",
|
|
2250
|
-
onClick: () => b(y ? -1 :
|
|
2250
|
+
onClick: () => b(y ? -1 : j),
|
|
2251
2251
|
"aria-expanded": y,
|
|
2252
|
-
"aria-controls": `faq-accordion-answer-${
|
|
2253
|
-
id: `faq-accordion-question-${
|
|
2252
|
+
"aria-controls": `faq-accordion-answer-${j}`,
|
|
2253
|
+
id: `faq-accordion-question-${j}`,
|
|
2254
2254
|
children: [
|
|
2255
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-semibold text-[#22272b]", children:
|
|
2255
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-semibold text-[#22272b]", children: v.question }),
|
|
2256
2256
|
/* @__PURE__ */ e.jsx(S, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 })
|
|
2257
2257
|
]
|
|
2258
2258
|
}
|
|
@@ -2260,16 +2260,16 @@ const il = ({
|
|
|
2260
2260
|
/* @__PURE__ */ e.jsx(
|
|
2261
2261
|
"div",
|
|
2262
2262
|
{
|
|
2263
|
-
id: `faq-accordion-answer-${
|
|
2263
|
+
id: `faq-accordion-answer-${j}`,
|
|
2264
2264
|
role: "region",
|
|
2265
|
-
"aria-labelledby": `faq-accordion-question-${
|
|
2265
|
+
"aria-labelledby": `faq-accordion-question-${j}`,
|
|
2266
2266
|
hidden: !y,
|
|
2267
|
-
children: /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-xs text-[#374151]", children:
|
|
2267
|
+
children: /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-xs text-[#374151]", children: v.answer })
|
|
2268
2268
|
}
|
|
2269
2269
|
)
|
|
2270
2270
|
]
|
|
2271
2271
|
},
|
|
2272
|
-
|
|
2272
|
+
j
|
|
2273
2273
|
);
|
|
2274
2274
|
}) }),
|
|
2275
2275
|
p && /* @__PURE__ */ e.jsx(
|
|
@@ -2278,13 +2278,13 @@ const il = ({
|
|
|
2278
2278
|
variant: "secondary",
|
|
2279
2279
|
size: "lg",
|
|
2280
2280
|
className: "w-full",
|
|
2281
|
-
onClick: () => u((
|
|
2281
|
+
onClick: () => u((v) => !v),
|
|
2282
2282
|
"aria-expanded": x,
|
|
2283
2283
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2284
2284
|
Oe,
|
|
2285
2285
|
{
|
|
2286
2286
|
size: 24,
|
|
2287
|
-
className:
|
|
2287
|
+
className: m("shrink-0 transition-transform duration-200", x ? "rotate-180" : ""),
|
|
2288
2288
|
"aria-hidden": !0
|
|
2289
2289
|
}
|
|
2290
2290
|
),
|
|
@@ -2306,10 +2306,10 @@ const il = ({
|
|
|
2306
2306
|
autoPlay: g = !1,
|
|
2307
2307
|
onPlayToggle: x
|
|
2308
2308
|
}, u) => {
|
|
2309
|
-
const [
|
|
2309
|
+
const [f, b] = k.useState(!1), [p, w] = k.useState(!0), [v, j] = k.useState(!1), [y, S] = k.useState(0), [B, U] = k.useState(0), [I, z] = k.useState(!0), D = k.useRef(null), F = k.useRef(null), G = k.useRef(() => {
|
|
2310
2310
|
}), _ = k.useRef(null);
|
|
2311
2311
|
k.useEffect(() => {
|
|
2312
|
-
g && (b(!0),
|
|
2312
|
+
g && (b(!0), j(!1));
|
|
2313
2313
|
}, [g]);
|
|
2314
2314
|
const L = k.useCallback(() => {
|
|
2315
2315
|
_.current && clearTimeout(_.current), _.current = setTimeout(
|
|
@@ -2318,15 +2318,15 @@ const il = ({
|
|
|
2318
2318
|
);
|
|
2319
2319
|
}, []);
|
|
2320
2320
|
k.useEffect(() => {
|
|
2321
|
-
if (!
|
|
2321
|
+
if (!f || !p) {
|
|
2322
2322
|
_.current && clearTimeout(_.current), z(!0);
|
|
2323
2323
|
return;
|
|
2324
2324
|
}
|
|
2325
2325
|
return L(), () => {
|
|
2326
2326
|
_.current && clearTimeout(_.current);
|
|
2327
2327
|
};
|
|
2328
|
-
}, [
|
|
2329
|
-
const H = i !== void 0 || c !== void 0, W =
|
|
2328
|
+
}, [f, p, L]);
|
|
2329
|
+
const H = i !== void 0 || c !== void 0, W = m(
|
|
2330
2330
|
"block w-full",
|
|
2331
2331
|
(H || !H && o !== void 0 || d) && "h-full object-cover object-center"
|
|
2332
2332
|
), ne = k.useCallback(
|
|
@@ -2368,7 +2368,7 @@ const il = ({
|
|
|
2368
2368
|
},
|
|
2369
2369
|
[]
|
|
2370
2370
|
), k.useEffect(() => {
|
|
2371
|
-
if (!
|
|
2371
|
+
if (!f) return;
|
|
2372
2372
|
const T = D.current;
|
|
2373
2373
|
if (!T || typeof IntersectionObserver > "u") return;
|
|
2374
2374
|
const O = new IntersectionObserver(
|
|
@@ -2378,7 +2378,7 @@ const il = ({
|
|
|
2378
2378
|
{ threshold: 0 }
|
|
2379
2379
|
);
|
|
2380
2380
|
return O.observe(T), () => O.disconnect();
|
|
2381
|
-
}, [
|
|
2381
|
+
}, [f]);
|
|
2382
2382
|
const le = (T) => {
|
|
2383
2383
|
const O = Number(T.target.value);
|
|
2384
2384
|
S(O), F.current && (F.current.currentTime = O);
|
|
@@ -2388,15 +2388,15 @@ const il = ({
|
|
|
2388
2388
|
{
|
|
2389
2389
|
ref: ne,
|
|
2390
2390
|
style: H ? { width: i, height: c } : { aspectRatio: o },
|
|
2391
|
-
className:
|
|
2391
|
+
className: m(
|
|
2392
2392
|
"relative w-full overflow-hidden",
|
|
2393
2393
|
n && "rounded-2xl",
|
|
2394
2394
|
s
|
|
2395
2395
|
),
|
|
2396
2396
|
onClick: () => {
|
|
2397
|
-
|
|
2397
|
+
f && !I && (z(!0), p && L());
|
|
2398
2398
|
},
|
|
2399
|
-
children:
|
|
2399
|
+
children: f ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2400
2400
|
/* @__PURE__ */ e.jsx(
|
|
2401
2401
|
Xa,
|
|
2402
2402
|
{
|
|
@@ -2404,7 +2404,7 @@ const il = ({
|
|
|
2404
2404
|
src: t,
|
|
2405
2405
|
poster: a,
|
|
2406
2406
|
playing: p,
|
|
2407
|
-
muted:
|
|
2407
|
+
muted: v,
|
|
2408
2408
|
controls: !1,
|
|
2409
2409
|
pip: !1,
|
|
2410
2410
|
playsInline: !0,
|
|
@@ -2453,10 +2453,10 @@ const il = ({
|
|
|
2453
2453
|
variant: "ghost",
|
|
2454
2454
|
iconOnly: !0,
|
|
2455
2455
|
size: "sm",
|
|
2456
|
-
"aria-label":
|
|
2456
|
+
"aria-label": v ? "Unmute" : "Mute",
|
|
2457
2457
|
className: "absolute left-2 top-2 text-white! hover:bg-white/10",
|
|
2458
|
-
onClick: () =>
|
|
2459
|
-
children:
|
|
2458
|
+
onClick: () => j((T) => !T),
|
|
2459
|
+
children: v ? /* @__PURE__ */ e.jsx(Xs, { size: 14 }) : /* @__PURE__ */ e.jsx(qs, { size: 14 })
|
|
2460
2460
|
}
|
|
2461
2461
|
),
|
|
2462
2462
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2509,16 +2509,16 @@ const lr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2509
2509
|
menuClassName: d = "",
|
|
2510
2510
|
...g
|
|
2511
2511
|
}, x) => {
|
|
2512
|
-
const [u,
|
|
2512
|
+
const [u, f] = k.useState(n), b = l !== void 0, p = b ? l : u, w = k.useCallback(
|
|
2513
2513
|
(y) => {
|
|
2514
|
-
b ||
|
|
2514
|
+
b || f(y), i?.(y);
|
|
2515
2515
|
},
|
|
2516
2516
|
[b, i]
|
|
2517
|
-
),
|
|
2518
|
-
k.useImperativeHandle(x, () =>
|
|
2517
|
+
), v = k.useRef(null);
|
|
2518
|
+
k.useImperativeHandle(x, () => v.current), k.useEffect(() => {
|
|
2519
2519
|
if (!p) return;
|
|
2520
2520
|
const y = (B) => {
|
|
2521
|
-
|
|
2521
|
+
v.current?.contains(B.target) || w(!1);
|
|
2522
2522
|
}, S = (B) => {
|
|
2523
2523
|
B.key === "Escape" && w(!1);
|
|
2524
2524
|
};
|
|
@@ -2526,10 +2526,10 @@ const lr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2526
2526
|
document.removeEventListener("mousedown", y), document.removeEventListener("keydown", S);
|
|
2527
2527
|
};
|
|
2528
2528
|
}, [p, w]);
|
|
2529
|
-
const
|
|
2529
|
+
const j = (y) => {
|
|
2530
2530
|
s?.(y.value), w(!1);
|
|
2531
2531
|
};
|
|
2532
|
-
return /* @__PURE__ */ e.jsxs("div", { ref:
|
|
2532
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: v, className: m("relative inline-block", c), ...g, children: [
|
|
2533
2533
|
/* @__PURE__ */ e.jsxs(
|
|
2534
2534
|
"button",
|
|
2535
2535
|
{
|
|
@@ -2538,7 +2538,7 @@ const lr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2538
2538
|
"aria-label": "Switch language",
|
|
2539
2539
|
"aria-haspopup": "listbox",
|
|
2540
2540
|
"aria-expanded": p,
|
|
2541
|
-
className:
|
|
2541
|
+
className: m(
|
|
2542
2542
|
"inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",
|
|
2543
2543
|
o
|
|
2544
2544
|
),
|
|
@@ -2548,7 +2548,7 @@ const lr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2548
2548
|
Oe,
|
|
2549
2549
|
{
|
|
2550
2550
|
size: 24,
|
|
2551
|
-
className:
|
|
2551
|
+
className: m("transition-transform duration-200", p ? "rotate-180" : ""),
|
|
2552
2552
|
"aria-hidden": !0
|
|
2553
2553
|
}
|
|
2554
2554
|
)
|
|
@@ -2559,7 +2559,7 @@ const lr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2559
2559
|
"ul",
|
|
2560
2560
|
{
|
|
2561
2561
|
role: "listbox",
|
|
2562
|
-
className:
|
|
2562
|
+
className: m(
|
|
2563
2563
|
"absolute left-0 top-full z-10 mt-2 min-w-35 overflow-hidden rounded-lg border border-gray-200 bg-white py-1 shadow-lg",
|
|
2564
2564
|
d
|
|
2565
2565
|
),
|
|
@@ -2569,8 +2569,8 @@ const lr = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2569
2569
|
"button",
|
|
2570
2570
|
{
|
|
2571
2571
|
type: "button",
|
|
2572
|
-
onClick: () =>
|
|
2573
|
-
className:
|
|
2572
|
+
onClick: () => j(y),
|
|
2573
|
+
className: m(
|
|
2574
2574
|
"block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",
|
|
2575
2575
|
S ? "font-medium text-[#f75e22]" : "text-[#1d2125]"
|
|
2576
2576
|
),
|
|
@@ -2595,7 +2595,7 @@ function cl({
|
|
|
2595
2595
|
return /* @__PURE__ */ e.jsxs(
|
|
2596
2596
|
"div",
|
|
2597
2597
|
{
|
|
2598
|
-
className:
|
|
2598
|
+
className: m(
|
|
2599
2599
|
"mx-auto flex w-full max-w-md items-center justify-between px-4 py-3",
|
|
2600
2600
|
i
|
|
2601
2601
|
),
|
|
@@ -2643,7 +2643,7 @@ const ir = k.forwardRef(
|
|
|
2643
2643
|
type: i,
|
|
2644
2644
|
onClick: s,
|
|
2645
2645
|
"aria-pressed": a,
|
|
2646
|
-
className:
|
|
2646
|
+
className: m(
|
|
2647
2647
|
"inline-flex shrink-0 items-center justify-center gap-1 rounded-full border text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",
|
|
2648
2648
|
a ? "border-[#f38415] bg-[#f38415] px-4 py-1.5 text-white" : "border-[#fccf9a] bg-[#ffffff66] px-3 py-1.5 text-[#374151] hover:bg-white/70",
|
|
2649
2649
|
l
|
|
@@ -2665,7 +2665,7 @@ const dl = ({
|
|
|
2665
2665
|
...l
|
|
2666
2666
|
}) => {
|
|
2667
2667
|
const i = s > 0 ? Math.min(100, Math.max(0, a / s * 100)) : 0;
|
|
2668
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2668
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("step-progress-header", n), ...l, children: [
|
|
2669
2669
|
/* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__column", children: [
|
|
2670
2670
|
/* @__PURE__ */ e.jsx("p", { className: "step-progress-header__quote", children: t }),
|
|
2671
2671
|
/* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__track", children: [
|
|
@@ -2753,7 +2753,7 @@ const It = 1.25, Bt = [
|
|
|
2753
2753
|
className: i,
|
|
2754
2754
|
...c
|
|
2755
2755
|
}) => {
|
|
2756
|
-
const o = k.useRef(null), d = k.useRef(!1), [g, x] = k.useState(!1), [u,
|
|
2756
|
+
const o = k.useRef(null), d = k.useRef(!1), [g, x] = k.useState(!1), [u, f] = k.useState(!1);
|
|
2757
2757
|
k.useEffect(() => {
|
|
2758
2758
|
!n || d.current || (d.current = !0, o.current?.play().catch(() => {
|
|
2759
2759
|
}));
|
|
@@ -2765,7 +2765,7 @@ const It = 1.25, Bt = [
|
|
|
2765
2765
|
return /* @__PURE__ */ e.jsxs(
|
|
2766
2766
|
"div",
|
|
2767
2767
|
{
|
|
2768
|
-
className:
|
|
2768
|
+
className: m("flex w-full items-start gap-3 px-4 pb-6", i),
|
|
2769
2769
|
...c,
|
|
2770
2770
|
children: [
|
|
2771
2771
|
/* @__PURE__ */ e.jsxs("div", { className: "relative size-16 shrink-0 overflow-hidden rounded-[12.8px] bg-linear-to-b from-[#fef5e9] to-[#fccf9a]", children: [
|
|
@@ -2812,9 +2812,9 @@ const It = 1.25, Bt = [
|
|
|
2812
2812
|
{
|
|
2813
2813
|
ref: o,
|
|
2814
2814
|
src: n,
|
|
2815
|
-
onPlay: () =>
|
|
2816
|
-
onPause: () =>
|
|
2817
|
-
onEnded: () =>
|
|
2815
|
+
onPlay: () => f(!0),
|
|
2816
|
+
onPause: () => f(!1),
|
|
2817
|
+
onEnded: () => f(!1)
|
|
2818
2818
|
}
|
|
2819
2819
|
),
|
|
2820
2820
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2851,7 +2851,7 @@ const It = 1.25, Bt = [
|
|
|
2851
2851
|
"div",
|
|
2852
2852
|
{
|
|
2853
2853
|
ref: c,
|
|
2854
|
-
className:
|
|
2854
|
+
className: m(
|
|
2855
2855
|
"flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
2856
2856
|
ur[n],
|
|
2857
2857
|
!a && "bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",
|
|
@@ -2878,12 +2878,12 @@ const ot = k.forwardRef(
|
|
|
2878
2878
|
showRadio: g = !0,
|
|
2879
2879
|
radioVariant: x = "dot",
|
|
2880
2880
|
radioClassName: u,
|
|
2881
|
-
tag:
|
|
2881
|
+
tag: f,
|
|
2882
2882
|
tagClassName: b,
|
|
2883
2883
|
children: p,
|
|
2884
2884
|
note: w,
|
|
2885
|
-
noteClassName:
|
|
2886
|
-
className:
|
|
2885
|
+
noteClassName: v,
|
|
2886
|
+
className: j,
|
|
2887
2887
|
disabled: y,
|
|
2888
2888
|
type: S = "button",
|
|
2889
2889
|
...B
|
|
@@ -2891,21 +2891,21 @@ const ot = k.forwardRef(
|
|
|
2891
2891
|
const I = /* @__PURE__ */ e.jsxs(
|
|
2892
2892
|
"div",
|
|
2893
2893
|
{
|
|
2894
|
-
className:
|
|
2894
|
+
className: m(
|
|
2895
2895
|
"relative overflow-visible rounded-xl border transition-colors",
|
|
2896
2896
|
t ? "border-[#F38415] bg-[#FEF5E9]" : "border-gray-200 bg-white",
|
|
2897
2897
|
y && "opacity-50",
|
|
2898
|
-
|
|
2898
|
+
j
|
|
2899
2899
|
),
|
|
2900
2900
|
children: [
|
|
2901
|
-
|
|
2901
|
+
f && /* @__PURE__ */ e.jsx(
|
|
2902
2902
|
"span",
|
|
2903
2903
|
{
|
|
2904
|
-
className:
|
|
2904
|
+
className: m(
|
|
2905
2905
|
"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",
|
|
2906
2906
|
b
|
|
2907
2907
|
),
|
|
2908
|
-
children:
|
|
2908
|
+
children: f
|
|
2909
2909
|
}
|
|
2910
2910
|
),
|
|
2911
2911
|
/* @__PURE__ */ e.jsxs(
|
|
@@ -2917,9 +2917,9 @@ const ot = k.forwardRef(
|
|
|
2917
2917
|
"aria-checked": t,
|
|
2918
2918
|
disabled: y,
|
|
2919
2919
|
onClick: a,
|
|
2920
|
-
className:
|
|
2920
|
+
className: m(
|
|
2921
2921
|
"flex w-full items-center gap-3 overflow-hidden rounded-xl px-3 py-2 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2 disabled:cursor-not-allowed",
|
|
2922
|
-
|
|
2922
|
+
f && "pt-7"
|
|
2923
2923
|
),
|
|
2924
2924
|
...B,
|
|
2925
2925
|
children: [
|
|
@@ -2941,9 +2941,9 @@ const ot = k.forwardRef(
|
|
|
2941
2941
|
"span",
|
|
2942
2942
|
{
|
|
2943
2943
|
"aria-hidden": !0,
|
|
2944
|
-
className:
|
|
2944
|
+
className: m(
|
|
2945
2945
|
"inline-flex size-6 shrink-0 items-center justify-center rounded-full border transition-colors",
|
|
2946
|
-
t ? x === "check" ?
|
|
2946
|
+
t ? x === "check" ? m(
|
|
2947
2947
|
"border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white",
|
|
2948
2948
|
u
|
|
2949
2949
|
) : "border-[#F75E22]" : "border-gray-300"
|
|
@@ -2952,7 +2952,7 @@ const ot = k.forwardRef(
|
|
|
2952
2952
|
t && x === "dot" && /* @__PURE__ */ e.jsx(
|
|
2953
2953
|
"span",
|
|
2954
2954
|
{
|
|
2955
|
-
className:
|
|
2955
|
+
className: m(
|
|
2956
2956
|
"size-4 rounded-full bg-[#F75E22]",
|
|
2957
2957
|
u
|
|
2958
2958
|
)
|
|
@@ -2974,9 +2974,9 @@ const ot = k.forwardRef(
|
|
|
2974
2974
|
/* @__PURE__ */ e.jsx(
|
|
2975
2975
|
"div",
|
|
2976
2976
|
{
|
|
2977
|
-
className:
|
|
2977
|
+
className: m(
|
|
2978
2978
|
"px-4 py-1 text-center text-[10px] leading-3.5 font-medium bg-[#fccf9a] text-[#632E06]",
|
|
2979
|
-
|
|
2979
|
+
v
|
|
2980
2980
|
),
|
|
2981
2981
|
children: w
|
|
2982
2982
|
}
|
|
@@ -2991,7 +2991,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
2991
2991
|
role: a ? "button" : void 0,
|
|
2992
2992
|
tabIndex: a ? 0 : void 0,
|
|
2993
2993
|
onClick: a,
|
|
2994
|
-
className:
|
|
2994
|
+
className: m(
|
|
2995
2995
|
"mx-3 mb-3 flex items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",
|
|
2996
2996
|
a && "cursor-pointer",
|
|
2997
2997
|
s
|
|
@@ -3011,7 +3011,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3011
3011
|
}) => /* @__PURE__ */ e.jsxs(
|
|
3012
3012
|
"div",
|
|
3013
3013
|
{
|
|
3014
|
-
className:
|
|
3014
|
+
className: m(
|
|
3015
3015
|
"mx-3 mb-3 flex items-center justify-between gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",
|
|
3016
3016
|
n
|
|
3017
3017
|
),
|
|
@@ -3037,7 +3037,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3037
3037
|
}) => /* @__PURE__ */ e.jsx(
|
|
3038
3038
|
"span",
|
|
3039
3039
|
{
|
|
3040
|
-
className:
|
|
3040
|
+
className: m(
|
|
3041
3041
|
"inline-flex items-center rounded-full bg-white px-1.5 py-1 text-sm font-medium text-[#159169]",
|
|
3042
3042
|
a
|
|
3043
3043
|
),
|
|
@@ -3051,7 +3051,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3051
3051
|
}) => /* @__PURE__ */ e.jsx(
|
|
3052
3052
|
"div",
|
|
3053
3053
|
{
|
|
3054
|
-
className:
|
|
3054
|
+
className: m(
|
|
3055
3055
|
"rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#632e06]",
|
|
3056
3056
|
t
|
|
3057
3057
|
),
|
|
@@ -3071,7 +3071,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3071
3071
|
{
|
|
3072
3072
|
type: "button",
|
|
3073
3073
|
onClick: a,
|
|
3074
|
-
className:
|
|
3074
|
+
className: m(
|
|
3075
3075
|
"inline-flex h-10 w-22 cursor-pointer items-center justify-center gap-2.5 rounded-lg bg-linear-to-b from-[#5eb98e] to-[#087955] text-base font-bold text-white",
|
|
3076
3076
|
c
|
|
3077
3077
|
),
|
|
@@ -3083,7 +3083,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3083
3083
|
) : /* @__PURE__ */ e.jsxs(
|
|
3084
3084
|
"div",
|
|
3085
3085
|
{
|
|
3086
|
-
className:
|
|
3086
|
+
className: m(
|
|
3087
3087
|
"inline-flex h-10 w-22 items-center justify-between rounded-lg border border-[#159169] bg-linear-to-b from-white to-[#edf5f2] px-3 text-[#087955] shadow-md",
|
|
3088
3088
|
c
|
|
3089
3089
|
),
|
|
@@ -3120,8 +3120,8 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3120
3120
|
addonsDescription: "These pujas will be performed on the day of Sarva Pitru Amavasya",
|
|
3121
3121
|
addedLabel: "Added",
|
|
3122
3122
|
addLabel: "Add",
|
|
3123
|
-
mandapTitle: "
|
|
3124
|
-
mandapDescription: "This fee covers the temple space, mandap, and
|
|
3123
|
+
mandapTitle: "Mandap Arrangement Fee",
|
|
3124
|
+
mandapDescription: "This fee covers the temple space, mandap, and essential arrangements required for the puja.",
|
|
3125
3125
|
checkoutProceedLabel: "Proceed to fill details",
|
|
3126
3126
|
checkoutRitualSingular: "Ritual",
|
|
3127
3127
|
checkoutRitualPlural: "Rituals"
|
|
@@ -3134,7 +3134,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3134
3134
|
addedLabel: "जोड़ा गया",
|
|
3135
3135
|
addLabel: "जोड़ें",
|
|
3136
3136
|
mandapTitle: "मंदिर और मंडप शुल्क",
|
|
3137
|
-
mandapDescription: "
|
|
3137
|
+
mandapDescription: "मंदिर में स्थान, मंडप और आवश्यक पूजा व्यवस्था सुनिश्चित करने के लिए",
|
|
3138
3138
|
checkoutProceedLabel: "आगे बढ़ें, और डिटेल्स भरें",
|
|
3139
3139
|
checkoutRitualSingular: "पूजा-विधि",
|
|
3140
3140
|
checkoutRitualPlural: "पूजा-विधि"
|
|
@@ -3146,8 +3146,8 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3146
3146
|
addonsDescription: "ಈ ಪೂಜೆಗಳನ್ನು ಸರ್ವ ಪಿತೃ ಅಮಾವಾಸ್ಯೆಯ ದಿನದಂದು ನೆರವೇರಿಸಲಾಗುತ್ತದೆ",
|
|
3147
3147
|
addedLabel: "ಸೇರಿಸಲಾಗಿದೆ",
|
|
3148
3148
|
addLabel: "ಸೇರಿಸಿ",
|
|
3149
|
-
mandapTitle: "
|
|
3150
|
-
mandapDescription: "ಈ ಶುಲ್ಕವು ದೇವಾಲಯದ ಜಾಗ, ಮಂಟಪ ಮತ್ತು ಪೂಜೆಗೆ ಅಗತ್ಯವಿರುವ
|
|
3149
|
+
mandapTitle: "ಮಂಟಪ ಸಿದ್ಧತಾ ಶುಲ್ಕ",
|
|
3150
|
+
mandapDescription: "ಈ ಶುಲ್ಕವು ದೇವಾಲಯದ ಜಾಗ, ಮಂಟಪ ಮತ್ತು ಪೂಜೆಗೆ ಅಗತ್ಯವಿರುವ ಪ್ರಮುಖ ವ್ಯವಸ್ಥೆಗಳನ್ನು ಒಳಗೊಂಡಿರುತ್ತದೆ.",
|
|
3151
3151
|
checkoutProceedLabel: "ವಿವರಗಳನ್ನು ನಮೂದಿಸಲು ಮುಂದುವರಿಯಿರಿ",
|
|
3152
3152
|
checkoutRitualSingular: "ಪೂಜೆ",
|
|
3153
3153
|
checkoutRitualPlural: "ಪೂಜೆಗಳು"
|
|
@@ -3159,8 +3159,8 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3159
3159
|
addonsDescription: "ఈ పూజలు సర్వ పితృ అమావాస్య రోజున జరుగుతాయి",
|
|
3160
3160
|
addedLabel: "జోడించబడింది",
|
|
3161
3161
|
addLabel: "జోడించండి",
|
|
3162
|
-
mandapTitle: "
|
|
3163
|
-
mandapDescription: "
|
|
3162
|
+
mandapTitle: "మండప ఏర్పాటు రుసుము",
|
|
3163
|
+
mandapDescription: "ఆలయంలో స్థలం, మండపం మరియు అవసరమైన పూజ ఏర్పాట్లు చేయడానికి",
|
|
3164
3164
|
checkoutProceedLabel: "ముందుకు సాగండి",
|
|
3165
3165
|
checkoutRitualSingular: "పూజ",
|
|
3166
3166
|
checkoutRitualPlural: "పూజలు"
|
|
@@ -3176,7 +3176,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3176
3176
|
}) => /* @__PURE__ */ e.jsx(
|
|
3177
3177
|
"div",
|
|
3178
3178
|
{
|
|
3179
|
-
className:
|
|
3179
|
+
className: m("rounded-2xl border border-gray-200 bg-white p-4", i),
|
|
3180
3180
|
...c,
|
|
3181
3181
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-between gap-3", children: [
|
|
3182
3182
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
@@ -3204,7 +3204,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3204
3204
|
"button",
|
|
3205
3205
|
{
|
|
3206
3206
|
type: s,
|
|
3207
|
-
className:
|
|
3207
|
+
className: m(
|
|
3208
3208
|
// text-gray-900 needs `!` — a host app's own scoped Preflight-style
|
|
3209
3209
|
// reset (`.some-root button { color: inherit; ... }`) outranks a
|
|
3210
3210
|
// plain single-class selector on specificity regardless of load order.
|
|
@@ -3228,7 +3228,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3228
3228
|
"button",
|
|
3229
3229
|
{
|
|
3230
3230
|
type: l,
|
|
3231
|
-
className:
|
|
3231
|
+
className: m(
|
|
3232
3232
|
"inline-flex items-center gap-1.5 rounded-full border border-[#159169] bg-white px-3 py-1.5 text-sm font-semibold text-[#159169]! transition-colors hover:bg-[#edf5f2]",
|
|
3233
3233
|
n
|
|
3234
3234
|
),
|
|
@@ -3238,14 +3238,14 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3238
3238
|
s ?? (a ? Ue(t).addedLabel : Ue(t).addLabel)
|
|
3239
3239
|
]
|
|
3240
3240
|
}
|
|
3241
|
-
), mr = "
|
|
3241
|
+
), mr = "_contentBlock_2nhli_8", pr = "_imageWrap_2nhli_18", hr = "_image_2nhli_18", br = "_tag_2nhli_32", gr = "_info_2nhli_47", jr = "_title_2nhli_54", vr = "_description_2nhli_61", yr = "_footer_2nhli_68", Nr = "_priceRow_2nhli_77", wr = "_price_2nhli_77", Cr = "_basePrice_2nhli_92", Lr = "_savedBadge_2nhli_101", kr = "_actionWrap_2nhli_122", re = {
|
|
3242
3242
|
contentBlock: mr,
|
|
3243
3243
|
imageWrap: pr,
|
|
3244
3244
|
image: hr,
|
|
3245
3245
|
tag: br,
|
|
3246
3246
|
info: gr,
|
|
3247
|
-
title:
|
|
3248
|
-
description:
|
|
3247
|
+
title: jr,
|
|
3248
|
+
description: vr,
|
|
3249
3249
|
footer: yr,
|
|
3250
3250
|
priceRow: Nr,
|
|
3251
3251
|
price: wr,
|
|
@@ -3265,12 +3265,12 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3265
3265
|
descriptionHtml: g,
|
|
3266
3266
|
price: x,
|
|
3267
3267
|
basePrice: u,
|
|
3268
|
-
currencySymbol:
|
|
3268
|
+
currencySymbol: f = "₹",
|
|
3269
3269
|
showSavedBadge: b,
|
|
3270
3270
|
savedLabel: p,
|
|
3271
3271
|
action: w
|
|
3272
3272
|
}) => {
|
|
3273
|
-
const
|
|
3273
|
+
const v = typeof u == "number" && u > x, j = v ? Math.round((u - x) / u * 100) : 0, y = (b ?? v) && j > 0;
|
|
3274
3274
|
return /* @__PURE__ */ e.jsx(
|
|
3275
3275
|
Ie,
|
|
3276
3276
|
{
|
|
@@ -3282,20 +3282,20 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3282
3282
|
footer: /* @__PURE__ */ e.jsxs("div", { className: re.footer, children: [
|
|
3283
3283
|
/* @__PURE__ */ e.jsxs("div", { className: re.priceRow, children: [
|
|
3284
3284
|
/* @__PURE__ */ e.jsxs("span", { className: re.price, children: [
|
|
3285
|
-
|
|
3285
|
+
f,
|
|
3286
3286
|
x
|
|
3287
3287
|
] }),
|
|
3288
|
-
|
|
3289
|
-
|
|
3288
|
+
v && /* @__PURE__ */ e.jsxs("span", { className: re.basePrice, children: [
|
|
3289
|
+
f,
|
|
3290
3290
|
u
|
|
3291
3291
|
] }),
|
|
3292
|
-
y && /* @__PURE__ */ e.jsx("span", { className: re.savedBadge, children: p ?? `Save ${
|
|
3292
|
+
y && /* @__PURE__ */ e.jsx("span", { className: re.savedBadge, children: p ?? `Save ${j}%` })
|
|
3293
3293
|
] }),
|
|
3294
3294
|
w && /* @__PURE__ */ e.jsx("div", { className: re.actionWrap, children: w })
|
|
3295
3295
|
] }),
|
|
3296
3296
|
children: /* @__PURE__ */ e.jsxs("div", { className: re.contentBlock, children: [
|
|
3297
3297
|
/* @__PURE__ */ e.jsx("div", { className: re.imageWrap, children: /* @__PURE__ */ e.jsx("img", { src: n, alt: l, className: re.image }) }),
|
|
3298
|
-
i && /* @__PURE__ */ e.jsx("div", { className:
|
|
3298
|
+
i && /* @__PURE__ */ e.jsx("div", { className: m(re.tag, c), children: i }),
|
|
3299
3299
|
/* @__PURE__ */ e.jsxs("div", { className: re.info, children: [
|
|
3300
3300
|
/* @__PURE__ */ e.jsx("p", { className: re.title, children: o }),
|
|
3301
3301
|
g ? /* @__PURE__ */ e.jsx("div", { className: re.description, dangerouslySetInnerHTML: { __html: g } }) : d && /* @__PURE__ */ e.jsx("p", { className: re.description, children: d })
|
|
@@ -3334,12 +3334,12 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3334
3334
|
readMoreLabel: g = Nt(d, "templeSignificanceReadMoreLabel"),
|
|
3335
3335
|
readLessLabel: x = Nt(d, "templeSignificanceReadLessLabel"),
|
|
3336
3336
|
price: u,
|
|
3337
|
-
originalPrice:
|
|
3337
|
+
originalPrice: f,
|
|
3338
3338
|
tag: b,
|
|
3339
3339
|
tagClassName: p,
|
|
3340
3340
|
action: w,
|
|
3341
|
-
sheetPrice:
|
|
3342
|
-
sheetBasePrice:
|
|
3341
|
+
sheetPrice: v,
|
|
3342
|
+
sheetBasePrice: j,
|
|
3343
3343
|
sheetCurrencySymbol: y,
|
|
3344
3344
|
sheetShowSavedBadge: S,
|
|
3345
3345
|
sheetSavedLabel: B,
|
|
@@ -3348,14 +3348,14 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3348
3348
|
className: z,
|
|
3349
3349
|
...D
|
|
3350
3350
|
}) => {
|
|
3351
|
-
const [F, G] = $(!1), [_, L] = $(!1), H = i ? Gr(i).length > o : typeof l == "string" && l.length > o, J = H && !i && !F ? `${l.slice(0, o).trimEnd()}... ` : l, W = typeof
|
|
3351
|
+
const [F, G] = $(!1), [_, L] = $(!1), H = i ? Gr(i).length > o : typeof l == "string" && l.length > o, J = H && !i && !F ? `${l.slice(0, o).trimEnd()}... ` : l, W = typeof v == "number", ne = !!i && H && !F, Z = H && /* @__PURE__ */ e.jsx(
|
|
3352
3352
|
"button",
|
|
3353
3353
|
{
|
|
3354
3354
|
type: "button",
|
|
3355
3355
|
onClick: (te) => {
|
|
3356
3356
|
te.stopPropagation(), W ? (L(!0), I?.(!0)) : G((le) => (I?.(!le), !le));
|
|
3357
3357
|
},
|
|
3358
|
-
className:
|
|
3358
|
+
className: m(Q.readMoreToggle, i && Q.readMoreToggleBlock),
|
|
3359
3359
|
children: W ? g : F ? x : g
|
|
3360
3360
|
}
|
|
3361
3361
|
);
|
|
@@ -3363,11 +3363,11 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3363
3363
|
/* @__PURE__ */ e.jsxs(
|
|
3364
3364
|
"div",
|
|
3365
3365
|
{
|
|
3366
|
-
className:
|
|
3366
|
+
className: m(Q.card, W && Q.tappable, z),
|
|
3367
3367
|
onClick: W ? () => L(!0) : void 0,
|
|
3368
3368
|
...D,
|
|
3369
3369
|
children: [
|
|
3370
|
-
b && /* @__PURE__ */ e.jsx("div", { className:
|
|
3370
|
+
b && /* @__PURE__ */ e.jsx("div", { className: m(Q.tag, p), children: b }),
|
|
3371
3371
|
/* @__PURE__ */ e.jsxs("div", { className: Q.content, children: [
|
|
3372
3372
|
/* @__PURE__ */ e.jsxs("div", { className: Q.info, children: [
|
|
3373
3373
|
/* @__PURE__ */ e.jsxs("div", { className: Q.textGroup, children: [
|
|
@@ -3376,7 +3376,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3376
3376
|
/* @__PURE__ */ e.jsx(
|
|
3377
3377
|
"div",
|
|
3378
3378
|
{
|
|
3379
|
-
className:
|
|
3379
|
+
className: m(ne && Q.descriptionClamp),
|
|
3380
3380
|
style: ne ? { WebkitLineClamp: c } : void 0,
|
|
3381
3381
|
dangerouslySetInnerHTML: { __html: i }
|
|
3382
3382
|
}
|
|
@@ -3389,7 +3389,7 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3389
3389
|
] }),
|
|
3390
3390
|
/* @__PURE__ */ e.jsxs("div", { className: Q.priceRow, children: [
|
|
3391
3391
|
/* @__PURE__ */ e.jsx("span", { className: Q.price, children: u }),
|
|
3392
|
-
|
|
3392
|
+
f && /* @__PURE__ */ e.jsx("span", { className: Q.originalPrice, children: f })
|
|
3393
3393
|
] })
|
|
3394
3394
|
] }),
|
|
3395
3395
|
/* @__PURE__ */ e.jsxs("div", { className: Q.imageWrap, children: [
|
|
@@ -3413,8 +3413,8 @@ const xl = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3413
3413
|
title: n,
|
|
3414
3414
|
description: l,
|
|
3415
3415
|
descriptionHtml: i,
|
|
3416
|
-
price:
|
|
3417
|
-
basePrice:
|
|
3416
|
+
price: v,
|
|
3417
|
+
basePrice: j,
|
|
3418
3418
|
currencySymbol: y,
|
|
3419
3419
|
showSavedBadge: S,
|
|
3420
3420
|
savedLabel: B,
|
|
@@ -3459,7 +3459,7 @@ function ga(t) {
|
|
|
3459
3459
|
}
|
|
3460
3460
|
) });
|
|
3461
3461
|
}
|
|
3462
|
-
function
|
|
3462
|
+
function ja(t) {
|
|
3463
3463
|
return /* @__PURE__ */ e.jsxs("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": !0, ...t, children: [
|
|
3464
3464
|
/* @__PURE__ */ e.jsx(
|
|
3465
3465
|
"path",
|
|
@@ -3508,7 +3508,7 @@ function va(t) {
|
|
|
3508
3508
|
)
|
|
3509
3509
|
] });
|
|
3510
3510
|
}
|
|
3511
|
-
function
|
|
3511
|
+
function va(t) {
|
|
3512
3512
|
return /* @__PURE__ */ e.jsxs("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": !0, ...t, children: [
|
|
3513
3513
|
/* @__PURE__ */ e.jsx(
|
|
3514
3514
|
"path",
|
|
@@ -3532,12 +3532,12 @@ const Kr = [
|
|
|
3532
3532
|
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(ha, { className: "size-5" }), label: "100% Money Back Guarantee" },
|
|
3533
3533
|
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(ba, { className: "size-5" }), label: "No Hidden Cost" },
|
|
3534
3534
|
{ id: "iso-certified", icon: /* @__PURE__ */ e.jsx(ga, { className: "size-5" }), label: "ISO 27001 Certified Company" },
|
|
3535
|
-
{ id: "temple-partner", icon: /* @__PURE__ */ e.jsx(
|
|
3536
|
-
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(
|
|
3535
|
+
{ id: "temple-partner", icon: /* @__PURE__ */ e.jsx(ja, { className: "size-4" }), label: "Official Temple Partner" },
|
|
3536
|
+
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(va, { className: "size-5" }), label: "24x7 Support" }
|
|
3537
3537
|
], Dt = (t, a, s) => /* @__PURE__ */ e.jsxs(
|
|
3538
3538
|
"span",
|
|
3539
3539
|
{
|
|
3540
|
-
className:
|
|
3540
|
+
className: m("inline-flex shrink-0 items-center gap-1 text-xs font-semibold text-[#525252]", s, t.className),
|
|
3541
3541
|
children: [
|
|
3542
3542
|
/* @__PURE__ */ e.jsx("span", { className: "shrink-0", "aria-hidden": !0, children: t.icon }),
|
|
3543
3543
|
t.label
|
|
@@ -3551,7 +3551,7 @@ const Kr = [
|
|
|
3551
3551
|
marqueeDurationSeconds: n = 14,
|
|
3552
3552
|
className: l,
|
|
3553
3553
|
...i
|
|
3554
|
-
}) => s ? /* @__PURE__ */ e.jsx("div", { className:
|
|
3554
|
+
}) => s ? /* @__PURE__ */ e.jsx("div", { className: m("overflow-hidden bg-[#ededed] px-4 py-1", l), ...i, children: /* @__PURE__ */ e.jsx(
|
|
3555
3555
|
"div",
|
|
3556
3556
|
{
|
|
3557
3557
|
className: "flex w-max items-center gap-3 whitespace-nowrap motion-reduce:animate-none",
|
|
@@ -3561,7 +3561,7 @@ const Kr = [
|
|
|
3561
3561
|
) }) : /* @__PURE__ */ e.jsx(
|
|
3562
3562
|
"div",
|
|
3563
3563
|
{
|
|
3564
|
-
className:
|
|
3564
|
+
className: m(
|
|
3565
3565
|
"flex items-center gap-3 overflow-x-auto bg-[#ededed] px-4 py-1 whitespace-nowrap",
|
|
3566
3566
|
"scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",
|
|
3567
3567
|
l
|
|
@@ -3599,27 +3599,27 @@ const Kr = [
|
|
|
3599
3599
|
proceedIcon: g = /* @__PURE__ */ e.jsx(Pe, { "aria-hidden": !0 }),
|
|
3600
3600
|
onProceed: x,
|
|
3601
3601
|
proceedButtonProps: u,
|
|
3602
|
-
buttonWrapperClassName:
|
|
3602
|
+
buttonWrapperClassName: f,
|
|
3603
3603
|
growProceedButton: b = !1,
|
|
3604
3604
|
className: p,
|
|
3605
3605
|
...w
|
|
3606
3606
|
}) => {
|
|
3607
|
-
const
|
|
3607
|
+
const v = Yr(t);
|
|
3608
3608
|
return /* @__PURE__ */ e.jsxs(
|
|
3609
3609
|
"div",
|
|
3610
3610
|
{
|
|
3611
|
-
className:
|
|
3611
|
+
className: m(
|
|
3612
3612
|
"flex items-center gap-3 rounded-t-[20px] bg-white px-4 py-4 shadow-[0_0_20px_rgba(0,0,0,0.15)]",
|
|
3613
3613
|
p
|
|
3614
3614
|
),
|
|
3615
3615
|
...w,
|
|
3616
3616
|
children: [
|
|
3617
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3617
|
+
/* @__PURE__ */ e.jsxs("div", { className: m("min-w-0", b ? "flex-none" : "flex-1"), children: [
|
|
3618
3618
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
3619
3619
|
/* @__PURE__ */ e.jsx(
|
|
3620
3620
|
"span",
|
|
3621
3621
|
{
|
|
3622
|
-
className:
|
|
3622
|
+
className: m(
|
|
3623
3623
|
"text-xl font-extrabold text-[#1d2125]",
|
|
3624
3624
|
s
|
|
3625
3625
|
),
|
|
@@ -3631,8 +3631,8 @@ const Kr = [
|
|
|
3631
3631
|
{
|
|
3632
3632
|
type: "button",
|
|
3633
3633
|
onClick: c,
|
|
3634
|
-
"aria-label":
|
|
3635
|
-
className:
|
|
3634
|
+
"aria-label": v.infoButtonAriaLabel ?? "View bill details",
|
|
3635
|
+
className: m(
|
|
3636
3636
|
"inline-flex shrink-0 items-center justify-center text-[#f75e22]!",
|
|
3637
3637
|
!c && "pointer-events-none",
|
|
3638
3638
|
o
|
|
@@ -3641,12 +3641,12 @@ const Kr = [
|
|
|
3641
3641
|
}
|
|
3642
3642
|
)
|
|
3643
3643
|
] }),
|
|
3644
|
-
n && /* @__PURE__ */ e.jsx("p", { className:
|
|
3644
|
+
n && /* @__PURE__ */ e.jsx("p", { className: m("mt-1 text-sm text-gray-500", l), children: n })
|
|
3645
3645
|
] }),
|
|
3646
3646
|
/* @__PURE__ */ e.jsx(
|
|
3647
3647
|
"div",
|
|
3648
3648
|
{
|
|
3649
|
-
className:
|
|
3649
|
+
className: m(
|
|
3650
3650
|
"min-w-0",
|
|
3651
3651
|
// Not a grow factor when the button keeps its own width: a 1.4
|
|
3652
3652
|
// wrapper is wider than a `min-w-40` button, and the slack lands
|
|
@@ -3655,7 +3655,7 @@ const Kr = [
|
|
|
3655
3655
|
// with the price block (flex-1 min-w-0) taking the rest and
|
|
3656
3656
|
// truncating first.
|
|
3657
3657
|
b ? "flex-1" : "flex-none",
|
|
3658
|
-
|
|
3658
|
+
f
|
|
3659
3659
|
),
|
|
3660
3660
|
children: /* @__PURE__ */ e.jsxs(
|
|
3661
3661
|
X,
|
|
@@ -3664,13 +3664,13 @@ const Kr = [
|
|
|
3664
3664
|
size: "xl",
|
|
3665
3665
|
onClick: x,
|
|
3666
3666
|
...u,
|
|
3667
|
-
className:
|
|
3667
|
+
className: m(
|
|
3668
3668
|
"h-auto min-h-14 min-w-0 justify-center gap-2 whitespace-normal px-3 py-2 text-center leading-5 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169] [&>span]:min-w-0 [&>span]:whitespace-normal",
|
|
3669
3669
|
b ? "w-full" : "min-w-40",
|
|
3670
3670
|
u?.className
|
|
3671
3671
|
),
|
|
3672
3672
|
children: [
|
|
3673
|
-
d ??
|
|
3673
|
+
d ?? v.proceedLabel,
|
|
3674
3674
|
g
|
|
3675
3675
|
]
|
|
3676
3676
|
}
|
|
@@ -3758,27 +3758,27 @@ const Kr = [
|
|
|
3758
3758
|
className: g,
|
|
3759
3759
|
headerClassName: x,
|
|
3760
3760
|
benefitsClassName: u,
|
|
3761
|
-
optionsClassName:
|
|
3761
|
+
optionsClassName: f,
|
|
3762
3762
|
trustBadges: b,
|
|
3763
3763
|
checkout: p,
|
|
3764
3764
|
stickyFooter: w = !0,
|
|
3765
|
-
footerClassName:
|
|
3765
|
+
footerClassName: v
|
|
3766
3766
|
}) => {
|
|
3767
|
-
const
|
|
3767
|
+
const j = qr(t), y = a ?? j.title, S = s ?? j.description, B = n ?? j.benefits, U = b ?? {
|
|
3768
3768
|
badges: [
|
|
3769
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(ha, { className: "size-5" }), label:
|
|
3770
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(ba, { className: "size-5" }), label:
|
|
3771
|
-
{ id: "iso-certified", icon: /* @__PURE__ */ e.jsx(ga, { className: "size-5" }), label:
|
|
3772
|
-
{ id: "temple-partner", icon: /* @__PURE__ */ e.jsx(
|
|
3773
|
-
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(
|
|
3769
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(ha, { className: "size-5" }), label: j.trustBadgeLabels.moneyBack },
|
|
3770
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(ba, { className: "size-5" }), label: j.trustBadgeLabels.noHiddenCost },
|
|
3771
|
+
{ id: "iso-certified", icon: /* @__PURE__ */ e.jsx(ga, { className: "size-5" }), label: j.trustBadgeLabels.isoCertified },
|
|
3772
|
+
{ id: "temple-partner", icon: /* @__PURE__ */ e.jsx(ja, { className: "size-4" }), label: j.trustBadgeLabels.templePartner },
|
|
3773
|
+
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(va, { className: "size-5" }), label: j.trustBadgeLabels.support }
|
|
3774
3774
|
]
|
|
3775
3775
|
};
|
|
3776
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
3777
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3776
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("w-full", g), children: [
|
|
3777
|
+
/* @__PURE__ */ e.jsxs("div", { className: m("px-4 pt-5 pb-4", x), children: [
|
|
3778
3778
|
/* @__PURE__ */ e.jsx("p", { className: "text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: y }),
|
|
3779
3779
|
S && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: S })
|
|
3780
3780
|
] }),
|
|
3781
|
-
B && B.length > 0 && /* @__PURE__ */ e.jsx("div", { className:
|
|
3781
|
+
B && B.length > 0 && /* @__PURE__ */ e.jsx("div", { className: m("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", u), children: B.map((I, z) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
3782
3782
|
/* @__PURE__ */ e.jsx(nt, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
|
|
3783
3783
|
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: I })
|
|
3784
3784
|
] }, z)) }),
|
|
@@ -3787,7 +3787,7 @@ const Kr = [
|
|
|
3787
3787
|
{
|
|
3788
3788
|
role: "radiogroup",
|
|
3789
3789
|
"aria-label": d ?? (typeof y == "string" ? y : void 0),
|
|
3790
|
-
className:
|
|
3790
|
+
className: m("flex flex-col gap-3 p-4", f),
|
|
3791
3791
|
children: l.map((I) => {
|
|
3792
3792
|
const {
|
|
3793
3793
|
id: z,
|
|
@@ -3800,12 +3800,12 @@ const Kr = [
|
|
|
3800
3800
|
iconClassName: J,
|
|
3801
3801
|
radioVariant: W,
|
|
3802
3802
|
...ne
|
|
3803
|
-
} = I, Z = i === z, te = G ?? (D == null ? void 0 : F ? /* @__PURE__ */ e.jsx("span", { className:
|
|
3803
|
+
} = I, Z = i === z, te = G ?? (D == null ? void 0 : F ? /* @__PURE__ */ e.jsx("span", { className: m("text-sm font-medium text-[#22272b]", _?.className), ..._, children: D }) : /* @__PURE__ */ e.jsx(xr, { value: D, ..._ }));
|
|
3804
3804
|
return /* @__PURE__ */ e.jsx(
|
|
3805
3805
|
ot,
|
|
3806
3806
|
{
|
|
3807
3807
|
...ne,
|
|
3808
|
-
iconClassName:
|
|
3808
|
+
iconClassName: m("size-10", J),
|
|
3809
3809
|
radioVariant: W ?? o,
|
|
3810
3810
|
badge: te,
|
|
3811
3811
|
selected: Z,
|
|
@@ -3818,7 +3818,7 @@ const Kr = [
|
|
|
3818
3818
|
})
|
|
3819
3819
|
}
|
|
3820
3820
|
),
|
|
3821
|
-
(U || p) && /* @__PURE__ */ e.jsxs("div", { className:
|
|
3821
|
+
(U || p) && /* @__PURE__ */ e.jsxs("div", { className: m(w && "sticky bottom-0 z-10", v), children: [
|
|
3822
3822
|
U && /* @__PURE__ */ e.jsx(Zr, { ...U }),
|
|
3823
3823
|
p && /* @__PURE__ */ e.jsx(ct, { locale: t, ...p })
|
|
3824
3824
|
] })
|
|
@@ -3828,25 +3828,40 @@ const Kr = [
|
|
|
3828
3828
|
title: "Pitru Paksha Special Rituals",
|
|
3829
3829
|
ancestorsLabel: "Ancestors",
|
|
3830
3830
|
ritualsLabel: "Rituals",
|
|
3831
|
-
performersLabel: "Performers"
|
|
3831
|
+
performersLabel: "Performers",
|
|
3832
|
+
ancestorLabel: "Ancestor",
|
|
3833
|
+
ritualLabel: "Ritual",
|
|
3834
|
+
performerLabel: "Performer"
|
|
3832
3835
|
},
|
|
3833
3836
|
hi: {
|
|
3834
3837
|
title: "पितृ पक्ष विशेष अनुष्ठान",
|
|
3835
3838
|
ancestorsLabel: "पितृजन",
|
|
3836
3839
|
ritualsLabel: "पूजा विधि",
|
|
3837
|
-
performersLabel: "कर्ता"
|
|
3840
|
+
performersLabel: "कर्ता",
|
|
3841
|
+
// Hindi doesn't inflect these for number (same as MYOR's own
|
|
3842
|
+
// ritualCountSingular/ritualCountPlural, which are also identical) — no
|
|
3843
|
+
// separate singular copy needed.
|
|
3844
|
+
ancestorLabel: "पितृजन",
|
|
3845
|
+
ritualLabel: "पूजा विधि",
|
|
3846
|
+
performerLabel: "कर्ता"
|
|
3838
3847
|
},
|
|
3839
3848
|
te: {
|
|
3840
3849
|
title: "పితృపక్ష ప్రత్యేక పూజలు",
|
|
3841
3850
|
ancestorsLabel: "మంది పితృదేవతలు",
|
|
3842
3851
|
ritualsLabel: "పూజలు",
|
|
3843
|
-
performersLabel: "కర్తలు"
|
|
3852
|
+
performersLabel: "కర్తలు",
|
|
3853
|
+
ancestorLabel: "మంది పితృదేవతలు",
|
|
3854
|
+
ritualLabel: "పూజలు",
|
|
3855
|
+
performerLabel: "కర్తలు"
|
|
3844
3856
|
},
|
|
3845
3857
|
kn: {
|
|
3846
3858
|
title: "ಪಿತೃ ಪಕ್ಷದ ವಿಶೇಷ ಆಚರಣೆಗಳು",
|
|
3847
3859
|
ancestorsLabel: "ಪೂರ್ವಜರು",
|
|
3848
3860
|
ritualsLabel: "ಆಚರಣೆಗಳು",
|
|
3849
|
-
performersLabel: "ಕರ್ತೃಗಳು"
|
|
3861
|
+
performersLabel: "ಕರ್ತೃಗಳು",
|
|
3862
|
+
ancestorLabel: "ಪೂರ್ವಜರು",
|
|
3863
|
+
ritualLabel: "ಆಚರಣೆಗಳು",
|
|
3864
|
+
performerLabel: "ಕರ್ತೃಗಳು"
|
|
3850
3865
|
}
|
|
3851
3866
|
}, Xr = (t) => Vt[t] ?? Vt.en, Qr = ({
|
|
3852
3867
|
locale: t = "en",
|
|
@@ -3862,20 +3877,20 @@ const Kr = [
|
|
|
3862
3877
|
className: x,
|
|
3863
3878
|
...u
|
|
3864
3879
|
}) => {
|
|
3865
|
-
const
|
|
3866
|
-
`${o.ancestors} ${
|
|
3867
|
-
`${o.rituals} ${
|
|
3868
|
-
`${o.performers} ${
|
|
3880
|
+
const f = Xr(t), b = n ?? f.title, p = c ?? (o && [
|
|
3881
|
+
`${o.ancestors} ${o.ancestors === 1 ? f.ancestorLabel : f.ancestorsLabel}`,
|
|
3882
|
+
`${o.rituals} ${o.rituals === 1 ? f.ritualLabel : f.ritualsLabel}`,
|
|
3883
|
+
`${o.performers} ${o.performers === 1 ? f.performerLabel : f.performersLabel}`
|
|
3869
3884
|
]);
|
|
3870
|
-
return /* @__PURE__ */ e.jsx("div", { className:
|
|
3871
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
3872
|
-
a && /* @__PURE__ */ e.jsx("span", { className:
|
|
3885
|
+
return /* @__PURE__ */ e.jsx("div", { className: m("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", x), ...u, children: /* @__PURE__ */ e.jsxs("div", { className: m("rounded-2xl bg-white p-4 shadow-sm", g), children: [
|
|
3886
|
+
/* @__PURE__ */ e.jsxs("p", { className: m("flex items-center gap-2 text-sm font-bold text-[#db2777]", l), children: [
|
|
3887
|
+
a && /* @__PURE__ */ e.jsx("span", { className: m("shrink-0 text-sm", s), children: a }),
|
|
3873
3888
|
b
|
|
3874
3889
|
] }),
|
|
3875
|
-
(i || p && p.length > 0) && /* @__PURE__ */ e.jsx("p", { className:
|
|
3876
|
-
|
|
3890
|
+
(i || p && p.length > 0) && /* @__PURE__ */ e.jsx("p", { className: m("mt-2 text-[15px] font-semibold text-[#1d2125]", d), children: p && p.length > 0 ? p.map((w, v) => /* @__PURE__ */ e.jsxs(k.Fragment, { children: [
|
|
3891
|
+
v > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
|
|
3877
3892
|
w
|
|
3878
|
-
] },
|
|
3893
|
+
] }, v)) : i })
|
|
3879
3894
|
] }) });
|
|
3880
3895
|
}, $t = {
|
|
3881
3896
|
en: {
|
|
@@ -3908,7 +3923,7 @@ const Kr = [
|
|
|
3908
3923
|
}
|
|
3909
3924
|
}, ya = (t) => $t[t] ?? $t.en;
|
|
3910
3925
|
function Wt({ label: t, originalValue: a, freeLabel: s, rowClassName: n }) {
|
|
3911
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
3926
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("flex items-start justify-between gap-3", n), children: [
|
|
3912
3927
|
/* @__PURE__ */ e.jsx("div", { className: "min-w-0", children: /* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium text-[#6b7280]", children: t }) }),
|
|
3913
3928
|
/* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 items-center gap-2 whitespace-nowrap text-xs", children: [
|
|
3914
3929
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#d93640] line-through", children: a }),
|
|
@@ -3930,12 +3945,12 @@ const Na = ({
|
|
|
3930
3945
|
className: x,
|
|
3931
3946
|
...u
|
|
3932
3947
|
}) => {
|
|
3933
|
-
const { title:
|
|
3934
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
3948
|
+
const { title: f, totalLabel: b, panditFeeLabel: p, photoVideoFeeLabel: w, freeLabel: v } = ya(t);
|
|
3949
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("bg-white px-4 py-6", x), ...u, children: [
|
|
3935
3950
|
s && /* @__PURE__ */ e.jsxs(
|
|
3936
3951
|
"h2",
|
|
3937
3952
|
{
|
|
3938
|
-
className:
|
|
3953
|
+
className: m(
|
|
3939
3954
|
"mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]",
|
|
3940
3955
|
a
|
|
3941
3956
|
),
|
|
@@ -3947,55 +3962,55 @@ const Na = ({
|
|
|
3947
3962
|
className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]"
|
|
3948
3963
|
}
|
|
3949
3964
|
),
|
|
3950
|
-
|
|
3965
|
+
f
|
|
3951
3966
|
]
|
|
3952
3967
|
}
|
|
3953
3968
|
),
|
|
3954
3969
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
3955
|
-
n.map((
|
|
3970
|
+
n.map((j) => /* @__PURE__ */ e.jsxs(
|
|
3956
3971
|
"div",
|
|
3957
3972
|
{
|
|
3958
|
-
className:
|
|
3973
|
+
className: m(
|
|
3959
3974
|
"flex items-start justify-between gap-3",
|
|
3960
3975
|
l
|
|
3961
3976
|
),
|
|
3962
3977
|
children: [
|
|
3963
3978
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
|
|
3964
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3965
|
-
|
|
3979
|
+
/* @__PURE__ */ e.jsx("p", { className: m("text-sm text-[#1d2125]", j.labelClassName), children: j.label }),
|
|
3980
|
+
j.subLabel && /* @__PURE__ */ e.jsx(
|
|
3966
3981
|
"p",
|
|
3967
3982
|
{
|
|
3968
|
-
className:
|
|
3983
|
+
className: m(
|
|
3969
3984
|
"mt-0.5 text-xs text-gray-400",
|
|
3970
|
-
|
|
3985
|
+
j.subLabelClassName
|
|
3971
3986
|
),
|
|
3972
|
-
children:
|
|
3987
|
+
children: j.subLabel
|
|
3973
3988
|
}
|
|
3974
3989
|
)
|
|
3975
3990
|
] }),
|
|
3976
3991
|
/* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm", children: [
|
|
3977
|
-
|
|
3978
|
-
|
|
3992
|
+
j.note && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400", children: j.note }),
|
|
3993
|
+
j.originalValue && /* @__PURE__ */ e.jsx(
|
|
3979
3994
|
"span",
|
|
3980
3995
|
{
|
|
3981
|
-
className:
|
|
3996
|
+
className: m(
|
|
3982
3997
|
"text-gray-400 line-through",
|
|
3983
|
-
|
|
3998
|
+
j.originalValueClassName
|
|
3984
3999
|
),
|
|
3985
|
-
children:
|
|
4000
|
+
children: j.originalValue
|
|
3986
4001
|
}
|
|
3987
4002
|
),
|
|
3988
4003
|
/* @__PURE__ */ e.jsx(
|
|
3989
4004
|
"span",
|
|
3990
4005
|
{
|
|
3991
|
-
className:
|
|
3992
|
-
children:
|
|
4006
|
+
className: m("font-medium text-[#1d2125]", j.valueClassName),
|
|
4007
|
+
children: j.value
|
|
3993
4008
|
}
|
|
3994
4009
|
)
|
|
3995
4010
|
] })
|
|
3996
4011
|
]
|
|
3997
4012
|
},
|
|
3998
|
-
|
|
4013
|
+
j.id
|
|
3999
4014
|
)),
|
|
4000
4015
|
g && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4001
4016
|
/* @__PURE__ */ e.jsx(
|
|
@@ -4003,7 +4018,7 @@ const Na = ({
|
|
|
4003
4018
|
{
|
|
4004
4019
|
label: p,
|
|
4005
4020
|
originalValue: d ? "$3.99" : "₹51.0",
|
|
4006
|
-
freeLabel:
|
|
4021
|
+
freeLabel: v,
|
|
4007
4022
|
rowClassName: l
|
|
4008
4023
|
}
|
|
4009
4024
|
),
|
|
@@ -4012,7 +4027,7 @@ const Na = ({
|
|
|
4012
4027
|
{
|
|
4013
4028
|
label: w,
|
|
4014
4029
|
originalValue: d ? "$0.49" : "₹21.0",
|
|
4015
|
-
freeLabel:
|
|
4030
|
+
freeLabel: v,
|
|
4016
4031
|
rowClassName: l
|
|
4017
4032
|
}
|
|
4018
4033
|
)
|
|
@@ -4021,7 +4036,7 @@ const Na = ({
|
|
|
4021
4036
|
c !== void 0 && /* @__PURE__ */ e.jsxs(
|
|
4022
4037
|
"div",
|
|
4023
4038
|
{
|
|
4024
|
-
className:
|
|
4039
|
+
className: m(
|
|
4025
4040
|
"mt-4 flex items-center justify-between border-t border-solid border-gray-300 pt-4",
|
|
4026
4041
|
o
|
|
4027
4042
|
),
|
|
@@ -4033,7 +4048,7 @@ const Na = ({
|
|
|
4033
4048
|
)
|
|
4034
4049
|
] });
|
|
4035
4050
|
}, Jr = "https://srm-cdn.a4b.io/yoda/1789670818921.svg";
|
|
4036
|
-
function
|
|
4051
|
+
function jl({
|
|
4037
4052
|
isOpen: t,
|
|
4038
4053
|
onClose: a,
|
|
4039
4054
|
locale: s = "en",
|
|
@@ -4103,7 +4118,7 @@ function vl({
|
|
|
4103
4118
|
}
|
|
4104
4119
|
);
|
|
4105
4120
|
}
|
|
4106
|
-
const
|
|
4121
|
+
const vl = ({
|
|
4107
4122
|
locale: t = "en",
|
|
4108
4123
|
onBack: a,
|
|
4109
4124
|
backButtonAriaLabel: s,
|
|
@@ -4116,12 +4131,12 @@ const jl = ({
|
|
|
4116
4131
|
itemsClassName: g,
|
|
4117
4132
|
itemClassName: x,
|
|
4118
4133
|
onItemRef: u,
|
|
4119
|
-
addons:
|
|
4134
|
+
addons: f,
|
|
4120
4135
|
addonsSectionClassName: b,
|
|
4121
4136
|
addonsHeaderClassName: p,
|
|
4122
4137
|
addonsTitleClassName: w,
|
|
4123
|
-
addonsDescriptionClassName:
|
|
4124
|
-
addonsClassName:
|
|
4138
|
+
addonsDescriptionClassName: v,
|
|
4139
|
+
addonsClassName: j,
|
|
4125
4140
|
addonClassName: y,
|
|
4126
4141
|
addonComponent: S = Ur,
|
|
4127
4142
|
onAddonRef: B,
|
|
@@ -4133,50 +4148,50 @@ const jl = ({
|
|
|
4133
4148
|
...G
|
|
4134
4149
|
}) => {
|
|
4135
4150
|
const { backButtonAriaLabel: _, headerTitle: L, addonsTitle: H, addonsDescription: J, checkoutProceedLabel: W, checkoutRitualSingular: ne, checkoutRitualPlural: Z } = Ue(t), { price: te, ritualCount: le, ...T } = z ?? {};
|
|
4136
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
4151
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("flex min-h-screen flex-col bg-white", D), ...G, children: [
|
|
4137
4152
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
4138
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
4153
|
+
/* @__PURE__ */ e.jsxs("div", { className: m("flex items-center gap-3 px-4 py-3", n), children: [
|
|
4139
4154
|
a && /* @__PURE__ */ e.jsx(
|
|
4140
4155
|
"button",
|
|
4141
4156
|
{
|
|
4142
4157
|
type: "button",
|
|
4143
4158
|
onClick: a,
|
|
4144
4159
|
"aria-label": s ?? _,
|
|
4145
|
-
className:
|
|
4160
|
+
className: m(
|
|
4146
4161
|
"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",
|
|
4147
4162
|
l
|
|
4148
4163
|
),
|
|
4149
4164
|
children: /* @__PURE__ */ e.jsx(lt, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
4150
4165
|
}
|
|
4151
4166
|
),
|
|
4152
|
-
/* @__PURE__ */ e.jsx("h1", { className:
|
|
4167
|
+
/* @__PURE__ */ e.jsx("h1", { className: m("text-lg font-bold text-[#1d2125]", i), children: L })
|
|
4153
4168
|
] }),
|
|
4154
4169
|
o && /* @__PURE__ */ e.jsx(Qr, { ...o }),
|
|
4155
|
-
d && d.length > 0 && /* @__PURE__ */ e.jsx("div", { className:
|
|
4170
|
+
d && d.length > 0 && /* @__PURE__ */ e.jsx("div", { className: m("flex flex-col gap-3 bg-white px-4 py-4", g), children: d.map(({ id: O, className: oe, isMandapCharge: de, ...ce }) => /* @__PURE__ */ e.jsx("div", { ref: u ? (xe) => u(O, xe) : void 0, children: de ? /* @__PURE__ */ e.jsx(
|
|
4156
4171
|
fr,
|
|
4157
4172
|
{
|
|
4158
4173
|
locale: t,
|
|
4159
|
-
className:
|
|
4174
|
+
className: m(x, oe),
|
|
4160
4175
|
...ce
|
|
4161
4176
|
}
|
|
4162
4177
|
) : /* @__PURE__ */ e.jsx(
|
|
4163
4178
|
pa,
|
|
4164
4179
|
{
|
|
4165
|
-
className:
|
|
4180
|
+
className: m(x, oe),
|
|
4166
4181
|
...ce
|
|
4167
4182
|
}
|
|
4168
4183
|
) }, O)) }),
|
|
4169
4184
|
c,
|
|
4170
|
-
|
|
4185
|
+
f && f.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: m("flex flex-col gap-4 bg-gray-50 px-4 py-6", b), children: [
|
|
4171
4186
|
/* @__PURE__ */ e.jsxs("div", { className: p, children: [
|
|
4172
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
4173
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
4187
|
+
/* @__PURE__ */ e.jsx("h2", { className: m("text-base font-bold text-gray-700", w), children: H }),
|
|
4188
|
+
/* @__PURE__ */ e.jsx("p", { className: m("mt-1 text-sm text-gray-500", v), children: J })
|
|
4174
4189
|
] }),
|
|
4175
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
4190
|
+
/* @__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: B ? (ce) => B(O, ce) : void 0, children: /* @__PURE__ */ e.jsx(
|
|
4176
4191
|
S,
|
|
4177
4192
|
{
|
|
4178
4193
|
locale: t,
|
|
4179
|
-
className:
|
|
4194
|
+
className: m(y, oe),
|
|
4180
4195
|
...de
|
|
4181
4196
|
}
|
|
4182
4197
|
) }, O)) })
|
|
@@ -4211,16 +4226,16 @@ const jl = ({
|
|
|
4211
4226
|
wrapperClassName: g,
|
|
4212
4227
|
maxLength: x,
|
|
4213
4228
|
id: u,
|
|
4214
|
-
...
|
|
4229
|
+
...f
|
|
4215
4230
|
}, b) => {
|
|
4216
|
-
const p = k.useId(), w = u ?? p,
|
|
4217
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
4231
|
+
const p = k.useId(), w = u ?? p, v = i ?? (l ? `${a.length}${x ? `/${x}` : ""}` : void 0);
|
|
4232
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("flex w-full flex-col gap-2", d), children: [
|
|
4218
4233
|
t && /* @__PURE__ */ e.jsx("label", { htmlFor: w, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: t }),
|
|
4219
4234
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
4220
4235
|
/* @__PURE__ */ e.jsxs(
|
|
4221
4236
|
"div",
|
|
4222
4237
|
{
|
|
4223
|
-
className:
|
|
4238
|
+
className: m(
|
|
4224
4239
|
"flex w-full items-center gap-1.5 rounded-lg border bg-white p-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",
|
|
4225
4240
|
c ? "border-[#ef4444]" : "border-[#d1d5db]",
|
|
4226
4241
|
g
|
|
@@ -4234,19 +4249,19 @@ const jl = ({
|
|
|
4234
4249
|
id: w,
|
|
4235
4250
|
value: a,
|
|
4236
4251
|
maxLength: x,
|
|
4237
|
-
onChange: (
|
|
4252
|
+
onChange: (j) => s(j.target.value),
|
|
4238
4253
|
"aria-invalid": c,
|
|
4239
|
-
className:
|
|
4254
|
+
className: m(
|
|
4240
4255
|
"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",
|
|
4241
4256
|
o
|
|
4242
4257
|
),
|
|
4243
|
-
...
|
|
4258
|
+
...f
|
|
4244
4259
|
}
|
|
4245
4260
|
)
|
|
4246
4261
|
]
|
|
4247
4262
|
}
|
|
4248
4263
|
),
|
|
4249
|
-
|
|
4264
|
+
v && /* @__PURE__ */ e.jsx("p", { className: m("text-[12px] leading-4 font-medium", c ? "text-[#ef4444]" : "text-[#9ca3af]"), children: v })
|
|
4250
4265
|
] })
|
|
4251
4266
|
] });
|
|
4252
4267
|
}
|
|
@@ -4296,13 +4311,13 @@ function yl({
|
|
|
4296
4311
|
)
|
|
4297
4312
|
] }),
|
|
4298
4313
|
children: /* @__PURE__ */ e.jsx("div", { className: "grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4", children: l.map((u) => {
|
|
4299
|
-
const
|
|
4314
|
+
const f = d === u;
|
|
4300
4315
|
return /* @__PURE__ */ e.jsx(
|
|
4301
4316
|
"button",
|
|
4302
4317
|
{
|
|
4303
4318
|
type: "button",
|
|
4304
4319
|
onClick: () => g(u),
|
|
4305
|
-
className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${
|
|
4320
|
+
className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${f ? "border-[#f38415] bg-[#f38415] text-white" : "border-[#fccf9a] bg-white/40 text-[#374151]"}`,
|
|
4306
4321
|
children: u
|
|
4307
4322
|
},
|
|
4308
4323
|
u
|
|
@@ -4364,27 +4379,27 @@ function Nl({
|
|
|
4364
4379
|
minYear: g,
|
|
4365
4380
|
maxYear: x = (/* @__PURE__ */ new Date()).getFullYear(),
|
|
4366
4381
|
minDate: u,
|
|
4367
|
-
maxDate:
|
|
4382
|
+
maxDate: f
|
|
4368
4383
|
}) {
|
|
4369
|
-
const b = u?.year ?? g, p =
|
|
4384
|
+
const b = u?.year ?? g, p = f?.year ?? x, w = $e(() => {
|
|
4370
4385
|
const _ = b ?? p - 120;
|
|
4371
4386
|
return Array.from({ length: p - _ + 1 }, (L, H) => _ + H);
|
|
4372
|
-
}, [b, p]), [
|
|
4387
|
+
}, [b, p]), [v, j] = $(() => d ? d.day - 1 : Math.floor(Gt.length / 2)), [y, S] = $(() => d ? d.month - 1 : 0), [B, U] = $(
|
|
4373
4388
|
() => d ? Math.max(0, w.indexOf(d.year)) : Math.floor(w.length / 2)
|
|
4374
4389
|
), I = w[B], z = $e(() => {
|
|
4375
4390
|
let _ = en;
|
|
4376
|
-
return
|
|
4377
|
-
}, [I, u,
|
|
4391
|
+
return f && I === f.year && (_ = _.filter((L) => L <= f.month - 1)), u && I === u.year && (_ = _.filter((L) => L >= u.month - 1)), _;
|
|
4392
|
+
}, [I, u, f]), D = (z[y] ?? z[z.length - 1] ?? 0) + 1, F = $e(() => {
|
|
4378
4393
|
let _ = Gt;
|
|
4379
|
-
return
|
|
4380
|
-
}, [I, D, u,
|
|
4394
|
+
return f && I === f.year && D === f.month && (_ = _.filter((L) => L <= f.day)), u && I === u.year && D === u.month && (_ = _.filter((L) => L >= u.day)), _;
|
|
4395
|
+
}, [I, D, u, f]);
|
|
4381
4396
|
at(() => {
|
|
4382
4397
|
S((_) => Math.min(_, z.length - 1));
|
|
4383
4398
|
}, [z]), at(() => {
|
|
4384
|
-
|
|
4399
|
+
j((_) => Math.min(_, F.length - 1));
|
|
4385
4400
|
}, [F]);
|
|
4386
4401
|
const G = () => {
|
|
4387
|
-
const _ = F[
|
|
4402
|
+
const _ = F[v] ?? F[F.length - 1] ?? 1;
|
|
4388
4403
|
c({ day: _, month: D, year: I });
|
|
4389
4404
|
};
|
|
4390
4405
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -4406,7 +4421,7 @@ function Nl({
|
|
|
4406
4421
|
/* @__PURE__ */ e.jsx(X, { variant: "primary", size: "lg", className: "flex-1 rounded-xl", onClick: G, children: i })
|
|
4407
4422
|
] }),
|
|
4408
4423
|
children: /* @__PURE__ */ e.jsxs("div", { className: "relative flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
4409
|
-
/* @__PURE__ */ e.jsx(Le, { options: F.map(String), selectedIndex:
|
|
4424
|
+
/* @__PURE__ */ e.jsx(Le, { options: F.map(String), selectedIndex: v, onChange: j }),
|
|
4410
4425
|
/* @__PURE__ */ e.jsx(
|
|
4411
4426
|
Le,
|
|
4412
4427
|
{
|
|
@@ -4442,8 +4457,8 @@ function wl({
|
|
|
4442
4457
|
amLabel: d = "AM",
|
|
4443
4458
|
pmLabel: g = "PM"
|
|
4444
4459
|
}) {
|
|
4445
|
-
const x = $e(() => tn(o?.hour ?? 11), [o?.hour]), u = [d, g], [
|
|
4446
|
-
const S = an(Je[
|
|
4460
|
+
const x = $e(() => tn(o?.hour ?? 11), [o?.hour]), u = [d, g], [f, b] = $(() => Je.indexOf(x.hour12)), [p, w] = $(() => o?.minute ?? 0), [v, j] = $(() => x.period === "AM" ? 0 : 1), y = () => {
|
|
4461
|
+
const S = an(Je[f], v === 0 ? "AM" : "PM");
|
|
4447
4462
|
i({ hour: S, minute: Ut[p] });
|
|
4448
4463
|
};
|
|
4449
4464
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -4463,7 +4478,7 @@ function wl({
|
|
|
4463
4478
|
/* @__PURE__ */ e.jsx(X, { variant: "primary", size: "lg", className: "flex-1 rounded-xl", onClick: y, children: l })
|
|
4464
4479
|
] }),
|
|
4465
4480
|
children: /* @__PURE__ */ e.jsxs("div", { className: "relative flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
4466
|
-
/* @__PURE__ */ e.jsx(Le, { options: Je.map(String), selectedIndex:
|
|
4481
|
+
/* @__PURE__ */ e.jsx(Le, { options: Je.map(String), selectedIndex: f, onChange: b }),
|
|
4467
4482
|
/* @__PURE__ */ e.jsx(
|
|
4468
4483
|
Le,
|
|
4469
4484
|
{
|
|
@@ -4472,7 +4487,7 @@ function wl({
|
|
|
4472
4487
|
onChange: w
|
|
4473
4488
|
}
|
|
4474
4489
|
),
|
|
4475
|
-
/* @__PURE__ */ e.jsx(Le, { options: u, selectedIndex:
|
|
4490
|
+
/* @__PURE__ */ e.jsx(Le, { options: u, selectedIndex: v, onChange: j }),
|
|
4476
4491
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-5 top-16 h-px bg-[#e5e7eb]" }),
|
|
4477
4492
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-5 top-28 h-px bg-[#e5e7eb]" })
|
|
4478
4493
|
] })
|
|
@@ -4521,7 +4536,7 @@ function Cl({
|
|
|
4521
4536
|
countries: d = Ua,
|
|
4522
4537
|
initialCountryIso: g = "IN"
|
|
4523
4538
|
}) {
|
|
4524
|
-
const x = d.find((
|
|
4539
|
+
const x = d.find((v) => v.iso === g) ?? d[0], [u, f] = $(o), b = sa(x.code), p = ra(u, x.code).isValid && u.length > 0, w = () => {
|
|
4525
4540
|
p && c(u, x);
|
|
4526
4541
|
};
|
|
4527
4542
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -4561,7 +4576,7 @@ function Cl({
|
|
|
4561
4576
|
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#6b7280]", children: x.code })
|
|
4562
4577
|
] }),
|
|
4563
4578
|
maxLength: b,
|
|
4564
|
-
onChange: (
|
|
4579
|
+
onChange: (v) => f(v.replace(/\D/g, "").slice(0, b)),
|
|
4565
4580
|
containerClassName: "mt-2 w-full gap-0",
|
|
4566
4581
|
wrapperClassName: "h-14 gap-2 rounded-xl px-4",
|
|
4567
4582
|
className: "text-[18px] placeholder:text-[#ced1d7]"
|
|
@@ -4582,8 +4597,8 @@ function Ll({
|
|
|
4582
4597
|
initialValue: c = "",
|
|
4583
4598
|
errorText: o = "Please enter a valid email"
|
|
4584
4599
|
}) {
|
|
4585
|
-
const [d, g] = $(c), [x, u] = $(!1),
|
|
4586
|
-
b && i(
|
|
4600
|
+
const [d, g] = $(c), [x, u] = $(!1), f = d.trim(), b = rn.test(f), p = x && f.length > 0 && !b, w = () => {
|
|
4601
|
+
b && i(f);
|
|
4587
4602
|
};
|
|
4588
4603
|
return /* @__PURE__ */ e.jsx(
|
|
4589
4604
|
ke,
|
|
@@ -4642,12 +4657,12 @@ function kl({
|
|
|
4642
4657
|
imageComponent: g,
|
|
4643
4658
|
ratingLabel: x,
|
|
4644
4659
|
bookedLabel: u,
|
|
4645
|
-
title:
|
|
4660
|
+
title: f,
|
|
4646
4661
|
description: b,
|
|
4647
4662
|
learnMoreLabel: p,
|
|
4648
4663
|
onLearnMoreClick: w,
|
|
4649
|
-
learnMoreHref:
|
|
4650
|
-
dateLabel:
|
|
4664
|
+
learnMoreHref: v,
|
|
4665
|
+
dateLabel: j,
|
|
4651
4666
|
locationLabel: y,
|
|
4652
4667
|
priceInfoLabel: S,
|
|
4653
4668
|
onPriceInfoClick: B,
|
|
@@ -4655,7 +4670,7 @@ function kl({
|
|
|
4655
4670
|
cta: I,
|
|
4656
4671
|
className: z = ""
|
|
4657
4672
|
}) {
|
|
4658
|
-
const [D, F] = $(!1), G = s || D, _ = G && (x != null || u != null), L = G && (
|
|
4673
|
+
const [D, F] = $(!1), G = s || D, _ = G && (x != null || u != null), L = G && (j != null || y != null);
|
|
4659
4674
|
return /* @__PURE__ */ e.jsxs(
|
|
4660
4675
|
"div",
|
|
4661
4676
|
{
|
|
@@ -4725,13 +4740,13 @@ function kl({
|
|
|
4725
4740
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-3", children: [
|
|
4726
4741
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2", children: [
|
|
4727
4742
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1", children: [
|
|
4728
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children:
|
|
4743
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children: f }),
|
|
4729
4744
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-semibold leading-4 text-[#6B7280]", children: b })
|
|
4730
4745
|
] }),
|
|
4731
4746
|
G && p != null && /* @__PURE__ */ e.jsxs(
|
|
4732
4747
|
"a",
|
|
4733
4748
|
{
|
|
4734
|
-
href:
|
|
4749
|
+
href: v,
|
|
4735
4750
|
className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",
|
|
4736
4751
|
onClick: w,
|
|
4737
4752
|
children: [
|
|
@@ -4745,9 +4760,9 @@ function kl({
|
|
|
4745
4760
|
L && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
4746
4761
|
/* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
|
|
4747
4762
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2", children: [
|
|
4748
|
-
|
|
4763
|
+
j != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
4749
4764
|
/* @__PURE__ */ e.jsx(xa, { "aria-hidden": !0, className: "size-3.5 shrink-0 text-gray-700" }),
|
|
4750
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children:
|
|
4765
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: j })
|
|
4751
4766
|
] }),
|
|
4752
4767
|
y != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
4753
4768
|
/* @__PURE__ */ e.jsx("img", { src: nn, alt: "", "aria-hidden": !0, className: "size-3.5 shrink-0" }),
|
|
@@ -4844,7 +4859,7 @@ function on({
|
|
|
4844
4859
|
className: x,
|
|
4845
4860
|
isGlobal: u = !1
|
|
4846
4861
|
}) {
|
|
4847
|
-
const
|
|
4862
|
+
const f = ln(s), b = f.payButtonTemplate.replace("{amount}", o);
|
|
4848
4863
|
return /* @__PURE__ */ e.jsx(
|
|
4849
4864
|
Ie,
|
|
4850
4865
|
{
|
|
@@ -4852,11 +4867,11 @@ function on({
|
|
|
4852
4867
|
onClose: a,
|
|
4853
4868
|
showDragHandle: !1,
|
|
4854
4869
|
closeButtonOutside: !0,
|
|
4855
|
-
ariaLabel:
|
|
4856
|
-
className:
|
|
4870
|
+
ariaLabel: f.heading,
|
|
4871
|
+
className: m("rounded-t-[20px] bg-[#f7f8f9]", x),
|
|
4857
4872
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-0.5 px-4 pt-4", children: [
|
|
4858
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[18px] leading-6 font-bold text-[#22272b]", children:
|
|
4859
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[14px] leading-5 font-normal text-[#6b7280]", children:
|
|
4873
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[18px] leading-6 font-bold text-[#22272b]", children: f.heading }),
|
|
4874
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[14px] leading-5 font-normal text-[#6b7280]", children: f.subtext })
|
|
4860
4875
|
] }),
|
|
4861
4876
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3 px-4 pb-4", children: [
|
|
4862
4877
|
/* @__PURE__ */ e.jsx(
|
|
@@ -4866,7 +4881,7 @@ function on({
|
|
|
4866
4881
|
size: "lg",
|
|
4867
4882
|
className: "h-12 shrink-0 rounded-xl border-[#141414] text-[#1d2125] hover:bg-gray-50",
|
|
4868
4883
|
onClick: d,
|
|
4869
|
-
children:
|
|
4884
|
+
children: f.editDetailsLabel
|
|
4870
4885
|
}
|
|
4871
4886
|
),
|
|
4872
4887
|
/* @__PURE__ */ e.jsx(
|
|
@@ -4882,7 +4897,7 @@ function on({
|
|
|
4882
4897
|
] }),
|
|
4883
4898
|
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: [
|
|
4884
4899
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
4885
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children:
|
|
4900
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: f.ancestorsLabel }),
|
|
4886
4901
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((p) => /* @__PURE__ */ e.jsxs(Zt, { children: [
|
|
4887
4902
|
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: p.value }),
|
|
4888
4903
|
p.label && /* @__PURE__ */ e.jsxs("span", { className: "text-[10px] leading-3.5 font-medium text-[#6b7280]", children: [
|
|
@@ -4894,7 +4909,7 @@ function on({
|
|
|
4894
4909
|
] }),
|
|
4895
4910
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
4896
4911
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
4897
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children:
|
|
4912
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: f.performerLabel }),
|
|
4898
4913
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: l.filter((p) => p.trim().length > 0).map((p, w) => /* @__PURE__ */ e.jsx(Zt, { children: /* @__PURE__ */ e.jsxs("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: [
|
|
4899
4914
|
w + 1,
|
|
4900
4915
|
". ",
|
|
@@ -4904,11 +4919,11 @@ function on({
|
|
|
4904
4919
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
4905
4920
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 px-3", children: [
|
|
4906
4921
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
4907
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
4922
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: f.gotraLabel }),
|
|
4908
4923
|
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children: i })
|
|
4909
4924
|
] }),
|
|
4910
4925
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
4911
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: u ?
|
|
4926
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: u ? f.emailLabel : f.whatsappLabel }),
|
|
4912
4927
|
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children: c })
|
|
4913
4928
|
] })
|
|
4914
4929
|
] })
|
|
@@ -4952,7 +4967,7 @@ function cn({ isOpen: t, onClose: a, onOkayClick: s, locale: n = "en", className
|
|
|
4952
4967
|
showCloseButton: !1,
|
|
4953
4968
|
showDragHandle: !1,
|
|
4954
4969
|
ariaLabel: i.heading,
|
|
4955
|
-
className:
|
|
4970
|
+
className: m("rounded-t-[20px]", l),
|
|
4956
4971
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-3 px-4 pt-5 pb-3", children: [
|
|
4957
4972
|
/* @__PURE__ */ e.jsx("p", { className: "flex-1 text-[18px] leading-6 font-bold text-[#22272b]", children: i.heading }),
|
|
4958
4973
|
/* @__PURE__ */ e.jsx(
|
|
@@ -5143,20 +5158,20 @@ function _l({
|
|
|
5143
5158
|
onPriceInfoClick: g,
|
|
5144
5159
|
showPriceInfoIcon: x = !0,
|
|
5145
5160
|
canProceed: u,
|
|
5146
|
-
copy:
|
|
5161
|
+
copy: f,
|
|
5147
5162
|
proceedCtaLabel: b,
|
|
5148
5163
|
proceedButtonProps: p,
|
|
5149
5164
|
onProceedPayment: w,
|
|
5150
|
-
onProceedCtaClick:
|
|
5151
|
-
onConfirmModalOpen:
|
|
5165
|
+
onProceedCtaClick: v,
|
|
5166
|
+
onConfirmModalOpen: j,
|
|
5152
5167
|
onConfirmEditDetailsClick: y,
|
|
5153
5168
|
onConfirmModalDismiss: S,
|
|
5154
5169
|
onGotraInfoOpen: B,
|
|
5155
5170
|
onGotraInfoOkayClick: U,
|
|
5156
5171
|
className: I
|
|
5157
5172
|
}) {
|
|
5158
|
-
const [z, D] = $(!1), [F, G] = $(!1), _ = dn(t), L =
|
|
5159
|
-
Object.keys(_).map((C) => [C,
|
|
5173
|
+
const [z, D] = $(!1), [F, G] = $(!1), _ = dn(t), L = f ? Object.fromEntries(
|
|
5174
|
+
Object.keys(_).map((C) => [C, f[C] || _[C]])
|
|
5160
5175
|
) : _, H = wa(t), J = (C) => {
|
|
5161
5176
|
const q = xn(C + 1, t);
|
|
5162
5177
|
return C === 0 ? `*${q} ${L.kartaNameLabel}` : `${q} ${L.kartaNameLabel} ${L.kartaNameOptionalSuffix}`;
|
|
@@ -5186,7 +5201,7 @@ function _l({
|
|
|
5186
5201
|
gotra: C,
|
|
5187
5202
|
isGotraUnknown: C.trim() === L.kashyapGotraLabel
|
|
5188
5203
|
});
|
|
5189
|
-
},
|
|
5204
|
+
}, je = (C) => {
|
|
5190
5205
|
ge(C), ce(!1);
|
|
5191
5206
|
}, Se = () => {
|
|
5192
5207
|
const C = !a.isGotraUnknown;
|
|
@@ -5194,14 +5209,14 @@ function _l({
|
|
|
5194
5209
|
}, fe = sa(tt), Be = ra(
|
|
5195
5210
|
a.whatsappNumber,
|
|
5196
5211
|
tt
|
|
5197
|
-
).isValid, Te = mn.test(a.email), Ke = a.whatsappNumber.length > 0 && !Be, Ze = a.email.length > 0 && !Te,
|
|
5212
|
+
).isValid, Te = mn.test(a.email), Ke = a.whatsappNumber.length > 0 && !Be, Ze = a.email.length > 0 && !Te, ve = (n ? Te : a.whatsappNumber.trim().length > 0 && Be) && Ae(a.kartaNames[0]) && // Karta names after the first are optional (see `getKartaNameLabel`) —
|
|
5198
5213
|
// left blank is fine, but a partially-typed one still has to clear
|
|
5199
5214
|
// `MIN_NAME_LENGTH` like every other name field.
|
|
5200
|
-
a.kartaNames.slice(1).every((C) => C.trim().length === 0 || Ae(C)) && a.gotra.trim().length > 0 && a.ancestors.every((C) => Ae(C.value)), me = u ??
|
|
5215
|
+
a.kartaNames.slice(1).every((C) => C.trim().length === 0 || Ae(C)) && a.gotra.trim().length > 0 && a.ancestors.every((C) => Ae(C.value)), me = u ?? ve, ze = a.gotra.trim().length > 0 ? a.gotra : L.kashyapGotraLabel, De = n ? a.email : a.whatsappNumber, ye = t;
|
|
5201
5216
|
return /* @__PURE__ */ e.jsxs(
|
|
5202
5217
|
"div",
|
|
5203
5218
|
{
|
|
5204
|
-
className:
|
|
5219
|
+
className: m(
|
|
5205
5220
|
"flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]",
|
|
5206
5221
|
I
|
|
5207
5222
|
),
|
|
@@ -5281,7 +5296,7 @@ function _l({
|
|
|
5281
5296
|
showCharCount: !0,
|
|
5282
5297
|
error: O(C),
|
|
5283
5298
|
supportingText: O(C) ? L.nameMinLengthError : void 0,
|
|
5284
|
-
wrapperClassName:
|
|
5299
|
+
wrapperClassName: m(
|
|
5285
5300
|
"h-12 rounded-xl"
|
|
5286
5301
|
),
|
|
5287
5302
|
onChange: (ae) => ne(q, ae)
|
|
@@ -5339,8 +5354,8 @@ function _l({
|
|
|
5339
5354
|
type: "button",
|
|
5340
5355
|
role: "option",
|
|
5341
5356
|
"aria-selected": C === a.gotra,
|
|
5342
|
-
onClick: () =>
|
|
5343
|
-
className:
|
|
5357
|
+
onClick: () => je(C),
|
|
5358
|
+
className: m(
|
|
5344
5359
|
"flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",
|
|
5345
5360
|
C === a.gotra && "bg-[#fff9e9]"
|
|
5346
5361
|
),
|
|
@@ -5433,7 +5448,7 @@ function _l({
|
|
|
5433
5448
|
showInfoIcon: x,
|
|
5434
5449
|
proceedLabel: b ?? L.proceedCtaLabel,
|
|
5435
5450
|
onProceed: () => {
|
|
5436
|
-
D(!0),
|
|
5451
|
+
D(!0), v?.(), j?.();
|
|
5437
5452
|
},
|
|
5438
5453
|
growProceedButton: !0,
|
|
5439
5454
|
proceedButtonProps: {
|
|
@@ -5508,7 +5523,7 @@ function hn({ date: t }) {
|
|
|
5508
5523
|
}
|
|
5509
5524
|
const bn = "https://srm-cdn.a4b.io/yoda/1788173590414.svg", Jt = "https://srm-cdn.a4b.io/yoda/1788173668895.svg";
|
|
5510
5525
|
function gn({ badgeLabel: t, dateLabel: a, className: s }) {
|
|
5511
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
5526
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m("flex flex-col items-center gap-1", s), children: [
|
|
5512
5527
|
/* @__PURE__ */ e.jsxs("div", { className: "relative flex size-22.5 items-center justify-center", children: [
|
|
5513
5528
|
/* @__PURE__ */ e.jsx(
|
|
5514
5529
|
"img",
|
|
@@ -5546,17 +5561,17 @@ function gn({ badgeLabel: t, dateLabel: a, className: s }) {
|
|
|
5546
5561
|
a && /* @__PURE__ */ e.jsx(hn, { date: a })
|
|
5547
5562
|
] });
|
|
5548
5563
|
}
|
|
5549
|
-
const ea = "https://srm-cdn.a4b.io/yoda/1788256892735.svg",
|
|
5564
|
+
const ea = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", jn = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", vn = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", yn = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", Nn = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", wn = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
|
|
5550
5565
|
function Cn({ variant: t }) {
|
|
5551
5566
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
5552
5567
|
t === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
5553
5568
|
/* @__PURE__ */ e.jsx("img", { src: ea, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
|
|
5554
5569
|
/* @__PURE__ */ e.jsx("img", { src: ea, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
|
|
5555
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
5570
|
+
/* @__PURE__ */ e.jsx("img", { src: jn, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
|
|
5556
5571
|
] }),
|
|
5557
5572
|
t === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
|
|
5558
5573
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]" }),
|
|
5559
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
5574
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src: vn, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
5560
5575
|
] }),
|
|
5561
5576
|
t === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
|
|
5562
5577
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: yn, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
@@ -5615,12 +5630,12 @@ function Tl({
|
|
|
5615
5630
|
saveCta: d,
|
|
5616
5631
|
maxNameLength: g = Ln
|
|
5617
5632
|
}) {
|
|
5618
|
-
const [x, u] = $([""]),
|
|
5619
|
-
|
|
5633
|
+
const [x, u] = $([""]), f = () => u([""]), b = (v) => {
|
|
5634
|
+
f(), a(v);
|
|
5620
5635
|
}, p = () => {
|
|
5621
|
-
const
|
|
5622
|
-
|
|
5623
|
-
}, w = x.some((
|
|
5636
|
+
const v = x.map((j) => j.trim()).filter(Boolean);
|
|
5637
|
+
v.length !== 0 && (s(v), f());
|
|
5638
|
+
}, w = x.some((v) => v.trim().length > 0);
|
|
5624
5639
|
return /* @__PURE__ */ e.jsx(
|
|
5625
5640
|
ke,
|
|
5626
5641
|
{
|
|
@@ -5643,18 +5658,18 @@ function Tl({
|
|
|
5643
5658
|
}
|
|
5644
5659
|
) }),
|
|
5645
5660
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2.5 px-4 py-3", children: [
|
|
5646
|
-
x.map((
|
|
5661
|
+
x.map((v, j) => /* @__PURE__ */ e.jsx(
|
|
5647
5662
|
ue,
|
|
5648
5663
|
{
|
|
5649
5664
|
label: l,
|
|
5650
5665
|
placeholder: c,
|
|
5651
|
-
value:
|
|
5666
|
+
value: v,
|
|
5652
5667
|
prefix: i,
|
|
5653
5668
|
maxLength: g,
|
|
5654
5669
|
showCharCount: !0,
|
|
5655
|
-
onChange: (y) => u((S) => S.map((B, U) => U ===
|
|
5670
|
+
onChange: (y) => u((S) => S.map((B, U) => U === j ? y : B))
|
|
5656
5671
|
},
|
|
5657
|
-
|
|
5672
|
+
j
|
|
5658
5673
|
)),
|
|
5659
5674
|
/* @__PURE__ */ e.jsx(
|
|
5660
5675
|
X,
|
|
@@ -5663,7 +5678,7 @@ function Tl({
|
|
|
5663
5678
|
size: "sm",
|
|
5664
5679
|
className: "self-start text-[#f75e22]",
|
|
5665
5680
|
leftIcon: /* @__PURE__ */ e.jsx(Cs, { "aria-hidden": !0 }),
|
|
5666
|
-
onClick: () => u((
|
|
5681
|
+
onClick: () => u((v) => [...v, ""]),
|
|
5667
5682
|
children: o
|
|
5668
5683
|
}
|
|
5669
5684
|
)
|
|
@@ -5771,7 +5786,7 @@ function Al({
|
|
|
5771
5786
|
return /* @__PURE__ */ e.jsx(
|
|
5772
5787
|
"div",
|
|
5773
5788
|
{
|
|
5774
|
-
className:
|
|
5789
|
+
className: m(
|
|
5775
5790
|
"flex w-full items-start overflow-x-auto scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",
|
|
5776
5791
|
i
|
|
5777
5792
|
),
|
|
@@ -5913,32 +5928,32 @@ const ta = {
|
|
|
5913
5928
|
helperTextClassName: g,
|
|
5914
5929
|
...x
|
|
5915
5930
|
}, u) => {
|
|
5916
|
-
const
|
|
5931
|
+
const f = Bn(t);
|
|
5917
5932
|
return /* @__PURE__ */ e.jsxs(
|
|
5918
5933
|
"div",
|
|
5919
5934
|
{
|
|
5920
5935
|
ref: u,
|
|
5921
|
-
className:
|
|
5936
|
+
className: m("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm", c),
|
|
5922
5937
|
...x,
|
|
5923
5938
|
children: [
|
|
5924
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
5939
|
+
/* @__PURE__ */ e.jsxs("div", { className: m("flex items-center gap-3", o), children: [
|
|
5925
5940
|
/* @__PURE__ */ e.jsx(Me, { icon: i ?? /* @__PURE__ */ e.jsx(In, { size: 22, "aria-hidden": !0 }), size: "lg" }),
|
|
5926
5941
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
5927
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: a ??
|
|
5928
|
-
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ??
|
|
5942
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: a ?? f.title }),
|
|
5943
|
+
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ?? f.subtitle })
|
|
5929
5944
|
] })
|
|
5930
5945
|
] }),
|
|
5931
5946
|
/* @__PURE__ */ e.jsx(
|
|
5932
5947
|
"div",
|
|
5933
5948
|
{
|
|
5934
|
-
className:
|
|
5949
|
+
className: m(
|
|
5935
5950
|
"mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",
|
|
5936
5951
|
d
|
|
5937
5952
|
),
|
|
5938
|
-
children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ??
|
|
5953
|
+
children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ?? f.value })
|
|
5939
5954
|
}
|
|
5940
5955
|
),
|
|
5941
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
5956
|
+
/* @__PURE__ */ e.jsx("p", { className: m("mt-3 text-sm leading-4.5 text-gray-500", g), children: l ?? f.helperText })
|
|
5942
5957
|
]
|
|
5943
5958
|
}
|
|
5944
5959
|
);
|
|
@@ -6016,7 +6031,7 @@ function Dl({
|
|
|
6016
6031
|
return /* @__PURE__ */ e.jsxs(
|
|
6017
6032
|
"div",
|
|
6018
6033
|
{
|
|
6019
|
-
className:
|
|
6034
|
+
className: m(
|
|
6020
6035
|
"relative flex w-full flex-col items-center gap-3 overflow-hidden bg-gradient-to-b from-[#FFF9E9] to-white pt-2 pb-4",
|
|
6021
6036
|
d
|
|
6022
6037
|
),
|
|
@@ -6068,25 +6083,25 @@ function Fl({
|
|
|
6068
6083
|
proceedButtonProps: x,
|
|
6069
6084
|
className: u
|
|
6070
6085
|
}) {
|
|
6071
|
-
const
|
|
6086
|
+
const f = g ?? t == null;
|
|
6072
6087
|
return /* @__PURE__ */ e.jsxs(
|
|
6073
6088
|
"div",
|
|
6074
6089
|
{
|
|
6075
|
-
className:
|
|
6090
|
+
className: m(
|
|
6076
6091
|
"flex items-start justify-center gap-6 bg-gradient-to-b from-[#fff9e9] to-[#fcccdf] px-4 pt-4 pb-5 drop-shadow-[0px_4px_10px_rgba(0,0,0,0.12)]",
|
|
6077
6092
|
u
|
|
6078
6093
|
),
|
|
6079
6094
|
children: [
|
|
6080
6095
|
t != null && /* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 flex-col items-start", children: [
|
|
6081
6096
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
6082
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
6097
|
+
/* @__PURE__ */ e.jsx("span", { className: m("text-lg leading-6 font-bold text-[#141414]", a), children: t }),
|
|
6083
6098
|
l && /* @__PURE__ */ e.jsx(
|
|
6084
6099
|
"button",
|
|
6085
6100
|
{
|
|
6086
6101
|
type: "button",
|
|
6087
6102
|
onClick: i,
|
|
6088
6103
|
"aria-label": "View bill details",
|
|
6089
|
-
className:
|
|
6104
|
+
className: m(
|
|
6090
6105
|
"inline-flex shrink-0 items-center justify-center text-[#f75e22]",
|
|
6091
6106
|
!i && "pointer-events-none"
|
|
6092
6107
|
),
|
|
@@ -6094,19 +6109,19 @@ function Fl({
|
|
|
6094
6109
|
}
|
|
6095
6110
|
)
|
|
6096
6111
|
] }),
|
|
6097
|
-
s && /* @__PURE__ */ e.jsx("p", { className:
|
|
6112
|
+
s && /* @__PURE__ */ e.jsx("p", { className: m("text-xs leading-4 text-gray-500", n), children: s })
|
|
6098
6113
|
] }),
|
|
6099
6114
|
/* @__PURE__ */ e.jsxs(
|
|
6100
6115
|
X,
|
|
6101
6116
|
{
|
|
6102
6117
|
variant: "primary",
|
|
6103
6118
|
size: "xl",
|
|
6104
|
-
disabled:
|
|
6119
|
+
disabled: f,
|
|
6105
6120
|
onClick: d,
|
|
6106
6121
|
...x,
|
|
6107
|
-
className:
|
|
6122
|
+
className: m(
|
|
6108
6123
|
"flex-1 justify-center gap-1 rounded-xl",
|
|
6109
|
-
|
|
6124
|
+
f ? "bg-none bg-gray-400" : "bg-gradient-to-b from-[#5eb98e] to-[#087955]",
|
|
6110
6125
|
x?.className
|
|
6111
6126
|
),
|
|
6112
6127
|
children: [
|
|
@@ -6129,7 +6144,7 @@ export {
|
|
|
6129
6144
|
Ol as AvatarCardDialog,
|
|
6130
6145
|
Vt as BOOKING_SUMMARY_BANNER_DEFAULT_COPY,
|
|
6131
6146
|
Na as BillDetails,
|
|
6132
|
-
|
|
6147
|
+
jl as BillDetailsSheet,
|
|
6133
6148
|
Qr as BookingSummaryBanner,
|
|
6134
6149
|
X as Button,
|
|
6135
6150
|
Ft as CHECKOUT_BAR_DEFAULT_COPY,
|
|
@@ -6139,7 +6154,7 @@ export {
|
|
|
6139
6154
|
hl as CartReviewChangeButton,
|
|
6140
6155
|
pa as CartReviewItem,
|
|
6141
6156
|
fr as CartReviewMandapItem,
|
|
6142
|
-
|
|
6157
|
+
vl as CartView,
|
|
6143
6158
|
Yn as CheckIcon,
|
|
6144
6159
|
ct as CheckoutBar,
|
|
6145
6160
|
ir as Chip,
|
|
@@ -6166,7 +6181,7 @@ export {
|
|
|
6166
6181
|
Jn as OnlinePujaTestimonial,
|
|
6167
6182
|
qn as OutcomeAncestorEditModal,
|
|
6168
6183
|
Kn as OutcomeBillDetails,
|
|
6169
|
-
|
|
6184
|
+
vs as OutcomeButton,
|
|
6170
6185
|
Qn as OutcomeEmptyRituals,
|
|
6171
6186
|
Un as OutcomeI18nProvider,
|
|
6172
6187
|
Xn as OutcomeStickyCta,
|