@srimandir/kundli-generator 5.30.15 → 5.30.17
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/{analytics-B_K8hMeg.js → analytics-BDueklE6.js} +79 -73
- package/dist/{analytics-B_K8hMeg.js.map → analytics-BDueklE6.js.map} +1 -1
- package/dist/analytics.d.ts +14 -0
- package/dist/components/ThreeSkuPlanBottomSheet/constants.d.ts +14 -8
- package/dist/{criticalCss-oJIi5QxU.js → criticalCss-AJzC8_GT.js} +356 -336
- package/dist/criticalCss-AJzC8_GT.js.map +1 -0
- package/dist/form-entry.js +1 -1
- package/dist/kundli-generator.js +2 -2
- package/dist/page-entry.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/criticalCss-oJIi5QxU.js.map +0 -1
|
@@ -7,11 +7,11 @@ function Kr() {
|
|
|
7
7
|
nr = 1;
|
|
8
8
|
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, k = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9
9
|
function w(T, P, L) {
|
|
10
|
-
var d, R = {},
|
|
11
|
-
L !== void 0 && (
|
|
10
|
+
var d, R = {}, p = null, E = null;
|
|
11
|
+
L !== void 0 && (p = "" + L), P.key !== void 0 && (p = "" + P.key), P.ref !== void 0 && (E = P.ref);
|
|
12
12
|
for (d in P) m.call(P, d) && !S.hasOwnProperty(d) && (R[d] = P[d]);
|
|
13
13
|
if (T && T.defaultProps) for (d in P = T.defaultProps, P) R[d] === void 0 && (R[d] = P[d]);
|
|
14
|
-
return { $$typeof: o, type: T, key:
|
|
14
|
+
return { $$typeof: o, type: T, key: p, ref: E, props: R, _owner: k.current };
|
|
15
15
|
}
|
|
16
16
|
return Se.Fragment = c, Se.jsx = w, Se.jsxs = w, Se;
|
|
17
17
|
}
|
|
@@ -19,11 +19,11 @@ var Ee = {};
|
|
|
19
19
|
var or;
|
|
20
20
|
function Hr() {
|
|
21
21
|
return or || (or = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
22
|
-
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), k = /* @__PURE__ */ Symbol.for("react.strict_mode"), S = /* @__PURE__ */ Symbol.for("react.profiler"), w = /* @__PURE__ */ Symbol.for("react.provider"), T = /* @__PURE__ */ Symbol.for("react.context"), P = /* @__PURE__ */ Symbol.for("react.forward_ref"), L = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), R = /* @__PURE__ */ Symbol.for("react.memo"),
|
|
22
|
+
var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), k = /* @__PURE__ */ Symbol.for("react.strict_mode"), S = /* @__PURE__ */ Symbol.for("react.profiler"), w = /* @__PURE__ */ Symbol.for("react.provider"), T = /* @__PURE__ */ Symbol.for("react.context"), P = /* @__PURE__ */ Symbol.for("react.forward_ref"), L = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), R = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), E = /* @__PURE__ */ Symbol.for("react.offscreen"), h = Symbol.iterator, I = "@@iterator";
|
|
23
23
|
function C(e) {
|
|
24
24
|
if (e === null || typeof e != "object")
|
|
25
25
|
return null;
|
|
26
|
-
var i =
|
|
26
|
+
var i = h && e[h] || e[I];
|
|
27
27
|
return typeof i == "function" ? i : null;
|
|
28
28
|
}
|
|
29
29
|
var b = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -47,7 +47,7 @@ function Hr() {
|
|
|
47
47
|
var v = !1, F = !1, K = !1, J = !1, Q = !1, G;
|
|
48
48
|
G = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
49
|
function q(e) {
|
|
50
|
-
return !!(typeof e == "string" || typeof e == "function" || e === m || e === S || Q || e === k || e === L || e === d || J || e === E || v || F || K || typeof e == "object" && e !== null && (e.$$typeof ===
|
|
50
|
+
return !!(typeof e == "string" || typeof e == "function" || e === m || e === S || Q || e === k || e === L || e === d || J || e === E || v || F || K || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === R || e.$$typeof === w || e.$$typeof === T || e.$$typeof === P || // 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.
|
|
@@ -97,7 +97,7 @@ function Hr() {
|
|
|
97
97
|
case R:
|
|
98
98
|
var u = e.displayName || null;
|
|
99
99
|
return u !== null ? u : B(e.type) || "Memo";
|
|
100
|
-
case
|
|
100
|
+
case p: {
|
|
101
101
|
var A = e, N = A._payload, y = A._init;
|
|
102
102
|
try {
|
|
103
103
|
return B(y(N));
|
|
@@ -108,14 +108,14 @@ function Hr() {
|
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
111
|
-
var j = Object.assign, O = 0, X,
|
|
111
|
+
var j = Object.assign, O = 0, X, he, me, V, ee, re, de;
|
|
112
112
|
function te() {
|
|
113
113
|
}
|
|
114
114
|
te.__reactDisabledLog = !0;
|
|
115
|
-
function
|
|
115
|
+
function pe() {
|
|
116
116
|
{
|
|
117
117
|
if (O === 0) {
|
|
118
|
-
X = console.log,
|
|
118
|
+
X = console.log, he = console.info, me = console.warn, V = console.error, ee = console.group, re = console.groupCollapsed, de = console.groupEnd;
|
|
119
119
|
var e = {
|
|
120
120
|
configurable: !0,
|
|
121
121
|
enumerable: !0,
|
|
@@ -148,7 +148,7 @@ function Hr() {
|
|
|
148
148
|
value: X
|
|
149
149
|
}),
|
|
150
150
|
info: j({}, e, {
|
|
151
|
-
value:
|
|
151
|
+
value: he
|
|
152
152
|
}),
|
|
153
153
|
warn: j({}, e, {
|
|
154
154
|
value: me
|
|
@@ -202,7 +202,7 @@ function Hr() {
|
|
|
202
202
|
var A = Error.prepareStackTrace;
|
|
203
203
|
Error.prepareStackTrace = void 0;
|
|
204
204
|
var N;
|
|
205
|
-
N = ge.current, ge.current = null,
|
|
205
|
+
N = ge.current, ge.current = null, pe();
|
|
206
206
|
try {
|
|
207
207
|
if (i) {
|
|
208
208
|
var y = function() {
|
|
@@ -286,7 +286,7 @@ function Hr() {
|
|
|
286
286
|
return xe(e.render);
|
|
287
287
|
case R:
|
|
288
288
|
return x(e.type, i, l);
|
|
289
|
-
case
|
|
289
|
+
case p: {
|
|
290
290
|
var u = e, A = u._payload, N = u._init;
|
|
291
291
|
try {
|
|
292
292
|
return x(N(A), i, l);
|
|
@@ -1046,15 +1046,15 @@ const mr = ["en", "hi"], lr = {
|
|
|
1046
1046
|
astrologyGuidance: "ज्योतिष से सलाह",
|
|
1047
1047
|
selectPackage: "पैकेज चुनें"
|
|
1048
1048
|
}
|
|
1049
|
-
},
|
|
1049
|
+
}, pr = ur(null), Dn = ({
|
|
1050
1050
|
locale: t,
|
|
1051
1051
|
children: o
|
|
1052
1052
|
}) => {
|
|
1053
1053
|
const m = { locale: t, t: (k) => fr[t]?.[k] ?? k };
|
|
1054
|
-
return /* @__PURE__ */ r.jsx(
|
|
1054
|
+
return /* @__PURE__ */ r.jsx(pr.Provider, { value: m, children: o });
|
|
1055
1055
|
};
|
|
1056
1056
|
function qr() {
|
|
1057
|
-
return We(
|
|
1057
|
+
return We(pr);
|
|
1058
1058
|
}
|
|
1059
1059
|
const Vr = "_container_1e1th_1", zr = "_main_1e1th_7", Jr = "_kundliHeaderNoBorder_1e1th_12", Qr = "_headerSeparator_1e1th_16", Xr = "_langDropdownWrap_1e1th_21", Zr = "_langTrigger_1e1th_25", et = "_langIcon_1e1th_37", rt = "_langLabel_1e1th_44", tt = "_langMenu_1e1th_49", at = "_langOption_1e1th_55", fe = {
|
|
1060
1060
|
container: Vr,
|
|
@@ -1111,13 +1111,13 @@ function On() {
|
|
|
1111
1111
|
return !1;
|
|
1112
1112
|
}
|
|
1113
1113
|
}
|
|
1114
|
-
const
|
|
1114
|
+
const hr = "kundli_language";
|
|
1115
1115
|
function it() {
|
|
1116
|
-
const t = nt(
|
|
1116
|
+
const t = nt(hr);
|
|
1117
1117
|
return t && mr.includes(t) ? t : null;
|
|
1118
1118
|
}
|
|
1119
1119
|
function lt(t) {
|
|
1120
|
-
ot(
|
|
1120
|
+
ot(hr, t);
|
|
1121
1121
|
}
|
|
1122
1122
|
const Ke = ur(null), st = {
|
|
1123
1123
|
fullName: "",
|
|
@@ -1144,9 +1144,9 @@ const Ke = ur(null), st = {
|
|
|
1144
1144
|
reportImagePriority: L,
|
|
1145
1145
|
backgroundImagePriority: d,
|
|
1146
1146
|
universityLogoUrls: R,
|
|
1147
|
-
sampleReportHref:
|
|
1147
|
+
sampleReportHref: p,
|
|
1148
1148
|
onViewSampleReport: E,
|
|
1149
|
-
ctaHref:
|
|
1149
|
+
ctaHref: h,
|
|
1150
1150
|
onCtaClick: I,
|
|
1151
1151
|
onBack: C,
|
|
1152
1152
|
readMoreReviewsHref: b,
|
|
@@ -1161,7 +1161,7 @@ const Ke = ur(null), st = {
|
|
|
1161
1161
|
imageComponent: q = Le,
|
|
1162
1162
|
children: ce
|
|
1163
1163
|
}) => {
|
|
1164
|
-
const [oe, B] = W("landing"), [j, O] = W(t ?? "en"), [X,
|
|
1164
|
+
const [oe, B] = W("landing"), [j, O] = W(t ?? "en"), [X, he] = W(st), me = H(!0);
|
|
1165
1165
|
Y(() => {
|
|
1166
1166
|
const te = it();
|
|
1167
1167
|
te && O(te);
|
|
@@ -1188,9 +1188,9 @@ const Ke = ur(null), st = {
|
|
|
1188
1188
|
reportImagePriority: L,
|
|
1189
1189
|
backgroundImagePriority: d,
|
|
1190
1190
|
universityLogoUrls: R,
|
|
1191
|
-
sampleReportHref:
|
|
1191
|
+
sampleReportHref: p,
|
|
1192
1192
|
onViewSampleReport: E,
|
|
1193
|
-
ctaHref:
|
|
1193
|
+
ctaHref: h,
|
|
1194
1194
|
onCtaClick: I,
|
|
1195
1195
|
onBack: C,
|
|
1196
1196
|
readMoreReviewsHref: b,
|
|
@@ -1217,9 +1217,9 @@ const Ke = ur(null), st = {
|
|
|
1217
1217
|
L,
|
|
1218
1218
|
d,
|
|
1219
1219
|
R,
|
|
1220
|
-
h,
|
|
1221
|
-
E,
|
|
1222
1220
|
p,
|
|
1221
|
+
E,
|
|
1222
|
+
h,
|
|
1223
1223
|
I,
|
|
1224
1224
|
C,
|
|
1225
1225
|
b,
|
|
@@ -1244,7 +1244,7 @@ const Ke = ur(null), st = {
|
|
|
1244
1244
|
setLocale: O,
|
|
1245
1245
|
config: V,
|
|
1246
1246
|
formValues: X,
|
|
1247
|
-
setFormValues:
|
|
1247
|
+
setFormValues: he,
|
|
1248
1248
|
goToForm: ee,
|
|
1249
1249
|
goToPage: re,
|
|
1250
1250
|
onProceed: V.onProceed,
|
|
@@ -1280,11 +1280,11 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
|
|
|
1280
1280
|
backAriaLabel: t("back"),
|
|
1281
1281
|
className: `${sr.header} ${m === "center" ? sr.centered : ""} ${c}`
|
|
1282
1282
|
}
|
|
1283
|
-
), mt = "_wrap_119w3_1", ft = "_card_119w3_5",
|
|
1283
|
+
), mt = "_wrap_119w3_1", ft = "_card_119w3_5", pt = "_cardInner_119w3_12", ht = "_field_119w3_44", gt = "_labelRow_119w3_48", _t = "_label_119w3_48", bt = "_req_119w3_57", yt = "_help_119w3_61", vt = "_choiceRow_119w3_68", kt = "_choiceBtn_119w3_74", wt = "_choiceBtnActive_119w3_99", xt = "_infoBtn_119w3_105", Pt = "_infoImg_119w3_122", At = "_infoWrap_119w3_128", Ct = "_tooltip_119w3_134", jt = "_tooltipArrow_119w3_150", Nt = "_inputWrap_119w3_161", Tt = "_isdWrap_119w3_165", Rt = "_phoneInputGroup_119w3_169", St = "_isdSelectWrap_119w3_178", Et = "_isdSelectTrigger_119w3_197", It = "_isdDropdown_119w3_214", Lt = "_isdSearchWrap_119w3_229", Bt = "_isdSearchInput_119w3_237", Dt = "_isdOption_119w3_255", Ft = "_isdOptionActive_119w3_275", Ot = "_isdCountryName_119w3_281", Mt = "_isdCountryCode_119w3_288", $t = "_isdNoResult_119w3_295", Ut = "_suggestions_119w3_302", Gt = "_suggestionItem_119w3_315", Wt = "_suggestionMain_119w3_333", Kt = "_suggestionSecondary_119w3_339", Ht = "_suggestionsHint_119w3_344", Yt = "_fieldError_119w3_359", qt = "_timePopover_119w3_366", Vt = "_timePickerRow_119w3_382", zt = "_timePickerSelect_119w3_388", Jt = "_timePickerColon_119w3_404", Qt = "_meridiemToggle_119w3_412", Xt = "_meridiemBtn_119w3_421", Zt = "_meridiemActive_119w3_436", ea = "_timePopoverActions_119w3_441", ra = "_timePopoverBtn_119w3_447", ta = "_timePopoverOk_119w3_466", aa = "_input_119w3_161", na = "_phoneInput_119w3_169", oa = "_iconBtn_119w3_519", ia = "_iconBtnInteractive_119w3_525", la = "_iconImg_119w3_544", sa = "_checkboxRow_119w3_550", ca = "_checkbox_119w3_550", da = "_checkboxText_119w3_588", a = {
|
|
1284
1284
|
wrap: mt,
|
|
1285
1285
|
card: ft,
|
|
1286
|
-
cardInner:
|
|
1287
|
-
field:
|
|
1286
|
+
cardInner: pt,
|
|
1287
|
+
field: ht,
|
|
1288
1288
|
labelRow: gt,
|
|
1289
1289
|
label: _t,
|
|
1290
1290
|
req: bt,
|
|
@@ -1347,15 +1347,15 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
|
|
|
1347
1347
|
P(null);
|
|
1348
1348
|
}, [o]);
|
|
1349
1349
|
const d = Ne(
|
|
1350
|
-
async (
|
|
1351
|
-
if (!
|
|
1350
|
+
async (p) => {
|
|
1351
|
+
if (!p || p.length < 2 || !o) {
|
|
1352
1352
|
k([]);
|
|
1353
1353
|
return;
|
|
1354
1354
|
}
|
|
1355
1355
|
const E = ++L.current;
|
|
1356
1356
|
w(!0), P(null);
|
|
1357
1357
|
try {
|
|
1358
|
-
const
|
|
1358
|
+
const h = ua({ restrictCountry: c }), I = await o(p, h);
|
|
1359
1359
|
if (E !== L.current) return;
|
|
1360
1360
|
const C = (I || []).filter(
|
|
1361
1361
|
(b) => !!b?.id && !!b?.description && cr(b?.lat) && cr(b?.lng)
|
|
@@ -1367,9 +1367,9 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
|
|
|
1367
1367
|
lng: b.lng
|
|
1368
1368
|
}));
|
|
1369
1369
|
k(C);
|
|
1370
|
-
} catch (
|
|
1370
|
+
} catch (h) {
|
|
1371
1371
|
if (E !== L.current) return;
|
|
1372
|
-
k([]), P(
|
|
1372
|
+
k([]), P(h?.message || "Failed to fetch locations");
|
|
1373
1373
|
} finally {
|
|
1374
1374
|
E === L.current && w(!1);
|
|
1375
1375
|
}
|
|
@@ -1460,7 +1460,7 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
|
|
|
1460
1460
|
{ code: "+977", country: "Nepal" }
|
|
1461
1461
|
];
|
|
1462
1462
|
gr.map((t) => t.code);
|
|
1463
|
-
const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r), fa = (t) => He(t).length === _r,
|
|
1463
|
+
const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r), fa = (t) => He(t).length === _r, pa = (t, o, c) => fa(t) ? c.phone ? { shouldTrack: !1 } : (c.phone = !0, { shouldTrack: !0, fullPhone: `${o}-${He(t)}` }) : (c.phone = !1, { shouldTrack: !1 }), ha = ({
|
|
1464
1464
|
t,
|
|
1465
1465
|
values: o,
|
|
1466
1466
|
onChange: c,
|
|
@@ -1471,9 +1471,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1471
1471
|
atlasSearchLocalities: T,
|
|
1472
1472
|
className: P = ""
|
|
1473
1473
|
}) => {
|
|
1474
|
-
const L = Te(), d = L?.config?.analytics ?? w, R = L?.config.isGlobal ?? !0,
|
|
1474
|
+
const L = Te(), d = L?.config?.analytics ?? w, R = L?.config.isGlobal ?? !0, p = L?.config?.atlasSearchLocalities, [E, h] = W(!1), [I, C] = W(""), b = H(null), g = H(null), $ = H({}), v = (n) => c({ ...o, ...n }), F = (n, s) => {
|
|
1475
1475
|
if (n === "phone") {
|
|
1476
|
-
const D =
|
|
1476
|
+
const D = pa(s, m, $.current);
|
|
1477
1477
|
D.shouldTrack && d?.trackPhoneSectionFilled?.({ phone: D.fullPhone });
|
|
1478
1478
|
return;
|
|
1479
1479
|
}
|
|
@@ -1486,7 +1486,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1486
1486
|
}[n]?.());
|
|
1487
1487
|
}, K = I.trim().toLowerCase(), J = gr.filter((n) => K ? n.country.toLowerCase().includes(K) || n.code.includes(K) : !0), Q = H(null);
|
|
1488
1488
|
H(null);
|
|
1489
|
-
const G = H(null), q = H(0), ce = H(null), [oe, B] = W(!1), [j, O] = W({ hour12: 12, minute: "00", meridiem: "AM" }), X = (n) => String(n).padStart(2, "0"),
|
|
1489
|
+
const G = H(null), q = H(0), ce = H(null), [oe, B] = W(!1), [j, O] = W({ hour12: 12, minute: "00", meridiem: "AM" }), X = (n) => String(n).padStart(2, "0"), he = (n) => {
|
|
1490
1490
|
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
|
|
1491
1491
|
if (!s) return n;
|
|
1492
1492
|
const D = Number(s[1]), ae = s[2], Re = D >= 12 ? "PM" : "AM";
|
|
@@ -1500,9 +1500,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1500
1500
|
const s = Math.min(12, Math.max(1, n.hour12)), D = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
|
|
1501
1501
|
let ae = s % 12;
|
|
1502
1502
|
return n.meridiem === "PM" && (ae += 12), `${X(ae)}:${D}`;
|
|
1503
|
-
}, ee = H(null), [re, de] = W(!1), [te,
|
|
1503
|
+
}, ee = H(null), [re, de] = W(!1), [te, pe] = W(
|
|
1504
1504
|
null
|
|
1505
|
-
), ie = (o.birthPlace ?? "").trim(), ge = R ? void 0 : "in", ue = T ??
|
|
1505
|
+
), ie = (o.birthPlace ?? "").trim(), ge = R ? void 0 : "in", ue = T ?? p, z = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = ie.length > 0 && !z && !re, {
|
|
1506
1506
|
predictions: le,
|
|
1507
1507
|
isSearching: we,
|
|
1508
1508
|
loadError: _e,
|
|
@@ -1519,7 +1519,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1519
1519
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1520
1520
|
}, []), Y(() => {
|
|
1521
1521
|
const n = (s) => {
|
|
1522
|
-
b.current && (b.current.contains(s.target) || (
|
|
1522
|
+
b.current && (b.current.contains(s.target) || (h(!1), C("")));
|
|
1523
1523
|
};
|
|
1524
1524
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1525
1525
|
}, []), Y(() => {
|
|
@@ -1560,9 +1560,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1560
1560
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
1561
1561
|
}, []), Y(() => {
|
|
1562
1562
|
const n = (D) => {
|
|
1563
|
-
D.target?.closest?.("[data-info-tooltip]") == null &&
|
|
1563
|
+
D.target?.closest?.("[data-info-tooltip]") == null && pe(null);
|
|
1564
1564
|
}, s = (D) => {
|
|
1565
|
-
D.key === "Escape" &&
|
|
1565
|
+
D.key === "Escape" && pe(null);
|
|
1566
1566
|
};
|
|
1567
1567
|
return document.addEventListener("mousedown", n), document.addEventListener("keydown", s), () => {
|
|
1568
1568
|
document.removeEventListener("mousedown", n), document.removeEventListener("keydown", s);
|
|
@@ -1610,7 +1610,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1610
1610
|
"aria-haspopup": "listbox",
|
|
1611
1611
|
"aria-expanded": E,
|
|
1612
1612
|
onClick: () => {
|
|
1613
|
-
|
|
1613
|
+
h((n) => !n), C("");
|
|
1614
1614
|
},
|
|
1615
1615
|
children: m
|
|
1616
1616
|
}
|
|
@@ -1664,7 +1664,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1664
1664
|
"aria-selected": n.code === m,
|
|
1665
1665
|
className: `${a.isdOption} ${n.code === m ? a.isdOptionActive : ""}`,
|
|
1666
1666
|
onClick: () => {
|
|
1667
|
-
k(n.code),
|
|
1667
|
+
k(n.code), h(!1), C("");
|
|
1668
1668
|
},
|
|
1669
1669
|
children: [
|
|
1670
1670
|
/* @__PURE__ */ r.jsx("span", { className: a.isdCountryName, children: n.country }),
|
|
@@ -1762,7 +1762,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1762
1762
|
"aria-label": t("info"),
|
|
1763
1763
|
"aria-expanded": te === "dob",
|
|
1764
1764
|
onClick: () => {
|
|
1765
|
-
|
|
1765
|
+
pe((n) => n === "dob" ? null : "dob"), d?.trackInfoIconClicked?.({ fieldName: "dob" });
|
|
1766
1766
|
},
|
|
1767
1767
|
children: /* @__PURE__ */ r.jsx(
|
|
1768
1768
|
"img",
|
|
@@ -1843,7 +1843,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1843
1843
|
"aria-label": t("info"),
|
|
1844
1844
|
"aria-expanded": te === "time",
|
|
1845
1845
|
onClick: () => {
|
|
1846
|
-
d?.trackInfoIconClicked?.({ fieldName: "time" }),
|
|
1846
|
+
d?.trackInfoIconClicked?.({ fieldName: "time" }), pe((n) => n === "time" ? null : "time");
|
|
1847
1847
|
},
|
|
1848
1848
|
children: /* @__PURE__ */ r.jsx(
|
|
1849
1849
|
"img",
|
|
@@ -1869,7 +1869,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
1869
1869
|
id: "kundli-birth-time",
|
|
1870
1870
|
className: a.input,
|
|
1871
1871
|
type: "text",
|
|
1872
|
-
value: o.birthTime ?
|
|
1872
|
+
value: o.birthTime ? he(o.birthTime) : "",
|
|
1873
1873
|
readOnly: !0,
|
|
1874
1874
|
onFocus: () => d?.trackTimeClicked?.(),
|
|
1875
1875
|
onChange: (n) => {
|
|
@@ -2055,7 +2055,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2055
2055
|
onClick: () => {
|
|
2056
2056
|
d?.trackInfoIconClicked?.({
|
|
2057
2057
|
fieldName: "birthPlace"
|
|
2058
|
-
}),
|
|
2058
|
+
}), pe((n) => n === "place" ? null : "place");
|
|
2059
2059
|
},
|
|
2060
2060
|
children: /* @__PURE__ */ r.jsx(
|
|
2061
2061
|
"img",
|
|
@@ -2339,9 +2339,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2339
2339
|
className: L = "",
|
|
2340
2340
|
discountedPriceLabel: d,
|
|
2341
2341
|
discountPillLabel: R,
|
|
2342
|
-
showPlanSheet:
|
|
2342
|
+
showPlanSheet: p,
|
|
2343
2343
|
confirmPlan: E,
|
|
2344
|
-
planSheetOpen:
|
|
2344
|
+
planSheetOpen: h,
|
|
2345
2345
|
selectedPlan: I
|
|
2346
2346
|
}) => {
|
|
2347
2347
|
const C = Te(), b = C?.config.isGlobal ?? !0, g = C?.config?.variant, [$, v] = W(!1), F = Ue(
|
|
@@ -2367,7 +2367,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2367
2367
|
phone: j && `${c}-${j}`
|
|
2368
2368
|
};
|
|
2369
2369
|
if (J) {
|
|
2370
|
-
|
|
2370
|
+
h ? E?.() : p?.(O);
|
|
2371
2371
|
return;
|
|
2372
2372
|
}
|
|
2373
2373
|
P?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), B ? w(O) : S?.(O);
|
|
@@ -2380,7 +2380,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2380
2380
|
"aria-label": t("formPriceAria"),
|
|
2381
2381
|
className: g === "v1" && K ? je.ctaFilled : g === "v1" ? je.ctaButton : void 0,
|
|
2382
2382
|
children: g === "v1" ? K ? /* @__PURE__ */ r.jsxs("span", { className: je.ctaFilledContent, children: [
|
|
2383
|
-
J ? t("selectPackage") :
|
|
2383
|
+
J ? t("selectPackage") : h && I ? `${t("proceedWithPlan")}${I.price}` : `${t("formProceed")} ${Q}`,
|
|
2384
2384
|
/* @__PURE__ */ r.jsx(
|
|
2385
2385
|
G,
|
|
2386
2386
|
{
|
|
@@ -2448,7 +2448,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2448
2448
|
) }), Ia = () => /* @__PURE__ */ r.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx("path", { d: "M15 18l-6-6 6-6" }) }), La = () => /* @__PURE__ */ r.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
|
|
2449
2449
|
/* @__PURE__ */ r.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
|
|
2450
2450
|
/* @__PURE__ */ r.jsx("polyline", { points: "17 6 23 6 23 12" })
|
|
2451
|
-
] }), Ba = "_overlay_18irl_2", Da = "_sheet_18irl_12", Fa = "_header_18irl_36", Oa = "_backBtn_18irl_48", Ma = "_title_18irl_66", $a = "_plansContainer_18irl_78", Ua = "_planCard_18irl_87", Ga = "_withBadgeSpacing_18irl_101", Wa = "_planCardSelected_18irl_105", Ka = "_planCardPopular_18irl_110", Ha = "_popularBadge_18irl_119", Ya = "_planCardInner_18irl_137", qa = "_planTitleRow_18irl_148", Va = "_planTitle_18irl_148", za = "_radioCircle_18irl_163", Ja = "_radioChecked_18irl_176", Qa = "_radioInner_18irl_181", Xa = "_priceRow_18irl_189", Za = "_price_18irl_189", en = "_originalPrice_18irl_202", rn = "_savingsBadge_18irl_209", tn = "_featureList_18irl_219", an = "_featureItem_18irl_228", nn = "_featureIcon_18irl_234", on = "_featureText_18irl_240", ln = "_astrologerHeading_18irl_251", sn = "_astrologerList_18irl_258", cn = "_astrologerCard_18irl_274", dn = "_astrologerAvatar_18irl_290", un = "_astrologerAvatarPlaceholder_18irl_307", mn = "_astrologerTop_18irl_313", fn = "_astrologerBasicInfo_18irl_319",
|
|
2451
|
+
] }), Ba = "_overlay_18irl_2", Da = "_sheet_18irl_12", Fa = "_header_18irl_36", Oa = "_backBtn_18irl_48", Ma = "_title_18irl_66", $a = "_plansContainer_18irl_78", Ua = "_planCard_18irl_87", Ga = "_withBadgeSpacing_18irl_101", Wa = "_planCardSelected_18irl_105", Ka = "_planCardPopular_18irl_110", Ha = "_popularBadge_18irl_119", Ya = "_planCardInner_18irl_137", qa = "_planTitleRow_18irl_148", Va = "_planTitle_18irl_148", za = "_radioCircle_18irl_163", Ja = "_radioChecked_18irl_176", Qa = "_radioInner_18irl_181", Xa = "_priceRow_18irl_189", Za = "_price_18irl_189", en = "_originalPrice_18irl_202", rn = "_savingsBadge_18irl_209", tn = "_featureList_18irl_219", an = "_featureItem_18irl_228", nn = "_featureIcon_18irl_234", on = "_featureText_18irl_240", ln = "_astrologerHeading_18irl_251", sn = "_astrologerList_18irl_258", cn = "_astrologerCard_18irl_274", dn = "_astrologerAvatar_18irl_290", un = "_astrologerAvatarPlaceholder_18irl_307", mn = "_astrologerTop_18irl_313", fn = "_astrologerBasicInfo_18irl_319", pn = "_astrologerName_18irl_326", hn = "_astrologerExp_18irl_335", gn = "_astrologerDivider_18irl_341", _n = "_planDivider_18irl_347", bn = "_astrologerCertList_18irl_354", yn = "_astrologerCertItem_18irl_360", vn = "_bullet_18irl_368", kn = "_footer_18irl_373", wn = "_proceedBtn_18irl_383", f = {
|
|
2452
2452
|
overlay: Ba,
|
|
2453
2453
|
sheet: Da,
|
|
2454
2454
|
header: Fa,
|
|
@@ -2481,8 +2481,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2481
2481
|
astrologerAvatarPlaceholder: un,
|
|
2482
2482
|
astrologerTop: mn,
|
|
2483
2483
|
astrologerBasicInfo: fn,
|
|
2484
|
-
astrologerName:
|
|
2485
|
-
astrologerExp:
|
|
2484
|
+
astrologerName: pn,
|
|
2485
|
+
astrologerExp: hn,
|
|
2486
2486
|
astrologerDivider: gn,
|
|
2487
2487
|
planDivider: _n,
|
|
2488
2488
|
astrologerCertList: bn,
|
|
@@ -2643,16 +2643,16 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2643
2643
|
t: w,
|
|
2644
2644
|
analytics: T
|
|
2645
2645
|
}) => {
|
|
2646
|
-
const L = Te()?.config.isGlobal ?? !0, d = k ?? Tn(L), R = c?.id || d.find((C) => C.badge)?.id || d[0]?.id || "",
|
|
2646
|
+
const L = Te()?.config.isGlobal ?? !0, d = k ?? Tn(L), R = c?.id || d.find((C) => C.badge)?.id || d[0]?.id || "", p = H(null), E = H(null), h = H(!1);
|
|
2647
2647
|
Y(() => {
|
|
2648
2648
|
if (t) {
|
|
2649
2649
|
if (!c) {
|
|
2650
2650
|
const C = d.find((b) => b.badge) ?? d[0];
|
|
2651
2651
|
C && m(C);
|
|
2652
2652
|
}
|
|
2653
|
-
|
|
2653
|
+
h.current || (T?.trackPlanPageViewed?.(), h.current = !0);
|
|
2654
2654
|
} else
|
|
2655
|
-
|
|
2655
|
+
h.current = !1;
|
|
2656
2656
|
}, [t, d, c, m, T]);
|
|
2657
2657
|
const I = () => {
|
|
2658
2658
|
T?.trackPlanPageClosed?.(), o();
|
|
@@ -2673,7 +2673,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2673
2673
|
children: /* @__PURE__ */ r.jsxs(
|
|
2674
2674
|
"div",
|
|
2675
2675
|
{
|
|
2676
|
-
ref:
|
|
2676
|
+
ref: p,
|
|
2677
2677
|
className: f.sheet,
|
|
2678
2678
|
children: [
|
|
2679
2679
|
/* @__PURE__ */ r.jsx(
|
|
@@ -2753,7 +2753,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2753
2753
|
atlasSearchLocalities: d,
|
|
2754
2754
|
analytics: R
|
|
2755
2755
|
}) => {
|
|
2756
|
-
const
|
|
2756
|
+
const p = Te(), E = qr(), h = p !== null, I = h ? p.locale : o, C = I ?? E?.locale ?? "en", [b, g] = W(C), $ = h ? p.locale : b, v = h ? p.setLocale : g, [F, K] = W(!1), J = H(null), Q = H(I), G = H(
|
|
2757
2757
|
E?.locale
|
|
2758
2758
|
);
|
|
2759
2759
|
Y(() => {
|
|
@@ -2771,13 +2771,13 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2771
2771
|
...In,
|
|
2772
2772
|
...k,
|
|
2773
2773
|
phone: k?.phone ?? ""
|
|
2774
|
-
}), B =
|
|
2774
|
+
}), B = h ? p?.config.isGlobal ?? !0 : !0, [j, O] = W(
|
|
2775
2775
|
B ? "+1" : "+91"
|
|
2776
2776
|
);
|
|
2777
2777
|
Y(() => {
|
|
2778
2778
|
O(B ? "+1" : "+91");
|
|
2779
2779
|
}, [B]);
|
|
2780
|
-
const X =
|
|
2780
|
+
const X = h ? p.formValues : ce, he = h ? p.setFormValues : oe, me = h ? p.goToPage : m, V = h ? p.onProceed : S, ee = h ? p.onProceedGuidance : w, re = h ? p.config.proceedHref : T, de = h ? p.config.originalPriceLabel : P, te = h ? p.config.discountedPriceLabel : L, pe = h ? p.config.showLanguageSelector ?? !0 : c, ie = (h ? p?.config?.analytics : R) ?? R;
|
|
2781
2781
|
Y(() => {
|
|
2782
2782
|
if (!F) return;
|
|
2783
2783
|
const x = (n) => {
|
|
@@ -2797,7 +2797,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2797
2797
|
});
|
|
2798
2798
|
const x = { ...le.current, _selectedPlan: z };
|
|
2799
2799
|
z.id === br && ee ? ee(x) : V?.(x), ue(!1), le.current = null;
|
|
2800
|
-
}, [z, V, ee]), xe =
|
|
2800
|
+
}, [z, V, ee]), xe = p?.config.imageComponent ?? Le, ye = pe ? /* @__PURE__ */ r.jsxs("div", { className: fe.langDropdownWrap, ref: J, children: [
|
|
2801
2801
|
/* @__PURE__ */ r.jsxs(
|
|
2802
2802
|
"button",
|
|
2803
2803
|
{
|
|
@@ -2855,7 +2855,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2855
2855
|
Ra,
|
|
2856
2856
|
{
|
|
2857
2857
|
t: q,
|
|
2858
|
-
logoUrl:
|
|
2858
|
+
logoUrl: h ? p.config.logoUrl : void 0,
|
|
2859
2859
|
languageSelector: ye,
|
|
2860
2860
|
className: fe.kundliHeaderNoBorder
|
|
2861
2861
|
}
|
|
@@ -2864,11 +2864,11 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2864
2864
|
/* @__PURE__ */ r.jsxs("main", { className: fe.main, children: [
|
|
2865
2865
|
/* @__PURE__ */ r.jsx(ut, { t: q, onBack: me }),
|
|
2866
2866
|
/* @__PURE__ */ r.jsx(
|
|
2867
|
-
|
|
2867
|
+
ha,
|
|
2868
2868
|
{
|
|
2869
2869
|
t: q,
|
|
2870
2870
|
values: X,
|
|
2871
|
-
onChange:
|
|
2871
|
+
onChange: he,
|
|
2872
2872
|
atlasSearchLocalities: d,
|
|
2873
2873
|
phoneIsdCode: j,
|
|
2874
2874
|
onPhoneIsdCodeChange: O
|
|
@@ -2893,7 +2893,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2893
2893
|
selectedPlan: z
|
|
2894
2894
|
}
|
|
2895
2895
|
),
|
|
2896
|
-
|
|
2896
|
+
p?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
|
|
2897
2897
|
Rn,
|
|
2898
2898
|
{
|
|
2899
2899
|
isOpen: ge,
|
|
@@ -2945,7 +2945,13 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
|
|
|
2945
2945
|
/** Legacy / alias: when landing page is viewed */
|
|
2946
2946
|
kundli_page_view: "kundli_page_view",
|
|
2947
2947
|
/** Legacy / alias: when L1 form page is viewed (same as l1_page_opened) */
|
|
2948
|
-
kundli_form_view: "kundli_form_view"
|
|
2948
|
+
kundli_form_view: "kundli_form_view",
|
|
2949
|
+
/** 3-SKU: sample report viewed for the 1-question plan */
|
|
2950
|
+
one_question_view_sample_report_clicked: "1_question_view_sample_report_clicked",
|
|
2951
|
+
one_question_view_sample_report_closed: "1_question_view_sample_report_closed",
|
|
2952
|
+
/** Sample image modal events */
|
|
2953
|
+
kundli_view_sample_image_clicked: "kundli_view_sample_image_clicked",
|
|
2954
|
+
kundli_view_sample_image_closed: "kundli_view_sample_image_closed"
|
|
2949
2955
|
};
|
|
2950
2956
|
export {
|
|
2951
2957
|
Ia as C,
|
|
@@ -2956,8 +2962,8 @@ export {
|
|
|
2956
2962
|
lr as L,
|
|
2957
2963
|
br as P,
|
|
2958
2964
|
mr as S,
|
|
2959
|
-
|
|
2960
|
-
|
|
2965
|
+
ha as U,
|
|
2966
|
+
hr as a,
|
|
2961
2967
|
Ke as b,
|
|
2962
2968
|
Un as c,
|
|
2963
2969
|
Mn as d,
|
|
@@ -2976,4 +2982,4 @@ export {
|
|
|
2976
2982
|
fr as t,
|
|
2977
2983
|
qr as u
|
|
2978
2984
|
};
|
|
2979
|
-
//# sourceMappingURL=analytics-
|
|
2985
|
+
//# sourceMappingURL=analytics-BDueklE6.js.map
|