@srimandir/kundli-generator 4.38.0 → 5.1.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,106 +1,106 @@
1
- import Ke, { useContext as We, createContext as cr, useState as V, useRef as q, useEffect as X, useMemo as Ge, useCallback as be } from "react";
2
- import { FormSectionHeader as Dr, FooterCTAButton as Or, FooterShell as Fr, CircularMarquee as Mr, footerShellStyles as xe, PageHeader as $r } from "@srimandir/astrology-common";
3
- var Ie = { exports: {} }, Re = {};
1
+ import We, { useContext as Ke, createContext as dr, useState as W, useRef as K, useEffect as H, useMemo as Ge, useCallback as Te } from "react";
2
+ import { FormSectionHeader as Dr, FooterCTAButton as Or, FooterShell as Fr, CircularMarquee as Mr, footerShellStyles as we, PageHeader as $r } from "@srimandir/astrology-common";
3
+ var Le = { exports: {} }, Ee = {};
4
4
  var nr;
5
5
  function Ur() {
6
- if (nr) return Re;
6
+ if (nr) return Ee;
7
7
  nr = 1;
8
- var t = Ke, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, y = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, x = { key: !0, ref: !0, __self: !0, __source: !0 };
9
- function h(N, w, F) {
10
- var c, S = {}, p = null, D = null;
11
- F !== void 0 && (p = "" + F), w.key !== void 0 && (p = "" + w.key), w.ref !== void 0 && (D = w.ref);
12
- for (c in w) u.call(w, c) && !x.hasOwnProperty(c) && (S[c] = w[c]);
13
- if (N && N.defaultProps) for (c in w = N.defaultProps, w) S[c] === void 0 && (S[c] = w[c]);
14
- return { $$typeof: o, type: N, key: p, ref: D, props: S, _owner: y.current };
8
+ var t = We, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, x = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, R = { key: !0, ref: !0, __self: !0, __source: !0 };
9
+ function w(j, A, I) {
10
+ var c, N = {}, p = null, S = null;
11
+ I !== void 0 && (p = "" + I), A.key !== void 0 && (p = "" + A.key), A.ref !== void 0 && (S = A.ref);
12
+ for (c in A) m.call(A, c) && !R.hasOwnProperty(c) && (N[c] = A[c]);
13
+ if (j && j.defaultProps) for (c in A = j.defaultProps, A) N[c] === void 0 && (N[c] = A[c]);
14
+ return { $$typeof: o, type: j, key: p, ref: S, props: N, _owner: x.current };
15
15
  }
16
- return Re.Fragment = d, Re.jsx = h, Re.jsxs = h, Re;
16
+ return Ee.Fragment = d, Ee.jsx = w, Ee.jsxs = w, Ee;
17
17
  }
18
- var Se = {};
18
+ var Ie = {};
19
19
  var or;
20
20
  function Gr() {
21
21
  return or || (or = 1, process.env.NODE_ENV !== "production" && (function() {
22
- var t = Ke, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.portal"), u = /* @__PURE__ */ Symbol.for("react.fragment"), y = /* @__PURE__ */ Symbol.for("react.strict_mode"), x = /* @__PURE__ */ Symbol.for("react.profiler"), h = /* @__PURE__ */ Symbol.for("react.provider"), N = /* @__PURE__ */ Symbol.for("react.context"), w = /* @__PURE__ */ Symbol.for("react.forward_ref"), F = /* @__PURE__ */ Symbol.for("react.suspense"), c = /* @__PURE__ */ Symbol.for("react.suspense_list"), S = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), D = /* @__PURE__ */ Symbol.for("react.offscreen"), k = Symbol.iterator, E = "@@iterator";
23
- function A(e) {
22
+ var t = We, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), x = /* @__PURE__ */ Symbol.for("react.strict_mode"), R = /* @__PURE__ */ Symbol.for("react.profiler"), w = /* @__PURE__ */ Symbol.for("react.provider"), j = /* @__PURE__ */ Symbol.for("react.context"), A = /* @__PURE__ */ Symbol.for("react.forward_ref"), I = /* @__PURE__ */ Symbol.for("react.suspense"), c = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), h = Symbol.iterator, E = "@@iterator";
23
+ function C(e) {
24
24
  if (e === null || typeof e != "object")
25
25
  return null;
26
- var i = k && e[k] || e[E];
26
+ var i = h && e[h] || e[E];
27
27
  return typeof i == "function" ? i : null;
28
28
  }
29
- var T = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
- function g(e) {
29
+ var b = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
+ function _(e) {
31
31
  {
32
- for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), m = 1; m < i; m++)
33
- l[m - 1] = arguments[m];
32
+ for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
33
+ l[u - 1] = arguments[u];
34
34
  G("error", e, l);
35
35
  }
36
36
  }
37
37
  function G(e, i, l) {
38
38
  {
39
- var m = T.ReactDebugCurrentFrame, j = m.getStackAddendum();
40
- j !== "" && (i += "%s", l = l.concat([j]));
41
- var I = l.map(function(v) {
42
- return String(v);
39
+ var u = b.ReactDebugCurrentFrame, P = u.getStackAddendum();
40
+ P !== "" && (i += "%s", l = l.concat([P]));
41
+ var T = l.map(function(k) {
42
+ return String(k);
43
43
  });
44
- I.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, I);
44
+ T.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, T);
45
45
  }
46
46
  }
47
- var _ = !1, M = !1, O = !1, $ = !1, Z = !1, R;
48
- R = /* @__PURE__ */ Symbol.for("react.module.reference");
49
- function B(e) {
50
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === x || Z || e === y || e === F || e === c || $ || e === D || _ || M || O || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === S || e.$$typeof === h || e.$$typeof === N || e.$$typeof === w || // This needs to include all possible module reference object
47
+ var y = !1, O = !1, X = !1, Z = !1, ie = !1, Y;
48
+ Y = /* @__PURE__ */ Symbol.for("react.module.reference");
49
+ function F(e) {
50
+ return !!(typeof e == "string" || typeof e == "function" || e === m || e === R || ie || e === x || e === I || e === c || Z || e === S || y || O || X || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === N || e.$$typeof === w || e.$$typeof === j || e.$$typeof === A || // This needs to include all possible module reference object
51
51
  // types supported by any Flight configuration anywhere since
52
52
  // we don't know which Flight build this will end up being used
53
53
  // with.
54
- e.$$typeof === R || e.getModuleId !== void 0));
54
+ e.$$typeof === Y || e.getModuleId !== void 0));
55
55
  }
56
- function z(e, i, l) {
57
- var m = e.displayName;
58
- if (m)
59
- return m;
60
- var j = i.displayName || i.name || "";
61
- return j !== "" ? l + "(" + j + ")" : l;
56
+ function ue(e, i, l) {
57
+ var u = e.displayName;
58
+ if (u)
59
+ return u;
60
+ var P = i.displayName || i.name || "";
61
+ return P !== "" ? l + "(" + P + ")" : l;
62
62
  }
63
- function U(e) {
63
+ function z(e) {
64
64
  return e.displayName || "Context";
65
65
  }
66
- function C(e) {
66
+ function L(e) {
67
67
  if (e == null)
68
68
  return null;
69
- if (typeof e.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
69
+ if (typeof e.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
70
70
  return e.displayName || e.name || null;
71
71
  if (typeof e == "string")
72
72
  return e;
73
73
  switch (e) {
74
- case u:
74
+ case m:
75
75
  return "Fragment";
76
76
  case d:
77
77
  return "Portal";
78
- case x:
78
+ case R:
79
79
  return "Profiler";
80
- case y:
80
+ case x:
81
81
  return "StrictMode";
82
- case F:
82
+ case I:
83
83
  return "Suspense";
84
84
  case c:
85
85
  return "SuspenseList";
86
86
  }
87
87
  if (typeof e == "object")
88
88
  switch (e.$$typeof) {
89
- case N:
89
+ case j:
90
90
  var i = e;
91
- return U(i) + ".Consumer";
92
- case h:
93
- var l = e;
94
- return U(l._context) + ".Provider";
91
+ return z(i) + ".Consumer";
95
92
  case w:
96
- return z(e, e.render, "ForwardRef");
97
- case S:
98
- var m = e.displayName || null;
99
- return m !== null ? m : C(e.type) || "Memo";
93
+ var l = e;
94
+ return z(l._context) + ".Provider";
95
+ case A:
96
+ return ue(e, e.render, "ForwardRef");
97
+ case N:
98
+ var u = e.displayName || null;
99
+ return u !== null ? u : L(e.type) || "Memo";
100
100
  case p: {
101
- var j = e, I = j._payload, v = j._init;
101
+ var P = e, T = P._payload, k = P._init;
102
102
  try {
103
- return C(v(I));
103
+ return L(k(T));
104
104
  } catch {
105
105
  return null;
106
106
  }
@@ -108,18 +108,18 @@ function Gr() {
108
108
  }
109
109
  return null;
110
110
  }
111
- var L = Object.assign, H = 0, J, ne, ge, Q, ie, ue, le;
112
- function se() {
111
+ var B = Object.assign, q = 0, J, te, ge, V, le, me, se;
112
+ function ae() {
113
113
  }
114
- se.__reactDisabledLog = !0;
115
- function fe() {
114
+ ae.__reactDisabledLog = !0;
115
+ function _e() {
116
116
  {
117
- if (H === 0) {
118
- J = console.log, ne = console.info, ge = console.warn, Q = console.error, ie = console.group, ue = console.groupCollapsed, le = console.groupEnd;
117
+ if (q === 0) {
118
+ J = console.log, te = console.info, ge = console.warn, V = console.error, le = console.group, me = console.groupCollapsed, se = console.groupEnd;
119
119
  var e = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
122
- value: se,
122
+ value: ae,
123
123
  writable: !0
124
124
  };
125
125
  Object.defineProperties(console, {
@@ -132,202 +132,202 @@ function Gr() {
132
132
  groupEnd: e
133
133
  });
134
134
  }
135
- H++;
135
+ q++;
136
136
  }
137
137
  }
138
- function oe() {
138
+ function ee() {
139
139
  {
140
- if (H--, H === 0) {
140
+ if (q--, q === 0) {
141
141
  var e = {
142
142
  configurable: !0,
143
143
  enumerable: !0,
144
144
  writable: !0
145
145
  };
146
146
  Object.defineProperties(console, {
147
- log: L({}, e, {
147
+ log: B({}, e, {
148
148
  value: J
149
149
  }),
150
- info: L({}, e, {
151
- value: ne
150
+ info: B({}, e, {
151
+ value: te
152
152
  }),
153
- warn: L({}, e, {
153
+ warn: B({}, e, {
154
154
  value: ge
155
155
  }),
156
- error: L({}, e, {
157
- value: Q
156
+ error: B({}, e, {
157
+ value: V
158
158
  }),
159
- group: L({}, e, {
160
- value: ie
159
+ group: B({}, e, {
160
+ value: le
161
161
  }),
162
- groupCollapsed: L({}, e, {
163
- value: ue
162
+ groupCollapsed: B({}, e, {
163
+ value: me
164
164
  }),
165
- groupEnd: L({}, e, {
166
- value: le
165
+ groupEnd: B({}, e, {
166
+ value: se
167
167
  })
168
168
  });
169
169
  }
170
- H < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
170
+ q < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
171
  }
172
172
  }
173
- var pe = T.ReactCurrentDispatcher, me;
174
- function ee(e, i, l) {
173
+ var ne = b.ReactCurrentDispatcher, oe;
174
+ function M(e, i, l) {
175
175
  {
176
- if (me === void 0)
176
+ if (oe === void 0)
177
177
  try {
178
178
  throw Error();
179
- } catch (j) {
180
- var m = j.stack.trim().match(/\n( *(at )?)/);
181
- me = m && m[1] || "";
179
+ } catch (P) {
180
+ var u = P.stack.trim().match(/\n( *(at )?)/);
181
+ oe = u && u[1] || "";
182
182
  }
183
183
  return `
184
- ` + me + e;
184
+ ` + oe + e;
185
185
  }
186
186
  }
187
- var ye = !1, ce;
187
+ var be = !1, fe;
188
188
  {
189
- var we = typeof WeakMap == "function" ? WeakMap : Map;
190
- ce = new we();
189
+ var ke = typeof WeakMap == "function" ? WeakMap : Map;
190
+ fe = new ke();
191
191
  }
192
- function _e(e, i) {
193
- if (!e || ye)
192
+ function ye(e, i) {
193
+ if (!e || be)
194
194
  return "";
195
195
  {
196
- var l = ce.get(e);
196
+ var l = fe.get(e);
197
197
  if (l !== void 0)
198
198
  return l;
199
199
  }
200
- var m;
201
- ye = !0;
202
- var j = Error.prepareStackTrace;
200
+ var u;
201
+ be = !0;
202
+ var P = Error.prepareStackTrace;
203
203
  Error.prepareStackTrace = void 0;
204
- var I;
205
- I = pe.current, pe.current = null, fe();
204
+ var T;
205
+ T = ne.current, ne.current = null, _e();
206
206
  try {
207
207
  if (i) {
208
- var v = function() {
208
+ var k = function() {
209
209
  throw Error();
210
210
  };
211
- if (Object.defineProperty(v.prototype, "props", {
211
+ if (Object.defineProperty(k.prototype, "props", {
212
212
  set: function() {
213
213
  throw Error();
214
214
  }
215
215
  }), typeof Reflect == "object" && Reflect.construct) {
216
216
  try {
217
- Reflect.construct(v, []);
218
- } catch (ae) {
219
- m = ae;
217
+ Reflect.construct(k, []);
218
+ } catch (re) {
219
+ u = re;
220
220
  }
221
- Reflect.construct(e, [], v);
221
+ Reflect.construct(e, [], k);
222
222
  } else {
223
223
  try {
224
- v.call();
225
- } catch (ae) {
226
- m = ae;
224
+ k.call();
225
+ } catch (re) {
226
+ u = re;
227
227
  }
228
- e.call(v.prototype);
228
+ e.call(k.prototype);
229
229
  }
230
230
  } else {
231
231
  try {
232
232
  throw Error();
233
- } catch (ae) {
234
- m = ae;
233
+ } catch (re) {
234
+ u = re;
235
235
  }
236
236
  e();
237
237
  }
238
- } catch (ae) {
239
- if (ae && m && typeof ae.stack == "string") {
240
- for (var b = ae.stack.split(`
241
- `), re = m.stack.split(`
242
- `), W = b.length - 1, Y = re.length - 1; W >= 1 && Y >= 0 && b[W] !== re[Y]; )
243
- Y--;
244
- for (; W >= 1 && Y >= 0; W--, Y--)
245
- if (b[W] !== re[Y]) {
246
- if (W !== 1 || Y !== 1)
238
+ } catch (re) {
239
+ if (re && u && typeof re.stack == "string") {
240
+ for (var g = re.stack.split(`
241
+ `), Q = u.stack.split(`
242
+ `), D = g.length - 1, U = Q.length - 1; D >= 1 && U >= 0 && g[D] !== Q[U]; )
243
+ U--;
244
+ for (; D >= 1 && U >= 0; D--, U--)
245
+ if (g[D] !== Q[U]) {
246
+ if (D !== 1 || U !== 1)
247
247
  do
248
- if (W--, Y--, Y < 0 || b[W] !== re[Y]) {
248
+ if (D--, U--, U < 0 || g[D] !== Q[U]) {
249
249
  var de = `
250
- ` + b[W].replace(" at new ", " at ");
251
- return e.displayName && de.includes("<anonymous>") && (de = de.replace("<anonymous>", e.displayName)), typeof e == "function" && ce.set(e, de), de;
250
+ ` + g[D].replace(" at new ", " at ");
251
+ return e.displayName && de.includes("<anonymous>") && (de = de.replace("<anonymous>", e.displayName)), typeof e == "function" && fe.set(e, de), de;
252
252
  }
253
- while (W >= 1 && Y >= 0);
253
+ while (D >= 1 && U >= 0);
254
254
  break;
255
255
  }
256
256
  }
257
257
  } finally {
258
- ye = !1, pe.current = I, oe(), Error.prepareStackTrace = j;
258
+ be = !1, ne.current = T, ee(), Error.prepareStackTrace = P;
259
259
  }
260
- var Ce = e ? e.displayName || e.name : "", ve = Ce ? ee(Ce) : "";
261
- return typeof e == "function" && ce.set(e, ve), ve;
260
+ var je = e ? e.displayName || e.name : "", xe = je ? M(je) : "";
261
+ return typeof e == "function" && fe.set(e, xe), xe;
262
262
  }
263
263
  function Pe(e, i, l) {
264
- return _e(e, !1);
264
+ return ye(e, !1);
265
265
  }
266
- function ke(e) {
266
+ function Ae(e) {
267
267
  var i = e.prototype;
268
268
  return !!(i && i.isReactComponent);
269
269
  }
270
- function P(e, i, l) {
270
+ function v(e, i, l) {
271
271
  if (e == null)
272
272
  return "";
273
273
  if (typeof e == "function")
274
- return _e(e, ke(e));
274
+ return ye(e, Ae(e));
275
275
  if (typeof e == "string")
276
- return ee(e);
276
+ return M(e);
277
277
  switch (e) {
278
- case F:
279
- return ee("Suspense");
278
+ case I:
279
+ return M("Suspense");
280
280
  case c:
281
- return ee("SuspenseList");
281
+ return M("SuspenseList");
282
282
  }
283
283
  if (typeof e == "object")
284
284
  switch (e.$$typeof) {
285
- case w:
285
+ case A:
286
286
  return Pe(e.render);
287
- case S:
288
- return P(e.type, i, l);
287
+ case N:
288
+ return v(e.type, i, l);
289
289
  case p: {
290
- var m = e, j = m._payload, I = m._init;
290
+ var u = e, P = u._payload, T = u._init;
291
291
  try {
292
- return P(I(j), i, l);
292
+ return v(T(P), i, l);
293
293
  } catch {
294
294
  }
295
295
  }
296
296
  }
297
297
  return "";
298
298
  }
299
- var n = Object.prototype.hasOwnProperty, s = {}, K = T.ReactDebugCurrentFrame;
300
- function te(e) {
299
+ var ce = Object.prototype.hasOwnProperty, Se = {}, n = b.ReactDebugCurrentFrame;
300
+ function s(e) {
301
301
  if (e) {
302
- var i = e._owner, l = P(e.type, e._source, i ? i.type : null);
303
- K.setExtraStackFrame(l);
302
+ var i = e._owner, l = v(e.type, e._source, i ? i.type : null);
303
+ n.setExtraStackFrame(l);
304
304
  } else
305
- K.setExtraStackFrame(null);
305
+ n.setExtraStackFrame(null);
306
306
  }
307
- function Te(e, i, l, m, j) {
307
+ function $(e, i, l, u, P) {
308
308
  {
309
- var I = Function.call.bind(n);
310
- for (var v in e)
311
- if (I(e, v)) {
312
- var b = void 0;
309
+ var T = Function.call.bind(ce);
310
+ for (var k in e)
311
+ if (T(e, k)) {
312
+ var g = void 0;
313
313
  try {
314
- if (typeof e[v] != "function") {
315
- var re = Error((m || "React class") + ": " + l + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
- throw re.name = "Invariant Violation", re;
314
+ if (typeof e[k] != "function") {
315
+ var Q = Error((u || "React class") + ": " + l + " type `" + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[k] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
+ throw Q.name = "Invariant Violation", Q;
317
317
  }
318
- b = e[v](i, v, m, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
- } catch (W) {
320
- b = W;
318
+ g = e[k](i, k, u, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
+ } catch (D) {
320
+ g = D;
321
321
  }
322
- b && !(b instanceof Error) && (te(j), g("%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).", m || "React class", l, v, typeof b), te(null)), b instanceof Error && !(b.message in s) && (s[b.message] = !0, te(j), g("Failed %s type: %s", l, b.message), te(null));
322
+ g && !(g instanceof Error) && (s(P), _("%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).", u || "React class", l, k, typeof g), s(null)), g instanceof Error && !(g.message in Se) && (Se[g.message] = !0, s(P), _("Failed %s type: %s", l, g.message), s(null));
323
323
  }
324
324
  }
325
325
  }
326
- var De = Array.isArray;
327
- function Oe(e) {
328
- return De(e);
326
+ var pe = Array.isArray;
327
+ function ve(e) {
328
+ return pe(e);
329
329
  }
330
- function gr(e) {
330
+ function Oe(e) {
331
331
  {
332
332
  var i = typeof Symbol == "function" && Symbol.toStringTag, l = i && e[Symbol.toStringTag] || e.constructor.name || "Object";
333
333
  return l;
@@ -345,16 +345,16 @@ function Gr() {
345
345
  }
346
346
  function qe(e) {
347
347
  if (_r(e))
348
- return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gr(e)), Ye(e);
348
+ return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Oe(e)), Ye(e);
349
349
  }
350
- var Ve = T.ReactCurrentOwner, br = {
350
+ var Ve = b.ReactCurrentOwner, br = {
351
351
  key: !0,
352
352
  ref: !0,
353
353
  __self: !0,
354
354
  __source: !0
355
- }, Je, ze;
355
+ }, ze, Je;
356
356
  function yr(e) {
357
- if (n.call(e, "ref")) {
357
+ if (ce.call(e, "ref")) {
358
358
  var i = Object.getOwnPropertyDescriptor(e, "ref").get;
359
359
  if (i && i.isReactWarning)
360
360
  return !1;
@@ -362,7 +362,7 @@ function Gr() {
362
362
  return e.ref !== void 0;
363
363
  }
364
364
  function kr(e) {
365
- if (n.call(e, "key")) {
365
+ if (ce.call(e, "key")) {
366
366
  var i = Object.getOwnPropertyDescriptor(e, "key").get;
367
367
  if (i && i.isReactWarning)
368
368
  return !1;
@@ -375,7 +375,7 @@ function Gr() {
375
375
  function xr(e, i) {
376
376
  {
377
377
  var l = function() {
378
- Je || (Je = !0, g("%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)", i));
378
+ ze || (ze = !0, _("%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)", i));
379
379
  };
380
380
  l.isReactWarning = !0, Object.defineProperty(e, "key", {
381
381
  get: l,
@@ -386,7 +386,7 @@ function Gr() {
386
386
  function wr(e, i) {
387
387
  {
388
388
  var l = function() {
389
- ze || (ze = !0, g("%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)", i));
389
+ Je || (Je = !0, _("%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)", i));
390
390
  };
391
391
  l.isReactWarning = !0, Object.defineProperty(e, "ref", {
392
392
  get: l,
@@ -394,57 +394,57 @@ function Gr() {
394
394
  });
395
395
  }
396
396
  }
397
- var Pr = function(e, i, l, m, j, I, v) {
398
- var b = {
397
+ var Pr = function(e, i, l, u, P, T, k) {
398
+ var g = {
399
399
  // This tag allows us to uniquely identify this as a React Element
400
400
  $$typeof: o,
401
401
  // Built-in properties that belong on the element
402
402
  type: e,
403
403
  key: i,
404
404
  ref: l,
405
- props: v,
405
+ props: k,
406
406
  // Record the component responsible for creating this element.
407
- _owner: I
407
+ _owner: T
408
408
  };
409
- return b._store = {}, Object.defineProperty(b._store, "validated", {
409
+ return g._store = {}, Object.defineProperty(g._store, "validated", {
410
410
  configurable: !1,
411
411
  enumerable: !1,
412
412
  writable: !0,
413
413
  value: !1
414
- }), Object.defineProperty(b, "_self", {
414
+ }), Object.defineProperty(g, "_self", {
415
415
  configurable: !1,
416
416
  enumerable: !1,
417
417
  writable: !1,
418
- value: m
419
- }), Object.defineProperty(b, "_source", {
418
+ value: u
419
+ }), Object.defineProperty(g, "_source", {
420
420
  configurable: !1,
421
421
  enumerable: !1,
422
422
  writable: !1,
423
- value: j
424
- }), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
423
+ value: P
424
+ }), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
425
425
  };
426
- function Ar(e, i, l, m, j) {
426
+ function Ar(e, i, l, u, P) {
427
427
  {
428
- var I, v = {}, b = null, re = null;
429
- l !== void 0 && (qe(l), b = "" + l), kr(i) && (qe(i.key), b = "" + i.key), yr(i) && (re = i.ref, vr(i, j));
430
- for (I in i)
431
- n.call(i, I) && !br.hasOwnProperty(I) && (v[I] = i[I]);
428
+ var T, k = {}, g = null, Q = null;
429
+ l !== void 0 && (qe(l), g = "" + l), kr(i) && (qe(i.key), g = "" + i.key), yr(i) && (Q = i.ref, vr(i, P));
430
+ for (T in i)
431
+ ce.call(i, T) && !br.hasOwnProperty(T) && (k[T] = i[T]);
432
432
  if (e && e.defaultProps) {
433
- var W = e.defaultProps;
434
- for (I in W)
435
- v[I] === void 0 && (v[I] = W[I]);
433
+ var D = e.defaultProps;
434
+ for (T in D)
435
+ k[T] === void 0 && (k[T] = D[T]);
436
436
  }
437
- if (b || re) {
438
- var Y = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
- b && xr(v, Y), re && wr(v, Y);
437
+ if (g || Q) {
438
+ var U = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
+ g && xr(k, U), Q && wr(k, U);
440
440
  }
441
- return Pr(e, b, re, j, m, Ve.current, v);
441
+ return Pr(e, g, Q, P, u, Ve.current, k);
442
442
  }
443
443
  }
444
- var Fe = T.ReactCurrentOwner, Qe = T.ReactDebugCurrentFrame;
445
- function Ae(e) {
444
+ var Fe = b.ReactCurrentOwner, Qe = b.ReactDebugCurrentFrame;
445
+ function Ce(e) {
446
446
  if (e) {
447
- var i = e._owner, l = P(e.type, e._source, i ? i.type : null);
447
+ var i = e._owner, l = v(e.type, e._source, i ? i.type : null);
448
448
  Qe.setExtraStackFrame(l);
449
449
  } else
450
450
  Qe.setExtraStackFrame(null);
@@ -457,7 +457,7 @@ function Gr() {
457
457
  function Xe() {
458
458
  {
459
459
  if (Fe.current) {
460
- var e = C(Fe.current.type);
460
+ var e = L(Fe.current.type);
461
461
  if (e)
462
462
  return `
463
463
 
@@ -491,26 +491,26 @@ Check the top-level render call using <` + l + ">.");
491
491
  if (Ze[l])
492
492
  return;
493
493
  Ze[l] = !0;
494
- var m = "";
495
- e && e._owner && e._owner !== Fe.current && (m = " It was passed a child from " + C(e._owner.type) + "."), Ae(e), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, m), Ae(null);
494
+ var u = "";
495
+ e && e._owner && e._owner !== Fe.current && (u = " It was passed a child from " + L(e._owner.type) + "."), Ce(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, u), Ce(null);
496
496
  }
497
497
  }
498
498
  function rr(e, i) {
499
499
  {
500
500
  if (typeof e != "object")
501
501
  return;
502
- if (Oe(e))
502
+ if (ve(e))
503
503
  for (var l = 0; l < e.length; l++) {
504
- var m = e[l];
505
- $e(m) && er(m, i);
504
+ var u = e[l];
505
+ $e(u) && er(u, i);
506
506
  }
507
507
  else if ($e(e))
508
508
  e._store && (e._store.validated = !0);
509
509
  else if (e) {
510
- var j = A(e);
511
- if (typeof j == "function" && j !== e.entries)
512
- for (var I = j.call(e), v; !(v = I.next()).done; )
513
- $e(v.value) && er(v.value, i);
510
+ var P = C(e);
511
+ if (typeof P == "function" && P !== e.entries)
512
+ for (var T = P.call(e), k; !(k = T.next()).done; )
513
+ $e(k.value) && er(k.value, i);
514
514
  }
515
515
  }
516
516
  }
@@ -522,78 +522,78 @@ Check the top-level render call using <` + l + ">.");
522
522
  var l;
523
523
  if (typeof i == "function")
524
524
  l = i.propTypes;
525
- else if (typeof i == "object" && (i.$$typeof === w || // Note: Memo only checks outer props here.
525
+ else if (typeof i == "object" && (i.$$typeof === A || // Note: Memo only checks outer props here.
526
526
  // Inner props are checked in the reconciler.
527
- i.$$typeof === S))
527
+ i.$$typeof === N))
528
528
  l = i.propTypes;
529
529
  else
530
530
  return;
531
531
  if (l) {
532
- var m = C(i);
533
- Te(l, e.props, "prop", m, e);
532
+ var u = L(i);
533
+ $(l, e.props, "prop", u, e);
534
534
  } else if (i.PropTypes !== void 0 && !Me) {
535
535
  Me = !0;
536
- var j = C(i);
537
- g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", j || "Unknown");
536
+ var P = L(i);
537
+ _("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown");
538
538
  }
539
- typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
539
+ typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
540
540
  }
541
541
  }
542
542
  function Tr(e) {
543
543
  {
544
544
  for (var i = Object.keys(e.props), l = 0; l < i.length; l++) {
545
- var m = i[l];
546
- if (m !== "children" && m !== "key") {
547
- Ae(e), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), Ae(null);
545
+ var u = i[l];
546
+ if (u !== "children" && u !== "key") {
547
+ Ce(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), Ce(null);
548
548
  break;
549
549
  }
550
550
  }
551
- e.ref !== null && (Ae(e), g("Invalid attribute `ref` supplied to `React.Fragment`."), Ae(null));
551
+ e.ref !== null && (Ce(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), Ce(null));
552
552
  }
553
553
  }
554
554
  var tr = {};
555
- function ar(e, i, l, m, j, I) {
555
+ function ar(e, i, l, u, P, T) {
556
556
  {
557
- var v = B(e);
558
- if (!v) {
559
- var b = "";
560
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
561
- var re = Cr();
562
- re ? b += re : b += Xe();
563
- var W;
564
- e === null ? W = "null" : Oe(e) ? W = "array" : e !== void 0 && e.$$typeof === o ? (W = "<" + (C(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : W = typeof e, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", W, b);
557
+ var k = F(e);
558
+ if (!k) {
559
+ var g = "";
560
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
561
+ var Q = Cr();
562
+ Q ? g += Q : g += Xe();
563
+ var D;
564
+ e === null ? D = "null" : ve(e) ? D = "array" : e !== void 0 && e.$$typeof === o ? (D = "<" + (L(e.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : D = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, g);
565
565
  }
566
- var Y = Ar(e, i, l, j, I);
567
- if (Y == null)
568
- return Y;
569
- if (v) {
566
+ var U = Ar(e, i, l, P, T);
567
+ if (U == null)
568
+ return U;
569
+ if (k) {
570
570
  var de = i.children;
571
571
  if (de !== void 0)
572
- if (m)
573
- if (Oe(de)) {
574
- for (var Ce = 0; Ce < de.length; Ce++)
575
- rr(de[Ce], e);
572
+ if (u)
573
+ if (ve(de)) {
574
+ for (var je = 0; je < de.length; je++)
575
+ rr(de[je], e);
576
576
  Object.freeze && Object.freeze(de);
577
577
  } else
578
- g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
578
+ _("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
579
579
  else
580
580
  rr(de, e);
581
581
  }
582
- if (n.call(i, "key")) {
583
- var ve = C(e), ae = Object.keys(i).filter(function(Lr) {
582
+ if (ce.call(i, "key")) {
583
+ var xe = L(e), re = Object.keys(i).filter(function(Lr) {
584
584
  return Lr !== "key";
585
- }), Ue = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
586
- if (!tr[ve + Ue]) {
587
- var Br = ae.length > 0 ? "{" + ae.join(": ..., ") + ": ...}" : "{}";
588
- g(`A props object containing a "key" prop is being spread into JSX:
585
+ }), Ue = re.length > 0 ? "{key: someKey, " + re.join(": ..., ") + ": ...}" : "{key: someKey}";
586
+ if (!tr[xe + Ue]) {
587
+ var Br = re.length > 0 ? "{" + re.join(": ..., ") + ": ...}" : "{}";
588
+ _(`A props object containing a "key" prop is being spread into JSX:
589
589
  let props = %s;
590
590
  <%s {...props} />
591
591
  React keys must be passed directly to JSX without using spread:
592
592
  let props = %s;
593
- <%s key={someKey} {...props} />`, Ue, ve, Br, ve), tr[ve + Ue] = !0;
593
+ <%s key={someKey} {...props} />`, Ue, xe, Br, xe), tr[xe + Ue] = !0;
594
594
  }
595
595
  }
596
- return e === u ? Tr(Y) : Nr(Y), Y;
596
+ return e === m ? Tr(U) : Nr(U), U;
597
597
  }
598
598
  }
599
599
  function Rr(e, i, l) {
@@ -603,18 +603,18 @@ React keys must be passed directly to JSX without using spread:
603
603
  return ar(e, i, l, !1);
604
604
  }
605
605
  var Er = Sr, Ir = Rr;
606
- Se.Fragment = u, Se.jsx = Er, Se.jsxs = Ir;
607
- })()), Se;
606
+ Ie.Fragment = m, Ie.jsx = Er, Ie.jsxs = Ir;
607
+ })()), Ie;
608
608
  }
609
609
  var ir;
610
- function Kr() {
611
- return ir || (ir = 1, process.env.NODE_ENV === "production" ? Ie.exports = Ur() : Ie.exports = Gr()), Ie.exports;
610
+ function Wr() {
611
+ return ir || (ir = 1, process.env.NODE_ENV === "production" ? Le.exports = Ur() : Le.exports = Gr()), Le.exports;
612
612
  }
613
- var r = Kr();
614
- const dr = ["en", "hi"], lr = {
613
+ var r = Wr();
614
+ const ur = ["en", "hi"], lr = {
615
615
  en: "English",
616
616
  hi: "हिन्दी"
617
- }, ur = {
617
+ }, mr = {
618
618
  en: {
619
619
  kundli: "Kundli",
620
620
  birthChart: "Birth Chart",
@@ -1046,35 +1046,35 @@ const dr = ["en", "hi"], lr = {
1046
1046
  astrologyGuidance: "ज्योतिष से सलाह",
1047
1047
  selectPackage: "पैकेज चुनें"
1048
1048
  }
1049
- }, mr = cr(null), Sn = ({
1049
+ }, fr = dr(null), Rn = ({
1050
1050
  locale: t,
1051
1051
  children: o
1052
1052
  }) => {
1053
- const u = { locale: t, t: (y) => ur[t]?.[y] ?? y };
1054
- return /* @__PURE__ */ r.jsx(mr.Provider, { value: u, children: o });
1053
+ const m = { locale: t, t: (x) => mr[t]?.[x] ?? x };
1054
+ return /* @__PURE__ */ r.jsx(fr.Provider, { value: m, children: o });
1055
1055
  };
1056
- function Wr() {
1057
- return We(mr);
1056
+ function Kr() {
1057
+ return Ke(fr);
1058
1058
  }
1059
- const Hr = "_container_1e1th_1", Yr = "_main_1e1th_7", qr = "_kundliHeaderNoBorder_1e1th_12", Vr = "_headerSeparator_1e1th_16", Jr = "_langDropdownWrap_1e1th_21", zr = "_langTrigger_1e1th_25", Qr = "_langIcon_1e1th_37", Xr = "_langLabel_1e1th_44", Zr = "_langMenu_1e1th_49", et = "_langOption_1e1th_55", he = {
1059
+ const Hr = "_container_1e1th_1", Yr = "_main_1e1th_7", qr = "_kundliHeaderNoBorder_1e1th_12", Vr = "_headerSeparator_1e1th_16", zr = "_langDropdownWrap_1e1th_21", Jr = "_langTrigger_1e1th_25", Qr = "_langIcon_1e1th_37", Xr = "_langLabel_1e1th_44", Zr = "_langMenu_1e1th_49", et = "_langOption_1e1th_55", he = {
1060
1060
  container: Hr,
1061
1061
  main: Yr,
1062
1062
  kundliHeaderNoBorder: qr,
1063
1063
  headerSeparator: Vr,
1064
- langDropdownWrap: Jr,
1065
- langTrigger: zr,
1064
+ langDropdownWrap: zr,
1065
+ langTrigger: Jr,
1066
1066
  langIcon: Qr,
1067
1067
  langLabel: Xr,
1068
1068
  langMenu: Zr,
1069
1069
  langOption: et
1070
- }, Le = (t) => {
1071
- const { priority: o, fetchPriority: d, width: u, height: y, ...x } = t;
1072
- return Ke.createElement("img", {
1073
- ...x,
1074
- width: u ?? 1,
1075
- height: y ?? 1,
1070
+ }, De = (t) => {
1071
+ const { priority: o, fetchPriority: d, width: m, height: x, ...R } = t;
1072
+ return We.createElement("img", {
1073
+ ...R,
1074
+ width: m ?? 1,
1075
+ height: x ?? 1,
1076
1076
  decoding: "async",
1077
- loading: x.loading ?? (o ? "eager" : "lazy"),
1077
+ loading: R.loading ?? (o ? "eager" : "lazy"),
1078
1078
  ...d && { fetchPriority: d }
1079
1079
  });
1080
1080
  };
@@ -1094,14 +1094,14 @@ function tt(t, o) {
1094
1094
  } catch {
1095
1095
  }
1096
1096
  }
1097
- function En(t) {
1097
+ function Sn(t) {
1098
1098
  if (!(typeof window > "u" || !window.localStorage))
1099
1099
  try {
1100
1100
  window.localStorage.removeItem(t);
1101
1101
  } catch {
1102
1102
  }
1103
1103
  }
1104
- function In() {
1104
+ function En() {
1105
1105
  if (typeof window > "u" || !window.localStorage)
1106
1106
  return !1;
1107
1107
  try {
@@ -1111,15 +1111,15 @@ function In() {
1111
1111
  return !1;
1112
1112
  }
1113
1113
  }
1114
- const fr = "kundli_language";
1114
+ const pr = "kundli_language";
1115
1115
  function at() {
1116
- const t = rt(fr);
1117
- return t && dr.includes(t) ? t : null;
1116
+ const t = rt(pr);
1117
+ return t && ur.includes(t) ? t : null;
1118
1118
  }
1119
1119
  function nt(t) {
1120
- tt(fr, t);
1120
+ tt(pr, t);
1121
1121
  }
1122
- const He = cr(null), ot = {
1122
+ const He = dr(null), ot = {
1123
1123
  fullName: "",
1124
1124
  phone: "",
1125
1125
  gender: "",
@@ -1128,135 +1128,137 @@ const He = cr(null), ot = {
1128
1128
  dateOfBirth: "",
1129
1129
  birthTime: "",
1130
1130
  birthTimeUnknown: !1,
1131
- birthPlace: ""
1132
- }, Bn = ({
1131
+ birthPlace: "",
1132
+ birthPlaceLat: void 0,
1133
+ birthPlaceLng: void 0
1134
+ }, In = ({
1133
1135
  locale: t,
1134
1136
  showLanguageSelector: o = !0,
1135
1137
  showSheet: d,
1136
- userId: u,
1137
- isGlobal: y,
1138
- variant: x,
1139
- googleMapsApiKey: h,
1140
- logoUrl: N,
1141
- reportImageUrl: w,
1142
- reportImagePriority: F,
1138
+ userId: m,
1139
+ isGlobal: x,
1140
+ variant: R,
1141
+ atlasSearchLocalities: w,
1142
+ logoUrl: j,
1143
+ reportImageUrl: A,
1144
+ reportImagePriority: I,
1143
1145
  backgroundImagePriority: c,
1144
- universityLogoUrls: S,
1146
+ universityLogoUrls: N,
1145
1147
  sampleReportHref: p,
1146
- onViewSampleReport: D,
1147
- ctaHref: k,
1148
+ onViewSampleReport: S,
1149
+ ctaHref: h,
1148
1150
  onCtaClick: E,
1149
- onBack: A,
1150
- readMoreReviewsHref: T,
1151
- onProceed: g,
1151
+ onBack: C,
1152
+ readMoreReviewsHref: b,
1153
+ onProceed: _,
1152
1154
  proceedHref: G,
1153
- originalPriceLabel: _,
1154
- discountedPriceLabel: M,
1155
- discountPillLabel: O,
1156
- analytics: $,
1157
- onProceedGuidance: Z,
1158
- onLocaleChange: R,
1159
- imageComponent: B = Le,
1160
- children: z
1155
+ originalPriceLabel: y,
1156
+ discountedPriceLabel: O,
1157
+ discountPillLabel: X,
1158
+ analytics: Z,
1159
+ onProceedGuidance: ie,
1160
+ onLocaleChange: Y,
1161
+ imageComponent: F = De,
1162
+ children: ue
1161
1163
  }) => {
1162
- const [U, C] = V("landing"), [L, H] = V(t ?? "en"), [J, ne] = V(ot), ge = q(!0);
1163
- X(() => {
1164
- const se = at();
1165
- se && H(se);
1166
- }, []), X(() => {
1167
- nt(L);
1168
- }, [L]), X(() => {
1164
+ const [z, L] = W("landing"), [B, q] = W(t ?? "en"), [J, te] = W(ot), ge = K(!0);
1165
+ H(() => {
1166
+ const ae = at();
1167
+ ae && q(ae);
1168
+ }, []), H(() => {
1169
+ nt(B);
1170
+ }, [B]), H(() => {
1169
1171
  if (ge.current) {
1170
1172
  ge.current = !1;
1171
1173
  return;
1172
1174
  }
1173
- R?.(L);
1174
- }, [L, R]);
1175
- const Q = Ge(
1175
+ Y?.(B);
1176
+ }, [B, Y]);
1177
+ const V = Ge(
1176
1178
  () => ({
1177
1179
  locale: t,
1178
1180
  showLanguageSelector: o,
1179
1181
  showSheet: d,
1180
- userId: u,
1181
- isGlobal: y,
1182
- variant: x,
1183
- googleMapsApiKey: h,
1184
- logoUrl: N,
1185
- reportImageUrl: w,
1186
- reportImagePriority: F,
1182
+ userId: m,
1183
+ isGlobal: x,
1184
+ variant: R,
1185
+ atlasSearchLocalities: w,
1186
+ logoUrl: j,
1187
+ reportImageUrl: A,
1188
+ reportImagePriority: I,
1187
1189
  backgroundImagePriority: c,
1188
- universityLogoUrls: S,
1190
+ universityLogoUrls: N,
1189
1191
  sampleReportHref: p,
1190
- onViewSampleReport: D,
1191
- ctaHref: k,
1192
+ onViewSampleReport: S,
1193
+ ctaHref: h,
1192
1194
  onCtaClick: E,
1193
- onBack: A,
1194
- readMoreReviewsHref: T,
1195
- onProceed: g,
1195
+ onBack: C,
1196
+ readMoreReviewsHref: b,
1197
+ onProceed: _,
1196
1198
  proceedHref: G,
1197
- originalPriceLabel: _,
1198
- discountedPriceLabel: M,
1199
- discountPillLabel: O,
1200
- analytics: $,
1201
- onProceedGuidance: Z,
1202
- onLocaleChange: R,
1203
- imageComponent: B
1199
+ originalPriceLabel: y,
1200
+ discountedPriceLabel: O,
1201
+ discountPillLabel: X,
1202
+ analytics: Z,
1203
+ onProceedGuidance: ie,
1204
+ onLocaleChange: Y,
1205
+ imageComponent: F
1204
1206
  }),
1205
1207
  [
1206
1208
  t,
1207
1209
  o,
1208
1210
  d,
1209
- u,
1210
- y,
1211
+ m,
1211
1212
  x,
1212
- h,
1213
- N,
1213
+ R,
1214
1214
  w,
1215
- F,
1215
+ j,
1216
+ A,
1217
+ I,
1216
1218
  c,
1217
- S,
1219
+ N,
1218
1220
  p,
1219
- D,
1220
- k,
1221
+ S,
1222
+ h,
1221
1223
  E,
1222
- A,
1223
- T,
1224
- g,
1225
- G,
1224
+ C,
1225
+ b,
1226
1226
  _,
1227
- M,
1227
+ G,
1228
+ y,
1228
1229
  O,
1229
- $,
1230
+ X,
1230
1231
  Z,
1231
- R,
1232
- B
1232
+ ie,
1233
+ Y,
1234
+ F
1233
1235
  ]
1234
- ), ie = be(() => {
1235
- C("form");
1236
- }, [Q.analytics]), ue = be(() => {
1237
- C("landing"), Q.onBack?.();
1238
- }, [Q.onBack]), le = Ge(
1236
+ ), le = Te(() => {
1237
+ L("form");
1238
+ }, [V.analytics]), me = Te(() => {
1239
+ L("landing"), V.onBack?.();
1240
+ }, [V.onBack]), se = Ge(
1239
1241
  () => ({
1240
- view: U,
1241
- locale: L,
1242
- setLocale: H,
1243
- config: Q,
1242
+ view: z,
1243
+ locale: B,
1244
+ setLocale: q,
1245
+ config: V,
1244
1246
  formValues: J,
1245
- setFormValues: ne,
1246
- goToForm: ie,
1247
- goToPage: ue,
1248
- onProceed: Q.onProceed,
1249
- onProceedGuidance: Q.onProceedGuidance
1247
+ setFormValues: te,
1248
+ goToForm: le,
1249
+ goToPage: me,
1250
+ onProceed: V.onProceed,
1251
+ onProceedGuidance: V.onProceedGuidance
1250
1252
  }),
1251
- [U, L, Q, J, ie, ue]
1253
+ [z, B, V, J, le, me]
1252
1254
  );
1253
- return /* @__PURE__ */ r.jsx(He.Provider, { value: le, children: z });
1255
+ return /* @__PURE__ */ r.jsx(He.Provider, { value: se, children: ue });
1254
1256
  };
1255
- function Ne() {
1256
- return We(He);
1257
+ function Re() {
1258
+ return Ke(He);
1257
1259
  }
1258
- function Ln() {
1259
- const t = We(He);
1260
+ function Bn() {
1261
+ const t = Ke(He);
1260
1262
  if (!t)
1261
1263
  throw new Error("useKundliContextOrThrow must be used within KundliProvider");
1262
1264
  return t;
@@ -1268,7 +1270,7 @@ const it = "_header_19172_1", lt = "_centered_19172_8", sr = {
1268
1270
  t,
1269
1271
  onBack: o,
1270
1272
  className: d = "",
1271
- align: u = "left"
1273
+ align: m = "left"
1272
1274
  }) => /* @__PURE__ */ r.jsx(
1273
1275
  Dr,
1274
1276
  {
@@ -1276,9 +1278,9 @@ const it = "_header_19172_1", lt = "_centered_19172_8", sr = {
1276
1278
  subtitle: t("formSubtitle"),
1277
1279
  onBack: o,
1278
1280
  backAriaLabel: t("back"),
1279
- className: `${sr.header} ${u === "center" ? sr.centered : ""} ${d}`
1281
+ className: `${sr.header} ${m === "center" ? sr.centered : ""} ${d}`
1280
1282
  }
1281
- ), ct = "_wrap_kiw0x_1", dt = "_card_kiw0x_5", ut = "_cardInner_kiw0x_12", mt = "_field_kiw0x_44", ft = "_labelRow_kiw0x_48", pt = "_label_kiw0x_48", ht = "_req_kiw0x_57", gt = "_help_kiw0x_61", _t = "_choiceRow_kiw0x_68", bt = "_choiceBtn_kiw0x_74", yt = "_choiceBtnActive_kiw0x_99", kt = "_infoBtn_kiw0x_105", vt = "_infoImg_kiw0x_122", xt = "_infoWrap_kiw0x_128", wt = "_tooltip_kiw0x_134", Pt = "_tooltipArrow_kiw0x_150", At = "_inputWrap_kiw0x_161", Ct = "_isdWrap_kiw0x_165", jt = "_phoneInputGroup_kiw0x_169", Nt = "_isdSelectWrap_kiw0x_178", Tt = "_isdSelectTrigger_kiw0x_197", Rt = "_isdDropdown_kiw0x_214", St = "_isdSearchWrap_kiw0x_229", Et = "_isdSearchInput_kiw0x_237", It = "_isdOption_kiw0x_255", Bt = "_isdOptionActive_kiw0x_275", Lt = "_isdCountryName_kiw0x_281", Dt = "_isdCountryCode_kiw0x_288", Ot = "_isdNoResult_kiw0x_295", Ft = "_suggestions_kiw0x_302", Mt = "_suggestionItem_kiw0x_315", $t = "_suggestionMain_kiw0x_333", Ut = "_suggestionSecondary_kiw0x_339", Gt = "_suggestionsHint_kiw0x_344", Kt = "_timePopover_kiw0x_359", Wt = "_timePickerRow_kiw0x_375", Ht = "_timePickerSelect_kiw0x_381", Yt = "_timePickerColon_kiw0x_397", qt = "_meridiemToggle_kiw0x_405", Vt = "_meridiemBtn_kiw0x_414", Jt = "_meridiemActive_kiw0x_429", zt = "_timePopoverActions_kiw0x_434", Qt = "_timePopoverBtn_kiw0x_440", Xt = "_timePopoverOk_kiw0x_459", Zt = "_input_kiw0x_161", ea = "_phoneInput_kiw0x_169", ra = "_iconBtn_kiw0x_512", ta = "_iconBtnInteractive_kiw0x_518", aa = "_iconImg_kiw0x_537", na = "_checkboxRow_kiw0x_543", oa = "_checkbox_kiw0x_543", ia = "_checkboxText_kiw0x_581", a = {
1283
+ ), ct = "_wrap_kiw0x_1", dt = "_card_kiw0x_5", ut = "_cardInner_kiw0x_12", mt = "_field_kiw0x_44", ft = "_labelRow_kiw0x_48", pt = "_label_kiw0x_48", ht = "_req_kiw0x_57", gt = "_help_kiw0x_61", _t = "_choiceRow_kiw0x_68", bt = "_choiceBtn_kiw0x_74", yt = "_choiceBtnActive_kiw0x_99", kt = "_infoBtn_kiw0x_105", vt = "_infoImg_kiw0x_122", xt = "_infoWrap_kiw0x_128", wt = "_tooltip_kiw0x_134", Pt = "_tooltipArrow_kiw0x_150", At = "_inputWrap_kiw0x_161", Ct = "_isdWrap_kiw0x_165", jt = "_phoneInputGroup_kiw0x_169", Nt = "_isdSelectWrap_kiw0x_178", Tt = "_isdSelectTrigger_kiw0x_197", Rt = "_isdDropdown_kiw0x_214", St = "_isdSearchWrap_kiw0x_229", Et = "_isdSearchInput_kiw0x_237", It = "_isdOption_kiw0x_255", Bt = "_isdOptionActive_kiw0x_275", Lt = "_isdCountryName_kiw0x_281", Dt = "_isdCountryCode_kiw0x_288", Ot = "_isdNoResult_kiw0x_295", Ft = "_suggestions_kiw0x_302", Mt = "_suggestionItem_kiw0x_315", $t = "_suggestionMain_kiw0x_333", Ut = "_suggestionSecondary_kiw0x_339", Gt = "_suggestionsHint_kiw0x_344", Wt = "_timePopover_kiw0x_359", Kt = "_timePickerRow_kiw0x_375", Ht = "_timePickerSelect_kiw0x_381", Yt = "_timePickerColon_kiw0x_397", qt = "_meridiemToggle_kiw0x_405", Vt = "_meridiemBtn_kiw0x_414", zt = "_meridiemActive_kiw0x_429", Jt = "_timePopoverActions_kiw0x_434", Qt = "_timePopoverBtn_kiw0x_440", Xt = "_timePopoverOk_kiw0x_459", Zt = "_input_kiw0x_161", ea = "_phoneInput_kiw0x_169", ra = "_iconBtn_kiw0x_512", ta = "_iconBtnInteractive_kiw0x_518", aa = "_iconImg_kiw0x_537", na = "_checkboxRow_kiw0x_543", oa = "_checkbox_kiw0x_543", ia = "_checkboxText_kiw0x_581", a = {
1282
1284
  wrap: ct,
1283
1285
  card: dt,
1284
1286
  cardInner: ut,
@@ -1313,14 +1315,14 @@ const it = "_header_19172_1", lt = "_centered_19172_8", sr = {
1313
1315
  suggestionMain: $t,
1314
1316
  suggestionSecondary: Ut,
1315
1317
  suggestionsHint: Gt,
1316
- timePopover: Kt,
1317
- timePickerRow: Wt,
1318
+ timePopover: Wt,
1319
+ timePickerRow: Kt,
1318
1320
  timePickerSelect: Ht,
1319
1321
  timePickerColon: Yt,
1320
1322
  meridiemToggle: qt,
1321
1323
  meridiemBtn: Vt,
1322
- meridiemActive: Jt,
1323
- timePopoverActions: zt,
1324
+ meridiemActive: zt,
1325
+ timePopoverActions: Jt,
1324
1326
  timePopoverBtn: Qt,
1325
1327
  timePopoverOk: Xt,
1326
1328
  input: Zt,
@@ -1331,148 +1333,61 @@ const it = "_header_19172_1", lt = "_centered_19172_8", sr = {
1331
1333
  checkboxRow: na,
1332
1334
  checkbox: oa,
1333
1335
  checkboxText: ia
1334
- };
1335
- let Be = null;
1336
- const la = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Be || (Be = new Promise((d, u) => {
1337
- const y = document.querySelector(
1338
- 'script[data-google-maps-places="true"]'
1339
- );
1340
- if (y) {
1341
- y.addEventListener("load", () => d()), y.addEventListener(
1342
- "error",
1343
- () => u(new Error("Failed to load Google Maps API"))
1344
- );
1345
- return;
1346
- }
1347
- const x = document.createElement("script"), h = new URL("https://maps.googleapis.com/maps/api/js");
1348
- h.searchParams.set("key", t), h.searchParams.set("libraries", "places"), h.searchParams.set("loading", "async"), o && h.searchParams.set("language", o), x.src = h.toString(), x.async = !0, x.defer = !0, x.setAttribute("data-google-maps-places", "true"), x.onload = () => {
1349
- const N = Date.now(), w = () => {
1350
- if (window.google?.maps?.places) {
1351
- d();
1352
- return;
1353
- }
1354
- if (Date.now() - N > 2e3) {
1355
- u(
1356
- new Error(
1357
- "Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
1358
- )
1359
- );
1360
- return;
1361
- }
1362
- window.setTimeout(w, 50);
1363
- };
1364
- w();
1365
- }, x.onerror = () => u(new Error("Failed to load Google Maps API")), document.head.appendChild(x);
1366
- }), Be), sa = (t) => {
1367
- const { apiKey: o, language: d = "en", restrictCountry: u, deferLoad: y = !1 } = t, [x, h] = V(!1), [N, w] = V([]), [F, c] = V(!1), [S, p] = V(null), [D, k] = V(!y), E = q(null), A = q(null), T = q(null), g = be(() => {
1368
- y && k(!0);
1369
- }, [y]);
1370
- X(() => {
1371
- if (!o || !D) {
1372
- h(!1), p(null);
1373
- return;
1374
- }
1375
- la(o, d).then(() => {
1376
- E.current = new google.maps.places.AutocompleteService();
1377
- const O = document.createElement("div");
1378
- A.current = new google.maps.places.PlacesService(O), T.current = new google.maps.places.AutocompleteSessionToken(), h(!0), p(null);
1379
- }).catch((O) => {
1380
- h(!1), p(O?.message || "Failed to load location service");
1381
- });
1382
- }, [o, d, D]);
1383
- const G = be(
1384
- async (O) => {
1385
- if (!O || O.length < 2 || !E.current) {
1386
- w([]);
1336
+ }, cr = (t) => typeof t == "number" && Number.isFinite(t), la = (t) => {
1337
+ const o = typeof t?.limit == "number" && t.limit > 0 ? Math.min(t.limit, 20) : 8, d = typeof t?.offset == "number" && t.offset >= 0 ? t.offset : 0;
1338
+ return {
1339
+ limit: o,
1340
+ offset: d,
1341
+ restrictCountry: t?.restrictCountry
1342
+ };
1343
+ }, sa = (t) => {
1344
+ const { searchLocalities: o, restrictCountry: d } = t, [m, x] = W([]), [R, w] = W(!1), [j, A] = W(null), I = K(0);
1345
+ H(() => {
1346
+ A(null);
1347
+ }, [o]);
1348
+ const c = Te(
1349
+ async (p) => {
1350
+ if (!p || p.length < 2 || !o) {
1351
+ x([]);
1387
1352
  return;
1388
1353
  }
1389
- c(!0);
1354
+ const S = ++I.current;
1355
+ w(!0), A(null);
1390
1356
  try {
1391
- const $ = {
1392
- input: O,
1393
- types: ["(cities)"],
1394
- sessionToken: T.current ?? void 0
1395
- };
1396
- u && ($.componentRestrictions = { country: u });
1397
- const Z = await new Promise((R, B) => {
1398
- E.current.getPlacePredictions(
1399
- $,
1400
- (z, U) => {
1401
- U === google.maps.places.PlacesServiceStatus.OK && z ? R(z) : U === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? R([]) : B(new Error(`Places API error: ${U}`));
1402
- }
1403
- );
1404
- });
1405
- w(
1406
- Z.map((R) => ({
1407
- place_id: R.place_id,
1408
- description: R.description,
1409
- structured_formatting: {
1410
- main_text: R.structured_formatting?.main_text || R.description,
1411
- secondary_text: R.structured_formatting?.secondary_text || ""
1412
- }
1413
- }))
1414
- );
1415
- } catch {
1416
- w([]);
1357
+ const h = la({ restrictCountry: d }), E = await o(p, h);
1358
+ if (S !== I.current) return;
1359
+ const C = (E || []).filter(
1360
+ (b) => !!b?.id && !!b?.description && cr(b?.lat) && cr(b?.lng)
1361
+ ).map((b) => ({
1362
+ id: b.id,
1363
+ description: b.description,
1364
+ secondary_text: b.secondaryText,
1365
+ lat: b.lat,
1366
+ lng: b.lng
1367
+ }));
1368
+ x(C);
1369
+ } catch (h) {
1370
+ if (S !== I.current) return;
1371
+ x([]), A(h?.message || "Failed to fetch locations");
1417
1372
  } finally {
1418
- c(!1);
1419
- }
1420
- },
1421
- [u]
1422
- ), _ = be(
1423
- async (O) => {
1424
- if (!A.current) return null;
1425
- try {
1426
- const $ = await new Promise(
1427
- (C, L) => {
1428
- A.current.getDetails(
1429
- {
1430
- placeId: O,
1431
- fields: ["geometry", "address_components", "formatted_address"],
1432
- sessionToken: T.current ?? void 0
1433
- },
1434
- (H, J) => {
1435
- J === google.maps.places.PlacesServiceStatus.OK && H ? C(H) : L(new Error(`Place details error: ${J}`));
1436
- }
1437
- );
1438
- }
1439
- );
1440
- T.current = new google.maps.places.AutocompleteSessionToken();
1441
- const Z = $.geometry?.location?.lat() || 0, R = $.geometry?.location?.lng() || 0;
1442
- let B = "", z = "", U = "";
1443
- return $.address_components?.forEach((C) => {
1444
- C.types.includes("locality") && (B = C.long_name), C.types.includes("administrative_area_level_1") && (z = C.long_name), C.types.includes("country") && (U = C.long_name);
1445
- }), {
1446
- display_name: $.formatted_address || "",
1447
- lat: Z,
1448
- lng: R,
1449
- city: B,
1450
- state: z,
1451
- country: U
1452
- };
1453
- } catch {
1454
- return null;
1373
+ S === I.current && w(!1);
1455
1374
  }
1456
1375
  },
1457
- []
1458
- ), M = be(() => w([]), []);
1376
+ [d, o]
1377
+ ), N = Te(() => x([]), []);
1459
1378
  return {
1460
- isLoaded: x,
1461
- predictions: N,
1462
- isSearching: F,
1463
- loadError: S,
1464
- searchPlaces: G,
1465
- getPlaceDetails: _,
1466
- clearPredictions: M,
1467
- triggerLoad: g
1468
- // Call this to start loading Google Maps when deferred
1379
+ predictions: m,
1380
+ isSearching: R,
1381
+ loadError: j,
1382
+ searchPlaces: c,
1383
+ clearPredictions: N
1469
1384
  };
1470
- }, je = {
1385
+ }, Ne = {
1471
1386
  time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
1472
1387
  location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
1473
1388
  date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
1474
1389
  info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
1475
- }, pr = [
1390
+ }, hr = [
1476
1391
  { code: "+1", country: "USA / Canada" },
1477
1392
  { code: "+7", country: "Russia / Kazakhstan" },
1478
1393
  { code: "+20", country: "Egypt" },
@@ -1543,21 +1458,19 @@ const la = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1543
1458
  { code: "+976", country: "Mongolia" },
1544
1459
  { code: "+977", country: "Nepal" }
1545
1460
  ];
1546
- pr.map((t) => t.code);
1547
- const ca = {}, da = ({
1461
+ hr.map((t) => t.code);
1462
+ const ca = ({
1548
1463
  t,
1549
1464
  values: o,
1550
1465
  onChange: d,
1551
- phoneIsdCode: u,
1552
- onPhoneIsdCodeChange: y,
1553
- showV1ExtraFields: x = !1,
1554
- analytics: h,
1555
- googleMapsApiKey: N,
1556
- className: w = ""
1466
+ phoneIsdCode: m,
1467
+ onPhoneIsdCodeChange: x,
1468
+ showV1ExtraFields: R = !1,
1469
+ analytics: w,
1470
+ atlasSearchLocalities: j,
1471
+ className: A = ""
1557
1472
  }) => {
1558
- const F = Ne(), c = F?.config?.analytics ?? h, S = F?.config.isGlobal ?? !0;
1559
- F?.config?.variant;
1560
- const p = F?.config?.googleMapsApiKey, [D, k] = V(!1), [E, A] = V(""), T = q(null), g = q(null), G = q({}), _ = (n) => d({ ...o, ...n }), M = (n, s) => {
1473
+ const I = Re(), c = I?.config?.analytics ?? w, N = I?.config.isGlobal ?? !0, p = I?.config?.atlasSearchLocalities, [S, h] = W(!1), [E, C] = W(""), b = K(null), _ = K(null), G = K({}), y = (n) => d({ ...o, ...n }), O = (n, s) => {
1561
1474
  s.trim() && !G.current[n] && (G.current[n] = !0, {
1562
1475
  fullName: () => c?.trackNameSectionFilled?.(),
1563
1476
  phone: () => c?.trackPhoneSectionFilled?.(),
@@ -1566,86 +1479,89 @@ const ca = {}, da = ({
1566
1479
  birthTime: () => c?.trackTimeFilled?.(),
1567
1480
  birthPlace: () => c?.trackPlaceOfBirthChosen?.()
1568
1481
  }[n]?.());
1569
- }, O = (n) => n.replace(/\D/g, "").slice(0, 10), $ = E.trim().toLowerCase(), Z = pr.filter((n) => $ ? n.country.toLowerCase().includes($) || n.code.includes($) : !0), R = q(null);
1570
- q(null);
1571
- const B = q(null), z = q(0), U = q(null), [C, L] = V(!1), [H, J] = V({ hour12: 12, minute: "00", meridiem: "AM" }), ne = (n) => String(n).padStart(2, "0"), ge = (n) => {
1482
+ }, X = (n) => n.replace(/\D/g, "").slice(0, 10), Z = E.trim().toLowerCase(), ie = hr.filter((n) => Z ? n.country.toLowerCase().includes(Z) || n.code.includes(Z) : !0), Y = K(null);
1483
+ K(null);
1484
+ const F = K(null), ue = K(0), z = K(null), [L, B] = W(!1), [q, J] = W({ hour12: 12, minute: "00", meridiem: "AM" }), te = (n) => String(n).padStart(2, "0"), ge = (n) => {
1572
1485
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
1573
1486
  if (!s) return n;
1574
- const K = Number(s[1]), te = s[2], Te = K >= 12 ? "PM" : "AM";
1575
- return `${K % 12 === 0 ? 12 : K % 12}:${te} ${Te}`;
1576
- }, Q = (n) => {
1487
+ const $ = Number(s[1]), pe = s[2], ve = $ >= 12 ? "PM" : "AM";
1488
+ return `${$ % 12 === 0 ? 12 : $ % 12}:${pe} ${ve}`;
1489
+ }, V = (n) => {
1577
1490
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
1578
1491
  if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
1579
- const K = Number(s[1]), te = s[2], Te = K >= 12 ? "PM" : "AM";
1580
- return { hour12: K % 12 === 0 ? 12 : K % 12, minute: te, meridiem: Te };
1581
- }, ie = (n) => {
1582
- const s = Math.min(12, Math.max(1, n.hour12)), K = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
1583
- let te = s % 12;
1584
- return n.meridiem === "PM" && (te += 12), `${ne(te)}:${K}`;
1585
- }, ue = q(null), [le, se] = V(!1), [fe, oe] = V(
1492
+ const $ = Number(s[1]), pe = s[2], ve = $ >= 12 ? "PM" : "AM";
1493
+ return { hour12: $ % 12 === 0 ? 12 : $ % 12, minute: pe, meridiem: ve };
1494
+ }, le = (n) => {
1495
+ const s = Math.min(12, Math.max(1, n.hour12)), $ = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
1496
+ let pe = s % 12;
1497
+ return n.meridiem === "PM" && (pe += 12), `${te(pe)}:${$}`;
1498
+ }, me = K(null), [se, ae] = W(!1), [_e, ee] = W(o.birthPlace), [ne, oe] = W(
1586
1499
  null
1587
- ), pe = N ?? p ?? ca?.VITE_GOOGLE_MAPS_API_KEY, me = (o.birthPlace ?? "").trim(), ee = S ? void 0 : "in", ye = "en", {
1588
- predictions: ce,
1589
- isSearching: we,
1590
- loadError: _e,
1591
- searchPlaces: Pe,
1592
- clearPredictions: ke
1500
+ ), M = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = _e.trim(), fe = N ? void 0 : "in", ke = j ?? p;
1501
+ H(() => {
1502
+ M && o.birthPlace !== _e && ee(o.birthPlace), !o.birthPlace && _e && !M && ee("");
1503
+ }, [_e, M, o.birthPlace]);
1504
+ const {
1505
+ predictions: ye,
1506
+ isSearching: Pe,
1507
+ loadError: Ae,
1508
+ searchPlaces: v,
1509
+ clearPredictions: ce
1593
1510
  } = sa({
1594
- apiKey: pe,
1595
- language: ye,
1596
- restrictCountry: ee
1511
+ searchLocalities: ke,
1512
+ restrictCountry: fe
1597
1513
  });
1598
- X(() => {
1514
+ H(() => {
1599
1515
  const n = (s) => {
1600
- ue.current && (ue.current.contains(s.target) || se(!1));
1516
+ me.current && (me.current.contains(s.target) || (ae(!1), M || ee("")));
1601
1517
  };
1602
1518
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1603
- }, []), X(() => {
1519
+ }, [M]), H(() => {
1604
1520
  const n = (s) => {
1605
- T.current && (T.current.contains(s.target) || (k(!1), A("")));
1521
+ b.current && (b.current.contains(s.target) || (h(!1), C("")));
1606
1522
  };
1607
1523
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1608
- }, []), X(() => {
1609
- if (!D) return;
1524
+ }, []), H(() => {
1525
+ if (!S) return;
1610
1526
  const n = window.setTimeout(() => {
1611
- g.current?.focus();
1527
+ _.current?.focus();
1612
1528
  }, 0);
1613
1529
  return () => window.clearTimeout(n);
1614
- }, [D]), X(() => {
1615
- if (!le) return;
1616
- if (me.length < 2) {
1617
- ke();
1530
+ }, [S]), H(() => {
1531
+ if (!se) return;
1532
+ if (be.length < 2) {
1533
+ ce();
1618
1534
  return;
1619
1535
  }
1620
1536
  const n = window.setTimeout(async () => {
1621
- await Pe(me);
1537
+ await v(be);
1622
1538
  }, 250);
1623
1539
  return () => window.clearTimeout(n);
1624
- }, [ke, le, me, Pe]);
1625
- const P = (n) => {
1540
+ }, [ce, se, be, v]);
1541
+ const Se = (n) => {
1626
1542
  const s = n.current;
1627
1543
  if (!(!s || s.disabled)) {
1628
- if (document.activeElement === s && B.current === s && Date.now() - z.current < 6e4) {
1544
+ if (document.activeElement === s && F.current === s && Date.now() - ue.current < 6e4) {
1629
1545
  s.blur();
1630
1546
  return;
1631
1547
  }
1632
1548
  if (typeof s.showPicker == "function") {
1633
- s.showPicker(), B.current = s, z.current = Date.now();
1549
+ s.showPicker(), F.current = s, ue.current = Date.now();
1634
1550
  return;
1635
1551
  }
1636
- s.focus(), B.current = s, z.current = Date.now();
1552
+ s.focus(), F.current = s, ue.current = Date.now();
1637
1553
  }
1638
1554
  };
1639
- return X(() => {
1555
+ return H(() => {
1640
1556
  const n = (s) => {
1641
- U.current && (U.current.contains(s.target) || L(!1));
1557
+ z.current && (z.current.contains(s.target) || B(!1));
1642
1558
  };
1643
1559
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1644
- }, []), X(() => {
1645
- const n = (K) => {
1646
- K.target?.closest?.("[data-info-tooltip]") == null && oe(null);
1647
- }, s = (K) => {
1648
- K.key === "Escape" && oe(null);
1560
+ }, []), H(() => {
1561
+ const n = ($) => {
1562
+ $.target?.closest?.("[data-info-tooltip]") == null && oe(null);
1563
+ }, s = ($) => {
1564
+ $.key === "Escape" && oe(null);
1649
1565
  };
1650
1566
  return document.addEventListener("mousedown", n), document.addEventListener("keydown", s), () => {
1651
1567
  document.removeEventListener("mousedown", n), document.removeEventListener("keydown", s);
@@ -1653,7 +1569,7 @@ const ca = {}, da = ({
1653
1569
  }, []), /* @__PURE__ */ r.jsx(
1654
1570
  "section",
1655
1571
  {
1656
- className: `${a.wrap} ${w}`,
1572
+ className: `${a.wrap} ${A}`,
1657
1573
  "aria-label": t("formTitle"),
1658
1574
  children: /* @__PURE__ */ r.jsx("div", { className: a.card, children: /* @__PURE__ */ r.jsxs("div", { className: a.cardInner, children: [
1659
1575
  /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
@@ -1671,7 +1587,7 @@ const ca = {}, da = ({
1671
1587
  onFocus: () => c?.trackNameSectionClicked?.(),
1672
1588
  onChange: (n) => {
1673
1589
  const s = n.target.value;
1674
- _({ fullName: s }), M("fullName", s);
1590
+ y({ fullName: s }), O("fullName", s);
1675
1591
  },
1676
1592
  placeholder: t("formFullNamePlaceholder"),
1677
1593
  autoComplete: "name"
@@ -1681,9 +1597,9 @@ const ca = {}, da = ({
1681
1597
  /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1682
1598
  /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-phone", children: [
1683
1599
  t("formPhone"),
1684
- !S && /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1600
+ !N && /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1685
1601
  ] }) }),
1686
- /* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: T, children: [
1602
+ /* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: b, children: [
1687
1603
  /* @__PURE__ */ r.jsxs("div", { className: a.phoneInputGroup, children: [
1688
1604
  /* @__PURE__ */ r.jsx("div", { className: a.isdSelectWrap, children: /* @__PURE__ */ r.jsx(
1689
1605
  "button",
@@ -1691,11 +1607,11 @@ const ca = {}, da = ({
1691
1607
  type: "button",
1692
1608
  className: a.isdSelectTrigger,
1693
1609
  "aria-haspopup": "listbox",
1694
- "aria-expanded": D,
1610
+ "aria-expanded": S,
1695
1611
  onClick: () => {
1696
- k((n) => !n), A("");
1612
+ h((n) => !n), C("");
1697
1613
  },
1698
- children: u
1614
+ children: m
1699
1615
  }
1700
1616
  ) }),
1701
1617
  /* @__PURE__ */ r.jsx(
@@ -1708,19 +1624,19 @@ const ca = {}, da = ({
1708
1624
  onFocus: () => c?.trackPhoneSectionClicked?.(),
1709
1625
  onChange: (n) => {
1710
1626
  const s = n.target.value;
1711
- _({ phone: O(s) }), M("phone", O(s));
1627
+ y({ phone: X(s) }), O("phone", X(s));
1712
1628
  },
1713
1629
  placeholder: t("formPhonePlaceholder"),
1714
1630
  autoComplete: "tel",
1715
1631
  inputMode: "numeric",
1716
1632
  pattern: "[0-9]{10}",
1717
1633
  maxLength: 10,
1718
- required: !S,
1719
- "aria-required": !S
1634
+ required: !N,
1635
+ "aria-required": !N
1720
1636
  }
1721
1637
  )
1722
1638
  ] }),
1723
- D && /* @__PURE__ */ r.jsxs(
1639
+ S && /* @__PURE__ */ r.jsxs(
1724
1640
  "div",
1725
1641
  {
1726
1642
  className: a.isdDropdown,
@@ -1730,24 +1646,24 @@ const ca = {}, da = ({
1730
1646
  /* @__PURE__ */ r.jsx("div", { className: a.isdSearchWrap, children: /* @__PURE__ */ r.jsx(
1731
1647
  "input",
1732
1648
  {
1733
- ref: g,
1649
+ ref: _,
1734
1650
  type: "text",
1735
1651
  value: E,
1736
- onChange: (n) => A(n.target.value),
1652
+ onChange: (n) => C(n.target.value),
1737
1653
  placeholder: "Search country",
1738
1654
  className: a.isdSearchInput,
1739
1655
  "aria-label": "Search country"
1740
1656
  }
1741
1657
  ) }),
1742
- Z.length > 0 ? Z.map((n) => /* @__PURE__ */ r.jsxs(
1658
+ ie.length > 0 ? ie.map((n) => /* @__PURE__ */ r.jsxs(
1743
1659
  "button",
1744
1660
  {
1745
1661
  type: "button",
1746
1662
  role: "option",
1747
- "aria-selected": n.code === u,
1748
- className: `${a.isdOption} ${n.code === u ? a.isdOptionActive : ""}`,
1663
+ "aria-selected": n.code === m,
1664
+ className: `${a.isdOption} ${n.code === m ? a.isdOptionActive : ""}`,
1749
1665
  onClick: () => {
1750
- y(n.code), k(!1), A("");
1666
+ x(n.code), h(!1), C("");
1751
1667
  },
1752
1668
  children: [
1753
1669
  /* @__PURE__ */ r.jsx("span", { className: a.isdCountryName, children: n.country }),
@@ -1761,7 +1677,7 @@ const ca = {}, da = ({
1761
1677
  )
1762
1678
  ] }) })
1763
1679
  ] }),
1764
- x && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1680
+ R && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1765
1681
  /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
1766
1682
  t("formGender"),
1767
1683
  /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
@@ -1780,7 +1696,7 @@ const ca = {}, da = ({
1780
1696
  type: "button",
1781
1697
  className: `${a.choiceBtn} ${o.gender === "male" ? a.choiceBtnActive : ""}`,
1782
1698
  onClick: () => {
1783
- _({ gender: "male" }), c?.trackGenderSelected?.({
1699
+ y({ gender: "male" }), c?.trackGenderSelected?.({
1784
1700
  gender: "male"
1785
1701
  });
1786
1702
  },
@@ -1796,7 +1712,7 @@ const ca = {}, da = ({
1796
1712
  type: "button",
1797
1713
  className: `${a.choiceBtn} ${o.gender === "female" ? a.choiceBtnActive : ""}`,
1798
1714
  onClick: () => {
1799
- _({ gender: "female" }), c?.trackGenderSelected?.({
1715
+ y({ gender: "female" }), c?.trackGenderSelected?.({
1800
1716
  gender: "female"
1801
1717
  });
1802
1718
  },
@@ -1809,7 +1725,7 @@ const ca = {}, da = ({
1809
1725
  }
1810
1726
  )
1811
1727
  ] }),
1812
- S && /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1728
+ N && /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1813
1729
  /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-email", children: [
1814
1730
  t("formEmail"),
1815
1731
  /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
@@ -1822,7 +1738,7 @@ const ca = {}, da = ({
1822
1738
  className: a.input,
1823
1739
  type: "email",
1824
1740
  value: o.email,
1825
- onChange: (n) => _({ email: n.target.value }),
1741
+ onChange: (n) => y({ email: n.target.value }),
1826
1742
  placeholder: t("formEmailPlaceholder"),
1827
1743
  autoComplete: "email",
1828
1744
  required: !0,
@@ -1843,7 +1759,7 @@ const ca = {}, da = ({
1843
1759
  type: "button",
1844
1760
  className: a.infoBtn,
1845
1761
  "aria-label": t("info"),
1846
- "aria-expanded": fe === "dob",
1762
+ "aria-expanded": ne === "dob",
1847
1763
  onClick: () => {
1848
1764
  oe((n) => n === "dob" ? null : "dob"), c?.trackInfoIconClicked?.({ fieldName: "dob" });
1849
1765
  },
@@ -1851,14 +1767,14 @@ const ca = {}, da = ({
1851
1767
  "img",
1852
1768
  {
1853
1769
  className: a.infoImg,
1854
- src: je.info,
1770
+ src: Ne.info,
1855
1771
  alt: "",
1856
1772
  "aria-hidden": !0
1857
1773
  }
1858
1774
  )
1859
1775
  }
1860
1776
  ),
1861
- fe === "dob" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
1777
+ ne === "dob" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
1862
1778
  t("formDobInfo"),
1863
1779
  /* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
1864
1780
  ] })
@@ -1871,20 +1787,20 @@ const ca = {}, da = ({
1871
1787
  id: "kundli-dob",
1872
1788
  className: a.input,
1873
1789
  type: "date",
1874
- ref: R,
1790
+ ref: Y,
1875
1791
  value: o.dateOfBirth,
1876
1792
  max: (() => {
1877
1793
  const n = /* @__PURE__ */ new Date();
1878
- return `${n.getFullYear()}-${ne(n.getMonth() + 1)}-${ne(n.getDate())}`;
1794
+ return `${n.getFullYear()}-${te(n.getMonth() + 1)}-${te(n.getDate())}`;
1879
1795
  })(),
1880
1796
  onChange: (n) => {
1881
- const s = n.target.value, K = /* @__PURE__ */ new Date(), te = `${K.getFullYear()}-${ne(K.getMonth() + 1)}-${ne(K.getDate())}`;
1882
- s && s > te || (_({ dateOfBirth: s }), M("dateOfBirth", s), B.current = null);
1797
+ const s = n.target.value, $ = /* @__PURE__ */ new Date(), pe = `${$.getFullYear()}-${te($.getMonth() + 1)}-${te($.getDate())}`;
1798
+ s && s > pe || (y({ dateOfBirth: s }), O("dateOfBirth", s), F.current = null);
1883
1799
  },
1884
1800
  onFocus: () => c?.trackDobClicked?.(),
1885
- onClick: () => P(R),
1801
+ onClick: () => Se(Y),
1886
1802
  onBlur: () => {
1887
- B.current === R.current && (B.current = null);
1803
+ F.current === Y.current && (F.current = null);
1888
1804
  }
1889
1805
  }
1890
1806
  ),
@@ -1896,13 +1812,13 @@ const ca = {}, da = ({
1896
1812
  "aria-label": "Open date picker",
1897
1813
  onMouseDown: (n) => n.preventDefault(),
1898
1814
  onClick: (n) => {
1899
- n.preventDefault(), n.stopPropagation(), P(R);
1815
+ n.preventDefault(), n.stopPropagation(), Se(Y);
1900
1816
  },
1901
1817
  children: /* @__PURE__ */ r.jsx(
1902
1818
  "img",
1903
1819
  {
1904
1820
  className: a.iconImg,
1905
- src: je.date,
1821
+ src: Ne.date,
1906
1822
  alt: "",
1907
1823
  "aria-hidden": !0
1908
1824
  }
@@ -1924,7 +1840,7 @@ const ca = {}, da = ({
1924
1840
  type: "button",
1925
1841
  className: a.infoBtn,
1926
1842
  "aria-label": t("info"),
1927
- "aria-expanded": fe === "time",
1843
+ "aria-expanded": ne === "time",
1928
1844
  onClick: () => {
1929
1845
  c?.trackInfoIconClicked?.({ fieldName: "time" }), oe((n) => n === "time" ? null : "time");
1930
1846
  },
@@ -1932,20 +1848,20 @@ const ca = {}, da = ({
1932
1848
  "img",
1933
1849
  {
1934
1850
  className: a.infoImg,
1935
- src: je.info,
1851
+ src: Ne.info,
1936
1852
  alt: "",
1937
1853
  "aria-hidden": !0
1938
1854
  }
1939
1855
  )
1940
1856
  }
1941
1857
  ),
1942
- fe === "time" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
1858
+ ne === "time" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
1943
1859
  t("formBirthTimeInfo"),
1944
1860
  /* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
1945
1861
  ] })
1946
1862
  ] })
1947
1863
  ] }),
1948
- /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: U, children: [
1864
+ /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: z, children: [
1949
1865
  /* @__PURE__ */ r.jsx(
1950
1866
  "input",
1951
1867
  {
@@ -1957,12 +1873,12 @@ const ca = {}, da = ({
1957
1873
  onFocus: () => c?.trackTimeClicked?.(),
1958
1874
  onChange: (n) => {
1959
1875
  const s = n.target.value;
1960
- _({ birthTime: s }), M("birthTime", s);
1876
+ y({ birthTime: s }), O("birthTime", s);
1961
1877
  },
1962
1878
  disabled: o.birthTimeUnknown,
1963
1879
  placeholder: "HH:MM AM",
1964
1880
  onClick: () => {
1965
- o.birthTimeUnknown || (J(Q(o.birthTime || "12:00")), L((n) => !n));
1881
+ o.birthTimeUnknown || (J(V(o.birthTime || "12:00")), B((n) => !n));
1966
1882
  }
1967
1883
  }
1968
1884
  ),
@@ -1975,20 +1891,20 @@ const ca = {}, da = ({
1975
1891
  disabled: o.birthTimeUnknown,
1976
1892
  onMouseDown: (n) => n.preventDefault(),
1977
1893
  onClick: (n) => {
1978
- n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (J(Q(o.birthTime || "12:00")), L((s) => !s));
1894
+ n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (J(V(o.birthTime || "12:00")), B((s) => !s));
1979
1895
  },
1980
1896
  children: /* @__PURE__ */ r.jsx(
1981
1897
  "img",
1982
1898
  {
1983
1899
  className: a.iconImg,
1984
- src: je.time,
1900
+ src: Ne.time,
1985
1901
  alt: "",
1986
1902
  "aria-hidden": !0
1987
1903
  }
1988
1904
  )
1989
1905
  }
1990
1906
  ),
1991
- C && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
1907
+ L && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
1992
1908
  "div",
1993
1909
  {
1994
1910
  className: a.timePopover,
@@ -2000,7 +1916,7 @@ const ca = {}, da = ({
2000
1916
  "select",
2001
1917
  {
2002
1918
  className: a.timePickerSelect,
2003
- value: H.hour12,
1919
+ value: q.hour12,
2004
1920
  onChange: (n) => J((s) => ({
2005
1921
  ...s,
2006
1922
  hour12: Number(n.target.value)
@@ -2014,10 +1930,10 @@ const ca = {}, da = ({
2014
1930
  "select",
2015
1931
  {
2016
1932
  className: a.timePickerSelect,
2017
- value: H.minute,
1933
+ value: q.minute,
2018
1934
  onChange: (n) => J((s) => ({ ...s, minute: n.target.value })),
2019
1935
  "aria-label": "Minute",
2020
- children: Array.from({ length: 60 }, (n, s) => ne(s)).map(
1936
+ children: Array.from({ length: 60 }, (n, s) => te(s)).map(
2021
1937
  (n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n)
2022
1938
  )
2023
1939
  }
@@ -2027,7 +1943,7 @@ const ca = {}, da = ({
2027
1943
  "button",
2028
1944
  {
2029
1945
  type: "button",
2030
- className: `${a.meridiemBtn} ${H.meridiem === "AM" ? a.meridiemActive : ""}`,
1946
+ className: `${a.meridiemBtn} ${q.meridiem === "AM" ? a.meridiemActive : ""}`,
2031
1947
  onClick: () => J((n) => ({ ...n, meridiem: "AM" })),
2032
1948
  children: "AM"
2033
1949
  }
@@ -2036,7 +1952,7 @@ const ca = {}, da = ({
2036
1952
  "button",
2037
1953
  {
2038
1954
  type: "button",
2039
- className: `${a.meridiemBtn} ${H.meridiem === "PM" ? a.meridiemActive : ""}`,
1955
+ className: `${a.meridiemBtn} ${q.meridiem === "PM" ? a.meridiemActive : ""}`,
2040
1956
  onClick: () => J((n) => ({ ...n, meridiem: "PM" })),
2041
1957
  children: "PM"
2042
1958
  }
@@ -2049,7 +1965,7 @@ const ca = {}, da = ({
2049
1965
  {
2050
1966
  type: "button",
2051
1967
  className: a.timePopoverBtn,
2052
- onClick: () => L(!1),
1968
+ onClick: () => B(!1),
2053
1969
  children: "Cancel"
2054
1970
  }
2055
1971
  ),
@@ -2059,8 +1975,8 @@ const ca = {}, da = ({
2059
1975
  type: "button",
2060
1976
  className: `${a.timePopoverBtn} ${a.timePopoverOk}`,
2061
1977
  onClick: () => {
2062
- const n = ie(H);
2063
- _({ birthTime: n }), M("birthTime", n), L(!1);
1978
+ const n = le(q);
1979
+ y({ birthTime: n }), O("birthTime", n), B(!1);
2064
1980
  },
2065
1981
  "aria-label": "OK",
2066
1982
  children: /* @__PURE__ */ r.jsx(
@@ -2100,7 +2016,7 @@ const ca = {}, da = ({
2100
2016
  type: "checkbox",
2101
2017
  checked: o.birthTimeUnknown,
2102
2018
  onChange: (n) => {
2103
- c?.trackTimeCheckboxClicked?.(), _({
2019
+ c?.trackTimeCheckboxClicked?.(), y({
2104
2020
  birthTimeUnknown: n.target.checked,
2105
2021
  birthTime: n.target.checked ? "" : o.birthTime
2106
2022
  });
@@ -2134,7 +2050,7 @@ const ca = {}, da = ({
2134
2050
  type: "button",
2135
2051
  className: a.infoBtn,
2136
2052
  "aria-label": t("info"),
2137
- "aria-expanded": fe === "place",
2053
+ "aria-expanded": ne === "place",
2138
2054
  onClick: () => {
2139
2055
  c?.trackInfoIconClicked?.({
2140
2056
  fieldName: "birthPlace"
@@ -2144,33 +2060,40 @@ const ca = {}, da = ({
2144
2060
  "img",
2145
2061
  {
2146
2062
  className: a.infoImg,
2147
- src: je.info,
2063
+ src: Ne.info,
2148
2064
  alt: "",
2149
2065
  "aria-hidden": !0
2150
2066
  }
2151
2067
  )
2152
2068
  }
2153
2069
  ),
2154
- fe === "place" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
2070
+ ne === "place" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
2155
2071
  t("formBirthPlaceInfo"),
2156
2072
  /* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
2157
2073
  ] })
2158
2074
  ] })
2159
2075
  ] }),
2160
- /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: ue, children: [
2076
+ /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: me, children: [
2161
2077
  /* @__PURE__ */ r.jsx(
2162
2078
  "input",
2163
2079
  {
2164
2080
  id: "kundli-birth-place",
2165
2081
  className: a.input,
2166
2082
  type: "text",
2167
- value: o.birthPlace,
2083
+ value: _e,
2168
2084
  onChange: (n) => {
2169
2085
  const s = n.target.value;
2170
- _({ birthPlace: s }), M("birthPlace", s), se(!0);
2086
+ ee(s), y({
2087
+ birthPlace: "",
2088
+ birthPlaceLat: void 0,
2089
+ birthPlaceLng: void 0
2090
+ }), ae(!0);
2171
2091
  },
2172
2092
  onFocus: () => {
2173
- c?.trackPlaceOfBirthClicked?.(), se(!0);
2093
+ c?.trackPlaceOfBirthClicked?.(), ae(!0);
2094
+ },
2095
+ onBlur: () => {
2096
+ M || (ee(""), ce(), ae(!1));
2174
2097
  },
2175
2098
  placeholder: t("formBirthPlacePlaceholder"),
2176
2099
  autoComplete: "address-level2"
@@ -2180,31 +2103,36 @@ const ca = {}, da = ({
2180
2103
  "img",
2181
2104
  {
2182
2105
  className: a.iconImg,
2183
- src: je.location,
2106
+ src: Ne.location,
2184
2107
  alt: "",
2185
2108
  "aria-hidden": !0
2186
2109
  }
2187
2110
  ) }),
2188
- le && ce.length > 0 && /* @__PURE__ */ r.jsx("div", { className: a.suggestions, role: "listbox", children: ce.slice(0, 8).map((n) => /* @__PURE__ */ r.jsxs(
2111
+ se && ye.length > 0 && /* @__PURE__ */ r.jsx("div", { className: a.suggestions, role: "listbox", children: ye.slice(0, 8).map((n) => /* @__PURE__ */ r.jsxs(
2189
2112
  "button",
2190
2113
  {
2191
2114
  type: "button",
2192
2115
  className: a.suggestionItem,
2116
+ onMouseDown: (s) => s.preventDefault(),
2193
2117
  onClick: () => {
2194
- _({ birthPlace: n.description }), ke(), se(!1);
2118
+ y({
2119
+ birthPlace: n.description,
2120
+ birthPlaceLat: n.lat,
2121
+ birthPlaceLng: n.lng
2122
+ }), ee(n.description), O("birthPlace", n.description), ce(), ae(!1);
2195
2123
  },
2196
2124
  children: [
2197
- /* @__PURE__ */ r.jsx("span", { className: a.suggestionMain, children: n.structured_formatting?.main_text ?? n.description }),
2198
- n.structured_formatting?.secondary_text && /* @__PURE__ */ r.jsx("span", { className: a.suggestionSecondary, children: n.structured_formatting.secondary_text })
2125
+ /* @__PURE__ */ r.jsx("span", { className: a.suggestionMain, children: n.description }),
2126
+ !!n.secondary_text && /* @__PURE__ */ r.jsx("span", { className: a.suggestionSecondary, children: n.secondary_text })
2199
2127
  ]
2200
2128
  },
2201
- n.place_id
2129
+ n.id
2202
2130
  )) }),
2203
- le && pe && we && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: "Loading…" }),
2204
- le && pe && !we && !!_e && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: _e })
2131
+ se && !!ke && Pe && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: "Loading…" }),
2132
+ se && !!ke && !Pe && !!Ae && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: Ae })
2205
2133
  ] })
2206
2134
  ] }),
2207
- x && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
2135
+ R && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
2208
2136
  /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
2209
2137
  t("formReportLanguage"),
2210
2138
  /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
@@ -2223,7 +2151,7 @@ const ca = {}, da = ({
2223
2151
  type: "button",
2224
2152
  className: `${a.choiceBtn} ${o.language_code === "hi" ? a.choiceBtnActive : ""}`,
2225
2153
  onClick: () => {
2226
- _({ language_code: "hi" }), c?.trackLanguageOfReportSelected?.({
2154
+ y({ language_code: "hi" }), c?.trackLanguageOfReportSelected?.({
2227
2155
  language: "hi"
2228
2156
  });
2229
2157
  },
@@ -2239,7 +2167,7 @@ const ca = {}, da = ({
2239
2167
  type: "button",
2240
2168
  className: `${a.choiceBtn} ${o.language_code === "en" ? a.choiceBtnActive : ""}`,
2241
2169
  onClick: () => {
2242
- _({ language_code: "en" }), c?.trackLanguageOfReportSelected?.({
2170
+ y({ language_code: "en" }), c?.trackLanguageOfReportSelected?.({
2243
2171
  language: "en"
2244
2172
  });
2245
2173
  },
@@ -2255,7 +2183,7 @@ const ca = {}, da = ({
2255
2183
  type: "button",
2256
2184
  className: `${a.choiceBtn} ${o.language_code === "te" ? a.choiceBtnActive : ""}`,
2257
2185
  onClick: () => {
2258
- _({ language_code: "te" }), c?.trackLanguageOfReportSelected?.({
2186
+ y({ language_code: "te" }), c?.trackLanguageOfReportSelected?.({
2259
2187
  language: "te"
2260
2188
  });
2261
2189
  },
@@ -2271,7 +2199,7 @@ const ca = {}, da = ({
2271
2199
  type: "button",
2272
2200
  className: `${a.choiceBtn} ${o.language_code === "ta" ? a.choiceBtnActive : ""}`,
2273
2201
  onClick: () => {
2274
- _({ language_code: "ta" }), c?.trackLanguageOfReportSelected?.({
2202
+ y({ language_code: "ta" }), c?.trackLanguageOfReportSelected?.({
2275
2203
  language: "ta"
2276
2204
  });
2277
2205
  },
@@ -2287,7 +2215,7 @@ const ca = {}, da = ({
2287
2215
  type: "button",
2288
2216
  className: `${a.choiceBtn} ${o.language_code === "kn" ? a.choiceBtnActive : ""}`,
2289
2217
  onClick: () => {
2290
- _({ language_code: "kn" }), c?.trackLanguageOfReportSelected?.({
2218
+ y({ language_code: "kn" }), c?.trackLanguageOfReportSelected?.({
2291
2219
  language: "kn"
2292
2220
  });
2293
2221
  },
@@ -2303,7 +2231,7 @@ const ca = {}, da = ({
2303
2231
  type: "button",
2304
2232
  className: `${a.choiceBtn} ${o.language_code === "gu" ? a.choiceBtnActive : ""}`,
2305
2233
  onClick: () => {
2306
- _({ language_code: "gu" }), c?.trackLanguageOfReportSelected?.({
2234
+ y({ language_code: "gu" }), c?.trackLanguageOfReportSelected?.({
2307
2235
  language: "gu"
2308
2236
  });
2309
2237
  },
@@ -2319,7 +2247,7 @@ const ca = {}, da = ({
2319
2247
  type: "button",
2320
2248
  className: `${a.choiceBtn} ${o.language_code === "mr" ? a.choiceBtnActive : ""}`,
2321
2249
  onClick: () => {
2322
- _({ language_code: "mr" }), c?.trackLanguageOfReportSelected?.({
2250
+ y({ language_code: "mr" }), c?.trackLanguageOfReportSelected?.({
2323
2251
  language: "mr"
2324
2252
  });
2325
2253
  },
@@ -2335,21 +2263,21 @@ const ca = {}, da = ({
2335
2263
  ] }) })
2336
2264
  }
2337
2265
  );
2338
- }, ua = "_ctaButton_rhimw_2", ma = "_ctaFilled_rhimw_21", fa = "_ctaFilledContent_rhimw_52", pa = "_chevronRight_rhimw_61", Ee = {
2339
- ctaButton: ua,
2340
- ctaFilled: ma,
2341
- ctaFilledContent: fa,
2342
- chevronRight: pa
2343
- }, hr = "kundli-report-astrologer", ha = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", ga = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", _a = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", ba = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", ya = ({ t }) => {
2344
- const d = Ne()?.config.imageComponent ?? Le;
2345
- return /* @__PURE__ */ r.jsxs("div", { className: xe.marqueeContent, children: [
2346
- /* @__PURE__ */ r.jsxs("span", { className: xe.badge, children: [
2266
+ }, da = "_ctaButton_rhimw_2", ua = "_ctaFilled_rhimw_21", ma = "_ctaFilledContent_rhimw_52", fa = "_chevronRight_rhimw_61", Be = {
2267
+ ctaButton: da,
2268
+ ctaFilled: ua,
2269
+ ctaFilledContent: ma,
2270
+ chevronRight: fa
2271
+ }, gr = "kundli-report-astrologer", pa = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", ha = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", ga = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", _a = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", ba = ({ t }) => {
2272
+ const d = Re()?.config.imageComponent ?? De;
2273
+ return /* @__PURE__ */ r.jsxs("div", { className: we.marqueeContent, children: [
2274
+ /* @__PURE__ */ r.jsxs("span", { className: we.badge, children: [
2347
2275
  /* @__PURE__ */ r.jsx(
2348
2276
  d,
2349
2277
  {
2350
- src: ha,
2278
+ src: pa,
2351
2279
  alt: "",
2352
- className: xe.badgeIcon,
2280
+ className: we.badgeIcon,
2353
2281
  width: 16,
2354
2282
  height: 16,
2355
2283
  loading: "lazy"
@@ -2357,13 +2285,13 @@ const ca = {}, da = ({
2357
2285
  ),
2358
2286
  t("ctaKundliCreated")
2359
2287
  ] }),
2360
- /* @__PURE__ */ r.jsxs("span", { className: xe.badge, children: [
2288
+ /* @__PURE__ */ r.jsxs("span", { className: we.badge, children: [
2361
2289
  /* @__PURE__ */ r.jsx(
2362
2290
  d,
2363
2291
  {
2364
- src: ga,
2292
+ src: ha,
2365
2293
  alt: "",
2366
- className: xe.badgeIcon,
2294
+ className: we.badgeIcon,
2367
2295
  width: 16,
2368
2296
  height: 16,
2369
2297
  loading: "lazy"
@@ -2371,13 +2299,13 @@ const ca = {}, da = ({
2371
2299
  ),
2372
2300
  t("ctaCertified")
2373
2301
  ] }),
2374
- /* @__PURE__ */ r.jsxs("span", { className: xe.badge, children: [
2302
+ /* @__PURE__ */ r.jsxs("span", { className: we.badge, children: [
2375
2303
  /* @__PURE__ */ r.jsx(
2376
2304
  d,
2377
2305
  {
2378
- src: _a,
2306
+ src: ga,
2379
2307
  alt: "",
2380
- className: xe.badgeIcon,
2308
+ className: we.badgeIcon,
2381
2309
  width: 16,
2382
2310
  height: 16,
2383
2311
  loading: "lazy"
@@ -2386,11 +2314,11 @@ const ca = {}, da = ({
2386
2314
  t("ctaSecurePayment")
2387
2315
  ] })
2388
2316
  ] });
2389
- }, ka = (t) => /.+@.+\..+/.test(t), va = (t) => /^\d{10}$/.test(t), xa = (t, o, d) => {
2317
+ }, ya = (t) => /.+@.+\..+/.test(t), ka = (t) => /^\d{10}$/.test(t), va = (t, o, d) => {
2390
2318
  if (!t.fullName.trim()) return "fullName";
2391
2319
  if (o) {
2392
- if (!ka(t.email.trim())) return "email";
2393
- } else if (!va((t.phone ?? "").trim())) return "phone";
2320
+ if (!ya(t.email.trim())) return "email";
2321
+ } else if (!ka((t.phone ?? "").trim())) return "phone";
2394
2322
  if (!t.dateOfBirth) return "dateOfBirth";
2395
2323
  if (!t.birthPlace.trim()) return "birthPlace";
2396
2324
  if (d) {
@@ -2398,57 +2326,57 @@ const ca = {}, da = ({
2398
2326
  if (!t.language_code) return "language_code";
2399
2327
  }
2400
2328
  return !t.birthTimeUnknown && !t.birthTime ? "birthTime" : null;
2401
- }, wa = ({
2329
+ }, xa = ({
2402
2330
  t,
2403
2331
  values: o,
2404
2332
  phoneIsdCode: d,
2405
- hideOriginalPrice: u = !1,
2406
- requireV1ExtraFields: y = !1,
2407
- onValidationFailed: x,
2408
- onProceed: h,
2409
- onProceedGuidance: N,
2410
- href: w,
2411
- analytics: F,
2333
+ hideOriginalPrice: m = !1,
2334
+ requireV1ExtraFields: x = !1,
2335
+ onValidationFailed: R,
2336
+ onProceed: w,
2337
+ onProceedGuidance: j,
2338
+ href: A,
2339
+ analytics: I,
2412
2340
  className: c = "",
2413
- discountedPriceLabel: S,
2341
+ discountedPriceLabel: N,
2414
2342
  showPlanSheet: p,
2415
- confirmPlan: D,
2416
- planSheetOpen: k,
2343
+ confirmPlan: S,
2344
+ planSheetOpen: h,
2417
2345
  selectedPlan: E
2418
2346
  }) => {
2419
- const A = Ne(), T = A?.config.isGlobal ?? !0, g = A?.config?.variant, G = Ge(
2420
- () => xa(o, T, y),
2421
- [o, T, y]
2422
- ), _ = G === null, M = g === "v1" && A?.config?.showSheet, O = T ? S ?? t("formDiscountedPrice") : M ? "" : "₹499", $ = A?.config.imageComponent ?? Le, Z = (B) => {
2423
- if (B.preventDefault(), !_) {
2424
- G && x?.(G);
2347
+ const C = Re(), b = C?.config.isGlobal ?? !0, _ = C?.config?.variant, G = Ge(
2348
+ () => va(o, b, x),
2349
+ [o, b, x]
2350
+ ), y = G === null, O = _ === "v1" && C?.config?.showSheet, X = b ? N ?? t("formDiscountedPrice") : O ? "" : "₹499", Z = C?.config.imageComponent ?? De, ie = (F) => {
2351
+ if (F.preventDefault(), !y) {
2352
+ G && R?.(G);
2425
2353
  return;
2426
2354
  }
2427
- const z = !!N && g === "v1" && E?.id === hr, U = (o.phone ?? "").trim(), C = {
2355
+ const ue = !!j && _ === "v1" && E?.id === gr, z = (o.phone ?? "").trim(), L = {
2428
2356
  ...o,
2429
- phone: U && `${d}-${U}`
2357
+ phone: z && `${d}-${z}`
2430
2358
  };
2431
- if (M) {
2432
- k ? D?.() : p?.(C);
2359
+ if (O) {
2360
+ h ? S?.() : p?.(L);
2433
2361
  return;
2434
2362
  }
2435
- F?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), z ? N(C) : h?.(C);
2436
- }, R = /* @__PURE__ */ r.jsx(
2363
+ I?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), ue ? j(L) : w?.(L);
2364
+ }, Y = /* @__PURE__ */ r.jsx(
2437
2365
  Or,
2438
2366
  {
2439
- href: w,
2440
- disabled: g === "v1" ? !1 : !_,
2441
- onClick: Z,
2367
+ href: A,
2368
+ disabled: _ === "v1" ? !1 : !y,
2369
+ onClick: ie,
2442
2370
  "aria-label": t("formPriceAria"),
2443
- className: g === "v1" && _ ? Ee.ctaFilled : g === "v1" ? Ee.ctaButton : void 0,
2444
- children: g === "v1" ? _ ? /* @__PURE__ */ r.jsxs("span", { className: Ee.ctaFilledContent, children: [
2445
- M ? t("selectPackage") : k && E ? `${t("proceedWithPlan")}${E.price}` : `${t("formProceed")} ${O}`,
2371
+ className: _ === "v1" && y ? Be.ctaFilled : _ === "v1" ? Be.ctaButton : void 0,
2372
+ children: _ === "v1" ? y ? /* @__PURE__ */ r.jsxs("span", { className: Be.ctaFilledContent, children: [
2373
+ O ? t("selectPackage") : h && E ? `${t("proceedWithPlan")}${E.price}` : `${t("formProceed")} ${X}`,
2446
2374
  /* @__PURE__ */ r.jsx(
2447
- $,
2375
+ Z,
2448
2376
  {
2449
- src: ba,
2377
+ src: _a,
2450
2378
  alt: "",
2451
- className: Ee.chevronRight,
2379
+ className: Be.chevronRight,
2452
2380
  width: 20,
2453
2381
  height: 20,
2454
2382
  loading: "lazy"
@@ -2457,37 +2385,37 @@ const ca = {}, da = ({
2457
2385
  ] }) : t("formCtaDefault") : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
2458
2386
  t("formProceed"),
2459
2387
  " ",
2460
- O
2388
+ X
2461
2389
  ] })
2462
2390
  }
2463
2391
  );
2464
2392
  return /* @__PURE__ */ r.jsx(
2465
2393
  Fr,
2466
2394
  {
2467
- className: `${Ee.footerContainer} ${c}`,
2468
- marquee: /* @__PURE__ */ r.jsx(Mr, { children: /* @__PURE__ */ r.jsx(ya, { t }) }),
2469
- children: R
2395
+ className: `${Be.footerContainer} ${c}`,
2396
+ marquee: /* @__PURE__ */ r.jsx(Mr, { children: /* @__PURE__ */ r.jsx(ba, { t }) }),
2397
+ children: Y
2470
2398
  }
2471
2399
  );
2472
- }, Pa = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Aa = ({
2400
+ }, wa = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Pa = ({
2473
2401
  t,
2474
2402
  languageSelector: o,
2475
- logoUrl: d = Pa,
2476
- className: u = ""
2403
+ logoUrl: d = wa,
2404
+ className: m = ""
2477
2405
  }) => {
2478
- const y = Ne(), x = y?.config.isGlobal ?? !0, h = o != null && !x;
2406
+ const x = Re(), R = x?.config.isGlobal ?? !0, w = o != null && !R;
2479
2407
  return /* @__PURE__ */ r.jsx(
2480
2408
  $r,
2481
2409
  {
2482
2410
  t,
2483
2411
  logoUrl: d,
2484
- imageComponent: y?.config.imageComponent,
2412
+ imageComponent: x?.config.imageComponent,
2485
2413
  languageSelector: o,
2486
- showLanguageSelector: h,
2487
- className: u
2414
+ showLanguageSelector: w,
2415
+ className: m
2488
2416
  }
2489
2417
  );
2490
- }, Ca = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
2418
+ }, Aa = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
2491
2419
  "path",
2492
2420
  {
2493
2421
  d: "M3.5 8.5l2.5 2.5 6-6",
@@ -2496,7 +2424,7 @@ const ca = {}, da = ({
2496
2424
  strokeLinecap: "round",
2497
2425
  strokeLinejoin: "round"
2498
2426
  }
2499
- ) }), ja = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
2427
+ ) }), Ca = () => /* @__PURE__ */ r.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
2500
2428
  "path",
2501
2429
  {
2502
2430
  d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
@@ -2504,52 +2432,52 @@ const ca = {}, da = ({
2504
2432
  strokeWidth: "1.8",
2505
2433
  strokeLinecap: "round"
2506
2434
  }
2507
- ) }), Na = () => /* @__PURE__ */ r.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx("path", { d: "M15 18l-6-6 6-6" }) }), Ta = () => /* @__PURE__ */ r.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
2435
+ ) }), ja = () => /* @__PURE__ */ r.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx("path", { d: "M15 18l-6-6 6-6" }) }), Na = () => /* @__PURE__ */ r.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
2508
2436
  /* @__PURE__ */ r.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
2509
2437
  /* @__PURE__ */ r.jsx("polyline", { points: "17 6 23 6 23 12" })
2510
- ] }), Ra = "_overlay_18irl_2", Sa = "_sheet_18irl_12", Ea = "_header_18irl_36", Ia = "_backBtn_18irl_48", Ba = "_title_18irl_66", La = "_plansContainer_18irl_78", Da = "_planCard_18irl_87", Oa = "_withBadgeSpacing_18irl_101", Fa = "_planCardSelected_18irl_105", Ma = "_planCardPopular_18irl_110", $a = "_popularBadge_18irl_119", Ua = "_planCardInner_18irl_137", Ga = "_planTitleRow_18irl_148", Ka = "_planTitle_18irl_148", Wa = "_radioCircle_18irl_163", Ha = "_radioChecked_18irl_176", Ya = "_radioInner_18irl_181", qa = "_priceRow_18irl_189", Va = "_price_18irl_189", Ja = "_originalPrice_18irl_202", za = "_savingsBadge_18irl_209", Qa = "_featureList_18irl_219", Xa = "_featureItem_18irl_228", Za = "_featureIcon_18irl_234", en = "_featureText_18irl_240", rn = "_astrologerHeading_18irl_251", tn = "_astrologerList_18irl_258", an = "_astrologerCard_18irl_274", nn = "_astrologerAvatar_18irl_290", on = "_astrologerAvatarPlaceholder_18irl_307", ln = "_astrologerTop_18irl_313", sn = "_astrologerBasicInfo_18irl_319", cn = "_astrologerName_18irl_326", dn = "_astrologerExp_18irl_335", un = "_astrologerDivider_18irl_341", mn = "_planDivider_18irl_347", fn = "_astrologerCertList_18irl_354", pn = "_astrologerCertItem_18irl_360", hn = "_bullet_18irl_368", gn = "_footer_18irl_373", _n = "_proceedBtn_18irl_383", f = {
2511
- overlay: Ra,
2512
- sheet: Sa,
2513
- header: Ea,
2514
- backBtn: Ia,
2515
- title: Ba,
2516
- plansContainer: La,
2517
- planCard: Da,
2518
- withBadgeSpacing: Oa,
2519
- planCardSelected: Fa,
2520
- planCardPopular: Ma,
2521
- popularBadge: $a,
2522
- planCardInner: Ua,
2523
- planTitleRow: Ga,
2524
- planTitle: Ka,
2438
+ ] }), Ta = "_overlay_18irl_2", Ra = "_sheet_18irl_12", Sa = "_header_18irl_36", Ea = "_backBtn_18irl_48", Ia = "_title_18irl_66", Ba = "_plansContainer_18irl_78", La = "_planCard_18irl_87", Da = "_withBadgeSpacing_18irl_101", Oa = "_planCardSelected_18irl_105", Fa = "_planCardPopular_18irl_110", Ma = "_popularBadge_18irl_119", $a = "_planCardInner_18irl_137", Ua = "_planTitleRow_18irl_148", Ga = "_planTitle_18irl_148", Wa = "_radioCircle_18irl_163", Ka = "_radioChecked_18irl_176", Ha = "_radioInner_18irl_181", Ya = "_priceRow_18irl_189", qa = "_price_18irl_189", Va = "_originalPrice_18irl_202", za = "_savingsBadge_18irl_209", Ja = "_featureList_18irl_219", Qa = "_featureItem_18irl_228", Xa = "_featureIcon_18irl_234", Za = "_featureText_18irl_240", en = "_astrologerHeading_18irl_251", rn = "_astrologerList_18irl_258", tn = "_astrologerCard_18irl_274", an = "_astrologerAvatar_18irl_290", nn = "_astrologerAvatarPlaceholder_18irl_307", on = "_astrologerTop_18irl_313", ln = "_astrologerBasicInfo_18irl_319", sn = "_astrologerName_18irl_326", cn = "_astrologerExp_18irl_335", dn = "_astrologerDivider_18irl_341", un = "_planDivider_18irl_347", mn = "_astrologerCertList_18irl_354", fn = "_astrologerCertItem_18irl_360", pn = "_bullet_18irl_368", hn = "_footer_18irl_373", gn = "_proceedBtn_18irl_383", f = {
2439
+ overlay: Ta,
2440
+ sheet: Ra,
2441
+ header: Sa,
2442
+ backBtn: Ea,
2443
+ title: Ia,
2444
+ plansContainer: Ba,
2445
+ planCard: La,
2446
+ withBadgeSpacing: Da,
2447
+ planCardSelected: Oa,
2448
+ planCardPopular: Fa,
2449
+ popularBadge: Ma,
2450
+ planCardInner: $a,
2451
+ planTitleRow: Ua,
2452
+ planTitle: Ga,
2525
2453
  radioCircle: Wa,
2526
- radioChecked: Ha,
2527
- radioInner: Ya,
2528
- priceRow: qa,
2529
- price: Va,
2530
- originalPrice: Ja,
2454
+ radioChecked: Ka,
2455
+ radioInner: Ha,
2456
+ priceRow: Ya,
2457
+ price: qa,
2458
+ originalPrice: Va,
2531
2459
  savingsBadge: za,
2532
- featureList: Qa,
2533
- featureItem: Xa,
2534
- featureIcon: Za,
2535
- featureText: en,
2536
- astrologerHeading: rn,
2537
- astrologerList: tn,
2538
- astrologerCard: an,
2539
- astrologerAvatar: nn,
2540
- astrologerAvatarPlaceholder: on,
2541
- astrologerTop: ln,
2542
- astrologerBasicInfo: sn,
2543
- astrologerName: cn,
2544
- astrologerExp: dn,
2545
- astrologerDivider: un,
2546
- planDivider: mn,
2547
- astrologerCertList: fn,
2548
- astrologerCertItem: pn,
2549
- bullet: hn,
2550
- footer: gn,
2551
- proceedBtn: _n
2552
- }, bn = ({ title: t, onBack: o }) => /* @__PURE__ */ r.jsxs("div", { className: f.header, children: [
2460
+ featureList: Ja,
2461
+ featureItem: Qa,
2462
+ featureIcon: Xa,
2463
+ featureText: Za,
2464
+ astrologerHeading: en,
2465
+ astrologerList: rn,
2466
+ astrologerCard: tn,
2467
+ astrologerAvatar: an,
2468
+ astrologerAvatarPlaceholder: nn,
2469
+ astrologerTop: on,
2470
+ astrologerBasicInfo: ln,
2471
+ astrologerName: sn,
2472
+ astrologerExp: cn,
2473
+ astrologerDivider: dn,
2474
+ planDivider: un,
2475
+ astrologerCertList: mn,
2476
+ astrologerCertItem: fn,
2477
+ bullet: pn,
2478
+ footer: hn,
2479
+ proceedBtn: gn
2480
+ }, _n = ({ title: t, onBack: o }) => /* @__PURE__ */ r.jsxs("div", { className: f.header, children: [
2553
2481
  /* @__PURE__ */ r.jsx(
2554
2482
  "button",
2555
2483
  {
@@ -2557,12 +2485,12 @@ const ca = {}, da = ({
2557
2485
  onClick: o,
2558
2486
  "aria-label": "Go back",
2559
2487
  type: "button",
2560
- children: /* @__PURE__ */ r.jsx(Na, {})
2488
+ children: /* @__PURE__ */ r.jsx(ja, {})
2561
2489
  }
2562
2490
  ),
2563
2491
  /* @__PURE__ */ r.jsx("h2", { className: f.title, children: t })
2564
- ] }), yn = ({ features: t, t: o }) => /* @__PURE__ */ r.jsx("ul", { className: f.featureList, "aria-label": "Plan features", children: t.map((d, u) => /* @__PURE__ */ r.jsxs("li", { className: f.featureItem, children: [
2565
- /* @__PURE__ */ r.jsx("span", { className: f.featureIcon, children: d.included ? /* @__PURE__ */ r.jsx(Ca, {}) : /* @__PURE__ */ r.jsx(ja, {}) }),
2492
+ ] }), bn = ({ features: t, t: o }) => /* @__PURE__ */ r.jsx("ul", { className: f.featureList, "aria-label": "Plan features", children: t.map((d, m) => /* @__PURE__ */ r.jsxs("li", { className: f.featureItem, children: [
2493
+ /* @__PURE__ */ r.jsx("span", { className: f.featureIcon, children: d.included ? /* @__PURE__ */ r.jsx(Aa, {}) : /* @__PURE__ */ r.jsx(Ca, {}) }),
2566
2494
  /* @__PURE__ */ r.jsx(
2567
2495
  "span",
2568
2496
  {
@@ -2570,7 +2498,7 @@ const ca = {}, da = ({
2570
2498
  children: o?.(d.text) ?? d.text
2571
2499
  }
2572
2500
  )
2573
- ] }, u)) }), kn = ({ astrologer: t, t: o }) => /* @__PURE__ */ r.jsxs("div", { className: f.astrologerCard, children: [
2501
+ ] }, m)) }), yn = ({ astrologer: t, t: o }) => /* @__PURE__ */ r.jsxs("div", { className: f.astrologerCard, children: [
2574
2502
  /* @__PURE__ */ r.jsxs("div", { className: f.astrologerTop, children: [
2575
2503
  /* @__PURE__ */ r.jsx("div", { className: f.astrologerAvatar, "aria-hidden": !0, children: t.imageUrl ? /* @__PURE__ */ r.jsx("img", { src: t.imageUrl, alt: o?.(t.name) ?? t.name, width: 40, height: 40 }) : /* @__PURE__ */ r.jsx("span", { className: f.astrologerAvatarPlaceholder, children: t.name.charAt(0) }) }),
2576
2504
  /* @__PURE__ */ r.jsxs("div", { className: f.astrologerBasicInfo, children: [
@@ -2579,17 +2507,17 @@ const ca = {}, da = ({
2579
2507
  ] })
2580
2508
  ] }),
2581
2509
  /* @__PURE__ */ r.jsx("div", { className: f.astrologerDivider }),
2582
- /* @__PURE__ */ r.jsx("div", { className: f.astrologerCertList, children: t.certifications.map((d, u) => /* @__PURE__ */ r.jsxs("p", { className: f.astrologerCertItem, children: [
2510
+ /* @__PURE__ */ r.jsx("div", { className: f.astrologerCertList, children: t.certifications.map((d, m) => /* @__PURE__ */ r.jsxs("p", { className: f.astrologerCertItem, children: [
2583
2511
  /* @__PURE__ */ r.jsx("span", { className: f.bullet, children: "•" }),
2584
2512
  " ",
2585
2513
  o?.(d) ?? d
2586
- ] }, u)) })
2587
- ] }), vn = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className: f.popularBadge, "aria-label": t, children: [
2588
- /* @__PURE__ */ r.jsx(Ta, {}),
2514
+ ] }, m)) })
2515
+ ] }), kn = ({ label: t }) => /* @__PURE__ */ r.jsxs("div", { className: f.popularBadge, "aria-label": t, children: [
2516
+ /* @__PURE__ */ r.jsx(Na, {}),
2589
2517
  /* @__PURE__ */ r.jsx("span", { children: t })
2590
- ] }), xn = ({ plan: t, isSelected: o, onSelect: d, t: u }) => {
2591
- const y = () => d(t.id), x = (h) => {
2592
- (h.key === " " || h.key === "Enter") && (h.preventDefault(), d(t.id));
2518
+ ] }), vn = ({ plan: t, isSelected: o, onSelect: d, t: m }) => {
2519
+ const x = () => d(t.id), R = (w) => {
2520
+ (w.key === " " || w.key === "Enter") && (w.preventDefault(), d(t.id));
2593
2521
  };
2594
2522
  return /* @__PURE__ */ r.jsxs(
2595
2523
  "div",
@@ -2599,17 +2527,17 @@ const ca = {}, da = ({
2599
2527
  o ? f.planCardSelected : "",
2600
2528
  o && f.planCardPopular
2601
2529
  ].filter(Boolean).join(" "),
2602
- onClick: y,
2530
+ onClick: x,
2603
2531
  role: "radio",
2604
2532
  "aria-checked": o,
2605
2533
  tabIndex: 0,
2606
- onKeyDown: x,
2534
+ onKeyDown: R,
2607
2535
  "data-plan-id": t.id,
2608
2536
  children: [
2609
- t.badge && /* @__PURE__ */ r.jsx(vn, { label: u?.(t.badge) ?? t.badge }),
2537
+ t.badge && /* @__PURE__ */ r.jsx(kn, { label: m?.(t.badge) ?? t.badge }),
2610
2538
  /* @__PURE__ */ r.jsxs("div", { className: f.planCardInner, children: [
2611
2539
  /* @__PURE__ */ r.jsxs("div", { className: `${f.planTitleRow} ${t.badge ? f.withBadgeSpacing : ""}`, children: [
2612
- /* @__PURE__ */ r.jsx("span", { className: f.planTitle, children: u?.(t.title) ?? t.title }),
2540
+ /* @__PURE__ */ r.jsx("span", { className: f.planTitle, children: m?.(t.title) ?? t.title }),
2613
2541
  /* @__PURE__ */ r.jsx(
2614
2542
  "span",
2615
2543
  {
@@ -2622,19 +2550,19 @@ const ca = {}, da = ({
2622
2550
  /* @__PURE__ */ r.jsxs("div", { className: f.priceRow, children: [
2623
2551
  /* @__PURE__ */ r.jsx("span", { className: f.price, children: t.price }),
2624
2552
  t.originalPrice && /* @__PURE__ */ r.jsx("span", { className: f.originalPrice, children: t.originalPrice }),
2625
- t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className: f.savingsBadge, children: u?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
2553
+ t.savingsLabel && /* @__PURE__ */ r.jsx("span", { className: f.savingsBadge, children: m?.(t.savingsLabel, { percent: 25 }) ?? t.savingsLabel })
2626
2554
  ] }),
2627
- /* @__PURE__ */ r.jsx(yn, { features: t.features, t: u }),
2555
+ /* @__PURE__ */ r.jsx(bn, { features: t.features, t: m }),
2628
2556
  t.astrologers && /* @__PURE__ */ r.jsx("div", { className: f.planDivider }),
2629
2557
  t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
2630
- /* @__PURE__ */ r.jsx("p", { className: f.astrologerHeading, children: u?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
2631
- /* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((h, N) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(kn, { astrologer: h, t: u }) }, N)) })
2558
+ /* @__PURE__ */ r.jsx("p", { className: f.astrologerHeading, children: m?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
2559
+ /* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((w, j) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(yn, { astrologer: w, t: m }) }, j)) })
2632
2560
  ] })
2633
2561
  ] })
2634
2562
  ]
2635
2563
  }
2636
2564
  );
2637
- }, wn = [
2565
+ }, xn = [
2638
2566
  {
2639
2567
  id: "jyoti",
2640
2568
  name: "planAstrologerNameJyoti",
@@ -2662,7 +2590,7 @@ const ca = {}, da = ({
2662
2590
  experience: "planAstrologerExpNeeraj",
2663
2591
  certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
2664
2592
  }
2665
- ], Pn = (t) => [
2593
+ ], wn = (t) => [
2666
2594
  {
2667
2595
  id: "kundli-report",
2668
2596
  title: "planNameBasic",
@@ -2688,39 +2616,39 @@ const ca = {}, da = ({
2688
2616
  { text: "planFeatureRealTimeAnswers", included: !0 },
2689
2617
  { text: "planFeatureTailoredRemedies", included: !0 }
2690
2618
  ],
2691
- astrologers: wn.filter(
2619
+ astrologers: xn.filter(
2692
2620
  (o) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(o.id)
2693
2621
  )
2694
2622
  }
2695
- ], An = ({
2623
+ ], Pn = ({
2696
2624
  isOpen: t,
2697
2625
  onClose: o,
2698
2626
  selectedPlan: d,
2699
- onSelectPlan: u,
2700
- plans: y,
2701
- onProceed: x,
2702
- t: h,
2703
- analytics: N
2627
+ onSelectPlan: m,
2628
+ plans: x,
2629
+ onProceed: R,
2630
+ t: w,
2631
+ analytics: j
2704
2632
  }) => {
2705
- const F = Ne()?.config.isGlobal ?? !0, c = y ?? Pn(F), S = d?.id || c.find((A) => A.badge)?.id || c[0]?.id || "", p = q(null), D = q(null), k = q(!1);
2706
- X(() => {
2633
+ const I = Re()?.config.isGlobal ?? !0, c = x ?? wn(I), N = d?.id || c.find((C) => C.badge)?.id || c[0]?.id || "", p = K(null), S = K(null), h = K(!1);
2634
+ H(() => {
2707
2635
  if (t) {
2708
2636
  if (!d) {
2709
- const A = c.find((T) => T.badge) ?? c[0];
2710
- A && u(A);
2637
+ const C = c.find((b) => b.badge) ?? c[0];
2638
+ C && m(C);
2711
2639
  }
2712
- k.current || (N?.trackPlanPageViewed?.(), k.current = !0);
2640
+ h.current || (j?.trackPlanPageViewed?.(), h.current = !0);
2713
2641
  } else
2714
- k.current = !1;
2715
- }, [t, c, d, u, N]);
2642
+ h.current = !1;
2643
+ }, [t, c, d, m, j]);
2716
2644
  const E = () => {
2717
- N?.trackPlanPageClosed?.(), o();
2645
+ j?.trackPlanPageClosed?.(), o();
2718
2646
  };
2719
- return X(() => {
2647
+ return H(() => {
2720
2648
  if (!t) return;
2721
- const A = document.body.style.overflow;
2649
+ const C = document.body.style.overflow;
2722
2650
  return document.body.style.overflow = "hidden", () => {
2723
- document.body.style.overflow = A;
2651
+ document.body.style.overflow = C;
2724
2652
  };
2725
2653
  }, [t]), t ? /* @__PURE__ */ r.jsx(
2726
2654
  "div",
@@ -2728,7 +2656,7 @@ const ca = {}, da = ({
2728
2656
  className: f.overlay,
2729
2657
  role: "dialog",
2730
2658
  "aria-modal": "true",
2731
- "aria-label": h?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2659
+ "aria-label": w?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2732
2660
  children: /* @__PURE__ */ r.jsxs(
2733
2661
  "div",
2734
2662
  {
@@ -2736,34 +2664,34 @@ const ca = {}, da = ({
2736
2664
  className: f.sheet,
2737
2665
  children: [
2738
2666
  /* @__PURE__ */ r.jsx(
2739
- bn,
2667
+ _n,
2740
2668
  {
2741
- title: h?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2669
+ title: w?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2742
2670
  onBack: E
2743
2671
  }
2744
2672
  ),
2745
2673
  /* @__PURE__ */ r.jsx(
2746
2674
  "div",
2747
2675
  {
2748
- ref: D,
2676
+ ref: S,
2749
2677
  className: f.plansContainer,
2750
2678
  role: "radiogroup",
2751
2679
  "aria-label": "Kundli plans",
2752
- children: c.map((A) => /* @__PURE__ */ r.jsx(
2753
- xn,
2680
+ children: c.map((C) => /* @__PURE__ */ r.jsx(
2681
+ vn,
2754
2682
  {
2755
- plan: A,
2756
- isSelected: A.id === S,
2757
- t: h,
2758
- onSelect: (T) => {
2759
- const g = c.find((G) => G.id === T);
2760
- g && (N?.trackPlanSelected?.({
2761
- planId: g.id,
2762
- planName: g.title
2763
- }), u(g));
2683
+ plan: C,
2684
+ isSelected: C.id === N,
2685
+ t: w,
2686
+ onSelect: (b) => {
2687
+ const _ = c.find((G) => G.id === b);
2688
+ _ && (j?.trackPlanSelected?.({
2689
+ planId: _.id,
2690
+ planName: _.title
2691
+ }), m(_));
2764
2692
  }
2765
2693
  },
2766
- A.id
2694
+ C.id
2767
2695
  ))
2768
2696
  }
2769
2697
  ),
@@ -2773,12 +2701,12 @@ const ca = {}, da = ({
2773
2701
  className: f.proceedBtn,
2774
2702
  disabled: !d,
2775
2703
  onClick: () => {
2776
- d && (N?.trackPlanProceedClicked?.({
2704
+ d && (j?.trackPlanProceedClicked?.({
2777
2705
  planId: d.id,
2778
2706
  planName: d.title
2779
- }), x(d), o());
2707
+ }), R(d), o());
2780
2708
  },
2781
- children: d ? h?.("planProceedToPayment") ?? d.price + "Proceed to Payment" : "Select a plan"
2709
+ children: d ? w?.("planProceedToPayment") ?? d.price + "Proceed to Payment" : "Select a plan"
2782
2710
  }
2783
2711
  ) })
2784
2712
  ]
@@ -2786,7 +2714,7 @@ const ca = {}, da = ({
2786
2714
  )
2787
2715
  }
2788
2716
  ) : null;
2789
- }, Cn = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", jn = (t, o) => ur[t]?.[o] ?? o, Nn = {
2717
+ }, An = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Cn = (t, o) => mr[t]?.[o] ?? o, jn = {
2790
2718
  fullName: "",
2791
2719
  phone: "",
2792
2720
  gender: "",
@@ -2795,80 +2723,82 @@ const ca = {}, da = ({
2795
2723
  dateOfBirth: "",
2796
2724
  birthTime: "",
2797
2725
  birthTimeUnknown: !1,
2798
- birthPlace: ""
2799
- }, Dn = ({
2726
+ birthPlace: "",
2727
+ birthPlaceLat: void 0,
2728
+ birthPlaceLng: void 0
2729
+ }, Ln = ({
2800
2730
  className: t = "",
2801
2731
  locale: o,
2802
2732
  showLanguageSelector: d = !0,
2803
- onBack: u,
2804
- initialValues: y,
2805
- onProceed: x,
2806
- onProceedGuidance: h,
2807
- proceedHref: N,
2808
- originalPriceLabel: w,
2809
- discountedPriceLabel: F,
2810
- googleMapsApiKey: c = "",
2811
- analytics: S
2733
+ onBack: m,
2734
+ initialValues: x,
2735
+ onProceed: R,
2736
+ onProceedGuidance: w,
2737
+ proceedHref: j,
2738
+ originalPriceLabel: A,
2739
+ discountedPriceLabel: I,
2740
+ atlasSearchLocalities: c,
2741
+ analytics: N
2812
2742
  }) => {
2813
- const p = Ne(), D = Wr(), k = p !== null, E = k ? p.locale : o, A = E ?? D?.locale ?? "en", [T, g] = V(A), G = k ? p.locale : T, _ = k ? p.setLocale : g, [M, O] = V(!1), $ = q(null), Z = q(E), R = q(
2814
- D?.locale
2743
+ const p = Re(), S = Kr(), h = p !== null, E = h ? p.locale : o, C = E ?? S?.locale ?? "en", [b, _] = W(C), G = h ? p.locale : b, y = h ? p.setLocale : _, [O, X] = W(!1), Z = K(null), ie = K(E), Y = K(
2744
+ S?.locale
2815
2745
  );
2816
- X(() => {
2746
+ H(() => {
2817
2747
  window.scrollTo({ top: 0, left: 0, behavior: "auto" });
2818
2748
  }, []);
2819
- const B = (P) => jn(G, P);
2820
- X(() => {
2821
- E && Z.current !== E && _(E), Z.current = E;
2822
- }, [E, _]), X(() => {
2749
+ const F = (v) => Cn(G, v);
2750
+ H(() => {
2751
+ E && ie.current !== E && y(E), ie.current = E;
2752
+ }, [E, y]), H(() => {
2823
2753
  if (E) return;
2824
- const P = D?.locale;
2825
- P && R.current !== P && _(P), R.current = P;
2826
- }, [D?.locale, E, _]);
2827
- const [z, U] = V({
2828
- ...Nn,
2829
- ...y,
2830
- phone: y?.phone ?? ""
2831
- }), C = k ? p?.config.isGlobal ?? !0 : !0, [L, H] = V(
2832
- C ? "+1" : "+91"
2754
+ const v = S?.locale;
2755
+ v && Y.current !== v && y(v), Y.current = v;
2756
+ }, [S?.locale, E, y]);
2757
+ const [ue, z] = W({
2758
+ ...jn,
2759
+ ...x,
2760
+ phone: x?.phone ?? ""
2761
+ }), L = h ? p?.config.isGlobal ?? !0 : !0, [B, q] = W(
2762
+ L ? "+1" : "+91"
2833
2763
  );
2834
- X(() => {
2835
- H(C ? "+1" : "+91");
2836
- }, [C]);
2837
- const J = k ? p.formValues : z, ne = k ? p.setFormValues : U, ge = k ? p.goToPage : u, Q = k ? p.onProceed : x, ie = k ? p.onProceedGuidance : h, ue = k ? p.config.proceedHref : N, le = k ? p.config.originalPriceLabel : w, se = k ? p.config.discountedPriceLabel : F, fe = k ? p.config.showLanguageSelector ?? !0 : d, oe = (k ? p?.config?.analytics : S) ?? S;
2838
- X(() => {
2839
- if (!M) return;
2840
- const P = (n) => {
2841
- $.current && !$.current.contains(n.target) && O(!1);
2764
+ H(() => {
2765
+ q(L ? "+1" : "+91");
2766
+ }, [L]);
2767
+ const J = h ? p.formValues : ue, te = h ? p.setFormValues : z, ge = h ? p.goToPage : m, V = h ? p.onProceed : R, le = h ? p.onProceedGuidance : w, me = h ? p.config.proceedHref : j, se = h ? p.config.originalPriceLabel : A, ae = h ? p.config.discountedPriceLabel : I, _e = h ? p.config.showLanguageSelector ?? !0 : d, ee = (h ? p?.config?.analytics : N) ?? N;
2768
+ H(() => {
2769
+ if (!O) return;
2770
+ const v = (ce) => {
2771
+ Z.current && !Z.current.contains(ce.target) && X(!1);
2842
2772
  };
2843
- return document.addEventListener("mousedown", P), () => document.removeEventListener("mousedown", P);
2844
- }, [M]);
2845
- const [pe, me] = V(!1), [ee, ye] = V(null), ce = q(null), we = be((P) => {
2846
- ce.current = P, me(!0);
2847
- }, []), _e = be(() => {
2848
- if (oe?.trackPlanProceedClicked?.({
2849
- planId: ee.id,
2850
- planName: ee.title
2851
- }), !ce.current || !ee) return;
2852
- const P = { ...ce.current, _selectedPlan: ee };
2853
- ee.id === hr && ie ? ie(P) : Q?.(P), me(!1), ce.current = null;
2854
- }, [ee, Q, ie]), Pe = p?.config.imageComponent ?? Le, ke = fe ? /* @__PURE__ */ r.jsxs("div", { className: he.langDropdownWrap, ref: $, children: [
2773
+ return document.addEventListener("mousedown", v), () => document.removeEventListener("mousedown", v);
2774
+ }, [O]);
2775
+ const [ne, oe] = W(!1), [M, be] = W(null), fe = K(null), ke = Te((v) => {
2776
+ fe.current = v, oe(!0);
2777
+ }, []), ye = Te(() => {
2778
+ if (ee?.trackPlanProceedClicked?.({
2779
+ planId: M.id,
2780
+ planName: M.title
2781
+ }), !fe.current || !M) return;
2782
+ const v = { ...fe.current, _selectedPlan: M };
2783
+ M.id === gr && le ? le(v) : V?.(v), oe(!1), fe.current = null;
2784
+ }, [M, V, le]), Pe = p?.config.imageComponent ?? De, Ae = _e ? /* @__PURE__ */ r.jsxs("div", { className: he.langDropdownWrap, ref: Z, children: [
2855
2785
  /* @__PURE__ */ r.jsxs(
2856
2786
  "button",
2857
2787
  {
2858
2788
  type: "button",
2859
2789
  className: he.langTrigger,
2860
2790
  onClick: () => {
2861
- oe?.trackLanguageClickedFe?.({ language: G }), O((P) => !P);
2791
+ ee?.trackLanguageClickedFe?.({ language: G }), X((v) => !v);
2862
2792
  },
2863
- "aria-expanded": M,
2793
+ "aria-expanded": O,
2864
2794
  "aria-haspopup": "listbox",
2865
2795
  id: "kundli-form-lang",
2866
- "aria-label": B("language"),
2796
+ "aria-label": F("language"),
2867
2797
  children: [
2868
2798
  /* @__PURE__ */ r.jsx(
2869
2799
  Pe,
2870
2800
  {
2871
- src: Cn,
2801
+ src: An,
2872
2802
  alt: "",
2873
2803
  className: he.langIcon,
2874
2804
  width: 16,
@@ -2880,89 +2810,89 @@ const ca = {}, da = ({
2880
2810
  ]
2881
2811
  }
2882
2812
  ),
2883
- M && /* @__PURE__ */ r.jsx(
2813
+ O && /* @__PURE__ */ r.jsx(
2884
2814
  "ul",
2885
2815
  {
2886
2816
  className: he.langMenu,
2887
2817
  role: "listbox",
2888
2818
  "aria-labelledby": "kundli-form-lang",
2889
2819
  "aria-activedescendant": `kundli-form-lang-option-${G}`,
2890
- children: dr.map((P) => /* @__PURE__ */ r.jsx(
2820
+ children: ur.map((v) => /* @__PURE__ */ r.jsx(
2891
2821
  "li",
2892
2822
  {
2893
- id: `kundli-form-lang-option-${P}`,
2823
+ id: `kundli-form-lang-option-${v}`,
2894
2824
  role: "option",
2895
- "aria-selected": P === G,
2825
+ "aria-selected": v === G,
2896
2826
  className: he.langOption,
2897
2827
  onClick: () => {
2898
- oe?.trackLanguageChangedFe?.({ newLanguage: P }), _(P), O(!1);
2828
+ ee?.trackLanguageChangedFe?.({ newLanguage: v }), y(v), X(!1);
2899
2829
  },
2900
- children: lr[P]
2830
+ children: lr[v]
2901
2831
  },
2902
- P
2832
+ v
2903
2833
  ))
2904
2834
  }
2905
2835
  )
2906
2836
  ] }) : null;
2907
2837
  return /* @__PURE__ */ r.jsxs("div", { className: `${he.container} ${t}`, children: [
2908
2838
  /* @__PURE__ */ r.jsx(
2909
- Aa,
2839
+ Pa,
2910
2840
  {
2911
- t: B,
2912
- logoUrl: k ? p.config.logoUrl : void 0,
2913
- languageSelector: ke,
2841
+ t: F,
2842
+ logoUrl: h ? p.config.logoUrl : void 0,
2843
+ languageSelector: Ae,
2914
2844
  className: he.kundliHeaderNoBorder
2915
2845
  }
2916
2846
  ),
2917
2847
  /* @__PURE__ */ r.jsx("div", { className: he.headerSeparator, "aria-hidden": !0 }),
2918
2848
  /* @__PURE__ */ r.jsxs("main", { className: he.main, children: [
2919
- /* @__PURE__ */ r.jsx(st, { t: B, onBack: ge }),
2849
+ /* @__PURE__ */ r.jsx(st, { t: F, onBack: ge }),
2920
2850
  /* @__PURE__ */ r.jsx(
2921
- da,
2851
+ ca,
2922
2852
  {
2923
- t: B,
2853
+ t: F,
2924
2854
  values: J,
2925
- onChange: ne,
2926
- googleMapsApiKey: c,
2927
- phoneIsdCode: L,
2928
- onPhoneIsdCodeChange: H
2855
+ onChange: te,
2856
+ atlasSearchLocalities: c,
2857
+ phoneIsdCode: B,
2858
+ onPhoneIsdCodeChange: q
2929
2859
  }
2930
2860
  )
2931
2861
  ] }),
2932
2862
  /* @__PURE__ */ r.jsx(
2933
- wa,
2863
+ xa,
2934
2864
  {
2935
- t: B,
2865
+ t: F,
2936
2866
  values: J,
2937
- phoneIsdCode: L,
2938
- onProceed: Q,
2939
- onProceedGuidance: ie,
2940
- href: ue,
2941
- originalPriceLabel: le,
2942
- discountedPriceLabel: se,
2943
- analytics: oe,
2944
- showPlanSheet: we,
2945
- confirmPlan: _e,
2946
- planSheetOpen: pe,
2947
- selectedPlan: ee
2867
+ phoneIsdCode: B,
2868
+ onProceed: V,
2869
+ onProceedGuidance: le,
2870
+ href: me,
2871
+ originalPriceLabel: se,
2872
+ discountedPriceLabel: ae,
2873
+ analytics: ee,
2874
+ showPlanSheet: ke,
2875
+ confirmPlan: ye,
2876
+ planSheetOpen: ne,
2877
+ selectedPlan: M
2948
2878
  }
2949
2879
  ),
2950
2880
  p?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
2951
- An,
2881
+ Pn,
2952
2882
  {
2953
- isOpen: pe,
2954
- onClose: () => me(!1),
2955
- selectedPlan: ee,
2956
- onSelectPlan: ye,
2957
- onProceed: (P) => {
2958
- _e?.(P);
2883
+ isOpen: ne,
2884
+ onClose: () => oe(!1),
2885
+ selectedPlan: M,
2886
+ onSelectPlan: be,
2887
+ onProceed: (v) => {
2888
+ ye?.(v);
2959
2889
  },
2960
- t: B,
2961
- analytics: oe
2890
+ t: F,
2891
+ analytics: ee
2962
2892
  }
2963
2893
  )
2964
2894
  ] });
2965
- }, On = {
2895
+ }, Dn = {
2966
2896
  banner_clicked_fe: "banner_clicked_fe",
2967
2897
  primary_cta_clicked_fe: "primary_cta_clicked_fe",
2968
2898
  language_changed_fe: "language_changed_fe",
@@ -3002,31 +2932,31 @@ const ca = {}, da = ({
3002
2932
  kundli_form_view: "kundli_form_view"
3003
2933
  };
3004
2934
  export {
3005
- Le as D,
2935
+ De as D,
3006
2936
  st as F,
3007
- Sn as I,
3008
- On as K,
2937
+ Rn as I,
2938
+ Dn as K,
3009
2939
  lr as L,
3010
- hr as P,
3011
- dr as S,
3012
- da as U,
3013
- fr as a,
2940
+ gr as P,
2941
+ ur as S,
2942
+ ca as U,
2943
+ pr as a,
3014
2944
  He as b,
3015
- Dn as c,
3016
- Bn as d,
2945
+ Ln as c,
2946
+ In as d,
3017
2947
  at as e,
3018
2948
  nt as f,
3019
2949
  rt as g,
3020
- Ne as h,
3021
- In as i,
3022
- Ln as j,
2950
+ Re as h,
2951
+ En as i,
2952
+ Bn as j,
3023
2953
  r as k,
3024
- Aa as l,
3025
- wa as m,
3026
- An as n,
3027
- En as r,
2954
+ Pa as l,
2955
+ xa as m,
2956
+ Pn as n,
2957
+ Sn as r,
3028
2958
  tt as s,
3029
- ur as t,
3030
- Wr as u
2959
+ mr as t,
2960
+ Kr as u
3031
2961
  };
3032
- //# sourceMappingURL=analytics-CFSBD_1m.js.map
2962
+ //# sourceMappingURL=analytics-mqYZuSm2.js.map