@srimandir/pitru-paksh-common 2.28.1 → 2.28.2
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.
|
@@ -267,13 +267,13 @@ var mt;
|
|
|
267
267
|
function Xa() {
|
|
268
268
|
if (mt) return ye;
|
|
269
269
|
mt = 1;
|
|
270
|
-
var t = k, a = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty,
|
|
271
|
-
function o(
|
|
270
|
+
var t = k, a = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
271
|
+
function o(l, c, b) {
|
|
272
272
|
var p, u = {}, m = null, h = null;
|
|
273
|
-
|
|
273
|
+
b !== void 0 && (m = "" + b), c.key !== void 0 && (m = "" + c.key), c.ref !== void 0 && (h = c.ref);
|
|
274
274
|
for (p in c) n.call(c, p) && !d.hasOwnProperty(p) && (u[p] = c[p]);
|
|
275
|
-
if (
|
|
276
|
-
return { $$typeof: a, type:
|
|
275
|
+
if (l && l.defaultProps) for (p in c = l.defaultProps, c) u[p] === void 0 && (u[p] = c[p]);
|
|
276
|
+
return { $$typeof: a, type: l, key: m, ref: h, props: u, _owner: i.current };
|
|
277
277
|
}
|
|
278
278
|
return ye.Fragment = s, ye.jsx = o, ye.jsxs = o, ye;
|
|
279
279
|
}
|
|
@@ -281,11 +281,11 @@ var ve = {};
|
|
|
281
281
|
var ht;
|
|
282
282
|
function Qa() {
|
|
283
283
|
return ht || (ht = 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"),
|
|
284
|
+
var t = k, a = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), i = /* @__PURE__ */ Symbol.for("react.strict_mode"), d = /* @__PURE__ */ Symbol.for("react.profiler"), o = /* @__PURE__ */ Symbol.for("react.provider"), l = /* @__PURE__ */ Symbol.for("react.context"), c = /* @__PURE__ */ Symbol.for("react.forward_ref"), b = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), u = /* @__PURE__ */ Symbol.for("react.memo"), m = /* @__PURE__ */ Symbol.for("react.lazy"), h = /* @__PURE__ */ Symbol.for("react.offscreen"), g = Symbol.iterator, j = "@@iterator";
|
|
285
285
|
function C(r) {
|
|
286
286
|
if (r === null || typeof r != "object")
|
|
287
287
|
return null;
|
|
288
|
-
var f =
|
|
288
|
+
var f = g && r[g] || r[j];
|
|
289
289
|
return typeof f == "function" ? f : null;
|
|
290
290
|
}
|
|
291
291
|
var N = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -309,7 +309,7 @@ function Qa() {
|
|
|
309
309
|
var M = !1, O = !1, _ = !1, G = !1, J = !1, B;
|
|
310
310
|
B = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
311
311
|
function ee(r) {
|
|
312
|
-
return !!(typeof r == "string" || typeof r == "function" || r === n || r === d || J || r ===
|
|
312
|
+
return !!(typeof r == "string" || typeof r == "function" || r === n || r === d || J || r === i || r === b || r === p || G || r === h || M || O || _ || typeof r == "object" && r !== null && (r.$$typeof === m || r.$$typeof === u || r.$$typeof === o || r.$$typeof === l || r.$$typeof === c || // This needs to include all possible module reference object
|
|
313
313
|
// types supported by any Flight configuration anywhere since
|
|
314
314
|
// we don't know which Flight build this will end up being used
|
|
315
315
|
// with.
|
|
@@ -339,16 +339,16 @@ function Qa() {
|
|
|
339
339
|
return "Portal";
|
|
340
340
|
case d:
|
|
341
341
|
return "Profiler";
|
|
342
|
-
case
|
|
342
|
+
case i:
|
|
343
343
|
return "StrictMode";
|
|
344
|
-
case
|
|
344
|
+
case b:
|
|
345
345
|
return "Suspense";
|
|
346
346
|
case p:
|
|
347
347
|
return "SuspenseList";
|
|
348
348
|
}
|
|
349
349
|
if (typeof r == "object")
|
|
350
350
|
switch (r.$$typeof) {
|
|
351
|
-
case
|
|
351
|
+
case l:
|
|
352
352
|
var f = r;
|
|
353
353
|
return q(f) + ".Consumer";
|
|
354
354
|
case o:
|
|
@@ -432,18 +432,18 @@ function Qa() {
|
|
|
432
432
|
Z < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
|
-
var
|
|
435
|
+
var ge = N.ReactCurrentDispatcher, be;
|
|
436
436
|
function w(r, f, v) {
|
|
437
437
|
{
|
|
438
|
-
if (
|
|
438
|
+
if (be === void 0)
|
|
439
439
|
try {
|
|
440
440
|
throw Error();
|
|
441
441
|
} catch (R) {
|
|
442
442
|
var L = R.stack.trim().match(/\n( *(at )?)/);
|
|
443
|
-
|
|
443
|
+
be = L && L[1] || "";
|
|
444
444
|
}
|
|
445
445
|
return `
|
|
446
|
-
` +
|
|
446
|
+
` + be + r;
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
var U = !1, te;
|
|
@@ -464,7 +464,7 @@ function Qa() {
|
|
|
464
464
|
var R = Error.prepareStackTrace;
|
|
465
465
|
Error.prepareStackTrace = void 0;
|
|
466
466
|
var E;
|
|
467
|
-
E =
|
|
467
|
+
E = ge.current, ge.current = null, Fe();
|
|
468
468
|
try {
|
|
469
469
|
if (f) {
|
|
470
470
|
var T = function() {
|
|
@@ -517,7 +517,7 @@ function Qa() {
|
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
} finally {
|
|
520
|
-
U = !1,
|
|
520
|
+
U = !1, ge.current = E, Be(), Error.prepareStackTrace = R;
|
|
521
521
|
}
|
|
522
522
|
var pe = r ? r.displayName || r.name : "", ce = pe ? w(pe) : "";
|
|
523
523
|
return typeof r == "function" && te.set(r, ce), ce;
|
|
@@ -537,7 +537,7 @@ function Qa() {
|
|
|
537
537
|
if (typeof r == "string")
|
|
538
538
|
return w(r);
|
|
539
539
|
switch (r) {
|
|
540
|
-
case
|
|
540
|
+
case b:
|
|
541
541
|
return w("Suspense");
|
|
542
542
|
case p:
|
|
543
543
|
return w("SuspenseList");
|
|
@@ -566,7 +566,7 @@ function Qa() {
|
|
|
566
566
|
} else
|
|
567
567
|
tt.setExtraStackFrame(null);
|
|
568
568
|
}
|
|
569
|
-
function
|
|
569
|
+
function ga(r, f, v, L, R) {
|
|
570
570
|
{
|
|
571
571
|
var E = Function.call.bind(je);
|
|
572
572
|
for (var T in r)
|
|
@@ -585,9 +585,9 @@ function Qa() {
|
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
var
|
|
588
|
+
var ba = Array.isArray;
|
|
589
589
|
function ze(r) {
|
|
590
|
-
return
|
|
590
|
+
return ba(r);
|
|
591
591
|
}
|
|
592
592
|
function ja(r) {
|
|
593
593
|
{
|
|
@@ -792,7 +792,7 @@ Check the top-level render call using <` + v + ">.");
|
|
|
792
792
|
return;
|
|
793
793
|
if (v) {
|
|
794
794
|
var L = z(f);
|
|
795
|
-
|
|
795
|
+
ga(v, r.props, "prop", L, r);
|
|
796
796
|
} else if (f.PropTypes !== void 0 && !De) {
|
|
797
797
|
De = !0;
|
|
798
798
|
var R = z(f);
|
|
@@ -868,9 +868,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
868
868
|
ve.Fragment = n, ve.jsx = Ma, ve.jsxs = Fa;
|
|
869
869
|
})()), ve;
|
|
870
870
|
}
|
|
871
|
-
var
|
|
871
|
+
var gt;
|
|
872
872
|
function Ja() {
|
|
873
|
-
return
|
|
873
|
+
return gt || (gt = 1, process.env.NODE_ENV === "production" ? Ae.exports = Xa() : Ae.exports = Qa()), Ae.exports;
|
|
874
874
|
}
|
|
875
875
|
var e = Ja(), Jt = {
|
|
876
876
|
color: void 0,
|
|
@@ -878,15 +878,15 @@ var e = Ja(), Jt = {
|
|
|
878
878
|
className: void 0,
|
|
879
879
|
style: void 0,
|
|
880
880
|
attr: void 0
|
|
881
|
-
},
|
|
881
|
+
}, bt = k.createContext && /* @__PURE__ */ k.createContext(Jt), e2 = ["attr", "size", "title"];
|
|
882
882
|
function t2(t, a) {
|
|
883
883
|
if (t == null) return {};
|
|
884
|
-
var s, n,
|
|
884
|
+
var s, n, i = a2(t, a);
|
|
885
885
|
if (Object.getOwnPropertySymbols) {
|
|
886
886
|
var d = Object.getOwnPropertySymbols(t);
|
|
887
|
-
for (n = 0; n < d.length; n++) s = d[n], a.indexOf(s) === -1 && {}.propertyIsEnumerable.call(t, s) && (
|
|
887
|
+
for (n = 0; n < d.length; n++) s = d[n], a.indexOf(s) === -1 && {}.propertyIsEnumerable.call(t, s) && (i[s] = t[s]);
|
|
888
888
|
}
|
|
889
|
-
return
|
|
889
|
+
return i;
|
|
890
890
|
}
|
|
891
891
|
function a2(t, a) {
|
|
892
892
|
if (t == null) return {};
|
|
@@ -910,8 +910,8 @@ function jt(t, a) {
|
|
|
910
910
|
var s = Object.keys(t);
|
|
911
911
|
if (Object.getOwnPropertySymbols) {
|
|
912
912
|
var n = Object.getOwnPropertySymbols(t);
|
|
913
|
-
a && (n = n.filter(function(
|
|
914
|
-
return Object.getOwnPropertyDescriptor(t,
|
|
913
|
+
a && (n = n.filter(function(i) {
|
|
914
|
+
return Object.getOwnPropertyDescriptor(t, i).enumerable;
|
|
915
915
|
})), s.push.apply(s, n);
|
|
916
916
|
}
|
|
917
917
|
return s;
|
|
@@ -956,7 +956,7 @@ function P(t) {
|
|
|
956
956
|
}
|
|
957
957
|
function l2(t) {
|
|
958
958
|
var a = (s) => {
|
|
959
|
-
var n = t.attr,
|
|
959
|
+
var n = t.attr, i = t.size, d = t.title, o = t2(t, e2), l = i || s.size || "1em", c;
|
|
960
960
|
return s.className && (c = s.className), t.className && (c = (c ? c + " " : "") + t.className), /* @__PURE__ */ k.createElement("svg", Re({
|
|
961
961
|
stroke: "currentColor",
|
|
962
962
|
fill: "currentColor",
|
|
@@ -966,12 +966,12 @@ function l2(t) {
|
|
|
966
966
|
style: Oe(Oe({
|
|
967
967
|
color: t.color || s.color
|
|
968
968
|
}, s.style), t.style),
|
|
969
|
-
height:
|
|
970
|
-
width:
|
|
969
|
+
height: l,
|
|
970
|
+
width: l,
|
|
971
971
|
xmlns: "http://www.w3.org/2000/svg"
|
|
972
972
|
}), d && /* @__PURE__ */ k.createElement("title", null, d), t.children);
|
|
973
973
|
};
|
|
974
|
-
return
|
|
974
|
+
return bt !== void 0 ? /* @__PURE__ */ k.createElement(bt.Consumer, null, (s) => a(s)) : a(Jt);
|
|
975
975
|
}
|
|
976
976
|
function i2(t) {
|
|
977
977
|
return P({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10" }, child: [] }] })(t);
|
|
@@ -996,7 +996,7 @@ function Dr({
|
|
|
996
996
|
onClose: a,
|
|
997
997
|
closeButtonAriaLabel: s = "Close",
|
|
998
998
|
heading: n,
|
|
999
|
-
items:
|
|
999
|
+
items: i,
|
|
1000
1000
|
totalLabel: d,
|
|
1001
1001
|
totalAmount: o
|
|
1002
1002
|
}) {
|
|
@@ -1035,25 +1035,25 @@ function Dr({
|
|
|
1035
1035
|
)
|
|
1036
1036
|
] }),
|
|
1037
1037
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-4 p-4", children: [
|
|
1038
|
-
|
|
1038
|
+
i.map((l, c) => /* @__PURE__ */ e.jsxs(
|
|
1039
1039
|
"div",
|
|
1040
1040
|
{
|
|
1041
1041
|
className: "flex w-full items-start justify-between",
|
|
1042
1042
|
children: [
|
|
1043
1043
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-45 flex-col items-start gap-1", children: [
|
|
1044
|
-
/* @__PURE__ */ e.jsx("p", { className: "w-full text-sm font-medium leading-5 text-gray-700", children:
|
|
1045
|
-
/* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-normal leading-4 text-gray-500", children:
|
|
1044
|
+
/* @__PURE__ */ e.jsx("p", { className: "w-full text-sm font-medium leading-5 text-gray-700", children: l.name }),
|
|
1045
|
+
/* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-normal leading-4 text-gray-500", children: l.subtitle })
|
|
1046
1046
|
] }),
|
|
1047
1047
|
/* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 flex-col items-start justify-center gap-1.5 whitespace-nowrap", children: [
|
|
1048
|
-
|
|
1048
|
+
l.quantityLabel && /* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-500", children: l.quantityLabel }),
|
|
1049
1049
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
1050
|
-
|
|
1051
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-sm font-semibold leading-5 text-gray-700", children:
|
|
1050
|
+
l.originalLineTotal && /* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-[#d93640] line-through", children: l.originalLineTotal }),
|
|
1051
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-sm font-semibold leading-5 text-gray-700", children: l.lineTotal })
|
|
1052
1052
|
] })
|
|
1053
1053
|
] })
|
|
1054
1054
|
]
|
|
1055
1055
|
},
|
|
1056
|
-
`${
|
|
1056
|
+
`${l.name}-${c}`
|
|
1057
1057
|
)),
|
|
1058
1058
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-between border-t border-gray-200 pt-3", children: [
|
|
1059
1059
|
/* @__PURE__ */ e.jsx("p", { className: "text-base font-bold leading-[22px] text-[#22272b]", children: d }),
|
|
@@ -1080,18 +1080,18 @@ function h2({
|
|
|
1080
1080
|
size: a = "md",
|
|
1081
1081
|
leftIcon: s,
|
|
1082
1082
|
children: n,
|
|
1083
|
-
className:
|
|
1083
|
+
className: i = "",
|
|
1084
1084
|
style: d,
|
|
1085
1085
|
type: o = "button",
|
|
1086
|
-
...
|
|
1086
|
+
...l
|
|
1087
1087
|
}) {
|
|
1088
1088
|
return /* @__PURE__ */ e.jsxs(
|
|
1089
1089
|
"button",
|
|
1090
1090
|
{
|
|
1091
1091
|
type: o,
|
|
1092
|
-
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${f2[a]} ${x2[t]} ${
|
|
1092
|
+
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${f2[a]} ${x2[t]} ${i}`,
|
|
1093
1093
|
style: { ...m2[t], ...d },
|
|
1094
|
-
...
|
|
1094
|
+
...l,
|
|
1095
1095
|
children: [
|
|
1096
1096
|
s,
|
|
1097
1097
|
n
|
|
@@ -1118,15 +1118,15 @@ function Ur({ className: t = "size-5" }) {
|
|
|
1118
1118
|
) });
|
|
1119
1119
|
}
|
|
1120
1120
|
const ta = "https://srm-cdn.a4b.io/yoda/1788257859347.webp", aa = "https://srm-cdn.a4b.io/yoda/1788257796338.webp";
|
|
1121
|
-
function
|
|
1121
|
+
function g2({
|
|
1122
1122
|
isOpen: t,
|
|
1123
1123
|
avatarUrl: a = aa,
|
|
1124
1124
|
messagePrefix: s,
|
|
1125
1125
|
highlightedNames: n,
|
|
1126
|
-
messageSuffix:
|
|
1126
|
+
messageSuffix: i = "",
|
|
1127
1127
|
confirmLabel: d,
|
|
1128
1128
|
cancelLabel: o,
|
|
1129
|
-
onConfirm:
|
|
1129
|
+
onConfirm: l,
|
|
1130
1130
|
onCancel: c
|
|
1131
1131
|
}) {
|
|
1132
1132
|
return t ? /* @__PURE__ */ e.jsxs("div", { className: "fixed inset-0 z-[60] mx-auto flex w-full max-w-md items-center justify-center px-8", children: [
|
|
@@ -1167,14 +1167,14 @@ function b2({
|
|
|
1167
1167
|
/* @__PURE__ */ e.jsxs("p", { className: "w-full text-center text-base font-semibold leading-[22px] text-gray-700", children: [
|
|
1168
1168
|
s,
|
|
1169
1169
|
/* @__PURE__ */ e.jsx("span", { className: "text-[#cf6c09]", children: n }),
|
|
1170
|
-
|
|
1170
|
+
i
|
|
1171
1171
|
] }),
|
|
1172
1172
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-6", children: [
|
|
1173
1173
|
/* @__PURE__ */ e.jsx(
|
|
1174
1174
|
"button",
|
|
1175
1175
|
{
|
|
1176
1176
|
type: "button",
|
|
1177
|
-
onClick:
|
|
1177
|
+
onClick: l,
|
|
1178
1178
|
className: "h-10 flex-1 rounded-lg border border-[#f75e22] bg-white text-sm font-bold leading-5 text-[#f75e22]",
|
|
1179
1179
|
children: d
|
|
1180
1180
|
}
|
|
@@ -1200,21 +1200,21 @@ function Hr({
|
|
|
1200
1200
|
onClose: a,
|
|
1201
1201
|
avatarUrl: s = aa,
|
|
1202
1202
|
question: n,
|
|
1203
|
-
ancestors:
|
|
1203
|
+
ancestors: i,
|
|
1204
1204
|
onToggle: d,
|
|
1205
1205
|
confirmLabel: o,
|
|
1206
|
-
onConfirmClick:
|
|
1206
|
+
onConfirmClick: l,
|
|
1207
1207
|
addAgainLabel: c,
|
|
1208
|
-
removeLabel:
|
|
1208
|
+
removeLabel: b,
|
|
1209
1209
|
removeWarningMessagePrefix: p,
|
|
1210
1210
|
removeWarningMessageSuffix: u = "?",
|
|
1211
1211
|
removeWarningConfirmLabel: m,
|
|
1212
1212
|
removeWarningCancelLabel: h
|
|
1213
1213
|
}) {
|
|
1214
|
-
const [
|
|
1214
|
+
const [g, j] = F(null);
|
|
1215
1215
|
if (!t)
|
|
1216
1216
|
return null;
|
|
1217
|
-
const C =
|
|
1217
|
+
const C = g != null ? i[g] : 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 Hr({
|
|
|
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:
|
|
1255
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col items-start gap-3 rounded-lg bg-[#f7f8f9] px-2 py-4", children: i.map((N, y) => /* @__PURE__ */ e.jsxs(
|
|
1256
1256
|
"div",
|
|
1257
1257
|
{
|
|
1258
1258
|
className: "flex w-full items-center justify-between gap-3",
|
|
@@ -1275,7 +1275,7 @@ function Hr({
|
|
|
1275
1275
|
onClick: () => j(y),
|
|
1276
1276
|
className: "flex shrink-0 items-center gap-1 border-0 bg-transparent p-0 text-xs font-semibold leading-4 text-gray-500 underline",
|
|
1277
1277
|
children: [
|
|
1278
|
-
|
|
1278
|
+
b,
|
|
1279
1279
|
/* @__PURE__ */ e.jsx(u2, { "aria-hidden": !0, className: "size-3 text-[#9CA3AF]" })
|
|
1280
1280
|
]
|
|
1281
1281
|
}
|
|
@@ -1301,14 +1301,14 @@ function Hr({
|
|
|
1301
1301
|
variant: "accent",
|
|
1302
1302
|
size: "lg",
|
|
1303
1303
|
className: "w-full",
|
|
1304
|
-
onClick:
|
|
1304
|
+
onClick: l,
|
|
1305
1305
|
children: o
|
|
1306
1306
|
}
|
|
1307
1307
|
)
|
|
1308
1308
|
] })
|
|
1309
1309
|
] }),
|
|
1310
1310
|
/* @__PURE__ */ e.jsx(
|
|
1311
|
-
|
|
1311
|
+
g2,
|
|
1312
1312
|
{
|
|
1313
1313
|
isOpen: C != null,
|
|
1314
1314
|
avatarUrl: s,
|
|
@@ -1318,14 +1318,14 @@ function Hr({
|
|
|
1318
1318
|
confirmLabel: m,
|
|
1319
1319
|
cancelLabel: h,
|
|
1320
1320
|
onConfirm: () => {
|
|
1321
|
-
|
|
1321
|
+
g != null && d(g), j(null);
|
|
1322
1322
|
},
|
|
1323
1323
|
onCancel: () => j(null)
|
|
1324
1324
|
}
|
|
1325
1325
|
)
|
|
1326
1326
|
] });
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1328
|
+
function b2(t) {
|
|
1329
1329
|
return P({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "18", y1: "6", x2: "6", y2: "18" }, child: [] }, { tag: "line", attr: { x1: "6", y1: "6", x2: "18", y2: "18" }, child: [] }] })(t);
|
|
1330
1330
|
}
|
|
1331
1331
|
function j2(t) {
|
|
@@ -1375,7 +1375,7 @@ function $r({
|
|
|
1375
1375
|
ritualCountLabel: a,
|
|
1376
1376
|
proceedLabel: s,
|
|
1377
1377
|
onPriceInfoClick: n,
|
|
1378
|
-
onProceedClick:
|
|
1378
|
+
onProceedClick: i,
|
|
1379
1379
|
disabled: d
|
|
1380
1380
|
}) {
|
|
1381
1381
|
const { t: o } = me();
|
|
@@ -1407,7 +1407,7 @@ function $r({
|
|
|
1407
1407
|
"button",
|
|
1408
1408
|
{
|
|
1409
1409
|
type: "button",
|
|
1410
|
-
onClick:
|
|
1410
|
+
onClick: i,
|
|
1411
1411
|
disabled: d,
|
|
1412
1412
|
className: "flex h-14 flex-1 items-center justify-center gap-1 overflow-hidden rounded-xl py-4 pl-4 pr-3 text-sm font-bold leading-5 text-white disabled:cursor-not-allowed disabled:opacity-50",
|
|
1413
1413
|
style: {
|
|
@@ -1684,22 +1684,22 @@ function qr({
|
|
|
1684
1684
|
useCase: a,
|
|
1685
1685
|
title: s,
|
|
1686
1686
|
specificity: n,
|
|
1687
|
-
dateLabel:
|
|
1687
|
+
dateLabel: i,
|
|
1688
1688
|
locationLabel: d
|
|
1689
1689
|
}) {
|
|
1690
|
-
const [o,
|
|
1690
|
+
const [o, l] = F(0), c = Ze(null), b = () => {
|
|
1691
1691
|
const p = c.current;
|
|
1692
1692
|
if (!p || p.children.length === 0)
|
|
1693
1693
|
return;
|
|
1694
1694
|
const u = p.children[0].offsetWidth + 16;
|
|
1695
|
-
|
|
1695
|
+
l(Math.round(p.scrollLeft / u));
|
|
1696
1696
|
};
|
|
1697
1697
|
return /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-3 border-b border-gray-100 p-4", children: [
|
|
1698
1698
|
/* @__PURE__ */ e.jsx(
|
|
1699
1699
|
"div",
|
|
1700
1700
|
{
|
|
1701
1701
|
ref: c,
|
|
1702
|
-
onScroll:
|
|
1702
|
+
onScroll: b,
|
|
1703
1703
|
className: `flex w-full snap-x snap-mandatory gap-4 overflow-x-auto ${t.length === 1 ? "justify-center" : ""}`,
|
|
1704
1704
|
children: t.map((p, u) => /* @__PURE__ */ e.jsx(
|
|
1705
1705
|
"img",
|
|
@@ -1734,7 +1734,7 @@ function qr({
|
|
|
1734
1734
|
className: "size-3.5 shrink-0 text-gray-700"
|
|
1735
1735
|
}
|
|
1736
1736
|
),
|
|
1737
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children:
|
|
1737
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: i })
|
|
1738
1738
|
] }),
|
|
1739
1739
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
1740
1740
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1796,7 +1796,7 @@ function Xr({
|
|
|
1796
1796
|
imageAlt: s = "",
|
|
1797
1797
|
paragraphs: n
|
|
1798
1798
|
}) {
|
|
1799
|
-
const { t:
|
|
1799
|
+
const { t: i } = me(), [d, o] = F(!1);
|
|
1800
1800
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-start bg-white px-4 py-4", children: [
|
|
1801
1801
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-lg font-bold leading-6 text-[#242424]", children: t }),
|
|
1802
1802
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start pt-4", children: [
|
|
@@ -1814,17 +1814,17 @@ function Xr({
|
|
|
1814
1814
|
{
|
|
1815
1815
|
className: "flex w-full flex-col gap-4 overflow-hidden text-justify text-sm font-normal leading-5 text-gray-500",
|
|
1816
1816
|
style: d ? void 0 : { maxHeight: W2 },
|
|
1817
|
-
children: n.map((
|
|
1817
|
+
children: n.map((l, c) => /* @__PURE__ */ e.jsx("p", { className: "w-full", children: l }, `${l}-${c}`))
|
|
1818
1818
|
}
|
|
1819
1819
|
),
|
|
1820
1820
|
/* @__PURE__ */ e.jsxs(
|
|
1821
1821
|
"button",
|
|
1822
1822
|
{
|
|
1823
1823
|
type: "button",
|
|
1824
|
-
onClick: () => o((
|
|
1824
|
+
onClick: () => o((l) => !l),
|
|
1825
1825
|
className: "flex items-center gap-1 border-0 bg-transparent pt-2",
|
|
1826
1826
|
children: [
|
|
1827
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-sm font-bold leading-[21px] text-[#f18912]", children:
|
|
1827
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-sm font-bold leading-[21px] text-[#f18912]", children: i(
|
|
1828
1828
|
d ? "templeSignificanceReadLessLabel" : "templeSignificanceReadMoreLabel"
|
|
1829
1829
|
) }),
|
|
1830
1830
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1871,15 +1871,15 @@ function Qr({
|
|
|
1871
1871
|
subtitle: a,
|
|
1872
1872
|
reviews: s,
|
|
1873
1873
|
reviewMedia: n,
|
|
1874
|
-
seeMoreLabel:
|
|
1874
|
+
seeMoreLabel: i,
|
|
1875
1875
|
onSeeMoreClick: d
|
|
1876
1876
|
}) {
|
|
1877
|
-
const [o,
|
|
1877
|
+
const [o, l] = F(!1), c = o ? s : s.slice(0, St), [b, p] = F(0), u = Ze(null), m = () => {
|
|
1878
1878
|
const h = u.current;
|
|
1879
1879
|
if (!h || h.children.length === 0)
|
|
1880
1880
|
return;
|
|
1881
|
-
const
|
|
1882
|
-
p(Math.round(h.scrollLeft /
|
|
1881
|
+
const g = h.children[0].offsetWidth + 12;
|
|
1882
|
+
p(Math.round(h.scrollLeft / g));
|
|
1883
1883
|
};
|
|
1884
1884
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-start bg-white pb-6 pt-7", children: [
|
|
1885
1885
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1 px-4 py-2", children: [
|
|
@@ -1893,7 +1893,7 @@ function Qr({
|
|
|
1893
1893
|
ref: u,
|
|
1894
1894
|
onScroll: m,
|
|
1895
1895
|
className: `flex w-full snap-x snap-mandatory gap-3 overflow-x-auto px-4 pt-4 ${n.length === 1 ? "justify-center" : ""}`,
|
|
1896
|
-
children: n.map((h,
|
|
1896
|
+
children: n.map((h, g) => /* @__PURE__ */ e.jsxs(
|
|
1897
1897
|
"div",
|
|
1898
1898
|
{
|
|
1899
1899
|
className: "flex w-60 shrink-0 snap-start flex-col gap-3",
|
|
@@ -1932,19 +1932,19 @@ function Qr({
|
|
|
1932
1932
|
] })
|
|
1933
1933
|
]
|
|
1934
1934
|
},
|
|
1935
|
-
`${h.name}-${
|
|
1935
|
+
`${h.name}-${g}`
|
|
1936
1936
|
))
|
|
1937
1937
|
}
|
|
1938
1938
|
),
|
|
1939
|
-
n.length > 1 && /* @__PURE__ */ e.jsx("div", { className: "flex w-full items-center justify-center gap-1.5 pt-3", children: n.map((h,
|
|
1939
|
+
n.length > 1 && /* @__PURE__ */ e.jsx("div", { className: "flex w-full items-center justify-center gap-1.5 pt-3", children: n.map((h, g) => /* @__PURE__ */ e.jsx(
|
|
1940
1940
|
"span",
|
|
1941
1941
|
{
|
|
1942
|
-
className: `size-2 rounded ${
|
|
1942
|
+
className: `size-2 rounded ${g === b ? "bg-[#f18912]" : "bg-gray-300"}`
|
|
1943
1943
|
},
|
|
1944
|
-
`${h.name}-${
|
|
1944
|
+
`${h.name}-${g}`
|
|
1945
1945
|
)) })
|
|
1946
1946
|
] }),
|
|
1947
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col items-start pt-5", children: c.map((h,
|
|
1947
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col items-start pt-5", children: c.map((h, g) => /* @__PURE__ */ e.jsxs(
|
|
1948
1948
|
"div",
|
|
1949
1949
|
{
|
|
1950
1950
|
className: "flex w-full flex-col items-start",
|
|
@@ -1981,20 +1981,20 @@ function Qr({
|
|
|
1981
1981
|
)) }),
|
|
1982
1982
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-sm font-normal leading-5 text-gray-500", children: h.text })
|
|
1983
1983
|
] }),
|
|
1984
|
-
|
|
1984
|
+
g < c.length - 1 && /* @__PURE__ */ e.jsx("hr", { className: "mt-6 w-full border-t border-gray-200" })
|
|
1985
1985
|
]
|
|
1986
1986
|
},
|
|
1987
|
-
`${h.name}-${h.date}-${
|
|
1987
|
+
`${h.name}-${h.date}-${g}`
|
|
1988
1988
|
)) }),
|
|
1989
|
-
!o && s.length > St &&
|
|
1989
|
+
!o && s.length > St && i && /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col items-center px-4 pt-5", children: /* @__PURE__ */ e.jsx(
|
|
1990
1990
|
"button",
|
|
1991
1991
|
{
|
|
1992
1992
|
type: "button",
|
|
1993
1993
|
onClick: () => {
|
|
1994
|
-
|
|
1994
|
+
l(!0), d?.();
|
|
1995
1995
|
},
|
|
1996
1996
|
className: "flex h-10 w-full items-center justify-center rounded-lg border border-[#e6e4eb] bg-white text-base font-medium leading-[22px] text-[#1573df]",
|
|
1997
|
-
children:
|
|
1997
|
+
children: i
|
|
1998
1998
|
}
|
|
1999
1999
|
) })
|
|
2000
2000
|
] });
|
|
@@ -2012,12 +2012,16 @@ const es = Va(
|
|
|
2012
2012
|
{
|
|
2013
2013
|
variants: {
|
|
2014
2014
|
variant: {
|
|
2015
|
-
//
|
|
2016
|
-
//
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2015
|
+
// Gradients set background-image, not background-color, so they're
|
|
2016
|
+
// unaffected by a host app's own Preflight-style reset
|
|
2017
|
+
// (`.some-root button { background-color: ...; color: ... }`,
|
|
2018
|
+
// scoped but still higher-specificity than a single utility class).
|
|
2019
|
+
// Every variant below is a flat color, so it needs `!` to reliably
|
|
2020
|
+
// win against that reset.
|
|
2021
|
+
primary: "border-0 bg-gradient-to-b from-[#f97e4e] to-[#f75e22] text-white! hover:opacity-90",
|
|
2022
|
+
secondary: "border border-[#f75e22] bg-white! text-[#f75e22]! hover:bg-orange-50",
|
|
2023
|
+
outline: "border border-gray-300 bg-transparent! text-gray-900! hover:bg-gray-50",
|
|
2024
|
+
ghost: "border-0 bg-transparent! text-gray-900! hover:bg-gray-100"
|
|
2021
2025
|
},
|
|
2022
2026
|
size: {
|
|
2023
2027
|
xs: "h-6 px-2 text-xs",
|
|
@@ -2046,12 +2050,12 @@ const es = Va(
|
|
|
2046
2050
|
variant: a,
|
|
2047
2051
|
size: s,
|
|
2048
2052
|
iconOnly: n,
|
|
2049
|
-
loading:
|
|
2053
|
+
loading: i = !1,
|
|
2050
2054
|
disabled: d,
|
|
2051
2055
|
leftIcon: o,
|
|
2052
|
-
rightIcon:
|
|
2056
|
+
rightIcon: l,
|
|
2053
2057
|
children: c,
|
|
2054
|
-
type:
|
|
2058
|
+
type: b = "button",
|
|
2055
2059
|
...p
|
|
2056
2060
|
}, u) => {
|
|
2057
2061
|
const m = (a ?? "primary") === "primary";
|
|
@@ -2059,14 +2063,14 @@ const es = Va(
|
|
|
2059
2063
|
"button",
|
|
2060
2064
|
{
|
|
2061
2065
|
ref: u,
|
|
2062
|
-
type:
|
|
2063
|
-
disabled: d ||
|
|
2066
|
+
type: b,
|
|
2067
|
+
disabled: d || i,
|
|
2064
2068
|
className: x(es({ variant: a, size: s, iconOnly: n }), t),
|
|
2065
2069
|
...p,
|
|
2066
|
-
children:
|
|
2070
|
+
children: i ? /* @__PURE__ */ e.jsx(J2, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsxs("span", { className: x("inline-flex items-center gap-2", m && "group-disabled:opacity-50"), children: [
|
|
2067
2071
|
o,
|
|
2068
2072
|
c,
|
|
2069
|
-
|
|
2073
|
+
l
|
|
2070
2074
|
] })
|
|
2071
2075
|
}
|
|
2072
2076
|
);
|
|
@@ -2088,7 +2092,7 @@ const en = ({
|
|
|
2088
2092
|
authorName: a,
|
|
2089
2093
|
authorAvatarUrl: s,
|
|
2090
2094
|
meta: n,
|
|
2091
|
-
rating:
|
|
2095
|
+
rating: i = 5,
|
|
2092
2096
|
className: d = "",
|
|
2093
2097
|
...o
|
|
2094
2098
|
}) => /* @__PURE__ */ e.jsxs(
|
|
@@ -2122,7 +2126,7 @@ const en = ({
|
|
|
2122
2126
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col min-w-0 flex-1 gap-0.5", children: [
|
|
2123
2127
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.75", children: [
|
|
2124
2128
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-sm font-bold text-[#1d2125]", children: a }),
|
|
2125
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex items-center gap-1 text-amber-500", "aria-hidden": !0, children: Array.from({ length: Math.max(0, Math.min(5,
|
|
2129
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex items-center gap-1 text-amber-500", "aria-hidden": !0, children: Array.from({ length: Math.max(0, Math.min(5, i)) }, (l, c) => /* @__PURE__ */ e.jsx(Ye, { size: 14 }, c)) })
|
|
2126
2130
|
] }),
|
|
2127
2131
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium text-gray-500", children: n })
|
|
2128
2132
|
] })
|
|
@@ -2134,14 +2138,14 @@ const en = ({
|
|
|
2134
2138
|
items: a,
|
|
2135
2139
|
initialVisibleCount: s = 6,
|
|
2136
2140
|
showCta: n = !0,
|
|
2137
|
-
defaultExpanded:
|
|
2141
|
+
defaultExpanded: i = !1,
|
|
2138
2142
|
ctaExpandLabel: d = "और देखें",
|
|
2139
2143
|
ctaCollapseLabel: o = "कम देखें",
|
|
2140
|
-
defaultOpenIndex:
|
|
2144
|
+
defaultOpenIndex: l = -1,
|
|
2141
2145
|
className: c = "",
|
|
2142
|
-
showTitleAccent:
|
|
2146
|
+
showTitleAccent: b = !1
|
|
2143
2147
|
}) => {
|
|
2144
|
-
const [p, u] = F(
|
|
2148
|
+
const [p, u] = F(i), [m, h] = F(l), g = n && a.length > s, j = g && !p ? a.slice(0, s) : a;
|
|
2145
2149
|
return /* @__PURE__ */ e.jsxs(
|
|
2146
2150
|
"div",
|
|
2147
2151
|
{
|
|
@@ -2150,7 +2154,7 @@ const en = ({
|
|
|
2150
2154
|
c
|
|
2151
2155
|
),
|
|
2152
2156
|
children: [
|
|
2153
|
-
|
|
2157
|
+
b ? /* @__PURE__ */ e.jsxs("h2", { className: "flex w-full items-center gap-2 text-lg font-bold text-[#1d2125]", children: [
|
|
2154
2158
|
/* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]" }),
|
|
2155
2159
|
t
|
|
2156
2160
|
] }) : /* @__PURE__ */ e.jsx("h2", { className: "px-4 text-center text-base font-bold text-[#1d2125]", children: t }),
|
|
@@ -2202,7 +2206,7 @@ const en = ({
|
|
|
2202
2206
|
N
|
|
2203
2207
|
);
|
|
2204
2208
|
}) }),
|
|
2205
|
-
|
|
2209
|
+
g && /* @__PURE__ */ e.jsx(
|
|
2206
2210
|
H,
|
|
2207
2211
|
{
|
|
2208
2212
|
variant: "secondary",
|
|
@@ -2229,15 +2233,15 @@ const en = ({
|
|
|
2229
2233
|
showTitleAccent: a = !0,
|
|
2230
2234
|
items: s,
|
|
2231
2235
|
initialVisibleCount: n = 6,
|
|
2232
|
-
showCta:
|
|
2236
|
+
showCta: i = !0,
|
|
2233
2237
|
defaultExpanded: d = !1,
|
|
2234
2238
|
ctaExpandLabel: o = "See more",
|
|
2235
|
-
ctaCollapseLabel:
|
|
2239
|
+
ctaCollapseLabel: l = "See less",
|
|
2236
2240
|
defaultOpenIndex: c = -1,
|
|
2237
|
-
className:
|
|
2241
|
+
className: b = ""
|
|
2238
2242
|
}) => {
|
|
2239
|
-
const [p, u] = F(d), [m, h] = F(c),
|
|
2240
|
-
return /* @__PURE__ */ e.jsxs("div", { className: x("flex flex-col gap-3 bg-white px-4 py-6",
|
|
2243
|
+
const [p, u] = F(d), [m, h] = F(c), g = i && s.length > n, j = g && !p ? s.slice(0, n) : s;
|
|
2244
|
+
return /* @__PURE__ */ e.jsxs("div", { className: x("flex flex-col gap-3 bg-white px-4 py-6", b), children: [
|
|
2241
2245
|
/* @__PURE__ */ e.jsxs("h2", { className: "flex items-center gap-2 text-sm font-bold text-[#374151]", children: [
|
|
2242
2246
|
a && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-[18px] w-[3px] shrink-0 bg-[#f75e22]" }),
|
|
2243
2247
|
t
|
|
@@ -2279,7 +2283,7 @@ const en = ({
|
|
|
2279
2283
|
N
|
|
2280
2284
|
);
|
|
2281
2285
|
}) }),
|
|
2282
|
-
|
|
2286
|
+
g && /* @__PURE__ */ e.jsx(
|
|
2283
2287
|
H,
|
|
2284
2288
|
{
|
|
2285
2289
|
variant: "secondary",
|
|
@@ -2295,42 +2299,42 @@ const en = ({
|
|
|
2295
2299
|
"aria-hidden": !0
|
|
2296
2300
|
}
|
|
2297
2301
|
),
|
|
2298
|
-
children: p ?
|
|
2302
|
+
children: p ? l : o
|
|
2299
2303
|
}
|
|
2300
2304
|
)
|
|
2301
2305
|
] });
|
|
2302
2306
|
}, as = k.forwardRef(
|
|
2303
|
-
({ src: t, poster: a, className: s = "", rounded: n = !0, width:
|
|
2304
|
-
const [
|
|
2307
|
+
({ src: t, poster: a, className: s = "", rounded: n = !0, width: i, height: d }, o) => {
|
|
2308
|
+
const [l, c] = k.useState(!1), [b, p] = k.useState(!0), [u, m] = k.useState(!1), [h, g] = k.useState(0), [j, C] = k.useState(0), N = k.useRef(null), S = x(
|
|
2305
2309
|
"block w-full",
|
|
2306
|
-
(
|
|
2310
|
+
(i !== void 0 || d !== void 0) && "h-full object-cover"
|
|
2307
2311
|
), M = (O) => {
|
|
2308
2312
|
const _ = Number(O.target.value);
|
|
2309
|
-
|
|
2313
|
+
g(_), N.current && (N.current.currentTime = _);
|
|
2310
2314
|
};
|
|
2311
2315
|
return /* @__PURE__ */ e.jsx(
|
|
2312
2316
|
"div",
|
|
2313
2317
|
{
|
|
2314
2318
|
ref: o,
|
|
2315
|
-
style: { width:
|
|
2319
|
+
style: { width: i, height: d },
|
|
2316
2320
|
className: x(
|
|
2317
2321
|
"relative w-full overflow-hidden",
|
|
2318
2322
|
n && "rounded-2xl",
|
|
2319
2323
|
s
|
|
2320
2324
|
),
|
|
2321
|
-
children:
|
|
2325
|
+
children: l ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2322
2326
|
/* @__PURE__ */ e.jsx(
|
|
2323
2327
|
Wa,
|
|
2324
2328
|
{
|
|
2325
2329
|
ref: N,
|
|
2326
2330
|
src: t,
|
|
2327
2331
|
poster: a,
|
|
2328
|
-
playing:
|
|
2332
|
+
playing: b,
|
|
2329
2333
|
muted: u,
|
|
2330
|
-
width:
|
|
2334
|
+
width: i,
|
|
2331
2335
|
height: d,
|
|
2332
2336
|
className: S,
|
|
2333
|
-
onTimeUpdate: (O) =>
|
|
2337
|
+
onTimeUpdate: (O) => g(O.currentTarget.currentTime),
|
|
2334
2338
|
onDurationChange: (O) => C(O.currentTarget.duration),
|
|
2335
2339
|
onEnded: () => p(!1)
|
|
2336
2340
|
}
|
|
@@ -2341,10 +2345,10 @@ const en = ({
|
|
|
2341
2345
|
variant: "ghost",
|
|
2342
2346
|
iconOnly: !0,
|
|
2343
2347
|
size: "lg",
|
|
2344
|
-
"aria-label":
|
|
2348
|
+
"aria-label": b ? "Pause" : "Play",
|
|
2345
2349
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
2346
2350
|
onClick: () => p((O) => !O),
|
|
2347
|
-
children:
|
|
2351
|
+
children: b ? /* @__PURE__ */ e.jsx(X2, { size: 16 }) : /* @__PURE__ */ e.jsx(kt, { size: 16, className: "translate-x-0.5" })
|
|
2348
2352
|
}
|
|
2349
2353
|
),
|
|
2350
2354
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2399,21 +2403,21 @@ const ss = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2399
2403
|
value: a,
|
|
2400
2404
|
onChange: s,
|
|
2401
2405
|
defaultOpen: n = !1,
|
|
2402
|
-
open:
|
|
2406
|
+
open: i,
|
|
2403
2407
|
onOpenChange: d,
|
|
2404
2408
|
className: o = "",
|
|
2405
|
-
triggerClassName:
|
|
2409
|
+
triggerClassName: l = "",
|
|
2406
2410
|
menuClassName: c = "",
|
|
2407
|
-
...
|
|
2411
|
+
...b
|
|
2408
2412
|
}, p) => {
|
|
2409
|
-
const [u, m] = k.useState(n), h =
|
|
2413
|
+
const [u, m] = k.useState(n), h = i !== void 0, g = h ? i : u, j = k.useCallback(
|
|
2410
2414
|
(y) => {
|
|
2411
2415
|
h || m(y), d?.(y);
|
|
2412
2416
|
},
|
|
2413
2417
|
[h, d]
|
|
2414
2418
|
), C = k.useRef(null);
|
|
2415
2419
|
k.useImperativeHandle(p, () => C.current), k.useEffect(() => {
|
|
2416
|
-
if (!
|
|
2420
|
+
if (!g) return;
|
|
2417
2421
|
const y = (M) => {
|
|
2418
2422
|
C.current?.contains(M.target) || j(!1);
|
|
2419
2423
|
}, S = (M) => {
|
|
@@ -2422,22 +2426,22 @@ const ss = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2422
2426
|
return document.addEventListener("mousedown", y), document.addEventListener("keydown", S), () => {
|
|
2423
2427
|
document.removeEventListener("mousedown", y), document.removeEventListener("keydown", S);
|
|
2424
2428
|
};
|
|
2425
|
-
}, [
|
|
2429
|
+
}, [g, j]);
|
|
2426
2430
|
const N = (y) => {
|
|
2427
2431
|
s?.(y.value), j(!1);
|
|
2428
2432
|
};
|
|
2429
|
-
return /* @__PURE__ */ e.jsxs("div", { ref: C, className: x("relative inline-block", o), ...
|
|
2433
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: C, className: x("relative inline-block", o), ...b, children: [
|
|
2430
2434
|
/* @__PURE__ */ e.jsxs(
|
|
2431
2435
|
"button",
|
|
2432
2436
|
{
|
|
2433
2437
|
type: "button",
|
|
2434
|
-
onClick: () => j(!
|
|
2438
|
+
onClick: () => j(!g),
|
|
2435
2439
|
"aria-label": "Switch language",
|
|
2436
2440
|
"aria-haspopup": "listbox",
|
|
2437
|
-
"aria-expanded":
|
|
2441
|
+
"aria-expanded": g,
|
|
2438
2442
|
className: x(
|
|
2439
2443
|
"inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",
|
|
2440
|
-
|
|
2444
|
+
l
|
|
2441
2445
|
),
|
|
2442
2446
|
children: [
|
|
2443
2447
|
/* @__PURE__ */ e.jsx(ss, {}),
|
|
@@ -2445,14 +2449,14 @@ const ss = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
2445
2449
|
Ne,
|
|
2446
2450
|
{
|
|
2447
2451
|
size: 24,
|
|
2448
|
-
className: x("transition-transform duration-200",
|
|
2452
|
+
className: x("transition-transform duration-200", g ? "rotate-180" : ""),
|
|
2449
2453
|
"aria-hidden": !0
|
|
2450
2454
|
}
|
|
2451
2455
|
)
|
|
2452
2456
|
]
|
|
2453
2457
|
}
|
|
2454
2458
|
),
|
|
2455
|
-
|
|
2459
|
+
g && /* @__PURE__ */ e.jsx(
|
|
2456
2460
|
"ul",
|
|
2457
2461
|
{
|
|
2458
2462
|
role: "listbox",
|
|
@@ -2486,7 +2490,7 @@ function an({
|
|
|
2486
2490
|
backButtonAriaLabel: a = "Go back",
|
|
2487
2491
|
locale: s,
|
|
2488
2492
|
localeOptions: n,
|
|
2489
|
-
onLocaleChange:
|
|
2493
|
+
onLocaleChange: i,
|
|
2490
2494
|
className: d
|
|
2491
2495
|
}) {
|
|
2492
2496
|
return /* @__PURE__ */ e.jsxs(
|
|
@@ -2512,7 +2516,7 @@ function an({
|
|
|
2512
2516
|
{
|
|
2513
2517
|
options: n,
|
|
2514
2518
|
value: s,
|
|
2515
|
-
onChange:
|
|
2519
|
+
onChange: i,
|
|
2516
2520
|
menuClassName: "left-auto right-0"
|
|
2517
2521
|
}
|
|
2518
2522
|
)
|
|
@@ -2521,17 +2525,17 @@ function an({
|
|
|
2521
2525
|
);
|
|
2522
2526
|
}
|
|
2523
2527
|
const rs = k.forwardRef(
|
|
2524
|
-
({ label: t, selected: a = !1, onClick: s, icon: n, className:
|
|
2528
|
+
({ label: t, selected: a = !1, onClick: s, icon: n, className: i, type: d = "button", ...o }, l) => /* @__PURE__ */ e.jsxs(
|
|
2525
2529
|
"button",
|
|
2526
2530
|
{
|
|
2527
|
-
ref:
|
|
2531
|
+
ref: l,
|
|
2528
2532
|
type: d,
|
|
2529
2533
|
onClick: s,
|
|
2530
2534
|
"aria-pressed": a,
|
|
2531
2535
|
className: x(
|
|
2532
2536
|
"inline-flex shrink-0 items-center justify-center gap-1 rounded-full border text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",
|
|
2533
2537
|
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",
|
|
2534
|
-
|
|
2538
|
+
i
|
|
2535
2539
|
),
|
|
2536
2540
|
...o,
|
|
2537
2541
|
children: [
|
|
@@ -2547,10 +2551,10 @@ const sn = ({
|
|
|
2547
2551
|
currentStep: a,
|
|
2548
2552
|
totalSteps: s,
|
|
2549
2553
|
className: n,
|
|
2550
|
-
...
|
|
2554
|
+
...i
|
|
2551
2555
|
}) => {
|
|
2552
2556
|
const d = s > 0 ? Math.min(100, Math.max(0, a / s * 100)) : 0;
|
|
2553
|
-
return /* @__PURE__ */ e.jsxs("div", { className: x("step-progress-header", n), ...
|
|
2557
|
+
return /* @__PURE__ */ e.jsxs("div", { className: x("step-progress-header", n), ...i, children: [
|
|
2554
2558
|
/* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__column", children: [
|
|
2555
2559
|
/* @__PURE__ */ e.jsx("p", { className: "step-progress-header__quote", children: t }),
|
|
2556
2560
|
/* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__track", children: [
|
|
@@ -2634,22 +2638,22 @@ const At = 1.25, Pt = [
|
|
|
2634
2638
|
question: a,
|
|
2635
2639
|
description: s,
|
|
2636
2640
|
audioSrc: n,
|
|
2637
|
-
className:
|
|
2641
|
+
className: i,
|
|
2638
2642
|
...d
|
|
2639
2643
|
}) => {
|
|
2640
|
-
const o = k.useRef(null),
|
|
2644
|
+
const o = k.useRef(null), l = k.useRef(!1), [c, b] = k.useState(!1), [p, u] = k.useState(!1);
|
|
2641
2645
|
k.useEffect(() => {
|
|
2642
|
-
!n ||
|
|
2646
|
+
!n || l.current || (l.current = !0, o.current?.play().catch(() => {
|
|
2643
2647
|
}));
|
|
2644
2648
|
}, [n]);
|
|
2645
2649
|
const m = () => {
|
|
2646
2650
|
const h = o.current;
|
|
2647
|
-
h && (h.muted = !h.muted,
|
|
2651
|
+
h && (h.muted = !h.muted, b(h.muted));
|
|
2648
2652
|
};
|
|
2649
2653
|
return /* @__PURE__ */ e.jsxs(
|
|
2650
2654
|
"div",
|
|
2651
2655
|
{
|
|
2652
|
-
className: x("flex w-full items-start gap-3 px-4 pb-6",
|
|
2656
|
+
className: x("flex w-full items-start gap-3 px-4 pb-6", i),
|
|
2653
2657
|
...d,
|
|
2654
2658
|
children: [
|
|
2655
2659
|
/* @__PURE__ */ e.jsxs("div", { className: "relative size-16 shrink-0 overflow-hidden rounded-[12.8px] bg-linear-to-b from-[#fef5e9] to-[#fccf9a]", children: [
|
|
@@ -2731,7 +2735,7 @@ const At = 1.25, Pt = [
|
|
|
2731
2735
|
md: "size-11",
|
|
2732
2736
|
lg: "size-16"
|
|
2733
2737
|
}, we = k.forwardRef(
|
|
2734
|
-
({ icon: t, avatarUrl: a, alt: s = "", size: n = "md", className:
|
|
2738
|
+
({ icon: t, avatarUrl: a, alt: s = "", size: n = "md", className: i, ...d }, o) => /* @__PURE__ */ e.jsx(
|
|
2735
2739
|
"div",
|
|
2736
2740
|
{
|
|
2737
2741
|
ref: o,
|
|
@@ -2739,7 +2743,7 @@ const At = 1.25, Pt = [
|
|
|
2739
2743
|
"flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
2740
2744
|
os[n],
|
|
2741
2745
|
!a && "bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",
|
|
2742
|
-
|
|
2746
|
+
i
|
|
2743
2747
|
),
|
|
2744
2748
|
"aria-hidden": a ? void 0 : !0,
|
|
2745
2749
|
...d,
|
|
@@ -2754,17 +2758,17 @@ const Xe = k.forwardRef(
|
|
|
2754
2758
|
onSelect: a,
|
|
2755
2759
|
icon: s,
|
|
2756
2760
|
avatarUrl: n,
|
|
2757
|
-
iconSize:
|
|
2761
|
+
iconSize: i = "md",
|
|
2758
2762
|
iconClassName: d,
|
|
2759
2763
|
title: o,
|
|
2760
|
-
description:
|
|
2764
|
+
description: l,
|
|
2761
2765
|
badge: c,
|
|
2762
|
-
showRadio:
|
|
2766
|
+
showRadio: b = !0,
|
|
2763
2767
|
radioVariant: p = "dot",
|
|
2764
2768
|
radioClassName: u,
|
|
2765
2769
|
tag: m,
|
|
2766
2770
|
tagClassName: h,
|
|
2767
|
-
children:
|
|
2771
|
+
children: g,
|
|
2768
2772
|
note: j,
|
|
2769
2773
|
noteClassName: C,
|
|
2770
2774
|
className: N,
|
|
@@ -2812,16 +2816,16 @@ const Xe = k.forwardRef(
|
|
|
2812
2816
|
{
|
|
2813
2817
|
icon: s,
|
|
2814
2818
|
avatarUrl: n,
|
|
2815
|
-
size:
|
|
2819
|
+
size: i,
|
|
2816
2820
|
className: d
|
|
2817
2821
|
}
|
|
2818
2822
|
),
|
|
2819
2823
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
2820
2824
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#1d2125]", children: o }),
|
|
2821
|
-
|
|
2825
|
+
l && !g && /* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-[13px] leading-4.5 text-gray-500", children: l })
|
|
2822
2826
|
] }),
|
|
2823
2827
|
c && /* @__PURE__ */ e.jsx("span", { className: "shrink-0", children: c }),
|
|
2824
|
-
|
|
2828
|
+
b && /* @__PURE__ */ e.jsxs(
|
|
2825
2829
|
"span",
|
|
2826
2830
|
{
|
|
2827
2831
|
"aria-hidden": !0,
|
|
@@ -2849,7 +2853,7 @@ const Xe = k.forwardRef(
|
|
|
2849
2853
|
]
|
|
2850
2854
|
}
|
|
2851
2855
|
),
|
|
2852
|
-
|
|
2856
|
+
g
|
|
2853
2857
|
]
|
|
2854
2858
|
}
|
|
2855
2859
|
);
|
|
@@ -2891,7 +2895,7 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
2891
2895
|
onInfoClick: a,
|
|
2892
2896
|
infoLabel: s = "More info",
|
|
2893
2897
|
className: n,
|
|
2894
|
-
...
|
|
2898
|
+
...i
|
|
2895
2899
|
}) => /* @__PURE__ */ e.jsxs(
|
|
2896
2900
|
"div",
|
|
2897
2901
|
{
|
|
@@ -2899,7 +2903,7 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
2899
2903
|
"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",
|
|
2900
2904
|
n
|
|
2901
2905
|
),
|
|
2902
|
-
...
|
|
2906
|
+
...i,
|
|
2903
2907
|
children: [
|
|
2904
2908
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: t }),
|
|
2905
2909
|
a ? /* @__PURE__ */ e.jsx(
|
|
@@ -2947,9 +2951,10 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
2947
2951
|
onIncrement: a,
|
|
2948
2952
|
onDecrement: s,
|
|
2949
2953
|
min: n = 0,
|
|
2950
|
-
max:
|
|
2951
|
-
|
|
2952
|
-
|
|
2954
|
+
max: i,
|
|
2955
|
+
decrementDisabled: d,
|
|
2956
|
+
addLabel: o = "Add",
|
|
2957
|
+
className: l
|
|
2953
2958
|
}) => t <= n ? /* @__PURE__ */ e.jsxs(
|
|
2954
2959
|
"button",
|
|
2955
2960
|
{
|
|
@@ -2957,11 +2962,11 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
2957
2962
|
onClick: a,
|
|
2958
2963
|
className: x(
|
|
2959
2964
|
"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",
|
|
2960
|
-
|
|
2965
|
+
l
|
|
2961
2966
|
),
|
|
2962
2967
|
children: [
|
|
2963
2968
|
/* @__PURE__ */ e.jsx(yt, { size: 20, "aria-hidden": !0 }),
|
|
2964
|
-
|
|
2969
|
+
o
|
|
2965
2970
|
]
|
|
2966
2971
|
}
|
|
2967
2972
|
) : /* @__PURE__ */ e.jsxs(
|
|
@@ -2969,7 +2974,7 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
2969
2974
|
{
|
|
2970
2975
|
className: x(
|
|
2971
2976
|
"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",
|
|
2972
|
-
|
|
2977
|
+
l
|
|
2973
2978
|
),
|
|
2974
2979
|
children: [
|
|
2975
2980
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2977,8 +2982,9 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
2977
2982
|
{
|
|
2978
2983
|
type: "button",
|
|
2979
2984
|
onClick: s,
|
|
2985
|
+
disabled: d,
|
|
2980
2986
|
"aria-label": "Decrease quantity",
|
|
2981
|
-
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",
|
|
2987
|
+
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors disabled:pointer-events-none disabled:opacity-40",
|
|
2982
2988
|
children: /* @__PURE__ */ e.jsx(v2, { size: 18, "aria-hidden": !0 })
|
|
2983
2989
|
}
|
|
2984
2990
|
),
|
|
@@ -2988,7 +2994,7 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
2988
2994
|
{
|
|
2989
2995
|
type: "button",
|
|
2990
2996
|
onClick: a,
|
|
2991
|
-
disabled:
|
|
2997
|
+
disabled: i !== void 0 && t >= i,
|
|
2992
2998
|
"aria-label": "Increase quantity",
|
|
2993
2999
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors disabled:pointer-events-none disabled:opacity-40",
|
|
2994
3000
|
children: /* @__PURE__ */ e.jsx(yt, { size: 18, "aria-hidden": !0 })
|
|
@@ -3054,7 +3060,7 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3054
3060
|
description: a,
|
|
3055
3061
|
price: s,
|
|
3056
3062
|
originalPrice: n,
|
|
3057
|
-
action:
|
|
3063
|
+
action: i,
|
|
3058
3064
|
className: d,
|
|
3059
3065
|
...o
|
|
3060
3066
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -3072,7 +3078,7 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3072
3078
|
n && /* @__PURE__ */ e.jsx("span", { className: "text-sm text-gray-400 line-through", children: n }),
|
|
3073
3079
|
/* @__PURE__ */ e.jsx("span", { className: "text-[15px] font-bold text-[#1d2125]", children: s })
|
|
3074
3080
|
] }),
|
|
3075
|
-
|
|
3081
|
+
i
|
|
3076
3082
|
] })
|
|
3077
3083
|
] })
|
|
3078
3084
|
}
|
|
@@ -3089,7 +3095,10 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3089
3095
|
{
|
|
3090
3096
|
type: s,
|
|
3091
3097
|
className: x(
|
|
3092
|
-
|
|
3098
|
+
// text-gray-900 needs `!` — a host app's own scoped Preflight-style
|
|
3099
|
+
// reset (`.some-root button { color: inherit; ... }`) outranks a
|
|
3100
|
+
// plain single-class selector on specificity regardless of load order.
|
|
3101
|
+
"inline-flex items-center gap-1.5 rounded-full border border-gray-300 px-3 py-1.5 text-sm font-semibold text-gray-900! transition-colors hover:bg-gray-50",
|
|
3093
3102
|
a
|
|
3094
3103
|
),
|
|
3095
3104
|
...n,
|
|
@@ -3103,14 +3112,14 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3103
3112
|
isAdded: a = !0,
|
|
3104
3113
|
children: s,
|
|
3105
3114
|
className: n,
|
|
3106
|
-
type:
|
|
3115
|
+
type: i = "button",
|
|
3107
3116
|
...d
|
|
3108
3117
|
}) => /* @__PURE__ */ e.jsxs(
|
|
3109
3118
|
"button",
|
|
3110
3119
|
{
|
|
3111
|
-
type:
|
|
3120
|
+
type: i,
|
|
3112
3121
|
className: x(
|
|
3113
|
-
"inline-flex items-center gap-1.5 rounded-full border border-emerald-500 px-3 py-1.5 text-sm font-semibold text-emerald-600 transition-colors hover:bg-emerald-50",
|
|
3122
|
+
"inline-flex items-center gap-1.5 rounded-full border border-emerald-500 px-3 py-1.5 text-sm font-semibold text-emerald-600! transition-colors hover:bg-emerald-50",
|
|
3114
3123
|
n
|
|
3115
3124
|
),
|
|
3116
3125
|
...d,
|
|
@@ -3119,15 +3128,15 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3119
3128
|
s ?? (a ? Ee(t).addedLabel : Ee(t).addLabel)
|
|
3120
3129
|
]
|
|
3121
3130
|
}
|
|
3122
|
-
), us = "_contentBlock_q0y8x_8", ps = "_imageWrap_q0y8x_18", xs = "_image_q0y8x_18", fs = "_tag_q0y8x_30", ms = "_info_q0y8x_45", hs = "_title_q0y8x_52",
|
|
3131
|
+
), us = "_contentBlock_q0y8x_8", ps = "_imageWrap_q0y8x_18", xs = "_image_q0y8x_18", fs = "_tag_q0y8x_30", ms = "_info_q0y8x_45", hs = "_title_q0y8x_52", gs = "_description_q0y8x_59", bs = "_footer_q0y8x_66", js = "_priceRow_q0y8x_75", ys = "_price_q0y8x_75", vs = "_basePrice_q0y8x_90", Cs = "_savedBadge_q0y8x_99", Ns = "_actionWrap_q0y8x_120", Q = {
|
|
3123
3132
|
contentBlock: us,
|
|
3124
3133
|
imageWrap: ps,
|
|
3125
3134
|
image: xs,
|
|
3126
3135
|
tag: fs,
|
|
3127
3136
|
info: ms,
|
|
3128
3137
|
title: hs,
|
|
3129
|
-
description:
|
|
3130
|
-
footer:
|
|
3138
|
+
description: gs,
|
|
3139
|
+
footer: bs,
|
|
3131
3140
|
priceRow: js,
|
|
3132
3141
|
price: ys,
|
|
3133
3142
|
basePrice: vs,
|
|
@@ -3138,17 +3147,17 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3138
3147
|
onClose: a,
|
|
3139
3148
|
ariaLabel: s,
|
|
3140
3149
|
image: n,
|
|
3141
|
-
imageAlt:
|
|
3150
|
+
imageAlt: i = "",
|
|
3142
3151
|
tag: d,
|
|
3143
3152
|
tagClassName: o,
|
|
3144
|
-
title:
|
|
3153
|
+
title: l,
|
|
3145
3154
|
description: c,
|
|
3146
|
-
descriptionHtml:
|
|
3155
|
+
descriptionHtml: b,
|
|
3147
3156
|
price: p,
|
|
3148
3157
|
basePrice: u,
|
|
3149
3158
|
currencySymbol: m = "₹",
|
|
3150
3159
|
showSavedBadge: h,
|
|
3151
|
-
savedLabel:
|
|
3160
|
+
savedLabel: g,
|
|
3152
3161
|
action: j
|
|
3153
3162
|
}) => {
|
|
3154
3163
|
const C = typeof u == "number" && u > p, N = C ? Math.round((u - p) / u * 100) : 0, y = (h ?? C) && N > 0;
|
|
@@ -3170,16 +3179,16 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3170
3179
|
m,
|
|
3171
3180
|
u
|
|
3172
3181
|
] }),
|
|
3173
|
-
y && /* @__PURE__ */ e.jsx("span", { className: Q.savedBadge, children:
|
|
3182
|
+
y && /* @__PURE__ */ e.jsx("span", { className: Q.savedBadge, children: g ?? `Save ${N}%` })
|
|
3174
3183
|
] }),
|
|
3175
3184
|
j && /* @__PURE__ */ e.jsx("div", { className: Q.actionWrap, children: j })
|
|
3176
3185
|
] }),
|
|
3177
3186
|
children: /* @__PURE__ */ e.jsxs("div", { className: Q.contentBlock, children: [
|
|
3178
|
-
/* @__PURE__ */ e.jsx("div", { className: Q.imageWrap, children: /* @__PURE__ */ e.jsx("img", { src: n, alt:
|
|
3187
|
+
/* @__PURE__ */ e.jsx("div", { className: Q.imageWrap, children: /* @__PURE__ */ e.jsx("img", { src: n, alt: i, className: Q.image }) }),
|
|
3179
3188
|
d && /* @__PURE__ */ e.jsx("div", { className: x(Q.tag, o), children: d }),
|
|
3180
3189
|
/* @__PURE__ */ e.jsxs("div", { className: Q.info, children: [
|
|
3181
|
-
/* @__PURE__ */ e.jsx("p", { className: Q.title, children:
|
|
3182
|
-
|
|
3190
|
+
/* @__PURE__ */ e.jsx("p", { className: Q.title, children: l }),
|
|
3191
|
+
b ? /* @__PURE__ */ e.jsx("div", { className: Q.description, dangerouslySetInnerHTML: { __html: b } }) : c && /* @__PURE__ */ e.jsx("p", { className: Q.description, children: c })
|
|
3183
3192
|
] })
|
|
3184
3193
|
] })
|
|
3185
3194
|
}
|
|
@@ -3207,17 +3216,17 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3207
3216
|
imageAlt: a = "",
|
|
3208
3217
|
title: s,
|
|
3209
3218
|
description: n,
|
|
3210
|
-
descriptionHtml:
|
|
3219
|
+
descriptionHtml: i,
|
|
3211
3220
|
descriptionClampLines: d = 2,
|
|
3212
3221
|
descriptionMaxLength: o = 40,
|
|
3213
|
-
locale:
|
|
3214
|
-
readMoreLabel: c = ft(
|
|
3215
|
-
readLessLabel:
|
|
3222
|
+
locale: l = "en",
|
|
3223
|
+
readMoreLabel: c = ft(l, "templeSignificanceReadMoreLabel"),
|
|
3224
|
+
readLessLabel: b = ft(l, "templeSignificanceReadLessLabel"),
|
|
3216
3225
|
price: p,
|
|
3217
3226
|
originalPrice: u,
|
|
3218
3227
|
tag: m,
|
|
3219
3228
|
tagClassName: h,
|
|
3220
|
-
action:
|
|
3229
|
+
action: g,
|
|
3221
3230
|
sheetPrice: j,
|
|
3222
3231
|
sheetBasePrice: C,
|
|
3223
3232
|
sheetCurrencySymbol: N,
|
|
@@ -3227,15 +3236,15 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3227
3236
|
className: O,
|
|
3228
3237
|
..._
|
|
3229
3238
|
}) => {
|
|
3230
|
-
const [G, J] = F(!1), [B, ee] = F(!1), W =
|
|
3239
|
+
const [G, J] = F(!1), [B, ee] = F(!1), W = i ? Us(i).length > o : typeof n == "string" && n.length > o, q = W && !i && !G ? `${n.slice(0, o).trimEnd()}... ` : n, z = typeof j == "number", $ = !!i && W && !G, Z = W && /* @__PURE__ */ e.jsx(
|
|
3231
3240
|
"button",
|
|
3232
3241
|
{
|
|
3233
3242
|
type: "button",
|
|
3234
3243
|
onClick: (Y) => {
|
|
3235
3244
|
Y.stopPropagation(), z ? ee(!0) : J((se) => !se);
|
|
3236
3245
|
},
|
|
3237
|
-
className: x(V.readMoreToggle,
|
|
3238
|
-
children: z ? c : G ?
|
|
3246
|
+
className: x(V.readMoreToggle, i && V.readMoreToggleBlock),
|
|
3247
|
+
children: z ? c : G ? b : c
|
|
3239
3248
|
}
|
|
3240
3249
|
);
|
|
3241
3250
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
@@ -3251,13 +3260,13 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3251
3260
|
/* @__PURE__ */ e.jsxs("div", { className: V.info, children: [
|
|
3252
3261
|
/* @__PURE__ */ e.jsxs("div", { className: V.textGroup, children: [
|
|
3253
3262
|
/* @__PURE__ */ e.jsx("p", { className: V.title, children: s }),
|
|
3254
|
-
|
|
3263
|
+
i ? /* @__PURE__ */ e.jsxs("div", { className: V.description, children: [
|
|
3255
3264
|
/* @__PURE__ */ e.jsx(
|
|
3256
3265
|
"div",
|
|
3257
3266
|
{
|
|
3258
3267
|
className: x($ && V.descriptionClamp),
|
|
3259
3268
|
style: $ ? { WebkitLineClamp: d } : void 0,
|
|
3260
|
-
dangerouslySetInnerHTML: { __html:
|
|
3269
|
+
dangerouslySetInnerHTML: { __html: i }
|
|
3261
3270
|
}
|
|
3262
3271
|
),
|
|
3263
3272
|
Z
|
|
@@ -3273,7 +3282,7 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3273
3282
|
] }),
|
|
3274
3283
|
/* @__PURE__ */ e.jsxs("div", { className: V.imageWrap, children: [
|
|
3275
3284
|
/* @__PURE__ */ e.jsx("img", { src: t, alt: a, className: V.image }),
|
|
3276
|
-
|
|
3285
|
+
g && /* @__PURE__ */ e.jsx("div", { className: V.actionWrap, onClick: (Y) => Y.stopPropagation(), children: g })
|
|
3277
3286
|
] })
|
|
3278
3287
|
] })
|
|
3279
3288
|
]
|
|
@@ -3291,13 +3300,13 @@ const nn = ({ value: t, onClick: a, className: s, ...n }) => /* @__PURE__ */ e.j
|
|
|
3291
3300
|
tagClassName: h,
|
|
3292
3301
|
title: s,
|
|
3293
3302
|
description: n,
|
|
3294
|
-
descriptionHtml:
|
|
3303
|
+
descriptionHtml: i,
|
|
3295
3304
|
price: j,
|
|
3296
3305
|
basePrice: C,
|
|
3297
3306
|
currencySymbol: N,
|
|
3298
3307
|
showSavedBadge: y,
|
|
3299
3308
|
savedLabel: S,
|
|
3300
|
-
action:
|
|
3309
|
+
action: g
|
|
3301
3310
|
}
|
|
3302
3311
|
)
|
|
3303
3312
|
] });
|
|
@@ -3428,14 +3437,14 @@ const $s = [
|
|
|
3428
3437
|
badgeClassName: a,
|
|
3429
3438
|
marquee: s = !0,
|
|
3430
3439
|
marqueeDurationSeconds: n = 14,
|
|
3431
|
-
className:
|
|
3440
|
+
className: i,
|
|
3432
3441
|
...d
|
|
3433
|
-
}) => s ? /* @__PURE__ */ e.jsx("div", { className: x("overflow-hidden bg-[#ededed] px-4 py-1",
|
|
3442
|
+
}) => s ? /* @__PURE__ */ e.jsx("div", { className: x("overflow-hidden bg-[#ededed] px-4 py-1", i), ...d, children: /* @__PURE__ */ e.jsx(
|
|
3434
3443
|
"div",
|
|
3435
3444
|
{
|
|
3436
3445
|
className: "flex w-max items-center gap-3 whitespace-nowrap motion-reduce:animate-none",
|
|
3437
3446
|
style: { animation: `pitru-paksh-trust-badges-marquee ${n}s linear infinite` },
|
|
3438
|
-
children: [...t, ...t].map((o,
|
|
3447
|
+
children: [...t, ...t].map((o, l) => Rt(o, `${o.id}-${l}`, a))
|
|
3439
3448
|
}
|
|
3440
3449
|
) }) : /* @__PURE__ */ e.jsx(
|
|
3441
3450
|
"div",
|
|
@@ -3443,7 +3452,7 @@ const $s = [
|
|
|
3443
3452
|
className: x(
|
|
3444
3453
|
"flex items-center gap-3 overflow-x-auto bg-[#ededed] px-4 py-1 whitespace-nowrap",
|
|
3445
3454
|
"scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",
|
|
3446
|
-
|
|
3455
|
+
i
|
|
3447
3456
|
),
|
|
3448
3457
|
...d,
|
|
3449
3458
|
children: t.map((o) => Rt(o, o.id, a))
|
|
@@ -3470,60 +3479,89 @@ const $s = [
|
|
|
3470
3479
|
amount: a,
|
|
3471
3480
|
amountClassName: s,
|
|
3472
3481
|
subtitle: n,
|
|
3473
|
-
subtitleClassName:
|
|
3482
|
+
subtitleClassName: i,
|
|
3474
3483
|
showInfoIcon: d = !0,
|
|
3475
3484
|
onInfoClick: o,
|
|
3476
|
-
infoIconClassName:
|
|
3485
|
+
infoIconClassName: l,
|
|
3477
3486
|
proceedLabel: c,
|
|
3478
|
-
proceedIcon:
|
|
3487
|
+
proceedIcon: b = /* @__PURE__ */ e.jsx(he, { "aria-hidden": !0 }),
|
|
3479
3488
|
onProceed: p,
|
|
3480
3489
|
proceedButtonProps: u,
|
|
3481
3490
|
buttonWrapperClassName: m,
|
|
3482
3491
|
growProceedButton: h = !1,
|
|
3483
|
-
className:
|
|
3492
|
+
className: g,
|
|
3484
3493
|
...j
|
|
3485
3494
|
}) => {
|
|
3486
3495
|
const C = Ws(t);
|
|
3487
|
-
return /* @__PURE__ */ e.jsxs(
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3496
|
+
return /* @__PURE__ */ e.jsxs(
|
|
3497
|
+
"div",
|
|
3498
|
+
{
|
|
3499
|
+
className: x(
|
|
3500
|
+
"flex items-center gap-3 rounded-t-[20px] bg-white px-4 py-4 shadow-[0_0_20px_rgba(0,0,0,0.15)]",
|
|
3501
|
+
g
|
|
3502
|
+
),
|
|
3503
|
+
...j,
|
|
3504
|
+
children: [
|
|
3505
|
+
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
3506
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
3507
|
+
/* @__PURE__ */ e.jsx(
|
|
3508
|
+
"span",
|
|
3509
|
+
{
|
|
3510
|
+
className: x(
|
|
3511
|
+
"text-xl font-extrabold text-[#1d2125]",
|
|
3512
|
+
s
|
|
3513
|
+
),
|
|
3514
|
+
children: a
|
|
3515
|
+
}
|
|
3516
|
+
),
|
|
3517
|
+
d && /* @__PURE__ */ e.jsx(
|
|
3518
|
+
"button",
|
|
3519
|
+
{
|
|
3520
|
+
type: "button",
|
|
3521
|
+
onClick: o,
|
|
3522
|
+
"aria-label": C.infoButtonAriaLabel ?? "View bill details",
|
|
3523
|
+
className: x(
|
|
3524
|
+
"inline-flex shrink-0 items-center justify-center text-[#f75e22]!",
|
|
3525
|
+
!o && "pointer-events-none",
|
|
3526
|
+
l
|
|
3527
|
+
),
|
|
3528
|
+
children: /* @__PURE__ */ e.jsx(de, { size: 18, "aria-hidden": !0 })
|
|
3529
|
+
}
|
|
3530
|
+
)
|
|
3531
|
+
] }),
|
|
3532
|
+
n && /* @__PURE__ */ e.jsx("p", { className: x("mt-1 text-sm text-gray-500", i), children: n })
|
|
3533
|
+
] }),
|
|
3534
|
+
/* @__PURE__ */ e.jsx(
|
|
3535
|
+
"div",
|
|
3493
3536
|
{
|
|
3494
|
-
type: "button",
|
|
3495
|
-
onClick: o,
|
|
3496
|
-
"aria-label": C.infoButtonAriaLabel ?? "View bill details",
|
|
3497
3537
|
className: x(
|
|
3498
|
-
"
|
|
3499
|
-
|
|
3500
|
-
|
|
3538
|
+
"min-w-0",
|
|
3539
|
+
h ? "flex-1" : "flex-[1.4]",
|
|
3540
|
+
m
|
|
3501
3541
|
),
|
|
3502
|
-
children: /* @__PURE__ */ e.
|
|
3542
|
+
children: /* @__PURE__ */ e.jsxs(
|
|
3543
|
+
H,
|
|
3544
|
+
{
|
|
3545
|
+
variant: "primary",
|
|
3546
|
+
size: "xl",
|
|
3547
|
+
onClick: p,
|
|
3548
|
+
...u,
|
|
3549
|
+
className: x(
|
|
3550
|
+
"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",
|
|
3551
|
+
h ? "w-full" : "min-w-40",
|
|
3552
|
+
u?.className
|
|
3553
|
+
),
|
|
3554
|
+
children: [
|
|
3555
|
+
c ?? C.proceedLabel,
|
|
3556
|
+
b
|
|
3557
|
+
]
|
|
3558
|
+
}
|
|
3559
|
+
)
|
|
3503
3560
|
}
|
|
3504
3561
|
)
|
|
3505
|
-
]
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
/* @__PURE__ */ e.jsx("div", { className: x("min-w-0", h ? "flex-1" : "flex-[1.4]", m), children: /* @__PURE__ */ e.jsxs(
|
|
3509
|
-
H,
|
|
3510
|
-
{
|
|
3511
|
-
variant: "primary",
|
|
3512
|
-
size: "xl",
|
|
3513
|
-
onClick: p,
|
|
3514
|
-
...u,
|
|
3515
|
-
className: x(
|
|
3516
|
-
"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",
|
|
3517
|
-
h ? "w-full" : "min-w-40",
|
|
3518
|
-
u?.className
|
|
3519
|
-
),
|
|
3520
|
-
children: [
|
|
3521
|
-
c ?? C.proceedLabel,
|
|
3522
|
-
g
|
|
3523
|
-
]
|
|
3524
|
-
}
|
|
3525
|
-
) })
|
|
3526
|
-
] });
|
|
3562
|
+
]
|
|
3563
|
+
}
|
|
3564
|
+
);
|
|
3527
3565
|
}, Et = {
|
|
3528
3566
|
en: {
|
|
3529
3567
|
title: "Select the number of people performing the Puja (Karta)",
|
|
@@ -3594,17 +3632,17 @@ const $s = [
|
|
|
3594
3632
|
title: a,
|
|
3595
3633
|
description: s,
|
|
3596
3634
|
benefits: n,
|
|
3597
|
-
options:
|
|
3635
|
+
options: i,
|
|
3598
3636
|
value: d,
|
|
3599
3637
|
onChange: o,
|
|
3600
|
-
radioVariant:
|
|
3638
|
+
radioVariant: l = "dot",
|
|
3601
3639
|
radiogroupLabel: c,
|
|
3602
|
-
className:
|
|
3640
|
+
className: b,
|
|
3603
3641
|
headerClassName: p,
|
|
3604
3642
|
benefitsClassName: u,
|
|
3605
3643
|
optionsClassName: m,
|
|
3606
3644
|
trustBadges: h,
|
|
3607
|
-
checkout:
|
|
3645
|
+
checkout: g,
|
|
3608
3646
|
stickyFooter: j = !0,
|
|
3609
3647
|
footerClassName: C
|
|
3610
3648
|
}) => {
|
|
@@ -3617,7 +3655,7 @@ const $s = [
|
|
|
3617
3655
|
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(pa, { className: "size-5" }), label: N.trustBadgeLabels.support }
|
|
3618
3656
|
]
|
|
3619
3657
|
};
|
|
3620
|
-
return /* @__PURE__ */ e.jsxs("div", { className: x("w-full",
|
|
3658
|
+
return /* @__PURE__ */ e.jsxs("div", { className: x("w-full", b), children: [
|
|
3621
3659
|
/* @__PURE__ */ e.jsxs("div", { className: x("px-4 pt-5 pb-4", p), children: [
|
|
3622
3660
|
/* @__PURE__ */ e.jsx("p", { className: "text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: y }),
|
|
3623
3661
|
S && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: S })
|
|
@@ -3632,7 +3670,7 @@ const $s = [
|
|
|
3632
3670
|
role: "radiogroup",
|
|
3633
3671
|
"aria-label": c ?? (typeof y == "string" ? y : void 0),
|
|
3634
3672
|
className: x("flex flex-col gap-3 p-4", m),
|
|
3635
|
-
children:
|
|
3673
|
+
children: i.map((_) => {
|
|
3636
3674
|
const {
|
|
3637
3675
|
id: G,
|
|
3638
3676
|
price: J,
|
|
@@ -3650,7 +3688,7 @@ const $s = [
|
|
|
3650
3688
|
{
|
|
3651
3689
|
...Y,
|
|
3652
3690
|
iconClassName: x("size-10", $),
|
|
3653
|
-
radioVariant: Z ??
|
|
3691
|
+
radioVariant: Z ?? l,
|
|
3654
3692
|
badge: re,
|
|
3655
3693
|
selected: se,
|
|
3656
3694
|
onSelect: () => o(G),
|
|
@@ -3662,9 +3700,9 @@ const $s = [
|
|
|
3662
3700
|
})
|
|
3663
3701
|
}
|
|
3664
3702
|
),
|
|
3665
|
-
(O ||
|
|
3703
|
+
(O || g) && /* @__PURE__ */ e.jsxs("div", { className: x(j && "sticky bottom-0 z-10", C), children: [
|
|
3666
3704
|
O && /* @__PURE__ */ e.jsx(Vs, { ...O }),
|
|
3667
|
-
|
|
3705
|
+
g && /* @__PURE__ */ e.jsx(Qe, { locale: t, ...g })
|
|
3668
3706
|
] })
|
|
3669
3707
|
] });
|
|
3670
3708
|
}, Mt = {
|
|
@@ -3697,26 +3735,26 @@ const $s = [
|
|
|
3697
3735
|
icon: a = /* @__PURE__ */ e.jsx(Ye, { "aria-hidden": !0 }),
|
|
3698
3736
|
iconClassName: s,
|
|
3699
3737
|
title: n,
|
|
3700
|
-
titleClassName:
|
|
3738
|
+
titleClassName: i,
|
|
3701
3739
|
subtitle: d,
|
|
3702
3740
|
subtitleItems: o,
|
|
3703
|
-
stats:
|
|
3741
|
+
stats: l,
|
|
3704
3742
|
subtitleClassName: c,
|
|
3705
|
-
cardClassName:
|
|
3743
|
+
cardClassName: b,
|
|
3706
3744
|
className: p,
|
|
3707
3745
|
...u
|
|
3708
3746
|
}) => {
|
|
3709
|
-
const m = Ks(t), h = n ?? m.title,
|
|
3710
|
-
`${
|
|
3711
|
-
`${
|
|
3712
|
-
`${
|
|
3747
|
+
const m = Ks(t), h = n ?? m.title, g = o ?? (l && [
|
|
3748
|
+
`${l.ancestors} ${m.ancestorsLabel}`,
|
|
3749
|
+
`${l.rituals} ${m.ritualsLabel}`,
|
|
3750
|
+
`${l.performers} ${m.performersLabel}`
|
|
3713
3751
|
]);
|
|
3714
|
-
return /* @__PURE__ */ e.jsx("div", { className: x("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", p), ...u, children: /* @__PURE__ */ e.jsxs("div", { className: x("rounded-2xl bg-white p-4 shadow-sm",
|
|
3715
|
-
/* @__PURE__ */ e.jsxs("p", { className: x("flex items-center gap-2 text-sm font-bold text-[#db2777]",
|
|
3752
|
+
return /* @__PURE__ */ e.jsx("div", { className: x("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", p), ...u, children: /* @__PURE__ */ e.jsxs("div", { className: x("rounded-2xl bg-white p-4 shadow-sm", b), children: [
|
|
3753
|
+
/* @__PURE__ */ e.jsxs("p", { className: x("flex items-center gap-2 text-sm font-bold text-[#db2777]", i), children: [
|
|
3716
3754
|
a && /* @__PURE__ */ e.jsx("span", { className: x("shrink-0 text-sm", s), children: a }),
|
|
3717
3755
|
h
|
|
3718
3756
|
] }),
|
|
3719
|
-
(d ||
|
|
3757
|
+
(d || g && g.length > 0) && /* @__PURE__ */ e.jsx("p", { className: x("mt-2 text-[15px] font-semibold text-[#1d2125]", c), children: g && g.length > 0 ? g.map((j, C) => /* @__PURE__ */ e.jsxs(k.Fragment, { children: [
|
|
3720
3758
|
C > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
|
|
3721
3759
|
j
|
|
3722
3760
|
] }, C)) : d })
|
|
@@ -3765,15 +3803,15 @@ const Xs = ({
|
|
|
3765
3803
|
titleClassName: a,
|
|
3766
3804
|
rows: s,
|
|
3767
3805
|
rowClassName: n,
|
|
3768
|
-
showTitleAccent:
|
|
3806
|
+
showTitleAccent: i = !0,
|
|
3769
3807
|
totalValue: d,
|
|
3770
3808
|
totalClassName: o,
|
|
3771
|
-
isGlobalUser:
|
|
3809
|
+
isGlobalUser: l = !1,
|
|
3772
3810
|
className: c,
|
|
3773
|
-
...
|
|
3811
|
+
...b
|
|
3774
3812
|
}) => {
|
|
3775
|
-
const { title: p, totalLabel: u, panditFeeLabel: m, photoVideoFeeLabel: h, freeLabel:
|
|
3776
|
-
return /* @__PURE__ */ e.jsxs("div", { className: x("bg-white px-4 py-6", c), ...
|
|
3813
|
+
const { title: p, totalLabel: u, panditFeeLabel: m, photoVideoFeeLabel: h, freeLabel: g } = Ys(t);
|
|
3814
|
+
return /* @__PURE__ */ e.jsxs("div", { className: x("bg-white px-4 py-6", c), ...b, children: [
|
|
3777
3815
|
/* @__PURE__ */ e.jsxs(
|
|
3778
3816
|
"h2",
|
|
3779
3817
|
{
|
|
@@ -3782,7 +3820,7 @@ const Xs = ({
|
|
|
3782
3820
|
a
|
|
3783
3821
|
),
|
|
3784
3822
|
children: [
|
|
3785
|
-
|
|
3823
|
+
i && /* @__PURE__ */ e.jsx(
|
|
3786
3824
|
"span",
|
|
3787
3825
|
{
|
|
3788
3826
|
"aria-hidden": !0,
|
|
@@ -3834,8 +3872,8 @@ const Xs = ({
|
|
|
3834
3872
|
Bt,
|
|
3835
3873
|
{
|
|
3836
3874
|
label: m,
|
|
3837
|
-
originalValue:
|
|
3838
|
-
freeLabel:
|
|
3875
|
+
originalValue: l ? "$3.99" : "₹51.0",
|
|
3876
|
+
freeLabel: g,
|
|
3839
3877
|
rowClassName: n
|
|
3840
3878
|
}
|
|
3841
3879
|
),
|
|
@@ -3843,8 +3881,8 @@ const Xs = ({
|
|
|
3843
3881
|
Bt,
|
|
3844
3882
|
{
|
|
3845
3883
|
label: h,
|
|
3846
|
-
originalValue:
|
|
3847
|
-
freeLabel:
|
|
3884
|
+
originalValue: l ? "$0.49" : "₹21.0",
|
|
3885
|
+
freeLabel: g,
|
|
3848
3886
|
rowClassName: n
|
|
3849
3887
|
}
|
|
3850
3888
|
)
|
|
@@ -3868,17 +3906,17 @@ const Xs = ({
|
|
|
3868
3906
|
onBack: a,
|
|
3869
3907
|
backButtonAriaLabel: s,
|
|
3870
3908
|
headerClassName: n,
|
|
3871
|
-
backButtonClassName:
|
|
3909
|
+
backButtonClassName: i,
|
|
3872
3910
|
headerTitleClassName: d,
|
|
3873
3911
|
summary: o,
|
|
3874
|
-
items:
|
|
3912
|
+
items: l,
|
|
3875
3913
|
itemsClassName: c,
|
|
3876
|
-
itemClassName:
|
|
3914
|
+
itemClassName: b,
|
|
3877
3915
|
addons: p,
|
|
3878
3916
|
addonsSectionClassName: u,
|
|
3879
3917
|
addonsHeaderClassName: m,
|
|
3880
3918
|
addonsTitleClassName: h,
|
|
3881
|
-
addonsDescriptionClassName:
|
|
3919
|
+
addonsDescriptionClassName: g,
|
|
3882
3920
|
addonsClassName: j,
|
|
3883
3921
|
addonClassName: C,
|
|
3884
3922
|
addonComponent: N = Hs,
|
|
@@ -3901,7 +3939,7 @@ const Xs = ({
|
|
|
3901
3939
|
"aria-label": s ?? J,
|
|
3902
3940
|
className: x(
|
|
3903
3941
|
"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",
|
|
3904
|
-
|
|
3942
|
+
i
|
|
3905
3943
|
),
|
|
3906
3944
|
children: /* @__PURE__ */ e.jsx(qe, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
3907
3945
|
}
|
|
@@ -3909,19 +3947,19 @@ const Xs = ({
|
|
|
3909
3947
|
/* @__PURE__ */ e.jsx("h1", { className: x("text-lg font-bold text-[#1d2125]", d), children: B })
|
|
3910
3948
|
] }),
|
|
3911
3949
|
o && /* @__PURE__ */ e.jsx(qs, { ...o }),
|
|
3912
|
-
|
|
3950
|
+
l && l.length > 0 && /* @__PURE__ */ e.jsx("div", { className: x("flex flex-col gap-3 bg-white px-4 py-4", c), children: l.map(
|
|
3913
3951
|
({ id: re, className: ne, isMandapCharge: le, ...ie }) => le ? /* @__PURE__ */ e.jsx(
|
|
3914
3952
|
ds,
|
|
3915
3953
|
{
|
|
3916
3954
|
locale: t,
|
|
3917
|
-
className: x(
|
|
3955
|
+
className: x(b, ne),
|
|
3918
3956
|
...ie
|
|
3919
3957
|
},
|
|
3920
3958
|
re
|
|
3921
3959
|
) : /* @__PURE__ */ e.jsx(
|
|
3922
3960
|
ia,
|
|
3923
3961
|
{
|
|
3924
|
-
className: x(
|
|
3962
|
+
className: x(b, ne),
|
|
3925
3963
|
...ie
|
|
3926
3964
|
},
|
|
3927
3965
|
re
|
|
@@ -3930,7 +3968,7 @@ const Xs = ({
|
|
|
3930
3968
|
p && p.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: x("flex flex-col gap-4 bg-gray-50 px-4 py-6", u), children: [
|
|
3931
3969
|
/* @__PURE__ */ e.jsxs("div", { className: m, children: [
|
|
3932
3970
|
/* @__PURE__ */ e.jsx("h2", { className: x("text-base font-bold text-gray-700", h), children: ee }),
|
|
3933
|
-
/* @__PURE__ */ e.jsx("p", { className: x("mt-1 text-sm text-gray-500",
|
|
3971
|
+
/* @__PURE__ */ e.jsx("p", { className: x("mt-1 text-sm text-gray-500", g), children: W })
|
|
3934
3972
|
] }),
|
|
3935
3973
|
/* @__PURE__ */ e.jsx("div", { className: x("flex flex-col gap-4", j), children: p.map(({ id: re, className: ne, ...le }) => (
|
|
3936
3974
|
/*
|
|
@@ -3971,17 +4009,17 @@ const Xs = ({
|
|
|
3971
4009
|
value: a,
|
|
3972
4010
|
onChange: s,
|
|
3973
4011
|
prefix: n,
|
|
3974
|
-
showCharCount:
|
|
4012
|
+
showCharCount: i = !1,
|
|
3975
4013
|
supportingText: d,
|
|
3976
4014
|
error: o = !1,
|
|
3977
|
-
className:
|
|
4015
|
+
className: l,
|
|
3978
4016
|
containerClassName: c,
|
|
3979
|
-
wrapperClassName:
|
|
4017
|
+
wrapperClassName: b,
|
|
3980
4018
|
maxLength: p,
|
|
3981
4019
|
id: u,
|
|
3982
4020
|
...m
|
|
3983
4021
|
}, h) => {
|
|
3984
|
-
const
|
|
4022
|
+
const g = k.useId(), j = u ?? g, C = d ?? (i ? `${a.length}${p ? `/${p}` : ""}` : void 0);
|
|
3985
4023
|
return /* @__PURE__ */ e.jsxs("div", { className: x("flex w-full flex-col gap-2", c), children: [
|
|
3986
4024
|
t && /* @__PURE__ */ e.jsx("label", { htmlFor: j, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: t }),
|
|
3987
4025
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
@@ -3991,7 +4029,7 @@ const Xs = ({
|
|
|
3991
4029
|
className: x(
|
|
3992
4030
|
"flex w-full items-center gap-1.5 rounded-lg border bg-white p-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",
|
|
3993
4031
|
o ? "border-[#ef4444]" : "border-[#d1d5db]",
|
|
3994
|
-
|
|
4032
|
+
b
|
|
3995
4033
|
),
|
|
3996
4034
|
children: [
|
|
3997
4035
|
n && /* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[16px] leading-5.5 font-medium text-[#6b7280]", children: n }),
|
|
@@ -4006,7 +4044,7 @@ const Xs = ({
|
|
|
4006
4044
|
"aria-invalid": o,
|
|
4007
4045
|
className: x(
|
|
4008
4046
|
"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",
|
|
4009
|
-
|
|
4047
|
+
l
|
|
4010
4048
|
),
|
|
4011
4049
|
...m
|
|
4012
4050
|
}
|
|
@@ -4025,12 +4063,12 @@ function fn({
|
|
|
4025
4063
|
onClose: a,
|
|
4026
4064
|
avatarUrl: s,
|
|
4027
4065
|
heading: n,
|
|
4028
|
-
tithis:
|
|
4066
|
+
tithis: i,
|
|
4029
4067
|
confirmLabel: d,
|
|
4030
4068
|
onConfirm: o,
|
|
4031
|
-
initialTithi:
|
|
4069
|
+
initialTithi: l
|
|
4032
4070
|
}) {
|
|
4033
|
-
const [c,
|
|
4071
|
+
const [c, b] = F(l), p = () => {
|
|
4034
4072
|
c && o(c);
|
|
4035
4073
|
};
|
|
4036
4074
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -4063,13 +4101,13 @@ function fn({
|
|
|
4063
4101
|
}
|
|
4064
4102
|
)
|
|
4065
4103
|
] }),
|
|
4066
|
-
children: /* @__PURE__ */ e.jsx("div", { className: "grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4", children:
|
|
4104
|
+
children: /* @__PURE__ */ e.jsx("div", { className: "grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4", children: i.map((u) => {
|
|
4067
4105
|
const m = c === u;
|
|
4068
4106
|
return /* @__PURE__ */ e.jsx(
|
|
4069
4107
|
"button",
|
|
4070
4108
|
{
|
|
4071
4109
|
type: "button",
|
|
4072
|
-
onClick: () =>
|
|
4110
|
+
onClick: () => b(u),
|
|
4073
4111
|
className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${m ? "border-[#f38415] bg-[#f38415] text-white" : "border-[#fccf9a] bg-white/40 text-[#374151]"}`,
|
|
4074
4112
|
children: u
|
|
4075
4113
|
},
|
|
@@ -4081,16 +4119,16 @@ function fn({
|
|
|
4081
4119
|
}
|
|
4082
4120
|
const Ce = 48;
|
|
4083
4121
|
function xe({ options: t, selectedIndex: a, onChange: s }) {
|
|
4084
|
-
const n = k.useRef(null),
|
|
4122
|
+
const n = k.useRef(null), i = k.useRef(!1);
|
|
4085
4123
|
k.useEffect(() => {
|
|
4086
|
-
|
|
4124
|
+
i.current || !n.current || (i.current = !0, n.current.scrollTop = a * Ce);
|
|
4087
4125
|
}, []);
|
|
4088
4126
|
const d = () => {
|
|
4089
4127
|
if (!n.current) return;
|
|
4090
|
-
const
|
|
4128
|
+
const l = Math.round(n.current.scrollTop / Ce), c = Math.max(0, Math.min(t.length - 1, l));
|
|
4091
4129
|
c !== a && s(c);
|
|
4092
|
-
}, o = (
|
|
4093
|
-
n.current?.scrollTo({ top:
|
|
4130
|
+
}, o = (l) => {
|
|
4131
|
+
n.current?.scrollTo({ top: l * Ce, behavior: "smooth" }), s(l);
|
|
4094
4132
|
};
|
|
4095
4133
|
return /* @__PURE__ */ e.jsx("div", { className: "relative h-36 w-full", children: /* @__PURE__ */ e.jsxs(
|
|
4096
4134
|
"div",
|
|
@@ -4101,15 +4139,15 @@ function xe({ options: t, selectedIndex: a, onChange: s }) {
|
|
|
4101
4139
|
style: { scrollbarWidth: "none" },
|
|
4102
4140
|
children: [
|
|
4103
4141
|
/* @__PURE__ */ e.jsx("div", { style: { height: Ce }, "aria-hidden": !0 }),
|
|
4104
|
-
t.map((
|
|
4142
|
+
t.map((l, c) => /* @__PURE__ */ e.jsx(
|
|
4105
4143
|
"button",
|
|
4106
4144
|
{
|
|
4107
4145
|
type: "button",
|
|
4108
4146
|
onClick: () => o(c),
|
|
4109
4147
|
className: `flex h-12 w-full snap-center items-center justify-center whitespace-nowrap border-0 bg-transparent text-[20px] leading-7 ${c === a ? "font-bold text-[#f75e22]" : "font-semibold text-[#d1d5db]"}`,
|
|
4110
|
-
children:
|
|
4148
|
+
children: l
|
|
4111
4149
|
},
|
|
4112
|
-
|
|
4150
|
+
l
|
|
4113
4151
|
)),
|
|
4114
4152
|
/* @__PURE__ */ e.jsx("div", { style: { height: Ce }, "aria-hidden": !0 })
|
|
4115
4153
|
]
|
|
@@ -4122,21 +4160,21 @@ function mn({
|
|
|
4122
4160
|
onClose: a,
|
|
4123
4161
|
avatarUrl: s,
|
|
4124
4162
|
heading: n,
|
|
4125
|
-
monthLabels:
|
|
4163
|
+
monthLabels: i,
|
|
4126
4164
|
confirmLabel: d,
|
|
4127
4165
|
onConfirm: o,
|
|
4128
|
-
timezoneLabel:
|
|
4166
|
+
timezoneLabel: l,
|
|
4129
4167
|
initialDate: c,
|
|
4130
|
-
minYear:
|
|
4168
|
+
minYear: b,
|
|
4131
4169
|
maxYear: p = (/* @__PURE__ */ new Date()).getFullYear()
|
|
4132
4170
|
}) {
|
|
4133
4171
|
const u = Yt(() => {
|
|
4134
|
-
const S =
|
|
4172
|
+
const S = b ?? p - 120;
|
|
4135
4173
|
return Array.from({ length: p - S + 1 }, (M, O) => S + O);
|
|
4136
|
-
}, [
|
|
4174
|
+
}, [b, p]), [m, h] = F(() => c ? c.day - 1 : Math.floor(He.length / 2)), [g, j] = F(() => c ? c.month - 1 : 0), [C, N] = F(
|
|
4137
4175
|
() => c ? Math.max(0, u.indexOf(c.year)) : Math.floor(u.length / 2)
|
|
4138
4176
|
), y = () => {
|
|
4139
|
-
o({ day: He[m], month:
|
|
4177
|
+
o({ day: He[m], month: g + 1, year: u[C] });
|
|
4140
4178
|
};
|
|
4141
4179
|
return /* @__PURE__ */ e.jsx(
|
|
4142
4180
|
fe,
|
|
@@ -4153,12 +4191,12 @@ function mn({
|
|
|
4153
4191
|
/* @__PURE__ */ e.jsx("p", { className: "flex-1 text-[18px] leading-6 font-bold text-[#1d2125]", children: n })
|
|
4154
4192
|
] }),
|
|
4155
4193
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-6 px-5 pt-2 pb-5", children: [
|
|
4156
|
-
|
|
4194
|
+
l && /* @__PURE__ */ e.jsx("p", { className: "shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]", children: l }),
|
|
4157
4195
|
/* @__PURE__ */ e.jsx(H, { variant: "primary", size: "lg", className: "flex-1 rounded-xl", onClick: y, children: d })
|
|
4158
4196
|
] }),
|
|
4159
4197
|
children: /* @__PURE__ */ e.jsxs("div", { className: "relative flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
4160
4198
|
/* @__PURE__ */ e.jsx(xe, { options: He.map(String), selectedIndex: m, onChange: h }),
|
|
4161
|
-
/* @__PURE__ */ e.jsx(xe, { options:
|
|
4199
|
+
/* @__PURE__ */ e.jsx(xe, { options: i, selectedIndex: g, onChange: j }),
|
|
4162
4200
|
/* @__PURE__ */ e.jsx(xe, { options: u.map(String), selectedIndex: C, onChange: N }),
|
|
4163
4201
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-5 top-16 h-px bg-[#e5e7eb]" }),
|
|
4164
4202
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-5 top-28 h-px bg-[#e5e7eb]" })
|
|
@@ -4179,16 +4217,16 @@ function hn({
|
|
|
4179
4217
|
onClose: a,
|
|
4180
4218
|
avatarUrl: s,
|
|
4181
4219
|
heading: n,
|
|
4182
|
-
confirmLabel:
|
|
4220
|
+
confirmLabel: i,
|
|
4183
4221
|
onConfirm: d,
|
|
4184
4222
|
timezoneLabel: o,
|
|
4185
|
-
initialTime:
|
|
4223
|
+
initialTime: l,
|
|
4186
4224
|
amLabel: c = "AM",
|
|
4187
|
-
pmLabel:
|
|
4225
|
+
pmLabel: b = "PM"
|
|
4188
4226
|
}) {
|
|
4189
|
-
const p = Yt(() => Qs(
|
|
4227
|
+
const p = Yt(() => Qs(l?.hour ?? 11), [l?.hour]), u = [c, b], [m, h] = F(() => $e.indexOf(p.hour12)), [g, j] = F(() => l?.minute ?? 0), [C, N] = F(() => p.period === "AM" ? 0 : 1), y = () => {
|
|
4190
4228
|
const S = Js($e[m], C === 0 ? "AM" : "PM");
|
|
4191
|
-
d({ hour: S, minute: zt[
|
|
4229
|
+
d({ hour: S, minute: zt[g] });
|
|
4192
4230
|
};
|
|
4193
4231
|
return /* @__PURE__ */ e.jsx(
|
|
4194
4232
|
fe,
|
|
@@ -4204,7 +4242,7 @@ function hn({
|
|
|
4204
4242
|
] }),
|
|
4205
4243
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-6 px-5 pt-2 pb-5", children: [
|
|
4206
4244
|
o && /* @__PURE__ */ e.jsx("p", { className: "shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]", children: o }),
|
|
4207
|
-
/* @__PURE__ */ e.jsx(H, { variant: "primary", size: "lg", className: "flex-1 rounded-xl", onClick: y, children:
|
|
4245
|
+
/* @__PURE__ */ e.jsx(H, { variant: "primary", size: "lg", className: "flex-1 rounded-xl", onClick: y, children: i })
|
|
4208
4246
|
] }),
|
|
4209
4247
|
children: /* @__PURE__ */ e.jsxs("div", { className: "relative flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
4210
4248
|
/* @__PURE__ */ e.jsx(xe, { options: $e.map(String), selectedIndex: m, onChange: h }),
|
|
@@ -4212,7 +4250,7 @@ function hn({
|
|
|
4212
4250
|
xe,
|
|
4213
4251
|
{
|
|
4214
4252
|
options: zt.map((S) => String(S).padStart(2, "0")),
|
|
4215
|
-
selectedIndex:
|
|
4253
|
+
selectedIndex: g,
|
|
4216
4254
|
onChange: j
|
|
4217
4255
|
}
|
|
4218
4256
|
),
|
|
@@ -4253,20 +4291,20 @@ function er({ className: t }) {
|
|
|
4253
4291
|
}
|
|
4254
4292
|
);
|
|
4255
4293
|
}
|
|
4256
|
-
function
|
|
4294
|
+
function gn({
|
|
4257
4295
|
isOpen: t,
|
|
4258
4296
|
onClose: a,
|
|
4259
4297
|
heading: s,
|
|
4260
4298
|
subtext: n,
|
|
4261
|
-
placeholder:
|
|
4299
|
+
placeholder: i,
|
|
4262
4300
|
confirmLabel: d,
|
|
4263
4301
|
onConfirm: o,
|
|
4264
|
-
initialValue:
|
|
4302
|
+
initialValue: l = "",
|
|
4265
4303
|
countries: c = Da,
|
|
4266
|
-
initialCountryIso:
|
|
4304
|
+
initialCountryIso: b = "IN"
|
|
4267
4305
|
}) {
|
|
4268
|
-
const p = c.find((C) => C.iso ===
|
|
4269
|
-
|
|
4306
|
+
const p = c.find((C) => C.iso === b) ?? c[0], [u, m] = F(l), h = Kt(p.code), g = qt(u, p.code).isValid && u.length > 0, j = () => {
|
|
4307
|
+
g && o(u, p);
|
|
4270
4308
|
};
|
|
4271
4309
|
return /* @__PURE__ */ e.jsx(
|
|
4272
4310
|
Me,
|
|
@@ -4285,7 +4323,7 @@ function bn({
|
|
|
4285
4323
|
size: "xl",
|
|
4286
4324
|
className: "w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
4287
4325
|
rightIcon: /* @__PURE__ */ e.jsx(he, { "aria-hidden": !0 }),
|
|
4288
|
-
disabled: !
|
|
4326
|
+
disabled: !g,
|
|
4289
4327
|
onClick: j,
|
|
4290
4328
|
children: d
|
|
4291
4329
|
}
|
|
@@ -4299,7 +4337,7 @@ function bn({
|
|
|
4299
4337
|
type: "tel",
|
|
4300
4338
|
inputMode: "numeric",
|
|
4301
4339
|
value: u,
|
|
4302
|
-
placeholder:
|
|
4340
|
+
placeholder: i,
|
|
4303
4341
|
prefix: /* @__PURE__ */ e.jsxs("span", { className: "inline-flex shrink-0 items-center gap-1", children: [
|
|
4304
4342
|
/* @__PURE__ */ e.jsx(er, { className: "size-6" }),
|
|
4305
4343
|
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#6b7280]", children: p.code })
|
|
@@ -4316,17 +4354,17 @@ function bn({
|
|
|
4316
4354
|
);
|
|
4317
4355
|
}
|
|
4318
4356
|
const tr = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
4319
|
-
function
|
|
4357
|
+
function bn({
|
|
4320
4358
|
isOpen: t,
|
|
4321
4359
|
onClose: a,
|
|
4322
4360
|
heading: s,
|
|
4323
4361
|
subtext: n,
|
|
4324
|
-
confirmLabel:
|
|
4362
|
+
confirmLabel: i,
|
|
4325
4363
|
onConfirm: d,
|
|
4326
4364
|
initialValue: o = "",
|
|
4327
|
-
errorText:
|
|
4365
|
+
errorText: l = "Please enter a valid email"
|
|
4328
4366
|
}) {
|
|
4329
|
-
const [c,
|
|
4367
|
+
const [c, b] = F(o), [p, u] = F(!1), m = c.trim(), h = tr.test(m), g = p && m.length > 0 && !h, j = () => {
|
|
4330
4368
|
h && d(m);
|
|
4331
4369
|
};
|
|
4332
4370
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -4345,7 +4383,7 @@ function gn({
|
|
|
4345
4383
|
rightIcon: /* @__PURE__ */ e.jsx(he, { "aria-hidden": !0 }),
|
|
4346
4384
|
disabled: !h,
|
|
4347
4385
|
onClick: j,
|
|
4348
|
-
children:
|
|
4386
|
+
children: i
|
|
4349
4387
|
}
|
|
4350
4388
|
) }),
|
|
4351
4389
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 px-4 py-3", children: [
|
|
@@ -4359,9 +4397,9 @@ function gn({
|
|
|
4359
4397
|
autoFocus: !0,
|
|
4360
4398
|
value: c,
|
|
4361
4399
|
placeholder: "you@example.com",
|
|
4362
|
-
error:
|
|
4363
|
-
supportingText:
|
|
4364
|
-
onChange:
|
|
4400
|
+
error: g,
|
|
4401
|
+
supportingText: g ? l : void 0,
|
|
4402
|
+
onChange: b,
|
|
4365
4403
|
onBlur: () => u(!0),
|
|
4366
4404
|
containerClassName: "mt-2",
|
|
4367
4405
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
@@ -4378,12 +4416,12 @@ function jn({
|
|
|
4378
4416
|
chipLabel: a,
|
|
4379
4417
|
isAdded: s,
|
|
4380
4418
|
onEditClick: n,
|
|
4381
|
-
editButtonAriaLabel:
|
|
4419
|
+
editButtonAriaLabel: i = "Edit",
|
|
4382
4420
|
onExpandClick: d,
|
|
4383
4421
|
expandButtonAriaLabel: o = "Expand",
|
|
4384
|
-
imageUrl:
|
|
4422
|
+
imageUrl: l,
|
|
4385
4423
|
imageAlt: c,
|
|
4386
|
-
imageComponent:
|
|
4424
|
+
imageComponent: b,
|
|
4387
4425
|
ratingLabel: p,
|
|
4388
4426
|
bookedLabel: u,
|
|
4389
4427
|
title: m,
|
|
@@ -4391,7 +4429,7 @@ function jn({
|
|
|
4391
4429
|
// existing callers (and its use elsewhere, e.g. as a detail-sheet fallback)
|
|
4392
4430
|
// don't break; the card itself no longer shows it.
|
|
4393
4431
|
learnMoreLabel: h,
|
|
4394
|
-
onLearnMoreClick:
|
|
4432
|
+
onLearnMoreClick: g,
|
|
4395
4433
|
learnMoreHref: j,
|
|
4396
4434
|
dateLabel: C,
|
|
4397
4435
|
locationLabel: N,
|
|
@@ -4428,7 +4466,7 @@ function jn({
|
|
|
4428
4466
|
type: "button",
|
|
4429
4467
|
className: "flex size-8 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white p-0",
|
|
4430
4468
|
onClick: n,
|
|
4431
|
-
"aria-label":
|
|
4469
|
+
"aria-label": i,
|
|
4432
4470
|
children: /* @__PURE__ */ e.jsx(i2, { "aria-hidden": !0, className: "size-[18px] text-[#1D2125]" })
|
|
4433
4471
|
}
|
|
4434
4472
|
),
|
|
@@ -4453,7 +4491,7 @@ function jn({
|
|
|
4453
4491
|
)
|
|
4454
4492
|
] })
|
|
4455
4493
|
] }),
|
|
4456
|
-
B &&
|
|
4494
|
+
B && l != null && /* @__PURE__ */ e.jsx("div", { className: "-mx-3 aspect-[2/1] self-stretch overflow-hidden ", children: b ? /* @__PURE__ */ e.jsx(b, { src: l, alt: c ?? "", className: "size-full object-cover" }) : /* @__PURE__ */ e.jsx("img", { src: l, alt: c, className: "size-full object-cover" }) }),
|
|
4457
4495
|
ee && /* @__PURE__ */ e.jsxs(
|
|
4458
4496
|
"div",
|
|
4459
4497
|
{
|
|
@@ -4466,14 +4504,14 @@ function jn({
|
|
|
4466
4504
|
]
|
|
4467
4505
|
}
|
|
4468
4506
|
),
|
|
4469
|
-
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full flex-col items-start gap-3 ${B &&
|
|
4507
|
+
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full flex-col items-start gap-3 ${B && l != null ? "mt-1" : ""}`, children: [
|
|
4470
4508
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col items-start gap-1", children: /* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children: m }) }),
|
|
4471
4509
|
B && h != null && /* @__PURE__ */ e.jsxs(
|
|
4472
4510
|
"a",
|
|
4473
4511
|
{
|
|
4474
4512
|
href: j,
|
|
4475
4513
|
className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",
|
|
4476
|
-
onClick:
|
|
4514
|
+
onClick: g,
|
|
4477
4515
|
children: [
|
|
4478
4516
|
h,
|
|
4479
4517
|
/* @__PURE__ */ e.jsx(N2, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
|
|
@@ -4572,16 +4610,16 @@ function rr({
|
|
|
4572
4610
|
onClose: a,
|
|
4573
4611
|
locale: s = "en",
|
|
4574
4612
|
ancestors: n,
|
|
4575
|
-
kartaNames:
|
|
4613
|
+
kartaNames: i,
|
|
4576
4614
|
gotra: d,
|
|
4577
4615
|
whatsappNumber: o,
|
|
4578
|
-
amount:
|
|
4616
|
+
amount: l,
|
|
4579
4617
|
onEditDetailsClick: c,
|
|
4580
|
-
onProceedPayment:
|
|
4618
|
+
onProceedPayment: b,
|
|
4581
4619
|
className: p,
|
|
4582
4620
|
isGlobal: u = !1
|
|
4583
4621
|
}) {
|
|
4584
|
-
const m = sr(s), h = m.payButtonTemplate.replace("{amount}",
|
|
4622
|
+
const m = sr(s), h = m.payButtonTemplate.replace("{amount}", l);
|
|
4585
4623
|
return /* @__PURE__ */ e.jsx(
|
|
4586
4624
|
Me,
|
|
4587
4625
|
{
|
|
@@ -4612,7 +4650,7 @@ function rr({
|
|
|
4612
4650
|
variant: "primary",
|
|
4613
4651
|
size: "lg",
|
|
4614
4652
|
className: "h-12 flex-1 rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
4615
|
-
onClick:
|
|
4653
|
+
onClick: b,
|
|
4616
4654
|
children: h
|
|
4617
4655
|
}
|
|
4618
4656
|
)
|
|
@@ -4620,22 +4658,22 @@ function rr({
|
|
|
4620
4658
|
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: [
|
|
4621
4659
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
4622
4660
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: m.ancestorsLabel }),
|
|
4623
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((
|
|
4624
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
4625
|
-
|
|
4661
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((g) => /* @__PURE__ */ e.jsxs(Dt, { children: [
|
|
4662
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: g.value }),
|
|
4663
|
+
g.label && /* @__PURE__ */ e.jsxs("span", { className: "text-[10px] leading-3.5 font-medium text-[#6b7280]", children: [
|
|
4626
4664
|
"(",
|
|
4627
|
-
|
|
4665
|
+
g.label,
|
|
4628
4666
|
")"
|
|
4629
4667
|
] })
|
|
4630
|
-
] },
|
|
4668
|
+
] }, g.id)) })
|
|
4631
4669
|
] }),
|
|
4632
4670
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
4633
4671
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
4634
4672
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: m.performerLabel }),
|
|
4635
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children:
|
|
4673
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.filter((g) => g.trim().length > 0).map((g, j) => /* @__PURE__ */ e.jsx(Dt, { children: /* @__PURE__ */ e.jsxs("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: [
|
|
4636
4674
|
j + 1,
|
|
4637
4675
|
". ",
|
|
4638
|
-
|
|
4676
|
+
g
|
|
4639
4677
|
] }) }, j)) })
|
|
4640
4678
|
] }),
|
|
4641
4679
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
@@ -4680,7 +4718,7 @@ const Gt = {
|
|
|
4680
4718
|
}
|
|
4681
4719
|
}, xa = (t) => Gt[t] ?? Gt.en;
|
|
4682
4720
|
function nr({ isOpen: t, onClose: a, locale: s = "en", className: n }) {
|
|
4683
|
-
const
|
|
4721
|
+
const i = xa(s);
|
|
4684
4722
|
return /* @__PURE__ */ e.jsx(
|
|
4685
4723
|
Me,
|
|
4686
4724
|
{
|
|
@@ -4688,18 +4726,18 @@ function nr({ isOpen: t, onClose: a, locale: s = "en", className: n }) {
|
|
|
4688
4726
|
onClose: a,
|
|
4689
4727
|
showCloseButton: !1,
|
|
4690
4728
|
showDragHandle: !1,
|
|
4691
|
-
ariaLabel:
|
|
4729
|
+
ariaLabel: i.heading,
|
|
4692
4730
|
className: x("rounded-t-[20px]", n),
|
|
4693
4731
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-3 px-4 pt-5 pb-3", children: [
|
|
4694
|
-
/* @__PURE__ */ e.jsx("p", { className: "flex-1 text-[18px] leading-6 font-bold text-[#22272b]", children:
|
|
4732
|
+
/* @__PURE__ */ e.jsx("p", { className: "flex-1 text-[18px] leading-6 font-bold text-[#22272b]", children: i.heading }),
|
|
4695
4733
|
/* @__PURE__ */ e.jsx(
|
|
4696
4734
|
"button",
|
|
4697
4735
|
{
|
|
4698
4736
|
type: "button",
|
|
4699
4737
|
onClick: a,
|
|
4700
|
-
"aria-label":
|
|
4738
|
+
"aria-label": i.closeButtonAriaLabel,
|
|
4701
4739
|
className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#22272b]",
|
|
4702
|
-
children: /* @__PURE__ */ e.jsx(
|
|
4740
|
+
children: /* @__PURE__ */ e.jsx(b2, { size: 24, "aria-hidden": !0 })
|
|
4703
4741
|
}
|
|
4704
4742
|
)
|
|
4705
4743
|
] }),
|
|
@@ -4710,10 +4748,10 @@ function nr({ isOpen: t, onClose: a, locale: s = "en", className: n }) {
|
|
|
4710
4748
|
size: "xl",
|
|
4711
4749
|
className: "w-full rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
4712
4750
|
onClick: a,
|
|
4713
|
-
children:
|
|
4751
|
+
children: i.okayLabel
|
|
4714
4752
|
}
|
|
4715
4753
|
) }),
|
|
4716
|
-
children: /* @__PURE__ */ e.jsx("p", { className: "w-full px-4 pb-3 text-[14px] leading-5.5 font-normal text-[#6b7280]", children:
|
|
4754
|
+
children: /* @__PURE__ */ e.jsx("p", { className: "w-full px-4 pb-3 text-[14px] leading-5.5 font-normal text-[#6b7280]", children: i.body })
|
|
4717
4755
|
}
|
|
4718
4756
|
);
|
|
4719
4757
|
}
|
|
@@ -4862,17 +4900,17 @@ function yn({
|
|
|
4862
4900
|
values: a,
|
|
4863
4901
|
onValuesChange: s,
|
|
4864
4902
|
isGlobal: n = !1,
|
|
4865
|
-
gotraOptions:
|
|
4903
|
+
gotraOptions: i = [],
|
|
4866
4904
|
isSarvaPitru: d = !1,
|
|
4867
4905
|
onBackClick: o,
|
|
4868
|
-
amount:
|
|
4906
|
+
amount: l,
|
|
4869
4907
|
ritualsCountLabel: c,
|
|
4870
|
-
onPriceInfoClick:
|
|
4908
|
+
onPriceInfoClick: b,
|
|
4871
4909
|
showPriceInfoIcon: p = !0,
|
|
4872
4910
|
canProceed: u,
|
|
4873
4911
|
copy: m,
|
|
4874
4912
|
proceedCtaLabel: h,
|
|
4875
|
-
proceedButtonProps:
|
|
4913
|
+
proceedButtonProps: g,
|
|
4876
4914
|
onProceedPayment: j,
|
|
4877
4915
|
className: C
|
|
4878
4916
|
}) {
|
|
@@ -4897,7 +4935,7 @@ function yn({
|
|
|
4897
4935
|
};
|
|
4898
4936
|
return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
|
|
4899
4937
|
}, [q]);
|
|
4900
|
-
const Z =
|
|
4938
|
+
const Z = i.filter(
|
|
4901
4939
|
(w) => w.toLowerCase().includes(a.gotra.trim().toLowerCase())
|
|
4902
4940
|
), Y = (w) => {
|
|
4903
4941
|
B({ gotra: w, isGotraUnknown: w.trim() === _.kashyapGotraLabel });
|
|
@@ -4906,7 +4944,7 @@ function yn({
|
|
|
4906
4944
|
}, re = () => {
|
|
4907
4945
|
const w = !a.isGotraUnknown;
|
|
4908
4946
|
B({ isGotraUnknown: w, gotra: w ? _.kashyapGotraLabel : "" });
|
|
4909
|
-
}, ne = Kt(We), le = qt(a.whatsappNumber, We).isValid, ie = cr.test(a.email), _e = a.whatsappNumber.length > 0 && !le, Le = a.email.length > 0 && !ie, Fe = (n ? ie : a.whatsappNumber.trim().length > 0 && le) && a.kartaNames[0].trim().length > 0 && a.gotra.trim().length > 0 && a.ancestors.every((w) => w.value.trim().length > 0), Be = u ?? Fe,
|
|
4947
|
+
}, ne = Kt(We), le = qt(a.whatsappNumber, We).isValid, ie = cr.test(a.email), _e = a.whatsappNumber.length > 0 && !le, Le = a.email.length > 0 && !ie, Fe = (n ? ie : a.whatsappNumber.trim().length > 0 && le) && a.kartaNames[0].trim().length > 0 && a.gotra.trim().length > 0 && a.ancestors.every((w) => w.value.trim().length > 0), Be = u ?? Fe, ge = a.gotra.trim().length > 0 ? a.gotra : _.kashyapGotraLabel, be = n ? a.email : a.whatsappNumber;
|
|
4910
4948
|
return /* @__PURE__ */ e.jsxs("div", { className: x("flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]", C), children: [
|
|
4911
4949
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3 border-b border-[#f3f4f6] bg-white px-4 py-3 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.08)] ", children: [
|
|
4912
4950
|
/* @__PURE__ */ e.jsx(
|
|
@@ -5082,14 +5120,14 @@ function yn({
|
|
|
5082
5120
|
/* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0 w-full", children: /* @__PURE__ */ e.jsx(
|
|
5083
5121
|
Qe,
|
|
5084
5122
|
{
|
|
5085
|
-
amount:
|
|
5123
|
+
amount: l,
|
|
5086
5124
|
subtitle: c,
|
|
5087
|
-
onInfoClick:
|
|
5125
|
+
onInfoClick: b,
|
|
5088
5126
|
showInfoIcon: p,
|
|
5089
5127
|
proceedLabel: h ?? _.proceedCtaLabel,
|
|
5090
5128
|
onProceed: () => y(!0),
|
|
5091
5129
|
growProceedButton: !0,
|
|
5092
|
-
proceedButtonProps: { disabled: !Be, ...
|
|
5130
|
+
proceedButtonProps: { disabled: !Be, ...g }
|
|
5093
5131
|
}
|
|
5094
5132
|
) }),
|
|
5095
5133
|
/* @__PURE__ */ e.jsx(
|
|
@@ -5102,9 +5140,9 @@ function yn({
|
|
|
5102
5140
|
locale: t,
|
|
5103
5141
|
ancestors: d ? [{ id: "sarva-pitru", label: "", value: _.sarvaPitruFieldValue }, ...a.ancestors] : a.ancestors,
|
|
5104
5142
|
kartaNames: a.kartaNames,
|
|
5105
|
-
gotra:
|
|
5106
|
-
whatsappNumber:
|
|
5107
|
-
amount:
|
|
5143
|
+
gotra: ge,
|
|
5144
|
+
whatsappNumber: be,
|
|
5145
|
+
amount: l,
|
|
5108
5146
|
onProceedPayment: () => {
|
|
5109
5147
|
y(!1), j();
|
|
5110
5148
|
}
|
|
@@ -5175,8 +5213,8 @@ function pr({ badgeLabel: t, dateLabel: a, className: s }) {
|
|
|
5175
5213
|
a && /* @__PURE__ */ e.jsx(dr, { date: a })
|
|
5176
5214
|
] });
|
|
5177
5215
|
}
|
|
5178
|
-
const Vt = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", xr = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", fr = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", mr = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", hr = "https://srm-cdn.a4b.io/yoda/1788256935709.svg",
|
|
5179
|
-
function
|
|
5216
|
+
const Vt = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", xr = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", fr = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", mr = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", hr = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", gr = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
|
|
5217
|
+
function br({ variant: t }) {
|
|
5180
5218
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
5181
5219
|
t === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
5182
5220
|
/* @__PURE__ */ e.jsx("img", { src: Vt, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
|
|
@@ -5190,7 +5228,7 @@ function gr({ variant: t }) {
|
|
|
5190
5228
|
t === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
|
|
5191
5229
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: mr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
5192
5230
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src: hr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
5193
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
5231
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src: gr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
5194
5232
|
] })
|
|
5195
5233
|
] });
|
|
5196
5234
|
}
|
|
@@ -5199,7 +5237,7 @@ function Cn({
|
|
|
5199
5237
|
headingPrefix: a,
|
|
5200
5238
|
ritualCount: s,
|
|
5201
5239
|
ritualCountLabel: n,
|
|
5202
|
-
headingSuffix:
|
|
5240
|
+
headingSuffix: i,
|
|
5203
5241
|
trustItems: d
|
|
5204
5242
|
}) {
|
|
5205
5243
|
return /* @__PURE__ */ e.jsxs("section", { className: "relative flex w-full flex-col items-center gap-3 rounded-b-4xl border-b-2 border-[#FCCF9A] bg-linear-to-b from-white to-[#FFEFDB] px-5 py-4 z-20", children: [
|
|
@@ -5216,14 +5254,14 @@ function Cn({
|
|
|
5216
5254
|
" ",
|
|
5217
5255
|
n,
|
|
5218
5256
|
" ",
|
|
5219
|
-
|
|
5257
|
+
i
|
|
5220
5258
|
] }),
|
|
5221
5259
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children: d.map((o) => /* @__PURE__ */ e.jsxs(
|
|
5222
5260
|
"div",
|
|
5223
5261
|
{
|
|
5224
5262
|
className: "flex w-25 flex-col items-center gap-1 py-2",
|
|
5225
5263
|
children: [
|
|
5226
|
-
/* @__PURE__ */ e.jsx(
|
|
5264
|
+
/* @__PURE__ */ e.jsx(br, { variant: o.variant }),
|
|
5227
5265
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: o.text })
|
|
5228
5266
|
]
|
|
5229
5267
|
},
|
|
@@ -5237,19 +5275,19 @@ function Nn({
|
|
|
5237
5275
|
onClose: a,
|
|
5238
5276
|
onSave: s,
|
|
5239
5277
|
title: n,
|
|
5240
|
-
fieldLabel:
|
|
5278
|
+
fieldLabel: i,
|
|
5241
5279
|
namePrefix: d,
|
|
5242
5280
|
namePlaceholder: o,
|
|
5243
|
-
addMoreLabel:
|
|
5281
|
+
addMoreLabel: l,
|
|
5244
5282
|
saveCta: c,
|
|
5245
|
-
maxNameLength:
|
|
5283
|
+
maxNameLength: b = jr
|
|
5246
5284
|
}) {
|
|
5247
5285
|
const [p, u] = F([""]), m = () => {
|
|
5248
5286
|
u([""]), a();
|
|
5249
5287
|
}, h = () => {
|
|
5250
5288
|
const j = p.map((C) => C.trim()).filter(Boolean);
|
|
5251
5289
|
j.length !== 0 && (s(j), m());
|
|
5252
|
-
},
|
|
5290
|
+
}, g = p.some((j) => j.trim().length > 0);
|
|
5253
5291
|
return /* @__PURE__ */ e.jsx(
|
|
5254
5292
|
fe,
|
|
5255
5293
|
{
|
|
@@ -5266,7 +5304,7 @@ function Nn({
|
|
|
5266
5304
|
size: "xl",
|
|
5267
5305
|
className: "w-full rounded-xl",
|
|
5268
5306
|
rightIcon: /* @__PURE__ */ e.jsx(he, { "aria-hidden": !0 }),
|
|
5269
|
-
disabled: !
|
|
5307
|
+
disabled: !g,
|
|
5270
5308
|
onClick: h,
|
|
5271
5309
|
children: c
|
|
5272
5310
|
}
|
|
@@ -5275,11 +5313,11 @@ function Nn({
|
|
|
5275
5313
|
p.map((j, C) => /* @__PURE__ */ e.jsx(
|
|
5276
5314
|
oe,
|
|
5277
5315
|
{
|
|
5278
|
-
label:
|
|
5316
|
+
label: i,
|
|
5279
5317
|
placeholder: o,
|
|
5280
5318
|
value: j,
|
|
5281
5319
|
prefix: d,
|
|
5282
|
-
maxLength:
|
|
5320
|
+
maxLength: b,
|
|
5283
5321
|
showCharCount: !0,
|
|
5284
5322
|
onChange: (N) => u((y) => y.map((S, M) => M === C ? N : S))
|
|
5285
5323
|
},
|
|
@@ -5293,7 +5331,7 @@ function Nn({
|
|
|
5293
5331
|
className: "self-start text-[#f75e22]",
|
|
5294
5332
|
leftIcon: /* @__PURE__ */ e.jsx(y2, { "aria-hidden": !0 }),
|
|
5295
5333
|
onClick: () => u((j) => [...j, ""]),
|
|
5296
|
-
children:
|
|
5334
|
+
children: l
|
|
5297
5335
|
}
|
|
5298
5336
|
)
|
|
5299
5337
|
] })
|
|
@@ -5389,7 +5427,7 @@ function Ln({
|
|
|
5389
5427
|
viewedIndex: a,
|
|
5390
5428
|
isEntryFilled: s,
|
|
5391
5429
|
isEntryReachable: n,
|
|
5392
|
-
onSelect:
|
|
5430
|
+
onSelect: i,
|
|
5393
5431
|
className: d
|
|
5394
5432
|
}) {
|
|
5395
5433
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -5399,8 +5437,8 @@ function Ln({
|
|
|
5399
5437
|
"flex w-full items-start overflow-x-auto scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",
|
|
5400
5438
|
d
|
|
5401
5439
|
),
|
|
5402
|
-
children: t.map((o,
|
|
5403
|
-
const c = s(o.key),
|
|
5440
|
+
children: t.map((o, l) => {
|
|
5441
|
+
const c = s(o.key), b = n(l), p = l === a ? "enabled" : c ? "filled" : "disabled";
|
|
5404
5442
|
return /* @__PURE__ */ e.jsxs($a, { children: [
|
|
5405
5443
|
/* @__PURE__ */ e.jsx(
|
|
5406
5444
|
yr,
|
|
@@ -5408,10 +5446,10 @@ function Ln({
|
|
|
5408
5446
|
label: o.label,
|
|
5409
5447
|
avatarUrl: _r(o.key),
|
|
5410
5448
|
state: p,
|
|
5411
|
-
onClick:
|
|
5449
|
+
onClick: b ? () => i(l) : void 0
|
|
5412
5450
|
}
|
|
5413
5451
|
),
|
|
5414
|
-
|
|
5452
|
+
l < t.length - 1 && /* @__PURE__ */ e.jsx(
|
|
5415
5453
|
"div",
|
|
5416
5454
|
{
|
|
5417
5455
|
className: `-mx-5 mt-4 h-0.5 w-10 shrink-0 ${c ? "bg-[#159169]" : "bg-[rgba(28,27,27,0.05)]"}`
|
|
@@ -5428,12 +5466,12 @@ function kn({
|
|
|
5428
5466
|
onClose: a,
|
|
5429
5467
|
avatarUrl: s,
|
|
5430
5468
|
heading: n,
|
|
5431
|
-
ctaLabel:
|
|
5469
|
+
ctaLabel: i,
|
|
5432
5470
|
onCtaClick: d,
|
|
5433
5471
|
cardIcon: o,
|
|
5434
|
-
cardTitle:
|
|
5472
|
+
cardTitle: l,
|
|
5435
5473
|
cardDescription: c,
|
|
5436
|
-
cardTag:
|
|
5474
|
+
cardTag: b,
|
|
5437
5475
|
cardTagClassName: p = "bg-[#1d79fc] text-white"
|
|
5438
5476
|
}) {
|
|
5439
5477
|
return t ? /* @__PURE__ */ e.jsx(
|
|
@@ -5456,11 +5494,11 @@ function kn({
|
|
|
5456
5494
|
{
|
|
5457
5495
|
selected: !0,
|
|
5458
5496
|
showRadio: !1,
|
|
5459
|
-
tag:
|
|
5497
|
+
tag: b,
|
|
5460
5498
|
tagClassName: p,
|
|
5461
5499
|
icon: o,
|
|
5462
5500
|
iconClassName: "bg-white",
|
|
5463
|
-
title:
|
|
5501
|
+
title: l,
|
|
5464
5502
|
description: c
|
|
5465
5503
|
}
|
|
5466
5504
|
)
|
|
@@ -5472,7 +5510,7 @@ function kn({
|
|
|
5472
5510
|
size: "md",
|
|
5473
5511
|
className: "avatar-card-dialog__button",
|
|
5474
5512
|
onClick: d,
|
|
5475
|
-
children:
|
|
5513
|
+
children: i
|
|
5476
5514
|
}
|
|
5477
5515
|
)
|
|
5478
5516
|
] })
|
|
@@ -5529,12 +5567,12 @@ const Wt = {
|
|
|
5529
5567
|
title: a,
|
|
5530
5568
|
subtitle: s,
|
|
5531
5569
|
value: n,
|
|
5532
|
-
helperText:
|
|
5570
|
+
helperText: i,
|
|
5533
5571
|
icon: d,
|
|
5534
5572
|
className: o,
|
|
5535
|
-
headerClassName:
|
|
5573
|
+
headerClassName: l,
|
|
5536
5574
|
valueBoxClassName: c,
|
|
5537
|
-
helperTextClassName:
|
|
5575
|
+
helperTextClassName: b,
|
|
5538
5576
|
...p
|
|
5539
5577
|
}, u) => {
|
|
5540
5578
|
const m = Ar(t);
|
|
@@ -5545,7 +5583,7 @@ const Wt = {
|
|
|
5545
5583
|
className: x("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm", o),
|
|
5546
5584
|
...p,
|
|
5547
5585
|
children: [
|
|
5548
|
-
/* @__PURE__ */ e.jsxs("div", { className: x("flex items-center gap-3",
|
|
5586
|
+
/* @__PURE__ */ e.jsxs("div", { className: x("flex items-center gap-3", l), children: [
|
|
5549
5587
|
/* @__PURE__ */ e.jsx(we, { icon: d ?? /* @__PURE__ */ e.jsx(Sr, { size: 22, "aria-hidden": !0 }), size: "lg" }),
|
|
5550
5588
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
5551
5589
|
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: a ?? m.title }),
|
|
@@ -5562,7 +5600,7 @@ const Wt = {
|
|
|
5562
5600
|
children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ?? m.value })
|
|
5563
5601
|
}
|
|
5564
5602
|
),
|
|
5565
|
-
/* @__PURE__ */ e.jsx("p", { className: x("mt-3 text-sm leading-4.5 text-gray-500",
|
|
5603
|
+
/* @__PURE__ */ e.jsx("p", { className: x("mt-3 text-sm leading-4.5 text-gray-500", b), children: i ?? m.helperText })
|
|
5566
5604
|
]
|
|
5567
5605
|
}
|
|
5568
5606
|
);
|
|
@@ -5576,10 +5614,10 @@ function Tn(t) {
|
|
|
5576
5614
|
const a = t.data.cards, s = Pe(a, "store"), n = Pe(
|
|
5577
5615
|
a,
|
|
5578
5616
|
"user_reviews"
|
|
5579
|
-
),
|
|
5617
|
+
), i = Pe(a, "pooja_benefits"), d = Pe(
|
|
5580
5618
|
a,
|
|
5581
5619
|
"location_details"
|
|
5582
|
-
), o = s?.store,
|
|
5620
|
+
), o = s?.store, l = o?.location_details.temple_details, c = d?.location_details, b = n?.user_reviews.reviews ?? [], p = i?.pooja_benefits.benefits;
|
|
5583
5621
|
return {
|
|
5584
5622
|
detailImages: o?.info_media.filter((u) => u.type === "image").map((u) => u.media_url) ?? [],
|
|
5585
5623
|
title: o?.pooja_title || o?.name || "",
|
|
@@ -5588,12 +5626,12 @@ function Tn(t) {
|
|
|
5588
5626
|
pooja_specificity: o?.pooja_specificity ?? "",
|
|
5589
5627
|
dateLabel: o?.process_date ?? "",
|
|
5590
5628
|
locationLabel: o?.location ?? "",
|
|
5591
|
-
detailTempleSignificance:
|
|
5592
|
-
question:
|
|
5593
|
-
imageUrl:
|
|
5629
|
+
detailTempleSignificance: l?.name ? {
|
|
5630
|
+
question: l.name,
|
|
5631
|
+
imageUrl: l.image,
|
|
5594
5632
|
paragraphs: [
|
|
5595
|
-
|
|
5596
|
-
|
|
5633
|
+
l.description,
|
|
5634
|
+
l.location
|
|
5597
5635
|
].filter((u) => !!u)
|
|
5598
5636
|
} : c?.location_name ? {
|
|
5599
5637
|
question: c.header || c.location_name,
|
|
@@ -5607,7 +5645,7 @@ function Tn(t) {
|
|
|
5607
5645
|
title: u.title,
|
|
5608
5646
|
description: u.description
|
|
5609
5647
|
})),
|
|
5610
|
-
devoteesReviews:
|
|
5648
|
+
devoteesReviews: b.map((u) => ({
|
|
5611
5649
|
name: u.name,
|
|
5612
5650
|
date: u.date,
|
|
5613
5651
|
stars: u.rating,
|
|
@@ -5630,13 +5668,13 @@ function Rn({
|
|
|
5630
5668
|
dateRangeLabel: a,
|
|
5631
5669
|
headline: s,
|
|
5632
5670
|
mandalaWidth: n = 225,
|
|
5633
|
-
mandalaTop:
|
|
5671
|
+
mandalaTop: i = -149,
|
|
5634
5672
|
showMandala: d = !0,
|
|
5635
5673
|
mandalaLeft: o,
|
|
5636
|
-
mandalaRight:
|
|
5674
|
+
mandalaRight: l,
|
|
5637
5675
|
className: c
|
|
5638
5676
|
}) {
|
|
5639
|
-
const
|
|
5677
|
+
const b = o !== void 0 ? { left: Te(o) } : l !== void 0 ? { right: Te(l) } : { left: "50%", transform: "translateX(-50%)" };
|
|
5640
5678
|
return /* @__PURE__ */ e.jsxs(
|
|
5641
5679
|
"div",
|
|
5642
5680
|
{
|
|
@@ -5652,7 +5690,7 @@ function Rn({
|
|
|
5652
5690
|
alt: "",
|
|
5653
5691
|
"aria-hidden": !0,
|
|
5654
5692
|
className: "pointer-events-none absolute z-0 h-auto",
|
|
5655
|
-
style: { width: Te(n), top: Te(
|
|
5693
|
+
style: { width: Te(n), top: Te(i), ...b }
|
|
5656
5694
|
}
|
|
5657
5695
|
),
|
|
5658
5696
|
/* @__PURE__ */ e.jsxs("div", { className: "relative z-10 flex flex-col items-center gap-1", children: [
|
|
@@ -5683,16 +5721,16 @@ function On({
|
|
|
5683
5721
|
amountClassName: a,
|
|
5684
5722
|
subtitle: s,
|
|
5685
5723
|
subtitleClassName: n,
|
|
5686
|
-
showInfoIcon:
|
|
5724
|
+
showInfoIcon: i = !0,
|
|
5687
5725
|
onInfoClick: d,
|
|
5688
5726
|
proceedLabel: o = "Continue",
|
|
5689
|
-
proceedIcon:
|
|
5727
|
+
proceedIcon: l = /* @__PURE__ */ e.jsx(he, { "aria-hidden": !0 }),
|
|
5690
5728
|
onProceed: c,
|
|
5691
|
-
disabled:
|
|
5729
|
+
disabled: b,
|
|
5692
5730
|
proceedButtonProps: p,
|
|
5693
5731
|
className: u
|
|
5694
5732
|
}) {
|
|
5695
|
-
const m =
|
|
5733
|
+
const m = b ?? t == null;
|
|
5696
5734
|
return /* @__PURE__ */ e.jsxs(
|
|
5697
5735
|
"div",
|
|
5698
5736
|
{
|
|
@@ -5704,7 +5742,7 @@ function On({
|
|
|
5704
5742
|
t != null && /* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 flex-col items-start", children: [
|
|
5705
5743
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
5706
5744
|
/* @__PURE__ */ e.jsx("span", { className: x("text-lg leading-6 font-bold text-[#141414]", a), children: t }),
|
|
5707
|
-
|
|
5745
|
+
i && /* @__PURE__ */ e.jsx(
|
|
5708
5746
|
"button",
|
|
5709
5747
|
{
|
|
5710
5748
|
type: "button",
|
|
@@ -5735,7 +5773,7 @@ function On({
|
|
|
5735
5773
|
),
|
|
5736
5774
|
children: [
|
|
5737
5775
|
o,
|
|
5738
|
-
|
|
5776
|
+
l
|
|
5739
5777
|
]
|
|
5740
5778
|
}
|
|
5741
5779
|
)
|
|
@@ -5771,7 +5809,7 @@ export {
|
|
|
5771
5809
|
mn as DatePickerSheet,
|
|
5772
5810
|
dr as DatesCard,
|
|
5773
5811
|
Qr as DevoteesReviews,
|
|
5774
|
-
|
|
5812
|
+
bn as EmailSheet,
|
|
5775
5813
|
Rn as EventHeader,
|
|
5776
5814
|
tn as FAQAccordion,
|
|
5777
5815
|
ts as FAQSection,
|
|
@@ -5796,7 +5834,7 @@ export {
|
|
|
5796
5834
|
Et as PACKAGE_SELECT_DEFAULT_COPY,
|
|
5797
5835
|
Ut as PUJA_DETAILS_FORM_DEFAULT_COPY,
|
|
5798
5836
|
pn as PackageSelect,
|
|
5799
|
-
|
|
5837
|
+
gn as PhoneNumberSheet,
|
|
5800
5838
|
Gr as PlusIcon,
|
|
5801
5839
|
Kr as ProcessInvolved,
|
|
5802
5840
|
Yr as PujaBenefitsSection,
|