@srimandir/kundli-generator 10.50.0 → 10.52.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.
@@ -1,33 +1,33 @@
1
- import na, { useContext as oa, createContext as Ta, useState as D, useRef as M, useEffect as q, useMemo as Ee, useCallback as Re, Fragment as Va } from "react";
2
- import { FormSectionHeader as Qa, FooterCTAButton as za, FooterShell as Ja, CircularMarquee as Xa, footerShellStyles as Fe, PageHeader as Za } from "@srimandir/astrology-common";
3
- import { createPortal as et } from "react-dom";
1
+ import na, { useContext as oa, createContext as Ta, useState as D, useRef as M, useEffect as q, useMemo as Ee, useCallback as Re, Fragment as Qa } from "react";
2
+ import { FormSectionHeader as za, FooterCTAButton as Ja, FooterShell as Xa, CircularMarquee as Za, footerShellStyles as Fe, PageHeader as et } from "@srimandir/astrology-common";
3
+ import { createPortal as at } from "react-dom";
4
4
  var Ve = { exports: {} }, He = {};
5
5
  var ga;
6
- function at() {
6
+ function tt() {
7
7
  if (ga) return He;
8
8
  ga = 1;
9
- var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, g = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
10
- function h(P, b, Y) {
11
- var B, N = {}, p = null, U = null;
12
- Y !== void 0 && (p = "" + Y), b.key !== void 0 && (p = "" + b.key), b.ref !== void 0 && (U = b.ref);
13
- for (B in b) c.call(b, B) && !y.hasOwnProperty(B) && (N[B] = b[B]);
14
- if (P && P.defaultProps) for (B in b = P.defaultProps, b) N[B] === void 0 && (N[B] = b[B]);
15
- return { $$typeof: n, type: P, key: p, ref: U, props: N, _owner: g.current };
9
+ var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, _ = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
10
+ function h(P, g, Y) {
11
+ var B, N = {}, p = null, G = null;
12
+ Y !== void 0 && (p = "" + Y), g.key !== void 0 && (p = "" + g.key), g.ref !== void 0 && (G = g.ref);
13
+ for (B in g) c.call(g, B) && !y.hasOwnProperty(B) && (N[B] = g[B]);
14
+ if (P && P.defaultProps) for (B in g = P.defaultProps, g) N[B] === void 0 && (N[B] = g[B]);
15
+ return { $$typeof: n, type: P, key: p, ref: G, props: N, _owner: _.current };
16
16
  }
17
17
  return He.Fragment = i, He.jsx = h, He.jsxs = h, He;
18
18
  }
19
19
  var We = {};
20
20
  var ba;
21
- function tt() {
21
+ function rt() {
22
22
  return ba || (ba = 1, process.env.NODE_ENV !== "production" && (function() {
23
- var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.portal"), c = /* @__PURE__ */ Symbol.for("react.fragment"), g = /* @__PURE__ */ Symbol.for("react.strict_mode"), y = /* @__PURE__ */ Symbol.for("react.profiler"), h = /* @__PURE__ */ Symbol.for("react.provider"), P = /* @__PURE__ */ Symbol.for("react.context"), b = /* @__PURE__ */ Symbol.for("react.forward_ref"), Y = /* @__PURE__ */ Symbol.for("react.suspense"), B = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), U = /* @__PURE__ */ Symbol.for("react.offscreen"), A = Symbol.iterator, j = "@@iterator";
23
+ var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.portal"), c = /* @__PURE__ */ Symbol.for("react.fragment"), _ = /* @__PURE__ */ Symbol.for("react.strict_mode"), y = /* @__PURE__ */ Symbol.for("react.profiler"), h = /* @__PURE__ */ Symbol.for("react.provider"), P = /* @__PURE__ */ Symbol.for("react.context"), g = /* @__PURE__ */ Symbol.for("react.forward_ref"), Y = /* @__PURE__ */ Symbol.for("react.suspense"), B = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), G = /* @__PURE__ */ Symbol.for("react.offscreen"), A = Symbol.iterator, j = "@@iterator";
24
24
  function k(a) {
25
25
  if (a === null || typeof a != "object")
26
26
  return null;
27
27
  var s = A && a[A] || a[j];
28
28
  return typeof s == "function" ? s : null;
29
29
  }
30
- var _ = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
+ var b = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
31
31
  function x(a) {
32
32
  {
33
33
  for (var s = arguments.length, u = new Array(s > 1 ? s - 1 : 0), v = 1; v < s; v++)
@@ -37,7 +37,7 @@ function tt() {
37
37
  }
38
38
  function te(a, s, u) {
39
39
  {
40
- var v = _.ReactDebugCurrentFrame, W = v.getStackAddendum();
40
+ var v = b.ReactDebugCurrentFrame, W = v.getStackAddendum();
41
41
  W !== "" && (s += "%s", u = u.concat([W]));
42
42
  var J = u.map(function(F) {
43
43
  return String(F);
@@ -45,10 +45,10 @@ function tt() {
45
45
  J.unshift("Warning: " + s), Function.prototype.apply.call(console[a], console, J);
46
46
  }
47
47
  }
48
- var C = !1, V = !1, S = !1, Q = !1, R = !1, E;
48
+ var C = !1, V = !1, w = !1, Q = !1, R = !1, E;
49
49
  E = /* @__PURE__ */ Symbol.for("react.module.reference");
50
50
  function se(a) {
51
- return !!(typeof a == "string" || typeof a == "function" || a === c || a === y || R || a === g || a === Y || a === B || Q || a === U || C || V || S || typeof a == "object" && a !== null && (a.$$typeof === p || a.$$typeof === N || a.$$typeof === h || a.$$typeof === P || a.$$typeof === b || // This needs to include all possible module reference object
51
+ return !!(typeof a == "string" || typeof a == "function" || a === c || a === y || R || a === _ || a === Y || a === B || Q || a === G || C || V || w || typeof a == "object" && a !== null && (a.$$typeof === p || a.$$typeof === N || a.$$typeof === h || a.$$typeof === P || a.$$typeof === g || // This needs to include all possible module reference object
52
52
  // types supported by any Flight configuration anywhere since
53
53
  // we don't know which Flight build this will end up being used
54
54
  // with.
@@ -61,7 +61,7 @@ function tt() {
61
61
  var W = s.displayName || s.name || "";
62
62
  return W !== "" ? u + "(" + W + ")" : u;
63
63
  }
64
- function G(a) {
64
+ function O(a) {
65
65
  return a.displayName || "Context";
66
66
  }
67
67
  function I(a) {
@@ -78,7 +78,7 @@ function tt() {
78
78
  return "Portal";
79
79
  case y:
80
80
  return "Profiler";
81
- case g:
81
+ case _:
82
82
  return "StrictMode";
83
83
  case Y:
84
84
  return "Suspense";
@@ -89,11 +89,11 @@ function tt() {
89
89
  switch (a.$$typeof) {
90
90
  case P:
91
91
  var s = a;
92
- return G(s) + ".Consumer";
92
+ return O(s) + ".Consumer";
93
93
  case h:
94
94
  var u = a;
95
- return G(u._context) + ".Provider";
96
- case b:
95
+ return O(u._context) + ".Provider";
96
+ case g:
97
97
  return ae(a, a.render, "ForwardRef");
98
98
  case N:
99
99
  var v = a.displayName || null;
@@ -109,14 +109,14 @@ function tt() {
109
109
  }
110
110
  return null;
111
111
  }
112
- var $ = Object.assign, X = 0, O, Te, K, re, he, ue, Pe;
112
+ var $ = Object.assign, X = 0, U, Te, K, re, he, ue, Pe;
113
113
  function ne() {
114
114
  }
115
115
  ne.__reactDisabledLog = !0;
116
116
  function je() {
117
117
  {
118
118
  if (X === 0) {
119
- O = console.log, Te = console.info, K = console.warn, re = console.error, he = console.group, ue = console.groupCollapsed, Pe = console.groupEnd;
119
+ U = console.log, Te = console.info, K = console.warn, re = console.error, he = console.group, ue = console.groupCollapsed, Pe = console.groupEnd;
120
120
  var a = {
121
121
  configurable: !0,
122
122
  enumerable: !0,
@@ -146,7 +146,7 @@ function tt() {
146
146
  };
147
147
  Object.defineProperties(console, {
148
148
  log: $({}, a, {
149
- value: O
149
+ value: U
150
150
  }),
151
151
  info: $({}, a, {
152
152
  value: Te
@@ -171,7 +171,7 @@ function tt() {
171
171
  X < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
172
172
  }
173
173
  }
174
- var pe = _.ReactCurrentDispatcher, ge;
174
+ var pe = b.ReactCurrentDispatcher, ge;
175
175
  function oe(a, s, u) {
176
176
  {
177
177
  if (ge === void 0)
@@ -283,7 +283,7 @@ function tt() {
283
283
  }
284
284
  if (typeof a == "object")
285
285
  switch (a.$$typeof) {
286
- case b:
286
+ case g:
287
287
  return ee(a.render);
288
288
  case N:
289
289
  return Ne(a.type, s, u);
@@ -297,7 +297,7 @@ function tt() {
297
297
  }
298
298
  return "";
299
299
  }
300
- var we = Object.prototype.hasOwnProperty, ye = {}, ke = _.ReactDebugCurrentFrame;
300
+ var we = Object.prototype.hasOwnProperty, ye = {}, ke = b.ReactDebugCurrentFrame;
301
301
  function Se(a) {
302
302
  if (a) {
303
303
  var s = a._owner, u = Ne(a.type, a._source, s ? s.type : null);
@@ -325,7 +325,7 @@ function tt() {
325
325
  }
326
326
  }
327
327
  var Be = Array.isArray;
328
- function w(a) {
328
+ function S(a) {
329
329
  return Be(a);
330
330
  }
331
331
  function l(a) {
@@ -348,7 +348,7 @@ function tt() {
348
348
  if (f(a))
349
349
  return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", l(a)), Z(a);
350
350
  }
351
- var r = _.ReactCurrentOwner, d = {
351
+ var r = b.ReactCurrentOwner, d = {
352
352
  key: !0,
353
353
  ref: !0,
354
354
  __self: !0,
@@ -370,10 +370,10 @@ function tt() {
370
370
  }
371
371
  return a.key !== void 0;
372
372
  }
373
- function Da(a, s) {
373
+ function Ba(a, s) {
374
374
  typeof a.ref == "string" && r.current;
375
375
  }
376
- function Ba(a, s) {
376
+ function Ea(a, s) {
377
377
  {
378
378
  var u = function() {
379
379
  z || (z = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
@@ -384,7 +384,7 @@ function tt() {
384
384
  });
385
385
  }
386
386
  }
387
- function Ea(a, s) {
387
+ function Ia(a, s) {
388
388
  {
389
389
  var u = function() {
390
390
  xe || (xe = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
@@ -395,7 +395,7 @@ function tt() {
395
395
  });
396
396
  }
397
397
  }
398
- var Ia = function(a, s, u, v, W, J, F) {
398
+ var Fa = function(a, s, u, v, W, J, F) {
399
399
  var L = {
400
400
  // This tag allows us to uniquely identify this as a React Element
401
401
  $$typeof: n,
@@ -424,10 +424,10 @@ function tt() {
424
424
  value: W
425
425
  }), Object.freeze && (Object.freeze(L.props), Object.freeze(L)), L;
426
426
  };
427
- function Fa(a, s, u, v, W) {
427
+ function Ma(a, s, u, v, W) {
428
428
  {
429
429
  var J, F = {}, L = null, Ae = null;
430
- u !== void 0 && (be(u), L = "" + u), ze(s) && (be(s.key), L = "" + s.key), $e(s) && (Ae = s.ref, Da(s, W));
430
+ u !== void 0 && (be(u), L = "" + u), ze(s) && (be(s.key), L = "" + s.key), $e(s) && (Ae = s.ref, Ba(s, W));
431
431
  for (J in s)
432
432
  we.call(s, J) && !d.hasOwnProperty(J) && (F[J] = s[J]);
433
433
  if (a && a.defaultProps) {
@@ -437,12 +437,12 @@ function tt() {
437
437
  }
438
438
  if (L || Ae) {
439
439
  var de = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
440
- L && Ba(F, de), Ae && Ea(F, de);
440
+ L && Ea(F, de), Ae && Ia(F, de);
441
441
  }
442
- return Ia(a, L, Ae, W, v, r.current, F);
442
+ return Fa(a, L, Ae, W, v, r.current, F);
443
443
  }
444
444
  }
445
- var Je = _.ReactCurrentOwner, ca = _.ReactDebugCurrentFrame;
445
+ var Je = b.ReactCurrentOwner, ca = b.ReactDebugCurrentFrame;
446
446
  function Ue(a) {
447
447
  if (a) {
448
448
  var s = a._owner, u = Ne(a.type, a._source, s ? s.type : null);
@@ -467,11 +467,11 @@ Check the render method of \`` + a + "`.";
467
467
  return "";
468
468
  }
469
469
  }
470
- function Ma(a) {
470
+ function Ua(a) {
471
471
  return "";
472
472
  }
473
473
  var ua = {};
474
- function Ua(a) {
474
+ function Ga(a) {
475
475
  {
476
476
  var s = da();
477
477
  if (!s) {
@@ -488,7 +488,7 @@ Check the top-level render call using <` + u + ">.");
488
488
  if (!a._store || a._store.validated || a.key != null)
489
489
  return;
490
490
  a._store.validated = !0;
491
- var u = Ua(s);
491
+ var u = Ga(s);
492
492
  if (ua[u])
493
493
  return;
494
494
  ua[u] = !0;
@@ -500,7 +500,7 @@ Check the top-level render call using <` + u + ">.");
500
500
  {
501
501
  if (typeof a != "object")
502
502
  return;
503
- if (w(a))
503
+ if (S(a))
504
504
  for (var u = 0; u < a.length; u++) {
505
505
  var v = a[u];
506
506
  Ze(v) && pa(v, s);
@@ -515,7 +515,7 @@ Check the top-level render call using <` + u + ">.");
515
515
  }
516
516
  }
517
517
  }
518
- function Ga(a) {
518
+ function Oa(a) {
519
519
  {
520
520
  var s = a.type;
521
521
  if (s == null || typeof s == "string")
@@ -523,7 +523,7 @@ Check the top-level render call using <` + u + ">.");
523
523
  var u;
524
524
  if (typeof s == "function")
525
525
  u = s.propTypes;
526
- else if (typeof s == "object" && (s.$$typeof === b || // Note: Memo only checks outer props here.
526
+ else if (typeof s == "object" && (s.$$typeof === g || // Note: Memo only checks outer props here.
527
527
  // Inner props are checked in the reconciler.
528
528
  s.$$typeof === N))
529
529
  u = s.propTypes;
@@ -540,7 +540,7 @@ Check the top-level render call using <` + u + ">.");
540
540
  typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
541
541
  }
542
542
  }
543
- function Oa(a) {
543
+ function $a(a) {
544
544
  {
545
545
  for (var s = Object.keys(a.props), u = 0; u < s.length; u++) {
546
546
  var v = s[u];
@@ -559,19 +559,19 @@ Check the top-level render call using <` + u + ">.");
559
559
  if (!F) {
560
560
  var L = "";
561
561
  (a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (L += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
562
- var Ae = Ma();
562
+ var Ae = Ua();
563
563
  Ae ? L += Ae : L += da();
564
564
  var le;
565
- a === null ? le = "null" : w(a) ? le = "array" : a !== void 0 && a.$$typeof === n ? (le = "<" + (I(a.type) || "Unknown") + " />", L = " Did you accidentally export a JSX literal instead of a component?") : le = typeof a, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", le, L);
565
+ a === null ? le = "null" : S(a) ? le = "array" : a !== void 0 && a.$$typeof === n ? (le = "<" + (I(a.type) || "Unknown") + " />", L = " Did you accidentally export a JSX literal instead of a component?") : le = typeof a, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", le, L);
566
566
  }
567
- var de = Fa(a, s, u, W, J);
567
+ var de = Ma(a, s, u, W, J);
568
568
  if (de == null)
569
569
  return de;
570
570
  if (F) {
571
571
  var Ce = s.children;
572
572
  if (Ce !== void 0)
573
573
  if (v)
574
- if (w(Ce)) {
574
+ if (S(Ce)) {
575
575
  for (var Ge = 0; Ge < Ce.length; Ge++)
576
576
  ma(Ce[Ge], a);
577
577
  Object.freeze && Object.freeze(Ce);
@@ -581,48 +581,48 @@ Check the top-level render call using <` + u + ">.");
581
581
  ma(Ce, a);
582
582
  }
583
583
  if (we.call(s, "key")) {
584
- var Ie = I(a), ve = Object.keys(s).filter(function(Ya) {
585
- return Ya !== "key";
584
+ var Ie = I(a), ve = Object.keys(s).filter(function(Va) {
585
+ return Va !== "key";
586
586
  }), ea = ve.length > 0 ? "{key: someKey, " + ve.join(": ..., ") + ": ...}" : "{key: someKey}";
587
587
  if (!fa[Ie + ea]) {
588
- var qa = ve.length > 0 ? "{" + ve.join(": ..., ") + ": ...}" : "{}";
588
+ var Ya = ve.length > 0 ? "{" + ve.join(": ..., ") + ": ...}" : "{}";
589
589
  x(`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} />`, ea, Ie, qa, Ie), fa[Ie + ea] = !0;
594
+ <%s key={someKey} {...props} />`, ea, Ie, Ya, Ie), fa[Ie + ea] = !0;
595
595
  }
596
596
  }
597
- return a === c ? Oa(de) : Ga(de), de;
597
+ return a === c ? $a(de) : Oa(de), de;
598
598
  }
599
599
  }
600
- function $a(a, s, u) {
600
+ function Ha(a, s, u) {
601
601
  return ha(a, s, u, !0);
602
602
  }
603
- function Ha(a, s, u) {
603
+ function Wa(a, s, u) {
604
604
  return ha(a, s, u, !1);
605
605
  }
606
- var Wa = Ha, Ka = $a;
607
- We.Fragment = c, We.jsx = Wa, We.jsxs = Ka;
606
+ var Ka = Wa, qa = Ha;
607
+ We.Fragment = c, We.jsx = Ka, We.jsxs = qa;
608
608
  })()), We;
609
609
  }
610
610
  var _a;
611
- function rt() {
612
- return _a || (_a = 1, process.env.NODE_ENV === "production" ? Ve.exports = at() : Ve.exports = tt()), Ve.exports;
611
+ function nt() {
612
+ return _a || (_a = 1, process.env.NODE_ENV === "production" ? Ve.exports = tt() : Ve.exports = rt()), Ve.exports;
613
613
  }
614
- var e = rt();
615
- const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBorder_1e1th_12", lt = "_headerSeparator_1e1th_16", st = "_langDropdownWrap_1e1th_21", ct = "_langTrigger_1e1th_25", dt = "_langIcon_1e1th_37", ut = "_langLabel_1e1th_44", pt = "_langMenu_1e1th_49", mt = "_langOption_1e1th_55", Le = {
616
- container: nt,
617
- main: ot,
618
- kundliHeaderNoBorder: it,
619
- headerSeparator: lt,
620
- langDropdownWrap: st,
621
- langTrigger: ct,
622
- langIcon: dt,
623
- langLabel: ut,
624
- langMenu: pt,
625
- langOption: mt
614
+ var e = nt();
615
+ const ot = "_container_1e1th_1", it = "_main_1e1th_7", lt = "_kundliHeaderNoBorder_1e1th_12", st = "_headerSeparator_1e1th_16", ct = "_langDropdownWrap_1e1th_21", dt = "_langTrigger_1e1th_25", ut = "_langIcon_1e1th_37", pt = "_langLabel_1e1th_44", mt = "_langMenu_1e1th_49", ft = "_langOption_1e1th_55", Le = {
616
+ container: ot,
617
+ main: it,
618
+ kundliHeaderNoBorder: lt,
619
+ headerSeparator: st,
620
+ langDropdownWrap: ct,
621
+ langTrigger: dt,
622
+ langIcon: ut,
623
+ langLabel: pt,
624
+ langMenu: mt,
625
+ langOption: ft
626
626
  }, wa = [
627
627
  "en",
628
628
  "hi",
@@ -639,7 +639,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
639
639
  ta: "தமிழ்",
640
640
  te: "తెలుగు",
641
641
  kn: "ಕನ್ನಡ"
642
- }, ft = {
642
+ }, ht = {
643
643
  kundli: "Kundli",
644
644
  birthChart: "Birth Chart",
645
645
  details: "Details",
@@ -876,7 +876,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
876
876
  selectPackage: "Select Package",
877
877
  // Download app bottom sheet
878
878
  downloadAppSheetTitle: "Get your Kundli Report in the App",
879
- downloadAppSheetReportAccess: "Access your Kundli Report & section wise summary in the app",
879
+ downloadAppSheetReportAccess: "Access & download your kundli report & section wise summary in the app",
880
880
  downloadAppSheetAlsoUnlocked: "Also unlocked in the app",
881
881
  downloadAppSheetAskQuestions: "Ask any questions related to your kundli report in the app",
882
882
  downloadAppSheetRemedies: "Select an area of focus and get remedies based on our report",
@@ -890,7 +890,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
890
890
  downloadAppSheetRitualHero: "Select an area of focus and get remedies based on your report",
891
891
  downloadAppSheetAccessDownloadReport: "Access & download your kundli report & section wise summary in the app",
892
892
  downloadAppSheetRitualCta: "Start Today’s Ritual on App"
893
- }, ht = {
893
+ }, gt = {
894
894
  kundli: "कुंडली",
895
895
  birthChart: "जन्म कुंडली",
896
896
  details: "विवरण",
@@ -1142,7 +1142,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
1142
1142
  downloadAppSheetRitualHero: "अपनी प्राथमिकता का क्षेत्र चुनें और अपनी रिपोर्ट के आधार पर उपाय पाएं",
1143
1143
  downloadAppSheetAccessDownloadReport: "ऐप में अपनी कुंडली रिपोर्ट और अनुभागवार सारांश देखें एवं डाउनलोड करें",
1144
1144
  downloadAppSheetRitualCta: "ऐप में आज का अनुष्ठान शुरू करें"
1145
- }, gt = {
1145
+ }, bt = {
1146
1146
  kundli: "कुंडली",
1147
1147
  birthChart: "जन्मकुंडली",
1148
1148
  details: "तपशील",
@@ -1369,7 +1369,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
1369
1369
  and: "आणि",
1370
1370
  astrologyGuidance: "ज्योतिष मार्गदर्शन",
1371
1371
  selectPackage: "पॅकेज निवडा"
1372
- }, bt = {
1372
+ }, _t = {
1373
1373
  kundli: "કુંડળી",
1374
1374
  birthChart: "જન્મ કુંડળી",
1375
1375
  details: "વિગતો",
@@ -1596,7 +1596,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
1596
1596
  and: "અને",
1597
1597
  astrologyGuidance: "જ્યોતિષ માર્ગદર્શન",
1598
1598
  selectPackage: "પેકેજ પસંદ કરો"
1599
- }, _t = {
1599
+ }, yt = {
1600
1600
  kundli: "ಕುಂಡಲಿ",
1601
1601
  birthChart: "ಜನ್ಮ ಕುಂಡಲಿ",
1602
1602
  details: "ವಿವರಗಳು",
@@ -1839,7 +1839,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
1839
1839
  downloadAppSheetRitualHero: "ಗಮನ ಹರಿಸಬೇಕಾದ ಕ್ಷೇತ್ರವನ್ನು ಆಯ್ಕೆ ಮಾಡಿ ಮತ್ತು ನಿಮ್ಮ ವರದಿಯ ಆಧಾರದ ಮೇಲೆ ಪರಿಹಾರಗಳನ್ನು ಪಡೆಯಿರಿ",
1840
1840
  downloadAppSheetAccessDownloadReport: "ಆ್ಯಪ್‌ನಲ್ಲಿ ನಿಮ್ಮ ಕುಂಡಲಿ ವರದಿ ಮತ್ತು ವಿಭಾಗವಾರು ಸಾರಾಂಶವನ್ನು ವೀಕ್ಷಿಸಿ ಹಾಗೂ ಡೌನ್‌ಲೋಡ್ ಮಾಡಿ",
1841
1841
  downloadAppSheetRitualCta: "ಆ್ಯಪ್‌ನಲ್ಲಿ ಇಂದಿನ ಆಚರಣೆಯನ್ನು ಪ್ರಾರಂಭಿಸಿ"
1842
- }, yt = {
1842
+ }, kt = {
1843
1843
  kundli: "ஜாதகம்",
1844
1844
  birthChart: "பிறப்பு ஜாதகம்",
1845
1845
  details: "விவரங்கள்",
@@ -2066,7 +2066,7 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
2066
2066
  and: "மற்றும்",
2067
2067
  astrologyGuidance: "ஜோதிட வழிகாட்டுதல்",
2068
2068
  selectPackage: "தொகுப்பைத் தேர்ந்தெடுக்கவும்"
2069
- }, kt = {
2069
+ }, At = {
2070
2070
  kundli: "జాతకం",
2071
2071
  birthChart: "జన్మ జాతకం",
2072
2072
  details: "వివరాలు",
@@ -2310,37 +2310,37 @@ const nt = "_container_1e1th_1", ot = "_main_1e1th_7", it = "_kundliHeaderNoBord
2310
2310
  downloadAppSheetDailyRituals: "మీ దృష్టి పెట్టాలనుకున్న అంశాన్ని ఎంచుకుని, మా రిపోర్ట్ ఆధారంగా పరిహారాలను పొందండి",
2311
2311
  downloadAppSheetQuestionCta: "యాప్‌లో ఉచిత ప్రశ్న అడగండి"
2312
2312
  }, Sa = {
2313
- en: ft,
2314
- hi: ht,
2315
- mr: gt,
2313
+ en: ht,
2314
+ hi: gt,
2315
+ mr: bt,
2316
2316
  // Dropdown/type support only for now — copy falls back to English until
2317
2317
  // real gu/ta/te/kn translations are written.
2318
- gu: bt,
2319
- ta: yt,
2320
- te: kt,
2321
- kn: _t
2318
+ gu: _t,
2319
+ ta: kt,
2320
+ te: At,
2321
+ kn: yt
2322
2322
  }, Pa = Ta(null), vi = ({
2323
2323
  locale: t,
2324
2324
  children: n
2325
2325
  }) => {
2326
- const c = { locale: t, t: (g) => Sa[t]?.[g] };
2326
+ const c = { locale: t, t: (_) => Sa[t]?.[_] };
2327
2327
  return /* @__PURE__ */ e.jsx(Pa.Provider, { value: c, children: n });
2328
2328
  };
2329
- function At() {
2329
+ function vt() {
2330
2330
  return oa(Pa);
2331
2331
  }
2332
2332
  const Ye = (t) => {
2333
- const { priority: n, fetchPriority: i, width: c, height: g, ...y } = t;
2333
+ const { priority: n, fetchPriority: i, width: c, height: _, ...y } = t;
2334
2334
  return na.createElement("img", {
2335
2335
  ...y,
2336
2336
  width: c ?? 1,
2337
- height: g ?? 1,
2337
+ height: _ ?? 1,
2338
2338
  decoding: "async",
2339
2339
  loading: y.loading ?? (n ? "eager" : "lazy"),
2340
2340
  ...i && { fetchPriority: i }
2341
2341
  });
2342
2342
  };
2343
- function vt(t) {
2343
+ function Tt(t) {
2344
2344
  if (typeof window > "u" || !window.localStorage)
2345
2345
  return null;
2346
2346
  try {
@@ -2349,7 +2349,7 @@ function vt(t) {
2349
2349
  return null;
2350
2350
  }
2351
2351
  }
2352
- function Tt(t, n) {
2352
+ function wt(t, n) {
2353
2353
  if (!(typeof window > "u" || !window.localStorage))
2354
2354
  try {
2355
2355
  window.localStorage.setItem(t, n);
@@ -2374,14 +2374,14 @@ function wi() {
2374
2374
  }
2375
2375
  }
2376
2376
  const xa = "kundli_language";
2377
- function wt() {
2378
- const t = vt(xa);
2377
+ function St() {
2378
+ const t = Tt(xa);
2379
2379
  return t && wa.includes(t) ? t : null;
2380
2380
  }
2381
- function St(t) {
2382
- Tt(xa, t);
2381
+ function Pt(t) {
2382
+ wt(xa, t);
2383
2383
  }
2384
- const ia = Ta(null), Pt = {
2384
+ const ia = Ta(null), xt = {
2385
2385
  fullName: "",
2386
2386
  phone: "",
2387
2387
  phoneCountryCode: "",
@@ -2397,50 +2397,50 @@ const ia = Ta(null), Pt = {
2397
2397
  showLanguageSelector: n = !0,
2398
2398
  showSheet: i,
2399
2399
  userId: c,
2400
- isGlobal: g,
2400
+ isGlobal: _,
2401
2401
  variant: y,
2402
2402
  initialFormValues: h,
2403
2403
  autoOpenPlanSheet: P,
2404
- googleMapsApiKey: b,
2404
+ googleMapsApiKey: g,
2405
2405
  atlasSearchLocalities: Y,
2406
2406
  googleMapsAutocompleteEnabled: B,
2407
2407
  enableConsultationScheduling: N,
2408
2408
  fetchConsultationSlots: p,
2409
- logoUrl: U,
2409
+ logoUrl: G,
2410
2410
  reportImageUrl: A,
2411
2411
  reportImagePriority: j,
2412
2412
  backgroundImagePriority: k,
2413
- universityLogoUrls: _,
2413
+ universityLogoUrls: b,
2414
2414
  sampleReportHref: x,
2415
2415
  onViewSampleReport: te,
2416
2416
  ctaHref: C,
2417
2417
  onCtaClick: V,
2418
- onBack: S,
2418
+ onBack: w,
2419
2419
  readMoreReviewsHref: Q,
2420
2420
  onProceed: R,
2421
2421
  proceedHref: E,
2422
2422
  originalPriceLabel: se,
2423
2423
  discountedPriceLabel: ae,
2424
- discountPillLabel: G,
2424
+ discountPillLabel: O,
2425
2425
  analytics: I,
2426
2426
  onProceedGuidance: $,
2427
2427
  onLocaleChange: X,
2428
- imageComponent: O = Ye,
2428
+ imageComponent: U = Ye,
2429
2429
  resolvedUtmBannerImageUrl: Te,
2430
2430
  plans: K,
2431
2431
  threeSkuPlans: re,
2432
2432
  children: he
2433
2433
  }) => {
2434
2434
  const [ue, Pe] = D("landing"), [ne, je] = D(t ?? "en"), [_e, pe] = D({
2435
- ...Pt,
2435
+ ...xt,
2436
2436
  ...h
2437
2437
  }), ge = M(!0);
2438
2438
  q(() => {
2439
2439
  if (t) return;
2440
- const fe = wt();
2440
+ const fe = St();
2441
2441
  fe && je(fe);
2442
2442
  }, []), q(() => {
2443
- St(ne);
2443
+ Pt(ne);
2444
2444
  }, [ne]), q(() => {
2445
2445
  if (ge.current) {
2446
2446
  ge.current = !1;
@@ -2454,35 +2454,35 @@ const ia = Ta(null), Pt = {
2454
2454
  showLanguageSelector: n,
2455
2455
  showSheet: i,
2456
2456
  userId: c,
2457
- isGlobal: g,
2457
+ isGlobal: _,
2458
2458
  variant: y,
2459
2459
  initialFormValues: h,
2460
2460
  autoOpenPlanSheet: P,
2461
- googleMapsApiKey: b,
2461
+ googleMapsApiKey: g,
2462
2462
  atlasSearchLocalities: Y,
2463
2463
  googleMapsAutocompleteEnabled: B,
2464
2464
  enableConsultationScheduling: N,
2465
2465
  fetchConsultationSlots: p,
2466
- logoUrl: U,
2466
+ logoUrl: G,
2467
2467
  reportImageUrl: A,
2468
2468
  reportImagePriority: j,
2469
2469
  backgroundImagePriority: k,
2470
- universityLogoUrls: _,
2470
+ universityLogoUrls: b,
2471
2471
  sampleReportHref: x,
2472
2472
  onViewSampleReport: te,
2473
2473
  ctaHref: C,
2474
2474
  onCtaClick: V,
2475
- onBack: S,
2475
+ onBack: w,
2476
2476
  readMoreReviewsHref: Q,
2477
2477
  onProceed: R,
2478
2478
  proceedHref: E,
2479
2479
  originalPriceLabel: se,
2480
2480
  discountedPriceLabel: ae,
2481
- discountPillLabel: G,
2481
+ discountPillLabel: O,
2482
2482
  analytics: I,
2483
2483
  onProceedGuidance: $,
2484
2484
  onLocaleChange: X,
2485
- imageComponent: O,
2485
+ imageComponent: U,
2486
2486
  resolvedUtmBannerImageUrl: Te,
2487
2487
  plans: K,
2488
2488
  threeSkuPlans: re
@@ -2492,35 +2492,35 @@ const ia = Ta(null), Pt = {
2492
2492
  n,
2493
2493
  i,
2494
2494
  c,
2495
- g,
2495
+ _,
2496
2496
  y,
2497
2497
  h,
2498
2498
  P,
2499
- b,
2499
+ g,
2500
2500
  Y,
2501
2501
  B,
2502
2502
  N,
2503
2503
  p,
2504
- U,
2504
+ G,
2505
2505
  A,
2506
2506
  j,
2507
2507
  k,
2508
- _,
2508
+ b,
2509
2509
  x,
2510
2510
  te,
2511
2511
  C,
2512
2512
  V,
2513
- S,
2513
+ w,
2514
2514
  Q,
2515
2515
  R,
2516
2516
  E,
2517
2517
  se,
2518
2518
  ae,
2519
- G,
2519
+ O,
2520
2520
  I,
2521
2521
  $,
2522
2522
  X,
2523
- O,
2523
+ U,
2524
2524
  Te,
2525
2525
  K,
2526
2526
  re
@@ -2557,16 +2557,16 @@ function Pi() {
2557
2557
  );
2558
2558
  return t;
2559
2559
  }
2560
- const xt = "_header_19172_1", Ct = "_centered_19172_8", ka = {
2561
- header: xt,
2562
- centered: Ct
2563
- }, Rt = ({
2560
+ const Ct = "_header_19172_1", Rt = "_centered_19172_8", ka = {
2561
+ header: Ct,
2562
+ centered: Rt
2563
+ }, jt = ({
2564
2564
  t,
2565
2565
  onBack: n,
2566
2566
  className: i = "",
2567
2567
  align: c = "left"
2568
2568
  }) => /* @__PURE__ */ e.jsx(
2569
- Qa,
2569
+ za,
2570
2570
  {
2571
2571
  title: t("formTitle"),
2572
2572
  subtitle: t("formSubtitle"),
@@ -2574,67 +2574,67 @@ const xt = "_header_19172_1", Ct = "_centered_19172_8", ka = {
2574
2574
  backAriaLabel: t("back"),
2575
2575
  className: `${ka.header} ${c === "center" ? ka.centered : ""} ${i}`
2576
2576
  }
2577
- ), jt = "_wrap_119w3_1", Nt = "_card_119w3_5", Lt = "_cardInner_119w3_12", Dt = "_field_119w3_44", Bt = "_labelRow_119w3_48", Et = "_label_119w3_48", It = "_req_119w3_57", Ft = "_help_119w3_61", Mt = "_choiceRow_119w3_68", Ut = "_choiceBtn_119w3_74", Gt = "_choiceBtnActive_119w3_99", Ot = "_infoBtn_119w3_105", $t = "_infoImg_119w3_122", Ht = "_infoWrap_119w3_128", Wt = "_tooltip_119w3_134", Kt = "_tooltipArrow_119w3_150", qt = "_inputWrap_119w3_161", Yt = "_isdWrap_119w3_165", Vt = "_phoneInputGroup_119w3_169", Qt = "_isdSelectWrap_119w3_178", zt = "_isdSelectTrigger_119w3_197", Jt = "_isdDropdown_119w3_214", Xt = "_isdSearchWrap_119w3_229", Zt = "_isdSearchInput_119w3_237", er = "_isdOption_119w3_255", ar = "_isdOptionActive_119w3_275", tr = "_isdCountryName_119w3_281", rr = "_isdCountryCode_119w3_288", nr = "_isdNoResult_119w3_295", or = "_suggestions_119w3_302", ir = "_suggestionItem_119w3_315", lr = "_suggestionMain_119w3_333", sr = "_suggestionSecondary_119w3_339", cr = "_suggestionsHint_119w3_344", dr = "_timePopover_119w3_366", ur = "_timePickerRow_119w3_382", pr = "_timePickerSelect_119w3_388", mr = "_timePickerColon_119w3_404", fr = "_meridiemToggle_119w3_412", hr = "_meridiemBtn_119w3_421", gr = "_meridiemActive_119w3_436", br = "_timePopoverActions_119w3_441", _r = "_timePopoverBtn_119w3_447", yr = "_timePopoverOk_119w3_466", kr = "_input_119w3_161", Ar = "_phoneInput_119w3_169", vr = "_iconBtn_119w3_519", Tr = "_iconBtnInteractive_119w3_525", wr = "_iconImg_119w3_544", Sr = "_checkboxRow_119w3_550", Pr = "_checkbox_119w3_550", xr = "_checkboxText_119w3_588", o = {
2578
- wrap: jt,
2579
- card: Nt,
2580
- cardInner: Lt,
2581
- field: Dt,
2582
- labelRow: Bt,
2583
- label: Et,
2584
- req: It,
2585
- help: Ft,
2586
- choiceRow: Mt,
2587
- choiceBtn: Ut,
2588
- choiceBtnActive: Gt,
2589
- infoBtn: Ot,
2590
- infoImg: $t,
2591
- infoWrap: Ht,
2592
- tooltip: Wt,
2593
- tooltipArrow: Kt,
2594
- inputWrap: qt,
2595
- isdWrap: Yt,
2596
- phoneInputGroup: Vt,
2597
- isdSelectWrap: Qt,
2598
- isdSelectTrigger: zt,
2599
- isdDropdown: Jt,
2600
- isdSearchWrap: Xt,
2601
- isdSearchInput: Zt,
2602
- isdOption: er,
2603
- isdOptionActive: ar,
2604
- isdCountryName: tr,
2605
- isdCountryCode: rr,
2606
- isdNoResult: nr,
2607
- suggestions: or,
2608
- suggestionItem: ir,
2609
- suggestionMain: lr,
2610
- suggestionSecondary: sr,
2611
- suggestionsHint: cr,
2612
- timePopover: dr,
2613
- timePickerRow: ur,
2614
- timePickerSelect: pr,
2615
- timePickerColon: mr,
2616
- meridiemToggle: fr,
2617
- meridiemBtn: hr,
2618
- meridiemActive: gr,
2619
- timePopoverActions: br,
2620
- timePopoverBtn: _r,
2621
- timePopoverOk: yr,
2622
- input: kr,
2623
- phoneInput: Ar,
2624
- iconBtn: vr,
2625
- iconBtnInteractive: Tr,
2626
- iconImg: wr,
2627
- checkboxRow: Sr,
2628
- checkbox: Pr,
2629
- checkboxText: xr
2577
+ ), Nt = "_wrap_119w3_1", Lt = "_card_119w3_5", Dt = "_cardInner_119w3_12", Bt = "_field_119w3_44", Et = "_labelRow_119w3_48", It = "_label_119w3_48", Ft = "_req_119w3_57", Mt = "_help_119w3_61", Ut = "_choiceRow_119w3_68", Gt = "_choiceBtn_119w3_74", Ot = "_choiceBtnActive_119w3_99", $t = "_infoBtn_119w3_105", Ht = "_infoImg_119w3_122", Wt = "_infoWrap_119w3_128", Kt = "_tooltip_119w3_134", qt = "_tooltipArrow_119w3_150", Yt = "_inputWrap_119w3_161", Vt = "_isdWrap_119w3_165", Qt = "_phoneInputGroup_119w3_169", zt = "_isdSelectWrap_119w3_178", Jt = "_isdSelectTrigger_119w3_197", Xt = "_isdDropdown_119w3_214", Zt = "_isdSearchWrap_119w3_229", er = "_isdSearchInput_119w3_237", ar = "_isdOption_119w3_255", tr = "_isdOptionActive_119w3_275", rr = "_isdCountryName_119w3_281", nr = "_isdCountryCode_119w3_288", or = "_isdNoResult_119w3_295", ir = "_suggestions_119w3_302", lr = "_suggestionItem_119w3_315", sr = "_suggestionMain_119w3_333", cr = "_suggestionSecondary_119w3_339", dr = "_suggestionsHint_119w3_344", ur = "_timePopover_119w3_366", pr = "_timePickerRow_119w3_382", mr = "_timePickerSelect_119w3_388", fr = "_timePickerColon_119w3_404", hr = "_meridiemToggle_119w3_412", gr = "_meridiemBtn_119w3_421", br = "_meridiemActive_119w3_436", _r = "_timePopoverActions_119w3_441", yr = "_timePopoverBtn_119w3_447", kr = "_timePopoverOk_119w3_466", Ar = "_input_119w3_161", vr = "_phoneInput_119w3_169", Tr = "_iconBtn_119w3_519", wr = "_iconBtnInteractive_119w3_525", Sr = "_iconImg_119w3_544", Pr = "_checkboxRow_119w3_550", xr = "_checkbox_119w3_550", Cr = "_checkboxText_119w3_588", o = {
2578
+ wrap: Nt,
2579
+ card: Lt,
2580
+ cardInner: Dt,
2581
+ field: Bt,
2582
+ labelRow: Et,
2583
+ label: It,
2584
+ req: Ft,
2585
+ help: Mt,
2586
+ choiceRow: Ut,
2587
+ choiceBtn: Gt,
2588
+ choiceBtnActive: Ot,
2589
+ infoBtn: $t,
2590
+ infoImg: Ht,
2591
+ infoWrap: Wt,
2592
+ tooltip: Kt,
2593
+ tooltipArrow: qt,
2594
+ inputWrap: Yt,
2595
+ isdWrap: Vt,
2596
+ phoneInputGroup: Qt,
2597
+ isdSelectWrap: zt,
2598
+ isdSelectTrigger: Jt,
2599
+ isdDropdown: Xt,
2600
+ isdSearchWrap: Zt,
2601
+ isdSearchInput: er,
2602
+ isdOption: ar,
2603
+ isdOptionActive: tr,
2604
+ isdCountryName: rr,
2605
+ isdCountryCode: nr,
2606
+ isdNoResult: or,
2607
+ suggestions: ir,
2608
+ suggestionItem: lr,
2609
+ suggestionMain: sr,
2610
+ suggestionSecondary: cr,
2611
+ suggestionsHint: dr,
2612
+ timePopover: ur,
2613
+ timePickerRow: pr,
2614
+ timePickerSelect: mr,
2615
+ timePickerColon: fr,
2616
+ meridiemToggle: hr,
2617
+ meridiemBtn: gr,
2618
+ meridiemActive: br,
2619
+ timePopoverActions: _r,
2620
+ timePopoverBtn: yr,
2621
+ timePopoverOk: kr,
2622
+ input: Ar,
2623
+ phoneInput: vr,
2624
+ iconBtn: Tr,
2625
+ iconBtnInteractive: wr,
2626
+ iconImg: Sr,
2627
+ checkboxRow: Pr,
2628
+ checkbox: xr,
2629
+ checkboxText: Cr
2630
2630
  };
2631
2631
  let Qe = null;
2632
- const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Qe || (Qe = new Promise((i, c) => {
2633
- const g = document.querySelector(
2632
+ const Rr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Qe || (Qe = new Promise((i, c) => {
2633
+ const _ = document.querySelector(
2634
2634
  'script[data-google-maps-places="true"]'
2635
2635
  );
2636
- if (g) {
2637
- g.addEventListener("load", () => i()), g.addEventListener(
2636
+ if (_) {
2637
+ _.addEventListener("load", () => i()), _.addEventListener(
2638
2638
  "error",
2639
2639
  () => c(new Error("Failed to load Google Maps API"))
2640
2640
  );
@@ -2642,7 +2642,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2642
2642
  }
2643
2643
  const y = document.createElement("script"), h = new URL("https://maps.googleapis.com/maps/api/js");
2644
2644
  h.searchParams.set("key", t), h.searchParams.set("libraries", "places"), h.searchParams.set("loading", "async"), n && h.searchParams.set("language", n), y.src = h.toString(), y.async = !0, y.defer = !0, y.setAttribute("data-google-maps-places", "true"), y.onload = () => {
2645
- const P = Date.now(), b = () => {
2645
+ const P = Date.now(), g = () => {
2646
2646
  if (window.google?.maps?.places) {
2647
2647
  i();
2648
2648
  return;
@@ -2655,50 +2655,50 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2655
2655
  );
2656
2656
  return;
2657
2657
  }
2658
- window.setTimeout(b, 50);
2658
+ window.setTimeout(g, 50);
2659
2659
  };
2660
- b();
2660
+ g();
2661
2661
  }, y.onerror = () => c(new Error("Failed to load Google Maps API")), document.head.appendChild(y);
2662
- }), Qe), Rr = (t) => {
2663
- const { apiKey: n, language: i = "en", restrictCountry: c, deferLoad: g = !1 } = t, [y, h] = D(!1), [P, b] = D([]), [Y, B] = D(!1), [N, p] = D(null), [U, A] = D(!g), j = M(null), k = M(null), _ = M(null), x = Re(() => {
2664
- g && A(!0);
2665
- }, [g]);
2662
+ }), Qe), jr = (t) => {
2663
+ const { apiKey: n, language: i = "en", restrictCountry: c, deferLoad: _ = !1 } = t, [y, h] = D(!1), [P, g] = D([]), [Y, B] = D(!1), [N, p] = D(null), [G, A] = D(!_), j = M(null), k = M(null), b = M(null), x = Re(() => {
2664
+ _ && A(!0);
2665
+ }, [_]);
2666
2666
  q(() => {
2667
- if (!n || !U) {
2667
+ if (!n || !G) {
2668
2668
  h(!1), p(null);
2669
2669
  return;
2670
2670
  }
2671
- Cr(n, i).then(() => {
2671
+ Rr(n, i).then(() => {
2672
2672
  j.current = new google.maps.places.AutocompleteService();
2673
- const S = document.createElement("div");
2674
- k.current = new google.maps.places.PlacesService(S), _.current = new google.maps.places.AutocompleteSessionToken(), h(!0), p(null);
2675
- }).catch((S) => {
2676
- h(!1), p(S?.message || "Failed to load location service");
2673
+ const w = document.createElement("div");
2674
+ k.current = new google.maps.places.PlacesService(w), b.current = new google.maps.places.AutocompleteSessionToken(), h(!0), p(null);
2675
+ }).catch((w) => {
2676
+ h(!1), p(w?.message || "Failed to load location service");
2677
2677
  });
2678
- }, [n, i, U]);
2678
+ }, [n, i, G]);
2679
2679
  const te = Re(
2680
- async (S) => {
2681
- if (!S || S.length < 2 || !j.current) {
2682
- b([]);
2680
+ async (w) => {
2681
+ if (!w || w.length < 2 || !j.current) {
2682
+ g([]);
2683
2683
  return;
2684
2684
  }
2685
2685
  B(!0);
2686
2686
  try {
2687
2687
  const Q = {
2688
- input: S,
2688
+ input: w,
2689
2689
  types: ["(cities)"],
2690
- sessionToken: _.current ?? void 0
2690
+ sessionToken: b.current ?? void 0
2691
2691
  };
2692
2692
  c && (Q.componentRestrictions = { country: c });
2693
2693
  const R = await new Promise((E, se) => {
2694
2694
  j.current.getPlacePredictions(
2695
2695
  Q,
2696
- (ae, G) => {
2697
- G === google.maps.places.PlacesServiceStatus.OK && ae ? E(ae) : G === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? E([]) : se(new Error(`Places API error: ${G}`));
2696
+ (ae, O) => {
2697
+ O === google.maps.places.PlacesServiceStatus.OK && ae ? E(ae) : O === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? E([]) : se(new Error(`Places API error: ${O}`));
2698
2698
  }
2699
2699
  );
2700
2700
  });
2701
- b(
2701
+ g(
2702
2702
  R.map((E) => ({
2703
2703
  place_id: E.place_id,
2704
2704
  description: E.description,
@@ -2709,49 +2709,49 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2709
2709
  }))
2710
2710
  );
2711
2711
  } catch {
2712
- b([]);
2712
+ g([]);
2713
2713
  } finally {
2714
2714
  B(!1);
2715
2715
  }
2716
2716
  },
2717
2717
  [c]
2718
2718
  ), C = Re(
2719
- async (S) => {
2719
+ async (w) => {
2720
2720
  if (!k.current) return null;
2721
2721
  try {
2722
2722
  const Q = await new Promise(
2723
2723
  (I, $) => {
2724
2724
  k.current.getDetails(
2725
2725
  {
2726
- placeId: S,
2726
+ placeId: w,
2727
2727
  fields: ["geometry", "address_components", "formatted_address"],
2728
- sessionToken: _.current ?? void 0
2728
+ sessionToken: b.current ?? void 0
2729
2729
  },
2730
- (X, O) => {
2731
- O === google.maps.places.PlacesServiceStatus.OK && X ? I(X) : $(new Error(`Place details error: ${O}`));
2730
+ (X, U) => {
2731
+ U === google.maps.places.PlacesServiceStatus.OK && X ? I(X) : $(new Error(`Place details error: ${U}`));
2732
2732
  }
2733
2733
  );
2734
2734
  }
2735
2735
  );
2736
- _.current = new google.maps.places.AutocompleteSessionToken();
2736
+ b.current = new google.maps.places.AutocompleteSessionToken();
2737
2737
  const R = Q.geometry?.location?.lat() || 0, E = Q.geometry?.location?.lng() || 0;
2738
- let se = "", ae = "", G = "";
2738
+ let se = "", ae = "", O = "";
2739
2739
  return Q.address_components?.forEach((I) => {
2740
- I.types.includes("locality") && (se = I.long_name), I.types.includes("administrative_area_level_1") && (ae = I.long_name), I.types.includes("country") && (G = I.long_name);
2740
+ I.types.includes("locality") && (se = I.long_name), I.types.includes("administrative_area_level_1") && (ae = I.long_name), I.types.includes("country") && (O = I.long_name);
2741
2741
  }), {
2742
2742
  display_name: Q.formatted_address || "",
2743
2743
  lat: R,
2744
2744
  lng: E,
2745
2745
  city: se,
2746
2746
  state: ae,
2747
- country: G
2747
+ country: O
2748
2748
  };
2749
2749
  } catch {
2750
2750
  return null;
2751
2751
  }
2752
2752
  },
2753
2753
  []
2754
- ), V = Re(() => b([]), []);
2754
+ ), V = Re(() => g([]), []);
2755
2755
  return {
2756
2756
  isLoaded: y,
2757
2757
  predictions: P,
@@ -2763,48 +2763,48 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2763
2763
  triggerLoad: x
2764
2764
  // Call this to start loading Google Maps when deferred
2765
2765
  };
2766
- }, Aa = (t) => typeof t == "number" && Number.isFinite(t), jr = (t) => {
2766
+ }, Aa = (t) => typeof t == "number" && Number.isFinite(t), Nr = (t) => {
2767
2767
  const n = typeof t?.limit == "number" && t.limit > 0 ? Math.min(t.limit, 20) : 8, i = typeof t?.offset == "number" && t.offset >= 0 ? t.offset : 0;
2768
2768
  return {
2769
2769
  limit: n,
2770
2770
  offset: i,
2771
2771
  restrictCountry: t?.restrictCountry
2772
2772
  };
2773
- }, Nr = (t) => {
2774
- const { searchLocalities: n, restrictCountry: i } = t, [c, g] = D([]), [y, h] = D(!1), [P, b] = D(null), Y = M(0);
2773
+ }, Lr = (t) => {
2774
+ const { searchLocalities: n, restrictCountry: i } = t, [c, _] = D([]), [y, h] = D(!1), [P, g] = D(null), Y = M(0);
2775
2775
  q(() => {
2776
- b(null);
2776
+ g(null);
2777
2777
  }, [n]);
2778
2778
  const B = Re(
2779
2779
  async (p) => {
2780
2780
  if (!p || p.length < 2 || !n) {
2781
- g([]);
2781
+ _([]);
2782
2782
  return;
2783
2783
  }
2784
- const U = ++Y.current;
2785
- h(!0), b(null);
2784
+ const G = ++Y.current;
2785
+ h(!0), g(null);
2786
2786
  try {
2787
- const A = jr({ restrictCountry: i }), j = await n(p, A);
2788
- if (U !== Y.current) return;
2787
+ const A = Nr({ restrictCountry: i }), j = await n(p, A);
2788
+ if (G !== Y.current) return;
2789
2789
  const k = (j || []).filter(
2790
- (_) => !!_?.id && !!_?.description && Aa(_?.lat) && Aa(_?.lng)
2791
- ).map((_) => ({
2792
- id: _.id,
2793
- description: _.description,
2794
- secondary_text: _.secondaryText,
2795
- lat: _.lat,
2796
- lng: _.lng
2790
+ (b) => !!b?.id && !!b?.description && Aa(b?.lat) && Aa(b?.lng)
2791
+ ).map((b) => ({
2792
+ id: b.id,
2793
+ description: b.description,
2794
+ secondary_text: b.secondaryText,
2795
+ lat: b.lat,
2796
+ lng: b.lng
2797
2797
  }));
2798
- g(k);
2798
+ _(k);
2799
2799
  } catch (A) {
2800
- if (U !== Y.current) return;
2801
- g([]), b(A?.message || "Failed to fetch locations");
2800
+ if (G !== Y.current) return;
2801
+ _([]), g(A?.message || "Failed to fetch locations");
2802
2802
  } finally {
2803
- U === Y.current && h(!1);
2803
+ G === Y.current && h(!1);
2804
2804
  }
2805
2805
  },
2806
2806
  [i, n]
2807
- ), N = Re(() => g([]), []);
2807
+ ), N = Re(() => _([]), []);
2808
2808
  return {
2809
2809
  predictions: c,
2810
2810
  isSearching: y,
@@ -2887,22 +2887,22 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2887
2887
  { code: "+975", country: "Bhutan" },
2888
2888
  { code: "+976", country: "Mongolia" },
2889
2889
  { code: "+977", country: "Nepal" }
2890
- ], ra = Ca.map((t) => t.code), Ra = 10, la = (t) => t.replace(/\D/g, ""), va = (t) => la(t).slice(0, Ra), Lr = (t) => la(t).length === Ra, Dr = (t, n, i) => Lr(t) ? i.phone ? { shouldTrack: !1 } : (i.phone = !0, { shouldTrack: !0, fullPhone: `${n}-${la(t)}` }) : (i.phone = !1, { shouldTrack: !1 }), Br = {}, Er = ({
2890
+ ], ra = Ca.map((t) => t.code), Ra = 10, la = (t) => t.replace(/\D/g, ""), va = (t) => la(t).slice(0, Ra), Dr = (t) => la(t).length === Ra, Br = (t, n, i) => Dr(t) ? i.phone ? { shouldTrack: !1 } : (i.phone = !0, { shouldTrack: !0, fullPhone: `${n}-${la(t)}` }) : (i.phone = !1, { shouldTrack: !1 }), Er = {}, Ir = ({
2891
2891
  t,
2892
2892
  values: n,
2893
2893
  onChange: i,
2894
2894
  phoneIsdCode: c,
2895
- onPhoneIsdCodeChange: g,
2895
+ onPhoneIsdCodeChange: _,
2896
2896
  showV1ExtraFields: y = !1,
2897
2897
  analytics: h,
2898
2898
  googleMapsApiKey: P,
2899
- atlasSearchLocalities: b,
2899
+ atlasSearchLocalities: g,
2900
2900
  googleMapsAutocompleteEnabled: Y,
2901
2901
  className: B = ""
2902
2902
  }) => {
2903
- const N = Me(), p = N?.config?.analytics ?? h, U = N?.config.isGlobal ?? !0, A = N?.config?.googleMapsApiKey, j = N?.config?.atlasSearchLocalities, k = N?.config?.googleMapsAutocompleteEnabled, [_, x] = D(!1), [te, C] = D(""), V = M(null), S = M(null), Q = M({}), R = (r) => i({ ...n, ...r }), E = (r, d) => {
2903
+ const N = Me(), p = N?.config?.analytics ?? h, G = N?.config.isGlobal ?? !0, A = N?.config?.googleMapsApiKey, j = N?.config?.atlasSearchLocalities, k = N?.config?.googleMapsAutocompleteEnabled, [b, x] = D(!1), [te, C] = D(""), V = M(null), w = M(null), Q = M({}), R = (r) => i({ ...n, ...r }), E = (r, d) => {
2904
2904
  if (r === "phone") {
2905
- const z = Dr(d, c, Q.current);
2905
+ const z = Br(d, c, Q.current);
2906
2906
  z.shouldTrack && p?.trackPhoneSectionFilled?.({ phone: z.fullPhone });
2907
2907
  return;
2908
2908
  }
@@ -2915,9 +2915,9 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2915
2915
  }, se = (r) => {
2916
2916
  const d = r.target.value;
2917
2917
  d.trim() && p?.trackEmailSectionFilled?.({ email: d });
2918
- }, ae = te.trim().toLowerCase(), G = Ca.filter((r) => ae ? r.country.toLowerCase().includes(ae) || r.code.includes(ae) : !0), I = M(null);
2918
+ }, ae = te.trim().toLowerCase(), O = Ca.filter((r) => ae ? r.country.toLowerCase().includes(ae) || r.code.includes(ae) : !0), I = M(null);
2919
2919
  M(null);
2920
- const $ = M(null), X = M(0), O = M(null), [Te, K] = D(!1), [re, he] = D({ hour12: 12, minute: "00", meridiem: "AM" }), ue = (r) => String(r).padStart(2, "0"), Pe = (r) => {
2920
+ const $ = M(null), X = M(0), U = M(null), [Te, K] = D(!1), [re, he] = D({ hour12: 12, minute: "00", meridiem: "AM" }), ue = (r) => String(r).padStart(2, "0"), Pe = (r) => {
2921
2921
  const d = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
2922
2922
  if (!d) return r;
2923
2923
  const z = Number(d[1]), xe = d[2], $e = z >= 12 ? "PM" : "AM";
@@ -2933,11 +2933,11 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2933
2933
  return r.meridiem === "PM" && (xe += 12), `${ue(xe)}:${z}`;
2934
2934
  }, _e = M(null), [pe, ge] = D(!1), oe = M(n.birthPlace ?? ""), [H, me] = D(
2935
2935
  null
2936
- ), ie = P ?? A ?? Br?.VITE_GOOGLE_MAPS_API_KEY, fe = b ?? j, ee = Y ?? k ?? !0, ce = (n.birthPlace ?? "").trim(), Ne = U ? void 0 : "in", ye = Rr({
2936
+ ), ie = P ?? A ?? Er?.VITE_GOOGLE_MAPS_API_KEY, fe = g ?? j, ee = Y ?? k ?? !0, ce = (n.birthPlace ?? "").trim(), Ne = G ? void 0 : "in", ye = jr({
2937
2937
  apiKey: ee ? ie : void 0,
2938
2938
  language: "en",
2939
2939
  restrictCountry: Ne
2940
- }), ke = Nr({
2940
+ }), ke = Lr({
2941
2941
  searchLocalities: ee ? void 0 : fe,
2942
2942
  restrictCountry: Ne
2943
2943
  }), Se = ee ? ye.predictions.map((r) => ({
@@ -2952,7 +2952,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2952
2952
  secondaryText: r.secondary_text,
2953
2953
  lat: r.lat,
2954
2954
  lng: r.lng
2955
- })), De = ee ? ye.isSearching : ke.isSearching, Be = ee ? ye.loadError : ke.loadError, w = ee ? !!ie : !!fe, l = ee ? ye.searchPlaces : ke.searchPlaces, f = ee ? ye.clearPredictions : ke.clearPredictions, Z = M(() => {
2955
+ })), De = ee ? ye.isSearching : ke.isSearching, Be = ee ? ye.loadError : ke.loadError, S = ee ? !!ie : !!fe, l = ee ? ye.searchPlaces : ke.searchPlaces, f = ee ? ye.clearPredictions : ke.clearPredictions, Z = M(() => {
2956
2956
  });
2957
2957
  Z.current = () => {
2958
2958
  (n.birthPlace ?? "") !== oe.current && R({
@@ -2971,12 +2971,12 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2971
2971
  };
2972
2972
  return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
2973
2973
  }, []), q(() => {
2974
- if (!_) return;
2974
+ if (!b) return;
2975
2975
  const r = window.setTimeout(() => {
2976
- S.current?.focus();
2976
+ w.current?.focus();
2977
2977
  }, 0);
2978
2978
  return () => window.clearTimeout(r);
2979
- }, [_]), q(() => {
2979
+ }, [b]), q(() => {
2980
2980
  if (!pe) return;
2981
2981
  if (ce.length < 2) {
2982
2982
  f();
@@ -3003,7 +3003,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3003
3003
  };
3004
3004
  return q(() => {
3005
3005
  const r = (d) => {
3006
- O.current && (O.current.contains(d.target) || K(!1));
3006
+ U.current && (U.current.contains(d.target) || K(!1));
3007
3007
  };
3008
3008
  return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
3009
3009
  }, []), q(() => {
@@ -3046,7 +3046,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3046
3046
  /* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
3047
3047
  /* @__PURE__ */ e.jsx("div", { className: o.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: o.label, htmlFor: "kundli-phone", children: [
3048
3048
  t("formPhone"),
3049
- !U && /* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
3049
+ !G && /* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
3050
3050
  ] }) }),
3051
3051
  /* @__PURE__ */ e.jsx("div", { className: o.inputWrap, children: /* @__PURE__ */ e.jsxs("div", { className: o.isdWrap, ref: V, children: [
3052
3052
  /* @__PURE__ */ e.jsxs("div", { className: o.phoneInputGroup, children: [
@@ -3056,7 +3056,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3056
3056
  type: "button",
3057
3057
  className: o.isdSelectTrigger,
3058
3058
  "aria-haspopup": "listbox",
3059
- "aria-expanded": _,
3059
+ "aria-expanded": b,
3060
3060
  onClick: () => {
3061
3061
  x((r) => !r), C("");
3062
3062
  },
@@ -3080,12 +3080,12 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3080
3080
  inputMode: "numeric",
3081
3081
  pattern: "[0-9]{10}",
3082
3082
  maxLength: 10,
3083
- required: !U,
3084
- "aria-required": !U
3083
+ required: !G,
3084
+ "aria-required": !G
3085
3085
  }
3086
3086
  )
3087
3087
  ] }),
3088
- _ && /* @__PURE__ */ e.jsxs(
3088
+ b && /* @__PURE__ */ e.jsxs(
3089
3089
  "div",
3090
3090
  {
3091
3091
  className: o.isdDropdown,
@@ -3095,7 +3095,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3095
3095
  /* @__PURE__ */ e.jsx("div", { className: o.isdSearchWrap, children: /* @__PURE__ */ e.jsx(
3096
3096
  "input",
3097
3097
  {
3098
- ref: S,
3098
+ ref: w,
3099
3099
  type: "text",
3100
3100
  value: te,
3101
3101
  onChange: (r) => C(r.target.value),
@@ -3104,7 +3104,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3104
3104
  "aria-label": "Search country"
3105
3105
  }
3106
3106
  ) }),
3107
- G.length > 0 ? G.map((r) => /* @__PURE__ */ e.jsxs(
3107
+ O.length > 0 ? O.map((r) => /* @__PURE__ */ e.jsxs(
3108
3108
  "button",
3109
3109
  {
3110
3110
  type: "button",
@@ -3112,7 +3112,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3112
3112
  "aria-selected": r.code === c,
3113
3113
  className: `${o.isdOption} ${r.code === c ? o.isdOptionActive : ""}`,
3114
3114
  onClick: () => {
3115
- g(r.code), x(!1), C("");
3115
+ _(r.code), x(!1), C("");
3116
3116
  },
3117
3117
  children: [
3118
3118
  /* @__PURE__ */ e.jsx("span", { className: o.isdCountryName, children: r.country }),
@@ -3174,7 +3174,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3174
3174
  }
3175
3175
  )
3176
3176
  ] }),
3177
- U && /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
3177
+ G && /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
3178
3178
  /* @__PURE__ */ e.jsx("div", { className: o.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: o.label, htmlFor: "kundli-email", children: [
3179
3179
  t("formEmail"),
3180
3180
  /* @__PURE__ */ e.jsx("span", { className: o.req, children: "*" })
@@ -3314,7 +3314,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3314
3314
  ] })
3315
3315
  ] })
3316
3316
  ] }),
3317
- /* @__PURE__ */ e.jsxs("div", { className: o.inputWrap, ref: O, children: [
3317
+ /* @__PURE__ */ e.jsxs("div", { className: o.inputWrap, ref: U, children: [
3318
3318
  /* @__PURE__ */ e.jsx(
3319
3319
  "input",
3320
3320
  {
@@ -3588,8 +3588,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3588
3588
  },
3589
3589
  r.id
3590
3590
  )) }),
3591
- pe && w && De && /* @__PURE__ */ e.jsx("div", { className: o.suggestionsHint, children: "Loading…" }),
3592
- pe && w && !De && !!Be && /* @__PURE__ */ e.jsx("div", { className: o.suggestionsHint, children: Be })
3591
+ pe && S && De && /* @__PURE__ */ e.jsx("div", { className: o.suggestionsHint, children: "Loading…" }),
3592
+ pe && S && !De && !!Be && /* @__PURE__ */ e.jsx("div", { className: o.suggestionsHint, children: Be })
3593
3593
  ] })
3594
3594
  ] }),
3595
3595
  y && /* @__PURE__ */ e.jsxs("div", { className: o.field, children: [
@@ -3723,19 +3723,19 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3723
3723
  ] }) })
3724
3724
  }
3725
3725
  );
3726
- }, Ir = "_ctaButton_rhimw_2", Fr = "_ctaFilled_rhimw_21", Mr = "_ctaFilledContent_rhimw_52", Ur = "_chevronRight_rhimw_61", Ke = {
3727
- ctaButton: Ir,
3728
- ctaFilled: Fr,
3729
- ctaFilledContent: Mr,
3730
- chevronRight: Ur
3731
- }, ja = "kundli-report-astrologer", Gr = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Or = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", $r = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Hr = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", Wr = ({ t }) => {
3726
+ }, Fr = "_ctaButton_rhimw_2", Mr = "_ctaFilled_rhimw_21", Ur = "_ctaFilledContent_rhimw_52", Gr = "_chevronRight_rhimw_61", Ke = {
3727
+ ctaButton: Fr,
3728
+ ctaFilled: Mr,
3729
+ ctaFilledContent: Ur,
3730
+ chevronRight: Gr
3731
+ }, ja = "kundli-report-astrologer", Or = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", $r = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Hr = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Wr = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", Kr = ({ t }) => {
3732
3732
  const i = Me()?.config.imageComponent ?? Ye;
3733
3733
  return /* @__PURE__ */ e.jsxs("div", { className: Fe.marqueeContent, children: [
3734
3734
  /* @__PURE__ */ e.jsxs("span", { className: Fe.badge, children: [
3735
3735
  /* @__PURE__ */ e.jsx(
3736
3736
  i,
3737
3737
  {
3738
- src: Gr,
3738
+ src: Or,
3739
3739
  alt: "",
3740
3740
  className: Fe.badgeIcon,
3741
3741
  width: 16,
@@ -3749,7 +3749,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3749
3749
  /* @__PURE__ */ e.jsx(
3750
3750
  i,
3751
3751
  {
3752
- src: Or,
3752
+ src: $r,
3753
3753
  alt: "",
3754
3754
  className: Fe.badgeIcon,
3755
3755
  width: 16,
@@ -3763,7 +3763,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3763
3763
  /* @__PURE__ */ e.jsx(
3764
3764
  i,
3765
3765
  {
3766
- src: $r,
3766
+ src: Hr,
3767
3767
  alt: "",
3768
3768
  className: Fe.badgeIcon,
3769
3769
  width: 16,
@@ -3774,10 +3774,10 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3774
3774
  t("ctaSecurePayment")
3775
3775
  ] })
3776
3776
  ] });
3777
- }, Kr = (t) => /.+@.+\..+/.test(t), qr = (t) => /^\d{10}$/.test(t), Yr = (t, n, i) => {
3777
+ }, Na = (t) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t), qr = (t) => /^\d{10}$/.test(t), Yr = (t, n, i) => {
3778
3778
  if (!t.fullName.trim()) return "fullName";
3779
3779
  if (n) {
3780
- if (!Kr(t.email.trim())) return "email";
3780
+ if (!Na(t.email.trim())) return "email";
3781
3781
  } else if (!qr((t.phone ?? "").trim())) return "phone";
3782
3782
  if (!t.dateOfBirth) return "dateOfBirth";
3783
3783
  if (!t.birthPlace.trim()) return "birthPlace";
@@ -3791,38 +3791,38 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3791
3791
  values: n,
3792
3792
  phoneIsdCode: i,
3793
3793
  requireV1ExtraFields: c = !1,
3794
- onValidationFailed: g,
3794
+ onValidationFailed: _,
3795
3795
  onProceed: y,
3796
3796
  onProceedGuidance: h,
3797
3797
  href: P,
3798
- analytics: b,
3798
+ analytics: g,
3799
3799
  className: Y = "",
3800
3800
  discountedPriceLabel: B,
3801
3801
  discountPillLabel: N,
3802
3802
  showPlanSheet: p,
3803
- confirmPlan: U,
3803
+ confirmPlan: G,
3804
3804
  planSheetOpen: A,
3805
3805
  selectedPlan: j
3806
3806
  }) => {
3807
- const k = Me(), _ = k?.config.isGlobal ?? !0, x = k?.config?.variant, te = Ee(
3808
- () => Yr(n, _, c),
3809
- [n, _, c]
3810
- ), C = te === null, V = x === "v1" && k?.config?.showSheet, S = _ ? B ?? t("formDiscountedPrice") : V ? "" : "₹499", Q = k?.config.imageComponent ?? Ye, R = (se) => {
3811
- if (se.preventDefault(), x === "v1" && !C && b?.trackKundliDetailedClicked?.(), !C) {
3812
- te && g?.(te);
3807
+ const k = Me(), b = k?.config.isGlobal ?? !0, x = k?.config?.variant, te = Ee(
3808
+ () => Yr(n, b, c),
3809
+ [n, b, c]
3810
+ ), C = te === null, V = x === "v1" && k?.config?.showSheet, w = b ? B ?? t("formDiscountedPrice") : V ? "" : "₹499", Q = k?.config.imageComponent ?? Ye, R = (se) => {
3811
+ if (se.preventDefault(), x === "v1" && !C && g?.trackKundliDetailedClicked?.(), !C) {
3812
+ te && _?.(te);
3813
3813
  return;
3814
3814
  }
3815
- const ae = !!h && x === "v1" && j?.id === ja, G = (n.phone ?? "").trim(), I = {
3815
+ const ae = !!h && x === "v1" && j?.id === ja, O = (n.phone ?? "").trim(), I = {
3816
3816
  ...n,
3817
- phone: G && `${i}-${G}`
3817
+ phone: O && `${i}-${O}`
3818
3818
  };
3819
3819
  if (V) {
3820
- A ? U?.() : p?.(I);
3820
+ A ? G?.() : p?.(I);
3821
3821
  return;
3822
3822
  }
3823
- b?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), ae ? h(I) : y?.(I);
3823
+ g?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), ae ? h(I) : y?.(I);
3824
3824
  }, E = /* @__PURE__ */ e.jsx(
3825
- za,
3825
+ Ja,
3826
3826
  {
3827
3827
  href: P,
3828
3828
  disabled: x === "v1" ? !1 : !C,
@@ -3830,11 +3830,11 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3830
3830
  "aria-label": t("formPriceAria"),
3831
3831
  className: x === "v1" && C ? Ke.ctaFilled : x === "v1" ? Ke.ctaButton : void 0,
3832
3832
  children: x === "v1" ? C ? /* @__PURE__ */ e.jsxs("span", { className: Ke.ctaFilledContent, children: [
3833
- V ? t("selectPackage") : A && j ? `${t("proceedWithPlan")}${j.price}` : `${t("formProceed")} ${S}`,
3833
+ V ? t("selectPackage") : A && j ? `${t("proceedWithPlan")}${j.price}` : `${t("formProceed")} ${w}`,
3834
3834
  /* @__PURE__ */ e.jsx(
3835
3835
  Q,
3836
3836
  {
3837
- src: Hr,
3837
+ src: Wr,
3838
3838
  alt: "",
3839
3839
  className: Ke.chevronRight,
3840
3840
  width: 20,
@@ -3845,15 +3845,15 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3845
3845
  ] }) : t("formCtaDefault") : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
3846
3846
  t("formProceed"),
3847
3847
  " ",
3848
- S
3848
+ w
3849
3849
  ] })
3850
3850
  }
3851
3851
  );
3852
3852
  return /* @__PURE__ */ e.jsx(
3853
- Ja,
3853
+ Xa,
3854
3854
  {
3855
3855
  className: `${Ke.footerContainer} ${Y}`,
3856
- marquee: /* @__PURE__ */ e.jsx(Xa, { children: /* @__PURE__ */ e.jsx(Wr, { t }) }),
3856
+ marquee: /* @__PURE__ */ e.jsx(Za, { children: /* @__PURE__ */ e.jsx(Kr, { t }) }),
3857
3857
  children: E
3858
3858
  }
3859
3859
  );
@@ -3863,19 +3863,19 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3863
3863
  logoUrl: i = Qr,
3864
3864
  className: c = ""
3865
3865
  }) => {
3866
- const g = Me(), y = g?.config.isGlobal ?? !0, h = n != null && !y;
3866
+ const _ = Me(), y = n != null;
3867
3867
  return /* @__PURE__ */ e.jsx(
3868
- Za,
3868
+ et,
3869
3869
  {
3870
3870
  t,
3871
3871
  logoUrl: i,
3872
- imageComponent: g?.config.imageComponent,
3872
+ imageComponent: _?.config.imageComponent,
3873
3873
  languageSelector: n,
3874
- showLanguageSelector: h,
3874
+ showLanguageSelector: y,
3875
3875
  className: c
3876
3876
  }
3877
3877
  );
3878
- }, Na = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
3878
+ }, La = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
3879
3879
  "path",
3880
3880
  {
3881
3881
  d: "M3.5 8.5l2.5 2.5 6-6",
@@ -3985,7 +3985,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3985
3985
  ),
3986
3986
  /* @__PURE__ */ e.jsx("h2", { className: T.title, children: t })
3987
3987
  ] }), zn = ({ features: t, t: n }) => /* @__PURE__ */ e.jsx("ul", { className: T.featureList, "aria-label": "Plan features", children: t.map((i, c) => /* @__PURE__ */ e.jsxs("li", { className: T.featureItem, children: [
3988
- /* @__PURE__ */ e.jsx("span", { className: T.featureIcon, children: i.included ? /* @__PURE__ */ e.jsx(Na, {}) : /* @__PURE__ */ e.jsx(Jr, {}) }),
3988
+ /* @__PURE__ */ e.jsx("span", { className: T.featureIcon, children: i.included ? /* @__PURE__ */ e.jsx(La, {}) : /* @__PURE__ */ e.jsx(Jr, {}) }),
3989
3989
  /* @__PURE__ */ e.jsx(
3990
3990
  "span",
3991
3991
  {
@@ -4011,7 +4011,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4011
4011
  /* @__PURE__ */ e.jsx(Zr, {}),
4012
4012
  /* @__PURE__ */ e.jsx("span", { children: t })
4013
4013
  ] }), Zn = ({ plan: t, isSelected: n, onSelect: i, t: c }) => {
4014
- const g = () => i(t.id), y = (h) => {
4014
+ const _ = () => i(t.id), y = (h) => {
4015
4015
  (h.key === " " || h.key === "Enter") && (h.preventDefault(), i(t.id));
4016
4016
  };
4017
4017
  return /* @__PURE__ */ e.jsxs(
@@ -4022,7 +4022,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4022
4022
  n ? T.planCardSelected : "",
4023
4023
  n && T.planCardPopular
4024
4024
  ].filter(Boolean).join(" "),
4025
- onClick: g,
4025
+ onClick: _,
4026
4026
  role: "radio",
4027
4027
  "aria-checked": n,
4028
4028
  tabIndex: 0,
@@ -4060,14 +4060,14 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4060
4060
  }, aa = (t) => {
4061
4061
  const n = t.match(/T(\d{2}):(\d{2})/);
4062
4062
  if (!n) return t;
4063
- const i = Number(n[1]), c = n[2], g = i >= 12 ? "PM" : "AM";
4064
- return `${i % 12 || 12}:${c} ${g}`;
4063
+ const i = Number(n[1]), c = n[2], _ = i >= 12 ? "PM" : "AM";
4064
+ return `${i % 12 || 12}:${c} ${_}`;
4065
4065
  }, eo = (t, n = /* @__PURE__ */ new Date()) => {
4066
4066
  const i = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], c = /* @__PURE__ */ new Date(`${t}T00:00:00`);
4067
4067
  if (Number.isNaN(c.getTime()))
4068
4068
  return { id: t, dayLabel: t, dayNum: "" };
4069
- const g = (P) => new Date(P.getFullYear(), P.getMonth(), P.getDate()).getTime(), y = Math.round(
4070
- (g(c) - g(n)) / (1e3 * 60 * 60 * 24)
4069
+ const _ = (P) => new Date(P.getFullYear(), P.getMonth(), P.getDate()).getTime(), y = Math.round(
4070
+ (_(c) - _(n)) / (1e3 * 60 * 60 * 24)
4071
4071
  ), h = y === 0 ? "Today" : y === 1 ? "Tomorrow" : i[c.getDay()];
4072
4072
  return { id: t, dayLabel: h, dayNum: String(c.getDate()) };
4073
4073
  }, ao = [
@@ -4103,11 +4103,11 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4103
4103
  gu: ["gu", "en"],
4104
4104
  mr: ["mr", "en"],
4105
4105
  ta: ["ta", "en"]
4106
- }, La = (t) => !!t?.days?.some((n) => n.has_availability && n.slots.length > 0), oo = (t, n, i) => {
4107
- const c = i ? no : ro, [g, y] = c[n || "en"] ?? c.en, h = qe.map((b) => b.code).filter(
4108
- (b) => b !== g && b !== y
4106
+ }, Da = (t) => !!t?.days?.some((n) => n.has_availability && n.slots.length > 0), oo = (t, n, i) => {
4107
+ const c = i ? no : ro, [_, y] = c[n || "en"] ?? c.en, h = qe.map((g) => g.code).filter(
4108
+ (g) => g !== _ && g !== y
4109
4109
  );
4110
- return [g, y, ...h].find((b) => La(t[b])) ?? g;
4110
+ return [_, y, ...h].find((g) => Da(t[g])) ?? _;
4111
4111
  }, io = "_overlay_1mg8x_3", lo = "_sheet_1mg8x_13", so = "_content_1mg8x_47", co = "_header_1mg8x_54", uo = "_backBtn_1mg8x_67", po = "_title_1mg8x_85", mo = "_languageRow_1mg8x_101", fo = "_languageLabel_1mg8x_109", ho = "_languageDropdown_1mg8x_115", go = "_languageDropdownBtn_1mg8x_119", bo = "_languageMenu_1mg8x_134", _o = "_languageMenuItem_1mg8x_151", yo = "_languageMenuItemSelected_1mg8x_165", ko = "_languageDivider_1mg8x_171", Ao = "_reportReadyBanner_1mg8x_178", vo = "_reportReadyDuration_1mg8x_187", To = "_trustRow_1mg8x_193", wo = "_trustAvatars_1mg8x_204", So = "_trustText_1mg8x_217", Po = "_sectionHeading_1mg8x_328", xo = "_dateTabs_1mg8x_336", Co = "_dateTabIndicator_1mg8x_348", Ro = "_dateTab_1mg8x_336", jo = "_dateTabDivider_1mg8x_382", No = "_dateTabSelected_1mg8x_392", Lo = "_dateTabLabel_1mg8x_397", Do = "_dateTabNum_1mg8x_404", Bo = "_periodTabs_1mg8x_418", Eo = "_periodTabIndicator_1mg8x_346", Io = "_periodTab_1mg8x_346", Fo = "_periodTabSelected_1mg8x_465", Mo = "_timeGrid_1mg8x_470", Uo = "_emptyState_1mg8x_498", Go = "_timeSlot_1mg8x_502", Oo = "_timeSlotSelected_1mg8x_518", $o = "_topicGrid_1mg8x_526", Ho = "_topicChip_1mg8x_532", Wo = "_topicChipSelected_1mg8x_548", Ko = "_stateMessage_1mg8x_555", qo = "_emptyStateIcon_1mg8x_575", Yo = "_emptyStateTitle_1mg8x_586", Vo = "_emptyStateSubtitle_1mg8x_593", Qo = "_loadingWrap_1mg8x_602", zo = "_skeletonShimmer_1mg8x_607", Jo = "_skeletonDateTabs_1mg8x_621", Xo = "_skeletonDateTab_1mg8x_621", Zo = "_skeletonPeriodTabs_1mg8x_635", ei = "_skeletonPeriodTab_1mg8x_635", ai = "_skeletonTimeGrid_1mg8x_650", ti = "_skeletonTimeSlot_1mg8x_656", ri = "_retryBtn_1mg8x_661", ni = "_footer_1mg8x_675", oi = "_proceedBtn_1mg8x_682", ii = "_proceedBtnDisabled_1mg8x_700", m = {
4112
4112
  overlay: io,
4113
4113
  sheet: lo,
@@ -4179,26 +4179,26 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4179
4179
  astrologers: n,
4180
4180
  t: i,
4181
4181
  analytics: c,
4182
- reportLanguage: g,
4182
+ reportLanguage: _,
4183
4183
  isPostPayment: y = !1,
4184
4184
  showGuidanceTopic: h,
4185
4185
  hideFooter: P = !1,
4186
- onStateChange: b
4186
+ onStateChange: g
4187
4187
  }) => {
4188
- const Y = h ?? !y, B = Me(), N = B?.config.imageComponent ?? Ye, p = B?.config.fetchConsultationSlots, U = B?.config.isGlobal ?? !0, A = g ?? B?.formValues?.language_code, j = y ? "post_payment" : "pre_payment", [k, _] = D(!1), [x, te] = D(!1), [C, V] = D({}), [S, Q] = D("en"), [R, E] = D(!1), se = M(null), ae = Ee(
4189
- () => C[S]?.days ?? [],
4190
- [C, S]
4191
- ), [G, I] = D(""), [$, X] = D(""), [O, Te] = D("morning"), [K, re] = D(null), he = M(!1), ue = M(null), Pe = M({}), [ne, je] = D(null), _e = M(null), pe = M(
4188
+ const Y = h ?? !y, B = Me(), N = B?.config.imageComponent ?? Ye, p = B?.config.fetchConsultationSlots, G = B?.config.isGlobal ?? !0, A = _ ?? B?.formValues?.language_code, j = y ? "post_payment" : "pre_payment", [k, b] = D(!1), [x, te] = D(!1), [C, V] = D({}), [w, Q] = D("en"), [R, E] = D(!1), se = M(null), ae = Ee(
4189
+ () => C[w]?.days ?? [],
4190
+ [C, w]
4191
+ ), [O, I] = D(""), [$, X] = D(""), [U, Te] = D("morning"), [K, re] = D(null), he = M(!1), ue = M(null), Pe = M({}), [ne, je] = D(null), _e = M(null), pe = M(
4192
4192
  {}
4193
4193
  ), [ge, oe] = D(null), H = Ee(
4194
4194
  () => ae.filter((l) => l.has_availability && l.slots.length > 0),
4195
4195
  [ae]
4196
4196
  ), me = Re(() => {
4197
- p && (_(!0), te(!1), p().then((l) => {
4197
+ p && (b(!0), te(!1), p().then((l) => {
4198
4198
  const f = l ?? {}, Z = oo(
4199
4199
  f,
4200
4200
  A,
4201
- U
4201
+ G
4202
4202
  );
4203
4203
  V(f), Q(Z), c?.trackConsultationLanguageDefaultSelected?.({
4204
4204
  language: ta(Z),
@@ -4214,8 +4214,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4214
4214
  });
4215
4215
  }).catch(() => {
4216
4216
  te(!0);
4217
- }).finally(() => _(!1)));
4218
- }, [p, U, A, c, n, j]);
4217
+ }).finally(() => b(!1)));
4218
+ }, [p, G, A, c, n, j]);
4219
4219
  q(() => {
4220
4220
  I(""), E(!1), me();
4221
4221
  }, []), q(() => {
@@ -4254,7 +4254,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4254
4254
  (l) => fe.includes(l) ? l : fe[0]
4255
4255
  );
4256
4256
  }, [fe]);
4257
- const ee = Ee(() => ie ? ie.slots.filter((l) => l.period === O) : [], [ie, O]);
4257
+ const ee = Ee(() => ie ? ie.slots.filter((l) => l.period === U) : [], [ie, U]);
4258
4258
  q(() => {
4259
4259
  const l = () => {
4260
4260
  const f = ue.current, Z = Pe.current[$];
@@ -4273,7 +4273,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4273
4273
  return l(), window.addEventListener("resize", l), () => window.removeEventListener("resize", l);
4274
4274
  }, [$, H]), q(() => {
4275
4275
  const l = () => {
4276
- const f = _e.current, Z = pe.current[O];
4276
+ const f = _e.current, Z = pe.current[U];
4277
4277
  if (!f || !Z) {
4278
4278
  oe(null);
4279
4279
  return;
@@ -4285,7 +4285,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4285
4285
  });
4286
4286
  };
4287
4287
  return l(), window.addEventListener("resize", l), () => window.removeEventListener("resize", l);
4288
- }, [O, fe]), q(() => {
4288
+ }, [U, fe]), q(() => {
4289
4289
  if (!ee.length) {
4290
4290
  re(null);
4291
4291
  return;
@@ -4308,10 +4308,10 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4308
4308
  status: j
4309
4309
  }), he.current = !0);
4310
4310
  }, [H, n, c, j]);
4311
- const ce = !!K && (!Y || !!G), Ne = (l) => {
4311
+ const ce = !!K && (!Y || !!O), Ne = (l) => {
4312
4312
  X(l), c?.trackSlotDateSelected?.({
4313
4313
  date: l,
4314
- day_part_default: O,
4314
+ day_part_default: U,
4315
4315
  status: j
4316
4316
  });
4317
4317
  }, we = (l) => {
@@ -4325,7 +4325,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4325
4325
  date: $,
4326
4326
  time: aa(l.start),
4327
4327
  day_part: l.period,
4328
- topic: G || null,
4328
+ topic: O || null,
4329
4329
  status: j
4330
4330
  });
4331
4331
  }, ke = () => {
@@ -4336,23 +4336,23 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4336
4336
  start: K.start,
4337
4337
  end: K.end,
4338
4338
  period: K.period,
4339
- topic: G,
4340
- language: S
4339
+ topic: O,
4340
+ language: w
4341
4341
  }));
4342
4342
  }, Se = M(ke);
4343
4343
  Se.current = ke, q(() => {
4344
- b?.({ canProceed: ce, proceed: () => Se.current() });
4345
- }, [ce, b]);
4344
+ g?.({ canProceed: ce, proceed: () => Se.current() });
4345
+ }, [ce, g]);
4346
4346
  const De = (l) => {
4347
4347
  I(l), c?.trackGuidanceTopicSelected?.({ topic: l, status: j });
4348
4348
  }, Be = (l) => {
4349
4349
  c?.trackConsultationLanguageChanged?.({
4350
- previous_language: ta(S),
4350
+ previous_language: ta(w),
4351
4351
  new_language: ta(l),
4352
- slots_available: La(C[l]) ? "yes" : "no",
4352
+ slots_available: Da(C[l]) ? "yes" : "no",
4353
4353
  status: j
4354
4354
  }), Q(l), E(!1);
4355
- }, w = qe.find((l) => l.code === S) ?? qe[0];
4355
+ }, S = qe.find((l) => l.code === w) ?? qe[0];
4356
4356
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
4357
4357
  /* @__PURE__ */ e.jsxs("div", { className: m.content, children: [
4358
4358
  /* @__PURE__ */ e.jsxs("div", { className: m.languageRow, children: [
@@ -4367,13 +4367,13 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4367
4367
  "aria-haspopup": "listbox",
4368
4368
  "aria-expanded": R,
4369
4369
  children: [
4370
- i?.(w.labelKey) ?? w.label,
4370
+ i?.(S.labelKey) ?? S.label,
4371
4371
  /* @__PURE__ */ e.jsx(Xr, {})
4372
4372
  ]
4373
4373
  }
4374
4374
  ),
4375
4375
  R && /* @__PURE__ */ e.jsx("ul", { className: m.languageMenu, role: "listbox", children: qe.map((l) => {
4376
- const f = l.code === S;
4376
+ const f = l.code === w;
4377
4377
  return /* @__PURE__ */ e.jsxs(
4378
4378
  "li",
4379
4379
  {
@@ -4386,7 +4386,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4386
4386
  onClick: () => Be(l.code),
4387
4387
  children: [
4388
4388
  i?.(l.labelKey) ?? l.label,
4389
- f && /* @__PURE__ */ e.jsx(Na, {})
4389
+ f && /* @__PURE__ */ e.jsx(La, {})
4390
4390
  ]
4391
4391
  },
4392
4392
  l.code
@@ -4451,7 +4451,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4451
4451
  ),
4452
4452
  H.map((l) => {
4453
4453
  const f = l.date === $, { dayLabel: Z, dayNum: be } = eo(l.date);
4454
- return /* @__PURE__ */ e.jsxs(Va, { children: [
4454
+ return /* @__PURE__ */ e.jsxs(Qa, { children: [
4455
4455
  /* @__PURE__ */ e.jsxs(
4456
4456
  "button",
4457
4457
  {
@@ -4489,7 +4489,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4489
4489
  }
4490
4490
  ),
4491
4491
  fe.map((l) => {
4492
- const f = li[l], Z = l === "evening" && U ? "planPeriodEveningNight" : si[l];
4492
+ const f = li[l], Z = l === "evening" && G ? "planPeriodEveningNight" : si[l];
4493
4493
  return /* @__PURE__ */ e.jsxs(
4494
4494
  "button",
4495
4495
  {
@@ -4499,14 +4499,14 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4499
4499
  type: "button",
4500
4500
  className: [
4501
4501
  m.periodTab,
4502
- l === O ? m.periodTabSelected : ""
4502
+ l === U ? m.periodTabSelected : ""
4503
4503
  ].filter(Boolean).join(" "),
4504
4504
  role: "tab",
4505
- "aria-selected": l === O,
4505
+ "aria-selected": l === U,
4506
4506
  onClick: () => we(l),
4507
4507
  children: [
4508
4508
  /* @__PURE__ */ e.jsx(f, {}),
4509
- i?.(Z) ?? (l === "evening" && U ? "Evening/Night" : l.charAt(0).toUpperCase() + l.slice(1))
4509
+ i?.(Z) ?? (l === "evening" && G ? "Evening/Night" : l.charAt(0).toUpperCase() + l.slice(1))
4510
4510
  ]
4511
4511
  },
4512
4512
  l
@@ -4535,7 +4535,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4535
4535
  `${l.start}-${f}`
4536
4536
  ))
4537
4537
  },
4538
- `${$}-${O}`
4538
+ `${$}-${U}`
4539
4539
  )
4540
4540
  ] }),
4541
4541
  Y && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
@@ -4546,10 +4546,10 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4546
4546
  type: "button",
4547
4547
  className: [
4548
4548
  m.topicChip,
4549
- G === l.id ? m.topicChipSelected : ""
4549
+ O === l.id ? m.topicChipSelected : ""
4550
4550
  ].filter(Boolean).join(" "),
4551
4551
  role: "radio",
4552
- "aria-checked": G === l.id,
4552
+ "aria-checked": O === l.id,
4553
4553
  onClick: () => De(l.id),
4554
4554
  children: i?.(l.labelKey) ?? l.label
4555
4555
  },
@@ -4667,13 +4667,13 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4667
4667
  onClose: n,
4668
4668
  selectedPlan: i,
4669
4669
  onSelectPlan: c,
4670
- plans: g,
4670
+ plans: _,
4671
4671
  onProceed: y,
4672
4672
  t: h,
4673
4673
  analytics: P,
4674
- enableConsultationScheduling: b
4674
+ enableConsultationScheduling: g
4675
4675
  }) => {
4676
- const Y = Me(), B = Y?.config.isGlobal ?? !0, N = b ?? Y?.config.enableConsultationScheduling ?? !1, p = g ?? mi(B), U = i?.id || p.find((C) => C.badge)?.id || p[0]?.id || "", A = M(null), j = M(null), k = M(!1), [_, x] = D(!1);
4676
+ const Y = Me(), B = Y?.config.isGlobal ?? !0, N = g ?? Y?.config.enableConsultationScheduling ?? !1, p = _ ?? mi(B), G = i?.id || p.find((C) => C.badge)?.id || p[0]?.id || "", A = M(null), j = M(null), k = M(!1), [b, x] = D(!1);
4677
4677
  q(() => {
4678
4678
  if (t) {
4679
4679
  if (!i) {
@@ -4696,7 +4696,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4696
4696
  return document.body.style.overflow = "hidden", document.documentElement.style.overflow = "hidden", () => {
4697
4697
  document.body.style.overflow = C, document.documentElement.style.overflow = V;
4698
4698
  };
4699
- }, [t]), t ? et(
4699
+ }, [t]), t ? at(
4700
4700
  /* @__PURE__ */ e.jsxs(
4701
4701
  "div",
4702
4702
  {
@@ -4741,19 +4741,19 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4741
4741
  Zn,
4742
4742
  {
4743
4743
  plan: C,
4744
- isSelected: C.id === U,
4744
+ isSelected: C.id === G,
4745
4745
  t: h,
4746
4746
  onSelect: (V) => {
4747
- const S = p.find((Q) => Q.id === V);
4748
- S && (P?.trackPlanSelected?.({
4749
- planId: S.id,
4750
- planName: S.title,
4747
+ const w = p.find((Q) => Q.id === V);
4748
+ w && (P?.trackPlanSelected?.({
4749
+ planId: w.id,
4750
+ planName: w.title,
4751
4751
  ...N ? {
4752
- price: S.price,
4753
- includes_consultation: !!(S.astrologers && S.astrologers.length > 0),
4754
- cta_label: S.astrologers && S.astrologers.length > 0 ? h?.("planSelectConsultationSlot") ?? "Select consultation slot →" : h?.("planProceedToPayment") ?? "Proceed to Payment"
4752
+ price: w.price,
4753
+ includes_consultation: !!(w.astrologers && w.astrologers.length > 0),
4754
+ cta_label: w.astrologers && w.astrologers.length > 0 ? h?.("planSelectConsultationSlot") ?? "Select consultation slot →" : h?.("planProceedToPayment") ?? "Proceed to Payment"
4755
4755
  } : {}
4756
- }), c(S));
4756
+ }), c(w));
4757
4757
  }
4758
4758
  },
4759
4759
  C.id
@@ -4795,7 +4795,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4795
4795
  N && i?.astrologers && i.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
4796
4796
  ui,
4797
4797
  {
4798
- isOpen: _,
4798
+ isOpen: b,
4799
4799
  onClose: () => x(!1),
4800
4800
  astrologers: i.astrologers,
4801
4801
  t: h,
@@ -4831,43 +4831,43 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4831
4831
  locale: n,
4832
4832
  showLanguageSelector: i = !0,
4833
4833
  onBack: c,
4834
- initialValues: g,
4834
+ initialValues: _,
4835
4835
  onProceed: y,
4836
4836
  onProceedGuidance: h,
4837
4837
  proceedHref: P,
4838
- originalPriceLabel: b,
4838
+ originalPriceLabel: g,
4839
4839
  discountedPriceLabel: Y,
4840
4840
  googleMapsApiKey: B = "",
4841
4841
  atlasSearchLocalities: N,
4842
4842
  googleMapsAutocompleteEnabled: p,
4843
- analytics: U
4843
+ analytics: G
4844
4844
  }) => {
4845
- const A = Me(), j = At(), k = A !== null, _ = k ? A.locale : n, x = _ ?? j?.locale ?? "en", [te, C] = D(x), V = k ? A.locale : te, S = k ? A.setLocale : C, [Q, R] = D(!1), E = M(null), se = M(
4846
- _
4845
+ const A = Me(), j = vt(), k = A !== null, b = k ? A.locale : n, x = b ?? j?.locale ?? "en", [te, C] = D(x), V = k ? A.locale : te, w = k ? A.setLocale : C, [Q, R] = D(!1), E = M(null), se = M(
4846
+ b
4847
4847
  ), ae = M(
4848
4848
  j?.locale
4849
4849
  );
4850
4850
  q(() => {
4851
4851
  window.scrollTo({ top: 0, left: 0, behavior: "auto" });
4852
4852
  }, []);
4853
- const G = (w) => gi(V, w);
4853
+ const O = (S) => gi(V, S);
4854
4854
  q(() => {
4855
- _ && se.current !== _ && S(_), se.current = _;
4856
- }, [_, S]), q(() => {
4857
- if (_) return;
4858
- const w = j?.locale;
4859
- w && ae.current !== w && S(w), ae.current = w;
4860
- }, [j?.locale, _, S]);
4855
+ b && se.current !== b && w(b), se.current = b;
4856
+ }, [b, w]), q(() => {
4857
+ if (b) return;
4858
+ const S = j?.locale;
4859
+ S && ae.current !== S && w(S), ae.current = S;
4860
+ }, [j?.locale, b, w]);
4861
4861
  const [I, $] = D({
4862
4862
  ..._i,
4863
- ...g,
4864
- phone: g?.phone ?? ""
4865
- }), X = k ? A?.config.isGlobal ?? !0 : !0, O = k ? A.formValues : I, Te = k ? A.setFormValues : $, [K, re] = D(
4866
- () => bi(O.phoneCountryCode, X)
4863
+ ..._,
4864
+ phone: _?.phone ?? ""
4865
+ }), X = k ? A?.config.isGlobal ?? !0 : !0, U = k ? A.formValues : I, Te = k ? A.setFormValues : $, [K, re] = D(
4866
+ () => bi(U.phoneCountryCode, X)
4867
4867
  ), he = M(
4868
- !!(O.phoneCountryCode && ra.includes(O.phoneCountryCode))
4869
- ), ue = M(!1), Pe = Re((w) => {
4870
- ue.current = !0, re(w);
4868
+ !!(U.phoneCountryCode && ra.includes(U.phoneCountryCode))
4869
+ ), ue = M(!1), Pe = Re((S) => {
4870
+ ue.current = !0, re(S);
4871
4871
  }, []), ne = M(!0);
4872
4872
  q(() => {
4873
4873
  if (ne.current) {
@@ -4877,30 +4877,32 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4877
4877
  he.current || ue.current || re(X ? "+1" : "+91");
4878
4878
  }, [X]), q(() => {
4879
4879
  if (!k || ue.current) return;
4880
- const w = O.phoneCountryCode;
4881
- w && ra.includes(w) && w !== K && (he.current = !0, re(w));
4882
- }, [k, O.phoneCountryCode]);
4883
- const je = k ? A.goToPage : c, _e = k ? A.onProceed : y, pe = k ? A.onProceedGuidance : h, ge = k ? A.config.proceedHref : P, oe = k ? A.config.originalPriceLabel : b, H = k ? A.config.discountedPriceLabel : Y, me = k ? A.config.showLanguageSelector ?? !0 : i, ie = (k ? A?.config?.analytics : U) ?? U;
4880
+ const S = U.phoneCountryCode;
4881
+ S && ra.includes(S) && S !== K && (he.current = !0, re(S));
4882
+ }, [k, U.phoneCountryCode]);
4883
+ const je = k ? A.goToPage : c, _e = k ? A.onProceed : y, pe = k ? A.onProceedGuidance : h, ge = k ? A.config.proceedHref : P, oe = k ? A.config.originalPriceLabel : g, H = k ? A.config.discountedPriceLabel : Y, me = k ? A.config.showLanguageSelector ?? !0 : i, ie = (k ? A?.config?.analytics : G) ?? G;
4884
4884
  q(() => {
4885
4885
  if (!Q) return;
4886
- const w = (l) => {
4886
+ const S = (l) => {
4887
4887
  E.current && !E.current.contains(l.target) && R(!1);
4888
4888
  };
4889
- return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
4889
+ return document.addEventListener("mousedown", S), () => document.removeEventListener("mousedown", S);
4890
4890
  }, [Q]);
4891
- const [fe, ee] = D(!1), [ce, Ne] = D(null), we = M(null), ye = Re((w) => {
4892
- we.current = w, ee(!0);
4891
+ const [fe, ee] = D(!1), [ce, Ne] = D(null), we = M(null), ye = Re((S) => {
4892
+ we.current = S, ee(!0);
4893
4893
  }, []), ke = M(!1);
4894
4894
  q(() => {
4895
4895
  if (ke.current || !k || !A?.config.autoOpenPlanSheet || A?.config.variant !== "v1")
4896
4896
  return;
4897
4897
  ke.current = !0;
4898
- const w = (O.phone ?? "").trim();
4898
+ const S = U.email.trim();
4899
+ if (S && !Na(S)) return;
4900
+ const l = (U.phone ?? "").trim();
4899
4901
  ye({
4900
- ...O,
4901
- phone: w && `${K}-${w}`
4902
+ ...U,
4903
+ phone: l && `${K}-${l}`
4902
4904
  });
4903
- }, [k, A?.config.autoOpenPlanSheet, A?.config.variant, O, K, ye]);
4905
+ }, [k, A?.config.autoOpenPlanSheet, A?.config.variant, U, K, ye]);
4904
4906
  const Se = Re(() => {
4905
4907
  if (!we.current || !ce) return;
4906
4908
  ie?.trackPlanProceedClicked?.({
@@ -4909,8 +4911,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4909
4911
  price: ce.price,
4910
4912
  currency: X ? "USD" : "INR"
4911
4913
  });
4912
- const w = { ...we.current, _selectedPlan: ce };
4913
- ce.id === ja && pe ? pe(w) : _e?.(w), ee(!1), we.current = null;
4914
+ const S = { ...we.current, _selectedPlan: ce };
4915
+ ce.id === ja && pe ? pe(S) : _e?.(S), ee(!1), we.current = null;
4914
4916
  }, [ce, _e, pe]), De = A?.config.imageComponent ?? Ye, Be = me ? /* @__PURE__ */ e.jsxs("div", { className: Le.langDropdownWrap, ref: E, children: [
4915
4917
  /* @__PURE__ */ e.jsxs(
4916
4918
  "button",
@@ -4918,12 +4920,12 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4918
4920
  type: "button",
4919
4921
  className: Le.langTrigger,
4920
4922
  onClick: () => {
4921
- ie?.trackLanguageClickedFe?.({ language: V }), R((w) => !w);
4923
+ ie?.trackLanguageClickedFe?.({ language: V }), R((S) => !S);
4922
4924
  },
4923
4925
  "aria-expanded": Q,
4924
4926
  "aria-haspopup": "listbox",
4925
4927
  id: "kundli-form-lang",
4926
- "aria-label": G("language"),
4928
+ "aria-label": O("language"),
4927
4929
  children: [
4928
4930
  /* @__PURE__ */ e.jsx(
4929
4931
  De,
@@ -4947,19 +4949,19 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4947
4949
  role: "listbox",
4948
4950
  "aria-labelledby": "kundli-form-lang",
4949
4951
  "aria-activedescendant": `kundli-form-lang-option-${V}`,
4950
- children: wa.map((w) => /* @__PURE__ */ e.jsx(
4952
+ children: wa.map((S) => /* @__PURE__ */ e.jsx(
4951
4953
  "li",
4952
4954
  {
4953
- id: `kundli-form-lang-option-${w}`,
4955
+ id: `kundli-form-lang-option-${S}`,
4954
4956
  role: "option",
4955
- "aria-selected": w === V,
4957
+ "aria-selected": S === V,
4956
4958
  className: Le.langOption,
4957
4959
  onClick: () => {
4958
- ie?.trackLanguageChangedFe?.({ newLanguage: w }), S(w), R(!1);
4960
+ ie?.trackLanguageChangedFe?.({ newLanguage: S }), w(S), R(!1);
4959
4961
  },
4960
- children: ya[w]
4962
+ children: ya[S]
4961
4963
  },
4962
- w
4964
+ S
4963
4965
  ))
4964
4966
  }
4965
4967
  )
@@ -4968,7 +4970,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4968
4970
  /* @__PURE__ */ e.jsx(
4969
4971
  zr,
4970
4972
  {
4971
- t: G,
4973
+ t: O,
4972
4974
  logoUrl: k ? A.config.logoUrl : void 0,
4973
4975
  languageSelector: Be,
4974
4976
  className: Le.kundliHeaderNoBorder
@@ -4976,12 +4978,12 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4976
4978
  ),
4977
4979
  /* @__PURE__ */ e.jsx("div", { className: Le.headerSeparator, "aria-hidden": !0 }),
4978
4980
  /* @__PURE__ */ e.jsxs("main", { className: Le.main, children: [
4979
- /* @__PURE__ */ e.jsx(Rt, { t: G, onBack: je }),
4981
+ /* @__PURE__ */ e.jsx(jt, { t: O, onBack: je }),
4980
4982
  /* @__PURE__ */ e.jsx(
4981
- Er,
4983
+ Ir,
4982
4984
  {
4983
- t: G,
4984
- values: O,
4985
+ t: O,
4986
+ values: U,
4985
4987
  onChange: Te,
4986
4988
  googleMapsApiKey: B,
4987
4989
  atlasSearchLocalities: N,
@@ -4996,8 +4998,8 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4996
4998
  /* @__PURE__ */ e.jsx(
4997
4999
  Vr,
4998
5000
  {
4999
- t: G,
5000
- values: O,
5001
+ t: O,
5002
+ values: U,
5001
5003
  phoneIsdCode: K,
5002
5004
  onProceed: _e,
5003
5005
  onProceedGuidance: pe,
@@ -5022,7 +5024,7 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
5022
5024
  Se?.();
5023
5025
  },
5024
5026
  plans: A?.config.plans,
5025
- t: G,
5027
+ t: O,
5026
5028
  analytics: ie
5027
5029
  }
5028
5030
  )
@@ -5102,20 +5104,20 @@ const Cr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
5102
5104
  export {
5103
5105
  di as C,
5104
5106
  Ye as D,
5105
- Rt as F,
5107
+ jt as F,
5106
5108
  vi as I,
5107
5109
  Ci as K,
5108
5110
  ya as L,
5109
5111
  ja as P,
5110
5112
  wa as S,
5111
- Er as U,
5113
+ Ir as U,
5112
5114
  xa as a,
5113
5115
  ia as b,
5114
5116
  xi as c,
5115
5117
  Si as d,
5116
- wt as e,
5117
- St as f,
5118
- vt as g,
5118
+ St as e,
5119
+ Pt as f,
5120
+ Tt as g,
5119
5121
  Me as h,
5120
5122
  wi as i,
5121
5123
  Pi as j,
@@ -5124,11 +5126,12 @@ export {
5124
5126
  mi as m,
5125
5127
  zr as n,
5126
5128
  sa as o,
5127
- Vr as p,
5128
- fi as q,
5129
+ Na as p,
5130
+ Vr as q,
5129
5131
  Ti as r,
5130
- Tt as s,
5132
+ wt as s,
5131
5133
  Sa as t,
5132
- At as u
5134
+ vt as u,
5135
+ fi as v
5133
5136
  };
5134
- //# sourceMappingURL=analytics-D_e8w2CC.js.map
5137
+ //# sourceMappingURL=analytics-DK2uxDpU.js.map