@srimandir/make-your-own-ritual 0.2.1 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { createI18n as ca, BottomSheet as
|
|
2
|
-
import { SelectorCard as
|
|
3
|
-
import { ALL_ANCESTORS_ID as
|
|
4
|
-
import
|
|
5
|
-
import { useI18n as Lt, OUTCOME_TRUST_ITEMS as
|
|
1
|
+
import { createI18n as ca, BottomSheet as Nt, cn as ve } from "@srimandir/common";
|
|
2
|
+
import { SelectorCard as ot, Button as nt, ALL_ANCESTORS_ID as Fe, StepProgressHeader as Pt, AudioQuestionCard as At, ANCESTOR_OPTIONS as It, Chip as et, AddAncestorSheet as la, getMonthLabels as da, TITHI_NAME_KEYS as ze, AncestorTabRow as ua, DEATH_TITHI_OPTIONS as ha, SelectorCardEditableField as gt, formatDisplayDate as bt, SelectorCardNote as ma, TithiPickerSheet as fa, getAncestorAvatarUrl as tt, DatePickerSheet as pa, formatIsoDate as ya, parseIsoDate as va, AvatarCardDialog as _a, TopBar as xa, EventHeader as ga, RitualProceedBar as ba, OutcomeButton as it, CheckIcon as Ot, PlusIcon as Et, OutcomeSummary as ja, ConfinedBottomSheet as Ta, PackageSelect as Ca, CheckoutBar as Ra, getPackageSelectDefaultCopy as ka } from "@srimandir/pitru-paksh-common";
|
|
3
|
+
import { ALL_ANCESTORS_ID as Ui, ANCESTOR_OPTIONS as Gi, ServiceOfferCard as Vi } from "@srimandir/pitru-paksh-common";
|
|
4
|
+
import he, { useState as W, useMemo as Ye, useEffect as Dt, useRef as Sa } from "react";
|
|
5
|
+
import { useI18n as Lt, OUTCOME_TRUST_ITEMS as wa, OutcomeEmptyRituals as Na, OnlinePujaTestimonial as Pa, WhySriMandir as Aa, ProcessInvolved as Ia, OutcomeStickyCta as Oa, BillDetails as Ea, PujaDetailsCarouselHeader as Da, PujaBenefitsSection as La, TempleSignificanceSection as Ba, DevoteesReviews as Ha, AncestorEditModal as Ma } from "@srimandir/pitru-paksh-ritual-recommendation";
|
|
6
6
|
import { DevoteesReviews as qi, PujaBenefitsSection as Ji, PujaDetailsCarouselHeader as Qi, TempleSignificanceSection as Xi } from "@srimandir/pitru-paksh-ritual-recommendation";
|
|
7
7
|
const $a = {
|
|
8
8
|
// Header
|
|
@@ -168,102 +168,102 @@ var jt;
|
|
|
168
168
|
function Ua() {
|
|
169
169
|
if (jt) return Ee;
|
|
170
170
|
jt = 1;
|
|
171
|
-
var a =
|
|
172
|
-
function
|
|
173
|
-
var
|
|
174
|
-
d !== void 0 && (
|
|
175
|
-
for (
|
|
176
|
-
if (
|
|
177
|
-
return { $$typeof: r, type:
|
|
171
|
+
var a = he, r = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, m = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
172
|
+
function h(f, s, d) {
|
|
173
|
+
var T, R = {}, u = null, P = null;
|
|
174
|
+
d !== void 0 && (u = "" + d), s.key !== void 0 && (u = "" + s.key), s.ref !== void 0 && (P = s.ref);
|
|
175
|
+
for (T in s) n.call(s, T) && !p.hasOwnProperty(T) && (R[T] = s[T]);
|
|
176
|
+
if (f && f.defaultProps) for (T in s = f.defaultProps, s) R[T] === void 0 && (R[T] = s[T]);
|
|
177
|
+
return { $$typeof: r, type: f, key: u, ref: P, props: R, _owner: m.current };
|
|
178
178
|
}
|
|
179
|
-
return Ee.Fragment = i, Ee.jsx =
|
|
179
|
+
return Ee.Fragment = i, Ee.jsx = h, Ee.jsxs = h, Ee;
|
|
180
180
|
}
|
|
181
181
|
var De = {};
|
|
182
182
|
var Tt;
|
|
183
183
|
function Ga() {
|
|
184
184
|
return Tt || (Tt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
185
|
-
var a =
|
|
185
|
+
var a = he, r = /* @__PURE__ */ Symbol.for("react.element"), i = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), m = /* @__PURE__ */ Symbol.for("react.strict_mode"), p = /* @__PURE__ */ Symbol.for("react.profiler"), h = /* @__PURE__ */ Symbol.for("react.provider"), f = /* @__PURE__ */ Symbol.for("react.context"), s = /* @__PURE__ */ Symbol.for("react.forward_ref"), d = /* @__PURE__ */ Symbol.for("react.suspense"), T = /* @__PURE__ */ Symbol.for("react.suspense_list"), R = /* @__PURE__ */ Symbol.for("react.memo"), u = /* @__PURE__ */ Symbol.for("react.lazy"), P = /* @__PURE__ */ Symbol.for("react.offscreen"), M = Symbol.iterator, L = "@@iterator";
|
|
186
186
|
function O(t) {
|
|
187
187
|
if (t === null || typeof t != "object")
|
|
188
188
|
return null;
|
|
189
|
-
var
|
|
190
|
-
return typeof
|
|
189
|
+
var o = M && t[M] || t[L];
|
|
190
|
+
return typeof o == "function" ? o : null;
|
|
191
191
|
}
|
|
192
|
-
var
|
|
193
|
-
function
|
|
192
|
+
var A = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
193
|
+
function g(t) {
|
|
194
194
|
{
|
|
195
|
-
for (var
|
|
195
|
+
for (var o = arguments.length, c = new Array(o > 1 ? o - 1 : 0), y = 1; y < o; y++)
|
|
196
196
|
c[y - 1] = arguments[y];
|
|
197
197
|
ee("error", t, c);
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
-
function ee(t,
|
|
200
|
+
function ee(t, o, c) {
|
|
201
201
|
{
|
|
202
|
-
var y =
|
|
203
|
-
k !== "" && (
|
|
204
|
-
var
|
|
205
|
-
return String(
|
|
202
|
+
var y = A.ReactDebugCurrentFrame, k = y.getStackAddendum();
|
|
203
|
+
k !== "" && (o += "%s", c = c.concat([k]));
|
|
204
|
+
var w = c.map(function(j) {
|
|
205
|
+
return String(j);
|
|
206
206
|
});
|
|
207
|
-
|
|
207
|
+
w.unshift("Warning: " + o), Function.prototype.apply.call(console[t], console, w);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
var K = !1,
|
|
211
|
-
|
|
210
|
+
var K = !1, ne = !1, S = !1, G = !1, Te = !1, me;
|
|
211
|
+
me = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
212
212
|
function te(t) {
|
|
213
|
-
return !!(typeof t == "string" || typeof t == "function" || t ===
|
|
213
|
+
return !!(typeof t == "string" || typeof t == "function" || t === n || t === p || Te || t === m || t === d || t === T || G || t === P || K || ne || S || typeof t == "object" && t !== null && (t.$$typeof === u || t.$$typeof === R || t.$$typeof === h || t.$$typeof === f || t.$$typeof === s || // This needs to include all possible module reference object
|
|
214
214
|
// types supported by any Flight configuration anywhere since
|
|
215
215
|
// we don't know which Flight build this will end up being used
|
|
216
216
|
// with.
|
|
217
|
-
t.$$typeof ===
|
|
217
|
+
t.$$typeof === me || t.getModuleId !== void 0));
|
|
218
218
|
}
|
|
219
|
-
function ie(t,
|
|
219
|
+
function ie(t, o, c) {
|
|
220
220
|
var y = t.displayName;
|
|
221
221
|
if (y)
|
|
222
222
|
return y;
|
|
223
|
-
var k =
|
|
223
|
+
var k = o.displayName || o.name || "";
|
|
224
224
|
return k !== "" ? c + "(" + k + ")" : c;
|
|
225
225
|
}
|
|
226
226
|
function se(t) {
|
|
227
227
|
return t.displayName || "Context";
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function _(t) {
|
|
230
230
|
if (t == null)
|
|
231
231
|
return null;
|
|
232
|
-
if (typeof t.tag == "number" &&
|
|
232
|
+
if (typeof t.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
233
233
|
return t.displayName || t.name || null;
|
|
234
234
|
if (typeof t == "string")
|
|
235
235
|
return t;
|
|
236
236
|
switch (t) {
|
|
237
|
-
case
|
|
237
|
+
case n:
|
|
238
238
|
return "Fragment";
|
|
239
239
|
case i:
|
|
240
240
|
return "Portal";
|
|
241
|
-
case
|
|
241
|
+
case p:
|
|
242
242
|
return "Profiler";
|
|
243
243
|
case m:
|
|
244
244
|
return "StrictMode";
|
|
245
245
|
case d:
|
|
246
246
|
return "Suspense";
|
|
247
|
-
case
|
|
247
|
+
case T:
|
|
248
248
|
return "SuspenseList";
|
|
249
249
|
}
|
|
250
250
|
if (typeof t == "object")
|
|
251
251
|
switch (t.$$typeof) {
|
|
252
|
-
case
|
|
253
|
-
var
|
|
254
|
-
return se(
|
|
255
|
-
case
|
|
252
|
+
case f:
|
|
253
|
+
var o = t;
|
|
254
|
+
return se(o) + ".Consumer";
|
|
255
|
+
case h:
|
|
256
256
|
var c = t;
|
|
257
257
|
return se(c._context) + ".Provider";
|
|
258
258
|
case s:
|
|
259
259
|
return ie(t, t.render, "ForwardRef");
|
|
260
260
|
case R:
|
|
261
261
|
var y = t.displayName || null;
|
|
262
|
-
return y !== null ? y :
|
|
263
|
-
case
|
|
264
|
-
var k = t,
|
|
262
|
+
return y !== null ? y : _(t.type) || "Memo";
|
|
263
|
+
case u: {
|
|
264
|
+
var k = t, w = k._payload, j = k._init;
|
|
265
265
|
try {
|
|
266
|
-
return
|
|
266
|
+
return _(j(w));
|
|
267
267
|
} catch {
|
|
268
268
|
return null;
|
|
269
269
|
}
|
|
@@ -271,14 +271,14 @@ function Ga() {
|
|
|
271
271
|
}
|
|
272
272
|
return null;
|
|
273
273
|
}
|
|
274
|
-
var V = Object.assign, ae = 0, ce, Ce,
|
|
274
|
+
var V = Object.assign, ae = 0, ce, Ce, v, $, N, q, re;
|
|
275
275
|
function le() {
|
|
276
276
|
}
|
|
277
277
|
le.__reactDisabledLog = !0;
|
|
278
|
-
function
|
|
278
|
+
function ye() {
|
|
279
279
|
{
|
|
280
280
|
if (ae === 0) {
|
|
281
|
-
ce = console.log, Ce = console.info,
|
|
281
|
+
ce = console.log, Ce = console.info, v = console.warn, $ = console.error, N = console.group, q = console.groupCollapsed, re = console.groupEnd;
|
|
282
282
|
var t = {
|
|
283
283
|
configurable: !0,
|
|
284
284
|
enumerable: !0,
|
|
@@ -298,7 +298,7 @@ function Ga() {
|
|
|
298
298
|
ae++;
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function Pe() {
|
|
302
302
|
{
|
|
303
303
|
if (ae--, ae === 0) {
|
|
304
304
|
var t = {
|
|
@@ -314,13 +314,13 @@ function Ga() {
|
|
|
314
314
|
value: Ce
|
|
315
315
|
}),
|
|
316
316
|
warn: V({}, t, {
|
|
317
|
-
value:
|
|
317
|
+
value: v
|
|
318
318
|
}),
|
|
319
319
|
error: V({}, t, {
|
|
320
320
|
value: $
|
|
321
321
|
}),
|
|
322
322
|
group: V({}, t, {
|
|
323
|
-
value:
|
|
323
|
+
value: N
|
|
324
324
|
}),
|
|
325
325
|
groupCollapsed: V({}, t, {
|
|
326
326
|
value: q
|
|
@@ -330,11 +330,11 @@ function Ga() {
|
|
|
330
330
|
})
|
|
331
331
|
});
|
|
332
332
|
}
|
|
333
|
-
ae < 0 &&
|
|
333
|
+
ae < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
var E =
|
|
337
|
-
function
|
|
336
|
+
var E = A.ReactCurrentDispatcher, de;
|
|
337
|
+
function fe(t, o, c) {
|
|
338
338
|
{
|
|
339
339
|
if (de === void 0)
|
|
340
340
|
try {
|
|
@@ -347,48 +347,48 @@ function Ga() {
|
|
|
347
347
|
` + de + t;
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
var
|
|
350
|
+
var Ae = !1, xe;
|
|
351
351
|
{
|
|
352
352
|
var Ie = typeof WeakMap == "function" ? WeakMap : Map;
|
|
353
|
-
|
|
353
|
+
xe = new Ie();
|
|
354
354
|
}
|
|
355
|
-
function Le(t,
|
|
356
|
-
if (!t ||
|
|
355
|
+
function Le(t, o) {
|
|
356
|
+
if (!t || Ae)
|
|
357
357
|
return "";
|
|
358
358
|
{
|
|
359
|
-
var c =
|
|
359
|
+
var c = xe.get(t);
|
|
360
360
|
if (c !== void 0)
|
|
361
361
|
return c;
|
|
362
362
|
}
|
|
363
363
|
var y;
|
|
364
|
-
|
|
364
|
+
Ae = !0;
|
|
365
365
|
var k = Error.prepareStackTrace;
|
|
366
366
|
Error.prepareStackTrace = void 0;
|
|
367
|
-
var
|
|
368
|
-
|
|
367
|
+
var w;
|
|
368
|
+
w = E.current, E.current = null, ye();
|
|
369
369
|
try {
|
|
370
|
-
if (
|
|
371
|
-
var
|
|
370
|
+
if (o) {
|
|
371
|
+
var j = function() {
|
|
372
372
|
throw Error();
|
|
373
373
|
};
|
|
374
|
-
if (Object.defineProperty(
|
|
374
|
+
if (Object.defineProperty(j.prototype, "props", {
|
|
375
375
|
set: function() {
|
|
376
376
|
throw Error();
|
|
377
377
|
}
|
|
378
378
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
379
379
|
try {
|
|
380
|
-
Reflect.construct(
|
|
380
|
+
Reflect.construct(j, []);
|
|
381
381
|
} catch (U) {
|
|
382
382
|
y = U;
|
|
383
383
|
}
|
|
384
|
-
Reflect.construct(t, [],
|
|
384
|
+
Reflect.construct(t, [], j);
|
|
385
385
|
} else {
|
|
386
386
|
try {
|
|
387
|
-
|
|
387
|
+
j.call();
|
|
388
388
|
} catch (U) {
|
|
389
389
|
y = U;
|
|
390
390
|
}
|
|
391
|
-
t.call(
|
|
391
|
+
t.call(j.prototype);
|
|
392
392
|
}
|
|
393
393
|
} else {
|
|
394
394
|
try {
|
|
@@ -400,89 +400,89 @@ function Ga() {
|
|
|
400
400
|
}
|
|
401
401
|
} catch (U) {
|
|
402
402
|
if (U && y && typeof U.stack == "string") {
|
|
403
|
-
for (var
|
|
403
|
+
for (var x = U.stack.split(`
|
|
404
404
|
`), z = y.stack.split(`
|
|
405
|
-
`), D =
|
|
405
|
+
`), D = x.length - 1, B = z.length - 1; D >= 1 && B >= 0 && x[D] !== z[B]; )
|
|
406
406
|
B--;
|
|
407
407
|
for (; D >= 1 && B >= 0; D--, B--)
|
|
408
|
-
if (
|
|
408
|
+
if (x[D] !== z[B]) {
|
|
409
409
|
if (D !== 1 || B !== 1)
|
|
410
410
|
do
|
|
411
|
-
if (D--, B--, B < 0 ||
|
|
411
|
+
if (D--, B--, B < 0 || x[D] !== z[B]) {
|
|
412
412
|
var J = `
|
|
413
|
-
` +
|
|
414
|
-
return t.displayName && J.includes("<anonymous>") && (J = J.replace("<anonymous>", t.displayName)), typeof t == "function" &&
|
|
413
|
+
` + x[D].replace(" at new ", " at ");
|
|
414
|
+
return t.displayName && J.includes("<anonymous>") && (J = J.replace("<anonymous>", t.displayName)), typeof t == "function" && xe.set(t, J), J;
|
|
415
415
|
}
|
|
416
416
|
while (D >= 1 && B >= 0);
|
|
417
417
|
break;
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
420
|
} finally {
|
|
421
|
-
|
|
421
|
+
Ae = !1, E.current = w, Pe(), Error.prepareStackTrace = k;
|
|
422
422
|
}
|
|
423
|
-
var
|
|
424
|
-
return typeof t == "function" &&
|
|
423
|
+
var we = t ? t.displayName || t.name : "", je = we ? fe(we) : "";
|
|
424
|
+
return typeof t == "function" && xe.set(t, je), je;
|
|
425
425
|
}
|
|
426
|
-
function Ke(t,
|
|
426
|
+
function Ke(t, o, c) {
|
|
427
427
|
return Le(t, !1);
|
|
428
428
|
}
|
|
429
429
|
function qe(t) {
|
|
430
|
-
var
|
|
431
|
-
return !!(
|
|
430
|
+
var o = t.prototype;
|
|
431
|
+
return !!(o && o.isReactComponent);
|
|
432
432
|
}
|
|
433
|
-
function
|
|
433
|
+
function oe(t, o, c) {
|
|
434
434
|
if (t == null)
|
|
435
435
|
return "";
|
|
436
436
|
if (typeof t == "function")
|
|
437
437
|
return Le(t, qe(t));
|
|
438
438
|
if (typeof t == "string")
|
|
439
|
-
return
|
|
439
|
+
return fe(t);
|
|
440
440
|
switch (t) {
|
|
441
441
|
case d:
|
|
442
|
-
return
|
|
443
|
-
case
|
|
444
|
-
return
|
|
442
|
+
return fe("Suspense");
|
|
443
|
+
case T:
|
|
444
|
+
return fe("SuspenseList");
|
|
445
445
|
}
|
|
446
446
|
if (typeof t == "object")
|
|
447
447
|
switch (t.$$typeof) {
|
|
448
448
|
case s:
|
|
449
449
|
return Ke(t.render);
|
|
450
450
|
case R:
|
|
451
|
-
return
|
|
452
|
-
case
|
|
453
|
-
var y = t, k = y._payload,
|
|
451
|
+
return oe(t.type, o, c);
|
|
452
|
+
case u: {
|
|
453
|
+
var y = t, k = y._payload, w = y._init;
|
|
454
454
|
try {
|
|
455
|
-
return
|
|
455
|
+
return oe(w(k), o, c);
|
|
456
456
|
} catch {
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
return "";
|
|
461
461
|
}
|
|
462
|
-
var ge = Object.prototype.hasOwnProperty, Be = {}, Oe =
|
|
462
|
+
var ge = Object.prototype.hasOwnProperty, Be = {}, Oe = A.ReactDebugCurrentFrame;
|
|
463
463
|
function be(t) {
|
|
464
464
|
if (t) {
|
|
465
|
-
var
|
|
465
|
+
var o = t._owner, c = oe(t.type, t._source, o ? o.type : null);
|
|
466
466
|
Oe.setExtraStackFrame(c);
|
|
467
467
|
} else
|
|
468
468
|
Oe.setExtraStackFrame(null);
|
|
469
469
|
}
|
|
470
|
-
function l(t,
|
|
470
|
+
function l(t, o, c, y, k) {
|
|
471
471
|
{
|
|
472
|
-
var
|
|
473
|
-
for (var
|
|
474
|
-
if (
|
|
475
|
-
var
|
|
472
|
+
var w = Function.call.bind(ge);
|
|
473
|
+
for (var j in t)
|
|
474
|
+
if (w(t, j)) {
|
|
475
|
+
var x = void 0;
|
|
476
476
|
try {
|
|
477
|
-
if (typeof t[
|
|
478
|
-
var z = Error((y || "React class") + ": " + c + " type `" +
|
|
477
|
+
if (typeof t[j] != "function") {
|
|
478
|
+
var z = Error((y || "React class") + ": " + c + " type `" + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[j] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
479
479
|
throw z.name = "Invariant Violation", z;
|
|
480
480
|
}
|
|
481
|
-
|
|
481
|
+
x = t[j](o, j, y, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
482
482
|
} catch (D) {
|
|
483
|
-
|
|
483
|
+
x = D;
|
|
484
484
|
}
|
|
485
|
-
|
|
485
|
+
x && !(x instanceof Error) && (be(k), g("%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).", y || "React class", c, j, typeof x), be(null)), x instanceof Error && !(x.message in Be) && (Be[x.message] = !0, be(k), g("Failed %s type: %s", c, x.message), be(null));
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
488
|
}
|
|
@@ -492,7 +492,7 @@ function Ga() {
|
|
|
492
492
|
}
|
|
493
493
|
function ke(t) {
|
|
494
494
|
{
|
|
495
|
-
var
|
|
495
|
+
var o = typeof Symbol == "function" && Symbol.toStringTag, c = o && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
496
496
|
return c;
|
|
497
497
|
}
|
|
498
498
|
}
|
|
@@ -508,9 +508,9 @@ function Ga() {
|
|
|
508
508
|
}
|
|
509
509
|
function lt(t) {
|
|
510
510
|
if (He(t))
|
|
511
|
-
return
|
|
511
|
+
return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ke(t)), Me(t);
|
|
512
512
|
}
|
|
513
|
-
var dt =
|
|
513
|
+
var dt = A.ReactCurrentOwner, zt = {
|
|
514
514
|
key: !0,
|
|
515
515
|
ref: !0,
|
|
516
516
|
__self: !0,
|
|
@@ -518,27 +518,27 @@ function Ga() {
|
|
|
518
518
|
}, ut, ht;
|
|
519
519
|
function Ut(t) {
|
|
520
520
|
if (ge.call(t, "ref")) {
|
|
521
|
-
var
|
|
522
|
-
if (
|
|
521
|
+
var o = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
522
|
+
if (o && o.isReactWarning)
|
|
523
523
|
return !1;
|
|
524
524
|
}
|
|
525
525
|
return t.ref !== void 0;
|
|
526
526
|
}
|
|
527
527
|
function Gt(t) {
|
|
528
528
|
if (ge.call(t, "key")) {
|
|
529
|
-
var
|
|
530
|
-
if (
|
|
529
|
+
var o = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
530
|
+
if (o && o.isReactWarning)
|
|
531
531
|
return !1;
|
|
532
532
|
}
|
|
533
533
|
return t.key !== void 0;
|
|
534
534
|
}
|
|
535
|
-
function Vt(t,
|
|
535
|
+
function Vt(t, o) {
|
|
536
536
|
typeof t.ref == "string" && dt.current;
|
|
537
537
|
}
|
|
538
|
-
function Kt(t,
|
|
538
|
+
function Kt(t, o) {
|
|
539
539
|
{
|
|
540
540
|
var c = function() {
|
|
541
|
-
ut || (ut = !0,
|
|
541
|
+
ut || (ut = !0, g("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
542
542
|
};
|
|
543
543
|
c.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
544
544
|
get: c,
|
|
@@ -546,10 +546,10 @@ function Ga() {
|
|
|
546
546
|
});
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
function qt(t,
|
|
549
|
+
function qt(t, o) {
|
|
550
550
|
{
|
|
551
551
|
var c = function() {
|
|
552
|
-
ht || (ht = !0,
|
|
552
|
+
ht || (ht = !0, g("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
553
553
|
};
|
|
554
554
|
c.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
555
555
|
get: c,
|
|
@@ -557,57 +557,57 @@ function Ga() {
|
|
|
557
557
|
});
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
var Jt = function(t,
|
|
561
|
-
var
|
|
560
|
+
var Jt = function(t, o, c, y, k, w, j) {
|
|
561
|
+
var x = {
|
|
562
562
|
// This tag allows us to uniquely identify this as a React Element
|
|
563
563
|
$$typeof: r,
|
|
564
564
|
// Built-in properties that belong on the element
|
|
565
565
|
type: t,
|
|
566
|
-
key:
|
|
566
|
+
key: o,
|
|
567
567
|
ref: c,
|
|
568
|
-
props:
|
|
568
|
+
props: j,
|
|
569
569
|
// Record the component responsible for creating this element.
|
|
570
|
-
_owner:
|
|
570
|
+
_owner: w
|
|
571
571
|
};
|
|
572
|
-
return
|
|
572
|
+
return x._store = {}, Object.defineProperty(x._store, "validated", {
|
|
573
573
|
configurable: !1,
|
|
574
574
|
enumerable: !1,
|
|
575
575
|
writable: !0,
|
|
576
576
|
value: !1
|
|
577
|
-
}), Object.defineProperty(
|
|
577
|
+
}), Object.defineProperty(x, "_self", {
|
|
578
578
|
configurable: !1,
|
|
579
579
|
enumerable: !1,
|
|
580
580
|
writable: !1,
|
|
581
581
|
value: y
|
|
582
|
-
}), Object.defineProperty(
|
|
582
|
+
}), Object.defineProperty(x, "_source", {
|
|
583
583
|
configurable: !1,
|
|
584
584
|
enumerable: !1,
|
|
585
585
|
writable: !1,
|
|
586
586
|
value: k
|
|
587
|
-
}), Object.freeze && (Object.freeze(
|
|
587
|
+
}), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
|
|
588
588
|
};
|
|
589
|
-
function Qt(t,
|
|
589
|
+
function Qt(t, o, c, y, k) {
|
|
590
590
|
{
|
|
591
|
-
var
|
|
592
|
-
c !== void 0 && (lt(c),
|
|
593
|
-
for (
|
|
594
|
-
ge.call(
|
|
591
|
+
var w, j = {}, x = null, z = null;
|
|
592
|
+
c !== void 0 && (lt(c), x = "" + c), Gt(o) && (lt(o.key), x = "" + o.key), Ut(o) && (z = o.ref, Vt(o, k));
|
|
593
|
+
for (w in o)
|
|
594
|
+
ge.call(o, w) && !zt.hasOwnProperty(w) && (j[w] = o[w]);
|
|
595
595
|
if (t && t.defaultProps) {
|
|
596
596
|
var D = t.defaultProps;
|
|
597
|
-
for (
|
|
598
|
-
|
|
597
|
+
for (w in D)
|
|
598
|
+
j[w] === void 0 && (j[w] = D[w]);
|
|
599
599
|
}
|
|
600
|
-
if (
|
|
600
|
+
if (x || z) {
|
|
601
601
|
var B = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
602
|
-
|
|
602
|
+
x && Kt(j, B), z && qt(j, B);
|
|
603
603
|
}
|
|
604
|
-
return Jt(t,
|
|
604
|
+
return Jt(t, x, z, k, y, dt.current, j);
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
|
-
var Je =
|
|
607
|
+
var Je = A.ReactCurrentOwner, mt = A.ReactDebugCurrentFrame;
|
|
608
608
|
function Se(t) {
|
|
609
609
|
if (t) {
|
|
610
|
-
var
|
|
610
|
+
var o = t._owner, c = oe(t.type, t._source, o ? o.type : null);
|
|
611
611
|
mt.setExtraStackFrame(c);
|
|
612
612
|
} else
|
|
613
613
|
mt.setExtraStackFrame(null);
|
|
@@ -620,7 +620,7 @@ function Ga() {
|
|
|
620
620
|
function ft() {
|
|
621
621
|
{
|
|
622
622
|
if (Je.current) {
|
|
623
|
-
var t =
|
|
623
|
+
var t = _(Je.current.type);
|
|
624
624
|
if (t)
|
|
625
625
|
return `
|
|
626
626
|
|
|
@@ -635,138 +635,138 @@ Check the render method of \`` + t + "`.";
|
|
|
635
635
|
var pt = {};
|
|
636
636
|
function Zt(t) {
|
|
637
637
|
{
|
|
638
|
-
var
|
|
639
|
-
if (!
|
|
638
|
+
var o = ft();
|
|
639
|
+
if (!o) {
|
|
640
640
|
var c = typeof t == "string" ? t : t.displayName || t.name;
|
|
641
|
-
c && (
|
|
641
|
+
c && (o = `
|
|
642
642
|
|
|
643
643
|
Check the top-level render call using <` + c + ">.");
|
|
644
644
|
}
|
|
645
|
-
return
|
|
645
|
+
return o;
|
|
646
646
|
}
|
|
647
647
|
}
|
|
648
|
-
function yt(t,
|
|
648
|
+
function yt(t, o) {
|
|
649
649
|
{
|
|
650
650
|
if (!t._store || t._store.validated || t.key != null)
|
|
651
651
|
return;
|
|
652
652
|
t._store.validated = !0;
|
|
653
|
-
var c = Zt(
|
|
653
|
+
var c = Zt(o);
|
|
654
654
|
if (pt[c])
|
|
655
655
|
return;
|
|
656
656
|
pt[c] = !0;
|
|
657
657
|
var y = "";
|
|
658
|
-
t && t._owner && t._owner !== Je.current && (y = " It was passed a child from " +
|
|
658
|
+
t && t._owner && t._owner !== Je.current && (y = " It was passed a child from " + _(t._owner.type) + "."), Se(t), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, y), Se(null);
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function vt(t, o) {
|
|
662
662
|
{
|
|
663
663
|
if (typeof t != "object")
|
|
664
664
|
return;
|
|
665
665
|
if (Re(t))
|
|
666
666
|
for (var c = 0; c < t.length; c++) {
|
|
667
667
|
var y = t[c];
|
|
668
|
-
Xe(y) && yt(y,
|
|
668
|
+
Xe(y) && yt(y, o);
|
|
669
669
|
}
|
|
670
670
|
else if (Xe(t))
|
|
671
671
|
t._store && (t._store.validated = !0);
|
|
672
672
|
else if (t) {
|
|
673
673
|
var k = O(t);
|
|
674
674
|
if (typeof k == "function" && k !== t.entries)
|
|
675
|
-
for (var
|
|
676
|
-
Xe(
|
|
675
|
+
for (var w = k.call(t), j; !(j = w.next()).done; )
|
|
676
|
+
Xe(j.value) && yt(j.value, o);
|
|
677
677
|
}
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
680
|
function ea(t) {
|
|
681
681
|
{
|
|
682
|
-
var
|
|
683
|
-
if (
|
|
682
|
+
var o = t.type;
|
|
683
|
+
if (o == null || typeof o == "string")
|
|
684
684
|
return;
|
|
685
685
|
var c;
|
|
686
|
-
if (typeof
|
|
687
|
-
c =
|
|
688
|
-
else if (typeof
|
|
686
|
+
if (typeof o == "function")
|
|
687
|
+
c = o.propTypes;
|
|
688
|
+
else if (typeof o == "object" && (o.$$typeof === s || // Note: Memo only checks outer props here.
|
|
689
689
|
// Inner props are checked in the reconciler.
|
|
690
|
-
|
|
691
|
-
c =
|
|
690
|
+
o.$$typeof === R))
|
|
691
|
+
c = o.propTypes;
|
|
692
692
|
else
|
|
693
693
|
return;
|
|
694
694
|
if (c) {
|
|
695
|
-
var y =
|
|
695
|
+
var y = _(o);
|
|
696
696
|
l(c, t.props, "prop", y, t);
|
|
697
|
-
} else if (
|
|
697
|
+
} else if (o.PropTypes !== void 0 && !Qe) {
|
|
698
698
|
Qe = !0;
|
|
699
|
-
var k =
|
|
700
|
-
|
|
699
|
+
var k = _(o);
|
|
700
|
+
g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
|
|
701
701
|
}
|
|
702
|
-
typeof
|
|
702
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
705
|
function ta(t) {
|
|
706
706
|
{
|
|
707
|
-
for (var
|
|
708
|
-
var y =
|
|
707
|
+
for (var o = Object.keys(t.props), c = 0; c < o.length; c++) {
|
|
708
|
+
var y = o[c];
|
|
709
709
|
if (y !== "children" && y !== "key") {
|
|
710
|
-
Se(t),
|
|
710
|
+
Se(t), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", y), Se(null);
|
|
711
711
|
break;
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
|
-
t.ref !== null && (Se(t),
|
|
714
|
+
t.ref !== null && (Se(t), g("Invalid attribute `ref` supplied to `React.Fragment`."), Se(null));
|
|
715
715
|
}
|
|
716
716
|
}
|
|
717
|
-
var
|
|
718
|
-
function
|
|
717
|
+
var _t = {};
|
|
718
|
+
function xt(t, o, c, y, k, w) {
|
|
719
719
|
{
|
|
720
|
-
var
|
|
721
|
-
if (!
|
|
722
|
-
var
|
|
723
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (
|
|
720
|
+
var j = te(t);
|
|
721
|
+
if (!j) {
|
|
722
|
+
var x = "";
|
|
723
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (x += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
724
724
|
var z = Xt();
|
|
725
|
-
z ?
|
|
725
|
+
z ? x += z : x += ft();
|
|
726
726
|
var D;
|
|
727
|
-
t === null ? D = "null" : Re(t) ? D = "array" : t !== void 0 && t.$$typeof === r ? (D = "<" + (
|
|
727
|
+
t === null ? D = "null" : Re(t) ? D = "array" : t !== void 0 && t.$$typeof === r ? (D = "<" + (_(t.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : D = typeof t, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, x);
|
|
728
728
|
}
|
|
729
|
-
var B = Qt(t,
|
|
729
|
+
var B = Qt(t, o, c, k, w);
|
|
730
730
|
if (B == null)
|
|
731
731
|
return B;
|
|
732
|
-
if (
|
|
733
|
-
var J =
|
|
732
|
+
if (j) {
|
|
733
|
+
var J = o.children;
|
|
734
734
|
if (J !== void 0)
|
|
735
735
|
if (y)
|
|
736
736
|
if (Re(J)) {
|
|
737
|
-
for (var
|
|
738
|
-
|
|
737
|
+
for (var we = 0; we < J.length; we++)
|
|
738
|
+
vt(J[we], t);
|
|
739
739
|
Object.freeze && Object.freeze(J);
|
|
740
740
|
} else
|
|
741
|
-
|
|
741
|
+
g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
742
742
|
else
|
|
743
|
-
|
|
743
|
+
vt(J, t);
|
|
744
744
|
}
|
|
745
|
-
if (ge.call(
|
|
746
|
-
var je =
|
|
745
|
+
if (ge.call(o, "key")) {
|
|
746
|
+
var je = _(t), U = Object.keys(o).filter(function(sa) {
|
|
747
747
|
return sa !== "key";
|
|
748
748
|
}), Ze = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
749
|
-
if (!
|
|
749
|
+
if (!_t[je + Ze]) {
|
|
750
750
|
var ia = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
|
|
751
|
-
|
|
751
|
+
g(`A props object containing a "key" prop is being spread into JSX:
|
|
752
752
|
let props = %s;
|
|
753
753
|
<%s {...props} />
|
|
754
754
|
React keys must be passed directly to JSX without using spread:
|
|
755
755
|
let props = %s;
|
|
756
|
-
<%s key={someKey} {...props} />`, Ze, je, ia, je),
|
|
756
|
+
<%s key={someKey} {...props} />`, Ze, je, ia, je), _t[je + Ze] = !0;
|
|
757
757
|
}
|
|
758
758
|
}
|
|
759
|
-
return t ===
|
|
759
|
+
return t === n ? ta(B) : ea(B), B;
|
|
760
760
|
}
|
|
761
761
|
}
|
|
762
|
-
function aa(t,
|
|
763
|
-
return
|
|
762
|
+
function aa(t, o, c) {
|
|
763
|
+
return xt(t, o, c, !0);
|
|
764
764
|
}
|
|
765
|
-
function ra(t,
|
|
766
|
-
return
|
|
765
|
+
function ra(t, o, c) {
|
|
766
|
+
return xt(t, o, c, !1);
|
|
767
767
|
}
|
|
768
|
-
var
|
|
769
|
-
De.Fragment =
|
|
768
|
+
var oa = ra, na = aa;
|
|
769
|
+
De.Fragment = n, De.jsx = oa, De.jsxs = na;
|
|
770
770
|
})()), De;
|
|
771
771
|
}
|
|
772
772
|
var Ct;
|
|
@@ -779,22 +779,22 @@ var e = Va(), Ht = {
|
|
|
779
779
|
className: void 0,
|
|
780
780
|
style: void 0,
|
|
781
781
|
attr: void 0
|
|
782
|
-
}, Rt =
|
|
782
|
+
}, Rt = he.createContext && /* @__PURE__ */ he.createContext(Ht), Ka = ["attr", "size", "title"];
|
|
783
783
|
function qa(a, r) {
|
|
784
784
|
if (a == null) return {};
|
|
785
|
-
var i,
|
|
785
|
+
var i, n, m = Ja(a, r);
|
|
786
786
|
if (Object.getOwnPropertySymbols) {
|
|
787
|
-
var
|
|
788
|
-
for (
|
|
787
|
+
var p = Object.getOwnPropertySymbols(a);
|
|
788
|
+
for (n = 0; n < p.length; n++) i = p[n], r.indexOf(i) === -1 && {}.propertyIsEnumerable.call(a, i) && (m[i] = a[i]);
|
|
789
789
|
}
|
|
790
790
|
return m;
|
|
791
791
|
}
|
|
792
792
|
function Ja(a, r) {
|
|
793
793
|
if (a == null) return {};
|
|
794
794
|
var i = {};
|
|
795
|
-
for (var
|
|
796
|
-
if (r.indexOf(
|
|
797
|
-
i[
|
|
795
|
+
for (var n in a) if ({}.hasOwnProperty.call(a, n)) {
|
|
796
|
+
if (r.indexOf(n) !== -1) continue;
|
|
797
|
+
i[n] = a[n];
|
|
798
798
|
}
|
|
799
799
|
return i;
|
|
800
800
|
}
|
|
@@ -802,7 +802,7 @@ function Ue() {
|
|
|
802
802
|
return Ue = Object.assign ? Object.assign.bind() : function(a) {
|
|
803
803
|
for (var r = 1; r < arguments.length; r++) {
|
|
804
804
|
var i = arguments[r];
|
|
805
|
-
for (var
|
|
805
|
+
for (var n in i) ({}).hasOwnProperty.call(i, n) && (a[n] = i[n]);
|
|
806
806
|
}
|
|
807
807
|
return a;
|
|
808
808
|
}, Ue.apply(null, arguments);
|
|
@@ -810,20 +810,20 @@ function Ue() {
|
|
|
810
810
|
function kt(a, r) {
|
|
811
811
|
var i = Object.keys(a);
|
|
812
812
|
if (Object.getOwnPropertySymbols) {
|
|
813
|
-
var
|
|
814
|
-
r && (
|
|
813
|
+
var n = Object.getOwnPropertySymbols(a);
|
|
814
|
+
r && (n = n.filter(function(m) {
|
|
815
815
|
return Object.getOwnPropertyDescriptor(a, m).enumerable;
|
|
816
|
-
})), i.push.apply(i,
|
|
816
|
+
})), i.push.apply(i, n);
|
|
817
817
|
}
|
|
818
818
|
return i;
|
|
819
819
|
}
|
|
820
820
|
function Ge(a) {
|
|
821
821
|
for (var r = 1; r < arguments.length; r++) {
|
|
822
822
|
var i = arguments[r] != null ? arguments[r] : {};
|
|
823
|
-
r % 2 ? kt(Object(i), !0).forEach(function(
|
|
824
|
-
Qa(a,
|
|
825
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(i)) : kt(Object(i)).forEach(function(
|
|
826
|
-
Object.defineProperty(a,
|
|
823
|
+
r % 2 ? kt(Object(i), !0).forEach(function(n) {
|
|
824
|
+
Qa(a, n, i[n]);
|
|
825
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(i)) : kt(Object(i)).forEach(function(n) {
|
|
826
|
+
Object.defineProperty(a, n, Object.getOwnPropertyDescriptor(i, n));
|
|
827
827
|
});
|
|
828
828
|
}
|
|
829
829
|
return a;
|
|
@@ -839,40 +839,40 @@ function Za(a, r) {
|
|
|
839
839
|
if (typeof a != "object" || !a) return a;
|
|
840
840
|
var i = a[Symbol.toPrimitive];
|
|
841
841
|
if (i !== void 0) {
|
|
842
|
-
var
|
|
843
|
-
if (typeof
|
|
842
|
+
var n = i.call(a, r);
|
|
843
|
+
if (typeof n != "object") return n;
|
|
844
844
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
845
845
|
}
|
|
846
846
|
return (r === "string" ? String : Number)(a);
|
|
847
847
|
}
|
|
848
848
|
function Mt(a) {
|
|
849
|
-
return a && a.map((r, i) => /* @__PURE__ */
|
|
849
|
+
return a && a.map((r, i) => /* @__PURE__ */ he.createElement(r.tag, Ge({
|
|
850
850
|
key: i
|
|
851
851
|
}, r.attr), Mt(r.child)));
|
|
852
852
|
}
|
|
853
853
|
function Z(a) {
|
|
854
|
-
return (r) => /* @__PURE__ */
|
|
854
|
+
return (r) => /* @__PURE__ */ he.createElement(er, Ue({
|
|
855
855
|
attr: Ge({}, a.attr)
|
|
856
856
|
}, r), Mt(a.child));
|
|
857
857
|
}
|
|
858
858
|
function er(a) {
|
|
859
859
|
var r = (i) => {
|
|
860
|
-
var
|
|
861
|
-
return i.className && (s = i.className), a.className && (s = (s ? s + " " : "") + a.className), /* @__PURE__ */
|
|
860
|
+
var n = a.attr, m = a.size, p = a.title, h = qa(a, Ka), f = m || i.size || "1em", s;
|
|
861
|
+
return i.className && (s = i.className), a.className && (s = (s ? s + " " : "") + a.className), /* @__PURE__ */ he.createElement("svg", Ue({
|
|
862
862
|
stroke: "currentColor",
|
|
863
863
|
fill: "currentColor",
|
|
864
864
|
strokeWidth: "0"
|
|
865
|
-
}, i.attr,
|
|
865
|
+
}, i.attr, n, h, {
|
|
866
866
|
className: s,
|
|
867
867
|
style: Ge(Ge({
|
|
868
868
|
color: a.color || i.color
|
|
869
869
|
}, i.style), a.style),
|
|
870
|
-
height:
|
|
871
|
-
width:
|
|
870
|
+
height: f,
|
|
871
|
+
width: f,
|
|
872
872
|
xmlns: "http://www.w3.org/2000/svg"
|
|
873
|
-
}),
|
|
873
|
+
}), p && /* @__PURE__ */ he.createElement("title", null, p), a.children);
|
|
874
874
|
};
|
|
875
|
-
return Rt !== void 0 ? /* @__PURE__ */
|
|
875
|
+
return Rt !== void 0 ? /* @__PURE__ */ he.createElement(Rt.Consumer, null, (i) => r(i)) : r(Ht);
|
|
876
876
|
}
|
|
877
877
|
function tr(a) {
|
|
878
878
|
return Z({ 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: "8", x2: "12", y2: "16" }, child: [] }, { tag: "line", attr: { x1: "8", y1: "12", x2: "16", y2: "12" }, child: [] }] })(a);
|
|
@@ -901,16 +901,16 @@ function ct(a) {
|
|
|
901
901
|
function Yt(a) {
|
|
902
902
|
return Z({ 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: [] }] })(a);
|
|
903
903
|
}
|
|
904
|
-
function
|
|
905
|
-
const i = a.findIndex((
|
|
906
|
-
return a.map((
|
|
907
|
-
id:
|
|
908
|
-
label:
|
|
904
|
+
function or(a, r) {
|
|
905
|
+
const i = a.findIndex((n) => n.id === r);
|
|
906
|
+
return a.map((n, m) => ({
|
|
907
|
+
id: n.id,
|
|
908
|
+
label: n.ritual_name,
|
|
909
909
|
status: m < i ? "completed" : m === i ? "active" : "pending"
|
|
910
910
|
}));
|
|
911
911
|
}
|
|
912
|
-
const
|
|
913
|
-
row:
|
|
912
|
+
const nr = "myor_row_Uonz3", ir = "myor_connector_6c2qX", sr = "myor_tab_fzhnb", cr = "myor_highlight_53sSp", lr = "myor_dot_Mdkyj", dr = "myor_dotCompleted_CXFHi", ur = "myor_dotInner_tkCjz", hr = "myor_dotIcon_-WMDU", mr = "myor_label_pzOs7", fr = "myor_labelActive_Uwkku", Q = {
|
|
913
|
+
row: nr,
|
|
914
914
|
connector: ir,
|
|
915
915
|
tab: sr,
|
|
916
916
|
highlight: cr,
|
|
@@ -920,30 +920,30 @@ const or = "myor_row_Uonz3", ir = "myor_connector_6c2qX", sr = "myor_tab_fzhnb",
|
|
|
920
920
|
dotIcon: hr,
|
|
921
921
|
label: mr,
|
|
922
922
|
labelActive: fr
|
|
923
|
-
}, pr = ({ items: a, onTabClick: r, className: i }) => /* @__PURE__ */ e.jsx("div", { className: [Q.row, i].filter(Boolean).join(" "), children: a.map((
|
|
924
|
-
const
|
|
925
|
-
return /* @__PURE__ */ e.jsxs(
|
|
923
|
+
}, pr = ({ items: a, onTabClick: r, className: i }) => /* @__PURE__ */ e.jsx("div", { className: [Q.row, i].filter(Boolean).join(" "), children: a.map((n, m) => {
|
|
924
|
+
const p = n.status !== "pending" && !!r;
|
|
925
|
+
return /* @__PURE__ */ e.jsxs(he.Fragment, { children: [
|
|
926
926
|
m > 0 && /* @__PURE__ */ e.jsx("div", { className: Q.connector }),
|
|
927
927
|
/* @__PURE__ */ e.jsxs(
|
|
928
928
|
"button",
|
|
929
929
|
{
|
|
930
930
|
type: "button",
|
|
931
931
|
className: Q.tab,
|
|
932
|
-
disabled: !
|
|
933
|
-
onClick:
|
|
932
|
+
disabled: !p,
|
|
933
|
+
onClick: p ? () => r?.(n.id) : void 0,
|
|
934
934
|
children: [
|
|
935
|
-
|
|
936
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
937
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
935
|
+
n.status === "active" && /* @__PURE__ */ e.jsx("div", { className: Q.highlight }),
|
|
936
|
+
/* @__PURE__ */ e.jsx("div", { className: n.status === "completed" ? `${Q.dot} ${Q.dotCompleted}` : Q.dot, children: n.status === "completed" ? /* @__PURE__ */ e.jsx(ar, { size: 12, className: Q.dotIcon, "aria-hidden": !0 }) : /* @__PURE__ */ e.jsx("div", { className: Q.dotInner }) }),
|
|
937
|
+
/* @__PURE__ */ e.jsx("p", { className: n.status === "active" ? `${Q.label} ${Q.labelActive}` : Q.label, children: n.label })
|
|
938
938
|
]
|
|
939
939
|
}
|
|
940
940
|
)
|
|
941
|
-
] },
|
|
942
|
-
}) }), yr = "myor_header_QbWgF",
|
|
941
|
+
] }, n.id);
|
|
942
|
+
}) }), yr = "myor_header_QbWgF", vr = "myor_body_s1J5Z", _r = "myor_card_gepPI", xr = "myor_cardIcon_jJSy5", gr = "myor_icon_QDijY", br = "myor_footer_n41O8", jr = "myor_ctaButton_ZB1gf", pe = {
|
|
943
943
|
header: yr,
|
|
944
|
-
body:
|
|
945
|
-
card:
|
|
946
|
-
cardIcon:
|
|
944
|
+
body: vr,
|
|
945
|
+
card: _r,
|
|
946
|
+
cardIcon: xr,
|
|
947
947
|
icon: gr,
|
|
948
948
|
footer: br,
|
|
949
949
|
ctaButton: jr
|
|
@@ -951,59 +951,59 @@ const or = "myor_row_Uonz3", ir = "myor_connector_6c2qX", sr = "myor_tab_fzhnb",
|
|
|
951
951
|
isOpen: a,
|
|
952
952
|
onClose: r,
|
|
953
953
|
onCtaClick: i,
|
|
954
|
-
amavasyaOnly:
|
|
954
|
+
amavasyaOnly: n
|
|
955
955
|
}) => {
|
|
956
|
-
const { t: m } = Ve(), [
|
|
956
|
+
const { t: m } = Ve(), [p, h] = W("amavasya"), f = n ? "amavasya" : p;
|
|
957
957
|
return /* @__PURE__ */ e.jsx(
|
|
958
|
-
|
|
958
|
+
Nt,
|
|
959
959
|
{
|
|
960
960
|
isOpen: a,
|
|
961
961
|
onClose: r,
|
|
962
962
|
showDragHandle: !0,
|
|
963
963
|
closeButtonOutside: !0,
|
|
964
964
|
ariaLabel: m("selectRitualDaySheetHeading"),
|
|
965
|
-
header: /* @__PURE__ */ e.jsx("p", { className:
|
|
966
|
-
footer: /* @__PURE__ */ e.jsx("div", { className:
|
|
967
|
-
|
|
965
|
+
header: /* @__PURE__ */ e.jsx("p", { className: pe.header, children: m("selectRitualDaySheetHeading") }),
|
|
966
|
+
footer: /* @__PURE__ */ e.jsx("div", { className: pe.footer, children: /* @__PURE__ */ e.jsx(
|
|
967
|
+
nt,
|
|
968
968
|
{
|
|
969
969
|
variant: "primary",
|
|
970
970
|
size: "xl",
|
|
971
|
-
className:
|
|
971
|
+
className: pe.ctaButton,
|
|
972
972
|
rightIcon: /* @__PURE__ */ e.jsx(st, { "aria-hidden": !0 }),
|
|
973
|
-
onClick: () => i(
|
|
973
|
+
onClick: () => i(f),
|
|
974
974
|
children: m("selectRitualDaySheetCta")
|
|
975
975
|
}
|
|
976
976
|
) }),
|
|
977
977
|
children: /* @__PURE__ */ e.jsxs(
|
|
978
978
|
"div",
|
|
979
979
|
{
|
|
980
|
-
className:
|
|
981
|
-
role:
|
|
982
|
-
"aria-label":
|
|
980
|
+
className: pe.body,
|
|
981
|
+
role: n ? void 0 : "radiogroup",
|
|
982
|
+
"aria-label": n ? void 0 : m("selectRitualDaySheetHeading"),
|
|
983
983
|
children: [
|
|
984
984
|
/* @__PURE__ */ e.jsx(
|
|
985
|
-
|
|
985
|
+
ot,
|
|
986
986
|
{
|
|
987
|
-
selected:
|
|
988
|
-
onSelect: () =>
|
|
989
|
-
showRadio: !
|
|
987
|
+
selected: f === "amavasya",
|
|
988
|
+
onSelect: () => h("amavasya"),
|
|
989
|
+
showRadio: !n,
|
|
990
990
|
radioVariant: "check",
|
|
991
991
|
tag: m("selectRitualDaySheetTag"),
|
|
992
|
-
icon: /* @__PURE__ */ e.jsx(Yt, { size: 20, className:
|
|
993
|
-
iconClassName:
|
|
992
|
+
icon: /* @__PURE__ */ e.jsx(Yt, { size: 20, className: pe.icon, "aria-hidden": !0 }),
|
|
993
|
+
iconClassName: pe.cardIcon,
|
|
994
994
|
title: m("selectRitualDaySheetCardTitle"),
|
|
995
995
|
description: m("selectRitualDaySheetCardDescription"),
|
|
996
|
-
className:
|
|
996
|
+
className: pe.card
|
|
997
997
|
}
|
|
998
998
|
),
|
|
999
|
-
!
|
|
1000
|
-
|
|
999
|
+
!n && /* @__PURE__ */ e.jsx(
|
|
1000
|
+
ot,
|
|
1001
1001
|
{
|
|
1002
|
-
selected:
|
|
1003
|
-
onSelect: () =>
|
|
1002
|
+
selected: f === "death-anniversary",
|
|
1003
|
+
onSelect: () => h("death-anniversary"),
|
|
1004
1004
|
radioVariant: "check",
|
|
1005
|
-
icon: /* @__PURE__ */ e.jsx($t, { size: 20, className:
|
|
1006
|
-
iconClassName:
|
|
1005
|
+
icon: /* @__PURE__ */ e.jsx($t, { size: 20, className: pe.icon, "aria-hidden": !0 }),
|
|
1006
|
+
iconClassName: pe.cardIcon,
|
|
1007
1007
|
title: m("selectRitualDaySheetDeathAnniversaryTitle"),
|
|
1008
1008
|
description: m("selectRitualDaySheetDeathAnniversaryDescription")
|
|
1009
1009
|
}
|
|
@@ -1013,15 +1013,15 @@ const or = "myor_row_Uonz3", ir = "myor_connector_6c2qX", sr = "myor_tab_fzhnb",
|
|
|
1013
1013
|
)
|
|
1014
1014
|
}
|
|
1015
1015
|
);
|
|
1016
|
-
}, Cr = "myor_page_O8VCY", Rr = "myor_topBar_5KO0J", kr = "myor_backButton_lfV-P", Sr = "myor_progressHeader_WYJ0X",
|
|
1016
|
+
}, Cr = "myor_page_O8VCY", Rr = "myor_topBar_5KO0J", kr = "myor_backButton_lfV-P", Sr = "myor_progressHeader_WYJ0X", wr = "myor_question_CKUP0", Nr = "myor_pujaTabs_Thsu2", Pr = "myor_body_yDXCo", Ar = "myor_card_X3obj", Ir = "myor_cardHeader_hNn0a", Or = "myor_iconContainer_OIZOZ", Er = "myor_icon_uNORg", Dr = "myor_addMoreIcon_1OjCv", Lr = "myor_cardHeading_fPn0e", Br = "myor_chipRow_A64AY", Hr = "myor_chipDisabled_AxfL-", Mr = "myor_ctaBar_-KGIO", $r = "myor_ctaCaption_jHwSu", Wr = "myor_ctaButton_Z8NOX", H = {
|
|
1017
1017
|
page: Cr,
|
|
1018
1018
|
topBar: Rr,
|
|
1019
1019
|
backButton: kr,
|
|
1020
1020
|
progressHeader: Sr,
|
|
1021
|
-
question:
|
|
1022
|
-
pujaTabs:
|
|
1023
|
-
body:
|
|
1024
|
-
card:
|
|
1021
|
+
question: wr,
|
|
1022
|
+
pujaTabs: Nr,
|
|
1023
|
+
body: Pr,
|
|
1024
|
+
card: Ar,
|
|
1025
1025
|
cardHeader: Ir,
|
|
1026
1026
|
iconContainer: Or,
|
|
1027
1027
|
icon: Er,
|
|
@@ -1036,18 +1036,18 @@ const or = "myor_row_Uonz3", ir = "myor_connector_6c2qX", sr = "myor_tab_fzhnb",
|
|
|
1036
1036
|
store: a,
|
|
1037
1037
|
mutate: r,
|
|
1038
1038
|
avatarUrl: i,
|
|
1039
|
-
audioSrc:
|
|
1039
|
+
audioSrc: n,
|
|
1040
1040
|
onBackClick: m,
|
|
1041
|
-
onProceed:
|
|
1041
|
+
onProceed: p
|
|
1042
1042
|
}) => {
|
|
1043
|
-
const { t:
|
|
1043
|
+
const { t: h } = Ve(), f = a.currentPujaId, { selectedAncestors: s, customAncestorNames: d } = a.ancestorsByPuja[f], [T, R] = W(!1), [u, P] = W(!1), { selectedRitual: M } = a, L = M.findIndex((S) => S.id === f), O = M[L], A = L === M.length - 1, g = s.includes(Fe), ee = A && g, K = M.every(
|
|
1044
1044
|
(S) => a.ancestorsByPuja[S.id].selectedAncestors.includes(Fe)
|
|
1045
|
-
),
|
|
1046
|
-
if (!
|
|
1045
|
+
), ne = () => {
|
|
1046
|
+
if (!A) {
|
|
1047
1047
|
r({ type: "SET_CURRENT_PUJA_ID", payload: M[L + 1].id });
|
|
1048
1048
|
return;
|
|
1049
1049
|
}
|
|
1050
|
-
|
|
1050
|
+
P(!0);
|
|
1051
1051
|
};
|
|
1052
1052
|
return /* @__PURE__ */ e.jsxs("div", { className: H.page, children: [
|
|
1053
1053
|
/* @__PURE__ */ e.jsxs("div", { className: H.topBar, children: [
|
|
@@ -1056,15 +1056,15 @@ const or = "myor_row_Uonz3", ir = "myor_connector_6c2qX", sr = "myor_tab_fzhnb",
|
|
|
1056
1056
|
{
|
|
1057
1057
|
type: "button",
|
|
1058
1058
|
onClick: m,
|
|
1059
|
-
"aria-label":
|
|
1059
|
+
"aria-label": h("selectAncestorsBackAriaLabel"),
|
|
1060
1060
|
className: H.backButton,
|
|
1061
1061
|
children: /* @__PURE__ */ e.jsx(ct, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
1062
1062
|
}
|
|
1063
1063
|
),
|
|
1064
1064
|
/* @__PURE__ */ e.jsx(
|
|
1065
|
-
|
|
1065
|
+
Pt,
|
|
1066
1066
|
{
|
|
1067
|
-
quote:
|
|
1067
|
+
quote: h("selectAncestorsProgressLabel"),
|
|
1068
1068
|
currentStep: a.currentStep,
|
|
1069
1069
|
totalSteps: a.totalSteps,
|
|
1070
1070
|
className: H.progressHeader
|
|
@@ -1072,17 +1072,17 @@ const or = "myor_row_Uonz3", ir = "myor_connector_6c2qX", sr = "myor_tab_fzhnb",
|
|
|
1072
1072
|
)
|
|
1073
1073
|
] }),
|
|
1074
1074
|
/* @__PURE__ */ e.jsx(
|
|
1075
|
-
|
|
1075
|
+
At,
|
|
1076
1076
|
{
|
|
1077
1077
|
avatarUrl: i,
|
|
1078
|
-
question: /* @__PURE__ */ e.jsx("p", { className: H.question, children:
|
|
1079
|
-
audioSrc:
|
|
1078
|
+
question: /* @__PURE__ */ e.jsx("p", { className: H.question, children: h("selectAncestorsQuestion") }),
|
|
1079
|
+
audioSrc: n
|
|
1080
1080
|
}
|
|
1081
1081
|
),
|
|
1082
1082
|
/* @__PURE__ */ e.jsx(
|
|
1083
1083
|
pr,
|
|
1084
1084
|
{
|
|
1085
|
-
items:
|
|
1085
|
+
items: or(M, f),
|
|
1086
1086
|
onTabClick: (S) => r({ type: "SET_CURRENT_PUJA_ID", payload: S }),
|
|
1087
1087
|
className: H.pujaTabs
|
|
1088
1088
|
}
|
|
@@ -1091,21 +1091,21 @@ const or = "myor_row_Uonz3", ir = "myor_connector_6c2qX", sr = "myor_tab_fzhnb",
|
|
|
1091
1091
|
/* @__PURE__ */ e.jsxs("div", { className: H.cardHeader, children: [
|
|
1092
1092
|
/* @__PURE__ */ e.jsx("div", { className: H.iconContainer, children: /* @__PURE__ */ e.jsx(Yt, { size: 20, className: H.icon, "aria-hidden": !0 }) }),
|
|
1093
1093
|
/* @__PURE__ */ e.jsxs("p", { className: H.cardHeading, children: [
|
|
1094
|
-
|
|
1094
|
+
h("selectAncestorsCardHeadingPrefix"),
|
|
1095
1095
|
O.ritual_name
|
|
1096
1096
|
] })
|
|
1097
1097
|
] }),
|
|
1098
1098
|
/* @__PURE__ */ e.jsxs("div", { className: H.chipRow, children: [
|
|
1099
1099
|
It.map((S) => {
|
|
1100
|
-
const G = S.id !== Fe &&
|
|
1100
|
+
const G = S.id !== Fe && g;
|
|
1101
1101
|
return /* @__PURE__ */ e.jsx(
|
|
1102
1102
|
et,
|
|
1103
1103
|
{
|
|
1104
|
-
label:
|
|
1104
|
+
label: h(S.labelKey),
|
|
1105
1105
|
selected: s.includes(S.id),
|
|
1106
1106
|
disabled: G,
|
|
1107
1107
|
className: G ? H.chipDisabled : void 0,
|
|
1108
|
-
onClick: () => r({ type: "TOGGLE_ANCESTOR", payload: { pujaId:
|
|
1108
|
+
onClick: () => r({ type: "TOGGLE_ANCESTOR", payload: { pujaId: f, ancestor: S.id } })
|
|
1109
1109
|
},
|
|
1110
1110
|
S.id
|
|
1111
1111
|
);
|
|
@@ -1115,66 +1115,66 @@ const or = "myor_row_Uonz3", ir = "myor_connector_6c2qX", sr = "myor_tab_fzhnb",
|
|
|
1115
1115
|
{
|
|
1116
1116
|
label: S,
|
|
1117
1117
|
selected: s.includes(S),
|
|
1118
|
-
disabled:
|
|
1119
|
-
className:
|
|
1120
|
-
onClick: () => r({ type: "TOGGLE_ANCESTOR", payload: { pujaId:
|
|
1118
|
+
disabled: g,
|
|
1119
|
+
className: g ? H.chipDisabled : void 0,
|
|
1120
|
+
onClick: () => r({ type: "TOGGLE_ANCESTOR", payload: { pujaId: f, ancestor: S } })
|
|
1121
1121
|
},
|
|
1122
1122
|
S
|
|
1123
1123
|
)),
|
|
1124
1124
|
/* @__PURE__ */ e.jsx(
|
|
1125
1125
|
et,
|
|
1126
1126
|
{
|
|
1127
|
-
label:
|
|
1127
|
+
label: h(A ? "selectAncestorsAndAddMoreLabel" : "selectAncestorsAddMoreLabel"),
|
|
1128
1128
|
icon: /* @__PURE__ */ e.jsx(tr, { size: 20, className: H.addMoreIcon }),
|
|
1129
|
-
disabled:
|
|
1130
|
-
className:
|
|
1129
|
+
disabled: g,
|
|
1130
|
+
className: g ? H.chipDisabled : void 0,
|
|
1131
1131
|
onClick: () => R(!0)
|
|
1132
1132
|
}
|
|
1133
1133
|
)
|
|
1134
1134
|
] })
|
|
1135
1135
|
] }) }),
|
|
1136
1136
|
/* @__PURE__ */ e.jsxs("div", { className: H.ctaBar, children: [
|
|
1137
|
-
ee && /* @__PURE__ */ e.jsx("p", { className: H.ctaCaption, children:
|
|
1137
|
+
ee && /* @__PURE__ */ e.jsx("p", { className: H.ctaCaption, children: h("selectAncestorsAllAncestorsCaption") }),
|
|
1138
1138
|
/* @__PURE__ */ e.jsx(
|
|
1139
|
-
|
|
1139
|
+
nt,
|
|
1140
1140
|
{
|
|
1141
1141
|
variant: "primary",
|
|
1142
1142
|
size: "xl",
|
|
1143
1143
|
className: H.ctaButton,
|
|
1144
1144
|
rightIcon: /* @__PURE__ */ e.jsx(st, { "aria-hidden": !0 }),
|
|
1145
1145
|
disabled: s.length === 0,
|
|
1146
|
-
onClick:
|
|
1147
|
-
children:
|
|
1146
|
+
onClick: ne,
|
|
1147
|
+
children: h(A ? "selectAncestorsCtaProceed" : "selectAncestorsCtaNextRitual")
|
|
1148
1148
|
}
|
|
1149
1149
|
)
|
|
1150
1150
|
] }),
|
|
1151
1151
|
/* @__PURE__ */ e.jsx(
|
|
1152
1152
|
la,
|
|
1153
1153
|
{
|
|
1154
|
-
isOpen:
|
|
1154
|
+
isOpen: T,
|
|
1155
1155
|
onClose: () => R(!1),
|
|
1156
|
-
onSave: (S) => r({ type: "ADD_CUSTOM_ANCESTORS", payload: { pujaId:
|
|
1157
|
-
title:
|
|
1158
|
-
fieldLabel:
|
|
1159
|
-
namePrefix:
|
|
1160
|
-
namePlaceholder:
|
|
1161
|
-
addMoreLabel:
|
|
1162
|
-
saveCta:
|
|
1156
|
+
onSave: (S) => r({ type: "ADD_CUSTOM_ANCESTORS", payload: { pujaId: f, names: S } }),
|
|
1157
|
+
title: h("addAncestorModalTitle"),
|
|
1158
|
+
fieldLabel: h("addAncestorModalFieldLabel"),
|
|
1159
|
+
namePrefix: h("addAncestorModalNamePrefix"),
|
|
1160
|
+
namePlaceholder: h("addAncestorModalNamePlaceholder"),
|
|
1161
|
+
addMoreLabel: h("addAncestorModalAddMore"),
|
|
1162
|
+
saveCta: h("addAncestorModalSaveCta")
|
|
1163
1163
|
}
|
|
1164
1164
|
),
|
|
1165
1165
|
/* @__PURE__ */ e.jsx(
|
|
1166
1166
|
Tr,
|
|
1167
1167
|
{
|
|
1168
|
-
isOpen:
|
|
1169
|
-
onClose: () =>
|
|
1168
|
+
isOpen: u,
|
|
1169
|
+
onClose: () => P(!1),
|
|
1170
1170
|
onCtaClick: (S) => {
|
|
1171
|
-
|
|
1171
|
+
P(!1), p?.(S);
|
|
1172
1172
|
},
|
|
1173
1173
|
amavasyaOnly: K
|
|
1174
1174
|
}
|
|
1175
1175
|
)
|
|
1176
1176
|
] });
|
|
1177
|
-
}, Fr = "myor_page_B9Ri2", Yr = "myor_topBar_CtY2Q", zr = "myor_backButton_JxiAe", Ur = "myor_progressHeader_JXcG5", Gr = "myor_question_ZNnHU", Vr = "myor_questionHighlight_no4lT", Kr = "myor_subtext_cZKGs", qr = "myor_subtextHighlight_LMTAA", Jr = "myor_body_V56mX", Qr = "myor_ancestorRow_DUply", Xr = "myor_optionList_bT36o", Zr = "myor_note_dZalx",
|
|
1177
|
+
}, Fr = "myor_page_B9Ri2", Yr = "myor_topBar_CtY2Q", zr = "myor_backButton_JxiAe", Ur = "myor_progressHeader_JXcG5", Gr = "myor_question_ZNnHU", Vr = "myor_questionHighlight_no4lT", Kr = "myor_subtext_cZKGs", qr = "myor_subtextHighlight_LMTAA", Jr = "myor_body_V56mX", Qr = "myor_ancestorRow_DUply", Xr = "myor_optionList_bT36o", Zr = "myor_note_dZalx", eo = "myor_noteTitle_Jjfo-", to = "myor_noteBody_KrBA3", ao = "myor_ctaBar_JSe0J", ro = "myor_ctaButton_qK06K", F = {
|
|
1178
1178
|
page: Fr,
|
|
1179
1179
|
topBar: Yr,
|
|
1180
1180
|
backButton: zr,
|
|
@@ -1187,55 +1187,55 @@ const or = "myor_row_Uonz3", ir = "myor_connector_6c2qX", sr = "myor_tab_fzhnb",
|
|
|
1187
1187
|
ancestorRow: Qr,
|
|
1188
1188
|
optionList: Xr,
|
|
1189
1189
|
note: Zr,
|
|
1190
|
-
noteTitle:
|
|
1191
|
-
noteBody:
|
|
1192
|
-
ctaBar:
|
|
1193
|
-
ctaButton:
|
|
1194
|
-
},
|
|
1190
|
+
noteTitle: eo,
|
|
1191
|
+
noteBody: to,
|
|
1192
|
+
ctaBar: ao,
|
|
1193
|
+
ctaButton: ro
|
|
1194
|
+
}, oo = 2, no = 2, St = ze[ze.length - 1];
|
|
1195
1195
|
function Hi({
|
|
1196
1196
|
store: a,
|
|
1197
1197
|
mutate: r,
|
|
1198
1198
|
avatarUrl: i,
|
|
1199
|
-
audioSrc:
|
|
1199
|
+
audioSrc: n,
|
|
1200
1200
|
onBackClick: m,
|
|
1201
|
-
onProceed:
|
|
1202
|
-
onResolveTithiForDate:
|
|
1203
|
-
onValidateTithi:
|
|
1201
|
+
onProceed: p,
|
|
1202
|
+
onResolveTithiForDate: h,
|
|
1203
|
+
onValidateTithi: f
|
|
1204
1204
|
}) {
|
|
1205
|
-
const { t: s } = Ve(), d = a.currentPujaId,
|
|
1205
|
+
const { t: s } = Ve(), d = a.currentPujaId, T = Ye(
|
|
1206
1206
|
() => [
|
|
1207
1207
|
...new Set(
|
|
1208
1208
|
Object.values(a.ancestorsByPuja).flatMap(
|
|
1209
|
-
(
|
|
1209
|
+
(v) => v.selectedAncestors
|
|
1210
1210
|
)
|
|
1211
1211
|
)
|
|
1212
1212
|
],
|
|
1213
1213
|
[a.ancestorsByPuja]
|
|
1214
1214
|
), {
|
|
1215
1215
|
deathTithiMethodByAncestor: R,
|
|
1216
|
-
deathTithiValueByAncestor:
|
|
1217
|
-
deathDateByAncestor:
|
|
1216
|
+
deathTithiValueByAncestor: u,
|
|
1217
|
+
deathDateByAncestor: P,
|
|
1218
1218
|
tithiValidityByAncestor: M,
|
|
1219
1219
|
tithiPreviewByAncestor: L,
|
|
1220
1220
|
currentDeathTithiAncestorIndex: O
|
|
1221
|
-
} = a.deathTithiByPuja[d], [
|
|
1222
|
-
const $ = It.find((
|
|
1223
|
-
return { key:
|
|
1221
|
+
} = a.deathTithiByPuja[d], [A, g] = W(!1), [ee, K] = W(!1), [ne, S] = W(null), G = Ye(() => da(), []), Te = Ye(() => ze.map((v) => s(v)), [s]), me = T.filter((v) => v !== Fe).map((v) => {
|
|
1222
|
+
const $ = It.find((N) => N.id === v);
|
|
1223
|
+
return { key: v, label: $ ? s($.labelKey) : v };
|
|
1224
1224
|
}), te = Math.min(
|
|
1225
1225
|
O,
|
|
1226
|
-
Math.max(
|
|
1226
|
+
Math.max(me.length - 1, 0)
|
|
1227
1227
|
), [ie, se] = W(te);
|
|
1228
1228
|
Dt(() => {
|
|
1229
1229
|
se(te);
|
|
1230
1230
|
}, [te]);
|
|
1231
|
-
const
|
|
1231
|
+
const _ = me[ie], V = ie === me.length - 1, ae = _ ? R[_.key] : void 0, ce = !!ae, Ce = () => {
|
|
1232
1232
|
if (!ce) return;
|
|
1233
1233
|
if (V) {
|
|
1234
|
-
|
|
1234
|
+
p?.();
|
|
1235
1235
|
return;
|
|
1236
1236
|
}
|
|
1237
|
-
const
|
|
1238
|
-
se(
|
|
1237
|
+
const v = ie + 1;
|
|
1238
|
+
se(v), v > te && r({ type: "ADVANCE_DEATH_TITHI_ANCESTOR", payload: { pujaId: d } });
|
|
1239
1239
|
};
|
|
1240
1240
|
return /* @__PURE__ */ e.jsxs("div", { className: F.page, children: [
|
|
1241
1241
|
/* @__PURE__ */ e.jsxs("div", { className: F.topBar, children: [
|
|
@@ -1250,17 +1250,17 @@ function Hi({
|
|
|
1250
1250
|
}
|
|
1251
1251
|
),
|
|
1252
1252
|
/* @__PURE__ */ e.jsx(
|
|
1253
|
-
|
|
1253
|
+
Pt,
|
|
1254
1254
|
{
|
|
1255
1255
|
quote: s("deathTithiProgressLabel"),
|
|
1256
|
-
currentStep:
|
|
1257
|
-
totalSteps:
|
|
1256
|
+
currentStep: oo,
|
|
1257
|
+
totalSteps: no,
|
|
1258
1258
|
className: F.progressHeader
|
|
1259
1259
|
}
|
|
1260
1260
|
)
|
|
1261
1261
|
] }),
|
|
1262
1262
|
/* @__PURE__ */ e.jsx(
|
|
1263
|
-
|
|
1263
|
+
At,
|
|
1264
1264
|
{
|
|
1265
1265
|
avatarUrl: i,
|
|
1266
1266
|
question: /* @__PURE__ */ e.jsxs("p", { className: F.question, children: [
|
|
@@ -1272,132 +1272,132 @@ function Hi({
|
|
|
1272
1272
|
s("deathTithiSubtextPrefix"),
|
|
1273
1273
|
/* @__PURE__ */ e.jsx("span", { className: F.subtextHighlight, children: s("deathTithiSubtextHighlight") })
|
|
1274
1274
|
] }),
|
|
1275
|
-
audioSrc:
|
|
1275
|
+
audioSrc: n
|
|
1276
1276
|
}
|
|
1277
1277
|
),
|
|
1278
1278
|
/* @__PURE__ */ e.jsxs("div", { className: F.body, children: [
|
|
1279
1279
|
/* @__PURE__ */ e.jsx(
|
|
1280
1280
|
ua,
|
|
1281
1281
|
{
|
|
1282
|
-
entries:
|
|
1282
|
+
entries: me,
|
|
1283
1283
|
viewedIndex: ie,
|
|
1284
|
-
isEntryFilled: (
|
|
1285
|
-
isEntryReachable: (
|
|
1284
|
+
isEntryFilled: (v) => !!R[v],
|
|
1285
|
+
isEntryReachable: (v) => v <= te,
|
|
1286
1286
|
onSelect: se,
|
|
1287
1287
|
className: F.ancestorRow
|
|
1288
1288
|
}
|
|
1289
1289
|
),
|
|
1290
|
-
/* @__PURE__ */ e.jsx("div", { className: F.optionList, children: ha.map((
|
|
1291
|
-
const $ = ae ===
|
|
1290
|
+
/* @__PURE__ */ e.jsx("div", { className: F.optionList, children: ha.map((v) => {
|
|
1291
|
+
const $ = ae === v.value, N = _ && u[_.key], q = _ && M[_.key], re = _ && P[_.key], le = _ && L[_.key];
|
|
1292
1292
|
return /* @__PURE__ */ e.jsxs(
|
|
1293
|
-
|
|
1293
|
+
ot,
|
|
1294
1294
|
{
|
|
1295
1295
|
selected: $,
|
|
1296
|
-
disabled: !
|
|
1297
|
-
icon: /* @__PURE__ */ e.jsx("img", { src:
|
|
1298
|
-
title: s(
|
|
1299
|
-
description: s(
|
|
1296
|
+
disabled: !_,
|
|
1297
|
+
icon: /* @__PURE__ */ e.jsx("img", { src: v.iconUrl, alt: "", "aria-hidden": !0, className: "size-5" }),
|
|
1298
|
+
title: s(v.titleKey),
|
|
1299
|
+
description: s(v.subtextKey),
|
|
1300
1300
|
onSelect: () => {
|
|
1301
|
-
if (
|
|
1301
|
+
if (_ && (r({
|
|
1302
1302
|
type: "SET_DEATH_TITHI_METHOD",
|
|
1303
1303
|
payload: {
|
|
1304
1304
|
pujaId: d,
|
|
1305
|
-
ancestorKey:
|
|
1306
|
-
method:
|
|
1305
|
+
ancestorKey: _.key,
|
|
1306
|
+
method: v.value
|
|
1307
1307
|
}
|
|
1308
|
-
}),
|
|
1309
|
-
const
|
|
1308
|
+
}), v.value === "tithi" && g(!0), v.value === "date" && K(!0), v.value === "unknown")) {
|
|
1309
|
+
const ye = _.key;
|
|
1310
1310
|
r({
|
|
1311
1311
|
type: "SET_DEATH_TITHI_VALUE",
|
|
1312
|
-
payload: { pujaId: d, ancestorKey:
|
|
1313
|
-
}),
|
|
1312
|
+
payload: { pujaId: d, ancestorKey: ye, tithi: St }
|
|
1313
|
+
}), f?.(St, ye).then((Pe) => {
|
|
1314
1314
|
r({
|
|
1315
1315
|
type: "SET_TITHI_VALIDITY",
|
|
1316
|
-
payload: { pujaId: d, ancestorKey:
|
|
1316
|
+
payload: { pujaId: d, ancestorKey: ye, validity: Pe }
|
|
1317
1317
|
});
|
|
1318
1318
|
});
|
|
1319
1319
|
}
|
|
1320
1320
|
},
|
|
1321
1321
|
children: [
|
|
1322
|
-
$ &&
|
|
1322
|
+
$ && v.value === "tithi" && N && q?.active !== !1 && /* @__PURE__ */ e.jsx(
|
|
1323
1323
|
gt,
|
|
1324
1324
|
{
|
|
1325
|
-
value: s(
|
|
1326
|
-
onClick: () =>
|
|
1325
|
+
value: s(N),
|
|
1326
|
+
onClick: () => g(!0)
|
|
1327
1327
|
}
|
|
1328
1328
|
),
|
|
1329
|
-
$ &&
|
|
1329
|
+
$ && v.value === "date" && re && /* @__PURE__ */ e.jsx(
|
|
1330
1330
|
gt,
|
|
1331
1331
|
{
|
|
1332
1332
|
value: le?.tithiKey ? `${bt(re, G)} (${s(le.tithiKey)})` : bt(re, G),
|
|
1333
1333
|
onClick: () => K(!0)
|
|
1334
1334
|
}
|
|
1335
1335
|
),
|
|
1336
|
-
$ &&
|
|
1336
|
+
$ && v.value === "unknown" && /* @__PURE__ */ e.jsxs(ma, { className: F.note, children: [
|
|
1337
1337
|
/* @__PURE__ */ e.jsx("p", { className: F.noteTitle, children: s("deathTithiOption3ExpandedTitle") }),
|
|
1338
1338
|
/* @__PURE__ */ e.jsx("p", { className: F.noteBody, children: s("deathTithiOption3ExpandedBody") })
|
|
1339
1339
|
] })
|
|
1340
1340
|
]
|
|
1341
1341
|
},
|
|
1342
|
-
|
|
1342
|
+
v.value
|
|
1343
1343
|
);
|
|
1344
1344
|
}) })
|
|
1345
1345
|
] }),
|
|
1346
|
-
|
|
1346
|
+
_ && /* @__PURE__ */ e.jsx(
|
|
1347
1347
|
fa,
|
|
1348
1348
|
{
|
|
1349
|
-
isOpen:
|
|
1350
|
-
onClose: () =>
|
|
1351
|
-
avatarUrl: tt(
|
|
1352
|
-
heading: `${
|
|
1349
|
+
isOpen: A,
|
|
1350
|
+
onClose: () => g(!1),
|
|
1351
|
+
avatarUrl: tt(_.key),
|
|
1352
|
+
heading: `${_.label}${s("deathTithiPickerHeadingSuffix")}`,
|
|
1353
1353
|
tithis: Te,
|
|
1354
1354
|
confirmLabel: s("deathTithiPickerConfirmCta"),
|
|
1355
|
-
initialTithi:
|
|
1356
|
-
onConfirm: (
|
|
1357
|
-
const $ = ze[Te.indexOf(
|
|
1355
|
+
initialTithi: u[_.key] ? s(u[_.key]) : void 0,
|
|
1356
|
+
onConfirm: (v) => {
|
|
1357
|
+
const $ = ze[Te.indexOf(v)] ?? v, N = _.key;
|
|
1358
1358
|
r({
|
|
1359
1359
|
type: "SET_DEATH_TITHI_VALUE",
|
|
1360
|
-
payload: { pujaId: d, ancestorKey:
|
|
1361
|
-
}),
|
|
1360
|
+
payload: { pujaId: d, ancestorKey: N, tithi: $ }
|
|
1361
|
+
}), g(!1), f?.($, N).then((q) => {
|
|
1362
1362
|
r({
|
|
1363
1363
|
type: "SET_TITHI_VALIDITY",
|
|
1364
|
-
payload: { pujaId: d, ancestorKey:
|
|
1365
|
-
}), q?.active === !1 && S(
|
|
1364
|
+
payload: { pujaId: d, ancestorKey: N, validity: q }
|
|
1365
|
+
}), q?.active === !1 && S(N);
|
|
1366
1366
|
});
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
1369
|
),
|
|
1370
|
-
|
|
1370
|
+
_ && /* @__PURE__ */ e.jsx(
|
|
1371
1371
|
pa,
|
|
1372
1372
|
{
|
|
1373
1373
|
isOpen: ee,
|
|
1374
1374
|
onClose: () => K(!1),
|
|
1375
|
-
avatarUrl: tt(
|
|
1376
|
-
heading: `${
|
|
1375
|
+
avatarUrl: tt(_.key),
|
|
1376
|
+
heading: `${_.label}${s("deathTithiPickerHeadingSuffix")}`,
|
|
1377
1377
|
monthLabels: G,
|
|
1378
1378
|
confirmLabel: s("deathDatePickerConfirmCta"),
|
|
1379
1379
|
timezoneLabel: s("deathDatePickerTimezoneLabel"),
|
|
1380
|
-
initialDate:
|
|
1381
|
-
onConfirm: (
|
|
1382
|
-
const $ = ya(
|
|
1380
|
+
initialDate: va(P[_.key]),
|
|
1381
|
+
onConfirm: (v) => {
|
|
1382
|
+
const $ = ya(v), N = _.key;
|
|
1383
1383
|
r({
|
|
1384
1384
|
type: "SET_DEATH_DATE",
|
|
1385
|
-
payload: { pujaId: d, ancestorKey:
|
|
1386
|
-
}), K(!1),
|
|
1385
|
+
payload: { pujaId: d, ancestorKey: N, date: $ }
|
|
1386
|
+
}), K(!1), h?.($, N).then((q) => {
|
|
1387
1387
|
r({
|
|
1388
1388
|
type: "SET_TITHI_PREVIEW",
|
|
1389
|
-
payload: { pujaId: d, ancestorKey:
|
|
1389
|
+
payload: { pujaId: d, ancestorKey: N, preview: q }
|
|
1390
1390
|
});
|
|
1391
1391
|
});
|
|
1392
1392
|
}
|
|
1393
1393
|
}
|
|
1394
1394
|
),
|
|
1395
|
-
|
|
1396
|
-
|
|
1395
|
+
_ && /* @__PURE__ */ e.jsx(
|
|
1396
|
+
_a,
|
|
1397
1397
|
{
|
|
1398
|
-
isOpen:
|
|
1398
|
+
isOpen: ne === _.key,
|
|
1399
1399
|
onClose: () => S(null),
|
|
1400
|
-
avatarUrl: tt(
|
|
1400
|
+
avatarUrl: tt(_.key),
|
|
1401
1401
|
heading: s("amavasyaFallbackTithiPassedHeader"),
|
|
1402
1402
|
ctaLabel: s("amavasyaFallbackCta"),
|
|
1403
1403
|
onCtaClick: () => S(null),
|
|
@@ -1408,7 +1408,7 @@ function Hi({
|
|
|
1408
1408
|
}
|
|
1409
1409
|
),
|
|
1410
1410
|
/* @__PURE__ */ e.jsx("div", { className: F.ctaBar, children: /* @__PURE__ */ e.jsx(
|
|
1411
|
-
|
|
1411
|
+
nt,
|
|
1412
1412
|
{
|
|
1413
1413
|
variant: "primary",
|
|
1414
1414
|
size: "xl",
|
|
@@ -1421,30 +1421,30 @@ function Hi({
|
|
|
1421
1421
|
) })
|
|
1422
1422
|
] });
|
|
1423
1423
|
}
|
|
1424
|
-
const
|
|
1425
|
-
page:
|
|
1426
|
-
hero:
|
|
1427
|
-
title:
|
|
1428
|
-
subtitle:
|
|
1429
|
-
cta:
|
|
1430
|
-
heroCta:
|
|
1431
|
-
section:
|
|
1432
|
-
sectionTitle:
|
|
1433
|
-
body:
|
|
1434
|
-
list:
|
|
1435
|
-
steps:
|
|
1436
|
-
listItem:
|
|
1437
|
-
step:
|
|
1438
|
-
stepIndex:
|
|
1439
|
-
stepTitle:
|
|
1440
|
-
stepText:
|
|
1441
|
-
footerCta:
|
|
1442
|
-
},
|
|
1424
|
+
const io = "myor_page_0fc3b", so = "myor_hero_VTF6-", co = "myor_title_RCNWg", lo = "myor_subtitle_qOj8s", uo = "myor_cta_WFwW0", ho = "myor_heroCta_OutHC", mo = "myor_section_VfEGQ", fo = "myor_sectionTitle_jsvQW", po = "myor_body_9i6aD", yo = "myor_list_tgxt8", vo = "myor_steps_Pcxtv", _o = "myor_listItem_wXXQh", xo = "myor_step_oLrPF", go = "myor_stepIndex_3qBph", bo = "myor_stepTitle_du-O-", jo = "myor_stepText_uT1qY", To = "myor_footerCta_HTx-T", I = {
|
|
1425
|
+
page: io,
|
|
1426
|
+
hero: so,
|
|
1427
|
+
title: co,
|
|
1428
|
+
subtitle: lo,
|
|
1429
|
+
cta: uo,
|
|
1430
|
+
heroCta: ho,
|
|
1431
|
+
section: mo,
|
|
1432
|
+
sectionTitle: fo,
|
|
1433
|
+
body: po,
|
|
1434
|
+
list: yo,
|
|
1435
|
+
steps: vo,
|
|
1436
|
+
listItem: _o,
|
|
1437
|
+
step: xo,
|
|
1438
|
+
stepIndex: go,
|
|
1439
|
+
stepTitle: bo,
|
|
1440
|
+
stepText: jo,
|
|
1441
|
+
footerCta: To
|
|
1442
|
+
}, Co = [
|
|
1443
1443
|
"The deity you want the ritual performed for",
|
|
1444
1444
|
"The temple and the pandit who performs it",
|
|
1445
1445
|
"The sankalp — your name, gotra and intention",
|
|
1446
1446
|
"The offerings and prasad sent back to you"
|
|
1447
|
-
],
|
|
1447
|
+
], Ro = [
|
|
1448
1448
|
{ title: "Pick your intention", text: "Tell us what you are seeking — health, wealth, marriage, protection." },
|
|
1449
1449
|
{ title: "Build your ritual", text: "Choose the deity, temple and offerings that fit your sankalp." },
|
|
1450
1450
|
{ title: "Watch it performed", text: "Your ritual is performed in your name, with a video and prasad sent to you." }
|
|
@@ -1464,183 +1464,183 @@ const sn = "myor_page_0fc3b", cn = "myor_hero_VTF6-", ln = "myor_title_RCNWg", d
|
|
|
1464
1464
|
] }),
|
|
1465
1465
|
/* @__PURE__ */ e.jsxs("section", { className: I.section, children: [
|
|
1466
1466
|
/* @__PURE__ */ e.jsx("h2", { className: I.sectionTitle, children: "What you can choose" }),
|
|
1467
|
-
/* @__PURE__ */ e.jsx("ul", { className: I.list, children:
|
|
1467
|
+
/* @__PURE__ */ e.jsx("ul", { className: I.list, children: Co.map((n) => /* @__PURE__ */ e.jsx("li", { className: I.listItem, children: n }, n)) })
|
|
1468
1468
|
] }),
|
|
1469
1469
|
/* @__PURE__ */ e.jsxs("section", { className: I.section, children: [
|
|
1470
1470
|
/* @__PURE__ */ e.jsx("h2", { className: I.sectionTitle, children: "How it works" }),
|
|
1471
|
-
/* @__PURE__ */ e.jsx("ol", { className: I.steps, children:
|
|
1471
|
+
/* @__PURE__ */ e.jsx("ol", { className: I.steps, children: Ro.map((n, m) => /* @__PURE__ */ e.jsxs("li", { className: I.step, children: [
|
|
1472
1472
|
/* @__PURE__ */ e.jsx("span", { className: I.stepIndex, children: m + 1 }),
|
|
1473
1473
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1474
|
-
/* @__PURE__ */ e.jsx("p", { className: I.stepTitle, children:
|
|
1475
|
-
/* @__PURE__ */ e.jsx("p", { className: I.stepText, children:
|
|
1474
|
+
/* @__PURE__ */ e.jsx("p", { className: I.stepTitle, children: n.title }),
|
|
1475
|
+
/* @__PURE__ */ e.jsx("p", { className: I.stepText, children: n.text })
|
|
1476
1476
|
] })
|
|
1477
|
-
] },
|
|
1477
|
+
] }, n.title)) })
|
|
1478
1478
|
] }),
|
|
1479
1479
|
/* @__PURE__ */ e.jsx("div", { className: I.footerCta, children: /* @__PURE__ */ e.jsx("button", { type: "button", className: I.cta, onClick: a, children: r }) })
|
|
1480
1480
|
] });
|
|
1481
|
-
function
|
|
1481
|
+
function ko(a) {
|
|
1482
1482
|
return Z({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2" }, child: [] }] })(a);
|
|
1483
1483
|
}
|
|
1484
|
-
function
|
|
1484
|
+
function So(a) {
|
|
1485
1485
|
return Z({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z" }, child: [] }] })(a);
|
|
1486
1486
|
}
|
|
1487
|
-
const
|
|
1488
|
-
card:
|
|
1489
|
-
cardSelected:
|
|
1490
|
-
cardUnselected:
|
|
1491
|
-
toggleButton:
|
|
1492
|
-
image:
|
|
1493
|
-
textCol:
|
|
1494
|
-
title:
|
|
1495
|
-
description:
|
|
1496
|
-
checkboxWrap:
|
|
1497
|
-
checkboxIconSelected:
|
|
1498
|
-
checkboxIconUnselected:
|
|
1499
|
-
divider:
|
|
1500
|
-
dividerRule: $
|
|
1501
|
-
locationRow:
|
|
1502
|
-
locationIcon:
|
|
1503
|
-
locationLabel:
|
|
1504
|
-
tagsRow:
|
|
1505
|
-
tagsRowBleed:
|
|
1506
|
-
tagRowDefault:
|
|
1507
|
-
tagText:
|
|
1508
|
-
tagTextDefault:
|
|
1509
|
-
tagDot:
|
|
1510
|
-
priceRow:
|
|
1511
|
-
priceGroup:
|
|
1512
|
-
priceLabel:
|
|
1513
|
-
priceValue:
|
|
1514
|
-
linkButton:
|
|
1515
|
-
linkIcon:
|
|
1516
|
-
},
|
|
1517
|
-
function
|
|
1487
|
+
const wo = "myor_card_POf7K", No = "myor_cardSelected_wCllF", Po = "myor_cardUnselected_BPzTK", Ao = "myor_toggleButton_u8t2I", Io = "myor_image_t2gR7", Oo = "myor_textCol_DMIK2", Eo = "myor_title_K9YEj", Do = "myor_description_gY9eW", Lo = "myor_checkboxWrap_oI9If", Bo = "myor_checkboxIconSelected_BGx0o", Ho = "myor_checkboxIconUnselected_jVp8v", Mo = "myor_divider_FKvWz", $o = "myor_dividerRule_QJsNV", Wo = "myor_locationRow_8mnFW", Fo = "myor_locationIcon_-Rlkl", Yo = "myor_locationLabel_WobTw", zo = "myor_tagsRow_USLYk", Uo = "myor_tagsRowBleed_Zo3-x", Go = "myor_tagRowDefault_greq1", Vo = "myor_tagText_nMC6Y", Ko = "myor_tagTextDefault_h-vQx", qo = "myor_tagDot_sKYge", Jo = "myor_priceRow_Rgvwn", Qo = "myor_priceGroup_2-XnO", Xo = "myor_priceLabel_d0XGz", Zo = "myor_priceValue_JTX-v", en = "myor_linkButton_SY8Y0", tn = "myor_linkIcon_Ux61m", C = {
|
|
1488
|
+
card: wo,
|
|
1489
|
+
cardSelected: No,
|
|
1490
|
+
cardUnselected: Po,
|
|
1491
|
+
toggleButton: Ao,
|
|
1492
|
+
image: Io,
|
|
1493
|
+
textCol: Oo,
|
|
1494
|
+
title: Eo,
|
|
1495
|
+
description: Do,
|
|
1496
|
+
checkboxWrap: Lo,
|
|
1497
|
+
checkboxIconSelected: Bo,
|
|
1498
|
+
checkboxIconUnselected: Ho,
|
|
1499
|
+
divider: Mo,
|
|
1500
|
+
dividerRule: $o,
|
|
1501
|
+
locationRow: Wo,
|
|
1502
|
+
locationIcon: Fo,
|
|
1503
|
+
locationLabel: Yo,
|
|
1504
|
+
tagsRow: zo,
|
|
1505
|
+
tagsRowBleed: Uo,
|
|
1506
|
+
tagRowDefault: Go,
|
|
1507
|
+
tagText: Vo,
|
|
1508
|
+
tagTextDefault: Ko,
|
|
1509
|
+
tagDot: qo,
|
|
1510
|
+
priceRow: Jo,
|
|
1511
|
+
priceGroup: Qo,
|
|
1512
|
+
priceLabel: Xo,
|
|
1513
|
+
priceValue: Zo,
|
|
1514
|
+
linkButton: en,
|
|
1515
|
+
linkIcon: tn
|
|
1516
|
+
}, an = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
1517
|
+
function rn({
|
|
1518
1518
|
imageUrl: a,
|
|
1519
1519
|
imageAlt: r = "",
|
|
1520
1520
|
title: i,
|
|
1521
|
-
titleClassName:
|
|
1521
|
+
titleClassName: n,
|
|
1522
1522
|
description: m,
|
|
1523
|
-
descriptionClassName:
|
|
1524
|
-
locationLabel:
|
|
1525
|
-
ratingLabel:
|
|
1523
|
+
descriptionClassName: p,
|
|
1524
|
+
locationLabel: h,
|
|
1525
|
+
ratingLabel: f,
|
|
1526
1526
|
bookedLabel: s,
|
|
1527
1527
|
tagClassName: d,
|
|
1528
|
-
tagTextClassName:
|
|
1528
|
+
tagTextClassName: T,
|
|
1529
1529
|
priceLabel: R,
|
|
1530
|
-
price:
|
|
1531
|
-
linkLabel:
|
|
1530
|
+
price: u,
|
|
1531
|
+
linkLabel: P,
|
|
1532
1532
|
onLinkClick: M,
|
|
1533
1533
|
selected: L,
|
|
1534
1534
|
onToggle: O,
|
|
1535
|
-
selectAriaLabel:
|
|
1536
|
-
className:
|
|
1535
|
+
selectAriaLabel: A = "Select ritual",
|
|
1536
|
+
className: g
|
|
1537
1537
|
}) {
|
|
1538
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
1539
|
-
/* @__PURE__ */ e.jsxs("button", { type: "button", onClick: O, "aria-pressed": L, "aria-label":
|
|
1538
|
+
return /* @__PURE__ */ e.jsxs("div", { className: ve(C.card, L ? C.cardSelected : C.cardUnselected, g), children: [
|
|
1539
|
+
/* @__PURE__ */ e.jsxs("button", { type: "button", onClick: O, "aria-pressed": L, "aria-label": A, className: C.toggleButton, children: [
|
|
1540
1540
|
/* @__PURE__ */ e.jsx("img", { src: a, alt: r, className: C.image }),
|
|
1541
1541
|
/* @__PURE__ */ e.jsxs("div", { className: C.textCol, children: [
|
|
1542
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1543
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1542
|
+
/* @__PURE__ */ e.jsx("p", { className: ve(C.title, n), children: i }),
|
|
1543
|
+
/* @__PURE__ */ e.jsx("p", { className: ve(C.description, p), children: m })
|
|
1544
1544
|
] }),
|
|
1545
|
-
/* @__PURE__ */ e.jsx("span", { className: C.checkboxWrap, "aria-hidden": !0, children: L ? /* @__PURE__ */ e.jsx(
|
|
1545
|
+
/* @__PURE__ */ e.jsx("span", { className: C.checkboxWrap, "aria-hidden": !0, children: L ? /* @__PURE__ */ e.jsx(So, { className: C.checkboxIconSelected }) : /* @__PURE__ */ e.jsx(ko, { className: C.checkboxIconUnselected }) })
|
|
1546
1546
|
] }),
|
|
1547
|
-
(
|
|
1548
|
-
|
|
1549
|
-
/* @__PURE__ */ e.jsx("img", { src:
|
|
1550
|
-
/* @__PURE__ */ e.jsx("p", { className: C.locationLabel, children:
|
|
1547
|
+
(h || f || s) && /* @__PURE__ */ e.jsx("hr", { className: ve(C.divider, C.dividerRule) }),
|
|
1548
|
+
h && /* @__PURE__ */ e.jsxs("div", { className: C.locationRow, children: [
|
|
1549
|
+
/* @__PURE__ */ e.jsx("img", { src: an, alt: "", "aria-hidden": !0, className: C.locationIcon }),
|
|
1550
|
+
/* @__PURE__ */ e.jsx("p", { className: C.locationLabel, children: h })
|
|
1551
1551
|
] }),
|
|
1552
|
-
(
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
s && /* @__PURE__ */ e.jsx("p", { className:
|
|
1552
|
+
(f || s) && /* @__PURE__ */ e.jsxs("div", { className: ve(C.tagsRow, C.tagsRowBleed, d ?? C.tagRowDefault), children: [
|
|
1553
|
+
f && /* @__PURE__ */ e.jsx("p", { className: ve(C.tagText, T ?? C.tagTextDefault), children: f }),
|
|
1554
|
+
f && s && /* @__PURE__ */ e.jsx("span", { className: ve(C.tagDot, T ?? C.tagTextDefault), "aria-hidden": !0 }),
|
|
1555
|
+
s && /* @__PURE__ */ e.jsx("p", { className: ve(C.tagText, T ?? C.tagTextDefault), children: s })
|
|
1556
1556
|
] }),
|
|
1557
1557
|
/* @__PURE__ */ e.jsxs("div", { className: C.priceRow, children: [
|
|
1558
1558
|
/* @__PURE__ */ e.jsxs("p", { className: C.priceGroup, children: [
|
|
1559
1559
|
/* @__PURE__ */ e.jsx("span", { className: C.priceLabel, children: R }),
|
|
1560
|
-
/* @__PURE__ */ e.jsx("span", { className: C.priceValue, children:
|
|
1560
|
+
/* @__PURE__ */ e.jsx("span", { className: C.priceValue, children: u })
|
|
1561
1561
|
] }),
|
|
1562
1562
|
/* @__PURE__ */ e.jsxs("button", { type: "button", onClick: M, className: C.linkButton, children: [
|
|
1563
|
-
|
|
1563
|
+
P,
|
|
1564
1564
|
/* @__PURE__ */ e.jsx(Ft, { "aria-hidden": !0, className: C.linkIcon })
|
|
1565
1565
|
] })
|
|
1566
1566
|
] })
|
|
1567
1567
|
] });
|
|
1568
1568
|
}
|
|
1569
|
-
const
|
|
1570
|
-
root:
|
|
1571
|
-
headerWrap:
|
|
1572
|
-
topBar:
|
|
1573
|
-
note:
|
|
1574
|
-
noteText:
|
|
1575
|
-
infoRow:
|
|
1576
|
-
infoIcon:
|
|
1577
|
-
infoText:
|
|
1578
|
-
ritualList:
|
|
1579
|
-
proceedBarWrap:
|
|
1580
|
-
},
|
|
1569
|
+
const on = "myor_root_TKo8-", nn = "myor_headerWrap_tY4EN", sn = "myor_topBar_fFUMc", cn = "myor_note_41luB", ln = "myor_noteText_OLaJC", dn = "myor_infoRow_BiwfM", un = "myor_infoIcon_TJtv3", hn = "myor_infoText_pyrVV", mn = "myor_ritualList_D8KyB", fn = "myor_proceedBarWrap_scIAy", ue = {
|
|
1570
|
+
root: on,
|
|
1571
|
+
headerWrap: nn,
|
|
1572
|
+
topBar: sn,
|
|
1573
|
+
note: cn,
|
|
1574
|
+
noteText: ln,
|
|
1575
|
+
infoRow: dn,
|
|
1576
|
+
infoIcon: un,
|
|
1577
|
+
infoText: hn,
|
|
1578
|
+
ritualList: mn,
|
|
1579
|
+
proceedBarWrap: fn
|
|
1580
|
+
}, pn = Fa.map((a) => ({
|
|
1581
1581
|
value: a,
|
|
1582
1582
|
label: Ya[a]
|
|
1583
|
-
})),
|
|
1583
|
+
})), yn = (a, r) => r == null ? void 0 : a === "hi" ? `${r} ★ पूजा रेटिंग` : `${r} ★ Pooja Rating`, vn = (a, r) => r == null ? void 0 : a === "hi" ? `${r} भक्तों द्वारा बुक किया गया` : `Booked by ${r} devotees`;
|
|
1584
1584
|
function $i({
|
|
1585
1585
|
store: a,
|
|
1586
1586
|
mutate: r,
|
|
1587
1587
|
onProceed: i,
|
|
1588
|
-
onLocaleChange:
|
|
1588
|
+
onLocaleChange: n,
|
|
1589
1589
|
onAboutRitualClick: m
|
|
1590
1590
|
}) {
|
|
1591
|
-
const { t:
|
|
1591
|
+
const { t: p, locale: h } = Ve(), f = a.selectedRituals.size, s = Ye(
|
|
1592
1592
|
() => Array.from(a.selectedRituals.values()).reduce(
|
|
1593
|
-
(d,
|
|
1593
|
+
(d, T) => d + T.price,
|
|
1594
1594
|
0
|
|
1595
1595
|
),
|
|
1596
1596
|
[a.selectedRituals]
|
|
1597
1597
|
);
|
|
1598
1598
|
return /* @__PURE__ */ e.jsxs("main", { className: ue.root, children: [
|
|
1599
1599
|
/* @__PURE__ */ e.jsx(
|
|
1600
|
-
|
|
1600
|
+
xa,
|
|
1601
1601
|
{
|
|
1602
|
-
locale:
|
|
1603
|
-
localeOptions:
|
|
1604
|
-
onLocaleChange: (d) =>
|
|
1602
|
+
locale: h,
|
|
1603
|
+
localeOptions: pn,
|
|
1604
|
+
onLocaleChange: (d) => n(d),
|
|
1605
1605
|
className: ue.topBar
|
|
1606
1606
|
}
|
|
1607
1607
|
),
|
|
1608
1608
|
/* @__PURE__ */ e.jsx("div", { className: ue.headerWrap, children: /* @__PURE__ */ e.jsx(
|
|
1609
1609
|
ga,
|
|
1610
1610
|
{
|
|
1611
|
-
badgeLabel:
|
|
1612
|
-
dateRangeLabel:
|
|
1613
|
-
headline:
|
|
1611
|
+
badgeLabel: p("headerBadge"),
|
|
1612
|
+
dateRangeLabel: p("headerDateRange"),
|
|
1613
|
+
headline: p("headerHeadline")
|
|
1614
1614
|
}
|
|
1615
1615
|
) }),
|
|
1616
1616
|
/* @__PURE__ */ e.jsxs("div", { className: ue.note, children: [
|
|
1617
|
-
/* @__PURE__ */ e.jsx("p", { className: ue.noteText, children:
|
|
1617
|
+
/* @__PURE__ */ e.jsx("p", { className: ue.noteText, children: p("chooseMultipleNote") }),
|
|
1618
1618
|
/* @__PURE__ */ e.jsxs("div", { className: ue.infoRow, children: [
|
|
1619
1619
|
/* @__PURE__ */ e.jsx(Wt, { "aria-hidden": !0, className: ue.infoIcon }),
|
|
1620
|
-
/* @__PURE__ */ e.jsx("p", { className: ue.infoText, children:
|
|
1620
|
+
/* @__PURE__ */ e.jsx("p", { className: ue.infoText, children: p("nextStepInfoNote") })
|
|
1621
1621
|
] })
|
|
1622
1622
|
] }),
|
|
1623
1623
|
/* @__PURE__ */ e.jsx("div", { className: ue.ritualList, children: a.rituals.map((d) => {
|
|
1624
|
-
const
|
|
1624
|
+
const T = a.selectedRituals.has(d.id);
|
|
1625
1625
|
return /* @__PURE__ */ e.jsx(
|
|
1626
|
-
|
|
1626
|
+
rn,
|
|
1627
1627
|
{
|
|
1628
1628
|
imageUrl: d.image,
|
|
1629
1629
|
title: d.title,
|
|
1630
1630
|
description: d.description,
|
|
1631
1631
|
locationLabel: d.locationLabel,
|
|
1632
|
-
ratingLabel:
|
|
1633
|
-
bookedLabel:
|
|
1634
|
-
priceLabel:
|
|
1632
|
+
ratingLabel: yn(h, d.rating),
|
|
1633
|
+
bookedLabel: vn(h, d.bookings),
|
|
1634
|
+
priceLabel: p("ritualPriceLabel"),
|
|
1635
1635
|
price: `${d.currency_symbol}${d.price}`,
|
|
1636
|
-
linkLabel:
|
|
1636
|
+
linkLabel: p(
|
|
1637
1637
|
d.ritualType === "ritual" ? "ritualAboutLink" : d.ritualType === "chadhava" ? "ritualAboutChadhava" : "ritualAboutSeva"
|
|
1638
1638
|
),
|
|
1639
1639
|
onLinkClick: () => m?.(d.id),
|
|
1640
|
-
selected:
|
|
1640
|
+
selected: T,
|
|
1641
1641
|
onToggle: () => {
|
|
1642
1642
|
const R = new Map(a.selectedRituals);
|
|
1643
|
-
|
|
1643
|
+
T ? R.delete(d.id) : R.set(d.id, {
|
|
1644
1644
|
id: d.id,
|
|
1645
1645
|
ritual_name: d.ritual_name,
|
|
1646
1646
|
ritual_description: d.description,
|
|
@@ -1650,7 +1650,7 @@ function $i({
|
|
|
1650
1650
|
type: d.ritualType === "chadhava" ? "chadava" : "seva"
|
|
1651
1651
|
}), r({ type: "SET_SELECTED_RITUALS", payload: Array.from(R.values()) });
|
|
1652
1652
|
},
|
|
1653
|
-
selectAriaLabel:
|
|
1653
|
+
selectAriaLabel: p("ritualSelectAriaLabel")
|
|
1654
1654
|
},
|
|
1655
1655
|
d.id
|
|
1656
1656
|
);
|
|
@@ -1658,163 +1658,163 @@ function $i({
|
|
|
1658
1658
|
/* @__PURE__ */ e.jsx("div", { className: ue.proceedBarWrap, children: /* @__PURE__ */ e.jsx(
|
|
1659
1659
|
ba,
|
|
1660
1660
|
{
|
|
1661
|
-
amount:
|
|
1662
|
-
subtitle:
|
|
1663
|
-
proceedLabel:
|
|
1664
|
-
disabled:
|
|
1661
|
+
amount: f > 0 ? `₹${s}/-` : void 0,
|
|
1662
|
+
subtitle: f > 0 ? `${f} ${p(f === 1 ? "ritualCountSingular" : "ritualCountPlural")}` : void 0,
|
|
1663
|
+
proceedLabel: p("ctaProceed"),
|
|
1664
|
+
disabled: f === 0,
|
|
1665
1665
|
onProceed: () => i?.(Array.from(a.selectedRituals.keys()))
|
|
1666
1666
|
}
|
|
1667
1667
|
) })
|
|
1668
1668
|
] });
|
|
1669
1669
|
}
|
|
1670
|
-
const
|
|
1671
|
-
body:
|
|
1672
|
-
image:
|
|
1673
|
-
title:
|
|
1674
|
-
description:
|
|
1670
|
+
const _n = "myor_body_tSY6L", xn = "myor_image_bxDy8", gn = "myor_title_i9OQr", bn = "myor_description_znbxM", We = {
|
|
1671
|
+
body: _n,
|
|
1672
|
+
image: xn,
|
|
1673
|
+
title: gn,
|
|
1674
|
+
description: bn
|
|
1675
1675
|
}, Wi = ({
|
|
1676
1676
|
isOpen: a,
|
|
1677
1677
|
onClose: r,
|
|
1678
1678
|
imageUrl: i,
|
|
1679
|
-
title:
|
|
1679
|
+
title: n,
|
|
1680
1680
|
description: m
|
|
1681
1681
|
}) => /* @__PURE__ */ e.jsx(
|
|
1682
|
-
|
|
1682
|
+
Nt,
|
|
1683
1683
|
{
|
|
1684
1684
|
isOpen: a,
|
|
1685
1685
|
onClose: r,
|
|
1686
1686
|
showDragHandle: !0,
|
|
1687
1687
|
closeButtonOutside: !0,
|
|
1688
|
-
ariaLabel:
|
|
1688
|
+
ariaLabel: n,
|
|
1689
1689
|
children: /* @__PURE__ */ e.jsxs("div", { className: We.body, children: [
|
|
1690
1690
|
/* @__PURE__ */ e.jsx("img", { src: i, alt: "", className: We.image }),
|
|
1691
|
-
/* @__PURE__ */ e.jsx("p", { className: We.title, children:
|
|
1691
|
+
/* @__PURE__ */ e.jsx("p", { className: We.title, children: n }),
|
|
1692
1692
|
/* @__PURE__ */ e.jsx("p", { className: We.description, children: m })
|
|
1693
1693
|
] })
|
|
1694
1694
|
}
|
|
1695
1695
|
);
|
|
1696
|
-
function
|
|
1696
|
+
function jn(a) {
|
|
1697
1697
|
return Z({ 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: [] }] })(a);
|
|
1698
1698
|
}
|
|
1699
|
-
const
|
|
1700
|
-
card:
|
|
1701
|
-
headerRow:
|
|
1702
|
-
ancestorChip:
|
|
1703
|
-
indexBadge:
|
|
1704
|
-
ancestorLabel:
|
|
1705
|
-
editButton:
|
|
1706
|
-
editIcon:
|
|
1707
|
-
imageRow:
|
|
1708
|
-
imageWrap:
|
|
1709
|
-
image:
|
|
1710
|
-
contentCol:
|
|
1711
|
-
title:
|
|
1712
|
-
description:
|
|
1713
|
-
learnMoreLink:
|
|
1714
|
-
learnMoreIcon:
|
|
1715
|
-
detailsDivider:
|
|
1716
|
-
detailsCol:
|
|
1717
|
-
detailRow: $
|
|
1718
|
-
detailIcon:
|
|
1719
|
-
detailText:
|
|
1720
|
-
locationIcon:
|
|
1721
|
-
statsRow:
|
|
1722
|
-
statsText:
|
|
1723
|
-
statsDot:
|
|
1724
|
-
footerRow:
|
|
1725
|
-
priceCol:
|
|
1726
|
-
priceLabelRow:
|
|
1727
|
-
priceLabel:
|
|
1728
|
-
priceInfoButton:
|
|
1729
|
-
priceInfoIcon:
|
|
1730
|
-
priceValue:
|
|
1699
|
+
const Tn = "myor_card_zVyav", Cn = "myor_headerRow_2iyfI", Rn = "myor_ancestorChip_GOm2o", kn = "myor_indexBadge_j--oH", Sn = "myor_ancestorLabel_1Qa8p", wn = "myor_editButton_raHuP", Nn = "myor_editIcon_aWi6O", Pn = "myor_imageRow_-tgd9", An = "myor_imageWrap_PInsw", In = "myor_image_lw6dk", On = "myor_contentCol_HZBny", En = "myor_title_wGpCJ", Dn = "myor_description_HsA1D", Ln = "myor_learnMoreLink_2Wgfw", Bn = "myor_learnMoreIcon_WSLCs", Hn = "myor_detailsDivider_8Hj2f", Mn = "myor_detailsCol_-1DMK", $n = "myor_detailRow_Y1Uo5", Wn = "myor_detailIcon_0OXyv", Fn = "myor_detailText_fmivs", Yn = "myor_locationIcon_Eaj9I", zn = "myor_statsRow_ZHGac", Un = "myor_statsText_Cmn-Z", Gn = "myor_statsDot_vFj-o", Vn = "myor_footerRow_C8E5n", Kn = "myor_priceCol_QSiOg", qn = "myor_priceLabelRow_FEmIE", Jn = "myor_priceLabel_x8K7g", Qn = "myor_priceInfoButton_a1I3K", Xn = "myor_priceInfoIcon_z-X-f", Zn = "myor_priceValue_6-v5z", ei = "myor_ctaWrap_51mcA", b = {
|
|
1700
|
+
card: Tn,
|
|
1701
|
+
headerRow: Cn,
|
|
1702
|
+
ancestorChip: Rn,
|
|
1703
|
+
indexBadge: kn,
|
|
1704
|
+
ancestorLabel: Sn,
|
|
1705
|
+
editButton: wn,
|
|
1706
|
+
editIcon: Nn,
|
|
1707
|
+
imageRow: Pn,
|
|
1708
|
+
imageWrap: An,
|
|
1709
|
+
image: In,
|
|
1710
|
+
contentCol: On,
|
|
1711
|
+
title: En,
|
|
1712
|
+
description: Dn,
|
|
1713
|
+
learnMoreLink: Ln,
|
|
1714
|
+
learnMoreIcon: Bn,
|
|
1715
|
+
detailsDivider: Hn,
|
|
1716
|
+
detailsCol: Mn,
|
|
1717
|
+
detailRow: $n,
|
|
1718
|
+
detailIcon: Wn,
|
|
1719
|
+
detailText: Fn,
|
|
1720
|
+
locationIcon: Yn,
|
|
1721
|
+
statsRow: zn,
|
|
1722
|
+
statsText: Un,
|
|
1723
|
+
statsDot: Gn,
|
|
1724
|
+
footerRow: Vn,
|
|
1725
|
+
priceCol: Kn,
|
|
1726
|
+
priceLabelRow: qn,
|
|
1727
|
+
priceLabel: Jn,
|
|
1728
|
+
priceInfoButton: Qn,
|
|
1729
|
+
priceInfoIcon: Xn,
|
|
1730
|
+
priceValue: Zn,
|
|
1731
1731
|
ctaWrap: ei
|
|
1732
1732
|
}, ti = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
1733
1733
|
function ai({
|
|
1734
1734
|
index: a,
|
|
1735
1735
|
ancestorsLabel: r,
|
|
1736
1736
|
onEditClick: i,
|
|
1737
|
-
imageUrl:
|
|
1737
|
+
imageUrl: n,
|
|
1738
1738
|
imageAlt: m,
|
|
1739
|
-
ratingLabel:
|
|
1740
|
-
bookedLabel:
|
|
1741
|
-
title:
|
|
1739
|
+
ratingLabel: p,
|
|
1740
|
+
bookedLabel: h,
|
|
1741
|
+
title: f,
|
|
1742
1742
|
description: s,
|
|
1743
1743
|
learnMoreLabel: d = "About This Seva",
|
|
1744
|
-
onLearnMoreClick:
|
|
1744
|
+
onLearnMoreClick: T,
|
|
1745
1745
|
learnMoreHref: R,
|
|
1746
|
-
dateLabel:
|
|
1747
|
-
locationLabel:
|
|
1746
|
+
dateLabel: u,
|
|
1747
|
+
locationLabel: P,
|
|
1748
1748
|
price: M,
|
|
1749
1749
|
isAdded: L,
|
|
1750
1750
|
onCtaClick: O,
|
|
1751
|
-
onPriceInfoClick:
|
|
1751
|
+
onPriceInfoClick: A
|
|
1752
1752
|
}) {
|
|
1753
|
-
const
|
|
1754
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
1755
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1756
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1757
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
1758
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1753
|
+
const g = p != null || h != null, ee = u != null || P != null;
|
|
1754
|
+
return /* @__PURE__ */ e.jsxs("div", { className: b.card, children: [
|
|
1755
|
+
/* @__PURE__ */ e.jsxs("div", { className: b.headerRow, children: [
|
|
1756
|
+
/* @__PURE__ */ e.jsxs("div", { className: b.ancestorChip, children: [
|
|
1757
|
+
/* @__PURE__ */ e.jsx("span", { className: b.indexBadge, children: String(a).padStart(2, "0") }),
|
|
1758
|
+
/* @__PURE__ */ e.jsx("p", { className: b.ancestorLabel, children: r })
|
|
1759
1759
|
] }),
|
|
1760
1760
|
i && /* @__PURE__ */ e.jsx(
|
|
1761
1761
|
"button",
|
|
1762
1762
|
{
|
|
1763
1763
|
type: "button",
|
|
1764
|
-
className:
|
|
1764
|
+
className: b.editButton,
|
|
1765
1765
|
onClick: i,
|
|
1766
1766
|
"aria-label": "Edit ancestors",
|
|
1767
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1767
|
+
children: /* @__PURE__ */ e.jsx(jn, { "aria-hidden": !0, className: b.editIcon })
|
|
1768
1768
|
}
|
|
1769
1769
|
)
|
|
1770
1770
|
] }),
|
|
1771
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1772
|
-
|
|
1773
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1774
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
1775
|
-
s != null && /* @__PURE__ */ e.jsx("p", { className:
|
|
1776
|
-
|
|
1771
|
+
/* @__PURE__ */ e.jsxs("div", { className: b.imageRow, children: [
|
|
1772
|
+
n != null && /* @__PURE__ */ e.jsx("div", { className: b.imageWrap, children: /* @__PURE__ */ e.jsx("img", { src: n, alt: m, className: b.image }) }),
|
|
1773
|
+
/* @__PURE__ */ e.jsxs("div", { className: b.contentCol, children: [
|
|
1774
|
+
/* @__PURE__ */ e.jsx("h3", { className: b.title, children: f }),
|
|
1775
|
+
s != null && /* @__PURE__ */ e.jsx("p", { className: b.description, children: s }),
|
|
1776
|
+
T != null && /* @__PURE__ */ e.jsxs("a", { href: R, className: b.learnMoreLink, onClick: T, children: [
|
|
1777
1777
|
d,
|
|
1778
|
-
/* @__PURE__ */ e.jsx(Ft, { "aria-hidden": !0, className:
|
|
1778
|
+
/* @__PURE__ */ e.jsx(Ft, { "aria-hidden": !0, className: b.learnMoreIcon })
|
|
1779
1779
|
] })
|
|
1780
1780
|
] })
|
|
1781
1781
|
] }),
|
|
1782
1782
|
ee && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1783
|
-
/* @__PURE__ */ e.jsx("hr", { className:
|
|
1784
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1785
|
-
|
|
1786
|
-
/* @__PURE__ */ e.jsx(rr, { "aria-hidden": !0, className:
|
|
1787
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1783
|
+
/* @__PURE__ */ e.jsx("hr", { className: b.detailsDivider }),
|
|
1784
|
+
/* @__PURE__ */ e.jsxs("div", { className: b.detailsCol, children: [
|
|
1785
|
+
u != null && /* @__PURE__ */ e.jsxs("div", { className: b.detailRow, children: [
|
|
1786
|
+
/* @__PURE__ */ e.jsx(rr, { "aria-hidden": !0, className: b.detailIcon }),
|
|
1787
|
+
/* @__PURE__ */ e.jsx("p", { className: b.detailText, children: u })
|
|
1788
1788
|
] }),
|
|
1789
|
-
|
|
1790
|
-
/* @__PURE__ */ e.jsx("img", { src: ti, alt: "", "aria-hidden": !0, className:
|
|
1791
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1789
|
+
P != null && /* @__PURE__ */ e.jsxs("div", { className: b.detailRow, children: [
|
|
1790
|
+
/* @__PURE__ */ e.jsx("img", { src: ti, alt: "", "aria-hidden": !0, className: b.locationIcon }),
|
|
1791
|
+
/* @__PURE__ */ e.jsx("p", { className: b.detailText, children: P })
|
|
1792
1792
|
] })
|
|
1793
1793
|
] })
|
|
1794
1794
|
] }),
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1795
|
+
g && /* @__PURE__ */ e.jsxs("div", { className: b.statsRow, children: [
|
|
1796
|
+
p != null && /* @__PURE__ */ e.jsx("p", { className: b.statsText, children: p }),
|
|
1797
|
+
p != null && h != null && /* @__PURE__ */ e.jsx("span", { className: b.statsDot, "aria-hidden": !0 }),
|
|
1798
|
+
h != null && /* @__PURE__ */ e.jsx("p", { className: b.statsText, children: h })
|
|
1799
1799
|
] }),
|
|
1800
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1801
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1802
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
1803
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1804
|
-
|
|
1800
|
+
/* @__PURE__ */ e.jsxs("div", { className: b.footerRow, children: [
|
|
1801
|
+
/* @__PURE__ */ e.jsxs("div", { className: b.priceCol, children: [
|
|
1802
|
+
/* @__PURE__ */ e.jsxs("div", { className: b.priceLabelRow, children: [
|
|
1803
|
+
/* @__PURE__ */ e.jsx("p", { className: b.priceLabel, children: "Seva Price" }),
|
|
1804
|
+
A && /* @__PURE__ */ e.jsx(
|
|
1805
1805
|
"button",
|
|
1806
1806
|
{
|
|
1807
1807
|
type: "button",
|
|
1808
|
-
className:
|
|
1809
|
-
onClick:
|
|
1808
|
+
className: b.priceInfoButton,
|
|
1809
|
+
onClick: A,
|
|
1810
1810
|
"aria-label": "More info",
|
|
1811
|
-
children: /* @__PURE__ */ e.jsx(Wt, { "aria-hidden": !0, className:
|
|
1811
|
+
children: /* @__PURE__ */ e.jsx(Wt, { "aria-hidden": !0, className: b.priceInfoIcon })
|
|
1812
1812
|
}
|
|
1813
1813
|
)
|
|
1814
1814
|
] }),
|
|
1815
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
1815
|
+
/* @__PURE__ */ e.jsx("p", { className: b.priceValue, children: M })
|
|
1816
1816
|
] }),
|
|
1817
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
1817
|
+
/* @__PURE__ */ e.jsx("div", { className: b.ctaWrap, children: /* @__PURE__ */ e.jsx(
|
|
1818
1818
|
it,
|
|
1819
1819
|
{
|
|
1820
1820
|
variant: L ? "secondary" : "primary",
|
|
@@ -1826,64 +1826,10 @@ function ai({
|
|
|
1826
1826
|
] })
|
|
1827
1827
|
] });
|
|
1828
1828
|
}
|
|
1829
|
-
const
|
|
1830
|
-
image: a,
|
|
1831
|
-
imageAlt: r = "",
|
|
1832
|
-
title: i,
|
|
1833
|
-
description: o,
|
|
1834
|
-
price: m,
|
|
1835
|
-
originalPrice: f,
|
|
1836
|
-
tag: u,
|
|
1837
|
-
tagClassName: p,
|
|
1838
|
-
action: s,
|
|
1839
|
-
className: d,
|
|
1840
|
-
...g
|
|
1841
|
-
}) => /* @__PURE__ */ e.jsxs(
|
|
1842
|
-
"div",
|
|
1843
|
-
{
|
|
1844
|
-
className: he(
|
|
1845
|
-
"overflow-hidden rounded-2xl border border-gray-100 bg-white shadow-sm",
|
|
1846
|
-
d
|
|
1847
|
-
),
|
|
1848
|
-
...g,
|
|
1849
|
-
children: [
|
|
1850
|
-
u && /* @__PURE__ */ e.jsx(
|
|
1851
|
-
"div",
|
|
1852
|
-
{
|
|
1853
|
-
className: he(
|
|
1854
|
-
"inline-flex items-center gap-1.5 rounded-tl-2xl rounded-br-2xl bg-emerald-800 px-3 py-1.5 text-xs font-semibold text-white",
|
|
1855
|
-
p
|
|
1856
|
-
),
|
|
1857
|
-
children: u
|
|
1858
|
-
}
|
|
1859
|
-
),
|
|
1860
|
-
/* @__PURE__ */ e.jsxs("div", { className: "flex gap-3 p-4", children: [
|
|
1861
|
-
/* @__PURE__ */ e.jsxs("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
1862
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-sm leading-5 font-bold text-[#232323]", children: i }),
|
|
1863
|
-
o && /* @__PURE__ */ e.jsx("p", { className: "mt-1 text-xs leading-4 text-[#6B7280]", children: o }),
|
|
1864
|
-
/* @__PURE__ */ e.jsxs("div", { className: "mt-auto flex items-baseline gap-1.5 whitespace-nowrap pt-3", children: [
|
|
1865
|
-
/* @__PURE__ */ e.jsx("span", { className: "text-[18px] font-semibold text-emerald-600", children: m }),
|
|
1866
|
-
f && /* @__PURE__ */ e.jsx("span", { className: "text-sm text-gray-400 line-through", children: f })
|
|
1867
|
-
] })
|
|
1868
|
-
] }),
|
|
1869
|
-
/* @__PURE__ */ e.jsxs("div", { className: "relative h-34.25 w-30 shrink-0", children: [
|
|
1870
|
-
/* @__PURE__ */ e.jsx(
|
|
1871
|
-
"img",
|
|
1872
|
-
{
|
|
1873
|
-
src: a,
|
|
1874
|
-
alt: r,
|
|
1875
|
-
className: "size-30 rounded-2xl object-cover"
|
|
1876
|
-
}
|
|
1877
|
-
),
|
|
1878
|
-
s && /* @__PURE__ */ e.jsx("div", { className: "absolute inset-x-0 bottom-0 mx-auto w-fit", children: s })
|
|
1879
|
-
] })
|
|
1880
|
-
] })
|
|
1881
|
-
]
|
|
1882
|
-
}
|
|
1883
|
-
), ri = "myor_card_eKOTn", ni = "myor_image_V5dzL", oi = "myor_scrim_codM1", ii = "myor_contentRow_03R2I", si = "myor_contentCard_pPP12", ci = "myor_textCol_azlwn", li = "myor_title_LpBTu", di = "myor_description_ka3HR", ui = "myor_priceCol_pA84q", hi = "myor_priceRow_pvJ5S", mi = "myor_originalPrice_EIJxF", fi = "myor_price_durxh", X = {
|
|
1829
|
+
const ri = "myor_card_eKOTn", oi = "myor_image_V5dzL", ni = "myor_scrim_codM1", ii = "myor_contentRow_03R2I", si = "myor_contentCard_pPP12", ci = "myor_textCol_azlwn", li = "myor_title_LpBTu", di = "myor_description_ka3HR", ui = "myor_priceCol_pA84q", hi = "myor_priceRow_pvJ5S", mi = "myor_originalPrice_EIJxF", fi = "myor_price_durxh", X = {
|
|
1884
1830
|
card: ri,
|
|
1885
|
-
image:
|
|
1886
|
-
scrim:
|
|
1831
|
+
image: oi,
|
|
1832
|
+
scrim: ni,
|
|
1887
1833
|
contentRow: ii,
|
|
1888
1834
|
contentCard: si,
|
|
1889
1835
|
textCol: ci,
|
|
@@ -1898,11 +1844,11 @@ function pi({
|
|
|
1898
1844
|
imageUrl: a,
|
|
1899
1845
|
imageAlt: r,
|
|
1900
1846
|
title: i,
|
|
1901
|
-
description:
|
|
1847
|
+
description: n,
|
|
1902
1848
|
originalPrice: m,
|
|
1903
|
-
price:
|
|
1904
|
-
isAdded:
|
|
1905
|
-
onCtaClick:
|
|
1849
|
+
price: p,
|
|
1850
|
+
isAdded: h,
|
|
1851
|
+
onCtaClick: f,
|
|
1906
1852
|
disabled: s
|
|
1907
1853
|
}) {
|
|
1908
1854
|
const { t: d } = Lt();
|
|
@@ -1912,81 +1858,81 @@ function pi({
|
|
|
1912
1858
|
/* @__PURE__ */ e.jsx("div", { className: X.contentRow, children: /* @__PURE__ */ e.jsxs("div", { className: X.contentCard, children: [
|
|
1913
1859
|
/* @__PURE__ */ e.jsxs("div", { className: X.textCol, children: [
|
|
1914
1860
|
/* @__PURE__ */ e.jsx("p", { className: X.title, children: i }),
|
|
1915
|
-
/* @__PURE__ */ e.jsx("p", { className: X.description, children:
|
|
1861
|
+
/* @__PURE__ */ e.jsx("p", { className: X.description, children: n })
|
|
1916
1862
|
] }),
|
|
1917
1863
|
/* @__PURE__ */ e.jsxs("div", { className: X.priceCol, children: [
|
|
1918
1864
|
/* @__PURE__ */ e.jsxs("div", { className: X.priceRow, children: [
|
|
1919
1865
|
m != null && /* @__PURE__ */ e.jsx("p", { className: X.originalPrice, children: m }),
|
|
1920
|
-
/* @__PURE__ */ e.jsx("p", { className: X.price, children:
|
|
1866
|
+
/* @__PURE__ */ e.jsx("p", { className: X.price, children: p })
|
|
1921
1867
|
] }),
|
|
1922
1868
|
/* @__PURE__ */ e.jsx(
|
|
1923
1869
|
it,
|
|
1924
1870
|
{
|
|
1925
|
-
variant:
|
|
1926
|
-
leftIcon:
|
|
1927
|
-
onClick:
|
|
1871
|
+
variant: h ? "secondary" : "primary",
|
|
1872
|
+
leftIcon: h ? /* @__PURE__ */ e.jsx(Ot, { className: "size-5" }) : /* @__PURE__ */ e.jsx(Et, { className: "size-5" }),
|
|
1873
|
+
onClick: f,
|
|
1928
1874
|
disabled: s,
|
|
1929
1875
|
style: s ? { backgroundImage: "none", color: "#6b7280", borderColor: "#d1d5db" } : void 0,
|
|
1930
|
-
children: d(
|
|
1876
|
+
children: d(h ? "outcomeAddedLabel" : "outcomeAddLabel")
|
|
1931
1877
|
}
|
|
1932
1878
|
)
|
|
1933
1879
|
] })
|
|
1934
1880
|
] }) })
|
|
1935
1881
|
] });
|
|
1936
1882
|
}
|
|
1937
|
-
const yi = "myor_page_H3708",
|
|
1883
|
+
const yi = "myor_page_H3708", vi = "myor_addedSection_8oyem", _i = "myor_removedSection_eplfE", xi = "myor_removedHeading_zz5WT", gi = "myor_fullWidth_EAX3-", bi = "myor_backButton_vN76u", Ne = {
|
|
1938
1884
|
page: yi,
|
|
1939
|
-
addedSection:
|
|
1940
|
-
removedSection:
|
|
1941
|
-
removedHeading:
|
|
1885
|
+
addedSection: vi,
|
|
1886
|
+
removedSection: _i,
|
|
1887
|
+
removedHeading: xi,
|
|
1942
1888
|
fullWidth: gi,
|
|
1943
1889
|
backButton: bi
|
|
1944
|
-
}, ji = "myor_overlay_-A4up", Ti = "myor_backdrop_LnMEM", Ci = "myor_closeButton_E5Gjo", Ri = "myor_sheet_pWGRc", ki = "myor_dragHandle_AIsNi", Si = "myor_dragHandleBar_aylS1",
|
|
1890
|
+
}, ji = "myor_overlay_-A4up", Ti = "myor_backdrop_LnMEM", Ci = "myor_closeButton_E5Gjo", Ri = "myor_sheet_pWGRc", ki = "myor_dragHandle_AIsNi", Si = "myor_dragHandleBar_aylS1", wi = "myor_body_H38wQ", Ni = "myor_footer_n1PaR", _e = {
|
|
1945
1891
|
overlay: ji,
|
|
1946
1892
|
backdrop: Ti,
|
|
1947
1893
|
closeButton: Ci,
|
|
1948
1894
|
sheet: Ri,
|
|
1949
1895
|
dragHandle: ki,
|
|
1950
1896
|
dragHandleBar: Si,
|
|
1951
|
-
body:
|
|
1952
|
-
footer:
|
|
1953
|
-
}, at = 0.85,
|
|
1954
|
-
function
|
|
1897
|
+
body: wi,
|
|
1898
|
+
footer: Ni
|
|
1899
|
+
}, at = 0.85, Pi = 0.92, wt = "cubic-bezier(0.34, 1.56, 0.64, 1)";
|
|
1900
|
+
function Ai({
|
|
1955
1901
|
isOpen: a,
|
|
1956
1902
|
onClose: r,
|
|
1957
1903
|
closeButtonAriaLabel: i = "Close",
|
|
1958
|
-
dragHandleAriaLabel:
|
|
1904
|
+
dragHandleAriaLabel: n = "Drag to expand",
|
|
1959
1905
|
footer: m,
|
|
1960
|
-
children:
|
|
1906
|
+
children: p
|
|
1961
1907
|
}) {
|
|
1962
|
-
const [
|
|
1908
|
+
const [h, f] = W(null), [s, d] = W(!1), [T, R] = W(!1), u = Sa(null);
|
|
1963
1909
|
if (Dt(() => {
|
|
1964
1910
|
if (!a) {
|
|
1965
|
-
d(!1),
|
|
1911
|
+
d(!1), f(null);
|
|
1966
1912
|
return;
|
|
1967
1913
|
}
|
|
1968
|
-
|
|
1914
|
+
f(window.innerHeight * at);
|
|
1969
1915
|
}, [a]), !a)
|
|
1970
1916
|
return null;
|
|
1971
|
-
const
|
|
1972
|
-
O.target.setPointerCapture(O.pointerId),
|
|
1917
|
+
const P = (O) => {
|
|
1918
|
+
O.target.setPointerCapture(O.pointerId), u.current = { y: O.clientY, height: h ?? window.innerHeight * at }, R(!0);
|
|
1973
1919
|
}, M = (O) => {
|
|
1974
|
-
if (!
|
|
1975
|
-
const
|
|
1976
|
-
|
|
1920
|
+
if (!u.current) return;
|
|
1921
|
+
const A = u.current.y - O.clientY, g = Math.min(window.innerHeight, Math.max(200, u.current.height + A));
|
|
1922
|
+
f(g);
|
|
1977
1923
|
}, L = () => {
|
|
1978
|
-
if (!
|
|
1979
|
-
const O = (
|
|
1980
|
-
|
|
1924
|
+
if (!u.current) return;
|
|
1925
|
+
const O = (h ?? 0) >= window.innerHeight * Pi;
|
|
1926
|
+
u.current = null, R(!1), d(O), f(O ? window.innerHeight : window.innerHeight * at);
|
|
1981
1927
|
};
|
|
1982
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
1928
|
+
return /* @__PURE__ */ e.jsxs("div", { className: _e.overlay, children: [
|
|
1983
1929
|
/* @__PURE__ */ e.jsx(
|
|
1984
1930
|
"button",
|
|
1985
1931
|
{
|
|
1986
1932
|
type: "button",
|
|
1987
1933
|
"aria-label": i,
|
|
1988
1934
|
onClick: r,
|
|
1989
|
-
className:
|
|
1935
|
+
className: _e.backdrop
|
|
1990
1936
|
}
|
|
1991
1937
|
),
|
|
1992
1938
|
!s && /* @__PURE__ */ e.jsx(
|
|
@@ -1995,19 +1941,19 @@ function Pi({
|
|
|
1995
1941
|
type: "button",
|
|
1996
1942
|
"aria-label": i,
|
|
1997
1943
|
onClick: r,
|
|
1998
|
-
className:
|
|
1944
|
+
className: _e.closeButton,
|
|
1999
1945
|
children: "✕"
|
|
2000
1946
|
}
|
|
2001
1947
|
),
|
|
2002
1948
|
/* @__PURE__ */ e.jsxs(
|
|
2003
1949
|
"div",
|
|
2004
1950
|
{
|
|
2005
|
-
className:
|
|
1951
|
+
className: _e.sheet,
|
|
2006
1952
|
style: {
|
|
2007
|
-
height:
|
|
1953
|
+
height: h ?? void 0,
|
|
2008
1954
|
borderTopLeftRadius: s ? 0 : 24,
|
|
2009
1955
|
borderTopRightRadius: s ? 0 : 24,
|
|
2010
|
-
transition:
|
|
1956
|
+
transition: T ? "none" : `height 0.4s ${wt}, border-radius 0.4s ${wt}`
|
|
2011
1957
|
},
|
|
2012
1958
|
children: [
|
|
2013
1959
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2015,63 +1961,63 @@ function Pi({
|
|
|
2015
1961
|
{
|
|
2016
1962
|
role: "button",
|
|
2017
1963
|
tabIndex: 0,
|
|
2018
|
-
"aria-label":
|
|
2019
|
-
onPointerDown:
|
|
1964
|
+
"aria-label": n,
|
|
1965
|
+
onPointerDown: P,
|
|
2020
1966
|
onPointerMove: M,
|
|
2021
1967
|
onPointerUp: L,
|
|
2022
1968
|
onPointerCancel: L,
|
|
2023
|
-
className:
|
|
2024
|
-
children: /* @__PURE__ */ e.jsx("span", { className:
|
|
1969
|
+
className: _e.dragHandle,
|
|
1970
|
+
children: /* @__PURE__ */ e.jsx("span", { className: _e.dragHandleBar })
|
|
2025
1971
|
}
|
|
2026
1972
|
),
|
|
2027
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2028
|
-
m && /* @__PURE__ */ e.jsx("div", { className:
|
|
1973
|
+
/* @__PURE__ */ e.jsx("div", { className: _e.body, children: p }),
|
|
1974
|
+
m && /* @__PURE__ */ e.jsx("div", { className: _e.footer, children: m })
|
|
2029
1975
|
]
|
|
2030
1976
|
}
|
|
2031
1977
|
)
|
|
2032
1978
|
] });
|
|
2033
1979
|
}
|
|
2034
1980
|
const rt = (a) => Number(a.replace(/[^0-9.]/g, "")) || 0;
|
|
2035
|
-
function
|
|
1981
|
+
function Fi({
|
|
2036
1982
|
ritualCount: a,
|
|
2037
1983
|
rituals: r,
|
|
2038
1984
|
mandapArrangement: i,
|
|
2039
|
-
reviewMedia:
|
|
1985
|
+
reviewMedia: n,
|
|
2040
1986
|
onDevoteesReviewsSeeMoreClick: m,
|
|
2041
|
-
totalPrice:
|
|
2042
|
-
onPriceInfoClick:
|
|
2043
|
-
onProceedClick:
|
|
1987
|
+
totalPrice: p,
|
|
1988
|
+
onPriceInfoClick: h,
|
|
1989
|
+
onProceedClick: f,
|
|
2044
1990
|
skipPackageSelect: s,
|
|
2045
1991
|
onBack: d,
|
|
2046
|
-
backButtonAriaLabel:
|
|
1992
|
+
backButtonAriaLabel: T = "Go back",
|
|
2047
1993
|
packageSelectOptions: R
|
|
2048
1994
|
}) {
|
|
2049
|
-
const { t:
|
|
1995
|
+
const { t: u, locale: P } = Lt(), [M, L] = W(
|
|
2050
1996
|
() => Object.fromEntries(r.map((l) => [l.index, l.isAdded]))
|
|
2051
|
-
), [O,
|
|
1997
|
+
), [O, A] = W(i?.isAdded ?? !1), [g, ee] = W(null), [K, ne] = W(null), [S, G] = W(null), [Te, me] = W(
|
|
2052
1998
|
() => Object.fromEntries(
|
|
2053
1999
|
r.filter((l) => l.ancestorPujaItems).map((l) => [l.index, l.ancestorPujaItems.map((Y) => Y.isActive)])
|
|
2054
2000
|
)
|
|
2055
|
-
), [te, ie] = W(!1), [se,
|
|
2001
|
+
), [te, ie] = W(!1), [se, _] = W(
|
|
2056
2002
|
R[0]?.id
|
|
2057
|
-
), V = rt(
|
|
2003
|
+
), V = rt(p), ae = R.find((l) => l.id === se), ce = ae?.extraPrice ?? 0, Ce = R.map(
|
|
2058
2004
|
({ extraPrice: l, ...Y }) => Y
|
|
2059
|
-
),
|
|
2005
|
+
), v = i ? rt(i.price) : 0, $ = i ? rt(i.originalPrice ?? i.price) - v : 0, N = i ? {
|
|
2060
2006
|
...i,
|
|
2061
|
-
price: `₹${
|
|
2062
|
-
originalPrice: `₹${
|
|
2007
|
+
price: `₹${v + ce}`,
|
|
2008
|
+
originalPrice: `₹${v + ce + $}`
|
|
2063
2009
|
} : void 0, q = () => {
|
|
2064
|
-
|
|
2065
|
-
}, re = (l) => M[l.index] ?? l.isAdded, le = r.filter(re),
|
|
2010
|
+
f?.(se.toString()), ie(!1);
|
|
2011
|
+
}, re = (l) => M[l.index] ?? l.isAdded, le = r.filter(re), ye = r.filter((l) => !re(l)), Pe = ye.length > 0, E = r.find((l) => l.index === g) ?? null, de = r.find((l) => l.index === S) ?? null, fe = de?.ancestorPujaItems?.map((l, Y) => ({
|
|
2066
2012
|
...l,
|
|
2067
2013
|
isActive: Te[de.index]?.[Y] ?? l.isActive
|
|
2068
|
-
})),
|
|
2069
|
-
name: `${
|
|
2014
|
+
})), Ae = u("billDetailsFeeLabel"), xe = (l) => typeof l == "string" ? l : "", Ie = (l, Y, Re) => ({
|
|
2015
|
+
name: `${xe(l)} ${Ae}`,
|
|
2070
2016
|
subtitle: Y,
|
|
2071
|
-
lineTotal: `${
|
|
2017
|
+
lineTotal: `${xe(Re)}/-`
|
|
2072
2018
|
}), Le = le.map(
|
|
2073
2019
|
(l) => Ie(l.title, l.locationLabel ?? "", l.price)
|
|
2074
|
-
), Ke =
|
|
2020
|
+
), Ke = N && O ? [Ie(N.title, N.description, N.price)] : [], qe = [...Le, ...Ke], oe = typeof K == "number" ? r.find((l) => l.index === K) ?? null : null, ge = oe ? [Ie(oe.title, oe.locationLabel ?? "", oe.price)] : qe, Be = oe ? oe.price : te && ae ? `₹${(V + ce).toFixed(1)}/-` : p, Oe = a === 1 ? u("outcomeStickyCtaRitualSingular") : `${a} ${u("outcomeStickyCtaRitualPlural")}`, be = (l) => /* @__PURE__ */ e.jsx(
|
|
2075
2021
|
ai,
|
|
2076
2022
|
{
|
|
2077
2023
|
...l,
|
|
@@ -2093,64 +2039,64 @@ function Yi({
|
|
|
2093
2039
|
G(l.index), l.onEditClick?.();
|
|
2094
2040
|
},
|
|
2095
2041
|
onPriceInfoClick: () => {
|
|
2096
|
-
|
|
2042
|
+
ne(l.index), l.onPriceInfoClick?.();
|
|
2097
2043
|
}
|
|
2098
2044
|
},
|
|
2099
2045
|
l.index
|
|
2100
2046
|
);
|
|
2101
|
-
return /* @__PURE__ */ e.jsxs("main", { className: `pitru-paksh-ritual-recommendation-root pitru-paksh-common-root ${
|
|
2047
|
+
return /* @__PURE__ */ e.jsxs("main", { className: `pitru-paksh-ritual-recommendation-root pitru-paksh-common-root ${Ne.page}`, children: [
|
|
2102
2048
|
d && /* @__PURE__ */ e.jsx(
|
|
2103
2049
|
"button",
|
|
2104
2050
|
{
|
|
2105
2051
|
type: "button",
|
|
2106
2052
|
onClick: d,
|
|
2107
|
-
"aria-label":
|
|
2108
|
-
className:
|
|
2053
|
+
"aria-label": T,
|
|
2054
|
+
className: Ne.backButton,
|
|
2109
2055
|
children: /* @__PURE__ */ e.jsx(ct, { className: "size-5", "aria-hidden": !0 })
|
|
2110
2056
|
}
|
|
2111
2057
|
),
|
|
2112
2058
|
/* @__PURE__ */ e.jsx(
|
|
2113
2059
|
ja,
|
|
2114
2060
|
{
|
|
2115
|
-
badgeLabel:
|
|
2116
|
-
headingPrefix:
|
|
2061
|
+
badgeLabel: u("outcomeBadge"),
|
|
2062
|
+
headingPrefix: u("outcomeHeadingPrefix"),
|
|
2117
2063
|
ritualCount: a,
|
|
2118
|
-
ritualCountLabel:
|
|
2119
|
-
headingSuffix:
|
|
2120
|
-
trustItems:
|
|
2064
|
+
ritualCountLabel: u(a === 1 ? "outcomeHeadingRitualSingular" : "outcomeHeadingRitualPlural"),
|
|
2065
|
+
headingSuffix: u("outcomeHeadingSuffix"),
|
|
2066
|
+
trustItems: wa.map((l) => ({
|
|
2121
2067
|
variant: l.variant,
|
|
2122
|
-
text:
|
|
2068
|
+
text: u(l.textKey)
|
|
2123
2069
|
}))
|
|
2124
2070
|
}
|
|
2125
2071
|
),
|
|
2126
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2127
|
-
le.length === 0 && /* @__PURE__ */ e.jsx(
|
|
2072
|
+
/* @__PURE__ */ e.jsxs("div", { className: Ne.addedSection, children: [
|
|
2073
|
+
le.length === 0 && /* @__PURE__ */ e.jsx(Na, {}),
|
|
2128
2074
|
le.map(be),
|
|
2129
|
-
|
|
2075
|
+
N && /* @__PURE__ */ e.jsx(
|
|
2130
2076
|
pi,
|
|
2131
2077
|
{
|
|
2132
|
-
...
|
|
2078
|
+
...N,
|
|
2133
2079
|
isAdded: O,
|
|
2134
2080
|
onCtaClick: () => {
|
|
2135
|
-
|
|
2081
|
+
A((l) => !l), N.onCtaClick?.();
|
|
2136
2082
|
}
|
|
2137
2083
|
}
|
|
2138
2084
|
)
|
|
2139
2085
|
] }),
|
|
2140
|
-
|
|
2141
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
2142
|
-
|
|
2086
|
+
Pe && /* @__PURE__ */ e.jsxs("div", { className: Ne.removedSection, children: [
|
|
2087
|
+
/* @__PURE__ */ e.jsx("p", { className: Ne.removedHeading, children: u("outcomeRemovedRitualsHeading") }),
|
|
2088
|
+
ye.map(be)
|
|
2143
2089
|
] }),
|
|
2144
|
-
/* @__PURE__ */ e.jsx(Aa, {}),
|
|
2145
2090
|
/* @__PURE__ */ e.jsx(Pa, {}),
|
|
2091
|
+
/* @__PURE__ */ e.jsx(Aa, {}),
|
|
2146
2092
|
/* @__PURE__ */ e.jsx(Ia, {}),
|
|
2147
2093
|
/* @__PURE__ */ e.jsx(
|
|
2148
2094
|
Oa,
|
|
2149
2095
|
{
|
|
2150
|
-
totalPrice:
|
|
2096
|
+
totalPrice: p,
|
|
2151
2097
|
ritualCountLabel: Oe,
|
|
2152
2098
|
onPriceInfoClick: () => {
|
|
2153
|
-
|
|
2099
|
+
ne("cart"), h?.();
|
|
2154
2100
|
},
|
|
2155
2101
|
onProceedClick: () => s ? q() : ie(!0),
|
|
2156
2102
|
disabled: le.length === 0
|
|
@@ -2160,20 +2106,20 @@ function Yi({
|
|
|
2160
2106
|
Ea,
|
|
2161
2107
|
{
|
|
2162
2108
|
isOpen: K != null,
|
|
2163
|
-
onClose: () =>
|
|
2164
|
-
closeButtonAriaLabel:
|
|
2165
|
-
heading:
|
|
2109
|
+
onClose: () => ne(null),
|
|
2110
|
+
closeButtonAriaLabel: u("billDetailsCloseAriaLabel"),
|
|
2111
|
+
heading: u("billDetailsHeading"),
|
|
2166
2112
|
items: ge,
|
|
2167
|
-
totalLabel:
|
|
2113
|
+
totalLabel: u("billDetailsTotalLabel"),
|
|
2168
2114
|
totalAmount: Be
|
|
2169
2115
|
}
|
|
2170
2116
|
),
|
|
2171
2117
|
/* @__PURE__ */ e.jsxs(
|
|
2172
|
-
|
|
2118
|
+
Ai,
|
|
2173
2119
|
{
|
|
2174
2120
|
isOpen: E != null,
|
|
2175
2121
|
onClose: () => ee(null),
|
|
2176
|
-
footer: /* @__PURE__ */ e.jsx(it, { variant: "accent", size: "lg", className:
|
|
2122
|
+
footer: /* @__PURE__ */ e.jsx(it, { variant: "accent", size: "lg", className: Ne.fullWidth, onClick: () => ee(null), children: u("pujaDetailsGotItLabel") }),
|
|
2177
2123
|
children: [
|
|
2178
2124
|
E && /* @__PURE__ */ e.jsx(
|
|
2179
2125
|
Da,
|
|
@@ -2185,45 +2131,45 @@ function Yi({
|
|
|
2185
2131
|
locationLabel: E.locationLabel ?? ""
|
|
2186
2132
|
}
|
|
2187
2133
|
),
|
|
2188
|
-
E?.detailBenefits && /* @__PURE__ */ e.jsx(La, { heading:
|
|
2134
|
+
E?.detailBenefits && /* @__PURE__ */ e.jsx(La, { heading: u("pujaBenefitsHeading"), benefits: E.detailBenefits }),
|
|
2189
2135
|
E?.detailTempleSignificance && /* @__PURE__ */ e.jsx(Ba, { ...E.detailTempleSignificance }),
|
|
2190
2136
|
E && E.devoteesReviews && E.devoteesReviews.length > 0 && /* @__PURE__ */ e.jsx(
|
|
2191
2137
|
Ha,
|
|
2192
2138
|
{
|
|
2193
|
-
heading:
|
|
2194
|
-
subtitle:
|
|
2139
|
+
heading: u("devoteesReviewsHeading"),
|
|
2140
|
+
subtitle: u("devoteesReviewsSubtitle"),
|
|
2195
2141
|
reviews: E.devoteesReviews,
|
|
2196
|
-
reviewMedia:
|
|
2197
|
-
seeMoreLabel:
|
|
2142
|
+
reviewMedia: n,
|
|
2143
|
+
seeMoreLabel: u("devoteesReviewsSeeMoreLabel"),
|
|
2198
2144
|
onSeeMoreClick: m
|
|
2199
2145
|
}
|
|
2200
2146
|
)
|
|
2201
2147
|
]
|
|
2202
2148
|
}
|
|
2203
2149
|
),
|
|
2204
|
-
de &&
|
|
2150
|
+
de && fe && /* @__PURE__ */ e.jsx(
|
|
2205
2151
|
Ma,
|
|
2206
2152
|
{
|
|
2207
2153
|
isOpen: !0,
|
|
2208
2154
|
onClose: () => G(null),
|
|
2209
|
-
question:
|
|
2210
|
-
ancestors:
|
|
2155
|
+
question: u("ancestorEditQuestion"),
|
|
2156
|
+
ancestors: fe,
|
|
2211
2157
|
onToggle: (l) => {
|
|
2212
|
-
|
|
2213
|
-
const ke = [...Y[de.index] ??
|
|
2158
|
+
me((Y) => {
|
|
2159
|
+
const ke = [...Y[de.index] ?? fe.map((Me) => Me.isActive)];
|
|
2214
2160
|
ke[l] = !ke[l];
|
|
2215
|
-
const He =
|
|
2161
|
+
const He = fe[l]?.id;
|
|
2216
2162
|
return He && de.onAncestorToggle?.(He, ke[l]), { ...Y, [de.index]: ke };
|
|
2217
2163
|
});
|
|
2218
2164
|
},
|
|
2219
|
-
confirmLabel:
|
|
2165
|
+
confirmLabel: u("ancestorEditConfirmLabel"),
|
|
2220
2166
|
onConfirmClick: () => G(null),
|
|
2221
|
-
addAgainLabel:
|
|
2222
|
-
removeLabel:
|
|
2223
|
-
removeWarningMessagePrefix:
|
|
2224
|
-
removeWarningMessageSuffix:
|
|
2225
|
-
removeWarningConfirmLabel:
|
|
2226
|
-
removeWarningCancelLabel:
|
|
2167
|
+
addAgainLabel: u("ancestorEditAddAgainLabel"),
|
|
2168
|
+
removeLabel: u("ancestorEditRemoveLabel"),
|
|
2169
|
+
removeWarningMessagePrefix: u("ancestorRemoveWarningPrefix"),
|
|
2170
|
+
removeWarningMessageSuffix: u("ancestorRemoveWarningSuffix"),
|
|
2171
|
+
removeWarningConfirmLabel: u("ancestorRemoveWarningConfirmLabel"),
|
|
2172
|
+
removeWarningCancelLabel: u("ancestorRemoveWarningCancelLabel")
|
|
2227
2173
|
}
|
|
2228
2174
|
),
|
|
2229
2175
|
te && /* @__PURE__ */ e.jsx(
|
|
@@ -2231,26 +2177,26 @@ function Yi({
|
|
|
2231
2177
|
{
|
|
2232
2178
|
isOpen: te,
|
|
2233
2179
|
onClose: () => ie(!1),
|
|
2234
|
-
ariaLabel: ka(
|
|
2180
|
+
ariaLabel: ka(P).title,
|
|
2235
2181
|
showDragHandle: !0,
|
|
2236
2182
|
showCloseButton: !1,
|
|
2237
2183
|
footer: /* @__PURE__ */ e.jsx(
|
|
2238
2184
|
Ra,
|
|
2239
2185
|
{
|
|
2240
|
-
locale:
|
|
2186
|
+
locale: P,
|
|
2241
2187
|
amount: `₹${(V + ce).toFixed(1)}/-`,
|
|
2242
2188
|
subtitle: Oe,
|
|
2243
2189
|
onProceed: q,
|
|
2244
|
-
onInfoClick: () =>
|
|
2190
|
+
onInfoClick: () => ne("cart")
|
|
2245
2191
|
}
|
|
2246
2192
|
),
|
|
2247
2193
|
children: /* @__PURE__ */ e.jsx(
|
|
2248
2194
|
Ca,
|
|
2249
2195
|
{
|
|
2250
|
-
locale:
|
|
2196
|
+
locale: P,
|
|
2251
2197
|
options: Ce,
|
|
2252
2198
|
value: se,
|
|
2253
|
-
onChange:
|
|
2199
|
+
onChange: _
|
|
2254
2200
|
}
|
|
2255
2201
|
)
|
|
2256
2202
|
}
|
|
@@ -2258,8 +2204,8 @@ function Yi({
|
|
|
2258
2204
|
] });
|
|
2259
2205
|
}
|
|
2260
2206
|
export {
|
|
2261
|
-
|
|
2262
|
-
|
|
2207
|
+
Ui as ALL_ANCESTORS_ID,
|
|
2208
|
+
Gi as ANCESTOR_OPTIONS,
|
|
2263
2209
|
Wi as ChadhavaSevaBottomSheet,
|
|
2264
2210
|
Hi as DeathTithi,
|
|
2265
2211
|
qi as DevoteesReviews,
|
|
@@ -2267,12 +2213,12 @@ export {
|
|
|
2267
2213
|
$i as LandingPage,
|
|
2268
2214
|
Mi as MakeYourOwnRitualPage,
|
|
2269
2215
|
pi as MandapArrangementCard,
|
|
2270
|
-
|
|
2216
|
+
Fi as MyorOutcome,
|
|
2271
2217
|
ai as MyorRitualCard,
|
|
2272
|
-
|
|
2218
|
+
Vi as MyorServiceOfferCard,
|
|
2273
2219
|
Ji as PujaBenefitsSection,
|
|
2274
2220
|
Qi as PujaDetailsCarouselHeader,
|
|
2275
|
-
|
|
2221
|
+
Ai as PujaDetailsSheet,
|
|
2276
2222
|
Bi as SelectAncestors,
|
|
2277
2223
|
Xi as TempleSignificanceSection,
|
|
2278
2224
|
Ve as useI18n
|