@srimandir/kundli-generator 7.5.35 → 7.6.1

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.
@@ -7,11 +7,11 @@ function et() {
7
7
  ga = 1;
8
8
  var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), p = Object.prototype.hasOwnProperty, d = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
9
9
  function _(P, k, Y) {
10
- var M, N = {}, m = null, C = null;
10
+ var M, R = {}, m = null, C = null;
11
11
  Y !== void 0 && (m = "" + Y), k.key !== void 0 && (m = "" + k.key), k.ref !== void 0 && (C = k.ref);
12
- for (M in k) p.call(k, M) && !h.hasOwnProperty(M) && (N[M] = k[M]);
13
- if (P && P.defaultProps) for (M in k = P.defaultProps, k) N[M] === void 0 && (N[M] = k[M]);
14
- return { $$typeof: n, type: P, key: m, ref: C, props: N, _owner: d.current };
12
+ for (M in k) p.call(k, M) && !h.hasOwnProperty(M) && (R[M] = k[M]);
13
+ if (P && P.defaultProps) for (M in k = P.defaultProps, k) R[M] === void 0 && (R[M] = k[M]);
14
+ return { $$typeof: n, type: P, key: m, ref: C, props: R, _owner: d.current };
15
15
  }
16
16
  return He.Fragment = s, He.jsx = _, He.jsxs = _, He;
17
17
  }
@@ -19,7 +19,7 @@ var We = {};
19
19
  var ba;
