@srimandir/kundli-generator 3.0.42 → 3.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/kundli-generator.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import ht, { createContext as gt, useContext as We, useState as K, useRef as M, useEffect as W, useMemo as
|
|
1
|
+
import ht, { createContext as gt, useContext as We, useState as K, useRef as M, useEffect as W, useMemo as Ke, useCallback as xe } from "react";
|
|
2
2
|
import { FormSectionHeader as Qt, footerShellStyles as ne, FooterCTAButton as _t, FooterShell as bt, PageHeader as Jt, UserReviewsSection as zt, FAQAccordion as Xt, ContactUsSection as Zt, CircularMarquee as en } from "@srimandir/astrology-common";
|
|
3
|
-
import * as
|
|
4
|
-
var
|
|
3
|
+
import * as Ee from "pdfjs-dist";
|
|
4
|
+
var Ie = { exports: {} }, Pe = {};
|
|
5
5
|
var lt;
|
|
6
6
|
function tn() {
|
|
7
7
|
if (lt) return Pe;
|
|
@@ -185,16 +185,16 @@ function nn() {
|
|
|
185
185
|
` + Z + t;
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
var we = !1,
|
|
188
|
+
var we = !1, Se;
|
|
189
189
|
{
|
|
190
190
|
var jt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
191
|
-
|
|
191
|
+
Se = new jt();
|
|
192
192
|
}
|
|
193
193
|
function Ye(t, i) {
|
|
194
194
|
if (!t || we)
|
|
195
195
|
return "";
|
|
196
196
|
{
|
|
197
|
-
var l =
|
|
197
|
+
var l = Se.get(t);
|
|
198
198
|
if (l !== void 0)
|
|
199
199
|
return l;
|
|
200
200
|
}
|
|
@@ -249,7 +249,7 @@ function nn() {
|
|
|
249
249
|
if (F--, U--, U < 0 || j[F] !== V[U]) {
|
|
250
250
|
var ee = `
|
|
251
251
|
` + j[F].replace(" at new ", " at ");
|
|
252
|
-
return t.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", t.displayName)), typeof t == "function" &&
|
|
252
|
+
return t.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", t.displayName)), typeof t == "function" && Se.set(t, ee), ee;
|
|
253
253
|
}
|
|
254
254
|
while (F >= 1 && U >= 0);
|
|
255
255
|
break;
|
|
@@ -259,7 +259,7 @@ function nn() {
|
|
|
259
259
|
we = !1, I.current = C, u(), Error.prepareStackTrace = N;
|
|
260
260
|
}
|
|
261
261
|
var ye = t ? t.displayName || t.name : "", ge = ye ? ce(ye) : "";
|
|
262
|
-
return typeof t == "function" &&
|
|
262
|
+
return typeof t == "function" && Se.set(t, ge), ge;
|
|
263
263
|
}
|
|
264
264
|
function Pt(t, i, l) {
|
|
265
265
|
return Ye(t, !1);
|
|
@@ -268,7 +268,7 @@ function nn() {
|
|
|
268
268
|
var i = t.prototype;
|
|
269
269
|
return !!(i && i.isReactComponent);
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function Ce(t, i, l) {
|
|
272
272
|
if (t == null)
|
|
273
273
|
return "";
|
|
274
274
|
if (typeof t == "function")
|
|
@@ -286,11 +286,11 @@ function nn() {
|
|
|
286
286
|
case _:
|
|
287
287
|
return Pt(t.render);
|
|
288
288
|
case h:
|
|
289
|
-
return
|
|
289
|
+
return Ce(t.type, i, l);
|
|
290
290
|
case y: {
|
|
291
291
|
var v = t, N = v._payload, C = v._init;
|
|
292
292
|
try {
|
|
293
|
-
return
|
|
293
|
+
return Ce(C(N), i, l);
|
|
294
294
|
} catch {
|
|
295
295
|
}
|
|
296
296
|
}
|
|
@@ -298,9 +298,9 @@ function nn() {
|
|
|
298
298
|
return "";
|
|
299
299
|
}
|
|
300
300
|
var je = Object.prototype.hasOwnProperty, Ve = {}, Qe = R.ReactDebugCurrentFrame;
|
|
301
|
-
function
|
|
301
|
+
function Re(t) {
|
|
302
302
|
if (t) {
|
|
303
|
-
var i = t._owner, l =
|
|
303
|
+
var i = t._owner, l = Ce(t.type, t._source, i ? i.type : null);
|
|
304
304
|
Qe.setExtraStackFrame(l);
|
|
305
305
|
} else
|
|
306
306
|
Qe.setExtraStackFrame(null);
|
|
@@ -320,12 +320,12 @@ function nn() {
|
|
|
320
320
|
} catch (F) {
|
|
321
321
|
j = F;
|
|
322
322
|
}
|
|
323
|
-
j && !(j instanceof Error) && (
|
|
323
|
+
j && !(j instanceof Error) && (Re(N), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", l, P, typeof j), Re(null)), j instanceof Error && !(j.message in Ve) && (Ve[j.message] = !0, Re(N), b("Failed %s type: %s", l, j.message), Re(null));
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
var Nt = Array.isArray;
|
|
328
|
-
function
|
|
328
|
+
function Oe(t) {
|
|
329
329
|
return Nt(t);
|
|
330
330
|
}
|
|
331
331
|
function Et(t) {
|
|
@@ -442,23 +442,23 @@ function nn() {
|
|
|
442
442
|
return Ft(t, j, V, N, v, Xe.current, P);
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
|
-
var
|
|
445
|
+
var Fe = R.ReactCurrentOwner, tt = R.ReactDebugCurrentFrame;
|
|
446
446
|
function ve(t) {
|
|
447
447
|
if (t) {
|
|
448
|
-
var i = t._owner, l =
|
|
448
|
+
var i = t._owner, l = Ce(t.type, t._source, i ? i.type : null);
|
|
449
449
|
tt.setExtraStackFrame(l);
|
|
450
450
|
} else
|
|
451
451
|
tt.setExtraStackFrame(null);
|
|
452
452
|
}
|
|
453
|
-
var
|
|
454
|
-
|
|
455
|
-
function
|
|
453
|
+
var $e;
|
|
454
|
+
$e = !1;
|
|
455
|
+
function Be(t) {
|
|
456
456
|
return typeof t == "object" && t !== null && t.$$typeof === a;
|
|
457
457
|
}
|
|
458
458
|
function nt() {
|
|
459
459
|
{
|
|
460
|
-
if (
|
|
461
|
-
var t = B(
|
|
460
|
+
if (Fe.current) {
|
|
461
|
+
var t = B(Fe.current.type);
|
|
462
462
|
if (t)
|
|
463
463
|
return `
|
|
464
464
|
|
|
@@ -493,25 +493,25 @@ Check the top-level render call using <` + l + ">.");
|
|
|
493
493
|
return;
|
|
494
494
|
rt[l] = !0;
|
|
495
495
|
var v = "";
|
|
496
|
-
t && t._owner && t._owner !==
|
|
496
|
+
t && t._owner && t._owner !== Fe.current && (v = " It was passed a child from " + B(t._owner.type) + "."), ve(t), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, v), ve(null);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
function it(t, i) {
|
|
500
500
|
{
|
|
501
501
|
if (typeof t != "object")
|
|
502
502
|
return;
|
|
503
|
-
if (
|
|
503
|
+
if (Oe(t))
|
|
504
504
|
for (var l = 0; l < t.length; l++) {
|
|
505
505
|
var v = t[l];
|
|
506
|
-
|
|
506
|
+
Be(v) && at(v, i);
|
|
507
507
|
}
|
|
508
|
-
else if (
|
|
508
|
+
else if (Be(t))
|
|
509
509
|
t._store && (t._store.validated = !0);
|
|
510
510
|
else if (t) {
|
|
511
511
|
var N = k(t);
|
|
512
512
|
if (typeof N == "function" && N !== t.entries)
|
|
513
513
|
for (var C = N.call(t), P; !(P = C.next()).done; )
|
|
514
|
-
|
|
514
|
+
Be(P.value) && at(P.value, i);
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
517
|
}
|
|
@@ -532,8 +532,8 @@ Check the top-level render call using <` + l + ">.");
|
|
|
532
532
|
if (l) {
|
|
533
533
|
var v = B(i);
|
|
534
534
|
At(l, t.props, "prop", v, t);
|
|
535
|
-
} else if (i.PropTypes !== void 0 &&
|
|
536
|
-
|
|
535
|
+
} else if (i.PropTypes !== void 0 && !$e) {
|
|
536
|
+
$e = !0;
|
|
537
537
|
var N = B(i);
|
|
538
538
|
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", N || "Unknown");
|
|
539
539
|
}
|
|
@@ -562,7 +562,7 @@ Check the top-level render call using <` + l + ">.");
|
|
|
562
562
|
var V = Bt();
|
|
563
563
|
V ? j += V : j += nt();
|
|
564
564
|
var F;
|
|
565
|
-
t === null ? F = "null" :
|
|
565
|
+
t === null ? F = "null" : Oe(t) ? F = "array" : t !== void 0 && t.$$typeof === a ? (F = "<" + (B(t.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : F = typeof t, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, j);
|
|
566
566
|
}
|
|
567
567
|
var U = $t(t, i, l, N, C);
|
|
568
568
|
if (U == null)
|
|
@@ -571,7 +571,7 @@ Check the top-level render call using <` + l + ">.");
|
|
|
571
571
|
var ee = i.children;
|
|
572
572
|
if (ee !== void 0)
|
|
573
573
|
if (v)
|
|
574
|
-
if (
|
|
574
|
+
if (Oe(ee)) {
|
|
575
575
|
for (var ye = 0; ye < ee.length; ye++)
|
|
576
576
|
it(ee[ye], t);
|
|
577
577
|
Object.freeze && Object.freeze(ee);
|
|
@@ -583,15 +583,15 @@ Check the top-level render call using <` + l + ">.");
|
|
|
583
583
|
if (je.call(i, "key")) {
|
|
584
584
|
var ge = B(t), z = Object.keys(i).filter(function(Vt) {
|
|
585
585
|
return Vt !== "key";
|
|
586
|
-
}),
|
|
587
|
-
if (!ot[ge +
|
|
586
|
+
}), Ue = z.length > 0 ? "{key: someKey, " + z.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
587
|
+
if (!ot[ge + Ue]) {
|
|
588
588
|
var Yt = z.length > 0 ? "{" + z.join(": ..., ") + ": ...}" : "{}";
|
|
589
589
|
b(`A props object containing a "key" prop is being spread into JSX:
|
|
590
590
|
let props = %s;
|
|
591
591
|
<%s {...props} />
|
|
592
592
|
React keys must be passed directly to JSX without using spread:
|
|
593
593
|
let props = %s;
|
|
594
|
-
<%s key={someKey} {...props} />`,
|
|
594
|
+
<%s key={someKey} {...props} />`, Ue, ge, Yt, ge), ot[ge + Ue] = !0;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
return t === c ? Kt(U) : Mt(U), U;
|
|
@@ -609,7 +609,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
609
609
|
}
|
|
610
610
|
var dt;
|
|
611
611
|
function rn() {
|
|
612
|
-
return dt || (dt = 1, process.env.NODE_ENV === "production" ?
|
|
612
|
+
return dt || (dt = 1, process.env.NODE_ENV === "production" ? Ie.exports = tn() : Ie.exports = nn()), Ie.exports;
|
|
613
613
|
}
|
|
614
614
|
var e = rn();
|
|
615
615
|
const an = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_nm3gb_12", ln = "_langTrigger_nm3gb_16", cn = "_langIcon_nm3gb_28", dn = "_langLabel_nm3gb_35", un = "_langMenu_nm3gb_40", mn = "_langOption_nm3gb_46", de = {
|
|
@@ -621,7 +621,7 @@ const an = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_n
|
|
|
621
621
|
langLabel: dn,
|
|
622
622
|
langMenu: un,
|
|
623
623
|
langOption: mn
|
|
624
|
-
}, He = ["en", "hi"],
|
|
624
|
+
}, He = ["en", "hi"], Le = {
|
|
625
625
|
en: "English",
|
|
626
626
|
hi: "हिन्दी"
|
|
627
627
|
}, Ge = {
|
|
@@ -946,7 +946,7 @@ const an = "_container_nm3gb_1", on = "_main_nm3gb_6", sn = "_langDropdownWrap_n
|
|
|
946
946
|
formDiscountedPrice: "$25",
|
|
947
947
|
formPriceAria: "कीमत"
|
|
948
948
|
}
|
|
949
|
-
}, vt = gt(null),
|
|
949
|
+
}, vt = gt(null), mi = ({
|
|
950
950
|
locale: n,
|
|
951
951
|
children: a
|
|
952
952
|
}) => {
|
|
@@ -984,14 +984,14 @@ function jn(n, a) {
|
|
|
984
984
|
} catch {
|
|
985
985
|
}
|
|
986
986
|
}
|
|
987
|
-
function
|
|
987
|
+
function fi(n) {
|
|
988
988
|
if (!(typeof window > "u" || !window.localStorage))
|
|
989
989
|
try {
|
|
990
990
|
window.localStorage.removeItem(n);
|
|
991
991
|
} catch {
|
|
992
992
|
}
|
|
993
993
|
}
|
|
994
|
-
function
|
|
994
|
+
function pi() {
|
|
995
995
|
if (typeof window > "u" || !window.localStorage)
|
|
996
996
|
return !1;
|
|
997
997
|
try {
|
|
@@ -1053,7 +1053,7 @@ const qe = gt(null), An = {
|
|
|
1053
1053
|
}
|
|
1054
1054
|
A?.(D);
|
|
1055
1055
|
}, [D, A]);
|
|
1056
|
-
const O =
|
|
1056
|
+
const O = Ke(
|
|
1057
1057
|
() => ({
|
|
1058
1058
|
locale: n,
|
|
1059
1059
|
showLanguageSelector: a,
|
|
@@ -1102,7 +1102,7 @@ const qe = gt(null), An = {
|
|
|
1102
1102
|
Y("form");
|
|
1103
1103
|
}, [O.analytics]), q = xe(() => {
|
|
1104
1104
|
Y("landing"), O.onBack?.();
|
|
1105
|
-
}, [O.onBack]), X =
|
|
1105
|
+
}, [O.onBack]), X = Ke(
|
|
1106
1106
|
() => ({
|
|
1107
1107
|
view: S,
|
|
1108
1108
|
locale: D,
|
|
@@ -1180,8 +1180,8 @@ const En = "_header_dbx4p_1", Sn = {
|
|
|
1180
1180
|
checkbox: mr,
|
|
1181
1181
|
checkboxText: fr
|
|
1182
1182
|
};
|
|
1183
|
-
let
|
|
1184
|
-
const pr = (n, a) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() :
|
|
1183
|
+
let De = null;
|
|
1184
|
+
const pr = (n, a) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : De || (De = new Promise((d, c) => {
|
|
1185
1185
|
const s = document.querySelector(
|
|
1186
1186
|
'script[data-google-maps-places="true"]'
|
|
1187
1187
|
);
|
|
@@ -1211,7 +1211,7 @@ const pr = (n, a) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1211
1211
|
};
|
|
1212
1212
|
_();
|
|
1213
1213
|
}, f.onerror = () => c(new Error("Failed to load Google Maps API")), document.head.appendChild(f);
|
|
1214
|
-
}),
|
|
1214
|
+
}), De), hr = (n) => {
|
|
1215
1215
|
const { apiKey: a, language: d = "en", restrictCountry: c } = n, [s, f] = K(!1), [g, m] = K([]), [_, T] = K(!1), [p, h] = K(null), y = M(null), E = M(null), x = M(null);
|
|
1216
1216
|
W(() => {
|
|
1217
1217
|
if (!a) {
|
|
@@ -1868,7 +1868,7 @@ const pr = (n, a) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1868
1868
|
discountedPriceLabel: m,
|
|
1869
1869
|
discountPillLabel: _
|
|
1870
1870
|
}) => {
|
|
1871
|
-
const p = _e()?.config.isGlobal ?? !0, h =
|
|
1871
|
+
const p = _e()?.config.isGlobal ?? !0, h = Ke(() => {
|
|
1872
1872
|
if (!a.fullName.trim()) return !1;
|
|
1873
1873
|
if (p) {
|
|
1874
1874
|
if (!br(a.email.trim())) return !1;
|
|
@@ -1999,7 +1999,7 @@ const pr = (n, a) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
1999
1999
|
] })
|
|
2000
2000
|
}
|
|
2001
2001
|
);
|
|
2002
|
-
}, Gr = "_section_1kxsy_1", qr = "_heading_1kxsy_6", Yr = "_logoImg_1kxsy_10",
|
|
2002
|
+
}, Gr = "_section_1kxsy_1", qr = "_heading_1kxsy_6", Yr = "_logoImg_1kxsy_10", Me = {
|
|
2003
2003
|
section: Gr,
|
|
2004
2004
|
heading: qr,
|
|
2005
2005
|
logoImg: Yr
|
|
@@ -2007,9 +2007,9 @@ const pr = (n, a) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2007
2007
|
t: n,
|
|
2008
2008
|
logoUrl: a = Vr,
|
|
2009
2009
|
className: d = ""
|
|
2010
|
-
}) => /* @__PURE__ */ e.jsxs("section", { className: `${
|
|
2011
|
-
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className:
|
|
2012
|
-
/* @__PURE__ */ e.jsx("img", { src: a, alt: "University Certification", className:
|
|
2010
|
+
}) => /* @__PURE__ */ e.jsxs("section", { className: `${Me.section} ${d}`, "aria-labelledby": "certified-heading", children: [
|
|
2011
|
+
/* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: Me.heading, children: n("certifiedBy") }),
|
|
2012
|
+
/* @__PURE__ */ e.jsx("img", { src: a, alt: "University Certification", className: Me.logoImg })
|
|
2013
2013
|
] }), Jr = "_section_1d9aa_1", zr = "_heading_1d9aa_6", Xr = "_subtitle_1d9aa_11", Zr = "_stepList_1d9aa_16", ea = "_stepItem_1d9aa_20", ta = "_stepNumber_1d9aa_24", na = "_stepText_1d9aa_30", ra = "_step3Days_1d9aa_35", te = {
|
|
2014
2014
|
section: Jr,
|
|
2015
2015
|
heading: zr,
|
|
@@ -2069,8 +2069,10 @@ const pr = (n, a) => typeof window > "u" || window.google?.maps?.places ? Promis
|
|
|
2069
2069
|
pdfError: ga,
|
|
2070
2070
|
openInNewTab: _a
|
|
2071
2071
|
};
|
|
2072
|
-
|
|
2073
|
-
|
|
2072
|
+
function ba() {
|
|
2073
|
+
typeof Ee < "u" && Ee.GlobalWorkerOptions && (Ee.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${Ee.version}/build/pdf.worker.min.js`);
|
|
2074
|
+
}
|
|
2075
|
+
const va = ({
|
|
2074
2076
|
isOpen: n,
|
|
2075
2077
|
onClose: a,
|
|
2076
2078
|
title: d,
|
|
@@ -2089,7 +2091,8 @@ const ba = ({
|
|
|
2089
2091
|
if (!n || !c || !s.current) return;
|
|
2090
2092
|
g(!0), _(null), s.current.innerHTML = "", (async () => {
|
|
2091
2093
|
try {
|
|
2092
|
-
|
|
2094
|
+
ba();
|
|
2095
|
+
const h = await Ee.getDocument({ url: c }).promise, y = s.current;
|
|
2093
2096
|
if (!y) return;
|
|
2094
2097
|
const E = y.clientWidth || 600, x = Math.min(E / 612, 2);
|
|
2095
2098
|
for (let w = 1; w <= h.numPages; w++) {
|
|
@@ -2155,9 +2158,9 @@ const ba = ({
|
|
|
2155
2158
|
)
|
|
2156
2159
|
}
|
|
2157
2160
|
) : null;
|
|
2158
|
-
},
|
|
2161
|
+
}, ya = "https://srm-cdn.a4b.io/yoda/1770890856496.pdf", ka = ({
|
|
2159
2162
|
t: n,
|
|
2160
|
-
pdfUrl: a =
|
|
2163
|
+
pdfUrl: a = ya,
|
|
2161
2164
|
onClick: d,
|
|
2162
2165
|
analytics: c,
|
|
2163
2166
|
className: s = ""
|
|
@@ -2170,7 +2173,7 @@ const ba = ({
|
|
|
2170
2173
|
return /* @__PURE__ */ e.jsxs("section", { className: `${ut.section} ${s}`, children: [
|
|
2171
2174
|
/* @__PURE__ */ e.jsx("button", { type: "button", className: ut.button, onClick: T, children: m }),
|
|
2172
2175
|
/* @__PURE__ */ e.jsx(
|
|
2173
|
-
|
|
2176
|
+
va,
|
|
2174
2177
|
{
|
|
2175
2178
|
isOpen: f,
|
|
2176
2179
|
onClose: p,
|
|
@@ -2179,34 +2182,34 @@ const ba = ({
|
|
|
2179
2182
|
}
|
|
2180
2183
|
)
|
|
2181
2184
|
] });
|
|
2182
|
-
},
|
|
2183
|
-
section:
|
|
2184
|
-
heading:
|
|
2185
|
-
list:
|
|
2186
|
-
item:
|
|
2187
|
-
imageWrap:
|
|
2188
|
-
image:
|
|
2189
|
-
imagePlaceholder:
|
|
2190
|
-
text:
|
|
2191
|
-
itemTitle:
|
|
2192
|
-
itemDesc:
|
|
2193
|
-
},
|
|
2185
|
+
}, xa = "_section_1ds1w_1", wa = "_heading_1ds1w_5", ja = "_list_1ds1w_10", Pa = "_item_1ds1w_17", Ta = "_imageWrap_1ds1w_21", Aa = "_image_1ds1w_21", Na = "_imagePlaceholder_1ds1w_30", Ea = "_text_1ds1w_36", Sa = "_itemTitle_1ds1w_40", Ca = "_itemDesc_1ds1w_51", oe = {
|
|
2186
|
+
section: xa,
|
|
2187
|
+
heading: wa,
|
|
2188
|
+
list: ja,
|
|
2189
|
+
item: Pa,
|
|
2190
|
+
imageWrap: Ta,
|
|
2191
|
+
image: Aa,
|
|
2192
|
+
imagePlaceholder: Na,
|
|
2193
|
+
text: Ea,
|
|
2194
|
+
itemTitle: Sa,
|
|
2195
|
+
itemDesc: Ca
|
|
2196
|
+
}, Ra = [
|
|
2194
2197
|
{ titleKey: "findDasha", descKey: "findDashaDesc" },
|
|
2195
2198
|
{ titleKey: "findYoga", descKey: "findYogaDesc" },
|
|
2196
2199
|
{ titleKey: "findGemstone", descKey: "findGemstoneDesc" },
|
|
2197
2200
|
{ titleKey: "findPooja", descKey: "findPoojaDesc" },
|
|
2198
2201
|
{ titleKey: "findMonthly", descKey: "findMonthlyDesc" },
|
|
2199
2202
|
{ titleKey: "findStrength", descKey: "findStrengthDesc" }
|
|
2200
|
-
],
|
|
2203
|
+
], Ia = [
|
|
2201
2204
|
"https://srm-cdn.a4b.io/yoda/1770639688505.png",
|
|
2202
2205
|
"https://srm-cdn.a4b.io/yoda/1770639714646.png",
|
|
2203
2206
|
"https://srm-cdn.a4b.io/yoda/1770639727335.png",
|
|
2204
2207
|
"https://srm-cdn.a4b.io/yoda/1770639739387.png",
|
|
2205
2208
|
"https://srm-cdn.a4b.io/yoda/1770639749920.png",
|
|
2206
2209
|
"https://srm-cdn.a4b.io/yoda/1770639760835.png"
|
|
2207
|
-
],
|
|
2210
|
+
], Da = ({
|
|
2208
2211
|
t: n,
|
|
2209
|
-
imageUrls: a =
|
|
2212
|
+
imageUrls: a = Ia,
|
|
2210
2213
|
className: d = ""
|
|
2211
2214
|
}) => /* @__PURE__ */ e.jsxs(
|
|
2212
2215
|
"section",
|
|
@@ -2215,7 +2218,7 @@ const ba = ({
|
|
|
2215
2218
|
"aria-labelledby": "find-heading",
|
|
2216
2219
|
children: [
|
|
2217
2220
|
/* @__PURE__ */ e.jsx("h2", { id: "find-heading", className: oe.heading, children: n("whatYoullFindTitle") }),
|
|
2218
|
-
/* @__PURE__ */ e.jsx("ul", { className: oe.list, children:
|
|
2221
|
+
/* @__PURE__ */ e.jsx("ul", { className: oe.list, children: Ra.map((c, s) => /* @__PURE__ */ e.jsxs("li", { className: oe.item, children: [
|
|
2219
2222
|
/* @__PURE__ */ e.jsx("div", { className: oe.imageWrap, children: a[s] ? /* @__PURE__ */ e.jsx("img", { src: a[s], alt: "", className: oe.image }) : /* @__PURE__ */ e.jsx("div", { className: oe.imagePlaceholder, "aria-hidden": !0 }) }),
|
|
2220
2223
|
/* @__PURE__ */ e.jsxs("div", { className: oe.text, children: [
|
|
2221
2224
|
/* @__PURE__ */ e.jsx("h3", { className: oe.itemTitle, children: n(c.titleKey) }),
|
|
@@ -2224,25 +2227,25 @@ const ba = ({
|
|
|
2224
2227
|
] }, c.titleKey)) })
|
|
2225
2228
|
]
|
|
2226
2229
|
}
|
|
2227
|
-
),
|
|
2228
|
-
section:
|
|
2229
|
-
heading:
|
|
2230
|
-
subtitle:
|
|
2231
|
-
list:
|
|
2232
|
-
item:
|
|
2233
|
-
},
|
|
2230
|
+
), La = "_section_75s76_1", Oa = "_heading_75s76_6", Fa = "_subtitle_75s76_11", $a = "_list_75s76_16", Ba = "_item_75s76_20", Ne = {
|
|
2231
|
+
section: La,
|
|
2232
|
+
heading: Oa,
|
|
2233
|
+
subtitle: Fa,
|
|
2234
|
+
list: $a,
|
|
2235
|
+
item: Ba
|
|
2236
|
+
}, Ua = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], Ma = ({ t: n, className: a = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${Ne.section} ${a}`, "aria-labelledby": "why-heading", children: [
|
|
2234
2237
|
/* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: Ne.heading, children: n("whyUsTitle") }),
|
|
2235
2238
|
/* @__PURE__ */ e.jsx("p", { className: Ne.subtitle, children: n("whyUsSubtitle") }),
|
|
2236
|
-
/* @__PURE__ */ e.jsx("ul", { className: Ne.list, children:
|
|
2237
|
-
] }),
|
|
2238
|
-
headingBold:
|
|
2239
|
-
},
|
|
2239
|
+
/* @__PURE__ */ e.jsx("ul", { className: Ne.list, children: Ua.map((d) => /* @__PURE__ */ e.jsx("li", { className: Ne.item, children: n(d) }, d)) })
|
|
2240
|
+
] }), Ka = "_headingBold_g8xg7_1", Wa = {
|
|
2241
|
+
headingBold: Ka
|
|
2242
|
+
}, Ha = ({
|
|
2240
2243
|
t: n,
|
|
2241
2244
|
testimonials: a,
|
|
2242
2245
|
readMoreHref: d,
|
|
2243
2246
|
onReadMore: c,
|
|
2244
2247
|
className: s = "",
|
|
2245
|
-
headingClassName: f =
|
|
2248
|
+
headingClassName: f = Wa.headingBold
|
|
2246
2249
|
}) => /* @__PURE__ */ e.jsx(
|
|
2247
2250
|
zt,
|
|
2248
2251
|
{
|
|
@@ -2253,29 +2256,29 @@ const ba = ({
|
|
|
2253
2256
|
className: s,
|
|
2254
2257
|
headingClassName: f
|
|
2255
2258
|
}
|
|
2256
|
-
),
|
|
2257
|
-
headingBold:
|
|
2258
|
-
},
|
|
2259
|
+
), Ga = "_headingBold_g8xg7_1", qa = {
|
|
2260
|
+
headingBold: Ga
|
|
2261
|
+
}, Ya = [
|
|
2259
2262
|
{ qKey: "faqQ1", aKey: "faqA1" },
|
|
2260
2263
|
{ qKey: "faqQ3", aKey: "faqA3" }
|
|
2261
|
-
],
|
|
2264
|
+
], Va = ({
|
|
2262
2265
|
t: n,
|
|
2263
2266
|
className: a = "",
|
|
2264
|
-
headingClassName: d =
|
|
2267
|
+
headingClassName: d = qa.headingBold
|
|
2265
2268
|
}) => {
|
|
2266
2269
|
const s = _e()?.config.isGlobal ?? !0, f = (g) => g === "faqA1" ? s ? "faqA1Global" : "faqA1Domestic" : g;
|
|
2267
2270
|
return /* @__PURE__ */ e.jsx(
|
|
2268
2271
|
Xt,
|
|
2269
2272
|
{
|
|
2270
2273
|
t: n,
|
|
2271
|
-
items:
|
|
2274
|
+
items: Ya,
|
|
2272
2275
|
resolveAnswerKey: f,
|
|
2273
2276
|
defaultOpenIndex: 1,
|
|
2274
2277
|
className: a,
|
|
2275
2278
|
headingClassName: d
|
|
2276
2279
|
}
|
|
2277
2280
|
);
|
|
2278
|
-
}, mt = "8296947757", ft = "08071174417", pt = "pujaseva@appsforbharat.com",
|
|
2281
|
+
}, mt = "8296947757", ft = "08071174417", pt = "pujaseva@appsforbharat.com", Qa = ({
|
|
2279
2282
|
t: n,
|
|
2280
2283
|
whatsAppGlobal: a,
|
|
2281
2284
|
whatsAppDomestic: d,
|
|
@@ -2294,20 +2297,20 @@ const ba = ({
|
|
|
2294
2297
|
className: f
|
|
2295
2298
|
}
|
|
2296
2299
|
);
|
|
2297
|
-
},
|
|
2300
|
+
}, Ja = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", za = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Xa = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Za = ({ t: n }) => /* @__PURE__ */ e.jsxs("div", { className: ne.marqueeContent, children: [
|
|
2298
2301
|
/* @__PURE__ */ e.jsxs("span", { className: ne.badge, children: [
|
|
2299
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2302
|
+
/* @__PURE__ */ e.jsx("img", { src: Ja, alt: "", className: ne.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2300
2303
|
n("ctaKundliCreated")
|
|
2301
2304
|
] }),
|
|
2302
2305
|
/* @__PURE__ */ e.jsxs("span", { className: ne.badge, children: [
|
|
2303
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2306
|
+
/* @__PURE__ */ e.jsx("img", { src: za, alt: "", className: ne.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2304
2307
|
n("ctaCertified")
|
|
2305
2308
|
] }),
|
|
2306
2309
|
/* @__PURE__ */ e.jsxs("span", { className: ne.badge, children: [
|
|
2307
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2310
|
+
/* @__PURE__ */ e.jsx("img", { src: Xa, alt: "", className: ne.badgeIcon, width: 16, height: 16, "aria-hidden": !0 }),
|
|
2308
2311
|
n("ctaSecurePayment")
|
|
2309
2312
|
] })
|
|
2310
|
-
] }),
|
|
2313
|
+
] }), ei = ({
|
|
2311
2314
|
t: n,
|
|
2312
2315
|
onCtaClick: a,
|
|
2313
2316
|
ctaHref: d,
|
|
@@ -2323,11 +2326,11 @@ const ba = ({
|
|
|
2323
2326
|
bt,
|
|
2324
2327
|
{
|
|
2325
2328
|
className: c,
|
|
2326
|
-
marquee: /* @__PURE__ */ e.jsx(en, { children: /* @__PURE__ */ e.jsx(
|
|
2329
|
+
marquee: /* @__PURE__ */ e.jsx(en, { children: /* @__PURE__ */ e.jsx(Za, { t: n }) }),
|
|
2327
2330
|
children: /* @__PURE__ */ e.jsx(_t, { href: d, onClick: a, children: _ })
|
|
2328
2331
|
}
|
|
2329
2332
|
);
|
|
2330
|
-
},
|
|
2333
|
+
}, ti = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", ni = (n, a) => Ge[n]?.[a] ?? a, ri = {
|
|
2331
2334
|
fullName: "",
|
|
2332
2335
|
phone: "",
|
|
2333
2336
|
email: "",
|
|
@@ -2335,7 +2338,7 @@ const ba = ({
|
|
|
2335
2338
|
birthTime: "",
|
|
2336
2339
|
birthTimeUnknown: !1,
|
|
2337
2340
|
birthPlace: ""
|
|
2338
|
-
},
|
|
2341
|
+
}, ai = ({
|
|
2339
2342
|
className: n = "",
|
|
2340
2343
|
locale: a,
|
|
2341
2344
|
showLanguageSelector: d = !0,
|
|
@@ -2355,7 +2358,7 @@ const ba = ({
|
|
|
2355
2358
|
W(() => {
|
|
2356
2359
|
window.scrollTo({ top: 0, left: 0, behavior: "auto" });
|
|
2357
2360
|
}, []);
|
|
2358
|
-
const H = (r) =>
|
|
2361
|
+
const H = (r) => ni(A, r);
|
|
2359
2362
|
W(() => {
|
|
2360
2363
|
w && G.current !== w && $(w), G.current = w;
|
|
2361
2364
|
}, [w, $]), W(() => {
|
|
@@ -2364,7 +2367,7 @@ const ba = ({
|
|
|
2364
2367
|
r && L.current !== r && $(r), L.current = r;
|
|
2365
2368
|
}, [E?.locale, w, $]);
|
|
2366
2369
|
const [J, O] = K({
|
|
2367
|
-
...
|
|
2370
|
+
...ri,
|
|
2368
2371
|
...s,
|
|
2369
2372
|
phone: s?.phone ?? ""
|
|
2370
2373
|
}), B = x ? y.formValues : J, q = x ? y.setFormValues : O, X = x ? y.goToPage : c, le = x ? y.onProceed : f, be = x ? y.config.proceedHref : g, ue = x ? y.config.originalPriceLabel : m, me = x ? y.config.discountedPriceLabel : _, fe = x ? y.config.discountPillLabel : T, pe = x ? y.config.showLanguageSelector ?? !0 : d, re = (x ? y?.config?.analytics : h) ?? h;
|
|
@@ -2392,7 +2395,7 @@ const ba = ({
|
|
|
2392
2395
|
/* @__PURE__ */ e.jsx(
|
|
2393
2396
|
"img",
|
|
2394
2397
|
{
|
|
2395
|
-
src:
|
|
2398
|
+
src: ti,
|
|
2396
2399
|
alt: "",
|
|
2397
2400
|
className: ae.langIcon,
|
|
2398
2401
|
width: 16,
|
|
@@ -2400,7 +2403,7 @@ const ba = ({
|
|
|
2400
2403
|
"aria-hidden": !0
|
|
2401
2404
|
}
|
|
2402
2405
|
),
|
|
2403
|
-
/* @__PURE__ */ e.jsx("span", { className: ae.langLabel, children:
|
|
2406
|
+
/* @__PURE__ */ e.jsx("span", { className: ae.langLabel, children: Le[A] })
|
|
2404
2407
|
]
|
|
2405
2408
|
}
|
|
2406
2409
|
),
|
|
@@ -2421,7 +2424,7 @@ const ba = ({
|
|
|
2421
2424
|
onClick: () => {
|
|
2422
2425
|
re?.trackLanguageChangedFe?.({ newLanguage: r }), $(r), Y(!1);
|
|
2423
2426
|
},
|
|
2424
|
-
children:
|
|
2427
|
+
children: Le[r]
|
|
2425
2428
|
},
|
|
2426
2429
|
r
|
|
2427
2430
|
))
|
|
@@ -2465,7 +2468,7 @@ const ba = ({
|
|
|
2465
2468
|
}
|
|
2466
2469
|
)
|
|
2467
2470
|
] });
|
|
2468
|
-
},
|
|
2471
|
+
}, ii = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", oi = (n, a) => Ge[n]?.[a] ?? a, si = 112;
|
|
2469
2472
|
function se({
|
|
2470
2473
|
section: n,
|
|
2471
2474
|
children: a,
|
|
@@ -2482,17 +2485,17 @@ function se({
|
|
|
2482
2485
|
{
|
|
2483
2486
|
threshold: 0.1,
|
|
2484
2487
|
// Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
|
|
2485
|
-
rootMargin: `0px 0px -${
|
|
2488
|
+
rootMargin: `0px 0px -${si}px 0px`
|
|
2486
2489
|
}
|
|
2487
2490
|
);
|
|
2488
2491
|
return g.observe(f), () => g.disconnect();
|
|
2489
2492
|
}, [n, d]), /* @__PURE__ */ e.jsx("div", { ref: c, children: a });
|
|
2490
2493
|
}
|
|
2491
|
-
function
|
|
2494
|
+
function li({ className: n }) {
|
|
2492
2495
|
const { view: a } = xt();
|
|
2493
|
-
return a === "form" ? /* @__PURE__ */ e.jsx(
|
|
2496
|
+
return a === "form" ? /* @__PURE__ */ e.jsx(ai, {}) : /* @__PURE__ */ e.jsx(ci, { className: n });
|
|
2494
2497
|
}
|
|
2495
|
-
function
|
|
2498
|
+
function ci({ className: n }) {
|
|
2496
2499
|
const a = yt(), {
|
|
2497
2500
|
locale: d,
|
|
2498
2501
|
setLocale: c,
|
|
@@ -2514,7 +2517,7 @@ function li({ className: n }) {
|
|
|
2514
2517
|
};
|
|
2515
2518
|
return document.addEventListener("mousedown", k), () => document.removeEventListener("mousedown", k);
|
|
2516
2519
|
}, [g]);
|
|
2517
|
-
const h = (k) =>
|
|
2520
|
+
const h = (k) => oi(d, k), E = s.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: de.langDropdownWrap, ref: _, children: [
|
|
2518
2521
|
/* @__PURE__ */ e.jsxs(
|
|
2519
2522
|
"button",
|
|
2520
2523
|
{
|
|
@@ -2531,7 +2534,7 @@ function li({ className: n }) {
|
|
|
2531
2534
|
/* @__PURE__ */ e.jsx(
|
|
2532
2535
|
"img",
|
|
2533
2536
|
{
|
|
2534
|
-
src:
|
|
2537
|
+
src: ii,
|
|
2535
2538
|
alt: "",
|
|
2536
2539
|
className: de.langIcon,
|
|
2537
2540
|
width: 16,
|
|
@@ -2539,7 +2542,7 @@ function li({ className: n }) {
|
|
|
2539
2542
|
"aria-hidden": !0
|
|
2540
2543
|
}
|
|
2541
2544
|
),
|
|
2542
|
-
/* @__PURE__ */ e.jsx("span", { className: de.langLabel, children:
|
|
2545
|
+
/* @__PURE__ */ e.jsx("span", { className: de.langLabel, children: Le[d] })
|
|
2543
2546
|
]
|
|
2544
2547
|
}
|
|
2545
2548
|
),
|
|
@@ -2560,7 +2563,7 @@ function li({ className: n }) {
|
|
|
2560
2563
|
onClick: () => {
|
|
2561
2564
|
s.analytics?.trackLanguageChangedFe?.({ newLanguage: k }), c(k), m(!1);
|
|
2562
2565
|
},
|
|
2563
|
-
children:
|
|
2566
|
+
children: Le[k]
|
|
2564
2567
|
},
|
|
2565
2568
|
k
|
|
2566
2569
|
))
|
|
@@ -2639,7 +2642,7 @@ function li({ className: n }) {
|
|
|
2639
2642
|
section: "view_sample_report",
|
|
2640
2643
|
onImpression: w,
|
|
2641
2644
|
children: /* @__PURE__ */ e.jsx(
|
|
2642
|
-
|
|
2645
|
+
ka,
|
|
2643
2646
|
{
|
|
2644
2647
|
t: h,
|
|
2645
2648
|
pdfUrl: s.sampleReportHref,
|
|
@@ -2654,7 +2657,7 @@ function li({ className: n }) {
|
|
|
2654
2657
|
{
|
|
2655
2658
|
section: "what_youll_find",
|
|
2656
2659
|
onImpression: w,
|
|
2657
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2660
|
+
children: /* @__PURE__ */ e.jsx(Da, { t: h })
|
|
2658
2661
|
}
|
|
2659
2662
|
),
|
|
2660
2663
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2662,7 +2665,7 @@ function li({ className: n }) {
|
|
|
2662
2665
|
{
|
|
2663
2666
|
section: "why_us",
|
|
2664
2667
|
onImpression: w,
|
|
2665
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2668
|
+
children: /* @__PURE__ */ e.jsx(Ma, { t: h })
|
|
2666
2669
|
}
|
|
2667
2670
|
),
|
|
2668
2671
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2671,7 +2674,7 @@ function li({ className: n }) {
|
|
|
2671
2674
|
section: "feedback",
|
|
2672
2675
|
onImpression: w,
|
|
2673
2676
|
children: /* @__PURE__ */ e.jsx(
|
|
2674
|
-
|
|
2677
|
+
Ha,
|
|
2675
2678
|
{
|
|
2676
2679
|
t: h,
|
|
2677
2680
|
readMoreHref: s.readMoreReviewsHref,
|
|
@@ -2685,7 +2688,7 @@ function li({ className: n }) {
|
|
|
2685
2688
|
{
|
|
2686
2689
|
section: "faq",
|
|
2687
2690
|
onImpression: w,
|
|
2688
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2691
|
+
children: /* @__PURE__ */ e.jsx(Va, { t: h })
|
|
2689
2692
|
}
|
|
2690
2693
|
),
|
|
2691
2694
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2693,12 +2696,12 @@ function li({ className: n }) {
|
|
|
2693
2696
|
{
|
|
2694
2697
|
section: "contact_us",
|
|
2695
2698
|
onImpression: w,
|
|
2696
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2699
|
+
children: /* @__PURE__ */ e.jsx(Qa, { t: h })
|
|
2697
2700
|
}
|
|
2698
2701
|
)
|
|
2699
2702
|
] }),
|
|
2700
2703
|
/* @__PURE__ */ e.jsx(
|
|
2701
|
-
|
|
2704
|
+
ei,
|
|
2702
2705
|
{
|
|
2703
2706
|
t: h,
|
|
2704
2707
|
ctaHref: s.ctaHref,
|
|
@@ -2707,7 +2710,7 @@ function li({ className: n }) {
|
|
|
2707
2710
|
)
|
|
2708
2711
|
] });
|
|
2709
2712
|
}
|
|
2710
|
-
const
|
|
2713
|
+
const hi = ({
|
|
2711
2714
|
className: n = "",
|
|
2712
2715
|
locale: a,
|
|
2713
2716
|
showLanguageSelector: d = !0,
|
|
@@ -2750,9 +2753,9 @@ const pi = ({
|
|
|
2750
2753
|
discountPillLabel: R,
|
|
2751
2754
|
analytics: b,
|
|
2752
2755
|
onLocaleChange: A,
|
|
2753
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2756
|
+
children: /* @__PURE__ */ e.jsx(li, { className: n })
|
|
2754
2757
|
}
|
|
2755
|
-
),
|
|
2758
|
+
), gi = {
|
|
2756
2759
|
banner_clicked_fe: "banner_clicked_fe",
|
|
2757
2760
|
primary_cta_clicked_fe: "primary_cta_clicked_fe",
|
|
2758
2761
|
language_changed_fe: "language_changed_fe",
|
|
@@ -2784,18 +2787,18 @@ const pi = ({
|
|
|
2784
2787
|
kundli_form_view: "kundli_form_view"
|
|
2785
2788
|
};
|
|
2786
2789
|
export {
|
|
2787
|
-
|
|
2788
|
-
|
|
2790
|
+
mi as I18nProvider,
|
|
2791
|
+
gi as KUNDLI_ANALYTICS_EVENT_NAMES,
|
|
2789
2792
|
kt as KUNDLI_LANGUAGE_STORAGE_KEY,
|
|
2790
2793
|
qe as KundliContext,
|
|
2791
|
-
|
|
2792
|
-
|
|
2794
|
+
ai as KundliForm,
|
|
2795
|
+
hi as KundliPage,
|
|
2793
2796
|
Nn as KundliProvider,
|
|
2794
2797
|
He as SUPPORTED_LOCALES,
|
|
2795
2798
|
wn as getItem,
|
|
2796
2799
|
Pn as getStoredKundliLocale,
|
|
2797
|
-
|
|
2798
|
-
|
|
2800
|
+
pi as isLocalStorageAvailable,
|
|
2801
|
+
fi as removeItem,
|
|
2799
2802
|
jn as setItem,
|
|
2800
2803
|
Tn as setStoredKundliLocale,
|
|
2801
2804
|
yt as useI18n,
|