@srimandir/kundli-generator 7.5.7 → 7.5.8

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,4 +1,4 @@
1
- import er, { useContext as rr, createContext as br, useState as U, useRef as B, useEffect as V, useMemo as Xe, useCallback as ke } from "react";
1
+ import er, { useContext as rr, createContext as br, useState as K, useRef as B, useEffect as V, useMemo as Xe, useCallback as ye } from "react";
2
2
  import { FormSectionHeader as Ur, FooterCTAButton as Gr, FooterShell as Kr, CircularMarquee as Wr, footerShellStyles as Ne, PageHeader as Hr } from "@srimandir/astrology-common";
3
3
  var We = { exports: {} }, Ue = {};
4
4
  var ur;
@@ -46,7 +46,7 @@ function qr() {
46
46
  }
47
47
  var z = !1, H = !1, D = !1, $ = !1, C = !1, S;
48
48
  S = /* @__PURE__ */ Symbol.for("react.module.reference");
49
- function re(e) {
49
+ function te(e) {
50
50
  return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || C || e === y || e === F || e === P || $ || e === I || z || H || D || typeof e == "object" && e !== null && (e.$$typeof === u || e.$$typeof === E || e.$$typeof === g || e.$$typeof === T || e.$$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
@@ -108,18 +108,18 @@ function qr() {
108
108
  }
109
109
  return null;
110
110
  }
111
- var K = Object.assign, Y = 0, G, Pe, Z, Q, ae, te, Ae;
112
- function _e() {
111
+ var U = Object.assign, Y = 0, G, Ce, Z, ne, Q, ae, xe;
112
+ function ve() {
113
113
  }
114
- _e.__reactDisabledLog = !0;
115
- function le() {
114
+ ve.__reactDisabledLog = !0;
115
+ function Ae() {
116
116
  {
117
117
  if (Y === 0) {
118
- G = console.log, Pe = console.info, Z = console.warn, Q = console.error, ae = console.group, te = console.groupCollapsed, Ae = console.groupEnd;
118
+ G = console.log, Ce = console.info, Z = console.warn, ne = console.error, Q = console.group, ae = console.groupCollapsed, xe = console.groupEnd;
119
119
  var e = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
122
- value: _e,
122
+ value: ve,
123
123
  writable: !0
124
124
  };
125
125
  Object.defineProperties(console, {
@@ -135,7 +135,7 @@ function qr() {
135
135
  Y++;
136
136
  }
137
137
  }
138
- function ue() {
138
+ function ee() {
139
139
  {
140
140
  if (Y--, Y === 0) {
141
141
  var e = {
@@ -144,65 +144,65 @@ function qr() {
144
144
  writable: !0
145
145
  };
146
146
  Object.defineProperties(console, {
147
- log: K({}, e, {
147
+ log: U({}, e, {
148
148
  value: G
149
149
  }),
150
- info: K({}, e, {
151
- value: Pe
150
+ info: U({}, e, {
151
+ value: Ce
152
152
  }),
153
- warn: K({}, e, {
153
+ warn: U({}, e, {
154
154
  value: Z
155
155
  }),
156
- error: K({}, e, {
156
+ error: U({}, e, {
157
+ value: ne
158
+ }),
159
+ group: U({}, e, {
157
160
  value: Q
158
161
  }),
159
- group: K({}, e, {
162
+ groupCollapsed: U({}, e, {
160
163
  value: ae
161
164
  }),
162
- groupCollapsed: K({}, e, {
163
- value: te
164
- }),
165
- groupEnd: K({}, e, {
166
- value: Ae
165
+ groupEnd: U({}, e, {
166
+ value: xe
167
167
  })
168
168
  });
169
169
  }
170
170
  Y < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
171
  }
172
172
  }
173
- var ee = f.ReactCurrentDispatcher, me;
174
- function ce(e, i, l) {
173
+ var re = f.ReactCurrentDispatcher, de;
174
+ function me(e, i, l) {
175
175
  {
176
- if (me === void 0)
176
+ if (de === void 0)
177
177
  try {
178
178
  throw Error();
179
179
  } catch (N) {
180
180
  var p = N.stack.trim().match(/\n( *(at )?)/);
181
- me = p && p[1] || "";
181
+ de = p && p[1] || "";
182
182
  }
183
183
  return `
184
- ` + me + e;
184
+ ` + de + e;
185
185
  }
186
186
  }
187
- var fe = !1, pe;
187
+ var oe = !1, fe;
188
188
  {
189
- var be = typeof WeakMap == "function" ? WeakMap : Map;
190
- pe = new be();
189
+ var ge = typeof WeakMap == "function" ? WeakMap : Map;
190
+ fe = new ge();
191
191
  }
192
192
  function je(e, i) {
193
- if (!e || fe)
193
+ if (!e || oe)
194
194
  return "";
195
195
  {
196
- var l = pe.get(e);
196
+ var l = fe.get(e);
197
197
  if (l !== void 0)
198
198
  return l;
199
199
  }
200
200
  var p;
201
- fe = !0;
201
+ oe = !0;
202
202
  var N = Error.prepareStackTrace;
203
203
  Error.prepareStackTrace = void 0;
204
204
  var L;
205
- L = ee.current, ee.current = null, le();
205
+ L = re.current, re.current = null, Ae();
206
206
  try {
207
207
  if (i) {
208
208
  var A = function() {
@@ -215,111 +215,111 @@ function qr() {
215
215
  }), typeof Reflect == "object" && Reflect.construct) {
216
216
  try {
217
217
  Reflect.construct(A, []);
218
- } catch (se) {
219
- p = se;
218
+ } catch (ce) {
219
+ p = ce;
220
220
  }
221
221
  Reflect.construct(e, [], A);
222
222
  } else {
223
223
  try {
224
224
  A.call();
225
- } catch (se) {
226
- p = se;
225
+ } catch (ce) {
226
+ p = ce;
227
227
  }
228
228
  e.call(A.prototype);
229
229
  }
230
230
  } else {
231
231
  try {
232
232
  throw Error();
233
- } catch (se) {
234
- p = se;
233
+ } catch (ce) {
234
+ p = ce;
235
235
  }
236
236
  e();
237
237
  }
238
- } catch (se) {
239
- if (se && p && typeof se.stack == "string") {
240
- for (var w = se.stack.split(`
241
- `), ie = p.stack.split(`
242
- `), W = w.length - 1, q = ie.length - 1; W >= 1 && q >= 0 && w[W] !== ie[q]; )
238
+ } catch (ce) {
239
+ if (ce && p && typeof ce.stack == "string") {
240
+ for (var w = ce.stack.split(`
241
+ `), le = p.stack.split(`
242
+ `), W = w.length - 1, q = le.length - 1; W >= 1 && q >= 0 && w[W] !== le[q]; )
243
243
  q--;
244
244
  for (; W >= 1 && q >= 0; W--, q--)
245
- if (w[W] !== ie[q]) {
245
+ if (w[W] !== le[q]) {
246
246
  if (W !== 1 || q !== 1)
247
247
  do
248
- if (W--, q--, q < 0 || w[W] !== ie[q]) {
249
- var ge = `
248
+ if (W--, q--, q < 0 || w[W] !== le[q]) {
249
+ var he = `
250
250
  ` + w[W].replace(" at new ", " at ");
251
- return e.displayName && ge.includes("<anonymous>") && (ge = ge.replace("<anonymous>", e.displayName)), typeof e == "function" && pe.set(e, ge), ge;
251
+ return e.displayName && he.includes("<anonymous>") && (he = he.replace("<anonymous>", e.displayName)), typeof e == "function" && fe.set(e, he), he;
252
252
  }
253
253
  while (W >= 1 && q >= 0);
254
254
  break;
255
255
  }
256
256
  }
257
257
  } finally {
258
- fe = !1, ee.current = L, ue(), Error.prepareStackTrace = N;
258
+ oe = !1, re.current = L, ee(), Error.prepareStackTrace = N;
259
259
  }
260
- var Le = e ? e.displayName || e.name : "", Te = Le ? ce(Le) : "";
261
- return typeof e == "function" && pe.set(e, Te), Te;
260
+ var Le = e ? e.displayName || e.name : "", Te = Le ? me(Le) : "";
261
+ return typeof e == "function" && fe.set(e, Te), Te;
262
262
  }
263
- function ne(e, i, l) {
263
+ function ie(e, i, l) {
264
264
  return je(e, !1);
265
265
  }
266
- function oe(e) {
266
+ function se(e) {
267
267
  var i = e.prototype;
268
268
  return !!(i && i.isReactComponent);
269
269
  }
270
- function Ce(e, i, l) {
270
+ function Pe(e, i, l) {
271
271
  if (e == null)
272
272
  return "";
273
273
  if (typeof e == "function")
274
- return je(e, oe(e));
274
+ return je(e, se(e));
275
275
  if (typeof e == "string")
276
- return ce(e);
276
+ return me(e);
277
277
  switch (e) {
278
278
  case F:
279
- return ce("Suspense");
279
+ return me("Suspense");
280
280
  case P:
281
- return ce("SuspenseList");
281
+ return me("SuspenseList");
282
282
  }
283
283
  if (typeof e == "object")
284
284
  switch (e.$$typeof) {
285
285
  case k:
286
- return ne(e.render);
286
+ return ie(e.render);
287
287
  case E:
288
- return Ce(e.type, i, l);
288
+ return Pe(e.type, i, l);
289
289
  case u: {
290
290
  var p = e, N = p._payload, L = p._init;
291
291
  try {
292
- return Ce(L(N), i, l);
292
+ return Pe(L(N), i, l);
293
293
  } catch {
294
294
  }
295
295
  }
296
296
  }
297
297
  return "";
298
298
  }
299
- var ye = Object.prototype.hasOwnProperty, de = {}, ve = f.ReactDebugCurrentFrame;
300
- function we(e) {
299
+ var _e = Object.prototype.hasOwnProperty, ue = {}, be = f.ReactDebugCurrentFrame;
300
+ function ke(e) {
301
301
  if (e) {
302
- var i = e._owner, l = Ce(e.type, e._source, i ? i.type : null);
303
- ve.setExtraStackFrame(l);
302
+ var i = e._owner, l = Pe(e.type, e._source, i ? i.type : null);
303
+ be.setExtraStackFrame(l);
304
304
  } else
305
- ve.setExtraStackFrame(null);
305
+ be.setExtraStackFrame(null);
306
306
  }
307
307
  function Se(e, i, l, p, N) {
308
308
  {
309
- var L = Function.call.bind(ye);
309
+ var L = Function.call.bind(_e);
310
310
  for (var A in e)
311
311
  if (L(e, A)) {
312
312
  var w = void 0;
313
313
  try {
314
314
  if (typeof e[A] != "function") {
315
- var ie = Error((p || "React class") + ": " + l + " type `" + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[A] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
- throw ie.name = "Invariant Violation", ie;
315
+ var le = Error((p || "React class") + ": " + l + " type `" + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[A] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
+ throw le.name = "Invariant Violation", le;
317
317
  }
318
318
  w = e[A](i, A, p, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
319
  } catch (W) {
320
320
  w = W;
321
321
  }
322
- w && !(w instanceof Error) && (we(N), v("%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).", p || "React class", l, A, typeof w), we(null)), w instanceof Error && !(w.message in de) && (de[w.message] = !0, we(N), v("Failed %s type: %s", l, w.message), we(null));
322
+ w && !(w instanceof Error) && (ke(N), v("%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).", p || "React class", l, A, typeof w), ke(null)), w instanceof Error && !(w.message in ue) && (ue[w.message] = !0, ke(N), v("Failed %s type: %s", l, w.message), ke(null));
323
323
  }
324
324
  }
325
325
  }
@@ -352,9 +352,9 @@ function qr() {
352
352
  ref: !0,
353
353
  __self: !0,
354
354
  __source: !0
355
- }, R, he;
355
+ }, R, pe;
356
356
  function $e(e) {
357
- if (ye.call(e, "ref")) {
357
+ if (_e.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 qr() {
362
362
  return e.ref !== void 0;
363
363
  }
364
364
  function qe(e) {
365
- if (ye.call(e, "key")) {
365
+ if (_e.call(e, "key")) {
366
366
  var i = Object.getOwnPropertyDescriptor(e, "key").get;
367
367
  if (i && i.isReactWarning)
368
368
  return !1;
@@ -386,7 +386,7 @@ function qr() {
386
386
  function Tr(e, i) {
387
387
  {
388
388
  var l = function() {
389
- he || (he = !0, v("%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
+ pe || (pe = !0, v("%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,
@@ -425,26 +425,26 @@ function qr() {
425
425
  };
426
426
  function Sr(e, i, l, p, N) {
427
427
  {
428
- var L, A = {}, w = null, ie = null;
429
- l !== void 0 && (Me(l), w = "" + l), qe(i) && (Me(i.key), w = "" + i.key), $e(i) && (ie = i.ref, Ar(i, N));
428
+ var L, A = {}, w = null, le = null;
429
+ l !== void 0 && (Me(l), w = "" + l), qe(i) && (Me(i.key), w = "" + i.key), $e(i) && (le = i.ref, Ar(i, N));
430
430
  for (L in i)
431
- ye.call(i, L) && !s.hasOwnProperty(L) && (A[L] = i[L]);
431
+ _e.call(i, L) && !s.hasOwnProperty(L) && (A[L] = i[L]);
432
432
  if (e && e.defaultProps) {
433
433
  var W = e.defaultProps;
434
434
  for (L in W)
435
435
  A[L] === void 0 && (A[L] = W[L]);
436
436
  }
437
- if (w || ie) {
437
+ if (w || le) {
438
438
  var q = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
- w && jr(A, q), ie && Tr(A, q);
439
+ w && jr(A, q), le && Tr(A, q);
440
440
  }
441
- return Nr(e, w, ie, N, p, a.current, A);
441
+ return Nr(e, w, le, N, p, a.current, A);
442
442
  }
443
443
  }
444
444
  var Ve = f.ReactCurrentOwner, nr = f.ReactDebugCurrentFrame;
445
445
  function Ie(e) {
446
446
  if (e) {
447
- var i = e._owner, l = Ce(e.type, e._source, i ? i.type : null);
447
+ var i = e._owner, l = Pe(e.type, e._source, i ? i.type : null);
448
448
  nr.setExtraStackFrame(l);
449
449
  } else
450
450
  nr.setExtraStackFrame(null);
@@ -554,12 +554,12 @@ Check the top-level render call using <` + l + ">.");
554
554
  var cr = {};
555
555
  function dr(e, i, l, p, N, L) {
556
556
  {
557
- var A = re(e);
557
+ var A = te(e);
558
558
  if (!A) {
559
559
  var w = "";
560
560
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
561
- var ie = Rr();
562
- ie ? w += ie : w += or();
561
+ var le = Rr();
562
+ le ? w += le : w += or();
563
563
  var W;
564
564
  e === null ? W = "null" : _(e) ? W = "array" : e !== void 0 && e.$$typeof === o ? (W = "<" + (j(e.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : W = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", W, w);
565
565
  }
@@ -567,24 +567,24 @@ Check the top-level render call using <` + l + ">.");
567
567
  if (q == null)
568
568
  return q;
569
569
  if (A) {
570
- var ge = i.children;
571
- if (ge !== void 0)
570
+ var he = i.children;
571
+ if (he !== void 0)
572
572
  if (p)
573
- if (_(ge)) {
574
- for (var Le = 0; Le < ge.length; Le++)
575
- lr(ge[Le], e);
576
- Object.freeze && Object.freeze(ge);
573
+ if (_(he)) {
574
+ for (var Le = 0; Le < he.length; Le++)
575
+ lr(he[Le], e);
576
+ Object.freeze && Object.freeze(he);
577
577
  } else
578
578
  v("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
- lr(ge, e);
580
+ lr(he, e);
581
581
  }
582
- if (ye.call(i, "key")) {
583
- var Te = j(e), se = Object.keys(i).filter(function($r) {
582
+ if (_e.call(i, "key")) {
583
+ var Te = j(e), ce = Object.keys(i).filter(function($r) {
584
584
  return $r !== "key";
585
- }), Qe = se.length > 0 ? "{key: someKey, " + se.join(": ..., ") + ": ...}" : "{key: someKey}";
585
+ }), Qe = ce.length > 0 ? "{key: someKey, " + ce.join(": ..., ") + ": ...}" : "{key: someKey}";
586
586
  if (!cr[Te + Qe]) {
587
- var Mr = se.length > 0 ? "{" + se.join(": ..., ") + ": ...}" : "{}";
587
+ var Mr = ce.length > 0 ? "{" + ce.join(": ..., ") + ": ...}" : "{}";
588
588
  v(`A props object containing a "key" prop is being spread into JSX:
589
589
  let props = %s;
590
590
  <%s {...props} />
@@ -611,7 +611,7 @@ function Vr() {
611
611
  return fr || (fr = 1, process.env.NODE_ENV === "production" ? We.exports = Yr() : We.exports = qr()), We.exports;
612
612
  }
613
613
  var r = Vr();
614
- const zr = "_container_1e1th_1", Jr = "_main_1e1th_7", Qr = "_kundliHeaderNoBorder_1e1th_12", Xr = "_headerSeparator_1e1th_16", Zr = "_langDropdownWrap_1e1th_21", et = "_langTrigger_1e1th_25", rt = "_langIcon_1e1th_37", tt = "_langLabel_1e1th_44", at = "_langMenu_1e1th_49", nt = "_langOption_1e1th_55", xe = {
614
+ const zr = "_container_1e1th_1", Jr = "_main_1e1th_7", Qr = "_kundliHeaderNoBorder_1e1th_12", Xr = "_headerSeparator_1e1th_16", Zr = "_langDropdownWrap_1e1th_21", et = "_langTrigger_1e1th_25", rt = "_langIcon_1e1th_37", tt = "_langLabel_1e1th_44", at = "_langMenu_1e1th_49", nt = "_langOption_1e1th_55", we = {
615
615
  container: zr,
616
616
  main: Jr,
617
617
  kundliHeaderNoBorder: Qr,
@@ -1139,49 +1139,50 @@ const tr = br(null), dt = {
1139
1139
  variant: x,
1140
1140
  initialFormValues: g,
1141
1141
  autoOpenPlanSheet: T,
1142
- googleMapsApiKey: k,
1143
- atlasSearchLocalities: F,
1144
- googleMapsAutocompleteEnabled: P,
1145
- logoUrl: E,
1146
- reportImageUrl: u,
1147
- reportImagePriority: I,
1148
- backgroundImagePriority: h,
1149
- universityLogoUrls: M,
1150
- sampleReportHref: m,
1151
- onViewSampleReport: f,
1152
- ctaHref: v,
1153
- onCtaClick: X,
1154
- onBack: z,
1155
- readMoreReviewsHref: H,
1156
- onProceed: D,
1157
- proceedHref: $,
1158
- originalPriceLabel: C,
1159
- discountedPriceLabel: S,
1160
- discountPillLabel: re,
1161
- analytics: J,
1162
- onProceedGuidance: O,
1163
- onLocaleChange: j,
1164
- imageComponent: K = Ye,
1165
- resolvedUtmBannerImageUrl: Y,
1166
- children: G
1142
+ initialView: k = "landing",
1143
+ googleMapsApiKey: F,
1144
+ atlasSearchLocalities: P,
1145
+ googleMapsAutocompleteEnabled: E,
1146
+ logoUrl: u,
1147
+ reportImageUrl: I,
1148
+ reportImagePriority: h,
1149
+ backgroundImagePriority: M,
1150
+ universityLogoUrls: m,
1151
+ sampleReportHref: f,
1152
+ onViewSampleReport: v,
1153
+ ctaHref: X,
1154
+ onCtaClick: z,
1155
+ onBack: H,
1156
+ readMoreReviewsHref: D,
1157
+ onProceed: $,
1158
+ proceedHref: C,
1159
+ originalPriceLabel: S,
1160
+ discountedPriceLabel: te,
1161
+ discountPillLabel: J,
1162
+ analytics: O,
1163
+ onProceedGuidance: j,
1164
+ onLocaleChange: U,
1165
+ imageComponent: Y = Ye,
1166
+ resolvedUtmBannerImageUrl: G,
1167
+ children: Ce
1167
1168
  }) => {
1168
- const [Pe, Z] = U("landing"), [Q, ae] = U(t ?? "en"), [te, Ae] = U({
1169
+ const [Z, ne] = K(k), [Q, ae] = K(t ?? "en"), [xe, ve] = K({
1169
1170
  ...dt,
1170
1171
  ...g
1171
- }), _e = B(!0);
1172
+ }), Ae = B(!0);
1172
1173
  V(() => {
1173
- const ce = lt();
1174
- ce && ae(ce);
1174
+ const oe = lt();
1175
+ oe && ae(oe);
1175
1176
  }, []), V(() => {
1176
1177
  ct(Q);
1177
1178
  }, [Q]), V(() => {
1178
- if (_e.current) {
1179
- _e.current = !1;
1179
+ if (Ae.current) {
1180
+ Ae.current = !1;
1180
1181
  return;
1181
1182
  }
1182
- j?.(Q);
1183
- }, [Q, j]);
1184
- const le = Xe(
1183
+ U?.(Q);
1184
+ }, [Q, U]);
1185
+ const ee = Xe(
1185
1186
  () => ({
1186
1187
  locale: t,
1187
1188
  showLanguageSelector: o,
@@ -1191,30 +1192,30 @@ const tr = br(null), dt = {
1191
1192
  variant: x,
1192
1193
  initialFormValues: g,
1193
1194
  autoOpenPlanSheet: T,
1194
- googleMapsApiKey: k,
1195
- atlasSearchLocalities: F,
1196
- googleMapsAutocompleteEnabled: P,
1197
- logoUrl: E,
1198
- reportImageUrl: u,
1199
- reportImagePriority: I,
1200
- backgroundImagePriority: h,
1201
- universityLogoUrls: M,
1202
- sampleReportHref: m,
1203
- onViewSampleReport: f,
1204
- ctaHref: v,
1205
- onCtaClick: X,
1206
- onBack: z,
1207
- readMoreReviewsHref: H,
1208
- onProceed: D,
1209
- proceedHref: $,
1210
- originalPriceLabel: C,
1211
- discountedPriceLabel: S,
1212
- discountPillLabel: re,
1213
- analytics: J,
1214
- onProceedGuidance: O,
1215
- onLocaleChange: j,
1216
- imageComponent: K,
1217
- resolvedUtmBannerImageUrl: Y
1195
+ googleMapsApiKey: F,
1196
+ atlasSearchLocalities: P,
1197
+ googleMapsAutocompleteEnabled: E,
1198
+ logoUrl: u,
1199
+ reportImageUrl: I,
1200
+ reportImagePriority: h,
1201
+ backgroundImagePriority: M,
1202
+ universityLogoUrls: m,
1203
+ sampleReportHref: f,
1204
+ onViewSampleReport: v,
1205
+ ctaHref: X,
1206
+ onCtaClick: z,
1207
+ onBack: H,
1208
+ readMoreReviewsHref: D,
1209
+ onProceed: $,
1210
+ proceedHref: C,
1211
+ originalPriceLabel: S,
1212
+ discountedPriceLabel: te,
1213
+ discountPillLabel: J,
1214
+ analytics: O,
1215
+ onProceedGuidance: j,
1216
+ onLocaleChange: U,
1217
+ imageComponent: Y,
1218
+ resolvedUtmBannerImageUrl: G
1218
1219
  }),
1219
1220
  [
1220
1221
  t,
@@ -1225,7 +1226,6 @@ const tr = br(null), dt = {
1225
1226
  x,
1226
1227
  g,
1227
1228
  T,
1228
- k,
1229
1229
  F,
1230
1230
  P,
1231
1231
  E,
@@ -1243,33 +1243,34 @@ const tr = br(null), dt = {
1243
1243
  $,
1244
1244
  C,
1245
1245
  S,
1246
- re,
1246
+ te,
1247
1247
  J,
1248
1248
  O,
1249
1249
  j,
1250
- K,
1251
- Y
1250
+ U,
1251
+ Y,
1252
+ G
1252
1253
  ]
1253
- ), ue = ke(() => {
1254
- Z("form");
1255
- }, [le.analytics]), ee = ke(() => {
1256
- Z("landing"), le.onBack?.();
1257
- }, [le.onBack]), me = Xe(
1254
+ ), re = ye(() => {
1255
+ ne("form");
1256
+ }, [ee.analytics]), de = ye(() => {
1257
+ ne("landing"), ee.onBack?.();
1258
+ }, [ee.onBack]), me = Xe(
1258
1259
  () => ({
1259
- view: Pe,
1260
+ view: Z,
1260
1261
  locale: Q,
1261
1262
  setLocale: ae,
1262
- config: le,
1263
- formValues: te,
1264
- setFormValues: Ae,
1265
- goToForm: ue,
1266
- goToPage: ee,
1267
- onProceed: le.onProceed,
1268
- onProceedGuidance: le.onProceedGuidance
1263
+ config: ee,
1264
+ formValues: xe,
1265
+ setFormValues: ve,
1266
+ goToForm: re,
1267
+ goToPage: de,
1268
+ onProceed: ee.onProceed,
1269
+ onProceedGuidance: ee.onProceedGuidance
1269
1270
  }),
1270
- [Pe, Q, le, te, ue, ee]
1271
+ [Z, Q, ee, xe, re, de]
1271
1272
  );
1272
- return /* @__PURE__ */ r.jsx(tr.Provider, { value: me, children: G });
1273
+ return /* @__PURE__ */ r.jsx(tr.Provider, { value: me, children: Ce });
1273
1274
  };
1274
1275
  function De() {
1275
1276
  return rr(tr);
@@ -1383,7 +1384,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1383
1384
  k();
1384
1385
  }, x.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(x);
1385
1386
  }), He), fa = (t) => {
1386
- const { apiKey: o, language: c = "en", restrictCountry: d, deferLoad: y = !1 } = t, [x, g] = U(!1), [T, k] = U([]), [F, P] = U(!1), [E, u] = U(null), [I, h] = U(!y), M = B(null), m = B(null), f = B(null), v = ke(() => {
1387
+ const { apiKey: o, language: c = "en", restrictCountry: d, deferLoad: y = !1 } = t, [x, g] = K(!1), [T, k] = K([]), [F, P] = K(!1), [E, u] = K(null), [I, h] = K(!y), M = B(null), m = B(null), f = B(null), v = ye(() => {
1387
1388
  y && h(!0);
1388
1389
  }, [y]);
1389
1390
  V(() => {
@@ -1399,7 +1400,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1399
1400
  g(!1), u(D?.message || "Failed to load location service");
1400
1401
  });
1401
1402
  }, [o, c, I]);
1402
- const X = ke(
1403
+ const X = ye(
1403
1404
  async (D) => {
1404
1405
  if (!D || D.length < 2 || !M.current) {
1405
1406
  k([]);
@@ -1413,11 +1414,11 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1413
1414
  sessionToken: f.current ?? void 0
1414
1415
  };
1415
1416
  d && ($.componentRestrictions = { country: d });
1416
- const C = await new Promise((S, re) => {
1417
+ const C = await new Promise((S, te) => {
1417
1418
  M.current.getPlacePredictions(
1418
1419
  $,
1419
1420
  (J, O) => {
1420
- O === google.maps.places.PlacesServiceStatus.OK && J ? S(J) : O === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) : re(new Error(`Places API error: ${O}`));
1421
+ O === google.maps.places.PlacesServiceStatus.OK && J ? S(J) : O === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) : te(new Error(`Places API error: ${O}`));
1421
1422
  }
1422
1423
  );
1423
1424
  });
@@ -1438,12 +1439,12 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1438
1439
  }
1439
1440
  },
1440
1441
  [d]
1441
- ), z = ke(
1442
+ ), z = ye(
1442
1443
  async (D) => {
1443
1444
  if (!m.current) return null;
1444
1445
  try {
1445
1446
  const $ = await new Promise(
1446
- (j, K) => {
1447
+ (j, U) => {
1447
1448
  m.current.getDetails(
1448
1449
  {
1449
1450
  placeId: D,
@@ -1451,21 +1452,21 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1451
1452
  sessionToken: f.current ?? void 0
1452
1453
  },
1453
1454
  (Y, G) => {
1454
- G === google.maps.places.PlacesServiceStatus.OK && Y ? j(Y) : K(new Error(`Place details error: ${G}`));
1455
+ G === google.maps.places.PlacesServiceStatus.OK && Y ? j(Y) : U(new Error(`Place details error: ${G}`));
1455
1456
  }
1456
1457
  );
1457
1458
  }
1458
1459
  );
1459
1460
  f.current = new google.maps.places.AutocompleteSessionToken();
1460
1461
  const C = $.geometry?.location?.lat() || 0, S = $.geometry?.location?.lng() || 0;
1461
- let re = "", J = "", O = "";
1462
+ let te = "", J = "", O = "";
1462
1463
  return $.address_components?.forEach((j) => {
1463
- j.types.includes("locality") && (re = j.long_name), j.types.includes("administrative_area_level_1") && (J = j.long_name), j.types.includes("country") && (O = j.long_name);
1464
+ j.types.includes("locality") && (te = j.long_name), j.types.includes("administrative_area_level_1") && (J = j.long_name), j.types.includes("country") && (O = j.long_name);
1464
1465
  }), {
1465
1466
  display_name: $.formatted_address || "",
1466
1467
  lat: C,
1467
1468
  lng: S,
1468
- city: re,
1469
+ city: te,
1469
1470
  state: J,
1470
1471
  country: O
1471
1472
  };
@@ -1474,7 +1475,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1474
1475
  }
1475
1476
  },
1476
1477
  []
1477
- ), H = ke(() => k([]), []);
1478
+ ), H = ye(() => k([]), []);
1478
1479
  return {
1479
1480
  isLoaded: x,
1480
1481
  predictions: T,
@@ -1494,11 +1495,11 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1494
1495
  restrictCountry: t?.restrictCountry
1495
1496
  };
1496
1497
  }, ha = (t) => {
1497
- const { searchLocalities: o, restrictCountry: c } = t, [d, y] = U([]), [x, g] = U(!1), [T, k] = U(null), F = B(0);
1498
+ const { searchLocalities: o, restrictCountry: c } = t, [d, y] = K([]), [x, g] = K(!1), [T, k] = K(null), F = B(0);
1498
1499
  V(() => {
1499
1500
  k(null);
1500
1501
  }, [o]);
1501
- const P = ke(
1502
+ const P = ye(
1502
1503
  async (u) => {
1503
1504
  if (!u || u.length < 2 || !o) {
1504
1505
  y([]);
@@ -1527,7 +1528,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1527
1528
  }
1528
1529
  },
1529
1530
  [c, o]
1530
- ), E = ke(() => y([]), []);
1531
+ ), E = ye(() => y([]), []);
1531
1532
  return {
1532
1533
  predictions: d,
1533
1534
  isSearching: x,
@@ -1623,7 +1624,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1623
1624
  googleMapsAutocompleteEnabled: F,
1624
1625
  className: P = ""
1625
1626
  }) => {
1626
- const E = De(), u = E?.config?.analytics ?? g, I = E?.config.isGlobal ?? !0, h = E?.config?.googleMapsApiKey, M = E?.config?.atlasSearchLocalities, m = E?.config?.googleMapsAutocompleteEnabled, [f, v] = U(!1), [X, z] = U(""), H = B(null), D = B(null), $ = B({}), C = (a) => c({ ...o, ...a }), S = (a, s) => {
1627
+ const E = De(), u = E?.config?.analytics ?? g, I = E?.config.isGlobal ?? !0, h = E?.config?.googleMapsApiKey, M = E?.config?.atlasSearchLocalities, m = E?.config?.googleMapsAutocompleteEnabled, [f, v] = K(!1), [X, z] = K(""), H = B(null), D = B(null), $ = B({}), C = (a) => c({ ...o, ...a }), S = (a, s) => {
1627
1628
  if (a === "phone") {
1628
1629
  const R = _a(s, d, $.current);
1629
1630
  R.shouldTrack && u?.trackPhoneSectionFilled?.({ phone: R.fullPhone });
@@ -1635,57 +1636,57 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1635
1636
  birthTime: () => u?.trackTimeFilled?.(),
1636
1637
  birthPlace: () => u?.trackPlaceOfBirthChosen?.()
1637
1638
  }[a]?.());
1638
- }, re = (a) => {
1639
+ }, te = (a) => {
1639
1640
  const s = a.target.value;
1640
1641
  s.trim() && u?.trackEmailSectionFilled?.({ email: s });
1641
1642
  }, J = X.trim().toLowerCase(), O = xr.filter((a) => J ? a.country.toLowerCase().includes(J) || a.code.includes(J) : !0), j = B(null);
1642
1643
  B(null);
1643
- const K = B(null), Y = B(0), G = B(null), [Pe, Z] = U(!1), [Q, ae] = U({ hour12: 12, minute: "00", meridiem: "AM" }), te = (a) => String(a).padStart(2, "0"), Ae = (a) => {
1644
+ const U = B(null), Y = B(0), G = B(null), [Ce, Z] = K(!1), [ne, Q] = K({ hour12: 12, minute: "00", meridiem: "AM" }), ae = (a) => String(a).padStart(2, "0"), xe = (a) => {
1644
1645
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
1645
1646
  if (!s) return a;
1646
- const R = Number(s[1]), he = s[2], $e = R >= 12 ? "PM" : "AM";
1647
- return `${R % 12 === 0 ? 12 : R % 12}:${he} ${$e}`;
1648
- }, _e = (a) => {
1647
+ const R = Number(s[1]), pe = s[2], $e = R >= 12 ? "PM" : "AM";
1648
+ return `${R % 12 === 0 ? 12 : R % 12}:${pe} ${$e}`;
1649
+ }, ve = (a) => {
1649
1650
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
1650
1651
  if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
1651
- const R = Number(s[1]), he = s[2], $e = R >= 12 ? "PM" : "AM";
1652
- return { hour12: R % 12 === 0 ? 12 : R % 12, minute: he, meridiem: $e };
1653
- }, le = (a) => {
1652
+ const R = Number(s[1]), pe = s[2], $e = R >= 12 ? "PM" : "AM";
1653
+ return { hour12: R % 12 === 0 ? 12 : R % 12, minute: pe, meridiem: $e };
1654
+ }, Ae = (a) => {
1654
1655
  const s = Math.min(12, Math.max(1, a.hour12)), R = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
1655
- let he = s % 12;
1656
- return a.meridiem === "PM" && (he += 12), `${te(he)}:${R}`;
1657
- }, ue = B(null), [ee, me] = U(!1), ce = B(o.birthPlace ?? ""), [fe, pe] = U(
1656
+ let pe = s % 12;
1657
+ return a.meridiem === "PM" && (pe += 12), `${ae(pe)}:${R}`;
1658
+ }, ee = B(null), [re, de] = K(!1), me = B(o.birthPlace ?? ""), [oe, fe] = K(
1658
1659
  null
1659
- ), be = T ?? h ?? ba?.VITE_GOOGLE_MAPS_API_KEY, je = k ?? M, ne = F ?? m ?? !0, oe = (o.birthPlace ?? "").trim(), Ce = I ? void 0 : "in", de = fa({
1660
- apiKey: ne ? be : void 0,
1660
+ ), ge = T ?? h ?? ba?.VITE_GOOGLE_MAPS_API_KEY, je = k ?? M, ie = F ?? m ?? !0, se = (o.birthPlace ?? "").trim(), Pe = I ? void 0 : "in", ue = fa({
1661
+ apiKey: ie ? ge : void 0,
1661
1662
  language: "en",
1662
- restrictCountry: Ce
1663
- }), ve = ha({
1664
- searchLocalities: ne ? void 0 : je,
1665
- restrictCountry: Ce
1666
- }), we = ne ? de.predictions.map((a) => ({
1663
+ restrictCountry: Pe
1664
+ }), be = ha({
1665
+ searchLocalities: ie ? void 0 : je,
1666
+ restrictCountry: Pe
1667
+ }), ke = ie ? ue.predictions.map((a) => ({
1667
1668
  id: a.place_id,
1668
1669
  description: a.description,
1669
1670
  secondaryText: a.structured_formatting?.secondary_text,
1670
1671
  lat: void 0,
1671
1672
  lng: void 0
1672
- })) : ve.predictions.map((a) => ({
1673
+ })) : be.predictions.map((a) => ({
1673
1674
  id: a.id,
1674
1675
  description: a.description,
1675
1676
  secondaryText: a.secondary_text,
1676
1677
  lat: a.lat,
1677
1678
  lng: a.lng
1678
- })), Se = ne ? de.isSearching : ve.isSearching, Re = ne ? de.loadError : ve.loadError, _ = ne ? !!be : !!je, Ee = ne ? de.searchPlaces : ve.searchPlaces, Oe = ne ? de.clearPredictions : ve.clearPredictions, Fe = B(() => {
1679
+ })), Se = ie ? ue.isSearching : be.isSearching, Re = ie ? ue.loadError : be.loadError, _ = ie ? !!ge : !!je, Ee = ie ? ue.searchPlaces : be.searchPlaces, Oe = ie ? ue.clearPredictions : be.clearPredictions, Fe = B(() => {
1679
1680
  });
1680
1681
  Fe.current = () => {
1681
- (o.birthPlace ?? "") !== ce.current && C({
1682
+ (o.birthPlace ?? "") !== me.current && C({
1682
1683
  birthPlace: "",
1683
1684
  birthPlaceLat: void 0,
1684
1685
  birthPlaceLng: void 0
1685
- }), me(!1);
1686
+ }), de(!1);
1686
1687
  }, V(() => {
1687
1688
  const a = (s) => {
1688
- ue.current && (ue.current.contains(s.target) || Fe.current());
1689
+ ee.current && (ee.current.contains(s.target) || Fe.current());
1689
1690
  };
1690
1691
  return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
1691
1692
  }, []), V(() => {
@@ -1700,28 +1701,28 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1700
1701
  }, 0);
1701
1702
  return () => window.clearTimeout(a);
1702
1703
  }, [f]), V(() => {
1703
- if (!ee) return;
1704
- if (oe.length < 2) {
1704
+ if (!re) return;
1705
+ if (se.length < 2) {
1705
1706
  Oe();
1706
1707
  return;
1707
1708
  }
1708
1709
  const a = window.setTimeout(async () => {
1709
- await Ee(oe);
1710
+ await Ee(se);
1710
1711
  }, 250);
1711
1712
  return () => window.clearTimeout(a);
1712
- }, [Oe, ee, oe, Ee]);
1713
+ }, [Oe, re, se, Ee]);
1713
1714
  const Me = (a) => {
1714
1715
  const s = a.current;
1715
1716
  if (!(!s || s.disabled)) {
1716
- if (document.activeElement === s && K.current === s && Date.now() - Y.current < 6e4) {
1717
+ if (document.activeElement === s && U.current === s && Date.now() - Y.current < 6e4) {
1717
1718
  s.blur();
1718
1719
  return;
1719
1720
  }
1720
1721
  if (typeof s.showPicker == "function") {
1721
- s.showPicker(), K.current = s, Y.current = Date.now();
1722
+ s.showPicker(), U.current = s, Y.current = Date.now();
1722
1723
  return;
1723
1724
  }
1724
- s.focus(), K.current = s, Y.current = Date.now();
1725
+ s.focus(), U.current = s, Y.current = Date.now();
1725
1726
  }
1726
1727
  };
1727
1728
  return V(() => {
@@ -1731,9 +1732,9 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1731
1732
  return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
1732
1733
  }, []), V(() => {
1733
1734
  const a = (R) => {
1734
- R.target?.closest?.("[data-info-tooltip]") == null && pe(null);
1735
+ R.target?.closest?.("[data-info-tooltip]") == null && fe(null);
1735
1736
  }, s = (R) => {
1736
- R.key === "Escape" && pe(null);
1737
+ R.key === "Escape" && fe(null);
1737
1738
  };
1738
1739
  return document.addEventListener("mousedown", a), document.addEventListener("keydown", s), () => {
1739
1740
  document.removeEventListener("mousedown", a), document.removeEventListener("keydown", s);
@@ -1914,7 +1915,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1914
1915
  onChange: (a) => {
1915
1916
  C({ email: a.target.value });
1916
1917
  },
1917
- onBlur: re,
1918
+ onBlur: te,
1918
1919
  placeholder: t("formEmailPlaceholder"),
1919
1920
  autoComplete: "email",
1920
1921
  required: !0,
@@ -1935,9 +1936,9 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1935
1936
  type: "button",
1936
1937
  className: n.infoBtn,
1937
1938
  "aria-label": t("info"),
1938
- "aria-expanded": fe === "dob",
1939
+ "aria-expanded": oe === "dob",
1939
1940
  onClick: () => {
1940
- pe((a) => a === "dob" ? null : "dob"), u?.trackInfoIconClicked?.({ fieldName: "dob" });
1941
+ fe((a) => a === "dob" ? null : "dob"), u?.trackInfoIconClicked?.({ fieldName: "dob" });
1941
1942
  },
1942
1943
  children: /* @__PURE__ */ r.jsx(
1943
1944
  "img",
@@ -1950,7 +1951,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1950
1951
  )
1951
1952
  }
1952
1953
  ),
1953
- fe === "dob" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
1954
+ oe === "dob" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
1954
1955
  t("formDobInfo"),
1955
1956
  /* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
1956
1957
  ] })
@@ -1967,16 +1968,16 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1967
1968
  value: o.dateOfBirth,
1968
1969
  max: (() => {
1969
1970
  const a = /* @__PURE__ */ new Date();
1970
- return `${a.getFullYear()}-${te(a.getMonth() + 1)}-${te(a.getDate())}`;
1971
+ return `${a.getFullYear()}-${ae(a.getMonth() + 1)}-${ae(a.getDate())}`;
1971
1972
  })(),
1972
1973
  onChange: (a) => {
1973
- const s = a.target.value, R = /* @__PURE__ */ new Date(), he = `${R.getFullYear()}-${te(R.getMonth() + 1)}-${te(R.getDate())}`;
1974
- s && s > he || (C({ dateOfBirth: s }), S("dateOfBirth", s), K.current = null);
1974
+ const s = a.target.value, R = /* @__PURE__ */ new Date(), pe = `${R.getFullYear()}-${ae(R.getMonth() + 1)}-${ae(R.getDate())}`;
1975
+ s && s > pe || (C({ dateOfBirth: s }), S("dateOfBirth", s), U.current = null);
1975
1976
  },
1976
1977
  onFocus: () => u?.trackDobClicked?.(),
1977
1978
  onClick: () => Me(j),
1978
1979
  onBlur: () => {
1979
- K.current === j.current && (K.current = null);
1980
+ U.current === j.current && (U.current = null);
1980
1981
  }
1981
1982
  }
1982
1983
  ),
@@ -2016,9 +2017,9 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2016
2017
  type: "button",
2017
2018
  className: n.infoBtn,
2018
2019
  "aria-label": t("info"),
2019
- "aria-expanded": fe === "time",
2020
+ "aria-expanded": oe === "time",
2020
2021
  onClick: () => {
2021
- u?.trackInfoIconClicked?.({ fieldName: "time" }), pe((a) => a === "time" ? null : "time");
2022
+ u?.trackInfoIconClicked?.({ fieldName: "time" }), fe((a) => a === "time" ? null : "time");
2022
2023
  },
2023
2024
  children: /* @__PURE__ */ r.jsx(
2024
2025
  "img",
@@ -2031,7 +2032,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2031
2032
  )
2032
2033
  }
2033
2034
  ),
2034
- fe === "time" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2035
+ oe === "time" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2035
2036
  t("formBirthTimeInfo"),
2036
2037
  /* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
2037
2038
  ] })
@@ -2044,7 +2045,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2044
2045
  id: "kundli-birth-time",
2045
2046
  className: n.input,
2046
2047
  type: "text",
2047
- value: o.birthTime ? Ae(o.birthTime) : "",
2048
+ value: o.birthTime ? xe(o.birthTime) : "",
2048
2049
  readOnly: !0,
2049
2050
  onFocus: () => u?.trackTimeClicked?.(),
2050
2051
  onChange: (a) => {
@@ -2054,7 +2055,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2054
2055
  disabled: o.birthTimeUnknown,
2055
2056
  placeholder: "HH:MM AM",
2056
2057
  onClick: () => {
2057
- o.birthTimeUnknown || (ae(_e(o.birthTime || "12:00")), Z((a) => !a));
2058
+ o.birthTimeUnknown || (Q(ve(o.birthTime || "12:00")), Z((a) => !a));
2058
2059
  }
2059
2060
  }
2060
2061
  ),
@@ -2067,7 +2068,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2067
2068
  disabled: o.birthTimeUnknown,
2068
2069
  onMouseDown: (a) => a.preventDefault(),
2069
2070
  onClick: (a) => {
2070
- a.preventDefault(), a.stopPropagation(), !o.birthTimeUnknown && (ae(_e(o.birthTime || "12:00")), Z((s) => !s));
2071
+ a.preventDefault(), a.stopPropagation(), !o.birthTimeUnknown && (Q(ve(o.birthTime || "12:00")), Z((s) => !s));
2071
2072
  },
2072
2073
  children: /* @__PURE__ */ r.jsx(
2073
2074
  "img",
@@ -2080,7 +2081,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2080
2081
  )
2081
2082
  }
2082
2083
  ),
2083
- Pe && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
2084
+ Ce && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
2084
2085
  "div",
2085
2086
  {
2086
2087
  className: n.timePopover,
@@ -2092,8 +2093,8 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2092
2093
  "select",
2093
2094
  {
2094
2095
  className: n.timePickerSelect,
2095
- value: Q.hour12,
2096
- onChange: (a) => ae((s) => ({
2096
+ value: ne.hour12,
2097
+ onChange: (a) => Q((s) => ({
2097
2098
  ...s,
2098
2099
  hour12: Number(a.target.value)
2099
2100
  })),
@@ -2106,10 +2107,10 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2106
2107
  "select",
2107
2108
  {
2108
2109
  className: n.timePickerSelect,
2109
- value: Q.minute,
2110
- onChange: (a) => ae((s) => ({ ...s, minute: a.target.value })),
2110
+ value: ne.minute,
2111
+ onChange: (a) => Q((s) => ({ ...s, minute: a.target.value })),
2111
2112
  "aria-label": "Minute",
2112
- children: Array.from({ length: 60 }, (a, s) => te(s)).map(
2113
+ children: Array.from({ length: 60 }, (a, s) => ae(s)).map(
2113
2114
  (a) => /* @__PURE__ */ r.jsx("option", { value: a, children: a }, a)
2114
2115
  )
2115
2116
  }
@@ -2119,8 +2120,8 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2119
2120
  "button",
2120
2121
  {
2121
2122
  type: "button",
2122
- className: `${n.meridiemBtn} ${Q.meridiem === "AM" ? n.meridiemActive : ""}`,
2123
- onClick: () => ae((a) => ({ ...a, meridiem: "AM" })),
2123
+ className: `${n.meridiemBtn} ${ne.meridiem === "AM" ? n.meridiemActive : ""}`,
2124
+ onClick: () => Q((a) => ({ ...a, meridiem: "AM" })),
2124
2125
  children: "AM"
2125
2126
  }
2126
2127
  ),
@@ -2128,8 +2129,8 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2128
2129
  "button",
2129
2130
  {
2130
2131
  type: "button",
2131
- className: `${n.meridiemBtn} ${Q.meridiem === "PM" ? n.meridiemActive : ""}`,
2132
- onClick: () => ae((a) => ({ ...a, meridiem: "PM" })),
2132
+ className: `${n.meridiemBtn} ${ne.meridiem === "PM" ? n.meridiemActive : ""}`,
2133
+ onClick: () => Q((a) => ({ ...a, meridiem: "PM" })),
2133
2134
  children: "PM"
2134
2135
  }
2135
2136
  )
@@ -2151,7 +2152,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2151
2152
  type: "button",
2152
2153
  className: `${n.timePopoverBtn} ${n.timePopoverOk}`,
2153
2154
  onClick: () => {
2154
- const a = le(Q);
2155
+ const a = Ae(ne);
2155
2156
  C({ birthTime: a }), S("birthTime", a), Z(!1);
2156
2157
  },
2157
2158
  "aria-label": "OK",
@@ -2226,11 +2227,11 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2226
2227
  type: "button",
2227
2228
  className: n.infoBtn,
2228
2229
  "aria-label": t("info"),
2229
- "aria-expanded": fe === "place",
2230
+ "aria-expanded": oe === "place",
2230
2231
  onClick: () => {
2231
2232
  u?.trackInfoIconClicked?.({
2232
2233
  fieldName: "birthPlace"
2233
- }), pe((a) => a === "place" ? null : "place");
2234
+ }), fe((a) => a === "place" ? null : "place");
2234
2235
  },
2235
2236
  children: /* @__PURE__ */ r.jsx(
2236
2237
  "img",
@@ -2243,13 +2244,13 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2243
2244
  )
2244
2245
  }
2245
2246
  ),
2246
- fe === "place" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2247
+ oe === "place" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2247
2248
  t("formBirthPlaceInfo"),
2248
2249
  /* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
2249
2250
  ] })
2250
2251
  ] })
2251
2252
  ] }),
2252
- /* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, ref: ue, children: [
2253
+ /* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, ref: ee, children: [
2253
2254
  /* @__PURE__ */ r.jsx(
2254
2255
  "input",
2255
2256
  {
@@ -2263,10 +2264,10 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2263
2264
  birthPlace: s,
2264
2265
  birthPlaceLat: void 0,
2265
2266
  birthPlaceLng: void 0
2266
- }), S("birthPlace", s), me(!0);
2267
+ }), S("birthPlace", s), de(!0);
2267
2268
  },
2268
2269
  onFocus: () => {
2269
- u?.trackPlaceOfBirthClicked?.(), me(!0);
2270
+ u?.trackPlaceOfBirthClicked?.(), de(!0);
2270
2271
  },
2271
2272
  placeholder: t("formBirthPlacePlaceholder"),
2272
2273
  autoComplete: "address-level2"
@@ -2281,22 +2282,22 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2281
2282
  "aria-hidden": !0
2282
2283
  }
2283
2284
  ) }),
2284
- ee && we.length > 0 && /* @__PURE__ */ r.jsx("div", { className: n.suggestions, role: "listbox", children: we.slice(0, 8).map((a) => /* @__PURE__ */ r.jsxs(
2285
+ re && ke.length > 0 && /* @__PURE__ */ r.jsx("div", { className: n.suggestions, role: "listbox", children: ke.slice(0, 8).map((a) => /* @__PURE__ */ r.jsxs(
2285
2286
  "button",
2286
2287
  {
2287
2288
  type: "button",
2288
2289
  className: n.suggestionItem,
2289
2290
  onClick: async () => {
2290
2291
  const s = a.description;
2291
- if (ce.current = s, C({
2292
+ if (me.current = s, C({
2292
2293
  birthPlace: s,
2293
2294
  birthPlaceLat: a.lat,
2294
2295
  birthPlaceLng: a.lng
2295
- }), Oe(), me(!1), ne) {
2296
- const R = await de.getPlaceDetails(
2296
+ }), Oe(), de(!1), ie) {
2297
+ const R = await ue.getPlaceDetails(
2297
2298
  a.id
2298
2299
  );
2299
- R && (ce.current = s, c({
2300
+ R && (me.current = s, c({
2300
2301
  ...o,
2301
2302
  birthPlace: s,
2302
2303
  birthPlaceLat: R.lat,
@@ -2311,8 +2312,8 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2311
2312
  },
2312
2313
  a.id
2313
2314
  )) }),
2314
- ee && _ && Se && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: "Loading…" }),
2315
- ee && _ && !Se && !!Re && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: Re })
2315
+ re && _ && Se && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: "Loading…" }),
2316
+ re && _ && !Se && !!Re && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: Re })
2316
2317
  ] })
2317
2318
  ] }),
2318
2319
  x && /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
@@ -2530,8 +2531,8 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2530
2531
  const m = De(), f = m?.config.isGlobal ?? !0, v = m?.config?.variant, X = Xe(
2531
2532
  () => Ra(o, f, d),
2532
2533
  [o, f, d]
2533
- ), z = X === null, H = v === "v1" && m?.config?.showSheet, D = f ? P ?? t("formDiscountedPrice") : H ? "" : "₹499", $ = m?.config.imageComponent ?? Ye, C = (re) => {
2534
- if (re.preventDefault(), v === "v1" && !z && k?.trackKundliDetailedClicked?.(), !z) {
2534
+ ), z = X === null, H = v === "v1" && m?.config?.showSheet, D = f ? P ?? t("formDiscountedPrice") : H ? "" : "₹499", $ = m?.config.imageComponent ?? Ye, C = (te) => {
2535
+ if (te.preventDefault(), v === "v1" && !z && k?.trackKundliDetailedClicked?.(), !z) {
2535
2536
  X && y?.(X);
2536
2537
  return;
2537
2538
  }
@@ -2924,7 +2925,7 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2924
2925
  googleMapsAutocompleteEnabled: u,
2925
2926
  analytics: I
2926
2927
  }) => {
2927
- const h = De(), M = ot(), m = h !== null, f = m ? h.locale : o, v = f ?? M?.locale ?? "en", [X, z] = U(v), H = m ? h.locale : X, D = m ? h.setLocale : z, [$, C] = U(!1), S = B(null), re = B(f), J = B(
2928
+ const h = De(), M = ot(), m = h !== null, f = m ? h.locale : o, v = f ?? M?.locale ?? "en", [X, z] = K(v), H = m ? h.locale : X, D = m ? h.setLocale : z, [$, C] = K(!1), S = B(null), te = B(f), J = B(
2928
2929
  M?.locale
2929
2930
  );
2930
2931
  V(() => {
@@ -2932,35 +2933,35 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2932
2933
  }, []);
2933
2934
  const O = (_) => Dn(H, _);
2934
2935
  V(() => {
2935
- f && re.current !== f && D(f), re.current = f;
2936
+ f && te.current !== f && D(f), te.current = f;
2936
2937
  }, [f, D]), V(() => {
2937
2938
  if (f) return;
2938
2939
  const _ = M?.locale;
2939
2940
  _ && J.current !== _ && D(_), J.current = _;
2940
2941
  }, [M?.locale, f, D]);
2941
- const [j, K] = U({
2942
+ const [j, U] = K({
2942
2943
  ...Fn,
2943
2944
  ...y,
2944
2945
  phone: y?.phone ?? ""
2945
- }), Y = m ? h?.config.isGlobal ?? !0 : !0, G = m ? h.formValues : j, Pe = m ? h.setFormValues : K, [Z, Q] = U(
2946
+ }), Y = m ? h?.config.isGlobal ?? !0 : !0, G = m ? h.formValues : j, Ce = m ? h.setFormValues : U, [Z, ne] = K(
2946
2947
  () => On(G.phoneCountryCode, Y)
2947
- ), ae = B(
2948
+ ), Q = B(
2948
2949
  !!(G.phoneCountryCode && Ze.includes(G.phoneCountryCode))
2949
- ), te = B(!1), Ae = ke((_) => {
2950
- te.current = !0, Q(_);
2951
- }, []), _e = B(!0);
2950
+ ), ae = B(!1), xe = ye((_) => {
2951
+ ae.current = !0, ne(_);
2952
+ }, []), ve = B(!0);
2952
2953
  V(() => {
2953
- if (_e.current) {
2954
- _e.current = !1;
2954
+ if (ve.current) {
2955
+ ve.current = !1;
2955
2956
  return;
2956
2957
  }
2957
- ae.current || te.current || Q(Y ? "+1" : "+91");
2958
+ Q.current || ae.current || ne(Y ? "+1" : "+91");
2958
2959
  }, [Y]), V(() => {
2959
- if (!m || te.current) return;
2960
+ if (!m || ae.current) return;
2960
2961
  const _ = G.phoneCountryCode;
2961
- _ && Ze.includes(_) && _ !== Z && (ae.current = !0, Q(_));
2962
+ _ && Ze.includes(_) && _ !== Z && (Q.current = !0, ne(_));
2962
2963
  }, [m, G.phoneCountryCode]);
2963
- const le = m ? h.goToPage : d, ue = m ? h.onProceed : x, ee = m ? h.onProceedGuidance : g, me = m ? h.config.proceedHref : T, ce = m ? h.config.originalPriceLabel : k, fe = m ? h.config.discountedPriceLabel : F, pe = m ? h.config.showLanguageSelector ?? !0 : c, be = (m ? h?.config?.analytics : I) ?? I;
2964
+ const Ae = m ? h.goToPage : d, ee = m ? h.onProceed : x, re = m ? h.onProceedGuidance : g, de = m ? h.config.proceedHref : T, me = m ? h.config.originalPriceLabel : k, oe = m ? h.config.discountedPriceLabel : F, fe = m ? h.config.showLanguageSelector ?? !0 : c, ge = (m ? h?.config?.analytics : I) ?? I;
2964
2965
  V(() => {
2965
2966
  if (!$) return;
2966
2967
  const _ = (Ee) => {
@@ -2968,37 +2969,37 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2968
2969
  };
2969
2970
  return document.addEventListener("mousedown", _), () => document.removeEventListener("mousedown", _);
2970
2971
  }, [$]);
2971
- const [je, ne] = U(!1), [oe, Ce] = U(null), ye = B(null), de = ke((_) => {
2972
- ye.current = _, ne(!0);
2973
- }, []), ve = B(!1);
2972
+ const [je, ie] = K(!1), [se, Pe] = K(null), _e = B(null), ue = ye((_) => {
2973
+ _e.current = _, ie(!0);
2974
+ }, []), be = B(!1);
2974
2975
  V(() => {
2975
- if (ve.current || !m || !h?.config.autoOpenPlanSheet || h?.config.variant !== "v1")
2976
+ if (be.current || !m || !h?.config.autoOpenPlanSheet || h?.config.variant !== "v1")
2976
2977
  return;
2977
- ve.current = !0;
2978
+ be.current = !0;
2978
2979
  const _ = (G.phone ?? "").trim();
2979
- de({
2980
+ ue({
2980
2981
  ...G,
2981
2982
  phone: _ && `${Z}-${_}`
2982
2983
  });
2983
- }, [m, h?.config.autoOpenPlanSheet, h?.config.variant, G, Z, de]);
2984
- const we = ke(() => {
2985
- if (!ye.current || !oe) return;
2986
- be?.trackPlanProceedClicked?.({
2987
- planId: oe.id,
2988
- planName: oe.title,
2989
- price: oe.price,
2984
+ }, [m, h?.config.autoOpenPlanSheet, h?.config.variant, G, Z, ue]);
2985
+ const ke = ye(() => {
2986
+ if (!_e.current || !se) return;
2987
+ ge?.trackPlanProceedClicked?.({
2988
+ planId: se.id,
2989
+ planName: se.title,
2990
+ price: se.price,
2990
2991
  currency: Y ? "USD" : "INR"
2991
2992
  });
2992
- const _ = { ...ye.current, _selectedPlan: oe };
2993
- oe.id === Cr && ee ? ee(_) : ue?.(_), ne(!1), ye.current = null;
2994
- }, [oe, ue, ee]), Se = h?.config.imageComponent ?? Ye, Re = pe ? /* @__PURE__ */ r.jsxs("div", { className: xe.langDropdownWrap, ref: S, children: [
2993
+ const _ = { ..._e.current, _selectedPlan: se };
2994
+ se.id === Cr && re ? re(_) : ee?.(_), ie(!1), _e.current = null;
2995
+ }, [se, ee, re]), Se = h?.config.imageComponent ?? Ye, Re = fe ? /* @__PURE__ */ r.jsxs("div", { className: we.langDropdownWrap, ref: S, children: [
2995
2996
  /* @__PURE__ */ r.jsxs(
2996
2997
  "button",
2997
2998
  {
2998
2999
  type: "button",
2999
- className: xe.langTrigger,
3000
+ className: we.langTrigger,
3000
3001
  onClick: () => {
3001
- be?.trackLanguageClickedFe?.({ language: H }), C((_) => !_);
3002
+ ge?.trackLanguageClickedFe?.({ language: H }), C((_) => !_);
3002
3003
  },
3003
3004
  "aria-expanded": $,
3004
3005
  "aria-haspopup": "listbox",
@@ -3010,20 +3011,20 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
3010
3011
  {
3011
3012
  src: Bn,
3012
3013
  alt: "",
3013
- className: xe.langIcon,
3014
+ className: we.langIcon,
3014
3015
  width: 16,
3015
3016
  height: 16,
3016
3017
  loading: "eager"
3017
3018
  }
3018
3019
  ),
3019
- /* @__PURE__ */ r.jsx("span", { className: xe.langLabel, children: pr[H] })
3020
+ /* @__PURE__ */ r.jsx("span", { className: we.langLabel, children: pr[H] })
3020
3021
  ]
3021
3022
  }
3022
3023
  ),
3023
3024
  $ && /* @__PURE__ */ r.jsx(
3024
3025
  "ul",
3025
3026
  {
3026
- className: xe.langMenu,
3027
+ className: we.langMenu,
3027
3028
  role: "listbox",
3028
3029
  "aria-labelledby": "kundli-form-lang",
3029
3030
  "aria-activedescendant": `kundli-form-lang-option-${H}`,
@@ -3033,9 +3034,9 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
3033
3034
  id: `kundli-form-lang-option-${_}`,
3034
3035
  role: "option",
3035
3036
  "aria-selected": _ === H,
3036
- className: xe.langOption,
3037
+ className: we.langOption,
3037
3038
  onClick: () => {
3038
- be?.trackLanguageChangedFe?.({ newLanguage: _ }), D(_), C(!1);
3039
+ ge?.trackLanguageChangedFe?.({ newLanguage: _ }), D(_), C(!1);
3039
3040
  },
3040
3041
  children: pr[_]
3041
3042
  },
@@ -3044,32 +3045,32 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
3044
3045
  }
3045
3046
  )
3046
3047
  ] }) : null;
3047
- return /* @__PURE__ */ r.jsxs("div", { className: `${xe.container} ${t}`, children: [
3048
+ return /* @__PURE__ */ r.jsxs("div", { className: `${we.container} ${t}`, children: [
3048
3049
  /* @__PURE__ */ r.jsx(
3049
3050
  La,
3050
3051
  {
3051
3052
  t: O,
3052
3053
  logoUrl: m ? h.config.logoUrl : void 0,
3053
3054
  languageSelector: Re,
3054
- className: xe.kundliHeaderNoBorder
3055
+ className: we.kundliHeaderNoBorder
3055
3056
  }
3056
3057
  ),
3057
- /* @__PURE__ */ r.jsx("div", { className: xe.headerSeparator, "aria-hidden": !0 }),
3058
- /* @__PURE__ */ r.jsxs("main", { className: xe.main, children: [
3059
- /* @__PURE__ */ r.jsx(ft, { t: O, onBack: le }),
3058
+ /* @__PURE__ */ r.jsx("div", { className: we.headerSeparator, "aria-hidden": !0 }),
3059
+ /* @__PURE__ */ r.jsxs("main", { className: we.main, children: [
3060
+ /* @__PURE__ */ r.jsx(ft, { t: O, onBack: Ae }),
3060
3061
  /* @__PURE__ */ r.jsx(
3061
3062
  ya,
3062
3063
  {
3063
3064
  t: O,
3064
3065
  values: G,
3065
- onChange: Pe,
3066
+ onChange: Ce,
3066
3067
  googleMapsApiKey: P,
3067
3068
  atlasSearchLocalities: E,
3068
3069
  googleMapsAutocompleteEnabled: u,
3069
3070
  phoneIsdCode: Z,
3070
- onPhoneIsdCodeChange: Ae,
3071
+ onPhoneIsdCodeChange: xe,
3071
3072
  showV1ExtraFields: m ? h?.config.variant === "v1" : !1,
3072
- analytics: be
3073
+ analytics: ge
3073
3074
  }
3074
3075
  )
3075
3076
  ] }),
@@ -3079,30 +3080,30 @@ const ma = (t, o) => typeof window > "u" || window.google?.maps?.places ? Promis
3079
3080
  t: O,
3080
3081
  values: G,
3081
3082
  phoneIsdCode: Z,
3082
- onProceed: ue,
3083
- onProceedGuidance: ee,
3084
- href: me,
3085
- originalPriceLabel: ce,
3086
- discountedPriceLabel: fe,
3087
- analytics: be,
3088
- showPlanSheet: de,
3089
- confirmPlan: we,
3083
+ onProceed: ee,
3084
+ onProceedGuidance: re,
3085
+ href: de,
3086
+ originalPriceLabel: me,
3087
+ discountedPriceLabel: oe,
3088
+ analytics: ge,
3089
+ showPlanSheet: ue,
3090
+ confirmPlan: ke,
3090
3091
  planSheetOpen: je,
3091
- selectedPlan: oe
3092
+ selectedPlan: se
3092
3093
  }
3093
3094
  ),
3094
3095
  h?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
3095
3096
  Ln,
3096
3097
  {
3097
3098
  isOpen: je,
3098
- onClose: () => ne(!1),
3099
- selectedPlan: oe,
3100
- onSelectPlan: Ce,
3099
+ onClose: () => ie(!1),
3100
+ selectedPlan: se,
3101
+ onSelectPlan: Pe,
3101
3102
  onProceed: () => {
3102
- we?.();
3103
+ ke?.();
3103
3104
  },
3104
3105
  t: O,
3105
- analytics: be
3106
+ analytics: ge
3106
3107
  }
3107
3108
  )
3108
3109
  ] });
@@ -3180,4 +3181,4 @@ export {
3180
3181
  vr as t,
3181
3182
  ot as u
3182
3183
  };
3183
- //# sourceMappingURL=analytics-BZyas-wq.js.map
3184
+ //# sourceMappingURL=analytics-DOC6EHFq.js.map