@srimandir/pitru-paksh-common 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1371 @@
1
+ import { cn as C } from "@srimandir/common";
2
+ import { cn as cr } from "@srimandir/common";
3
+ import * as Ot from "react";
4
+ import p, { useState as Ae } from "react";
5
+ import { cva as Nt } from "class-variance-authority";
6
+ import kt from "react-player";
7
+ var ee = { exports: {} }, q = {};
8
+ var Me;
9
+ function Ct() {
10
+ if (Me) return q;
11
+ Me = 1;
12
+ var t = p, i = /* @__PURE__ */ Symbol.for("react.element"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, f = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
13
+ function y(g, d, w) {
14
+ var b, j = {}, E = null, z = null;
15
+ w !== void 0 && (E = "" + w), d.key !== void 0 && (E = "" + d.key), d.ref !== void 0 && (z = d.ref);
16
+ for (b in d) o.call(d, b) && !h.hasOwnProperty(b) && (j[b] = d[b]);
17
+ if (g && g.defaultProps) for (b in d = g.defaultProps, d) j[b] === void 0 && (j[b] = d[b]);
18
+ return { $$typeof: i, type: g, key: E, ref: z, props: j, _owner: f.current };
19
+ }
20
+ return q.Fragment = n, q.jsx = y, q.jsxs = y, q;
21
+ }
22
+ var H = {};
23
+ var Ie;
24
+ function Pt() {
25
+ return Ie || (Ie = 1, process.env.NODE_ENV !== "production" && (function() {
26
+ var t = p, i = /* @__PURE__ */ Symbol.for("react.element"), n = /* @__PURE__ */ Symbol.for("react.portal"), o = /* @__PURE__ */ Symbol.for("react.fragment"), f = /* @__PURE__ */ Symbol.for("react.strict_mode"), h = /* @__PURE__ */ Symbol.for("react.profiler"), y = /* @__PURE__ */ Symbol.for("react.provider"), g = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), w = /* @__PURE__ */ Symbol.for("react.suspense"), b = /* @__PURE__ */ Symbol.for("react.suspense_list"), j = /* @__PURE__ */ Symbol.for("react.memo"), E = /* @__PURE__ */ Symbol.for("react.lazy"), z = /* @__PURE__ */ Symbol.for("react.offscreen"), P = Symbol.iterator, S = "@@iterator";
27
+ function N(e) {
28
+ if (e === null || typeof e != "object")
29
+ return null;
30
+ var r = P && e[P] || e[S];
31
+ return typeof r == "function" ? r : null;
32
+ }
33
+ var O = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
34
+ function v(e) {
35
+ {
36
+ for (var r = arguments.length, s = new Array(r > 1 ? r - 1 : 0), l = 1; l < r; l++)
37
+ s[l - 1] = arguments[l];
38
+ F("error", e, s);
39
+ }
40
+ }
41
+ function F(e, r, s) {
42
+ {
43
+ var l = O.ReactDebugCurrentFrame, m = l.getStackAddendum();
44
+ m !== "" && (r += "%s", s = s.concat([m]));
45
+ var x = s.map(function(u) {
46
+ return String(u);
47
+ });
48
+ x.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, x);
49
+ }
50
+ }
51
+ var I = !1, L = !1, J = !1, Je = !1, Ke = !1, de;
52
+ de = /* @__PURE__ */ Symbol.for("react.module.reference");
53
+ function Ze(e) {
54
+ return !!(typeof e == "string" || typeof e == "function" || e === o || e === h || Ke || e === f || e === w || e === b || Je || e === z || I || L || J || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === j || e.$$typeof === y || e.$$typeof === g || e.$$typeof === d || // This needs to include all possible module reference object
55
+ // types supported by any Flight configuration anywhere since
56
+ // we don't know which Flight build this will end up being used
57
+ // with.
58
+ e.$$typeof === de || e.getModuleId !== void 0));
59
+ }
60
+ function Xe(e, r, s) {
61
+ var l = e.displayName;
62
+ if (l)
63
+ return l;
64
+ var m = r.displayName || r.name || "";
65
+ return m !== "" ? s + "(" + m + ")" : s;
66
+ }
67
+ function he(e) {
68
+ return e.displayName || "Context";
69
+ }
70
+ function M(e) {
71
+ if (e == null)
72
+ return null;
73
+ if (typeof e.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
74
+ return e.displayName || e.name || null;
75
+ if (typeof e == "string")
76
+ return e;
77
+ switch (e) {
78
+ case o:
79
+ return "Fragment";
80
+ case n:
81
+ return "Portal";
82
+ case h:
83
+ return "Profiler";
84
+ case f:
85
+ return "StrictMode";
86
+ case w:
87
+ return "Suspense";
88
+ case b:
89
+ return "SuspenseList";
90
+ }
91
+ if (typeof e == "object")
92
+ switch (e.$$typeof) {
93
+ case g:
94
+ var r = e;
95
+ return he(r) + ".Consumer";
96
+ case y:
97
+ var s = e;
98
+ return he(s._context) + ".Provider";
99
+ case d:
100
+ return Xe(e, e.render, "ForwardRef");
101
+ case j:
102
+ var l = e.displayName || null;
103
+ return l !== null ? l : M(e.type) || "Memo";
104
+ case E: {
105
+ var m = e, x = m._payload, u = m._init;
106
+ try {
107
+ return M(u(x));
108
+ } catch {
109
+ return null;
110
+ }
111
+ }
112
+ }
113
+ return null;
114
+ }
115
+ var V = Object.assign, Y = 0, me, ve, pe, xe, ge, be, ye;
116
+ function we() {
117
+ }
118
+ we.__reactDisabledLog = !0;
119
+ function Qe() {
120
+ {
121
+ if (Y === 0) {
122
+ me = console.log, ve = console.info, pe = console.warn, xe = console.error, ge = console.group, be = console.groupCollapsed, ye = console.groupEnd;
123
+ var e = {
124
+ configurable: !0,
125
+ enumerable: !0,
126
+ value: we,
127
+ writable: !0
128
+ };
129
+ Object.defineProperties(console, {
130
+ info: e,
131
+ log: e,
132
+ warn: e,
133
+ error: e,
134
+ group: e,
135
+ groupCollapsed: e,
136
+ groupEnd: e
137
+ });
138
+ }
139
+ Y++;
140
+ }
141
+ }
142
+ function et() {
143
+ {
144
+ if (Y--, Y === 0) {
145
+ var e = {
146
+ configurable: !0,
147
+ enumerable: !0,
148
+ writable: !0
149
+ };
150
+ Object.defineProperties(console, {
151
+ log: V({}, e, {
152
+ value: me
153
+ }),
154
+ info: V({}, e, {
155
+ value: ve
156
+ }),
157
+ warn: V({}, e, {
158
+ value: pe
159
+ }),
160
+ error: V({}, e, {
161
+ value: xe
162
+ }),
163
+ group: V({}, e, {
164
+ value: ge
165
+ }),
166
+ groupCollapsed: V({}, e, {
167
+ value: be
168
+ }),
169
+ groupEnd: V({}, e, {
170
+ value: ye
171
+ })
172
+ });
173
+ }
174
+ Y < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
175
+ }
176
+ }
177
+ var ae = O.ReactCurrentDispatcher, ne;
178
+ function K(e, r, s) {
179
+ {
180
+ if (ne === void 0)
181
+ try {
182
+ throw Error();
183
+ } catch (m) {
184
+ var l = m.stack.trim().match(/\n( *(at )?)/);
185
+ ne = l && l[1] || "";
186
+ }
187
+ return `
188
+ ` + ne + e;
189
+ }
190
+ }
191
+ var ie = !1, Z;
192
+ {
193
+ var tt = typeof WeakMap == "function" ? WeakMap : Map;
194
+ Z = new tt();
195
+ }
196
+ function je(e, r) {
197
+ if (!e || ie)
198
+ return "";
199
+ {
200
+ var s = Z.get(e);
201
+ if (s !== void 0)
202
+ return s;
203
+ }
204
+ var l;
205
+ ie = !0;
206
+ var m = Error.prepareStackTrace;
207
+ Error.prepareStackTrace = void 0;
208
+ var x;
209
+ x = ae.current, ae.current = null, Qe();
210
+ try {
211
+ if (r) {
212
+ var u = function() {
213
+ throw Error();
214
+ };
215
+ if (Object.defineProperty(u.prototype, "props", {
216
+ set: function() {
217
+ throw Error();
218
+ }
219
+ }), typeof Reflect == "object" && Reflect.construct) {
220
+ try {
221
+ Reflect.construct(u, []);
222
+ } catch (T) {
223
+ l = T;
224
+ }
225
+ Reflect.construct(e, [], u);
226
+ } else {
227
+ try {
228
+ u.call();
229
+ } catch (T) {
230
+ l = T;
231
+ }
232
+ e.call(u.prototype);
233
+ }
234
+ } else {
235
+ try {
236
+ throw Error();
237
+ } catch (T) {
238
+ l = T;
239
+ }
240
+ e();
241
+ }
242
+ } catch (T) {
243
+ if (T && l && typeof T.stack == "string") {
244
+ for (var c = T.stack.split(`
245
+ `), k = l.stack.split(`
246
+ `), _ = c.length - 1, R = k.length - 1; _ >= 1 && R >= 0 && c[_] !== k[R]; )
247
+ R--;
248
+ for (; _ >= 1 && R >= 0; _--, R--)
249
+ if (c[_] !== k[R]) {
250
+ if (_ !== 1 || R !== 1)
251
+ do
252
+ if (_--, R--, R < 0 || c[_] !== k[R]) {
253
+ var D = `
254
+ ` + c[_].replace(" at new ", " at ");
255
+ return e.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, D), D;
256
+ }
257
+ while (_ >= 1 && R >= 0);
258
+ break;
259
+ }
260
+ }
261
+ } finally {
262
+ ie = !1, ae.current = x, et(), Error.prepareStackTrace = m;
263
+ }
264
+ var B = e ? e.displayName || e.name : "", W = B ? K(B) : "";
265
+ return typeof e == "function" && Z.set(e, W), W;
266
+ }
267
+ function rt(e, r, s) {
268
+ return je(e, !1);
269
+ }
270
+ function at(e) {
271
+ var r = e.prototype;
272
+ return !!(r && r.isReactComponent);
273
+ }
274
+ function X(e, r, s) {
275
+ if (e == null)
276
+ return "";
277
+ if (typeof e == "function")
278
+ return je(e, at(e));
279
+ if (typeof e == "string")
280
+ return K(e);
281
+ switch (e) {
282
+ case w:
283
+ return K("Suspense");
284
+ case b:
285
+ return K("SuspenseList");
286
+ }
287
+ if (typeof e == "object")
288
+ switch (e.$$typeof) {
289
+ case d:
290
+ return rt(e.render);
291
+ case j:
292
+ return X(e.type, r, s);
293
+ case E: {
294
+ var l = e, m = l._payload, x = l._init;
295
+ try {
296
+ return X(x(m), r, s);
297
+ } catch {
298
+ }
299
+ }
300
+ }
301
+ return "";
302
+ }
303
+ var U = Object.prototype.hasOwnProperty, Ee = {}, _e = O.ReactDebugCurrentFrame;
304
+ function Q(e) {
305
+ if (e) {
306
+ var r = e._owner, s = X(e.type, e._source, r ? r.type : null);
307
+ _e.setExtraStackFrame(s);
308
+ } else
309
+ _e.setExtraStackFrame(null);
310
+ }
311
+ function nt(e, r, s, l, m) {
312
+ {
313
+ var x = Function.call.bind(U);
314
+ for (var u in e)
315
+ if (x(e, u)) {
316
+ var c = void 0;
317
+ try {
318
+ if (typeof e[u] != "function") {
319
+ var k = Error((l || "React class") + ": " + s + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
320
+ throw k.name = "Invariant Violation", k;
321
+ }
322
+ c = e[u](r, u, l, s, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
323
+ } catch (_) {
324
+ c = _;
325
+ }
326
+ c && !(c instanceof Error) && (Q(m), v("%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).", l || "React class", s, u, typeof c), Q(null)), c instanceof Error && !(c.message in Ee) && (Ee[c.message] = !0, Q(m), v("Failed %s type: %s", s, c.message), Q(null));
327
+ }
328
+ }
329
+ }
330
+ var it = Array.isArray;
331
+ function se(e) {
332
+ return it(e);
333
+ }
334
+ function st(e) {
335
+ {
336
+ var r = typeof Symbol == "function" && Symbol.toStringTag, s = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
337
+ return s;
338
+ }
339
+ }
340
+ function ot(e) {
341
+ try {
342
+ return Re(e), !1;
343
+ } catch {
344
+ return !0;
345
+ }
346
+ }
347
+ function Re(e) {
348
+ return "" + e;
349
+ }
350
+ function Oe(e) {
351
+ if (ot(e))
352
+ return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", st(e)), Re(e);
353
+ }
354
+ var Ne = O.ReactCurrentOwner, lt = {
355
+ key: !0,
356
+ ref: !0,
357
+ __self: !0,
358
+ __source: !0
359
+ }, ke, Ce;
360
+ function ct(e) {
361
+ if (U.call(e, "ref")) {
362
+ var r = Object.getOwnPropertyDescriptor(e, "ref").get;
363
+ if (r && r.isReactWarning)
364
+ return !1;
365
+ }
366
+ return e.ref !== void 0;
367
+ }
368
+ function ut(e) {
369
+ if (U.call(e, "key")) {
370
+ var r = Object.getOwnPropertyDescriptor(e, "key").get;
371
+ if (r && r.isReactWarning)
372
+ return !1;
373
+ }
374
+ return e.key !== void 0;
375
+ }
376
+ function ft(e, r) {
377
+ typeof e.ref == "string" && Ne.current;
378
+ }
379
+ function dt(e, r) {
380
+ {
381
+ var s = function() {
382
+ ke || (ke = !0, v("%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)", r));
383
+ };
384
+ s.isReactWarning = !0, Object.defineProperty(e, "key", {
385
+ get: s,
386
+ configurable: !0
387
+ });
388
+ }
389
+ }
390
+ function ht(e, r) {
391
+ {
392
+ var s = function() {
393
+ Ce || (Ce = !0, v("%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)", r));
394
+ };
395
+ s.isReactWarning = !0, Object.defineProperty(e, "ref", {
396
+ get: s,
397
+ configurable: !0
398
+ });
399
+ }
400
+ }
401
+ var mt = function(e, r, s, l, m, x, u) {
402
+ var c = {
403
+ // This tag allows us to uniquely identify this as a React Element
404
+ $$typeof: i,
405
+ // Built-in properties that belong on the element
406
+ type: e,
407
+ key: r,
408
+ ref: s,
409
+ props: u,
410
+ // Record the component responsible for creating this element.
411
+ _owner: x
412
+ };
413
+ return c._store = {}, Object.defineProperty(c._store, "validated", {
414
+ configurable: !1,
415
+ enumerable: !1,
416
+ writable: !0,
417
+ value: !1
418
+ }), Object.defineProperty(c, "_self", {
419
+ configurable: !1,
420
+ enumerable: !1,
421
+ writable: !1,
422
+ value: l
423
+ }), Object.defineProperty(c, "_source", {
424
+ configurable: !1,
425
+ enumerable: !1,
426
+ writable: !1,
427
+ value: m
428
+ }), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
429
+ };
430
+ function vt(e, r, s, l, m) {
431
+ {
432
+ var x, u = {}, c = null, k = null;
433
+ s !== void 0 && (Oe(s), c = "" + s), ut(r) && (Oe(r.key), c = "" + r.key), ct(r) && (k = r.ref, ft(r, m));
434
+ for (x in r)
435
+ U.call(r, x) && !lt.hasOwnProperty(x) && (u[x] = r[x]);
436
+ if (e && e.defaultProps) {
437
+ var _ = e.defaultProps;
438
+ for (x in _)
439
+ u[x] === void 0 && (u[x] = _[x]);
440
+ }
441
+ if (c || k) {
442
+ var R = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
443
+ c && dt(u, R), k && ht(u, R);
444
+ }
445
+ return mt(e, c, k, m, l, Ne.current, u);
446
+ }
447
+ }
448
+ var oe = O.ReactCurrentOwner, Pe = O.ReactDebugCurrentFrame;
449
+ function $(e) {
450
+ if (e) {
451
+ var r = e._owner, s = X(e.type, e._source, r ? r.type : null);
452
+ Pe.setExtraStackFrame(s);
453
+ } else
454
+ Pe.setExtraStackFrame(null);
455
+ }
456
+ var le;
457
+ le = !1;
458
+ function ce(e) {
459
+ return typeof e == "object" && e !== null && e.$$typeof === i;
460
+ }
461
+ function Se() {
462
+ {
463
+ if (oe.current) {
464
+ var e = M(oe.current.type);
465
+ if (e)
466
+ return `
467
+
468
+ Check the render method of \`` + e + "`.";
469
+ }
470
+ return "";
471
+ }
472
+ }
473
+ function pt(e) {
474
+ return "";
475
+ }
476
+ var Te = {};
477
+ function xt(e) {
478
+ {
479
+ var r = Se();
480
+ if (!r) {
481
+ var s = typeof e == "string" ? e : e.displayName || e.name;
482
+ s && (r = `
483
+
484
+ Check the top-level render call using <` + s + ">.");
485
+ }
486
+ return r;
487
+ }
488
+ }
489
+ function ze(e, r) {
490
+ {
491
+ if (!e._store || e._store.validated || e.key != null)
492
+ return;
493
+ e._store.validated = !0;
494
+ var s = xt(r);
495
+ if (Te[s])
496
+ return;
497
+ Te[s] = !0;
498
+ var l = "";
499
+ e && e._owner && e._owner !== oe.current && (l = " It was passed a child from " + M(e._owner.type) + "."), $(e), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, l), $(null);
500
+ }
501
+ }
502
+ function De(e, r) {
503
+ {
504
+ if (typeof e != "object")
505
+ return;
506
+ if (se(e))
507
+ for (var s = 0; s < e.length; s++) {
508
+ var l = e[s];
509
+ ce(l) && ze(l, r);
510
+ }
511
+ else if (ce(e))
512
+ e._store && (e._store.validated = !0);
513
+ else if (e) {
514
+ var m = N(e);
515
+ if (typeof m == "function" && m !== e.entries)
516
+ for (var x = m.call(e), u; !(u = x.next()).done; )
517
+ ce(u.value) && ze(u.value, r);
518
+ }
519
+ }
520
+ }
521
+ function gt(e) {
522
+ {
523
+ var r = e.type;
524
+ if (r == null || typeof r == "string")
525
+ return;
526
+ var s;
527
+ if (typeof r == "function")
528
+ s = r.propTypes;
529
+ else if (typeof r == "object" && (r.$$typeof === d || // Note: Memo only checks outer props here.
530
+ // Inner props are checked in the reconciler.
531
+ r.$$typeof === j))
532
+ s = r.propTypes;
533
+ else
534
+ return;
535
+ if (s) {
536
+ var l = M(r);
537
+ nt(s, e.props, "prop", l, e);
538
+ } else if (r.PropTypes !== void 0 && !le) {
539
+ le = !0;
540
+ var m = M(r);
541
+ v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
542
+ }
543
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
544
+ }
545
+ }
546
+ function bt(e) {
547
+ {
548
+ for (var r = Object.keys(e.props), s = 0; s < r.length; s++) {
549
+ var l = r[s];
550
+ if (l !== "children" && l !== "key") {
551
+ $(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", l), $(null);
552
+ break;
553
+ }
554
+ }
555
+ e.ref !== null && ($(e), v("Invalid attribute `ref` supplied to `React.Fragment`."), $(null));
556
+ }
557
+ }
558
+ var Le = {};
559
+ function Fe(e, r, s, l, m, x) {
560
+ {
561
+ var u = Ze(e);
562
+ if (!u) {
563
+ var c = "";
564
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " 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 k = pt();
566
+ k ? c += k : c += Se();
567
+ var _;
568
+ e === null ? _ = "null" : se(e) ? _ = "array" : e !== void 0 && e.$$typeof === i ? (_ = "<" + (M(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, c);
569
+ }
570
+ var R = vt(e, r, s, m, x);
571
+ if (R == null)
572
+ return R;
573
+ if (u) {
574
+ var D = r.children;
575
+ if (D !== void 0)
576
+ if (l)
577
+ if (se(D)) {
578
+ for (var B = 0; B < D.length; B++)
579
+ De(D[B], e);
580
+ Object.freeze && Object.freeze(D);
581
+ } else
582
+ v("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
+ else
584
+ De(D, e);
585
+ }
586
+ if (U.call(r, "key")) {
587
+ var W = M(e), T = Object.keys(r).filter(function(Rt) {
588
+ return Rt !== "key";
589
+ }), ue = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
590
+ if (!Le[W + ue]) {
591
+ var _t = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
592
+ v(`A props object containing a "key" prop is being spread into JSX:
593
+ let props = %s;
594
+ <%s {...props} />
595
+ React keys must be passed directly to JSX without using spread:
596
+ let props = %s;
597
+ <%s key={someKey} {...props} />`, ue, W, _t, W), Le[W + ue] = !0;
598
+ }
599
+ }
600
+ return e === o ? bt(R) : gt(R), R;
601
+ }
602
+ }
603
+ function yt(e, r, s) {
604
+ return Fe(e, r, s, !0);
605
+ }
606
+ function wt(e, r, s) {
607
+ return Fe(e, r, s, !1);
608
+ }
609
+ var jt = wt, Et = yt;
610
+ H.Fragment = o, H.jsx = jt, H.jsxs = Et;
611
+ })()), H;
612
+ }
613
+ var Ve;
614
+ function St() {
615
+ return Ve || (Ve = 1, process.env.NODE_ENV === "production" ? ee.exports = Ct() : ee.exports = Pt()), ee.exports;
616
+ }
617
+ var a = St(), qe = {
618
+ color: void 0,
619
+ size: void 0,
620
+ className: void 0,
621
+ style: void 0,
622
+ attr: void 0
623
+ }, We = p.createContext && /* @__PURE__ */ p.createContext(qe), Tt = ["attr", "size", "title"];
624
+ function zt(t, i) {
625
+ if (t == null) return {};
626
+ var n, o, f = Dt(t, i);
627
+ if (Object.getOwnPropertySymbols) {
628
+ var h = Object.getOwnPropertySymbols(t);
629
+ for (o = 0; o < h.length; o++) n = h[o], i.indexOf(n) === -1 && {}.propertyIsEnumerable.call(t, n) && (f[n] = t[n]);
630
+ }
631
+ return f;
632
+ }
633
+ function Dt(t, i) {
634
+ if (t == null) return {};
635
+ var n = {};
636
+ for (var o in t) if ({}.hasOwnProperty.call(t, o)) {
637
+ if (i.indexOf(o) !== -1) continue;
638
+ n[o] = t[o];
639
+ }
640
+ return n;
641
+ }
642
+ function te() {
643
+ return te = Object.assign ? Object.assign.bind() : function(t) {
644
+ for (var i = 1; i < arguments.length; i++) {
645
+ var n = arguments[i];
646
+ for (var o in n) ({}).hasOwnProperty.call(n, o) && (t[o] = n[o]);
647
+ }
648
+ return t;
649
+ }, te.apply(null, arguments);
650
+ }
651
+ function $e(t, i) {
652
+ var n = Object.keys(t);
653
+ if (Object.getOwnPropertySymbols) {
654
+ var o = Object.getOwnPropertySymbols(t);
655
+ i && (o = o.filter(function(f) {
656
+ return Object.getOwnPropertyDescriptor(t, f).enumerable;
657
+ })), n.push.apply(n, o);
658
+ }
659
+ return n;
660
+ }
661
+ function re(t) {
662
+ for (var i = 1; i < arguments.length; i++) {
663
+ var n = arguments[i] != null ? arguments[i] : {};
664
+ i % 2 ? $e(Object(n), !0).forEach(function(o) {
665
+ Lt(t, o, n[o]);
666
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : $e(Object(n)).forEach(function(o) {
667
+ Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(n, o));
668
+ });
669
+ }
670
+ return t;
671
+ }
672
+ function Lt(t, i, n) {
673
+ return (i = Ft(i)) in t ? Object.defineProperty(t, i, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[i] = n, t;
674
+ }
675
+ function Ft(t) {
676
+ var i = At(t, "string");
677
+ return typeof i == "symbol" ? i : i + "";
678
+ }
679
+ function At(t, i) {
680
+ if (typeof t != "object" || !t) return t;
681
+ var n = t[Symbol.toPrimitive];
682
+ if (n !== void 0) {
683
+ var o = n.call(t, i);
684
+ if (typeof o != "object") return o;
685
+ throw new TypeError("@@toPrimitive must return a primitive value.");
686
+ }
687
+ return (i === "string" ? String : Number)(t);
688
+ }
689
+ function He(t) {
690
+ return t && t.map((i, n) => /* @__PURE__ */ p.createElement(i.tag, re({
691
+ key: n
692
+ }, i.attr), He(i.child)));
693
+ }
694
+ function A(t) {
695
+ return (i) => /* @__PURE__ */ p.createElement(Mt, te({
696
+ attr: re({}, t.attr)
697
+ }, i), He(t.child));
698
+ }
699
+ function Mt(t) {
700
+ var i = (n) => {
701
+ var o = t.attr, f = t.size, h = t.title, y = zt(t, Tt), g = f || n.size || "1em", d;
702
+ return n.className && (d = n.className), t.className && (d = (d ? d + " " : "") + t.className), /* @__PURE__ */ p.createElement("svg", te({
703
+ stroke: "currentColor",
704
+ fill: "currentColor",
705
+ strokeWidth: "0"
706
+ }, n.attr, o, y, {
707
+ className: d,
708
+ style: re(re({
709
+ color: t.color || n.color
710
+ }, n.style), t.style),
711
+ height: g,
712
+ width: g,
713
+ xmlns: "http://www.w3.org/2000/svg"
714
+ }), h && /* @__PURE__ */ p.createElement("title", null, h), t.children);
715
+ };
716
+ return We !== void 0 ? /* @__PURE__ */ p.createElement(We.Consumer, null, (n) => i(n)) : i(qe);
717
+ }
718
+ function It(t) {
719
+ return A({ 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
+ }
721
+ const Vt = Nt(
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
+ {
724
+ variants: {
725
+ variant: {
726
+ primary: "border-0 bg-gradient-to-b from-[#f97e4e] to-[#f75e22] text-white hover:opacity-90",
727
+ secondary: "border border-[#f75e22] bg-white text-[#f75e22] hover:bg-orange-50",
728
+ outline: "border border-gray-300 bg-transparent text-gray-900 hover:bg-gray-50",
729
+ ghost: "border-0 bg-transparent text-gray-900 hover:bg-gray-100"
730
+ },
731
+ size: {
732
+ xs: "h-6 px-2 text-xs",
733
+ sm: "h-8 px-3 text-sm",
734
+ md: "h-10 px-4 text-sm",
735
+ lg: "h-12 px-5 text-base",
736
+ xl: "h-14 px-6 text-base"
737
+ },
738
+ iconOnly: {
739
+ true: "rounded-full p-0",
740
+ false: ""
741
+ }
742
+ },
743
+ compoundVariants: [
744
+ { iconOnly: !0, size: "xs", className: "w-6" },
745
+ { iconOnly: !0, size: "sm", className: "w-8" },
746
+ { iconOnly: !0, size: "md", className: "w-10" },
747
+ { iconOnly: !0, size: "lg", className: "w-12" },
748
+ { iconOnly: !0, size: "xl", className: "w-14" }
749
+ ],
750
+ defaultVariants: { variant: "primary", size: "lg", iconOnly: !1 }
751
+ }
752
+ ), G = Ot.forwardRef(
753
+ ({
754
+ className: t,
755
+ variant: i,
756
+ size: n,
757
+ iconOnly: o,
758
+ loading: f = !1,
759
+ disabled: h,
760
+ leftIcon: y,
761
+ rightIcon: g,
762
+ children: d,
763
+ type: w = "button",
764
+ ...b
765
+ }, j) => /* @__PURE__ */ a.jsx(
766
+ "button",
767
+ {
768
+ ref: j,
769
+ type: w,
770
+ disabled: h || f,
771
+ className: C(Vt({ variant: i, size: n, iconOnly: o }), t),
772
+ ...b,
773
+ children: f ? /* @__PURE__ */ a.jsx(It, { className: "animate-spin", "aria-hidden": !0 }) : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
774
+ y,
775
+ d,
776
+ g
777
+ ] })
778
+ }
779
+ )
780
+ );
781
+ G.displayName = "Button";
782
+ function Wt(t) {
783
+ return A({ 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);
784
+ }
785
+ function $t(t) {
786
+ return A({ 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);
787
+ }
788
+ function Bt(t) {
789
+ return A({ 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);
790
+ }
791
+ function Be(t) {
792
+ return A({ 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);
793
+ }
794
+ function Yt(t) {
795
+ return A({ 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);
796
+ }
797
+ const rr = ({
798
+ quote: t,
799
+ authorName: i,
800
+ authorAvatarUrl: n,
801
+ meta: o,
802
+ rating: f = 5,
803
+ className: h = "",
804
+ ...y
805
+ }) => /* @__PURE__ */ a.jsxs(
806
+ "div",
807
+ {
808
+ className: C(
809
+ "flex flex-col gap-3 rounded-lg bg-[#f6f5ff] p-4",
810
+ h
811
+ ),
812
+ ...y,
813
+ children: [
814
+ /* @__PURE__ */ a.jsx("p", { className: "w-full wrap-break-word text-xs font-normal text-[#1d2125] mb-4", children: t }),
815
+ /* @__PURE__ */ a.jsxs("div", { className: "flex w-full items-start gap-x-2.5", children: [
816
+ n ? /* @__PURE__ */ a.jsx(
817
+ "img",
818
+ {
819
+ src: n,
820
+ alt: "",
821
+ className: "h-10.5 w-10.5 shrink-0 rounded-full object-cover"
822
+ }
823
+ ) : /* @__PURE__ */ a.jsx(
824
+ "div",
825
+ {
826
+ className: "h-10.5 w-10.5 shrink-0 rounded-full",
827
+ style: {
828
+ background: "linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%)"
829
+ },
830
+ "aria-hidden": !0
831
+ }
832
+ ),
833
+ /* @__PURE__ */ a.jsxs("div", { className: "flex flex-col min-w-0 flex-1 gap-0.5", children: [
834
+ /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2", children: [
835
+ /* @__PURE__ */ a.jsx("span", { className: "truncate text-base font-bold text-[#1d2125]", children: i }),
836
+ /* @__PURE__ */ a.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, f)) }, (g, d) => /* @__PURE__ */ a.jsx(Bt, { size: 12 }, d)) })
837
+ ] }),
838
+ /* @__PURE__ */ a.jsx("p", { className: "text-xs font-medium text-gray-500", children: o })
839
+ ] })
840
+ ] })
841
+ ]
842
+ }
843
+ );
844
+ function fe(t) {
845
+ return A({ 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);
846
+ }
847
+ function Ut(t) {
848
+ return A({ 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);
849
+ }
850
+ const ar = ({
851
+ title: t = "अक्सर पूछे जाने वाले प्रश्न",
852
+ items: i,
853
+ initialVisibleCount: n = 6,
854
+ showCta: o = !0,
855
+ defaultExpanded: f = !1,
856
+ ctaExpandLabel: h = "और देखें",
857
+ ctaCollapseLabel: y = "कम देखें",
858
+ defaultOpenIndex: g = -1,
859
+ className: d = ""
860
+ }) => {
861
+ const [w, b] = Ae(f), [j, E] = Ae(g), z = o && i.length > n, P = z && !w ? i.slice(0, n) : i;
862
+ return /* @__PURE__ */ a.jsxs(
863
+ "div",
864
+ {
865
+ className: C(
866
+ "flex flex-col items-center gap-5 bg-white px-4 py-6",
867
+ d
868
+ ),
869
+ children: [
870
+ /* @__PURE__ */ a.jsx("h2", { className: "px-4 text-center text-base font-bold text-[#1d2125]", children: t }),
871
+ /* @__PURE__ */ a.jsx("div", { className: "flex w-full flex-col gap-3", children: P.map((S, N) => {
872
+ const O = j === N;
873
+ return /* @__PURE__ */ a.jsxs(
874
+ "div",
875
+ {
876
+ className: "w-full rounded-lg border border-[#d1d5db] bg-white",
877
+ children: [
878
+ /* @__PURE__ */ a.jsxs(
879
+ "button",
880
+ {
881
+ type: "button",
882
+ className: "flex w-full items-center justify-between gap-2 p-3 text-left",
883
+ onClick: () => E(O ? -1 : N),
884
+ "aria-expanded": O,
885
+ "aria-controls": `faq-answer-${N}`,
886
+ id: `faq-question-${N}`,
887
+ children: [
888
+ /* @__PURE__ */ a.jsx("span", { className: "flex-1 text-sm font-medium text-[#1d2125]", children: S.question }),
889
+ /* @__PURE__ */ a.jsx(
890
+ fe,
891
+ {
892
+ size: 24,
893
+ className: C("shrink-0 transition-transform duration-200", O ? "rotate-180" : ""),
894
+ "aria-hidden": !0
895
+ }
896
+ )
897
+ ]
898
+ }
899
+ ),
900
+ /* @__PURE__ */ a.jsx(
901
+ "div",
902
+ {
903
+ id: `faq-answer-${N}`,
904
+ role: "region",
905
+ "aria-labelledby": `faq-question-${N}`,
906
+ hidden: !O,
907
+ children: /* @__PURE__ */ a.jsx("p", { className: "px-3 pb-3 text-sm text-gray-500", children: S.answer })
908
+ }
909
+ )
910
+ ]
911
+ },
912
+ N
913
+ );
914
+ }) }),
915
+ z && /* @__PURE__ */ a.jsx(
916
+ G,
917
+ {
918
+ variant: "secondary",
919
+ size: "lg",
920
+ className: "w-full",
921
+ onClick: () => b((S) => !S),
922
+ "aria-expanded": w,
923
+ rightIcon: /* @__PURE__ */ a.jsx(
924
+ fe,
925
+ {
926
+ size: 24,
927
+ className: C("shrink-0 transition-transform duration-200", w ? "rotate-180" : ""),
928
+ "aria-hidden": !0
929
+ }
930
+ ),
931
+ children: w ? y : h
932
+ }
933
+ )
934
+ ]
935
+ }
936
+ );
937
+ }, qt = p.forwardRef(
938
+ ({ src: t, poster: i, className: n = "", rounded: o = !0, width: f, height: h }, y) => {
939
+ const [g, d] = p.useState(!1), [w, b] = p.useState(!0), [j, E] = p.useState(!1), [z, P] = p.useState(0), [S, N] = p.useState(0), O = p.useRef(null), F = C(
940
+ "block w-full",
941
+ (f !== void 0 || h !== void 0) && "h-full object-cover"
942
+ ), I = (L) => {
943
+ const J = Number(L.target.value);
944
+ P(J), O.current && (O.current.currentTime = J);
945
+ };
946
+ return /* @__PURE__ */ a.jsx(
947
+ "div",
948
+ {
949
+ ref: y,
950
+ style: { width: f, height: h },
951
+ className: C(
952
+ "relative w-full overflow-hidden",
953
+ o && "rounded-2xl",
954
+ n
955
+ ),
956
+ children: g ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
957
+ /* @__PURE__ */ a.jsx(
958
+ kt,
959
+ {
960
+ ref: O,
961
+ src: t,
962
+ poster: i,
963
+ playing: w,
964
+ muted: j,
965
+ width: f,
966
+ height: h,
967
+ className: F,
968
+ onTimeUpdate: (L) => P(L.currentTarget.currentTime),
969
+ onDurationChange: (L) => N(L.currentTarget.duration),
970
+ onEnded: () => b(!1)
971
+ }
972
+ ),
973
+ /* @__PURE__ */ a.jsx(
974
+ G,
975
+ {
976
+ variant: "ghost",
977
+ iconOnly: !0,
978
+ size: "lg",
979
+ "aria-label": w ? "Pause" : "Play",
980
+ className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
981
+ onClick: () => b((L) => !L),
982
+ children: w ? /* @__PURE__ */ a.jsx(Yt, { size: 16 }) : /* @__PURE__ */ a.jsx(Be, { size: 16, className: "translate-x-0.5" })
983
+ }
984
+ ),
985
+ /* @__PURE__ */ a.jsx(
986
+ G,
987
+ {
988
+ variant: "ghost",
989
+ iconOnly: !0,
990
+ size: "sm",
991
+ "aria-label": j ? "Unmute" : "Mute",
992
+ className: "absolute left-2 top-2 text-white hover:bg-white/10",
993
+ onClick: () => E((L) => !L),
994
+ children: j ? /* @__PURE__ */ a.jsx($t, { size: 14 }) : /* @__PURE__ */ a.jsx(Wt, { size: 14 })
995
+ }
996
+ ),
997
+ /* @__PURE__ */ a.jsx(
998
+ "input",
999
+ {
1000
+ type: "range",
1001
+ min: 0,
1002
+ max: S || 0,
1003
+ step: 0.1,
1004
+ value: z,
1005
+ onChange: I,
1006
+ "aria-label": "Seek",
1007
+ className: "absolute bottom-4 left-5 right-5 h-1 accent-white"
1008
+ }
1009
+ )
1010
+ ] }) : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1011
+ /* @__PURE__ */ a.jsx("img", { src: i, alt: "", className: F }),
1012
+ /* @__PURE__ */ a.jsx("div", { className: "absolute inset-0 bg-linear-to-b from-black/0 to-black/60" }),
1013
+ /* @__PURE__ */ a.jsx(
1014
+ G,
1015
+ {
1016
+ variant: "ghost",
1017
+ iconOnly: !0,
1018
+ size: "lg",
1019
+ "aria-label": "Play video",
1020
+ className: "absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",
1021
+ onClick: () => d(!0),
1022
+ children: /* @__PURE__ */ a.jsx(Be, { size: 16, className: "translate-x-0.5" })
1023
+ }
1024
+ )
1025
+ ] })
1026
+ }
1027
+ );
1028
+ }
1029
+ );
1030
+ qt.displayName = "VideoPlayer";
1031
+ const Ht = () => /* @__PURE__ */ a.jsx("img", { src: "https://srm-cdn.a4b.io/yoda/1788163707447.svg", alt: "", width: 24, height: 24 }), Ge = p.forwardRef(
1032
+ ({
1033
+ options: t,
1034
+ value: i,
1035
+ onChange: n,
1036
+ defaultOpen: o = !1,
1037
+ open: f,
1038
+ onOpenChange: h,
1039
+ className: y = "",
1040
+ triggerClassName: g = "",
1041
+ menuClassName: d = "",
1042
+ ...w
1043
+ }, b) => {
1044
+ const [j, E] = p.useState(o), z = f !== void 0, P = z ? f : j, S = p.useCallback(
1045
+ (v) => {
1046
+ z || E(v), h?.(v);
1047
+ },
1048
+ [z, h]
1049
+ ), N = p.useRef(null);
1050
+ p.useImperativeHandle(b, () => N.current), p.useEffect(() => {
1051
+ if (!P) return;
1052
+ const v = (I) => {
1053
+ N.current?.contains(I.target) || S(!1);
1054
+ }, F = (I) => {
1055
+ I.key === "Escape" && S(!1);
1056
+ };
1057
+ return document.addEventListener("mousedown", v), document.addEventListener("keydown", F), () => {
1058
+ document.removeEventListener("mousedown", v), document.removeEventListener("keydown", F);
1059
+ };
1060
+ }, [P, S]);
1061
+ const O = (v) => {
1062
+ n?.(v.value), S(!1);
1063
+ };
1064
+ return /* @__PURE__ */ a.jsxs("div", { ref: N, className: C("relative inline-block", y), ...w, children: [
1065
+ /* @__PURE__ */ a.jsxs(
1066
+ "button",
1067
+ {
1068
+ type: "button",
1069
+ onClick: () => S(!P),
1070
+ "aria-label": "Switch language",
1071
+ "aria-haspopup": "listbox",
1072
+ "aria-expanded": P,
1073
+ className: C(
1074
+ "inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",
1075
+ g
1076
+ ),
1077
+ children: [
1078
+ /* @__PURE__ */ a.jsx(Ht, {}),
1079
+ /* @__PURE__ */ a.jsx(
1080
+ fe,
1081
+ {
1082
+ size: 24,
1083
+ className: C("transition-transform duration-200", P ? "rotate-180" : ""),
1084
+ "aria-hidden": !0
1085
+ }
1086
+ )
1087
+ ]
1088
+ }
1089
+ ),
1090
+ P && /* @__PURE__ */ a.jsx(
1091
+ "ul",
1092
+ {
1093
+ role: "listbox",
1094
+ className: C(
1095
+ "absolute left-0 top-full z-10 mt-2 min-w-35 overflow-hidden rounded-lg border border-gray-200 bg-white py-1 shadow-lg",
1096
+ d
1097
+ ),
1098
+ children: t.map((v) => {
1099
+ const F = v.value === i;
1100
+ return /* @__PURE__ */ a.jsx("li", { role: "option", "aria-selected": F, children: /* @__PURE__ */ a.jsx(
1101
+ "button",
1102
+ {
1103
+ type: "button",
1104
+ onClick: () => O(v),
1105
+ className: C(
1106
+ "block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",
1107
+ F ? "font-medium text-[#f75e22]" : "text-[#1d2125]"
1108
+ ),
1109
+ children: v.label
1110
+ }
1111
+ ) }, v.value);
1112
+ })
1113
+ }
1114
+ )
1115
+ ] });
1116
+ }
1117
+ );
1118
+ Ge.displayName = "LanguageSwitcher";
1119
+ function nr({
1120
+ onBackClick: t,
1121
+ backButtonAriaLabel: i = "Go back",
1122
+ locale: n,
1123
+ localeOptions: o,
1124
+ onLocaleChange: f
1125
+ }) {
1126
+ return /* @__PURE__ */ a.jsxs("div", { className: "fixed inset-x-0 top-0 z-20 mx-auto flex w-full max-w-md items-center justify-between px-4 py-3", children: [
1127
+ /* @__PURE__ */ a.jsx(
1128
+ "button",
1129
+ {
1130
+ type: "button",
1131
+ onClick: t,
1132
+ "aria-label": i,
1133
+ 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)]",
1134
+ children: /* @__PURE__ */ a.jsx(Ut, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
1135
+ }
1136
+ ),
1137
+ /* @__PURE__ */ a.jsx("div", { className: "w-18 shrink-0", children: /* @__PURE__ */ a.jsx(Ge, { options: o, value: n, onChange: f }) })
1138
+ ] });
1139
+ }
1140
+ const Gt = p.forwardRef(
1141
+ ({ label: t, selected: i = !1, onClick: n, icon: o, className: f, type: h = "button", ...y }, g) => /* @__PURE__ */ a.jsxs(
1142
+ "button",
1143
+ {
1144
+ ref: g,
1145
+ type: h,
1146
+ onClick: n,
1147
+ "aria-pressed": i,
1148
+ className: C(
1149
+ "inline-flex shrink-0 items-center justify-center gap-1 rounded-full border font-['Noto_Sans'] text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",
1150
+ i ? "border-[#f38415] bg-[#f38415] px-4 py-1.5 text-white" : "border-[#fccf9a] bg-[#ffffff66] px-3 py-1.5 text-[#374151] hover:bg-white/70",
1151
+ f
1152
+ ),
1153
+ ...y,
1154
+ children: [
1155
+ o,
1156
+ t
1157
+ ]
1158
+ }
1159
+ )
1160
+ );
1161
+ Gt.displayName = "Chip";
1162
+ const ir = ({
1163
+ quote: t,
1164
+ currentStep: i,
1165
+ totalSteps: n,
1166
+ className: o,
1167
+ ...f
1168
+ }) => {
1169
+ const h = n > 0 ? Math.min(100, Math.max(0, i / n * 100)) : 0;
1170
+ return /* @__PURE__ */ a.jsxs(
1171
+ "div",
1172
+ {
1173
+ className: C("flex w-full items-center gap-3 px-4 py-3", o),
1174
+ ...f,
1175
+ children: [
1176
+ /* @__PURE__ */ a.jsxs("div", { className: "flex flex-1 flex-col items-center gap-2 min-w-0", children: [
1177
+ /* @__PURE__ */ a.jsx("p", { className: "w-full truncate text-center font-['Noto_Sans'] text-[10px] leading-[14px] font-semibold text-[#cf6c09]", children: t }),
1178
+ /* @__PURE__ */ a.jsxs("div", { className: "relative h-1.5 w-full rounded-full bg-[rgba(28,27,27,0.05)]", children: [
1179
+ /* @__PURE__ */ a.jsx(
1180
+ "div",
1181
+ {
1182
+ className: "w-full h-1.5 rounded-full bg-[#fccf9a] transition-[width]",
1183
+ style: { width: `${h}%` }
1184
+ }
1185
+ ),
1186
+ /* @__PURE__ */ a.jsx(
1187
+ "div",
1188
+ {
1189
+ className: "absolute top-0 -translate-y-1.75 -translate-x-1/2",
1190
+ style: { left: `${h}%` },
1191
+ children: /* @__PURE__ */ a.jsx(
1192
+ "img",
1193
+ {
1194
+ src: "https://srm-cdn.a4b.io/yoda/1788163246556.svg",
1195
+ alt: "",
1196
+ width: 21,
1197
+ height: 21
1198
+ }
1199
+ )
1200
+ }
1201
+ )
1202
+ ] })
1203
+ ] }),
1204
+ /* @__PURE__ */ a.jsxs("p", { className: "shrink-0 font-['Noto_Sans'] text-xs font-semibold text-gray-700", children: [
1205
+ i,
1206
+ "/",
1207
+ n
1208
+ ] })
1209
+ ]
1210
+ }
1211
+ );
1212
+ };
1213
+ function Jt(t) {
1214
+ return A({ 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);
1215
+ }
1216
+ function Kt(t) {
1217
+ return A({ 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);
1218
+ }
1219
+ const Ye = 1.25, Ue = [
1220
+ { x: 11.02, y: 6.38, height: 5.28 },
1221
+ { x: 16.3, y: 6.38, height: 5.28 },
1222
+ { x: 8.36, y: 3.8, height: 10.44 },
1223
+ { x: 13.68, y: 4.8, height: 8.4 },
1224
+ { x: 5.73, y: 2.84, height: 12.32 },
1225
+ { x: 3.07, y: 6, height: 6.03 },
1226
+ { x: 0.45, y: 7.29, height: 3.37 }
1227
+ ], Zt = ({
1228
+ animate: t,
1229
+ iconIndex: i
1230
+ }) => /* @__PURE__ */ a.jsx(
1231
+ "svg",
1232
+ {
1233
+ width: "18",
1234
+ height: "18",
1235
+ viewBox: "0 0 18 18",
1236
+ fill: "none",
1237
+ "aria-hidden": !0,
1238
+ xmlns: "http://www.w3.org/2000/svg",
1239
+ children: Ue.map((n, o) => /* @__PURE__ */ a.jsx(
1240
+ "rect",
1241
+ {
1242
+ x: n.x,
1243
+ y: n.y,
1244
+ width: Ye,
1245
+ height: n.height,
1246
+ rx: Ye / 2,
1247
+ fill: "#6B7280",
1248
+ className: t ? "wave-bar-anim" : "",
1249
+ style: {
1250
+ animationDelay: `${(i * Ue.length + o) * 60}ms`
1251
+ }
1252
+ },
1253
+ o
1254
+ ))
1255
+ }
1256
+ ), sr = ({
1257
+ avatarUrl: t,
1258
+ question: i,
1259
+ audioSrc: n,
1260
+ className: o,
1261
+ ...f
1262
+ }) => {
1263
+ const h = p.useRef(null), y = p.useRef(!1), [g, d] = p.useState(!1), [w, b] = p.useState(!1);
1264
+ p.useEffect(() => {
1265
+ !n || y.current || (y.current = !0, h.current?.play().catch(() => {
1266
+ }));
1267
+ }, [n]);
1268
+ const j = () => {
1269
+ const E = h.current;
1270
+ E && (E.muted = !E.muted, d(E.muted));
1271
+ };
1272
+ return /* @__PURE__ */ a.jsxs(
1273
+ "div",
1274
+ {
1275
+ className: C("flex w-full items-start gap-3 px-4 pb-6", o),
1276
+ ...f,
1277
+ children: [
1278
+ /* @__PURE__ */ a.jsxs("div", { className: "relative size-16 shrink-0 overflow-hidden rounded-[12.8px] bg-linear-to-b from-[#fef5e9] to-[#fccf9a]", children: [
1279
+ /* @__PURE__ */ a.jsx(
1280
+ "img",
1281
+ {
1282
+ src: "https://srm-cdn.a4b.io/yoda/1788163138113.svg",
1283
+ alt: "",
1284
+ className: "absolute"
1285
+ }
1286
+ ),
1287
+ /* @__PURE__ */ a.jsx(
1288
+ "img",
1289
+ {
1290
+ src: t,
1291
+ alt: "",
1292
+ className: "absolute top-1 size-[73.92px] object-contain"
1293
+ }
1294
+ )
1295
+ ] }),
1296
+ /* @__PURE__ */ a.jsxs("div", { className: "flex min-w-0 flex-1 items-start", children: [
1297
+ /* @__PURE__ */ a.jsx(
1298
+ "svg",
1299
+ {
1300
+ viewBox: "0 0 18.7767 32.5742",
1301
+ fill: "none",
1302
+ "aria-hidden": !0,
1303
+ className: "h-[32.574px] w-[18.777px] shrink-0 -mr-2",
1304
+ children: /* @__PURE__ */ a.jsx(
1305
+ "path",
1306
+ {
1307
+ d: "M0 16.2871L14.0826 7.37821L14.0826 25.196L0 16.2871Z",
1308
+ fill: "white"
1309
+ }
1310
+ )
1311
+ }
1312
+ ),
1313
+ /* @__PURE__ */ a.jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-2 rounded-2xl bg-white p-4 drop-shadow-[-2px_2px_5px_rgba(252,207,154,0.3)]", children: [
1314
+ /* @__PURE__ */ a.jsx(
1315
+ "p",
1316
+ {
1317
+ className: "font-['Noto_Sans'] text-[16px] leading-5.5 font-bold text-[#39200e]",
1318
+ style: { fontVariationSettings: '"CTGR" 0, "wdth" 100' },
1319
+ children: i
1320
+ }
1321
+ ),
1322
+ n && /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-1.5", children: [
1323
+ /* @__PURE__ */ a.jsx(
1324
+ "audio",
1325
+ {
1326
+ ref: h,
1327
+ src: n,
1328
+ onPlay: () => b(!0),
1329
+ onPause: () => b(!1),
1330
+ onEnded: () => b(!1)
1331
+ }
1332
+ ),
1333
+ /* @__PURE__ */ a.jsx(
1334
+ "button",
1335
+ {
1336
+ type: "button",
1337
+ onClick: j,
1338
+ "aria-label": g ? "Unmute" : "Mute",
1339
+ "aria-pressed": g,
1340
+ className: "flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",
1341
+ children: g ? /* @__PURE__ */ a.jsx(Kt, { size: 18, className: "text-[#f75e22]" }) : /* @__PURE__ */ a.jsx(Jt, { size: 18, className: "text-[#f75e22]" })
1342
+ }
1343
+ ),
1344
+ /* @__PURE__ */ a.jsx("div", { className: "flex items-center gap-[1.5px]", children: [0, 1, 2].map((E) => /* @__PURE__ */ a.jsx(
1345
+ Zt,
1346
+ {
1347
+ animate: w && !g,
1348
+ iconIndex: E
1349
+ },
1350
+ E
1351
+ )) })
1352
+ ] })
1353
+ ] })
1354
+ ] })
1355
+ ]
1356
+ }
1357
+ );
1358
+ };
1359
+ export {
1360
+ sr as AudioQuestionCard,
1361
+ G as Button,
1362
+ Gt as Chip,
1363
+ ar as FAQSection,
1364
+ Ge as LanguageSwitcher,
1365
+ ir as StepProgressHeader,
1366
+ rr as TestimonialCard,
1367
+ nr as TopBar,
1368
+ qt as VideoPlayer,
1369
+ Vt as buttonVariants,
1370
+ cr as cn
1371
+ };