@srimandir/pitru-paksh-common 2.0.39 → 2.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
- (function(h,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("@srimandir/common"),require("react"),require("class-variance-authority"),require("react-player")):typeof define=="function"&&define.amd?define(["exports","@srimandir/common","react","class-variance-authority","react-player"],l):(h=typeof globalThis<"u"?globalThis:h||self,l(h.PitruPakshCommon={},h.SrimandirCommon,h.React,h.classVarianceAuthority,h.ReactPlayer))})(this,(function(h,l,v,la,ia){"use strict";function oa(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const s in t)if(s!=="default"){const n=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(r,s,n.get?n:{enumerable:!0,get:()=>t[s]})}}return r.default=t,Object.freeze(r)}const ca=oa(v);var he={exports:{}},ce={};var tt;function da(){if(tt)return ce;tt=1;var t=v,r=Symbol.for("react.element"),s=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(x,f,g){var b,d={},y=null,j=null;g!==void 0&&(y=""+g),f.key!==void 0&&(y=""+f.key),f.ref!==void 0&&(j=f.ref);for(b in f)n.call(f,b)&&!c.hasOwnProperty(b)&&(d[b]=f[b]);if(x&&x.defaultProps)for(b in f=x.defaultProps,f)d[b]===void 0&&(d[b]=f[b]);return{$$typeof:r,type:x,key:y,ref:j,props:d,_owner:o.current}}return ce.Fragment=s,ce.jsx=u,ce.jsxs=u,ce}var de={};var at;function ua(){return at||(at=1,process.env.NODE_ENV!=="production"&&(function(){var t=v,r=Symbol.for("react.element"),s=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),x=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),j=Symbol.for("react.offscreen"),N=Symbol.iterator,S="@@iterator";function L(a){if(a===null||typeof a!="object")return null;var i=N&&a[N]||a[S];return typeof i=="function"?i:null}var k=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(a){{for(var i=arguments.length,m=new Array(i>1?i-1:0),C=1;C<i;C++)m[C-1]=arguments[C];O("error",a,m)}}function O(a,i,m){{var C=k.ReactDebugCurrentFrame,T=C.getStackAddendum();T!==""&&(i+="%s",m=m.concat([T]));var D=m.map(function(E){return String(E)});D.unshift("Warning: "+i),Function.prototype.apply.call(console[a],console,D)}}var p=!1,z=!1,U=!1,R=!1,q=!1,re;re=Symbol.for("react.module.reference");function M(a){return!!(typeof a=="string"||typeof a=="function"||a===n||a===c||q||a===o||a===g||a===b||R||a===j||p||z||U||typeof a=="object"&&a!==null&&(a.$$typeof===y||a.$$typeof===d||a.$$typeof===u||a.$$typeof===x||a.$$typeof===f||a.$$typeof===re||a.getModuleId!==void 0))}function H(a,i,m){var C=a.displayName;if(C)return C;var T=i.displayName||i.name||"";return T!==""?m+"("+T+")":m}function K(a){return a.displayName||"Context"}function $(a){if(a==null)return null;if(typeof a.tag=="number"&&w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case n:return"Fragment";case s:return"Portal";case c:return"Profiler";case o:return"StrictMode";case g:return"Suspense";case b:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case x:var i=a;return K(i)+".Consumer";case u:var m=a;return K(m._context)+".Provider";case f:return H(a,a.render,"ForwardRef");case d:var C=a.displayName||null;return C!==null?C:$(a.type)||"Memo";case y:{var T=a,D=T._payload,E=T._init;try{return $(E(D))}catch{return null}}}return null}var G=Object.assign,ae=0,J,X,Q,se,Ne,we,ke;function Ce(){}Ce.__reactDisabledLog=!0;function qe(){{if(ae===0){J=console.log,X=console.info,Q=console.warn,se=console.error,Ne=console.group,we=console.groupCollapsed,ke=console.groupEnd;var a={configurable:!0,enumerable:!0,value:Ce,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}ae++}}function _(){{if(ae--,ae===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:G({},a,{value:J}),info:G({},a,{value:X}),warn:G({},a,{value:Q}),error:G({},a,{value:se}),group:G({},a,{value:Ne}),groupCollapsed:G({},a,{value:we}),groupEnd:G({},a,{value:ke})})}ae<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var I=k.ReactCurrentDispatcher,ee;function _e(a,i,m){{if(ee===void 0)try{throw Error()}catch(T){var C=T.stack.trim().match(/\n( *(at )?)/);ee=C&&C[1]||""}return`
2
- `+ee+a}}var Ke=!1,Le;{var wr=typeof WeakMap=="function"?WeakMap:Map;Le=new wr}function Ht(a,i){if(!a||Ke)return"";{var m=Le.get(a);if(m!==void 0)return m}var C;Ke=!0;var T=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var D;D=I.current,I.current=null,qe();try{if(i){var E=function(){throw Error()};if(Object.defineProperty(E.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(E,[])}catch(Y){C=Y}Reflect.construct(a,[],E)}else{try{E.call()}catch(Y){C=Y}a.call(E.prototype)}}else{try{throw Error()}catch(Y){C=Y}a()}}catch(Y){if(Y&&C&&typeof Y.stack=="string"){for(var P=Y.stack.split(`
3
- `),V=C.stack.split(`
4
- `),F=P.length-1,B=V.length-1;F>=1&&B>=0&&P[F]!==V[B];)B--;for(;F>=1&&B>=0;F--,B--)if(P[F]!==V[B]){if(F!==1||B!==1)do if(F--,B--,B<0||P[F]!==V[B]){var te=`
5
- `+P[F].replace(" at new "," at ");return a.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",a.displayName)),typeof a=="function"&&Le.set(a,te),te}while(F>=1&&B>=0);break}}}finally{Ke=!1,I.current=D,_(),Error.prepareStackTrace=T}var oe=a?a.displayName||a.name:"",le=oe?_e(oe):"";return typeof a=="function"&&Le.set(a,le),le}function kr(a,i,m){return Ht(a,!1)}function Cr(a){var i=a.prototype;return!!(i&&i.isReactComponent)}function Se(a,i,m){if(a==null)return"";if(typeof a=="function")return Ht(a,Cr(a));if(typeof a=="string")return _e(a);switch(a){case g:return _e("Suspense");case b:return _e("SuspenseList")}if(typeof a=="object")switch(a.$$typeof){case f:return kr(a.render);case d:return Se(a.type,i,m);case y:{var C=a,T=C._payload,D=C._init;try{return Se(D(T),i,m)}catch{}}}return""}var xe=Object.prototype.hasOwnProperty,Gt={},Yt=k.ReactDebugCurrentFrame;function Pe(a){if(a){var i=a._owner,m=Se(a.type,a._source,i?i.type:null);Yt.setExtraStackFrame(m)}else Yt.setExtraStackFrame(null)}function _r(a,i,m,C,T){{var D=Function.call.bind(xe);for(var E in a)if(D(a,E)){var P=void 0;try{if(typeof a[E]!="function"){var V=Error((C||"React class")+": "+m+" type `"+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[E]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw V.name="Invariant Violation",V}P=a[E](i,E,C,m,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(F){P=F}P&&!(P instanceof Error)&&(Pe(T),w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",C||"React class",m,E,typeof P),Pe(null)),P instanceof Error&&!(P.message in Gt)&&(Gt[P.message]=!0,Pe(T),w("Failed %s type: %s",m,P.message),Pe(null))}}}var Lr=Array.isArray;function Ze(a){return Lr(a)}function Sr(a){{var i=typeof Symbol=="function"&&Symbol.toStringTag,m=i&&a[Symbol.toStringTag]||a.constructor.name||"Object";return m}}function Pr(a){try{return qt(a),!1}catch{return!0}}function qt(a){return""+a}function Kt(a){if(Pr(a))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Sr(a)),qt(a)}var Zt=k.ReactCurrentOwner,Er={key:!0,ref:!0,__self:!0,__source:!0},Jt,Xt;function Tr(a){if(xe.call(a,"ref")){var i=Object.getOwnPropertyDescriptor(a,"ref").get;if(i&&i.isReactWarning)return!1}return a.ref!==void 0}function Or(a){if(xe.call(a,"key")){var i=Object.getOwnPropertyDescriptor(a,"key").get;if(i&&i.isReactWarning)return!1}return a.key!==void 0}function Ar(a,i){typeof a.ref=="string"&&Zt.current}function zr(a,i){{var m=function(){Jt||(Jt=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))};m.isReactWarning=!0,Object.defineProperty(a,"key",{get:m,configurable:!0})}}function Dr(a,i){{var m=function(){Xt||(Xt=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))};m.isReactWarning=!0,Object.defineProperty(a,"ref",{get:m,configurable:!0})}}var Fr=function(a,i,m,C,T,D,E){var P={$$typeof:r,type:a,key:i,ref:m,props:E,_owner:D};return P._store={},Object.defineProperty(P._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(P,"_self",{configurable:!1,enumerable:!1,writable:!1,value:C}),Object.defineProperty(P,"_source",{configurable:!1,enumerable:!1,writable:!1,value:T}),Object.freeze&&(Object.freeze(P.props),Object.freeze(P)),P};function Br(a,i,m,C,T){{var D,E={},P=null,V=null;m!==void 0&&(Kt(m),P=""+m),Or(i)&&(Kt(i.key),P=""+i.key),Tr(i)&&(V=i.ref,Ar(i,T));for(D in i)xe.call(i,D)&&!Er.hasOwnProperty(D)&&(E[D]=i[D]);if(a&&a.defaultProps){var F=a.defaultProps;for(D in F)E[D]===void 0&&(E[D]=F[D])}if(P||V){var B=typeof a=="function"?a.displayName||a.name||"Unknown":a;P&&zr(E,B),V&&Dr(E,B)}return Fr(a,P,V,T,C,Zt.current,E)}}var Je=k.ReactCurrentOwner,Qt=k.ReactDebugCurrentFrame;function ie(a){if(a){var i=a._owner,m=Se(a.type,a._source,i?i.type:null);Qt.setExtraStackFrame(m)}else Qt.setExtraStackFrame(null)}var Xe;Xe=!1;function Qe(a){return typeof a=="object"&&a!==null&&a.$$typeof===r}function ea(){{if(Je.current){var a=$(Je.current.type);if(a)return`
1
+ (function(x,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("@srimandir/common"),require("react"),require("class-variance-authority"),require("react-player")):typeof define=="function"&&define.amd?define(["exports","@srimandir/common","react","class-variance-authority","react-player"],l):(x=typeof globalThis<"u"?globalThis:x||self,l(x.PitruPakshCommon={},x.SrimandirCommon,x.React,x.classVarianceAuthority,x.ReactPlayer))})(this,(function(x,l,C,h2,m2){"use strict";function g2(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,s.get?s:{enumerable:!0,get:()=>t[n]})}}return r.default=t,Object.freeze(r)}const b2=g2(C);var xe={exports:{}},ce={};var tt;function y2(){if(tt)return ce;tt=1;var t=C,r=Symbol.for("react.element"),n=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function c(f,p,m){var h,d={},y=null,v=null;m!==void 0&&(y=""+m),p.key!==void 0&&(y=""+p.key),p.ref!==void 0&&(v=p.ref);for(h in p)s.call(p,h)&&!o.hasOwnProperty(h)&&(d[h]=p[h]);if(f&&f.defaultProps)for(h in p=f.defaultProps,p)d[h]===void 0&&(d[h]=p[h]);return{$$typeof:r,type:f,key:y,ref:v,props:d,_owner:i.current}}return ce.Fragment=n,ce.jsx=c,ce.jsxs=c,ce}var de={};var at;function C2(){return at||(at=1,process.env.NODE_ENV!=="production"&&(function(){var t=C,r=Symbol.for("react.element"),n=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),j=Symbol.iterator,_="@@iterator";function A(a){if(a===null||typeof a!="object")return null;var u=j&&a[j]||a[_];return typeof u=="function"?u:null}var w=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function N(a){{for(var u=arguments.length,b=new Array(u>1?u-1:0),k=1;k<u;k++)b[k-1]=arguments[k];P("error",a,b)}}function P(a,u,b){{var k=w.ReactDebugCurrentFrame,E=k.getStackAddendum();E!==""&&(u+="%s",b=b.concat([E]));var M=b.map(function(O){return String(O)});M.unshift("Warning: "+u),Function.prototype.apply.call(console[a],console,M)}}var g=!1,F=!1,V=!1,R=!1,K=!1,ae;ae=Symbol.for("react.module.reference");function U(a){return!!(typeof a=="string"||typeof a=="function"||a===s||a===o||K||a===i||a===m||a===h||R||a===v||g||F||V||typeof a=="object"&&a!==null&&(a.$$typeof===y||a.$$typeof===d||a.$$typeof===c||a.$$typeof===f||a.$$typeof===p||a.$$typeof===ae||a.getModuleId!==void 0))}function H(a,u,b){var k=a.displayName;if(k)return k;var E=u.displayName||u.name||"";return E!==""?b+"("+E+")":b}function Y(a){return a.displayName||"Context"}function G(a){if(a==null)return null;if(typeof a.tag=="number"&&N("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case s:return"Fragment";case n:return"Portal";case o:return"Profiler";case i:return"StrictMode";case m:return"Suspense";case h:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case f:var u=a;return Y(u)+".Consumer";case c:var b=a;return Y(b._context)+".Provider";case p:return H(a,a.render,"ForwardRef");case d:var k=a.displayName||null;return k!==null?k:G(a.type)||"Memo";case y:{var E=a,M=E._payload,O=E._init;try{return G(O(M))}catch{return null}}}return null}var Z=Object.assign,te=0,q,J,X,ne,we,_e,ke;function Ae(){}Ae.__reactDisabledLog=!0;function Ke(){{if(te===0){q=console.log,J=console.info,X=console.warn,ne=console.error,we=console.group,_e=console.groupCollapsed,ke=console.groupEnd;var a={configurable:!0,enumerable:!0,value:Ae,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}te++}}function S(){{if(te--,te===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Z({},a,{value:q}),info:Z({},a,{value:J}),warn:Z({},a,{value:X}),error:Z({},a,{value:ne}),group:Z({},a,{value:we}),groupCollapsed:Z({},a,{value:_e}),groupEnd:Z({},a,{value:ke})})}te<0&&N("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var B=w.ReactCurrentDispatcher,Q;function Se(a,u,b){{if(Q===void 0)try{throw Error()}catch(E){var k=E.stack.trim().match(/\n( *(at )?)/);Q=k&&k[1]||""}return`
2
+ `+Q+a}}var Ye=!1,Le;{var qa=typeof WeakMap=="function"?WeakMap:Map;Le=new qa}function e2(a,u){if(!a||Ye)return"";{var b=Le.get(a);if(b!==void 0)return b}var k;Ye=!0;var E=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var M;M=B.current,B.current=null,Ke();try{if(u){var O=function(){throw Error()};if(Object.defineProperty(O.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(O,[])}catch(W){k=W}Reflect.construct(a,[],O)}else{try{O.call()}catch(W){k=W}a.call(O.prototype)}}else{try{throw Error()}catch(W){k=W}a()}}catch(W){if(W&&k&&typeof W.stack=="string"){for(var L=W.stack.split(`
3
+ `),$=k.stack.split(`
4
+ `),z=L.length-1,D=$.length-1;z>=1&&D>=0&&L[z]!==$[D];)D--;for(;z>=1&&D>=0;z--,D--)if(L[z]!==$[D]){if(z!==1||D!==1)do if(z--,D--,D<0||L[z]!==$[D]){var ee=`
5
+ `+L[z].replace(" at new "," at ");return a.displayName&&ee.includes("<anonymous>")&&(ee=ee.replace("<anonymous>",a.displayName)),typeof a=="function"&&Le.set(a,ee),ee}while(z>=1&&D>=0);break}}}finally{Ye=!1,B.current=M,S(),Error.prepareStackTrace=E}var oe=a?a.displayName||a.name:"",se=oe?Se(oe):"";return typeof a=="function"&&Le.set(a,se),se}function Ja(a,u,b){return e2(a,!1)}function Xa(a){var u=a.prototype;return!!(u&&u.isReactComponent)}function Oe(a,u,b){if(a==null)return"";if(typeof a=="function")return e2(a,Xa(a));if(typeof a=="string")return Se(a);switch(a){case m:return Se("Suspense");case h:return Se("SuspenseList")}if(typeof a=="object")switch(a.$$typeof){case p:return Ja(a.render);case d:return Oe(a.type,u,b);case y:{var k=a,E=k._payload,M=k._init;try{return Oe(M(E),u,b)}catch{}}}return""}var pe=Object.prototype.hasOwnProperty,t2={},a2=w.ReactDebugCurrentFrame;function Te(a){if(a){var u=a._owner,b=Oe(a.type,a._source,u?u.type:null);a2.setExtraStackFrame(b)}else a2.setExtraStackFrame(null)}function Qa(a,u,b,k,E){{var M=Function.call.bind(pe);for(var O in a)if(M(a,O)){var L=void 0;try{if(typeof a[O]!="function"){var $=Error((k||"React class")+": "+b+" type `"+O+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[O]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw $.name="Invariant Violation",$}L=a[O](u,O,k,b,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(z){L=z}L&&!(L instanceof Error)&&(Te(E),N("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",k||"React class",b,O,typeof L),Te(null)),L instanceof Error&&!(L.message in t2)&&(t2[L.message]=!0,Te(E),N("Failed %s type: %s",b,L.message),Te(null))}}}var e0=Array.isArray;function qe(a){return e0(a)}function t0(a){{var u=typeof Symbol=="function"&&Symbol.toStringTag,b=u&&a[Symbol.toStringTag]||a.constructor.name||"Object";return b}}function a0(a){try{return r2(a),!1}catch{return!0}}function r2(a){return""+a}function n2(a){if(a0(a))return N("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",t0(a)),r2(a)}var s2=w.ReactCurrentOwner,r0={key:!0,ref:!0,__self:!0,__source:!0},l2,i2;function n0(a){if(pe.call(a,"ref")){var u=Object.getOwnPropertyDescriptor(a,"ref").get;if(u&&u.isReactWarning)return!1}return a.ref!==void 0}function s0(a){if(pe.call(a,"key")){var u=Object.getOwnPropertyDescriptor(a,"key").get;if(u&&u.isReactWarning)return!1}return a.key!==void 0}function l0(a,u){typeof a.ref=="string"&&s2.current}function i0(a,u){{var b=function(){l2||(l2=!0,N("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",u))};b.isReactWarning=!0,Object.defineProperty(a,"key",{get:b,configurable:!0})}}function o0(a,u){{var b=function(){i2||(i2=!0,N("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",u))};b.isReactWarning=!0,Object.defineProperty(a,"ref",{get:b,configurable:!0})}}var c0=function(a,u,b,k,E,M,O){var L={$$typeof:r,type:a,key:u,ref:b,props:O,_owner:M};return L._store={},Object.defineProperty(L._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(L,"_self",{configurable:!1,enumerable:!1,writable:!1,value:k}),Object.defineProperty(L,"_source",{configurable:!1,enumerable:!1,writable:!1,value:E}),Object.freeze&&(Object.freeze(L.props),Object.freeze(L)),L};function d0(a,u,b,k,E){{var M,O={},L=null,$=null;b!==void 0&&(n2(b),L=""+b),s0(u)&&(n2(u.key),L=""+u.key),n0(u)&&($=u.ref,l0(u,E));for(M in u)pe.call(u,M)&&!r0.hasOwnProperty(M)&&(O[M]=u[M]);if(a&&a.defaultProps){var z=a.defaultProps;for(M in z)O[M]===void 0&&(O[M]=z[M])}if(L||$){var D=typeof a=="function"?a.displayName||a.name||"Unknown":a;L&&i0(O,D),$&&o0(O,D)}return c0(a,L,$,E,k,s2.current,O)}}var Je=w.ReactCurrentOwner,o2=w.ReactDebugCurrentFrame;function ie(a){if(a){var u=a._owner,b=Oe(a.type,a._source,u?u.type:null);o2.setExtraStackFrame(b)}else o2.setExtraStackFrame(null)}var Xe;Xe=!1;function Qe(a){return typeof a=="object"&&a!==null&&a.$$typeof===r}function c2(){{if(Je.current){var a=G(Je.current.type);if(a)return`
6
6
 
7
- Check the render method of \``+a+"`."}return""}}function Rr(a){return""}var ta={};function Ir(a){{var i=ea();if(!i){var m=typeof a=="string"?a:a.displayName||a.name;m&&(i=`
7
+ Check the render method of \``+a+"`."}return""}}function u0(a){return""}var d2={};function f0(a){{var u=c2();if(!u){var b=typeof a=="string"?a:a.displayName||a.name;b&&(u=`
8
8
 
9
- Check the top-level render call using <`+m+">.")}return i}}function aa(a,i){{if(!a._store||a._store.validated||a.key!=null)return;a._store.validated=!0;var m=Ir(i);if(ta[m])return;ta[m]=!0;var C="";a&&a._owner&&a._owner!==Je.current&&(C=" It was passed a child from "+$(a._owner.type)+"."),ie(a),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',m,C),ie(null)}}function ra(a,i){{if(typeof a!="object")return;if(Ze(a))for(var m=0;m<a.length;m++){var C=a[m];Qe(C)&&aa(C,i)}else if(Qe(a))a._store&&(a._store.validated=!0);else if(a){var T=L(a);if(typeof T=="function"&&T!==a.entries)for(var D=T.call(a),E;!(E=D.next()).done;)Qe(E.value)&&aa(E.value,i)}}}function Mr(a){{var i=a.type;if(i==null||typeof i=="string")return;var m;if(typeof i=="function")m=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===f||i.$$typeof===d))m=i.propTypes;else return;if(m){var C=$(i);_r(m,a.props,"prop",C,a)}else if(i.PropTypes!==void 0&&!Xe){Xe=!0;var T=$(i);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",T||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function $r(a){{for(var i=Object.keys(a.props),m=0;m<i.length;m++){var C=i[m];if(C!=="children"&&C!=="key"){ie(a),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",C),ie(null);break}}a.ref!==null&&(ie(a),w("Invalid attribute `ref` supplied to `React.Fragment`."),ie(null))}}var sa={};function na(a,i,m,C,T,D){{var E=M(a);if(!E){var P="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(P+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var V=Rr();V?P+=V:P+=ea();var F;a===null?F="null":Ze(a)?F="array":a!==void 0&&a.$$typeof===r?(F="<"+($(a.type)||"Unknown")+" />",P=" Did you accidentally export a JSX literal instead of a component?"):F=typeof a,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",F,P)}var B=Br(a,i,m,T,D);if(B==null)return B;if(E){var te=i.children;if(te!==void 0)if(C)if(Ze(te)){for(var oe=0;oe<te.length;oe++)ra(te[oe],a);Object.freeze&&Object.freeze(te)}else w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ra(te,a)}if(xe.call(i,"key")){var le=$(a),Y=Object.keys(i).filter(function(Yr){return Yr!=="key"}),et=Y.length>0?"{key: someKey, "+Y.join(": ..., ")+": ...}":"{key: someKey}";if(!sa[le+et]){var Gr=Y.length>0?"{"+Y.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX:
9
+ Check the top-level render call using <`+b+">.")}return u}}function u2(a,u){{if(!a._store||a._store.validated||a.key!=null)return;a._store.validated=!0;var b=f0(u);if(d2[b])return;d2[b]=!0;var k="";a&&a._owner&&a._owner!==Je.current&&(k=" It was passed a child from "+G(a._owner.type)+"."),ie(a),N('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',b,k),ie(null)}}function f2(a,u){{if(typeof a!="object")return;if(qe(a))for(var b=0;b<a.length;b++){var k=a[b];Qe(k)&&u2(k,u)}else if(Qe(a))a._store&&(a._store.validated=!0);else if(a){var E=A(a);if(typeof E=="function"&&E!==a.entries)for(var M=E.call(a),O;!(O=M.next()).done;)Qe(O.value)&&u2(O.value,u)}}}function p0(a){{var u=a.type;if(u==null||typeof u=="string")return;var b;if(typeof u=="function")b=u.propTypes;else if(typeof u=="object"&&(u.$$typeof===p||u.$$typeof===d))b=u.propTypes;else return;if(b){var k=G(u);Qa(b,a.props,"prop",k,a)}else if(u.PropTypes!==void 0&&!Xe){Xe=!0;var E=G(u);N("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",E||"Unknown")}typeof u.getDefaultProps=="function"&&!u.getDefaultProps.isReactClassApproved&&N("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function x0(a){{for(var u=Object.keys(a.props),b=0;b<u.length;b++){var k=u[b];if(k!=="children"&&k!=="key"){ie(a),N("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",k),ie(null);break}}a.ref!==null&&(ie(a),N("Invalid attribute `ref` supplied to `React.Fragment`."),ie(null))}}var p2={};function x2(a,u,b,k,E,M){{var O=U(a);if(!O){var L="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(L+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var $=u0();$?L+=$:L+=c2();var z;a===null?z="null":qe(a)?z="array":a!==void 0&&a.$$typeof===r?(z="<"+(G(a.type)||"Unknown")+" />",L=" Did you accidentally export a JSX literal instead of a component?"):z=typeof a,N("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",z,L)}var D=d0(a,u,b,E,M);if(D==null)return D;if(O){var ee=u.children;if(ee!==void 0)if(k)if(qe(ee)){for(var oe=0;oe<ee.length;oe++)f2(ee[oe],a);Object.freeze&&Object.freeze(ee)}else N("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f2(ee,a)}if(pe.call(u,"key")){var se=G(a),W=Object.keys(u).filter(function(C0){return C0!=="key"}),et=W.length>0?"{key: someKey, "+W.join(": ..., ")+": ...}":"{key: someKey}";if(!p2[se+et]){var y0=W.length>0?"{"+W.join(": ..., ")+": ...}":"{}";N(`A props object containing a "key" prop is being spread into JSX:
10
10
  let props = %s;
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} />`,et,le,Gr,le),sa[le+et]=!0}}return a===n?$r(B):Mr(B),B}}function Vr(a,i,m){return na(a,i,m,!0)}function Wr(a,i,m){return na(a,i,m,!1)}var Ur=Wr,Hr=Vr;de.Fragment=n,de.jsx=Ur,de.jsxs=Hr})()),de}var rt;function fa(){return rt||(rt=1,process.env.NODE_ENV==="production"?he.exports=da():he.exports=ua()),he.exports}var e=fa(),st={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},nt=v.createContext&&v.createContext(st),xa=["attr","size","title"];function ha(t,r){if(t==null)return{};var s,n,o=pa(t,r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);for(n=0;n<c.length;n++)s=c[n],r.indexOf(s)===-1&&{}.propertyIsEnumerable.call(t,s)&&(o[s]=t[s])}return o}function pa(t,r){if(t==null)return{};var s={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(r.indexOf(n)!==-1)continue;s[n]=t[n]}return s}function pe(){return pe=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var s=arguments[r];for(var n in s)({}).hasOwnProperty.call(s,n)&&(t[n]=s[n])}return t},pe.apply(null,arguments)}function lt(t,r){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),s.push.apply(s,n)}return s}function me(t){for(var r=1;r<arguments.length;r++){var s=arguments[r]!=null?arguments[r]:{};r%2?lt(Object(s),!0).forEach(function(n){ma(t,n,s[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):lt(Object(s)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(s,n))})}return t}function ma(t,r,s){return(r=ba(r))in t?Object.defineProperty(t,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[r]=s,t}function ba(t){var r=ga(t,"string");return typeof r=="symbol"?r:r+""}function ga(t,r){if(typeof t!="object"||!t)return t;var s=t[Symbol.toPrimitive];if(s!==void 0){var n=s.call(t,r);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function it(t){return t&&t.map((r,s)=>v.createElement(r.tag,me({key:s},r.attr),it(r.child)))}function A(t){return r=>v.createElement(va,pe({attr:me({},t.attr)},r),it(t.child))}function va(t){var r=s=>{var n=t.attr,o=t.size,c=t.title,u=ha(t,xa),x=o||s.size||"1em",f;return s.className&&(f=s.className),t.className&&(f=(f?f+" ":"")+t.className),v.createElement("svg",pe({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},s.attr,n,u,{className:f,style:me(me({color:t.color||s.color},s.style),t.style),height:x,width:x,xmlns:"http://www.w3.org/2000/svg"}),c&&v.createElement("title",null,c),t.children)};return nt!==void 0?v.createElement(nt.Consumer,null,s=>r(s)):r(st)}function ja(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=la.cva("appearance-none inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-semibold transition-colors disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2",{variants:{variant:{primary:"border-0 bg-gradient-to-b from-[#f97e4e] to-[#f75e22] text-white hover:opacity-90",secondary:"border border-[#f75e22] bg-white text-[#f75e22] hover:bg-orange-50",outline:"border border-gray-300 bg-transparent text-gray-900 hover:bg-gray-50",ghost:"border-0 bg-transparent text-gray-900 hover:bg-gray-100"},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}}),W=ca.forwardRef(({className:t,variant:r,size:s,iconOnly:n,loading:o=!1,disabled:c,leftIcon:u,rightIcon:x,children:f,type:g="button",...b},d)=>e.jsx("button",{ref:d,type:g,disabled:c||o,className:l.cn(ot({variant:r,size:s,iconOnly:n}),t),...b,children:o?e.jsx(ja,{className:"animate-spin","aria-hidden":!0}):e.jsxs(e.Fragment,{children:[u,f,x]})}));W.displayName="Button";function be(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(l.BottomSheet,{...t})}):null}function ya(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 Na(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 wa(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 ct(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 dt(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 ka(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)}const Ca=({quote:t,authorName:r,authorAvatarUrl:s,meta:n,rating:o=5,className:c="",...u})=>e.jsxs("div",{className:l.cn("flex flex-col gap-3 rounded-lg bg-[#fef5e9] px-4 py-3.75",c),...u,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:[s?e.jsx("img",{src:s,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:r}),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,o))},(x,f)=>e.jsx(ct,{size:14},f))})]}),e.jsx("p",{className:"text-xs font-medium text-gray-500",children:n})]})]})]});function _a(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 La(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 ut(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 Sa(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 ue(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 ft(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 Pa(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 ge(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 Ee(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 Ea(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 Ta(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 Te(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 Oe(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)}const xt=({title:t="अक्सर पूछे जाने वाले प्रश्न",items:r,initialVisibleCount:s=6,showCta:n=!0,defaultExpanded:o=!1,ctaExpandLabel:c="और देखें",ctaCollapseLabel:u="कम देखें",defaultOpenIndex:x=-1,className:f=""})=>{const[g,b]=v.useState(o),[d,y]=v.useState(x),j=n&&r.length>s,N=j&&!g?r.slice(0,s):r;return e.jsxs("div",{className:l.cn("flex flex-col items-center gap-5 bg-white px-4 py-6",f),children:[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:N.map((S,L)=>{const k=d===L;return e.jsxs("div",{className:"w-full overflow-hidden rounded-lg border border-[#f3f4f6]",children:[e.jsxs("button",{type:"button",className:l.cn("flex w-full items-center justify-between gap-2 p-3 text-left",k?"bg-[#f7f8f9]":"bg-white"),onClick:()=>y(k?-1:L),"aria-expanded":k,"aria-controls":`faq-answer-${L}`,id:`faq-question-${L}`,children:[e.jsx("span",{className:"flex-1 text-sm font-medium text-[#22272b]",children:S.question}),e.jsx(ge,{size:24,className:l.cn("shrink-0 transition-transform duration-200",k?"rotate-180":""),"aria-hidden":!0})]}),e.jsx("div",{id:`faq-answer-${L}`,role:"region","aria-labelledby":`faq-question-${L}`,hidden:!k,className:"bg-white p-3",children:e.jsx("p",{className:"text-sm text-[#374151]",children:S.answer})})]},L)})}),j&&e.jsx(W,{variant:"secondary",size:"lg",className:"w-full",onClick:()=>b(S=>!S),"aria-expanded":g,rightIcon:e.jsx(ge,{size:24,className:l.cn("shrink-0 transition-transform duration-200",g?"rotate-180":""),"aria-hidden":!0}),children:g?u:c})]})},ht=v.forwardRef(({src:t,poster:r,className:s="",rounded:n=!0,width:o,height:c},u)=>{const[x,f]=v.useState(!1),[g,b]=v.useState(!0),[d,y]=v.useState(!1),[j,N]=v.useState(0),[S,L]=v.useState(0),k=v.useRef(null),w=o!==void 0||c!==void 0,O=l.cn("block w-full",w&&"h-full object-cover"),p=z=>{const U=Number(z.target.value);N(U),k.current&&(k.current.currentTime=U)};return e.jsx("div",{ref:u,style:{width:o,height:c},className:l.cn("relative w-full overflow-hidden",n&&"rounded-2xl",s),children:x?e.jsxs(e.Fragment,{children:[e.jsx(ia,{ref:k,src:t,poster:r,playing:g,muted:d,width:o,height:c,className:O,onTimeUpdate:z=>N(z.currentTarget.currentTime),onDurationChange:z=>L(z.currentTarget.duration),onEnded:()=>b(!1)}),e.jsx(W,{variant:"ghost",iconOnly:!0,size:"lg","aria-label":g?"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:()=>b(z=>!z),children:g?e.jsx(ka,{size:16}):e.jsx(dt,{size:16,className:"translate-x-0.5"})}),e.jsx(W,{variant:"ghost",iconOnly:!0,size:"sm","aria-label":d?"Unmute":"Mute",className:"absolute left-2 top-2 text-white hover:bg-white/10",onClick:()=>y(z=>!z),children:d?e.jsx(Na,{size:14}):e.jsx(ya,{size:14})}),e.jsx("input",{type:"range",min:0,max:S||0,step:.1,value:j,onChange:p,"aria-label":"Seek",className:"absolute bottom-4 left-5 right-5 h-1 accent-white"})]}):e.jsxs(e.Fragment,{children:[e.jsx("img",{src:r,alt:"",className:O}),e.jsx("div",{className:"absolute inset-0 bg-linear-to-b from-black/0 to-black/60"}),e.jsx(W,{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:()=>f(!0),children:e.jsx(dt,{size:16,className:"translate-x-0.5"})})]})})});ht.displayName="VideoPlayer";const Oa=()=>e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163707447.svg",alt:"",width:24,height:24}),Ae=v.forwardRef(({options:t,value:r,onChange:s,defaultOpen:n=!1,open:o,onOpenChange:c,className:u="",triggerClassName:x="",menuClassName:f="",...g},b)=>{const[d,y]=v.useState(n),j=o!==void 0,N=j?o:d,S=v.useCallback(w=>{j||y(w),c?.(w)},[j,c]),L=v.useRef(null);v.useImperativeHandle(b,()=>L.current),v.useEffect(()=>{if(!N)return;const w=p=>{L.current?.contains(p.target)||S(!1)},O=p=>{p.key==="Escape"&&S(!1)};return document.addEventListener("mousedown",w),document.addEventListener("keydown",O),()=>{document.removeEventListener("mousedown",w),document.removeEventListener("keydown",O)}},[N,S]);const k=w=>{s?.(w.value),S(!1)};return e.jsxs("div",{ref:L,className:l.cn("relative inline-block",u),...g,children:[e.jsxs("button",{type:"button",onClick:()=>S(!N),"aria-label":"Switch language","aria-haspopup":"listbox","aria-expanded":N,className:l.cn("inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",x),children:[e.jsx(Oa,{}),e.jsx(ge,{size:24,className:l.cn("transition-transform duration-200",N?"rotate-180":""),"aria-hidden":!0})]}),N&&e.jsx("ul",{role:"listbox",className:l.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",f),children:t.map(w=>{const O=w.value===r;return e.jsx("li",{role:"option","aria-selected":O,children:e.jsx("button",{type:"button",onClick:()=>k(w),className:l.cn("block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",O?"font-medium text-[#f75e22]":"text-[#1d2125]"),children:w.label})},w.value)})})]})});Ae.displayName="LanguageSwitcher";function Aa({onBackClick:t,backButtonAriaLabel:r="Go back",locale:s,localeOptions:n,onLocaleChange:o,className:c}){return e.jsxs("div",{className:l.cn("mx-auto flex w-full max-w-md items-center justify-between px-4 py-3",c),children:[e.jsx("button",{type:"button",onClick:t,"aria-label":r,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(Oe,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx(Ae,{options:n,value:s,onChange:o,menuClassName:"left-auto right-0"})]})}const pt=v.forwardRef(({label:t,selected:r=!1,onClick:s,icon:n,className:o,type:c="button",...u},x)=>e.jsxs("button",{ref:x,type:c,onClick:s,"aria-pressed":r,className:l.cn("inline-flex shrink-0 items-center justify-center gap-1 rounded-full border text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",r?"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",o),...u,children:[n,t]}));pt.displayName="Chip";const za=({quote:t,currentStep:r,totalSteps:s,className:n,...o})=>{const c=s>0?Math.min(100,Math.max(0,r/s*100)):0;return e.jsxs("div",{className:l.cn("step-progress-header",n),...o,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:`${c}%`}}),e.jsx("div",{className:"step-progress-header__track-marker",style:{left:`${c}%`},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:[r,"/",s]})]})};function Da(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 Fa(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 mt=1.25,bt=[{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}],Ba=({animate:t,iconIndex:r})=>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:bt.map((s,n)=>e.jsx("rect",{x:s.x,y:s.y,width:mt,height:s.height,rx:mt/2,fill:"#6B7280",className:t?"wave-bar-anim":"",style:{animationDelay:`${(r*bt.length+n)*60}ms`}},n))}),Ra=({avatarUrl:t,question:r,description:s,audioSrc:n,className:o,...c})=>{const u=v.useRef(null),x=v.useRef(!1),[f,g]=v.useState(!1),[b,d]=v.useState(!1);v.useEffect(()=>{!n||x.current||(x.current=!0,u.current?.play().catch(()=>{}))},[n]);const y=()=>{const j=u.current;j&&(j.muted=!j.muted,g(j.muted))};return e.jsxs("div",{className:l.cn("flex w-full items-start gap-3 px-4 pb-6",o),...c,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:[r,s,n&&e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("audio",{ref:u,src:n,onPlay:()=>d(!0),onPause:()=>d(!1),onEnded:()=>d(!1)}),e.jsx("button",{type:"button",onClick:y,"aria-label":f?"Unmute":"Mute","aria-pressed":f,className:"flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",children:f?e.jsx(Fa,{size:18,className:"text-[#f75e22]"}):e.jsx(Da,{size:18,className:"text-[#f75e22]"})}),e.jsx("div",{className:"flex items-center gap-[1.5px]",children:[0,1,2].map(j=>e.jsx(Ba,{animate:b&&!f,iconIndex:j},j))})]})]})]})]})},Ia={sm:"size-9",md:"size-11",lg:"size-16"},fe=v.forwardRef(({icon:t,avatarUrl:r,alt:s="",size:n="md",className:o,...c},u)=>e.jsx("div",{ref:u,className:l.cn("flex shrink-0 items-center justify-center overflow-hidden rounded-full",Ia[n],!r&&"bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",o),"aria-hidden":r?void 0:!0,...c,children:r?e.jsx("img",{src:r,alt:s,className:"size-full object-cover"}):t}));fe.displayName="IconBadge";const ze=v.forwardRef(({selected:t=!1,onSelect:r,icon:s,avatarUrl:n,iconSize:o="md",iconClassName:c,title:u,description:x,badge:f,showRadio:g=!0,radioVariant:b="dot",radioClassName:d,tag:y,tagClassName:j,children:N,className:S,disabled:L,type:k="button",...w},O)=>e.jsxs("div",{className:l.cn("relative overflow-visible rounded-2xl border transition-colors",t?"border-[#f38415] bg-[#FEF5E9]":"border-gray-200 bg-white",L&&"opacity-50",S),children:[y&&e.jsx("span",{className:l.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",j),children:y}),e.jsxs("button",{ref:O,type:k,role:"radio","aria-checked":t,disabled:L,onClick:r,className:l.cn("flex w-full items-center gap-3 overflow-hidden rounded-2xl px-3 pt-3 pb-3 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2 disabled:cursor-not-allowed",y&&"pt-7"),...w,children:[(s||n)&&e.jsx(fe,{icon:s,avatarUrl:n,size:o,className:c}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#1d2125]",children:u}),x&&!N&&e.jsx("p",{className:"mt-0.5 text-[13px] leading-4.5 text-gray-500",children:x})]}),f&&e.jsx("span",{className:"shrink-0",children:f}),g&&e.jsxs("span",{"aria-hidden":!0,className:l.cn("inline-flex size-6 shrink-0 items-center justify-center rounded-full border-2 transition-colors",t?b==="check"?l.cn("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white",d):"border-[#f75e22]":"border-gray-300"),children:[t&&b==="dot"&&e.jsx("span",{className:l.cn("size-3.5 rounded-full bg-linear-to-b from-[#f97e4e] to-[#f75e22]",d)}),t&&b==="check"&&e.jsx(Ee,{size:14,"aria-hidden":!0})]})]}),N]}));ze.displayName="SelectorCard";const Ma=({value:t,onClick:r,className:s,...n})=>e.jsxs("div",{role:r?"button":void 0,tabIndex:r?0:void 0,onClick:r,className:l.cn("mx-3 mb-3 flex items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",r&&"cursor-pointer",s),...n,children:[e.jsx(ft,{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})]}),$a=({value:t,onInfoClick:r,infoLabel:s="More info",className:n,...o})=>e.jsxs("div",{className:l.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),...o,children:[e.jsx("span",{className:"truncate text-[15px] font-medium text-gray-900",children:t}),r?e.jsx("button",{type:"button",onClick:r,"aria-label":s,className:"shrink-0 border-0 bg-transparent p-0 text-gray-700",children:e.jsx(ue,{size:18,"aria-hidden":!0})}):e.jsx(ue,{size:18,className:"shrink-0 text-gray-700","aria-hidden":!0})]}),gt=({value:t,className:r,...s})=>e.jsx("span",{className:l.cn("inline-flex items-center rounded-full bg-white px-3 py-1 text-sm font-semibold text-emerald-600",r),...s,children:t}),vt=({className:t,children:r,...s})=>e.jsx("div",{className:l.cn("rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#b45309]",t),...s,children:r}),Va=({value:t,onIncrement:r,onDecrement:s,min:n=0,max:o,addLabel:c="Add",className:u})=>t<=n?e.jsxs("button",{type:"button",onClick:r,className:l.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",u),children:[e.jsx(ut,{size:20,"aria-hidden":!0}),c]}):e.jsxs("div",{className:l.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",u),children:[e.jsx("button",{type:"button",onClick:s,"aria-label":"Decrease quantity",className:"inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",children:e.jsx(Sa,{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:r,disabled:o!==void 0&&t>=o,"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(ut,{size:18,"aria-hidden":!0})})]}),jt={en:{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:{headerTitle:"अपनी बुकिंग की समीक्षा करें",addonsTitle:"सभी पितरों के लिए सेवाएं जोड़ें",addonsDescription:"ये पूजाएं सर्वोपित्र अमावस्या के दिन सम्पन्न की जाएंगी",addedLabel:"जोड़ा गया",addLabel:"जोड़ें",mandapTitle:"मंदिर और मंडप शुल्क",mandapDescription:"पूजा के लिए मंदिर में स्थान, मंडप और आवश्यक पूजा व्यवस्था सुनिश्चित करने के लिए यह शुल्क लिया जाता है",checkoutProceedLabel:"आगे बढ़ें, और डिटेल्स भरें",checkoutRitualSingular:"पूजा-विधि",checkoutRitualPlural:"पूजा-विधि"}},ve=t=>jt[t]??jt.en,De=({title:t,description:r,price:s,originalPrice:n,action:o,className:c,...u})=>e.jsx("div",{className:l.cn("rounded-2xl border border-gray-200 bg-white p-4",c),...u,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}),r&&e.jsx("p",{className:"mt-1 text-sm leading-5 text-gray-500",children:r})]}),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:s})]}),o]})]})}),yt=({locale:t="en",...r})=>{const{mandapTitle:s,mandapDescription:n}=ve(t);return e.jsx(De,{title:s,description:n,...r})},Wa=({children:t="Change",className:r,type:s="button",...n})=>e.jsxs("button",{type:s,className:l.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",r),...n,children:[e.jsx(ft,{size:14,"aria-hidden":!0}),t]}),Ua=({locale:t="en",isAdded:r=!0,children:s,className:n,type:o="button",...c})=>e.jsxs("button",{type:o,className:l.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),...c,children:[r&&e.jsx(Ee,{size:14,"aria-hidden":!0}),s??(r?ve(t).addedLabel:ve(t).addLabel)]}),Z={card:"_card_xrc5d_11",tag:"_tag_xrc5d_19",content:"_content_xrc5d_33",info:"_info_xrc5d_39",title:"_title_xrc5d_46",description:"_description_xrc5d_53",priceRow:"_priceRow_xrc5d_60",price:"_price_xrc5d_60",originalPrice:"_originalPrice_xrc5d_75",imageWrap:"_imageWrap_xrc5d_81",image:"_image_xrc5d_81",actionWrap:"_actionWrap_xrc5d_95"},Nt=({image:t,imageAlt:r="",title:s,description:n,price:o,originalPrice:c,tag:u,tagClassName:x,action:f,className:g,...b})=>e.jsxs("div",{className:l.cn(Z.card,g),...b,children:[u&&e.jsx("div",{className:l.cn(Z.tag,x),children:u}),e.jsxs("div",{className:Z.content,children:[e.jsxs("div",{className:Z.info,children:[e.jsx("p",{className:Z.title,children:s}),n&&e.jsx("p",{className:Z.description,children:n}),e.jsxs("div",{className:Z.priceRow,children:[e.jsx("span",{className:Z.price,children:o}),c&&e.jsx("span",{className:Z.originalPrice,children:c})]})]}),e.jsxs("div",{className:Z.imageWrap,children:[e.jsx("img",{src:t,alt:r,className:Z.image}),f&&e.jsx("div",{className:Z.actionWrap,children:f})]})]})]});function wt(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 kt(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 Ct(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 Ha=[{id:"money-back",icon:e.jsx(kt,{"aria-hidden":!0}),label:"100% Money Back Guarantee"},{id:"no-hidden-cost",icon:e.jsx(wt,{"aria-hidden":!0}),label:"No Hidden Cost"},{id:"24x7-support",icon:e.jsx(Ct,{"aria-hidden":!0}),label:"24x7 Support"}],_t=(t,r,s)=>e.jsxs("span",{className:l.cn("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700",s,t.className),children:[e.jsx("span",{className:"shrink-0 text-base text-gray-700","aria-hidden":!0,children:t.icon}),t.label]},r),Lt=({badges:t=Ha,badgeClassName:r,marquee:s=!0,marqueeDurationSeconds:n=14,className:o,...c})=>s?e.jsx("div",{className:l.cn("overflow-hidden bg-[#f3f5f7] px-4 py-3",o),...c,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((u,x)=>_t(u,`${u.id}-${x}`,r))})}):e.jsx("div",{className:l.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",o),...c,children:t.map(u=>_t(u,u.id,r))}),Fe={en:{proceedLabel:"Proceed"},hi:{proceedLabel:"आगे बढ़ें"},te:{proceedLabel:"ముందుకు సాగండి"}},St=t=>Fe[t]??Fe.en,je=({locale:t="en",amount:r,amountClassName:s,subtitle:n,subtitleClassName:o,showInfoIcon:c=!0,onInfoClick:u,infoIconClassName:x,proceedLabel:f,proceedIcon:g=e.jsx(Te,{"aria-hidden":!0}),onProceed:b,proceedButtonProps:d,buttonWrapperClassName:y,className:j,...N})=>e.jsxs("div",{className:l.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)]",j),...N,children:[e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:l.cn("text-xl font-extrabold text-[#1d2125]",s),children:r}),c&&e.jsx("button",{type:"button",onClick:u,"aria-label":"View bill details",className:l.cn("inline-flex shrink-0 items-center justify-center text-[#f75e22]",!u&&"pointer-events-none",x),children:e.jsx(ue,{size:18,"aria-hidden":!0})})]}),n&&e.jsx("p",{className:l.cn("mt-1 text-sm text-gray-500",o),children:n})]}),e.jsx("div",{className:l.cn("shrink-0",y),children:e.jsxs(W,{variant:"primary",size:"xl",onClick:b,...d,className:l.cn("min-w-40 justify-center gap-2 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",d?.className),children:[f??St(t).proceedLabel,g]})})]}),Be={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 सहायता"}},te:{title:"పూజ చేసే వ్యక్తుల సంఖ్యను ఎంచుకోండి (కర్త)",description:"కుటుంబమంతా కలిసి పూజ చేస్తే పితృదేవతల ఆశీర్వాదం, కుటుంబ సుఖసమృద్ధి లభిస్తాయి",benefits:["పండితుడు పితృదేవతల మరియు కర్తల పేర్లు, గోత్రాలు చెప్తారు","మా అనుభవం గల పండితులు సరైన వేద విధులతో పూజ చేస్తారు","పూర్తి పూజా వీడియో వాట్సాప్ మరియు శ్రీమందిర్ యాప్ లో పంపబడుతుంది"],trustBadgeLabels:{moneyBack:"100% డబ్బు తిరిగి హామీ",noHiddenCost:"దాచిన ఖర్చులు లేవు",support:"కస్టమర్ సపోర్ట్"}}},Pt=t=>Be[t]??Be.en,Ga=({locale:t="en",title:r,description:s,benefits:n,options:o,value:c,onChange:u,radioVariant:x="dot",radiogroupLabel:f,className:g,headerClassName:b,benefitsClassName:d,optionsClassName:y,trustBadges:j,checkout:N,stickyFooter:S=!0,footerClassName:L})=>{const k=Pt(t),w=r??k.title,O=s??k.description,p=n??k.benefits,z=j??{badges:[{id:"money-back",icon:e.jsx(kt,{"aria-hidden":!0}),label:k.trustBadgeLabels.moneyBack},{id:"no-hidden-cost",icon:e.jsx(wt,{"aria-hidden":!0}),label:k.trustBadgeLabels.noHiddenCost},{id:"24x7-support",icon:e.jsx(Ct,{"aria-hidden":!0}),label:k.trustBadgeLabels.support}]};return e.jsxs("div",{className:l.cn("w-full",g),children:[e.jsxs("div",{className:l.cn("px-4 pt-5 pb-4",b),children:[e.jsx("p",{className:"text-[20px] leading-6.5 font-extrabold text-[#1d2125]",children:w}),O&&e.jsx("p",{className:"mt-2 text-[14px] leading-5.5 text-gray-500",children:O})]}),p&&p.length>0&&e.jsx("div",{className:l.cn("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5",d),children:p.map((U,R)=>e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(Ee,{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:U})]},R))}),e.jsx("div",{role:"radiogroup","aria-label":f??(typeof w=="string"?w:void 0),className:l.cn("flex flex-col gap-3 p-4",y),children:o.map(U=>{const{id:R,price:q,free:re,badge:M,priceBadgeProps:H,note:K,noteProps:$,children:G,iconClassName:ae,radioVariant:J,...X}=U,Q=c===R,se=M??(q==null?void 0:re?e.jsx("span",{className:l.cn("text-sm font-medium text-gray-400",H?.className),...H,children:q}):e.jsx(gt,{value:q,...H}));return e.jsx(ze,{...X,iconClassName:l.cn("size-10",ae),radioVariant:J??x,badge:se,selected:Q,onSelect:()=>u(R),children:G??(Q&&K&&e.jsx(vt,{...$,children:K}))},R)})}),(z||N)&&e.jsxs("div",{className:l.cn(S&&"sticky bottom-0 z-10",L),children:[z&&e.jsx(Lt,{...z}),N&&e.jsx(je,{...N})]})]})},Re={en:{title:"Pitru Paksha Special Rituals",ancestorsLabel:"Ancestors",ritualsLabel:"Rituals",performersLabel:"Performers"},hi:{title:"पितृ पक्ष विशेष अनुष्ठान",ancestorsLabel:"पितृजन",ritualsLabel:"पूजा विधि",performersLabel:"कर्ता"}},Et=t=>Re[t]??Re.en,Tt=({locale:t="en",icon:r=e.jsx(ct,{"aria-hidden":!0}),iconClassName:s,title:n,titleClassName:o,subtitle:c,subtitleItems:u,stats:x,subtitleClassName:f,cardClassName:g,className:b,...d})=>{const y=Et(t),j=n??y.title,N=u??(x&&[`${x.ancestors} ${y.ancestorsLabel}`,`${x.rituals} ${y.ritualsLabel}`,`${x.performers} ${y.performersLabel}`]);return e.jsx("div",{className:l.cn("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6",b),...d,children:e.jsxs("div",{className:l.cn("rounded-2xl bg-white p-4 shadow-sm",g),children:[e.jsxs("p",{className:l.cn("flex items-center gap-2 text-sm font-bold text-[#db2777]",o),children:[r&&e.jsx("span",{className:l.cn("shrink-0 text-sm",s),children:r}),j]}),(c||N&&N.length>0)&&e.jsx("p",{className:l.cn("mt-2 text-[15px] font-semibold text-[#1d2125]",f),children:N&&N.length>0?N.map((S,L)=>e.jsxs(v.Fragment,{children:[L>0&&e.jsx("span",{className:"mx-1.5 text-gray-400",children:"•"}),S]},L)):c})]})})},Ot={en:{title:"Bill Details",totalLabel:"Total Amount"},hi:{title:"बिल विवरण",totalLabel:"कुल राशि"}},Ya=t=>Ot[t]??Ot.en,At=({locale:t="en",titleClassName:r,rows:s,rowClassName:n,showTitleAccent:o=!0,totalValue:c,totalClassName:u,className:x,...f})=>{const{title:g,totalLabel:b}=Ya(t);return e.jsxs("div",{className:l.cn("bg-white px-4 py-6",x),...f,children:[e.jsxs("h2",{className:l.cn("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]",r),children:[o&&e.jsx("span",{"aria-hidden":!0,className:"block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]"}),g]}),e.jsx("div",{className:"flex flex-col gap-4",children:s.map(d=>e.jsxs("div",{className:l.cn("flex items-start justify-between gap-3",n),children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:l.cn("text-sm text-[#1d2125]",d.labelClassName),children:d.label}),d.subLabel&&e.jsx("p",{className:l.cn("mt-0.5 text-xs text-gray-400",d.subLabelClassName),children:d.subLabel})]}),e.jsxs("div",{className:"flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm",children:[d.note&&e.jsx("span",{className:"text-gray-400",children:d.note}),d.originalValue&&e.jsx("span",{className:"text-gray-400 line-through",children:d.originalValue}),e.jsx("span",{className:l.cn("font-medium text-[#1d2125]",d.valueClassName),children:d.value})]})]},d.id))}),c!==void 0&&e.jsxs("div",{className:l.cn("mt-4 flex items-center justify-between border-t border-dashed border-gray-300 pt-4",u),children:[e.jsx("span",{className:"text-base font-bold text-[#1d2125]",children:b}),e.jsx("span",{className:"text-base font-bold text-emerald-600",children:c})]})]})},qa=({locale:t="en",onBack:r,backButtonAriaLabel:s="Go back",headerClassName:n,backButtonClassName:o,headerTitleClassName:c,summary:u,items:x,itemsClassName:f,itemClassName:g,addons:b,addonsSectionClassName:d,addonsHeaderClassName:y,addonsTitleClassName:j,addonsDescriptionClassName:N,addonsClassName:S,addonClassName:L,billDetails:k,faq:w,checkout:O,className:p,children:z,...U})=>{const{headerTitle:R,addonsTitle:q,addonsDescription:re,checkoutProceedLabel:M,checkoutRitualSingular:H,checkoutRitualPlural:K}=ve(t),{price:$,ritualCount:G,...ae}=O??{};return e.jsxs("div",{className:l.cn("flex min-h-screen flex-col bg-white",p),...U,children:[e.jsxs("div",{className:"flex flex-1 flex-col",children:[e.jsxs("div",{className:l.cn("flex items-center gap-3 px-4 py-3",n),children:[r&&e.jsx("button",{type:"button",onClick:r,"aria-label":s,className:l.cn("flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",o),children:e.jsx(Oe,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx("h1",{className:l.cn("text-lg font-bold text-[#1d2125]",c),children:R})]}),u&&e.jsx(Tt,{...u}),x&&x.length>0&&e.jsx("div",{className:l.cn("flex flex-col gap-3 bg-white px-4 py-4",f),children:x.map(({id:J,className:X,isMandapCharge:Q,...se})=>Q?e.jsx(yt,{locale:t,className:l.cn(g,X),...se},J):e.jsx(De,{className:l.cn(g,X),...se},J))}),b&&b.length>0&&e.jsxs("div",{className:l.cn("flex flex-col gap-4 bg-gray-50 px-4 py-6",d),children:[e.jsxs("div",{className:y,children:[e.jsx("h2",{className:l.cn("text-base font-bold text-gray-700",j),children:q}),e.jsx("p",{className:l.cn("mt-1 text-sm text-gray-500",N),children:re})]}),e.jsx("div",{className:l.cn("flex flex-col gap-4",S),children:b.map(({id:J,className:X,...Q})=>e.jsx(Nt,{className:l.cn(L,X),...Q},J))})]}),k&&e.jsx(At,{...k,locale:t}),w&&e.jsx(xt,{...w}),z]}),O&&e.jsx("div",{className:"sticky bottom-0",children:e.jsx(je,{...ae,locale:t,amount:$,subtitle:`${G} ${G===1?H:K}`,proceedLabel:M})})]})},ne=v.forwardRef(({label:t,value:r,onChange:s,prefix:n,showCharCount:o=!1,supportingText:c,error:u=!1,className:x,containerClassName:f,wrapperClassName:g,maxLength:b,id:d,...y},j)=>{const N=v.useId(),S=d??N,L=c??(o?`${r.length}${b?`/${b}`:""}`:void 0);return e.jsxs("div",{className:l.cn("flex w-full flex-col gap-2",f),children:[t&&e.jsx("label",{htmlFor:S,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:l.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",u?"border-[#ef4444]":"border-[#d1d5db]",g),children:[n&&e.jsx("span",{className:"shrink-0 text-[16px] leading-5.5 font-medium text-[#6b7280]",children:n}),e.jsx("input",{ref:j,id:S,value:r,maxLength:b,onChange:k=>s(k.target.value),"aria-invalid":u,className:l.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",x),...y})]}),L&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#9ca3af]",children:L})]})]})});ne.displayName="TextField";function Ka({isOpen:t,onClose:r,avatarUrl:s,heading:n,tithis:o,confirmLabel:c,onConfirm:u,initialTithi:x}){const[f,g]=v.useState(x),b=()=>{f&&u(f)};return e.jsx(l.BottomSheet,{isOpen:t,onClose:r,showDragHandle:!0,closeButtonOutside:!0,ariaLabel:n,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:s,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(W,{variant:"primary",size:"md",className:"w-full rounded-xl",disabled:!f,onClick:b,children:c})]}),children:e.jsx("div",{className:"grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4",children:o.map(d=>{const y=f===d;return e.jsx("button",{type:"button",onClick:()=>g(d),className:`flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${y?"border-[#f38415] bg-[#f38415] text-white":"border-[#fccf9a] bg-white/40 text-[#374151]"}`,children:d},d)})})})}const ye=48;function Ie({options:t,selectedIndex:r,onChange:s}){const n=v.useRef(null),o=v.useRef(!1);v.useEffect(()=>{o.current||!n.current||(o.current=!0,n.current.scrollTop=r*ye)},[]);const c=()=>{if(!n.current)return;const u=Math.round(n.current.scrollTop/ye),x=Math.max(0,Math.min(t.length-1,u));x!==r&&s(x)};return e.jsxs("div",{className:"relative h-36 w-full",children:[e.jsxs("div",{ref:n,onScroll:c,className:"h-36 snap-y snap-mandatory overflow-y-auto [&::-webkit-scrollbar]:hidden",style:{scrollbarWidth:"none"},children:[e.jsx("div",{style:{height:ye},"aria-hidden":!0}),t.map((u,x)=>e.jsx("div",{className:`flex h-12 snap-center items-center justify-center whitespace-nowrap text-[20px] leading-7 ${x===r?"font-bold text-[#f75e22]":"font-semibold text-[#d1d5db]"}`,children:u},u)),e.jsx("div",{style:{height:ye},"aria-hidden":!0})]}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-12 h-px bg-[#e5e7eb]"}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-24 h-px bg-[#e5e7eb]"})]})}const Me=Array.from({length:31},(t,r)=>r+1);function Za({isOpen:t,onClose:r,avatarUrl:s,heading:n,monthLabels:o,confirmLabel:c,onConfirm:u,timezoneLabel:x,initialDate:f,minYear:g,maxYear:b=new Date().getFullYear()}){const d=v.useMemo(()=>{const O=g??b-120;return Array.from({length:b-O+1},(p,z)=>O+z)},[g,b]),[y,j]=v.useState(()=>f?f.day-1:Math.floor(Me.length/2)),[N,S]=v.useState(()=>f?f.month-1:0),[L,k]=v.useState(()=>f?Math.max(0,d.indexOf(f.year)):Math.floor(d.length/2)),w=()=>{u({day:Me[y],month:N+1,year:d[L]})};return e.jsx(l.BottomSheet,{isOpen:t,onClose:r,showDragHandle:!0,closeButtonOutside:!0,ariaLabel:n,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:s,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.jsxs("div",{className:"flex w-full items-center gap-6",children:[x&&e.jsx("p",{className:"shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]",children:x}),e.jsx(W,{variant:"primary",size:"md",className:"flex-1 rounded-xl",onClick:w,children:c})]})]}),children:e.jsxs("div",{className:"flex w-full items-center justify-center gap-11 px-5 py-4",children:[e.jsx(Ie,{options:Me.map(String),selectedIndex:y,onChange:j}),e.jsx(Ie,{options:o,selectedIndex:N,onChange:S}),e.jsx(Ie,{options:d.map(String),selectedIndex:L,onChange:k})]})})}function Ja({isOpen:t,onClose:r,heading:s,subtext:n,confirmLabel:o,onConfirm:c,initialValue:u="",countries:x=l.DEFAULT_COUNTRIES,initialCountryIso:f="IN"}){const[g,b]=v.useState(()=>x.find(p=>p.iso===f)??x[0]),[d,y]=v.useState(u),[j,N]=v.useState(!1),S=v.useRef(null);v.useEffect(()=>{if(!j)return;const p=z=>{S.current&&!S.current.contains(z.target)&&N(!1)};return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[j]);const L=l.getMaxLengthForCountry(g.code),k=l.validatePhoneByCountryCode(d,g.code).isValid&&d.length>0,w=p=>{b(p),N(!1),y(z=>z.slice(0,l.getMaxLengthForCountry(p.code)))},O=()=>{k&&c(d,g)};return e.jsx(be,{isOpen:t,onClose:r,showDragHandle:!0,closeButtonOutside:!0,ariaLabel:s,footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(W,{variant:"primary",size:"xl",className:"w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",rightIcon:e.jsx(Te,{"aria-hidden":!0}),disabled:!k,onClick:O,children:o})}),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:s}),n&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#6b7280]",children:n}),e.jsxs("div",{className:"mt-2 flex w-full items-start gap-2",children:[e.jsxs("div",{ref:S,className:"relative shrink-0",children:[e.jsxs("button",{type:"button",onClick:()=>N(p=>!p),"aria-expanded":j,"aria-haspopup":"listbox",className:"flex h-14 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:l.getFlagEmoji(g.iso)}),e.jsx("span",{className:"text-[18px] leading-6 font-medium text-[#1d2125]",children:g.code}),e.jsx(ge,{size:24,className:"text-[#1d2125]","aria-hidden":!0})]}),j&&e.jsx("div",{role:"listbox",className:"absolute top-[calc(100%+4px)] left-0 z-10 max-h-60 w-64 overflow-y-auto rounded-xl border border-[#e5e7eb] bg-white py-1 shadow-lg",children:x.map(p=>e.jsxs("button",{type:"button",role:"option","aria-selected":p.iso===g.iso,onClick:()=>w(p),className:`flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${p.iso===g.iso?"bg-[#fff9e9]":""}`,children:[e.jsx("span",{className:"text-[16px]","aria-hidden":!0,children:l.getFlagEmoji(p.iso)}),e.jsx("span",{className:"text-[14px] font-medium text-[#1d2125]",children:p.code}),e.jsx("span",{className:"truncate text-[12px] text-[#6b7280]",children:p.name})]},`${p.iso}-${p.code}`))})]}),e.jsx(ne,{type:"tel",inputMode:"numeric",value:d,maxLength:L,onChange:p=>y(p.replace(/\D/g,"").slice(0,L)),containerClassName:"w-auto flex-1 gap-0",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"})]})]})})}const Xa=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function Qa({isOpen:t,onClose:r,heading:s,subtext:n,confirmLabel:o,onConfirm:c,initialValue:u="",errorText:x="Please enter a valid email"}){const[f,g]=v.useState(u),[b,d]=v.useState(!1),y=f.trim(),j=Xa.test(y),N=b&&y.length>0&&!j,S=()=>{j&&c(y)};return e.jsx(l.BottomSheet,{isOpen:t,onClose:r,showDragHandle:!0,ariaLabel:s,footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(W,{variant:"primary",size:"xl",className:"w-full rounded-xl",rightIcon:e.jsx(Te,{"aria-hidden":!0}),disabled:!j,onClick:S,children:o})}),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:s}),n&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#6b7280]",children:n}),e.jsx(ne,{type:"email",inputMode:"email",autoFocus:!0,value:f,placeholder:"you@example.com",error:N,supportingText:N?x:void 0,onChange:g,onBlur:()=>d(!0),containerClassName:"mt-2",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"})]})})}function er(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 tr(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 ar="https://srm-cdn.a4b.io/yoda/1788253585577.svg";function rr({chipNumber:t,chipLabel:r,isAdded:s,onEditClick:n,editButtonAriaLabel:o="Edit",onExpandClick:c,expandButtonAriaLabel:u="Expand",imageUrl:x,imageAlt:f,imageComponent:g,ratingLabel:b,bookedLabel:d,title:y,description:j,learnMoreLabel:N,onLearnMoreClick:S,learnMoreHref:L,dateLabel:k,locationLabel:w,priceInfoLabel:O,onPriceInfoClick:p,price:z,cta:U,className:R=""}){const[q,re]=v.useState(!1),M=s||q,H=M&&(b!=null||d!=null),K=M&&(k!=null||w!=null);return e.jsxs("div",{className:`flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${M?"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)]"} ${R}`,children:[e.jsxs("div",{className:`flex w-full items-center justify-between gap-1 px-3 ${M?"py-4":"pt-4"}`,children:[e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-1.5 rounded-2xl py-1.5 pl-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:r})]}),e.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[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":o,children:e.jsx(er,{"aria-hidden":!0,className:"size-[18px] text-[#1D2125]"})}),!s&&e.jsx("button",{type:"button",className:"flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:()=>{re($=>!$),c?.()},"aria-label":u,"aria-expanded":q,children:e.jsx(tr,{"aria-hidden":!0,className:`size-8 text-[#1D2125] ${q?"":"-scale-y-100"}`})})]})]}),M&&x!=null&&e.jsx("div",{className:"h-[140px] w-full overflow-hidden rounded-xl",children:g?e.jsx(g,{src:x,alt:f??"",className:"size-full object-cover"}):e.jsx("img",{src:x,alt:f,className:"size-full object-cover"})}),H&&e.jsxs("div",{className:"-mt-3 flex w-full items-center gap-2.5 rounded-b-xl px-4 py-1",style:{background:"linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)"},children:[b!=null&&e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]",children:b}),b!=null&&d!=null&&e.jsx("span",{className:"size-1.5 shrink-0 rounded-full bg-[#4b5513]","aria-hidden":!0}),d!=null&&e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]",children:d})]}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-3",children:[e.jsxs("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:y}),M&&j!=null&&e.jsx("p",{className:"w-full text-xs font-normal leading-4 text-gray-500",children:j})]}),M&&N!=null&&e.jsxs("a",{href:L,className:"inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",onClick:S,children:[N,e.jsx(Pa,{"aria-hidden":!0,className:"size-3.5 text-[#F75E22]"})]}),K&&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:[k!=null&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx(Ta,{"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:k})]}),w!=null&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx("img",{src:ar,alt:"","aria-hidden":!0,className:"size-3.5 shrink-0"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:w})]})]})]}),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:[O!=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:O}),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(ue,{"aria-hidden":!0,className:"size-4 text-[#1D2125]"})})]}),e.jsx("p",{className:"whitespace-nowrap text-lg font-bold leading-6 text-[#159169]",children:z})]}),e.jsx("div",{className:"shrink-0",children:U})]})]})]})}const sr={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"},nr={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 ir({variant:t="primary",size:r="md",leftIcon:s,children:n,className:o="",style:c,type:u="button",...x}){return e.jsxs("button",{type:u,className:`inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${nr[r]} ${sr[t]} ${o}`,style:{...lr[t],...c},...x,children:[s,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 $e={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}"},hi:{heading:"अपनी पूजा-विधि बुक करने के लिए जानकारी की जांच करें",subtext:"ये नाम और गोत्र पंडित जी द्वारा लिए जाएंगे",ancestorsLabel:"पितृजन के नाम:",performerLabel:"कर्ता के नाम:",gotraLabel:"गोत्र",whatsappLabel:"Whatsapp नंबर",editDetailsLabel:"जानकारी बदले",payButtonTemplate:"{amount} भुगतान करें"},te:{heading:"మీ పూజ విధి బుక్ చేయడానికి వివరాలు తనిఖీ చేయండి",subtext:"ఈ పేర్లు మరియు గోత్రాన్ని పండితులు చదువుతారు",ancestorsLabel:"పితరుల పేర్లు:",performerLabel:"పూజ చేసే వారి పేరు:",gotraLabel:"గోత్రం",whatsappLabel:"WhatsApp నంబర్",editDetailsLabel:"మార్చండి",payButtonTemplate:"{amount} చెల్లించండి"}},zt=t=>$e[t]??$e.en;function Dt({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 Ft({isOpen:t,onClose:r,locale:s="en",ancestors:n,kartaNames:o,gotra:c,whatsappNumber:u,amount:x,onEditDetailsClick:f,onProceedPayment:g,className:b}){const d=zt(s),y=d.payButtonTemplate.replace("{amount}",x);return e.jsx(be,{isOpen:t,onClose:r,showDragHandle:!1,closeButtonOutside:!0,ariaLabel:d.heading,className:l.cn("rounded-t-[20px] bg-[#f7f8f9]",b),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:d.heading}),e.jsx("p",{className:"text-center text-[14px] leading-5 font-normal text-[#6b7280]",children:d.subtext})]}),footer:e.jsxs("div",{className:"flex w-full items-center gap-3 px-4 pb-4",children:[e.jsx(W,{variant:"outline",size:"lg",className:"h-12 shrink-0 rounded-xl border-[#141414] text-[#1d2125] hover:bg-gray-50",onClick:f,children:d.editDetailsLabel}),e.jsx(W,{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:g,children:y})]}),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:d.ancestorsLabel}),e.jsx("div",{className:"flex w-full flex-wrap items-center gap-2",children:n.map(j=>e.jsxs(Dt,{children:[e.jsx("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:j.value}),j.label&&e.jsxs("span",{className:"text-[10px] leading-3.5 font-medium text-[#6b7280]",children:["(",j.label,")"]})]},j.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:d.performerLabel}),e.jsx("div",{className:"flex w-full flex-wrap items-center gap-2",children:o.map((j,N)=>e.jsx(Dt,{children:e.jsxs("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:[N+1,". ",j]})},N))})]}),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:d.gotraLabel}),e.jsx("span",{className:"shrink-0 text-[12px] leading-4 font-semibold text-[#374151]",children:c})]}),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:d.whatsappLabel}),e.jsx("span",{className:"shrink-0 text-[12px] leading-4 font-semibold text-[#374151]",children:u})]})]})]})})})}const Ve={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:"बंद करें"},te:{heading:"నాకు నా గోత్రం తెలియదు, నేను ఏమి చేయాలి?",body:"మీకు మీ గోత్రం తెలియకపోతే, ఈ పరిస్థితిలో మీరు మీ గోత్రాన్ని కశ్యపగా భావించవచ్చు, ఎందుకంటే కశ్యప ఋషి వంశస్థులు ప్రతి కులంలో కనిపిస్తారు. అందువల్ల, ఆయనను ఒక పూజనీయ ఋషిగా భావిస్తారు. పూజ సమయంలో పండితుడు ఈ వివరాలను కశ్యప గోత్రంగానే ఉచ్చరిస్తారు.",okayLabel:"సరే",closeButtonAriaLabel:"మూసివేయండి"}},We=t=>Ve[t]??Ve.en;function Bt({isOpen:t,onClose:r,locale:s="en",className:n}){const o=We(s);return e.jsx(be,{isOpen:t,onClose:r,showCloseButton:!1,showDragHandle:!1,ariaLabel:o.heading,className:l.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:o.heading}),e.jsx("button",{type:"button",onClick:r,"aria-label":o.closeButtonAriaLabel,className:"flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#22272b]",children:e.jsx(_a,{size:24,"aria-hidden":!0})})]}),footer:e.jsx("div",{className:"w-full px-4 pb-5",children:e.jsx(W,{variant:"primary",size:"xl",className:"w-full rounded-xl border-0 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",onClick:r,children:o.okayLabel})}),children:e.jsx("p",{className:"w-full px-4 pb-3 text-[14px] leading-5.5 font-normal text-[#6b7280]",children:o.body})})}const Ue={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:"కశ్యప"}},Rt=t=>Ue[t]??Ue.en,It={en:["1st","2nd","3rd","4th","5th","6th","7th","8th","9th","10th"],hi:["पहले","दूसरे","तीसरे","चौथे","पांचवें","छठे","सातवें","आठवें","नौवें","दसवें"],te:["1వ","2వ","3వ","4వ","5వ","6వ","7వ","8వ","9వ","10వ"]},dr={en:"th",hi:"वें",te:"వ"},Mt=(t,r)=>{const s=r in It?r:"en";return It[s][t-1]??`${t}${dr[s]}`},He=40,Ge="+91",ur=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function fr({locale:t="en",values:r,onValuesChange:s,isGlobal:n=!1,gotraOptions:o=[],isSarvaPitru:c=!1,onBackClick:u,amount:x,ritualsCountLabel:f,onPriceInfoClick:g,showPriceInfoIcon:b=!0,canProceed:d,proceedCtaLabel:y,proceedButtonProps:j,onProceedPayment:N,className:S}){const[L,k]=v.useState(!1),[w,O]=v.useState(!1),p=Rt(t),z=We(t),U=_=>{const I=Mt(_+1,t);return _===0?`*${I} ${p.kartaNameLabel}`:`${I} ${p.kartaNameLabel} ${p.kartaNameOptionalSuffix}`},R=_=>s({...r,..._}),q=(_,I)=>{const ee=[...r.kartaNames];ee[_]=I,R({kartaNames:ee})},re=(_,I)=>{R({ancestors:r.ancestors.map(ee=>ee.id===_?{...ee,value:I}:ee)})},[M,H]=v.useState(!1),K=v.useRef(null);v.useEffect(()=>{if(!M)return;const _=I=>{K.current&&!K.current.contains(I.target)&&H(!1)};return document.addEventListener("mousedown",_),()=>document.removeEventListener("mousedown",_)},[M]);const $=o.filter(_=>_.toLowerCase().includes(r.gotra.trim().toLowerCase())),G=_=>{R({gotra:_}),H(!1)},ae=()=>{const _=!r.isGotraUnknown;R({isGotraUnknown:_,gotra:_?p.kashyapGotraLabel:r.gotra})},J=l.getMaxLengthForCountry(Ge),X=l.validatePhoneByCountryCode(r.whatsappNumber,Ge).isValid,Q=ur.test(r.email),se=r.whatsappNumber.length>0&&!X,Ne=r.email.length>0&&!Q,we=(n?Q:X)&&r.kartaNames[0].trim().length>0&&r.gotra.trim().length>0&&(c||r.ancestors.every(_=>_.value.trim().length>0)),ke=d??we,Ce=r.gotra.trim().length>0?r.gotra:p.kashyapGotraLabel,qe=n?r.email:r.whatsappNumber;return e.jsxs("div",{className:l.cn("flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]",S),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:u,"aria-label":p.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(Oe,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx("p",{className:"text-[18px] leading-5 font-bold text-[#1d2125]",children:p.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?p.emailLabel:p.whatsappNumberLabel}),n?e.jsx(ne,{type:"email",inputMode:"email",value:r.email,placeholder:p.emailPlaceholder,error:Ne,onChange:_=>R({email:_}),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:l.getFlagEmoji("IN")}),e.jsx("span",{className:"text-[18px] leading-6 font-medium text-[#1d2125]",children:Ge})]}),e.jsx(ne,{type:"tel",inputMode:"numeric",value:r.whatsappNumber,placeholder:p.whatsappNumberPlaceholder,maxLength:J,error:se,onChange:_=>R({whatsappNumber:_.replace(/\D/g,"").slice(0,J)}),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?p.emailHelperText:p.whatsappNumberHelperText})]}),e.jsxs("div",{className:"flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3",children:[e.jsx("p",{className:"text-[16px] leading-[22px] font-bold text-[#22272b]",children:p.kartaNameSectionTitle}),e.jsx("div",{className:"flex w-full flex-col gap-2.5",children:r.kartaNames.map((_,I)=>e.jsx(ne,{label:U(I),placeholder:p.kartaNamePlaceholder,value:_,maxLength:He,showCharCount:!0,wrapperClassName:l.cn("h-12 rounded-xl",I===0&&"bg-[#f3f4f6]"),onChange:ee=>q(I,ee)},I))})]}),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:p.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:r.gotra,placeholder:p.gotraFieldPlaceholder,maxLength:He,autoComplete:"off",onFocus:()=>H(!0),onChange:_=>{R({gotra:_.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:()=>O(!0),"aria-label":z.heading,className:"flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",children:e.jsx(ue,{size:24,"aria-hidden":!0})})]}),M&&$.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:$.map(_=>e.jsx("button",{type:"button",role:"option","aria-selected":_===r.gotra,onClick:()=>G(_),className:l.cn("flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",_===r.gotra&&"bg-[#fff9e9]"),children:_},_))})]}),e.jsxs("div",{className:"flex w-full flex-col gap-1",children:[e.jsxs("button",{type:"button",onClick:ae,"aria-pressed":r.isGotraUnknown,className:"flex items-center gap-1 border-0 bg-transparent p-0",children:[r.isGotraUnknown?e.jsx(Ea,{size:24,className:"shrink-0 text-[#f75e22]","aria-hidden":!0}):e.jsx(La,{size:24,className:"shrink-0 text-[#d1d5db]","aria-hidden":!0}),e.jsx("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:p.gotraUnknownCheckboxLabel})]}),e.jsx("p",{className:"text-[10px] leading-[14px] font-medium text-[#6b7280]",children:p.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(wa,{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:p.ancestorNameSectionTitle}),e.jsx("p",{className:"text-[14px] leading-5 font-normal text-[#6b7280]",children:c?p.sarvaPitruSectionSubtitle:p.ancestorNameSectionSubtitle})]})]}),c?e.jsxs("div",{className:"flex w-full flex-col items-start gap-1 p-3 pt-0",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:p.sarvaPitruFieldValue})}),e.jsx("p",{className:"px-3 text-[12px] leading-4 font-medium text-[#6b7280]",children:p.sarvaPitruHelperText})]}):e.jsx("div",{className:"flex w-full flex-col gap-2.5 p-3 pt-0",children:r.ancestors.map(_=>e.jsx(ne,{label:`*${_.label} ${p.ancestorNameFieldSuffix}`,value:_.value,prefix:p.latePrefixLabel,placeholder:p.kartaNamePlaceholder,maxLength:He,showCharCount:!0,wrapperClassName:"h-12 rounded-xl",onChange:I=>re(_.id,I)},_.id))})]})]})}),e.jsx("div",{className:"sticky bottom-0 w-full",children:e.jsx(je,{amount:x,subtitle:f,onInfoClick:g,showInfoIcon:b,proceedLabel:y??p.proceedCtaLabel,onProceed:()=>k(!0),proceedButtonProps:{disabled:!ke,...j}})}),e.jsx(Ft,{isOpen:L,onClose:()=>k(!1),onEditDetailsClick:()=>k(!1),locale:t,ancestors:c?[{id:"sarva-pitru",label:"",value:p.sarvaPitruFieldValue}]:r.ancestors,kartaNames:r.kartaNames,gotra:Ce,whatsappNumber:qe,amount:x,onProceedPayment:()=>{k(!1),N()}}),e.jsx(Bt,{isOpen:w,onClose:()=>O(!1),locale:t})]})}function xr(t=3,r=[]){return{whatsappNumber:"",email:"",kartaNames:Array.from({length:Math.max(1,t)},()=>""),gotra:"",isGotraUnknown:!1,ancestors:r}}const $t="https://srm-cdn.a4b.io/yoda/1788256892735.svg",hr="https://srm-cdn.a4b.io/yoda/1788256910547.svg",pr="https://srm-cdn.a4b.io/yoda/1788256867970.svg",mr="https://srm-cdn.a4b.io/yoda/1788256921651.svg",br="https://srm-cdn.a4b.io/yoda/1788256935709.svg",gr="https://srm-cdn.a4b.io/yoda/1788256949665.svg";function vr({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:$t,alt:"","aria-hidden":!0,className:"absolute left-[-6px] top-[12.2px] size-[25.6px]"}),e.jsx("img",{src:$t,alt:"","aria-hidden":!0,className:"absolute left-[21px] top-[12.2px] size-[25.6px]"}),e.jsx("img",{src:hr,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:pr,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:mr,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:br,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:gr,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})})]})]})}const jr="https://srm-cdn.a4b.io/yoda/1788256961374.svg",Vt="https://srm-cdn.a4b.io/yoda/1788256971870.svg";function yr({badgeLabel:t,headingPrefix:r,ritualCount:s,ritualCountLabel:n,headingSuffix:o,trustItems:c}){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:Vt,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:Vt,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:jr,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:[r,s," ",n," ",o]}),e.jsx("div",{className:"flex w-full items-start justify-center gap-3",children:c.map(u=>e.jsxs("div",{className:"flex w-25 flex-col items-center gap-1 py-2",children:[e.jsx(vr,{variant:u.variant}),e.jsx("p",{className:"w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]",children:u.text})]},u.variant))})]})}function Nr(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 Ye={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:"यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"}},Wt=t=>Ye[t]??Ye.en,Ut=v.forwardRef(({locale:t="en",title:r,subtitle:s,value:n,helperText:o,icon:c,className:u,headerClassName:x,valueBoxClassName:f,helperTextClassName:g,...b},d)=>{const y=Wt(t);return e.jsxs("div",{ref:d,className:l.cn("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm",u),...b,children:[e.jsxs("div",{className:l.cn("flex items-center gap-3",x),children:[e.jsx(fe,{icon:c??e.jsx(Nr,{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:r??y.title}),e.jsx("p",{className:"mt-0.5 text-base leading-5 text-gray-500",children:s??y.subtitle})]})]}),e.jsx("div",{className:l.cn("mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",f),children:e.jsx("span",{className:"text-lg leading-6 font-medium text-gray-700",children:n??y.value})}),e.jsx("p",{className:l.cn("mt-3 text-sm leading-4.5 text-gray-500",g),children:o??y.helperText})]})});Ut.displayName="SarvaPitruCard",Object.defineProperty(h,"cn",{enumerable:!0,get:()=>l.cn}),h.AudioQuestionCard=Ra,h.BOOKING_SUMMARY_BANNER_DEFAULT_COPY=Re,h.BillDetails=At,h.BookingSummaryBanner=Tt,h.Button=W,h.CHECKOUT_BAR_DEFAULT_COPY=Fe,h.CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY=$e,h.CartReviewAddedBadge=Ua,h.CartReviewChangeButton=Wa,h.CartReviewItem=De,h.CartReviewMandapItem=yt,h.CartView=qa,h.CheckIcon=cr,h.CheckoutBar=je,h.Chip=pt,h.ConfinedBottomSheet=be,h.ConfirmPujaDetailsModal=Ft,h.DatePickerSheet=Za,h.EmailSheet=Qa,h.FAQSection=xt,h.GOTRA_INFO_MODAL_DEFAULT_COPY=Ve,h.GotraInfoModal=Bt,h.IconBadge=fe,h.L2Card=rr,h.LanguageSwitcher=Ae,h.OutcomeButton=ir,h.OutcomeSummary=yr,h.PACKAGE_SELECT_DEFAULT_COPY=Be,h.PUJA_DETAILS_FORM_DEFAULT_COPY=Ue,h.PackageSelect=Ga,h.PhoneNumberSheet=Ja,h.PlusIcon=or,h.PujaDetailsForm=fr,h.QuantityStepper=Va,h.SARVA_PITRU_CARD_DEFAULT_COPY=Ye,h.SarvaPitruCard=Ut,h.SelectorCard=ze,h.SelectorCardEditableField=Ma,h.SelectorCardInfoRow=$a,h.SelectorCardNote=vt,h.SelectorCardPriceBadge=gt,h.ServiceOfferCard=Nt,h.StepProgressHeader=za,h.TestimonialCard=Ca,h.TextField=ne,h.TithiPickerSheet=Ka,h.TopBar=Aa,h.TrustBadgesBar=Lt,h.VideoPlayer=ht,h.buttonVariants=ot,h.createEmptyPujaDetailsFormValues=xr,h.getBookingSummaryBannerDefaultCopy=Et,h.getCheckoutBarDefaultCopy=St,h.getConfirmPujaDetailsModalDefaultCopy=zt,h.getGotraInfoModalDefaultCopy=We,h.getKartaOrdinalLabel=Mt,h.getPackageSelectDefaultCopy=Pt,h.getPujaDetailsFormDefaultCopy=Rt,h.getSarvaPitruCardDefaultCopy=Wt,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})}));
14
+ <%s key={someKey} {...props} />`,et,se,y0,se),p2[se+et]=!0}}return a===s?x0(D):p0(D),D}}function h0(a,u,b){return x2(a,u,b,!0)}function m0(a,u,b){return x2(a,u,b,!1)}var g0=m0,b0=h0;de.Fragment=s,de.jsx=g0,de.jsxs=b0})()),de}var rt;function v2(){return rt||(rt=1,process.env.NODE_ENV==="production"?xe.exports=y2():xe.exports=C2()),xe.exports}var e=v2(),nt={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},st=C.createContext&&C.createContext(nt),j2=["attr","size","title"];function N2(t,r){if(t==null)return{};var n,s,i=w2(t,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(s=0;s<o.length;s++)n=o[s],r.indexOf(n)===-1&&{}.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function w2(t,r){if(t==null)return{};var n={};for(var s in t)if({}.hasOwnProperty.call(t,s)){if(r.indexOf(s)!==-1)continue;n[s]=t[s]}return n}function he(){return he=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var s in n)({}).hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},he.apply(null,arguments)}function lt(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);r&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,s)}return n}function me(t){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?lt(Object(n),!0).forEach(function(s){_2(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lt(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}function _2(t,r,n){return(r=k2(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function k2(t){var r=A2(t,"string");return typeof r=="symbol"?r:r+""}function A2(t,r){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var s=n.call(t,r);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function it(t){return t&&t.map((r,n)=>C.createElement(r.tag,me({key:n},r.attr),it(r.child)))}function T(t){return r=>C.createElement(S2,he({attr:me({},t.attr)},r),it(t.child))}function S2(t){var r=n=>{var s=t.attr,i=t.size,o=t.title,c=N2(t,j2),f=i||n.size||"1em",p;return n.className&&(p=n.className),t.className&&(p=(p?p+" ":"")+t.className),C.createElement("svg",he({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,s,c,{className:p,style:me(me({color:t.color||n.color},n.style),t.style),height:f,width:f,xmlns:"http://www.w3.org/2000/svg"}),o&&C.createElement("title",null,o),t.children)};return st!==void 0?C.createElement(st.Consumer,null,n=>r(n)):r(nt)}function L2(t){return T({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=h2.cva("appearance-none inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg font-semibold transition-colors disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2",{variants:{variant:{primary:"border-0 bg-gradient-to-b from-[#f97e4e] to-[#f75e22] text-white hover:opacity-90",secondary:"border border-[#f75e22] bg-white text-[#f75e22] hover:bg-orange-50",outline:"border border-gray-300 bg-transparent text-gray-900 hover:bg-gray-50",ghost:"border-0 bg-transparent text-gray-900 hover:bg-gray-100"},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=b2.forwardRef(({className:t,variant:r,size:n,iconOnly:s,loading:i=!1,disabled:o,leftIcon:c,rightIcon:f,children:p,type:m="button",...h},d)=>e.jsx("button",{ref:d,type:m,disabled:o||i,className:l.cn(ot({variant:r,size:n,iconOnly:s}),t),...h,children:i?e.jsx(L2,{className:"animate-spin","aria-hidden":!0}):e.jsxs(e.Fragment,{children:[c,p,f]})}));I.displayName="Button";const O2="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",T2="https://srm-cdn.a4b.io/yoda/1788256961374.svg",P2=O2,ge=t=>typeof t=="number"?`${t}px`:t;function ct({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 E2({badgeLabel:t,dateRangeLabel:r,headline:n,mandalaWidth:s=225,mandalaTop:i=-149,showMandala:o=!0,mandalaLeft:c,mandalaRight:f,className:p}){const m=c!==void 0?{left:ge(c)}:f!==void 0?{right:ge(f)}:{left:"50%",transform:"translateX(-50%)"};return e.jsxs("div",{className:l.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",p),children:[o&&e.jsx("img",{src:P2,alt:"","aria-hidden":!0,className:"pointer-events-none absolute z-0 h-auto",style:{width:ge(s),top:ge(i),...m}}),e.jsxs("div",{className:"relative z-10 flex flex-col items-center gap-1",children:[e.jsx("img",{src:T2,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(ct,{}),t,e.jsx(ct,{})]})]}),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:r})}),e.jsx("p",{className:"relative z-10 w-full px-4 text-center text-xl leading-7 font-bold text-[#492912]",children:n})]})}function F2(t){return T({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 M2(t){return T({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 dt(t){return T({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 z2(t){return T({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 D2(t){return T({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"},child:[]}]})(t)}function R2(t){return T({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 le(t){return T({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 ut(t){return T({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 B2(t){return T({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 be(t){return T({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 Pe(t){return T({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 I2(t){return T({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 ft(t){return T({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 ue(t){return T({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 Ee(t){return T({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 U2({amount:t,amountClassName:r,subtitle:n,subtitleClassName:s,showInfoIcon:i=!0,onInfoClick:o,proceedLabel:c="Continue",proceedIcon:f=e.jsx(ue,{"aria-hidden":!0}),onProceed:p,disabled:m,proceedButtonProps:h,className:d}){const y=m??t==null;return e.jsxs("div",{className:l.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)]",d),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:l.cn("text-lg leading-6 font-bold text-[#141414]",r),children:t}),i&&e.jsx("button",{type:"button",onClick:o,"aria-label":"View bill details",className:l.cn("inline-flex shrink-0 items-center justify-center text-[#f75e22]",!o&&"pointer-events-none"),children:e.jsx(le,{size:18,"aria-hidden":!0})})]}),n&&e.jsx("p",{className:l.cn("text-xs leading-4 text-gray-500",s),children:n})]}),e.jsxs(I,{variant:"primary",size:"xl",disabled:y,onClick:p,...h,className:l.cn("flex-1 justify-center gap-1 rounded-xl",y?"bg-none bg-gray-400":"bg-gradient-to-b from-[#5eb98e] to-[#087955]",h?.className),children:[c,f]})]})}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(l.BottomSheet,{...t})}):null}function G2(t){return T({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 $2(t){return T({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 V2(t){return T({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 pt(t){return T({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 xt(t){return T({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 H2(t){return T({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)}const Z2=({quote:t,authorName:r,authorAvatarUrl:n,meta:s,rating:i=5,className:o="",...c})=>e.jsxs("div",{className:l.cn("flex flex-col gap-3 rounded-lg bg-[#fef5e9] px-4 py-3.75",o),...c,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:[n?e.jsx("img",{src:n,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:r}),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))},(f,p)=>e.jsx(pt,{size:14},p))})]}),e.jsx("p",{className:"text-xs font-medium text-gray-500",children:s})]})]})]}),ht=({title:t="अक्सर पूछे जाने वाले प्रश्न",items:r,initialVisibleCount:n=6,showCta:s=!0,defaultExpanded:i=!1,ctaExpandLabel:o="और देखें",ctaCollapseLabel:c="कम देखें",defaultOpenIndex:f=-1,className:p=""})=>{const[m,h]=C.useState(i),[d,y]=C.useState(f),v=s&&r.length>n,j=v&&!m?r.slice(0,n):r;return e.jsxs("div",{className:l.cn("flex flex-col items-center gap-5 bg-white px-4 py-6",p),children:[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:j.map((_,A)=>{const w=d===A;return e.jsxs("div",{className:"w-full overflow-hidden rounded-lg border border-[#f3f4f6]",children:[e.jsxs("button",{type:"button",className:l.cn("flex w-full items-center justify-between gap-2 p-3 text-left",w?"bg-[#f7f8f9]":"bg-white"),onClick:()=>y(w?-1:A),"aria-expanded":w,"aria-controls":`faq-answer-${A}`,id:`faq-question-${A}`,children:[e.jsx("span",{className:"flex-1 text-sm font-medium text-[#22272b]",children:_.question}),e.jsx(be,{size:24,className:l.cn("shrink-0 transition-transform duration-200",w?"rotate-180":""),"aria-hidden":!0})]}),e.jsx("div",{id:`faq-answer-${A}`,role:"region","aria-labelledby":`faq-question-${A}`,hidden:!w,className:"bg-white p-3",children:e.jsx("p",{className:"text-sm text-[#374151]",children:_.answer})})]},A)})}),v&&e.jsx(I,{variant:"secondary",size:"lg",className:"w-full",onClick:()=>h(_=>!_),"aria-expanded":m,rightIcon:e.jsx(be,{size:24,className:l.cn("shrink-0 transition-transform duration-200",m?"rotate-180":""),"aria-hidden":!0}),children:m?c:o})]})},mt=C.forwardRef(({src:t,poster:r,className:n="",rounded:s=!0,width:i,height:o},c)=>{const[f,p]=C.useState(!1),[m,h]=C.useState(!0),[d,y]=C.useState(!1),[v,j]=C.useState(0),[_,A]=C.useState(0),w=C.useRef(null),N=i!==void 0||o!==void 0,P=l.cn("block w-full",N&&"h-full object-cover"),g=F=>{const V=Number(F.target.value);j(V),w.current&&(w.current.currentTime=V)};return e.jsx("div",{ref:c,style:{width:i,height:o},className:l.cn("relative w-full overflow-hidden",s&&"rounded-2xl",n),children:f?e.jsxs(e.Fragment,{children:[e.jsx(m2,{ref:w,src:t,poster:r,playing:m,muted:d,width:i,height:o,className:P,onTimeUpdate:F=>j(F.currentTarget.currentTime),onDurationChange:F=>A(F.currentTarget.duration),onEnded:()=>h(!1)}),e.jsx(I,{variant:"ghost",iconOnly:!0,size:"lg","aria-label":m?"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:()=>h(F=>!F),children:m?e.jsx(H2,{size:16}):e.jsx(xt,{size:16,className:"translate-x-0.5"})}),e.jsx(I,{variant:"ghost",iconOnly:!0,size:"sm","aria-label":d?"Unmute":"Mute",className:"absolute left-2 top-2 text-white hover:bg-white/10",onClick:()=>y(F=>!F),children:d?e.jsx($2,{size:14}):e.jsx(G2,{size:14})}),e.jsx("input",{type:"range",min:0,max:_||0,step:.1,value:v,onChange:g,"aria-label":"Seek",className:"absolute bottom-4 left-5 right-5 h-1 accent-white"})]}):e.jsxs(e.Fragment,{children:[e.jsx("img",{src:r,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:()=>p(!0),children:e.jsx(xt,{size:16,className:"translate-x-0.5"})})]})})});mt.displayName="VideoPlayer";const W2=()=>e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163707447.svg",alt:"",width:24,height:24}),Fe=C.forwardRef(({options:t,value:r,onChange:n,defaultOpen:s=!1,open:i,onOpenChange:o,className:c="",triggerClassName:f="",menuClassName:p="",...m},h)=>{const[d,y]=C.useState(s),v=i!==void 0,j=v?i:d,_=C.useCallback(N=>{v||y(N),o?.(N)},[v,o]),A=C.useRef(null);C.useImperativeHandle(h,()=>A.current),C.useEffect(()=>{if(!j)return;const N=g=>{A.current?.contains(g.target)||_(!1)},P=g=>{g.key==="Escape"&&_(!1)};return document.addEventListener("mousedown",N),document.addEventListener("keydown",P),()=>{document.removeEventListener("mousedown",N),document.removeEventListener("keydown",P)}},[j,_]);const w=N=>{n?.(N.value),_(!1)};return e.jsxs("div",{ref:A,className:l.cn("relative inline-block",c),...m,children:[e.jsxs("button",{type:"button",onClick:()=>_(!j),"aria-label":"Switch language","aria-haspopup":"listbox","aria-expanded":j,className:l.cn("inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",f),children:[e.jsx(W2,{}),e.jsx(be,{size:24,className:l.cn("transition-transform duration-200",j?"rotate-180":""),"aria-hidden":!0})]}),j&&e.jsx("ul",{role:"listbox",className:l.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",p),children:t.map(N=>{const P=N.value===r;return e.jsx("li",{role:"option","aria-selected":P,children:e.jsx("button",{type:"button",onClick:()=>w(N),className:l.cn("block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",P?"font-medium text-[#f75e22]":"text-[#1d2125]"),children:N.label})},N.value)})})]})});Fe.displayName="LanguageSwitcher";function K2({onBackClick:t,backButtonAriaLabel:r="Go back",locale:n,localeOptions:s,onLocaleChange:i,className:o}){return e.jsxs("div",{className:l.cn("mx-auto flex w-full max-w-md items-center justify-between px-4 py-3",o),children:[e.jsx("button",{type:"button",onClick:t,"aria-label":r,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(Ee,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx(Fe,{options:s,value:n,onChange:i,menuClassName:"left-auto right-0"})]})}const gt=C.forwardRef(({label:t,selected:r=!1,onClick:n,icon:s,className:i,type:o="button",...c},f)=>e.jsxs("button",{ref:f,type:o,onClick:n,"aria-pressed":r,className:l.cn("inline-flex shrink-0 items-center justify-center gap-1 rounded-full border text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",r?"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),...c,children:[s,t]}));gt.displayName="Chip";const Y2=({quote:t,currentStep:r,totalSteps:n,className:s,...i})=>{const o=n>0?Math.min(100,Math.max(0,r/n*100)):0;return e.jsxs("div",{className:l.cn("step-progress-header",s),...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:`${o}%`}}),e.jsx("div",{className:"step-progress-header__track-marker",style:{left:`${o}%`},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:[r,"/",n]})]})};function q2(t){return T({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 J2(t){return T({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,yt=[{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}],X2=({animate:t,iconIndex:r})=>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:yt.map((n,s)=>e.jsx("rect",{x:n.x,y:n.y,width:bt,height:n.height,rx:bt/2,fill:"#6B7280",className:t?"wave-bar-anim":"",style:{animationDelay:`${(r*yt.length+s)*60}ms`}},s))}),Q2=({avatarUrl:t,question:r,description:n,audioSrc:s,className:i,...o})=>{const c=C.useRef(null),f=C.useRef(!1),[p,m]=C.useState(!1),[h,d]=C.useState(!1);C.useEffect(()=>{!s||f.current||(f.current=!0,c.current?.play().catch(()=>{}))},[s]);const y=()=>{const v=c.current;v&&(v.muted=!v.muted,m(v.muted))};return e.jsxs("div",{className:l.cn("flex w-full items-start gap-3 px-4 pb-6",i),...o,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:[r,n,s&&e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("audio",{ref:c,src:s,onPlay:()=>d(!0),onPause:()=>d(!1),onEnded:()=>d(!1)}),e.jsx("button",{type:"button",onClick:y,"aria-label":p?"Unmute":"Mute","aria-pressed":p,className:"flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",children:p?e.jsx(J2,{size:18,className:"text-[#f75e22]"}):e.jsx(q2,{size:18,className:"text-[#f75e22]"})}),e.jsx("div",{className:"flex items-center gap-[1.5px]",children:[0,1,2].map(v=>e.jsx(X2,{animate:h&&!p,iconIndex:v},v))})]})]})]})]})},ea={sm:"size-9",md:"size-11",lg:"size-16"},fe=C.forwardRef(({icon:t,avatarUrl:r,alt:n="",size:s="md",className:i,...o},c)=>e.jsx("div",{ref:c,className:l.cn("flex shrink-0 items-center justify-center overflow-hidden rounded-full",ea[s],!r&&"bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",i),"aria-hidden":r?void 0:!0,...o,children:r?e.jsx("img",{src:r,alt:n,className:"size-full object-cover"}):t}));fe.displayName="IconBadge";const Ce=C.forwardRef(({selected:t=!1,onSelect:r,icon:n,avatarUrl:s,iconSize:i="md",iconClassName:o,title:c,description:f,badge:p,showRadio:m=!0,radioVariant:h="dot",radioClassName:d,tag:y,tagClassName:v,children:j,className:_,disabled:A,type:w="button",...N},P)=>e.jsxs("div",{className:l.cn("relative overflow-visible rounded-2xl border transition-colors",t?"border-[#f38415] bg-[#FEF5E9]":"border-gray-200 bg-white",A&&"opacity-50",_),children:[y&&e.jsx("span",{className:l.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",v),children:y}),e.jsxs("button",{ref:P,type:w,role:"radio","aria-checked":t,disabled:A,onClick:r,className:l.cn("flex w-full items-center gap-3 overflow-hidden rounded-2xl px-3 pt-3 pb-3 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#f75e22] focus-visible:ring-offset-2 disabled:cursor-not-allowed",y&&"pt-7"),...N,children:[(n||s)&&e.jsx(fe,{icon:n,avatarUrl:s,size:i,className:o}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-[14px] leading-5 font-bold text-[#1d2125]",children:c}),f&&!j&&e.jsx("p",{className:"mt-0.5 text-[13px] leading-4.5 text-gray-500",children:f})]}),p&&e.jsx("span",{className:"shrink-0",children:p}),m&&e.jsxs("span",{"aria-hidden":!0,className:l.cn("inline-flex size-6 shrink-0 items-center justify-center rounded-full border-2 transition-colors",t?h==="check"?l.cn("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white",d):"border-[#f75e22]":"border-gray-300"),children:[t&&h==="dot"&&e.jsx("span",{className:l.cn("size-3.5 rounded-full bg-linear-to-b from-[#f97e4e] to-[#f75e22]",d)}),t&&h==="check"&&e.jsx(Pe,{size:14,"aria-hidden":!0})]})]}),j]}));Ce.displayName="SelectorCard";const ta=({value:t,onClick:r,className:n,...s})=>e.jsxs("div",{role:r?"button":void 0,tabIndex:r?0:void 0,onClick:r,className:l.cn("mx-3 mb-3 flex items-center gap-2.5 rounded-xl border border-gray-200 bg-white px-3.5 py-3",r&&"cursor-pointer",n),...s,children:[e.jsx(ut,{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})]}),aa=({value:t,onInfoClick:r,infoLabel:n="More info",className:s,...i})=>e.jsxs("div",{className:l.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",s),...i,children:[e.jsx("span",{className:"truncate text-[15px] font-medium text-gray-900",children:t}),r?e.jsx("button",{type:"button",onClick:r,"aria-label":n,className:"shrink-0 border-0 bg-transparent p-0 text-gray-700",children:e.jsx(le,{size:18,"aria-hidden":!0})}):e.jsx(le,{size:18,className:"shrink-0 text-gray-700","aria-hidden":!0})]}),Ct=({value:t,className:r,...n})=>e.jsx("span",{className:l.cn("inline-flex items-center rounded-full bg-white px-3 py-1 text-sm font-semibold text-emerald-600",r),...n,children:t}),vt=({className:t,children:r,...n})=>e.jsx("div",{className:l.cn("rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#b45309]",t),...n,children:r}),ra=({value:t,onIncrement:r,onDecrement:n,min:s=0,max:i,addLabel:o="Add",className:c})=>t<=s?e.jsxs("button",{type:"button",onClick:r,className:l.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",c),children:[e.jsx(dt,{size:20,"aria-hidden":!0}),o]}):e.jsxs("div",{className:l.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",c),children:[e.jsx("button",{type:"button",onClick:n,"aria-label":"Decrease quantity",className:"inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",children:e.jsx(R2,{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:r,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(dt,{size:18,"aria-hidden":!0})})]}),jt={en:{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:{headerTitle:"अपनी बुकिंग की समीक्षा करें",addonsTitle:"सभी पितरों के लिए सेवाएं जोड़ें",addonsDescription:"ये पूजाएं सर्वोपित्र अमावस्या के दिन सम्पन्न की जाएंगी",addedLabel:"जोड़ा गया",addLabel:"जोड़ें",mandapTitle:"मंदिर और मंडप शुल्क",mandapDescription:"पूजा के लिए मंदिर में स्थान, मंडप और आवश्यक पूजा व्यवस्था सुनिश्चित करने के लिए यह शुल्क लिया जाता है",checkoutProceedLabel:"आगे बढ़ें, और डिटेल्स भरें",checkoutRitualSingular:"पूजा-विधि",checkoutRitualPlural:"पूजा-विधि"}},ve=t=>jt[t]??jt.en,Me=({title:t,description:r,price:n,originalPrice:s,action:i,className:o,...c})=>e.jsx("div",{className:l.cn("rounded-2xl border border-gray-200 bg-white p-4",o),...c,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}),r&&e.jsx("p",{className:"mt-1 text-sm leading-5 text-gray-500",children:r})]}),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:[s&&e.jsx("span",{className:"text-sm text-gray-400 line-through",children:s}),e.jsx("span",{className:"text-[15px] font-bold text-[#1d2125]",children:n})]}),i]})]})}),Nt=({locale:t="en",...r})=>{const{mandapTitle:n,mandapDescription:s}=ve(t);return e.jsx(Me,{title:n,description:s,...r})},na=({children:t="Change",className:r,type:n="button",...s})=>e.jsxs("button",{type:n,className:l.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",r),...s,children:[e.jsx(ut,{size:14,"aria-hidden":!0}),t]}),sa=({locale:t="en",isAdded:r=!0,children:n,className:s,type:i="button",...o})=>e.jsxs("button",{type:i,className:l.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",s),...o,children:[r&&e.jsx(Pe,{size:14,"aria-hidden":!0}),n??(r?ve(t).addedLabel:ve(t).addLabel)]}),wt=({image:t,imageAlt:r="",title:n,description:s,price:i,originalPrice:o,tag:c,tagClassName:f,action:p,className:m,...h})=>e.jsxs("div",{className:l.cn("overflow-hidden rounded-2xl border border-gray-100 bg-white shadow-sm",m),...h,children:[c&&e.jsx("div",{className:l.cn("inline-flex items-center gap-1.5 rounded-tl-2xl rounded-br-2xl bg-emerald-800 px-3 py-1.5 text-xs font-semibold text-white",f),children:c}),e.jsxs("div",{className:"flex gap-3 p-3",children:[e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[e.jsx("p",{className:"text-sm leading-5 font-bold text-[#232323]",children:n}),s&&e.jsx("p",{className:"mt-1 text-xs leading-4 text-[#6B7280]",children:s}),e.jsxs("div",{className:"mt-auto flex items-baseline gap-1.5 whitespace-nowrap pt-3",children:[e.jsx("span",{className:"text-[18px] font-semibold text-emerald-600",children:i}),o&&e.jsx("span",{className:"text-sm text-gray-400 line-through",children:o})]})]}),e.jsxs("div",{className:"relative w-30 h-34.25 shrink-0",children:[e.jsx("img",{src:t,alt:r,className:"size-30 rounded-2xl object-cover"}),p&&e.jsx("div",{className:"absolute bottom-0 left-1/2 -translate-x-1/2",children:p})]})]})]});function _t(t){return T({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 kt(t){return T({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 la(t){return T({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M4.475 5.458c-.284 0-.514-.237-.47-.517C4.28 3.24 5.576 2 7.825 2c2.25 0 3.767 1.36 3.767 3.215 0 1.344-.665 2.288-1.79 2.973-1.1.659-1.414 1.118-1.414 2.01v.03a.5.5 0 0 1-.5.5h-.77a.5.5 0 0 1-.5-.495l-.003-.2c-.043-1.221.477-2.001 1.645-2.712 1.03-.632 1.397-1.135 1.397-2.028 0-.979-.758-1.698-1.926-1.698-1.009 0-1.71.529-1.938 1.402-.066.254-.278.461-.54.461h-.777ZM7.496 14c.622 0 1.095-.474 1.095-1.09 0-.618-.473-1.092-1.095-1.092-.606 0-1.087.474-1.087 1.091S6.89 14 7.496 14"},child:[]}]})(t)}function At(t){return T({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 ia=[{id:"money-back",icon:e.jsx(kt,{"aria-hidden":!0}),label:"100% Money Back Guarantee"},{id:"no-hidden-cost",icon:e.jsx(_t,{"aria-hidden":!0}),label:"No Hidden Cost"},{id:"24x7-support",icon:e.jsx(At,{"aria-hidden":!0}),label:"24x7 Support"}],St=(t,r,n)=>e.jsxs("span",{className:l.cn("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700",n,t.className),children:[e.jsx("span",{className:"shrink-0 text-base text-gray-700","aria-hidden":!0,children:t.icon}),t.label]},r),Lt=({badges:t=ia,badgeClassName:r,marquee:n=!0,marqueeDurationSeconds:s=14,className:i,...o})=>n?e.jsx("div",{className:l.cn("overflow-hidden bg-[#f3f5f7] px-4 py-3",i),...o,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 ${s}s linear infinite`},children:[...t,...t].map((c,f)=>St(c,`${c.id}-${f}`,r))})}):e.jsx("div",{className:l.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),...o,children:t.map(c=>St(c,c.id,r))}),ze={en:{proceedLabel:"Proceed"},hi:{proceedLabel:"आगे बढ़ें"},te:{proceedLabel:"ముందుకు సాగండి"}},Ot=t=>ze[t]??ze.en,je=({locale:t="en",amount:r,amountClassName:n,subtitle:s,subtitleClassName:i,showInfoIcon:o=!0,onInfoClick:c,infoIconClassName:f,proceedLabel:p,proceedIcon:m=e.jsx(ue,{"aria-hidden":!0}),onProceed:h,proceedButtonProps:d,buttonWrapperClassName:y,className:v,...j})=>e.jsxs("div",{className:l.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)]",v),...j,children:[e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:l.cn("text-xl font-extrabold text-[#1d2125]",n),children:r}),o&&e.jsx("button",{type:"button",onClick:c,"aria-label":"View bill details",className:l.cn("inline-flex shrink-0 items-center justify-center text-[#f75e22]",!c&&"pointer-events-none",f),children:e.jsx(le,{size:18,"aria-hidden":!0})})]}),s&&e.jsx("p",{className:l.cn("mt-1 text-sm text-gray-500",i),children:s})]}),e.jsx("div",{className:l.cn("shrink-0",y),children:e.jsxs(I,{variant:"primary",size:"xl",onClick:h,...d,className:l.cn("min-w-40 justify-center gap-2 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",d?.className),children:[p??Ot(t).proceedLabel,m]})})]}),De={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 सहायता"}},te:{title:"పూజ చేసే వ్యక్తుల సంఖ్యను ఎంచుకోండి (కర్త)",description:"కుటుంబమంతా కలిసి పూజ చేస్తే పితృదేవతల ఆశీర్వాదం, కుటుంబ సుఖసమృద్ధి లభిస్తాయి",benefits:["పండితుడు పితృదేవతల మరియు కర్తల పేర్లు, గోత్రాలు చెప్తారు","మా అనుభవం గల పండితులు సరైన వేద విధులతో పూజ చేస్తారు","పూర్తి పూజా వీడియో వాట్సాప్ మరియు శ్రీమందిర్ యాప్ లో పంపబడుతుంది"],trustBadgeLabels:{moneyBack:"100% డబ్బు తిరిగి హామీ",noHiddenCost:"దాచిన ఖర్చులు లేవు",support:"కస్టమర్ సపోర్ట్"}}},Tt=t=>De[t]??De.en,oa=({locale:t="en",title:r,description:n,benefits:s,options:i,value:o,onChange:c,radioVariant:f="dot",radiogroupLabel:p,className:m,headerClassName:h,benefitsClassName:d,optionsClassName:y,trustBadges:v,checkout:j,stickyFooter:_=!0,footerClassName:A})=>{const w=Tt(t),N=r??w.title,P=n??w.description,g=s??w.benefits,F=v??{badges:[{id:"money-back",icon:e.jsx(kt,{"aria-hidden":!0}),label:w.trustBadgeLabels.moneyBack},{id:"no-hidden-cost",icon:e.jsx(_t,{"aria-hidden":!0}),label:w.trustBadgeLabels.noHiddenCost},{id:"24x7-support",icon:e.jsx(At,{"aria-hidden":!0}),label:w.trustBadgeLabels.support}]};return e.jsxs("div",{className:l.cn("w-full",m),children:[e.jsxs("div",{className:l.cn("px-4 pt-5 pb-4",h),children:[e.jsx("p",{className:"text-[20px] leading-6.5 font-extrabold text-[#1d2125]",children:N}),P&&e.jsx("p",{className:"mt-2 text-[14px] leading-5.5 text-gray-500",children:P})]}),g&&g.length>0&&e.jsx("div",{className:l.cn("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5",d),children:g.map((V,R)=>e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(Pe,{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:V})]},R))}),e.jsx("div",{role:"radiogroup","aria-label":p??(typeof N=="string"?N:void 0),className:l.cn("flex flex-col gap-3 p-4",y),children:i.map(V=>{const{id:R,price:K,free:ae,badge:U,priceBadgeProps:H,note:Y,noteProps:G,children:Z,iconClassName:te,radioVariant:q,...J}=V,X=o===R,ne=U??(K==null?void 0:ae?e.jsx("span",{className:l.cn("text-sm font-medium text-gray-400",H?.className),...H,children:K}):e.jsx(Ct,{value:K,...H}));return e.jsx(Ce,{...J,iconClassName:l.cn("size-10",te),radioVariant:q??f,badge:ne,selected:X,onSelect:()=>c(R),children:Z??(X&&Y&&e.jsx(vt,{...G,children:Y}))},R)})}),(F||j)&&e.jsxs("div",{className:l.cn(_&&"sticky bottom-0 z-10",A),children:[F&&e.jsx(Lt,{...F}),j&&e.jsx(je,{...j})]})]})},Re={en:{title:"Pitru Paksha Special Rituals",ancestorsLabel:"Ancestors",ritualsLabel:"Rituals",performersLabel:"Performers"},hi:{title:"पितृ पक्ष विशेष अनुष्ठान",ancestorsLabel:"पितृजन",ritualsLabel:"पूजा विधि",performersLabel:"कर्ता"}},Pt=t=>Re[t]??Re.en,Et=({locale:t="en",icon:r=e.jsx(pt,{"aria-hidden":!0}),iconClassName:n,title:s,titleClassName:i,subtitle:o,subtitleItems:c,stats:f,subtitleClassName:p,cardClassName:m,className:h,...d})=>{const y=Pt(t),v=s??y.title,j=c??(f&&[`${f.ancestors} ${y.ancestorsLabel}`,`${f.rituals} ${y.ritualsLabel}`,`${f.performers} ${y.performersLabel}`]);return e.jsx("div",{className:l.cn("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6",h),...d,children:e.jsxs("div",{className:l.cn("rounded-2xl bg-white p-4 shadow-sm",m),children:[e.jsxs("p",{className:l.cn("flex items-center gap-2 text-sm font-bold text-[#db2777]",i),children:[r&&e.jsx("span",{className:l.cn("shrink-0 text-sm",n),children:r}),v]}),(o||j&&j.length>0)&&e.jsx("p",{className:l.cn("mt-2 text-[15px] font-semibold text-[#1d2125]",p),children:j&&j.length>0?j.map((_,A)=>e.jsxs(C.Fragment,{children:[A>0&&e.jsx("span",{className:"mx-1.5 text-gray-400",children:"•"}),_]},A)):o})]})})},Ft={en:{title:"Bill Details",totalLabel:"Total Amount"},hi:{title:"बिल विवरण",totalLabel:"कुल राशि"}},ca=t=>Ft[t]??Ft.en,Mt=({locale:t="en",titleClassName:r,rows:n,rowClassName:s,showTitleAccent:i=!0,totalValue:o,totalClassName:c,className:f,...p})=>{const{title:m,totalLabel:h}=ca(t);return e.jsxs("div",{className:l.cn("bg-white px-4 py-6",f),...p,children:[e.jsxs("h2",{className:l.cn("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]",r),children:[i&&e.jsx("span",{"aria-hidden":!0,className:"block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]"}),m]}),e.jsx("div",{className:"flex flex-col gap-4",children:n.map(d=>e.jsxs("div",{className:l.cn("flex items-start justify-between gap-3",s),children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:l.cn("text-sm text-[#1d2125]",d.labelClassName),children:d.label}),d.subLabel&&e.jsx("p",{className:l.cn("mt-0.5 text-xs text-gray-400",d.subLabelClassName),children:d.subLabel})]}),e.jsxs("div",{className:"flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm",children:[d.note&&e.jsx("span",{className:"text-gray-400",children:d.note}),d.originalValue&&e.jsx("span",{className:"text-gray-400 line-through",children:d.originalValue}),e.jsx("span",{className:l.cn("font-medium text-[#1d2125]",d.valueClassName),children:d.value})]})]},d.id))}),o!==void 0&&e.jsxs("div",{className:l.cn("mt-4 flex items-center justify-between border-t border-dashed border-gray-300 pt-4",c),children:[e.jsx("span",{className:"text-base font-bold text-[#1d2125]",children:h}),e.jsx("span",{className:"text-base font-bold text-emerald-600",children:o})]})]})},da=({locale:t="en",onBack:r,backButtonAriaLabel:n="Go back",headerClassName:s,backButtonClassName:i,headerTitleClassName:o,summary:c,items:f,itemsClassName:p,itemClassName:m,addons:h,addonsSectionClassName:d,addonsHeaderClassName:y,addonsTitleClassName:v,addonsDescriptionClassName:j,addonsClassName:_,addonClassName:A,billDetails:w,faq:N,checkout:P,className:g,children:F,...V})=>{const{headerTitle:R,addonsTitle:K,addonsDescription:ae,checkoutProceedLabel:U,checkoutRitualSingular:H,checkoutRitualPlural:Y}=ve(t),{price:G,ritualCount:Z,...te}=P??{};return e.jsxs("div",{className:l.cn("flex min-h-screen flex-col bg-white",g),...V,children:[e.jsxs("div",{className:"flex flex-1 flex-col",children:[e.jsxs("div",{className:l.cn("flex items-center gap-3 px-4 py-3",s),children:[r&&e.jsx("button",{type:"button",onClick:r,"aria-label":n,className:l.cn("flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",i),children:e.jsx(Ee,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx("h1",{className:l.cn("text-lg font-bold text-[#1d2125]",o),children:R})]}),c&&e.jsx(Et,{...c}),f&&f.length>0&&e.jsx("div",{className:l.cn("flex flex-col gap-3 bg-white px-4 py-4",p),children:f.map(({id:q,className:J,isMandapCharge:X,...ne})=>X?e.jsx(Nt,{locale:t,className:l.cn(m,J),...ne},q):e.jsx(Me,{className:l.cn(m,J),...ne},q))}),h&&h.length>0&&e.jsxs("div",{className:l.cn("flex flex-col gap-4 bg-gray-50 px-4 py-6",d),children:[e.jsxs("div",{className:y,children:[e.jsx("h2",{className:l.cn("text-base font-bold text-gray-700",v),children:K}),e.jsx("p",{className:l.cn("mt-1 text-sm text-gray-500",j),children:ae})]}),e.jsx("div",{className:l.cn("flex flex-col gap-4",_),children:h.map(({id:q,className:J,...X})=>e.jsx(wt,{className:l.cn(A,J),...X},q))})]}),w&&e.jsx(Mt,{...w,locale:t}),N&&e.jsx(ht,{...N}),F]}),P&&e.jsx("div",{className:"sticky bottom-0",children:e.jsx(je,{...te,locale:t,amount:G,subtitle:`${Z} ${Z===1?H:Y}`,proceedLabel:U})})]})},re=C.forwardRef(({label:t,value:r,onChange:n,prefix:s,showCharCount:i=!1,supportingText:o,error:c=!1,className:f,containerClassName:p,wrapperClassName:m,maxLength:h,id:d,...y},v)=>{const j=C.useId(),_=d??j,A=o??(i?`${r.length}${h?`/${h}`:""}`:void 0);return e.jsxs("div",{className:l.cn("flex w-full flex-col gap-2",p),children:[t&&e.jsx("label",{htmlFor:_,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:l.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",c?"border-[#ef4444]":"border-[#d1d5db]",m),children:[s&&e.jsx("span",{className:"shrink-0 text-[16px] leading-5.5 font-medium text-[#6b7280]",children:s}),e.jsx("input",{ref:v,id:_,value:r,maxLength:h,onChange:w=>n(w.target.value),"aria-invalid":c,className:l.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",f),...y})]}),A&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#9ca3af]",children:A})]})]})});re.displayName="TextField";function ua({isOpen:t,onClose:r,avatarUrl:n,heading:s,tithis:i,confirmLabel:o,onConfirm:c,initialTithi:f}){const[p,m]=C.useState(f),h=()=>{p&&c(p)};return e.jsx(l.BottomSheet,{isOpen:t,onClose:r,showDragHandle:!0,closeButtonOutside:!0,ariaLabel:s,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:n,alt:"",className:"size-full object-cover"})}),e.jsx("p",{className:"flex-1 text-[16px] leading-5.5 font-semibold text-[#374151]",children:s})]}),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:!p,onClick:h,children:o})]}),children:e.jsx("div",{className:"grid w-full grid-cols-4 gap-x-2 gap-y-4 px-5 py-4",children:i.map(d=>{const y=p===d;return e.jsx("button",{type:"button",onClick:()=>m(d),className:`flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${y?"border-[#f38415] bg-[#f38415] text-white":"border-[#fccf9a] bg-white/40 text-[#374151]"}`,children:d},d)})})})}const Ne=48;function Be({options:t,selectedIndex:r,onChange:n}){const s=C.useRef(null),i=C.useRef(!1);C.useEffect(()=>{i.current||!s.current||(i.current=!0,s.current.scrollTop=r*Ne)},[]);const o=()=>{if(!s.current)return;const c=Math.round(s.current.scrollTop/Ne),f=Math.max(0,Math.min(t.length-1,c));f!==r&&n(f)};return e.jsxs("div",{className:"relative h-36 w-full",children:[e.jsxs("div",{ref:s,onScroll:o,className:"h-36 snap-y snap-mandatory overflow-y-auto [&::-webkit-scrollbar]:hidden",style:{scrollbarWidth:"none"},children:[e.jsx("div",{style:{height:Ne},"aria-hidden":!0}),t.map((c,f)=>e.jsx("div",{className:`flex h-12 snap-center items-center justify-center whitespace-nowrap text-[20px] leading-7 ${f===r?"font-bold text-[#f75e22]":"font-semibold text-[#d1d5db]"}`,children:c},c)),e.jsx("div",{style:{height:Ne},"aria-hidden":!0})]}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-12 h-px bg-[#e5e7eb]"}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-24 h-px bg-[#e5e7eb]"})]})}const Ie=Array.from({length:31},(t,r)=>r+1);function fa({isOpen:t,onClose:r,avatarUrl:n,heading:s,monthLabels:i,confirmLabel:o,onConfirm:c,timezoneLabel:f,initialDate:p,minYear:m,maxYear:h=new Date().getFullYear()}){const d=C.useMemo(()=>{const P=m??h-120;return Array.from({length:h-P+1},(g,F)=>P+F)},[m,h]),[y,v]=C.useState(()=>p?p.day-1:Math.floor(Ie.length/2)),[j,_]=C.useState(()=>p?p.month-1:0),[A,w]=C.useState(()=>p?Math.max(0,d.indexOf(p.year)):Math.floor(d.length/2)),N=()=>{c({day:Ie[y],month:j+1,year:d[A]})};return e.jsx(l.BottomSheet,{isOpen:t,onClose:r,showDragHandle:!0,closeButtonOutside:!0,ariaLabel:s,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:n,alt:"",className:"size-full object-cover"})}),e.jsx("p",{className:"flex-1 text-[16px] leading-5.5 font-semibold text-[#374151]",children:s})]}),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.jsxs("div",{className:"flex w-full items-center gap-6",children:[f&&e.jsx("p",{className:"shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]",children:f}),e.jsx(I,{variant:"primary",size:"md",className:"flex-1 rounded-xl",onClick:N,children:o})]})]}),children:e.jsxs("div",{className:"flex w-full items-center justify-center gap-11 px-5 py-4",children:[e.jsx(Be,{options:Ie.map(String),selectedIndex:y,onChange:v}),e.jsx(Be,{options:i,selectedIndex:j,onChange:_}),e.jsx(Be,{options:d.map(String),selectedIndex:A,onChange:w})]})})}function pa({isOpen:t,onClose:r,heading:n,subtext:s,confirmLabel:i,onConfirm:o,initialValue:c="",countries:f=l.DEFAULT_COUNTRIES,initialCountryIso:p="IN"}){const[m,h]=C.useState(()=>f.find(g=>g.iso===p)??f[0]),[d,y]=C.useState(c),[v,j]=C.useState(!1),_=C.useRef(null);C.useEffect(()=>{if(!v)return;const g=F=>{_.current&&!_.current.contains(F.target)&&j(!1)};return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[v]);const A=l.getMaxLengthForCountry(m.code),w=l.validatePhoneByCountryCode(d,m.code).isValid&&d.length>0,N=g=>{h(g),j(!1),y(F=>F.slice(0,l.getMaxLengthForCountry(g.code)))},P=()=>{w&&o(d,m)};return e.jsx(ye,{isOpen:t,onClose:r,showDragHandle:!0,closeButtonOutside:!0,ariaLabel: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 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",rightIcon:e.jsx(ue,{"aria-hidden":!0}),disabled:!w,onClick:P,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:n}),s&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#6b7280]",children:s}),e.jsxs("div",{className:"mt-2 flex w-full items-start gap-2",children:[e.jsxs("div",{ref:_,className:"relative shrink-0",children:[e.jsxs("button",{type:"button",onClick:()=>j(g=>!g),"aria-expanded":v,"aria-haspopup":"listbox",className:"flex h-14 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:l.getFlagEmoji(m.iso)}),e.jsx("span",{className:"text-[18px] leading-6 font-medium text-[#1d2125]",children:m.code}),e.jsx(be,{size:24,className:"text-[#1d2125]","aria-hidden":!0})]}),v&&e.jsx("div",{role:"listbox",className:"absolute top-[calc(100%+4px)] left-0 z-10 max-h-60 w-64 overflow-y-auto rounded-xl border border-[#e5e7eb] bg-white py-1 shadow-lg",children:f.map(g=>e.jsxs("button",{type:"button",role:"option","aria-selected":g.iso===m.iso,onClick:()=>N(g),className:`flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${g.iso===m.iso?"bg-[#fff9e9]":""}`,children:[e.jsx("span",{className:"text-[16px]","aria-hidden":!0,children:l.getFlagEmoji(g.iso)}),e.jsx("span",{className:"text-[14px] font-medium text-[#1d2125]",children:g.code}),e.jsx("span",{className:"truncate text-[12px] text-[#6b7280]",children:g.name})]},`${g.iso}-${g.code}`))})]}),e.jsx(re,{type:"tel",inputMode:"numeric",value:d,maxLength:A,onChange:g=>y(g.replace(/\D/g,"").slice(0,A)),containerClassName:"w-auto flex-1 gap-0",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"})]})]})})}const xa=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function ha({isOpen:t,onClose:r,heading:n,subtext:s,confirmLabel:i,onConfirm:o,initialValue:c="",errorText:f="Please enter a valid email"}){const[p,m]=C.useState(c),[h,d]=C.useState(!1),y=p.trim(),v=xa.test(y),j=h&&y.length>0&&!v,_=()=>{v&&o(y)};return e.jsx(l.BottomSheet,{isOpen:t,onClose:r,showDragHandle:!0,ariaLabel: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(ue,{"aria-hidden":!0}),disabled:!v,onClick:_,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:n}),s&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#6b7280]",children:s}),e.jsx(re,{type:"email",inputMode:"email",autoFocus:!0,value:p,placeholder:"you@example.com",error:j,supportingText:j?f:void 0,onChange:m,onBlur:()=>d(!0),containerClassName:"mt-2",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"})]})})}function ma(t){return T({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 ga(t){return T({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 ba(t){return T({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 ya="https://srm-cdn.a4b.io/yoda/1788253585577.svg";function Ca({chipNumber:t,chipLabel:r,isAdded:n,onEditClick:s,editButtonAriaLabel:i="Edit",onExpandClick:o,expandButtonAriaLabel:c="Expand",imageUrl:f,imageAlt:p,imageComponent:m,ratingLabel:h,bookedLabel:d,title:y,description:v,learnMoreLabel:j,onLearnMoreClick:_,learnMoreHref:A,dateLabel:w,locationLabel:N,priceInfoLabel:P,onPriceInfoClick:g,price:F,cta:V,className:R=""}){const[K,ae]=C.useState(!1),U=n||K,H=U&&(h!=null||d!=null),Y=U&&(w!=null||N!=null);return e.jsxs("div",{className:`flex w-full flex-col items-center overflow-hidden rounded-[20px] border border-[#e5e3fd] bg-white px-4 pb-4 ${U?"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)]"} ${R}`,children:[e.jsxs("div",{className:`flex w-full items-center justify-between gap-1 px-3 ${U?"py-4":"pt-4"}`,children:[e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-1.5 rounded-2xl py-1.5 pl-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:r})]}),e.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[s&&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:s,"aria-label":i,children:e.jsx(ma,{"aria-hidden":!0,className:"size-[18px] text-[#1D2125]"})}),!n&&e.jsx("button",{type:"button",className:"flex size-8 shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:()=>{ae(G=>!G),o?.()},"aria-label":c,"aria-expanded":K,children:e.jsx(ba,{"aria-hidden":!0,className:`size-8 text-[#1D2125] ${K?"":"-scale-y-100"}`})})]})]}),U&&f!=null&&e.jsx("div",{className:"h-[140px] w-full overflow-hidden rounded-xl",children:m?e.jsx(m,{src:f,alt:p??"",className:"size-full object-cover"}):e.jsx("img",{src:f,alt:p,className:"size-full object-cover"})}),H&&e.jsxs("div",{className:"-mt-3 flex w-full items-center gap-2.5 rounded-b-xl px-4 py-1",style:{background:"linear-gradient(to right, #f3f5e9 74.24%, rgba(241, 247, 255, 0) 100%)"},children:[h!=null&&e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]",children:h}),h!=null&&d!=null&&e.jsx("span",{className:"size-1.5 shrink-0 rounded-full bg-[#4b5513]","aria-hidden":!0}),d!=null&&e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]",children:d})]}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-3",children:[e.jsxs("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:y}),U&&v!=null&&e.jsx("p",{className:"w-full text-xs font-normal leading-4 text-gray-500",children:v})]}),U&&j!=null&&e.jsxs("a",{href:A,className:"inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#F75E22] underline",onClick:_,children:[j,e.jsx(B2,{"aria-hidden":!0,className:"size-3.5 text-[#F75E22]"})]}),Y&&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(ft,{"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})]}),N!=null&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx("img",{src:ya,alt:"","aria-hidden":!0,className:"size-3.5 shrink-0"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:N})]})]})]}),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:[P!=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:P}),g&&e.jsx("button",{type:"button",className:"flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:g,"aria-label":"More info",children:e.jsx(le,{"aria-hidden":!0,className:"size-4 text-[#1D2125]"})})]}),e.jsx("p",{className:"whitespace-nowrap text-lg font-bold leading-6 text-[#159169]",children:F})]}),e.jsx("div",{className:"shrink-0",children:V})]})]})]})}const va={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"},ja={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]"},Na={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 wa({variant:t="primary",size:r="md",leftIcon:n,children:s,className:i="",style:o,type:c="button",...f}){return e.jsxs("button",{type:c,className:`inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${ja[r]} ${va[t]} ${i}`,style:{...Na[t],...o},...f,children:[n,s]})}function _a({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 ka({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 Ue={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}"},hi:{heading:"अपनी पूजा-विधि बुक करने के लिए जानकारी की जांच करें",subtext:"ये नाम और गोत्र पंडित जी द्वारा लिए जाएंगे",ancestorsLabel:"पितृजन के नाम:",performerLabel:"कर्ता के नाम:",gotraLabel:"गोत्र",whatsappLabel:"Whatsapp नंबर",editDetailsLabel:"जानकारी बदले",payButtonTemplate:"{amount} भुगतान करें"},te:{heading:"మీ పూజ విధి బుక్ చేయడానికి వివరాలు తనిఖీ చేయండి",subtext:"ఈ పేర్లు మరియు గోత్రాన్ని పండితులు చదువుతారు",ancestorsLabel:"పితరుల పేర్లు:",performerLabel:"పూజ చేసే వారి పేరు:",gotraLabel:"గోత్రం",whatsappLabel:"WhatsApp నంబర్",editDetailsLabel:"మార్చండి",payButtonTemplate:"{amount} చెల్లించండి"}},zt=t=>Ue[t]??Ue.en;function Dt({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 Rt({isOpen:t,onClose:r,locale:n="en",ancestors:s,kartaNames:i,gotra:o,whatsappNumber:c,amount:f,onEditDetailsClick:p,onProceedPayment:m,className:h}){const d=zt(n),y=d.payButtonTemplate.replace("{amount}",f);return e.jsx(ye,{isOpen:t,onClose:r,showDragHandle:!1,closeButtonOutside:!0,ariaLabel:d.heading,className:l.cn("rounded-t-[20px] bg-[#f7f8f9]",h),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:d.heading}),e.jsx("p",{className:"text-center text-[14px] leading-5 font-normal text-[#6b7280]",children:d.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:p,children:d.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:m,children:y})]}),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:d.ancestorsLabel}),e.jsx("div",{className:"flex w-full flex-wrap items-center gap-2",children:s.map(v=>e.jsxs(Dt,{children:[e.jsx("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:v.value}),v.label&&e.jsxs("span",{className:"text-[10px] leading-3.5 font-medium text-[#6b7280]",children:["(",v.label,")"]})]},v.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:d.performerLabel}),e.jsx("div",{className:"flex w-full flex-wrap items-center gap-2",children:i.map((v,j)=>e.jsx(Dt,{children:e.jsxs("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:[j+1,". ",v]})},j))})]}),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:d.gotraLabel}),e.jsx("span",{className:"shrink-0 text-[12px] leading-4 font-semibold text-[#374151]",children:o})]}),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:d.whatsappLabel}),e.jsx("span",{className:"shrink-0 text-[12px] leading-4 font-semibold text-[#374151]",children:c})]})]})]})})})}const Ge={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:"बंद करें"},te:{heading:"నాకు నా గోత్రం తెలియదు, నేను ఏమి చేయాలి?",body:"మీకు మీ గోత్రం తెలియకపోతే, ఈ పరిస్థితిలో మీరు మీ గోత్రాన్ని కశ్యపగా భావించవచ్చు, ఎందుకంటే కశ్యప ఋషి వంశస్థులు ప్రతి కులంలో కనిపిస్తారు. అందువల్ల, ఆయనను ఒక పూజనీయ ఋషిగా భావిస్తారు. పూజ సమయంలో పండితుడు ఈ వివరాలను కశ్యప గోత్రంగానే ఉచ్చరిస్తారు.",okayLabel:"సరే",closeButtonAriaLabel:"మూసివేయండి"}},$e=t=>Ge[t]??Ge.en;function Bt({isOpen:t,onClose:r,locale:n="en",className:s}){const i=$e(n);return e.jsx(ye,{isOpen:t,onClose:r,showCloseButton:!1,showDragHandle:!1,ariaLabel:i.heading,className:l.cn("rounded-t-[20px]",s),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:r,"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(F2,{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:r,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 Ve={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:"కశ్యప"}},It=t=>Ve[t]??Ve.en,Ut={en:["1st","2nd","3rd","4th","5th","6th","7th","8th","9th","10th"],hi:["पहले","दूसरे","तीसरे","चौथे","पांचवें","छठे","सातवें","आठवें","नौवें","दसवें"],te:["1వ","2వ","3వ","4వ","5వ","6వ","7వ","8వ","9వ","10వ"]},Aa={en:"th",hi:"वें",te:"వ"},Gt=(t,r)=>{const n=r in Ut?r:"en";return Ut[n][t-1]??`${t}${Aa[n]}`},He=40,Ze="+91",Sa=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function La({locale:t="en",values:r,onValuesChange:n,isGlobal:s=!1,gotraOptions:i=[],isSarvaPitru:o=!1,onBackClick:c,amount:f,ritualsCountLabel:p,onPriceInfoClick:m,showPriceInfoIcon:h=!0,canProceed:d,proceedCtaLabel:y,proceedButtonProps:v,onProceedPayment:j,className:_}){const[A,w]=C.useState(!1),[N,P]=C.useState(!1),g=It(t),F=$e(t),V=S=>{const B=Gt(S+1,t);return S===0?`*${B} ${g.kartaNameLabel}`:`${B} ${g.kartaNameLabel} ${g.kartaNameOptionalSuffix}`},R=S=>n({...r,...S}),K=(S,B)=>{const Q=[...r.kartaNames];Q[S]=B,R({kartaNames:Q})},ae=(S,B)=>{R({ancestors:r.ancestors.map(Q=>Q.id===S?{...Q,value:B}:Q)})},[U,H]=C.useState(!1),Y=C.useRef(null);C.useEffect(()=>{if(!U)return;const S=B=>{Y.current&&!Y.current.contains(B.target)&&H(!1)};return document.addEventListener("mousedown",S),()=>document.removeEventListener("mousedown",S)},[U]);const G=i.filter(S=>S.toLowerCase().includes(r.gotra.trim().toLowerCase())),Z=S=>{R({gotra:S}),H(!1)},te=()=>{const S=!r.isGotraUnknown;R({isGotraUnknown:S,gotra:S?g.kashyapGotraLabel:r.gotra})},q=l.getMaxLengthForCountry(Ze),J=l.validatePhoneByCountryCode(r.whatsappNumber,Ze).isValid,X=Sa.test(r.email),ne=r.whatsappNumber.length>0&&!J,we=r.email.length>0&&!X,_e=(s?X:J)&&r.kartaNames[0].trim().length>0&&r.gotra.trim().length>0&&(o||r.ancestors.every(S=>S.value.trim().length>0)),ke=d??_e,Ae=r.gotra.trim().length>0?r.gotra:g.kashyapGotraLabel,Ke=s?r.email:r.whatsappNumber;return e.jsxs("div",{className:l.cn("flex min-h-screen w-full flex-col bg-linear-to-b from-[5.546%] from-[#fbe9f0] to-[12.146%] to-[#f7f8f9]",_),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:c,"aria-label":g.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(Ee,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx("p",{className:"text-[18px] leading-5 font-bold text-[#1d2125]",children:g.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:s?g.emailLabel:g.whatsappNumberLabel}),s?e.jsx(re,{type:"email",inputMode:"email",value:r.email,placeholder:g.emailPlaceholder,error:we,onChange:S=>R({email:S}),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:l.getFlagEmoji("IN")}),e.jsx("span",{className:"text-[18px] leading-6 font-medium text-[#1d2125]",children:Ze})]}),e.jsx(re,{type:"tel",inputMode:"numeric",value:r.whatsappNumber,placeholder:g.whatsappNumberPlaceholder,maxLength:q,error:ne,onChange:S=>R({whatsappNumber:S.replace(/\D/g,"").slice(0,q)}),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:s?g.emailHelperText:g.whatsappNumberHelperText})]}),e.jsxs("div",{className:"flex w-full flex-col gap-6 rounded-2xl border border-[#f3f4f6] bg-white p-3",children:[e.jsx("p",{className:"text-[16px] leading-[22px] font-bold text-[#22272b]",children:g.kartaNameSectionTitle}),e.jsx("div",{className:"flex w-full flex-col gap-2.5",children:r.kartaNames.map((S,B)=>e.jsx(re,{label:V(B),placeholder:g.kartaNamePlaceholder,value:S,maxLength:He,showCharCount:!0,wrapperClassName:l.cn("h-12 rounded-xl",B===0&&"bg-[#f3f4f6]"),onChange:Q=>K(B,Q)},B))})]}),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:Y,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:g.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:r.gotra,placeholder:g.gotraFieldPlaceholder,maxLength:He,autoComplete:"off",onFocus:()=>H(!0),onChange:S=>{R({gotra:S.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:()=>P(!0),"aria-label":F.heading,className:"flex size-6 shrink-0 items-center justify-center border-0 bg-transparent p-0 text-[#9ca3af]",children:e.jsx(le,{size:24,"aria-hidden":!0})})]}),U&&G.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:G.map(S=>e.jsx("button",{type:"button",role:"option","aria-selected":S===r.gotra,onClick:()=>Z(S),className:l.cn("flex w-full items-center px-3 py-2 text-left text-[14px] font-medium text-[#1d2125] hover:bg-[#f9fafb]",S===r.gotra&&"bg-[#fff9e9]"),children:S},S))})]}),e.jsxs("div",{className:"flex w-full flex-col gap-1",children:[e.jsxs("button",{type:"button",onClick:te,"aria-pressed":r.isGotraUnknown,className:"flex items-center gap-1 border-0 bg-transparent p-0",children:[r.isGotraUnknown?e.jsx(I2,{size:24,className:"shrink-0 text-[#f75e22]","aria-hidden":!0}):e.jsx(M2,{size:24,className:"shrink-0 text-[#d1d5db]","aria-hidden":!0}),e.jsx("span",{className:"text-[12px] leading-4 font-semibold text-[#374151]",children:g.gotraUnknownCheckboxLabel})]}),e.jsx("p",{className:"text-[10px] leading-[14px] font-medium text-[#6b7280]",children:g.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(V2,{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:g.ancestorNameSectionTitle}),e.jsx("p",{className:"text-[14px] leading-5 font-normal text-[#6b7280]",children:o?g.sarvaPitruSectionSubtitle:g.ancestorNameSectionSubtitle})]})]}),o?e.jsxs("div",{className:"flex w-full flex-col items-start gap-1 p-3 pt-0",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:g.sarvaPitruFieldValue})}),e.jsx("p",{className:"px-3 text-[12px] leading-4 font-medium text-[#6b7280]",children:g.sarvaPitruHelperText})]}):e.jsx("div",{className:"flex w-full flex-col gap-2.5 p-3 pt-0",children:r.ancestors.map(S=>e.jsx(re,{label:`*${S.label} ${g.ancestorNameFieldSuffix}`,value:S.value,prefix:g.latePrefixLabel,placeholder:g.kartaNamePlaceholder,maxLength:He,showCharCount:!0,wrapperClassName:"h-12 rounded-xl",onChange:B=>ae(S.id,B)},S.id))})]})]})}),e.jsx("div",{className:"sticky bottom-0 w-full",children:e.jsx(je,{amount:f,subtitle:p,onInfoClick:m,showInfoIcon:h,proceedLabel:y??g.proceedCtaLabel,onProceed:()=>w(!0),proceedButtonProps:{disabled:!ke,...v}})}),e.jsx(Rt,{isOpen:A,onClose:()=>w(!1),onEditDetailsClick:()=>w(!1),locale:t,ancestors:o?[{id:"sarva-pitru",label:"",value:g.sarvaPitruFieldValue}]:r.ancestors,kartaNames:r.kartaNames,gotra:Ae,whatsappNumber:Ke,amount:f,onProceedPayment:()=>{w(!1),j()}}),e.jsx(Bt,{isOpen:N,onClose:()=>P(!1),locale:t})]})}function Oa(t=3,r=[]){return{whatsappNumber:"",email:"",kartaNames:Array.from({length:Math.max(1,t)},()=>""),gotra:"",isGotraUnknown:!1,ancestors:r}}const $t="https://srm-cdn.a4b.io/yoda/1788256892735.svg",Ta="https://srm-cdn.a4b.io/yoda/1788256910547.svg",Pa="https://srm-cdn.a4b.io/yoda/1788256867970.svg",Ea="https://srm-cdn.a4b.io/yoda/1788256921651.svg",Fa="https://srm-cdn.a4b.io/yoda/1788256935709.svg",Ma="https://srm-cdn.a4b.io/yoda/1788256949665.svg";function za({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:$t,alt:"","aria-hidden":!0,className:"absolute left-[-6px] top-[12.2px] size-[25.6px]"}),e.jsx("img",{src:$t,alt:"","aria-hidden":!0,className:"absolute left-[21px] top-[12.2px] size-[25.6px]"}),e.jsx("img",{src:Ta,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:Pa,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:Ea,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:Fa,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:Ma,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})})]})]})}const Da="https://srm-cdn.a4b.io/yoda/1788256961374.svg",Vt="https://srm-cdn.a4b.io/yoda/1788256971870.svg";function Ra({badgeLabel:t,headingPrefix:r,ritualCount:n,ritualCountLabel:s,headingSuffix:i,trustItems:o}){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:Vt,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:Vt,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:Da,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:[r,n," ",s," ",i]}),e.jsx("div",{className:"flex w-full items-start justify-center gap-3",children:o.map(c=>e.jsxs("div",{className:"flex w-25 flex-col items-center gap-1 py-2",children:[e.jsx(za,{variant:c.variant}),e.jsx("p",{className:"w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]",children:c.text})]},c.variant))})]})}const Ba=40;function Ia({isOpen:t,onClose:r,onSave:n,title:s,fieldLabel:i,namePrefix:o,namePlaceholder:c,addMoreLabel:f,saveCta:p,maxNameLength:m=Ba}){const[h,d]=C.useState([""]),y=()=>{d([""]),r()},v=()=>{const _=h.map(A=>A.trim()).filter(Boolean);_.length!==0&&(n(_),y())},j=h.some(_=>_.trim().length>0);return e.jsx(l.BottomSheet,{isOpen:t,onClose:y,showDragHandle:!0,closeButtonOutside:!0,ariaLabel:s,header:e.jsx("p",{className:"px-4 py-2 text-center text-[16px] leading-5.5 font-semibold text-[#47250c]",children:s}),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(ue,{"aria-hidden":!0}),disabled:!j,onClick:v,children:p})}),children:e.jsxs("div",{className:"flex w-full flex-col gap-2.5 px-4 py-3",children:[h.map((_,A)=>e.jsx(re,{label:i,placeholder:c,value:_,prefix:o,maxLength:m,showCharCount:!0,onChange:w=>d(N=>N.map((P,g)=>g===A?w:P))},A)),e.jsx(I,{variant:"ghost",size:"sm",className:"self-start text-[#f75e22]",leftIcon:e.jsx(z2,{"aria-hidden":!0}),onClick:()=>d(_=>[..._,""]),children:f})]})})}function Ht({label:t,avatarUrl:r,state:n,onClick:s}){return e.jsxs("button",{type:"button",disabled:!s,onClick:s,className:`flex w-18 shrink-0 flex-col items-center gap-1 rounded-xl px-2 disabled:pointer-events-none ${n==="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] ${n==="disabled"?"opacity-60 grayscale":""}`,children:e.jsx("img",{src:r,alt:"",className:"size-full object-cover"})}),n==="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(ga,{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 ${n==="enabled"?"text-[#f75e22]":n==="filled"?"text-[#374151]":"text-[#9ca3af]"}`,children:t})]})}const Zt="all",Wt=[{id:Zt,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"}],Kt="https://srm-cdn.a4b.io/yoda/1788334548628.webp",Yt="https://srm-cdn.a4b.io/yoda/1788334564281.webp";function qt(t){return Wt.find(n=>n.id===t)?.gender==="female"?Yt:Kt}const Ua=[{value:"tithi",Icon:D2,titleKey:"deathTithiOption1Title",subtextKey:"deathTithiOption1Subtext"},{value:"date",Icon:ft,titleKey:"deathTithiOption2Title",subtextKey:"deathTithiOption2Subtext"},{value:"unknown",Icon:la,titleKey:"deathTithiOption3Title",subtextKey:"deathTithiOption3Subtext"}],Ga=["tithiNamePratipada","tithiNameDvitiya","tithiNameTritiya","tithiNameChaturthi","tithiNamePanchami","tithiNameShashthi","tithiNameSaptami","tithiNameAshtami","tithiNameNavami","tithiNameDashami","tithiNameEkadashi","tithiNameDvadashi","tithiNameTrayodashi","tithiNameChaturdashi","tithiNameAmavasya"];function $a({entries:t,viewedIndex:r,isEntryFilled:n,isEntryReachable:s,onSelect:i,className:o}){return e.jsx("div",{className:l.cn("flex w-full items-start justify-center",o),children:t.map((c,f)=>{const p=n(c.key),m=s(f),h=f===r?"enabled":p?"filled":"disabled";return e.jsxs(C.Fragment,{children:[e.jsx(Ht,{label:c.label,avatarUrl:qt(c.key),state:h,onClick:m?()=>i(f):void 0}),f<t.length-1&&e.jsx("div",{className:`-mx-5 mt-4 h-0.5 min-w-0 max-w-14 flex-1 ${p?"bg-[#159169]":"bg-[rgba(28,27,27,0.05)]"}`})]},c.key)})})}const Va="https://srm-cdn.a4b.io/yoda/1788163138113.svg";function Ha({isOpen:t,onClose:r,avatarUrl:n,heading:s,ctaLabel:i,onCtaClick:o,cardIcon:c,cardTitle:f,cardDescription:p,cardTag:m,cardTagClassName:h="bg-[#1d79fc] text-white"}){return t?e.jsx("div",{className:"avatar-card-dialog",role:"presentation",onClick:d=>{d.target===d.currentTarget&&r()},children:e.jsxs("div",{className:"avatar-card-dialog__card",children:[e.jsxs("div",{className:"avatar-card-dialog__avatar",children:[e.jsx("img",{src:Va,alt:"",className:"avatar-card-dialog__avatar-glow"}),e.jsx("img",{src:n,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:s}),e.jsx(Ce,{selected:!0,showRadio:!1,tag:m,tagClassName:h,icon:c,iconClassName:"bg-white",title:f,description:p})]}),e.jsx(I,{variant:"primary",size:"md",className:"avatar-card-dialog__button",onClick:o,children:i})]})}):null}function Jt(t){if(!t)return;const[r,n,s]=t.split("-").map(Number);return{day:s,month:n,year:r}}function Za({day:t,month:r,year:n}){return`${n}-${String(r).padStart(2,"0")}-${String(t).padStart(2,"0")}`}function Wa(t="en-IN"){const r=new Intl.DateTimeFormat(t,{month:"long"});return Array.from({length:12},(n,s)=>r.format(new Date(2e3,s,1)))}function Ka(t,r){const n=Jt(t);return n?`${n.day} ${r[n.month-1]} ${n.year}`:t}function Ya(t){return T({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 We={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:"यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"}},Xt=t=>We[t]??We.en,Qt=C.forwardRef(({locale:t="en",title:r,subtitle:n,value:s,helperText:i,icon:o,className:c,headerClassName:f,valueBoxClassName:p,helperTextClassName:m,...h},d)=>{const y=Xt(t);return e.jsxs("div",{ref:d,className:l.cn("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm",c),...h,children:[e.jsxs("div",{className:l.cn("flex items-center gap-3",f),children:[e.jsx(fe,{icon:o??e.jsx(Ya,{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:r??y.title}),e.jsx("p",{className:"mt-0.5 text-base leading-5 text-gray-500",children:n??y.subtitle})]})]}),e.jsx("div",{className:l.cn("mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",p),children:e.jsx("span",{className:"text-lg leading-6 font-medium text-gray-700",children:s??y.value})}),e.jsx("p",{className:l.cn("mt-3 text-sm leading-4.5 text-gray-500",m),children:i??y.helperText})]})});Qt.displayName="SarvaPitruCard",Object.defineProperty(x,"cn",{enumerable:!0,get:()=>l.cn}),x.ALL_ANCESTORS_ID=Zt,x.ANCESTOR_OPTIONS=Wt,x.AddAncestorSheet=Ia,x.AncestorTab=Ht,x.AncestorTabRow=$a,x.AudioQuestionCard=Q2,x.AvatarCardDialog=Ha,x.BOOKING_SUMMARY_BANNER_DEFAULT_COPY=Re,x.BillDetails=Mt,x.BookingSummaryBanner=Et,x.Button=I,x.CHECKOUT_BAR_DEFAULT_COPY=ze,x.CONFIRM_PUJA_DETAILS_MODAL_DEFAULT_COPY=Ue,x.CartReviewAddedBadge=sa,x.CartReviewChangeButton=na,x.CartReviewItem=Me,x.CartReviewMandapItem=Nt,x.CartView=da,x.CheckIcon=ka,x.CheckoutBar=je,x.Chip=gt,x.ConfinedBottomSheet=ye,x.ConfirmPujaDetailsModal=Rt,x.DEATH_TITHI_OPTIONS=Ua,x.DatePickerSheet=fa,x.EmailSheet=ha,x.EventHeader=E2,x.FAQSection=ht,x.FEMALE_ANCESTOR_AVATAR_URL=Yt,x.GOTRA_INFO_MODAL_DEFAULT_COPY=Ge,x.GotraInfoModal=Bt,x.IconBadge=fe,x.L2Card=Ca,x.LanguageSwitcher=Fe,x.MALE_ANCESTOR_AVATAR_URL=Kt,x.OutcomeButton=wa,x.OutcomeSummary=Ra,x.PACKAGE_SELECT_DEFAULT_COPY=De,x.PUJA_DETAILS_FORM_DEFAULT_COPY=Ve,x.PackageSelect=oa,x.PhoneNumberSheet=pa,x.PlusIcon=_a,x.PujaDetailsForm=La,x.QuantityStepper=ra,x.RitualProceedBar=U2,x.SARVA_PITRU_CARD_DEFAULT_COPY=We,x.SarvaPitruCard=Qt,x.SelectorCard=Ce,x.SelectorCardEditableField=ta,x.SelectorCardInfoRow=aa,x.SelectorCardNote=vt,x.SelectorCardPriceBadge=Ct,x.ServiceOfferCard=wt,x.StepProgressHeader=Y2,x.TITHI_NAME_KEYS=Ga,x.TestimonialCard=Z2,x.TextField=re,x.TithiPickerSheet=ua,x.TopBar=K2,x.TrustBadgesBar=Lt,x.VideoPlayer=mt,x.buttonVariants=ot,x.createEmptyPujaDetailsFormValues=Oa,x.formatDisplayDate=Ka,x.formatIsoDate=Za,x.getAncestorAvatarUrl=qt,x.getBookingSummaryBannerDefaultCopy=Pt,x.getCheckoutBarDefaultCopy=Ot,x.getConfirmPujaDetailsModalDefaultCopy=zt,x.getGotraInfoModalDefaultCopy=$e,x.getKartaOrdinalLabel=Gt,x.getMonthLabels=Wa,x.getPackageSelectDefaultCopy=Tt,x.getPujaDetailsFormDefaultCopy=It,x.getSarvaPitruCardDefaultCopy=Xt,x.parseIsoDate=Jt,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})}));