@srimandir/astrology-common 7.6.0 → 7.6.2

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.
Files changed (43) hide show
  1. package/dist/astrology-common.css +1 -1
  2. package/dist/components/AstrologersListCard/AstrologerCard.d.ts +11 -0
  3. package/dist/components/AstrologersListCard/AstrologerList.d.ts +18 -0
  4. package/dist/components/AstrologersListCard/AstrologerPhoto.d.ts +9 -0
  5. package/dist/components/AstrologersListCard/RecommendedBadge.d.ts +7 -0
  6. package/dist/components/AstrologersListCard/RecommendedRibbon.d.ts +17 -0
  7. package/dist/components/AstrologersListCard/icons.d.ts +5 -0
  8. package/dist/components/AstrologersListCard/index.d.ts +7 -0
  9. package/dist/components/AstrologersListCard/mockAstrologers.d.ts +2 -0
  10. package/dist/components/AstrologersListCard/types.d.ts +10 -0
  11. package/dist/components/CircularMarquee/CircularMarquee.d.ts +1 -1
  12. package/dist/components/ConsultationSlotSelector/ConsultationSlotSelector.d.ts +2 -0
  13. package/dist/components/ConsultationSlotSelector/types.d.ts +3 -1
  14. package/dist/components/ContactUsSection/ContactUsSection.d.ts +1 -1
  15. package/dist/components/FAQAccordion/FAQAccordion.d.ts +1 -1
  16. package/dist/components/FooterShell/FooterCTAButton.d.ts +1 -1
  17. package/dist/components/FooterShell/FooterShell.d.ts +1 -1
  18. package/dist/components/FormCheckboxWithHelp/FormCheckboxWithHelp.d.ts +1 -1
  19. package/dist/components/FormContainer/FormContainer.d.ts +1 -1
  20. package/dist/components/FormDateInput/FormDateInput.d.ts +1 -1
  21. package/dist/components/FormField/FormField.d.ts +1 -1
  22. package/dist/components/FormFooterNote/FormFooterNote.d.ts +1 -1
  23. package/dist/components/FormLocationInput/FormLocationInput.d.ts +1 -1
  24. package/dist/components/FormSectionHeader/FormSectionHeader.d.ts +1 -1
  25. package/dist/components/FormSegmentedControl/FormSegmentedControl.d.ts +1 -1
  26. package/dist/components/FormTagPills/FormTagPills.d.ts +1 -1
  27. package/dist/components/FormTextInput/FormTextInput.d.ts +1 -1
  28. package/dist/components/FormTimeInput/FormTimeInput.d.ts +1 -1
  29. package/dist/components/MarqueeStrip/MarqueeStrip.d.ts +1 -1
  30. package/dist/components/PageHeader/PageHeader.d.ts +1 -1
  31. package/dist/components/PhoneNumberInput/PhoneNumberInput.d.ts +27 -0
  32. package/dist/components/PhoneNumberInput/countries.d.ts +13 -0
  33. package/dist/components/PhoneNumberInput/icons.d.ts +3 -0
  34. package/dist/components/PhoneNumberInput/index.d.ts +3 -0
  35. package/dist/components/PhoneNumberInput/usePhoneNumberInput.d.ts +22 -0
  36. package/dist/components/PrivacyBanner/PrivacyBanner.d.ts +1 -1
  37. package/dist/components/UserReviewsSection/UserReviewsSection.d.ts +1 -1
  38. package/dist/index.cjs +1 -14
  39. package/dist/index.cjs.map +1 -1
  40. package/dist/index.d.ts +4 -0
  41. package/dist/index.js +1331 -1524
  42. package/dist/index.js.map +1 -1
  43. package/package.json +4 -2
package/dist/index.js CHANGED
@@ -1,757 +1,149 @@
1
1
  import "./styles.js";
