@srimandir/pitru-paksh-common 2.0.2 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
- (function(y,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):(y=typeof globalThis<"u"?globalThis:y||self,l(y.PitruPakshCommon={},y.SrimandirCommon,y.React,y.classVarianceAuthority,y.ReactPlayer))})(this,(function(y,l,g,Ct,kt){"use strict";function St(r){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const n in r)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(a,n,s.get?s:{enumerable:!0,get:()=>r[n]})}}return a.default=r,Object.freeze(a)}const Et=St(g);var re={exports:{}},K={};var _e;function _t(){if(_e)return K;_e=1;var r=g,a=Symbol.for("react.element"),n=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function x(h,d,m){var f,p={},w=null,j=null;m!==void 0&&(w=""+m),d.key!==void 0&&(w=""+d.key),d.ref!==void 0&&(j=d.ref);for(f in d)s.call(d,f)&&!c.hasOwnProperty(f)&&(p[f]=d[f]);if(h&&h.defaultProps)for(f in d=h.defaultProps,d)p[f]===void 0&&(p[f]=d[f]);return{$$typeof:a,type:h,key:w,ref:j,props:p,_owner:o.current}}return K.Fragment=n,K.jsx=x,K.jsxs=x,K}var Z={};var Oe;function Ot(){return Oe||(Oe=1,process.env.NODE_ENV!=="production"&&(function(){var r=g,a=Symbol.for("react.element"),n=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),h=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),j=Symbol.for("react.offscreen"),_=Symbol.iterator,P="@@iterator";function E(t){if(t===null||typeof t!="object")return null;var i=_&&t[_]||t[P];return typeof i=="function"?i:null}var C=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(t){{for(var i=arguments.length,u=new Array(i>1?i-1:0),b=1;b<i;b++)u[b-1]=arguments[b];R("error",t,u)}}function R(t,i,u){{var b=C.ReactDebugCurrentFrame,O=b.getStackAddendum();O!==""&&(i+="%s",u=u.concat([O]));var T=u.map(function(S){return String(S)});T.unshift("Warning: "+i),Function.prototype.apply.call(console[t],console,T)}}var k=!1,z=!1,W=!1,Q=!1,q=!1,$;$=Symbol.for("react.module.reference");function Y(t){return!!(typeof t=="string"||typeof t=="function"||t===s||t===c||q||t===o||t===m||t===f||Q||t===j||k||z||W||typeof t=="object"&&t!==null&&(t.$$typeof===w||t.$$typeof===p||t.$$typeof===x||t.$$typeof===h||t.$$typeof===d||t.$$typeof===$||t.getModuleId!==void 0))}function ve(t,i,u){var b=t.displayName;if(b)return b;var O=i.displayName||i.name||"";return O!==""?u+"("+O+")":u}function X(t){return t.displayName||"Context"}function V(t){if(t==null)return null;if(typeof t.tag=="number"&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case s:return"Fragment";case n:return"Portal";case c:return"Profiler";case o:return"StrictMode";case m:return"Suspense";case f:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case h:var i=t;return X(i)+".Consumer";case x:var u=t;return X(u._context)+".Provider";case d:return ve(t,t.render,"ForwardRef");case p:var b=t.displayName||null;return b!==null?b:V(t.type)||"Memo";case w:{var O=t,T=O._payload,S=O._init;try{return V(S(T))}catch{return null}}}return null}var H=Object.assign,ee=0,tt,rt,at,nt,st,it,lt;function ot(){}ot.__reactDisabledLog=!0;function fr(){{if(ee===0){tt=console.log,rt=console.info,at=console.warn,nt=console.error,st=console.group,it=console.groupCollapsed,lt=console.groupEnd;var t={configurable:!0,enumerable:!0,value:ot,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}ee++}}function xr(){{if(ee--,ee===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:H({},t,{value:tt}),info:H({},t,{value:rt}),warn:H({},t,{value:at}),error:H({},t,{value:nt}),group:H({},t,{value:st}),groupCollapsed:H({},t,{value:it}),groupEnd:H({},t,{value:lt})})}ee<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ye=C.ReactCurrentDispatcher,je;function le(t,i,u){{if(je===void 0)try{throw Error()}catch(O){var b=O.stack.trim().match(/\n( *(at )?)/);je=b&&b[1]||""}return`
2
- `+je+t}}var we=!1,oe;{var hr=typeof WeakMap=="function"?WeakMap:Map;oe=new hr}function ct(t,i){if(!t||we)return"";{var u=oe.get(t);if(u!==void 0)return u}var b;we=!0;var O=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var T;T=ye.current,ye.current=null,fr();try{if(i){var S=function(){throw Error()};if(Object.defineProperty(S.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(S,[])}catch(B){b=B}Reflect.construct(t,[],S)}else{try{S.call()}catch(B){b=B}t.call(S.prototype)}}else{try{throw Error()}catch(B){b=B}t()}}catch(B){if(B&&b&&typeof B.stack=="string"){for(var N=B.stack.split(`
3
- `),A=b.stack.split(`
4
- `),L=N.length-1,F=A.length-1;L>=1&&F>=0&&N[L]!==A[F];)F--;for(;L>=1&&F>=0;L--,F--)if(N[L]!==A[F]){if(L!==1||F!==1)do if(L--,F--,F<0||N[L]!==A[F]){var I=`
5
- `+N[L].replace(" at new "," at ");return t.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",t.displayName)),typeof t=="function"&&oe.set(t,I),I}while(L>=1&&F>=0);break}}}finally{we=!1,ye.current=T,xr(),Error.prepareStackTrace=O}var J=t?t.displayName||t.name:"",U=J?le(J):"";return typeof t=="function"&&oe.set(t,U),U}function pr(t,i,u){return ct(t,!1)}function mr(t){var i=t.prototype;return!!(i&&i.isReactComponent)}function ce(t,i,u){if(t==null)return"";if(typeof t=="function")return ct(t,mr(t));if(typeof t=="string")return le(t);switch(t){case m:return le("Suspense");case f:return le("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case d:return pr(t.render);case p:return ce(t.type,i,u);case w:{var b=t,O=b._payload,T=b._init;try{return ce(T(O),i,u)}catch{}}}return""}var te=Object.prototype.hasOwnProperty,dt={},ut=C.ReactDebugCurrentFrame;function de(t){if(t){var i=t._owner,u=ce(t.type,t._source,i?i.type:null);ut.setExtraStackFrame(u)}else ut.setExtraStackFrame(null)}function gr(t,i,u,b,O){{var T=Function.call.bind(te);for(var S in t)if(T(t,S)){var N=void 0;try{if(typeof t[S]!="function"){var A=Error((b||"React class")+": "+u+" type `"+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[S]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw A.name="Invariant Violation",A}N=t[S](i,S,b,u,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(L){N=L}N&&!(N instanceof Error)&&(de(O),v("%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).",b||"React class",u,S,typeof N),de(null)),N instanceof Error&&!(N.message in dt)&&(dt[N.message]=!0,de(O),v("Failed %s type: %s",u,N.message),de(null))}}}var br=Array.isArray;function Ne(t){return br(t)}function vr(t){{var i=typeof Symbol=="function"&&Symbol.toStringTag,u=i&&t[Symbol.toStringTag]||t.constructor.name||"Object";return u}}function yr(t){try{return ft(t),!1}catch{return!0}}function ft(t){return""+t}function xt(t){if(yr(t))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",vr(t)),ft(t)}var ht=C.ReactCurrentOwner,jr={key:!0,ref:!0,__self:!0,__source:!0},pt,mt;function wr(t){if(te.call(t,"ref")){var i=Object.getOwnPropertyDescriptor(t,"ref").get;if(i&&i.isReactWarning)return!1}return t.ref!==void 0}function Nr(t){if(te.call(t,"key")){var i=Object.getOwnPropertyDescriptor(t,"key").get;if(i&&i.isReactWarning)return!1}return t.key!==void 0}function Cr(t,i){typeof t.ref=="string"&&ht.current}function kr(t,i){{var u=function(){pt||(pt=!0,v("%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))};u.isReactWarning=!0,Object.defineProperty(t,"key",{get:u,configurable:!0})}}function Sr(t,i){{var u=function(){mt||(mt=!0,v("%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))};u.isReactWarning=!0,Object.defineProperty(t,"ref",{get:u,configurable:!0})}}var Er=function(t,i,u,b,O,T,S){var N={$$typeof:a,type:t,key:i,ref:u,props:S,_owner:T};return N._store={},Object.defineProperty(N._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(N,"_self",{configurable:!1,enumerable:!1,writable:!1,value:b}),Object.defineProperty(N,"_source",{configurable:!1,enumerable:!1,writable:!1,value:O}),Object.freeze&&(Object.freeze(N.props),Object.freeze(N)),N};function _r(t,i,u,b,O){{var T,S={},N=null,A=null;u!==void 0&&(xt(u),N=""+u),Nr(i)&&(xt(i.key),N=""+i.key),wr(i)&&(A=i.ref,Cr(i,O));for(T in i)te.call(i,T)&&!jr.hasOwnProperty(T)&&(S[T]=i[T]);if(t&&t.defaultProps){var L=t.defaultProps;for(T in L)S[T]===void 0&&(S[T]=L[T])}if(N||A){var F=typeof t=="function"?t.displayName||t.name||"Unknown":t;N&&kr(S,F),A&&Sr(S,F)}return Er(t,N,A,O,b,ht.current,S)}}var Ce=C.ReactCurrentOwner,gt=C.ReactDebugCurrentFrame;function G(t){if(t){var i=t._owner,u=ce(t.type,t._source,i?i.type:null);gt.setExtraStackFrame(u)}else gt.setExtraStackFrame(null)}var ke;ke=!1;function Se(t){return typeof t=="object"&&t!==null&&t.$$typeof===a}function bt(){{if(Ce.current){var t=V(Ce.current.type);if(t)return`
1
+ (function(b,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):(b=typeof globalThis<"u"?globalThis:b||self,l(b.PitruPakshCommon={},b.SrimandirCommon,b.React,b.classVarianceAuthority,b.ReactPlayer))})(this,(function(b,l,g,St,_t){"use strict";function Et(r){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const s in r)if(s!=="default"){const n=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(a,s,n.get?n:{enumerable:!0,get:()=>r[s]})}}return a.default=r,Object.freeze(a)}const Ot=Et(g);var ae={exports:{}},Q={};var Ee;function zt(){if(Ee)return Q;Ee=1;var r=g,a=Symbol.for("react.element"),s=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function f(h,d,m){var u,p={},w=null,y=null;m!==void 0&&(w=""+m),d.key!==void 0&&(w=""+d.key),d.ref!==void 0&&(y=d.ref);for(u in d)n.call(d,u)&&!c.hasOwnProperty(u)&&(p[u]=d[u]);if(h&&h.defaultProps)for(u in d=h.defaultProps,d)p[u]===void 0&&(p[u]=d[u]);return{$$typeof:a,type:h,key:w,ref:y,props:p,_owner:o.current}}return Q.Fragment=s,Q.jsx=f,Q.jsxs=f,Q}var X={};var Oe;function Pt(){return Oe||(Oe=1,process.env.NODE_ENV!=="production"&&(function(){var r=g,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"),h=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),E=Symbol.iterator,O="@@iterator";function S(t){if(t===null||typeof t!="object")return null;var i=E&&t[E]||t[O];return typeof i=="function"?i:null}var N=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(t){{for(var i=arguments.length,x=new Array(i>1?i-1:0),j=1;j<i;j++)x[j-1]=arguments[j];T("error",t,x)}}function T(t,i,x){{var j=N.ReactDebugCurrentFrame,z=j.getStackAddendum();z!==""&&(i+="%s",x=x.concat([z]));var P=x.map(function(_){return String(_)});P.unshift("Warning: "+i),Function.prototype.apply.call(console[t],console,P)}}var k=!1,R=!1,$=!1,Y=!1,W=!1,H;H=Symbol.for("react.module.reference");function F(t){return!!(typeof t=="string"||typeof t=="function"||t===n||t===c||W||t===o||t===m||t===u||Y||t===y||k||R||$||typeof t=="object"&&t!==null&&(t.$$typeof===w||t.$$typeof===p||t.$$typeof===f||t.$$typeof===h||t.$$typeof===d||t.$$typeof===H||t.getModuleId!==void 0))}function ee(t,i,x){var j=t.displayName;if(j)return j;var z=i.displayName||i.name||"";return z!==""?x+"("+z+")":x}function U(t){return t.displayName||"Context"}function D(t){if(t==null)return null;if(typeof t.tag=="number"&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case n:return"Fragment";case s:return"Portal";case c:return"Profiler";case o:return"StrictMode";case m:return"Suspense";case u:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case h:var i=t;return U(i)+".Consumer";case f:var x=t;return U(x._context)+".Provider";case d:return ee(t,t.render,"ForwardRef");case p:var j=t.displayName||null;return j!==null?j:D(t.type)||"Memo";case w:{var z=t,P=z._payload,_=z._init;try{return D(_(P))}catch{return null}}}return null}var G=Object.assign,te=0,at,st,nt,it,lt,ot,ct;function dt(){}dt.__reactDisabledLog=!0;function Lr(){{if(te===0){at=console.log,st=console.info,nt=console.warn,it=console.error,lt=console.group,ot=console.groupCollapsed,ct=console.groupEnd;var t={configurable:!0,enumerable:!0,value:dt,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}te++}}function Br(){{if(te--,te===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:G({},t,{value:at}),info:G({},t,{value:st}),warn:G({},t,{value:nt}),error:G({},t,{value:it}),group:G({},t,{value:lt}),groupCollapsed:G({},t,{value:ot}),groupEnd:G({},t,{value:ct})})}te<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var je=N.ReactCurrentDispatcher,ye;function ce(t,i,x){{if(ye===void 0)try{throw Error()}catch(z){var j=z.stack.trim().match(/\n( *(at )?)/);ye=j&&j[1]||""}return`
2
+ `+ye+t}}var we=!1,de;{var Ar=typeof WeakMap=="function"?WeakMap:Map;de=new Ar}function ut(t,i){if(!t||we)return"";{var x=de.get(t);if(x!==void 0)return x}var j;we=!0;var z=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var P;P=je.current,je.current=null,Lr();try{if(i){var _=function(){throw Error()};if(Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(I){j=I}Reflect.construct(t,[],_)}else{try{_.call()}catch(I){j=I}t.call(_.prototype)}}else{try{throw Error()}catch(I){j=I}t()}}catch(I){if(I&&j&&typeof I.stack=="string"){for(var C=I.stack.split(`
3
+ `),M=j.stack.split(`
4
+ `),B=C.length-1,A=M.length-1;B>=1&&A>=0&&C[B]!==M[A];)A--;for(;B>=1&&A>=0;B--,A--)if(C[B]!==M[A]){if(B!==1||A!==1)do if(B--,A--,A<0||C[B]!==M[A]){var V=`
5
+ `+C[B].replace(" at new "," at ");return t.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",t.displayName)),typeof t=="function"&&de.set(t,V),V}while(B>=1&&A>=0);break}}}finally{we=!1,je.current=P,Br(),Error.prepareStackTrace=z}var J=t?t.displayName||t.name:"",Z=J?ce(J):"";return typeof t=="function"&&de.set(t,Z),Z}function Fr(t,i,x){return ut(t,!1)}function Mr(t){var i=t.prototype;return!!(i&&i.isReactComponent)}function ue(t,i,x){if(t==null)return"";if(typeof t=="function")return ut(t,Mr(t));if(typeof t=="string")return ce(t);switch(t){case m:return ce("Suspense");case u:return ce("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case d:return Fr(t.render);case p:return ue(t.type,i,x);case w:{var j=t,z=j._payload,P=j._init;try{return ue(P(z),i,x)}catch{}}}return""}var re=Object.prototype.hasOwnProperty,ft={},xt=N.ReactDebugCurrentFrame;function fe(t){if(t){var i=t._owner,x=ue(t.type,t._source,i?i.type:null);xt.setExtraStackFrame(x)}else xt.setExtraStackFrame(null)}function Ir(t,i,x,j,z){{var P=Function.call.bind(re);for(var _ in t)if(P(t,_)){var C=void 0;try{if(typeof t[_]!="function"){var M=Error((j||"React class")+": "+x+" type `"+_+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[_]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw M.name="Invariant Violation",M}C=t[_](i,_,j,x,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){C=B}C&&!(C instanceof Error)&&(fe(z),v("%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).",j||"React class",x,_,typeof C),fe(null)),C instanceof Error&&!(C.message in ft)&&(ft[C.message]=!0,fe(z),v("Failed %s type: %s",x,C.message),fe(null))}}}var Dr=Array.isArray;function Ne(t){return Dr(t)}function Vr(t){{var i=typeof Symbol=="function"&&Symbol.toStringTag,x=i&&t[Symbol.toStringTag]||t.constructor.name||"Object";return x}}function $r(t){try{return ht(t),!1}catch{return!0}}function ht(t){return""+t}function pt(t){if($r(t))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Vr(t)),ht(t)}var mt=N.ReactCurrentOwner,Wr={key:!0,ref:!0,__self:!0,__source:!0},gt,bt;function qr(t){if(re.call(t,"ref")){var i=Object.getOwnPropertyDescriptor(t,"ref").get;if(i&&i.isReactWarning)return!1}return t.ref!==void 0}function Hr(t){if(re.call(t,"key")){var i=Object.getOwnPropertyDescriptor(t,"key").get;if(i&&i.isReactWarning)return!1}return t.key!==void 0}function Yr(t,i){typeof t.ref=="string"&&mt.current}function Ur(t,i){{var x=function(){gt||(gt=!0,v("%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))};x.isReactWarning=!0,Object.defineProperty(t,"key",{get:x,configurable:!0})}}function Gr(t,i){{var x=function(){bt||(bt=!0,v("%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))};x.isReactWarning=!0,Object.defineProperty(t,"ref",{get:x,configurable:!0})}}var Zr=function(t,i,x,j,z,P,_){var C={$$typeof:a,type:t,key:i,ref:x,props:_,_owner:P};return C._store={},Object.defineProperty(C._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(C,"_self",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.defineProperty(C,"_source",{configurable:!1,enumerable:!1,writable:!1,value:z}),Object.freeze&&(Object.freeze(C.props),Object.freeze(C)),C};function Kr(t,i,x,j,z){{var P,_={},C=null,M=null;x!==void 0&&(pt(x),C=""+x),Hr(i)&&(pt(i.key),C=""+i.key),qr(i)&&(M=i.ref,Yr(i,z));for(P in i)re.call(i,P)&&!Wr.hasOwnProperty(P)&&(_[P]=i[P]);if(t&&t.defaultProps){var B=t.defaultProps;for(P in B)_[P]===void 0&&(_[P]=B[P])}if(C||M){var A=typeof t=="function"?t.displayName||t.name||"Unknown":t;C&&Ur(_,A),M&&Gr(_,A)}return Zr(t,C,M,z,j,mt.current,_)}}var ke=N.ReactCurrentOwner,vt=N.ReactDebugCurrentFrame;function K(t){if(t){var i=t._owner,x=ue(t.type,t._source,i?i.type:null);vt.setExtraStackFrame(x)}else vt.setExtraStackFrame(null)}var Ce;Ce=!1;function Se(t){return typeof t=="object"&&t!==null&&t.$$typeof===a}function jt(){{if(ke.current){var t=D(ke.current.type);if(t)return`
6
6
 
7
- Check the render method of \``+t+"`."}return""}}function Or(t){return""}var vt={};function Pr(t){{var i=bt();if(!i){var u=typeof t=="string"?t:t.displayName||t.name;u&&(i=`
7
+ Check the render method of \``+t+"`."}return""}}function Jr(t){return""}var yt={};function Qr(t){{var i=jt();if(!i){var x=typeof t=="string"?t:t.displayName||t.name;x&&(i=`
8
8
 
9
- Check the top-level render call using <`+u+">.")}return i}}function yt(t,i){{if(!t._store||t._store.validated||t.key!=null)return;t._store.validated=!0;var u=Pr(i);if(vt[u])return;vt[u]=!0;var b="";t&&t._owner&&t._owner!==Ce.current&&(b=" It was passed a child from "+V(t._owner.type)+"."),G(t),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',u,b),G(null)}}function jt(t,i){{if(typeof t!="object")return;if(Ne(t))for(var u=0;u<t.length;u++){var b=t[u];Se(b)&&yt(b,i)}else if(Se(t))t._store&&(t._store.validated=!0);else if(t){var O=E(t);if(typeof O=="function"&&O!==t.entries)for(var T=O.call(t),S;!(S=T.next()).done;)Se(S.value)&&yt(S.value,i)}}}function Tr(t){{var i=t.type;if(i==null||typeof i=="string")return;var u;if(typeof i=="function")u=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===d||i.$$typeof===p))u=i.propTypes;else return;if(u){var b=V(i);gr(u,t.props,"prop",b,t)}else if(i.PropTypes!==void 0&&!ke){ke=!0;var O=V(i);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",O||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function zr(t){{for(var i=Object.keys(t.props),u=0;u<i.length;u++){var b=i[u];if(b!=="children"&&b!=="key"){G(t),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",b),G(null);break}}t.ref!==null&&(G(t),v("Invalid attribute `ref` supplied to `React.Fragment`."),G(null))}}var wt={};function Nt(t,i,u,b,O,T){{var S=Y(t);if(!S){var N="";(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(N+=" 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 A=Or();A?N+=A:N+=bt();var L;t===null?L="null":Ne(t)?L="array":t!==void 0&&t.$$typeof===a?(L="<"+(V(t.type)||"Unknown")+" />",N=" Did you accidentally export a JSX literal instead of a component?"):L=typeof t,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",L,N)}var F=_r(t,i,u,O,T);if(F==null)return F;if(S){var I=i.children;if(I!==void 0)if(b)if(Ne(I)){for(var J=0;J<I.length;J++)jt(I[J],t);Object.freeze&&Object.freeze(I)}else v("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 jt(I,t)}if(te.call(i,"key")){var U=V(t),B=Object.keys(i).filter(function(Br){return Br!=="key"}),Ee=B.length>0?"{key: someKey, "+B.join(": ..., ")+": ...}":"{key: someKey}";if(!wt[U+Ee]){var Ar=B.length>0?"{"+B.join(": ..., ")+": ...}":"{}";v(`A props object containing a "key" prop is being spread into JSX:
9
+ Check the top-level render call using <`+x+">.")}return i}}function wt(t,i){{if(!t._store||t._store.validated||t.key!=null)return;t._store.validated=!0;var x=Qr(i);if(yt[x])return;yt[x]=!0;var j="";t&&t._owner&&t._owner!==ke.current&&(j=" It was passed a child from "+D(t._owner.type)+"."),K(t),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',x,j),K(null)}}function Nt(t,i){{if(typeof t!="object")return;if(Ne(t))for(var x=0;x<t.length;x++){var j=t[x];Se(j)&&wt(j,i)}else if(Se(t))t._store&&(t._store.validated=!0);else if(t){var z=S(t);if(typeof z=="function"&&z!==t.entries)for(var P=z.call(t),_;!(_=P.next()).done;)Se(_.value)&&wt(_.value,i)}}}function Xr(t){{var i=t.type;if(i==null||typeof i=="string")return;var x;if(typeof i=="function")x=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===d||i.$$typeof===p))x=i.propTypes;else return;if(x){var j=D(i);Ir(x,t.props,"prop",j,t)}else if(i.PropTypes!==void 0&&!Ce){Ce=!0;var z=D(i);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",z||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ea(t){{for(var i=Object.keys(t.props),x=0;x<i.length;x++){var j=i[x];if(j!=="children"&&j!=="key"){K(t),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",j),K(null);break}}t.ref!==null&&(K(t),v("Invalid attribute `ref` supplied to `React.Fragment`."),K(null))}}var kt={};function Ct(t,i,x,j,z,P){{var _=F(t);if(!_){var C="";(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(C+=" 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 M=Jr();M?C+=M:C+=jt();var B;t===null?B="null":Ne(t)?B="array":t!==void 0&&t.$$typeof===a?(B="<"+(D(t.type)||"Unknown")+" />",C=" Did you accidentally export a JSX literal instead of a component?"):B=typeof t,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",B,C)}var A=Kr(t,i,x,z,P);if(A==null)return A;if(_){var V=i.children;if(V!==void 0)if(j)if(Ne(V)){for(var J=0;J<V.length;J++)Nt(V[J],t);Object.freeze&&Object.freeze(V)}else v("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 Nt(V,t)}if(re.call(i,"key")){var Z=D(t),I=Object.keys(i).filter(function(ia){return ia!=="key"}),_e=I.length>0?"{key: someKey, "+I.join(": ..., ")+": ...}":"{key: someKey}";if(!kt[Z+_e]){var na=I.length>0?"{"+I.join(": ..., ")+": ...}":"{}";v(`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} />`,Ee,U,Ar,U),wt[U+Ee]=!0}}return t===s?zr(F):Tr(F),F}}function Rr(t,i,u){return Nt(t,i,u,!0)}function Lr(t,i,u){return Nt(t,i,u,!1)}var Fr=Lr,Mr=Rr;Z.Fragment=s,Z.jsx=Fr,Z.jsxs=Mr})()),Z}var Pe;function Pt(){return Pe||(Pe=1,process.env.NODE_ENV==="production"?re.exports=_t():re.exports=Ot()),re.exports}var e=Pt(),Te={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ze=g.createContext&&g.createContext(Te),Tt=["attr","size","title"];function zt(r,a){if(r==null)return{};var n,s,o=Rt(r,a);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(r);for(s=0;s<c.length;s++)n=c[s],a.indexOf(n)===-1&&{}.propertyIsEnumerable.call(r,n)&&(o[n]=r[n])}return o}function Rt(r,a){if(r==null)return{};var n={};for(var s in r)if({}.hasOwnProperty.call(r,s)){if(a.indexOf(s)!==-1)continue;n[s]=r[s]}return n}function ae(){return ae=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var n=arguments[a];for(var s in n)({}).hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},ae.apply(null,arguments)}function Re(r,a){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);a&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),n.push.apply(n,s)}return n}function ne(r){for(var a=1;a<arguments.length;a++){var n=arguments[a]!=null?arguments[a]:{};a%2?Re(Object(n),!0).forEach(function(s){Lt(r,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach(function(s){Object.defineProperty(r,s,Object.getOwnPropertyDescriptor(n,s))})}return r}function Lt(r,a,n){return(a=Ft(a))in r?Object.defineProperty(r,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[a]=n,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 n=r[Symbol.toPrimitive];if(n!==void 0){var s=n.call(r,a);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(r)}function Le(r){return r&&r.map((a,n)=>g.createElement(a.tag,ne({key:n},a.attr),Le(a.child)))}function M(r){return a=>g.createElement(At,ae({attr:ne({},r.attr)},a),Le(r.child))}function At(r){var a=n=>{var s=r.attr,o=r.size,c=r.title,x=zt(r,Tt),h=o||n.size||"1em",d;return n.className&&(d=n.className),r.className&&(d=(d?d+" ":"")+r.className),g.createElement("svg",ae({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,s,x,{className:d,style:ne(ne({color:r.color||n.color},n.style),r.style),height:h,width:h,xmlns:"http://www.w3.org/2000/svg"}),c&&g.createElement("title",null,c),r.children)};return ze!==void 0?g.createElement(ze.Consumer,null,n=>a(n)):a(Te)}function Bt(r){return M({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 Fe=Ct.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}}),D=Et.forwardRef(({className:r,variant:a,size:n,iconOnly:s,loading:o=!1,disabled:c,leftIcon:x,rightIcon:h,children:d,type:m="button",...f},p)=>e.jsx("button",{ref:p,type:m,disabled:c||o,className:l.cn(Fe({variant:a,size:n,iconOnly:s}),r),...f,children:o?e.jsx(Bt,{className:"animate-spin","aria-hidden":!0}):e.jsxs(e.Fragment,{children:[x,d,h]})}));D.displayName="Button";function It(r){return M({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 Dt(r){return M({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 Me(r){return M({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 Ae(r){return M({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 Vt(r){return M({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 Wt=({quote:r,authorName:a,authorAvatarUrl:n,meta:s,rating:o=5,className:c="",...x})=>e.jsxs("div",{className:l.cn("flex flex-col gap-3 rounded-lg bg-[#f6f5ff] p-4",c),...x,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:[n?e.jsx("img",{src:n,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(Me,{size:12},d))})]}),e.jsx("p",{className:"text-xs font-medium text-gray-500",children:s})]})]})]});function Be(r){return M({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 $t(r){return M({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 ue(r){return M({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 M({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 se(r){return M({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 fe(r){return M({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 De(r){return M({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 M({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 We=({title:r="अक्सर पूछे जाने वाले प्रश्न",items:a,initialVisibleCount:n=6,showCta:s=!0,defaultExpanded:o=!1,ctaExpandLabel:c="और देखें",ctaCollapseLabel:x="कम देखें",defaultOpenIndex:h=-1,className:d=""})=>{const[m,f]=g.useState(o),[p,w]=g.useState(h),j=s&&a.length>n,_=j&&!m?a.slice(0,n):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:_.map((P,E)=>{const C=p===E;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(C?-1:E),"aria-expanded":C,"aria-controls":`faq-answer-${E}`,id:`faq-question-${E}`,children:[e.jsx("span",{className:"flex-1 text-sm font-medium text-[#1d2125]",children:P.question}),e.jsx(se,{size:24,className:l.cn("shrink-0 transition-transform duration-200",C?"rotate-180":""),"aria-hidden":!0})]}),e.jsx("div",{id:`faq-answer-${E}`,role:"region","aria-labelledby":`faq-question-${E}`,hidden:!C,children:e.jsx("p",{className:"px-3 pb-3 text-sm text-gray-500",children:P.answer})})]},E)})}),j&&e.jsx(D,{variant:"secondary",size:"lg",className:"w-full",onClick:()=>f(P=>!P),"aria-expanded":m,rightIcon:e.jsx(se,{size:24,className:l.cn("shrink-0 transition-transform duration-200",m?"rotate-180":""),"aria-hidden":!0}),children:m?x:c})]})},$e=g.forwardRef(({src:r,poster:a,className:n="",rounded:s=!0,width:o,height:c},x)=>{const[h,d]=g.useState(!1),[m,f]=g.useState(!0),[p,w]=g.useState(!1),[j,_]=g.useState(0),[P,E]=g.useState(0),C=g.useRef(null),v=o!==void 0||c!==void 0,R=l.cn("block w-full",v&&"h-full object-cover"),k=z=>{const W=Number(z.target.value);_(W),C.current&&(C.current.currentTime=W)};return e.jsx("div",{ref:x,style:{width:o,height:c},className:l.cn("relative w-full overflow-hidden",s&&"rounded-2xl",n),children:h?e.jsxs(e.Fragment,{children:[e.jsx(kt,{ref:C,src:r,poster:a,playing:m,muted:p,width:o,height:c,className:R,onTimeUpdate:z=>_(z.currentTarget.currentTime),onDurationChange:z=>E(z.currentTarget.duration),onEnded:()=>f(!1)}),e.jsx(D,{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:()=>f(z=>!z),children:m?e.jsx(Vt,{size:16}):e.jsx(Ae,{size:16,className:"translate-x-0.5"})}),e.jsx(D,{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(z=>!z),children:p?e.jsx(Dt,{size:14}):e.jsx(It,{size:14})}),e.jsx("input",{type:"range",min:0,max:P||0,step:.1,value:j,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:R}),e.jsx("div",{className:"absolute inset-0 bg-linear-to-b from-black/0 to-black/60"}),e.jsx(D,{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(Ae,{size:16,className:"translate-x-0.5"})})]})})});$e.displayName="VideoPlayer";const qt=()=>e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163707447.svg",alt:"",width:24,height:24}),xe=g.forwardRef(({options:r,value:a,onChange:n,defaultOpen:s=!1,open:o,onOpenChange:c,className:x="",triggerClassName:h="",menuClassName:d="",...m},f)=>{const[p,w]=g.useState(s),j=o!==void 0,_=j?o:p,P=g.useCallback(v=>{j||w(v),c?.(v)},[j,c]),E=g.useRef(null);g.useImperativeHandle(f,()=>E.current),g.useEffect(()=>{if(!_)return;const v=k=>{E.current?.contains(k.target)||P(!1)},R=k=>{k.key==="Escape"&&P(!1)};return document.addEventListener("mousedown",v),document.addEventListener("keydown",R),()=>{document.removeEventListener("mousedown",v),document.removeEventListener("keydown",R)}},[_,P]);const C=v=>{n?.(v.value),P(!1)};return e.jsxs("div",{ref:E,className:l.cn("relative inline-block",x),...m,children:[e.jsxs("button",{type:"button",onClick:()=>P(!_),"aria-label":"Switch language","aria-haspopup":"listbox","aria-expanded":_,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(qt,{}),e.jsx(se,{size:24,className:l.cn("transition-transform duration-200",_?"rotate-180":""),"aria-hidden":!0})]}),_&&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 R=v.value===a;return e.jsx("li",{role:"option","aria-selected":R,children:e.jsx("button",{type:"button",onClick:()=>C(v),className:l.cn("block w-full px-3 py-2 text-left text-sm hover:bg-gray-50",R?"font-medium text-[#f75e22]":"text-[#1d2125]"),children:v.label})},v.value)})})]})});xe.displayName="LanguageSwitcher";function Yt({onBackClick:r,backButtonAriaLabel:a="Go back",locale:n,localeOptions:s,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(xe,{options:s,value:n,onChange:o,menuClassName:"left-auto right-0"})]})}const qe=g.forwardRef(({label:r,selected:a=!1,onClick:n,icon:s,className:o,type:c="button",...x},h)=>e.jsxs("button",{ref:h,type:c,onClick:n,"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),...x,children:[s,r]}));qe.displayName="Chip";const Ht=({quote:r,currentStep:a,totalSteps:n,className:s,...o})=>{const c=n>0?Math.min(100,Math.max(0,a/n*100)):0;return e.jsxs("div",{className:l.cn("flex w-full items-center gap-3 px-4 py-3",s),...o,children:[e.jsxs("div",{className:"flex flex-1 flex-col items-center gap-2 min-w-0",children:[e.jsx("p",{className:"w-full truncate text-center font-['Noto_Sans'] text-[10px] leading-[14px] font-semibold text-[#cf6c09]",children:r}),e.jsxs("div",{className:"relative h-1.5 w-full rounded-full bg-[rgba(28,27,27,0.05)]",children:[e.jsx("div",{className:"w-full h-1.5 rounded-full bg-[#fccf9a] transition-[width]",style:{width:`${c}%`}}),e.jsx("div",{className:"absolute top-0 -translate-y-1.75 -translate-x-1/2",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:"shrink-0 font-['Noto_Sans'] text-xs font-semibold text-gray-700",children:[a,"/",n]})]})};function Ut(r){return M({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 Gt(r){return M({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 Ye=1.25,He=[{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}],Jt=({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:He.map((n,s)=>e.jsx("rect",{x:n.x,y:n.y,width:Ye,height:n.height,rx:Ye/2,fill:"#6B7280",className:r?"wave-bar-anim":"",style:{animationDelay:`${(a*He.length+s)*60}ms`}},s))}),Kt=({avatarUrl:r,question:a,description:n,audioSrc:s,className:o,...c})=>{const x=g.useRef(null),h=g.useRef(!1),[d,m]=g.useState(!1),[f,p]=g.useState(!1);g.useEffect(()=>{!s||h.current||(h.current=!0,x.current?.play().catch(()=>{}))},[s]);const w=()=>{const j=x.current;j&&(j.muted=!j.muted,m(j.muted))};return e.jsxs("div",{className:l.cn("flex w-full items-start gap-3 px-4 pb-6",o),...c,children:[e.jsxs("div",{className:"relative size-16 shrink-0 overflow-hidden rounded-[12.8px] bg-linear-to-b from-[#fef5e9] to-[#fccf9a]",children:[e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1788163138113.svg",alt:"",className:"absolute"}),e.jsx("img",{src: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,n,s&&e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("audio",{ref:x,src:s,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(Gt,{size:18,className:"text-[#f75e22]"}):e.jsx(Ut,{size:18,className:"text-[#f75e22]"})}),e.jsx("div",{className:"flex items-center gap-[1.5px]",children:[0,1,2].map(j=>e.jsx(Jt,{animate:f&&!d,iconIndex:j},j))})]})]})]})]})},Zt={sm:"size-9",md:"size-11",lg:"size-16"},he=g.forwardRef(({icon:r,avatarUrl:a,alt:n="",size:s="md",className:o,...c},x)=>e.jsx("div",{ref:x,className:l.cn("flex shrink-0 items-center justify-center overflow-hidden rounded-full",Zt[s],!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:n,className:"size-full object-cover"}):r}));he.displayName="IconBadge";const pe=g.forwardRef(({selected:r=!1,onSelect:a,icon:n,avatarUrl:s,iconSize:o="md",iconClassName:c,title:x,description:h,badge:d,showRadio:m=!0,radioVariant:f="dot",radioClassName:p,tag:w,tagClassName:j,children:_,className:P,disabled:E,type:C="button",...v},R)=>e.jsxs("div",{className:l.cn("relative overflow-visible rounded-2xl border transition-colors",r?"border-[#f38415] bg-[#FEF5E9]":"border-gray-200 bg-white",E&&"opacity-50",P),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",j),children:w}),e.jsxs("button",{ref:R,type:C,role:"radio","aria-checked":r,disabled:E,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:[(n||s)&&e.jsx(he,{icon:n,avatarUrl:s,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:x}),h&&!_&&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?f==="check"?l.cn("border-transparent bg-linear-to-b from-[#f97e4e] to-[#f75e22] text-white",p):"border-[#f75e22]":"border-gray-300"),children:[r&&f==="dot"&&e.jsx("span",{className:l.cn("size-3.5 rounded-full bg-linear-to-b from-[#f97e4e] to-[#f75e22]",p)}),r&&f==="check"&&e.jsx(fe,{size:14,"aria-hidden":!0})]})]}),_]}));pe.displayName="SelectorCard";const Qt=({value:r,onClick:a,className:n,...s})=>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",n),...s,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})]}),Xt=({value:r,onInfoClick:a,infoLabel:n="More info",className:s,...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",s),...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":n,className:"shrink-0 border-0 bg-transparent p-0 text-gray-700",children:e.jsx(ue,{size:18,"aria-hidden":!0})}):e.jsx(ue,{size:18,className:"shrink-0 text-gray-700","aria-hidden":!0})]}),Ue=({value:r,className:a,...n})=>e.jsx("span",{className:l.cn("inline-flex items-center rounded-full bg-white px-3 py-1 text-sm font-semibold text-emerald-600",a),...n,children:r}),Ge=({className:r,children:a,...n})=>e.jsx("div",{className:l.cn("rounded-b-2xl bg-[#f38415]/15 px-4 py-2.5 text-center text-[13px] font-medium text-[#b45309]",r),...n,children:a}),er=({value:r,onIncrement:a,onDecrement:n,min:s=0,max:o,addLabel:c="Add",className:x})=>r<=s?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",x),children:[e.jsx(Be,{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",x),children:[e.jsx("button",{type:"button",onClick:n,"aria-label":"Decrease quantity",className:"inline-flex size-6 cursor-pointer items-center justify-center rounded-full transition-colors ",children:e.jsx($t,{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(Be,{size:18,"aria-hidden":!0})})]}),Je=({title:r,description:a,price:n,originalPrice:s,action:o,className:c,...x})=>e.jsx("div",{className:l.cn("rounded-2xl border border-gray-200 bg-white p-4",c),...x,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:[s&&e.jsx("span",{className:"text-sm text-gray-400 line-through",children:s}),e.jsx("span",{className:"text-[15px] font-bold text-[#1d2125]",children:n})]}),o]})]})}),tr=({children:r="Change",className:a,type:n="button",...s})=>e.jsxs("button",{type:n,className:l.cn("inline-flex items-center gap-1.5 rounded-full border border-gray-300 px-3 py-1.5 text-sm font-semibold text-gray-900 transition-colors hover:bg-gray-50",a),...s,children:[e.jsx(Ie,{size:14,"aria-hidden":!0}),r]}),rr=({children:r="Added",className:a,type:n="button",...s})=>e.jsxs("button",{type:n,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),...s,children:[e.jsx(fe,{size:14,"aria-hidden":!0}),r]}),Ke=({image:r,imageAlt:a="",title:n,description:s,price:o,originalPrice:c,tag:x,tagClassName:h,action:d,className:m,...f})=>e.jsxs("div",{className:l.cn("overflow-hidden rounded-2xl border border-gray-100 bg-white shadow-sm",m),...f,children:[x&&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:x}),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:n}),s&&e.jsx("p",{className:" font-['Noto_Sans'] mt-1 text-xs leading-4 text-[#6B7280]",children:s}),e.jsxs("div",{className:"mt-auto flex items-baseline gap-1.5 whitespace-nowrap pt-3",children:[e.jsx("span",{className:"text-[18px] font-semibold text-emerald-600",children: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 ar(r){return M({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 nr(r){return M({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 sr(r){return M({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 ir=[{id:"money-back",icon:e.jsx(nr,{"aria-hidden":!0}),label:"100% Money Back Guarantee"},{id:"no-hidden-cost",icon:e.jsx(ar,{"aria-hidden":!0}),label:"No Hidden Cost"},{id:"24x7-support",icon:e.jsx(sr,{"aria-hidden":!0}),label:"24x7 Support"}],Ze=({badges:r=ir,badgeClassName:a,className:n,...s})=>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",n),...s,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:n,subtitleClassName:s,showInfoIcon:o=!0,onInfoClick:c,infoIconClassName:x,proceedLabel:h="Proceed",proceedIcon:d=e.jsx(De,{"aria-hidden":!0}),onProceed:m,proceedButtonProps:f,buttonWrapperClassName:p,className:w,...j})=>e.jsxs("div",{className:l.cn("flex items-center gap-3 rounded-t-3xl bg-white px-4 py-4 shadow-[0_-2px_12px_rgba(0,0,0,0.08)]",w),...j,children:[e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:l.cn("text-xl font-extrabold text-[#1d2125]",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",x),children:e.jsx(ue,{size:18,"aria-hidden":!0})})]}),n&&e.jsx("p",{className:l.cn("mt-1 text-sm text-gray-500",s),children:n})]}),e.jsx("div",{className:l.cn("shrink-0",p),children:e.jsxs(D,{variant:"primary",size:"xl",onClick:m,...f,className:l.cn("min-w-40 justify-center gap-2",f?.className),children:[h,d]})})]}),lr=({title:r,description:a,benefits:n,options:s,value:o,onChange:c,radioVariant:x="dot",radiogroupLabel:h,className:d,headerClassName:m,benefitsClassName:f,optionsClassName:p,trustBadges:w,checkout:j,stickyFooter:_=!0,footerClassName:P})=>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})]}),n&&n.length>0&&e.jsx("div",{className:l.cn("flex flex-col gap-3.5 bg-[#f3f5f7] px-4 py-5",f),children:n.map((E,C)=>e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(fe,{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:E})]},C))}),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:s.map(E=>{const{id:C,price:v,free:R,badge:k,priceBadgeProps:z,note:W,noteProps:Q,children:q,iconClassName:$,radioVariant:Y,...ve}=E,X=o===C,V=k??(v==null?void 0:R?e.jsx("span",{className:l.cn("text-sm font-medium text-gray-400",z?.className),...z,children:v}):e.jsx(Ue,{value:v,...z}));return e.jsx(pe,{...ve,iconClassName:l.cn("size-10",$),radioVariant:Y??x,badge:V,selected:X,onSelect:()=>c(C),children:q??(X&&W&&e.jsx(Ge,{...Q,children:W}))},C)})}),(w||j)&&e.jsxs("div",{className:l.cn(_&&"sticky bottom-0 z-10",P),children:[w&&e.jsx(Ze,{...w}),j&&e.jsx(Qe,{...j})]})]}),Xe=({icon:r=e.jsx(Me,{"aria-hidden":!0}),iconClassName:a,title:n,titleClassName:s,subtitle:o,subtitleItems:c,subtitleClassName:x,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]",s),children:[r&&e.jsx("span",{className:l.cn("shrink-0 text-sm",a),children:r}),n]}),(o||c&&c.length>0)&&e.jsx("p",{className:l.cn("mt-2 text-[15px] font-semibold text-[#1d2125]",x),children:c&&c.length>0?c.map((f,p)=>e.jsxs(g.Fragment,{children:[p>0&&e.jsx("span",{className:"mx-1.5 text-gray-400",children:"•"}),f]},p)):o})]})}),et=({title:r="Bill Details",titleClassName:a,rows:n,rowClassName:s,showTitleAccent:o=!0,totalLabel:c="Total Amount",totalValue:x,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:n.map(f=>e.jsxs("div",{className:l.cn("flex items-start justify-between gap-3",s),children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:l.cn("text-sm text-[#1d2125]",f.labelClassName),children:f.label}),f.subLabel&&e.jsx("p",{className:l.cn("mt-0.5 text-xs text-gray-400",f.subLabelClassName),children:f.subLabel})]}),e.jsxs("div",{className:"flex shrink-0 items-baseline gap-1.5 whitespace-nowrap text-sm",children:[f.note&&e.jsx("span",{className:"text-gray-400",children:f.note}),f.originalValue&&e.jsx("span",{className:"text-gray-400 line-through",children:f.originalValue}),e.jsx("span",{className:l.cn("font-medium text-[#1d2125]",f.valueClassName),children:f.value})]})]},f.id))}),x!==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:x})]})]}),or=({headerTitle:r="Review your booking",onBack:a,backButtonAriaLabel:n="Go back",headerClassName:s,backButtonClassName:o,headerTitleClassName:c,summary:x,items:h,itemsClassName:d,itemClassName:m,upsellsTitle:f="Add services for all ancestors",upsellsDescription:p,upsells:w,upsellsSectionClassName:j,upsellsHeaderClassName:_,upsellsTitleClassName:P,upsellsDescriptionClassName:E,upsellsClassName:C,upsellClassName:v,billDetails:R,faq:k,className:z,children:W,...Q})=>e.jsxs("div",{className:l.cn("flex flex-col bg-white",z),...Q,children:[(r||a)&&e.jsxs("div",{className:l.cn("flex items-center gap-3 px-4 py-3",s),children:[a&&e.jsx("button",{type:"button",onClick:a,"aria-label":n,className:l.cn("flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg border-0 bg-transparent p-0",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})]}),x&&e.jsx(Xe,{...x}),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:q,className:$,...Y})=>e.jsx(Je,{className:l.cn(m,$),...Y},q))}),w&&w.length>0&&e.jsxs("div",{className:l.cn("flex flex-col gap-4 bg-gray-50 px-4 py-6",j),children:[(f||p)&&e.jsxs("div",{className:_,children:[f&&e.jsx("h2",{className:l.cn("text-base font-bold text-gray-700",P),children:f}),p&&e.jsx("p",{className:l.cn("mt-1 text-sm text-gray-500",E),children:p})]}),e.jsx("div",{className:l.cn("flex flex-col gap-4",C),children:w.map(({id:q,className:$,...Y})=>e.jsx(Ke,{className:l.cn(v,$),...Y},q))})]}),R&&e.jsx(et,{...R}),k&&e.jsx(We,{...k}),W]}),me=g.forwardRef(({label:r,value:a,onChange:n,prefix:s,showCharCount:o=!1,supportingText:c,error:x=!1,className:h,containerClassName:d,wrapperClassName:m,maxLength:f,id:p,...w},j)=>{const _=g.useId(),P=p??_,E=c??(o?`${a.length}${f?`/${f}`:""}`:void 0);return e.jsxs("div",{className:l.cn("flex w-full flex-col gap-2",d),children:[r&&e.jsx("label",{htmlFor:P,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",x?"border-[#ef4444]":"border-[#d1d5db]",m),children:[s&&e.jsx("span",{className:"shrink-0 text-[16px] leading-5.5 font-medium text-[#6b7280]",children:s}),e.jsx("input",{ref:j,id:P,value:a,maxLength:f,onChange:C=>n(C.target.value),"aria-invalid":x,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&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#9ca3af]",children:E})]})]})});me.displayName="TextField";function cr({isOpen:r,onClose:a,avatarUrl:n,heading:s,tithis:o,confirmLabel:c,onConfirm:x,initialTithi:h}){const[d,m]=g.useState(h),f=()=>{d&&x(d)};return e.jsx(l.BottomSheet,{isOpen:r,onClose:a,showDragHandle:!0,ariaLabel:s,header:e.jsxs("div",{className:"flex w-full flex-col items-center gap-3 px-5 pt-2",children:[e.jsxs("div",{className:"flex w-full items-center gap-3",children:[e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]",children:e.jsx("img",{src:n,alt:"",className:"size-full object-cover"})}),e.jsx("p",{className:"flex-1 text-[16px] leading-5.5 font-semibold text-[#374151]",children:s})]}),e.jsx("div",{className:"h-px w-full bg-[rgba(28,27,27,0.05)]"})]}),footer:e.jsxs("div",{className:"flex w-full flex-col items-center gap-4 px-5 pb-2",children:[e.jsx("div",{className:"h-px w-full bg-[rgba(28,27,27,0.05)]"}),e.jsx(D,{variant:"primary",size:"md",className:"w-full rounded-xl",disabled:!d,onClick:f,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 ie=48;function ge({options:r,selectedIndex:a,onChange:n}){const s=g.useRef(null),o=g.useRef(!1);g.useEffect(()=>{o.current||!s.current||(o.current=!0,s.current.scrollTop=a*ie)},[]);const c=()=>{if(!s.current)return;const x=Math.round(s.current.scrollTop/ie),h=Math.max(0,Math.min(r.length-1,x));h!==a&&n(h)};return e.jsxs("div",{className:"relative h-36 w-full",children:[e.jsxs("div",{ref:s,onScroll:c,className:"h-36 snap-y snap-mandatory overflow-y-auto [&::-webkit-scrollbar]:hidden",style:{scrollbarWidth:"none"},children:[e.jsx("div",{style:{height:ie},"aria-hidden":!0}),r.map((x,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:x},x)),e.jsx("div",{style:{height:ie},"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 be=Array.from({length:31},(r,a)=>a+1);function dr({isOpen:r,onClose:a,avatarUrl:n,heading:s,monthLabels:o,confirmLabel:c,onConfirm:x,timezoneLabel:h,initialDate:d,minYear:m,maxYear:f=new Date().getFullYear()}){const p=g.useMemo(()=>{const R=m??f-120;return Array.from({length:f-R+1},(k,z)=>R+z)},[m,f]),[w,j]=g.useState(()=>d?d.day-1:Math.floor(be.length/2)),[_,P]=g.useState(()=>d?d.month-1:0),[E,C]=g.useState(()=>d?Math.max(0,p.indexOf(d.year)):Math.floor(p.length/2)),v=()=>{x({day:be[w],month:_+1,year:p[E]})};return e.jsx(l.BottomSheet,{isOpen:r,onClose:a,showDragHandle:!0,ariaLabel:s,header:e.jsxs("div",{className:"flex w-full flex-col items-center gap-3 px-5 pt-2",children:[e.jsxs("div",{className:"flex w-full items-center gap-3",children:[e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[#fff9e9]",children:e.jsx("img",{src:n,alt:"",className:"size-full object-cover"})}),e.jsx("p",{className:"flex-1 text-[16px] leading-5.5 font-semibold text-[#374151]",children:s})]}),e.jsx("div",{className:"h-px w-full bg-[rgba(28,27,27,0.05)]"})]}),footer:e.jsxs("div",{className:"flex w-full flex-col items-center gap-4 px-5 pb-2",children:[e.jsx("div",{className:"h-px w-full bg-[rgba(28,27,27,0.05)]"}),e.jsxs("div",{className:"flex w-full items-center gap-6",children:[h&&e.jsx("p",{className:"shrink-0 text-[12px] leading-4 font-semibold whitespace-nowrap text-[#6b7280]",children:h}),e.jsx(D,{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(ge,{options:be.map(String),selectedIndex:w,onChange:j}),e.jsx(ge,{options:o,selectedIndex:_,onChange:P}),e.jsx(ge,{options:p.map(String),selectedIndex:E,onChange:C})]})})}function ur({isOpen:r,onClose:a,heading:n,subtext:s,confirmLabel:o,onConfirm:c,initialValue:x="",countries:h=l.DEFAULT_COUNTRIES,initialCountryIso:d="IN"}){const[m,f]=g.useState(()=>h.find(k=>k.iso===d)??h[0]),[p,w]=g.useState(x),[j,_]=g.useState(!1),P=g.useRef(null);g.useEffect(()=>{if(!j)return;const k=z=>{P.current&&!P.current.contains(z.target)&&_(!1)};return document.addEventListener("mousedown",k),()=>document.removeEventListener("mousedown",k)},[j]);const E=l.getMaxLengthForCountry(m.code),C=l.validatePhoneByCountryCode(p,m.code).isValid&&p.length>0,v=k=>{f(k),_(!1),w(z=>z.slice(0,l.getMaxLengthForCountry(k.code)))},R=()=>{C&&c(p,m)};return e.jsx(l.BottomSheet,{isOpen:r,onClose:a,showDragHandle:!0,ariaLabel:n,footer:e.jsx("div",{className:"px-4 pt-3 pb-5",children:e.jsx(D,{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:!C,onClick:R,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:n}),s&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#6b7280]",children:s}),e.jsxs("div",{className:"mt-2 flex w-full items-start gap-2",children:[e.jsxs("div",{ref:P,className:"relative shrink-0",children:[e.jsxs("button",{type:"button",onClick:()=>_(k=>!k),"aria-expanded":j,"aria-haspopup":"listbox",className:"flex h-14 items-center gap-1 rounded-xl border border-[#d1d5db] bg-white pl-3 pr-2",children:[e.jsx("span",{className:"text-[20px] leading-7","aria-hidden":!0,children:l.getFlagEmoji(m.iso)}),e.jsx("span",{className:"text-[18px] leading-6 font-medium text-[#1d2125]",children:m.code}),e.jsx(se,{size:24,className:"text-[#1d2125]","aria-hidden":!0})]}),j&&e.jsx("div",{role:"listbox",className:"absolute top-[calc(100%+4px)] left-0 z-10 max-h-60 w-64 overflow-y-auto rounded-xl border border-[#e5e7eb] bg-white py-1 shadow-lg",children: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(me,{type:"tel",inputMode:"numeric",value:p,maxLength:E,onChange:k=>w(k.replace(/\D/g,"").slice(0,E)),containerClassName:"w-auto flex-1 gap-0",wrapperClassName:"h-14 rounded-xl px-4",className:"text-[18px]"})]})]})})}Object.defineProperty(y,"cn",{enumerable:!0,get:()=>l.cn}),y.AudioQuestionCard=Kt,y.BillDetails=et,y.BookingSummaryBanner=Xe,y.Button=D,y.CartReviewAddedBadge=rr,y.CartReviewChangeButton=tr,y.CartReviewItem=Je,y.CartView=or,y.CheckoutBar=Qe,y.Chip=qe,y.DatePickerSheet=dr,y.FAQSection=We,y.IconBadge=he,y.LanguageSwitcher=xe,y.PackageSelect=lr,y.PhoneNumberSheet=ur,y.QuantityStepper=er,y.SelectorCard=pe,y.SelectorCardEditableField=Qt,y.SelectorCardInfoRow=Xt,y.SelectorCardNote=Ge,y.SelectorCardPriceBadge=Ue,y.ServiceOfferCard=Ke,y.StepProgressHeader=Ht,y.TestimonialCard=Wt,y.TextField=me,y.TithiPickerSheet=cr,y.TopBar=Yt,y.TrustBadgesBar=Ze,y.VideoPlayer=$e,y.buttonVariants=Fe,Object.defineProperty(y,Symbol.toStringTag,{value:"Module"})}));
14
+ <%s key={someKey} {...props} />`,_e,Z,na,Z),kt[Z+_e]=!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=St.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,S)=>{const N=p===S;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:S),"aria-expanded":N,"aria-controls":`faq-answer-${S}`,id:`faq-question-${S}`,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-${S}`,role:"region","aria-labelledby":`faq-question-${S}`,hidden:!N,children:e.jsx("p",{className:"px-3 pb-3 text-sm text-gray-500",children:O.answer})})]},S)})}),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,S]=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(_t,{ref:N,src:r,poster:a,playing:m,muted:p,width:o,height:c,className:T,onTimeUpdate:R=>E(R.currentTarget.currentTime),onDurationChange:R=>S(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]),S=g.useRef(null);g.useImperativeHandle(u,()=>S.current),g.useEffect(()=>{if(!E)return;const v=k=>{S.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:S,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("flex w-full items-center gap-3 px-4 py-3",n),...o,children:[e.jsxs("div",{className:"flex flex-1 flex-col items-center gap-2 min-w-0",children:[e.jsx("p",{className:"w-full truncate text-center font-['Noto_Sans'] text-[10px] leading-[14px] font-semibold text-[#cf6c09]",children:r}),e.jsxs("div",{className:"relative h-1.5 w-full rounded-full bg-[rgba(28,27,27,0.05)]",children:[e.jsx("div",{className:"w-full h-1.5 rounded-full bg-[#fccf9a] transition-[width]",style:{width:`${c}%`}}),e.jsx("div",{className:"absolute top-0 -translate-y-1.75 -translate-x-1/2",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:"shrink-0 font-['Noto_Sans'] text-xs font-semibold text-gray-700",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:S,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",S&&"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:S,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((S,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:S})]},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(S=>{const{id:N,price:v,free:T,badge:k,priceBadgeProps:R,note:$,noteProps:Y,children:W,iconClassName:H,radioVariant:F,...ee}=S,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:S,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",S),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,S=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})]}),S&&e.jsx("p",{className:"text-[12px] leading-4 font-medium text-[#9ca3af]",children:S})]})]})});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),[S,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[S]})};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:S,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 S=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:S,onChange:k=>w(k.replace(/\D/g,"").slice(0,S)),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:S,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:S,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",Sr="https://srm-cdn.a4b.io/yoda/1788256910547.svg",_r="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:Sr,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:_r,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"})}));