@srimandir/pitru-paksh-common 2.7.1 → 2.8.0
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/components/L2Card/L2Card.d.ts +1 -1
- package/dist/components/PujaDetailsForm/PujaDetailsForm.types.d.ts +3 -4
- package/dist/components/SelectorCard/SelectorCard.d.ts +4 -13
- package/dist/pitru-paksh-common.js +1237 -1264
- package/dist/pitru-paksh-common.umd.cjs +8 -8
- package/dist/style.css +1 -1
- package/package.json +4 -3
- package/dist/pitru-paksh-common.d.ts +0 -82
|
@@ -1,77 +1,76 @@
|
|
|
1
|
-
import { cn as
|
|
2
|
-
import { cn as
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
5
|
-
import { cva as
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
for (p in x) n.call(x, p) && !c.hasOwnProperty(p) && (d[p] = x[p]);
|
|
1
|
+
import { cn as c, BottomSheet as Le, DEFAULT_COUNTRIES as ha, getMaxLengthForCountry as Ie, validatePhoneByCountryCode as St, getFlagEmoji as Me } from "@srimandir/common";
|
|
2
|
+
import { cn as os } from "@srimandir/common";
|
|
3
|
+
import * as ma from "react";
|
|
4
|
+
import _, { useState as $, useMemo as ba, useRef as Tt, useEffect as Rt } from "react";
|
|
5
|
+
import { cva as ga } from "class-variance-authority";
|
|
6
|
+
import va from "react-player";
|
|
7
|
+
var ye = { exports: {} }, de = {};
|
|
8
|
+
var it;
|
|
9
|
+
function ja() {
|
|
10
|
+
if (it) return de;
|
|
11
|
+
it = 1;
|
|
12
|
+
var t = _, r = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
13
|
+
function u(f, x, b) {
|
|
14
|
+
var p, d = {}, v = null, g = null;
|
|
15
|
+
b !== void 0 && (v = "" + b), x.key !== void 0 && (v = "" + x.key), x.ref !== void 0 && (g = x.ref);
|
|
16
|
+
for (p in x) n.call(x, p) && !o.hasOwnProperty(p) && (d[p] = x[p]);
|
|
18
17
|
if (f && f.defaultProps) for (p in x = f.defaultProps, x) d[p] === void 0 && (d[p] = x[p]);
|
|
19
|
-
return { $$typeof: r, type: f, key:
|
|
18
|
+
return { $$typeof: r, type: f, key: v, ref: g, props: d, _owner: i.current };
|
|
20
19
|
}
|
|
21
|
-
return
|
|
20
|
+
return de.Fragment = s, de.jsx = u, de.jsxs = u, de;
|
|
22
21
|
}
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
function
|
|
26
|
-
return
|
|
27
|
-
var t =
|
|
28
|
-
function
|
|
22
|
+
var ue = {};
|
|
23
|
+
var ot;
|
|
24
|
+
function ya() {
|
|
25
|
+
return ot || (ot = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
26
|
+
var t = _, r = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), i = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), u = /* @__PURE__ */ Symbol.for("react.provider"), f = /* @__PURE__ */ Symbol.for("react.context"), x = /* @__PURE__ */ Symbol.for("react.forward_ref"), b = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), d = /* @__PURE__ */ Symbol.for("react.memo"), v = /* @__PURE__ */ Symbol.for("react.lazy"), g = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator, L = "@@iterator";
|
|
27
|
+
function k(a) {
|
|
29
28
|
if (a === null || typeof a != "object")
|
|
30
29
|
return null;
|
|
31
|
-
var l = j && a[j] || a[
|
|
30
|
+
var l = j && a[j] || a[L];
|
|
32
31
|
return typeof l == "function" ? l : null;
|
|
33
32
|
}
|
|
34
|
-
var
|
|
35
|
-
function
|
|
33
|
+
var y = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
34
|
+
function N(a) {
|
|
36
35
|
{
|
|
37
36
|
for (var l = arguments.length, m = new Array(l > 1 ? l - 1 : 0), w = 1; w < l; w++)
|
|
38
37
|
m[w - 1] = arguments[w];
|
|
39
|
-
|
|
38
|
+
S("error", a, m);
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
|
-
function
|
|
41
|
+
function S(a, l, m) {
|
|
43
42
|
{
|
|
44
|
-
var w =
|
|
45
|
-
|
|
46
|
-
var
|
|
47
|
-
return String(
|
|
43
|
+
var w = y.ReactDebugCurrentFrame, T = w.getStackAddendum();
|
|
44
|
+
T !== "" && (l += "%s", m = m.concat([T]));
|
|
45
|
+
var z = m.map(function(P) {
|
|
46
|
+
return String(P);
|
|
48
47
|
});
|
|
49
|
-
|
|
48
|
+
z.unshift("Warning: " + l), Function.prototype.apply.call(console[a], console, z);
|
|
50
49
|
}
|
|
51
50
|
}
|
|
52
|
-
var
|
|
53
|
-
|
|
54
|
-
function
|
|
55
|
-
return !!(typeof a == "string" || typeof a == "function" || a === n || a ===
|
|
51
|
+
var h = !1, O = !1, H = !1, B = !1, Y = !1, ae;
|
|
52
|
+
ae = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
53
|
+
function I(a) {
|
|
54
|
+
return !!(typeof a == "string" || typeof a == "function" || a === n || a === o || Y || a === i || a === b || a === p || B || a === g || h || O || H || typeof a == "object" && a !== null && (a.$$typeof === v || a.$$typeof === d || a.$$typeof === u || a.$$typeof === f || a.$$typeof === x || // This needs to include all possible module reference object
|
|
56
55
|
// types supported by any Flight configuration anywhere since
|
|
57
56
|
// we don't know which Flight build this will end up being used
|
|
58
57
|
// with.
|
|
59
|
-
a.$$typeof ===
|
|
58
|
+
a.$$typeof === ae || a.getModuleId !== void 0));
|
|
60
59
|
}
|
|
61
|
-
function
|
|
60
|
+
function W(a, l, m) {
|
|
62
61
|
var w = a.displayName;
|
|
63
62
|
if (w)
|
|
64
63
|
return w;
|
|
65
|
-
var
|
|
66
|
-
return
|
|
64
|
+
var T = l.displayName || l.name || "";
|
|
65
|
+
return T !== "" ? m + "(" + T + ")" : m;
|
|
67
66
|
}
|
|
68
67
|
function K(a) {
|
|
69
68
|
return a.displayName || "Context";
|
|
70
69
|
}
|
|
71
|
-
function
|
|
70
|
+
function M(a) {
|
|
72
71
|
if (a == null)
|
|
73
72
|
return null;
|
|
74
|
-
if (typeof a.tag == "number" &&
|
|
73
|
+
if (typeof a.tag == "number" && N("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof a == "function")
|
|
75
74
|
return a.displayName || a.name || null;
|
|
76
75
|
if (typeof a == "string")
|
|
77
76
|
return a;
|
|
@@ -80,11 +79,11 @@ function ka() {
|
|
|
80
79
|
return "Fragment";
|
|
81
80
|
case s:
|
|
82
81
|
return "Portal";
|
|
83
|
-
case
|
|
82
|
+
case o:
|
|
84
83
|
return "Profiler";
|
|
85
84
|
case i:
|
|
86
85
|
return "StrictMode";
|
|
87
|
-
case
|
|
86
|
+
case b:
|
|
88
87
|
return "Suspense";
|
|
89
88
|
case p:
|
|
90
89
|
return "SuspenseList";
|
|
@@ -98,14 +97,14 @@ function ka() {
|
|
|
98
97
|
var m = a;
|
|
99
98
|
return K(m._context) + ".Provider";
|
|
100
99
|
case x:
|
|
101
|
-
return
|
|
100
|
+
return W(a, a.render, "ForwardRef");
|
|
102
101
|
case d:
|
|
103
102
|
var w = a.displayName || null;
|
|
104
|
-
return w !== null ? w :
|
|
105
|
-
case
|
|
106
|
-
var
|
|
103
|
+
return w !== null ? w : M(a.type) || "Memo";
|
|
104
|
+
case v: {
|
|
105
|
+
var T = a, z = T._payload, P = T._init;
|
|
107
106
|
try {
|
|
108
|
-
return
|
|
107
|
+
return M(P(z));
|
|
109
108
|
} catch {
|
|
110
109
|
return null;
|
|
111
110
|
}
|
|
@@ -113,18 +112,18 @@ function ka() {
|
|
|
113
112
|
}
|
|
114
113
|
return null;
|
|
115
114
|
}
|
|
116
|
-
var
|
|
117
|
-
function
|
|
115
|
+
var U = Object.assign, te = 0, Z, J, X, re, fe, pe, he;
|
|
116
|
+
function me() {
|
|
118
117
|
}
|
|
119
|
-
|
|
118
|
+
me.__reactDisabledLog = !0;
|
|
120
119
|
function Ee() {
|
|
121
120
|
{
|
|
122
|
-
if (
|
|
123
|
-
Z = console.log, J = console.info, X = console.warn,
|
|
121
|
+
if (te === 0) {
|
|
122
|
+
Z = console.log, J = console.info, X = console.warn, re = console.error, fe = console.group, pe = console.groupCollapsed, he = console.groupEnd;
|
|
124
123
|
var a = {
|
|
125
124
|
configurable: !0,
|
|
126
125
|
enumerable: !0,
|
|
127
|
-
value:
|
|
126
|
+
value: me,
|
|
128
127
|
writable: !0
|
|
129
128
|
};
|
|
130
129
|
Object.defineProperties(console, {
|
|
@@ -137,250 +136,250 @@ function ka() {
|
|
|
137
136
|
groupEnd: a
|
|
138
137
|
});
|
|
139
138
|
}
|
|
140
|
-
|
|
139
|
+
te++;
|
|
141
140
|
}
|
|
142
141
|
}
|
|
143
|
-
function
|
|
142
|
+
function C() {
|
|
144
143
|
{
|
|
145
|
-
if (
|
|
144
|
+
if (te--, te === 0) {
|
|
146
145
|
var a = {
|
|
147
146
|
configurable: !0,
|
|
148
147
|
enumerable: !0,
|
|
149
148
|
writable: !0
|
|
150
149
|
};
|
|
151
150
|
Object.defineProperties(console, {
|
|
152
|
-
log:
|
|
151
|
+
log: U({}, a, {
|
|
153
152
|
value: Z
|
|
154
153
|
}),
|
|
155
|
-
info:
|
|
154
|
+
info: U({}, a, {
|
|
156
155
|
value: J
|
|
157
156
|
}),
|
|
158
|
-
warn:
|
|
157
|
+
warn: U({}, a, {
|
|
159
158
|
value: X
|
|
160
159
|
}),
|
|
161
|
-
error:
|
|
162
|
-
value:
|
|
160
|
+
error: U({}, a, {
|
|
161
|
+
value: re
|
|
163
162
|
}),
|
|
164
|
-
group:
|
|
165
|
-
value:
|
|
163
|
+
group: U({}, a, {
|
|
164
|
+
value: fe
|
|
166
165
|
}),
|
|
167
|
-
groupCollapsed:
|
|
168
|
-
value:
|
|
166
|
+
groupCollapsed: U({}, a, {
|
|
167
|
+
value: pe
|
|
169
168
|
}),
|
|
170
|
-
groupEnd:
|
|
169
|
+
groupEnd: U({}, a, {
|
|
171
170
|
value: he
|
|
172
171
|
})
|
|
173
172
|
});
|
|
174
173
|
}
|
|
175
|
-
|
|
174
|
+
te < 0 && N("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
176
175
|
}
|
|
177
176
|
}
|
|
178
|
-
var
|
|
179
|
-
function
|
|
177
|
+
var D = y.ReactCurrentDispatcher, Q;
|
|
178
|
+
function be(a, l, m) {
|
|
180
179
|
{
|
|
181
180
|
if (Q === void 0)
|
|
182
181
|
try {
|
|
183
182
|
throw Error();
|
|
184
|
-
} catch (
|
|
185
|
-
var w =
|
|
183
|
+
} catch (T) {
|
|
184
|
+
var w = T.stack.trim().match(/\n( *(at )?)/);
|
|
186
185
|
Q = w && w[1] || "";
|
|
187
186
|
}
|
|
188
187
|
return `
|
|
189
188
|
` + Q + a;
|
|
190
189
|
}
|
|
191
190
|
}
|
|
192
|
-
var
|
|
191
|
+
var Pe = !1, ge;
|
|
193
192
|
{
|
|
194
|
-
var
|
|
195
|
-
|
|
193
|
+
var Wt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
194
|
+
ge = new Wt();
|
|
196
195
|
}
|
|
197
|
-
function
|
|
198
|
-
if (!a ||
|
|
196
|
+
function Ge(a, l) {
|
|
197
|
+
if (!a || Pe)
|
|
199
198
|
return "";
|
|
200
199
|
{
|
|
201
|
-
var m =
|
|
200
|
+
var m = ge.get(a);
|
|
202
201
|
if (m !== void 0)
|
|
203
202
|
return m;
|
|
204
203
|
}
|
|
205
204
|
var w;
|
|
206
|
-
|
|
207
|
-
var
|
|
205
|
+
Pe = !0;
|
|
206
|
+
var T = Error.prepareStackTrace;
|
|
208
207
|
Error.prepareStackTrace = void 0;
|
|
209
|
-
var
|
|
210
|
-
|
|
208
|
+
var z;
|
|
209
|
+
z = D.current, D.current = null, Ee();
|
|
211
210
|
try {
|
|
212
211
|
if (l) {
|
|
213
|
-
var
|
|
212
|
+
var P = function() {
|
|
214
213
|
throw Error();
|
|
215
214
|
};
|
|
216
|
-
if (Object.defineProperty(
|
|
215
|
+
if (Object.defineProperty(P.prototype, "props", {
|
|
217
216
|
set: function() {
|
|
218
217
|
throw Error();
|
|
219
218
|
}
|
|
220
219
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
221
220
|
try {
|
|
222
|
-
Reflect.construct(
|
|
223
|
-
} catch (
|
|
224
|
-
w =
|
|
221
|
+
Reflect.construct(P, []);
|
|
222
|
+
} catch (G) {
|
|
223
|
+
w = G;
|
|
225
224
|
}
|
|
226
|
-
Reflect.construct(a, [],
|
|
225
|
+
Reflect.construct(a, [], P);
|
|
227
226
|
} else {
|
|
228
227
|
try {
|
|
229
|
-
|
|
230
|
-
} catch (
|
|
231
|
-
w =
|
|
228
|
+
P.call();
|
|
229
|
+
} catch (G) {
|
|
230
|
+
w = G;
|
|
232
231
|
}
|
|
233
|
-
a.call(
|
|
232
|
+
a.call(P.prototype);
|
|
234
233
|
}
|
|
235
234
|
} else {
|
|
236
235
|
try {
|
|
237
236
|
throw Error();
|
|
238
|
-
} catch (
|
|
239
|
-
w =
|
|
237
|
+
} catch (G) {
|
|
238
|
+
w = G;
|
|
240
239
|
}
|
|
241
240
|
a();
|
|
242
241
|
}
|
|
243
|
-
} catch (
|
|
244
|
-
if (
|
|
245
|
-
for (var E =
|
|
246
|
-
`),
|
|
247
|
-
`),
|
|
248
|
-
|
|
249
|
-
for (;
|
|
250
|
-
if (E[
|
|
251
|
-
if (
|
|
242
|
+
} catch (G) {
|
|
243
|
+
if (G && w && typeof G.stack == "string") {
|
|
244
|
+
for (var E = G.stack.split(`
|
|
245
|
+
`), V = w.stack.split(`
|
|
246
|
+
`), A = E.length - 1, F = V.length - 1; A >= 1 && F >= 0 && E[A] !== V[F]; )
|
|
247
|
+
F--;
|
|
248
|
+
for (; A >= 1 && F >= 0; A--, F--)
|
|
249
|
+
if (E[A] !== V[F]) {
|
|
250
|
+
if (A !== 1 || F !== 1)
|
|
252
251
|
do
|
|
253
|
-
if (
|
|
252
|
+
if (A--, F--, F < 0 || E[A] !== V[F]) {
|
|
254
253
|
var ee = `
|
|
255
|
-
` + E[
|
|
256
|
-
return a.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", a.displayName)), typeof a == "function" &&
|
|
254
|
+
` + E[A].replace(" at new ", " at ");
|
|
255
|
+
return a.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", a.displayName)), typeof a == "function" && ge.set(a, ee), ee;
|
|
257
256
|
}
|
|
258
|
-
while (
|
|
257
|
+
while (A >= 1 && F >= 0);
|
|
259
258
|
break;
|
|
260
259
|
}
|
|
261
260
|
}
|
|
262
261
|
} finally {
|
|
263
|
-
|
|
262
|
+
Pe = !1, D.current = z, C(), Error.prepareStackTrace = T;
|
|
264
263
|
}
|
|
265
|
-
var
|
|
266
|
-
return typeof a == "function" &&
|
|
264
|
+
var ie = a ? a.displayName || a.name : "", se = ie ? be(ie) : "";
|
|
265
|
+
return typeof a == "function" && ge.set(a, se), se;
|
|
267
266
|
}
|
|
268
|
-
function
|
|
269
|
-
return
|
|
267
|
+
function Ut(a, l, m) {
|
|
268
|
+
return Ge(a, !1);
|
|
270
269
|
}
|
|
271
|
-
function
|
|
270
|
+
function Gt(a) {
|
|
272
271
|
var l = a.prototype;
|
|
273
272
|
return !!(l && l.isReactComponent);
|
|
274
273
|
}
|
|
275
|
-
function
|
|
274
|
+
function ve(a, l, m) {
|
|
276
275
|
if (a == null)
|
|
277
276
|
return "";
|
|
278
277
|
if (typeof a == "function")
|
|
279
|
-
return
|
|
278
|
+
return Ge(a, Gt(a));
|
|
280
279
|
if (typeof a == "string")
|
|
281
|
-
return
|
|
280
|
+
return be(a);
|
|
282
281
|
switch (a) {
|
|
283
|
-
case
|
|
284
|
-
return
|
|
282
|
+
case b:
|
|
283
|
+
return be("Suspense");
|
|
285
284
|
case p:
|
|
286
|
-
return
|
|
285
|
+
return be("SuspenseList");
|
|
287
286
|
}
|
|
288
287
|
if (typeof a == "object")
|
|
289
288
|
switch (a.$$typeof) {
|
|
290
289
|
case x:
|
|
291
|
-
return
|
|
290
|
+
return Ut(a.render);
|
|
292
291
|
case d:
|
|
293
|
-
return
|
|
294
|
-
case
|
|
295
|
-
var w = a,
|
|
292
|
+
return ve(a.type, l, m);
|
|
293
|
+
case v: {
|
|
294
|
+
var w = a, T = w._payload, z = w._init;
|
|
296
295
|
try {
|
|
297
|
-
return
|
|
296
|
+
return ve(z(T), l, m);
|
|
298
297
|
} catch {
|
|
299
298
|
}
|
|
300
299
|
}
|
|
301
300
|
}
|
|
302
301
|
return "";
|
|
303
302
|
}
|
|
304
|
-
var
|
|
305
|
-
function
|
|
303
|
+
var ce = Object.prototype.hasOwnProperty, qe = {}, Ye = y.ReactDebugCurrentFrame;
|
|
304
|
+
function je(a) {
|
|
306
305
|
if (a) {
|
|
307
|
-
var l = a._owner, m =
|
|
308
|
-
|
|
306
|
+
var l = a._owner, m = ve(a.type, a._source, l ? l.type : null);
|
|
307
|
+
Ye.setExtraStackFrame(m);
|
|
309
308
|
} else
|
|
310
|
-
|
|
309
|
+
Ye.setExtraStackFrame(null);
|
|
311
310
|
}
|
|
312
|
-
function
|
|
311
|
+
function qt(a, l, m, w, T) {
|
|
313
312
|
{
|
|
314
|
-
var
|
|
315
|
-
for (var
|
|
316
|
-
if (
|
|
313
|
+
var z = Function.call.bind(ce);
|
|
314
|
+
for (var P in a)
|
|
315
|
+
if (z(a, P)) {
|
|
317
316
|
var E = void 0;
|
|
318
317
|
try {
|
|
319
|
-
if (typeof a[
|
|
320
|
-
var
|
|
321
|
-
throw
|
|
318
|
+
if (typeof a[P] != "function") {
|
|
319
|
+
var V = Error((w || "React class") + ": " + m + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[P] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
320
|
+
throw V.name = "Invariant Violation", V;
|
|
322
321
|
}
|
|
323
|
-
E = a[
|
|
324
|
-
} catch (
|
|
325
|
-
E =
|
|
322
|
+
E = a[P](l, P, w, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
323
|
+
} catch (A) {
|
|
324
|
+
E = A;
|
|
326
325
|
}
|
|
327
|
-
E && !(E instanceof Error) && (
|
|
326
|
+
E && !(E instanceof Error) && (je(T), N("%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).", w || "React class", m, P, typeof E), je(null)), E instanceof Error && !(E.message in qe) && (qe[E.message] = !0, je(T), N("Failed %s type: %s", m, E.message), je(null));
|
|
328
327
|
}
|
|
329
328
|
}
|
|
330
329
|
}
|
|
331
|
-
var
|
|
332
|
-
function
|
|
333
|
-
return
|
|
330
|
+
var Yt = Array.isArray;
|
|
331
|
+
function Se(a) {
|
|
332
|
+
return Yt(a);
|
|
334
333
|
}
|
|
335
|
-
function
|
|
334
|
+
function Kt(a) {
|
|
336
335
|
{
|
|
337
336
|
var l = typeof Symbol == "function" && Symbol.toStringTag, m = l && a[Symbol.toStringTag] || a.constructor.name || "Object";
|
|
338
337
|
return m;
|
|
339
338
|
}
|
|
340
339
|
}
|
|
341
|
-
function
|
|
340
|
+
function Zt(a) {
|
|
342
341
|
try {
|
|
343
|
-
return
|
|
342
|
+
return Ke(a), !1;
|
|
344
343
|
} catch {
|
|
345
344
|
return !0;
|
|
346
345
|
}
|
|
347
346
|
}
|
|
348
|
-
function
|
|
347
|
+
function Ke(a) {
|
|
349
348
|
return "" + a;
|
|
350
349
|
}
|
|
351
|
-
function
|
|
352
|
-
if (
|
|
353
|
-
return
|
|
350
|
+
function Ze(a) {
|
|
351
|
+
if (Zt(a))
|
|
352
|
+
return N("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Kt(a)), Ke(a);
|
|
354
353
|
}
|
|
355
|
-
var
|
|
354
|
+
var Je = y.ReactCurrentOwner, Jt = {
|
|
356
355
|
key: !0,
|
|
357
356
|
ref: !0,
|
|
358
357
|
__self: !0,
|
|
359
358
|
__source: !0
|
|
360
|
-
},
|
|
361
|
-
function
|
|
362
|
-
if (
|
|
359
|
+
}, Xe, Qe;
|
|
360
|
+
function Xt(a) {
|
|
361
|
+
if (ce.call(a, "ref")) {
|
|
363
362
|
var l = Object.getOwnPropertyDescriptor(a, "ref").get;
|
|
364
363
|
if (l && l.isReactWarning)
|
|
365
364
|
return !1;
|
|
366
365
|
}
|
|
367
366
|
return a.ref !== void 0;
|
|
368
367
|
}
|
|
369
|
-
function
|
|
370
|
-
if (
|
|
368
|
+
function Qt(a) {
|
|
369
|
+
if (ce.call(a, "key")) {
|
|
371
370
|
var l = Object.getOwnPropertyDescriptor(a, "key").get;
|
|
372
371
|
if (l && l.isReactWarning)
|
|
373
372
|
return !1;
|
|
374
373
|
}
|
|
375
374
|
return a.key !== void 0;
|
|
376
375
|
}
|
|
377
|
-
function
|
|
378
|
-
typeof a.ref == "string" &&
|
|
376
|
+
function ea(a, l) {
|
|
377
|
+
typeof a.ref == "string" && Je.current;
|
|
379
378
|
}
|
|
380
|
-
function
|
|
379
|
+
function ta(a, l) {
|
|
381
380
|
{
|
|
382
381
|
var m = function() {
|
|
383
|
-
|
|
382
|
+
Xe || (Xe = !0, N("%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)", l));
|
|
384
383
|
};
|
|
385
384
|
m.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
386
385
|
get: m,
|
|
@@ -388,10 +387,10 @@ function ka() {
|
|
|
388
387
|
});
|
|
389
388
|
}
|
|
390
389
|
}
|
|
391
|
-
function
|
|
390
|
+
function aa(a, l) {
|
|
392
391
|
{
|
|
393
392
|
var m = function() {
|
|
394
|
-
|
|
393
|
+
Qe || (Qe = !0, N("%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)", l));
|
|
395
394
|
};
|
|
396
395
|
m.isReactWarning = !0, Object.defineProperty(a, "ref", {
|
|
397
396
|
get: m,
|
|
@@ -399,7 +398,7 @@ function ka() {
|
|
|
399
398
|
});
|
|
400
399
|
}
|
|
401
400
|
}
|
|
402
|
-
var
|
|
401
|
+
var ra = function(a, l, m, w, T, z, P) {
|
|
403
402
|
var E = {
|
|
404
403
|
// This tag allows us to uniquely identify this as a React Element
|
|
405
404
|
$$typeof: r,
|
|
@@ -407,9 +406,9 @@ function ka() {
|
|
|
407
406
|
type: a,
|
|
408
407
|
key: l,
|
|
409
408
|
ref: m,
|
|
410
|
-
props:
|
|
409
|
+
props: P,
|
|
411
410
|
// Record the component responsible for creating this element.
|
|
412
|
-
_owner:
|
|
411
|
+
_owner: z
|
|
413
412
|
};
|
|
414
413
|
return E._store = {}, Object.defineProperty(E._store, "validated", {
|
|
415
414
|
configurable: !1,
|
|
@@ -425,44 +424,44 @@ function ka() {
|
|
|
425
424
|
configurable: !1,
|
|
426
425
|
enumerable: !1,
|
|
427
426
|
writable: !1,
|
|
428
|
-
value:
|
|
427
|
+
value: T
|
|
429
428
|
}), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
|
|
430
429
|
};
|
|
431
|
-
function
|
|
430
|
+
function sa(a, l, m, w, T) {
|
|
432
431
|
{
|
|
433
|
-
var
|
|
434
|
-
m !== void 0 && (
|
|
435
|
-
for (
|
|
436
|
-
|
|
432
|
+
var z, P = {}, E = null, V = null;
|
|
433
|
+
m !== void 0 && (Ze(m), E = "" + m), Qt(l) && (Ze(l.key), E = "" + l.key), Xt(l) && (V = l.ref, ea(l, T));
|
|
434
|
+
for (z in l)
|
|
435
|
+
ce.call(l, z) && !Jt.hasOwnProperty(z) && (P[z] = l[z]);
|
|
437
436
|
if (a && a.defaultProps) {
|
|
438
|
-
var
|
|
439
|
-
for (
|
|
440
|
-
|
|
437
|
+
var A = a.defaultProps;
|
|
438
|
+
for (z in A)
|
|
439
|
+
P[z] === void 0 && (P[z] = A[z]);
|
|
441
440
|
}
|
|
442
|
-
if (E ||
|
|
443
|
-
var
|
|
444
|
-
E &&
|
|
441
|
+
if (E || V) {
|
|
442
|
+
var F = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
443
|
+
E && ta(P, F), V && aa(P, F);
|
|
445
444
|
}
|
|
446
|
-
return
|
|
445
|
+
return ra(a, E, V, T, w, Je.current, P);
|
|
447
446
|
}
|
|
448
447
|
}
|
|
449
|
-
var
|
|
450
|
-
function
|
|
448
|
+
var Te = y.ReactCurrentOwner, et = y.ReactDebugCurrentFrame;
|
|
449
|
+
function le(a) {
|
|
451
450
|
if (a) {
|
|
452
|
-
var l = a._owner, m =
|
|
453
|
-
|
|
451
|
+
var l = a._owner, m = ve(a.type, a._source, l ? l.type : null);
|
|
452
|
+
et.setExtraStackFrame(m);
|
|
454
453
|
} else
|
|
455
|
-
|
|
454
|
+
et.setExtraStackFrame(null);
|
|
456
455
|
}
|
|
457
|
-
var
|
|
458
|
-
|
|
459
|
-
function
|
|
456
|
+
var Re;
|
|
457
|
+
Re = !1;
|
|
458
|
+
function Oe(a) {
|
|
460
459
|
return typeof a == "object" && a !== null && a.$$typeof === r;
|
|
461
460
|
}
|
|
462
|
-
function
|
|
461
|
+
function tt() {
|
|
463
462
|
{
|
|
464
|
-
if (
|
|
465
|
-
var a =
|
|
463
|
+
if (Te.current) {
|
|
464
|
+
var a = M(Te.current.type);
|
|
466
465
|
if (a)
|
|
467
466
|
return `
|
|
468
467
|
|
|
@@ -471,13 +470,13 @@ Check the render method of \`` + a + "`.";
|
|
|
471
470
|
return "";
|
|
472
471
|
}
|
|
473
472
|
}
|
|
474
|
-
function
|
|
473
|
+
function na(a) {
|
|
475
474
|
return "";
|
|
476
475
|
}
|
|
477
|
-
var
|
|
478
|
-
function
|
|
476
|
+
var at = {};
|
|
477
|
+
function la(a) {
|
|
479
478
|
{
|
|
480
|
-
var l =
|
|
479
|
+
var l = tt();
|
|
481
480
|
if (!l) {
|
|
482
481
|
var m = typeof a == "string" ? a : a.displayName || a.name;
|
|
483
482
|
m && (l = `
|
|
@@ -487,39 +486,39 @@ Check the top-level render call using <` + m + ">.");
|
|
|
487
486
|
return l;
|
|
488
487
|
}
|
|
489
488
|
}
|
|
490
|
-
function
|
|
489
|
+
function rt(a, l) {
|
|
491
490
|
{
|
|
492
491
|
if (!a._store || a._store.validated || a.key != null)
|
|
493
492
|
return;
|
|
494
493
|
a._store.validated = !0;
|
|
495
|
-
var m =
|
|
496
|
-
if (
|
|
494
|
+
var m = la(l);
|
|
495
|
+
if (at[m])
|
|
497
496
|
return;
|
|
498
|
-
|
|
497
|
+
at[m] = !0;
|
|
499
498
|
var w = "";
|
|
500
|
-
a && a._owner && a._owner !==
|
|
499
|
+
a && a._owner && a._owner !== Te.current && (w = " It was passed a child from " + M(a._owner.type) + "."), le(a), N('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, w), le(null);
|
|
501
500
|
}
|
|
502
501
|
}
|
|
503
|
-
function
|
|
502
|
+
function st(a, l) {
|
|
504
503
|
{
|
|
505
504
|
if (typeof a != "object")
|
|
506
505
|
return;
|
|
507
|
-
if (
|
|
506
|
+
if (Se(a))
|
|
508
507
|
for (var m = 0; m < a.length; m++) {
|
|
509
508
|
var w = a[m];
|
|
510
|
-
|
|
509
|
+
Oe(w) && rt(w, l);
|
|
511
510
|
}
|
|
512
|
-
else if (
|
|
511
|
+
else if (Oe(a))
|
|
513
512
|
a._store && (a._store.validated = !0);
|
|
514
513
|
else if (a) {
|
|
515
|
-
var
|
|
516
|
-
if (typeof
|
|
517
|
-
for (var
|
|
518
|
-
|
|
514
|
+
var T = k(a);
|
|
515
|
+
if (typeof T == "function" && T !== a.entries)
|
|
516
|
+
for (var z = T.call(a), P; !(P = z.next()).done; )
|
|
517
|
+
Oe(P.value) && rt(P.value, l);
|
|
519
518
|
}
|
|
520
519
|
}
|
|
521
520
|
}
|
|
522
|
-
function
|
|
521
|
+
function ia(a) {
|
|
523
522
|
{
|
|
524
523
|
var l = a.type;
|
|
525
524
|
if (l == null || typeof l == "string")
|
|
@@ -534,104 +533,104 @@ Check the top-level render call using <` + m + ">.");
|
|
|
534
533
|
else
|
|
535
534
|
return;
|
|
536
535
|
if (m) {
|
|
537
|
-
var w =
|
|
538
|
-
|
|
539
|
-
} else if (l.PropTypes !== void 0 && !
|
|
540
|
-
|
|
541
|
-
var
|
|
542
|
-
|
|
536
|
+
var w = M(l);
|
|
537
|
+
qt(m, a.props, "prop", w, a);
|
|
538
|
+
} else if (l.PropTypes !== void 0 && !Re) {
|
|
539
|
+
Re = !0;
|
|
540
|
+
var T = M(l);
|
|
541
|
+
N("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", T || "Unknown");
|
|
543
542
|
}
|
|
544
|
-
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved &&
|
|
543
|
+
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && N("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
545
544
|
}
|
|
546
545
|
}
|
|
547
|
-
function
|
|
546
|
+
function oa(a) {
|
|
548
547
|
{
|
|
549
548
|
for (var l = Object.keys(a.props), m = 0; m < l.length; m++) {
|
|
550
549
|
var w = l[m];
|
|
551
550
|
if (w !== "children" && w !== "key") {
|
|
552
|
-
|
|
551
|
+
le(a), N("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), le(null);
|
|
553
552
|
break;
|
|
554
553
|
}
|
|
555
554
|
}
|
|
556
|
-
a.ref !== null && (
|
|
555
|
+
a.ref !== null && (le(a), N("Invalid attribute `ref` supplied to `React.Fragment`."), le(null));
|
|
557
556
|
}
|
|
558
557
|
}
|
|
559
|
-
var
|
|
560
|
-
function
|
|
558
|
+
var nt = {};
|
|
559
|
+
function lt(a, l, m, w, T, z) {
|
|
561
560
|
{
|
|
562
|
-
var
|
|
563
|
-
if (!
|
|
561
|
+
var P = I(a);
|
|
562
|
+
if (!P) {
|
|
564
563
|
var E = "";
|
|
565
564
|
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (E += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
566
|
-
var
|
|
567
|
-
|
|
568
|
-
var
|
|
569
|
-
a === null ?
|
|
565
|
+
var V = na();
|
|
566
|
+
V ? E += V : E += tt();
|
|
567
|
+
var A;
|
|
568
|
+
a === null ? A = "null" : Se(a) ? A = "array" : a !== void 0 && a.$$typeof === r ? (A = "<" + (M(a.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : A = typeof a, N("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", A, E);
|
|
570
569
|
}
|
|
571
|
-
var
|
|
572
|
-
if (
|
|
573
|
-
return
|
|
574
|
-
if (
|
|
570
|
+
var F = sa(a, l, m, T, z);
|
|
571
|
+
if (F == null)
|
|
572
|
+
return F;
|
|
573
|
+
if (P) {
|
|
575
574
|
var ee = l.children;
|
|
576
575
|
if (ee !== void 0)
|
|
577
576
|
if (w)
|
|
578
|
-
if (
|
|
579
|
-
for (var
|
|
580
|
-
|
|
577
|
+
if (Se(ee)) {
|
|
578
|
+
for (var ie = 0; ie < ee.length; ie++)
|
|
579
|
+
st(ee[ie], a);
|
|
581
580
|
Object.freeze && Object.freeze(ee);
|
|
582
581
|
} else
|
|
583
|
-
|
|
582
|
+
N("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
584
583
|
else
|
|
585
|
-
|
|
584
|
+
st(ee, a);
|
|
586
585
|
}
|
|
587
|
-
if (
|
|
588
|
-
var
|
|
589
|
-
return
|
|
590
|
-
}),
|
|
591
|
-
if (!
|
|
592
|
-
var
|
|
593
|
-
|
|
586
|
+
if (ce.call(l, "key")) {
|
|
587
|
+
var se = M(a), G = Object.keys(l).filter(function(pa) {
|
|
588
|
+
return pa !== "key";
|
|
589
|
+
}), ze = G.length > 0 ? "{key: someKey, " + G.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
590
|
+
if (!nt[se + ze]) {
|
|
591
|
+
var fa = G.length > 0 ? "{" + G.join(": ..., ") + ": ...}" : "{}";
|
|
592
|
+
N(`A props object containing a "key" prop is being spread into JSX:
|
|
594
593
|
let props = %s;
|
|
595
594
|
<%s {...props} />
|
|
596
595
|
React keys must be passed directly to JSX without using spread:
|
|
597
596
|
let props = %s;
|
|
598
|
-
<%s key={someKey} {...props} />`,
|
|
597
|
+
<%s key={someKey} {...props} />`, ze, se, fa, se), nt[se + ze] = !0;
|
|
599
598
|
}
|
|
600
599
|
}
|
|
601
|
-
return a === n ?
|
|
600
|
+
return a === n ? oa(F) : ia(F), F;
|
|
602
601
|
}
|
|
603
602
|
}
|
|
604
|
-
function
|
|
605
|
-
return
|
|
603
|
+
function ca(a, l, m) {
|
|
604
|
+
return lt(a, l, m, !0);
|
|
606
605
|
}
|
|
607
|
-
function
|
|
608
|
-
return
|
|
606
|
+
function da(a, l, m) {
|
|
607
|
+
return lt(a, l, m, !1);
|
|
609
608
|
}
|
|
610
|
-
var
|
|
611
|
-
|
|
612
|
-
})()),
|
|
609
|
+
var ua = da, xa = ca;
|
|
610
|
+
ue.Fragment = n, ue.jsx = ua, ue.jsxs = xa;
|
|
611
|
+
})()), ue;
|
|
613
612
|
}
|
|
614
|
-
var
|
|
615
|
-
function
|
|
616
|
-
return
|
|
613
|
+
var ct;
|
|
614
|
+
function Na() {
|
|
615
|
+
return ct || (ct = 1, process.env.NODE_ENV === "production" ? ye.exports = ja() : ye.exports = ya()), ye.exports;
|
|
617
616
|
}
|
|
618
|
-
var e =
|
|
617
|
+
var e = Na(), Ot = {
|
|
619
618
|
color: void 0,
|
|
620
619
|
size: void 0,
|
|
621
620
|
className: void 0,
|
|
622
621
|
style: void 0,
|
|
623
622
|
attr: void 0
|
|
624
|
-
},
|
|
625
|
-
function
|
|
623
|
+
}, dt = _.createContext && /* @__PURE__ */ _.createContext(Ot), wa = ["attr", "size", "title"];
|
|
624
|
+
function ka(t, r) {
|
|
626
625
|
if (t == null) return {};
|
|
627
|
-
var s, n, i =
|
|
626
|
+
var s, n, i = Ca(t, r);
|
|
628
627
|
if (Object.getOwnPropertySymbols) {
|
|
629
|
-
var
|
|
630
|
-
for (n = 0; n <
|
|
628
|
+
var o = Object.getOwnPropertySymbols(t);
|
|
629
|
+
for (n = 0; n < o.length; n++) s = o[n], r.indexOf(s) === -1 && {}.propertyIsEnumerable.call(t, s) && (i[s] = t[s]);
|
|
631
630
|
}
|
|
632
631
|
return i;
|
|
633
632
|
}
|
|
634
|
-
function
|
|
633
|
+
function Ca(t, r) {
|
|
635
634
|
if (t == null) return {};
|
|
636
635
|
var s = {};
|
|
637
636
|
for (var n in t) if ({}.hasOwnProperty.call(t, n)) {
|
|
@@ -640,16 +639,16 @@ function Pa(t, r) {
|
|
|
640
639
|
}
|
|
641
640
|
return s;
|
|
642
641
|
}
|
|
643
|
-
function
|
|
644
|
-
return
|
|
642
|
+
function we() {
|
|
643
|
+
return we = Object.assign ? Object.assign.bind() : function(t) {
|
|
645
644
|
for (var r = 1; r < arguments.length; r++) {
|
|
646
645
|
var s = arguments[r];
|
|
647
646
|
for (var n in s) ({}).hasOwnProperty.call(s, n) && (t[n] = s[n]);
|
|
648
647
|
}
|
|
649
648
|
return t;
|
|
650
|
-
},
|
|
649
|
+
}, we.apply(null, arguments);
|
|
651
650
|
}
|
|
652
|
-
function
|
|
651
|
+
function ut(t, r) {
|
|
653
652
|
var s = Object.keys(t);
|
|
654
653
|
if (Object.getOwnPropertySymbols) {
|
|
655
654
|
var n = Object.getOwnPropertySymbols(t);
|
|
@@ -659,25 +658,25 @@ function ft(t, r) {
|
|
|
659
658
|
}
|
|
660
659
|
return s;
|
|
661
660
|
}
|
|
662
|
-
function
|
|
661
|
+
function ke(t) {
|
|
663
662
|
for (var r = 1; r < arguments.length; r++) {
|
|
664
663
|
var s = arguments[r] != null ? arguments[r] : {};
|
|
665
|
-
r % 2 ?
|
|
666
|
-
|
|
667
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(s)) :
|
|
664
|
+
r % 2 ? ut(Object(s), !0).forEach(function(n) {
|
|
665
|
+
La(t, n, s[n]);
|
|
666
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(s)) : ut(Object(s)).forEach(function(n) {
|
|
668
667
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(s, n));
|
|
669
668
|
});
|
|
670
669
|
}
|
|
671
670
|
return t;
|
|
672
671
|
}
|
|
673
|
-
function
|
|
674
|
-
return (r =
|
|
672
|
+
function La(t, r, s) {
|
|
673
|
+
return (r = _a(r)) in t ? Object.defineProperty(t, r, { value: s, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = s, t;
|
|
675
674
|
}
|
|
676
|
-
function
|
|
677
|
-
var r =
|
|
675
|
+
function _a(t) {
|
|
676
|
+
var r = Ea(t, "string");
|
|
678
677
|
return typeof r == "symbol" ? r : r + "";
|
|
679
678
|
}
|
|
680
|
-
function
|
|
679
|
+
function Ea(t, r) {
|
|
681
680
|
if (typeof t != "object" || !t) return t;
|
|
682
681
|
var s = t[Symbol.toPrimitive];
|
|
683
682
|
if (s !== void 0) {
|
|
@@ -687,49 +686,47 @@ function Ta(t, r) {
|
|
|
687
686
|
}
|
|
688
687
|
return (r === "string" ? String : Number)(t);
|
|
689
688
|
}
|
|
690
|
-
function
|
|
691
|
-
return t && t.map((r, s) => /* @__PURE__ */
|
|
689
|
+
function zt(t) {
|
|
690
|
+
return t && t.map((r, s) => /* @__PURE__ */ _.createElement(r.tag, ke({
|
|
692
691
|
key: s
|
|
693
|
-
}, r.attr),
|
|
692
|
+
}, r.attr), zt(r.child)));
|
|
694
693
|
}
|
|
695
|
-
function
|
|
696
|
-
return (r) => /* @__PURE__ */
|
|
697
|
-
attr:
|
|
698
|
-
}, r),
|
|
694
|
+
function R(t) {
|
|
695
|
+
return (r) => /* @__PURE__ */ _.createElement(Pa, we({
|
|
696
|
+
attr: ke({}, t.attr)
|
|
697
|
+
}, r), zt(t.child));
|
|
699
698
|
}
|
|
700
|
-
function
|
|
699
|
+
function Pa(t) {
|
|
701
700
|
var r = (s) => {
|
|
702
|
-
var n = t.attr, i = t.size,
|
|
703
|
-
return s.className && (x = s.className), t.className && (x = (x ? x + " " : "") + t.className), /* @__PURE__ */
|
|
701
|
+
var n = t.attr, i = t.size, o = t.title, u = ka(t, wa), f = i || s.size || "1em", x;
|
|
702
|
+
return s.className && (x = s.className), t.className && (x = (x ? x + " " : "") + t.className), /* @__PURE__ */ _.createElement("svg", we({
|
|
704
703
|
stroke: "currentColor",
|
|
705
704
|
fill: "currentColor",
|
|
706
705
|
strokeWidth: "0"
|
|
707
706
|
}, s.attr, n, u, {
|
|
708
707
|
className: x,
|
|
709
|
-
style:
|
|
708
|
+
style: ke(ke({
|
|
710
709
|
color: t.color || s.color
|
|
711
710
|
}, s.style), t.style),
|
|
712
711
|
height: f,
|
|
713
712
|
width: f,
|
|
714
713
|
xmlns: "http://www.w3.org/2000/svg"
|
|
715
|
-
}),
|
|
714
|
+
}), o && /* @__PURE__ */ _.createElement("title", null, o), t.children);
|
|
716
715
|
};
|
|
717
|
-
return
|
|
716
|
+
return dt !== void 0 ? /* @__PURE__ */ _.createElement(dt.Consumer, null, (s) => r(s)) : r(Ot);
|
|
718
717
|
}
|
|
719
|
-
function
|
|
720
|
-
return
|
|
718
|
+
function Sa(t) {
|
|
719
|
+
return R({ attr: { version: "1.1", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M16 8c-0.020-1.045-0.247-2.086-0.665-3.038-0.417-0.953-1.023-1.817-1.766-2.53s-1.624-1.278-2.578-1.651c-0.953-0.374-1.978-0.552-2.991-0.531-1.013 0.020-2.021 0.24-2.943 0.646-0.923 0.405-1.758 0.992-2.449 1.712s-1.237 1.574-1.597 2.497c-0.361 0.923-0.533 1.914-0.512 2.895 0.020 0.981 0.234 1.955 0.627 2.847 0.392 0.892 0.961 1.7 1.658 2.368s1.523 1.195 2.416 1.543c0.892 0.348 1.851 0.514 2.799 0.493 0.949-0.020 1.89-0.227 2.751-0.608 0.862-0.379 1.642-0.929 2.287-1.604s1.154-1.472 1.488-2.335c0.204-0.523 0.342-1.069 0.415-1.622 0.019 0.001 0.039 0.002 0.059 0.002 0.552 0 1-0.448 1-1 0-0.028-0.001-0.056-0.004-0.083h0.004zM14.411 10.655c-0.367 0.831-0.898 1.584-1.55 2.206s-1.422 1.112-2.254 1.434c-0.832 0.323-1.723 0.476-2.608 0.454-0.884-0.020-1.759-0.215-2.56-0.57-0.801-0.354-1.526-0.867-2.125-1.495s-1.071-1.371-1.38-2.173c-0.31-0.801-0.457-1.66-0.435-2.512s0.208-1.694 0.551-2.464c0.342-0.77 0.836-1.468 1.441-2.044s1.321-1.029 2.092-1.326c0.771-0.298 1.596-0.438 2.416-0.416s1.629 0.202 2.368 0.532c0.74 0.329 1.41 0.805 1.963 1.387s0.988 1.27 1.272 2.011c0.285 0.74 0.418 1.532 0.397 2.32h0.004c-0.002 0.027-0.004 0.055-0.004 0.083 0 0.516 0.39 0.94 0.892 0.994-0.097 0.544-0.258 1.075-0.481 1.578z" }, child: [] }] })(t);
|
|
721
720
|
}
|
|
722
|
-
const
|
|
723
|
-
"
|
|
721
|
+
const Ta = ga(
|
|
722
|
+
"appearance-none inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-semibold transition-colors disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2",
|
|
724
723
|
{
|
|
725
724
|
variants: {
|
|
726
725
|
variant: {
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
outline: "border border-gray-300 bg-transparent text-gray-900 hover:bg-gray-50 disabled:opacity-50",
|
|
732
|
-
ghost: "border-0 bg-transparent text-gray-900 hover:bg-gray-100 disabled:opacity-50"
|
|
726
|
+
primary: "border-0 bg-gradient-to-b from-[#f97e4e] to-[#f75e22] text-white hover:opacity-90",
|
|
727
|
+
secondary: "border border-[#f75e22] bg-white text-[#f75e22] hover:bg-orange-50",
|
|
728
|
+
outline: "border border-gray-300 bg-transparent text-gray-900 hover:bg-gray-50",
|
|
729
|
+
ghost: "border-0 bg-transparent text-gray-900 hover:bg-gray-100"
|
|
733
730
|
},
|
|
734
731
|
size: {
|
|
735
732
|
xs: "h-6 px-2 text-xs",
|
|
@@ -752,40 +749,37 @@ const za = ja(
|
|
|
752
749
|
],
|
|
753
750
|
defaultVariants: { variant: "primary", size: "lg", iconOnly: !1 }
|
|
754
751
|
}
|
|
755
|
-
),
|
|
752
|
+
), q = ma.forwardRef(
|
|
756
753
|
({
|
|
757
754
|
className: t,
|
|
758
755
|
variant: r,
|
|
759
756
|
size: s,
|
|
760
757
|
iconOnly: n,
|
|
761
758
|
loading: i = !1,
|
|
762
|
-
disabled:
|
|
759
|
+
disabled: o,
|
|
763
760
|
leftIcon: u,
|
|
764
761
|
rightIcon: f,
|
|
765
762
|
children: x,
|
|
766
|
-
type:
|
|
763
|
+
type: b = "button",
|
|
767
764
|
...p
|
|
768
|
-
}, d) =>
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
}
|
|
784
|
-
);
|
|
785
|
-
}
|
|
765
|
+
}, d) => /* @__PURE__ */ e.jsx(
|
|
766
|
+
"button",
|
|
767
|
+
{
|
|
768
|
+
ref: d,
|
|
769
|
+
type: b,
|
|
770
|
+
disabled: o || i,
|
|
771
|
+
className: c(Ta({ variant: r, size: s, iconOnly: n }), t),
|
|
772
|
+
...p,
|
|
773
|
+
children: i ? /* @__PURE__ */ e.jsx(Sa, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
774
|
+
u,
|
|
775
|
+
x,
|
|
776
|
+
f
|
|
777
|
+
] })
|
|
778
|
+
}
|
|
779
|
+
)
|
|
786
780
|
);
|
|
787
|
-
|
|
788
|
-
function
|
|
781
|
+
q.displayName = "Button";
|
|
782
|
+
function $e(t) {
|
|
789
783
|
return t.isOpen ? /* @__PURE__ */ e.jsx(
|
|
790
784
|
"div",
|
|
791
785
|
{
|
|
@@ -795,38 +789,38 @@ function Ve(t) {
|
|
|
795
789
|
}
|
|
796
790
|
) : null;
|
|
797
791
|
}
|
|
798
|
-
function
|
|
799
|
-
return
|
|
792
|
+
function Ra(t) {
|
|
793
|
+
return R({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z" }, child: [] }] })(t);
|
|
800
794
|
}
|
|
801
|
-
function
|
|
802
|
-
return
|
|
795
|
+
function Oa(t) {
|
|
796
|
+
return R({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zM461.64 256l45.64-45.64c6.3-6.3 6.3-16.52 0-22.82l-22.82-22.82c-6.3-6.3-16.52-6.3-22.82 0L416 210.36l-45.64-45.64c-6.3-6.3-16.52-6.3-22.82 0l-22.82 22.82c-6.3 6.3-6.3 16.52 0 22.82L370.36 256l-45.63 45.63c-6.3 6.3-6.3 16.52 0 22.82l22.82 22.82c6.3 6.3 16.52 6.3 22.82 0L416 301.64l45.64 45.64c6.3 6.3 16.52 6.3 22.82 0l22.82-22.82c6.3-6.3 6.3-16.52 0-22.82L461.64 256z" }, child: [] }] })(t);
|
|
803
797
|
}
|
|
804
|
-
function
|
|
805
|
-
return
|
|
798
|
+
function za(t) {
|
|
799
|
+
return R({ attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z" }, child: [] }] })(t);
|
|
806
800
|
}
|
|
807
|
-
function
|
|
808
|
-
return
|
|
801
|
+
function At(t) {
|
|
802
|
+
return R({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z" }, child: [] }] })(t);
|
|
809
803
|
}
|
|
810
|
-
function
|
|
811
|
-
return
|
|
804
|
+
function xt(t) {
|
|
805
|
+
return R({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z" }, child: [] }] })(t);
|
|
812
806
|
}
|
|
813
|
-
function
|
|
814
|
-
return
|
|
807
|
+
function Aa(t) {
|
|
808
|
+
return R({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z" }, child: [] }] })(t);
|
|
815
809
|
}
|
|
816
|
-
const
|
|
810
|
+
const Br = ({
|
|
817
811
|
quote: t,
|
|
818
812
|
authorName: r,
|
|
819
813
|
authorAvatarUrl: s,
|
|
820
814
|
meta: n,
|
|
821
815
|
rating: i = 5,
|
|
822
|
-
className:
|
|
816
|
+
className: o = "",
|
|
823
817
|
...u
|
|
824
818
|
}) => /* @__PURE__ */ e.jsxs(
|
|
825
819
|
"div",
|
|
826
820
|
{
|
|
827
|
-
className:
|
|
821
|
+
className: c(
|
|
828
822
|
"flex flex-col gap-3 rounded-lg bg-[#fef5e9] px-4 py-3.75",
|
|
829
|
-
|
|
823
|
+
o
|
|
830
824
|
),
|
|
831
825
|
...u,
|
|
832
826
|
children: [
|
|
@@ -852,7 +846,7 @@ const Qr = ({
|
|
|
852
846
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col min-w-0 flex-1 gap-0.5", children: [
|
|
853
847
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.75", children: [
|
|
854
848
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-sm font-bold text-[#1d2125]", children: r }),
|
|
855
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex items-center gap-1 text-amber-500", "aria-hidden": !0, children: Array.from({ length: Math.max(0, Math.min(5, i)) }, (f, x) => /* @__PURE__ */ e.jsx(
|
|
849
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex items-center gap-1 text-amber-500", "aria-hidden": !0, children: Array.from({ length: Math.max(0, Math.min(5, i)) }, (f, x) => /* @__PURE__ */ e.jsx(At, { size: 14 }, x)) })
|
|
856
850
|
] }),
|
|
857
851
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium text-gray-500", children: n })
|
|
858
852
|
] })
|
|
@@ -860,71 +854,71 @@ const Qr = ({
|
|
|
860
854
|
]
|
|
861
855
|
}
|
|
862
856
|
);
|
|
863
|
-
function
|
|
864
|
-
return
|
|
857
|
+
function Fa(t) {
|
|
858
|
+
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "18", y1: "6", x2: "6", y2: "18" }, child: [] }, { tag: "line", attr: { x1: "6", y1: "6", x2: "18", y2: "18" }, child: [] }] })(t);
|
|
865
859
|
}
|
|
866
|
-
function
|
|
867
|
-
return
|
|
860
|
+
function Ba(t) {
|
|
861
|
+
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "rect", attr: { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }, child: [] }] })(t);
|
|
868
862
|
}
|
|
869
|
-
function
|
|
870
|
-
return
|
|
863
|
+
function ft(t) {
|
|
864
|
+
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "12", y1: "5", x2: "12", y2: "19" }, child: [] }, { tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }] })(t);
|
|
871
865
|
}
|
|
872
|
-
function
|
|
873
|
-
return
|
|
866
|
+
function Da(t) {
|
|
867
|
+
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }] })(t);
|
|
874
868
|
}
|
|
875
|
-
function
|
|
876
|
-
return
|
|
869
|
+
function xe(t) {
|
|
870
|
+
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "circle", attr: { cx: "12", cy: "12", r: "10" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "16", x2: "12", y2: "12" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "8", x2: "12.01", y2: "8" }, child: [] }] })(t);
|
|
877
871
|
}
|
|
878
|
-
function
|
|
879
|
-
return
|
|
872
|
+
function Ft(t) {
|
|
873
|
+
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z" }, child: [] }] })(t);
|
|
880
874
|
}
|
|
881
|
-
function
|
|
882
|
-
return
|
|
875
|
+
function Ia(t) {
|
|
876
|
+
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "18 15 12 9 6 15" }, child: [] }] })(t);
|
|
883
877
|
}
|
|
884
|
-
function
|
|
885
|
-
return
|
|
878
|
+
function Ma(t) {
|
|
879
|
+
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "9 18 15 12 9 6" }, child: [] }] })(t);
|
|
886
880
|
}
|
|
887
|
-
function
|
|
888
|
-
return
|
|
881
|
+
function oe(t) {
|
|
882
|
+
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "6 9 12 15 18 9" }, child: [] }] })(t);
|
|
889
883
|
}
|
|
890
|
-
function
|
|
891
|
-
return
|
|
884
|
+
function Ve(t) {
|
|
885
|
+
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "20 6 9 17 4 12" }, child: [] }] })(t);
|
|
892
886
|
}
|
|
893
|
-
function
|
|
894
|
-
return
|
|
887
|
+
function $a(t) {
|
|
888
|
+
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "9 11 12 14 22 4" }, child: [] }, { tag: "path", attr: { d: "M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11" }, child: [] }] })(t);
|
|
895
889
|
}
|
|
896
|
-
function
|
|
897
|
-
return
|
|
890
|
+
function Va(t) {
|
|
891
|
+
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "rect", attr: { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }, child: [] }, { tag: "line", attr: { x1: "16", y1: "2", x2: "16", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "8", y1: "2", x2: "8", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "3", y1: "10", x2: "21", y2: "10" }, child: [] }] })(t);
|
|
898
892
|
}
|
|
899
|
-
function
|
|
900
|
-
return
|
|
893
|
+
function He(t) {
|
|
894
|
+
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 5 19 12 12 19" }, child: [] }] })(t);
|
|
901
895
|
}
|
|
902
|
-
function
|
|
903
|
-
return
|
|
896
|
+
function We(t) {
|
|
897
|
+
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "19", y1: "12", x2: "5", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 19 5 12 12 5" }, child: [] }] })(t);
|
|
904
898
|
}
|
|
905
|
-
const
|
|
899
|
+
const Ha = ({
|
|
906
900
|
title: t = "अक्सर पूछे जाने वाले प्रश्न",
|
|
907
901
|
items: r,
|
|
908
902
|
initialVisibleCount: s = 6,
|
|
909
903
|
showCta: n = !0,
|
|
910
904
|
defaultExpanded: i = !1,
|
|
911
|
-
ctaExpandLabel:
|
|
905
|
+
ctaExpandLabel: o = "और देखें",
|
|
912
906
|
ctaCollapseLabel: u = "कम देखें",
|
|
913
907
|
defaultOpenIndex: f = -1,
|
|
914
908
|
className: x = ""
|
|
915
909
|
}) => {
|
|
916
|
-
const [
|
|
910
|
+
const [b, p] = $(i), [d, v] = $(f), g = n && r.length > s, j = g && !b ? r.slice(0, s) : r;
|
|
917
911
|
return /* @__PURE__ */ e.jsxs(
|
|
918
912
|
"div",
|
|
919
913
|
{
|
|
920
|
-
className:
|
|
914
|
+
className: c(
|
|
921
915
|
"flex flex-col items-center gap-5 bg-white px-4 py-6",
|
|
922
916
|
x
|
|
923
917
|
),
|
|
924
918
|
children: [
|
|
925
919
|
/* @__PURE__ */ e.jsx("h2", { className: "px-4 text-center text-base font-bold text-[#1d2125]", children: t }),
|
|
926
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: j.map((
|
|
927
|
-
const
|
|
920
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: j.map((L, k) => {
|
|
921
|
+
const y = d === k;
|
|
928
922
|
return /* @__PURE__ */ e.jsxs(
|
|
929
923
|
"div",
|
|
930
924
|
{
|
|
@@ -934,21 +928,21 @@ const Ga = ({
|
|
|
934
928
|
"button",
|
|
935
929
|
{
|
|
936
930
|
type: "button",
|
|
937
|
-
className:
|
|
931
|
+
className: c(
|
|
938
932
|
"flex w-full items-center justify-between gap-2 p-3 text-left",
|
|
939
|
-
|
|
933
|
+
y ? "bg-[#f7f8f9]" : "bg-white"
|
|
940
934
|
),
|
|
941
|
-
onClick: () =>
|
|
942
|
-
"aria-expanded":
|
|
943
|
-
"aria-controls": `faq-answer-${
|
|
944
|
-
id: `faq-question-${
|
|
935
|
+
onClick: () => v(y ? -1 : k),
|
|
936
|
+
"aria-expanded": y,
|
|
937
|
+
"aria-controls": `faq-answer-${k}`,
|
|
938
|
+
id: `faq-question-${k}`,
|
|
945
939
|
children: [
|
|
946
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#22272b]", children:
|
|
940
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#22272b]", children: L.question }),
|
|
947
941
|
/* @__PURE__ */ e.jsx(
|
|
948
|
-
|
|
942
|
+
oe,
|
|
949
943
|
{
|
|
950
944
|
size: 24,
|
|
951
|
-
className:
|
|
945
|
+
className: c("shrink-0 transition-transform duration-200", y ? "rotate-180" : ""),
|
|
952
946
|
"aria-hidden": !0
|
|
953
947
|
}
|
|
954
948
|
)
|
|
@@ -958,61 +952,61 @@ const Ga = ({
|
|
|
958
952
|
/* @__PURE__ */ e.jsx(
|
|
959
953
|
"div",
|
|
960
954
|
{
|
|
961
|
-
id: `faq-answer-${
|
|
955
|
+
id: `faq-answer-${k}`,
|
|
962
956
|
role: "region",
|
|
963
|
-
"aria-labelledby": `faq-question-${
|
|
964
|
-
hidden: !
|
|
957
|
+
"aria-labelledby": `faq-question-${k}`,
|
|
958
|
+
hidden: !y,
|
|
965
959
|
className: "bg-white p-3",
|
|
966
|
-
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm text-[#374151]", children:
|
|
960
|
+
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm text-[#374151]", children: L.answer })
|
|
967
961
|
}
|
|
968
962
|
)
|
|
969
963
|
]
|
|
970
964
|
},
|
|
971
|
-
|
|
965
|
+
k
|
|
972
966
|
);
|
|
973
967
|
}) }),
|
|
974
|
-
|
|
975
|
-
|
|
968
|
+
g && /* @__PURE__ */ e.jsx(
|
|
969
|
+
q,
|
|
976
970
|
{
|
|
977
971
|
variant: "secondary",
|
|
978
972
|
size: "lg",
|
|
979
973
|
className: "w-full",
|
|
980
|
-
onClick: () => p((
|
|
981
|
-
"aria-expanded":
|
|
974
|
+
onClick: () => p((L) => !L),
|
|
975
|
+
"aria-expanded": b,
|
|
982
976
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
983
|
-
|
|
977
|
+
oe,
|
|
984
978
|
{
|
|
985
979
|
size: 24,
|
|
986
|
-
className:
|
|
980
|
+
className: c("shrink-0 transition-transform duration-200", b ? "rotate-180" : ""),
|
|
987
981
|
"aria-hidden": !0
|
|
988
982
|
}
|
|
989
983
|
),
|
|
990
|
-
children:
|
|
984
|
+
children: b ? u : o
|
|
991
985
|
}
|
|
992
986
|
)
|
|
993
987
|
]
|
|
994
988
|
}
|
|
995
989
|
);
|
|
996
|
-
},
|
|
990
|
+
}, Dr = ({
|
|
997
991
|
title: t = "Frequently Asked Questions",
|
|
998
992
|
showTitleAccent: r = !0,
|
|
999
993
|
items: s,
|
|
1000
994
|
initialVisibleCount: n = 6,
|
|
1001
995
|
showCta: i = !0,
|
|
1002
|
-
defaultExpanded:
|
|
996
|
+
defaultExpanded: o = !1,
|
|
1003
997
|
ctaExpandLabel: u = "See more",
|
|
1004
998
|
ctaCollapseLabel: f = "See less",
|
|
1005
999
|
defaultOpenIndex: x = -1,
|
|
1006
|
-
className:
|
|
1000
|
+
className: b = ""
|
|
1007
1001
|
}) => {
|
|
1008
|
-
const [p, d] = $(
|
|
1009
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
1002
|
+
const [p, d] = $(o), [v, g] = $(x), j = i && s.length > n, L = j && !p ? s.slice(0, n) : s;
|
|
1003
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("flex flex-col gap-3 bg-white px-4 py-6", b), children: [
|
|
1010
1004
|
/* @__PURE__ */ e.jsxs("h2", { className: "flex items-center gap-2 text-sm font-bold text-[#374151]", children: [
|
|
1011
1005
|
r && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-[18px] w-[3px] shrink-0 bg-[#f75e22]" }),
|
|
1012
1006
|
t
|
|
1013
1007
|
] }),
|
|
1014
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col", children:
|
|
1015
|
-
const
|
|
1008
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col", children: L.map((k, y) => {
|
|
1009
|
+
const N = v === y, S = N ? Ia : oe;
|
|
1016
1010
|
return /* @__PURE__ */ e.jsxs(
|
|
1017
1011
|
"div",
|
|
1018
1012
|
{
|
|
@@ -1023,44 +1017,44 @@ const Ga = ({
|
|
|
1023
1017
|
{
|
|
1024
1018
|
type: "button",
|
|
1025
1019
|
className: "flex w-full items-center justify-between gap-2 text-left",
|
|
1026
|
-
onClick: () =>
|
|
1027
|
-
"aria-expanded":
|
|
1028
|
-
"aria-controls": `faq-accordion-answer-${
|
|
1029
|
-
id: `faq-accordion-question-${
|
|
1020
|
+
onClick: () => g(N ? -1 : y),
|
|
1021
|
+
"aria-expanded": N,
|
|
1022
|
+
"aria-controls": `faq-accordion-answer-${y}`,
|
|
1023
|
+
id: `faq-accordion-question-${y}`,
|
|
1030
1024
|
children: [
|
|
1031
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-semibold text-[#22272b]", children:
|
|
1032
|
-
/* @__PURE__ */ e.jsx(
|
|
1025
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-semibold text-[#22272b]", children: k.question }),
|
|
1026
|
+
/* @__PURE__ */ e.jsx(S, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 })
|
|
1033
1027
|
]
|
|
1034
1028
|
}
|
|
1035
1029
|
),
|
|
1036
1030
|
/* @__PURE__ */ e.jsx(
|
|
1037
1031
|
"div",
|
|
1038
1032
|
{
|
|
1039
|
-
id: `faq-accordion-answer-${
|
|
1033
|
+
id: `faq-accordion-answer-${y}`,
|
|
1040
1034
|
role: "region",
|
|
1041
|
-
"aria-labelledby": `faq-accordion-question-${
|
|
1042
|
-
hidden: !
|
|
1043
|
-
children: /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-xs text-[#374151]", children:
|
|
1035
|
+
"aria-labelledby": `faq-accordion-question-${y}`,
|
|
1036
|
+
hidden: !N,
|
|
1037
|
+
children: /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-xs text-[#374151]", children: k.answer })
|
|
1044
1038
|
}
|
|
1045
1039
|
)
|
|
1046
1040
|
]
|
|
1047
1041
|
},
|
|
1048
|
-
|
|
1042
|
+
y
|
|
1049
1043
|
);
|
|
1050
1044
|
}) }),
|
|
1051
1045
|
j && /* @__PURE__ */ e.jsx(
|
|
1052
|
-
|
|
1046
|
+
q,
|
|
1053
1047
|
{
|
|
1054
1048
|
variant: "secondary",
|
|
1055
1049
|
size: "lg",
|
|
1056
1050
|
className: "w-full",
|
|
1057
|
-
onClick: () => d((
|
|
1051
|
+
onClick: () => d((k) => !k),
|
|
1058
1052
|
"aria-expanded": p,
|
|
1059
1053
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
1060
|
-
|
|
1054
|
+
oe,
|
|
1061
1055
|
{
|
|
1062
1056
|
size: 24,
|
|
1063
|
-
className:
|
|
1057
|
+
className: c("shrink-0 transition-transform duration-200", p ? "rotate-180" : ""),
|
|
1064
1058
|
"aria-hidden": !0
|
|
1065
1059
|
}
|
|
1066
1060
|
),
|
|
@@ -1068,64 +1062,64 @@ const Ga = ({
|
|
|
1068
1062
|
}
|
|
1069
1063
|
)
|
|
1070
1064
|
] });
|
|
1071
|
-
},
|
|
1072
|
-
({ src: t, poster: r, className: s = "", rounded: n = !0, width: i, height:
|
|
1073
|
-
const [f, x] =
|
|
1065
|
+
}, Wa = _.forwardRef(
|
|
1066
|
+
({ src: t, poster: r, className: s = "", rounded: n = !0, width: i, height: o }, u) => {
|
|
1067
|
+
const [f, x] = _.useState(!1), [b, p] = _.useState(!0), [d, v] = _.useState(!1), [g, j] = _.useState(0), [L, k] = _.useState(0), y = _.useRef(null), S = c(
|
|
1074
1068
|
"block w-full",
|
|
1075
|
-
(i !== void 0 ||
|
|
1076
|
-
),
|
|
1077
|
-
const
|
|
1078
|
-
j(
|
|
1069
|
+
(i !== void 0 || o !== void 0) && "h-full object-cover"
|
|
1070
|
+
), h = (O) => {
|
|
1071
|
+
const H = Number(O.target.value);
|
|
1072
|
+
j(H), y.current && (y.current.currentTime = H);
|
|
1079
1073
|
};
|
|
1080
1074
|
return /* @__PURE__ */ e.jsx(
|
|
1081
1075
|
"div",
|
|
1082
1076
|
{
|
|
1083
1077
|
ref: u,
|
|
1084
|
-
style: { width: i, height:
|
|
1085
|
-
className:
|
|
1078
|
+
style: { width: i, height: o },
|
|
1079
|
+
className: c(
|
|
1086
1080
|
"relative w-full overflow-hidden",
|
|
1087
1081
|
n && "rounded-2xl",
|
|
1088
1082
|
s
|
|
1089
1083
|
),
|
|
1090
1084
|
children: f ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1091
1085
|
/* @__PURE__ */ e.jsx(
|
|
1092
|
-
|
|
1086
|
+
va,
|
|
1093
1087
|
{
|
|
1094
|
-
ref:
|
|
1088
|
+
ref: y,
|
|
1095
1089
|
src: t,
|
|
1096
1090
|
poster: r,
|
|
1097
|
-
playing:
|
|
1091
|
+
playing: b,
|
|
1098
1092
|
muted: d,
|
|
1099
1093
|
width: i,
|
|
1100
|
-
height:
|
|
1101
|
-
className:
|
|
1102
|
-
onTimeUpdate: (
|
|
1103
|
-
onDurationChange: (
|
|
1094
|
+
height: o,
|
|
1095
|
+
className: S,
|
|
1096
|
+
onTimeUpdate: (O) => j(O.currentTarget.currentTime),
|
|
1097
|
+
onDurationChange: (O) => k(O.currentTarget.duration),
|
|
1104
1098
|
onEnded: () => p(!1)
|
|
1105
1099
|
}
|
|
1106
1100
|
),
|
|
1107
1101
|
/* @__PURE__ */ e.jsx(
|
|
1108
|
-
|
|
1102
|
+
q,
|
|
1109
1103
|
{
|
|
1110
1104
|
variant: "ghost",
|
|
1111
1105
|
iconOnly: !0,
|
|
1112
1106
|
size: "lg",
|
|
1113
|
-
"aria-label":
|
|
1107
|
+
"aria-label": b ? "Pause" : "Play",
|
|
1114
1108
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
1115
|
-
onClick: () => p((
|
|
1116
|
-
children:
|
|
1109
|
+
onClick: () => p((O) => !O),
|
|
1110
|
+
children: b ? /* @__PURE__ */ e.jsx(Aa, { size: 16 }) : /* @__PURE__ */ e.jsx(xt, { size: 16, className: "translate-x-0.5" })
|
|
1117
1111
|
}
|
|
1118
1112
|
),
|
|
1119
1113
|
/* @__PURE__ */ e.jsx(
|
|
1120
|
-
|
|
1114
|
+
q,
|
|
1121
1115
|
{
|
|
1122
1116
|
variant: "ghost",
|
|
1123
1117
|
iconOnly: !0,
|
|
1124
1118
|
size: "sm",
|
|
1125
1119
|
"aria-label": d ? "Unmute" : "Mute",
|
|
1126
1120
|
className: "absolute left-2 top-2 text-white hover:bg-white/10",
|
|
1127
|
-
onClick: () =>
|
|
1128
|
-
children: d ? /* @__PURE__ */ e.jsx(
|
|
1121
|
+
onClick: () => v((O) => !O),
|
|
1122
|
+
children: d ? /* @__PURE__ */ e.jsx(Oa, { size: 14 }) : /* @__PURE__ */ e.jsx(Ra, { size: 14 })
|
|
1129
1123
|
}
|
|
1130
1124
|
),
|
|
1131
1125
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1133,19 +1127,19 @@ const Ga = ({
|
|
|
1133
1127
|
{
|
|
1134
1128
|
type: "range",
|
|
1135
1129
|
min: 0,
|
|
1136
|
-
max:
|
|
1130
|
+
max: L || 0,
|
|
1137
1131
|
step: 0.1,
|
|
1138
|
-
value:
|
|
1139
|
-
onChange:
|
|
1132
|
+
value: g,
|
|
1133
|
+
onChange: h,
|
|
1140
1134
|
"aria-label": "Seek",
|
|
1141
1135
|
className: "absolute bottom-4 left-5 right-5 h-1 accent-white"
|
|
1142
1136
|
}
|
|
1143
1137
|
)
|
|
1144
1138
|
] }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1145
|
-
/* @__PURE__ */ e.jsx("img", { src: r, alt: "", className:
|
|
1139
|
+
/* @__PURE__ */ e.jsx("img", { src: r, alt: "", className: S }),
|
|
1146
1140
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-0 bg-linear-to-b from-black/0 to-black/60" }),
|
|
1147
1141
|
/* @__PURE__ */ e.jsx(
|
|
1148
|
-
|
|
1142
|
+
q,
|
|
1149
1143
|
{
|
|
1150
1144
|
variant: "ghost",
|
|
1151
1145
|
iconOnly: !0,
|
|
@@ -1153,7 +1147,7 @@ const Ga = ({
|
|
|
1153
1147
|
"aria-label": "Play video",
|
|
1154
1148
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
1155
1149
|
onClick: () => x(!0),
|
|
1156
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1150
|
+
children: /* @__PURE__ */ e.jsx(xt, { size: 16, className: "translate-x-0.5" })
|
|
1157
1151
|
}
|
|
1158
1152
|
)
|
|
1159
1153
|
] })
|
|
@@ -1161,60 +1155,60 @@ const Ga = ({
|
|
|
1161
1155
|
);
|
|
1162
1156
|
}
|
|
1163
1157
|
);
|
|
1164
|
-
|
|
1165
|
-
const
|
|
1158
|
+
Wa.displayName = "VideoPlayer";
|
|
1159
|
+
const Ua = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), Bt = _.forwardRef(
|
|
1166
1160
|
({
|
|
1167
1161
|
options: t,
|
|
1168
1162
|
value: r,
|
|
1169
1163
|
onChange: s,
|
|
1170
1164
|
defaultOpen: n = !1,
|
|
1171
1165
|
open: i,
|
|
1172
|
-
onOpenChange:
|
|
1166
|
+
onOpenChange: o,
|
|
1173
1167
|
className: u = "",
|
|
1174
1168
|
triggerClassName: f = "",
|
|
1175
1169
|
menuClassName: x = "",
|
|
1176
|
-
...
|
|
1170
|
+
...b
|
|
1177
1171
|
}, p) => {
|
|
1178
|
-
const [d,
|
|
1179
|
-
(
|
|
1180
|
-
|
|
1172
|
+
const [d, v] = _.useState(n), g = i !== void 0, j = g ? i : d, L = _.useCallback(
|
|
1173
|
+
(N) => {
|
|
1174
|
+
g || v(N), o?.(N);
|
|
1181
1175
|
},
|
|
1182
|
-
[
|
|
1183
|
-
),
|
|
1184
|
-
|
|
1176
|
+
[g, o]
|
|
1177
|
+
), k = _.useRef(null);
|
|
1178
|
+
_.useImperativeHandle(p, () => k.current), _.useEffect(() => {
|
|
1185
1179
|
if (!j) return;
|
|
1186
|
-
const
|
|
1187
|
-
|
|
1188
|
-
},
|
|
1189
|
-
|
|
1180
|
+
const N = (h) => {
|
|
1181
|
+
k.current?.contains(h.target) || L(!1);
|
|
1182
|
+
}, S = (h) => {
|
|
1183
|
+
h.key === "Escape" && L(!1);
|
|
1190
1184
|
};
|
|
1191
|
-
return document.addEventListener("mousedown",
|
|
1192
|
-
document.removeEventListener("mousedown",
|
|
1185
|
+
return document.addEventListener("mousedown", N), document.addEventListener("keydown", S), () => {
|
|
1186
|
+
document.removeEventListener("mousedown", N), document.removeEventListener("keydown", S);
|
|
1193
1187
|
};
|
|
1194
|
-
}, [j,
|
|
1195
|
-
const
|
|
1196
|
-
s?.(
|
|
1188
|
+
}, [j, L]);
|
|
1189
|
+
const y = (N) => {
|
|
1190
|
+
s?.(N.value), L(!1);
|
|
1197
1191
|
};
|
|
1198
|
-
return /* @__PURE__ */ e.jsxs("div", { ref:
|
|
1192
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: k, className: c("relative inline-block", u), ...b, children: [
|
|
1199
1193
|
/* @__PURE__ */ e.jsxs(
|
|
1200
1194
|
"button",
|
|
1201
1195
|
{
|
|
1202
1196
|
type: "button",
|
|
1203
|
-
onClick: () =>
|
|
1197
|
+
onClick: () => L(!j),
|
|
1204
1198
|
"aria-label": "Switch language",
|
|
1205
1199
|
"aria-haspopup": "listbox",
|
|
1206
1200
|
"aria-expanded": j,
|
|
1207
|
-
className:
|
|
1201
|
+
className: c(
|
|
1208
1202
|
"inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",
|
|
1209
1203
|
f
|
|
1210
1204
|
),
|
|
1211
1205
|
children: [
|
|
1212
|
-
/* @__PURE__ */ e.jsx(
|
|
1206
|
+
/* @__PURE__ */ e.jsx(Ua, {}),
|
|
1213
1207
|
/* @__PURE__ */ e.jsx(
|
|
1214
|
-
|
|
1208
|
+
oe,
|
|
1215
1209
|
{
|
|
1216
1210
|
size: 24,
|
|
1217
|
-
className:
|
|
1211
|
+
className: c("transition-transform duration-200", j ? "rotate-180" : ""),
|
|
1218
1212
|
"aria-hidden": !0
|
|
1219
1213
|
}
|
|
1220
1214
|
)
|
|
@@ -1225,45 +1219,45 @@ const Ya = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1225
1219
|
"ul",
|
|
1226
1220
|
{
|
|
1227
1221
|
role: "listbox",
|
|
1228
|
-
className:
|
|
1222
|
+
className: c(
|
|
1229
1223
|
"absolute left-0 top-full z-10 mt-2 min-w-35 overflow-hidden rounded-lg border border-gray-200 bg-white py-1 shadow-lg",
|
|
1230
1224
|
x
|
|
1231
1225
|
),
|
|
1232
|
-
children: t.map((
|
|
1233
|
-
const
|
|
1234
|
-
return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected":
|
|
1226
|
+
children: t.map((N) => {
|
|
1227
|
+
const S = N.value === r;
|
|
1228
|
+
return /* @__PURE__ */ e.jsx("li", { role: "option", "aria-selected": S, children: /* @__PURE__ */ e.jsx(
|
|
1235
1229
|
"button",
|
|
1236
1230
|
{
|
|
1237
1231
|
type: "button",
|
|
1238
|
-
onClick: () =>
|
|
1239
|
-
className:
|
|
1232
|
+
onClick: () => y(N),
|
|
1233
|
+
className: c(
|
|
1240
1234
|
"block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",
|
|
1241
|
-
|
|
1235
|
+
S ? "font-medium text-[#f75e22]" : "text-[#1d2125]"
|
|
1242
1236
|
),
|
|
1243
|
-
children:
|
|
1237
|
+
children: N.label
|
|
1244
1238
|
}
|
|
1245
|
-
) },
|
|
1239
|
+
) }, N.value);
|
|
1246
1240
|
})
|
|
1247
1241
|
}
|
|
1248
1242
|
)
|
|
1249
1243
|
] });
|
|
1250
1244
|
}
|
|
1251
1245
|
);
|
|
1252
|
-
|
|
1253
|
-
function
|
|
1246
|
+
Bt.displayName = "LanguageSwitcher";
|
|
1247
|
+
function Ir({
|
|
1254
1248
|
onBackClick: t,
|
|
1255
1249
|
backButtonAriaLabel: r = "Go back",
|
|
1256
1250
|
locale: s,
|
|
1257
1251
|
localeOptions: n,
|
|
1258
1252
|
onLocaleChange: i,
|
|
1259
|
-
className:
|
|
1253
|
+
className: o
|
|
1260
1254
|
}) {
|
|
1261
1255
|
return /* @__PURE__ */ e.jsxs(
|
|
1262
1256
|
"div",
|
|
1263
1257
|
{
|
|
1264
|
-
className:
|
|
1258
|
+
className: c(
|
|
1265
1259
|
"mx-auto flex w-full max-w-md items-center justify-between px-4 py-3",
|
|
1266
|
-
|
|
1260
|
+
o
|
|
1267
1261
|
),
|
|
1268
1262
|
children: [
|
|
1269
1263
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1273,11 +1267,11 @@ function ts({
|
|
|
1273
1267
|
onClick: t,
|
|
1274
1268
|
"aria-label": r,
|
|
1275
1269
|
className: "flex size-8 shrink-0 items-center justify-center rounded-lg border-0 bg-transparent p-0 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.1)]",
|
|
1276
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1270
|
+
children: /* @__PURE__ */ e.jsx(We, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
1277
1271
|
}
|
|
1278
1272
|
),
|
|
1279
1273
|
/* @__PURE__ */ e.jsx(
|
|
1280
|
-
|
|
1274
|
+
Bt,
|
|
1281
1275
|
{
|
|
1282
1276
|
options: n,
|
|
1283
1277
|
value: s,
|
|
@@ -1289,15 +1283,15 @@ function ts({
|
|
|
1289
1283
|
}
|
|
1290
1284
|
);
|
|
1291
1285
|
}
|
|
1292
|
-
const
|
|
1293
|
-
({ label: t, selected: r = !1, onClick: s, icon: n, className: i, type:
|
|
1286
|
+
const Ga = _.forwardRef(
|
|
1287
|
+
({ label: t, selected: r = !1, onClick: s, icon: n, className: i, type: o = "button", ...u }, f) => /* @__PURE__ */ e.jsxs(
|
|
1294
1288
|
"button",
|
|
1295
1289
|
{
|
|
1296
1290
|
ref: f,
|
|
1297
|
-
type:
|
|
1291
|
+
type: o,
|
|
1298
1292
|
onClick: s,
|
|
1299
1293
|
"aria-pressed": r,
|
|
1300
|
-
className:
|
|
1294
|
+
className: c(
|
|
1301
1295
|
"inline-flex shrink-0 items-center justify-center gap-1 rounded-full border text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",
|
|
1302
1296
|
r ? "border-[#f38415] bg-[#f38415] px-4 py-1.5 text-white" : "border-[#fccf9a] bg-[#ffffff66] px-3 py-1.5 text-[#374151] hover:bg-white/70",
|
|
1303
1297
|
i
|
|
@@ -1310,16 +1304,16 @@ const Ka = P.forwardRef(
|
|
|
1310
1304
|
}
|
|
1311
1305
|
)
|
|
1312
1306
|
);
|
|
1313
|
-
|
|
1314
|
-
const
|
|
1307
|
+
Ga.displayName = "Chip";
|
|
1308
|
+
const Mr = ({
|
|
1315
1309
|
quote: t,
|
|
1316
1310
|
currentStep: r,
|
|
1317
1311
|
totalSteps: s,
|
|
1318
1312
|
className: n,
|
|
1319
1313
|
...i
|
|
1320
1314
|
}) => {
|
|
1321
|
-
const
|
|
1322
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
1315
|
+
const o = s > 0 ? Math.min(100, Math.max(0, r / s * 100)) : 0;
|
|
1316
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("step-progress-header", n), ...i, children: [
|
|
1323
1317
|
/* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__column", children: [
|
|
1324
1318
|
/* @__PURE__ */ e.jsx("p", { className: "step-progress-header__quote", children: t }),
|
|
1325
1319
|
/* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__track", children: [
|
|
@@ -1327,14 +1321,14 @@ const as = ({
|
|
|
1327
1321
|
"div",
|
|
1328
1322
|
{
|
|
1329
1323
|
className: "step-progress-header__track-fill",
|
|
1330
|
-
style: { width: `${
|
|
1324
|
+
style: { width: `${o}%` }
|
|
1331
1325
|
}
|
|
1332
1326
|
),
|
|
1333
1327
|
/* @__PURE__ */ e.jsx(
|
|
1334
1328
|
"div",
|
|
1335
1329
|
{
|
|
1336
1330
|
className: "step-progress-header__track-marker",
|
|
1337
|
-
style: { left: `${
|
|
1331
|
+
style: { left: `${o}%` },
|
|
1338
1332
|
children: /* @__PURE__ */ e.jsx(
|
|
1339
1333
|
"img",
|
|
1340
1334
|
{
|
|
@@ -1355,13 +1349,13 @@ const as = ({
|
|
|
1355
1349
|
] })
|
|
1356
1350
|
] });
|
|
1357
1351
|
};
|
|
1358
|
-
function
|
|
1359
|
-
return
|
|
1352
|
+
function qa(t) {
|
|
1353
|
+
return R({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M11.553 3.064A.75.75 0 0 1 12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805a.752.752 0 0 1 .808-.13ZM10.5 5.445l-4.245 3.86a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86Zm8.218-1.223a.75.75 0 0 1 1.06 0c4.296 4.296 4.296 11.26 0 15.556a.75.75 0 0 1-1.06-1.06 9.5 9.5 0 0 0 0-13.436.75.75 0 0 1 0-1.06Z" }, child: [] }, { tag: "path", attr: { d: "M16.243 7.757a.75.75 0 1 0-1.061 1.061 4.5 4.5 0 0 1 0 6.364.75.75 0 0 0 1.06 1.06 6 6 0 0 0 0-8.485Z" }, child: [] }] })(t);
|
|
1360
1354
|
}
|
|
1361
|
-
function
|
|
1362
|
-
return
|
|
1355
|
+
function Ya(t) {
|
|
1356
|
+
return R({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805A.75.75 0 0 1 12 3.75ZM6.255 9.305a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86V5.445ZM16.28 8.22a.75.75 0 1 0-1.06 1.06L17.94 12l-2.72 2.72a.75.75 0 1 0 1.06 1.06L19 13.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L20.06 12l2.72-2.72a.75.75 0 0 0-1.06-1.06L19 10.94l-2.72-2.72Z" }, child: [] }] })(t);
|
|
1363
1357
|
}
|
|
1364
|
-
const
|
|
1358
|
+
const pt = 1.25, ht = [
|
|
1365
1359
|
{ x: 11.02, y: 6.38, height: 5.28 },
|
|
1366
1360
|
{ x: 16.3, y: 6.38, height: 5.28 },
|
|
1367
1361
|
{ x: 8.36, y: 3.8, height: 10.44 },
|
|
@@ -1369,7 +1363,7 @@ const ht = 1.25, bt = [
|
|
|
1369
1363
|
{ x: 5.73, y: 2.84, height: 12.32 },
|
|
1370
1364
|
{ x: 3.07, y: 6, height: 6.03 },
|
|
1371
1365
|
{ x: 0.45, y: 7.29, height: 3.37 }
|
|
1372
|
-
],
|
|
1366
|
+
], Ka = ({
|
|
1373
1367
|
animate: t,
|
|
1374
1368
|
iconIndex: r
|
|
1375
1369
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1381,45 +1375,45 @@ const ht = 1.25, bt = [
|
|
|
1381
1375
|
fill: "none",
|
|
1382
1376
|
"aria-hidden": !0,
|
|
1383
1377
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1384
|
-
children:
|
|
1378
|
+
children: ht.map((s, n) => /* @__PURE__ */ e.jsx(
|
|
1385
1379
|
"rect",
|
|
1386
1380
|
{
|
|
1387
1381
|
x: s.x,
|
|
1388
1382
|
y: s.y,
|
|
1389
|
-
width:
|
|
1383
|
+
width: pt,
|
|
1390
1384
|
height: s.height,
|
|
1391
|
-
rx:
|
|
1385
|
+
rx: pt / 2,
|
|
1392
1386
|
fill: "#6B7280",
|
|
1393
1387
|
className: t ? "wave-bar-anim" : "",
|
|
1394
1388
|
style: {
|
|
1395
|
-
animationDelay: `${(r *
|
|
1389
|
+
animationDelay: `${(r * ht.length + n) * 60}ms`
|
|
1396
1390
|
}
|
|
1397
1391
|
},
|
|
1398
1392
|
n
|
|
1399
1393
|
))
|
|
1400
1394
|
}
|
|
1401
|
-
),
|
|
1395
|
+
), $r = ({
|
|
1402
1396
|
avatarUrl: t,
|
|
1403
1397
|
question: r,
|
|
1404
1398
|
description: s,
|
|
1405
1399
|
audioSrc: n,
|
|
1406
1400
|
className: i,
|
|
1407
|
-
...
|
|
1401
|
+
...o
|
|
1408
1402
|
}) => {
|
|
1409
|
-
const u =
|
|
1410
|
-
|
|
1403
|
+
const u = _.useRef(null), f = _.useRef(!1), [x, b] = _.useState(!1), [p, d] = _.useState(!1);
|
|
1404
|
+
_.useEffect(() => {
|
|
1411
1405
|
!n || f.current || (f.current = !0, u.current?.play().catch(() => {
|
|
1412
1406
|
}));
|
|
1413
1407
|
}, [n]);
|
|
1414
|
-
const
|
|
1415
|
-
const
|
|
1416
|
-
|
|
1408
|
+
const v = () => {
|
|
1409
|
+
const g = u.current;
|
|
1410
|
+
g && (g.muted = !g.muted, b(g.muted));
|
|
1417
1411
|
};
|
|
1418
1412
|
return /* @__PURE__ */ e.jsxs(
|
|
1419
1413
|
"div",
|
|
1420
1414
|
{
|
|
1421
|
-
className:
|
|
1422
|
-
...
|
|
1415
|
+
className: c("flex w-full items-start gap-3 px-4 pb-6", i),
|
|
1416
|
+
...o,
|
|
1423
1417
|
children: [
|
|
1424
1418
|
/* @__PURE__ */ e.jsxs("div", { className: "relative size-16 shrink-0 overflow-hidden rounded-[12.8px] bg-linear-to-b from-[#fef5e9] to-[#fccf9a]", children: [
|
|
1425
1419
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1457,8 +1451,8 @@ const ht = 1.25, bt = [
|
|
|
1457
1451
|
}
|
|
1458
1452
|
),
|
|
1459
1453
|
/* @__PURE__ */ e.jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-2 rounded-2xl bg-white p-4 drop-shadow-[-2px_2px_5px_rgba(252,207,154,0.3)]", children: [
|
|
1460
|
-
|
|
1461
|
-
|
|
1454
|
+
r,
|
|
1455
|
+
s,
|
|
1462
1456
|
n && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
1463
1457
|
/* @__PURE__ */ e.jsx(
|
|
1464
1458
|
"audio",
|
|
@@ -1474,20 +1468,20 @@ const ht = 1.25, bt = [
|
|
|
1474
1468
|
"button",
|
|
1475
1469
|
{
|
|
1476
1470
|
type: "button",
|
|
1477
|
-
onClick:
|
|
1471
|
+
onClick: v,
|
|
1478
1472
|
"aria-label": x ? "Unmute" : "Mute",
|
|
1479
1473
|
"aria-pressed": x,
|
|
1480
1474
|
className: "flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
1481
|
-
children: x ? /* @__PURE__ */ e.jsx(
|
|
1475
|
+
children: x ? /* @__PURE__ */ e.jsx(Ya, { size: 18, className: "text-[#f75e22]" }) : /* @__PURE__ */ e.jsx(qa, { size: 18, className: "text-[#f75e22]" })
|
|
1482
1476
|
}
|
|
1483
1477
|
),
|
|
1484
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((
|
|
1485
|
-
|
|
1478
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((g) => /* @__PURE__ */ e.jsx(
|
|
1479
|
+
Ka,
|
|
1486
1480
|
{
|
|
1487
1481
|
animate: p && !x,
|
|
1488
|
-
iconIndex:
|
|
1482
|
+
iconIndex: g
|
|
1489
1483
|
},
|
|
1490
|
-
|
|
1484
|
+
g
|
|
1491
1485
|
)) })
|
|
1492
1486
|
] })
|
|
1493
1487
|
] })
|
|
@@ -1495,131 +1489,122 @@ const ht = 1.25, bt = [
|
|
|
1495
1489
|
]
|
|
1496
1490
|
}
|
|
1497
1491
|
);
|
|
1498
|
-
},
|
|
1492
|
+
}, Za = {
|
|
1499
1493
|
sm: "size-9",
|
|
1500
1494
|
md: "size-11",
|
|
1501
1495
|
lg: "size-16"
|
|
1502
|
-
},
|
|
1503
|
-
({ icon: t, avatarUrl: r, alt: s = "", size: n = "md", className: i, ...
|
|
1496
|
+
}, _e = _.forwardRef(
|
|
1497
|
+
({ icon: t, avatarUrl: r, alt: s = "", size: n = "md", className: i, ...o }, u) => /* @__PURE__ */ e.jsx(
|
|
1504
1498
|
"div",
|
|
1505
1499
|
{
|
|
1506
1500
|
ref: u,
|
|
1507
|
-
className:
|
|
1501
|
+
className: c(
|
|
1508
1502
|
"flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
1509
|
-
|
|
1503
|
+
Za[n],
|
|
1510
1504
|
!r && "bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",
|
|
1511
1505
|
i
|
|
1512
1506
|
),
|
|
1513
1507
|
"aria-hidden": r ? void 0 : !0,
|
|
1514
|
-
...
|
|
1508
|
+
...o,
|
|
1515
1509
|
children: r ? /* @__PURE__ */ e.jsx("img", { src: r, alt: s, className: "size-full object-cover" }) : t
|
|
1516
1510
|
}
|
|
1517
1511
|
)
|
|
1518
1512
|
);
|
|
1519
|
-
|
|
1520
|
-
const
|
|
1513
|
+
_e.displayName = "IconBadge";
|
|
1514
|
+
const Dt = _.forwardRef(
|
|
1521
1515
|
({
|
|
1522
1516
|
selected: t = !1,
|
|
1523
1517
|
onSelect: r,
|
|
1524
1518
|
icon: s,
|
|
1525
1519
|
avatarUrl: n,
|
|
1526
1520
|
iconSize: i = "md",
|
|
1527
|
-
iconClassName:
|
|
1521
|
+
iconClassName: o,
|
|
1528
1522
|
title: u,
|
|
1529
1523
|
description: f,
|
|
1530
1524
|
badge: x,
|
|
1531
|
-
showRadio:
|
|
1525
|
+
showRadio: b = !0,
|
|
1532
1526
|
radioVariant: p = "dot",
|
|
1533
1527
|
radioClassName: d,
|
|
1534
|
-
tag:
|
|
1535
|
-
tagClassName:
|
|
1528
|
+
tag: v,
|
|
1529
|
+
tagClassName: g,
|
|
1536
1530
|
children: j,
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
disabled: y,
|
|
1541
|
-
type: T = "button",
|
|
1531
|
+
className: L,
|
|
1532
|
+
disabled: k,
|
|
1533
|
+
type: y = "button",
|
|
1542
1534
|
...N
|
|
1543
|
-
},
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1535
|
+
}, S) => /* @__PURE__ */ e.jsxs(
|
|
1536
|
+
"div",
|
|
1537
|
+
{
|
|
1538
|
+
className: c(
|
|
1539
|
+
"relative overflow-visible rounded-2xl border transition-colors",
|
|
1540
|
+
t ? "border-[#f38415] bg-[#FEF5E9]" : "border-gray-200 bg-white",
|
|
1541
|
+
k && "opacity-50",
|
|
1542
|
+
L
|
|
1543
|
+
),
|
|
1544
|
+
children: [
|
|
1545
|
+
v && /* @__PURE__ */ e.jsx(
|
|
1546
|
+
"span",
|
|
1547
|
+
{
|
|
1548
|
+
className: c(
|
|
1549
|
+
"absolute -top-2.5 left-4 z-10 inline-flex items-center rounded-full bg-[#6d5bd0] px-2.5 py-1 text-[11px] font-semibold whitespace-nowrap text-white",
|
|
1550
|
+
g
|
|
1551
|
+
),
|
|
1552
|
+
children: v
|
|
1553
|
+
}
|
|
1553
1554
|
),
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
className:
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
t ? p === "check" ? o("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white", d) : "border-[#f75e22]" : "border-gray-300"
|
|
1555
|
+
/* @__PURE__ */ e.jsxs(
|
|
1556
|
+
"button",
|
|
1557
|
+
{
|
|
1558
|
+
ref: S,
|
|
1559
|
+
type: y,
|
|
1560
|
+
role: "radio",
|
|
1561
|
+
"aria-checked": t,
|
|
1562
|
+
disabled: k,
|
|
1563
|
+
onClick: r,
|
|
1564
|
+
className: c(
|
|
1565
|
+
"flex w-full items-center gap-3 overflow-hidden rounded-2xl px-3 pt-3 pb-3 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2 disabled:cursor-not-allowed",
|
|
1566
|
+
v && "pt-7"
|
|
1567
|
+
),
|
|
1568
|
+
...N,
|
|
1569
|
+
children: [
|
|
1570
|
+
(s || n) && /* @__PURE__ */ e.jsx(_e, { icon: s, avatarUrl: n, size: i, className: o }),
|
|
1571
|
+
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1572
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#1d2125]", children: u }),
|
|
1573
|
+
f && !j && /* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-[13px] leading-4.5 text-gray-500", children: f })
|
|
1574
|
+
] }),
|
|
1575
|
+
x && /* @__PURE__ */ e.jsx("span", { className: "shrink-0", children: x }),
|
|
1576
|
+
b && /* @__PURE__ */ e.jsxs(
|
|
1577
|
+
"span",
|
|
1578
|
+
{
|
|
1579
|
+
"aria-hidden": !0,
|
|
1580
|
+
className: c(
|
|
1581
|
+
"inline-flex size-6 shrink-0 items-center justify-center rounded-full border-2 transition-colors",
|
|
1582
|
+
t ? p === "check" ? c("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white", d) : "border-[#f75e22]" : "border-gray-300"
|
|
1583
|
+
),
|
|
1584
|
+
children: [
|
|
1585
|
+
t && p === "dot" && /* @__PURE__ */ e.jsx(
|
|
1586
|
+
"span",
|
|
1587
|
+
{
|
|
1588
|
+
className: c(
|
|
1589
|
+
"size-3.5 rounded-full bg-linear-to-b from-[#f97e4e] to-[#f75e22]",
|
|
1590
|
+
d
|
|
1591
|
+
)
|
|
1592
|
+
}
|
|
1593
1593
|
),
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
]
|
|
1606
|
-
}
|
|
1607
|
-
)
|
|
1608
|
-
]
|
|
1609
|
-
}
|
|
1610
|
-
),
|
|
1611
|
-
j
|
|
1612
|
-
]
|
|
1613
|
-
}
|
|
1614
|
-
);
|
|
1615
|
-
return _ ? /* @__PURE__ */ e.jsxs("div", { className: "relative", children: [
|
|
1616
|
-
D,
|
|
1617
|
-
/* @__PURE__ */ e.jsx("div", { className: o("mt-3 rounded-b-2xl px-4 pt-4 pb-3 text-left text-[#632e06]", C), children: _ })
|
|
1618
|
-
] }) : D;
|
|
1619
|
-
}
|
|
1594
|
+
t && p === "check" && /* @__PURE__ */ e.jsx(Ve, { size: 14, "aria-hidden": !0 })
|
|
1595
|
+
]
|
|
1596
|
+
}
|
|
1597
|
+
)
|
|
1598
|
+
]
|
|
1599
|
+
}
|
|
1600
|
+
),
|
|
1601
|
+
j
|
|
1602
|
+
]
|
|
1603
|
+
}
|
|
1604
|
+
)
|
|
1620
1605
|
);
|
|
1621
|
-
|
|
1622
|
-
const
|
|
1606
|
+
Dt.displayName = "SelectorCard";
|
|
1607
|
+
const Vr = ({
|
|
1623
1608
|
value: t,
|
|
1624
1609
|
onClick: r,
|
|
1625
1610
|
className: s,
|
|
@@ -1630,18 +1615,18 @@ const ss = ({
|
|
|
1630
1615
|
role: r ? "button" : void 0,
|
|
1631
1616
|
tabIndex: r ? 0 : void 0,
|
|
1632
1617
|
onClick: r,
|
|
1633
|
-
className:
|
|
1618
|
+
className: c(
|
|
1634
1619
|
"mx-3 mb-3 flex items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",
|
|
1635
1620
|
r && "cursor-pointer",
|
|
1636
1621
|
s
|
|
1637
1622
|
),
|
|
1638
1623
|
...n,
|
|
1639
1624
|
children: [
|
|
1640
|
-
/* @__PURE__ */ e.jsx(
|
|
1625
|
+
/* @__PURE__ */ e.jsx(Ft, { size: 16, className: "shrink-0 text-gray-900", "aria-hidden": !0 }),
|
|
1641
1626
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: t })
|
|
1642
1627
|
]
|
|
1643
1628
|
}
|
|
1644
|
-
),
|
|
1629
|
+
), Hr = ({
|
|
1645
1630
|
value: t,
|
|
1646
1631
|
onInfoClick: r,
|
|
1647
1632
|
infoLabel: s = "More info",
|
|
@@ -1650,7 +1635,7 @@ const ss = ({
|
|
|
1650
1635
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1651
1636
|
"div",
|
|
1652
1637
|
{
|
|
1653
|
-
className:
|
|
1638
|
+
className: c(
|
|
1654
1639
|
"mx-3 mb-3 flex items-center justify-between gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",
|
|
1655
1640
|
n
|
|
1656
1641
|
),
|
|
@@ -1664,61 +1649,61 @@ const ss = ({
|
|
|
1664
1649
|
onClick: r,
|
|
1665
1650
|
"aria-label": s,
|
|
1666
1651
|
className: "shrink-0 border-0 bg-transparent p-0 text-gray-700",
|
|
1667
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1652
|
+
children: /* @__PURE__ */ e.jsx(xe, { size: 18, "aria-hidden": !0 })
|
|
1668
1653
|
}
|
|
1669
|
-
) : /* @__PURE__ */ e.jsx(
|
|
1654
|
+
) : /* @__PURE__ */ e.jsx(xe, { size: 18, className: "shrink-0 text-gray-700", "aria-hidden": !0 })
|
|
1670
1655
|
]
|
|
1671
1656
|
}
|
|
1672
|
-
),
|
|
1657
|
+
), Ja = ({
|
|
1673
1658
|
value: t,
|
|
1674
1659
|
className: r,
|
|
1675
1660
|
...s
|
|
1676
1661
|
}) => /* @__PURE__ */ e.jsx(
|
|
1677
1662
|
"span",
|
|
1678
1663
|
{
|
|
1679
|
-
className:
|
|
1680
|
-
"inline-flex items-center rounded-full bg-white px-3 py-1 text-sm font-semibold text-
|
|
1664
|
+
className: c(
|
|
1665
|
+
"inline-flex items-center rounded-full bg-white px-3 py-1 text-sm font-semibold text-emerald-600",
|
|
1681
1666
|
r
|
|
1682
1667
|
),
|
|
1683
1668
|
...s,
|
|
1684
1669
|
children: t
|
|
1685
1670
|
}
|
|
1686
|
-
),
|
|
1671
|
+
), Xa = ({ className: t, children: r, ...s }) => /* @__PURE__ */ e.jsx(
|
|
1687
1672
|
"div",
|
|
1688
1673
|
{
|
|
1689
|
-
className:
|
|
1690
|
-
"rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#
|
|
1674
|
+
className: c(
|
|
1675
|
+
"rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#b45309]",
|
|
1691
1676
|
t
|
|
1692
1677
|
),
|
|
1693
1678
|
...s,
|
|
1694
1679
|
children: r
|
|
1695
1680
|
}
|
|
1696
|
-
),
|
|
1681
|
+
), Wr = ({
|
|
1697
1682
|
value: t,
|
|
1698
1683
|
onIncrement: r,
|
|
1699
1684
|
onDecrement: s,
|
|
1700
1685
|
min: n = 0,
|
|
1701
1686
|
max: i,
|
|
1702
|
-
addLabel:
|
|
1687
|
+
addLabel: o = "Add",
|
|
1703
1688
|
className: u
|
|
1704
1689
|
}) => t <= n ? /* @__PURE__ */ e.jsxs(
|
|
1705
1690
|
"button",
|
|
1706
1691
|
{
|
|
1707
1692
|
type: "button",
|
|
1708
1693
|
onClick: r,
|
|
1709
|
-
className:
|
|
1694
|
+
className: c(
|
|
1710
1695
|
"inline-flex h-10 w-22 cursor-pointer items-center justify-center gap-2.5 rounded-lg bg-linear-to-b from-[#5eb98e] to-[#087955] text-base font-bold text-white",
|
|
1711
1696
|
u
|
|
1712
1697
|
),
|
|
1713
1698
|
children: [
|
|
1714
|
-
/* @__PURE__ */ e.jsx(
|
|
1715
|
-
|
|
1699
|
+
/* @__PURE__ */ e.jsx(ft, { size: 20, "aria-hidden": !0 }),
|
|
1700
|
+
o
|
|
1716
1701
|
]
|
|
1717
1702
|
}
|
|
1718
1703
|
) : /* @__PURE__ */ e.jsxs(
|
|
1719
1704
|
"div",
|
|
1720
1705
|
{
|
|
1721
|
-
className:
|
|
1706
|
+
className: c(
|
|
1722
1707
|
"inline-flex h-10 w-22 items-center justify-between rounded-lg border border-[#159169] bg-linear-to-b from-white to-[#edf5f2] px-3 text-[#087955] shadow-md",
|
|
1723
1708
|
u
|
|
1724
1709
|
),
|
|
@@ -1730,7 +1715,7 @@ const ss = ({
|
|
|
1730
1715
|
onClick: s,
|
|
1731
1716
|
"aria-label": "Decrease quantity",
|
|
1732
1717
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",
|
|
1733
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1718
|
+
children: /* @__PURE__ */ e.jsx(Da, { size: 18, "aria-hidden": !0 })
|
|
1734
1719
|
}
|
|
1735
1720
|
),
|
|
1736
1721
|
/* @__PURE__ */ e.jsx("span", { className: "min-w-[1ch] text-center text-base font-bold", children: t }),
|
|
@@ -1742,12 +1727,12 @@ const ss = ({
|
|
|
1742
1727
|
disabled: i !== void 0 && t >= i,
|
|
1743
1728
|
"aria-label": "Increase quantity",
|
|
1744
1729
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors disabled:pointer-events-none disabled:opacity-40",
|
|
1745
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1730
|
+
children: /* @__PURE__ */ e.jsx(ft, { size: 18, "aria-hidden": !0 })
|
|
1746
1731
|
}
|
|
1747
1732
|
)
|
|
1748
1733
|
]
|
|
1749
1734
|
}
|
|
1750
|
-
),
|
|
1735
|
+
), mt = {
|
|
1751
1736
|
en: {
|
|
1752
1737
|
headerTitle: "Review your booking",
|
|
1753
1738
|
addonsTitle: "Add services for all ancestors",
|
|
@@ -1772,18 +1757,18 @@ const ss = ({
|
|
|
1772
1757
|
checkoutRitualSingular: "पूजा-विधि",
|
|
1773
1758
|
checkoutRitualPlural: "पूजा-विधि"
|
|
1774
1759
|
}
|
|
1775
|
-
},
|
|
1760
|
+
}, Ce = (t) => mt[t] ?? mt.en, It = ({
|
|
1776
1761
|
title: t,
|
|
1777
1762
|
description: r,
|
|
1778
1763
|
price: s,
|
|
1779
1764
|
originalPrice: n,
|
|
1780
1765
|
action: i,
|
|
1781
|
-
className:
|
|
1766
|
+
className: o,
|
|
1782
1767
|
...u
|
|
1783
1768
|
}) => /* @__PURE__ */ e.jsx(
|
|
1784
1769
|
"div",
|
|
1785
1770
|
{
|
|
1786
|
-
className:
|
|
1771
|
+
className: c("rounded-2xl border border-gray-200 bg-white p-4", o),
|
|
1787
1772
|
...u,
|
|
1788
1773
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-between gap-3", children: [
|
|
1789
1774
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
@@ -1799,10 +1784,10 @@ const ss = ({
|
|
|
1799
1784
|
] })
|
|
1800
1785
|
] })
|
|
1801
1786
|
}
|
|
1802
|
-
),
|
|
1803
|
-
const { mandapTitle: s, mandapDescription: n } =
|
|
1804
|
-
return /* @__PURE__ */ e.jsx(
|
|
1805
|
-
},
|
|
1787
|
+
), Qa = ({ locale: t = "en", ...r }) => {
|
|
1788
|
+
const { mandapTitle: s, mandapDescription: n } = Ce(t);
|
|
1789
|
+
return /* @__PURE__ */ e.jsx(It, { title: s, description: n, ...r });
|
|
1790
|
+
}, Ur = ({
|
|
1806
1791
|
children: t = "Change",
|
|
1807
1792
|
className: r,
|
|
1808
1793
|
type: s = "button",
|
|
@@ -1811,128 +1796,134 @@ const ss = ({
|
|
|
1811
1796
|
"button",
|
|
1812
1797
|
{
|
|
1813
1798
|
type: s,
|
|
1814
|
-
className:
|
|
1799
|
+
className: c(
|
|
1815
1800
|
"inline-flex items-center gap-1.5 rounded-full border border-gray-300 px-3 py-1.5 text-sm font-semibold text-gray-900 transition-colors hover:bg-gray-50",
|
|
1816
1801
|
r
|
|
1817
1802
|
),
|
|
1818
1803
|
...n,
|
|
1819
1804
|
children: [
|
|
1820
|
-
/* @__PURE__ */ e.jsx(
|
|
1805
|
+
/* @__PURE__ */ e.jsx(Ft, { size: 14, "aria-hidden": !0 }),
|
|
1821
1806
|
t
|
|
1822
1807
|
]
|
|
1823
1808
|
}
|
|
1824
|
-
),
|
|
1809
|
+
), Gr = ({
|
|
1825
1810
|
locale: t = "en",
|
|
1826
1811
|
isAdded: r = !0,
|
|
1827
1812
|
children: s,
|
|
1828
1813
|
className: n,
|
|
1829
1814
|
type: i = "button",
|
|
1830
|
-
...
|
|
1815
|
+
...o
|
|
1831
1816
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1832
1817
|
"button",
|
|
1833
1818
|
{
|
|
1834
1819
|
type: i,
|
|
1835
|
-
className:
|
|
1820
|
+
className: c(
|
|
1836
1821
|
"inline-flex items-center gap-1.5 rounded-full border border-emerald-500 px-3 py-1.5 text-sm font-semibold text-emerald-600 transition-colors hover:bg-emerald-50",
|
|
1837
1822
|
n
|
|
1838
1823
|
),
|
|
1839
|
-
...
|
|
1824
|
+
...o,
|
|
1840
1825
|
children: [
|
|
1841
|
-
r && /* @__PURE__ */ e.jsx(
|
|
1842
|
-
s ?? (r ?
|
|
1826
|
+
r && /* @__PURE__ */ e.jsx(Ve, { size: 14, "aria-hidden": !0 }),
|
|
1827
|
+
s ?? (r ? Ce(t).addedLabel : Ce(t).addLabel)
|
|
1843
1828
|
]
|
|
1844
1829
|
}
|
|
1845
|
-
),
|
|
1846
|
-
card: rr,
|
|
1847
|
-
tag: sr,
|
|
1848
|
-
content: nr,
|
|
1849
|
-
info: lr,
|
|
1850
|
-
title: ir,
|
|
1851
|
-
description: or,
|
|
1852
|
-
priceRow: cr,
|
|
1853
|
-
price: dr,
|
|
1854
|
-
originalPrice: ur,
|
|
1855
|
-
imageWrap: xr,
|
|
1856
|
-
image: fr,
|
|
1857
|
-
actionWrap: pr
|
|
1858
|
-
}, mr = ({
|
|
1830
|
+
), er = ({
|
|
1859
1831
|
image: t,
|
|
1860
1832
|
imageAlt: r = "",
|
|
1861
1833
|
title: s,
|
|
1862
1834
|
description: n,
|
|
1863
1835
|
price: i,
|
|
1864
|
-
originalPrice:
|
|
1836
|
+
originalPrice: o,
|
|
1865
1837
|
tag: u,
|
|
1866
1838
|
tagClassName: f,
|
|
1867
1839
|
action: x,
|
|
1868
|
-
className:
|
|
1840
|
+
className: b,
|
|
1869
1841
|
...p
|
|
1870
|
-
}) => /* @__PURE__ */ e.jsxs(
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1842
|
+
}) => /* @__PURE__ */ e.jsxs(
|
|
1843
|
+
"div",
|
|
1844
|
+
{
|
|
1845
|
+
className: c(
|
|
1846
|
+
"overflow-hidden rounded-2xl border border-gray-100 bg-white shadow-sm",
|
|
1847
|
+
b
|
|
1848
|
+
),
|
|
1849
|
+
...p,
|
|
1850
|
+
children: [
|
|
1851
|
+
u && /* @__PURE__ */ e.jsx(
|
|
1852
|
+
"div",
|
|
1853
|
+
{
|
|
1854
|
+
className: c(
|
|
1855
|
+
"inline-flex items-center gap-1.5 rounded-tl-2xl rounded-br-2xl bg-emerald-800 px-3 py-1.5 text-xs font-semibold text-white",
|
|
1856
|
+
f
|
|
1857
|
+
),
|
|
1858
|
+
children: u
|
|
1859
|
+
}
|
|
1860
|
+
),
|
|
1861
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex gap-3 p-3", children: [
|
|
1862
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
1863
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-sm leading-5 font-bold text-[#232323]", children: s }),
|
|
1864
|
+
n && /* @__PURE__ */ e.jsx("p", { className: "mt-1 text-xs leading-4 text-[#6B7280]", children: n }),
|
|
1865
|
+
/* @__PURE__ */ e.jsxs("div", { className: "mt-auto flex items-baseline gap-1.5 whitespace-nowrap pt-3", children: [
|
|
1866
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] font-semibold text-emerald-600", children: i }),
|
|
1867
|
+
o && /* @__PURE__ */ e.jsx("span", { className: "text-sm text-gray-400 line-through", children: o })
|
|
1868
|
+
] })
|
|
1869
|
+
] }),
|
|
1870
|
+
/* @__PURE__ */ e.jsxs("div", { className: "relative w-30 h-34.25 shrink-0", children: [
|
|
1871
|
+
/* @__PURE__ */ e.jsx("img", { src: t, alt: r, className: "size-30 rounded-2xl object-cover" }),
|
|
1872
|
+
x && /* @__PURE__ */ e.jsx("div", { className: "absolute bottom-0 left-1/2 -translate-x-1/2", children: x })
|
|
1873
|
+
] })
|
|
1879
1874
|
] })
|
|
1880
|
-
]
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
] })
|
|
1886
|
-
] });
|
|
1887
|
-
function $t(t) {
|
|
1888
|
-
return O({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M12.136.326A1.5 1.5 0 0 1 14 1.78V3h.5A1.5 1.5 0 0 1 16 4.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-9a1.5 1.5 0 0 1 1.432-1.499zM5.562 3H13V1.78a.5.5 0 0 0-.621-.484zM1.5 4a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5z" }, child: [] }] })(t);
|
|
1875
|
+
]
|
|
1876
|
+
}
|
|
1877
|
+
);
|
|
1878
|
+
function Mt(t) {
|
|
1879
|
+
return R({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M12.136.326A1.5 1.5 0 0 1 14 1.78V3h.5A1.5 1.5 0 0 1 16 4.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-9a1.5 1.5 0 0 1 1.432-1.499zM5.562 3H13V1.78a.5.5 0 0 0-.621-.484zM1.5 4a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5z" }, child: [] }] })(t);
|
|
1889
1880
|
}
|
|
1890
|
-
function
|
|
1891
|
-
return
|
|
1881
|
+
function $t(t) {
|
|
1882
|
+
return R({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M5.338 1.59a61 61 0 0 0-2.837.856.48.48 0 0 0-.328.39c-.554 4.157.726 7.19 2.253 9.188a10.7 10.7 0 0 0 2.287 2.233c.346.244.652.42.893.533q.18.085.293.118a1 1 0 0 0 .101.025 1 1 0 0 0 .1-.025q.114-.034.294-.118c.24-.113.547-.29.893-.533a10.7 10.7 0 0 0 2.287-2.233c1.527-1.997 2.807-5.031 2.253-9.188a.48.48 0 0 0-.328-.39c-.651-.213-1.75-.56-2.837-.855C9.552 1.29 8.531 1.067 8 1.067c-.53 0-1.552.223-2.662.524zM5.072.56C6.157.265 7.31 0 8 0s1.843.265 2.928.56c1.11.3 2.229.655 2.887.87a1.54 1.54 0 0 1 1.044 1.262c.596 4.477-.787 7.795-2.465 9.99a11.8 11.8 0 0 1-2.517 2.453 7 7 0 0 1-1.048.625c-.28.132-.581.24-.829.24s-.548-.108-.829-.24a7 7 0 0 1-1.048-.625 11.8 11.8 0 0 1-2.517-2.453C1.928 10.487.545 7.169 1.141 2.692A1.54 1.54 0 0 1 2.185 1.43 63 63 0 0 1 5.072.56" }, child: [] }, { tag: "path", attr: { d: "M10.854 5.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 7.793l2.646-2.647a.5.5 0 0 1 .708 0" }, child: [] }] })(t);
|
|
1892
1883
|
}
|
|
1893
1884
|
function Vt(t) {
|
|
1894
|
-
return
|
|
1885
|
+
return R({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M8.515 1.019A7 7 0 0 0 8 1V0a8 8 0 0 1 .589.022zm2.004.45a7 7 0 0 0-.985-.299l.219-.976q.576.129 1.126.342zm1.37.71a7 7 0 0 0-.439-.27l.493-.87a8 8 0 0 1 .979.654l-.615.789a7 7 0 0 0-.418-.302zm1.834 1.79a7 7 0 0 0-.653-.796l.724-.69q.406.429.747.91zm.744 1.352a7 7 0 0 0-.214-.468l.893-.45a8 8 0 0 1 .45 1.088l-.95.313a7 7 0 0 0-.179-.483m.53 2.507a7 7 0 0 0-.1-1.025l.985-.17q.1.58.116 1.17zm-.131 1.538q.05-.254.081-.51l.993.123a8 8 0 0 1-.23 1.155l-.964-.267q.069-.247.12-.501m-.952 2.379q.276-.436.486-.908l.914.405q-.24.54-.555 1.038zm-.964 1.205q.183-.183.35-.378l.758.653a8 8 0 0 1-.401.432z" }, child: [] }, { tag: "path", attr: { d: "M8 1a7 7 0 1 0 4.95 11.95l.707.707A8.001 8.001 0 1 1 8 0z" }, child: [] }, { tag: "path", attr: { d: "M7.5 3a.5.5 0 0 1 .5.5v5.21l3.248 1.856a.5.5 0 0 1-.496.868l-3.5-2A.5.5 0 0 1 7 9V3.5a.5.5 0 0 1 .5-.5" }, child: [] }] })(t);
|
|
1895
1886
|
}
|
|
1896
|
-
const
|
|
1897
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(
|
|
1898
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(
|
|
1887
|
+
const tr = [
|
|
1888
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx($t, { "aria-hidden": !0 }), label: "100% Money Back Guarantee" },
|
|
1889
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(Mt, { "aria-hidden": !0 }), label: "No Hidden Cost" },
|
|
1899
1890
|
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(Vt, { "aria-hidden": !0 }), label: "24x7 Support" }
|
|
1900
|
-
],
|
|
1891
|
+
], bt = (t, r, s) => /* @__PURE__ */ e.jsxs(
|
|
1901
1892
|
"span",
|
|
1902
1893
|
{
|
|
1903
|
-
className:
|
|
1894
|
+
className: c("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700", s, t.className),
|
|
1904
1895
|
children: [
|
|
1905
1896
|
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-base text-gray-700", "aria-hidden": !0, children: t.icon }),
|
|
1906
1897
|
t.label
|
|
1907
1898
|
]
|
|
1908
1899
|
},
|
|
1909
1900
|
r
|
|
1910
|
-
),
|
|
1911
|
-
badges: t =
|
|
1901
|
+
), ar = ({
|
|
1902
|
+
badges: t = tr,
|
|
1912
1903
|
badgeClassName: r,
|
|
1913
1904
|
marquee: s = !0,
|
|
1914
1905
|
marqueeDurationSeconds: n = 14,
|
|
1915
1906
|
className: i,
|
|
1916
|
-
...
|
|
1917
|
-
}) => s ? /* @__PURE__ */ e.jsx("div", { className:
|
|
1907
|
+
...o
|
|
1908
|
+
}) => s ? /* @__PURE__ */ e.jsx("div", { className: c("overflow-hidden bg-[#f3f5f7] px-4 py-3", i), ...o, children: /* @__PURE__ */ e.jsx(
|
|
1918
1909
|
"div",
|
|
1919
1910
|
{
|
|
1920
1911
|
className: "flex w-max items-center gap-5 whitespace-nowrap motion-reduce:animate-none",
|
|
1921
1912
|
style: { animation: `pitru-paksh-trust-badges-marquee ${n}s linear infinite` },
|
|
1922
|
-
children: [...t, ...t].map((u, f) =>
|
|
1913
|
+
children: [...t, ...t].map((u, f) => bt(u, `${u.id}-${f}`, r))
|
|
1923
1914
|
}
|
|
1924
1915
|
) }) : /* @__PURE__ */ e.jsx(
|
|
1925
1916
|
"div",
|
|
1926
1917
|
{
|
|
1927
|
-
className:
|
|
1918
|
+
className: c(
|
|
1928
1919
|
"flex items-center gap-5 overflow-x-auto bg-[#f3f5f7] px-4 py-3 whitespace-nowrap",
|
|
1929
1920
|
"scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",
|
|
1930
1921
|
i
|
|
1931
1922
|
),
|
|
1932
|
-
...
|
|
1933
|
-
children: t.map((u) =>
|
|
1923
|
+
...o,
|
|
1924
|
+
children: t.map((u) => bt(u, u.id, r))
|
|
1934
1925
|
}
|
|
1935
|
-
),
|
|
1926
|
+
), gt = {
|
|
1936
1927
|
en: {
|
|
1937
1928
|
proceedLabel: "Proceed"
|
|
1938
1929
|
},
|
|
@@ -1942,48 +1933,48 @@ const hr = [
|
|
|
1942
1933
|
te: {
|
|
1943
1934
|
proceedLabel: "ముందుకు సాగండి"
|
|
1944
1935
|
}
|
|
1945
|
-
},
|
|
1936
|
+
}, rr = (t) => gt[t] ?? gt.en, Ue = ({
|
|
1946
1937
|
locale: t = "en",
|
|
1947
1938
|
amount: r,
|
|
1948
1939
|
amountClassName: s,
|
|
1949
1940
|
subtitle: n,
|
|
1950
1941
|
subtitleClassName: i,
|
|
1951
|
-
showInfoIcon:
|
|
1942
|
+
showInfoIcon: o = !0,
|
|
1952
1943
|
onInfoClick: u,
|
|
1953
1944
|
infoIconClassName: f,
|
|
1954
1945
|
proceedLabel: x,
|
|
1955
|
-
proceedIcon:
|
|
1946
|
+
proceedIcon: b = /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
1956
1947
|
onProceed: p,
|
|
1957
1948
|
proceedButtonProps: d,
|
|
1958
|
-
buttonWrapperClassName:
|
|
1959
|
-
className:
|
|
1949
|
+
buttonWrapperClassName: v,
|
|
1950
|
+
className: g,
|
|
1960
1951
|
...j
|
|
1961
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
1952
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3 rounded-t-3xl bg-white px-4 py-4 shadow-[0_-2px_12px_rgba(0,0,0,0.08)]", g), ...j, children: [
|
|
1962
1953
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1963
1954
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
1964
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1965
|
-
|
|
1955
|
+
/* @__PURE__ */ e.jsx("span", { className: c("text-xl font-extrabold text-[#1d2125]", s), children: r }),
|
|
1956
|
+
o && /* @__PURE__ */ e.jsx(
|
|
1966
1957
|
"button",
|
|
1967
1958
|
{
|
|
1968
1959
|
type: "button",
|
|
1969
1960
|
onClick: u,
|
|
1970
1961
|
"aria-label": "View bill details",
|
|
1971
|
-
className:
|
|
1962
|
+
className: c(
|
|
1972
1963
|
"inline-flex shrink-0 items-center justify-center text-[#f75e22]",
|
|
1973
1964
|
!u && "pointer-events-none",
|
|
1974
1965
|
f
|
|
1975
1966
|
),
|
|
1976
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1967
|
+
children: /* @__PURE__ */ e.jsx(xe, { size: 18, "aria-hidden": !0 })
|
|
1977
1968
|
}
|
|
1978
1969
|
)
|
|
1979
1970
|
] }),
|
|
1980
|
-
n && /* @__PURE__ */ e.jsx("p", { className:
|
|
1971
|
+
n && /* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", i), children: n })
|
|
1981
1972
|
] }),
|
|
1982
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1983
|
-
x ??
|
|
1984
|
-
|
|
1973
|
+
/* @__PURE__ */ e.jsx("div", { className: c("shrink-0", v), children: /* @__PURE__ */ e.jsxs(q, { variant: "primary", size: "xl", onClick: p, ...d, className: c("min-w-40 justify-center gap-2 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]", d?.className), children: [
|
|
1974
|
+
x ?? rr(t).proceedLabel,
|
|
1975
|
+
b
|
|
1985
1976
|
] }) })
|
|
1986
|
-
] }),
|
|
1977
|
+
] }), vt = {
|
|
1987
1978
|
en: {
|
|
1988
1979
|
title: "Select the number of people performing the Puja (Karta)",
|
|
1989
1980
|
description: "Performing the puja together with the whole family brings ancestors’ blessings and family prosperity",
|
|
@@ -2026,83 +2017,83 @@ const hr = [
|
|
|
2026
2017
|
support: "కస్టమర్ సపోర్ట్"
|
|
2027
2018
|
}
|
|
2028
2019
|
}
|
|
2029
|
-
},
|
|
2020
|
+
}, sr = (t) => vt[t] ?? vt.en, qr = ({
|
|
2030
2021
|
locale: t = "en",
|
|
2031
2022
|
title: r,
|
|
2032
2023
|
description: s,
|
|
2033
2024
|
benefits: n,
|
|
2034
2025
|
options: i,
|
|
2035
|
-
value:
|
|
2026
|
+
value: o,
|
|
2036
2027
|
onChange: u,
|
|
2037
2028
|
radioVariant: f = "dot",
|
|
2038
2029
|
radiogroupLabel: x,
|
|
2039
|
-
className:
|
|
2030
|
+
className: b,
|
|
2040
2031
|
headerClassName: p,
|
|
2041
2032
|
benefitsClassName: d,
|
|
2042
|
-
optionsClassName:
|
|
2043
|
-
trustBadges:
|
|
2033
|
+
optionsClassName: v,
|
|
2034
|
+
trustBadges: g,
|
|
2044
2035
|
checkout: j,
|
|
2045
|
-
stickyFooter:
|
|
2046
|
-
footerClassName:
|
|
2036
|
+
stickyFooter: L = !0,
|
|
2037
|
+
footerClassName: k
|
|
2047
2038
|
}) => {
|
|
2048
|
-
const
|
|
2039
|
+
const y = sr(t), N = r ?? y.title, S = s ?? y.description, h = n ?? y.benefits, O = g ?? {
|
|
2049
2040
|
badges: [
|
|
2050
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(
|
|
2051
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(
|
|
2052
|
-
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(Vt, { "aria-hidden": !0 }), label:
|
|
2041
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx($t, { "aria-hidden": !0 }), label: y.trustBadgeLabels.moneyBack },
|
|
2042
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(Mt, { "aria-hidden": !0 }), label: y.trustBadgeLabels.noHiddenCost },
|
|
2043
|
+
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(Vt, { "aria-hidden": !0 }), label: y.trustBadgeLabels.support }
|
|
2053
2044
|
]
|
|
2054
2045
|
};
|
|
2055
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2056
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2057
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children:
|
|
2058
|
-
|
|
2046
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("w-full", b), children: [
|
|
2047
|
+
/* @__PURE__ */ e.jsxs("div", { className: c("px-4 pt-5 pb-4", p), children: [
|
|
2048
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: N }),
|
|
2049
|
+
S && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: S })
|
|
2059
2050
|
] }),
|
|
2060
|
-
|
|
2061
|
-
/* @__PURE__ */ e.jsx(
|
|
2062
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children:
|
|
2063
|
-
] },
|
|
2051
|
+
h && h.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", d), children: h.map((H, B) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
2052
|
+
/* @__PURE__ */ e.jsx(Ve, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
|
|
2053
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: H })
|
|
2054
|
+
] }, B)) }),
|
|
2064
2055
|
/* @__PURE__ */ e.jsx(
|
|
2065
2056
|
"div",
|
|
2066
2057
|
{
|
|
2067
2058
|
role: "radiogroup",
|
|
2068
|
-
"aria-label": x ?? (typeof
|
|
2069
|
-
className:
|
|
2070
|
-
children: i.map((
|
|
2059
|
+
"aria-label": x ?? (typeof N == "string" ? N : void 0),
|
|
2060
|
+
className: c("flex flex-col gap-3 p-4", v),
|
|
2061
|
+
children: i.map((H) => {
|
|
2071
2062
|
const {
|
|
2072
|
-
id:
|
|
2073
|
-
price:
|
|
2074
|
-
free:
|
|
2075
|
-
badge:
|
|
2076
|
-
priceBadgeProps:
|
|
2063
|
+
id: B,
|
|
2064
|
+
price: Y,
|
|
2065
|
+
free: ae,
|
|
2066
|
+
badge: I,
|
|
2067
|
+
priceBadgeProps: W,
|
|
2077
2068
|
note: K,
|
|
2078
|
-
noteProps:
|
|
2079
|
-
children:
|
|
2080
|
-
iconClassName:
|
|
2069
|
+
noteProps: M,
|
|
2070
|
+
children: U,
|
|
2071
|
+
iconClassName: te,
|
|
2081
2072
|
radioVariant: Z,
|
|
2082
2073
|
...J
|
|
2083
|
-
} =
|
|
2074
|
+
} = H, X = o === B, re = I ?? (Y == null ? void 0 : ae ? /* @__PURE__ */ e.jsx("span", { className: c("text-sm font-medium text-gray-400", W?.className), ...W, children: Y }) : /* @__PURE__ */ e.jsx(Ja, { value: Y, ...W }));
|
|
2084
2075
|
return /* @__PURE__ */ e.jsx(
|
|
2085
|
-
|
|
2076
|
+
Dt,
|
|
2086
2077
|
{
|
|
2087
2078
|
...J,
|
|
2088
|
-
iconClassName:
|
|
2079
|
+
iconClassName: c("size-10", te),
|
|
2089
2080
|
radioVariant: Z ?? f,
|
|
2090
|
-
badge:
|
|
2081
|
+
badge: re,
|
|
2091
2082
|
selected: X,
|
|
2092
|
-
onSelect: () => u(
|
|
2093
|
-
children:
|
|
2083
|
+
onSelect: () => u(B),
|
|
2084
|
+
children: U ?? (X && K && /* @__PURE__ */ e.jsx(Xa, { ...M, children: K }))
|
|
2094
2085
|
},
|
|
2095
|
-
|
|
2086
|
+
B
|
|
2096
2087
|
);
|
|
2097
2088
|
})
|
|
2098
2089
|
}
|
|
2099
2090
|
),
|
|
2100
|
-
(
|
|
2101
|
-
|
|
2102
|
-
j && /* @__PURE__ */ e.jsx(
|
|
2091
|
+
(O || j) && /* @__PURE__ */ e.jsxs("div", { className: c(L && "sticky bottom-0 z-10", k), children: [
|
|
2092
|
+
O && /* @__PURE__ */ e.jsx(ar, { ...O }),
|
|
2093
|
+
j && /* @__PURE__ */ e.jsx(Ue, { ...j })
|
|
2103
2094
|
] })
|
|
2104
2095
|
] });
|
|
2105
|
-
},
|
|
2096
|
+
}, jt = {
|
|
2106
2097
|
en: {
|
|
2107
2098
|
title: "Pitru Paksha Special Rituals",
|
|
2108
2099
|
ancestorsLabel: "Ancestors",
|
|
@@ -2115,36 +2106,36 @@ const hr = [
|
|
|
2115
2106
|
ritualsLabel: "पूजा विधि",
|
|
2116
2107
|
performersLabel: "कर्ता"
|
|
2117
2108
|
}
|
|
2118
|
-
},
|
|
2109
|
+
}, nr = (t) => jt[t] ?? jt.en, lr = ({
|
|
2119
2110
|
locale: t = "en",
|
|
2120
|
-
icon: r = /* @__PURE__ */ e.jsx(
|
|
2111
|
+
icon: r = /* @__PURE__ */ e.jsx(At, { "aria-hidden": !0 }),
|
|
2121
2112
|
iconClassName: s,
|
|
2122
2113
|
title: n,
|
|
2123
2114
|
titleClassName: i,
|
|
2124
|
-
subtitle:
|
|
2115
|
+
subtitle: o,
|
|
2125
2116
|
subtitleItems: u,
|
|
2126
2117
|
stats: f,
|
|
2127
2118
|
subtitleClassName: x,
|
|
2128
|
-
cardClassName:
|
|
2119
|
+
cardClassName: b,
|
|
2129
2120
|
className: p,
|
|
2130
2121
|
...d
|
|
2131
2122
|
}) => {
|
|
2132
|
-
const
|
|
2133
|
-
`${f.ancestors} ${
|
|
2134
|
-
`${f.rituals} ${
|
|
2135
|
-
`${f.performers} ${
|
|
2123
|
+
const v = nr(t), g = n ?? v.title, j = u ?? (f && [
|
|
2124
|
+
`${f.ancestors} ${v.ancestorsLabel}`,
|
|
2125
|
+
`${f.rituals} ${v.ritualsLabel}`,
|
|
2126
|
+
`${f.performers} ${v.performersLabel}`
|
|
2136
2127
|
]);
|
|
2137
|
-
return /* @__PURE__ */ e.jsx("div", { className:
|
|
2138
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
2139
|
-
r && /* @__PURE__ */ e.jsx("span", { className:
|
|
2140
|
-
|
|
2128
|
+
return /* @__PURE__ */ e.jsx("div", { className: c("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", p), ...d, children: /* @__PURE__ */ e.jsxs("div", { className: c("rounded-2xl bg-white p-4 shadow-sm", b), children: [
|
|
2129
|
+
/* @__PURE__ */ e.jsxs("p", { className: c("flex items-center gap-2 text-sm font-bold text-[#db2777]", i), children: [
|
|
2130
|
+
r && /* @__PURE__ */ e.jsx("span", { className: c("shrink-0 text-sm", s), children: r }),
|
|
2131
|
+
g
|
|
2141
2132
|
] }),
|
|
2142
|
-
(
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
] },
|
|
2133
|
+
(o || j && j.length > 0) && /* @__PURE__ */ e.jsx("p", { className: c("mt-2 text-[15px] font-semibold text-[#1d2125]", x), children: j && j.length > 0 ? j.map((L, k) => /* @__PURE__ */ e.jsxs(_.Fragment, { children: [
|
|
2134
|
+
k > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
|
|
2135
|
+
L
|
|
2136
|
+
] }, k)) : o })
|
|
2146
2137
|
] }) });
|
|
2147
|
-
},
|
|
2138
|
+
}, yt = {
|
|
2148
2139
|
en: {
|
|
2149
2140
|
title: "Bill Details",
|
|
2150
2141
|
totalLabel: "Total Amount"
|
|
@@ -2153,190 +2144,190 @@ const hr = [
|
|
|
2153
2144
|
title: "बिल विवरण",
|
|
2154
2145
|
totalLabel: "कुल राशि"
|
|
2155
2146
|
}
|
|
2156
|
-
},
|
|
2147
|
+
}, ir = (t) => yt[t] ?? yt.en, or = ({
|
|
2157
2148
|
locale: t = "en",
|
|
2158
2149
|
titleClassName: r,
|
|
2159
2150
|
rows: s,
|
|
2160
2151
|
rowClassName: n,
|
|
2161
2152
|
showTitleAccent: i = !0,
|
|
2162
|
-
totalValue:
|
|
2153
|
+
totalValue: o,
|
|
2163
2154
|
totalClassName: u,
|
|
2164
2155
|
className: f,
|
|
2165
2156
|
...x
|
|
2166
2157
|
}) => {
|
|
2167
|
-
const { title:
|
|
2168
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2169
|
-
/* @__PURE__ */ e.jsxs("h2", { className:
|
|
2158
|
+
const { title: b, totalLabel: p } = ir(t);
|
|
2159
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("bg-white px-4 py-6", f), ...x, children: [
|
|
2160
|
+
/* @__PURE__ */ e.jsxs("h2", { className: c("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]", r), children: [
|
|
2170
2161
|
i && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]" }),
|
|
2171
|
-
|
|
2162
|
+
b
|
|
2172
2163
|
] }),
|
|
2173
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-4", children: s.map((d) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
2164
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-4", children: s.map((d) => /* @__PURE__ */ e.jsxs("div", { className: c("flex items-start justify-between gap-3", n), children: [
|
|
2174
2165
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
|
|
2175
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2176
|
-
d.subLabel && /* @__PURE__ */ e.jsx("p", { className:
|
|
2166
|
+
/* @__PURE__ */ e.jsx("p", { className: c("text-sm text-[#1d2125]", d.labelClassName), children: d.label }),
|
|
2167
|
+
d.subLabel && /* @__PURE__ */ e.jsx("p", { className: c("mt-0.5 text-xs text-gray-400", d.subLabelClassName), children: d.subLabel })
|
|
2177
2168
|
] }),
|
|
2178
2169
|
/* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm", children: [
|
|
2179
2170
|
d.note && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400", children: d.note }),
|
|
2180
2171
|
d.originalValue && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400 line-through", children: d.originalValue }),
|
|
2181
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2172
|
+
/* @__PURE__ */ e.jsx("span", { className: c("font-medium text-[#1d2125]", d.valueClassName), children: d.value })
|
|
2182
2173
|
] })
|
|
2183
2174
|
] }, d.id)) }),
|
|
2184
|
-
|
|
2175
|
+
o !== void 0 && /* @__PURE__ */ e.jsxs("div", { className: c("mt-4 flex items-center justify-between border-t border-dashed border-gray-300 pt-4", u), children: [
|
|
2185
2176
|
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-[#1d2125]", children: p }),
|
|
2186
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children:
|
|
2177
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children: o })
|
|
2187
2178
|
] })
|
|
2188
2179
|
] });
|
|
2189
|
-
},
|
|
2180
|
+
}, Yr = ({
|
|
2190
2181
|
locale: t = "en",
|
|
2191
2182
|
onBack: r,
|
|
2192
2183
|
backButtonAriaLabel: s = "Go back",
|
|
2193
2184
|
headerClassName: n,
|
|
2194
2185
|
backButtonClassName: i,
|
|
2195
|
-
headerTitleClassName:
|
|
2186
|
+
headerTitleClassName: o,
|
|
2196
2187
|
summary: u,
|
|
2197
2188
|
items: f,
|
|
2198
2189
|
itemsClassName: x,
|
|
2199
|
-
itemClassName:
|
|
2190
|
+
itemClassName: b,
|
|
2200
2191
|
addons: p,
|
|
2201
2192
|
addonsSectionClassName: d,
|
|
2202
|
-
addonsHeaderClassName:
|
|
2203
|
-
addonsTitleClassName:
|
|
2193
|
+
addonsHeaderClassName: v,
|
|
2194
|
+
addonsTitleClassName: g,
|
|
2204
2195
|
addonsDescriptionClassName: j,
|
|
2205
|
-
addonsClassName:
|
|
2206
|
-
addonClassName:
|
|
2207
|
-
billDetails:
|
|
2208
|
-
faq:
|
|
2209
|
-
checkout:
|
|
2210
|
-
className:
|
|
2211
|
-
children:
|
|
2212
|
-
...
|
|
2196
|
+
addonsClassName: L,
|
|
2197
|
+
addonClassName: k,
|
|
2198
|
+
billDetails: y,
|
|
2199
|
+
faq: N,
|
|
2200
|
+
checkout: S,
|
|
2201
|
+
className: h,
|
|
2202
|
+
children: O,
|
|
2203
|
+
...H
|
|
2213
2204
|
}) => {
|
|
2214
|
-
const { headerTitle:
|
|
2215
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2205
|
+
const { headerTitle: B, addonsTitle: Y, addonsDescription: ae, checkoutProceedLabel: I, checkoutRitualSingular: W, checkoutRitualPlural: K } = Ce(t), { price: M, ritualCount: U, ...te } = S ?? {};
|
|
2206
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("flex min-h-screen flex-col bg-white", h), ...H, children: [
|
|
2216
2207
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
2217
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2208
|
+
/* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3 px-4 py-3", n), children: [
|
|
2218
2209
|
r && /* @__PURE__ */ e.jsx(
|
|
2219
2210
|
"button",
|
|
2220
2211
|
{
|
|
2221
2212
|
type: "button",
|
|
2222
2213
|
onClick: r,
|
|
2223
2214
|
"aria-label": s,
|
|
2224
|
-
className:
|
|
2215
|
+
className: c(
|
|
2225
2216
|
"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",
|
|
2226
2217
|
i
|
|
2227
2218
|
),
|
|
2228
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2219
|
+
children: /* @__PURE__ */ e.jsx(We, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
2229
2220
|
}
|
|
2230
2221
|
),
|
|
2231
|
-
/* @__PURE__ */ e.jsx("h1", { className:
|
|
2222
|
+
/* @__PURE__ */ e.jsx("h1", { className: c("text-lg font-bold text-[#1d2125]", o), children: B })
|
|
2232
2223
|
] }),
|
|
2233
|
-
u && /* @__PURE__ */ e.jsx(
|
|
2234
|
-
f && f.length > 0 && /* @__PURE__ */ e.jsx("div", { className:
|
|
2235
|
-
({ id: Z, className: J, isMandapCharge: X, ...
|
|
2236
|
-
|
|
2224
|
+
u && /* @__PURE__ */ e.jsx(lr, { ...u }),
|
|
2225
|
+
f && f.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3 bg-white px-4 py-4", x), children: f.map(
|
|
2226
|
+
({ id: Z, className: J, isMandapCharge: X, ...re }) => X ? /* @__PURE__ */ e.jsx(
|
|
2227
|
+
Qa,
|
|
2237
2228
|
{
|
|
2238
2229
|
locale: t,
|
|
2239
|
-
className:
|
|
2240
|
-
...
|
|
2230
|
+
className: c(b, J),
|
|
2231
|
+
...re
|
|
2241
2232
|
},
|
|
2242
2233
|
Z
|
|
2243
2234
|
) : /* @__PURE__ */ e.jsx(
|
|
2244
|
-
|
|
2235
|
+
It,
|
|
2245
2236
|
{
|
|
2246
|
-
className:
|
|
2247
|
-
...
|
|
2237
|
+
className: c(b, J),
|
|
2238
|
+
...re
|
|
2248
2239
|
},
|
|
2249
2240
|
Z
|
|
2250
2241
|
)
|
|
2251
2242
|
) }),
|
|
2252
|
-
p && p.length > 0 && /* @__PURE__ */ e.jsxs("div", { className:
|
|
2253
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2254
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
2255
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2243
|
+
p && p.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: c("flex flex-col gap-4 bg-gray-50 px-4 py-6", d), children: [
|
|
2244
|
+
/* @__PURE__ */ e.jsxs("div", { className: v, children: [
|
|
2245
|
+
/* @__PURE__ */ e.jsx("h2", { className: c("text-base font-bold text-gray-700", g), children: Y }),
|
|
2246
|
+
/* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", j), children: ae })
|
|
2256
2247
|
] }),
|
|
2257
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2248
|
+
/* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-4", L), children: p.map(({ id: Z, className: J, ...X }) => /* @__PURE__ */ e.jsx(er, { className: c(k, J), ...X }, Z)) })
|
|
2258
2249
|
] }),
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2250
|
+
y && /* @__PURE__ */ e.jsx(or, { ...y, locale: t }),
|
|
2251
|
+
N && /* @__PURE__ */ e.jsx(Ha, { ...N }),
|
|
2252
|
+
O
|
|
2262
2253
|
] }),
|
|
2263
|
-
|
|
2264
|
-
|
|
2254
|
+
S && /* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0", children: /* @__PURE__ */ e.jsx(
|
|
2255
|
+
Ue,
|
|
2265
2256
|
{
|
|
2266
|
-
...
|
|
2257
|
+
...te,
|
|
2267
2258
|
locale: t,
|
|
2268
|
-
amount:
|
|
2269
|
-
subtitle: `${
|
|
2270
|
-
proceedLabel:
|
|
2259
|
+
amount: M,
|
|
2260
|
+
subtitle: `${U} ${U === 1 ? W : K}`,
|
|
2261
|
+
proceedLabel: I
|
|
2271
2262
|
}
|
|
2272
2263
|
) })
|
|
2273
2264
|
] });
|
|
2274
|
-
},
|
|
2265
|
+
}, ne = _.forwardRef(
|
|
2275
2266
|
({
|
|
2276
2267
|
label: t,
|
|
2277
2268
|
value: r,
|
|
2278
2269
|
onChange: s,
|
|
2279
2270
|
prefix: n,
|
|
2280
2271
|
showCharCount: i = !1,
|
|
2281
|
-
supportingText:
|
|
2272
|
+
supportingText: o,
|
|
2282
2273
|
error: u = !1,
|
|
2283
2274
|
className: f,
|
|
2284
2275
|
containerClassName: x,
|
|
2285
|
-
wrapperClassName:
|
|
2276
|
+
wrapperClassName: b,
|
|
2286
2277
|
maxLength: p,
|
|
2287
2278
|
id: d,
|
|
2288
|
-
...
|
|
2289
|
-
},
|
|
2290
|
-
const j =
|
|
2291
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2292
|
-
t && /* @__PURE__ */ e.jsx("label", { htmlFor:
|
|
2279
|
+
...v
|
|
2280
|
+
}, g) => {
|
|
2281
|
+
const j = _.useId(), L = d ?? j, k = o ?? (i ? `${r.length}${p ? `/${p}` : ""}` : void 0);
|
|
2282
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("flex w-full flex-col gap-2", x), children: [
|
|
2283
|
+
t && /* @__PURE__ */ e.jsx("label", { htmlFor: L, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: t }),
|
|
2293
2284
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
2294
2285
|
/* @__PURE__ */ e.jsxs(
|
|
2295
2286
|
"div",
|
|
2296
2287
|
{
|
|
2297
|
-
className:
|
|
2288
|
+
className: c(
|
|
2298
2289
|
"flex w-full items-center gap-1.5 rounded-lg border bg-white p-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",
|
|
2299
2290
|
u ? "border-[#ef4444]" : "border-[#d1d5db]",
|
|
2300
|
-
|
|
2291
|
+
b
|
|
2301
2292
|
),
|
|
2302
2293
|
children: [
|
|
2303
2294
|
n && /* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[16px] leading-5.5 font-medium text-[#6b7280]", children: n }),
|
|
2304
2295
|
/* @__PURE__ */ e.jsx(
|
|
2305
2296
|
"input",
|
|
2306
2297
|
{
|
|
2307
|
-
ref:
|
|
2308
|
-
id:
|
|
2298
|
+
ref: g,
|
|
2299
|
+
id: L,
|
|
2309
2300
|
value: r,
|
|
2310
2301
|
maxLength: p,
|
|
2311
|
-
onChange: (
|
|
2302
|
+
onChange: (y) => s(y.target.value),
|
|
2312
2303
|
"aria-invalid": u,
|
|
2313
|
-
className:
|
|
2304
|
+
className: c(
|
|
2314
2305
|
"w-full min-w-0 flex-1 border-0 bg-transparent p-0 text-[16px] leading-5.5 font-medium text-[#1f2937] placeholder:text-[#9ca3af] focus:outline-none focus:ring-0",
|
|
2315
2306
|
f
|
|
2316
2307
|
),
|
|
2317
|
-
...
|
|
2308
|
+
...v
|
|
2318
2309
|
}
|
|
2319
2310
|
)
|
|
2320
2311
|
]
|
|
2321
2312
|
}
|
|
2322
2313
|
),
|
|
2323
|
-
|
|
2314
|
+
k && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#9ca3af]", children: k })
|
|
2324
2315
|
] })
|
|
2325
2316
|
] });
|
|
2326
2317
|
}
|
|
2327
2318
|
);
|
|
2328
|
-
|
|
2329
|
-
function
|
|
2319
|
+
ne.displayName = "TextField";
|
|
2320
|
+
function Kr({
|
|
2330
2321
|
isOpen: t,
|
|
2331
2322
|
onClose: r,
|
|
2332
2323
|
avatarUrl: s,
|
|
2333
2324
|
heading: n,
|
|
2334
2325
|
tithis: i,
|
|
2335
|
-
confirmLabel:
|
|
2326
|
+
confirmLabel: o,
|
|
2336
2327
|
onConfirm: u,
|
|
2337
2328
|
initialTithi: f
|
|
2338
2329
|
}) {
|
|
2339
|
-
const [x,
|
|
2330
|
+
const [x, b] = $(f), p = () => {
|
|
2340
2331
|
x && u(x);
|
|
2341
2332
|
};
|
|
2342
2333
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -2345,7 +2336,7 @@ function us({
|
|
|
2345
2336
|
isOpen: t,
|
|
2346
2337
|
onClose: r,
|
|
2347
2338
|
showDragHandle: !0,
|
|
2348
|
-
|
|
2339
|
+
closeButtonOutside: !0,
|
|
2349
2340
|
ariaLabel: n,
|
|
2350
2341
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-3 px-5 pt-2", children: [
|
|
2351
2342
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3", children: [
|
|
@@ -2357,25 +2348,25 @@ function us({
|
|
|
2357
2348
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-4 px-5 pb-2", children: [
|
|
2358
2349
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
|
|
2359
2350
|
/* @__PURE__ */ e.jsx(
|
|
2360
|
-
|
|
2351
|
+
q,
|
|
2361
2352
|
{
|
|
2362
2353
|
variant: "primary",
|
|
2363
2354
|
size: "md",
|
|
2364
2355
|
className: "w-full rounded-xl",
|
|
2365
2356
|
disabled: !x,
|
|
2366
2357
|
onClick: p,
|
|
2367
|
-
children:
|
|
2358
|
+
children: o
|
|
2368
2359
|
}
|
|
2369
2360
|
)
|
|
2370
2361
|
] }),
|
|
2371
2362
|
children: /* @__PURE__ */ e.jsx("div", { className: "grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4", children: i.map((d) => {
|
|
2372
|
-
const
|
|
2363
|
+
const v = x === d;
|
|
2373
2364
|
return /* @__PURE__ */ e.jsx(
|
|
2374
2365
|
"button",
|
|
2375
2366
|
{
|
|
2376
2367
|
type: "button",
|
|
2377
|
-
onClick: () =>
|
|
2378
|
-
className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${
|
|
2368
|
+
onClick: () => b(d),
|
|
2369
|
+
className: `flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${v ? "border-[#f38415] bg-[#f38415] text-white" : "border-[#fccf9a] bg-white/40 text-[#374151]"}`,
|
|
2379
2370
|
children: d
|
|
2380
2371
|
},
|
|
2381
2372
|
d
|
|
@@ -2384,15 +2375,15 @@ function us({
|
|
|
2384
2375
|
}
|
|
2385
2376
|
);
|
|
2386
2377
|
}
|
|
2387
|
-
const
|
|
2388
|
-
function
|
|
2389
|
-
const n =
|
|
2390
|
-
|
|
2391
|
-
i.current || !n.current || (i.current = !0, n.current.scrollTop = r *
|
|
2378
|
+
const Ne = 48;
|
|
2379
|
+
function Ae({ options: t, selectedIndex: r, onChange: s }) {
|
|
2380
|
+
const n = _.useRef(null), i = _.useRef(!1);
|
|
2381
|
+
_.useEffect(() => {
|
|
2382
|
+
i.current || !n.current || (i.current = !0, n.current.scrollTop = r * Ne);
|
|
2392
2383
|
}, []);
|
|
2393
|
-
const
|
|
2384
|
+
const o = () => {
|
|
2394
2385
|
if (!n.current) return;
|
|
2395
|
-
const u = Math.round(n.current.scrollTop /
|
|
2386
|
+
const u = Math.round(n.current.scrollTop / Ne), f = Math.max(0, Math.min(t.length - 1, u));
|
|
2396
2387
|
f !== r && s(f);
|
|
2397
2388
|
};
|
|
2398
2389
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative h-36 w-full", children: [
|
|
@@ -2400,11 +2391,11 @@ function Fe({ options: t, selectedIndex: r, onChange: s }) {
|
|
|
2400
2391
|
"div",
|
|
2401
2392
|
{
|
|
2402
2393
|
ref: n,
|
|
2403
|
-
onScroll:
|
|
2394
|
+
onScroll: o,
|
|
2404
2395
|
className: "h-36 snap-y snap-mandatory overflow-y-auto [&::-webkit-scrollbar]:hidden",
|
|
2405
2396
|
style: { scrollbarWidth: "none" },
|
|
2406
2397
|
children: [
|
|
2407
|
-
/* @__PURE__ */ e.jsx("div", { style: { height:
|
|
2398
|
+
/* @__PURE__ */ e.jsx("div", { style: { height: Ne }, "aria-hidden": !0 }),
|
|
2408
2399
|
t.map((u, f) => /* @__PURE__ */ e.jsx(
|
|
2409
2400
|
"div",
|
|
2410
2401
|
{
|
|
@@ -2413,7 +2404,7 @@ function Fe({ options: t, selectedIndex: r, onChange: s }) {
|
|
|
2413
2404
|
},
|
|
2414
2405
|
u
|
|
2415
2406
|
)),
|
|
2416
|
-
/* @__PURE__ */ e.jsx("div", { style: { height:
|
|
2407
|
+
/* @__PURE__ */ e.jsx("div", { style: { height: Ne }, "aria-hidden": !0 })
|
|
2417
2408
|
]
|
|
2418
2409
|
}
|
|
2419
2410
|
),
|
|
@@ -2421,27 +2412,27 @@ function Fe({ options: t, selectedIndex: r, onChange: s }) {
|
|
|
2421
2412
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-0 top-24 h-px bg-[#e5e7eb]" })
|
|
2422
2413
|
] });
|
|
2423
2414
|
}
|
|
2424
|
-
const
|
|
2425
|
-
function
|
|
2415
|
+
const Fe = Array.from({ length: 31 }, (t, r) => r + 1);
|
|
2416
|
+
function Zr({
|
|
2426
2417
|
isOpen: t,
|
|
2427
2418
|
onClose: r,
|
|
2428
2419
|
avatarUrl: s,
|
|
2429
2420
|
heading: n,
|
|
2430
2421
|
monthLabels: i,
|
|
2431
|
-
confirmLabel:
|
|
2422
|
+
confirmLabel: o,
|
|
2432
2423
|
onConfirm: u,
|
|
2433
2424
|
timezoneLabel: f,
|
|
2434
2425
|
initialDate: x,
|
|
2435
|
-
minYear:
|
|
2426
|
+
minYear: b,
|
|
2436
2427
|
maxYear: p = (/* @__PURE__ */ new Date()).getFullYear()
|
|
2437
2428
|
}) {
|
|
2438
|
-
const d =
|
|
2439
|
-
const
|
|
2440
|
-
return Array.from({ length: p -
|
|
2441
|
-
}, [
|
|
2429
|
+
const d = ba(() => {
|
|
2430
|
+
const S = b ?? p - 120;
|
|
2431
|
+
return Array.from({ length: p - S + 1 }, (h, O) => S + O);
|
|
2432
|
+
}, [b, p]), [v, g] = $(() => x ? x.day - 1 : Math.floor(Fe.length / 2)), [j, L] = $(() => x ? x.month - 1 : 0), [k, y] = $(
|
|
2442
2433
|
() => x ? Math.max(0, d.indexOf(x.year)) : Math.floor(d.length / 2)
|
|
2443
|
-
),
|
|
2444
|
-
u({ day:
|
|
2434
|
+
), N = () => {
|
|
2435
|
+
u({ day: Fe[v], month: j + 1, year: d[k] });
|
|
2445
2436
|
};
|
|
2446
2437
|
return /* @__PURE__ */ e.jsx(
|
|
2447
2438
|
Le,
|
|
@@ -2449,7 +2440,7 @@ function xs({
|
|
|
2449
2440
|
isOpen: t,
|
|
2450
2441
|
onClose: r,
|
|
2451
2442
|
showDragHandle: !0,
|
|
2452
|
-
|
|
2443
|
+
closeButtonOutside: !0,
|
|
2453
2444
|
ariaLabel: n,
|
|
2454
2445
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-3 px-5 pt-2", children: [
|
|
2455
2446
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3", children: [
|
|
@@ -2462,66 +2453,60 @@ function xs({
|
|
|
2462
2453
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
|
|
2463
2454
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-6", children: [
|
|
2464
2455
|
f && /* @__PURE__ */ e.jsx("p", { className: "shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]", children: f }),
|
|
2465
|
-
/* @__PURE__ */ e.jsx(
|
|
2456
|
+
/* @__PURE__ */ e.jsx(q, { variant: "primary", size: "md", className: "flex-1 rounded-xl", onClick: N, children: o })
|
|
2466
2457
|
] })
|
|
2467
2458
|
] }),
|
|
2468
2459
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
2469
|
-
/* @__PURE__ */ e.jsx(
|
|
2470
|
-
/* @__PURE__ */ e.jsx(
|
|
2471
|
-
/* @__PURE__ */ e.jsx(
|
|
2460
|
+
/* @__PURE__ */ e.jsx(Ae, { options: Fe.map(String), selectedIndex: v, onChange: g }),
|
|
2461
|
+
/* @__PURE__ */ e.jsx(Ae, { options: i, selectedIndex: j, onChange: L }),
|
|
2462
|
+
/* @__PURE__ */ e.jsx(Ae, { options: d.map(String), selectedIndex: k, onChange: y })
|
|
2472
2463
|
] })
|
|
2473
2464
|
}
|
|
2474
2465
|
);
|
|
2475
2466
|
}
|
|
2476
|
-
function
|
|
2467
|
+
function Jr({
|
|
2477
2468
|
isOpen: t,
|
|
2478
2469
|
onClose: r,
|
|
2479
2470
|
heading: s,
|
|
2480
2471
|
subtext: n,
|
|
2481
2472
|
confirmLabel: i,
|
|
2482
|
-
onConfirm:
|
|
2473
|
+
onConfirm: o,
|
|
2483
2474
|
initialValue: u = "",
|
|
2484
2475
|
countries: f = ha,
|
|
2485
2476
|
initialCountryIso: x = "IN"
|
|
2486
2477
|
}) {
|
|
2487
|
-
const [
|
|
2488
|
-
() => f.find((
|
|
2489
|
-
), [d,
|
|
2490
|
-
|
|
2491
|
-
if (!
|
|
2492
|
-
const
|
|
2493
|
-
|
|
2494
|
-
_.current?.contains(I) || C.current?.contains(I) || j(!1);
|
|
2478
|
+
const [b, p] = $(
|
|
2479
|
+
() => f.find((h) => h.iso === x) ?? f[0]
|
|
2480
|
+
), [d, v] = $(u), [g, j] = $(!1), L = Tt(null);
|
|
2481
|
+
Rt(() => {
|
|
2482
|
+
if (!g) return;
|
|
2483
|
+
const h = (O) => {
|
|
2484
|
+
L.current && !L.current.contains(O.target) && j(!1);
|
|
2495
2485
|
};
|
|
2496
|
-
return document.addEventListener("mousedown",
|
|
2497
|
-
}, [
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
const T = Me(h.code), N = Rt(d, h.code).isValid && d.length > 0, z = (k) => {
|
|
2503
|
-
p(k), j(!1), g((W) => W.slice(0, Me(k.code)));
|
|
2504
|
-
}, D = () => {
|
|
2505
|
-
N && c(d, h);
|
|
2486
|
+
return document.addEventListener("mousedown", h), () => document.removeEventListener("mousedown", h);
|
|
2487
|
+
}, [g]);
|
|
2488
|
+
const k = Ie(b.code), y = St(d, b.code).isValid && d.length > 0, N = (h) => {
|
|
2489
|
+
p(h), j(!1), v((O) => O.slice(0, Ie(h.code)));
|
|
2490
|
+
}, S = () => {
|
|
2491
|
+
y && o(d, b);
|
|
2506
2492
|
};
|
|
2507
2493
|
return /* @__PURE__ */ e.jsx(
|
|
2508
|
-
|
|
2494
|
+
$e,
|
|
2509
2495
|
{
|
|
2510
2496
|
isOpen: t,
|
|
2511
2497
|
onClose: r,
|
|
2512
2498
|
showDragHandle: !0,
|
|
2513
2499
|
closeButtonOutside: !0,
|
|
2514
2500
|
ariaLabel: s,
|
|
2515
|
-
className: "min-h-[50vh]",
|
|
2516
2501
|
footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
2517
|
-
|
|
2502
|
+
q,
|
|
2518
2503
|
{
|
|
2519
2504
|
variant: "primary",
|
|
2520
2505
|
size: "xl",
|
|
2521
2506
|
className: "w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
2522
|
-
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2523
|
-
disabled: !
|
|
2524
|
-
onClick:
|
|
2507
|
+
rightIcon: /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
2508
|
+
disabled: !y,
|
|
2509
|
+
onClick: S,
|
|
2525
2510
|
children: i
|
|
2526
2511
|
}
|
|
2527
2512
|
) }),
|
|
@@ -2529,64 +2514,54 @@ function fs({
|
|
|
2529
2514
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
|
|
2530
2515
|
n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
|
|
2531
2516
|
/* @__PURE__ */ e.jsxs("div", { className: "mt-2 flex w-full items-start gap-2", children: [
|
|
2532
|
-
/* @__PURE__ */ e.jsxs("div", { className: "relative shrink-0", children: [
|
|
2517
|
+
/* @__PURE__ */ e.jsxs("div", { ref: L, className: "relative shrink-0", children: [
|
|
2533
2518
|
/* @__PURE__ */ e.jsxs(
|
|
2534
2519
|
"button",
|
|
2535
2520
|
{
|
|
2536
|
-
ref: _,
|
|
2537
2521
|
type: "button",
|
|
2538
|
-
onClick: () => j((
|
|
2539
|
-
"aria-expanded":
|
|
2522
|
+
onClick: () => j((h) => !h),
|
|
2523
|
+
"aria-expanded": g,
|
|
2540
2524
|
"aria-haspopup": "listbox",
|
|
2541
2525
|
className: "flex h-14 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2",
|
|
2542
2526
|
children: [
|
|
2543
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children:
|
|
2544
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children:
|
|
2545
|
-
/* @__PURE__ */ e.jsx(
|
|
2527
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: Me(b.iso) }),
|
|
2528
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: b.code }),
|
|
2529
|
+
/* @__PURE__ */ e.jsx(oe, { size: 24, className: "text-[#1d2125]", "aria-hidden": !0 })
|
|
2546
2530
|
]
|
|
2547
2531
|
}
|
|
2548
2532
|
),
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children: k.code }),
|
|
2572
|
-
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children: k.name })
|
|
2573
|
-
]
|
|
2574
|
-
},
|
|
2575
|
-
`${k.iso}-${k.code}`
|
|
2576
|
-
))
|
|
2577
|
-
}
|
|
2578
|
-
) }),
|
|
2579
|
-
document.body
|
|
2533
|
+
g && /* @__PURE__ */ e.jsx(
|
|
2534
|
+
"div",
|
|
2535
|
+
{
|
|
2536
|
+
role: "listbox",
|
|
2537
|
+
className: "absolute top-[calc(100%+4px)] left-0 z-10 max-h-60 w-64 overflow-y-auto rounded-xl border border-[#e5e7eb] bg-white py-1 shadow-lg",
|
|
2538
|
+
children: f.map((h) => /* @__PURE__ */ e.jsxs(
|
|
2539
|
+
"button",
|
|
2540
|
+
{
|
|
2541
|
+
type: "button",
|
|
2542
|
+
role: "option",
|
|
2543
|
+
"aria-selected": h.iso === b.iso,
|
|
2544
|
+
onClick: () => N(h),
|
|
2545
|
+
className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${h.iso === b.iso ? "bg-[#fff9e9]" : ""}`,
|
|
2546
|
+
children: [
|
|
2547
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children: Me(h.iso) }),
|
|
2548
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children: h.code }),
|
|
2549
|
+
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children: h.name })
|
|
2550
|
+
]
|
|
2551
|
+
},
|
|
2552
|
+
`${h.iso}-${h.code}`
|
|
2553
|
+
))
|
|
2554
|
+
}
|
|
2580
2555
|
)
|
|
2581
2556
|
] }),
|
|
2582
2557
|
/* @__PURE__ */ e.jsx(
|
|
2583
|
-
|
|
2558
|
+
ne,
|
|
2584
2559
|
{
|
|
2585
2560
|
type: "tel",
|
|
2586
2561
|
inputMode: "numeric",
|
|
2587
2562
|
value: d,
|
|
2588
|
-
maxLength:
|
|
2589
|
-
onChange: (
|
|
2563
|
+
maxLength: k,
|
|
2564
|
+
onChange: (h) => v(h.replace(/\D/g, "").slice(0, k)),
|
|
2590
2565
|
containerClassName: "w-auto flex-1 gap-0",
|
|
2591
2566
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
2592
2567
|
className: "text-[18px]"
|
|
@@ -2597,19 +2572,19 @@ function fs({
|
|
|
2597
2572
|
}
|
|
2598
2573
|
);
|
|
2599
2574
|
}
|
|
2600
|
-
const
|
|
2601
|
-
function
|
|
2575
|
+
const cr = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
2576
|
+
function Xr({
|
|
2602
2577
|
isOpen: t,
|
|
2603
2578
|
onClose: r,
|
|
2604
2579
|
heading: s,
|
|
2605
2580
|
subtext: n,
|
|
2606
2581
|
confirmLabel: i,
|
|
2607
|
-
onConfirm:
|
|
2582
|
+
onConfirm: o,
|
|
2608
2583
|
initialValue: u = "",
|
|
2609
2584
|
errorText: f = "Please enter a valid email"
|
|
2610
2585
|
}) {
|
|
2611
|
-
const [x,
|
|
2612
|
-
|
|
2586
|
+
const [x, b] = $(u), [p, d] = $(!1), v = x.trim(), g = cr.test(v), j = p && v.length > 0 && !g, L = () => {
|
|
2587
|
+
g && o(v);
|
|
2613
2588
|
};
|
|
2614
2589
|
return /* @__PURE__ */ e.jsx(
|
|
2615
2590
|
Le,
|
|
@@ -2619,14 +2594,14 @@ function ps({
|
|
|
2619
2594
|
showDragHandle: !0,
|
|
2620
2595
|
ariaLabel: s,
|
|
2621
2596
|
footer: /* @__PURE__ */ e.jsx("div", { className: "px-4 pt-3 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
2622
|
-
|
|
2597
|
+
q,
|
|
2623
2598
|
{
|
|
2624
2599
|
variant: "primary",
|
|
2625
2600
|
size: "xl",
|
|
2626
2601
|
className: "w-full rounded-xl",
|
|
2627
|
-
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2628
|
-
disabled: !
|
|
2629
|
-
onClick:
|
|
2602
|
+
rightIcon: /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
2603
|
+
disabled: !g,
|
|
2604
|
+
onClick: L,
|
|
2630
2605
|
children: i
|
|
2631
2606
|
}
|
|
2632
2607
|
) }),
|
|
@@ -2634,7 +2609,7 @@ function ps({
|
|
|
2634
2609
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
|
|
2635
2610
|
n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
|
|
2636
2611
|
/* @__PURE__ */ e.jsx(
|
|
2637
|
-
|
|
2612
|
+
ne,
|
|
2638
2613
|
{
|
|
2639
2614
|
type: "email",
|
|
2640
2615
|
inputMode: "email",
|
|
@@ -2643,7 +2618,7 @@ function ps({
|
|
|
2643
2618
|
placeholder: "you@example.com",
|
|
2644
2619
|
error: j,
|
|
2645
2620
|
supportingText: j ? f : void 0,
|
|
2646
|
-
onChange:
|
|
2621
|
+
onChange: b,
|
|
2647
2622
|
onBlur: () => d(!0),
|
|
2648
2623
|
containerClassName: "mt-2",
|
|
2649
2624
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
@@ -2654,52 +2629,50 @@ function ps({
|
|
|
2654
2629
|
}
|
|
2655
2630
|
);
|
|
2656
2631
|
}
|
|
2657
|
-
function
|
|
2658
|
-
return
|
|
2632
|
+
function dr(t) {
|
|
2633
|
+
return R({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10" }, child: [] }] })(t);
|
|
2659
2634
|
}
|
|
2660
|
-
function
|
|
2661
|
-
return
|
|
2635
|
+
function ur(t) {
|
|
2636
|
+
return R({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z" }, child: [] }] })(t);
|
|
2662
2637
|
}
|
|
2663
|
-
const
|
|
2664
|
-
function
|
|
2638
|
+
const xr = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
2639
|
+
function Qr({
|
|
2665
2640
|
chipNumber: t,
|
|
2666
2641
|
chipLabel: r,
|
|
2667
2642
|
isAdded: s,
|
|
2668
2643
|
onEditClick: n,
|
|
2669
2644
|
editButtonAriaLabel: i = "Edit",
|
|
2670
|
-
onExpandClick:
|
|
2645
|
+
onExpandClick: o,
|
|
2671
2646
|
expandButtonAriaLabel: u = "Expand",
|
|
2672
2647
|
imageUrl: f,
|
|
2673
2648
|
imageAlt: x,
|
|
2674
|
-
imageComponent:
|
|
2649
|
+
imageComponent: b,
|
|
2675
2650
|
ratingLabel: p,
|
|
2676
2651
|
bookedLabel: d,
|
|
2677
|
-
title:
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
cta: z,
|
|
2690
|
-
className: D = ""
|
|
2652
|
+
title: v,
|
|
2653
|
+
description: g,
|
|
2654
|
+
learnMoreLabel: j,
|
|
2655
|
+
onLearnMoreClick: L,
|
|
2656
|
+
learnMoreHref: k,
|
|
2657
|
+
dateLabel: y,
|
|
2658
|
+
locationLabel: N,
|
|
2659
|
+
priceInfoLabel: S,
|
|
2660
|
+
onPriceInfoClick: h,
|
|
2661
|
+
price: O,
|
|
2662
|
+
cta: H,
|
|
2663
|
+
className: B = ""
|
|
2691
2664
|
}) {
|
|
2692
|
-
const [
|
|
2665
|
+
const [Y, ae] = $(!1), I = s || Y, W = I && (p != null || d != null), K = I && (y != null || N != null);
|
|
2693
2666
|
return /* @__PURE__ */ e.jsxs(
|
|
2694
2667
|
"div",
|
|
2695
2668
|
{
|
|
2696
|
-
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-
|
|
2669
|
+
className: `flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${I ? "gap-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]" : "gap-4 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.12)]"} ${B}`,
|
|
2697
2670
|
children: [
|
|
2698
2671
|
/* @__PURE__ */ e.jsxs("div", { className: `flex w-full items-center justify-between gap-1 px-3 ${I ? "py-4" : "pt-4"}`, children: [
|
|
2699
2672
|
/* @__PURE__ */ e.jsxs(
|
|
2700
2673
|
"div",
|
|
2701
2674
|
{
|
|
2702
|
-
className: "flex min-w-0 flex-1 items-center gap-1.5 rounded-2xl
|
|
2675
|
+
className: "flex min-w-0 flex-1 items-center gap-1.5 rounded-2xl py-1.5 pl-1.5",
|
|
2703
2676
|
style: {
|
|
2704
2677
|
background: "linear-gradient(90deg, #fcccdf -29.79%, #fef5e9 50.11%, rgba(254, 245, 233, 0) 100%)"
|
|
2705
2678
|
},
|
|
@@ -2717,7 +2690,7 @@ function ms({
|
|
|
2717
2690
|
className: "flex size-8 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white p-0",
|
|
2718
2691
|
onClick: n,
|
|
2719
2692
|
"aria-label": i,
|
|
2720
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2693
|
+
children: /* @__PURE__ */ e.jsx(dr, { "aria-hidden": !0, className: "size-[18px] text-[#1D2125]" })
|
|
2721
2694
|
}
|
|
2722
2695
|
),
|
|
2723
2696
|
!s && /* @__PURE__ */ e.jsx(
|
|
@@ -2726,26 +2699,26 @@ function ms({
|
|
|
2726
2699
|
type: "button",
|
|
2727
2700
|
className: "flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2728
2701
|
onClick: () => {
|
|
2729
|
-
|
|
2702
|
+
ae((M) => !M), o?.();
|
|
2730
2703
|
},
|
|
2731
2704
|
"aria-label": u,
|
|
2732
|
-
"aria-expanded":
|
|
2705
|
+
"aria-expanded": Y,
|
|
2733
2706
|
children: /* @__PURE__ */ e.jsx(
|
|
2734
|
-
|
|
2707
|
+
ur,
|
|
2735
2708
|
{
|
|
2736
2709
|
"aria-hidden": !0,
|
|
2737
|
-
className: `size-8 text-[#1D2125] ${
|
|
2710
|
+
className: `size-8 text-[#1D2125] ${Y ? "" : "-scale-y-100"}`
|
|
2738
2711
|
}
|
|
2739
2712
|
)
|
|
2740
2713
|
}
|
|
2741
2714
|
)
|
|
2742
2715
|
] })
|
|
2743
2716
|
] }),
|
|
2744
|
-
I && f != null && /* @__PURE__ */ e.jsx("div", { className: "
|
|
2745
|
-
|
|
2717
|
+
I && f != null && /* @__PURE__ */ e.jsx("div", { className: "h-[140px] w-full overflow-hidden rounded-xl", children: b ? /* @__PURE__ */ e.jsx(b, { src: f, alt: x ?? "", className: "size-full object-cover" }) : /* @__PURE__ */ e.jsx("img", { src: f, alt: x, className: "size-full object-cover" }) }),
|
|
2718
|
+
W && /* @__PURE__ */ e.jsxs(
|
|
2746
2719
|
"div",
|
|
2747
2720
|
{
|
|
2748
|
-
className: "-
|
|
2721
|
+
className: "-mt-3 flex w-full items-center gap-2.5 rounded-b-xl px-4 py-1",
|
|
2749
2722
|
style: { background: "linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)" },
|
|
2750
2723
|
children: [
|
|
2751
2724
|
p != null && /* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]", children: p }),
|
|
@@ -2754,77 +2727,80 @@ function ms({
|
|
|
2754
2727
|
]
|
|
2755
2728
|
}
|
|
2756
2729
|
),
|
|
2757
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2758
|
-
/* @__PURE__ */ e.
|
|
2759
|
-
|
|
2730
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-3", children: [
|
|
2731
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1", children: [
|
|
2732
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-base font-bold leading-[22px] text-[#361407]", children: v }),
|
|
2733
|
+
I && g != null && /* @__PURE__ */ e.jsx("p", { className: "w-full text-xs font-normal leading-4 text-gray-500", children: g })
|
|
2734
|
+
] }),
|
|
2735
|
+
I && j != null && /* @__PURE__ */ e.jsxs(
|
|
2760
2736
|
"a",
|
|
2761
2737
|
{
|
|
2762
|
-
href:
|
|
2738
|
+
href: k,
|
|
2763
2739
|
className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",
|
|
2764
|
-
onClick:
|
|
2740
|
+
onClick: L,
|
|
2765
2741
|
children: [
|
|
2766
|
-
|
|
2767
|
-
/* @__PURE__ */ e.jsx(
|
|
2742
|
+
j,
|
|
2743
|
+
/* @__PURE__ */ e.jsx(Ma, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
|
|
2768
2744
|
]
|
|
2769
2745
|
}
|
|
2770
2746
|
),
|
|
2771
|
-
|
|
2747
|
+
K && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
2772
2748
|
/* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
|
|
2773
2749
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2", children: [
|
|
2774
|
-
|
|
2775
|
-
/* @__PURE__ */ e.jsx(
|
|
2776
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children:
|
|
2750
|
+
y != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2751
|
+
/* @__PURE__ */ e.jsx(Va, { "aria-hidden": !0, className: "size-3.5 shrink-0 text-gray-700" }),
|
|
2752
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: y })
|
|
2777
2753
|
] }),
|
|
2778
|
-
|
|
2779
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2780
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children:
|
|
2754
|
+
N != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2755
|
+
/* @__PURE__ */ e.jsx("img", { src: xr, alt: "", "aria-hidden": !0, className: "size-3.5 shrink-0" }),
|
|
2756
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: N })
|
|
2781
2757
|
] })
|
|
2782
2758
|
] })
|
|
2783
2759
|
] }),
|
|
2784
2760
|
/* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
|
|
2785
2761
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-between", children: [
|
|
2786
2762
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-start gap-0.5", children: [
|
|
2787
|
-
|
|
2788
|
-
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children:
|
|
2789
|
-
|
|
2763
|
+
S != null && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
2764
|
+
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500", children: S }),
|
|
2765
|
+
h && /* @__PURE__ */ e.jsx(
|
|
2790
2766
|
"button",
|
|
2791
2767
|
{
|
|
2792
2768
|
type: "button",
|
|
2793
2769
|
className: "flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2794
|
-
onClick:
|
|
2770
|
+
onClick: h,
|
|
2795
2771
|
"aria-label": "More info",
|
|
2796
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2772
|
+
children: /* @__PURE__ */ e.jsx(xe, { "aria-hidden": !0, className: "size-4 text-[#1D2125]" })
|
|
2797
2773
|
}
|
|
2798
2774
|
)
|
|
2799
2775
|
] }),
|
|
2800
|
-
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children:
|
|
2776
|
+
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children: O })
|
|
2801
2777
|
] }),
|
|
2802
|
-
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children:
|
|
2778
|
+
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: H })
|
|
2803
2779
|
] })
|
|
2804
2780
|
] })
|
|
2805
2781
|
]
|
|
2806
2782
|
}
|
|
2807
2783
|
);
|
|
2808
2784
|
}
|
|
2809
|
-
const
|
|
2785
|
+
const fr = {
|
|
2810
2786
|
primary: "border border-transparent pl-3 pr-4 text-white",
|
|
2811
2787
|
secondary: "border border-[#159169] px-3 text-[#159169]",
|
|
2812
2788
|
accent: "border border-transparent px-4 text-white"
|
|
2813
|
-
},
|
|
2789
|
+
}, pr = {
|
|
2814
2790
|
md: "h-10 gap-2 rounded-lg text-xs font-semibold leading-4",
|
|
2815
2791
|
lg: "h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"
|
|
2816
|
-
},
|
|
2792
|
+
}, hr = {
|
|
2817
2793
|
primary: { backgroundImage: "linear-gradient(to bottom, #5eb98e, #159169)" },
|
|
2818
2794
|
secondary: { backgroundImage: "linear-gradient(to bottom, #ffffff, #edf5f2)" },
|
|
2819
2795
|
accent: { backgroundImage: "linear-gradient(to bottom, #f97e4e, #f75e22)" }
|
|
2820
2796
|
};
|
|
2821
|
-
function
|
|
2797
|
+
function es({
|
|
2822
2798
|
variant: t = "primary",
|
|
2823
2799
|
size: r = "md",
|
|
2824
2800
|
leftIcon: s,
|
|
2825
2801
|
children: n,
|
|
2826
2802
|
className: i = "",
|
|
2827
|
-
style:
|
|
2803
|
+
style: o,
|
|
2828
2804
|
type: u = "button",
|
|
2829
2805
|
...f
|
|
2830
2806
|
}) {
|
|
@@ -2832,8 +2808,8 @@ function hs({
|
|
|
2832
2808
|
"button",
|
|
2833
2809
|
{
|
|
2834
2810
|
type: u,
|
|
2835
|
-
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${
|
|
2836
|
-
style: { ...
|
|
2811
|
+
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${pr[r]} ${fr[t]} ${i}`,
|
|
2812
|
+
style: { ...hr[t], ...o },
|
|
2837
2813
|
...f,
|
|
2838
2814
|
children: [
|
|
2839
2815
|
s,
|
|
@@ -2842,7 +2818,7 @@ function hs({
|
|
|
2842
2818
|
}
|
|
2843
2819
|
);
|
|
2844
2820
|
}
|
|
2845
|
-
function
|
|
2821
|
+
function ts({ className: t = "size-5" }) {
|
|
2846
2822
|
return /* @__PURE__ */ e.jsx("svg", { viewBox: "0 0 20 20", fill: "none", "aria-hidden": !0, className: t, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e.jsx(
|
|
2847
2823
|
"path",
|
|
2848
2824
|
{
|
|
@@ -2851,7 +2827,7 @@ function bs({ className: t = "size-5" }) {
|
|
|
2851
2827
|
}
|
|
2852
2828
|
) });
|
|
2853
2829
|
}
|
|
2854
|
-
function
|
|
2830
|
+
function as({ className: t = "size-5" }) {
|
|
2855
2831
|
return /* @__PURE__ */ e.jsx("svg", { viewBox: "0 0 20 20", fill: "none", "aria-hidden": !0, className: t, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e.jsx(
|
|
2856
2832
|
"path",
|
|
2857
2833
|
{
|
|
@@ -2860,7 +2836,7 @@ function gs({ className: t = "size-5" }) {
|
|
|
2860
2836
|
}
|
|
2861
2837
|
) });
|
|
2862
2838
|
}
|
|
2863
|
-
const
|
|
2839
|
+
const Nt = {
|
|
2864
2840
|
en: {
|
|
2865
2841
|
heading: "Check the details to book your puja procedure",
|
|
2866
2842
|
subtext: "These names and gotra will be taken by the priest",
|
|
@@ -2891,40 +2867,40 @@ const kt = {
|
|
|
2891
2867
|
editDetailsLabel: "మార్చండి",
|
|
2892
2868
|
payButtonTemplate: "{amount} చెల్లించండి"
|
|
2893
2869
|
}
|
|
2894
|
-
},
|
|
2895
|
-
function
|
|
2870
|
+
}, mr = (t) => Nt[t] ?? Nt.en;
|
|
2871
|
+
function wt({ children: t }) {
|
|
2896
2872
|
return /* @__PURE__ */ e.jsx("div", { className: "inline-flex shrink-0 items-center gap-1 rounded-full border border-[#e5e3fd] bg-[#f6f5ff] px-3 py-0.5", children: t });
|
|
2897
2873
|
}
|
|
2898
|
-
function
|
|
2874
|
+
function br({
|
|
2899
2875
|
isOpen: t,
|
|
2900
2876
|
onClose: r,
|
|
2901
2877
|
locale: s = "en",
|
|
2902
2878
|
ancestors: n,
|
|
2903
2879
|
kartaNames: i,
|
|
2904
|
-
gotra:
|
|
2880
|
+
gotra: o,
|
|
2905
2881
|
whatsappNumber: u,
|
|
2906
2882
|
amount: f,
|
|
2907
2883
|
onEditDetailsClick: x,
|
|
2908
|
-
onProceedPayment:
|
|
2884
|
+
onProceedPayment: b,
|
|
2909
2885
|
className: p
|
|
2910
2886
|
}) {
|
|
2911
|
-
const d =
|
|
2887
|
+
const d = mr(s), v = d.payButtonTemplate.replace("{amount}", f);
|
|
2912
2888
|
return /* @__PURE__ */ e.jsx(
|
|
2913
|
-
|
|
2889
|
+
$e,
|
|
2914
2890
|
{
|
|
2915
2891
|
isOpen: t,
|
|
2916
2892
|
onClose: r,
|
|
2917
2893
|
showDragHandle: !1,
|
|
2918
2894
|
closeButtonOutside: !0,
|
|
2919
2895
|
ariaLabel: d.heading,
|
|
2920
|
-
className:
|
|
2896
|
+
className: c("rounded-t-[20px] bg-[#f7f8f9]", p),
|
|
2921
2897
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-0.5 px-4 pt-4", children: [
|
|
2922
2898
|
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[18px] leading-6 font-bold text-[#22272b]", children: d.heading }),
|
|
2923
2899
|
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[14px] leading-5 font-normal text-[#6b7280]", children: d.subtext })
|
|
2924
2900
|
] }),
|
|
2925
2901
|
footer: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3 px-4 pb-4", children: [
|
|
2926
2902
|
/* @__PURE__ */ e.jsx(
|
|
2927
|
-
|
|
2903
|
+
q,
|
|
2928
2904
|
{
|
|
2929
2905
|
variant: "outline",
|
|
2930
2906
|
size: "lg",
|
|
@@ -2934,42 +2910,42 @@ function Rr({
|
|
|
2934
2910
|
}
|
|
2935
2911
|
),
|
|
2936
2912
|
/* @__PURE__ */ e.jsx(
|
|
2937
|
-
|
|
2913
|
+
q,
|
|
2938
2914
|
{
|
|
2939
2915
|
variant: "primary",
|
|
2940
2916
|
size: "lg",
|
|
2941
2917
|
className: "h-12 flex-1 rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
2942
|
-
onClick:
|
|
2943
|
-
children:
|
|
2918
|
+
onClick: b,
|
|
2919
|
+
children: v
|
|
2944
2920
|
}
|
|
2945
2921
|
)
|
|
2946
2922
|
] }),
|
|
2947
2923
|
children: /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-4 px-4 py-3", children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 rounded-lg bg-white py-3", children: [
|
|
2948
2924
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
2949
2925
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: d.ancestorsLabel }),
|
|
2950
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((
|
|
2951
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
2952
|
-
|
|
2926
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((g) => /* @__PURE__ */ e.jsxs(wt, { children: [
|
|
2927
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: g.value }),
|
|
2928
|
+
g.label && /* @__PURE__ */ e.jsxs("span", { className: "text-[10px] leading-3.5 font-medium text-[#6b7280]", children: [
|
|
2953
2929
|
"(",
|
|
2954
|
-
|
|
2930
|
+
g.label,
|
|
2955
2931
|
")"
|
|
2956
2932
|
] })
|
|
2957
|
-
] },
|
|
2933
|
+
] }, g.id)) })
|
|
2958
2934
|
] }),
|
|
2959
2935
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
2960
2936
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
2961
2937
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: d.performerLabel }),
|
|
2962
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.
|
|
2938
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.map((g, j) => /* @__PURE__ */ e.jsx(wt, { children: /* @__PURE__ */ e.jsxs("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: [
|
|
2963
2939
|
j + 1,
|
|
2964
2940
|
". ",
|
|
2965
|
-
|
|
2941
|
+
g
|
|
2966
2942
|
] }) }, j)) })
|
|
2967
2943
|
] }),
|
|
2968
2944
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
2969
2945
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 px-3", children: [
|
|
2970
2946
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
2971
2947
|
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: d.gotraLabel }),
|
|
2972
|
-
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
2948
|
+
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children: o })
|
|
2973
2949
|
] }),
|
|
2974
2950
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
2975
2951
|
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: d.whatsappLabel }),
|
|
@@ -2980,7 +2956,7 @@ function Rr({
|
|
|
2980
2956
|
}
|
|
2981
2957
|
);
|
|
2982
2958
|
}
|
|
2983
|
-
const
|
|
2959
|
+
const kt = {
|
|
2984
2960
|
en: {
|
|
2985
2961
|
heading: "I do not know my Lineage(Gotra), what should I do?",
|
|
2986
2962
|
body: "If you do not know your lineage (gotra), in this situation, you can consider your lineage as Kshyapa because Rishi Kshyapa is a sage whose descendants can be found in every caste. Therefore, he is considered a revered sage. The priest will chant these details during the worship.",
|
|
@@ -2999,18 +2975,18 @@ const _t = {
|
|
|
2999
2975
|
okayLabel: "సరే",
|
|
3000
2976
|
closeButtonAriaLabel: "మూసివేయండి"
|
|
3001
2977
|
}
|
|
3002
|
-
}, Ht = (t) =>
|
|
3003
|
-
function
|
|
2978
|
+
}, Ht = (t) => kt[t] ?? kt.en;
|
|
2979
|
+
function gr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
3004
2980
|
const i = Ht(s);
|
|
3005
2981
|
return /* @__PURE__ */ e.jsx(
|
|
3006
|
-
|
|
2982
|
+
$e,
|
|
3007
2983
|
{
|
|
3008
2984
|
isOpen: t,
|
|
3009
2985
|
onClose: r,
|
|
3010
2986
|
showCloseButton: !1,
|
|
3011
2987
|
showDragHandle: !1,
|
|
3012
2988
|
ariaLabel: i.heading,
|
|
3013
|
-
className:
|
|
2989
|
+
className: c("rounded-t-[20px]", n),
|
|
3014
2990
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-3 px-4 pt-5 pb-3", children: [
|
|
3015
2991
|
/* @__PURE__ */ e.jsx("p", { className: "flex-1 text-[18px] leading-6 font-bold text-[#22272b]", children: i.heading }),
|
|
3016
2992
|
/* @__PURE__ */ e.jsx(
|
|
@@ -3020,12 +2996,12 @@ function Or({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
|
3020
2996
|
onClick: r,
|
|
3021
2997
|
"aria-label": i.closeButtonAriaLabel,
|
|
3022
2998
|
className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#22272b]",
|
|
3023
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2999
|
+
children: /* @__PURE__ */ e.jsx(Fa, { size: 24, "aria-hidden": !0 })
|
|
3024
3000
|
}
|
|
3025
3001
|
)
|
|
3026
3002
|
] }),
|
|
3027
3003
|
footer: /* @__PURE__ */ e.jsx("div", { className: "w-full px-4 pb-5", children: /* @__PURE__ */ e.jsx(
|
|
3028
|
-
|
|
3004
|
+
q,
|
|
3029
3005
|
{
|
|
3030
3006
|
variant: "primary",
|
|
3031
3007
|
size: "xl",
|
|
@@ -3038,7 +3014,7 @@ function Or({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
|
3038
3014
|
}
|
|
3039
3015
|
);
|
|
3040
3016
|
}
|
|
3041
|
-
const
|
|
3017
|
+
const Ct = {
|
|
3042
3018
|
en: {
|
|
3043
3019
|
topBarTitle: "Fill in necessary details for Puja",
|
|
3044
3020
|
backButtonAriaLabel: "Go back",
|
|
@@ -3120,144 +3096,144 @@ const Lt = {
|
|
|
3120
3096
|
proceedCtaLabel: "వివరాలు నమోదు చేయండి",
|
|
3121
3097
|
kashyapGotraLabel: "కశ్యప"
|
|
3122
3098
|
}
|
|
3123
|
-
},
|
|
3099
|
+
}, vr = (t) => Ct[t] ?? Ct.en, Lt = {
|
|
3124
3100
|
en: ["1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", "10th"],
|
|
3125
3101
|
hi: ["पहले", "दूसरे", "तीसरे", "चौथे", "पांचवें", "छठे", "सातवें", "आठवें", "नौवें", "दसवें"],
|
|
3126
3102
|
te: ["1వ", "2వ", "3వ", "4వ", "5వ", "6వ", "7వ", "8వ", "9వ", "10వ"]
|
|
3127
|
-
},
|
|
3103
|
+
}, jr = {
|
|
3128
3104
|
en: "th",
|
|
3129
3105
|
hi: "वें",
|
|
3130
3106
|
te: "వ"
|
|
3131
|
-
},
|
|
3132
|
-
const s = r in
|
|
3133
|
-
return
|
|
3134
|
-
},
|
|
3135
|
-
function
|
|
3107
|
+
}, yr = (t, r) => {
|
|
3108
|
+
const s = r in Lt ? r : "en";
|
|
3109
|
+
return Lt[s][t - 1] ?? `${t}${jr[s]}`;
|
|
3110
|
+
}, Be = 40, De = "+91", Nr = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
3111
|
+
function rs({
|
|
3136
3112
|
locale: t = "en",
|
|
3137
3113
|
values: r,
|
|
3138
3114
|
onValuesChange: s,
|
|
3139
3115
|
isGlobal: n = !1,
|
|
3140
3116
|
gotraOptions: i = [],
|
|
3141
|
-
isSarvaPitru:
|
|
3117
|
+
isSarvaPitru: o = !1,
|
|
3142
3118
|
onBackClick: u,
|
|
3143
3119
|
amount: f,
|
|
3144
3120
|
ritualsCountLabel: x,
|
|
3145
|
-
onPriceInfoClick:
|
|
3121
|
+
onPriceInfoClick: b,
|
|
3146
3122
|
showPriceInfoIcon: p = !0,
|
|
3147
3123
|
canProceed: d,
|
|
3148
|
-
proceedCtaLabel:
|
|
3149
|
-
proceedButtonProps:
|
|
3124
|
+
proceedCtaLabel: v,
|
|
3125
|
+
proceedButtonProps: g,
|
|
3150
3126
|
onProceedPayment: j,
|
|
3151
|
-
className:
|
|
3127
|
+
className: L
|
|
3152
3128
|
}) {
|
|
3153
|
-
const [
|
|
3154
|
-
const
|
|
3155
|
-
return
|
|
3156
|
-
},
|
|
3129
|
+
const [k, y] = $(!1), [N, S] = $(!1), h = vr(t), O = Ht(t), H = (C) => {
|
|
3130
|
+
const D = yr(C + 1, t);
|
|
3131
|
+
return C === 0 ? `*${D} ${h.kartaNameLabel}` : `${D} ${h.kartaNameLabel} ${h.kartaNameOptionalSuffix}`;
|
|
3132
|
+
}, B = (C) => s({ ...r, ...C }), Y = (C, D) => {
|
|
3157
3133
|
const Q = [...r.kartaNames];
|
|
3158
|
-
Q[
|
|
3159
|
-
},
|
|
3160
|
-
|
|
3161
|
-
}, [
|
|
3162
|
-
|
|
3163
|
-
if (!
|
|
3164
|
-
const
|
|
3165
|
-
K.current && !K.current.contains(
|
|
3134
|
+
Q[C] = D, B({ kartaNames: Q });
|
|
3135
|
+
}, ae = (C, D) => {
|
|
3136
|
+
B({ ancestors: r.ancestors.map((Q) => Q.id === C ? { ...Q, value: D } : Q) });
|
|
3137
|
+
}, [I, W] = $(!1), K = Tt(null);
|
|
3138
|
+
Rt(() => {
|
|
3139
|
+
if (!I) return;
|
|
3140
|
+
const C = (D) => {
|
|
3141
|
+
K.current && !K.current.contains(D.target) && W(!1);
|
|
3166
3142
|
};
|
|
3167
|
-
return document.addEventListener("mousedown",
|
|
3168
|
-
}, [
|
|
3169
|
-
const
|
|
3170
|
-
(
|
|
3171
|
-
),
|
|
3172
|
-
|
|
3173
|
-
},
|
|
3174
|
-
const
|
|
3175
|
-
|
|
3176
|
-
}, Z =
|
|
3177
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
3143
|
+
return document.addEventListener("mousedown", C), () => document.removeEventListener("mousedown", C);
|
|
3144
|
+
}, [I]);
|
|
3145
|
+
const M = i.filter(
|
|
3146
|
+
(C) => C.toLowerCase().includes(r.gotra.trim().toLowerCase())
|
|
3147
|
+
), U = (C) => {
|
|
3148
|
+
B({ gotra: C }), W(!1);
|
|
3149
|
+
}, te = () => {
|
|
3150
|
+
const C = !r.isGotraUnknown;
|
|
3151
|
+
B({ isGotraUnknown: C, gotra: C ? h.kashyapGotraLabel : r.gotra });
|
|
3152
|
+
}, Z = Ie(De), J = St(r.whatsappNumber, De).isValid, X = Nr.test(r.email), re = r.whatsappNumber.length > 0 && !J, fe = r.email.length > 0 && !X, pe = (n ? X : J) && r.kartaNames[0].trim().length > 0 && r.gotra.trim().length > 0 && (o || r.ancestors.every((C) => C.value.trim().length > 0)), he = d ?? pe, me = r.gotra.trim().length > 0 ? r.gotra : h.kashyapGotraLabel, Ee = n ? r.email : r.whatsappNumber;
|
|
3153
|
+
return /* @__PURE__ */ e.jsxs("div", { className: c("flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]", L), children: [
|
|
3178
3154
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-3 border-b border-[#f3f4f6] bg-white px-4 py-3 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.08)] ", children: [
|
|
3179
3155
|
/* @__PURE__ */ e.jsx(
|
|
3180
3156
|
"button",
|
|
3181
3157
|
{
|
|
3182
3158
|
type: "button",
|
|
3183
3159
|
onClick: u,
|
|
3184
|
-
"aria-label":
|
|
3160
|
+
"aria-label": h.backButtonAriaLabel,
|
|
3185
3161
|
className: "flex size-8 shrink-0 items-center justify-center rounded-lg border-0 bg-transparent p-0 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.1)]",
|
|
3186
|
-
children: /* @__PURE__ */ e.jsx(
|
|
3162
|
+
children: /* @__PURE__ */ e.jsx(We, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
3187
3163
|
}
|
|
3188
3164
|
),
|
|
3189
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[18px] leading-5 font-bold text-[#1d2125]", children:
|
|
3165
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[18px] leading-5 font-bold text-[#1d2125]", children: h.topBarTitle })
|
|
3190
3166
|
] }),
|
|
3191
3167
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-1 flex-col items-center gap-4 px-4 py-4", children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full max-w-md flex-col gap-4", children: [
|
|
3192
3168
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
3193
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children: n ?
|
|
3169
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children: n ? h.emailLabel : h.whatsappNumberLabel }),
|
|
3194
3170
|
n ? /* @__PURE__ */ e.jsx(
|
|
3195
|
-
|
|
3171
|
+
ne,
|
|
3196
3172
|
{
|
|
3197
3173
|
type: "email",
|
|
3198
3174
|
inputMode: "email",
|
|
3199
3175
|
value: r.email,
|
|
3200
|
-
placeholder:
|
|
3201
|
-
error:
|
|
3202
|
-
onChange: (
|
|
3176
|
+
placeholder: h.emailPlaceholder,
|
|
3177
|
+
error: fe,
|
|
3178
|
+
onChange: (C) => B({ email: C }),
|
|
3203
3179
|
containerClassName: "w-full gap-0",
|
|
3204
3180
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
3205
3181
|
className: "text-[18px]"
|
|
3206
3182
|
}
|
|
3207
3183
|
) : /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
3208
3184
|
/* @__PURE__ */ e.jsxs("div", { className: "flex h-14 shrink-0 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2", children: [
|
|
3209
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children:
|
|
3210
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children:
|
|
3185
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: Me("IN") }),
|
|
3186
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: De })
|
|
3211
3187
|
] }),
|
|
3212
3188
|
/* @__PURE__ */ e.jsx(
|
|
3213
|
-
|
|
3189
|
+
ne,
|
|
3214
3190
|
{
|
|
3215
3191
|
type: "tel",
|
|
3216
3192
|
inputMode: "numeric",
|
|
3217
3193
|
value: r.whatsappNumber,
|
|
3218
|
-
placeholder:
|
|
3194
|
+
placeholder: h.whatsappNumberPlaceholder,
|
|
3219
3195
|
maxLength: Z,
|
|
3220
|
-
error:
|
|
3221
|
-
onChange: (
|
|
3196
|
+
error: re,
|
|
3197
|
+
onChange: (C) => B({ whatsappNumber: C.replace(/\D/g, "").slice(0, Z) }),
|
|
3222
3198
|
containerClassName: "w-auto flex-1 gap-0",
|
|
3223
3199
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
3224
3200
|
className: "text-[18px]"
|
|
3225
3201
|
}
|
|
3226
3202
|
)
|
|
3227
3203
|
] }),
|
|
3228
|
-
/* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: n ?
|
|
3204
|
+
/* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: n ? h.emailHelperText : h.whatsappNumberHelperText })
|
|
3229
3205
|
] }),
|
|
3230
3206
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
3231
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children:
|
|
3232
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5", children: r.kartaNames.map((
|
|
3233
|
-
|
|
3207
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: h.kartaNameSectionTitle }),
|
|
3208
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5", children: r.kartaNames.map((C, D) => /* @__PURE__ */ e.jsx(
|
|
3209
|
+
ne,
|
|
3234
3210
|
{
|
|
3235
|
-
label: D
|
|
3236
|
-
placeholder:
|
|
3237
|
-
value:
|
|
3238
|
-
maxLength:
|
|
3211
|
+
label: H(D),
|
|
3212
|
+
placeholder: h.kartaNamePlaceholder,
|
|
3213
|
+
value: C,
|
|
3214
|
+
maxLength: Be,
|
|
3239
3215
|
showCharCount: !0,
|
|
3240
|
-
wrapperClassName:
|
|
3241
|
-
onChange: (Q) =>
|
|
3216
|
+
wrapperClassName: c("h-12 rounded-xl", D === 0 && "bg-[#f3f4f6]"),
|
|
3217
|
+
onChange: (Q) => Y(D, Q)
|
|
3242
3218
|
},
|
|
3243
|
-
|
|
3219
|
+
D
|
|
3244
3220
|
)) })
|
|
3245
3221
|
] }),
|
|
3246
3222
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
3247
3223
|
/* @__PURE__ */ e.jsxs("div", { ref: K, className: "relative flex w-full flex-col gap-2", children: [
|
|
3248
|
-
/* @__PURE__ */ e.jsx("label", { htmlFor: "karta-gotra", className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children:
|
|
3224
|
+
/* @__PURE__ */ e.jsx("label", { htmlFor: "karta-gotra", className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children: h.gotraFieldLabel }),
|
|
3249
3225
|
/* @__PURE__ */ e.jsxs("div", { className: "flex h-12 w-full items-center gap-2 rounded-xl border border-[#d1d5db] bg-white px-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40", children: [
|
|
3250
3226
|
/* @__PURE__ */ e.jsx(
|
|
3251
3227
|
"input",
|
|
3252
3228
|
{
|
|
3253
3229
|
id: "karta-gotra",
|
|
3254
3230
|
value: r.gotra,
|
|
3255
|
-
placeholder:
|
|
3256
|
-
maxLength:
|
|
3231
|
+
placeholder: h.gotraFieldPlaceholder,
|
|
3232
|
+
maxLength: Be,
|
|
3257
3233
|
autoComplete: "off",
|
|
3258
|
-
onFocus: () =>
|
|
3259
|
-
onChange: (
|
|
3260
|
-
|
|
3234
|
+
onFocus: () => W(!0),
|
|
3235
|
+
onChange: (C) => {
|
|
3236
|
+
B({ gotra: C.target.value }), W(!0);
|
|
3261
3237
|
},
|
|
3262
3238
|
className: "w-full min-w-0 flex-1 border-0 bg-transparent p-0 text-[16px] leading-5.5 font-medium text-[#374151] placeholder:text-[#ced1d7] focus:outline-none focus:ring-0"
|
|
3263
3239
|
}
|
|
@@ -3266,32 +3242,32 @@ function vs({
|
|
|
3266
3242
|
"button",
|
|
3267
3243
|
{
|
|
3268
3244
|
type: "button",
|
|
3269
|
-
onClick: () =>
|
|
3270
|
-
"aria-label":
|
|
3245
|
+
onClick: () => S(!0),
|
|
3246
|
+
"aria-label": O.heading,
|
|
3271
3247
|
className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",
|
|
3272
|
-
children: /* @__PURE__ */ e.jsx(
|
|
3248
|
+
children: /* @__PURE__ */ e.jsx(xe, { size: 24, "aria-hidden": !0 })
|
|
3273
3249
|
}
|
|
3274
3250
|
)
|
|
3275
3251
|
] }),
|
|
3276
|
-
|
|
3252
|
+
I && M.length > 0 && /* @__PURE__ */ e.jsx(
|
|
3277
3253
|
"div",
|
|
3278
3254
|
{
|
|
3279
3255
|
role: "listbox",
|
|
3280
3256
|
className: "absolute top-[calc(100%+4px)] left-0 z-10 max-h-60 w-full overflow-y-auto rounded-xl border border-[#e5e7eb] bg-white py-1 shadow-lg",
|
|
3281
|
-
children:
|
|
3257
|
+
children: M.map((C) => /* @__PURE__ */ e.jsx(
|
|
3282
3258
|
"button",
|
|
3283
3259
|
{
|
|
3284
3260
|
type: "button",
|
|
3285
3261
|
role: "option",
|
|
3286
|
-
"aria-selected":
|
|
3287
|
-
onClick: () =>
|
|
3288
|
-
className:
|
|
3262
|
+
"aria-selected": C === r.gotra,
|
|
3263
|
+
onClick: () => U(C),
|
|
3264
|
+
className: c(
|
|
3289
3265
|
"flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",
|
|
3290
|
-
|
|
3266
|
+
C === r.gotra && "bg-[#fff9e9]"
|
|
3291
3267
|
),
|
|
3292
|
-
children:
|
|
3268
|
+
children: C
|
|
3293
3269
|
},
|
|
3294
|
-
|
|
3270
|
+
C
|
|
3295
3271
|
))
|
|
3296
3272
|
}
|
|
3297
3273
|
)
|
|
@@ -3301,81 +3277,78 @@ function vs({
|
|
|
3301
3277
|
"button",
|
|
3302
3278
|
{
|
|
3303
3279
|
type: "button",
|
|
3304
|
-
onClick:
|
|
3280
|
+
onClick: te,
|
|
3305
3281
|
"aria-pressed": r.isGotraUnknown,
|
|
3306
3282
|
className: "flex items-center gap-1 border-0 bg-transparent p-0",
|
|
3307
3283
|
children: [
|
|
3308
|
-
r.isGotraUnknown ? /* @__PURE__ */ e.jsx(
|
|
3309
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
3284
|
+
r.isGotraUnknown ? /* @__PURE__ */ e.jsx($a, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsx(Ba, { size: 24, className: "shrink-0 text-[#d1d5db]", "aria-hidden": !0 }),
|
|
3285
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: h.gotraUnknownCheckboxLabel })
|
|
3310
3286
|
]
|
|
3311
3287
|
}
|
|
3312
3288
|
),
|
|
3313
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[10px] leading-[14px] font-medium text-[#6b7280]", children:
|
|
3289
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[10px] leading-[14px] font-medium text-[#6b7280]", children: h.gotraUnknownHelperText })
|
|
3314
3290
|
] })
|
|
3315
3291
|
] }),
|
|
3316
3292
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white", children: [
|
|
3317
3293
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2.5 px-3 pt-3 pb-2", children: [
|
|
3318
|
-
/* @__PURE__ */ e.jsx(
|
|
3294
|
+
/* @__PURE__ */ e.jsx(_e, { size: "sm", icon: /* @__PURE__ */ e.jsx(za, { size: 20, className: "text-[#f38415]", "aria-hidden": !0 }) }),
|
|
3319
3295
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
3320
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children:
|
|
3321
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-normal text-[#6b7280]", children:
|
|
3296
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: h.ancestorNameSectionTitle }),
|
|
3297
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-normal text-[#6b7280]", children: o ? h.sarvaPitruSectionSubtitle : h.ancestorNameSectionSubtitle })
|
|
3322
3298
|
] })
|
|
3323
3299
|
] }),
|
|
3324
|
-
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
L.id
|
|
3342
|
-
))
|
|
3343
|
-
] })
|
|
3300
|
+
o ? /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1 p-3 pt-0", children: [
|
|
3301
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex h-12 w-full items-center rounded-xl border border-[#d1d5db] bg-[#f3f4f6] px-3", children: /* @__PURE__ */ e.jsx("span", { className: "text-[16px] leading-5.5 font-medium text-[#374151]", children: h.sarvaPitruFieldValue }) }),
|
|
3302
|
+
/* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: h.sarvaPitruHelperText })
|
|
3303
|
+
] }) : /* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5 p-3 pt-0", children: r.ancestors.map((C) => /* @__PURE__ */ e.jsx(
|
|
3304
|
+
ne,
|
|
3305
|
+
{
|
|
3306
|
+
label: `*${C.label} ${h.ancestorNameFieldSuffix}`,
|
|
3307
|
+
value: C.value,
|
|
3308
|
+
prefix: h.latePrefixLabel,
|
|
3309
|
+
placeholder: h.kartaNamePlaceholder,
|
|
3310
|
+
maxLength: Be,
|
|
3311
|
+
showCharCount: !0,
|
|
3312
|
+
wrapperClassName: "h-12 rounded-xl",
|
|
3313
|
+
onChange: (D) => ae(C.id, D)
|
|
3314
|
+
},
|
|
3315
|
+
C.id
|
|
3316
|
+
)) })
|
|
3344
3317
|
] })
|
|
3345
3318
|
] }) }),
|
|
3346
3319
|
/* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0 w-full", children: /* @__PURE__ */ e.jsx(
|
|
3347
|
-
|
|
3320
|
+
Ue,
|
|
3348
3321
|
{
|
|
3349
3322
|
amount: f,
|
|
3350
3323
|
subtitle: x,
|
|
3351
|
-
onInfoClick:
|
|
3324
|
+
onInfoClick: b,
|
|
3352
3325
|
showInfoIcon: p,
|
|
3353
|
-
proceedLabel:
|
|
3354
|
-
onProceed: () =>
|
|
3355
|
-
proceedButtonProps: { disabled: !he, ...
|
|
3326
|
+
proceedLabel: v ?? h.proceedCtaLabel,
|
|
3327
|
+
onProceed: () => y(!0),
|
|
3328
|
+
proceedButtonProps: { disabled: !he, ...g }
|
|
3356
3329
|
}
|
|
3357
3330
|
) }),
|
|
3358
3331
|
/* @__PURE__ */ e.jsx(
|
|
3359
|
-
|
|
3332
|
+
br,
|
|
3360
3333
|
{
|
|
3361
|
-
isOpen:
|
|
3362
|
-
onClose: () =>
|
|
3363
|
-
onEditDetailsClick: () =>
|
|
3334
|
+
isOpen: k,
|
|
3335
|
+
onClose: () => y(!1),
|
|
3336
|
+
onEditDetailsClick: () => y(!1),
|
|
3364
3337
|
locale: t,
|
|
3365
|
-
ancestors:
|
|
3338
|
+
ancestors: o ? [{ id: "sarva-pitru", label: "", value: h.sarvaPitruFieldValue }] : r.ancestors,
|
|
3366
3339
|
kartaNames: r.kartaNames,
|
|
3367
|
-
gotra:
|
|
3340
|
+
gotra: me,
|
|
3368
3341
|
whatsappNumber: Ee,
|
|
3369
3342
|
amount: f,
|
|
3370
3343
|
onProceedPayment: () => {
|
|
3371
|
-
|
|
3344
|
+
y(!1), j();
|
|
3372
3345
|
}
|
|
3373
3346
|
}
|
|
3374
3347
|
),
|
|
3375
|
-
/* @__PURE__ */ e.jsx(
|
|
3348
|
+
/* @__PURE__ */ e.jsx(gr, { isOpen: N, onClose: () => S(!1), locale: t })
|
|
3376
3349
|
] });
|
|
3377
3350
|
}
|
|
3378
|
-
function
|
|
3351
|
+
function ss(t = 3, r = []) {
|
|
3379
3352
|
return {
|
|
3380
3353
|
whatsappNumber: "",
|
|
3381
3354
|
email: "",
|
|
@@ -3385,33 +3358,33 @@ function js(t = 3, r = []) {
|
|
|
3385
3358
|
ancestors: r
|
|
3386
3359
|
};
|
|
3387
3360
|
}
|
|
3388
|
-
const
|
|
3389
|
-
function
|
|
3361
|
+
const _t = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", wr = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", kr = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", Cr = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", Lr = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", _r = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
|
|
3362
|
+
function Er({ variant: t }) {
|
|
3390
3363
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
3391
3364
|
t === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3392
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3393
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3394
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3365
|
+
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
|
|
3366
|
+
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
|
|
3367
|
+
/* @__PURE__ */ e.jsx("img", { src: wr, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
|
|
3395
3368
|
] }),
|
|
3396
3369
|
t === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
|
|
3397
3370
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]" }),
|
|
3398
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3371
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src: kr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
3399
3372
|
] }),
|
|
3400
3373
|
t === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
|
|
3401
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3402
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3403
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3374
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: Cr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
3375
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src: Lr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
3376
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src: _r, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
3404
3377
|
] })
|
|
3405
3378
|
] });
|
|
3406
3379
|
}
|
|
3407
|
-
const
|
|
3408
|
-
function
|
|
3380
|
+
const Pr = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", Et = "https://srm-cdn.a4b.io/yoda/1788256971870.svg";
|
|
3381
|
+
function ns({
|
|
3409
3382
|
badgeLabel: t,
|
|
3410
3383
|
headingPrefix: r,
|
|
3411
3384
|
ritualCount: s,
|
|
3412
3385
|
ritualCountLabel: n,
|
|
3413
3386
|
headingSuffix: i,
|
|
3414
|
-
trustItems:
|
|
3387
|
+
trustItems: o
|
|
3415
3388
|
}) {
|
|
3416
3389
|
return /* @__PURE__ */ e.jsxs("section", { className: "flex w-full flex-col items-center gap-3 rounded-b-[32px] border-b-2 border-[#FCCF9A] bg-linear-to-b from-white to-[#FFEFDB] px-5 py-4", children: [
|
|
3417
3390
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center gap-2", children: [
|
|
@@ -3419,7 +3392,7 @@ function ys({
|
|
|
3419
3392
|
/* @__PURE__ */ e.jsx(
|
|
3420
3393
|
"img",
|
|
3421
3394
|
{
|
|
3422
|
-
src:
|
|
3395
|
+
src: Et,
|
|
3423
3396
|
alt: "",
|
|
3424
3397
|
"aria-hidden": !0,
|
|
3425
3398
|
className: "pointer-events-none absolute inset-0 size-full",
|
|
@@ -3432,7 +3405,7 @@ function ys({
|
|
|
3432
3405
|
/* @__PURE__ */ e.jsx(
|
|
3433
3406
|
"img",
|
|
3434
3407
|
{
|
|
3435
|
-
src:
|
|
3408
|
+
src: Et,
|
|
3436
3409
|
alt: "",
|
|
3437
3410
|
"aria-hidden": !0,
|
|
3438
3411
|
className: "pointer-events-none absolute inset-0 size-full blur-sm",
|
|
@@ -3442,7 +3415,7 @@ function ys({
|
|
|
3442
3415
|
}
|
|
3443
3416
|
}
|
|
3444
3417
|
),
|
|
3445
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3418
|
+
/* @__PURE__ */ e.jsx("img", { src: Pr, alt: "Sri Mandir", className: "relative z-10 h-[53px] w-auto object-contain" })
|
|
3446
3419
|
] }),
|
|
3447
3420
|
/* @__PURE__ */ e.jsxs("p", { className: "text-xs font-semibold text-[#d51f68]", children: [
|
|
3448
3421
|
"✦ ",
|
|
@@ -3458,16 +3431,16 @@ function ys({
|
|
|
3458
3431
|
" ",
|
|
3459
3432
|
i
|
|
3460
3433
|
] }),
|
|
3461
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children:
|
|
3462
|
-
/* @__PURE__ */ e.jsx(
|
|
3434
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children: o.map((u) => /* @__PURE__ */ e.jsxs("div", { className: "flex w-25 flex-col items-center gap-1 py-2", children: [
|
|
3435
|
+
/* @__PURE__ */ e.jsx(Er, { variant: u.variant }),
|
|
3463
3436
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: u.text })
|
|
3464
3437
|
] }, u.variant)) })
|
|
3465
3438
|
] });
|
|
3466
3439
|
}
|
|
3467
|
-
function
|
|
3468
|
-
return
|
|
3440
|
+
function Sr(t) {
|
|
3441
|
+
return R({ attr: { viewBox: "0 0 256 256", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M64.12,147.8a4,4,0,0,1-4,4.2H16a8,8,0,0,1-7.8-6.17,8.35,8.35,0,0,1,1.62-6.93A67.79,67.79,0,0,1,37,117.51a40,40,0,1,1,66.46-35.8,3.94,3.94,0,0,1-2.27,4.18A64.08,64.08,0,0,0,64,144C64,145.28,64,146.54,64.12,147.8Zm182-8.91A67.76,67.76,0,0,0,219,117.51a40,40,0,1,0-66.46-35.8,3.94,3.94,0,0,0,2.27,4.18A64.08,64.08,0,0,1,192,144c0,1.28,0,2.54-.12,3.8a4,4,0,0,0,4,4.2H240a8,8,0,0,0,7.8-6.17A8.33,8.33,0,0,0,246.17,138.89Zm-89,43.18a48,48,0,1,0-58.37,0A72.13,72.13,0,0,0,65.07,212,8,8,0,0,0,72,224H184a8,8,0,0,0,6.93-12A72.15,72.15,0,0,0,157.19,182.07Z" }, child: [] }] })(t);
|
|
3469
3442
|
}
|
|
3470
|
-
const
|
|
3443
|
+
const Pt = {
|
|
3471
3444
|
en: {
|
|
3472
3445
|
title: "Who is this puja for?",
|
|
3473
3446
|
subtitle: "Your ancestors",
|
|
@@ -3480,112 +3453,112 @@ const Tt = {
|
|
|
3480
3453
|
value: "सर्वपितृ के लिए",
|
|
3481
3454
|
helperText: "यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"
|
|
3482
3455
|
}
|
|
3483
|
-
},
|
|
3456
|
+
}, Tr = (t) => Pt[t] ?? Pt.en, Rr = _.forwardRef(
|
|
3484
3457
|
({
|
|
3485
3458
|
locale: t = "en",
|
|
3486
3459
|
title: r,
|
|
3487
3460
|
subtitle: s,
|
|
3488
3461
|
value: n,
|
|
3489
3462
|
helperText: i,
|
|
3490
|
-
icon:
|
|
3463
|
+
icon: o,
|
|
3491
3464
|
className: u,
|
|
3492
3465
|
headerClassName: f,
|
|
3493
3466
|
valueBoxClassName: x,
|
|
3494
|
-
helperTextClassName:
|
|
3467
|
+
helperTextClassName: b,
|
|
3495
3468
|
...p
|
|
3496
3469
|
}, d) => {
|
|
3497
|
-
const
|
|
3470
|
+
const v = Tr(t);
|
|
3498
3471
|
return /* @__PURE__ */ e.jsxs(
|
|
3499
3472
|
"div",
|
|
3500
3473
|
{
|
|
3501
3474
|
ref: d,
|
|
3502
|
-
className:
|
|
3475
|
+
className: c("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm", u),
|
|
3503
3476
|
...p,
|
|
3504
3477
|
children: [
|
|
3505
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3506
|
-
/* @__PURE__ */ e.jsx(
|
|
3478
|
+
/* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3", f), children: [
|
|
3479
|
+
/* @__PURE__ */ e.jsx(_e, { icon: o ?? /* @__PURE__ */ e.jsx(Sr, { size: 22, "aria-hidden": !0 }), size: "lg" }),
|
|
3507
3480
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
3508
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: r ??
|
|
3509
|
-
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ??
|
|
3481
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: r ?? v.title }),
|
|
3482
|
+
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ?? v.subtitle })
|
|
3510
3483
|
] })
|
|
3511
3484
|
] }),
|
|
3512
3485
|
/* @__PURE__ */ e.jsx(
|
|
3513
3486
|
"div",
|
|
3514
3487
|
{
|
|
3515
|
-
className:
|
|
3488
|
+
className: c(
|
|
3516
3489
|
"mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",
|
|
3517
3490
|
x
|
|
3518
3491
|
),
|
|
3519
|
-
children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ??
|
|
3492
|
+
children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ?? v.value })
|
|
3520
3493
|
}
|
|
3521
3494
|
),
|
|
3522
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3495
|
+
/* @__PURE__ */ e.jsx("p", { className: c("mt-3 text-sm leading-4.5 text-gray-500", b), children: i ?? v.helperText })
|
|
3523
3496
|
]
|
|
3524
3497
|
}
|
|
3525
3498
|
);
|
|
3526
3499
|
}
|
|
3527
3500
|
);
|
|
3528
|
-
|
|
3501
|
+
Rr.displayName = "SarvaPitruCard";
|
|
3529
3502
|
export {
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3503
|
+
$r as AudioQuestionCard,
|
|
3504
|
+
jt as BOOKING_SUMMARY_BANNER_DEFAULT_COPY,
|
|
3505
|
+
or as BillDetails,
|
|
3506
|
+
lr as BookingSummaryBanner,
|
|
3507
|
+
q as Button,
|
|
3508
|
+
gt as CHECKOUT_BAR_DEFAULT_COPY,
|
|
3509
|
+
Nt as CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY,
|
|
3510
|
+
Gr as CartReviewAddedBadge,
|
|
3511
|
+
Ur as CartReviewChangeButton,
|
|
3512
|
+
It as CartReviewItem,
|
|
3513
|
+
Qa as CartReviewMandapItem,
|
|
3514
|
+
Yr as CartView,
|
|
3515
|
+
as as CheckIcon,
|
|
3516
|
+
Ue as CheckoutBar,
|
|
3517
|
+
Ga as Chip,
|
|
3518
|
+
$e as ConfinedBottomSheet,
|
|
3519
|
+
br as ConfirmPujaDetailsModal,
|
|
3520
|
+
Zr as DatePickerSheet,
|
|
3521
|
+
Xr as EmailSheet,
|
|
3522
|
+
Dr as FAQAccordion,
|
|
3523
|
+
Ha as FAQSection,
|
|
3524
|
+
kt as GOTRA_INFO_MODAL_DEFAULT_COPY,
|
|
3525
|
+
gr as GotraInfoModal,
|
|
3526
|
+
_e as IconBadge,
|
|
3527
|
+
Qr as L2Card,
|
|
3528
|
+
Bt as LanguageSwitcher,
|
|
3529
|
+
es as OutcomeButton,
|
|
3530
|
+
ns as OutcomeSummary,
|
|
3531
|
+
vt as PACKAGE_SELECT_DEFAULT_COPY,
|
|
3532
|
+
Ct as PUJA_DETAILS_FORM_DEFAULT_COPY,
|
|
3533
|
+
qr as PackageSelect,
|
|
3534
|
+
Jr as PhoneNumberSheet,
|
|
3535
|
+
ts as PlusIcon,
|
|
3536
|
+
rs as PujaDetailsForm,
|
|
3537
|
+
Wr as QuantityStepper,
|
|
3538
|
+
Pt as SARVA_PITRU_CARD_DEFAULT_COPY,
|
|
3539
|
+
Rr as SarvaPitruCard,
|
|
3540
|
+
Dt as SelectorCard,
|
|
3541
|
+
Vr as SelectorCardEditableField,
|
|
3542
|
+
Hr as SelectorCardInfoRow,
|
|
3543
|
+
Xa as SelectorCardNote,
|
|
3544
|
+
Ja as SelectorCardPriceBadge,
|
|
3545
|
+
er as ServiceOfferCard,
|
|
3546
|
+
Mr as StepProgressHeader,
|
|
3547
|
+
Br as TestimonialCard,
|
|
3548
|
+
ne as TextField,
|
|
3549
|
+
Kr as TithiPickerSheet,
|
|
3550
|
+
Ir as TopBar,
|
|
3551
|
+
ar as TrustBadgesBar,
|
|
3552
|
+
Wa as VideoPlayer,
|
|
3553
|
+
Ta as buttonVariants,
|
|
3554
|
+
os as cn,
|
|
3555
|
+
ss as createEmptyPujaDetailsFormValues,
|
|
3556
|
+
nr as getBookingSummaryBannerDefaultCopy,
|
|
3557
|
+
rr as getCheckoutBarDefaultCopy,
|
|
3558
|
+
mr as getConfirmPujaDetailsModalDefaultCopy,
|
|
3586
3559
|
Ht as getGotraInfoModalDefaultCopy,
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3560
|
+
yr as getKartaOrdinalLabel,
|
|
3561
|
+
sr as getPackageSelectDefaultCopy,
|
|
3562
|
+
vr as getPujaDetailsFormDefaultCopy,
|
|
3563
|
+
Tr as getSarvaPitruCardDefaultCopy
|
|
3591
3564
|
};
|