20
20
  function at() {
21
21
  return ba || (ba = 1, process.env.NODE_ENV !== "production" && (function() {
22
- var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), d = /* @__PURE__ */ Symbol.for("react.strict_mode"), h = /* @__PURE__ */ Symbol.for("react.profiler"), _ = /* @__PURE__ */ Symbol.for("react.provider"), P = /* @__PURE__ */ Symbol.for("react.context"), k = /* @__PURE__ */ Symbol.for("react.forward_ref"), Y = /* @__PURE__ */ Symbol.for("react.suspense"), M = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), m = /* @__PURE__ */ Symbol.for("react.lazy"), C = /* @__PURE__ */ Symbol.for("react.offscreen"), A = Symbol.iterator, z = "@@iterator";
22
+ var t = na, n = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), d = /* @__PURE__ */ Symbol.for("react.strict_mode"), h = /* @__PURE__ */ Symbol.for("react.profiler"), _ = /* @__PURE__ */ Symbol.for("react.provider"), P = /* @__PURE__ */ Symbol.for("react.context"), k = /* @__PURE__ */ Symbol.for("react.forward_ref"), Y = /* @__PURE__ */ Symbol.for("react.suspense"), M = /* @__PURE__ */ Symbol.for("react.suspense_list"), R = /* @__PURE__ */ Symbol.for("react.memo"), m = /* @__PURE__ */ Symbol.for("react.lazy"), C = /* @__PURE__ */ Symbol.for("react.offscreen"), A = Symbol.iterator, z = "@@iterator";
23
23
  function v(a) {
24
24
  if (a === null || typeof a != "object")
25
25
  return null;
@@ -44,10 +44,10 @@ function at() {
44
44
  J.unshift("Warning: " + l), Function.prototype.apply.call(console[a], console, J);
45
45
  }
46
46
  }
47
- var S = !1, V = !1, j = !1, O = !1, R = !1, G;
47
+ var S = !1, V = !1, j = !1, O = !1, N = !1, G;
48
48
  G = /* @__PURE__ */ Symbol.for("react.module.reference");
49
49
  function ee(a) {
50
- return !!(typeof a == "string" || typeof a == "function" || a === p || a === h || R || a === d || a === Y || a === M || O || a === C || S || V || j || typeof a == "object" && a !== null && (a.$$typeof === m || a.$$typeof === N || a.$$typeof === _ || a.$$typeof === P || a.$$typeof === k || // This needs to include all possible module reference object
50
+ return !!(typeof a == "string" || typeof a == "function" || a === p || a === h || N || a === d || a === Y || a === M || O || a === C || S || V || j || typeof a == "object" && a !== null && (a.$$typeof === m || a.$$typeof === R || a.$$typeof === _ || a.$$typeof === P || a.$$typeof === k || // 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.
@@ -94,7 +94,7 @@ function at() {
94
94
  return B(u._context) + ".Provider";
95
95
  case k:
96
96
  return ae(a, a.render, "ForwardRef");
97
- case N:
97
+ case R:
98
98
  var T = a.displayName || null;
99
99
  return T !== null ? T : D(a.type) || "Memo";
100
100
  case m: {
@@ -108,14 +108,14 @@ function at() {
108
108
  }
109
109
  return null;
110
110
  }
111
- var $ = Object.assign, Q = 0, E, ge, ie, de, ue, X, xe;
111
+ var $ = Object.assign, Q = 0, E, be, ie, de, ue, X, xe;
112
112
  function ye() {
113
113
  }
114
114
  ye.__reactDisabledLog = !0;
115
115
  function Ne() {
116
116
  {
117
117
  if (Q === 0) {
118
- E = console.log, ge = console.info, ie = console.warn, de = console.error, ue = console.group, X = console.groupCollapsed, xe = console.groupEnd;
118
+ E = console.log, be = console.info, ie = console.warn, de = console.error, ue = console.group, X = console.groupCollapsed, xe = console.groupEnd;
119
119
  var a = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
@@ -135,7 +135,7 @@ function at() {
135
135
  Q++;
136
136
  }
137
137
  }
138
- function fe() {
138
+ function he() {
139
139
  {
140
140
  if (Q--, Q === 0) {
141
141
  var a = {
@@ -148,7 +148,7 @@ function at() {
148
148
  value: E
149
149
  }),
150
150
  info: $({}, a, {
151
- value: ge
151
+ value: be
152
152
  }),
153
153
  warn: $({}, a, {
154
154
  value: ie
@@ -171,7 +171,7 @@ function at() {
171
171
  }
172
172
  }
173
173
  var Z = y.ReactCurrentDispatcher, W;
174
- function he(a, l, u) {
174
+ function ge(a, l, u) {
175
175
  {
176
176
  if (W === void 0)
177
177
  try {
@@ -255,9 +255,9 @@ function at() {
255
255
  }
256
256
  }
257
257
  } finally {
258
- te = !1, Z.current = J, fe(), Error.prepareStackTrace = H;
258
+ te = !1, Z.current = J, he(), Error.prepareStackTrace = H;
259
259
  }
260
- var Me = a ? a.displayName || a.name : "", De = Me ? he(Me) : "";
260
+ var Me = a ? a.displayName || a.name : "", De = Me ? ge(Me) : "";
261
261
  return typeof a == "function" && re.set(a, De), De;
262
262
  }
263
263
  function pe(a, l, u) {
@@ -273,18 +273,18 @@ function at() {
273
273
  if (typeof a == "function")
274
274
  return je(a, me(a));
275
275
  if (typeof a == "string")
276
- return he(a);
276
+ return ge(a);
277
277
  switch (a) {
278
278
  case Y:
279
- return he("Suspense");
279
+ return ge("Suspense");
280
280
  case M:
281
- return he("SuspenseList");
281
+ return ge("SuspenseList");
282
282
  }
283
283
  if (typeof a == "object")
284
284
  switch (a.$$typeof) {
285
285
  case k:
286
286
  return pe(a.render);
287
- case N:
287
+ case R:
288
288
  return Re(a.type, l, u);
289
289
  case m: {
290
290
  var T = a, H = T._payload, J = T._init;
@@ -296,7 +296,7 @@ function at() {
296
296
  }
297
297
  return "";
298
298
  }
299
- var ve = Object.prototype.hasOwnProperty, be = {}, Te = y.ReactDebugCurrentFrame;
299
+ var ve = Object.prototype.hasOwnProperty, _e = {}, Te = y.ReactDebugCurrentFrame;
300
300
  function Pe(a) {
301
301
  if (a) {
302
302
  var l = a._owner, u = Re(a.type, a._source, l ? l.type : null);
@@ -319,7 +319,7 @@ function at() {
319
319
  } catch (ne) {
320
320
  L = ne;
321
321
  }
322
- L && !(L instanceof Error) && (Pe(H), w("%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).", T || "React class", u, F, typeof L), Pe(null)), L instanceof Error && !(L.message in be) && (be[L.message] = !0, Pe(H), w("Failed %s type: %s", u, L.message), Pe(null));
322
+ L && !(L instanceof Error) && (Pe(H), w("%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).", T || "React class", u, F, typeof L), Pe(null)), L instanceof Error && !(L.message in _e) && (_e[L.message] = !0, Pe(H), w("Failed %s type: %s", u, L.message), Pe(null));
323
323
  }
324
324
  }
325
325
  }
@@ -327,7 +327,7 @@ function at() {
327
327
  function f(a) {
328
328
  return b(a);
329
329
  }
330
- function _e(a) {
330
+ function fe(a) {
331
331
  {
332
332
  var l = typeof Symbol == "function" && Symbol.toStringTag, u = l && a[Symbol.toStringTag] || a.constructor.name || "Object";
333
333
  return u;
@@ -345,7 +345,7 @@ function at() {
345
345
  }
346
346
  function Oe(a) {
347
347
  if (le(a))
348
- return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _e(a)), Ge(a);
348
+ return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", fe(a)), Ge(a);
349
349
  }
350
350
  var r = y.ReactCurrentOwner, c = {
351
351
  key: !0,
@@ -524,7 +524,7 @@ Check the top-level render call using <` + u + ">.");
524
524
  u = l.propTypes;
525
525
  else if (typeof l == "object" && (l.$$typeof === k || // Note: Memo only checks outer props here.
526
526
  // Inner props are checked in the reconciler.
527
- l.$$typeof === N))
527
+ l.$$typeof === R))
528
528
  u = l.propTypes;
529
529
  else
530
530
  return;
@@ -838,6 +838,7 @@ const rt = "_container_1e1th_1", nt = "_main_1e1th_7", ot = "_kundliHeaderNoBord
838
838
  planPeriodMorning: "Morning",
839
839
  planPeriodAfternoon: "Afternoon",
840
840
  planPeriodEvening: "Evening",
841
+ planPeriodEveningNight: "Evening/Night",
841
842
  planTopicCareerWork: "Career & work",
842
843
  planTopicHealthWellbeing: "Health & wellbeing",
843
844
  planTopicLoveMarriage: "Love & marriage",
@@ -1074,6 +1075,7 @@ const rt = "_container_1e1th_1", nt = "_main_1e1th_7", ot = "_kundliHeaderNoBord
1074
1075
  planPeriodMorning: "सुबह",
1075
1076
  planPeriodAfternoon: "दोपहर",
1076
1077
  planPeriodEvening: "शाम",
1078
+ planPeriodEveningNight: "शाम/रात",
1077
1079
  planTopicCareerWork: "करियर और काम",
1078
1080
  planTopicHealthWellbeing: "सेहत और खुशहाली",
1079
1081
  planTopicLoveMarriage: "प्यार और शादी",
@@ -2356,7 +2358,7 @@ const ia = Ta(null), xt = {
2356
2358
  googleMapsApiKey: k,
2357
2359
  atlasSearchLocalities: Y,
2358
2360
  googleMapsAutocompleteEnabled: M,
2359
- enableConsultationScheduling: N,
2361
+ enableConsultationScheduling: R,
2360
2362
  fetchConsultationSlots: m,
2361
2363
  logoUrl: C,
2362
2364
  reportImageUrl: A,
@@ -2369,7 +2371,7 @@ const ia = Ta(null), xt = {
2369
2371
  onCtaClick: V,
2370
2372
  onBack: j,
2371
2373
  readMoreReviewsHref: O,
2372
- onProceed: R,
2374
+ onProceed: N,
2373
2375
  proceedHref: G,
2374
2376
  originalPriceLabel: ee,
2375
2377
  discountedPriceLabel: ae,
@@ -2378,21 +2380,21 @@ const ia = Ta(null), xt = {
2378
2380
  onProceedGuidance: $,
2379
2381
  onLocaleChange: Q,
2380
2382
  imageComponent: E = Ye,
2381
- resolvedUtmBannerImageUrl: ge,
2383
+ resolvedUtmBannerImageUrl: be,
2382
2384
  children: ie
2383
2385
  }) => {
2384
2386
  const [de, ue] = I("landing"), [X, xe] = I(t ?? "en"), [ye, Ne] = I({
2385
2387
  ...xt,
2386
2388
  ..._
2387
- }), fe = U(!0);
2389
+ }), he = U(!0);
2388
2390
  q(() => {
2389
2391
  const re = Tt();
2390
2392
  re && xe(re);
2391
2393
  }, []), q(() => {
2392
2394
  Pt(X);
2393
2395
  }, [X]), q(() => {
2394
- if (fe.current) {
2395
- fe.current = !1;
2396
+ if (he.current) {
2397
+ he.current = !1;
2396
2398
  return;
2397
2399
  }
2398
2400
  Q?.(X);
@@ -2410,7 +2412,7 @@ const ia = Ta(null), xt = {
2410
2412
  googleMapsApiKey: k,
2411
2413
  atlasSearchLocalities: Y,
2412
2414
  googleMapsAutocompleteEnabled: M,
2413
- enableConsultationScheduling: N,
2415
+ enableConsultationScheduling: R,
2414
2416
  fetchConsultationSlots: m,
2415
2417
  logoUrl: C,
2416
2418
  reportImageUrl: A,
@@ -2423,7 +2425,7 @@ const ia = Ta(null), xt = {
2423
2425
  onCtaClick: V,
2424
2426
  onBack: j,
2425
2427
  readMoreReviewsHref: O,
2426
- onProceed: R,
2428
+ onProceed: N,
2427
2429
  proceedHref: G,
2428
2430
  originalPriceLabel: ee,
2429
2431
  discountedPriceLabel: ae,
@@ -2432,7 +2434,7 @@ const ia = Ta(null), xt = {
2432
2434
  onProceedGuidance: $,
2433
2435
  onLocaleChange: Q,
2434
2436
  imageComponent: E,
2435
- resolvedUtmBannerImageUrl: ge
2437
+ resolvedUtmBannerImageUrl: be
2436
2438
  }),
2437
2439
  [
2438
2440
  t,
@@ -2446,7 +2448,7 @@ const ia = Ta(null), xt = {
2446
2448
  k,
2447
2449
  Y,
2448
2450
  M,
2449
- N,
2451
+ R,
2450
2452
  m,
2451
2453
  C,
2452
2454
  A,
@@ -2459,7 +2461,7 @@ const ia = Ta(null), xt = {
2459
2461
  V,
2460
2462
  j,
2461
2463
  O,
2462
- R,
2464
+ N,
2463
2465
  G,
2464
2466
  ee,
2465
2467
  ae,
@@ -2468,11 +2470,11 @@ const ia = Ta(null), xt = {
2468
2470
  $,
2469
2471
  Q,
2470
2472
  E,
2471
- ge
2473
+ be
2472
2474
  ]
2473
2475
  ), W = Ce(() => {
2474
2476
  ue("form");
2475
- }, [Z.analytics]), he = Ce(() => {
2477
+ }, [Z.analytics]), ge = Ce(() => {
2476
2478
  ue("landing"), Z.onBack?.();
2477
2479
  }, [Z.onBack]), te = Be(
2478
2480
  () => ({
@@ -2483,11 +2485,11 @@ const ia = Ta(null), xt = {
2483
2485
  formValues: ye,
2484
2486
  setFormValues: Ne,
2485
2487
  goToForm: W,
2486
- goToPage: he,
2488
+ goToPage: ge,
2487
2489
  onProceed: Z.onProceed,
2488
2490
  onProceedGuidance: Z.onProceedGuidance
2489
2491
  }),
2490
- [de, X, Z, ye, W, he]
2492
+ [de, X, Z, ye, W, ge]
2491
2493
  );
2492
2494
  return /* @__PURE__ */ e.jsx(ia.Provider, { value: te, children: ie });
2493
2495
  };
@@ -2605,7 +2607,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2605
2607
  k();
2606
2608
  }, h.onerror = () => p(new Error("Failed to load Google Maps API")), document.head.appendChild(h);
2607
2609
  }), Je), Cr = (t) => {
2608
- const { apiKey: n, language: s = "en", restrictCountry: p, deferLoad: d = !1 } = t, [h, _] = I(!1), [P, k] = I([]), [Y, M] = I(!1), [N, m] = I(null), [C, A] = I(!d), z = U(null), v = U(null), y = U(null), w = Ce(() => {
2610
+ const { apiKey: n, language: s = "en", restrictCountry: p, deferLoad: d = !1 } = t, [h, _] = I(!1), [P, k] = I([]), [Y, M] = I(!1), [R, m] = I(null), [C, A] = I(!d), z = U(null), v = U(null), y = U(null), w = Ce(() => {
2609
2611
  d && A(!0);
2610
2612
  }, [d]);
2611
2613
  q(() => {
@@ -2635,7 +2637,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2635
2637
  sessionToken: y.current ?? void 0
2636
2638
  };
2637
2639
  p && (O.componentRestrictions = { country: p });
2638
- const R = await new Promise((G, ee) => {
2640
+ const N = await new Promise((G, ee) => {
2639
2641
  z.current.getPlacePredictions(
2640
2642
  O,
2641
2643
  (ae, B) => {
@@ -2644,7 +2646,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2644
2646
  );
2645
2647
  });
2646
2648
  k(
2647
- R.map((G) => ({
2649
+ N.map((G) => ({
2648
2650
  place_id: G.place_id,
2649
2651
  description: G.description,
2650
2652
  structured_formatting: {
@@ -2679,13 +2681,13 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2679
2681
  }
2680
2682
  );
2681
2683
  y.current = new google.maps.places.AutocompleteSessionToken();
2682
- const R = O.geometry?.location?.lat() || 0, G = O.geometry?.location?.lng() || 0;
2684
+ const N = O.geometry?.location?.lat() || 0, G = O.geometry?.location?.lng() || 0;
2683
2685
  let ee = "", ae = "", B = "";
2684
2686
  return O.address_components?.forEach((D) => {
2685
2687
  D.types.includes("locality") && (ee = D.long_name), D.types.includes("administrative_area_level_1") && (ae = D.long_name), D.types.includes("country") && (B = D.long_name);
2686
2688
  }), {
2687
2689
  display_name: O.formatted_address || "",
2688
- lat: R,
2690
+ lat: N,
2689
2691
  lng: G,
2690
2692
  city: ee,
2691
2693
  state: ae,
@@ -2701,7 +2703,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2701
2703
  isLoaded: h,
2702
2704
  predictions: P,
2703
2705
  isSearching: Y,
2704
- loadError: N,
2706
+ loadError: R,
2705
2707
  searchPlaces: oe,
2706
2708
  getPlaceDetails: S,
2707
2709
  clearPredictions: V,
@@ -2749,13 +2751,13 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2749
2751
  }
2750
2752
  },
2751
2753
  [s, n]
2752
- ), N = Ce(() => d([]), []);
2754
+ ), R = Ce(() => d([]), []);
2753
2755
  return {
2754
2756
  predictions: p,
2755
2757
  isSearching: h,
2756
2758
  loadError: P,
2757
2759
  searchPlaces: M,
2758
- clearPredictions: N
2760
+ clearPredictions: R
2759
2761
  };
2760
2762
  }, Ue = {
2761
2763
  time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
@@ -2845,7 +2847,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2845
2847
  googleMapsAutocompleteEnabled: Y,
2846
2848
  className: M = ""
2847
2849
  }) => {
2848
- const N = Ie(), m = N?.config?.analytics ?? _, C = N?.config.isGlobal ?? !0, A = N?.config?.googleMapsApiKey, z = N?.config?.atlasSearchLocalities, v = N?.config?.googleMapsAutocompleteEnabled, [y, w] = I(!1), [oe, S] = I(""), V = U(null), j = U(null), O = U({}), R = (r) => s({ ...n, ...r }), G = (r, c) => {
2850
+ const R = Ie(), m = R?.config?.analytics ?? _, C = R?.config.isGlobal ?? !0, A = R?.config?.googleMapsApiKey, z = R?.config?.atlasSearchLocalities, v = R?.config?.googleMapsAutocompleteEnabled, [y, w] = I(!1), [oe, S] = I(""), V = U(null), j = U(null), O = U({}), N = (r) => s({ ...n, ...r }), G = (r, c) => {
2849
2851
  if (r === "phone") {
2850
2852
  const K = Lr(c, p, O.current);
2851
2853
  K.shouldTrack && m?.trackPhoneSectionFilled?.({ phone: K.fullPhone });
@@ -2862,7 +2864,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2862
2864
  c.trim() && m?.trackEmailSectionFilled?.({ email: c });
2863
2865
  }, ae = oe.trim().toLowerCase(), B = Ca.filter((r) => ae ? r.country.toLowerCase().includes(ae) || r.code.includes(ae) : !0), D = U(null);
2864
2866
  U(null);
2865
- const $ = U(null), Q = U(0), E = U(null), [ge, ie] = I(!1), [de, ue] = I({ hour12: 12, minute: "00", meridiem: "AM" }), X = (r) => String(r).padStart(2, "0"), xe = (r) => {
2867
+ const $ = U(null), Q = U(0), E = U(null), [be, ie] = I(!1), [de, ue] = I({ hour12: 12, minute: "00", meridiem: "AM" }), X = (r) => String(r).padStart(2, "0"), xe = (r) => {
2866
2868
  const c = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
2867
2869
  if (!c) return r;
2868
2870
  const K = Number(c[1]), Se = c[2], $e = K >= 12 ? "PM" : "AM";
@@ -2876,16 +2878,16 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2876
2878
  const c = Math.min(12, Math.max(1, r.hour12)), K = /^([0-5]\d)$/.test(r.minute) ? r.minute : "00";
2877
2879
  let Se = c % 12;
2878
2880
  return r.meridiem === "PM" && (Se += 12), `${X(Se)}:${K}`;
2879
- }, fe = U(null), [Z, W] = I(!1), he = U(n.birthPlace ?? ""), [te, re] = I(
2881
+ }, he = U(null), [Z, W] = I(!1), ge = U(n.birthPlace ?? ""), [te, re] = I(
2880
2882
  null
2881
- ), ce = P ?? A ?? Br?.VITE_GOOGLE_MAPS_API_KEY, je = k ?? z, pe = Y ?? v ?? !0, me = (n.birthPlace ?? "").trim(), Re = C ? void 0 : "in", be = Cr({
2883
+ ), ce = P ?? A ?? Br?.VITE_GOOGLE_MAPS_API_KEY, je = k ?? z, pe = Y ?? v ?? !0, me = (n.birthPlace ?? "").trim(), Re = C ? void 0 : "in", _e = Cr({
2882
2884
  apiKey: pe ? ce : void 0,
2883
2885
  language: "en",
2884
2886
  restrictCountry: Re
2885
2887
  }), Te = Rr({
2886
2888
  searchLocalities: pe ? void 0 : je,
2887
2889
  restrictCountry: Re
2888
- }), Pe = pe ? be.predictions.map((r) => ({
2890
+ }), Pe = pe ? _e.predictions.map((r) => ({
2889
2891
  id: r.place_id,
2890
2892
  description: r.description,
2891
2893
  secondaryText: r.structured_formatting?.secondary_text,
@@ -2897,17 +2899,17 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2897
2899
  secondaryText: r.secondary_text,
2898
2900
  lat: r.lat,
2899
2901
  lng: r.lng
2900
- })), i = pe ? be.isSearching : Te.isSearching, b = pe ? be.loadError : Te.loadError, f = pe ? !!ce : !!je, _e = pe ? be.searchPlaces : Te.searchPlaces, le = pe ? be.clearPredictions : Te.clearPredictions, Ge = U(() => {
2902
+ })), i = pe ? _e.isSearching : Te.isSearching, b = pe ? _e.loadError : Te.loadError, f = pe ? !!ce : !!je, fe = pe ? _e.searchPlaces : Te.searchPlaces, le = pe ? _e.clearPredictions : Te.clearPredictions, Ge = U(() => {
2901
2903
  });
2902
2904
  Ge.current = () => {
2903
- (n.birthPlace ?? "") !== he.current && R({
2905
+ (n.birthPlace ?? "") !== ge.current && N({
2904
2906
  birthPlace: "",
2905
2907
  birthPlaceLat: void 0,
2906
2908
  birthPlaceLng: void 0
2907
2909
  }), W(!1);
2908
2910
  }, q(() => {
2909
2911
  const r = (c) => {
2910
- fe.current && (fe.current.contains(c.target) || Ge.current());
2912
+ he.current && (he.current.contains(c.target) || Ge.current());
2911
2913
  };
2912
2914
  return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
2913
2915
  }, []), q(() => {
@@ -2928,10 +2930,10 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2928
2930
  return;
2929
2931
  }
2930
2932
  const r = window.setTimeout(async () => {
2931
- await _e(me);
2933
+ await fe(me);
2932
2934
  }, 250);
2933
2935
  return () => window.clearTimeout(r);
2934
- }, [le, Z, me, _e]);
2936
+ }, [le, Z, me, fe]);
2935
2937
  const Oe = (r) => {
2936
2938
  const c = r.current;
2937
2939
  if (!(!c || c.disabled)) {
@@ -2981,7 +2983,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
2981
2983
  onFocus: () => m?.trackNameSectionClicked?.(),
2982
2984
  onChange: (r) => {
2983
2985
  const c = r.target.value;
2984
- R({ fullName: c }), G("fullName", c);
2986
+ N({ fullName: c }), G("fullName", c);
2985
2987
  },
2986
2988
  placeholder: t("formFullNamePlaceholder"),
2987
2989
  autoComplete: "name"
@@ -3018,7 +3020,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3018
3020
  onFocus: () => m?.trackPhoneSectionClicked?.(),
3019
3021
  onChange: (r) => {
3020
3022
  const c = r.target.value;
3021
- R({ phone: va(c) }), G("phone", va(c));
3023
+ N({ phone: va(c) }), G("phone", va(c));
3022
3024
  },
3023
3025
  placeholder: t("formPhonePlaceholder"),
3024
3026
  autoComplete: "tel",
@@ -3090,7 +3092,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3090
3092
  type: "button",
3091
3093
  className: `${o.choiceBtn} ${n.gender === "male" ? o.choiceBtnActive : ""}`,
3092
3094
  onClick: () => {
3093
- R({ gender: "male" }), m?.trackGenderSelected?.({
3095
+ N({ gender: "male" }), m?.trackGenderSelected?.({
3094
3096
  gender: "male"
3095
3097
  });
3096
3098
  },
@@ -3106,7 +3108,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3106
3108
  type: "button",
3107
3109
  className: `${o.choiceBtn} ${n.gender === "female" ? o.choiceBtnActive : ""}`,
3108
3110
  onClick: () => {
3109
- R({ gender: "female" }), m?.trackGenderSelected?.({
3111
+ N({ gender: "female" }), m?.trackGenderSelected?.({
3110
3112
  gender: "female"
3111
3113
  });
3112
3114
  },
@@ -3134,7 +3136,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3134
3136
  value: n.email,
3135
3137
  onFocus: () => m?.trackEmailSectionClicked?.(),
3136
3138
  onChange: (r) => {
3137
- R({ email: r.target.value });
3139
+ N({ email: r.target.value });
3138
3140
  },
3139
3141
  onBlur: ee,
3140
3142
  placeholder: t("formEmailPlaceholder"),
@@ -3193,7 +3195,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3193
3195
  })(),
3194
3196
  onChange: (r) => {
3195
3197
  const c = r.target.value, K = /* @__PURE__ */ new Date(), Se = `${K.getFullYear()}-${X(K.getMonth() + 1)}-${X(K.getDate())}`;
3196
- c && c > Se || (R({ dateOfBirth: c }), G("dateOfBirth", c), $.current = null);
3198
+ c && c > Se || (N({ dateOfBirth: c }), G("dateOfBirth", c), $.current = null);
3197
3199
  },
3198
3200
  onFocus: () => m?.trackDobClicked?.(),
3199
3201
  onClick: () => Oe(D),
@@ -3271,7 +3273,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3271
3273
  onFocus: () => m?.trackTimeClicked?.(),
3272
3274
  onChange: (r) => {
3273
3275
  const c = r.target.value;
3274
- R({ birthTime: c }), G("birthTime", c);
3276
+ N({ birthTime: c }), G("birthTime", c);
3275
3277
  },
3276
3278
  disabled: n.birthTimeUnknown,
3277
3279
  placeholder: "HH:MM AM",
@@ -3302,7 +3304,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3302
3304
  )
3303
3305
  }
3304
3306
  ),
3305
- ge && !n.birthTimeUnknown && /* @__PURE__ */ e.jsxs(
3307
+ be && !n.birthTimeUnknown && /* @__PURE__ */ e.jsxs(
3306
3308
  "div",
3307
3309
  {
3308
3310
  className: o.timePopover,
@@ -3374,7 +3376,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3374
3376
  className: `${o.timePopoverBtn} ${o.timePopoverOk}`,
3375
3377
  onClick: () => {
3376
3378
  const r = Ne(de);
3377
- R({ birthTime: r }), G("birthTime", r), ie(!1);
3379
+ N({ birthTime: r }), G("birthTime", r), ie(!1);
3378
3380
  },
3379
3381
  "aria-label": "OK",
3380
3382
  children: /* @__PURE__ */ e.jsx(
@@ -3414,7 +3416,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3414
3416
  type: "checkbox",
3415
3417
  checked: n.birthTimeUnknown,
3416
3418
  onChange: (r) => {
3417
- m?.trackTimeCheckboxClicked?.(), R({
3419
+ m?.trackTimeCheckboxClicked?.(), N({
3418
3420
  birthTimeUnknown: r.target.checked,
3419
3421
  birthTime: r.target.checked ? "" : n.birthTime
3420
3422
  });
@@ -3471,7 +3473,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3471
3473
  ] })
3472
3474
  ] })
3473
3475
  ] }),
3474
- /* @__PURE__ */ e.jsxs("div", { className: o.inputWrap, ref: fe, children: [
3476
+ /* @__PURE__ */ e.jsxs("div", { className: o.inputWrap, ref: he, children: [
3475
3477
  /* @__PURE__ */ e.jsx(
3476
3478
  "input",
3477
3479
  {
@@ -3481,7 +3483,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3481
3483
  value: n.birthPlace,
3482
3484
  onChange: (r) => {
3483
3485
  const c = r.target.value;
3484
- R({
3486
+ N({
3485
3487
  birthPlace: c,
3486
3488
  birthPlaceLat: void 0,
3487
3489
  birthPlaceLng: void 0
@@ -3510,15 +3512,15 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3510
3512
  className: o.suggestionItem,
3511
3513
  onClick: async () => {
3512
3514
  const c = r.description;
3513
- if (he.current = c, R({
3515
+ if (ge.current = c, N({
3514
3516
  birthPlace: c,
3515
3517
  birthPlaceLat: r.lat,
3516
3518
  birthPlaceLng: r.lng
3517
3519
  }), le(), W(!1), pe) {
3518
- const K = await be.getPlaceDetails(
3520
+ const K = await _e.getPlaceDetails(
3519
3521
  r.id
3520
3522
  );
3521
- K && (he.current = c, s({
3523
+ K && (ge.current = c, s({
3522
3524
  ...n,
3523
3525
  birthPlace: c,
3524
3526
  birthPlaceLat: K.lat,
@@ -3556,7 +3558,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3556
3558
  type: "button",
3557
3559
  className: `${o.choiceBtn} ${n.language_code === "hi" ? o.choiceBtnActive : ""}`,
3558
3560
  onClick: () => {
3559
- R({ language_code: "hi" }), m?.trackLanguageOfReportSelected?.({
3561
+ N({ language_code: "hi" }), m?.trackLanguageOfReportSelected?.({
3560
3562
  language: "hi"
3561
3563
  });
3562
3564
  },
@@ -3572,7 +3574,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3572
3574
  type: "button",
3573
3575
  className: `${o.choiceBtn} ${n.language_code === "en" ? o.choiceBtnActive : ""}`,
3574
3576
  onClick: () => {
3575
- R({ language_code: "en" }), m?.trackLanguageOfReportSelected?.({
3577
+ N({ language_code: "en" }), m?.trackLanguageOfReportSelected?.({
3576
3578
  language: "en"
3577
3579
  });
3578
3580
  },
@@ -3588,7 +3590,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3588
3590
  type: "button",
3589
3591
  className: `${o.choiceBtn} ${n.language_code === "te" ? o.choiceBtnActive : ""}`,
3590
3592
  onClick: () => {
3591
- R({ language_code: "te" }), m?.trackLanguageOfReportSelected?.({
3593
+ N({ language_code: "te" }), m?.trackLanguageOfReportSelected?.({
3592
3594
  language: "te"
3593
3595
  });
3594
3596
  },
@@ -3604,7 +3606,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3604
3606
  type: "button",
3605
3607
  className: `${o.choiceBtn} ${n.language_code === "ta" ? o.choiceBtnActive : ""}`,
3606
3608
  onClick: () => {
3607
- R({ language_code: "ta" }), m?.trackLanguageOfReportSelected?.({
3609
+ N({ language_code: "ta" }), m?.trackLanguageOfReportSelected?.({
3608
3610
  language: "ta"
3609
3611
  });
3610
3612
  },
@@ -3620,7 +3622,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3620
3622
  type: "button",
3621
3623
  className: `${o.choiceBtn} ${n.language_code === "kn" ? o.choiceBtnActive : ""}`,
3622
3624
  onClick: () => {
3623
- R({ language_code: "kn" }), m?.trackLanguageOfReportSelected?.({
3625
+ N({ language_code: "kn" }), m?.trackLanguageOfReportSelected?.({
3624
3626
  language: "kn"
3625
3627
  });
3626
3628
  },
@@ -3636,7 +3638,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3636
3638
  type: "button",
3637
3639
  className: `${o.choiceBtn} ${n.language_code === "gu" ? o.choiceBtnActive : ""}`,
3638
3640
  onClick: () => {
3639
- R({ language_code: "gu" }), m?.trackLanguageOfReportSelected?.({
3641
+ N({ language_code: "gu" }), m?.trackLanguageOfReportSelected?.({
3640
3642
  language: "gu"
3641
3643
  });
3642
3644
  },
@@ -3652,7 +3654,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3652
3654
  type: "button",
3653
3655
  className: `${o.choiceBtn} ${n.language_code === "mr" ? o.choiceBtnActive : ""}`,
3654
3656
  onClick: () => {
3655
- R({ language_code: "mr" }), m?.trackLanguageOfReportSelected?.({
3657
+ N({ language_code: "mr" }), m?.trackLanguageOfReportSelected?.({
3656
3658
  language: "mr"
3657
3659
  });
3658
3660
  },
@@ -3743,7 +3745,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3743
3745
  analytics: k,
3744
3746
  className: Y = "",
3745
3747
  discountedPriceLabel: M,
3746
- discountPillLabel: N,
3748
+ discountPillLabel: R,
3747
3749
  showPlanSheet: m,
3748
3750
  confirmPlan: C,
3749
3751
  planSheetOpen: A,
@@ -3752,7 +3754,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3752
3754
  const v = Ie(), y = v?.config.isGlobal ?? !0, w = v?.config?.variant, oe = Be(
3753
3755
  () => qr(n, y, p),
3754
3756
  [n, y, p]
3755
- ), S = oe === null, V = w === "v1" && v?.config?.showSheet, j = y ? M ?? t("formDiscountedPrice") : V ? "" : "₹499", O = v?.config.imageComponent ?? Ye, R = (ee) => {
3757
+ ), S = oe === null, V = w === "v1" && v?.config?.showSheet, j = y ? M ?? t("formDiscountedPrice") : V ? "" : "₹499", O = v?.config.imageComponent ?? Ye, N = (ee) => {
3756
3758
  if (ee.preventDefault(), w === "v1" && !S && k?.trackKundliDetailedClicked?.(), !S) {
3757
3759
  oe && d?.(oe);
3758
3760
  return;
@@ -3771,7 +3773,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
3771
3773
  {
3772
3774
  href: P,
3773
3775
  disabled: w === "v1" ? !1 : !S,
3774
- onClick: R,
3776
+ onClick: N,
3775
3777
  "aria-label": t("formPriceAria"),
3776
3778
  className: w === "v1" && S ? Ke.ctaFilled : w === "v1" ? Ke.ctaButton : void 0,
3777
3779
  children: w === "v1" ? S ? /* @__PURE__ */ e.jsxs("span", { className: Ke.ctaFilledContent, children: [
@@ -4129,52 +4131,52 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4129
4131
  reportLanguage: _,
4130
4132
  isPostPayment: P = !1
4131
4133
  }) => {
4132
- const k = Ie(), Y = k?.config.imageComponent ?? Ye, M = k?.config.fetchConsultationSlots, N = k?.config.isGlobal ?? !0, m = _ ?? k?.formValues?.language_code, C = P ? "post_payment" : "pre_payment", [A, z] = I(!1), [v, y] = I(!1), [w, oe] = I({}), [S, V] = I("en"), [j, O] = I(!1), R = U(null), G = Be(
4134
+ const k = Ie(), Y = k?.config.imageComponent ?? Ye, M = k?.config.fetchConsultationSlots, R = k?.config.isGlobal ?? !0, m = _ ?? k?.formValues?.language_code, C = P ? "post_payment" : "pre_payment", [A, z] = I(!1), [v, y] = I(!1), [w, oe] = I({}), [S, V] = I("en"), [j, O] = I(!1), N = U(null), G = Be(
4133
4135
  () => w[S]?.days ?? [],
4134
4136
  [w, S]
4135
- ), [ee, ae] = I(""), [B, D] = I(""), [$, Q] = I("morning"), [E, ge] = I(null), ie = U(!1), de = U(null), ue = U({}), [X, xe] = I(null), ye = U(null), Ne = U(
4137
+ ), [ee, ae] = I(""), [B, D] = I(""), [$, Q] = I("morning"), [E, be] = I(null), ie = U(!1), de = U(null), ue = U({}), [X, xe] = I(null), ye = U(null), Ne = U(
4136
4138
  {}
4137
- ), [fe, Z] = I(null), W = Be(
4139
+ ), [he, Z] = I(null), W = Be(
4138
4140
  () => G.filter((i) => i.has_availability && i.slots.length > 0),
4139
4141
  [G]
4140
- ), he = Ce(() => {
4142
+ ), ge = Ce(() => {
4141
4143
  M && (z(!0), y(!1), M().then((i) => {
4142
4144
  const b = i ?? {}, f = no(
4143
4145
  b,
4144
4146
  m,
4145
- N
4147
+ R
4146
4148
  );
4147
4149
  oe(b), V(f), h?.trackConsultationLanguageDefaultSelected?.({
4148
4150
  language: ta(f),
4149
4151
  status: C
4150
4152
  });
4151
- const _e = (b[f]?.days ?? []).filter(
4153
+ const fe = (b[f]?.days ?? []).filter(
4152
4154
  (le) => le.has_availability && le.slots.length > 0
4153
4155
  ).length;
4154
4156
  h?.trackAstrologerAvailabilityServed?.({
4155
4157
  astrologers_shown: p.map((le) => le.name),
4156
- dates_available_count: _e,
4158
+ dates_available_count: fe,
4157
4159
  status: C
4158
4160
  });
4159
4161
  }).catch(() => {
4160
4162
  y(!0);
4161
4163
  }).finally(() => z(!1)));
4162
- }, [M, N, m, h, p, C]);
4164
+ }, [M, R, m, h, p, C]);
4163
4165
  q(() => {
4164
4166
  if (!t) {
4165
4167
  ie.current = !1;
4166
4168
  return;
4167
4169
  }
4168
- ae(""), O(!1), he();
4170
+ ae(""), O(!1), ge();
4169
4171
  }, [t]), q(() => {
4170
4172
  if (!j) return;
4171
4173
  const i = (b) => {
4172
- R.current && !R.current.contains(b.target) && O(!1);
4174
+ N.current && !N.current.contains(b.target) && O(!1);
4173
4175
  };
4174
4176
  return document.addEventListener("mousedown", i), () => document.removeEventListener("mousedown", i);
4175
4177
  }, [j]), q(() => {
4176
4178
  if (!W.length) {
4177
- D(""), ge(null);
4179
+ D(""), be(null);
4178
4180
  return;
4179
4181
  }
4180
4182
  const i = W[0];
@@ -4195,7 +4197,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4195
4197
  }, [te]);
4196
4198
  q(() => {
4197
4199
  if (!re.length) {
4198
- Q("morning"), ge(null);
4200
+ Q("morning"), be(null);
4199
4201
  return;
4200
4202
  }
4201
4203
  Q(
@@ -4210,10 +4212,10 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4210
4212
  xe(null);
4211
4213
  return;
4212
4214
  }
4213
- const _e = b.getBoundingClientRect(), le = f.getBoundingClientRect();
4215
+ const fe = b.getBoundingClientRect(), le = f.getBoundingClientRect();
4214
4216
  xe({
4215
- left: le.left - _e.left,
4216
- top: le.top - _e.top,
4217
+ left: le.left - fe.left,
4218
+ top: le.top - fe.top,
4217
4219
  width: le.width,
4218
4220
  height: le.height
4219
4221
  });
@@ -4226,16 +4228,16 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4226
4228
  Z(null);
4227
4229
  return;
4228
4230
  }
4229
- const _e = b.getBoundingClientRect(), le = f.getBoundingClientRect();
4231
+ const fe = b.getBoundingClientRect(), le = f.getBoundingClientRect();
4230
4232
  Z({
4231
- left: le.left - _e.left,
4233
+ left: le.left - fe.left,
4232
4234
  width: le.width
4233
4235
  });
4234
4236
  };
4235
4237
  return i(), window.addEventListener("resize", i), () => window.removeEventListener("resize", i);
4236
4238
  }, [$, re]), q(() => {
4237
4239
  if (!ce.length) {
4238
- ge(null);
4240
+ be(null);
4239
4241
  return;
4240
4242
  }
4241
4243
  if (!(E && ce.some((b) => b.start === E.start))) {
@@ -4246,7 +4248,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4246
4248
  status: C
4247
4249
  });
4248
4250
  }
4249
- ge(
4251
+ be(
4250
4252
  (b) => b && ce.some((f) => f.start === b.start) ? b : ce[0]
4251
4253
  );
4252
4254
  }, [ce]), q(() => {
@@ -4269,7 +4271,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4269
4271
  status: C
4270
4272
  });
4271
4273
  }, Re = (i) => {
4272
- ge(i), h?.trackSlotSelected?.({
4274
+ be(i), h?.trackSlotSelected?.({
4273
4275
  date: B,
4274
4276
  time: aa(i.start),
4275
4277
  day_part: i.period,
@@ -4287,7 +4289,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4287
4289
  topic: ee,
4288
4290
  language: S
4289
4291
  }));
4290
- }, be = (i) => {
4292
+ }, _e = (i) => {
4291
4293
  ae(i), h?.trackGuidanceTopicSelected?.({ topic: i, status: C });
4292
4294
  }, Te = (i) => {
4293
4295
  h?.trackConsultationLanguageChanged?.({
@@ -4321,7 +4323,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4321
4323
  /* @__PURE__ */ e.jsxs("div", { className: g.content, children: [
4322
4324
  /* @__PURE__ */ e.jsxs("div", { className: g.languageRow, children: [
4323
4325
  /* @__PURE__ */ e.jsx("span", { className: g.languageLabel, children: d?.("planConsultationLanguageLabel") ?? "Your consultation language" }),
4324
- /* @__PURE__ */ e.jsxs("div", { className: g.languageDropdown, ref: R, children: [
4326
+ /* @__PURE__ */ e.jsxs("div", { className: g.languageDropdown, ref: N, children: [
4325
4327
  /* @__PURE__ */ e.jsxs(
4326
4328
  "button",
4327
4329
  {
@@ -4392,7 +4394,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4392
4394
  ] }),
4393
4395
  !A && v && /* @__PURE__ */ e.jsxs("div", { className: g.stateMessage, children: [
4394
4396
  d?.("planSlotsLoadError") ?? "Couldn't load slots. Please try again.",
4395
- /* @__PURE__ */ e.jsx("button", { type: "button", className: g.retryBtn, onClick: he, children: d?.("planRetry") ?? "Retry" })
4397
+ /* @__PURE__ */ e.jsx("button", { type: "button", className: g.retryBtn, onClick: ge, children: d?.("planRetry") ?? "Retry" })
4396
4398
  ] }),
4397
4399
  !A && !v && W.length === 0 && /* @__PURE__ */ e.jsxs("div", { className: g.emptyState, children: [
4398
4400
  /* @__PURE__ */ e.jsx("span", { className: g.emptyStateIcon, children: /* @__PURE__ */ e.jsx(tn, {}) }),
@@ -4414,7 +4416,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4414
4416
  }
4415
4417
  ),
4416
4418
  W.map((i) => {
4417
- const b = i.date === B, { dayLabel: f, dayNum: _e } = Zn(i.date);
4419
+ const b = i.date === B, { dayLabel: f, dayNum: fe } = Zn(i.date);
4418
4420
  return /* @__PURE__ */ e.jsxs(Va, { children: [
4419
4421
  /* @__PURE__ */ e.jsxs(
4420
4422
  "button",
@@ -4432,7 +4434,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4432
4434
  onClick: () => pe(i.date),
4433
4435
  children: [
4434
4436
  /* @__PURE__ */ e.jsx("span", { className: g.dateTabLabel, children: d?.(f) ?? f }),
4435
- /* @__PURE__ */ e.jsx("span", { className: g.dateTabNum, children: _e })
4437
+ /* @__PURE__ */ e.jsx("span", { className: g.dateTabNum, children: fe })
4436
4438
  ]
4437
4439
  }
4438
4440
  ),
@@ -4441,24 +4443,24 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4441
4443
  })
4442
4444
  ] }),
4443
4445
  /* @__PURE__ */ e.jsxs("div", { className: g.periodTabs, ref: ye, role: "tablist", "aria-label": "Time of day", children: [
4444
- fe && /* @__PURE__ */ e.jsx(
4446
+ he && /* @__PURE__ */ e.jsx(
4445
4447
  "span",
4446
4448
  {
4447
4449
  className: g.periodTabIndicator,
4448
4450
  style: {
4449
- transform: `translateX(${fe.left}px)`,
4450
- width: fe.width
4451
+ transform: `translateX(${he.left}px)`,
4452
+ width: he.width
4451
4453
  },
4452
4454
  "aria-hidden": "true"
4453
4455
  }
4454
4456
  ),
4455
4457
  re.map((i) => {
4456
- const b = ii[i];
4458
+ const b = ii[i], f = i === "evening" && R ? "planPeriodEveningNight" : li[i];
4457
4459
  return /* @__PURE__ */ e.jsxs(
4458
4460
  "button",
4459
4461
  {
4460
- ref: (f) => {
4461
- Ne.current[i] = f;
4462
+ ref: (fe) => {
4463
+ Ne.current[i] = fe;
4462
4464
  },
4463
4465
  type: "button",
4464
4466
  className: [
@@ -4470,7 +4472,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4470
4472
  onClick: () => me(i),
4471
4473
  children: [
4472
4474
  /* @__PURE__ */ e.jsx(b, {}),
4473
- d?.(li[i]) ?? i.charAt(0).toUpperCase() + i.slice(1)
4475
+ d?.(f) ?? (i === "evening" && R ? "Evening/Night" : i.charAt(0).toUpperCase() + i.slice(1))
4474
4476
  ]
4475
4477
  },
4476
4478
  i
@@ -4514,7 +4516,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4514
4516
  ].filter(Boolean).join(" "),
4515
4517
  role: "radio",
4516
4518
  "aria-checked": ee === i.id,
4517
- onClick: () => be(i.id),
4519
+ onClick: () => _e(i.id),
4518
4520
  children: d?.(i.labelKey) ?? i.label
4519
4521
  },
4520
4522
  i.id
@@ -4620,14 +4622,14 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4620
4622
  analytics: P,
4621
4623
  enableConsultationScheduling: k
4622
4624
  }) => {
4623
- const Y = Ie(), M = Y?.config.isGlobal ?? !0, N = k ?? Y?.config.enableConsultationScheduling ?? !1, m = d ?? ui(M), C = s?.id || m.find((S) => S.badge)?.id || m[0]?.id || "", A = U(null), z = U(null), v = U(!1), [y, w] = I(!1);
4625
+ const Y = Ie(), M = Y?.config.isGlobal ?? !0, R = k ?? Y?.config.enableConsultationScheduling ?? !1, m = d ?? ui(M), C = s?.id || m.find((S) => S.badge)?.id || m[0]?.id || "", A = U(null), z = U(null), v = U(!1), [y, w] = I(!1);
4624
4626
  q(() => {
4625
4627
  if (t) {
4626
4628
  if (!s) {
4627
4629
  const S = m.find((V) => V.badge) ?? m[0];
4628
4630
  S && p(S);
4629
4631
  }
4630
- v.current || (P?.trackPlanPageViewed?.(), N && P?.trackPlanScreenViewed?.({
4632
+ v.current || (P?.trackPlanPageViewed?.(), R && P?.trackPlanScreenViewed?.({
4631
4633
  plans_shown: m.map((S) => S.id),
4632
4634
  default_selected_plan: s?.id || m.find((S) => S.badge)?.id || m[0]?.id || ""
4633
4635
  }), v.current = !0);
@@ -4655,9 +4657,9 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4655
4657
  "div",
4656
4658
  {
4657
4659
  ref: A,
4658
- className: N ? x.sheetFullScreen : x.sheet,
4660
+ className: R ? x.sheetFullScreen : x.sheet,
4659
4661
  children: [
4660
- N ? /* @__PURE__ */ e.jsxs("div", { className: x.headerFull, children: [
4662
+ R ? /* @__PURE__ */ e.jsxs("div", { className: x.headerFull, children: [
4661
4663
  /* @__PURE__ */ e.jsx(
4662
4664
  "button",
4663
4665
  {
@@ -4694,7 +4696,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4694
4696
  j && (P?.trackPlanSelected?.({
4695
4697
  planId: j.id,
4696
4698
  planName: j.title,
4697
- ...N ? {
4699
+ ...R ? {
4698
4700
  price: j.price,
4699
4701
  includes_consultation: !!(j.astrologers && j.astrologers.length > 0),
4700
4702
  cta_label: j.astrologers && j.astrologers.length > 0 ? _?.("planSelectConsultationSlot") ?? "Select consultation slot →" : _?.("planProceedToPayment") ?? "Proceed to Payment"
@@ -4713,7 +4715,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4713
4715
  disabled: !s,
4714
4716
  onClick: () => {
4715
4717
  if (s) {
4716
- if (N && s.astrologers && s.astrologers.length > 0) {
4718
+ if (R && s.astrologers && s.astrologers.length > 0) {
4717
4719
  P?.trackSelectConsultationSlotClicked?.({
4718
4720
  planId: s.id,
4719
4721
  planName: s.title
@@ -4728,17 +4730,17 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4728
4730
  P?.trackPlanProceedClicked?.({
4729
4731
  planId: s.id,
4730
4732
  planName: s.title,
4731
- ...N ? { cta_type: "proceed", next_step: "payment" } : {}
4733
+ ...R ? { cta_type: "proceed", next_step: "payment" } : {}
4732
4734
  }), h(s), n();
4733
4735
  }
4734
4736
  },
4735
- children: s ? N && s.astrologers && s.astrologers.length > 0 ? _?.("planSelectConsultationSlot") ?? "Select consultation slot →" : _?.("planProceedToPayment") ?? s.price + "Proceed to Payment" : "Select a plan"
4737
+ children: s ? R && s.astrologers && s.astrologers.length > 0 ? _?.("planSelectConsultationSlot") ?? "Select consultation slot →" : _?.("planProceedToPayment") ?? s.price + "Proceed to Payment" : "Select a plan"
4736
4738
  }
4737
4739
  ) })
4738
4740
  ]
4739
4741
  }
4740
4742
  ),
4741
- N && s?.astrologers && s.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
4743
+ R && s?.astrologers && s.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
4742
4744
  ci,
4743
4745
  {
4744
4746
  isOpen: y,
@@ -4782,11 +4784,11 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4782
4784
  originalPriceLabel: k,
4783
4785
  discountedPriceLabel: Y,
4784
4786
  googleMapsApiKey: M = "",
4785
- atlasSearchLocalities: N,
4787
+ atlasSearchLocalities: R,
4786
4788
  googleMapsAutocompleteEnabled: m,
4787
4789
  analytics: C
4788
4790
  }) => {
4789
- const A = Ie(), z = yt(), v = A !== null, y = v ? A.locale : n, w = y ?? z?.locale ?? "en", [oe, S] = I(w), V = v ? A.locale : oe, j = v ? A.setLocale : S, [O, R] = I(!1), G = U(null), ee = U(
4791
+ const A = Ie(), z = yt(), v = A !== null, y = v ? A.locale : n, w = y ?? z?.locale ?? "en", [oe, S] = I(w), V = v ? A.locale : oe, j = v ? A.setLocale : S, [O, N] = I(!1), G = U(null), ee = U(
4790
4792
  y
4791
4793
  ), ae = U(
4792
4794
  z?.locale
@@ -4806,7 +4808,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4806
4808
  ...gi,
4807
4809
  ...d,
4808
4810
  phone: d?.phone ?? ""
4809
- }), Q = v ? A?.config.isGlobal ?? !0 : !0, E = v ? A.formValues : D, ge = v ? A.setFormValues : $, [ie, de] = I(
4811
+ }), Q = v ? A?.config.isGlobal ?? !0 : !0, E = v ? A.formValues : D, be = v ? A.setFormValues : $, [ie, de] = I(
4810
4812
  () => hi(E.phoneCountryCode, Q)
4811
4813
  ), ue = U(
4812
4814
  !!(E.phoneCountryCode && ra.includes(E.phoneCountryCode))
@@ -4824,15 +4826,15 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4824
4826
  const f = E.phoneCountryCode;
4825
4827
  f && ra.includes(f) && f !== ie && (ue.current = !0, de(f));
4826
4828
  }, [v, E.phoneCountryCode]);
4827
- const Ne = v ? A.goToPage : p, fe = v ? A.onProceed : h, Z = v ? A.onProceedGuidance : _, W = v ? A.config.proceedHref : P, he = v ? A.config.originalPriceLabel : k, te = v ? A.config.discountedPriceLabel : Y, re = v ? A.config.showLanguageSelector ?? !0 : s, ce = (v ? A?.config?.analytics : C) ?? C;
4829
+ const Ne = v ? A.goToPage : p, he = v ? A.onProceed : h, Z = v ? A.onProceedGuidance : _, W = v ? A.config.proceedHref : P, ge = v ? A.config.originalPriceLabel : k, te = v ? A.config.discountedPriceLabel : Y, re = v ? A.config.showLanguageSelector ?? !0 : s, ce = (v ? A?.config?.analytics : C) ?? C;
4828
4830
  q(() => {
4829
4831
  if (!O) return;
4830
- const f = (_e) => {
4831
- G.current && !G.current.contains(_e.target) && R(!1);
4832
+ const f = (fe) => {
4833
+ G.current && !G.current.contains(fe.target) && N(!1);
4832
4834
  };
4833
4835
  return document.addEventListener("mousedown", f), () => document.removeEventListener("mousedown", f);
4834
4836
  }, [O]);
4835
- const [je, pe] = I(!1), [me, Re] = I(null), ve = U(null), be = Ce((f) => {
4837
+ const [je, pe] = I(!1), [me, Re] = I(null), ve = U(null), _e = Ce((f) => {
4836
4838
  ve.current = f, pe(!0);
4837
4839
  }, []), Te = U(!1);
4838
4840
  q(() => {
@@ -4840,11 +4842,11 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4840
4842
  return;
4841
4843
  Te.current = !0;
4842
4844
  const f = (E.phone ?? "").trim();
4843
- be({
4845
+ _e({
4844
4846
  ...E,
4845
4847
  phone: f && `${ie}-${f}`
4846
4848
  });
4847
- }, [v, A?.config.autoOpenPlanSheet, A?.config.variant, E, ie, be]);
4849
+ }, [v, A?.config.autoOpenPlanSheet, A?.config.variant, E, ie, _e]);
4848
4850
  const Pe = Ce(() => {
4849
4851
  if (!ve.current || !me) return;
4850
4852
  ce?.trackPlanProceedClicked?.({
@@ -4854,15 +4856,15 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4854
4856
  currency: Q ? "USD" : "INR"
4855
4857
  });
4856
4858
  const f = { ...ve.current, _selectedPlan: me };
4857
- me.id === Ra && Z ? Z(f) : fe?.(f), pe(!1), ve.current = null;
4858
- }, [me, fe, Z]), i = A?.config.imageComponent ?? Ye, b = re ? /* @__PURE__ */ e.jsxs("div", { className: Le.langDropdownWrap, ref: G, children: [
4859
+ me.id === Ra && Z ? Z(f) : he?.(f), pe(!1), ve.current = null;
4860
+ }, [me, he, Z]), i = A?.config.imageComponent ?? Ye, b = re ? /* @__PURE__ */ e.jsxs("div", { className: Le.langDropdownWrap, ref: G, children: [
4859
4861
  /* @__PURE__ */ e.jsxs(
4860
4862
  "button",
4861
4863
  {
4862
4864
  type: "button",
4863
4865
  className: Le.langTrigger,
4864
4866
  onClick: () => {
4865
- ce?.trackLanguageClickedFe?.({ language: V }), R((f) => !f);
4867
+ ce?.trackLanguageClickedFe?.({ language: V }), N((f) => !f);
4866
4868
  },
4867
4869
  "aria-expanded": O,
4868
4870
  "aria-haspopup": "listbox",
@@ -4899,7 +4901,7 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4899
4901
  "aria-selected": f === V,
4900
4902
  className: Le.langOption,
4901
4903
  onClick: () => {
4902
- ce?.trackLanguageChangedFe?.({ newLanguage: f }), j(f), R(!1);
4904
+ ce?.trackLanguageChangedFe?.({ newLanguage: f }), j(f), N(!1);
4903
4905
  },
4904
4906
  children: ka[f]
4905
4907
  },
@@ -4926,9 +4928,9 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4926
4928
  {
4927
4929
  t: B,
4928
4930
  values: E,
4929
- onChange: ge,
4931
+ onChange: be,
4930
4932
  googleMapsApiKey: M,
4931
- atlasSearchLocalities: N,
4933
+ atlasSearchLocalities: R,
4932
4934
  googleMapsAutocompleteEnabled: m,
4933
4935
  phoneIsdCode: ie,
4934
4936
  onPhoneIsdCodeChange: xe,
@@ -4943,13 +4945,13 @@ const wr = (t, n) => typeof window > "u" || window.google?.maps?.places ? Promis
4943
4945
  t: B,
4944
4946
  values: E,
4945
4947
  phoneIsdCode: ie,
4946
- onProceed: fe,
4948
+ onProceed: he,
4947
4949
  onProceedGuidance: Z,
4948
4950
  href: W,
4949
- originalPriceLabel: he,
4951
+ originalPriceLabel: ge,
4950
4952
  discountedPriceLabel: te,
4951
4953
  analytics: ce,
4952
- showPlanSheet: be,
4954
+ showPlanSheet: _e,
4953
4955
  confirmPlan: Pe,
4954
4956
  planSheetOpen: je,
4955
4957
  selectedPlan: me
@@ -5073,4 +5075,4 @@ export {
5073
5075
  xa as t,
5074
5076
  yt as u
5075
5077
  };
5076
- //# sourceMappingURL=analytics-B0DrAvOD.js.map
5078
+ //# sourceMappingURL=analytics-xa-qImsg.js.map