@srimandir/astrology-common 7.2.2 → 7.2.4

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.
package/dist/index.js CHANGED
@@ -1,39 +1,39 @@
1
1
  import "./styles.js";
2
- import { jsxs as i, jsx as e, Fragment as De } from "react/jsx-runtime";
3
- import { useMemo as E, useState as $, useEffect as re, useRef as Y, Fragment as Je, useCallback as le } from "react";
4
- const Ze = "_section_1fboo_1", Xe = "_heading_1fboo_5", Qe = "_trustLine_1fboo_9", et = "_star_1fboo_13", tt = "_ratingNum_1fboo_17", nt = "_trustText_1fboo_21", at = "_cardList_1fboo_25", ot = "_card_1fboo_25", st = "_quote_1fboo_37", rt = "_author_1fboo_41", it = "_avatar_1fboo_45", ct = "_avatarPlaceholder_1fboo_49", lt = "_authorInfo_1fboo_54", dt = "_authorName_1fboo_58", mt = "_stars_1fboo_62", _t = "_readMoreWrap_1fboo_66", ht = "_toggleBtn_1fboo_70", ut = "_readMore_1fboo_66", gt = "_arrow_1fboo_89", pt = "_dot_1fboo_93", v = {
5
- section: Ze,
6
- heading: Xe,
7
- trustLine: Qe,
8
- star: et,
9
- ratingNum: tt,
10
- trustText: nt,
11
- cardList: at,
12
- card: ot,
13
- quote: st,
14
- author: rt,
15
- avatar: it,
16
- avatarPlaceholder: ct,
17
- authorInfo: lt,
18
- authorName: dt,
19
- stars: mt,
20
- readMoreWrap: _t,
21
- toggleBtn: ht,
22
- readMore: ut,
2
+ import { jsxs as i, jsx as e, Fragment as Be } from "react/jsx-runtime";
3
+ import { useMemo as E, useState as $, useEffect as se, useRef as G, Fragment as Ze, useCallback as le } from "react";
4
+ const Xe = "_section_1fboo_1", Qe = "_heading_1fboo_5", et = "_trustLine_1fboo_9", tt = "_star_1fboo_13", nt = "_ratingNum_1fboo_17", at = "_trustText_1fboo_21", ot = "_cardList_1fboo_25", st = "_card_1fboo_25", rt = "_quote_1fboo_37", it = "_author_1fboo_41", ct = "_avatar_1fboo_45", lt = "_avatarPlaceholder_1fboo_49", dt = "_authorInfo_1fboo_54", mt = "_authorName_1fboo_58", _t = "_stars_1fboo_62", ht = "_readMoreWrap_1fboo_66", ut = "_toggleBtn_1fboo_70", pt = "_readMore_1fboo_66", gt = "_arrow_1fboo_89", bt = "_dot_1fboo_93", v = {
5
+ section: Xe,
6
+ heading: Qe,
7
+ trustLine: et,
8
+ star: tt,
9
+ ratingNum: nt,
10
+ trustText: at,
11
+ cardList: ot,
12
+ card: st,
13
+ quote: rt,
14
+ author: it,
15
+ avatar: ct,
16
+ avatarPlaceholder: lt,
17
+ authorInfo: dt,
18
+ authorName: mt,
19
+ stars: _t,
20
+ readMoreWrap: ht,
21
+ toggleBtn: ut,
22
+ readMore: pt,
23
23
  arrow: gt,
24
- dot: pt
25
- }, bt = 3, Be = 15;
26
- function ft(t) {
24
+ dot: bt
25
+ }, ft = 3, Me = 15;
26
+ function Nt(t) {
27
27
  const n = /* @__PURE__ */ new Map();
28
- for (let l = 1; l <= Be; l += 1) {
28
+ for (let l = 1; l <= Me; l += 1) {
29
29
  const u = `feedbackTestimonial${l}`, h = t(u);
30
30
  if (!h || h === u) continue;
31
31
  const f = `feedbackAuthor${l}`, _ = (() => {
32
32
  const w = t(f);
33
33
  return w && w !== f ? w : t("guest");
34
- })(), p = `feedbackAuthor${l}AvatarUrl`, b = (() => {
35
- const w = t(p);
36
- return w && w !== p ? w : void 0;
34
+ })(), g = `feedbackAuthor${l}AvatarUrl`, b = (() => {
35
+ const w = t(g);
36
+ return w && w !== g ? w : void 0;
37
37
  })();
38
38
  n.set(l, {
39
39
  quote: h,
@@ -43,7 +43,7 @@ function ft(t) {
43
43
  });
44
44
  }
45
45
  const a = [], s = [];
46
- for (let l = 1; l <= Be; l += 1)
46
+ for (let l = 1; l <= Me; l += 1)
47
47
  l >= 9 ? s.push(l) : a.push(l);
48
48
  const r = [];
49
49
  let c = 0, d = 0;
@@ -59,16 +59,16 @@ function ft(t) {
59
59
  }
60
60
  return r;
61
61
  }
62
- function Es({
62
+ function qs({
63
63
  t,
64
64
  testimonials: n,
65
- initialVisible: a = bt,
65
+ initialVisible: a = ft,
66
66
  readMoreHref: s,
67
67
  onReadMore: r,
68
68
  className: c = "",
69
69
  headingClassName: d
70
70
  }) {
71
- const l = n ?? E(() => ft(t), [t]), [u, h] = $(!1), f = l.length > a, _ = f && !u ? l.slice(0, a) : l, p = t("feedbackTitle"), b = t("feedbackRating"), w = t("feedbackTrust"), O = t("readMoreReviews"), k = t("readLess");
71
+ const l = n ?? E(() => Nt(t), [t]), [u, h] = $(!1), f = l.length > a, _ = f && !u ? l.slice(0, a) : l, g = t("feedbackTitle"), b = t("feedbackRating"), w = t("feedbackTrust"), O = t("readMoreReviews"), k = t("readLess");
72
72
  return /* @__PURE__ */ i(
73
73
  "section",
74
74
  {
@@ -80,7 +80,7 @@ function Es({
80
80
  {
81
81
  id: "reviews-heading",
82
82
  className: [v.heading, d].filter(Boolean).join(" "),
83
- children: p
83
+ children: g
84
84
  }
85
85
  ),
86
86
  /* @__PURE__ */ i("p", { className: v.trustLine, children: [
@@ -89,7 +89,7 @@ function Es({
89
89
  /* @__PURE__ */ e("span", { className: v.dot, "aria-hidden": !0 }),
90
90
  /* @__PURE__ */ e("span", { className: v.trustText, children: w })
91
91
  ] }),
92
- /* @__PURE__ */ e("ul", { className: v.cardList, children: _.map((T, P) => /* @__PURE__ */ i("li", { className: v.card, children: [
92
+ /* @__PURE__ */ e("ul", { className: v.cardList, children: _.map((T, R) => /* @__PURE__ */ i("li", { className: v.card, children: [
93
93
  /* @__PURE__ */ e("p", { className: v.quote, children: T.quote }),
94
94
  /* @__PURE__ */ i("div", { className: v.author, children: [
95
95
  T.authorAvatarUrl ? /* @__PURE__ */ e(
@@ -107,7 +107,7 @@ function Es({
107
107
  /* @__PURE__ */ e("span", { className: v.stars, "aria-hidden": !0, children: "★".repeat(T.rating ?? 5) })
108
108
  ] })
109
109
  ] })
110
- ] }, P)) }),
110
+ ] }, R)) }),
111
111
  f && /* @__PURE__ */ e("div", { className: v.readMoreWrap, children: /* @__PURE__ */ i(
112
112
  "button",
113
113
  {
@@ -149,20 +149,20 @@ function Es({
149
149
  }
150
150
  );
151
151
  }
152
- const vt = "_section_4dc65_1", Nt = "_heading_4dc65_5", wt = "_accordion_4dc65_9", yt = "_item_4dc65_13", kt = "_itemOpen_4dc65_17", St = "_question_4dc65_22", It = "_chevron_4dc65_30", $t = "_chevronOpen_4dc65_34", Tt = "_answerWrap_4dc65_38", Lt = "_answerOpen_4dc65_42", xt = "_answer_4dc65_38", M = {
152
+ const vt = "_section_4dc65_1", wt = "_heading_4dc65_5", yt = "_accordion_4dc65_9", kt = "_item_4dc65_13", St = "_itemOpen_4dc65_17", It = "_question_4dc65_22", $t = "_chevron_4dc65_30", Tt = "_chevronOpen_4dc65_34", Lt = "_answerWrap_4dc65_38", xt = "_answerOpen_4dc65_42", Ct = "_answer_4dc65_38", B = {
153
153
  section: vt,
154
- heading: Nt,
155
- accordion: wt,
156
- item: yt,
157
- itemOpen: kt,
158
- question: St,
159
- chevron: It,
160
- chevronOpen: $t,
161
- answerWrap: Tt,
162
- answerOpen: Lt,
163
- answer: xt
154
+ heading: wt,
155
+ accordion: yt,
156
+ item: kt,
157
+ itemOpen: St,
158
+ question: It,
159
+ chevron: $t,
160
+ chevronOpen: Tt,
161
+ answerWrap: Lt,
162
+ answerOpen: xt,
163
+ answer: Ct
164
164
  };
165
- function Os({
165
+ function Ws({
166
166
  t,
167
167
  items: n,
168
168
  resolveAnswerKey: a,
@@ -172,52 +172,52 @@ function Os({
172
172
  headingClassName: d
173
173
  }) {
174
174
  const l = E(
175
- () => n.map(({ qKey: _, aKey: p }) => ({
175
+ () => n.map(({ qKey: _, aKey: g }) => ({
176
176
  question: t(_),
177
- answer: t(a ? a(p) : p)
177
+ answer: t(a ? a(g) : g)
178
178
  })),
179
179
  [t, n, a]
180
180
  ), [u, h] = $(s), f = t("faqTitle");
181
181
  return /* @__PURE__ */ i(
182
182
  "section",
183
183
  {
184
- className: `${M.section} ${c}`,
184
+ className: `${B.section} ${c}`,
185
185
  "aria-labelledby": "faq-heading",
186
186
  children: [
187
187
  /* @__PURE__ */ e(
188
188
  "h2",
189
189
  {
190
190
  id: "faq-heading",
191
- className: [M.heading, d].filter(Boolean).join(" "),
191
+ className: [B.heading, d].filter(Boolean).join(" "),
192
192
  children: f
193
193
  }
194
194
  ),
195
- /* @__PURE__ */ e("div", { className: M.accordion, role: "list", children: l.map((_, p) => {
196
- const b = u === p;
195
+ /* @__PURE__ */ e("div", { className: B.accordion, role: "list", children: l.map((_, g) => {
196
+ const b = u === g;
197
197
  return /* @__PURE__ */ i(
198
198
  "div",
199
199
  {
200
- className: `${M.item} ${b ? M.itemOpen : ""}`,
200
+ className: `${B.item} ${b ? B.itemOpen : ""}`,
201
201
  role: "listitem",
202
202
  children: [
203
203
  /* @__PURE__ */ i(
204
204
  "button",
205
205
  {
206
206
  type: "button",
207
- className: M.question,
207
+ className: B.question,
208
208
  onClick: () => {
209
209
  const w = !b;
210
- h(b ? -1 : p), w && r?.(_.question);
210
+ h(b ? -1 : g), w && r?.(_.question);
211
211
  },
212
212
  "aria-expanded": b,
213
- "aria-controls": `faq-answer-${p}`,
214
- id: `faq-question-${p}`,
213
+ "aria-controls": `faq-answer-${g}`,
214
+ id: `faq-question-${g}`,
215
215
  children: [
216
216
  /* @__PURE__ */ e("span", { children: _.question }),
217
217
  /* @__PURE__ */ e(
218
218
  "span",
219
219
  {
220
- className: `${M.chevron} ${b ? M.chevronOpen : ""}`,
220
+ className: `${B.chevron} ${b ? B.chevronOpen : ""}`,
221
221
  "aria-hidden": !0,
222
222
  children: /* @__PURE__ */ e(
223
223
  "svg",
@@ -245,35 +245,35 @@ function Os({
245
245
  /* @__PURE__ */ e(
246
246
  "div",
247
247
  {
248
- id: `faq-answer-${p}`,
248
+ id: `faq-answer-${g}`,
249
249
  role: "region",
250
- "aria-labelledby": `faq-question-${p}`,
251
- className: `${M.answerWrap} ${b ? M.answerOpen : ""}`,
250
+ "aria-labelledby": `faq-question-${g}`,
251
+ className: `${B.answerWrap} ${b ? B.answerOpen : ""}`,
252
252
  hidden: !b,
253
- children: /* @__PURE__ */ e("p", { className: M.answer, children: _.answer })
253
+ children: /* @__PURE__ */ e("p", { className: B.answer, children: _.answer })
254
254
  }
255
255
  )
256
256
  ]
257
257
  },
258
- p
258
+ g
259
259
  );
260
260
  }) })
261
261
  ]
262
262
  }
263
263
  );
264
264
  }
265
- const Ct = "_header_dbx4y_1", Dt = "_brand_dbx4y_7", Bt = "_logo_dbx4y_11", Mt = "_logoImg_dbx4y_15", Rt = "_logoPlaceholder_dbx4y_21", Pt = "_brandText_dbx4y_29", At = "_brandName_dbx4y_33", Et = "_rating_dbx4y_38", Ot = "_langSlot_dbx4y_49", A = {
266
- header: Ct,
267
- brand: Dt,
268
- logo: Bt,
269
- logoImg: Mt,
270
- logoPlaceholder: Rt,
271
- brandText: Pt,
272
- brandName: At,
273
- rating: Et,
274
- langSlot: Ot
275
- }, Me = 120, Re = 40;
276
- function Fs({
265
+ const Dt = "_header_dbx4y_1", Bt = "_brand_dbx4y_7", Mt = "_logo_dbx4y_11", Rt = "_logoImg_dbx4y_15", Pt = "_logoPlaceholder_dbx4y_21", At = "_brandText_dbx4y_29", Et = "_brandName_dbx4y_33", Ot = "_rating_dbx4y_38", Ft = "_langSlot_dbx4y_49", A = {
266
+ header: Dt,
267
+ brand: Bt,
268
+ logo: Mt,
269
+ logoImg: Rt,
270
+ logoPlaceholder: Pt,
271
+ brandText: At,
272
+ brandName: Et,
273
+ rating: Ot,
274
+ langSlot: Ft
275
+ }, Re = 120, Pe = 40;
276
+ function js({
277
277
  t,
278
278
  logoUrl: n,
279
279
  imageComponent: a,
@@ -290,8 +290,8 @@ function Fs({
290
290
  src: n,
291
291
  alt: l,
292
292
  className: A.logoImg,
293
- width: Me,
294
- height: Re
293
+ width: Re,
294
+ height: Pe
295
295
  }
296
296
  ) : /* @__PURE__ */ e(
297
297
  "img",
@@ -299,8 +299,8 @@ function Fs({
299
299
  src: n,
300
300
  alt: l,
301
301
  className: A.logoImg,
302
- width: Me,
303
- height: Re,
302
+ width: Re,
303
+ height: Pe,
304
304
  decoding: "async"
305
305
  }
306
306
  ) : /* @__PURE__ */ e("div", { className: A.logoPlaceholder, "aria-hidden": !0 }) }),
@@ -312,12 +312,12 @@ function Fs({
312
312
  d && /* @__PURE__ */ e("div", { className: A.langSlot, children: s })
313
313
  ] });
314
314
  }
315
- const Ft = "_wrap_1vbpd_1", qt = "_card_1vbpd_5", Wt = "_cardInner_1vbpd_10", fe = {
316
- wrap: Ft,
317
- card: qt,
318
- cardInner: Wt
315
+ const qt = "_wrap_1vbpd_1", Wt = "_card_1vbpd_5", jt = "_cardInner_1vbpd_10", Ne = {
316
+ wrap: qt,
317
+ card: Wt,
318
+ cardInner: jt
319
319
  };
320
- function qs({
320
+ function Hs({
321
321
  children: t,
322
322
  className: n = "",
323
323
  "aria-label": a
@@ -325,24 +325,24 @@ function qs({
325
325
  return /* @__PURE__ */ e(
326
326
  "section",
327
327
  {
328
- className: `${fe.wrap} ${n}`,
328
+ className: `${Ne.wrap} ${n}`,
329
329
  "aria-label": a,
330
- children: /* @__PURE__ */ e("div", { className: fe.card, children: /* @__PURE__ */ e("div", { className: fe.cardInner, children: t }) })
330
+ children: /* @__PURE__ */ e("div", { className: Ne.card, children: /* @__PURE__ */ e("div", { className: Ne.cardInner, children: t }) })
331
331
  }
332
332
  );
333
333
  }
334
- const jt = "_header_a05ni_1", Ht = "_left_a05ni_7", Kt = "_backBtn_a05ni_11", Ut = "_titleWrap_a05ni_21", zt = "_title_a05ni_21", Gt = "_subtitle_a05ni_31", Yt = "_backIcon_a05ni_37", G = {
335
- header: jt,
336
- left: Ht,
334
+ const Ht = "_header_a05ni_1", zt = "_left_a05ni_7", Kt = "_backBtn_a05ni_11", Ut = "_titleWrap_a05ni_21", Gt = "_title_a05ni_21", Yt = "_subtitle_a05ni_31", Vt = "_backIcon_a05ni_37", U = {
335
+ header: Ht,
336
+ left: zt,
337
337
  backBtn: Kt,
338
338
  titleWrap: Ut,
339
- title: zt,
340
- subtitle: Gt,
341
- backIcon: Yt
342
- }, Vt = () => /* @__PURE__ */ e(
339
+ title: Gt,
340
+ subtitle: Yt,
341
+ backIcon: Vt
342
+ }, Jt = () => /* @__PURE__ */ e(
343
343
  "svg",
344
344
  {
345
- className: G.backIcon,
345
+ className: U.backIcon,
346
346
  viewBox: "0 0 24 24",
347
347
  fill: "none",
348
348
  xmlns: "http://www.w3.org/2000/svg",
@@ -359,38 +359,38 @@ const jt = "_header_a05ni_1", Ht = "_left_a05ni_7", Kt = "_backBtn_a05ni_11", Ut
359
359
  )
360
360
  }
361
361
  );
362
- function Ws({
362
+ function zs({
363
363
  title: t,
364
364
  subtitle: n,
365
365
  onBack: a,
366
366
  backAriaLabel: s = "Back",
367
367
  className: r = ""
368
368
  }) {
369
- return /* @__PURE__ */ e("header", { className: `${G.header} ${r}`, children: /* @__PURE__ */ i("div", { className: G.left, children: [
369
+ return /* @__PURE__ */ e("header", { className: `${U.header} ${r}`, children: /* @__PURE__ */ i("div", { className: U.left, children: [
370
370
  a != null && /* @__PURE__ */ e(
371
371
  "button",
372
372
  {
373
373
  type: "button",
374
- className: G.backBtn,
374
+ className: U.backBtn,
375
375
  onClick: a,
376
376
  "aria-label": s,
377
- children: /* @__PURE__ */ e(Vt, {})
377
+ children: /* @__PURE__ */ e(Jt, {})
378
378
  }
379
379
  ),
380
- /* @__PURE__ */ i("div", { className: G.titleWrap, children: [
381
- /* @__PURE__ */ e("h1", { className: G.title, children: t }),
382
- n != null && n !== "" && /* @__PURE__ */ e("p", { className: G.subtitle, children: n })
380
+ /* @__PURE__ */ i("div", { className: U.titleWrap, children: [
381
+ /* @__PURE__ */ e("h1", { className: U.title, children: t }),
382
+ n != null && n !== "" && /* @__PURE__ */ e("p", { className: U.subtitle, children: n })
383
383
  ] })
384
384
  ] }) });
385
385
  }
386
- const Jt = "_banner_1jco0_1", Zt = "_icon_1jco0_12", Xt = "_text_1jco0_16", ve = {
387
- banner: Jt,
388
- icon: Zt,
389
- text: Xt
390
- }, Qt = "https://srm-cdn.a4b.io/yoda/1770707793537.svg";
391
- function js({
386
+ const Zt = "_banner_1jco0_1", Xt = "_icon_1jco0_12", Qt = "_text_1jco0_16", ve = {
387
+ banner: Zt,
388
+ icon: Xt,
389
+ text: Qt
390
+ }, en = "https://srm-cdn.a4b.io/yoda/1770707793537.svg";
391
+ function Ks({
392
392
  text: t,
393
- iconUrl: n = Qt,
393
+ iconUrl: n = en,
394
394
  className: a = ""
395
395
  }) {
396
396
  return /* @__PURE__ */ e("div", { className: `${ve.banner} ${a}`, role: "status", children: /* @__PURE__ */ i("span", { className: ve.text, children: [
@@ -410,60 +410,60 @@ function js({
410
410
  t
411
411
  ] }) });
412
412
  }
413
- const en = "_field_eqt7q_1", tn = "_labelRow_eqt7q_5", nn = "_label_eqt7q_5", an = "_req_eqt7q_14", on = "_help_eqt7q_18", sn = "_infoBtn_eqt7q_22", rn = "_infoImg_eqt7q_30", cn = "_infoWrap_eqt7q_34", ln = "_tooltip_eqt7q_38", dn = "_tooltipArrow_eqt7q_45", mn = "_inputWrap_eqt7q_50", R = {
414
- field: en,
415
- labelRow: tn,
416
- label: nn,
417
- req: an,
418
- help: on,
419
- infoBtn: sn,
420
- infoImg: rn,
421
- infoWrap: cn,
422
- tooltip: ln,
423
- tooltipArrow: dn,
424
- inputWrap: mn
425
- }, _n = "https://srm-cdn.a4b.io/yoda/1770372066357.svg";
426
- function Hs({
413
+ const tn = "_field_eqt7q_1", nn = "_labelRow_eqt7q_5", an = "_label_eqt7q_5", on = "_req_eqt7q_14", sn = "_help_eqt7q_18", rn = "_infoBtn_eqt7q_22", cn = "_infoImg_eqt7q_30", ln = "_infoWrap_eqt7q_34", dn = "_tooltip_eqt7q_38", mn = "_tooltipArrow_eqt7q_45", _n = "_inputWrap_eqt7q_50", M = {
414
+ field: tn,
415
+ labelRow: nn,
416
+ label: an,
417
+ req: on,
418
+ help: sn,
419
+ infoBtn: rn,
420
+ infoImg: cn,
421
+ infoWrap: ln,
422
+ tooltip: dn,
423
+ tooltipArrow: mn,
424
+ inputWrap: _n
425
+ }, hn = "https://srm-cdn.a4b.io/yoda/1770372066357.svg";
426
+ function Us({
427
427
  label: t,
428
428
  id: n,
429
429
  required: a = !1,
430
430
  help: s,
431
431
  infoTooltip: r,
432
432
  infoAriaLabel: c = "Info",
433
- infoIconUrl: d = _n,
433
+ infoIconUrl: d = hn,
434
434
  children: l,
435
435
  className: u = ""
436
436
  }) {
437
437
  const [h, f] = $(!1);
438
- return re(() => {
438
+ return se(() => {
439
439
  if (!r) return;
440
440
  const _ = (b) => {
441
441
  b.target?.closest?.("[data-info-tooltip]") == null && f(!1);
442
- }, p = (b) => {
442
+ }, g = (b) => {
443
443
  b.key === "Escape" && f(!1);
444
444
  };
445
- return document.addEventListener("mousedown", _), document.addEventListener("keydown", p), () => {
446
- document.removeEventListener("mousedown", _), document.removeEventListener("keydown", p);
445
+ return document.addEventListener("mousedown", _), document.addEventListener("keydown", g), () => {
446
+ document.removeEventListener("mousedown", _), document.removeEventListener("keydown", g);
447
447
  };
448
- }, [r]), /* @__PURE__ */ i("div", { className: `${R.field} ${u}`, children: [
449
- /* @__PURE__ */ i("div", { className: R.labelRow, children: [
450
- /* @__PURE__ */ i("label", { className: R.label, htmlFor: n, children: [
448
+ }, [r]), /* @__PURE__ */ i("div", { className: `${M.field} ${u}`, children: [
449
+ /* @__PURE__ */ i("div", { className: M.labelRow, children: [
450
+ /* @__PURE__ */ i("label", { className: M.label, htmlFor: n, children: [
451
451
  t,
452
- a && /* @__PURE__ */ e("span", { className: R.req, children: "*" })
452
+ a && /* @__PURE__ */ e("span", { className: M.req, children: "*" })
453
453
  ] }),
454
- r != null && r !== "" && /* @__PURE__ */ i("div", { className: R.infoWrap, "data-info-tooltip": !0, children: [
454
+ r != null && r !== "" && /* @__PURE__ */ i("div", { className: M.infoWrap, "data-info-tooltip": !0, children: [
455
455
  /* @__PURE__ */ e(
456
456
  "button",
457
457
  {
458
458
  type: "button",
459
- className: R.infoBtn,
459
+ className: M.infoBtn,
460
460
  "aria-label": c,
461
461
  "aria-expanded": h,
462
462
  onClick: () => f((_) => !_),
463
463
  children: /* @__PURE__ */ e(
464
464
  "img",
465
465
  {
466
- className: R.infoImg,
466
+ className: M.infoImg,
467
467
  src: d,
468
468
  alt: "",
469
469
  "aria-hidden": !0
@@ -471,24 +471,24 @@ function Hs({
471
471
  )
472
472
  }
473
473
  ),
474
- h && /* @__PURE__ */ i("div", { className: R.tooltip, role: "tooltip", children: [
474
+ h && /* @__PURE__ */ i("div", { className: M.tooltip, role: "tooltip", children: [
475
475
  r,
476
- /* @__PURE__ */ e("span", { className: R.tooltipArrow, "aria-hidden": !0 })
476
+ /* @__PURE__ */ e("span", { className: M.tooltipArrow, "aria-hidden": !0 })
477
477
  ] })
478
478
  ] })
479
479
  ] }),
480
- s != null && s !== "" && /* @__PURE__ */ e("div", { className: R.help, children: s }),
481
- /* @__PURE__ */ e("div", { className: R.inputWrap, children: l })
480
+ s != null && s !== "" && /* @__PURE__ */ e("div", { className: M.help, children: s }),
481
+ /* @__PURE__ */ e("div", { className: M.inputWrap, children: l })
482
482
  ] });
483
483
  }
484
- const hn = "_wrap_1uy4o_1", un = "_input_1uy4o_5", gn = "_iconBtn_1uy4o_21", pn = "_iconBtnInteractive_1uy4o_25", bn = "_iconImg_1uy4o_39", J = {
485
- wrap: hn,
486
- input: un,
484
+ const un = "_wrap_1uy4o_1", pn = "_input_1uy4o_5", gn = "_iconBtn_1uy4o_21", bn = "_iconBtnInteractive_1uy4o_25", fn = "_iconImg_1uy4o_39", Z = {
485
+ wrap: un,
486
+ input: pn,
487
487
  iconBtn: gn,
488
- iconBtnInteractive: pn,
489
- iconImg: bn
488
+ iconBtnInteractive: bn,
489
+ iconImg: fn
490
490
  };
491
- function Ks({
491
+ function Gs({
492
492
  id: t,
493
493
  iconUrl: n,
494
494
  iconAlt: a = "",
@@ -497,13 +497,13 @@ function Ks({
497
497
  className: c = "",
498
498
  ...d
499
499
  }) {
500
- return /* @__PURE__ */ i("div", { className: `${J.wrap} ${c}`, children: [
500
+ return /* @__PURE__ */ i("div", { className: `${Z.wrap} ${c}`, children: [
501
501
  /* @__PURE__ */ e(
502
502
  "input",
503
503
  {
504
504
  ...d,
505
505
  id: t,
506
- className: J.input,
506
+ className: Z.input,
507
507
  type: d.type ?? "text"
508
508
  }
509
509
  ),
@@ -511,14 +511,14 @@ function Ks({
511
511
  "button",
512
512
  {
513
513
  type: "button",
514
- className: s ? `${J.iconBtn} ${J.iconBtnInteractive}` : J.iconBtn,
514
+ className: s ? `${Z.iconBtn} ${Z.iconBtnInteractive}` : Z.iconBtn,
515
515
  "aria-label": a || void 0,
516
516
  onClick: s ? r : void 0,
517
517
  tabIndex: s ? 0 : -1,
518
518
  children: /* @__PURE__ */ e(
519
519
  "img",
520
520
  {
521
- className: J.iconImg,
521
+ className: Z.iconImg,
522
522
  src: n,
523
523
  alt: "",
524
524
  "aria-hidden": !0,
@@ -530,13 +530,13 @@ function Ks({
530
530
  )
531
531
  ] });
532
532
  }
533
- const fn = "_wrap_t646o_1", vn = "_input_t646o_5", Nn = "_iconBtn_t646o_28", wn = "_iconImg_t646o_42", de = {
534
- wrap: fn,
533
+ const Nn = "_wrap_t646o_1", vn = "_input_t646o_5", wn = "_iconBtn_t646o_28", yn = "_iconImg_t646o_42", de = {
534
+ wrap: Nn,
535
535
  input: vn,
536
- iconBtn: Nn,
537
- iconImg: wn
538
- }, yn = "https://srm-cdn.a4b.io/yoda/1770372045894.svg";
539
- function Us({
536
+ iconBtn: wn,
537
+ iconImg: yn
538
+ }, kn = "https://srm-cdn.a4b.io/yoda/1770372045894.svg";
539
+ function Ys({
540
540
  id: t,
541
541
  value: n,
542
542
  onChange: a,
@@ -544,7 +544,7 @@ function Us({
544
544
  className: r = "",
545
545
  ...c
546
546
  }) {
547
- const d = Y(null), l = E(() => {
547
+ const d = G(null), l = E(() => {
548
548
  const h = /* @__PURE__ */ new Date(), f = (_) => String(_).padStart(2, "0");
549
549
  return `${h.getFullYear()}-${f(h.getMonth() + 1)}-${f(h.getDate())}`;
550
550
  }, []), u = () => {
@@ -583,7 +583,7 @@ function Us({
583
583
  "img",
584
584
  {
585
585
  className: de.iconImg,
586
- src: yn,
586
+ src: kn,
587
587
  alt: "",
588
588
  "aria-hidden": !0,
589
589
  width: 22,
@@ -594,13 +594,13 @@ function Us({
594
594
  )
595
595
  ] });
596
596
  }
597
- const kn = "_wrap_1jdg7_1", Sn = "_input_1jdg7_5", In = "_iconBtn_1jdg7_34", $n = "_iconImg_1jdg7_48", me = {
598
- wrap: kn,
599
- input: Sn,
600
- iconBtn: In,
601
- iconImg: $n
602
- }, Tn = "https://srm-cdn.a4b.io/yoda/1770372014782.svg";
603
- function zs({
597
+ const Sn = "_wrap_1jdg7_1", In = "_input_1jdg7_5", $n = "_iconBtn_1jdg7_34", Tn = "_iconImg_1jdg7_48", me = {
598
+ wrap: Sn,
599
+ input: In,
600
+ iconBtn: $n,
601
+ iconImg: Tn
602
+ }, Ln = "https://srm-cdn.a4b.io/yoda/1770372014782.svg";
603
+ function Vs({
604
604
  id: t,
605
605
  value: n,
606
606
  onChange: a,
@@ -637,7 +637,7 @@ function zs({
637
637
  "img",
638
638
  {
639
639
  className: me.iconImg,
640
- src: Tn,
640
+ src: Ln,
641
641
  alt: "",
642
642
  "aria-hidden": !0,
643
643
  width: 22,
@@ -648,15 +648,15 @@ function zs({
648
648
  )
649
649
  ] });
650
650
  }
651
- const Ln = "_wrap_1bb6o_1", xn = "_input_1bb6o_5", Cn = "_iconBtn_1bb6o_21", Dn = "_iconImg_1bb6o_25", _e = {
652
- wrap: Ln,
653
- input: xn,
654
- iconBtn: Cn,
655
- iconImg: Dn
656
- }, Bn = "https://srm-cdn.a4b.io/yoda/1770372031092.svg";
657
- function Gs({
651
+ const xn = "_wrap_1bb6o_1", Cn = "_input_1bb6o_5", Dn = "_iconBtn_1bb6o_21", Bn = "_iconImg_1bb6o_25", _e = {
652
+ wrap: xn,
653
+ input: Cn,
654
+ iconBtn: Dn,
655
+ iconImg: Bn
656
+ }, Mn = "https://srm-cdn.a4b.io/yoda/1770372031092.svg";
657
+ function Js({
658
658
  id: t,
659
- iconUrl: n = Bn,
659
+ iconUrl: n = Mn,
660
660
  className: a = "",
661
661
  ...s
662
662
  }) {
@@ -674,12 +674,12 @@ function Gs({
674
674
  ) })
675
675
  ] });
676
676
  }
677
- const Mn = "_segmented_3sa9v_1", Rn = "_segmentedOption_3sa9v_6", Pn = "_active_3sa9v_15", Ne = {
678
- segmented: Mn,
679
- segmentedOption: Rn,
680
- active: Pn
677
+ const Rn = "_segmented_3sa9v_1", Pn = "_segmentedOption_3sa9v_6", An = "_active_3sa9v_15", we = {
678
+ segmented: Rn,
679
+ segmentedOption: Pn,
680
+ active: An
681
681
  };
682
- function Ys({
682
+ function Zs({
683
683
  id: t,
684
684
  options: n,
685
685
  value: a,
@@ -689,7 +689,7 @@ function Ys({
689
689
  return /* @__PURE__ */ e(
690
690
  "div",
691
691
  {
692
- className: `${Ne.segmented} ${r}`,
692
+ className: `${we.segmented} ${r}`,
693
693
  role: "group",
694
694
  "aria-labelledby": `${t}-label`,
695
695
  children: n.map((c) => /* @__PURE__ */ e(
@@ -697,7 +697,7 @@ function Ys({
697
697
  {
698
698
  type: "button",
699
699
  id: c.value === a ? t : void 0,
700
- className: `${Ne.segmentedOption} ${c.value === a ? Ne.active : ""}`,
700
+ className: `${we.segmentedOption} ${c.value === a ? we.active : ""}`,
701
701
  onClick: () => s(c.value),
702
702
  children: c.label
703
703
  },
@@ -706,12 +706,12 @@ function Ys({
706
706
  }
707
707
  );
708
708
  }
709
- const An = "_pillsWrap_z1kui_1", En = "_pill_z1kui_1", On = "_selected_z1kui_17", we = {
710
- pillsWrap: An,
711
- pill: En,
712
- selected: On
709
+ const En = "_pillsWrap_z1kui_1", On = "_pill_z1kui_1", Fn = "_selected_z1kui_17", ye = {
710
+ pillsWrap: En,
711
+ pill: On,
712
+ selected: Fn
713
713
  };
714
- function Vs({
714
+ function Xs({
715
715
  id: t,
716
716
  options: n,
717
717
  selected: a,
@@ -724,14 +724,14 @@ function Vs({
724
724
  return /* @__PURE__ */ e(
725
725
  "div",
726
726
  {
727
- className: `${we.pillsWrap} ${r}`,
727
+ className: `${ye.pillsWrap} ${r}`,
728
728
  role: "group",
729
729
  "aria-labelledby": `${t}-label`,
730
730
  children: n.map((d) => /* @__PURE__ */ e(
731
731
  "button",
732
732
  {
733
733
  type: "button",
734
- className: `${we.pill} ${a.includes(d.key) ? we.selected : ""}`,
734
+ className: `${ye.pill} ${a.includes(d.key) ? ye.selected : ""}`,
735
735
  onClick: () => c(d.key),
736
736
  children: d.label
737
737
  },
@@ -740,14 +740,14 @@ function Vs({
740
740
  }
741
741
  );
742
742
  }
743
- const Fn = "_wrapper_i6a5b_2", qn = "_checkboxRow_i6a5b_6", Wn = "_checkbox_i6a5b_6", jn = "_checkboxText_i6a5b_31", Hn = "_checkboxHelp_i6a5b_37", ae = {
744
- wrapper: Fn,
745
- checkboxRow: qn,
746
- checkbox: Wn,
747
- checkboxText: jn,
748
- checkboxHelp: Hn
743
+ const qn = "_wrapper_i6a5b_2", Wn = "_checkboxRow_i6a5b_6", jn = "_checkbox_i6a5b_6", Hn = "_checkboxText_i6a5b_31", zn = "_checkboxHelp_i6a5b_37", ne = {
744
+ wrapper: qn,
745
+ checkboxRow: Wn,
746
+ checkbox: jn,
747
+ checkboxText: Hn,
748
+ checkboxHelp: zn
749
749
  };
750
- function Js({
750
+ function Qs({
751
751
  id: t,
752
752
  checked: n,
753
753
  onChange: a,
@@ -755,57 +755,57 @@ function Js({
755
755
  helpText: r,
756
756
  className: c = ""
757
757
  }) {
758
- return /* @__PURE__ */ i("div", { className: `${ae.wrapper} ${c}`, children: [
759
- /* @__PURE__ */ i("div", { className: ae.checkboxRow, children: [
758
+ return /* @__PURE__ */ i("div", { className: `${ne.wrapper} ${c}`, children: [
759
+ /* @__PURE__ */ i("div", { className: ne.checkboxRow, children: [
760
760
  /* @__PURE__ */ e(
761
761
  "input",
762
762
  {
763
763
  id: t,
764
764
  type: "checkbox",
765
- className: ae.checkbox,
765
+ className: ne.checkbox,
766
766
  checked: n,
767
767
  onChange: (d) => a(d.target.checked)
768
768
  }
769
769
  ),
770
- /* @__PURE__ */ e("label", { htmlFor: t, className: ae.checkboxText, children: s })
770
+ /* @__PURE__ */ e("label", { htmlFor: t, className: ne.checkboxText, children: s })
771
771
  ] }),
772
- r != null && r !== "" && /* @__PURE__ */ e("p", { className: ae.checkboxHelp, children: r })
772
+ r != null && r !== "" && /* @__PURE__ */ e("p", { className: ne.checkboxHelp, children: r })
773
773
  ] });
774
774
  }
775
775
  const Kn = "_footerNote_laev3_1", Un = {
776
776
  footerNote: Kn
777
777
  };
778
- function Zs({
778
+ function er({
779
779
  children: t,
780
780
  className: n = ""
781
781
  }) {
782
782
  return /* @__PURE__ */ e("p", { className: `${Un.footerNote} ${n}`, children: t });
783
783
  }
784
- const zn = "_footer_86zxt_1", Gn = "_inner_86zxt_8", Yn = "_badges_86zxt_12", Vn = "_marqueeContent_86zxt_20", Jn = "_badge_86zxt_12", Zn = "_badgeIcon_86zxt_35", Xn = "_ctaWrap_86zxt_39", Qn = "_ctaStruck_86zxt_43", ea = "_ctaButton_86zxt_49", ta = "_offerRow_86zxt_69", na = "_pill_86zxt_76", aa = "_ctaStatic_86zxt_85", X = {
785
- footer: zn,
786
- inner: Gn,
787
- badges: Yn,
788
- marqueeContent: Vn,
789
- badge: Jn,
790
- badgeIcon: Zn,
791
- ctaWrap: Xn,
792
- ctaStruck: Qn,
793
- ctaButton: ea,
794
- offerRow: ta,
795
- pill: na,
796
- ctaStatic: aa
784
+ const Gn = "_footer_86zxt_1", Yn = "_inner_86zxt_8", Vn = "_badges_86zxt_12", Jn = "_marqueeContent_86zxt_20", Zn = "_badge_86zxt_12", Xn = "_badgeIcon_86zxt_35", Qn = "_ctaWrap_86zxt_39", ea = "_ctaStruck_86zxt_43", ta = "_ctaButton_86zxt_49", na = "_offerRow_86zxt_69", aa = "_pill_86zxt_76", oa = "_ctaStatic_86zxt_85", Q = {
785
+ footer: Gn,
786
+ inner: Yn,
787
+ badges: Vn,
788
+ marqueeContent: Jn,
789
+ badge: Zn,
790
+ badgeIcon: Xn,
791
+ ctaWrap: Qn,
792
+ ctaStruck: ea,
793
+ ctaButton: ta,
794
+ offerRow: na,
795
+ pill: aa,
796
+ ctaStatic: oa
797
797
  };
798
- function Xs({
798
+ function tr({
799
799
  marquee: t,
800
800
  children: n,
801
801
  className: a = ""
802
802
  }) {
803
- return /* @__PURE__ */ e("footer", { className: `${X.footer} ${a}`, role: "contentinfo", children: /* @__PURE__ */ i("div", { className: X.inner, children: [
804
- t != null && /* @__PURE__ */ e("div", { className: X.badges, "aria-hidden": !0, children: t }),
805
- /* @__PURE__ */ e("div", { className: X.ctaWrap, children: n })
803
+ return /* @__PURE__ */ e("footer", { className: `${Q.footer} ${a}`, role: "contentinfo", children: /* @__PURE__ */ i("div", { className: Q.inner, children: [
804
+ t != null && /* @__PURE__ */ e("div", { className: Q.badges, "aria-hidden": !0, children: t }),
805
+ /* @__PURE__ */ e("div", { className: Q.ctaWrap, children: n })
806
806
  ] }) });
807
807
  }
808
- function Qs({
808
+ function nr({
809
809
  children: t,
810
810
  href: n,
811
811
  disabled: a = !1,
@@ -814,7 +814,7 @@ function Qs({
814
814
  className: c = "",
815
815
  "aria-label": d
816
816
  }) {
817
- const l = `${X.ctaButton} ${c}`.trim(), u = `${X.ctaStatic} ${c}`.trim(), h = d != null ? { "aria-label": d } : {};
817
+ const l = `${Q.ctaButton} ${c}`.trim(), u = `${Q.ctaStatic} ${c}`.trim(), h = d != null ? { "aria-label": d } : {};
818
818
  return r ? /* @__PURE__ */ e("div", { className: u, role: "presentation", children: t }) : n != null ? /* @__PURE__ */ e(
819
819
  "a",
820
820
  {
@@ -839,46 +839,46 @@ function Qs({
839
839
  }
840
840
  );
841
841
  }
842
- const oa = "_wrapper_wxjzs_1", sa = "_track_wxjzs_7", Pe = {
843
- wrapper: oa,
844
- track: sa
842
+ const sa = "_wrapper_wxjzs_1", ra = "_track_wxjzs_7", Ae = {
843
+ wrapper: sa,
844
+ track: ra
845
845
  };
846
- function ra({ children: t, className: n = "" }) {
847
- return /* @__PURE__ */ e("div", { className: `${Pe.wrapper} ${n}`, "aria-hidden": !0, children: /* @__PURE__ */ i("div", { className: Pe.track, children: [
846
+ function ia({ children: t, className: n = "" }) {
847
+ return /* @__PURE__ */ e("div", { className: `${Ae.wrapper} ${n}`, "aria-hidden": !0, children: /* @__PURE__ */ i("div", { className: Ae.track, children: [
848
848
  t,
849
849
  t
850
850
  ] }) });
851
851
  }
852
- const ia = "_strip_2838b_1", ca = {
853
- strip: ia
852
+ const ca = "_strip_2838b_1", la = {
853
+ strip: ca
854
854
  };
855
- function er({ children: t, className: n = "" }) {
856
- return /* @__PURE__ */ e("div", { className: `${ca.strip} ${n}`, role: "region", "aria-label": "Trust badges", children: /* @__PURE__ */ e(ra, { children: t }) });
855
+ function ar({ children: t, className: n = "" }) {
856
+ return /* @__PURE__ */ e("div", { className: `${la.strip} ${n}`, role: "region", "aria-label": "Trust badges", children: /* @__PURE__ */ e(ia, { children: t }) });
857
857
  }
858
- const la = "_section_8y3x9_1", da = "_heading_8y3x9_6", ma = "_content_8y3x9_11", _a = "_line_8y3x9_16", ha = "_brandName_8y3x9_20", Z = {
859
- section: la,
860
- heading: da,
861
- content: ma,
862
- line: _a,
863
- brandName: ha
858
+ const da = "_section_8y3x9_1", ma = "_heading_8y3x9_6", _a = "_content_8y3x9_11", ha = "_line_8y3x9_16", ua = "_brandName_8y3x9_20", X = {
859
+ section: da,
860
+ heading: ma,
861
+ content: _a,
862
+ line: ha,
863
+ brandName: ua
864
864
  };
865
- function tr({
865
+ function or({
866
866
  title: t,
867
867
  brandName: n,
868
868
  whatsAppLine: a,
869
869
  emailLine: s,
870
870
  className: r = ""
871
871
  }) {
872
- return /* @__PURE__ */ i("section", { className: `${Z.section} ${r}`, "aria-labelledby": "contact-heading", children: [
873
- /* @__PURE__ */ e("h2", { id: "contact-heading", className: Z.heading, children: t }),
874
- /* @__PURE__ */ i("div", { className: Z.content, children: [
875
- /* @__PURE__ */ e("p", { className: Z.brandName, children: n }),
876
- /* @__PURE__ */ e("p", { className: Z.line, children: a }),
877
- /* @__PURE__ */ e("p", { className: Z.line, children: s })
872
+ return /* @__PURE__ */ i("section", { className: `${X.section} ${r}`, "aria-labelledby": "contact-heading", children: [
873
+ /* @__PURE__ */ e("h2", { id: "contact-heading", className: X.heading, children: t }),
874
+ /* @__PURE__ */ i("div", { className: X.content, children: [
875
+ /* @__PURE__ */ e("p", { className: X.brandName, children: n }),
876
+ /* @__PURE__ */ e("p", { className: X.line, children: a }),
877
+ /* @__PURE__ */ e("p", { className: X.line, children: s })
878
878
  ] })
879
879
  ] });
880
880
  }
881
- const ua = (t) => {
881
+ const pa = (t) => {
882
882
  const n = t.match(/T(\d{2}):(\d{2})/);
883
883
  if (!n) return t;
884
884
  const a = Number(n[1]), s = n[2], r = a >= 12 ? "PM" : "AM";
@@ -891,11 +891,11 @@ const ua = (t) => {
891
891
  (r(s) - r(n)) / (1e3 * 60 * 60 * 24)
892
892
  ), d = c === 0 ? "Today" : c === 1 ? "Tomorrow" : a[s.getDay()];
893
893
  return { id: t, dayLabel: d, dayNum: String(s.getDate()) };
894
- }, pa = [
894
+ }, ba = [
895
895
  "morning",
896
896
  "afternoon",
897
897
  "evening"
898
- ], ba = [
898
+ ], fa = [
899
899
  { code: "en", labelKey: "formReportLanguageEnglish", label: "English" },
900
900
  { code: "hi", labelKey: "formReportLanguageHindi", label: "Hindi" },
901
901
  { code: "te", labelKey: "formReportLanguageTelugu", label: "Telugu" },
@@ -903,7 +903,7 @@ const ua = (t) => {
903
903
  { code: "gu", labelKey: "formReportLanguageGujarati", label: "Gujarati" },
904
904
  { code: "mr", labelKey: "formReportLanguageMarathi", label: "Marathi" },
905
905
  { code: "ta", labelKey: "formReportLanguageTamil", label: "Tamil" }
906
- ], fa = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e(
906
+ ], Na = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e(
907
907
  "path",
908
908
  {
909
909
  d: "M3.5 8.5l2.5 2.5 6-6",
@@ -926,7 +926,7 @@ const ua = (t) => {
926
926
  "aria-hidden": !0,
927
927
  children: /* @__PURE__ */ e("path", { d: "M6 9l6 6 6-6" })
928
928
  }
929
- ), Na = () => /* @__PURE__ */ e(
929
+ ), wa = () => /* @__PURE__ */ e(
930
930
  "img",
931
931
  {
932
932
  src: "https://srm-cdn.a4b.io/yoda/1785316603029.svg",
@@ -935,7 +935,7 @@ const ua = (t) => {
935
935
  alt: "",
936
936
  "aria-hidden": !0
937
937
  }
938
- ), wa = () => /* @__PURE__ */ e(
938
+ ), ya = () => /* @__PURE__ */ e(
939
939
  "img",
940
940
  {
941
941
  src: "https://srm-cdn.a4b.io/yoda/1785316621747.svg",
@@ -944,7 +944,7 @@ const ua = (t) => {
944
944
  alt: "",
945
945
  "aria-hidden": !0
946
946
  }
947
- ), ya = () => /* @__PURE__ */ e(
947
+ ), ka = () => /* @__PURE__ */ e(
948
948
  "img",
949
949
  {
950
950
  src: "https://srm-cdn.a4b.io/yoda/1785316635953.svg",
@@ -953,21 +953,21 @@ const ua = (t) => {
953
953
  alt: "",
954
954
  "aria-hidden": !0
955
955
  }
956
- ), ka = () => /* @__PURE__ */ i("svg", { width: "40", height: "40", viewBox: "0 0 24 24", fill: "none", "aria-hidden": !0, children: [
956
+ ), Sa = () => /* @__PURE__ */ i("svg", { width: "40", height: "40", viewBox: "0 0 24 24", fill: "none", "aria-hidden": !0, children: [
957
957
  /* @__PURE__ */ e("rect", { x: "3", y: "4.5", width: "18", height: "16", rx: "3", stroke: "#D1D5DB", strokeWidth: "1.6" }),
958
958
  /* @__PURE__ */ e("path", { d: "M3 9.5h18", stroke: "#D1D5DB", strokeWidth: "1.6" }),
959
959
  /* @__PURE__ */ e("path", { d: "M8 2.5v4M16 2.5v4", stroke: "#D1D5DB", strokeWidth: "1.6", strokeLinecap: "round" }),
960
960
  /* @__PURE__ */ e("path", { d: "M7.5 20.5L17 6", stroke: "#9CA3AF", strokeWidth: "1.6", strokeLinecap: "round" })
961
- ] }), Sa = "_section_1ltqn_2", Ia = "_headerRow_1ltqn_10", $a = "_title_1ltqn_18", Ta = "_changeBtn_1ltqn_24", La = "_numberRow_1ltqn_35", xa = "_countryCode_1ltqn_44", Ca = "_number_1ltqn_35", Da = "_helper_1ltqn_59", H = {
962
- section: Sa,
963
- headerRow: Ia,
964
- title: $a,
965
- changeBtn: Ta,
966
- numberRow: La,
967
- countryCode: xa,
968
- number: Ca,
969
- helper: Da
970
- }, Ba = ({
961
+ ] }), Ia = "_section_1ltqn_2", $a = "_headerRow_1ltqn_10", Ta = "_title_1ltqn_18", La = "_changeBtn_1ltqn_24", xa = "_numberRow_1ltqn_35", Ca = "_countryCode_1ltqn_44", Da = "_number_1ltqn_35", Ba = "_helper_1ltqn_59", H = {
962
+ section: Ia,
963
+ headerRow: $a,
964
+ title: Ta,
965
+ changeBtn: La,
966
+ numberRow: xa,
967
+ countryCode: Ca,
968
+ number: Da,
969
+ helper: Ba
970
+ }, Ma = ({
971
971
  title: t,
972
972
  countryCode: n = "+91",
973
973
  phoneNumber: a = "98765 43210",
@@ -985,18 +985,18 @@ const ua = (t) => {
985
985
  /* @__PURE__ */ e("span", { className: H.number, children: a })
986
986
  ] }),
987
987
  /* @__PURE__ */ e("p", { className: H.helper, children: s ?? c?.("planPhoneNumberHelper") ?? "The astrologer will call you on this number at your booked slot." })
988
- ] }), Ma = "_section_12hk9_2", Ra = "_title_12hk9_6", Pa = "_profileRow_12hk9_13", Aa = "_profileCard_12hk9_26", Ea = "_profileCardSelected_12hk9_47", Oa = "_profileTop_12hk9_52", Fa = "_avatar_12hk9_60", qa = "_profileName_12hk9_74", Wa = "_relationPill_12hk9_84", ja = "_profileMeta_12hk9_98", Ha = "_addCard_12hk9_108", Ka = "_addIcon_12hk9_127", x = {
989
- section: Ma,
990
- title: Ra,
991
- profileRow: Pa,
992
- profileCard: Aa,
993
- profileCardSelected: Ea,
994
- profileTop: Oa,
995
- avatar: Fa,
996
- profileName: qa,
997
- relationPill: Wa,
998
- profileMeta: ja,
999
- addCard: Ha,
988
+ ] }), Ra = "_section_12hk9_2", Pa = "_title_12hk9_6", Aa = "_profileRow_12hk9_13", Ea = "_profileCard_12hk9_26", Oa = "_profileCardSelected_12hk9_47", Fa = "_profileTop_12hk9_52", qa = "_avatar_12hk9_60", Wa = "_profileName_12hk9_74", ja = "_relationPill_12hk9_84", Ha = "_profileMeta_12hk9_98", za = "_addCard_12hk9_108", Ka = "_addIcon_12hk9_127", L = {
989
+ section: Ra,
990
+ title: Pa,
991
+ profileRow: Aa,
992
+ profileCard: Ea,
993
+ profileCardSelected: Oa,
994
+ profileTop: Fa,
995
+ avatar: qa,
996
+ profileName: Wa,
997
+ relationPill: ja,
998
+ profileMeta: Ha,
999
+ addCard: za,
1000
1000
  addIcon: Ka
1001
1001
  }, Ua = [
1002
1002
  {
@@ -1013,7 +1013,7 @@ const ua = (t) => {
1013
1013
  birthPlace: "Pune, India",
1014
1014
  relation: "Spouse"
1015
1015
  }
1016
- ], za = ({
1016
+ ], Ga = ({
1017
1017
  title: t,
1018
1018
  profiles: n = Ua,
1019
1019
  selectedProfileId: a,
@@ -1025,89 +1025,91 @@ const ua = (t) => {
1025
1025
  const [l, u] = $(n[0]?.id ?? ""), h = a ?? l, f = (_) => {
1026
1026
  u(_), s?.(_);
1027
1027
  };
1028
- return /* @__PURE__ */ i("section", { className: [x.section, d].filter(Boolean).join(" "), children: [
1029
- /* @__PURE__ */ e("p", { className: x.title, children: t ?? c?.("planAstrologyProfilesHeading") ?? "Astrology profile" }),
1030
- /* @__PURE__ */ i("div", { className: x.profileRow, role: "radiogroup", "aria-label": "Astrology profile", children: [
1028
+ return /* @__PURE__ */ i("section", { className: [L.section, d].filter(Boolean).join(" "), children: [
1029
+ /* @__PURE__ */ e("p", { className: L.title, children: t ?? c?.("planAstrologyProfilesHeading") ?? "Astrology profile" }),
1030
+ /* @__PURE__ */ i("div", { className: L.profileRow, role: "radiogroup", "aria-label": "Astrology profile", children: [
1031
1031
  n.map((_) => {
1032
- const p = _.id === h;
1032
+ const g = _.id === h;
1033
1033
  return /* @__PURE__ */ i(
1034
1034
  "button",
1035
1035
  {
1036
1036
  type: "button",
1037
1037
  role: "radio",
1038
- "aria-checked": p,
1039
- className: [x.profileCard, p ? x.profileCardSelected : ""].filter(Boolean).join(" "),
1038
+ "aria-checked": g,
1039
+ className: [L.profileCard, g ? L.profileCardSelected : ""].filter(Boolean).join(" "),
1040
1040
  onClick: () => f(_.id),
1041
1041
  children: [
1042
- /* @__PURE__ */ i("span", { className: x.profileTop, children: [
1043
- /* @__PURE__ */ e("span", { className: x.avatar, "aria-hidden": !0, children: _.name.charAt(0).toUpperCase() }),
1044
- /* @__PURE__ */ e("span", { className: x.profileName, children: _.name })
1042
+ /* @__PURE__ */ i("span", { className: L.profileTop, children: [
1043
+ /* @__PURE__ */ e("span", { className: L.avatar, "aria-hidden": !0, children: _.name.charAt(0).toUpperCase() }),
1044
+ /* @__PURE__ */ e("span", { className: L.profileName, children: _.name })
1045
1045
  ] }),
1046
- _.relation && /* @__PURE__ */ e("span", { className: x.relationPill, children: _.relation }),
1047
- _.birthDetails && /* @__PURE__ */ e("span", { className: x.profileMeta, children: _.birthDetails }),
1048
- _.birthPlace && /* @__PURE__ */ e("span", { className: x.profileMeta, children: _.birthPlace })
1046
+ _.relation && /* @__PURE__ */ e("span", { className: L.relationPill, children: _.relation }),
1047
+ _.birthDetails && /* @__PURE__ */ e("span", { className: L.profileMeta, children: _.birthDetails }),
1048
+ _.birthPlace && /* @__PURE__ */ e("span", { className: L.profileMeta, children: _.birthPlace })
1049
1049
  ]
1050
1050
  },
1051
1051
  _.id
1052
1052
  );
1053
1053
  }),
1054
- r && /* @__PURE__ */ i("button", { type: "button", className: x.addCard, onClick: r, children: [
1055
- /* @__PURE__ */ e("span", { className: x.addIcon, "aria-hidden": !0, children: "+" }),
1054
+ r && /* @__PURE__ */ i("button", { type: "button", className: L.addCard, onClick: r, children: [
1055
+ /* @__PURE__ */ e("span", { className: L.addIcon, "aria-hidden": !0, children: "+" }),
1056
1056
  c?.("planAddAstrologyProfile") ?? "Add profile"
1057
1057
  ] })
1058
1058
  ] })
1059
1059
  ] });
1060
- }, Ga = "_root_m8bvg_6", Ya = "_languageRow_m8bvg_19", Va = "_languageLabel_m8bvg_27", Ja = "_languageDropdown_m8bvg_33", Za = "_languageDropdownBtn_m8bvg_37", Xa = "_languageMenu_m8bvg_52", Qa = "_languageMenuItem_m8bvg_69", eo = "_languageMenuItemSelected_m8bvg_83", to = "_languageDivider_m8bvg_89", no = "_sectionHeading_m8bvg_96", ao = "_reportReadyBanner_m8bvg_104", oo = "_reportReadyDuration_m8bvg_113", so = "_dateTabs_m8bvg_119", ro = "_dateTabIndicator_m8bvg_131", io = "_dateTab_m8bvg_119", co = "_dateTabDivider_m8bvg_165", lo = "_dateTabSelected_m8bvg_175", mo = "_dateTabLabel_m8bvg_180", _o = "_dateTabNum_m8bvg_187", ho = "_periodTabs_m8bvg_201", uo = "_periodTabIndicator_m8bvg_129", go = "_periodTab_m8bvg_129", po = "_periodTabSelected_m8bvg_248", bo = "_timeGrid_m8bvg_253", fo = "_emptyState_m8bvg_280", vo = "_timeSlot_m8bvg_284", No = "_timeSlotSelected_m8bvg_300", wo = "_timeSlotDisabled_m8bvg_308", yo = "_stateMessage_m8bvg_320", ko = "_retryBtn_m8bvg_327", So = "_emptyStateIcon_m8bvg_353", Io = "_emptyStateTitle_m8bvg_364", $o = "_emptyStateSubtitle_m8bvg_371", To = "_loadingWrap_m8bvg_380", Lo = "_skeletonShimmer_m8bvg_385", xo = "_skeletonDateTabs_m8bvg_399", Co = "_skeletonDateTab_m8bvg_399", Do = "_skeletonPeriodTabs_m8bvg_413", Bo = "_skeletonPeriodTab_m8bvg_413", Mo = "_skeletonTimeGrid_m8bvg_428", Ro = "_skeletonTimeSlot_m8bvg_434", m = {
1061
- root: Ga,
1062
- languageRow: Ya,
1063
- languageLabel: Va,
1064
- languageDropdown: Ja,
1065
- languageDropdownBtn: Za,
1066
- languageMenu: Xa,
1067
- languageMenuItem: Qa,
1068
- languageMenuItemSelected: eo,
1069
- languageDivider: to,
1070
- sectionHeading: no,
1071
- reportReadyBanner: ao,
1072
- reportReadyDuration: oo,
1073
- dateTabs: so,
1074
- dateTabIndicator: ro,
1075
- dateTab: io,
1076
- dateTabDivider: co,
1077
- dateTabSelected: lo,
1078
- dateTabLabel: mo,
1079
- dateTabNum: _o,
1080
- periodTabs: ho,
1081
- periodTabIndicator: uo,
1082
- periodTab: go,
1083
- periodTabSelected: po,
1084
- timeGrid: bo,
1085
- emptyState: fo,
1086
- timeSlot: vo,
1087
- timeSlotSelected: No,
1088
- timeSlotDisabled: wo,
1089
- stateMessage: yo,
1090
- retryBtn: ko,
1091
- emptyStateIcon: So,
1092
- emptyStateTitle: Io,
1093
- emptyStateSubtitle: $o,
1094
- loadingWrap: To,
1095
- skeletonShimmer: Lo,
1096
- skeletonDateTabs: xo,
1097
- skeletonDateTab: Co,
1098
- skeletonPeriodTabs: Do,
1099
- skeletonPeriodTab: Bo,
1100
- skeletonTimeGrid: Mo,
1101
- skeletonTimeSlot: Ro
1102
- }, Po = {
1103
- morning: Na,
1104
- afternoon: wa,
1105
- evening: ya
1106
- }, Ao = {
1060
+ }, Ya = "_root_1m385_6", Va = "_languageRow_1m385_19", Ja = "_languageLabel_1m385_27", Za = "_languageDropdown_1m385_33", Xa = "_languageDropdownBtn_1m385_37", Qa = "_languageMenu_1m385_52", eo = "_languageMenuItem_1m385_69", to = "_languageMenuItemSelected_1m385_83", no = "_languageDivider_1m385_89", ao = "_sectionHeadingRow_1m385_96", oo = "_sectionHeading_1m385_96", so = "_timezoneLabel_1m385_111", ro = "_reportReadyBanner_1m385_120", io = "_reportReadyDuration_1m385_129", co = "_dateTabs_1m385_135", lo = "_dateTabIndicator_1m385_147", mo = "_dateTab_1m385_135", _o = "_dateTabDivider_1m385_181", ho = "_dateTabSelected_1m385_191", uo = "_dateTabLabel_1m385_196", po = "_dateTabNum_1m385_203", go = "_periodTabs_1m385_217", bo = "_periodTabIndicator_1m385_145", fo = "_periodTab_1m385_145", No = "_periodTabSelected_1m385_264", vo = "_timeGrid_1m385_269", wo = "_emptyState_1m385_296", yo = "_timeSlot_1m385_300", ko = "_timeSlotSelected_1m385_316", So = "_timeSlotDisabled_1m385_324", Io = "_stateMessage_1m385_336", $o = "_retryBtn_1m385_343", To = "_emptyStateIcon_1m385_369", Lo = "_emptyStateTitle_1m385_380", xo = "_emptyStateSubtitle_1m385_387", Co = "_loadingWrap_1m385_396", Do = "_skeletonShimmer_1m385_401", Bo = "_skeletonDateTabs_1m385_415", Mo = "_skeletonDateTab_1m385_415", Ro = "_skeletonPeriodTabs_1m385_429", Po = "_skeletonPeriodTab_1m385_429", Ao = "_skeletonTimeGrid_1m385_444", Eo = "_skeletonTimeSlot_1m385_450", m = {
1061
+ root: Ya,
1062
+ languageRow: Va,
1063
+ languageLabel: Ja,
1064
+ languageDropdown: Za,
1065
+ languageDropdownBtn: Xa,
1066
+ languageMenu: Qa,
1067
+ languageMenuItem: eo,
1068
+ languageMenuItemSelected: to,
1069
+ languageDivider: no,
1070
+ sectionHeadingRow: ao,
1071
+ sectionHeading: oo,
1072
+ timezoneLabel: so,
1073
+ reportReadyBanner: ro,
1074
+ reportReadyDuration: io,
1075
+ dateTabs: co,
1076
+ dateTabIndicator: lo,
1077
+ dateTab: mo,
1078
+ dateTabDivider: _o,
1079
+ dateTabSelected: ho,
1080
+ dateTabLabel: uo,
1081
+ dateTabNum: po,
1082
+ periodTabs: go,
1083
+ periodTabIndicator: bo,
1084
+ periodTab: fo,
1085
+ periodTabSelected: No,
1086
+ timeGrid: vo,
1087
+ emptyState: wo,
1088
+ timeSlot: yo,
1089
+ timeSlotSelected: ko,
1090
+ timeSlotDisabled: So,
1091
+ stateMessage: Io,
1092
+ retryBtn: $o,
1093
+ emptyStateIcon: To,
1094
+ emptyStateTitle: Lo,
1095
+ emptyStateSubtitle: xo,
1096
+ loadingWrap: Co,
1097
+ skeletonShimmer: Do,
1098
+ skeletonDateTabs: Bo,
1099
+ skeletonDateTab: Mo,
1100
+ skeletonPeriodTabs: Ro,
1101
+ skeletonPeriodTab: Po,
1102
+ skeletonTimeGrid: Ao,
1103
+ skeletonTimeSlot: Eo
1104
+ }, Oo = {
1105
+ morning: wa,
1106
+ afternoon: ya,
1107
+ evening: ka
1108
+ }, Fo = {
1107
1109
  morning: "planPeriodMorning",
1108
1110
  afternoon: "planPeriodAfternoon",
1109
1111
  evening: "planPeriodEvening"
1110
- }, K = (...t) => t.filter(Boolean).join(" "), nr = ({
1112
+ }, z = (...t) => t.filter(Boolean).join(" "), sr = ({
1111
1113
  days: t,
1112
1114
  loading: n = !1,
1113
1115
  error: a = !1,
@@ -1119,103 +1121,104 @@ const ua = (t) => {
1119
1121
  selectedSlotStart: u,
1120
1122
  onSlotSelect: h,
1121
1123
  hideLanguageSelector: f = !1,
1122
- languageOptions: _ = ba,
1123
- selectedLanguage: p,
1124
+ languageOptions: _ = fa,
1125
+ selectedLanguage: g,
1124
1126
  onLanguageSelect: b,
1125
1127
  showPhoneNumberSection: w = !0,
1126
1128
  phoneNumberSection: O,
1127
1129
  showAstrologyProfilesSection: k = !0,
1128
1130
  astrologyProfilesSection: T,
1129
- heading: P,
1130
- languageLabel: Q,
1131
- reportReadyNote: U,
1131
+ heading: R,
1132
+ timezoneLabel: Y,
1133
+ languageLabel: V,
1134
+ reportReadyNote: J,
1132
1135
  isGlobal: ee = !0,
1133
1136
  t: y,
1134
- className: V = ""
1137
+ className: he = ""
1135
1138
  }) => {
1136
- const C = E(
1139
+ const x = E(
1137
1140
  () => t.filter((o) => o.has_availability && o.slots.length > 0),
1138
1141
  [t]
1139
- ), [ie, he] = $(""), F = E(() => {
1140
- const o = r ?? ie;
1141
- return C.some((g) => g.date === o) ? o : C[0]?.date ?? "";
1142
- }, [r, ie, C]), q = E(
1143
- () => C.find((o) => o.date === F) ?? null,
1144
- [C, F]
1142
+ ), [re, ue] = $(""), q = E(() => {
1143
+ const o = r ?? re;
1144
+ return x.some((p) => p.date === o) ? o : x[0]?.date ?? "";
1145
+ }, [r, re, x]), F = E(
1146
+ () => x.find((o) => o.date === q) ?? null,
1147
+ [x, q]
1145
1148
  ), W = E(() => {
1146
- if (!q) return [];
1147
- const o = new Set(q.slots.map((g) => g.period));
1148
- return pa.filter((g) => o.has(g));
1149
- }, [q]), [te, N] = $(""), L = E(() => {
1150
- const o = d ?? te;
1149
+ if (!F) return [];
1150
+ const o = new Set(F.slots.map((p) => p.period));
1151
+ return ba.filter((p) => o.has(p));
1152
+ }, [F]), [N, K] = $(""), P = E(() => {
1153
+ const o = d ?? N;
1151
1154
  return o && W.includes(o) ? o : W[0] ?? "morning";
1152
- }, [d, te, W]), z = E(
1153
- () => q ? q.slots.filter((o) => o.period === L) : [],
1154
- [q, L]
1155
- ), [ye, He] = $(""), ke = E(() => {
1155
+ }, [d, N, W]), ie = E(
1156
+ () => F ? F.slots.filter((o) => o.period === P) : [],
1157
+ [F, P]
1158
+ ), [ke, ze] = $(""), Se = E(() => {
1156
1159
  if (u === null) return "";
1157
- const o = u ?? ye;
1158
- return z.some((g) => g.start === o) ? o : z[0]?.start ?? "";
1159
- }, [u, ye, z]), [Ke, Ue] = $(
1160
+ const o = u ?? ke;
1161
+ return ie.some((p) => p.start === o) ? o : ie[0]?.start ?? "";
1162
+ }, [u, ke, ie]), [Ke, Ue] = $(
1160
1163
  () => _[0]?.code ?? "en"
1161
- ), Se = p ?? Ke, ue = _.find((o) => o.code === Se) ?? _[0], [ce, ge] = $(!1), pe = Y(null);
1162
- re(() => {
1164
+ ), Ie = g ?? Ke, pe = _.find((o) => o.code === Ie) ?? _[0], [ce, ge] = $(!1), be = G(null);
1165
+ se(() => {
1163
1166
  if (!ce) return;
1164
- const o = (g) => {
1165
- pe.current && !pe.current.contains(g.target) && ge(!1);
1167
+ const o = (p) => {
1168
+ be.current && !be.current.contains(p.target) && ge(!1);
1166
1169
  };
1167
1170
  return document.addEventListener("mousedown", o), () => document.removeEventListener("mousedown", o);
1168
1171
  }, [ce]);
1169
- const Ie = Y(null), $e = Y({}), [ne, Te] = $(null), Le = Y(null), xe = Y(
1172
+ const $e = G(null), Te = G({}), [te, Le] = $(null), xe = G(null), Ce = G(
1170
1173
  {}
1171
- ), [be, Ce] = $(null);
1172
- re(() => {
1174
+ ), [fe, De] = $(null);
1175
+ se(() => {
1173
1176
  const o = () => {
1174
- const g = Ie.current, D = $e.current[F];
1175
- if (!g || !D) {
1176
- Te(null);
1177
+ const p = $e.current, C = Te.current[q];
1178
+ if (!p || !C) {
1179
+ Le(null);
1177
1180
  return;
1178
1181
  }
1179
- const j = g.getBoundingClientRect(), B = D.getBoundingClientRect();
1180
- Te({
1181
- left: B.left - j.left,
1182
- top: B.top - j.top,
1183
- width: B.width,
1184
- height: B.height
1182
+ const j = p.getBoundingClientRect(), D = C.getBoundingClientRect();
1183
+ Le({
1184
+ left: D.left - j.left,
1185
+ top: D.top - j.top,
1186
+ width: D.width,
1187
+ height: D.height
1185
1188
  });
1186
1189
  };
1187
1190
  return o(), window.addEventListener("resize", o), () => window.removeEventListener("resize", o);
1188
- }, [F, C, n, a]), re(() => {
1191
+ }, [q, x, n, a]), se(() => {
1189
1192
  const o = () => {
1190
- const g = Le.current, D = xe.current[L];
1191
- if (!g || !D) {
1192
- Ce(null);
1193
+ const p = xe.current, C = Ce.current[P];
1194
+ if (!p || !C) {
1195
+ De(null);
1193
1196
  return;
1194
1197
  }
1195
- const j = g.getBoundingClientRect(), B = D.getBoundingClientRect();
1196
- Ce({
1197
- left: B.left - j.left,
1198
- width: B.width
1198
+ const j = p.getBoundingClientRect(), D = C.getBoundingClientRect();
1199
+ De({
1200
+ left: D.left - j.left,
1201
+ width: D.width
1199
1202
  });
1200
1203
  };
1201
1204
  return o(), window.addEventListener("resize", o), () => window.removeEventListener("resize", o);
1202
- }, [L, W, n, a]);
1203
- const ze = (o) => {
1204
- he(o), c?.(o);
1205
- }, Ge = (o) => {
1206
- N(o), l?.(o);
1205
+ }, [P, W, n, a]);
1206
+ const Ge = (o) => {
1207
+ ue(o), c?.(o);
1207
1208
  }, Ye = (o) => {
1208
- He(o.start), h?.(o);
1209
+ K(o), l?.(o);
1209
1210
  }, Ve = (o) => {
1211
+ ze(o.start), h?.(o);
1212
+ }, Je = (o) => {
1210
1213
  Ue(o), ge(!1), b?.(o);
1211
1214
  };
1212
- return /* @__PURE__ */ i("div", { className: K(m.root, V), children: [
1213
- w && (O ?? /* @__PURE__ */ e(Ba, { t: y })),
1214
- k && (T ?? /* @__PURE__ */ e(za, { t: y })),
1215
- !f && /* @__PURE__ */ i(De, { children: [
1215
+ return /* @__PURE__ */ i("div", { className: z(m.root, he), children: [
1216
+ w && (O ?? /* @__PURE__ */ e(Ma, { t: y })),
1217
+ k && (T ?? /* @__PURE__ */ e(Ga, { t: y })),
1218
+ !f && /* @__PURE__ */ i(Be, { children: [
1216
1219
  /* @__PURE__ */ i("div", { className: m.languageRow, children: [
1217
- /* @__PURE__ */ e("span", { className: m.languageLabel, children: Q ?? y?.("planConsultationLanguageLabel") ?? "Your consultation language" }),
1218
- /* @__PURE__ */ i("div", { className: m.languageDropdown, ref: pe, children: [
1220
+ /* @__PURE__ */ e("span", { className: m.languageLabel, children: V ?? y?.("planConsultationLanguageLabel") ?? "Your consultation language" }),
1221
+ /* @__PURE__ */ i("div", { className: m.languageDropdown, ref: be, children: [
1219
1222
  /* @__PURE__ */ i(
1220
1223
  "button",
1221
1224
  {
@@ -1225,26 +1228,26 @@ const ua = (t) => {
1225
1228
  "aria-haspopup": "listbox",
1226
1229
  "aria-expanded": ce,
1227
1230
  children: [
1228
- (ue?.labelKey && y?.(ue.labelKey)) ?? ue?.label,
1231
+ (pe?.labelKey && y?.(pe.labelKey)) ?? pe?.label,
1229
1232
  /* @__PURE__ */ e(va, {})
1230
1233
  ]
1231
1234
  }
1232
1235
  ),
1233
1236
  ce && /* @__PURE__ */ e("ul", { className: m.languageMenu, role: "listbox", children: _.map((o) => {
1234
- const g = o.code === Se;
1237
+ const p = o.code === Ie;
1235
1238
  return /* @__PURE__ */ i(
1236
1239
  "li",
1237
1240
  {
1238
1241
  role: "option",
1239
- "aria-selected": g,
1240
- className: K(
1242
+ "aria-selected": p,
1243
+ className: z(
1241
1244
  m.languageMenuItem,
1242
- g && m.languageMenuItemSelected
1245
+ p && m.languageMenuItemSelected
1243
1246
  ),
1244
- onClick: () => Ve(o.code),
1247
+ onClick: () => Je(o.code),
1245
1248
  children: [
1246
1249
  (o.labelKey && y?.(o.labelKey)) ?? o.label,
1247
- g && /* @__PURE__ */ e(fa, {})
1250
+ p && /* @__PURE__ */ e(Na, {})
1248
1251
  ]
1249
1252
  },
1250
1253
  o.code
@@ -1254,65 +1257,68 @@ const ua = (t) => {
1254
1257
  ] }),
1255
1258
  /* @__PURE__ */ e("hr", { className: m.languageDivider })
1256
1259
  ] }),
1257
- /* @__PURE__ */ e("p", { className: m.sectionHeading, children: P ?? y?.("planSelectSlotHeading") ?? "Book your preferred consultation slot" }),
1258
- U === void 0 ? /* @__PURE__ */ i("p", { className: m.reportReadyBanner, children: [
1260
+ /* @__PURE__ */ i("div", { className: m.sectionHeadingRow, children: [
1261
+ /* @__PURE__ */ e("p", { className: m.sectionHeading, children: R ?? y?.("planSelectSlotHeading") ?? "Book your preferred consultation slot" }),
1262
+ Y && /* @__PURE__ */ e("p", { className: m.timezoneLabel, children: Y })
1263
+ ] }),
1264
+ J === void 0 ? /* @__PURE__ */ i("p", { className: m.reportReadyBanner, children: [
1259
1265
  y?.("planReportReadyPrefix") ?? "Your Report will be ready in",
1260
1266
  " ",
1261
1267
  /* @__PURE__ */ e("span", { className: m.reportReadyDuration, children: y?.("planReportReadyDuration") ?? "24-48 hours" }),
1262
1268
  " ",
1263
1269
  y?.("planReportReadySuffix") ?? "from today"
1264
- ] }) : U,
1270
+ ] }) : J,
1265
1271
  n && /* @__PURE__ */ i("div", { className: m.loadingWrap, "aria-busy": "true", "aria-live": "polite", children: [
1266
- /* @__PURE__ */ e("div", { className: m.skeletonDateTabs, children: Array.from({ length: 5 }).map((o, g) => /* @__PURE__ */ e("div", { className: K(m.skeletonDateTab, m.skeletonShimmer) }, g)) }),
1267
- /* @__PURE__ */ e("div", { className: m.skeletonPeriodTabs, children: Array.from({ length: 3 }).map((o, g) => /* @__PURE__ */ e("div", { className: K(m.skeletonPeriodTab, m.skeletonShimmer) }, g)) }),
1268
- /* @__PURE__ */ e("div", { className: m.skeletonTimeGrid, children: Array.from({ length: 6 }).map((o, g) => /* @__PURE__ */ e("div", { className: K(m.skeletonTimeSlot, m.skeletonShimmer) }, g)) })
1272
+ /* @__PURE__ */ e("div", { className: m.skeletonDateTabs, children: Array.from({ length: 5 }).map((o, p) => /* @__PURE__ */ e("div", { className: z(m.skeletonDateTab, m.skeletonShimmer) }, p)) }),
1273
+ /* @__PURE__ */ e("div", { className: m.skeletonPeriodTabs, children: Array.from({ length: 3 }).map((o, p) => /* @__PURE__ */ e("div", { className: z(m.skeletonPeriodTab, m.skeletonShimmer) }, p)) }),
1274
+ /* @__PURE__ */ e("div", { className: m.skeletonTimeGrid, children: Array.from({ length: 6 }).map((o, p) => /* @__PURE__ */ e("div", { className: z(m.skeletonTimeSlot, m.skeletonShimmer) }, p)) })
1269
1275
  ] }),
1270
1276
  !n && a && /* @__PURE__ */ i("div", { className: m.stateMessage, children: [
1271
1277
  y?.("planSlotsLoadError") ?? "Couldn't load slots. Please try again.",
1272
1278
  s && /* @__PURE__ */ e("button", { type: "button", className: m.retryBtn, onClick: s, children: y?.("planRetry") ?? "Retry" })
1273
1279
  ] }),
1274
- !n && !a && C.length === 0 && /* @__PURE__ */ i("div", { className: m.emptyState, children: [
1275
- /* @__PURE__ */ e("span", { className: m.emptyStateIcon, children: /* @__PURE__ */ e(ka, {}) }),
1280
+ !n && !a && x.length === 0 && /* @__PURE__ */ i("div", { className: m.emptyState, children: [
1281
+ /* @__PURE__ */ e("span", { className: m.emptyStateIcon, children: /* @__PURE__ */ e(Sa, {}) }),
1276
1282
  /* @__PURE__ */ e("p", { className: m.emptyStateTitle, children: y?.("planNoSlotsAvailableTitle") ?? "No slots available" }),
1277
1283
  /* @__PURE__ */ e("p", { className: m.emptyStateSubtitle, children: y?.("planNoSlotsAvailableSubtitle") ?? "Try a different consultation language above, or check back soon." })
1278
1284
  ] }),
1279
- !n && !a && C.length > 0 && /* @__PURE__ */ i(De, { children: [
1285
+ !n && !a && x.length > 0 && /* @__PURE__ */ i(Be, { children: [
1280
1286
  /* @__PURE__ */ i(
1281
1287
  "div",
1282
1288
  {
1283
1289
  className: m.dateTabs,
1284
- ref: Ie,
1290
+ ref: $e,
1285
1291
  role: "radiogroup",
1286
1292
  "aria-label": "Consultation date",
1287
1293
  children: [
1288
- ne && /* @__PURE__ */ e(
1294
+ te && /* @__PURE__ */ e(
1289
1295
  "span",
1290
1296
  {
1291
1297
  className: m.dateTabIndicator,
1292
1298
  style: {
1293
- transform: `translate(${ne.left}px, ${ne.top}px)`,
1294
- width: ne.width,
1295
- height: ne.height
1299
+ transform: `translate(${te.left}px, ${te.top}px)`,
1300
+ width: te.width,
1301
+ height: te.height
1296
1302
  },
1297
1303
  "aria-hidden": "true"
1298
1304
  }
1299
1305
  ),
1300
- C.map((o) => {
1301
- const g = o.date === F, { dayLabel: D, dayNum: j } = ga(o.date);
1302
- return /* @__PURE__ */ i(Je, { children: [
1306
+ x.map((o) => {
1307
+ const p = o.date === q, { dayLabel: C, dayNum: j } = ga(o.date);
1308
+ return /* @__PURE__ */ i(Ze, { children: [
1303
1309
  /* @__PURE__ */ i(
1304
1310
  "button",
1305
1311
  {
1306
1312
  type: "button",
1307
- ref: (B) => {
1308
- $e.current[o.date] = B;
1313
+ ref: (D) => {
1314
+ Te.current[o.date] = D;
1309
1315
  },
1310
- className: K(m.dateTab, g && m.dateTabSelected),
1316
+ className: z(m.dateTab, p && m.dateTabSelected),
1311
1317
  role: "radio",
1312
- "aria-checked": g,
1313
- onClick: () => ze(o.date),
1318
+ "aria-checked": p,
1319
+ onClick: () => Ge(o.date),
1314
1320
  children: [
1315
- /* @__PURE__ */ e("span", { className: m.dateTabLabel, children: y?.(D) ?? D }),
1321
+ /* @__PURE__ */ e("span", { className: m.dateTabLabel, children: y?.(C) ?? C }),
1316
1322
  /* @__PURE__ */ e("span", { className: m.dateTabNum, children: j })
1317
1323
  ]
1318
1324
  }
@@ -1327,40 +1333,40 @@ const ua = (t) => {
1327
1333
  "div",
1328
1334
  {
1329
1335
  className: m.periodTabs,
1330
- ref: Le,
1336
+ ref: xe,
1331
1337
  role: "tablist",
1332
1338
  "aria-label": "Time of day",
1333
1339
  children: [
1334
- be && /* @__PURE__ */ e(
1340
+ fe && /* @__PURE__ */ e(
1335
1341
  "span",
1336
1342
  {
1337
1343
  className: m.periodTabIndicator,
1338
1344
  style: {
1339
- transform: `translateX(${be.left}px)`,
1340
- width: be.width
1345
+ transform: `translateX(${fe.left}px)`,
1346
+ width: fe.width
1341
1347
  },
1342
1348
  "aria-hidden": "true"
1343
1349
  }
1344
1350
  ),
1345
1351
  W.map((o) => {
1346
- const g = Po[o], D = o === "evening" && ee, j = D ? "planPeriodEveningNight" : Ao[o];
1352
+ const p = Oo[o], C = o === "evening" && ee, j = C ? "planPeriodEveningNight" : Fo[o];
1347
1353
  return /* @__PURE__ */ i(
1348
1354
  "button",
1349
1355
  {
1350
- ref: (B) => {
1351
- xe.current[o] = B;
1356
+ ref: (D) => {
1357
+ Ce.current[o] = D;
1352
1358
  },
1353
1359
  type: "button",
1354
- className: K(
1360
+ className: z(
1355
1361
  m.periodTab,
1356
- o === L && m.periodTabSelected
1362
+ o === P && m.periodTabSelected
1357
1363
  ),
1358
1364
  role: "tab",
1359
- "aria-selected": o === L,
1360
- onClick: () => Ge(o),
1365
+ "aria-selected": o === P,
1366
+ onClick: () => Ye(o),
1361
1367
  children: [
1362
- /* @__PURE__ */ e(g, {}),
1363
- y?.(j) ?? (D ? "Evening/Night" : o.charAt(0).toUpperCase() + o.slice(1))
1368
+ /* @__PURE__ */ e(p, {}),
1369
+ y?.(j) ?? (C ? "Evening/Night" : o.charAt(0).toUpperCase() + o.slice(1))
1364
1370
  ]
1365
1371
  },
1366
1372
  o
@@ -1375,40 +1381,40 @@ const ua = (t) => {
1375
1381
  className: m.timeGrid,
1376
1382
  role: "radiogroup",
1377
1383
  "aria-label": "Consultation time",
1378
- children: z.map((o, g) => /* @__PURE__ */ e(
1384
+ children: ie.map((o, p) => /* @__PURE__ */ e(
1379
1385
  "button",
1380
1386
  {
1381
1387
  type: "button",
1382
- className: K(
1388
+ className: z(
1383
1389
  m.timeSlot,
1384
- ke === o.start && m.timeSlotSelected,
1390
+ Se === o.start && m.timeSlotSelected,
1385
1391
  o.disabled && m.timeSlotDisabled
1386
1392
  ),
1387
1393
  role: "radio",
1388
- "aria-checked": ke === o.start,
1394
+ "aria-checked": Se === o.start,
1389
1395
  "aria-disabled": o.disabled || void 0,
1390
1396
  disabled: o.disabled,
1391
- onClick: () => !o.disabled && Ye(o),
1392
- children: ua(o.start)
1397
+ onClick: () => !o.disabled && Ve(o),
1398
+ children: pa(o.start)
1393
1399
  },
1394
- `${o.start}-${g}`
1400
+ `${o.start}-${p}`
1395
1401
  ))
1396
1402
  },
1397
- `${F}-${L}`
1403
+ `${q}-${P}`
1398
1404
  )
1399
1405
  ] })
1400
1406
  ] });
1401
- }, Ae = "+05:30", Eo = (t) => {
1407
+ }, Ee = "+05:30", qo = (t) => {
1402
1408
  const n = String(t.getMonth() + 1).padStart(2, "0"), a = String(t.getDate()).padStart(2, "0");
1403
1409
  return `${t.getFullYear()}-${n}-${a}`;
1404
- }, Oo = (t, n, a, s) => {
1410
+ }, Wo = (t, n, a, s) => {
1405
1411
  const r = (l) => String(l).padStart(2, "0"), c = a + 30, d = n + Math.floor(c / 60);
1406
1412
  return {
1407
- start: `${t}T${r(n)}:${r(a)}:00${Ae}`,
1408
- end: `${t}T${r(d)}:${r(c % 60)}:00${Ae}`,
1413
+ start: `${t}T${r(n)}:${r(a)}:00${Ee}`,
1414
+ end: `${t}T${r(d)}:${r(c % 60)}:00${Ee}`,
1409
1415
  period: s
1410
1416
  };
1411
- }, Fo = {
1417
+ }, jo = {
1412
1418
  morning: [
1413
1419
  [9, 0],
1414
1420
  [9, 30],
@@ -1430,24 +1436,24 @@ const ua = (t) => {
1430
1436
  [19, 0],
1431
1437
  [20, 0]
1432
1438
  ]
1433
- }, oe = (t, n) => {
1439
+ }, ae = (t, n) => {
1434
1440
  const a = /* @__PURE__ */ new Date();
1435
1441
  a.setDate(a.getDate() + t);
1436
- const s = Eo(a), r = n.flatMap(
1437
- (c) => Fo[c].map(([d, l]) => Oo(s, d, l, c))
1442
+ const s = qo(a), r = n.flatMap(
1443
+ (c) => jo[c].map(([d, l]) => Wo(s, d, l, c))
1438
1444
  );
1439
1445
  return { date: s, has_availability: r.length > 0, slots: r };
1440
- }, qo = [
1441
- oe(0, ["morning", "afternoon", "evening"]),
1442
- oe(1, ["morning", "afternoon"]),
1443
- oe(2, ["afternoon", "evening"]),
1444
- oe(3, ["morning", "evening"]),
1445
- oe(4, ["morning", "afternoon", "evening"])
1446
- ], ar = qo.map((t) => ({
1446
+ }, Ho = [
1447
+ ae(0, ["morning", "afternoon", "evening"]),
1448
+ ae(1, ["morning", "afternoon"]),
1449
+ ae(2, ["afternoon", "evening"]),
1450
+ ae(3, ["morning", "evening"]),
1451
+ ae(4, ["morning", "afternoon", "evening"])
1452
+ ], rr = Ho.map((t) => ({
1447
1453
  ...t,
1448
1454
  has_availability: !1,
1449
1455
  slots: []
1450
- })), Wo = () => /* @__PURE__ */ e(
1456
+ })), zo = () => /* @__PURE__ */ e(
1451
1457
  "svg",
1452
1458
  {
1453
1459
  width: "14",
@@ -1461,7 +1467,7 @@ const ua = (t) => {
1461
1467
  "aria-hidden": !0,
1462
1468
  children: /* @__PURE__ */ e("path", { d: "M6 9l6 6 6-6" })
1463
1469
  }
1464
- ), jo = [
1470
+ ), Ko = [
1465
1471
  { name: "United States", code: "+1", iso: "US" },
1466
1472
  { name: "United Kingdom", code: "+44", iso: "GB" },
1467
1473
  { name: "Australia", code: "+61", iso: "AU" },
@@ -1516,11 +1522,11 @@ const ua = (t) => {
1516
1522
  { name: "Austria", code: "+43", iso: "AT" },
1517
1523
  { name: "Réunion", code: "+262", iso: "RE" },
1518
1524
  { name: "India", code: "+91", iso: "IN" }
1519
- ], Ho = (t) => {
1525
+ ], Uo = (t) => {
1520
1526
  if (!t || t.length !== 2) return "🏳️";
1521
1527
  const n = t.toUpperCase().split("").map((a) => 127397 + a.charCodeAt(0));
1522
1528
  return String.fromCodePoint(...n);
1523
- }, We = {
1529
+ }, je = {
1524
1530
  "+1": {
1525
1531
  pattern: /^[2-9]\d{9}$/,
1526
1532
  minLength: 10,
@@ -1593,19 +1599,19 @@ const ua = (t) => {
1593
1599
  maxLength: 8,
1594
1600
  description: "7-8 digits"
1595
1601
  }
1596
- }, je = {
1602
+ }, He = {
1597
1603
  pattern: /^\d{6,15}$/,
1598
1604
  maxLength: 15,
1599
1605
  description: "6-15 digits"
1600
- }, Ee = (t, n) => {
1606
+ }, Oe = (t, n) => {
1601
1607
  if (!t)
1602
1608
  return { isValid: !0, error: "" };
1603
- const a = We[n] || je;
1609
+ const a = je[n] || He;
1604
1610
  return a.pattern.test(t) ? { isValid: !0, error: "" } : {
1605
1611
  isValid: !1,
1606
1612
  error: `Please enter a valid phone number (${a.description})`
1607
1613
  };
1608
- }, Oe = (t) => (We[t] || je).maxLength, Ko = ({
1614
+ }, Fe = (t) => (je[t] || He).maxLength, Go = ({
1609
1615
  countryCode: t,
1610
1616
  contactNumber: n,
1611
1617
  countries: a,
@@ -1615,20 +1621,20 @@ const ua = (t) => {
1615
1621
  onDropdownFocus: d,
1616
1622
  onInputFocus: l
1617
1623
  }) => {
1618
- const [u, h] = $(!1), f = a.find((k) => k.code === t) ?? a[0], _ = Oe(t), p = le(
1624
+ const [u, h] = $(!1), f = a.find((k) => k.code === t) ?? a[0], _ = Fe(t), g = le(
1619
1625
  (k) => {
1620
1626
  if (s(k.code, k.name), h(!1), n && c) {
1621
- const { isValid: T, error: P } = Ee(n, k.code);
1622
- c(T, P);
1627
+ const { isValid: T, error: R } = Oe(n, k.code);
1628
+ c(T, R);
1623
1629
  }
1624
1630
  },
1625
1631
  [n, s, c]
1626
1632
  ), b = le(
1627
1633
  (k) => {
1628
- const P = k.target.value.replace(/[^\d]/g, "").slice(0, Oe(t));
1629
- if (r(P), c) {
1630
- const { isValid: Q, error: U } = Ee(P, t);
1631
- c(Q, U);
1634
+ const R = k.target.value.replace(/[^\d]/g, "").slice(0, Fe(t));
1635
+ if (r(R), c) {
1636
+ const { isValid: Y, error: V } = Oe(R, t);
1637
+ c(Y, V);
1632
1638
  }
1633
1639
  },
1634
1640
  [t, r, c]
@@ -1641,97 +1647,97 @@ const ua = (t) => {
1641
1647
  isDropdownOpen: u,
1642
1648
  selectedCountry: f,
1643
1649
  maxLength: _,
1644
- handleCountrySelect: p,
1650
+ handleCountrySelect: g,
1645
1651
  handlePhoneChange: b,
1646
1652
  handleDropdownToggle: w,
1647
1653
  handlePhoneFocus: O,
1648
1654
  closeDropdown: () => h(!1)
1649
1655
  };
1650
- }, Uo = "_root_3ywyc_2", zo = "_label_3ywyc_9", Go = "_row_3ywyc_17", Yo = "_dropdownWrap_3ywyc_23", Vo = "_dropdownBtn_3ywyc_29", Jo = "_dropdownMenu_3ywyc_50", Zo = "_dropdownItem_3ywyc_64", Xo = "_dropdownItemCode_3ywyc_80", Qo = "_dropdownItemName_3ywyc_85", es = "_flagImg_3ywyc_93", ts = "_flagEmoji_3ywyc_97", ns = "_input_3ywyc_102", as = "_inputError_3ywyc_121", os = "_helper_3ywyc_129", ss = "_error_3ywyc_137", S = {
1651
- root: Uo,
1652
- label: zo,
1653
- row: Go,
1654
- dropdownWrap: Yo,
1655
- dropdownBtn: Vo,
1656
- dropdownMenu: Jo,
1657
- dropdownItem: Zo,
1658
- dropdownItemCode: Xo,
1659
- dropdownItemName: Qo,
1660
- flagImg: es,
1661
- flagEmoji: ts,
1662
- input: ns,
1663
- inputError: as,
1664
- helper: os,
1665
- error: ss
1666
- }, Fe = (...t) => t.filter(Boolean).join(" "), or = ({
1656
+ }, Yo = "_root_3ywyc_2", Vo = "_label_3ywyc_9", Jo = "_row_3ywyc_17", Zo = "_dropdownWrap_3ywyc_23", Xo = "_dropdownBtn_3ywyc_29", Qo = "_dropdownMenu_3ywyc_50", es = "_dropdownItem_3ywyc_64", ts = "_dropdownItemCode_3ywyc_80", ns = "_dropdownItemName_3ywyc_85", as = "_flagImg_3ywyc_93", os = "_flagEmoji_3ywyc_97", ss = "_input_3ywyc_102", rs = "_inputError_3ywyc_121", is = "_helper_3ywyc_129", cs = "_error_3ywyc_137", S = {
1657
+ root: Yo,
1658
+ label: Vo,
1659
+ row: Jo,
1660
+ dropdownWrap: Zo,
1661
+ dropdownBtn: Xo,
1662
+ dropdownMenu: Qo,
1663
+ dropdownItem: es,
1664
+ dropdownItemCode: ts,
1665
+ dropdownItemName: ns,
1666
+ flagImg: as,
1667
+ flagEmoji: os,
1668
+ input: ss,
1669
+ inputError: rs,
1670
+ helper: is,
1671
+ error: cs
1672
+ }, qe = (...t) => t.filter(Boolean).join(" "), ir = ({
1667
1673
  countryCode: t,
1668
1674
  contactNumber: n,
1669
1675
  error: a,
1670
1676
  label: s,
1671
1677
  helperText: r,
1672
- countries: c = jo,
1678
+ countries: c = Ko,
1673
1679
  getFlagUrl: d,
1674
1680
  onCountryCodeChange: l,
1675
1681
  onPhoneNumberChange: u,
1676
1682
  onValidationChange: h,
1677
1683
  onDropdownFocus: f,
1678
1684
  onInputFocus: _,
1679
- inputRef: p,
1685
+ inputRef: g,
1680
1686
  t: b,
1681
1687
  className: w = ""
1682
1688
  }) => {
1683
- const [O, k] = $(c[0]?.code ?? "+91"), [T, P] = $(""), Q = t ?? O, U = n ?? T, ee = Y(null), {
1684
- isDropdownOpen: y,
1685
- selectedCountry: V,
1686
- maxLength: C,
1687
- handleCountrySelect: ie,
1688
- handlePhoneChange: he,
1689
- handleDropdownToggle: F,
1689
+ const [O, k] = $(c[0]?.code ?? "+91"), [T, R] = $(""), Y = t ?? O, V = n ?? T, J = G(null), {
1690
+ isDropdownOpen: ee,
1691
+ selectedCountry: y,
1692
+ maxLength: he,
1693
+ handleCountrySelect: x,
1694
+ handlePhoneChange: re,
1695
+ handleDropdownToggle: ue,
1690
1696
  handlePhoneFocus: q,
1691
- closeDropdown: W
1692
- } = Ko({
1693
- countryCode: Q,
1694
- contactNumber: U,
1697
+ closeDropdown: F
1698
+ } = Go({
1699
+ countryCode: Y,
1700
+ contactNumber: V,
1695
1701
  countries: c,
1696
- onCountryCodeChange: (N, L) => {
1697
- k(N), l?.(N, L);
1702
+ onCountryCodeChange: (N, K) => {
1703
+ k(N), l?.(N, K);
1698
1704
  },
1699
1705
  onPhoneNumberChange: (N) => {
1700
- P(N), u?.(N);
1706
+ R(N), u?.(N);
1701
1707
  },
1702
1708
  onValidationChange: h,
1703
1709
  onDropdownFocus: f,
1704
1710
  onInputFocus: _
1705
1711
  });
1706
- re(() => {
1707
- const N = (L) => {
1708
- ee.current && !ee.current.contains(L.target) && W();
1712
+ se(() => {
1713
+ const N = (K) => {
1714
+ J.current && !J.current.contains(K.target) && F();
1709
1715
  };
1710
- return y && document.addEventListener("mousedown", N), () => document.removeEventListener("mousedown", N);
1711
- }, [y, W]);
1712
- const te = (N, L) => {
1713
- const z = N ? d?.(N) : null;
1714
- return z ? /* @__PURE__ */ e("img", { src: z, alt: L, width: 20, height: 14, className: S.flagImg }) : /* @__PURE__ */ e("span", { className: S.flagEmoji, "aria-hidden": !0, children: Ho(N) });
1716
+ return ee && document.addEventListener("mousedown", N), () => document.removeEventListener("mousedown", N);
1717
+ }, [ee, F]);
1718
+ const W = (N, K) => {
1719
+ const P = N ? d?.(N) : null;
1720
+ return P ? /* @__PURE__ */ e("img", { src: P, alt: K, width: 20, height: 14, className: S.flagImg }) : /* @__PURE__ */ e("span", { className: S.flagEmoji, "aria-hidden": !0, children: Uo(N) });
1715
1721
  };
1716
- return /* @__PURE__ */ i("div", { className: Fe(S.root, w), children: [
1722
+ return /* @__PURE__ */ i("div", { className: qe(S.root, w), children: [
1717
1723
  s && /* @__PURE__ */ e("div", { className: S.label, children: s }),
1718
1724
  /* @__PURE__ */ i("div", { className: S.row, children: [
1719
- /* @__PURE__ */ i("div", { className: S.dropdownWrap, ref: ee, children: [
1720
- /* @__PURE__ */ i("button", { type: "button", className: S.dropdownBtn, onClick: F, children: [
1721
- te(V?.iso, V?.name ?? "Flag"),
1722
- /* @__PURE__ */ e("span", { children: V?.code ?? "+91" }),
1723
- /* @__PURE__ */ e(Wo, {})
1725
+ /* @__PURE__ */ i("div", { className: S.dropdownWrap, ref: J, children: [
1726
+ /* @__PURE__ */ i("button", { type: "button", className: S.dropdownBtn, onClick: ue, children: [
1727
+ W(y?.iso, y?.name ?? "Flag"),
1728
+ /* @__PURE__ */ e("span", { children: y?.code ?? "+91" }),
1729
+ /* @__PURE__ */ e(zo, {})
1724
1730
  ] }),
1725
- y && /* @__PURE__ */ e("div", { className: S.dropdownMenu, role: "listbox", children: c.map((N) => /* @__PURE__ */ i(
1731
+ ee && /* @__PURE__ */ e("div", { className: S.dropdownMenu, role: "listbox", children: c.map((N) => /* @__PURE__ */ i(
1726
1732
  "button",
1727
1733
  {
1728
1734
  type: "button",
1729
1735
  role: "option",
1730
- "aria-selected": N.code === V?.code,
1736
+ "aria-selected": N.code === y?.code,
1731
1737
  className: S.dropdownItem,
1732
- onClick: () => ie(N),
1738
+ onClick: () => x(N),
1733
1739
  children: [
1734
- te(N.iso, N.name),
1740
+ W(N.iso, N.name),
1735
1741
  /* @__PURE__ */ e("span", { className: S.dropdownItemCode, children: N.code }),
1736
1742
  /* @__PURE__ */ e("span", { className: S.dropdownItemName, children: N.name })
1737
1743
  ]
@@ -1745,12 +1751,12 @@ const ua = (t) => {
1745
1751
  type: "tel",
1746
1752
  inputMode: "numeric",
1747
1753
  autoComplete: "off",
1748
- value: U,
1749
- maxLength: C,
1750
- ref: p,
1751
- className: Fe(S.input, a && S.inputError),
1754
+ value: V,
1755
+ maxLength: he,
1756
+ ref: g,
1757
+ className: qe(S.input, a && S.inputError),
1752
1758
  placeholder: b?.("planPhoneNumberPlaceholder") ?? "0000000000",
1753
- onChange: he,
1759
+ onChange: re,
1754
1760
  onFocus: q
1755
1761
  }
1756
1762
  )
@@ -1758,7 +1764,7 @@ const ua = (t) => {
1758
1764
  r && /* @__PURE__ */ e("div", { className: S.helper, children: r }),
1759
1765
  a && /* @__PURE__ */ e("p", { className: S.error, children: a })
1760
1766
  ] });
1761
- }, rs = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e(
1767
+ }, ls = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e(
1762
1768
  "path",
1763
1769
  {
1764
1770
  d: "M8 1.33337L10.06 5.50671L14.6667 6.18004L11.3333 9.42671L12.12 14.0134L8 11.8467L3.88 14.0134L4.66667 9.42671L1.33333 6.18004L5.94 5.50671L8 1.33337Z",
@@ -1768,7 +1774,7 @@ const ua = (t) => {
1768
1774
  strokeLinecap: "round",
1769
1775
  strokeLinejoin: "round"
1770
1776
  }
1771
- ) }), is = () => /* @__PURE__ */ e("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e(
1777
+ ) }), ds = () => /* @__PURE__ */ e("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e(
1772
1778
  "path",
1773
1779
  {
1774
1780
  fillRule: "evenodd",
@@ -1776,27 +1782,27 @@ const ua = (t) => {
1776
1782
  d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",
1777
1783
  fill: "#F97316"
1778
1784
  }
1779
- ) }), cs = "_card_1ytv6_2", ls = "_cardSelected_1ytv6_24", ds = "_photoWrap_1ytv6_31", ms = "_photoFrame_1ytv6_37", _s = "_photoImg_1ytv6_45", hs = "_ratingPill_1ytv6_51", us = "_ratingValue_1ytv6_66", gs = "_info_1ytv6_74", ps = "_name_1ytv6_84", bs = "_meta_1ytv6_95", fs = "_languages_1ytv6_103", vs = "_consultationCount_1ytv6_113", Ns = "_checkIcon_1ytv6_121", ws = "_recommendedBadge_1ytv6_126", ys = "_recommendedLabel_1ytv6_138", I = {
1780
- card: cs,
1781
- cardSelected: ls,
1782
- photoWrap: ds,
1783
- photoFrame: ms,
1784
- photoImg: _s,
1785
- ratingPill: hs,
1786
- ratingValue: us,
1787
- info: gs,
1788
- name: ps,
1789
- meta: bs,
1790
- languages: fs,
1791
- consultationCount: vs,
1792
- checkIcon: Ns,
1793
- recommendedBadge: ws,
1794
- recommendedLabel: ys
1795
- }, ks = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='78' viewBox='0 0 64 78'><rect width='64' height='78' fill='%23F3F4F6'/><circle cx='32' cy='30' r='12' fill='%23D1D5DB'/><path d='M12 70c2-14 12-22 20-22s18 8 20 22' fill='%23D1D5DB'/></svg>", Ss = ({
1785
+ ) }), ms = "_card_1ytv6_2", _s = "_cardSelected_1ytv6_24", hs = "_photoWrap_1ytv6_31", us = "_photoFrame_1ytv6_37", ps = "_photoImg_1ytv6_45", gs = "_ratingPill_1ytv6_51", bs = "_ratingValue_1ytv6_66", fs = "_info_1ytv6_74", Ns = "_name_1ytv6_84", vs = "_meta_1ytv6_95", ws = "_languages_1ytv6_103", ys = "_consultationCount_1ytv6_113", ks = "_checkIcon_1ytv6_121", Ss = "_recommendedBadge_1ytv6_126", Is = "_recommendedLabel_1ytv6_138", I = {
1786
+ card: ms,
1787
+ cardSelected: _s,
1788
+ photoWrap: hs,
1789
+ photoFrame: us,
1790
+ photoImg: ps,
1791
+ ratingPill: gs,
1792
+ ratingValue: bs,
1793
+ info: fs,
1794
+ name: Ns,
1795
+ meta: vs,
1796
+ languages: ws,
1797
+ consultationCount: ys,
1798
+ checkIcon: ks,
1799
+ recommendedBadge: Ss,
1800
+ recommendedLabel: Is
1801
+ }, $s = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='78' viewBox='0 0 64 78'><rect width='64' height='78' fill='%23F3F4F6'/><circle cx='32' cy='30' r='12' fill='%23D1D5DB'/><path d='M12 70c2-14 12-22 20-22s18 8 20 22' fill='%23D1D5DB'/></svg>", Ts = ({
1796
1802
  photoUrl: t,
1797
1803
  name: n,
1798
1804
  rating: a,
1799
- fallbackPhotoUrl: s = ks
1805
+ fallbackPhotoUrl: s = $s
1800
1806
  }) => /* @__PURE__ */ i("div", { className: I.photoWrap, children: [
1801
1807
  /* @__PURE__ */ e("div", { className: I.photoFrame, children: /* @__PURE__ */ e(
1802
1808
  "img",
@@ -1813,29 +1819,29 @@ const ua = (t) => {
1813
1819
  ) }),
1814
1820
  /* @__PURE__ */ i("div", { className: I.ratingPill, children: [
1815
1821
  /* @__PURE__ */ e("span", { className: I.ratingValue, children: a }),
1816
- /* @__PURE__ */ e(rs, {})
1822
+ /* @__PURE__ */ e(ls, {})
1817
1823
  ] })
1818
- ] }), Is = ({ label: t, t: n }) => /* @__PURE__ */ e("div", { className: I.recommendedBadge, children: /* @__PURE__ */ e("span", { className: I.recommendedLabel, children: t ?? n?.("planRecommendedAstrologer") ?? "Recommended" }) }), $s = (...t) => t.filter(Boolean).join(" "), Ts = (t) => {
1824
+ ] }), Ls = ({ label: t, t: n }) => /* @__PURE__ */ e("div", { className: I.recommendedBadge, children: /* @__PURE__ */ e("span", { className: I.recommendedLabel, children: t ?? n?.("planRecommendedAstrologer") ?? "Recommended" }) }), xs = (...t) => t.filter(Boolean).join(" "), Cs = (t) => {
1819
1825
  if (t >= 1e3) {
1820
1826
  const n = t / 1e3;
1821
1827
  return `${Number.isInteger(n) ? n : n.toFixed(1)}K consultations`;
1822
1828
  }
1823
1829
  return `${t} consultations`;
1824
- }, Ls = ({
1830
+ }, Ds = ({
1825
1831
  astrologer: t,
1826
1832
  isSelected: n = !1,
1827
1833
  onClick: a,
1828
1834
  fallbackPhotoUrl: s,
1829
- formatConsultationCount: r = Ts
1835
+ formatConsultationCount: r = Cs
1830
1836
  }) => /* @__PURE__ */ i(
1831
1837
  "button",
1832
1838
  {
1833
1839
  type: "button",
1834
1840
  onClick: () => a?.(t),
1835
- className: $s(I.card, n && I.cardSelected),
1841
+ className: xs(I.card, n && I.cardSelected),
1836
1842
  children: [
1837
1843
  /* @__PURE__ */ e(
1838
- Ss,
1844
+ Ts,
1839
1845
  {
1840
1846
  photoUrl: t.photo_url,
1841
1847
  name: t.name,
@@ -1850,17 +1856,17 @@ const ua = (t) => {
1850
1856
  /* @__PURE__ */ e("span", { className: I.consultationCount, children: r(t.consultation_count) })
1851
1857
  ] })
1852
1858
  ] }),
1853
- n && /* @__PURE__ */ e("div", { className: I.checkIcon, children: /* @__PURE__ */ e(is, {}) }),
1854
- t.is_recommended && /* @__PURE__ */ e(Is, {})
1859
+ n && /* @__PURE__ */ e("div", { className: I.checkIcon, children: /* @__PURE__ */ e(ds, {}) }),
1860
+ t.is_recommended && /* @__PURE__ */ e(Ls, {})
1855
1861
  ]
1856
1862
  }
1857
- ), xs = "_section_jbaga_2", Cs = "_title_jbaga_6", Ds = "_row_jbaga_13", Bs = "_skeletonCard_jbaga_26", Ms = "_skeletonShimmer_jbaga_33", se = {
1858
- section: xs,
1859
- title: Cs,
1860
- row: Ds,
1861
- skeletonCard: Bs,
1862
- skeletonShimmer: Ms
1863
- }, qe = (...t) => t.filter(Boolean).join(" "), sr = ({
1863
+ ), Bs = "_section_jbaga_2", Ms = "_title_jbaga_6", Rs = "_row_jbaga_13", Ps = "_skeletonCard_jbaga_26", As = "_skeletonShimmer_jbaga_33", oe = {
1864
+ section: Bs,
1865
+ title: Ms,
1866
+ row: Rs,
1867
+ skeletonCard: Ps,
1868
+ skeletonShimmer: As
1869
+ }, We = (...t) => t.filter(Boolean).join(" "), cr = ({
1864
1870
  astrologers: t,
1865
1871
  loading: n = !1,
1866
1872
  selectedAstrologerId: a,
@@ -1871,24 +1877,24 @@ const ua = (t) => {
1871
1877
  t: l,
1872
1878
  className: u = ""
1873
1879
  }) => {
1874
- const [h, f] = $(""), _ = a ?? h, p = (b) => {
1880
+ const [h, f] = $(""), _ = a ?? h, g = (b) => {
1875
1881
  f(b.astrologer_id), s?.(b);
1876
1882
  };
1877
- return /* @__PURE__ */ i("section", { className: qe(se.section, u), children: [
1878
- /* @__PURE__ */ e("p", { className: se.title, children: r ?? l?.("planSelectAstrologerHeading") ?? "Select an astrologer" }),
1879
- /* @__PURE__ */ e("div", { className: se.row, role: "radiogroup", "aria-label": "Astrologer", children: n ? Array.from({ length: 2 }).map((b, w) => /* @__PURE__ */ e("div", { className: qe(se.skeletonCard, se.skeletonShimmer) }, w)) : t.map((b) => /* @__PURE__ */ e(
1880
- Ls,
1883
+ return /* @__PURE__ */ i("section", { className: We(oe.section, u), children: [
1884
+ /* @__PURE__ */ e("p", { className: oe.title, children: r ?? l?.("planSelectAstrologerHeading") ?? "Select an astrologer" }),
1885
+ /* @__PURE__ */ e("div", { className: oe.row, role: "radiogroup", "aria-label": "Astrologer", children: n ? Array.from({ length: 2 }).map((b, w) => /* @__PURE__ */ e("div", { className: We(oe.skeletonCard, oe.skeletonShimmer) }, w)) : t.map((b) => /* @__PURE__ */ e(
1886
+ Ds,
1881
1887
  {
1882
1888
  astrologer: b,
1883
1889
  isSelected: b.astrologer_id === _,
1884
- onClick: p,
1890
+ onClick: g,
1885
1891
  fallbackPhotoUrl: c,
1886
1892
  formatConsultationCount: d
1887
1893
  },
1888
1894
  b.astrologer_id
1889
1895
  )) })
1890
1896
  ] });
1891
- }, rr = [
1897
+ }, lr = [
1892
1898
  {
1893
1899
  astrologer_id: "astro-1",
1894
1900
  name: "Pandit Ramesh Sharma",
@@ -1916,45 +1922,45 @@ const ua = (t) => {
1916
1922
  }
1917
1923
  ];
1918
1924
  export {
1919
- Ls as AstrologerCard,
1920
- sr as AstrologerList,
1921
- Ss as AstrologerPhoto,
1922
- za as AstrologyProfilesSection,
1923
- ba as CONSULTATION_LANGUAGE_OPTIONS,
1924
- pa as CONSULTATION_PERIOD_ORDER,
1925
- ra as CircularMarquee,
1926
- nr as ConsultationSlotSelector,
1927
- tr as ContactUsSection,
1928
- jo as DEFAULT_COUNTRIES,
1929
- Os as FAQAccordion,
1930
- Qs as FooterCTAButton,
1931
- Xs as FooterShell,
1932
- Js as FormCheckboxWithHelp,
1933
- qs as FormContainer,
1934
- Us as FormDateInput,
1935
- Hs as FormField,
1936
- Zs as FormFooterNote,
1937
- Gs as FormLocationInput,
1938
- Ws as FormSectionHeader,
1939
- Ys as FormSegmentedControl,
1940
- Vs as FormTagPills,
1941
- Ks as FormTextInput,
1942
- zs as FormTimeInput,
1943
- rr as MOCK_ASTROLOGERS,
1944
- qo as MOCK_SLOT_DAYS,
1945
- ar as MOCK_SLOT_DAYS_EMPTY,
1946
- er as MarqueeStrip,
1947
- Fs as PageHeader,
1948
- or as PhoneNumberInput,
1949
- Ba as PhoneNumberSection,
1950
- js as PrivacyBanner,
1951
- Is as RecommendedBadge,
1952
- Es as UserReviewsSection,
1953
- X as footerShellStyles,
1925
+ Ds as AstrologerCard,
1926
+ cr as AstrologerList,
1927
+ Ts as AstrologerPhoto,
1928
+ Ga as AstrologyProfilesSection,
1929
+ fa as CONSULTATION_LANGUAGE_OPTIONS,
1930
+ ba as CONSULTATION_PERIOD_ORDER,
1931
+ ia as CircularMarquee,
1932
+ sr as ConsultationSlotSelector,
1933
+ or as ContactUsSection,
1934
+ Ko as DEFAULT_COUNTRIES,
1935
+ Ws as FAQAccordion,
1936
+ nr as FooterCTAButton,
1937
+ tr as FooterShell,
1938
+ Qs as FormCheckboxWithHelp,
1939
+ Hs as FormContainer,
1940
+ Ys as FormDateInput,
1941
+ Us as FormField,
1942
+ er as FormFooterNote,
1943
+ Js as FormLocationInput,
1944
+ zs as FormSectionHeader,
1945
+ Zs as FormSegmentedControl,
1946
+ Xs as FormTagPills,
1947
+ Gs as FormTextInput,
1948
+ Vs as FormTimeInput,
1949
+ lr as MOCK_ASTROLOGERS,
1950
+ Ho as MOCK_SLOT_DAYS,
1951
+ rr as MOCK_SLOT_DAYS_EMPTY,
1952
+ ar as MarqueeStrip,
1953
+ js as PageHeader,
1954
+ ir as PhoneNumberInput,
1955
+ Ma as PhoneNumberSection,
1956
+ Ks as PrivacyBanner,
1957
+ Ls as RecommendedBadge,
1958
+ qs as UserReviewsSection,
1959
+ Q as footerShellStyles,
1954
1960
  ga as formatSlotDayLabel,
1955
- ua as formatSlotTime,
1956
- Ho as getFlagEmoji,
1957
- Oe as getMaxLengthForCountry,
1958
- Ee as validatePhoneByCountryCode
1961
+ pa as formatSlotTime,
1962
+ Uo as getFlagEmoji,
1963
+ Fe as getMaxLengthForCountry,
1964
+ Oe as validatePhoneByCountryCode
1959
1965
  };
1960
1966
  //# sourceMappingURL=index.js.map