2
- import jt, { useMemo as V, useState as Y, useEffect as Ye, useRef as ge, Fragment as qt } from "react";
3
- var Ae = { exports: {} }, ke = {};
4
- var ht;
5
- function Wt() {
6
- if (ht) return ke;
7
- ht = 1;
8
- var a = jt, r = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, l = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
9
- function _(d, f, g) {
10
- var v, h = {}, j = null, S = null;
11
- g !== void 0 && (j = "" + g), f.key !== void 0 && (j = "" + f.key), f.ref !== void 0 && (S = f.ref);
12
- for (v in f) c.call(f, v) && !u.hasOwnProperty(v) && (h[v] = f[v]);
13
- if (d && d.defaultProps) for (v in f = d.defaultProps, f) h[v] === void 0 && (h[v] = f[v]);
14
- return { $$typeof: r, type: d, key: j, ref: S, props: h, _owner: l.current };
15
- }
16
- return ke.Fragment = s, ke.jsx = _, ke.jsxs = _, ke;
17
- }
18
- var Re = {};
19
- var pt;
20
- function Yt() {
21
- return pt || (pt = 1, process.env.NODE_ENV !== "production" && (function() {
22
- var a = jt, r = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), c = /* @__PURE__ */ Symbol.for("react.fragment"), l = /* @__PURE__ */ Symbol.for("react.strict_mode"), u = /* @__PURE__ */ Symbol.for("react.profiler"), _ = /* @__PURE__ */ Symbol.for("react.provider"), d = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), g = /* @__PURE__ */ Symbol.for("react.suspense"), v = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), j = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), I = Symbol.iterator, ee = "@@iterator";
23
- function ve(e) {
24
- if (e === null || typeof e != "object")
25
- return null;
26
- var n = I && e[I] || e[ee];
27
- return typeof n == "function" ? n : null;
28
- }
29
- var C = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
- function $(e) {
31
- {
32
- for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), p = 1; p < n; p++)
33
- i[p - 1] = arguments[p];
34
- Ue("error", e, i);
35
- }
36
- }
37
- function Ue(e, n, i) {
38
- {
39
- var p = C.ReactDebugCurrentFrame, w = p.getStackAddendum();
40
- w !== "" && (n += "%s", i = i.concat([w]));
41
- var N = i.map(function(y) {
42
- return String(y);
43
- });
44
- N.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, N);
45
- }
46
- }
47
- var Ee = !1, ze = !1, E = !1, He = !1, F = !1, xe;
48
- xe = /* @__PURE__ */ Symbol.for("react.module.reference");
49
- function Ke(e) {
50
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === u || F || e === l || e === g || e === v || He || e === S || Ee || ze || E || typeof e == "object" && e !== null && (e.$$typeof === j || e.$$typeof === h || e.$$typeof === _ || e.$$typeof === d || e.$$typeof === f || // This needs to include all possible module reference object
51
- // types supported by any Flight configuration anywhere since
52
- // we don't know which Flight build this will end up being used
53
- // with.
54
- e.$$typeof === xe || e.getModuleId !== void 0));
55
- }
56
- function X(e, n, i) {
57
- var p = e.displayName;
58
- if (p)
59
- return p;
60
- var w = n.displayName || n.name || "";
61
- return w !== "" ? i + "(" + w + ")" : i;
62
- }
63
- function J(e) {
64
- return e.displayName || "Context";
65
- }
66
- function P(e) {
67
- if (e == null)
68
- return null;
69
- if (typeof e.tag == "number" && $("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
70
- return e.displayName || e.name || null;
71
- if (typeof e == "string")
72
- return e;
73
- switch (e) {
74
- case c:
75
- return "Fragment";
76
- case s:
77
- return "Portal";
78
- case u:
79
- return "Profiler";
80
- case l:
81
- return "StrictMode";
82
- case g:
83
- return "Suspense";
84
- case v:
85
- return "SuspenseList";
86
- }
87
- if (typeof e == "object")
88
- switch (e.$$typeof) {
89
- case d:
90
- var n = e;
91
- return J(n) + ".Consumer";
92
- case _:
93
- var i = e;
94
- return J(i._context) + ".Provider";
95
- case f:
96
- return X(e, e.render, "ForwardRef");
97
- case h:
98
- var p = e.displayName || null;
99
- return p !== null ? p : P(e.type) || "Memo";
100
- case j: {
101
- var w = e, N = w._payload, y = w._init;
102
- try {
103
- return P(y(N));
104
- } catch {
105
- return null;
106
- }
107
- }
108
- }
109
- return null;
110
- }
111
- var U = Object.assign, te = 0, z, ne, ye, Ce, je, De, Oe;
112
- function we() {
113
- }
114
- we.__reactDisabledLog = !0;
115
- function Ne() {
116
- {
117
- if (te === 0) {
118
- z = console.log, ne = console.info, ye = console.warn, Ce = console.error, je = console.group, De = console.groupCollapsed, Oe = console.groupEnd;
119
- var e = {
120
- configurable: !0,
121
- enumerable: !0,
122
- value: we,
123
- writable: !0
124
- };
125
- Object.defineProperties(console, {
126
- info: e,
127
- log: e,
128
- warn: e,
129
- error: e,
130
- group: e,
131
- groupCollapsed: e,
132
- groupEnd: e
133
- });
134
- }
135
- te++;
136
- }
137
- }
138
- function de() {
139
- {
140
- if (te--, te === 0) {
141
- var e = {
142
- configurable: !0,
143
- enumerable: !0,
144
- writable: !0
145
- };
146
- Object.defineProperties(console, {
147
- log: U({}, e, {
148
- value: z
149
- }),
150
- info: U({}, e, {
151
- value: ne
152
- }),
153
- warn: U({}, e, {
154
- value: ye
155
- }),
156
- error: U({}, e, {
157
- value: Ce
158
- }),
159
- group: U({}, e, {
160
- value: je
161
- }),
162
- groupCollapsed: U({}, e, {
163
- value: De
164
- }),
165
- groupEnd: U({}, e, {
166
- value: Oe
167
- })
168
- });
169
- }
170
- te < 0 && $("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
- }
172
- }
173
- var ae = C.ReactCurrentDispatcher, re;
174
- function oe(e, n, i) {
175
- {
176
- if (re === void 0)
177
- try {
178
- throw Error();
179
- } catch (w) {
180
- var p = w.stack.trim().match(/\n( *(at )?)/);
181
- re = p && p[1] || "";
182
- }
183
- return `
184
- ` + re + e;
185
- }
186
- }
187
- var ue = !1, H;
188
- {
189
- var Pe = typeof WeakMap == "function" ? WeakMap : Map;
190
- H = new Pe();
191
- }
192
- function Te(e, n) {
193
- if (!e || ue)
194
- return "";
195
- {
196
- var i = H.get(e);
197
- if (i !== void 0)
198
- return i;
199
- }
200
- var p;
201
- ue = !0;
202
- var w = Error.prepareStackTrace;
203
- Error.prepareStackTrace = void 0;
204
- var N;
205
- N = ae.current, ae.current = null, Ne();
206
- try {
207
- if (n) {
208
- var y = function() {
209
- throw Error();
210
- };
211
- if (Object.defineProperty(y.prototype, "props", {
212
- set: function() {
213
- throw Error();
214
- }
215
- }), typeof Reflect == "object" && Reflect.construct) {
216
- try {
217
- Reflect.construct(y, []);
218
- } catch (L) {
219
- p = L;
220
- }
221
- Reflect.construct(e, [], y);
222
- } else {
223
- try {
224
- y.call();
225
- } catch (L) {
226
- p = L;
227
- }
228
- e.call(y.prototype);
229
- }
230
- } else {
231
- try {
232
- throw Error();
233
- } catch (L) {
234
- p = L;
235
- }
236
- e();
237
- }
238
- } catch (L) {
239
- if (L && p && typeof L.stack == "string") {
240
- for (var b = L.stack.split(`
241
- `), O = p.stack.split(`
242
- `), k = b.length - 1, R = O.length - 1; k >= 1 && R >= 0 && b[k] !== O[R]; )
243
- R--;
244
- for (; k >= 1 && R >= 0; k--, R--)
245
- if (b[k] !== O[R]) {
246
- if (k !== 1 || R !== 1)
247
- do
248
- if (k--, R--, R < 0 || b[k] !== O[R]) {
249
- var A = `
250
- ` + b[k].replace(" at new ", " at ");
251
- return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && H.set(e, A), A;
252
- }
253
- while (k >= 1 && R >= 0);
254
- break;
255
- }
256
- }
257
- } finally {
258
- ue = !1, ae.current = N, de(), Error.prepareStackTrace = w;
259
- }
260
- var he = e ? e.displayName || e.name : "", ce = he ? oe(he) : "";
261
- return typeof e == "function" && H.set(e, ce), ce;
262
- }
263
- function Le(e, n, i) {
264
- return Te(e, !1);
265
- }
266
- function Se(e) {
267
- var n = e.prototype;
268
- return !!(n && n.isReactComponent);
269
- }
270
- function se(e, n, i) {
271
- if (e == null)
272
- return "";
273
- if (typeof e == "function")
274
- return Te(e, Se(e));
275
- if (typeof e == "string")
276
- return oe(e);
277
- switch (e) {
278
- case g:
279
- return oe("Suspense");
280
- case v:
281
- return oe("SuspenseList");
282
- }
283
- if (typeof e == "object")
284
- switch (e.$$typeof) {
285
- case f:
286
- return Le(e.render);
287
- case h:
288
- return se(e.type, n, i);
289
- case j: {
290
- var p = e, w = p._payload, N = p._init;
291
- try {
292
- return se(N(w), n, i);
293
- } catch {
294
- }
295
- }
296
- }
297
- return "";
298
- }
299
- var ie = Object.prototype.hasOwnProperty, Me = {}, Be = C.ReactDebugCurrentFrame;
300
- function _e(e) {
301
- if (e) {
302
- var n = e._owner, i = se(e.type, e._source, n ? n.type : null);
303
- Be.setExtraStackFrame(i);
304
- } else
305
- Be.setExtraStackFrame(null);
306
- }
307
- function o(e, n, i, p, w) {
308
- {
309
- var N = Function.call.bind(ie);
310
- for (var y in e)
311
- if (N(e, y)) {
312
- var b = void 0;
313
- try {
314
- if (typeof e[y] != "function") {
315
- var O = Error((p || "React class") + ": " + i + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
- throw O.name = "Invariant Violation", O;
317
- }
318
- b = e[y](n, y, p, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
- } catch (k) {
320
- b = k;
321
- }
322
- b && !(b instanceof Error) && (_e(w), $("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", i, y, typeof b), _e(null)), b instanceof Error && !(b.message in Me) && (Me[b.message] = !0, _e(w), $("Failed %s type: %s", i, b.message), _e(null));
323
- }
324
- }
325
- }
326
- var x = Array.isArray;
327
- function D(e) {
328
- return x(e);
329
- }
330
- function K(e) {
331
- {
332
- var n = typeof Symbol == "function" && Symbol.toStringTag, i = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
333
- return i;
334
- }
335
- }
336
- function M(e) {
337
- try {
338
- return nt(e), !1;
339
- } catch {
340
- return !0;
341
- }
342
- }
343
- function nt(e) {
344
- return "" + e;
345
- }
346
- function at(e) {
347
- if (M(e))
348
- return $("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", K(e)), nt(e);
349
- }
350
- var rt = C.ReactCurrentOwner, wt = {
351
- key: !0,
352
- ref: !0,
353
- __self: !0,
354
- __source: !0
355
- }, ot, st;
356
- function Nt(e) {
357
- if (ie.call(e, "ref")) {
358
- var n = Object.getOwnPropertyDescriptor(e, "ref").get;
359
- if (n && n.isReactWarning)
360
- return !1;
361
- }
362
- return e.ref !== void 0;
363
- }
364
- function Tt(e) {
365
- if (ie.call(e, "key")) {
366
- var n = Object.getOwnPropertyDescriptor(e, "key").get;
367
- if (n && n.isReactWarning)
368
- return !1;
369
- }
370
- return e.key !== void 0;
371
- }
372
- function St(e, n) {
373
- typeof e.ref == "string" && rt.current;
374
- }
375
- function kt(e, n) {
376
- {
377
- var i = function() {
378
- ot || (ot = !0, $("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
379
- };
380
- i.isReactWarning = !0, Object.defineProperty(e, "key", {
381
- get: i,
382
- configurable: !0
383
- });
384
- }
385
- }
386
- function Rt(e, n) {
387
- {
388
- var i = function() {
389
- st || (st = !0, $("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
390
- };
391
- i.isReactWarning = !0, Object.defineProperty(e, "ref", {
392
- get: i,
393
- configurable: !0
394
- });
395
- }
396
- }
397
- var $t = function(e, n, i, p, w, N, y) {
398
- var b = {
399
- // This tag allows us to uniquely identify this as a React Element
400
- $$typeof: r,
401
- // Built-in properties that belong on the element
402
- type: e,
403
- key: n,
404
- ref: i,
405
- props: y,
406
- // Record the component responsible for creating this element.
407
- _owner: N
408
- };
409
- return b._store = {}, Object.defineProperty(b._store, "validated", {
410
- configurable: !1,
411
- enumerable: !1,
412
- writable: !0,
413
- value: !1
414
- }), Object.defineProperty(b, "_self", {
415
- configurable: !1,
416
- enumerable: !1,
417
- writable: !1,
418
- value: p
419
- }), Object.defineProperty(b, "_source", {
420
- configurable: !1,
421
- enumerable: !1,
422
- writable: !1,
423
- value: w
424
- }), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
425
- };
426
- function It(e, n, i, p, w) {
427
- {
428
- var N, y = {}, b = null, O = null;
429
- i !== void 0 && (at(i), b = "" + i), Tt(n) && (at(n.key), b = "" + n.key), Nt(n) && (O = n.ref, St(n, w));
430
- for (N in n)
431
- ie.call(n, N) && !wt.hasOwnProperty(N) && (y[N] = n[N]);
432
- if (e && e.defaultProps) {
433
- var k = e.defaultProps;
434
- for (N in k)
435
- y[N] === void 0 && (y[N] = k[N]);
436
- }
437
- if (b || O) {
438
- var R = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
- b && kt(y, R), O && Rt(y, R);
440
- }
441
- return $t(e, b, O, w, p, rt.current, y);
442
- }
443
- }
444
- var Ge = C.ReactCurrentOwner, it = C.ReactDebugCurrentFrame;
445
- function fe(e) {
446
- if (e) {
447
- var n = e._owner, i = se(e.type, e._source, n ? n.type : null);
448
- it.setExtraStackFrame(i);
449
- } else
450
- it.setExtraStackFrame(null);
451
- }
452
- var Ve;
453
- Ve = !1;
454
- function Je(e) {
455
- return typeof e == "object" && e !== null && e.$$typeof === r;
456
- }
457
- function ct() {
458
- {
459
- if (Ge.current) {
460
- var e = P(Ge.current.type);
461
- if (e)
462
- return `
463
-
464
- Check the render method of \`` + e + "`.";
465
- }
466
- return "";
467
- }
468
- }
469
- function Et(e) {
470
- return "";
471
- }
472
- var lt = {};
473
- function Ct(e) {
474
- {
475
- var n = ct();
476
- if (!n) {
477
- var i = typeof e == "string" ? e : e.displayName || e.name;
478
- i && (n = `
479
-
480
- Check the top-level render call using <` + i + ">.");
481
- }
482
- return n;
483
- }
484
- }
485
- function dt(e, n) {
486
- {
487
- if (!e._store || e._store.validated || e.key != null)
488
- return;
489
- e._store.validated = !0;
490
- var i = Ct(n);
491
- if (lt[i])
492
- return;
493
- lt[i] = !0;
494
- var p = "";
495
- e && e._owner && e._owner !== Ge.current && (p = " It was passed a child from " + P(e._owner.type) + "."), fe(e), $('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, p), fe(null);
496
- }
497
- }
498
- function ut(e, n) {
499
- {
500
- if (typeof e != "object")
501
- return;
502
- if (D(e))
503
- for (var i = 0; i < e.length; i++) {
504
- var p = e[i];
505
- Je(p) && dt(p, n);
506
- }
507
- else if (Je(e))
508
- e._store && (e._store.validated = !0);
509
- else if (e) {
510
- var w = ve(e);
511
- if (typeof w == "function" && w !== e.entries)
512
- for (var N = w.call(e), y; !(y = N.next()).done; )
513
- Je(y.value) && dt(y.value, n);
514
- }
515
- }
516
- }
517
- function Dt(e) {
518
- {
519
- var n = e.type;
520
- if (n == null || typeof n == "string")
521
- return;
522
- var i;
523
- if (typeof n == "function")
524
- i = n.propTypes;
525
- else if (typeof n == "object" && (n.$$typeof === f || // Note: Memo only checks outer props here.
526
- // Inner props are checked in the reconciler.
527
- n.$$typeof === h))
528
- i = n.propTypes;
529
- else
530
- return;
531
- if (i) {
532
- var p = P(n);
533
- o(i, e.props, "prop", p, e);
534
- } else if (n.PropTypes !== void 0 && !Ve) {
535
- Ve = !0;
536
- var w = P(n);
537
- $("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", w || "Unknown");
538
- }
539
- typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && $("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
540
- }
541
- }
542
- function Ot(e) {
543
- {
544
- for (var n = Object.keys(e.props), i = 0; i < n.length; i++) {
545
- var p = n[i];
546
- if (p !== "children" && p !== "key") {
547
- fe(e), $("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), fe(null);
548
- break;
549
- }
550
- }
551
- e.ref !== null && (fe(e), $("Invalid attribute `ref` supplied to `React.Fragment`."), fe(null));
552
- }
553
- }
554
- var _t = {};
555
- function ft(e, n, i, p, w, N) {
556
- {
557
- var y = Ke(e);
558
- if (!y) {
559
- var b = "";
560
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
561
- var O = Et();
562
- O ? b += O : b += ct();
563
- var k;
564
- e === null ? k = "null" : D(e) ? k = "array" : e !== void 0 && e.$$typeof === r ? (k = "<" + (P(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : k = typeof e, $("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", k, b);
565
- }
566
- var R = It(e, n, i, w, N);
567
- if (R == null)
568
- return R;
569
- if (y) {
570
- var A = n.children;
571
- if (A !== void 0)
572
- if (p)
573
- if (D(A)) {
574
- for (var he = 0; he < A.length; he++)
575
- ut(A[he], e);
576
- Object.freeze && Object.freeze(A);
577
- } else
578
- $("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
579
- else
580
- ut(A, e);
581
- }
582
- if (ie.call(n, "key")) {
583
- var ce = P(e), L = Object.keys(n).filter(function(Ft) {
584
- return Ft !== "key";
585
- }), Xe = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
586
- if (!_t[ce + Xe]) {
587
- var At = L.length > 0 ? "{" + L.join(": ..., ") + ": ...}" : "{}";
588
- $(`A props object containing a "key" prop is being spread into JSX:
589
- let props = %s;
590
- <%s {...props} />
591
- React keys must be passed directly to JSX without using spread:
592
- let props = %s;
593
- <%s key={someKey} {...props} />`, Xe, ce, At, ce), _t[ce + Xe] = !0;
594
- }
595
- }
596
- return e === c ? Ot(R) : Dt(R), R;
597
- }
598
- }
599
- function Pt(e, n, i) {
600
- return ft(e, n, i, !0);
601
- }
602
- function Lt(e, n, i) {
603
- return ft(e, n, i, !1);
604
- }
605
- var Mt = Lt, Bt = Pt;
606
- Re.Fragment = c, Re.jsx = Mt, Re.jsxs = Bt;
607
- })()), Re;
608
- }
609
- var mt;
610
- function Ut() {
611
- return mt || (mt = 1, process.env.NODE_ENV === "production" ? Ae.exports = Wt() : Ae.exports = Yt()), Ae.exports;
612
- }
613
- var t = Ut();
614
- const zt = "_section_1fboo_1", Ht = "_heading_1fboo_5", Kt = "_trustLine_1fboo_9", Gt = "_star_1fboo_13", Vt = "_ratingNum_1fboo_17", Jt = "_trustText_1fboo_21", Xt = "_cardList_1fboo_25", Qt = "_card_1fboo_25", Zt = "_quote_1fboo_37", en = "_author_1fboo_41", tn = "_avatar_1fboo_45", nn = "_avatarPlaceholder_1fboo_49", an = "_authorInfo_1fboo_54", rn = "_authorName_1fboo_58", on = "_stars_1fboo_62", sn = "_readMoreWrap_1fboo_66", cn = "_toggleBtn_1fboo_70", ln = "_readMore_1fboo_66", dn = "_arrow_1fboo_89", un = "_dot_1fboo_93", T = {
615
- section: zt,
616
- heading: Ht,
617
- trustLine: Kt,
618
- star: Gt,
619
- ratingNum: Vt,
620
- trustText: Jt,
621
- cardList: Xt,
622
- card: Qt,
623
- quote: Zt,
624
- author: en,
625
- avatar: tn,
626
- avatarPlaceholder: nn,
627
- authorInfo: an,
628
- authorName: rn,
629
- stars: on,
630
- readMoreWrap: sn,
631
- toggleBtn: cn,
632
- readMore: ln,
633
- arrow: dn,
634
- dot: un
635
- }, _n = 3, gt = 15;
636
- function fn(a) {
637
- const r = /* @__PURE__ */ new Map();
638
- for (let d = 1; d <= gt; d += 1) {
639
- const f = `feedbackTestimonial${d}`, g = a(f);
640
- if (!g || g === f) continue;
641
- const v = `feedbackAuthor${d}`, h = (() => {
642
- const I = a(v);
643
- return I && I !== v ? I : a("guest");
644
- })(), j = `feedbackAuthor${d}AvatarUrl`, S = (() => {
645
- const I = a(j);
646
- return I && I !== j ? I : void 0;
2
+ import { jsxs as c, jsx as e, Fragment as Me } from "react/jsx-runtime";
3
+ import { useMemo as E, useState as T, useEffect as se, useRef as G, Fragment as Ze, useCallback as le } from "react";
4
+ import { getMaxLengthForCountry as Re, validatePhoneByCountryCode as Pe } from "@srimandir/common";
5
+ import { getMaxLengthForCountry as br, validatePhoneByCountryCode as fr } from "@srimandir/common";
6
+ const Xe = "_section_1fboo_1", Qe = "_heading_1fboo_5", Ve = "_trustLine_1fboo_9", en = "_star_1fboo_13", nn = "_ratingNum_1fboo_17", tn = "_trustText_1fboo_21", an = "_cardList_1fboo_25", on = "_card_1fboo_25", sn = "_quote_1fboo_37", rn = "_author_1fboo_41", cn = "_avatar_1fboo_45", ln = "_avatarPlaceholder_1fboo_49", dn = "_authorInfo_1fboo_54", _n = "_authorName_1fboo_58", mn = "_stars_1fboo_62", hn = "_readMoreWrap_1fboo_66", un = "_toggleBtn_1fboo_70", pn = "_readMore_1fboo_66", gn = "_arrow_1fboo_89", bn = "_dot_1fboo_93", v = {
7
+ section: Xe,
8
+ heading: Qe,
9
+ trustLine: Ve,
10
+ star: en,
11
+ ratingNum: nn,
12
+ trustText: tn,
13
+ cardList: an,
14
+ card: on,
15
+ quote: sn,
16
+ author: rn,
17
+ avatar: cn,
18
+ avatarPlaceholder: ln,
19
+ authorInfo: dn,
20
+ authorName: _n,
21
+ stars: mn,
22
+ readMoreWrap: hn,
23
+ toggleBtn: un,
24
+ readMore: pn,
25
+ arrow: gn,
26
+ dot: bn
27
+ }, fn = 3, Ae = 15;
28
+ function Nn(n) {
29
+ const t = /* @__PURE__ */ new Map();
30
+ for (let l = 1; l <= Ae; l += 1) {
31
+ const u = `feedbackTestimonial${l}`, h = n(u);
32
+ if (!h || h === u) continue;
33
+ const f = `feedbackAuthor${l}`, m = (() => {
34
+ const w = n(f);
35
+ return w && w !== f ? w : n("guest");
36
+ })(), g = `feedbackAuthor${l}AvatarUrl`, b = (() => {
37
+ const w = n(g);
38
+ return w && w !== g ? w : void 0;
647
39
  })();
648
- r.set(d, {
649
- quote: g,
650
- authorName: h,
651
- authorAvatarUrl: S,
40
+ t.set(l, {
41
+ quote: h,
42
+ authorName: m,
43
+ authorAvatarUrl: b,
652
44
  rating: 5
653
45
  });
654
46
  }
655
- const s = [], c = [];
656
- for (let d = 1; d <= gt; d += 1)
657
- d >= 9 ? c.push(d) : s.push(d);
658
- const l = [];
659
- let u = 0, _ = 0;
660
- for (; u < s.length || _ < c.length; ) {
661
- if (_ < c.length) {
662
- const d = c[_++], f = r.get(d);
663
- f && l.push(f);
47
+ const a = [], s = [];
48
+ for (let l = 1; l <= Ae; l += 1)
49
+ l >= 9 ? s.push(l) : a.push(l);
50
+ const r = [];
51
+ let i = 0, d = 0;
52
+ for (; i < a.length || d < s.length; ) {
53
+ if (d < s.length) {
54
+ const l = s[d++], u = t.get(l);
55
+ u && r.push(u);
664
56
  }
665
- if (u < s.length) {
666
- const d = s[u++], f = r.get(d);
667
- f && l.push(f);
57
+ if (i < a.length) {
58
+ const l = a[i++], u = t.get(l);
59
+ u && r.push(u);
668
60
  }
669
61
  }
670
- return l;
62
+ return r;
671
63
  }
672
- function Lo({
673
- t: a,
674
- testimonials: r,
675
- initialVisible: s = _n,
676
- readMoreHref: c,
677
- onReadMore: l,
678
- className: u = "",
679
- headingClassName: _
64
+ function zs({
65
+ t: n,
66
+ testimonials: t,
67
+ initialVisible: a = fn,
68
+ readMoreHref: s,
69
+ onReadMore: r,
70
+ className: i = "",
71
+ headingClassName: d
680
72
  }) {
681
- const d = r ?? V(() => fn(a), [a]), [f, g] = Y(!1), v = d.length > s, h = v && !f ? d.slice(0, s) : d, j = a("feedbackTitle"), S = a("feedbackRating"), I = a("feedbackTrust"), ee = a("readMoreReviews"), ve = a("readLess");
682
- return /* @__PURE__ */ t.jsxs(
73
+ const l = t ?? E(() => Nn(n), [n]), [u, h] = T(!1), f = l.length > a, m = f && !u ? l.slice(0, a) : l, g = n("feedbackTitle"), b = n("feedbackRating"), w = n("feedbackTrust"), O = n("readMoreReviews"), k = n("readLess");
74
+ return /* @__PURE__ */ c(
683
75
  "section",
684
76
  {
685
- className: `${T.section} ${u}`,
77
+ className: `${v.section} ${i}`,
686
78
  "aria-labelledby": "reviews-heading",
687
79
  children: [
688
- /* @__PURE__ */ t.jsx(
80
+ /* @__PURE__ */ e(
689
81
  "h2",
690
82
  {
691
83
  id: "reviews-heading",
692
- className: [T.heading, _].filter(Boolean).join(" "),
693
- children: j
84
+ className: [v.heading, d].filter(Boolean).join(" "),
85
+ children: g
694
86
  }
695
87
  ),
696
- /* @__PURE__ */ t.jsxs("p", { className: T.trustLine, children: [
697
- /* @__PURE__ */ t.jsx("span", { className: T.star, "aria-hidden": !0, children: "★" }),
698
- /* @__PURE__ */ t.jsx("span", { className: T.ratingNum, children: S }),
699
- /* @__PURE__ */ t.jsx("span", { className: T.dot, "aria-hidden": !0 }),
700
- /* @__PURE__ */ t.jsx("span", { className: T.trustText, children: I })
88
+ /* @__PURE__ */ c("p", { className: v.trustLine, children: [
89
+ /* @__PURE__ */ e("span", { className: v.star, "aria-hidden": !0, children: "★" }),
90
+ /* @__PURE__ */ e("span", { className: v.ratingNum, children: b }),
91
+ /* @__PURE__ */ e("span", { className: v.dot, "aria-hidden": !0 }),
92
+ /* @__PURE__ */ e("span", { className: v.trustText, children: w })
701
93
  ] }),
702
- /* @__PURE__ */ t.jsx("ul", { className: T.cardList, children: h.map((C, $) => /* @__PURE__ */ t.jsxs("li", { className: T.card, children: [
703
- /* @__PURE__ */ t.jsx("p", { className: T.quote, children: C.quote }),
704
- /* @__PURE__ */ t.jsxs("div", { className: T.author, children: [
705
- C.authorAvatarUrl ? /* @__PURE__ */ t.jsx(
94
+ /* @__PURE__ */ e("ul", { className: v.cardList, children: m.map(($, R) => /* @__PURE__ */ c("li", { className: v.card, children: [
95
+ /* @__PURE__ */ e("p", { className: v.quote, children: $.quote }),
96
+ /* @__PURE__ */ c("div", { className: v.author, children: [
97
+ $.authorAvatarUrl ? /* @__PURE__ */ e(
706
98
  "img",
707
99
  {
708
- src: C.authorAvatarUrl,
100
+ src: $.authorAvatarUrl,
709
101
  alt: "",
710
- className: T.avatar,
102
+ className: v.avatar,
711
103
  width: 40,
712
104
  height: 40
713
105
  }
714
- ) : /* @__PURE__ */ t.jsx("div", { className: T.avatarPlaceholder, "aria-hidden": !0 }),
715
- /* @__PURE__ */ t.jsxs("div", { className: T.authorInfo, children: [
716
- /* @__PURE__ */ t.jsx("span", { className: T.authorName, children: C.authorName }),
717
- /* @__PURE__ */ t.jsx("span", { className: T.stars, "aria-hidden": !0, children: "★".repeat(C.rating ?? 5) })
106
+ ) : /* @__PURE__ */ e("div", { className: v.avatarPlaceholder, "aria-hidden": !0 }),
107
+ /* @__PURE__ */ c("div", { className: v.authorInfo, children: [
108
+ /* @__PURE__ */ e("span", { className: v.authorName, children: $.authorName }),
109
+ /* @__PURE__ */ e("span", { className: v.stars, "aria-hidden": !0, children: "★".repeat($.rating ?? 5) })
718
110
  ] })
719
111
  ] })
720
- ] }, $)) }),
721
- v && /* @__PURE__ */ t.jsx("div", { className: T.readMoreWrap, children: /* @__PURE__ */ t.jsxs(
112
+ ] }, R)) }),
113
+ f && /* @__PURE__ */ e("div", { className: v.readMoreWrap, children: /* @__PURE__ */ c(
722
114
  "button",
723
115
  {
724
116
  type: "button",
725
- className: T.toggleBtn,
726
- onClick: () => g((C) => !C),
727
- "aria-expanded": f,
117
+ className: v.toggleBtn,
118
+ onClick: () => h(($) => !$),
119
+ "aria-expanded": u,
728
120
  children: [
729
- f ? ve : ee,
730
- /* @__PURE__ */ t.jsx("span", { className: T.arrow, "aria-hidden": !0, children: "›" })
121
+ u ? k : O,
122
+ /* @__PURE__ */ e("span", { className: v.arrow, "aria-hidden": !0, children: "›" })
731
123
  ]
732
124
  }
733
125
  ) }),
734
- (c || l) && !v && /* @__PURE__ */ t.jsx("div", { className: T.readMoreWrap, children: c ? /* @__PURE__ */ t.jsxs(
126
+ (s || r) && !f && /* @__PURE__ */ e("div", { className: v.readMoreWrap, children: s ? /* @__PURE__ */ c(
735
127
  "a",
736
128
  {
737
- href: c,
738
- className: T.readMore,
129
+ href: s,
130
+ className: v.readMore,
739
131
  target: "_blank",
740
132
  rel: "noopener noreferrer",
741
133
  children: [
742
- ee,
743
- /* @__PURE__ */ t.jsx("span", { className: T.arrow, "aria-hidden": !0, children: "›" })
134
+ O,
135
+ /* @__PURE__ */ e("span", { className: v.arrow, "aria-hidden": !0, children: "›" })
744
136
  ]
745
137
  }
746
- ) : /* @__PURE__ */ t.jsxs(
138
+ ) : /* @__PURE__ */ c(
747
139
  "button",
748
140
  {
749
141
  type: "button",
750
- className: T.readMore,
751
- onClick: () => l?.(),
142
+ className: v.readMore,
143
+ onClick: () => r?.(),
752
144
  children: [
753
- ee,
754
- /* @__PURE__ */ t.jsx("span", { className: T.arrow, "aria-hidden": !0, children: "›" })
145
+ O,
146
+ /* @__PURE__ */ e("span", { className: v.arrow, "aria-hidden": !0, children: "›" })
755
147
  ]
756
148
  }
757
149
  ) })
@@ -759,77 +151,77 @@ function Lo({
759
151
  }
760
152
  );
761
153
  }
762
- const hn = "_section_4dc65_1", pn = "_heading_4dc65_5", mn = "_accordion_4dc65_9", gn = "_item_4dc65_13", bn = "_itemOpen_4dc65_17", vn = "_question_4dc65_22", xn = "_chevron_4dc65_30", yn = "_chevronOpen_4dc65_34", jn = "_answerWrap_4dc65_38", wn = "_answerOpen_4dc65_42", Nn = "_answer_4dc65_38", q = {
763
- section: hn,
764
- heading: pn,
765
- accordion: mn,
766
- item: gn,
767
- itemOpen: bn,
768
- question: vn,
769
- chevron: xn,
770
- chevronOpen: yn,
771
- answerWrap: jn,
772
- answerOpen: wn,
773
- answer: Nn
154
+ const vn = "_section_4dc65_1", wn = "_heading_4dc65_5", yn = "_accordion_4dc65_9", kn = "_item_4dc65_13", Sn = "_itemOpen_4dc65_17", In = "_question_4dc65_22", Tn = "_chevron_4dc65_30", $n = "_chevronOpen_4dc65_34", Cn = "_answerWrap_4dc65_38", Ln = "_answerOpen_4dc65_42", xn = "_answer_4dc65_38", B = {
155
+ section: vn,
156
+ heading: wn,
157
+ accordion: yn,
158
+ item: kn,
159
+ itemOpen: Sn,
160
+ question: In,
161
+ chevron: Tn,
162
+ chevronOpen: $n,
163
+ answerWrap: Cn,
164
+ answerOpen: Ln,
165
+ answer: xn
774
166
  };
775
- function Mo({
776
- t: a,
777
- items: r,
778
- resolveAnswerKey: s,
779
- defaultOpenIndex: c = 0,
780
- onItemOpen: l,
781
- className: u = "",
782
- headingClassName: _
167
+ function Ks({
168
+ t: n,
169
+ items: t,
170
+ resolveAnswerKey: a,
171
+ defaultOpenIndex: s = 0,
172
+ onItemOpen: r,
173
+ className: i = "",
174
+ headingClassName: d
783
175
  }) {
784
- const d = V(
785
- () => r.map(({ qKey: h, aKey: j }) => ({
786
- question: a(h),
787
- answer: a(s ? s(j) : j)
176
+ const l = E(
177
+ () => t.map(({ qKey: m, aKey: g }) => ({
178
+ question: n(m),
179
+ answer: n(a ? a(g) : g)
788
180
  })),
789
- [a, r, s]
790
- ), [f, g] = Y(c), v = a("faqTitle");
791
- return /* @__PURE__ */ t.jsxs(
181
+ [n, t, a]
182
+ ), [u, h] = T(s), f = n("faqTitle");
183
+ return /* @__PURE__ */ c(
792
184
  "section",
793
185
  {
794
- className: `${q.section} ${u}`,
186
+ className: `${B.section} ${i}`,
795
187
  "aria-labelledby": "faq-heading",
796
188
  children: [
797
- /* @__PURE__ */ t.jsx(
189
+ /* @__PURE__ */ e(
798
190
  "h2",
799
191
  {
800
192
  id: "faq-heading",
801
- className: [q.heading, _].filter(Boolean).join(" "),
802
- children: v
193
+ className: [B.heading, d].filter(Boolean).join(" "),
194
+ children: f
803
195
  }
804
196
  ),
805
- /* @__PURE__ */ t.jsx("div", { className: q.accordion, role: "list", children: d.map((h, j) => {
806
- const S = f === j;
807
- return /* @__PURE__ */ t.jsxs(
197
+ /* @__PURE__ */ e("div", { className: B.accordion, role: "list", children: l.map((m, g) => {
198
+ const b = u === g;
199
+ return /* @__PURE__ */ c(
808
200
  "div",
809
201
  {
810
- className: `${q.item} ${S ? q.itemOpen : ""}`,
202
+ className: `${B.item} ${b ? B.itemOpen : ""}`,
811
203
  role: "listitem",
812
204
  children: [
813
- /* @__PURE__ */ t.jsxs(
205
+ /* @__PURE__ */ c(
814
206
  "button",
815
207
  {
816
208
  type: "button",
817
- className: q.question,
209
+ className: B.question,
818
210
  onClick: () => {
819
- const I = !S;
820
- g(S ? -1 : j), I && l?.(h.question);
211
+ const w = !b;
212
+ h(b ? -1 : g), w && r?.(m.question);
821
213
  },
822
- "aria-expanded": S,
823
- "aria-controls": `faq-answer-${j}`,
824
- id: `faq-question-${j}`,
214
+ "aria-expanded": b,
215
+ "aria-controls": `faq-answer-${g}`,
216
+ id: `faq-question-${g}`,
825
217
  children: [
826
- /* @__PURE__ */ t.jsx("span", { children: h.question }),
827
- /* @__PURE__ */ t.jsx(
218
+ /* @__PURE__ */ e("span", { children: m.question }),
219
+ /* @__PURE__ */ e(
828
220
  "span",
829
221
  {
830
- className: `${q.chevron} ${S ? q.chevronOpen : ""}`,
222
+ className: `${B.chevron} ${b ? B.chevronOpen : ""}`,
831
223
  "aria-hidden": !0,
832
- children: /* @__PURE__ */ t.jsx(
224
+ children: /* @__PURE__ */ e(
833
225
  "svg",
834
226
  {
835
227
  width: "16",
@@ -838,7 +230,7 @@ function Mo({
838
230
  fill: "none",
839
231
  "aria-hidden": !0,
840
232
  focusable: "false",
841
- children: /* @__PURE__ */ t.jsx(
233
+ children: /* @__PURE__ */ e(
842
234
  "path",
843
235
  {
844
236
  d: "M5.8 8.3a1 1 0 0 1 1.4 0L10 11.09l2.8-2.8a1 1 0 1 1 1.4 1.42l-3.5 3.5a1 1 0 0 1-1.4 0l-3.5-3.5A1 1 0 0 1 5.8 8.3z",
@@ -852,112 +244,112 @@ function Mo({
852
244
  ]
853
245
  }
854
246
  ),
855
- /* @__PURE__ */ t.jsx(
247
+ /* @__PURE__ */ e(
856
248
  "div",
857
249
  {
858
- id: `faq-answer-${j}`,
250
+ id: `faq-answer-${g}`,
859
251
  role: "region",
860
- "aria-labelledby": `faq-question-${j}`,
861
- className: `${q.answerWrap} ${S ? q.answerOpen : ""}`,
862
- hidden: !S,
863
- children: /* @__PURE__ */ t.jsx("p", { className: q.answer, children: h.answer })
252
+ "aria-labelledby": `faq-question-${g}`,
253
+ className: `${B.answerWrap} ${b ? B.answerOpen : ""}`,
254
+ hidden: !b,
255
+ children: /* @__PURE__ */ e("p", { className: B.answer, children: m.answer })
864
256
  }
865
257
  )
866
258
  ]
867
259
  },
868
- j
260
+ g
869
261
  );
870
262
  }) })
871
263
  ]
872
264
  }
873
265
  );
874
266
  }
875
- const Tn = "_header_dbx4y_1", Sn = "_brand_dbx4y_7", kn = "_logo_dbx4y_11", Rn = "_logoImg_dbx4y_15", $n = "_logoPlaceholder_dbx4y_21", In = "_brandText_dbx4y_29", En = "_brandName_dbx4y_33", Cn = "_rating_dbx4y_38", Dn = "_langSlot_dbx4y_49", G = {
876
- header: Tn,
877
- brand: Sn,
878
- logo: kn,
267
+ const Dn = "_header_dbx4y_1", Bn = "_brand_dbx4y_7", Mn = "_logo_dbx4y_11", Rn = "_logoImg_dbx4y_15", Pn = "_logoPlaceholder_dbx4y_21", An = "_brandText_dbx4y_29", En = "_brandName_dbx4y_33", On = "_rating_dbx4y_38", Fn = "_langSlot_dbx4y_49", A = {
268
+ header: Dn,
269
+ brand: Bn,
270
+ logo: Mn,
879
271
  logoImg: Rn,
880
- logoPlaceholder: $n,
881
- brandText: In,
272
+ logoPlaceholder: Pn,
273
+ brandText: An,
882
274
  brandName: En,
883
- rating: Cn,
884
- langSlot: Dn
885
- }, bt = 120, vt = 40;
886
- function Bo({
887
- t: a,
888
- logoUrl: r,
889
- imageComponent: s,
890
- languageSelector: c,
891
- showLanguageSelector: l = !0,
892
- className: u = ""
275
+ rating: On,
276
+ langSlot: Fn
277
+ }, Ee = 120, Oe = 40;
278
+ function Us({
279
+ t: n,
280
+ logoUrl: t,
281
+ imageComponent: a,
282
+ languageSelector: s,
283
+ showLanguageSelector: r = !0,
284
+ className: i = ""
893
285
  }) {
894
- const _ = l && c != null, d = a("sriMandir"), f = a("ratingText");
895
- return /* @__PURE__ */ t.jsxs("header", { className: `${G.header} ${u}`, children: [
896
- /* @__PURE__ */ t.jsxs("div", { className: G.brand, children: [
897
- /* @__PURE__ */ t.jsx("div", { className: G.logo, children: r ? s ? /* @__PURE__ */ t.jsx(
898
- s,
286
+ const d = r && s != null, l = n("sriMandir"), u = n("ratingText");
287
+ return /* @__PURE__ */ c("header", { className: `${A.header} ${i}`, children: [
288
+ /* @__PURE__ */ c("div", { className: A.brand, children: [
289
+ /* @__PURE__ */ e("div", { className: A.logo, children: t ? a ? /* @__PURE__ */ e(
290
+ a,
899
291
  {
900
- src: r,
901
- alt: d,
902
- className: G.logoImg,
903
- width: bt,
904
- height: vt
292
+ src: t,
293
+ alt: l,
294
+ className: A.logoImg,
295
+ width: Ee,
296
+ height: Oe
905
297
  }
906
- ) : /* @__PURE__ */ t.jsx(
298
+ ) : /* @__PURE__ */ e(
907
299
  "img",
908
300
  {
909
- src: r,
910
- alt: d,
911
- className: G.logoImg,
912
- width: bt,
913
- height: vt,
301
+ src: t,
302
+ alt: l,
303
+ className: A.logoImg,
304
+ width: Ee,
305
+ height: Oe,
914
306
  decoding: "async"
915
307
  }
916
- ) : /* @__PURE__ */ t.jsx("div", { className: G.logoPlaceholder, "aria-hidden": !0 }) }),
917
- /* @__PURE__ */ t.jsxs("div", { className: G.brandText, children: [
918
- /* @__PURE__ */ t.jsx("span", { className: G.brandName, children: d }),
919
- f != null && f !== "" && /* @__PURE__ */ t.jsx("span", { className: G.rating, children: f })
308
+ ) : /* @__PURE__ */ e("div", { className: A.logoPlaceholder, "aria-hidden": !0 }) }),
309
+ /* @__PURE__ */ c("div", { className: A.brandText, children: [
310
+ /* @__PURE__ */ e("span", { className: A.brandName, children: l }),
311
+ u != null && u !== "" && /* @__PURE__ */ e("span", { className: A.rating, children: u })
920
312
  ] })
921
313
  ] }),
922
- _ && /* @__PURE__ */ t.jsx("div", { className: G.langSlot, children: c })
314
+ d && /* @__PURE__ */ e("div", { className: A.langSlot, children: s })
923
315
  ] });
924
316
  }
925
- const On = "_wrap_1vbpd_1", Pn = "_card_1vbpd_5", Ln = "_cardInner_1vbpd_10", Qe = {
926
- wrap: On,
927
- card: Pn,
928
- cardInner: Ln
317
+ const qn = "_wrap_1vbpd_1", Wn = "_card_1vbpd_5", jn = "_cardInner_1vbpd_10", ve = {
318
+ wrap: qn,
319
+ card: Wn,
320
+ cardInner: jn
929
321
  };
930
- function Ao({
931
- children: a,
932
- className: r = "",
933
- "aria-label": s
322
+ function Gs({
323
+ children: n,
324
+ className: t = "",
325
+ "aria-label": a
934
326
  }) {
935
- return /* @__PURE__ */ t.jsx(
327
+ return /* @__PURE__ */ e(
936
328
  "section",
937
329
  {
938
- className: `${Qe.wrap} ${r}`,
939
- "aria-label": s,
940
- children: /* @__PURE__ */ t.jsx("div", { className: Qe.card, children: /* @__PURE__ */ t.jsx("div", { className: Qe.cardInner, children: a }) })
330
+ className: `${ve.wrap} ${t}`,
331
+ "aria-label": a,
332
+ children: /* @__PURE__ */ e("div", { className: ve.card, children: /* @__PURE__ */ e("div", { className: ve.cardInner, children: n }) })
941
333
  }
942
334
  );
943
335
  }
944
- const Mn = "_header_a05ni_1", Bn = "_left_a05ni_7", An = "_backBtn_a05ni_11", Fn = "_titleWrap_a05ni_21", qn = "_title_a05ni_21", Wn = "_subtitle_a05ni_31", Yn = "_backIcon_a05ni_37", le = {
945
- header: Mn,
946
- left: Bn,
947
- backBtn: An,
948
- titleWrap: Fn,
949
- title: qn,
950
- subtitle: Wn,
951
- backIcon: Yn
952
- }, Un = () => /* @__PURE__ */ t.jsx(
336
+ const Hn = "_header_a05ni_1", zn = "_left_a05ni_7", Kn = "_backBtn_a05ni_11", Un = "_titleWrap_a05ni_21", Gn = "_title_a05ni_21", Yn = "_subtitle_a05ni_31", Jn = "_backIcon_a05ni_37", U = {
337
+ header: Hn,
338
+ left: zn,
339
+ backBtn: Kn,
340
+ titleWrap: Un,
341
+ title: Gn,
342
+ subtitle: Yn,
343
+ backIcon: Jn
344
+ }, Zn = () => /* @__PURE__ */ e(
953
345
  "svg",
954
346
  {
955
- className: le.backIcon,
347
+ className: U.backIcon,
956
348
  viewBox: "0 0 24 24",
957
349
  fill: "none",
958
350
  xmlns: "http://www.w3.org/2000/svg",
959
351
  "aria-hidden": !0,
960
- children: /* @__PURE__ */ t.jsx(
352
+ children: /* @__PURE__ */ e(
961
353
  "path",
962
354
  {
963
355
  d: "M15 18l-6-6 6-6",
@@ -969,167 +361,167 @@ const Mn = "_header_a05ni_1", Bn = "_left_a05ni_7", An = "_backBtn_a05ni_11", Fn
969
361
  )
970
362
  }
971
363
  );
972
- function Fo({
973
- title: a,
974
- subtitle: r,
975
- onBack: s,
976
- backAriaLabel: c = "Back",
977
- className: l = ""
364
+ function Ys({
365
+ title: n,
366
+ subtitle: t,
367
+ onBack: a,
368
+ backAriaLabel: s = "Back",
369
+ className: r = ""
978
370
  }) {
979
- return /* @__PURE__ */ t.jsx("header", { className: `${le.header} ${l}`, children: /* @__PURE__ */ t.jsxs("div", { className: le.left, children: [
980
- s != null && /* @__PURE__ */ t.jsx(
371
+ return /* @__PURE__ */ e("header", { className: `${U.header} ${r}`, children: /* @__PURE__ */ c("div", { className: U.left, children: [
372
+ a != null && /* @__PURE__ */ e(
981
373
  "button",
982
374
  {
983
375
  type: "button",
984
- className: le.backBtn,
985
- onClick: s,
986
- "aria-label": c,
987
- children: /* @__PURE__ */ t.jsx(Un, {})
376
+ className: U.backBtn,
377
+ onClick: a,
378
+ "aria-label": s,
379
+ children: /* @__PURE__ */ e(Zn, {})
988
380
  }
989
381
  ),
990
- /* @__PURE__ */ t.jsxs("div", { className: le.titleWrap, children: [
991
- /* @__PURE__ */ t.jsx("h1", { className: le.title, children: a }),
992
- r != null && r !== "" && /* @__PURE__ */ t.jsx("p", { className: le.subtitle, children: r })
382
+ /* @__PURE__ */ c("div", { className: U.titleWrap, children: [
383
+ /* @__PURE__ */ e("h1", { className: U.title, children: n }),
384
+ t != null && t !== "" && /* @__PURE__ */ e("p", { className: U.subtitle, children: t })
993
385
  ] })
994
386
  ] }) });
995
387
  }
996
- const zn = "_banner_1jco0_1", Hn = "_icon_1jco0_12", Kn = "_text_1jco0_16", Ze = {
997
- banner: zn,
998
- icon: Hn,
999
- text: Kn
1000
- }, Gn = "https://srm-cdn.a4b.io/yoda/1770707793537.svg";
1001
- function qo({
1002
- text: a,
1003
- iconUrl: r = Gn,
1004
- className: s = ""
388
+ const Xn = "_banner_1jco0_1", Qn = "_icon_1jco0_12", Vn = "_text_1jco0_16", we = {
389
+ banner: Xn,
390
+ icon: Qn,
391
+ text: Vn
392
+ }, et = "https://srm-cdn.a4b.io/yoda/1770707793537.svg";
393
+ function Js({
394
+ text: n,
395
+ iconUrl: t = et,
396
+ className: a = ""
1005
397
  }) {
1006
- return /* @__PURE__ */ t.jsx("div", { className: `${Ze.banner} ${s}`, role: "status", children: /* @__PURE__ */ t.jsxs("span", { className: Ze.text, children: [
398
+ return /* @__PURE__ */ e("div", { className: `${we.banner} ${a}`, role: "status", children: /* @__PURE__ */ c("span", { className: we.text, children: [
1007
399
  " ",
1008
- /* @__PURE__ */ t.jsx(
400
+ /* @__PURE__ */ e(
1009
401
  "img",
1010
402
  {
1011
- src: r,
403
+ src: t,
1012
404
  alt: "",
1013
- className: Ze.icon,
405
+ className: we.icon,
1014
406
  width: 18,
1015
407
  height: 18,
1016
408
  "aria-hidden": !0
1017
409
  }
1018
410
  ),
1019
411
  " ",
1020
- a
412
+ n
1021
413
  ] }) });
1022
414
  }
1023
- const Vn = "_field_eqt7q_1", Jn = "_labelRow_eqt7q_5", Xn = "_label_eqt7q_5", Qn = "_req_eqt7q_14", Zn = "_help_eqt7q_18", ea = "_infoBtn_eqt7q_22", ta = "_infoImg_eqt7q_30", na = "_infoWrap_eqt7q_34", aa = "_tooltip_eqt7q_38", ra = "_tooltipArrow_eqt7q_45", oa = "_inputWrap_eqt7q_50", W = {
1024
- field: Vn,
1025
- labelRow: Jn,
1026
- label: Xn,
1027
- req: Qn,
1028
- help: Zn,
1029
- infoBtn: ea,
1030
- infoImg: ta,
1031
- infoWrap: na,
1032
- tooltip: aa,
1033
- tooltipArrow: ra,
1034
- inputWrap: oa
1035
- }, sa = "https://srm-cdn.a4b.io/yoda/1770372066357.svg";
1036
- function Wo({
1037
- label: a,
1038
- id: r,
1039
- required: s = !1,
1040
- help: c,
1041
- infoTooltip: l,
1042
- infoAriaLabel: u = "Info",
1043
- infoIconUrl: _ = sa,
1044
- children: d,
1045
- className: f = ""
415
+ const nt = "_field_eqt7q_1", tt = "_labelRow_eqt7q_5", at = "_label_eqt7q_5", ot = "_req_eqt7q_14", st = "_help_eqt7q_18", rt = "_infoBtn_eqt7q_22", ct = "_infoImg_eqt7q_30", it = "_infoWrap_eqt7q_34", lt = "_tooltip_eqt7q_38", dt = "_tooltipArrow_eqt7q_45", _t = "_inputWrap_eqt7q_50", M = {
416
+ field: nt,
417
+ labelRow: tt,
418
+ label: at,
419
+ req: ot,
420
+ help: st,
421
+ infoBtn: rt,
422
+ infoImg: ct,
423
+ infoWrap: it,
424
+ tooltip: lt,
425
+ tooltipArrow: dt,
426
+ inputWrap: _t
427
+ }, mt = "https://srm-cdn.a4b.io/yoda/1770372066357.svg";
428
+ function Zs({
429
+ label: n,
430
+ id: t,
431
+ required: a = !1,
432
+ help: s,
433
+ infoTooltip: r,
434
+ infoAriaLabel: i = "Info",
435
+ infoIconUrl: d = mt,
436
+ children: l,
437
+ className: u = ""
1046
438
  }) {
1047
- const [g, v] = Y(!1);
1048
- return Ye(() => {
1049
- if (!l) return;
1050
- const h = (S) => {
1051
- S.target?.closest?.("[data-info-tooltip]") == null && v(!1);
1052
- }, j = (S) => {
1053
- S.key === "Escape" && v(!1);
439
+ const [h, f] = T(!1);
440
+ return se(() => {
441
+ if (!r) return;
442
+ const m = (b) => {
443
+ b.target?.closest?.("[data-info-tooltip]") == null && f(!1);
444
+ }, g = (b) => {
445
+ b.key === "Escape" && f(!1);
1054
446
  };
1055
- return document.addEventListener("mousedown", h), document.addEventListener("keydown", j), () => {
1056
- document.removeEventListener("mousedown", h), document.removeEventListener("keydown", j);
447
+ return document.addEventListener("mousedown", m), document.addEventListener("keydown", g), () => {
448
+ document.removeEventListener("mousedown", m), document.removeEventListener("keydown", g);
1057
449
  };
1058
- }, [l]), /* @__PURE__ */ t.jsxs("div", { className: `${W.field} ${f}`, children: [
1059
- /* @__PURE__ */ t.jsxs("div", { className: W.labelRow, children: [
1060
- /* @__PURE__ */ t.jsxs("label", { className: W.label, htmlFor: r, children: [
1061
- a,
1062
- s && /* @__PURE__ */ t.jsx("span", { className: W.req, children: "*" })
450
+ }, [r]), /* @__PURE__ */ c("div", { className: `${M.field} ${u}`, children: [
451
+ /* @__PURE__ */ c("div", { className: M.labelRow, children: [
452
+ /* @__PURE__ */ c("label", { className: M.label, htmlFor: t, children: [
453
+ n,
454
+ a && /* @__PURE__ */ e("span", { className: M.req, children: "*" })
1063
455
  ] }),
1064
- l != null && l !== "" && /* @__PURE__ */ t.jsxs("div", { className: W.infoWrap, "data-info-tooltip": !0, children: [
1065
- /* @__PURE__ */ t.jsx(
456
+ r != null && r !== "" && /* @__PURE__ */ c("div", { className: M.infoWrap, "data-info-tooltip": !0, children: [
457
+ /* @__PURE__ */ e(
1066
458
  "button",
1067
459
  {
1068
460
  type: "button",
1069
- className: W.infoBtn,
1070
- "aria-label": u,
1071
- "aria-expanded": g,
1072
- onClick: () => v((h) => !h),
1073
- children: /* @__PURE__ */ t.jsx(
461
+ className: M.infoBtn,
462
+ "aria-label": i,
463
+ "aria-expanded": h,
464
+ onClick: () => f((m) => !m),
465
+ children: /* @__PURE__ */ e(
1074
466
  "img",
1075
467
  {
1076
- className: W.infoImg,
1077
- src: _,
468
+ className: M.infoImg,
469
+ src: d,
1078
470
  alt: "",
1079
471
  "aria-hidden": !0
1080
472
  }
1081
473
  )
1082
474
  }
1083
475
  ),
1084
- g && /* @__PURE__ */ t.jsxs("div", { className: W.tooltip, role: "tooltip", children: [
1085
- l,
1086
- /* @__PURE__ */ t.jsx("span", { className: W.tooltipArrow, "aria-hidden": !0 })
476
+ h && /* @__PURE__ */ c("div", { className: M.tooltip, role: "tooltip", children: [
477
+ r,
478
+ /* @__PURE__ */ e("span", { className: M.tooltipArrow, "aria-hidden": !0 })
1087
479
  ] })
1088
480
  ] })
1089
481
  ] }),
1090
- c != null && c !== "" && /* @__PURE__ */ t.jsx("div", { className: W.help, children: c }),
1091
- /* @__PURE__ */ t.jsx("div", { className: W.inputWrap, children: d })
482
+ s != null && s !== "" && /* @__PURE__ */ e("div", { className: M.help, children: s }),
483
+ /* @__PURE__ */ e("div", { className: M.inputWrap, children: l })
1092
484
  ] });
1093
485
  }
1094
- const ia = "_wrap_1uy4o_1", ca = "_input_1uy4o_5", la = "_iconBtn_1uy4o_21", da = "_iconBtnInteractive_1uy4o_25", ua = "_iconImg_1uy4o_39", pe = {
1095
- wrap: ia,
1096
- input: ca,
1097
- iconBtn: la,
1098
- iconBtnInteractive: da,
1099
- iconImg: ua
486
+ const ht = "_wrap_1uy4o_1", ut = "_input_1uy4o_5", pt = "_iconBtn_1uy4o_21", gt = "_iconBtnInteractive_1uy4o_25", bt = "_iconImg_1uy4o_39", X = {
487
+ wrap: ht,
488
+ input: ut,
489
+ iconBtn: pt,
490
+ iconBtnInteractive: gt,
491
+ iconImg: bt
1100
492
  };
1101
- function Yo({
1102
- id: a,
1103
- iconUrl: r,
1104
- iconAlt: s = "",
1105
- iconInteractive: c = !1,
1106
- onIconClick: l,
1107
- className: u = "",
1108
- ..._
493
+ function Xs({
494
+ id: n,
495
+ iconUrl: t,
496
+ iconAlt: a = "",
497
+ iconInteractive: s = !1,
498
+ onIconClick: r,
499
+ className: i = "",
500
+ ...d
1109
501
  }) {
1110
- return /* @__PURE__ */ t.jsxs("div", { className: `${pe.wrap} ${u}`, children: [
1111
- /* @__PURE__ */ t.jsx(
502
+ return /* @__PURE__ */ c("div", { className: `${X.wrap} ${i}`, children: [
503
+ /* @__PURE__ */ e(
1112
504
  "input",
1113
505
  {
1114
- ..._,
1115
- id: a,
1116
- className: pe.input,
1117
- type: _.type ?? "text"
506
+ ...d,
507
+ id: n,
508
+ className: X.input,
509
+ type: d.type ?? "text"
1118
510
  }
1119
511
  ),
1120
- r != null && /* @__PURE__ */ t.jsx(
512
+ t != null && /* @__PURE__ */ e(
1121
513
  "button",
1122
514
  {
1123
515
  type: "button",
1124
- className: c ? `${pe.iconBtn} ${pe.iconBtnInteractive}` : pe.iconBtn,
1125
- "aria-label": s || void 0,
1126
- onClick: c ? l : void 0,
1127
- tabIndex: c ? 0 : -1,
1128
- children: /* @__PURE__ */ t.jsx(
516
+ className: s ? `${X.iconBtn} ${X.iconBtnInteractive}` : X.iconBtn,
517
+ "aria-label": a || void 0,
518
+ onClick: s ? r : void 0,
519
+ tabIndex: s ? 0 : -1,
520
+ children: /* @__PURE__ */ e(
1129
521
  "img",
1130
522
  {
1131
- className: pe.iconImg,
1132
- src: r,
523
+ className: X.iconImg,
524
+ src: t,
1133
525
  alt: "",
1134
526
  "aria-hidden": !0,
1135
527
  width: 22,
@@ -1140,60 +532,60 @@ function Yo({
1140
532
  )
1141
533
  ] });
1142
534
  }
1143
- const _a = "_wrap_t646o_1", fa = "_input_t646o_5", ha = "_iconBtn_t646o_28", pa = "_iconImg_t646o_42", Fe = {
1144
- wrap: _a,
1145
- input: fa,
1146
- iconBtn: ha,
1147
- iconImg: pa
1148
- }, ma = "https://srm-cdn.a4b.io/yoda/1770372045894.svg";
1149
- function Uo({
1150
- id: a,
1151
- value: r,
1152
- onChange: s,
1153
- onIconClick: c,
1154
- className: l = "",
1155
- ...u
535
+ const ft = "_wrap_t646o_1", Nt = "_input_t646o_5", vt = "_iconBtn_t646o_28", wt = "_iconImg_t646o_42", de = {
536
+ wrap: ft,
537
+ input: Nt,
538
+ iconBtn: vt,
539
+ iconImg: wt
540
+ }, yt = "https://srm-cdn.a4b.io/yoda/1770372045894.svg";
541
+ function Qs({
542
+ id: n,
543
+ value: t,
544
+ onChange: a,
545
+ onIconClick: s,
546
+ className: r = "",
547
+ ...i
1156
548
  }) {
1157
- const _ = ge(null), d = V(() => {
1158
- const g = /* @__PURE__ */ new Date(), v = (h) => String(h).padStart(2, "0");
1159
- return `${g.getFullYear()}-${v(g.getMonth() + 1)}-${v(g.getDate())}`;
1160
- }, []), f = () => {
1161
- if (c) {
1162
- c();
549
+ const d = G(null), l = E(() => {
550
+ const h = /* @__PURE__ */ new Date(), f = (m) => String(m).padStart(2, "0");
551
+ return `${h.getFullYear()}-${f(h.getMonth() + 1)}-${f(h.getDate())}`;
552
+ }, []), u = () => {
553
+ if (s) {
554
+ s();
1163
555
  return;
1164
556
  }
1165
- const g = _.current;
1166
- g && typeof g.showPicker == "function" ? g.showPicker() : g?.focus();
557
+ const h = d.current;
558
+ h && typeof h.showPicker == "function" ? h.showPicker() : h?.focus();
1167
559
  };
1168
- return /* @__PURE__ */ t.jsxs("div", { className: `${Fe.wrap} ${l}`, children: [
1169
- /* @__PURE__ */ t.jsx(
560
+ return /* @__PURE__ */ c("div", { className: `${de.wrap} ${r}`, children: [
561
+ /* @__PURE__ */ e(
1170
562
  "input",
1171
563
  {
1172
- ...u,
1173
- ref: _,
1174
- id: a,
564
+ ...i,
565
+ ref: d,
566
+ id: n,
1175
567
  type: "date",
1176
- className: Fe.input,
1177
- value: r,
1178
- max: d,
1179
- onChange: (g) => s(g.target.value)
568
+ className: de.input,
569
+ value: t,
570
+ max: l,
571
+ onChange: (h) => a(h.target.value)
1180
572
  }
1181
573
  ),
1182
- /* @__PURE__ */ t.jsx(
574
+ /* @__PURE__ */ e(
1183
575
  "button",
1184
576
  {
1185
577
  type: "button",
1186
- className: `${Fe.iconBtn}`,
578
+ className: `${de.iconBtn}`,
1187
579
  "aria-label": "Open date picker",
1188
- onMouseDown: (g) => g.preventDefault(),
1189
- onClick: (g) => {
1190
- g.preventDefault(), f();
580
+ onMouseDown: (h) => h.preventDefault(),
581
+ onClick: (h) => {
582
+ h.preventDefault(), u();
1191
583
  },
1192
- children: /* @__PURE__ */ t.jsx(
584
+ children: /* @__PURE__ */ e(
1193
585
  "img",
1194
586
  {
1195
- className: Fe.iconImg,
1196
- src: ma,
587
+ className: de.iconImg,
588
+ src: yt,
1197
589
  alt: "",
1198
590
  "aria-hidden": !0,
1199
591
  width: 22,
@@ -1204,50 +596,50 @@ function Uo({
1204
596
  )
1205
597
  ] });
1206
598
  }
1207
- const ga = "_wrap_1jdg7_1", ba = "_input_1jdg7_5", va = "_iconBtn_1jdg7_34", xa = "_iconImg_1jdg7_48", qe = {
1208
- wrap: ga,
1209
- input: ba,
1210
- iconBtn: va,
1211
- iconImg: xa
1212
- }, ya = "https://srm-cdn.a4b.io/yoda/1770372014782.svg";
1213
- function zo({
1214
- id: a,
1215
- value: r,
1216
- onChange: s,
1217
- placeholder: c = "HH:MM AM",
1218
- disabled: l = !1,
1219
- onIconClick: u,
1220
- className: _ = ""
599
+ const kt = "_wrap_1jdg7_1", St = "_input_1jdg7_5", It = "_iconBtn_1jdg7_34", Tt = "_iconImg_1jdg7_48", _e = {
600
+ wrap: kt,
601
+ input: St,
602
+ iconBtn: It,
603
+ iconImg: Tt
604
+ }, $t = "https://srm-cdn.a4b.io/yoda/1770372014782.svg";
605
+ function Vs({
606
+ id: n,
607
+ value: t,
608
+ onChange: a,
609
+ placeholder: s = "HH:MM AM",
610
+ disabled: r = !1,
611
+ onIconClick: i,
612
+ className: d = ""
1221
613
  }) {
1222
- return /* @__PURE__ */ t.jsxs("div", { className: `${qe.wrap} ${_}`, children: [
1223
- /* @__PURE__ */ t.jsx(
614
+ return /* @__PURE__ */ c("div", { className: `${_e.wrap} ${d}`, children: [
615
+ /* @__PURE__ */ e(
1224
616
  "input",
1225
617
  {
1226
- id: a,
618
+ id: n,
1227
619
  type: "time",
1228
- className: qe.input,
1229
- value: r,
1230
- onChange: (d) => s(d.target.value),
1231
- placeholder: c,
1232
- disabled: l,
1233
- onClick: () => !l && u?.()
620
+ className: _e.input,
621
+ value: t,
622
+ onChange: (l) => a(l.target.value),
623
+ placeholder: s,
624
+ disabled: r,
625
+ onClick: () => !r && i?.()
1234
626
  }
1235
627
  ),
1236
- /* @__PURE__ */ t.jsx(
628
+ /* @__PURE__ */ e(
1237
629
  "button",
1238
630
  {
1239
631
  type: "button",
1240
- className: qe.iconBtn,
632
+ className: _e.iconBtn,
1241
633
  "aria-label": "Open time picker",
1242
- disabled: l,
1243
- onClick: (d) => {
1244
- d.preventDefault(), l || u?.();
634
+ disabled: r,
635
+ onClick: (l) => {
636
+ l.preventDefault(), r || i?.();
1245
637
  },
1246
- children: /* @__PURE__ */ t.jsx(
638
+ children: /* @__PURE__ */ e(
1247
639
  "img",
1248
640
  {
1249
- className: qe.iconImg,
1250
- src: ya,
641
+ className: _e.iconImg,
642
+ src: $t,
1251
643
  alt: "",
1252
644
  "aria-hidden": !0,
1253
645
  width: 22,
@@ -1258,25 +650,25 @@ function zo({
1258
650
  )
1259
651
  ] });
1260
652
  }
1261
- const ja = "_wrap_1bb6o_1", wa = "_input_1bb6o_5", Na = "_iconBtn_1bb6o_21", Ta = "_iconImg_1bb6o_25", We = {
1262
- wrap: ja,
1263
- input: wa,
1264
- iconBtn: Na,
1265
- iconImg: Ta
1266
- }, Sa = "https://srm-cdn.a4b.io/yoda/1770372031092.svg";
1267
- function Ho({
1268
- id: a,
1269
- iconUrl: r = Sa,
1270
- className: s = "",
1271
- ...c
653
+ const Ct = "_wrap_1bb6o_1", Lt = "_input_1bb6o_5", xt = "_iconBtn_1bb6o_21", Dt = "_iconImg_1bb6o_25", me = {
654
+ wrap: Ct,
655
+ input: Lt,
656
+ iconBtn: xt,
657
+ iconImg: Dt
658
+ }, Bt = "https://srm-cdn.a4b.io/yoda/1770372031092.svg";
659
+ function er({
660
+ id: n,
661
+ iconUrl: t = Bt,
662
+ className: a = "",
663
+ ...s
1272
664
  }) {
1273
- return /* @__PURE__ */ t.jsxs("div", { className: `${We.wrap} ${s}`, children: [
1274
- /* @__PURE__ */ t.jsx("input", { ...c, id: a, className: We.input, type: "text" }),
1275
- /* @__PURE__ */ t.jsx("div", { className: We.iconBtn, "aria-hidden": !0, children: /* @__PURE__ */ t.jsx(
665
+ return /* @__PURE__ */ c("div", { className: `${me.wrap} ${a}`, children: [
666
+ /* @__PURE__ */ e("input", { ...s, id: n, className: me.input, type: "text" }),
667
+ /* @__PURE__ */ e("div", { className: me.iconBtn, "aria-hidden": !0, children: /* @__PURE__ */ e(
1276
668
  "img",
1277
669
  {
1278
- className: We.iconImg,
1279
- src: r,
670
+ className: me.iconImg,
671
+ src: t,
1280
672
  alt: "",
1281
673
  width: 22,
1282
674
  height: 22
@@ -1284,228 +676,228 @@ function Ho({
1284
676
  ) })
1285
677
  ] });
1286
678
  }
1287
- const ka = "_segmented_3sa9v_1", Ra = "_segmentedOption_3sa9v_6", $a = "_active_3sa9v_15", et = {
1288
- segmented: ka,
1289
- segmentedOption: Ra,
1290
- active: $a
679
+ const Mt = "_segmented_3sa9v_1", Rt = "_segmentedOption_3sa9v_6", Pt = "_active_3sa9v_15", ye = {
680
+ segmented: Mt,
681
+ segmentedOption: Rt,
682
+ active: Pt
1291
683
  };
1292
- function Ko({
1293
- id: a,
1294
- options: r,
1295
- value: s,
1296
- onChange: c,
1297
- className: l = ""
684
+ function nr({
685
+ id: n,
686
+ options: t,
687
+ value: a,
688
+ onChange: s,
689
+ className: r = ""
1298
690
  }) {
1299
- return /* @__PURE__ */ t.jsx(
691
+ return /* @__PURE__ */ e(
1300
692
  "div",
1301
693
  {
1302
- className: `${et.segmented} ${l}`,
694
+ className: `${ye.segmented} ${r}`,
1303
695
  role: "group",
1304
- "aria-labelledby": `${a}-label`,
1305
- children: r.map((u) => /* @__PURE__ */ t.jsx(
696
+ "aria-labelledby": `${n}-label`,
697
+ children: t.map((i) => /* @__PURE__ */ e(
1306
698
  "button",
1307
699
  {
1308
700
  type: "button",
1309
- id: u.value === s ? a : void 0,
1310
- className: `${et.segmentedOption} ${u.value === s ? et.active : ""}`,
1311
- onClick: () => c(u.value),
1312
- children: u.label
701
+ id: i.value === a ? n : void 0,
702
+ className: `${ye.segmentedOption} ${i.value === a ? ye.active : ""}`,
703
+ onClick: () => s(i.value),
704
+ children: i.label
1313
705
  },
1314
- u.value
706
+ i.value
1315
707
  ))
1316
708
  }
1317
709
  );
1318
710
  }
1319
- const Ia = "_pillsWrap_z1kui_1", Ea = "_pill_z1kui_1", Ca = "_selected_z1kui_17", tt = {
1320
- pillsWrap: Ia,
1321
- pill: Ea,
1322
- selected: Ca
711
+ const At = "_pillsWrap_z1kui_1", Et = "_pill_z1kui_1", Ot = "_selected_z1kui_17", ke = {
712
+ pillsWrap: At,
713
+ pill: Et,
714
+ selected: Ot
1323
715
  };
1324
- function Go({
1325
- id: a,
1326
- options: r,
1327
- selected: s,
1328
- onChange: c,
1329
- className: l = ""
716
+ function tr({
717
+ id: n,
718
+ options: t,
719
+ selected: a,
720
+ onChange: s,
721
+ className: r = ""
1330
722
  }) {
1331
- const u = (_) => {
1332
- s.includes(_) ? c(s.filter((d) => d !== _)) : c([...s, _]);
723
+ const i = (d) => {
724
+ a.includes(d) ? s(a.filter((l) => l !== d)) : s([...a, d]);
1333
725
  };
1334
- return /* @__PURE__ */ t.jsx(
726
+ return /* @__PURE__ */ e(
1335
727
  "div",
1336
728
  {
1337
- className: `${tt.pillsWrap} ${l}`,
729
+ className: `${ke.pillsWrap} ${r}`,
1338
730
  role: "group",
1339
- "aria-labelledby": `${a}-label`,
1340
- children: r.map((_) => /* @__PURE__ */ t.jsx(
731
+ "aria-labelledby": `${n}-label`,
732
+ children: t.map((d) => /* @__PURE__ */ e(
1341
733
  "button",
1342
734
  {
1343
735
  type: "button",
1344
- className: `${tt.pill} ${s.includes(_.key) ? tt.selected : ""}`,
1345
- onClick: () => u(_.key),
1346
- children: _.label
736
+ className: `${ke.pill} ${a.includes(d.key) ? ke.selected : ""}`,
737
+ onClick: () => i(d.key),
738
+ children: d.label
1347
739
  },
1348
- _.key
740
+ d.key
1349
741
  ))
1350
742
  }
1351
743
  );
1352
744
  }
1353
- const Da = "_wrapper_i6a5b_2", Oa = "_checkboxRow_i6a5b_6", Pa = "_checkbox_i6a5b_6", La = "_checkboxText_i6a5b_31", Ma = "_checkboxHelp_i6a5b_37", $e = {
1354
- wrapper: Da,
1355
- checkboxRow: Oa,
1356
- checkbox: Pa,
1357
- checkboxText: La,
1358
- checkboxHelp: Ma
745
+ const Ft = "_wrapper_i6a5b_2", qt = "_checkboxRow_i6a5b_6", Wt = "_checkbox_i6a5b_6", jt = "_checkboxText_i6a5b_31", Ht = "_checkboxHelp_i6a5b_37", te = {
746
+ wrapper: Ft,
747
+ checkboxRow: qt,
748
+ checkbox: Wt,
749
+ checkboxText: jt,
750
+ checkboxHelp: Ht
1359
751
  };
1360
- function Vo({
1361
- id: a,
1362
- checked: r,
1363
- onChange: s,
1364
- primaryText: c,
1365
- helpText: l,
1366
- className: u = ""
752
+ function ar({
753
+ id: n,
754
+ checked: t,
755
+ onChange: a,
756
+ primaryText: s,
757
+ helpText: r,
758
+ className: i = ""
1367
759
  }) {
1368
- return /* @__PURE__ */ t.jsxs("div", { className: `${$e.wrapper} ${u}`, children: [
1369
- /* @__PURE__ */ t.jsxs("div", { className: $e.checkboxRow, children: [
1370
- /* @__PURE__ */ t.jsx(
760
+ return /* @__PURE__ */ c("div", { className: `${te.wrapper} ${i}`, children: [
761
+ /* @__PURE__ */ c("div", { className: te.checkboxRow, children: [
762
+ /* @__PURE__ */ e(
1371
763
  "input",
1372
764
  {
1373
- id: a,
765
+ id: n,
1374
766
  type: "checkbox",
1375
- className: $e.checkbox,
1376
- checked: r,
1377
- onChange: (_) => s(_.target.checked)
767
+ className: te.checkbox,
768
+ checked: t,
769
+ onChange: (d) => a(d.target.checked)
1378
770
  }
1379
771
  ),
1380
- /* @__PURE__ */ t.jsx("label", { htmlFor: a, className: $e.checkboxText, children: c })
772
+ /* @__PURE__ */ e("label", { htmlFor: n, className: te.checkboxText, children: s })
1381
773
  ] }),
1382
- l != null && l !== "" && /* @__PURE__ */ t.jsx("p", { className: $e.checkboxHelp, children: l })
774
+ r != null && r !== "" && /* @__PURE__ */ e("p", { className: te.checkboxHelp, children: r })
1383
775
  ] });
1384
776
  }
1385
- const Ba = "_footerNote_laev3_1", Aa = {
1386
- footerNote: Ba
777
+ const zt = "_footerNote_laev3_1", Kt = {
778
+ footerNote: zt
1387
779
  };
1388
- function Jo({
1389
- children: a,
1390
- className: r = ""
780
+ function or({
781
+ children: n,
782
+ className: t = ""
1391
783
  }) {
1392
- return /* @__PURE__ */ t.jsx("p", { className: `${Aa.footerNote} ${r}`, children: a });
784
+ return /* @__PURE__ */ e("p", { className: `${Kt.footerNote} ${t}`, children: n });
1393
785
  }
1394
- const Fa = "_footer_86zxt_1", qa = "_inner_86zxt_8", Wa = "_badges_86zxt_12", Ya = "_marqueeContent_86zxt_20", Ua = "_badge_86zxt_12", za = "_badgeIcon_86zxt_35", Ha = "_ctaWrap_86zxt_39", Ka = "_ctaStruck_86zxt_43", Ga = "_ctaButton_86zxt_49", Va = "_offerRow_86zxt_69", Ja = "_pill_86zxt_76", Xa = "_ctaStatic_86zxt_85", be = {
1395
- footer: Fa,
1396
- inner: qa,
1397
- badges: Wa,
1398
- marqueeContent: Ya,
1399
- badge: Ua,
1400
- badgeIcon: za,
1401
- ctaWrap: Ha,
1402
- ctaStruck: Ka,
1403
- ctaButton: Ga,
1404
- offerRow: Va,
1405
- pill: Ja,
1406
- ctaStatic: Xa
786
+ const Ut = "_footer_86zxt_1", Gt = "_inner_86zxt_8", Yt = "_badges_86zxt_12", Jt = "_marqueeContent_86zxt_20", Zt = "_badge_86zxt_12", Xt = "_badgeIcon_86zxt_35", Qt = "_ctaWrap_86zxt_39", Vt = "_ctaStruck_86zxt_43", ea = "_ctaButton_86zxt_49", na = "_offerRow_86zxt_69", ta = "_pill_86zxt_76", aa = "_ctaStatic_86zxt_85", V = {
787
+ footer: Ut,
788
+ inner: Gt,
789
+ badges: Yt,
790
+ marqueeContent: Jt,
791
+ badge: Zt,
792
+ badgeIcon: Xt,
793
+ ctaWrap: Qt,
794
+ ctaStruck: Vt,
795
+ ctaButton: ea,
796
+ offerRow: na,
797
+ pill: ta,
798
+ ctaStatic: aa
1407
799
  };
1408
- function Xo({
1409
- marquee: a,
1410
- children: r,
1411
- className: s = ""
800
+ function sr({
801
+ marquee: n,
802
+ children: t,
803
+ className: a = ""
1412
804
  }) {
1413
- return /* @__PURE__ */ t.jsx("footer", { className: `${be.footer} ${s}`, role: "contentinfo", children: /* @__PURE__ */ t.jsxs("div", { className: be.inner, children: [
1414
- a != null && /* @__PURE__ */ t.jsx("div", { className: be.badges, "aria-hidden": !0, children: a }),
1415
- /* @__PURE__ */ t.jsx("div", { className: be.ctaWrap, children: r })
805
+ return /* @__PURE__ */ e("footer", { className: `${V.footer} ${a}`, role: "contentinfo", children: /* @__PURE__ */ c("div", { className: V.inner, children: [
806
+ n != null && /* @__PURE__ */ e("div", { className: V.badges, "aria-hidden": !0, children: n }),
807
+ /* @__PURE__ */ e("div", { className: V.ctaWrap, children: t })
1416
808
  ] }) });
1417
809
  }
1418
- function Qo({
1419
- children: a,
1420
- href: r,
1421
- disabled: s = !1,
1422
- onClick: c,
1423
- static: l = !1,
1424
- className: u = "",
1425
- "aria-label": _
810
+ function rr({
811
+ children: n,
812
+ href: t,
813
+ disabled: a = !1,
814
+ onClick: s,
815
+ static: r = !1,
816
+ className: i = "",
817
+ "aria-label": d
1426
818
  }) {
1427
- const d = `${be.ctaButton} ${u}`.trim(), f = `${be.ctaStatic} ${u}`.trim(), g = _ != null ? { "aria-label": _ } : {};
1428
- return l ? /* @__PURE__ */ t.jsx("div", { className: f, role: "presentation", children: a }) : r != null ? /* @__PURE__ */ t.jsx(
819
+ const l = `${V.ctaButton} ${i}`.trim(), u = `${V.ctaStatic} ${i}`.trim(), h = d != null ? { "aria-label": d } : {};
820
+ return r ? /* @__PURE__ */ e("div", { className: u, role: "presentation", children: n }) : t != null ? /* @__PURE__ */ e(
1429
821
  "a",
1430
822
  {
1431
- href: r,
1432
- className: d,
823
+ href: t,
824
+ className: l,
1433
825
  target: "_blank",
1434
826
  rel: "noopener noreferrer",
1435
- "aria-disabled": s,
1436
- onClick: (v) => s && v.preventDefault(),
1437
- ...g,
1438
- children: a
827
+ "aria-disabled": a,
828
+ onClick: (f) => a && f.preventDefault(),
829
+ ...h,
830
+ children: n
1439
831
  }
1440
- ) : /* @__PURE__ */ t.jsx(
832
+ ) : /* @__PURE__ */ e(
1441
833
  "button",
1442
834
  {
1443
835
  type: "button",
1444
- className: d,
1445
- disabled: s,
1446
- onClick: c,
1447
- ...g,
1448
- children: a
836
+ className: l,
837
+ disabled: a,
838
+ onClick: s,
839
+ ...h,
840
+ children: n
1449
841
  }
1450
842
  );
1451
843
  }
1452
- const Qa = "_wrapper_wxjzs_1", Za = "_track_wxjzs_7", xt = {
1453
- wrapper: Qa,
1454
- track: Za
844
+ const oa = "_wrapper_wxjzs_1", sa = "_track_wxjzs_7", Fe = {
845
+ wrapper: oa,
846
+ track: sa
1455
847
  };
1456
- function er({ children: a, className: r = "" }) {
1457
- return /* @__PURE__ */ t.jsx("div", { className: `${xt.wrapper} ${r}`, "aria-hidden": !0, children: /* @__PURE__ */ t.jsxs("div", { className: xt.track, children: [
1458
- a,
1459
- a
848
+ function ra({ children: n, className: t = "" }) {
849
+ return /* @__PURE__ */ e("div", { className: `${Fe.wrapper} ${t}`, "aria-hidden": !0, children: /* @__PURE__ */ c("div", { className: Fe.track, children: [
850
+ n,
851
+ n
1460
852
  ] }) });
1461
853
  }
1462
- const tr = "_strip_2838b_1", nr = {
1463
- strip: tr
854
+ const ca = "_strip_2838b_1", ia = {
855
+ strip: ca
1464
856
  };
1465
- function Zo({ children: a, className: r = "" }) {
1466
- return /* @__PURE__ */ t.jsx("div", { className: `${nr.strip} ${r}`, role: "region", "aria-label": "Trust badges", children: /* @__PURE__ */ t.jsx(er, { children: a }) });
857
+ function cr({ children: n, className: t = "" }) {
858
+ return /* @__PURE__ */ e("div", { className: `${ia.strip} ${t}`, role: "region", "aria-label": "Trust badges", children: /* @__PURE__ */ e(ra, { children: n }) });
1467
859
  }
1468
- const ar = "_section_8y3x9_1", rr = "_heading_8y3x9_6", or = "_content_8y3x9_11", sr = "_line_8y3x9_16", ir = "_brandName_8y3x9_20", me = {
1469
- section: ar,
1470
- heading: rr,
1471
- content: or,
1472
- line: sr,
1473
- brandName: ir
860
+ const la = "_section_8y3x9_1", da = "_heading_8y3x9_6", _a = "_content_8y3x9_11", ma = "_line_8y3x9_16", ha = "_brandName_8y3x9_20", Q = {
861
+ section: la,
862
+ heading: da,
863
+ content: _a,
864
+ line: ma,
865
+ brandName: ha
1474
866
  };
1475
- function es({
1476
- title: a,
1477
- brandName: r,
1478
- whatsAppLine: s,
1479
- emailLine: c,
1480
- className: l = ""
867
+ function ir({
868
+ title: n,
869
+ brandName: t,
870
+ whatsAppLine: a,
871
+ emailLine: s,
872
+ className: r = ""
1481
873
  }) {
1482
- return /* @__PURE__ */ t.jsxs("section", { className: `${me.section} ${l}`, "aria-labelledby": "contact-heading", children: [
1483
- /* @__PURE__ */ t.jsx("h2", { id: "contact-heading", className: me.heading, children: a }),
1484
- /* @__PURE__ */ t.jsxs("div", { className: me.content, children: [
1485
- /* @__PURE__ */ t.jsx("p", { className: me.brandName, children: r }),
1486
- /* @__PURE__ */ t.jsx("p", { className: me.line, children: s }),
1487
- /* @__PURE__ */ t.jsx("p", { className: me.line, children: c })
874
+ return /* @__PURE__ */ c("section", { className: `${Q.section} ${r}`, "aria-labelledby": "contact-heading", children: [
875
+ /* @__PURE__ */ e("h2", { id: "contact-heading", className: Q.heading, children: n }),
876
+ /* @__PURE__ */ c("div", { className: Q.content, children: [
877
+ /* @__PURE__ */ e("p", { className: Q.brandName, children: t }),
878
+ /* @__PURE__ */ e("p", { className: Q.line, children: a }),
879
+ /* @__PURE__ */ e("p", { className: Q.line, children: s })
1488
880
  ] })
1489
881
  ] });
1490
882
  }
1491
- const cr = (a) => {
1492
- const r = a.match(/T(\d{2}):(\d{2})/);
1493
- if (!r) return a;
1494
- const s = Number(r[1]), c = r[2], l = s >= 12 ? "PM" : "AM";
1495
- return `${s % 12 || 12}:${c} ${l}`;
1496
- }, lr = (a, r = /* @__PURE__ */ new Date()) => {
1497
- const s = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], c = /* @__PURE__ */ new Date(`${a}T00:00:00`);
1498
- if (Number.isNaN(c.getTime()))
1499
- return { id: a, dayLabel: a, dayNum: "" };
1500
- const l = (d) => new Date(d.getFullYear(), d.getMonth(), d.getDate()).getTime(), u = Math.round(
1501
- (l(c) - l(r)) / (1e3 * 60 * 60 * 24)
1502
- ), _ = u === 0 ? "Today" : u === 1 ? "Tomorrow" : s[c.getDay()];
1503
- return { id: a, dayLabel: _, dayNum: String(c.getDate()) };
1504
- }, dr = [
883
+ const ua = (n) => {
884
+ const t = n.match(/T(\d{2}):(\d{2})/);
885
+ if (!t) return n;
886
+ const a = Number(t[1]), s = t[2], r = a >= 12 ? "PM" : "AM";
887
+ return `${a % 12 || 12}:${s} ${r}`;
888
+ }, pa = (n, t = /* @__PURE__ */ new Date()) => {
889
+ const a = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], s = /* @__PURE__ */ new Date(`${n}T00:00:00`);
890
+ if (Number.isNaN(s.getTime()))
891
+ return { id: n, dayLabel: n, dayNum: "" };
892
+ const r = (l) => new Date(l.getFullYear(), l.getMonth(), l.getDate()).getTime(), i = Math.round(
893
+ (r(s) - r(t)) / (1e3 * 60 * 60 * 24)
894
+ ), d = i === 0 ? "Today" : i === 1 ? "Tomorrow" : a[s.getDay()];
895
+ return { id: n, dayLabel: d, dayNum: String(s.getDate()) };
896
+ }, ga = [
1505
897
  "morning",
1506
898
  "afternoon",
1507
899
  "evening"
1508
- ], ur = [
900
+ ], ba = [
1509
901
  { code: "en", labelKey: "formReportLanguageEnglish", label: "English" },
1510
902
  { code: "hi", labelKey: "formReportLanguageHindi", label: "Hindi" },
1511
903
  { code: "te", labelKey: "formReportLanguageTelugu", label: "Telugu" },
@@ -1513,7 +905,7 @@ const cr = (a) => {
1513
905
  { code: "gu", labelKey: "formReportLanguageGujarati", label: "Gujarati" },
1514
906
  { code: "mr", labelKey: "formReportLanguageMarathi", label: "Marathi" },
1515
907
  { code: "ta", labelKey: "formReportLanguageTamil", label: "Tamil" }
1516
- ], _r = () => /* @__PURE__ */ t.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ t.jsx(
908
+ ], fa = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e(
1517
909
  "path",
1518
910
  {
1519
911
  d: "M3.5 8.5l2.5 2.5 6-6",
@@ -1522,7 +914,7 @@ const cr = (a) => {
1522
914
  strokeLinecap: "round",
1523
915
  strokeLinejoin: "round"
1524
916
  }
1525
- ) }), fr = () => /* @__PURE__ */ t.jsx(
917
+ ) }), Na = () => /* @__PURE__ */ e(
1526
918
  "svg",
1527
919
  {
1528
920
  width: "14",
@@ -1534,9 +926,9 @@ const cr = (a) => {
1534
926
  strokeLinecap: "round",
1535
927
  strokeLinejoin: "round",
1536
928
  "aria-hidden": !0,
1537
- children: /* @__PURE__ */ t.jsx("path", { d: "M6 9l6 6 6-6" })
929
+ children: /* @__PURE__ */ e("path", { d: "M6 9l6 6 6-6" })
1538
930
  }
1539
- ), hr = () => /* @__PURE__ */ t.jsx(
931
+ ), va = () => /* @__PURE__ */ e(
1540
932
  "img",
1541
933
  {
1542
934
  src: "https://srm-cdn.a4b.io/yoda/1785316603029.svg",
@@ -1545,7 +937,7 @@ const cr = (a) => {
1545
937
  alt: "",
1546
938
  "aria-hidden": !0
1547
939
  }
1548
- ), pr = () => /* @__PURE__ */ t.jsx(
940
+ ), wa = () => /* @__PURE__ */ e(
1549
941
  "img",
1550
942
  {
1551
943
  src: "https://srm-cdn.a4b.io/yoda/1785316621747.svg",
@@ -1554,7 +946,7 @@ const cr = (a) => {
1554
946
  alt: "",
1555
947
  "aria-hidden": !0
1556
948
  }
1557
- ), mr = () => /* @__PURE__ */ t.jsx(
949
+ ), ya = () => /* @__PURE__ */ e(
1558
950
  "img",
1559
951
  {
1560
952
  src: "https://srm-cdn.a4b.io/yoda/1785316635953.svg",
@@ -1563,52 +955,52 @@ const cr = (a) => {
1563
955
  alt: "",
1564
956
  "aria-hidden": !0
1565
957
  }
1566
- ), gr = () => /* @__PURE__ */ t.jsxs("svg", { width: "40", height: "40", viewBox: "0 0 24 24", fill: "none", "aria-hidden": !0, children: [
1567
- /* @__PURE__ */ t.jsx("rect", { x: "3", y: "4.5", width: "18", height: "16", rx: "3", stroke: "#D1D5DB", strokeWidth: "1.6" }),
1568
- /* @__PURE__ */ t.jsx("path", { d: "M3 9.5h18", stroke: "#D1D5DB", strokeWidth: "1.6" }),
1569
- /* @__PURE__ */ t.jsx("path", { d: "M8 2.5v4M16 2.5v4", stroke: "#D1D5DB", strokeWidth: "1.6", strokeLinecap: "round" }),
1570
- /* @__PURE__ */ t.jsx("path", { d: "M7.5 20.5L17 6", stroke: "#9CA3AF", strokeWidth: "1.6", strokeLinecap: "round" })
1571
- ] }), br = "_section_1ltqn_2", vr = "_headerRow_1ltqn_10", xr = "_title_1ltqn_18", yr = "_changeBtn_1ltqn_24", jr = "_numberRow_1ltqn_35", wr = "_countryCode_1ltqn_44", Nr = "_number_1ltqn_35", Tr = "_helper_1ltqn_59", Q = {
1572
- section: br,
1573
- headerRow: vr,
1574
- title: xr,
1575
- changeBtn: yr,
1576
- numberRow: jr,
1577
- countryCode: wr,
1578
- number: Nr,
1579
- helper: Tr
1580
- }, Sr = ({
1581
- title: a,
1582
- countryCode: r = "+91",
1583
- phoneNumber: s = "98765 43210",
1584
- helperText: c,
1585
- onEdit: l,
1586
- t: u,
1587
- className: _ = ""
1588
- }) => /* @__PURE__ */ t.jsxs("section", { className: [Q.section, _].filter(Boolean).join(" "), children: [
1589
- /* @__PURE__ */ t.jsxs("div", { className: Q.headerRow, children: [
1590
- /* @__PURE__ */ t.jsx("span", { className: Q.title, children: a ?? u?.("planPhoneNumberHeading") ?? "Your phone number" }),
1591
- l && /* @__PURE__ */ t.jsx("button", { type: "button", className: Q.changeBtn, onClick: l, children: u?.("planPhoneNumberChange") ?? "Change" })
958
+ ), ka = () => /* @__PURE__ */ c("svg", { width: "40", height: "40", viewBox: "0 0 24 24", fill: "none", "aria-hidden": !0, children: [
959
+ /* @__PURE__ */ e("rect", { x: "3", y: "4.5", width: "18", height: "16", rx: "3", stroke: "#D1D5DB", strokeWidth: "1.6" }),
960
+ /* @__PURE__ */ e("path", { d: "M3 9.5h18", stroke: "#D1D5DB", strokeWidth: "1.6" }),
961
+ /* @__PURE__ */ e("path", { d: "M8 2.5v4M16 2.5v4", stroke: "#D1D5DB", strokeWidth: "1.6", strokeLinecap: "round" }),
962
+ /* @__PURE__ */ e("path", { d: "M7.5 20.5L17 6", stroke: "#9CA3AF", strokeWidth: "1.6", strokeLinecap: "round" })
963
+ ] }), Sa = "_section_1ltqn_2", Ia = "_headerRow_1ltqn_10", Ta = "_title_1ltqn_18", $a = "_changeBtn_1ltqn_24", Ca = "_numberRow_1ltqn_35", La = "_countryCode_1ltqn_44", xa = "_number_1ltqn_35", Da = "_helper_1ltqn_59", H = {
964
+ section: Sa,
965
+ headerRow: Ia,
966
+ title: Ta,
967
+ changeBtn: $a,
968
+ numberRow: Ca,
969
+ countryCode: La,
970
+ number: xa,
971
+ helper: Da
972
+ }, Ba = ({
973
+ title: n,
974
+ countryCode: t = "+91",
975
+ phoneNumber: a = "98765 43210",
976
+ helperText: s,
977
+ onEdit: r,
978
+ t: i,
979
+ className: d = ""
980
+ }) => /* @__PURE__ */ c("section", { className: [H.section, d].filter(Boolean).join(" "), children: [
981
+ /* @__PURE__ */ c("div", { className: H.headerRow, children: [
982
+ /* @__PURE__ */ e("span", { className: H.title, children: n ?? i?.("planPhoneNumberHeading") ?? "Your phone number" }),
983
+ r && /* @__PURE__ */ e("button", { type: "button", className: H.changeBtn, onClick: r, children: i?.("planPhoneNumberChange") ?? "Change" })
1592
984
  ] }),
1593
- /* @__PURE__ */ t.jsxs("div", { className: Q.numberRow, children: [
1594
- /* @__PURE__ */ t.jsx("span", { className: Q.countryCode, children: r }),
1595
- /* @__PURE__ */ t.jsx("span", { className: Q.number, children: s })
985
+ /* @__PURE__ */ c("div", { className: H.numberRow, children: [
986
+ /* @__PURE__ */ e("span", { className: H.countryCode, children: t }),
987
+ /* @__PURE__ */ e("span", { className: H.number, children: a })
1596
988
  ] }),
1597
- /* @__PURE__ */ t.jsx("p", { className: Q.helper, children: c ?? u?.("planPhoneNumberHelper") ?? "The astrologer will call you on this number at your booked slot." })
1598
- ] }), kr = "_section_12hk9_2", Rr = "_title_12hk9_6", $r = "_profileRow_12hk9_13", Ir = "_profileCard_12hk9_26", Er = "_profileCardSelected_12hk9_47", Cr = "_profileTop_12hk9_52", Dr = "_avatar_12hk9_60", Or = "_profileName_12hk9_74", Pr = "_relationPill_12hk9_84", Lr = "_profileMeta_12hk9_98", Mr = "_addCard_12hk9_108", Br = "_addIcon_12hk9_127", B = {
1599
- section: kr,
1600
- title: Rr,
1601
- profileRow: $r,
1602
- profileCard: Ir,
1603
- profileCardSelected: Er,
1604
- profileTop: Cr,
1605
- avatar: Dr,
1606
- profileName: Or,
1607
- relationPill: Pr,
1608
- profileMeta: Lr,
1609
- addCard: Mr,
1610
- addIcon: Br
1611
- }, Ar = [
989
+ /* @__PURE__ */ e("p", { className: H.helper, children: s ?? i?.("planPhoneNumberHelper") ?? "The astrologer will call you on this number at your booked slot." })
990
+ ] }), 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", za = "_addIcon_12hk9_127", C = {
991
+ section: Ma,
992
+ title: Ra,
993
+ profileRow: Pa,
994
+ profileCard: Aa,
995
+ profileCardSelected: Ea,
996
+ profileTop: Oa,
997
+ avatar: Fa,
998
+ profileName: qa,
999
+ relationPill: Wa,
1000
+ profileMeta: ja,
1001
+ addCard: Ha,
1002
+ addIcon: za
1003
+ }, Ka = [
1612
1004
  {
1613
1005
  id: "self",
1614
1006
  name: "Aarav Sharma",
@@ -1623,237 +1015,241 @@ const cr = (a) => {
1623
1015
  birthPlace: "Pune, India",
1624
1016
  relation: "Spouse"
1625
1017
  }
1626
- ], Fr = ({
1627
- title: a,
1628
- profiles: r = Ar,
1629
- selectedProfileId: s,
1630
- onProfileSelect: c,
1631
- onAddProfile: l,
1632
- t: u,
1633
- className: _ = ""
1018
+ ], Ua = ({
1019
+ title: n,
1020
+ profiles: t = Ka,
1021
+ selectedProfileId: a,
1022
+ onProfileSelect: s,
1023
+ onAddProfile: r,
1024
+ t: i,
1025
+ className: d = ""
1634
1026
  }) => {
1635
- const [d, f] = Y(r[0]?.id ?? ""), g = s ?? d, v = (h) => {
1636
- f(h), c?.(h);
1027
+ const [l, u] = T(t[0]?.id ?? ""), h = a ?? l, f = (m) => {
1028
+ u(m), s?.(m);
1637
1029
  };
1638
- return /* @__PURE__ */ t.jsxs("section", { className: [B.section, _].filter(Boolean).join(" "), children: [
1639
- /* @__PURE__ */ t.jsx("p", { className: B.title, children: a ?? u?.("planAstrologyProfilesHeading") ?? "Astrology profile" }),
1640
- /* @__PURE__ */ t.jsxs("div", { className: B.profileRow, role: "radiogroup", "aria-label": "Astrology profile", children: [
1641
- r.map((h) => {
1642
- const j = h.id === g;
1643
- return /* @__PURE__ */ t.jsxs(
1030
+ return /* @__PURE__ */ c("section", { className: [C.section, d].filter(Boolean).join(" "), children: [
1031
+ /* @__PURE__ */ e("p", { className: C.title, children: n ?? i?.("planAstrologyProfilesHeading") ?? "Astrology profile" }),
1032
+ /* @__PURE__ */ c("div", { className: C.profileRow, role: "radiogroup", "aria-label": "Astrology profile", children: [
1033
+ t.map((m) => {
1034
+ const g = m.id === h;
1035
+ return /* @__PURE__ */ c(
1644
1036
  "button",
1645
1037
  {
1646
1038
  type: "button",
1647
1039
  role: "radio",
1648
- "aria-checked": j,
1649
- className: [B.profileCard, j ? B.profileCardSelected : ""].filter(Boolean).join(" "),
1650
- onClick: () => v(h.id),
1040
+ "aria-checked": g,
1041
+ className: [C.profileCard, g ? C.profileCardSelected : ""].filter(Boolean).join(" "),
1042
+ onClick: () => f(m.id),
1651
1043
  children: [
1652
- /* @__PURE__ */ t.jsxs("span", { className: B.profileTop, children: [
1653
- /* @__PURE__ */ t.jsx("span", { className: B.avatar, "aria-hidden": !0, children: h.name.charAt(0).toUpperCase() }),
1654
- /* @__PURE__ */ t.jsx("span", { className: B.profileName, children: h.name })
1044
+ /* @__PURE__ */ c("span", { className: C.profileTop, children: [
1045
+ /* @__PURE__ */ e("span", { className: C.avatar, "aria-hidden": !0, children: m.name.charAt(0).toUpperCase() }),
1046
+ /* @__PURE__ */ e("span", { className: C.profileName, children: m.name })
1655
1047
  ] }),
1656
- h.relation && /* @__PURE__ */ t.jsx("span", { className: B.relationPill, children: h.relation }),
1657
- h.birthDetails && /* @__PURE__ */ t.jsx("span", { className: B.profileMeta, children: h.birthDetails }),
1658
- h.birthPlace && /* @__PURE__ */ t.jsx("span", { className: B.profileMeta, children: h.birthPlace })
1048
+ m.relation && /* @__PURE__ */ e("span", { className: C.relationPill, children: m.relation }),
1049
+ m.birthDetails && /* @__PURE__ */ e("span", { className: C.profileMeta, children: m.birthDetails }),
1050
+ m.birthPlace && /* @__PURE__ */ e("span", { className: C.profileMeta, children: m.birthPlace })
1659
1051
  ]
1660
1052
  },
1661
- h.id
1053
+ m.id
1662
1054
  );
1663
1055
  }),
1664
- l && /* @__PURE__ */ t.jsxs("button", { type: "button", className: B.addCard, onClick: l, children: [
1665
- /* @__PURE__ */ t.jsx("span", { className: B.addIcon, "aria-hidden": !0, children: "+" }),
1666
- u?.("planAddAstrologyProfile") ?? "Add profile"
1056
+ r && /* @__PURE__ */ c("button", { type: "button", className: C.addCard, onClick: r, children: [
1057
+ /* @__PURE__ */ e("span", { className: C.addIcon, "aria-hidden": !0, children: "+" }),
1058
+ i?.("planAddAstrologyProfile") ?? "Add profile"
1667
1059
  ] })
1668
1060
  ] })
1669
1061
  ] });
1670
- }, qr = "_root_1ywut_6", Wr = "_languageRow_1ywut_19", Yr = "_languageLabel_1ywut_27", Ur = "_languageDropdown_1ywut_33", zr = "_languageDropdownBtn_1ywut_37", Hr = "_languageMenu_1ywut_52", Kr = "_languageMenuItem_1ywut_69", Gr = "_languageMenuItemSelected_1ywut_83", Vr = "_languageDivider_1ywut_89", Jr = "_sectionHeading_1ywut_96", Xr = "_reportReadyBanner_1ywut_104", Qr = "_reportReadyDuration_1ywut_113", Zr = "_dateTabs_1ywut_119", eo = "_dateTabIndicator_1ywut_131", to = "_dateTab_1ywut_119", no = "_dateTabDivider_1ywut_165", ao = "_dateTabSelected_1ywut_175", ro = "_dateTabLabel_1ywut_180", oo = "_dateTabNum_1ywut_187", so = "_periodTabs_1ywut_201", io = "_periodTabIndicator_1ywut_129", co = "_periodTab_1ywut_129", lo = "_periodTabSelected_1ywut_248", uo = "_timeGrid_1ywut_253", _o = "_emptyState_1ywut_280", fo = "_timeSlot_1ywut_284", ho = "_timeSlotSelected_1ywut_300", po = "_stateMessage_1ywut_308", mo = "_retryBtn_1ywut_315", go = "_emptyStateIcon_1ywut_341", bo = "_emptyStateTitle_1ywut_352", vo = "_emptyStateSubtitle_1ywut_359", xo = "_loadingWrap_1ywut_368", yo = "_skeletonShimmer_1ywut_373", jo = "_skeletonDateTabs_1ywut_387", wo = "_skeletonDateTab_1ywut_387", No = "_skeletonPeriodTabs_1ywut_401", To = "_skeletonPeriodTab_1ywut_401", So = "_skeletonTimeGrid_1ywut_416", ko = "_skeletonTimeSlot_1ywut_422", m = {
1671
- root: qr,
1672
- languageRow: Wr,
1673
- languageLabel: Yr,
1674
- languageDropdown: Ur,
1675
- languageDropdownBtn: zr,
1676
- languageMenu: Hr,
1677
- languageMenuItem: Kr,
1678
- languageMenuItemSelected: Gr,
1679
- languageDivider: Vr,
1680
- sectionHeading: Jr,
1681
- reportReadyBanner: Xr,
1682
- reportReadyDuration: Qr,
1683
- dateTabs: Zr,
1684
- dateTabIndicator: eo,
1685
- dateTab: to,
1686
- dateTabDivider: no,
1687
- dateTabSelected: ao,
1688
- dateTabLabel: ro,
1689
- dateTabNum: oo,
1690
- periodTabs: so,
1691
- periodTabIndicator: io,
1692
- periodTab: co,
1693
- periodTabSelected: lo,
1694
- timeGrid: uo,
1695
- emptyState: _o,
1696
- timeSlot: fo,
1697
- timeSlotSelected: ho,
1698
- stateMessage: po,
1699
- retryBtn: mo,
1700
- emptyStateIcon: go,
1701
- emptyStateTitle: bo,
1702
- emptyStateSubtitle: vo,
1703
- loadingWrap: xo,
1704
- skeletonShimmer: yo,
1705
- skeletonDateTabs: jo,
1706
- skeletonDateTab: wo,
1707
- skeletonPeriodTabs: No,
1708
- skeletonPeriodTab: To,
1709
- skeletonTimeGrid: So,
1710
- skeletonTimeSlot: ko
1711
- }, Ro = {
1712
- morning: hr,
1713
- afternoon: pr,
1714
- evening: mr
1715
- }, $o = {
1062
+ }, Ga = "_root_fo16p_6", Ya = "_languageRow_fo16p_19", Ja = "_languageLabel_fo16p_27", Za = "_languageDropdown_fo16p_33", Xa = "_languageDropdownBtn_fo16p_37", Qa = "_languageMenu_fo16p_52", Va = "_languageMenuItem_fo16p_69", eo = "_languageMenuItemSelected_fo16p_83", no = "_languageDivider_fo16p_89", to = "_sectionHeadingRow_fo16p_96", ao = "_sectionHeading_fo16p_96", oo = "_timezoneLabel_fo16p_111", so = "_reportReadyBanner_fo16p_120", ro = "_reportReadyDuration_fo16p_129", co = "_dateTabs_fo16p_135", io = "_dateTabIndicator_fo16p_147", lo = "_dateTab_fo16p_135", _o = "_dateTabDivider_fo16p_181", mo = "_dateTabSelected_fo16p_191", ho = "_dateTabLabel_fo16p_196", uo = "_dateTabNum_fo16p_203", po = "_periodTabs_fo16p_217", go = "_periodTabIndicator_fo16p_145", bo = "_periodTab_fo16p_145", fo = "_periodTabSelected_fo16p_264", No = "_timeGrid_fo16p_269", vo = "_emptyState_fo16p_296", wo = "_timeSlot_fo16p_300", yo = "_timeSlotSelected_fo16p_316", ko = "_timeSlotDisabled_fo16p_324", So = "_stateMessage_fo16p_335", Io = "_retryBtn_fo16p_342", To = "_emptyStateIcon_fo16p_368", $o = "_emptyStateTitle_fo16p_379", Co = "_emptyStateSubtitle_fo16p_386", Lo = "_loadingWrap_fo16p_395", xo = "_skeletonShimmer_fo16p_400", Do = "_skeletonDateTabs_fo16p_414", Bo = "_skeletonDateTab_fo16p_414", Mo = "_skeletonPeriodTabs_fo16p_428", Ro = "_skeletonPeriodTab_fo16p_428", Po = "_skeletonTimeGrid_fo16p_443", Ao = "_skeletonTimeSlot_fo16p_449", _ = {
1063
+ root: Ga,
1064
+ languageRow: Ya,
1065
+ languageLabel: Ja,
1066
+ languageDropdown: Za,
1067
+ languageDropdownBtn: Xa,
1068
+ languageMenu: Qa,
1069
+ languageMenuItem: Va,
1070
+ languageMenuItemSelected: eo,
1071
+ languageDivider: no,
1072
+ sectionHeadingRow: to,
1073
+ sectionHeading: ao,
1074
+ timezoneLabel: oo,
1075
+ reportReadyBanner: so,
1076
+ reportReadyDuration: ro,
1077
+ dateTabs: co,
1078
+ dateTabIndicator: io,
1079
+ dateTab: lo,
1080
+ dateTabDivider: _o,
1081
+ dateTabSelected: mo,
1082
+ dateTabLabel: ho,
1083
+ dateTabNum: uo,
1084
+ periodTabs: po,
1085
+ periodTabIndicator: go,
1086
+ periodTab: bo,
1087
+ periodTabSelected: fo,
1088
+ timeGrid: No,
1089
+ emptyState: vo,
1090
+ timeSlot: wo,
1091
+ timeSlotSelected: yo,
1092
+ timeSlotDisabled: ko,
1093
+ stateMessage: So,
1094
+ retryBtn: Io,
1095
+ emptyStateIcon: To,
1096
+ emptyStateTitle: $o,
1097
+ emptyStateSubtitle: Co,
1098
+ loadingWrap: Lo,
1099
+ skeletonShimmer: xo,
1100
+ skeletonDateTabs: Do,
1101
+ skeletonDateTab: Bo,
1102
+ skeletonPeriodTabs: Mo,
1103
+ skeletonPeriodTab: Ro,
1104
+ skeletonTimeGrid: Po,
1105
+ skeletonTimeSlot: Ao
1106
+ }, Eo = {
1107
+ morning: va,
1108
+ afternoon: wa,
1109
+ evening: ya
1110
+ }, Oo = {
1716
1111
  morning: "planPeriodMorning",
1717
1112
  afternoon: "planPeriodAfternoon",
1718
1113
  evening: "planPeriodEvening"
1719
- }, Z = (...a) => a.filter(Boolean).join(" "), ts = ({
1720
- days: a,
1721
- loading: r = !1,
1722
- error: s = !1,
1723
- onRetry: c,
1724
- selectedDate: l,
1725
- onDateSelect: u,
1726
- selectedPeriod: _,
1727
- onPeriodSelect: d,
1728
- selectedSlotStart: f,
1729
- onSlotSelect: g,
1730
- hideLanguageSelector: v = !1,
1731
- languageOptions: h = ur,
1732
- selectedLanguage: j,
1733
- onLanguageSelect: S,
1734
- showPhoneNumberSection: I = !0,
1735
- phoneNumberSection: ee,
1736
- showAstrologyProfilesSection: ve = !0,
1737
- astrologyProfilesSection: C,
1738
- heading: $,
1739
- languageLabel: Ue,
1740
- reportReadyNote: Ee,
1741
- isGlobal: ze = !0,
1742
- t: E,
1743
- className: He = ""
1114
+ }, z = (...n) => n.filter(Boolean).join(" "), lr = ({
1115
+ days: n,
1116
+ loading: t = !1,
1117
+ error: a = !1,
1118
+ onRetry: s,
1119
+ selectedDate: r,
1120
+ onDateSelect: i,
1121
+ selectedPeriod: d,
1122
+ onPeriodSelect: l,
1123
+ selectedSlotStart: u,
1124
+ onSlotSelect: h,
1125
+ hideLanguageSelector: f = !1,
1126
+ languageOptions: m = ba,
1127
+ selectedLanguage: g,
1128
+ onLanguageSelect: b,
1129
+ showPhoneNumberSection: w = !0,
1130
+ phoneNumberSection: O,
1131
+ showAstrologyProfilesSection: k = !0,
1132
+ astrologyProfilesSection: $,
1133
+ heading: R,
1134
+ timezoneLabel: Y,
1135
+ languageLabel: J,
1136
+ reportReadyNote: Z,
1137
+ isGlobal: ee = !0,
1138
+ t: y,
1139
+ className: ue = ""
1744
1140
  }) => {
1745
- const F = V(
1746
- () => a.filter((o) => o.has_availability && o.slots.length > 0),
1747
- [a]
1748
- ), [xe, Ke] = Y(""), X = V(() => {
1749
- const o = l ?? xe;
1750
- return F.some((x) => x.date === o) ? o : F[0]?.date ?? "";
1751
- }, [l, xe, F]), J = V(
1752
- () => F.find((o) => o.date === X) ?? null,
1753
- [F, X]
1754
- ), P = V(() => {
1755
- if (!J) return [];
1756
- const o = new Set(J.slots.map((x) => x.period));
1757
- return dr.filter((x) => o.has(x));
1758
- }, [J]), [U, te] = Y(""), z = V(() => {
1759
- const o = _ ?? U;
1760
- return o && P.includes(o) ? o : P[0] ?? "morning";
1761
- }, [_, U, P]), ne = V(
1762
- () => J ? J.slots.filter((o) => o.period === z) : [],
1763
- [J, z]
1764
- ), [ye, Ce] = Y(""), je = V(() => {
1765
- if (f === null) return "";
1766
- const o = f ?? ye;
1767
- return ne.some((x) => x.start === o) ? o : ne[0]?.start ?? "";
1768
- }, [f, ye, ne]), [De, Oe] = Y(
1769
- () => h[0]?.code ?? "en"
1770
- ), we = j ?? De, Ne = h.find((o) => o.code === we) ?? h[0], [de, ae] = Y(!1), re = ge(null);
1771
- Ye(() => {
1772
- if (!de) return;
1773
- const o = (x) => {
1774
- re.current && !re.current.contains(x.target) && ae(!1);
1141
+ const L = E(
1142
+ () => n.filter((o) => o.has_availability && o.slots.length > 0),
1143
+ [n]
1144
+ ), [re, pe] = T(""), q = E(() => {
1145
+ const o = r ?? re;
1146
+ return L.some((p) => p.date === o) ? o : L[0]?.date ?? "";
1147
+ }, [r, re, L]), F = E(
1148
+ () => L.find((o) => o.date === q) ?? null,
1149
+ [L, q]
1150
+ ), W = E(() => {
1151
+ if (!F) return [];
1152
+ const o = new Set(F.slots.map((p) => p.period));
1153
+ return ga.filter((p) => o.has(p));
1154
+ }, [F]), [N, K] = T(""), P = E(() => {
1155
+ const o = d ?? N;
1156
+ return o && W.includes(o) ? o : W[0] ?? "morning";
1157
+ }, [d, N, W]), ce = E(
1158
+ () => F ? F.slots.filter((o) => o.period === P) : [],
1159
+ [F, P]
1160
+ ), [Se, He] = T(""), Ie = E(() => {
1161
+ if (u === null) return "";
1162
+ const o = u ?? Se;
1163
+ return ce.some((p) => p.start === o) ? o : ce[0]?.start ?? "";
1164
+ }, [u, Se, ce]), [ze, Ke] = T(
1165
+ () => m[0]?.code ?? "en"
1166
+ ), Te = g ?? ze, ge = m.find((o) => o.code === Te) ?? m[0], [ie, be] = T(!1), fe = G(null);
1167
+ se(() => {
1168
+ if (!ie) return;
1169
+ const o = (p) => {
1170
+ fe.current && !fe.current.contains(p.target) && be(!1);
1775
1171
  };
1776
1172
  return document.addEventListener("mousedown", o), () => document.removeEventListener("mousedown", o);
1777
- }, [de]);
1778
- const oe = ge(null), ue = ge({}), [H, Pe] = Y(null), Te = ge(null), Le = ge(
1173
+ }, [ie]);
1174
+ const $e = G(null), Ce = G({}), [ne, Le] = T(null), xe = G(null), De = G(
1779
1175
  {}
1780
- ), [Se, se] = Y(null);
1781
- Ye(() => {
1176
+ ), [Ne, Be] = T(null);
1177
+ se(() => {
1782
1178
  const o = () => {
1783
- const x = oe.current, D = ue.current[X];
1784
- if (!x || !D) {
1785
- Pe(null);
1179
+ const p = $e.current, x = Ce.current[q];
1180
+ if (!p || !x) {
1181
+ Le(null);
1786
1182
  return;
1787
1183
  }
1788
- const K = x.getBoundingClientRect(), M = D.getBoundingClientRect();
1789
- Pe({
1790
- left: M.left - K.left,
1791
- top: M.top - K.top,
1792
- width: M.width,
1793
- height: M.height
1184
+ const j = p.getBoundingClientRect(), D = x.getBoundingClientRect();
1185
+ Le({
1186
+ left: D.left - j.left,
1187
+ top: D.top - j.top,
1188
+ width: D.width,
1189
+ height: D.height
1794
1190
  });
1795
1191
  };
1796
1192
  return o(), window.addEventListener("resize", o), () => window.removeEventListener("resize", o);
1797
- }, [X, F, r, s]), Ye(() => {
1193
+ }, [q, L, t, a]), se(() => {
1798
1194
  const o = () => {
1799
- const x = Te.current, D = Le.current[z];
1800
- if (!x || !D) {
1801
- se(null);
1195
+ const p = xe.current, x = De.current[P];
1196
+ if (!p || !x) {
1197
+ Be(null);
1802
1198
  return;
1803
1199
  }
1804
- const K = x.getBoundingClientRect(), M = D.getBoundingClientRect();
1805
- se({
1806
- left: M.left - K.left,
1807
- width: M.width
1200
+ const j = p.getBoundingClientRect(), D = x.getBoundingClientRect();
1201
+ Be({
1202
+ left: D.left - j.left,
1203
+ width: D.width
1808
1204
  });
1809
1205
  };
1810
1206
  return o(), window.addEventListener("resize", o), () => window.removeEventListener("resize", o);
1811
- }, [z, P, r, s]);
1812
- const ie = (o) => {
1813
- Ke(o), u?.(o);
1814
- }, Me = (o) => {
1815
- te(o), d?.(o);
1816
- }, Be = (o) => {
1817
- Ce(o.start), g?.(o);
1818
- }, _e = (o) => {
1819
- Oe(o), ae(!1), S?.(o);
1207
+ }, [P, W, t, a]);
1208
+ const Ue = (o) => {
1209
+ pe(o), i?.(o);
1210
+ }, Ge = (o) => {
1211
+ K(o), l?.(o);
1212
+ }, Ye = (o) => {
1213
+ He(o.start), h?.(o);
1214
+ }, Je = (o) => {
1215
+ Ke(o), be(!1), b?.(o);
1820
1216
  };
1821
- return /* @__PURE__ */ t.jsxs("div", { className: Z(m.root, He), children: [
1822
- I && (ee ?? /* @__PURE__ */ t.jsx(Sr, { t: E })),
1823
- ve && (C ?? /* @__PURE__ */ t.jsx(Fr, { t: E })),
1824
- !v && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1825
- /* @__PURE__ */ t.jsxs("div", { className: m.languageRow, children: [
1826
- /* @__PURE__ */ t.jsx("span", { className: m.languageLabel, children: Ue ?? E?.("planConsultationLanguageLabel") ?? "Your consultation language" }),
1827
- /* @__PURE__ */ t.jsxs("div", { className: m.languageDropdown, ref: re, children: [
1828
- /* @__PURE__ */ t.jsxs(
1217
+ return /* @__PURE__ */ c("div", { className: z(_.root, ue), children: [
1218
+ w && (O ?? /* @__PURE__ */ e(Ba, { t: y })),
1219
+ k && ($ ?? /* @__PURE__ */ e(Ua, { t: y })),
1220
+ !f && /* @__PURE__ */ c(Me, { children: [
1221
+ /* @__PURE__ */ c("div", { className: _.languageRow, children: [
1222
+ /* @__PURE__ */ e("span", { className: _.languageLabel, children: J ?? y?.("planConsultationLanguageLabel") ?? "Your consultation language" }),
1223
+ /* @__PURE__ */ c("div", { className: _.languageDropdown, ref: fe, children: [
1224
+ /* @__PURE__ */ c(
1829
1225
  "button",
1830
1226
  {
1831
1227
  type: "button",
1832
- className: m.languageDropdownBtn,
1833
- onClick: () => ae((o) => !o),
1228
+ className: _.languageDropdownBtn,
1229
+ onClick: () => be((o) => !o),
1834
1230
  "aria-haspopup": "listbox",
1835
- "aria-expanded": de,
1231
+ "aria-expanded": ie,
1836
1232
  children: [
1837
- (Ne?.labelKey && E?.(Ne.labelKey)) ?? Ne?.label,
1838
- /* @__PURE__ */ t.jsx(fr, {})
1233
+ (ge?.labelKey && y?.(ge.labelKey)) ?? ge?.label,
1234
+ /* @__PURE__ */ e(Na, {})
1839
1235
  ]
1840
1236
  }
1841
1237
  ),
1842
- de && /* @__PURE__ */ t.jsx("ul", { className: m.languageMenu, role: "listbox", children: h.map((o) => {
1843
- const x = o.code === we;
1844
- return /* @__PURE__ */ t.jsxs(
1238
+ ie && /* @__PURE__ */ e("ul", { className: _.languageMenu, role: "listbox", children: m.map((o) => {
1239
+ const p = o.code === Te;
1240
+ return /* @__PURE__ */ c(
1845
1241
  "li",
1846
1242
  {
1847
1243
  role: "option",
1848
- "aria-selected": x,
1849
- className: Z(
1850
- m.languageMenuItem,
1851
- x && m.languageMenuItemSelected
1244
+ "aria-selected": p,
1245
+ className: z(
1246
+ _.languageMenuItem,
1247
+ p && _.languageMenuItemSelected
1852
1248
  ),
1853
- onClick: () => _e(o.code),
1249
+ onClick: () => Je(o.code),
1854
1250
  children: [
1855
- (o.labelKey && E?.(o.labelKey)) ?? o.label,
1856
- x && /* @__PURE__ */ t.jsx(_r, {})
1251
+ (o.labelKey && y?.(o.labelKey)) ?? o.label,
1252
+ p && /* @__PURE__ */ e(fa, {})
1857
1253
  ]
1858
1254
  },
1859
1255
  o.code
@@ -1861,115 +1257,118 @@ const cr = (a) => {
1861
1257
  }) })
1862
1258
  ] })
1863
1259
  ] }),
1864
- /* @__PURE__ */ t.jsx("hr", { className: m.languageDivider })
1260
+ /* @__PURE__ */ e("hr", { className: _.languageDivider })
1261
+ ] }),
1262
+ /* @__PURE__ */ c("div", { className: _.sectionHeadingRow, children: [
1263
+ /* @__PURE__ */ e("p", { className: _.sectionHeading, children: R ?? y?.("planSelectSlotHeading") ?? "Book your preferred consultation slot" }),
1264
+ Y && /* @__PURE__ */ e("p", { className: _.timezoneLabel, children: Y })
1865
1265
  ] }),
1866
- /* @__PURE__ */ t.jsx("p", { className: m.sectionHeading, children: $ ?? E?.("planSelectSlotHeading") ?? "Book your preferred consultation slot" }),
1867
- Ee === void 0 ? /* @__PURE__ */ t.jsxs("p", { className: m.reportReadyBanner, children: [
1868
- E?.("planReportReadyPrefix") ?? "Your Report will be ready in",
1266
+ Z === void 0 ? /* @__PURE__ */ c("p", { className: _.reportReadyBanner, children: [
1267
+ y?.("planReportReadyPrefix") ?? "Your Report will be ready in",
1869
1268
  " ",
1870
- /* @__PURE__ */ t.jsx("span", { className: m.reportReadyDuration, children: E?.("planReportReadyDuration") ?? "24-48 hours" }),
1269
+ /* @__PURE__ */ e("span", { className: _.reportReadyDuration, children: y?.("planReportReadyDuration") ?? "24-48 hours" }),
1871
1270
  " ",
1872
- E?.("planReportReadySuffix") ?? "from today"
1873
- ] }) : Ee,
1874
- r && /* @__PURE__ */ t.jsxs("div", { className: m.loadingWrap, "aria-busy": "true", "aria-live": "polite", children: [
1875
- /* @__PURE__ */ t.jsx("div", { className: m.skeletonDateTabs, children: Array.from({ length: 5 }).map((o, x) => /* @__PURE__ */ t.jsx("div", { className: Z(m.skeletonDateTab, m.skeletonShimmer) }, x)) }),
1876
- /* @__PURE__ */ t.jsx("div", { className: m.skeletonPeriodTabs, children: Array.from({ length: 3 }).map((o, x) => /* @__PURE__ */ t.jsx("div", { className: Z(m.skeletonPeriodTab, m.skeletonShimmer) }, x)) }),
1877
- /* @__PURE__ */ t.jsx("div", { className: m.skeletonTimeGrid, children: Array.from({ length: 6 }).map((o, x) => /* @__PURE__ */ t.jsx("div", { className: Z(m.skeletonTimeSlot, m.skeletonShimmer) }, x)) })
1271
+ y?.("planReportReadySuffix") ?? "from today"
1272
+ ] }) : Z,
1273
+ t && /* @__PURE__ */ c("div", { className: _.loadingWrap, "aria-busy": "true", "aria-live": "polite", children: [
1274
+ /* @__PURE__ */ e("div", { className: _.skeletonDateTabs, children: Array.from({ length: 5 }).map((o, p) => /* @__PURE__ */ e("div", { className: z(_.skeletonDateTab, _.skeletonShimmer) }, p)) }),
1275
+ /* @__PURE__ */ e("div", { className: _.skeletonPeriodTabs, children: Array.from({ length: 3 }).map((o, p) => /* @__PURE__ */ e("div", { className: z(_.skeletonPeriodTab, _.skeletonShimmer) }, p)) }),
1276
+ /* @__PURE__ */ e("div", { className: _.skeletonTimeGrid, children: Array.from({ length: 6 }).map((o, p) => /* @__PURE__ */ e("div", { className: z(_.skeletonTimeSlot, _.skeletonShimmer) }, p)) })
1878
1277
  ] }),
1879
- !r && s && /* @__PURE__ */ t.jsxs("div", { className: m.stateMessage, children: [
1880
- E?.("planSlotsLoadError") ?? "Couldn't load slots. Please try again.",
1881
- c && /* @__PURE__ */ t.jsx("button", { type: "button", className: m.retryBtn, onClick: c, children: E?.("planRetry") ?? "Retry" })
1278
+ !t && a && /* @__PURE__ */ c("div", { className: _.stateMessage, children: [
1279
+ y?.("planSlotsLoadError") ?? "Couldn't load slots. Please try again.",
1280
+ s && /* @__PURE__ */ e("button", { type: "button", className: _.retryBtn, onClick: s, children: y?.("planRetry") ?? "Retry" })
1882
1281
  ] }),
1883
- !r && !s && F.length === 0 && /* @__PURE__ */ t.jsxs("div", { className: m.emptyState, children: [
1884
- /* @__PURE__ */ t.jsx("span", { className: m.emptyStateIcon, children: /* @__PURE__ */ t.jsx(gr, {}) }),
1885
- /* @__PURE__ */ t.jsx("p", { className: m.emptyStateTitle, children: E?.("planNoSlotsAvailableTitle") ?? "No slots available" }),
1886
- /* @__PURE__ */ t.jsx("p", { className: m.emptyStateSubtitle, children: E?.("planNoSlotsAvailableSubtitle") ?? "Try a different consultation language above, or check back soon." })
1282
+ !t && !a && L.length === 0 && /* @__PURE__ */ c("div", { className: _.emptyState, children: [
1283
+ /* @__PURE__ */ e("span", { className: _.emptyStateIcon, children: /* @__PURE__ */ e(ka, {}) }),
1284
+ /* @__PURE__ */ e("p", { className: _.emptyStateTitle, children: y?.("planNoSlotsAvailableTitle") ?? "No slots available" }),
1285
+ /* @__PURE__ */ e("p", { className: _.emptyStateSubtitle, children: y?.("planNoSlotsAvailableSubtitle") ?? "Try a different consultation language above, or check back soon." })
1887
1286
  ] }),
1888
- !r && !s && F.length > 0 && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1889
- /* @__PURE__ */ t.jsxs(
1287
+ !t && !a && L.length > 0 && /* @__PURE__ */ c(Me, { children: [
1288
+ /* @__PURE__ */ c(
1890
1289
  "div",
1891
1290
  {
1892
- className: m.dateTabs,
1893
- ref: oe,
1291
+ className: _.dateTabs,
1292
+ ref: $e,
1894
1293
  role: "radiogroup",
1895
1294
  "aria-label": "Consultation date",
1896
1295
  children: [
1897
- H && /* @__PURE__ */ t.jsx(
1296
+ ne && /* @__PURE__ */ e(
1898
1297
  "span",
1899
1298
  {
1900
- className: m.dateTabIndicator,
1299
+ className: _.dateTabIndicator,
1901
1300
  style: {
1902
- transform: `translate(${H.left}px, ${H.top}px)`,
1903
- width: H.width,
1904
- height: H.height
1301
+ transform: `translate(${ne.left}px, ${ne.top}px)`,
1302
+ width: ne.width,
1303
+ height: ne.height
1905
1304
  },
1906
1305
  "aria-hidden": "true"
1907
1306
  }
1908
1307
  ),
1909
- F.map((o) => {
1910
- const x = o.date === X, { dayLabel: D, dayNum: K } = lr(o.date);
1911
- return /* @__PURE__ */ t.jsxs(qt, { children: [
1912
- /* @__PURE__ */ t.jsxs(
1308
+ L.map((o) => {
1309
+ const p = o.date === q, { dayLabel: x, dayNum: j } = pa(o.date);
1310
+ return /* @__PURE__ */ c(Ze, { children: [
1311
+ /* @__PURE__ */ c(
1913
1312
  "button",
1914
1313
  {
1915
1314
  type: "button",
1916
- ref: (M) => {
1917
- ue.current[o.date] = M;
1315
+ ref: (D) => {
1316
+ Ce.current[o.date] = D;
1918
1317
  },
1919
- className: Z(m.dateTab, x && m.dateTabSelected),
1318
+ className: z(_.dateTab, p && _.dateTabSelected),
1920
1319
  role: "radio",
1921
- "aria-checked": x,
1922
- onClick: () => ie(o.date),
1320
+ "aria-checked": p,
1321
+ onClick: () => Ue(o.date),
1923
1322
  children: [
1924
- /* @__PURE__ */ t.jsx("span", { className: m.dateTabLabel, children: E?.(D) ?? D }),
1925
- /* @__PURE__ */ t.jsx("span", { className: m.dateTabNum, children: K })
1323
+ /* @__PURE__ */ e("span", { className: _.dateTabLabel, children: y?.(x) ?? x }),
1324
+ /* @__PURE__ */ e("span", { className: _.dateTabNum, children: j })
1926
1325
  ]
1927
1326
  }
1928
1327
  ),
1929
- /* @__PURE__ */ t.jsx("span", { className: m.dateTabDivider, "aria-hidden": !0 })
1328
+ /* @__PURE__ */ e("span", { className: _.dateTabDivider, "aria-hidden": !0 })
1930
1329
  ] }, o.date);
1931
1330
  })
1932
1331
  ]
1933
1332
  }
1934
1333
  ),
1935
- /* @__PURE__ */ t.jsxs(
1334
+ /* @__PURE__ */ c(
1936
1335
  "div",
1937
1336
  {
1938
- className: m.periodTabs,
1939
- ref: Te,
1337
+ className: _.periodTabs,
1338
+ ref: xe,
1940
1339
  role: "tablist",
1941
1340
  "aria-label": "Time of day",
1942
1341
  children: [
1943
- Se && /* @__PURE__ */ t.jsx(
1342
+ Ne && /* @__PURE__ */ e(
1944
1343
  "span",
1945
1344
  {
1946
- className: m.periodTabIndicator,
1345
+ className: _.periodTabIndicator,
1947
1346
  style: {
1948
- transform: `translateX(${Se.left}px)`,
1949
- width: Se.width
1347
+ transform: `translateX(${Ne.left}px)`,
1348
+ width: Ne.width
1950
1349
  },
1951
1350
  "aria-hidden": "true"
1952
1351
  }
1953
1352
  ),
1954
- P.map((o) => {
1955
- const x = Ro[o], D = o === "evening" && ze, K = D ? "planPeriodEveningNight" : $o[o];
1956
- return /* @__PURE__ */ t.jsxs(
1353
+ W.map((o) => {
1354
+ const p = Eo[o], x = o === "evening" && ee, j = x ? "planPeriodEveningNight" : Oo[o];
1355
+ return /* @__PURE__ */ c(
1957
1356
  "button",
1958
1357
  {
1959
- ref: (M) => {
1960
- Le.current[o] = M;
1358
+ ref: (D) => {
1359
+ De.current[o] = D;
1961
1360
  },
1962
1361
  type: "button",
1963
- className: Z(
1964
- m.periodTab,
1965
- o === z && m.periodTabSelected
1362
+ className: z(
1363
+ _.periodTab,
1364
+ o === P && _.periodTabSelected
1966
1365
  ),
1967
1366
  role: "tab",
1968
- "aria-selected": o === z,
1969
- onClick: () => Me(o),
1367
+ "aria-selected": o === P,
1368
+ onClick: () => Ge(o),
1970
1369
  children: [
1971
- /* @__PURE__ */ t.jsx(x, {}),
1972
- E?.(K) ?? (D ? "Evening/Night" : o.charAt(0).toUpperCase() + o.slice(1))
1370
+ /* @__PURE__ */ e(p, {}),
1371
+ y?.(j) ?? (x ? "Evening/Night" : o.charAt(0).toUpperCase() + o.slice(1))
1973
1372
  ]
1974
1373
  },
1975
1374
  o
@@ -1978,43 +1377,46 @@ const cr = (a) => {
1978
1377
  ]
1979
1378
  }
1980
1379
  ),
1981
- /* @__PURE__ */ t.jsx(
1380
+ /* @__PURE__ */ e(
1982
1381
  "div",
1983
1382
  {
1984
- className: m.timeGrid,
1383
+ className: _.timeGrid,
1985
1384
  role: "radiogroup",
1986
1385
  "aria-label": "Consultation time",
1987
- children: ne.map((o, x) => /* @__PURE__ */ t.jsx(
1386
+ children: ce.map((o, p) => /* @__PURE__ */ e(
1988
1387
  "button",
1989
1388
  {
1990
1389
  type: "button",
1991
- className: Z(
1992
- m.timeSlot,
1993
- je === o.start && m.timeSlotSelected
1390
+ className: z(
1391
+ _.timeSlot,
1392
+ Ie === o.start && _.timeSlotSelected,
1393
+ o.disabled && _.timeSlotDisabled
1994
1394
  ),
1995
1395
  role: "radio",
1996
- "aria-checked": je === o.start,
1997
- onClick: () => Be(o),
1998
- children: cr(o.start)
1396
+ "aria-checked": Ie === o.start,
1397
+ "aria-disabled": o.disabled || void 0,
1398
+ disabled: o.disabled,
1399
+ onClick: () => !o.disabled && Ye(o),
1400
+ children: ua(o.start)
1999
1401
  },
2000
- `${o.start}-${x}`
1402
+ `${o.start}-${p}`
2001
1403
  ))
2002
1404
  },
2003
- `${X}-${z}`
1405
+ `${q}-${P}`
2004
1406
  )
2005
1407
  ] })
2006
1408
  ] });
2007
- }, yt = "+05:30", Io = (a) => {
2008
- const r = String(a.getMonth() + 1).padStart(2, "0"), s = String(a.getDate()).padStart(2, "0");
2009
- return `${a.getFullYear()}-${r}-${s}`;
2010
- }, Eo = (a, r, s, c) => {
2011
- const l = (d) => String(d).padStart(2, "0"), u = s + 30, _ = r + Math.floor(u / 60);
1409
+ }, qe = "+05:30", Fo = (n) => {
1410
+ const t = String(n.getMonth() + 1).padStart(2, "0"), a = String(n.getDate()).padStart(2, "0");
1411
+ return `${n.getFullYear()}-${t}-${a}`;
1412
+ }, qo = (n, t, a, s) => {
1413
+ const r = (l) => String(l).padStart(2, "0"), i = a + 30, d = t + Math.floor(i / 60);
2012
1414
  return {
2013
- start: `${a}T${l(r)}:${l(s)}:00${yt}`,
2014
- end: `${a}T${l(_)}:${l(u % 60)}:00${yt}`,
2015
- period: c
1415
+ start: `${n}T${r(t)}:${r(a)}:00${qe}`,
1416
+ end: `${n}T${r(d)}:${r(i % 60)}:00${qe}`,
1417
+ period: s
2016
1418
  };
2017
- }, Co = {
1419
+ }, Wo = {
2018
1420
  morning: [
2019
1421
  [9, 0],
2020
1422
  [9, 30],
@@ -2036,54 +1438,459 @@ const cr = (a) => {
2036
1438
  [19, 0],
2037
1439
  [20, 0]
2038
1440
  ]
2039
- }, Ie = (a, r) => {
2040
- const s = /* @__PURE__ */ new Date();
2041
- s.setDate(s.getDate() + a);
2042
- const c = Io(s), l = r.flatMap(
2043
- (u) => Co[u].map(([_, d]) => Eo(c, _, d, u))
1441
+ }, ae = (n, t) => {
1442
+ const a = /* @__PURE__ */ new Date();
1443
+ a.setDate(a.getDate() + n);
1444
+ const s = Fo(a), r = t.flatMap(
1445
+ (i) => Wo[i].map(([d, l]) => qo(s, d, l, i))
2044
1446
  );
2045
- return { date: c, has_availability: l.length > 0, slots: l };
2046
- }, Do = [
2047
- Ie(0, ["morning", "afternoon", "evening"]),
2048
- Ie(1, ["morning", "afternoon"]),
2049
- Ie(2, ["afternoon", "evening"]),
2050
- Ie(3, ["morning", "evening"]),
2051
- Ie(4, ["morning", "afternoon", "evening"])
2052
- ], ns = Do.map((a) => ({
2053
- ...a,
1447
+ return { date: s, has_availability: r.length > 0, slots: r };
1448
+ }, jo = [
1449
+ ae(0, ["morning", "afternoon", "evening"]),
1450
+ ae(1, ["morning", "afternoon"]),
1451
+ ae(2, ["afternoon", "evening"]),
1452
+ ae(3, ["morning", "evening"]),
1453
+ ae(4, ["morning", "afternoon", "evening"])
1454
+ ], dr = jo.map((n) => ({
1455
+ ...n,
2054
1456
  has_availability: !1,
2055
1457
  slots: []
2056
- }));
1458
+ })), Ho = () => /* @__PURE__ */ e(
1459
+ "svg",
1460
+ {
1461
+ width: "14",
1462
+ height: "14",
1463
+ viewBox: "0 0 24 24",
1464
+ fill: "none",
1465
+ stroke: "currentColor",
1466
+ strokeWidth: "2.2",
1467
+ strokeLinecap: "round",
1468
+ strokeLinejoin: "round",
1469
+ "aria-hidden": !0,
1470
+ children: /* @__PURE__ */ e("path", { d: "M6 9l6 6 6-6" })
1471
+ }
1472
+ ), zo = [
1473
+ { name: "United States", code: "+1", iso: "US" },
1474
+ { name: "United Kingdom", code: "+44", iso: "GB" },
1475
+ { name: "Australia", code: "+61", iso: "AU" },
1476
+ { name: "Canada", code: "+1", iso: "CA" },
1477
+ { name: "United Arab Emirates", code: "+971", iso: "AE" },
1478
+ { name: "Singapore", code: "+65", iso: "SG" },
1479
+ { name: "New Zealand", code: "+64", iso: "NZ" },
1480
+ { name: "Mauritius", code: "+230", iso: "MU" },
1481
+ { name: "Netherlands", code: "+31", iso: "NL" },
1482
+ { name: "Malaysia", code: "+60", iso: "MY" },
1483
+ { name: "Germany", code: "+49", iso: "DE" },
1484
+ { name: "South Africa", code: "+27", iso: "ZA" },
1485
+ { name: "Qatar", code: "+974", iso: "QA" },
1486
+ { name: "Ireland", code: "+353", iso: "IE" },
1487
+ { name: "Oman", code: "+968", iso: "OM" },
1488
+ { name: "Saudi Arabia", code: "+966", iso: "SA" },
1489
+ { name: "Hong Kong", code: "+852", iso: "HK" },
1490
+ { name: "France", code: "+33", iso: "FR" },
1491
+ { name: "Switzerland", code: "+41", iso: "CH" },
1492
+ { name: "Bahrain", code: "+973", iso: "BH" },
1493
+ { name: "Trinidad and Tobago", code: "+1-868", iso: "TT" },
1494
+ { name: "Kuwait", code: "+965", iso: "KW" },
1495
+ { name: "Belgium", code: "+32", iso: "BE" },
1496
+ { name: "Japan", code: "+81", iso: "JP" },
1497
+ { name: "Italy", code: "+39", iso: "IT" },
1498
+ { name: "Spain", code: "+34", iso: "ES" },
1499
+ { name: "Norway", code: "+47", iso: "NO" },
1500
+ { name: "Sweden", code: "+46", iso: "SE" },
1501
+ { name: "Portugal", code: "+351", iso: "PT" },
1502
+ { name: "Poland", code: "+48", iso: "PL" },
1503
+ { name: "Denmark", code: "+45", iso: "DK" },
1504
+ { name: "Nepal", code: "+977", iso: "NP" },
1505
+ { name: "Bangladesh", code: "+880", iso: "BD" },
1506
+ { name: "Kenya", code: "+254", iso: "KE" },
1507
+ { name: "Mexico", code: "+52", iso: "MX" },
1508
+ { name: "Czechia", code: "+420", iso: "CZ" },
1509
+ { name: "Indonesia", code: "+62", iso: "ID" },
1510
+ { name: "Taiwan", code: "+886", iso: "TW" },
1511
+ { name: "Fiji", code: "+679", iso: "FJ" },
1512
+ { name: "Guyana", code: "+592", iso: "GY" },
1513
+ { name: "Finland", code: "+358", iso: "FI" },
1514
+ { name: "Nigeria", code: "+234", iso: "NG" },
1515
+ { name: "Jamaica", code: "+1-876", iso: "JM" },
1516
+ { name: "Sri Lanka", code: "+94", iso: "LK" },
1517
+ { name: "Thailand", code: "+66", iso: "TH" },
1518
+ { name: "Hungary", code: "+36", iso: "HU" },
1519
+ { name: "Tanzania", code: "+255", iso: "TZ" },
1520
+ { name: "Sint Maarten", code: "+1-721", iso: "SX" },
1521
+ { name: "Philippines", code: "+63", iso: "PH" },
1522
+ { name: "Estonia", code: "+372", iso: "EE" },
1523
+ { name: "Ukraine", code: "+380", iso: "UA" },
1524
+ { name: "Austria", code: "+43", iso: "AT" },
1525
+ { name: "Réunion", code: "+262", iso: "RE" },
1526
+ { name: "India", code: "+91", iso: "IN" }
1527
+ ], Ko = (n) => {
1528
+ if (!n || n.length !== 2) return "🏳️";
1529
+ const t = n.toUpperCase().split("").map((a) => 127397 + a.charCodeAt(0));
1530
+ return String.fromCodePoint(...t);
1531
+ }, Uo = ({
1532
+ countryCode: n,
1533
+ contactNumber: t,
1534
+ countries: a,
1535
+ onCountryCodeChange: s,
1536
+ onPhoneNumberChange: r,
1537
+ onValidationChange: i,
1538
+ onDropdownFocus: d,
1539
+ onInputFocus: l
1540
+ }) => {
1541
+ const [u, h] = T(!1), f = a.find((k) => k.code === n) ?? a[0], m = Re(n), g = le(
1542
+ (k) => {
1543
+ if (s(k.code, k.name), h(!1), t && i) {
1544
+ const { isValid: $, error: R } = Pe(t, k.code);
1545
+ i($, R);
1546
+ }
1547
+ },
1548
+ [t, s, i]
1549
+ ), b = le(
1550
+ (k) => {
1551
+ const R = k.target.value.replace(/[^\d]/g, "").slice(0, Re(n));
1552
+ if (r(R), i) {
1553
+ const { isValid: Y, error: J } = Pe(R, n);
1554
+ i(Y, J);
1555
+ }
1556
+ },
1557
+ [n, r, i]
1558
+ ), w = le(() => {
1559
+ h((k) => (k || d?.(n), !k));
1560
+ }, [n, d]), O = le(() => {
1561
+ h(!1), l?.(n);
1562
+ }, [n, l]);
1563
+ return {
1564
+ isDropdownOpen: u,
1565
+ selectedCountry: f,
1566
+ maxLength: m,
1567
+ handleCountrySelect: g,
1568
+ handlePhoneChange: b,
1569
+ handleDropdownToggle: w,
1570
+ handlePhoneFocus: O,
1571
+ closeDropdown: () => h(!1)
1572
+ };
1573
+ }, Go = "_root_3ywyc_2", Yo = "_label_3ywyc_9", Jo = "_row_3ywyc_17", Zo = "_dropdownWrap_3ywyc_23", Xo = "_dropdownBtn_3ywyc_29", Qo = "_dropdownMenu_3ywyc_50", Vo = "_dropdownItem_3ywyc_64", es = "_dropdownItemCode_3ywyc_80", ns = "_dropdownItemName_3ywyc_85", ts = "_flagImg_3ywyc_93", as = "_flagEmoji_3ywyc_97", os = "_input_3ywyc_102", ss = "_inputError_3ywyc_121", rs = "_helper_3ywyc_129", cs = "_error_3ywyc_137", S = {
1574
+ root: Go,
1575
+ label: Yo,
1576
+ row: Jo,
1577
+ dropdownWrap: Zo,
1578
+ dropdownBtn: Xo,
1579
+ dropdownMenu: Qo,
1580
+ dropdownItem: Vo,
1581
+ dropdownItemCode: es,
1582
+ dropdownItemName: ns,
1583
+ flagImg: ts,
1584
+ flagEmoji: as,
1585
+ input: os,
1586
+ inputError: ss,
1587
+ helper: rs,
1588
+ error: cs
1589
+ }, We = (...n) => n.filter(Boolean).join(" "), _r = ({
1590
+ countryCode: n,
1591
+ contactNumber: t,
1592
+ error: a,
1593
+ label: s,
1594
+ helperText: r,
1595
+ countries: i = zo,
1596
+ getFlagUrl: d,
1597
+ onCountryCodeChange: l,
1598
+ onPhoneNumberChange: u,
1599
+ onValidationChange: h,
1600
+ onDropdownFocus: f,
1601
+ onInputFocus: m,
1602
+ inputRef: g,
1603
+ t: b,
1604
+ className: w = ""
1605
+ }) => {
1606
+ const [O, k] = T(i[0]?.code ?? "+91"), [$, R] = T(""), Y = n ?? O, J = t ?? $, Z = G(null), {
1607
+ isDropdownOpen: ee,
1608
+ selectedCountry: y,
1609
+ maxLength: ue,
1610
+ handleCountrySelect: L,
1611
+ handlePhoneChange: re,
1612
+ handleDropdownToggle: pe,
1613
+ handlePhoneFocus: q,
1614
+ closeDropdown: F
1615
+ } = Uo({
1616
+ countryCode: Y,
1617
+ contactNumber: J,
1618
+ countries: i,
1619
+ onCountryCodeChange: (N, K) => {
1620
+ k(N), l?.(N, K);
1621
+ },
1622
+ onPhoneNumberChange: (N) => {
1623
+ R(N), u?.(N);
1624
+ },
1625
+ onValidationChange: h,
1626
+ onDropdownFocus: f,
1627
+ onInputFocus: m
1628
+ });
1629
+ se(() => {
1630
+ const N = (K) => {
1631
+ Z.current && !Z.current.contains(K.target) && F();
1632
+ };
1633
+ return ee && document.addEventListener("mousedown", N), () => document.removeEventListener("mousedown", N);
1634
+ }, [ee, F]);
1635
+ const W = (N, K) => {
1636
+ const P = N ? d?.(N) : null;
1637
+ 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: Ko(N) });
1638
+ };
1639
+ return /* @__PURE__ */ c("div", { className: We(S.root, w), children: [
1640
+ s && /* @__PURE__ */ e("div", { className: S.label, children: s }),
1641
+ /* @__PURE__ */ c("div", { className: S.row, children: [
1642
+ /* @__PURE__ */ c("div", { className: S.dropdownWrap, ref: Z, children: [
1643
+ /* @__PURE__ */ c("button", { type: "button", className: S.dropdownBtn, onClick: pe, children: [
1644
+ W(y?.iso, y?.name ?? "Flag"),
1645
+ /* @__PURE__ */ e("span", { children: y?.code ?? "+91" }),
1646
+ /* @__PURE__ */ e(Ho, {})
1647
+ ] }),
1648
+ ee && /* @__PURE__ */ e("div", { className: S.dropdownMenu, role: "listbox", children: i.map((N) => /* @__PURE__ */ c(
1649
+ "button",
1650
+ {
1651
+ type: "button",
1652
+ role: "option",
1653
+ "aria-selected": N.code === y?.code,
1654
+ className: S.dropdownItem,
1655
+ onClick: () => L(N),
1656
+ children: [
1657
+ W(N.iso, N.name),
1658
+ /* @__PURE__ */ e("span", { className: S.dropdownItemCode, children: N.code }),
1659
+ /* @__PURE__ */ e("span", { className: S.dropdownItemName, children: N.name })
1660
+ ]
1661
+ },
1662
+ `${N.code}-${N.iso}`
1663
+ )) })
1664
+ ] }),
1665
+ /* @__PURE__ */ e(
1666
+ "input",
1667
+ {
1668
+ type: "tel",
1669
+ inputMode: "numeric",
1670
+ autoComplete: "off",
1671
+ value: J,
1672
+ maxLength: ue,
1673
+ ref: g,
1674
+ className: We(S.input, a && S.inputError),
1675
+ placeholder: b?.("planPhoneNumberPlaceholder") ?? "0000000000",
1676
+ onChange: re,
1677
+ onFocus: q
1678
+ }
1679
+ )
1680
+ ] }),
1681
+ r && /* @__PURE__ */ e("div", { className: S.helper, children: r }),
1682
+ a && /* @__PURE__ */ e("p", { className: S.error, children: a })
1683
+ ] });
1684
+ }, is = () => /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e(
1685
+ "path",
1686
+ {
1687
+ 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",
1688
+ fill: "#F59E0B",
1689
+ stroke: "#F59E0B",
1690
+ strokeWidth: "1.2",
1691
+ strokeLinecap: "round",
1692
+ strokeLinejoin: "round"
1693
+ }
1694
+ ) }), ls = () => /* @__PURE__ */ e("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e(
1695
+ "path",
1696
+ {
1697
+ fillRule: "evenodd",
1698
+ clipRule: "evenodd",
1699
+ 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",
1700
+ fill: "#F97316"
1701
+ }
1702
+ ) }), ds = "_card_1mv2d_3", _s = "_cardSelected_1mv2d_25", ms = "_photoWrap_1mv2d_32", hs = "_photoFrame_1mv2d_38", us = "_photoImg_1mv2d_46", ps = "_ratingPill_1mv2d_52", gs = "_ratingValue_1mv2d_67", bs = "_info_1mv2d_75", fs = "_name_1mv2d_85", Ns = "_meta_1mv2d_96", vs = "_languages_1mv2d_104", ws = "_consultationCount_1mv2d_114", ys = "_checkIcon_1mv2d_122", ks = "_recommendedBadge_1mv2d_127", Ss = "_recommendedLabel_1mv2d_149", I = {
1703
+ card: ds,
1704
+ cardSelected: _s,
1705
+ photoWrap: ms,
1706
+ photoFrame: hs,
1707
+ photoImg: us,
1708
+ ratingPill: ps,
1709
+ ratingValue: gs,
1710
+ info: bs,
1711
+ name: fs,
1712
+ meta: Ns,
1713
+ languages: vs,
1714
+ consultationCount: ws,
1715
+ checkIcon: ys,
1716
+ recommendedBadge: ks,
1717
+ recommendedLabel: Ss
1718
+ }, Is = "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 = ({
1719
+ photoUrl: n,
1720
+ name: t,
1721
+ rating: a,
1722
+ fallbackPhotoUrl: s = Is
1723
+ }) => /* @__PURE__ */ c("div", { className: I.photoWrap, children: [
1724
+ /* @__PURE__ */ e("div", { className: I.photoFrame, children: /* @__PURE__ */ e(
1725
+ "img",
1726
+ {
1727
+ src: n || s,
1728
+ alt: t,
1729
+ width: 64,
1730
+ height: 78,
1731
+ className: I.photoImg,
1732
+ onError: (r) => {
1733
+ r.target.src = s;
1734
+ }
1735
+ }
1736
+ ) }),
1737
+ /* @__PURE__ */ c("div", { className: I.ratingPill, children: [
1738
+ /* @__PURE__ */ e("span", { className: I.ratingValue, children: a }),
1739
+ /* @__PURE__ */ e(is, {})
1740
+ ] })
1741
+ ] }), $s = ({ label: n, t }) => /* @__PURE__ */ e("div", { className: I.recommendedBadge, children: /* @__PURE__ */ e("span", { className: I.recommendedLabel, children: n ?? t?.("planRecommendedAstrologer") ?? "Recommended" }) }), Cs = (...n) => n.filter(Boolean).join(" "), Ls = (n) => {
1742
+ if (n >= 1e3) {
1743
+ const t = n / 1e3;
1744
+ return `${Number.isInteger(t) ? t : t.toFixed(1)}K consultations`;
1745
+ }
1746
+ return `${n} consultations`;
1747
+ }, xs = ({
1748
+ astrologer: n,
1749
+ isSelected: t = !1,
1750
+ onClick: a,
1751
+ fallbackPhotoUrl: s,
1752
+ formatConsultationCount: r = Ls
1753
+ }) => /* @__PURE__ */ c(
1754
+ "button",
1755
+ {
1756
+ type: "button",
1757
+ onClick: () => a?.(n),
1758
+ className: Cs(I.card, t && I.cardSelected),
1759
+ children: [
1760
+ /* @__PURE__ */ e(
1761
+ Ts,
1762
+ {
1763
+ photoUrl: n.photo_url,
1764
+ name: n.name,
1765
+ rating: n.rating,
1766
+ fallbackPhotoUrl: s
1767
+ }
1768
+ ),
1769
+ /* @__PURE__ */ c("div", { className: I.info, children: [
1770
+ /* @__PURE__ */ e("span", { className: I.name, children: n.name }),
1771
+ /* @__PURE__ */ c("div", { className: I.meta, children: [
1772
+ /* @__PURE__ */ e("span", { className: I.languages, children: n.languages.join(", ") }),
1773
+ /* @__PURE__ */ e("span", { className: I.consultationCount, children: r(n.consultation_count) })
1774
+ ] })
1775
+ ] }),
1776
+ t && /* @__PURE__ */ e("div", { className: I.checkIcon, children: /* @__PURE__ */ e(ls, {}) }),
1777
+ n.is_recommended && /* @__PURE__ */ e($s, {})
1778
+ ]
1779
+ }
1780
+ ), Ds = "_wrapper_vfs2z_41", Bs = "_ribbon_vfs2z_8", Ms = "_fold_vfs2z_64", Rs = "_label_vfs2z_74", he = {
1781
+ wrapper: Ds,
1782
+ ribbon: Bs,
1783
+ fold: Ms,
1784
+ label: Rs
1785
+ }, mr = ({
1786
+ label: n,
1787
+ t,
1788
+ className: a
1789
+ }) => /* @__PURE__ */ c("div", { className: [he.wrapper, a].filter(Boolean).join(" "), children: [
1790
+ /* @__PURE__ */ e("div", { className: he.ribbon, children: /* @__PURE__ */ e("span", { className: he.label, children: n ?? t?.("planRecommendedAstrologer") ?? "Recommended" }) }),
1791
+ /* @__PURE__ */ e("div", { className: he.fold })
1792
+ ] }), Ps = "_section_jbaga_2", As = "_title_jbaga_6", Es = "_row_jbaga_13", Os = "_skeletonCard_jbaga_26", Fs = "_skeletonShimmer_jbaga_33", oe = {
1793
+ section: Ps,
1794
+ title: As,
1795
+ row: Es,
1796
+ skeletonCard: Os,
1797
+ skeletonShimmer: Fs
1798
+ }, je = (...n) => n.filter(Boolean).join(" "), hr = ({
1799
+ astrologers: n,
1800
+ loading: t = !1,
1801
+ selectedAstrologerId: a,
1802
+ onAstrologerSelect: s,
1803
+ title: r,
1804
+ fallbackPhotoUrl: i,
1805
+ formatConsultationCount: d,
1806
+ t: l,
1807
+ className: u = ""
1808
+ }) => {
1809
+ const [h, f] = T(""), m = a ?? h, g = (b) => {
1810
+ f(b.astrologer_id), s?.(b);
1811
+ };
1812
+ return /* @__PURE__ */ c("section", { className: je(oe.section, u), children: [
1813
+ /* @__PURE__ */ e("p", { className: oe.title, children: r ?? l?.("planSelectAstrologerHeading") ?? "Select an astrologer" }),
1814
+ /* @__PURE__ */ e("div", { className: oe.row, role: "radiogroup", "aria-label": "Astrologer", children: t ? Array.from({ length: 2 }).map((b, w) => /* @__PURE__ */ e("div", { className: je(oe.skeletonCard, oe.skeletonShimmer) }, w)) : n.map((b) => /* @__PURE__ */ e(
1815
+ xs,
1816
+ {
1817
+ astrologer: b,
1818
+ isSelected: b.astrologer_id === m,
1819
+ onClick: g,
1820
+ fallbackPhotoUrl: i,
1821
+ formatConsultationCount: d
1822
+ },
1823
+ b.astrologer_id
1824
+ )) })
1825
+ ] });
1826
+ }, ur = [
1827
+ {
1828
+ astrologer_id: "astro-1",
1829
+ name: "Pandit Ramesh Sharma",
1830
+ photo_url: "",
1831
+ languages: ["Hindi", "English"],
1832
+ rating: 4.8,
1833
+ consultation_count: 12500,
1834
+ is_recommended: !0
1835
+ },
1836
+ {
1837
+ astrologer_id: "astro-2",
1838
+ name: "Dr. Anjali Mehta",
1839
+ photo_url: "",
1840
+ languages: ["English", "Gujarati"],
1841
+ rating: 4.6,
1842
+ consultation_count: 870
1843
+ },
1844
+ {
1845
+ astrologer_id: "astro-3",
1846
+ name: "Acharya Vivek Joshi",
1847
+ photo_url: "",
1848
+ languages: ["Hindi", "Marathi", "English"],
1849
+ rating: 4.9,
1850
+ consultation_count: 3400
1851
+ }
1852
+ ];
2057
1853
  export {
2058
- Fr as AstrologyProfilesSection,
2059
- ur as CONSULTATION_LANGUAGE_OPTIONS,
2060
- dr as CONSULTATION_PERIOD_ORDER,
2061
- er as CircularMarquee,
2062
- ts as ConsultationSlotSelector,
2063
- es as ContactUsSection,
2064
- Mo as FAQAccordion,
2065
- Qo as FooterCTAButton,
2066
- Xo as FooterShell,
2067
- Vo as FormCheckboxWithHelp,
2068
- Ao as FormContainer,
2069
- Uo as FormDateInput,
2070
- Wo as FormField,
2071
- Jo as FormFooterNote,
2072
- Ho as FormLocationInput,
2073
- Fo as FormSectionHeader,
2074
- Ko as FormSegmentedControl,
2075
- Go as FormTagPills,
2076
- Yo as FormTextInput,
2077
- zo as FormTimeInput,
2078
- Do as MOCK_SLOT_DAYS,
2079
- ns as MOCK_SLOT_DAYS_EMPTY,
2080
- Zo as MarqueeStrip,
2081
- Bo as PageHeader,
2082
- Sr as PhoneNumberSection,
2083
- qo as PrivacyBanner,
2084
- Lo as UserReviewsSection,
2085
- be as footerShellStyles,
2086
- lr as formatSlotDayLabel,
2087
- cr as formatSlotTime
1854
+ xs as AstrologerCard,
1855
+ hr as AstrologerList,
1856
+ Ts as AstrologerPhoto,
1857
+ Ua as AstrologyProfilesSection,
1858
+ ba as CONSULTATION_LANGUAGE_OPTIONS,
1859
+ ga as CONSULTATION_PERIOD_ORDER,
1860
+ ra as CircularMarquee,
1861
+ lr as ConsultationSlotSelector,
1862
+ ir as ContactUsSection,
1863
+ zo as DEFAULT_COUNTRIES,
1864
+ Ks as FAQAccordion,
1865
+ rr as FooterCTAButton,
1866
+ sr as FooterShell,
1867
+ ar as FormCheckboxWithHelp,
1868
+ Gs as FormContainer,
1869
+ Qs as FormDateInput,
1870
+ Zs as FormField,
1871
+ or as FormFooterNote,
1872
+ er as FormLocationInput,
1873
+ Ys as FormSectionHeader,
1874
+ nr as FormSegmentedControl,
1875
+ tr as FormTagPills,
1876
+ Xs as FormTextInput,
1877
+ Vs as FormTimeInput,
1878
+ ur as MOCK_ASTROLOGERS,
1879
+ jo as MOCK_SLOT_DAYS,
1880
+ dr as MOCK_SLOT_DAYS_EMPTY,
1881
+ cr as MarqueeStrip,
1882
+ Us as PageHeader,
1883
+ _r as PhoneNumberInput,
1884
+ Ba as PhoneNumberSection,
1885
+ Js as PrivacyBanner,
1886
+ $s as RecommendedBadge,
1887
+ mr as RecommendedRibbon,
1888
+ zs as UserReviewsSection,
1889
+ V as footerShellStyles,
1890
+ pa as formatSlotDayLabel,
1891
+ ua as formatSlotTime,
1892
+ Ko as getFlagEmoji,
1893
+ br as getMaxLengthForCountry,
1894
+ fr as validatePhoneByCountryCode
2088
1895
  };
2089
1896
  //# sourceMappingURL=index.js.map