@srimandir/kundli-generator 7.5.1 → 7.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{analytics-Cwq8wkab.js → analytics-Fyq-Amgh.js} +62 -60
- package/dist/{analytics-Cwq8wkab.js.map → analytics-Fyq-Amgh.js.map} +1 -1
- package/dist/{criticalCss-Ce4Mw88p.js → criticalCss-ZT-kr9NW.js} +2 -2
- package/dist/{criticalCss-Ce4Mw88p.js.map → criticalCss-ZT-kr9NW.js.map} +1 -1
- package/dist/form-entry.js +1 -1
- package/dist/kundli-generator.js +2 -2
- package/dist/page-entry.js +2 -2
- package/package.json +2 -2
|
@@ -46,7 +46,7 @@ function Yr() {
|
|
|
46
46
|
}
|
|
47
47
|
var V = !1, W = !1, B = !1, $ = !1, A = !1, S;
|
|
48
48
|
S = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
|
-
function
|
|
49
|
+
function re(e) {
|
|
50
50
|
return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || A || e === b || e === O || e === P || $ || e === I || V || W || B || typeof e == "object" && e !== null && (e.$$typeof === u || e.$$typeof === E || e.$$typeof === g || e.$$typeof === T || e.$$typeof === v || // 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
|
|
@@ -108,14 +108,14 @@ function Yr() {
|
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
111
|
-
var G = Object.assign, H = 0,
|
|
111
|
+
var G = Object.assign, H = 0, te, ge, X, Z, ie, ae, pe;
|
|
112
112
|
function _e() {
|
|
113
113
|
}
|
|
114
114
|
_e.__reactDisabledLog = !0;
|
|
115
115
|
function ue() {
|
|
116
116
|
{
|
|
117
117
|
if (H === 0) {
|
|
118
|
-
|
|
118
|
+
te = console.log, ge = console.info, X = console.warn, Z = console.error, ie = console.group, ae = console.groupCollapsed, pe = console.groupEnd;
|
|
119
119
|
var e = {
|
|
120
120
|
configurable: !0,
|
|
121
121
|
enumerable: !0,
|
|
@@ -145,7 +145,7 @@ function Yr() {
|
|
|
145
145
|
};
|
|
146
146
|
Object.defineProperties(console, {
|
|
147
147
|
log: G({}, e, {
|
|
148
|
-
value:
|
|
148
|
+
value: te
|
|
149
149
|
}),
|
|
150
150
|
info: G({}, e, {
|
|
151
151
|
value: ge
|
|
@@ -160,7 +160,7 @@ function Yr() {
|
|
|
160
160
|
value: ie
|
|
161
161
|
}),
|
|
162
162
|
groupCollapsed: G({}, e, {
|
|
163
|
-
value:
|
|
163
|
+
value: ae
|
|
164
164
|
}),
|
|
165
165
|
groupEnd: G({}, e, {
|
|
166
166
|
value: pe
|
|
@@ -170,18 +170,18 @@ function Yr() {
|
|
|
170
170
|
H < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
var se = m.ReactCurrentDispatcher,
|
|
173
|
+
var se = m.ReactCurrentDispatcher, ee;
|
|
174
174
|
function le(e, i, l) {
|
|
175
175
|
{
|
|
176
|
-
if (
|
|
176
|
+
if (ee === void 0)
|
|
177
177
|
try {
|
|
178
178
|
throw Error();
|
|
179
179
|
} catch (N) {
|
|
180
180
|
var p = N.stack.trim().match(/\n( *(at )?)/);
|
|
181
|
-
|
|
181
|
+
ee = p && p[1] || "";
|
|
182
182
|
}
|
|
183
183
|
return `
|
|
184
|
-
` +
|
|
184
|
+
` + ee + e;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
var ce = !1, Y;
|
|
@@ -554,7 +554,7 @@ Check the top-level render call using <` + l + ">.");
|
|
|
554
554
|
var lr = {};
|
|
555
555
|
function cr(e, i, l, p, N, L) {
|
|
556
556
|
{
|
|
557
|
-
var C =
|
|
557
|
+
var C = re(e);
|
|
558
558
|
if (!C) {
|
|
559
559
|
var w = "";
|
|
560
560
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
@@ -1156,15 +1156,15 @@ const rr = _r(null), ct = {
|
|
|
1156
1156
|
proceedHref: $,
|
|
1157
1157
|
originalPriceLabel: A,
|
|
1158
1158
|
discountedPriceLabel: S,
|
|
1159
|
-
discountPillLabel:
|
|
1159
|
+
discountPillLabel: re,
|
|
1160
1160
|
analytics: z,
|
|
1161
1161
|
onProceedGuidance: D,
|
|
1162
1162
|
onLocaleChange: j,
|
|
1163
1163
|
imageComponent: G = Ye,
|
|
1164
1164
|
resolvedUtmBannerImageUrl: H,
|
|
1165
|
-
children:
|
|
1165
|
+
children: te
|
|
1166
1166
|
}) => {
|
|
1167
|
-
const [ge, X] = U("landing"), [Z, ie] = U(t ?? "en"), [
|
|
1167
|
+
const [ge, X] = U("landing"), [Z, ie] = U(t ?? "en"), [ae, pe] = U({
|
|
1168
1168
|
...ct,
|
|
1169
1169
|
...g
|
|
1170
1170
|
}), _e = F(!0);
|
|
@@ -1208,7 +1208,7 @@ const rr = _r(null), ct = {
|
|
|
1208
1208
|
proceedHref: $,
|
|
1209
1209
|
originalPriceLabel: A,
|
|
1210
1210
|
discountedPriceLabel: S,
|
|
1211
|
-
discountPillLabel:
|
|
1211
|
+
discountPillLabel: re,
|
|
1212
1212
|
analytics: z,
|
|
1213
1213
|
onProceedGuidance: D,
|
|
1214
1214
|
onLocaleChange: j,
|
|
@@ -1242,7 +1242,7 @@ const rr = _r(null), ct = {
|
|
|
1242
1242
|
$,
|
|
1243
1243
|
A,
|
|
1244
1244
|
S,
|
|
1245
|
-
|
|
1245
|
+
re,
|
|
1246
1246
|
z,
|
|
1247
1247
|
D,
|
|
1248
1248
|
j,
|
|
@@ -1253,22 +1253,22 @@ const rr = _r(null), ct = {
|
|
|
1253
1253
|
X("form");
|
|
1254
1254
|
}, [ue.analytics]), se = we(() => {
|
|
1255
1255
|
X("landing"), ue.onBack?.();
|
|
1256
|
-
}, [ue.onBack]),
|
|
1256
|
+
}, [ue.onBack]), ee = Xe(
|
|
1257
1257
|
() => ({
|
|
1258
1258
|
view: ge,
|
|
1259
1259
|
locale: Z,
|
|
1260
1260
|
setLocale: ie,
|
|
1261
1261
|
config: ue,
|
|
1262
|
-
formValues:
|
|
1262
|
+
formValues: ae,
|
|
1263
1263
|
setFormValues: pe,
|
|
1264
1264
|
goToForm: be,
|
|
1265
1265
|
goToPage: se,
|
|
1266
1266
|
onProceed: ue.onProceed,
|
|
1267
1267
|
onProceedGuidance: ue.onProceedGuidance
|
|
1268
1268
|
}),
|
|
1269
|
-
[ge, Z, ue,
|
|
1269
|
+
[ge, Z, ue, ae, be, se]
|
|
1270
1270
|
);
|
|
1271
|
-
return /* @__PURE__ */ r.jsx(rr.Provider, { value:
|
|
1271
|
+
return /* @__PURE__ */ r.jsx(rr.Provider, { value: ee, children: te });
|
|
1272
1272
|
};
|
|
1273
1273
|
function Ie() {
|
|
1274
1274
|
return er(rr);
|
|
@@ -1412,11 +1412,11 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1412
1412
|
sessionToken: m.current ?? void 0
|
|
1413
1413
|
};
|
|
1414
1414
|
d && ($.componentRestrictions = { country: d });
|
|
1415
|
-
const A = await new Promise((S,
|
|
1415
|
+
const A = await new Promise((S, re) => {
|
|
1416
1416
|
M.current.getPlacePredictions(
|
|
1417
1417
|
$,
|
|
1418
1418
|
(z, D) => {
|
|
1419
|
-
D === google.maps.places.PlacesServiceStatus.OK && z ? S(z) : D === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) :
|
|
1419
|
+
D === google.maps.places.PlacesServiceStatus.OK && z ? S(z) : D === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) : re(new Error(`Places API error: ${D}`));
|
|
1420
1420
|
}
|
|
1421
1421
|
);
|
|
1422
1422
|
});
|
|
@@ -1449,22 +1449,22 @@ const ua = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1449
1449
|
fields: ["geometry", "address_components", "formatted_address"],
|
|
1450
1450
|
sessionToken: m.current ?? void 0
|
|
1451
1451
|
},
|
|
1452
|
-
(H,
|
|
1453
|
-
|
|
1452
|
+
(H, te) => {
|
|
1453
|
+
te === google.maps.places.PlacesServiceStatus.OK && H ? j(H) : G(new Error(`Place details error: ${te}`));
|
|
1454
1454
|
}
|
|
1455
1455
|
);
|
|
1456
1456
|
}
|
|
1457
1457
|
);
|
|
1458
1458
|
m.current = new google.maps.places.AutocompleteSessionToken();
|
|
1459
1459
|
const A = $.geometry?.location?.lat() || 0, S = $.geometry?.location?.lng() || 0;
|
|
1460
|
-
let
|
|
1460
|
+
let re = "", z = "", D = "";
|
|
1461
1461
|
return $.address_components?.forEach((j) => {
|
|
1462
|
-
j.types.includes("locality") && (
|
|
1462
|
+
j.types.includes("locality") && (re = j.long_name), j.types.includes("administrative_area_level_1") && (z = j.long_name), j.types.includes("country") && (D = j.long_name);
|
|
1463
1463
|
}), {
|
|
1464
1464
|
display_name: $.formatted_address || "",
|
|
1465
1465
|
lat: A,
|
|
1466
1466
|
lng: S,
|
|
1467
|
-
city:
|
|
1467
|
+
city: re,
|
|
1468
1468
|
state: z,
|
|
1469
1469
|
country: D
|
|
1470
1470
|
};
|
|
@@ -1636,12 +1636,12 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1636
1636
|
birthTime: () => u?.trackTimeFilled?.(),
|
|
1637
1637
|
birthPlace: () => u?.trackPlaceOfBirthChosen?.()
|
|
1638
1638
|
}[a]?.());
|
|
1639
|
-
},
|
|
1639
|
+
}, re = (a) => {
|
|
1640
1640
|
const s = a.target.value;
|
|
1641
1641
|
s.trim() && u?.trackEmailSectionFilled?.({ email: s });
|
|
1642
1642
|
}, z = Q.trim().toLowerCase(), D = wr.filter((a) => z ? a.country.toLowerCase().includes(z) || a.code.includes(z) : !0), j = F(null);
|
|
1643
1643
|
F(null);
|
|
1644
|
-
const G = F(null), H = F(0),
|
|
1644
|
+
const G = F(null), H = F(0), te = F(null), [ge, X] = U(!1), [Z, ie] = U({ hour12: 12, minute: "00", meridiem: "AM" }), ae = (a) => String(a).padStart(2, "0"), pe = (a) => {
|
|
1645
1645
|
const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
|
|
1646
1646
|
if (!s) return a;
|
|
1647
1647
|
const R = Number(s[1]), me = s[2], Oe = R >= 12 ? "PM" : "AM";
|
|
@@ -1654,8 +1654,8 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1654
1654
|
}, ue = (a) => {
|
|
1655
1655
|
const s = Math.min(12, Math.max(1, a.hour12)), R = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
|
|
1656
1656
|
let me = s % 12;
|
|
1657
|
-
return a.meridiem === "PM" && (me += 12), `${
|
|
1658
|
-
}, be = F(null), [se,
|
|
1657
|
+
return a.meridiem === "PM" && (me += 12), `${ae(me)}:${R}`;
|
|
1658
|
+
}, be = F(null), [se, ee] = U(!1), le = F(o.birthPlace ?? ""), [ce, Y] = U(
|
|
1659
1659
|
null
|
|
1660
1660
|
), Te = T ?? h ?? _a?.VITE_GOOGLE_MAPS_API_KEY, ye = v ?? M, ne = O ?? f ?? !0, Pe = (o.birthPlace ?? "").trim(), ve = I ? void 0 : "in", he = ma({
|
|
1661
1661
|
apiKey: ne ? Te : void 0,
|
|
@@ -1683,7 +1683,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1683
1683
|
birthPlace: "",
|
|
1684
1684
|
birthPlaceLat: void 0,
|
|
1685
1685
|
birthPlaceLng: void 0
|
|
1686
|
-
}),
|
|
1686
|
+
}), ee(!1);
|
|
1687
1687
|
}, J(() => {
|
|
1688
1688
|
const a = (s) => {
|
|
1689
1689
|
be.current && (be.current.contains(s.target) || Be.current());
|
|
@@ -1727,7 +1727,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1727
1727
|
};
|
|
1728
1728
|
return J(() => {
|
|
1729
1729
|
const a = (s) => {
|
|
1730
|
-
|
|
1730
|
+
te.current && (te.current.contains(s.target) || X(!1));
|
|
1731
1731
|
};
|
|
1732
1732
|
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
1733
1733
|
}, []), J(() => {
|
|
@@ -1915,7 +1915,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1915
1915
|
onChange: (a) => {
|
|
1916
1916
|
A({ email: a.target.value });
|
|
1917
1917
|
},
|
|
1918
|
-
onBlur:
|
|
1918
|
+
onBlur: re,
|
|
1919
1919
|
placeholder: t("formEmailPlaceholder"),
|
|
1920
1920
|
autoComplete: "email",
|
|
1921
1921
|
required: !0,
|
|
@@ -1968,10 +1968,10 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
1968
1968
|
value: o.dateOfBirth,
|
|
1969
1969
|
max: (() => {
|
|
1970
1970
|
const a = /* @__PURE__ */ new Date();
|
|
1971
|
-
return `${a.getFullYear()}-${
|
|
1971
|
+
return `${a.getFullYear()}-${ae(a.getMonth() + 1)}-${ae(a.getDate())}`;
|
|
1972
1972
|
})(),
|
|
1973
1973
|
onChange: (a) => {
|
|
1974
|
-
const s = a.target.value, R = /* @__PURE__ */ new Date(), me = `${R.getFullYear()}-${
|
|
1974
|
+
const s = a.target.value, R = /* @__PURE__ */ new Date(), me = `${R.getFullYear()}-${ae(R.getMonth() + 1)}-${ae(R.getDate())}`;
|
|
1975
1975
|
s && s > me || (A({ dateOfBirth: s }), S("dateOfBirth", s), G.current = null);
|
|
1976
1976
|
},
|
|
1977
1977
|
onFocus: () => u?.trackDobClicked?.(),
|
|
@@ -2038,7 +2038,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2038
2038
|
] })
|
|
2039
2039
|
] })
|
|
2040
2040
|
] }),
|
|
2041
|
-
/* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, ref:
|
|
2041
|
+
/* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, ref: te, children: [
|
|
2042
2042
|
/* @__PURE__ */ r.jsx(
|
|
2043
2043
|
"input",
|
|
2044
2044
|
{
|
|
@@ -2110,7 +2110,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2110
2110
|
value: Z.minute,
|
|
2111
2111
|
onChange: (a) => ie((s) => ({ ...s, minute: a.target.value })),
|
|
2112
2112
|
"aria-label": "Minute",
|
|
2113
|
-
children: Array.from({ length: 60 }, (a, s) =>
|
|
2113
|
+
children: Array.from({ length: 60 }, (a, s) => ae(s)).map(
|
|
2114
2114
|
(a) => /* @__PURE__ */ r.jsx("option", { value: a, children: a }, a)
|
|
2115
2115
|
)
|
|
2116
2116
|
}
|
|
@@ -2264,10 +2264,10 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2264
2264
|
birthPlace: s,
|
|
2265
2265
|
birthPlaceLat: void 0,
|
|
2266
2266
|
birthPlaceLng: void 0
|
|
2267
|
-
}), S("birthPlace", s),
|
|
2267
|
+
}), S("birthPlace", s), ee(!0);
|
|
2268
2268
|
},
|
|
2269
2269
|
onFocus: () => {
|
|
2270
|
-
u?.trackPlaceOfBirthClicked?.(),
|
|
2270
|
+
u?.trackPlaceOfBirthClicked?.(), ee(!0);
|
|
2271
2271
|
},
|
|
2272
2272
|
placeholder: t("formBirthPlacePlaceholder"),
|
|
2273
2273
|
autoComplete: "address-level2"
|
|
@@ -2293,7 +2293,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2293
2293
|
birthPlace: s,
|
|
2294
2294
|
birthPlaceLat: a.lat,
|
|
2295
2295
|
birthPlaceLng: a.lng
|
|
2296
|
-
}), Le(),
|
|
2296
|
+
}), Le(), ee(!1), ne) {
|
|
2297
2297
|
const R = await he.getPlaceDetails(
|
|
2298
2298
|
a.id
|
|
2299
2299
|
);
|
|
@@ -2531,8 +2531,8 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2531
2531
|
const f = Ie(), m = f?.config.isGlobal ?? !0, y = f?.config?.variant, Q = Xe(
|
|
2532
2532
|
() => Sa(o, m, d),
|
|
2533
2533
|
[o, m, d]
|
|
2534
|
-
), V = Q === null, W = y === "v1" && f?.config?.showSheet, B = m ? P ?? t("formDiscountedPrice") : W ? "" : "₹499", $ = f?.config.imageComponent ?? Ye, A = (
|
|
2535
|
-
if (
|
|
2534
|
+
), V = Q === null, W = y === "v1" && f?.config?.showSheet, B = m ? P ?? t("formDiscountedPrice") : W ? "" : "₹499", $ = f?.config.imageComponent ?? Ye, A = (re) => {
|
|
2535
|
+
if (re.preventDefault(), y === "v1" && !V && v?.trackKundliDetailedClicked?.(), !V) {
|
|
2536
2536
|
Q && b?.(Q);
|
|
2537
2537
|
return;
|
|
2538
2538
|
}
|
|
@@ -2924,7 +2924,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2924
2924
|
googleMapsAutocompleteEnabled: u,
|
|
2925
2925
|
analytics: I
|
|
2926
2926
|
}) => {
|
|
2927
|
-
const h = Ie(), M = nt(), f = h !== null, m = f ? h.locale : o, y = m ?? M?.locale ?? "en", [Q, V] = U(y), W = f ? h.locale : Q, B = f ? h.setLocale : V, [$, A] = U(!1), S = F(null),
|
|
2927
|
+
const h = Ie(), M = nt(), f = h !== null, m = f ? h.locale : o, y = m ?? M?.locale ?? "en", [Q, V] = U(y), W = f ? h.locale : Q, B = f ? h.setLocale : V, [$, A] = U(!1), S = F(null), re = F(m), z = F(
|
|
2928
2928
|
M?.locale
|
|
2929
2929
|
);
|
|
2930
2930
|
J(() => {
|
|
@@ -2932,7 +2932,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2932
2932
|
}, []);
|
|
2933
2933
|
const D = (k) => Bn(W, k);
|
|
2934
2934
|
J(() => {
|
|
2935
|
-
m &&
|
|
2935
|
+
m && re.current !== m && B(m), re.current = m;
|
|
2936
2936
|
}, [m, B]), J(() => {
|
|
2937
2937
|
if (m) return;
|
|
2938
2938
|
const k = M?.locale;
|
|
@@ -2942,13 +2942,13 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2942
2942
|
...Dn,
|
|
2943
2943
|
...b,
|
|
2944
2944
|
phone: b?.phone ?? ""
|
|
2945
|
-
}), H = f ? h?.config.isGlobal ?? !0 : !0, [
|
|
2945
|
+
}), H = f ? h?.config.isGlobal ?? !0 : !0, [te, ge] = U(
|
|
2946
2946
|
H ? "+1" : "+91"
|
|
2947
2947
|
);
|
|
2948
2948
|
J(() => {
|
|
2949
2949
|
ge(H ? "+1" : "+91");
|
|
2950
2950
|
}, [H]);
|
|
2951
|
-
const X = f ? h.formValues : j, Z = f ? h.setFormValues : G, ie = f ? h.goToPage : d,
|
|
2951
|
+
const X = f ? h.formValues : j, Z = f ? h.setFormValues : G, ie = f ? h.goToPage : d, ae = f ? h.onProceed : x, pe = f ? h.onProceedGuidance : g, _e = f ? h.config.proceedHref : T, ue = f ? h.config.originalPriceLabel : v, be = f ? h.config.discountedPriceLabel : O, se = f ? h.config.showLanguageSelector ?? !0 : c, ee = (f ? h?.config?.analytics : I) ?? I;
|
|
2952
2952
|
J(() => {
|
|
2953
2953
|
if (!$) return;
|
|
2954
2954
|
const k = (xe) => {
|
|
@@ -2966,27 +2966,27 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
2966
2966
|
const k = (X.phone ?? "").trim();
|
|
2967
2967
|
ne({
|
|
2968
2968
|
...X,
|
|
2969
|
-
phone: k && `${
|
|
2969
|
+
phone: k && `${te}-${k}`
|
|
2970
2970
|
});
|
|
2971
|
-
}, [f, h?.config.autoOpenPlanSheet, h?.config.variant, X,
|
|
2971
|
+
}, [f, h?.config.autoOpenPlanSheet, h?.config.variant, X, te, ne]);
|
|
2972
2972
|
const ve = we(() => {
|
|
2973
2973
|
if (!ye.current || !Y) return;
|
|
2974
|
-
|
|
2974
|
+
ee?.trackPlanProceedClicked?.({
|
|
2975
2975
|
planId: Y.id,
|
|
2976
2976
|
planName: Y.title,
|
|
2977
2977
|
price: Y.price,
|
|
2978
2978
|
currency: H ? "USD" : "INR"
|
|
2979
2979
|
});
|
|
2980
2980
|
const k = { ...ye.current, _selectedPlan: Y };
|
|
2981
|
-
Y.id === Pr && pe ? pe(k) :
|
|
2982
|
-
}, [Y,
|
|
2981
|
+
Y.id === Pr && pe ? pe(k) : ae?.(k), ce(!1), ye.current = null;
|
|
2982
|
+
}, [Y, ae, pe]), Ae = h?.config.imageComponent ?? Ye, he = se ? /* @__PURE__ */ r.jsxs("div", { className: ke.langDropdownWrap, ref: S, children: [
|
|
2983
2983
|
/* @__PURE__ */ r.jsxs(
|
|
2984
2984
|
"button",
|
|
2985
2985
|
{
|
|
2986
2986
|
type: "button",
|
|
2987
2987
|
className: ke.langTrigger,
|
|
2988
2988
|
onClick: () => {
|
|
2989
|
-
|
|
2989
|
+
ee?.trackLanguageClickedFe?.({ language: W }), A((k) => !k);
|
|
2990
2990
|
},
|
|
2991
2991
|
"aria-expanded": $,
|
|
2992
2992
|
"aria-haspopup": "listbox",
|
|
@@ -3023,7 +3023,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
3023
3023
|
"aria-selected": k === W,
|
|
3024
3024
|
className: ke.langOption,
|
|
3025
3025
|
onClick: () => {
|
|
3026
|
-
|
|
3026
|
+
ee?.trackLanguageChangedFe?.({ newLanguage: k }), B(k), A(!1);
|
|
3027
3027
|
},
|
|
3028
3028
|
children: fr[k]
|
|
3029
3029
|
},
|
|
@@ -3054,8 +3054,10 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
3054
3054
|
googleMapsApiKey: P,
|
|
3055
3055
|
atlasSearchLocalities: E,
|
|
3056
3056
|
googleMapsAutocompleteEnabled: u,
|
|
3057
|
-
phoneIsdCode:
|
|
3058
|
-
onPhoneIsdCodeChange: ge
|
|
3057
|
+
phoneIsdCode: te,
|
|
3058
|
+
onPhoneIsdCodeChange: ge,
|
|
3059
|
+
showV1ExtraFields: f ? h?.config.variant === "v1" : !1,
|
|
3060
|
+
analytics: ee
|
|
3059
3061
|
}
|
|
3060
3062
|
)
|
|
3061
3063
|
] }),
|
|
@@ -3064,13 +3066,13 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
3064
3066
|
{
|
|
3065
3067
|
t: D,
|
|
3066
3068
|
values: X,
|
|
3067
|
-
phoneIsdCode:
|
|
3068
|
-
onProceed:
|
|
3069
|
+
phoneIsdCode: te,
|
|
3070
|
+
onProceed: ae,
|
|
3069
3071
|
onProceedGuidance: pe,
|
|
3070
3072
|
href: _e,
|
|
3071
3073
|
originalPriceLabel: ue,
|
|
3072
3074
|
discountedPriceLabel: be,
|
|
3073
|
-
analytics:
|
|
3075
|
+
analytics: ee,
|
|
3074
3076
|
showPlanSheet: ne,
|
|
3075
3077
|
confirmPlan: ve,
|
|
3076
3078
|
planSheetOpen: le,
|
|
@@ -3088,7 +3090,7 @@ const xr = 10, tr = (t) => t.replace(/\D/g, ""), gr = (t) => tr(t).slice(0, xr),
|
|
|
3088
3090
|
ve?.();
|
|
3089
3091
|
},
|
|
3090
3092
|
t: D,
|
|
3091
|
-
analytics:
|
|
3093
|
+
analytics: ee
|
|
3092
3094
|
}
|
|
3093
3095
|
)
|
|
3094
3096
|
] });
|
|
@@ -3166,4 +3168,4 @@ export {
|
|
|
3166
3168
|
yr as t,
|
|
3167
3169
|
nt as u
|
|
3168
3170
|
};
|
|
3169
|
-
//# sourceMappingURL=analytics-
|
|
3171
|
+
//# sourceMappingURL=analytics-Fyq-Amgh.js.map
|