kundli-generator 2.0.8 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/kundli-generator.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import jt, { createContext as Nt, useContext as Ve, useState as K, useRef as q, useEffect as G, useMemo as Fe, useCallback as
|
|
1
|
+
import jt, { createContext as Nt, useContext as Ve, useState as K, useRef as q, useEffect as G, useMemo as Fe, useCallback as Te } from "react";
|
|
2
2
|
import * as Ye from "pdfjs-dist";
|
|
3
3
|
var Oe = { exports: {} }, Se = {};
|
|
4
4
|
var pt;
|
|
5
5
|
function rn() {
|
|
6
6
|
if (pt) return Se;
|
|
7
7
|
pt = 1;
|
|
8
|
-
var n = jt, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, i = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
9
|
-
function
|
|
10
|
-
var
|
|
8
|
+
var n = jt, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, i = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
|
+
function f(u, c, b) {
|
|
10
|
+
var p, _ = {}, x = null, T = null;
|
|
11
11
|
b !== void 0 && (x = "" + b), c.key !== void 0 && (x = "" + c.key), c.ref !== void 0 && (T = c.ref);
|
|
12
|
-
for (
|
|
13
|
-
if (u && u.defaultProps) for (
|
|
12
|
+
for (p in c) d.call(c, p) && !h.hasOwnProperty(p) && (_[p] = c[p]);
|
|
13
|
+
if (u && u.defaultProps) for (p in c = u.defaultProps, c) _[p] === void 0 && (_[p] = c[p]);
|
|
14
14
|
return { $$typeof: r, type: u, key: x, ref: T, props: _, _owner: i.current };
|
|
15
15
|
}
|
|
16
|
-
return Se.Fragment = l, Se.jsx =
|
|
16
|
+
return Se.Fragment = l, Se.jsx = f, Se.jsxs = f, Se;
|
|
17
17
|
}
|
|
18
18
|
var Ce = {};
|
|
19
19
|
var ht;
|
|
20
20
|
function on() {
|
|
21
21
|
return ht || (ht = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
-
var n = jt, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), i = /* @__PURE__ */ Symbol.for("react.strict_mode"),
|
|
22
|
+
var n = jt, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), i = /* @__PURE__ */ Symbol.for("react.strict_mode"), h = /* @__PURE__ */ Symbol.for("react.profiler"), f = /* @__PURE__ */ Symbol.for("react.provider"), u = /* @__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"), _ = /* @__PURE__ */ Symbol.for("react.memo"), x = /* @__PURE__ */ Symbol.for("react.lazy"), T = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator, v = "@@iterator";
|
|
23
23
|
function w(t) {
|
|
24
24
|
if (t === null || typeof t != "object")
|
|
25
25
|
return null;
|
|
@@ -47,7 +47,7 @@ function on() {
|
|
|
47
47
|
var M = !1, S = !1, z = !1, $ = !1, Y = !1, O;
|
|
48
48
|
O = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
49
|
function H(t) {
|
|
50
|
-
return !!(typeof t == "string" || typeof t == "function" || t === d || t ===
|
|
50
|
+
return !!(typeof t == "string" || typeof t == "function" || t === d || t === h || Y || t === i || t === b || t === p || $ || t === T || M || S || z || typeof t == "object" && t !== null && (t.$$typeof === x || t.$$typeof === _ || t.$$typeof === f || t.$$typeof === u || t.$$typeof === c || // This needs to include all possible module reference object
|
|
51
51
|
// types supported by any Flight configuration anywhere since
|
|
52
52
|
// we don't know which Flight build this will end up being used
|
|
53
53
|
// with.
|
|
@@ -75,13 +75,13 @@ function on() {
|
|
|
75
75
|
return "Fragment";
|
|
76
76
|
case l:
|
|
77
77
|
return "Portal";
|
|
78
|
-
case
|
|
78
|
+
case h:
|
|
79
79
|
return "Profiler";
|
|
80
80
|
case i:
|
|
81
81
|
return "StrictMode";
|
|
82
82
|
case b:
|
|
83
83
|
return "Suspense";
|
|
84
|
-
case
|
|
84
|
+
case p:
|
|
85
85
|
return "SuspenseList";
|
|
86
86
|
}
|
|
87
87
|
if (typeof t == "object")
|
|
@@ -89,7 +89,7 @@ function on() {
|
|
|
89
89
|
case u:
|
|
90
90
|
var o = t;
|
|
91
91
|
return B(o) + ".Consumer";
|
|
92
|
-
case
|
|
92
|
+
case f:
|
|
93
93
|
var m = t;
|
|
94
94
|
return B(m._context) + ".Provider";
|
|
95
95
|
case c:
|
|
@@ -277,7 +277,7 @@ function on() {
|
|
|
277
277
|
switch (t) {
|
|
278
278
|
case b:
|
|
279
279
|
return me("Suspense");
|
|
280
|
-
case
|
|
280
|
+
case p:
|
|
281
281
|
return me("SuspenseList");
|
|
282
282
|
}
|
|
283
283
|
if (typeof t == "object")
|
|
@@ -746,7 +746,7 @@ const cn = "_container_nm3gb_1", ln = "_main_nm3gb_6", dn = "_langDropdownWrap_n
|
|
|
746
746
|
faqA2: "Yes, we provide report in Hindi and English languages",
|
|
747
747
|
faqA3: "Accurate birth time helps to create more accurate report. However we are still able to prepare 80% accurate report if you don't know your exact time of birth",
|
|
748
748
|
contactTitle: "Contact Us",
|
|
749
|
-
contactBrandName: "
|
|
749
|
+
contactBrandName: "Sri Mandir",
|
|
750
750
|
contactWhatsAppGlobal: "Whatsapp: 8296947757",
|
|
751
751
|
contactWhatsAppDomestic: "Whatsapp: 08071174417",
|
|
752
752
|
contactEmail: "Email: pujaseva@appsforbharat.com",
|
|
@@ -906,7 +906,7 @@ const cn = "_container_nm3gb_1", ln = "_main_nm3gb_6", dn = "_langDropdownWrap_n
|
|
|
906
906
|
faqA2: "हाँ, हम रिपोर्ट हिंदी और अंग्रेज़ी भाषाओं में प्रदान करते हैं।",
|
|
907
907
|
faqA3: "सही जन्म समय से रिपोर्ट और अधिक सटीक बनती है। फिर भी, बिना सटीक समय के हम लगभग 80% सटीक रिपोर्ट तैयार कर सकते हैं।",
|
|
908
908
|
contactTitle: "संपर्क करें",
|
|
909
|
-
contactBrandName: "
|
|
909
|
+
contactBrandName: "श्री मंदिर",
|
|
910
910
|
contactWhatsAppGlobal: "व्हाट्सएप: 8296947757",
|
|
911
911
|
contactWhatsAppDomestic: "व्हाट्सएप: 08071174417",
|
|
912
912
|
contactEmail: "ईमेल: pujaseva@appsforbharat.com",
|
|
@@ -1022,12 +1022,12 @@ const Je = Nt(null), Sn = {
|
|
|
1022
1022
|
userId: l,
|
|
1023
1023
|
isGlobal: d,
|
|
1024
1024
|
logoUrl: i,
|
|
1025
|
-
reportImageUrl:
|
|
1026
|
-
universityLogoUrls:
|
|
1025
|
+
reportImageUrl: h,
|
|
1026
|
+
universityLogoUrls: f,
|
|
1027
1027
|
sampleReportHref: u,
|
|
1028
1028
|
onViewSampleReport: c,
|
|
1029
1029
|
ctaHref: b,
|
|
1030
|
-
onCtaClick:
|
|
1030
|
+
onCtaClick: p,
|
|
1031
1031
|
onBack: _,
|
|
1032
1032
|
readMoreReviewsHref: x,
|
|
1033
1033
|
onProceed: T,
|
|
@@ -1059,12 +1059,12 @@ const Je = Nt(null), Sn = {
|
|
|
1059
1059
|
userId: l,
|
|
1060
1060
|
isGlobal: d,
|
|
1061
1061
|
logoUrl: i,
|
|
1062
|
-
reportImageUrl:
|
|
1063
|
-
universityLogoUrls:
|
|
1062
|
+
reportImageUrl: h,
|
|
1063
|
+
universityLogoUrls: f,
|
|
1064
1064
|
sampleReportHref: u,
|
|
1065
1065
|
onViewSampleReport: c,
|
|
1066
1066
|
ctaHref: b,
|
|
1067
|
-
onCtaClick:
|
|
1067
|
+
onCtaClick: p,
|
|
1068
1068
|
onBack: _,
|
|
1069
1069
|
readMoreReviewsHref: x,
|
|
1070
1070
|
onProceed: T,
|
|
@@ -1081,12 +1081,12 @@ const Je = Nt(null), Sn = {
|
|
|
1081
1081
|
l,
|
|
1082
1082
|
d,
|
|
1083
1083
|
i,
|
|
1084
|
-
p,
|
|
1085
1084
|
h,
|
|
1085
|
+
f,
|
|
1086
1086
|
u,
|
|
1087
1087
|
c,
|
|
1088
1088
|
b,
|
|
1089
|
-
|
|
1089
|
+
p,
|
|
1090
1090
|
_,
|
|
1091
1091
|
x,
|
|
1092
1092
|
T,
|
|
@@ -1097,9 +1097,9 @@ const Je = Nt(null), Sn = {
|
|
|
1097
1097
|
k,
|
|
1098
1098
|
A
|
|
1099
1099
|
]
|
|
1100
|
-
), U =
|
|
1100
|
+
), U = Te(() => {
|
|
1101
1101
|
z("form");
|
|
1102
|
-
}, [B.analytics]), V =
|
|
1102
|
+
}, [B.analytics]), V = Te(() => {
|
|
1103
1103
|
z("landing"), B.onBack?.();
|
|
1104
1104
|
}, [B.onBack]), ee = Fe(
|
|
1105
1105
|
() => ({
|
|
@@ -1117,7 +1117,7 @@ const Je = Nt(null), Sn = {
|
|
|
1117
1117
|
);
|
|
1118
1118
|
return /* @__PURE__ */ e.jsx(Je.Provider, { value: ee, children: M });
|
|
1119
1119
|
};
|
|
1120
|
-
function
|
|
1120
|
+
function ye() {
|
|
1121
1121
|
return Ve(Je);
|
|
1122
1122
|
}
|
|
1123
1123
|
function Et() {
|
|
@@ -1126,7 +1126,7 @@ function Et() {
|
|
|
1126
1126
|
throw new Error("useKundliContextOrThrow must be used within KundliProvider");
|
|
1127
1127
|
return n;
|
|
1128
1128
|
}
|
|
1129
|
-
const In = "_header_1414z_1", Rn = "_left_1414z_7", Ln = "_backBtn_1414z_11", Dn = "_titleWrap_1414z_21", $n = "_title_1414z_21", On = "_subtitle_1414z_32", Bn = "_backIcon_1414z_38",
|
|
1129
|
+
const In = "_header_1414z_1", Rn = "_left_1414z_7", Ln = "_backBtn_1414z_11", Dn = "_titleWrap_1414z_21", $n = "_title_1414z_21", On = "_subtitle_1414z_32", Bn = "_backIcon_1414z_38", ke = {
|
|
1130
1130
|
header: In,
|
|
1131
1131
|
left: Rn,
|
|
1132
1132
|
backBtn: Ln,
|
|
@@ -1137,7 +1137,7 @@ const In = "_header_1414z_1", Rn = "_left_1414z_7", Ln = "_backBtn_1414z_11", Dn
|
|
|
1137
1137
|
}, Fn = () => /* @__PURE__ */ e.jsx(
|
|
1138
1138
|
"svg",
|
|
1139
1139
|
{
|
|
1140
|
-
className:
|
|
1140
|
+
className: ke.backIcon,
|
|
1141
1141
|
viewBox: "0 0 24 24",
|
|
1142
1142
|
fill: "none",
|
|
1143
1143
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1157,20 +1157,20 @@ const In = "_header_1414z_1", Rn = "_left_1414z_7", Ln = "_backBtn_1414z_11", Dn
|
|
|
1157
1157
|
t: n,
|
|
1158
1158
|
onBack: r,
|
|
1159
1159
|
className: l = ""
|
|
1160
|
-
}) => /* @__PURE__ */ e.jsx("header", { className: `${
|
|
1160
|
+
}) => /* @__PURE__ */ e.jsx("header", { className: `${ke.header} ${l}`, children: /* @__PURE__ */ e.jsxs("div", { className: ke.left, children: [
|
|
1161
1161
|
/* @__PURE__ */ e.jsx(
|
|
1162
1162
|
"button",
|
|
1163
1163
|
{
|
|
1164
1164
|
type: "button",
|
|
1165
|
-
className:
|
|
1165
|
+
className: ke.backBtn,
|
|
1166
1166
|
onClick: r,
|
|
1167
1167
|
"aria-label": n("back"),
|
|
1168
1168
|
children: /* @__PURE__ */ e.jsx(Fn, {})
|
|
1169
1169
|
}
|
|
1170
1170
|
),
|
|
1171
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1172
|
-
/* @__PURE__ */ e.jsx("h1", { className:
|
|
1173
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1171
|
+
/* @__PURE__ */ e.jsxs("div", { className: ke.titleWrap, children: [
|
|
1172
|
+
/* @__PURE__ */ e.jsx("h1", { className: ke.title, children: n("formTitle") }),
|
|
1173
|
+
/* @__PURE__ */ e.jsx("p", { className: ke.subtitle, children: n("formSubtitle") })
|
|
1174
1174
|
] })
|
|
1175
1175
|
] }) }), Un = "_wrap_1wp0p_1", Wn = "_card_1wp0p_5", qn = "_cardInner_1wp0p_12", Kn = "_field_1wp0p_16", Gn = "_labelRow_1wp0p_20", Hn = "_label_1wp0p_20", Yn = "_req_1wp0p_29", Vn = "_help_1wp0p_33", zn = "_infoBtn_1wp0p_40", Qn = "_infoImg_1wp0p_57", Jn = "_infoWrap_1wp0p_63", Xn = "_tooltip_1wp0p_69", Zn = "_tooltipArrow_1wp0p_85", ea = "_inputWrap_1wp0p_96", ta = "_suggestions_1wp0p_100", na = "_suggestionItem_1wp0p_113", aa = "_suggestionMain_1wp0p_131", ra = "_suggestionSecondary_1wp0p_137", oa = "_suggestionsHint_1wp0p_142", ia = "_timePopover_1wp0p_157", sa = "_timePickerRow_1wp0p_173", ca = "_timePickerSelect_1wp0p_179", la = "_timePickerColon_1wp0p_195", da = "_meridiemToggle_1wp0p_203", ua = "_meridiemBtn_1wp0p_212", ma = "_meridiemActive_1wp0p_227", pa = "_timePopoverActions_1wp0p_232", ha = "_timePopoverBtn_1wp0p_238", fa = "_timePopoverOk_1wp0p_257", ga = "_input_1wp0p_96", _a = "_iconBtn_1wp0p_301", ba = "_iconBtnInteractive_1wp0p_307", va = "_iconImg_1wp0p_326", ka = "_checkboxRow_1wp0p_332", ya = "_checkbox_1wp0p_332", xa = "_checkboxText_1wp0p_370", s = {
|
|
1176
1176
|
wrap: Un,
|
|
@@ -1222,8 +1222,8 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1222
1222
|
);
|
|
1223
1223
|
return;
|
|
1224
1224
|
}
|
|
1225
|
-
const
|
|
1226
|
-
|
|
1225
|
+
const h = document.createElement("script"), f = new URL("https://maps.googleapis.com/maps/api/js");
|
|
1226
|
+
f.searchParams.set("key", n), f.searchParams.set("libraries", "places"), f.searchParams.set("loading", "async"), r && f.searchParams.set("language", r), h.src = f.toString(), h.async = !0, h.defer = !0, h.setAttribute("data-google-maps-places", "true"), h.onload = () => {
|
|
1227
1227
|
const u = Date.now(), c = () => {
|
|
1228
1228
|
if (window.google?.maps?.places) {
|
|
1229
1229
|
l();
|
|
@@ -1240,23 +1240,23 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1240
1240
|
window.setTimeout(c, 50);
|
|
1241
1241
|
};
|
|
1242
1242
|
c();
|
|
1243
|
-
},
|
|
1243
|
+
}, h.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(h);
|
|
1244
1244
|
}), Be), ja = (n) => {
|
|
1245
|
-
const { apiKey: r, language: l = "en", restrictCountry: d } = n, [i,
|
|
1245
|
+
const { apiKey: r, language: l = "en", restrictCountry: d } = n, [i, h] = K(!1), [f, u] = K([]), [c, b] = K(!1), [p, _] = K(null), x = q(null), T = q(null), j = q(null);
|
|
1246
1246
|
G(() => {
|
|
1247
1247
|
if (!r) {
|
|
1248
|
-
|
|
1248
|
+
h(!1), _(null);
|
|
1249
1249
|
return;
|
|
1250
1250
|
}
|
|
1251
1251
|
wa(r, l).then(() => {
|
|
1252
1252
|
x.current = new google.maps.places.AutocompleteService();
|
|
1253
1253
|
const k = document.createElement("div");
|
|
1254
|
-
T.current = new google.maps.places.PlacesService(k), j.current = new google.maps.places.AutocompleteSessionToken(),
|
|
1254
|
+
T.current = new google.maps.places.PlacesService(k), j.current = new google.maps.places.AutocompleteSessionToken(), h(!0), _(null);
|
|
1255
1255
|
}).catch((k) => {
|
|
1256
|
-
|
|
1256
|
+
h(!1), _(k?.message || "Failed to load location service");
|
|
1257
1257
|
});
|
|
1258
1258
|
}, [r, l]);
|
|
1259
|
-
const v =
|
|
1259
|
+
const v = Te(
|
|
1260
1260
|
async (k) => {
|
|
1261
1261
|
if (!k || k.length < 2 || !x.current) {
|
|
1262
1262
|
u([]);
|
|
@@ -1295,7 +1295,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1295
1295
|
}
|
|
1296
1296
|
},
|
|
1297
1297
|
[d]
|
|
1298
|
-
), w =
|
|
1298
|
+
), w = Te(
|
|
1299
1299
|
async (k) => {
|
|
1300
1300
|
if (!T.current) return null;
|
|
1301
1301
|
try {
|
|
@@ -1331,12 +1331,12 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1331
1331
|
}
|
|
1332
1332
|
},
|
|
1333
1333
|
[]
|
|
1334
|
-
), I =
|
|
1334
|
+
), I = Te(() => u([]), []);
|
|
1335
1335
|
return {
|
|
1336
1336
|
isLoaded: i,
|
|
1337
|
-
predictions:
|
|
1337
|
+
predictions: f,
|
|
1338
1338
|
isSearching: c,
|
|
1339
|
-
loadError:
|
|
1339
|
+
loadError: p,
|
|
1340
1340
|
searchPlaces: v,
|
|
1341
1341
|
getPlaceDetails: w,
|
|
1342
1342
|
clearPredictions: I
|
|
@@ -1352,9 +1352,9 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1352
1352
|
onChange: l,
|
|
1353
1353
|
analytics: d,
|
|
1354
1354
|
googleMapsApiKey: i,
|
|
1355
|
-
className:
|
|
1355
|
+
className: h = ""
|
|
1356
1356
|
}) => {
|
|
1357
|
-
const
|
|
1357
|
+
const f = ye(), u = f?.config?.analytics ?? d, c = f?.config.isGlobal ?? !0, b = q({}), p = (a) => l({ ...r, ...a }), _ = (a, g) => {
|
|
1358
1358
|
g.trim() && !b.current[a] && (b.current[a] = !0, {
|
|
1359
1359
|
fullName: () => u?.trackNameSectionFilled?.(),
|
|
1360
1360
|
phone: () => u?.trackPhoneSectionFilled?.(),
|
|
@@ -1439,7 +1439,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1439
1439
|
}, []), /* @__PURE__ */ e.jsx(
|
|
1440
1440
|
"section",
|
|
1441
1441
|
{
|
|
1442
|
-
className: `${s.wrap} ${
|
|
1442
|
+
className: `${s.wrap} ${h}`,
|
|
1443
1443
|
"aria-label": n("formTitle"),
|
|
1444
1444
|
children: /* @__PURE__ */ e.jsx("div", { className: s.card, children: /* @__PURE__ */ e.jsxs("div", { className: s.cardInner, children: [
|
|
1445
1445
|
/* @__PURE__ */ e.jsxs("div", { className: s.field, children: [
|
|
@@ -1457,7 +1457,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1457
1457
|
onFocus: () => u?.trackNameSectionClicked?.(),
|
|
1458
1458
|
onChange: (a) => {
|
|
1459
1459
|
const g = a.target.value;
|
|
1460
|
-
|
|
1460
|
+
p({ fullName: g }), _("fullName", g);
|
|
1461
1461
|
},
|
|
1462
1462
|
placeholder: n("formFullNamePlaceholder"),
|
|
1463
1463
|
autoComplete: "name"
|
|
@@ -1479,7 +1479,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1479
1479
|
onFocus: () => u?.trackPhoneSectionClicked?.(),
|
|
1480
1480
|
onChange: (a) => {
|
|
1481
1481
|
const g = a.target.value;
|
|
1482
|
-
|
|
1482
|
+
p({ phone: x(g) }), _("phone", x(g));
|
|
1483
1483
|
},
|
|
1484
1484
|
placeholder: n("formPhonePlaceholder"),
|
|
1485
1485
|
autoComplete: "tel",
|
|
@@ -1504,7 +1504,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1504
1504
|
className: s.input,
|
|
1505
1505
|
type: "email",
|
|
1506
1506
|
value: r.email,
|
|
1507
|
-
onChange: (a) =>
|
|
1507
|
+
onChange: (a) => p({ email: a.target.value }),
|
|
1508
1508
|
placeholder: n("formEmailPlaceholder"),
|
|
1509
1509
|
autoComplete: "email",
|
|
1510
1510
|
required: !0,
|
|
@@ -1561,7 +1561,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1561
1561
|
})(),
|
|
1562
1562
|
onChange: (a) => {
|
|
1563
1563
|
const g = a.target.value, D = /* @__PURE__ */ new Date(), te = `${D.getFullYear()}-${S(D.getMonth() + 1)}-${S(D.getDate())}`;
|
|
1564
|
-
g && g > te || (
|
|
1564
|
+
g && g > te || (p({ dateOfBirth: g }), _("dateOfBirth", g), j.current = null);
|
|
1565
1565
|
},
|
|
1566
1566
|
onFocus: () => u?.trackDobClicked?.(),
|
|
1567
1567
|
onClick: () => be(T),
|
|
@@ -1639,7 +1639,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1639
1639
|
onFocus: () => u?.trackTimeClicked?.(),
|
|
1640
1640
|
onChange: (a) => {
|
|
1641
1641
|
const g = a.target.value;
|
|
1642
|
-
|
|
1642
|
+
p({ birthTime: g }), _("birthTime", g);
|
|
1643
1643
|
},
|
|
1644
1644
|
disabled: r.birthTimeUnknown,
|
|
1645
1645
|
placeholder: "HH:MM AM",
|
|
@@ -1742,7 +1742,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1742
1742
|
className: `${s.timePopoverBtn} ${s.timePopoverOk}`,
|
|
1743
1743
|
onClick: () => {
|
|
1744
1744
|
const a = Y(A);
|
|
1745
|
-
|
|
1745
|
+
p({ birthTime: a }), _("birthTime", a), k(!1);
|
|
1746
1746
|
},
|
|
1747
1747
|
"aria-label": "OK",
|
|
1748
1748
|
children: /* @__PURE__ */ e.jsx(
|
|
@@ -1782,7 +1782,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1782
1782
|
type: "checkbox",
|
|
1783
1783
|
checked: r.birthTimeUnknown,
|
|
1784
1784
|
onChange: (a) => {
|
|
1785
|
-
u?.trackTimeCheckboxClicked?.(),
|
|
1785
|
+
u?.trackTimeCheckboxClicked?.(), p({
|
|
1786
1786
|
birthTimeUnknown: a.target.checked,
|
|
1787
1787
|
birthTime: a.target.checked ? "" : r.birthTime
|
|
1788
1788
|
});
|
|
@@ -1847,7 +1847,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1847
1847
|
value: r.birthPlace,
|
|
1848
1848
|
onChange: (a) => {
|
|
1849
1849
|
const g = a.target.value;
|
|
1850
|
-
|
|
1850
|
+
p({ birthPlace: g }), _("birthPlace", g), X(!0);
|
|
1851
1851
|
},
|
|
1852
1852
|
onFocus: () => {
|
|
1853
1853
|
u?.trackPlaceOfBirthClicked?.(), X(!0);
|
|
@@ -1871,7 +1871,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1871
1871
|
type: "button",
|
|
1872
1872
|
className: s.suggestionItem,
|
|
1873
1873
|
onClick: () => {
|
|
1874
|
-
|
|
1874
|
+
p({ birthPlace: a.description }), oe(), X(!1);
|
|
1875
1875
|
},
|
|
1876
1876
|
children: [
|
|
1877
1877
|
/* @__PURE__ */ e.jsx("span", { className: s.suggestionMain, children: a.structured_formatting?.main_text ?? a.description }),
|
|
@@ -1913,14 +1913,14 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1913
1913
|
disabled: l = !1,
|
|
1914
1914
|
onClick: d,
|
|
1915
1915
|
className: i = "",
|
|
1916
|
-
"aria-label":
|
|
1916
|
+
"aria-label": h
|
|
1917
1917
|
}) => {
|
|
1918
|
-
const
|
|
1918
|
+
const f = `${L.ctaButton} ${i}`.trim(), u = h != null ? { "aria-label": h } : {};
|
|
1919
1919
|
return r != null ? /* @__PURE__ */ e.jsx(
|
|
1920
1920
|
"a",
|
|
1921
1921
|
{
|
|
1922
1922
|
href: r,
|
|
1923
|
-
className:
|
|
1923
|
+
className: f,
|
|
1924
1924
|
target: "_blank",
|
|
1925
1925
|
rel: "noopener noreferrer",
|
|
1926
1926
|
"aria-disabled": l,
|
|
@@ -1932,7 +1932,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1932
1932
|
"button",
|
|
1933
1933
|
{
|
|
1934
1934
|
type: "button",
|
|
1935
|
-
className:
|
|
1935
|
+
className: f,
|
|
1936
1936
|
disabled: l,
|
|
1937
1937
|
onClick: d,
|
|
1938
1938
|
...u,
|
|
@@ -1945,18 +1945,18 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1945
1945
|
onProceed: l,
|
|
1946
1946
|
href: d,
|
|
1947
1947
|
analytics: i,
|
|
1948
|
-
className:
|
|
1949
|
-
originalPriceLabel:
|
|
1948
|
+
className: h = "",
|
|
1949
|
+
originalPriceLabel: f,
|
|
1950
1950
|
discountedPriceLabel: u,
|
|
1951
1951
|
discountPillLabel: c
|
|
1952
1952
|
}) => {
|
|
1953
|
-
const
|
|
1953
|
+
const p = ye()?.config.isGlobal ?? !0, _ = Fe(() => {
|
|
1954
1954
|
if (!r.fullName.trim()) return !1;
|
|
1955
|
-
if (
|
|
1955
|
+
if (p) {
|
|
1956
1956
|
if (!Fa(r.email.trim())) return !1;
|
|
1957
1957
|
} else if (!Ma((r.phone ?? "").trim())) return !1;
|
|
1958
1958
|
return !(!r.dateOfBirth || !r.birthPlace.trim() || !r.birthTimeUnknown && !r.birthTime);
|
|
1959
|
-
}, [
|
|
1959
|
+
}, [p, r]), x = p ? f ?? n("formOriginalPrice") : "₹999", T = p ? u ?? n("formDiscountedPrice") : "₹249", j = c ?? n("formDiscountPill"), v = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1960
1960
|
n("formProceed"),
|
|
1961
1961
|
/* @__PURE__ */ e.jsx("span", { className: L.ctaStruck, children: x }),
|
|
1962
1962
|
" ",
|
|
@@ -1979,7 +1979,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1979
1979
|
}
|
|
1980
1980
|
)
|
|
1981
1981
|
] });
|
|
1982
|
-
return /* @__PURE__ */ e.jsx(St, { className:
|
|
1982
|
+
return /* @__PURE__ */ e.jsx(St, { className: h, children: w });
|
|
1983
1983
|
}, Wa = "_header_dbx4y_1", qa = "_brand_dbx4y_7", Ka = "_logo_dbx4y_11", Ga = "_logoImg_dbx4y_15", Ha = "_logoPlaceholder_dbx4y_21", Ya = "_brandText_dbx4y_29", Va = "_brandName_dbx4y_33", za = "_rating_dbx4y_38", Qa = "_stars_dbx4y_44", Ja = "_langSlot_dbx4y_49", se = {
|
|
1984
1984
|
header: Wa,
|
|
1985
1985
|
brand: qa,
|
|
@@ -1997,7 +1997,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1997
1997
|
logoUrl: l = Xa,
|
|
1998
1998
|
className: d = ""
|
|
1999
1999
|
}) => {
|
|
2000
|
-
const
|
|
2000
|
+
const h = ye()?.config.isGlobal ?? !0, f = r && !h;
|
|
2001
2001
|
return /* @__PURE__ */ e.jsxs("header", { className: `${se.header} ${d}`, children: [
|
|
2002
2002
|
/* @__PURE__ */ e.jsxs("div", { className: se.brand, children: [
|
|
2003
2003
|
/* @__PURE__ */ e.jsx("div", { className: se.logo, children: l ? /* @__PURE__ */ e.jsx("img", { src: l, alt: n("sriMandir"), className: se.logoImg }) : /* @__PURE__ */ e.jsx("div", { className: se.logoPlaceholder, "aria-hidden": !0 }) }),
|
|
@@ -2009,7 +2009,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2009
2009
|
] })
|
|
2010
2010
|
] })
|
|
2011
2011
|
] }),
|
|
2012
|
-
|
|
2012
|
+
f && /* @__PURE__ */ e.jsx("div", { className: se.langSlot, children: r })
|
|
2013
2013
|
] });
|
|
2014
2014
|
}, Za = "_hero_okj8x_1", er = "_title_okj8x_5", tr = "_subtitle_okj8x_10", nr = "_topicTags_okj8x_23", ar = "_tag_okj8x_27", Ie = {
|
|
2015
2015
|
hero: Za,
|
|
@@ -2076,7 +2076,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2076
2076
|
/* @__PURE__ */ e.jsx("span", { className: J.headlinePill, children: n("premiumHeadlinePill2") })
|
|
2077
2077
|
] })
|
|
2078
2078
|
] }),
|
|
2079
|
-
/* @__PURE__ */ e.jsx("ul", { className: J.featureList, children: vr.map((
|
|
2079
|
+
/* @__PURE__ */ e.jsx("ul", { className: J.featureList, children: vr.map((h) => /* @__PURE__ */ e.jsxs("li", { className: J.featureItem, children: [
|
|
2080
2080
|
/* @__PURE__ */ e.jsx(
|
|
2081
2081
|
"img",
|
|
2082
2082
|
{
|
|
@@ -2088,8 +2088,8 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2088
2088
|
"aria-hidden": !0
|
|
2089
2089
|
}
|
|
2090
2090
|
),
|
|
2091
|
-
n(
|
|
2092
|
-
] },
|
|
2091
|
+
n(h)
|
|
2092
|
+
] }, h)) })
|
|
2093
2093
|
] }),
|
|
2094
2094
|
/* @__PURE__ */ e.jsx("div", { className: J.reportImage, children: /* @__PURE__ */ e.jsx("img", { src: r, alt: "", className: J.reportImg }) })
|
|
2095
2095
|
] })
|
|
@@ -2131,10 +2131,10 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2131
2131
|
/* @__PURE__ */ e.jsx("p", { className: ae.heading, children: n("yourThreeSteps") }),
|
|
2132
2132
|
/* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: ae.subtitle, children: n("threeStepsSubtitle") }),
|
|
2133
2133
|
/* @__PURE__ */ e.jsxs("ol", { className: ae.stepList, children: [
|
|
2134
|
-
Dr.map((
|
|
2135
|
-
/* @__PURE__ */ e.jsx("span", { className: ae.stepNumber, "aria-hidden": !0, children:
|
|
2136
|
-
/* @__PURE__ */ e.jsx("span", { className: ae.stepText, children: n(
|
|
2137
|
-
] },
|
|
2134
|
+
Dr.map((h, f) => /* @__PURE__ */ e.jsxs("li", { className: ae.stepItem, children: [
|
|
2135
|
+
/* @__PURE__ */ e.jsx("span", { className: ae.stepNumber, "aria-hidden": !0, children: f + 1 }),
|
|
2136
|
+
/* @__PURE__ */ e.jsx("span", { className: ae.stepText, children: n(h) })
|
|
2137
|
+
] }, h)),
|
|
2138
2138
|
/* @__PURE__ */ e.jsxs("li", { className: ae.stepItem, children: [
|
|
2139
2139
|
/* @__PURE__ */ e.jsx("span", { className: ae.stepNumber, "aria-hidden": !0, children: "3" }),
|
|
2140
2140
|
/* @__PURE__ */ e.jsxs("span", { className: ae.stepText, children: [
|
|
@@ -2172,18 +2172,18 @@ const zr = ({
|
|
|
2172
2172
|
title: l,
|
|
2173
2173
|
pdfUrl: d
|
|
2174
2174
|
}) => {
|
|
2175
|
-
const i = q(null), [
|
|
2175
|
+
const i = q(null), [h, f] = K(!0), [u, c] = K(null);
|
|
2176
2176
|
return G(() => {
|
|
2177
2177
|
if (!n) return;
|
|
2178
|
-
const b = (
|
|
2179
|
-
|
|
2178
|
+
const b = (p) => {
|
|
2179
|
+
p.key === "Escape" && r();
|
|
2180
2180
|
};
|
|
2181
2181
|
return document.addEventListener("keydown", b), document.body.style.overflow = "hidden", () => {
|
|
2182
2182
|
document.removeEventListener("keydown", b), document.body.style.overflow = "";
|
|
2183
2183
|
};
|
|
2184
2184
|
}, [n, r]), G(() => {
|
|
2185
2185
|
if (!n || !d || !i.current) return;
|
|
2186
|
-
|
|
2186
|
+
f(!0), c(null), i.current.innerHTML = "", (async () => {
|
|
2187
2187
|
try {
|
|
2188
2188
|
const _ = await Ye.getDocument({ url: d }).promise, x = i.current;
|
|
2189
2189
|
if (!x) return;
|
|
@@ -2194,10 +2194,10 @@ const zr = ({
|
|
|
2194
2194
|
const A = k.getContext("2d");
|
|
2195
2195
|
A && await w.render({ canvasContext: A, viewport: I }).promise, x.appendChild(k);
|
|
2196
2196
|
}
|
|
2197
|
-
} catch (
|
|
2198
|
-
c(
|
|
2197
|
+
} catch (p) {
|
|
2198
|
+
c(p instanceof Error ? p.message : "Failed to load PDF");
|
|
2199
2199
|
} finally {
|
|
2200
|
-
|
|
2200
|
+
f(!1);
|
|
2201
2201
|
}
|
|
2202
2202
|
})();
|
|
2203
2203
|
}, [n, d]), n ? /* @__PURE__ */ e.jsx(
|
|
@@ -2258,18 +2258,18 @@ const zr = ({
|
|
|
2258
2258
|
analytics: d,
|
|
2259
2259
|
className: i = ""
|
|
2260
2260
|
}) => {
|
|
2261
|
-
const [
|
|
2262
|
-
d?.trackViewSampleReportClicked?.(), l?.(),
|
|
2263
|
-
},
|
|
2264
|
-
d?.trackViewSampleReportClosed?.(),
|
|
2261
|
+
const [h, f] = K(!1), u = n("viewSampleReport"), c = n("sampleReportModalTitle"), b = () => {
|
|
2262
|
+
d?.trackViewSampleReportClicked?.(), l?.(), f(!0);
|
|
2263
|
+
}, p = () => {
|
|
2264
|
+
d?.trackViewSampleReportClosed?.(), f(!1);
|
|
2265
2265
|
};
|
|
2266
2266
|
return /* @__PURE__ */ e.jsxs("section", { className: `${gt.section} ${i}`, children: [
|
|
2267
2267
|
/* @__PURE__ */ e.jsx("button", { type: "button", className: gt.button, onClick: b, children: u }),
|
|
2268
2268
|
/* @__PURE__ */ e.jsx(
|
|
2269
2269
|
zr,
|
|
2270
2270
|
{
|
|
2271
|
-
isOpen:
|
|
2272
|
-
onClose:
|
|
2271
|
+
isOpen: h,
|
|
2272
|
+
onClose: p,
|
|
2273
2273
|
title: c,
|
|
2274
2274
|
pdfUrl: r
|
|
2275
2275
|
}
|
|
@@ -2354,8 +2354,8 @@ const zr = ({
|
|
|
2354
2354
|
}, _t = 3, Fo = (n) => {
|
|
2355
2355
|
const l = /* @__PURE__ */ new Map();
|
|
2356
2356
|
for (let c = 1; c <= 15; c += 1) {
|
|
2357
|
-
const b = `feedbackTestimonial${c}`,
|
|
2358
|
-
if (!
|
|
2357
|
+
const b = `feedbackTestimonial${c}`, p = n(b);
|
|
2358
|
+
if (!p || p === b) continue;
|
|
2359
2359
|
const _ = `feedbackAuthor${c}`, x = (() => {
|
|
2360
2360
|
const v = n(_);
|
|
2361
2361
|
return v && v !== _ ? v : n("guest");
|
|
@@ -2364,7 +2364,7 @@ const zr = ({
|
|
|
2364
2364
|
return v && v !== T ? v : void 0;
|
|
2365
2365
|
})();
|
|
2366
2366
|
l.set(c, {
|
|
2367
|
-
quote:
|
|
2367
|
+
quote: p,
|
|
2368
2368
|
authorName: x,
|
|
2369
2369
|
authorAvatarUrl: j,
|
|
2370
2370
|
rating: 5
|
|
@@ -2373,19 +2373,19 @@ const zr = ({
|
|
|
2373
2373
|
const d = [], i = [];
|
|
2374
2374
|
for (let c = 1; c <= 15; c += 1)
|
|
2375
2375
|
c >= 9 ? i.push(c) : d.push(c);
|
|
2376
|
-
const
|
|
2377
|
-
let
|
|
2378
|
-
for (;
|
|
2376
|
+
const h = [];
|
|
2377
|
+
let f = 0, u = 0;
|
|
2378
|
+
for (; f < d.length || u < i.length; ) {
|
|
2379
2379
|
if (u < i.length) {
|
|
2380
2380
|
const c = i[u++], b = l.get(c);
|
|
2381
|
-
b &&
|
|
2381
|
+
b && h.push(b);
|
|
2382
2382
|
}
|
|
2383
|
-
if (
|
|
2384
|
-
const c = d[
|
|
2385
|
-
b &&
|
|
2383
|
+
if (f < d.length) {
|
|
2384
|
+
const c = d[f++], b = l.get(c);
|
|
2385
|
+
b && h.push(b);
|
|
2386
2386
|
}
|
|
2387
2387
|
}
|
|
2388
|
-
return
|
|
2388
|
+
return h;
|
|
2389
2389
|
}, Mo = ({
|
|
2390
2390
|
t: n,
|
|
2391
2391
|
testimonials: r,
|
|
@@ -2393,7 +2393,7 @@ const zr = ({
|
|
|
2393
2393
|
onReadMore: d,
|
|
2394
2394
|
className: i = ""
|
|
2395
2395
|
}) => {
|
|
2396
|
-
const
|
|
2396
|
+
const h = r ?? Fe(() => Fo(n), [n]), [f, u] = K(!1), c = h.length > _t, b = c && !f ? h.slice(0, _t) : h;
|
|
2397
2397
|
return /* @__PURE__ */ e.jsxs(
|
|
2398
2398
|
"section",
|
|
2399
2399
|
{
|
|
@@ -2407,13 +2407,13 @@ const zr = ({
|
|
|
2407
2407
|
/* @__PURE__ */ e.jsx("span", { className: R.dot, "aria-hidden": !0 }),
|
|
2408
2408
|
/* @__PURE__ */ e.jsx("span", { className: R.trustText, children: n("feedbackTrust") })
|
|
2409
2409
|
] }),
|
|
2410
|
-
/* @__PURE__ */ e.jsx("ul", { className: R.cardList, children: b.map((
|
|
2411
|
-
/* @__PURE__ */ e.jsx("p", { className: R.quote, children:
|
|
2410
|
+
/* @__PURE__ */ e.jsx("ul", { className: R.cardList, children: b.map((p, _) => /* @__PURE__ */ e.jsxs("li", { className: R.card, children: [
|
|
2411
|
+
/* @__PURE__ */ e.jsx("p", { className: R.quote, children: p.quote }),
|
|
2412
2412
|
/* @__PURE__ */ e.jsxs("div", { className: R.author, children: [
|
|
2413
|
-
|
|
2413
|
+
p.authorAvatarUrl ? /* @__PURE__ */ e.jsx(
|
|
2414
2414
|
"img",
|
|
2415
2415
|
{
|
|
2416
|
-
src:
|
|
2416
|
+
src: p.authorAvatarUrl,
|
|
2417
2417
|
alt: "",
|
|
2418
2418
|
className: R.avatar,
|
|
2419
2419
|
width: 40,
|
|
@@ -2421,8 +2421,8 @@ const zr = ({
|
|
|
2421
2421
|
}
|
|
2422
2422
|
) : /* @__PURE__ */ e.jsx("div", { className: R.avatarPlaceholder, "aria-hidden": !0 }),
|
|
2423
2423
|
/* @__PURE__ */ e.jsxs("div", { className: R.authorInfo, children: [
|
|
2424
|
-
/* @__PURE__ */ e.jsx("span", { className: R.authorName, children:
|
|
2425
|
-
/* @__PURE__ */ e.jsx("span", { className: R.stars, "aria-hidden": !0, children: "★".repeat(
|
|
2424
|
+
/* @__PURE__ */ e.jsx("span", { className: R.authorName, children: p.authorName }),
|
|
2425
|
+
/* @__PURE__ */ e.jsx("span", { className: R.stars, "aria-hidden": !0, children: "★".repeat(p.rating ?? 5) })
|
|
2426
2426
|
] })
|
|
2427
2427
|
] })
|
|
2428
2428
|
] }, _)) }),
|
|
@@ -2431,10 +2431,10 @@ const zr = ({
|
|
|
2431
2431
|
{
|
|
2432
2432
|
type: "button",
|
|
2433
2433
|
className: R.toggleBtn,
|
|
2434
|
-
onClick: () => u((
|
|
2435
|
-
"aria-expanded":
|
|
2434
|
+
onClick: () => u((p) => !p),
|
|
2435
|
+
"aria-expanded": f,
|
|
2436
2436
|
children: [
|
|
2437
|
-
n(
|
|
2437
|
+
n(f ? "readLess" : "readMoreReviews"),
|
|
2438
2438
|
/* @__PURE__ */ e.jsx("span", { className: R.arrow, "aria-hidden": !0, children: "›" })
|
|
2439
2439
|
]
|
|
2440
2440
|
}
|
|
@@ -2485,7 +2485,7 @@ const zr = ({
|
|
|
2485
2485
|
t: n,
|
|
2486
2486
|
className: r = ""
|
|
2487
2487
|
}) => {
|
|
2488
|
-
const d =
|
|
2488
|
+
const d = ye()?.config.isGlobal ?? !0, [i, h] = K(1), f = (u) => u === "faqA1" ? d ? "faqA1Global" : "faqA1Domestic" : u;
|
|
2489
2489
|
return /* @__PURE__ */ e.jsxs(
|
|
2490
2490
|
"section",
|
|
2491
2491
|
{
|
|
@@ -2506,7 +2506,7 @@ const zr = ({
|
|
|
2506
2506
|
{
|
|
2507
2507
|
type: "button",
|
|
2508
2508
|
className: re.question,
|
|
2509
|
-
onClick: () =>
|
|
2509
|
+
onClick: () => h(b ? -1 : c),
|
|
2510
2510
|
"aria-expanded": b,
|
|
2511
2511
|
"aria-controls": `faq-answer-${c}`,
|
|
2512
2512
|
id: `faq-question-${c}`,
|
|
@@ -2548,7 +2548,7 @@ const zr = ({
|
|
|
2548
2548
|
"aria-labelledby": `faq-question-${c}`,
|
|
2549
2549
|
className: `${re.answerWrap} ${b ? re.answerOpen : ""}`,
|
|
2550
2550
|
hidden: !b,
|
|
2551
|
-
children: u.aKey && /* @__PURE__ */ e.jsx("p", { className: re.answer, children: n(
|
|
2551
|
+
children: u.aKey && /* @__PURE__ */ e.jsx("p", { className: re.answer, children: n(f(u.aKey)) })
|
|
2552
2552
|
}
|
|
2553
2553
|
)
|
|
2554
2554
|
]
|
|
@@ -2559,7 +2559,7 @@ const zr = ({
|
|
|
2559
2559
|
]
|
|
2560
2560
|
}
|
|
2561
2561
|
);
|
|
2562
|
-
}, ei = "_section_aphm8_1", ti = "_heading_aphm8_6", ni = "_content_aphm8_11", ai = "_line_aphm8_16", ri = "_brandName_aphm8_20",
|
|
2562
|
+
}, ei = "_section_aphm8_1", ti = "_heading_aphm8_6", ni = "_content_aphm8_11", ai = "_line_aphm8_16", ri = "_brandName_aphm8_20", Pe = {
|
|
2563
2563
|
section: ei,
|
|
2564
2564
|
heading: ti,
|
|
2565
2565
|
content: ni,
|
|
@@ -2571,16 +2571,15 @@ const zr = ({
|
|
|
2571
2571
|
whatsAppDomestic: l,
|
|
2572
2572
|
email: d,
|
|
2573
2573
|
brandName: i,
|
|
2574
|
-
className:
|
|
2574
|
+
className: h = ""
|
|
2575
2575
|
}) => {
|
|
2576
|
-
const
|
|
2577
|
-
return /* @__PURE__ */ e.jsxs("section", { className: `${
|
|
2578
|
-
/* @__PURE__ */ e.jsx("h2", { id: "contact-heading", className:
|
|
2579
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2580
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2581
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2582
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2583
|
-
/* @__PURE__ */ e.jsx("p", { className: ke.line, children: n("contactEmail").replace(kt, c) })
|
|
2576
|
+
const u = ye()?.config.isGlobal ?? !0, c = r ?? bt, b = l ?? vt, p = d ?? kt, _ = u ? n("contactWhatsAppGlobal").replace(bt, c) : n("contactWhatsAppDomestic").replace(vt, b);
|
|
2577
|
+
return /* @__PURE__ */ e.jsxs("section", { className: `${Pe.section} ${h}`, "aria-labelledby": "contact-heading", children: [
|
|
2578
|
+
/* @__PURE__ */ e.jsx("h2", { id: "contact-heading", className: Pe.heading, children: n("contactTitle") }),
|
|
2579
|
+
/* @__PURE__ */ e.jsxs("div", { className: Pe.content, children: [
|
|
2580
|
+
/* @__PURE__ */ e.jsx("p", { className: Pe.brandName, children: i ?? n("contactBrandName") }),
|
|
2581
|
+
/* @__PURE__ */ e.jsx("p", { className: Pe.line, children: _ }),
|
|
2582
|
+
/* @__PURE__ */ e.jsx("p", { className: Pe.line, children: n("contactEmail").replace(kt, p) })
|
|
2584
2583
|
] })
|
|
2585
2584
|
] });
|
|
2586
2585
|
}, yt = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", xt = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", wt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", ii = ({ t: n }) => /* @__PURE__ */ e.jsxs("div", { className: L.marqueeTrack, children: [
|
|
@@ -2618,9 +2617,9 @@ const zr = ({
|
|
|
2618
2617
|
ctaHref: l,
|
|
2619
2618
|
className: d = ""
|
|
2620
2619
|
}) => {
|
|
2621
|
-
const i =
|
|
2620
|
+
const i = ye(), h = i?.config.isGlobal ?? !0, f = h ? i?.config.originalPriceLabel ?? n("ctaButtonStruck") : "₹999", u = h ? i?.config.discountedPriceLabel ?? n("ctaButtonAfter") : "₹249", c = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2622
2621
|
n("ctaButtonBefore"),
|
|
2623
|
-
/* @__PURE__ */ e.jsx("span", { className: L.ctaStruck, children:
|
|
2622
|
+
/* @__PURE__ */ e.jsx("span", { className: L.ctaStruck, children: f }),
|
|
2624
2623
|
" ",
|
|
2625
2624
|
u
|
|
2626
2625
|
] });
|
|
@@ -2646,15 +2645,15 @@ const zr = ({
|
|
|
2646
2645
|
showLanguageSelector: l = !0,
|
|
2647
2646
|
onBack: d,
|
|
2648
2647
|
initialValues: i,
|
|
2649
|
-
onProceed:
|
|
2650
|
-
proceedHref:
|
|
2648
|
+
onProceed: h,
|
|
2649
|
+
proceedHref: f,
|
|
2651
2650
|
originalPriceLabel: u,
|
|
2652
2651
|
discountedPriceLabel: c,
|
|
2653
2652
|
discountPillLabel: b,
|
|
2654
|
-
googleMapsApiKey:
|
|
2653
|
+
googleMapsApiKey: p = li,
|
|
2655
2654
|
analytics: _
|
|
2656
2655
|
}) => {
|
|
2657
|
-
const x =
|
|
2656
|
+
const x = ye(), T = Tt(), j = x !== null, v = j ? x.locale : r, w = v ?? T?.locale ?? "en", [I, k] = K(w), A = j ? x.locale : I, M = j ? x.setLocale : k, [S, z] = K(!1), $ = q(null), Y = q(v), O = q(
|
|
2658
2657
|
T?.locale
|
|
2659
2658
|
);
|
|
2660
2659
|
G(() => {
|
|
@@ -2672,7 +2671,7 @@ const zr = ({
|
|
|
2672
2671
|
...ui,
|
|
2673
2672
|
...i,
|
|
2674
2673
|
phone: i?.phone ?? ""
|
|
2675
|
-
}), U = j ? x.formValues : X, V = j ? x.setFormValues : B, ee = j ? x.goToPage : d, ue = j ? x.onProceed :
|
|
2674
|
+
}), U = j ? x.formValues : X, V = j ? x.setFormValues : B, ee = j ? x.goToPage : d, ue = j ? x.onProceed : h, xe = j ? x.config.proceedHref : f, he = j ? x.config.originalPriceLabel : u, fe = j ? x.config.discountedPriceLabel : c, ge = j ? x.config.discountPillLabel : b, _e = j ? x.config.showLanguageSelector ?? !0 : l, oe = (j ? x?.config?.analytics : _) ?? _;
|
|
2676
2675
|
G(() => {
|
|
2677
2676
|
if (!S) return;
|
|
2678
2677
|
const a = (g) => {
|
|
@@ -2752,7 +2751,7 @@ const zr = ({
|
|
|
2752
2751
|
t: H,
|
|
2753
2752
|
values: U,
|
|
2754
2753
|
onChange: V,
|
|
2755
|
-
googleMapsApiKey:
|
|
2754
|
+
googleMapsApiKey: p
|
|
2756
2755
|
}
|
|
2757
2756
|
)
|
|
2758
2757
|
] }),
|
|
@@ -2778,9 +2777,9 @@ function de({
|
|
|
2778
2777
|
}) {
|
|
2779
2778
|
const d = q(null), i = q(!1);
|
|
2780
2779
|
return G(() => {
|
|
2781
|
-
const
|
|
2782
|
-
if (!
|
|
2783
|
-
const
|
|
2780
|
+
const h = d.current;
|
|
2781
|
+
if (!h) return;
|
|
2782
|
+
const f = new IntersectionObserver(
|
|
2784
2783
|
([u]) => {
|
|
2785
2784
|
!u?.isIntersecting || i.current || (i.current = !0, l(n));
|
|
2786
2785
|
},
|
|
@@ -2790,7 +2789,7 @@ function de({
|
|
|
2790
2789
|
rootMargin: `0px 0px -${fi}px 0px`
|
|
2791
2790
|
}
|
|
2792
2791
|
);
|
|
2793
|
-
return
|
|
2792
|
+
return f.observe(h), () => f.disconnect();
|
|
2794
2793
|
}, [n, l]), /* @__PURE__ */ e.jsx("div", { ref: d, children: r });
|
|
2795
2794
|
}
|
|
2796
2795
|
function gi({ className: n }) {
|
|
@@ -2802,8 +2801,8 @@ function _i({ className: n }) {
|
|
|
2802
2801
|
locale: l,
|
|
2803
2802
|
setLocale: d,
|
|
2804
2803
|
config: i,
|
|
2805
|
-
goToForm:
|
|
2806
|
-
} = Et(), [
|
|
2804
|
+
goToForm: h
|
|
2805
|
+
} = Et(), [f, u] = K(!1), c = q(null), b = q(i.locale), p = q(
|
|
2807
2806
|
r?.locale
|
|
2808
2807
|
);
|
|
2809
2808
|
G(() => {
|
|
@@ -2811,14 +2810,14 @@ function _i({ className: n }) {
|
|
|
2811
2810
|
}, [i.locale, d]), G(() => {
|
|
2812
2811
|
if (i.locale) return;
|
|
2813
2812
|
const w = r?.locale;
|
|
2814
|
-
w &&
|
|
2813
|
+
w && p.current !== w && d(w), p.current = w;
|
|
2815
2814
|
}, [r?.locale, i.locale, d]), G(() => {
|
|
2816
|
-
if (!
|
|
2815
|
+
if (!f) return;
|
|
2817
2816
|
const w = (I) => {
|
|
2818
2817
|
c.current && !c.current.contains(I.target) && u(!1);
|
|
2819
2818
|
};
|
|
2820
2819
|
return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
|
|
2821
|
-
}, [
|
|
2820
|
+
}, [f]);
|
|
2822
2821
|
const _ = (w) => hi(l, w), T = i.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: pe.langDropdownWrap, ref: c, children: [
|
|
2823
2822
|
/* @__PURE__ */ e.jsxs(
|
|
2824
2823
|
"button",
|
|
@@ -2828,7 +2827,7 @@ function _i({ className: n }) {
|
|
|
2828
2827
|
onClick: () => {
|
|
2829
2828
|
i.analytics?.trackLanguageClickedFe?.({ language: l }), u((w) => !w);
|
|
2830
2829
|
},
|
|
2831
|
-
"aria-expanded":
|
|
2830
|
+
"aria-expanded": f,
|
|
2832
2831
|
"aria-haspopup": "listbox",
|
|
2833
2832
|
id: "kundli-lang",
|
|
2834
2833
|
"aria-label": _("language"),
|
|
@@ -2848,7 +2847,7 @@ function _i({ className: n }) {
|
|
|
2848
2847
|
]
|
|
2849
2848
|
}
|
|
2850
2849
|
),
|
|
2851
|
-
|
|
2850
|
+
f && /* @__PURE__ */ e.jsx(
|
|
2852
2851
|
"ul",
|
|
2853
2852
|
{
|
|
2854
2853
|
className: pe.langMenu,
|
|
@@ -2873,8 +2872,8 @@ function _i({ className: n }) {
|
|
|
2873
2872
|
)
|
|
2874
2873
|
] }) : null, j = (w) => {
|
|
2875
2874
|
const I = w.currentTarget.innerText?.trim() ?? _("ctaButtonAfter");
|
|
2876
|
-
i.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: I }),
|
|
2877
|
-
}, v =
|
|
2875
|
+
i.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: I }), h(), i.onCtaClick?.();
|
|
2876
|
+
}, v = Te(
|
|
2878
2877
|
(w) => {
|
|
2879
2878
|
i.analytics?.trackDetailedKundliReportImpressionFe?.({
|
|
2880
2879
|
section: w,
|
|
@@ -3011,12 +3010,12 @@ const xi = ({
|
|
|
3011
3010
|
showLanguageSelector: l = !0,
|
|
3012
3011
|
userId: d,
|
|
3013
3012
|
isGlobal: i,
|
|
3014
|
-
logoUrl:
|
|
3015
|
-
reportImageUrl:
|
|
3013
|
+
logoUrl: h,
|
|
3014
|
+
reportImageUrl: f,
|
|
3016
3015
|
universityLogoUrls: u,
|
|
3017
3016
|
sampleReportHref: c,
|
|
3018
3017
|
onViewSampleReport: b,
|
|
3019
|
-
ctaHref:
|
|
3018
|
+
ctaHref: p,
|
|
3020
3019
|
onCtaClick: _,
|
|
3021
3020
|
readMoreReviewsHref: x,
|
|
3022
3021
|
onProceed: T,
|
|
@@ -3033,12 +3032,12 @@ const xi = ({
|
|
|
3033
3032
|
showLanguageSelector: l,
|
|
3034
3033
|
userId: d,
|
|
3035
3034
|
isGlobal: i,
|
|
3036
|
-
logoUrl:
|
|
3037
|
-
reportImageUrl:
|
|
3035
|
+
logoUrl: h,
|
|
3036
|
+
reportImageUrl: f,
|
|
3038
3037
|
universityLogoUrls: u,
|
|
3039
3038
|
sampleReportHref: c,
|
|
3040
3039
|
onViewSampleReport: b,
|
|
3041
|
-
ctaHref:
|
|
3040
|
+
ctaHref: p,
|
|
3042
3041
|
onCtaClick: _,
|
|
3043
3042
|
readMoreReviewsHref: x,
|
|
3044
3043
|
onProceed: T,
|
|
@@ -3097,7 +3096,7 @@ export {
|
|
|
3097
3096
|
Tn as setItem,
|
|
3098
3097
|
En as setStoredKundliLocale,
|
|
3099
3098
|
Tt as useI18n,
|
|
3100
|
-
|
|
3099
|
+
ye as useKundliContext,
|
|
3101
3100
|
Et as useKundliContextOrThrow
|
|
3102
3101
|
};
|
|
3103
3102
|
//# sourceMappingURL=kundli-generator.js.map
|