@srimandir/pitru-paksh-common 2.0.25 → 2.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ConfinedBottomSheet/ConfinedBottomSheet.d.ts +20 -0
- package/dist/components/ConfinedBottomSheet/index.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/pitru-paksh-common.d.ts +1 -0
- package/dist/pitru-paksh-common.js +479 -468
- package/dist/pitru-paksh-common.umd.cjs +6 -6
- package/dist/style.css +1 -1
- package/package.json +3 -4
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { cn as c, BottomSheet 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 c, BottomSheet as _e, DEFAULT_COUNTRIES as pa, getMaxLengthForCountry as Ie, validatePhoneByCountryCode as Et, getFlagEmoji as Me } from "@srimandir/common";
|
|
2
|
+
import { cn as ns } from "@srimandir/common";
|
|
3
|
+
import * as ha from "react";
|
|
4
|
+
import S, { useState as V, useMemo as ma, useRef as Pt, useEffect as Tt } from "react";
|
|
5
|
+
import { cva as ba } from "class-variance-authority";
|
|
6
|
+
import ga from "react-player";
|
|
7
|
+
var je = { exports: {} }, ce = {};
|
|
8
|
+
var it;
|
|
9
|
+
function va() {
|
|
10
|
+
if (it) return ce;
|
|
11
|
+
it = 1;
|
|
12
|
+
var t = S, 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, d = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
13
13
|
function x(f, u, m) {
|
|
14
14
|
var h, o = {}, v = null, b = null;
|
|
15
15
|
m !== void 0 && (v = "" + m), u.key !== void 0 && (v = "" + u.key), u.ref !== void 0 && (b = u.ref);
|
|
@@ -17,13 +17,13 @@ function ga() {
|
|
|
17
17
|
if (f && f.defaultProps) for (h in u = f.defaultProps, u) o[h] === void 0 && (o[h] = u[h]);
|
|
18
18
|
return { $$typeof: r, type: f, key: v, ref: b, props: o, _owner: i.current };
|
|
19
19
|
}
|
|
20
|
-
return
|
|
20
|
+
return ce.Fragment = s, ce.jsx = x, ce.jsxs = x, ce;
|
|
21
21
|
}
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
function
|
|
25
|
-
return
|
|
26
|
-
var t =
|
|
22
|
+
var de = {};
|
|
23
|
+
var ot;
|
|
24
|
+
function ja() {
|
|
25
|
+
return ot || (ot = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
26
|
+
var t = S, 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"), d = /* @__PURE__ */ Symbol.for("react.profiler"), x = /* @__PURE__ */ Symbol.for("react.provider"), f = /* @__PURE__ */ Symbol.for("react.context"), u = /* @__PURE__ */ Symbol.for("react.forward_ref"), m = /* @__PURE__ */ Symbol.for("react.suspense"), h = /* @__PURE__ */ Symbol.for("react.suspense_list"), o = /* @__PURE__ */ Symbol.for("react.memo"), v = /* @__PURE__ */ Symbol.for("react.lazy"), b = /* @__PURE__ */ Symbol.for("react.offscreen"), j = Symbol.iterator, L = "@@iterator";
|
|
27
27
|
function k(a) {
|
|
28
28
|
if (a === null || typeof a != "object")
|
|
29
29
|
return null;
|
|
@@ -112,18 +112,18 @@ function va() {
|
|
|
112
112
|
}
|
|
113
113
|
return null;
|
|
114
114
|
}
|
|
115
|
-
var H = Object.assign, J = 0, X, Q, ae, re, fe, pe
|
|
116
|
-
function
|
|
115
|
+
var H = Object.assign, J = 0, X, Q, ae, re, xe, fe, pe;
|
|
116
|
+
function he() {
|
|
117
117
|
}
|
|
118
|
-
|
|
118
|
+
he.__reactDisabledLog = !0;
|
|
119
119
|
function C() {
|
|
120
120
|
{
|
|
121
121
|
if (J === 0) {
|
|
122
|
-
X = console.log, Q = console.info, ae = console.warn, re = console.error,
|
|
122
|
+
X = console.log, Q = console.info, ae = console.warn, re = console.error, xe = console.group, fe = console.groupCollapsed, pe = console.groupEnd;
|
|
123
123
|
var a = {
|
|
124
124
|
configurable: !0,
|
|
125
125
|
enumerable: !0,
|
|
126
|
-
value:
|
|
126
|
+
value: he,
|
|
127
127
|
writable: !0
|
|
128
128
|
};
|
|
129
129
|
Object.defineProperties(console, {
|
|
@@ -161,48 +161,48 @@ function va() {
|
|
|
161
161
|
value: re
|
|
162
162
|
}),
|
|
163
163
|
group: H({}, a, {
|
|
164
|
-
value:
|
|
164
|
+
value: xe
|
|
165
165
|
}),
|
|
166
166
|
groupCollapsed: H({}, a, {
|
|
167
|
-
value:
|
|
167
|
+
value: fe
|
|
168
168
|
}),
|
|
169
169
|
groupEnd: H({}, a, {
|
|
170
|
-
value:
|
|
170
|
+
value: pe
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
J < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
var ee = w.ReactCurrentDispatcher,
|
|
178
|
-
function
|
|
177
|
+
var ee = w.ReactCurrentDispatcher, Se;
|
|
178
|
+
function me(a, l, p) {
|
|
179
179
|
{
|
|
180
|
-
if (
|
|
180
|
+
if (Se === void 0)
|
|
181
181
|
try {
|
|
182
182
|
throw Error();
|
|
183
183
|
} catch (T) {
|
|
184
184
|
var N = T.stack.trim().match(/\n( *(at )?)/);
|
|
185
|
-
|
|
185
|
+
Se = N && N[1] || "";
|
|
186
186
|
}
|
|
187
187
|
return `
|
|
188
|
-
` +
|
|
188
|
+
` + Se + a;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
191
|
+
var Ee = !1, be;
|
|
192
192
|
{
|
|
193
|
-
var
|
|
194
|
-
|
|
193
|
+
var Ht = typeof WeakMap == "function" ? WeakMap : Map;
|
|
194
|
+
be = new Ht();
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
if (!a ||
|
|
196
|
+
function Ge(a, l) {
|
|
197
|
+
if (!a || Ee)
|
|
198
198
|
return "";
|
|
199
199
|
{
|
|
200
|
-
var p =
|
|
200
|
+
var p = be.get(a);
|
|
201
201
|
if (p !== void 0)
|
|
202
202
|
return p;
|
|
203
203
|
}
|
|
204
204
|
var N;
|
|
205
|
-
|
|
205
|
+
Ee = !0;
|
|
206
206
|
var T = Error.prepareStackTrace;
|
|
207
207
|
Error.prepareStackTrace = void 0;
|
|
208
208
|
var z;
|
|
@@ -241,145 +241,145 @@ function va() {
|
|
|
241
241
|
}
|
|
242
242
|
} catch (W) {
|
|
243
243
|
if (W && N && typeof W.stack == "string") {
|
|
244
|
-
for (var
|
|
244
|
+
for (var E = W.stack.split(`
|
|
245
245
|
`), $ = N.stack.split(`
|
|
246
|
-
`), A =
|
|
246
|
+
`), A = E.length - 1, B = $.length - 1; A >= 1 && B >= 0 && E[A] !== $[B]; )
|
|
247
247
|
B--;
|
|
248
248
|
for (; A >= 1 && B >= 0; A--, B--)
|
|
249
|
-
if (
|
|
249
|
+
if (E[A] !== $[B]) {
|
|
250
250
|
if (A !== 1 || B !== 1)
|
|
251
251
|
do
|
|
252
|
-
if (A--, B--, B < 0 ||
|
|
252
|
+
if (A--, B--, B < 0 || E[A] !== $[B]) {
|
|
253
253
|
var te = `
|
|
254
|
-
` +
|
|
255
|
-
return a.displayName && te.includes("<anonymous>") && (te = te.replace("<anonymous>", a.displayName)), typeof a == "function" &&
|
|
254
|
+
` + E[A].replace(" at new ", " at ");
|
|
255
|
+
return a.displayName && te.includes("<anonymous>") && (te = te.replace("<anonymous>", a.displayName)), typeof a == "function" && be.set(a, te), te;
|
|
256
256
|
}
|
|
257
257
|
while (A >= 1 && B >= 0);
|
|
258
258
|
break;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
} finally {
|
|
262
|
-
|
|
262
|
+
Ee = !1, ee.current = z, I(), Error.prepareStackTrace = T;
|
|
263
263
|
}
|
|
264
|
-
var ie = a ? a.displayName || a.name : "", se = ie ?
|
|
265
|
-
return typeof a == "function" &&
|
|
264
|
+
var ie = a ? a.displayName || a.name : "", se = ie ? me(ie) : "";
|
|
265
|
+
return typeof a == "function" && be.set(a, se), se;
|
|
266
266
|
}
|
|
267
|
-
function
|
|
268
|
-
return
|
|
267
|
+
function Wt(a, l, p) {
|
|
268
|
+
return Ge(a, !1);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function Ut(a) {
|
|
271
271
|
var l = a.prototype;
|
|
272
272
|
return !!(l && l.isReactComponent);
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function ge(a, l, p) {
|
|
275
275
|
if (a == null)
|
|
276
276
|
return "";
|
|
277
277
|
if (typeof a == "function")
|
|
278
|
-
return
|
|
278
|
+
return Ge(a, Ut(a));
|
|
279
279
|
if (typeof a == "string")
|
|
280
|
-
return
|
|
280
|
+
return me(a);
|
|
281
281
|
switch (a) {
|
|
282
282
|
case m:
|
|
283
|
-
return
|
|
283
|
+
return me("Suspense");
|
|
284
284
|
case h:
|
|
285
|
-
return
|
|
285
|
+
return me("SuspenseList");
|
|
286
286
|
}
|
|
287
287
|
if (typeof a == "object")
|
|
288
288
|
switch (a.$$typeof) {
|
|
289
289
|
case u:
|
|
290
|
-
return
|
|
290
|
+
return Wt(a.render);
|
|
291
291
|
case o:
|
|
292
|
-
return
|
|
292
|
+
return ge(a.type, l, p);
|
|
293
293
|
case v: {
|
|
294
294
|
var N = a, T = N._payload, z = N._init;
|
|
295
295
|
try {
|
|
296
|
-
return
|
|
296
|
+
return ge(z(T), l, p);
|
|
297
297
|
} catch {
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
return "";
|
|
302
302
|
}
|
|
303
|
-
var
|
|
304
|
-
function
|
|
303
|
+
var oe = Object.prototype.hasOwnProperty, Ye = {}, qe = w.ReactDebugCurrentFrame;
|
|
304
|
+
function ve(a) {
|
|
305
305
|
if (a) {
|
|
306
|
-
var l = a._owner, p =
|
|
307
|
-
|
|
306
|
+
var l = a._owner, p = ge(a.type, a._source, l ? l.type : null);
|
|
307
|
+
qe.setExtraStackFrame(p);
|
|
308
308
|
} else
|
|
309
|
-
|
|
309
|
+
qe.setExtraStackFrame(null);
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function Gt(a, l, p, N, T) {
|
|
312
312
|
{
|
|
313
|
-
var z = Function.call.bind(
|
|
313
|
+
var z = Function.call.bind(oe);
|
|
314
314
|
for (var P in a)
|
|
315
315
|
if (z(a, P)) {
|
|
316
|
-
var
|
|
316
|
+
var E = void 0;
|
|
317
317
|
try {
|
|
318
318
|
if (typeof a[P] != "function") {
|
|
319
319
|
var $ = Error((N || "React class") + ": " + p + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[P] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
320
320
|
throw $.name = "Invariant Violation", $;
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
E = a[P](l, P, N, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
323
323
|
} catch (A) {
|
|
324
|
-
|
|
324
|
+
E = A;
|
|
325
325
|
}
|
|
326
|
-
|
|
326
|
+
E && !(E instanceof Error) && (ve(T), y("%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).", N || "React class", p, P, typeof E), ve(null)), E instanceof Error && !(E.message in Ye) && (Ye[E.message] = !0, ve(T), y("Failed %s type: %s", p, E.message), ve(null));
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
var
|
|
330
|
+
var Yt = Array.isArray;
|
|
331
331
|
function Pe(a) {
|
|
332
|
-
return
|
|
332
|
+
return Yt(a);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function qt(a) {
|
|
335
335
|
{
|
|
336
336
|
var l = typeof Symbol == "function" && Symbol.toStringTag, p = l && a[Symbol.toStringTag] || a.constructor.name || "Object";
|
|
337
337
|
return p;
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function Kt(a) {
|
|
341
341
|
try {
|
|
342
|
-
return
|
|
342
|
+
return Ke(a), !1;
|
|
343
343
|
} catch {
|
|
344
344
|
return !0;
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function Ke(a) {
|
|
348
348
|
return "" + a;
|
|
349
349
|
}
|
|
350
|
-
function
|
|
351
|
-
if (
|
|
352
|
-
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
350
|
+
function Ze(a) {
|
|
351
|
+
if (Kt(a))
|
|
352
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", qt(a)), Ke(a);
|
|
353
353
|
}
|
|
354
|
-
var
|
|
354
|
+
var Je = w.ReactCurrentOwner, Zt = {
|
|
355
355
|
key: !0,
|
|
356
356
|
ref: !0,
|
|
357
357
|
__self: !0,
|
|
358
358
|
__source: !0
|
|
359
|
-
},
|
|
360
|
-
function
|
|
361
|
-
if (
|
|
359
|
+
}, Xe, Qe;
|
|
360
|
+
function Jt(a) {
|
|
361
|
+
if (oe.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 Xt(a) {
|
|
369
|
+
if (oe.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 Xt(a, l) {
|
|
377
|
-
typeof a.ref == "string" && Ze.current;
|
|
378
|
-
}
|
|
379
376
|
function Qt(a, l) {
|
|
377
|
+
typeof a.ref == "string" && Je.current;
|
|
378
|
+
}
|
|
379
|
+
function ea(a, l) {
|
|
380
380
|
{
|
|
381
381
|
var p = function() {
|
|
382
|
-
|
|
382
|
+
Xe || (Xe = !0, y("%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
|
p.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
385
385
|
get: p,
|
|
@@ -387,10 +387,10 @@ function va() {
|
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function ta(a, l) {
|
|
391
391
|
{
|
|
392
392
|
var p = function() {
|
|
393
|
-
|
|
393
|
+
Qe || (Qe = !0, y("%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
|
p.isReactWarning = !0, Object.defineProperty(a, "ref", {
|
|
396
396
|
get: p,
|
|
@@ -398,8 +398,8 @@ function va() {
|
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
var
|
|
402
|
-
var
|
|
401
|
+
var aa = function(a, l, p, N, T, z, P) {
|
|
402
|
+
var E = {
|
|
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
|
|
@@ -410,55 +410,55 @@ function va() {
|
|
|
410
410
|
// Record the component responsible for creating this element.
|
|
411
411
|
_owner: z
|
|
412
412
|
};
|
|
413
|
-
return
|
|
413
|
+
return E._store = {}, Object.defineProperty(E._store, "validated", {
|
|
414
414
|
configurable: !1,
|
|
415
415
|
enumerable: !1,
|
|
416
416
|
writable: !0,
|
|
417
417
|
value: !1
|
|
418
|
-
}), Object.defineProperty(
|
|
418
|
+
}), Object.defineProperty(E, "_self", {
|
|
419
419
|
configurable: !1,
|
|
420
420
|
enumerable: !1,
|
|
421
421
|
writable: !1,
|
|
422
422
|
value: N
|
|
423
|
-
}), Object.defineProperty(
|
|
423
|
+
}), Object.defineProperty(E, "_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(E.props), Object.freeze(E)), E;
|
|
429
429
|
};
|
|
430
|
-
function
|
|
430
|
+
function ra(a, l, p, N, T) {
|
|
431
431
|
{
|
|
432
|
-
var z, P = {},
|
|
433
|
-
p !== void 0 && (
|
|
432
|
+
var z, P = {}, E = null, $ = null;
|
|
433
|
+
p !== void 0 && (Ze(p), E = "" + p), Xt(l) && (Ze(l.key), E = "" + l.key), Jt(l) && ($ = l.ref, Qt(l, T));
|
|
434
434
|
for (z in l)
|
|
435
|
-
|
|
435
|
+
oe.call(l, z) && !Zt.hasOwnProperty(z) && (P[z] = l[z]);
|
|
436
436
|
if (a && a.defaultProps) {
|
|
437
437
|
var A = a.defaultProps;
|
|
438
438
|
for (z in A)
|
|
439
439
|
P[z] === void 0 && (P[z] = A[z]);
|
|
440
440
|
}
|
|
441
|
-
if (
|
|
441
|
+
if (E || $) {
|
|
442
442
|
var B = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
443
|
-
|
|
443
|
+
E && ea(P, B), $ && ta(P, B);
|
|
444
444
|
}
|
|
445
|
-
return
|
|
445
|
+
return aa(a, E, $, T, N, Je.current, P);
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
var Te = w.ReactCurrentOwner,
|
|
448
|
+
var Te = w.ReactCurrentOwner, et = w.ReactDebugCurrentFrame;
|
|
449
449
|
function le(a) {
|
|
450
450
|
if (a) {
|
|
451
|
-
var l = a._owner, p =
|
|
452
|
-
|
|
451
|
+
var l = a._owner, p = ge(a.type, a._source, l ? l.type : null);
|
|
452
|
+
et.setExtraStackFrame(p);
|
|
453
453
|
} else
|
|
454
|
-
|
|
454
|
+
et.setExtraStackFrame(null);
|
|
455
455
|
}
|
|
456
456
|
var Re;
|
|
457
457
|
Re = !1;
|
|
458
458
|
function Oe(a) {
|
|
459
459
|
return typeof a == "object" && a !== null && a.$$typeof === r;
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function tt() {
|
|
462
462
|
{
|
|
463
463
|
if (Te.current) {
|
|
464
464
|
var a = M(Te.current.type);
|
|
@@ -470,13 +470,13 @@ Check the render method of \`` + a + "`.";
|
|
|
470
470
|
return "";
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function sa(a) {
|
|
474
474
|
return "";
|
|
475
475
|
}
|
|
476
|
-
var
|
|
477
|
-
function
|
|
476
|
+
var at = {};
|
|
477
|
+
function na(a) {
|
|
478
478
|
{
|
|
479
|
-
var l =
|
|
479
|
+
var l = tt();
|
|
480
480
|
if (!l) {
|
|
481
481
|
var p = typeof a == "string" ? a : a.displayName || a.name;
|
|
482
482
|
p && (l = `
|
|
@@ -486,27 +486,27 @@ Check the top-level render call using <` + p + ">.");
|
|
|
486
486
|
return l;
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function rt(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 p =
|
|
495
|
-
if (
|
|
494
|
+
var p = na(l);
|
|
495
|
+
if (at[p])
|
|
496
496
|
return;
|
|
497
|
-
|
|
497
|
+
at[p] = !0;
|
|
498
498
|
var N = "";
|
|
499
499
|
a && a._owner && a._owner !== Te.current && (N = " It was passed a child from " + M(a._owner.type) + "."), le(a), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', p, N), le(null);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function st(a, l) {
|
|
503
503
|
{
|
|
504
504
|
if (typeof a != "object")
|
|
505
505
|
return;
|
|
506
506
|
if (Pe(a))
|
|
507
507
|
for (var p = 0; p < a.length; p++) {
|
|
508
508
|
var N = a[p];
|
|
509
|
-
Oe(N) &&
|
|
509
|
+
Oe(N) && rt(N, l);
|
|
510
510
|
}
|
|
511
511
|
else if (Oe(a))
|
|
512
512
|
a._store && (a._store.validated = !0);
|
|
@@ -514,11 +514,11 @@ Check the top-level render call using <` + p + ">.");
|
|
|
514
514
|
var T = k(a);
|
|
515
515
|
if (typeof T == "function" && T !== a.entries)
|
|
516
516
|
for (var z = T.call(a), P; !(P = z.next()).done; )
|
|
517
|
-
Oe(P.value) &&
|
|
517
|
+
Oe(P.value) && rt(P.value, l);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function la(a) {
|
|
522
522
|
{
|
|
523
523
|
var l = a.type;
|
|
524
524
|
if (l == null || typeof l == "string")
|
|
@@ -534,7 +534,7 @@ Check the top-level render call using <` + p + ">.");
|
|
|
534
534
|
return;
|
|
535
535
|
if (p) {
|
|
536
536
|
var N = M(l);
|
|
537
|
-
|
|
537
|
+
Gt(p, a.props, "prop", N, a);
|
|
538
538
|
} else if (l.PropTypes !== void 0 && !Re) {
|
|
539
539
|
Re = !0;
|
|
540
540
|
var T = M(l);
|
|
@@ -543,7 +543,7 @@ Check the top-level render call using <` + p + ">.");
|
|
|
543
543
|
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
function ia(a) {
|
|
547
547
|
{
|
|
548
548
|
for (var l = Object.keys(a.props), p = 0; p < l.length; p++) {
|
|
549
549
|
var N = l[p];
|
|
@@ -555,19 +555,19 @@ Check the top-level render call using <` + p + ">.");
|
|
|
555
555
|
a.ref !== null && (le(a), y("Invalid attribute `ref` supplied to `React.Fragment`."), le(null));
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
var
|
|
559
|
-
function
|
|
558
|
+
var nt = {};
|
|
559
|
+
function lt(a, l, p, N, T, z) {
|
|
560
560
|
{
|
|
561
561
|
var P = D(a);
|
|
562
562
|
if (!P) {
|
|
563
|
-
var
|
|
564
|
-
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (
|
|
565
|
-
var $ =
|
|
566
|
-
$ ?
|
|
563
|
+
var E = "";
|
|
564
|
+
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (E += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
565
|
+
var $ = sa();
|
|
566
|
+
$ ? E += $ : E += tt();
|
|
567
567
|
var A;
|
|
568
|
-
a === null ? A = "null" : Pe(a) ? A = "array" : a !== void 0 && a.$$typeof === r ? (A = "<" + (M(a.type) || "Unknown") + " />",
|
|
568
|
+
a === null ? A = "null" : Pe(a) ? A = "array" : a !== void 0 && a.$$typeof === r ? (A = "<" + (M(a.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : A = typeof a, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", A, E);
|
|
569
569
|
}
|
|
570
|
-
var B =
|
|
570
|
+
var B = ra(a, l, p, T, z);
|
|
571
571
|
if (B == null)
|
|
572
572
|
return B;
|
|
573
573
|
if (P) {
|
|
@@ -576,61 +576,61 @@ Check the top-level render call using <` + p + ">.");
|
|
|
576
576
|
if (N)
|
|
577
577
|
if (Pe(te)) {
|
|
578
578
|
for (var ie = 0; ie < te.length; ie++)
|
|
579
|
-
|
|
579
|
+
st(te[ie], a);
|
|
580
580
|
Object.freeze && Object.freeze(te);
|
|
581
581
|
} else
|
|
582
582
|
y("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
|
+
st(te, a);
|
|
585
585
|
}
|
|
586
|
-
if (
|
|
587
|
-
var se = M(a), W = Object.keys(l).filter(function(
|
|
588
|
-
return
|
|
586
|
+
if (oe.call(l, "key")) {
|
|
587
|
+
var se = M(a), W = Object.keys(l).filter(function(fa) {
|
|
588
|
+
return fa !== "key";
|
|
589
589
|
}), ze = W.length > 0 ? "{key: someKey, " + W.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
590
|
-
if (!
|
|
591
|
-
var
|
|
590
|
+
if (!nt[se + ze]) {
|
|
591
|
+
var xa = W.length > 0 ? "{" + W.join(": ..., ") + ": ...}" : "{}";
|
|
592
592
|
y(`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} />`, ze, se,
|
|
597
|
+
<%s key={someKey} {...props} />`, ze, se, xa, se), nt[se + ze] = !0;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
return a === n ?
|
|
600
|
+
return a === n ? ia(B) : la(B), B;
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
|
-
function ia(a, l, p) {
|
|
604
|
-
return nt(a, l, p, !0);
|
|
605
|
-
}
|
|
606
603
|
function oa(a, l, p) {
|
|
607
|
-
return
|
|
604
|
+
return lt(a, l, p, !0);
|
|
608
605
|
}
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
606
|
+
function ca(a, l, p) {
|
|
607
|
+
return lt(a, l, p, !1);
|
|
608
|
+
}
|
|
609
|
+
var da = ca, ua = oa;
|
|
610
|
+
de.Fragment = n, de.jsx = da, de.jsxs = ua;
|
|
611
|
+
})()), de;
|
|
612
612
|
}
|
|
613
|
-
var
|
|
614
|
-
function
|
|
615
|
-
return
|
|
613
|
+
var ct;
|
|
614
|
+
function ya() {
|
|
615
|
+
return ct || (ct = 1, process.env.NODE_ENV === "production" ? je.exports = va() : je.exports = ja()), je.exports;
|
|
616
616
|
}
|
|
617
|
-
var e =
|
|
617
|
+
var e = ya(), Rt = {
|
|
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
|
+
}, dt = S.createContext && /* @__PURE__ */ S.createContext(Rt), Na = ["attr", "size", "title"];
|
|
624
|
+
function wa(t, r) {
|
|
625
625
|
if (t == null) return {};
|
|
626
|
-
var s, n, i =
|
|
626
|
+
var s, n, i = ka(t, r);
|
|
627
627
|
if (Object.getOwnPropertySymbols) {
|
|
628
628
|
var d = Object.getOwnPropertySymbols(t);
|
|
629
629
|
for (n = 0; n < d.length; n++) s = d[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 ka(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 wa(t, r) {
|
|
|
639
639
|
}
|
|
640
640
|
return s;
|
|
641
641
|
}
|
|
642
|
-
function
|
|
643
|
-
return
|
|
642
|
+
function Ne() {
|
|
643
|
+
return Ne = 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
|
+
}, Ne.apply(null, arguments);
|
|
650
650
|
}
|
|
651
|
-
function
|
|
651
|
+
function ut(t, r) {
|
|
652
652
|
var s = Object.keys(t);
|
|
653
653
|
if (Object.getOwnPropertySymbols) {
|
|
654
654
|
var n = Object.getOwnPropertySymbols(t);
|
|
@@ -658,25 +658,25 @@ function dt(t, r) {
|
|
|
658
658
|
}
|
|
659
659
|
return s;
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function we(t) {
|
|
662
662
|
for (var r = 1; r < arguments.length; r++) {
|
|
663
663
|
var s = arguments[r] != null ? arguments[r] : {};
|
|
664
|
-
r % 2 ?
|
|
665
|
-
|
|
666
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(s)) :
|
|
664
|
+
r % 2 ? ut(Object(s), !0).forEach(function(n) {
|
|
665
|
+
Ca(t, n, s[n]);
|
|
666
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(s)) : ut(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
|
-
function
|
|
673
|
-
return (r =
|
|
672
|
+
function Ca(t, r, s) {
|
|
673
|
+
return (r = _a(r)) in t ? Object.defineProperty(t, r, { value: s, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = s, t;
|
|
674
674
|
}
|
|
675
|
-
function
|
|
676
|
-
var r =
|
|
675
|
+
function _a(t) {
|
|
676
|
+
var r = La(t, "string");
|
|
677
677
|
return typeof r == "symbol" ? r : r + "";
|
|
678
678
|
}
|
|
679
|
-
function
|
|
679
|
+
function La(t, r) {
|
|
680
680
|
if (typeof t != "object" || !t) return t;
|
|
681
681
|
var s = t[Symbol.toPrimitive];
|
|
682
682
|
if (s !== void 0) {
|
|
@@ -686,39 +686,39 @@ function _a(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 Ot(t) {
|
|
690
|
+
return t && t.map((r, s) => /* @__PURE__ */ S.createElement(r.tag, we({
|
|
691
691
|
key: s
|
|
692
|
-
}, r.attr),
|
|
692
|
+
}, r.attr), Ot(r.child)));
|
|
693
693
|
}
|
|
694
694
|
function R(t) {
|
|
695
|
-
return (r) => /* @__PURE__ */
|
|
696
|
-
attr:
|
|
697
|
-
}, r),
|
|
695
|
+
return (r) => /* @__PURE__ */ S.createElement(Sa, Ne({
|
|
696
|
+
attr: we({}, t.attr)
|
|
697
|
+
}, r), Ot(t.child));
|
|
698
698
|
}
|
|
699
|
-
function
|
|
699
|
+
function Sa(t) {
|
|
700
700
|
var r = (s) => {
|
|
701
|
-
var n = t.attr, i = t.size, d = t.title, x =
|
|
702
|
-
return s.className && (u = s.className), t.className && (u = (u ? u + " " : "") + t.className), /* @__PURE__ */
|
|
701
|
+
var n = t.attr, i = t.size, d = t.title, x = wa(t, Na), f = i || s.size || "1em", u;
|
|
702
|
+
return s.className && (u = s.className), t.className && (u = (u ? u + " " : "") + t.className), /* @__PURE__ */ S.createElement("svg", Ne({
|
|
703
703
|
stroke: "currentColor",
|
|
704
704
|
fill: "currentColor",
|
|
705
705
|
strokeWidth: "0"
|
|
706
706
|
}, s.attr, n, x, {
|
|
707
707
|
className: u,
|
|
708
|
-
style:
|
|
708
|
+
style: we(we({
|
|
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
|
-
}), d && /* @__PURE__ */
|
|
714
|
+
}), d && /* @__PURE__ */ S.createElement("title", null, d), t.children);
|
|
715
715
|
};
|
|
716
|
-
return
|
|
716
|
+
return dt !== void 0 ? /* @__PURE__ */ S.createElement(dt.Consumer, null, (s) => r(s)) : r(Rt);
|
|
717
717
|
}
|
|
718
718
|
function Ea(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 Pa = ba(
|
|
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,7 +749,7 @@ const Sa = ma(
|
|
|
749
749
|
],
|
|
750
750
|
defaultVariants: { variant: "primary", size: "lg", iconOnly: !1 }
|
|
751
751
|
}
|
|
752
|
-
), q =
|
|
752
|
+
), q = ha.forwardRef(
|
|
753
753
|
({
|
|
754
754
|
className: t,
|
|
755
755
|
variant: r,
|
|
@@ -768,7 +768,7 @@ const Sa = ma(
|
|
|
768
768
|
ref: o,
|
|
769
769
|
type: m,
|
|
770
770
|
disabled: d || i,
|
|
771
|
-
className: c(
|
|
771
|
+
className: c(Pa({ variant: r, size: s, iconOnly: n }), t),
|
|
772
772
|
...h,
|
|
773
773
|
children: i ? /* @__PURE__ */ e.jsx(Ea, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
774
774
|
x,
|
|
@@ -779,25 +779,35 @@ const Sa = ma(
|
|
|
779
779
|
)
|
|
780
780
|
);
|
|
781
781
|
q.displayName = "Button";
|
|
782
|
-
function
|
|
783
|
-
return
|
|
782
|
+
function $e(t) {
|
|
783
|
+
return t.isOpen ? /* @__PURE__ */ e.jsx(
|
|
784
|
+
"div",
|
|
785
|
+
{
|
|
786
|
+
className: "fixed inset-0 z-[1100] mx-auto w-full max-w-md",
|
|
787
|
+
style: { transform: "translateZ(0)" },
|
|
788
|
+
children: /* @__PURE__ */ e.jsx(_e, { ...t })
|
|
789
|
+
}
|
|
790
|
+
) : null;
|
|
784
791
|
}
|
|
785
792
|
function Ta(t) {
|
|
786
|
-
return R({ attr: { viewBox: "0 0
|
|
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);
|
|
787
794
|
}
|
|
788
795
|
function Ra(t) {
|
|
796
|
+
return R({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zM461.64 256l45.64-45.64c6.3-6.3 6.3-16.52 0-22.82l-22.82-22.82c-6.3-6.3-16.52-6.3-22.82 0L416 210.36l-45.64-45.64c-6.3-6.3-16.52-6.3-22.82 0l-22.82 22.82c-6.3 6.3-6.3 16.52 0 22.82L370.36 256l-45.63 45.63c-6.3 6.3-6.3 16.52 0 22.82l22.82 22.82c6.3 6.3 16.52 6.3 22.82 0L416 301.64l45.64 45.64c6.3 6.3 16.52 6.3 22.82 0l22.82-22.82c6.3-6.3 6.3-16.52 0-22.82L461.64 256z" }, child: [] }] })(t);
|
|
797
|
+
}
|
|
798
|
+
function Oa(t) {
|
|
789
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);
|
|
790
800
|
}
|
|
791
|
-
function
|
|
801
|
+
function zt(t) {
|
|
792
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);
|
|
793
803
|
}
|
|
794
|
-
function
|
|
804
|
+
function xt(t) {
|
|
795
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);
|
|
796
806
|
}
|
|
797
|
-
function
|
|
807
|
+
function za(t) {
|
|
798
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);
|
|
799
809
|
}
|
|
800
|
-
const
|
|
810
|
+
const Ar = ({
|
|
801
811
|
quote: t,
|
|
802
812
|
authorName: r,
|
|
803
813
|
authorAvatarUrl: s,
|
|
@@ -836,7 +846,7 @@ const zr = ({
|
|
|
836
846
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col min-w-0 flex-1 gap-0.5", children: [
|
|
837
847
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
838
848
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-base font-bold text-[#1d2125]", children: r }),
|
|
839
|
-
/* @__PURE__ */ e.jsx("span", { className: "flex items-center gap-0.5 text-amber-500", "aria-hidden": !0, children: Array.from({ length: Math.max(0, Math.min(5, i)) }, (f, u) => /* @__PURE__ */ e.jsx(
|
|
849
|
+
/* @__PURE__ */ e.jsx("span", { className: "flex items-center gap-0.5 text-amber-500", "aria-hidden": !0, children: Array.from({ length: Math.max(0, Math.min(5, i)) }, (f, u) => /* @__PURE__ */ e.jsx(zt, { size: 12 }, u)) })
|
|
840
850
|
] }),
|
|
841
851
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium text-gray-500", children: n })
|
|
842
852
|
] })
|
|
@@ -844,46 +854,46 @@ const zr = ({
|
|
|
844
854
|
]
|
|
845
855
|
}
|
|
846
856
|
);
|
|
847
|
-
function
|
|
857
|
+
function Aa(t) {
|
|
848
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);
|
|
849
859
|
}
|
|
850
|
-
function
|
|
860
|
+
function Fa(t) {
|
|
851
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);
|
|
852
862
|
}
|
|
853
|
-
function
|
|
863
|
+
function ft(t) {
|
|
854
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);
|
|
855
865
|
}
|
|
856
|
-
function
|
|
866
|
+
function Ba(t) {
|
|
857
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);
|
|
858
868
|
}
|
|
859
|
-
function
|
|
869
|
+
function ue(t) {
|
|
860
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);
|
|
861
871
|
}
|
|
862
|
-
function
|
|
872
|
+
function At(t) {
|
|
863
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);
|
|
864
874
|
}
|
|
865
|
-
function
|
|
875
|
+
function Da(t) {
|
|
866
876
|
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);
|
|
867
877
|
}
|
|
868
|
-
function
|
|
878
|
+
function ke(t) {
|
|
869
879
|
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);
|
|
870
880
|
}
|
|
871
|
-
function
|
|
881
|
+
function Ve(t) {
|
|
872
882
|
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);
|
|
873
883
|
}
|
|
874
|
-
function
|
|
884
|
+
function Ia(t) {
|
|
875
885
|
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);
|
|
876
886
|
}
|
|
877
|
-
function
|
|
887
|
+
function Ma(t) {
|
|
878
888
|
return R({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "rect", attr: { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }, child: [] }, { tag: "line", attr: { x1: "16", y1: "2", x2: "16", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "8", y1: "2", x2: "8", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "3", y1: "10", x2: "21", y2: "10" }, child: [] }] })(t);
|
|
879
889
|
}
|
|
880
|
-
function
|
|
890
|
+
function He(t) {
|
|
881
891
|
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);
|
|
882
892
|
}
|
|
883
|
-
function
|
|
893
|
+
function We(t) {
|
|
884
894
|
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);
|
|
885
895
|
}
|
|
886
|
-
const
|
|
896
|
+
const $a = ({
|
|
887
897
|
title: t = "अक्सर पूछे जाने वाले प्रश्न",
|
|
888
898
|
items: r,
|
|
889
899
|
initialVisibleCount: s = 6,
|
|
@@ -923,7 +933,7 @@ const Ma = ({
|
|
|
923
933
|
children: [
|
|
924
934
|
/* @__PURE__ */ e.jsx("span", { className: "flex-1 text-sm font-medium text-[#1d2125]", children: L.question }),
|
|
925
935
|
/* @__PURE__ */ e.jsx(
|
|
926
|
-
|
|
936
|
+
ke,
|
|
927
937
|
{
|
|
928
938
|
size: 24,
|
|
929
939
|
className: c("shrink-0 transition-transform duration-200", w ? "rotate-180" : ""),
|
|
@@ -957,7 +967,7 @@ const Ma = ({
|
|
|
957
967
|
onClick: () => h((L) => !L),
|
|
958
968
|
"aria-expanded": m,
|
|
959
969
|
rightIcon: /* @__PURE__ */ e.jsx(
|
|
960
|
-
|
|
970
|
+
ke,
|
|
961
971
|
{
|
|
962
972
|
size: 24,
|
|
963
973
|
className: c("shrink-0 transition-transform duration-200", m ? "rotate-180" : ""),
|
|
@@ -970,9 +980,9 @@ const Ma = ({
|
|
|
970
980
|
]
|
|
971
981
|
}
|
|
972
982
|
);
|
|
973
|
-
},
|
|
983
|
+
}, Va = S.forwardRef(
|
|
974
984
|
({ src: t, poster: r, className: s = "", rounded: n = !0, width: i, height: d }, x) => {
|
|
975
|
-
const [f, u] =
|
|
985
|
+
const [f, u] = S.useState(!1), [m, h] = S.useState(!0), [o, v] = S.useState(!1), [b, j] = S.useState(0), [L, k] = S.useState(0), w = S.useRef(null), g = c(
|
|
976
986
|
"block w-full",
|
|
977
987
|
(i !== void 0 || d !== void 0) && "h-full object-cover"
|
|
978
988
|
), _ = (O) => {
|
|
@@ -991,7 +1001,7 @@ const Ma = ({
|
|
|
991
1001
|
),
|
|
992
1002
|
children: f ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
993
1003
|
/* @__PURE__ */ e.jsx(
|
|
994
|
-
|
|
1004
|
+
ga,
|
|
995
1005
|
{
|
|
996
1006
|
ref: w,
|
|
997
1007
|
src: t,
|
|
@@ -1015,7 +1025,7 @@ const Ma = ({
|
|
|
1015
1025
|
"aria-label": m ? "Pause" : "Play",
|
|
1016
1026
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
1017
1027
|
onClick: () => h((O) => !O),
|
|
1018
|
-
children: m ? /* @__PURE__ */ e.jsx(
|
|
1028
|
+
children: m ? /* @__PURE__ */ e.jsx(za, { size: 16 }) : /* @__PURE__ */ e.jsx(xt, { size: 16, className: "translate-x-0.5" })
|
|
1019
1029
|
}
|
|
1020
1030
|
),
|
|
1021
1031
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1027,7 +1037,7 @@ const Ma = ({
|
|
|
1027
1037
|
"aria-label": o ? "Unmute" : "Mute",
|
|
1028
1038
|
className: "absolute left-2 top-2 text-white hover:bg-white/10",
|
|
1029
1039
|
onClick: () => v((O) => !O),
|
|
1030
|
-
children: o ? /* @__PURE__ */ e.jsx(
|
|
1040
|
+
children: o ? /* @__PURE__ */ e.jsx(Ra, { size: 14 }) : /* @__PURE__ */ e.jsx(Ta, { size: 14 })
|
|
1031
1041
|
}
|
|
1032
1042
|
),
|
|
1033
1043
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1055,7 +1065,7 @@ const Ma = ({
|
|
|
1055
1065
|
"aria-label": "Play video",
|
|
1056
1066
|
className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
|
|
1057
1067
|
onClick: () => u(!0),
|
|
1058
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1068
|
+
children: /* @__PURE__ */ e.jsx(xt, { size: 16, className: "translate-x-0.5" })
|
|
1059
1069
|
}
|
|
1060
1070
|
)
|
|
1061
1071
|
] })
|
|
@@ -1063,8 +1073,8 @@ const Ma = ({
|
|
|
1063
1073
|
);
|
|
1064
1074
|
}
|
|
1065
1075
|
);
|
|
1066
|
-
|
|
1067
|
-
const
|
|
1076
|
+
Va.displayName = "VideoPlayer";
|
|
1077
|
+
const Ha = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), Ft = S.forwardRef(
|
|
1068
1078
|
({
|
|
1069
1079
|
options: t,
|
|
1070
1080
|
value: r,
|
|
@@ -1077,13 +1087,13 @@ const Va = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1077
1087
|
menuClassName: u = "",
|
|
1078
1088
|
...m
|
|
1079
1089
|
}, h) => {
|
|
1080
|
-
const [o, v] =
|
|
1090
|
+
const [o, v] = S.useState(n), b = i !== void 0, j = b ? i : o, L = S.useCallback(
|
|
1081
1091
|
(y) => {
|
|
1082
1092
|
b || v(y), d?.(y);
|
|
1083
1093
|
},
|
|
1084
1094
|
[b, d]
|
|
1085
|
-
), k =
|
|
1086
|
-
|
|
1095
|
+
), k = S.useRef(null);
|
|
1096
|
+
S.useImperativeHandle(h, () => k.current), S.useEffect(() => {
|
|
1087
1097
|
if (!j) return;
|
|
1088
1098
|
const y = (_) => {
|
|
1089
1099
|
k.current?.contains(_.target) || L(!1);
|
|
@@ -1111,9 +1121,9 @@ const Va = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1111
1121
|
f
|
|
1112
1122
|
),
|
|
1113
1123
|
children: [
|
|
1114
|
-
/* @__PURE__ */ e.jsx(
|
|
1124
|
+
/* @__PURE__ */ e.jsx(Ha, {}),
|
|
1115
1125
|
/* @__PURE__ */ e.jsx(
|
|
1116
|
-
|
|
1126
|
+
ke,
|
|
1117
1127
|
{
|
|
1118
1128
|
size: 24,
|
|
1119
1129
|
className: c("transition-transform duration-200", j ? "rotate-180" : ""),
|
|
@@ -1151,8 +1161,8 @@ const Va = () => /* @__PURE__ */ e.jsx("img", { src: "https://srm-cdn.a4b.io/yod
|
|
|
1151
1161
|
] });
|
|
1152
1162
|
}
|
|
1153
1163
|
);
|
|
1154
|
-
|
|
1155
|
-
function
|
|
1164
|
+
Ft.displayName = "LanguageSwitcher";
|
|
1165
|
+
function Fr({
|
|
1156
1166
|
onBackClick: t,
|
|
1157
1167
|
backButtonAriaLabel: r = "Go back",
|
|
1158
1168
|
locale: s,
|
|
@@ -1175,11 +1185,11 @@ function Ar({
|
|
|
1175
1185
|
onClick: t,
|
|
1176
1186
|
"aria-label": r,
|
|
1177
1187
|
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)]",
|
|
1178
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1188
|
+
children: /* @__PURE__ */ e.jsx(We, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
1179
1189
|
}
|
|
1180
1190
|
),
|
|
1181
1191
|
/* @__PURE__ */ e.jsx(
|
|
1182
|
-
|
|
1192
|
+
Ft,
|
|
1183
1193
|
{
|
|
1184
1194
|
options: n,
|
|
1185
1195
|
value: s,
|
|
@@ -1191,7 +1201,7 @@ function Ar({
|
|
|
1191
1201
|
}
|
|
1192
1202
|
);
|
|
1193
1203
|
}
|
|
1194
|
-
const
|
|
1204
|
+
const Wa = S.forwardRef(
|
|
1195
1205
|
({ label: t, selected: r = !1, onClick: s, icon: n, className: i, type: d = "button", ...x }, f) => /* @__PURE__ */ e.jsxs(
|
|
1196
1206
|
"button",
|
|
1197
1207
|
{
|
|
@@ -1212,8 +1222,8 @@ const Ha = E.forwardRef(
|
|
|
1212
1222
|
}
|
|
1213
1223
|
)
|
|
1214
1224
|
);
|
|
1215
|
-
|
|
1216
|
-
const
|
|
1225
|
+
Wa.displayName = "Chip";
|
|
1226
|
+
const Br = ({
|
|
1217
1227
|
quote: t,
|
|
1218
1228
|
currentStep: r,
|
|
1219
1229
|
totalSteps: s,
|
|
@@ -1257,13 +1267,13 @@ const Fr = ({
|
|
|
1257
1267
|
] })
|
|
1258
1268
|
] });
|
|
1259
1269
|
};
|
|
1260
|
-
function
|
|
1270
|
+
function Ua(t) {
|
|
1261
1271
|
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);
|
|
1262
1272
|
}
|
|
1263
|
-
function
|
|
1273
|
+
function Ga(t) {
|
|
1264
1274
|
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);
|
|
1265
1275
|
}
|
|
1266
|
-
const
|
|
1276
|
+
const pt = 1.25, ht = [
|
|
1267
1277
|
{ x: 11.02, y: 6.38, height: 5.28 },
|
|
1268
1278
|
{ x: 16.3, y: 6.38, height: 5.28 },
|
|
1269
1279
|
{ x: 8.36, y: 3.8, height: 10.44 },
|
|
@@ -1271,7 +1281,7 @@ const ft = 1.25, pt = [
|
|
|
1271
1281
|
{ x: 5.73, y: 2.84, height: 12.32 },
|
|
1272
1282
|
{ x: 3.07, y: 6, height: 6.03 },
|
|
1273
1283
|
{ x: 0.45, y: 7.29, height: 3.37 }
|
|
1274
|
-
],
|
|
1284
|
+
], Ya = ({
|
|
1275
1285
|
animate: t,
|
|
1276
1286
|
iconIndex: r
|
|
1277
1287
|
}) => /* @__PURE__ */ e.jsx(
|
|
@@ -1283,24 +1293,24 @@ const ft = 1.25, pt = [
|
|
|
1283
1293
|
fill: "none",
|
|
1284
1294
|
"aria-hidden": !0,
|
|
1285
1295
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1286
|
-
children:
|
|
1296
|
+
children: ht.map((s, n) => /* @__PURE__ */ e.jsx(
|
|
1287
1297
|
"rect",
|
|
1288
1298
|
{
|
|
1289
1299
|
x: s.x,
|
|
1290
1300
|
y: s.y,
|
|
1291
|
-
width:
|
|
1301
|
+
width: pt,
|
|
1292
1302
|
height: s.height,
|
|
1293
|
-
rx:
|
|
1303
|
+
rx: pt / 2,
|
|
1294
1304
|
fill: "#6B7280",
|
|
1295
1305
|
className: t ? "wave-bar-anim" : "",
|
|
1296
1306
|
style: {
|
|
1297
|
-
animationDelay: `${(r *
|
|
1307
|
+
animationDelay: `${(r * ht.length + n) * 60}ms`
|
|
1298
1308
|
}
|
|
1299
1309
|
},
|
|
1300
1310
|
n
|
|
1301
1311
|
))
|
|
1302
1312
|
}
|
|
1303
|
-
),
|
|
1313
|
+
), Dr = ({
|
|
1304
1314
|
avatarUrl: t,
|
|
1305
1315
|
question: r,
|
|
1306
1316
|
description: s,
|
|
@@ -1308,8 +1318,8 @@ const ft = 1.25, pt = [
|
|
|
1308
1318
|
className: i,
|
|
1309
1319
|
...d
|
|
1310
1320
|
}) => {
|
|
1311
|
-
const x =
|
|
1312
|
-
|
|
1321
|
+
const x = S.useRef(null), f = S.useRef(!1), [u, m] = S.useState(!1), [h, o] = S.useState(!1);
|
|
1322
|
+
S.useEffect(() => {
|
|
1313
1323
|
!n || f.current || (f.current = !0, x.current?.play().catch(() => {
|
|
1314
1324
|
}));
|
|
1315
1325
|
}, [n]);
|
|
@@ -1380,11 +1390,11 @@ const ft = 1.25, pt = [
|
|
|
1380
1390
|
"aria-label": u ? "Unmute" : "Mute",
|
|
1381
1391
|
"aria-pressed": u,
|
|
1382
1392
|
className: "flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
1383
|
-
children: u ? /* @__PURE__ */ e.jsx(
|
|
1393
|
+
children: u ? /* @__PURE__ */ e.jsx(Ga, { size: 18, className: "text-[#f75e22]" }) : /* @__PURE__ */ e.jsx(Ua, { size: 18, className: "text-[#f75e22]" })
|
|
1384
1394
|
}
|
|
1385
1395
|
),
|
|
1386
1396
|
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((b) => /* @__PURE__ */ e.jsx(
|
|
1387
|
-
|
|
1397
|
+
Ya,
|
|
1388
1398
|
{
|
|
1389
1399
|
animate: h && !u,
|
|
1390
1400
|
iconIndex: b
|
|
@@ -1397,18 +1407,18 @@ const ft = 1.25, pt = [
|
|
|
1397
1407
|
]
|
|
1398
1408
|
}
|
|
1399
1409
|
);
|
|
1400
|
-
},
|
|
1410
|
+
}, qa = {
|
|
1401
1411
|
sm: "size-9",
|
|
1402
1412
|
md: "size-11",
|
|
1403
1413
|
lg: "size-16"
|
|
1404
|
-
}, Le =
|
|
1414
|
+
}, Le = S.forwardRef(
|
|
1405
1415
|
({ icon: t, avatarUrl: r, alt: s = "", size: n = "md", className: i, ...d }, x) => /* @__PURE__ */ e.jsx(
|
|
1406
1416
|
"div",
|
|
1407
1417
|
{
|
|
1408
1418
|
ref: x,
|
|
1409
1419
|
className: c(
|
|
1410
1420
|
"flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
1411
|
-
|
|
1421
|
+
qa[n],
|
|
1412
1422
|
!r && "bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",
|
|
1413
1423
|
i
|
|
1414
1424
|
),
|
|
@@ -1419,7 +1429,7 @@ const ft = 1.25, pt = [
|
|
|
1419
1429
|
)
|
|
1420
1430
|
);
|
|
1421
1431
|
Le.displayName = "IconBadge";
|
|
1422
|
-
const
|
|
1432
|
+
const Bt = S.forwardRef(
|
|
1423
1433
|
({
|
|
1424
1434
|
selected: t = !1,
|
|
1425
1435
|
onSelect: r,
|
|
@@ -1499,7 +1509,7 @@ const Ft = E.forwardRef(
|
|
|
1499
1509
|
)
|
|
1500
1510
|
}
|
|
1501
1511
|
),
|
|
1502
|
-
t && h === "check" && /* @__PURE__ */ e.jsx(
|
|
1512
|
+
t && h === "check" && /* @__PURE__ */ e.jsx(Ve, { size: 14, "aria-hidden": !0 })
|
|
1503
1513
|
]
|
|
1504
1514
|
}
|
|
1505
1515
|
)
|
|
@@ -1511,8 +1521,8 @@ const Ft = E.forwardRef(
|
|
|
1511
1521
|
}
|
|
1512
1522
|
)
|
|
1513
1523
|
);
|
|
1514
|
-
|
|
1515
|
-
const
|
|
1524
|
+
Bt.displayName = "SelectorCard";
|
|
1525
|
+
const Ir = ({
|
|
1516
1526
|
value: t,
|
|
1517
1527
|
onClick: r,
|
|
1518
1528
|
className: s,
|
|
@@ -1530,11 +1540,11 @@ const Dr = ({
|
|
|
1530
1540
|
),
|
|
1531
1541
|
...n,
|
|
1532
1542
|
children: [
|
|
1533
|
-
/* @__PURE__ */ e.jsx(
|
|
1543
|
+
/* @__PURE__ */ e.jsx(At, { size: 16, className: "shrink-0 text-gray-900", "aria-hidden": !0 }),
|
|
1534
1544
|
/* @__PURE__ */ e.jsx("span", { className: "truncate text-[15px] font-medium text-gray-900", children: t })
|
|
1535
1545
|
]
|
|
1536
1546
|
}
|
|
1537
|
-
),
|
|
1547
|
+
), Mr = ({
|
|
1538
1548
|
value: t,
|
|
1539
1549
|
onInfoClick: r,
|
|
1540
1550
|
infoLabel: s = "More info",
|
|
@@ -1557,12 +1567,12 @@ const Dr = ({
|
|
|
1557
1567
|
onClick: r,
|
|
1558
1568
|
"aria-label": s,
|
|
1559
1569
|
className: "shrink-0 border-0 bg-transparent p-0 text-gray-700",
|
|
1560
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1570
|
+
children: /* @__PURE__ */ e.jsx(ue, { size: 18, "aria-hidden": !0 })
|
|
1561
1571
|
}
|
|
1562
|
-
) : /* @__PURE__ */ e.jsx(
|
|
1572
|
+
) : /* @__PURE__ */ e.jsx(ue, { size: 18, className: "shrink-0 text-gray-700", "aria-hidden": !0 })
|
|
1563
1573
|
]
|
|
1564
1574
|
}
|
|
1565
|
-
),
|
|
1575
|
+
), Ka = ({
|
|
1566
1576
|
value: t,
|
|
1567
1577
|
className: r,
|
|
1568
1578
|
...s
|
|
@@ -1576,7 +1586,7 @@ const Dr = ({
|
|
|
1576
1586
|
...s,
|
|
1577
1587
|
children: t
|
|
1578
1588
|
}
|
|
1579
|
-
),
|
|
1589
|
+
), Za = ({ className: t, children: r, ...s }) => /* @__PURE__ */ e.jsx(
|
|
1580
1590
|
"div",
|
|
1581
1591
|
{
|
|
1582
1592
|
className: c(
|
|
@@ -1586,7 +1596,7 @@ const Dr = ({
|
|
|
1586
1596
|
...s,
|
|
1587
1597
|
children: r
|
|
1588
1598
|
}
|
|
1589
|
-
),
|
|
1599
|
+
), $r = ({
|
|
1590
1600
|
value: t,
|
|
1591
1601
|
onIncrement: r,
|
|
1592
1602
|
onDecrement: s,
|
|
@@ -1604,7 +1614,7 @@ const Dr = ({
|
|
|
1604
1614
|
x
|
|
1605
1615
|
),
|
|
1606
1616
|
children: [
|
|
1607
|
-
/* @__PURE__ */ e.jsx(
|
|
1617
|
+
/* @__PURE__ */ e.jsx(ft, { size: 20, "aria-hidden": !0 }),
|
|
1608
1618
|
d
|
|
1609
1619
|
]
|
|
1610
1620
|
}
|
|
@@ -1623,7 +1633,7 @@ const Dr = ({
|
|
|
1623
1633
|
onClick: s,
|
|
1624
1634
|
"aria-label": "Decrease quantity",
|
|
1625
1635
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",
|
|
1626
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1636
|
+
children: /* @__PURE__ */ e.jsx(Ba, { size: 18, "aria-hidden": !0 })
|
|
1627
1637
|
}
|
|
1628
1638
|
),
|
|
1629
1639
|
/* @__PURE__ */ e.jsx("span", { className: "min-w-[1ch] text-center font-['Noto_Sans'] text-base font-bold", children: t }),
|
|
@@ -1635,12 +1645,12 @@ const Dr = ({
|
|
|
1635
1645
|
disabled: i !== void 0 && t >= i,
|
|
1636
1646
|
"aria-label": "Increase quantity",
|
|
1637
1647
|
className: "inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors disabled:pointer-events-none disabled:opacity-40",
|
|
1638
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1648
|
+
children: /* @__PURE__ */ e.jsx(ft, { size: 18, "aria-hidden": !0 })
|
|
1639
1649
|
}
|
|
1640
1650
|
)
|
|
1641
1651
|
]
|
|
1642
1652
|
}
|
|
1643
|
-
),
|
|
1653
|
+
), mt = {
|
|
1644
1654
|
en: {
|
|
1645
1655
|
headerTitle: "Review your booking",
|
|
1646
1656
|
addonsTitle: "Add services for all ancestors",
|
|
@@ -1665,7 +1675,7 @@ const Dr = ({
|
|
|
1665
1675
|
checkoutRitualSingular: "पूजा-विधि",
|
|
1666
1676
|
checkoutRitualPlural: "पूजा-विधि"
|
|
1667
1677
|
}
|
|
1668
|
-
},
|
|
1678
|
+
}, Ce = (t) => mt[t] ?? mt.en, Dt = ({
|
|
1669
1679
|
title: t,
|
|
1670
1680
|
description: r,
|
|
1671
1681
|
price: s,
|
|
@@ -1692,10 +1702,10 @@ const Dr = ({
|
|
|
1692
1702
|
] })
|
|
1693
1703
|
] })
|
|
1694
1704
|
}
|
|
1695
|
-
),
|
|
1696
|
-
const { mandapTitle: s, mandapDescription: n } =
|
|
1697
|
-
return /* @__PURE__ */ e.jsx(
|
|
1698
|
-
},
|
|
1705
|
+
), Ja = ({ locale: t = "en", ...r }) => {
|
|
1706
|
+
const { mandapTitle: s, mandapDescription: n } = Ce(t);
|
|
1707
|
+
return /* @__PURE__ */ e.jsx(Dt, { title: s, description: n, ...r });
|
|
1708
|
+
}, Vr = ({
|
|
1699
1709
|
children: t = "Change",
|
|
1700
1710
|
className: r,
|
|
1701
1711
|
type: s = "button",
|
|
@@ -1710,11 +1720,11 @@ const Dr = ({
|
|
|
1710
1720
|
),
|
|
1711
1721
|
...n,
|
|
1712
1722
|
children: [
|
|
1713
|
-
/* @__PURE__ */ e.jsx(
|
|
1723
|
+
/* @__PURE__ */ e.jsx(At, { size: 14, "aria-hidden": !0 }),
|
|
1714
1724
|
t
|
|
1715
1725
|
]
|
|
1716
1726
|
}
|
|
1717
|
-
),
|
|
1727
|
+
), Hr = ({
|
|
1718
1728
|
locale: t = "en",
|
|
1719
1729
|
isAdded: r = !0,
|
|
1720
1730
|
children: s,
|
|
@@ -1731,11 +1741,11 @@ const Dr = ({
|
|
|
1731
1741
|
),
|
|
1732
1742
|
...d,
|
|
1733
1743
|
children: [
|
|
1734
|
-
r && /* @__PURE__ */ e.jsx(
|
|
1735
|
-
s ?? (r ?
|
|
1744
|
+
r && /* @__PURE__ */ e.jsx(Ve, { size: 14, "aria-hidden": !0 }),
|
|
1745
|
+
s ?? (r ? Ce(t).addedLabel : Ce(t).addLabel)
|
|
1736
1746
|
]
|
|
1737
1747
|
}
|
|
1738
|
-
),
|
|
1748
|
+
), Xa = ({
|
|
1739
1749
|
image: t,
|
|
1740
1750
|
imageAlt: r = "",
|
|
1741
1751
|
title: s,
|
|
@@ -1783,21 +1793,21 @@ const Dr = ({
|
|
|
1783
1793
|
]
|
|
1784
1794
|
}
|
|
1785
1795
|
);
|
|
1786
|
-
function
|
|
1796
|
+
function It(t) {
|
|
1787
1797
|
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);
|
|
1788
1798
|
}
|
|
1789
|
-
function
|
|
1799
|
+
function Mt(t) {
|
|
1790
1800
|
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);
|
|
1791
1801
|
}
|
|
1792
|
-
function
|
|
1802
|
+
function $t(t) {
|
|
1793
1803
|
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);
|
|
1794
1804
|
}
|
|
1795
|
-
const
|
|
1796
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(
|
|
1797
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(
|
|
1798
|
-
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(
|
|
1799
|
-
],
|
|
1800
|
-
badges: t =
|
|
1805
|
+
const Qa = [
|
|
1806
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(Mt, { "aria-hidden": !0 }), label: "100% Money Back Guarantee" },
|
|
1807
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(It, { "aria-hidden": !0 }), label: "No Hidden Cost" },
|
|
1808
|
+
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx($t, { "aria-hidden": !0 }), label: "24x7 Support" }
|
|
1809
|
+
], er = ({
|
|
1810
|
+
badges: t = Qa,
|
|
1801
1811
|
badgeClassName: r,
|
|
1802
1812
|
className: s,
|
|
1803
1813
|
...n
|
|
@@ -1822,7 +1832,7 @@ const Xa = [
|
|
|
1822
1832
|
i.id
|
|
1823
1833
|
))
|
|
1824
1834
|
}
|
|
1825
|
-
),
|
|
1835
|
+
), bt = {
|
|
1826
1836
|
en: {
|
|
1827
1837
|
proceedLabel: "Proceed"
|
|
1828
1838
|
},
|
|
@@ -1832,7 +1842,7 @@ const Xa = [
|
|
|
1832
1842
|
te: {
|
|
1833
1843
|
proceedLabel: "ముందుకు సాగండి"
|
|
1834
1844
|
}
|
|
1835
|
-
},
|
|
1845
|
+
}, tr = (t) => bt[t] ?? bt.en, Ue = ({
|
|
1836
1846
|
locale: t = "en",
|
|
1837
1847
|
amount: r,
|
|
1838
1848
|
amountClassName: s,
|
|
@@ -1842,7 +1852,7 @@ const Xa = [
|
|
|
1842
1852
|
onInfoClick: x,
|
|
1843
1853
|
infoIconClassName: f,
|
|
1844
1854
|
proceedLabel: u,
|
|
1845
|
-
proceedIcon: m = /* @__PURE__ */ e.jsx(
|
|
1855
|
+
proceedIcon: m = /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
1846
1856
|
onProceed: h,
|
|
1847
1857
|
proceedButtonProps: o,
|
|
1848
1858
|
buttonWrapperClassName: v,
|
|
@@ -1863,17 +1873,17 @@ const Xa = [
|
|
|
1863
1873
|
!x && "pointer-events-none",
|
|
1864
1874
|
f
|
|
1865
1875
|
),
|
|
1866
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1876
|
+
children: /* @__PURE__ */ e.jsx(ue, { size: 18, "aria-hidden": !0 })
|
|
1867
1877
|
}
|
|
1868
1878
|
)
|
|
1869
1879
|
] }),
|
|
1870
1880
|
n && /* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", i), children: n })
|
|
1871
1881
|
] }),
|
|
1872
1882
|
/* @__PURE__ */ e.jsx("div", { className: c("shrink-0", v), children: /* @__PURE__ */ e.jsxs(q, { variant: "primary", size: "xl", onClick: h, ...o, className: c("min-w-40 justify-center gap-2 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]", o?.className), children: [
|
|
1873
|
-
u ??
|
|
1883
|
+
u ?? tr(t).proceedLabel,
|
|
1874
1884
|
m
|
|
1875
1885
|
] }) })
|
|
1876
|
-
] }),
|
|
1886
|
+
] }), gt = {
|
|
1877
1887
|
en: {
|
|
1878
1888
|
title: "Select the number of people performing the Puja (Karta)",
|
|
1879
1889
|
description: "Performing the puja together with the whole family brings ancestors’ blessings and family prosperity",
|
|
@@ -1916,7 +1926,7 @@ const Xa = [
|
|
|
1916
1926
|
support: "కస్టమర్ సపోర్ట్"
|
|
1917
1927
|
}
|
|
1918
1928
|
}
|
|
1919
|
-
},
|
|
1929
|
+
}, ar = (t) => gt[t] ?? gt.en, Wr = ({
|
|
1920
1930
|
locale: t = "en",
|
|
1921
1931
|
title: r,
|
|
1922
1932
|
description: s,
|
|
@@ -1935,11 +1945,11 @@ const Xa = [
|
|
|
1935
1945
|
stickyFooter: L = !0,
|
|
1936
1946
|
footerClassName: k
|
|
1937
1947
|
}) => {
|
|
1938
|
-
const w =
|
|
1948
|
+
const w = ar(t), y = r ?? w.title, g = s ?? w.description, _ = n ?? w.benefits, O = b ?? {
|
|
1939
1949
|
badges: [
|
|
1940
|
-
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(
|
|
1941
|
-
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(
|
|
1942
|
-
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx(
|
|
1950
|
+
{ id: "money-back", icon: /* @__PURE__ */ e.jsx(Mt, { "aria-hidden": !0 }), label: w.trustBadgeLabels.moneyBack },
|
|
1951
|
+
{ id: "no-hidden-cost", icon: /* @__PURE__ */ e.jsx(It, { "aria-hidden": !0 }), label: w.trustBadgeLabels.noHiddenCost },
|
|
1952
|
+
{ id: "24x7-support", icon: /* @__PURE__ */ e.jsx($t, { "aria-hidden": !0 }), label: w.trustBadgeLabels.support }
|
|
1943
1953
|
]
|
|
1944
1954
|
};
|
|
1945
1955
|
return /* @__PURE__ */ e.jsxs("div", { className: c("w-full", m), children: [
|
|
@@ -1948,7 +1958,7 @@ const Xa = [
|
|
|
1948
1958
|
g && /* @__PURE__ */ e.jsx("p", { className: "mt-2 text-[14px] leading-5.5 text-gray-500", children: g })
|
|
1949
1959
|
] }),
|
|
1950
1960
|
_ && _.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5", o), children: _.map((F, U) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
1951
|
-
/* @__PURE__ */ e.jsx(
|
|
1961
|
+
/* @__PURE__ */ e.jsx(Ve, { size: 18, className: "mt-0.5 shrink-0 text-emerald-600", "aria-hidden": !0 }),
|
|
1952
1962
|
/* @__PURE__ */ e.jsx("span", { className: "text-[14px] leading-5.5 text-gray-600", children: F })
|
|
1953
1963
|
] }, U)) }),
|
|
1954
1964
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1970,9 +1980,9 @@ const Xa = [
|
|
|
1970
1980
|
iconClassName: J,
|
|
1971
1981
|
radioVariant: X,
|
|
1972
1982
|
...Q
|
|
1973
|
-
} = F, ae = d === U, re = D ?? (G == null ? void 0 : K ? /* @__PURE__ */ e.jsx("span", { className: c("text-sm font-medium text-gray-400", Y?.className), ...Y, children: G }) : /* @__PURE__ */ e.jsx(
|
|
1983
|
+
} = F, ae = d === U, re = D ?? (G == null ? void 0 : K ? /* @__PURE__ */ e.jsx("span", { className: c("text-sm font-medium text-gray-400", Y?.className), ...Y, children: G }) : /* @__PURE__ */ e.jsx(Ka, { value: G, ...Y }));
|
|
1974
1984
|
return /* @__PURE__ */ e.jsx(
|
|
1975
|
-
|
|
1985
|
+
Bt,
|
|
1976
1986
|
{
|
|
1977
1987
|
...Q,
|
|
1978
1988
|
iconClassName: c("size-10", J),
|
|
@@ -1980,7 +1990,7 @@ const Xa = [
|
|
|
1980
1990
|
badge: re,
|
|
1981
1991
|
selected: ae,
|
|
1982
1992
|
onSelect: () => x(U),
|
|
1983
|
-
children: H ?? (ae && Z && /* @__PURE__ */ e.jsx(
|
|
1993
|
+
children: H ?? (ae && Z && /* @__PURE__ */ e.jsx(Za, { ...M, children: Z }))
|
|
1984
1994
|
},
|
|
1985
1995
|
U
|
|
1986
1996
|
);
|
|
@@ -1988,11 +1998,11 @@ const Xa = [
|
|
|
1988
1998
|
}
|
|
1989
1999
|
),
|
|
1990
2000
|
(O || j) && /* @__PURE__ */ e.jsxs("div", { className: c(L && "sticky bottom-0 z-10", k), children: [
|
|
1991
|
-
O && /* @__PURE__ */ e.jsx(
|
|
1992
|
-
j && /* @__PURE__ */ e.jsx(
|
|
2001
|
+
O && /* @__PURE__ */ e.jsx(er, { ...O }),
|
|
2002
|
+
j && /* @__PURE__ */ e.jsx(Ue, { ...j })
|
|
1993
2003
|
] })
|
|
1994
2004
|
] });
|
|
1995
|
-
},
|
|
2005
|
+
}, vt = {
|
|
1996
2006
|
en: {
|
|
1997
2007
|
title: "Pitru Paksha Special Rituals",
|
|
1998
2008
|
ancestorsLabel: "Ancestors",
|
|
@@ -2005,9 +2015,9 @@ const Xa = [
|
|
|
2005
2015
|
ritualsLabel: "पूजा विधि",
|
|
2006
2016
|
performersLabel: "कर्ता"
|
|
2007
2017
|
}
|
|
2008
|
-
},
|
|
2018
|
+
}, rr = (t) => vt[t] ?? vt.en, sr = ({
|
|
2009
2019
|
locale: t = "en",
|
|
2010
|
-
icon: r = /* @__PURE__ */ e.jsx(
|
|
2020
|
+
icon: r = /* @__PURE__ */ e.jsx(zt, { "aria-hidden": !0 }),
|
|
2011
2021
|
iconClassName: s,
|
|
2012
2022
|
title: n,
|
|
2013
2023
|
titleClassName: i,
|
|
@@ -2019,7 +2029,7 @@ const Xa = [
|
|
|
2019
2029
|
className: h,
|
|
2020
2030
|
...o
|
|
2021
2031
|
}) => {
|
|
2022
|
-
const v =
|
|
2032
|
+
const v = rr(t), b = n ?? v.title, j = x ?? (f && [
|
|
2023
2033
|
`${f.ancestors} ${v.ancestorsLabel}`,
|
|
2024
2034
|
`${f.rituals} ${v.ritualsLabel}`,
|
|
2025
2035
|
`${f.performers} ${v.performersLabel}`
|
|
@@ -2029,12 +2039,12 @@ const Xa = [
|
|
|
2029
2039
|
r && /* @__PURE__ */ e.jsx("span", { className: c("shrink-0 text-sm", s), children: r }),
|
|
2030
2040
|
b
|
|
2031
2041
|
] }),
|
|
2032
|
-
(d || j && j.length > 0) && /* @__PURE__ */ e.jsx("p", { className: c("mt-2 text-[15px] font-semibold text-[#1d2125]", u), children: j && j.length > 0 ? j.map((L, k) => /* @__PURE__ */ e.jsxs(
|
|
2042
|
+
(d || j && j.length > 0) && /* @__PURE__ */ e.jsx("p", { className: c("mt-2 text-[15px] font-semibold text-[#1d2125]", u), children: j && j.length > 0 ? j.map((L, k) => /* @__PURE__ */ e.jsxs(S.Fragment, { children: [
|
|
2033
2043
|
k > 0 && /* @__PURE__ */ e.jsx("span", { className: "mx-1.5 text-gray-400", children: "•" }),
|
|
2034
2044
|
L
|
|
2035
2045
|
] }, k)) : d })
|
|
2036
2046
|
] }) });
|
|
2037
|
-
},
|
|
2047
|
+
}, jt = {
|
|
2038
2048
|
en: {
|
|
2039
2049
|
title: "Bill Details",
|
|
2040
2050
|
totalLabel: "Total Amount"
|
|
@@ -2043,7 +2053,7 @@ const Xa = [
|
|
|
2043
2053
|
title: "बिल विवरण",
|
|
2044
2054
|
totalLabel: "कुल राशि"
|
|
2045
2055
|
}
|
|
2046
|
-
},
|
|
2056
|
+
}, nr = (t) => jt[t] ?? jt.en, lr = ({
|
|
2047
2057
|
locale: t = "en",
|
|
2048
2058
|
titleClassName: r,
|
|
2049
2059
|
rows: s,
|
|
@@ -2054,7 +2064,7 @@ const Xa = [
|
|
|
2054
2064
|
className: f,
|
|
2055
2065
|
...u
|
|
2056
2066
|
}) => {
|
|
2057
|
-
const { title: m, totalLabel: h } =
|
|
2067
|
+
const { title: m, totalLabel: h } = nr(t);
|
|
2058
2068
|
return /* @__PURE__ */ e.jsxs("div", { className: c("bg-white px-4 py-6", f), ...u, children: [
|
|
2059
2069
|
/* @__PURE__ */ e.jsxs("h2", { className: c("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]", r), children: [
|
|
2060
2070
|
i && /* @__PURE__ */ e.jsx("span", { "aria-hidden": !0, className: "block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]" }),
|
|
@@ -2076,7 +2086,7 @@ const Xa = [
|
|
|
2076
2086
|
/* @__PURE__ */ e.jsx("span", { className: "text-base font-bold text-emerald-600", children: d })
|
|
2077
2087
|
] })
|
|
2078
2088
|
] });
|
|
2079
|
-
},
|
|
2089
|
+
}, Ur = ({
|
|
2080
2090
|
locale: t = "en",
|
|
2081
2091
|
onBack: r,
|
|
2082
2092
|
backButtonAriaLabel: s = "Go back",
|
|
@@ -2101,7 +2111,7 @@ const Xa = [
|
|
|
2101
2111
|
children: O,
|
|
2102
2112
|
...F
|
|
2103
2113
|
}) => {
|
|
2104
|
-
const { headerTitle: U, addonsTitle: G, addonsDescription: K, checkoutProceedLabel: D, checkoutRitualSingular: Y, checkoutRitualPlural: Z } =
|
|
2114
|
+
const { headerTitle: U, addonsTitle: G, addonsDescription: K, checkoutProceedLabel: D, checkoutRitualSingular: Y, checkoutRitualPlural: Z } = Ce(t), { price: M, ritualCount: H, ...J } = g ?? {};
|
|
2105
2115
|
return /* @__PURE__ */ e.jsxs("div", { className: c("flex min-h-screen flex-col bg-white", _), ...F, children: [
|
|
2106
2116
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
2107
2117
|
/* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3 px-4 py-3", n), children: [
|
|
@@ -2115,15 +2125,15 @@ const Xa = [
|
|
|
2115
2125
|
"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",
|
|
2116
2126
|
i
|
|
2117
2127
|
),
|
|
2118
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2128
|
+
children: /* @__PURE__ */ e.jsx(We, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
2119
2129
|
}
|
|
2120
2130
|
),
|
|
2121
2131
|
/* @__PURE__ */ e.jsx("h1", { className: c("text-lg font-bold text-[#1d2125]", d), children: U })
|
|
2122
2132
|
] }),
|
|
2123
|
-
x && /* @__PURE__ */ e.jsx(
|
|
2133
|
+
x && /* @__PURE__ */ e.jsx(sr, { ...x }),
|
|
2124
2134
|
f && f.length > 0 && /* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-3 bg-white px-4 py-4", u), children: f.map(
|
|
2125
2135
|
({ id: X, className: Q, isMandapCharge: ae, ...re }) => ae ? /* @__PURE__ */ e.jsx(
|
|
2126
|
-
|
|
2136
|
+
Ja,
|
|
2127
2137
|
{
|
|
2128
2138
|
locale: t,
|
|
2129
2139
|
className: c(m, Q),
|
|
@@ -2131,7 +2141,7 @@ const Xa = [
|
|
|
2131
2141
|
},
|
|
2132
2142
|
X
|
|
2133
2143
|
) : /* @__PURE__ */ e.jsx(
|
|
2134
|
-
|
|
2144
|
+
Dt,
|
|
2135
2145
|
{
|
|
2136
2146
|
className: c(m, Q),
|
|
2137
2147
|
...re
|
|
@@ -2144,14 +2154,14 @@ const Xa = [
|
|
|
2144
2154
|
/* @__PURE__ */ e.jsx("h2", { className: c("text-base font-bold text-gray-700", b), children: G }),
|
|
2145
2155
|
/* @__PURE__ */ e.jsx("p", { className: c("mt-1 text-sm text-gray-500", j), children: K })
|
|
2146
2156
|
] }),
|
|
2147
|
-
/* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-4", L), children: h.map(({ id: X, className: Q, ...ae }) => /* @__PURE__ */ e.jsx(
|
|
2157
|
+
/* @__PURE__ */ e.jsx("div", { className: c("flex flex-col gap-4", L), children: h.map(({ id: X, className: Q, ...ae }) => /* @__PURE__ */ e.jsx(Xa, { className: c(k, Q), ...ae }, X)) })
|
|
2148
2158
|
] }),
|
|
2149
|
-
w && /* @__PURE__ */ e.jsx(
|
|
2150
|
-
y && /* @__PURE__ */ e.jsx(
|
|
2159
|
+
w && /* @__PURE__ */ e.jsx(lr, { ...w, locale: t }),
|
|
2160
|
+
y && /* @__PURE__ */ e.jsx($a, { ...y }),
|
|
2151
2161
|
O
|
|
2152
2162
|
] }),
|
|
2153
2163
|
g && /* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0", children: /* @__PURE__ */ e.jsx(
|
|
2154
|
-
|
|
2164
|
+
Ue,
|
|
2155
2165
|
{
|
|
2156
2166
|
...J,
|
|
2157
2167
|
locale: t,
|
|
@@ -2161,7 +2171,7 @@ const Xa = [
|
|
|
2161
2171
|
}
|
|
2162
2172
|
) })
|
|
2163
2173
|
] });
|
|
2164
|
-
}, ne =
|
|
2174
|
+
}, ne = S.forwardRef(
|
|
2165
2175
|
({
|
|
2166
2176
|
label: t,
|
|
2167
2177
|
value: r,
|
|
@@ -2177,7 +2187,7 @@ const Xa = [
|
|
|
2177
2187
|
id: o,
|
|
2178
2188
|
...v
|
|
2179
2189
|
}, b) => {
|
|
2180
|
-
const j =
|
|
2190
|
+
const j = S.useId(), L = o ?? j, k = d ?? (i ? `${r.length}${h ? `/${h}` : ""}` : void 0);
|
|
2181
2191
|
return /* @__PURE__ */ e.jsxs("div", { className: c("flex w-full flex-col gap-2", u), children: [
|
|
2182
2192
|
t && /* @__PURE__ */ e.jsx("label", { htmlFor: L, className: "text-[14px] leading-5 font-semibold text-[#6b7280]", children: t }),
|
|
2183
2193
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-1", children: [
|
|
@@ -2216,7 +2226,7 @@ const Xa = [
|
|
|
2216
2226
|
}
|
|
2217
2227
|
);
|
|
2218
2228
|
ne.displayName = "TextField";
|
|
2219
|
-
function
|
|
2229
|
+
function Gr({
|
|
2220
2230
|
isOpen: t,
|
|
2221
2231
|
onClose: r,
|
|
2222
2232
|
avatarUrl: s,
|
|
@@ -2230,7 +2240,7 @@ function Ur({
|
|
|
2230
2240
|
u && x(u);
|
|
2231
2241
|
};
|
|
2232
2242
|
return /* @__PURE__ */ e.jsx(
|
|
2233
|
-
|
|
2243
|
+
_e,
|
|
2234
2244
|
{
|
|
2235
2245
|
isOpen: t,
|
|
2236
2246
|
onClose: r,
|
|
@@ -2274,15 +2284,15 @@ function Ur({
|
|
|
2274
2284
|
}
|
|
2275
2285
|
);
|
|
2276
2286
|
}
|
|
2277
|
-
const
|
|
2287
|
+
const ye = 48;
|
|
2278
2288
|
function Ae({ options: t, selectedIndex: r, onChange: s }) {
|
|
2279
|
-
const n =
|
|
2280
|
-
|
|
2281
|
-
i.current || !n.current || (i.current = !0, n.current.scrollTop = r *
|
|
2289
|
+
const n = S.useRef(null), i = S.useRef(!1);
|
|
2290
|
+
S.useEffect(() => {
|
|
2291
|
+
i.current || !n.current || (i.current = !0, n.current.scrollTop = r * ye);
|
|
2282
2292
|
}, []);
|
|
2283
2293
|
const d = () => {
|
|
2284
2294
|
if (!n.current) return;
|
|
2285
|
-
const x = Math.round(n.current.scrollTop /
|
|
2295
|
+
const x = Math.round(n.current.scrollTop / ye), f = Math.max(0, Math.min(t.length - 1, x));
|
|
2286
2296
|
f !== r && s(f);
|
|
2287
2297
|
};
|
|
2288
2298
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative h-36 w-full", children: [
|
|
@@ -2294,7 +2304,7 @@ function Ae({ options: t, selectedIndex: r, onChange: s }) {
|
|
|
2294
2304
|
className: "h-36 snap-y snap-mandatory overflow-y-auto [&::-webkit-scrollbar]:hidden",
|
|
2295
2305
|
style: { scrollbarWidth: "none" },
|
|
2296
2306
|
children: [
|
|
2297
|
-
/* @__PURE__ */ e.jsx("div", { style: { height:
|
|
2307
|
+
/* @__PURE__ */ e.jsx("div", { style: { height: ye }, "aria-hidden": !0 }),
|
|
2298
2308
|
t.map((x, f) => /* @__PURE__ */ e.jsx(
|
|
2299
2309
|
"div",
|
|
2300
2310
|
{
|
|
@@ -2303,7 +2313,7 @@ function Ae({ options: t, selectedIndex: r, onChange: s }) {
|
|
|
2303
2313
|
},
|
|
2304
2314
|
x
|
|
2305
2315
|
)),
|
|
2306
|
-
/* @__PURE__ */ e.jsx("div", { style: { height:
|
|
2316
|
+
/* @__PURE__ */ e.jsx("div", { style: { height: ye }, "aria-hidden": !0 })
|
|
2307
2317
|
]
|
|
2308
2318
|
}
|
|
2309
2319
|
),
|
|
@@ -2312,7 +2322,7 @@ function Ae({ options: t, selectedIndex: r, onChange: s }) {
|
|
|
2312
2322
|
] });
|
|
2313
2323
|
}
|
|
2314
2324
|
const Fe = Array.from({ length: 31 }, (t, r) => r + 1);
|
|
2315
|
-
function
|
|
2325
|
+
function Yr({
|
|
2316
2326
|
isOpen: t,
|
|
2317
2327
|
onClose: r,
|
|
2318
2328
|
avatarUrl: s,
|
|
@@ -2325,7 +2335,7 @@ function Gr({
|
|
|
2325
2335
|
minYear: m,
|
|
2326
2336
|
maxYear: h = (/* @__PURE__ */ new Date()).getFullYear()
|
|
2327
2337
|
}) {
|
|
2328
|
-
const o =
|
|
2338
|
+
const o = ma(() => {
|
|
2329
2339
|
const g = m ?? h - 120;
|
|
2330
2340
|
return Array.from({ length: h - g + 1 }, (_, O) => g + O);
|
|
2331
2341
|
}, [m, h]), [v, b] = V(() => u ? u.day - 1 : Math.floor(Fe.length / 2)), [j, L] = V(() => u ? u.month - 1 : 0), [k, w] = V(
|
|
@@ -2334,7 +2344,7 @@ function Gr({
|
|
|
2334
2344
|
x({ day: Fe[v], month: j + 1, year: o[k] });
|
|
2335
2345
|
};
|
|
2336
2346
|
return /* @__PURE__ */ e.jsx(
|
|
2337
|
-
|
|
2347
|
+
_e,
|
|
2338
2348
|
{
|
|
2339
2349
|
isOpen: t,
|
|
2340
2350
|
onClose: r,
|
|
@@ -2363,7 +2373,7 @@ function Gr({
|
|
|
2363
2373
|
}
|
|
2364
2374
|
);
|
|
2365
2375
|
}
|
|
2366
|
-
function
|
|
2376
|
+
function qr({
|
|
2367
2377
|
isOpen: t,
|
|
2368
2378
|
onClose: r,
|
|
2369
2379
|
heading: s,
|
|
@@ -2371,13 +2381,13 @@ function Yr({
|
|
|
2371
2381
|
confirmLabel: i,
|
|
2372
2382
|
onConfirm: d,
|
|
2373
2383
|
initialValue: x = "",
|
|
2374
|
-
countries: f =
|
|
2384
|
+
countries: f = pa,
|
|
2375
2385
|
initialCountryIso: u = "IN"
|
|
2376
2386
|
}) {
|
|
2377
2387
|
const [m, h] = V(
|
|
2378
2388
|
() => f.find((_) => _.iso === u) ?? f[0]
|
|
2379
|
-
), [o, v] = V(x), [b, j] = V(!1), L =
|
|
2380
|
-
|
|
2389
|
+
), [o, v] = V(x), [b, j] = V(!1), L = Pt(null);
|
|
2390
|
+
Tt(() => {
|
|
2381
2391
|
if (!b) return;
|
|
2382
2392
|
const _ = (O) => {
|
|
2383
2393
|
L.current && !L.current.contains(O.target) && j(!1);
|
|
@@ -2390,7 +2400,7 @@ function Yr({
|
|
|
2390
2400
|
w && d(o, m);
|
|
2391
2401
|
};
|
|
2392
2402
|
return /* @__PURE__ */ e.jsx(
|
|
2393
|
-
|
|
2403
|
+
$e,
|
|
2394
2404
|
{
|
|
2395
2405
|
isOpen: t,
|
|
2396
2406
|
onClose: r,
|
|
@@ -2403,7 +2413,7 @@ function Yr({
|
|
|
2403
2413
|
variant: "primary",
|
|
2404
2414
|
size: "xl",
|
|
2405
2415
|
className: "w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",
|
|
2406
|
-
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2416
|
+
rightIcon: /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
2407
2417
|
disabled: !w,
|
|
2408
2418
|
onClick: g,
|
|
2409
2419
|
children: i
|
|
@@ -2425,7 +2435,7 @@ function Yr({
|
|
|
2425
2435
|
children: [
|
|
2426
2436
|
/* @__PURE__ */ e.jsx("span", { className: "text-[20px] leading-7", "aria-hidden": !0, children: Me(m.iso) }),
|
|
2427
2437
|
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] leading-6 font-medium text-[#1d2125]", children: m.code }),
|
|
2428
|
-
/* @__PURE__ */ e.jsx(
|
|
2438
|
+
/* @__PURE__ */ e.jsx(ke, { size: 24, className: "text-[#1d2125]", "aria-hidden": !0 })
|
|
2429
2439
|
]
|
|
2430
2440
|
}
|
|
2431
2441
|
),
|
|
@@ -2471,8 +2481,8 @@ function Yr({
|
|
|
2471
2481
|
}
|
|
2472
2482
|
);
|
|
2473
2483
|
}
|
|
2474
|
-
const
|
|
2475
|
-
function
|
|
2484
|
+
const ir = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
2485
|
+
function Kr({
|
|
2476
2486
|
isOpen: t,
|
|
2477
2487
|
onClose: r,
|
|
2478
2488
|
heading: s,
|
|
@@ -2482,11 +2492,11 @@ function qr({
|
|
|
2482
2492
|
initialValue: x = "",
|
|
2483
2493
|
errorText: f = "Please enter a valid email"
|
|
2484
2494
|
}) {
|
|
2485
|
-
const [u, m] = V(x), [h, o] = V(!1), v = u.trim(), b =
|
|
2495
|
+
const [u, m] = V(x), [h, o] = V(!1), v = u.trim(), b = ir.test(v), j = h && v.length > 0 && !b, L = () => {
|
|
2486
2496
|
b && d(v);
|
|
2487
2497
|
};
|
|
2488
2498
|
return /* @__PURE__ */ e.jsx(
|
|
2489
|
-
|
|
2499
|
+
_e,
|
|
2490
2500
|
{
|
|
2491
2501
|
isOpen: t,
|
|
2492
2502
|
onClose: r,
|
|
@@ -2498,7 +2508,7 @@ function qr({
|
|
|
2498
2508
|
variant: "primary",
|
|
2499
2509
|
size: "xl",
|
|
2500
2510
|
className: "w-full rounded-xl",
|
|
2501
|
-
rightIcon: /* @__PURE__ */ e.jsx(
|
|
2511
|
+
rightIcon: /* @__PURE__ */ e.jsx(He, { "aria-hidden": !0 }),
|
|
2502
2512
|
disabled: !b,
|
|
2503
2513
|
onClick: L,
|
|
2504
2514
|
children: i
|
|
@@ -2528,14 +2538,14 @@ function qr({
|
|
|
2528
2538
|
}
|
|
2529
2539
|
);
|
|
2530
2540
|
}
|
|
2531
|
-
function
|
|
2541
|
+
function or(t) {
|
|
2532
2542
|
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);
|
|
2533
2543
|
}
|
|
2534
|
-
function
|
|
2544
|
+
function cr(t) {
|
|
2535
2545
|
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);
|
|
2536
2546
|
}
|
|
2537
|
-
const
|
|
2538
|
-
function
|
|
2547
|
+
const dr = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
2548
|
+
function Zr({
|
|
2539
2549
|
chipNumber: t,
|
|
2540
2550
|
chipLabel: r,
|
|
2541
2551
|
isAdded: s,
|
|
@@ -2589,7 +2599,7 @@ function Kr({
|
|
|
2589
2599
|
className: "flex size-8 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white p-0",
|
|
2590
2600
|
onClick: n,
|
|
2591
2601
|
"aria-label": i,
|
|
2592
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2602
|
+
children: /* @__PURE__ */ e.jsx(or, { "aria-hidden": !0, className: "size-[18px] text-[#1D2125]" })
|
|
2593
2603
|
}
|
|
2594
2604
|
),
|
|
2595
2605
|
!s && /* @__PURE__ */ e.jsx(
|
|
@@ -2603,7 +2613,7 @@ function Kr({
|
|
|
2603
2613
|
"aria-label": x,
|
|
2604
2614
|
"aria-expanded": G,
|
|
2605
2615
|
children: /* @__PURE__ */ e.jsx(
|
|
2606
|
-
|
|
2616
|
+
cr,
|
|
2607
2617
|
{
|
|
2608
2618
|
"aria-hidden": !0,
|
|
2609
2619
|
className: `size-8 text-[#1D2125] ${G ? "" : "-scale-y-100"}`
|
|
@@ -2639,7 +2649,7 @@ function Kr({
|
|
|
2639
2649
|
onClick: L,
|
|
2640
2650
|
children: [
|
|
2641
2651
|
j,
|
|
2642
|
-
/* @__PURE__ */ e.jsx(
|
|
2652
|
+
/* @__PURE__ */ e.jsx(Da, { "aria-hidden": !0, className: "size-3.5 text-[#F75E22]" })
|
|
2643
2653
|
]
|
|
2644
2654
|
}
|
|
2645
2655
|
),
|
|
@@ -2647,11 +2657,11 @@ function Kr({
|
|
|
2647
2657
|
/* @__PURE__ */ e.jsx("hr", { className: "w-full border-t border-gray-100" }),
|
|
2648
2658
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col items-start gap-2", children: [
|
|
2649
2659
|
w != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2650
|
-
/* @__PURE__ */ e.jsx(
|
|
2660
|
+
/* @__PURE__ */ e.jsx(Ma, { "aria-hidden": !0, className: "size-3.5 shrink-0 text-gray-700" }),
|
|
2651
2661
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: w })
|
|
2652
2662
|
] }),
|
|
2653
2663
|
y != null && /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2", children: [
|
|
2654
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
2664
|
+
/* @__PURE__ */ e.jsx("img", { src: dr, alt: "", "aria-hidden": !0, className: "size-3.5 shrink-0" }),
|
|
2655
2665
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium leading-4 text-gray-700", children: y })
|
|
2656
2666
|
] })
|
|
2657
2667
|
] })
|
|
@@ -2668,7 +2678,7 @@ function Kr({
|
|
|
2668
2678
|
className: "flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",
|
|
2669
2679
|
onClick: _,
|
|
2670
2680
|
"aria-label": "More info",
|
|
2671
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2681
|
+
children: /* @__PURE__ */ e.jsx(ue, { "aria-hidden": !0, className: "size-4 text-[#1D2125]" })
|
|
2672
2682
|
}
|
|
2673
2683
|
)
|
|
2674
2684
|
] }),
|
|
@@ -2681,19 +2691,19 @@ function Kr({
|
|
|
2681
2691
|
}
|
|
2682
2692
|
);
|
|
2683
2693
|
}
|
|
2684
|
-
const
|
|
2694
|
+
const ur = {
|
|
2685
2695
|
primary: "border border-transparent pl-3 pr-4 text-white",
|
|
2686
2696
|
secondary: "border border-[#159169] px-3 text-[#159169]",
|
|
2687
2697
|
accent: "border border-transparent px-4 text-white"
|
|
2688
|
-
},
|
|
2698
|
+
}, xr = {
|
|
2689
2699
|
md: "h-10 gap-2 rounded-lg text-xs font-semibold leading-4",
|
|
2690
2700
|
lg: "h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"
|
|
2691
|
-
},
|
|
2701
|
+
}, fr = {
|
|
2692
2702
|
primary: { backgroundImage: "linear-gradient(to bottom, #5eb98e, #159169)" },
|
|
2693
2703
|
secondary: { backgroundImage: "linear-gradient(to bottom, #ffffff, #edf5f2)" },
|
|
2694
2704
|
accent: { backgroundImage: "linear-gradient(to bottom, #f97e4e, #f75e22)" }
|
|
2695
2705
|
};
|
|
2696
|
-
function
|
|
2706
|
+
function Jr({
|
|
2697
2707
|
variant: t = "primary",
|
|
2698
2708
|
size: r = "md",
|
|
2699
2709
|
leftIcon: s,
|
|
@@ -2707,8 +2717,8 @@ function Zr({
|
|
|
2707
2717
|
"button",
|
|
2708
2718
|
{
|
|
2709
2719
|
type: x,
|
|
2710
|
-
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${
|
|
2711
|
-
style: { ...
|
|
2720
|
+
className: `inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${xr[r]} ${ur[t]} ${i}`,
|
|
2721
|
+
style: { ...fr[t], ...d },
|
|
2712
2722
|
...f,
|
|
2713
2723
|
children: [
|
|
2714
2724
|
s,
|
|
@@ -2717,7 +2727,7 @@ function Zr({
|
|
|
2717
2727
|
}
|
|
2718
2728
|
);
|
|
2719
2729
|
}
|
|
2720
|
-
function
|
|
2730
|
+
function Xr({ className: t = "size-5" }) {
|
|
2721
2731
|
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(
|
|
2722
2732
|
"path",
|
|
2723
2733
|
{
|
|
@@ -2726,7 +2736,7 @@ function Jr({ className: t = "size-5" }) {
|
|
|
2726
2736
|
}
|
|
2727
2737
|
) });
|
|
2728
2738
|
}
|
|
2729
|
-
function
|
|
2739
|
+
function Qr({ className: t = "size-5" }) {
|
|
2730
2740
|
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(
|
|
2731
2741
|
"path",
|
|
2732
2742
|
{
|
|
@@ -2735,7 +2745,7 @@ function Xr({ className: t = "size-5" }) {
|
|
|
2735
2745
|
}
|
|
2736
2746
|
) });
|
|
2737
2747
|
}
|
|
2738
|
-
const
|
|
2748
|
+
const yt = {
|
|
2739
2749
|
en: {
|
|
2740
2750
|
heading: "Check the details to book your puja procedure",
|
|
2741
2751
|
subtext: "These names and gotra will be taken by the priest",
|
|
@@ -2766,11 +2776,11 @@ const jt = {
|
|
|
2766
2776
|
editDetailsLabel: "మార్చండి",
|
|
2767
2777
|
payButtonTemplate: "{amount} చెల్లించండి"
|
|
2768
2778
|
}
|
|
2769
|
-
},
|
|
2770
|
-
function
|
|
2779
|
+
}, pr = (t) => yt[t] ?? yt.en;
|
|
2780
|
+
function Nt({ children: t }) {
|
|
2771
2781
|
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 });
|
|
2772
2782
|
}
|
|
2773
|
-
function
|
|
2783
|
+
function hr({
|
|
2774
2784
|
isOpen: t,
|
|
2775
2785
|
onClose: r,
|
|
2776
2786
|
locale: s = "en",
|
|
@@ -2783,9 +2793,9 @@ function pr({
|
|
|
2783
2793
|
onProceedPayment: m,
|
|
2784
2794
|
className: h
|
|
2785
2795
|
}) {
|
|
2786
|
-
const o =
|
|
2796
|
+
const o = pr(s), v = o.payButtonTemplate.replace("{amount}", f);
|
|
2787
2797
|
return /* @__PURE__ */ e.jsx(
|
|
2788
|
-
|
|
2798
|
+
$e,
|
|
2789
2799
|
{
|
|
2790
2800
|
isOpen: t,
|
|
2791
2801
|
onClose: r,
|
|
@@ -2822,7 +2832,7 @@ function pr({
|
|
|
2822
2832
|
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: [
|
|
2823
2833
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
2824
2834
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: o.ancestorsLabel }),
|
|
2825
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((b) => /* @__PURE__ */ e.jsxs(
|
|
2835
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: n.map((b) => /* @__PURE__ */ e.jsxs(Nt, { children: [
|
|
2826
2836
|
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: b.value }),
|
|
2827
2837
|
b.label && /* @__PURE__ */ e.jsxs("span", { className: "text-[10px] leading-3.5 font-medium text-[#6b7280]", children: [
|
|
2828
2838
|
"(",
|
|
@@ -2834,7 +2844,7 @@ function pr({
|
|
|
2834
2844
|
/* @__PURE__ */ e.jsx("div", { className: "h-px w-full bg-[#e5e7eb]" }),
|
|
2835
2845
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-3 px-3", children: [
|
|
2836
2846
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-bold text-[#374151]", children: o.performerLabel }),
|
|
2837
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.map((b, j) => /* @__PURE__ */ e.jsx(
|
|
2847
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex w-full flex-wrap items-center gap-2", children: i.map((b, j) => /* @__PURE__ */ e.jsx(Nt, { children: /* @__PURE__ */ e.jsxs("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: [
|
|
2838
2848
|
j + 1,
|
|
2839
2849
|
". ",
|
|
2840
2850
|
b
|
|
@@ -2855,7 +2865,7 @@ function pr({
|
|
|
2855
2865
|
}
|
|
2856
2866
|
);
|
|
2857
2867
|
}
|
|
2858
|
-
const
|
|
2868
|
+
const wt = {
|
|
2859
2869
|
en: {
|
|
2860
2870
|
heading: "I do not know my Lineage(Gotra), what should I do?",
|
|
2861
2871
|
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.",
|
|
@@ -2874,11 +2884,11 @@ const Nt = {
|
|
|
2874
2884
|
okayLabel: "సరే",
|
|
2875
2885
|
closeButtonAriaLabel: "మూసివేయండి"
|
|
2876
2886
|
}
|
|
2877
|
-
},
|
|
2878
|
-
function
|
|
2879
|
-
const i =
|
|
2887
|
+
}, Vt = (t) => wt[t] ?? wt.en;
|
|
2888
|
+
function mr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
2889
|
+
const i = Vt(s);
|
|
2880
2890
|
return /* @__PURE__ */ e.jsx(
|
|
2881
|
-
|
|
2891
|
+
$e,
|
|
2882
2892
|
{
|
|
2883
2893
|
isOpen: t,
|
|
2884
2894
|
onClose: r,
|
|
@@ -2895,7 +2905,7 @@ function hr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
|
2895
2905
|
onClick: r,
|
|
2896
2906
|
"aria-label": i.closeButtonAriaLabel,
|
|
2897
2907
|
className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#22272b]",
|
|
2898
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2908
|
+
children: /* @__PURE__ */ e.jsx(Aa, { size: 24, "aria-hidden": !0 })
|
|
2899
2909
|
}
|
|
2900
2910
|
)
|
|
2901
2911
|
] }),
|
|
@@ -2913,7 +2923,7 @@ function hr({ isOpen: t, onClose: r, locale: s = "en", className: n }) {
|
|
|
2913
2923
|
}
|
|
2914
2924
|
);
|
|
2915
2925
|
}
|
|
2916
|
-
const
|
|
2926
|
+
const kt = {
|
|
2917
2927
|
en: {
|
|
2918
2928
|
topBarTitle: "Fill in necessary details for Puja",
|
|
2919
2929
|
backButtonAriaLabel: "Go back",
|
|
@@ -2995,19 +3005,19 @@ const wt = {
|
|
|
2995
3005
|
proceedCtaLabel: "వివరాలు నమోదు చేయండి",
|
|
2996
3006
|
kashyapGotraLabel: "కశ్యప"
|
|
2997
3007
|
}
|
|
2998
|
-
},
|
|
3008
|
+
}, br = (t) => kt[t] ?? kt.en, Ct = {
|
|
2999
3009
|
en: ["1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", "10th"],
|
|
3000
3010
|
hi: ["पहले", "दूसरे", "तीसरे", "चौथे", "पांचवें", "छठे", "सातवें", "आठवें", "नौवें", "दसवें"],
|
|
3001
3011
|
te: ["1వ", "2వ", "3వ", "4వ", "5వ", "6వ", "7వ", "8వ", "9వ", "10వ"]
|
|
3002
|
-
},
|
|
3012
|
+
}, gr = {
|
|
3003
3013
|
en: "th",
|
|
3004
3014
|
hi: "वें",
|
|
3005
3015
|
te: "వ"
|
|
3006
|
-
},
|
|
3007
|
-
const s = r in
|
|
3008
|
-
return
|
|
3009
|
-
}, Be = 40, De = "+91",
|
|
3010
|
-
function
|
|
3016
|
+
}, vr = (t, r) => {
|
|
3017
|
+
const s = r in Ct ? r : "en";
|
|
3018
|
+
return Ct[s][t - 1] ?? `${t}${gr[s]}`;
|
|
3019
|
+
}, Be = 40, De = "+91", jr = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
3020
|
+
function es({
|
|
3011
3021
|
locale: t = "en",
|
|
3012
3022
|
values: r,
|
|
3013
3023
|
onValuesChange: s,
|
|
@@ -3024,16 +3034,16 @@ function Qr({
|
|
|
3024
3034
|
onProceedPayment: b,
|
|
3025
3035
|
className: j
|
|
3026
3036
|
}) {
|
|
3027
|
-
const [L, k] = V(!1), [w, y] = V(!1), g =
|
|
3028
|
-
const I =
|
|
3037
|
+
const [L, k] = V(!1), [w, y] = V(!1), g = br(t), _ = Vt(t), O = (C) => {
|
|
3038
|
+
const I = vr(C + 1, t);
|
|
3029
3039
|
return C === 0 ? `*${I} ${g.kartaNameLabel}` : `${I} ${g.kartaNameLabel} ${g.kartaNameOptionalSuffix}`;
|
|
3030
3040
|
}, F = (C) => s({ ...r, ...C }), U = (C, I) => {
|
|
3031
3041
|
const ee = [...r.kartaNames];
|
|
3032
3042
|
ee[C] = I, F({ kartaNames: ee });
|
|
3033
3043
|
}, G = (C, I) => {
|
|
3034
3044
|
F({ ancestors: r.ancestors.map((ee) => ee.id === C ? { ...ee, value: I } : ee) });
|
|
3035
|
-
}, [K, D] = V(!1), Y =
|
|
3036
|
-
|
|
3045
|
+
}, [K, D] = V(!1), Y = Pt(null);
|
|
3046
|
+
Tt(() => {
|
|
3037
3047
|
if (!K) return;
|
|
3038
3048
|
const C = (I) => {
|
|
3039
3049
|
Y.current && !Y.current.contains(I.target) && D(!1);
|
|
@@ -3047,7 +3057,7 @@ function Qr({
|
|
|
3047
3057
|
}, H = () => {
|
|
3048
3058
|
const C = !r.isGotraUnknown;
|
|
3049
3059
|
F({ isGotraUnknown: C, gotra: C ? g.kashyapGotraLabel : r.gotra });
|
|
3050
|
-
}, J = Ie(De), X = Et(r.whatsappNumber, De).isValid, Q =
|
|
3060
|
+
}, J = Ie(De), X = Et(r.whatsappNumber, De).isValid, Q = jr.test(r.email), ae = r.whatsappNumber.length > 0 && !X, re = r.email.length > 0 && !Q, xe = (n ? Q : X) && r.kartaNames[0].trim().length > 0 && r.gotra.trim().length > 0 && (d || r.ancestors.every((C) => C.value.trim().length > 0)), fe = h ?? xe, pe = r.gotra.trim().length > 0 ? r.gotra : g.kashyapGotraLabel, he = n ? r.email : r.whatsappNumber;
|
|
3051
3061
|
return /* @__PURE__ */ e.jsxs("div", { className: c("flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]", j), children: [
|
|
3052
3062
|
/* @__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: [
|
|
3053
3063
|
/* @__PURE__ */ e.jsx(
|
|
@@ -3057,7 +3067,7 @@ function Qr({
|
|
|
3057
3067
|
onClick: x,
|
|
3058
3068
|
"aria-label": g.backButtonAriaLabel,
|
|
3059
3069
|
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)]",
|
|
3060
|
-
children: /* @__PURE__ */ e.jsx(
|
|
3070
|
+
children: /* @__PURE__ */ e.jsx(We, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
3061
3071
|
}
|
|
3062
3072
|
),
|
|
3063
3073
|
/* @__PURE__ */ e.jsx("p", { className: "text-[18px] leading-5 font-bold text-[#1d2125]", children: g.topBarTitle })
|
|
@@ -3143,7 +3153,7 @@ function Qr({
|
|
|
3143
3153
|
onClick: () => y(!0),
|
|
3144
3154
|
"aria-label": _.heading,
|
|
3145
3155
|
className: "flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",
|
|
3146
|
-
children: /* @__PURE__ */ e.jsx(
|
|
3156
|
+
children: /* @__PURE__ */ e.jsx(ue, { size: 24, "aria-hidden": !0 })
|
|
3147
3157
|
}
|
|
3148
3158
|
)
|
|
3149
3159
|
] }),
|
|
@@ -3179,7 +3189,7 @@ function Qr({
|
|
|
3179
3189
|
"aria-pressed": r.isGotraUnknown,
|
|
3180
3190
|
className: "flex items-center gap-1 border-0 bg-transparent p-0",
|
|
3181
3191
|
children: [
|
|
3182
|
-
r.isGotraUnknown ? /* @__PURE__ */ e.jsx(
|
|
3192
|
+
r.isGotraUnknown ? /* @__PURE__ */ e.jsx(Ia, { size: 24, className: "shrink-0 text-[#f75e22]", "aria-hidden": !0 }) : /* @__PURE__ */ e.jsx(Fa, { size: 24, className: "shrink-0 text-[#d1d5db]", "aria-hidden": !0 }),
|
|
3183
3193
|
/* @__PURE__ */ e.jsx("span", { className: "text-[12px] leading-4 font-semibold text-[#374151]", children: g.gotraUnknownCheckboxLabel })
|
|
3184
3194
|
]
|
|
3185
3195
|
}
|
|
@@ -3189,7 +3199,7 @@ function Qr({
|
|
|
3189
3199
|
] }),
|
|
3190
3200
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white", children: [
|
|
3191
3201
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center gap-2.5 px-3 pt-3 pb-2", children: [
|
|
3192
|
-
/* @__PURE__ */ e.jsx(Le, { size: "sm", icon: /* @__PURE__ */ e.jsx(
|
|
3202
|
+
/* @__PURE__ */ e.jsx(Le, { size: "sm", icon: /* @__PURE__ */ e.jsx(Oa, { size: 20, className: "text-[#f38415]", "aria-hidden": !0 }) }),
|
|
3193
3203
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
3194
3204
|
/* @__PURE__ */ e.jsx("p", { className: "text-[16px] leading-[22px] font-bold text-[#22272b]", children: g.ancestorNameSectionTitle }),
|
|
3195
3205
|
/* @__PURE__ */ e.jsx("p", { className: "text-[14px] leading-5 font-normal text-[#6b7280]", children: d ? g.sarvaPitruSectionSubtitle : g.ancestorNameSectionSubtitle })
|
|
@@ -3215,18 +3225,18 @@ function Qr({
|
|
|
3215
3225
|
] })
|
|
3216
3226
|
] }) }),
|
|
3217
3227
|
/* @__PURE__ */ e.jsx("div", { className: "sticky bottom-0 w-full", children: /* @__PURE__ */ e.jsx(
|
|
3218
|
-
|
|
3228
|
+
Ue,
|
|
3219
3229
|
{
|
|
3220
3230
|
amount: f,
|
|
3221
3231
|
subtitle: u,
|
|
3222
3232
|
onInfoClick: m,
|
|
3223
3233
|
proceedLabel: o ?? g.proceedCtaLabel,
|
|
3224
3234
|
onProceed: () => k(!0),
|
|
3225
|
-
proceedButtonProps: { disabled: !
|
|
3235
|
+
proceedButtonProps: { disabled: !fe, ...v }
|
|
3226
3236
|
}
|
|
3227
3237
|
) }),
|
|
3228
3238
|
/* @__PURE__ */ e.jsx(
|
|
3229
|
-
|
|
3239
|
+
hr,
|
|
3230
3240
|
{
|
|
3231
3241
|
isOpen: L,
|
|
3232
3242
|
onClose: () => k(!1),
|
|
@@ -3234,18 +3244,18 @@ function Qr({
|
|
|
3234
3244
|
locale: t,
|
|
3235
3245
|
ancestors: d ? [{ id: "sarva-pitru", label: "", value: g.sarvaPitruFieldValue }] : r.ancestors,
|
|
3236
3246
|
kartaNames: r.kartaNames,
|
|
3237
|
-
gotra:
|
|
3238
|
-
whatsappNumber:
|
|
3247
|
+
gotra: pe,
|
|
3248
|
+
whatsappNumber: he,
|
|
3239
3249
|
amount: f,
|
|
3240
3250
|
onProceedPayment: () => {
|
|
3241
3251
|
k(!1), b();
|
|
3242
3252
|
}
|
|
3243
3253
|
}
|
|
3244
3254
|
),
|
|
3245
|
-
/* @__PURE__ */ e.jsx(
|
|
3255
|
+
/* @__PURE__ */ e.jsx(mr, { isOpen: w, onClose: () => y(!1), locale: t })
|
|
3246
3256
|
] });
|
|
3247
3257
|
}
|
|
3248
|
-
function
|
|
3258
|
+
function ts(t = 3, r = []) {
|
|
3249
3259
|
return {
|
|
3250
3260
|
whatsappNumber: "",
|
|
3251
3261
|
email: "",
|
|
@@ -3255,27 +3265,27 @@ function es(t = 3, r = []) {
|
|
|
3255
3265
|
ancestors: r
|
|
3256
3266
|
};
|
|
3257
3267
|
}
|
|
3258
|
-
const
|
|
3259
|
-
function
|
|
3268
|
+
const _t = "https://srm-cdn.a4b.io/yoda/1788256892735.svg", yr = "https://srm-cdn.a4b.io/yoda/1788256910547.svg", Nr = "https://srm-cdn.a4b.io/yoda/1788256867970.svg", wr = "https://srm-cdn.a4b.io/yoda/1788256921651.svg", kr = "https://srm-cdn.a4b.io/yoda/1788256935709.svg", Cr = "https://srm-cdn.a4b.io/yoda/1788256949665.svg";
|
|
3269
|
+
function _r({ variant: t }) {
|
|
3260
3270
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative size-10 shrink-0 overflow-clip rounded-full", children: [
|
|
3261
3271
|
t === "pandits" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
3262
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3263
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3264
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3272
|
+
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", "aria-hidden": !0, className: "absolute left-[-6px] top-[12.2px] size-[25.6px]" }),
|
|
3273
|
+
/* @__PURE__ */ e.jsx("img", { src: _t, alt: "", "aria-hidden": !0, className: "absolute left-[21px] top-[12.2px] size-[25.6px]" }),
|
|
3274
|
+
/* @__PURE__ */ e.jsx("img", { src: yr, alt: "", "aria-hidden": !0, className: "absolute left-[1.98px] top-[5.98px] size-[36.045px]" })
|
|
3265
3275
|
] }),
|
|
3266
3276
|
t === "gotra" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip", children: [
|
|
3267
3277
|
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]" }),
|
|
3268
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3278
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[0_9.1%_0_9.07%]", children: /* @__PURE__ */ e.jsx("img", { src: Nr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
3269
3279
|
] }),
|
|
3270
3280
|
t === "video" && /* @__PURE__ */ e.jsxs("div", { className: "absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip", children: [
|
|
3271
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3272
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3273
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src:
|
|
3281
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[9.31%_4.02%_27.36%_4.17%]", children: /* @__PURE__ */ e.jsx("img", { src: wr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
3282
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[30.03%_39.59%_48.06%_40.83%]", children: /* @__PURE__ */ e.jsx("img", { src: kr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) }),
|
|
3283
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute inset-[80%_4.16%_9.17%_5.42%]", children: /* @__PURE__ */ e.jsx("img", { src: Cr, alt: "", "aria-hidden": !0, className: "absolute inset-0 size-full" }) })
|
|
3274
3284
|
] })
|
|
3275
3285
|
] });
|
|
3276
3286
|
}
|
|
3277
|
-
const
|
|
3278
|
-
function
|
|
3287
|
+
const Lr = "https://srm-cdn.a4b.io/yoda/1788256961374.svg", Lt = "https://srm-cdn.a4b.io/yoda/1788256971870.svg";
|
|
3288
|
+
function as({
|
|
3279
3289
|
badgeLabel: t,
|
|
3280
3290
|
headingPrefix: r,
|
|
3281
3291
|
ritualCount: s,
|
|
@@ -3289,7 +3299,7 @@ function ts({
|
|
|
3289
3299
|
/* @__PURE__ */ e.jsx(
|
|
3290
3300
|
"img",
|
|
3291
3301
|
{
|
|
3292
|
-
src:
|
|
3302
|
+
src: Lt,
|
|
3293
3303
|
alt: "",
|
|
3294
3304
|
"aria-hidden": !0,
|
|
3295
3305
|
className: "pointer-events-none absolute inset-0 size-full",
|
|
@@ -3302,7 +3312,7 @@ function ts({
|
|
|
3302
3312
|
/* @__PURE__ */ e.jsx(
|
|
3303
3313
|
"img",
|
|
3304
3314
|
{
|
|
3305
|
-
src:
|
|
3315
|
+
src: Lt,
|
|
3306
3316
|
alt: "",
|
|
3307
3317
|
"aria-hidden": !0,
|
|
3308
3318
|
className: "pointer-events-none absolute inset-0 size-full blur-sm",
|
|
@@ -3312,7 +3322,7 @@ function ts({
|
|
|
3312
3322
|
}
|
|
3313
3323
|
}
|
|
3314
3324
|
),
|
|
3315
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
3325
|
+
/* @__PURE__ */ e.jsx("img", { src: Lr, alt: "Sri Mandir", className: "relative z-10 h-[53px] w-auto object-contain" })
|
|
3316
3326
|
] }),
|
|
3317
3327
|
/* @__PURE__ */ e.jsxs("p", { className: "text-xs font-semibold text-[#d51f68]", children: [
|
|
3318
3328
|
"✦ ",
|
|
@@ -3329,15 +3339,15 @@ function ts({
|
|
|
3329
3339
|
i
|
|
3330
3340
|
] }),
|
|
3331
3341
|
/* @__PURE__ */ e.jsx("div", { className: "flex w-full items-start justify-center gap-3", children: d.map((x) => /* @__PURE__ */ e.jsxs("div", { className: "flex w-25 flex-col items-center gap-1 py-2", children: [
|
|
3332
|
-
/* @__PURE__ */ e.jsx(
|
|
3342
|
+
/* @__PURE__ */ e.jsx(_r, { variant: x.variant }),
|
|
3333
3343
|
/* @__PURE__ */ e.jsx("p", { className: "w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]", children: x.text })
|
|
3334
3344
|
] }, x.variant)) })
|
|
3335
3345
|
] });
|
|
3336
3346
|
}
|
|
3337
|
-
function
|
|
3347
|
+
function Sr(t) {
|
|
3338
3348
|
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);
|
|
3339
3349
|
}
|
|
3340
|
-
const
|
|
3350
|
+
const St = {
|
|
3341
3351
|
en: {
|
|
3342
3352
|
title: "Who is this puja for?",
|
|
3343
3353
|
subtitle: "Your ancestors",
|
|
@@ -3350,7 +3360,7 @@ const Lt = {
|
|
|
3350
3360
|
value: "सर्वपितृ के लिए",
|
|
3351
3361
|
helperText: "यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"
|
|
3352
3362
|
}
|
|
3353
|
-
}, Er = (t) =>
|
|
3363
|
+
}, Er = (t) => St[t] ?? St.en, Pr = S.forwardRef(
|
|
3354
3364
|
({
|
|
3355
3365
|
locale: t = "en",
|
|
3356
3366
|
title: r,
|
|
@@ -3373,7 +3383,7 @@ const Lt = {
|
|
|
3373
3383
|
...h,
|
|
3374
3384
|
children: [
|
|
3375
3385
|
/* @__PURE__ */ e.jsxs("div", { className: c("flex items-center gap-3", f), children: [
|
|
3376
|
-
/* @__PURE__ */ e.jsx(Le, { icon: d ?? /* @__PURE__ */ e.jsx(
|
|
3386
|
+
/* @__PURE__ */ e.jsx(Le, { icon: d ?? /* @__PURE__ */ e.jsx(Sr, { size: 22, "aria-hidden": !0 }), size: "lg" }),
|
|
3377
3387
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
3378
3388
|
/* @__PURE__ */ e.jsx("p", { className: "font-['Noto_Sans'] text-lg leading-6 font-bold text-[#1d2125]", children: r ?? v.title }),
|
|
3379
3389
|
/* @__PURE__ */ e.jsx("p", { className: "mt-0.5 text-base leading-5 text-gray-500", children: s ?? v.subtitle })
|
|
@@ -3395,65 +3405,66 @@ const Lt = {
|
|
|
3395
3405
|
);
|
|
3396
3406
|
}
|
|
3397
3407
|
);
|
|
3398
|
-
|
|
3408
|
+
Pr.displayName = "SarvaPitruCard";
|
|
3399
3409
|
export {
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3410
|
+
Dr as AudioQuestionCard,
|
|
3411
|
+
vt as BOOKING_SUMMARY_BANNER_DEFAULT_COPY,
|
|
3412
|
+
lr as BillDetails,
|
|
3413
|
+
sr as BookingSummaryBanner,
|
|
3404
3414
|
q as Button,
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3415
|
+
bt as CHECKOUT_BAR_DEFAULT_COPY,
|
|
3416
|
+
yt as CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY,
|
|
3417
|
+
Hr as CartReviewAddedBadge,
|
|
3418
|
+
Vr as CartReviewChangeButton,
|
|
3419
|
+
Dt as CartReviewItem,
|
|
3420
|
+
Ja as CartReviewMandapItem,
|
|
3421
|
+
Ur as CartView,
|
|
3422
|
+
Qr as CheckIcon,
|
|
3423
|
+
Ue as CheckoutBar,
|
|
3424
|
+
Wa as Chip,
|
|
3425
|
+
$e as ConfinedBottomSheet,
|
|
3426
|
+
hr as ConfirmPujaDetailsModal,
|
|
3427
|
+
Yr as DatePickerSheet,
|
|
3428
|
+
Kr as EmailSheet,
|
|
3429
|
+
$a as FAQSection,
|
|
3430
|
+
wt as GOTRA_INFO_MODAL_DEFAULT_COPY,
|
|
3431
|
+
mr as GotraInfoModal,
|
|
3421
3432
|
Le as IconBadge,
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3433
|
+
Zr as L2Card,
|
|
3434
|
+
Ft as LanguageSwitcher,
|
|
3435
|
+
Jr as OutcomeButton,
|
|
3436
|
+
as as OutcomeSummary,
|
|
3437
|
+
gt as PACKAGE_SELECT_DEFAULT_COPY,
|
|
3438
|
+
kt as PUJA_DETAILS_FORM_DEFAULT_COPY,
|
|
3439
|
+
Wr as PackageSelect,
|
|
3440
|
+
qr as PhoneNumberSheet,
|
|
3441
|
+
Xr as PlusIcon,
|
|
3442
|
+
es as PujaDetailsForm,
|
|
3443
|
+
$r as QuantityStepper,
|
|
3444
|
+
St as SARVA_PITRU_CARD_DEFAULT_COPY,
|
|
3445
|
+
Pr as SarvaPitruCard,
|
|
3446
|
+
Bt as SelectorCard,
|
|
3447
|
+
Ir as SelectorCardEditableField,
|
|
3448
|
+
Mr as SelectorCardInfoRow,
|
|
3449
|
+
Za as SelectorCardNote,
|
|
3450
|
+
Ka as SelectorCardPriceBadge,
|
|
3451
|
+
Xa as ServiceOfferCard,
|
|
3452
|
+
Br as StepProgressHeader,
|
|
3453
|
+
Ar as TestimonialCard,
|
|
3443
3454
|
ne as TextField,
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3455
|
+
Gr as TithiPickerSheet,
|
|
3456
|
+
Fr as TopBar,
|
|
3457
|
+
er as TrustBadgesBar,
|
|
3458
|
+
Va as VideoPlayer,
|
|
3459
|
+
Pa as buttonVariants,
|
|
3460
|
+
ns as cn,
|
|
3461
|
+
ts as createEmptyPujaDetailsFormValues,
|
|
3462
|
+
rr as getBookingSummaryBannerDefaultCopy,
|
|
3463
|
+
tr as getCheckoutBarDefaultCopy,
|
|
3464
|
+
pr as getConfirmPujaDetailsModalDefaultCopy,
|
|
3465
|
+
Vt as getGotraInfoModalDefaultCopy,
|
|
3466
|
+
vr as getKartaOrdinalLabel,
|
|
3467
|
+
ar as getPackageSelectDefaultCopy,
|
|
3468
|
+
br as getPujaDetailsFormDefaultCopy,
|
|
3458
3469
|
Er as getSarvaPitruCardDefaultCopy
|
|
3459
3470
|
};
|