@srimandir/kundli-matching-generator 1.0.21 → 1.0.22

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.
@@ -48,6 +48,7 @@ export declare const KUNDLI_MATCHING_ANALYTICS_EVENT_NAMES: {
48
48
  readonly sneak_peek_section_viewed: "sneak_peek_section_viewed";
49
49
  readonly testimonials_section_viewed: "testimonials_section_viewed";
50
50
  readonly benefits_section_viewed: "benefits_section_viewed";
51
+ readonly form_section_viewed: "form_section_viewed";
51
52
  readonly how_it_works_section_viewed: "how_it_works_section_viewed";
52
53
  readonly why_us_section_viewed: "why_us_section_viewed";
53
54
  readonly faq_section_viewed: "faq_section_viewed";
@@ -127,6 +128,7 @@ export interface KundliMatchingAnalytics {
127
128
  trackSneakPeekSectionViewed?(): void;
128
129
  trackTestimonialsSectionViewed?(): void;
129
130
  trackBenefitsSectionViewed?(): void;
131
+ trackFormSectionViewed?(): void;
130
132
  trackHowItWorksSectionViewed?(): void;
131
133
  trackWhyUsSectionViewed?(): void;
132
134
  trackFaqSectionViewed?(): void;
@@ -20,15 +20,15 @@ var ke = {};
20
20
  var dt;
21
21
  function Xt() {
22
22
  return dt || (dt = 1, process.env.NODE_ENV !== "production" && (function() {
23
- var t = ft, s = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), c = /* @__PURE__ */ Symbol.for("react.strict_mode"), h = /* @__PURE__ */ Symbol.for("react.profiler"), o = /* @__PURE__ */ Symbol.for("react.provider"), f = /* @__PURE__ */ Symbol.for("react.context"), p = /* @__PURE__ */ Symbol.for("react.forward_ref"), w = /* @__PURE__ */ Symbol.for("react.suspense"), b = /* @__PURE__ */ Symbol.for("react.suspense_list"), g = /* @__PURE__ */ Symbol.for("react.memo"), j = /* @__PURE__ */ Symbol.for("react.lazy"), B = /* @__PURE__ */ Symbol.for("react.offscreen"), x = Symbol.iterator, R = "@@iterator";
23
+ var t = ft, s = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), c = /* @__PURE__ */ Symbol.for("react.strict_mode"), h = /* @__PURE__ */ Symbol.for("react.profiler"), o = /* @__PURE__ */ Symbol.for("react.provider"), f = /* @__PURE__ */ Symbol.for("react.context"), p = /* @__PURE__ */ Symbol.for("react.forward_ref"), w = /* @__PURE__ */ Symbol.for("react.suspense"), b = /* @__PURE__ */ Symbol.for("react.suspense_list"), g = /* @__PURE__ */ Symbol.for("react.memo"), j = /* @__PURE__ */ Symbol.for("react.lazy"), B = /* @__PURE__ */ Symbol.for("react.offscreen"), x = Symbol.iterator, S = "@@iterator";
24
24
  function H(a) {
25
25
  if (a === null || typeof a != "object")
26
26
  return null;
27
- var n = x && a[x] || a[R];
27
+ var n = x && a[x] || a[S];
28
28
  return typeof n == "function" ? n : null;
29
29
  }
30
30
  var D = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
31
- function S(a) {
31
+ function R(a) {
32
32
  {
33
33
  for (var n = arguments.length, d = new Array(n > 1 ? n - 1 : 0), y = 1; y < n; y++)
34
34
  d[y - 1] = arguments[y];
@@ -67,7 +67,7 @@ function Xt() {
67
67
  function M(a) {
68
68
  if (a == null)
69
69
  return null;
70
- if (typeof a.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof a == "function")
70
+ if (typeof a.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof a == "function")
71
71
  return a.displayName || a.name || null;
72
72
  if (typeof a == "string")
73
73
  return a;
@@ -109,14 +109,14 @@ function Xt() {
109
109
  }
110
110
  return null;
111
111
  }
112
- var te = Object.assign, se = 0, ue, we, le, Pe, ye, Te, m;
112
+ var te = Object.assign, se = 0, ue, we, de, Pe, ye, Te, m;
113
113
  function C() {
114
114
  }
115
115
  C.__reactDisabledLog = !0;
116
116
  function J() {
117
117
  {
118
118
  if (se === 0) {
119
- ue = console.log, we = console.info, le = console.warn, Pe = console.error, ye = console.group, Te = console.groupCollapsed, m = console.groupEnd;
119
+ ue = console.log, we = console.info, de = console.warn, Pe = console.error, ye = console.group, Te = console.groupCollapsed, m = console.groupEnd;
120
120
  var a = {
121
121
  configurable: !0,
122
122
  enumerable: !0,
@@ -152,7 +152,7 @@ function Xt() {
152
152
  value: we
153
153
  }),
154
154
  warn: te({}, a, {
155
- value: le
155
+ value: de
156
156
  }),
157
157
  error: te({}, a, {
158
158
  value: Pe
@@ -168,7 +168,7 @@ function Xt() {
168
168
  })
169
169
  });
170
170
  }
171
- se < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
+ se < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
172
172
  }
173
173
  }
174
174
  var me = D.ReactCurrentDispatcher, ve;
@@ -320,7 +320,7 @@ function Xt() {
320
320
  } catch (V) {
321
321
  P = V;
322
322
  }
323
- P && !(P instanceof Error) && (Re(E), S("%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).", y || "React class", d, I, typeof P), Re(null)), P instanceof Error && !(P.message in qe) && (qe[P.message] = !0, Re(E), S("Failed %s type: %s", d, P.message), Re(null));
323
+ P && !(P instanceof Error) && (Re(E), R("%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).", y || "React class", d, I, typeof P), Re(null)), P instanceof Error && !(P.message in qe) && (qe[P.message] = !0, Re(E), R("Failed %s type: %s", d, P.message), Re(null));
324
324
  }
325
325
  }
326
326
  }
@@ -346,7 +346,7 @@ function Xt() {
346
346
  }
347
347
  function Qe(a) {
348
348
  if (Tt(a))
349
- return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Pt(a)), Je(a);
349
+ return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Pt(a)), Je(a);
350
350
  }
351
351
  var Xe = D.ReactCurrentOwner, Ct = {
352
352
  key: !0,
@@ -376,7 +376,7 @@ function Xt() {
376
376
  function Et(a, n) {
377
377
  {
378
378
  var d = function() {
379
- Ze || (Ze = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
379
+ Ze || (Ze = !0, R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
380
380
  };
381
381
  d.isReactWarning = !0, Object.defineProperty(a, "key", {
382
382
  get: d,
@@ -387,7 +387,7 @@ function Xt() {
387
387
  function Bt(a, n) {
388
388
  {
389
389
  var d = function() {
390
- et || (et = !0, S("%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)", n));
390
+ et || (et = !0, R("%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)", n));
391
391
  };
392
392
  d.isReactWarning = !0, Object.defineProperty(a, "ref", {
393
393
  get: d,
@@ -493,7 +493,7 @@ Check the top-level render call using <` + d + ">.");
493
493
  return;
494
494
  rt[d] = !0;
495
495
  var y = "";
496
- a && a._owner && a._owner !== Fe.current && (y = " It was passed a child from " + M(a._owner.type) + "."), ge(a), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, y), ge(null);
496
+ a && a._owner && a._owner !== Fe.current && (y = " It was passed a child from " + M(a._owner.type) + "."), ge(a), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, y), ge(null);
497
497
  }
498
498
  }
499
499
  function it(a, n) {
@@ -535,9 +535,9 @@ Check the top-level render call using <` + d + ">.");
535
535
  } else if (n.PropTypes !== void 0 && !We) {
536
536
  We = !0;
537
537
  var E = M(n);
538
- S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
538
+ R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
539
539
  }
540
- typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
540
+ typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
541
541
  }
542
542
  }
543
543
  function $t(a) {
@@ -545,11 +545,11 @@ Check the top-level render call using <` + d + ">.");
545
545
  for (var n = Object.keys(a.props), d = 0; d < n.length; d++) {
546
546
  var y = n[d];
547
547
  if (y !== "children" && y !== "key") {
548
- ge(a), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", y), ge(null);
548
+ ge(a), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", y), ge(null);
549
549
  break;
550
550
  }
551
551
  }
552
- a.ref !== null && (ge(a), S("Invalid attribute `ref` supplied to `React.Fragment`."), ge(null));
552
+ a.ref !== null && (ge(a), R("Invalid attribute `ref` supplied to `React.Fragment`."), ge(null));
553
553
  }
554
554
  }
555
555
  var nt = {};
@@ -562,7 +562,7 @@ Check the top-level render call using <` + d + ">.");
562
562
  var Q = Lt();
563
563
  Q ? P += Q : P += at();
564
564
  var V;
565
- a === null ? V = "null" : $e(a) ? V = "array" : a !== void 0 && a.$$typeof === s ? (V = "<" + (M(a.type) || "Unknown") + " />", P = " Did you accidentally export a JSX literal instead of a component?") : V = typeof a, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", V, P);
565
+ a === null ? V = "null" : $e(a) ? V = "array" : a !== void 0 && a.$$typeof === s ? (V = "<" + (M(a.type) || "Unknown") + " />", P = " Did you accidentally export a JSX literal instead of a component?") : V = typeof a, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", V, P);
566
566
  }
567
567
  var Y = Dt(a, n, d, E, L);
568
568
  if (Y == null)
@@ -576,7 +576,7 @@ Check the top-level render call using <` + d + ">.");
576
576
  it(ae[fe], a);
577
577
  Object.freeze && Object.freeze(ae);
578
578
  } else
579
- S("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
+ R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
580
580
  else
581
581
  it(ae, a);
582
582
  }
@@ -586,7 +586,7 @@ Check the top-level render call using <` + d + ">.");
586
586
  }), ze = Z.length > 0 ? "{key: someKey, " + Z.join(": ..., ") + ": ...}" : "{key: someKey}";
587
587
  if (!nt[he + ze]) {
588
588
  var Kt = Z.length > 0 ? "{" + Z.join(": ..., ") + ": ...}" : "{}";
589
- S(`A props object containing a "key" prop is being spread into JSX:
589
+ R(`A props object containing a "key" prop is being spread into JSX:
590
590
  let props = %s;
591
591
  <%s {...props} />
592
592
  React keys must be passed directly to JSX without using spread:
@@ -829,12 +829,12 @@ const Fr = ({
829
829
  $r(w);
830
830
  const B = await w.getDocument({ url: r }).promise, x = c.current;
831
831
  if (!x) return;
832
- const R = x.clientWidth || 600, H = Math.min(R / 612, 2);
832
+ const S = x.clientWidth || 600, H = Math.min(S / 612, 2);
833
833
  for (let D = 1; D <= B.numPages; D++) {
834
- const S = await B.getPage(D), T = S.getViewport({ scale: H }), k = document.createElement("canvas");
834
+ const R = await B.getPage(D), T = R.getViewport({ scale: H }), k = document.createElement("canvas");
835
835
  k.height = T.height, k.width = T.width, k.style.display = "block", k.style.margin = "0 auto 1rem", k.style.maxWidth = "100%";
836
836
  const O = k.getContext("2d");
837
- O && await S.render({ canvasContext: O, viewport: T }).promise, x.appendChild(k);
837
+ O && await R.render({ canvasContext: O, viewport: T }).promise, x.appendChild(k);
838
838
  }
839
839
  } catch (j) {
840
840
  p(j instanceof Error ? j.message : "Failed to load PDF");
@@ -1276,7 +1276,7 @@ const Yr = ({
1276
1276
  rating: 5,
1277
1277
  review: t("testimonial8Review")
1278
1278
  }
1279
- ], B = [...j, ...j, ...j], x = j.length, R = x, H = (T, k = !0) => {
1279
+ ], B = [...j, ...j, ...j], x = j.length, S = x, H = (T, k = !0) => {
1280
1280
  if (!c.current) return;
1281
1281
  b.current = !0;
1282
1282
  const O = c.current, U = O.children[0];
@@ -1291,10 +1291,10 @@ const Yr = ({
1291
1291
  };
1292
1292
  q(() => {
1293
1293
  const T = setTimeout(() => {
1294
- o(R), H(R, !1);
1294
+ o(S), H(S, !1);
1295
1295
  }, 50);
1296
1296
  return () => clearTimeout(T);
1297
- }, [R]), q(() => () => {
1297
+ }, [S]), q(() => () => {
1298
1298
  w.current && clearTimeout(w.current);
1299
1299
  }, []), q(() => {
1300
1300
  if (f) return;
@@ -1334,7 +1334,7 @@ const Yr = ({
1334
1334
  }));
1335
1335
  }
1336
1336
  }, 100));
1337
- }, S = (T) => Array.from({ length: 5 }, (k, O) => /* @__PURE__ */ e.jsx(
1337
+ }, R = (T) => Array.from({ length: 5 }, (k, O) => /* @__PURE__ */ e.jsx(
1338
1338
  "span",
1339
1339
  {
1340
1340
  className: O < T ? A.starFilled : A.starEmpty,
@@ -1377,7 +1377,7 @@ const Yr = ({
1377
1377
  ),
1378
1378
  /* @__PURE__ */ e.jsxs("div", { className: A.headerInfo, children: [
1379
1379
  /* @__PURE__ */ e.jsx("h3", { className: A.name, children: T.name }),
1380
- /* @__PURE__ */ e.jsx("div", { className: A.rating, children: S(T.rating) })
1380
+ /* @__PURE__ */ e.jsx("div", { className: A.rating, children: R(T.rating) })
1381
1381
  ] })
1382
1382
  ] }),
1383
1383
  /* @__PURE__ */ e.jsx("p", { className: A.review, children: T.review })
@@ -1590,7 +1590,7 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1590
1590
  p();
1591
1591
  }, h.onerror = () => r(new Error("Failed to load Google Maps API")), document.head.appendChild(h);
1592
1592
  }), De), Ki = (t) => {
1593
- const { apiKey: s, language: l = "en", restrictCountry: r, deferLoad: c = !1 } = t, [h, o] = $(!1), [f, p] = $([]), [w, b] = $(!1), [g, j] = $(null), [B, x] = $(!c), R = K(null), H = K(null), D = K(null), S = Ne(() => {
1593
+ const { apiKey: s, language: l = "en", restrictCountry: r, deferLoad: c = !1 } = t, [h, o] = $(!1), [f, p] = $([]), [w, b] = $(!1), [g, j] = $(null), [B, x] = $(!c), S = K(null), H = K(null), D = K(null), R = Ne(() => {
1594
1594
  c && x(!0);
1595
1595
  }, [c]);
1596
1596
  q(() => {
@@ -1599,7 +1599,7 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1599
1599
  return;
1600
1600
  }
1601
1601
  zi(s, l).then(() => {
1602
- R.current = new google.maps.places.AutocompleteService();
1602
+ S.current = new google.maps.places.AutocompleteService();
1603
1603
  const U = document.createElement("div");
1604
1604
  H.current = new google.maps.places.PlacesService(U), D.current = new google.maps.places.AutocompleteSessionToken(), o(!0), j(null);
1605
1605
  }).catch((U) => {
@@ -1608,7 +1608,7 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1608
1608
  }, [s, l, B]);
1609
1609
  const T = Ne(
1610
1610
  async (U) => {
1611
- if (!U || U.length < 2 || !R.current) {
1611
+ if (!U || U.length < 2 || !S.current) {
1612
1612
  p([]);
1613
1613
  return;
1614
1614
  }
@@ -1621,7 +1621,7 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1621
1621
  };
1622
1622
  r && (_.componentRestrictions = { country: r });
1623
1623
  const G = await new Promise((F, re) => {
1624
- R.current.getPlacePredictions(
1624
+ S.current.getPlacePredictions(
1625
1625
  _,
1626
1626
  (ee, v) => {
1627
1627
  v === google.maps.places.PlacesServiceStatus.OK && ee ? F(ee) : v === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? F([]) : re(new Error(`Places API error: ${v}`));
@@ -1692,7 +1692,7 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1692
1692
  searchPlaces: T,
1693
1693
  getPlaceDetails: k,
1694
1694
  clearPredictions: O,
1695
- triggerLoad: S
1695
+ triggerLoad: R
1696
1696
  };
1697
1697
  }, be = {
1698
1698
  time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
@@ -1709,7 +1709,7 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1709
1709
  analytics: o,
1710
1710
  className: f = ""
1711
1711
  }) => {
1712
- const [p, w] = $(!1), [b, g] = $({ hour12: 11, minute: "09", meridiem: "AM" }), [j, B] = $(null), [x, R] = $(!1), H = K(null), D = K(null), S = K(null), T = K({}), k = (m) => l({ ...s, ...m }), O = (m, C) => {
1712
+ const [p, w] = $(!1), [b, g] = $({ hour12: 11, minute: "09", meridiem: "AM" }), [j, B] = $(null), [x, S] = $(!1), H = K(null), D = K(null), R = K(null), T = K({}), k = (m) => l({ ...s, ...m }), O = (m, C) => {
1713
1713
  C.trim() && !T.current[`${r}_${m}`] && (T.current[`${r}_${m}`] = !0, {
1714
1714
  fullName: r === "boy" ? () => o?.trackBoyNameSectionFilled?.() : () => o?.trackGirlNameSectionFilled?.(),
1715
1715
  dateOfBirth: r === "boy" ? () => o?.trackBoyDobFilled?.() : () => o?.trackGirlDobFilled?.(),
@@ -1736,7 +1736,7 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1736
1736
  r === "boy" ? o?.trackBoyTimeCheckboxClicked?.() : o?.trackGirlTimeCheckboxClicked?.();
1737
1737
  }, we = () => {
1738
1738
  r === "boy" ? o?.trackBoyPlaceOfBirthClicked?.() : o?.trackGirlPlaceOfBirthClicked?.();
1739
- }, le = (m) => String(m).padStart(2, "0"), Pe = (m) => {
1739
+ }, de = (m) => String(m).padStart(2, "0"), Pe = (m) => {
1740
1740
  const C = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(m);
1741
1741
  if (!C) return m;
1742
1742
  const J = Number(C[1]), ne = C[2], me = J >= 12 ? "PM" : "AM";
@@ -1749,7 +1749,7 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1749
1749
  }, Te = (m) => {
1750
1750
  const C = Math.min(12, Math.max(1, m.hour12)), J = /^([0-5]\d)$/.test(m.minute) ? m.minute : "00";
1751
1751
  let ne = C % 12;
1752
- return m.meridiem === "PM" && (ne += 12), `${le(ne)}:${J}`;
1752
+ return m.meridiem === "PM" && (ne += 12), `${de(ne)}:${J}`;
1753
1753
  };
1754
1754
  return q(() => {
1755
1755
  const m = (C) => {
@@ -1759,7 +1759,7 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1759
1759
  return document.addEventListener("mousedown", m), () => document.removeEventListener("mousedown", m);
1760
1760
  }, [p]), q(() => {
1761
1761
  const m = (C) => {
1762
- S.current && (S.current.contains(C.target) || R(!1));
1762
+ R.current && (R.current.contains(C.target) || S(!1));
1763
1763
  };
1764
1764
  return document.addEventListener("mousedown", m), () => document.removeEventListener("mousedown", m);
1765
1765
  }, []), q(() => {
@@ -1828,13 +1828,13 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
1828
1828
  value: s.dateOfBirth,
1829
1829
  max: (() => {
1830
1830
  const m = /* @__PURE__ */ new Date();
1831
- return `${m.getFullYear()}-${le(m.getMonth() + 1)}-${le(m.getDate())}`;
1831
+ return `${m.getFullYear()}-${de(m.getMonth() + 1)}-${de(m.getDate())}`;
1832
1832
  })(),
1833
1833
  onClick: () => {
1834
1834
  te(), D.current?.showPicker?.();
1835
1835
  },
1836
1836
  onChange: (m) => {
1837
- const C = m.target.value, J = /* @__PURE__ */ new Date(), ne = `${J.getFullYear()}-${le(J.getMonth() + 1)}-${le(J.getDate())}`;
1837
+ const C = m.target.value, J = /* @__PURE__ */ new Date(), ne = `${J.getFullYear()}-${de(J.getMonth() + 1)}-${de(J.getDate())}`;
1838
1838
  C && C > ne || (k({ dateOfBirth: C }), O("dateOfBirth", C));
1839
1839
  }
1840
1840
  }
@@ -2024,7 +2024,7 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
2024
2024
  ] })
2025
2025
  ] })
2026
2026
  ] }),
2027
- /* @__PURE__ */ e.jsxs("div", { className: u.inputWrap, ref: S, children: [
2027
+ /* @__PURE__ */ e.jsxs("div", { className: u.inputWrap, ref: R, children: [
2028
2028
  /* @__PURE__ */ e.jsx(
2029
2029
  "input",
2030
2030
  {
@@ -2034,10 +2034,10 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
2034
2034
  value: s.birthPlace,
2035
2035
  onChange: (m) => {
2036
2036
  const C = m.target.value;
2037
- k({ birthPlace: C }), R(!0);
2037
+ k({ birthPlace: C }), S(!0);
2038
2038
  },
2039
2039
  onFocus: () => {
2040
- we(), R(!0), v();
2040
+ we(), S(!0), v();
2041
2041
  },
2042
2042
  placeholder: t("formBirthPlacePlaceholder"),
2043
2043
  autoComplete: "address-level2"
@@ -2050,7 +2050,7 @@ const zi = (t, s) => typeof window > "u" || window.google?.maps?.places ? Promis
2050
2050
  type: "button",
2051
2051
  className: u.suggestionItem,
2052
2052
  onClick: () => {
2053
- k({ birthPlace: m.description }), O("birthPlace", m.description), ee(), R(!1);
2053
+ k({ birthPlace: m.description }), O("birthPlace", m.description), ee(), S(!1);
2054
2054
  },
2055
2055
  children: [
2056
2056
  /* @__PURE__ */ e.jsx("span", { className: u.suggestionMain, children: m.structured_formatting?.main_text ?? m.description }),
@@ -2188,13 +2188,13 @@ const Qi = {
2188
2188
  analytics: h,
2189
2189
  className: o = ""
2190
2190
  }) => {
2191
- const f = K(null), [p, w] = $(!1), [b, g] = $(!1), [j, B] = $(!1), [x, R] = $(!1), [H, D] = $(""), [S, T] = $(c ? "+1" : "+91"), k = K(null), O = K(null), U = (v) => v.replace(/\D/g, "").slice(0, 10), _ = H.trim().toLowerCase(), G = bt.filter((v) => _ ? v.country.toLowerCase().includes(_) || v.code.includes(_) : !0);
2191
+ const f = K(null), [p, w] = $(!1), [b, g] = $(!1), [j, B] = $(!1), [x, S] = $(!1), [H, D] = $(""), [R, T] = $(c ? "+1" : "+91"), k = K(null), O = K(null), U = (v) => v.replace(/\D/g, "").slice(0, 10), _ = H.trim().toLowerCase(), G = bt.filter((v) => _ ? v.country.toLowerCase().includes(_) || v.code.includes(_) : !0);
2192
2192
  q(() => {
2193
2193
  T(c ? "+1" : "+91");
2194
2194
  }, [c]), q(() => {
2195
2195
  if (!x) return;
2196
2196
  const v = (M) => {
2197
- k.current && !k.current.contains(M.target) && R(!1);
2197
+ k.current && !k.current.contains(M.target) && S(!1);
2198
2198
  };
2199
2199
  return document.addEventListener("mousedown", v), () => document.removeEventListener("mousedown", v);
2200
2200
  }, [x]), q(() => {
@@ -2268,9 +2268,9 @@ const Qi = {
2268
2268
  "aria-haspopup": "listbox",
2269
2269
  "aria-expanded": x,
2270
2270
  onClick: () => {
2271
- R((v) => !v), D("");
2271
+ S((v) => !v), D("");
2272
2272
  },
2273
- children: S
2273
+ children: R
2274
2274
  }
2275
2275
  ) }),
2276
2276
  /* @__PURE__ */ e.jsx(
@@ -2319,10 +2319,10 @@ const Qi = {
2319
2319
  {
2320
2320
  type: "button",
2321
2321
  role: "option",
2322
- "aria-selected": v.code === S,
2323
- className: `${W.isdOption} ${v.code === S ? W.isdOptionActive : ""}`,
2322
+ "aria-selected": v.code === R,
2323
+ className: `${W.isdOption} ${v.code === R ? W.isdOptionActive : ""}`,
2324
2324
  onClick: () => {
2325
- T(v.code), R(!1), D("");
2325
+ T(v.code), S(!1), D("");
2326
2326
  },
2327
2327
  children: [
2328
2328
  /* @__PURE__ */ e.jsx("span", { className: W.isdCountryName, children: v.country }),
@@ -2816,7 +2816,7 @@ const Qi = {
2816
2816
  o,
2817
2817
  f
2818
2818
  ]
2819
- ), R = Ke(
2819
+ ), S = Ke(
2820
2820
  () => ({
2821
2821
  locale: w,
2822
2822
  setLocale: b,
@@ -2826,7 +2826,7 @@ const Qi = {
2826
2826
  }),
2827
2827
  [w, x, g]
2828
2828
  );
2829
- return /* @__PURE__ */ e.jsx(He.Provider, { value: R, children: p });
2829
+ return /* @__PURE__ */ e.jsx(He.Provider, { value: S, children: p });
2830
2830
  };
2831
2831
  function Po() {
2832
2832
  return Ge(He);
@@ -3218,7 +3218,7 @@ const _o = ["en", "hi"], gt = {
3218
3218
  faqA4: "हां, हम संतुष्टि की गारंटी प्रदान करते हैं। यदि आप रिपोर्ट की गुणवत्ता से खुश नहीं हैं, तो कृपया अपनी रिपोर्ट प्राप्त करने के 7 दिनों के भीतर हमारी सहायता टीम से संपर्क करें और हम धनवापसी में आपकी सहायता करेंगे।"
3219
3219
  }
3220
3220
  }, bo = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", yo = 120, vo = (t, s) => yt[t]?.[s] ?? s;
3221
- function de({
3221
+ function le({
3222
3222
  section: t,
3223
3223
  onImpression: s,
3224
3224
  children: l
@@ -3267,13 +3267,14 @@ const To = ({
3267
3267
  function xo({ className: t }) {
3268
3268
  const { locale: s, setLocale: l, config: r, formValues: c, setFormValues: h } = fo(), [o, f] = $(!1), [p, w] = $(
3269
3269
  null
3270
- ), [b, g] = $(!1), j = K(null), B = K(!1), x = (_) => vo(s, _), R = Ne((_) => {
3270
+ ), [b, g] = $(!1), j = K(null), B = K(!1), x = (_) => vo(s, _), S = Ne((_) => {
3271
3271
  ({
3272
3272
  hero: () => r.analytics?.trackHeroSectionViewed?.(),
3273
3273
  features: () => r.analytics?.trackFeaturesSectionViewed?.(),
3274
3274
  sneakPeek: () => r.analytics?.trackSneakPeekSectionViewed?.(),
3275
3275
  testimonials: () => r.analytics?.trackTestimonialsSectionViewed?.(),
3276
3276
  benefits: () => r.analytics?.trackBenefitsSectionViewed?.(),
3277
+ form: () => r.analytics?.trackFormSectionViewed?.(),
3277
3278
  howItWorks: () => r.analytics?.trackHowItWorksSectionViewed?.(),
3278
3279
  whyUs: () => r.analytics?.trackWhyUsSectionViewed?.(),
3279
3280
  faq: () => r.analytics?.trackFaqSectionViewed?.()
@@ -3290,7 +3291,7 @@ function xo({ className: t }) {
3290
3291
  }, [r.analytics]);
3291
3292
  const D = (_) => {
3292
3293
  h((G) => ({ ...G, ..._ }));
3293
- }, S = () => {
3294
+ }, R = () => {
3294
3295
  r.analytics?.trackPrimaryCtaClickedL1?.({
3295
3296
  avenue: "kundli_matching_form"
3296
3297
  }), B.current = !1, f(!0);
@@ -3374,12 +3375,12 @@ function xo({ className: t }) {
3374
3375
  isGlobal: r.isGlobal
3375
3376
  }
3376
3377
  ),
3377
- /* @__PURE__ */ e.jsx(de, { section: "hero", onImpression: R, children: /* @__PURE__ */ e.jsx(_a, { t: x }) }),
3378
- /* @__PURE__ */ e.jsx(de, { section: "features", onImpression: R, children: /* @__PURE__ */ e.jsx(Na, { t: x }) }),
3379
- /* @__PURE__ */ e.jsx(de, { section: "sneakPeek", onImpression: R, children: /* @__PURE__ */ e.jsx(Yr, { t: x, analytics: r.analytics }) }),
3380
- /* @__PURE__ */ e.jsx(de, { section: "testimonials", onImpression: R, children: /* @__PURE__ */ e.jsx(bs, { t: x, analytics: r.analytics }) }),
3381
- /* @__PURE__ */ e.jsx(de, { section: "benefits", onImpression: R, children: /* @__PURE__ */ e.jsx(Rs, { t: x }) }),
3382
- /* @__PURE__ */ e.jsx(
3378
+ /* @__PURE__ */ e.jsx(le, { section: "hero", onImpression: S, children: /* @__PURE__ */ e.jsx(_a, { t: x }) }),
3379
+ /* @__PURE__ */ e.jsx(le, { section: "features", onImpression: S, children: /* @__PURE__ */ e.jsx(Na, { t: x }) }),
3380
+ /* @__PURE__ */ e.jsx(le, { section: "sneakPeek", onImpression: S, children: /* @__PURE__ */ e.jsx(Yr, { t: x, analytics: r.analytics }) }),
3381
+ /* @__PURE__ */ e.jsx(le, { section: "testimonials", onImpression: S, children: /* @__PURE__ */ e.jsx(bs, { t: x, analytics: r.analytics }) }),
3382
+ /* @__PURE__ */ e.jsx(le, { section: "benefits", onImpression: S, children: /* @__PURE__ */ e.jsx(Rs, { t: x }) }),
3383
+ /* @__PURE__ */ e.jsx(le, { section: "form", onImpression: S, children: /* @__PURE__ */ e.jsx(
3383
3384
  Zi,
3384
3385
  {
3385
3386
  t: x,
@@ -3389,16 +3390,16 @@ function xo({ className: t }) {
3389
3390
  isGlobal: r.isGlobal,
3390
3391
  analytics: r.analytics
3391
3392
  }
3392
- ),
3393
- /* @__PURE__ */ e.jsx(de, { section: "howItWorks", onImpression: R, children: /* @__PURE__ */ e.jsx(Oa, { t: x }) }),
3394
- /* @__PURE__ */ e.jsx(de, { section: "whyUs", onImpression: R, children: /* @__PURE__ */ e.jsx(Fs, { t: x }) }),
3395
- /* @__PURE__ */ e.jsx(de, { section: "faq", onImpression: R, children: /* @__PURE__ */ e.jsx(Ks, { t: x }) }),
3393
+ ) }),
3394
+ /* @__PURE__ */ e.jsx(le, { section: "howItWorks", onImpression: S, children: /* @__PURE__ */ e.jsx(Oa, { t: x }) }),
3395
+ /* @__PURE__ */ e.jsx(le, { section: "whyUs", onImpression: S, children: /* @__PURE__ */ e.jsx(Fs, { t: x }) }),
3396
+ /* @__PURE__ */ e.jsx(le, { section: "faq", onImpression: S, children: /* @__PURE__ */ e.jsx(Ks, { t: x }) }),
3396
3397
  /* @__PURE__ */ e.jsx(
3397
3398
  hn,
3398
3399
  {
3399
3400
  t: x,
3400
3401
  values: c,
3401
- onProceed: S,
3402
+ onProceed: R,
3402
3403
  isGlobal: r.isGlobal
3403
3404
  }
3404
3405
  ),