@srimandir/astrology-common 7.2.0 → 7.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/astrology-common.css +1 -1
- package/dist/components/CircularMarquee/CircularMarquee.d.ts +1 -1
- package/dist/components/ConsultationSlotSelector/types.d.ts +3 -1
- package/dist/components/Consultations/AstrologerCard.d.ts +11 -0
- package/dist/components/Consultations/AstrologerList.d.ts +18 -0
- package/dist/components/Consultations/AstrologerPhoto.d.ts +9 -0
- package/dist/components/Consultations/RecommendedBadge.d.ts +7 -0
- package/dist/components/Consultations/icons.d.ts +5 -0
- package/dist/components/Consultations/index.d.ts +6 -0
- package/dist/components/Consultations/mockAstrologers.d.ts +2 -0
- package/dist/components/Consultations/types.d.ts +10 -0
- package/dist/components/ContactUsSection/ContactUsSection.d.ts +1 -1
- package/dist/components/FAQAccordion/FAQAccordion.d.ts +1 -1
- package/dist/components/FooterShell/FooterCTAButton.d.ts +1 -1
- package/dist/components/FooterShell/FooterShell.d.ts +1 -1
- package/dist/components/FormCheckboxWithHelp/FormCheckboxWithHelp.d.ts +1 -1
- package/dist/components/FormContainer/FormContainer.d.ts +1 -1
- package/dist/components/FormDateInput/FormDateInput.d.ts +1 -1
- package/dist/components/FormField/FormField.d.ts +1 -1
- package/dist/components/FormFooterNote/FormFooterNote.d.ts +1 -1
- package/dist/components/FormLocationInput/FormLocationInput.d.ts +1 -1
- package/dist/components/FormSectionHeader/FormSectionHeader.d.ts +1 -1
- package/dist/components/FormSegmentedControl/FormSegmentedControl.d.ts +1 -1
- package/dist/components/FormTagPills/FormTagPills.d.ts +1 -1
- package/dist/components/FormTextInput/FormTextInput.d.ts +1 -1
- package/dist/components/FormTimeInput/FormTimeInput.d.ts +1 -1
- package/dist/components/MarqueeStrip/MarqueeStrip.d.ts +1 -1
- package/dist/components/PageHeader/PageHeader.d.ts +1 -1
- package/dist/components/PhoneNumberInput/PhoneNumberInput.d.ts +27 -0
- package/dist/components/PhoneNumberInput/countries.d.ts +13 -0
- package/dist/components/PhoneNumberInput/icons.d.ts +3 -0
- package/dist/components/PhoneNumberInput/index.d.ts +3 -0
- package/dist/components/PhoneNumberInput/usePhoneNumberInput.d.ts +22 -0
- package/dist/components/PrivacyBanner/PrivacyBanner.d.ts +1 -1
- package/dist/components/UserReviewsSection/UserReviewsSection.d.ts +1 -1
- package/dist/index.cjs +1 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1388 -1517
- package/dist/index.js.map +1 -1
- package/dist/utils/phoneValidation.d.ts +6 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./styles.js");const j=require("react");var Me={exports:{}},Se={};var ut;function Ht(){if(ut)return Se;ut=1;var a=j,r=Symbol.for("react.element"),s=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,l=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function _(d,f,g){var v,h={},w=null,k=null;g!==void 0&&(w=""+g),f.key!==void 0&&(w=""+f.key),f.ref!==void 0&&(k=f.ref);for(v in f)c.call(f,v)&&!u.hasOwnProperty(v)&&(h[v]=f[v]);if(d&&d.defaultProps)for(v in f=d.defaultProps,f)h[v]===void 0&&(h[v]=f[v]);return{$$typeof:r,type:d,key:w,ref:k,props:h,_owner:l.current}}return Se.Fragment=s,Se.jsx=_,Se.jsxs=_,Se}var Te={};var _t;function Kt(){return _t||(_t=1,process.env.NODE_ENV!=="production"&&(function(){var a=j,r=Symbol.for("react.element"),s=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),d=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),k=Symbol.for("react.offscreen"),E=Symbol.iterator,Z="@@iterator";function ge(e){if(e===null||typeof e!="object")return null;var n=E&&e[E]||e[Z];return typeof n=="function"?n:null}var O=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function $(e){{for(var n=arguments.length,i=new Array(n>1?n-1:0),m=1;m<n;m++)i[m-1]=arguments[m];qe("error",e,i)}}function qe(e,n,i){{var m=O.ReactDebugCurrentFrame,N=m.getStackAddendum();N!==""&&(n+="%s",i=i.concat([N]));var S=i.map(function(y){return String(y)});S.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,S)}}var Ie=!1,We=!1,C=!1,Ye=!1,q=!1,be;be=Symbol.for("react.module.reference");function Ue(e){return!!(typeof e=="string"||typeof e=="function"||e===c||e===u||q||e===l||e===g||e===v||Ye||e===k||Ie||We||C||typeof e=="object"&&e!==null&&(e.$$typeof===w||e.$$typeof===h||e.$$typeof===_||e.$$typeof===d||e.$$typeof===f||e.$$typeof===be||e.getModuleId!==void 0))}function J(e,n,i){var m=e.displayName;if(m)return m;var N=n.displayName||n.name||"";return N!==""?i+"("+N+")":i}function V(e){return e.displayName||"Context"}function L(e){if(e==null)return null;if(typeof e.tag=="number"&&$("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case c:return"Fragment";case s:return"Portal";case u:return"Profiler";case l:return"StrictMode";case g:return"Suspense";case v:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case d:var n=e;return V(n)+".Consumer";case _:var i=e;return V(i._context)+".Provider";case f:return J(e,e.render,"ForwardRef");case h:var m=e.displayName||null;return m!==null?m:L(e.type)||"Memo";case w:{var N=e,S=N._payload,y=N._init;try{return L(y(S))}catch{return null}}}return null}var U=Object.assign,ee=0,H,te,ve,$e,xe,Ee,Ce;function ye(){}ye.__reactDisabledLog=!0;function je(){{if(ee===0){H=console.log,te=console.info,ve=console.warn,$e=console.error,xe=console.group,Ee=console.groupCollapsed,Ce=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ye,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ee++}}function de(){{if(ee--,ee===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:U({},e,{value:H}),info:U({},e,{value:te}),warn:U({},e,{value:ve}),error:U({},e,{value:$e}),group:U({},e,{value:xe}),groupCollapsed:U({},e,{value:Ee}),groupEnd:U({},e,{value:Ce})})}ee<0&&$("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ne=O.ReactCurrentDispatcher,ae;function re(e,n,i){{if(ae===void 0)try{throw Error()}catch(N){var m=N.stack.trim().match(/\n( *(at )?)/);ae=m&&m[1]||""}return`
|
|
2
|
-
`+ae+e}}var ue=!1,K;{var Oe=typeof WeakMap=="function"?WeakMap:Map;K=new Oe}function we(e,n){if(!e||ue)return"";{var i=K.get(e);if(i!==void 0)return i}var m;ue=!0;var N=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var S;S=ne.current,ne.current=null,je();try{if(n){var y=function(){throw Error()};if(Object.defineProperty(y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(y,[])}catch(M){m=M}Reflect.construct(e,[],y)}else{try{y.call()}catch(M){m=M}e.call(y.prototype)}}else{try{throw Error()}catch(M){m=M}e()}}catch(M){if(M&&m&&typeof M.stack=="string"){for(var b=M.stack.split(`
|
|
3
|
-
`),P=m.stack.split(`
|
|
4
|
-
`),R=b.length-1,I=P.length-1;R>=1&&I>=0&&b[R]!==P[I];)I--;for(;R>=1&&I>=0;R--,I--)if(b[R]!==P[I]){if(R!==1||I!==1)do if(R--,I--,I<0||b[R]!==P[I]){var F=`
|
|
5
|
-
`+b[R].replace(" at new "," at ");return e.displayName&&F.includes("<anonymous>")&&(F=F.replace("<anonymous>",e.displayName)),typeof e=="function"&&K.set(e,F),F}while(R>=1&&I>=0);break}}}finally{ue=!1,ne.current=S,de(),Error.prepareStackTrace=N}var he=e?e.displayName||e.name:"",ie=he?re(he):"";return typeof e=="function"&&K.set(e,ie),ie}function De(e,n,i){return we(e,!1)}function Ne(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function oe(e,n,i){if(e==null)return"";if(typeof e=="function")return we(e,Ne(e));if(typeof e=="string")return re(e);switch(e){case g:return re("Suspense");case v:return re("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return De(e.render);case h:return oe(e.type,n,i);case w:{var m=e,N=m._payload,S=m._init;try{return oe(S(N),n,i)}catch{}}}return""}var se=Object.prototype.hasOwnProperty,Pe={},Le=O.ReactDebugCurrentFrame;function _e(e){if(e){var n=e._owner,i=oe(e.type,e._source,n?n.type:null);Le.setExtraStackFrame(i)}else Le.setExtraStackFrame(null)}function o(e,n,i,m,N){{var S=Function.call.bind(se);for(var y in e)if(S(e,y)){var b=void 0;try{if(typeof e[y]!="function"){var P=Error((m||"React class")+": "+i+" type `"+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw P.name="Invariant Violation",P}b=e[y](n,y,m,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){b=R}b&&!(b instanceof Error)&&(_e(N),$("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",m||"React class",i,y,typeof b),_e(null)),b instanceof Error&&!(b.message in Pe)&&(Pe[b.message]=!0,_e(N),$("Failed %s type: %s",i,b.message),_e(null))}}}var x=Array.isArray;function D(e){return x(e)}function z(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,i=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i}}function A(e){try{return Ze(e),!1}catch{return!0}}function Ze(e){return""+e}function et(e){if(A(e))return $("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",z(e)),Ze(e)}var tt=O.ReactCurrentOwner,kt={key:!0,ref:!0,__self:!0,__source:!0},nt,at;function Rt(e){if(se.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function It(e){if(se.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function $t(e,n){typeof e.ref=="string"&&tt.current}function Et(e,n){{var i=function(){nt||(nt=!0,$("%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)",n))};i.isReactWarning=!0,Object.defineProperty(e,"key",{get:i,configurable:!0})}}function Ct(e,n){{var i=function(){at||(at=!0,$("%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)",n))};i.isReactWarning=!0,Object.defineProperty(e,"ref",{get:i,configurable:!0})}}var Ot=function(e,n,i,m,N,S,y){var b={$$typeof:r,type:e,key:n,ref:i,props:y,_owner:S};return b._store={},Object.defineProperty(b._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(b,"_self",{configurable:!1,enumerable:!1,writable:!1,value:m}),Object.defineProperty(b,"_source",{configurable:!1,enumerable:!1,writable:!1,value:N}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b};function Dt(e,n,i,m,N){{var S,y={},b=null,P=null;i!==void 0&&(et(i),b=""+i),It(n)&&(et(n.key),b=""+n.key),Rt(n)&&(P=n.ref,$t(n,N));for(S in n)se.call(n,S)&&!kt.hasOwnProperty(S)&&(y[S]=n[S]);if(e&&e.defaultProps){var R=e.defaultProps;for(S in R)y[S]===void 0&&(y[S]=R[S])}if(b||P){var I=typeof e=="function"?e.displayName||e.name||"Unknown":e;b&&Et(y,I),P&&Ct(y,I)}return Ot(e,b,P,N,m,tt.current,y)}}var He=O.ReactCurrentOwner,rt=O.ReactDebugCurrentFrame;function fe(e){if(e){var n=e._owner,i=oe(e.type,e._source,n?n.type:null);rt.setExtraStackFrame(i)}else rt.setExtraStackFrame(null)}var Ke;Ke=!1;function ze(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function ot(){{if(He.current){var e=L(He.current.type);if(e)return`
|
|
6
|
-
|
|
7
|
-
Check the render method of \``+e+"`."}return""}}function Pt(e){return""}var st={};function Lt(e){{var n=ot();if(!n){var i=typeof e=="string"?e:e.displayName||e.name;i&&(n=`
|
|
8
|
-
|
|
9
|
-
Check the top-level render call using <`+i+">.")}return n}}function it(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var i=Lt(n);if(st[i])return;st[i]=!0;var m="";e&&e._owner&&e._owner!==He.current&&(m=" It was passed a child from "+L(e._owner.type)+"."),fe(e),$('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',i,m),fe(null)}}function ct(e,n){{if(typeof e!="object")return;if(D(e))for(var i=0;i<e.length;i++){var m=e[i];ze(m)&&it(m,n)}else if(ze(e))e._store&&(e._store.validated=!0);else if(e){var N=ge(e);if(typeof N=="function"&&N!==e.entries)for(var S=N.call(e),y;!(y=S.next()).done;)ze(y.value)&&it(y.value,n)}}}function Mt(e){{var n=e.type;if(n==null||typeof n=="string")return;var i;if(typeof n=="function")i=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===f||n.$$typeof===h))i=n.propTypes;else return;if(i){var m=L(n);o(i,e.props,"prop",m,e)}else if(n.PropTypes!==void 0&&!Ke){Ke=!0;var N=L(n);$("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",N||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&$("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function At(e){{for(var n=Object.keys(e.props),i=0;i<n.length;i++){var m=n[i];if(m!=="children"&&m!=="key"){fe(e),$("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",m),fe(null);break}}e.ref!==null&&(fe(e),$("Invalid attribute `ref` supplied to `React.Fragment`."),fe(null))}}var lt={};function dt(e,n,i,m,N,S){{var y=Ue(e);if(!y){var b="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(b+=" 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 P=Pt();P?b+=P:b+=ot();var R;e===null?R="null":D(e)?R="array":e!==void 0&&e.$$typeof===r?(R="<"+(L(e.type)||"Unknown")+" />",b=" Did you accidentally export a JSX literal instead of a component?"):R=typeof e,$("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",R,b)}var I=Dt(e,n,i,N,S);if(I==null)return I;if(y){var F=n.children;if(F!==void 0)if(m)if(D(F)){for(var he=0;he<F.length;he++)ct(F[he],e);Object.freeze&&Object.freeze(F)}else $("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 ct(F,e)}if(se.call(n,"key")){var ie=L(e),M=Object.keys(n).filter(function(Ut){return Ut!=="key"}),Ge=M.length>0?"{key: someKey, "+M.join(": ..., ")+": ...}":"{key: someKey}";if(!lt[ie+Ge]){var Yt=M.length>0?"{"+M.join(": ..., ")+": ...}":"{}";$(`A props object containing a "key" prop is being spread into JSX:
|
|
10
|
-
let props = %s;
|
|
11
|
-
<%s {...props} />
|
|
12
|
-
React keys must be passed directly to JSX without using spread:
|
|
13
|
-
let props = %s;
|
|
14
|
-
<%s key={someKey} {...props} />`,Ge,ie,Yt,ie),lt[ie+Ge]=!0}}return e===c?At(I):Mt(I),I}}function Bt(e,n,i){return dt(e,n,i,!0)}function Ft(e,n,i){return dt(e,n,i,!1)}var qt=Ft,Wt=Bt;Te.Fragment=c,Te.jsx=qt,Te.jsxs=Wt})()),Te}var ft;function zt(){return ft||(ft=1,process.env.NODE_ENV==="production"?Me.exports=Ht():Me.exports=Kt()),Me.exports}var t=zt();const Gt="_section_1fboo_1",Vt="_heading_1fboo_5",Jt="_trustLine_1fboo_9",Xt="_star_1fboo_13",Qt="_ratingNum_1fboo_17",Zt="_trustText_1fboo_21",en="_cardList_1fboo_25",tn="_card_1fboo_25",nn="_quote_1fboo_37",an="_author_1fboo_41",rn="_avatar_1fboo_45",on="_avatarPlaceholder_1fboo_49",sn="_authorInfo_1fboo_54",cn="_authorName_1fboo_58",ln="_stars_1fboo_62",dn="_readMoreWrap_1fboo_66",un="_toggleBtn_1fboo_70",_n="_readMore_1fboo_66",fn="_arrow_1fboo_89",hn="_dot_1fboo_93",T={section:Gt,heading:Vt,trustLine:Jt,star:Xt,ratingNum:Qt,trustText:Zt,cardList:en,card:tn,quote:nn,author:an,avatar:rn,avatarPlaceholder:on,authorInfo:sn,authorName:cn,stars:ln,readMoreWrap:dn,toggleBtn:un,readMore:_n,arrow:fn,dot:hn},mn=3,ht=15;function pn(a){const r=new Map;for(let d=1;d<=ht;d+=1){const f=`feedbackTestimonial${d}`,g=a(f);if(!g||g===f)continue;const v=`feedbackAuthor${d}`,h=(()=>{const E=a(v);return E&&E!==v?E:a("guest")})(),w=`feedbackAuthor${d}AvatarUrl`,k=(()=>{const E=a(w);return E&&E!==w?E:void 0})();r.set(d,{quote:g,authorName:h,authorAvatarUrl:k,rating:5})}const s=[],c=[];for(let d=1;d<=ht;d+=1)d>=9?c.push(d):s.push(d);const l=[];let u=0,_=0;for(;u<s.length||_<c.length;){if(_<c.length){const d=c[_++],f=r.get(d);f&&l.push(f)}if(u<s.length){const d=s[u++],f=r.get(d);f&&l.push(f)}}return l}function gn({t:a,testimonials:r,initialVisible:s=mn,readMoreHref:c,onReadMore:l,className:u="",headingClassName:_}){const d=r??j.useMemo(()=>pn(a),[a]),[f,g]=j.useState(!1),v=d.length>s,h=v&&!f?d.slice(0,s):d,w=a("feedbackTitle"),k=a("feedbackRating"),E=a("feedbackTrust"),Z=a("readMoreReviews"),ge=a("readLess");return t.jsxs("section",{className:`${T.section} ${u}`,"aria-labelledby":"reviews-heading",children:[t.jsx("h2",{id:"reviews-heading",className:[T.heading,_].filter(Boolean).join(" "),children:w}),t.jsxs("p",{className:T.trustLine,children:[t.jsx("span",{className:T.star,"aria-hidden":!0,children:"★"}),t.jsx("span",{className:T.ratingNum,children:k}),t.jsx("span",{className:T.dot,"aria-hidden":!0}),t.jsx("span",{className:T.trustText,children:E})]}),t.jsx("ul",{className:T.cardList,children:h.map((O,$)=>t.jsxs("li",{className:T.card,children:[t.jsx("p",{className:T.quote,children:O.quote}),t.jsxs("div",{className:T.author,children:[O.authorAvatarUrl?t.jsx("img",{src:O.authorAvatarUrl,alt:"",className:T.avatar,width:40,height:40}):t.jsx("div",{className:T.avatarPlaceholder,"aria-hidden":!0}),t.jsxs("div",{className:T.authorInfo,children:[t.jsx("span",{className:T.authorName,children:O.authorName}),t.jsx("span",{className:T.stars,"aria-hidden":!0,children:"★".repeat(O.rating??5)})]})]})]},$))}),v&&t.jsx("div",{className:T.readMoreWrap,children:t.jsxs("button",{type:"button",className:T.toggleBtn,onClick:()=>g(O=>!O),"aria-expanded":f,children:[f?ge:Z,t.jsx("span",{className:T.arrow,"aria-hidden":!0,children:"›"})]})}),(c||l)&&!v&&t.jsx("div",{className:T.readMoreWrap,children:c?t.jsxs("a",{href:c,className:T.readMore,target:"_blank",rel:"noopener noreferrer",children:[Z,t.jsx("span",{className:T.arrow,"aria-hidden":!0,children:"›"})]}):t.jsxs("button",{type:"button",className:T.readMore,onClick:()=>l?.(),children:[Z,t.jsx("span",{className:T.arrow,"aria-hidden":!0,children:"›"})]})})]})}const bn="_section_4dc65_1",vn="_heading_4dc65_5",xn="_accordion_4dc65_9",yn="_item_4dc65_13",jn="_itemOpen_4dc65_17",wn="_question_4dc65_22",Nn="_chevron_4dc65_30",Sn="_chevronOpen_4dc65_34",Tn="_answerWrap_4dc65_38",kn="_answerOpen_4dc65_42",Rn="_answer_4dc65_38",W={section:bn,heading:vn,accordion:xn,item:yn,itemOpen:jn,question:wn,chevron:Nn,chevronOpen:Sn,answerWrap:Tn,answerOpen:kn,answer:Rn};function In({t:a,items:r,resolveAnswerKey:s,defaultOpenIndex:c=0,onItemOpen:l,className:u="",headingClassName:_}){const d=j.useMemo(()=>r.map(({qKey:h,aKey:w})=>({question:a(h),answer:a(s?s(w):w)})),[a,r,s]),[f,g]=j.useState(c),v=a("faqTitle");return t.jsxs("section",{className:`${W.section} ${u}`,"aria-labelledby":"faq-heading",children:[t.jsx("h2",{id:"faq-heading",className:[W.heading,_].filter(Boolean).join(" "),children:v}),t.jsx("div",{className:W.accordion,role:"list",children:d.map((h,w)=>{const k=f===w;return t.jsxs("div",{className:`${W.item} ${k?W.itemOpen:""}`,role:"listitem",children:[t.jsxs("button",{type:"button",className:W.question,onClick:()=>{const E=!k;g(k?-1:w),E&&l?.(h.question)},"aria-expanded":k,"aria-controls":`faq-answer-${w}`,id:`faq-question-${w}`,children:[t.jsx("span",{children:h.question}),t.jsx("span",{className:`${W.chevron} ${k?W.chevronOpen:""}`,"aria-hidden":!0,children:t.jsx("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,focusable:"false",children:t.jsx("path",{d:"M5.8 8.3a1 1 0 0 1 1.4 0L10 11.09l2.8-2.8a1 1 0 1 1 1.4 1.42l-3.5 3.5a1 1 0 0 1-1.4 0l-3.5-3.5A1 1 0 0 1 5.8 8.3z",fill:"currentColor"})})})]}),t.jsx("div",{id:`faq-answer-${w}`,role:"region","aria-labelledby":`faq-question-${w}`,className:`${W.answerWrap} ${k?W.answerOpen:""}`,hidden:!k,children:t.jsx("p",{className:W.answer,children:h.answer})})]},w)})})]})}const $n="_header_dbx4y_1",En="_brand_dbx4y_7",Cn="_logo_dbx4y_11",On="_logoImg_dbx4y_15",Dn="_logoPlaceholder_dbx4y_21",Pn="_brandText_dbx4y_29",Ln="_brandName_dbx4y_33",Mn="_rating_dbx4y_38",An="_langSlot_dbx4y_49",G={header:$n,brand:En,logo:Cn,logoImg:On,logoPlaceholder:Dn,brandText:Pn,brandName:Ln,rating:Mn,langSlot:An},mt=120,pt=40;function Bn({t:a,logoUrl:r,imageComponent:s,languageSelector:c,showLanguageSelector:l=!0,className:u=""}){const _=l&&c!=null,d=a("sriMandir"),f=a("ratingText");return t.jsxs("header",{className:`${G.header} ${u}`,children:[t.jsxs("div",{className:G.brand,children:[t.jsx("div",{className:G.logo,children:r?s?t.jsx(s,{src:r,alt:d,className:G.logoImg,width:mt,height:pt}):t.jsx("img",{src:r,alt:d,className:G.logoImg,width:mt,height:pt,decoding:"async"}):t.jsx("div",{className:G.logoPlaceholder,"aria-hidden":!0})}),t.jsxs("div",{className:G.brandText,children:[t.jsx("span",{className:G.brandName,children:d}),f!=null&&f!==""&&t.jsx("span",{className:G.rating,children:f})]})]}),_&&t.jsx("div",{className:G.langSlot,children:c})]})}const Fn="_wrap_1vbpd_1",qn="_card_1vbpd_5",Wn="_cardInner_1vbpd_10",Ve={wrap:Fn,card:qn,cardInner:Wn};function Yn({children:a,className:r="","aria-label":s}){return t.jsx("section",{className:`${Ve.wrap} ${r}`,"aria-label":s,children:t.jsx("div",{className:Ve.card,children:t.jsx("div",{className:Ve.cardInner,children:a})})})}const Un="_header_a05ni_1",Hn="_left_a05ni_7",Kn="_backBtn_a05ni_11",zn="_titleWrap_a05ni_21",Gn="_title_a05ni_21",Vn="_subtitle_a05ni_31",Jn="_backIcon_a05ni_37",ce={header:Un,left:Hn,backBtn:Kn,titleWrap:zn,title:Gn,subtitle:Vn,backIcon:Jn},Xn=()=>t.jsx("svg",{className:ce.backIcon,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:t.jsx("path",{d:"M15 18l-6-6 6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});function Qn({title:a,subtitle:r,onBack:s,backAriaLabel:c="Back",className:l=""}){return t.jsx("header",{className:`${ce.header} ${l}`,children:t.jsxs("div",{className:ce.left,children:[s!=null&&t.jsx("button",{type:"button",className:ce.backBtn,onClick:s,"aria-label":c,children:t.jsx(Xn,{})}),t.jsxs("div",{className:ce.titleWrap,children:[t.jsx("h1",{className:ce.title,children:a}),r!=null&&r!==""&&t.jsx("p",{className:ce.subtitle,children:r})]})]})})}const Zn="_banner_1jco0_1",ea="_icon_1jco0_12",ta="_text_1jco0_16",Je={banner:Zn,icon:ea,text:ta},na="https://srm-cdn.a4b.io/yoda/1770707793537.svg";function aa({text:a,iconUrl:r=na,className:s=""}){return t.jsx("div",{className:`${Je.banner} ${s}`,role:"status",children:t.jsxs("span",{className:Je.text,children:[" ",t.jsx("img",{src:r,alt:"",className:Je.icon,width:18,height:18,"aria-hidden":!0})," ",a]})})}const ra="_field_eqt7q_1",oa="_labelRow_eqt7q_5",sa="_label_eqt7q_5",ia="_req_eqt7q_14",ca="_help_eqt7q_18",la="_infoBtn_eqt7q_22",da="_infoImg_eqt7q_30",ua="_infoWrap_eqt7q_34",_a="_tooltip_eqt7q_38",fa="_tooltipArrow_eqt7q_45",ha="_inputWrap_eqt7q_50",Y={field:ra,labelRow:oa,label:sa,req:ia,help:ca,infoBtn:la,infoImg:da,infoWrap:ua,tooltip:_a,tooltipArrow:fa,inputWrap:ha},ma="https://srm-cdn.a4b.io/yoda/1770372066357.svg";function pa({label:a,id:r,required:s=!1,help:c,infoTooltip:l,infoAriaLabel:u="Info",infoIconUrl:_=ma,children:d,className:f=""}){const[g,v]=j.useState(!1);return j.useEffect(()=>{if(!l)return;const h=k=>{k.target?.closest?.("[data-info-tooltip]")==null&&v(!1)},w=k=>{k.key==="Escape"&&v(!1)};return document.addEventListener("mousedown",h),document.addEventListener("keydown",w),()=>{document.removeEventListener("mousedown",h),document.removeEventListener("keydown",w)}},[l]),t.jsxs("div",{className:`${Y.field} ${f}`,children:[t.jsxs("div",{className:Y.labelRow,children:[t.jsxs("label",{className:Y.label,htmlFor:r,children:[a,s&&t.jsx("span",{className:Y.req,children:"*"})]}),l!=null&&l!==""&&t.jsxs("div",{className:Y.infoWrap,"data-info-tooltip":!0,children:[t.jsx("button",{type:"button",className:Y.infoBtn,"aria-label":u,"aria-expanded":g,onClick:()=>v(h=>!h),children:t.jsx("img",{className:Y.infoImg,src:_,alt:"","aria-hidden":!0})}),g&&t.jsxs("div",{className:Y.tooltip,role:"tooltip",children:[l,t.jsx("span",{className:Y.tooltipArrow,"aria-hidden":!0})]})]})]}),c!=null&&c!==""&&t.jsx("div",{className:Y.help,children:c}),t.jsx("div",{className:Y.inputWrap,children:d})]})}const ga="_wrap_1uy4o_1",ba="_input_1uy4o_5",va="_iconBtn_1uy4o_21",xa="_iconBtnInteractive_1uy4o_25",ya="_iconImg_1uy4o_39",me={wrap:ga,input:ba,iconBtn:va,iconBtnInteractive:xa,iconImg:ya};function ja({id:a,iconUrl:r,iconAlt:s="",iconInteractive:c=!1,onIconClick:l,className:u="",..._}){return t.jsxs("div",{className:`${me.wrap} ${u}`,children:[t.jsx("input",{..._,id:a,className:me.input,type:_.type??"text"}),r!=null&&t.jsx("button",{type:"button",className:c?`${me.iconBtn} ${me.iconBtnInteractive}`:me.iconBtn,"aria-label":s||void 0,onClick:c?l:void 0,tabIndex:c?0:-1,children:t.jsx("img",{className:me.iconImg,src:r,alt:"","aria-hidden":!0,width:22,height:22})})]})}const wa="_wrap_t646o_1",Na="_input_t646o_5",Sa="_iconBtn_t646o_28",Ta="_iconImg_t646o_42",Ae={wrap:wa,input:Na,iconBtn:Sa,iconImg:Ta},ka="https://srm-cdn.a4b.io/yoda/1770372045894.svg";function Ra({id:a,value:r,onChange:s,onIconClick:c,className:l="",...u}){const _=j.useRef(null),d=j.useMemo(()=>{const g=new Date,v=h=>String(h).padStart(2,"0");return`${g.getFullYear()}-${v(g.getMonth()+1)}-${v(g.getDate())}`},[]),f=()=>{if(c){c();return}const g=_.current;g&&typeof g.showPicker=="function"?g.showPicker():g?.focus()};return t.jsxs("div",{className:`${Ae.wrap} ${l}`,children:[t.jsx("input",{...u,ref:_,id:a,type:"date",className:Ae.input,value:r,max:d,onChange:g=>s(g.target.value)}),t.jsx("button",{type:"button",className:`${Ae.iconBtn}`,"aria-label":"Open date picker",onMouseDown:g=>g.preventDefault(),onClick:g=>{g.preventDefault(),f()},children:t.jsx("img",{className:Ae.iconImg,src:ka,alt:"","aria-hidden":!0,width:22,height:22})})]})}const Ia="_wrap_1jdg7_1",$a="_input_1jdg7_5",Ea="_iconBtn_1jdg7_34",Ca="_iconImg_1jdg7_48",Be={wrap:Ia,input:$a,iconBtn:Ea,iconImg:Ca},Oa="https://srm-cdn.a4b.io/yoda/1770372014782.svg";function Da({id:a,value:r,onChange:s,placeholder:c="HH:MM AM",disabled:l=!1,onIconClick:u,className:_=""}){return t.jsxs("div",{className:`${Be.wrap} ${_}`,children:[t.jsx("input",{id:a,type:"time",className:Be.input,value:r,onChange:d=>s(d.target.value),placeholder:c,disabled:l,onClick:()=>!l&&u?.()}),t.jsx("button",{type:"button",className:Be.iconBtn,"aria-label":"Open time picker",disabled:l,onClick:d=>{d.preventDefault(),l||u?.()},children:t.jsx("img",{className:Be.iconImg,src:Oa,alt:"","aria-hidden":!0,width:22,height:22})})]})}const Pa="_wrap_1bb6o_1",La="_input_1bb6o_5",Ma="_iconBtn_1bb6o_21",Aa="_iconImg_1bb6o_25",Fe={wrap:Pa,input:La,iconBtn:Ma,iconImg:Aa},Ba="https://srm-cdn.a4b.io/yoda/1770372031092.svg";function Fa({id:a,iconUrl:r=Ba,className:s="",...c}){return t.jsxs("div",{className:`${Fe.wrap} ${s}`,children:[t.jsx("input",{...c,id:a,className:Fe.input,type:"text"}),t.jsx("div",{className:Fe.iconBtn,"aria-hidden":!0,children:t.jsx("img",{className:Fe.iconImg,src:r,alt:"",width:22,height:22})})]})}const qa="_segmented_3sa9v_1",Wa="_segmentedOption_3sa9v_6",Ya="_active_3sa9v_15",Xe={segmented:qa,segmentedOption:Wa,active:Ya};function Ua({id:a,options:r,value:s,onChange:c,className:l=""}){return t.jsx("div",{className:`${Xe.segmented} ${l}`,role:"group","aria-labelledby":`${a}-label`,children:r.map(u=>t.jsx("button",{type:"button",id:u.value===s?a:void 0,className:`${Xe.segmentedOption} ${u.value===s?Xe.active:""}`,onClick:()=>c(u.value),children:u.label},u.value))})}const Ha="_pillsWrap_z1kui_1",Ka="_pill_z1kui_1",za="_selected_z1kui_17",Qe={pillsWrap:Ha,pill:Ka,selected:za};function Ga({id:a,options:r,selected:s,onChange:c,className:l=""}){const u=_=>{s.includes(_)?c(s.filter(d=>d!==_)):c([...s,_])};return t.jsx("div",{className:`${Qe.pillsWrap} ${l}`,role:"group","aria-labelledby":`${a}-label`,children:r.map(_=>t.jsx("button",{type:"button",className:`${Qe.pill} ${s.includes(_.key)?Qe.selected:""}`,onClick:()=>u(_.key),children:_.label},_.key))})}const Va="_wrapper_i6a5b_2",Ja="_checkboxRow_i6a5b_6",Xa="_checkbox_i6a5b_6",Qa="_checkboxText_i6a5b_31",Za="_checkboxHelp_i6a5b_37",ke={wrapper:Va,checkboxRow:Ja,checkbox:Xa,checkboxText:Qa,checkboxHelp:Za};function er({id:a,checked:r,onChange:s,primaryText:c,helpText:l,className:u=""}){return t.jsxs("div",{className:`${ke.wrapper} ${u}`,children:[t.jsxs("div",{className:ke.checkboxRow,children:[t.jsx("input",{id:a,type:"checkbox",className:ke.checkbox,checked:r,onChange:_=>s(_.target.checked)}),t.jsx("label",{htmlFor:a,className:ke.checkboxText,children:c})]}),l!=null&&l!==""&&t.jsx("p",{className:ke.checkboxHelp,children:l})]})}const tr="_footerNote_laev3_1",nr={footerNote:tr};function ar({children:a,className:r=""}){return t.jsx("p",{className:`${nr.footerNote} ${r}`,children:a})}const rr="_footer_86zxt_1",or="_inner_86zxt_8",sr="_badges_86zxt_12",ir="_marqueeContent_86zxt_20",cr="_badge_86zxt_12",lr="_badgeIcon_86zxt_35",dr="_ctaWrap_86zxt_39",ur="_ctaStruck_86zxt_43",_r="_ctaButton_86zxt_49",fr="_offerRow_86zxt_69",hr="_pill_86zxt_76",mr="_ctaStatic_86zxt_85",le={footer:rr,inner:or,badges:sr,marqueeContent:ir,badge:cr,badgeIcon:lr,ctaWrap:dr,ctaStruck:ur,ctaButton:_r,offerRow:fr,pill:hr,ctaStatic:mr};function pr({marquee:a,children:r,className:s=""}){return t.jsx("footer",{className:`${le.footer} ${s}`,role:"contentinfo",children:t.jsxs("div",{className:le.inner,children:[a!=null&&t.jsx("div",{className:le.badges,"aria-hidden":!0,children:a}),t.jsx("div",{className:le.ctaWrap,children:r})]})})}function gr({children:a,href:r,disabled:s=!1,onClick:c,static:l=!1,className:u="","aria-label":_}){const d=`${le.ctaButton} ${u}`.trim(),f=`${le.ctaStatic} ${u}`.trim(),g=_!=null?{"aria-label":_}:{};return l?t.jsx("div",{className:f,role:"presentation",children:a}):r!=null?t.jsx("a",{href:r,className:d,target:"_blank",rel:"noopener noreferrer","aria-disabled":s,onClick:v=>s&&v.preventDefault(),...g,children:a}):t.jsx("button",{type:"button",className:d,disabled:s,onClick:c,...g,children:a})}const br="_wrapper_wxjzs_1",vr="_track_wxjzs_7",gt={wrapper:br,track:vr};function vt({children:a,className:r=""}){return t.jsx("div",{className:`${gt.wrapper} ${r}`,"aria-hidden":!0,children:t.jsxs("div",{className:gt.track,children:[a,a]})})}const xr="_strip_2838b_1",yr={strip:xr};function jr({children:a,className:r=""}){return t.jsx("div",{className:`${yr.strip} ${r}`,role:"region","aria-label":"Trust badges",children:t.jsx(vt,{children:a})})}const wr="_section_8y3x9_1",Nr="_heading_8y3x9_6",Sr="_content_8y3x9_11",Tr="_line_8y3x9_16",kr="_brandName_8y3x9_20",pe={section:wr,heading:Nr,content:Sr,line:Tr,brandName:kr};function Rr({title:a,brandName:r,whatsAppLine:s,emailLine:c,className:l=""}){return t.jsxs("section",{className:`${pe.section} ${l}`,"aria-labelledby":"contact-heading",children:[t.jsx("h2",{id:"contact-heading",className:pe.heading,children:a}),t.jsxs("div",{className:pe.content,children:[t.jsx("p",{className:pe.brandName,children:r}),t.jsx("p",{className:pe.line,children:s}),t.jsx("p",{className:pe.line,children:c})]})]})}const xt=a=>{const r=a.match(/T(\d{2}):(\d{2})/);if(!r)return a;const s=Number(r[1]),c=r[2],l=s>=12?"PM":"AM";return`${s%12||12}:${c} ${l}`},yt=(a,r=new Date)=>{const s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],c=new Date(`${a}T00:00:00`);if(Number.isNaN(c.getTime()))return{id:a,dayLabel:a,dayNum:""};const l=d=>new Date(d.getFullYear(),d.getMonth(),d.getDate()).getTime(),u=Math.round((l(c)-l(r))/(1e3*60*60*24)),_=u===0?"Today":u===1?"Tomorrow":s[c.getDay()];return{id:a,dayLabel:_,dayNum:String(c.getDate())}},jt=["morning","afternoon","evening"],wt=[{code:"en",labelKey:"formReportLanguageEnglish",label:"English"},{code:"hi",labelKey:"formReportLanguageHindi",label:"Hindi"},{code:"te",labelKey:"formReportLanguageTelugu",label:"Telugu"},{code:"kn",labelKey:"formReportLanguageKannada",label:"Kannada"},{code:"gu",labelKey:"formReportLanguageGujarati",label:"Gujarati"},{code:"mr",labelKey:"formReportLanguageMarathi",label:"Marathi"},{code:"ta",labelKey:"formReportLanguageTamil",label:"Tamil"}],Ir=()=>t.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":!0,children:t.jsx("path",{d:"M3.5 8.5l2.5 2.5 6-6",stroke:"#22c55e",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}),$r=()=>t.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:t.jsx("path",{d:"M6 9l6 6 6-6"})}),Er=()=>t.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1785316603029.svg",width:16,height:16,alt:"","aria-hidden":!0}),Cr=()=>t.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1785316621747.svg",width:16,height:16,alt:"","aria-hidden":!0}),Or=()=>t.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1785316635953.svg",width:16,height:16,alt:"","aria-hidden":!0}),Dr=()=>t.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[t.jsx("rect",{x:"3",y:"4.5",width:"18",height:"16",rx:"3",stroke:"#D1D5DB",strokeWidth:"1.6"}),t.jsx("path",{d:"M3 9.5h18",stroke:"#D1D5DB",strokeWidth:"1.6"}),t.jsx("path",{d:"M8 2.5v4M16 2.5v4",stroke:"#D1D5DB",strokeWidth:"1.6",strokeLinecap:"round"}),t.jsx("path",{d:"M7.5 20.5L17 6",stroke:"#9CA3AF",strokeWidth:"1.6",strokeLinecap:"round"})]}),Pr="_section_1ltqn_2",Lr="_headerRow_1ltqn_10",Mr="_title_1ltqn_18",Ar="_changeBtn_1ltqn_24",Br="_numberRow_1ltqn_35",Fr="_countryCode_1ltqn_44",qr="_number_1ltqn_35",Wr="_helper_1ltqn_59",X={section:Pr,headerRow:Lr,title:Mr,changeBtn:Ar,numberRow:Br,countryCode:Fr,number:qr,helper:Wr},Nt=({title:a,countryCode:r="+91",phoneNumber:s="98765 43210",helperText:c,onEdit:l,t:u,className:_=""})=>t.jsxs("section",{className:[X.section,_].filter(Boolean).join(" "),children:[t.jsxs("div",{className:X.headerRow,children:[t.jsx("span",{className:X.title,children:a??u?.("planPhoneNumberHeading")??"Your phone number"}),l&&t.jsx("button",{type:"button",className:X.changeBtn,onClick:l,children:u?.("planPhoneNumberChange")??"Change"})]}),t.jsxs("div",{className:X.numberRow,children:[t.jsx("span",{className:X.countryCode,children:r}),t.jsx("span",{className:X.number,children:s})]}),t.jsx("p",{className:X.helper,children:c??u?.("planPhoneNumberHelper")??"The astrologer will call you on this number at your booked slot."})]}),Yr="_section_12hk9_2",Ur="_title_12hk9_6",Hr="_profileRow_12hk9_13",Kr="_profileCard_12hk9_26",zr="_profileCardSelected_12hk9_47",Gr="_profileTop_12hk9_52",Vr="_avatar_12hk9_60",Jr="_profileName_12hk9_74",Xr="_relationPill_12hk9_84",Qr="_profileMeta_12hk9_98",Zr="_addCard_12hk9_108",eo="_addIcon_12hk9_127",B={section:Yr,title:Ur,profileRow:Hr,profileCard:Kr,profileCardSelected:zr,profileTop:Gr,avatar:Vr,profileName:Jr,relationPill:Xr,profileMeta:Qr,addCard:Zr,addIcon:eo},to=[{id:"self",name:"Aarav Sharma",birthDetails:"12 Mar 1994 • 06:45 AM",birthPlace:"Bengaluru, India",relation:"Self"},{id:"spouse",name:"Diya Sharma",birthDetails:"04 Sep 1996 • 11:20 PM",birthPlace:"Pune, India",relation:"Spouse"}],St=({title:a,profiles:r=to,selectedProfileId:s,onProfileSelect:c,onAddProfile:l,t:u,className:_=""})=>{const[d,f]=j.useState(r[0]?.id??""),g=s??d,v=h=>{f(h),c?.(h)};return t.jsxs("section",{className:[B.section,_].filter(Boolean).join(" "),children:[t.jsx("p",{className:B.title,children:a??u?.("planAstrologyProfilesHeading")??"Astrology profile"}),t.jsxs("div",{className:B.profileRow,role:"radiogroup","aria-label":"Astrology profile",children:[r.map(h=>{const w=h.id===g;return t.jsxs("button",{type:"button",role:"radio","aria-checked":w,className:[B.profileCard,w?B.profileCardSelected:""].filter(Boolean).join(" "),onClick:()=>v(h.id),children:[t.jsxs("span",{className:B.profileTop,children:[t.jsx("span",{className:B.avatar,"aria-hidden":!0,children:h.name.charAt(0).toUpperCase()}),t.jsx("span",{className:B.profileName,children:h.name})]}),h.relation&&t.jsx("span",{className:B.relationPill,children:h.relation}),h.birthDetails&&t.jsx("span",{className:B.profileMeta,children:h.birthDetails}),h.birthPlace&&t.jsx("span",{className:B.profileMeta,children:h.birthPlace})]},h.id)}),l&&t.jsxs("button",{type:"button",className:B.addCard,onClick:l,children:[t.jsx("span",{className:B.addIcon,"aria-hidden":!0,children:"+"}),u?.("planAddAstrologyProfile")??"Add profile"]})]})]})},no="_root_1ywut_6",ao="_languageRow_1ywut_19",ro="_languageLabel_1ywut_27",oo="_languageDropdown_1ywut_33",so="_languageDropdownBtn_1ywut_37",io="_languageMenu_1ywut_52",co="_languageMenuItem_1ywut_69",lo="_languageMenuItemSelected_1ywut_83",uo="_languageDivider_1ywut_89",_o="_sectionHeading_1ywut_96",fo="_reportReadyBanner_1ywut_104",ho="_reportReadyDuration_1ywut_113",mo="_dateTabs_1ywut_119",po="_dateTabIndicator_1ywut_131",go="_dateTab_1ywut_119",bo="_dateTabDivider_1ywut_165",vo="_dateTabSelected_1ywut_175",xo="_dateTabLabel_1ywut_180",yo="_dateTabNum_1ywut_187",jo="_periodTabs_1ywut_201",wo="_periodTabIndicator_1ywut_129",No="_periodTab_1ywut_129",So="_periodTabSelected_1ywut_248",To="_timeGrid_1ywut_253",ko="_emptyState_1ywut_280",Ro="_timeSlot_1ywut_284",Io="_timeSlotSelected_1ywut_300",$o="_stateMessage_1ywut_308",Eo="_retryBtn_1ywut_315",Co="_emptyStateIcon_1ywut_341",Oo="_emptyStateTitle_1ywut_352",Do="_emptyStateSubtitle_1ywut_359",Po="_loadingWrap_1ywut_368",Lo="_skeletonShimmer_1ywut_373",Mo="_skeletonDateTabs_1ywut_387",Ao="_skeletonDateTab_1ywut_387",Bo="_skeletonPeriodTabs_1ywut_401",Fo="_skeletonPeriodTab_1ywut_401",qo="_skeletonTimeGrid_1ywut_416",Wo="_skeletonTimeSlot_1ywut_422",p={root:no,languageRow:ao,languageLabel:ro,languageDropdown:oo,languageDropdownBtn:so,languageMenu:io,languageMenuItem:co,languageMenuItemSelected:lo,languageDivider:uo,sectionHeading:_o,reportReadyBanner:fo,reportReadyDuration:ho,dateTabs:mo,dateTabIndicator:po,dateTab:go,dateTabDivider:bo,dateTabSelected:vo,dateTabLabel:xo,dateTabNum:yo,periodTabs:jo,periodTabIndicator:wo,periodTab:No,periodTabSelected:So,timeGrid:To,emptyState:ko,timeSlot:Ro,timeSlotSelected:Io,stateMessage:$o,retryBtn:Eo,emptyStateIcon:Co,emptyStateTitle:Oo,emptyStateSubtitle:Do,loadingWrap:Po,skeletonShimmer:Lo,skeletonDateTabs:Mo,skeletonDateTab:Ao,skeletonPeriodTabs:Bo,skeletonPeriodTab:Fo,skeletonTimeGrid:qo,skeletonTimeSlot:Wo},Yo={morning:Er,afternoon:Cr,evening:Or},Uo={morning:"planPeriodMorning",afternoon:"planPeriodAfternoon",evening:"planPeriodEvening"},Q=(...a)=>a.filter(Boolean).join(" "),Ho=({days:a,loading:r=!1,error:s=!1,onRetry:c,selectedDate:l,onDateSelect:u,selectedPeriod:_,onPeriodSelect:d,selectedSlotStart:f,onSlotSelect:g,hideLanguageSelector:v=!1,languageOptions:h=wt,selectedLanguage:w,onLanguageSelect:k,showPhoneNumberSection:E=!0,phoneNumberSection:Z,showAstrologyProfilesSection:ge=!0,astrologyProfilesSection:O,heading:$,languageLabel:qe,reportReadyNote:Ie,isGlobal:We=!0,t:C,className:Ye=""})=>{const q=j.useMemo(()=>a.filter(o=>o.has_availability&&o.slots.length>0),[a]),[be,Ue]=j.useState(""),J=j.useMemo(()=>{const o=l??be;return q.some(x=>x.date===o)?o:q[0]?.date??""},[l,be,q]),V=j.useMemo(()=>q.find(o=>o.date===J)??null,[q,J]),L=j.useMemo(()=>{if(!V)return[];const o=new Set(V.slots.map(x=>x.period));return jt.filter(x=>o.has(x))},[V]),[U,ee]=j.useState(""),H=j.useMemo(()=>{const o=_??U;return o&&L.includes(o)?o:L[0]??"morning"},[_,U,L]),te=j.useMemo(()=>V?V.slots.filter(o=>o.period===H):[],[V,H]),[ve,$e]=j.useState(""),xe=j.useMemo(()=>{if(f===null)return"";const o=f??ve;return te.some(x=>x.start===o)?o:te[0]?.start??""},[f,ve,te]),[Ee,Ce]=j.useState(()=>h[0]?.code??"en"),ye=w??Ee,je=h.find(o=>o.code===ye)??h[0],[de,ne]=j.useState(!1),ae=j.useRef(null);j.useEffect(()=>{if(!de)return;const o=x=>{ae.current&&!ae.current.contains(x.target)&&ne(!1)};return document.addEventListener("mousedown",o),()=>document.removeEventListener("mousedown",o)},[de]);const re=j.useRef(null),ue=j.useRef({}),[K,Oe]=j.useState(null),we=j.useRef(null),De=j.useRef({}),[Ne,oe]=j.useState(null);j.useEffect(()=>{const o=()=>{const x=re.current,D=ue.current[J];if(!x||!D){Oe(null);return}const z=x.getBoundingClientRect(),A=D.getBoundingClientRect();Oe({left:A.left-z.left,top:A.top-z.top,width:A.width,height:A.height})};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[J,q,r,s]),j.useEffect(()=>{const o=()=>{const x=we.current,D=De.current[H];if(!x||!D){oe(null);return}const z=x.getBoundingClientRect(),A=D.getBoundingClientRect();oe({left:A.left-z.left,width:A.width})};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[H,L,r,s]);const se=o=>{Ue(o),u?.(o)},Pe=o=>{ee(o),d?.(o)},Le=o=>{$e(o.start),g?.(o)},_e=o=>{Ce(o),ne(!1),k?.(o)};return t.jsxs("div",{className:Q(p.root,Ye),children:[E&&(Z??t.jsx(Nt,{t:C})),ge&&(O??t.jsx(St,{t:C})),!v&&t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:p.languageRow,children:[t.jsx("span",{className:p.languageLabel,children:qe??C?.("planConsultationLanguageLabel")??"Your consultation language"}),t.jsxs("div",{className:p.languageDropdown,ref:ae,children:[t.jsxs("button",{type:"button",className:p.languageDropdownBtn,onClick:()=>ne(o=>!o),"aria-haspopup":"listbox","aria-expanded":de,children:[(je?.labelKey&&C?.(je.labelKey))??je?.label,t.jsx($r,{})]}),de&&t.jsx("ul",{className:p.languageMenu,role:"listbox",children:h.map(o=>{const x=o.code===ye;return t.jsxs("li",{role:"option","aria-selected":x,className:Q(p.languageMenuItem,x&&p.languageMenuItemSelected),onClick:()=>_e(o.code),children:[(o.labelKey&&C?.(o.labelKey))??o.label,x&&t.jsx(Ir,{})]},o.code)})})]})]}),t.jsx("hr",{className:p.languageDivider})]}),t.jsx("p",{className:p.sectionHeading,children:$??C?.("planSelectSlotHeading")??"Book your preferred consultation slot"}),Ie===void 0?t.jsxs("p",{className:p.reportReadyBanner,children:[C?.("planReportReadyPrefix")??"Your Report will be ready in"," ",t.jsx("span",{className:p.reportReadyDuration,children:C?.("planReportReadyDuration")??"24-48 hours"})," ",C?.("planReportReadySuffix")??"from today"]}):Ie,r&&t.jsxs("div",{className:p.loadingWrap,"aria-busy":"true","aria-live":"polite",children:[t.jsx("div",{className:p.skeletonDateTabs,children:Array.from({length:5}).map((o,x)=>t.jsx("div",{className:Q(p.skeletonDateTab,p.skeletonShimmer)},x))}),t.jsx("div",{className:p.skeletonPeriodTabs,children:Array.from({length:3}).map((o,x)=>t.jsx("div",{className:Q(p.skeletonPeriodTab,p.skeletonShimmer)},x))}),t.jsx("div",{className:p.skeletonTimeGrid,children:Array.from({length:6}).map((o,x)=>t.jsx("div",{className:Q(p.skeletonTimeSlot,p.skeletonShimmer)},x))})]}),!r&&s&&t.jsxs("div",{className:p.stateMessage,children:[C?.("planSlotsLoadError")??"Couldn't load slots. Please try again.",c&&t.jsx("button",{type:"button",className:p.retryBtn,onClick:c,children:C?.("planRetry")??"Retry"})]}),!r&&!s&&q.length===0&&t.jsxs("div",{className:p.emptyState,children:[t.jsx("span",{className:p.emptyStateIcon,children:t.jsx(Dr,{})}),t.jsx("p",{className:p.emptyStateTitle,children:C?.("planNoSlotsAvailableTitle")??"No slots available"}),t.jsx("p",{className:p.emptyStateSubtitle,children:C?.("planNoSlotsAvailableSubtitle")??"Try a different consultation language above, or check back soon."})]}),!r&&!s&&q.length>0&&t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:p.dateTabs,ref:re,role:"radiogroup","aria-label":"Consultation date",children:[K&&t.jsx("span",{className:p.dateTabIndicator,style:{transform:`translate(${K.left}px, ${K.top}px)`,width:K.width,height:K.height},"aria-hidden":"true"}),q.map(o=>{const x=o.date===J,{dayLabel:D,dayNum:z}=yt(o.date);return t.jsxs(j.Fragment,{children:[t.jsxs("button",{type:"button",ref:A=>{ue.current[o.date]=A},className:Q(p.dateTab,x&&p.dateTabSelected),role:"radio","aria-checked":x,onClick:()=>se(o.date),children:[t.jsx("span",{className:p.dateTabLabel,children:C?.(D)??D}),t.jsx("span",{className:p.dateTabNum,children:z})]}),t.jsx("span",{className:p.dateTabDivider,"aria-hidden":!0})]},o.date)})]}),t.jsxs("div",{className:p.periodTabs,ref:we,role:"tablist","aria-label":"Time of day",children:[Ne&&t.jsx("span",{className:p.periodTabIndicator,style:{transform:`translateX(${Ne.left}px)`,width:Ne.width},"aria-hidden":"true"}),L.map(o=>{const x=Yo[o],D=o==="evening"&&We,z=D?"planPeriodEveningNight":Uo[o];return t.jsxs("button",{ref:A=>{De.current[o]=A},type:"button",className:Q(p.periodTab,o===H&&p.periodTabSelected),role:"tab","aria-selected":o===H,onClick:()=>Pe(o),children:[t.jsx(x,{}),C?.(z)??(D?"Evening/Night":o.charAt(0).toUpperCase()+o.slice(1))]},o)})]}),t.jsx("div",{className:p.timeGrid,role:"radiogroup","aria-label":"Consultation time",children:te.map((o,x)=>t.jsx("button",{type:"button",className:Q(p.timeSlot,xe===o.start&&p.timeSlotSelected),role:"radio","aria-checked":xe===o.start,onClick:()=>Le(o),children:xt(o.start)},`${o.start}-${x}`))},`${J}-${H}`)]})]})},bt="+05:30",Ko=a=>{const r=String(a.getMonth()+1).padStart(2,"0"),s=String(a.getDate()).padStart(2,"0");return`${a.getFullYear()}-${r}-${s}`},zo=(a,r,s,c)=>{const l=d=>String(d).padStart(2,"0"),u=s+30,_=r+Math.floor(u/60);return{start:`${a}T${l(r)}:${l(s)}:00${bt}`,end:`${a}T${l(_)}:${l(u%60)}:00${bt}`,period:c}},Go={morning:[[9,0],[9,30],[10,0],[10,30],[11,0],[11,30]],afternoon:[[12,30],[13,0],[14,0],[15,30],[16,0]],evening:[[18,0],[18,30],[19,0],[20,0]]},Re=(a,r)=>{const s=new Date;s.setDate(s.getDate()+a);const c=Ko(s),l=r.flatMap(u=>Go[u].map(([_,d])=>zo(c,_,d,u)));return{date:c,has_availability:l.length>0,slots:l}},Tt=[Re(0,["morning","afternoon","evening"]),Re(1,["morning","afternoon"]),Re(2,["afternoon","evening"]),Re(3,["morning","evening"]),Re(4,["morning","afternoon","evening"])],Vo=Tt.map(a=>({...a,has_availability:!1,slots:[]}));exports.AstrologyProfilesSection=St;exports.CONSULTATION_LANGUAGE_OPTIONS=wt;exports.CONSULTATION_PERIOD_ORDER=jt;exports.CircularMarquee=vt;exports.ConsultationSlotSelector=Ho;exports.ContactUsSection=Rr;exports.FAQAccordion=In;exports.FooterCTAButton=gr;exports.FooterShell=pr;exports.FormCheckboxWithHelp=er;exports.FormContainer=Yn;exports.FormDateInput=Ra;exports.FormField=pa;exports.FormFooterNote=ar;exports.FormLocationInput=Fa;exports.FormSectionHeader=Qn;exports.FormSegmentedControl=Ua;exports.FormTagPills=Ga;exports.FormTextInput=ja;exports.FormTimeInput=Da;exports.MOCK_SLOT_DAYS=Tt;exports.MOCK_SLOT_DAYS_EMPTY=Vo;exports.MarqueeStrip=jr;exports.PageHeader=Bn;exports.PhoneNumberSection=Nt;exports.PrivacyBanner=aa;exports.UserReviewsSection=gn;exports.footerShellStyles=le;exports.formatSlotDayLabel=yt;exports.formatSlotTime=xt;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./styles.js");const e=require("react/jsx-runtime"),_=require("react"),at="_section_1fboo_1",ot="_heading_1fboo_5",st="_trustLine_1fboo_9",rt="_star_1fboo_13",it="_ratingNum_1fboo_17",ct="_trustText_1fboo_21",lt="_cardList_1fboo_25",dt="_card_1fboo_25",mt="_quote_1fboo_37",_t="_author_1fboo_41",ut="_avatar_1fboo_45",ht="_avatarPlaceholder_1fboo_49",gt="_authorInfo_1fboo_54",pt="_authorName_1fboo_58",bt="_stars_1fboo_62",xt="_readMoreWrap_1fboo_66",ft="_toggleBtn_1fboo_70",vt="_readMore_1fboo_66",Nt="_arrow_1fboo_89",jt="_dot_1fboo_93",f={section:at,heading:ot,trustLine:st,star:rt,ratingNum:it,trustText:ct,cardList:lt,card:dt,quote:mt,author:_t,avatar:ut,avatarPlaceholder:ht,authorInfo:gt,authorName:pt,stars:bt,readMoreWrap:xt,toggleBtn:ft,readMore:vt,arrow:Nt,dot:jt},wt=3,Ie=15;function yt(t){const n=new Map;for(let c=1;c<=Ie;c+=1){const h=`feedbackTestimonial${c}`,u=t(h);if(!u||u===h)continue;const x=`feedbackAuthor${c}`,m=(()=>{const N=t(x);return N&&N!==x?N:t("guest")})(),p=`feedbackAuthor${c}AvatarUrl`,b=(()=>{const N=t(p);return N&&N!==p?N:void 0})();n.set(c,{quote:u,authorName:m,authorAvatarUrl:b,rating:5})}const a=[],s=[];for(let c=1;c<=Ie;c+=1)c>=9?s.push(c):a.push(c);const r=[];let i=0,l=0;for(;i<a.length||l<s.length;){if(l<s.length){const c=s[l++],h=n.get(c);h&&r.push(h)}if(i<a.length){const c=a[i++],h=n.get(c);h&&r.push(h)}}return r}function St({t,testimonials:n,initialVisible:a=wt,readMoreHref:s,onReadMore:r,className:i="",headingClassName:l}){const c=n??_.useMemo(()=>yt(t),[t]),[h,u]=_.useState(!1),x=c.length>a,m=x&&!h?c.slice(0,a):c,p=t("feedbackTitle"),b=t("feedbackRating"),N=t("feedbackTrust"),A=t("readMoreReviews"),w=t("readLess");return e.jsxs("section",{className:`${f.section} ${i}`,"aria-labelledby":"reviews-heading",children:[e.jsx("h2",{id:"reviews-heading",className:[f.heading,l].filter(Boolean).join(" "),children:p}),e.jsxs("p",{className:f.trustLine,children:[e.jsx("span",{className:f.star,"aria-hidden":!0,children:"★"}),e.jsx("span",{className:f.ratingNum,children:b}),e.jsx("span",{className:f.dot,"aria-hidden":!0}),e.jsx("span",{className:f.trustText,children:N})]}),e.jsx("ul",{className:f.cardList,children:m.map((T,B)=>e.jsxs("li",{className:f.card,children:[e.jsx("p",{className:f.quote,children:T.quote}),e.jsxs("div",{className:f.author,children:[T.authorAvatarUrl?e.jsx("img",{src:T.authorAvatarUrl,alt:"",className:f.avatar,width:40,height:40}):e.jsx("div",{className:f.avatarPlaceholder,"aria-hidden":!0}),e.jsxs("div",{className:f.authorInfo,children:[e.jsx("span",{className:f.authorName,children:T.authorName}),e.jsx("span",{className:f.stars,"aria-hidden":!0,children:"★".repeat(T.rating??5)})]})]})]},B))}),x&&e.jsx("div",{className:f.readMoreWrap,children:e.jsxs("button",{type:"button",className:f.toggleBtn,onClick:()=>u(T=>!T),"aria-expanded":h,children:[h?w:A,e.jsx("span",{className:f.arrow,"aria-hidden":!0,children:"›"})]})}),(s||r)&&!x&&e.jsx("div",{className:f.readMoreWrap,children:s?e.jsxs("a",{href:s,className:f.readMore,target:"_blank",rel:"noopener noreferrer",children:[A,e.jsx("span",{className:f.arrow,"aria-hidden":!0,children:"›"})]}):e.jsxs("button",{type:"button",className:f.readMore,onClick:()=>r?.(),children:[A,e.jsx("span",{className:f.arrow,"aria-hidden":!0,children:"›"})]})})]})}const Tt="_section_4dc65_1",kt="_heading_4dc65_5",It="_accordion_4dc65_9",$t="_item_4dc65_13",Lt="_itemOpen_4dc65_17",Ct="_question_4dc65_22",Dt="_chevron_4dc65_30",Mt="_chevronOpen_4dc65_34",Bt="_answerWrap_4dc65_38",Rt="_answerOpen_4dc65_42",At="_answer_4dc65_38",D={section:Tt,heading:kt,accordion:It,item:$t,itemOpen:Lt,question:Ct,chevron:Dt,chevronOpen:Mt,answerWrap:Bt,answerOpen:Rt,answer:At};function Pt({t,items:n,resolveAnswerKey:a,defaultOpenIndex:s=0,onItemOpen:r,className:i="",headingClassName:l}){const c=_.useMemo(()=>n.map(({qKey:m,aKey:p})=>({question:t(m),answer:t(a?a(p):p)})),[t,n,a]),[h,u]=_.useState(s),x=t("faqTitle");return e.jsxs("section",{className:`${D.section} ${i}`,"aria-labelledby":"faq-heading",children:[e.jsx("h2",{id:"faq-heading",className:[D.heading,l].filter(Boolean).join(" "),children:x}),e.jsx("div",{className:D.accordion,role:"list",children:c.map((m,p)=>{const b=h===p;return e.jsxs("div",{className:`${D.item} ${b?D.itemOpen:""}`,role:"listitem",children:[e.jsxs("button",{type:"button",className:D.question,onClick:()=>{const N=!b;u(b?-1:p),N&&r?.(m.question)},"aria-expanded":b,"aria-controls":`faq-answer-${p}`,id:`faq-question-${p}`,children:[e.jsx("span",{children:m.question}),e.jsx("span",{className:`${D.chevron} ${b?D.chevronOpen:""}`,"aria-hidden":!0,children:e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,focusable:"false",children:e.jsx("path",{d:"M5.8 8.3a1 1 0 0 1 1.4 0L10 11.09l2.8-2.8a1 1 0 1 1 1.4 1.42l-3.5 3.5a1 1 0 0 1-1.4 0l-3.5-3.5A1 1 0 0 1 5.8 8.3z",fill:"currentColor"})})})]}),e.jsx("div",{id:`faq-answer-${p}`,role:"region","aria-labelledby":`faq-question-${p}`,className:`${D.answerWrap} ${b?D.answerOpen:""}`,hidden:!b,children:e.jsx("p",{className:D.answer,children:m.answer})})]},p)})})]})}const Et="_header_dbx4y_1",Ot="_brand_dbx4y_7",Ft="_logo_dbx4y_11",qt="_logoImg_dbx4y_15",Wt="_logoPlaceholder_dbx4y_21",Ht="_brandText_dbx4y_29",Ut="_brandName_dbx4y_33",Kt="_rating_dbx4y_38",zt="_langSlot_dbx4y_49",R={header:Et,brand:Ot,logo:Ft,logoImg:qt,logoPlaceholder:Wt,brandText:Ht,brandName:Ut,rating:Kt,langSlot:zt},$e=120,Le=40;function Gt({t,logoUrl:n,imageComponent:a,languageSelector:s,showLanguageSelector:r=!0,className:i=""}){const l=r&&s!=null,c=t("sriMandir"),h=t("ratingText");return e.jsxs("header",{className:`${R.header} ${i}`,children:[e.jsxs("div",{className:R.brand,children:[e.jsx("div",{className:R.logo,children:n?a?e.jsx(a,{src:n,alt:c,className:R.logoImg,width:$e,height:Le}):e.jsx("img",{src:n,alt:c,className:R.logoImg,width:$e,height:Le,decoding:"async"}):e.jsx("div",{className:R.logoPlaceholder,"aria-hidden":!0})}),e.jsxs("div",{className:R.brandText,children:[e.jsx("span",{className:R.brandName,children:c}),h!=null&&h!==""&&e.jsx("span",{className:R.rating,children:h})]})]}),l&&e.jsx("div",{className:R.langSlot,children:s})]})}const Yt="_wrap_1vbpd_1",Vt="_card_1vbpd_5",Jt="_cardInner_1vbpd_10",ue={wrap:Yt,card:Vt,cardInner:Jt};function Zt({children:t,className:n="","aria-label":a}){return e.jsx("section",{className:`${ue.wrap} ${n}`,"aria-label":a,children:e.jsx("div",{className:ue.card,children:e.jsx("div",{className:ue.cardInner,children:t})})})}const Qt="_header_a05ni_1",Xt="_left_a05ni_7",en="_backBtn_a05ni_11",tn="_titleWrap_a05ni_21",nn="_title_a05ni_21",an="_subtitle_a05ni_31",on="_backIcon_a05ni_37",K={header:Qt,left:Xt,backBtn:en,titleWrap:tn,title:nn,subtitle:an,backIcon:on},sn=()=>e.jsx("svg",{className:K.backIcon,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:e.jsx("path",{d:"M15 18l-6-6 6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});function rn({title:t,subtitle:n,onBack:a,backAriaLabel:s="Back",className:r=""}){return e.jsx("header",{className:`${K.header} ${r}`,children:e.jsxs("div",{className:K.left,children:[a!=null&&e.jsx("button",{type:"button",className:K.backBtn,onClick:a,"aria-label":s,children:e.jsx(sn,{})}),e.jsxs("div",{className:K.titleWrap,children:[e.jsx("h1",{className:K.title,children:t}),n!=null&&n!==""&&e.jsx("p",{className:K.subtitle,children:n})]})]})})}const cn="_banner_1jco0_1",ln="_icon_1jco0_12",dn="_text_1jco0_16",he={banner:cn,icon:ln,text:dn},mn="https://srm-cdn.a4b.io/yoda/1770707793537.svg";function _n({text:t,iconUrl:n=mn,className:a=""}){return e.jsx("div",{className:`${he.banner} ${a}`,role:"status",children:e.jsxs("span",{className:he.text,children:[" ",e.jsx("img",{src:n,alt:"",className:he.icon,width:18,height:18,"aria-hidden":!0})," ",t]})})}const un="_field_eqt7q_1",hn="_labelRow_eqt7q_5",gn="_label_eqt7q_5",pn="_req_eqt7q_14",bn="_help_eqt7q_18",xn="_infoBtn_eqt7q_22",fn="_infoImg_eqt7q_30",vn="_infoWrap_eqt7q_34",Nn="_tooltip_eqt7q_38",jn="_tooltipArrow_eqt7q_45",wn="_inputWrap_eqt7q_50",M={field:un,labelRow:hn,label:gn,req:pn,help:bn,infoBtn:xn,infoImg:fn,infoWrap:vn,tooltip:Nn,tooltipArrow:jn,inputWrap:wn},yn="https://srm-cdn.a4b.io/yoda/1770372066357.svg";function Sn({label:t,id:n,required:a=!1,help:s,infoTooltip:r,infoAriaLabel:i="Info",infoIconUrl:l=yn,children:c,className:h=""}){const[u,x]=_.useState(!1);return _.useEffect(()=>{if(!r)return;const m=b=>{b.target?.closest?.("[data-info-tooltip]")==null&&x(!1)},p=b=>{b.key==="Escape"&&x(!1)};return document.addEventListener("mousedown",m),document.addEventListener("keydown",p),()=>{document.removeEventListener("mousedown",m),document.removeEventListener("keydown",p)}},[r]),e.jsxs("div",{className:`${M.field} ${h}`,children:[e.jsxs("div",{className:M.labelRow,children:[e.jsxs("label",{className:M.label,htmlFor:n,children:[t,a&&e.jsx("span",{className:M.req,children:"*"})]}),r!=null&&r!==""&&e.jsxs("div",{className:M.infoWrap,"data-info-tooltip":!0,children:[e.jsx("button",{type:"button",className:M.infoBtn,"aria-label":i,"aria-expanded":u,onClick:()=>x(m=>!m),children:e.jsx("img",{className:M.infoImg,src:l,alt:"","aria-hidden":!0})}),u&&e.jsxs("div",{className:M.tooltip,role:"tooltip",children:[r,e.jsx("span",{className:M.tooltipArrow,"aria-hidden":!0})]})]})]}),s!=null&&s!==""&&e.jsx("div",{className:M.help,children:s}),e.jsx("div",{className:M.inputWrap,children:c})]})}const Tn="_wrap_1uy4o_1",kn="_input_1uy4o_5",In="_iconBtn_1uy4o_21",$n="_iconBtnInteractive_1uy4o_25",Ln="_iconImg_1uy4o_39",Y={wrap:Tn,input:kn,iconBtn:In,iconBtnInteractive:$n,iconImg:Ln};function Cn({id:t,iconUrl:n,iconAlt:a="",iconInteractive:s=!1,onIconClick:r,className:i="",...l}){return e.jsxs("div",{className:`${Y.wrap} ${i}`,children:[e.jsx("input",{...l,id:t,className:Y.input,type:l.type??"text"}),n!=null&&e.jsx("button",{type:"button",className:s?`${Y.iconBtn} ${Y.iconBtnInteractive}`:Y.iconBtn,"aria-label":a||void 0,onClick:s?r:void 0,tabIndex:s?0:-1,children:e.jsx("img",{className:Y.iconImg,src:n,alt:"","aria-hidden":!0,width:22,height:22})})]})}const Dn="_wrap_t646o_1",Mn="_input_t646o_5",Bn="_iconBtn_t646o_28",Rn="_iconImg_t646o_42",se={wrap:Dn,input:Mn,iconBtn:Bn,iconImg:Rn},An="https://srm-cdn.a4b.io/yoda/1770372045894.svg";function Pn({id:t,value:n,onChange:a,onIconClick:s,className:r="",...i}){const l=_.useRef(null),c=_.useMemo(()=>{const u=new Date,x=m=>String(m).padStart(2,"0");return`${u.getFullYear()}-${x(u.getMonth()+1)}-${x(u.getDate())}`},[]),h=()=>{if(s){s();return}const u=l.current;u&&typeof u.showPicker=="function"?u.showPicker():u?.focus()};return e.jsxs("div",{className:`${se.wrap} ${r}`,children:[e.jsx("input",{...i,ref:l,id:t,type:"date",className:se.input,value:n,max:c,onChange:u=>a(u.target.value)}),e.jsx("button",{type:"button",className:`${se.iconBtn}`,"aria-label":"Open date picker",onMouseDown:u=>u.preventDefault(),onClick:u=>{u.preventDefault(),h()},children:e.jsx("img",{className:se.iconImg,src:An,alt:"","aria-hidden":!0,width:22,height:22})})]})}const En="_wrap_1jdg7_1",On="_input_1jdg7_5",Fn="_iconBtn_1jdg7_34",qn="_iconImg_1jdg7_48",re={wrap:En,input:On,iconBtn:Fn,iconImg:qn},Wn="https://srm-cdn.a4b.io/yoda/1770372014782.svg";function Hn({id:t,value:n,onChange:a,placeholder:s="HH:MM AM",disabled:r=!1,onIconClick:i,className:l=""}){return e.jsxs("div",{className:`${re.wrap} ${l}`,children:[e.jsx("input",{id:t,type:"time",className:re.input,value:n,onChange:c=>a(c.target.value),placeholder:s,disabled:r,onClick:()=>!r&&i?.()}),e.jsx("button",{type:"button",className:re.iconBtn,"aria-label":"Open time picker",disabled:r,onClick:c=>{c.preventDefault(),r||i?.()},children:e.jsx("img",{className:re.iconImg,src:Wn,alt:"","aria-hidden":!0,width:22,height:22})})]})}const Un="_wrap_1bb6o_1",Kn="_input_1bb6o_5",zn="_iconBtn_1bb6o_21",Gn="_iconImg_1bb6o_25",ie={wrap:Un,input:Kn,iconBtn:zn,iconImg:Gn},Yn="https://srm-cdn.a4b.io/yoda/1770372031092.svg";function Vn({id:t,iconUrl:n=Yn,className:a="",...s}){return e.jsxs("div",{className:`${ie.wrap} ${a}`,children:[e.jsx("input",{...s,id:t,className:ie.input,type:"text"}),e.jsx("div",{className:ie.iconBtn,"aria-hidden":!0,children:e.jsx("img",{className:ie.iconImg,src:n,alt:"",width:22,height:22})})]})}const Jn="_segmented_3sa9v_1",Zn="_segmentedOption_3sa9v_6",Qn="_active_3sa9v_15",ge={segmented:Jn,segmentedOption:Zn,active:Qn};function Xn({id:t,options:n,value:a,onChange:s,className:r=""}){return e.jsx("div",{className:`${ge.segmented} ${r}`,role:"group","aria-labelledby":`${t}-label`,children:n.map(i=>e.jsx("button",{type:"button",id:i.value===a?t:void 0,className:`${ge.segmentedOption} ${i.value===a?ge.active:""}`,onClick:()=>s(i.value),children:i.label},i.value))})}const ea="_pillsWrap_z1kui_1",ta="_pill_z1kui_1",na="_selected_z1kui_17",pe={pillsWrap:ea,pill:ta,selected:na};function aa({id:t,options:n,selected:a,onChange:s,className:r=""}){const i=l=>{a.includes(l)?s(a.filter(c=>c!==l)):s([...a,l])};return e.jsx("div",{className:`${pe.pillsWrap} ${r}`,role:"group","aria-labelledby":`${t}-label`,children:n.map(l=>e.jsx("button",{type:"button",className:`${pe.pill} ${a.includes(l.key)?pe.selected:""}`,onClick:()=>i(l.key),children:l.label},l.key))})}const oa="_wrapper_i6a5b_2",sa="_checkboxRow_i6a5b_6",ra="_checkbox_i6a5b_6",ia="_checkboxText_i6a5b_31",ca="_checkboxHelp_i6a5b_37",ee={wrapper:oa,checkboxRow:sa,checkbox:ra,checkboxText:ia,checkboxHelp:ca};function la({id:t,checked:n,onChange:a,primaryText:s,helpText:r,className:i=""}){return e.jsxs("div",{className:`${ee.wrapper} ${i}`,children:[e.jsxs("div",{className:ee.checkboxRow,children:[e.jsx("input",{id:t,type:"checkbox",className:ee.checkbox,checked:n,onChange:l=>a(l.target.checked)}),e.jsx("label",{htmlFor:t,className:ee.checkboxText,children:s})]}),r!=null&&r!==""&&e.jsx("p",{className:ee.checkboxHelp,children:r})]})}const da="_footerNote_laev3_1",ma={footerNote:da};function _a({children:t,className:n=""}){return e.jsx("p",{className:`${ma.footerNote} ${n}`,children:t})}const ua="_footer_86zxt_1",ha="_inner_86zxt_8",ga="_badges_86zxt_12",pa="_marqueeContent_86zxt_20",ba="_badge_86zxt_12",xa="_badgeIcon_86zxt_35",fa="_ctaWrap_86zxt_39",va="_ctaStruck_86zxt_43",Na="_ctaButton_86zxt_49",ja="_offerRow_86zxt_69",wa="_pill_86zxt_76",ya="_ctaStatic_86zxt_85",z={footer:ua,inner:ha,badges:ga,marqueeContent:pa,badge:ba,badgeIcon:xa,ctaWrap:fa,ctaStruck:va,ctaButton:Na,offerRow:ja,pill:wa,ctaStatic:ya};function Sa({marquee:t,children:n,className:a=""}){return e.jsx("footer",{className:`${z.footer} ${a}`,role:"contentinfo",children:e.jsxs("div",{className:z.inner,children:[t!=null&&e.jsx("div",{className:z.badges,"aria-hidden":!0,children:t}),e.jsx("div",{className:z.ctaWrap,children:n})]})})}function Ta({children:t,href:n,disabled:a=!1,onClick:s,static:r=!1,className:i="","aria-label":l}){const c=`${z.ctaButton} ${i}`.trim(),h=`${z.ctaStatic} ${i}`.trim(),u=l!=null?{"aria-label":l}:{};return r?e.jsx("div",{className:h,role:"presentation",children:t}):n!=null?e.jsx("a",{href:n,className:c,target:"_blank",rel:"noopener noreferrer","aria-disabled":a,onClick:x=>a&&x.preventDefault(),...u,children:t}):e.jsx("button",{type:"button",className:c,disabled:a,onClick:s,...u,children:t})}const ka="_wrapper_wxjzs_1",Ia="_track_wxjzs_7",Ce={wrapper:ka,track:Ia};function Re({children:t,className:n=""}){return e.jsx("div",{className:`${Ce.wrapper} ${n}`,"aria-hidden":!0,children:e.jsxs("div",{className:Ce.track,children:[t,t]})})}const $a="_strip_2838b_1",La={strip:$a};function Ca({children:t,className:n=""}){return e.jsx("div",{className:`${La.strip} ${n}`,role:"region","aria-label":"Trust badges",children:e.jsx(Re,{children:t})})}const Da="_section_8y3x9_1",Ma="_heading_8y3x9_6",Ba="_content_8y3x9_11",Ra="_line_8y3x9_16",Aa="_brandName_8y3x9_20",V={section:Da,heading:Ma,content:Ba,line:Ra,brandName:Aa};function Pa({title:t,brandName:n,whatsAppLine:a,emailLine:s,className:r=""}){return e.jsxs("section",{className:`${V.section} ${r}`,"aria-labelledby":"contact-heading",children:[e.jsx("h2",{id:"contact-heading",className:V.heading,children:t}),e.jsxs("div",{className:V.content,children:[e.jsx("p",{className:V.brandName,children:n}),e.jsx("p",{className:V.line,children:a}),e.jsx("p",{className:V.line,children:s})]})]})}const Ae=t=>{const n=t.match(/T(\d{2}):(\d{2})/);if(!n)return t;const a=Number(n[1]),s=n[2],r=a>=12?"PM":"AM";return`${a%12||12}:${s} ${r}`},Pe=(t,n=new Date)=>{const a=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],s=new Date(`${t}T00:00:00`);if(Number.isNaN(s.getTime()))return{id:t,dayLabel:t,dayNum:""};const r=c=>new Date(c.getFullYear(),c.getMonth(),c.getDate()).getTime(),i=Math.round((r(s)-r(n))/(1e3*60*60*24)),l=i===0?"Today":i===1?"Tomorrow":a[s.getDay()];return{id:t,dayLabel:l,dayNum:String(s.getDate())}},Ee=["morning","afternoon","evening"],Oe=[{code:"en",labelKey:"formReportLanguageEnglish",label:"English"},{code:"hi",labelKey:"formReportLanguageHindi",label:"Hindi"},{code:"te",labelKey:"formReportLanguageTelugu",label:"Telugu"},{code:"kn",labelKey:"formReportLanguageKannada",label:"Kannada"},{code:"gu",labelKey:"formReportLanguageGujarati",label:"Gujarati"},{code:"mr",labelKey:"formReportLanguageMarathi",label:"Marathi"},{code:"ta",labelKey:"formReportLanguageTamil",label:"Tamil"}],Ea=()=>e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":!0,children:e.jsx("path",{d:"M3.5 8.5l2.5 2.5 6-6",stroke:"#22c55e",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}),Oa=()=>e.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:e.jsx("path",{d:"M6 9l6 6 6-6"})}),Fa=()=>e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1785316603029.svg",width:16,height:16,alt:"","aria-hidden":!0}),qa=()=>e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1785316621747.svg",width:16,height:16,alt:"","aria-hidden":!0}),Wa=()=>e.jsx("img",{src:"https://srm-cdn.a4b.io/yoda/1785316635953.svg",width:16,height:16,alt:"","aria-hidden":!0}),Ha=()=>e.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[e.jsx("rect",{x:"3",y:"4.5",width:"18",height:"16",rx:"3",stroke:"#D1D5DB",strokeWidth:"1.6"}),e.jsx("path",{d:"M3 9.5h18",stroke:"#D1D5DB",strokeWidth:"1.6"}),e.jsx("path",{d:"M8 2.5v4M16 2.5v4",stroke:"#D1D5DB",strokeWidth:"1.6",strokeLinecap:"round"}),e.jsx("path",{d:"M7.5 20.5L17 6",stroke:"#9CA3AF",strokeWidth:"1.6",strokeLinecap:"round"})]}),Ua="_section_1ltqn_2",Ka="_headerRow_1ltqn_10",za="_title_1ltqn_18",Ga="_changeBtn_1ltqn_24",Ya="_numberRow_1ltqn_35",Va="_countryCode_1ltqn_44",Ja="_number_1ltqn_35",Za="_helper_1ltqn_59",q={section:Ua,headerRow:Ka,title:za,changeBtn:Ga,numberRow:Ya,countryCode:Va,number:Ja,helper:Za},Fe=({title:t,countryCode:n="+91",phoneNumber:a="98765 43210",helperText:s,onEdit:r,t:i,className:l=""})=>e.jsxs("section",{className:[q.section,l].filter(Boolean).join(" "),children:[e.jsxs("div",{className:q.headerRow,children:[e.jsx("span",{className:q.title,children:t??i?.("planPhoneNumberHeading")??"Your phone number"}),r&&e.jsx("button",{type:"button",className:q.changeBtn,onClick:r,children:i?.("planPhoneNumberChange")??"Change"})]}),e.jsxs("div",{className:q.numberRow,children:[e.jsx("span",{className:q.countryCode,children:n}),e.jsx("span",{className:q.number,children:a})]}),e.jsx("p",{className:q.helper,children:s??i?.("planPhoneNumberHelper")??"The astrologer will call you on this number at your booked slot."})]}),Qa="_section_12hk9_2",Xa="_title_12hk9_6",eo="_profileRow_12hk9_13",to="_profileCard_12hk9_26",no="_profileCardSelected_12hk9_47",ao="_profileTop_12hk9_52",oo="_avatar_12hk9_60",so="_profileName_12hk9_74",ro="_relationPill_12hk9_84",io="_profileMeta_12hk9_98",co="_addCard_12hk9_108",lo="_addIcon_12hk9_127",I={section:Qa,title:Xa,profileRow:eo,profileCard:to,profileCardSelected:no,profileTop:ao,avatar:oo,profileName:so,relationPill:ro,profileMeta:io,addCard:co,addIcon:lo},mo=[{id:"self",name:"Aarav Sharma",birthDetails:"12 Mar 1994 • 06:45 AM",birthPlace:"Bengaluru, India",relation:"Self"},{id:"spouse",name:"Diya Sharma",birthDetails:"04 Sep 1996 • 11:20 PM",birthPlace:"Pune, India",relation:"Spouse"}],qe=({title:t,profiles:n=mo,selectedProfileId:a,onProfileSelect:s,onAddProfile:r,t:i,className:l=""})=>{const[c,h]=_.useState(n[0]?.id??""),u=a??c,x=m=>{h(m),s?.(m)};return e.jsxs("section",{className:[I.section,l].filter(Boolean).join(" "),children:[e.jsx("p",{className:I.title,children:t??i?.("planAstrologyProfilesHeading")??"Astrology profile"}),e.jsxs("div",{className:I.profileRow,role:"radiogroup","aria-label":"Astrology profile",children:[n.map(m=>{const p=m.id===u;return e.jsxs("button",{type:"button",role:"radio","aria-checked":p,className:[I.profileCard,p?I.profileCardSelected:""].filter(Boolean).join(" "),onClick:()=>x(m.id),children:[e.jsxs("span",{className:I.profileTop,children:[e.jsx("span",{className:I.avatar,"aria-hidden":!0,children:m.name.charAt(0).toUpperCase()}),e.jsx("span",{className:I.profileName,children:m.name})]}),m.relation&&e.jsx("span",{className:I.relationPill,children:m.relation}),m.birthDetails&&e.jsx("span",{className:I.profileMeta,children:m.birthDetails}),m.birthPlace&&e.jsx("span",{className:I.profileMeta,children:m.birthPlace})]},m.id)}),r&&e.jsxs("button",{type:"button",className:I.addCard,onClick:r,children:[e.jsx("span",{className:I.addIcon,"aria-hidden":!0,children:"+"}),i?.("planAddAstrologyProfile")??"Add profile"]})]})]})},_o="_root_m8bvg_6",uo="_languageRow_m8bvg_19",ho="_languageLabel_m8bvg_27",go="_languageDropdown_m8bvg_33",po="_languageDropdownBtn_m8bvg_37",bo="_languageMenu_m8bvg_52",xo="_languageMenuItem_m8bvg_69",fo="_languageMenuItemSelected_m8bvg_83",vo="_languageDivider_m8bvg_89",No="_sectionHeading_m8bvg_96",jo="_reportReadyBanner_m8bvg_104",wo="_reportReadyDuration_m8bvg_113",yo="_dateTabs_m8bvg_119",So="_dateTabIndicator_m8bvg_131",To="_dateTab_m8bvg_119",ko="_dateTabDivider_m8bvg_165",Io="_dateTabSelected_m8bvg_175",$o="_dateTabLabel_m8bvg_180",Lo="_dateTabNum_m8bvg_187",Co="_periodTabs_m8bvg_201",Do="_periodTabIndicator_m8bvg_129",Mo="_periodTab_m8bvg_129",Bo="_periodTabSelected_m8bvg_248",Ro="_timeGrid_m8bvg_253",Ao="_emptyState_m8bvg_280",Po="_timeSlot_m8bvg_284",Eo="_timeSlotSelected_m8bvg_300",Oo="_timeSlotDisabled_m8bvg_308",Fo="_stateMessage_m8bvg_320",qo="_retryBtn_m8bvg_327",Wo="_emptyStateIcon_m8bvg_353",Ho="_emptyStateTitle_m8bvg_364",Uo="_emptyStateSubtitle_m8bvg_371",Ko="_loadingWrap_m8bvg_380",zo="_skeletonShimmer_m8bvg_385",Go="_skeletonDateTabs_m8bvg_399",Yo="_skeletonDateTab_m8bvg_399",Vo="_skeletonPeriodTabs_m8bvg_413",Jo="_skeletonPeriodTab_m8bvg_413",Zo="_skeletonTimeGrid_m8bvg_428",Qo="_skeletonTimeSlot_m8bvg_434",d={root:_o,languageRow:uo,languageLabel:ho,languageDropdown:go,languageDropdownBtn:po,languageMenu:bo,languageMenuItem:xo,languageMenuItemSelected:fo,languageDivider:vo,sectionHeading:No,reportReadyBanner:jo,reportReadyDuration:wo,dateTabs:yo,dateTabIndicator:So,dateTab:To,dateTabDivider:ko,dateTabSelected:Io,dateTabLabel:$o,dateTabNum:Lo,periodTabs:Co,periodTabIndicator:Do,periodTab:Mo,periodTabSelected:Bo,timeGrid:Ro,emptyState:Ao,timeSlot:Po,timeSlotSelected:Eo,timeSlotDisabled:Oo,stateMessage:Fo,retryBtn:qo,emptyStateIcon:Wo,emptyStateTitle:Ho,emptyStateSubtitle:Uo,loadingWrap:Ko,skeletonShimmer:zo,skeletonDateTabs:Go,skeletonDateTab:Yo,skeletonPeriodTabs:Vo,skeletonPeriodTab:Jo,skeletonTimeGrid:Zo,skeletonTimeSlot:Qo},Xo={morning:Fa,afternoon:qa,evening:Wa},es={morning:"planPeriodMorning",afternoon:"planPeriodAfternoon",evening:"planPeriodEvening"},W=(...t)=>t.filter(Boolean).join(" "),ts=({days:t,loading:n=!1,error:a=!1,onRetry:s,selectedDate:r,onDateSelect:i,selectedPeriod:l,onPeriodSelect:c,selectedSlotStart:h,onSlotSelect:u,hideLanguageSelector:x=!1,languageOptions:m=Oe,selectedLanguage:p,onLanguageSelect:b,showPhoneNumberSection:N=!0,phoneNumberSection:A,showAstrologyProfilesSection:w=!0,astrologyProfilesSection:T,heading:B,languageLabel:J,reportReadyNote:H,isGlobal:Z=!0,t:j,className:G=""})=>{const $=_.useMemo(()=>t.filter(o=>o.has_availability&&o.slots.length>0),[t]),[ae,ce]=_.useState(""),P=_.useMemo(()=>{const o=r??ae;return $.some(g=>g.date===o)?o:$[0]?.date??""},[r,ae,$]),E=_.useMemo(()=>$.find(o=>o.date===P)??null,[$,P]),O=_.useMemo(()=>{if(!E)return[];const o=new Set(E.slots.map(g=>g.period));return Ee.filter(g=>o.has(g))},[E]),[Q,v]=_.useState(""),k=_.useMemo(()=>{const o=l??Q;return o&&O.includes(o)?o:O[0]??"morning"},[l,Q,O]),U=_.useMemo(()=>E?E.slots.filter(o=>o.period===k):[],[E,k]),[fe,Je]=_.useState(""),ve=_.useMemo(()=>{if(h===null)return"";const o=h??fe;return U.some(g=>g.start===o)?o:U[0]?.start??""},[h,fe,U]),[Ze,Qe]=_.useState(()=>m[0]?.code??"en"),Ne=p??Ze,le=m.find(o=>o.code===Ne)??m[0],[oe,de]=_.useState(!1),me=_.useRef(null);_.useEffect(()=>{if(!oe)return;const o=g=>{me.current&&!me.current.contains(g.target)&&de(!1)};return document.addEventListener("mousedown",o),()=>document.removeEventListener("mousedown",o)},[oe]);const je=_.useRef(null),we=_.useRef({}),[X,ye]=_.useState(null),Se=_.useRef(null),Te=_.useRef({}),[_e,ke]=_.useState(null);_.useEffect(()=>{const o=()=>{const g=je.current,L=we.current[P];if(!g||!L){ye(null);return}const F=g.getBoundingClientRect(),C=L.getBoundingClientRect();ye({left:C.left-F.left,top:C.top-F.top,width:C.width,height:C.height})};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[P,$,n,a]),_.useEffect(()=>{const o=()=>{const g=Se.current,L=Te.current[k];if(!g||!L){ke(null);return}const F=g.getBoundingClientRect(),C=L.getBoundingClientRect();ke({left:C.left-F.left,width:C.width})};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[k,O,n,a]);const Xe=o=>{ce(o),i?.(o)},et=o=>{v(o),c?.(o)},tt=o=>{Je(o.start),u?.(o)},nt=o=>{Qe(o),de(!1),b?.(o)};return e.jsxs("div",{className:W(d.root,G),children:[N&&(A??e.jsx(Fe,{t:j})),w&&(T??e.jsx(qe,{t:j})),!x&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:d.languageRow,children:[e.jsx("span",{className:d.languageLabel,children:J??j?.("planConsultationLanguageLabel")??"Your consultation language"}),e.jsxs("div",{className:d.languageDropdown,ref:me,children:[e.jsxs("button",{type:"button",className:d.languageDropdownBtn,onClick:()=>de(o=>!o),"aria-haspopup":"listbox","aria-expanded":oe,children:[(le?.labelKey&&j?.(le.labelKey))??le?.label,e.jsx(Oa,{})]}),oe&&e.jsx("ul",{className:d.languageMenu,role:"listbox",children:m.map(o=>{const g=o.code===Ne;return e.jsxs("li",{role:"option","aria-selected":g,className:W(d.languageMenuItem,g&&d.languageMenuItemSelected),onClick:()=>nt(o.code),children:[(o.labelKey&&j?.(o.labelKey))??o.label,g&&e.jsx(Ea,{})]},o.code)})})]})]}),e.jsx("hr",{className:d.languageDivider})]}),e.jsx("p",{className:d.sectionHeading,children:B??j?.("planSelectSlotHeading")??"Book your preferred consultation slot"}),H===void 0?e.jsxs("p",{className:d.reportReadyBanner,children:[j?.("planReportReadyPrefix")??"Your Report will be ready in"," ",e.jsx("span",{className:d.reportReadyDuration,children:j?.("planReportReadyDuration")??"24-48 hours"})," ",j?.("planReportReadySuffix")??"from today"]}):H,n&&e.jsxs("div",{className:d.loadingWrap,"aria-busy":"true","aria-live":"polite",children:[e.jsx("div",{className:d.skeletonDateTabs,children:Array.from({length:5}).map((o,g)=>e.jsx("div",{className:W(d.skeletonDateTab,d.skeletonShimmer)},g))}),e.jsx("div",{className:d.skeletonPeriodTabs,children:Array.from({length:3}).map((o,g)=>e.jsx("div",{className:W(d.skeletonPeriodTab,d.skeletonShimmer)},g))}),e.jsx("div",{className:d.skeletonTimeGrid,children:Array.from({length:6}).map((o,g)=>e.jsx("div",{className:W(d.skeletonTimeSlot,d.skeletonShimmer)},g))})]}),!n&&a&&e.jsxs("div",{className:d.stateMessage,children:[j?.("planSlotsLoadError")??"Couldn't load slots. Please try again.",s&&e.jsx("button",{type:"button",className:d.retryBtn,onClick:s,children:j?.("planRetry")??"Retry"})]}),!n&&!a&&$.length===0&&e.jsxs("div",{className:d.emptyState,children:[e.jsx("span",{className:d.emptyStateIcon,children:e.jsx(Ha,{})}),e.jsx("p",{className:d.emptyStateTitle,children:j?.("planNoSlotsAvailableTitle")??"No slots available"}),e.jsx("p",{className:d.emptyStateSubtitle,children:j?.("planNoSlotsAvailableSubtitle")??"Try a different consultation language above, or check back soon."})]}),!n&&!a&&$.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:d.dateTabs,ref:je,role:"radiogroup","aria-label":"Consultation date",children:[X&&e.jsx("span",{className:d.dateTabIndicator,style:{transform:`translate(${X.left}px, ${X.top}px)`,width:X.width,height:X.height},"aria-hidden":"true"}),$.map(o=>{const g=o.date===P,{dayLabel:L,dayNum:F}=Pe(o.date);return e.jsxs(_.Fragment,{children:[e.jsxs("button",{type:"button",ref:C=>{we.current[o.date]=C},className:W(d.dateTab,g&&d.dateTabSelected),role:"radio","aria-checked":g,onClick:()=>Xe(o.date),children:[e.jsx("span",{className:d.dateTabLabel,children:j?.(L)??L}),e.jsx("span",{className:d.dateTabNum,children:F})]}),e.jsx("span",{className:d.dateTabDivider,"aria-hidden":!0})]},o.date)})]}),e.jsxs("div",{className:d.periodTabs,ref:Se,role:"tablist","aria-label":"Time of day",children:[_e&&e.jsx("span",{className:d.periodTabIndicator,style:{transform:`translateX(${_e.left}px)`,width:_e.width},"aria-hidden":"true"}),O.map(o=>{const g=Xo[o],L=o==="evening"&&Z,F=L?"planPeriodEveningNight":es[o];return e.jsxs("button",{ref:C=>{Te.current[o]=C},type:"button",className:W(d.periodTab,o===k&&d.periodTabSelected),role:"tab","aria-selected":o===k,onClick:()=>et(o),children:[e.jsx(g,{}),j?.(F)??(L?"Evening/Night":o.charAt(0).toUpperCase()+o.slice(1))]},o)})]}),e.jsx("div",{className:d.timeGrid,role:"radiogroup","aria-label":"Consultation time",children:U.map((o,g)=>e.jsx("button",{type:"button",className:W(d.timeSlot,ve===o.start&&d.timeSlotSelected,o.disabled&&d.timeSlotDisabled),role:"radio","aria-checked":ve===o.start,"aria-disabled":o.disabled||void 0,disabled:o.disabled,onClick:()=>!o.disabled&&tt(o),children:Ae(o.start)},`${o.start}-${g}`))},`${P}-${k}`)]})]})},De="+05:30",ns=t=>{const n=String(t.getMonth()+1).padStart(2,"0"),a=String(t.getDate()).padStart(2,"0");return`${t.getFullYear()}-${n}-${a}`},as=(t,n,a,s)=>{const r=c=>String(c).padStart(2,"0"),i=a+30,l=n+Math.floor(i/60);return{start:`${t}T${r(n)}:${r(a)}:00${De}`,end:`${t}T${r(l)}:${r(i%60)}:00${De}`,period:s}},os={morning:[[9,0],[9,30],[10,0],[10,30],[11,0],[11,30]],afternoon:[[12,30],[13,0],[14,0],[15,30],[16,0]],evening:[[18,0],[18,30],[19,0],[20,0]]},te=(t,n)=>{const a=new Date;a.setDate(a.getDate()+t);const s=ns(a),r=n.flatMap(i=>os[i].map(([l,c])=>as(s,l,c,i)));return{date:s,has_availability:r.length>0,slots:r}},We=[te(0,["morning","afternoon","evening"]),te(1,["morning","afternoon"]),te(2,["afternoon","evening"]),te(3,["morning","evening"]),te(4,["morning","afternoon","evening"])],ss=We.map(t=>({...t,has_availability:!1,slots:[]})),rs=()=>e.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:e.jsx("path",{d:"M6 9l6 6 6-6"})}),He=[{name:"United States",code:"+1",iso:"US"},{name:"United Kingdom",code:"+44",iso:"GB"},{name:"Australia",code:"+61",iso:"AU"},{name:"Canada",code:"+1",iso:"CA"},{name:"United Arab Emirates",code:"+971",iso:"AE"},{name:"Singapore",code:"+65",iso:"SG"},{name:"New Zealand",code:"+64",iso:"NZ"},{name:"Mauritius",code:"+230",iso:"MU"},{name:"Netherlands",code:"+31",iso:"NL"},{name:"Malaysia",code:"+60",iso:"MY"},{name:"Germany",code:"+49",iso:"DE"},{name:"South Africa",code:"+27",iso:"ZA"},{name:"Qatar",code:"+974",iso:"QA"},{name:"Ireland",code:"+353",iso:"IE"},{name:"Oman",code:"+968",iso:"OM"},{name:"Saudi Arabia",code:"+966",iso:"SA"},{name:"Hong Kong",code:"+852",iso:"HK"},{name:"France",code:"+33",iso:"FR"},{name:"Switzerland",code:"+41",iso:"CH"},{name:"Bahrain",code:"+973",iso:"BH"},{name:"Trinidad and Tobago",code:"+1-868",iso:"TT"},{name:"Kuwait",code:"+965",iso:"KW"},{name:"Belgium",code:"+32",iso:"BE"},{name:"Japan",code:"+81",iso:"JP"},{name:"Italy",code:"+39",iso:"IT"},{name:"Spain",code:"+34",iso:"ES"},{name:"Norway",code:"+47",iso:"NO"},{name:"Sweden",code:"+46",iso:"SE"},{name:"Portugal",code:"+351",iso:"PT"},{name:"Poland",code:"+48",iso:"PL"},{name:"Denmark",code:"+45",iso:"DK"},{name:"Nepal",code:"+977",iso:"NP"},{name:"Bangladesh",code:"+880",iso:"BD"},{name:"Kenya",code:"+254",iso:"KE"},{name:"Mexico",code:"+52",iso:"MX"},{name:"Czechia",code:"+420",iso:"CZ"},{name:"Indonesia",code:"+62",iso:"ID"},{name:"Taiwan",code:"+886",iso:"TW"},{name:"Fiji",code:"+679",iso:"FJ"},{name:"Guyana",code:"+592",iso:"GY"},{name:"Finland",code:"+358",iso:"FI"},{name:"Nigeria",code:"+234",iso:"NG"},{name:"Jamaica",code:"+1-876",iso:"JM"},{name:"Sri Lanka",code:"+94",iso:"LK"},{name:"Thailand",code:"+66",iso:"TH"},{name:"Hungary",code:"+36",iso:"HU"},{name:"Tanzania",code:"+255",iso:"TZ"},{name:"Sint Maarten",code:"+1-721",iso:"SX"},{name:"Philippines",code:"+63",iso:"PH"},{name:"Estonia",code:"+372",iso:"EE"},{name:"Ukraine",code:"+380",iso:"UA"},{name:"Austria",code:"+43",iso:"AT"},{name:"Réunion",code:"+262",iso:"RE"},{name:"India",code:"+91",iso:"IN"}],Ue=t=>{if(!t||t.length!==2)return"🏳️";const n=t.toUpperCase().split("").map(a=>127397+a.charCodeAt(0));return String.fromCodePoint(...n)},Ke={"+1":{pattern:/^[2-9]\d{9}$/,minLength:10,maxLength:10,description:"10 digits, cannot start with 0 or 1"},"+44":{pattern:/^\d{10}$/,minLength:10,maxLength:10,description:"10 digits"},"+61":{pattern:/^\d{9}$/,minLength:9,maxLength:9,description:"9 digits"},"+971":{pattern:/^\d{8,9}$/,minLength:8,maxLength:9,description:"8-9 digits"},"+65":{pattern:/^\d{8}$/,minLength:8,maxLength:8,description:"8 digits"},"+49":{pattern:/^\d{10,11}$/,minLength:10,maxLength:11,description:"10-11 digits"},"+91":{pattern:/^[6-9]\d{9}$/,minLength:10,maxLength:10,description:"10 digits, must start with 6-9"},"+974":{pattern:/^\d{8}$/,minLength:8,maxLength:8,description:"8 digits"},"+60":{pattern:/^\d{9,10}$/,minLength:9,maxLength:10,description:"9-10 digits"},"+27":{pattern:/^\d{9}$/,minLength:9,maxLength:9,description:"9 digits"},"+64":{pattern:/^\d{8,10}$/,minLength:8,maxLength:10,description:"8-10 digits"},"+230":{pattern:/^\d{7,8}$/,minLength:7,maxLength:8,description:"7-8 digits"}},ze={pattern:/^\d{6,15}$/,maxLength:15,description:"6-15 digits"},be=(t,n)=>{if(!t)return{isValid:!0,error:""};const a=Ke[n]||ze;return a.pattern.test(t)?{isValid:!0,error:""}:{isValid:!1,error:`Please enter a valid phone number (${a.description})`}},xe=t=>(Ke[t]||ze).maxLength,is=({countryCode:t,contactNumber:n,countries:a,onCountryCodeChange:s,onPhoneNumberChange:r,onValidationChange:i,onDropdownFocus:l,onInputFocus:c})=>{const[h,u]=_.useState(!1),x=a.find(w=>w.code===t)??a[0],m=xe(t),p=_.useCallback(w=>{if(s(w.code,w.name),u(!1),n&&i){const{isValid:T,error:B}=be(n,w.code);i(T,B)}},[n,s,i]),b=_.useCallback(w=>{const B=w.target.value.replace(/[^\d]/g,"").slice(0,xe(t));if(r(B),i){const{isValid:J,error:H}=be(B,t);i(J,H)}},[t,r,i]),N=_.useCallback(()=>{u(w=>(w||l?.(t),!w))},[t,l]),A=_.useCallback(()=>{u(!1),c?.(t)},[t,c]);return{isDropdownOpen:h,selectedCountry:x,maxLength:m,handleCountrySelect:p,handlePhoneChange:b,handleDropdownToggle:N,handlePhoneFocus:A,closeDropdown:()=>u(!1)}},cs="_root_3ywyc_2",ls="_label_3ywyc_9",ds="_row_3ywyc_17",ms="_dropdownWrap_3ywyc_23",_s="_dropdownBtn_3ywyc_29",us="_dropdownMenu_3ywyc_50",hs="_dropdownItem_3ywyc_64",gs="_dropdownItemCode_3ywyc_80",ps="_dropdownItemName_3ywyc_85",bs="_flagImg_3ywyc_93",xs="_flagEmoji_3ywyc_97",fs="_input_3ywyc_102",vs="_inputError_3ywyc_121",Ns="_helper_3ywyc_129",js="_error_3ywyc_137",y={root:cs,label:ls,row:ds,dropdownWrap:ms,dropdownBtn:_s,dropdownMenu:us,dropdownItem:hs,dropdownItemCode:gs,dropdownItemName:ps,flagImg:bs,flagEmoji:xs,input:fs,inputError:vs,helper:Ns,error:js},Me=(...t)=>t.filter(Boolean).join(" "),ws=({countryCode:t,contactNumber:n,error:a,label:s,helperText:r,countries:i=He,getFlagUrl:l,onCountryCodeChange:c,onPhoneNumberChange:h,onValidationChange:u,onDropdownFocus:x,onInputFocus:m,inputRef:p,t:b,className:N=""})=>{const[A,w]=_.useState(i[0]?.code??"+91"),[T,B]=_.useState(""),J=t??A,H=n??T,Z=_.useRef(null),{isDropdownOpen:j,selectedCountry:G,maxLength:$,handleCountrySelect:ae,handlePhoneChange:ce,handleDropdownToggle:P,handlePhoneFocus:E,closeDropdown:O}=is({countryCode:J,contactNumber:H,countries:i,onCountryCodeChange:(v,k)=>{w(v),c?.(v,k)},onPhoneNumberChange:v=>{B(v),h?.(v)},onValidationChange:u,onDropdownFocus:x,onInputFocus:m});_.useEffect(()=>{const v=k=>{Z.current&&!Z.current.contains(k.target)&&O()};return j&&document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[j,O]);const Q=(v,k)=>{const U=v?l?.(v):null;return U?e.jsx("img",{src:U,alt:k,width:20,height:14,className:y.flagImg}):e.jsx("span",{className:y.flagEmoji,"aria-hidden":!0,children:Ue(v)})};return e.jsxs("div",{className:Me(y.root,N),children:[s&&e.jsx("div",{className:y.label,children:s}),e.jsxs("div",{className:y.row,children:[e.jsxs("div",{className:y.dropdownWrap,ref:Z,children:[e.jsxs("button",{type:"button",className:y.dropdownBtn,onClick:P,children:[Q(G?.iso,G?.name??"Flag"),e.jsx("span",{children:G?.code??"+91"}),e.jsx(rs,{})]}),j&&e.jsx("div",{className:y.dropdownMenu,role:"listbox",children:i.map(v=>e.jsxs("button",{type:"button",role:"option","aria-selected":v.code===G?.code,className:y.dropdownItem,onClick:()=>ae(v),children:[Q(v.iso,v.name),e.jsx("span",{className:y.dropdownItemCode,children:v.code}),e.jsx("span",{className:y.dropdownItemName,children:v.name})]},`${v.code}-${v.iso}`))})]}),e.jsx("input",{type:"tel",inputMode:"numeric",autoComplete:"off",value:H,maxLength:$,ref:p,className:Me(y.input,a&&y.inputError),placeholder:b?.("planPhoneNumberPlaceholder")??"0000000000",onChange:ce,onFocus:E})]}),r&&e.jsx("div",{className:y.helper,children:r}),a&&e.jsx("p",{className:y.error,children:a})]})},ys=()=>e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":!0,children:e.jsx("path",{d:"M8 1.33337L10.06 5.50671L14.6667 6.18004L11.3333 9.42671L12.12 14.0134L8 11.8467L3.88 14.0134L4.66667 9.42671L1.33333 6.18004L5.94 5.50671L8 1.33337Z",fill:"#F59E0B",stroke:"#F59E0B",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),Ss=()=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",fill:"#F97316"})}),Ts="_card_1ytv6_2",ks="_cardSelected_1ytv6_24",Is="_photoWrap_1ytv6_31",$s="_photoFrame_1ytv6_37",Ls="_photoImg_1ytv6_45",Cs="_ratingPill_1ytv6_51",Ds="_ratingValue_1ytv6_66",Ms="_info_1ytv6_74",Bs="_name_1ytv6_84",Rs="_meta_1ytv6_95",As="_languages_1ytv6_103",Ps="_consultationCount_1ytv6_113",Es="_checkIcon_1ytv6_121",Os="_recommendedBadge_1ytv6_126",Fs="_recommendedLabel_1ytv6_138",S={card:Ts,cardSelected:ks,photoWrap:Is,photoFrame:$s,photoImg:Ls,ratingPill:Cs,ratingValue:Ds,info:Ms,name:Bs,meta:Rs,languages:As,consultationCount:Ps,checkIcon:Es,recommendedBadge:Os,recommendedLabel:Fs},qs="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='78' viewBox='0 0 64 78'><rect width='64' height='78' fill='%23F3F4F6'/><circle cx='32' cy='30' r='12' fill='%23D1D5DB'/><path d='M12 70c2-14 12-22 20-22s18 8 20 22' fill='%23D1D5DB'/></svg>",Ge=({photoUrl:t,name:n,rating:a,fallbackPhotoUrl:s=qs})=>e.jsxs("div",{className:S.photoWrap,children:[e.jsx("div",{className:S.photoFrame,children:e.jsx("img",{src:t||s,alt:n,width:64,height:78,className:S.photoImg,onError:r=>{r.target.src=s}})}),e.jsxs("div",{className:S.ratingPill,children:[e.jsx("span",{className:S.ratingValue,children:a}),e.jsx(ys,{})]})]}),Ye=({label:t,t:n})=>e.jsx("div",{className:S.recommendedBadge,children:e.jsx("span",{className:S.recommendedLabel,children:t??n?.("planRecommendedAstrologer")??"Recommended"})}),Ws=(...t)=>t.filter(Boolean).join(" "),Hs=t=>{if(t>=1e3){const n=t/1e3;return`${Number.isInteger(n)?n:n.toFixed(1)}K consultations`}return`${t} consultations`},Ve=({astrologer:t,isSelected:n=!1,onClick:a,fallbackPhotoUrl:s,formatConsultationCount:r=Hs})=>e.jsxs("button",{type:"button",onClick:()=>a?.(t),className:Ws(S.card,n&&S.cardSelected),children:[e.jsx(Ge,{photoUrl:t.photo_url,name:t.name,rating:t.rating,fallbackPhotoUrl:s}),e.jsxs("div",{className:S.info,children:[e.jsx("span",{className:S.name,children:t.name}),e.jsxs("div",{className:S.meta,children:[e.jsx("span",{className:S.languages,children:t.languages.join(", ")}),e.jsx("span",{className:S.consultationCount,children:r(t.consultation_count)})]})]}),n&&e.jsx("div",{className:S.checkIcon,children:e.jsx(Ss,{})}),t.is_recommended&&e.jsx(Ye,{})]}),Us="_section_jbaga_2",Ks="_title_jbaga_6",zs="_row_jbaga_13",Gs="_skeletonCard_jbaga_26",Ys="_skeletonShimmer_jbaga_33",ne={section:Us,title:Ks,row:zs,skeletonCard:Gs,skeletonShimmer:Ys},Be=(...t)=>t.filter(Boolean).join(" "),Vs=({astrologers:t,loading:n=!1,selectedAstrologerId:a,onAstrologerSelect:s,title:r,fallbackPhotoUrl:i,formatConsultationCount:l,t:c,className:h=""})=>{const[u,x]=_.useState(""),m=a??u,p=b=>{x(b.astrologer_id),s?.(b)};return e.jsxs("section",{className:Be(ne.section,h),children:[e.jsx("p",{className:ne.title,children:r??c?.("planSelectAstrologerHeading")??"Select an astrologer"}),e.jsx("div",{className:ne.row,role:"radiogroup","aria-label":"Astrologer",children:n?Array.from({length:2}).map((b,N)=>e.jsx("div",{className:Be(ne.skeletonCard,ne.skeletonShimmer)},N)):t.map(b=>e.jsx(Ve,{astrologer:b,isSelected:b.astrologer_id===m,onClick:p,fallbackPhotoUrl:i,formatConsultationCount:l},b.astrologer_id))})]})},Js=[{astrologer_id:"astro-1",name:"Pandit Ramesh Sharma",photo_url:"",languages:["Hindi","English"],rating:4.8,consultation_count:12500,is_recommended:!0},{astrologer_id:"astro-2",name:"Dr. Anjali Mehta",photo_url:"",languages:["English","Gujarati"],rating:4.6,consultation_count:870},{astrologer_id:"astro-3",name:"Acharya Vivek Joshi",photo_url:"",languages:["Hindi","Marathi","English"],rating:4.9,consultation_count:3400}];exports.AstrologerCard=Ve;exports.AstrologerList=Vs;exports.AstrologerPhoto=Ge;exports.AstrologyProfilesSection=qe;exports.CONSULTATION_LANGUAGE_OPTIONS=Oe;exports.CONSULTATION_PERIOD_ORDER=Ee;exports.CircularMarquee=Re;exports.ConsultationSlotSelector=ts;exports.ContactUsSection=Pa;exports.DEFAULT_COUNTRIES=He;exports.FAQAccordion=Pt;exports.FooterCTAButton=Ta;exports.FooterShell=Sa;exports.FormCheckboxWithHelp=la;exports.FormContainer=Zt;exports.FormDateInput=Pn;exports.FormField=Sn;exports.FormFooterNote=_a;exports.FormLocationInput=Vn;exports.FormSectionHeader=rn;exports.FormSegmentedControl=Xn;exports.FormTagPills=aa;exports.FormTextInput=Cn;exports.FormTimeInput=Hn;exports.MOCK_ASTROLOGERS=Js;exports.MOCK_SLOT_DAYS=We;exports.MOCK_SLOT_DAYS_EMPTY=ss;exports.MarqueeStrip=Ca;exports.PageHeader=Gt;exports.PhoneNumberInput=ws;exports.PhoneNumberSection=Fe;exports.PrivacyBanner=_n;exports.RecommendedBadge=Ye;exports.UserReviewsSection=St;exports.footerShellStyles=z;exports.formatSlotDayLabel=Pe;exports.formatSlotTime=Ae;exports.getFlagEmoji=Ue;exports.getMaxLengthForCountry=xe;exports.validatePhoneByCountryCode=be;
|
|
15
2
|
//# sourceMappingURL=index.cjs.map
|