@srimandir/pitru-paksh-common 2.26.0 → 2.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4633,33 +4633,6 @@ const Ut = {
|
|
|
4633
4633
|
proceedCtaLabel: "आगे बढ़ें, और डिटेल्स भरें",
|
|
4634
4634
|
kashyapGotraLabel: "कश्यप"
|
|
4635
4635
|
},
|
|
4636
|
-
kn: {
|
|
4637
|
-
topBarTitle: "ಪೂಜೆಗಾಗಿ ಅಗತ್ಯ ವಿವರಗಳನ್ನು ನಮೂದಿಸಿ",
|
|
4638
|
-
backButtonAriaLabel: "ಹಿಂದೆ ಹೋಗಿ",
|
|
4639
|
-
whatsappNumberLabel: "ನಿಮ್ಮ ವಾಟ್ಸಾಪ್ ಸಂಖ್ಯೆಯನ್ನು ಸೇರಿಸಿ",
|
|
4640
|
-
whatsappNumberPlaceholder: "0000000000",
|
|
4641
|
-
whatsappNumberHelperText: "ಪೂಜೆಯ ಮಾಹಿತಿಯನ್ನು ಈ ಸಂಖ್ಯೆಗೆ ಕಳುಹಿಸಲಾಗುತ್ತದೆ",
|
|
4642
|
-
emailLabel: "ನಿಮ್ಮ ಇಮೇಲ್ ಸೇರಿಸಿ",
|
|
4643
|
-
emailPlaceholder: "ನಿಮ್ಮ ಇಮೇಲ್ ನಮೂದಿಸಿ",
|
|
4644
|
-
emailHelperText: "ಪೂಜೆಯ ಮಾಹಿತಿಯನ್ನು ಈ ಇಮೇಲ್ಗೆ ಕಳುಹಿಸಲಾಗುತ್ತದೆ",
|
|
4645
|
-
kartaNameSectionTitle: "ತಮ್ಮ ಪೂರ್ವಜರಿಗಾಗಿ ಪೂಜೆ ಮಾಡುವ ವ್ಯಕ್ತಿಗಳ ಹೆಸರನ್ನು ನಮೂದಿಸಿ (ಕರ್ತೃ)",
|
|
4646
|
-
kartaNameLabel: "ಕರ್ತೃವಿನ ಹೆಸರು",
|
|
4647
|
-
kartaNameOptionalSuffix: "(ಐಚ್ಛಿಕ)",
|
|
4648
|
-
kartaNamePlaceholder: "ಪೂಜೆಯಲ್ಲಿ ಉಚ್ಚರಿಸಬೇಕಾದ ಹೆಸರು",
|
|
4649
|
-
gotraFieldLabel: "ಕರ್ತೃವಿನ ಗೋತ್ರವನ್ನು ನಮೂದಿಸಿ (ಪೂಜೆ ಮಾಡುವ ವ್ಯಕ್ತಿ)*",
|
|
4650
|
-
gotraFieldPlaceholder: "ಕರ್ತೃವಿನ ಗೋತ್ರವನ್ನು ನಮೂದಿಸಿ (ತಿಳಿದಿದ್ದರೆ)",
|
|
4651
|
-
gotraUnknownCheckboxLabel: "ನಿಮ್ಮ ಗೋತ್ರ ತಿಳಿದಿಲ್ಲದಿದ್ದರೆ, ಇದನ್ನು ಆಯ್ಕೆಮಾಡಿ",
|
|
4652
|
-
gotraUnknownHelperText: "ಶಾಸ್ತ್ರಗಳ ಪ್ರಕಾರ, ಕಶ್ಯಪ ಗೋತ್ರದೊಂದಿಗೆ ಸಂಕಲ್ಪವನ್ನು ಮಾಡಬಹುದು, ಇದು ನಿಮಗೆ ಪೂಜೆಯ ಸಂಪೂರ್ಣ ಫಲವನ್ನು ಪಡೆಯಲು ಅನುವು ಮಾಡಿಕೊಡುತ್ತದೆ",
|
|
4653
|
-
ancestorNameSectionTitle: "ಈ ಪೂಜೆ ಯಾರಿಗಾಗಿ?",
|
|
4654
|
-
ancestorNameSectionSubtitle: "ನಿಮ್ಮ ಪೂರ್ವಜರ ಹೆಸರನ್ನು ನಮೂದಿಸಿ",
|
|
4655
|
-
ancestorNameFieldSuffix: "ಹೆಸರು",
|
|
4656
|
-
sarvaPitruSectionSubtitle: "ನಿಮ್ಮ ಪೂರ್ವಜರು",
|
|
4657
|
-
sarvaPitruFieldValue: "ಎಲ್ಲಾ ಪೂರ್ವಜರಿಗಾಗಿ",
|
|
4658
|
-
sarvaPitruHelperText: "ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಇದನ್ನು ಉಚ್ಚರಿಸುತ್ತಾರೆ",
|
|
4659
|
-
latePrefixLabel: "ದಿವಂಗತ",
|
|
4660
|
-
proceedCtaLabel: "ವಿವರಗಳನ್ನು ನಮೂದಿಸಲು ಮುಂದುವರಿಯಿರಿ",
|
|
4661
|
-
kashyapGotraLabel: "ಕಶ್ಯಪ"
|
|
4662
|
-
},
|
|
4663
4636
|
te: {
|
|
4664
4637
|
topBarTitle: "పూజ కోసం అవసరమైన వివరాలు నమోదు చేయండి",
|
|
4665
4638
|
backButtonAriaLabel: "వెనక్కి వెళ్ళండి",
|
|
@@ -4687,16 +4660,22 @@ const Ut = {
|
|
|
4687
4660
|
proceedCtaLabel: "వివరాలు నమోదు చేయండి",
|
|
4688
4661
|
kashyapGotraLabel: "కశ్యప"
|
|
4689
4662
|
},
|
|
4690
|
-
// Figma node 7650:35470, Pitru-Paksh-2026 file
|
|
4691
|
-
//
|
|
4692
|
-
//
|
|
4693
|
-
//
|
|
4694
|
-
//
|
|
4663
|
+
// Wording follows Figma node 7650:35470, Pitru-Paksh-2026 file, which shows
|
|
4664
|
+
// a domestic, named-ancestor instance: the WhatsApp, Karta-name, Gotra and
|
|
4665
|
+
// ancestor-name sections. The Email and Sarva Pitru keys aren't in that
|
|
4666
|
+
// frame; their copy comes from the earlier Kannada translation pass, which
|
|
4667
|
+
// used to live in a second `kn` block further up this object. Two `kn` keys
|
|
4668
|
+
// in one literal meant this one silently won and those keys fell back to
|
|
4669
|
+
// English — so they're folded in here instead. Keep exactly one `kn` block.
|
|
4695
4670
|
kn: {
|
|
4696
4671
|
topBarTitle: "ಪೂಜೆಗಾಗಿ ಅಗತ್ಯವಿರುವ ವಿವರಗಳನ್ನು ಭರ್ತಿ ಮಾಡಿ",
|
|
4672
|
+
backButtonAriaLabel: "ಹಿಂದೆ ಹೋಗಿ",
|
|
4697
4673
|
whatsappNumberLabel: "ನಿಮ್ಮ ವಾಟ್ಸಾಪ್ ನಂಬರ್ ಹಾಕಿ",
|
|
4698
4674
|
whatsappNumberPlaceholder: "0000000000",
|
|
4699
4675
|
whatsappNumberHelperText: "ಪೂಜೆಯ ಅಪ್ಡೇಟ್ಗಳನ್ನು ಈ ಸಂಖ್ಯೆಗೆ ಕಳುಹಿಸಲಾಗುತ್ತದೆ",
|
|
4676
|
+
emailLabel: "ನಿಮ್ಮ ಇಮೇಲ್ ಸೇರಿಸಿ",
|
|
4677
|
+
emailPlaceholder: "ನಿಮ್ಮ ಇಮೇಲ್ ನಮೂದಿಸಿ",
|
|
4678
|
+
emailHelperText: "ಪೂಜೆಯ ಮಾಹಿತಿಯನ್ನು ಈ ಇಮೇಲ್ಗೆ ಕಳುಹಿಸಲಾಗುತ್ತದೆ",
|
|
4700
4679
|
kartaNameSectionTitle: "ತಮ್ಮ ಪೂರ್ವಜರಿಗಾಗಿ ಪೂಜೆ ಮಾಡುವ ವ್ಯಕ್ತಿಗಳ ಹೆಸರನ್ನು ನಮೂದಿಸಿ (ಕರ್ತೃ)",
|
|
4701
4680
|
kartaNameLabel: "ಕರ್ತೃವಿನ ಹೆಸರು",
|
|
4702
4681
|
kartaNameOptionalSuffix: "(ಐಚ್ಛಿಕ)",
|
|
@@ -4708,6 +4687,9 @@ const Ut = {
|
|
|
4708
4687
|
ancestorNameSectionTitle: "ಈ ಪೂಜೆ ಯಾರಿಗಾಗಿ?",
|
|
4709
4688
|
ancestorNameSectionSubtitle: "ನಿಮ್ಮ ಪೂರ್ವಜರ ಹೆಸರನ್ನು ನಮೂದಿಸಿ",
|
|
4710
4689
|
ancestorNameFieldSuffix: "ಹೆಸರು",
|
|
4690
|
+
sarvaPitruSectionSubtitle: "ನಿಮ್ಮ ಪೂರ್ವಜರು",
|
|
4691
|
+
sarvaPitruFieldValue: "ಎಲ್ಲಾ ಪೂರ್ವಜರಿಗಾಗಿ",
|
|
4692
|
+
sarvaPitruHelperText: "ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಇದನ್ನು ಉಚ್ಚರಿಸುತ್ತಾರೆ",
|
|
4711
4693
|
latePrefixLabel: "ದಿವಂಗತ",
|
|
4712
4694
|
proceedCtaLabel: "ವಿವರಗಳನ್ನು ಭರ್ತಿ ಮಾಡಲು ಮುಂದುವರಿಯಿರಿ",
|
|
4713
4695
|
kashyapGotraLabel: "ಕಶ್ಯಪ"
|
|
@@ -4723,7 +4705,6 @@ const Ut = {
|
|
|
4723
4705
|
}, Ht = {
|
|
4724
4706
|
en: ["1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", "10th"],
|
|
4725
4707
|
hi: ["पहले", "दूसरे", "तीसरे", "चौथे", "पांचवें", "छठे", "सातवें", "आठवें", "नौवें", "दसवें"],
|
|
4726
|
-
kn: ["1ನೇ", "2ನೇ", "3ನೇ", "4ನೇ", "5ನೇ", "6ನೇ", "7ನೇ", "8ನೇ", "9ನೇ", "10ನೇ"],
|
|
4727
4708
|
te: ["1వ", "2వ", "3వ", "4వ", "5వ", "6వ", "7వ", "8వ", "9వ", "10వ"],
|
|
4728
4709
|
// Kannada ordinals are regular (number + "ನೇ"), unlike English's — per
|
|
4729
4710
|
// Figma node 7650:35513 ("1ನೇ ಕರ್ತೃವಿನ ಹೆಸರು", "2ನೇ ...", "3ನೇ ...").
|
|
@@ -4731,7 +4712,6 @@ const Ut = {
|
|
|
4731
4712
|
}, nn = {
|
|
4732
4713
|
en: "th",
|
|
4733
4714
|
hi: "वें",
|
|
4734
|
-
kn: "ನೇ",
|
|
4735
4715
|
te: "వ",
|
|
4736
4716
|
kn: "ನೇ"
|
|
4737
4717
|
}, ln = (t, a) => {
|
|
@@ -11,4 +11,4 @@ Check the top-level render call using <`+N+">.")}return m}}function Oa(s,m){{if(
|
|
|
11
11
|
<%s {...props} />
|
|
12
12
|
React keys must be passed directly to JSX without using spread:
|
|
13
13
|
let props = %s;
|
|
14
|
-
<%s key={someKey} {...props} />`,ot,ue,Tn,ue),Ma[ue+ot]=!0}}return s===n?kn(z):_n(z),z}}function Ln(s,m,N){return Ra(s,m,N,!0)}function Sn(s,m,N){return Ra(s,m,N,!1)}var An=Sn,Pn=Ln;be.Fragment=n,be.jsx=An,be.jsxs=Pn})()),be}var pt;function $a(){return pt||(pt=1,process.env.NODE_ENV==="production"?_e.exports=Ua():_e.exports=Ha()),_e.exports}var e=$a(),ft={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},xt=C.createContext&&C.createContext(ft),Va=["attr","size","title"];function Wa(t,a){if(t==null)return{};var r,n,i=Ka(t,a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(n=0;n<d.length;n++)r=d[n],a.indexOf(r)===-1&&{}.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function Ka(t,a){if(t==null)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(a.indexOf(n)!==-1)continue;r[n]=t[n]}return r}function ke(){return ke=Object.assign?Object.assign.bind():function(t){for(var a=1;a<arguments.length;a++){var r=arguments[a];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},ke.apply(null,arguments)}function mt(t,a){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);a&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Le(t){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?mt(Object(r),!0).forEach(function(n){Za(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mt(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Za(t,a,r){return(a=qa(a))in t?Object.defineProperty(t,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[a]=r,t}function qa(t){var a=Ya(t,"string");return typeof a=="symbol"?a:a+""}function Ya(t,a){if(typeof t!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,a);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(t)}function ht(t){return t&&t.map((a,r)=>C.createElement(a.tag,Le({key:r},a.attr),ht(a.child)))}function A(t){return a=>C.createElement(Qa,ke({attr:Le({},t.attr)},a),ht(t.child))}function Qa(t){var a=r=>{var n=t.attr,i=t.size,d=t.title,o=Wa(t,Va),l=i||r.size||"1em",c;return r.className&&(c=r.className),t.className&&(c=(c?c+" ":"")+t.className),C.createElement("svg",ke({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,o,{className:c,style:Le(Le({color:t.color||r.color},r.style),t.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),d&&C.createElement("title",null,d),t.children)};return xt!==void 0?C.createElement(xt.Consumer,null,r=>a(r)):a(ft)}function Ja(t){return A({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"},child:[]}]})(t)}function Xa(t){return A({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:"M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25ZM6.75 12h.008v.008H6.75V12Zm0 3h.008v.008H6.75V15Zm0 3h.008v.008H6.75V18Z"},child:[]}]})(t)}function er(t){return A({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M133 440a35.37 35.37 0 0 1-17.5-4.67c-12-6.8-19.46-20-19.46-34.33V111c0-14.37 7.46-27.53 19.46-34.33a35.13 35.13 0 0 1 35.77.45l247.85 148.36a36 36 0 0 1 0 61l-247.89 148.4A35.5 35.5 0 0 1 133 440"},child:[]}]})(t)}function tr(t){return A({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(t)}function ar(t){return A({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48m75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256z"},child:[]}]})(t)}function rr(t){return A({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48m80 224h-64v64a16 16 0 0 1-32 0v-64h-64a16 16 0 0 1 0-32h64v-64a16 16 0 0 1 32 0v64h64a16 16 0 0 1 0 32"},child:[]}]})(t)}function sr({isOpen:t,onClose:a,closeButtonAriaLabel:r="Close",heading:n,items:i,totalLabel:d,totalAmount:o}){return t?e.jsxs("div",{className:"fixed inset-0 z-[1200] mx-auto flex w-full max-w-md items-end justify-center",children:[e.jsx("button",{type:"button","aria-label":r,onClick:a,className:"absolute inset-0 border-0 p-0",style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}}),e.jsxs("div",{className:"relative flex w-full flex-col items-center gap-3 overflow-hidden rounded-t-[20px] bg-white",children:[e.jsxs("div",{className:"flex w-full items-center justify-between border-b border-black/5 p-4",children:[e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-[#f6f5ff]",children:e.jsx(Xa,{className:"size-6 text-[#f18912]","aria-hidden":!0})}),e.jsx("p",{className:"min-w-0 flex-1 truncate text-base font-bold leading-[22px] text-gray-700",children:n})]}),e.jsx("button",{type:"button","aria-label":r,onClick:a,className:"flex size-5 shrink-0 items-center justify-center border-0 bg-transparent p-0",children:e.jsx(tr,{className:"size-5 text-[#1d2125]","aria-hidden":!0})})]}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-4 p-4",children:[i.map((l,c)=>e.jsxs("div",{className:"flex w-full items-start justify-between",children:[e.jsxs("div",{className:"flex w-45 flex-col items-start gap-1",children:[e.jsx("p",{className:"w-full text-sm font-medium leading-5 text-gray-700",children:l.name}),e.jsx("p",{className:"w-full text-xs font-normal leading-4 text-gray-500",children:l.subtitle})]}),e.jsxs("div",{className:"flex shrink-0 flex-col items-start justify-center gap-1.5 whitespace-nowrap",children:[l.quantityLabel&&e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-500",children:l.quantityLabel}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[l.originalLineTotal&&e.jsx("p",{className:"text-xs font-medium leading-4 text-[#d93640] line-through",children:l.originalLineTotal}),e.jsx("p",{className:"text-sm font-semibold leading-5 text-gray-700",children:l.lineTotal})]})]})]},`${l.name}-${c}`)),e.jsxs("div",{className:"flex w-full items-center justify-between border-t border-gray-200 pt-3",children:[e.jsx("p",{className:"text-base font-bold leading-[22px] text-[#22272b]",children:d}),e.jsx("p",{className:"text-xl font-bold leading-7 text-[#159169]",children:o})]})]})]})]}):null}const nr={primary:"border border-transparent pl-3 pr-4 text-white",secondary:"border border-[#159169] px-3 text-[#159169]",accent:"border border-transparent px-4 text-white"},ir={md:"h-10 gap-2 rounded-lg text-xs font-semibold leading-4",lg:"h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"},lr={primary:{backgroundImage:"linear-gradient(to bottom, #5eb98e, #159169)"},secondary:{backgroundImage:"linear-gradient(to bottom, #ffffff, #edf5f2)"},accent:{backgroundImage:"linear-gradient(to bottom, #f97e4e, #f75e22)"}};function gt({variant:t="primary",size:a="md",leftIcon:r,children:n,className:i="",style:d,type:o="button",...l}){return e.jsxs("button",{type:o,className:`inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${ir[a]} ${nr[t]} ${i}`,style:{...lr[t],...d},...l,children:[r,n]})}function or({className:t="size-5"}){return e.jsx("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M10 1.75C10.4142 1.75 10.75 2.08579 10.75 2.5V9.25H17.5C17.9142 9.25 18.25 9.58579 18.25 10C18.25 10.4142 17.9142 10.75 17.5 10.75H10.75V17.5C10.75 17.9142 10.4142 18.25 10 18.25C9.58579 18.25 9.25 17.9142 9.25 17.5V10.75H2.5C2.08579 10.75 1.75 10.4142 1.75 10C1.75 9.58579 2.08579 9.25 2.5 9.25H9.25V2.5C9.25 2.08579 9.58579 1.75 10 1.75Z",fill:"currentColor"})})}function cr({className:t="size-5"}){return e.jsx("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M16.1361 4.88627C16.4289 4.59345 16.9037 4.59355 17.1966 4.88627C17.4895 5.17916 17.4895 5.65394 17.1966 5.94682L8.03059 15.1138C7.89003 15.2544 7.6991 15.3334 7.50032 15.3335C7.30158 15.3335 7.11066 15.2542 6.97004 15.1138L2.80305 10.9468C2.51016 10.6539 2.51016 10.1792 2.80305 9.88627C3.09595 9.59339 3.57071 9.59338 3.8636 9.88627L7.49934 13.522L16.1361 4.88627Z",fill:"currentColor"})})}const bt="https://srm-cdn.a4b.io/yoda/1788257859347.webp",jt="https://srm-cdn.a4b.io/yoda/1788257796338.webp";function dr({isOpen:t,avatarUrl:a=jt,messagePrefix:r,highlightedNames:n,messageSuffix:i="",confirmLabel:d,cancelLabel:o,onConfirm:l,onCancel:c}){return t?e.jsxs("div",{className:"fixed inset-0 z-[60] mx-auto flex w-full max-w-md items-center justify-center px-8",children:[e.jsx("button",{type:"button","aria-label":o,onClick:c,className:"absolute inset-0 border-0 p-0",style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}}),e.jsxs("div",{className:"relative flex w-full flex-col items-center gap-4 rounded-[20px] border border-black/20 bg-white px-5 pb-5 pt-11 shadow-[0px_8px_12px_rgba(0,0,0,0.08)]",children:[e.jsxs("div",{className:"absolute top-[-31px] size-16 overflow-hidden rounded-full border-[3px] border-white",style:{left:"50%",transform:"translateX(-50%)",backgroundImage:"linear-gradient(to bottom, #f6f5ff, #cec7ff)"},children:[e.jsx("img",{src:bt,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"}),e.jsx("img",{src:a,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full object-cover"})]}),e.jsxs("p",{className:"w-full text-center text-base font-semibold leading-[22px] text-gray-700",children:[r,e.jsx("span",{className:"text-[#cf6c09]",children:n}),i]}),e.jsxs("div",{className:"flex w-full items-center gap-6",children:[e.jsx("button",{type:"button",onClick:l,className:"h-10 flex-1 rounded-lg border border-[#f75e22] bg-white text-sm font-bold leading-5 text-[#f75e22]",children:d}),e.jsx("button",{type:"button",onClick:c,className:"h-10 flex-1 rounded-lg border-0 text-sm font-bold leading-5 text-white",style:{backgroundImage:"linear-gradient(to bottom, #f97e4e, #f75e22)"},children:o})]})]})]}):null}function ur({isOpen:t,onClose:a,avatarUrl:r=jt,question:n,ancestors:i,onToggle:d,confirmLabel:o,onConfirmClick:l,addAgainLabel:c,removeLabel:j,removeWarningMessagePrefix:f,removeWarningMessageSuffix:p="?",removeWarningConfirmLabel:h,removeWarningCancelLabel:g}){const[b,y]=C.useState(null);if(!t)return null;const w=b!=null?i[b]:null;return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"fixed inset-0 z-50 mx-auto flex w-full max-w-md items-end justify-center",children:[e.jsx("button",{type:"button","aria-label":o,onClick:a,className:"absolute inset-0 border-0 p-0",style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}}),e.jsxs("div",{className:"relative flex w-full flex-col items-center gap-4 rounded-t-[20px] border border-black/20 bg-white px-5 pb-5 pt-11 shadow-[0px_8px_12px_rgba(0,0,0,0.08)]",children:[e.jsxs("div",{className:"absolute top-[-31px] size-16 overflow-hidden rounded-full border-[3px] border-white",style:{left:"50%",transform:"translateX(-50%)",backgroundImage:"linear-gradient(to bottom, #f6f5ff, #cec7ff)"},children:[e.jsx("img",{src:bt,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"}),e.jsx("img",{src:r,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full object-cover"})]}),e.jsx("p",{className:"w-full text-center text-base font-semibold leading-[22px] text-gray-700",children:n}),e.jsx("div",{className:"flex w-full flex-col items-start gap-3 rounded-lg bg-[#f7f8f9] px-2 py-4",children:i.map((_,v)=>e.jsxs("div",{className:"flex w-full items-center justify-between gap-3",children:[e.jsxs("p",{className:`min-w-0 flex-1 text-base font-semibold leading-[22px] ${_.isActive?"text-[#22272b]":"text-[#22272b]/50"}`,children:[_.name," ",e.jsx("span",{className:"text-xs font-medium leading-4 text-gray-500",children:_.tithi})]}),_.isActive?e.jsxs("button",{type:"button",onClick:()=>y(v),className:"flex shrink-0 items-center gap-1 border-0 bg-transparent p-0 text-xs font-semibold leading-4 text-gray-500 underline",children:[j,e.jsx(ar,{"aria-hidden":!0,className:"size-3 text-[#9CA3AF]"})]}):e.jsxs("button",{type:"button",onClick:()=>d(v),className:"flex shrink-0 items-center gap-1 border-0 bg-transparent p-0 text-xs font-semibold leading-4 text-[#159169] underline",children:[c,e.jsx(rr,{"aria-hidden":!0,className:"size-3 text-[#159169]"})]})]},_.id))}),e.jsx(gt,{variant:"accent",size:"lg",className:"w-full",onClick:l,children:o})]})]}),e.jsx(dr,{isOpen:w!=null,avatarUrl:r,messagePrefix:f,highlightedNames:w?`${w.name} ${w.tithi}`:"",messageSuffix:p,confirmLabel:h,cancelLabel:g,onConfirm:()=>{b!=null&&d(b),y(null)},onCancel:()=>y(null)})]})}function pr(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"},child:[]},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"},child:[]}]})(t)}function fr(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"},child:[]}]})(t)}function yt(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"},child:[]},{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]}]})(t)}function xr(t){return A({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:[]}]})(t)}function mr(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]}]})(t)}function de(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"12",y1:"16",x2:"12",y2:"12"},child:[]},{tag:"line",attr:{x1:"12",y1:"8",x2:"12.01",y2:"8"},child:[]}]})(t)}function vt(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"},child:[]}]})(t)}function hr(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"18 15 12 9 6 15"},child:[]}]})(t)}function gr(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 18 15 12 9 6"},child:[]}]})(t)}function je(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"6 9 12 15 18 9"},child:[]}]})(t)}function Ie(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"20 6 9 17 4 12"},child:[]}]})(t)}function br(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 11 12 14 22 4"},child:[]},{tag:"path",attr:{d:"M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"},child:[]}]})(t)}function Ct(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"},child:[]},{tag:"line",attr:{x1:"16",y1:"2",x2:"16",y2:"6"},child:[]},{tag:"line",attr:{x1:"8",y1:"2",x2:"8",y2:"6"},child:[]},{tag:"line",attr:{x1:"3",y1:"10",x2:"21",y2:"10"},child:[]}]})(t)}function pe(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]},{tag:"polyline",attr:{points:"12 5 19 12 12 19"},child:[]}]})(t)}function ze(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"19",y1:"12",x2:"5",y2:"12"},child:[]},{tag:"polyline",attr:{points:"12 19 5 12 12 5"},child:[]}]})(t)}function jr({totalPrice:t,ritualCountLabel:a,proceedLabel:r,onPriceInfoClick:n,onProceedClick:i,disabled:d}){const{t:o}=ce();return e.jsxs("div",{className:"sticky bottom-0 z-20 flex w-full items-start justify-center gap-3 px-4 pb-5 pt-4 drop-shadow-[0px_4px_10px_rgba(0,0,0,0.12)]",style:{backgroundImage:"linear-gradient(to bottom, #fff9e9, #fcccdf)"},children:[e.jsxs("div",{className:"flex shrink-0 flex-col items-center rounded-xl py-1 pr-1",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("p",{className:"whitespace-nowrap text-lg font-bold leading-6 text-[#141414]",children:t}),n&&e.jsx("button",{type:"button",className:"flex size-[18px] shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:n,"aria-label":o("outcomeStickyCtaPriceInfoAriaLabel"),children:e.jsx(de,{"aria-hidden":!0,className:"size-full text-[#E6327A]"})})]}),e.jsx("p",{className:"w-full truncate text-xs font-medium leading-4 text-gray-500",children:a})]}),e.jsxs("button",{type:"button",onClick:i,disabled:d,className:"flex h-14 flex-1 items-center justify-center gap-1 overflow-hidden rounded-xl py-4 pl-4 pr-3 text-sm font-bold leading-5 text-white disabled:cursor-not-allowed disabled:opacity-50",style:{backgroundImage:"linear-gradient(to bottom, #5eb98e, #087955)"},children:[r??o("outcomeStickyCtaProceedLabel"),e.jsx(pe,{"aria-hidden":!0,className:"size-[18px] text-white"})]})]})}const yr="https://srm-sbox-cdn.a4b.io/yoda/1788262425704.svg";function vr(){const{t}=ce();return e.jsxs("div",{className:"flex w-full flex-col items-center gap-3 rounded-[20px] border border-[#e5e3fd] bg-white p-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]",children:[e.jsx("img",{src:yr,alt:"","aria-hidden":!0,className:"size-6"}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-1",children:[e.jsx("p",{className:"w-full text-center text-sm font-bold leading-5 text-gray-700",children:t("outcomeEmptyRitualsTitle")}),e.jsx("p",{className:"w-full text-center text-xs font-normal leading-4 text-gray-500",children:t("outcomeEmptyRitualsSubtitle")})]})]})}const Cr="https://srm-sbox-cdn.a4b.io/yoda/1788261755933.webp",Nr="https://srm-sbox-cdn.a4b.io/yoda/1788261771996.webp",Nt="https://srm-sbox-cdn.a4b.io/yoda/1788261812755.svg",wr="linear-gradient(28.44deg, #fbe9f0 0.54%, #ffffff 18.28%, #ffffff 53.34%, #fcccdf 100%), linear-gradient(90deg, #fff9e9 0%, #fff9e9 100%)";function _r(){const{t}=ce();return e.jsxs("section",{className:"flex w-full flex-col gap-6 px-5 py-6",style:{backgroundImage:wr},children:[e.jsxs("div",{className:"flex w-full flex-col gap-4",children:[e.jsxs("div",{className:"relative h-39 w-full overflow-hidden rounded-xl",children:[e.jsx("img",{src:Cr,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full scale-110 object-cover opacity-80 blur-[1px]"}),e.jsx("div",{className:"absolute",style:{top:"29.79%",right:"0.12%",bottom:0,left:"34.65%"},children:e.jsx("img",{src:Nr,alt:"","aria-hidden":!0,className:"size-full object-contain object-bottom"})})]}),e.jsxs("div",{className:"flex w-full flex-col gap-3",children:[e.jsx("p",{className:"text-xl font-bold leading-7 text-[#200c14]",children:t("landingOnlinePujaTitle")}),e.jsxs("p",{className:"text-sm leading-5 text-gray-500",children:[t("landingOnlinePujaBodyPrefix"),e.jsx("span",{className:"font-bold",children:t("landingOnlinePujaBodyPart1")}),t("landingOnlinePujaBodyPart2"),e.jsx("span",{className:"font-bold",children:t("landingOnlinePujaBodyPart3")}),t("landingOnlinePujaBodyPart4")]})]})]}),e.jsxs("div",{className:"relative flex w-full flex-col items-center gap-2 rounded-xl border border-[#fccf9a] bg-[#feefe9] p-6",children:[e.jsx("img",{src:Nt,alt:"","aria-hidden":!0,className:"absolute left-2.25 top-2.75 h-4.4 w-6.5"}),e.jsx("p",{className:"text-center text-base font-semibold italic leading-[22px] text-[#ad540a]",children:t("landingOnlinePujaQuote")}),e.jsx("img",{src:Nt,alt:"","aria-hidden":!0,className:"absolute bottom-2.75 right-2.25 h-4.4 w-6.5",style:{transform:"rotate(180deg)"}})]})]})}const wt="https://srm-cdn.a4b.io/yoda/1788322995409.svg",_t="https://srm-cdn.a4b.io/yoda/1788323009444.svg",kr="https://srm-cdn.a4b.io/yoda/1788323271172.webp",Lr="https://srm-cdn.a4b.io/yoda/1788323285271.webp",Sr="https://srm-cdn.a4b.io/yoda/1788323296256.webp",Ar="https://srm-cdn.a4b.io/yoda/1788323390415.svg",Pr="https://srm-cdn.a4b.io/yoda/1788323405680.svg",Tr="https://srm-cdn.a4b.io/yoda/1788323418513.svg",Or={top:"1.21%",right:"10.27%",bottom:"20.26%",left:"11.2%"},Er={top:"7.23%",right:"15.96%",bottom:"26.27%",left:"17.52%"},kt=[{key:"guarantee",ribbon:Tr,icon:kr,labelKey:"whySriMandirGuaranteeLabel"},{key:"temples",ribbon:Pr,icon:Sr,labelKey:"whySriMandirTemplesLabel"},{key:"support",ribbon:Ar,icon:Lr,labelKey:"whySriMandirSupportLabel"}];function Mr(){const{t}=ce();return e.jsxs("section",{className:"flex w-full flex-col items-center justify-center gap-5 px-4 py-8",children:[e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsxs("div",{className:"flex flex-1 items-center gap-1",children:[e.jsx("img",{src:wt,alt:"","aria-hidden":!0,className:"h-px flex-1",style:{transform:"scaleX(-1)"}}),e.jsx("img",{src:_t,alt:"","aria-hidden":!0,className:"size-2 shrink-0"})]}),e.jsx("p",{className:"shrink-0 text-sm font-bold leading-5 text-[#22272b]",children:t("whySriMandirHeading")}),e.jsxs("div",{className:"flex flex-1 items-center gap-1",children:[e.jsx("img",{src:_t,alt:"","aria-hidden":!0,className:"size-2 shrink-0"}),e.jsx("img",{src:wt,alt:"","aria-hidden":!0,className:"h-px flex-1"})]})]}),e.jsx("div",{className:"w-full overflow-hidden",children:e.jsx("div",{className:"flex w-max items-start gap-5 animate-[outcome-why-sri-mandir-marquee_14s_linear_infinite] motion-reduce:animate-none",children:[...kt,...kt].map((a,r)=>e.jsxs("div",{className:"flex w-23.5 shrink-0 flex-col items-center gap-2",children:[e.jsxs("div",{className:"relative size-16 shrink-0",children:[e.jsx("img",{src:a.ribbon,alt:"","aria-hidden":!0,className:"absolute",style:Or}),e.jsx("div",{className:"absolute overflow-hidden rounded-full border-[1.33px] border-white",style:Er,children:e.jsx("img",{src:a.icon,alt:"","aria-hidden":!0,className:"size-full object-cover"})})]}),e.jsx("p",{className:"w-full text-center text-[10px] font-medium leading-[14px] text-gray-700",children:t(a.labelKey)})]},`${a.key}-${r}`))})})]})}const Lt="https://srm-sbox-cdn.a4b.io/yoda/1788262151570.svg",St="https://srm-sbox-cdn.a4b.io/yoda/1788261913205.svg",Rr=[{key:"nameGotra",image:"https://srm-sbox-cdn.a4b.io/yoda/1788262091738.webp",titleKey:"processNameGotraTitle",descriptionKey:"processNameGotraDescription"},{key:"liveUpdates",image:"https://srm-sbox-cdn.a4b.io/yoda/1788262066955.webp",titleKey:"processLiveUpdatesTitle",descriptionKey:"processLiveUpdatesDescription"},{key:"mantras",image:"https://srm-sbox-cdn.a4b.io/yoda/1788262081237.webp",titleKey:"processMantrasTitle",descriptionKey:"processMantrasDescription"},{key:"video",image:"https://srm-sbox-cdn.a4b.io/yoda/1788262102550.webp",titleKey:"processVideoTitle",descriptionKey:"processVideoDescription",isVideo:!0}];function Br(){const{t}=ce();return e.jsxs("section",{className:"flex w-full flex-col items-center gap-4 py-4",children:[e.jsxs("div",{className:"flex w-full items-center gap-2 px-4",children:[e.jsxs("div",{className:"flex flex-1 items-center gap-1",children:[e.jsx("img",{src:Lt,alt:"","aria-hidden":!0,className:"h-px flex-1",style:{transform:"scaleX(-1)"}}),e.jsx("img",{src:St,alt:"","aria-hidden":!0,className:"size-2 shrink-0"})]}),e.jsx("p",{className:"shrink-0 text-sm font-bold leading-5 text-[#22272b]",children:t("processInvolvedHeading")}),e.jsxs("div",{className:"flex flex-1 items-center gap-1",children:[e.jsx("img",{src:St,alt:"","aria-hidden":!0,className:"size-2 shrink-0"}),e.jsx("img",{src:Lt,alt:"","aria-hidden":!0,className:"h-px flex-1"})]})]}),e.jsx("div",{className:"flex w-full flex-col items-start gap-4 px-4",children:Rr.map(a=>e.jsxs("div",{className:"flex h-24 w-full items-center overflow-hidden rounded-xl border border-gray-100",children:[e.jsxs("div",{className:"relative h-full w-22 shrink-0",children:[e.jsx("img",{src:a.image,alt:"","aria-hidden":!0,className:"size-full object-cover"}),a.isVideo&&e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx("div",{className:"flex size-8 items-center justify-center rounded-full bg-black/40",children:e.jsx(er,{"aria-hidden":!0,className:"size-4 text-[#F9FAFB]"})})})]}),e.jsxs("div",{className:"flex h-full min-w-0 flex-1 flex-col justify-center gap-2 bg-gray-50 px-3 py-2",children:[e.jsx("p",{className:"text-sm font-bold leading-5 text-gray-700",children:t(a.titleKey)}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-500",children:t(a.descriptionKey)})]})]},a.key))})]})}const Fr="https://srm-cdn.a4b.io/yoda/1788253585577.svg",Dr="https://srm-cdn.a4b.io/yoda/1788323562516.svg";function Ir({images:t,useCase:a,title:r,specificity:n,dateLabel:i,locationLabel:d}){const[o,l]=C.useState(0),c=C.useRef(null),j=()=>{const f=c.current;if(!f||f.children.length===0)return;const p=f.children[0].offsetWidth+16;l(Math.round(f.scrollLeft/p))};return e.jsxs("div",{className:"flex w-full flex-col items-start gap-3 border-b border-gray-100 p-4",children:[e.jsx("div",{ref:c,onScroll:j,className:`flex w-full snap-x snap-mandatory gap-4 overflow-x-auto ${t.length===1?"justify-center":""}`,children:t.map((f,p)=>e.jsx("img",{src:f,alt:"","aria-hidden":p!==0,className:"h-49.5 w-78 shrink-0 snap-center rounded-2xl object-cover"},`${f}-${p}`))}),t.length>1&&e.jsx("div",{className:"flex w-full items-center justify-center gap-1.5",children:t.map((f,p)=>e.jsx("span",{className:`size-1.5 rounded-full ${p===o?"bg-[#e6327a]":"bg-gray-200"}`},`${f}-${p}`))}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-3",children:[a&&e.jsx("p",{className:"w-full text-xs font-semibold uppercase leading-4 text-[#e6327a]",children:a}),e.jsx("p",{className:"w-full text-xl font-bold leading-7 text-[#361407]",children:r}),n&&e.jsx("p",{className:"w-full text-sm font-medium leading-5 text-gray-500",children:n}),e.jsx("img",{src:Dr,alt:"","aria-hidden":!0,className:"h-px w-full"}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-2",children:[e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx(Ct,{"aria-hidden":!0,className:"size-3.5 shrink-0 text-gray-700"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:i})]}),e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx("img",{src:Fr,alt:"","aria-hidden":!0,className:"size-3.5 shrink-0"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:d})]})]})]})]})}const zr="https://srm-cdn.a4b.io/yoda/1788323512851.webp";function Gr({heading:t,benefits:a}){return e.jsxs("section",{className:"flex w-full flex-col items-start gap-5 p-4",children:[e.jsx("p",{className:"text-lg font-bold leading-6 text-[#22272b]",children:t}),e.jsx("div",{className:"flex w-full flex-col gap-5",children:a.map((r,n)=>e.jsxs("div",{className:"flex w-full items-start gap-3",children:[e.jsx("img",{src:r.icon??zr,alt:"","aria-hidden":!0,className:"size-12 shrink-0 rounded-md object-cover"}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-3",children:[e.jsx("p",{className:"w-full text-base font-semibold leading-[22px] text-[#242424]",children:r.title}),e.jsx("p",{className:"w-full text-sm font-normal leading-5 text-gray-500",children:r.description})]})]},`${r.title}-${n}`))})]})}function Ur(t){return A({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"},child:[]}]})(t)}function At(t){return A({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"},child:[]}]})(t)}const Hr=168;function $r({question:t,imageUrl:a,imageAlt:r="",paragraphs:n}){const{t:i}=ce(),[d,o]=C.useState(!1);return e.jsxs("section",{className:"flex w-full flex-col items-start bg-white px-4 py-4",children:[e.jsx("p",{className:"w-full text-lg font-bold leading-6 text-[#242424]",children:t}),e.jsxs("div",{className:"flex w-full flex-col items-start pt-4",children:[a&&e.jsx("img",{src:a,alt:r,className:"h-61.25 w-full rounded-xl object-cover"}),e.jsxs("div",{className:"flex w-full flex-col items-start pt-3",children:[e.jsx("div",{className:"flex w-full flex-col gap-4 overflow-hidden text-justify text-sm font-normal leading-5 text-gray-500",style:d?void 0:{maxHeight:Hr},children:n.map((l,c)=>e.jsx("p",{className:"w-full",children:l},`${l}-${c}`))}),e.jsxs("button",{type:"button",onClick:()=>o(l=>!l),className:"flex items-center gap-1 border-0 bg-transparent pt-2",children:[e.jsx("span",{className:"text-sm font-bold leading-[21px] text-[#f18912]",children:i(d?"templeSignificanceReadLessLabel":"templeSignificanceReadMoreLabel")}),e.jsx(At,{"aria-hidden":!0,className:`size-3 text-[#f18912] ${d?"rotate-180":""}`})]})]})]})]})}function Vr(t){return A({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z"},child:[]}]})(t)}function Wr(t){return A({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zM461.64 256l45.64-45.64c6.3-6.3 6.3-16.52 0-22.82l-22.82-22.82c-6.3-6.3-16.52-6.3-22.82 0L416 210.36l-45.64-45.64c-6.3-6.3-16.52-6.3-22.82 0l-22.82 22.82c-6.3 6.3-6.3 16.52 0 22.82L370.36 256l-45.63 45.63c-6.3 6.3-6.3 16.52 0 22.82l22.82 22.82c6.3 6.3 16.52 6.3 22.82 0L416 301.64l45.64 45.64c6.3 6.3 16.52 6.3 22.82 0l22.82-22.82c6.3-6.3 6.3-16.52 0-22.82L461.64 256z"},child:[]}]})(t)}function Kr(t){return A({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"},child:[]}]})(t)}function Zr(t){return A({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"},child:[]}]})(t)}function Ge(t){return A({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"},child:[]}]})(t)}function Pt(t){return A({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"},child:[]}]})(t)}function qr(t){return A({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"},child:[]}]})(t)}function Yr(t){return A({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M399 384.2C376.9 345.8 335.4 320 288 320l-64 0c-47.4 0-88.9 25.8-111 64.2c35.2 39.2 86.2 63.8 143 63.8s107.8-24.7 143-63.8zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm256 16a72 72 0 1 0 0-144 72 72 0 1 0 0 144z"},child:[]}]})(t)}const Tt=3;function Qr({heading:t,subtitle:a,reviews:r,reviewMedia:n,seeMoreLabel:i,onSeeMoreClick:d}){const[o,l]=C.useState(!1),c=o?r:r.slice(0,Tt),[j,f]=C.useState(0),p=C.useRef(null),h=()=>{const g=p.current;if(!g||g.children.length===0)return;const b=g.children[0].offsetWidth+12;f(Math.round(g.scrollLeft/b))};return e.jsxs("section",{className:"flex w-full flex-col items-start bg-white pb-6 pt-7",children:[e.jsxs("div",{className:"flex w-full flex-col items-start gap-1 px-4 py-2",children:[e.jsx("p",{className:"text-lg font-bold leading-6 text-gray-900",children:t}),e.jsx("p",{className:"w-full text-base font-normal leading-[22px] text-black",children:a})]}),n!=null&&n.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:p,onScroll:h,className:`flex w-full snap-x snap-mandatory gap-3 overflow-x-auto px-4 pt-4 ${n.length===1?"justify-center":""}`,children:n.map((g,b)=>e.jsxs("div",{className:"flex w-60 shrink-0 snap-start flex-col gap-3",children:[e.jsx("div",{className:"h-40 w-full overflow-hidden rounded-xl",children:g.videoUrl?e.jsx("video",{src:g.videoUrl,poster:g.thumbnailUrl,controls:!0,className:"size-full object-cover"}):e.jsx("img",{src:g.imageUrl,alt:"","aria-hidden":!0,className:"size-full object-cover"})}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("img",{src:g.avatarUrl,alt:"","aria-hidden":!0,className:"size-10 shrink-0 rounded-full object-cover"}),e.jsxs("div",{className:"flex min-w-0 flex-col",children:[e.jsx("p",{className:"truncate text-sm font-bold leading-5 text-black",children:g.name}),e.jsx("p",{className:"truncate text-xs font-medium leading-4 text-gray-500",children:g.location})]})]})]},`${g.name}-${b}`))}),n.length>1&&e.jsx("div",{className:"flex w-full items-center justify-center gap-1.5 pt-3",children:n.map((g,b)=>e.jsx("span",{className:`size-2 rounded ${b===j?"bg-[#f18912]":"bg-gray-300"}`},`${g.name}-${b}`))})]}),e.jsx("div",{className:"flex w-full flex-col items-start pt-5",children:c.map((g,b)=>e.jsxs("div",{className:"flex w-full flex-col items-start",children:[e.jsxs("div",{className:"flex w-full items-center gap-2 px-4 pt-4",children:[g.avatarUrl?e.jsx("img",{src:g.avatarUrl,alt:"","aria-hidden":!0,className:"size-11 shrink-0 rounded-full object-cover"}):e.jsx(Yr,{"aria-hidden":!0,className:"size-11 shrink-0 text-gray-300"}),e.jsxs("div",{className:"flex min-w-0 flex-col",children:[e.jsx("p",{className:"truncate text-base font-semibold leading-[22px] text-[#111928]",children:g.name}),e.jsx("p",{className:"truncate text-sm font-medium leading-5 text-gray-500",children:g.date})]})]}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-2 px-4 pt-3",children:[e.jsx("div",{className:"flex items-center gap-2",children:Array.from({length:g.stars}).map((y,w)=>e.jsx(Ge,{"aria-hidden":!0,className:"size-5 text-[#F06A16]"},w))}),e.jsx("p",{className:"w-full text-sm font-normal leading-5 text-gray-500",children:g.text})]}),b<c.length-1&&e.jsx("hr",{className:"mt-6 w-full border-t border-gray-200"})]},`${g.name}-${g.date}-${b}`))}),!o&&r.length>Tt&&i&&e.jsx("div",{className:"flex w-full flex-col items-center px-4 pt-5",children:e.jsx("button",{type:"button",onClick:()=>{l(!0),d?.()},className:"flex h-10 w-full items-center justify-center rounded-lg border border-[#e6e4eb] bg-white text-base font-medium leading-[22px] text-[#1573df]",children:i})})]})}const Jr=[{variant:"pandits",textKey:"outcomeTrustPanditsText"},{variant:"gotra",textKey:"outcomeTrustGotraText"},{variant:"video",textKey:"outcomeTrustVideoText"}];function Xr(t){return A({attr:{version:"1.1",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M16 8c-0.020-1.045-0.247-2.086-0.665-3.038-0.417-0.953-1.023-1.817-1.766-2.53s-1.624-1.278-2.578-1.651c-0.953-0.374-1.978-0.552-2.991-0.531-1.013 0.020-2.021 0.24-2.943 0.646-0.923 0.405-1.758 0.992-2.449 1.712s-1.237 1.574-1.597 2.497c-0.361 0.923-0.533 1.914-0.512 2.895 0.020 0.981 0.234 1.955 0.627 2.847 0.392 0.892 0.961 1.7 1.658 2.368s1.523 1.195 2.416 1.543c0.892 0.348 1.851 0.514 2.799 0.493 0.949-0.020 1.89-0.227 2.751-0.608 0.862-0.379 1.642-0.929 2.287-1.604s1.154-1.472 1.488-2.335c0.204-0.523 0.342-1.069 0.415-1.622 0.019 0.001 0.039 0.002 0.059 0.002 0.552 0 1-0.448 1-1 0-0.028-0.001-0.056-0.004-0.083h0.004zM14.411 10.655c-0.367 0.831-0.898 1.584-1.55 2.206s-1.422 1.112-2.254 1.434c-0.832 0.323-1.723 0.476-2.608 0.454-0.884-0.020-1.759-0.215-2.56-0.57-0.801-0.354-1.526-0.867-2.125-1.495s-1.071-1.371-1.38-2.173c-0.31-0.801-0.457-1.66-0.435-2.512s0.208-1.694 0.551-2.464c0.342-0.77 0.836-1.468 1.441-2.044s1.321-1.029 2.092-1.326c0.771-0.298 1.596-0.438 2.416-0.416s1.629 0.202 2.368 0.532c0.74 0.329 1.41 0.805 1.963 1.387s0.988 1.27 1.272 2.011c0.285 0.74 0.418 1.532 0.397 2.32h0.004c-0.002 0.027-0.004 0.055-0.004 0.083 0 0.516 0.39 0.94 0.892 0.994-0.097 0.544-0.258 1.075-0.481 1.578z"},child:[]}]})(t)}const Ot=Ba.cva("group appearance-none inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-semibold transition-colors disabled:pointer-events-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2",{variants:{variant:{primary:"border-0 bg-gradient-to-b from-[#f97e4e] to-[#f75e22] text-white hover:opacity-90 disabled:bg-none disabled:bg-[#9ca3af]",secondary:"border border-[#f75e22] bg-white text-[#f75e22] hover:bg-orange-50 disabled:opacity-50",outline:"border border-gray-300 bg-transparent text-gray-900 hover:bg-gray-50 disabled:opacity-50",ghost:"border-0 bg-transparent text-gray-900 hover:bg-gray-100 disabled:opacity-50"},size:{xs:"h-6 px-2 text-xs",sm:"h-8 px-3 text-sm",md:"h-10 px-4 text-sm",lg:"h-12 px-5 text-base",xl:"h-14 px-6 text-base"},iconOnly:{true:"rounded-full p-0",false:""}},compoundVariants:[{iconOnly:!0,size:"xs",className:"w-6"},{iconOnly:!0,size:"sm",className:"w-8"},{iconOnly:!0,size:"md",className:"w-10"},{iconOnly:!0,size:"lg",className:"w-12"},{iconOnly:!0,size:"xl",className:"w-14"}],defaultVariants:{variant:"primary",size:"lg",iconOnly:!1}}),I=Ia.forwardRef(({className:t,variant:a,size:r,iconOnly:n,loading:i=!1,disabled:d,leftIcon:o,rightIcon:l,children:c,type:j="button",...f},p)=>{const h=(a??"primary")==="primary";return e.jsx("button",{ref:p,type:j,disabled:d||i,className:u.cn(Ot({variant:a,size:r,iconOnly:n}),t),...f,children:i?e.jsx(Xr,{className:"animate-spin","aria-hidden":!0}):e.jsxs("span",{className:u.cn("inline-flex items-center gap-2",h&&"group-disabled:opacity-50"),children:[o,c,l]})})});I.displayName="Button";function ye(t){return t.isOpen?e.jsx("div",{className:"fixed inset-0 z-[1100] mx-auto w-full max-w-md",style:{transform:"translateZ(0)"},children:e.jsx(u.BottomSheet,{...t})}):null}const es=({quote:t,authorName:a,authorAvatarUrl:r,meta:n,rating:i=5,className:d="",...o})=>e.jsxs("div",{className:u.cn("flex flex-col gap-3 rounded-lg bg-[#fef5e9] px-4 py-3.75",d),...o,children:[e.jsx("p",{className:"w-full wrap-break-word text-xs font-normal text-[#1d2125]",children:t}),e.jsxs("div",{className:"flex w-full items-start gap-x-2.5",children:[r?e.jsx("img",{src:r,alt:"",className:"size-8 shrink-0 rounded-full object-cover"}):e.jsx("div",{className:"size-8 shrink-0 rounded-full",style:{background:"linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%)"},"aria-hidden":!0}),e.jsxs("div",{className:"flex flex-col min-w-0 flex-1 gap-0.5",children:[e.jsxs("div",{className:"flex items-center gap-1.75",children:[e.jsx("span",{className:"truncate text-sm font-bold text-[#1d2125]",children:a}),e.jsx("span",{className:"flex items-center gap-1 text-amber-500","aria-hidden":!0,children:Array.from({length:Math.max(0,Math.min(5,i))},(l,c)=>e.jsx(Ge,{size:14},c))})]}),e.jsx("p",{className:"text-xs font-medium text-gray-500",children:n})]})]})]}),Et=({title:t="अक्सर पूछे जाने वाले प्रश्न",items:a,initialVisibleCount:r=6,showCta:n=!0,defaultExpanded:i=!1,ctaExpandLabel:d="और देखें",ctaCollapseLabel:o="कम देखें",defaultOpenIndex:l=-1,className:c="",showTitleAccent:j=!1})=>{const[f,p]=C.useState(i),[h,g]=C.useState(l),b=n&&a.length>r,y=b&&!f?a.slice(0,r):a;return e.jsxs("div",{className:u.cn("flex flex-col items-center gap-5 bg-white px-4 py-6",c),children:[j?e.jsxs("h2",{className:"flex w-full items-center gap-2 text-lg font-bold text-[#1d2125]",children:[e.jsx("span",{"aria-hidden":!0,className:"block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]"}),t]}):e.jsx("h2",{className:"px-4 text-center text-base font-bold text-[#1d2125]",children:t}),e.jsx("div",{className:"flex w-full flex-col gap-3",children:y.map((w,_)=>{const v=h===_;return e.jsxs("div",{className:"w-full overflow-hidden rounded-lg border border-[#f3f4f6]",children:[e.jsxs("button",{type:"button",className:u.cn("flex w-full items-center justify-between gap-2 p-3 text-left",v?"bg-[#f7f8f9]":"bg-white"),onClick:()=>g(v?-1:_),"aria-expanded":v,"aria-controls":`faq-answer-${_}`,id:`faq-question-${_}`,children:[e.jsx("span",{className:"flex-1 text-sm font-medium text-[#22272b]",children:w.question}),e.jsx(je,{size:24,className:u.cn("shrink-0 transition-transform duration-200",v?"rotate-180":""),"aria-hidden":!0})]}),e.jsx("div",{id:`faq-answer-${_}`,role:"region","aria-labelledby":`faq-question-${_}`,hidden:!v,className:"bg-white p-3",children:e.jsx("p",{className:"text-sm text-[#374151]",children:w.answer})})]},_)})}),b&&e.jsx(I,{variant:"secondary",size:"lg",className:"w-full",onClick:()=>p(w=>!w),"aria-expanded":f,rightIcon:e.jsx(je,{size:24,className:u.cn("shrink-0 transition-transform duration-200",f?"rotate-180":""),"aria-hidden":!0}),children:f?o:d})]})},ts=({title:t="Frequently Asked Questions",showTitleAccent:a=!0,items:r,initialVisibleCount:n=6,showCta:i=!0,defaultExpanded:d=!1,ctaExpandLabel:o="See more",ctaCollapseLabel:l="See less",defaultOpenIndex:c=-1,className:j=""})=>{const[f,p]=C.useState(d),[h,g]=C.useState(c),b=i&&r.length>n,y=b&&!f?r.slice(0,n):r;return e.jsxs("div",{className:u.cn("flex flex-col gap-3 bg-white px-4 py-6",j),children:[e.jsxs("h2",{className:"flex items-center gap-2 text-sm font-bold text-[#374151]",children:[a&&e.jsx("span",{"aria-hidden":!0,className:"block h-[18px] w-[3px] shrink-0 bg-[#f75e22]"}),t]}),e.jsx("div",{className:"flex w-full flex-col",children:y.map((w,_)=>{const v=h===_,P=v?hr:je;return e.jsxs("div",{className:"w-full border-b border-[#f3f4f6] py-3 last:border-b-0",children:[e.jsxs("button",{type:"button",className:"flex w-full items-center justify-between gap-2 text-left",onClick:()=>g(v?-1:_),"aria-expanded":v,"aria-controls":`faq-accordion-answer-${_}`,id:`faq-accordion-question-${_}`,children:[e.jsx("span",{className:"flex-1 text-sm font-semibold text-[#22272b]",children:w.question}),e.jsx(P,{size:24,className:"shrink-0 text-[#f75e22]","aria-hidden":!0})]}),e.jsx("div",{id:`faq-accordion-answer-${_}`,role:"region","aria-labelledby":`faq-accordion-question-${_}`,hidden:!v,children:e.jsx("p",{className:"mt-2 text-xs text-[#374151]",children:w.answer})})]},_)})}),b&&e.jsx(I,{variant:"secondary",size:"lg",className:"w-full",onClick:()=>p(w=>!w),"aria-expanded":f,rightIcon:e.jsx(je,{size:24,className:u.cn("shrink-0 transition-transform duration-200",f?"rotate-180":""),"aria-hidden":!0}),children:f?l:o})]})},Mt=C.forwardRef(({src:t,poster:a,className:r="",rounded:n=!0,width:i,height:d},o)=>{const[l,c]=C.useState(!1),[j,f]=C.useState(!0),[p,h]=C.useState(!1),[g,b]=C.useState(0),[y,w]=C.useState(0),_=C.useRef(null),v=i!==void 0||d!==void 0,P=u.cn("block w-full",v&&"h-full object-cover"),B=M=>{const L=Number(M.target.value);b(L),_.current&&(_.current.currentTime=L)};return e.jsx("div",{ref:o,style:{width:i,height:d},className:u.cn("relative w-full overflow-hidden",n&&"rounded-2xl",r),children:l?e.jsxs(e.Fragment,{children:[e.jsx(Fa,{ref:_,src:t,poster:a,playing:j,muted:p,width:i,height:d,className:P,onTimeUpdate:M=>b(M.currentTarget.currentTime),onDurationChange:M=>w(M.currentTarget.duration),onEnded:()=>f(!1)}),e.jsx(I,{variant:"ghost",iconOnly:!0,size:"lg","aria-label":j?"Pause":"Play",className:"absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",onClick:()=>f(M=>!M),children:j?e.jsx(qr,{size:16}):e.jsx(Pt,{size:16,className:"translate-x-0.5"})}),e.jsx(I,{variant:"ghost",iconOnly:!0,size:"sm","aria-label":p?"Unmute":"Mute",className:"absolute left-2 top-2 text-white hover:bg-white/10",onClick:()=>h(M=>!M),children:p?e.jsx(Wr,{size:14}):e.jsx(Vr,{size:14})}),e.jsx("input",{type:"range",min:0,max:y||0,step:.1,value:g,onChange:B,"aria-label":"Seek",className:"absolute bottom-4 left-5 right-5 h-1 accent-white"})]}):e.jsxs(e.Fragment,{children:[e.jsx("img",{src:a,alt:"",className:P}),e.jsx("div",{className:"absolute inset-0 bg-linear-to-b from-black/0 to-black/60"}),e.jsx(I,{variant:"ghost",iconOnly:!0,size:"lg","aria-label":"Play video",className:"absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",onClick:()=>c(!0),children:e.jsx(Pt,{size:16,className:"translate-x-0.5"})})]})})});Mt.displayName="VideoPlayer";const as=()=>e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163707447.svg",alt:"",width:24,height:24}),Ue=C.forwardRef(({options:t,value:a,onChange:r,defaultOpen:n=!1,open:i,onOpenChange:d,className:o="",triggerClassName:l="",menuClassName:c="",...j},f)=>{const[p,h]=C.useState(n),g=i!==void 0,b=g?i:p,y=C.useCallback(v=>{g||h(v),d?.(v)},[g,d]),w=C.useRef(null);C.useImperativeHandle(f,()=>w.current),C.useEffect(()=>{if(!b)return;const v=B=>{w.current?.contains(B.target)||y(!1)},P=B=>{B.key==="Escape"&&y(!1)};return document.addEventListener("mousedown",v),document.addEventListener("keydown",P),()=>{document.removeEventListener("mousedown",v),document.removeEventListener("keydown",P)}},[b,y]);const _=v=>{r?.(v.value),y(!1)};return e.jsxs("div",{ref:w,className:u.cn("relative inline-block",o),...j,children:[e.jsxs("button",{type:"button",onClick:()=>y(!b),"aria-label":"Switch language","aria-haspopup":"listbox","aria-expanded":b,className:u.cn("inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",l),children:[e.jsx(as,{}),e.jsx(je,{size:24,className:u.cn("transition-transform duration-200",b?"rotate-180":""),"aria-hidden":!0})]}),b&&e.jsx("ul",{role:"listbox",className:u.cn("absolute left-0 top-full z-10 mt-2 min-w-35 overflow-hidden rounded-lg border border-gray-200 bg-white py-1 shadow-lg",c),children:t.map(v=>{const P=v.value===a;return e.jsx("li",{role:"option","aria-selected":P,children:e.jsx("button",{type:"button",onClick:()=>_(v),className:u.cn("block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",P?"font-medium text-[#f75e22]":"text-[#1d2125]"),children:v.label})},v.value)})})]})});Ue.displayName="LanguageSwitcher";function rs({onBackClick:t,backButtonAriaLabel:a="Go back",locale:r,localeOptions:n,onLocaleChange:i,className:d}){return e.jsxs("div",{className:u.cn("mx-auto flex w-full max-w-md items-center justify-between px-4 py-3",d),children:[e.jsx("button",{type:"button",onClick:t,"aria-label":a,className:"flex size-8 shrink-0 items-center justify-center rounded-lg border-0 bg-transparent p-0 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.1)]",children:e.jsx(ze,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx(Ue,{options:n,value:r,onChange:i,menuClassName:"left-auto right-0"})]})}const Rt=C.forwardRef(({label:t,selected:a=!1,onClick:r,icon:n,className:i,type:d="button",...o},l)=>e.jsxs("button",{ref:l,type:d,onClick:r,"aria-pressed":a,className:u.cn("inline-flex shrink-0 items-center justify-center gap-1 rounded-full border text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",a?"border-[#f38415] bg-[#f38415] px-4 py-1.5 text-white":"border-[#fccf9a] bg-[#ffffff66] px-3 py-1.5 text-[#374151] hover:bg-white/70",i),...o,children:[n,t]}));Rt.displayName="Chip";const ss=({quote:t,currentStep:a,totalSteps:r,className:n,...i})=>{const d=r>0?Math.min(100,Math.max(0,a/r*100)):0;return e.jsxs("div",{className:u.cn("step-progress-header",n),...i,children:[e.jsxs("div",{className:"step-progress-header__column",children:[e.jsx("p",{className:"step-progress-header__quote",children:t}),e.jsxs("div",{className:"step-progress-header__track",children:[e.jsx("div",{className:"step-progress-header__track-fill",style:{width:`${d}%`}}),e.jsx("div",{className:"step-progress-header__track-marker",style:{left:`${d}%`},children:e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163246556.svg",alt:"",width:21,height:21})})]})]}),e.jsxs("p",{className:"step-progress-header__count",children:[a,"/",r]})]})};function ns(t){return A({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11.553 3.064A.75.75 0 0 1 12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805a.752.752 0 0 1 .808-.13ZM10.5 5.445l-4.245 3.86a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86Zm8.218-1.223a.75.75 0 0 1 1.06 0c4.296 4.296 4.296 11.26 0 15.556a.75.75 0 0 1-1.06-1.06 9.5 9.5 0 0 0 0-13.436.75.75 0 0 1 0-1.06Z"},child:[]},{tag:"path",attr:{d:"M16.243 7.757a.75.75 0 1 0-1.061 1.061 4.5 4.5 0 0 1 0 6.364.75.75 0 0 0 1.06 1.06 6 6 0 0 0 0-8.485Z"},child:[]}]})(t)}function is(t){return A({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805A.75.75 0 0 1 12 3.75ZM6.255 9.305a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86V5.445ZM16.28 8.22a.75.75 0 1 0-1.06 1.06L17.94 12l-2.72 2.72a.75.75 0 1 0 1.06 1.06L19 13.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L20.06 12l2.72-2.72a.75.75 0 0 0-1.06-1.06L19 10.94l-2.72-2.72Z"},child:[]}]})(t)}const Bt=1.25,Ft=[{x:11.02,y:6.38,height:5.28},{x:16.3,y:6.38,height:5.28},{x:8.36,y:3.8,height:10.44},{x:13.68,y:4.8,height:8.4},{x:5.73,y:2.84,height:12.32},{x:3.07,y:6,height:6.03},{x:.45,y:7.29,height:3.37}],ls=({animate:t,iconIndex:a})=>e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",children:Ft.map((r,n)=>e.jsx("rect",{x:r.x,y:r.y,width:Bt,height:r.height,rx:Bt/2,fill:"#6B7280",className:t?"wave-bar-anim":"",style:{animationDelay:`${(a*Ft.length+n)*60}ms`}},n))}),os=({avatarUrl:t,question:a,description:r,audioSrc:n,className:i,...d})=>{const o=C.useRef(null),l=C.useRef(!1),[c,j]=C.useState(!1),[f,p]=C.useState(!1);C.useEffect(()=>{!n||l.current||(l.current=!0,o.current?.play().catch(()=>{}))},[n]);const h=()=>{const g=o.current;g&&(g.muted=!g.muted,j(g.muted))};return e.jsxs("div",{className:u.cn("flex w-full items-start gap-3 px-4 pb-6",i),...d,children:[e.jsxs("div",{className:"relative size-16 shrink-0 overflow-hidden rounded-[12.8px] bg-linear-to-b from-[#fef5e9] to-[#fccf9a]",children:[e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163138113.svg",alt:"",className:"absolute"}),e.jsx("img",{src:t,alt:"",className:"absolute top-1 size-[73.92px] object-contain"})]}),e.jsxs("div",{className:"flex min-w-0 flex-1 items-start",children:[e.jsx("svg",{viewBox:"0 0 18.7767 32.5742",fill:"none","aria-hidden":!0,className:"h-[32.574px] w-[18.777px] shrink-0 -mr-2",children:e.jsx("path",{d:"M0 16.2871L14.0826 7.37821L14.0826 25.196L0 16.2871Z",fill:"white"})}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-2 rounded-2xl bg-white p-4 drop-shadow-[-2px_2px_5px_rgba(252,207,154,0.3)]",children:[e.jsx("p",{className:"text-base",children:a}),e.jsx("p",{className:"text-[10px]",children:r}),n&&e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("audio",{ref:o,src:n,onPlay:()=>p(!0),onPause:()=>p(!1),onEnded:()=>p(!1)}),e.jsx("button",{type:"button",onClick:h,"aria-label":c?"Unmute":"Mute","aria-pressed":c,className:"flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",children:c?e.jsx(is,{size:18,className:"text-[#f75e22]"}):e.jsx(ns,{size:18,className:"text-[#f75e22]"})}),e.jsx("div",{className:"flex items-center gap-[1.5px]",children:[0,1,2].map(g=>e.jsx(ls,{animate:f&&!c,iconIndex:g},g))})]})]})]})]})},cs={sm:"size-9",md:"size-11",lg:"size-16"},fe=C.forwardRef(({icon:t,avatarUrl:a,alt:r="",size:n="md",className:i,...d},o)=>e.jsx("div",{ref:o,className:u.cn("flex shrink-0 items-center justify-center overflow-hidden rounded-full",cs[n],!a&&"bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",i),"aria-hidden":a?void 0:!0,...d,children:a?e.jsx("img",{src:a,alt:r,className:"size-full object-cover"}):t}));fe.displayName="IconBadge";const Se=C.forwardRef(({selected:t=!1,onSelect:a,icon:r,avatarUrl:n,iconSize:i="md",iconClassName:d,title:o,description:l,badge:c,showRadio:j=!0,radioVariant:f="dot",radioClassName:p,tag:h,tagClassName:g,children:b,note:y,noteClassName:w,className:_,disabled:v,type:P="button",...B},M)=>{const L=e.jsxs("div",{className:u.cn("relative overflow-visible rounded-xl border transition-colors",t?"border-[#F38415] bg-[#FEF5E9]":"border-gray-200 bg-white",v&&"opacity-50",_),children:[h&&e.jsx("span",{className:u.cn("absolute -top-2.5 left-4 z-10 inline-flex items-center rounded-full bg-[#6d5bd0] px-2.5 py-1 text-[11px] font-semibold whitespace-nowrap text-white",g),children:h}),e.jsxs("button",{ref:M,type:P,role:"radio","aria-checked":t,disabled:v,onClick:a,className:u.cn("flex w-full items-center gap-3 overflow-hidden rounded-xl px-2 py-2 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2 disabled:cursor-not-allowed",h&&"pt-7"),...B,children:[(r||n)&&e.jsx(fe,{icon:r,avatarUrl:n,size:i,className:d}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#1d2125]",children:o}),l&&!b&&e.jsx("p",{className:"mt-0.5 text-[13px] leading-4.5 text-gray-500",children:l})]}),c&&e.jsx("span",{className:"shrink-0",children:c}),j&&e.jsxs("span",{"aria-hidden":!0,className:u.cn("inline-flex size-6 shrink-0 items-center justify-center rounded-full border transition-colors",t?f==="check"?u.cn("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white",p):"border-[#F75E22]":"border-gray-300"),children:[t&&f==="dot"&&e.jsx("span",{className:u.cn("size-4 rounded-full bg-[#F75E22]",p)}),t&&f==="check"&&e.jsx(Ie,{size:14,"aria-hidden":!0})]})]}),b]});return y?e.jsxs("div",{className:"overflow-hidden rounded-xl bg-[#FCCF9A]",children:[L,e.jsx("div",{className:u.cn("px-4 py-1 text-center text-[10px] leading-3.5 font-medium text-[#632E06]",w),children:y})]}):L});Se.displayName="SelectorCard";const ds=({value:t,onClick:a,className:r,...n})=>e.jsxs("div",{role:a?"button":void 0,tabIndex:a?0:void 0,onClick:a,className:u.cn("mx-3 mb-3 flex items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",a&&"cursor-pointer",r),...n,children:[e.jsx(vt,{size:16,className:"shrink-0 text-gray-900","aria-hidden":!0}),e.jsx("span",{className:"truncate text-[15px] font-medium text-gray-900",children:t})]}),us=({value:t,onInfoClick:a,infoLabel:r="More info",className:n,...i})=>e.jsxs("div",{className:u.cn("mx-3 mb-3 flex items-center justify-between gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",n),...i,children:[e.jsx("span",{className:"truncate text-[15px] font-medium text-gray-900",children:t}),a?e.jsx("button",{type:"button",onClick:a,"aria-label":r,className:"shrink-0 border-0 bg-transparent p-0 text-gray-700",children:e.jsx(de,{size:18,"aria-hidden":!0})}):e.jsx(de,{size:18,className:"shrink-0 text-gray-700","aria-hidden":!0})]}),Dt=({value:t,className:a,...r})=>e.jsx("span",{className:u.cn("inline-flex items-center rounded-full bg-white px-1.5 py-1 text-sm font-medium text-[#159169]",a),...r,children:t}),ps=({className:t,children:a,...r})=>e.jsx("div",{className:u.cn("rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#632e06]",t),...r,children:a}),fs=({value:t,onIncrement:a,onDecrement:r,min:n=0,max:i,addLabel:d="Add",className:o})=>t<=n?e.jsxs("button",{type:"button",onClick:a,className:u.cn("inline-flex h-10 w-22 cursor-pointer items-center justify-center gap-2.5 rounded-lg bg-linear-to-b from-[#5eb98e] to-[#087955] text-base font-bold text-white",o),children:[e.jsx(yt,{size:20,"aria-hidden":!0}),d]}):e.jsxs("div",{className:u.cn("inline-flex h-10 w-22 items-center justify-between rounded-lg border border-[#159169] bg-linear-to-b from-white to-[#edf5f2] px-3 text-[#087955] shadow-md",o),children:[e.jsx("button",{type:"button",onClick:r,"aria-label":"Decrease quantity",className:"inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",children:e.jsx(mr,{size:18,"aria-hidden":!0})}),e.jsx("span",{className:"min-w-[1ch] text-center text-base font-bold",children:t}),e.jsx("button",{type:"button",onClick:a,disabled:i!==void 0&&t>=i,"aria-label":"Increase quantity",className:"inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors disabled:pointer-events-none disabled:opacity-40",children:e.jsx(yt,{size:18,"aria-hidden":!0})})]}),It={en:{backButtonAriaLabel:"Go back",headerTitle:"Review your booking",addonsTitle:"Add services for all ancestors",addonsDescription:"These pujas will be performed on the day of Sarva Pitru Amavasya",addedLabel:"Added",addLabel:"Add",mandapTitle:"Temple and Mandap Charges",mandapDescription:"This fee covers the temple space, mandap, and other arrangements needed for the puja.",checkoutProceedLabel:"Proceed to fill details",checkoutRitualSingular:"Ritual",checkoutRitualPlural:"Rituals"},hi:{backButtonAriaLabel:"वापस जाएं",headerTitle:"अपनी बुकिंग की समीक्षा करें",addonsTitle:"सभी पितरों के लिए सेवाएं जोड़ें",addonsDescription:"ये पूजाएं सर्वोपित्र अमावस्या के दिन सम्पन्न की जाएंगी",addedLabel:"जोड़ा गया",addLabel:"जोड़ें",mandapTitle:"मंदिर और मंडप शुल्क",mandapDescription:"पूजा के लिए मंदिर में स्थान, मंडप और आवश्यक पूजा व्यवस्था सुनिश्चित करने के लिए यह शुल्क लिया जाता है",checkoutProceedLabel:"आगे बढ़ें, और डिटेल्स भरें",checkoutRitualSingular:"पूजा-विधि",checkoutRitualPlural:"पूजा-विधि"},kn:{backButtonAriaLabel:"ಹಿಂದೆ ಹೋಗಿ",headerTitle:"ನಿಮ್ಮ ಬುಕಿಂಗ್ ಪರಿಶೀಲಿಸಿ",addonsTitle:"ಎಲ್ಲಾ ಪೂರ್ವಜರಿಗಾಗಿ ಸೇವೆಗಳನ್ನು ಸೇರಿಸಿ",addonsDescription:"ಈ ಪೂಜೆಗಳನ್ನು ಸರ್ವ ಪಿತೃ ಅಮಾವಾಸ್ಯೆಯ ದಿನದಂದು ನೆರವೇರಿಸಲಾಗುತ್ತದೆ",addedLabel:"ಸೇರಿಸಲಾಗಿದೆ",addLabel:"ಸೇರಿಸಿ",mandapTitle:"ದೇವಾಲಯ ಮತ್ತು ಮಂಟಪದ ಶುಲ್ಕಗಳು",mandapDescription:"ಈ ಶುಲ್ಕವು ದೇವಾಲಯದ ಜಾಗ, ಮಂಟಪ ಮತ್ತು ಪೂಜೆಗೆ ಅಗತ್ಯವಿರುವ ಇತರ ಸಿದ್ಧತೆಗಳನ್ನು ಒಳಗೊಂಡಿರುತ್ತದೆ.",checkoutProceedLabel:"ವಿವರಗಳನ್ನು ನಮೂದಿಸಲು ಮುಂದುವರಿಯಿರಿ",checkoutRitualSingular:"ಪೂಜೆ",checkoutRitualPlural:"ಪೂಜೆಗಳು"},te:{backButtonAriaLabel:"వెనుకకు వెళ్లండి",headerTitle:"మీ బుకింగ్ను సమీక్షించండి",addonsTitle:"అందరి పితరుల కోసం సేవలను జోడించండి",addonsDescription:"ఈ పూజలు సర్వ పితృ అమావాస్య రోజున జరుగుతాయి",addedLabel:"జోడించబడింది",addLabel:"జోడించండి",mandapTitle:"ఆలయ మరియు మండప రుసుము",mandapDescription:"ఈ రుసుము ఆలయ స్థలం, మండపం మరియు పూజకు అవసరమైన ఇతర ఏర్పాట్లను కవర్ చేస్తుంది.",checkoutProceedLabel:"ముందుకు సాగండి",checkoutRitualSingular:"పూజ",checkoutRitualPlural:"పూజలు"}},Ae=t=>It[t]??It.en,He=({title:t,description:a,price:r,originalPrice:n,action:i,className:d,...o})=>e.jsx("div",{className:u.cn("rounded-2xl border border-gray-200 bg-white p-4",d),...o,children:e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-[15px] leading-5 font-bold text-[#1d2125]",children:t}),a&&e.jsx("p",{className:"mt-1 text-sm leading-5 text-gray-500",children:a})]}),e.jsxs("div",{className:"flex shrink-0 flex-col items-end gap-2",children:[e.jsxs("div",{className:"flex items-baseline gap-1.5 whitespace-nowrap",children:[n&&e.jsx("span",{className:"text-sm text-gray-400 line-through",children:n}),e.jsx("span",{className:"text-[15px] font-bold text-[#1d2125]",children:r})]}),i]})]})}),zt=({locale:t="en",...a})=>{const{mandapTitle:r,mandapDescription:n}=Ae(t);return e.jsx(He,{title:r,description:n,...a})},xs=({children:t="Change",className:a,type:r="button",...n})=>e.jsxs("button",{type:r,className:u.cn("inline-flex items-center gap-1.5 rounded-full border border-gray-300 px-3 py-1.5 text-sm font-semibold text-gray-900 transition-colors hover:bg-gray-50",a),...n,children:[e.jsx(vt,{size:14,"aria-hidden":!0}),t]}),ms=({locale:t="en",isAdded:a=!0,children:r,className:n,type:i="button",...d})=>e.jsxs("button",{type:i,className:u.cn("inline-flex items-center gap-1.5 rounded-full border border-emerald-500 px-3 py-1.5 text-sm font-semibold text-emerald-600 transition-colors hover:bg-emerald-50",n),...d,children:[a&&e.jsx(Ie,{size:14,"aria-hidden":!0}),r??(a?Ae(t).addedLabel:Ae(t).addLabel)]}),Y={contentBlock:"_contentBlock_130xm_8",imageWrap:"_imageWrap_130xm_18",image:"_image_130xm_18",tag:"_tag_130xm_30",info:"_info_130xm_45",title:"_title_130xm_52",description:"_description_130xm_59",footer:"_footer_130xm_66",priceRow:"_priceRow_130xm_74",price:"_price_130xm_74",basePrice:"_basePrice_130xm_89",savedBadge:"_savedBadge_130xm_98",actionWrap:"_actionWrap_130xm_113"},Gt=({isOpen:t,onClose:a,ariaLabel:r,image:n,imageAlt:i="",tag:d,tagClassName:o,title:l,description:c,descriptionHtml:j,price:f,basePrice:p,currencySymbol:h="₹",showSavedBadge:g,savedLabel:b,action:y})=>{const w=typeof p=="number"&&p>f,_=w?Math.round((p-f)/p*100):0,v=(g??w)&&_>0;return e.jsx(ye,{isOpen:t,onClose:a,ariaLabel:r,showCloseButton:!0,closeButtonOutside:!0,footer:e.jsxs("div",{className:Y.footer,children:[e.jsxs("div",{className:Y.priceRow,children:[e.jsxs("span",{className:Y.price,children:[h,f]}),w&&e.jsxs("span",{className:Y.basePrice,children:[h,p]}),v&&e.jsx("span",{className:Y.savedBadge,children:b??`Save ${_}%`})]}),y&&e.jsx("div",{className:Y.actionWrap,children:y})]}),children:e.jsxs("div",{className:Y.contentBlock,children:[e.jsx("div",{className:Y.imageWrap,children:e.jsx("img",{src:n,alt:i,className:Y.image})}),d&&e.jsx("div",{className:u.cn(Y.tag,o),children:d}),e.jsxs("div",{className:Y.info,children:[e.jsx("p",{className:Y.title,children:l}),j?e.jsx("div",{className:Y.description,dangerouslySetInnerHTML:{__html:j}}):c&&e.jsx("p",{className:Y.description,children:c})]})]})})},V={card:"_card_19yuv_11",tappable:"_tappable_19yuv_19",tag:"_tag_19yuv_23",content:"_content_19yuv_37",info:"_info_19yuv_44",textGroup:"_textGroup_19yuv_53",title:"_title_19yuv_59",description:"_description_19yuv_66",descriptionClamp:"_descriptionClamp_19yuv_78",readMoreToggleBlock:"_readMoreToggleBlock_19yuv_89",readMoreToggle:"_readMoreToggle_19yuv_89",priceRow:"_priceRow_19yuv_106",price:"_price_19yuv_106",originalPrice:"_originalPrice_19yuv_121",imageWrap:"_imageWrap_19yuv_127",image:"_image_19yuv_127",actionWrap:"_actionWrap_19yuv_141"},hs=t=>t.replace(/<[^>]*>/g,"").trim(),Ut=({image:t,imageAlt:a="",title:r,description:n,descriptionHtml:i,descriptionClampLines:d=2,descriptionMaxLength:o=40,locale:l="en",readMoreLabel:c=De(l,"templeSignificanceReadMoreLabel"),readLessLabel:j=De(l,"templeSignificanceReadLessLabel"),price:f,originalPrice:p,tag:h,tagClassName:g,action:b,sheetPrice:y,sheetBasePrice:w,sheetCurrencySymbol:_,sheetShowSavedBadge:v,sheetSavedLabel:P,sheetAriaLabel:B,className:M,...L})=>{const[G,Q]=C.useState(!1),[W,U]=C.useState(!1),Z=i?hs(i).length>o:typeof n=="string"&&n.length>o,te=Z&&!i&&!G?`${n.slice(0,o).trimEnd()}... `:n,F=typeof y=="number",H=!!i&&Z&&!G,K=Z&&e.jsx("button",{type:"button",onClick:J=>{J.stopPropagation(),F?U(!0):Q(re=>!re)},className:u.cn(V.readMoreToggle,i&&V.readMoreToggleBlock),children:F?c:G?j:c});return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:u.cn(V.card,F&&V.tappable,M),onClick:F?()=>U(!0):void 0,...L,children:[h&&e.jsx("div",{className:u.cn(V.tag,g),children:h}),e.jsxs("div",{className:V.content,children:[e.jsxs("div",{className:V.info,children:[e.jsxs("div",{className:V.textGroup,children:[e.jsx("p",{className:V.title,children:r}),i?e.jsxs("div",{className:V.description,children:[e.jsx("div",{className:u.cn(H&&V.descriptionClamp),style:H?{WebkitLineClamp:d}:void 0,dangerouslySetInnerHTML:{__html:i}}),K]}):n&&e.jsxs("p",{className:V.description,children:[te,K]})]}),e.jsxs("div",{className:V.priceRow,children:[e.jsx("span",{className:V.price,children:f}),p&&e.jsx("span",{className:V.originalPrice,children:p})]})]}),e.jsxs("div",{className:V.imageWrap,children:[e.jsx("img",{src:t,alt:a,className:V.image}),b&&e.jsx("div",{className:V.actionWrap,onClick:J=>J.stopPropagation(),children:b})]})]})]}),F&&e.jsx(Gt,{isOpen:W,onClose:()=>U(!1),ariaLabel:B,image:t,imageAlt:a,tag:h,tagClassName:g,title:r,description:n,descriptionHtml:i,price:y,basePrice:w,currencySymbol:_,showSavedBadge:v,savedLabel:P,action:b})]})};function Ht(t){return A({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M12.136.326A1.5 1.5 0 0 1 14 1.78V3h.5A1.5 1.5 0 0 1 16 4.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-9a1.5 1.5 0 0 1 1.432-1.499zM5.562 3H13V1.78a.5.5 0 0 0-.621-.484zM1.5 4a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5z"},child:[]}]})(t)}function $t(t){return A({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M5.338 1.59a61 61 0 0 0-2.837.856.48.48 0 0 0-.328.39c-.554 4.157.726 7.19 2.253 9.188a10.7 10.7 0 0 0 2.287 2.233c.346.244.652.42.893.533q.18.085.293.118a1 1 0 0 0 .101.025 1 1 0 0 0 .1-.025q.114-.034.294-.118c.24-.113.547-.29.893-.533a10.7 10.7 0 0 0 2.287-2.233c1.527-1.997 2.807-5.031 2.253-9.188a.48.48 0 0 0-.328-.39c-.651-.213-1.75-.56-2.837-.855C9.552 1.29 8.531 1.067 8 1.067c-.53 0-1.552.223-2.662.524zM5.072.56C6.157.265 7.31 0 8 0s1.843.265 2.928.56c1.11.3 2.229.655 2.887.87a1.54 1.54 0 0 1 1.044 1.262c.596 4.477-.787 7.795-2.465 9.99a11.8 11.8 0 0 1-2.517 2.453 7 7 0 0 1-1.048.625c-.28.132-.581.24-.829.24s-.548-.108-.829-.24a7 7 0 0 1-1.048-.625 11.8 11.8 0 0 1-2.517-2.453C1.928 10.487.545 7.169 1.141 2.692A1.54 1.54 0 0 1 2.185 1.43 63 63 0 0 1 5.072.56"},child:[]},{tag:"path",attr:{d:"M10.854 5.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 7.793l2.646-2.647a.5.5 0 0 1 .708 0"},child:[]}]})(t)}function Vt(t){return A({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M8.515 1.019A7 7 0 0 0 8 1V0a8 8 0 0 1 .589.022zm2.004.45a7 7 0 0 0-.985-.299l.219-.976q.576.129 1.126.342zm1.37.71a7 7 0 0 0-.439-.27l.493-.87a8 8 0 0 1 .979.654l-.615.789a7 7 0 0 0-.418-.302zm1.834 1.79a7 7 0 0 0-.653-.796l.724-.69q.406.429.747.91zm.744 1.352a7 7 0 0 0-.214-.468l.893-.45a8 8 0 0 1 .45 1.088l-.95.313a7 7 0 0 0-.179-.483m.53 2.507a7 7 0 0 0-.1-1.025l.985-.17q.1.58.116 1.17zm-.131 1.538q.05-.254.081-.51l.993.123a8 8 0 0 1-.23 1.155l-.964-.267q.069-.247.12-.501m-.952 2.379q.276-.436.486-.908l.914.405q-.24.54-.555 1.038zm-.964 1.205q.183-.183.35-.378l.758.653a8 8 0 0 1-.401.432z"},child:[]},{tag:"path",attr:{d:"M8 1a7 7 0 1 0 4.95 11.95l.707.707A8.001 8.001 0 1 1 8 0z"},child:[]},{tag:"path",attr:{d:"M7.5 3a.5.5 0 0 1 .5.5v5.21l3.248 1.856a.5.5 0 0 1-.496.868l-3.5-2A.5.5 0 0 1 7 9V3.5a.5.5 0 0 1 .5-.5"},child:[]}]})(t)}const gs=[{id:"money-back",icon:e.jsx($t,{"aria-hidden":!0}),label:"100% Money Back Guarantee"},{id:"no-hidden-cost",icon:e.jsx(Ht,{"aria-hidden":!0}),label:"No Hidden Cost"},{id:"24x7-support",icon:e.jsx(Vt,{"aria-hidden":!0}),label:"24x7 Support"}],Wt=(t,a,r)=>e.jsxs("span",{className:u.cn("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700",r,t.className),children:[e.jsx("span",{className:"shrink-0 text-base text-gray-700","aria-hidden":!0,children:t.icon}),t.label]},a),Kt=({badges:t=gs,badgeClassName:a,marquee:r=!0,marqueeDurationSeconds:n=14,className:i,...d})=>r?e.jsx("div",{className:u.cn("overflow-hidden bg-[#f3f5f7] px-4 py-3",i),...d,children:e.jsx("div",{className:"flex w-max items-center gap-5 whitespace-nowrap motion-reduce:animate-none",style:{animation:`pitru-paksh-trust-badges-marquee ${n}s linear infinite`},children:[...t,...t].map((o,l)=>Wt(o,`${o.id}-${l}`,a))})}):e.jsx("div",{className:u.cn("flex items-center gap-5 overflow-x-auto bg-[#f3f5f7] px-4 py-3 whitespace-nowrap","scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",i),...d,children:t.map(o=>Wt(o,o.id,a))}),$e={en:{proceedLabel:"Proceed",infoButtonAriaLabel:"View bill details"},hi:{proceedLabel:"आगे बढ़ें",infoButtonAriaLabel:"बिल का विवरण देखें"},kn:{proceedLabel:"ಮುಂದುವರಿಯಿರಿ",infoButtonAriaLabel:"ಬಿಲ್ ವಿವರಗಳನ್ನು ನೋಡಿ"},te:{proceedLabel:"ముందుకు సాగండి",infoButtonAriaLabel:"బిల్లు వివరాలను చూడండి"}},Zt=t=>$e[t]??$e.en,Pe=({locale:t="en",amount:a,amountClassName:r,subtitle:n,subtitleClassName:i,showInfoIcon:d=!0,onInfoClick:o,infoIconClassName:l,proceedLabel:c,proceedIcon:j=e.jsx(pe,{"aria-hidden":!0}),onProceed:f,proceedButtonProps:p,buttonWrapperClassName:h,growProceedButton:g=!1,className:b,...y})=>{const w=Zt(t);return e.jsxs("div",{className:u.cn("flex items-center gap-3 rounded-t-3xl bg-white px-4 py-4 shadow-[0_-2px_12px_rgba(0,0,0,0.08)]",b),...y,children:[e.jsxs("div",{className:u.cn("min-w-0",g?"flex-none":"flex-1"),children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:u.cn("text-xl font-extrabold text-[#1d2125]",r),children:a}),d&&e.jsx("button",{type:"button",onClick:o,"aria-label":w.infoButtonAriaLabel??"View bill details",className:u.cn("inline-flex shrink-0 items-center justify-center text-[#f75e22]",!o&&"pointer-events-none",l),children:e.jsx(de,{size:18,"aria-hidden":!0})})]}),n&&e.jsx("p",{className:u.cn("mt-1 text-sm text-gray-500",i),children:n})]}),e.jsx("div",{className:u.cn("min-w-0",g?"flex-1":"flex-[1.4]",h),children:e.jsxs(I,{variant:"primary",size:"xl",onClick:f,...p,className:u.cn("h-auto min-h-14 min-w-0 justify-center gap-2 whitespace-normal px-3 py-2 text-center leading-5 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169] [&>span]:min-w-0 [&>span]:whitespace-normal",g?"w-full":"min-w-40",p?.className),children:[c??w.proceedLabel,j]})})]})},Ve={en:{title:"Select the number of people performing the Puja (Karta)",description:"Performing the puja together with the whole family brings ancestors’ blessings and family prosperity",benefits:["Panditji will pronounce the names and gotra of the ancestors and the performers","Our experienced Pandits will conduct the Puja with correct vedic rituals","A video of the entire Puja will be shared with you on WhatsApp and the Srimandir app"],trustBadgeLabels:{moneyBack:"100% Money Back Guarantee",noHiddenCost:"No Hidden Cost",support:"24x7 Support"}},hi:{title:"पूजा करवाने वाले (कर्ता) लोगो की संख्या चुनें",description:"पूरे परिवार के साथ मिलकर पूजा करने से पितरों का आशीर्वाद मिलता है और परिवार की सुख-समृद्धि बढ़ती है।",benefits:["पंडितजी द्वारा पितृजन और कर्ता का नाम-गोत्र उच्चारण होगा","हमारे अनुभवी पुरोहित पूरे विधि-विधान से पूजा कराएंगे","पूरी पूजा का वीडियो आपको WhatsApp और श्रीमंदिर ऐप पर शेयर किया जाएगा"],trustBadgeLabels:{moneyBack:"100% पैसे वापस करने की गारंटी",noHiddenCost:"कोई छुपी हुई लागत नहीं",support:"24x7 सहायता"}},kn:{title:"ಪೂಜೆ ನೆರವೇರಿಸುವ ಜನರ ಸಂಖ್ಯೆಯನ್ನು ಆಯ್ಕೆಮಾಡಿ (ಕರ್ತೃ)",description:"ಇಡೀ ಕುಟುಂಬದೊಂದಿಗೆ ಒಟ್ಟಾಗಿ ಪೂಜೆ ಮಾಡುವುದರಿಂದ ಪೂರ್ವಜರ ಆಶೀರ್ವಾದ ಮತ್ತು ಕುಟುಂಬದ ಸಮೃದ್ಧಿ ದೊರೆಯುತ್ತದೆ",benefits:["ಪಂಡಿತರು ಪೂರ್ವಜರ & ಪೂಜೆ ಮಾಡುವವರ ಹೆಸರುಗಳು ಹಾಗೂ ಗೋತ್ರವನ್ನು ಉಚ್ಚರಿಸುತ್ತಾರೆ","ನಮ್ಮ ಅನುಭವಿ ಪಂಡಿತರು ಸರಿಯಾದ ವೈದಿಕ ವಿಧಿವಿಧಾನಗಳೊಂದಿಗೆ ಪೂಜೆಯನ್ನು ನೆರವೇರಿಸುತ್ತಾರೆ","ಸಂಪೂರ್ಣ ಪೂಜೆಯ ವಿಡಿಯೋವನ್ನು ನಿಮ್ಮೊಂದಿಗೆ ವಾಟ್ಸಾಪ್ ಮತ್ತು ಶ್ರೀಮಂದಿರ ಆ್ಯಪ್ನಲ್ಲಿ ಹಂಚಿಕೊಳ್ಳಲಾಗುತ್ತದೆ"],trustBadgeLabels:{moneyBack:"100% ಹಣ ಮರಳಿ ನೀಡುವ ಖಾತರಿ",noHiddenCost:"ಗುಪ್ತ ವೆಚ್ಚಗಳಿಲ್ಲ",support:"24x7 ಬೆಂಬಲ"}},te:{title:"పూజ చేసే వ్యక్తుల సంఖ్యను ఎంచుకోండి (కర్త)",description:"కుటుంబమంతా కలిసి పూజ చేస్తే పితృదేవతల ఆశీర్వాదం, కుటుంబ సుఖసమృద్ధి లభిస్తాయి",benefits:["పండితుడు పితృదేవతల మరియు కర్తల పేర్లు, గోత్రాలు చెప్తారు","మా అనుభవం గల పండితులు సరైన వేద విధులతో పూజ చేస్తారు","పూర్తి పూజా వీడియో వాట్సాప్ మరియు శ్రీమందిర్ యాప్ లో పంపబడుతుంది"],trustBadgeLabels:{moneyBack:"100% డబ్బు వాపసు గ్యారంటీ",noHiddenCost:"దాచిన ఖర్చులు లేవు",support:"కస్టమర్ సపోర్ట్"}}},qt=t=>Ve[t]??Ve.en,bs=({locale:t="en",title:a,description:r,benefits:n,options:i,value:d,onChange:o,radioVariant:l="dot",radiogroupLabel:c,className:j,headerClassName:f,benefitsClassName:p,optionsClassName:h,trustBadges:g,checkout:b,stickyFooter:y=!0,footerClassName:w})=>{const _=qt(t),v=a??_.title,P=r??_.description,B=n??_.benefits,M=g??{badges:[{id:"money-back",icon:e.jsx($t,{"aria-hidden":!0}),label:_.trustBadgeLabels.moneyBack},{id:"no-hidden-cost",icon:e.jsx(Ht,{"aria-hidden":!0}),label:_.trustBadgeLabels.noHiddenCost},{id:"24x7-support",icon:e.jsx(Vt,{"aria-hidden":!0}),label:_.trustBadgeLabels.support}]};return e.jsxs("div",{className:u.cn("w-full",j),children:[e.jsxs("div",{className:u.cn("px-4 pt-5 pb-4",f),children:[e.jsx("p",{className:"text-[20px] leading-6.5 font-extrabold text-[#1d2125]",children:v}),P&&e.jsx("p",{className:"mt-2 text-[14px] leading-5.5 text-gray-500",children:P})]}),B&&B.length>0&&e.jsx("div",{className:u.cn("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5",p),children:B.map((L,G)=>e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(Ie,{size:18,className:"mt-0.5 shrink-0 text-emerald-600","aria-hidden":!0}),e.jsx("span",{className:"text-[14px] leading-5.5 text-gray-600",children:L})]},G))}),e.jsx("div",{role:"radiogroup","aria-label":c??(typeof v=="string"?v:void 0),className:u.cn("flex flex-col gap-3 p-4",h),children:i.map(L=>{const{id:G,price:Q,free:W,badge:U,priceBadgeProps:Z,note:te,children:F,iconClassName:H,radioVariant:K,...J}=L,re=d===G,se=U??(Q==null?void 0:W?e.jsx("span",{className:u.cn("text-sm font-medium text-[#22272b]",Z?.className),...Z,children:Q}):e.jsx(Dt,{value:Q,...Z}));return e.jsx(Se,{...J,iconClassName:u.cn("size-10",H),radioVariant:K??l,badge:se,selected:re,onSelect:()=>o(G),note:re?te:void 0,children:F},G)})}),(M||b)&&e.jsxs("div",{className:u.cn(y&&"sticky bottom-0 z-10",w),children:[M&&e.jsx(Kt,{...M}),b&&e.jsx(Pe,{locale:t,...b})]})]})},We={en:{title:"Pitru Paksha Special Rituals",ancestorsLabel:"Ancestors",ritualsLabel:"Rituals",performersLabel:"Performers"},hi:{title:"पितृ पक्ष विशेष अनुष्ठान",ancestorsLabel:"पितृजन",ritualsLabel:"पूजा विधि",performersLabel:"कर्ता"},te:{title:"పితృపక్ష ప్రత్యేక పూజలు",ancestorsLabel:"మంది పితృదేవతలు",ritualsLabel:"పూజలు",performersLabel:"కర్తలు"},kn:{title:"ಪಿತೃ ಪಕ್ಷದ ವಿಶೇಷ ಆಚರಣೆಗಳು",ancestorsLabel:"ಪೂರ್ವಜರು",ritualsLabel:"ಆಚರಣೆಗಳು",performersLabel:"ಕರ್ತೃಗಳು"}},Yt=t=>We[t]??We.en,Qt=({locale:t="en",icon:a=e.jsx(Ge,{"aria-hidden":!0}),iconClassName:r,title:n,titleClassName:i,subtitle:d,subtitleItems:o,stats:l,subtitleClassName:c,cardClassName:j,className:f,...p})=>{const h=Yt(t),g=n??h.title,b=o??(l&&[`${l.ancestors} ${h.ancestorsLabel}`,`${l.rituals} ${h.ritualsLabel}`,`${l.performers} ${h.performersLabel}`]);return e.jsx("div",{className:u.cn("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6",f),...p,children:e.jsxs("div",{className:u.cn("rounded-2xl bg-white p-4 shadow-sm",j),children:[e.jsxs("p",{className:u.cn("flex items-center gap-2 text-sm font-bold text-[#db2777]",i),children:[a&&e.jsx("span",{className:u.cn("shrink-0 text-sm",r),children:a}),g]}),(d||b&&b.length>0)&&e.jsx("p",{className:u.cn("mt-2 text-[15px] font-semibold text-[#1d2125]",c),children:b&&b.length>0?b.map((y,w)=>e.jsxs(C.Fragment,{children:[w>0&&e.jsx("span",{className:"mx-1.5 text-gray-400",children:"•"}),y]},w)):d})]})})},Jt={en:{title:"Bill Details",totalLabel:"Total Amount",panditFeeLabel:"Pandit Fee",photoVideoFeeLabel:"Photo and video recording fee",freeLabel:"FREE"},hi:{title:"बिल विवरण",totalLabel:"कुल राशि",panditFeeLabel:"पंडित शुल्क",photoVideoFeeLabel:"फोटो और वीडियो रिकॉर्डिंग शुल्क",freeLabel:"मुफ़्त"},kn:{title:"ಬಿಲ್ ವಿವರಗಳು",totalLabel:"ಒಟ್ಟು ಮೊತ್ತ",panditFeeLabel:"ಪಂಡಿತ್ ಶುಲ್ಕ",photoVideoFeeLabel:"ಫೋಟೋ ಮತ್ತು ವಿಡಿಯೋ ರೆಕಾರ್ಡಿಂಗ್ ಶುಲ್ಕ",freeLabel:"ಉಚಿತ"},te:{title:"బిల్లు వివరాలు",totalLabel:"మొత్తం",panditFeeLabel:"పండిట్ రుసుము",photoVideoFeeLabel:"ఫోటో మరియు వీడియో రికార్డింగ్ రుసుము",freeLabel:"ఉచితం"}},js=t=>Jt[t]??Jt.en;function Xt({label:t,originalValue:a,freeLabel:r,rowClassName:n}){return e.jsxs("div",{className:u.cn("flex items-start justify-between gap-3",n),children:[e.jsx("div",{className:"min-w-0",children:e.jsx("p",{className:"text-xs font-medium text-[#6b7280]",children:t})}),e.jsxs("div",{className:"flex shrink-0 items-center gap-2 whitespace-nowrap text-xs",children:[e.jsx("span",{className:"text-[#d93640] line-through",children:a}),e.jsx("span",{className:"text-[#374151]",children:r})]})]})}const ea=({locale:t="en",titleClassName:a,rows:r,rowClassName:n,showTitleAccent:i=!0,totalValue:d,totalClassName:o,isGlobalUser:l=!1,className:c,...j})=>{const{title:f,totalLabel:p,panditFeeLabel:h,photoVideoFeeLabel:g,freeLabel:b}=js(t);return e.jsxs("div",{className:u.cn("bg-white px-4 py-6",c),...j,children:[e.jsxs("h2",{className:u.cn("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]",a),children:[i&&e.jsx("span",{"aria-hidden":!0,className:"block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]"}),f]}),e.jsxs("div",{className:"flex flex-col gap-4",children:[r.map(y=>e.jsxs("div",{className:u.cn("flex items-start justify-between gap-3",n),children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:u.cn("text-sm text-[#1d2125]",y.labelClassName),children:y.label}),y.subLabel&&e.jsx("p",{className:u.cn("mt-0.5 text-xs text-gray-400",y.subLabelClassName),children:y.subLabel})]}),e.jsxs("div",{className:"flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm",children:[y.note&&e.jsx("span",{className:"text-gray-400",children:y.note}),y.originalValue&&e.jsx("span",{className:"text-gray-400 line-through",children:y.originalValue}),e.jsx("span",{className:u.cn("font-medium text-[#1d2125]",y.valueClassName),children:y.value})]})]},y.id)),e.jsx(Xt,{label:h,originalValue:l?"$3.99":"₹51.0",freeLabel:b,rowClassName:n}),e.jsx(Xt,{label:g,originalValue:l?"$0.49":"₹21.0",freeLabel:b,rowClassName:n})]}),d!==void 0&&e.jsxs("div",{className:u.cn("mt-4 flex items-center justify-between border-t border-dashed border-gray-300 pt-4",o),children:[e.jsx("span",{className:"text-base font-bold text-[#1d2125]",children:p}),e.jsx("span",{className:"text-base font-bold text-emerald-600",children:d})]})]})},ys=({locale:t="en",onBack:a,backButtonAriaLabel:r,headerClassName:n,backButtonClassName:i,headerTitleClassName:d,summary:o,items:l,itemsClassName:c,itemClassName:j,addons:f,addonsSectionClassName:p,addonsHeaderClassName:h,addonsTitleClassName:g,addonsDescriptionClassName:b,addonsClassName:y,addonClassName:w,addonComponent:_=Ut,billDetails:v,faq:P,checkout:B,className:M,children:L,...G})=>{const{backButtonAriaLabel:Q,headerTitle:W,addonsTitle:U,addonsDescription:Z,checkoutProceedLabel:te,checkoutRitualSingular:F,checkoutRitualPlural:H}=Ae(t),{price:K,ritualCount:J,...re}=B??{};return e.jsxs("div",{className:u.cn("flex min-h-screen flex-col bg-white",M),...G,children:[e.jsxs("div",{className:"flex flex-1 flex-col",children:[e.jsxs("div",{className:u.cn("flex items-center gap-3 px-4 py-3",n),children:[a&&e.jsx("button",{type:"button",onClick:a,"aria-label":r??Q,className:u.cn("flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",i),children:e.jsx(ze,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx("h1",{className:u.cn("text-lg font-bold text-[#1d2125]",d),children:W})]}),o&&e.jsx(Qt,{...o}),l&&l.length>0&&e.jsx("div",{className:u.cn("flex flex-col gap-3 bg-white px-4 py-4",c),children:l.map(({id:se,className:ne,isMandapCharge:le,...oe})=>le?e.jsx(zt,{locale:t,className:u.cn(j,ne),...oe},se):e.jsx(He,{className:u.cn(j,ne),...oe},se))}),f&&f.length>0&&e.jsxs("div",{className:u.cn("flex flex-col gap-4 bg-gray-50 px-4 py-6",p),children:[e.jsxs("div",{className:h,children:[e.jsx("h2",{className:u.cn("text-base font-bold text-gray-700",g),children:U}),e.jsx("p",{className:u.cn("mt-1 text-sm text-gray-500",b),children:Z})]}),e.jsx("div",{className:u.cn("flex flex-col gap-4",y),children:f.map(({id:se,className:ne,...le})=>e.jsx(_,{locale:t,className:u.cn(w,ne),...le},se))})]}),v&&e.jsx(ea,{...v,locale:t}),P&&e.jsx(Et,{...P}),L]}),B&&e.jsx("div",{className:"sticky bottom-0",children:e.jsx(Pe,{growProceedButton:!0,...re,locale:t,amount:K,subtitle:`${J} ${J===1?F:H}`,proceedLabel:te})})]})},ie=C.forwardRef(({label:t,value:a,onChange:r,prefix:n,showCharCount:i=!1,supportingText:d,error:o=!1,className:l,containerClassName:c,wrapperClassName:j,maxLength:f,id:p,...h},g)=>{const b=C.useId(),y=p??b,w=d??(i?`${a.length}${f?`/${f}`:""}`:void 0);return e.jsxs("div",{className:u.cn("flex w-full flex-col gap-2",c),children:[t&&e.jsx("label",{htmlFor:y,className:"text-[14px] leading-5 font-semibold text-[#6b7280]",children:t}),e.jsxs("div",{className:"flex w-full flex-col gap-1",children:[e.jsxs("div",{className:u.cn("flex w-full items-center gap-1.5 rounded-lg border bg-white p-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",o?"border-[#ef4444]":"border-[#d1d5db]",j),children:[n&&e.jsx("span",{className:"shrink-0 text-[16px] leading-5.5 font-medium text-[#6b7280]",children:n}),e.jsx("input",{ref:g,id:y,value:a,maxLength:f,onChange:_=>r(_.target.value),"aria-invalid":o,className:u.cn("w-full min-w-0 flex-1 border-0 bg-transparent p-0 text-[16px] leading-5.5 font-medium text-[#1f2937] placeholder:text-[#9ca3af] focus:outline-none focus:ring-0",l),...h})]}),w&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#9ca3af]",children:w})]})]})});ie.displayName="TextField";function vs({isOpen:t,onClose:a,avatarUrl:r,heading:n,tithis:i,confirmLabel:d,onConfirm:o,initialTithi:l}){const[c,j]=C.useState(l),f=()=>{c&&o(c)};return e.jsx(u.BottomSheet,{isOpen:t,onClose:a,showDragHandle:!0,showCloseButton:!1,ariaLabel:n,overlayClassName:"pitru-paksh-common-root",header:e.jsxs("div",{className:"flex w-full flex-col items-center gap-3 px-5 pt-2",children:[e.jsxs("div",{className:"flex w-full items-center gap-3",children:[e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]",children:e.jsx("img",{src:r,alt:"",className:"size-full object-cover"})}),e.jsx("p",{className:"flex-1 text-[16px] leading-5.5 font-semibold text-[#374151]",children:n})]}),e.jsx("div",{className:"h-px w-full bg-[rgba(28,27,27,0.05)]"})]}),footer:e.jsxs("div",{className:"flex w-full flex-col items-center gap-4 px-5 pb-2",children:[e.jsx("div",{className:"h-px w-full bg-[rgba(28,27,27,0.05)]"}),e.jsx(I,{variant:"primary",size:"md",className:"w-full rounded-xl",disabled:!c,onClick:f,children:d})]}),children:e.jsx("div",{className:"grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4",children:i.map(p=>{const h=c===p;return e.jsx("button",{type:"button",onClick:()=>j(p),className:`flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${h?"border-[#f38415] bg-[#f38415] text-white":"border-[#fccf9a] bg-white/40 text-[#374151]"}`,children:p},p)})})})}const ve=48;function xe({options:t,selectedIndex:a,onChange:r}){const n=C.useRef(null),i=C.useRef(!1);C.useEffect(()=>{i.current||!n.current||(i.current=!0,n.current.scrollTop=a*ve)},[]);const d=()=>{if(!n.current)return;const l=Math.round(n.current.scrollTop/ve),c=Math.max(0,Math.min(t.length-1,l));c!==a&&r(c)},o=l=>{n.current?.scrollTo({top:l*ve,behavior:"smooth"}),r(l)};return e.jsx("div",{className:"relative h-36 w-full",children:e.jsxs("div",{ref:n,onScroll:d,className:"h-36 snap-y snap-mandatory overflow-y-auto [&::-webkit-scrollbar]:hidden",style:{scrollbarWidth:"none"},children:[e.jsx("div",{style:{height:ve},"aria-hidden":!0}),t.map((l,c)=>e.jsx("button",{type:"button",onClick:()=>o(c),className:`flex h-12 w-full snap-center items-center justify-center whitespace-nowrap border-0 bg-transparent text-[20px] leading-7 ${c===a?"font-bold text-[#f75e22]":"font-semibold text-[#d1d5db]"}`,children:l},l)),e.jsx("div",{style:{height:ve},"aria-hidden":!0})]})})}const Ke=Array.from({length:31},(t,a)=>a+1);function Cs({isOpen:t,onClose:a,avatarUrl:r,heading:n,monthLabels:i,confirmLabel:d,onConfirm:o,timezoneLabel:l,initialDate:c,minYear:j,maxYear:f=new Date().getFullYear()}){const p=C.useMemo(()=>{const P=j??f-120;return Array.from({length:f-P+1},(B,M)=>P+M)},[j,f]),[h,g]=C.useState(()=>c?c.day-1:Math.floor(Ke.length/2)),[b,y]=C.useState(()=>c?c.month-1:0),[w,_]=C.useState(()=>c?Math.max(0,p.indexOf(c.year)):Math.floor(p.length/2)),v=()=>{o({day:Ke[h],month:b+1,year:p[w]})};return e.jsx(u.BottomSheet,{isOpen:t,onClose:a,showDragHandle:!0,showCloseButton:!1,closeButtonOutside:!0,ariaLabel:n,overlayClassName:"pitru-paksh-common-root",header:e.jsxs("div",{className:"flex w-full items-center gap-3 px-5 pt-5",children:[r&&e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]",children:e.jsx("img",{src:r,alt:"",className:"size-full object-cover"})}),e.jsx("p",{className:"flex-1 text-[18px] leading-6 font-bold text-[#1d2125]",children:n})]}),footer:e.jsxs("div",{className:"flex w-full items-center gap-6 px-5 pt-2 pb-5",children:[l&&e.jsx("p",{className:"shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]",children:l}),e.jsx(I,{variant:"primary",size:"lg",className:"flex-1 rounded-xl",onClick:v,children:d})]}),children:e.jsxs("div",{className:"relative flex w-full items-center justify-center gap-11 px-5 py-4",children:[e.jsx(xe,{options:Ke.map(String),selectedIndex:h,onChange:g}),e.jsx(xe,{options:i,selectedIndex:b,onChange:y}),e.jsx(xe,{options:p.map(String),selectedIndex:w,onChange:_}),e.jsx("div",{className:"pointer-events-none absolute inset-x-5 top-16 h-px bg-[#e5e7eb]"}),e.jsx("div",{className:"pointer-events-none absolute inset-x-5 top-28 h-px bg-[#e5e7eb]"})]})})}const Ze=Array.from({length:12},(t,a)=>a+1),ta=Array.from({length:60},(t,a)=>a);function Ns(t){const a=t>=12?"PM":"AM";return{hour12:t%12===0?12:t%12,period:a}}function ws(t,a){return a==="AM"?t===12?0:t:t===12?12:t+12}function _s({isOpen:t,onClose:a,avatarUrl:r,heading:n,confirmLabel:i,onConfirm:d,timezoneLabel:o,initialTime:l,amLabel:c="AM",pmLabel:j="PM"}){const f=C.useMemo(()=>Ns(l?.hour??11),[l?.hour]),p=[c,j],[h,g]=C.useState(()=>Ze.indexOf(f.hour12)),[b,y]=C.useState(()=>l?.minute??0),[w,_]=C.useState(()=>f.period==="AM"?0:1),v=()=>{const P=ws(Ze[h],w===0?"AM":"PM");d({hour:P,minute:ta[b]})};return e.jsx(u.BottomSheet,{isOpen:t,onClose:a,closeButtonOutside:!0,ariaLabel:n,overlayClassName:"pitru-paksh-common-root",header:e.jsxs("div",{className:"flex w-full items-center gap-3 px-5 pt-5",children:[r&&e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]",children:e.jsx("img",{src:r,alt:"",className:"size-full object-cover"})}),e.jsx("p",{className:"flex-1 text-[18px] leading-6 font-bold text-[#1d2125]",children:n})]}),footer:e.jsxs("div",{className:"flex w-full items-center gap-6 px-5 pt-2 pb-5",children:[o&&e.jsx("p",{className:"shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]",children:o}),e.jsx(I,{variant:"primary",size:"lg",className:"flex-1 rounded-xl",onClick:v,children:i})]}),children:e.jsxs("div",{className:"relative flex w-full items-center justify-center gap-11 px-5 py-4",children:[e.jsx(xe,{options:Ze.map(String),selectedIndex:h,onChange:g}),e.jsx(xe,{options:ta.map(P=>String(P).padStart(2,"0")),selectedIndex:b,onChange:y}),e.jsx(xe,{options:p,selectedIndex:w,onChange:_}),e.jsx("div",{className:"pointer-events-none absolute inset-x-5 top-16 h-px bg-[#e5e7eb]"}),e.jsx("div",{className:"pointer-events-none absolute inset-x-5 top-28 h-px bg-[#e5e7eb]"})]})})}function ks({className:t}){return e.jsxs("svg",{className:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[e.jsx("path",{d:"M8.68684 4.40106C10.0829 3.77017 11.6588 3.5536 13.1827 3.75605C14.7302 3.9585 16.2115 4.61763 17.3946 5.62988C18.5304 6.58092 19.3965 7.84269 19.8744 9.23629C20.4234 10.8229 20.466 12.5791 19.9975 14.1798C19.4765 15.9578 18.3719 17.511 16.8598 18.5913C15.8907 19.2813 14.7834 19.755 13.6134 19.9802C11.6257 20.3569 9.51503 19.9896 7.7924 18.9444C7.68356 18.8973 7.57944 18.7796 7.45166 18.8314L4.42761 19.6083L5.23213 16.6704C5.27945 16.5668 5.1848 16.4821 5.13748 16.3879C4.22411 15.0037 3.75086 13.3371 3.79818 11.6798C3.84551 8.28996 6.02245 5.60634 8.67264 4.38223",fill:"#40C351"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.32076 3.80784C8.50717 2.25416 11.3372 1.66094 13.9874 2.18825C15.7036 2.5261 17.2991 3.31079 18.611 4.46227C20.4678 6.08162 21.6521 8.33062 21.9332 10.7711C22.1215 12.3824 21.9102 14.015 21.318 15.5263C20.6176 17.3154 19.3777 18.8879 17.8065 19.9991C16.2925 21.0737 14.5047 21.702 12.6481 21.8117C10.7899 21.9254 8.93695 21.5176 7.30038 20.6346L2 22L3.39608 16.9152C3.42241 16.8585 3.38772 16.8098 3.35612 16.7655L3.34876 16.7552C2.30141 14.8952 1.88641 12.7483 2.16564 10.6346C2.5382 7.88745 4.03716 5.41625 6.30656 3.80784H6.32076ZM9.11312 7.3201C9.33554 7.32481 9.48225 7.52255 9.56744 7.69675C9.72969 8.04649 9.87341 8.40239 10.0171 8.75829C10.1249 9.02521 10.2327 9.29213 10.3483 9.55645C10.4051 9.68357 10.4429 9.82482 10.3956 9.96135C10.2888 10.2623 10.075 10.4994 9.86276 10.7347C9.79281 10.8122 9.72305 10.8895 9.65735 10.9689C9.5627 11.0772 9.57217 11.2325 9.64789 11.3455C10.3755 12.7518 11.6221 13.8232 13.1263 14.3352C13.2682 14.3964 13.4386 14.3823 13.538 14.2599C13.8218 13.9448 14.0903 13.6164 14.3425 13.2759C14.5593 12.9946 14.7479 13.0728 15.0299 13.1896L15.0335 13.1911L16.8507 14.0621C16.9927 14.1233 17.1347 14.2269 17.1205 14.3917C17.2151 15.6158 16.1125 16.5668 14.9577 16.6045C11.9763 16.3879 9.9413 14.7401 8.47423 12.838L8.37335 12.6986C7.92172 12.0754 7.46201 11.4409 7.21539 10.7005C6.96457 10.0037 6.9551 9.20805 7.25325 8.52067C7.7123 7.60259 8.11456 7.24948 9.12732 7.30597L9.11312 7.3201ZM4.86319 7.82387C5.7245 6.32198 7.07326 5.10729 8.65864 4.40107L8.66338 4.4199C10.0642 3.78902 11.6448 3.57244 13.1592 3.77489C14.7157 3.98658 16.1788 4.63676 17.3759 5.64872C18.5137 6.60692 19.3704 7.85288 19.8557 9.25514C20.4045 10.8516 20.4475 12.5772 19.9787 14.1987C19.4578 15.9767 18.3531 17.5298 16.8411 18.6102C15.8735 19.3027 14.7655 19.7767 13.5946 19.9991C11.5917 20.3768 9.51914 20.0063 7.77367 18.9586C7.75146 18.9465 7.72904 18.9323 7.70627 18.9179C7.62227 18.8647 7.53346 18.8085 7.43293 18.8456C6.91046 18.9767 6.38925 19.1129 5.86865 19.2489C5.38012 19.3765 4.89213 19.504 4.40414 19.6271L5.20866 16.6893C5.23876 16.6032 5.19108 16.529 5.14649 16.4596C5.135 16.4417 5.12371 16.4241 5.11401 16.4068C4.20064 15.0179 3.72739 13.3559 3.77472 11.6987C3.80311 10.3427 4.18171 9.0009 4.86319 7.82387Z",fill:"white"})]})}function Ls({isOpen:t,onClose:a,heading:r,subtext:n,placeholder:i,confirmLabel:d,onConfirm:o,initialValue:l="",countries:c=u.DEFAULT_COUNTRIES,initialCountryIso:j="IN"}){const f=c.find(w=>w.iso===j)??c[0],[p,h]=C.useState(l),g=u.getMaxLengthForCountry(f.code),b=u.validatePhoneByCountryCode(p,f.code).isValid&&p.length>0,y=()=>{b&&o(p,f)};return e.jsx(ye,{isOpen:t,onClose:a,showDragHandle:!0,closeButtonOutside:!0,ariaLabel:r,className:"min-h-[50vh]",overlayClassName:"pitru-paksh-common-root",footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(I,{variant:"primary",size:"xl",className:"w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",rightIcon:e.jsx(pe,{"aria-hidden":!0}),disabled:!b,onClick:y,children:d})}),children:e.jsxs("div",{className:"flex w-full flex-col gap-2 px-4 py-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#232323]",children:r}),n&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#6b7280]",children:n}),e.jsx(ie,{type:"tel",inputMode:"numeric",value:p,placeholder:i,prefix:e.jsxs("span",{className:"inline-flex shrink-0 items-center gap-1",children:[e.jsx(ks,{className:"size-6"}),e.jsx("span",{className:"text-[18px] leading-6 font-medium text-[#6b7280]",children:f.code})]}),maxLength:g,onChange:w=>h(w.replace(/\D/g,"").slice(0,g)),containerClassName:"mt-2 w-full gap-0",wrapperClassName:"h-14 gap-2 rounded-xl px-4",className:"text-[18px] placeholder:text-[#ced1d7]"})]})})}const Ss=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function As({isOpen:t,onClose:a,heading:r,subtext:n,confirmLabel:i,onConfirm:d,initialValue:o="",errorText:l="Please enter a valid email"}){const[c,j]=C.useState(o),[f,p]=C.useState(!1),h=c.trim(),g=Ss.test(h),b=f&&h.length>0&&!g,y=()=>{g&&d(h)};return e.jsx(u.BottomSheet,{isOpen:t,onClose:a,showDragHandle:!0,ariaLabel:r,footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(I,{variant:"primary",size:"xl",className:"w-full rounded-xl",rightIcon:e.jsx(pe,{"aria-hidden":!0}),disabled:!g,onClick:y,children:i})}),children:e.jsxs("div",{className:"flex w-full flex-col gap-2 px-4 py-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#232323]",children:r}),n&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#6b7280]",children:n}),e.jsx(ie,{type:"email",inputMode:"email",autoFocus:!0,value:c,placeholder:"you@example.com",error:b,supportingText:b?l:void 0,onChange:j,onBlur:()=>p(!0),containerClassName:"mt-2",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"})]})})}const Ps="https://srm-cdn.a4b.io/yoda/1788253585577.svg";function Ts({chipNumber:t,chipLabel:a,isAdded:r,onEditClick:n,editButtonAriaLabel:i="Edit",onExpandClick:d,expandButtonAriaLabel:o="Expand",imageUrl:l,imageAlt:c,imageComponent:j,ratingLabel:f,bookedLabel:p,title:h,learnMoreLabel:g,onLearnMoreClick:b,learnMoreHref:y,dateLabel:w,locationLabel:_,priceInfoLabel:v,onPriceInfoClick:P,price:B,cta:M,className:L=""}){const[G,Q]=C.useState(!1),W=r||G,U=W&&(f!=null||p!=null),Z=W&&(w!=null||_!=null);return e.jsxs("div",{className:`flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-3 pb-4 ${W?"gap-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]":"gap-4 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.12)]"} ${L}`,children:[e.jsxs("div",{className:`flex w-full items-center justify-between gap-1 px-3 ${W?"py-4":"pt-4"}`,children:[e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-1.5 rounded-2xl px-3 py-1.5",style:{background:"linear-gradient(90deg, #fcccdf -29.79%, #fef5e9 50.11%, rgba(254, 245, 233, 0) 100%)"},children:[e.jsx("span",{className:"flex size-5 shrink-0 items-center justify-center rounded-[10px] bg-white text-[11.5px] font-semibold text-gray-700",children:t}),e.jsx("p",{className:"min-w-0 flex-1 text-xs font-semibold leading-4 text-[#632E06]",children:a})]}),e.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[r&&n&&e.jsx("button",{type:"button",className:"flex size-8 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white p-0",onClick:n,"aria-label":i,children:e.jsx(Ja,{"aria-hidden":!0,className:"size-[18px] text-[#1D2125]"})}),!r&&e.jsx("button",{type:"button",className:"flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:()=>{Q(te=>!te),d?.()},"aria-label":o,"aria-expanded":G,children:e.jsx(At,{"aria-hidden":!0,className:`size-8 text-[#1D2125] ${G?"":"-scale-y-100"}`})})]})]}),W&&l!=null&&e.jsx("div",{className:"-mx-3 h-35 self-stretch overflow-hidden",children:j?e.jsx(j,{src:l,alt:c??"",className:"size-full object-cover"}):e.jsx("img",{src:l,alt:c,className:"size-full object-cover"})}),U&&e.jsxs("div",{className:"-mx-3 -mt-3 flex items-center gap-2.5 self-stretch px-4 py-1",style:{background:"linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)"},children:[f!=null&&e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]",children:f}),f!=null&&p!=null&&e.jsx("span",{className:"size-1.5 shrink-0 rounded-full bg-[#4b5513]","aria-hidden":!0}),p!=null&&e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]",children:p})]}),e.jsxs("div",{className:`flex w-full flex-col items-start gap-3 ${W&&l!=null?"mt-1":""}`,children:[e.jsx("div",{className:"flex w-full flex-col items-start gap-1",children:e.jsx("h3",{className:"text-base font-bold leading-[22px] text-[#361407]",children:h})}),W&&g!=null&&e.jsxs("a",{href:y,className:"inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",onClick:b,children:[g,e.jsx(gr,{"aria-hidden":!0,className:"size-3.5 text-[#F75E22]"})]}),Z&&e.jsxs(e.Fragment,{children:[e.jsx("hr",{className:"w-full border-t border-gray-100"}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-2",children:[w!=null&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx(Ct,{"aria-hidden":!0,className:"size-3.5 shrink-0 text-gray-700"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:w})]}),_!=null&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx("img",{src:Ps,alt:"","aria-hidden":!0,className:"size-3.5 shrink-0"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:_})]})]})]}),e.jsx("hr",{className:"w-full border-t border-gray-100"}),e.jsxs("div",{className:"flex w-full items-center justify-between",children:[e.jsxs("div",{className:"flex flex-col items-start gap-0.5",children:[v!=null&&e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500",children:v}),P&&e.jsx("button",{type:"button",className:"flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:P,"aria-label":"More info",children:e.jsx(de,{"aria-hidden":!0,className:"size-4 text-[#1D2125]"})})]}),e.jsx("p",{className:"whitespace-nowrap text-lg font-bold leading-6 text-[#159169]",children:B})]}),e.jsx("div",{className:"shrink-0",children:M})]})]})]})}const qe={en:{heading:"Check the details to book your puja procedure",subtext:"These names and gotra will be taken by the priest",ancestorsLabel:"Names of the ancestors:",performerLabel:"Name of the performer:",gotraLabel:"Gotra",whatsappLabel:"Whatsapp number",editDetailsLabel:"Edit Details",payButtonTemplate:"Pay {amount}",emailLabel:"Email"},hi:{heading:"अपनी पूजा बुक करने के लिए जानकारी की जांच करें",subtext:"ये नाम और गोत्र पंडित जी द्वारा लिए जाएंगे",ancestorsLabel:"पितृजन के नाम:",performerLabel:"कर्ता के नाम:",gotraLabel:"गोत्र",whatsappLabel:"Whatsapp नंबर",editDetailsLabel:"जानकारी बदले",payButtonTemplate:"{amount} भुगतान करें",emailLabel:"ईमेल"},kn:{heading:"ನಿಮ್ಮ ಪೂಜೆಯನ್ನು ಬುಕ್ ಮಾಡಲು ವಿವರಗಳನ್ನು ಪರಿಶೀಲಿಸಿ",subtext:"ಈ ಹೆಸರುಗಳು ಮತ್ತು ಗೋತ್ರಗಳನ್ನು ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಉಲ್ಲೇಖಿಸುತ್ತಾರೆ",ancestorsLabel:"ಪೂರ್ವಜರ ಹೆಸರುಗಳು:",performerLabel:"ಪೂಜೆ ಮಾಡುವವರ ಹೆಸರು:",gotraLabel:"ಗೋತ್ರ",whatsappLabel:"ವಾಟ್ಸಾಪ್ ಸಂಖ್ಯೆ",editDetailsLabel:"ವಿವರಗಳನ್ನು ತಿದ್ದುಪಡಿ ಮಾಡಿ",payButtonTemplate:"{amount} ಪಾವತಿಸಿ",emailLabel:"ಇಮೇಲ್"},te:{heading:"మీ పూజ విధి బుక్ చేయడానికి వివరాలు తనిఖీ చేయండి",subtext:"ఈ పేర్లు మరియు గోత్రాన్ని పండితులు చదువుతారు",ancestorsLabel:"పితరుల పేర్లు:",performerLabel:"పూజ చేసే వారి పేరు:",gotraLabel:"గోత్రం",whatsappLabel:"WhatsApp నంబర్",editDetailsLabel:"మార్చండి",payButtonTemplate:"{amount} చెల్లించండి",emailLabel:"ఇమెయిల్"}},aa=t=>qe[t]??qe.en;function ra({children:t}){return e.jsx("div",{className:"inline-flex shrink-0 items-center gap-1 rounded-full border border-[#e5e3fd] bg-[#f6f5ff] px-3 py-0.5",children:t})}function sa({isOpen:t,onClose:a,locale:r="en",ancestors:n,kartaNames:i,gotra:d,whatsappNumber:o,amount:l,onEditDetailsClick:c,onProceedPayment:j,className:f,isGlobal:p=!1}){const h=aa(r),g=h.payButtonTemplate.replace("{amount}",l);return e.jsx(ye,{isOpen:t,onClose:a,showDragHandle:!1,closeButtonOutside:!0,ariaLabel:h.heading,className:u.cn("rounded-t-[20px] bg-[#f7f8f9]",f),header:e.jsxs("div",{className:"flex w-full flex-col items-center gap-0.5 px-4 pt-4",children:[e.jsx("p",{className:"text-center text-[18px] leading-6 font-bold text-[#22272b]",children:h.heading}),e.jsx("p",{className:"text-center text-[14px] leading-5 font-normal text-[#6b7280]",children:h.subtext})]}),footer:e.jsxs("div",{className:"flex w-full items-center gap-3 px-4 pb-4",children:[e.jsx(I,{variant:"outline",size:"lg",className:"h-12 shrink-0 rounded-xl border-[#141414] text-[#1d2125] hover:bg-gray-50",onClick:c,children:h.editDetailsLabel}),e.jsx(I,{variant:"primary",size:"lg",className:"h-12 flex-1 rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",onClick:j,children:g})]}),children:e.jsx("div",{className:"flex w-full flex-col gap-4 px-4 py-3",children:e.jsxs("div",{className:"flex w-full flex-col gap-3 rounded-lg bg-white py-3",children:[e.jsxs("div",{className:"flex w-full flex-col gap-3 px-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#374151]",children:h.ancestorsLabel}),e.jsx("div",{className:"flex w-full flex-wrap items-center gap-2",children:n.map(b=>e.jsxs(ra,{children:[e.jsx("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:b.value}),b.label&&e.jsxs("span",{className:"text-[10px] leading-3.5 font-medium text-[#6b7280]",children:["(",b.label,")"]})]},b.id))})]}),e.jsx("div",{className:"h-px w-full bg-[#e5e7eb]"}),e.jsxs("div",{className:"flex w-full flex-col gap-3 px-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#374151]",children:h.performerLabel}),e.jsx("div",{className:"flex w-full flex-wrap items-center gap-2",children:i.filter(b=>b.trim().length>0).map((b,y)=>e.jsx(ra,{children:e.jsxs("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:[y+1,". ",b]})},y))})]}),e.jsx("div",{className:"h-px w-full bg-[#e5e7eb]"}),e.jsxs("div",{className:"flex w-full flex-col gap-2 px-3",children:[e.jsxs("div",{className:"flex w-full items-start gap-1",children:[e.jsx("span",{className:"flex-1 text-[12px] leading-4 font-semibold text-[#374151]",children:h.gotraLabel}),e.jsx("span",{className:"shrink-0 text-[12px] leading-4 font-semibold text-[#374151]",children:d})]}),e.jsxs("div",{className:"flex w-full items-start gap-1",children:[e.jsx("span",{className:"flex-1 text-[12px] leading-4 font-semibold text-[#374151]",children:p?h.emailLabel:h.whatsappLabel}),e.jsx("span",{className:"shrink-0 text-[12px] leading-4 font-semibold text-[#374151]",children:o})]})]})]})})})}const Ye={en:{heading:"I do not know my Lineage(Gotra), what should I do?",body:"If you do not know your lineage (gotra), in this situation, you can consider your lineage as Kshyapa because Rishi Kshyapa is a sage whose descendants can be found in every caste. Therefore, he is considered a revered sage. The priest will chant these details during the worship.",okayLabel:"Okay",closeButtonAriaLabel:"Close"},hi:{heading:"मुझे अपना गोत्र पता नहीं, क्या उपाई है?",body:"अगर आप अपना गोत्र नहीं जानते हैं, तो ऐसी स्थिति में आप अपना गोत्र कश्यप मान सकते हैं, क्योंकि ऋषि कश्यप एक ऐसे ऋषि थे, जिनके वंशज हर जाति में पाए जाते हैं। इसलिए, उन्हें एक पूजनीय ऋषि माना जाता है। पूजा के दौरान पंडित जी कश्यप गोत्र का ही उच्चारण करेंगे।",okayLabel:"ठीक है",closeButtonAriaLabel:"बंद करें"},kn:{heading:"ನನಗೆ ನನ್ನ ಗೋತ್ರ ತಿಳಿದಿಲ್ಲ, ನಾನು ಏನು ಮಾಡಬೇಕು?",body:"ನಿಮಗೆ ನಿಮ್ಮ ಗೋತ್ರ ತಿಳಿದಿಲ್ಲದಿದ್ದರೆ, ಕಶ್ಯಪ ಋಷಿಯ ವಂಶಸ್ಥರು ಪ್ರತಿಯೊಂದು ಜಾತಿಯಲ್ಲಿಯೂ ಕಂಡುಬರುವುದರಿಂದ ನಿಮ್ಮ ಗೋತ್ರವನ್ನು ಕಶ್ಯಪ ಎಂದು ಪರಿಗಣಿಸಬಹುದು. ಆದ್ದರಿಂದ ಅವರನ್ನು ಪೂಜ್ಯ ಋಷಿ ಎಂದು ಪರಿಗಣಿಸಲಾಗುತ್ತದೆ. ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಈ ವಿವರಗಳನ್ನು ಉಚ್ಚರಿಸುತ್ತಾರೆ.",okayLabel:"ಸರಿ",closeButtonAriaLabel:"ಮುಚ್ಚಿ"},te:{heading:"నాకు నా గోత్రం తెలియదు, నేను ఏమి చేయాలి?",body:"మీకు మీ గోత్రం తెలియకపోతే, ఈ పరిస్థితిలో మీరు మీ గోత్రాన్ని కశ్యపగా భావించవచ్చు, ఎందుకంటే కశ్యప ఋషి వంశస్థులు ప్రతి కులంలో కనిపిస్తారు. అందువల్ల, ఆయనను ఒక పూజనీయ ఋషిగా భావిస్తారు. పూజ సమయంలో పండితుడు ఈ వివరాలను కశ్యప గోత్రంగానే ఉచ్చరిస్తారు.",okayLabel:"సరే",closeButtonAriaLabel:"మూసివేయండి"}},Qe=t=>Ye[t]??Ye.en;function na({isOpen:t,onClose:a,locale:r="en",className:n}){const i=Qe(r);return e.jsx(ye,{isOpen:t,onClose:a,showCloseButton:!1,showDragHandle:!1,ariaLabel:i.heading,className:u.cn("rounded-t-[20px]",n),header:e.jsxs("div",{className:"flex w-full items-start gap-3 px-4 pt-5 pb-3",children:[e.jsx("p",{className:"flex-1 text-[18px] leading-6 font-bold text-[#22272b]",children:i.heading}),e.jsx("button",{type:"button",onClick:a,"aria-label":i.closeButtonAriaLabel,className:"flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#22272b]",children:e.jsx(pr,{size:24,"aria-hidden":!0})})]}),footer:e.jsx("div",{className:"w-full px-4 pb-5",children:e.jsx(I,{variant:"primary",size:"xl",className:"w-full rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",onClick:a,children:i.okayLabel})}),children:e.jsx("p",{className:"w-full px-4 pb-3 text-[14px] leading-5.5 font-normal text-[#6b7280]",children:i.body})})}const Je={en:{topBarTitle:"Fill in necessary details for Puja",backButtonAriaLabel:"Go back",whatsappNumberLabel:"Add your WhatsApp number",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"Puja updates will be sent to this number",emailLabel:"Add your email",emailPlaceholder:"Enter your email",emailHelperText:"Puja updates will be sent to this email",kartaNameSectionTitle:"Enter the name of the people performing the puja for their ancestors (Karta)",kartaNameLabel:"Karta's name",kartaNameOptionalSuffix:"(optional)",kartaNamePlaceholder:"Name to be taken in the Puja",gotraFieldLabel:"Enter Karta’s Gotra (person performing puja)*",gotraFieldPlaceholder:"Enter Karta’s Gotra (if known)",gotraUnknownCheckboxLabel:"If you don’t know your Gotra, select this",gotraUnknownHelperText:"As per scriptures, the Sankalp can be taken with Kashyap Gotra, allowing you to receive the full benefit of the puja",ancestorNameSectionTitle:"Who is this puja for?",ancestorNameSectionSubtitle:"Enter the name of your ancestors",ancestorNameFieldSuffix:"name",sarvaPitruSectionSubtitle:"Your ancestors",sarvaPitruFieldValue:"For all ancestors",sarvaPitruHelperText:"This will be recited by the Pandit during puja",latePrefixLabel:"Late",proceedCtaLabel:"Proceed to fill details",kashyapGotraLabel:"Kashyap"},hi:{topBarTitle:"पूजा के लिए ज़रूरी विवरण भरे",backButtonAriaLabel:"वापस जाएं",whatsappNumberLabel:"अपना व्हाट्सएप नंबर जोड़ें",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"पूजा से जुड़ी जानकारी इस नंबर पर भेजी जाएगी",emailLabel:"अपना ईमेल जोड़ें",emailPlaceholder:"अपना ईमेल दर्ज करें",emailHelperText:"पूजा से जुड़ी जानकारी इस ईमेल पर भेजी जाएगी",kartaNameSectionTitle:"पितरों के लिए पूजा करने वाले व्यक्ति का नाम भरे (कर्ता)",kartaNameLabel:"कर्ता का नाम",kartaNameOptionalSuffix:"(वैकल्पिक)",kartaNamePlaceholder:"पूजा में लिया जाने वाला नाम",gotraFieldLabel:"कर्ता का गोत्र भरें (पूजा करने वाले व्यक्ति का)*",gotraFieldPlaceholder:"कर्ता का गोत्र भरें (यदि ज्ञात हो)",gotraUnknownCheckboxLabel:"अगर आपको गोत्र नहीं पता तो इसे चुनें",gotraUnknownHelperText:"शास्त्रों के अनुसार कश्यप गोत्र से पूजा में संकल्प लिया जा सकता है इससे आपको पूजा का पूर्ण लाभ प्राप्त होता है",ancestorNameSectionTitle:"पूजा-विधि किन पितृ के लिए बुक कर रहे है?",ancestorNameSectionSubtitle:"पितृजन का नाम भरें",ancestorNameFieldSuffix:"का नाम",sarvaPitruSectionSubtitle:"पितृजन का नाम",sarvaPitruFieldValue:"सर्वपितृ के लिए",sarvaPitruHelperText:"यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा",latePrefixLabel:"स्व.",proceedCtaLabel:"आगे बढ़ें, और डिटेल्स भरें",kashyapGotraLabel:"कश्यप"},kn:{topBarTitle:"ಪೂಜೆಗಾಗಿ ಅಗತ್ಯ ವಿವರಗಳನ್ನು ನಮೂದಿಸಿ",backButtonAriaLabel:"ಹಿಂದೆ ಹೋಗಿ",whatsappNumberLabel:"ನಿಮ್ಮ ವಾಟ್ಸಾಪ್ ಸಂಖ್ಯೆಯನ್ನು ಸೇರಿಸಿ",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"ಪೂಜೆಯ ಮಾಹಿತಿಯನ್ನು ಈ ಸಂಖ್ಯೆಗೆ ಕಳುಹಿಸಲಾಗುತ್ತದೆ",emailLabel:"ನಿಮ್ಮ ಇಮೇಲ್ ಸೇರಿಸಿ",emailPlaceholder:"ನಿಮ್ಮ ಇಮೇಲ್ ನಮೂದಿಸಿ",emailHelperText:"ಪೂಜೆಯ ಮಾಹಿತಿಯನ್ನು ಈ ಇಮೇಲ್ಗೆ ಕಳುಹಿಸಲಾಗುತ್ತದೆ",kartaNameSectionTitle:"ತಮ್ಮ ಪೂರ್ವಜರಿಗಾಗಿ ಪೂಜೆ ಮಾಡುವ ವ್ಯಕ್ತಿಗಳ ಹೆಸರನ್ನು ನಮೂದಿಸಿ (ಕರ್ತೃ)",kartaNameLabel:"ಕರ್ತೃವಿನ ಹೆಸರು",kartaNameOptionalSuffix:"(ಐಚ್ಛಿಕ)",kartaNamePlaceholder:"ಪೂಜೆಯಲ್ಲಿ ಉಚ್ಚರಿಸಬೇಕಾದ ಹೆಸರು",gotraFieldLabel:"ಕರ್ತೃವಿನ ಗೋತ್ರವನ್ನು ನಮೂದಿಸಿ (ಪೂಜೆ ಮಾಡುವ ವ್ಯಕ್ತಿ)*",gotraFieldPlaceholder:"ಕರ್ತೃವಿನ ಗೋತ್ರವನ್ನು ನಮೂದಿಸಿ (ತಿಳಿದಿದ್ದರೆ)",gotraUnknownCheckboxLabel:"ನಿಮ್ಮ ಗೋತ್ರ ತಿಳಿದಿಲ್ಲದಿದ್ದರೆ, ಇದನ್ನು ಆಯ್ಕೆಮಾಡಿ",gotraUnknownHelperText:"ಶಾಸ್ತ್ರಗಳ ಪ್ರಕಾರ, ಕಶ್ಯಪ ಗೋತ್ರದೊಂದಿಗೆ ಸಂಕಲ್ಪವನ್ನು ಮಾಡಬಹುದು, ಇದು ನಿಮಗೆ ಪೂಜೆಯ ಸಂಪೂರ್ಣ ಫಲವನ್ನು ಪಡೆಯಲು ಅನುವು ಮಾಡಿಕೊಡುತ್ತದೆ",ancestorNameSectionTitle:"ಈ ಪೂಜೆ ಯಾರಿಗಾಗಿ?",ancestorNameSectionSubtitle:"ನಿಮ್ಮ ಪೂರ್ವಜರ ಹೆಸರನ್ನು ನಮೂದಿಸಿ",ancestorNameFieldSuffix:"ಹೆಸರು",sarvaPitruSectionSubtitle:"ನಿಮ್ಮ ಪೂರ್ವಜರು",sarvaPitruFieldValue:"ಎಲ್ಲಾ ಪೂರ್ವಜರಿಗಾಗಿ",sarvaPitruHelperText:"ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಇದನ್ನು ಉಚ್ಚರಿಸುತ್ತಾರೆ",latePrefixLabel:"ದಿವಂಗತ",proceedCtaLabel:"ವಿವರಗಳನ್ನು ನಮೂದಿಸಲು ಮುಂದುವರಿಯಿರಿ",kashyapGotraLabel:"ಕಶ್ಯಪ"},te:{topBarTitle:"పూజ కోసం అవసరమైన వివరాలు నమోదు చేయండి",backButtonAriaLabel:"వెనక్కి వెళ్ళండి",whatsappNumberLabel:"మీ వాట్సాప్ నంబర్ జోడించండి",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"పూజ నవీకరణలు ఈ నంబర్కు పంపబడతాయి",emailLabel:"మీ ఇమెయిల్ జోడించండి",emailPlaceholder:"మీ ఇమెయిల్ నమోదు చేయండి",emailHelperText:"పూజ నవీకరణలు ఈ ఇమెయిల్కు పంపబడతాయి",kartaNameSectionTitle:"పితరుల కోసం పూజ చేసే వ్యక్తుల పేరు నమోదు చేయండి (కర్త)",kartaNameLabel:"కర్త పేరు",kartaNameOptionalSuffix:"(ఐచ్ఛికం)",kartaNamePlaceholder:"పూజలో తీసుకోవలసిన పేరు",gotraFieldLabel:"*కర్త గోత్రం నమోదు చేయండి (పూజ చేసే వ్యక్తి)",gotraFieldPlaceholder:"కర్త గోత్రం నమోదు చేయండి (తెలిస్తే)",gotraUnknownCheckboxLabel:"మీ గోత్రం తెలియకపోతే, ఇది ఎంచుకోండి",gotraUnknownHelperText:"శాస్త్రాల ప్రకారం, సంకల్పం కశ్యప గోత్రంతో చేయవచ్చు, ఇది పూజ యొక్క పూర్తి ఫలం పొందడానికి అనుమతిస్తుంది",ancestorNameSectionTitle:"ఈ పూజ ఎవరి కోసం?",ancestorNameSectionSubtitle:"మీ పితరుల పేరు నమోదు చేయండి",ancestorNameFieldSuffix:"పేరు",sarvaPitruSectionSubtitle:"మీ పితరులు",sarvaPitruFieldValue:"సర్వ పితరుల కోసం",sarvaPitruHelperText:"ఇది పూజ సమయంలో పండితుడు ఉచ్చరిస్తారు",latePrefixLabel:"దివంగత",proceedCtaLabel:"వివరాలు నమోదు చేయండి",kashyapGotraLabel:"కశ్యప"},kn:{topBarTitle:"ಪೂಜೆಗಾಗಿ ಅಗತ್ಯವಿರುವ ವಿವರಗಳನ್ನು ಭರ್ತಿ ಮಾಡಿ",whatsappNumberLabel:"ನಿಮ್ಮ ವಾಟ್ಸಾಪ್ ನಂಬರ್ ಹಾಕಿ",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"ಪೂಜೆಯ ಅಪ್ಡೇಟ್ಗಳನ್ನು ಈ ಸಂಖ್ಯೆಗೆ ಕಳುಹಿಸಲಾಗುತ್ತದೆ",kartaNameSectionTitle:"ತಮ್ಮ ಪೂರ್ವಜರಿಗಾಗಿ ಪೂಜೆ ಮಾಡುವ ವ್ಯಕ್ತಿಗಳ ಹೆಸರನ್ನು ನಮೂದಿಸಿ (ಕರ್ತೃ)",kartaNameLabel:"ಕರ್ತೃವಿನ ಹೆಸರು",kartaNameOptionalSuffix:"(ಐಚ್ಛಿಕ)",kartaNamePlaceholder:"ಪೂಜೆಯಲ್ಲಿ ಉಲ್ಲೇಖಿಸಬೇಕಾದ ಹೆಸರು",gotraFieldLabel:"ಕರ್ತೃವಿನ ಗೋತ್ರವನ್ನು ನಮೂದಿಸಿ (ಪೂಜೆ ನೆರವೇರಿಸುವ ವ್ಯಕ್ತಿ)*",gotraFieldPlaceholder:"ಕರ್ತೃ ಗೋತ್ರ ನಮೂದಿಸಿ (ತಿಳಿದಿದ್ದರೆ)",gotraUnknownCheckboxLabel:"ನಿಮ್ಮ ಗೋತ್ರ ತಿಳಿದಿಲ್ಲದಿದ್ದರೆ, ಇದನ್ನು ಆಯ್ಕೆಮಾಡಿ",gotraUnknownHelperText:"ಶಾಸ್ತ್ರಗಳ ಪ್ರಕಾರ, ಕಶ್ಯಪ ಗೋತ್ರದೊಂದಿಗೆ ಸಂಕಲ್ಪವನ್ನು ಮಾಡಬಹುದು, ಇದು ನಿಮಗೆ ಪೂಜೆಯ ಸಂಪೂರ್ಣ ಫಲವನ್ನು ಪಡೆಯಲು ಅನುವು ಮಾಡಿಕೊಡುತ್ತದೆ",ancestorNameSectionTitle:"ಈ ಪೂಜೆ ಯಾರಿಗಾಗಿ?",ancestorNameSectionSubtitle:"ನಿಮ್ಮ ಪೂರ್ವಜರ ಹೆಸರನ್ನು ನಮೂದಿಸಿ",ancestorNameFieldSuffix:"ಹೆಸರು",latePrefixLabel:"ದಿವಂಗತ",proceedCtaLabel:"ವಿವರಗಳನ್ನು ಭರ್ತಿ ಮಾಡಲು ಮುಂದುವರಿಯಿರಿ",kashyapGotraLabel:"ಕಶ್ಯಪ"}},ia=t=>{const a=Je.en,r=Je[t];return r?Object.fromEntries(Object.keys(a).map(n=>[n,r[n]||a[n]])):a},la={en:["1st","2nd","3rd","4th","5th","6th","7th","8th","9th","10th"],hi:["पहले","दूसरे","तीसरे","चौथे","पांचवें","छठे","सातवें","आठवें","नौवें","दसवें"],kn:["1ನೇ","2ನೇ","3ನೇ","4ನೇ","5ನೇ","6ನೇ","7ನೇ","8ನೇ","9ನೇ","10ನೇ"],te:["1వ","2వ","3వ","4వ","5వ","6వ","7వ","8వ","9వ","10వ"],kn:["1ನೇ","2ನೇ","3ನೇ","4ನೇ","5ನೇ","6ನೇ","7ನೇ","8ನೇ","9ನೇ","10ನೇ"]},Os={en:"th",hi:"वें",kn:"ನೇ",te:"వ",kn:"ನೇ"},oa=(t,a)=>{const r=a in la?a:"en";return la[r][t-1]??`${t}${Os[r]}`},Xe=40,et="+91",Es=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function Ms({locale:t="en",values:a,onValuesChange:r,isGlobal:n=!1,gotraOptions:i=[],isSarvaPitru:d=!1,onBackClick:o,amount:l,ritualsCountLabel:c,onPriceInfoClick:j,showPriceInfoIcon:f=!0,canProceed:p,copy:h,proceedCtaLabel:g,proceedButtonProps:b,onProceedPayment:y,className:w}){const[_,v]=C.useState(!1),[P,B]=C.useState(!1),M=ia(t),L=h?Object.fromEntries(Object.keys(M).map(k=>[k,h[k]||M[k]])):M,G=Qe(t),Q=t==="kn"?"en":t,W=k=>{const $=oa(k+1,t);return k===0?`*${$} ${L.kartaNameLabel}`:`${$} ${L.kartaNameLabel} ${L.kartaNameOptionalSuffix}`},U=k=>r({...a,...k}),Z=(k,$)=>{const ee=[...a.kartaNames];ee[k]=$,U({kartaNames:ee})},te=(k,$)=>{U({ancestors:a.ancestors.map(ee=>ee.id===k?{...ee,value:$}:ee)})},[F,H]=C.useState(!1),K=C.useRef(null);C.useEffect(()=>{if(!F)return;const k=$=>{K.current&&!K.current.contains($.target)&&H(!1)};return document.addEventListener("mousedown",k),()=>document.removeEventListener("mousedown",k)},[F]);const J=i.filter(k=>k.toLowerCase().includes(a.gotra.trim().toLowerCase())),re=k=>{U({gotra:k}),H(!1)},se=()=>{const k=!a.isGotraUnknown;U({isGotraUnknown:k,gotra:k?L.kashyapGotraLabel:""})},ne=u.getMaxLengthForCountry(et),le=u.validatePhoneByCountryCode(a.whatsappNumber,et).isValid,oe=Es.test(a.email),Ee=a.whatsappNumber.length>0&&!le,Me=a.email.length>0&&!oe,at=(n?oe:a.whatsappNumber.trim().length>0&&le)&&a.kartaNames[0].trim().length>0&&a.gotra.trim().length>0&&a.ancestors.every(k=>k.value.trim().length>0),rt=p??at,Ce=a.gotra.trim().length>0?a.gotra:L.kashyapGotraLabel,Ne=n?a.email:a.whatsappNumber;return e.jsxs("div",{className:u.cn("flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]",w),children:[e.jsxs("div",{className:"flex w-full items-center gap-3 border-b border-[#f3f4f6] bg-white px-4 py-3 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.08)] ",children:[e.jsx("button",{type:"button",onClick:o,"aria-label":L.backButtonAriaLabel,className:"flex size-8 shrink-0 items-center justify-center rounded-lg border-0 bg-transparent p-0 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.1)]",children:e.jsx(ze,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx("p",{className:"text-[18px] leading-5 font-bold text-[#1d2125]",children:L.topBarTitle})]}),e.jsx("div",{className:"flex w-full flex-1 flex-col items-center gap-4 px-4 py-4",children:e.jsxs("div",{className:"flex w-full max-w-md flex-col gap-4",children:[e.jsxs("div",{className:"flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white p-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-semibold text-[#1d2125]",children:n?L.emailLabel:L.whatsappNumberLabel}),n?e.jsx(ie,{type:"email",inputMode:"email",value:a.email,placeholder:L.emailPlaceholder,error:Me,onChange:k=>U({email:k}),containerClassName:"w-full gap-0",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"}):e.jsxs("div",{className:"flex w-full items-start gap-1",children:[e.jsxs("div",{className:"flex h-14 shrink-0 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2",children:[e.jsx("span",{className:"text-[20px] leading-7","aria-hidden":!0,children:u.getFlagEmoji("IN")}),e.jsx("span",{className:"text-[18px] leading-6 font-medium text-[#1d2125]",children:et})]}),e.jsx(ie,{type:"tel",inputMode:"numeric",value:a.whatsappNumber,placeholder:L.whatsappNumberPlaceholder,maxLength:ne,error:Ee,onChange:k=>U({whatsappNumber:k.replace(/\D/g,"").slice(0,ne)}),containerClassName:"w-auto flex-1 gap-0",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"})]}),e.jsx("p",{className:"px-3 text-[12px] leading-4 font-medium text-[#6b7280]",children:n?L.emailHelperText:L.whatsappNumberHelperText})]}),e.jsxs("div",{className:"flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3",children:[e.jsxs("div",{className:"flex w-full items-center gap-2.5",children:[e.jsx(fe,{size:"sm",icon:e.jsx(Zr,{size:20,className:"text-[#f38415]","aria-hidden":!0})}),e.jsx("p",{className:"flex-1 text-[16px] leading-[22px] font-bold text-[#22272b]",children:L.kartaNameSectionTitle})]}),e.jsx("div",{className:"flex w-full flex-col gap-2.5",children:a.kartaNames.map((k,$)=>e.jsx(ie,{label:W($),placeholder:L.kartaNamePlaceholder,value:k,maxLength:Xe,showCharCount:!0,wrapperClassName:u.cn("h-12 rounded-xl",$===0&&"bg-[#f3f4f6]"),onChange:ee=>Z($,ee)},$))})]}),e.jsxs("div",{className:"flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3",children:[e.jsxs("div",{ref:K,className:"relative flex w-full flex-col gap-2",children:[e.jsx("label",{htmlFor:"karta-gotra",className:"text-[14px] leading-5 font-semibold text-[#1d2125]",children:L.gotraFieldLabel}),e.jsxs("div",{className:"flex h-12 w-full items-center gap-2 rounded-xl border border-[#d1d5db] bg-white px-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",children:[e.jsx("input",{id:"karta-gotra",value:a.gotra,placeholder:L.gotraFieldPlaceholder,maxLength:Xe,autoComplete:"off",onFocus:()=>H(!0),onChange:k=>{U({gotra:k.target.value}),H(!0)},className:"w-full min-w-0 flex-1 border-0 bg-transparent p-0 text-[16px] leading-5.5 font-medium text-[#374151] placeholder:text-[#ced1d7] focus:outline-none focus:ring-0"}),e.jsx("button",{type:"button",onClick:()=>B(!0),"aria-label":G.heading,className:"flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",children:e.jsx(de,{size:24,"aria-hidden":!0})})]}),F&&J.length>0&&e.jsx("div",{role:"listbox",className:"absolute top-[calc(100%+4px)] left-0 z-10 max-h-60 w-full overflow-y-auto rounded-xl border border-[#e5e7eb] bg-white py-1 shadow-lg",children:J.map(k=>e.jsx("button",{type:"button",role:"option","aria-selected":k===a.gotra,onClick:()=>re(k),className:u.cn("flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",k===a.gotra&&"bg-[#fff9e9]"),children:k},k))})]}),e.jsxs("div",{className:"flex w-full flex-col gap-1",children:[e.jsxs("button",{type:"button",onClick:se,"aria-pressed":a.isGotraUnknown,className:"flex items-center gap-1 border-0 bg-transparent p-0",children:[a.isGotraUnknown?e.jsx(br,{size:24,className:"shrink-0 text-[#f75e22]","aria-hidden":!0}):e.jsx(fr,{size:24,className:"shrink-0 text-[#d1d5db]","aria-hidden":!0}),e.jsx("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:L.gotraUnknownCheckboxLabel})]}),e.jsx("p",{className:"text-[10px] leading-[14px] font-medium text-[#6b7280]",children:L.gotraUnknownHelperText})]})]}),e.jsxs("div",{className:"flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white",children:[e.jsxs("div",{className:"flex w-full items-center gap-2.5 px-3 pt-3 pb-2",children:[e.jsx(fe,{size:"sm",icon:e.jsx(Kr,{size:20,className:"text-[#f38415]","aria-hidden":!0})}),e.jsxs("div",{className:"flex flex-1 flex-col",children:[e.jsx("p",{className:"text-[16px] leading-[22px] font-bold text-[#22272b]",children:L.ancestorNameSectionTitle}),e.jsx("p",{className:"text-[14px] leading-5 font-normal text-[#6b7280]",children:d?L.sarvaPitruSectionSubtitle:L.ancestorNameSectionSubtitle})]})]}),e.jsxs("div",{className:"flex w-full flex-col gap-2.5 p-3 pt-0",children:[d&&e.jsxs("div",{className:"flex w-full flex-col items-start gap-1",children:[e.jsx("div",{className:"flex h-12 w-full items-center rounded-xl border border-[#d1d5db] bg-[#f3f4f6] px-3",children:e.jsx("span",{className:"text-[16px] leading-5.5 font-medium text-[#374151]",children:L.sarvaPitruFieldValue})}),e.jsx("p",{className:"px-3 text-[12px] leading-4 font-medium text-[#6b7280]",children:L.sarvaPitruHelperText})]}),a.ancestors.map(k=>e.jsx(ie,{label:`*${k.label} ${L.ancestorNameFieldSuffix}`,value:k.value,prefix:L.latePrefixLabel,placeholder:L.kartaNamePlaceholder,maxLength:Xe,showCharCount:!0,wrapperClassName:"h-12 rounded-xl",onChange:$=>te(k.id,$)},k.id))]})]})]})}),e.jsx("div",{className:"sticky bottom-0 w-full",children:e.jsx(Pe,{amount:l,subtitle:c,onInfoClick:j,showInfoIcon:f,proceedLabel:g??L.proceedCtaLabel,onProceed:()=>v(!0),growProceedButton:!0,proceedButtonProps:{disabled:!rt,...b}})}),e.jsx(sa,{isGlobal:n,isOpen:_,onClose:()=>v(!1),onEditDetailsClick:()=>v(!1),locale:Q,ancestors:d?[{id:"sarva-pitru",label:"",value:L.sarvaPitruFieldValue},...a.ancestors]:a.ancestors,kartaNames:a.kartaNames,gotra:Ce,whatsappNumber:Ne,amount:l,onProceedPayment:()=>{v(!1),y()}}),e.jsx(na,{isOpen:P,onClose:()=>B(!1),locale:Q})]})}function Rs(t=3,a=[]){return{whatsappNumber:"",email:"",kartaNames:Array.from({length:Math.max(1,t)},()=>""),gotra:"",isGotraUnknown:!1,ancestors:a}}const ca="https://srm-cdn.a4b.io/yoda/1788256892735.svg",Bs="https://srm-cdn.a4b.io/yoda/1788256910547.svg",Fs="https://srm-cdn.a4b.io/yoda/1788256867970.svg",Ds="https://srm-cdn.a4b.io/yoda/1788256921651.svg",Is="https://srm-cdn.a4b.io/yoda/1788256935709.svg",zs="https://srm-cdn.a4b.io/yoda/1788256949665.svg";function Gs({variant:t}){return e.jsxs("div",{className:"relative size-10 shrink-0 overflow-clip rounded-full",children:[t==="pandits"&&e.jsxs(e.Fragment,{children:[e.jsx("img",{src:ca,alt:"","aria-hidden":!0,className:"absolute left-[-6px] top-[12.2px] size-[25.6px]"}),e.jsx("img",{src:ca,alt:"","aria-hidden":!0,className:"absolute left-[21px] top-[12.2px] size-[25.6px]"}),e.jsx("img",{src:Bs,alt:"","aria-hidden":!0,className:"absolute left-[1.98px] top-[5.98px] size-[36.045px]"})]}),t==="gotra"&&e.jsxs("div",{className:"absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip",children:[e.jsx("div",{className:"absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]"}),e.jsx("div",{className:"absolute inset-[0_9.1%_0_9.07%]",children:e.jsx("img",{src:Fs,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})})]}),t==="video"&&e.jsxs("div",{className:"absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip",children:[e.jsx("div",{className:"absolute inset-[9.31%_4.02%_27.36%_4.17%]",children:e.jsx("img",{src:Ds,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})}),e.jsx("div",{className:"absolute inset-[30.03%_39.59%_48.06%_40.83%]",children:e.jsx("img",{src:Is,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})}),e.jsx("div",{className:"absolute inset-[80%_4.16%_9.17%_5.42%]",children:e.jsx("img",{src:zs,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})})]})]})}const Us="https://srm-cdn.a4b.io/yoda/1788256961374.svg",da="https://srm-cdn.a4b.io/yoda/1788256971870.svg";function Hs({badgeLabel:t,headingPrefix:a,ritualCount:r,ritualCountLabel:n,headingSuffix:i,trustItems:d}){return e.jsxs("section",{className:"flex w-full flex-col items-center gap-3 rounded-b-[32px] border-b-2 border-[#FCCF9A] bg-linear-to-b from-white to-[#FFEFDB] px-5 py-4",children:[e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsxs("div",{className:"relative flex size-14 items-center justify-center",children:[e.jsx("img",{src:da,alt:"","aria-hidden":!0,className:"pointer-events-none absolute inset-0 size-full",style:{maskImage:"linear-gradient(to bottom, black 0%, black 45%, transparent 70%)",WebkitMaskImage:"linear-gradient(to bottom, black 0%, black 45%, transparent 70%)"}}),e.jsx("img",{src:da,alt:"","aria-hidden":!0,className:"pointer-events-none absolute inset-0 size-full blur-sm",style:{maskImage:"linear-gradient(to bottom, transparent 45%, black 70%, black 100%)",WebkitMaskImage:"linear-gradient(to bottom, transparent 45%, black 70%, black 100%)"}}),e.jsx("img",{src:Us,alt:"Sri Mandir",className:"relative z-10 h-[53px] w-auto object-contain"})]}),e.jsxs("p",{className:"text-xs font-semibold text-[#d51f68]",children:["✦ ",t," ✦"]})]}),e.jsxs("p",{className:"px-4 text-center text-[18px] font-bold leading-6 text-[#22272b]",children:[a,r," ",n," ",i]}),e.jsx("div",{className:"flex w-full items-start justify-center gap-3",children:d.map(o=>e.jsxs("div",{className:"flex w-25 flex-col items-center gap-1 py-2",children:[e.jsx(Gs,{variant:o.variant}),e.jsx("p",{className:"w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]",children:o.text})]},o.variant))})]})}const $s=40;function Vs({isOpen:t,onClose:a,onSave:r,title:n,fieldLabel:i,namePrefix:d,namePlaceholder:o,addMoreLabel:l,saveCta:c,maxNameLength:j=$s}){const[f,p]=C.useState([""]),h=()=>{p([""]),a()},g=()=>{const y=f.map(w=>w.trim()).filter(Boolean);y.length!==0&&(r(y),h())},b=f.some(y=>y.trim().length>0);return e.jsx(u.BottomSheet,{isOpen:t,onClose:h,showDragHandle:!0,closeButtonOutside:!0,ariaLabel:n,header:e.jsx("p",{className:"px-4 py-2 text-center text-[16px] leading-5.5 font-semibold text-[#47250c]",children:n}),footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(I,{variant:"primary",size:"xl",className:"w-full rounded-xl",rightIcon:e.jsx(pe,{"aria-hidden":!0}),disabled:!b,onClick:g,children:c})}),children:e.jsxs("div",{className:"flex w-full flex-col gap-2.5 px-4 py-3",children:[f.map((y,w)=>e.jsx(ie,{label:i,placeholder:o,value:y,prefix:d,maxLength:j,showCharCount:!0,onChange:_=>p(v=>v.map((P,B)=>B===w?_:P))},w)),e.jsx(I,{variant:"ghost",size:"sm",className:"self-start text-[#f75e22]",leftIcon:e.jsx(xr,{"aria-hidden":!0}),onClick:()=>p(y=>[...y,""]),children:l})]})})}function ua({label:t,avatarUrl:a,state:r,onClick:n}){return e.jsxs("button",{type:"button",disabled:!n,onClick:n,className:`flex w-18 shrink-0 flex-col items-center gap-1 rounded-xl px-2 disabled:pointer-events-none ${r==="enabled"?"bg-linear-to-b from-transparent to-[#fef5e9] border-b border-[#f99724] py-1":"bg-transparent py-0.5"}`,children:[e.jsxs("div",{className:"relative flex size-8 shrink-0 items-center justify-center",children:[e.jsx("div",{className:`size-full overflow-hidden rounded-full bg-[#fff9e9] ${r==="disabled"?"opacity-60 grayscale":""}`,children:e.jsx("img",{src:a,alt:"",className:"size-full object-cover"})}),r==="filled"&&e.jsx("span",{className:"absolute -right-0.5 -bottom-0.5 flex size-3.5 items-center justify-center rounded-full bg-[#159169]",children:e.jsx(Ur,{size:8,className:"text-white","aria-hidden":!0})})]}),e.jsx("p",{className:`w-full text-center text-[10px] leading-4.5 font-bold wrap-break-word ${r==="enabled"?"text-[#f75e22]":r==="filled"?"text-[#374151]":"text-[#9ca3af]"}`,children:t})]})}const pa="all",fa=[{id:pa,labelKey:"selectAncestorsOptionAll"},{id:"mother",labelKey:"selectAncestorsOptionMother",gender:"female"},{id:"father",labelKey:"selectAncestorsOptionFather",gender:"male"},{id:"wife",labelKey:"selectAncestorsOptionWife",gender:"female"},{id:"husband",labelKey:"selectAncestorsOptionHusband",gender:"male"},{id:"grandfatherPaternal",labelKey:"selectAncestorsOptionGrandfatherPaternal",gender:"male"},{id:"grandmotherPaternal",labelKey:"selectAncestorsOptionGrandmotherPaternal",gender:"female"},{id:"grandfatherMaternal",labelKey:"selectAncestorsOptionGrandfatherMaternal",gender:"male"},{id:"grandmotherMaternal",labelKey:"selectAncestorsOptionGrandmotherMaternal",gender:"female"},{id:"greatGrandfatherPaternal",labelKey:"selectAncestorsOptionGreatGrandfatherPaternal",gender:"male"},{id:"greatGrandmotherPaternal",labelKey:"selectAncestorsOptionGreatGrandmotherPaternal",gender:"female"},{id:"greatGrandfatherMaternal",labelKey:"selectAncestorsOptionGreatGrandfatherMaternal",gender:"male"},{id:"greatGrandmotherMaternal",labelKey:"selectAncestorsOptionGreatGrandmotherMaternal",gender:"female"}],xa="https://srm-cdn.a4b.io/yoda/1788334548628.webp",ma="https://srm-cdn.a4b.io/yoda/1788334564281.webp";function ha(t){return fa.find(r=>r.id===t)?.gender==="female"?ma:xa}const Ws=[{value:"tithi",iconUrl:"https://srm-cdn.a4b.io/yoda/1788883529190.svg",titleKey:"deathTithiOption1Title",subtextKey:"deathTithiOption1Subtext"},{value:"date",iconUrl:"https://srm-cdn.a4b.io/yoda/1788883546461.svg",titleKey:"deathTithiOption2Title",subtextKey:"deathTithiOption2Subtext"},{value:"unknown",iconUrl:"https://srm-cdn.a4b.io/yoda/1788883557171.svg",titleKey:"deathTithiOption3Title",subtextKey:"deathTithiOption3Subtext"}],Ks=["tithiNamePratipada","tithiNameDvitiya","tithiNameTritiya","tithiNameChaturthi","tithiNamePanchami","tithiNameShashthi","tithiNameSaptami","tithiNameAshtami","tithiNameNavami","tithiNameDashami","tithiNameEkadashi","tithiNameDvadashi","tithiNameTrayodashi","tithiNameChaturdashi","tithiNameAmavasya"];function Zs({entries:t,viewedIndex:a,isEntryFilled:r,isEntryReachable:n,onSelect:i,className:d}){return e.jsx("div",{className:u.cn("flex w-full items-start overflow-x-auto scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",d),children:t.map((o,l)=>{const c=r(o.key),j=n(l),f=l===a?"enabled":c?"filled":"disabled";return e.jsxs(C.Fragment,{children:[e.jsx(ua,{label:o.label,avatarUrl:ha(o.key),state:f,onClick:j?()=>i(l):void 0}),l<t.length-1&&e.jsx("div",{className:`-mx-5 mt-4 h-0.5 w-10 shrink-0 ${c?"bg-[#159169]":"bg-[rgba(28,27,27,0.05)]"}`})]},o.key)})})}const qs="https://srm-cdn.a4b.io/yoda/1788163138113.svg";function Ys({isOpen:t,onClose:a,avatarUrl:r,heading:n,ctaLabel:i,onCtaClick:d,cardIcon:o,cardTitle:l,cardDescription:c,cardTag:j,cardTagClassName:f="bg-[#1d79fc] text-white"}){return t?e.jsx("div",{className:"avatar-card-dialog",role:"presentation",onClick:p=>{p.target===p.currentTarget&&a()},children:e.jsxs("div",{className:"avatar-card-dialog__card",children:[e.jsxs("div",{className:"avatar-card-dialog__avatar",children:[e.jsx("img",{src:qs,alt:"",className:"avatar-card-dialog__avatar-glow"}),e.jsx("img",{src:r,alt:"",className:"avatar-card-dialog__avatar-image"})]}),e.jsxs("div",{className:"avatar-card-dialog__content",children:[e.jsx("p",{className:"avatar-card-dialog__heading",children:n}),e.jsx(Se,{selected:!0,showRadio:!1,tag:j,tagClassName:f,icon:o,iconClassName:"bg-white",title:l,description:c})]}),e.jsx(I,{variant:"primary",size:"md",className:"avatar-card-dialog__button",onClick:d,children:i})]})}):null}function ga(t){if(!t)return;const[a,r,n]=t.split("-").map(Number);return{day:n,month:r,year:a}}function Qs({day:t,month:a,year:r}){return`${r}-${String(a).padStart(2,"0")}-${String(t).padStart(2,"0")}`}function Js(t="en-IN"){const a=new Intl.DateTimeFormat(t,{month:"long"});return Array.from({length:12},(r,n)=>a.format(new Date(2e3,n,1)))}function Xs(t,a){const r=ga(t);return r?`${r.day} ${a[r.month-1]} ${r.year}`:t}function en(t){return A({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M64.12,147.8a4,4,0,0,1-4,4.2H16a8,8,0,0,1-7.8-6.17,8.35,8.35,0,0,1,1.62-6.93A67.79,67.79,0,0,1,37,117.51a40,40,0,1,1,66.46-35.8,3.94,3.94,0,0,1-2.27,4.18A64.08,64.08,0,0,0,64,144C64,145.28,64,146.54,64.12,147.8Zm182-8.91A67.76,67.76,0,0,0,219,117.51a40,40,0,1,0-66.46-35.8,3.94,3.94,0,0,0,2.27,4.18A64.08,64.08,0,0,1,192,144c0,1.28,0,2.54-.12,3.8a4,4,0,0,0,4,4.2H240a8,8,0,0,0,7.8-6.17A8.33,8.33,0,0,0,246.17,138.89Zm-89,43.18a48,48,0,1,0-58.37,0A72.13,72.13,0,0,0,65.07,212,8,8,0,0,0,72,224H184a8,8,0,0,0,6.93-12A72.15,72.15,0,0,0,157.19,182.07Z"},child:[]}]})(t)}const tt={en:{title:"Who is this puja for?",subtitle:"Your ancestors",value:"For all ancestors",helperText:"This will be recited by the Pandit during puja"},hi:{title:"पूजा-विधि किन पितृ के लिए बुक कर रहे है?",subtitle:"पितृजन का नाम",value:"सर्वपितृ के लिए",helperText:"यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"}},ba=t=>tt[t]??tt.en,ja=C.forwardRef(({locale:t="en",title:a,subtitle:r,value:n,helperText:i,icon:d,className:o,headerClassName:l,valueBoxClassName:c,helperTextClassName:j,...f},p)=>{const h=ba(t);return e.jsxs("div",{ref:p,className:u.cn("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm",o),...f,children:[e.jsxs("div",{className:u.cn("flex items-center gap-3",l),children:[e.jsx(fe,{icon:d??e.jsx(en,{size:22,"aria-hidden":!0}),size:"lg"}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-lg leading-6 font-bold text-[#1d2125]",children:a??h.title}),e.jsx("p",{className:"mt-0.5 text-base leading-5 text-gray-500",children:r??h.subtitle})]})]}),e.jsx("div",{className:u.cn("mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",c),children:e.jsx("span",{className:"text-lg leading-6 font-medium text-gray-700",children:n??h.value})}),e.jsx("p",{className:u.cn("mt-3 text-sm leading-4.5 text-gray-500",j),children:i??h.helperText})]})});ja.displayName="SarvaPitruCard";function Te(t,a){return t.find(r=>r[a]!=null)}function tn(t){const a=t.data.cards,r=Te(a,"store"),n=Te(a,"user_reviews"),i=Te(a,"pooja_benefits"),d=Te(a,"location_details"),o=r?.store,l=o?.location_details.temple_details,c=d?.location_details,j=n?.user_reviews.reviews??[],f=i?.pooja_benefits.benefits;return{detailImages:o?.info_media.filter(p=>p.type==="image").map(p=>p.media_url)??[],title:o?.pooja_title||o?.name||"",description:o?.description??"",pooja_usecase:o?.pooja_usecase??"",pooja_specificity:o?.pooja_specificity??"",dateLabel:o?.process_date??"",locationLabel:o?.location??"",detailTempleSignificance:l?.name?{question:l.name,imageUrl:l.image,paragraphs:[l.description,l.location].filter(p=>!!p)}:c?.location_name?{question:c.header||c.location_name,imageUrl:c.image,paragraphs:[c.location_description].filter(p=>!!p)}:void 0,detailBenefits:f?.map(p=>({icon:p.icon,title:p.title,description:p.description})),devoteesReviews:j.map(p=>({name:p.name,date:p.date,stars:p.rating,text:p.suggestion}))}}const an="data:image/svg+xml,%3csvg%20width='225.04'%20height='225.04'%20viewBox='0%20-149%20225.04%20225.04'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20opacity='0.3'%3e%3cpath%20d='M79.9067%20-124.123C79.9067%20-124.123%2082.7197%20-131.507%2080.1704%20-138.363C77.6211%20-145.22%2070.6765%20-149%2070.6765%20-149C70.6765%20-149%2067.8635%20-141.616%2070.4128%20-134.759C72.9621%20-127.903%2079.9067%20-124.123%2079.9067%20-124.123Z'%20fill='url(%23paint0_linear_3800_64548)'/%3e%3cpath%20d='M13.8891%20-72.4777C20.614%20-69.5328%2028.1299%20-71.9503%2028.1299%20-71.9503C28.1299%20-71.9503%2024.7895%20-79.1146%2018.0647%20-82.0155C11.3399%20-84.9164%203.8239%20-82.543%203.8239%20-82.543C3.8239%20-82.543%207.16433%20-75.4226%2013.8891%20-72.4777Z'%20fill='url(%23paint1_linear_3800_64548)'/%3e%3cpath%20d='M10.6366%20-4.13075C3.73601%20-1.58148%200%205.36311%200%205.36311C0%205.36311%207.38412%208.1761%2014.2408%205.62682C21.0975%203.07755%2024.8774%20-3.86702%2024.8774%20-3.86702C24.8774%20-3.86702%2017.4933%20-6.68004%2010.6366%20-4.13075Z'%20fill='url(%23paint2_linear_3800_64548)'/%3e%3cpath%20d='M66.9844%2057.975C64.0396%2064.6998%2066.457%2072.2158%2066.457%2072.2158C66.457%2072.2158%2073.6214%2068.8754%2076.5223%2062.1505C79.4232%2055.4257%2077.0497%2047.9097%2077.0497%2047.9097C77.0497%2047.9097%2069.8853%2051.2502%2066.9844%2057.975Z'%20fill='url(%23paint3_linear_3800_64548)'/%3e%3cpath%20d='M145.133%2051.1622C145.133%2051.1622%20142.32%2058.5464%20144.869%2065.403C147.419%2072.2597%20154.363%2076.0397%20154.363%2076.0397C154.363%2076.0397%20157.176%2068.6555%20154.627%2061.7989C152.078%2054.9422%20145.133%2051.1622%20145.133%2051.1622Z'%20fill='url(%23paint4_linear_3800_64548)'/%3e%3cpath%20d='M214.403%20-68.8296C221.26%20-71.3789%20225.04%20-78.3235%20225.04%20-78.3235C225.04%20-78.3235%20217.656%20-81.1365%20210.799%20-78.5872C203.942%20-76.0379%20200.162%20-69.0933%20200.162%20-69.0933C200.162%20-69.0933%20207.546%20-66.2803%20214.403%20-68.8296Z'%20fill='url(%23paint5_linear_3800_64548)'/%3e%3cpath%20d='M211.151%20-0.482635C204.426%20-3.42749%20196.91%20-1.01006%20196.91%20-1.01006C196.91%20-1.01006%20200.25%206.15428%20206.975%209.05519C213.7%2011.9561%20221.216%209.58263%20221.216%209.58263C221.216%209.58263%20217.875%202.46222%20211.151%20-0.482635Z'%20fill='url(%23paint6_linear_3800_64548)'/%3e%3cpath%20d='M158.055%20-130.935C161%20-137.66%20158.583%20-145.176%20158.583%20-145.176C158.583%20-145.176%20151.418%20-141.836%20148.517%20-135.111C145.617%20-128.386%20147.99%20-120.87%20147.99%20-120.87C147.99%20-120.87%20155.154%20-124.21%20158.055%20-130.935Z'%20fill='url(%23paint7_linear_3800_64548)'/%3e%3cpath%20d='M71.6875%20-118.716C71.0722%20-117.354%2070.5887%20-115.947%2070.1491%20-114.497L70.325%20-114.453C75.5993%20-112.827%2079.7309%20-110.761%2082.7637%20-108.299C83.1592%20-112.343%2084.7416%20-116.958%2087.5106%20-122.057C87.5106%20-122.101%2087.5546%20-122.145%2087.5546%20-122.189C86.4118%20-122.804%2085.269%20-123.331%2084.0823%20-123.815C82.456%20-121.178%2081.1814%20-118.365%2080.2144%20-115.464C77.5772%20-116.87%2074.6763%20-117.969%2071.6875%20-118.716Z'%20fill='url(%23paint8_linear_3800_64548)'/%3e%3cpath%20d='M25.229%20-64.8299C25.7125%20-63.6432%2026.2399%20-62.5004%2026.8553%20-61.3576L26.9871%20-61.4016C32.0857%20-64.1706%2036.7008%20-65.7969%2040.7445%20-66.1485C38.0633%20-69.401%2035.8657%20-74.0161%2034.1954%20-79.9498C34.1954%20-79.9937%2034.1954%20-79.9937%2034.1954%20-80.0377C33.1845%20-79.73%2032.1736%20-79.3784%2031.2066%20-78.9828C31.9978%20-75.5105%2033.2724%20-72.1701%2034.9866%20-69.0934C31.5143%20-68.1264%2028.2618%20-66.7199%2025.229%20-64.8299Z'%20fill='url(%23paint9_linear_3800_64548)'/%3e%3cpath%20d='M142.232%20-108.256C145.485%20-110.937%20150.1%20-113.134%20156.033%20-114.805H156.121C155.814%20-115.815%20155.462%20-116.826%20155.066%20-117.793C151.594%20-117.002%20148.254%20-115.728%20145.177%20-114.013C144.21%20-117.442%20142.803%20-120.694%20140.914%20-123.727C139.727%20-123.244%20138.584%20-122.716%20137.441%20-122.101L137.485%20-121.969C140.254%20-116.914%20141.88%20-112.299%20142.232%20-108.256Z'%20fill='url(%23paint10_linear_3800_64548)'/%3e%3cpath%20d='M199.811%20-8.13037C199.327%20-9.31711%20198.8%20-10.4599%20198.184%20-11.6027L198.053%20-11.5587C192.954%20-8.78966%20188.339%20-7.16341%20184.295%20-6.81178C186.976%20-3.55925%20189.174%201.05582%20190.844%206.98949V7.07739C191.855%206.76971%20192.866%206.41811%20193.833%206.02254C193.042%202.55023%20191.767%20-0.790207%20190.053%20-3.86691C193.525%20-4.83389%20196.778%20-6.24039%20199.811%20-8.13037Z'%20fill='url(%23paint11_linear_3800_64548)'/%3e%3cpath%20d='M82.8075%2035.2951C79.555%2037.9763%2074.9399%2040.1739%2069.0063%2041.8441H68.9623C69.27%2042.8551%2069.6216%2043.866%2070.0172%2044.833C73.4895%2044.0418%2076.8299%2042.7672%2079.9066%2041.053C80.8736%2044.4813%2082.2801%2047.7339%2084.1701%2050.7666C85.3568%2050.2831%2086.4996%2049.7557%2087.6424%2049.1403L87.5984%2049.0085C84.7854%2043.9539%2083.1592%2039.3388%2082.8075%2035.2951Z'%20fill='url(%23paint12_linear_3800_64548)'/%3e%3cpath%20d='M190.536%20-78.8069C190.536%20-78.7629%20190.493%20-78.675%20190.493%20-78.631C188.866%20-73.4006%20186.8%20-69.2251%20184.339%20-66.1923C188.383%20-65.7968%20192.998%20-64.2144%20198.096%20-61.4454L198.228%20-61.4014C198.844%20-62.5003%20199.371%20-63.687%20199.855%20-64.8737C197.217%20-66.5%20194.404%20-67.7746%20191.503%20-68.7416C192.954%20-71.4667%20194.053%20-74.3676%20194.8%20-77.3564C193.393%20-77.8839%20191.943%20-78.4113%20190.536%20-78.8069Z'%20fill='url(%23paint13_linear_3800_64548)'/%3e%3cpath%20d='M153.352%2045.756C153.968%2044.3935%20154.451%2042.987%20154.891%2041.5365L154.715%2041.4926C149.44%2039.8663%20145.309%2037.8005%20142.276%2035.3391C141.881%2039.3828%20140.298%2043.9979%20137.529%2049.0965C137.529%2049.1404%20137.485%2049.1844%20137.485%2049.2283C138.628%2049.8436%20139.771%2050.3711%20140.958%2050.8546C142.584%2048.2174%20143.858%2045.4044%20144.825%2042.5035C147.463%2043.91%20150.363%2045.0088%20153.352%2045.756Z'%20fill='url(%23paint14_linear_3800_64548)'/%3e%3cpath%20d='M34.5032%205.84676C34.5032%205.8028%2034.5471%205.71489%2034.5471%205.67093C36.1734%200.396561%2038.2392%20-3.73502%2040.7006%20-6.76778C36.6569%20-7.16336%2032.0418%20-8.74568%2026.9433%20-11.5147L26.8114%20-11.5587C26.1961%20-10.4159%2025.6686%20-9.2731%2025.1851%20-8.08636C27.8223%20-6.46011%2030.6353%20-5.18549%2033.5362%20-4.21852C32.0858%20-1.49342%2030.9869%201.40749%2030.2397%204.3963C31.6462%204.92374%2033.0967%205.45117%2034.5032%205.84676Z'%20fill='url(%23paint15_linear_3800_64548)'/%3e%3cpath%20d='M92.5652%20-88.4326C95.2024%20-89.4436%2097.9714%20-90.2787%20100.74%20-90.894C96.521%20-93.9707%2093.6201%20-99.0693%2093.6201%20-106.409C93.6201%20-111.112%2097.4%20-118.057%20102.411%20-124.958C105.531%20-129.221%20108.916%20-133.353%20112.52%20-137.221C116.432%20-133.001%20120.08%20-128.562%20123.42%20-123.903C128.035%20-117.354%20131.42%20-110.849%20131.42%20-106.409C131.42%20-99.0693%20128.519%20-93.9707%20124.299%20-90.894C127.068%20-90.2787%20129.793%20-89.4875%20132.475%20-88.4326C136.43%20-92.9159%20138.804%20-99.0693%20138.804%20-106.409C138.804%20-110.673%20137.002%20-115.508%20134.365%20-120.343C126.893%20-134.1%20112.52%20-147.769%20112.52%20-147.769C112.52%20-147.769%2098.1472%20-134.056%2090.6313%20-120.343C87.9941%20-115.508%2086.192%20-110.673%2086.192%20-106.409C86.192%20-99.0693%2088.6094%20-92.9598%2092.5652%20-88.4326Z'%20fill='url(%23paint16_linear_3800_64548)'/%3e%3cpath%20d='M124.036%20-106.409C124.036%20-109.003%20120.431%20-116.387%20112.52%20-126.013C104.608%20-116.387%20101.004%20-109.003%20101.004%20-106.409C101.004%20-95.4651%20109.839%20-94.5861%20112.52%20-94.5861C115.201%20-94.5861%20124.036%20-95.4651%20124.036%20-106.409ZM108.388%20-106.014C108.652%20-106.893%20109.795%20-109.53%20112.52%20-113.662C115.245%20-109.574%20116.388%20-106.937%20116.651%20-106.014C116.564%20-103.377%20115.685%20-102.849%20115.377%20-102.673C113.575%20-101.75%20111.465%20-101.75%20109.619%20-102.673C109.355%20-102.849%20108.476%20-103.421%20108.388%20-106.014Z'%20fill='url(%23paint17_linear_3800_64548)'/%3e%3cpath%20d='M44.4805%20-67.3352C49.6669%20-62.1487%2055.6885%20-59.5115%2061.6661%20-59.1159C62.8089%20-61.7092%2064.1714%20-64.2145%2065.7098%20-66.6319C60.5673%20-65.8408%2054.8973%20-67.3791%2049.7109%20-72.5656C46.5023%20-75.8181%2044.2607%20-83.0704%2042.8982%20-91.2896C42.0191%20-96.7398%2041.4917%20-102.234%2041.2719%20-107.772C46.81%20-107.552%2052.3041%20-107.025%2057.7543%20-106.146C65.9296%20-104.783%2073.2258%20-102.586%2076.4783%20-99.333C81.6648%20-94.1465%2083.2031%20-88.4766%2082.412%20-83.3341C84.7854%20-84.8724%2087.3347%20-86.235%2089.9279%20-87.3778C89.5324%20-93.3554%2086.8952%20-99.3769%2081.7087%20-104.563C78.8078%20-107.464%2074.4125%20-109.574%2069.3579%20-111.112C54.282%20-115.727%2033.8438%20-115.244%2033.8438%20-115.244C33.8438%20-115.244%2033.3603%20-95.9486%2037.5798%20-81.0046C39.1182%20-75.4225%2041.3598%20-70.4558%2044.4805%20-67.3352Z'%20fill='url(%23paint18_linear_3800_64548)'/%3e%3cpath%20d='M49.2274%20-99.7726C50.4581%20-87.3778%2053.0953%20-79.5981%2054.9413%20-77.7521C62.6771%20-70.0163%2069.5338%20-75.6423%2071.4237%20-77.5323C73.3137%20-79.4223%2078.9397%20-86.3229%2071.204%20-94.0587C69.4019%20-95.9047%2061.6222%20-98.5858%2049.2274%20-99.7726ZM67.7756%20-85.268C67.1603%20-83.3341%2065.6219%20-81.8397%2063.732%20-81.2244C63.3803%20-81.1365%2062.3694%20-80.9167%2060.4794%20-82.7188C60.0399%20-83.5539%2058.985%20-86.1911%2057.9741%20-91.0259C62.8089%20-90.0589%2065.4461%20-89.0041%2066.2812%20-88.5206C68.0394%20-86.6745%2067.8196%20-85.6636%2067.7317%20-85.312L67.7756%20-85.268Z'%20fill='url(%23paint19_linear_3800_64548)'/%3e%3cpath%20d='M28.6574%20-14.5914C33.4923%20-11.9543%2038.3271%20-10.1522%2042.5905%20-10.1522C49.9307%20-10.1522%2056.0402%20-12.5256%2060.5674%20-16.4814C59.5564%20-19.1186%2058.7213%20-21.8876%2058.1499%20-24.6567C55.0732%20-20.4811%2049.9747%20-17.5363%2042.6345%20-17.5363C37.9315%20-17.5363%2030.9869%20-21.3162%2024.0863%20-26.3269C19.7789%20-29.4476%2015.6913%20-32.832%2011.8234%20-36.4361C16.0429%20-40.3479%2020.4822%20-43.996%2025.1851%20-47.3365C31.6462%20-51.9955%2038.1513%20-55.3799%2042.5905%20-55.3799C49.9307%20-55.3799%2055.0293%20-52.479%2058.106%20-48.2595C58.7213%20-51.0285%2059.5125%20-53.7976%2060.5234%20-56.4347C56.0402%20-60.3905%2049.8868%20-62.764%2042.5466%20-62.764C38.2831%20-62.764%2033.4483%20-60.9619%2028.6135%20-58.3247C14.9001%20-50.8527%201.23071%20-36.4801%201.23071%20-36.4801C1.23071%20-36.4801%2014.9001%20-22.1074%2028.6574%20-14.5914Z'%20fill='url(%23paint20_linear_3800_64548)'/%3e%3cpath%20d='M22.9875%20-36.4802C32.6132%20-28.5687%2039.9973%20-24.9645%2042.5905%20-24.9645C53.5349%20-24.9645%2054.4139%20-33.7991%2054.4139%20-36.4802C54.4139%20-39.1614%2053.5788%20-47.9959%2042.5905%20-47.9959C39.9973%20-47.9959%2032.6132%20-44.3918%2022.9875%20-36.4802ZM46.3266%20-39.3372C47.2496%20-37.5351%2047.2496%20-35.4254%2046.3266%20-33.5793C46.1507%20-33.2717%2045.5794%20-32.3926%2042.9861%20-32.3047C42.1071%20-32.5684%2039.4699%20-33.7112%2035.3383%20-36.4363C39.4259%20-39.1614%2042.0631%20-40.3041%2042.9861%20-40.5679C45.5794%20-40.5239%2046.1507%20-39.6449%2046.3266%20-39.3372Z'%20fill='url(%23paint21_linear_3800_64548)'/%3e%3cpath%20d='M81.6648%2031.5592C86.8513%2026.3727%2089.4885%2020.3512%2089.8841%2014.3736C87.2908%2013.2308%2084.7855%2011.8682%2082.3681%2010.3299C83.1592%2015.4724%2081.6209%2021.1423%2076.4344%2026.3288C73.1819%2029.5813%2065.9296%2031.779%2057.7104%2033.1415C52.2602%2034.0206%2046.7661%2034.548%2041.228%2034.7678C41.4478%2029.2297%2041.9752%2023.7356%2042.8543%2018.2854C44.2168%2010.1101%2046.4145%202.8139%2049.667%20-0.394669C54.8535%20-5.58113%2060.5234%20-7.11949%2065.6659%20-6.32834C64.1276%20-8.7018%2062.765%20-11.2511%2061.6222%20-13.8443C55.6446%20-13.4487%2049.6231%20-10.8115%2044.4366%20-5.62508C41.5357%20-2.72417%2039.4259%201.67113%2037.8876%206.72572C33.2725%2021.8016%2033.756%2042.2398%2033.756%2042.2398C33.756%2042.2398%2053.0514%2042.7233%2067.9954%2038.5038C73.5775%2036.9215%2078.5442%2034.6799%2081.6648%2031.5592Z'%20fill='url(%23paint22_linear_3800_64548)'/%3e%3cpath%20d='M54.9413%204.83568C53.0953%206.6817%2050.4581%2014.4614%2049.2274%2026.8562C61.6222%2025.6255%2069.4019%2022.9883%2071.2479%2021.1423C78.9837%2013.4065%2073.3577%206.54987%2071.4677%204.65988C69.5777%202.7699%2062.6771%20-2.94402%2054.9413%204.83568ZM63.688%208.30798C65.6219%208.92332%2067.1163%2010.4617%2067.7317%2012.3517C67.8196%2012.7033%2068.0393%2013.7142%2066.2373%2015.6042C65.4022%2016.0437%2062.765%2017.0986%2057.9301%2018.0656C58.8971%2013.2307%2059.952%2010.5935%2060.3915%209.75842C62.3255%208.00031%2063.3364%208.22008%2063.688%208.30798Z'%20fill='url(%23paint23_linear_3800_64548)'/%3e%3cpath%20d='M132.518%2015.4725C129.881%2016.4834%20127.112%2017.3185%20124.343%2017.8899C128.519%2020.9666%20131.464%2026.0652%20131.464%2033.4053C131.464%2038.1083%20127.684%2045.0529%20122.673%2051.9535C119.552%2056.2609%20116.168%2060.3486%20112.564%2064.2164C108.652%2059.9969%20105.004%2055.5577%20101.663%2050.8547C97.0044%2044.3936%2093.62%2037.8885%2093.62%2033.4493C93.62%2026.1091%2096.5209%2021.0105%20100.74%2017.9338C97.9714%2017.3185%2095.2463%2016.5273%2092.5651%2015.5164C88.6094%2019.9996%2086.2359%2026.1531%2086.2359%2033.4932C86.2359%2037.7567%2088.038%2042.5915%2090.6752%2047.4263C98.1472%2061.1837%20112.564%2074.853%20112.564%2074.853C112.564%2074.853%20126.936%2061.1397%20134.452%2047.4263C137.09%2042.5915%20138.892%2037.7567%20138.892%2033.4932C138.848%2026.1091%20136.43%2019.9996%20132.518%2015.4725Z'%20fill='url(%23paint24_linear_3800_64548)'/%3e%3cpath%20d='M101.004%2033.4493C101.004%2036.0425%20104.608%2043.4266%20112.52%2053.0524C120.431%2043.4266%20124.036%2036.0425%20124.036%2033.4493C124.036%2022.505%20115.201%2021.6259%20112.52%2021.6259C109.839%2021.6259%20101.004%2022.505%20101.004%2033.4493ZM116.651%2033.0537C116.388%2033.9328%20115.245%2036.5699%20112.52%2040.7015C109.795%2036.5699%20108.652%2033.9767%20108.388%2033.0537C108.476%2030.4165%20109.355%2029.8891%20109.663%2029.7133C111.465%2028.7902%20113.575%2028.7902%20115.421%2029.7133C115.685%2029.8891%20116.564%2030.4605%20116.651%2033.0537Z'%20fill='url(%23paint25_linear_3800_64548)'/%3e%3cpath%20d='M180.559%20-5.62508C175.373%20-10.8115%20169.351%20-13.4487%20163.374%20-13.8443C162.231%20-11.2511%20160.868%20-8.74576%20159.33%20-6.32834C164.472%20-7.11949%20170.142%20-5.58113%20175.329%20-0.394669C178.581%202.85786%20180.779%2010.1101%20182.142%2018.3293C183.021%2023.7795%20183.548%2029.2737%20183.768%2034.8118C178.23%2034.592%20172.736%2034.0645%20167.285%2033.1855C159.11%2031.8229%20151.814%2029.6253%20148.605%2026.3727C143.419%2021.1863%20141.881%2015.5164%20142.672%2010.3738C140.298%2011.9122%20137.749%2013.2747%20135.156%2014.4175C135.551%2020.3951%20138.188%2026.4167%20143.375%2031.6031C146.276%2034.5041%20150.671%2036.6138%20155.726%2038.1522C170.802%2042.7672%20191.24%2042.2838%20191.24%2042.2838C191.24%2042.2838%20191.723%2022.9884%20187.504%208.04433C185.921%202.41832%20183.68%20-2.50441%20180.559%20-5.62508Z'%20fill='url(%23paint26_linear_3800_64548)'/%3e%3cpath%20d='M175.812%2026.8123C174.582%2014.4175%20171.944%206.63782%20170.098%204.79179C162.363%20-2.94395%20155.506%202.68204%20153.616%204.57202C151.726%206.46201%20146.056%2013.3187%20153.836%2021.0544C155.638%2022.9444%20163.418%2025.6255%20175.812%2026.8123ZM157.308%2012.3517C157.923%2010.4178%20159.462%208.92337%20161.352%208.30803C161.703%208.22012%20162.714%208.00035%20164.604%209.80243C165.044%2010.6375%20166.099%2013.2747%20167.11%2018.1096C162.275%2017.1426%20159.638%2016.0877%20158.802%2015.6482C157%2013.7143%20157.22%2012.7034%20157.308%2012.3517Z'%20fill='url(%23paint27_linear_3800_64548)'/%3e%3cpath%20d='M196.382%20-58.3687C191.547%20-61.0059%20186.713%20-62.808%20182.449%20-62.808C175.109%20-62.808%20169%20-60.4345%20164.472%20-56.4788C165.483%20-53.8416%20166.318%20-51.0725%20166.89%20-48.3035C169.967%20-52.523%20175.065%20-55.4239%20182.405%20-55.4239C187.108%20-55.4239%20194.053%20-51.6439%20200.953%20-46.6333C205.261%20-43.5126%20209.348%20-40.1282%20213.216%20-36.5241C208.997%20-32.6122%20204.558%20-28.9641%20199.855%20-25.6237C193.393%20-20.9647%20186.888%20-17.5803%20182.449%20-17.5803C175.109%20-17.5803%20170.01%20-20.4812%20166.934%20-24.7007C166.318%20-21.9316%20165.527%20-19.1626%20164.516%20-16.5254C169%20-12.5696%20175.153%20-10.1962%20182.493%20-10.1962C186.757%20-10.1962%20191.591%20-11.9982%20196.426%20-14.6354C210.184%20-22.1075%20223.853%20-36.5241%20223.853%20-36.5241C223.853%20-36.5241%20210.14%20-50.8528%20196.382%20-58.3687Z'%20fill='url(%23paint28_linear_3800_64548)'/%3e%3cpath%20d='M202.052%20-36.4802C192.427%20-44.3918%20185.042%20-47.9959%20182.449%20-47.9959C171.505%20-47.9959%20170.626%20-39.1614%20170.626%20-36.4802C170.626%20-33.7991%20171.461%20-24.9645%20182.449%20-24.9645C185.042%20-24.9645%20192.427%20-28.5687%20202.052%20-36.4802ZM178.713%20-33.6233C177.79%20-35.4254%20177.79%20-37.5351%20178.713%20-39.3811C178.889%20-39.6888%20179.46%20-40.5679%20182.054%20-40.6558C182.933%20-40.3921%20185.57%20-39.2493%20189.701%20-36.5242C185.57%20-33.7991%20182.977%20-32.6563%20182.054%20-32.3926C179.46%20-32.4366%20178.889%20-33.3156%20178.713%20-33.6233Z'%20fill='url(%23paint29_linear_3800_64548)'/%3e%3cpath%20d='M143.375%20-104.52C138.188%20-99.3331%20135.551%20-93.3115%20135.156%20-87.3339C137.749%20-86.1911%20140.254%20-84.8286%20142.672%20-83.2902C141.881%20-88.4327%20143.419%20-94.1027%20148.605%20-99.2891C151.858%20-102.498%20159.11%20-104.739%20167.329%20-106.102C172.78%20-106.981%20178.274%20-107.508%20183.812%20-107.728C183.592%20-102.19%20183.065%20-96.6959%20182.185%20-91.2457C180.823%20-83.0704%20178.625%20-75.7742%20175.373%20-72.5217C170.186%20-67.3352%20164.516%20-65.7969%20159.374%20-66.588C160.912%20-64.2146%20162.275%20-61.6653%20163.418%20-59.0721C169.395%20-59.4676%20175.417%20-62.1048%20180.603%20-67.2913C183.504%20-70.1922%20185.614%20-74.5875%20187.152%20-79.6421C191.767%20-94.718%20191.284%20-115.156%20191.284%20-115.156C191.284%20-115.156%20171.988%20-115.64%20157.044%20-111.42C151.418%20-109.882%20146.496%20-107.64%20143.375%20-104.52Z'%20fill='url(%23paint30_linear_3800_64548)'/%3e%3cpath%20d='M170.098%20-77.7961C171.944%20-79.6421%20174.582%20-87.4218%20175.812%20-99.8166C163.417%20-98.5859%20155.638%20-95.9487%20153.792%20-94.1027C146.056%20-86.3669%20151.682%20-79.5102%20153.572%20-77.6203C155.462%20-75.7303%20162.363%20-70.0164%20170.098%20-77.7961ZM161.352%20-81.2684C159.418%20-81.8837%20157.923%20-83.4221%20157.308%20-85.312C157.22%20-85.6637%20157%20-86.6746%20158.802%20-88.5646C159.638%20-89.0041%20162.275%20-90.059%20167.11%20-91.0699C166.143%20-86.2351%20165.088%20-83.5979%20164.648%20-82.7628C162.714%20-80.9167%20161.703%20-81.1805%20161.352%20-81.2684Z'%20fill='url(%23paint31_linear_3800_64548)'/%3e%3cpath%20d='M112.52%20-83.4219C86.5875%20-83.4219%2065.578%20-62.4124%2065.578%20-36.4801C65.578%20-10.5477%2086.5875%2010.4618%20112.52%2010.4618C138.452%2010.4618%20159.462%20-10.5477%20159.462%20-36.4801C159.462%20-62.4124%20138.452%20-83.4219%20112.52%20-83.4219ZM133.793%20-27.6894C141.485%20-19.7779%20144.957%20-10.8115%20141.573%20-7.42708C138.188%20-4.04269%20129.222%20-7.51498%20121.31%20-15.2068C121.135%20-4.17455%20117.267%204.61606%20112.52%204.61606C107.773%204.61606%20103.861%20-4.21851%20103.729%20-15.2068C95.8177%20-7.51498%2086.8512%20-4.04269%2083.4669%20-7.42708C80.0825%20-10.8115%2083.5548%20-19.7779%2091.2466%20-27.6894C80.2143%20-27.8653%2071.4237%20-31.7331%2071.4237%20-36.4801C71.4237%20-41.227%2080.2583%20-45.1388%2091.2466%20-45.2707C83.5548%20-53.1822%2080.0825%20-62.1487%2083.4669%20-65.533C86.8512%20-68.9174%2095.8177%20-65.4012%20103.729%20-57.7533C103.905%20-68.7856%20107.773%20-77.5762%20112.52%20-77.5762C117.267%20-77.5762%20121.179%20-68.7416%20121.31%20-57.7533C129.222%20-65.4451%20138.188%20-68.9174%20141.573%20-65.533C144.957%20-62.1487%20141.485%20-53.1822%20133.793%20-45.2707C144.825%20-45.0949%20153.616%20-41.227%20153.616%20-36.4801C153.616%20-31.7331%20144.781%20-27.8213%20133.793%20-27.6894Z'%20fill='url(%23paint32_linear_3800_64548)'/%3e%3cpath%20d='M128.695%20-42.8974C127.947%20-44.7873%20123.86%20-44.9192%20119.508%20-43.249C121.31%20-47.5564%20121.267%20-51.644%20119.42%20-52.4352C117.574%20-53.2263%20114.586%20-50.4573%20112.652%20-46.1938C110.85%20-50.5012%20107.949%20-53.3582%20106.059%20-52.611C104.169%20-51.8638%20104.037%20-47.7762%20105.707%20-43.4248C101.4%20-45.2269%2097.3121%20-45.1829%2096.521%20-43.3369C95.7298%20-41.4909%2098.4988%20-38.5021%20102.762%20-36.5681C98.4549%20-34.766%2095.5979%20-31.8652%2096.3451%20-29.9752C97.0923%20-28.0852%20101.18%20-27.9533%20105.531%20-29.6235C103.729%20-25.3161%20103.773%20-21.2285%20105.619%20-20.4373C107.465%20-19.6462%20110.454%20-22.4152%20112.388%20-26.6787C114.19%20-22.3713%20117.091%20-19.5143%20118.981%20-20.2615C120.871%20-21.0087%20121.003%20-25.0964%20119.333%20-29.4477C123.64%20-27.6456%20127.728%20-27.6896%20128.519%20-29.5356C129.31%20-31.3817%20126.541%20-34.3705%20122.277%20-36.3044C126.585%20-38.1504%20129.442%20-41.0513%20128.695%20-42.8974ZM112.52%20-31.4696C109.751%20-31.4696%20107.509%20-33.7112%20107.509%20-36.4802C107.509%20-39.2493%20109.751%20-41.4909%20112.52%20-41.4909C115.289%20-41.4909%20117.531%20-39.2493%20117.531%20-36.4802C117.531%20-33.7112%20115.289%20-31.4696%20112.52%20-31.4696Z'%20fill='url(%23paint33_linear_3800_64548)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint9_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint10_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint11_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint12_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint13_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint14_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint15_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint16_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint17_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint18_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint19_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint20_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint21_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint22_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint23_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint24_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint25_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint26_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint27_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint28_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint29_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint30_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint31_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint32_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint33_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",rn="https://srm-cdn.a4b.io/yoda/1788256961374.svg",sn=an,Oe=t=>typeof t=="number"?`${t}px`:t;function ya({className:t}){return e.jsx("svg",{className:t,width:"8",height:"8",viewBox:"0 0 8 8",fill:"none","aria-hidden":!0,children:e.jsx("path",{d:"M3.84784 3.47359C3.93563 3.54802 4.06436 3.54802 4.15214 3.47359C4.98402 2.76841 5.41175 2.08403 5.41175 1.41177C5.41177 0.632062 4.77969 0 4 0C3.22031 0 2.58823 0.632062 2.58823 1.41177C2.58823 2.08403 3.01597 2.76841 3.84784 3.47359ZM3.84784 4.52641C3.01597 5.23159 2.58823 5.91597 2.58823 6.58823C2.58823 7.36794 3.2203 8 4 8C4.7797 8 5.41177 7.36794 5.41177 6.58823C5.41177 5.91597 4.98403 5.23159 4.15216 4.52641C4.06436 4.45198 3.93564 4.45198 3.84784 4.52641ZM3.47359 4.15216C3.54802 4.06437 3.54802 3.93564 3.47359 3.84786C2.76839 3.01598 2.08402 2.58825 1.41177 2.58825C0.632062 2.58823 0 3.2203 0 4C0 4.7797 0.632062 5.41177 1.41177 5.41177C2.08403 5.41177 2.76841 4.98403 3.47359 4.15216ZM4.52641 4.15216C5.23161 4.98403 5.91598 5.41177 6.58823 5.41177C7.36794 5.41177 8 4.7797 8 4C8 3.2203 7.36794 2.58823 6.58823 2.58823C5.91597 2.58823 5.23159 3.01597 4.52641 3.84784C4.45198 3.93564 4.45198 4.06436 4.52641 4.15216Z",fill:"#F45494"})})}function nn({badgeLabel:t,dateRangeLabel:a,headline:r,mandalaWidth:n=225,mandalaTop:i=-149,showMandala:d=!0,mandalaLeft:o,mandalaRight:l,className:c}){const j=o!==void 0?{left:Oe(o)}:l!==void 0?{right:Oe(l)}:{left:"50%",transform:"translateX(-50%)"};return e.jsxs("div",{className:u.cn("relative flex w-full flex-col items-center gap-3 overflow-hidden bg-gradient-to-b from-[#FFF9E9] to-white pt-2 pb-4",c),children:[d&&e.jsx("img",{src:sn,alt:"","aria-hidden":!0,className:"pointer-events-none absolute z-0 h-auto",style:{width:Oe(n),top:Oe(i),...j}}),e.jsxs("div",{className:"relative z-10 flex flex-col items-center gap-1",children:[e.jsx("img",{src:rn,alt:"Sri Mandir",className:"h-14 w-auto object-contain"}),e.jsxs("p",{className:"flex items-center gap-1 text-xs font-semibold leading-4 text-[#d51f68]",children:[e.jsx(ya,{}),t,e.jsx(ya,{})]})]}),e.jsx("div",{className:"relative z-10 flex w-full items-center justify-center rounded-[20px] px-5 py-0.5",style:{backgroundImage:"linear-gradient(90deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.4) 100%), linear-gradient(90deg, rgba(252,204,223,0) 0%, rgb(252,204,223) 29.78%, rgb(252,204,223) 72.984%, rgba(252,204,223,0) 100%)"},children:e.jsx("p",{className:"text-center text-[10px] font-medium leading-[14px] text-[rgba(28,27,27,0.8)]",children:a})}),e.jsx("p",{className:"relative z-10 w-full px-4 text-center text-xl leading-7 font-bold text-[#492912]",children:r})]})}function ln({amount:t,amountClassName:a,subtitle:r,subtitleClassName:n,showInfoIcon:i=!0,onInfoClick:d,proceedLabel:o="Continue",proceedIcon:l=e.jsx(pe,{"aria-hidden":!0}),onProceed:c,disabled:j,proceedButtonProps:f,className:p}){const h=j??t==null;return e.jsxs("div",{className:u.cn("flex items-start justify-center gap-6 bg-gradient-to-b from-[#fff9e9] to-[#fcccdf] px-4 pt-4 pb-5 drop-shadow-[0px_4px_10px_rgba(0,0,0,0.12)]",p),children:[t!=null&&e.jsxs("div",{className:"flex shrink-0 flex-col items-start",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:u.cn("text-lg leading-6 font-bold text-[#141414]",a),children:t}),i&&e.jsx("button",{type:"button",onClick:d,"aria-label":"View bill details",className:u.cn("inline-flex shrink-0 items-center justify-center text-[#f75e22]",!d&&"pointer-events-none"),children:e.jsx(de,{size:18,"aria-hidden":!0})})]}),r&&e.jsx("p",{className:u.cn("text-xs leading-4 text-gray-500",n),children:r})]}),e.jsxs(I,{variant:"primary",size:"xl",disabled:h,onClick:c,...f,className:u.cn("flex-1 justify-center gap-1 rounded-xl",h?"bg-none bg-gray-400":"bg-gradient-to-b from-[#5eb98e] to-[#087955]",f?.className),children:[o,l]})]})}Object.defineProperty(x,"cn",{enumerable:!0,get:()=>u.cn}),x.ALL_ANCESTORS_ID=pa,x.ANCESTOR_OPTIONS=fa,x.AddAncestorSheet=Vs,x.AncestorTab=ua,x.AncestorTabRow=Zs,x.AudioQuestionCard=os,x.AvatarCardDialog=Ys,x.BOOKING_SUMMARY_BANNER_DEFAULT_COPY=We,x.BillDetails=ea,x.BookingSummaryBanner=Qt,x.Button=I,x.CHECKOUT_BAR_DEFAULT_COPY=$e,x.CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY=qe,x.CartReviewAddedBadge=ms,x.CartReviewChangeButton=xs,x.CartReviewItem=He,x.CartReviewMandapItem=zt,x.CartView=ys,x.CheckIcon=cr,x.CheckoutBar=Pe,x.Chip=Rt,x.ConfinedBottomSheet=ye,x.ConfirmPujaDetailsModal=sa,x.DEATH_TITHI_OPTIONS=Ws,x.DatePickerSheet=Cs,x.DevoteesReviews=Qr,x.EmailSheet=As,x.EventHeader=nn,x.FAQAccordion=ts,x.FAQSection=Et,x.FEMALE_ANCESTOR_AVATAR_URL=ma,x.GOTRA_INFO_MODAL_DEFAULT_COPY=Ye,x.GotraInfoModal=na,x.IconBadge=fe,x.L2Card=Ts,x.LanguageSwitcher=Ue,x.MALE_ANCESTOR_AVATAR_URL=xa,x.OUTCOME_SUPPORTED_LOCALES=za,x.OUTCOME_TRUST_ITEMS=Jr,x.OnlinePujaTestimonial=_r,x.OutcomeAncestorEditModal=ur,x.OutcomeBillDetails=sr,x.OutcomeButton=gt,x.OutcomeEmptyRituals=vr,x.OutcomeI18nProvider=Ga,x.OutcomeStickyCta=jr,x.OutcomeSummary=Hs,x.PACKAGE_SELECT_DEFAULT_COPY=Ve,x.PUJA_DETAILS_FORM_DEFAULT_COPY=Je,x.PackageSelect=bs,x.PhoneNumberSheet=Ls,x.PlusIcon=or,x.ProcessInvolved=Br,x.PujaBenefitsSection=Gr,x.PujaDetailsCarouselHeader=Ir,x.PujaDetailsForm=Ms,x.QuantityStepper=fs,x.RitualProceedBar=ln,x.SARVA_PITRU_CARD_DEFAULT_COPY=tt,x.SarvaPitruCard=ja,x.SelectorCard=Se,x.SelectorCardEditableField=ds,x.SelectorCardInfoRow=us,x.SelectorCardNote=ps,x.SelectorCardPriceBadge=Dt,x.ServiceOfferCard=Ut,x.ServiceOfferSheet=Gt,x.StepProgressHeader=ss,x.TITHI_NAME_KEYS=Ks,x.TempleSignificanceSection=$r,x.TestimonialCard=es,x.TextField=ie,x.TimeOfBirthPickerSheet=_s,x.TithiPickerSheet=vs,x.TopBar=rs,x.TrustBadgesBar=Kt,x.VideoPlayer=Mt,x.WhySriMandir=Mr,x.buttonVariants=Ot,x.createEmptyPujaDetailsFormValues=Rs,x.formatDisplayDate=Xs,x.formatIsoDate=Qs,x.getAncestorAvatarUrl=ha,x.getBookingSummaryBannerDefaultCopy=Yt,x.getCheckoutBarDefaultCopy=Zt,x.getConfirmPujaDetailsModalDefaultCopy=aa,x.getGotraInfoModalDefaultCopy=Qe,x.getKartaOrdinalLabel=oa,x.getMonthLabels=Js,x.getOutcomeTranslation=De,x.getPackageSelectDefaultCopy=qt,x.getPujaDetailsFormDefaultCopy=ia,x.getSarvaPitruCardDefaultCopy=ba,x.mapPujaL2Response=tn,x.outcomeTranslations=Fe,x.parseIsoDate=ga,x.useOutcomeI18n=ce,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})}));
|
|
14
|
+
<%s key={someKey} {...props} />`,ot,ue,Tn,ue),Ma[ue+ot]=!0}}return s===n?kn(z):_n(z),z}}function Ln(s,m,N){return Ra(s,m,N,!0)}function Sn(s,m,N){return Ra(s,m,N,!1)}var An=Sn,Pn=Ln;be.Fragment=n,be.jsx=An,be.jsxs=Pn})()),be}var pt;function $a(){return pt||(pt=1,process.env.NODE_ENV==="production"?_e.exports=Ua():_e.exports=Ha()),_e.exports}var e=$a(),ft={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},xt=C.createContext&&C.createContext(ft),Va=["attr","size","title"];function Wa(t,a){if(t==null)return{};var r,n,i=Ka(t,a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(t);for(n=0;n<d.length;n++)r=d[n],a.indexOf(r)===-1&&{}.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function Ka(t,a){if(t==null)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(a.indexOf(n)!==-1)continue;r[n]=t[n]}return r}function ke(){return ke=Object.assign?Object.assign.bind():function(t){for(var a=1;a<arguments.length;a++){var r=arguments[a];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},ke.apply(null,arguments)}function mt(t,a){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);a&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Le(t){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?mt(Object(r),!0).forEach(function(n){Za(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mt(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Za(t,a,r){return(a=qa(a))in t?Object.defineProperty(t,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[a]=r,t}function qa(t){var a=Ya(t,"string");return typeof a=="symbol"?a:a+""}function Ya(t,a){if(typeof t!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,a);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(t)}function ht(t){return t&&t.map((a,r)=>C.createElement(a.tag,Le({key:r},a.attr),ht(a.child)))}function A(t){return a=>C.createElement(Qa,ke({attr:Le({},t.attr)},a),ht(t.child))}function Qa(t){var a=r=>{var n=t.attr,i=t.size,d=t.title,o=Wa(t,Va),l=i||r.size||"1em",c;return r.className&&(c=r.className),t.className&&(c=(c?c+" ":"")+t.className),C.createElement("svg",ke({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,o,{className:c,style:Le(Le({color:t.color||r.color},r.style),t.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),d&&C.createElement("title",null,d),t.children)};return xt!==void 0?C.createElement(xt.Consumer,null,r=>a(r)):a(ft)}function Ja(t){return A({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"},child:[]}]})(t)}function Xa(t){return A({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:"M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25ZM6.75 12h.008v.008H6.75V12Zm0 3h.008v.008H6.75V15Zm0 3h.008v.008H6.75V18Z"},child:[]}]})(t)}function er(t){return A({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M133 440a35.37 35.37 0 0 1-17.5-4.67c-12-6.8-19.46-20-19.46-34.33V111c0-14.37 7.46-27.53 19.46-34.33a35.13 35.13 0 0 1 35.77.45l247.85 148.36a36 36 0 0 1 0 61l-247.89 148.4A35.5 35.5 0 0 1 133 440"},child:[]}]})(t)}function tr(t){return A({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(t)}function ar(t){return A({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48m75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256z"},child:[]}]})(t)}function rr(t){return A({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48m80 224h-64v64a16 16 0 0 1-32 0v-64h-64a16 16 0 0 1 0-32h64v-64a16 16 0 0 1 32 0v64h64a16 16 0 0 1 0 32"},child:[]}]})(t)}function sr({isOpen:t,onClose:a,closeButtonAriaLabel:r="Close",heading:n,items:i,totalLabel:d,totalAmount:o}){return t?e.jsxs("div",{className:"fixed inset-0 z-[1200] mx-auto flex w-full max-w-md items-end justify-center",children:[e.jsx("button",{type:"button","aria-label":r,onClick:a,className:"absolute inset-0 border-0 p-0",style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}}),e.jsxs("div",{className:"relative flex w-full flex-col items-center gap-3 overflow-hidden rounded-t-[20px] bg-white",children:[e.jsxs("div",{className:"flex w-full items-center justify-between border-b border-black/5 p-4",children:[e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-[#f6f5ff]",children:e.jsx(Xa,{className:"size-6 text-[#f18912]","aria-hidden":!0})}),e.jsx("p",{className:"min-w-0 flex-1 truncate text-base font-bold leading-[22px] text-gray-700",children:n})]}),e.jsx("button",{type:"button","aria-label":r,onClick:a,className:"flex size-5 shrink-0 items-center justify-center border-0 bg-transparent p-0",children:e.jsx(tr,{className:"size-5 text-[#1d2125]","aria-hidden":!0})})]}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-4 p-4",children:[i.map((l,c)=>e.jsxs("div",{className:"flex w-full items-start justify-between",children:[e.jsxs("div",{className:"flex w-45 flex-col items-start gap-1",children:[e.jsx("p",{className:"w-full text-sm font-medium leading-5 text-gray-700",children:l.name}),e.jsx("p",{className:"w-full text-xs font-normal leading-4 text-gray-500",children:l.subtitle})]}),e.jsxs("div",{className:"flex shrink-0 flex-col items-start justify-center gap-1.5 whitespace-nowrap",children:[l.quantityLabel&&e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-500",children:l.quantityLabel}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[l.originalLineTotal&&e.jsx("p",{className:"text-xs font-medium leading-4 text-[#d93640] line-through",children:l.originalLineTotal}),e.jsx("p",{className:"text-sm font-semibold leading-5 text-gray-700",children:l.lineTotal})]})]})]},`${l.name}-${c}`)),e.jsxs("div",{className:"flex w-full items-center justify-between border-t border-gray-200 pt-3",children:[e.jsx("p",{className:"text-base font-bold leading-[22px] text-[#22272b]",children:d}),e.jsx("p",{className:"text-xl font-bold leading-7 text-[#159169]",children:o})]})]})]})]}):null}const nr={primary:"border border-transparent pl-3 pr-4 text-white",secondary:"border border-[#159169] px-3 text-[#159169]",accent:"border border-transparent px-4 text-white"},ir={md:"h-10 gap-2 rounded-lg text-xs font-semibold leading-4",lg:"h-12 gap-2 rounded-xl text-base font-bold leading-[22px]"},lr={primary:{backgroundImage:"linear-gradient(to bottom, #5eb98e, #159169)"},secondary:{backgroundImage:"linear-gradient(to bottom, #ffffff, #edf5f2)"},accent:{backgroundImage:"linear-gradient(to bottom, #f97e4e, #f75e22)"}};function gt({variant:t="primary",size:a="md",leftIcon:r,children:n,className:i="",style:d,type:o="button",...l}){return e.jsxs("button",{type:o,className:`inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${ir[a]} ${nr[t]} ${i}`,style:{...lr[t],...d},...l,children:[r,n]})}function or({className:t="size-5"}){return e.jsx("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M10 1.75C10.4142 1.75 10.75 2.08579 10.75 2.5V9.25H17.5C17.9142 9.25 18.25 9.58579 18.25 10C18.25 10.4142 17.9142 10.75 17.5 10.75H10.75V17.5C10.75 17.9142 10.4142 18.25 10 18.25C9.58579 18.25 9.25 17.9142 9.25 17.5V10.75H2.5C2.08579 10.75 1.75 10.4142 1.75 10C1.75 9.58579 2.08579 9.25 2.5 9.25H9.25V2.5C9.25 2.08579 9.58579 1.75 10 1.75Z",fill:"currentColor"})})}function cr({className:t="size-5"}){return e.jsx("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M16.1361 4.88627C16.4289 4.59345 16.9037 4.59355 17.1966 4.88627C17.4895 5.17916 17.4895 5.65394 17.1966 5.94682L8.03059 15.1138C7.89003 15.2544 7.6991 15.3334 7.50032 15.3335C7.30158 15.3335 7.11066 15.2542 6.97004 15.1138L2.80305 10.9468C2.51016 10.6539 2.51016 10.1792 2.80305 9.88627C3.09595 9.59339 3.57071 9.59338 3.8636 9.88627L7.49934 13.522L16.1361 4.88627Z",fill:"currentColor"})})}const bt="https://srm-cdn.a4b.io/yoda/1788257859347.webp",jt="https://srm-cdn.a4b.io/yoda/1788257796338.webp";function dr({isOpen:t,avatarUrl:a=jt,messagePrefix:r,highlightedNames:n,messageSuffix:i="",confirmLabel:d,cancelLabel:o,onConfirm:l,onCancel:c}){return t?e.jsxs("div",{className:"fixed inset-0 z-[60] mx-auto flex w-full max-w-md items-center justify-center px-8",children:[e.jsx("button",{type:"button","aria-label":o,onClick:c,className:"absolute inset-0 border-0 p-0",style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}}),e.jsxs("div",{className:"relative flex w-full flex-col items-center gap-4 rounded-[20px] border border-black/20 bg-white px-5 pb-5 pt-11 shadow-[0px_8px_12px_rgba(0,0,0,0.08)]",children:[e.jsxs("div",{className:"absolute top-[-31px] size-16 overflow-hidden rounded-full border-[3px] border-white",style:{left:"50%",transform:"translateX(-50%)",backgroundImage:"linear-gradient(to bottom, #f6f5ff, #cec7ff)"},children:[e.jsx("img",{src:bt,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"}),e.jsx("img",{src:a,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full object-cover"})]}),e.jsxs("p",{className:"w-full text-center text-base font-semibold leading-[22px] text-gray-700",children:[r,e.jsx("span",{className:"text-[#cf6c09]",children:n}),i]}),e.jsxs("div",{className:"flex w-full items-center gap-6",children:[e.jsx("button",{type:"button",onClick:l,className:"h-10 flex-1 rounded-lg border border-[#f75e22] bg-white text-sm font-bold leading-5 text-[#f75e22]",children:d}),e.jsx("button",{type:"button",onClick:c,className:"h-10 flex-1 rounded-lg border-0 text-sm font-bold leading-5 text-white",style:{backgroundImage:"linear-gradient(to bottom, #f97e4e, #f75e22)"},children:o})]})]})]}):null}function ur({isOpen:t,onClose:a,avatarUrl:r=jt,question:n,ancestors:i,onToggle:d,confirmLabel:o,onConfirmClick:l,addAgainLabel:c,removeLabel:j,removeWarningMessagePrefix:f,removeWarningMessageSuffix:p="?",removeWarningConfirmLabel:h,removeWarningCancelLabel:g}){const[b,y]=C.useState(null);if(!t)return null;const w=b!=null?i[b]:null;return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"fixed inset-0 z-50 mx-auto flex w-full max-w-md items-end justify-center",children:[e.jsx("button",{type:"button","aria-label":o,onClick:a,className:"absolute inset-0 border-0 p-0",style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}}),e.jsxs("div",{className:"relative flex w-full flex-col items-center gap-4 rounded-t-[20px] border border-black/20 bg-white px-5 pb-5 pt-11 shadow-[0px_8px_12px_rgba(0,0,0,0.08)]",children:[e.jsxs("div",{className:"absolute top-[-31px] size-16 overflow-hidden rounded-full border-[3px] border-white",style:{left:"50%",transform:"translateX(-50%)",backgroundImage:"linear-gradient(to bottom, #f6f5ff, #cec7ff)"},children:[e.jsx("img",{src:bt,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"}),e.jsx("img",{src:r,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full object-cover"})]}),e.jsx("p",{className:"w-full text-center text-base font-semibold leading-[22px] text-gray-700",children:n}),e.jsx("div",{className:"flex w-full flex-col items-start gap-3 rounded-lg bg-[#f7f8f9] px-2 py-4",children:i.map((_,v)=>e.jsxs("div",{className:"flex w-full items-center justify-between gap-3",children:[e.jsxs("p",{className:`min-w-0 flex-1 text-base font-semibold leading-[22px] ${_.isActive?"text-[#22272b]":"text-[#22272b]/50"}`,children:[_.name," ",e.jsx("span",{className:"text-xs font-medium leading-4 text-gray-500",children:_.tithi})]}),_.isActive?e.jsxs("button",{type:"button",onClick:()=>y(v),className:"flex shrink-0 items-center gap-1 border-0 bg-transparent p-0 text-xs font-semibold leading-4 text-gray-500 underline",children:[j,e.jsx(ar,{"aria-hidden":!0,className:"size-3 text-[#9CA3AF]"})]}):e.jsxs("button",{type:"button",onClick:()=>d(v),className:"flex shrink-0 items-center gap-1 border-0 bg-transparent p-0 text-xs font-semibold leading-4 text-[#159169] underline",children:[c,e.jsx(rr,{"aria-hidden":!0,className:"size-3 text-[#159169]"})]})]},_.id))}),e.jsx(gt,{variant:"accent",size:"lg",className:"w-full",onClick:l,children:o})]})]}),e.jsx(dr,{isOpen:w!=null,avatarUrl:r,messagePrefix:f,highlightedNames:w?`${w.name} ${w.tithi}`:"",messageSuffix:p,confirmLabel:h,cancelLabel:g,onConfirm:()=>{b!=null&&d(b),y(null)},onCancel:()=>y(null)})]})}function pr(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"},child:[]},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"},child:[]}]})(t)}function fr(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"},child:[]}]})(t)}function yt(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"},child:[]},{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]}]})(t)}function xr(t){return A({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:[]}]})(t)}function mr(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]}]})(t)}function de(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"12",y1:"16",x2:"12",y2:"12"},child:[]},{tag:"line",attr:{x1:"12",y1:"8",x2:"12.01",y2:"8"},child:[]}]})(t)}function vt(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"},child:[]}]})(t)}function hr(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"18 15 12 9 6 15"},child:[]}]})(t)}function gr(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 18 15 12 9 6"},child:[]}]})(t)}function je(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"6 9 12 15 18 9"},child:[]}]})(t)}function Ie(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"20 6 9 17 4 12"},child:[]}]})(t)}function br(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 11 12 14 22 4"},child:[]},{tag:"path",attr:{d:"M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"},child:[]}]})(t)}function Ct(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"},child:[]},{tag:"line",attr:{x1:"16",y1:"2",x2:"16",y2:"6"},child:[]},{tag:"line",attr:{x1:"8",y1:"2",x2:"8",y2:"6"},child:[]},{tag:"line",attr:{x1:"3",y1:"10",x2:"21",y2:"10"},child:[]}]})(t)}function pe(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]},{tag:"polyline",attr:{points:"12 5 19 12 12 19"},child:[]}]})(t)}function ze(t){return A({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"19",y1:"12",x2:"5",y2:"12"},child:[]},{tag:"polyline",attr:{points:"12 19 5 12 12 5"},child:[]}]})(t)}function jr({totalPrice:t,ritualCountLabel:a,proceedLabel:r,onPriceInfoClick:n,onProceedClick:i,disabled:d}){const{t:o}=ce();return e.jsxs("div",{className:"sticky bottom-0 z-20 flex w-full items-start justify-center gap-3 px-4 pb-5 pt-4 drop-shadow-[0px_4px_10px_rgba(0,0,0,0.12)]",style:{backgroundImage:"linear-gradient(to bottom, #fff9e9, #fcccdf)"},children:[e.jsxs("div",{className:"flex shrink-0 flex-col items-center rounded-xl py-1 pr-1",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("p",{className:"whitespace-nowrap text-lg font-bold leading-6 text-[#141414]",children:t}),n&&e.jsx("button",{type:"button",className:"flex size-[18px] shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:n,"aria-label":o("outcomeStickyCtaPriceInfoAriaLabel"),children:e.jsx(de,{"aria-hidden":!0,className:"size-full text-[#E6327A]"})})]}),e.jsx("p",{className:"w-full truncate text-xs font-medium leading-4 text-gray-500",children:a})]}),e.jsxs("button",{type:"button",onClick:i,disabled:d,className:"flex h-14 flex-1 items-center justify-center gap-1 overflow-hidden rounded-xl py-4 pl-4 pr-3 text-sm font-bold leading-5 text-white disabled:cursor-not-allowed disabled:opacity-50",style:{backgroundImage:"linear-gradient(to bottom, #5eb98e, #087955)"},children:[r??o("outcomeStickyCtaProceedLabel"),e.jsx(pe,{"aria-hidden":!0,className:"size-[18px] text-white"})]})]})}const yr="https://srm-sbox-cdn.a4b.io/yoda/1788262425704.svg";function vr(){const{t}=ce();return e.jsxs("div",{className:"flex w-full flex-col items-center gap-3 rounded-[20px] border border-[#e5e3fd] bg-white p-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]",children:[e.jsx("img",{src:yr,alt:"","aria-hidden":!0,className:"size-6"}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-1",children:[e.jsx("p",{className:"w-full text-center text-sm font-bold leading-5 text-gray-700",children:t("outcomeEmptyRitualsTitle")}),e.jsx("p",{className:"w-full text-center text-xs font-normal leading-4 text-gray-500",children:t("outcomeEmptyRitualsSubtitle")})]})]})}const Cr="https://srm-sbox-cdn.a4b.io/yoda/1788261755933.webp",Nr="https://srm-sbox-cdn.a4b.io/yoda/1788261771996.webp",Nt="https://srm-sbox-cdn.a4b.io/yoda/1788261812755.svg",wr="linear-gradient(28.44deg, #fbe9f0 0.54%, #ffffff 18.28%, #ffffff 53.34%, #fcccdf 100%), linear-gradient(90deg, #fff9e9 0%, #fff9e9 100%)";function _r(){const{t}=ce();return e.jsxs("section",{className:"flex w-full flex-col gap-6 px-5 py-6",style:{backgroundImage:wr},children:[e.jsxs("div",{className:"flex w-full flex-col gap-4",children:[e.jsxs("div",{className:"relative h-39 w-full overflow-hidden rounded-xl",children:[e.jsx("img",{src:Cr,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full scale-110 object-cover opacity-80 blur-[1px]"}),e.jsx("div",{className:"absolute",style:{top:"29.79%",right:"0.12%",bottom:0,left:"34.65%"},children:e.jsx("img",{src:Nr,alt:"","aria-hidden":!0,className:"size-full object-contain object-bottom"})})]}),e.jsxs("div",{className:"flex w-full flex-col gap-3",children:[e.jsx("p",{className:"text-xl font-bold leading-7 text-[#200c14]",children:t("landingOnlinePujaTitle")}),e.jsxs("p",{className:"text-sm leading-5 text-gray-500",children:[t("landingOnlinePujaBodyPrefix"),e.jsx("span",{className:"font-bold",children:t("landingOnlinePujaBodyPart1")}),t("landingOnlinePujaBodyPart2"),e.jsx("span",{className:"font-bold",children:t("landingOnlinePujaBodyPart3")}),t("landingOnlinePujaBodyPart4")]})]})]}),e.jsxs("div",{className:"relative flex w-full flex-col items-center gap-2 rounded-xl border border-[#fccf9a] bg-[#feefe9] p-6",children:[e.jsx("img",{src:Nt,alt:"","aria-hidden":!0,className:"absolute left-2.25 top-2.75 h-4.4 w-6.5"}),e.jsx("p",{className:"text-center text-base font-semibold italic leading-[22px] text-[#ad540a]",children:t("landingOnlinePujaQuote")}),e.jsx("img",{src:Nt,alt:"","aria-hidden":!0,className:"absolute bottom-2.75 right-2.25 h-4.4 w-6.5",style:{transform:"rotate(180deg)"}})]})]})}const wt="https://srm-cdn.a4b.io/yoda/1788322995409.svg",_t="https://srm-cdn.a4b.io/yoda/1788323009444.svg",kr="https://srm-cdn.a4b.io/yoda/1788323271172.webp",Lr="https://srm-cdn.a4b.io/yoda/1788323285271.webp",Sr="https://srm-cdn.a4b.io/yoda/1788323296256.webp",Ar="https://srm-cdn.a4b.io/yoda/1788323390415.svg",Pr="https://srm-cdn.a4b.io/yoda/1788323405680.svg",Tr="https://srm-cdn.a4b.io/yoda/1788323418513.svg",Or={top:"1.21%",right:"10.27%",bottom:"20.26%",left:"11.2%"},Er={top:"7.23%",right:"15.96%",bottom:"26.27%",left:"17.52%"},kt=[{key:"guarantee",ribbon:Tr,icon:kr,labelKey:"whySriMandirGuaranteeLabel"},{key:"temples",ribbon:Pr,icon:Sr,labelKey:"whySriMandirTemplesLabel"},{key:"support",ribbon:Ar,icon:Lr,labelKey:"whySriMandirSupportLabel"}];function Mr(){const{t}=ce();return e.jsxs("section",{className:"flex w-full flex-col items-center justify-center gap-5 px-4 py-8",children:[e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsxs("div",{className:"flex flex-1 items-center gap-1",children:[e.jsx("img",{src:wt,alt:"","aria-hidden":!0,className:"h-px flex-1",style:{transform:"scaleX(-1)"}}),e.jsx("img",{src:_t,alt:"","aria-hidden":!0,className:"size-2 shrink-0"})]}),e.jsx("p",{className:"shrink-0 text-sm font-bold leading-5 text-[#22272b]",children:t("whySriMandirHeading")}),e.jsxs("div",{className:"flex flex-1 items-center gap-1",children:[e.jsx("img",{src:_t,alt:"","aria-hidden":!0,className:"size-2 shrink-0"}),e.jsx("img",{src:wt,alt:"","aria-hidden":!0,className:"h-px flex-1"})]})]}),e.jsx("div",{className:"w-full overflow-hidden",children:e.jsx("div",{className:"flex w-max items-start gap-5 animate-[outcome-why-sri-mandir-marquee_14s_linear_infinite] motion-reduce:animate-none",children:[...kt,...kt].map((a,r)=>e.jsxs("div",{className:"flex w-23.5 shrink-0 flex-col items-center gap-2",children:[e.jsxs("div",{className:"relative size-16 shrink-0",children:[e.jsx("img",{src:a.ribbon,alt:"","aria-hidden":!0,className:"absolute",style:Or}),e.jsx("div",{className:"absolute overflow-hidden rounded-full border-[1.33px] border-white",style:Er,children:e.jsx("img",{src:a.icon,alt:"","aria-hidden":!0,className:"size-full object-cover"})})]}),e.jsx("p",{className:"w-full text-center text-[10px] font-medium leading-[14px] text-gray-700",children:t(a.labelKey)})]},`${a.key}-${r}`))})})]})}const Lt="https://srm-sbox-cdn.a4b.io/yoda/1788262151570.svg",St="https://srm-sbox-cdn.a4b.io/yoda/1788261913205.svg",Rr=[{key:"nameGotra",image:"https://srm-sbox-cdn.a4b.io/yoda/1788262091738.webp",titleKey:"processNameGotraTitle",descriptionKey:"processNameGotraDescription"},{key:"liveUpdates",image:"https://srm-sbox-cdn.a4b.io/yoda/1788262066955.webp",titleKey:"processLiveUpdatesTitle",descriptionKey:"processLiveUpdatesDescription"},{key:"mantras",image:"https://srm-sbox-cdn.a4b.io/yoda/1788262081237.webp",titleKey:"processMantrasTitle",descriptionKey:"processMantrasDescription"},{key:"video",image:"https://srm-sbox-cdn.a4b.io/yoda/1788262102550.webp",titleKey:"processVideoTitle",descriptionKey:"processVideoDescription",isVideo:!0}];function Br(){const{t}=ce();return e.jsxs("section",{className:"flex w-full flex-col items-center gap-4 py-4",children:[e.jsxs("div",{className:"flex w-full items-center gap-2 px-4",children:[e.jsxs("div",{className:"flex flex-1 items-center gap-1",children:[e.jsx("img",{src:Lt,alt:"","aria-hidden":!0,className:"h-px flex-1",style:{transform:"scaleX(-1)"}}),e.jsx("img",{src:St,alt:"","aria-hidden":!0,className:"size-2 shrink-0"})]}),e.jsx("p",{className:"shrink-0 text-sm font-bold leading-5 text-[#22272b]",children:t("processInvolvedHeading")}),e.jsxs("div",{className:"flex flex-1 items-center gap-1",children:[e.jsx("img",{src:St,alt:"","aria-hidden":!0,className:"size-2 shrink-0"}),e.jsx("img",{src:Lt,alt:"","aria-hidden":!0,className:"h-px flex-1"})]})]}),e.jsx("div",{className:"flex w-full flex-col items-start gap-4 px-4",children:Rr.map(a=>e.jsxs("div",{className:"flex h-24 w-full items-center overflow-hidden rounded-xl border border-gray-100",children:[e.jsxs("div",{className:"relative h-full w-22 shrink-0",children:[e.jsx("img",{src:a.image,alt:"","aria-hidden":!0,className:"size-full object-cover"}),a.isVideo&&e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx("div",{className:"flex size-8 items-center justify-center rounded-full bg-black/40",children:e.jsx(er,{"aria-hidden":!0,className:"size-4 text-[#F9FAFB]"})})})]}),e.jsxs("div",{className:"flex h-full min-w-0 flex-1 flex-col justify-center gap-2 bg-gray-50 px-3 py-2",children:[e.jsx("p",{className:"text-sm font-bold leading-5 text-gray-700",children:t(a.titleKey)}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-500",children:t(a.descriptionKey)})]})]},a.key))})]})}const Fr="https://srm-cdn.a4b.io/yoda/1788253585577.svg",Dr="https://srm-cdn.a4b.io/yoda/1788323562516.svg";function Ir({images:t,useCase:a,title:r,specificity:n,dateLabel:i,locationLabel:d}){const[o,l]=C.useState(0),c=C.useRef(null),j=()=>{const f=c.current;if(!f||f.children.length===0)return;const p=f.children[0].offsetWidth+16;l(Math.round(f.scrollLeft/p))};return e.jsxs("div",{className:"flex w-full flex-col items-start gap-3 border-b border-gray-100 p-4",children:[e.jsx("div",{ref:c,onScroll:j,className:`flex w-full snap-x snap-mandatory gap-4 overflow-x-auto ${t.length===1?"justify-center":""}`,children:t.map((f,p)=>e.jsx("img",{src:f,alt:"","aria-hidden":p!==0,className:"h-49.5 w-78 shrink-0 snap-center rounded-2xl object-cover"},`${f}-${p}`))}),t.length>1&&e.jsx("div",{className:"flex w-full items-center justify-center gap-1.5",children:t.map((f,p)=>e.jsx("span",{className:`size-1.5 rounded-full ${p===o?"bg-[#e6327a]":"bg-gray-200"}`},`${f}-${p}`))}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-3",children:[a&&e.jsx("p",{className:"w-full text-xs font-semibold uppercase leading-4 text-[#e6327a]",children:a}),e.jsx("p",{className:"w-full text-xl font-bold leading-7 text-[#361407]",children:r}),n&&e.jsx("p",{className:"w-full text-sm font-medium leading-5 text-gray-500",children:n}),e.jsx("img",{src:Dr,alt:"","aria-hidden":!0,className:"h-px w-full"}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-2",children:[e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx(Ct,{"aria-hidden":!0,className:"size-3.5 shrink-0 text-gray-700"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:i})]}),e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx("img",{src:Fr,alt:"","aria-hidden":!0,className:"size-3.5 shrink-0"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:d})]})]})]})]})}const zr="https://srm-cdn.a4b.io/yoda/1788323512851.webp";function Gr({heading:t,benefits:a}){return e.jsxs("section",{className:"flex w-full flex-col items-start gap-5 p-4",children:[e.jsx("p",{className:"text-lg font-bold leading-6 text-[#22272b]",children:t}),e.jsx("div",{className:"flex w-full flex-col gap-5",children:a.map((r,n)=>e.jsxs("div",{className:"flex w-full items-start gap-3",children:[e.jsx("img",{src:r.icon??zr,alt:"","aria-hidden":!0,className:"size-12 shrink-0 rounded-md object-cover"}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-3",children:[e.jsx("p",{className:"w-full text-base font-semibold leading-[22px] text-[#242424]",children:r.title}),e.jsx("p",{className:"w-full text-sm font-normal leading-5 text-gray-500",children:r.description})]})]},`${r.title}-${n}`))})]})}function Ur(t){return A({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"},child:[]}]})(t)}function At(t){return A({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"},child:[]}]})(t)}const Hr=168;function $r({question:t,imageUrl:a,imageAlt:r="",paragraphs:n}){const{t:i}=ce(),[d,o]=C.useState(!1);return e.jsxs("section",{className:"flex w-full flex-col items-start bg-white px-4 py-4",children:[e.jsx("p",{className:"w-full text-lg font-bold leading-6 text-[#242424]",children:t}),e.jsxs("div",{className:"flex w-full flex-col items-start pt-4",children:[a&&e.jsx("img",{src:a,alt:r,className:"h-61.25 w-full rounded-xl object-cover"}),e.jsxs("div",{className:"flex w-full flex-col items-start pt-3",children:[e.jsx("div",{className:"flex w-full flex-col gap-4 overflow-hidden text-justify text-sm font-normal leading-5 text-gray-500",style:d?void 0:{maxHeight:Hr},children:n.map((l,c)=>e.jsx("p",{className:"w-full",children:l},`${l}-${c}`))}),e.jsxs("button",{type:"button",onClick:()=>o(l=>!l),className:"flex items-center gap-1 border-0 bg-transparent pt-2",children:[e.jsx("span",{className:"text-sm font-bold leading-[21px] text-[#f18912]",children:i(d?"templeSignificanceReadLessLabel":"templeSignificanceReadMoreLabel")}),e.jsx(At,{"aria-hidden":!0,className:`size-3 text-[#f18912] ${d?"rotate-180":""}`})]})]})]})]})}function Vr(t){return A({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z"},child:[]}]})(t)}function Wr(t){return A({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zM461.64 256l45.64-45.64c6.3-6.3 6.3-16.52 0-22.82l-22.82-22.82c-6.3-6.3-16.52-6.3-22.82 0L416 210.36l-45.64-45.64c-6.3-6.3-16.52-6.3-22.82 0l-22.82 22.82c-6.3 6.3-6.3 16.52 0 22.82L370.36 256l-45.63 45.63c-6.3 6.3-6.3 16.52 0 22.82l22.82 22.82c6.3 6.3 16.52 6.3 22.82 0L416 301.64l45.64 45.64c6.3 6.3 16.52 6.3 22.82 0l22.82-22.82c6.3-6.3 6.3-16.52 0-22.82L461.64 256z"},child:[]}]})(t)}function Kr(t){return A({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"},child:[]}]})(t)}function Zr(t){return A({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"},child:[]}]})(t)}function Ge(t){return A({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"},child:[]}]})(t)}function Pt(t){return A({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"},child:[]}]})(t)}function qr(t){return A({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"},child:[]}]})(t)}function Yr(t){return A({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M399 384.2C376.9 345.8 335.4 320 288 320l-64 0c-47.4 0-88.9 25.8-111 64.2c35.2 39.2 86.2 63.8 143 63.8s107.8-24.7 143-63.8zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm256 16a72 72 0 1 0 0-144 72 72 0 1 0 0 144z"},child:[]}]})(t)}const Tt=3;function Qr({heading:t,subtitle:a,reviews:r,reviewMedia:n,seeMoreLabel:i,onSeeMoreClick:d}){const[o,l]=C.useState(!1),c=o?r:r.slice(0,Tt),[j,f]=C.useState(0),p=C.useRef(null),h=()=>{const g=p.current;if(!g||g.children.length===0)return;const b=g.children[0].offsetWidth+12;f(Math.round(g.scrollLeft/b))};return e.jsxs("section",{className:"flex w-full flex-col items-start bg-white pb-6 pt-7",children:[e.jsxs("div",{className:"flex w-full flex-col items-start gap-1 px-4 py-2",children:[e.jsx("p",{className:"text-lg font-bold leading-6 text-gray-900",children:t}),e.jsx("p",{className:"w-full text-base font-normal leading-[22px] text-black",children:a})]}),n!=null&&n.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:p,onScroll:h,className:`flex w-full snap-x snap-mandatory gap-3 overflow-x-auto px-4 pt-4 ${n.length===1?"justify-center":""}`,children:n.map((g,b)=>e.jsxs("div",{className:"flex w-60 shrink-0 snap-start flex-col gap-3",children:[e.jsx("div",{className:"h-40 w-full overflow-hidden rounded-xl",children:g.videoUrl?e.jsx("video",{src:g.videoUrl,poster:g.thumbnailUrl,controls:!0,className:"size-full object-cover"}):e.jsx("img",{src:g.imageUrl,alt:"","aria-hidden":!0,className:"size-full object-cover"})}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("img",{src:g.avatarUrl,alt:"","aria-hidden":!0,className:"size-10 shrink-0 rounded-full object-cover"}),e.jsxs("div",{className:"flex min-w-0 flex-col",children:[e.jsx("p",{className:"truncate text-sm font-bold leading-5 text-black",children:g.name}),e.jsx("p",{className:"truncate text-xs font-medium leading-4 text-gray-500",children:g.location})]})]})]},`${g.name}-${b}`))}),n.length>1&&e.jsx("div",{className:"flex w-full items-center justify-center gap-1.5 pt-3",children:n.map((g,b)=>e.jsx("span",{className:`size-2 rounded ${b===j?"bg-[#f18912]":"bg-gray-300"}`},`${g.name}-${b}`))})]}),e.jsx("div",{className:"flex w-full flex-col items-start pt-5",children:c.map((g,b)=>e.jsxs("div",{className:"flex w-full flex-col items-start",children:[e.jsxs("div",{className:"flex w-full items-center gap-2 px-4 pt-4",children:[g.avatarUrl?e.jsx("img",{src:g.avatarUrl,alt:"","aria-hidden":!0,className:"size-11 shrink-0 rounded-full object-cover"}):e.jsx(Yr,{"aria-hidden":!0,className:"size-11 shrink-0 text-gray-300"}),e.jsxs("div",{className:"flex min-w-0 flex-col",children:[e.jsx("p",{className:"truncate text-base font-semibold leading-[22px] text-[#111928]",children:g.name}),e.jsx("p",{className:"truncate text-sm font-medium leading-5 text-gray-500",children:g.date})]})]}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-2 px-4 pt-3",children:[e.jsx("div",{className:"flex items-center gap-2",children:Array.from({length:g.stars}).map((y,w)=>e.jsx(Ge,{"aria-hidden":!0,className:"size-5 text-[#F06A16]"},w))}),e.jsx("p",{className:"w-full text-sm font-normal leading-5 text-gray-500",children:g.text})]}),b<c.length-1&&e.jsx("hr",{className:"mt-6 w-full border-t border-gray-200"})]},`${g.name}-${g.date}-${b}`))}),!o&&r.length>Tt&&i&&e.jsx("div",{className:"flex w-full flex-col items-center px-4 pt-5",children:e.jsx("button",{type:"button",onClick:()=>{l(!0),d?.()},className:"flex h-10 w-full items-center justify-center rounded-lg border border-[#e6e4eb] bg-white text-base font-medium leading-[22px] text-[#1573df]",children:i})})]})}const Jr=[{variant:"pandits",textKey:"outcomeTrustPanditsText"},{variant:"gotra",textKey:"outcomeTrustGotraText"},{variant:"video",textKey:"outcomeTrustVideoText"}];function Xr(t){return A({attr:{version:"1.1",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M16 8c-0.020-1.045-0.247-2.086-0.665-3.038-0.417-0.953-1.023-1.817-1.766-2.53s-1.624-1.278-2.578-1.651c-0.953-0.374-1.978-0.552-2.991-0.531-1.013 0.020-2.021 0.24-2.943 0.646-0.923 0.405-1.758 0.992-2.449 1.712s-1.237 1.574-1.597 2.497c-0.361 0.923-0.533 1.914-0.512 2.895 0.020 0.981 0.234 1.955 0.627 2.847 0.392 0.892 0.961 1.7 1.658 2.368s1.523 1.195 2.416 1.543c0.892 0.348 1.851 0.514 2.799 0.493 0.949-0.020 1.89-0.227 2.751-0.608 0.862-0.379 1.642-0.929 2.287-1.604s1.154-1.472 1.488-2.335c0.204-0.523 0.342-1.069 0.415-1.622 0.019 0.001 0.039 0.002 0.059 0.002 0.552 0 1-0.448 1-1 0-0.028-0.001-0.056-0.004-0.083h0.004zM14.411 10.655c-0.367 0.831-0.898 1.584-1.55 2.206s-1.422 1.112-2.254 1.434c-0.832 0.323-1.723 0.476-2.608 0.454-0.884-0.020-1.759-0.215-2.56-0.57-0.801-0.354-1.526-0.867-2.125-1.495s-1.071-1.371-1.38-2.173c-0.31-0.801-0.457-1.66-0.435-2.512s0.208-1.694 0.551-2.464c0.342-0.77 0.836-1.468 1.441-2.044s1.321-1.029 2.092-1.326c0.771-0.298 1.596-0.438 2.416-0.416s1.629 0.202 2.368 0.532c0.74 0.329 1.41 0.805 1.963 1.387s0.988 1.27 1.272 2.011c0.285 0.74 0.418 1.532 0.397 2.32h0.004c-0.002 0.027-0.004 0.055-0.004 0.083 0 0.516 0.39 0.94 0.892 0.994-0.097 0.544-0.258 1.075-0.481 1.578z"},child:[]}]})(t)}const Ot=Ba.cva("group appearance-none inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-semibold transition-colors disabled:pointer-events-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2",{variants:{variant:{primary:"border-0 bg-gradient-to-b from-[#f97e4e] to-[#f75e22] text-white hover:opacity-90 disabled:bg-none disabled:bg-[#9ca3af]",secondary:"border border-[#f75e22] bg-white text-[#f75e22] hover:bg-orange-50 disabled:opacity-50",outline:"border border-gray-300 bg-transparent text-gray-900 hover:bg-gray-50 disabled:opacity-50",ghost:"border-0 bg-transparent text-gray-900 hover:bg-gray-100 disabled:opacity-50"},size:{xs:"h-6 px-2 text-xs",sm:"h-8 px-3 text-sm",md:"h-10 px-4 text-sm",lg:"h-12 px-5 text-base",xl:"h-14 px-6 text-base"},iconOnly:{true:"rounded-full p-0",false:""}},compoundVariants:[{iconOnly:!0,size:"xs",className:"w-6"},{iconOnly:!0,size:"sm",className:"w-8"},{iconOnly:!0,size:"md",className:"w-10"},{iconOnly:!0,size:"lg",className:"w-12"},{iconOnly:!0,size:"xl",className:"w-14"}],defaultVariants:{variant:"primary",size:"lg",iconOnly:!1}}),I=Ia.forwardRef(({className:t,variant:a,size:r,iconOnly:n,loading:i=!1,disabled:d,leftIcon:o,rightIcon:l,children:c,type:j="button",...f},p)=>{const h=(a??"primary")==="primary";return e.jsx("button",{ref:p,type:j,disabled:d||i,className:u.cn(Ot({variant:a,size:r,iconOnly:n}),t),...f,children:i?e.jsx(Xr,{className:"animate-spin","aria-hidden":!0}):e.jsxs("span",{className:u.cn("inline-flex items-center gap-2",h&&"group-disabled:opacity-50"),children:[o,c,l]})})});I.displayName="Button";function ye(t){return t.isOpen?e.jsx("div",{className:"fixed inset-0 z-[1100] mx-auto w-full max-w-md",style:{transform:"translateZ(0)"},children:e.jsx(u.BottomSheet,{...t})}):null}const es=({quote:t,authorName:a,authorAvatarUrl:r,meta:n,rating:i=5,className:d="",...o})=>e.jsxs("div",{className:u.cn("flex flex-col gap-3 rounded-lg bg-[#fef5e9] px-4 py-3.75",d),...o,children:[e.jsx("p",{className:"w-full wrap-break-word text-xs font-normal text-[#1d2125]",children:t}),e.jsxs("div",{className:"flex w-full items-start gap-x-2.5",children:[r?e.jsx("img",{src:r,alt:"",className:"size-8 shrink-0 rounded-full object-cover"}):e.jsx("div",{className:"size-8 shrink-0 rounded-full",style:{background:"linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%)"},"aria-hidden":!0}),e.jsxs("div",{className:"flex flex-col min-w-0 flex-1 gap-0.5",children:[e.jsxs("div",{className:"flex items-center gap-1.75",children:[e.jsx("span",{className:"truncate text-sm font-bold text-[#1d2125]",children:a}),e.jsx("span",{className:"flex items-center gap-1 text-amber-500","aria-hidden":!0,children:Array.from({length:Math.max(0,Math.min(5,i))},(l,c)=>e.jsx(Ge,{size:14},c))})]}),e.jsx("p",{className:"text-xs font-medium text-gray-500",children:n})]})]})]}),Et=({title:t="अक्सर पूछे जाने वाले प्रश्न",items:a,initialVisibleCount:r=6,showCta:n=!0,defaultExpanded:i=!1,ctaExpandLabel:d="और देखें",ctaCollapseLabel:o="कम देखें",defaultOpenIndex:l=-1,className:c="",showTitleAccent:j=!1})=>{const[f,p]=C.useState(i),[h,g]=C.useState(l),b=n&&a.length>r,y=b&&!f?a.slice(0,r):a;return e.jsxs("div",{className:u.cn("flex flex-col items-center gap-5 bg-white px-4 py-6",c),children:[j?e.jsxs("h2",{className:"flex w-full items-center gap-2 text-lg font-bold text-[#1d2125]",children:[e.jsx("span",{"aria-hidden":!0,className:"block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]"}),t]}):e.jsx("h2",{className:"px-4 text-center text-base font-bold text-[#1d2125]",children:t}),e.jsx("div",{className:"flex w-full flex-col gap-3",children:y.map((w,_)=>{const v=h===_;return e.jsxs("div",{className:"w-full overflow-hidden rounded-lg border border-[#f3f4f6]",children:[e.jsxs("button",{type:"button",className:u.cn("flex w-full items-center justify-between gap-2 p-3 text-left",v?"bg-[#f7f8f9]":"bg-white"),onClick:()=>g(v?-1:_),"aria-expanded":v,"aria-controls":`faq-answer-${_}`,id:`faq-question-${_}`,children:[e.jsx("span",{className:"flex-1 text-sm font-medium text-[#22272b]",children:w.question}),e.jsx(je,{size:24,className:u.cn("shrink-0 transition-transform duration-200",v?"rotate-180":""),"aria-hidden":!0})]}),e.jsx("div",{id:`faq-answer-${_}`,role:"region","aria-labelledby":`faq-question-${_}`,hidden:!v,className:"bg-white p-3",children:e.jsx("p",{className:"text-sm text-[#374151]",children:w.answer})})]},_)})}),b&&e.jsx(I,{variant:"secondary",size:"lg",className:"w-full",onClick:()=>p(w=>!w),"aria-expanded":f,rightIcon:e.jsx(je,{size:24,className:u.cn("shrink-0 transition-transform duration-200",f?"rotate-180":""),"aria-hidden":!0}),children:f?o:d})]})},ts=({title:t="Frequently Asked Questions",showTitleAccent:a=!0,items:r,initialVisibleCount:n=6,showCta:i=!0,defaultExpanded:d=!1,ctaExpandLabel:o="See more",ctaCollapseLabel:l="See less",defaultOpenIndex:c=-1,className:j=""})=>{const[f,p]=C.useState(d),[h,g]=C.useState(c),b=i&&r.length>n,y=b&&!f?r.slice(0,n):r;return e.jsxs("div",{className:u.cn("flex flex-col gap-3 bg-white px-4 py-6",j),children:[e.jsxs("h2",{className:"flex items-center gap-2 text-sm font-bold text-[#374151]",children:[a&&e.jsx("span",{"aria-hidden":!0,className:"block h-[18px] w-[3px] shrink-0 bg-[#f75e22]"}),t]}),e.jsx("div",{className:"flex w-full flex-col",children:y.map((w,_)=>{const v=h===_,P=v?hr:je;return e.jsxs("div",{className:"w-full border-b border-[#f3f4f6] py-3 last:border-b-0",children:[e.jsxs("button",{type:"button",className:"flex w-full items-center justify-between gap-2 text-left",onClick:()=>g(v?-1:_),"aria-expanded":v,"aria-controls":`faq-accordion-answer-${_}`,id:`faq-accordion-question-${_}`,children:[e.jsx("span",{className:"flex-1 text-sm font-semibold text-[#22272b]",children:w.question}),e.jsx(P,{size:24,className:"shrink-0 text-[#f75e22]","aria-hidden":!0})]}),e.jsx("div",{id:`faq-accordion-answer-${_}`,role:"region","aria-labelledby":`faq-accordion-question-${_}`,hidden:!v,children:e.jsx("p",{className:"mt-2 text-xs text-[#374151]",children:w.answer})})]},_)})}),b&&e.jsx(I,{variant:"secondary",size:"lg",className:"w-full",onClick:()=>p(w=>!w),"aria-expanded":f,rightIcon:e.jsx(je,{size:24,className:u.cn("shrink-0 transition-transform duration-200",f?"rotate-180":""),"aria-hidden":!0}),children:f?l:o})]})},Mt=C.forwardRef(({src:t,poster:a,className:r="",rounded:n=!0,width:i,height:d},o)=>{const[l,c]=C.useState(!1),[j,f]=C.useState(!0),[p,h]=C.useState(!1),[g,b]=C.useState(0),[y,w]=C.useState(0),_=C.useRef(null),v=i!==void 0||d!==void 0,P=u.cn("block w-full",v&&"h-full object-cover"),B=M=>{const L=Number(M.target.value);b(L),_.current&&(_.current.currentTime=L)};return e.jsx("div",{ref:o,style:{width:i,height:d},className:u.cn("relative w-full overflow-hidden",n&&"rounded-2xl",r),children:l?e.jsxs(e.Fragment,{children:[e.jsx(Fa,{ref:_,src:t,poster:a,playing:j,muted:p,width:i,height:d,className:P,onTimeUpdate:M=>b(M.currentTarget.currentTime),onDurationChange:M=>w(M.currentTarget.duration),onEnded:()=>f(!1)}),e.jsx(I,{variant:"ghost",iconOnly:!0,size:"lg","aria-label":j?"Pause":"Play",className:"absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",onClick:()=>f(M=>!M),children:j?e.jsx(qr,{size:16}):e.jsx(Pt,{size:16,className:"translate-x-0.5"})}),e.jsx(I,{variant:"ghost",iconOnly:!0,size:"sm","aria-label":p?"Unmute":"Mute",className:"absolute left-2 top-2 text-white hover:bg-white/10",onClick:()=>h(M=>!M),children:p?e.jsx(Wr,{size:14}):e.jsx(Vr,{size:14})}),e.jsx("input",{type:"range",min:0,max:y||0,step:.1,value:g,onChange:B,"aria-label":"Seek",className:"absolute bottom-4 left-5 right-5 h-1 accent-white"})]}):e.jsxs(e.Fragment,{children:[e.jsx("img",{src:a,alt:"",className:P}),e.jsx("div",{className:"absolute inset-0 bg-linear-to-b from-black/0 to-black/60"}),e.jsx(I,{variant:"ghost",iconOnly:!0,size:"lg","aria-label":"Play video",className:"absolute inset-0 m-auto border border-white/20 bg-black/40 text-white backdrop-blur-sm hover:bg-black/50",onClick:()=>c(!0),children:e.jsx(Pt,{size:16,className:"translate-x-0.5"})})]})})});Mt.displayName="VideoPlayer";const as=()=>e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163707447.svg",alt:"",width:24,height:24}),Ue=C.forwardRef(({options:t,value:a,onChange:r,defaultOpen:n=!1,open:i,onOpenChange:d,className:o="",triggerClassName:l="",menuClassName:c="",...j},f)=>{const[p,h]=C.useState(n),g=i!==void 0,b=g?i:p,y=C.useCallback(v=>{g||h(v),d?.(v)},[g,d]),w=C.useRef(null);C.useImperativeHandle(f,()=>w.current),C.useEffect(()=>{if(!b)return;const v=B=>{w.current?.contains(B.target)||y(!1)},P=B=>{B.key==="Escape"&&y(!1)};return document.addEventListener("mousedown",v),document.addEventListener("keydown",P),()=>{document.removeEventListener("mousedown",v),document.removeEventListener("keydown",P)}},[b,y]);const _=v=>{r?.(v.value),y(!1)};return e.jsxs("div",{ref:w,className:u.cn("relative inline-block",o),...j,children:[e.jsxs("button",{type:"button",onClick:()=>y(!b),"aria-label":"Switch language","aria-haspopup":"listbox","aria-expanded":b,className:u.cn("inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",l),children:[e.jsx(as,{}),e.jsx(je,{size:24,className:u.cn("transition-transform duration-200",b?"rotate-180":""),"aria-hidden":!0})]}),b&&e.jsx("ul",{role:"listbox",className:u.cn("absolute left-0 top-full z-10 mt-2 min-w-35 overflow-hidden rounded-lg border border-gray-200 bg-white py-1 shadow-lg",c),children:t.map(v=>{const P=v.value===a;return e.jsx("li",{role:"option","aria-selected":P,children:e.jsx("button",{type:"button",onClick:()=>_(v),className:u.cn("block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",P?"font-medium text-[#f75e22]":"text-[#1d2125]"),children:v.label})},v.value)})})]})});Ue.displayName="LanguageSwitcher";function rs({onBackClick:t,backButtonAriaLabel:a="Go back",locale:r,localeOptions:n,onLocaleChange:i,className:d}){return e.jsxs("div",{className:u.cn("mx-auto flex w-full max-w-md items-center justify-between px-4 py-3",d),children:[e.jsx("button",{type:"button",onClick:t,"aria-label":a,className:"flex size-8 shrink-0 items-center justify-center rounded-lg border-0 bg-transparent p-0 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.1)]",children:e.jsx(ze,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx(Ue,{options:n,value:r,onChange:i,menuClassName:"left-auto right-0"})]})}const Rt=C.forwardRef(({label:t,selected:a=!1,onClick:r,icon:n,className:i,type:d="button",...o},l)=>e.jsxs("button",{ref:l,type:d,onClick:r,"aria-pressed":a,className:u.cn("inline-flex shrink-0 items-center justify-center gap-1 rounded-full border text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",a?"border-[#f38415] bg-[#f38415] px-4 py-1.5 text-white":"border-[#fccf9a] bg-[#ffffff66] px-3 py-1.5 text-[#374151] hover:bg-white/70",i),...o,children:[n,t]}));Rt.displayName="Chip";const ss=({quote:t,currentStep:a,totalSteps:r,className:n,...i})=>{const d=r>0?Math.min(100,Math.max(0,a/r*100)):0;return e.jsxs("div",{className:u.cn("step-progress-header",n),...i,children:[e.jsxs("div",{className:"step-progress-header__column",children:[e.jsx("p",{className:"step-progress-header__quote",children:t}),e.jsxs("div",{className:"step-progress-header__track",children:[e.jsx("div",{className:"step-progress-header__track-fill",style:{width:`${d}%`}}),e.jsx("div",{className:"step-progress-header__track-marker",style:{left:`${d}%`},children:e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163246556.svg",alt:"",width:21,height:21})})]})]}),e.jsxs("p",{className:"step-progress-header__count",children:[a,"/",r]})]})};function ns(t){return A({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11.553 3.064A.75.75 0 0 1 12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805a.752.752 0 0 1 .808-.13ZM10.5 5.445l-4.245 3.86a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86Zm8.218-1.223a.75.75 0 0 1 1.06 0c4.296 4.296 4.296 11.26 0 15.556a.75.75 0 0 1-1.06-1.06 9.5 9.5 0 0 0 0-13.436.75.75 0 0 1 0-1.06Z"},child:[]},{tag:"path",attr:{d:"M16.243 7.757a.75.75 0 1 0-1.061 1.061 4.5 4.5 0 0 1 0 6.364.75.75 0 0 0 1.06 1.06 6 6 0 0 0 0-8.485Z"},child:[]}]})(t)}function is(t){return A({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 3.75v16.5a.75.75 0 0 1-1.255.555L5.46 16H2.75A1.75 1.75 0 0 1 1 14.25v-4.5C1 8.784 1.784 8 2.75 8h2.71l5.285-4.805A.75.75 0 0 1 12 3.75ZM6.255 9.305a.748.748 0 0 1-.505.195h-3a.25.25 0 0 0-.25.25v4.5c0 .138.112.25.25.25h3c.187 0 .367.069.505.195l4.245 3.86V5.445ZM16.28 8.22a.75.75 0 1 0-1.06 1.06L17.94 12l-2.72 2.72a.75.75 0 1 0 1.06 1.06L19 13.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L20.06 12l2.72-2.72a.75.75 0 0 0-1.06-1.06L19 10.94l-2.72-2.72Z"},child:[]}]})(t)}const Bt=1.25,Ft=[{x:11.02,y:6.38,height:5.28},{x:16.3,y:6.38,height:5.28},{x:8.36,y:3.8,height:10.44},{x:13.68,y:4.8,height:8.4},{x:5.73,y:2.84,height:12.32},{x:3.07,y:6,height:6.03},{x:.45,y:7.29,height:3.37}],ls=({animate:t,iconIndex:a})=>e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",children:Ft.map((r,n)=>e.jsx("rect",{x:r.x,y:r.y,width:Bt,height:r.height,rx:Bt/2,fill:"#6B7280",className:t?"wave-bar-anim":"",style:{animationDelay:`${(a*Ft.length+n)*60}ms`}},n))}),os=({avatarUrl:t,question:a,description:r,audioSrc:n,className:i,...d})=>{const o=C.useRef(null),l=C.useRef(!1),[c,j]=C.useState(!1),[f,p]=C.useState(!1);C.useEffect(()=>{!n||l.current||(l.current=!0,o.current?.play().catch(()=>{}))},[n]);const h=()=>{const g=o.current;g&&(g.muted=!g.muted,j(g.muted))};return e.jsxs("div",{className:u.cn("flex w-full items-start gap-3 px-4 pb-6",i),...d,children:[e.jsxs("div",{className:"relative size-16 shrink-0 overflow-hidden rounded-[12.8px] bg-linear-to-b from-[#fef5e9] to-[#fccf9a]",children:[e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163138113.svg",alt:"",className:"absolute"}),e.jsx("img",{src:t,alt:"",className:"absolute top-1 size-[73.92px] object-contain"})]}),e.jsxs("div",{className:"flex min-w-0 flex-1 items-start",children:[e.jsx("svg",{viewBox:"0 0 18.7767 32.5742",fill:"none","aria-hidden":!0,className:"h-[32.574px] w-[18.777px] shrink-0 -mr-2",children:e.jsx("path",{d:"M0 16.2871L14.0826 7.37821L14.0826 25.196L0 16.2871Z",fill:"white"})}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-2 rounded-2xl bg-white p-4 drop-shadow-[-2px_2px_5px_rgba(252,207,154,0.3)]",children:[e.jsx("p",{className:"text-base",children:a}),e.jsx("p",{className:"text-[10px]",children:r}),n&&e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("audio",{ref:o,src:n,onPlay:()=>p(!0),onPause:()=>p(!1),onEnded:()=>p(!1)}),e.jsx("button",{type:"button",onClick:h,"aria-label":c?"Unmute":"Mute","aria-pressed":c,className:"flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",children:c?e.jsx(is,{size:18,className:"text-[#f75e22]"}):e.jsx(ns,{size:18,className:"text-[#f75e22]"})}),e.jsx("div",{className:"flex items-center gap-[1.5px]",children:[0,1,2].map(g=>e.jsx(ls,{animate:f&&!c,iconIndex:g},g))})]})]})]})]})},cs={sm:"size-9",md:"size-11",lg:"size-16"},fe=C.forwardRef(({icon:t,avatarUrl:a,alt:r="",size:n="md",className:i,...d},o)=>e.jsx("div",{ref:o,className:u.cn("flex shrink-0 items-center justify-center overflow-hidden rounded-full",cs[n],!a&&"bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",i),"aria-hidden":a?void 0:!0,...d,children:a?e.jsx("img",{src:a,alt:r,className:"size-full object-cover"}):t}));fe.displayName="IconBadge";const Se=C.forwardRef(({selected:t=!1,onSelect:a,icon:r,avatarUrl:n,iconSize:i="md",iconClassName:d,title:o,description:l,badge:c,showRadio:j=!0,radioVariant:f="dot",radioClassName:p,tag:h,tagClassName:g,children:b,note:y,noteClassName:w,className:_,disabled:v,type:P="button",...B},M)=>{const L=e.jsxs("div",{className:u.cn("relative overflow-visible rounded-xl border transition-colors",t?"border-[#F38415] bg-[#FEF5E9]":"border-gray-200 bg-white",v&&"opacity-50",_),children:[h&&e.jsx("span",{className:u.cn("absolute -top-2.5 left-4 z-10 inline-flex items-center rounded-full bg-[#6d5bd0] px-2.5 py-1 text-[11px] font-semibold whitespace-nowrap text-white",g),children:h}),e.jsxs("button",{ref:M,type:P,role:"radio","aria-checked":t,disabled:v,onClick:a,className:u.cn("flex w-full items-center gap-3 overflow-hidden rounded-xl px-2 py-2 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2 disabled:cursor-not-allowed",h&&"pt-7"),...B,children:[(r||n)&&e.jsx(fe,{icon:r,avatarUrl:n,size:i,className:d}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#1d2125]",children:o}),l&&!b&&e.jsx("p",{className:"mt-0.5 text-[13px] leading-4.5 text-gray-500",children:l})]}),c&&e.jsx("span",{className:"shrink-0",children:c}),j&&e.jsxs("span",{"aria-hidden":!0,className:u.cn("inline-flex size-6 shrink-0 items-center justify-center rounded-full border transition-colors",t?f==="check"?u.cn("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white",p):"border-[#F75E22]":"border-gray-300"),children:[t&&f==="dot"&&e.jsx("span",{className:u.cn("size-4 rounded-full bg-[#F75E22]",p)}),t&&f==="check"&&e.jsx(Ie,{size:14,"aria-hidden":!0})]})]}),b]});return y?e.jsxs("div",{className:"overflow-hidden rounded-xl bg-[#FCCF9A]",children:[L,e.jsx("div",{className:u.cn("px-4 py-1 text-center text-[10px] leading-3.5 font-medium text-[#632E06]",w),children:y})]}):L});Se.displayName="SelectorCard";const ds=({value:t,onClick:a,className:r,...n})=>e.jsxs("div",{role:a?"button":void 0,tabIndex:a?0:void 0,onClick:a,className:u.cn("mx-3 mb-3 flex items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",a&&"cursor-pointer",r),...n,children:[e.jsx(vt,{size:16,className:"shrink-0 text-gray-900","aria-hidden":!0}),e.jsx("span",{className:"truncate text-[15px] font-medium text-gray-900",children:t})]}),us=({value:t,onInfoClick:a,infoLabel:r="More info",className:n,...i})=>e.jsxs("div",{className:u.cn("mx-3 mb-3 flex items-center justify-between gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",n),...i,children:[e.jsx("span",{className:"truncate text-[15px] font-medium text-gray-900",children:t}),a?e.jsx("button",{type:"button",onClick:a,"aria-label":r,className:"shrink-0 border-0 bg-transparent p-0 text-gray-700",children:e.jsx(de,{size:18,"aria-hidden":!0})}):e.jsx(de,{size:18,className:"shrink-0 text-gray-700","aria-hidden":!0})]}),Dt=({value:t,className:a,...r})=>e.jsx("span",{className:u.cn("inline-flex items-center rounded-full bg-white px-1.5 py-1 text-sm font-medium text-[#159169]",a),...r,children:t}),ps=({className:t,children:a,...r})=>e.jsx("div",{className:u.cn("rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#632e06]",t),...r,children:a}),fs=({value:t,onIncrement:a,onDecrement:r,min:n=0,max:i,addLabel:d="Add",className:o})=>t<=n?e.jsxs("button",{type:"button",onClick:a,className:u.cn("inline-flex h-10 w-22 cursor-pointer items-center justify-center gap-2.5 rounded-lg bg-linear-to-b from-[#5eb98e] to-[#087955] text-base font-bold text-white",o),children:[e.jsx(yt,{size:20,"aria-hidden":!0}),d]}):e.jsxs("div",{className:u.cn("inline-flex h-10 w-22 items-center justify-between rounded-lg border border-[#159169] bg-linear-to-b from-white to-[#edf5f2] px-3 text-[#087955] shadow-md",o),children:[e.jsx("button",{type:"button",onClick:r,"aria-label":"Decrease quantity",className:"inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",children:e.jsx(mr,{size:18,"aria-hidden":!0})}),e.jsx("span",{className:"min-w-[1ch] text-center text-base font-bold",children:t}),e.jsx("button",{type:"button",onClick:a,disabled:i!==void 0&&t>=i,"aria-label":"Increase quantity",className:"inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors disabled:pointer-events-none disabled:opacity-40",children:e.jsx(yt,{size:18,"aria-hidden":!0})})]}),It={en:{backButtonAriaLabel:"Go back",headerTitle:"Review your booking",addonsTitle:"Add services for all ancestors",addonsDescription:"These pujas will be performed on the day of Sarva Pitru Amavasya",addedLabel:"Added",addLabel:"Add",mandapTitle:"Temple and Mandap Charges",mandapDescription:"This fee covers the temple space, mandap, and other arrangements needed for the puja.",checkoutProceedLabel:"Proceed to fill details",checkoutRitualSingular:"Ritual",checkoutRitualPlural:"Rituals"},hi:{backButtonAriaLabel:"वापस जाएं",headerTitle:"अपनी बुकिंग की समीक्षा करें",addonsTitle:"सभी पितरों के लिए सेवाएं जोड़ें",addonsDescription:"ये पूजाएं सर्वोपित्र अमावस्या के दिन सम्पन्न की जाएंगी",addedLabel:"जोड़ा गया",addLabel:"जोड़ें",mandapTitle:"मंदिर और मंडप शुल्क",mandapDescription:"पूजा के लिए मंदिर में स्थान, मंडप और आवश्यक पूजा व्यवस्था सुनिश्चित करने के लिए यह शुल्क लिया जाता है",checkoutProceedLabel:"आगे बढ़ें, और डिटेल्स भरें",checkoutRitualSingular:"पूजा-विधि",checkoutRitualPlural:"पूजा-विधि"},kn:{backButtonAriaLabel:"ಹಿಂದೆ ಹೋಗಿ",headerTitle:"ನಿಮ್ಮ ಬುಕಿಂಗ್ ಪರಿಶೀಲಿಸಿ",addonsTitle:"ಎಲ್ಲಾ ಪೂರ್ವಜರಿಗಾಗಿ ಸೇವೆಗಳನ್ನು ಸೇರಿಸಿ",addonsDescription:"ಈ ಪೂಜೆಗಳನ್ನು ಸರ್ವ ಪಿತೃ ಅಮಾವಾಸ್ಯೆಯ ದಿನದಂದು ನೆರವೇರಿಸಲಾಗುತ್ತದೆ",addedLabel:"ಸೇರಿಸಲಾಗಿದೆ",addLabel:"ಸೇರಿಸಿ",mandapTitle:"ದೇವಾಲಯ ಮತ್ತು ಮಂಟಪದ ಶುಲ್ಕಗಳು",mandapDescription:"ಈ ಶುಲ್ಕವು ದೇವಾಲಯದ ಜಾಗ, ಮಂಟಪ ಮತ್ತು ಪೂಜೆಗೆ ಅಗತ್ಯವಿರುವ ಇತರ ಸಿದ್ಧತೆಗಳನ್ನು ಒಳಗೊಂಡಿರುತ್ತದೆ.",checkoutProceedLabel:"ವಿವರಗಳನ್ನು ನಮೂದಿಸಲು ಮುಂದುವರಿಯಿರಿ",checkoutRitualSingular:"ಪೂಜೆ",checkoutRitualPlural:"ಪೂಜೆಗಳು"},te:{backButtonAriaLabel:"వెనుకకు వెళ్లండి",headerTitle:"మీ బుకింగ్ను సమీక్షించండి",addonsTitle:"అందరి పితరుల కోసం సేవలను జోడించండి",addonsDescription:"ఈ పూజలు సర్వ పితృ అమావాస్య రోజున జరుగుతాయి",addedLabel:"జోడించబడింది",addLabel:"జోడించండి",mandapTitle:"ఆలయ మరియు మండప రుసుము",mandapDescription:"ఈ రుసుము ఆలయ స్థలం, మండపం మరియు పూజకు అవసరమైన ఇతర ఏర్పాట్లను కవర్ చేస్తుంది.",checkoutProceedLabel:"ముందుకు సాగండి",checkoutRitualSingular:"పూజ",checkoutRitualPlural:"పూజలు"}},Ae=t=>It[t]??It.en,He=({title:t,description:a,price:r,originalPrice:n,action:i,className:d,...o})=>e.jsx("div",{className:u.cn("rounded-2xl border border-gray-200 bg-white p-4",d),...o,children:e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-[15px] leading-5 font-bold text-[#1d2125]",children:t}),a&&e.jsx("p",{className:"mt-1 text-sm leading-5 text-gray-500",children:a})]}),e.jsxs("div",{className:"flex shrink-0 flex-col items-end gap-2",children:[e.jsxs("div",{className:"flex items-baseline gap-1.5 whitespace-nowrap",children:[n&&e.jsx("span",{className:"text-sm text-gray-400 line-through",children:n}),e.jsx("span",{className:"text-[15px] font-bold text-[#1d2125]",children:r})]}),i]})]})}),zt=({locale:t="en",...a})=>{const{mandapTitle:r,mandapDescription:n}=Ae(t);return e.jsx(He,{title:r,description:n,...a})},xs=({children:t="Change",className:a,type:r="button",...n})=>e.jsxs("button",{type:r,className:u.cn("inline-flex items-center gap-1.5 rounded-full border border-gray-300 px-3 py-1.5 text-sm font-semibold text-gray-900 transition-colors hover:bg-gray-50",a),...n,children:[e.jsx(vt,{size:14,"aria-hidden":!0}),t]}),ms=({locale:t="en",isAdded:a=!0,children:r,className:n,type:i="button",...d})=>e.jsxs("button",{type:i,className:u.cn("inline-flex items-center gap-1.5 rounded-full border border-emerald-500 px-3 py-1.5 text-sm font-semibold text-emerald-600 transition-colors hover:bg-emerald-50",n),...d,children:[a&&e.jsx(Ie,{size:14,"aria-hidden":!0}),r??(a?Ae(t).addedLabel:Ae(t).addLabel)]}),Y={contentBlock:"_contentBlock_130xm_8",imageWrap:"_imageWrap_130xm_18",image:"_image_130xm_18",tag:"_tag_130xm_30",info:"_info_130xm_45",title:"_title_130xm_52",description:"_description_130xm_59",footer:"_footer_130xm_66",priceRow:"_priceRow_130xm_74",price:"_price_130xm_74",basePrice:"_basePrice_130xm_89",savedBadge:"_savedBadge_130xm_98",actionWrap:"_actionWrap_130xm_113"},Gt=({isOpen:t,onClose:a,ariaLabel:r,image:n,imageAlt:i="",tag:d,tagClassName:o,title:l,description:c,descriptionHtml:j,price:f,basePrice:p,currencySymbol:h="₹",showSavedBadge:g,savedLabel:b,action:y})=>{const w=typeof p=="number"&&p>f,_=w?Math.round((p-f)/p*100):0,v=(g??w)&&_>0;return e.jsx(ye,{isOpen:t,onClose:a,ariaLabel:r,showCloseButton:!0,closeButtonOutside:!0,footer:e.jsxs("div",{className:Y.footer,children:[e.jsxs("div",{className:Y.priceRow,children:[e.jsxs("span",{className:Y.price,children:[h,f]}),w&&e.jsxs("span",{className:Y.basePrice,children:[h,p]}),v&&e.jsx("span",{className:Y.savedBadge,children:b??`Save ${_}%`})]}),y&&e.jsx("div",{className:Y.actionWrap,children:y})]}),children:e.jsxs("div",{className:Y.contentBlock,children:[e.jsx("div",{className:Y.imageWrap,children:e.jsx("img",{src:n,alt:i,className:Y.image})}),d&&e.jsx("div",{className:u.cn(Y.tag,o),children:d}),e.jsxs("div",{className:Y.info,children:[e.jsx("p",{className:Y.title,children:l}),j?e.jsx("div",{className:Y.description,dangerouslySetInnerHTML:{__html:j}}):c&&e.jsx("p",{className:Y.description,children:c})]})]})})},V={card:"_card_19yuv_11",tappable:"_tappable_19yuv_19",tag:"_tag_19yuv_23",content:"_content_19yuv_37",info:"_info_19yuv_44",textGroup:"_textGroup_19yuv_53",title:"_title_19yuv_59",description:"_description_19yuv_66",descriptionClamp:"_descriptionClamp_19yuv_78",readMoreToggleBlock:"_readMoreToggleBlock_19yuv_89",readMoreToggle:"_readMoreToggle_19yuv_89",priceRow:"_priceRow_19yuv_106",price:"_price_19yuv_106",originalPrice:"_originalPrice_19yuv_121",imageWrap:"_imageWrap_19yuv_127",image:"_image_19yuv_127",actionWrap:"_actionWrap_19yuv_141"},hs=t=>t.replace(/<[^>]*>/g,"").trim(),Ut=({image:t,imageAlt:a="",title:r,description:n,descriptionHtml:i,descriptionClampLines:d=2,descriptionMaxLength:o=40,locale:l="en",readMoreLabel:c=De(l,"templeSignificanceReadMoreLabel"),readLessLabel:j=De(l,"templeSignificanceReadLessLabel"),price:f,originalPrice:p,tag:h,tagClassName:g,action:b,sheetPrice:y,sheetBasePrice:w,sheetCurrencySymbol:_,sheetShowSavedBadge:v,sheetSavedLabel:P,sheetAriaLabel:B,className:M,...L})=>{const[G,Q]=C.useState(!1),[W,U]=C.useState(!1),Z=i?hs(i).length>o:typeof n=="string"&&n.length>o,te=Z&&!i&&!G?`${n.slice(0,o).trimEnd()}... `:n,F=typeof y=="number",H=!!i&&Z&&!G,K=Z&&e.jsx("button",{type:"button",onClick:J=>{J.stopPropagation(),F?U(!0):Q(re=>!re)},className:u.cn(V.readMoreToggle,i&&V.readMoreToggleBlock),children:F?c:G?j:c});return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:u.cn(V.card,F&&V.tappable,M),onClick:F?()=>U(!0):void 0,...L,children:[h&&e.jsx("div",{className:u.cn(V.tag,g),children:h}),e.jsxs("div",{className:V.content,children:[e.jsxs("div",{className:V.info,children:[e.jsxs("div",{className:V.textGroup,children:[e.jsx("p",{className:V.title,children:r}),i?e.jsxs("div",{className:V.description,children:[e.jsx("div",{className:u.cn(H&&V.descriptionClamp),style:H?{WebkitLineClamp:d}:void 0,dangerouslySetInnerHTML:{__html:i}}),K]}):n&&e.jsxs("p",{className:V.description,children:[te,K]})]}),e.jsxs("div",{className:V.priceRow,children:[e.jsx("span",{className:V.price,children:f}),p&&e.jsx("span",{className:V.originalPrice,children:p})]})]}),e.jsxs("div",{className:V.imageWrap,children:[e.jsx("img",{src:t,alt:a,className:V.image}),b&&e.jsx("div",{className:V.actionWrap,onClick:J=>J.stopPropagation(),children:b})]})]})]}),F&&e.jsx(Gt,{isOpen:W,onClose:()=>U(!1),ariaLabel:B,image:t,imageAlt:a,tag:h,tagClassName:g,title:r,description:n,descriptionHtml:i,price:y,basePrice:w,currencySymbol:_,showSavedBadge:v,savedLabel:P,action:b})]})};function Ht(t){return A({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M12.136.326A1.5 1.5 0 0 1 14 1.78V3h.5A1.5 1.5 0 0 1 16 4.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-9a1.5 1.5 0 0 1 1.432-1.499zM5.562 3H13V1.78a.5.5 0 0 0-.621-.484zM1.5 4a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5z"},child:[]}]})(t)}function $t(t){return A({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M5.338 1.59a61 61 0 0 0-2.837.856.48.48 0 0 0-.328.39c-.554 4.157.726 7.19 2.253 9.188a10.7 10.7 0 0 0 2.287 2.233c.346.244.652.42.893.533q.18.085.293.118a1 1 0 0 0 .101.025 1 1 0 0 0 .1-.025q.114-.034.294-.118c.24-.113.547-.29.893-.533a10.7 10.7 0 0 0 2.287-2.233c1.527-1.997 2.807-5.031 2.253-9.188a.48.48 0 0 0-.328-.39c-.651-.213-1.75-.56-2.837-.855C9.552 1.29 8.531 1.067 8 1.067c-.53 0-1.552.223-2.662.524zM5.072.56C6.157.265 7.31 0 8 0s1.843.265 2.928.56c1.11.3 2.229.655 2.887.87a1.54 1.54 0 0 1 1.044 1.262c.596 4.477-.787 7.795-2.465 9.99a11.8 11.8 0 0 1-2.517 2.453 7 7 0 0 1-1.048.625c-.28.132-.581.24-.829.24s-.548-.108-.829-.24a7 7 0 0 1-1.048-.625 11.8 11.8 0 0 1-2.517-2.453C1.928 10.487.545 7.169 1.141 2.692A1.54 1.54 0 0 1 2.185 1.43 63 63 0 0 1 5.072.56"},child:[]},{tag:"path",attr:{d:"M10.854 5.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 7.793l2.646-2.647a.5.5 0 0 1 .708 0"},child:[]}]})(t)}function Vt(t){return A({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M8.515 1.019A7 7 0 0 0 8 1V0a8 8 0 0 1 .589.022zm2.004.45a7 7 0 0 0-.985-.299l.219-.976q.576.129 1.126.342zm1.37.71a7 7 0 0 0-.439-.27l.493-.87a8 8 0 0 1 .979.654l-.615.789a7 7 0 0 0-.418-.302zm1.834 1.79a7 7 0 0 0-.653-.796l.724-.69q.406.429.747.91zm.744 1.352a7 7 0 0 0-.214-.468l.893-.45a8 8 0 0 1 .45 1.088l-.95.313a7 7 0 0 0-.179-.483m.53 2.507a7 7 0 0 0-.1-1.025l.985-.17q.1.58.116 1.17zm-.131 1.538q.05-.254.081-.51l.993.123a8 8 0 0 1-.23 1.155l-.964-.267q.069-.247.12-.501m-.952 2.379q.276-.436.486-.908l.914.405q-.24.54-.555 1.038zm-.964 1.205q.183-.183.35-.378l.758.653a8 8 0 0 1-.401.432z"},child:[]},{tag:"path",attr:{d:"M8 1a7 7 0 1 0 4.95 11.95l.707.707A8.001 8.001 0 1 1 8 0z"},child:[]},{tag:"path",attr:{d:"M7.5 3a.5.5 0 0 1 .5.5v5.21l3.248 1.856a.5.5 0 0 1-.496.868l-3.5-2A.5.5 0 0 1 7 9V3.5a.5.5 0 0 1 .5-.5"},child:[]}]})(t)}const gs=[{id:"money-back",icon:e.jsx($t,{"aria-hidden":!0}),label:"100% Money Back Guarantee"},{id:"no-hidden-cost",icon:e.jsx(Ht,{"aria-hidden":!0}),label:"No Hidden Cost"},{id:"24x7-support",icon:e.jsx(Vt,{"aria-hidden":!0}),label:"24x7 Support"}],Wt=(t,a,r)=>e.jsxs("span",{className:u.cn("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700",r,t.className),children:[e.jsx("span",{className:"shrink-0 text-base text-gray-700","aria-hidden":!0,children:t.icon}),t.label]},a),Kt=({badges:t=gs,badgeClassName:a,marquee:r=!0,marqueeDurationSeconds:n=14,className:i,...d})=>r?e.jsx("div",{className:u.cn("overflow-hidden bg-[#f3f5f7] px-4 py-3",i),...d,children:e.jsx("div",{className:"flex w-max items-center gap-5 whitespace-nowrap motion-reduce:animate-none",style:{animation:`pitru-paksh-trust-badges-marquee ${n}s linear infinite`},children:[...t,...t].map((o,l)=>Wt(o,`${o.id}-${l}`,a))})}):e.jsx("div",{className:u.cn("flex items-center gap-5 overflow-x-auto bg-[#f3f5f7] px-4 py-3 whitespace-nowrap","scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",i),...d,children:t.map(o=>Wt(o,o.id,a))}),$e={en:{proceedLabel:"Proceed",infoButtonAriaLabel:"View bill details"},hi:{proceedLabel:"आगे बढ़ें",infoButtonAriaLabel:"बिल का विवरण देखें"},kn:{proceedLabel:"ಮುಂದುವರಿಯಿರಿ",infoButtonAriaLabel:"ಬಿಲ್ ವಿವರಗಳನ್ನು ನೋಡಿ"},te:{proceedLabel:"ముందుకు సాగండి",infoButtonAriaLabel:"బిల్లు వివరాలను చూడండి"}},Zt=t=>$e[t]??$e.en,Pe=({locale:t="en",amount:a,amountClassName:r,subtitle:n,subtitleClassName:i,showInfoIcon:d=!0,onInfoClick:o,infoIconClassName:l,proceedLabel:c,proceedIcon:j=e.jsx(pe,{"aria-hidden":!0}),onProceed:f,proceedButtonProps:p,buttonWrapperClassName:h,growProceedButton:g=!1,className:b,...y})=>{const w=Zt(t);return e.jsxs("div",{className:u.cn("flex items-center gap-3 rounded-t-3xl bg-white px-4 py-4 shadow-[0_-2px_12px_rgba(0,0,0,0.08)]",b),...y,children:[e.jsxs("div",{className:u.cn("min-w-0",g?"flex-none":"flex-1"),children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:u.cn("text-xl font-extrabold text-[#1d2125]",r),children:a}),d&&e.jsx("button",{type:"button",onClick:o,"aria-label":w.infoButtonAriaLabel??"View bill details",className:u.cn("inline-flex shrink-0 items-center justify-center text-[#f75e22]",!o&&"pointer-events-none",l),children:e.jsx(de,{size:18,"aria-hidden":!0})})]}),n&&e.jsx("p",{className:u.cn("mt-1 text-sm text-gray-500",i),children:n})]}),e.jsx("div",{className:u.cn("min-w-0",g?"flex-1":"flex-[1.4]",h),children:e.jsxs(I,{variant:"primary",size:"xl",onClick:f,...p,className:u.cn("h-auto min-h-14 min-w-0 justify-center gap-2 whitespace-normal px-3 py-2 text-center leading-5 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169] [&>span]:min-w-0 [&>span]:whitespace-normal",g?"w-full":"min-w-40",p?.className),children:[c??w.proceedLabel,j]})})]})},Ve={en:{title:"Select the number of people performing the Puja (Karta)",description:"Performing the puja together with the whole family brings ancestors’ blessings and family prosperity",benefits:["Panditji will pronounce the names and gotra of the ancestors and the performers","Our experienced Pandits will conduct the Puja with correct vedic rituals","A video of the entire Puja will be shared with you on WhatsApp and the Srimandir app"],trustBadgeLabels:{moneyBack:"100% Money Back Guarantee",noHiddenCost:"No Hidden Cost",support:"24x7 Support"}},hi:{title:"पूजा करवाने वाले (कर्ता) लोगो की संख्या चुनें",description:"पूरे परिवार के साथ मिलकर पूजा करने से पितरों का आशीर्वाद मिलता है और परिवार की सुख-समृद्धि बढ़ती है।",benefits:["पंडितजी द्वारा पितृजन और कर्ता का नाम-गोत्र उच्चारण होगा","हमारे अनुभवी पुरोहित पूरे विधि-विधान से पूजा कराएंगे","पूरी पूजा का वीडियो आपको WhatsApp और श्रीमंदिर ऐप पर शेयर किया जाएगा"],trustBadgeLabels:{moneyBack:"100% पैसे वापस करने की गारंटी",noHiddenCost:"कोई छुपी हुई लागत नहीं",support:"24x7 सहायता"}},kn:{title:"ಪೂಜೆ ನೆರವೇರಿಸುವ ಜನರ ಸಂಖ್ಯೆಯನ್ನು ಆಯ್ಕೆಮಾಡಿ (ಕರ್ತೃ)",description:"ಇಡೀ ಕುಟುಂಬದೊಂದಿಗೆ ಒಟ್ಟಾಗಿ ಪೂಜೆ ಮಾಡುವುದರಿಂದ ಪೂರ್ವಜರ ಆಶೀರ್ವಾದ ಮತ್ತು ಕುಟುಂಬದ ಸಮೃದ್ಧಿ ದೊರೆಯುತ್ತದೆ",benefits:["ಪಂಡಿತರು ಪೂರ್ವಜರ & ಪೂಜೆ ಮಾಡುವವರ ಹೆಸರುಗಳು ಹಾಗೂ ಗೋತ್ರವನ್ನು ಉಚ್ಚರಿಸುತ್ತಾರೆ","ನಮ್ಮ ಅನುಭವಿ ಪಂಡಿತರು ಸರಿಯಾದ ವೈದಿಕ ವಿಧಿವಿಧಾನಗಳೊಂದಿಗೆ ಪೂಜೆಯನ್ನು ನೆರವೇರಿಸುತ್ತಾರೆ","ಸಂಪೂರ್ಣ ಪೂಜೆಯ ವಿಡಿಯೋವನ್ನು ನಿಮ್ಮೊಂದಿಗೆ ವಾಟ್ಸಾಪ್ ಮತ್ತು ಶ್ರೀಮಂದಿರ ಆ್ಯಪ್ನಲ್ಲಿ ಹಂಚಿಕೊಳ್ಳಲಾಗುತ್ತದೆ"],trustBadgeLabels:{moneyBack:"100% ಹಣ ಮರಳಿ ನೀಡುವ ಖಾತರಿ",noHiddenCost:"ಗುಪ್ತ ವೆಚ್ಚಗಳಿಲ್ಲ",support:"24x7 ಬೆಂಬಲ"}},te:{title:"పూజ చేసే వ్యక్తుల సంఖ్యను ఎంచుకోండి (కర్త)",description:"కుటుంబమంతా కలిసి పూజ చేస్తే పితృదేవతల ఆశీర్వాదం, కుటుంబ సుఖసమృద్ధి లభిస్తాయి",benefits:["పండితుడు పితృదేవతల మరియు కర్తల పేర్లు, గోత్రాలు చెప్తారు","మా అనుభవం గల పండితులు సరైన వేద విధులతో పూజ చేస్తారు","పూర్తి పూజా వీడియో వాట్సాప్ మరియు శ్రీమందిర్ యాప్ లో పంపబడుతుంది"],trustBadgeLabels:{moneyBack:"100% డబ్బు వాపసు గ్యారంటీ",noHiddenCost:"దాచిన ఖర్చులు లేవు",support:"కస్టమర్ సపోర్ట్"}}},qt=t=>Ve[t]??Ve.en,bs=({locale:t="en",title:a,description:r,benefits:n,options:i,value:d,onChange:o,radioVariant:l="dot",radiogroupLabel:c,className:j,headerClassName:f,benefitsClassName:p,optionsClassName:h,trustBadges:g,checkout:b,stickyFooter:y=!0,footerClassName:w})=>{const _=qt(t),v=a??_.title,P=r??_.description,B=n??_.benefits,M=g??{badges:[{id:"money-back",icon:e.jsx($t,{"aria-hidden":!0}),label:_.trustBadgeLabels.moneyBack},{id:"no-hidden-cost",icon:e.jsx(Ht,{"aria-hidden":!0}),label:_.trustBadgeLabels.noHiddenCost},{id:"24x7-support",icon:e.jsx(Vt,{"aria-hidden":!0}),label:_.trustBadgeLabels.support}]};return e.jsxs("div",{className:u.cn("w-full",j),children:[e.jsxs("div",{className:u.cn("px-4 pt-5 pb-4",f),children:[e.jsx("p",{className:"text-[20px] leading-6.5 font-extrabold text-[#1d2125]",children:v}),P&&e.jsx("p",{className:"mt-2 text-[14px] leading-5.5 text-gray-500",children:P})]}),B&&B.length>0&&e.jsx("div",{className:u.cn("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5",p),children:B.map((L,G)=>e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(Ie,{size:18,className:"mt-0.5 shrink-0 text-emerald-600","aria-hidden":!0}),e.jsx("span",{className:"text-[14px] leading-5.5 text-gray-600",children:L})]},G))}),e.jsx("div",{role:"radiogroup","aria-label":c??(typeof v=="string"?v:void 0),className:u.cn("flex flex-col gap-3 p-4",h),children:i.map(L=>{const{id:G,price:Q,free:W,badge:U,priceBadgeProps:Z,note:te,children:F,iconClassName:H,radioVariant:K,...J}=L,re=d===G,se=U??(Q==null?void 0:W?e.jsx("span",{className:u.cn("text-sm font-medium text-[#22272b]",Z?.className),...Z,children:Q}):e.jsx(Dt,{value:Q,...Z}));return e.jsx(Se,{...J,iconClassName:u.cn("size-10",H),radioVariant:K??l,badge:se,selected:re,onSelect:()=>o(G),note:re?te:void 0,children:F},G)})}),(M||b)&&e.jsxs("div",{className:u.cn(y&&"sticky bottom-0 z-10",w),children:[M&&e.jsx(Kt,{...M}),b&&e.jsx(Pe,{locale:t,...b})]})]})},We={en:{title:"Pitru Paksha Special Rituals",ancestorsLabel:"Ancestors",ritualsLabel:"Rituals",performersLabel:"Performers"},hi:{title:"पितृ पक्ष विशेष अनुष्ठान",ancestorsLabel:"पितृजन",ritualsLabel:"पूजा विधि",performersLabel:"कर्ता"},te:{title:"పితృపక్ష ప్రత్యేక పూజలు",ancestorsLabel:"మంది పితృదేవతలు",ritualsLabel:"పూజలు",performersLabel:"కర్తలు"},kn:{title:"ಪಿತೃ ಪಕ್ಷದ ವಿಶೇಷ ಆಚರಣೆಗಳು",ancestorsLabel:"ಪೂರ್ವಜರು",ritualsLabel:"ಆಚರಣೆಗಳು",performersLabel:"ಕರ್ತೃಗಳು"}},Yt=t=>We[t]??We.en,Qt=({locale:t="en",icon:a=e.jsx(Ge,{"aria-hidden":!0}),iconClassName:r,title:n,titleClassName:i,subtitle:d,subtitleItems:o,stats:l,subtitleClassName:c,cardClassName:j,className:f,...p})=>{const h=Yt(t),g=n??h.title,b=o??(l&&[`${l.ancestors} ${h.ancestorsLabel}`,`${l.rituals} ${h.ritualsLabel}`,`${l.performers} ${h.performersLabel}`]);return e.jsx("div",{className:u.cn("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6",f),...p,children:e.jsxs("div",{className:u.cn("rounded-2xl bg-white p-4 shadow-sm",j),children:[e.jsxs("p",{className:u.cn("flex items-center gap-2 text-sm font-bold text-[#db2777]",i),children:[a&&e.jsx("span",{className:u.cn("shrink-0 text-sm",r),children:a}),g]}),(d||b&&b.length>0)&&e.jsx("p",{className:u.cn("mt-2 text-[15px] font-semibold text-[#1d2125]",c),children:b&&b.length>0?b.map((y,w)=>e.jsxs(C.Fragment,{children:[w>0&&e.jsx("span",{className:"mx-1.5 text-gray-400",children:"•"}),y]},w)):d})]})})},Jt={en:{title:"Bill Details",totalLabel:"Total Amount",panditFeeLabel:"Pandit Fee",photoVideoFeeLabel:"Photo and video recording fee",freeLabel:"FREE"},hi:{title:"बिल विवरण",totalLabel:"कुल राशि",panditFeeLabel:"पंडित शुल्क",photoVideoFeeLabel:"फोटो और वीडियो रिकॉर्डिंग शुल्क",freeLabel:"मुफ़्त"},kn:{title:"ಬಿಲ್ ವಿವರಗಳು",totalLabel:"ಒಟ್ಟು ಮೊತ್ತ",panditFeeLabel:"ಪಂಡಿತ್ ಶುಲ್ಕ",photoVideoFeeLabel:"ಫೋಟೋ ಮತ್ತು ವಿಡಿಯೋ ರೆಕಾರ್ಡಿಂಗ್ ಶುಲ್ಕ",freeLabel:"ಉಚಿತ"},te:{title:"బిల్లు వివరాలు",totalLabel:"మొత్తం",panditFeeLabel:"పండిట్ రుసుము",photoVideoFeeLabel:"ఫోటో మరియు వీడియో రికార్డింగ్ రుసుము",freeLabel:"ఉచితం"}},js=t=>Jt[t]??Jt.en;function Xt({label:t,originalValue:a,freeLabel:r,rowClassName:n}){return e.jsxs("div",{className:u.cn("flex items-start justify-between gap-3",n),children:[e.jsx("div",{className:"min-w-0",children:e.jsx("p",{className:"text-xs font-medium text-[#6b7280]",children:t})}),e.jsxs("div",{className:"flex shrink-0 items-center gap-2 whitespace-nowrap text-xs",children:[e.jsx("span",{className:"text-[#d93640] line-through",children:a}),e.jsx("span",{className:"text-[#374151]",children:r})]})]})}const ea=({locale:t="en",titleClassName:a,rows:r,rowClassName:n,showTitleAccent:i=!0,totalValue:d,totalClassName:o,isGlobalUser:l=!1,className:c,...j})=>{const{title:f,totalLabel:p,panditFeeLabel:h,photoVideoFeeLabel:g,freeLabel:b}=js(t);return e.jsxs("div",{className:u.cn("bg-white px-4 py-6",c),...j,children:[e.jsxs("h2",{className:u.cn("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]",a),children:[i&&e.jsx("span",{"aria-hidden":!0,className:"block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]"}),f]}),e.jsxs("div",{className:"flex flex-col gap-4",children:[r.map(y=>e.jsxs("div",{className:u.cn("flex items-start justify-between gap-3",n),children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:u.cn("text-sm text-[#1d2125]",y.labelClassName),children:y.label}),y.subLabel&&e.jsx("p",{className:u.cn("mt-0.5 text-xs text-gray-400",y.subLabelClassName),children:y.subLabel})]}),e.jsxs("div",{className:"flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm",children:[y.note&&e.jsx("span",{className:"text-gray-400",children:y.note}),y.originalValue&&e.jsx("span",{className:"text-gray-400 line-through",children:y.originalValue}),e.jsx("span",{className:u.cn("font-medium text-[#1d2125]",y.valueClassName),children:y.value})]})]},y.id)),e.jsx(Xt,{label:h,originalValue:l?"$3.99":"₹51.0",freeLabel:b,rowClassName:n}),e.jsx(Xt,{label:g,originalValue:l?"$0.49":"₹21.0",freeLabel:b,rowClassName:n})]}),d!==void 0&&e.jsxs("div",{className:u.cn("mt-4 flex items-center justify-between border-t border-dashed border-gray-300 pt-4",o),children:[e.jsx("span",{className:"text-base font-bold text-[#1d2125]",children:p}),e.jsx("span",{className:"text-base font-bold text-emerald-600",children:d})]})]})},ys=({locale:t="en",onBack:a,backButtonAriaLabel:r,headerClassName:n,backButtonClassName:i,headerTitleClassName:d,summary:o,items:l,itemsClassName:c,itemClassName:j,addons:f,addonsSectionClassName:p,addonsHeaderClassName:h,addonsTitleClassName:g,addonsDescriptionClassName:b,addonsClassName:y,addonClassName:w,addonComponent:_=Ut,billDetails:v,faq:P,checkout:B,className:M,children:L,...G})=>{const{backButtonAriaLabel:Q,headerTitle:W,addonsTitle:U,addonsDescription:Z,checkoutProceedLabel:te,checkoutRitualSingular:F,checkoutRitualPlural:H}=Ae(t),{price:K,ritualCount:J,...re}=B??{};return e.jsxs("div",{className:u.cn("flex min-h-screen flex-col bg-white",M),...G,children:[e.jsxs("div",{className:"flex flex-1 flex-col",children:[e.jsxs("div",{className:u.cn("flex items-center gap-3 px-4 py-3",n),children:[a&&e.jsx("button",{type:"button",onClick:a,"aria-label":r??Q,className:u.cn("flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",i),children:e.jsx(ze,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx("h1",{className:u.cn("text-lg font-bold text-[#1d2125]",d),children:W})]}),o&&e.jsx(Qt,{...o}),l&&l.length>0&&e.jsx("div",{className:u.cn("flex flex-col gap-3 bg-white px-4 py-4",c),children:l.map(({id:se,className:ne,isMandapCharge:le,...oe})=>le?e.jsx(zt,{locale:t,className:u.cn(j,ne),...oe},se):e.jsx(He,{className:u.cn(j,ne),...oe},se))}),f&&f.length>0&&e.jsxs("div",{className:u.cn("flex flex-col gap-4 bg-gray-50 px-4 py-6",p),children:[e.jsxs("div",{className:h,children:[e.jsx("h2",{className:u.cn("text-base font-bold text-gray-700",g),children:U}),e.jsx("p",{className:u.cn("mt-1 text-sm text-gray-500",b),children:Z})]}),e.jsx("div",{className:u.cn("flex flex-col gap-4",y),children:f.map(({id:se,className:ne,...le})=>e.jsx(_,{locale:t,className:u.cn(w,ne),...le},se))})]}),v&&e.jsx(ea,{...v,locale:t}),P&&e.jsx(Et,{...P}),L]}),B&&e.jsx("div",{className:"sticky bottom-0",children:e.jsx(Pe,{growProceedButton:!0,...re,locale:t,amount:K,subtitle:`${J} ${J===1?F:H}`,proceedLabel:te})})]})},ie=C.forwardRef(({label:t,value:a,onChange:r,prefix:n,showCharCount:i=!1,supportingText:d,error:o=!1,className:l,containerClassName:c,wrapperClassName:j,maxLength:f,id:p,...h},g)=>{const b=C.useId(),y=p??b,w=d??(i?`${a.length}${f?`/${f}`:""}`:void 0);return e.jsxs("div",{className:u.cn("flex w-full flex-col gap-2",c),children:[t&&e.jsx("label",{htmlFor:y,className:"text-[14px] leading-5 font-semibold text-[#6b7280]",children:t}),e.jsxs("div",{className:"flex w-full flex-col gap-1",children:[e.jsxs("div",{className:u.cn("flex w-full items-center gap-1.5 rounded-lg border bg-white p-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",o?"border-[#ef4444]":"border-[#d1d5db]",j),children:[n&&e.jsx("span",{className:"shrink-0 text-[16px] leading-5.5 font-medium text-[#6b7280]",children:n}),e.jsx("input",{ref:g,id:y,value:a,maxLength:f,onChange:_=>r(_.target.value),"aria-invalid":o,className:u.cn("w-full min-w-0 flex-1 border-0 bg-transparent p-0 text-[16px] leading-5.5 font-medium text-[#1f2937] placeholder:text-[#9ca3af] focus:outline-none focus:ring-0",l),...h})]}),w&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#9ca3af]",children:w})]})]})});ie.displayName="TextField";function vs({isOpen:t,onClose:a,avatarUrl:r,heading:n,tithis:i,confirmLabel:d,onConfirm:o,initialTithi:l}){const[c,j]=C.useState(l),f=()=>{c&&o(c)};return e.jsx(u.BottomSheet,{isOpen:t,onClose:a,showDragHandle:!0,showCloseButton:!1,ariaLabel:n,overlayClassName:"pitru-paksh-common-root",header:e.jsxs("div",{className:"flex w-full flex-col items-center gap-3 px-5 pt-2",children:[e.jsxs("div",{className:"flex w-full items-center gap-3",children:[e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]",children:e.jsx("img",{src:r,alt:"",className:"size-full object-cover"})}),e.jsx("p",{className:"flex-1 text-[16px] leading-5.5 font-semibold text-[#374151]",children:n})]}),e.jsx("div",{className:"h-px w-full bg-[rgba(28,27,27,0.05)]"})]}),footer:e.jsxs("div",{className:"flex w-full flex-col items-center gap-4 px-5 pb-2",children:[e.jsx("div",{className:"h-px w-full bg-[rgba(28,27,27,0.05)]"}),e.jsx(I,{variant:"primary",size:"md",className:"w-full rounded-xl",disabled:!c,onClick:f,children:d})]}),children:e.jsx("div",{className:"grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4",children:i.map(p=>{const h=c===p;return e.jsx("button",{type:"button",onClick:()=>j(p),className:`flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${h?"border-[#f38415] bg-[#f38415] text-white":"border-[#fccf9a] bg-white/40 text-[#374151]"}`,children:p},p)})})})}const ve=48;function xe({options:t,selectedIndex:a,onChange:r}){const n=C.useRef(null),i=C.useRef(!1);C.useEffect(()=>{i.current||!n.current||(i.current=!0,n.current.scrollTop=a*ve)},[]);const d=()=>{if(!n.current)return;const l=Math.round(n.current.scrollTop/ve),c=Math.max(0,Math.min(t.length-1,l));c!==a&&r(c)},o=l=>{n.current?.scrollTo({top:l*ve,behavior:"smooth"}),r(l)};return e.jsx("div",{className:"relative h-36 w-full",children:e.jsxs("div",{ref:n,onScroll:d,className:"h-36 snap-y snap-mandatory overflow-y-auto [&::-webkit-scrollbar]:hidden",style:{scrollbarWidth:"none"},children:[e.jsx("div",{style:{height:ve},"aria-hidden":!0}),t.map((l,c)=>e.jsx("button",{type:"button",onClick:()=>o(c),className:`flex h-12 w-full snap-center items-center justify-center whitespace-nowrap border-0 bg-transparent text-[20px] leading-7 ${c===a?"font-bold text-[#f75e22]":"font-semibold text-[#d1d5db]"}`,children:l},l)),e.jsx("div",{style:{height:ve},"aria-hidden":!0})]})})}const Ke=Array.from({length:31},(t,a)=>a+1);function Cs({isOpen:t,onClose:a,avatarUrl:r,heading:n,monthLabels:i,confirmLabel:d,onConfirm:o,timezoneLabel:l,initialDate:c,minYear:j,maxYear:f=new Date().getFullYear()}){const p=C.useMemo(()=>{const P=j??f-120;return Array.from({length:f-P+1},(B,M)=>P+M)},[j,f]),[h,g]=C.useState(()=>c?c.day-1:Math.floor(Ke.length/2)),[b,y]=C.useState(()=>c?c.month-1:0),[w,_]=C.useState(()=>c?Math.max(0,p.indexOf(c.year)):Math.floor(p.length/2)),v=()=>{o({day:Ke[h],month:b+1,year:p[w]})};return e.jsx(u.BottomSheet,{isOpen:t,onClose:a,showDragHandle:!0,showCloseButton:!1,closeButtonOutside:!0,ariaLabel:n,overlayClassName:"pitru-paksh-common-root",header:e.jsxs("div",{className:"flex w-full items-center gap-3 px-5 pt-5",children:[r&&e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]",children:e.jsx("img",{src:r,alt:"",className:"size-full object-cover"})}),e.jsx("p",{className:"flex-1 text-[18px] leading-6 font-bold text-[#1d2125]",children:n})]}),footer:e.jsxs("div",{className:"flex w-full items-center gap-6 px-5 pt-2 pb-5",children:[l&&e.jsx("p",{className:"shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]",children:l}),e.jsx(I,{variant:"primary",size:"lg",className:"flex-1 rounded-xl",onClick:v,children:d})]}),children:e.jsxs("div",{className:"relative flex w-full items-center justify-center gap-11 px-5 py-4",children:[e.jsx(xe,{options:Ke.map(String),selectedIndex:h,onChange:g}),e.jsx(xe,{options:i,selectedIndex:b,onChange:y}),e.jsx(xe,{options:p.map(String),selectedIndex:w,onChange:_}),e.jsx("div",{className:"pointer-events-none absolute inset-x-5 top-16 h-px bg-[#e5e7eb]"}),e.jsx("div",{className:"pointer-events-none absolute inset-x-5 top-28 h-px bg-[#e5e7eb]"})]})})}const Ze=Array.from({length:12},(t,a)=>a+1),ta=Array.from({length:60},(t,a)=>a);function Ns(t){const a=t>=12?"PM":"AM";return{hour12:t%12===0?12:t%12,period:a}}function ws(t,a){return a==="AM"?t===12?0:t:t===12?12:t+12}function _s({isOpen:t,onClose:a,avatarUrl:r,heading:n,confirmLabel:i,onConfirm:d,timezoneLabel:o,initialTime:l,amLabel:c="AM",pmLabel:j="PM"}){const f=C.useMemo(()=>Ns(l?.hour??11),[l?.hour]),p=[c,j],[h,g]=C.useState(()=>Ze.indexOf(f.hour12)),[b,y]=C.useState(()=>l?.minute??0),[w,_]=C.useState(()=>f.period==="AM"?0:1),v=()=>{const P=ws(Ze[h],w===0?"AM":"PM");d({hour:P,minute:ta[b]})};return e.jsx(u.BottomSheet,{isOpen:t,onClose:a,closeButtonOutside:!0,ariaLabel:n,overlayClassName:"pitru-paksh-common-root",header:e.jsxs("div",{className:"flex w-full items-center gap-3 px-5 pt-5",children:[r&&e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]",children:e.jsx("img",{src:r,alt:"",className:"size-full object-cover"})}),e.jsx("p",{className:"flex-1 text-[18px] leading-6 font-bold text-[#1d2125]",children:n})]}),footer:e.jsxs("div",{className:"flex w-full items-center gap-6 px-5 pt-2 pb-5",children:[o&&e.jsx("p",{className:"shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]",children:o}),e.jsx(I,{variant:"primary",size:"lg",className:"flex-1 rounded-xl",onClick:v,children:i})]}),children:e.jsxs("div",{className:"relative flex w-full items-center justify-center gap-11 px-5 py-4",children:[e.jsx(xe,{options:Ze.map(String),selectedIndex:h,onChange:g}),e.jsx(xe,{options:ta.map(P=>String(P).padStart(2,"0")),selectedIndex:b,onChange:y}),e.jsx(xe,{options:p,selectedIndex:w,onChange:_}),e.jsx("div",{className:"pointer-events-none absolute inset-x-5 top-16 h-px bg-[#e5e7eb]"}),e.jsx("div",{className:"pointer-events-none absolute inset-x-5 top-28 h-px bg-[#e5e7eb]"})]})})}function ks({className:t}){return e.jsxs("svg",{className:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[e.jsx("path",{d:"M8.68684 4.40106C10.0829 3.77017 11.6588 3.5536 13.1827 3.75605C14.7302 3.9585 16.2115 4.61763 17.3946 5.62988C18.5304 6.58092 19.3965 7.84269 19.8744 9.23629C20.4234 10.8229 20.466 12.5791 19.9975 14.1798C19.4765 15.9578 18.3719 17.511 16.8598 18.5913C15.8907 19.2813 14.7834 19.755 13.6134 19.9802C11.6257 20.3569 9.51503 19.9896 7.7924 18.9444C7.68356 18.8973 7.57944 18.7796 7.45166 18.8314L4.42761 19.6083L5.23213 16.6704C5.27945 16.5668 5.1848 16.4821 5.13748 16.3879C4.22411 15.0037 3.75086 13.3371 3.79818 11.6798C3.84551 8.28996 6.02245 5.60634 8.67264 4.38223",fill:"#40C351"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.32076 3.80784C8.50717 2.25416 11.3372 1.66094 13.9874 2.18825C15.7036 2.5261 17.2991 3.31079 18.611 4.46227C20.4678 6.08162 21.6521 8.33062 21.9332 10.7711C22.1215 12.3824 21.9102 14.015 21.318 15.5263C20.6176 17.3154 19.3777 18.8879 17.8065 19.9991C16.2925 21.0737 14.5047 21.702 12.6481 21.8117C10.7899 21.9254 8.93695 21.5176 7.30038 20.6346L2 22L3.39608 16.9152C3.42241 16.8585 3.38772 16.8098 3.35612 16.7655L3.34876 16.7552C2.30141 14.8952 1.88641 12.7483 2.16564 10.6346C2.5382 7.88745 4.03716 5.41625 6.30656 3.80784H6.32076ZM9.11312 7.3201C9.33554 7.32481 9.48225 7.52255 9.56744 7.69675C9.72969 8.04649 9.87341 8.40239 10.0171 8.75829C10.1249 9.02521 10.2327 9.29213 10.3483 9.55645C10.4051 9.68357 10.4429 9.82482 10.3956 9.96135C10.2888 10.2623 10.075 10.4994 9.86276 10.7347C9.79281 10.8122 9.72305 10.8895 9.65735 10.9689C9.5627 11.0772 9.57217 11.2325 9.64789 11.3455C10.3755 12.7518 11.6221 13.8232 13.1263 14.3352C13.2682 14.3964 13.4386 14.3823 13.538 14.2599C13.8218 13.9448 14.0903 13.6164 14.3425 13.2759C14.5593 12.9946 14.7479 13.0728 15.0299 13.1896L15.0335 13.1911L16.8507 14.0621C16.9927 14.1233 17.1347 14.2269 17.1205 14.3917C17.2151 15.6158 16.1125 16.5668 14.9577 16.6045C11.9763 16.3879 9.9413 14.7401 8.47423 12.838L8.37335 12.6986C7.92172 12.0754 7.46201 11.4409 7.21539 10.7005C6.96457 10.0037 6.9551 9.20805 7.25325 8.52067C7.7123 7.60259 8.11456 7.24948 9.12732 7.30597L9.11312 7.3201ZM4.86319 7.82387C5.7245 6.32198 7.07326 5.10729 8.65864 4.40107L8.66338 4.4199C10.0642 3.78902 11.6448 3.57244 13.1592 3.77489C14.7157 3.98658 16.1788 4.63676 17.3759 5.64872C18.5137 6.60692 19.3704 7.85288 19.8557 9.25514C20.4045 10.8516 20.4475 12.5772 19.9787 14.1987C19.4578 15.9767 18.3531 17.5298 16.8411 18.6102C15.8735 19.3027 14.7655 19.7767 13.5946 19.9991C11.5917 20.3768 9.51914 20.0063 7.77367 18.9586C7.75146 18.9465 7.72904 18.9323 7.70627 18.9179C7.62227 18.8647 7.53346 18.8085 7.43293 18.8456C6.91046 18.9767 6.38925 19.1129 5.86865 19.2489C5.38012 19.3765 4.89213 19.504 4.40414 19.6271L5.20866 16.6893C5.23876 16.6032 5.19108 16.529 5.14649 16.4596C5.135 16.4417 5.12371 16.4241 5.11401 16.4068C4.20064 15.0179 3.72739 13.3559 3.77472 11.6987C3.80311 10.3427 4.18171 9.0009 4.86319 7.82387Z",fill:"white"})]})}function Ls({isOpen:t,onClose:a,heading:r,subtext:n,placeholder:i,confirmLabel:d,onConfirm:o,initialValue:l="",countries:c=u.DEFAULT_COUNTRIES,initialCountryIso:j="IN"}){const f=c.find(w=>w.iso===j)??c[0],[p,h]=C.useState(l),g=u.getMaxLengthForCountry(f.code),b=u.validatePhoneByCountryCode(p,f.code).isValid&&p.length>0,y=()=>{b&&o(p,f)};return e.jsx(ye,{isOpen:t,onClose:a,showDragHandle:!0,closeButtonOutside:!0,ariaLabel:r,className:"min-h-[50vh]",overlayClassName:"pitru-paksh-common-root",footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(I,{variant:"primary",size:"xl",className:"w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",rightIcon:e.jsx(pe,{"aria-hidden":!0}),disabled:!b,onClick:y,children:d})}),children:e.jsxs("div",{className:"flex w-full flex-col gap-2 px-4 py-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#232323]",children:r}),n&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#6b7280]",children:n}),e.jsx(ie,{type:"tel",inputMode:"numeric",value:p,placeholder:i,prefix:e.jsxs("span",{className:"inline-flex shrink-0 items-center gap-1",children:[e.jsx(ks,{className:"size-6"}),e.jsx("span",{className:"text-[18px] leading-6 font-medium text-[#6b7280]",children:f.code})]}),maxLength:g,onChange:w=>h(w.replace(/\D/g,"").slice(0,g)),containerClassName:"mt-2 w-full gap-0",wrapperClassName:"h-14 gap-2 rounded-xl px-4",className:"text-[18px] placeholder:text-[#ced1d7]"})]})})}const Ss=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function As({isOpen:t,onClose:a,heading:r,subtext:n,confirmLabel:i,onConfirm:d,initialValue:o="",errorText:l="Please enter a valid email"}){const[c,j]=C.useState(o),[f,p]=C.useState(!1),h=c.trim(),g=Ss.test(h),b=f&&h.length>0&&!g,y=()=>{g&&d(h)};return e.jsx(u.BottomSheet,{isOpen:t,onClose:a,showDragHandle:!0,ariaLabel:r,footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(I,{variant:"primary",size:"xl",className:"w-full rounded-xl",rightIcon:e.jsx(pe,{"aria-hidden":!0}),disabled:!g,onClick:y,children:i})}),children:e.jsxs("div",{className:"flex w-full flex-col gap-2 px-4 py-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#232323]",children:r}),n&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#6b7280]",children:n}),e.jsx(ie,{type:"email",inputMode:"email",autoFocus:!0,value:c,placeholder:"you@example.com",error:b,supportingText:b?l:void 0,onChange:j,onBlur:()=>p(!0),containerClassName:"mt-2",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"})]})})}const Ps="https://srm-cdn.a4b.io/yoda/1788253585577.svg";function Ts({chipNumber:t,chipLabel:a,isAdded:r,onEditClick:n,editButtonAriaLabel:i="Edit",onExpandClick:d,expandButtonAriaLabel:o="Expand",imageUrl:l,imageAlt:c,imageComponent:j,ratingLabel:f,bookedLabel:p,title:h,learnMoreLabel:g,onLearnMoreClick:b,learnMoreHref:y,dateLabel:w,locationLabel:_,priceInfoLabel:v,onPriceInfoClick:P,price:B,cta:M,className:L=""}){const[G,Q]=C.useState(!1),W=r||G,U=W&&(f!=null||p!=null),Z=W&&(w!=null||_!=null);return e.jsxs("div",{className:`flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-3 pb-4 ${W?"gap-3 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.05)]":"gap-4 shadow-[0px_0px_20px_0px_rgba(215,99,28,0.12)]"} ${L}`,children:[e.jsxs("div",{className:`flex w-full items-center justify-between gap-1 px-3 ${W?"py-4":"pt-4"}`,children:[e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-1.5 rounded-2xl px-3 py-1.5",style:{background:"linear-gradient(90deg, #fcccdf -29.79%, #fef5e9 50.11%, rgba(254, 245, 233, 0) 100%)"},children:[e.jsx("span",{className:"flex size-5 shrink-0 items-center justify-center rounded-[10px] bg-white text-[11.5px] font-semibold text-gray-700",children:t}),e.jsx("p",{className:"min-w-0 flex-1 text-xs font-semibold leading-4 text-[#632E06]",children:a})]}),e.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[r&&n&&e.jsx("button",{type:"button",className:"flex size-8 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white p-0",onClick:n,"aria-label":i,children:e.jsx(Ja,{"aria-hidden":!0,className:"size-[18px] text-[#1D2125]"})}),!r&&e.jsx("button",{type:"button",className:"flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:()=>{Q(te=>!te),d?.()},"aria-label":o,"aria-expanded":G,children:e.jsx(At,{"aria-hidden":!0,className:`size-8 text-[#1D2125] ${G?"":"-scale-y-100"}`})})]})]}),W&&l!=null&&e.jsx("div",{className:"-mx-3 h-35 self-stretch overflow-hidden",children:j?e.jsx(j,{src:l,alt:c??"",className:"size-full object-cover"}):e.jsx("img",{src:l,alt:c,className:"size-full object-cover"})}),U&&e.jsxs("div",{className:"-mx-3 -mt-3 flex items-center gap-2.5 self-stretch px-4 py-1",style:{background:"linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)"},children:[f!=null&&e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]",children:f}),f!=null&&p!=null&&e.jsx("span",{className:"size-1.5 shrink-0 rounded-full bg-[#4b5513]","aria-hidden":!0}),p!=null&&e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]",children:p})]}),e.jsxs("div",{className:`flex w-full flex-col items-start gap-3 ${W&&l!=null?"mt-1":""}`,children:[e.jsx("div",{className:"flex w-full flex-col items-start gap-1",children:e.jsx("h3",{className:"text-base font-bold leading-[22px] text-[#361407]",children:h})}),W&&g!=null&&e.jsxs("a",{href:y,className:"inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",onClick:b,children:[g,e.jsx(gr,{"aria-hidden":!0,className:"size-3.5 text-[#F75E22]"})]}),Z&&e.jsxs(e.Fragment,{children:[e.jsx("hr",{className:"w-full border-t border-gray-100"}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-2",children:[w!=null&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx(Ct,{"aria-hidden":!0,className:"size-3.5 shrink-0 text-gray-700"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:w})]}),_!=null&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx("img",{src:Ps,alt:"","aria-hidden":!0,className:"size-3.5 shrink-0"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:_})]})]})]}),e.jsx("hr",{className:"w-full border-t border-gray-100"}),e.jsxs("div",{className:"flex w-full items-center justify-between",children:[e.jsxs("div",{className:"flex flex-col items-start gap-0.5",children:[v!=null&&e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-gray-500",children:v}),P&&e.jsx("button",{type:"button",className:"flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:P,"aria-label":"More info",children:e.jsx(de,{"aria-hidden":!0,className:"size-4 text-[#1D2125]"})})]}),e.jsx("p",{className:"whitespace-nowrap text-lg font-bold leading-6 text-[#159169]",children:B})]}),e.jsx("div",{className:"shrink-0",children:M})]})]})]})}const qe={en:{heading:"Check the details to book your puja procedure",subtext:"These names and gotra will be taken by the priest",ancestorsLabel:"Names of the ancestors:",performerLabel:"Name of the performer:",gotraLabel:"Gotra",whatsappLabel:"Whatsapp number",editDetailsLabel:"Edit Details",payButtonTemplate:"Pay {amount}",emailLabel:"Email"},hi:{heading:"अपनी पूजा बुक करने के लिए जानकारी की जांच करें",subtext:"ये नाम और गोत्र पंडित जी द्वारा लिए जाएंगे",ancestorsLabel:"पितृजन के नाम:",performerLabel:"कर्ता के नाम:",gotraLabel:"गोत्र",whatsappLabel:"Whatsapp नंबर",editDetailsLabel:"जानकारी बदले",payButtonTemplate:"{amount} भुगतान करें",emailLabel:"ईमेल"},kn:{heading:"ನಿಮ್ಮ ಪೂಜೆಯನ್ನು ಬುಕ್ ಮಾಡಲು ವಿವರಗಳನ್ನು ಪರಿಶೀಲಿಸಿ",subtext:"ಈ ಹೆಸರುಗಳು ಮತ್ತು ಗೋತ್ರಗಳನ್ನು ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಉಲ್ಲೇಖಿಸುತ್ತಾರೆ",ancestorsLabel:"ಪೂರ್ವಜರ ಹೆಸರುಗಳು:",performerLabel:"ಪೂಜೆ ಮಾಡುವವರ ಹೆಸರು:",gotraLabel:"ಗೋತ್ರ",whatsappLabel:"ವಾಟ್ಸಾಪ್ ಸಂಖ್ಯೆ",editDetailsLabel:"ವಿವರಗಳನ್ನು ತಿದ್ದುಪಡಿ ಮಾಡಿ",payButtonTemplate:"{amount} ಪಾವತಿಸಿ",emailLabel:"ಇಮೇಲ್"},te:{heading:"మీ పూజ విధి బుక్ చేయడానికి వివరాలు తనిఖీ చేయండి",subtext:"ఈ పేర్లు మరియు గోత్రాన్ని పండితులు చదువుతారు",ancestorsLabel:"పితరుల పేర్లు:",performerLabel:"పూజ చేసే వారి పేరు:",gotraLabel:"గోత్రం",whatsappLabel:"WhatsApp నంబర్",editDetailsLabel:"మార్చండి",payButtonTemplate:"{amount} చెల్లించండి",emailLabel:"ఇమెయిల్"}},aa=t=>qe[t]??qe.en;function ra({children:t}){return e.jsx("div",{className:"inline-flex shrink-0 items-center gap-1 rounded-full border border-[#e5e3fd] bg-[#f6f5ff] px-3 py-0.5",children:t})}function sa({isOpen:t,onClose:a,locale:r="en",ancestors:n,kartaNames:i,gotra:d,whatsappNumber:o,amount:l,onEditDetailsClick:c,onProceedPayment:j,className:f,isGlobal:p=!1}){const h=aa(r),g=h.payButtonTemplate.replace("{amount}",l);return e.jsx(ye,{isOpen:t,onClose:a,showDragHandle:!1,closeButtonOutside:!0,ariaLabel:h.heading,className:u.cn("rounded-t-[20px] bg-[#f7f8f9]",f),header:e.jsxs("div",{className:"flex w-full flex-col items-center gap-0.5 px-4 pt-4",children:[e.jsx("p",{className:"text-center text-[18px] leading-6 font-bold text-[#22272b]",children:h.heading}),e.jsx("p",{className:"text-center text-[14px] leading-5 font-normal text-[#6b7280]",children:h.subtext})]}),footer:e.jsxs("div",{className:"flex w-full items-center gap-3 px-4 pb-4",children:[e.jsx(I,{variant:"outline",size:"lg",className:"h-12 shrink-0 rounded-xl border-[#141414] text-[#1d2125] hover:bg-gray-50",onClick:c,children:h.editDetailsLabel}),e.jsx(I,{variant:"primary",size:"lg",className:"h-12 flex-1 rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",onClick:j,children:g})]}),children:e.jsx("div",{className:"flex w-full flex-col gap-4 px-4 py-3",children:e.jsxs("div",{className:"flex w-full flex-col gap-3 rounded-lg bg-white py-3",children:[e.jsxs("div",{className:"flex w-full flex-col gap-3 px-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#374151]",children:h.ancestorsLabel}),e.jsx("div",{className:"flex w-full flex-wrap items-center gap-2",children:n.map(b=>e.jsxs(ra,{children:[e.jsx("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:b.value}),b.label&&e.jsxs("span",{className:"text-[10px] leading-3.5 font-medium text-[#6b7280]",children:["(",b.label,")"]})]},b.id))})]}),e.jsx("div",{className:"h-px w-full bg-[#e5e7eb]"}),e.jsxs("div",{className:"flex w-full flex-col gap-3 px-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#374151]",children:h.performerLabel}),e.jsx("div",{className:"flex w-full flex-wrap items-center gap-2",children:i.filter(b=>b.trim().length>0).map((b,y)=>e.jsx(ra,{children:e.jsxs("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:[y+1,". ",b]})},y))})]}),e.jsx("div",{className:"h-px w-full bg-[#e5e7eb]"}),e.jsxs("div",{className:"flex w-full flex-col gap-2 px-3",children:[e.jsxs("div",{className:"flex w-full items-start gap-1",children:[e.jsx("span",{className:"flex-1 text-[12px] leading-4 font-semibold text-[#374151]",children:h.gotraLabel}),e.jsx("span",{className:"shrink-0 text-[12px] leading-4 font-semibold text-[#374151]",children:d})]}),e.jsxs("div",{className:"flex w-full items-start gap-1",children:[e.jsx("span",{className:"flex-1 text-[12px] leading-4 font-semibold text-[#374151]",children:p?h.emailLabel:h.whatsappLabel}),e.jsx("span",{className:"shrink-0 text-[12px] leading-4 font-semibold text-[#374151]",children:o})]})]})]})})})}const Ye={en:{heading:"I do not know my Lineage(Gotra), what should I do?",body:"If you do not know your lineage (gotra), in this situation, you can consider your lineage as Kshyapa because Rishi Kshyapa is a sage whose descendants can be found in every caste. Therefore, he is considered a revered sage. The priest will chant these details during the worship.",okayLabel:"Okay",closeButtonAriaLabel:"Close"},hi:{heading:"मुझे अपना गोत्र पता नहीं, क्या उपाई है?",body:"अगर आप अपना गोत्र नहीं जानते हैं, तो ऐसी स्थिति में आप अपना गोत्र कश्यप मान सकते हैं, क्योंकि ऋषि कश्यप एक ऐसे ऋषि थे, जिनके वंशज हर जाति में पाए जाते हैं। इसलिए, उन्हें एक पूजनीय ऋषि माना जाता है। पूजा के दौरान पंडित जी कश्यप गोत्र का ही उच्चारण करेंगे।",okayLabel:"ठीक है",closeButtonAriaLabel:"बंद करें"},kn:{heading:"ನನಗೆ ನನ್ನ ಗೋತ್ರ ತಿಳಿದಿಲ್ಲ, ನಾನು ಏನು ಮಾಡಬೇಕು?",body:"ನಿಮಗೆ ನಿಮ್ಮ ಗೋತ್ರ ತಿಳಿದಿಲ್ಲದಿದ್ದರೆ, ಕಶ್ಯಪ ಋಷಿಯ ವಂಶಸ್ಥರು ಪ್ರತಿಯೊಂದು ಜಾತಿಯಲ್ಲಿಯೂ ಕಂಡುಬರುವುದರಿಂದ ನಿಮ್ಮ ಗೋತ್ರವನ್ನು ಕಶ್ಯಪ ಎಂದು ಪರಿಗಣಿಸಬಹುದು. ಆದ್ದರಿಂದ ಅವರನ್ನು ಪೂಜ್ಯ ಋಷಿ ಎಂದು ಪರಿಗಣಿಸಲಾಗುತ್ತದೆ. ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಈ ವಿವರಗಳನ್ನು ಉಚ್ಚರಿಸುತ್ತಾರೆ.",okayLabel:"ಸರಿ",closeButtonAriaLabel:"ಮುಚ್ಚಿ"},te:{heading:"నాకు నా గోత్రం తెలియదు, నేను ఏమి చేయాలి?",body:"మీకు మీ గోత్రం తెలియకపోతే, ఈ పరిస్థితిలో మీరు మీ గోత్రాన్ని కశ్యపగా భావించవచ్చు, ఎందుకంటే కశ్యప ఋషి వంశస్థులు ప్రతి కులంలో కనిపిస్తారు. అందువల్ల, ఆయనను ఒక పూజనీయ ఋషిగా భావిస్తారు. పూజ సమయంలో పండితుడు ఈ వివరాలను కశ్యప గోత్రంగానే ఉచ్చరిస్తారు.",okayLabel:"సరే",closeButtonAriaLabel:"మూసివేయండి"}},Qe=t=>Ye[t]??Ye.en;function na({isOpen:t,onClose:a,locale:r="en",className:n}){const i=Qe(r);return e.jsx(ye,{isOpen:t,onClose:a,showCloseButton:!1,showDragHandle:!1,ariaLabel:i.heading,className:u.cn("rounded-t-[20px]",n),header:e.jsxs("div",{className:"flex w-full items-start gap-3 px-4 pt-5 pb-3",children:[e.jsx("p",{className:"flex-1 text-[18px] leading-6 font-bold text-[#22272b]",children:i.heading}),e.jsx("button",{type:"button",onClick:a,"aria-label":i.closeButtonAriaLabel,className:"flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#22272b]",children:e.jsx(pr,{size:24,"aria-hidden":!0})})]}),footer:e.jsx("div",{className:"w-full px-4 pb-5",children:e.jsx(I,{variant:"primary",size:"xl",className:"w-full rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",onClick:a,children:i.okayLabel})}),children:e.jsx("p",{className:"w-full px-4 pb-3 text-[14px] leading-5.5 font-normal text-[#6b7280]",children:i.body})})}const Je={en:{topBarTitle:"Fill in necessary details for Puja",backButtonAriaLabel:"Go back",whatsappNumberLabel:"Add your WhatsApp number",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"Puja updates will be sent to this number",emailLabel:"Add your email",emailPlaceholder:"Enter your email",emailHelperText:"Puja updates will be sent to this email",kartaNameSectionTitle:"Enter the name of the people performing the puja for their ancestors (Karta)",kartaNameLabel:"Karta's name",kartaNameOptionalSuffix:"(optional)",kartaNamePlaceholder:"Name to be taken in the Puja",gotraFieldLabel:"Enter Karta’s Gotra (person performing puja)*",gotraFieldPlaceholder:"Enter Karta’s Gotra (if known)",gotraUnknownCheckboxLabel:"If you don’t know your Gotra, select this",gotraUnknownHelperText:"As per scriptures, the Sankalp can be taken with Kashyap Gotra, allowing you to receive the full benefit of the puja",ancestorNameSectionTitle:"Who is this puja for?",ancestorNameSectionSubtitle:"Enter the name of your ancestors",ancestorNameFieldSuffix:"name",sarvaPitruSectionSubtitle:"Your ancestors",sarvaPitruFieldValue:"For all ancestors",sarvaPitruHelperText:"This will be recited by the Pandit during puja",latePrefixLabel:"Late",proceedCtaLabel:"Proceed to fill details",kashyapGotraLabel:"Kashyap"},hi:{topBarTitle:"पूजा के लिए ज़रूरी विवरण भरे",backButtonAriaLabel:"वापस जाएं",whatsappNumberLabel:"अपना व्हाट्सएप नंबर जोड़ें",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"पूजा से जुड़ी जानकारी इस नंबर पर भेजी जाएगी",emailLabel:"अपना ईमेल जोड़ें",emailPlaceholder:"अपना ईमेल दर्ज करें",emailHelperText:"पूजा से जुड़ी जानकारी इस ईमेल पर भेजी जाएगी",kartaNameSectionTitle:"पितरों के लिए पूजा करने वाले व्यक्ति का नाम भरे (कर्ता)",kartaNameLabel:"कर्ता का नाम",kartaNameOptionalSuffix:"(वैकल्पिक)",kartaNamePlaceholder:"पूजा में लिया जाने वाला नाम",gotraFieldLabel:"कर्ता का गोत्र भरें (पूजा करने वाले व्यक्ति का)*",gotraFieldPlaceholder:"कर्ता का गोत्र भरें (यदि ज्ञात हो)",gotraUnknownCheckboxLabel:"अगर आपको गोत्र नहीं पता तो इसे चुनें",gotraUnknownHelperText:"शास्त्रों के अनुसार कश्यप गोत्र से पूजा में संकल्प लिया जा सकता है इससे आपको पूजा का पूर्ण लाभ प्राप्त होता है",ancestorNameSectionTitle:"पूजा-विधि किन पितृ के लिए बुक कर रहे है?",ancestorNameSectionSubtitle:"पितृजन का नाम भरें",ancestorNameFieldSuffix:"का नाम",sarvaPitruSectionSubtitle:"पितृजन का नाम",sarvaPitruFieldValue:"सर्वपितृ के लिए",sarvaPitruHelperText:"यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा",latePrefixLabel:"स्व.",proceedCtaLabel:"आगे बढ़ें, और डिटेल्स भरें",kashyapGotraLabel:"कश्यप"},te:{topBarTitle:"పూజ కోసం అవసరమైన వివరాలు నమోదు చేయండి",backButtonAriaLabel:"వెనక్కి వెళ్ళండి",whatsappNumberLabel:"మీ వాట్సాప్ నంబర్ జోడించండి",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"పూజ నవీకరణలు ఈ నంబర్కు పంపబడతాయి",emailLabel:"మీ ఇమెయిల్ జోడించండి",emailPlaceholder:"మీ ఇమెయిల్ నమోదు చేయండి",emailHelperText:"పూజ నవీకరణలు ఈ ఇమెయిల్కు పంపబడతాయి",kartaNameSectionTitle:"పితరుల కోసం పూజ చేసే వ్యక్తుల పేరు నమోదు చేయండి (కర్త)",kartaNameLabel:"కర్త పేరు",kartaNameOptionalSuffix:"(ఐచ్ఛికం)",kartaNamePlaceholder:"పూజలో తీసుకోవలసిన పేరు",gotraFieldLabel:"*కర్త గోత్రం నమోదు చేయండి (పూజ చేసే వ్యక్తి)",gotraFieldPlaceholder:"కర్త గోత్రం నమోదు చేయండి (తెలిస్తే)",gotraUnknownCheckboxLabel:"మీ గోత్రం తెలియకపోతే, ఇది ఎంచుకోండి",gotraUnknownHelperText:"శాస్త్రాల ప్రకారం, సంకల్పం కశ్యప గోత్రంతో చేయవచ్చు, ఇది పూజ యొక్క పూర్తి ఫలం పొందడానికి అనుమతిస్తుంది",ancestorNameSectionTitle:"ఈ పూజ ఎవరి కోసం?",ancestorNameSectionSubtitle:"మీ పితరుల పేరు నమోదు చేయండి",ancestorNameFieldSuffix:"పేరు",sarvaPitruSectionSubtitle:"మీ పితరులు",sarvaPitruFieldValue:"సర్వ పితరుల కోసం",sarvaPitruHelperText:"ఇది పూజ సమయంలో పండితుడు ఉచ్చరిస్తారు",latePrefixLabel:"దివంగత",proceedCtaLabel:"వివరాలు నమోదు చేయండి",kashyapGotraLabel:"కశ్యప"},kn:{topBarTitle:"ಪೂಜೆಗಾಗಿ ಅಗತ್ಯವಿರುವ ವಿವರಗಳನ್ನು ಭರ್ತಿ ಮಾಡಿ",backButtonAriaLabel:"ಹಿಂದೆ ಹೋಗಿ",whatsappNumberLabel:"ನಿಮ್ಮ ವಾಟ್ಸಾಪ್ ನಂಬರ್ ಹಾಕಿ",whatsappNumberPlaceholder:"0000000000",whatsappNumberHelperText:"ಪೂಜೆಯ ಅಪ್ಡೇಟ್ಗಳನ್ನು ಈ ಸಂಖ್ಯೆಗೆ ಕಳುಹಿಸಲಾಗುತ್ತದೆ",emailLabel:"ನಿಮ್ಮ ಇಮೇಲ್ ಸೇರಿಸಿ",emailPlaceholder:"ನಿಮ್ಮ ಇಮೇಲ್ ನಮೂದಿಸಿ",emailHelperText:"ಪೂಜೆಯ ಮಾಹಿತಿಯನ್ನು ಈ ಇಮೇಲ್ಗೆ ಕಳುಹಿಸಲಾಗುತ್ತದೆ",kartaNameSectionTitle:"ತಮ್ಮ ಪೂರ್ವಜರಿಗಾಗಿ ಪೂಜೆ ಮಾಡುವ ವ್ಯಕ್ತಿಗಳ ಹೆಸರನ್ನು ನಮೂದಿಸಿ (ಕರ್ತೃ)",kartaNameLabel:"ಕರ್ತೃವಿನ ಹೆಸರು",kartaNameOptionalSuffix:"(ಐಚ್ಛಿಕ)",kartaNamePlaceholder:"ಪೂಜೆಯಲ್ಲಿ ಉಲ್ಲೇಖಿಸಬೇಕಾದ ಹೆಸರು",gotraFieldLabel:"ಕರ್ತೃವಿನ ಗೋತ್ರವನ್ನು ನಮೂದಿಸಿ (ಪೂಜೆ ನೆರವೇರಿಸುವ ವ್ಯಕ್ತಿ)*",gotraFieldPlaceholder:"ಕರ್ತೃ ಗೋತ್ರ ನಮೂದಿಸಿ (ತಿಳಿದಿದ್ದರೆ)",gotraUnknownCheckboxLabel:"ನಿಮ್ಮ ಗೋತ್ರ ತಿಳಿದಿಲ್ಲದಿದ್ದರೆ, ಇದನ್ನು ಆಯ್ಕೆಮಾಡಿ",gotraUnknownHelperText:"ಶಾಸ್ತ್ರಗಳ ಪ್ರಕಾರ, ಕಶ್ಯಪ ಗೋತ್ರದೊಂದಿಗೆ ಸಂಕಲ್ಪವನ್ನು ಮಾಡಬಹುದು, ಇದು ನಿಮಗೆ ಪೂಜೆಯ ಸಂಪೂರ್ಣ ಫಲವನ್ನು ಪಡೆಯಲು ಅನುವು ಮಾಡಿಕೊಡುತ್ತದೆ",ancestorNameSectionTitle:"ಈ ಪೂಜೆ ಯಾರಿಗಾಗಿ?",ancestorNameSectionSubtitle:"ನಿಮ್ಮ ಪೂರ್ವಜರ ಹೆಸರನ್ನು ನಮೂದಿಸಿ",ancestorNameFieldSuffix:"ಹೆಸರು",sarvaPitruSectionSubtitle:"ನಿಮ್ಮ ಪೂರ್ವಜರು",sarvaPitruFieldValue:"ಎಲ್ಲಾ ಪೂರ್ವಜರಿಗಾಗಿ",sarvaPitruHelperText:"ಪೂಜೆಯ ಸಮಯದಲ್ಲಿ ಪಂಡಿತರು ಇದನ್ನು ಉಚ್ಚರಿಸುತ್ತಾರೆ",latePrefixLabel:"ದಿವಂಗತ",proceedCtaLabel:"ವಿವರಗಳನ್ನು ಭರ್ತಿ ಮಾಡಲು ಮುಂದುವರಿಯಿರಿ",kashyapGotraLabel:"ಕಶ್ಯಪ"}},ia=t=>{const a=Je.en,r=Je[t];return r?Object.fromEntries(Object.keys(a).map(n=>[n,r[n]||a[n]])):a},la={en:["1st","2nd","3rd","4th","5th","6th","7th","8th","9th","10th"],hi:["पहले","दूसरे","तीसरे","चौथे","पांचवें","छठे","सातवें","आठवें","नौवें","दसवें"],te:["1వ","2వ","3వ","4వ","5వ","6వ","7వ","8వ","9వ","10వ"],kn:["1ನೇ","2ನೇ","3ನೇ","4ನೇ","5ನೇ","6ನೇ","7ನೇ","8ನೇ","9ನೇ","10ನೇ"]},Os={en:"th",hi:"वें",te:"వ",kn:"ನೇ"},oa=(t,a)=>{const r=a in la?a:"en";return la[r][t-1]??`${t}${Os[r]}`},Xe=40,et="+91",Es=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function Ms({locale:t="en",values:a,onValuesChange:r,isGlobal:n=!1,gotraOptions:i=[],isSarvaPitru:d=!1,onBackClick:o,amount:l,ritualsCountLabel:c,onPriceInfoClick:j,showPriceInfoIcon:f=!0,canProceed:p,copy:h,proceedCtaLabel:g,proceedButtonProps:b,onProceedPayment:y,className:w}){const[_,v]=C.useState(!1),[P,B]=C.useState(!1),M=ia(t),L=h?Object.fromEntries(Object.keys(M).map(k=>[k,h[k]||M[k]])):M,G=Qe(t),Q=t==="kn"?"en":t,W=k=>{const $=oa(k+1,t);return k===0?`*${$} ${L.kartaNameLabel}`:`${$} ${L.kartaNameLabel} ${L.kartaNameOptionalSuffix}`},U=k=>r({...a,...k}),Z=(k,$)=>{const ee=[...a.kartaNames];ee[k]=$,U({kartaNames:ee})},te=(k,$)=>{U({ancestors:a.ancestors.map(ee=>ee.id===k?{...ee,value:$}:ee)})},[F,H]=C.useState(!1),K=C.useRef(null);C.useEffect(()=>{if(!F)return;const k=$=>{K.current&&!K.current.contains($.target)&&H(!1)};return document.addEventListener("mousedown",k),()=>document.removeEventListener("mousedown",k)},[F]);const J=i.filter(k=>k.toLowerCase().includes(a.gotra.trim().toLowerCase())),re=k=>{U({gotra:k}),H(!1)},se=()=>{const k=!a.isGotraUnknown;U({isGotraUnknown:k,gotra:k?L.kashyapGotraLabel:""})},ne=u.getMaxLengthForCountry(et),le=u.validatePhoneByCountryCode(a.whatsappNumber,et).isValid,oe=Es.test(a.email),Ee=a.whatsappNumber.length>0&&!le,Me=a.email.length>0&&!oe,at=(n?oe:a.whatsappNumber.trim().length>0&&le)&&a.kartaNames[0].trim().length>0&&a.gotra.trim().length>0&&a.ancestors.every(k=>k.value.trim().length>0),rt=p??at,Ce=a.gotra.trim().length>0?a.gotra:L.kashyapGotraLabel,Ne=n?a.email:a.whatsappNumber;return e.jsxs("div",{className:u.cn("flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]",w),children:[e.jsxs("div",{className:"flex w-full items-center gap-3 border-b border-[#f3f4f6] bg-white px-4 py-3 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.08)] ",children:[e.jsx("button",{type:"button",onClick:o,"aria-label":L.backButtonAriaLabel,className:"flex size-8 shrink-0 items-center justify-center rounded-lg border-0 bg-transparent p-0 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.1)]",children:e.jsx(ze,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx("p",{className:"text-[18px] leading-5 font-bold text-[#1d2125]",children:L.topBarTitle})]}),e.jsx("div",{className:"flex w-full flex-1 flex-col items-center gap-4 px-4 py-4",children:e.jsxs("div",{className:"flex w-full max-w-md flex-col gap-4",children:[e.jsxs("div",{className:"flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white p-3",children:[e.jsx("p",{className:"text-[14px] leading-5 font-semibold text-[#1d2125]",children:n?L.emailLabel:L.whatsappNumberLabel}),n?e.jsx(ie,{type:"email",inputMode:"email",value:a.email,placeholder:L.emailPlaceholder,error:Me,onChange:k=>U({email:k}),containerClassName:"w-full gap-0",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"}):e.jsxs("div",{className:"flex w-full items-start gap-1",children:[e.jsxs("div",{className:"flex h-14 shrink-0 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2",children:[e.jsx("span",{className:"text-[20px] leading-7","aria-hidden":!0,children:u.getFlagEmoji("IN")}),e.jsx("span",{className:"text-[18px] leading-6 font-medium text-[#1d2125]",children:et})]}),e.jsx(ie,{type:"tel",inputMode:"numeric",value:a.whatsappNumber,placeholder:L.whatsappNumberPlaceholder,maxLength:ne,error:Ee,onChange:k=>U({whatsappNumber:k.replace(/\D/g,"").slice(0,ne)}),containerClassName:"w-auto flex-1 gap-0",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"})]}),e.jsx("p",{className:"px-3 text-[12px] leading-4 font-medium text-[#6b7280]",children:n?L.emailHelperText:L.whatsappNumberHelperText})]}),e.jsxs("div",{className:"flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3",children:[e.jsxs("div",{className:"flex w-full items-center gap-2.5",children:[e.jsx(fe,{size:"sm",icon:e.jsx(Zr,{size:20,className:"text-[#f38415]","aria-hidden":!0})}),e.jsx("p",{className:"flex-1 text-[16px] leading-[22px] font-bold text-[#22272b]",children:L.kartaNameSectionTitle})]}),e.jsx("div",{className:"flex w-full flex-col gap-2.5",children:a.kartaNames.map((k,$)=>e.jsx(ie,{label:W($),placeholder:L.kartaNamePlaceholder,value:k,maxLength:Xe,showCharCount:!0,wrapperClassName:u.cn("h-12 rounded-xl",$===0&&"bg-[#f3f4f6]"),onChange:ee=>Z($,ee)},$))})]}),e.jsxs("div",{className:"flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3",children:[e.jsxs("div",{ref:K,className:"relative flex w-full flex-col gap-2",children:[e.jsx("label",{htmlFor:"karta-gotra",className:"text-[14px] leading-5 font-semibold text-[#1d2125]",children:L.gotraFieldLabel}),e.jsxs("div",{className:"flex h-12 w-full items-center gap-2 rounded-xl border border-[#d1d5db] bg-white px-3 focus-within:ring-2 focus-within:ring-[#f75e22]/40",children:[e.jsx("input",{id:"karta-gotra",value:a.gotra,placeholder:L.gotraFieldPlaceholder,maxLength:Xe,autoComplete:"off",onFocus:()=>H(!0),onChange:k=>{U({gotra:k.target.value}),H(!0)},className:"w-full min-w-0 flex-1 border-0 bg-transparent p-0 text-[16px] leading-5.5 font-medium text-[#374151] placeholder:text-[#ced1d7] focus:outline-none focus:ring-0"}),e.jsx("button",{type:"button",onClick:()=>B(!0),"aria-label":G.heading,className:"flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",children:e.jsx(de,{size:24,"aria-hidden":!0})})]}),F&&J.length>0&&e.jsx("div",{role:"listbox",className:"absolute top-[calc(100%+4px)] left-0 z-10 max-h-60 w-full overflow-y-auto rounded-xl border border-[#e5e7eb] bg-white py-1 shadow-lg",children:J.map(k=>e.jsx("button",{type:"button",role:"option","aria-selected":k===a.gotra,onClick:()=>re(k),className:u.cn("flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",k===a.gotra&&"bg-[#fff9e9]"),children:k},k))})]}),e.jsxs("div",{className:"flex w-full flex-col gap-1",children:[e.jsxs("button",{type:"button",onClick:se,"aria-pressed":a.isGotraUnknown,className:"flex items-center gap-1 border-0 bg-transparent p-0",children:[a.isGotraUnknown?e.jsx(br,{size:24,className:"shrink-0 text-[#f75e22]","aria-hidden":!0}):e.jsx(fr,{size:24,className:"shrink-0 text-[#d1d5db]","aria-hidden":!0}),e.jsx("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:L.gotraUnknownCheckboxLabel})]}),e.jsx("p",{className:"text-[10px] leading-[14px] font-medium text-[#6b7280]",children:L.gotraUnknownHelperText})]})]}),e.jsxs("div",{className:"flex w-full flex-col gap-2 rounded-2xl border border-[#f3f4f6] bg-white",children:[e.jsxs("div",{className:"flex w-full items-center gap-2.5 px-3 pt-3 pb-2",children:[e.jsx(fe,{size:"sm",icon:e.jsx(Kr,{size:20,className:"text-[#f38415]","aria-hidden":!0})}),e.jsxs("div",{className:"flex flex-1 flex-col",children:[e.jsx("p",{className:"text-[16px] leading-[22px] font-bold text-[#22272b]",children:L.ancestorNameSectionTitle}),e.jsx("p",{className:"text-[14px] leading-5 font-normal text-[#6b7280]",children:d?L.sarvaPitruSectionSubtitle:L.ancestorNameSectionSubtitle})]})]}),e.jsxs("div",{className:"flex w-full flex-col gap-2.5 p-3 pt-0",children:[d&&e.jsxs("div",{className:"flex w-full flex-col items-start gap-1",children:[e.jsx("div",{className:"flex h-12 w-full items-center rounded-xl border border-[#d1d5db] bg-[#f3f4f6] px-3",children:e.jsx("span",{className:"text-[16px] leading-5.5 font-medium text-[#374151]",children:L.sarvaPitruFieldValue})}),e.jsx("p",{className:"px-3 text-[12px] leading-4 font-medium text-[#6b7280]",children:L.sarvaPitruHelperText})]}),a.ancestors.map(k=>e.jsx(ie,{label:`*${k.label} ${L.ancestorNameFieldSuffix}`,value:k.value,prefix:L.latePrefixLabel,placeholder:L.kartaNamePlaceholder,maxLength:Xe,showCharCount:!0,wrapperClassName:"h-12 rounded-xl",onChange:$=>te(k.id,$)},k.id))]})]})]})}),e.jsx("div",{className:"sticky bottom-0 w-full",children:e.jsx(Pe,{amount:l,subtitle:c,onInfoClick:j,showInfoIcon:f,proceedLabel:g??L.proceedCtaLabel,onProceed:()=>v(!0),growProceedButton:!0,proceedButtonProps:{disabled:!rt,...b}})}),e.jsx(sa,{isGlobal:n,isOpen:_,onClose:()=>v(!1),onEditDetailsClick:()=>v(!1),locale:Q,ancestors:d?[{id:"sarva-pitru",label:"",value:L.sarvaPitruFieldValue},...a.ancestors]:a.ancestors,kartaNames:a.kartaNames,gotra:Ce,whatsappNumber:Ne,amount:l,onProceedPayment:()=>{v(!1),y()}}),e.jsx(na,{isOpen:P,onClose:()=>B(!1),locale:Q})]})}function Rs(t=3,a=[]){return{whatsappNumber:"",email:"",kartaNames:Array.from({length:Math.max(1,t)},()=>""),gotra:"",isGotraUnknown:!1,ancestors:a}}const ca="https://srm-cdn.a4b.io/yoda/1788256892735.svg",Bs="https://srm-cdn.a4b.io/yoda/1788256910547.svg",Fs="https://srm-cdn.a4b.io/yoda/1788256867970.svg",Ds="https://srm-cdn.a4b.io/yoda/1788256921651.svg",Is="https://srm-cdn.a4b.io/yoda/1788256935709.svg",zs="https://srm-cdn.a4b.io/yoda/1788256949665.svg";function Gs({variant:t}){return e.jsxs("div",{className:"relative size-10 shrink-0 overflow-clip rounded-full",children:[t==="pandits"&&e.jsxs(e.Fragment,{children:[e.jsx("img",{src:ca,alt:"","aria-hidden":!0,className:"absolute left-[-6px] top-[12.2px] size-[25.6px]"}),e.jsx("img",{src:ca,alt:"","aria-hidden":!0,className:"absolute left-[21px] top-[12.2px] size-[25.6px]"}),e.jsx("img",{src:Bs,alt:"","aria-hidden":!0,className:"absolute left-[1.98px] top-[5.98px] size-[36.045px]"})]}),t==="gotra"&&e.jsxs("div",{className:"absolute left-[7.83px] top-[7.83px] size-[23.94px] overflow-clip",children:[e.jsx("div",{className:"absolute inset-[31.43%_30.92%_20.12%_20.62%] bg-[#28345a]"}),e.jsx("div",{className:"absolute inset-[0_9.1%_0_9.07%]",children:e.jsx("img",{src:Fs,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})})]}),t==="video"&&e.jsxs("div",{className:"absolute left-[5.58px] top-[5.58px] size-[28.836px] overflow-clip",children:[e.jsx("div",{className:"absolute inset-[9.31%_4.02%_27.36%_4.17%]",children:e.jsx("img",{src:Ds,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})}),e.jsx("div",{className:"absolute inset-[30.03%_39.59%_48.06%_40.83%]",children:e.jsx("img",{src:Is,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})}),e.jsx("div",{className:"absolute inset-[80%_4.16%_9.17%_5.42%]",children:e.jsx("img",{src:zs,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})})]})]})}const Us="https://srm-cdn.a4b.io/yoda/1788256961374.svg",da="https://srm-cdn.a4b.io/yoda/1788256971870.svg";function Hs({badgeLabel:t,headingPrefix:a,ritualCount:r,ritualCountLabel:n,headingSuffix:i,trustItems:d}){return e.jsxs("section",{className:"flex w-full flex-col items-center gap-3 rounded-b-[32px] border-b-2 border-[#FCCF9A] bg-linear-to-b from-white to-[#FFEFDB] px-5 py-4",children:[e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsxs("div",{className:"relative flex size-14 items-center justify-center",children:[e.jsx("img",{src:da,alt:"","aria-hidden":!0,className:"pointer-events-none absolute inset-0 size-full",style:{maskImage:"linear-gradient(to bottom, black 0%, black 45%, transparent 70%)",WebkitMaskImage:"linear-gradient(to bottom, black 0%, black 45%, transparent 70%)"}}),e.jsx("img",{src:da,alt:"","aria-hidden":!0,className:"pointer-events-none absolute inset-0 size-full blur-sm",style:{maskImage:"linear-gradient(to bottom, transparent 45%, black 70%, black 100%)",WebkitMaskImage:"linear-gradient(to bottom, transparent 45%, black 70%, black 100%)"}}),e.jsx("img",{src:Us,alt:"Sri Mandir",className:"relative z-10 h-[53px] w-auto object-contain"})]}),e.jsxs("p",{className:"text-xs font-semibold text-[#d51f68]",children:["✦ ",t," ✦"]})]}),e.jsxs("p",{className:"px-4 text-center text-[18px] font-bold leading-6 text-[#22272b]",children:[a,r," ",n," ",i]}),e.jsx("div",{className:"flex w-full items-start justify-center gap-3",children:d.map(o=>e.jsxs("div",{className:"flex w-25 flex-col items-center gap-1 py-2",children:[e.jsx(Gs,{variant:o.variant}),e.jsx("p",{className:"w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]",children:o.text})]},o.variant))})]})}const $s=40;function Vs({isOpen:t,onClose:a,onSave:r,title:n,fieldLabel:i,namePrefix:d,namePlaceholder:o,addMoreLabel:l,saveCta:c,maxNameLength:j=$s}){const[f,p]=C.useState([""]),h=()=>{p([""]),a()},g=()=>{const y=f.map(w=>w.trim()).filter(Boolean);y.length!==0&&(r(y),h())},b=f.some(y=>y.trim().length>0);return e.jsx(u.BottomSheet,{isOpen:t,onClose:h,showDragHandle:!0,closeButtonOutside:!0,ariaLabel:n,header:e.jsx("p",{className:"px-4 py-2 text-center text-[16px] leading-5.5 font-semibold text-[#47250c]",children:n}),footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(I,{variant:"primary",size:"xl",className:"w-full rounded-xl",rightIcon:e.jsx(pe,{"aria-hidden":!0}),disabled:!b,onClick:g,children:c})}),children:e.jsxs("div",{className:"flex w-full flex-col gap-2.5 px-4 py-3",children:[f.map((y,w)=>e.jsx(ie,{label:i,placeholder:o,value:y,prefix:d,maxLength:j,showCharCount:!0,onChange:_=>p(v=>v.map((P,B)=>B===w?_:P))},w)),e.jsx(I,{variant:"ghost",size:"sm",className:"self-start text-[#f75e22]",leftIcon:e.jsx(xr,{"aria-hidden":!0}),onClick:()=>p(y=>[...y,""]),children:l})]})})}function ua({label:t,avatarUrl:a,state:r,onClick:n}){return e.jsxs("button",{type:"button",disabled:!n,onClick:n,className:`flex w-18 shrink-0 flex-col items-center gap-1 rounded-xl px-2 disabled:pointer-events-none ${r==="enabled"?"bg-linear-to-b from-transparent to-[#fef5e9] border-b border-[#f99724] py-1":"bg-transparent py-0.5"}`,children:[e.jsxs("div",{className:"relative flex size-8 shrink-0 items-center justify-center",children:[e.jsx("div",{className:`size-full overflow-hidden rounded-full bg-[#fff9e9] ${r==="disabled"?"opacity-60 grayscale":""}`,children:e.jsx("img",{src:a,alt:"",className:"size-full object-cover"})}),r==="filled"&&e.jsx("span",{className:"absolute -right-0.5 -bottom-0.5 flex size-3.5 items-center justify-center rounded-full bg-[#159169]",children:e.jsx(Ur,{size:8,className:"text-white","aria-hidden":!0})})]}),e.jsx("p",{className:`w-full text-center text-[10px] leading-4.5 font-bold wrap-break-word ${r==="enabled"?"text-[#f75e22]":r==="filled"?"text-[#374151]":"text-[#9ca3af]"}`,children:t})]})}const pa="all",fa=[{id:pa,labelKey:"selectAncestorsOptionAll"},{id:"mother",labelKey:"selectAncestorsOptionMother",gender:"female"},{id:"father",labelKey:"selectAncestorsOptionFather",gender:"male"},{id:"wife",labelKey:"selectAncestorsOptionWife",gender:"female"},{id:"husband",labelKey:"selectAncestorsOptionHusband",gender:"male"},{id:"grandfatherPaternal",labelKey:"selectAncestorsOptionGrandfatherPaternal",gender:"male"},{id:"grandmotherPaternal",labelKey:"selectAncestorsOptionGrandmotherPaternal",gender:"female"},{id:"grandfatherMaternal",labelKey:"selectAncestorsOptionGrandfatherMaternal",gender:"male"},{id:"grandmotherMaternal",labelKey:"selectAncestorsOptionGrandmotherMaternal",gender:"female"},{id:"greatGrandfatherPaternal",labelKey:"selectAncestorsOptionGreatGrandfatherPaternal",gender:"male"},{id:"greatGrandmotherPaternal",labelKey:"selectAncestorsOptionGreatGrandmotherPaternal",gender:"female"},{id:"greatGrandfatherMaternal",labelKey:"selectAncestorsOptionGreatGrandfatherMaternal",gender:"male"},{id:"greatGrandmotherMaternal",labelKey:"selectAncestorsOptionGreatGrandmotherMaternal",gender:"female"}],xa="https://srm-cdn.a4b.io/yoda/1788334548628.webp",ma="https://srm-cdn.a4b.io/yoda/1788334564281.webp";function ha(t){return fa.find(r=>r.id===t)?.gender==="female"?ma:xa}const Ws=[{value:"tithi",iconUrl:"https://srm-cdn.a4b.io/yoda/1788883529190.svg",titleKey:"deathTithiOption1Title",subtextKey:"deathTithiOption1Subtext"},{value:"date",iconUrl:"https://srm-cdn.a4b.io/yoda/1788883546461.svg",titleKey:"deathTithiOption2Title",subtextKey:"deathTithiOption2Subtext"},{value:"unknown",iconUrl:"https://srm-cdn.a4b.io/yoda/1788883557171.svg",titleKey:"deathTithiOption3Title",subtextKey:"deathTithiOption3Subtext"}],Ks=["tithiNamePratipada","tithiNameDvitiya","tithiNameTritiya","tithiNameChaturthi","tithiNamePanchami","tithiNameShashthi","tithiNameSaptami","tithiNameAshtami","tithiNameNavami","tithiNameDashami","tithiNameEkadashi","tithiNameDvadashi","tithiNameTrayodashi","tithiNameChaturdashi","tithiNameAmavasya"];function Zs({entries:t,viewedIndex:a,isEntryFilled:r,isEntryReachable:n,onSelect:i,className:d}){return e.jsx("div",{className:u.cn("flex w-full items-start overflow-x-auto scrollbar-none [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",d),children:t.map((o,l)=>{const c=r(o.key),j=n(l),f=l===a?"enabled":c?"filled":"disabled";return e.jsxs(C.Fragment,{children:[e.jsx(ua,{label:o.label,avatarUrl:ha(o.key),state:f,onClick:j?()=>i(l):void 0}),l<t.length-1&&e.jsx("div",{className:`-mx-5 mt-4 h-0.5 w-10 shrink-0 ${c?"bg-[#159169]":"bg-[rgba(28,27,27,0.05)]"}`})]},o.key)})})}const qs="https://srm-cdn.a4b.io/yoda/1788163138113.svg";function Ys({isOpen:t,onClose:a,avatarUrl:r,heading:n,ctaLabel:i,onCtaClick:d,cardIcon:o,cardTitle:l,cardDescription:c,cardTag:j,cardTagClassName:f="bg-[#1d79fc] text-white"}){return t?e.jsx("div",{className:"avatar-card-dialog",role:"presentation",onClick:p=>{p.target===p.currentTarget&&a()},children:e.jsxs("div",{className:"avatar-card-dialog__card",children:[e.jsxs("div",{className:"avatar-card-dialog__avatar",children:[e.jsx("img",{src:qs,alt:"",className:"avatar-card-dialog__avatar-glow"}),e.jsx("img",{src:r,alt:"",className:"avatar-card-dialog__avatar-image"})]}),e.jsxs("div",{className:"avatar-card-dialog__content",children:[e.jsx("p",{className:"avatar-card-dialog__heading",children:n}),e.jsx(Se,{selected:!0,showRadio:!1,tag:j,tagClassName:f,icon:o,iconClassName:"bg-white",title:l,description:c})]}),e.jsx(I,{variant:"primary",size:"md",className:"avatar-card-dialog__button",onClick:d,children:i})]})}):null}function ga(t){if(!t)return;const[a,r,n]=t.split("-").map(Number);return{day:n,month:r,year:a}}function Qs({day:t,month:a,year:r}){return`${r}-${String(a).padStart(2,"0")}-${String(t).padStart(2,"0")}`}function Js(t="en-IN"){const a=new Intl.DateTimeFormat(t,{month:"long"});return Array.from({length:12},(r,n)=>a.format(new Date(2e3,n,1)))}function Xs(t,a){const r=ga(t);return r?`${r.day} ${a[r.month-1]} ${r.year}`:t}function en(t){return A({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M64.12,147.8a4,4,0,0,1-4,4.2H16a8,8,0,0,1-7.8-6.17,8.35,8.35,0,0,1,1.62-6.93A67.79,67.79,0,0,1,37,117.51a40,40,0,1,1,66.46-35.8,3.94,3.94,0,0,1-2.27,4.18A64.08,64.08,0,0,0,64,144C64,145.28,64,146.54,64.12,147.8Zm182-8.91A67.76,67.76,0,0,0,219,117.51a40,40,0,1,0-66.46-35.8,3.94,3.94,0,0,0,2.27,4.18A64.08,64.08,0,0,1,192,144c0,1.28,0,2.54-.12,3.8a4,4,0,0,0,4,4.2H240a8,8,0,0,0,7.8-6.17A8.33,8.33,0,0,0,246.17,138.89Zm-89,43.18a48,48,0,1,0-58.37,0A72.13,72.13,0,0,0,65.07,212,8,8,0,0,0,72,224H184a8,8,0,0,0,6.93-12A72.15,72.15,0,0,0,157.19,182.07Z"},child:[]}]})(t)}const tt={en:{title:"Who is this puja for?",subtitle:"Your ancestors",value:"For all ancestors",helperText:"This will be recited by the Pandit during puja"},hi:{title:"पूजा-विधि किन पितृ के लिए बुक कर रहे है?",subtitle:"पितृजन का नाम",value:"सर्वपितृ के लिए",helperText:"यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"}},ba=t=>tt[t]??tt.en,ja=C.forwardRef(({locale:t="en",title:a,subtitle:r,value:n,helperText:i,icon:d,className:o,headerClassName:l,valueBoxClassName:c,helperTextClassName:j,...f},p)=>{const h=ba(t);return e.jsxs("div",{ref:p,className:u.cn("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm",o),...f,children:[e.jsxs("div",{className:u.cn("flex items-center gap-3",l),children:[e.jsx(fe,{icon:d??e.jsx(en,{size:22,"aria-hidden":!0}),size:"lg"}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-lg leading-6 font-bold text-[#1d2125]",children:a??h.title}),e.jsx("p",{className:"mt-0.5 text-base leading-5 text-gray-500",children:r??h.subtitle})]})]}),e.jsx("div",{className:u.cn("mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",c),children:e.jsx("span",{className:"text-lg leading-6 font-medium text-gray-700",children:n??h.value})}),e.jsx("p",{className:u.cn("mt-3 text-sm leading-4.5 text-gray-500",j),children:i??h.helperText})]})});ja.displayName="SarvaPitruCard";function Te(t,a){return t.find(r=>r[a]!=null)}function tn(t){const a=t.data.cards,r=Te(a,"store"),n=Te(a,"user_reviews"),i=Te(a,"pooja_benefits"),d=Te(a,"location_details"),o=r?.store,l=o?.location_details.temple_details,c=d?.location_details,j=n?.user_reviews.reviews??[],f=i?.pooja_benefits.benefits;return{detailImages:o?.info_media.filter(p=>p.type==="image").map(p=>p.media_url)??[],title:o?.pooja_title||o?.name||"",description:o?.description??"",pooja_usecase:o?.pooja_usecase??"",pooja_specificity:o?.pooja_specificity??"",dateLabel:o?.process_date??"",locationLabel:o?.location??"",detailTempleSignificance:l?.name?{question:l.name,imageUrl:l.image,paragraphs:[l.description,l.location].filter(p=>!!p)}:c?.location_name?{question:c.header||c.location_name,imageUrl:c.image,paragraphs:[c.location_description].filter(p=>!!p)}:void 0,detailBenefits:f?.map(p=>({icon:p.icon,title:p.title,description:p.description})),devoteesReviews:j.map(p=>({name:p.name,date:p.date,stars:p.rating,text:p.suggestion}))}}const an="data:image/svg+xml,%3csvg%20width='225.04'%20height='225.04'%20viewBox='0%20-149%20225.04%20225.04'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20opacity='0.3'%3e%3cpath%20d='M79.9067%20-124.123C79.9067%20-124.123%2082.7197%20-131.507%2080.1704%20-138.363C77.6211%20-145.22%2070.6765%20-149%2070.6765%20-149C70.6765%20-149%2067.8635%20-141.616%2070.4128%20-134.759C72.9621%20-127.903%2079.9067%20-124.123%2079.9067%20-124.123Z'%20fill='url(%23paint0_linear_3800_64548)'/%3e%3cpath%20d='M13.8891%20-72.4777C20.614%20-69.5328%2028.1299%20-71.9503%2028.1299%20-71.9503C28.1299%20-71.9503%2024.7895%20-79.1146%2018.0647%20-82.0155C11.3399%20-84.9164%203.8239%20-82.543%203.8239%20-82.543C3.8239%20-82.543%207.16433%20-75.4226%2013.8891%20-72.4777Z'%20fill='url(%23paint1_linear_3800_64548)'/%3e%3cpath%20d='M10.6366%20-4.13075C3.73601%20-1.58148%200%205.36311%200%205.36311C0%205.36311%207.38412%208.1761%2014.2408%205.62682C21.0975%203.07755%2024.8774%20-3.86702%2024.8774%20-3.86702C24.8774%20-3.86702%2017.4933%20-6.68004%2010.6366%20-4.13075Z'%20fill='url(%23paint2_linear_3800_64548)'/%3e%3cpath%20d='M66.9844%2057.975C64.0396%2064.6998%2066.457%2072.2158%2066.457%2072.2158C66.457%2072.2158%2073.6214%2068.8754%2076.5223%2062.1505C79.4232%2055.4257%2077.0497%2047.9097%2077.0497%2047.9097C77.0497%2047.9097%2069.8853%2051.2502%2066.9844%2057.975Z'%20fill='url(%23paint3_linear_3800_64548)'/%3e%3cpath%20d='M145.133%2051.1622C145.133%2051.1622%20142.32%2058.5464%20144.869%2065.403C147.419%2072.2597%20154.363%2076.0397%20154.363%2076.0397C154.363%2076.0397%20157.176%2068.6555%20154.627%2061.7989C152.078%2054.9422%20145.133%2051.1622%20145.133%2051.1622Z'%20fill='url(%23paint4_linear_3800_64548)'/%3e%3cpath%20d='M214.403%20-68.8296C221.26%20-71.3789%20225.04%20-78.3235%20225.04%20-78.3235C225.04%20-78.3235%20217.656%20-81.1365%20210.799%20-78.5872C203.942%20-76.0379%20200.162%20-69.0933%20200.162%20-69.0933C200.162%20-69.0933%20207.546%20-66.2803%20214.403%20-68.8296Z'%20fill='url(%23paint5_linear_3800_64548)'/%3e%3cpath%20d='M211.151%20-0.482635C204.426%20-3.42749%20196.91%20-1.01006%20196.91%20-1.01006C196.91%20-1.01006%20200.25%206.15428%20206.975%209.05519C213.7%2011.9561%20221.216%209.58263%20221.216%209.58263C221.216%209.58263%20217.875%202.46222%20211.151%20-0.482635Z'%20fill='url(%23paint6_linear_3800_64548)'/%3e%3cpath%20d='M158.055%20-130.935C161%20-137.66%20158.583%20-145.176%20158.583%20-145.176C158.583%20-145.176%20151.418%20-141.836%20148.517%20-135.111C145.617%20-128.386%20147.99%20-120.87%20147.99%20-120.87C147.99%20-120.87%20155.154%20-124.21%20158.055%20-130.935Z'%20fill='url(%23paint7_linear_3800_64548)'/%3e%3cpath%20d='M71.6875%20-118.716C71.0722%20-117.354%2070.5887%20-115.947%2070.1491%20-114.497L70.325%20-114.453C75.5993%20-112.827%2079.7309%20-110.761%2082.7637%20-108.299C83.1592%20-112.343%2084.7416%20-116.958%2087.5106%20-122.057C87.5106%20-122.101%2087.5546%20-122.145%2087.5546%20-122.189C86.4118%20-122.804%2085.269%20-123.331%2084.0823%20-123.815C82.456%20-121.178%2081.1814%20-118.365%2080.2144%20-115.464C77.5772%20-116.87%2074.6763%20-117.969%2071.6875%20-118.716Z'%20fill='url(%23paint8_linear_3800_64548)'/%3e%3cpath%20d='M25.229%20-64.8299C25.7125%20-63.6432%2026.2399%20-62.5004%2026.8553%20-61.3576L26.9871%20-61.4016C32.0857%20-64.1706%2036.7008%20-65.7969%2040.7445%20-66.1485C38.0633%20-69.401%2035.8657%20-74.0161%2034.1954%20-79.9498C34.1954%20-79.9937%2034.1954%20-79.9937%2034.1954%20-80.0377C33.1845%20-79.73%2032.1736%20-79.3784%2031.2066%20-78.9828C31.9978%20-75.5105%2033.2724%20-72.1701%2034.9866%20-69.0934C31.5143%20-68.1264%2028.2618%20-66.7199%2025.229%20-64.8299Z'%20fill='url(%23paint9_linear_3800_64548)'/%3e%3cpath%20d='M142.232%20-108.256C145.485%20-110.937%20150.1%20-113.134%20156.033%20-114.805H156.121C155.814%20-115.815%20155.462%20-116.826%20155.066%20-117.793C151.594%20-117.002%20148.254%20-115.728%20145.177%20-114.013C144.21%20-117.442%20142.803%20-120.694%20140.914%20-123.727C139.727%20-123.244%20138.584%20-122.716%20137.441%20-122.101L137.485%20-121.969C140.254%20-116.914%20141.88%20-112.299%20142.232%20-108.256Z'%20fill='url(%23paint10_linear_3800_64548)'/%3e%3cpath%20d='M199.811%20-8.13037C199.327%20-9.31711%20198.8%20-10.4599%20198.184%20-11.6027L198.053%20-11.5587C192.954%20-8.78966%20188.339%20-7.16341%20184.295%20-6.81178C186.976%20-3.55925%20189.174%201.05582%20190.844%206.98949V7.07739C191.855%206.76971%20192.866%206.41811%20193.833%206.02254C193.042%202.55023%20191.767%20-0.790207%20190.053%20-3.86691C193.525%20-4.83389%20196.778%20-6.24039%20199.811%20-8.13037Z'%20fill='url(%23paint11_linear_3800_64548)'/%3e%3cpath%20d='M82.8075%2035.2951C79.555%2037.9763%2074.9399%2040.1739%2069.0063%2041.8441H68.9623C69.27%2042.8551%2069.6216%2043.866%2070.0172%2044.833C73.4895%2044.0418%2076.8299%2042.7672%2079.9066%2041.053C80.8736%2044.4813%2082.2801%2047.7339%2084.1701%2050.7666C85.3568%2050.2831%2086.4996%2049.7557%2087.6424%2049.1403L87.5984%2049.0085C84.7854%2043.9539%2083.1592%2039.3388%2082.8075%2035.2951Z'%20fill='url(%23paint12_linear_3800_64548)'/%3e%3cpath%20d='M190.536%20-78.8069C190.536%20-78.7629%20190.493%20-78.675%20190.493%20-78.631C188.866%20-73.4006%20186.8%20-69.2251%20184.339%20-66.1923C188.383%20-65.7968%20192.998%20-64.2144%20198.096%20-61.4454L198.228%20-61.4014C198.844%20-62.5003%20199.371%20-63.687%20199.855%20-64.8737C197.217%20-66.5%20194.404%20-67.7746%20191.503%20-68.7416C192.954%20-71.4667%20194.053%20-74.3676%20194.8%20-77.3564C193.393%20-77.8839%20191.943%20-78.4113%20190.536%20-78.8069Z'%20fill='url(%23paint13_linear_3800_64548)'/%3e%3cpath%20d='M153.352%2045.756C153.968%2044.3935%20154.451%2042.987%20154.891%2041.5365L154.715%2041.4926C149.44%2039.8663%20145.309%2037.8005%20142.276%2035.3391C141.881%2039.3828%20140.298%2043.9979%20137.529%2049.0965C137.529%2049.1404%20137.485%2049.1844%20137.485%2049.2283C138.628%2049.8436%20139.771%2050.3711%20140.958%2050.8546C142.584%2048.2174%20143.858%2045.4044%20144.825%2042.5035C147.463%2043.91%20150.363%2045.0088%20153.352%2045.756Z'%20fill='url(%23paint14_linear_3800_64548)'/%3e%3cpath%20d='M34.5032%205.84676C34.5032%205.8028%2034.5471%205.71489%2034.5471%205.67093C36.1734%200.396561%2038.2392%20-3.73502%2040.7006%20-6.76778C36.6569%20-7.16336%2032.0418%20-8.74568%2026.9433%20-11.5147L26.8114%20-11.5587C26.1961%20-10.4159%2025.6686%20-9.2731%2025.1851%20-8.08636C27.8223%20-6.46011%2030.6353%20-5.18549%2033.5362%20-4.21852C32.0858%20-1.49342%2030.9869%201.40749%2030.2397%204.3963C31.6462%204.92374%2033.0967%205.45117%2034.5032%205.84676Z'%20fill='url(%23paint15_linear_3800_64548)'/%3e%3cpath%20d='M92.5652%20-88.4326C95.2024%20-89.4436%2097.9714%20-90.2787%20100.74%20-90.894C96.521%20-93.9707%2093.6201%20-99.0693%2093.6201%20-106.409C93.6201%20-111.112%2097.4%20-118.057%20102.411%20-124.958C105.531%20-129.221%20108.916%20-133.353%20112.52%20-137.221C116.432%20-133.001%20120.08%20-128.562%20123.42%20-123.903C128.035%20-117.354%20131.42%20-110.849%20131.42%20-106.409C131.42%20-99.0693%20128.519%20-93.9707%20124.299%20-90.894C127.068%20-90.2787%20129.793%20-89.4875%20132.475%20-88.4326C136.43%20-92.9159%20138.804%20-99.0693%20138.804%20-106.409C138.804%20-110.673%20137.002%20-115.508%20134.365%20-120.343C126.893%20-134.1%20112.52%20-147.769%20112.52%20-147.769C112.52%20-147.769%2098.1472%20-134.056%2090.6313%20-120.343C87.9941%20-115.508%2086.192%20-110.673%2086.192%20-106.409C86.192%20-99.0693%2088.6094%20-92.9598%2092.5652%20-88.4326Z'%20fill='url(%23paint16_linear_3800_64548)'/%3e%3cpath%20d='M124.036%20-106.409C124.036%20-109.003%20120.431%20-116.387%20112.52%20-126.013C104.608%20-116.387%20101.004%20-109.003%20101.004%20-106.409C101.004%20-95.4651%20109.839%20-94.5861%20112.52%20-94.5861C115.201%20-94.5861%20124.036%20-95.4651%20124.036%20-106.409ZM108.388%20-106.014C108.652%20-106.893%20109.795%20-109.53%20112.52%20-113.662C115.245%20-109.574%20116.388%20-106.937%20116.651%20-106.014C116.564%20-103.377%20115.685%20-102.849%20115.377%20-102.673C113.575%20-101.75%20111.465%20-101.75%20109.619%20-102.673C109.355%20-102.849%20108.476%20-103.421%20108.388%20-106.014Z'%20fill='url(%23paint17_linear_3800_64548)'/%3e%3cpath%20d='M44.4805%20-67.3352C49.6669%20-62.1487%2055.6885%20-59.5115%2061.6661%20-59.1159C62.8089%20-61.7092%2064.1714%20-64.2145%2065.7098%20-66.6319C60.5673%20-65.8408%2054.8973%20-67.3791%2049.7109%20-72.5656C46.5023%20-75.8181%2044.2607%20-83.0704%2042.8982%20-91.2896C42.0191%20-96.7398%2041.4917%20-102.234%2041.2719%20-107.772C46.81%20-107.552%2052.3041%20-107.025%2057.7543%20-106.146C65.9296%20-104.783%2073.2258%20-102.586%2076.4783%20-99.333C81.6648%20-94.1465%2083.2031%20-88.4766%2082.412%20-83.3341C84.7854%20-84.8724%2087.3347%20-86.235%2089.9279%20-87.3778C89.5324%20-93.3554%2086.8952%20-99.3769%2081.7087%20-104.563C78.8078%20-107.464%2074.4125%20-109.574%2069.3579%20-111.112C54.282%20-115.727%2033.8438%20-115.244%2033.8438%20-115.244C33.8438%20-115.244%2033.3603%20-95.9486%2037.5798%20-81.0046C39.1182%20-75.4225%2041.3598%20-70.4558%2044.4805%20-67.3352Z'%20fill='url(%23paint18_linear_3800_64548)'/%3e%3cpath%20d='M49.2274%20-99.7726C50.4581%20-87.3778%2053.0953%20-79.5981%2054.9413%20-77.7521C62.6771%20-70.0163%2069.5338%20-75.6423%2071.4237%20-77.5323C73.3137%20-79.4223%2078.9397%20-86.3229%2071.204%20-94.0587C69.4019%20-95.9047%2061.6222%20-98.5858%2049.2274%20-99.7726ZM67.7756%20-85.268C67.1603%20-83.3341%2065.6219%20-81.8397%2063.732%20-81.2244C63.3803%20-81.1365%2062.3694%20-80.9167%2060.4794%20-82.7188C60.0399%20-83.5539%2058.985%20-86.1911%2057.9741%20-91.0259C62.8089%20-90.0589%2065.4461%20-89.0041%2066.2812%20-88.5206C68.0394%20-86.6745%2067.8196%20-85.6636%2067.7317%20-85.312L67.7756%20-85.268Z'%20fill='url(%23paint19_linear_3800_64548)'/%3e%3cpath%20d='M28.6574%20-14.5914C33.4923%20-11.9543%2038.3271%20-10.1522%2042.5905%20-10.1522C49.9307%20-10.1522%2056.0402%20-12.5256%2060.5674%20-16.4814C59.5564%20-19.1186%2058.7213%20-21.8876%2058.1499%20-24.6567C55.0732%20-20.4811%2049.9747%20-17.5363%2042.6345%20-17.5363C37.9315%20-17.5363%2030.9869%20-21.3162%2024.0863%20-26.3269C19.7789%20-29.4476%2015.6913%20-32.832%2011.8234%20-36.4361C16.0429%20-40.3479%2020.4822%20-43.996%2025.1851%20-47.3365C31.6462%20-51.9955%2038.1513%20-55.3799%2042.5905%20-55.3799C49.9307%20-55.3799%2055.0293%20-52.479%2058.106%20-48.2595C58.7213%20-51.0285%2059.5125%20-53.7976%2060.5234%20-56.4347C56.0402%20-60.3905%2049.8868%20-62.764%2042.5466%20-62.764C38.2831%20-62.764%2033.4483%20-60.9619%2028.6135%20-58.3247C14.9001%20-50.8527%201.23071%20-36.4801%201.23071%20-36.4801C1.23071%20-36.4801%2014.9001%20-22.1074%2028.6574%20-14.5914Z'%20fill='url(%23paint20_linear_3800_64548)'/%3e%3cpath%20d='M22.9875%20-36.4802C32.6132%20-28.5687%2039.9973%20-24.9645%2042.5905%20-24.9645C53.5349%20-24.9645%2054.4139%20-33.7991%2054.4139%20-36.4802C54.4139%20-39.1614%2053.5788%20-47.9959%2042.5905%20-47.9959C39.9973%20-47.9959%2032.6132%20-44.3918%2022.9875%20-36.4802ZM46.3266%20-39.3372C47.2496%20-37.5351%2047.2496%20-35.4254%2046.3266%20-33.5793C46.1507%20-33.2717%2045.5794%20-32.3926%2042.9861%20-32.3047C42.1071%20-32.5684%2039.4699%20-33.7112%2035.3383%20-36.4363C39.4259%20-39.1614%2042.0631%20-40.3041%2042.9861%20-40.5679C45.5794%20-40.5239%2046.1507%20-39.6449%2046.3266%20-39.3372Z'%20fill='url(%23paint21_linear_3800_64548)'/%3e%3cpath%20d='M81.6648%2031.5592C86.8513%2026.3727%2089.4885%2020.3512%2089.8841%2014.3736C87.2908%2013.2308%2084.7855%2011.8682%2082.3681%2010.3299C83.1592%2015.4724%2081.6209%2021.1423%2076.4344%2026.3288C73.1819%2029.5813%2065.9296%2031.779%2057.7104%2033.1415C52.2602%2034.0206%2046.7661%2034.548%2041.228%2034.7678C41.4478%2029.2297%2041.9752%2023.7356%2042.8543%2018.2854C44.2168%2010.1101%2046.4145%202.8139%2049.667%20-0.394669C54.8535%20-5.58113%2060.5234%20-7.11949%2065.6659%20-6.32834C64.1276%20-8.7018%2062.765%20-11.2511%2061.6222%20-13.8443C55.6446%20-13.4487%2049.6231%20-10.8115%2044.4366%20-5.62508C41.5357%20-2.72417%2039.4259%201.67113%2037.8876%206.72572C33.2725%2021.8016%2033.756%2042.2398%2033.756%2042.2398C33.756%2042.2398%2053.0514%2042.7233%2067.9954%2038.5038C73.5775%2036.9215%2078.5442%2034.6799%2081.6648%2031.5592Z'%20fill='url(%23paint22_linear_3800_64548)'/%3e%3cpath%20d='M54.9413%204.83568C53.0953%206.6817%2050.4581%2014.4614%2049.2274%2026.8562C61.6222%2025.6255%2069.4019%2022.9883%2071.2479%2021.1423C78.9837%2013.4065%2073.3577%206.54987%2071.4677%204.65988C69.5777%202.7699%2062.6771%20-2.94402%2054.9413%204.83568ZM63.688%208.30798C65.6219%208.92332%2067.1163%2010.4617%2067.7317%2012.3517C67.8196%2012.7033%2068.0393%2013.7142%2066.2373%2015.6042C65.4022%2016.0437%2062.765%2017.0986%2057.9301%2018.0656C58.8971%2013.2307%2059.952%2010.5935%2060.3915%209.75842C62.3255%208.00031%2063.3364%208.22008%2063.688%208.30798Z'%20fill='url(%23paint23_linear_3800_64548)'/%3e%3cpath%20d='M132.518%2015.4725C129.881%2016.4834%20127.112%2017.3185%20124.343%2017.8899C128.519%2020.9666%20131.464%2026.0652%20131.464%2033.4053C131.464%2038.1083%20127.684%2045.0529%20122.673%2051.9535C119.552%2056.2609%20116.168%2060.3486%20112.564%2064.2164C108.652%2059.9969%20105.004%2055.5577%20101.663%2050.8547C97.0044%2044.3936%2093.62%2037.8885%2093.62%2033.4493C93.62%2026.1091%2096.5209%2021.0105%20100.74%2017.9338C97.9714%2017.3185%2095.2463%2016.5273%2092.5651%2015.5164C88.6094%2019.9996%2086.2359%2026.1531%2086.2359%2033.4932C86.2359%2037.7567%2088.038%2042.5915%2090.6752%2047.4263C98.1472%2061.1837%20112.564%2074.853%20112.564%2074.853C112.564%2074.853%20126.936%2061.1397%20134.452%2047.4263C137.09%2042.5915%20138.892%2037.7567%20138.892%2033.4932C138.848%2026.1091%20136.43%2019.9996%20132.518%2015.4725Z'%20fill='url(%23paint24_linear_3800_64548)'/%3e%3cpath%20d='M101.004%2033.4493C101.004%2036.0425%20104.608%2043.4266%20112.52%2053.0524C120.431%2043.4266%20124.036%2036.0425%20124.036%2033.4493C124.036%2022.505%20115.201%2021.6259%20112.52%2021.6259C109.839%2021.6259%20101.004%2022.505%20101.004%2033.4493ZM116.651%2033.0537C116.388%2033.9328%20115.245%2036.5699%20112.52%2040.7015C109.795%2036.5699%20108.652%2033.9767%20108.388%2033.0537C108.476%2030.4165%20109.355%2029.8891%20109.663%2029.7133C111.465%2028.7902%20113.575%2028.7902%20115.421%2029.7133C115.685%2029.8891%20116.564%2030.4605%20116.651%2033.0537Z'%20fill='url(%23paint25_linear_3800_64548)'/%3e%3cpath%20d='M180.559%20-5.62508C175.373%20-10.8115%20169.351%20-13.4487%20163.374%20-13.8443C162.231%20-11.2511%20160.868%20-8.74576%20159.33%20-6.32834C164.472%20-7.11949%20170.142%20-5.58113%20175.329%20-0.394669C178.581%202.85786%20180.779%2010.1101%20182.142%2018.3293C183.021%2023.7795%20183.548%2029.2737%20183.768%2034.8118C178.23%2034.592%20172.736%2034.0645%20167.285%2033.1855C159.11%2031.8229%20151.814%2029.6253%20148.605%2026.3727C143.419%2021.1863%20141.881%2015.5164%20142.672%2010.3738C140.298%2011.9122%20137.749%2013.2747%20135.156%2014.4175C135.551%2020.3951%20138.188%2026.4167%20143.375%2031.6031C146.276%2034.5041%20150.671%2036.6138%20155.726%2038.1522C170.802%2042.7672%20191.24%2042.2838%20191.24%2042.2838C191.24%2042.2838%20191.723%2022.9884%20187.504%208.04433C185.921%202.41832%20183.68%20-2.50441%20180.559%20-5.62508Z'%20fill='url(%23paint26_linear_3800_64548)'/%3e%3cpath%20d='M175.812%2026.8123C174.582%2014.4175%20171.944%206.63782%20170.098%204.79179C162.363%20-2.94395%20155.506%202.68204%20153.616%204.57202C151.726%206.46201%20146.056%2013.3187%20153.836%2021.0544C155.638%2022.9444%20163.418%2025.6255%20175.812%2026.8123ZM157.308%2012.3517C157.923%2010.4178%20159.462%208.92337%20161.352%208.30803C161.703%208.22012%20162.714%208.00035%20164.604%209.80243C165.044%2010.6375%20166.099%2013.2747%20167.11%2018.1096C162.275%2017.1426%20159.638%2016.0877%20158.802%2015.6482C157%2013.7143%20157.22%2012.7034%20157.308%2012.3517Z'%20fill='url(%23paint27_linear_3800_64548)'/%3e%3cpath%20d='M196.382%20-58.3687C191.547%20-61.0059%20186.713%20-62.808%20182.449%20-62.808C175.109%20-62.808%20169%20-60.4345%20164.472%20-56.4788C165.483%20-53.8416%20166.318%20-51.0725%20166.89%20-48.3035C169.967%20-52.523%20175.065%20-55.4239%20182.405%20-55.4239C187.108%20-55.4239%20194.053%20-51.6439%20200.953%20-46.6333C205.261%20-43.5126%20209.348%20-40.1282%20213.216%20-36.5241C208.997%20-32.6122%20204.558%20-28.9641%20199.855%20-25.6237C193.393%20-20.9647%20186.888%20-17.5803%20182.449%20-17.5803C175.109%20-17.5803%20170.01%20-20.4812%20166.934%20-24.7007C166.318%20-21.9316%20165.527%20-19.1626%20164.516%20-16.5254C169%20-12.5696%20175.153%20-10.1962%20182.493%20-10.1962C186.757%20-10.1962%20191.591%20-11.9982%20196.426%20-14.6354C210.184%20-22.1075%20223.853%20-36.5241%20223.853%20-36.5241C223.853%20-36.5241%20210.14%20-50.8528%20196.382%20-58.3687Z'%20fill='url(%23paint28_linear_3800_64548)'/%3e%3cpath%20d='M202.052%20-36.4802C192.427%20-44.3918%20185.042%20-47.9959%20182.449%20-47.9959C171.505%20-47.9959%20170.626%20-39.1614%20170.626%20-36.4802C170.626%20-33.7991%20171.461%20-24.9645%20182.449%20-24.9645C185.042%20-24.9645%20192.427%20-28.5687%20202.052%20-36.4802ZM178.713%20-33.6233C177.79%20-35.4254%20177.79%20-37.5351%20178.713%20-39.3811C178.889%20-39.6888%20179.46%20-40.5679%20182.054%20-40.6558C182.933%20-40.3921%20185.57%20-39.2493%20189.701%20-36.5242C185.57%20-33.7991%20182.977%20-32.6563%20182.054%20-32.3926C179.46%20-32.4366%20178.889%20-33.3156%20178.713%20-33.6233Z'%20fill='url(%23paint29_linear_3800_64548)'/%3e%3cpath%20d='M143.375%20-104.52C138.188%20-99.3331%20135.551%20-93.3115%20135.156%20-87.3339C137.749%20-86.1911%20140.254%20-84.8286%20142.672%20-83.2902C141.881%20-88.4327%20143.419%20-94.1027%20148.605%20-99.2891C151.858%20-102.498%20159.11%20-104.739%20167.329%20-106.102C172.78%20-106.981%20178.274%20-107.508%20183.812%20-107.728C183.592%20-102.19%20183.065%20-96.6959%20182.185%20-91.2457C180.823%20-83.0704%20178.625%20-75.7742%20175.373%20-72.5217C170.186%20-67.3352%20164.516%20-65.7969%20159.374%20-66.588C160.912%20-64.2146%20162.275%20-61.6653%20163.418%20-59.0721C169.395%20-59.4676%20175.417%20-62.1048%20180.603%20-67.2913C183.504%20-70.1922%20185.614%20-74.5875%20187.152%20-79.6421C191.767%20-94.718%20191.284%20-115.156%20191.284%20-115.156C191.284%20-115.156%20171.988%20-115.64%20157.044%20-111.42C151.418%20-109.882%20146.496%20-107.64%20143.375%20-104.52Z'%20fill='url(%23paint30_linear_3800_64548)'/%3e%3cpath%20d='M170.098%20-77.7961C171.944%20-79.6421%20174.582%20-87.4218%20175.812%20-99.8166C163.417%20-98.5859%20155.638%20-95.9487%20153.792%20-94.1027C146.056%20-86.3669%20151.682%20-79.5102%20153.572%20-77.6203C155.462%20-75.7303%20162.363%20-70.0164%20170.098%20-77.7961ZM161.352%20-81.2684C159.418%20-81.8837%20157.923%20-83.4221%20157.308%20-85.312C157.22%20-85.6637%20157%20-86.6746%20158.802%20-88.5646C159.638%20-89.0041%20162.275%20-90.059%20167.11%20-91.0699C166.143%20-86.2351%20165.088%20-83.5979%20164.648%20-82.7628C162.714%20-80.9167%20161.703%20-81.1805%20161.352%20-81.2684Z'%20fill='url(%23paint31_linear_3800_64548)'/%3e%3cpath%20d='M112.52%20-83.4219C86.5875%20-83.4219%2065.578%20-62.4124%2065.578%20-36.4801C65.578%20-10.5477%2086.5875%2010.4618%20112.52%2010.4618C138.452%2010.4618%20159.462%20-10.5477%20159.462%20-36.4801C159.462%20-62.4124%20138.452%20-83.4219%20112.52%20-83.4219ZM133.793%20-27.6894C141.485%20-19.7779%20144.957%20-10.8115%20141.573%20-7.42708C138.188%20-4.04269%20129.222%20-7.51498%20121.31%20-15.2068C121.135%20-4.17455%20117.267%204.61606%20112.52%204.61606C107.773%204.61606%20103.861%20-4.21851%20103.729%20-15.2068C95.8177%20-7.51498%2086.8512%20-4.04269%2083.4669%20-7.42708C80.0825%20-10.8115%2083.5548%20-19.7779%2091.2466%20-27.6894C80.2143%20-27.8653%2071.4237%20-31.7331%2071.4237%20-36.4801C71.4237%20-41.227%2080.2583%20-45.1388%2091.2466%20-45.2707C83.5548%20-53.1822%2080.0825%20-62.1487%2083.4669%20-65.533C86.8512%20-68.9174%2095.8177%20-65.4012%20103.729%20-57.7533C103.905%20-68.7856%20107.773%20-77.5762%20112.52%20-77.5762C117.267%20-77.5762%20121.179%20-68.7416%20121.31%20-57.7533C129.222%20-65.4451%20138.188%20-68.9174%20141.573%20-65.533C144.957%20-62.1487%20141.485%20-53.1822%20133.793%20-45.2707C144.825%20-45.0949%20153.616%20-41.227%20153.616%20-36.4801C153.616%20-31.7331%20144.781%20-27.8213%20133.793%20-27.6894Z'%20fill='url(%23paint32_linear_3800_64548)'/%3e%3cpath%20d='M128.695%20-42.8974C127.947%20-44.7873%20123.86%20-44.9192%20119.508%20-43.249C121.31%20-47.5564%20121.267%20-51.644%20119.42%20-52.4352C117.574%20-53.2263%20114.586%20-50.4573%20112.652%20-46.1938C110.85%20-50.5012%20107.949%20-53.3582%20106.059%20-52.611C104.169%20-51.8638%20104.037%20-47.7762%20105.707%20-43.4248C101.4%20-45.2269%2097.3121%20-45.1829%2096.521%20-43.3369C95.7298%20-41.4909%2098.4988%20-38.5021%20102.762%20-36.5681C98.4549%20-34.766%2095.5979%20-31.8652%2096.3451%20-29.9752C97.0923%20-28.0852%20101.18%20-27.9533%20105.531%20-29.6235C103.729%20-25.3161%20103.773%20-21.2285%20105.619%20-20.4373C107.465%20-19.6462%20110.454%20-22.4152%20112.388%20-26.6787C114.19%20-22.3713%20117.091%20-19.5143%20118.981%20-20.2615C120.871%20-21.0087%20121.003%20-25.0964%20119.333%20-29.4477C123.64%20-27.6456%20127.728%20-27.6896%20128.519%20-29.5356C129.31%20-31.3817%20126.541%20-34.3705%20122.277%20-36.3044C126.585%20-38.1504%20129.442%20-41.0513%20128.695%20-42.8974ZM112.52%20-31.4696C109.751%20-31.4696%20107.509%20-33.7112%20107.509%20-36.4802C107.509%20-39.2493%20109.751%20-41.4909%20112.52%20-41.4909C115.289%20-41.4909%20117.531%20-39.2493%20117.531%20-36.4802C117.531%20-33.7112%20115.289%20-31.4696%20112.52%20-31.4696Z'%20fill='url(%23paint33_linear_3800_64548)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint9_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint10_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint11_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint12_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint13_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint14_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint15_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint16_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint17_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint18_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint19_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint20_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint21_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint22_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint23_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint24_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint25_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint26_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint27_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint28_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint29_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint30_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint31_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint32_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint33_linear_3800_64548'%20x1='112.52'%20y1='-7.43989'%20x2='112.52'%20y2='88.729'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F9A3C6'/%3e%3cstop%20offset='1'%20stop-color='%23F6AA36'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",rn="https://srm-cdn.a4b.io/yoda/1788256961374.svg",sn=an,Oe=t=>typeof t=="number"?`${t}px`:t;function ya({className:t}){return e.jsx("svg",{className:t,width:"8",height:"8",viewBox:"0 0 8 8",fill:"none","aria-hidden":!0,children:e.jsx("path",{d:"M3.84784 3.47359C3.93563 3.54802 4.06436 3.54802 4.15214 3.47359C4.98402 2.76841 5.41175 2.08403 5.41175 1.41177C5.41177 0.632062 4.77969 0 4 0C3.22031 0 2.58823 0.632062 2.58823 1.41177C2.58823 2.08403 3.01597 2.76841 3.84784 3.47359ZM3.84784 4.52641C3.01597 5.23159 2.58823 5.91597 2.58823 6.58823C2.58823 7.36794 3.2203 8 4 8C4.7797 8 5.41177 7.36794 5.41177 6.58823C5.41177 5.91597 4.98403 5.23159 4.15216 4.52641C4.06436 4.45198 3.93564 4.45198 3.84784 4.52641ZM3.47359 4.15216C3.54802 4.06437 3.54802 3.93564 3.47359 3.84786C2.76839 3.01598 2.08402 2.58825 1.41177 2.58825C0.632062 2.58823 0 3.2203 0 4C0 4.7797 0.632062 5.41177 1.41177 5.41177C2.08403 5.41177 2.76841 4.98403 3.47359 4.15216ZM4.52641 4.15216C5.23161 4.98403 5.91598 5.41177 6.58823 5.41177C7.36794 5.41177 8 4.7797 8 4C8 3.2203 7.36794 2.58823 6.58823 2.58823C5.91597 2.58823 5.23159 3.01597 4.52641 3.84784C4.45198 3.93564 4.45198 4.06436 4.52641 4.15216Z",fill:"#F45494"})})}function nn({badgeLabel:t,dateRangeLabel:a,headline:r,mandalaWidth:n=225,mandalaTop:i=-149,showMandala:d=!0,mandalaLeft:o,mandalaRight:l,className:c}){const j=o!==void 0?{left:Oe(o)}:l!==void 0?{right:Oe(l)}:{left:"50%",transform:"translateX(-50%)"};return e.jsxs("div",{className:u.cn("relative flex w-full flex-col items-center gap-3 overflow-hidden bg-gradient-to-b from-[#FFF9E9] to-white pt-2 pb-4",c),children:[d&&e.jsx("img",{src:sn,alt:"","aria-hidden":!0,className:"pointer-events-none absolute z-0 h-auto",style:{width:Oe(n),top:Oe(i),...j}}),e.jsxs("div",{className:"relative z-10 flex flex-col items-center gap-1",children:[e.jsx("img",{src:rn,alt:"Sri Mandir",className:"h-14 w-auto object-contain"}),e.jsxs("p",{className:"flex items-center gap-1 text-xs font-semibold leading-4 text-[#d51f68]",children:[e.jsx(ya,{}),t,e.jsx(ya,{})]})]}),e.jsx("div",{className:"relative z-10 flex w-full items-center justify-center rounded-[20px] px-5 py-0.5",style:{backgroundImage:"linear-gradient(90deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.4) 100%), linear-gradient(90deg, rgba(252,204,223,0) 0%, rgb(252,204,223) 29.78%, rgb(252,204,223) 72.984%, rgba(252,204,223,0) 100%)"},children:e.jsx("p",{className:"text-center text-[10px] font-medium leading-[14px] text-[rgba(28,27,27,0.8)]",children:a})}),e.jsx("p",{className:"relative z-10 w-full px-4 text-center text-xl leading-7 font-bold text-[#492912]",children:r})]})}function ln({amount:t,amountClassName:a,subtitle:r,subtitleClassName:n,showInfoIcon:i=!0,onInfoClick:d,proceedLabel:o="Continue",proceedIcon:l=e.jsx(pe,{"aria-hidden":!0}),onProceed:c,disabled:j,proceedButtonProps:f,className:p}){const h=j??t==null;return e.jsxs("div",{className:u.cn("flex items-start justify-center gap-6 bg-gradient-to-b from-[#fff9e9] to-[#fcccdf] px-4 pt-4 pb-5 drop-shadow-[0px_4px_10px_rgba(0,0,0,0.12)]",p),children:[t!=null&&e.jsxs("div",{className:"flex shrink-0 flex-col items-start",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:u.cn("text-lg leading-6 font-bold text-[#141414]",a),children:t}),i&&e.jsx("button",{type:"button",onClick:d,"aria-label":"View bill details",className:u.cn("inline-flex shrink-0 items-center justify-center text-[#f75e22]",!d&&"pointer-events-none"),children:e.jsx(de,{size:18,"aria-hidden":!0})})]}),r&&e.jsx("p",{className:u.cn("text-xs leading-4 text-gray-500",n),children:r})]}),e.jsxs(I,{variant:"primary",size:"xl",disabled:h,onClick:c,...f,className:u.cn("flex-1 justify-center gap-1 rounded-xl",h?"bg-none bg-gray-400":"bg-gradient-to-b from-[#5eb98e] to-[#087955]",f?.className),children:[o,l]})]})}Object.defineProperty(x,"cn",{enumerable:!0,get:()=>u.cn}),x.ALL_ANCESTORS_ID=pa,x.ANCESTOR_OPTIONS=fa,x.AddAncestorSheet=Vs,x.AncestorTab=ua,x.AncestorTabRow=Zs,x.AudioQuestionCard=os,x.AvatarCardDialog=Ys,x.BOOKING_SUMMARY_BANNER_DEFAULT_COPY=We,x.BillDetails=ea,x.BookingSummaryBanner=Qt,x.Button=I,x.CHECKOUT_BAR_DEFAULT_COPY=$e,x.CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY=qe,x.CartReviewAddedBadge=ms,x.CartReviewChangeButton=xs,x.CartReviewItem=He,x.CartReviewMandapItem=zt,x.CartView=ys,x.CheckIcon=cr,x.CheckoutBar=Pe,x.Chip=Rt,x.ConfinedBottomSheet=ye,x.ConfirmPujaDetailsModal=sa,x.DEATH_TITHI_OPTIONS=Ws,x.DatePickerSheet=Cs,x.DevoteesReviews=Qr,x.EmailSheet=As,x.EventHeader=nn,x.FAQAccordion=ts,x.FAQSection=Et,x.FEMALE_ANCESTOR_AVATAR_URL=ma,x.GOTRA_INFO_MODAL_DEFAULT_COPY=Ye,x.GotraInfoModal=na,x.IconBadge=fe,x.L2Card=Ts,x.LanguageSwitcher=Ue,x.MALE_ANCESTOR_AVATAR_URL=xa,x.OUTCOME_SUPPORTED_LOCALES=za,x.OUTCOME_TRUST_ITEMS=Jr,x.OnlinePujaTestimonial=_r,x.OutcomeAncestorEditModal=ur,x.OutcomeBillDetails=sr,x.OutcomeButton=gt,x.OutcomeEmptyRituals=vr,x.OutcomeI18nProvider=Ga,x.OutcomeStickyCta=jr,x.OutcomeSummary=Hs,x.PACKAGE_SELECT_DEFAULT_COPY=Ve,x.PUJA_DETAILS_FORM_DEFAULT_COPY=Je,x.PackageSelect=bs,x.PhoneNumberSheet=Ls,x.PlusIcon=or,x.ProcessInvolved=Br,x.PujaBenefitsSection=Gr,x.PujaDetailsCarouselHeader=Ir,x.PujaDetailsForm=Ms,x.QuantityStepper=fs,x.RitualProceedBar=ln,x.SARVA_PITRU_CARD_DEFAULT_COPY=tt,x.SarvaPitruCard=ja,x.SelectorCard=Se,x.SelectorCardEditableField=ds,x.SelectorCardInfoRow=us,x.SelectorCardNote=ps,x.SelectorCardPriceBadge=Dt,x.ServiceOfferCard=Ut,x.ServiceOfferSheet=Gt,x.StepProgressHeader=ss,x.TITHI_NAME_KEYS=Ks,x.TempleSignificanceSection=$r,x.TestimonialCard=es,x.TextField=ie,x.TimeOfBirthPickerSheet=_s,x.TithiPickerSheet=vs,x.TopBar=rs,x.TrustBadgesBar=Kt,x.VideoPlayer=Mt,x.WhySriMandir=Mr,x.buttonVariants=Ot,x.createEmptyPujaDetailsFormValues=Rs,x.formatDisplayDate=Xs,x.formatIsoDate=Qs,x.getAncestorAvatarUrl=ha,x.getBookingSummaryBannerDefaultCopy=Yt,x.getCheckoutBarDefaultCopy=Zt,x.getConfirmPujaDetailsModalDefaultCopy=aa,x.getGotraInfoModalDefaultCopy=Qe,x.getKartaOrdinalLabel=oa,x.getMonthLabels=Js,x.getOutcomeTranslation=De,x.getPackageSelectDefaultCopy=qt,x.getPujaDetailsFormDefaultCopy=ia,x.getSarvaPitruCardDefaultCopy=ba,x.mapPujaL2Response=tn,x.outcomeTranslations=Fe,x.parseIsoDate=ga,x.useOutcomeI18n=ce,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@srimandir/pitru-paksh-common",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.27.0",
|
|
4
4
|
"description": "Shared UI primitives (Button, IconBadge) for Pitru Paksha packages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"react-dom": "^18.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@srimandir/common": "^2.
|
|
46
|
+
"@srimandir/common": "^2.21.0",
|
|
47
47
|
"@storybook/addon-essentials": "8.4.7",
|
|
48
48
|
"@storybook/addon-interactions": "8.4.7",
|
|
49
49
|
"@storybook/addon-links": "8.4.7",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"react"
|
|
74
74
|
],
|
|
75
75
|
"license": "MIT",
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "c434567074cf99bae577eea4ed435c3d7534b2bc"
|
|
77
77
|
}
|