�PNG  IHDR22?�� pHYs  �� OiCCPPhotoshop ICC profilexڝSgTS�=���BK���KoR RB���&*! J�!��Q�EEȠ�����Q, � ��!���������{�kּ������>���� �H3Q5� �B�������.@� $p�d!s�#�~<<+"��x� �M��0���B�\���t�8K�@z�B�@F���&S�`�cb�P-`'������{[�!�� e�Dh;��V�EX0fK�9�-0IWfH���� � 0Q��){`�##x��F�W<�+��*x��<�$9E�[-qWW.(�I+6aa�@.�y�2�4���������x����6��_-��"bb���ϫp@�t~��,/��;�m��%�h^ �u��f�@����W�p�~<�5�j>{�-�]c�K'Xt����o��(�h���w��?�G�%�fI�q^D$.Tʳ?�D��*�A��,���� �`6�B$��BB d�r`)��B(�Ͱ*`/�@4�Qh��p.�U�=p�a��(�� A�a!ڈb�X#����!�H�$ ɈQ"K�5H1R�T UH�=r9�\F��;�2����G1���Q=� �C��7�F� �dt1�����r�=�6��Ыhڏ>C�0��3�l0.��B�8, �c˱"� ���V����cϱw�E� 6wB aAHXLXN�H� $4� 7 �Q�'"��K�&���b21�XH,#��/{�C�7$�C2'��I��T��F�nR#�,��4H#���dk�9�, +ȅ����3��!�[ �b@q��S�(R�jJ��4�e�2AU��Rݨ�T5�ZB���R�Q��4u�9̓IK�����hh�i��t�ݕN��W���G���w ��Ljg(�gw��L�Ӌ�T071���oUX*�*|�� �J�&�*/T����ު U�U�T��^S}�FU3S� Ԗ�U��P�SSg�;���g�oT?�~Y��Y�L�OC�Q��_�� c�x,!k ��u�5�&���|v*�����=���9C3J3W�R�f?�q��tN �(���~���)�)�4L�1e\k����X�H�Q�G�6������E�Y��A�J'\'Gg����S�Sݧ �M=:��.�k���Dw�n��^��Lo��y���}/�T�m���G X� $� �<�5qo</���QC]�@C�a�a�ᄑ��<��F�F�i�\�$�m�mƣ&&!&KM�M�RM��)�;L;L���͢�֙5�=1�2��כ߷`ZxZ,����eI��Z�Yn�Z9Y�XUZ]�F���%ֻ�����N�N���gð�ɶ�����ۮ�m�}agbg�Ů��}�}��= ���Z~s�r:V:ޚΜ�?}����/gX���3��)�i�S��Ggg�s�󈋉K��.�>.���Ƚ�Jt�q]�z���������ۯ�6�i�ܟ�4�)�Y3s���C�Q��? ��0k߬~OCO�g��#/c/�W�װ��w��a�>�>r��>�<7�2�Y_�7��ȷ�O�o�_��C#�d�z����%g��A�[��z|!��?:�e����A���AA�������!h�쐭!��Α�i�P~���a�a��~ '���W�?�p�X�1�5w��Cs�D�D�Dޛg1O9�-J5*>�.j<�7�4�?�.fY��X�XIlK9.*�6nl������� �{�/�]py�����.,:�@L�N8��A*��%�w%� y��g"/�6ш�C\*N�H*Mz�쑼5y$�3�,幄'���L Lݛ:��v m2=:�1����qB�!M��g�g�fvˬe����n��/��k���Y- �B��TZ(�*�geWf�͉�9���+��̳�ې7�����ᒶ��KW-X潬j9�������(�x��oʿ�ܔ���Ĺd�f�f���-�[����n �ڴ �V����E�/��(ۻ��C���<��e����;?T�T�T�T6��ݵa��n��{��4���[���>ɾ�UUM�f�e�I���?�������m]�Nmq����#�׹���=TR��+�G�����w- 6 U����#pDy��� �� :�v�{���vg/jB��F�S��[b[�O�>����z�G��499�?r����C�d�&����ˮ/~�����јѡ�򗓿m|������������x31^�V���w�w��O�| (�h���SЧ��������c3-� cHRMz%������u0�`:�o�_�F5IDATx��ytUս�?�;���fN$$��@B�!�k��� -*�gE���j�O�kQ�ʠ`U�B_ �AÐ0%�Ȕ�@r3ޛ;߳��$�@��v����^�s����������$��ߢ !�W��5�̱'-٘������4�>�Rƫ$�G��0U�H}�_ _� #��k�MJ/=�9Du *ڲ�k�PQ;0��j|�*�$�^컂脛y���>�z×� B��� ��(�:$�ʔ_�6��C!B����MVx��a��ζyY����j��ƋY2�9�F�{r��r�딟F��Q��hY6��� x��[l��RC��������nt@��;P��3��� F�w��7��:�P���ɋ'���mj���Bƪ�$�Q�L��y��߷g��\���z����v5�p�v$�v櫻�`6~K �Y�X����,�:��"�o�e0II"(��,������l_�C���/4�+f�E�!q��:����u����c��樼.UE�@� �]K�W���$-�h]�JG���Dz)�`��.�A/ ���mᏣc�3jK� �!�>���$�Q�!�_�? \�C2(E �M$Z I{�U���s�ǣ���=��@Բe ޻��W�����@ �w����}�9v,)��.}*|"�s��di���,���G�]W�AC�������|<����[��ߕ������K�*�G nߴ!��‹��J�!��6(L�a)��Am��������;adf��:�xm��nh�;֦I��(���o�C~ډa?�=��s����h��E������xp����)���_���t��W�����´;8���`dz=(��@@�+,�;�`�fhl��XȌ�3,uI�~z(J����� �ZX�A����H'�À�㜦�82|��a�n�z2��I���� ���EY�h�ε<�0�q�{��C��v�˅��?"@��χ�x�WS+��N�~�KQ�J�8ل�� _.W��� !TU{�����,��"�� �;�������HI S� ��))�o�1�H�D� ���� (� ;����"Ҕ��,���� �F=���O��&�Ph>�`���y��߲ &S��P�<��'��1s�1cĂ�N����2)����@�u��tv��<�+�-&�����h��[!FSG���' � z z0��<����8d&�����E0�,��<��"!P�b4��� �{S�����X����.�囤���T��hEF��X�q0"-<����h���]�Py*����F⩍��@v�˂�Y08�� .q��a��s����(!<̫1�3�L�H��7sYW�`��qtu�\7��?�@�Y�� %Ka�x�GZ�*W�P��y�����N0r9��Z�c�%���q,��k�����!!,��>���IB��� �x1�Xu�Y���v-���ֺ��N������JP��a�2`�e5��w��u;�6�i���̃��(K���ťa��(l51��JL��O'%���]���ٖ뿉!��{*�p+f ���i8��D�ȑ���ܩ�M��V��ӟz��x�7Z�1i}�^͜���6e����x��)u�d�ˏ�V�eG�\�X1�����=n�U'�~Y����L�\,�(d!x ,�:�TW8� M`r���@��r+v�Q0��>^;˴�VbF��('����� �*O��i��j�Ӆ����^�S3&� ���{������.ی�� N;��NU%d0�Ce\r"�C�b��&t7N�7��� �ȪD�[%l�۪�$��'m?�A9tI�9>��NVL ��� 6v~M�����ъ�B���0����9$&=ώm��W�0���L���&��E���f�f��'+�9��hv��7,���M��6�D�&�^� �����8 D֮�����o��k^z��O��hP�8q�5d*��YVq3�{��������#LX4�?��jP=3�~�؅c�ݰ�̱�ұ��8̲��2�G�����j��έ�9��w7���U�X�w�85C��?!I&���o&����L���I#�^�eV�,�^t5�k� �xs˛\��U�8��."���{���ǵ�l4��ݼ�;��r"���G�/~���gJV�N糦��ZZ^k+NN�D��I$�=OE�z����|*�*{��%k���G��>�`9��b;�s���8,�qs��c��.b��q�%�>r��n�R�Ƨ�%�,�A��le#�8���}; 21�0�b�&�QX�f���q�00����$>�h�N�'�a3��A���/�r ��L5�8�GԲ'�����w;��c#�q1���h$*��V^�k��QĽ�b:i������� ����H F#�_���,��]g����Ը����`RUU���� ��"�qD���>-��ϤI�~��3�̴�����NZ[[555�eeek7�m����YF#[��Đ��R��i��L�H�r ��@��J-�Pŝ��_|�-��6y��ks�V�U~��6���w.����(��0A� 4��f��� /���C�xŊ�ٳ����z=6�����rg���mKo��o�/����a�g���?'9%9��P��斓��~���L{�� �H��{AW��B��$����v�1b�&Mb�ر��ر#�0`�`xMBp! )Z�Nmo�mZ�g�}�eذaWTVV ���'99��C5��&�&+5�bT>|8��PUUETT����&���t��~TE%��'������b�tEGG;RSS�S�N�v��ѯ��t����u1@�ޚ"f��͈���r'L�Ph��m��ƌ�74o��`�x�q�P���NRSS�X,�����l&&&��MFFA!-��`��ҷ�n��Yuu�����x<I�LB%����KԒ50�!�3�bz�����ʸKL���;---�l6[��`��������Ȏ;�����egg4��!D�T��jWujyZ��������K����%����p�^���X,6��sV=�ܖ����6�3�X ���4ҿ��A2�&����_k�;d�� �VfOIEND�B`� 0x0x
PHP 8.1.34
Preview: index-U9YDAQIn.js Size: 36.20 KB
/home2/astrociv/public_html/gurujii.in/assets/index-U9YDAQIn.js
import{c as Ce,j as e,h as Ee,i as ye,r as b,S as P,B as w,M as te,A as ae}from"./index-DnuhVBRS.js";import{I as Pe}from"./input-D3k2IYOD.js";import{L as _e}from"./label-HsiH38Rt.js";import{P as Me}from"./payment-modal-Fv11gg7g.js";import{s as Se}from"./tracking-Bf_KRNEa.js";import{b as W}from"./kundli-BdO6s1_i.js";import{s as oe}from"./video-consult-CVdWixUm.js";import{s as Te}from"./temple-night-B_lxu1-X.js";import{s as ne}from"./hero-cosmic-BGLsEw4s.js";import{s as Be}from"./puja-havan-D6bxNm_6.js";import{s as le}from"./marriage-Cy6tGb9E.js";import{s as de}from"./gemstones-DQcb5rCF.js";import{M as B,P as z}from"./phone-call-BK-2VlB5.js";import{V as K,F as y,P as ce}from"./video-CbEKJQiL.js";import{C as me}from"./smartphone-DpASUaiT.js";import{C as $e}from"./camera-BskhF4Wu.js";import{R as Ie}from"./receipt-text-D0wwKS1W.js";import{S as Le}from"./star-DD2mL8Kg.js";import{B as Re}from"./briefcase-Dkdtbbdq.js";import{C as R}from"./calendar-days-DD8wZncg.js";import{C as re}from"./circle-check-CUYDO1Nq.js";import{A as se}from"./arrow-left-5URKW_k5.js";import{W as qe,C as Oe}from"./wallet-CWqA2LT6.js";import{C as $}from"./clock-DCBmQxny.js";import{U as xe}from"./user-check-DGeaDDxP.js";import{C as M}from"./check-DiIQvs5q.js";import{L as ie}from"./lock-CFxojPW9.js";import{C as He}from"./calendar-check-BPrJ5s-W.js";import{M as Ye}from"./map-pin-Bse3Wkup.js";import"./loader-circle-ofyxlirR.js";const Qe=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],S=Ce("crown",Qe),Ue={fullName:"",phone:"",email:"",gender:"",city:"",dob:"",tob:"",pob:"",fatherName:"",motherName:"",problemCategory:"",preferredLanguage:"Hindi",question:"",consent:!1};function G(r){const d=r.getFullYear(),o=String(r.getMonth()+1).padStart(2,"0"),s=String(r.getDate()).padStart(2,"0");return`${d}-${o}-${s}`}function E(r){return r?new Date(`${r}T00:00:00`).toLocaleDateString("en-IN",{day:"numeric",month:"short",year:"numeric"}):"Not selected"}function v(r){return`₹${r.toLocaleString("en-IN")}`}function Ve(r,d){const o=r.getDate(),s=new Date,F=G(r),l=G(s);return F===d?"selected":r<new Date(`${l}T00:00:00`)?"unavailable":[4,8,11,15].includes(o)?"booked":[9,19].includes(o)?"hold":[6,12,18,24].includes(o)?"partial":F===l?"today":[3,5,7,10,14,16,20,22,25,27,29].includes(o)?"available":o%2===0?"partial":"available"}function We(r){const d=r.getFullYear(),o=r.getMonth(),s=new Date(d,o,1),F=new Date(d,o+1,0),l=[];for(let p=0;p<s.getDay();p+=1)l.push(null);for(let p=1;p<=F.getDate();p+=1)l.push(new Date(d,o,p));return l}function ze(r){return[{id:"m-0900",startTime:"09:00 AM",endTime:"09:30 AM",group:"Morning",state:"available"},{id:"m-0930",startTime:"09:30 AM",endTime:"10:00 AM",group:"Morning",state:"booked"},{id:"m-1000",startTime:"10:00 AM",endTime:"10:30 AM",group:"Morning",state:"available"},{id:"m-1030",startTime:"10:30 AM",endTime:"11:00 AM",group:"Morning",state:"hold"},{id:"m-1100",startTime:"11:00 AM",endTime:"11:30 AM",group:"Morning",state:"available"},{id:"a-1200",startTime:"12:00 PM",endTime:"12:30 PM",group:"Afternoon",state:"available"},{id:"a-1300",startTime:"01:00 PM",endTime:"01:30 PM",group:"Afternoon",state:"booked"},{id:"a-1500",startTime:"03:00 PM",endTime:"03:30 PM",group:"Afternoon",state:"available"},{id:"e-1630",startTime:"04:30 PM",endTime:"05:00 PM",group:"Evening",state:"available"},{id:"e-1700",startTime:"05:00 PM",endTime:"05:30 PM",group:"Evening",state:"blocked"},{id:"e-1830",startTime:"06:30 PM",endTime:"07:00 PM",group:"Evening",state:"available"},{id:"e-1900",startTime:"07:00 PM",endTime:"07:30 PM",group:"Evening",state:"available"},{id:"n-2000",startTime:"08:00 PM",endTime:"08:30 PM",group:"Night",state:"available"},{id:"n-2100",startTime:"09:00 PM",endTime:"09:30 PM",group:"Night",state:"unavailable"}].map(o=>o.id===r?{...o,state:"selected"}:o)}function f({label:r,required:d,children:o,error:s}){return e.jsxs("div",{className:"space-y-2",children:[e.jsxs(_e,{className:"text-xs font-semibold text-amber-100",children:[r," ",d&&e.jsx("span",{className:"text-rose-300",children:"*"})]}),o,s&&e.jsx("p",{className:"text-[11px] text-rose-300",children:"This field is required."})]})}function N(r){return e.jsx(Pe,{...r,className:`bg-black/35 border-white/10 text-cream placeholder:text-cream-muted focus-visible:ring-amber-400 focus-visible:border-amber-400/60 ${r.className||""}`})}const T=["Type","Package","Date","Time","Details","Pay"],I=[{label:"Type",icon:P,image:ne,hint:"Choose"},{label:"Package",icon:qe,image:de,hint:"Package"},{label:"Date",icon:R,image:Te,hint:"Date"},{label:"Time",icon:$,image:oe,hint:"Time"},{label:"Details",icon:xe,image:W,hint:"Details"},{label:"Pay",icon:Oe,image:le,hint:"Pay"}],L=[{id:"chat",label:"Live Chat",icon:B,price:"From ₹10/min",desc:"Fast private chat guidance.",tone:"from-[#16C784] to-emerald-300 text-[#03140E]"},{id:"call",label:"Voice Call",icon:z,price:"From ₹101",desc:"Fixed phone slot with Guruji.",tone:"from-[#D4AF37] via-[#FFE9A6] to-[#F59E0B] text-[#130A28]"},{id:"video",label:"Video Call",icon:K,price:"From ₹501",desc:"Face-to-face consultation.",tone:"from-[#7C3AED] to-[#2563EB] text-white"},{id:"question",label:"Paid Question",icon:me,price:"From ₹101",desc:"Written answer from expert.",tone:"from-[#2563EB] to-cyan-400 text-white"},{id:"puja",label:"Puja Booking",icon:P,price:"From ₹1100",desc:"Sacred puja with sankalp.",tone:"from-[#F59E0B] to-[#7A0610] text-white"},{id:"report",label:"PDF Report",icon:y,price:"From ₹999",desc:"Detailed astrology PDF.",tone:"from-[#7A0610] to-[#D4AF37] text-white"}],Ke=[{id:"call-5",mode:"call",title:"5 Min Quick Call",price:101,duration:"5 min",bestFor:"Urgent clarity",icon:z,tone:"border-[#16C784]/35 bg-[#16C784]/12 text-emerald-100"},{id:"call-15",mode:"call",title:"15 Min Short Call",price:501,duration:"15 min",bestFor:"Focused guidance",badge:"Popular",icon:ce,tone:"border-[#D4AF37]/38 bg-[#D4AF37]/12 text-amber-100"},{id:"call-30",mode:"call",title:"30 Min Detailed Call",price:1100,duration:"30 min",bestFor:"Career or marriage",icon:z,tone:"border-[#2563EB]/35 bg-[#2563EB]/12 text-blue-100"},{id:"call-60",mode:"call",title:"60 Min Premium Call",price:2100,duration:"60 min",bestFor:"Complete reading",icon:S,tone:"border-[#7C3AED]/35 bg-[#7C3AED]/12 text-violet-100"},{id:"video-15",mode:"video",title:"15 Min Quick Video",price:501,duration:"15 min",bestFor:"Quick face reading",icon:K,tone:"border-[#2563EB]/35 bg-[#2563EB]/12 text-blue-100"},{id:"video-30",mode:"video",title:"30 Min Standard Video",price:1100,duration:"30 min",bestFor:"Live kundli review",badge:"Recommended",icon:$e,tone:"border-[#7C3AED]/35 bg-[#7C3AED]/12 text-violet-100"},{id:"video-45",mode:"video",title:"45 Min Premium Video",price:2100,duration:"45 min",bestFor:"Detailed remedies",icon:K,tone:"border-[#D4AF37]/38 bg-[#D4AF37]/12 text-amber-100"},{id:"video-60",mode:"video",title:"60 Min Complete Video",price:5100,duration:"60 min",bestFor:"Family guidance",icon:S,tone:"border-[#F59E0B]/35 bg-[#F59E0B]/12 text-orange-100"},{id:"chat-min",mode:"chat",title:"Live Chat",price:10,duration:"₹10/min",bestFor:"Pay per minute",icon:B,tone:"border-[#16C784]/35 bg-[#16C784]/12 text-emerald-100"},{id:"chat-15",mode:"chat",title:"15 Min Chat Pack",price:501,duration:"15 min",bestFor:"Short chat",badge:"Best Start",icon:B,tone:"border-[#D4AF37]/38 bg-[#D4AF37]/12 text-amber-100"},{id:"chat-30",mode:"chat",title:"30 Min Chat Pack",price:1100,duration:"30 min",bestFor:"Detailed chat",icon:B,tone:"border-[#7C3AED]/35 bg-[#7C3AED]/12 text-violet-100"},{id:"q-1",mode:"question",title:"1 Question",price:101,duration:"1 answer",bestFor:"One focused issue",icon:me,tone:"border-[#2563EB]/35 bg-[#2563EB]/12 text-blue-100"},{id:"q-3",mode:"question",title:"3 Questions",price:301,duration:"3 answers",bestFor:"Multiple doubts",icon:Ie,tone:"border-[#16C784]/35 bg-[#16C784]/12 text-emerald-100"},{id:"q-5",mode:"question",title:"5 Questions",price:501,duration:"5 answers",bestFor:"Family/career mix",badge:"Popular",icon:Le,tone:"border-[#D4AF37]/38 bg-[#D4AF37]/12 text-amber-100"},{id:"q-10",mode:"question",title:"10 Questions",price:999,duration:"10 answers",bestFor:"Complete clarity",icon:y,tone:"border-[#7C3AED]/35 bg-[#7C3AED]/12 text-violet-100"},{id:"puja-basic",mode:"puja",title:"Basic Puja",price:1100,duration:"Basic",bestFor:"Small sankalp",icon:P,tone:"border-[#F59E0B]/35 bg-[#F59E0B]/12 text-orange-100"},{id:"puja-standard",mode:"puja",title:"Standard Puja",price:2100,duration:"Standard",bestFor:"Home/family peace",badge:"Recommended",icon:P,tone:"border-[#D4AF37]/38 bg-[#D4AF37]/12 text-amber-100"},{id:"puja-premium",mode:"puja",title:"Premium Puja",price:3100,duration:"Premium",bestFor:"Detailed vidhi",icon:S,tone:"border-[#7A0610]/35 bg-[#7A0610]/20 text-rose-100"},{id:"puja-special",mode:"puja",title:"Special Anushthan",price:5100,duration:"Special",bestFor:"Major remedies",icon:S,tone:"border-[#EF4444]/35 bg-[#EF4444]/12 text-rose-100"},{id:"report-kundli",mode:"report",title:"Kundli Report",price:999,duration:"PDF",bestFor:"Birth chart",icon:y,tone:"border-[#D4AF37]/38 bg-[#D4AF37]/12 text-amber-100"},{id:"report-marriage",mode:"report",title:"Marriage Report",price:1100,duration:"PDF",bestFor:"Compatibility",icon:y,tone:"border-[#7A0610]/35 bg-[#7A0610]/20 text-rose-100"},{id:"report-career",mode:"report",title:"Career Report",price:999,duration:"PDF",bestFor:"Work and money",icon:Re,tone:"border-[#2563EB]/35 bg-[#2563EB]/12 text-blue-100"},{id:"report-yearly",mode:"report",title:"Yearly Horoscope",price:1500,duration:"PDF",bestFor:"12-month forecast",icon:R,tone:"border-[#7C3AED]/35 bg-[#7C3AED]/12 text-violet-100"}];function Ge(){if(typeof window>"u")return null;if(window.location.pathname==="/call")return"call";const r=new URLSearchParams(window.location.search).get("mode");return L.some(d=>d.id===r)?r:null}function V(){return`https://wa.me/919876543210?text=${encodeURIComponent("Hello Astro Baat Admin, I need help booking a consultation.")}`}function Je(r,d){return r==="video"?oe:r==="call"?le:r==="chat"?W:r==="question"?de:r==="puja"?Be:r==="report"?W:I[d-1]?.image||ne}function Xe(){const[,r]=Ee(),{toast:d}=ye(),o=Ge(),[s,F]=b.useState(o?2:1),[l,p]=b.useState(o),[x,q]=b.useState(null),[J,X]=b.useState(()=>new Date),[m,O]=b.useState(""),[h,_]=b.useState(null),[be,H]=b.useState(!1),[Z,Y]=b.useState(null),[n,he]=b.useState(null),[c,pe]=b.useState(Ue),[Q,U]=b.useState({gotra:"",pujaDate:"",sankalp:""}),A=L.find(t=>t.id===l)||null,ue=Ke.filter(t=>t.mode===l),ge=ze(h?.id),D=!!c.fullName.trim()&&!!c.phone.trim()&&c.consent,fe=Math.round((s-1)/(T.length-1)*100),j=x?.price||0;n?.bookingId||`${Date.now().toString().slice(-6)}`;const Fe=I[s-1]||I[0],je=Je(l,s),ee=s===1&&!!l||s===2&&!!x||s===3&&!!m||s===4&&!!h||s===5&&D||s===6&&D,ke=t=>{p(t),q(null),O(""),_(null)},Ne=()=>{window.history.length>1?window.history.back():r("/")},we=()=>{ee&&F(t=>Math.min(T.length,t+1))},ve=t=>{if(!l||!x||!h||!m||!D)return;const a={bookingId:`${l.toUpperCase()}-${Date.now().toString().slice(-6)}`,token:`TOK-${Math.floor(1e3+Math.random()*9e3)}`,paymentId:t?.paymentId||`pay_${Date.now().toString().slice(-8)}`,amount:j,mode:l,packageTitle:x.title,date:m,time:h.startTime};Se({id:a.bookingId,kind:"booking",title:x.title,status:"confirmed",amount:j,paymentStatus:"Paid",createdAt:new Date().toISOString(),customerName:c.fullName,phone:c.phone,mode:A?.label||l,date:m,time:h.startTime,service:x.title,summary:"Paid astrology consultation confirmed. Keep this ID for customer support and session updates.",details:{Token:a.token,Package:x.title,Mode:A?.label||l,Date:m,Time:h.startTime,City:c.city||void 0}}),he(a),d({title:"Booking Confirmed",description:`${x.title} is confirmed.`})},k=(t,a)=>{pe(i=>({...i,[t]:a}))};if(n){const t=n.mode==="video"?`https://meet.jit.si/astrobaat-${n.bookingId}`:"",a=`https://wa.me/919876543210?text=${encodeURIComponent(`I have confirmed my Astro Baat booking.
Booking ID: ${n.bookingId}
Token: ${n.token}
Mode: ${n.mode}
Time: ${n.date} ${n.time}`)}`;return e.jsxs("main",{className:"min-h-[100dvh] bg-[#05020A] text-[#FFF7E6]",children:[e.jsx("div",{className:"fixed inset-0 bg-[radial-gradient(circle_at_12%_0%,rgba(212,175,55,.22),transparent_30%),radial-gradient(circle_at_90%_8%,rgba(124,58,237,.28),transparent_28%),linear-gradient(180deg,#05020A_0%,#130A28_54%,#05020A_100%)]"}),e.jsx("section",{className:"relative mx-auto flex min-h-[100dvh] max-w-2xl flex-col justify-center px-5 py-10",children:e.jsxs("div",{className:"rounded-[2rem] border border-[#16C784]/28 bg-white/[0.075] p-6 text-center shadow-[0_28px_90px_rgba(0,0,0,.45)] backdrop-blur-xl",children:[e.jsx("div",{className:"mx-auto grid h-24 w-24 place-items-center rounded-full bg-[#16C784] text-white shadow-[0_18px_44px_rgba(22,199,132,.34)] animate-pulse",children:e.jsx(re,{className:"h-14 w-14"})}),e.jsx("h1",{className:"mt-6 font-serif text-4xl font-black text-white",children:"Booking Confirmed"}),e.jsx("p",{className:"mt-2 text-sm text-[#FFF7E6]/58",children:"Your paid astrology consultation is locked and ready."}),e.jsx("div",{className:"mt-6 grid gap-3 rounded-2xl border border-white/10 bg-black/20 p-4 text-left text-sm",children:[["Booking ID",n.bookingId],["Token Number",n.token],["Mode",L.find(i=>i.id===n.mode)?.label||n.mode],["Package",n.packageTitle],["Date",E(n.date)],["Time",n.time],["Amount Paid",v(n.amount)]].map(([i,u])=>e.jsxs("div",{className:"flex justify-between gap-4",children:[e.jsx("span",{className:"text-[#FFF7E6]/48",children:i}),e.jsx("span",{className:"text-right font-black text-[#FFE9A6]",children:u})]},i))}),n.mode==="video"&&e.jsxs("div",{className:"mt-4 rounded-2xl border border-[#7C3AED]/28 bg-[#7C3AED]/14 p-4 text-left",children:[e.jsx("p",{className:"text-xs font-black uppercase tracking-[0.16em] text-violet-100",children:"Meeting Link"}),e.jsx("a",{href:t,target:"_blank",rel:"noreferrer",className:"mt-1 block break-all text-sm font-bold text-blue-100",children:t})]}),n.mode==="call"&&e.jsx("div",{className:"mt-4 rounded-2xl border border-[#D4AF37]/24 bg-[#D4AF37]/10 p-4 text-sm font-bold text-[#FFE9A6]",children:"Guruji/Admin will call you at your selected time."}),e.jsxs("div",{className:"mt-6 grid gap-3 sm:grid-cols-3",children:[e.jsx("a",{href:a,target:"_blank",rel:"noreferrer",className:"inline-flex min-h-12 items-center justify-center rounded-2xl bg-[#16C784] px-4 font-black text-white",children:"WhatsApp"}),e.jsx(w,{onClick:()=>r(`/track?id=${n.bookingId}`),variant:"outline",className:"min-h-12 rounded-2xl border-[#D4AF37]/30 bg-white/5 font-black text-[#FFE9A6]",children:"Track Booking"}),e.jsx(w,{onClick:()=>r("/"),className:"min-h-12 rounded-2xl border-0 bg-gradient-to-r from-[#D4AF37] via-[#FFE9A6] to-[#F59E0B] font-black text-[#130A28]",children:"Back Home"})]})]})})]})}const Ae=()=>{if(s===1)return e.jsx("div",{className:"grid gap-3 sm:grid-cols-2 xl:grid-cols-3",children:L.map(t=>{const a=t.icon,i=l===t.id;return e.jsxs("button",{"data-testid":`book-mode-${t.id}`,onClick:()=>ke(t.id),className:`group relative min-h-[13.5rem] overflow-hidden rounded-[1.6rem] border p-4 text-left transition duration-300 hover:-translate-y-1 ${i?"border-[#FFE9A6] bg-[#D4AF37]/14 shadow-[0_24px_70px_rgba(212,175,55,.2)]":"border-[#D4AF37]/14 bg-white/[0.065] hover:border-[#D4AF37]/42"}`,children:[e.jsx("span",{className:`absolute -right-8 -top-8 h-28 w-28 rounded-full bg-gradient-to-br ${t.tone} opacity-20 blur-2xl transition group-hover:opacity-35`}),e.jsxs("div",{className:"relative flex items-start justify-between gap-3",children:[e.jsx("span",{className:`grid h-14 w-14 place-items-center rounded-[1.15rem] bg-gradient-to-br ${t.tone} shadow-[0_16px_38px_rgba(0,0,0,.28)] ring-1 ring-white/20`,children:e.jsx(a,{className:"h-6 w-6"})}),e.jsxs("span",{className:`inline-flex items-center gap-1 rounded-full px-2.5 py-1 text-[11px] font-black ${i?"bg-[#D4AF37] text-[#130A28]":"border border-white/10 bg-black/20 text-[#FFF7E6]/58"}`,children:[i?e.jsx(M,{className:"h-3.5 w-3.5"}):e.jsx(P,{className:"h-3.5 w-3.5"}),i?"Selected":"Choose"]})]}),e.jsxs("div",{className:"relative mt-5",children:[e.jsx("h3",{className:"font-serif text-2xl font-black text-white",children:t.label}),e.jsx("p",{className:"mt-1 text-sm font-black text-[#FFE9A6]",children:t.price}),e.jsx("p",{className:"mt-2 min-h-10 text-sm leading-5 text-[#FFF7E6]/56",children:t.desc})]}),e.jsxs("span",{className:`relative mt-5 inline-flex h-10 w-full items-center justify-center rounded-2xl text-xs font-black transition ${i?"bg-[#D4AF37] text-[#130A28]":"border border-[#D4AF37]/16 bg-white/8 text-[#FFF7E6]/64 group-hover:bg-[#D4AF37]/12 group-hover:text-[#FFE9A6]"}`,children:["Choose ",t.label]})]},t.id)})});if(s===2)return e.jsx("div",{className:"grid gap-3 sm:grid-cols-2",children:ue.map(t=>{const a=t.icon,i=x?.id===t.id;return e.jsxs("button",{"data-testid":`book-package-${t.id}`,onClick:()=>q(t),className:`group relative rounded-[1.4rem] border p-4 text-left transition duration-300 hover:-translate-y-0.5 ${i?"scale-[1.01] border-[#FFE9A6] bg-[#D4AF37]/12 shadow-[0_18px_54px_rgba(212,175,55,.18)]":"border-[#D4AF37]/14 bg-white/[0.065] hover:border-[#D4AF37]/40"}`,children:[t.badge&&e.jsx("span",{className:"absolute right-3 top-3 rounded-full bg-[#7A0610] px-2.5 py-1 text-[10px] font-black text-[#FFE9A6]",children:t.badge}),e.jsx("span",{className:`grid h-11 w-11 place-items-center rounded-2xl border ${t.tone}`,children:e.jsx(a,{className:"h-5 w-5"})}),e.jsx("p",{className:"mt-4 font-serif text-3xl font-black text-white",children:v(t.price)}),e.jsx("h3",{className:"mt-1 font-black text-[#FFE9A6]",children:t.title}),e.jsx("div",{className:"mt-2 inline-flex rounded-full border border-white/10 bg-black/20 px-2.5 py-1 text-xs font-bold text-[#FFF7E6]/62",children:t.duration}),e.jsxs("p",{className:"mt-2 text-sm text-[#FFF7E6]/52",children:["Best for: ",t.bestFor]}),e.jsx("span",{className:`mt-4 inline-flex h-9 w-full items-center justify-center rounded-xl text-xs font-black ${i?"bg-[#D4AF37] text-[#130A28]":"bg-white/8 text-[#FFF7E6]/68"}`,children:i?e.jsxs(e.Fragment,{children:[e.jsx(M,{className:"mr-1.5 h-3.5 w-3.5"})," Selected"]}):"Select Package"})]},t.id)})});if(s===3){const t=We(J);return e.jsxs("div",{className:"grid gap-4 lg:grid-cols-[1fr_.7fr]",children:[e.jsxs("div",{className:"rounded-[1.65rem] border border-[#D4AF37]/18 bg-white/[0.07] p-4 shadow-[0_18px_54px_rgba(0,0,0,.18)]",children:[e.jsxs("div",{className:"mb-4 flex items-center justify-between gap-3",children:[e.jsx("button",{onClick:()=>X(a=>new Date(a.getFullYear(),a.getMonth()-1,1)),className:"grid h-11 w-11 place-items-center rounded-2xl border border-white/10 bg-white/5 text-[#FFE9A6]",children:e.jsx(se,{className:"h-4 w-4"})}),e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-[11px] font-black uppercase tracking-[0.16em] text-[#FFE9A6]/60",children:"Select Date"}),e.jsx("h3",{className:"font-serif text-2xl font-black text-white",children:J.toLocaleString("en-IN",{month:"long",year:"numeric"})})]}),e.jsx("button",{onClick:()=>X(a=>new Date(a.getFullYear(),a.getMonth()+1,1)),className:"grid h-11 w-11 place-items-center rounded-2xl border border-white/10 bg-white/5 text-[#FFE9A6]",children:e.jsx(ae,{className:"h-4 w-4"})})]}),e.jsx("div",{className:"grid grid-cols-7 gap-1.5 text-center text-xs font-black text-[#FFF7E6]/44",children:["S","M","T","W","T","F","S"].map(a=>e.jsx("span",{children:a},a))}),e.jsx("div",{className:"mt-2 grid grid-cols-7 gap-1.5",children:t.map((a,i)=>{if(!a)return e.jsx("span",{},`blank-${i}`);const u=G(a),g=Ve(a,m),C=!["booked","blocked","hold","unavailable"].includes(g),De=g==="selected"?"border-[#FFE9A6] bg-[#D4AF37] text-[#130A28] shadow-[0_0_24px_rgba(212,175,55,.36)]":g==="booked"||g==="blocked"?"border-[#EF4444]/35 bg-[#EF4444]/16 text-rose-100":g==="hold"?"border-[#F59E0B]/35 bg-[#F59E0B]/16 text-orange-100":g==="unavailable"?"border-white/8 bg-white/[0.035] text-[#FFF7E6]/25":"border-[#16C784]/32 bg-[#16C784]/12 text-emerald-100 hover:bg-[#16C784]/18";return e.jsx("button",{"data-testid":`book-date-${u}`,disabled:!C,onClick:()=>{O(u),_(null)},className:`aspect-square rounded-2xl border text-sm font-black transition ${De}`,children:a.getDate()},u)})}),e.jsx("div",{className:"mt-4 flex flex-wrap gap-2 text-[11px] font-bold text-[#FFF7E6]/58",children:[["bg-[#16C784]","Available"],["bg-[#EF4444]","Booked"],["bg-[#F59E0B]","Hold"],["bg-[#D4AF37]","Selected"]].map(([a,i])=>e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx("i",{className:`h-2.5 w-2.5 rounded-full ${a}`}),i]},i))})]}),e.jsx("div",{className:"relative overflow-hidden rounded-[1.65rem] border border-[#D4AF37]/18 bg-[#D4AF37]/10 p-5",children:e.jsxs("div",{className:"relative",children:[e.jsx(He,{className:"h-10 w-10 text-[#FFE9A6]"}),e.jsx("h3",{className:"mt-4 font-serif text-2xl font-black text-white",children:m?E(m):"Choose a green date"}),e.jsx("p",{className:"mt-2 text-sm leading-6 text-[#FFF7E6]/60",children:"Available dates are marked green. Booked and hold dates stay locked so users cannot select them by mistake."})]})})]})}return s===4?e.jsxs("div",{className:"grid gap-4 lg:grid-cols-[.75fr_1fr]",children:[e.jsx("div",{className:"relative overflow-hidden rounded-[1.65rem] border border-[#D4AF37]/18 bg-white/[0.07] p-5",children:e.jsxs("div",{className:"relative",children:[e.jsx($,{className:"h-10 w-10 text-[#FFE9A6]"}),e.jsx("h3",{className:"mt-4 font-serif text-2xl font-black text-white",children:m?E(m):"Select date first"}),e.jsx("p",{className:"mt-2 text-sm leading-6 text-[#FFF7E6]/60",children:"Pick one available green time slot. Booked and hold timings show as locked."}),e.jsx("div",{className:"mt-4 rounded-2xl border border-[#D4AF37]/20 bg-[#D4AF37]/10 p-3 text-xs font-bold text-[#FFE9A6]",children:h?`Selected time: ${h.startTime}`:"No time selected yet"})]})}),e.jsx("div",{className:"rounded-[1.65rem] border border-[#D4AF37]/18 bg-white/[0.07] p-4",children:e.jsx("div",{className:"grid gap-4",children:["Morning","Afternoon","Evening","Night"].map(t=>e.jsxs("div",{children:[e.jsx("p",{className:"mb-2 text-xs font-black uppercase tracking-[0.14em] text-[#FFE9A6]/64",children:t}),e.jsx("div",{className:"grid grid-cols-2 gap-2",children:ge.filter(a=>a.group===t).map(a=>{const i=a.state==="available",u=a.state==="selected"?"border-[#FFE9A6] bg-[#D4AF37] text-[#130A28] shadow-[0_0_24px_rgba(212,175,55,.36)]":a.state==="available"?"border-[#16C784]/34 bg-[#16C784]/12 text-emerald-100 hover:bg-[#16C784]/18":a.state==="hold"?"border-[#F59E0B]/34 bg-[#F59E0B]/14 text-orange-100":a.state==="unavailable"?"border-white/8 bg-white/[0.035] text-[#FFF7E6]/25":"border-[#EF4444]/34 bg-[#EF4444]/14 text-rose-100";return e.jsx("button",{"data-testid":`book-slot-${a.id}`,onClick:()=>{if(!i){Y("This slot is already booked.");return}_(a)},className:`min-h-12 rounded-2xl border px-3 text-sm font-black transition ${u}`,children:e.jsxs("span",{className:"flex items-center justify-center gap-1.5",children:[a.state==="selected"?e.jsx(M,{className:"h-4 w-4"}):["booked","blocked"].includes(a.state)?e.jsx(ie,{className:"h-4 w-4"}):a.state==="hold"?e.jsx($,{className:"h-4 w-4"}):a.state==="available"?e.jsx(R,{className:"h-4 w-4"}):null,a.startTime]})},a.id)})})]},t))})})]}):s===5?e.jsxs("div",{className:"relative overflow-hidden rounded-[1.65rem] border border-[#D4AF37]/18 bg-white/[0.07] p-5",children:[e.jsxs("div",{className:"relative mb-5 flex items-start gap-3",children:[e.jsx("span",{className:"grid h-12 w-12 place-items-center rounded-2xl bg-[#D4AF37]/14 text-[#FFE9A6] ring-1 ring-[#D4AF37]/22",children:e.jsx(y,{className:"h-6 w-6"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-serif text-2xl font-black text-white",children:"Quick Booking Details"}),e.jsx("p",{className:"mt-1 text-sm leading-6 text-[#FFF7E6]/56",children:"Name and mobile number are enough to continue. Birth and puja details are optional for more accurate guidance."})]})]}),e.jsxs("div",{className:"relative grid gap-4 md:grid-cols-2",children:[e.jsx(f,{label:e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(xe,{className:"h-3.5 w-3.5"})," Full Name"]}),required:!0,children:e.jsx(N,{value:c.fullName,onChange:t=>k("fullName",t.target.value),placeholder:"Enter full name for booking"})}),e.jsx(f,{label:e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(ce,{className:"h-3.5 w-3.5"})," Phone Number"]}),required:!0,children:e.jsxs("div",{className:"flex h-10 overflow-hidden rounded-md border border-white/10 bg-black/35 focus-within:border-amber-400/60",children:[e.jsxs("span",{className:"inline-flex items-center gap-1 border-r border-white/10 bg-white/[0.06] px-3 text-sm font-black text-[#FFE9A6]",children:[e.jsx("span",{"aria-hidden":"true",children:"🇮🇳"})," +91"]}),e.jsx("input",{value:c.phone,onChange:t=>k("phone",t.target.value),placeholder:"98765 43210",className:"min-w-0 flex-1 bg-transparent px-3 text-sm text-cream outline-none placeholder:text-cream-muted"})]})}),e.jsx(f,{label:e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(R,{className:"h-3.5 w-3.5"})," Date of Birth (Optional)"]}),children:e.jsx(N,{value:c.dob,onChange:t=>k("dob",t.target.value),placeholder:"DD/MM/YYYY",inputMode:"numeric"})}),e.jsx(f,{label:e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx($,{className:"h-3.5 w-3.5"})," Birth Time (Optional)"]}),children:e.jsx(N,{value:c.tob,onChange:t=>k("tob",t.target.value),placeholder:"HH:MM AM/PM"})}),e.jsx(f,{label:e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(Ye,{className:"h-3.5 w-3.5"})," Birth Place (Optional)"]}),children:e.jsx(N,{value:c.pob,onChange:t=>k("pob",t.target.value),placeholder:"City, state, country"})}),e.jsx(f,{label:e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(te,{className:"h-3.5 w-3.5"})," Email (Optional)"]}),children:e.jsx(N,{type:"email",value:c.email,onChange:t=>k("email",t.target.value),placeholder:"name@example.com"})}),l==="puja"&&e.jsxs(e.Fragment,{children:[e.jsx(f,{label:"Gotra (Optional)",children:e.jsx(N,{value:Q.gotra,onChange:t=>U(a=>({...a,gotra:t.target.value})),placeholder:"Enter gotra if known"})}),e.jsx(f,{label:"Puja Date (Optional)",children:e.jsx(N,{type:"date",value:Q.pujaDate,onChange:t=>U(a=>({...a,pujaDate:t.target.value}))})}),e.jsx("div",{className:"md:col-span-2",children:e.jsx(f,{label:"Sankalp Details (Optional)",children:e.jsx("textarea",{value:Q.sankalp,onChange:t=>U(a=>({...a,sankalp:t.target.value})),placeholder:"Name and sankalp purpose for puja",className:"min-h-24 w-full rounded-md border border-white/10 bg-black/35 px-3 py-2 text-sm text-cream outline-none placeholder:text-cream-muted focus:border-amber-400/60"})})})]})]}),e.jsxs("label",{className:"relative mt-5 flex items-start gap-3 rounded-2xl border border-[#D4AF37]/18 bg-[#D4AF37]/10 p-4 text-sm text-[#FFF7E6]/72",children:[e.jsx("input",{type:"checkbox",checked:c.consent,onChange:t=>k("consent",t.target.checked),className:"mt-1 accent-[#D4AF37]"}),e.jsx("span",{children:"I agree to share these details with the astrologer/admin only for this booking."})]}),D&&e.jsxs("p",{className:"relative mt-3 inline-flex items-center gap-2 rounded-full bg-[#16C784]/14 px-3 py-1.5 text-xs font-black text-emerald-100",children:[e.jsx(re,{className:"h-4 w-4"})," Details complete"]})]}):e.jsxs("div",{className:"rounded-[1.5rem] border border-[#D4AF37]/18 bg-white/[0.065] p-5",children:[e.jsx("h3",{className:"font-serif text-2xl font-black text-white",children:"Confirm & Pay"}),e.jsx("p",{className:"mt-1 text-sm text-[#FFF7E6]/54",children:"Review your booking and complete secure payment."}),e.jsxs("div",{className:"mt-5 grid gap-3 text-sm",children:[[["Mode",A?.label||"Select"],["Package",x?.title||"Select"],["Duration",x?.duration||"Select"],["Date",m?E(m):"Select"],["Slot",h?.startTime||"Select"],["Client",c.fullName||"Add details"],["Phone",c.phone||"Add details"]].map(([t,a])=>e.jsxs("div",{className:"flex justify-between rounded-2xl border border-white/10 bg-black/18 p-3",children:[e.jsx("span",{className:"text-[#FFF7E6]/48",children:t}),e.jsx("span",{className:"text-right font-black text-[#FFE9A6]",children:a})]},t)),e.jsxs("div",{className:"flex justify-between rounded-2xl border border-[#D4AF37]/24 bg-[#D4AF37]/10 p-4 text-base",children:[e.jsx("span",{className:"font-black",children:"Total Payable"}),e.jsx("span",{className:"font-serif text-2xl font-black text-[#FFE9A6]",children:v(j)})]})]}),e.jsx("div",{className:"mt-5 grid grid-cols-2 gap-2",children:["Razorpay","Wallet","Wallet + Razorpay","Manual UPI"].map((t,a)=>e.jsx("button",{className:`rounded-2xl border p-3 text-left text-sm font-black ${a===0?"border-[#D4AF37]/42 bg-[#D4AF37]/12 text-[#FFE9A6]":"border-white/10 bg-white/[0.045] text-[#FFF7E6]/54"}`,children:t},t))}),e.jsxs(w,{onClick:()=>H(!0),className:"relative mt-5 min-h-14 w-full overflow-hidden rounded-2xl border-0 bg-gradient-to-r from-[#D4AF37] via-[#FFE9A6] to-[#F59E0B] text-base font-black text-[#130A28] shadow-[0_18px_50px_rgba(212,175,55,.24)] before:absolute before:inset-y-0 before:-left-10 before:w-8 before:skew-x-[-18deg] before:bg-white/65 before:transition-transform hover:before:translate-x-[36rem]",children:["Pay ",v(j)," & Confirm Booking"]})]})};return e.jsxs("main",{"data-testid":"premium-book-page",className:"min-h-[100dvh] overflow-hidden bg-[#07030D] pb-28 text-[#FFF7E6]",children:[e.jsxs("div",{className:"fixed inset-0 bg-[#05020A]",children:[e.jsx("img",{src:je,alt:"",className:"absolute inset-0 h-full w-full object-cover opacity-20"}),e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_12%_0%,rgba(212,175,55,.28),transparent_30%),radial-gradient(circle_at_88%_6%,rgba(122,6,16,.50),transparent_30%),radial-gradient(circle_at_48%_100%,rgba(22,199,132,.12),transparent_34%),linear-gradient(180deg,#07030D_0%,rgba(22,7,31,.90)_50%,#05020A_100%)]"})]}),e.jsxs("div",{className:"relative mx-auto max-w-6xl px-4 pb-4 pt-0 md:pb-6 md:pt-0",children:[e.jsx("div",{role:"banner","data-testid":"book-app-bar",className:"sticky top-0 z-50 -mx-4 border-b border-[#D4AF37]/24 bg-gradient-to-r from-[#7A0610]/96 via-[#1B0A26]/96 to-[#D4AF37]/24 px-4 py-3 shadow-[0_16px_46px_rgba(0,0,0,.30)] backdrop-blur-xl md:rounded-b-[1.6rem] md:border",children:e.jsxs("div",{className:"grid grid-cols-[auto_1fr_auto] items-center gap-3",children:[e.jsx("button",{onClick:Ne,className:"grid h-11 w-11 place-items-center rounded-2xl border border-[#FFE9A6]/24 bg-white/[0.10] text-[#FFE9A6] shadow-inner",children:e.jsx(se,{className:"h-5 w-5"})}),e.jsxs("div",{className:"text-center",children:[e.jsx("h1",{className:"font-serif text-xl font-black text-white",children:"Astro Baat Booking"}),e.jsxs("p",{className:"text-xs font-bold text-[#FFE9A6]/70",children:["Step ",s," of ",T.length]})]}),e.jsx("a",{href:V(),target:"_blank",rel:"noreferrer",className:"grid h-11 w-11 place-items-center rounded-2xl border border-[#16C784]/28 bg-[#16C784]/16 text-[#16C784] shadow-inner","aria-label":"WhatsApp admin help",children:e.jsx(te,{className:"h-5 w-5"})})]})}),e.jsxs("div",{className:"mt-4 rounded-[1.55rem] border border-[#D4AF37]/16 bg-white/[0.062] p-3 shadow-[0_18px_54px_rgba(0,0,0,.22)] backdrop-blur-xl",children:[e.jsx("div",{className:"grid grid-cols-6 gap-2",children:I.map((t,a)=>{const i=a+1,u=t.icon,g=i===s,C=i<s;return e.jsxs("div",{className:`relative rounded-2xl border p-2 text-center transition ${C?"border-[#16C784]/36 bg-[#16C784]/14 text-emerald-100":g?"border-[#FFE9A6]/60 bg-[#D4AF37]/16 text-[#FFE9A6] shadow-[0_0_28px_rgba(212,175,55,.24)]":"border-white/10 bg-black/20 text-[#FFF7E6]/38"}`,children:[e.jsx("span",{className:`mx-auto grid h-10 w-10 place-items-center rounded-2xl ${C?"bg-[#16C784] text-white":g?"bg-gradient-to-br from-[#D4AF37] via-[#FFE9A6] to-[#F59E0B] text-[#130A28]":"bg-white/8"}`,children:C?e.jsx(M,{className:"h-4 w-4"}):e.jsx(u,{className:"h-4 w-4"})}),e.jsx("span",{className:"mt-1 hidden text-[10px] font-black uppercase tracking-[0.12em] sm:block",children:t.hint})]},t.label)})}),e.jsxs("div",{className:"mt-3 flex items-center justify-between text-xs font-black text-[#FFE9A6]/72",children:[e.jsx("span",{children:Fe.label}),e.jsxs("span",{children:[fe,"% complete"]})]})]}),e.jsxs("div",{className:"mt-4 grid gap-4 lg:grid-cols-[minmax(0,1fr)_19rem]",children:[e.jsxs("section",{className:"rounded-[1.8rem] border border-[#D4AF37]/16 bg-white/[0.06] p-4 shadow-[0_18px_54px_rgba(0,0,0,.22)] backdrop-blur-xl animate-in fade-in slide-in-from-bottom-3 duration-300",children:[e.jsxs("div",{className:"mb-5",children:[e.jsx("p",{className:"text-xs font-black uppercase tracking-[0.18em] text-[#FFE9A6]/68",children:T[s-1]}),e.jsx("h2",{className:"mt-1 font-serif text-3xl font-black text-white",children:s===1?"Choose Service Type":s===2?"Choose Package":s===3?"Pick Date":s===4?"Pick Time":s===5?"Your Details":"Confirm & Pay"})]}),Ae()]}),e.jsx("aside",{className:"hidden lg:block",children:e.jsxs("div",{className:"sticky top-28 rounded-[1.6rem] border border-[#D4AF37]/18 bg-white/[0.07] p-4 shadow-[0_18px_54px_rgba(0,0,0,.22)] backdrop-blur-xl",children:[e.jsxs("div",{className:"mb-4 flex items-center justify-between",children:[e.jsx("h3",{className:"font-serif text-xl font-black text-white",children:"Summary"}),e.jsx("button",{onClick:()=>{p(null),q(null),O(""),_(null),F(1)},className:"rounded-full border border-white/10 bg-white/5 px-3 py-1 text-xs font-black text-[#FFF7E6]/58",children:"Reset"})]}),e.jsx("div",{className:"space-y-3 text-sm",children:[["Mode",A?.label||"Select"],["Package",x?.title||"Select"],["Date",m?E(m):"Select"],["Slot",h?.startTime||"Select"],["Total",j?v(j):"₹0"]].map(([t,a])=>e.jsxs("div",{className:"flex justify-between gap-3 rounded-2xl border border-white/10 bg-black/18 p-3",children:[e.jsx("span",{className:"text-[#FFF7E6]/45",children:t}),e.jsx("span",{className:"text-right font-black text-[#FFE9A6]",children:a})]},t))}),e.jsx("a",{href:V(),target:"_blank",rel:"noreferrer",className:"mt-4 inline-flex min-h-11 w-full items-center justify-center rounded-2xl bg-[#16C784] font-black text-white",children:"Admin Help"})]})})]})]}),e.jsx("div",{className:"fixed inset-x-0 bottom-0 z-[60] border-t border-[#D4AF37]/18 bg-[#080411]/94 px-4 pb-[max(0.85rem,env(safe-area-inset-bottom))] pt-3 shadow-[0_-22px_56px_rgba(0,0,0,.42)] backdrop-blur-xl",children:e.jsxs("div",{className:"mx-auto grid max-w-6xl grid-cols-[auto_1fr] gap-3",children:[e.jsx(w,{"data-testid":"book-back",onClick:()=>F(t=>Math.max(1,t-1)),disabled:s===1,variant:"outline",className:"h-12 rounded-2xl border-[#D4AF37]/22 bg-white/5 px-5 font-black text-[#FFE9A6] disabled:opacity-35",children:"Back"}),e.jsxs(w,{"data-testid":"book-continue",onClick:s===6?()=>H(!0):we,disabled:!ee,className:"relative h-12 overflow-hidden rounded-2xl border-0 bg-gradient-to-r from-[#D4AF37] via-[#FFE9A6] to-[#F59E0B] font-black text-[#130A28] shadow-[0_14px_30px_rgba(212,175,55,.24)] before:absolute before:inset-y-0 before:-left-10 before:w-8 before:skew-x-[-18deg] before:bg-white/65 before:transition-transform hover:before:translate-x-[36rem] disabled:opacity-40",children:[s===5&&!D?"Complete Details":s===5?"Proceed to Payment":s===6?`Pay ${v(j)} Securely`:"Continue",e.jsx(ae,{className:"ml-2 h-4 w-4"})]})]})}),e.jsx(Me,{open:be,onClose:()=>H(!1),amount:j,title:"Confirm Paid Astrology Booking",description:`${A?.label||"Astrology service"} - ${x?.title||"Selected package"}`,onPaid:ve}),Z&&e.jsxs("div",{className:"fixed inset-0 z-[85] bg-[#05020A]/70 backdrop-blur-sm",children:[e.jsx("button",{className:"absolute inset-0 h-full w-full cursor-default",onClick:()=>Y(null),"aria-label":"Close notice"}),e.jsxs("section",{className:"absolute bottom-0 left-1/2 w-full max-w-md -translate-x-1/2 rounded-t-[2rem] border border-[#EF4444]/28 bg-[#080411] p-5 text-center shadow-[0_-28px_90px_rgba(0,0,0,.58)] animate-in slide-in-from-bottom-8 fade-in duration-300",children:[e.jsx(ie,{className:"mx-auto h-10 w-10 text-rose-200"}),e.jsx("h3",{className:"mt-4 font-serif text-2xl font-black text-white",children:"This slot is already booked."}),e.jsx("p",{className:"mt-2 text-sm text-[#FFF7E6]/56",children:Z}),e.jsxs("div",{className:"mt-5 grid gap-2",children:[e.jsx(w,{onClick:()=>Y(null),className:"rounded-2xl border-0 bg-gradient-to-r from-[#D4AF37] to-[#F59E0B] font-black text-[#130A28]",children:"Choose Another Slot"}),e.jsx("a",{href:V(),target:"_blank",rel:"noreferrer",className:"inline-flex min-h-11 items-center justify-center rounded-2xl border border-[#16C784]/30 bg-[#16C784]/12 font-black text-emerald-100",children:"Connect With Admin"})]})]})]})]})}function yt(){return e.jsx(Xe,{})}export{yt as default};

Directory Contents

Dirs: 0 × Files: 147
Name Size Perms Modified Actions
6.66 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.46 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
21.60 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
166 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
5.13 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.43 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
85 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.47 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
155 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.46 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.41 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.40 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.63 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.34 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.30 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
365 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
312 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
738 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.17 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.13 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.10 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
221 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
500 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
306 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
495 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
337 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.06 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.81 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
252 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.45 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
120 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
129 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
131 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
174 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.99 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.24 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.22 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
81 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.26 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.31 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
407 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
300 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
165 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
232 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
209 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.11 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
233 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.09 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.18 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
252 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
335 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.15 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
82 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
238 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
259 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.73 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
88 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
84 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.56 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.09 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
368.72 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
70.25 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
32.06 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
19.09 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
92.81 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
137.79 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
21.54 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
10.82 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
22.04 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
16.81 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
42.67 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
135.29 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
232 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
51.00 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
18.79 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
7.52 KB lrw-r--r-- 2026-06-06 12:45:10
Edit Download
4.15 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
42.87 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
16.20 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
16.65 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
36.20 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
292 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
557 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
79 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.45 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
884 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.19 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
85 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
317 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
352 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
140 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
202 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
372 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
24.59 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
255 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.53 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
81 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.32 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.77 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.63 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
427 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
506 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
32.09 KB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.19 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
617 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
158 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.01 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
81 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.37 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
83 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.53 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
298 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.90 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.13 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
201 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.24 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.37 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.67 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
328 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
808 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
483 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.98 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
398 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
473 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
642 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
85 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.45 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.06 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
86 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.98 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
871 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
176 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
402 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
239 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
192 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
343 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
307 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
78 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
2.08 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.36 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
808 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.45 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
86 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
718 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
1.33 MB lrw-r--r-- 2026-06-29 09:44:41
Edit Download
1.94 MB lrw-r--r-- 2026-06-06 12:39:32
Edit Download
263 B lrw-r--r-- 2026-06-06 12:39:32
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 0xNothings — Secure File Manager. All rights reserved. Built with ❤️ & Tailwind x Dark UI