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