@srimandir/kundli-generator 10.57.0 → 10.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{analytics-Q-qph8Sl.js → analytics-B-v30ZYS.js} +311 -326
- package/dist/analytics-B-v30ZYS.js.map +1 -0
- package/dist/analytics.d.ts +8 -5
- package/dist/components/BirthDetailsConfirmSheet/useBirthDetailsConfirm.d.ts +1 -2
- package/dist/{criticalCss-C06P_uWf.js → criticalCss-DwfRDy7f.js} +2 -3
- package/dist/{criticalCss-C06P_uWf.js.map → criticalCss-DwfRDy7f.js.map} +1 -1
- package/dist/form-entry.js +1 -1
- package/dist/kundli-generator.js +3 -3
- package/dist/page-entry.js +2 -2
- package/package.json +1 -1
- package/dist/analytics-Q-qph8Sl.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { j as e, e as xe, D as Ne, k as Ie, l as Re, u as Ae, m as Ce, n as Ee, P as
|
|
1
|
+
import { j as e, e as xe, D as Ne, k as Ie, l as Re, u as Ae, m as Ce, n as Ee, P as Me, L as Te, S as Fe, U as Oe, o as $e, t as Ge } from "./ProceedFooter-C-SsbQlr.js";
|
|
2
2
|
import { useEffect as C, useState as y, useRef as j, useMemo as ie, useCallback as ce, Fragment as Ke } from "react";
|
|
3
3
|
import { FormSectionHeader as He, PageHeader as Ue } from "@srimandir/astrology-common";
|
|
4
4
|
import { createPortal as Le } from "react-dom";
|
|
5
|
-
const
|
|
6
|
-
header:
|
|
7
|
-
centered:
|
|
5
|
+
const Ve = "_header_19172_1", We = "_centered_19172_8", we = {
|
|
6
|
+
header: Ve,
|
|
7
|
+
centered: We
|
|
8
8
|
}, Ye = ({
|
|
9
9
|
t,
|
|
10
10
|
onBack: l,
|
|
@@ -36,13 +36,13 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
36
36
|
logoUrl: n = ot,
|
|
37
37
|
className: s = ""
|
|
38
38
|
}) => {
|
|
39
|
-
const
|
|
39
|
+
const _ = xe(), m = l != null;
|
|
40
40
|
return /* @__PURE__ */ e.jsx(
|
|
41
41
|
Ue,
|
|
42
42
|
{
|
|
43
43
|
t,
|
|
44
44
|
logoUrl: n,
|
|
45
|
-
imageComponent:
|
|
45
|
+
imageComponent: _?.config.imageComponent,
|
|
46
46
|
languageSelector: l,
|
|
47
47
|
showLanguageSelector: m,
|
|
48
48
|
className: s
|
|
@@ -108,7 +108,7 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
108
108
|
/* @__PURE__ */ e.jsx("path", { d: "M3 9.5h18", stroke: "#D1D5DB", strokeWidth: "1.6" }),
|
|
109
109
|
/* @__PURE__ */ e.jsx("path", { d: "M8 2.5v4M16 2.5v4", stroke: "#D1D5DB", strokeWidth: "1.6", strokeLinecap: "round" }),
|
|
110
110
|
/* @__PURE__ */ e.jsx("path", { d: "M7.5 20.5L17 6", stroke: "#9CA3AF", strokeWidth: "1.6", strokeLinecap: "round" })
|
|
111
|
-
] }), gt = "_overlay_pvy8j_3", mt = "_sheet_pvy8j_13", pt = "_sheetFullScreen_pvy8j_53", ht = "_headerFull_pvy8j_76", ft = "_titleFull_pvy8j_89", bt = "_header_pvy8j_76", kt = "_backBtn_pvy8j_110", xt = "_title_pvy8j_89", vt = "_plansContainer_pvy8j_140",
|
|
111
|
+
] }), gt = "_overlay_pvy8j_3", mt = "_sheet_pvy8j_13", pt = "_sheetFullScreen_pvy8j_53", ht = "_headerFull_pvy8j_76", ft = "_titleFull_pvy8j_89", bt = "_header_pvy8j_76", kt = "_backBtn_pvy8j_110", xt = "_title_pvy8j_89", vt = "_plansContainer_pvy8j_140", yt = "_planCard_pvy8j_149", jt = "_withBadgeSpacing_pvy8j_163", Ct = "_planCardSelected_pvy8j_167", St = "_planCardPopular_pvy8j_172", Tt = "_popularBadge_pvy8j_181", wt = "_planCardInner_pvy8j_199", Nt = "_planTitleRow_pvy8j_210", Lt = "_planTitle_pvy8j_210", Bt = "_radioCircle_pvy8j_225", Dt = "_radioChecked_pvy8j_238", Pt = "_radioInner_pvy8j_243", It = "_priceRow_pvy8j_251", Rt = "_price_pvy8j_251", At = "_originalPrice_pvy8j_264", Et = "_savingsBadge_pvy8j_271", Mt = "_featureList_pvy8j_281", Ft = "_featureItem_pvy8j_290", Ot = "_featureIcon_pvy8j_296", $t = "_featureText_pvy8j_302", Gt = "_astrologerHeading_pvy8j_313", Kt = "_astrologerList_pvy8j_320", Ht = "_astrologerCard_pvy8j_336", Ut = "_astrologerAvatar_pvy8j_352", Vt = "_astrologerAvatarPlaceholder_pvy8j_369", Wt = "_astrologerTop_pvy8j_375", Yt = "_astrologerBasicInfo_pvy8j_381", qt = "_astrologerName_pvy8j_388", zt = "_astrologerExp_pvy8j_397", Xt = "_astrologerDivider_pvy8j_403", Zt = "_planDivider_pvy8j_409", Jt = "_astrologerCertList_pvy8j_416", Qt = "_astrologerCertItem_pvy8j_422", ea = "_bullet_pvy8j_430", ta = "_footer_pvy8j_435", aa = "_proceedBtn_pvy8j_445", i = {
|
|
112
112
|
overlay: gt,
|
|
113
113
|
sheet: mt,
|
|
114
114
|
sheetFullScreen: pt,
|
|
@@ -118,8 +118,8 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
118
118
|
backBtn: kt,
|
|
119
119
|
title: xt,
|
|
120
120
|
plansContainer: vt,
|
|
121
|
-
planCard:
|
|
122
|
-
withBadgeSpacing:
|
|
121
|
+
planCard: yt,
|
|
122
|
+
withBadgeSpacing: jt,
|
|
123
123
|
planCardSelected: Ct,
|
|
124
124
|
planCardPopular: St,
|
|
125
125
|
popularBadge: Tt,
|
|
@@ -133,16 +133,16 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
133
133
|
price: Rt,
|
|
134
134
|
originalPrice: At,
|
|
135
135
|
savingsBadge: Et,
|
|
136
|
-
featureList:
|
|
137
|
-
featureItem:
|
|
136
|
+
featureList: Mt,
|
|
137
|
+
featureItem: Ft,
|
|
138
138
|
featureIcon: Ot,
|
|
139
139
|
featureText: $t,
|
|
140
140
|
astrologerHeading: Gt,
|
|
141
141
|
astrologerList: Kt,
|
|
142
142
|
astrologerCard: Ht,
|
|
143
143
|
astrologerAvatar: Ut,
|
|
144
|
-
astrologerAvatarPlaceholder:
|
|
145
|
-
astrologerTop:
|
|
144
|
+
astrologerAvatarPlaceholder: Vt,
|
|
145
|
+
astrologerTop: Wt,
|
|
146
146
|
astrologerBasicInfo: Yt,
|
|
147
147
|
astrologerName: qt,
|
|
148
148
|
astrologerExp: zt,
|
|
@@ -192,8 +192,8 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
192
192
|
/* @__PURE__ */ e.jsx(it, {}),
|
|
193
193
|
/* @__PURE__ */ e.jsx("span", { children: t })
|
|
194
194
|
] }), sa = ({ plan: t, isSelected: l, onSelect: n, t: s }) => {
|
|
195
|
-
const
|
|
196
|
-
(
|
|
195
|
+
const _ = () => n(t.id), m = (u) => {
|
|
196
|
+
(u.key === " " || u.key === "Enter") && (u.preventDefault(), n(t.id));
|
|
197
197
|
};
|
|
198
198
|
return /* @__PURE__ */ e.jsxs(
|
|
199
199
|
"div",
|
|
@@ -203,7 +203,7 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
203
203
|
l ? i.planCardSelected : "",
|
|
204
204
|
l && i.planCardPopular
|
|
205
205
|
].filter(Boolean).join(" "),
|
|
206
|
-
onClick:
|
|
206
|
+
onClick: _,
|
|
207
207
|
role: "radio",
|
|
208
208
|
"aria-checked": l,
|
|
209
209
|
tabIndex: 0,
|
|
@@ -232,25 +232,25 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
232
232
|
t.astrologers && /* @__PURE__ */ e.jsx("div", { className: i.planDivider }),
|
|
233
233
|
t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
234
234
|
/* @__PURE__ */ e.jsx("p", { className: i.astrologerHeading, children: s?.("planAstrologerHeading") ?? "We will match you with astrologer who speaks your language" }),
|
|
235
|
-
/* @__PURE__ */ e.jsx("div", { className: i.astrologerList, role: "list", children: t.astrologers.map((
|
|
235
|
+
/* @__PURE__ */ e.jsx("div", { className: i.astrologerList, role: "list", children: t.astrologers.map((u, p) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(la, { astrologer: u, t: s }) }, p)) })
|
|
236
236
|
] })
|
|
237
237
|
] })
|
|
238
238
|
]
|
|
239
239
|
}
|
|
240
240
|
);
|
|
241
|
-
},
|
|
241
|
+
}, ye = (t) => {
|
|
242
242
|
const l = t.match(/T(\d{2}):(\d{2})/);
|
|
243
243
|
if (!l) return t;
|
|
244
|
-
const n = Number(l[1]), s = l[2],
|
|
245
|
-
return `${n % 12 || 12}:${s} ${
|
|
244
|
+
const n = Number(l[1]), s = l[2], _ = n >= 12 ? "PM" : "AM";
|
|
245
|
+
return `${n % 12 || 12}:${s} ${_}`;
|
|
246
246
|
}, ia = (t, l = /* @__PURE__ */ new Date()) => {
|
|
247
247
|
const n = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], s = /* @__PURE__ */ new Date(`${t}T00:00:00`);
|
|
248
248
|
if (Number.isNaN(s.getTime()))
|
|
249
249
|
return { id: t, dayLabel: t, dayNum: "" };
|
|
250
|
-
const
|
|
251
|
-
(
|
|
252
|
-
),
|
|
253
|
-
return { id: t, dayLabel:
|
|
250
|
+
const _ = (p) => new Date(p.getFullYear(), p.getMonth(), p.getDate()).getTime(), m = Math.round(
|
|
251
|
+
(_(s) - _(l)) / (1e3 * 60 * 60 * 24)
|
|
252
|
+
), u = m === 0 ? "Today" : m === 1 ? "Tomorrow" : n[s.getDay()];
|
|
253
|
+
return { id: t, dayLabel: u, dayNum: String(s.getDate()) };
|
|
254
254
|
}, ca = [
|
|
255
255
|
"morning",
|
|
256
256
|
"afternoon",
|
|
@@ -285,11 +285,11 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
285
285
|
mr: ["mr", "en"],
|
|
286
286
|
ta: ["ta", "en"]
|
|
287
287
|
}, Pe = (t) => !!t?.days?.some((l) => l.has_availability && l.slots.length > 0), ga = (t, l, n) => {
|
|
288
|
-
const s = n ? ua : _a, [
|
|
289
|
-
(
|
|
288
|
+
const s = n ? ua : _a, [_, m] = s[l || "en"] ?? s.en, u = de.map((g) => g.code).filter(
|
|
289
|
+
(g) => g !== _ && g !== m
|
|
290
290
|
);
|
|
291
|
-
return [
|
|
292
|
-
}, ma = "_overlay_1mg8x_3", pa = "_sheet_1mg8x_13", ha = "_content_1mg8x_47", fa = "_header_1mg8x_54", ba = "_backBtn_1mg8x_67", ka = "_title_1mg8x_85", xa = "_languageRow_1mg8x_101", va = "_languageLabel_1mg8x_109",
|
|
291
|
+
return [_, m, ...u].find((g) => Pe(t[g])) ?? _;
|
|
292
|
+
}, ma = "_overlay_1mg8x_3", pa = "_sheet_1mg8x_13", ha = "_content_1mg8x_47", fa = "_header_1mg8x_54", ba = "_backBtn_1mg8x_67", ka = "_title_1mg8x_85", xa = "_languageRow_1mg8x_101", va = "_languageLabel_1mg8x_109", ya = "_languageDropdown_1mg8x_115", ja = "_languageDropdownBtn_1mg8x_119", Ca = "_languageMenu_1mg8x_134", Sa = "_languageMenuItem_1mg8x_151", Ta = "_languageMenuItemSelected_1mg8x_165", wa = "_languageDivider_1mg8x_171", Na = "_reportReadyBanner_1mg8x_178", La = "_reportReadyDuration_1mg8x_187", Ba = "_trustRow_1mg8x_193", Da = "_trustAvatars_1mg8x_204", Pa = "_trustText_1mg8x_217", Ia = "_sectionHeading_1mg8x_328", Ra = "_dateTabs_1mg8x_336", Aa = "_dateTabIndicator_1mg8x_348", Ea = "_dateTab_1mg8x_336", Ma = "_dateTabDivider_1mg8x_382", Fa = "_dateTabSelected_1mg8x_392", Oa = "_dateTabLabel_1mg8x_397", $a = "_dateTabNum_1mg8x_404", Ga = "_periodTabs_1mg8x_418", Ka = "_periodTabIndicator_1mg8x_346", Ha = "_periodTab_1mg8x_346", Ua = "_periodTabSelected_1mg8x_465", Va = "_timeGrid_1mg8x_470", Wa = "_emptyState_1mg8x_498", Ya = "_timeSlot_1mg8x_502", qa = "_timeSlotSelected_1mg8x_518", za = "_topicGrid_1mg8x_526", Xa = "_topicChip_1mg8x_532", Za = "_topicChipSelected_1mg8x_548", Ja = "_stateMessage_1mg8x_555", Qa = "_emptyStateIcon_1mg8x_575", en = "_emptyStateTitle_1mg8x_586", tn = "_emptyStateSubtitle_1mg8x_593", an = "_loadingWrap_1mg8x_602", nn = "_skeletonShimmer_1mg8x_607", on = "_skeletonDateTabs_1mg8x_621", ln = "_skeletonDateTab_1mg8x_621", rn = "_skeletonPeriodTabs_1mg8x_635", sn = "_skeletonPeriodTab_1mg8x_635", cn = "_skeletonTimeGrid_1mg8x_650", dn = "_skeletonTimeSlot_1mg8x_656", _n = "_retryBtn_1mg8x_661", un = "_footer_1mg8x_675", gn = "_proceedBtn_1mg8x_682", mn = "_proceedBtnDisabled_1mg8x_700", r = {
|
|
293
293
|
overlay: ma,
|
|
294
294
|
sheet: pa,
|
|
295
295
|
content: ha,
|
|
@@ -298,8 +298,8 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
298
298
|
title: ka,
|
|
299
299
|
languageRow: xa,
|
|
300
300
|
languageLabel: va,
|
|
301
|
-
languageDropdown:
|
|
302
|
-
languageDropdownBtn:
|
|
301
|
+
languageDropdown: ya,
|
|
302
|
+
languageDropdownBtn: ja,
|
|
303
303
|
languageMenu: Ca,
|
|
304
304
|
languageMenuItem: Sa,
|
|
305
305
|
languageMenuItemSelected: Ta,
|
|
@@ -313,16 +313,16 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
313
313
|
dateTabs: Ra,
|
|
314
314
|
dateTabIndicator: Aa,
|
|
315
315
|
dateTab: Ea,
|
|
316
|
-
dateTabDivider:
|
|
317
|
-
dateTabSelected:
|
|
316
|
+
dateTabDivider: Ma,
|
|
317
|
+
dateTabSelected: Fa,
|
|
318
318
|
dateTabLabel: Oa,
|
|
319
319
|
dateTabNum: $a,
|
|
320
320
|
periodTabs: Ga,
|
|
321
321
|
periodTabIndicator: Ka,
|
|
322
322
|
periodTab: Ha,
|
|
323
323
|
periodTabSelected: Ua,
|
|
324
|
-
timeGrid:
|
|
325
|
-
emptyState:
|
|
324
|
+
timeGrid: Va,
|
|
325
|
+
emptyState: Wa,
|
|
326
326
|
timeSlot: Ya,
|
|
327
327
|
timeSlotSelected: qa,
|
|
328
328
|
topicGrid: za,
|
|
@@ -352,7 +352,7 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
352
352
|
morning: "planPeriodMorning",
|
|
353
353
|
afternoon: "planPeriodAfternoon",
|
|
354
354
|
evening: "planPeriodEvening"
|
|
355
|
-
},
|
|
355
|
+
}, je = (t) => de.find((l) => l.code === t)?.label ?? t, fn = (t) => {
|
|
356
356
|
const l = t.match(/([+-]\d{2}:\d{2})$/);
|
|
357
357
|
return l ? `GMT${l[1]}` : t.endsWith("Z") ? "GMT+00:00" : "";
|
|
358
358
|
}, bn = ({
|
|
@@ -360,82 +360,82 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
360
360
|
astrologers: l,
|
|
361
361
|
t: n,
|
|
362
362
|
analytics: s,
|
|
363
|
-
reportLanguage:
|
|
363
|
+
reportLanguage: _,
|
|
364
364
|
isPostPayment: m = !1,
|
|
365
|
-
showGuidanceTopic:
|
|
366
|
-
hideFooter:
|
|
367
|
-
onStateChange:
|
|
365
|
+
showGuidanceTopic: u,
|
|
366
|
+
hideFooter: p = !1,
|
|
367
|
+
onStateChange: g
|
|
368
368
|
}) => {
|
|
369
|
-
const
|
|
370
|
-
() =>
|
|
371
|
-
[
|
|
372
|
-
), [
|
|
369
|
+
const F = u ?? !m, I = xe(), T = I?.config.imageComponent ?? Ne, b = I?.config.fetchConsultationSlots, R = I?.config.isGlobal ?? !0, c = _ ?? I?.formValues?.language_code, k = m ? "post_payment" : "pre_payment", [d, L] = y(!1), [K, X] = y(!1), [x, A] = y({}), [f, H] = y("en"), [W, Y] = y(!1), J = j(null), ae = ie(
|
|
370
|
+
() => x[f]?.days ?? [],
|
|
371
|
+
[x, f]
|
|
372
|
+
), [P, _e] = y(""), [O, q] = y(""), [v, ne] = y("morning"), [S, U] = y(null), oe = j(!1), Q = j(null), ue = j({}), [z, ge] = y(null), ee = j(null), Z = j(
|
|
373
373
|
{}
|
|
374
|
-
), [le, me] = y(null),
|
|
374
|
+
), [le, me] = y(null), w = ie(
|
|
375
375
|
() => ae.filter((a) => a.has_availability && a.slots.length > 0),
|
|
376
376
|
[ae]
|
|
377
377
|
), pe = ce(() => {
|
|
378
|
-
|
|
378
|
+
b && (L(!0), X(!1), b().then((a) => {
|
|
379
379
|
const o = a ?? {}, h = ga(
|
|
380
380
|
o,
|
|
381
381
|
c,
|
|
382
|
-
|
|
382
|
+
R
|
|
383
383
|
);
|
|
384
|
-
|
|
385
|
-
language:
|
|
386
|
-
status:
|
|
384
|
+
A(o), H(h), s?.trackConsultationLanguageDefaultSelected?.({
|
|
385
|
+
language: je(h),
|
|
386
|
+
status: k
|
|
387
387
|
});
|
|
388
388
|
const $ = (o[h]?.days ?? []).filter(
|
|
389
|
-
(
|
|
389
|
+
(D) => D.has_availability && D.slots.length > 0
|
|
390
390
|
).length;
|
|
391
391
|
s?.trackAstrologerAvailabilityServed?.({
|
|
392
|
-
astrologers_shown: l.map((
|
|
392
|
+
astrologers_shown: l.map((D) => D.name),
|
|
393
393
|
dates_available_count: $,
|
|
394
|
-
status:
|
|
394
|
+
status: k
|
|
395
395
|
});
|
|
396
396
|
}).catch(() => {
|
|
397
397
|
X(!0);
|
|
398
|
-
}).finally(() =>
|
|
399
|
-
}, [
|
|
398
|
+
}).finally(() => L(!1)));
|
|
399
|
+
}, [b, R, c, s, l, k]);
|
|
400
400
|
C(() => {
|
|
401
401
|
_e(""), Y(!1), pe();
|
|
402
402
|
}, []), C(() => {
|
|
403
|
-
if (!
|
|
403
|
+
if (!W) return;
|
|
404
404
|
const a = (o) => {
|
|
405
405
|
J.current && !J.current.contains(o.target) && Y(!1);
|
|
406
406
|
};
|
|
407
407
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
408
|
-
}, [
|
|
409
|
-
if (!
|
|
408
|
+
}, [W]), C(() => {
|
|
409
|
+
if (!w.length) {
|
|
410
410
|
q(""), U(null);
|
|
411
411
|
return;
|
|
412
412
|
}
|
|
413
|
-
const a =
|
|
414
|
-
|
|
413
|
+
const a = w[0];
|
|
414
|
+
w.some((o) => o.date === O) || s?.trackConsultationDateDefaultSelected?.({
|
|
415
415
|
date: a.date,
|
|
416
|
-
status:
|
|
416
|
+
status: k
|
|
417
417
|
}), q(
|
|
418
|
-
(o) =>
|
|
418
|
+
(o) => w.some((h) => h.date === o) ? o : a.date
|
|
419
419
|
);
|
|
420
|
-
}, [
|
|
421
|
-
const
|
|
422
|
-
() =>
|
|
423
|
-
[
|
|
424
|
-
),
|
|
425
|
-
if (!
|
|
426
|
-
const a = new Set(
|
|
420
|
+
}, [w]);
|
|
421
|
+
const N = ie(
|
|
422
|
+
() => w.find((a) => a.date === O) ?? null,
|
|
423
|
+
[w, O]
|
|
424
|
+
), V = ie(() => {
|
|
425
|
+
if (!N) return [];
|
|
426
|
+
const a = new Set(N.slots.map((o) => o.period));
|
|
427
427
|
return ca.filter((o) => a.has(o));
|
|
428
|
-
}, [
|
|
428
|
+
}, [N]);
|
|
429
429
|
C(() => {
|
|
430
|
-
if (!
|
|
430
|
+
if (!V.length) {
|
|
431
431
|
ne("morning"), U(null);
|
|
432
432
|
return;
|
|
433
433
|
}
|
|
434
434
|
ne(
|
|
435
|
-
(a) =>
|
|
435
|
+
(a) => V.includes(a) ? a : V[0]
|
|
436
436
|
);
|
|
437
|
-
}, [
|
|
438
|
-
const
|
|
437
|
+
}, [V]);
|
|
438
|
+
const E = ie(() => N ? N.slots.filter((a) => a.period === v) : [], [N, v]);
|
|
439
439
|
C(() => {
|
|
440
440
|
const a = () => {
|
|
441
441
|
const o = Q.current, h = ue.current[O];
|
|
@@ -443,95 +443,95 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
443
443
|
ge(null);
|
|
444
444
|
return;
|
|
445
445
|
}
|
|
446
|
-
const $ = o.getBoundingClientRect(),
|
|
446
|
+
const $ = o.getBoundingClientRect(), D = h.getBoundingClientRect();
|
|
447
447
|
ge({
|
|
448
|
-
left:
|
|
449
|
-
top:
|
|
450
|
-
width:
|
|
451
|
-
height:
|
|
448
|
+
left: D.left - $.left,
|
|
449
|
+
top: D.top - $.top,
|
|
450
|
+
width: D.width,
|
|
451
|
+
height: D.height
|
|
452
452
|
});
|
|
453
453
|
};
|
|
454
454
|
return a(), window.addEventListener("resize", a), () => window.removeEventListener("resize", a);
|
|
455
|
-
}, [O,
|
|
455
|
+
}, [O, w]), C(() => {
|
|
456
456
|
const a = () => {
|
|
457
|
-
const o = ee.current, h = Z.current[
|
|
457
|
+
const o = ee.current, h = Z.current[v];
|
|
458
458
|
if (!o || !h) {
|
|
459
459
|
me(null);
|
|
460
460
|
return;
|
|
461
461
|
}
|
|
462
|
-
const $ = o.getBoundingClientRect(),
|
|
462
|
+
const $ = o.getBoundingClientRect(), D = h.getBoundingClientRect();
|
|
463
463
|
me({
|
|
464
|
-
left:
|
|
465
|
-
width:
|
|
464
|
+
left: D.left - $.left,
|
|
465
|
+
width: D.width
|
|
466
466
|
});
|
|
467
467
|
};
|
|
468
468
|
return a(), window.addEventListener("resize", a), () => window.removeEventListener("resize", a);
|
|
469
|
-
}, [
|
|
470
|
-
if (!
|
|
469
|
+
}, [v, V]), C(() => {
|
|
470
|
+
if (!E.length) {
|
|
471
471
|
U(null);
|
|
472
472
|
return;
|
|
473
473
|
}
|
|
474
|
-
if (!(
|
|
475
|
-
const o =
|
|
474
|
+
if (!(S && E.some((o) => o.start === S.start))) {
|
|
475
|
+
const o = E[0];
|
|
476
476
|
s?.trackConsultationTimeDefaultSelected?.({
|
|
477
|
-
time:
|
|
477
|
+
time: ye(o.start),
|
|
478
478
|
gmt_offset: fn(o.start),
|
|
479
|
-
status:
|
|
479
|
+
status: k
|
|
480
480
|
});
|
|
481
481
|
}
|
|
482
482
|
U(
|
|
483
|
-
(o) => o &&
|
|
483
|
+
(o) => o && E.some((h) => h.start === o.start) ? o : E[0]
|
|
484
484
|
);
|
|
485
|
-
}, [
|
|
486
|
-
|
|
485
|
+
}, [E]), C(() => {
|
|
486
|
+
w.length && !oe.current && (s?.trackSlotScreenViewed?.({
|
|
487
487
|
astrologers_shown: l.map((a) => a.name),
|
|
488
|
-
dates_available_count:
|
|
489
|
-
status:
|
|
488
|
+
dates_available_count: w.length,
|
|
489
|
+
status: k
|
|
490
490
|
}), oe.current = !0);
|
|
491
|
-
}, [
|
|
492
|
-
const
|
|
491
|
+
}, [w, l, s, k]);
|
|
492
|
+
const B = !!S && (!F || !!P), ve = (a) => {
|
|
493
493
|
q(a), s?.trackSlotDateSelected?.({
|
|
494
494
|
date: a,
|
|
495
|
-
day_part_default:
|
|
496
|
-
status:
|
|
495
|
+
day_part_default: v,
|
|
496
|
+
status: k
|
|
497
497
|
});
|
|
498
498
|
}, te = (a) => {
|
|
499
499
|
ne(a), s?.trackDayPartSelected?.({
|
|
500
500
|
day_part: a,
|
|
501
|
-
slots_available_count:
|
|
502
|
-
status:
|
|
501
|
+
slots_available_count: N?.slots.filter((o) => o.period === a).length ?? 0,
|
|
502
|
+
status: k
|
|
503
503
|
});
|
|
504
504
|
}, re = (a) => {
|
|
505
505
|
U(a), s?.trackSlotSelected?.({
|
|
506
506
|
date: O,
|
|
507
|
-
time:
|
|
507
|
+
time: ye(a.start),
|
|
508
508
|
day_part: a.period,
|
|
509
|
-
topic:
|
|
510
|
-
status:
|
|
509
|
+
topic: P || null,
|
|
510
|
+
status: k
|
|
511
511
|
});
|
|
512
512
|
}, se = () => {
|
|
513
|
-
|
|
514
|
-
slot_datetime: `${
|
|
515
|
-
status:
|
|
513
|
+
S && (s?.trackSlotReservationRequested?.({
|
|
514
|
+
slot_datetime: `${S.start} - ${S.end}`,
|
|
515
|
+
status: k
|
|
516
516
|
}), t({
|
|
517
|
-
start:
|
|
518
|
-
end:
|
|
519
|
-
period:
|
|
520
|
-
topic:
|
|
517
|
+
start: S.start,
|
|
518
|
+
end: S.end,
|
|
519
|
+
period: S.period,
|
|
520
|
+
topic: P,
|
|
521
521
|
language: f
|
|
522
522
|
}));
|
|
523
523
|
}, he = j(se);
|
|
524
524
|
he.current = se, C(() => {
|
|
525
|
-
|
|
526
|
-
}, [
|
|
525
|
+
g?.({ canProceed: B, proceed: () => he.current() });
|
|
526
|
+
}, [B, g]);
|
|
527
527
|
const fe = (a) => {
|
|
528
|
-
_e(a), s?.trackGuidanceTopicSelected?.({ topic: a, status:
|
|
528
|
+
_e(a), s?.trackGuidanceTopicSelected?.({ topic: a, status: k });
|
|
529
529
|
}, be = (a) => {
|
|
530
530
|
s?.trackConsultationLanguageChanged?.({
|
|
531
|
-
previous_language:
|
|
532
|
-
new_language:
|
|
533
|
-
slots_available: Pe(
|
|
534
|
-
status:
|
|
531
|
+
previous_language: je(f),
|
|
532
|
+
new_language: je(a),
|
|
533
|
+
slots_available: Pe(x[a]) ? "yes" : "no",
|
|
534
|
+
status: k
|
|
535
535
|
}), H(a), Y(!1);
|
|
536
536
|
}, ke = de.find((a) => a.code === f) ?? de[0];
|
|
537
537
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
@@ -546,14 +546,14 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
546
546
|
className: r.languageDropdownBtn,
|
|
547
547
|
onClick: () => Y((a) => !a),
|
|
548
548
|
"aria-haspopup": "listbox",
|
|
549
|
-
"aria-expanded":
|
|
549
|
+
"aria-expanded": W,
|
|
550
550
|
children: [
|
|
551
551
|
n?.(ke.labelKey) ?? ke.label,
|
|
552
552
|
/* @__PURE__ */ e.jsx(st, {})
|
|
553
553
|
]
|
|
554
554
|
}
|
|
555
555
|
),
|
|
556
|
-
|
|
556
|
+
W && /* @__PURE__ */ e.jsx("ul", { className: r.languageMenu, role: "listbox", children: de.map((a) => {
|
|
557
557
|
const o = a.code === f;
|
|
558
558
|
return /* @__PURE__ */ e.jsxs(
|
|
559
559
|
"li",
|
|
@@ -584,7 +584,7 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
584
584
|
" ",
|
|
585
585
|
n?.("planReportReadySuffix") ?? "from today"
|
|
586
586
|
] }),
|
|
587
|
-
|
|
587
|
+
d && /* @__PURE__ */ e.jsxs("div", { className: r.loadingWrap, "aria-busy": "true", "aria-live": "polite", children: [
|
|
588
588
|
/* @__PURE__ */ e.jsx("div", { className: r.skeletonDateTabs, children: Array.from({ length: 5 }).map((a, o) => /* @__PURE__ */ e.jsx(
|
|
589
589
|
"div",
|
|
590
590
|
{
|
|
@@ -607,16 +607,16 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
607
607
|
o
|
|
608
608
|
)) })
|
|
609
609
|
] }),
|
|
610
|
-
!
|
|
610
|
+
!d && K && /* @__PURE__ */ e.jsxs("div", { className: r.stateMessage, children: [
|
|
611
611
|
n?.("planSlotsLoadError") ?? "Couldn't load slots. Please try again.",
|
|
612
612
|
/* @__PURE__ */ e.jsx("button", { type: "button", className: r.retryBtn, onClick: pe, children: n?.("planRetry") ?? "Retry" })
|
|
613
613
|
] }),
|
|
614
|
-
!
|
|
614
|
+
!d && !K && w.length === 0 && /* @__PURE__ */ e.jsxs("div", { className: r.emptyState, children: [
|
|
615
615
|
/* @__PURE__ */ e.jsx("span", { className: r.emptyStateIcon, children: /* @__PURE__ */ e.jsx(ut, {}) }),
|
|
616
616
|
/* @__PURE__ */ e.jsx("p", { className: r.emptyStateTitle, children: n?.("planNoSlotsAvailableTitle") ?? "No slots available" }),
|
|
617
617
|
/* @__PURE__ */ e.jsx("p", { className: r.emptyStateSubtitle, children: n?.("planNoSlotsAvailableSubtitle") ?? "Try a different consultation language above, or check back soon." })
|
|
618
618
|
] }),
|
|
619
|
-
!
|
|
619
|
+
!d && !K && w.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
620
620
|
/* @__PURE__ */ e.jsxs("div", { className: r.dateTabs, ref: Q, role: "radiogroup", "aria-label": "Consultation date", children: [
|
|
621
621
|
z && /* @__PURE__ */ e.jsx(
|
|
622
622
|
"span",
|
|
@@ -630,15 +630,15 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
630
630
|
"aria-hidden": "true"
|
|
631
631
|
}
|
|
632
632
|
),
|
|
633
|
-
|
|
633
|
+
w.map((a) => {
|
|
634
634
|
const o = a.date === O, { dayLabel: h, dayNum: $ } = ia(a.date);
|
|
635
635
|
return /* @__PURE__ */ e.jsxs(Ke, { children: [
|
|
636
636
|
/* @__PURE__ */ e.jsxs(
|
|
637
637
|
"button",
|
|
638
638
|
{
|
|
639
639
|
type: "button",
|
|
640
|
-
ref: (
|
|
641
|
-
ue.current[a.date] =
|
|
640
|
+
ref: (D) => {
|
|
641
|
+
ue.current[a.date] = D;
|
|
642
642
|
},
|
|
643
643
|
className: [
|
|
644
644
|
r.dateTab,
|
|
@@ -669,8 +669,8 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
669
669
|
"aria-hidden": "true"
|
|
670
670
|
}
|
|
671
671
|
),
|
|
672
|
-
|
|
673
|
-
const o = pn[a], h = a === "evening" &&
|
|
672
|
+
V.map((a) => {
|
|
673
|
+
const o = pn[a], h = a === "evening" && R ? "planPeriodEveningNight" : hn[a];
|
|
674
674
|
return /* @__PURE__ */ e.jsxs(
|
|
675
675
|
"button",
|
|
676
676
|
{
|
|
@@ -680,14 +680,14 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
680
680
|
type: "button",
|
|
681
681
|
className: [
|
|
682
682
|
r.periodTab,
|
|
683
|
-
a ===
|
|
683
|
+
a === v ? r.periodTabSelected : ""
|
|
684
684
|
].filter(Boolean).join(" "),
|
|
685
685
|
role: "tab",
|
|
686
|
-
"aria-selected": a ===
|
|
686
|
+
"aria-selected": a === v,
|
|
687
687
|
onClick: () => te(a),
|
|
688
688
|
children: [
|
|
689
689
|
/* @__PURE__ */ e.jsx(o, {}),
|
|
690
|
-
n?.(h) ?? (a === "evening" &&
|
|
690
|
+
n?.(h) ?? (a === "evening" && R ? "Evening/Night" : a.charAt(0).toUpperCase() + a.slice(1))
|
|
691
691
|
]
|
|
692
692
|
},
|
|
693
693
|
a
|
|
@@ -700,26 +700,26 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
700
700
|
className: r.timeGrid,
|
|
701
701
|
role: "radiogroup",
|
|
702
702
|
"aria-label": "Consultation time",
|
|
703
|
-
children:
|
|
703
|
+
children: E.map((a, o) => /* @__PURE__ */ e.jsx(
|
|
704
704
|
"button",
|
|
705
705
|
{
|
|
706
706
|
type: "button",
|
|
707
707
|
className: [
|
|
708
708
|
r.timeSlot,
|
|
709
|
-
|
|
709
|
+
S?.start === a.start ? r.timeSlotSelected : ""
|
|
710
710
|
].filter(Boolean).join(" "),
|
|
711
711
|
role: "radio",
|
|
712
|
-
"aria-checked":
|
|
712
|
+
"aria-checked": S?.start === a.start,
|
|
713
713
|
onClick: () => re(a),
|
|
714
|
-
children:
|
|
714
|
+
children: ye(a.start)
|
|
715
715
|
},
|
|
716
716
|
`${a.start}-${o}`
|
|
717
717
|
))
|
|
718
718
|
},
|
|
719
|
-
`${O}-${
|
|
719
|
+
`${O}-${v}`
|
|
720
720
|
)
|
|
721
721
|
] }),
|
|
722
|
-
|
|
722
|
+
F && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
723
723
|
/* @__PURE__ */ e.jsx("p", { className: r.sectionHeading, children: n?.("planGuidanceHeading") ?? "What would you like guidance on?" }),
|
|
724
724
|
/* @__PURE__ */ e.jsx("div", { className: r.topicGrid, role: "radiogroup", "aria-label": "Guidance topic", children: da.map((a) => /* @__PURE__ */ e.jsx(
|
|
725
725
|
"button",
|
|
@@ -727,10 +727,10 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
727
727
|
type: "button",
|
|
728
728
|
className: [
|
|
729
729
|
r.topicChip,
|
|
730
|
-
|
|
730
|
+
P === a.id ? r.topicChipSelected : ""
|
|
731
731
|
].filter(Boolean).join(" "),
|
|
732
732
|
role: "radio",
|
|
733
|
-
"aria-checked":
|
|
733
|
+
"aria-checked": P === a.id,
|
|
734
734
|
onClick: () => fe(a.id),
|
|
735
735
|
children: n?.(a.labelKey) ?? a.label
|
|
736
736
|
},
|
|
@@ -738,10 +738,10 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
738
738
|
)) })
|
|
739
739
|
] })
|
|
740
740
|
] }),
|
|
741
|
-
!
|
|
741
|
+
!p && /* @__PURE__ */ e.jsxs("div", { className: r.footer, children: [
|
|
742
742
|
/* @__PURE__ */ e.jsxs("div", { className: r.trustRow, children: [
|
|
743
743
|
/* @__PURE__ */ e.jsx("div", { className: r.trustAvatars, "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
|
|
744
|
-
|
|
744
|
+
T,
|
|
745
745
|
{
|
|
746
746
|
src: "https://srm-cdn.a4b.io/yoda/1785317712031.svg",
|
|
747
747
|
alt: "",
|
|
@@ -758,8 +758,8 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
758
758
|
"button",
|
|
759
759
|
{
|
|
760
760
|
type: "button",
|
|
761
|
-
className: [r.proceedBtn,
|
|
762
|
-
disabled: !
|
|
761
|
+
className: [r.proceedBtn, B ? "" : r.proceedBtnDisabled].filter(Boolean).join(" "),
|
|
762
|
+
disabled: !B,
|
|
763
763
|
onClick: se,
|
|
764
764
|
children: m ? n?.("planBookSlot") ?? "Book Slot" : n?.("planProceedToPayment") ?? "Proceed to payment"
|
|
765
765
|
}
|
|
@@ -843,33 +843,33 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
843
843
|
(l) => ["samiksha", "neeraj", "ashwini"].includes(l.id)
|
|
844
844
|
)
|
|
845
845
|
}
|
|
846
|
-
],
|
|
846
|
+
], yn = ({
|
|
847
847
|
isOpen: t,
|
|
848
848
|
onClose: l,
|
|
849
849
|
selectedPlan: n,
|
|
850
850
|
onSelectPlan: s,
|
|
851
|
-
plans:
|
|
851
|
+
plans: _,
|
|
852
852
|
onProceed: m,
|
|
853
|
-
t:
|
|
854
|
-
analytics:
|
|
855
|
-
enableConsultationScheduling:
|
|
853
|
+
t: u,
|
|
854
|
+
analytics: p,
|
|
855
|
+
enableConsultationScheduling: g
|
|
856
856
|
}) => {
|
|
857
|
-
const
|
|
857
|
+
const F = xe(), I = F?.config.isGlobal ?? !0, T = g ?? F?.config.enableConsultationScheduling ?? !1, b = _ ?? vn(I), R = n?.id || b.find((x) => x.badge)?.id || b[0]?.id || "", c = j(null), k = j(null), d = j(!1), [L, K] = y(!1);
|
|
858
858
|
C(() => {
|
|
859
859
|
if (t) {
|
|
860
860
|
if (!n) {
|
|
861
|
-
const
|
|
862
|
-
|
|
861
|
+
const x = b.find((A) => A.badge) ?? b[0];
|
|
862
|
+
x && s(x);
|
|
863
863
|
}
|
|
864
|
-
|
|
865
|
-
plans_shown:
|
|
866
|
-
default_selected_plan: n?.id ||
|
|
867
|
-
}),
|
|
864
|
+
d.current || (p?.trackPlanPageViewed?.(), T && p?.trackPlanScreenViewed?.({
|
|
865
|
+
plans_shown: b.map((x) => x.id),
|
|
866
|
+
default_selected_plan: n?.id || b.find((x) => x.badge)?.id || b[0]?.id || ""
|
|
867
|
+
}), d.current = !0);
|
|
868
868
|
} else
|
|
869
|
-
|
|
870
|
-
}, [t,
|
|
869
|
+
d.current = !1;
|
|
870
|
+
}, [t, b, n, s, p]);
|
|
871
871
|
const X = () => {
|
|
872
|
-
|
|
872
|
+
p?.trackPlanPageClosed?.(), l();
|
|
873
873
|
};
|
|
874
874
|
return Be(t), t ? Le(
|
|
875
875
|
/* @__PURE__ */ e.jsxs(
|
|
@@ -878,15 +878,15 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
878
878
|
className: i.overlay,
|
|
879
879
|
role: "dialog",
|
|
880
880
|
"aria-modal": "true",
|
|
881
|
-
"aria-label":
|
|
881
|
+
"aria-label": u?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
882
882
|
children: [
|
|
883
883
|
/* @__PURE__ */ e.jsxs(
|
|
884
884
|
"div",
|
|
885
885
|
{
|
|
886
886
|
ref: c,
|
|
887
|
-
className:
|
|
887
|
+
className: T ? i.sheetFullScreen : i.sheet,
|
|
888
888
|
children: [
|
|
889
|
-
|
|
889
|
+
T ? /* @__PURE__ */ e.jsxs("div", { className: i.headerFull, children: [
|
|
890
890
|
/* @__PURE__ */ e.jsx(
|
|
891
891
|
"button",
|
|
892
892
|
{
|
|
@@ -897,41 +897,41 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
897
897
|
children: /* @__PURE__ */ e.jsx(Se, {})
|
|
898
898
|
}
|
|
899
899
|
),
|
|
900
|
-
/* @__PURE__ */ e.jsx("h2", { className: i.titleFull, children:
|
|
900
|
+
/* @__PURE__ */ e.jsx("h2", { className: i.titleFull, children: u?.("planSheetTitle") ?? "Choose Your Kundli Plan" })
|
|
901
901
|
] }) : /* @__PURE__ */ e.jsx(
|
|
902
902
|
na,
|
|
903
903
|
{
|
|
904
|
-
title:
|
|
904
|
+
title: u?.("planSheetTitle") ?? "Choose Your Kundli Plan",
|
|
905
905
|
onBack: X
|
|
906
906
|
}
|
|
907
907
|
),
|
|
908
908
|
/* @__PURE__ */ e.jsx(
|
|
909
909
|
"div",
|
|
910
910
|
{
|
|
911
|
-
ref:
|
|
911
|
+
ref: k,
|
|
912
912
|
className: i.plansContainer,
|
|
913
913
|
role: "radiogroup",
|
|
914
914
|
"aria-label": "Kundli plans",
|
|
915
|
-
children:
|
|
915
|
+
children: b.map((x) => /* @__PURE__ */ e.jsx(
|
|
916
916
|
sa,
|
|
917
917
|
{
|
|
918
|
-
plan:
|
|
919
|
-
isSelected:
|
|
920
|
-
t:
|
|
921
|
-
onSelect: (
|
|
922
|
-
const f =
|
|
923
|
-
f && (
|
|
918
|
+
plan: x,
|
|
919
|
+
isSelected: x.id === R,
|
|
920
|
+
t: u,
|
|
921
|
+
onSelect: (A) => {
|
|
922
|
+
const f = b.find((H) => H.id === A);
|
|
923
|
+
f && (p?.trackPlanSelected?.({
|
|
924
924
|
planId: f.id,
|
|
925
925
|
planName: f.title,
|
|
926
|
-
...
|
|
926
|
+
...T ? {
|
|
927
927
|
price: f.price,
|
|
928
928
|
includes_consultation: !!(f.astrologers && f.astrologers.length > 0),
|
|
929
|
-
cta_label: f.astrologers && f.astrologers.length > 0 ?
|
|
929
|
+
cta_label: f.astrologers && f.astrologers.length > 0 ? u?.("planSelectConsultationSlot") ?? "Select consultation slot →" : u?.("planProceedToPayment") ?? "Proceed to Payment"
|
|
930
930
|
} : {}
|
|
931
931
|
}), s(f));
|
|
932
932
|
}
|
|
933
933
|
},
|
|
934
|
-
|
|
934
|
+
x.id
|
|
935
935
|
))
|
|
936
936
|
}
|
|
937
937
|
),
|
|
@@ -942,11 +942,11 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
942
942
|
disabled: !n,
|
|
943
943
|
onClick: () => {
|
|
944
944
|
if (n) {
|
|
945
|
-
if (
|
|
946
|
-
|
|
945
|
+
if (T && n.astrologers && n.astrologers.length > 0) {
|
|
946
|
+
p?.trackSelectConsultationSlotClicked?.({
|
|
947
947
|
planId: n.id,
|
|
948
948
|
planName: n.title
|
|
949
|
-
}),
|
|
949
|
+
}), p?.trackPlanProceedClicked?.({
|
|
950
950
|
planId: n.id,
|
|
951
951
|
planName: n.title,
|
|
952
952
|
cta_type: "confirm_consultation_slot",
|
|
@@ -954,34 +954,34 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
954
954
|
}), K(!0);
|
|
955
955
|
return;
|
|
956
956
|
}
|
|
957
|
-
|
|
957
|
+
p?.trackPlanProceedClicked?.({
|
|
958
958
|
planId: n.id,
|
|
959
959
|
planName: n.title,
|
|
960
|
-
...
|
|
960
|
+
...T ? { cta_type: "proceed", next_step: "payment" } : {}
|
|
961
961
|
}), m(n), l();
|
|
962
962
|
}
|
|
963
963
|
},
|
|
964
|
-
children: n ?
|
|
964
|
+
children: n ? T && n.astrologers && n.astrologers.length > 0 ? u?.("planSelectConsultationSlot") ?? "Select consultation slot →" : u?.("planProceedToPayment") ?? n.price + "Proceed to Payment" : "Select a plan"
|
|
965
965
|
}
|
|
966
966
|
) })
|
|
967
967
|
]
|
|
968
968
|
}
|
|
969
969
|
),
|
|
970
|
-
|
|
970
|
+
T && n?.astrologers && n.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
|
|
971
971
|
kn,
|
|
972
972
|
{
|
|
973
|
-
isOpen:
|
|
973
|
+
isOpen: L,
|
|
974
974
|
onClose: () => K(!1),
|
|
975
975
|
astrologers: n.astrologers,
|
|
976
|
-
t:
|
|
977
|
-
analytics:
|
|
978
|
-
onProceed: (
|
|
979
|
-
|
|
976
|
+
t: u,
|
|
977
|
+
analytics: p,
|
|
978
|
+
onProceed: (x) => {
|
|
979
|
+
p?.trackPlanProceedClicked?.({
|
|
980
980
|
planId: n.id,
|
|
981
981
|
planName: n.title,
|
|
982
982
|
cta_type: "proceed",
|
|
983
983
|
next_step: "payment"
|
|
984
|
-
}), m(n,
|
|
984
|
+
}), m(n, x), K(!1), l();
|
|
985
985
|
}
|
|
986
986
|
}
|
|
987
987
|
)
|
|
@@ -990,8 +990,8 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
990
990
|
),
|
|
991
991
|
document.body
|
|
992
992
|
) : null;
|
|
993
|
-
},
|
|
994
|
-
overlay:
|
|
993
|
+
}, jn = "_overlay_i0ykt_3", Cn = "_sheet_i0ykt_14", Sn = "_title_i0ykt_40", Tn = "_columns_i0ykt_50", wn = "_column_i0ykt_50", Nn = "_row_i0ykt_63", Ln = "_rowLabel_i0ykt_70", Bn = "_rowValue_i0ykt_76", Dn = "_actions_i0ykt_85", Pn = "_editBtn_i0ykt_90", In = "_confirmBtn_i0ykt_91", M = {
|
|
994
|
+
overlay: jn,
|
|
995
995
|
sheet: Cn,
|
|
996
996
|
title: Sn,
|
|
997
997
|
columns: Tn,
|
|
@@ -1015,11 +1015,11 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
1015
1015
|
birthTimeFormat: l,
|
|
1016
1016
|
t: n,
|
|
1017
1017
|
onClose: s,
|
|
1018
|
-
onEdit:
|
|
1018
|
+
onEdit: _,
|
|
1019
1019
|
onConfirm: m
|
|
1020
1020
|
}) => {
|
|
1021
1021
|
if (Be(!!t), !t) return null;
|
|
1022
|
-
const
|
|
1022
|
+
const u = t.birthTimeUnknown ? n("birthDetailsTimeUnknown") : l === "24h" ? t.birthTime : Ie(t.birthTime), p = [
|
|
1023
1023
|
[n("birthDetailsLabelFullName"), t.fullName],
|
|
1024
1024
|
// Submitted phone is "+91-9876543210".
|
|
1025
1025
|
[n("birthDetailsLabelPhone"), t.phone?.replace("-", " ")],
|
|
@@ -1032,14 +1032,14 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
1032
1032
|
n("formReportLanguage"),
|
|
1033
1033
|
t.language_code && n(Rn[t.language_code])
|
|
1034
1034
|
]
|
|
1035
|
-
],
|
|
1035
|
+
], g = [
|
|
1036
1036
|
[n("birthDetailsLabelDob"), Re(t.dateOfBirth)],
|
|
1037
|
-
[n("birthDetailsLabelBirthTime"),
|
|
1037
|
+
[n("birthDetailsLabelBirthTime"), u],
|
|
1038
1038
|
[n("birthDetailsLabelBirthPlace"), t.birthPlace]
|
|
1039
|
-
],
|
|
1040
|
-
/* @__PURE__ */ e.jsx("dt", { className: M.rowLabel, children:
|
|
1041
|
-
/* @__PURE__ */ e.jsx("dd", { className: M.rowValue, children:
|
|
1042
|
-
] },
|
|
1039
|
+
], F = (T) => /* @__PURE__ */ e.jsx("dl", { className: M.column, children: T.filter(([, b]) => b).map(([b, R]) => /* @__PURE__ */ e.jsxs("div", { className: M.row, children: [
|
|
1040
|
+
/* @__PURE__ */ e.jsx("dt", { className: M.rowLabel, children: b }),
|
|
1041
|
+
/* @__PURE__ */ e.jsx("dd", { className: M.rowValue, children: R })
|
|
1042
|
+
] }, b)) }), I = n("birthDetailsConfirmTitle");
|
|
1043
1043
|
return Le(
|
|
1044
1044
|
/* @__PURE__ */ e.jsx("div", { className: M.overlay, onClick: s, children: /* @__PURE__ */ e.jsxs(
|
|
1045
1045
|
"div",
|
|
@@ -1047,16 +1047,16 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
1047
1047
|
className: M.sheet,
|
|
1048
1048
|
role: "dialog",
|
|
1049
1049
|
"aria-modal": "true",
|
|
1050
|
-
"aria-label":
|
|
1051
|
-
onClick: (
|
|
1050
|
+
"aria-label": I,
|
|
1051
|
+
onClick: (T) => T.stopPropagation(),
|
|
1052
1052
|
children: [
|
|
1053
|
-
/* @__PURE__ */ e.jsx("h2", { className: M.title, children:
|
|
1053
|
+
/* @__PURE__ */ e.jsx("h2", { className: M.title, children: I }),
|
|
1054
1054
|
/* @__PURE__ */ e.jsxs("div", { className: M.columns, children: [
|
|
1055
|
-
|
|
1056
|
-
|
|
1055
|
+
F(p),
|
|
1056
|
+
F(g)
|
|
1057
1057
|
] }),
|
|
1058
1058
|
/* @__PURE__ */ e.jsxs("div", { className: M.actions, children: [
|
|
1059
|
-
/* @__PURE__ */ e.jsx("button", { type: "button", className: M.editBtn, onClick:
|
|
1059
|
+
/* @__PURE__ */ e.jsx("button", { type: "button", className: M.editBtn, onClick: _, children: n("birthDetailsEdit") }),
|
|
1060
1060
|
/* @__PURE__ */ e.jsx("button", { type: "button", className: M.confirmBtn, onClick: m, children: n("birthDetailsConfirmProceed") })
|
|
1061
1061
|
] })
|
|
1062
1062
|
]
|
|
@@ -1064,56 +1064,42 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
1064
1064
|
) }),
|
|
1065
1065
|
document.body
|
|
1066
1066
|
);
|
|
1067
|
-
}, En = ({
|
|
1067
|
+
}, En = (t, l) => t.dateOfBirth !== l.dateOfBirth || t.birthTime !== l.birthTime || t.birthTimeUnknown !== l.birthTimeUnknown || t.birthPlace !== l.birthPlace, Mn = ({
|
|
1068
1068
|
enabled: t,
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
analytics: s
|
|
1069
|
+
showPlanSheet: l,
|
|
1070
|
+
analytics: n
|
|
1072
1071
|
}) => {
|
|
1073
|
-
const [
|
|
1072
|
+
const [s, _] = y(
|
|
1074
1073
|
null
|
|
1075
|
-
),
|
|
1076
|
-
return
|
|
1077
|
-
|
|
1078
|
-
if (!k) return;
|
|
1079
|
-
const S = [
|
|
1080
|
-
["date", l.dateOfBirth !== k.dateOfBirth],
|
|
1081
|
-
[
|
|
1082
|
-
"time",
|
|
1083
|
-
l.birthTime !== k.birthTime || l.birthTimeUnknown !== k.birthTimeUnknown
|
|
1084
|
-
],
|
|
1085
|
-
["place", l.birthPlace !== k.birthPlace]
|
|
1086
|
-
];
|
|
1087
|
-
for (const [p, I] of S)
|
|
1088
|
-
I && !u.current.has(p) && (u.current.add(p), s?.trackBirthDetailsEditClicked?.({ field: p }));
|
|
1089
|
-
}, [
|
|
1090
|
-
l.dateOfBirth,
|
|
1091
|
-
l.birthTime,
|
|
1092
|
-
l.birthTimeUnknown,
|
|
1093
|
-
l.birthPlace,
|
|
1094
|
-
s
|
|
1095
|
-
]), { showPlanSheetOrConfirm: ce(
|
|
1096
|
-
(k) => {
|
|
1074
|
+
), m = j(null);
|
|
1075
|
+
return { showPlanSheetOrConfirm: ce(
|
|
1076
|
+
(g) => {
|
|
1097
1077
|
if (!t) {
|
|
1098
|
-
|
|
1078
|
+
l(g);
|
|
1099
1079
|
return;
|
|
1100
1080
|
}
|
|
1101
|
-
|
|
1081
|
+
_(g), n?.trackBirthDetailsConfirmScreenImpression?.({
|
|
1082
|
+
dob: g.dateOfBirth,
|
|
1083
|
+
tob: g.birthTimeUnknown ? "unknown" : g.birthTime,
|
|
1084
|
+
pob: g.birthPlace,
|
|
1085
|
+
gender: g.gender ?? ""
|
|
1086
|
+
});
|
|
1102
1087
|
},
|
|
1103
|
-
[t,
|
|
1088
|
+
[t, l, n]
|
|
1104
1089
|
), confirmSheetProps: {
|
|
1105
|
-
values:
|
|
1106
|
-
onClose: () =>
|
|
1090
|
+
values: s,
|
|
1091
|
+
onClose: () => _(null),
|
|
1107
1092
|
onEdit: () => {
|
|
1108
|
-
|
|
1093
|
+
n?.trackBirthDetailsEditClicked?.(), m.current ??= s, _(null);
|
|
1109
1094
|
},
|
|
1110
1095
|
onConfirm: () => {
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1096
|
+
const g = m.current;
|
|
1097
|
+
n?.trackBirthDetailsConfirmClicked?.({
|
|
1098
|
+
edited: !!g && !!s && En(g, s)
|
|
1099
|
+
}), m.current = null, s && l(s), _(null);
|
|
1114
1100
|
}
|
|
1115
1101
|
} };
|
|
1116
|
-
}, Fn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg",
|
|
1102
|
+
}, Fn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", On = (t, l) => Ge[t]?.[l] ?? l, $n = (t, l) => t && Ce.includes(t) ? t : l ? "+1" : "+91", Gn = {
|
|
1117
1103
|
fullName: "",
|
|
1118
1104
|
phone: "",
|
|
1119
1105
|
phoneCountryCode: "",
|
|
@@ -1129,41 +1115,41 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
1129
1115
|
locale: l,
|
|
1130
1116
|
showLanguageSelector: n = !0,
|
|
1131
1117
|
onBack: s,
|
|
1132
|
-
initialValues:
|
|
1118
|
+
initialValues: _,
|
|
1133
1119
|
onProceed: m,
|
|
1134
|
-
onProceedGuidance:
|
|
1135
|
-
proceedHref:
|
|
1136
|
-
originalPriceLabel:
|
|
1137
|
-
discountedPriceLabel:
|
|
1138
|
-
googleMapsApiKey:
|
|
1139
|
-
atlasSearchLocalities:
|
|
1140
|
-
googleMapsAutocompleteEnabled:
|
|
1141
|
-
analytics:
|
|
1120
|
+
onProceedGuidance: u,
|
|
1121
|
+
proceedHref: p,
|
|
1122
|
+
originalPriceLabel: g,
|
|
1123
|
+
discountedPriceLabel: F,
|
|
1124
|
+
googleMapsApiKey: I = "",
|
|
1125
|
+
atlasSearchLocalities: T,
|
|
1126
|
+
googleMapsAutocompleteEnabled: b,
|
|
1127
|
+
analytics: R
|
|
1142
1128
|
}) => {
|
|
1143
|
-
const c = xe(),
|
|
1144
|
-
|
|
1129
|
+
const c = xe(), k = Ae(), d = c !== null, L = d ? c.locale : l, K = L ?? k?.locale ?? "en", [X, x] = y(K), A = d ? c.locale : X, f = d ? c.setLocale : x, [H, W] = y(!1), Y = j(null), J = j(
|
|
1130
|
+
L
|
|
1145
1131
|
), ae = j(
|
|
1146
|
-
|
|
1132
|
+
k?.locale
|
|
1147
1133
|
);
|
|
1148
1134
|
C(() => {
|
|
1149
1135
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
1150
1136
|
}, []);
|
|
1151
|
-
const
|
|
1137
|
+
const P = (o) => On(A, o);
|
|
1152
1138
|
C(() => {
|
|
1153
|
-
|
|
1154
|
-
}, [
|
|
1155
|
-
if (
|
|
1156
|
-
const o =
|
|
1139
|
+
L && J.current !== L && f(L), J.current = L;
|
|
1140
|
+
}, [L, f]), C(() => {
|
|
1141
|
+
if (L) return;
|
|
1142
|
+
const o = k?.locale;
|
|
1157
1143
|
o && ae.current !== o && f(o), ae.current = o;
|
|
1158
|
-
}, [
|
|
1144
|
+
}, [k?.locale, L, f]);
|
|
1159
1145
|
const [_e, O] = y({
|
|
1160
|
-
|
|
1161
|
-
...
|
|
1162
|
-
phone:
|
|
1163
|
-
}), q =
|
|
1164
|
-
() =>
|
|
1146
|
+
...Gn,
|
|
1147
|
+
..._,
|
|
1148
|
+
phone: _?.phone ?? ""
|
|
1149
|
+
}), q = d ? c?.config.isGlobal ?? !0 : !0, v = d ? c.formValues : _e, ne = d ? c.setFormValues : O, [S, U] = y(
|
|
1150
|
+
() => $n(v.phoneCountryCode, q)
|
|
1165
1151
|
), oe = j(
|
|
1166
|
-
!!(
|
|
1152
|
+
!!(v.phoneCountryCode && Ce.includes(v.phoneCountryCode))
|
|
1167
1153
|
), Q = j(!1), ue = ce((o) => {
|
|
1168
1154
|
Q.current = !0, U(o);
|
|
1169
1155
|
}, []), z = j(!0);
|
|
@@ -1174,61 +1160,60 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
1174
1160
|
}
|
|
1175
1161
|
oe.current || Q.current || U(q ? "+1" : "+91");
|
|
1176
1162
|
}, [q]), C(() => {
|
|
1177
|
-
if (!
|
|
1178
|
-
const o =
|
|
1179
|
-
o && Ce.includes(o) && o !==
|
|
1180
|
-
}, [
|
|
1181
|
-
const ge =
|
|
1163
|
+
if (!d || Q.current) return;
|
|
1164
|
+
const o = v.phoneCountryCode;
|
|
1165
|
+
o && Ce.includes(o) && o !== S && (oe.current = !0, U(o));
|
|
1166
|
+
}, [d, v.phoneCountryCode]);
|
|
1167
|
+
const ge = d ? c.goToPage : s, ee = d ? c.onProceed : m, Z = d ? c.onProceedGuidance : u, le = d ? c.config.proceedHref : p, me = d ? c.config.originalPriceLabel : g, w = d ? c.config.discountedPriceLabel : F, pe = d ? c.config.showLanguageSelector ?? !0 : n, N = (d ? c?.config?.analytics : R) ?? R;
|
|
1182
1168
|
C(() => {
|
|
1183
1169
|
if (!H) return;
|
|
1184
1170
|
const o = (h) => {
|
|
1185
|
-
Y.current && !Y.current.contains(h.target) &&
|
|
1171
|
+
Y.current && !Y.current.contains(h.target) && W(!1);
|
|
1186
1172
|
};
|
|
1187
1173
|
return document.addEventListener("mousedown", o), () => document.removeEventListener("mousedown", o);
|
|
1188
1174
|
}, [H]);
|
|
1189
|
-
const [
|
|
1190
|
-
te.current = o,
|
|
1191
|
-
}, []), { showPlanSheetOrConfirm: se, confirmSheetProps: he } =
|
|
1175
|
+
const [V, E] = y(!1), [B, ve] = y(null), te = j(null), re = ce((o) => {
|
|
1176
|
+
te.current = o, E(!0);
|
|
1177
|
+
}, []), { showPlanSheetOrConfirm: se, confirmSheetProps: he } = Mn({
|
|
1192
1178
|
enabled: !!c?.config.enableBirthDetailsConfirmation,
|
|
1193
|
-
formValues: b,
|
|
1194
1179
|
showPlanSheet: re,
|
|
1195
|
-
analytics:
|
|
1180
|
+
analytics: N
|
|
1196
1181
|
}), fe = j(!1);
|
|
1197
1182
|
C(() => {
|
|
1198
|
-
if (fe.current || !
|
|
1183
|
+
if (fe.current || !d || !c?.config.autoOpenPlanSheet || c?.config.variant !== "v1")
|
|
1199
1184
|
return;
|
|
1200
1185
|
fe.current = !0;
|
|
1201
|
-
const o =
|
|
1186
|
+
const o = v.email.trim();
|
|
1202
1187
|
if (o && !Ee(o)) return;
|
|
1203
|
-
const h = (
|
|
1188
|
+
const h = (v.phone ?? "").trim();
|
|
1204
1189
|
re({
|
|
1205
|
-
...
|
|
1206
|
-
phone: h && `${
|
|
1190
|
+
...v,
|
|
1191
|
+
phone: h && `${S}-${h}`
|
|
1207
1192
|
});
|
|
1208
|
-
}, [
|
|
1193
|
+
}, [d, c?.config.autoOpenPlanSheet, c?.config.variant, v, S, re]);
|
|
1209
1194
|
const be = ce(() => {
|
|
1210
|
-
if (!te.current || !
|
|
1211
|
-
|
|
1212
|
-
planId:
|
|
1213
|
-
planName:
|
|
1214
|
-
price:
|
|
1195
|
+
if (!te.current || !B) return;
|
|
1196
|
+
N?.trackPlanProceedClicked?.({
|
|
1197
|
+
planId: B.id,
|
|
1198
|
+
planName: B.title,
|
|
1199
|
+
price: B.price,
|
|
1215
1200
|
currency: q ? "USD" : "INR"
|
|
1216
1201
|
});
|
|
1217
|
-
const o = { ...te.current, _selectedPlan:
|
|
1218
|
-
|
|
1219
|
-
}, [
|
|
1202
|
+
const o = { ...te.current, _selectedPlan: B };
|
|
1203
|
+
B.id === Me && Z ? Z(o) : ee?.(o), E(!1), te.current = null;
|
|
1204
|
+
}, [B, ee, Z]), ke = c?.config.imageComponent ?? Ne, a = pe ? /* @__PURE__ */ e.jsxs("div", { className: G.langDropdownWrap, ref: Y, children: [
|
|
1220
1205
|
/* @__PURE__ */ e.jsxs(
|
|
1221
1206
|
"button",
|
|
1222
1207
|
{
|
|
1223
1208
|
type: "button",
|
|
1224
1209
|
className: G.langTrigger,
|
|
1225
1210
|
onClick: () => {
|
|
1226
|
-
|
|
1211
|
+
N?.trackLanguageClickedFe?.({ language: A }), W((o) => !o);
|
|
1227
1212
|
},
|
|
1228
1213
|
"aria-expanded": H,
|
|
1229
1214
|
"aria-haspopup": "listbox",
|
|
1230
1215
|
id: "kundli-form-lang",
|
|
1231
|
-
"aria-label":
|
|
1216
|
+
"aria-label": P("language"),
|
|
1232
1217
|
children: [
|
|
1233
1218
|
/* @__PURE__ */ e.jsx(
|
|
1234
1219
|
ke,
|
|
@@ -1241,7 +1226,7 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
1241
1226
|
loading: "eager"
|
|
1242
1227
|
}
|
|
1243
1228
|
),
|
|
1244
|
-
/* @__PURE__ */ e.jsx("span", { className: G.langLabel, children: Te[
|
|
1229
|
+
/* @__PURE__ */ e.jsx("span", { className: G.langLabel, children: Te[A] })
|
|
1245
1230
|
]
|
|
1246
1231
|
}
|
|
1247
1232
|
),
|
|
@@ -1251,16 +1236,16 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
1251
1236
|
className: G.langMenu,
|
|
1252
1237
|
role: "listbox",
|
|
1253
1238
|
"aria-labelledby": "kundli-form-lang",
|
|
1254
|
-
"aria-activedescendant": `kundli-form-lang-option-${
|
|
1255
|
-
children:
|
|
1239
|
+
"aria-activedescendant": `kundli-form-lang-option-${A}`,
|
|
1240
|
+
children: Fe.map((o) => /* @__PURE__ */ e.jsx(
|
|
1256
1241
|
"li",
|
|
1257
1242
|
{
|
|
1258
1243
|
id: `kundli-form-lang-option-${o}`,
|
|
1259
1244
|
role: "option",
|
|
1260
|
-
"aria-selected": o ===
|
|
1245
|
+
"aria-selected": o === A,
|
|
1261
1246
|
className: G.langOption,
|
|
1262
1247
|
onClick: () => {
|
|
1263
|
-
|
|
1248
|
+
N?.trackLanguageChangedFe?.({ newLanguage: o }), f(o), W(!1);
|
|
1264
1249
|
},
|
|
1265
1250
|
children: Te[o]
|
|
1266
1251
|
},
|
|
@@ -1273,47 +1258,47 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
1273
1258
|
/* @__PURE__ */ e.jsx(
|
|
1274
1259
|
lt,
|
|
1275
1260
|
{
|
|
1276
|
-
t:
|
|
1277
|
-
logoUrl:
|
|
1261
|
+
t: P,
|
|
1262
|
+
logoUrl: d ? c.config.logoUrl : void 0,
|
|
1278
1263
|
languageSelector: a,
|
|
1279
1264
|
className: G.kundliHeaderNoBorder
|
|
1280
1265
|
}
|
|
1281
1266
|
),
|
|
1282
1267
|
/* @__PURE__ */ e.jsx("div", { className: G.headerSeparator, "aria-hidden": !0 }),
|
|
1283
1268
|
/* @__PURE__ */ e.jsxs("main", { className: G.main, children: [
|
|
1284
|
-
/* @__PURE__ */ e.jsx(Ye, { t:
|
|
1269
|
+
/* @__PURE__ */ e.jsx(Ye, { t: P, onBack: ge }),
|
|
1285
1270
|
/* @__PURE__ */ e.jsx(
|
|
1286
1271
|
Oe,
|
|
1287
1272
|
{
|
|
1288
|
-
t:
|
|
1289
|
-
values:
|
|
1273
|
+
t: P,
|
|
1274
|
+
values: v,
|
|
1290
1275
|
onChange: ne,
|
|
1291
|
-
googleMapsApiKey:
|
|
1292
|
-
atlasSearchLocalities:
|
|
1293
|
-
googleMapsAutocompleteEnabled:
|
|
1294
|
-
phoneIsdCode:
|
|
1276
|
+
googleMapsApiKey: I,
|
|
1277
|
+
atlasSearchLocalities: T,
|
|
1278
|
+
googleMapsAutocompleteEnabled: b,
|
|
1279
|
+
phoneIsdCode: S,
|
|
1295
1280
|
onPhoneIsdCodeChange: ue,
|
|
1296
|
-
showV1ExtraFields:
|
|
1297
|
-
analytics:
|
|
1281
|
+
showV1ExtraFields: d ? c?.config.variant === "v1" : !1,
|
|
1282
|
+
analytics: N
|
|
1298
1283
|
}
|
|
1299
1284
|
)
|
|
1300
1285
|
] }),
|
|
1301
1286
|
/* @__PURE__ */ e.jsx(
|
|
1302
1287
|
$e,
|
|
1303
1288
|
{
|
|
1304
|
-
t:
|
|
1305
|
-
values:
|
|
1306
|
-
phoneIsdCode:
|
|
1289
|
+
t: P,
|
|
1290
|
+
values: v,
|
|
1291
|
+
phoneIsdCode: S,
|
|
1307
1292
|
onProceed: ee,
|
|
1308
1293
|
onProceedGuidance: Z,
|
|
1309
1294
|
href: le,
|
|
1310
1295
|
originalPriceLabel: me,
|
|
1311
|
-
discountedPriceLabel:
|
|
1312
|
-
analytics:
|
|
1296
|
+
discountedPriceLabel: w,
|
|
1297
|
+
analytics: N,
|
|
1313
1298
|
showPlanSheet: se,
|
|
1314
1299
|
confirmPlan: be,
|
|
1315
|
-
planSheetOpen:
|
|
1316
|
-
selectedPlan:
|
|
1300
|
+
planSheetOpen: V,
|
|
1301
|
+
selectedPlan: B
|
|
1317
1302
|
}
|
|
1318
1303
|
),
|
|
1319
1304
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1321,26 +1306,26 @@ const We = "_header_19172_1", Ve = "_centered_19172_8", we = {
|
|
|
1321
1306
|
{
|
|
1322
1307
|
...he,
|
|
1323
1308
|
birthTimeFormat: c?.config.birthTimeFormat ?? "12h",
|
|
1324
|
-
t:
|
|
1309
|
+
t: P
|
|
1325
1310
|
}
|
|
1326
1311
|
),
|
|
1327
1312
|
c?.config.variant === "v1" && /* @__PURE__ */ e.jsx(
|
|
1328
|
-
|
|
1313
|
+
yn,
|
|
1329
1314
|
{
|
|
1330
|
-
isOpen:
|
|
1331
|
-
onClose: () =>
|
|
1332
|
-
selectedPlan:
|
|
1315
|
+
isOpen: V,
|
|
1316
|
+
onClose: () => E(!1),
|
|
1317
|
+
selectedPlan: B,
|
|
1333
1318
|
onSelectPlan: ve,
|
|
1334
1319
|
onProceed: () => {
|
|
1335
1320
|
be?.();
|
|
1336
1321
|
},
|
|
1337
1322
|
plans: c?.config.plans,
|
|
1338
|
-
t:
|
|
1339
|
-
analytics:
|
|
1323
|
+
t: P,
|
|
1324
|
+
analytics: N
|
|
1340
1325
|
}
|
|
1341
1326
|
)
|
|
1342
1327
|
] });
|
|
1343
|
-
},
|
|
1328
|
+
}, Yn = {
|
|
1344
1329
|
banner_clicked_fe: "banner_clicked_fe",
|
|
1345
1330
|
primary_cta_clicked_fe: "primary_cta_clicked_fe",
|
|
1346
1331
|
language_changed_fe: "language_changed_fe",
|
|
@@ -1421,14 +1406,14 @@ export {
|
|
|
1421
1406
|
An as B,
|
|
1422
1407
|
bn as C,
|
|
1423
1408
|
Ye as F,
|
|
1424
|
-
|
|
1409
|
+
Yn as K,
|
|
1425
1410
|
Wn as a,
|
|
1426
1411
|
kn as b,
|
|
1427
1412
|
lt as c,
|
|
1428
1413
|
Se as d,
|
|
1429
|
-
|
|
1430
|
-
|
|
1414
|
+
Mn as e,
|
|
1415
|
+
yn as f,
|
|
1431
1416
|
vn as g,
|
|
1432
1417
|
Be as u
|
|
1433
1418
|
};
|
|
1434
|
-
//# sourceMappingURL=analytics-
|
|
1419
|
+
//# sourceMappingURL=analytics-B-v30ZYS.js.map
|