@srimandir/pitru-paksh-common 2.0.17 → 2.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/BillDetails/BillDetails.d.ts +6 -2
- package/dist/components/BillDetails/BillDetails.translations.d.ts +9 -0
- package/dist/components/BookingSummaryBanner/BookingSummaryBanner.d.ts +25 -4
- package/dist/components/BookingSummaryBanner/BookingSummaryBanner.translations.d.ts +18 -0
- package/dist/components/BookingSummaryBanner/index.d.ts +3 -1
- package/dist/components/CartReviewItem/CartReviewItem.d.ts +27 -4
- package/dist/components/CartReviewItem/index.d.ts +2 -2
- package/dist/components/CartView/CartView.d.ts +50 -21
- package/dist/components/CartView/CartView.translations.d.ts +24 -0
- package/dist/components/CartView/index.d.ts +1 -1
- package/dist/components/CheckoutBar/CheckoutBar.d.ts +11 -1
- package/dist/components/CheckoutBar/CheckoutBar.translations.d.ts +14 -0
- package/dist/components/CheckoutBar/index.d.ts +2 -0
- package/dist/components/PackageSelect/PackageSelect.d.ts +17 -5
- package/dist/components/PackageSelect/PackageSelect.translations.d.ts +23 -0
- package/dist/components/PackageSelect/index.d.ts +2 -0
- package/dist/components/SarvaPitruCard/SarvaPitruCard.d.ts +33 -0
- package/dist/components/SarvaPitruCard/SarvaPitruCard.translations.d.ts +19 -0
- package/dist/components/SarvaPitruCard/index.d.ts +4 -0
- package/dist/components/ServiceOfferCard/ServiceOfferCard.d.ts +1 -1
- package/dist/index.d.ts +14 -4
- package/dist/pitru-paksh-common.d.ts +65 -0
- package/dist/pitru-paksh-common.js +1113 -902
- package/dist/pitru-paksh-common.umd.cjs +8 -8
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
`+
|
|
3
|
-
`),
|
|
4
|
-
`),
|
|
5
|
-
`+
|
|
1
|
+
(function(m,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):(m=typeof globalThis<"u"?globalThis:m||self,l(m.PitruPakshCommon={},m.SrimandirCommon,m.React,m.classVarianceAuthority,m.ReactPlayer))})(this,(function(m,l,b,$t,Wt){"use strict";function Ht(t){const a=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(a,s,n.get?n:{enumerable:!0,get:()=>t[s]})}}return a.default=t,Object.freeze(a)}const Yt=Ht(b);var le={exports:{}},se={};var Ie;function Ut(){if(Ie)return se;Ie=1;var t=b,a=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 f(x,d,g){var p,u={},v=null,w=null;g!==void 0&&(v=""+g),d.key!==void 0&&(v=""+d.key),d.ref!==void 0&&(w=d.ref);for(p in d)n.call(d,p)&&!c.hasOwnProperty(p)&&(u[p]=d[p]);if(x&&x.defaultProps)for(p in d=x.defaultProps,d)u[p]===void 0&&(u[p]=d[p]);return{$$typeof:a,type:x,key:v,ref:w,props:u,_owner:o.current}}return se.Fragment=s,se.jsx=f,se.jsxs=f,se}var ne={};var Me;function qt(){return Me||(Me=1,process.env.NODE_ENV!=="production"&&(function(){var t=b,a=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"),f=Symbol.for("react.provider"),x=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),N=Symbol.iterator,P="@@iterator";function _(r){if(r===null||typeof r!="object")return null;var i=N&&r[N]||r[P];return typeof i=="function"?i:null}var C=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function j(r){{for(var i=arguments.length,h=new Array(i>1?i-1:0),y=1;y<i;y++)h[y-1]=arguments[y];z("error",r,h)}}function z(r,i,h){{var y=C.ReactDebugCurrentFrame,T=y.getStackAddendum();T!==""&&(i+="%s",h=h.concat([T]));var O=h.map(function(E){return String(E)});O.unshift("Warning: "+i),Function.prototype.apply.call(console[r],console,O)}}var k=!1,L=!1,V=!1,H=!1,Y=!1,X;X=Symbol.for("react.module.reference");function M(r){return!!(typeof r=="string"||typeof r=="function"||r===n||r===c||Y||r===o||r===g||r===p||H||r===w||k||L||V||typeof r=="object"&&r!==null&&(r.$$typeof===v||r.$$typeof===u||r.$$typeof===f||r.$$typeof===x||r.$$typeof===d||r.$$typeof===X||r.getModuleId!==void 0))}function q(r,i,h){var y=r.displayName;if(y)return y;var T=i.displayName||i.name||"";return T!==""?h+"("+T+")":h}function G(r){return r.displayName||"Context"}function F(r){if(r==null)return null;if(typeof r.tag=="number"&&j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case n:return"Fragment";case s:return"Portal";case c:return"Profiler";case o:return"StrictMode";case g:return"Suspense";case p:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case x:var i=r;return G(i)+".Consumer";case f:var h=r;return G(h._context)+".Provider";case d:return q(r,r.render,"ForwardRef");case u:var y=r.displayName||null;return y!==null?y:F(r.type)||"Memo";case v:{var T=r,O=T._payload,E=T._init;try{return F(E(O))}catch{return null}}}return null}var $=Object.assign,K=0,Z,J,Q,ee,Nt,Ct,kt;function _t(){}_t.__reactDisabledLog=!0;function Kr(){{if(K===0){Z=console.log,J=console.info,Q=console.warn,ee=console.error,Nt=console.group,Ct=console.groupCollapsed,kt=console.groupEnd;var r={configurable:!0,enumerable:!0,value:_t,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}K++}}function Zr(){{if(K--,K===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},r,{value:Z}),info:$({},r,{value:J}),warn:$({},r,{value:Q}),error:$({},r,{value:ee}),group:$({},r,{value:Nt}),groupCollapsed:$({},r,{value:Ct}),groupEnd:$({},r,{value:kt})})}K<0&&j("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Oe=C.ReactCurrentDispatcher,ze;function pe(r,i,h){{if(ze===void 0)try{throw Error()}catch(T){var y=T.stack.trim().match(/\n( *(at )?)/);ze=y&&y[1]||""}return`
|
|
2
|
+
`+ze+r}}var Le=!1,me;{var Jr=typeof WeakMap=="function"?WeakMap:Map;me=new Jr}function St(r,i){if(!r||Le)return"";{var h=me.get(r);if(h!==void 0)return h}var y;Le=!0;var T=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var O;O=Oe.current,Oe.current=null,Kr();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(I){y=I}Reflect.construct(r,[],E)}else{try{E.call()}catch(I){y=I}r.call(E.prototype)}}else{try{throw Error()}catch(I){y=I}r()}}catch(I){if(I&&y&&typeof I.stack=="string"){for(var S=I.stack.split(`
|
|
3
|
+
`),D=y.stack.split(`
|
|
4
|
+
`),A=S.length-1,B=D.length-1;A>=1&&B>=0&&S[A]!==D[B];)B--;for(;A>=1&&B>=0;A--,B--)if(S[A]!==D[B]){if(A!==1||B!==1)do if(A--,B--,B<0||S[A]!==D[B]){var W=`
|
|
5
|
+
`+S[A].replace(" at new "," at ");return r.displayName&&W.includes("<anonymous>")&&(W=W.replace("<anonymous>",r.displayName)),typeof r=="function"&&me.set(r,W),W}while(A>=1&&B>=0);break}}}finally{Le=!1,Oe.current=O,Zr(),Error.prepareStackTrace=T}var ae=r?r.displayName||r.name:"",te=ae?pe(ae):"";return typeof r=="function"&&me.set(r,te),te}function Qr(r,i,h){return St(r,!1)}function Xr(r){var i=r.prototype;return!!(i&&i.isReactComponent)}function ge(r,i,h){if(r==null)return"";if(typeof r=="function")return St(r,Xr(r));if(typeof r=="string")return pe(r);switch(r){case g:return pe("Suspense");case p:return pe("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case d:return Qr(r.render);case u:return ge(r.type,i,h);case v:{var y=r,T=y._payload,O=y._init;try{return ge(O(T),i,h)}catch{}}}return""}var ie=Object.prototype.hasOwnProperty,Et={},Pt=C.ReactDebugCurrentFrame;function be(r){if(r){var i=r._owner,h=ge(r.type,r._source,i?i.type:null);Pt.setExtraStackFrame(h)}else Pt.setExtraStackFrame(null)}function ea(r,i,h,y,T){{var O=Function.call.bind(ie);for(var E in r)if(O(r,E)){var S=void 0;try{if(typeof r[E]!="function"){var D=Error((y||"React class")+": "+h+" type `"+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[E]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}S=r[E](i,E,y,h,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(A){S=A}S&&!(S instanceof Error)&&(be(T),j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",y||"React class",h,E,typeof S),be(null)),S instanceof Error&&!(S.message in Et)&&(Et[S.message]=!0,be(T),j("Failed %s type: %s",h,S.message),be(null))}}}var ta=Array.isArray;function Re(r){return ta(r)}function ra(r){{var i=typeof Symbol=="function"&&Symbol.toStringTag,h=i&&r[Symbol.toStringTag]||r.constructor.name||"Object";return h}}function aa(r){try{return Tt(r),!1}catch{return!0}}function Tt(r){return""+r}function Ot(r){if(aa(r))return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ra(r)),Tt(r)}var zt=C.ReactCurrentOwner,sa={key:!0,ref:!0,__self:!0,__source:!0},Lt,Rt;function na(r){if(ie.call(r,"ref")){var i=Object.getOwnPropertyDescriptor(r,"ref").get;if(i&&i.isReactWarning)return!1}return r.ref!==void 0}function ia(r){if(ie.call(r,"key")){var i=Object.getOwnPropertyDescriptor(r,"key").get;if(i&&i.isReactWarning)return!1}return r.key!==void 0}function la(r,i){typeof r.ref=="string"&&zt.current}function oa(r,i){{var h=function(){Lt||(Lt=!0,j("%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))};h.isReactWarning=!0,Object.defineProperty(r,"key",{get:h,configurable:!0})}}function ca(r,i){{var h=function(){Rt||(Rt=!0,j("%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))};h.isReactWarning=!0,Object.defineProperty(r,"ref",{get:h,configurable:!0})}}var da=function(r,i,h,y,T,O,E){var S={$$typeof:a,type:r,key:i,ref:h,props:E,_owner:O};return S._store={},Object.defineProperty(S._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(S,"_self",{configurable:!1,enumerable:!1,writable:!1,value:y}),Object.defineProperty(S,"_source",{configurable:!1,enumerable:!1,writable:!1,value:T}),Object.freeze&&(Object.freeze(S.props),Object.freeze(S)),S};function ua(r,i,h,y,T){{var O,E={},S=null,D=null;h!==void 0&&(Ot(h),S=""+h),ia(i)&&(Ot(i.key),S=""+i.key),na(i)&&(D=i.ref,la(i,T));for(O in i)ie.call(i,O)&&!sa.hasOwnProperty(O)&&(E[O]=i[O]);if(r&&r.defaultProps){var A=r.defaultProps;for(O in A)E[O]===void 0&&(E[O]=A[O])}if(S||D){var B=typeof r=="function"?r.displayName||r.name||"Unknown":r;S&&oa(E,B),D&&ca(E,B)}return da(r,S,D,T,y,zt.current,E)}}var Ae=C.ReactCurrentOwner,At=C.ReactDebugCurrentFrame;function re(r){if(r){var i=r._owner,h=ge(r.type,r._source,i?i.type:null);At.setExtraStackFrame(h)}else At.setExtraStackFrame(null)}var Be;Be=!1;function De(r){return typeof r=="object"&&r!==null&&r.$$typeof===a}function Bt(){{if(Ae.current){var r=F(Ae.current.type);if(r)return`
|
|
6
6
|
|
|
7
|
-
Check the render method of \``+
|
|
7
|
+
Check the render method of \``+r+"`."}return""}}function fa(r){return""}var Dt={};function xa(r){{var i=Bt();if(!i){var h=typeof r=="string"?r:r.displayName||r.name;h&&(i=`
|
|
8
8
|
|
|
9
|
-
Check the top-level render call using <`+
|
|
9
|
+
Check the top-level render call using <`+h+">.")}return i}}function Ft(r,i){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var h=xa(i);if(Dt[h])return;Dt[h]=!0;var y="";r&&r._owner&&r._owner!==Ae.current&&(y=" It was passed a child from "+F(r._owner.type)+"."),re(r),j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',h,y),re(null)}}function It(r,i){{if(typeof r!="object")return;if(Re(r))for(var h=0;h<r.length;h++){var y=r[h];De(y)&&Ft(y,i)}else if(De(r))r._store&&(r._store.validated=!0);else if(r){var T=_(r);if(typeof T=="function"&&T!==r.entries)for(var O=T.call(r),E;!(E=O.next()).done;)De(E.value)&&Ft(E.value,i)}}}function ha(r){{var i=r.type;if(i==null||typeof i=="string")return;var h;if(typeof i=="function")h=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===d||i.$$typeof===u))h=i.propTypes;else return;if(h){var y=F(i);ea(h,r.props,"prop",y,r)}else if(i.PropTypes!==void 0&&!Be){Be=!0;var T=F(i);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",T||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function pa(r){{for(var i=Object.keys(r.props),h=0;h<i.length;h++){var y=i[h];if(y!=="children"&&y!=="key"){re(r),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",y),re(null);break}}r.ref!==null&&(re(r),j("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}}var Mt={};function Vt(r,i,h,y,T,O){{var E=M(r);if(!E){var S="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(S+=" 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 D=fa();D?S+=D:S+=Bt();var A;r===null?A="null":Re(r)?A="array":r!==void 0&&r.$$typeof===a?(A="<"+(F(r.type)||"Unknown")+" />",S=" Did you accidentally export a JSX literal instead of a component?"):A=typeof r,j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",A,S)}var B=ua(r,i,h,T,O);if(B==null)return B;if(E){var W=i.children;if(W!==void 0)if(y)if(Re(W)){for(var ae=0;ae<W.length;ae++)It(W[ae],r);Object.freeze&&Object.freeze(W)}else j("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 It(W,r)}if(ie.call(i,"key")){var te=F(r),I=Object.keys(i).filter(function(ya){return ya!=="key"}),Fe=I.length>0?"{key: someKey, "+I.join(": ..., ")+": ...}":"{key: someKey}";if(!Mt[te+Fe]){var ja=I.length>0?"{"+I.join(": ..., ")+": ...}":"{}";j(`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} />`,Se,Z,na,Z),kt[Z+Se]=!0}}return t===n?ea(A):Xr(A),A}}function ta(t,i,x){return Ct(t,i,x,!0)}function ra(t,i,x){return Ct(t,i,x,!1)}var aa=ra,sa=ta;X.Fragment=n,X.jsx=aa,X.jsxs=sa})()),X}var ze;function Tt(){return ze||(ze=1,process.env.NODE_ENV==="production"?ae.exports=zt():ae.exports=Pt()),ae.exports}var e=Tt(),Pe={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Te=g.createContext&&g.createContext(Pe),Rt=["attr","size","title"];function Lt(r,a){if(r==null)return{};var s,n,o=Bt(r,a);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(r);for(n=0;n<c.length;n++)s=c[n],a.indexOf(s)===-1&&{}.propertyIsEnumerable.call(r,s)&&(o[s]=r[s])}return o}function Bt(r,a){if(r==null)return{};var s={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(a.indexOf(n)!==-1)continue;s[n]=r[n]}return s}function se(){return se=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var s=arguments[a];for(var n in s)({}).hasOwnProperty.call(s,n)&&(r[n]=s[n])}return r},se.apply(null,arguments)}function Re(r,a){var s=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);a&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),s.push.apply(s,n)}return s}function ne(r){for(var a=1;a<arguments.length;a++){var s=arguments[a]!=null?arguments[a]:{};a%2?Re(Object(s),!0).forEach(function(n){At(r,n,s[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(s)):Re(Object(s)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(s,n))})}return r}function At(r,a,s){return(a=Ft(a))in r?Object.defineProperty(r,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):r[a]=s,r}function Ft(r){var a=Mt(r,"string");return typeof a=="symbol"?a:a+""}function Mt(r,a){if(typeof r!="object"||!r)return r;var s=r[Symbol.toPrimitive];if(s!==void 0){var n=s.call(r,a);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(r)}function Le(r){return r&&r.map((a,s)=>g.createElement(a.tag,ne({key:s},a.attr),Le(a.child)))}function L(r){return a=>g.createElement(It,se({attr:ne({},r.attr)},a),Le(r.child))}function It(r){var a=s=>{var n=r.attr,o=r.size,c=r.title,f=Lt(r,Rt),h=o||s.size||"1em",d;return s.className&&(d=s.className),r.className&&(d=(d?d+" ":"")+r.className),g.createElement("svg",se({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},s.attr,n,f,{className:d,style:ne(ne({color:r.color||s.color},s.style),r.style),height:h,width:h,xmlns:"http://www.w3.org/2000/svg"}),c&&g.createElement("title",null,c),r.children)};return Te!==void 0?g.createElement(Te.Consumer,null,s=>a(s)):a(Pe)}function Dt(r){return L({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:[]}]})(r)}const Be=_t.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}}),q=Ot.forwardRef(({className:r,variant:a,size:s,iconOnly:n,loading:o=!1,disabled:c,leftIcon:f,rightIcon:h,children:d,type:m="button",...u},p)=>e.jsx("button",{ref:p,type:m,disabled:c||o,className:l.cn(Be({variant:a,size:s,iconOnly:n}),r),...u,children:o?e.jsx(Dt,{className:"animate-spin","aria-hidden":!0}):e.jsxs(e.Fragment,{children:[f,d,h]})}));q.displayName="Button";function Vt(r){return L({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:[]}]})(r)}function $t(r){return L({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:[]}]})(r)}function Ae(r){return L({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:[]}]})(r)}function Fe(r){return L({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:[]}]})(r)}function Wt(r){return L({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:[]}]})(r)}const qt=({quote:r,authorName:a,authorAvatarUrl:s,meta:n,rating:o=5,className:c="",...f})=>e.jsxs("div",{className:l.cn("flex flex-col gap-3 rounded-lg bg-[#f6f5ff] p-4",c),...f,children:[e.jsx("p",{className:"w-full wrap-break-word text-xs font-normal text-[#1d2125] mb-4",children:r}),e.jsxs("div",{className:"flex w-full items-start gap-x-2.5",children:[s?e.jsx("img",{src:s,alt:"",className:"h-10.5 w-10.5 shrink-0 rounded-full object-cover"}):e.jsx("div",{className:"h-10.5 w-10.5 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-2",children:[e.jsx("span",{className:"truncate text-base font-bold text-[#1d2125]",children:a}),e.jsx("span",{className:"flex items-center gap-0.5 text-amber-500","aria-hidden":!0,children:Array.from({length:Math.max(0,Math.min(5,o))},(h,d)=>e.jsx(Ae,{size:12},d))})]}),e.jsx("p",{className:"text-xs font-medium text-gray-500",children:n})]})]})]});function Me(r){return L({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:[]}]})(r)}function Ht(r){return L({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:[]}]})(r)}function ie(r){return L({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:[]}]})(r)}function Ie(r){return L({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:[]}]})(r)}function Yt(r){return L({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:[]}]})(r)}function le(r){return L({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:[]}]})(r)}function xe(r){return L({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:[]}]})(r)}function Ut(r){return L({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:[]}]})(r)}function De(r){return L({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:[]}]})(r)}function Ve(r){return L({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:[]}]})(r)}const $e=({title:r="अक्सर पूछे जाने वाले प्रश्न",items:a,initialVisibleCount:s=6,showCta:n=!0,defaultExpanded:o=!1,ctaExpandLabel:c="और देखें",ctaCollapseLabel:f="कम देखें",defaultOpenIndex:h=-1,className:d=""})=>{const[m,u]=g.useState(o),[p,w]=g.useState(h),y=n&&a.length>s,E=y&&!m?a.slice(0,s):a;return e.jsxs("div",{className:l.cn("flex flex-col items-center gap-5 bg-white px-4 py-6",d),children:[e.jsx("h2",{className:"px-4 text-center text-base font-bold text-[#1d2125]",children:r}),e.jsx("div",{className:"flex w-full flex-col gap-3",children:E.map((O,_)=>{const N=p===_;return e.jsxs("div",{className:"w-full rounded-lg border border-[#d1d5db] bg-white",children:[e.jsxs("button",{type:"button",className:"flex w-full items-center justify-between gap-2 p-3 text-left",onClick:()=>w(N?-1:_),"aria-expanded":N,"aria-controls":`faq-answer-${_}`,id:`faq-question-${_}`,children:[e.jsx("span",{className:"flex-1 text-sm font-medium text-[#1d2125]",children:O.question}),e.jsx(le,{size:24,className:l.cn("shrink-0 transition-transform duration-200",N?"rotate-180":""),"aria-hidden":!0})]}),e.jsx("div",{id:`faq-answer-${_}`,role:"region","aria-labelledby":`faq-question-${_}`,hidden:!N,children:e.jsx("p",{className:"px-3 pb-3 text-sm text-gray-500",children:O.answer})})]},_)})}),y&&e.jsx(q,{variant:"secondary",size:"lg",className:"w-full",onClick:()=>u(O=>!O),"aria-expanded":m,rightIcon:e.jsx(le,{size:24,className:l.cn("shrink-0 transition-transform duration-200",m?"rotate-180":""),"aria-hidden":!0}),children:m?f:c})]})},We=g.forwardRef(({src:r,poster:a,className:s="",rounded:n=!0,width:o,height:c},f)=>{const[h,d]=g.useState(!1),[m,u]=g.useState(!0),[p,w]=g.useState(!1),[y,E]=g.useState(0),[O,_]=g.useState(0),N=g.useRef(null),v=o!==void 0||c!==void 0,T=l.cn("block w-full",v&&"h-full object-cover"),k=R=>{const $=Number(R.target.value);E($),N.current&&(N.current.currentTime=$)};return e.jsx("div",{ref:f,style:{width:o,height:c},className:l.cn("relative w-full overflow-hidden",n&&"rounded-2xl",s),children:h?e.jsxs(e.Fragment,{children:[e.jsx(St,{ref:N,src:r,poster:a,playing:m,muted:p,width:o,height:c,className:T,onTimeUpdate:R=>E(R.currentTarget.currentTime),onDurationChange:R=>_(R.currentTarget.duration),onEnded:()=>u(!1)}),e.jsx(q,{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:()=>u(R=>!R),children:m?e.jsx(Wt,{size:16}):e.jsx(Fe,{size:16,className:"translate-x-0.5"})}),e.jsx(q,{variant:"ghost",iconOnly:!0,size:"sm","aria-label":p?"Unmute":"Mute",className:"absolute left-2 top-2 text-white hover:bg-white/10",onClick:()=>w(R=>!R),children:p?e.jsx($t,{size:14}):e.jsx(Vt,{size:14})}),e.jsx("input",{type:"range",min:0,max:O||0,step:.1,value:y,onChange:k,"aria-label":"Seek",className:"absolute bottom-4 left-5 right-5 h-1 accent-white"})]}):e.jsxs(e.Fragment,{children:[e.jsx("img",{src:a,alt:"",className:T}),e.jsx("div",{className:"absolute inset-0 bg-linear-to-b from-black/0 to-black/60"}),e.jsx(q,{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:()=>d(!0),children:e.jsx(Fe,{size:16,className:"translate-x-0.5"})})]})})});We.displayName="VideoPlayer";const Gt=()=>e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163707447.svg",alt:"",width:24,height:24}),he=g.forwardRef(({options:r,value:a,onChange:s,defaultOpen:n=!1,open:o,onOpenChange:c,className:f="",triggerClassName:h="",menuClassName:d="",...m},u)=>{const[p,w]=g.useState(n),y=o!==void 0,E=y?o:p,O=g.useCallback(v=>{y||w(v),c?.(v)},[y,c]),_=g.useRef(null);g.useImperativeHandle(u,()=>_.current),g.useEffect(()=>{if(!E)return;const v=k=>{_.current?.contains(k.target)||O(!1)},T=k=>{k.key==="Escape"&&O(!1)};return document.addEventListener("mousedown",v),document.addEventListener("keydown",T),()=>{document.removeEventListener("mousedown",v),document.removeEventListener("keydown",T)}},[E,O]);const N=v=>{s?.(v.value),O(!1)};return e.jsxs("div",{ref:_,className:l.cn("relative inline-block",f),...m,children:[e.jsxs("button",{type:"button",onClick:()=>O(!E),"aria-label":"Switch language","aria-haspopup":"listbox","aria-expanded":E,className:l.cn("inline-flex items-center gap-1 rounded-full border border-gray-200 bg-white px-2 py-1",h),children:[e.jsx(Gt,{}),e.jsx(le,{size:24,className:l.cn("transition-transform duration-200",E?"rotate-180":""),"aria-hidden":!0})]}),E&&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",d),children:r.map(v=>{const T=v.value===a;return e.jsx("li",{role:"option","aria-selected":T,children:e.jsx("button",{type:"button",onClick:()=>N(v),className:l.cn("block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",T?"font-medium text-[#f75e22]":"text-[#1d2125]"),children:v.label})},v.value)})})]})});he.displayName="LanguageSwitcher";function Zt({onBackClick:r,backButtonAriaLabel:a="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:r,"aria-label":a,className:"flex size-8 shrink-0 items-center justify-center rounded-lg border-0 bg-transparent p-0 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.1)]",children:e.jsx(Ve,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx(he,{options:n,value:s,onChange:o,menuClassName:"left-auto right-0"})]})}const qe=g.forwardRef(({label:r,selected:a=!1,onClick:s,icon:n,className:o,type:c="button",...f},h)=>e.jsxs("button",{ref:h,type:c,onClick:s,"aria-pressed":a,className:l.cn("inline-flex shrink-0 items-center justify-center gap-1 rounded-full border font-['Noto_Sans'] text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",a?"border-[#f38415] bg-[#f38415] px-4 py-1.5 text-white":"border-[#fccf9a] bg-[#ffffff66] px-3 py-1.5 text-[#374151] hover:bg-white/70",o),...f,children:[n,r]}));qe.displayName="Chip";const Kt=({quote:r,currentStep:a,totalSteps:s,className:n,...o})=>{const c=s>0?Math.min(100,Math.max(0,a/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:r}),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:[a,"/",s]})]})};function Jt(r){return L({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:[]}]})(r)}function Qt(r){return L({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:[]}]})(r)}const He=1.25,Ye=[{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}],Xt=({animate:r,iconIndex:a})=>e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",children:Ye.map((s,n)=>e.jsx("rect",{x:s.x,y:s.y,width:He,height:s.height,rx:He/2,fill:"#6B7280",className:r?"wave-bar-anim":"",style:{animationDelay:`${(a*Ye.length+n)*60}ms`}},n))}),er=({avatarUrl:r,question:a,description:s,audioSrc:n,className:o,...c})=>{const f=g.useRef(null),h=g.useRef(!1),[d,m]=g.useState(!1),[u,p]=g.useState(!1);g.useEffect(()=>{!n||h.current||(h.current=!0,f.current?.play().catch(()=>{}))},[n]);const w=()=>{const y=f.current;y&&(y.muted=!y.muted,m(y.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:r,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:[a,s,n&&e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("audio",{ref:f,src:n,onPlay:()=>p(!0),onPause:()=>p(!1),onEnded:()=>p(!1)}),e.jsx("button",{type:"button",onClick:w,"aria-label":d?"Unmute":"Mute","aria-pressed":d,className:"flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",children:d?e.jsx(Qt,{size:18,className:"text-[#f75e22]"}):e.jsx(Jt,{size:18,className:"text-[#f75e22]"})}),e.jsx("div",{className:"flex items-center gap-[1.5px]",children:[0,1,2].map(y=>e.jsx(Xt,{animate:u&&!d,iconIndex:y},y))})]})]})]})]})},tr={sm:"size-9",md:"size-11",lg:"size-16"},pe=g.forwardRef(({icon:r,avatarUrl:a,alt:s="",size:n="md",className:o,...c},f)=>e.jsx("div",{ref:f,className:l.cn("flex shrink-0 items-center justify-center overflow-hidden rounded-full",tr[n],!a&&"bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",o),"aria-hidden":a?void 0:!0,...c,children:a?e.jsx("img",{src:a,alt:s,className:"size-full object-cover"}):r}));pe.displayName="IconBadge";const me=g.forwardRef(({selected:r=!1,onSelect:a,icon:s,avatarUrl:n,iconSize:o="md",iconClassName:c,title:f,description:h,badge:d,showRadio:m=!0,radioVariant:u="dot",radioClassName:p,tag:w,tagClassName:y,children:E,className:O,disabled:_,type:N="button",...v},T)=>e.jsxs("div",{className:l.cn("relative overflow-visible rounded-2xl border transition-colors",r?"border-[#f38415] bg-[#FEF5E9]":"border-gray-200 bg-white",_&&"opacity-50",O),children:[w&&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",y),children:w}),e.jsxs("button",{ref:T,type:N,role:"radio","aria-checked":r,disabled:_,onClick:a,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",w&&"pt-7"),...v,children:[(s||n)&&e.jsx(pe,{icon:s,avatarUrl:n,size:o,className:c}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"font-['Noto_Sans'] text-[14px] leading-5 font-bold text-[#1d2125]",children:f}),h&&!E&&e.jsx("p",{className:"mt-0.5 text-[13px] leading-4.5 text-gray-500",children:h})]}),d&&e.jsx("span",{className:"shrink-0",children:d}),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",r?u==="check"?l.cn("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white",p):"border-[#f75e22]":"border-gray-300"),children:[r&&u==="dot"&&e.jsx("span",{className:l.cn("size-3.5 rounded-full bg-linear-to-b from-[#f97e4e] to-[#f75e22]",p)}),r&&u==="check"&&e.jsx(xe,{size:14,"aria-hidden":!0})]})]}),E]}));me.displayName="SelectorCard";const rr=({value:r,onClick:a,className:s,...n})=>e.jsxs("div",{role:a?"button":void 0,tabIndex:a?0:void 0,onClick:a,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",a&&"cursor-pointer",s),...n,children:[e.jsx(Ie,{size:16,className:"shrink-0 text-gray-900","aria-hidden":!0}),e.jsx("span",{className:"truncate text-[15px] font-medium text-gray-900",children:r})]}),ar=({value:r,onInfoClick:a,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:r}),a?e.jsx("button",{type:"button",onClick:a,"aria-label":s,className:"shrink-0 border-0 bg-transparent p-0 text-gray-700",children:e.jsx(ie,{size:18,"aria-hidden":!0})}):e.jsx(ie,{size:18,className:"shrink-0 text-gray-700","aria-hidden":!0})]}),Ue=({value:r,className:a,...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",a),...s,children:r}),Ge=({className:r,children:a,...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]",r),...s,children:a}),sr=({value:r,onIncrement:a,onDecrement:s,min:n=0,max:o,addLabel:c="Add",className:f})=>r<=n?e.jsxs("button",{type:"button",onClick:a,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] font-['Noto_Sans'] text-base font-bold text-white",f),children:[e.jsx(Me,{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",f),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(Ht,{size:18,"aria-hidden":!0})}),e.jsx("span",{className:"min-w-[1ch] text-center font-['Noto_Sans'] text-base font-bold",children:r}),e.jsx("button",{type:"button",onClick:a,disabled:o!==void 0&&r>=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(Me,{size:18,"aria-hidden":!0})})]}),Ze=({title:r,description:a,price:s,originalPrice:n,action:o,className:c,...f})=>e.jsx("div",{className:l.cn("rounded-2xl border border-gray-200 bg-white p-4",c),...f,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:"font-['Noto_Sans'] text-[15px] leading-5 font-bold text-[#1d2125]",children:r}),a&&e.jsx("p",{className:"mt-1 text-sm leading-5 text-gray-500",children:a})]}),e.jsxs("div",{className:"flex shrink-0 flex-col items-end gap-2",children:[e.jsxs("div",{className:"flex items-baseline gap-1.5 whitespace-nowrap",children:[n&&e.jsx("span",{className:"text-sm text-gray-400 line-through",children:n}),e.jsx("span",{className:"text-[15px] font-bold text-[#1d2125]",children:s})]}),o]})]})}),nr=({children:r="Change",className:a,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",a),...n,children:[e.jsx(Ie,{size:14,"aria-hidden":!0}),r]}),ir=({children:r="Added",className:a,type:s="button",...n})=>e.jsxs("button",{type:s,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",a),...n,children:[e.jsx(xe,{size:14,"aria-hidden":!0}),r]}),Ke=({image:r,imageAlt:a="",title:s,description:n,price:o,originalPrice:c,tag:f,tagClassName:h,action:d,className:m,...u})=>e.jsxs("div",{className:l.cn("overflow-hidden rounded-2xl border border-gray-100 bg-white shadow-sm",m),...u,children:[f&&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",h),children:f}),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:"font-['Noto_Sans'] text-sm leading-5 font-bold text-[#232323]",children:s}),n&&e.jsx("p",{className:" font-['Noto_Sans'] mt-1 text-xs leading-4 text-[#6B7280]",children:n}),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:o}),c&&e.jsx("span",{className:"text-sm text-gray-400 line-through",children:c})]})]}),e.jsxs("div",{className:"relative w-30 h-34.25 shrink-0",children:[e.jsx("img",{src:r,alt:a,className:"size-30 rounded-2xl object-cover"}),d&&e.jsx("div",{className:"absolute bottom-0 left-1/2 -translate-x-1/2",children:d})]})]})]});function lr(r){return L({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:[]}]})(r)}function or(r){return L({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:[]}]})(r)}function cr(r){return L({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:[]}]})(r)}const dr=[{id:"money-back",icon:e.jsx(or,{"aria-hidden":!0}),label:"100% Money Back Guarantee"},{id:"no-hidden-cost",icon:e.jsx(lr,{"aria-hidden":!0}),label:"No Hidden Cost"},{id:"24x7-support",icon:e.jsx(cr,{"aria-hidden":!0}),label:"24x7 Support"}],Je=({badges:r=dr,badgeClassName:a,className:s,...n})=>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",s),...n,children:r.map(o=>e.jsxs("span",{className:l.cn("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700",a,o.className),children:[e.jsx("span",{className:"shrink-0 text-base text-gray-700","aria-hidden":!0,children:o.icon}),o.label]},o.id))}),Qe=({amount:r,amountClassName:a,subtitle:s,subtitleClassName:n,showInfoIcon:o=!0,onInfoClick:c,infoIconClassName:f,proceedLabel:h="Proceed",proceedIcon:d=e.jsx(De,{"aria-hidden":!0}),onProceed:m,proceedButtonProps:u,buttonWrapperClassName:p,className:w,...y})=>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)]",w),...y,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]",a),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(ie,{size:18,"aria-hidden":!0})})]}),s&&e.jsx("p",{className:l.cn("mt-1 text-sm text-gray-500",n),children:s})]}),e.jsx("div",{className:l.cn("shrink-0",p),children:e.jsxs(q,{variant:"primary",size:"xl",onClick:m,...u,className:l.cn("min-w-40 justify-center gap-2",u?.className),children:[h,d]})})]}),ur=({title:r,description:a,benefits:s,options:n,value:o,onChange:c,radioVariant:f="dot",radiogroupLabel:h,className:d,headerClassName:m,benefitsClassName:u,optionsClassName:p,trustBadges:w,checkout:y,stickyFooter:E=!0,footerClassName:O})=>e.jsxs("div",{className:l.cn("w-full",d),children:[e.jsxs("div",{className:l.cn("px-4 pt-5 pb-4",m),children:[e.jsx("p",{className:"font-['Noto_Sans'] text-[20px] leading-6.5 font-extrabold text-[#1d2125]",children:r}),a&&e.jsx("p",{className:"mt-2 text-[14px] leading-5.5 text-gray-500",children:a})]}),s&&s.length>0&&e.jsx("div",{className:l.cn("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5",u),children:s.map((_,N)=>e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(xe,{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:_})]},N))}),e.jsx("div",{role:"radiogroup","aria-label":h??(typeof r=="string"?r:void 0),className:l.cn("flex flex-col gap-3 p-4",p),children:n.map(_=>{const{id:N,price:v,free:T,badge:k,priceBadgeProps:R,note:$,noteProps:Y,children:W,iconClassName:H,radioVariant:F,...ee}=_,U=o===N,D=k??(v==null?void 0:T?e.jsx("span",{className:l.cn("text-sm font-medium text-gray-400",R?.className),...R,children:v}):e.jsx(Ue,{value:v,...R}));return e.jsx(me,{...ee,iconClassName:l.cn("size-10",H),radioVariant:F??f,badge:D,selected:U,onSelect:()=>c(N),children:W??(U&&$&&e.jsx(Ge,{...Y,children:$}))},N)})}),(w||y)&&e.jsxs("div",{className:l.cn(E&&"sticky bottom-0 z-10",O),children:[w&&e.jsx(Je,{...w}),y&&e.jsx(Qe,{...y})]})]}),Xe=({icon:r=e.jsx(Ae,{"aria-hidden":!0}),iconClassName:a,title:s,titleClassName:n,subtitle:o,subtitleItems:c,subtitleClassName:f,cardClassName:h,className:d,...m})=>e.jsx("div",{className:l.cn("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6",d),...m,children:e.jsxs("div",{className:l.cn("rounded-2xl bg-white p-4 shadow-sm",h),children:[e.jsxs("p",{className:l.cn("flex items-center gap-2 text-sm font-bold text-[#db2777]",n),children:[r&&e.jsx("span",{className:l.cn("shrink-0 text-sm",a),children:r}),s]}),(o||c&&c.length>0)&&e.jsx("p",{className:l.cn("mt-2 text-[15px] font-semibold text-[#1d2125]",f),children:c&&c.length>0?c.map((u,p)=>e.jsxs(g.Fragment,{children:[p>0&&e.jsx("span",{className:"mx-1.5 text-gray-400",children:"•"}),u]},p)):o})]})}),et=({title:r="Bill Details",titleClassName:a,rows:s,rowClassName:n,showTitleAccent:o=!0,totalLabel:c="Total Amount",totalValue:f,totalClassName:h,className:d,...m})=>e.jsxs("div",{className:l.cn("bg-white px-4 py-6",d),...m,children:[e.jsxs("h2",{className:l.cn("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]",a),children:[o&&e.jsx("span",{"aria-hidden":!0,className:"block h-5 w-1 shrink-0 rounded-full bg-[#f75e22]"}),r]}),e.jsx("div",{className:"flex flex-col gap-4",children:s.map(u=>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]",u.labelClassName),children:u.label}),u.subLabel&&e.jsx("p",{className:l.cn("mt-0.5 text-xs text-gray-400",u.subLabelClassName),children:u.subLabel})]}),e.jsxs("div",{className:"flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm",children:[u.note&&e.jsx("span",{className:"text-gray-400",children:u.note}),u.originalValue&&e.jsx("span",{className:"text-gray-400 line-through",children:u.originalValue}),e.jsx("span",{className:l.cn("font-medium text-[#1d2125]",u.valueClassName),children:u.value})]})]},u.id))}),f!==void 0&&e.jsxs("div",{className:l.cn("mt-4 flex items-center justify-between border-t border-dashed border-gray-300 pt-4",h),children:[e.jsx("span",{className:"text-base font-bold text-[#1d2125]",children:c}),e.jsx("span",{className:"text-base font-bold text-emerald-600",children:f})]})]}),fr=({headerTitle:r="Review your booking",onBack:a,backButtonAriaLabel:s="Go back",headerClassName:n,backButtonClassName:o,headerTitleClassName:c,summary:f,items:h,itemsClassName:d,itemClassName:m,upsellsTitle:u="Add services for all ancestors",upsellsDescription:p,upsells:w,upsellsSectionClassName:y,upsellsHeaderClassName:E,upsellsTitleClassName:O,upsellsDescriptionClassName:_,upsellsClassName:N,upsellClassName:v,billDetails:T,faq:k,className:R,children:$,...Y})=>e.jsxs("div",{className:l.cn("flex flex-col bg-white",R),...Y,children:[(r||a)&&e.jsxs("div",{className:l.cn("flex items-center gap-3 px-4 py-3",n),children:[a&&e.jsx("button",{type:"button",onClick:a,"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(Ve,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),r&&e.jsx("h1",{className:l.cn("text-lg font-bold text-[#1d2125]",c),children:r})]}),f&&e.jsx(Xe,{...f}),h&&h.length>0&&e.jsx("div",{className:l.cn("flex flex-col gap-3 bg-white px-4 py-4",d),children:h.map(({id:W,className:H,...F})=>e.jsx(Ze,{className:l.cn(m,H),...F},W))}),w&&w.length>0&&e.jsxs("div",{className:l.cn("flex flex-col gap-4 bg-gray-50 px-4 py-6",y),children:[(u||p)&&e.jsxs("div",{className:E,children:[u&&e.jsx("h2",{className:l.cn("text-base font-bold text-gray-700",O),children:u}),p&&e.jsx("p",{className:l.cn("mt-1 text-sm text-gray-500",_),children:p})]}),e.jsx("div",{className:l.cn("flex flex-col gap-4",N),children:w.map(({id:W,className:H,...F})=>e.jsx(Ke,{className:l.cn(v,H),...F},W))})]}),T&&e.jsx(et,{...T}),k&&e.jsx($e,{...k}),$]}),ge=g.forwardRef(({label:r,value:a,onChange:s,prefix:n,showCharCount:o=!1,supportingText:c,error:f=!1,className:h,containerClassName:d,wrapperClassName:m,maxLength:u,id:p,...w},y)=>{const E=g.useId(),O=p??E,_=c??(o?`${a.length}${u?`/${u}`:""}`:void 0);return e.jsxs("div",{className:l.cn("flex w-full flex-col gap-2",d),children:[r&&e.jsx("label",{htmlFor:O,className:"text-[14px] leading-5 font-semibold text-[#6b7280]",children:r}),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",f?"border-[#ef4444]":"border-[#d1d5db]",m),children:[n&&e.jsx("span",{className:"shrink-0 text-[16px] leading-5.5 font-medium text-[#6b7280]",children:n}),e.jsx("input",{ref:y,id:O,value:a,maxLength:u,onChange:N=>s(N.target.value),"aria-invalid":f,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",h),...w})]}),_&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#9ca3af]",children:_})]})]})});ge.displayName="TextField";function xr({isOpen:r,onClose:a,avatarUrl:s,heading:n,tithis:o,confirmLabel:c,onConfirm:f,initialTithi:h}){const[d,m]=g.useState(h),u=()=>{d&&f(d)};return e.jsx(l.BottomSheet,{isOpen:r,onClose:a,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(q,{variant:"primary",size:"md",className:"w-full rounded-xl",disabled:!d,onClick:u,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(p=>{const w=d===p;return e.jsx("button",{type:"button",onClick:()=>m(p),className:`flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${w?"border-[#f38415] bg-[#f38415] text-white":"border-[#fccf9a] bg-white/40 text-[#374151]"}`,children:p},p)})})})}const oe=48;function be({options:r,selectedIndex:a,onChange:s}){const n=g.useRef(null),o=g.useRef(!1);g.useEffect(()=>{o.current||!n.current||(o.current=!0,n.current.scrollTop=a*oe)},[]);const c=()=>{if(!n.current)return;const f=Math.round(n.current.scrollTop/oe),h=Math.max(0,Math.min(r.length-1,f));h!==a&&s(h)};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:oe},"aria-hidden":!0}),r.map((f,h)=>e.jsx("div",{className:`flex h-12 snap-center items-center justify-center whitespace-nowrap text-[20px] leading-7 ${h===a?"font-bold text-[#f75e22]":"font-semibold text-[#d1d5db]"}`,children:f},f)),e.jsx("div",{style:{height:oe},"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 ve=Array.from({length:31},(r,a)=>a+1);function hr({isOpen:r,onClose:a,avatarUrl:s,heading:n,monthLabels:o,confirmLabel:c,onConfirm:f,timezoneLabel:h,initialDate:d,minYear:m,maxYear:u=new Date().getFullYear()}){const p=g.useMemo(()=>{const T=m??u-120;return Array.from({length:u-T+1},(k,R)=>T+R)},[m,u]),[w,y]=g.useState(()=>d?d.day-1:Math.floor(ve.length/2)),[E,O]=g.useState(()=>d?d.month-1:0),[_,N]=g.useState(()=>d?Math.max(0,p.indexOf(d.year)):Math.floor(p.length/2)),v=()=>{f({day:ve[w],month:E+1,year:p[_]})};return e.jsx(l.BottomSheet,{isOpen:r,onClose:a,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:[h&&e.jsx("p",{className:"shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]",children:h}),e.jsx(q,{variant:"primary",size:"md",className:"flex-1 rounded-xl",onClick:v,children:c})]})]}),children:e.jsxs("div",{className:"flex w-full items-center justify-center gap-11 px-5 py-4",children:[e.jsx(be,{options:ve.map(String),selectedIndex:w,onChange:y}),e.jsx(be,{options:o,selectedIndex:E,onChange:O}),e.jsx(be,{options:p.map(String),selectedIndex:_,onChange:N})]})})}function pr({isOpen:r,onClose:a,heading:s,subtext:n,confirmLabel:o,onConfirm:c,initialValue:f="",countries:h=l.DEFAULT_COUNTRIES,initialCountryIso:d="IN"}){const[m,u]=g.useState(()=>h.find(k=>k.iso===d)??h[0]),[p,w]=g.useState(f),[y,E]=g.useState(!1),O=g.useRef(null);g.useEffect(()=>{if(!y)return;const k=R=>{O.current&&!O.current.contains(R.target)&&E(!1)};return document.addEventListener("mousedown",k),()=>document.removeEventListener("mousedown",k)},[y]);const _=l.getMaxLengthForCountry(m.code),N=l.validatePhoneByCountryCode(p,m.code).isValid&&p.length>0,v=k=>{u(k),E(!1),w(R=>R.slice(0,l.getMaxLengthForCountry(k.code)))},T=()=>{N&&c(p,m)};return e.jsx(l.BottomSheet,{isOpen:r,onClose:a,showDragHandle:!0,closeButtonOutside:!0,ariaLabel:s,footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(q,{variant:"primary",size:"xl",className:"w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",rightIcon:e.jsx(De,{"aria-hidden":!0}),disabled:!N,onClick:T,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:O,className:"relative shrink-0",children:[e.jsxs("button",{type:"button",onClick:()=>E(k=>!k),"aria-expanded":y,"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(le,{size:24,className:"text-[#1d2125]","aria-hidden":!0})]}),y&&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:h.map(k=>e.jsxs("button",{type:"button",role:"option","aria-selected":k.iso===m.iso,onClick:()=>v(k),className:`flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${k.iso===m.iso?"bg-[#fff9e9]":""}`,children:[e.jsx("span",{className:"text-[16px]","aria-hidden":!0,children:l.getFlagEmoji(k.iso)}),e.jsx("span",{className:"text-[14px] font-medium text-[#1d2125]",children:k.code}),e.jsx("span",{className:"truncate text-[12px] text-[#6b7280]",children:k.name})]},`${k.iso}-${k.code}`))})]}),e.jsx(ge,{type:"tel",inputMode:"numeric",value:p,maxLength:_,onChange:k=>w(k.replace(/\D/g,"").slice(0,_)),containerClassName:"w-auto flex-1 gap-0",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"})]})]})})}function mr(r){return L({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:[]}]})(r)}function gr(r){return L({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:[]}]})(r)}const br="https://srm-cdn.a4b.io/yoda/1788253585577.svg";function vr({chipNumber:r,chipLabel:a,isAdded:s,onEditClick:n,editButtonAriaLabel:o="Edit",onExpandClick:c,expandButtonAriaLabel:f="Expand",imageUrl:h,imageAlt:d,imageComponent:m,ratingLabel:u,bookedLabel:p,title:w,description:y,learnMoreLabel:E,onLearnMoreClick:O,learnMoreHref:_,dateLabel:N,locationLabel:v,priceInfoLabel:T,onPriceInfoClick:k,price:R,cta:$,className:Y=""}){const[W,H]=g.useState(!1),F=s||W,ee=F&&(u!=null||p!=null),U=F&&(N!=null||v!=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 ${F?"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)]"} ${Y}`,children:[e.jsxs("div",{className:`flex w-full items-center justify-between gap-1 px-3 ${F?"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:r}),e.jsx("p",{className:"min-w-0 flex-1 text-xs font-semibold leading-4 text-[#1d0d38]",children:a})]}),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(mr,{"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:()=>{H(D=>!D),c?.()},"aria-label":f,"aria-expanded":W,children:e.jsx(gr,{"aria-hidden":!0,className:`size-8 text-[#1D2125] ${W?"":"-scale-y-100"}`})})]})]}),F&&h!=null&&e.jsx("div",{className:"h-[140px] w-full overflow-hidden rounded-xl",children:m?e.jsx(m,{src:h,alt:d??"",className:"size-full object-cover"}):e.jsx("img",{src:h,alt:d,className:"size-full object-cover"})}),ee&&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:[u!=null&&e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]",children:u}),u!=null&&p!=null&&e.jsx("span",{className:"size-1.5 shrink-0 rounded-full bg-[#4b5513]","aria-hidden":!0}),p!=null&&e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]",children:p})]}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-3",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:w}),F&&y!=null&&e.jsx("p",{className:"w-full text-xs font-normal leading-4 text-gray-500",children:y})]}),F&&E!=null&&e.jsxs("a",{href:_,className:"inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#e6327a] underline",onClick:O,children:[E,e.jsx(Yt,{"aria-hidden":!0,className:"size-3.5 text-[#F75E22]"})]}),U&&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:[N!=null&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx(Ut,{"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:N})]}),v!=null&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx("img",{src:br,alt:"","aria-hidden":!0,className:"size-3.5 shrink-0"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:v})]})]})]}),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:[T!=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:T}),k&&e.jsx("button",{type:"button",className:"flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:k,"aria-label":"More info",children:e.jsx(ie,{"aria-hidden":!0,className:"size-4 text-[#1D2125]"})})]}),e.jsx("p",{className:"whitespace-nowrap text-lg font-bold leading-6 text-[#159169]",children:R})]}),e.jsx("div",{className:"shrink-0",children:$})]})]})]})}const jr={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"},yr={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]"},wr={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 Nr({variant:r="primary",size:a="md",leftIcon:s,children:n,className:o="",style:c,type:f="button",...h}){return e.jsxs("button",{type:f,className:`inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${yr[a]} ${jr[r]} ${o}`,style:{...wr[r],...c},...h,children:[s,n]})}function kr({className:r="size-5"}){return e.jsx("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,className:r,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:r="size-5"}){return e.jsx("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,className:r,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 tt="https://srm-cdn.a4b.io/yoda/1788256892735.svg",_r="https://srm-cdn.a4b.io/yoda/1788256910547.svg",Sr="https://srm-cdn.a4b.io/yoda/1788256867970.svg",Er="https://srm-cdn.a4b.io/yoda/1788256921651.svg",Or="https://srm-cdn.a4b.io/yoda/1788256935709.svg",zr="https://srm-cdn.a4b.io/yoda/1788256949665.svg";function Pr({variant:r}){return e.jsxs("div",{className:"relative size-10 shrink-0 overflow-clip rounded-full",children:[r==="pandits"&&e.jsxs(e.Fragment,{children:[e.jsx("img",{src:tt,alt:"","aria-hidden":!0,className:"absolute left-[-6px] top-[12.2px] size-[25.6px]"}),e.jsx("img",{src:tt,alt:"","aria-hidden":!0,className:"absolute left-[21px] top-[12.2px] size-[25.6px]"}),e.jsx("img",{src:_r,alt:"","aria-hidden":!0,className:"absolute left-[1.98px] top-[5.98px] size-[36.045px]"})]}),r==="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:Sr,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})})]}),r==="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:Er,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:Or,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:zr,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})})]})]})}const Tr="https://srm-cdn.a4b.io/yoda/1788256961374.svg",rt="https://srm-cdn.a4b.io/yoda/1788256971870.svg";function Rr({badgeLabel:r,headingPrefix:a,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:rt,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:rt,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:Tr,alt:"Sri Mandir",className:"relative z-10 h-[53px] w-auto object-contain"})]}),e.jsxs("p",{className:"text-xs font-semibold text-[#d51f68]",children:["✦ ",r," ✦"]})]}),e.jsxs("p",{className:"px-4 text-center text-[18px] font-bold leading-6 text-[#22272b]",children:[a,s," ",n," ",o]}),e.jsx("div",{className:"flex w-full items-start justify-center gap-3",children:c.map(f=>e.jsxs("div",{className:"flex w-25 flex-col items-center gap-1 py-2",children:[e.jsx(Pr,{variant:f.variant}),e.jsx("p",{className:"w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]",children:f.text})]},f.variant))})]})}Object.defineProperty(b,"cn",{enumerable:!0,get:()=>l.cn}),b.AudioQuestionCard=er,b.BillDetails=et,b.BookingSummaryBanner=Xe,b.Button=q,b.CartReviewAddedBadge=ir,b.CartReviewChangeButton=nr,b.CartReviewItem=Ze,b.CartView=fr,b.CheckIcon=Cr,b.CheckoutBar=Qe,b.Chip=qe,b.DatePickerSheet=hr,b.FAQSection=$e,b.IconBadge=pe,b.L2Card=vr,b.LanguageSwitcher=he,b.OutcomeButton=Nr,b.OutcomeSummary=Rr,b.PackageSelect=ur,b.PhoneNumberSheet=pr,b.PlusIcon=kr,b.QuantityStepper=sr,b.SelectorCard=me,b.SelectorCardEditableField=rr,b.SelectorCardInfoRow=ar,b.SelectorCardNote=Ge,b.SelectorCardPriceBadge=Ue,b.ServiceOfferCard=Ke,b.StepProgressHeader=Kt,b.TestimonialCard=qt,b.TextField=ge,b.TithiPickerSheet=xr,b.TopBar=Zt,b.TrustBadgesBar=Je,b.VideoPlayer=We,b.buttonVariants=Be,Object.defineProperty(b,Symbol.toStringTag,{value:"Module"})}));
|
|
14
|
+
<%s key={someKey} {...props} />`,Fe,te,ja,te),Mt[te+Fe]=!0}}return r===n?pa(B):ha(B),B}}function ma(r,i,h){return Vt(r,i,h,!0)}function ga(r,i,h){return Vt(r,i,h,!1)}var ba=ga,va=ma;ne.Fragment=n,ne.jsx=ba,ne.jsxs=va})()),ne}var Ve;function Gt(){return Ve||(Ve=1,process.env.NODE_ENV==="production"?le.exports=Ut():le.exports=qt()),le.exports}var e=Gt(),$e={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},We=b.createContext&&b.createContext($e),Kt=["attr","size","title"];function Zt(t,a){if(t==null)return{};var s,n,o=Jt(t,a);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);for(n=0;n<c.length;n++)s=c[n],a.indexOf(s)===-1&&{}.propertyIsEnumerable.call(t,s)&&(o[s]=t[s])}return o}function Jt(t,a){if(t==null)return{};var s={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(a.indexOf(n)!==-1)continue;s[n]=t[n]}return s}function oe(){return oe=Object.assign?Object.assign.bind():function(t){for(var a=1;a<arguments.length;a++){var s=arguments[a];for(var n in s)({}).hasOwnProperty.call(s,n)&&(t[n]=s[n])}return t},oe.apply(null,arguments)}function He(t,a){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);a&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),s.push.apply(s,n)}return s}function ce(t){for(var a=1;a<arguments.length;a++){var s=arguments[a]!=null?arguments[a]:{};a%2?He(Object(s),!0).forEach(function(n){Qt(t,n,s[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):He(Object(s)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(s,n))})}return t}function Qt(t,a,s){return(a=Xt(a))in t?Object.defineProperty(t,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[a]=s,t}function Xt(t){var a=er(t,"string");return typeof a=="symbol"?a:a+""}function er(t,a){if(typeof t!="object"||!t)return t;var s=t[Symbol.toPrimitive];if(s!==void 0){var n=s.call(t,a);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(t)}function Ye(t){return t&&t.map((a,s)=>b.createElement(a.tag,ce({key:s},a.attr),Ye(a.child)))}function R(t){return a=>b.createElement(tr,oe({attr:ce({},t.attr)},a),Ye(t.child))}function tr(t){var a=s=>{var n=t.attr,o=t.size,c=t.title,f=Zt(t,Kt),x=o||s.size||"1em",d;return s.className&&(d=s.className),t.className&&(d=(d?d+" ":"")+t.className),b.createElement("svg",oe({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},s.attr,n,f,{className:d,style:ce(ce({color:t.color||s.color},s.style),t.style),height:x,width:x,xmlns:"http://www.w3.org/2000/svg"}),c&&b.createElement("title",null,c),t.children)};return We!==void 0?b.createElement(We.Consumer,null,s=>a(s)):a($e)}function rr(t){return R({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 Ue=$t.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}}),U=Yt.forwardRef(({className:t,variant:a,size:s,iconOnly:n,loading:o=!1,disabled:c,leftIcon:f,rightIcon:x,children:d,type:g="button",...p},u)=>e.jsx("button",{ref:u,type:g,disabled:c||o,className:l.cn(Ue({variant:a,size:s,iconOnly:n}),t),...p,children:o?e.jsx(rr,{className:"animate-spin","aria-hidden":!0}):e.jsxs(e.Fragment,{children:[f,d,x]})}));U.displayName="Button";function ar(t){return R({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 sr(t){return R({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 qe(t){return R({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 Ge(t){return R({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 nr(t){return R({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 ir=({quote:t,authorName:a,authorAvatarUrl:s,meta:n,rating:o=5,className:c="",...f})=>e.jsxs("div",{className:l.cn("flex flex-col gap-3 rounded-lg bg-[#f6f5ff] p-4",c),...f,children:[e.jsx("p",{className:"w-full wrap-break-word text-xs font-normal text-[#1d2125] mb-4",children:t}),e.jsxs("div",{className:"flex w-full items-start gap-x-2.5",children:[s?e.jsx("img",{src:s,alt:"",className:"h-10.5 w-10.5 shrink-0 rounded-full object-cover"}):e.jsx("div",{className:"h-10.5 w-10.5 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-2",children:[e.jsx("span",{className:"truncate text-base font-bold text-[#1d2125]",children:a}),e.jsx("span",{className:"flex items-center gap-0.5 text-amber-500","aria-hidden":!0,children:Array.from({length:Math.max(0,Math.min(5,o))},(x,d)=>e.jsx(qe,{size:12},d))})]}),e.jsx("p",{className:"text-xs font-medium text-gray-500",children:n})]})]})]});function Ke(t){return R({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 lr(t){return R({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]}]})(t)}function de(t){return R({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 Ze(t){return R({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 or(t){return R({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 ue(t){return R({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 ve(t){return R({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 cr(t){return R({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 Je(t){return R({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 Qe(t){return R({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 Xe=({title:t="अक्सर पूछे जाने वाले प्रश्न",items:a,initialVisibleCount:s=6,showCta:n=!0,defaultExpanded:o=!1,ctaExpandLabel:c="और देखें",ctaCollapseLabel:f="कम देखें",defaultOpenIndex:x=-1,className:d=""})=>{const[g,p]=b.useState(o),[u,v]=b.useState(x),w=n&&a.length>s,N=w&&!g?a.slice(0,s):a;return e.jsxs("div",{className:l.cn("flex flex-col items-center gap-5 bg-white px-4 py-6",d),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((P,_)=>{const C=u===_;return e.jsxs("div",{className:"w-full rounded-lg border border-[#d1d5db] bg-white",children:[e.jsxs("button",{type:"button",className:"flex w-full items-center justify-between gap-2 p-3 text-left",onClick:()=>v(C?-1:_),"aria-expanded":C,"aria-controls":`faq-answer-${_}`,id:`faq-question-${_}`,children:[e.jsx("span",{className:"flex-1 text-sm font-medium text-[#1d2125]",children:P.question}),e.jsx(ue,{size:24,className:l.cn("shrink-0 transition-transform duration-200",C?"rotate-180":""),"aria-hidden":!0})]}),e.jsx("div",{id:`faq-answer-${_}`,role:"region","aria-labelledby":`faq-question-${_}`,hidden:!C,children:e.jsx("p",{className:"px-3 pb-3 text-sm text-gray-500",children:P.answer})})]},_)})}),w&&e.jsx(U,{variant:"secondary",size:"lg",className:"w-full",onClick:()=>p(P=>!P),"aria-expanded":g,rightIcon:e.jsx(ue,{size:24,className:l.cn("shrink-0 transition-transform duration-200",g?"rotate-180":""),"aria-hidden":!0}),children:g?f:c})]})},et=b.forwardRef(({src:t,poster:a,className:s="",rounded:n=!0,width:o,height:c},f)=>{const[x,d]=b.useState(!1),[g,p]=b.useState(!0),[u,v]=b.useState(!1),[w,N]=b.useState(0),[P,_]=b.useState(0),C=b.useRef(null),j=o!==void 0||c!==void 0,z=l.cn("block w-full",j&&"h-full object-cover"),k=L=>{const V=Number(L.target.value);N(V),C.current&&(C.current.currentTime=V)};return e.jsx("div",{ref:f,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(Wt,{ref:C,src:t,poster:a,playing:g,muted:u,width:o,height:c,className:z,onTimeUpdate:L=>N(L.currentTarget.currentTime),onDurationChange:L=>_(L.currentTarget.duration),onEnded:()=>p(!1)}),e.jsx(U,{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:()=>p(L=>!L),children:g?e.jsx(nr,{size:16}):e.jsx(Ge,{size:16,className:"translate-x-0.5"})}),e.jsx(U,{variant:"ghost",iconOnly:!0,size:"sm","aria-label":u?"Unmute":"Mute",className:"absolute left-2 top-2 text-white hover:bg-white/10",onClick:()=>v(L=>!L),children:u?e.jsx(sr,{size:14}):e.jsx(ar,{size:14})}),e.jsx("input",{type:"range",min:0,max:P||0,step:.1,value:w,onChange:k,"aria-label":"Seek",className:"absolute bottom-4 left-5 right-5 h-1 accent-white"})]}):e.jsxs(e.Fragment,{children:[e.jsx("img",{src:a,alt:"",className:z}),e.jsx("div",{className:"absolute inset-0 bg-linear-to-b from-black/0 to-black/60"}),e.jsx(U,{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:()=>d(!0),children:e.jsx(Ge,{size:16,className:"translate-x-0.5"})})]})})});et.displayName="VideoPlayer";const dr=()=>e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163707447.svg",alt:"",width:24,height:24}),je=b.forwardRef(({options:t,value:a,onChange:s,defaultOpen:n=!1,open:o,onOpenChange:c,className:f="",triggerClassName:x="",menuClassName:d="",...g},p)=>{const[u,v]=b.useState(n),w=o!==void 0,N=w?o:u,P=b.useCallback(j=>{w||v(j),c?.(j)},[w,c]),_=b.useRef(null);b.useImperativeHandle(p,()=>_.current),b.useEffect(()=>{if(!N)return;const j=k=>{_.current?.contains(k.target)||P(!1)},z=k=>{k.key==="Escape"&&P(!1)};return document.addEventListener("mousedown",j),document.addEventListener("keydown",z),()=>{document.removeEventListener("mousedown",j),document.removeEventListener("keydown",z)}},[N,P]);const C=j=>{s?.(j.value),P(!1)};return e.jsxs("div",{ref:_,className:l.cn("relative inline-block",f),...g,children:[e.jsxs("button",{type:"button",onClick:()=>P(!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(dr,{}),e.jsx(ue,{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",d),children:t.map(j=>{const z=j.value===a;return e.jsx("li",{role:"option","aria-selected":z,children:e.jsx("button",{type:"button",onClick:()=>C(j),className:l.cn("block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",z?"font-medium text-[#f75e22]":"text-[#1d2125]"),children:j.label})},j.value)})})]})});je.displayName="LanguageSwitcher";function ur({onBackClick:t,backButtonAriaLabel:a="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":a,className:"flex size-8 shrink-0 items-center justify-center rounded-lg border-0 bg-transparent p-0 drop-shadow-[0px_0px_5px_rgba(0,0,0,0.1)]",children:e.jsx(Qe,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx(je,{options:n,value:s,onChange:o,menuClassName:"left-auto right-0"})]})}const tt=b.forwardRef(({label:t,selected:a=!1,onClick:s,icon:n,className:o,type:c="button",...f},x)=>e.jsxs("button",{ref:x,type:c,onClick:s,"aria-pressed":a,className:l.cn("inline-flex shrink-0 items-center justify-center gap-1 rounded-full border font-['Noto_Sans'] text-[12px] leading-[16px] font-semibold whitespace-nowrap transition-colors",a?"border-[#f38415] bg-[#f38415] px-4 py-1.5 text-white":"border-[#fccf9a] bg-[#ffffff66] px-3 py-1.5 text-[#374151] hover:bg-white/70",o),...f,children:[n,t]}));tt.displayName="Chip";const fr=({quote:t,currentStep:a,totalSteps:s,className:n,...o})=>{const c=s>0?Math.min(100,Math.max(0,a/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:[a,"/",s]})]})};function xr(t){return R({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 hr(t){return R({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 rt=1.25,at=[{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}],pr=({animate:t,iconIndex:a})=>e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",children:at.map((s,n)=>e.jsx("rect",{x:s.x,y:s.y,width:rt,height:s.height,rx:rt/2,fill:"#6B7280",className:t?"wave-bar-anim":"",style:{animationDelay:`${(a*at.length+n)*60}ms`}},n))}),mr=({avatarUrl:t,question:a,description:s,audioSrc:n,className:o,...c})=>{const f=b.useRef(null),x=b.useRef(!1),[d,g]=b.useState(!1),[p,u]=b.useState(!1);b.useEffect(()=>{!n||x.current||(x.current=!0,f.current?.play().catch(()=>{}))},[n]);const v=()=>{const w=f.current;w&&(w.muted=!w.muted,g(w.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:[a,s,n&&e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("audio",{ref:f,src:n,onPlay:()=>u(!0),onPause:()=>u(!1),onEnded:()=>u(!1)}),e.jsx("button",{type:"button",onClick:v,"aria-label":d?"Unmute":"Mute","aria-pressed":d,className:"flex size-4.5 shrink-0 items-center justify-center border-0 bg-transparent p-0",children:d?e.jsx(hr,{size:18,className:"text-[#f75e22]"}):e.jsx(xr,{size:18,className:"text-[#f75e22]"})}),e.jsx("div",{className:"flex items-center gap-[1.5px]",children:[0,1,2].map(w=>e.jsx(pr,{animate:p&&!d,iconIndex:w},w))})]})]})]})]})},gr={sm:"size-9",md:"size-11",lg:"size-16"},fe=b.forwardRef(({icon:t,avatarUrl:a,alt:s="",size:n="md",className:o,...c},f)=>e.jsx("div",{ref:f,className:l.cn("flex shrink-0 items-center justify-center overflow-hidden rounded-full",gr[n],!a&&"bg-gradient-to-b from-[#fef5e9] to-[#fde3c2] text-[#f38415]",o),"aria-hidden":a?void 0:!0,...c,children:a?e.jsx("img",{src:a,alt:s,className:"size-full object-cover"}):t}));fe.displayName="IconBadge";const ye=b.forwardRef(({selected:t=!1,onSelect:a,icon:s,avatarUrl:n,iconSize:o="md",iconClassName:c,title:f,description:x,badge:d,showRadio:g=!0,radioVariant:p="dot",radioClassName:u,tag:v,tagClassName:w,children:N,className:P,disabled:_,type:C="button",...j},z)=>e.jsxs("div",{className:l.cn("relative overflow-visible rounded-2xl border transition-colors",t?"border-[#f38415] bg-[#FEF5E9]":"border-gray-200 bg-white",_&&"opacity-50",P),children:[v&&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",w),children:v}),e.jsxs("button",{ref:z,type:C,role:"radio","aria-checked":t,disabled:_,onClick:a,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",v&&"pt-7"),...j,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:"font-['Noto_Sans'] text-[14px] leading-5 font-bold text-[#1d2125]",children:f}),x&&!N&&e.jsx("p",{className:"mt-0.5 text-[13px] leading-4.5 text-gray-500",children:x})]}),d&&e.jsx("span",{className:"shrink-0",children:d}),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?p==="check"?l.cn("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white",u):"border-[#f75e22]":"border-gray-300"),children:[t&&p==="dot"&&e.jsx("span",{className:l.cn("size-3.5 rounded-full bg-linear-to-b from-[#f97e4e] to-[#f75e22]",u)}),t&&p==="check"&&e.jsx(ve,{size:14,"aria-hidden":!0})]})]}),N]}));ye.displayName="SelectorCard";const br=({value:t,onClick:a,className:s,...n})=>e.jsxs("div",{role:a?"button":void 0,tabIndex:a?0:void 0,onClick:a,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",a&&"cursor-pointer",s),...n,children:[e.jsx(Ze,{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})]}),vr=({value:t,onInfoClick:a,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}),a?e.jsx("button",{type:"button",onClick:a,"aria-label":s,className:"shrink-0 border-0 bg-transparent p-0 text-gray-700",children:e.jsx(de,{size:18,"aria-hidden":!0})}):e.jsx(de,{size:18,className:"shrink-0 text-gray-700","aria-hidden":!0})]}),st=({value:t,className:a,...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",a),...s,children:t}),nt=({className:t,children:a,...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:a}),jr=({value:t,onIncrement:a,onDecrement:s,min:n=0,max:o,addLabel:c="Add",className:f})=>t<=n?e.jsxs("button",{type:"button",onClick:a,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] font-['Noto_Sans'] text-base font-bold text-white",f),children:[e.jsx(Ke,{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",f),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(lr,{size:18,"aria-hidden":!0})}),e.jsx("span",{className:"min-w-[1ch] text-center font-['Noto_Sans'] text-base font-bold",children:t}),e.jsx("button",{type:"button",onClick:a,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(Ke,{size:18,"aria-hidden":!0})})]}),it={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:"पूजा-विधि"}},xe=t=>it[t]??it.en,we=({title:t,description:a,price:s,originalPrice:n,action:o,className:c,...f})=>e.jsx("div",{className:l.cn("rounded-2xl border border-gray-200 bg-white p-4",c),...f,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:"font-['Noto_Sans'] text-[15px] leading-5 font-bold text-[#1d2125]",children:t}),a&&e.jsx("p",{className:"mt-1 text-sm leading-5 text-gray-500",children:a})]}),e.jsxs("div",{className:"flex shrink-0 flex-col items-end gap-2",children:[e.jsxs("div",{className:"flex items-baseline gap-1.5 whitespace-nowrap",children:[n&&e.jsx("span",{className:"text-sm text-gray-400 line-through",children:n}),e.jsx("span",{className:"text-[15px] font-bold text-[#1d2125]",children:s})]}),o]})]})}),lt=({locale:t="en",...a})=>{const{mandapTitle:s,mandapDescription:n}=xe(t);return e.jsx(we,{title:s,description:n,...a})},yr=({children:t="Change",className:a,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",a),...n,children:[e.jsx(Ze,{size:14,"aria-hidden":!0}),t]}),wr=({locale:t="en",isAdded:a=!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:[a&&e.jsx(ve,{size:14,"aria-hidden":!0}),s??(a?xe(t).addedLabel:xe(t).addLabel)]}),ot=({image:t,imageAlt:a="",title:s,description:n,price:o,originalPrice:c,tag:f,tagClassName:x,action:d,className:g,...p})=>e.jsxs("div",{className:l.cn("overflow-hidden rounded-2xl border border-gray-100 bg-white shadow-sm",g),...p,children:[f&&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",x),children:f}),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:"font-['Noto_Sans'] text-sm leading-5 font-bold text-[#232323]",children:s}),n&&e.jsx("p",{className:" font-['Noto_Sans'] mt-1 text-xs leading-4 text-[#6B7280]",children:n}),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:o}),c&&e.jsx("span",{className:"text-sm text-gray-400 line-through",children:c})]})]}),e.jsxs("div",{className:"relative w-30 h-34.25 shrink-0",children:[e.jsx("img",{src:t,alt:a,className:"size-30 rounded-2xl object-cover"}),d&&e.jsx("div",{className:"absolute bottom-0 left-1/2 -translate-x-1/2",children:d})]})]})]});function ct(t){return R({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 dt(t){return R({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 ut(t){return R({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 Nr=[{id:"money-back",icon:e.jsx(dt,{"aria-hidden":!0}),label:"100% Money Back Guarantee"},{id:"no-hidden-cost",icon:e.jsx(ct,{"aria-hidden":!0}),label:"No Hidden Cost"},{id:"24x7-support",icon:e.jsx(ut,{"aria-hidden":!0}),label:"24x7 Support"}],ft=({badges:t=Nr,badgeClassName:a,className:s,...n})=>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",s),...n,children:t.map(o=>e.jsxs("span",{className:l.cn("inline-flex shrink-0 items-center gap-2 text-sm font-semibold text-gray-700",a,o.className),children:[e.jsx("span",{className:"shrink-0 text-base text-gray-700","aria-hidden":!0,children:o.icon}),o.label]},o.id))}),Ne={en:{proceedLabel:"Proceed"},hi:{proceedLabel:"आगे बढ़ें"}},xt=t=>Ne[t]??Ne.en,Ce=({locale:t="en",amount:a,amountClassName:s,subtitle:n,subtitleClassName:o,showInfoIcon:c=!0,onInfoClick:f,infoIconClassName:x,proceedLabel:d,proceedIcon:g=e.jsx(Je,{"aria-hidden":!0}),onProceed:p,proceedButtonProps:u,buttonWrapperClassName:v,className:w,...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)]",w),...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:a}),c&&e.jsx("button",{type:"button",onClick:f,"aria-label":"View bill details",className:l.cn("inline-flex shrink-0 items-center justify-center text-[#f75e22]",!f&&"pointer-events-none",x),children:e.jsx(de,{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",v),children:e.jsxs(U,{variant:"primary",size:"xl",onClick:p,...u,className:l.cn("min-w-40 justify-center gap-2 bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",u?.className),children:[d??xt(t).proceedLabel,g]})})]}),ke={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 सहायता"}}},ht=t=>ke[t]??ke.en,Cr=({locale:t="en",title:a,description:s,benefits:n,options:o,value:c,onChange:f,radioVariant:x="dot",radiogroupLabel:d,className:g,headerClassName:p,benefitsClassName:u,optionsClassName:v,trustBadges:w,checkout:N,stickyFooter:P=!0,footerClassName:_})=>{const C=ht(t),j=a??C.title,z=s??C.description,k=n??C.benefits,L=w??{badges:[{id:"money-back",icon:e.jsx(dt,{"aria-hidden":!0}),label:C.trustBadgeLabels.moneyBack},{id:"no-hidden-cost",icon:e.jsx(ct,{"aria-hidden":!0}),label:C.trustBadgeLabels.noHiddenCost},{id:"24x7-support",icon:e.jsx(ut,{"aria-hidden":!0}),label:C.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",p),children:[e.jsx("p",{className:"font-['Noto_Sans'] text-[20px] leading-6.5 font-extrabold text-[#1d2125]",children:j}),z&&e.jsx("p",{className:"mt-2 text-[14px] leading-5.5 text-gray-500",children:z})]}),k&&k.length>0&&e.jsx("div",{className:l.cn("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5",u),children:k.map((V,H)=>e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(ve,{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})]},H))}),e.jsx("div",{role:"radiogroup","aria-label":d??(typeof j=="string"?j:void 0),className:l.cn("flex flex-col gap-3 p-4",v),children:o.map(V=>{const{id:H,price:Y,free:X,badge:M,priceBadgeProps:q,note:G,noteProps:F,children:$,iconClassName:K,radioVariant:Z,...J}=V,Q=c===H,ee=M??(Y==null?void 0:X?e.jsx("span",{className:l.cn("text-sm font-medium text-gray-400",q?.className),...q,children:Y}):e.jsx(st,{value:Y,...q}));return e.jsx(ye,{...J,iconClassName:l.cn("size-10",K),radioVariant:Z??x,badge:ee,selected:Q,onSelect:()=>f(H),children:$??(Q&&G&&e.jsx(nt,{...F,children:G}))},H)})}),(L||N)&&e.jsxs("div",{className:l.cn(P&&"sticky bottom-0 z-10",_),children:[L&&e.jsx(ft,{...L}),N&&e.jsx(Ce,{...N})]})]})},_e={en:{title:"Pitru Paksha Special Rituals",ancestorsLabel:"Ancestors",ritualsLabel:"Rituals",performersLabel:"Performers"},hi:{title:"पितृ पक्ष विशेष अनुष्ठान",ancestorsLabel:"पितृजन",ritualsLabel:"पूजा विधि",performersLabel:"कर्ता"}},pt=t=>_e[t]??_e.en,mt=({locale:t="en",icon:a=e.jsx(qe,{"aria-hidden":!0}),iconClassName:s,title:n,titleClassName:o,subtitle:c,subtitleItems:f,stats:x,subtitleClassName:d,cardClassName:g,className:p,...u})=>{const v=pt(t),w=n??v.title,N=f??(x&&[`${x.ancestors} ${v.ancestorsLabel}`,`${x.rituals} ${v.ritualsLabel}`,`${x.performers} ${v.performersLabel}`]);return e.jsx("div",{className:l.cn("bg-gradient-to-b from-[#fce7f3] to-white px-4 pt-4 pb-6",p),...u,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:[a&&e.jsx("span",{className:l.cn("shrink-0 text-sm",s),children:a}),w]}),(c||N&&N.length>0)&&e.jsx("p",{className:l.cn("mt-2 text-[15px] font-semibold text-[#1d2125]",d),children:N&&N.length>0?N.map((P,_)=>e.jsxs(b.Fragment,{children:[_>0&&e.jsx("span",{className:"mx-1.5 text-gray-400",children:"•"}),P]},_)):c})]})})},gt={en:{title:"Bill Details",totalLabel:"Total Amount"},hi:{title:"बिल विवरण",totalLabel:"कुल राशि"}},kr=t=>gt[t]??gt.en,bt=({locale:t="en",titleClassName:a,rows:s,rowClassName:n,showTitleAccent:o=!0,totalValue:c,totalClassName:f,className:x,...d})=>{const{title:g,totalLabel:p}=kr(t);return e.jsxs("div",{className:l.cn("bg-white px-4 py-6",x),...d,children:[e.jsxs("h2",{className:l.cn("mb-4 flex items-center gap-2 text-lg font-bold text-[#1d2125]",a),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(u=>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]",u.labelClassName),children:u.label}),u.subLabel&&e.jsx("p",{className:l.cn("mt-0.5 text-xs text-gray-400",u.subLabelClassName),children:u.subLabel})]}),e.jsxs("div",{className:"flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm",children:[u.note&&e.jsx("span",{className:"text-gray-400",children:u.note}),u.originalValue&&e.jsx("span",{className:"text-gray-400 line-through",children:u.originalValue}),e.jsx("span",{className:l.cn("font-medium text-[#1d2125]",u.valueClassName),children:u.value})]})]},u.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",f),children:[e.jsx("span",{className:"text-base font-bold text-[#1d2125]",children:p}),e.jsx("span",{className:"text-base font-bold text-emerald-600",children:c})]})]})},_r=({locale:t="en",onBack:a,backButtonAriaLabel:s="Go back",headerClassName:n,backButtonClassName:o,headerTitleClassName:c,summary:f,items:x,itemsClassName:d,itemClassName:g,addons:p,addonsSectionClassName:u,addonsHeaderClassName:v,addonsTitleClassName:w,addonsDescriptionClassName:N,addonsClassName:P,addonClassName:_,billDetails:C,faq:j,checkout:z,className:k,children:L,...V})=>{const{headerTitle:H,addonsTitle:Y,addonsDescription:X,checkoutProceedLabel:M,checkoutRitualSingular:q,checkoutRitualPlural:G}=xe(t),{price:F,ritualCount:$,...K}=z??{};return e.jsxs("div",{className:l.cn("flex flex-col bg-white",k),...V,children:[e.jsxs("div",{className:l.cn("flex items-center gap-3 px-4 py-3",n),children:[a&&e.jsx("button",{type:"button",onClick:a,"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(Qe,{className:"size-6 text-[#1d2125]","aria-hidden":!0})}),e.jsx("h1",{className:l.cn("text-lg font-bold text-[#1d2125]",c),children:H})]}),f&&e.jsx(mt,{...f}),x&&x.length>0&&e.jsx("div",{className:l.cn("flex flex-col gap-3 bg-white px-4 py-4",d),children:x.map(({id:Z,className:J,isMandapCharge:Q,...ee})=>Q?e.jsx(lt,{locale:t,className:l.cn(g,J),...ee},Z):e.jsx(we,{className:l.cn(g,J),...ee},Z))}),p&&p.length>0&&e.jsxs("div",{className:l.cn("flex flex-col gap-4 bg-gray-50 px-4 py-6",u),children:[e.jsxs("div",{className:v,children:[e.jsx("h2",{className:l.cn("text-base font-bold text-gray-700",w),children:Y}),e.jsx("p",{className:l.cn("mt-1 text-sm text-gray-500",N),children:X})]}),e.jsx("div",{className:l.cn("flex flex-col gap-4",P),children:p.map(({id:Z,className:J,...Q})=>e.jsx(ot,{className:l.cn(_,J),...Q},Z))})]}),C&&e.jsx(bt,{...C,locale:t}),j&&e.jsx(Xe,{...j}),L,z&&e.jsx("div",{className:"sticky bottom-0",children:e.jsx(Ce,{...K,locale:t,amount:F,subtitle:`${$} ${$===1?q:G}`,proceedLabel:M})})]})},Se=b.forwardRef(({label:t,value:a,onChange:s,prefix:n,showCharCount:o=!1,supportingText:c,error:f=!1,className:x,containerClassName:d,wrapperClassName:g,maxLength:p,id:u,...v},w)=>{const N=b.useId(),P=u??N,_=c??(o?`${a.length}${p?`/${p}`:""}`:void 0);return e.jsxs("div",{className:l.cn("flex w-full flex-col gap-2",d),children:[t&&e.jsx("label",{htmlFor:P,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",f?"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:w,id:P,value:a,maxLength:p,onChange:C=>s(C.target.value),"aria-invalid":f,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),...v})]}),_&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#9ca3af]",children:_})]})]})});Se.displayName="TextField";function Sr({isOpen:t,onClose:a,avatarUrl:s,heading:n,tithis:o,confirmLabel:c,onConfirm:f,initialTithi:x}){const[d,g]=b.useState(x),p=()=>{d&&f(d)};return e.jsx(l.BottomSheet,{isOpen:t,onClose:a,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(U,{variant:"primary",size:"md",className:"w-full rounded-xl",disabled:!d,onClick:p,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(u=>{const v=d===u;return e.jsx("button",{type:"button",onClick:()=>g(u),className:`flex items-center justify-center rounded-full border px-3 py-1.5 text-[10px] leading-3.5 font-semibold whitespace-nowrap ${v?"border-[#f38415] bg-[#f38415] text-white":"border-[#fccf9a] bg-white/40 text-[#374151]"}`,children:u},u)})})})}const he=48;function Ee({options:t,selectedIndex:a,onChange:s}){const n=b.useRef(null),o=b.useRef(!1);b.useEffect(()=>{o.current||!n.current||(o.current=!0,n.current.scrollTop=a*he)},[]);const c=()=>{if(!n.current)return;const f=Math.round(n.current.scrollTop/he),x=Math.max(0,Math.min(t.length-1,f));x!==a&&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:he},"aria-hidden":!0}),t.map((f,x)=>e.jsx("div",{className:`flex h-12 snap-center items-center justify-center whitespace-nowrap text-[20px] leading-7 ${x===a?"font-bold text-[#f75e22]":"font-semibold text-[#d1d5db]"}`,children:f},f)),e.jsx("div",{style:{height:he},"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 Pe=Array.from({length:31},(t,a)=>a+1);function Er({isOpen:t,onClose:a,avatarUrl:s,heading:n,monthLabels:o,confirmLabel:c,onConfirm:f,timezoneLabel:x,initialDate:d,minYear:g,maxYear:p=new Date().getFullYear()}){const u=b.useMemo(()=>{const z=g??p-120;return Array.from({length:p-z+1},(k,L)=>z+L)},[g,p]),[v,w]=b.useState(()=>d?d.day-1:Math.floor(Pe.length/2)),[N,P]=b.useState(()=>d?d.month-1:0),[_,C]=b.useState(()=>d?Math.max(0,u.indexOf(d.year)):Math.floor(u.length/2)),j=()=>{f({day:Pe[v],month:N+1,year:u[_]})};return e.jsx(l.BottomSheet,{isOpen:t,onClose:a,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(U,{variant:"primary",size:"md",className:"flex-1 rounded-xl",onClick:j,children:c})]})]}),children:e.jsxs("div",{className:"flex w-full items-center justify-center gap-11 px-5 py-4",children:[e.jsx(Ee,{options:Pe.map(String),selectedIndex:v,onChange:w}),e.jsx(Ee,{options:o,selectedIndex:N,onChange:P}),e.jsx(Ee,{options:u.map(String),selectedIndex:_,onChange:C})]})})}function Pr({isOpen:t,onClose:a,heading:s,subtext:n,confirmLabel:o,onConfirm:c,initialValue:f="",countries:x=l.DEFAULT_COUNTRIES,initialCountryIso:d="IN"}){const[g,p]=b.useState(()=>x.find(k=>k.iso===d)??x[0]),[u,v]=b.useState(f),[w,N]=b.useState(!1),P=b.useRef(null);b.useEffect(()=>{if(!w)return;const k=L=>{P.current&&!P.current.contains(L.target)&&N(!1)};return document.addEventListener("mousedown",k),()=>document.removeEventListener("mousedown",k)},[w]);const _=l.getMaxLengthForCountry(g.code),C=l.validatePhoneByCountryCode(u,g.code).isValid&&u.length>0,j=k=>{p(k),N(!1),v(L=>L.slice(0,l.getMaxLengthForCountry(k.code)))},z=()=>{C&&c(u,g)};return e.jsx(l.BottomSheet,{isOpen:t,onClose:a,showDragHandle:!0,closeButtonOutside:!0,ariaLabel:s,footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(U,{variant:"primary",size:"xl",className:"w-full rounded-xl bg-linear-to-b from-[#5eb98e] to-[#159169] focus-visible:ring-[#159169]",rightIcon:e.jsx(Je,{"aria-hidden":!0}),disabled:!C,onClick:z,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:P,className:"relative shrink-0",children:[e.jsxs("button",{type:"button",onClick:()=>N(k=>!k),"aria-expanded":w,"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(ue,{size:24,className:"text-[#1d2125]","aria-hidden":!0})]}),w&&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(k=>e.jsxs("button",{type:"button",role:"option","aria-selected":k.iso===g.iso,onClick:()=>j(k),className:`flex w-full items-center gap-2 px-3 py-2 text-left hover:bg-[#f9fafb] ${k.iso===g.iso?"bg-[#fff9e9]":""}`,children:[e.jsx("span",{className:"text-[16px]","aria-hidden":!0,children:l.getFlagEmoji(k.iso)}),e.jsx("span",{className:"text-[14px] font-medium text-[#1d2125]",children:k.code}),e.jsx("span",{className:"truncate text-[12px] text-[#6b7280]",children:k.name})]},`${k.iso}-${k.code}`))})]}),e.jsx(Se,{type:"tel",inputMode:"numeric",value:u,maxLength:_,onChange:k=>v(k.replace(/\D/g,"").slice(0,_)),containerClassName:"w-auto flex-1 gap-0",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"})]})]})})}function Tr(t){return R({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 Or(t){return R({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 zr="https://srm-cdn.a4b.io/yoda/1788253585577.svg";function Lr({chipNumber:t,chipLabel:a,isAdded:s,onEditClick:n,editButtonAriaLabel:o="Edit",onExpandClick:c,expandButtonAriaLabel:f="Expand",imageUrl:x,imageAlt:d,imageComponent:g,ratingLabel:p,bookedLabel:u,title:v,description:w,learnMoreLabel:N,onLearnMoreClick:P,learnMoreHref:_,dateLabel:C,locationLabel:j,priceInfoLabel:z,onPriceInfoClick:k,price:L,cta:V,className:H=""}){const[Y,X]=b.useState(!1),M=s||Y,q=M&&(p!=null||u!=null),G=M&&(C!=null||j!=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)]"} ${H}`,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-[#1d0d38]",children:a})]}),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(Tr,{"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:()=>{X(F=>!F),c?.()},"aria-label":f,"aria-expanded":Y,children:e.jsx(Or,{"aria-hidden":!0,className:`size-8 text-[#1D2125] ${Y?"":"-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:d??"",className:"size-full object-cover"}):e.jsx("img",{src:x,alt:d,className:"size-full object-cover"})}),q&&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:[p!=null&&e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]",children:p}),p!=null&&u!=null&&e.jsx("span",{className:"size-1.5 shrink-0 rounded-full bg-[#4b5513]","aria-hidden":!0}),u!=null&&e.jsx("p",{className:"whitespace-nowrap text-[10px] font-medium leading-[14px] text-[#4b5513]",children:u})]}),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:v}),M&&w!=null&&e.jsx("p",{className:"w-full text-xs font-normal leading-4 text-gray-500",children:w})]}),M&&N!=null&&e.jsxs("a",{href:_,className:"inline-flex items-center gap-0.5 text-xs font-medium leading-4 text-[#e6327a] underline",onClick:P,children:[N,e.jsx(or,{"aria-hidden":!0,className:"size-3.5 text-[#F75E22]"})]}),G&&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:[C!=null&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx(cr,{"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:C})]}),j!=null&&e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx("img",{src:zr,alt:"","aria-hidden":!0,className:"size-3.5 shrink-0"}),e.jsx("p",{className:"text-xs font-medium leading-4 text-gray-700",children:j})]})]})]}),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:[z!=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:z}),k&&e.jsx("button",{type:"button",className:"flex size-4 shrink-0 items-center justify-center border-0 bg-transparent p-0",onClick:k,"aria-label":"More info",children:e.jsx(de,{"aria-hidden":!0,className:"size-4 text-[#1D2125]"})})]}),e.jsx("p",{className:"whitespace-nowrap text-lg font-bold leading-6 text-[#159169]",children:L})]}),e.jsx("div",{className:"shrink-0",children:V})]})]})]})}const Rr={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"},Ar={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]"},Br={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 Dr({variant:t="primary",size:a="md",leftIcon:s,children:n,className:o="",style:c,type:f="button",...x}){return e.jsxs("button",{type:f,className:`inline-flex items-center justify-center py-2 disabled:cursor-not-allowed disabled:opacity-50 ${Ar[a]} ${Rr[t]} ${o}`,style:{...Br[t],...c},...x,children:[s,n]})}function Fr({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 Ir({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 vt="https://srm-cdn.a4b.io/yoda/1788256892735.svg",Mr="https://srm-cdn.a4b.io/yoda/1788256910547.svg",Vr="https://srm-cdn.a4b.io/yoda/1788256867970.svg",$r="https://srm-cdn.a4b.io/yoda/1788256921651.svg",Wr="https://srm-cdn.a4b.io/yoda/1788256935709.svg",Hr="https://srm-cdn.a4b.io/yoda/1788256949665.svg";function Yr({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:vt,alt:"","aria-hidden":!0,className:"absolute left-[-6px] top-[12.2px] size-[25.6px]"}),e.jsx("img",{src:vt,alt:"","aria-hidden":!0,className:"absolute left-[21px] top-[12.2px] size-[25.6px]"}),e.jsx("img",{src:Mr,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:Vr,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:$r,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:Wr,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:Hr,alt:"","aria-hidden":!0,className:"absolute inset-0 size-full"})})]})]})}const Ur="https://srm-cdn.a4b.io/yoda/1788256961374.svg",jt="https://srm-cdn.a4b.io/yoda/1788256971870.svg";function qr({badgeLabel:t,headingPrefix:a,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:jt,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:jt,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:Ur,alt:"Sri Mandir",className:"relative z-10 h-[53px] w-auto object-contain"})]}),e.jsxs("p",{className:"text-xs font-semibold text-[#d51f68]",children:["✦ ",t," ✦"]})]}),e.jsxs("p",{className:"px-4 text-center text-[18px] font-bold leading-6 text-[#22272b]",children:[a,s," ",n," ",o]}),e.jsx("div",{className:"flex w-full items-start justify-center gap-3",children:c.map(f=>e.jsxs("div",{className:"flex w-25 flex-col items-center gap-1 py-2",children:[e.jsx(Yr,{variant:f.variant}),e.jsx("p",{className:"w-full text-center text-[10px] font-medium leading-3.5 text-[#AD540A]",children:f.text})]},f.variant))})]})}function Gr(t){return R({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 Te={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:"यह पूजा-विधि के दौरान पंडित द्वारा उच्चारित किया जाएगा"}},yt=t=>Te[t]??Te.en,wt=b.forwardRef(({locale:t="en",title:a,subtitle:s,value:n,helperText:o,icon:c,className:f,headerClassName:x,valueBoxClassName:d,helperTextClassName:g,...p},u)=>{const v=yt(t);return e.jsxs("div",{ref:u,className:l.cn("rounded-2xl border border-gray-100 bg-white p-4 shadow-sm",f),...p,children:[e.jsxs("div",{className:l.cn("flex items-center gap-3",x),children:[e.jsx(fe,{icon:c??e.jsx(Gr,{size:22,"aria-hidden":!0}),size:"lg"}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"font-['Noto_Sans'] text-lg leading-6 font-bold text-[#1d2125]",children:a??v.title}),e.jsx("p",{className:"mt-0.5 text-base leading-5 text-gray-500",children:s??v.subtitle})]})]}),e.jsx("div",{className:l.cn("mt-4 rounded-xl border border-gray-200 bg-gray-50 px-3.5 py-3.5",d),children:e.jsx("span",{className:"text-lg leading-6 font-medium text-gray-700",children:n??v.value})}),e.jsx("p",{className:l.cn("mt-3 text-sm leading-4.5 text-gray-500",g),children:o??v.helperText})]})});wt.displayName="SarvaPitruCard",Object.defineProperty(m,"cn",{enumerable:!0,get:()=>l.cn}),m.AudioQuestionCard=mr,m.BOOKING_SUMMARY_BANNER_DEFAULT_COPY=_e,m.BillDetails=bt,m.BookingSummaryBanner=mt,m.Button=U,m.CHECKOUT_BAR_DEFAULT_COPY=Ne,m.CartReviewAddedBadge=wr,m.CartReviewChangeButton=yr,m.CartReviewItem=we,m.CartReviewMandapItem=lt,m.CartView=_r,m.CheckIcon=Ir,m.CheckoutBar=Ce,m.Chip=tt,m.DatePickerSheet=Er,m.FAQSection=Xe,m.IconBadge=fe,m.L2Card=Lr,m.LanguageSwitcher=je,m.OutcomeButton=Dr,m.OutcomeSummary=qr,m.PACKAGE_SELECT_DEFAULT_COPY=ke,m.PackageSelect=Cr,m.PhoneNumberSheet=Pr,m.PlusIcon=Fr,m.QuantityStepper=jr,m.SARVA_PITRU_CARD_DEFAULT_COPY=Te,m.SarvaPitruCard=wt,m.SelectorCard=ye,m.SelectorCardEditableField=br,m.SelectorCardInfoRow=vr,m.SelectorCardNote=nt,m.SelectorCardPriceBadge=st,m.ServiceOfferCard=ot,m.StepProgressHeader=fr,m.TestimonialCard=ir,m.TextField=Se,m.TithiPickerSheet=Sr,m.TopBar=ur,m.TrustBadgesBar=ft,m.VideoPlayer=et,m.buttonVariants=Ue,m.getBookingSummaryBannerDefaultCopy=pt,m.getCheckoutBarDefaultCopy=xt,m.getPackageSelectDefaultCopy=ht,m.getSarvaPitruCardDefaultCopy=yt,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})}));
|