@srimandir/pitru-paksh-common 2.2.3 → 2.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { cn as
|
|
2
|
-
import { cn as
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
5
|
-
import { cva as
|
|
6
|
-
import
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
function
|
|
10
|
-
if (
|
|
11
|
-
|
|
12
|
-
var t =
|
|
1
|
+
import { cn as o, BottomSheet as Le, DEFAULT_COUNTRIES as ma, getMaxLengthForCountry as Me, validatePhoneByCountryCode as Tt, getFlagEmoji as $e } from "@srimandir/common";
|
|
2
|
+
import { cn as ys } from "@srimandir/common";
|
|
3
|
+
import * as ba from "react";
|
|
4
|
+
import L, { useState as $, useMemo as ga, useRef as Rt, useEffect as Ot } from "react";
|
|
5
|
+
import { cva as va } from "class-variance-authority";
|
|
6
|
+
import ja from "react-player";
|
|
7
|
+
var Ne = { exports: {} }, ue = {};
|
|
8
|
+
var ot;
|
|
9
|
+
function ya() {
|
|
10
|
+
if (ot) return ue;
|
|
11
|
+
ot = 1;
|
|
12
|
+
var t = L, 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, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
13
13
|
function u(f, x, b) {
|
|
14
14
|
var p, d = {}, v = null, g = null;
|
|
15
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) && !
|
|
16
|
+
for (p in x) n.call(x, p) && !c.hasOwnProperty(p) && (d[p] = x[p]);
|
|
17
17
|
if (f && f.defaultProps) for (p in x = f.defaultProps, x) d[p] === void 0 && (d[p] = x[p]);
|
|
18
18
|
return { $$typeof: r, type: f, key: v, ref: g, props: d, _owner: i.current };
|
|
19
19
|
}
|
|
20
|
-
return
|
|
20
|
+
return ue.Fragment = s, ue.jsx = u, ue.jsxs = u, ue;
|
|
21
21
|
}
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
function
|
|
25
|
-
return
|
|
26
|
-
var t =
|
|
22
|
+
var xe = {};
|
|
23
|
+
var ct;
|
|
24
|
+
function Na() {
|
|
25
|
+
return ct || (ct = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
26
|
+
var t = L, 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"), c = /* @__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, _ = "@@iterator";
|
|
27
27
|
function k(a) {
|
|
28
28
|
if (a === null || typeof a != "object")
|
|
29
29
|
return null;
|
|
30
|
-
var l = j && a[j] || a[
|
|
30
|
+
var l = j && a[j] || a[_];
|
|
31
31
|
return typeof l == "function" ? l : null;
|
|
32
32
|
}
|
|
33
33
|
var y = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -42,22 +42,22 @@ function ya() {
|
|
|
42
42
|
{
|
|
43
43
|
var w = y.ReactDebugCurrentFrame, T = w.getStackAddendum();
|
|
44
44
|
T !== "" && (l += "%s", m = m.concat([T]));
|
|
45
|
-
var z = m.map(function(
|
|
46
|
-
return String(
|
|
45
|
+
var z = m.map(function(E) {
|
|
46
|
+
return String(E);
|
|
47
47
|
});
|
|
48
48
|
z.unshift("Warning: " + l), Function.prototype.apply.call(console[a], console, z);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
var h = !1, O = !1,
|
|
52
|
-
|
|
51
|
+
var h = !1, O = !1, V = !1, B = !1, Y = !1, re;
|
|
52
|
+
re = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
53
53
|
function I(a) {
|
|
54
|
-
return !!(typeof a == "string" || typeof a == "function" || a === n || a ===
|
|
54
|
+
return !!(typeof a == "string" || typeof a == "function" || a === n || a === c || Y || a === i || a === b || a === p || B || a === g || h || O || V || 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
|
|
55
55
|
// types supported by any Flight configuration anywhere since
|
|
56
56
|
// we don't know which Flight build this will end up being used
|
|
57
57
|
// with.
|
|
58
|
-
a.$$typeof ===
|
|
58
|
+
a.$$typeof === re || a.getModuleId !== void 0));
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function H(a, l, m) {
|
|
61
61
|
var w = a.displayName;
|
|
62
62
|
if (w)
|
|
63
63
|
return w;
|
|
@@ -79,7 +79,7 @@ function ya() {
|
|
|
79
79
|
return "Fragment";
|
|
80
80
|
case s:
|
|
81
81
|
return "Portal";
|
|
82
|
-
case
|
|
82
|
+
case c:
|
|
83
83
|
return "Profiler";
|
|
84
84
|
case i:
|
|
85
85
|
return "StrictMode";
|
|
@@ -97,14 +97,14 @@ function ya() {
|
|
|
97
97
|
var m = a;
|
|
98
98
|
return K(m._context) + ".Provider";
|
|
99
99
|
case x:
|
|
100
|
-
return
|
|
100
|
+
return H(a, a.render, "ForwardRef");
|
|
101
101
|
case d:
|
|
102
102
|
var w = a.displayName || null;
|
|
103
103
|
return w !== null ? w : M(a.type) || "Memo";
|
|
104
104
|
case v: {
|
|
105
|
-
var T = a, z = T._payload,
|
|
105
|
+
var T = a, z = T._payload, E = T._init;
|
|
106
106
|
try {
|
|
107
|
-
return M(
|
|
107
|
+
return M(E(z));
|
|
108
108
|
} catch {
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
@@ -112,18 +112,18 @@ function ya() {
|
|
|
112
112
|
}
|
|
113
113
|
return null;
|
|
114
114
|
}
|
|
115
|
-
var U = Object.assign,
|
|
116
|
-
function
|
|
115
|
+
var U = Object.assign, ae = 0, Z, J, X, se, pe, he, me;
|
|
116
|
+
function be() {
|
|
117
117
|
}
|
|
118
|
-
|
|
118
|
+
be.__reactDisabledLog = !0;
|
|
119
119
|
function Ee() {
|
|
120
120
|
{
|
|
121
|
-
if (
|
|
122
|
-
Z = console.log, J = console.info, X = console.warn,
|
|
121
|
+
if (ae === 0) {
|
|
122
|
+
Z = console.log, J = console.info, X = console.warn, se = console.error, pe = console.group, he = console.groupCollapsed, me = console.groupEnd;
|
|
123
123
|
var a = {
|
|
124
124
|
configurable: !0,
|
|
125
125
|
enumerable: !0,
|
|
126
|
-
value:
|
|
126
|
+
value: be,
|
|
127
127
|
writable: !0
|
|
128
128
|
};
|
|
129
129
|
Object.defineProperties(console, {
|
|
@@ -136,12 +136,12 @@ function ya() {
|
|
|
136
136
|
groupEnd: a
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
ae++;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
function C() {
|
|
143
143
|
{
|
|
144
|
-
if (
|
|
144
|
+
if (ae--, ae === 0) {
|
|
145
145
|
var a = {
|
|
146
146
|
configurable: !0,
|
|
147
147
|
enumerable: !0,
|
|
@@ -158,24 +158,24 @@ function ya() {
|
|
|
158
158
|
value: X
|
|
159
159
|
}),
|
|
160
160
|
error: U({}, a, {
|
|
161
|
-
value:
|
|
161
|
+
value: se
|
|
162
162
|
}),
|
|
163
163
|
group: U({}, a, {
|
|
164
|
-
value:
|
|
164
|
+
value: pe
|
|
165
165
|
}),
|
|
166
166
|
groupCollapsed: U({}, a, {
|
|
167
|
-
value:
|
|
167
|
+
value: he
|
|
168
168
|
}),
|
|
169
169
|
groupEnd: U({}, a, {
|
|
170
|
-
value:
|
|
170
|
+
value: me
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
|
-
|
|
174
|
+
ae < 0 && N("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
var D = y.ReactCurrentDispatcher, Q;
|
|
178
|
-
function
|
|
178
|
+
function ge(a, l, m) {
|
|
179
179
|
{
|
|
180
180
|
if (Q === void 0)
|
|
181
181
|
try {
|
|
@@ -188,48 +188,48 @@ function ya() {
|
|
|
188
188
|
` + Q + a;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
191
|
+
var Se = !1, ve;
|
|
192
192
|
{
|
|
193
|
-
var
|
|
194
|
-
|
|
193
|
+
var Ut = typeof WeakMap == "function" ? WeakMap : Map;
|
|
194
|
+
ve = new Ut();
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
if (!a ||
|
|
196
|
+
function qe(a, l) {
|
|
197
|
+
if (!a || Se)
|
|
198
198
|
return "";
|
|
199
199
|
{
|
|
200
|
-
var m =
|
|
200
|
+
var m = ve.get(a);
|
|
201
201
|
if (m !== void 0)
|
|
202
202
|
return m;
|
|
203
203
|
}
|
|
204
204
|
var w;
|
|
205
|
-
|
|
205
|
+
Se = !0;
|
|
206
206
|
var T = Error.prepareStackTrace;
|
|
207
207
|
Error.prepareStackTrace = void 0;
|
|
208
208
|
var z;
|
|
209
209
|
z = D.current, D.current = null, Ee();
|
|
210
210
|
try {
|
|
211
211
|
if (l) {
|
|
212
|
-
var
|
|
212
|
+
var E = function() {
|
|
213
213
|
throw Error();
|
|
214
214
|
};
|
|
215
|
-
if (Object.defineProperty(
|
|
215
|
+
if (Object.defineProperty(E.prototype, "props", {
|
|
216
216
|
set: function() {
|
|
217
217
|
throw Error();
|
|
218
218
|
}
|
|
219
219
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
220
220
|
try {
|
|
221
|
-
Reflect.construct(
|
|
221
|
+
Reflect.construct(E, []);
|
|
222
222
|
} catch (G) {
|
|
223
223
|
w = G;
|
|
224
224
|
}
|
|
225
|
-
Reflect.construct(a, [],
|
|
225
|
+
Reflect.construct(a, [], E);
|
|
226
226
|
} else {
|
|
227
227
|
try {
|
|
228
|
-
|
|
228
|
+
E.call();
|
|
229
229
|
} catch (G) {
|
|
230
230
|
w = G;
|
|
231
231
|
}
|
|
232
|
-
a.call(
|
|
232
|
+
a.call(E.prototype);
|
|
233
233
|
}
|
|
234
234
|
} else {
|
|
235
235
|
try {
|
|
@@ -241,145 +241,145 @@ function ya() {
|
|
|
241
241
|
}
|
|
242
242
|
} catch (G) {
|
|
243
243
|
if (G && w && typeof G.stack == "string") {
|
|
244
|
-
for (var
|
|
245
|
-
`),
|
|
246
|
-
`), A =
|
|
244
|
+
for (var P = G.stack.split(`
|
|
245
|
+
`), W = w.stack.split(`
|
|
246
|
+
`), A = P.length - 1, F = W.length - 1; A >= 1 && F >= 0 && P[A] !== W[F]; )
|
|
247
247
|
F--;
|
|
248
248
|
for (; A >= 1 && F >= 0; A--, F--)
|
|
249
|
-
if (
|
|
249
|
+
if (P[A] !== W[F]) {
|
|
250
250
|
if (A !== 1 || F !== 1)
|
|
251
251
|
do
|
|
252
|
-
if (A--, F--, F < 0 ||
|
|
252
|
+
if (A--, F--, F < 0 || P[A] !== W[F]) {
|
|
253
253
|
var ee = `
|
|
254
|
-
` +
|
|
255
|
-
return a.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", a.displayName)), typeof a == "function" &&
|
|
254
|
+
` + P[A].replace(" at new ", " at ");
|
|
255
|
+
return a.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", a.displayName)), typeof a == "function" && ve.set(a, ee), ee;
|
|
256
256
|
}
|
|
257
257
|
while (A >= 1 && F >= 0);
|
|
258
258
|
break;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
} finally {
|
|
262
|
-
|
|
262
|
+
Se = !1, D.current = z, C(), Error.prepareStackTrace = T;
|
|
263
263
|
}
|
|
264
|
-
var
|
|
265
|
-
return typeof a == "function" &&
|
|
264
|
+
var oe = a ? a.displayName || a.name : "", ne = oe ? ge(oe) : "";
|
|
265
|
+
return typeof a == "function" && ve.set(a, ne), ne;
|
|
266
266
|
}
|
|
267
|
-
function
|
|
268
|
-
return
|
|
267
|
+
function Gt(a, l, m) {
|
|
268
|
+
return qe(a, !1);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function qt(a) {
|
|
271
271
|
var l = a.prototype;
|
|
272
272
|
return !!(l && l.isReactComponent);
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function je(a, l, m) {
|
|
275
275
|
if (a == null)
|
|
276
276
|
return "";
|
|
277
277
|
if (typeof a == "function")
|
|
278
|
-
return
|
|
278
|
+
return qe(a, qt(a));
|
|
279
279
|
if (typeof a == "string")
|
|
280
|
-
return
|
|
280
|
+
return ge(a);
|
|
281
281
|
switch (a) {
|
|
282
282
|
case b:
|
|
283
|
-
return
|
|
283
|
+
return ge("Suspense");
|
|
284
284
|
case p:
|
|
285
|
-
return
|
|
285
|
+
return ge("SuspenseList");
|
|
286
286
|
}
|
|
287
287
|
if (typeof a == "object")
|
|
288
288
|
switch (a.$$typeof) {
|
|
289
289
|
case x:
|
|
290
|
-
return
|
|
290
|
+
return Gt(a.render);
|
|
291
291
|
case d:
|
|
292
|
-
return
|
|
292
|
+
return je(a.type, l, m);
|
|
293
293
|
case v: {
|
|
294
294
|
var w = a, T = w._payload, z = w._init;
|
|
295
295
|
try {
|
|
296
|
-
return
|
|
296
|
+
return je(z(T), l, m);
|
|
297
297
|
} catch {
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
return "";
|
|
302
302
|
}
|
|
303
|
-
var
|
|
304
|
-
function
|
|
303
|
+
var de = Object.prototype.hasOwnProperty, Ye = {}, Ke = y.ReactDebugCurrentFrame;
|
|
304
|
+
function ye(a) {
|
|
305
305
|
if (a) {
|
|
306
|
-
var l = a._owner, m =
|
|
307
|
-
|
|
306
|
+
var l = a._owner, m = je(a.type, a._source, l ? l.type : null);
|
|
307
|
+
Ke.setExtraStackFrame(m);
|
|
308
308
|
} else
|
|
309
|
-
|
|
309
|
+
Ke.setExtraStackFrame(null);
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function Yt(a, l, m, w, T) {
|
|
312
312
|
{
|
|
313
|
-
var z = Function.call.bind(
|
|
314
|
-
for (var
|
|
315
|
-
if (z(a,
|
|
316
|
-
var
|
|
313
|
+
var z = Function.call.bind(de);
|
|
314
|
+
for (var E in a)
|
|
315
|
+
if (z(a, E)) {
|
|
316
|
+
var P = void 0;
|
|
317
317
|
try {
|
|
318
|
-
if (typeof a[
|
|
319
|
-
var
|
|
320
|
-
throw
|
|
318
|
+
if (typeof a[E] != "function") {
|
|
319
|
+
var W = Error((w || "React class") + ": " + m + " type `" + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[E] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
320
|
+
throw W.name = "Invariant Violation", W;
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
P = a[E](l, E, w, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
323
323
|
} catch (A) {
|
|
324
|
-
|
|
324
|
+
P = A;
|
|
325
325
|
}
|
|
326
|
-
|
|
326
|
+
P && !(P instanceof Error) && (ye(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, E, typeof P), ye(null)), P instanceof Error && !(P.message in Ye) && (Ye[P.message] = !0, ye(T), N("Failed %s type: %s", m, P.message), ye(null));
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
var
|
|
331
|
-
function
|
|
332
|
-
return
|
|
330
|
+
var Kt = Array.isArray;
|
|
331
|
+
function Te(a) {
|
|
332
|
+
return Kt(a);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function Zt(a) {
|
|
335
335
|
{
|
|
336
336
|
var l = typeof Symbol == "function" && Symbol.toStringTag, m = l && a[Symbol.toStringTag] || a.constructor.name || "Object";
|
|
337
337
|
return m;
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function Jt(a) {
|
|
341
341
|
try {
|
|
342
|
-
return
|
|
342
|
+
return Ze(a), !1;
|
|
343
343
|
} catch {
|
|
344
344
|
return !0;
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function Ze(a) {
|
|
348
348
|
return "" + a;
|
|
349
349
|
}
|
|
350
|
-
function
|
|
351
|
-
if (
|
|
352
|
-
return N("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
350
|
+
function Je(a) {
|
|
351
|
+
if (Jt(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.", Zt(a)), Ze(a);
|
|
353
353
|
}
|
|
354
|
-
var
|
|
354
|
+
var Xe = y.ReactCurrentOwner, Xt = {
|
|
355
355
|
key: !0,
|
|
356
356
|
ref: !0,
|
|
357
357
|
__self: !0,
|
|
358
358
|
__source: !0
|
|
359
|
-
},
|
|
360
|
-
function
|
|
361
|
-
if (
|
|
359
|
+
}, Qe, et;
|
|
360
|
+
function Qt(a) {
|
|
361
|
+
if (de.call(a, "ref")) {
|
|
362
362
|
var l = Object.getOwnPropertyDescriptor(a, "ref").get;
|
|
363
363
|
if (l && l.isReactWarning)
|
|
364
364
|
return !1;
|
|
365
365
|
}
|
|
366
366
|
return a.ref !== void 0;
|
|
367
367
|
}
|
|
368
|
-
function
|
|
369
|
-
if (
|
|
368
|
+
function ea(a) {
|
|
369
|
+
if (de.call(a, "key")) {
|
|
370
370
|
var l = Object.getOwnPropertyDescriptor(a, "key").get;
|
|
371
371
|
if (l && l.isReactWarning)
|
|
372
372
|
return !1;
|
|
373
373
|
}
|
|
374
374
|
return a.key !== void 0;
|
|
375
375
|
}
|
|
376
|
-
function ea(a, l) {
|
|
377
|
-
typeof a.ref == "string" && Je.current;
|
|
378
|
-
}
|
|
379
376
|
function ta(a, l) {
|
|
377
|
+
typeof a.ref == "string" && Xe.current;
|
|
378
|
+
}
|
|
379
|
+
function aa(a, l) {
|
|
380
380
|
{
|
|
381
381
|
var m = function() {
|
|
382
|
-
|
|
382
|
+
Qe || (Qe = !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));
|
|
383
383
|
};
|
|
384
384
|
m.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
385
385
|
get: m,
|
|
@@ -387,10 +387,10 @@ function ya() {
|
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function ra(a, l) {
|
|
391
391
|
{
|
|
392
392
|
var m = function() {
|
|
393
|
-
|
|
393
|
+
et || (et = !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));
|
|
394
394
|
};
|
|
395
395
|
m.isReactWarning = !0, Object.defineProperty(a, "ref", {
|
|
396
396
|
get: m,
|
|
@@ -398,70 +398,70 @@ function ya() {
|
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
var
|
|
402
|
-
var
|
|
401
|
+
var sa = function(a, l, m, w, T, z, E) {
|
|
402
|
+
var P = {
|
|
403
403
|
// This tag allows us to uniquely identify this as a React Element
|
|
404
404
|
$$typeof: r,
|
|
405
405
|
// Built-in properties that belong on the element
|
|
406
406
|
type: a,
|
|
407
407
|
key: l,
|
|
408
408
|
ref: m,
|
|
409
|
-
props:
|
|
409
|
+
props: E,
|
|
410
410
|
// Record the component responsible for creating this element.
|
|
411
411
|
_owner: z
|
|
412
412
|
};
|
|
413
|
-
return
|
|
413
|
+
return P._store = {}, Object.defineProperty(P._store, "validated", {
|
|
414
414
|
configurable: !1,
|
|
415
415
|
enumerable: !1,
|
|
416
416
|
writable: !0,
|
|
417
417
|
value: !1
|
|
418
|
-
}), Object.defineProperty(
|
|
418
|
+
}), Object.defineProperty(P, "_self", {
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
421
421
|
writable: !1,
|
|
422
422
|
value: w
|
|
423
|
-
}), Object.defineProperty(
|
|
423
|
+
}), Object.defineProperty(P, "_source", {
|
|
424
424
|
configurable: !1,
|
|
425
425
|
enumerable: !1,
|
|
426
426
|
writable: !1,
|
|
427
427
|
value: T
|
|
428
|
-
}), Object.freeze && (Object.freeze(
|
|
428
|
+
}), Object.freeze && (Object.freeze(P.props), Object.freeze(P)), P;
|
|
429
429
|
};
|
|
430
|
-
function
|
|
430
|
+
function na(a, l, m, w, T) {
|
|
431
431
|
{
|
|
432
|
-
var z,
|
|
433
|
-
m !== void 0 && (
|
|
432
|
+
var z, E = {}, P = null, W = null;
|
|
433
|
+
m !== void 0 && (Je(m), P = "" + m), ea(l) && (Je(l.key), P = "" + l.key), Qt(l) && (W = l.ref, ta(l, T));
|
|
434
434
|
for (z in l)
|
|
435
|
-
|
|
435
|
+
de.call(l, z) && !Xt.hasOwnProperty(z) && (E[z] = l[z]);
|
|
436
436
|
if (a && a.defaultProps) {
|
|
437
437
|
var A = a.defaultProps;
|
|
438
438
|
for (z in A)
|
|
439
|
-
|
|
439
|
+
E[z] === void 0 && (E[z] = A[z]);
|
|
440
440
|
}
|
|
441
|
-
if (
|
|
441
|
+
if (P || W) {
|
|
442
442
|
var F = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
443
|
-
|
|
443
|
+
P && aa(E, F), W && ra(E, F);
|
|
444
444
|
}
|
|
445
|
-
return
|
|
445
|
+
return sa(a, P, W, T, w, Xe.current, E);
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
var
|
|
449
|
-
function
|
|
448
|
+
var Re = y.ReactCurrentOwner, tt = y.ReactDebugCurrentFrame;
|
|
449
|
+
function ie(a) {
|
|
450
450
|
if (a) {
|
|
451
|
-
var l = a._owner, m =
|
|
452
|
-
|
|
451
|
+
var l = a._owner, m = je(a.type, a._source, l ? l.type : null);
|
|
452
|
+
tt.setExtraStackFrame(m);
|
|
453
453
|
} else
|
|
454
|
-
|
|
454
|
+
tt.setExtraStackFrame(null);
|
|
455
455
|
}
|
|
456
|
-
var
|
|
457
|
-
|
|
458
|
-
function
|
|
456
|
+
var Oe;
|
|
457
|
+
Oe = !1;
|
|
458
|
+
function ze(a) {
|
|
459
459
|
return typeof a == "object" && a !== null && a.$$typeof === r;
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function at() {
|
|
462
462
|
{
|
|
463
|
-
if (
|
|
464
|
-
var a = M(
|
|
463
|
+
if (Re.current) {
|
|
464
|
+
var a = M(Re.current.type);
|
|
465
465
|
if (a)
|
|
466
466
|
return `
|
|
467
467
|
|
|
@@ -470,13 +470,13 @@ Check the render method of \`` + a + "`.";
|
|
|
470
470
|
return "";
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function la(a) {
|
|
474
474
|
return "";
|
|
475
475
|
}
|
|
476
|
-
var
|
|
477
|
-
function
|
|
476
|
+
var rt = {};
|
|
477
|
+
function ia(a) {
|
|
478
478
|
{
|
|
479
|
-
var l =
|
|
479
|
+
var l = at();
|
|
480
480
|
if (!l) {
|
|
481
481
|
var m = typeof a == "string" ? a : a.displayName || a.name;
|
|
482
482
|
m && (l = `
|
|
@@ -486,39 +486,39 @@ Check the top-level render call using <` + m + ">.");
|
|
|
486
486
|
return l;
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function st(a, l) {
|
|
490
490
|
{
|
|
491
491
|
if (!a._store || a._store.validated || a.key != null)
|
|
492
492
|
return;
|
|
493
493
|
a._store.validated = !0;
|
|
494
|
-
var m =
|
|
495
|
-
if (
|
|
494
|
+
var m = ia(l);
|
|
495
|
+
if (rt[m])
|
|
496
496
|
return;
|
|
497
|
-
|
|
497
|
+
rt[m] = !0;
|
|
498
498
|
var w = "";
|
|
499
|
-
a && a._owner && a._owner !==
|
|
499
|
+
a && a._owner && a._owner !== Re.current && (w = " It was passed a child from " + M(a._owner.type) + "."), ie(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), ie(null);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function nt(a, l) {
|
|
503
503
|
{
|
|
504
504
|
if (typeof a != "object")
|
|
505
505
|
return;
|
|
506
|
-
if (
|
|
506
|
+
if (Te(a))
|
|
507
507
|
for (var m = 0; m < a.length; m++) {
|
|
508
508
|
var w = a[m];
|
|
509
|
-
|
|
509
|
+
ze(w) && st(w, l);
|
|
510
510
|
}
|
|
511
|
-
else if (
|
|
511
|
+
else if (ze(a))
|
|
512
512
|
a._store && (a._store.validated = !0);
|
|
513
513
|
else if (a) {
|
|
514
514
|
var T = k(a);
|
|
515
515
|
if (typeof T == "function" && T !== a.entries)
|
|
516
|
-
for (var z = T.call(a),
|
|
517
|
-
|
|
516
|
+
for (var z = T.call(a), E; !(E = z.next()).done; )
|
|
517
|
+
ze(E.value) && st(E.value, l);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function oa(a) {
|
|
522
522
|
{
|
|
523
523
|
var l = a.type;
|
|
524
524
|
if (l == null || typeof l == "string")
|
|
@@ -534,103 +534,103 @@ Check the top-level render call using <` + m + ">.");
|
|
|
534
534
|
return;
|
|
535
535
|
if (m) {
|
|
536
536
|
var w = M(l);
|
|
537
|
-
|
|
538
|
-
} else if (l.PropTypes !== void 0 && !
|
|
539
|
-
|
|
537
|
+
Yt(m, a.props, "prop", w, a);
|
|
538
|
+
} else if (l.PropTypes !== void 0 && !Oe) {
|
|
539
|
+
Oe = !0;
|
|
540
540
|
var T = M(l);
|
|
541
541
|
N("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", T || "Unknown");
|
|
542
542
|
}
|
|
543
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.");
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
function ca(a) {
|
|
547
547
|
{
|
|
548
548
|
for (var l = Object.keys(a.props), m = 0; m < l.length; m++) {
|
|
549
549
|
var w = l[m];
|
|
550
550
|
if (w !== "children" && w !== "key") {
|
|
551
|
-
|
|
551
|
+
ie(a), N("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), ie(null);
|
|
552
552
|
break;
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
a.ref !== null && (
|
|
555
|
+
a.ref !== null && (ie(a), N("Invalid attribute `ref` supplied to `React.Fragment`."), ie(null));
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
var
|
|
559
|
-
function
|
|
558
|
+
var lt = {};
|
|
559
|
+
function it(a, l, m, w, T, z) {
|
|
560
560
|
{
|
|
561
|
-
var
|
|
562
|
-
if (!
|
|
563
|
-
var
|
|
564
|
-
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (
|
|
565
|
-
var
|
|
566
|
-
|
|
561
|
+
var E = I(a);
|
|
562
|
+
if (!E) {
|
|
563
|
+
var P = "";
|
|
564
|
+
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (P += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
565
|
+
var W = la();
|
|
566
|
+
W ? P += W : P += at();
|
|
567
567
|
var A;
|
|
568
|
-
a === null ? A = "null" :
|
|
568
|
+
a === null ? A = "null" : Te(a) ? A = "array" : a !== void 0 && a.$$typeof === r ? (A = "<" + (M(a.type) || "Unknown") + " />", P = " 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, P);
|
|
569
569
|
}
|
|
570
|
-
var F =
|
|
570
|
+
var F = na(a, l, m, T, z);
|
|
571
571
|
if (F == null)
|
|
572
572
|
return F;
|
|
573
|
-
if (
|
|
573
|
+
if (E) {
|
|
574
574
|
var ee = l.children;
|
|
575
575
|
if (ee !== void 0)
|
|
576
576
|
if (w)
|
|
577
|
-
if (
|
|
578
|
-
for (var
|
|
579
|
-
|
|
577
|
+
if (Te(ee)) {
|
|
578
|
+
for (var oe = 0; oe < ee.length; oe++)
|
|
579
|
+
nt(ee[oe], a);
|
|
580
580
|
Object.freeze && Object.freeze(ee);
|
|
581
581
|
} else
|
|
582
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.");
|
|
583
583
|
else
|
|
584
|
-
|
|
584
|
+
nt(ee, a);
|
|
585
585
|
}
|
|
586
|
-
if (
|
|
587
|
-
var
|
|
588
|
-
return
|
|
589
|
-
}),
|
|
590
|
-
if (!
|
|
591
|
-
var
|
|
586
|
+
if (de.call(l, "key")) {
|
|
587
|
+
var ne = M(a), G = Object.keys(l).filter(function(ha) {
|
|
588
|
+
return ha !== "key";
|
|
589
|
+
}), Ae = G.length > 0 ? "{key: someKey, " + G.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
590
|
+
if (!lt[ne + Ae]) {
|
|
591
|
+
var pa = G.length > 0 ? "{" + G.join(": ..., ") + ": ...}" : "{}";
|
|
592
592
|
N(`A props object containing a "key" prop is being spread into JSX:
|
|
593
593
|
let props = %s;
|
|
594
594
|
<%s {...props} />
|
|
595
595
|
React keys must be passed directly to JSX without using spread:
|
|
596
596
|
let props = %s;
|
|
597
|
-
<%s key={someKey} {...props} />`,
|
|
597
|
+
<%s key={someKey} {...props} />`, Ae, ne, pa, ne), lt[ne + Ae] = !0;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
return a === n ?
|
|
600
|
+
return a === n ? ca(F) : oa(F), F;
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
|
-
function ca(a, l, m) {
|
|
604
|
-
return lt(a, l, m, !0);
|
|
605
|
-
}
|
|
606
603
|
function da(a, l, m) {
|
|
607
|
-
return
|
|
604
|
+
return it(a, l, m, !0);
|
|
605
|
+
}
|
|
606
|
+
function ua(a, l, m) {
|
|
607
|
+
return it(a, l, m, !1);
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
|
|
611
|
-
})()),
|
|
609
|
+
var xa = ua, fa = da;
|
|
610
|
+
xe.Fragment = n, xe.jsx = xa, xe.jsxs = fa;
|
|
611
|
+
})()), xe;
|
|
612
612
|
}
|
|
613
|
-
var
|
|
614
|
-
function
|
|
615
|
-
return
|
|
613
|
+
var dt;
|
|
614
|
+
function wa() {
|
|
615
|
+
return dt || (dt = 1, process.env.NODE_ENV === "production" ? Ne.exports = ya() : Ne.exports = Na()), Ne.exports;
|
|
616
616
|
}
|
|
617
|
-
var e =
|
|
617
|
+
var e = wa(), zt = {
|
|
618
618
|
color: void 0,
|
|
619
619
|
size: void 0,
|
|
620
620
|
className: void 0,
|
|
621
621
|
style: void 0,
|
|
622
622
|
attr: void 0
|
|
623
|
-
},
|
|
624
|
-
function
|
|
623
|
+
}, ut = L.createContext && /* @__PURE__ */ L.createContext(zt), ka = ["attr", "size", "title"];
|
|
624
|
+
function Ca(t, r) {
|
|
625
625
|
if (t == null) return {};
|
|
626
|
-
var s, n, i =
|
|
626
|
+
var s, n, i = _a(t, r);
|
|
627
627
|
if (Object.getOwnPropertySymbols) {
|
|
628
|
-
var
|
|
629
|
-
for (n = 0; n <
|
|
628
|
+
var c = Object.getOwnPropertySymbols(t);
|
|
629
|
+
for (n = 0; n < c.length; n++) s = c[n], r.indexOf(s) === -1 && {}.propertyIsEnumerable.call(t, s) && (i[s] = t[s]);
|
|
630
630
|
}
|
|
631
631
|
return i;
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function _a(t, r) {
|
|
634
634
|
if (t == null) return {};
|
|
635
635
|
var s = {};
|
|
636
636
|
for (var n in t) if ({}.hasOwnProperty.call(t, n)) {
|
|
@@ -639,16 +639,16 @@ function Ca(t, r) {
|
|
|
639
639
|
}
|
|
640
640
|
return s;
|
|
641
641
|
}
|
|
642
|
-
function
|
|
643
|
-
return
|
|
642
|
+
function ke() {
|
|
643
|
+
return ke = Object.assign ? Object.assign.bind() : function(t) {
|
|
644
644
|
for (var r = 1; r < arguments.length; r++) {
|
|
645
645
|
var s = arguments[r];
|
|
646
646
|
for (var n in s) ({}).hasOwnProperty.call(s, n) && (t[n] = s[n]);
|
|
647
647
|
}
|
|
648
648
|
return t;
|
|
649
|
-
},
|
|
649
|
+
}, ke.apply(null, arguments);
|
|
650
650
|
}
|
|
651
|
-
function
|
|
651
|
+
function xt(t, r) {
|
|
652
652
|
var s = Object.keys(t);
|
|
653
653
|
if (Object.getOwnPropertySymbols) {
|
|
654
654
|
var n = Object.getOwnPropertySymbols(t);
|
|
@@ -658,21 +658,21 @@ function ut(t, r) {
|
|
|
658
658
|
}
|
|
659
659
|
return s;
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function Ce(t) {
|
|
662
662
|
for (var r = 1; r < arguments.length; r++) {
|
|
663
663
|
var s = arguments[r] != null ? arguments[r] : {};
|
|
664
|
-
r % 2 ?
|
|
664
|
+
r % 2 ? xt(Object(s), !0).forEach(function(n) {
|
|
665
665
|
La(t, n, s[n]);
|
|
666
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(s)) :
|
|
666
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(s)) : xt(Object(s)).forEach(function(n) {
|
|
667
667
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(s, n));
|
|
668
668
|
});
|
|
669
669
|
}
|
|
670
670
|
return t;
|
|
671
671
|
}
|
|
672
672
|
function La(t, r, s) {
|
|
673
|
-
return (r =
|
|
673
|
+
return (r = Pa(r)) in t ? Object.defineProperty(t, r, { value: s, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = s, t;
|
|
674
674
|
}
|
|
675
|
-
function
|
|
675
|
+
function Pa(t) {
|
|
676
676
|
var r = Ea(t, "string");
|
|
677
677
|
return typeof r == "symbol" ? r : r + "";
|
|
678
678
|
}
|
|
@@ -686,39 +686,39 @@ function Ea(t, r) {
|
|
|
686
686
|
}
|
|
687
687
|
return (r === "string" ? String : Number)(t);
|
|
688
688
|
}
|
|
689
|
-
function
|
|
690
|
-
return t && t.map((r, s) => /* @__PURE__ */
|
|
689
|
+
function At(t) {
|
|
690
|
+
return t && t.map((r, s) => /* @__PURE__ */ L.createElement(r.tag, Ce({
|
|
691
691
|
key: s
|
|
692
|
-
}, r.attr),
|
|
692
|
+
}, r.attr), At(r.child)));
|
|
693
693
|
}
|
|
694
694
|
function R(t) {
|
|
695
|
-
return (r) => /* @__PURE__ */
|
|
696
|
-
attr:
|
|
697
|
-
}, r),
|
|
695
|
+
return (r) => /* @__PURE__ */ L.createElement(Sa, ke({
|
|
696
|
+
attr: Ce({}, t.attr)
|
|
697
|
+
}, r), At(t.child));
|
|
698
698
|
}
|
|
699
|
-
function
|
|
699
|
+
function Sa(t) {
|
|
700
700
|
var r = (s) => {
|
|
701
|
-
var n = t.attr, i = t.size,
|
|
702
|
-
return s.className && (x = s.className), t.className && (x = (x ? x + " " : "") + t.className), /* @__PURE__ */
|
|
701
|
+
var n = t.attr, i = t.size, c = t.title, u = Ca(t, ka), f = i || s.size || "1em", x;
|
|
702
|
+
return s.className && (x = s.className), t.className && (x = (x ? x + " " : "") + t.className), /* @__PURE__ */ L.createElement("svg", ke({
|
|
703
703
|
stroke: "currentColor",
|
|
704
704
|
fill: "currentColor",
|
|
705
705
|
strokeWidth: "0"
|
|
706
706
|
}, s.attr, n, u, {
|
|
707
707
|
className: x,
|
|
708
|
-
style:
|
|
708
|
+
style: Ce(Ce({
|
|
709
709
|
color: t.color || s.color
|
|
710
710
|
}, s.style), t.style),
|
|
711
711
|
height: f,
|
|
712
712
|
width: f,
|
|
713
713
|
xmlns: "http://www.w3.org/2000/svg"
|
|
714
|
-
}),
|
|
714
|
+
}), c && /* @__PURE__ */ L.createElement("title", null, c), t.children);
|
|
715
715
|
};
|
|
716
|
-
return
|
|
716
|
+
return ut !== void 0 ? /* @__PURE__ */ L.createElement(ut.Consumer, null, (s) => r(s)) : r(zt);
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function Ta(t) {
|
|
719
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);
|
|
720
720
|
}
|
|
721
|
-
const
|
|
721
|
+
const Ra = va(
|
|
722
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",
|
|
723
723
|
{
|
|
724
724
|
variants: {
|
|
@@ -749,14 +749,14 @@ const Ta = ga(
|
|
|
749
749
|
],
|
|
750
750
|
defaultVariants: { variant: "primary", size: "lg", iconOnly: !1 }
|
|
751
751
|
}
|
|
752
|
-
), q =
|
|
752
|
+
), q = ba.forwardRef(
|
|
753
753
|
({
|
|
754
754
|
className: t,
|
|
755
755
|
variant: r,
|
|
756
756
|
size: s,
|
|
757
757
|
iconOnly: n,
|
|
758
758
|
loading: i = !1,
|
|
759
|
-
disabled:
|
|
759
|
+
disabled: c,
|
|
760
760
|
leftIcon: u,
|
|
761
761
|
rightIcon: f,
|
|
762
762
|
children: x,
|
|
@@ -767,10 +767,10 @@ const Ta = ga(
|
|
|
767
767
|
{
|
|
768
768
|
ref: d,
|
|
769
769
|
type: b,
|
|
770
|
-
disabled:
|
|
771
|
-
className:
|
|
770
|
+
disabled: c || i,
|
|
771
|
+
className: o(Ra({ variant: r, size: s, iconOnly: n }), t),
|
|
772
772
|
...p,
|
|
773
|
-
children: i ? /* @__PURE__ */ e.jsx(
|
|
773
|
+
children: i ? /* @__PURE__ */ e.jsx(Ta, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
774
774
|
u,
|
|
775
775
|
x,
|
|
776
776
|
f
|
|
@@ -779,7 +779,7 @@ const Ta = ga(
|
|
|
779
779
|
)
|
|
780
780
|
);
|
|
781
781
|
q.displayName = "Button";
|
|
782
|
-
function
|
|
782
|
+
function We(t) {
|
|
783
783
|
return t.isOpen ? /* @__PURE__ */ e.jsx(
|
|
784
784
|
"div",
|
|
785
785
|
{
|
|
@@ -789,38 +789,38 @@ function $e(t) {
|
|
|
789
789
|
}
|
|
790
790
|
) : null;
|
|
791
791
|
}
|
|
792
|
-
function
|
|
792
|
+
function Oa(t) {
|
|
793
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);
|
|
794
794
|
}
|
|
795
|
-
function
|
|
795
|
+
function za(t) {
|
|
796
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);
|
|
797
797
|
}
|
|
798
|
-
function
|
|
798
|
+
function Aa(t) {
|
|
799
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);
|
|
800
800
|
}
|
|
801
|
-
function
|
|
801
|
+
function Ft(t) {
|
|
802
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);
|
|
803
803
|
}
|
|
804
|
-
function
|
|
804
|
+
function ft(t) {
|
|
805
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);
|
|
806
806
|
}
|
|
807
|
-
function
|
|
807
|
+
function Fa(t) {
|
|
808
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);
|
|
809
809
|
}
|
|
810
|
-
const
|
|
810
|
+
const Zr = ({
|
|
811
811
|
quote: t,
|
|
812
812
|
authorName: r,
|
|
813
813
|
authorAvatarUrl: s,
|
|
814
814
|
meta: n,
|
|
815
815
|
rating: i = 5,
|
|
816
|
-
className:
|
|
816
|
+
className: c = "",
|
|
817
817
|
...u
|
|
818
818
|
}) => /* @__PURE__ */ e.jsxs(
|
|
819
819
|
"div",
|
|
820
820
|
{
|
|
821
|
-
className:
|
|
821
|
+
className: o(
|
|
822
822
|
"flex flex-col gap-3 rounded-lg bg-[#fef5e9] px-4 py-3.75",
|
|
823
|
-
|
|
823
|
+
c
|
|
824
824
|
),
|
|
825
825
|
...u,
|
|
826
826
|
children: [
|
|
@@ -846,7 +846,7 @@ const Br = ({
|
|
|
846
846
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col min-w-0 flex-1 gap-0.5", children: [
|
|
847
847
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.75", children: [
|
|
848
848
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-sm font-bold text-[#1d2125]", children: r }),
|
|
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(
|
|
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(Ft, { size: 14 }, x)) })
|
|
850
850
|
] }),
|
|
851
851
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium text-gray-500", children: n })
|
|
852
852
|
] })
|
|
@@ -854,37 +854,37 @@ const Br = ({
|
|
|
854
854
|
]
|
|
855
855
|
}
|
|
856
856
|
);
|
|
857
|
-
function
|
|
857
|
+
function Ba(t) {
|
|
858
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);
|
|
859
859
|
}
|
|
860
|
-
function
|
|
860
|
+
function Da(t) {
|
|
861
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);
|
|
862
862
|
}
|
|
863
|
-
function
|
|
863
|
+
function pt(t) {
|
|
864
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);
|
|
865
865
|
}
|
|
866
|
-
function
|
|
866
|
+
function Ia(t) {
|
|
867
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);
|
|
868
868
|
}
|
|
869
|
-
function
|
|
869
|
+
function fe(t) {
|
|
870
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);
|
|
871
871
|
}
|
|
872
|
-
function
|
|
872
|
+
function Bt(t) {
|
|
873
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);
|
|
874
874
|
}
|
|
875
|
-
function
|
|
875
|
+
function Ma(t) {
|
|
876
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);
|
|
877
877
|
}
|
|
878
|
-
function
|
|
878
|
+
function $a(t) {
|
|
879
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);
|
|
880
880
|
}
|
|
881
|
-
function
|
|
881
|
+
function ce(t) {
|
|
882
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);
|
|
883
883
|
}
|
|
884
884
|
function Ve(t) {
|
|
885
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);
|
|
886
886
|
}
|
|
887
|
-
function
|
|
887
|
+
function Wa(t) {
|
|
888
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);
|
|
889
889
|
}
|
|
890
890
|
function Va(t) {
|
|
@@ -893,7 +893,7 @@ function Va(t) {
|
|
|
893
893
|
function He(t) {
|
|
894
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);
|
|
895
895
|
}
|
|
896
|
-
function
|
|
896
|
+
function Ue(t) {
|
|
897
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);
|
|
898
898
|
}
|
|
899
899
|
const Ha = ({
|
|
@@ -902,7 +902,7 @@ const Ha = ({
|
|
|
902
902
|
initialVisibleCount: s = 6,
|
|
903
903
|
showCta: n = !0,
|
|
904
904
|
defaultExpanded: i = !1,
|
|
905
|
-
ctaExpandLabel:
|
|
905
|
+
ctaExpandLabel: c = "और देखें",
|
|
906
906
|
ctaCollapseLabel: u = "कम देखें",
|
|
907
907
|
defaultOpenIndex: f = -1,
|
|
908
908
|
className: x = ""
|
|
@@ -911,13 +911,13 @@ const Ha = ({
|
|
|
911
911
|
return /* @__PURE__ */ e.jsxs(
|
|
912
912
|
"div",
|
|
913
913
|
{
|
|
914
|
-
className:
|
|
914
|
+
className: o(
|
|
915
915
|
"flex flex-col items-center gap-5 bg-white px-4 py-6",
|
|
916
916
|
x
|
|
917
917
|
),
|
|
918
918
|
children: [
|
|
919
919
|
/* @__PURE__ */ e.jsx("h2", { className: "px-4 text-center text-base font-bold text-[#1d2125]", children: t }),
|
|
920
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: j.map((
|
|
920
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-3", children: j.map((_, k) => {
|
|
921
921
|
const y = d === k;
|
|
922
922
|
return /* @__PURE__ */ e.jsxs(
|
|
923
923
|
"div",
|
|
@@ -928,7 +928,7 @@ const Ha = ({
|
|
|
928
928
|
"button",
|
|
929
929
|
{
|
|
930
930
|
type: "button",
|
|
931
|
-
className:
|
|
931
|
+
className: o(
|
|
932
932
|
"flex w-full items-center justify-between gap-2 p-3 text-left",
|
|
933
933
|
y ? "bg-[#f7f8f9]" : "bg-white"
|
|
934
934
|
),
|
|
@@ -937,12 +937,12 @@ const Ha = ({
|
|
|
937
937
|
"aria-controls": `faq-answer-${k}`,
|
|
938
938
|
id: `faq-question-${k}`,
|
|
939
939
|
children: [
|
|
940
|
-
/* @__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: _.question }),
|
|
941
941
|
/* @__PURE__ */ e.jsx(
|
|
942
|
-
|
|
942
|
+
ce,
|
|
943
943
|
{
|
|
944
944
|
size: 24,
|
|
945
|
-
className:
|
|
945
|
+
className: o("shrink-0 transition-transform duration-200", y ? "rotate-180" : ""),
|
|
946
946
|
"aria-hidden": !0
|
|
947
947
|
}
|
|
948
948
|
)
|
|
@@ -957,7 +957,7 @@ const Ha = ({
|
|
|
957
957
|
"aria-labelledby": `faq-question-${k}`,
|
|
958
958
|
hidden: !y,
|
|
959
959
|
className: "bg-white p-3",
|
|
960
|
-
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm text-[#374151]", children:
|
|
960
|
+
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm text-[#374151]", children: _.answer })
|
|
961
961
|
}
|
|
962
962
|
)
|
|
963
963
|
]
|
|
@@ -971,42 +971,42 @@ const Ha = ({
|
|
|
971
971
|
variant: "secondary",
|
|
972
972
|
size: "lg",
|
|
973
973
|
className: "w-full",
|
|
974
|
-
onClick: () => p((
|
|
974
|
+
onClick: () => p((_) => !_),
|
|
975
975
|
"aria-expanded": b,
|
|
976
976
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
977
|
-
|
|
977
|
+
ce,
|
|
978
978
|
{
|
|
979
979
|
size: 24,
|
|
980
|
-
className:
|
|
980
|
+
className: o("shrink-0 transition-transform duration-200", b ? "rotate-180" : ""),
|
|
981
981
|
"aria-hidden": !0
|
|
982
982
|
}
|
|
983
983
|
),
|
|
984
|
-
children: b ? u :
|
|
984
|
+
children: b ? u : c
|
|
985
985
|
}
|
|
986
986
|
)
|
|
987
987
|
]
|
|
988
988
|
}
|
|
989
989
|
);
|
|
990
|
-
},
|
|
990
|
+
}, Jr = ({
|
|
991
991
|
title: t = "Frequently Asked Questions",
|
|
992
992
|
showTitleAccent: r = !0,
|
|
993
993
|
items: s,
|
|
994
994
|
initialVisibleCount: n = 6,
|
|
995
995
|
showCta: i = !0,
|
|
996
|
-
defaultExpanded:
|
|
996
|
+
defaultExpanded: c = !1,
|
|
997
997
|
ctaExpandLabel: u = "See more",
|
|
998
998
|
ctaCollapseLabel: f = "See less",
|
|
999
999
|
defaultOpenIndex: x = -1,
|
|
1000
1000
|
className: b = ""
|
|
1001
1001
|
}) => {
|
|
1002
|
-
const [p, d] = $(
|
|
1003
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
1002
|
+
const [p, d] = $(c), [v, g] = $(x), j = i && s.length > n, _ = j && !p ? s.slice(0, n) : s;
|
|
1003
|
+
return /* @__PURE__ */ e.jsxs("div", { className: o("flex flex-col gap-3 bg-white px-4 py-6", b), children: [
|
|
1004
1004
|
/* @__PURE__ */ e.jsxs("h2", { className: "flex items-center gap-2 text-sm font-bold text-[#374151]", children: [
|
|
1005
1005
|
r && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-[18px] w-[3px] shrink-0 bg-[#f75e22]" }),
|
|
1006
1006
|
t
|
|
1007
1007
|
] }),
|
|
1008
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col", children:
|
|
1009
|
-
const N = v === y, S = N ?
|
|
1008
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col", children: _.map((k, y) => {
|
|
1009
|
+
const N = v === y, S = N ? Ma : ce;
|
|
1010
1010
|
return /* @__PURE__ */ e.jsxs(
|
|
1011
1011
|
"div",
|
|
1012
1012
|
{
|
|
@@ -1051,10 +1051,10 @@ const Ha = ({
|
|
|
1051
1051
|
onClick: () => d((k) => !k),
|
|
1052
1052
|
"aria-expanded": p,
|
|
1053
1053
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
1054
|
-
|
|
1054
|
+
ce,
|
|
1055
1055
|
{
|
|
1056
1056
|
size: 24,
|
|
1057
|
-
className:
|
|
1057
|
+
className: o("shrink-0 transition-transform duration-200", p ? "rotate-180" : ""),
|
|
1058
1058
|
"aria-hidden": !0
|
|
1059
1059
|
}
|
|
1060
1060
|
),
|
|
@@ -1062,28 +1062,28 @@ const Ha = ({
|
|
|
1062
1062
|
}
|
|
1063
1063
|
)
|
|
1064
1064
|
] });
|
|
1065
|
-
},
|
|
1066
|
-
({ src: t, poster: r, className: s = "", rounded: n = !0, width: i, height:
|
|
1067
|
-
const [f, x] =
|
|
1065
|
+
}, Ua = L.forwardRef(
|
|
1066
|
+
({ src: t, poster: r, className: s = "", rounded: n = !0, width: i, height: c }, u) => {
|
|
1067
|
+
const [f, x] = L.useState(!1), [b, p] = L.useState(!0), [d, v] = L.useState(!1), [g, j] = L.useState(0), [_, k] = L.useState(0), y = L.useRef(null), S = o(
|
|
1068
1068
|
"block w-full",
|
|
1069
|
-
(i !== void 0 ||
|
|
1069
|
+
(i !== void 0 || c !== void 0) && "h-full object-cover"
|
|
1070
1070
|
), h = (O) => {
|
|
1071
|
-
const
|
|
1072
|
-
j(
|
|
1071
|
+
const V = Number(O.target.value);
|
|
1072
|
+
j(V), y.current && (y.current.currentTime = V);
|
|
1073
1073
|
};
|
|
1074
1074
|
return /* @__PURE__ */ e.jsx(
|
|
1075
1075
|
"div",
|
|
1076
1076
|
{
|
|
1077
1077
|
ref: u,
|
|
1078
|
-
style: { width: i, height:
|
|
1079
|
-
className:
|
|
1078
|
+
style: { width: i, height: c },
|
|
1079
|
+
className: o(
|
|
1080
1080
|
"relative w-full overflow-hidden",
|
|
1081
1081
|
n && "rounded-2xl",
|
|
1082
1082
|
s
|
|
1083
1083
|
),
|
|
1084
1084
|
children: f ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1085
1085
|
/* @__PURE__ */ e.jsx(
|
|
1086
|
-
|
|
1086
|
+
ja,
|
|
1087
1087
|
{
|
|
1088
1088
|
ref: y,
|
|
1089
1089
|
src: t,
|
|
@@ -1091,7 +1091,7 @@ const Ha = ({
|
|
|
1091
1091
|
playing: b,
|
|
1092
1092
|
muted: d,
|
|
1093
1093
|
width: i,
|
|
1094
|
-
height:
|
|
1094
|
+
height: c,
|
|
1095
1095
|
className: S,
|
|
1096
1096
|
onTimeUpdate: (O) => j(O.currentTarget.currentTime),
|
|
1097
1097
|
onDurationChange: (O) => k(O.currentTarget.duration),
|
|
@@ -1107,7 +1107,7 @@ const Ha = ({
|
|
|
1107
1107
|
"aria-label": b ? "Pause" : "Play",
|
|
1108
1108
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
1109
1109
|
onClick: () => p((O) => !O),
|
|
1110
|
-
children: b ? /* @__PURE__ */ e.jsx(
|
|
1110
|
+
children: b ? /* @__PURE__ */ e.jsx(Fa, { size: 16 }) : /* @__PURE__ */ e.jsx(ft, { size: 16, className: "translate-x-0.5" })
|
|
1111
1111
|
}
|
|
1112
1112
|
),
|
|
1113
1113
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1119,7 +1119,7 @@ const Ha = ({
|
|
|
1119
1119
|
"aria-label": d ? "Unmute" : "Mute",
|
|
1120
1120
|
className: "absolute left-2 top-2 text-white hover:bg-white/10",
|
|
1121
1121
|
onClick: () => v((O) => !O),
|
|
1122
|
-
children: d ? /* @__PURE__ */ e.jsx(
|
|
1122
|
+
children: d ? /* @__PURE__ */ e.jsx(za, { size: 14 }) : /* @__PURE__ */ e.jsx(Oa, { size: 14 })
|
|
1123
1123
|
}
|
|
1124
1124
|
),
|
|
1125
1125
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1127,7 +1127,7 @@ const Ha = ({
|
|
|
1127
1127
|
{
|
|
1128
1128
|
type: "range",
|
|
1129
1129
|
min: 0,
|
|
1130
|
-
max:
|
|
1130
|
+
max: _ || 0,
|
|
1131
1131
|
step: 0.1,
|
|
1132
1132
|
value: g,
|
|
1133
1133
|
onChange: h,
|
|
@@ -1147,7 +1147,7 @@ const Ha = ({
|
|
|
1147
1147
|
"aria-label": "Play video",
|
|
1148
1148
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
1149
1149
|
onClick: () => x(!0),
|
|
1150
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1150
|
+
children: /* @__PURE__ */ e.jsx(ft, { size: 16, className: "translate-x-0.5" })
|
|
1151
1151
|
}
|
|
1152
1152
|
)
|
|
1153
1153
|
] })
|
|
@@ -1155,60 +1155,60 @@ const Ha = ({
|
|
|
1155
1155
|
);
|
|
1156
1156
|
}
|
|
1157
1157
|
);
|
|
1158
|
-
|
|
1159
|
-
const
|
|
1158
|
+
Ua.displayName = "VideoPlayer";
|
|
1159
|
+
const Ga = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), Dt = L.forwardRef(
|
|
1160
1160
|
({
|
|
1161
1161
|
options: t,
|
|
1162
1162
|
value: r,
|
|
1163
1163
|
onChange: s,
|
|
1164
1164
|
defaultOpen: n = !1,
|
|
1165
1165
|
open: i,
|
|
1166
|
-
onOpenChange:
|
|
1166
|
+
onOpenChange: c,
|
|
1167
1167
|
className: u = "",
|
|
1168
1168
|
triggerClassName: f = "",
|
|
1169
1169
|
menuClassName: x = "",
|
|
1170
1170
|
...b
|
|
1171
1171
|
}, p) => {
|
|
1172
|
-
const [d, v] =
|
|
1172
|
+
const [d, v] = L.useState(n), g = i !== void 0, j = g ? i : d, _ = L.useCallback(
|
|
1173
1173
|
(N) => {
|
|
1174
|
-
g || v(N),
|
|
1174
|
+
g || v(N), c?.(N);
|
|
1175
1175
|
},
|
|
1176
|
-
[g,
|
|
1177
|
-
), k =
|
|
1178
|
-
|
|
1176
|
+
[g, c]
|
|
1177
|
+
), k = L.useRef(null);
|
|
1178
|
+
L.useImperativeHandle(p, () => k.current), L.useEffect(() => {
|
|
1179
1179
|
if (!j) return;
|
|
1180
1180
|
const N = (h) => {
|
|
1181
|
-
k.current?.contains(h.target) ||
|
|
1181
|
+
k.current?.contains(h.target) || _(!1);
|
|
1182
1182
|
}, S = (h) => {
|
|
1183
|
-
h.key === "Escape" &&
|
|
1183
|
+
h.key === "Escape" && _(!1);
|
|
1184
1184
|
};
|
|
1185
1185
|
return document.addEventListener("mousedown", N), document.addEventListener("keydown", S), () => {
|
|
1186
1186
|
document.removeEventListener("mousedown", N), document.removeEventListener("keydown", S);
|
|
1187
1187
|
};
|
|
1188
|
-
}, [j,
|
|
1188
|
+
}, [j, _]);
|
|
1189
1189
|
const y = (N) => {
|
|
1190
|
-
s?.(N.value),
|
|
1190
|
+
s?.(N.value), _(!1);
|
|
1191
1191
|
};
|
|
1192
|
-
return /* @__PURE__ */ e.jsxs("div", { ref: k, className:
|
|
1192
|
+
return /* @__PURE__ */ e.jsxs("div", { ref: k, className: o("relative inline-block", u), ...b, children: [
|
|
1193
1193
|
/* @__PURE__ */ e.jsxs(
|
|
1194
1194
|
"button",
|
|
1195
1195
|
{
|
|
1196
1196
|
type: "button",
|
|
1197
|
-
onClick: () =>
|
|
1197
|
+
onClick: () => _(!j),
|
|
1198
1198
|
"aria-label": "Switch language",
|
|
1199
1199
|
"aria-haspopup": "listbox",
|
|
1200
1200
|
"aria-expanded": j,
|
|
1201
|
-
className:
|
|
1201
|
+
className: o(
|
|
1202
1202
|
"inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",
|
|
1203
1203
|
f
|
|
1204
1204
|
),
|
|
1205
1205
|
children: [
|
|
1206
|
-
/* @__PURE__ */ e.jsx(
|
|
1206
|
+
/* @__PURE__ */ e.jsx(Ga, {}),
|
|
1207
1207
|
/* @__PURE__ */ e.jsx(
|
|
1208
|
-
|
|
1208
|
+
ce,
|
|
1209
1209
|
{
|
|
1210
1210
|
size: 24,
|
|
1211
|
-
className:
|
|
1211
|
+
className: o("transition-transform duration-200", j ? "rotate-180" : ""),
|
|
1212
1212
|
"aria-hidden": !0
|
|
1213
1213
|
}
|
|
1214
1214
|
)
|
|
@@ -1219,7 +1219,7 @@ const Ua = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1219
1219
|
"ul",
|
|
1220
1220
|
{
|
|
1221
1221
|
role: "listbox",
|
|
1222
|
-
className:
|
|
1222
|
+
className: o(
|
|
1223
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",
|
|
1224
1224
|
x
|
|
1225
1225
|
),
|
|
@@ -1230,7 +1230,7 @@ const Ua = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1230
1230
|
{
|
|
1231
1231
|
type: "button",
|
|
1232
1232
|
onClick: () => y(N),
|
|
1233
|
-
className:
|
|
1233
|
+
className: o(
|
|
1234
1234
|
"block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",
|
|
1235
1235
|
S ? "font-medium text-[#f75e22]" : "text-[#1d2125]"
|
|
1236
1236
|
),
|
|
@@ -1243,21 +1243,21 @@ const Ua = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1243
1243
|
] });
|
|
1244
1244
|
}
|
|
1245
1245
|
);
|
|
1246
|
-
|
|
1247
|
-
function
|
|
1246
|
+
Dt.displayName = "LanguageSwitcher";
|
|
1247
|
+
function Xr({
|
|
1248
1248
|
onBackClick: t,
|
|
1249
1249
|
backButtonAriaLabel: r = "Go back",
|
|
1250
1250
|
locale: s,
|
|
1251
1251
|
localeOptions: n,
|
|
1252
1252
|
onLocaleChange: i,
|
|
1253
|
-
className:
|
|
1253
|
+
className: c
|
|
1254
1254
|
}) {
|
|
1255
1255
|
return /* @__PURE__ */ e.jsxs(
|
|
1256
1256
|
"div",
|
|
1257
1257
|
{
|
|
1258
|
-
className:
|
|
1258
|
+
className: o(
|
|
1259
1259
|
"mx-auto flex w-full max-w-md items-center justify-between px-4 py-3",
|
|
1260
|
-
|
|
1260
|
+
c
|
|
1261
1261
|
),
|
|
1262
1262
|
children: [
|
|
1263
1263
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1267,11 +1267,11 @@ function Ir({
|
|
|
1267
1267
|
onClick: t,
|
|
1268
1268
|
"aria-label": r,
|
|
1269
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)]",
|
|
1270
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1270
|
+
children: /* @__PURE__ */ e.jsx(Ue, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
1271
1271
|
}
|
|
1272
1272
|
),
|
|
1273
1273
|
/* @__PURE__ */ e.jsx(
|
|
1274
|
-
|
|
1274
|
+
Dt,
|
|
1275
1275
|
{
|
|
1276
1276
|
options: n,
|
|
1277
1277
|
value: s,
|
|
@@ -1283,15 +1283,15 @@ function Ir({
|
|
|
1283
1283
|
}
|
|
1284
1284
|
);
|
|
1285
1285
|
}
|
|
1286
|
-
const
|
|
1287
|
-
({ label: t, selected: r = !1, onClick: s, icon: n, className: i, type:
|
|
1286
|
+
const qa = L.forwardRef(
|
|
1287
|
+
({ label: t, selected: r = !1, onClick: s, icon: n, className: i, type: c = "button", ...u }, f) => /* @__PURE__ */ e.jsxs(
|
|
1288
1288
|
"button",
|
|
1289
1289
|
{
|
|
1290
1290
|
ref: f,
|
|
1291
|
-
type:
|
|
1291
|
+
type: c,
|
|
1292
1292
|
onClick: s,
|
|
1293
1293
|
"aria-pressed": r,
|
|
1294
|
-
className:
|
|
1294
|
+
className: o(
|
|
1295
1295
|
"inline-flex shrink-0 items-center justify-center gap-1 rounded-full border text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",
|
|
1296
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",
|
|
1297
1297
|
i
|
|
@@ -1304,16 +1304,16 @@ const Ga = _.forwardRef(
|
|
|
1304
1304
|
}
|
|
1305
1305
|
)
|
|
1306
1306
|
);
|
|
1307
|
-
|
|
1308
|
-
const
|
|
1307
|
+
qa.displayName = "Chip";
|
|
1308
|
+
const Qr = ({
|
|
1309
1309
|
quote: t,
|
|
1310
1310
|
currentStep: r,
|
|
1311
1311
|
totalSteps: s,
|
|
1312
1312
|
className: n,
|
|
1313
1313
|
...i
|
|
1314
1314
|
}) => {
|
|
1315
|
-
const
|
|
1316
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
1315
|
+
const c = s > 0 ? Math.min(100, Math.max(0, r / s * 100)) : 0;
|
|
1316
|
+
return /* @__PURE__ */ e.jsxs("div", { className: o("step-progress-header", n), ...i, children: [
|
|
1317
1317
|
/* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__column", children: [
|
|
1318
1318
|
/* @__PURE__ */ e.jsx("p", { className: "step-progress-header__quote", children: t }),
|
|
1319
1319
|
/* @__PURE__ */ e.jsxs("div", { className: "step-progress-header__track", children: [
|
|
@@ -1321,14 +1321,14 @@ const Mr = ({
|
|
|
1321
1321
|
"div",
|
|
1322
1322
|
{
|
|
1323
1323
|
className: "step-progress-header__track-fill",
|
|
1324
|
-
style: { width: `${
|
|
1324
|
+
style: { width: `${c}%` }
|
|
1325
1325
|
}
|
|
1326
1326
|
),
|
|
1327
1327
|
/* @__PURE__ */ e.jsx(
|
|
1328
1328
|
"div",
|
|
1329
1329
|
{
|
|
1330
1330
|
className: "step-progress-header__track-marker",
|
|
1331
|
-
style: { left: `${
|
|
1331
|
+
style: { left: `${c}%` },
|
|
1332
1332
|
children: /* @__PURE__ */ e.jsx(
|
|
1333
1333
|
"img",
|
|
1334
1334
|
{
|
|
@@ -1349,13 +1349,13 @@ const Mr = ({
|
|
|
1349
1349
|
] })
|
|
1350
1350
|
] });
|
|
1351
1351
|
};
|
|
1352
|
-
function
|
|
1352
|
+
function Ya(t) {
|
|
1353
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);
|
|
1354
1354
|
}
|
|
1355
|
-
function
|
|
1355
|
+
function Ka(t) {
|
|
1356
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);
|
|
1357
1357
|
}
|
|
1358
|
-
const
|
|
1358
|
+
const ht = 1.25, mt = [
|
|
1359
1359
|
{ x: 11.02, y: 6.38, height: 5.28 },
|
|
1360
1360
|
{ x: 16.3, y: 6.38, height: 5.28 },
|
|
1361
1361
|
{ x: 8.36, y: 3.8, height: 10.44 },
|
|
@@ -1363,7 +1363,7 @@ const pt = 1.25, ht = [
|
|
|
1363
1363
|
{ x: 5.73, y: 2.84, height: 12.32 },
|
|
1364
1364
|
{ x: 3.07, y: 6, height: 6.03 },
|
|
1365
1365
|
{ x: 0.45, y: 7.29, height: 3.37 }
|
|
1366
|
-
],
|
|
1366
|
+
], Za = ({
|
|
1367
1367
|
animate: t,
|
|
1368
1368
|
iconIndex: r
|
|
1369
1369
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1375,33 +1375,33 @@ const pt = 1.25, ht = [
|
|
|
1375
1375
|
fill: "none",
|
|
1376
1376
|
"aria-hidden": !0,
|
|
1377
1377
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1378
|
-
children:
|
|
1378
|
+
children: mt.map((s, n) => /* @__PURE__ */ e.jsx(
|
|
1379
1379
|
"rect",
|
|
1380
1380
|
{
|
|
1381
1381
|
x: s.x,
|
|
1382
1382
|
y: s.y,
|
|
1383
|
-
width:
|
|
1383
|
+
width: ht,
|
|
1384
1384
|
height: s.height,
|
|
1385
|
-
rx:
|
|
1385
|
+
rx: ht / 2,
|
|
1386
1386
|
fill: "#6B7280",
|
|
1387
1387
|
className: t ? "wave-bar-anim" : "",
|
|
1388
1388
|
style: {
|
|
1389
|
-
animationDelay: `${(r *
|
|
1389
|
+
animationDelay: `${(r * mt.length + n) * 60}ms`
|
|
1390
1390
|
}
|
|
1391
1391
|
},
|
|
1392
1392
|
n
|
|
1393
1393
|
))
|
|
1394
1394
|
}
|
|
1395
|
-
),
|
|
1395
|
+
), es = ({
|
|
1396
1396
|
avatarUrl: t,
|
|
1397
1397
|
question: r,
|
|
1398
1398
|
description: s,
|
|
1399
1399
|
audioSrc: n,
|
|
1400
1400
|
className: i,
|
|
1401
|
-
...
|
|
1401
|
+
...c
|
|
1402
1402
|
}) => {
|
|
1403
|
-
const u =
|
|
1404
|
-
|
|
1403
|
+
const u = L.useRef(null), f = L.useRef(!1), [x, b] = L.useState(!1), [p, d] = L.useState(!1);
|
|
1404
|
+
L.useEffect(() => {
|
|
1405
1405
|
!n || f.current || (f.current = !0, u.current?.play().catch(() => {
|
|
1406
1406
|
}));
|
|
1407
1407
|
}, [n]);
|
|
@@ -1412,8 +1412,8 @@ const pt = 1.25, ht = [
|
|
|
1412
1412
|
return /* @__PURE__ */ e.jsxs(
|
|
1413
1413
|
"div",
|
|
1414
1414
|
{
|
|
1415
|
-
className:
|
|
1416
|
-
...
|
|
1415
|
+
className: o("flex w-full items-start gap-3 px-4 pb-6", i),
|
|
1416
|
+
...c,
|
|
1417
1417
|
children: [
|
|
1418
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: [
|
|
1419
1419
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1472,11 +1472,11 @@ const pt = 1.25, ht = [
|
|
|
1472
1472
|
"aria-label": x ? "Unmute" : "Mute",
|
|
1473
1473
|
"aria-pressed": x,
|
|
1474
1474
|
className: "flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
1475
|
-
children: x ? /* @__PURE__ */ e.jsx(
|
|
1475
|
+
children: x ? /* @__PURE__ */ e.jsx(Ka, { size: 18, className: "text-[#f75e22]" }) : /* @__PURE__ */ e.jsx(Ya, { size: 18, className: "text-[#f75e22]" })
|
|
1476
1476
|
}
|
|
1477
1477
|
),
|
|
1478
1478
|
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((g) => /* @__PURE__ */ e.jsx(
|
|
1479
|
-
|
|
1479
|
+
Za,
|
|
1480
1480
|
{
|
|
1481
1481
|
animate: p && !x,
|
|
1482
1482
|
iconIndex: g
|
|
@@ -1489,36 +1489,36 @@ const pt = 1.25, ht = [
|
|
|
1489
1489
|
]
|
|
1490
1490
|
}
|
|
1491
1491
|
);
|
|
1492
|
-
},
|
|
1492
|
+
}, Ja = {
|
|
1493
1493
|
sm: "size-9",
|
|
1494
1494
|
md: "size-11",
|
|
1495
1495
|
lg: "size-16"
|
|
1496
|
-
},
|
|
1497
|
-
({ icon: t, avatarUrl: r, alt: s = "", size: n = "md", className: i, ...
|
|
1496
|
+
}, Pe = L.forwardRef(
|
|
1497
|
+
({ icon: t, avatarUrl: r, alt: s = "", size: n = "md", className: i, ...c }, u) => /* @__PURE__ */ e.jsx(
|
|
1498
1498
|
"div",
|
|
1499
1499
|
{
|
|
1500
1500
|
ref: u,
|
|
1501
|
-
className:
|
|
1501
|
+
className: o(
|
|
1502
1502
|
"flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
1503
|
-
|
|
1503
|
+
Ja[n],
|
|
1504
1504
|
!r && "bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",
|
|
1505
1505
|
i
|
|
1506
1506
|
),
|
|
1507
1507
|
"aria-hidden": r ? void 0 : !0,
|
|
1508
|
-
...
|
|
1508
|
+
...c,
|
|
1509
1509
|
children: r ? /* @__PURE__ */ e.jsx("img", { src: r, alt: s, className: "size-full object-cover" }) : t
|
|
1510
1510
|
}
|
|
1511
1511
|
)
|
|
1512
1512
|
);
|
|
1513
|
-
|
|
1514
|
-
const
|
|
1513
|
+
Pe.displayName = "IconBadge";
|
|
1514
|
+
const It = L.forwardRef(
|
|
1515
1515
|
({
|
|
1516
1516
|
selected: t = !1,
|
|
1517
1517
|
onSelect: r,
|
|
1518
1518
|
icon: s,
|
|
1519
1519
|
avatarUrl: n,
|
|
1520
1520
|
iconSize: i = "md",
|
|
1521
|
-
iconClassName:
|
|
1521
|
+
iconClassName: c,
|
|
1522
1522
|
title: u,
|
|
1523
1523
|
description: f,
|
|
1524
1524
|
badge: x,
|
|
@@ -1528,24 +1528,24 @@ const Dt = _.forwardRef(
|
|
|
1528
1528
|
tag: v,
|
|
1529
1529
|
tagClassName: g,
|
|
1530
1530
|
children: j,
|
|
1531
|
-
className:
|
|
1531
|
+
className: _,
|
|
1532
1532
|
disabled: k,
|
|
1533
1533
|
type: y = "button",
|
|
1534
1534
|
...N
|
|
1535
1535
|
}, S) => /* @__PURE__ */ e.jsxs(
|
|
1536
1536
|
"div",
|
|
1537
1537
|
{
|
|
1538
|
-
className:
|
|
1538
|
+
className: o(
|
|
1539
1539
|
"relative overflow-visible rounded-2xl border transition-colors",
|
|
1540
1540
|
t ? "border-[#f38415] bg-[#FEF5E9]" : "border-gray-200 bg-white",
|
|
1541
1541
|
k && "opacity-50",
|
|
1542
|
-
|
|
1542
|
+
_
|
|
1543
1543
|
),
|
|
1544
1544
|
children: [
|
|
1545
1545
|
v && /* @__PURE__ */ e.jsx(
|
|
1546
1546
|
"span",
|
|
1547
1547
|
{
|
|
1548
|
-
className:
|
|
1548
|
+
className: o(
|
|
1549
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
1550
|
g
|
|
1551
1551
|
),
|
|
@@ -1561,13 +1561,13 @@ const Dt = _.forwardRef(
|
|
|
1561
1561
|
"aria-checked": t,
|
|
1562
1562
|
disabled: k,
|
|
1563
1563
|
onClick: r,
|
|
1564
|
-
className:
|
|
1564
|
+
className: o(
|
|
1565
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
1566
|
v && "pt-7"
|
|
1567
1567
|
),
|
|
1568
1568
|
...N,
|
|
1569
1569
|
children: [
|
|
1570
|
-
(s || n) && /* @__PURE__ */ e.jsx(
|
|
1570
|
+
(s || n) && /* @__PURE__ */ e.jsx(Pe, { icon: s, avatarUrl: n, size: i, className: c }),
|
|
1571
1571
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1572
1572
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#1d2125]", children: u }),
|
|
1573
1573
|
f && !j && /* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-[13px] leading-4.5 text-gray-500", children: f })
|
|
@@ -1577,15 +1577,15 @@ const Dt = _.forwardRef(
|
|
|
1577
1577
|
"span",
|
|
1578
1578
|
{
|
|
1579
1579
|
"aria-hidden": !0,
|
|
1580
|
-
className:
|
|
1580
|
+
className: o(
|
|
1581
1581
|
"inline-flex size-6 shrink-0 items-center justify-center rounded-full border-2 transition-colors",
|
|
1582
|
-
t ? p === "check" ?
|
|
1582
|
+
t ? p === "check" ? o("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white", d) : "border-[#f75e22]" : "border-gray-300"
|
|
1583
1583
|
),
|
|
1584
1584
|
children: [
|
|
1585
1585
|
t && p === "dot" && /* @__PURE__ */ e.jsx(
|
|
1586
1586
|
"span",
|
|
1587
1587
|
{
|
|
1588
|
-
className:
|
|
1588
|
+
className: o(
|
|
1589
1589
|
"size-3.5 rounded-full bg-linear-to-b from-[#f97e4e] to-[#f75e22]",
|
|
1590
1590
|
d
|
|
1591
1591
|
)
|
|
@@ -1603,8 +1603,8 @@ const Dt = _.forwardRef(
|
|
|
1603
1603
|
}
|
|
1604
1604
|
)
|
|
1605
1605
|
);
|
|
1606
|
-
|
|
1607
|
-
const
|
|
1606
|
+
It.displayName = "SelectorCard";
|
|
1607
|
+
const ts = ({
|
|
1608
1608
|
value: t,
|
|
1609
1609
|
onClick: r,
|
|
1610
1610
|
className: s,
|
|
@@ -1615,18 +1615,18 @@ const Vr = ({
|
|
|
1615
1615
|
role: r ? "button" : void 0,
|
|
1616
1616
|
tabIndex: r ? 0 : void 0,
|
|
1617
1617
|
onClick: r,
|
|
1618
|
-
className:
|
|
1618
|
+
className: o(
|
|
1619
1619
|
"mx-3 mb-3 flex items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",
|
|
1620
1620
|
r && "cursor-pointer",
|
|
1621
1621
|
s
|
|
1622
1622
|
),
|
|
1623
1623
|
...n,
|
|
1624
1624
|
children: [
|
|
1625
|
-
/* @__PURE__ */ e.jsx(
|
|
1625
|
+
/* @__PURE__ */ e.jsx(Bt, { size: 16, className: "shrink-0 text-gray-900", "aria-hidden": !0 }),
|
|
1626
1626
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: t })
|
|
1627
1627
|
]
|
|
1628
1628
|
}
|
|
1629
|
-
),
|
|
1629
|
+
), as = ({
|
|
1630
1630
|
value: t,
|
|
1631
1631
|
onInfoClick: r,
|
|
1632
1632
|
infoLabel: s = "More info",
|
|
@@ -1635,7 +1635,7 @@ const Vr = ({
|
|
|
1635
1635
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1636
1636
|
"div",
|
|
1637
1637
|
{
|
|
1638
|
-
className:
|
|
1638
|
+
className: o(
|
|
1639
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",
|
|
1640
1640
|
n
|
|
1641
1641
|
),
|
|
@@ -1649,61 +1649,61 @@ const Vr = ({
|
|
|
1649
1649
|
onClick: r,
|
|
1650
1650
|
"aria-label": s,
|
|
1651
1651
|
className: "shrink-0 border-0 bg-transparent p-0 text-gray-700",
|
|
1652
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1652
|
+
children: /* @__PURE__ */ e.jsx(fe, { size: 18, "aria-hidden": !0 })
|
|
1653
1653
|
}
|
|
1654
|
-
) : /* @__PURE__ */ e.jsx(
|
|
1654
|
+
) : /* @__PURE__ */ e.jsx(fe, { size: 18, className: "shrink-0 text-gray-700", "aria-hidden": !0 })
|
|
1655
1655
|
]
|
|
1656
1656
|
}
|
|
1657
|
-
),
|
|
1657
|
+
), Xa = ({
|
|
1658
1658
|
value: t,
|
|
1659
1659
|
className: r,
|
|
1660
1660
|
...s
|
|
1661
1661
|
}) => /* @__PURE__ */ e.jsx(
|
|
1662
1662
|
"span",
|
|
1663
1663
|
{
|
|
1664
|
-
className:
|
|
1665
|
-
"inline-flex items-center rounded-full bg-white px-3 py-1 text-sm font-semibold text-
|
|
1664
|
+
className: o(
|
|
1665
|
+
"inline-flex items-center rounded-full bg-white px-3 py-1 text-sm font-semibold text-[#159169]",
|
|
1666
1666
|
r
|
|
1667
1667
|
),
|
|
1668
1668
|
...s,
|
|
1669
1669
|
children: t
|
|
1670
1670
|
}
|
|
1671
|
-
),
|
|
1671
|
+
), Qa = ({ className: t, children: r, ...s }) => /* @__PURE__ */ e.jsx(
|
|
1672
1672
|
"div",
|
|
1673
1673
|
{
|
|
1674
|
-
className:
|
|
1675
|
-
"rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#
|
|
1674
|
+
className: o(
|
|
1675
|
+
"rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#632e06]",
|
|
1676
1676
|
t
|
|
1677
1677
|
),
|
|
1678
1678
|
...s,
|
|
1679
1679
|
children: r
|
|
1680
1680
|
}
|
|
1681
|
-
),
|
|
1681
|
+
), rs = ({
|
|
1682
1682
|
value: t,
|
|
1683
1683
|
onIncrement: r,
|
|
1684
1684
|
onDecrement: s,
|
|
1685
1685
|
min: n = 0,
|
|
1686
1686
|
max: i,
|
|
1687
|
-
addLabel:
|
|
1687
|
+
addLabel: c = "Add",
|
|
1688
1688
|
className: u
|
|
1689
1689
|
}) => t <= n ? /* @__PURE__ */ e.jsxs(
|
|
1690
1690
|
"button",
|
|
1691
1691
|
{
|
|
1692
1692
|
type: "button",
|
|
1693
1693
|
onClick: r,
|
|
1694
|
-
className:
|
|
1694
|
+
className: o(
|
|
1695
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",
|
|
1696
1696
|
u
|
|
1697
1697
|
),
|
|
1698
1698
|
children: [
|
|
1699
|
-
/* @__PURE__ */ e.jsx(
|
|
1700
|
-
|
|
1699
|
+
/* @__PURE__ */ e.jsx(pt, { size: 20, "aria-hidden": !0 }),
|
|
1700
|
+
c
|
|
1701
1701
|
]
|
|
1702
1702
|
}
|
|
1703
1703
|
) : /* @__PURE__ */ e.jsxs(
|
|
1704
1704
|
"div",
|
|
1705
1705
|
{
|
|
1706
|
-
className:
|
|
1706
|
+
className: o(
|
|
1707
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",
|
|
1708
1708
|
u
|
|
1709
1709
|
),
|
|
@@ -1715,7 +1715,7 @@ const Vr = ({
|
|
|
1715
1715
|
onClick: s,
|
|
1716
1716
|
"aria-label": "Decrease quantity",
|
|
1717
1717
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",
|
|
1718
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1718
|
+
children: /* @__PURE__ */ e.jsx(Ia, { size: 18, "aria-hidden": !0 })
|
|
1719
1719
|
}
|
|
1720
1720
|
),
|
|
1721
1721
|
/* @__PURE__ */ e.jsx("span", { className: "min-w-[1ch] text-center text-base font-bold", children: t }),
|
|
@@ -1727,12 +1727,12 @@ const Vr = ({
|
|
|
1727
1727
|
disabled: i !== void 0 && t >= i,
|
|
1728
1728
|
"aria-label": "Increase quantity",
|
|
1729
1729
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors disabled:pointer-events-none disabled:opacity-40",
|
|
1730
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1730
|
+
children: /* @__PURE__ */ e.jsx(pt, { size: 18, "aria-hidden": !0 })
|
|
1731
1731
|
}
|
|
1732
1732
|
)
|
|
1733
1733
|
]
|
|
1734
1734
|
}
|
|
1735
|
-
),
|
|
1735
|
+
), bt = {
|
|
1736
1736
|
en: {
|
|
1737
1737
|
headerTitle: "Review your booking",
|
|
1738
1738
|
addonsTitle: "Add services for all ancestors",
|
|
@@ -1757,18 +1757,18 @@ const Vr = ({
|
|
|
1757
1757
|
checkoutRitualSingular: "पूजा-विधि",
|
|
1758
1758
|
checkoutRitualPlural: "पूजा-विधि"
|
|
1759
1759
|
}
|
|
1760
|
-
},
|
|
1760
|
+
}, _e = (t) => bt[t] ?? bt.en, Mt = ({
|
|
1761
1761
|
title: t,
|
|
1762
1762
|
description: r,
|
|
1763
1763
|
price: s,
|
|
1764
1764
|
originalPrice: n,
|
|
1765
1765
|
action: i,
|
|
1766
|
-
className:
|
|
1766
|
+
className: c,
|
|
1767
1767
|
...u
|
|
1768
1768
|
}) => /* @__PURE__ */ e.jsx(
|
|
1769
1769
|
"div",
|
|
1770
1770
|
{
|
|
1771
|
-
className:
|
|
1771
|
+
className: o("rounded-2xl border border-gray-200 bg-white p-4", c),
|
|
1772
1772
|
...u,
|
|
1773
1773
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-between gap-3", children: [
|
|
1774
1774
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
@@ -1784,10 +1784,10 @@ const Vr = ({
|
|
|
1784
1784
|
] })
|
|
1785
1785
|
] })
|
|
1786
1786
|
}
|
|
1787
|
-
),
|
|
1788
|
-
const { mandapTitle: s, mandapDescription: n } =
|
|
1789
|
-
return /* @__PURE__ */ e.jsx(
|
|
1790
|
-
},
|
|
1787
|
+
), er = ({ locale: t = "en", ...r }) => {
|
|
1788
|
+
const { mandapTitle: s, mandapDescription: n } = _e(t);
|
|
1789
|
+
return /* @__PURE__ */ e.jsx(Mt, { title: s, description: n, ...r });
|
|
1790
|
+
}, ss = ({
|
|
1791
1791
|
children: t = "Change",
|
|
1792
1792
|
className: r,
|
|
1793
1793
|
type: s = "button",
|
|
@@ -1796,134 +1796,128 @@ const Vr = ({
|
|
|
1796
1796
|
"button",
|
|
1797
1797
|
{
|
|
1798
1798
|
type: s,
|
|
1799
|
-
className:
|
|
1799
|
+
className: o(
|
|
1800
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",
|
|
1801
1801
|
r
|
|
1802
1802
|
),
|
|
1803
1803
|
...n,
|
|
1804
1804
|
children: [
|
|
1805
|
-
/* @__PURE__ */ e.jsx(
|
|
1805
|
+
/* @__PURE__ */ e.jsx(Bt, { size: 14, "aria-hidden": !0 }),
|
|
1806
1806
|
t
|
|
1807
1807
|
]
|
|
1808
1808
|
}
|
|
1809
|
-
),
|
|
1809
|
+
), ns = ({
|
|
1810
1810
|
locale: t = "en",
|
|
1811
1811
|
isAdded: r = !0,
|
|
1812
1812
|
children: s,
|
|
1813
1813
|
className: n,
|
|
1814
1814
|
type: i = "button",
|
|
1815
|
-
...
|
|
1815
|
+
...c
|
|
1816
1816
|
}) => /* @__PURE__ */ e.jsxs(
|
|
1817
1817
|
"button",
|
|
1818
1818
|
{
|
|
1819
1819
|
type: i,
|
|
1820
|
-
className:
|
|
1820
|
+
className: o(
|
|
1821
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",
|
|
1822
1822
|
n
|
|
1823
1823
|
),
|
|
1824
|
-
...
|
|
1824
|
+
...c,
|
|
1825
1825
|
children: [
|
|
1826
1826
|
r && /* @__PURE__ */ e.jsx(Ve, { size: 14, "aria-hidden": !0 }),
|
|
1827
|
-
s ?? (r ?
|
|
1827
|
+
s ?? (r ? _e(t).addedLabel : _e(t).addLabel)
|
|
1828
1828
|
]
|
|
1829
1829
|
}
|
|
1830
|
-
),
|
|
1830
|
+
), tr = "_card_3r5af_11", ar = "_tag_3r5af_19", rr = "_content_3r5af_33", sr = "_info_3r5af_39", nr = "_title_3r5af_46", lr = "_description_3r5af_53", ir = "_priceRow_3r5af_60", or = "_price_3r5af_60", cr = "_originalPrice_3r5af_75", dr = "_imageWrap_3r5af_81", ur = "_image_3r5af_81", xr = "_actionWrap_3r5af_95", te = {
|
|
1831
|
+
card: tr,
|
|
1832
|
+
tag: ar,
|
|
1833
|
+
content: rr,
|
|
1834
|
+
info: sr,
|
|
1835
|
+
title: nr,
|
|
1836
|
+
description: lr,
|
|
1837
|
+
priceRow: ir,
|
|
1838
|
+
price: or,
|
|
1839
|
+
originalPrice: cr,
|
|
1840
|
+
imageWrap: dr,
|
|
1841
|
+
image: ur,
|
|
1842
|
+
actionWrap: xr
|
|
1843
|
+
}, fr = ({
|
|
1831
1844
|
image: t,
|
|
1832
1845
|
imageAlt: r = "",
|
|
1833
1846
|
title: s,
|
|
1834
1847
|
description: n,
|
|
1835
1848
|
price: i,
|
|
1836
|
-
originalPrice:
|
|
1849
|
+
originalPrice: c,
|
|
1837
1850
|
tag: u,
|
|
1838
1851
|
tagClassName: f,
|
|
1839
1852
|
action: x,
|
|
1840
1853
|
className: b,
|
|
1841
1854
|
...p
|
|
1842
|
-
}) => /* @__PURE__ */ e.jsxs(
|
|
1843
|
-
"div",
|
|
1844
|
-
{
|
|
1845
|
-
className:
|
|
1846
|
-
"
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
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
|
-
] })
|
|
1855
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: o(te.card, b), ...p, children: [
|
|
1856
|
+
u && /* @__PURE__ */ e.jsx("div", { className: o(te.tag, f), children: u }),
|
|
1857
|
+
/* @__PURE__ */ e.jsxs("div", { className: te.content, children: [
|
|
1858
|
+
/* @__PURE__ */ e.jsxs("div", { className: te.info, children: [
|
|
1859
|
+
/* @__PURE__ */ e.jsx("p", { className: te.title, children: s }),
|
|
1860
|
+
n && /* @__PURE__ */ e.jsx("p", { className: te.description, children: n }),
|
|
1861
|
+
/* @__PURE__ */ e.jsxs("div", { className: te.priceRow, children: [
|
|
1862
|
+
/* @__PURE__ */ e.jsx("span", { className: te.price, children: i }),
|
|
1863
|
+
c && /* @__PURE__ */ e.jsx("span", { className: te.originalPrice, children: c })
|
|
1874
1864
|
] })
|
|
1875
|
-
]
|
|
1876
|
-
|
|
1877
|
-
)
|
|
1878
|
-
|
|
1865
|
+
] }),
|
|
1866
|
+
/* @__PURE__ */ e.jsxs("div", { className: te.imageWrap, children: [
|
|
1867
|
+
/* @__PURE__ */ e.jsx("img", { src: t, alt: r, className: te.image }),
|
|
1868
|
+
x && /* @__PURE__ */ e.jsx("div", { className: te.actionWrap, children: x })
|
|
1869
|
+
] })
|
|
1870
|
+
] })
|
|
1871
|
+
] });
|
|
1872
|
+
function $t(t) {
|
|
1879
1873
|
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);
|
|
1880
1874
|
}
|
|
1881
|
-
function
|
|
1875
|
+
function Wt(t) {
|
|
1882
1876
|
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);
|
|
1883
1877
|
}
|
|
1884
1878
|
function Vt(t) {
|
|
1885
1879
|
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);
|
|
1886
1880
|
}
|
|
1887
|
-
const
|
|
1888
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(
|
|
1889
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(
|
|
1881
|
+
const pr = [
|
|
1882
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(Wt, { "aria-hidden": !0 }), label: "100% Money Back Guarantee" },
|
|
1883
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx($t, { "aria-hidden": !0 }), label: "No Hidden Cost" },
|
|
1890
1884
|
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(Vt, { "aria-hidden": !0 }), label: "24x7 Support" }
|
|
1891
|
-
],
|
|
1885
|
+
], gt = (t, r, s) => /* @__PURE__ */ e.jsxs(
|
|
1892
1886
|
"span",
|
|
1893
1887
|
{
|
|
1894
|
-
className:
|
|
1888
|
+
className: o("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700", s, t.className),
|
|
1895
1889
|
children: [
|
|
1896
1890
|
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-base text-gray-700", "aria-hidden": !0, children: t.icon }),
|
|
1897
1891
|
t.label
|
|
1898
1892
|
]
|
|
1899
1893
|
},
|
|
1900
1894
|
r
|
|
1901
|
-
),
|
|
1902
|
-
badges: t =
|
|
1895
|
+
), hr = ({
|
|
1896
|
+
badges: t = pr,
|
|
1903
1897
|
badgeClassName: r,
|
|
1904
1898
|
marquee: s = !0,
|
|
1905
1899
|
marqueeDurationSeconds: n = 14,
|
|
1906
1900
|
className: i,
|
|
1907
|
-
...
|
|
1908
|
-
}) => s ? /* @__PURE__ */ e.jsx("div", { className:
|
|
1901
|
+
...c
|
|
1902
|
+
}) => s ? /* @__PURE__ */ e.jsx("div", { className: o("overflow-hidden bg-[#f3f5f7] px-4 py-3", i), ...c, children: /* @__PURE__ */ e.jsx(
|
|
1909
1903
|
"div",
|
|
1910
1904
|
{
|
|
1911
1905
|
className: "flex w-max items-center gap-5 whitespace-nowrap motion-reduce:animate-none",
|
|
1912
1906
|
style: { animation: `pitru-paksh-trust-badges-marquee ${n}s linear infinite` },
|
|
1913
|
-
children: [...t, ...t].map((u, f) =>
|
|
1907
|
+
children: [...t, ...t].map((u, f) => gt(u, `${u.id}-${f}`, r))
|
|
1914
1908
|
}
|
|
1915
1909
|
) }) : /* @__PURE__ */ e.jsx(
|
|
1916
1910
|
"div",
|
|
1917
1911
|
{
|
|
1918
|
-
className:
|
|
1912
|
+
className: o(
|
|
1919
1913
|
"flex items-center gap-5 overflow-x-auto bg-[#f3f5f7] px-4 py-3 whitespace-nowrap",
|
|
1920
1914
|
"scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",
|
|
1921
1915
|
i
|
|
1922
1916
|
),
|
|
1923
|
-
...
|
|
1924
|
-
children: t.map((u) =>
|
|
1917
|
+
...c,
|
|
1918
|
+
children: t.map((u) => gt(u, u.id, r))
|
|
1925
1919
|
}
|
|
1926
|
-
),
|
|
1920
|
+
), vt = {
|
|
1927
1921
|
en: {
|
|
1928
1922
|
proceedLabel: "Proceed"
|
|
1929
1923
|
},
|
|
@@ -1933,13 +1927,13 @@ const tr = [
|
|
|
1933
1927
|
te: {
|
|
1934
1928
|
proceedLabel: "ముందుకు సాగండి"
|
|
1935
1929
|
}
|
|
1936
|
-
},
|
|
1930
|
+
}, mr = (t) => vt[t] ?? vt.en, Ge = ({
|
|
1937
1931
|
locale: t = "en",
|
|
1938
1932
|
amount: r,
|
|
1939
1933
|
amountClassName: s,
|
|
1940
1934
|
subtitle: n,
|
|
1941
1935
|
subtitleClassName: i,
|
|
1942
|
-
showInfoIcon:
|
|
1936
|
+
showInfoIcon: c = !0,
|
|
1943
1937
|
onInfoClick: u,
|
|
1944
1938
|
infoIconClassName: f,
|
|
1945
1939
|
proceedLabel: x,
|
|
@@ -1949,32 +1943,32 @@ const tr = [
|
|
|
1949
1943
|
buttonWrapperClassName: v,
|
|
1950
1944
|
className: g,
|
|
1951
1945
|
...j
|
|
1952
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
1946
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: o("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: [
|
|
1953
1947
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
1954
1948
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
1955
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1956
|
-
|
|
1949
|
+
/* @__PURE__ */ e.jsx("span", { className: o("text-xl font-extrabold text-[#1d2125]", s), children: r }),
|
|
1950
|
+
c && /* @__PURE__ */ e.jsx(
|
|
1957
1951
|
"button",
|
|
1958
1952
|
{
|
|
1959
1953
|
type: "button",
|
|
1960
1954
|
onClick: u,
|
|
1961
1955
|
"aria-label": "View bill details",
|
|
1962
|
-
className:
|
|
1956
|
+
className: o(
|
|
1963
1957
|
"inline-flex shrink-0 items-center justify-center text-[#f75e22]",
|
|
1964
1958
|
!u && "pointer-events-none",
|
|
1965
1959
|
f
|
|
1966
1960
|
),
|
|
1967
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1961
|
+
children: /* @__PURE__ */ e.jsx(fe, { size: 18, "aria-hidden": !0 })
|
|
1968
1962
|
}
|
|
1969
1963
|
)
|
|
1970
1964
|
] }),
|
|
1971
|
-
n && /* @__PURE__ */ e.jsx("p", { className:
|
|
1965
|
+
n && /* @__PURE__ */ e.jsx("p", { className: o("mt-1 text-sm text-gray-500", i), children: n })
|
|
1972
1966
|
] }),
|
|
1973
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1974
|
-
x ??
|
|
1967
|
+
/* @__PURE__ */ e.jsx("div", { className: o("shrink-0", v), children: /* @__PURE__ */ e.jsxs(q, { variant: "primary", size: "xl", onClick: p, ...d, className: o("min-w-40 justify-center gap-2 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]", d?.className), children: [
|
|
1968
|
+
x ?? mr(t).proceedLabel,
|
|
1975
1969
|
b
|
|
1976
1970
|
] }) })
|
|
1977
|
-
] }),
|
|
1971
|
+
] }), jt = {
|
|
1978
1972
|
en: {
|
|
1979
1973
|
title: "Select the number of people performing the Puja (Karta)",
|
|
1980
1974
|
description: "Performing the puja together with the whole family brings ancestors’ blessings and family prosperity",
|
|
@@ -2017,13 +2011,13 @@ const tr = [
|
|
|
2017
2011
|
support: "కస్టమర్ సపోర్ట్"
|
|
2018
2012
|
}
|
|
2019
2013
|
}
|
|
2020
|
-
},
|
|
2014
|
+
}, br = (t) => jt[t] ?? jt.en, ls = ({
|
|
2021
2015
|
locale: t = "en",
|
|
2022
2016
|
title: r,
|
|
2023
2017
|
description: s,
|
|
2024
2018
|
benefits: n,
|
|
2025
2019
|
options: i,
|
|
2026
|
-
value:
|
|
2020
|
+
value: c,
|
|
2027
2021
|
onChange: u,
|
|
2028
2022
|
radioVariant: f = "dot",
|
|
2029
2023
|
radiogroupLabel: x,
|
|
@@ -2033,67 +2027,67 @@ const tr = [
|
|
|
2033
2027
|
optionsClassName: v,
|
|
2034
2028
|
trustBadges: g,
|
|
2035
2029
|
checkout: j,
|
|
2036
|
-
stickyFooter:
|
|
2030
|
+
stickyFooter: _ = !0,
|
|
2037
2031
|
footerClassName: k
|
|
2038
2032
|
}) => {
|
|
2039
|
-
const y =
|
|
2033
|
+
const y = br(t), N = r ?? y.title, S = s ?? y.description, h = n ?? y.benefits, O = g ?? {
|
|
2040
2034
|
badges: [
|
|
2041
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(
|
|
2042
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(
|
|
2035
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(Wt, { "aria-hidden": !0 }), label: y.trustBadgeLabels.moneyBack },
|
|
2036
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx($t, { "aria-hidden": !0 }), label: y.trustBadgeLabels.noHiddenCost },
|
|
2043
2037
|
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(Vt, { "aria-hidden": !0 }), label: y.trustBadgeLabels.support }
|
|
2044
2038
|
]
|
|
2045
2039
|
};
|
|
2046
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2047
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2040
|
+
return /* @__PURE__ */ e.jsxs("div", { className: o("w-full", b), children: [
|
|
2041
|
+
/* @__PURE__ */ e.jsxs("div", { className: o("px-4 pt-5 pb-4", p), children: [
|
|
2048
2042
|
/* @__PURE__ */ e.jsx("p", { className: "text-[20px] leading-6.5 font-extrabold text-[#1d2125]", children: N }),
|
|
2049
2043
|
S && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: S })
|
|
2050
2044
|
] }),
|
|
2051
|
-
h && h.length > 0 && /* @__PURE__ */ e.jsx("div", { className:
|
|
2045
|
+
h && h.length > 0 && /* @__PURE__ */ e.jsx("div", { className: o("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", d), children: h.map((V, B) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
2052
2046
|
/* @__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:
|
|
2047
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: V })
|
|
2054
2048
|
] }, B)) }),
|
|
2055
2049
|
/* @__PURE__ */ e.jsx(
|
|
2056
2050
|
"div",
|
|
2057
2051
|
{
|
|
2058
2052
|
role: "radiogroup",
|
|
2059
2053
|
"aria-label": x ?? (typeof N == "string" ? N : void 0),
|
|
2060
|
-
className:
|
|
2061
|
-
children: i.map((
|
|
2054
|
+
className: o("flex flex-col gap-3 p-4", v),
|
|
2055
|
+
children: i.map((V) => {
|
|
2062
2056
|
const {
|
|
2063
2057
|
id: B,
|
|
2064
2058
|
price: Y,
|
|
2065
|
-
free:
|
|
2059
|
+
free: re,
|
|
2066
2060
|
badge: I,
|
|
2067
|
-
priceBadgeProps:
|
|
2061
|
+
priceBadgeProps: H,
|
|
2068
2062
|
note: K,
|
|
2069
2063
|
noteProps: M,
|
|
2070
2064
|
children: U,
|
|
2071
|
-
iconClassName:
|
|
2065
|
+
iconClassName: ae,
|
|
2072
2066
|
radioVariant: Z,
|
|
2073
2067
|
...J
|
|
2074
|
-
} =
|
|
2068
|
+
} = V, X = c === B, se = I ?? (Y == null ? void 0 : re ? /* @__PURE__ */ e.jsx("span", { className: o("text-sm font-medium text-gray-400", H?.className), ...H, children: Y }) : /* @__PURE__ */ e.jsx(Xa, { value: Y, ...H }));
|
|
2075
2069
|
return /* @__PURE__ */ e.jsx(
|
|
2076
|
-
|
|
2070
|
+
It,
|
|
2077
2071
|
{
|
|
2078
2072
|
...J,
|
|
2079
|
-
iconClassName:
|
|
2073
|
+
iconClassName: o("size-10", ae),
|
|
2080
2074
|
radioVariant: Z ?? f,
|
|
2081
|
-
badge:
|
|
2075
|
+
badge: se,
|
|
2082
2076
|
selected: X,
|
|
2083
2077
|
onSelect: () => u(B),
|
|
2084
|
-
children: U ?? (X && K && /* @__PURE__ */ e.jsx(
|
|
2078
|
+
children: U ?? (X && K && /* @__PURE__ */ e.jsx(Qa, { ...M, children: K }))
|
|
2085
2079
|
},
|
|
2086
2080
|
B
|
|
2087
2081
|
);
|
|
2088
2082
|
})
|
|
2089
2083
|
}
|
|
2090
2084
|
),
|
|
2091
|
-
(O || j) && /* @__PURE__ */ e.jsxs("div", { className:
|
|
2092
|
-
O && /* @__PURE__ */ e.jsx(
|
|
2093
|
-
j && /* @__PURE__ */ e.jsx(
|
|
2085
|
+
(O || j) && /* @__PURE__ */ e.jsxs("div", { className: o(_ && "sticky bottom-0 z-10", k), children: [
|
|
2086
|
+
O && /* @__PURE__ */ e.jsx(hr, { ...O }),
|
|
2087
|
+
j && /* @__PURE__ */ e.jsx(Ge, { ...j })
|
|
2094
2088
|
] })
|
|
2095
2089
|
] });
|
|
2096
|
-
},
|
|
2090
|
+
}, yt = {
|
|
2097
2091
|
en: {
|
|
2098
2092
|
title: "Pitru Paksha Special Rituals",
|
|
2099
2093
|
ancestorsLabel: "Ancestors",
|
|
@@ -2106,13 +2100,13 @@ const tr = [
|
|
|
2106
2100
|
ritualsLabel: "पूजा विधि",
|
|
2107
2101
|
performersLabel: "कर्ता"
|
|
2108
2102
|
}
|
|
2109
|
-
},
|
|
2103
|
+
}, gr = (t) => yt[t] ?? yt.en, vr = ({
|
|
2110
2104
|
locale: t = "en",
|
|
2111
|
-
icon: r = /* @__PURE__ */ e.jsx(
|
|
2105
|
+
icon: r = /* @__PURE__ */ e.jsx(Ft, { "aria-hidden": !0 }),
|
|
2112
2106
|
iconClassName: s,
|
|
2113
2107
|
title: n,
|
|
2114
2108
|
titleClassName: i,
|
|
2115
|
-
subtitle:
|
|
2109
|
+
subtitle: c,
|
|
2116
2110
|
subtitleItems: u,
|
|
2117
2111
|
stats: f,
|
|
2118
2112
|
subtitleClassName: x,
|
|
@@ -2120,22 +2114,22 @@ const tr = [
|
|
|
2120
2114
|
className: p,
|
|
2121
2115
|
...d
|
|
2122
2116
|
}) => {
|
|
2123
|
-
const v =
|
|
2117
|
+
const v = gr(t), g = n ?? v.title, j = u ?? (f && [
|
|
2124
2118
|
`${f.ancestors} ${v.ancestorsLabel}`,
|
|
2125
2119
|
`${f.rituals} ${v.ritualsLabel}`,
|
|
2126
2120
|
`${f.performers} ${v.performersLabel}`
|
|
2127
2121
|
]);
|
|
2128
|
-
return /* @__PURE__ */ e.jsx("div", { className:
|
|
2129
|
-
/* @__PURE__ */ e.jsxs("p", { className:
|
|
2130
|
-
r && /* @__PURE__ */ e.jsx("span", { className:
|
|
2122
|
+
return /* @__PURE__ */ e.jsx("div", { className: o("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6", p), ...d, children: /* @__PURE__ */ e.jsxs("div", { className: o("rounded-2xl bg-white p-4 shadow-sm", b), children: [
|
|
2123
|
+
/* @__PURE__ */ e.jsxs("p", { className: o("flex items-center gap-2 text-sm font-bold text-[#db2777]", i), children: [
|
|
2124
|
+
r && /* @__PURE__ */ e.jsx("span", { className: o("shrink-0 text-sm", s), children: r }),
|
|
2131
2125
|
g
|
|
2132
2126
|
] }),
|
|
2133
|
-
(
|
|
2127
|
+
(c || j && j.length > 0) && /* @__PURE__ */ e.jsx("p", { className: o("mt-2 text-[15px] font-semibold text-[#1d2125]", x), children: j && j.length > 0 ? j.map((_, k) => /* @__PURE__ */ e.jsxs(L.Fragment, { children: [
|
|
2134
2128
|
k > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
|
|
2135
|
-
|
|
2136
|
-
] }, k)) :
|
|
2129
|
+
_
|
|
2130
|
+
] }, k)) : c })
|
|
2137
2131
|
] }) });
|
|
2138
|
-
},
|
|
2132
|
+
}, Nt = {
|
|
2139
2133
|
en: {
|
|
2140
2134
|
title: "Bill Details",
|
|
2141
2135
|
totalLabel: "Total Amount"
|
|
@@ -2144,46 +2138,46 @@ const tr = [
|
|
|
2144
2138
|
title: "बिल विवरण",
|
|
2145
2139
|
totalLabel: "कुल राशि"
|
|
2146
2140
|
}
|
|
2147
|
-
},
|
|
2141
|
+
}, jr = (t) => Nt[t] ?? Nt.en, yr = ({
|
|
2148
2142
|
locale: t = "en",
|
|
2149
2143
|
titleClassName: r,
|
|
2150
2144
|
rows: s,
|
|
2151
2145
|
rowClassName: n,
|
|
2152
2146
|
showTitleAccent: i = !0,
|
|
2153
|
-
totalValue:
|
|
2147
|
+
totalValue: c,
|
|
2154
2148
|
totalClassName: u,
|
|
2155
2149
|
className: f,
|
|
2156
2150
|
...x
|
|
2157
2151
|
}) => {
|
|
2158
|
-
const { title: b, totalLabel: p } =
|
|
2159
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2160
|
-
/* @__PURE__ */ e.jsxs("h2", { className:
|
|
2152
|
+
const { title: b, totalLabel: p } = jr(t);
|
|
2153
|
+
return /* @__PURE__ */ e.jsxs("div", { className: o("bg-white px-4 py-6", f), ...x, children: [
|
|
2154
|
+
/* @__PURE__ */ e.jsxs("h2", { className: o("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]", r), children: [
|
|
2161
2155
|
i && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]" }),
|
|
2162
2156
|
b
|
|
2163
2157
|
] }),
|
|
2164
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-4", children: s.map((d) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
2158
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-4", children: s.map((d) => /* @__PURE__ */ e.jsxs("div", { className: o("flex items-start justify-between gap-3", n), children: [
|
|
2165
2159
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
|
|
2166
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2167
|
-
d.subLabel && /* @__PURE__ */ e.jsx("p", { className:
|
|
2160
|
+
/* @__PURE__ */ e.jsx("p", { className: o("text-sm text-[#1d2125]", d.labelClassName), children: d.label }),
|
|
2161
|
+
d.subLabel && /* @__PURE__ */ e.jsx("p", { className: o("mt-0.5 text-xs text-gray-400", d.subLabelClassName), children: d.subLabel })
|
|
2168
2162
|
] }),
|
|
2169
2163
|
/* @__PURE__ */ e.jsxs("div", { className: "flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm", children: [
|
|
2170
2164
|
d.note && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400", children: d.note }),
|
|
2171
2165
|
d.originalValue && /* @__PURE__ */ e.jsx("span", { className: "text-gray-400 line-through", children: d.originalValue }),
|
|
2172
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
2166
|
+
/* @__PURE__ */ e.jsx("span", { className: o("font-medium text-[#1d2125]", d.valueClassName), children: d.value })
|
|
2173
2167
|
] })
|
|
2174
2168
|
] }, d.id)) }),
|
|
2175
|
-
|
|
2169
|
+
c !== void 0 && /* @__PURE__ */ e.jsxs("div", { className: o("mt-4 flex items-center justify-between border-t border-dashed border-gray-300 pt-4", u), children: [
|
|
2176
2170
|
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-[#1d2125]", children: p }),
|
|
2177
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children:
|
|
2171
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children: c })
|
|
2178
2172
|
] })
|
|
2179
2173
|
] });
|
|
2180
|
-
},
|
|
2174
|
+
}, is = ({
|
|
2181
2175
|
locale: t = "en",
|
|
2182
2176
|
onBack: r,
|
|
2183
2177
|
backButtonAriaLabel: s = "Go back",
|
|
2184
2178
|
headerClassName: n,
|
|
2185
2179
|
backButtonClassName: i,
|
|
2186
|
-
headerTitleClassName:
|
|
2180
|
+
headerTitleClassName: c,
|
|
2187
2181
|
summary: u,
|
|
2188
2182
|
items: f,
|
|
2189
2183
|
itemsClassName: x,
|
|
@@ -2193,83 +2187,83 @@ const tr = [
|
|
|
2193
2187
|
addonsHeaderClassName: v,
|
|
2194
2188
|
addonsTitleClassName: g,
|
|
2195
2189
|
addonsDescriptionClassName: j,
|
|
2196
|
-
addonsClassName:
|
|
2190
|
+
addonsClassName: _,
|
|
2197
2191
|
addonClassName: k,
|
|
2198
2192
|
billDetails: y,
|
|
2199
2193
|
faq: N,
|
|
2200
2194
|
checkout: S,
|
|
2201
2195
|
className: h,
|
|
2202
2196
|
children: O,
|
|
2203
|
-
...
|
|
2197
|
+
...V
|
|
2204
2198
|
}) => {
|
|
2205
|
-
const { headerTitle: B, addonsTitle: Y, addonsDescription:
|
|
2206
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2199
|
+
const { headerTitle: B, addonsTitle: Y, addonsDescription: re, checkoutProceedLabel: I, checkoutRitualSingular: H, checkoutRitualPlural: K } = _e(t), { price: M, ritualCount: U, ...ae } = S ?? {};
|
|
2200
|
+
return /* @__PURE__ */ e.jsxs("div", { className: o("flex min-h-screen flex-col bg-white", h), ...V, children: [
|
|
2207
2201
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
2208
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2202
|
+
/* @__PURE__ */ e.jsxs("div", { className: o("flex items-center gap-3 px-4 py-3", n), children: [
|
|
2209
2203
|
r && /* @__PURE__ */ e.jsx(
|
|
2210
2204
|
"button",
|
|
2211
2205
|
{
|
|
2212
2206
|
type: "button",
|
|
2213
2207
|
onClick: r,
|
|
2214
2208
|
"aria-label": s,
|
|
2215
|
-
className:
|
|
2209
|
+
className: o(
|
|
2216
2210
|
"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",
|
|
2217
2211
|
i
|
|
2218
2212
|
),
|
|
2219
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2213
|
+
children: /* @__PURE__ */ e.jsx(Ue, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
2220
2214
|
}
|
|
2221
2215
|
),
|
|
2222
|
-
/* @__PURE__ */ e.jsx("h1", { className:
|
|
2216
|
+
/* @__PURE__ */ e.jsx("h1", { className: o("text-lg font-bold text-[#1d2125]", c), children: B })
|
|
2223
2217
|
] }),
|
|
2224
|
-
u && /* @__PURE__ */ e.jsx(
|
|
2225
|
-
f && f.length > 0 && /* @__PURE__ */ e.jsx("div", { className:
|
|
2226
|
-
({ id: Z, className: J, isMandapCharge: X, ...
|
|
2227
|
-
|
|
2218
|
+
u && /* @__PURE__ */ e.jsx(vr, { ...u }),
|
|
2219
|
+
f && f.length > 0 && /* @__PURE__ */ e.jsx("div", { className: o("flex flex-col gap-3 bg-white px-4 py-4", x), children: f.map(
|
|
2220
|
+
({ id: Z, className: J, isMandapCharge: X, ...se }) => X ? /* @__PURE__ */ e.jsx(
|
|
2221
|
+
er,
|
|
2228
2222
|
{
|
|
2229
2223
|
locale: t,
|
|
2230
|
-
className:
|
|
2231
|
-
...
|
|
2224
|
+
className: o(b, J),
|
|
2225
|
+
...se
|
|
2232
2226
|
},
|
|
2233
2227
|
Z
|
|
2234
2228
|
) : /* @__PURE__ */ e.jsx(
|
|
2235
|
-
|
|
2229
|
+
Mt,
|
|
2236
2230
|
{
|
|
2237
|
-
className:
|
|
2238
|
-
...
|
|
2231
|
+
className: o(b, J),
|
|
2232
|
+
...se
|
|
2239
2233
|
},
|
|
2240
2234
|
Z
|
|
2241
2235
|
)
|
|
2242
2236
|
) }),
|
|
2243
|
-
p && p.length > 0 && /* @__PURE__ */ e.jsxs("div", { className:
|
|
2237
|
+
p && p.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: o("flex flex-col gap-4 bg-gray-50 px-4 py-6", d), children: [
|
|
2244
2238
|
/* @__PURE__ */ e.jsxs("div", { className: v, children: [
|
|
2245
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
2246
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2239
|
+
/* @__PURE__ */ e.jsx("h2", { className: o("text-base font-bold text-gray-700", g), children: Y }),
|
|
2240
|
+
/* @__PURE__ */ e.jsx("p", { className: o("mt-1 text-sm text-gray-500", j), children: re })
|
|
2247
2241
|
] }),
|
|
2248
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2242
|
+
/* @__PURE__ */ e.jsx("div", { className: o("flex flex-col gap-4", _), children: p.map(({ id: Z, className: J, ...X }) => /* @__PURE__ */ e.jsx(fr, { className: o(k, J), ...X }, Z)) })
|
|
2249
2243
|
] }),
|
|
2250
|
-
y && /* @__PURE__ */ e.jsx(
|
|
2244
|
+
y && /* @__PURE__ */ e.jsx(yr, { ...y, locale: t }),
|
|
2251
2245
|
N && /* @__PURE__ */ e.jsx(Ha, { ...N }),
|
|
2252
2246
|
O
|
|
2253
2247
|
] }),
|
|
2254
2248
|
S && /* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0", children: /* @__PURE__ */ e.jsx(
|
|
2255
|
-
|
|
2249
|
+
Ge,
|
|
2256
2250
|
{
|
|
2257
|
-
...
|
|
2251
|
+
...ae,
|
|
2258
2252
|
locale: t,
|
|
2259
2253
|
amount: M,
|
|
2260
|
-
subtitle: `${U} ${U === 1 ?
|
|
2254
|
+
subtitle: `${U} ${U === 1 ? H : K}`,
|
|
2261
2255
|
proceedLabel: I
|
|
2262
2256
|
}
|
|
2263
2257
|
) })
|
|
2264
2258
|
] });
|
|
2265
|
-
},
|
|
2259
|
+
}, le = L.forwardRef(
|
|
2266
2260
|
({
|
|
2267
2261
|
label: t,
|
|
2268
2262
|
value: r,
|
|
2269
2263
|
onChange: s,
|
|
2270
2264
|
prefix: n,
|
|
2271
2265
|
showCharCount: i = !1,
|
|
2272
|
-
supportingText:
|
|
2266
|
+
supportingText: c,
|
|
2273
2267
|
error: u = !1,
|
|
2274
2268
|
className: f,
|
|
2275
2269
|
containerClassName: x,
|
|
@@ -2278,14 +2272,14 @@ const tr = [
|
|
|
2278
2272
|
id: d,
|
|
2279
2273
|
...v
|
|
2280
2274
|
}, g) => {
|
|
2281
|
-
const j =
|
|
2282
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2283
|
-
t && /* @__PURE__ */ e.jsx("label", { htmlFor:
|
|
2275
|
+
const j = L.useId(), _ = d ?? j, k = c ?? (i ? `${r.length}${p ? `/${p}` : ""}` : void 0);
|
|
2276
|
+
return /* @__PURE__ */ e.jsxs("div", { className: o("flex w-full flex-col gap-2", x), children: [
|
|
2277
|
+
t && /* @__PURE__ */ e.jsx("label", { htmlFor: _, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: t }),
|
|
2284
2278
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
2285
2279
|
/* @__PURE__ */ e.jsxs(
|
|
2286
2280
|
"div",
|
|
2287
2281
|
{
|
|
2288
|
-
className:
|
|
2282
|
+
className: o(
|
|
2289
2283
|
"flex w-full items-center gap-1.5 rounded-lg border bg-white p-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",
|
|
2290
2284
|
u ? "border-[#ef4444]" : "border-[#d1d5db]",
|
|
2291
2285
|
b
|
|
@@ -2296,12 +2290,12 @@ const tr = [
|
|
|
2296
2290
|
"input",
|
|
2297
2291
|
{
|
|
2298
2292
|
ref: g,
|
|
2299
|
-
id:
|
|
2293
|
+
id: _,
|
|
2300
2294
|
value: r,
|
|
2301
2295
|
maxLength: p,
|
|
2302
2296
|
onChange: (y) => s(y.target.value),
|
|
2303
2297
|
"aria-invalid": u,
|
|
2304
|
-
className:
|
|
2298
|
+
className: o(
|
|
2305
2299
|
"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",
|
|
2306
2300
|
f
|
|
2307
2301
|
),
|
|
@@ -2316,14 +2310,14 @@ const tr = [
|
|
|
2316
2310
|
] });
|
|
2317
2311
|
}
|
|
2318
2312
|
);
|
|
2319
|
-
|
|
2320
|
-
function
|
|
2313
|
+
le.displayName = "TextField";
|
|
2314
|
+
function os({
|
|
2321
2315
|
isOpen: t,
|
|
2322
2316
|
onClose: r,
|
|
2323
2317
|
avatarUrl: s,
|
|
2324
2318
|
heading: n,
|
|
2325
2319
|
tithis: i,
|
|
2326
|
-
confirmLabel:
|
|
2320
|
+
confirmLabel: c,
|
|
2327
2321
|
onConfirm: u,
|
|
2328
2322
|
initialTithi: f
|
|
2329
2323
|
}) {
|
|
@@ -2355,7 +2349,7 @@ function Kr({
|
|
|
2355
2349
|
className: "w-full rounded-xl",
|
|
2356
2350
|
disabled: !x,
|
|
2357
2351
|
onClick: p,
|
|
2358
|
-
children:
|
|
2352
|
+
children: c
|
|
2359
2353
|
}
|
|
2360
2354
|
)
|
|
2361
2355
|
] }),
|
|
@@ -2375,15 +2369,15 @@ function Kr({
|
|
|
2375
2369
|
}
|
|
2376
2370
|
);
|
|
2377
2371
|
}
|
|
2378
|
-
const
|
|
2379
|
-
function
|
|
2380
|
-
const n =
|
|
2381
|
-
|
|
2382
|
-
i.current || !n.current || (i.current = !0, n.current.scrollTop = r *
|
|
2372
|
+
const we = 48;
|
|
2373
|
+
function Fe({ options: t, selectedIndex: r, onChange: s }) {
|
|
2374
|
+
const n = L.useRef(null), i = L.useRef(!1);
|
|
2375
|
+
L.useEffect(() => {
|
|
2376
|
+
i.current || !n.current || (i.current = !0, n.current.scrollTop = r * we);
|
|
2383
2377
|
}, []);
|
|
2384
|
-
const
|
|
2378
|
+
const c = () => {
|
|
2385
2379
|
if (!n.current) return;
|
|
2386
|
-
const u = Math.round(n.current.scrollTop /
|
|
2380
|
+
const u = Math.round(n.current.scrollTop / we), f = Math.max(0, Math.min(t.length - 1, u));
|
|
2387
2381
|
f !== r && s(f);
|
|
2388
2382
|
};
|
|
2389
2383
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative h-36 w-full", children: [
|
|
@@ -2391,11 +2385,11 @@ function Ae({ options: t, selectedIndex: r, onChange: s }) {
|
|
|
2391
2385
|
"div",
|
|
2392
2386
|
{
|
|
2393
2387
|
ref: n,
|
|
2394
|
-
onScroll:
|
|
2388
|
+
onScroll: c,
|
|
2395
2389
|
className: "h-36 snap-y snap-mandatory overflow-y-auto [&::-webkit-scrollbar]:hidden",
|
|
2396
2390
|
style: { scrollbarWidth: "none" },
|
|
2397
2391
|
children: [
|
|
2398
|
-
/* @__PURE__ */ e.jsx("div", { style: { height:
|
|
2392
|
+
/* @__PURE__ */ e.jsx("div", { style: { height: we }, "aria-hidden": !0 }),
|
|
2399
2393
|
t.map((u, f) => /* @__PURE__ */ e.jsx(
|
|
2400
2394
|
"div",
|
|
2401
2395
|
{
|
|
@@ -2404,7 +2398,7 @@ function Ae({ options: t, selectedIndex: r, onChange: s }) {
|
|
|
2404
2398
|
},
|
|
2405
2399
|
u
|
|
2406
2400
|
)),
|
|
2407
|
-
/* @__PURE__ */ e.jsx("div", { style: { height:
|
|
2401
|
+
/* @__PURE__ */ e.jsx("div", { style: { height: we }, "aria-hidden": !0 })
|
|
2408
2402
|
]
|
|
2409
2403
|
}
|
|
2410
2404
|
),
|
|
@@ -2412,27 +2406,27 @@ function Ae({ options: t, selectedIndex: r, onChange: s }) {
|
|
|
2412
2406
|
/* @__PURE__ */ e.jsx("div", { className: "pointer-events-none absolute inset-x-0 top-24 h-px bg-[#e5e7eb]" })
|
|
2413
2407
|
] });
|
|
2414
2408
|
}
|
|
2415
|
-
const
|
|
2416
|
-
function
|
|
2409
|
+
const Be = Array.from({ length: 31 }, (t, r) => r + 1);
|
|
2410
|
+
function cs({
|
|
2417
2411
|
isOpen: t,
|
|
2418
2412
|
onClose: r,
|
|
2419
2413
|
avatarUrl: s,
|
|
2420
2414
|
heading: n,
|
|
2421
2415
|
monthLabels: i,
|
|
2422
|
-
confirmLabel:
|
|
2416
|
+
confirmLabel: c,
|
|
2423
2417
|
onConfirm: u,
|
|
2424
2418
|
timezoneLabel: f,
|
|
2425
2419
|
initialDate: x,
|
|
2426
2420
|
minYear: b,
|
|
2427
2421
|
maxYear: p = (/* @__PURE__ */ new Date()).getFullYear()
|
|
2428
2422
|
}) {
|
|
2429
|
-
const d =
|
|
2423
|
+
const d = ga(() => {
|
|
2430
2424
|
const S = b ?? p - 120;
|
|
2431
2425
|
return Array.from({ length: p - S + 1 }, (h, O) => S + O);
|
|
2432
|
-
}, [b, p]), [v, g] = $(() => x ? x.day - 1 : Math.floor(
|
|
2426
|
+
}, [b, p]), [v, g] = $(() => x ? x.day - 1 : Math.floor(Be.length / 2)), [j, _] = $(() => x ? x.month - 1 : 0), [k, y] = $(
|
|
2433
2427
|
() => x ? Math.max(0, d.indexOf(x.year)) : Math.floor(d.length / 2)
|
|
2434
2428
|
), N = () => {
|
|
2435
|
-
u({ day:
|
|
2429
|
+
u({ day: Be[v], month: j + 1, year: d[k] });
|
|
2436
2430
|
};
|
|
2437
2431
|
return /* @__PURE__ */ e.jsx(
|
|
2438
2432
|
Le,
|
|
@@ -2453,45 +2447,45 @@ function Zr({
|
|
|
2453
2447
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[rgba(28,27,27,0.05)]" }),
|
|
2454
2448
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-6", children: [
|
|
2455
2449
|
f && /* @__PURE__ */ e.jsx("p", { className: "shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]", children: f }),
|
|
2456
|
-
/* @__PURE__ */ e.jsx(q, { variant: "primary", size: "md", className: "flex-1 rounded-xl", onClick: N, children:
|
|
2450
|
+
/* @__PURE__ */ e.jsx(q, { variant: "primary", size: "md", className: "flex-1 rounded-xl", onClick: N, children: c })
|
|
2457
2451
|
] })
|
|
2458
2452
|
] }),
|
|
2459
2453
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-center gap-11 px-5 py-4", children: [
|
|
2460
|
-
/* @__PURE__ */ e.jsx(
|
|
2461
|
-
/* @__PURE__ */ e.jsx(
|
|
2462
|
-
/* @__PURE__ */ e.jsx(
|
|
2454
|
+
/* @__PURE__ */ e.jsx(Fe, { options: Be.map(String), selectedIndex: v, onChange: g }),
|
|
2455
|
+
/* @__PURE__ */ e.jsx(Fe, { options: i, selectedIndex: j, onChange: _ }),
|
|
2456
|
+
/* @__PURE__ */ e.jsx(Fe, { options: d.map(String), selectedIndex: k, onChange: y })
|
|
2463
2457
|
] })
|
|
2464
2458
|
}
|
|
2465
2459
|
);
|
|
2466
2460
|
}
|
|
2467
|
-
function
|
|
2461
|
+
function ds({
|
|
2468
2462
|
isOpen: t,
|
|
2469
2463
|
onClose: r,
|
|
2470
2464
|
heading: s,
|
|
2471
2465
|
subtext: n,
|
|
2472
2466
|
confirmLabel: i,
|
|
2473
|
-
onConfirm:
|
|
2467
|
+
onConfirm: c,
|
|
2474
2468
|
initialValue: u = "",
|
|
2475
|
-
countries: f =
|
|
2469
|
+
countries: f = ma,
|
|
2476
2470
|
initialCountryIso: x = "IN"
|
|
2477
2471
|
}) {
|
|
2478
2472
|
const [b, p] = $(
|
|
2479
2473
|
() => f.find((h) => h.iso === x) ?? f[0]
|
|
2480
|
-
), [d, v] = $(u), [g, j] = $(!1),
|
|
2481
|
-
|
|
2474
|
+
), [d, v] = $(u), [g, j] = $(!1), _ = Rt(null);
|
|
2475
|
+
Ot(() => {
|
|
2482
2476
|
if (!g) return;
|
|
2483
2477
|
const h = (O) => {
|
|
2484
|
-
|
|
2478
|
+
_.current && !_.current.contains(O.target) && j(!1);
|
|
2485
2479
|
};
|
|
2486
2480
|
return document.addEventListener("mousedown", h), () => document.removeEventListener("mousedown", h);
|
|
2487
2481
|
}, [g]);
|
|
2488
|
-
const k =
|
|
2489
|
-
p(h), j(!1), v((O) => O.slice(0,
|
|
2482
|
+
const k = Me(b.code), y = Tt(d, b.code).isValid && d.length > 0, N = (h) => {
|
|
2483
|
+
p(h), j(!1), v((O) => O.slice(0, Me(h.code)));
|
|
2490
2484
|
}, S = () => {
|
|
2491
|
-
y &&
|
|
2485
|
+
y && c(d, b);
|
|
2492
2486
|
};
|
|
2493
2487
|
return /* @__PURE__ */ e.jsx(
|
|
2494
|
-
|
|
2488
|
+
We,
|
|
2495
2489
|
{
|
|
2496
2490
|
isOpen: t,
|
|
2497
2491
|
onClose: r,
|
|
@@ -2514,7 +2508,7 @@ function Jr({
|
|
|
2514
2508
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
|
|
2515
2509
|
n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
|
|
2516
2510
|
/* @__PURE__ */ e.jsxs("div", { className: "mt-2 flex w-full items-start gap-2", children: [
|
|
2517
|
-
/* @__PURE__ */ e.jsxs("div", { ref:
|
|
2511
|
+
/* @__PURE__ */ e.jsxs("div", { ref: _, className: "relative shrink-0", children: [
|
|
2518
2512
|
/* @__PURE__ */ e.jsxs(
|
|
2519
2513
|
"button",
|
|
2520
2514
|
{
|
|
@@ -2524,9 +2518,9 @@ function Jr({
|
|
|
2524
2518
|
"aria-haspopup": "listbox",
|
|
2525
2519
|
className: "flex h-14 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2",
|
|
2526
2520
|
children: [
|
|
2527
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children:
|
|
2521
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: $e(b.iso) }),
|
|
2528
2522
|
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: b.code }),
|
|
2529
|
-
/* @__PURE__ */ e.jsx(
|
|
2523
|
+
/* @__PURE__ */ e.jsx(ce, { size: 24, className: "text-[#1d2125]", "aria-hidden": !0 })
|
|
2530
2524
|
]
|
|
2531
2525
|
}
|
|
2532
2526
|
),
|
|
@@ -2544,7 +2538,7 @@ function Jr({
|
|
|
2544
2538
|
onClick: () => N(h),
|
|
2545
2539
|
className: `flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${h.iso === b.iso ? "bg-[#fff9e9]" : ""}`,
|
|
2546
2540
|
children: [
|
|
2547
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children:
|
|
2541
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[16px]", "aria-hidden": !0, children: $e(h.iso) }),
|
|
2548
2542
|
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] font-medium text-[#1d2125]", children: h.code }),
|
|
2549
2543
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[12px] text-[#6b7280]", children: h.name })
|
|
2550
2544
|
]
|
|
@@ -2555,7 +2549,7 @@ function Jr({
|
|
|
2555
2549
|
)
|
|
2556
2550
|
] }),
|
|
2557
2551
|
/* @__PURE__ */ e.jsx(
|
|
2558
|
-
|
|
2552
|
+
le,
|
|
2559
2553
|
{
|
|
2560
2554
|
type: "tel",
|
|
2561
2555
|
inputMode: "numeric",
|
|
@@ -2572,19 +2566,19 @@ function Jr({
|
|
|
2572
2566
|
}
|
|
2573
2567
|
);
|
|
2574
2568
|
}
|
|
2575
|
-
const
|
|
2576
|
-
function
|
|
2569
|
+
const Nr = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
2570
|
+
function us({
|
|
2577
2571
|
isOpen: t,
|
|
2578
2572
|
onClose: r,
|
|
2579
2573
|
heading: s,
|
|
2580
2574
|
subtext: n,
|
|
2581
2575
|
confirmLabel: i,
|
|
2582
|
-
onConfirm:
|
|
2576
|
+
onConfirm: c,
|
|
2583
2577
|
initialValue: u = "",
|
|
2584
2578
|
errorText: f = "Please enter a valid email"
|
|
2585
2579
|
}) {
|
|
2586
|
-
const [x, b] = $(u), [p, d] = $(!1), v = x.trim(), g =
|
|
2587
|
-
g &&
|
|
2580
|
+
const [x, b] = $(u), [p, d] = $(!1), v = x.trim(), g = Nr.test(v), j = p && v.length > 0 && !g, _ = () => {
|
|
2581
|
+
g && c(v);
|
|
2588
2582
|
};
|
|
2589
2583
|
return /* @__PURE__ */ e.jsx(
|
|
2590
2584
|
Le,
|
|
@@ -2601,7 +2595,7 @@ function Xr({
|
|
|
2601
2595
|
className: "w-full rounded-xl",
|
|
2602
2596
|
rightIcon: /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
2603
2597
|
disabled: !g,
|
|
2604
|
-
onClick:
|
|
2598
|
+
onClick: _,
|
|
2605
2599
|
children: i
|
|
2606
2600
|
}
|
|
2607
2601
|
) }),
|
|
@@ -2609,7 +2603,7 @@ function Xr({
|
|
|
2609
2603
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#232323]", children: s }),
|
|
2610
2604
|
n && /* @__PURE__ */ e.jsx("p", { className: "text-[12px] leading-4 font-medium text-[#6b7280]", children: n }),
|
|
2611
2605
|
/* @__PURE__ */ e.jsx(
|
|
2612
|
-
|
|
2606
|
+
le,
|
|
2613
2607
|
{
|
|
2614
2608
|
type: "email",
|
|
2615
2609
|
inputMode: "email",
|
|
@@ -2629,20 +2623,20 @@ function Xr({
|
|
|
2629
2623
|
}
|
|
2630
2624
|
);
|
|
2631
2625
|
}
|
|
2632
|
-
function
|
|
2626
|
+
function wr(t) {
|
|
2633
2627
|
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);
|
|
2634
2628
|
}
|
|
2635
|
-
function
|
|
2629
|
+
function kr(t) {
|
|
2636
2630
|
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);
|
|
2637
2631
|
}
|
|
2638
|
-
const
|
|
2639
|
-
function
|
|
2632
|
+
const Cr = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
2633
|
+
function xs({
|
|
2640
2634
|
chipNumber: t,
|
|
2641
2635
|
chipLabel: r,
|
|
2642
2636
|
isAdded: s,
|
|
2643
2637
|
onEditClick: n,
|
|
2644
2638
|
editButtonAriaLabel: i = "Edit",
|
|
2645
|
-
onExpandClick:
|
|
2639
|
+
onExpandClick: c,
|
|
2646
2640
|
expandButtonAriaLabel: u = "Expand",
|
|
2647
2641
|
imageUrl: f,
|
|
2648
2642
|
imageAlt: x,
|
|
@@ -2652,17 +2646,17 @@ function Qr({
|
|
|
2652
2646
|
title: v,
|
|
2653
2647
|
description: g,
|
|
2654
2648
|
learnMoreLabel: j,
|
|
2655
|
-
onLearnMoreClick:
|
|
2649
|
+
onLearnMoreClick: _,
|
|
2656
2650
|
learnMoreHref: k,
|
|
2657
2651
|
dateLabel: y,
|
|
2658
2652
|
locationLabel: N,
|
|
2659
2653
|
priceInfoLabel: S,
|
|
2660
2654
|
onPriceInfoClick: h,
|
|
2661
2655
|
price: O,
|
|
2662
|
-
cta:
|
|
2656
|
+
cta: V,
|
|
2663
2657
|
className: B = ""
|
|
2664
2658
|
}) {
|
|
2665
|
-
const [Y,
|
|
2659
|
+
const [Y, re] = $(!1), I = s || Y, H = I && (p != null || d != null), K = I && (y != null || N != null);
|
|
2666
2660
|
return /* @__PURE__ */ e.jsxs(
|
|
2667
2661
|
"div",
|
|
2668
2662
|
{
|
|
@@ -2690,7 +2684,7 @@ function Qr({
|
|
|
2690
2684
|
className: "flex size-8 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white p-0",
|
|
2691
2685
|
onClick: n,
|
|
2692
2686
|
"aria-label": i,
|
|
2693
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2687
|
+
children: /* @__PURE__ */ e.jsx(wr, { "aria-hidden": !0, className: "size-[18px] text-[#1D2125]" })
|
|
2694
2688
|
}
|
|
2695
2689
|
),
|
|
2696
2690
|
!s && /* @__PURE__ */ e.jsx(
|
|
@@ -2699,12 +2693,12 @@ function Qr({
|
|
|
2699
2693
|
type: "button",
|
|
2700
2694
|
className: "flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2701
2695
|
onClick: () => {
|
|
2702
|
-
|
|
2696
|
+
re((M) => !M), c?.();
|
|
2703
2697
|
},
|
|
2704
2698
|
"aria-label": u,
|
|
2705
2699
|
"aria-expanded": Y,
|
|
2706
2700
|
children: /* @__PURE__ */ e.jsx(
|
|
2707
|
-
|
|
2701
|
+
kr,
|
|
2708
2702
|
{
|
|
2709
2703
|
"aria-hidden": !0,
|
|
2710
2704
|
className: `size-8 text-[#1D2125] ${Y ? "" : "-scale-y-100"}`
|
|
@@ -2715,7 +2709,7 @@ function Qr({
|
|
|
2715
2709
|
] })
|
|
2716
2710
|
] }),
|
|
2717
2711
|
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
|
-
|
|
2712
|
+
H && /* @__PURE__ */ e.jsxs(
|
|
2719
2713
|
"div",
|
|
2720
2714
|
{
|
|
2721
2715
|
className: "-mt-3 flex w-full items-center gap-2.5 rounded-b-xl px-4 py-1",
|
|
@@ -2737,10 +2731,10 @@ function Qr({
|
|
|
2737
2731
|
{
|
|
2738
2732
|
href: k,
|
|
2739
2733
|
className: "inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",
|
|
2740
|
-
onClick:
|
|
2734
|
+
onClick: _,
|
|
2741
2735
|
children: [
|
|
2742
2736
|
j,
|
|
2743
|
-
/* @__PURE__ */ e.jsx(
|
|
2737
|
+
/* @__PURE__ */ e.jsx($a, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
|
|
2744
2738
|
]
|
|
2745
2739
|
}
|
|
2746
2740
|
),
|
|
@@ -2752,7 +2746,7 @@ function Qr({
|
|
|
2752
2746
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: y })
|
|
2753
2747
|
] }),
|
|
2754
2748
|
N != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2755
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2749
|
+
/* @__PURE__ */ e.jsx("img", { src: Cr, alt: "", "aria-hidden": !0, className: "size-3.5 shrink-0" }),
|
|
2756
2750
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: N })
|
|
2757
2751
|
] })
|
|
2758
2752
|
] })
|
|
@@ -2769,38 +2763,38 @@ function Qr({
|
|
|
2769
2763
|
className: "flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2770
2764
|
onClick: h,
|
|
2771
2765
|
"aria-label": "More info",
|
|
2772
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2766
|
+
children: /* @__PURE__ */ e.jsx(fe, { "aria-hidden": !0, className: "size-4 text-[#1D2125]" })
|
|
2773
2767
|
}
|
|
2774
2768
|
)
|
|
2775
2769
|
] }),
|
|
2776
2770
|
/* @__PURE__ */ e.jsx("p", { className: "whitespace-nowrap text-lg font-bold leading-6 text-[#159169]", children: O })
|
|
2777
2771
|
] }),
|
|
2778
|
-
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children:
|
|
2772
|
+
/* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: V })
|
|
2779
2773
|
] })
|
|
2780
2774
|
] })
|
|
2781
2775
|
]
|
|
2782
2776
|
}
|
|
2783
2777
|
);
|
|
2784
2778
|
}
|
|
2785
|
-
const
|
|
2779
|
+
const _r = {
|
|
2786
2780
|
primary: "border border-transparent pl-3 pr-4 text-white",
|
|
2787
2781
|
secondary: "border border-[#159169] px-3 text-[#159169]",
|
|
2788
2782
|
accent: "border border-transparent px-4 text-white"
|
|
2789
|
-
},
|
|
2783
|
+
}, Lr = {
|
|
2790
2784
|
md: "h-10 gap-2 rounded-lg text-xs font-semibold leading-4",
|
|
2791
2785
|
lg: "h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"
|
|
2792
|
-
},
|
|
2786
|
+
}, Pr = {
|
|
2793
2787
|
primary: { backgroundImage: "linear-gradient(to bottom, #5eb98e, #159169)" },
|
|
2794
2788
|
secondary: { backgroundImage: "linear-gradient(to bottom, #ffffff, #edf5f2)" },
|
|
2795
2789
|
accent: { backgroundImage: "linear-gradient(to bottom, #f97e4e, #f75e22)" }
|
|
2796
2790
|
};
|
|
2797
|
-
function
|
|
2791
|
+
function fs({
|
|
2798
2792
|
variant: t = "primary",
|
|
2799
2793
|
size: r = "md",
|
|
2800
2794
|
leftIcon: s,
|
|
2801
2795
|
children: n,
|
|
2802
2796
|
className: i = "",
|
|
2803
|
-
style:
|
|
2797
|
+
style: c,
|
|
2804
2798
|
type: u = "button",
|
|
2805
2799
|
...f
|
|
2806
2800
|
}) {
|
|
@@ -2808,8 +2802,8 @@ function es({
|
|
|
2808
2802
|
"button",
|
|
2809
2803
|
{
|
|
2810
2804
|
type: u,
|
|
2811
|
-
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${
|
|
2812
|
-
style: { ...
|
|
2805
|
+
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${Lr[r]} ${_r[t]} ${i}`,
|
|
2806
|
+
style: { ...Pr[t], ...c },
|
|
2813
2807
|
...f,
|
|
2814
2808
|
children: [
|
|
2815
2809
|
s,
|
|
@@ -2818,7 +2812,7 @@ function es({
|
|
|
2818
2812
|
}
|
|
2819
2813
|
);
|
|
2820
2814
|
}
|
|
2821
|
-
function
|
|
2815
|
+
function ps({ className: t = "size-5" }) {
|
|
2822
2816
|
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(
|
|
2823
2817
|
"path",
|
|
2824
2818
|
{
|
|
@@ -2827,7 +2821,7 @@ function ts({ className: t = "size-5" }) {
|
|
|
2827
2821
|
}
|
|
2828
2822
|
) });
|
|
2829
2823
|
}
|
|
2830
|
-
function
|
|
2824
|
+
function hs({ className: t = "size-5" }) {
|
|
2831
2825
|
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(
|
|
2832
2826
|
"path",
|
|
2833
2827
|
{
|
|
@@ -2836,7 +2830,7 @@ function as({ className: t = "size-5" }) {
|
|
|
2836
2830
|
}
|
|
2837
2831
|
) });
|
|
2838
2832
|
}
|
|
2839
|
-
const
|
|
2833
|
+
const wt = {
|
|
2840
2834
|
en: {
|
|
2841
2835
|
heading: "Check the details to book your puja procedure",
|
|
2842
2836
|
subtext: "These names and gotra will be taken by the priest",
|
|
@@ -2867,33 +2861,33 @@ const Nt = {
|
|
|
2867
2861
|
editDetailsLabel: "మార్చండి",
|
|
2868
2862
|
payButtonTemplate: "{amount} చెల్లించండి"
|
|
2869
2863
|
}
|
|
2870
|
-
},
|
|
2871
|
-
function
|
|
2864
|
+
}, Er = (t) => wt[t] ?? wt.en;
|
|
2865
|
+
function kt({ children: t }) {
|
|
2872
2866
|
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 });
|
|
2873
2867
|
}
|
|
2874
|
-
function
|
|
2868
|
+
function Sr({
|
|
2875
2869
|
isOpen: t,
|
|
2876
2870
|
onClose: r,
|
|
2877
2871
|
locale: s = "en",
|
|
2878
2872
|
ancestors: n,
|
|
2879
2873
|
kartaNames: i,
|
|
2880
|
-
gotra:
|
|
2874
|
+
gotra: c,
|
|
2881
2875
|
whatsappNumber: u,
|
|
2882
2876
|
amount: f,
|
|
2883
2877
|
onEditDetailsClick: x,
|
|
2884
2878
|
onProceedPayment: b,
|
|
2885
2879
|
className: p
|
|
2886
2880
|
}) {
|
|
2887
|
-
const d =
|
|
2881
|
+
const d = Er(s), v = d.payButtonTemplate.replace("{amount}", f);
|
|
2888
2882
|
return /* @__PURE__ */ e.jsx(
|
|
2889
|
-
|
|
2883
|
+
We,
|
|
2890
2884
|
{
|
|
2891
2885
|
isOpen: t,
|
|
2892
2886
|
onClose: r,
|
|
2893
2887
|
showDragHandle: !1,
|
|
2894
2888
|
closeButtonOutside: !0,
|
|
2895
2889
|
ariaLabel: d.heading,
|
|
2896
|
-
className:
|
|
2890
|
+
className: o("rounded-t-[20px] bg-[#f7f8f9]", p),
|
|
2897
2891
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-center gap-0.5 px-4 pt-4", children: [
|
|
2898
2892
|
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[18px] leading-6 font-bold text-[#22272b]", children: d.heading }),
|
|
2899
2893
|
/* @__PURE__ */ e.jsx("p", { className: "text-center text-[14px] leading-5 font-normal text-[#6b7280]", children: d.subtext })
|
|
@@ -2923,7 +2917,7 @@ function br({
|
|
|
2923
2917
|
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: [
|
|
2924
2918
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
2925
2919
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: d.ancestorsLabel }),
|
|
2926
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((g) => /* @__PURE__ */ e.jsxs(
|
|
2920
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((g) => /* @__PURE__ */ e.jsxs(kt, { children: [
|
|
2927
2921
|
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: g.value }),
|
|
2928
2922
|
g.label && /* @__PURE__ */ e.jsxs("span", { className: "text-[10px] leading-3.5 font-medium text-[#6b7280]", children: [
|
|
2929
2923
|
"(",
|
|
@@ -2935,7 +2929,7 @@ function br({
|
|
|
2935
2929
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
2936
2930
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
2937
2931
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: d.performerLabel }),
|
|
2938
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.map((g, j) => /* @__PURE__ */ e.jsx(
|
|
2932
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.map((g, j) => /* @__PURE__ */ e.jsx(kt, { children: /* @__PURE__ */ e.jsxs("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: [
|
|
2939
2933
|
j + 1,
|
|
2940
2934
|
". ",
|
|
2941
2935
|
g
|
|
@@ -2945,7 +2939,7 @@ function br({
|
|
|
2945
2939
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 px-3", children: [
|
|
2946
2940
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
2947
2941
|
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: d.gotraLabel }),
|
|
2948
|
-
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children:
|
|
2942
|
+
/* @__PURE__ */ e.jsx("span", { className: "shrink-0 text-[12px] leading-4 font-semibold text-[#374151]", children: c })
|
|
2949
2943
|
] }),
|
|
2950
2944
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
2951
2945
|
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-[12px] leading-4 font-semibold text-[#374151]", children: d.whatsappLabel }),
|
|
@@ -2956,7 +2950,7 @@ function br({
|
|
|
2956
2950
|
}
|
|
2957
2951
|
);
|
|
2958
2952
|
}
|
|
2959
|
-
const
|
|
2953
|
+
const Ct = {
|
|
2960
2954
|
en: {
|
|
2961
2955
|
heading: "I do not know my Lineage(Gotra), what should I do?",
|
|
2962
2956
|
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.",
|
|
@@ -2975,18 +2969,18 @@ const kt = {
|
|
|
2975
2969
|
okayLabel: "సరే",
|
|
2976
2970
|
closeButtonAriaLabel: "మూసివేయండి"
|
|
2977
2971
|
}
|
|
2978
|
-
}, Ht = (t) =>
|
|
2979
|
-
function
|
|
2972
|
+
}, Ht = (t) => Ct[t] ?? Ct.en;
|
|
2973
|
+
function Tr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
2980
2974
|
const i = Ht(s);
|
|
2981
2975
|
return /* @__PURE__ */ e.jsx(
|
|
2982
|
-
|
|
2976
|
+
We,
|
|
2983
2977
|
{
|
|
2984
2978
|
isOpen: t,
|
|
2985
2979
|
onClose: r,
|
|
2986
2980
|
showCloseButton: !1,
|
|
2987
2981
|
showDragHandle: !1,
|
|
2988
2982
|
ariaLabel: i.heading,
|
|
2989
|
-
className:
|
|
2983
|
+
className: o("rounded-t-[20px]", n),
|
|
2990
2984
|
header: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-3 px-4 pt-5 pb-3", children: [
|
|
2991
2985
|
/* @__PURE__ */ e.jsx("p", { className: "flex-1 text-[18px] leading-6 font-bold text-[#22272b]", children: i.heading }),
|
|
2992
2986
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2996,7 +2990,7 @@ function gr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
|
2996
2990
|
onClick: r,
|
|
2997
2991
|
"aria-label": i.closeButtonAriaLabel,
|
|
2998
2992
|
className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#22272b]",
|
|
2999
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2993
|
+
children: /* @__PURE__ */ e.jsx(Ba, { size: 24, "aria-hidden": !0 })
|
|
3000
2994
|
}
|
|
3001
2995
|
)
|
|
3002
2996
|
] }),
|
|
@@ -3014,7 +3008,7 @@ function gr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
|
3014
3008
|
}
|
|
3015
3009
|
);
|
|
3016
3010
|
}
|
|
3017
|
-
const
|
|
3011
|
+
const _t = {
|
|
3018
3012
|
en: {
|
|
3019
3013
|
topBarTitle: "Fill in necessary details for Puja",
|
|
3020
3014
|
backButtonAriaLabel: "Go back",
|
|
@@ -3096,25 +3090,25 @@ const Ct = {
|
|
|
3096
3090
|
proceedCtaLabel: "వివరాలు నమోదు చేయండి",
|
|
3097
3091
|
kashyapGotraLabel: "కశ్యప"
|
|
3098
3092
|
}
|
|
3099
|
-
},
|
|
3093
|
+
}, Rr = (t) => _t[t] ?? _t.en, Lt = {
|
|
3100
3094
|
en: ["1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", "10th"],
|
|
3101
3095
|
hi: ["पहले", "दूसरे", "तीसरे", "चौथे", "पांचवें", "छठे", "सातवें", "आठवें", "नौवें", "दसवें"],
|
|
3102
3096
|
te: ["1వ", "2వ", "3వ", "4వ", "5వ", "6వ", "7వ", "8వ", "9వ", "10వ"]
|
|
3103
|
-
},
|
|
3097
|
+
}, Or = {
|
|
3104
3098
|
en: "th",
|
|
3105
3099
|
hi: "वें",
|
|
3106
3100
|
te: "వ"
|
|
3107
|
-
},
|
|
3101
|
+
}, zr = (t, r) => {
|
|
3108
3102
|
const s = r in Lt ? r : "en";
|
|
3109
|
-
return Lt[s][t - 1] ?? `${t}${
|
|
3110
|
-
},
|
|
3111
|
-
function
|
|
3103
|
+
return Lt[s][t - 1] ?? `${t}${Or[s]}`;
|
|
3104
|
+
}, De = 40, Ie = "+91", Ar = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
3105
|
+
function ms({
|
|
3112
3106
|
locale: t = "en",
|
|
3113
3107
|
values: r,
|
|
3114
3108
|
onValuesChange: s,
|
|
3115
3109
|
isGlobal: n = !1,
|
|
3116
3110
|
gotraOptions: i = [],
|
|
3117
|
-
isSarvaPitru:
|
|
3111
|
+
isSarvaPitru: c = !1,
|
|
3118
3112
|
onBackClick: u,
|
|
3119
3113
|
amount: f,
|
|
3120
3114
|
ritualsCountLabel: x,
|
|
@@ -3124,33 +3118,33 @@ function rs({
|
|
|
3124
3118
|
proceedCtaLabel: v,
|
|
3125
3119
|
proceedButtonProps: g,
|
|
3126
3120
|
onProceedPayment: j,
|
|
3127
|
-
className:
|
|
3121
|
+
className: _
|
|
3128
3122
|
}) {
|
|
3129
|
-
const [k, y] = $(!1), [N, S] = $(!1), h =
|
|
3130
|
-
const D =
|
|
3123
|
+
const [k, y] = $(!1), [N, S] = $(!1), h = Rr(t), O = Ht(t), V = (C) => {
|
|
3124
|
+
const D = zr(C + 1, t);
|
|
3131
3125
|
return C === 0 ? `*${D} ${h.kartaNameLabel}` : `${D} ${h.kartaNameLabel} ${h.kartaNameOptionalSuffix}`;
|
|
3132
3126
|
}, B = (C) => s({ ...r, ...C }), Y = (C, D) => {
|
|
3133
3127
|
const Q = [...r.kartaNames];
|
|
3134
3128
|
Q[C] = D, B({ kartaNames: Q });
|
|
3135
|
-
},
|
|
3129
|
+
}, re = (C, D) => {
|
|
3136
3130
|
B({ ancestors: r.ancestors.map((Q) => Q.id === C ? { ...Q, value: D } : Q) });
|
|
3137
|
-
}, [I,
|
|
3138
|
-
|
|
3131
|
+
}, [I, H] = $(!1), K = Rt(null);
|
|
3132
|
+
Ot(() => {
|
|
3139
3133
|
if (!I) return;
|
|
3140
3134
|
const C = (D) => {
|
|
3141
|
-
K.current && !K.current.contains(D.target) &&
|
|
3135
|
+
K.current && !K.current.contains(D.target) && H(!1);
|
|
3142
3136
|
};
|
|
3143
3137
|
return document.addEventListener("mousedown", C), () => document.removeEventListener("mousedown", C);
|
|
3144
3138
|
}, [I]);
|
|
3145
3139
|
const M = i.filter(
|
|
3146
3140
|
(C) => C.toLowerCase().includes(r.gotra.trim().toLowerCase())
|
|
3147
3141
|
), U = (C) => {
|
|
3148
|
-
B({ gotra: C }),
|
|
3149
|
-
},
|
|
3142
|
+
B({ gotra: C }), H(!1);
|
|
3143
|
+
}, ae = () => {
|
|
3150
3144
|
const C = !r.isGotraUnknown;
|
|
3151
3145
|
B({ isGotraUnknown: C, gotra: C ? h.kashyapGotraLabel : r.gotra });
|
|
3152
|
-
}, Z = Ie
|
|
3153
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
3146
|
+
}, Z = Me(Ie), J = Tt(r.whatsappNumber, Ie).isValid, X = Ar.test(r.email), se = r.whatsappNumber.length > 0 && !J, pe = r.email.length > 0 && !X, he = (n ? X : r.whatsappNumber.trim().length > 0 && J) && r.kartaNames[0].trim().length > 0 && r.gotra.trim().length > 0 && r.ancestors.every((C) => C.value.trim().length > 0), me = d ?? he, be = r.gotra.trim().length > 0 ? r.gotra : h.kashyapGotraLabel, Ee = n ? r.email : r.whatsappNumber;
|
|
3147
|
+
return /* @__PURE__ */ e.jsxs("div", { className: o("flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]", _), children: [
|
|
3154
3148
|
/* @__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: [
|
|
3155
3149
|
/* @__PURE__ */ e.jsx(
|
|
3156
3150
|
"button",
|
|
@@ -3159,7 +3153,7 @@ function rs({
|
|
|
3159
3153
|
onClick: u,
|
|
3160
3154
|
"aria-label": h.backButtonAriaLabel,
|
|
3161
3155
|
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)]",
|
|
3162
|
-
children: /* @__PURE__ */ e.jsx(
|
|
3156
|
+
children: /* @__PURE__ */ e.jsx(Ue, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
3163
3157
|
}
|
|
3164
3158
|
),
|
|
3165
3159
|
/* @__PURE__ */ e.jsx("p", { className: "text-[18px] leading-5 font-bold text-[#1d2125]", children: h.topBarTitle })
|
|
@@ -3168,13 +3162,13 @@ function rs({
|
|
|
3168
3162
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
3169
3163
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-semibold text-[#1d2125]", children: n ? h.emailLabel : h.whatsappNumberLabel }),
|
|
3170
3164
|
n ? /* @__PURE__ */ e.jsx(
|
|
3171
|
-
|
|
3165
|
+
le,
|
|
3172
3166
|
{
|
|
3173
3167
|
type: "email",
|
|
3174
3168
|
inputMode: "email",
|
|
3175
3169
|
value: r.email,
|
|
3176
3170
|
placeholder: h.emailPlaceholder,
|
|
3177
|
-
error:
|
|
3171
|
+
error: pe,
|
|
3178
3172
|
onChange: (C) => B({ email: C }),
|
|
3179
3173
|
containerClassName: "w-full gap-0",
|
|
3180
3174
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
@@ -3182,18 +3176,18 @@ function rs({
|
|
|
3182
3176
|
}
|
|
3183
3177
|
) : /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-start gap-1", children: [
|
|
3184
3178
|
/* @__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: [
|
|
3185
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children:
|
|
3186
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children:
|
|
3179
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: $e("IN") }),
|
|
3180
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: Ie })
|
|
3187
3181
|
] }),
|
|
3188
3182
|
/* @__PURE__ */ e.jsx(
|
|
3189
|
-
|
|
3183
|
+
le,
|
|
3190
3184
|
{
|
|
3191
3185
|
type: "tel",
|
|
3192
3186
|
inputMode: "numeric",
|
|
3193
3187
|
value: r.whatsappNumber,
|
|
3194
3188
|
placeholder: h.whatsappNumberPlaceholder,
|
|
3195
3189
|
maxLength: Z,
|
|
3196
|
-
error:
|
|
3190
|
+
error: se,
|
|
3197
3191
|
onChange: (C) => B({ whatsappNumber: C.replace(/\D/g, "").slice(0, Z) }),
|
|
3198
3192
|
containerClassName: "w-auto flex-1 gap-0",
|
|
3199
3193
|
wrapperClassName: "h-14 rounded-xl px-4",
|
|
@@ -3206,14 +3200,14 @@ function rs({
|
|
|
3206
3200
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3", children: [
|
|
3207
3201
|
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: h.kartaNameSectionTitle }),
|
|
3208
3202
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-col gap-2.5", children: r.kartaNames.map((C, D) => /* @__PURE__ */ e.jsx(
|
|
3209
|
-
|
|
3203
|
+
le,
|
|
3210
3204
|
{
|
|
3211
|
-
label:
|
|
3205
|
+
label: V(D),
|
|
3212
3206
|
placeholder: h.kartaNamePlaceholder,
|
|
3213
3207
|
value: C,
|
|
3214
|
-
maxLength:
|
|
3208
|
+
maxLength: De,
|
|
3215
3209
|
showCharCount: !0,
|
|
3216
|
-
wrapperClassName:
|
|
3210
|
+
wrapperClassName: o("h-12 rounded-xl", D === 0 && "bg-[#f3f4f6]"),
|
|
3217
3211
|
onChange: (Q) => Y(D, Q)
|
|
3218
3212
|
},
|
|
3219
3213
|
D
|
|
@@ -3229,11 +3223,11 @@ function rs({
|
|
|
3229
3223
|
id: "karta-gotra",
|
|
3230
3224
|
value: r.gotra,
|
|
3231
3225
|
placeholder: h.gotraFieldPlaceholder,
|
|
3232
|
-
maxLength:
|
|
3226
|
+
maxLength: De,
|
|
3233
3227
|
autoComplete: "off",
|
|
3234
|
-
onFocus: () =>
|
|
3228
|
+
onFocus: () => H(!0),
|
|
3235
3229
|
onChange: (C) => {
|
|
3236
|
-
B({ gotra: C.target.value }),
|
|
3230
|
+
B({ gotra: C.target.value }), H(!0);
|
|
3237
3231
|
},
|
|
3238
3232
|
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"
|
|
3239
3233
|
}
|
|
@@ -3245,7 +3239,7 @@ function rs({
|
|
|
3245
3239
|
onClick: () => S(!0),
|
|
3246
3240
|
"aria-label": O.heading,
|
|
3247
3241
|
className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",
|
|
3248
|
-
children: /* @__PURE__ */ e.jsx(
|
|
3242
|
+
children: /* @__PURE__ */ e.jsx(fe, { size: 24, "aria-hidden": !0 })
|
|
3249
3243
|
}
|
|
3250
3244
|
)
|
|
3251
3245
|
] }),
|
|
@@ -3261,7 +3255,7 @@ function rs({
|
|
|
3261
3255
|
role: "option",
|
|
3262
3256
|
"aria-selected": C === r.gotra,
|
|
3263
3257
|
onClick: () => U(C),
|
|
3264
|
-
className:
|
|
3258
|
+
className: o(
|
|
3265
3259
|
"flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",
|
|
3266
3260
|
C === r.gotra && "bg-[#fff9e9]"
|
|
3267
3261
|
),
|
|
@@ -3277,11 +3271,11 @@ function rs({
|
|
|
3277
3271
|
"button",
|
|
3278
3272
|
{
|
|
3279
3273
|
type: "button",
|
|
3280
|
-
onClick:
|
|
3274
|
+
onClick: ae,
|
|
3281
3275
|
"aria-pressed": r.isGotraUnknown,
|
|
3282
3276
|
className: "flex items-center gap-1 border-0 bg-transparent p-0",
|
|
3283
3277
|
children: [
|
|
3284
|
-
r.isGotraUnknown ? /* @__PURE__ */ e.jsx(
|
|
3278
|
+
r.isGotraUnknown ? /* @__PURE__ */ e.jsx(Wa, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsx(Da, { size: 24, className: "shrink-0 text-[#d1d5db]", "aria-hidden": !0 }),
|
|
3285
3279
|
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: h.gotraUnknownCheckboxLabel })
|
|
3286
3280
|
]
|
|
3287
3281
|
}
|
|
@@ -3291,33 +3285,36 @@ function rs({
|
|
|
3291
3285
|
] }),
|
|
3292
3286
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white", children: [
|
|
3293
3287
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2.5 px-3 pt-3 pb-2", children: [
|
|
3294
|
-
/* @__PURE__ */ e.jsx(
|
|
3288
|
+
/* @__PURE__ */ e.jsx(Pe, { size: "sm", icon: /* @__PURE__ */ e.jsx(Aa, { size: 20, className: "text-[#f38415]", "aria-hidden": !0 }) }),
|
|
3295
3289
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
3296
3290
|
/* @__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:
|
|
3291
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-normal text-[#6b7280]", children: c ? h.sarvaPitruSectionSubtitle : h.ancestorNameSectionSubtitle })
|
|
3298
3292
|
] })
|
|
3299
3293
|
] }),
|
|
3300
|
-
|
|
3301
|
-
/* @__PURE__ */ e.
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3294
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2.5 p-3 pt-0", children: [
|
|
3295
|
+
c && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-1", children: [
|
|
3296
|
+
/* @__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 }) }),
|
|
3297
|
+
/* @__PURE__ */ e.jsx("p", { className: "px-3 text-[12px] leading-4 font-medium text-[#6b7280]", children: h.sarvaPitruHelperText })
|
|
3298
|
+
] }),
|
|
3299
|
+
r.ancestors.map((C) => /* @__PURE__ */ e.jsx(
|
|
3300
|
+
le,
|
|
3301
|
+
{
|
|
3302
|
+
label: `*${C.label} ${h.ancestorNameFieldSuffix}`,
|
|
3303
|
+
value: C.value,
|
|
3304
|
+
prefix: h.latePrefixLabel,
|
|
3305
|
+
placeholder: h.kartaNamePlaceholder,
|
|
3306
|
+
maxLength: De,
|
|
3307
|
+
showCharCount: !0,
|
|
3308
|
+
wrapperClassName: "h-12 rounded-xl",
|
|
3309
|
+
onChange: (D) => re(C.id, D)
|
|
3310
|
+
},
|
|
3311
|
+
C.id
|
|
3312
|
+
))
|
|
3313
|
+
] })
|
|
3317
3314
|
] })
|
|
3318
3315
|
] }) }),
|
|
3319
3316
|
/* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0 w-full", children: /* @__PURE__ */ e.jsx(
|
|
3320
|
-
|
|
3317
|
+
Ge,
|
|
3321
3318
|
{
|
|
3322
3319
|
amount: f,
|
|
3323
3320
|
subtitle: x,
|
|
@@ -3325,19 +3322,19 @@ function rs({
|
|
|
3325
3322
|
showInfoIcon: p,
|
|
3326
3323
|
proceedLabel: v ?? h.proceedCtaLabel,
|
|
3327
3324
|
onProceed: () => y(!0),
|
|
3328
|
-
proceedButtonProps: { disabled: !
|
|
3325
|
+
proceedButtonProps: { disabled: !me, ...g }
|
|
3329
3326
|
}
|
|
3330
3327
|
) }),
|
|
3331
3328
|
/* @__PURE__ */ e.jsx(
|
|
3332
|
-
|
|
3329
|
+
Sr,
|
|
3333
3330
|
{
|
|
3334
3331
|
isOpen: k,
|
|
3335
3332
|
onClose: () => y(!1),
|
|
3336
3333
|
onEditDetailsClick: () => y(!1),
|
|
3337
3334
|
locale: t,
|
|
3338
|
-
ancestors:
|
|
3335
|
+
ancestors: c ? [{ id: "sarva-pitru", label: "", value: h.sarvaPitruFieldValue }, ...r.ancestors] : r.ancestors,
|
|
3339
3336
|
kartaNames: r.kartaNames,
|
|
3340
|
-
gotra:
|
|
3337
|
+
gotra: be,
|
|
3341
3338
|
whatsappNumber: Ee,
|
|
3342
3339
|
amount: f,
|
|
3343
3340
|
onProceedPayment: () => {
|
|
@@ -3345,10 +3342,10 @@ function rs({
|
|
|
3345
3342
|
}
|
|
3346
3343
|
}
|
|
3347
3344
|
),
|
|
3348
|
-
/* @__PURE__ */ e.jsx(
|
|
3345
|
+
/* @__PURE__ */ e.jsx(Tr, { isOpen: N, onClose: () => S(!1), locale: t })
|
|
3349
3346
|
] });
|
|
3350
3347
|
}
|
|
3351
|
-
function
|
|
3348
|
+
function bs(t = 3, r = []) {
|
|
3352
3349
|
return {
|
|
3353
3350
|
whatsappNumber: "",
|
|
3354
3351
|
email: "",
|
|
@@ -3358,33 +3355,33 @@ function ss(t = 3, r = []) {
|
|
|
3358
3355
|
ancestors: r
|
|
3359
3356
|
};
|
|
3360
3357
|
}
|
|
3361
|
-
const
|
|
3362
|
-
function
|
|
3358
|
+
const Pt = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", Fr = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", Br = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", Dr = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", Ir = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", Mr = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
|
|
3359
|
+
function $r({ variant: t }) {
|
|
3363
3360
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
3364
3361
|
t === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3365
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3366
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3367
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3362
|
+
/* @__PURE__ */ e.jsx("img", { src: Pt, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
|
|
3363
|
+
/* @__PURE__ */ e.jsx("img", { src: Pt, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
|
|
3364
|
+
/* @__PURE__ */ e.jsx("img", { src: Fr, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
|
|
3368
3365
|
] }),
|
|
3369
3366
|
t === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
|
|
3370
3367
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]" }),
|
|
3371
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3368
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src: Br, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
3372
3369
|
] }),
|
|
3373
3370
|
t === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
|
|
3374
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3375
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3376
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3371
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: Dr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
3372
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src: Ir, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
3373
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src: Mr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
3377
3374
|
] })
|
|
3378
3375
|
] });
|
|
3379
3376
|
}
|
|
3380
|
-
const
|
|
3381
|
-
function
|
|
3377
|
+
const Wr = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", Et = "https://srm-cdn.a4b.io/yoda/1788256971870.svg";
|
|
3378
|
+
function gs({
|
|
3382
3379
|
badgeLabel: t,
|
|
3383
3380
|
headingPrefix: r,
|
|
3384
3381
|
ritualCount: s,
|
|
3385
3382
|
ritualCountLabel: n,
|
|
3386
3383
|
headingSuffix: i,
|
|
3387
|
-
trustItems:
|
|
3384
|
+
trustItems: c
|
|
3388
3385
|
}) {
|
|
3389
3386
|
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: [
|
|
3390
3387
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center gap-2", children: [
|
|
@@ -3415,7 +3412,7 @@ function ns({
|
|
|
3415
3412
|
}
|
|
3416
3413
|
}
|
|
3417
3414
|
),
|
|
3418
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3415
|
+
/* @__PURE__ */ e.jsx("img", { src: Wr, alt: "Sri Mandir", className: "relative z-10 h-[53px] w-auto object-contain" })
|
|
3419
3416
|
] }),
|
|
3420
3417
|
/* @__PURE__ */ e.jsxs("p", { className: "text-xs font-semibold text-[#d51f68]", children: [
|
|
3421
3418
|
"✦ ",
|
|
@@ -3431,16 +3428,16 @@ function ns({
|
|
|
3431
3428
|
" ",
|
|
3432
3429
|
i
|
|
3433
3430
|
] }),
|
|
3434
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children:
|
|
3435
|
-
/* @__PURE__ */ e.jsx(
|
|
3431
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children: c.map((u) => /* @__PURE__ */ e.jsxs("div", { className: "flex w-25 flex-col items-center gap-1 py-2", children: [
|
|
3432
|
+
/* @__PURE__ */ e.jsx($r, { variant: u.variant }),
|
|
3436
3433
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: u.text })
|
|
3437
3434
|
] }, u.variant)) })
|
|
3438
3435
|
] });
|
|
3439
3436
|
}
|
|
3440
|
-
function
|
|
3437
|
+
function Vr(t) {
|
|
3441
3438
|
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);
|
|
3442
3439
|
}
|
|
3443
|
-
const
|
|
3440
|
+
const St = {
|
|
3444
3441
|
en: {
|
|
3445
3442
|
title: "Who is this puja for?",
|
|
3446
3443
|
subtitle: "Your ancestors",
|
|
@@ -3453,30 +3450,30 @@ const Pt = {
|
|
|
3453
3450
|
value: "सर्वपितृ के लिए",
|
|
3454
3451
|
helperText: "यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"
|
|
3455
3452
|
}
|
|
3456
|
-
},
|
|
3453
|
+
}, Hr = (t) => St[t] ?? St.en, Ur = L.forwardRef(
|
|
3457
3454
|
({
|
|
3458
3455
|
locale: t = "en",
|
|
3459
3456
|
title: r,
|
|
3460
3457
|
subtitle: s,
|
|
3461
3458
|
value: n,
|
|
3462
3459
|
helperText: i,
|
|
3463
|
-
icon:
|
|
3460
|
+
icon: c,
|
|
3464
3461
|
className: u,
|
|
3465
3462
|
headerClassName: f,
|
|
3466
3463
|
valueBoxClassName: x,
|
|
3467
3464
|
helperTextClassName: b,
|
|
3468
3465
|
...p
|
|
3469
3466
|
}, d) => {
|
|
3470
|
-
const v =
|
|
3467
|
+
const v = Hr(t);
|
|
3471
3468
|
return /* @__PURE__ */ e.jsxs(
|
|
3472
3469
|
"div",
|
|
3473
3470
|
{
|
|
3474
3471
|
ref: d,
|
|
3475
|
-
className:
|
|
3472
|
+
className: o("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm", u),
|
|
3476
3473
|
...p,
|
|
3477
3474
|
children: [
|
|
3478
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
3479
|
-
/* @__PURE__ */ e.jsx(
|
|
3475
|
+
/* @__PURE__ */ e.jsxs("div", { className: o("flex items-center gap-3", f), children: [
|
|
3476
|
+
/* @__PURE__ */ e.jsx(Pe, { icon: c ?? /* @__PURE__ */ e.jsx(Vr, { size: 22, "aria-hidden": !0 }), size: "lg" }),
|
|
3480
3477
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
3481
3478
|
/* @__PURE__ */ e.jsx("p", { className: "text-lg leading-6 font-bold text-[#1d2125]", children: r ?? v.title }),
|
|
3482
3479
|
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ?? v.subtitle })
|
|
@@ -3485,80 +3482,80 @@ const Pt = {
|
|
|
3485
3482
|
/* @__PURE__ */ e.jsx(
|
|
3486
3483
|
"div",
|
|
3487
3484
|
{
|
|
3488
|
-
className:
|
|
3485
|
+
className: o(
|
|
3489
3486
|
"mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",
|
|
3490
3487
|
x
|
|
3491
3488
|
),
|
|
3492
3489
|
children: /* @__PURE__ */ e.jsx("span", { className: "text-lg leading-6 font-medium text-gray-700", children: n ?? v.value })
|
|
3493
3490
|
}
|
|
3494
3491
|
),
|
|
3495
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
3492
|
+
/* @__PURE__ */ e.jsx("p", { className: o("mt-3 text-sm leading-4.5 text-gray-500", b), children: i ?? v.helperText })
|
|
3496
3493
|
]
|
|
3497
3494
|
}
|
|
3498
3495
|
);
|
|
3499
3496
|
}
|
|
3500
3497
|
);
|
|
3501
|
-
|
|
3498
|
+
Ur.displayName = "SarvaPitruCard";
|
|
3502
3499
|
export {
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3500
|
+
es as AudioQuestionCard,
|
|
3501
|
+
yt as BOOKING_SUMMARY_BANNER_DEFAULT_COPY,
|
|
3502
|
+
yr as BillDetails,
|
|
3503
|
+
vr as BookingSummaryBanner,
|
|
3507
3504
|
q as Button,
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3505
|
+
vt as CHECKOUT_BAR_DEFAULT_COPY,
|
|
3506
|
+
wt as CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY,
|
|
3507
|
+
ns as CartReviewAddedBadge,
|
|
3508
|
+
ss as CartReviewChangeButton,
|
|
3509
|
+
Mt as CartReviewItem,
|
|
3510
|
+
er as CartReviewMandapItem,
|
|
3511
|
+
is as CartView,
|
|
3512
|
+
hs as CheckIcon,
|
|
3513
|
+
Ge as CheckoutBar,
|
|
3514
|
+
qa as Chip,
|
|
3515
|
+
We as ConfinedBottomSheet,
|
|
3516
|
+
Sr as ConfirmPujaDetailsModal,
|
|
3517
|
+
cs as DatePickerSheet,
|
|
3518
|
+
us as EmailSheet,
|
|
3519
|
+
Jr as FAQAccordion,
|
|
3523
3520
|
Ha as FAQSection,
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
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
|
-
|
|
3521
|
+
Ct as GOTRA_INFO_MODAL_DEFAULT_COPY,
|
|
3522
|
+
Tr as GotraInfoModal,
|
|
3523
|
+
Pe as IconBadge,
|
|
3524
|
+
xs as L2Card,
|
|
3525
|
+
Dt as LanguageSwitcher,
|
|
3526
|
+
fs as OutcomeButton,
|
|
3527
|
+
gs as OutcomeSummary,
|
|
3528
|
+
jt as PACKAGE_SELECT_DEFAULT_COPY,
|
|
3529
|
+
_t as PUJA_DETAILS_FORM_DEFAULT_COPY,
|
|
3530
|
+
ls as PackageSelect,
|
|
3531
|
+
ds as PhoneNumberSheet,
|
|
3532
|
+
ps as PlusIcon,
|
|
3533
|
+
ms as PujaDetailsForm,
|
|
3534
|
+
rs as QuantityStepper,
|
|
3535
|
+
St as SARVA_PITRU_CARD_DEFAULT_COPY,
|
|
3536
|
+
Ur as SarvaPitruCard,
|
|
3537
|
+
It as SelectorCard,
|
|
3538
|
+
ts as SelectorCardEditableField,
|
|
3539
|
+
as as SelectorCardInfoRow,
|
|
3540
|
+
Qa as SelectorCardNote,
|
|
3541
|
+
Xa as SelectorCardPriceBadge,
|
|
3542
|
+
fr as ServiceOfferCard,
|
|
3543
|
+
Qr as StepProgressHeader,
|
|
3544
|
+
Zr as TestimonialCard,
|
|
3545
|
+
le as TextField,
|
|
3546
|
+
os as TithiPickerSheet,
|
|
3547
|
+
Xr as TopBar,
|
|
3548
|
+
hr as TrustBadgesBar,
|
|
3549
|
+
Ua as VideoPlayer,
|
|
3550
|
+
Ra as buttonVariants,
|
|
3551
|
+
ys as cn,
|
|
3552
|
+
bs as createEmptyPujaDetailsFormValues,
|
|
3553
|
+
gr as getBookingSummaryBannerDefaultCopy,
|
|
3554
|
+
mr as getCheckoutBarDefaultCopy,
|
|
3555
|
+
Er as getConfirmPujaDetailsModalDefaultCopy,
|
|
3559
3556
|
Ht as getGotraInfoModalDefaultCopy,
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3557
|
+
zr as getKartaOrdinalLabel,
|
|
3558
|
+
br as getPackageSelectDefaultCopy,
|
|
3559
|
+
Rr as getPujaDetailsFormDefaultCopy,
|
|
3560
|
+
Hr as getSarvaPitruCardDefaultCopy
|
|
3564
3561
|
};
|