@srimandir/make-your-own-ritual 0.2.0 → 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.
- package/dist/components/ChadhavaSevaBottomSheet/ChadhavaSevaBottomSheet.d.ts +9 -0
- package/dist/components/ChadhavaSevaBottomSheet/index.d.ts +2 -0
- package/dist/components/DeathTithi/DeathTithi.d.ts +14 -0
- package/dist/components/DeathTithi/index.d.ts +2 -0
- package/dist/components/LandingPage/LandingPage.d.ts +11 -0
- package/dist/components/LandingPage/index.d.ts +2 -0
- package/dist/components/MandapArrangementCard/MandapArrangementCard.d.ts +22 -0
- package/dist/components/MandapArrangementCard/index.d.ts +2 -0
- package/dist/components/MyorOutcome/MyorOutcome.d.ts +41 -0
- package/dist/components/MyorOutcome/index.d.ts +2 -0
- package/dist/components/MyorRitualCard/MyorRitualCard.d.ts +14 -0
- package/dist/components/MyorRitualCard/index.d.ts +2 -0
- package/dist/components/MyorServiceOfferCard/MyorServiceOfferCard.d.ts +1 -0
- package/dist/components/MyorServiceOfferCard/index.d.ts +2 -0
- package/dist/components/PujaDetailsSheet/PujaDetailsSheet.d.ts +17 -0
- package/dist/components/PujaDetailsSheet/index.d.ts +4 -0
- package/dist/components/PujaProgressTabs/PujaProgressTabs.d.ts +14 -0
- package/dist/components/PujaProgressTabs/index.d.ts +2 -0
- package/dist/components/RitualCard/RitualCard.d.ts +37 -0
- package/dist/components/RitualCard/index.d.ts +2 -0
- package/dist/components/SelectAncestors/SelectAncestors.d.ts +18 -0
- package/dist/components/SelectAncestors/index.d.ts +2 -0
- package/dist/components/SelectRitualDaySheet/SelectRitualDaySheet.d.ts +11 -0
- package/dist/components/SelectRitualDaySheet/index.d.ts +2 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/pujaSteps.constants.d.ts +3 -0
- package/dist/dev/main.d.ts +0 -1
- package/dist/i18n/index.d.ts +10 -0
- package/dist/i18n/translations.d.ts +4 -0
- package/dist/i18n/translations.en.d.ts +119 -0
- package/dist/i18n/translations.hi.d.ts +27 -0
- package/dist/index.d.ts +23 -0
- package/dist/make-your-own-ritual.js +1982 -429
- package/dist/make-your-own-ritual.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/landingPage.types.d.ts +13 -0
- package/dist/types/makeYourOwnRitual.types.d.ts +113 -0
- package/dist/types/pitruPakshStore.types.d.ts +74 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/price.utils.d.ts +1 -0
- package/package.json +6 -5
|
@@ -1,105 +1,269 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
+
import { DevoteesReviews as qi, PujaBenefitsSection as Ji, PujaDetailsCarouselHeader as Qi, TempleSignificanceSection as Xi } from "@srimandir/pitru-paksh-ritual-recommendation";
|
|
7
|
+
const $a = {
|
|
8
|
+
// Header
|
|
9
|
+
headerBadge: "Pitru Paksh Special",
|
|
10
|
+
headerDateRange: "27 September - 12 October, 2026",
|
|
11
|
+
headerHeadline: "Perform Puja Chadhava and Seva in memory of your ancestor",
|
|
12
|
+
chooseMultipleNote: "You can choose more than one ritual.",
|
|
13
|
+
nextStepInfoNote: "You will choose the ancestors and the tithi in the next step.",
|
|
14
|
+
// Ritual list
|
|
15
|
+
ritualPindDaanTitle: "Pind Daan",
|
|
16
|
+
ritualPindDaanDesc: "For the peace and salvation of the ancestor's soul",
|
|
17
|
+
ritualTarpanTitle: "Tarpan",
|
|
18
|
+
ritualTarpanDesc: "Offering water and sesame seeds to honor departed souls",
|
|
19
|
+
ritualShraddhaTitle: "Shraddha",
|
|
20
|
+
ritualShraddhaDesc: "A remembrance ritual performed to seek ancestral blessings",
|
|
21
|
+
ritualLocationKotiTirtha: "Koti Tirtha (Gokarna)",
|
|
22
|
+
ritualRating: "4.9 ★ Pooja Rating",
|
|
23
|
+
ritualBooked: "Booked by 2k devotees",
|
|
24
|
+
ritualPriceLabel: "Starts from",
|
|
25
|
+
ritualAboutLink: "About Puja",
|
|
26
|
+
ritualAboutChadhava: "About this Chadhava",
|
|
27
|
+
ritualAboutSeva: "About this Seva",
|
|
28
|
+
ritualSelectAriaLabel: "Select ritual",
|
|
29
|
+
ritualCountSingular: "Ritual",
|
|
30
|
+
ritualCountPlural: "Rituals",
|
|
31
|
+
// CTA
|
|
32
|
+
ctaProceed: "Continue",
|
|
33
|
+
// MakeYourOwnRitualPage
|
|
34
|
+
makeYourOwnRitualCtaLabel: "Build My Ritual",
|
|
35
|
+
makeYourOwnRitualHeroTitle: "Make Your Own Ritual",
|
|
36
|
+
makeYourOwnRitualHeroSubtitle: "Not every prayer fits a fixed puja. Choose the deity, the temple and the sankalp yourself — and have the ritual performed exactly as you intend it.",
|
|
37
|
+
makeYourOwnRitualIntroTitle: "What is a personalised ritual?",
|
|
38
|
+
makeYourOwnRitualIntroBody: "A ritual built around your own sankalp rather than a pre-set package. You decide what is being asked for and who it is being asked of; our pandits perform it at the temple you pick, in your name and gotra, on the day you choose.",
|
|
39
|
+
makeYourOwnRitualChoicesTitle: "What you can choose",
|
|
40
|
+
makeYourOwnRitualChoiceDeity: "The deity you want the ritual performed for",
|
|
41
|
+
makeYourOwnRitualChoiceTemple: "The temple and the pandit who performs it",
|
|
42
|
+
makeYourOwnRitualChoiceSankalp: "The sankalp — your name, gotra and intention",
|
|
43
|
+
makeYourOwnRitualChoiceOfferings: "The offerings and prasad sent back to you",
|
|
44
|
+
makeYourOwnRitualStepsTitle: "How it works",
|
|
45
|
+
makeYourOwnRitualStep1Title: "Pick your intention",
|
|
46
|
+
makeYourOwnRitualStep1Text: "Tell us what you are seeking — health, wealth, marriage, protection.",
|
|
47
|
+
makeYourOwnRitualStep2Title: "Build your ritual",
|
|
48
|
+
makeYourOwnRitualStep2Text: "Choose the deity, temple and offerings that fit your sankalp.",
|
|
49
|
+
makeYourOwnRitualStep3Title: "Watch it performed",
|
|
50
|
+
makeYourOwnRitualStep3Text: "Your ritual is performed in your name, with a video and prasad sent to you.",
|
|
51
|
+
// SelectAncestors
|
|
52
|
+
selectAncestorsBackAriaLabel: "Go back",
|
|
53
|
+
selectAncestorsProgressLabel: "|| Om Pitru Bhyo Namah || 🙏",
|
|
54
|
+
selectAncestorsQuestion: "Which of your ancestors would you like to honour through the rituals?",
|
|
55
|
+
selectAncestorsCardHeadingPrefix: "Select Ancestors for ",
|
|
56
|
+
selectAncestorsAllAncestorsCaption: "All ancestors Selected",
|
|
57
|
+
selectAncestorsCtaNextRitual: "Select ancestors for next ritual",
|
|
58
|
+
selectAncestorsCtaProceed: "Proceed",
|
|
59
|
+
selectAncestorsAddMoreLabel: "Add more",
|
|
60
|
+
selectAncestorsAndAddMoreLabel: "And add more",
|
|
61
|
+
selectAncestorsOptionAll: "For all ancestors",
|
|
62
|
+
selectAncestorsOptionMother: "Mother",
|
|
63
|
+
selectAncestorsOptionFather: "Father",
|
|
64
|
+
selectAncestorsOptionWife: "Wife",
|
|
65
|
+
selectAncestorsOptionHusband: "Husband",
|
|
66
|
+
selectAncestorsOptionGrandfatherPaternal: "Grandfather (Paternal)",
|
|
67
|
+
selectAncestorsOptionGrandmotherPaternal: "Grandmother (Paternal)",
|
|
68
|
+
selectAncestorsOptionGrandfatherMaternal: "Grandfather (Maternal)",
|
|
69
|
+
selectAncestorsOptionGrandmotherMaternal: "Grandmother (Maternal)",
|
|
70
|
+
selectAncestorsOptionGreatGrandfatherPaternal: "Great-Grandfather (Paternal)",
|
|
71
|
+
selectAncestorsOptionGreatGrandmotherPaternal: "Great-Grandmother (Paternal)",
|
|
72
|
+
selectAncestorsOptionGreatGrandfatherMaternal: "Great-Grandfather (Maternal)",
|
|
73
|
+
selectAncestorsOptionGreatGrandmotherMaternal: "Great-Grandmother (Maternal)",
|
|
74
|
+
// DeathTithi
|
|
75
|
+
deathTithiProgressLabel: "|| Om Swadhayai Namah || 🙏",
|
|
76
|
+
deathTithiQuestionPrefix: "Please share your ancestor’s ",
|
|
77
|
+
deathTithiQuestionHighlight: "Death Tithi",
|
|
78
|
+
deathTithiQuestionSuffix: "",
|
|
79
|
+
deathTithiSubtextPrefix: "Rituals on the death tithi hold special significance. If unknown or missed, ",
|
|
80
|
+
deathTithiSubtextHighlight: "as per the scriptures-Amavasya is equally auspicious for Pitru Rituals",
|
|
81
|
+
deathTithiOption1Title: "Do you know the Death-Tithi?",
|
|
82
|
+
deathTithiOption1Subtext: "for example ‘Amavasya’",
|
|
83
|
+
deathTithiOption2Title: "Do you know the date?",
|
|
84
|
+
deathTithiOption2Subtext: "for example ‘10 October 1896’",
|
|
85
|
+
deathTithiOption3Title: "Don’t know the tithi or date?",
|
|
86
|
+
deathTithiOption3Subtext: "You can perform rituals on Amavasya",
|
|
87
|
+
deathTithiOption3ExpandedTitle: "Perform ritual on Amavasya",
|
|
88
|
+
deathTithiOption3ExpandedBody: "According to scriptures, the day of Amavasya is considered especially auspicious for ancestor puja. If the exact death-date of ancestors is unknown, the ritual can be performed on this day",
|
|
89
|
+
deathTithiCtaLabel: "Enter Next ancestor’s death date",
|
|
90
|
+
deathTithiFinalCtaLabel: "Proceed",
|
|
91
|
+
deathTithiPickerHeadingSuffix: " death-tithi",
|
|
92
|
+
deathTithiPickerConfirmCta: "Confirm Death-Tithi",
|
|
93
|
+
deathDatePickerConfirmCta: "Confirm Date",
|
|
94
|
+
deathDatePickerTimezoneLabel: "Timezone: IST",
|
|
95
|
+
tithiNamePratipada: "Pratipada",
|
|
96
|
+
tithiNameDvitiya: "Dvitīyā",
|
|
97
|
+
tithiNameTritiya: "Tritīyā",
|
|
98
|
+
tithiNameChaturthi: "Chaturthī",
|
|
99
|
+
tithiNamePanchami: "Panchamī",
|
|
100
|
+
tithiNameShashthi: "Shashthī",
|
|
101
|
+
tithiNameSaptami: "Saptamī",
|
|
102
|
+
tithiNameAshtami: "Ashtamī",
|
|
103
|
+
tithiNameNavami: "Navamī",
|
|
104
|
+
tithiNameDashami: "Dashamī",
|
|
105
|
+
tithiNameEkadashi: "Ekadashī",
|
|
106
|
+
tithiNameDvadashi: "Dvadashī",
|
|
107
|
+
tithiNameTrayodashi: "Trayodashī",
|
|
108
|
+
tithiNameChaturdashi: "Chaturdashī",
|
|
109
|
+
tithiNameAmavasya: "Amavasya",
|
|
110
|
+
amavasyaFallbackTithiPassedHeader: "Selected tithi has already passed this Pitru Paksha. But it’s never too late to serve your ancestors",
|
|
111
|
+
amavasyaFallbackCardTitle: "Perform rituals on Sarva Pitru Amavasya",
|
|
112
|
+
amavasyaFallbackCardBadge: "As per Scriptures",
|
|
113
|
+
amavasyaFallbackCardBodyDatePassed: "As per scriptures, Amavasya is equally auspicious for worshipping ancestors. If the date has passed, the puja can be performed on this day instead",
|
|
114
|
+
amavasyaFallbackCta: "Alright, Got it!",
|
|
115
|
+
// AddAncestorSheet
|
|
116
|
+
addAncestorModalTitle: "Enter each ancestor's name one by one",
|
|
117
|
+
addAncestorModalFieldLabel: "Enter Name of your ancestor",
|
|
118
|
+
addAncestorModalNamePrefix: "Late",
|
|
119
|
+
addAncestorModalNamePlaceholder: "Name of your ancestor",
|
|
120
|
+
addAncestorModalAddMore: "Add more",
|
|
121
|
+
addAncestorModalSaveCta: "Save",
|
|
122
|
+
// SelectRitualDaySheet
|
|
123
|
+
selectRitualDaySheetHeading: "Select one to proceed",
|
|
124
|
+
selectRitualDaySheetCardTitle: "Perform all rituals on Sarv Pitru Amavasya",
|
|
125
|
+
selectRitualDaySheetCardDescription: "Amavasya is considered auspicious for ancestor worship. If their tithi is unknown, you can perform the rituals on this day.",
|
|
126
|
+
selectRitualDaySheetTag: "Recommended",
|
|
127
|
+
selectRitualDaySheetDeathAnniversaryTitle: "Perform rituals on your ancestor's death anniversary",
|
|
128
|
+
selectRitualDaySheetDeathAnniversaryDescription: "Select this only if their tithi is known.",
|
|
129
|
+
selectRitualDaySheetCta: "See Your rituals"
|
|
130
|
+
}, Wa = {
|
|
131
|
+
// Header
|
|
132
|
+
headerBadge: "पितृ पक्ष स्पेशल",
|
|
133
|
+
headerDateRange: "27 सितंबर - 12 अक्टूबर, 2026",
|
|
134
|
+
headerHeadline: "अपने पूर्वज की स्मृति में पूजा चढ़ावा और सेवा करें",
|
|
135
|
+
chooseMultipleNote: "आप एक से अधिक अनुष्ठान चुन सकते हैं।",
|
|
136
|
+
nextStepInfoNote: "अगले चरण में आप पूर्वज और तिथि चुनेंगे।",
|
|
137
|
+
// Ritual list
|
|
138
|
+
ritualPindDaanTitle: "पिंड दान",
|
|
139
|
+
ritualPindDaanDesc: "पूर्वज की आत्मा की शांति और मोक्ष हेतु",
|
|
140
|
+
ritualTarpanTitle: "तर्पण",
|
|
141
|
+
ritualTarpanDesc: "दिवंगत आत्माओं के सम्मान में जल और तिल अर्पण",
|
|
142
|
+
ritualShraddhaTitle: "श्राद्ध",
|
|
143
|
+
ritualShraddhaDesc: "पितरों का आशीर्वाद पाने के लिए किया जाने वाला स्मरण अनुष्ठान",
|
|
144
|
+
ritualLocationKotiTirtha: "कोटि तीर्थ (गोकर्ण)",
|
|
145
|
+
ritualRating: "4.9 ★ पूजा रेटिंग",
|
|
146
|
+
ritualBooked: "2k भक्तों द्वारा बुक किया गया",
|
|
147
|
+
ritualPriceLabel: "शुरुआती कीमत",
|
|
148
|
+
ritualAboutLink: "पूजा के बारे में",
|
|
149
|
+
ritualAboutChadhava: "इस चढ़ावा के बारे में",
|
|
150
|
+
ritualAboutSeva: "इस सेवा के बारे में",
|
|
151
|
+
ritualSelectAriaLabel: "अनुष्ठान चुनें",
|
|
152
|
+
ritualCountSingular: "अनुष्ठान",
|
|
153
|
+
ritualCountPlural: "अनुष्ठान",
|
|
154
|
+
// CTA
|
|
155
|
+
ctaProceed: "आगे बढ़ें"
|
|
156
|
+
}, Fa = ["en", "hi"], Ya = {
|
|
157
|
+
en: "English",
|
|
158
|
+
hi: "हिंदी"
|
|
159
|
+
}, za = {
|
|
160
|
+
en: $a,
|
|
161
|
+
hi: Wa
|
|
162
|
+
}, Bt = ca(za), Li = Bt.I18nProvider;
|
|
163
|
+
function Ve() {
|
|
164
|
+
return Bt.useI18n();
|
|
165
|
+
}
|
|
166
|
+
var $e = { exports: {} }, Ee = {};
|
|
167
|
+
var jt;
|
|
168
|
+
function Ua() {
|
|
169
|
+
if (jt) return Ee;
|
|
170
|
+
jt = 1;
|
|
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 };
|
|
14
178
|
}
|
|
15
|
-
return
|
|
16
|
-
}
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
return
|
|
21
|
-
var
|
|
22
|
-
function
|
|
23
|
-
if (
|
|
179
|
+
return Ee.Fragment = i, Ee.jsx = h, Ee.jsxs = h, Ee;
|
|
180
|
+
}
|
|
181
|
+
var De = {};
|
|
182
|
+
var Tt;
|
|
183
|
+
function Ga() {
|
|
184
|
+
return Tt || (Tt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
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
|
+
function O(t) {
|
|
187
|
+
if (t === null || typeof t != "object")
|
|
24
188
|
return null;
|
|
25
|
-
var
|
|
26
|
-
return typeof
|
|
189
|
+
var o = M && t[M] || t[L];
|
|
190
|
+
return typeof o == "function" ? o : null;
|
|
27
191
|
}
|
|
28
|
-
var
|
|
29
|
-
function
|
|
192
|
+
var A = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
193
|
+
function g(t) {
|
|
30
194
|
{
|
|
31
|
-
for (var
|
|
32
|
-
|
|
33
|
-
|
|
195
|
+
for (var o = arguments.length, c = new Array(o > 1 ? o - 1 : 0), y = 1; y < o; y++)
|
|
196
|
+
c[y - 1] = arguments[y];
|
|
197
|
+
ee("error", t, c);
|
|
34
198
|
}
|
|
35
199
|
}
|
|
36
|
-
function
|
|
200
|
+
function ee(t, o, c) {
|
|
37
201
|
{
|
|
38
|
-
var
|
|
39
|
-
|
|
40
|
-
var
|
|
41
|
-
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);
|
|
42
206
|
});
|
|
43
|
-
|
|
207
|
+
w.unshift("Warning: " + o), Function.prototype.apply.call(console[t], console, w);
|
|
44
208
|
}
|
|
45
209
|
}
|
|
46
|
-
var
|
|
47
|
-
|
|
48
|
-
function
|
|
49
|
-
return !!(typeof
|
|
210
|
+
var K = !1, ne = !1, S = !1, G = !1, Te = !1, me;
|
|
211
|
+
me = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
212
|
+
function te(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
|
|
50
214
|
// types supported by any Flight configuration anywhere since
|
|
51
215
|
// we don't know which Flight build this will end up being used
|
|
52
216
|
// with.
|
|
53
|
-
|
|
217
|
+
t.$$typeof === me || t.getModuleId !== void 0));
|
|
54
218
|
}
|
|
55
|
-
function
|
|
56
|
-
var
|
|
57
|
-
if (
|
|
58
|
-
return
|
|
59
|
-
var
|
|
60
|
-
return
|
|
219
|
+
function ie(t, o, c) {
|
|
220
|
+
var y = t.displayName;
|
|
221
|
+
if (y)
|
|
222
|
+
return y;
|
|
223
|
+
var k = o.displayName || o.name || "";
|
|
224
|
+
return k !== "" ? c + "(" + k + ")" : c;
|
|
61
225
|
}
|
|
62
|
-
function
|
|
63
|
-
return
|
|
226
|
+
function se(t) {
|
|
227
|
+
return t.displayName || "Context";
|
|
64
228
|
}
|
|
65
|
-
function
|
|
66
|
-
if (
|
|
229
|
+
function _(t) {
|
|
230
|
+
if (t == null)
|
|
67
231
|
return null;
|
|
68
|
-
if (typeof
|
|
69
|
-
return
|
|
70
|
-
if (typeof
|
|
71
|
-
return
|
|
72
|
-
switch (
|
|
73
|
-
case
|
|
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
|
+
return t.displayName || t.name || null;
|
|
234
|
+
if (typeof t == "string")
|
|
235
|
+
return t;
|
|
236
|
+
switch (t) {
|
|
237
|
+
case n:
|
|
74
238
|
return "Fragment";
|
|
75
|
-
case
|
|
239
|
+
case i:
|
|
76
240
|
return "Portal";
|
|
77
|
-
case
|
|
241
|
+
case p:
|
|
78
242
|
return "Profiler";
|
|
79
|
-
case
|
|
243
|
+
case m:
|
|
80
244
|
return "StrictMode";
|
|
81
|
-
case
|
|
245
|
+
case d:
|
|
82
246
|
return "Suspense";
|
|
83
|
-
case
|
|
247
|
+
case T:
|
|
84
248
|
return "SuspenseList";
|
|
85
249
|
}
|
|
86
|
-
if (typeof
|
|
87
|
-
switch (
|
|
250
|
+
if (typeof t == "object")
|
|
251
|
+
switch (t.$$typeof) {
|
|
252
|
+
case f:
|
|
253
|
+
var o = t;
|
|
254
|
+
return se(o) + ".Consumer";
|
|
255
|
+
case h:
|
|
256
|
+
var c = t;
|
|
257
|
+
return se(c._context) + ".Provider";
|
|
258
|
+
case s:
|
|
259
|
+
return ie(t, t.render, "ForwardRef");
|
|
88
260
|
case R:
|
|
89
|
-
var
|
|
90
|
-
return
|
|
91
|
-
case
|
|
92
|
-
var t =
|
|
93
|
-
return re(t._context) + ".Provider";
|
|
94
|
-
case d:
|
|
95
|
-
return $e(e, e.render, "ForwardRef");
|
|
96
|
-
case g:
|
|
97
|
-
var n = e.displayName || null;
|
|
98
|
-
return n !== null ? n : E(e.type) || "Memo";
|
|
99
|
-
case T: {
|
|
100
|
-
var i = e, s = i._payload, o = i._init;
|
|
261
|
+
var y = t.displayName || null;
|
|
262
|
+
return y !== null ? y : _(t.type) || "Memo";
|
|
263
|
+
case u: {
|
|
264
|
+
var k = t, w = k._payload, j = k._init;
|
|
101
265
|
try {
|
|
102
|
-
return
|
|
266
|
+
return _(j(w));
|
|
103
267
|
} catch {
|
|
104
268
|
return null;
|
|
105
269
|
}
|
|
@@ -107,567 +271,1956 @@ function vr() {
|
|
|
107
271
|
}
|
|
108
272
|
return null;
|
|
109
273
|
}
|
|
110
|
-
var
|
|
274
|
+
var V = Object.assign, ae = 0, ce, Ce, v, $, N, q, re;
|
|
111
275
|
function le() {
|
|
112
276
|
}
|
|
113
277
|
le.__reactDisabledLog = !0;
|
|
114
|
-
function
|
|
278
|
+
function ye() {
|
|
115
279
|
{
|
|
116
|
-
if (
|
|
117
|
-
|
|
118
|
-
var
|
|
280
|
+
if (ae === 0) {
|
|
281
|
+
ce = console.log, Ce = console.info, v = console.warn, $ = console.error, N = console.group, q = console.groupCollapsed, re = console.groupEnd;
|
|
282
|
+
var t = {
|
|
119
283
|
configurable: !0,
|
|
120
284
|
enumerable: !0,
|
|
121
285
|
value: le,
|
|
122
286
|
writable: !0
|
|
123
287
|
};
|
|
124
288
|
Object.defineProperties(console, {
|
|
125
|
-
info:
|
|
126
|
-
log:
|
|
127
|
-
warn:
|
|
128
|
-
error:
|
|
129
|
-
group:
|
|
130
|
-
groupCollapsed:
|
|
131
|
-
groupEnd:
|
|
289
|
+
info: t,
|
|
290
|
+
log: t,
|
|
291
|
+
warn: t,
|
|
292
|
+
error: t,
|
|
293
|
+
group: t,
|
|
294
|
+
groupCollapsed: t,
|
|
295
|
+
groupEnd: t
|
|
132
296
|
});
|
|
133
297
|
}
|
|
134
|
-
|
|
298
|
+
ae++;
|
|
135
299
|
}
|
|
136
300
|
}
|
|
137
|
-
function
|
|
301
|
+
function Pe() {
|
|
138
302
|
{
|
|
139
|
-
if (
|
|
140
|
-
var
|
|
303
|
+
if (ae--, ae === 0) {
|
|
304
|
+
var t = {
|
|
141
305
|
configurable: !0,
|
|
142
306
|
enumerable: !0,
|
|
143
307
|
writable: !0
|
|
144
308
|
};
|
|
145
309
|
Object.defineProperties(console, {
|
|
146
|
-
log:
|
|
147
|
-
value:
|
|
310
|
+
log: V({}, t, {
|
|
311
|
+
value: ce
|
|
148
312
|
}),
|
|
149
|
-
info:
|
|
150
|
-
value:
|
|
313
|
+
info: V({}, t, {
|
|
314
|
+
value: Ce
|
|
151
315
|
}),
|
|
152
|
-
warn:
|
|
153
|
-
value:
|
|
316
|
+
warn: V({}, t, {
|
|
317
|
+
value: v
|
|
154
318
|
}),
|
|
155
|
-
error:
|
|
156
|
-
value:
|
|
319
|
+
error: V({}, t, {
|
|
320
|
+
value: $
|
|
157
321
|
}),
|
|
158
|
-
group:
|
|
159
|
-
value:
|
|
322
|
+
group: V({}, t, {
|
|
323
|
+
value: N
|
|
160
324
|
}),
|
|
161
|
-
groupCollapsed:
|
|
162
|
-
value:
|
|
325
|
+
groupCollapsed: V({}, t, {
|
|
326
|
+
value: q
|
|
163
327
|
}),
|
|
164
|
-
groupEnd:
|
|
165
|
-
value:
|
|
328
|
+
groupEnd: V({}, t, {
|
|
329
|
+
value: re
|
|
166
330
|
})
|
|
167
331
|
});
|
|
168
332
|
}
|
|
169
|
-
|
|
333
|
+
ae < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
170
334
|
}
|
|
171
335
|
}
|
|
172
|
-
var
|
|
173
|
-
function
|
|
336
|
+
var E = A.ReactCurrentDispatcher, de;
|
|
337
|
+
function fe(t, o, c) {
|
|
174
338
|
{
|
|
175
|
-
if (
|
|
339
|
+
if (de === void 0)
|
|
176
340
|
try {
|
|
177
341
|
throw Error();
|
|
178
|
-
} catch (
|
|
179
|
-
var
|
|
180
|
-
|
|
342
|
+
} catch (k) {
|
|
343
|
+
var y = k.stack.trim().match(/\n( *(at )?)/);
|
|
344
|
+
de = y && y[1] || "";
|
|
181
345
|
}
|
|
182
346
|
return `
|
|
183
|
-
` +
|
|
347
|
+
` + de + t;
|
|
184
348
|
}
|
|
185
349
|
}
|
|
186
|
-
var
|
|
350
|
+
var Ae = !1, xe;
|
|
187
351
|
{
|
|
188
|
-
var
|
|
189
|
-
|
|
352
|
+
var Ie = typeof WeakMap == "function" ? WeakMap : Map;
|
|
353
|
+
xe = new Ie();
|
|
190
354
|
}
|
|
191
|
-
function
|
|
192
|
-
if (!
|
|
355
|
+
function Le(t, o) {
|
|
356
|
+
if (!t || Ae)
|
|
193
357
|
return "";
|
|
194
358
|
{
|
|
195
|
-
var
|
|
196
|
-
if (
|
|
197
|
-
return
|
|
359
|
+
var c = xe.get(t);
|
|
360
|
+
if (c !== void 0)
|
|
361
|
+
return c;
|
|
198
362
|
}
|
|
199
|
-
var
|
|
200
|
-
|
|
201
|
-
var
|
|
363
|
+
var y;
|
|
364
|
+
Ae = !0;
|
|
365
|
+
var k = Error.prepareStackTrace;
|
|
202
366
|
Error.prepareStackTrace = void 0;
|
|
203
|
-
var
|
|
204
|
-
|
|
367
|
+
var w;
|
|
368
|
+
w = E.current, E.current = null, ye();
|
|
205
369
|
try {
|
|
206
|
-
if (
|
|
207
|
-
var
|
|
370
|
+
if (o) {
|
|
371
|
+
var j = function() {
|
|
208
372
|
throw Error();
|
|
209
373
|
};
|
|
210
|
-
if (Object.defineProperty(
|
|
374
|
+
if (Object.defineProperty(j.prototype, "props", {
|
|
211
375
|
set: function() {
|
|
212
376
|
throw Error();
|
|
213
377
|
}
|
|
214
378
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
215
379
|
try {
|
|
216
|
-
Reflect.construct(
|
|
217
|
-
} catch (
|
|
218
|
-
|
|
380
|
+
Reflect.construct(j, []);
|
|
381
|
+
} catch (U) {
|
|
382
|
+
y = U;
|
|
219
383
|
}
|
|
220
|
-
Reflect.construct(
|
|
384
|
+
Reflect.construct(t, [], j);
|
|
221
385
|
} else {
|
|
222
386
|
try {
|
|
223
|
-
|
|
224
|
-
} catch (
|
|
225
|
-
|
|
387
|
+
j.call();
|
|
388
|
+
} catch (U) {
|
|
389
|
+
y = U;
|
|
226
390
|
}
|
|
227
|
-
|
|
391
|
+
t.call(j.prototype);
|
|
228
392
|
}
|
|
229
393
|
} else {
|
|
230
394
|
try {
|
|
231
395
|
throw Error();
|
|
232
|
-
} catch (
|
|
233
|
-
|
|
396
|
+
} catch (U) {
|
|
397
|
+
y = U;
|
|
234
398
|
}
|
|
235
|
-
|
|
399
|
+
t();
|
|
236
400
|
}
|
|
237
|
-
} catch (
|
|
238
|
-
if (
|
|
239
|
-
for (var
|
|
240
|
-
`),
|
|
241
|
-
`),
|
|
242
|
-
|
|
243
|
-
for (;
|
|
244
|
-
if (
|
|
245
|
-
if (
|
|
401
|
+
} catch (U) {
|
|
402
|
+
if (U && y && typeof U.stack == "string") {
|
|
403
|
+
for (var x = U.stack.split(`
|
|
404
|
+
`), z = y.stack.split(`
|
|
405
|
+
`), D = x.length - 1, B = z.length - 1; D >= 1 && B >= 0 && x[D] !== z[B]; )
|
|
406
|
+
B--;
|
|
407
|
+
for (; D >= 1 && B >= 0; D--, B--)
|
|
408
|
+
if (x[D] !== z[B]) {
|
|
409
|
+
if (D !== 1 || B !== 1)
|
|
246
410
|
do
|
|
247
|
-
if (
|
|
248
|
-
var
|
|
249
|
-
` +
|
|
250
|
-
return
|
|
411
|
+
if (D--, B--, B < 0 || x[D] !== z[B]) {
|
|
412
|
+
var J = `
|
|
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;
|
|
251
415
|
}
|
|
252
|
-
while (
|
|
416
|
+
while (D >= 1 && B >= 0);
|
|
253
417
|
break;
|
|
254
418
|
}
|
|
255
419
|
}
|
|
256
420
|
} finally {
|
|
257
|
-
|
|
421
|
+
Ae = !1, E.current = w, Pe(), Error.prepareStackTrace = k;
|
|
258
422
|
}
|
|
259
|
-
var
|
|
260
|
-
return typeof
|
|
423
|
+
var we = t ? t.displayName || t.name : "", je = we ? fe(we) : "";
|
|
424
|
+
return typeof t == "function" && xe.set(t, je), je;
|
|
261
425
|
}
|
|
262
|
-
function
|
|
263
|
-
return
|
|
426
|
+
function Ke(t, o, c) {
|
|
427
|
+
return Le(t, !1);
|
|
264
428
|
}
|
|
265
|
-
function
|
|
266
|
-
var
|
|
267
|
-
return !!(
|
|
429
|
+
function qe(t) {
|
|
430
|
+
var o = t.prototype;
|
|
431
|
+
return !!(o && o.isReactComponent);
|
|
268
432
|
}
|
|
269
|
-
function
|
|
270
|
-
if (
|
|
433
|
+
function oe(t, o, c) {
|
|
434
|
+
if (t == null)
|
|
271
435
|
return "";
|
|
272
|
-
if (typeof
|
|
273
|
-
return
|
|
274
|
-
if (typeof
|
|
275
|
-
return
|
|
276
|
-
switch (
|
|
277
|
-
case
|
|
278
|
-
return
|
|
279
|
-
case
|
|
280
|
-
return
|
|
281
|
-
}
|
|
282
|
-
if (typeof
|
|
283
|
-
switch (
|
|
284
|
-
case
|
|
285
|
-
return
|
|
286
|
-
case
|
|
287
|
-
return
|
|
288
|
-
case
|
|
289
|
-
var
|
|
436
|
+
if (typeof t == "function")
|
|
437
|
+
return Le(t, qe(t));
|
|
438
|
+
if (typeof t == "string")
|
|
439
|
+
return fe(t);
|
|
440
|
+
switch (t) {
|
|
441
|
+
case d:
|
|
442
|
+
return fe("Suspense");
|
|
443
|
+
case T:
|
|
444
|
+
return fe("SuspenseList");
|
|
445
|
+
}
|
|
446
|
+
if (typeof t == "object")
|
|
447
|
+
switch (t.$$typeof) {
|
|
448
|
+
case s:
|
|
449
|
+
return Ke(t.render);
|
|
450
|
+
case R:
|
|
451
|
+
return oe(t.type, o, c);
|
|
452
|
+
case u: {
|
|
453
|
+
var y = t, k = y._payload, w = y._init;
|
|
290
454
|
try {
|
|
291
|
-
return
|
|
455
|
+
return oe(w(k), o, c);
|
|
292
456
|
} catch {
|
|
293
457
|
}
|
|
294
458
|
}
|
|
295
459
|
}
|
|
296
460
|
return "";
|
|
297
461
|
}
|
|
298
|
-
var
|
|
299
|
-
function
|
|
300
|
-
if (
|
|
301
|
-
var
|
|
302
|
-
|
|
462
|
+
var ge = Object.prototype.hasOwnProperty, Be = {}, Oe = A.ReactDebugCurrentFrame;
|
|
463
|
+
function be(t) {
|
|
464
|
+
if (t) {
|
|
465
|
+
var o = t._owner, c = oe(t.type, t._source, o ? o.type : null);
|
|
466
|
+
Oe.setExtraStackFrame(c);
|
|
303
467
|
} else
|
|
304
|
-
|
|
468
|
+
Oe.setExtraStackFrame(null);
|
|
305
469
|
}
|
|
306
|
-
function
|
|
470
|
+
function l(t, o, c, y, k) {
|
|
307
471
|
{
|
|
308
|
-
var
|
|
309
|
-
for (var
|
|
310
|
-
if (
|
|
311
|
-
var
|
|
472
|
+
var w = Function.call.bind(ge);
|
|
473
|
+
for (var j in t)
|
|
474
|
+
if (w(t, j)) {
|
|
475
|
+
var x = void 0;
|
|
312
476
|
try {
|
|
313
|
-
if (typeof
|
|
314
|
-
var
|
|
315
|
-
throw
|
|
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
|
+
throw z.name = "Invariant Violation", z;
|
|
316
480
|
}
|
|
317
|
-
|
|
318
|
-
} catch (
|
|
319
|
-
|
|
481
|
+
x = t[j](o, j, y, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
482
|
+
} catch (D) {
|
|
483
|
+
x = D;
|
|
320
484
|
}
|
|
321
|
-
|
|
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));
|
|
322
486
|
}
|
|
323
487
|
}
|
|
324
488
|
}
|
|
325
|
-
var
|
|
326
|
-
function
|
|
327
|
-
return
|
|
489
|
+
var Y = Array.isArray;
|
|
490
|
+
function Re(t) {
|
|
491
|
+
return Y(t);
|
|
328
492
|
}
|
|
329
|
-
function
|
|
493
|
+
function ke(t) {
|
|
330
494
|
{
|
|
331
|
-
var
|
|
332
|
-
return
|
|
495
|
+
var o = typeof Symbol == "function" && Symbol.toStringTag, c = o && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
496
|
+
return c;
|
|
333
497
|
}
|
|
334
498
|
}
|
|
335
|
-
function
|
|
499
|
+
function He(t) {
|
|
336
500
|
try {
|
|
337
|
-
return
|
|
501
|
+
return Me(t), !1;
|
|
338
502
|
} catch {
|
|
339
503
|
return !0;
|
|
340
504
|
}
|
|
341
505
|
}
|
|
342
|
-
function
|
|
343
|
-
return "" +
|
|
506
|
+
function Me(t) {
|
|
507
|
+
return "" + t;
|
|
344
508
|
}
|
|
345
|
-
function
|
|
346
|
-
if (
|
|
347
|
-
return
|
|
509
|
+
function lt(t) {
|
|
510
|
+
if (He(t))
|
|
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);
|
|
348
512
|
}
|
|
349
|
-
var
|
|
513
|
+
var dt = A.ReactCurrentOwner, zt = {
|
|
350
514
|
key: !0,
|
|
351
515
|
ref: !0,
|
|
352
516
|
__self: !0,
|
|
353
517
|
__source: !0
|
|
354
|
-
},
|
|
355
|
-
function
|
|
356
|
-
if (
|
|
357
|
-
var
|
|
358
|
-
if (
|
|
518
|
+
}, ut, ht;
|
|
519
|
+
function Ut(t) {
|
|
520
|
+
if (ge.call(t, "ref")) {
|
|
521
|
+
var o = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
522
|
+
if (o && o.isReactWarning)
|
|
359
523
|
return !1;
|
|
360
524
|
}
|
|
361
|
-
return
|
|
525
|
+
return t.ref !== void 0;
|
|
362
526
|
}
|
|
363
|
-
function
|
|
364
|
-
if (
|
|
365
|
-
var
|
|
366
|
-
if (
|
|
527
|
+
function Gt(t) {
|
|
528
|
+
if (ge.call(t, "key")) {
|
|
529
|
+
var o = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
530
|
+
if (o && o.isReactWarning)
|
|
367
531
|
return !1;
|
|
368
532
|
}
|
|
369
|
-
return
|
|
533
|
+
return t.key !== void 0;
|
|
370
534
|
}
|
|
371
|
-
function
|
|
372
|
-
typeof
|
|
535
|
+
function Vt(t, o) {
|
|
536
|
+
typeof t.ref == "string" && dt.current;
|
|
373
537
|
}
|
|
374
|
-
function
|
|
538
|
+
function Kt(t, o) {
|
|
375
539
|
{
|
|
376
|
-
var
|
|
377
|
-
|
|
540
|
+
var c = function() {
|
|
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));
|
|
378
542
|
};
|
|
379
|
-
|
|
380
|
-
get:
|
|
543
|
+
c.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
544
|
+
get: c,
|
|
381
545
|
configurable: !0
|
|
382
546
|
});
|
|
383
547
|
}
|
|
384
548
|
}
|
|
385
|
-
function
|
|
549
|
+
function qt(t, o) {
|
|
386
550
|
{
|
|
387
|
-
var
|
|
388
|
-
|
|
551
|
+
var c = function() {
|
|
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));
|
|
389
553
|
};
|
|
390
|
-
|
|
391
|
-
get:
|
|
554
|
+
c.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
555
|
+
get: c,
|
|
392
556
|
configurable: !0
|
|
393
557
|
});
|
|
394
558
|
}
|
|
395
559
|
}
|
|
396
|
-
var
|
|
397
|
-
var
|
|
560
|
+
var Jt = function(t, o, c, y, k, w, j) {
|
|
561
|
+
var x = {
|
|
398
562
|
// This tag allows us to uniquely identify this as a React Element
|
|
399
|
-
$$typeof:
|
|
563
|
+
$$typeof: r,
|
|
400
564
|
// Built-in properties that belong on the element
|
|
401
|
-
type:
|
|
402
|
-
key:
|
|
403
|
-
ref:
|
|
404
|
-
props:
|
|
565
|
+
type: t,
|
|
566
|
+
key: o,
|
|
567
|
+
ref: c,
|
|
568
|
+
props: j,
|
|
405
569
|
// Record the component responsible for creating this element.
|
|
406
|
-
_owner:
|
|
570
|
+
_owner: w
|
|
407
571
|
};
|
|
408
|
-
return
|
|
572
|
+
return x._store = {}, Object.defineProperty(x._store, "validated", {
|
|
409
573
|
configurable: !1,
|
|
410
574
|
enumerable: !1,
|
|
411
575
|
writable: !0,
|
|
412
576
|
value: !1
|
|
413
|
-
}), Object.defineProperty(
|
|
577
|
+
}), Object.defineProperty(x, "_self", {
|
|
414
578
|
configurable: !1,
|
|
415
579
|
enumerable: !1,
|
|
416
580
|
writable: !1,
|
|
417
|
-
value:
|
|
418
|
-
}), Object.defineProperty(
|
|
581
|
+
value: y
|
|
582
|
+
}), Object.defineProperty(x, "_source", {
|
|
419
583
|
configurable: !1,
|
|
420
584
|
enumerable: !1,
|
|
421
585
|
writable: !1,
|
|
422
|
-
value:
|
|
423
|
-
}), Object.freeze && (Object.freeze(
|
|
586
|
+
value: k
|
|
587
|
+
}), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
|
|
424
588
|
};
|
|
425
|
-
function
|
|
426
|
-
{
|
|
427
|
-
var
|
|
428
|
-
|
|
429
|
-
for (
|
|
430
|
-
|
|
431
|
-
if (
|
|
432
|
-
var
|
|
433
|
-
for (
|
|
434
|
-
|
|
589
|
+
function Qt(t, o, c, y, k) {
|
|
590
|
+
{
|
|
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
|
+
if (t && t.defaultProps) {
|
|
596
|
+
var D = t.defaultProps;
|
|
597
|
+
for (w in D)
|
|
598
|
+
j[w] === void 0 && (j[w] = D[w]);
|
|
435
599
|
}
|
|
436
|
-
if (
|
|
437
|
-
var
|
|
438
|
-
|
|
600
|
+
if (x || z) {
|
|
601
|
+
var B = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
602
|
+
x && Kt(j, B), z && qt(j, B);
|
|
439
603
|
}
|
|
440
|
-
return
|
|
604
|
+
return Jt(t, x, z, k, y, dt.current, j);
|
|
441
605
|
}
|
|
442
606
|
}
|
|
443
|
-
var
|
|
444
|
-
function
|
|
445
|
-
if (
|
|
446
|
-
var
|
|
447
|
-
|
|
607
|
+
var Je = A.ReactCurrentOwner, mt = A.ReactDebugCurrentFrame;
|
|
608
|
+
function Se(t) {
|
|
609
|
+
if (t) {
|
|
610
|
+
var o = t._owner, c = oe(t.type, t._source, o ? o.type : null);
|
|
611
|
+
mt.setExtraStackFrame(c);
|
|
448
612
|
} else
|
|
449
|
-
|
|
613
|
+
mt.setExtraStackFrame(null);
|
|
450
614
|
}
|
|
451
|
-
var
|
|
452
|
-
|
|
453
|
-
function
|
|
454
|
-
return typeof
|
|
615
|
+
var Qe;
|
|
616
|
+
Qe = !1;
|
|
617
|
+
function Xe(t) {
|
|
618
|
+
return typeof t == "object" && t !== null && t.$$typeof === r;
|
|
455
619
|
}
|
|
456
|
-
function
|
|
620
|
+
function ft() {
|
|
457
621
|
{
|
|
458
|
-
if (
|
|
459
|
-
var
|
|
460
|
-
if (
|
|
622
|
+
if (Je.current) {
|
|
623
|
+
var t = _(Je.current.type);
|
|
624
|
+
if (t)
|
|
461
625
|
return `
|
|
462
626
|
|
|
463
|
-
Check the render method of \`` +
|
|
627
|
+
Check the render method of \`` + t + "`.";
|
|
464
628
|
}
|
|
465
629
|
return "";
|
|
466
630
|
}
|
|
467
631
|
}
|
|
468
|
-
function
|
|
632
|
+
function Xt(t) {
|
|
469
633
|
return "";
|
|
470
634
|
}
|
|
471
|
-
var
|
|
472
|
-
function
|
|
635
|
+
var pt = {};
|
|
636
|
+
function Zt(t) {
|
|
473
637
|
{
|
|
474
|
-
var
|
|
475
|
-
if (!
|
|
476
|
-
var
|
|
477
|
-
|
|
638
|
+
var o = ft();
|
|
639
|
+
if (!o) {
|
|
640
|
+
var c = typeof t == "string" ? t : t.displayName || t.name;
|
|
641
|
+
c && (o = `
|
|
478
642
|
|
|
479
|
-
Check the top-level render call using <` +
|
|
643
|
+
Check the top-level render call using <` + c + ">.");
|
|
480
644
|
}
|
|
481
|
-
return
|
|
645
|
+
return o;
|
|
482
646
|
}
|
|
483
647
|
}
|
|
484
|
-
function
|
|
648
|
+
function yt(t, o) {
|
|
485
649
|
{
|
|
486
|
-
if (!
|
|
650
|
+
if (!t._store || t._store.validated || t.key != null)
|
|
487
651
|
return;
|
|
488
|
-
|
|
489
|
-
var
|
|
490
|
-
if (
|
|
652
|
+
t._store.validated = !0;
|
|
653
|
+
var c = Zt(o);
|
|
654
|
+
if (pt[c])
|
|
491
655
|
return;
|
|
492
|
-
|
|
493
|
-
var
|
|
494
|
-
|
|
656
|
+
pt[c] = !0;
|
|
657
|
+
var y = "";
|
|
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);
|
|
495
659
|
}
|
|
496
660
|
}
|
|
497
|
-
function
|
|
661
|
+
function vt(t, o) {
|
|
498
662
|
{
|
|
499
|
-
if (typeof
|
|
663
|
+
if (typeof t != "object")
|
|
500
664
|
return;
|
|
501
|
-
if (
|
|
502
|
-
for (var
|
|
503
|
-
var
|
|
504
|
-
|
|
665
|
+
if (Re(t))
|
|
666
|
+
for (var c = 0; c < t.length; c++) {
|
|
667
|
+
var y = t[c];
|
|
668
|
+
Xe(y) && yt(y, o);
|
|
505
669
|
}
|
|
506
|
-
else if (
|
|
507
|
-
|
|
508
|
-
else if (
|
|
509
|
-
var
|
|
510
|
-
if (typeof
|
|
511
|
-
for (var
|
|
512
|
-
|
|
670
|
+
else if (Xe(t))
|
|
671
|
+
t._store && (t._store.validated = !0);
|
|
672
|
+
else if (t) {
|
|
673
|
+
var k = O(t);
|
|
674
|
+
if (typeof k == "function" && k !== t.entries)
|
|
675
|
+
for (var w = k.call(t), j; !(j = w.next()).done; )
|
|
676
|
+
Xe(j.value) && yt(j.value, o);
|
|
513
677
|
}
|
|
514
678
|
}
|
|
515
679
|
}
|
|
516
|
-
function
|
|
680
|
+
function ea(t) {
|
|
517
681
|
{
|
|
518
|
-
var
|
|
519
|
-
if (
|
|
682
|
+
var o = t.type;
|
|
683
|
+
if (o == null || typeof o == "string")
|
|
520
684
|
return;
|
|
521
|
-
var
|
|
522
|
-
if (typeof
|
|
523
|
-
|
|
524
|
-
else if (typeof
|
|
685
|
+
var c;
|
|
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.
|
|
525
689
|
// Inner props are checked in the reconciler.
|
|
526
|
-
|
|
527
|
-
|
|
690
|
+
o.$$typeof === R))
|
|
691
|
+
c = o.propTypes;
|
|
528
692
|
else
|
|
529
693
|
return;
|
|
530
|
-
if (
|
|
531
|
-
var
|
|
532
|
-
|
|
533
|
-
} else if (
|
|
534
|
-
|
|
535
|
-
var
|
|
536
|
-
|
|
694
|
+
if (c) {
|
|
695
|
+
var y = _(o);
|
|
696
|
+
l(c, t.props, "prop", y, t);
|
|
697
|
+
} else if (o.PropTypes !== void 0 && !Qe) {
|
|
698
|
+
Qe = !0;
|
|
699
|
+
var k = _(o);
|
|
700
|
+
g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
|
|
537
701
|
}
|
|
538
|
-
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.");
|
|
539
703
|
}
|
|
540
704
|
}
|
|
541
|
-
function
|
|
705
|
+
function ta(t) {
|
|
542
706
|
{
|
|
543
|
-
for (var
|
|
544
|
-
var
|
|
545
|
-
if (
|
|
546
|
-
|
|
707
|
+
for (var o = Object.keys(t.props), c = 0; c < o.length; c++) {
|
|
708
|
+
var y = o[c];
|
|
709
|
+
if (y !== "children" && y !== "key") {
|
|
710
|
+
Se(t), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", y), Se(null);
|
|
547
711
|
break;
|
|
548
712
|
}
|
|
549
713
|
}
|
|
550
|
-
|
|
714
|
+
t.ref !== null && (Se(t), g("Invalid attribute `ref` supplied to `React.Fragment`."), Se(null));
|
|
551
715
|
}
|
|
552
716
|
}
|
|
553
|
-
var
|
|
554
|
-
function
|
|
717
|
+
var _t = {};
|
|
718
|
+
function xt(t, o, c, y, k, w) {
|
|
555
719
|
{
|
|
556
|
-
var
|
|
557
|
-
if (!
|
|
558
|
-
var
|
|
559
|
-
(
|
|
560
|
-
var
|
|
561
|
-
|
|
562
|
-
var
|
|
563
|
-
|
|
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
|
+
var z = Xt();
|
|
725
|
+
z ? x += z : x += ft();
|
|
726
|
+
var 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);
|
|
564
728
|
}
|
|
565
|
-
var
|
|
566
|
-
if (
|
|
567
|
-
return
|
|
568
|
-
if (
|
|
569
|
-
var
|
|
570
|
-
if (
|
|
571
|
-
if (
|
|
572
|
-
if (
|
|
573
|
-
for (var
|
|
574
|
-
|
|
575
|
-
Object.freeze && Object.freeze(
|
|
729
|
+
var B = Qt(t, o, c, k, w);
|
|
730
|
+
if (B == null)
|
|
731
|
+
return B;
|
|
732
|
+
if (j) {
|
|
733
|
+
var J = o.children;
|
|
734
|
+
if (J !== void 0)
|
|
735
|
+
if (y)
|
|
736
|
+
if (Re(J)) {
|
|
737
|
+
for (var we = 0; we < J.length; we++)
|
|
738
|
+
vt(J[we], t);
|
|
739
|
+
Object.freeze && Object.freeze(J);
|
|
576
740
|
} else
|
|
577
|
-
|
|
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.");
|
|
578
742
|
else
|
|
579
|
-
|
|
743
|
+
vt(J, t);
|
|
580
744
|
}
|
|
581
|
-
if (
|
|
582
|
-
var
|
|
583
|
-
return
|
|
584
|
-
}),
|
|
585
|
-
if (!
|
|
586
|
-
var
|
|
587
|
-
|
|
745
|
+
if (ge.call(o, "key")) {
|
|
746
|
+
var je = _(t), U = Object.keys(o).filter(function(sa) {
|
|
747
|
+
return sa !== "key";
|
|
748
|
+
}), Ze = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
749
|
+
if (!_t[je + Ze]) {
|
|
750
|
+
var ia = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
|
|
751
|
+
g(`A props object containing a "key" prop is being spread into JSX:
|
|
588
752
|
let props = %s;
|
|
589
753
|
<%s {...props} />
|
|
590
754
|
React keys must be passed directly to JSX without using spread:
|
|
591
755
|
let props = %s;
|
|
592
|
-
<%s key={someKey} {...props} />`,
|
|
756
|
+
<%s key={someKey} {...props} />`, Ze, je, ia, je), _t[je + Ze] = !0;
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
return t === n ? ta(B) : ea(B), B;
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
function aa(t, o, c) {
|
|
763
|
+
return xt(t, o, c, !0);
|
|
764
|
+
}
|
|
765
|
+
function ra(t, o, c) {
|
|
766
|
+
return xt(t, o, c, !1);
|
|
767
|
+
}
|
|
768
|
+
var oa = ra, na = aa;
|
|
769
|
+
De.Fragment = n, De.jsx = oa, De.jsxs = na;
|
|
770
|
+
})()), De;
|
|
771
|
+
}
|
|
772
|
+
var Ct;
|
|
773
|
+
function Va() {
|
|
774
|
+
return Ct || (Ct = 1, process.env.NODE_ENV === "production" ? $e.exports = Ua() : $e.exports = Ga()), $e.exports;
|
|
775
|
+
}
|
|
776
|
+
var e = Va(), Ht = {
|
|
777
|
+
color: void 0,
|
|
778
|
+
size: void 0,
|
|
779
|
+
className: void 0,
|
|
780
|
+
style: void 0,
|
|
781
|
+
attr: void 0
|
|
782
|
+
}, Rt = he.createContext && /* @__PURE__ */ he.createContext(Ht), Ka = ["attr", "size", "title"];
|
|
783
|
+
function qa(a, r) {
|
|
784
|
+
if (a == null) return {};
|
|
785
|
+
var i, n, m = Ja(a, r);
|
|
786
|
+
if (Object.getOwnPropertySymbols) {
|
|
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
|
+
}
|
|
790
|
+
return m;
|
|
791
|
+
}
|
|
792
|
+
function Ja(a, r) {
|
|
793
|
+
if (a == null) return {};
|
|
794
|
+
var 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
|
+
}
|
|
799
|
+
return i;
|
|
800
|
+
}
|
|
801
|
+
function Ue() {
|
|
802
|
+
return Ue = Object.assign ? Object.assign.bind() : function(a) {
|
|
803
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
804
|
+
var i = arguments[r];
|
|
805
|
+
for (var n in i) ({}).hasOwnProperty.call(i, n) && (a[n] = i[n]);
|
|
806
|
+
}
|
|
807
|
+
return a;
|
|
808
|
+
}, Ue.apply(null, arguments);
|
|
809
|
+
}
|
|
810
|
+
function kt(a, r) {
|
|
811
|
+
var i = Object.keys(a);
|
|
812
|
+
if (Object.getOwnPropertySymbols) {
|
|
813
|
+
var n = Object.getOwnPropertySymbols(a);
|
|
814
|
+
r && (n = n.filter(function(m) {
|
|
815
|
+
return Object.getOwnPropertyDescriptor(a, m).enumerable;
|
|
816
|
+
})), i.push.apply(i, n);
|
|
817
|
+
}
|
|
818
|
+
return i;
|
|
819
|
+
}
|
|
820
|
+
function Ge(a) {
|
|
821
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
822
|
+
var i = arguments[r] != null ? arguments[r] : {};
|
|
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
|
+
});
|
|
828
|
+
}
|
|
829
|
+
return a;
|
|
830
|
+
}
|
|
831
|
+
function Qa(a, r, i) {
|
|
832
|
+
return (r = Xa(r)) in a ? Object.defineProperty(a, r, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : a[r] = i, a;
|
|
833
|
+
}
|
|
834
|
+
function Xa(a) {
|
|
835
|
+
var r = Za(a, "string");
|
|
836
|
+
return typeof r == "symbol" ? r : r + "";
|
|
837
|
+
}
|
|
838
|
+
function Za(a, r) {
|
|
839
|
+
if (typeof a != "object" || !a) return a;
|
|
840
|
+
var i = a[Symbol.toPrimitive];
|
|
841
|
+
if (i !== void 0) {
|
|
842
|
+
var n = i.call(a, r);
|
|
843
|
+
if (typeof n != "object") return n;
|
|
844
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
845
|
+
}
|
|
846
|
+
return (r === "string" ? String : Number)(a);
|
|
847
|
+
}
|
|
848
|
+
function Mt(a) {
|
|
849
|
+
return a && a.map((r, i) => /* @__PURE__ */ he.createElement(r.tag, Ge({
|
|
850
|
+
key: i
|
|
851
|
+
}, r.attr), Mt(r.child)));
|
|
852
|
+
}
|
|
853
|
+
function Z(a) {
|
|
854
|
+
return (r) => /* @__PURE__ */ he.createElement(er, Ue({
|
|
855
|
+
attr: Ge({}, a.attr)
|
|
856
|
+
}, r), Mt(a.child));
|
|
857
|
+
}
|
|
858
|
+
function er(a) {
|
|
859
|
+
var r = (i) => {
|
|
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
|
+
stroke: "currentColor",
|
|
863
|
+
fill: "currentColor",
|
|
864
|
+
strokeWidth: "0"
|
|
865
|
+
}, i.attr, n, h, {
|
|
866
|
+
className: s,
|
|
867
|
+
style: Ge(Ge({
|
|
868
|
+
color: a.color || i.color
|
|
869
|
+
}, i.style), a.style),
|
|
870
|
+
height: f,
|
|
871
|
+
width: f,
|
|
872
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
873
|
+
}), p && /* @__PURE__ */ he.createElement("title", null, p), a.children);
|
|
874
|
+
};
|
|
875
|
+
return Rt !== void 0 ? /* @__PURE__ */ he.createElement(Rt.Consumer, null, (i) => r(i)) : r(Ht);
|
|
876
|
+
}
|
|
877
|
+
function tr(a) {
|
|
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);
|
|
879
|
+
}
|
|
880
|
+
function $t(a) {
|
|
881
|
+
return Z({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" }, child: [] }] })(a);
|
|
882
|
+
}
|
|
883
|
+
function Wt(a) {
|
|
884
|
+
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: "16", x2: "12", y2: "12" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "8", x2: "12.01", y2: "8" }, child: [] }] })(a);
|
|
885
|
+
}
|
|
886
|
+
function ar(a) {
|
|
887
|
+
return Z({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z" }, child: [] }] })(a);
|
|
888
|
+
}
|
|
889
|
+
function Ft(a) {
|
|
890
|
+
return Z({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "9 18 15 12 9 6" }, child: [] }] })(a);
|
|
891
|
+
}
|
|
892
|
+
function rr(a) {
|
|
893
|
+
return Z({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "rect", attr: { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }, child: [] }, { tag: "line", attr: { x1: "16", y1: "2", x2: "16", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "8", y1: "2", x2: "8", y2: "6" }, child: [] }, { tag: "line", attr: { x1: "3", y1: "10", x2: "21", y2: "10" }, child: [] }] })(a);
|
|
894
|
+
}
|
|
895
|
+
function st(a) {
|
|
896
|
+
return Z({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "5", y1: "12", x2: "19", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 5 19 12 12 19" }, child: [] }] })(a);
|
|
897
|
+
}
|
|
898
|
+
function ct(a) {
|
|
899
|
+
return Z({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "19", y1: "12", x2: "5", y2: "12" }, child: [] }, { tag: "polyline", attr: { points: "12 19 5 12 12 5" }, child: [] }] })(a);
|
|
900
|
+
}
|
|
901
|
+
function Yt(a) {
|
|
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
|
+
}
|
|
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
|
+
status: m < i ? "completed" : m === i ? "active" : "pending"
|
|
910
|
+
}));
|
|
911
|
+
}
|
|
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
|
+
connector: ir,
|
|
915
|
+
tab: sr,
|
|
916
|
+
highlight: cr,
|
|
917
|
+
dot: lr,
|
|
918
|
+
dotCompleted: dr,
|
|
919
|
+
dotInner: ur,
|
|
920
|
+
dotIcon: hr,
|
|
921
|
+
label: mr,
|
|
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((n, m) => {
|
|
924
|
+
const p = n.status !== "pending" && !!r;
|
|
925
|
+
return /* @__PURE__ */ e.jsxs(he.Fragment, { children: [
|
|
926
|
+
m > 0 && /* @__PURE__ */ e.jsx("div", { className: Q.connector }),
|
|
927
|
+
/* @__PURE__ */ e.jsxs(
|
|
928
|
+
"button",
|
|
929
|
+
{
|
|
930
|
+
type: "button",
|
|
931
|
+
className: Q.tab,
|
|
932
|
+
disabled: !p,
|
|
933
|
+
onClick: p ? () => r?.(n.id) : void 0,
|
|
934
|
+
children: [
|
|
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
|
+
]
|
|
939
|
+
}
|
|
940
|
+
)
|
|
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
|
+
header: yr,
|
|
944
|
+
body: vr,
|
|
945
|
+
card: _r,
|
|
946
|
+
cardIcon: xr,
|
|
947
|
+
icon: gr,
|
|
948
|
+
footer: br,
|
|
949
|
+
ctaButton: jr
|
|
950
|
+
}, Tr = ({
|
|
951
|
+
isOpen: a,
|
|
952
|
+
onClose: r,
|
|
953
|
+
onCtaClick: i,
|
|
954
|
+
amavasyaOnly: n
|
|
955
|
+
}) => {
|
|
956
|
+
const { t: m } = Ve(), [p, h] = W("amavasya"), f = n ? "amavasya" : p;
|
|
957
|
+
return /* @__PURE__ */ e.jsx(
|
|
958
|
+
Nt,
|
|
959
|
+
{
|
|
960
|
+
isOpen: a,
|
|
961
|
+
onClose: r,
|
|
962
|
+
showDragHandle: !0,
|
|
963
|
+
closeButtonOutside: !0,
|
|
964
|
+
ariaLabel: m("selectRitualDaySheetHeading"),
|
|
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
|
+
{
|
|
969
|
+
variant: "primary",
|
|
970
|
+
size: "xl",
|
|
971
|
+
className: pe.ctaButton,
|
|
972
|
+
rightIcon: /* @__PURE__ */ e.jsx(st, { "aria-hidden": !0 }),
|
|
973
|
+
onClick: () => i(f),
|
|
974
|
+
children: m("selectRitualDaySheetCta")
|
|
975
|
+
}
|
|
976
|
+
) }),
|
|
977
|
+
children: /* @__PURE__ */ e.jsxs(
|
|
978
|
+
"div",
|
|
979
|
+
{
|
|
980
|
+
className: pe.body,
|
|
981
|
+
role: n ? void 0 : "radiogroup",
|
|
982
|
+
"aria-label": n ? void 0 : m("selectRitualDaySheetHeading"),
|
|
983
|
+
children: [
|
|
984
|
+
/* @__PURE__ */ e.jsx(
|
|
985
|
+
ot,
|
|
986
|
+
{
|
|
987
|
+
selected: f === "amavasya",
|
|
988
|
+
onSelect: () => h("amavasya"),
|
|
989
|
+
showRadio: !n,
|
|
990
|
+
radioVariant: "check",
|
|
991
|
+
tag: m("selectRitualDaySheetTag"),
|
|
992
|
+
icon: /* @__PURE__ */ e.jsx(Yt, { size: 20, className: pe.icon, "aria-hidden": !0 }),
|
|
993
|
+
iconClassName: pe.cardIcon,
|
|
994
|
+
title: m("selectRitualDaySheetCardTitle"),
|
|
995
|
+
description: m("selectRitualDaySheetCardDescription"),
|
|
996
|
+
className: pe.card
|
|
997
|
+
}
|
|
998
|
+
),
|
|
999
|
+
!n && /* @__PURE__ */ e.jsx(
|
|
1000
|
+
ot,
|
|
1001
|
+
{
|
|
1002
|
+
selected: f === "death-anniversary",
|
|
1003
|
+
onSelect: () => h("death-anniversary"),
|
|
1004
|
+
radioVariant: "check",
|
|
1005
|
+
icon: /* @__PURE__ */ e.jsx($t, { size: 20, className: pe.icon, "aria-hidden": !0 }),
|
|
1006
|
+
iconClassName: pe.cardIcon,
|
|
1007
|
+
title: m("selectRitualDaySheetDeathAnniversaryTitle"),
|
|
1008
|
+
description: m("selectRitualDaySheetDeathAnniversaryDescription")
|
|
1009
|
+
}
|
|
1010
|
+
)
|
|
1011
|
+
]
|
|
1012
|
+
}
|
|
1013
|
+
)
|
|
1014
|
+
}
|
|
1015
|
+
);
|
|
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
|
+
page: Cr,
|
|
1018
|
+
topBar: Rr,
|
|
1019
|
+
backButton: kr,
|
|
1020
|
+
progressHeader: Sr,
|
|
1021
|
+
question: wr,
|
|
1022
|
+
pujaTabs: Nr,
|
|
1023
|
+
body: Pr,
|
|
1024
|
+
card: Ar,
|
|
1025
|
+
cardHeader: Ir,
|
|
1026
|
+
iconContainer: Or,
|
|
1027
|
+
icon: Er,
|
|
1028
|
+
addMoreIcon: Dr,
|
|
1029
|
+
cardHeading: Lr,
|
|
1030
|
+
chipRow: Br,
|
|
1031
|
+
chipDisabled: Hr,
|
|
1032
|
+
ctaBar: Mr,
|
|
1033
|
+
ctaCaption: $r,
|
|
1034
|
+
ctaButton: Wr
|
|
1035
|
+
}, Bi = ({
|
|
1036
|
+
store: a,
|
|
1037
|
+
mutate: r,
|
|
1038
|
+
avatarUrl: i,
|
|
1039
|
+
audioSrc: n,
|
|
1040
|
+
onBackClick: m,
|
|
1041
|
+
onProceed: p
|
|
1042
|
+
}) => {
|
|
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
|
+
(S) => a.ancestorsByPuja[S.id].selectedAncestors.includes(Fe)
|
|
1045
|
+
), ne = () => {
|
|
1046
|
+
if (!A) {
|
|
1047
|
+
r({ type: "SET_CURRENT_PUJA_ID", payload: M[L + 1].id });
|
|
1048
|
+
return;
|
|
1049
|
+
}
|
|
1050
|
+
P(!0);
|
|
1051
|
+
};
|
|
1052
|
+
return /* @__PURE__ */ e.jsxs("div", { className: H.page, children: [
|
|
1053
|
+
/* @__PURE__ */ e.jsxs("div", { className: H.topBar, children: [
|
|
1054
|
+
/* @__PURE__ */ e.jsx(
|
|
1055
|
+
"button",
|
|
1056
|
+
{
|
|
1057
|
+
type: "button",
|
|
1058
|
+
onClick: m,
|
|
1059
|
+
"aria-label": h("selectAncestorsBackAriaLabel"),
|
|
1060
|
+
className: H.backButton,
|
|
1061
|
+
children: /* @__PURE__ */ e.jsx(ct, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
1062
|
+
}
|
|
1063
|
+
),
|
|
1064
|
+
/* @__PURE__ */ e.jsx(
|
|
1065
|
+
Pt,
|
|
1066
|
+
{
|
|
1067
|
+
quote: h("selectAncestorsProgressLabel"),
|
|
1068
|
+
currentStep: a.currentStep,
|
|
1069
|
+
totalSteps: a.totalSteps,
|
|
1070
|
+
className: H.progressHeader
|
|
1071
|
+
}
|
|
1072
|
+
)
|
|
1073
|
+
] }),
|
|
1074
|
+
/* @__PURE__ */ e.jsx(
|
|
1075
|
+
At,
|
|
1076
|
+
{
|
|
1077
|
+
avatarUrl: i,
|
|
1078
|
+
question: /* @__PURE__ */ e.jsx("p", { className: H.question, children: h("selectAncestorsQuestion") }),
|
|
1079
|
+
audioSrc: n
|
|
1080
|
+
}
|
|
1081
|
+
),
|
|
1082
|
+
/* @__PURE__ */ e.jsx(
|
|
1083
|
+
pr,
|
|
1084
|
+
{
|
|
1085
|
+
items: or(M, f),
|
|
1086
|
+
onTabClick: (S) => r({ type: "SET_CURRENT_PUJA_ID", payload: S }),
|
|
1087
|
+
className: H.pujaTabs
|
|
1088
|
+
}
|
|
1089
|
+
),
|
|
1090
|
+
/* @__PURE__ */ e.jsx("div", { className: H.body, children: /* @__PURE__ */ e.jsxs("div", { className: H.card, children: [
|
|
1091
|
+
/* @__PURE__ */ e.jsxs("div", { className: H.cardHeader, children: [
|
|
1092
|
+
/* @__PURE__ */ e.jsx("div", { className: H.iconContainer, children: /* @__PURE__ */ e.jsx(Yt, { size: 20, className: H.icon, "aria-hidden": !0 }) }),
|
|
1093
|
+
/* @__PURE__ */ e.jsxs("p", { className: H.cardHeading, children: [
|
|
1094
|
+
h("selectAncestorsCardHeadingPrefix"),
|
|
1095
|
+
O.ritual_name
|
|
1096
|
+
] })
|
|
1097
|
+
] }),
|
|
1098
|
+
/* @__PURE__ */ e.jsxs("div", { className: H.chipRow, children: [
|
|
1099
|
+
It.map((S) => {
|
|
1100
|
+
const G = S.id !== Fe && g;
|
|
1101
|
+
return /* @__PURE__ */ e.jsx(
|
|
1102
|
+
et,
|
|
1103
|
+
{
|
|
1104
|
+
label: h(S.labelKey),
|
|
1105
|
+
selected: s.includes(S.id),
|
|
1106
|
+
disabled: G,
|
|
1107
|
+
className: G ? H.chipDisabled : void 0,
|
|
1108
|
+
onClick: () => r({ type: "TOGGLE_ANCESTOR", payload: { pujaId: f, ancestor: S.id } })
|
|
1109
|
+
},
|
|
1110
|
+
S.id
|
|
1111
|
+
);
|
|
1112
|
+
}),
|
|
1113
|
+
d.map((S) => /* @__PURE__ */ e.jsx(
|
|
1114
|
+
et,
|
|
1115
|
+
{
|
|
1116
|
+
label: S,
|
|
1117
|
+
selected: s.includes(S),
|
|
1118
|
+
disabled: g,
|
|
1119
|
+
className: g ? H.chipDisabled : void 0,
|
|
1120
|
+
onClick: () => r({ type: "TOGGLE_ANCESTOR", payload: { pujaId: f, ancestor: S } })
|
|
1121
|
+
},
|
|
1122
|
+
S
|
|
1123
|
+
)),
|
|
1124
|
+
/* @__PURE__ */ e.jsx(
|
|
1125
|
+
et,
|
|
1126
|
+
{
|
|
1127
|
+
label: h(A ? "selectAncestorsAndAddMoreLabel" : "selectAncestorsAddMoreLabel"),
|
|
1128
|
+
icon: /* @__PURE__ */ e.jsx(tr, { size: 20, className: H.addMoreIcon }),
|
|
1129
|
+
disabled: g,
|
|
1130
|
+
className: g ? H.chipDisabled : void 0,
|
|
1131
|
+
onClick: () => R(!0)
|
|
593
1132
|
}
|
|
1133
|
+
)
|
|
1134
|
+
] })
|
|
1135
|
+
] }) }),
|
|
1136
|
+
/* @__PURE__ */ e.jsxs("div", { className: H.ctaBar, children: [
|
|
1137
|
+
ee && /* @__PURE__ */ e.jsx("p", { className: H.ctaCaption, children: h("selectAncestorsAllAncestorsCaption") }),
|
|
1138
|
+
/* @__PURE__ */ e.jsx(
|
|
1139
|
+
nt,
|
|
1140
|
+
{
|
|
1141
|
+
variant: "primary",
|
|
1142
|
+
size: "xl",
|
|
1143
|
+
className: H.ctaButton,
|
|
1144
|
+
rightIcon: /* @__PURE__ */ e.jsx(st, { "aria-hidden": !0 }),
|
|
1145
|
+
disabled: s.length === 0,
|
|
1146
|
+
onClick: ne,
|
|
1147
|
+
children: h(A ? "selectAncestorsCtaProceed" : "selectAncestorsCtaNextRitual")
|
|
1148
|
+
}
|
|
1149
|
+
)
|
|
1150
|
+
] }),
|
|
1151
|
+
/* @__PURE__ */ e.jsx(
|
|
1152
|
+
la,
|
|
1153
|
+
{
|
|
1154
|
+
isOpen: T,
|
|
1155
|
+
onClose: () => R(!1),
|
|
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
|
+
}
|
|
1164
|
+
),
|
|
1165
|
+
/* @__PURE__ */ e.jsx(
|
|
1166
|
+
Tr,
|
|
1167
|
+
{
|
|
1168
|
+
isOpen: u,
|
|
1169
|
+
onClose: () => P(!1),
|
|
1170
|
+
onCtaClick: (S) => {
|
|
1171
|
+
P(!1), p?.(S);
|
|
1172
|
+
},
|
|
1173
|
+
amavasyaOnly: K
|
|
1174
|
+
}
|
|
1175
|
+
)
|
|
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", eo = "myor_noteTitle_Jjfo-", to = "myor_noteBody_KrBA3", ao = "myor_ctaBar_JSe0J", ro = "myor_ctaButton_qK06K", F = {
|
|
1178
|
+
page: Fr,
|
|
1179
|
+
topBar: Yr,
|
|
1180
|
+
backButton: zr,
|
|
1181
|
+
progressHeader: Ur,
|
|
1182
|
+
question: Gr,
|
|
1183
|
+
questionHighlight: Vr,
|
|
1184
|
+
subtext: Kr,
|
|
1185
|
+
subtextHighlight: qr,
|
|
1186
|
+
body: Jr,
|
|
1187
|
+
ancestorRow: Qr,
|
|
1188
|
+
optionList: Xr,
|
|
1189
|
+
note: Zr,
|
|
1190
|
+
noteTitle: eo,
|
|
1191
|
+
noteBody: to,
|
|
1192
|
+
ctaBar: ao,
|
|
1193
|
+
ctaButton: ro
|
|
1194
|
+
}, oo = 2, no = 2, St = ze[ze.length - 1];
|
|
1195
|
+
function Hi({
|
|
1196
|
+
store: a,
|
|
1197
|
+
mutate: r,
|
|
1198
|
+
avatarUrl: i,
|
|
1199
|
+
audioSrc: n,
|
|
1200
|
+
onBackClick: m,
|
|
1201
|
+
onProceed: p,
|
|
1202
|
+
onResolveTithiForDate: h,
|
|
1203
|
+
onValidateTithi: f
|
|
1204
|
+
}) {
|
|
1205
|
+
const { t: s } = Ve(), d = a.currentPujaId, T = Ye(
|
|
1206
|
+
() => [
|
|
1207
|
+
...new Set(
|
|
1208
|
+
Object.values(a.ancestorsByPuja).flatMap(
|
|
1209
|
+
(v) => v.selectedAncestors
|
|
1210
|
+
)
|
|
1211
|
+
)
|
|
1212
|
+
],
|
|
1213
|
+
[a.ancestorsByPuja]
|
|
1214
|
+
), {
|
|
1215
|
+
deathTithiMethodByAncestor: R,
|
|
1216
|
+
deathTithiValueByAncestor: u,
|
|
1217
|
+
deathDateByAncestor: P,
|
|
1218
|
+
tithiValidityByAncestor: M,
|
|
1219
|
+
tithiPreviewByAncestor: L,
|
|
1220
|
+
currentDeathTithiAncestorIndex: O
|
|
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
|
+
}), te = Math.min(
|
|
1225
|
+
O,
|
|
1226
|
+
Math.max(me.length - 1, 0)
|
|
1227
|
+
), [ie, se] = W(te);
|
|
1228
|
+
Dt(() => {
|
|
1229
|
+
se(te);
|
|
1230
|
+
}, [te]);
|
|
1231
|
+
const _ = me[ie], V = ie === me.length - 1, ae = _ ? R[_.key] : void 0, ce = !!ae, Ce = () => {
|
|
1232
|
+
if (!ce) return;
|
|
1233
|
+
if (V) {
|
|
1234
|
+
p?.();
|
|
1235
|
+
return;
|
|
1236
|
+
}
|
|
1237
|
+
const v = ie + 1;
|
|
1238
|
+
se(v), v > te && r({ type: "ADVANCE_DEATH_TITHI_ANCESTOR", payload: { pujaId: d } });
|
|
1239
|
+
};
|
|
1240
|
+
return /* @__PURE__ */ e.jsxs("div", { className: F.page, children: [
|
|
1241
|
+
/* @__PURE__ */ e.jsxs("div", { className: F.topBar, children: [
|
|
1242
|
+
/* @__PURE__ */ e.jsx(
|
|
1243
|
+
"button",
|
|
1244
|
+
{
|
|
1245
|
+
type: "button",
|
|
1246
|
+
onClick: m,
|
|
1247
|
+
"aria-label": s("selectAncestorsBackAriaLabel"),
|
|
1248
|
+
className: F.backButton,
|
|
1249
|
+
children: /* @__PURE__ */ e.jsx(ct, { className: "size-6 text-[#1d2125]", "aria-hidden": !0 })
|
|
1250
|
+
}
|
|
1251
|
+
),
|
|
1252
|
+
/* @__PURE__ */ e.jsx(
|
|
1253
|
+
Pt,
|
|
1254
|
+
{
|
|
1255
|
+
quote: s("deathTithiProgressLabel"),
|
|
1256
|
+
currentStep: oo,
|
|
1257
|
+
totalSteps: no,
|
|
1258
|
+
className: F.progressHeader
|
|
1259
|
+
}
|
|
1260
|
+
)
|
|
1261
|
+
] }),
|
|
1262
|
+
/* @__PURE__ */ e.jsx(
|
|
1263
|
+
At,
|
|
1264
|
+
{
|
|
1265
|
+
avatarUrl: i,
|
|
1266
|
+
question: /* @__PURE__ */ e.jsxs("p", { className: F.question, children: [
|
|
1267
|
+
s("deathTithiQuestionPrefix"),
|
|
1268
|
+
/* @__PURE__ */ e.jsx("span", { className: F.questionHighlight, children: s("deathTithiQuestionHighlight") }),
|
|
1269
|
+
s("deathTithiQuestionSuffix")
|
|
1270
|
+
] }),
|
|
1271
|
+
description: /* @__PURE__ */ e.jsxs("p", { className: F.subtext, children: [
|
|
1272
|
+
s("deathTithiSubtextPrefix"),
|
|
1273
|
+
/* @__PURE__ */ e.jsx("span", { className: F.subtextHighlight, children: s("deathTithiSubtextHighlight") })
|
|
1274
|
+
] }),
|
|
1275
|
+
audioSrc: n
|
|
1276
|
+
}
|
|
1277
|
+
),
|
|
1278
|
+
/* @__PURE__ */ e.jsxs("div", { className: F.body, children: [
|
|
1279
|
+
/* @__PURE__ */ e.jsx(
|
|
1280
|
+
ua,
|
|
1281
|
+
{
|
|
1282
|
+
entries: me,
|
|
1283
|
+
viewedIndex: ie,
|
|
1284
|
+
isEntryFilled: (v) => !!R[v],
|
|
1285
|
+
isEntryReachable: (v) => v <= te,
|
|
1286
|
+
onSelect: se,
|
|
1287
|
+
className: F.ancestorRow
|
|
594
1288
|
}
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
1289
|
+
),
|
|
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
|
+
return /* @__PURE__ */ e.jsxs(
|
|
1293
|
+
ot,
|
|
1294
|
+
{
|
|
1295
|
+
selected: $,
|
|
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
|
+
onSelect: () => {
|
|
1301
|
+
if (_ && (r({
|
|
1302
|
+
type: "SET_DEATH_TITHI_METHOD",
|
|
1303
|
+
payload: {
|
|
1304
|
+
pujaId: d,
|
|
1305
|
+
ancestorKey: _.key,
|
|
1306
|
+
method: v.value
|
|
1307
|
+
}
|
|
1308
|
+
}), v.value === "tithi" && g(!0), v.value === "date" && K(!0), v.value === "unknown")) {
|
|
1309
|
+
const ye = _.key;
|
|
1310
|
+
r({
|
|
1311
|
+
type: "SET_DEATH_TITHI_VALUE",
|
|
1312
|
+
payload: { pujaId: d, ancestorKey: ye, tithi: St }
|
|
1313
|
+
}), f?.(St, ye).then((Pe) => {
|
|
1314
|
+
r({
|
|
1315
|
+
type: "SET_TITHI_VALIDITY",
|
|
1316
|
+
payload: { pujaId: d, ancestorKey: ye, validity: Pe }
|
|
1317
|
+
});
|
|
1318
|
+
});
|
|
1319
|
+
}
|
|
1320
|
+
},
|
|
1321
|
+
children: [
|
|
1322
|
+
$ && v.value === "tithi" && N && q?.active !== !1 && /* @__PURE__ */ e.jsx(
|
|
1323
|
+
gt,
|
|
1324
|
+
{
|
|
1325
|
+
value: s(N),
|
|
1326
|
+
onClick: () => g(!0)
|
|
1327
|
+
}
|
|
1328
|
+
),
|
|
1329
|
+
$ && v.value === "date" && re && /* @__PURE__ */ e.jsx(
|
|
1330
|
+
gt,
|
|
1331
|
+
{
|
|
1332
|
+
value: le?.tithiKey ? `${bt(re, G)} (${s(le.tithiKey)})` : bt(re, G),
|
|
1333
|
+
onClick: () => K(!0)
|
|
1334
|
+
}
|
|
1335
|
+
),
|
|
1336
|
+
$ && v.value === "unknown" && /* @__PURE__ */ e.jsxs(ma, { className: F.note, children: [
|
|
1337
|
+
/* @__PURE__ */ e.jsx("p", { className: F.noteTitle, children: s("deathTithiOption3ExpandedTitle") }),
|
|
1338
|
+
/* @__PURE__ */ e.jsx("p", { className: F.noteBody, children: s("deathTithiOption3ExpandedBody") })
|
|
1339
|
+
] })
|
|
1340
|
+
]
|
|
1341
|
+
},
|
|
1342
|
+
v.value
|
|
1343
|
+
);
|
|
1344
|
+
}) })
|
|
1345
|
+
] }),
|
|
1346
|
+
_ && /* @__PURE__ */ e.jsx(
|
|
1347
|
+
fa,
|
|
1348
|
+
{
|
|
1349
|
+
isOpen: A,
|
|
1350
|
+
onClose: () => g(!1),
|
|
1351
|
+
avatarUrl: tt(_.key),
|
|
1352
|
+
heading: `${_.label}${s("deathTithiPickerHeadingSuffix")}`,
|
|
1353
|
+
tithis: Te,
|
|
1354
|
+
confirmLabel: s("deathTithiPickerConfirmCta"),
|
|
1355
|
+
initialTithi: u[_.key] ? s(u[_.key]) : void 0,
|
|
1356
|
+
onConfirm: (v) => {
|
|
1357
|
+
const $ = ze[Te.indexOf(v)] ?? v, N = _.key;
|
|
1358
|
+
r({
|
|
1359
|
+
type: "SET_DEATH_TITHI_VALUE",
|
|
1360
|
+
payload: { pujaId: d, ancestorKey: N, tithi: $ }
|
|
1361
|
+
}), g(!1), f?.($, N).then((q) => {
|
|
1362
|
+
r({
|
|
1363
|
+
type: "SET_TITHI_VALIDITY",
|
|
1364
|
+
payload: { pujaId: d, ancestorKey: N, validity: q }
|
|
1365
|
+
}), q?.active === !1 && S(N);
|
|
1366
|
+
});
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
),
|
|
1370
|
+
_ && /* @__PURE__ */ e.jsx(
|
|
1371
|
+
pa,
|
|
1372
|
+
{
|
|
1373
|
+
isOpen: ee,
|
|
1374
|
+
onClose: () => K(!1),
|
|
1375
|
+
avatarUrl: tt(_.key),
|
|
1376
|
+
heading: `${_.label}${s("deathTithiPickerHeadingSuffix")}`,
|
|
1377
|
+
monthLabels: G,
|
|
1378
|
+
confirmLabel: s("deathDatePickerConfirmCta"),
|
|
1379
|
+
timezoneLabel: s("deathDatePickerTimezoneLabel"),
|
|
1380
|
+
initialDate: va(P[_.key]),
|
|
1381
|
+
onConfirm: (v) => {
|
|
1382
|
+
const $ = ya(v), N = _.key;
|
|
1383
|
+
r({
|
|
1384
|
+
type: "SET_DEATH_DATE",
|
|
1385
|
+
payload: { pujaId: d, ancestorKey: N, date: $ }
|
|
1386
|
+
}), K(!1), h?.($, N).then((q) => {
|
|
1387
|
+
r({
|
|
1388
|
+
type: "SET_TITHI_PREVIEW",
|
|
1389
|
+
payload: { pujaId: d, ancestorKey: N, preview: q }
|
|
1390
|
+
});
|
|
1391
|
+
});
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
),
|
|
1395
|
+
_ && /* @__PURE__ */ e.jsx(
|
|
1396
|
+
_a,
|
|
1397
|
+
{
|
|
1398
|
+
isOpen: ne === _.key,
|
|
1399
|
+
onClose: () => S(null),
|
|
1400
|
+
avatarUrl: tt(_.key),
|
|
1401
|
+
heading: s("amavasyaFallbackTithiPassedHeader"),
|
|
1402
|
+
ctaLabel: s("amavasyaFallbackCta"),
|
|
1403
|
+
onCtaClick: () => S(null),
|
|
1404
|
+
cardIcon: /* @__PURE__ */ e.jsx($t, { size: 20, className: "text-[#f97e4e]", "aria-hidden": !0 }),
|
|
1405
|
+
cardTitle: s("amavasyaFallbackCardTitle"),
|
|
1406
|
+
cardDescription: s("amavasyaFallbackCardBodyDatePassed"),
|
|
1407
|
+
cardTag: s("amavasyaFallbackCardBadge")
|
|
1408
|
+
}
|
|
1409
|
+
),
|
|
1410
|
+
/* @__PURE__ */ e.jsx("div", { className: F.ctaBar, children: /* @__PURE__ */ e.jsx(
|
|
1411
|
+
nt,
|
|
1412
|
+
{
|
|
1413
|
+
variant: "primary",
|
|
1414
|
+
size: "xl",
|
|
1415
|
+
className: F.ctaButton,
|
|
1416
|
+
rightIcon: /* @__PURE__ */ e.jsx(st, { "aria-hidden": !0 }),
|
|
1417
|
+
disabled: !ce,
|
|
1418
|
+
onClick: Ce,
|
|
1419
|
+
children: s(V ? "deathTithiFinalCtaLabel" : "deathTithiCtaLabel")
|
|
1420
|
+
}
|
|
1421
|
+
) })
|
|
1422
|
+
] });
|
|
1423
|
+
}
|
|
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 = [
|
|
632
1443
|
"The deity you want the ritual performed for",
|
|
633
1444
|
"The temple and the pandit who performs it",
|
|
634
1445
|
"The sankalp — your name, gotra and intention",
|
|
635
1446
|
"The offerings and prasad sent back to you"
|
|
636
|
-
],
|
|
1447
|
+
], Ro = [
|
|
637
1448
|
{ title: "Pick your intention", text: "Tell us what you are seeking — health, wealth, marriage, protection." },
|
|
638
1449
|
{ title: "Build your ritual", text: "Choose the deity, temple and offerings that fit your sankalp." },
|
|
639
1450
|
{ title: "Watch it performed", text: "Your ritual is performed in your name, with a video and prasad sent to you." }
|
|
640
|
-
],
|
|
641
|
-
onCtaClick:
|
|
642
|
-
ctaLabel:
|
|
643
|
-
className:
|
|
644
|
-
}) => /* @__PURE__ */
|
|
645
|
-
/* @__PURE__ */
|
|
646
|
-
/* @__PURE__ */
|
|
647
|
-
/* @__PURE__ */
|
|
648
|
-
/* @__PURE__ */
|
|
1451
|
+
], Mi = ({
|
|
1452
|
+
onCtaClick: a,
|
|
1453
|
+
ctaLabel: r = "Build My Ritual",
|
|
1454
|
+
className: i = ""
|
|
1455
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: `${I.page} ${i}`, children: [
|
|
1456
|
+
/* @__PURE__ */ e.jsxs("section", { className: I.hero, children: [
|
|
1457
|
+
/* @__PURE__ */ e.jsx("h1", { className: I.title, children: "Make Your Own Ritual" }),
|
|
1458
|
+
/* @__PURE__ */ e.jsx("p", { className: I.subtitle, children: "Not every prayer fits a fixed puja. Choose the deity, the temple and the sankalp yourself — and have the ritual performed exactly as you intend it." }),
|
|
1459
|
+
/* @__PURE__ */ e.jsx("button", { type: "button", className: `${I.cta} ${I.heroCta}`, onClick: a, children: r })
|
|
649
1460
|
] }),
|
|
650
|
-
/* @__PURE__ */
|
|
651
|
-
/* @__PURE__ */
|
|
652
|
-
/* @__PURE__ */
|
|
1461
|
+
/* @__PURE__ */ e.jsxs("section", { className: I.section, children: [
|
|
1462
|
+
/* @__PURE__ */ e.jsx("h2", { className: I.sectionTitle, children: "What is a personalised ritual?" }),
|
|
1463
|
+
/* @__PURE__ */ e.jsx("p", { className: I.body, children: "A ritual built around your own sankalp rather than a pre-set package. You decide what is being asked for and who it is being asked of; our pandits perform it at the temple you pick, in your name and gotra, on the day you choose." })
|
|
653
1464
|
] }),
|
|
654
|
-
/* @__PURE__ */
|
|
655
|
-
/* @__PURE__ */
|
|
656
|
-
/* @__PURE__ */
|
|
1465
|
+
/* @__PURE__ */ e.jsxs("section", { className: I.section, children: [
|
|
1466
|
+
/* @__PURE__ */ e.jsx("h2", { className: I.sectionTitle, children: "What you can choose" }),
|
|
1467
|
+
/* @__PURE__ */ e.jsx("ul", { className: I.list, children: Co.map((n) => /* @__PURE__ */ e.jsx("li", { className: I.listItem, children: n }, n)) })
|
|
657
1468
|
] }),
|
|
658
|
-
/* @__PURE__ */
|
|
659
|
-
/* @__PURE__ */
|
|
660
|
-
/* @__PURE__ */
|
|
661
|
-
/* @__PURE__ */
|
|
662
|
-
/* @__PURE__ */
|
|
663
|
-
/* @__PURE__ */
|
|
664
|
-
/* @__PURE__ */
|
|
1469
|
+
/* @__PURE__ */ e.jsxs("section", { className: I.section, children: [
|
|
1470
|
+
/* @__PURE__ */ e.jsx("h2", { className: I.sectionTitle, children: "How it works" }),
|
|
1471
|
+
/* @__PURE__ */ e.jsx("ol", { className: I.steps, children: Ro.map((n, m) => /* @__PURE__ */ e.jsxs("li", { className: I.step, children: [
|
|
1472
|
+
/* @__PURE__ */ e.jsx("span", { className: I.stepIndex, children: m + 1 }),
|
|
1473
|
+
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1474
|
+
/* @__PURE__ */ e.jsx("p", { className: I.stepTitle, children: n.title }),
|
|
1475
|
+
/* @__PURE__ */ e.jsx("p", { className: I.stepText, children: n.text })
|
|
665
1476
|
] })
|
|
666
|
-
] },
|
|
1477
|
+
] }, n.title)) })
|
|
667
1478
|
] }),
|
|
668
|
-
/* @__PURE__ */
|
|
1479
|
+
/* @__PURE__ */ e.jsx("div", { className: I.footerCta, children: /* @__PURE__ */ e.jsx("button", { type: "button", className: I.cta, onClick: a, children: r }) })
|
|
669
1480
|
] });
|
|
1481
|
+
function ko(a) {
|
|
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
|
+
}
|
|
1484
|
+
function So(a) {
|
|
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
|
+
}
|
|
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
|
+
imageUrl: a,
|
|
1519
|
+
imageAlt: r = "",
|
|
1520
|
+
title: i,
|
|
1521
|
+
titleClassName: n,
|
|
1522
|
+
description: m,
|
|
1523
|
+
descriptionClassName: p,
|
|
1524
|
+
locationLabel: h,
|
|
1525
|
+
ratingLabel: f,
|
|
1526
|
+
bookedLabel: s,
|
|
1527
|
+
tagClassName: d,
|
|
1528
|
+
tagTextClassName: T,
|
|
1529
|
+
priceLabel: R,
|
|
1530
|
+
price: u,
|
|
1531
|
+
linkLabel: P,
|
|
1532
|
+
onLinkClick: M,
|
|
1533
|
+
selected: L,
|
|
1534
|
+
onToggle: O,
|
|
1535
|
+
selectAriaLabel: A = "Select ritual",
|
|
1536
|
+
className: g
|
|
1537
|
+
}) {
|
|
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
|
+
/* @__PURE__ */ e.jsx("img", { src: a, alt: r, className: C.image }),
|
|
1541
|
+
/* @__PURE__ */ e.jsxs("div", { className: C.textCol, children: [
|
|
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
|
+
] }),
|
|
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
|
+
] }),
|
|
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
|
+
] }),
|
|
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
|
+
] }),
|
|
1557
|
+
/* @__PURE__ */ e.jsxs("div", { className: C.priceRow, children: [
|
|
1558
|
+
/* @__PURE__ */ e.jsxs("p", { className: C.priceGroup, children: [
|
|
1559
|
+
/* @__PURE__ */ e.jsx("span", { className: C.priceLabel, children: R }),
|
|
1560
|
+
/* @__PURE__ */ e.jsx("span", { className: C.priceValue, children: u })
|
|
1561
|
+
] }),
|
|
1562
|
+
/* @__PURE__ */ e.jsxs("button", { type: "button", onClick: M, className: C.linkButton, children: [
|
|
1563
|
+
P,
|
|
1564
|
+
/* @__PURE__ */ e.jsx(Ft, { "aria-hidden": !0, className: C.linkIcon })
|
|
1565
|
+
] })
|
|
1566
|
+
] })
|
|
1567
|
+
] });
|
|
1568
|
+
}
|
|
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
|
+
value: a,
|
|
1582
|
+
label: Ya[a]
|
|
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
|
+
function $i({
|
|
1585
|
+
store: a,
|
|
1586
|
+
mutate: r,
|
|
1587
|
+
onProceed: i,
|
|
1588
|
+
onLocaleChange: n,
|
|
1589
|
+
onAboutRitualClick: m
|
|
1590
|
+
}) {
|
|
1591
|
+
const { t: p, locale: h } = Ve(), f = a.selectedRituals.size, s = Ye(
|
|
1592
|
+
() => Array.from(a.selectedRituals.values()).reduce(
|
|
1593
|
+
(d, T) => d + T.price,
|
|
1594
|
+
0
|
|
1595
|
+
),
|
|
1596
|
+
[a.selectedRituals]
|
|
1597
|
+
);
|
|
1598
|
+
return /* @__PURE__ */ e.jsxs("main", { className: ue.root, children: [
|
|
1599
|
+
/* @__PURE__ */ e.jsx(
|
|
1600
|
+
xa,
|
|
1601
|
+
{
|
|
1602
|
+
locale: h,
|
|
1603
|
+
localeOptions: pn,
|
|
1604
|
+
onLocaleChange: (d) => n(d),
|
|
1605
|
+
className: ue.topBar
|
|
1606
|
+
}
|
|
1607
|
+
),
|
|
1608
|
+
/* @__PURE__ */ e.jsx("div", { className: ue.headerWrap, children: /* @__PURE__ */ e.jsx(
|
|
1609
|
+
ga,
|
|
1610
|
+
{
|
|
1611
|
+
badgeLabel: p("headerBadge"),
|
|
1612
|
+
dateRangeLabel: p("headerDateRange"),
|
|
1613
|
+
headline: p("headerHeadline")
|
|
1614
|
+
}
|
|
1615
|
+
) }),
|
|
1616
|
+
/* @__PURE__ */ e.jsxs("div", { className: ue.note, children: [
|
|
1617
|
+
/* @__PURE__ */ e.jsx("p", { className: ue.noteText, children: p("chooseMultipleNote") }),
|
|
1618
|
+
/* @__PURE__ */ e.jsxs("div", { className: ue.infoRow, children: [
|
|
1619
|
+
/* @__PURE__ */ e.jsx(Wt, { "aria-hidden": !0, className: ue.infoIcon }),
|
|
1620
|
+
/* @__PURE__ */ e.jsx("p", { className: ue.infoText, children: p("nextStepInfoNote") })
|
|
1621
|
+
] })
|
|
1622
|
+
] }),
|
|
1623
|
+
/* @__PURE__ */ e.jsx("div", { className: ue.ritualList, children: a.rituals.map((d) => {
|
|
1624
|
+
const T = a.selectedRituals.has(d.id);
|
|
1625
|
+
return /* @__PURE__ */ e.jsx(
|
|
1626
|
+
rn,
|
|
1627
|
+
{
|
|
1628
|
+
imageUrl: d.image,
|
|
1629
|
+
title: d.title,
|
|
1630
|
+
description: d.description,
|
|
1631
|
+
locationLabel: d.locationLabel,
|
|
1632
|
+
ratingLabel: yn(h, d.rating),
|
|
1633
|
+
bookedLabel: vn(h, d.bookings),
|
|
1634
|
+
priceLabel: p("ritualPriceLabel"),
|
|
1635
|
+
price: `${d.currency_symbol}${d.price}`,
|
|
1636
|
+
linkLabel: p(
|
|
1637
|
+
d.ritualType === "ritual" ? "ritualAboutLink" : d.ritualType === "chadhava" ? "ritualAboutChadhava" : "ritualAboutSeva"
|
|
1638
|
+
),
|
|
1639
|
+
onLinkClick: () => m?.(d.id),
|
|
1640
|
+
selected: T,
|
|
1641
|
+
onToggle: () => {
|
|
1642
|
+
const R = new Map(a.selectedRituals);
|
|
1643
|
+
T ? R.delete(d.id) : R.set(d.id, {
|
|
1644
|
+
id: d.id,
|
|
1645
|
+
ritual_name: d.ritual_name,
|
|
1646
|
+
ritual_description: d.description,
|
|
1647
|
+
cutoff_hour: d.cutoff_hour,
|
|
1648
|
+
cutoff_minute: d.cutoff_minute,
|
|
1649
|
+
price: d.price,
|
|
1650
|
+
type: d.ritualType === "chadhava" ? "chadava" : "seva"
|
|
1651
|
+
}), r({ type: "SET_SELECTED_RITUALS", payload: Array.from(R.values()) });
|
|
1652
|
+
},
|
|
1653
|
+
selectAriaLabel: p("ritualSelectAriaLabel")
|
|
1654
|
+
},
|
|
1655
|
+
d.id
|
|
1656
|
+
);
|
|
1657
|
+
}) }),
|
|
1658
|
+
/* @__PURE__ */ e.jsx("div", { className: ue.proceedBarWrap, children: /* @__PURE__ */ e.jsx(
|
|
1659
|
+
ba,
|
|
1660
|
+
{
|
|
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
|
+
onProceed: () => i?.(Array.from(a.selectedRituals.keys()))
|
|
1666
|
+
}
|
|
1667
|
+
) })
|
|
1668
|
+
] });
|
|
1669
|
+
}
|
|
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
|
+
}, Wi = ({
|
|
1676
|
+
isOpen: a,
|
|
1677
|
+
onClose: r,
|
|
1678
|
+
imageUrl: i,
|
|
1679
|
+
title: n,
|
|
1680
|
+
description: m
|
|
1681
|
+
}) => /* @__PURE__ */ e.jsx(
|
|
1682
|
+
Nt,
|
|
1683
|
+
{
|
|
1684
|
+
isOpen: a,
|
|
1685
|
+
onClose: r,
|
|
1686
|
+
showDragHandle: !0,
|
|
1687
|
+
closeButtonOutside: !0,
|
|
1688
|
+
ariaLabel: n,
|
|
1689
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: We.body, children: [
|
|
1690
|
+
/* @__PURE__ */ e.jsx("img", { src: i, alt: "", className: We.image }),
|
|
1691
|
+
/* @__PURE__ */ e.jsx("p", { className: We.title, children: n }),
|
|
1692
|
+
/* @__PURE__ */ e.jsx("p", { className: We.description, children: m })
|
|
1693
|
+
] })
|
|
1694
|
+
}
|
|
1695
|
+
);
|
|
1696
|
+
function jn(a) {
|
|
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
|
+
}
|
|
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
|
+
ctaWrap: ei
|
|
1732
|
+
}, ti = "https://srm-cdn.a4b.io/yoda/1788253585577.svg";
|
|
1733
|
+
function ai({
|
|
1734
|
+
index: a,
|
|
1735
|
+
ancestorsLabel: r,
|
|
1736
|
+
onEditClick: i,
|
|
1737
|
+
imageUrl: n,
|
|
1738
|
+
imageAlt: m,
|
|
1739
|
+
ratingLabel: p,
|
|
1740
|
+
bookedLabel: h,
|
|
1741
|
+
title: f,
|
|
1742
|
+
description: s,
|
|
1743
|
+
learnMoreLabel: d = "About This Seva",
|
|
1744
|
+
onLearnMoreClick: T,
|
|
1745
|
+
learnMoreHref: R,
|
|
1746
|
+
dateLabel: u,
|
|
1747
|
+
locationLabel: P,
|
|
1748
|
+
price: M,
|
|
1749
|
+
isAdded: L,
|
|
1750
|
+
onCtaClick: O,
|
|
1751
|
+
onPriceInfoClick: A
|
|
1752
|
+
}) {
|
|
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
|
+
] }),
|
|
1760
|
+
i && /* @__PURE__ */ e.jsx(
|
|
1761
|
+
"button",
|
|
1762
|
+
{
|
|
1763
|
+
type: "button",
|
|
1764
|
+
className: b.editButton,
|
|
1765
|
+
onClick: i,
|
|
1766
|
+
"aria-label": "Edit ancestors",
|
|
1767
|
+
children: /* @__PURE__ */ e.jsx(jn, { "aria-hidden": !0, className: b.editIcon })
|
|
1768
|
+
}
|
|
1769
|
+
)
|
|
1770
|
+
] }),
|
|
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
|
+
d,
|
|
1778
|
+
/* @__PURE__ */ e.jsx(Ft, { "aria-hidden": !0, className: b.learnMoreIcon })
|
|
1779
|
+
] })
|
|
1780
|
+
] })
|
|
1781
|
+
] }),
|
|
1782
|
+
ee && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
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
|
+
] }),
|
|
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
|
+
] })
|
|
1793
|
+
] })
|
|
1794
|
+
] }),
|
|
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
|
+
] }),
|
|
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
|
+
"button",
|
|
1806
|
+
{
|
|
1807
|
+
type: "button",
|
|
1808
|
+
className: b.priceInfoButton,
|
|
1809
|
+
onClick: A,
|
|
1810
|
+
"aria-label": "More info",
|
|
1811
|
+
children: /* @__PURE__ */ e.jsx(Wt, { "aria-hidden": !0, className: b.priceInfoIcon })
|
|
1812
|
+
}
|
|
1813
|
+
)
|
|
1814
|
+
] }),
|
|
1815
|
+
/* @__PURE__ */ e.jsx("p", { className: b.priceValue, children: M })
|
|
1816
|
+
] }),
|
|
1817
|
+
/* @__PURE__ */ e.jsx("div", { className: b.ctaWrap, children: /* @__PURE__ */ e.jsx(
|
|
1818
|
+
it,
|
|
1819
|
+
{
|
|
1820
|
+
variant: L ? "secondary" : "primary",
|
|
1821
|
+
leftIcon: L ? /* @__PURE__ */ e.jsx(Ot, {}) : /* @__PURE__ */ e.jsx(Et, {}),
|
|
1822
|
+
onClick: O,
|
|
1823
|
+
children: L ? "Added" : "Add"
|
|
1824
|
+
}
|
|
1825
|
+
) })
|
|
1826
|
+
] })
|
|
1827
|
+
] });
|
|
1828
|
+
}
|
|
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 = {
|
|
1830
|
+
card: ri,
|
|
1831
|
+
image: oi,
|
|
1832
|
+
scrim: ni,
|
|
1833
|
+
contentRow: ii,
|
|
1834
|
+
contentCard: si,
|
|
1835
|
+
textCol: ci,
|
|
1836
|
+
title: li,
|
|
1837
|
+
description: di,
|
|
1838
|
+
priceCol: ui,
|
|
1839
|
+
priceRow: hi,
|
|
1840
|
+
originalPrice: mi,
|
|
1841
|
+
price: fi
|
|
1842
|
+
};
|
|
1843
|
+
function pi({
|
|
1844
|
+
imageUrl: a,
|
|
1845
|
+
imageAlt: r,
|
|
1846
|
+
title: i,
|
|
1847
|
+
description: n,
|
|
1848
|
+
originalPrice: m,
|
|
1849
|
+
price: p,
|
|
1850
|
+
isAdded: h,
|
|
1851
|
+
onCtaClick: f,
|
|
1852
|
+
disabled: s
|
|
1853
|
+
}) {
|
|
1854
|
+
const { t: d } = Lt();
|
|
1855
|
+
return /* @__PURE__ */ e.jsxs("div", { className: X.card, children: [
|
|
1856
|
+
/* @__PURE__ */ e.jsx("img", { src: a, alt: r, className: X.image }),
|
|
1857
|
+
/* @__PURE__ */ e.jsx("div", { className: X.scrim }),
|
|
1858
|
+
/* @__PURE__ */ e.jsx("div", { className: X.contentRow, children: /* @__PURE__ */ e.jsxs("div", { className: X.contentCard, children: [
|
|
1859
|
+
/* @__PURE__ */ e.jsxs("div", { className: X.textCol, children: [
|
|
1860
|
+
/* @__PURE__ */ e.jsx("p", { className: X.title, children: i }),
|
|
1861
|
+
/* @__PURE__ */ e.jsx("p", { className: X.description, children: n })
|
|
1862
|
+
] }),
|
|
1863
|
+
/* @__PURE__ */ e.jsxs("div", { className: X.priceCol, children: [
|
|
1864
|
+
/* @__PURE__ */ e.jsxs("div", { className: X.priceRow, children: [
|
|
1865
|
+
m != null && /* @__PURE__ */ e.jsx("p", { className: X.originalPrice, children: m }),
|
|
1866
|
+
/* @__PURE__ */ e.jsx("p", { className: X.price, children: p })
|
|
1867
|
+
] }),
|
|
1868
|
+
/* @__PURE__ */ e.jsx(
|
|
1869
|
+
it,
|
|
1870
|
+
{
|
|
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,
|
|
1874
|
+
disabled: s,
|
|
1875
|
+
style: s ? { backgroundImage: "none", color: "#6b7280", borderColor: "#d1d5db" } : void 0,
|
|
1876
|
+
children: d(h ? "outcomeAddedLabel" : "outcomeAddLabel")
|
|
1877
|
+
}
|
|
1878
|
+
)
|
|
1879
|
+
] })
|
|
1880
|
+
] }) })
|
|
1881
|
+
] });
|
|
1882
|
+
}
|
|
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 = {
|
|
1884
|
+
page: yi,
|
|
1885
|
+
addedSection: vi,
|
|
1886
|
+
removedSection: _i,
|
|
1887
|
+
removedHeading: xi,
|
|
1888
|
+
fullWidth: gi,
|
|
1889
|
+
backButton: bi
|
|
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 = {
|
|
1891
|
+
overlay: ji,
|
|
1892
|
+
backdrop: Ti,
|
|
1893
|
+
closeButton: Ci,
|
|
1894
|
+
sheet: Ri,
|
|
1895
|
+
dragHandle: ki,
|
|
1896
|
+
dragHandleBar: Si,
|
|
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({
|
|
1901
|
+
isOpen: a,
|
|
1902
|
+
onClose: r,
|
|
1903
|
+
closeButtonAriaLabel: i = "Close",
|
|
1904
|
+
dragHandleAriaLabel: n = "Drag to expand",
|
|
1905
|
+
footer: m,
|
|
1906
|
+
children: p
|
|
1907
|
+
}) {
|
|
1908
|
+
const [h, f] = W(null), [s, d] = W(!1), [T, R] = W(!1), u = Sa(null);
|
|
1909
|
+
if (Dt(() => {
|
|
1910
|
+
if (!a) {
|
|
1911
|
+
d(!1), f(null);
|
|
1912
|
+
return;
|
|
1913
|
+
}
|
|
1914
|
+
f(window.innerHeight * at);
|
|
1915
|
+
}, [a]), !a)
|
|
1916
|
+
return null;
|
|
1917
|
+
const P = (O) => {
|
|
1918
|
+
O.target.setPointerCapture(O.pointerId), u.current = { y: O.clientY, height: h ?? window.innerHeight * at }, R(!0);
|
|
1919
|
+
}, M = (O) => {
|
|
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);
|
|
1923
|
+
}, L = () => {
|
|
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);
|
|
1927
|
+
};
|
|
1928
|
+
return /* @__PURE__ */ e.jsxs("div", { className: _e.overlay, children: [
|
|
1929
|
+
/* @__PURE__ */ e.jsx(
|
|
1930
|
+
"button",
|
|
1931
|
+
{
|
|
1932
|
+
type: "button",
|
|
1933
|
+
"aria-label": i,
|
|
1934
|
+
onClick: r,
|
|
1935
|
+
className: _e.backdrop
|
|
1936
|
+
}
|
|
1937
|
+
),
|
|
1938
|
+
!s && /* @__PURE__ */ e.jsx(
|
|
1939
|
+
"button",
|
|
1940
|
+
{
|
|
1941
|
+
type: "button",
|
|
1942
|
+
"aria-label": i,
|
|
1943
|
+
onClick: r,
|
|
1944
|
+
className: _e.closeButton,
|
|
1945
|
+
children: "✕"
|
|
1946
|
+
}
|
|
1947
|
+
),
|
|
1948
|
+
/* @__PURE__ */ e.jsxs(
|
|
1949
|
+
"div",
|
|
1950
|
+
{
|
|
1951
|
+
className: _e.sheet,
|
|
1952
|
+
style: {
|
|
1953
|
+
height: h ?? void 0,
|
|
1954
|
+
borderTopLeftRadius: s ? 0 : 24,
|
|
1955
|
+
borderTopRightRadius: s ? 0 : 24,
|
|
1956
|
+
transition: T ? "none" : `height 0.4s ${wt}, border-radius 0.4s ${wt}`
|
|
1957
|
+
},
|
|
1958
|
+
children: [
|
|
1959
|
+
/* @__PURE__ */ e.jsx(
|
|
1960
|
+
"div",
|
|
1961
|
+
{
|
|
1962
|
+
role: "button",
|
|
1963
|
+
tabIndex: 0,
|
|
1964
|
+
"aria-label": n,
|
|
1965
|
+
onPointerDown: P,
|
|
1966
|
+
onPointerMove: M,
|
|
1967
|
+
onPointerUp: L,
|
|
1968
|
+
onPointerCancel: L,
|
|
1969
|
+
className: _e.dragHandle,
|
|
1970
|
+
children: /* @__PURE__ */ e.jsx("span", { className: _e.dragHandleBar })
|
|
1971
|
+
}
|
|
1972
|
+
),
|
|
1973
|
+
/* @__PURE__ */ e.jsx("div", { className: _e.body, children: p }),
|
|
1974
|
+
m && /* @__PURE__ */ e.jsx("div", { className: _e.footer, children: m })
|
|
1975
|
+
]
|
|
1976
|
+
}
|
|
1977
|
+
)
|
|
1978
|
+
] });
|
|
1979
|
+
}
|
|
1980
|
+
const rt = (a) => Number(a.replace(/[^0-9.]/g, "")) || 0;
|
|
1981
|
+
function Fi({
|
|
1982
|
+
ritualCount: a,
|
|
1983
|
+
rituals: r,
|
|
1984
|
+
mandapArrangement: i,
|
|
1985
|
+
reviewMedia: n,
|
|
1986
|
+
onDevoteesReviewsSeeMoreClick: m,
|
|
1987
|
+
totalPrice: p,
|
|
1988
|
+
onPriceInfoClick: h,
|
|
1989
|
+
onProceedClick: f,
|
|
1990
|
+
skipPackageSelect: s,
|
|
1991
|
+
onBack: d,
|
|
1992
|
+
backButtonAriaLabel: T = "Go back",
|
|
1993
|
+
packageSelectOptions: R
|
|
1994
|
+
}) {
|
|
1995
|
+
const { t: u, locale: P } = Lt(), [M, L] = W(
|
|
1996
|
+
() => Object.fromEntries(r.map((l) => [l.index, l.isAdded]))
|
|
1997
|
+
), [O, A] = W(i?.isAdded ?? !1), [g, ee] = W(null), [K, ne] = W(null), [S, G] = W(null), [Te, me] = W(
|
|
1998
|
+
() => Object.fromEntries(
|
|
1999
|
+
r.filter((l) => l.ancestorPujaItems).map((l) => [l.index, l.ancestorPujaItems.map((Y) => Y.isActive)])
|
|
2000
|
+
)
|
|
2001
|
+
), [te, ie] = W(!1), [se, _] = W(
|
|
2002
|
+
R[0]?.id
|
|
2003
|
+
), V = rt(p), ae = R.find((l) => l.id === se), ce = ae?.extraPrice ?? 0, Ce = R.map(
|
|
2004
|
+
({ extraPrice: l, ...Y }) => Y
|
|
2005
|
+
), v = i ? rt(i.price) : 0, $ = i ? rt(i.originalPrice ?? i.price) - v : 0, N = i ? {
|
|
2006
|
+
...i,
|
|
2007
|
+
price: `₹${v + ce}`,
|
|
2008
|
+
originalPrice: `₹${v + ce + $}`
|
|
2009
|
+
} : void 0, q = () => {
|
|
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) => ({
|
|
2012
|
+
...l,
|
|
2013
|
+
isActive: Te[de.index]?.[Y] ?? l.isActive
|
|
2014
|
+
})), Ae = u("billDetailsFeeLabel"), xe = (l) => typeof l == "string" ? l : "", Ie = (l, Y, Re) => ({
|
|
2015
|
+
name: `${xe(l)} ${Ae}`,
|
|
2016
|
+
subtitle: Y,
|
|
2017
|
+
lineTotal: `${xe(Re)}/-`
|
|
2018
|
+
}), Le = le.map(
|
|
2019
|
+
(l) => Ie(l.title, l.locationLabel ?? "", l.price)
|
|
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(
|
|
2021
|
+
ai,
|
|
2022
|
+
{
|
|
2023
|
+
...l,
|
|
2024
|
+
isAdded: re(l),
|
|
2025
|
+
onCtaClick: () => {
|
|
2026
|
+
if (re(l) && l.ancestorPujaItems && l.ancestorPujaItems.length > 0) {
|
|
2027
|
+
G(l.index);
|
|
2028
|
+
return;
|
|
2029
|
+
}
|
|
2030
|
+
L((Y) => ({
|
|
2031
|
+
...Y,
|
|
2032
|
+
[l.index]: !Y[l.index]
|
|
2033
|
+
})), l.onCtaClick?.();
|
|
2034
|
+
},
|
|
2035
|
+
onLearnMoreClick: () => {
|
|
2036
|
+
ee(l.index), l.onLearnMoreClick?.();
|
|
2037
|
+
},
|
|
2038
|
+
onEditClick: () => {
|
|
2039
|
+
G(l.index), l.onEditClick?.();
|
|
2040
|
+
},
|
|
2041
|
+
onPriceInfoClick: () => {
|
|
2042
|
+
ne(l.index), l.onPriceInfoClick?.();
|
|
2043
|
+
}
|
|
2044
|
+
},
|
|
2045
|
+
l.index
|
|
2046
|
+
);
|
|
2047
|
+
return /* @__PURE__ */ e.jsxs("main", { className: `pitru-paksh-ritual-recommendation-root pitru-paksh-common-root ${Ne.page}`, children: [
|
|
2048
|
+
d && /* @__PURE__ */ e.jsx(
|
|
2049
|
+
"button",
|
|
2050
|
+
{
|
|
2051
|
+
type: "button",
|
|
2052
|
+
onClick: d,
|
|
2053
|
+
"aria-label": T,
|
|
2054
|
+
className: Ne.backButton,
|
|
2055
|
+
children: /* @__PURE__ */ e.jsx(ct, { className: "size-5", "aria-hidden": !0 })
|
|
2056
|
+
}
|
|
2057
|
+
),
|
|
2058
|
+
/* @__PURE__ */ e.jsx(
|
|
2059
|
+
ja,
|
|
2060
|
+
{
|
|
2061
|
+
badgeLabel: u("outcomeBadge"),
|
|
2062
|
+
headingPrefix: u("outcomeHeadingPrefix"),
|
|
2063
|
+
ritualCount: a,
|
|
2064
|
+
ritualCountLabel: u(a === 1 ? "outcomeHeadingRitualSingular" : "outcomeHeadingRitualPlural"),
|
|
2065
|
+
headingSuffix: u("outcomeHeadingSuffix"),
|
|
2066
|
+
trustItems: wa.map((l) => ({
|
|
2067
|
+
variant: l.variant,
|
|
2068
|
+
text: u(l.textKey)
|
|
2069
|
+
}))
|
|
2070
|
+
}
|
|
2071
|
+
),
|
|
2072
|
+
/* @__PURE__ */ e.jsxs("div", { className: Ne.addedSection, children: [
|
|
2073
|
+
le.length === 0 && /* @__PURE__ */ e.jsx(Na, {}),
|
|
2074
|
+
le.map(be),
|
|
2075
|
+
N && /* @__PURE__ */ e.jsx(
|
|
2076
|
+
pi,
|
|
2077
|
+
{
|
|
2078
|
+
...N,
|
|
2079
|
+
isAdded: O,
|
|
2080
|
+
onCtaClick: () => {
|
|
2081
|
+
A((l) => !l), N.onCtaClick?.();
|
|
2082
|
+
}
|
|
2083
|
+
}
|
|
2084
|
+
)
|
|
2085
|
+
] }),
|
|
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)
|
|
2089
|
+
] }),
|
|
2090
|
+
/* @__PURE__ */ e.jsx(Pa, {}),
|
|
2091
|
+
/* @__PURE__ */ e.jsx(Aa, {}),
|
|
2092
|
+
/* @__PURE__ */ e.jsx(Ia, {}),
|
|
2093
|
+
/* @__PURE__ */ e.jsx(
|
|
2094
|
+
Oa,
|
|
2095
|
+
{
|
|
2096
|
+
totalPrice: p,
|
|
2097
|
+
ritualCountLabel: Oe,
|
|
2098
|
+
onPriceInfoClick: () => {
|
|
2099
|
+
ne("cart"), h?.();
|
|
2100
|
+
},
|
|
2101
|
+
onProceedClick: () => s ? q() : ie(!0),
|
|
2102
|
+
disabled: le.length === 0
|
|
2103
|
+
}
|
|
2104
|
+
),
|
|
2105
|
+
/* @__PURE__ */ e.jsx(
|
|
2106
|
+
Ea,
|
|
2107
|
+
{
|
|
2108
|
+
isOpen: K != null,
|
|
2109
|
+
onClose: () => ne(null),
|
|
2110
|
+
closeButtonAriaLabel: u("billDetailsCloseAriaLabel"),
|
|
2111
|
+
heading: u("billDetailsHeading"),
|
|
2112
|
+
items: ge,
|
|
2113
|
+
totalLabel: u("billDetailsTotalLabel"),
|
|
2114
|
+
totalAmount: Be
|
|
2115
|
+
}
|
|
2116
|
+
),
|
|
2117
|
+
/* @__PURE__ */ e.jsxs(
|
|
2118
|
+
Ai,
|
|
2119
|
+
{
|
|
2120
|
+
isOpen: E != null,
|
|
2121
|
+
onClose: () => ee(null),
|
|
2122
|
+
footer: /* @__PURE__ */ e.jsx(it, { variant: "accent", size: "lg", className: Ne.fullWidth, onClick: () => ee(null), children: u("pujaDetailsGotItLabel") }),
|
|
2123
|
+
children: [
|
|
2124
|
+
E && /* @__PURE__ */ e.jsx(
|
|
2125
|
+
Da,
|
|
2126
|
+
{
|
|
2127
|
+
images: E.detailImages ?? (E.imageUrl ? [E.imageUrl] : []),
|
|
2128
|
+
title: E.title,
|
|
2129
|
+
specificity: E.description ?? "",
|
|
2130
|
+
dateLabel: E.dateLabel ?? "",
|
|
2131
|
+
locationLabel: E.locationLabel ?? ""
|
|
2132
|
+
}
|
|
2133
|
+
),
|
|
2134
|
+
E?.detailBenefits && /* @__PURE__ */ e.jsx(La, { heading: u("pujaBenefitsHeading"), benefits: E.detailBenefits }),
|
|
2135
|
+
E?.detailTempleSignificance && /* @__PURE__ */ e.jsx(Ba, { ...E.detailTempleSignificance }),
|
|
2136
|
+
E && E.devoteesReviews && E.devoteesReviews.length > 0 && /* @__PURE__ */ e.jsx(
|
|
2137
|
+
Ha,
|
|
2138
|
+
{
|
|
2139
|
+
heading: u("devoteesReviewsHeading"),
|
|
2140
|
+
subtitle: u("devoteesReviewsSubtitle"),
|
|
2141
|
+
reviews: E.devoteesReviews,
|
|
2142
|
+
reviewMedia: n,
|
|
2143
|
+
seeMoreLabel: u("devoteesReviewsSeeMoreLabel"),
|
|
2144
|
+
onSeeMoreClick: m
|
|
2145
|
+
}
|
|
2146
|
+
)
|
|
2147
|
+
]
|
|
2148
|
+
}
|
|
2149
|
+
),
|
|
2150
|
+
de && fe && /* @__PURE__ */ e.jsx(
|
|
2151
|
+
Ma,
|
|
2152
|
+
{
|
|
2153
|
+
isOpen: !0,
|
|
2154
|
+
onClose: () => G(null),
|
|
2155
|
+
question: u("ancestorEditQuestion"),
|
|
2156
|
+
ancestors: fe,
|
|
2157
|
+
onToggle: (l) => {
|
|
2158
|
+
me((Y) => {
|
|
2159
|
+
const ke = [...Y[de.index] ?? fe.map((Me) => Me.isActive)];
|
|
2160
|
+
ke[l] = !ke[l];
|
|
2161
|
+
const He = fe[l]?.id;
|
|
2162
|
+
return He && de.onAncestorToggle?.(He, ke[l]), { ...Y, [de.index]: ke };
|
|
2163
|
+
});
|
|
2164
|
+
},
|
|
2165
|
+
confirmLabel: u("ancestorEditConfirmLabel"),
|
|
2166
|
+
onConfirmClick: () => G(null),
|
|
2167
|
+
addAgainLabel: u("ancestorEditAddAgainLabel"),
|
|
2168
|
+
removeLabel: u("ancestorEditRemoveLabel"),
|
|
2169
|
+
removeWarningMessagePrefix: u("ancestorRemoveWarningPrefix"),
|
|
2170
|
+
removeWarningMessageSuffix: u("ancestorRemoveWarningSuffix"),
|
|
2171
|
+
removeWarningConfirmLabel: u("ancestorRemoveWarningConfirmLabel"),
|
|
2172
|
+
removeWarningCancelLabel: u("ancestorRemoveWarningCancelLabel")
|
|
2173
|
+
}
|
|
2174
|
+
),
|
|
2175
|
+
te && /* @__PURE__ */ e.jsx(
|
|
2176
|
+
Ta,
|
|
2177
|
+
{
|
|
2178
|
+
isOpen: te,
|
|
2179
|
+
onClose: () => ie(!1),
|
|
2180
|
+
ariaLabel: ka(P).title,
|
|
2181
|
+
showDragHandle: !0,
|
|
2182
|
+
showCloseButton: !1,
|
|
2183
|
+
footer: /* @__PURE__ */ e.jsx(
|
|
2184
|
+
Ra,
|
|
2185
|
+
{
|
|
2186
|
+
locale: P,
|
|
2187
|
+
amount: `₹${(V + ce).toFixed(1)}/-`,
|
|
2188
|
+
subtitle: Oe,
|
|
2189
|
+
onProceed: q,
|
|
2190
|
+
onInfoClick: () => ne("cart")
|
|
2191
|
+
}
|
|
2192
|
+
),
|
|
2193
|
+
children: /* @__PURE__ */ e.jsx(
|
|
2194
|
+
Ca,
|
|
2195
|
+
{
|
|
2196
|
+
locale: P,
|
|
2197
|
+
options: Ce,
|
|
2198
|
+
value: se,
|
|
2199
|
+
onChange: _
|
|
2200
|
+
}
|
|
2201
|
+
)
|
|
2202
|
+
}
|
|
2203
|
+
)
|
|
2204
|
+
] });
|
|
2205
|
+
}
|
|
670
2206
|
export {
|
|
671
|
-
|
|
2207
|
+
Ui as ALL_ANCESTORS_ID,
|
|
2208
|
+
Gi as ANCESTOR_OPTIONS,
|
|
2209
|
+
Wi as ChadhavaSevaBottomSheet,
|
|
2210
|
+
Hi as DeathTithi,
|
|
2211
|
+
qi as DevoteesReviews,
|
|
2212
|
+
Li as I18nProvider,
|
|
2213
|
+
$i as LandingPage,
|
|
2214
|
+
Mi as MakeYourOwnRitualPage,
|
|
2215
|
+
pi as MandapArrangementCard,
|
|
2216
|
+
Fi as MyorOutcome,
|
|
2217
|
+
ai as MyorRitualCard,
|
|
2218
|
+
Vi as MyorServiceOfferCard,
|
|
2219
|
+
Ji as PujaBenefitsSection,
|
|
2220
|
+
Qi as PujaDetailsCarouselHeader,
|
|
2221
|
+
Ai as PujaDetailsSheet,
|
|
2222
|
+
Bi as SelectAncestors,
|
|
2223
|
+
Xi as TempleSignificanceSection,
|
|
2224
|
+
Ve as useI18n
|
|
672
2225
|
};
|
|
673
2226
|
//# sourceMappingURL=make-your-own-ritual.js.map
|