PageSourceSearch

https://aifer.in/_next/static/chunks/pages/easebuzz-payment/[index]-b7ab59863afbddc9.js

js aifer.in collected 2026-09-24 11:04:38 UTC 49,191 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1390,2520],{66612:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/easebuzz-payment/[index]",function(){return n(36712)}])},8150:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var a=[{imgUrl:"/images/Why aifer Unique/Happiness.jpg",title:"Happiness Project",description:"Aifer is an eco system that helps you to be happy by making you learn and succeed efficiently. We aim to build an echo system which considers the emotional quotient of students along with their academic excellence."},{imgUrl:"/images/Why aifer Unique/One to One.jpg",title:"Personalised Mentoring",description:"Aifer provides online academic mentoring services to individuals who are striving to succeed in their coursework and assessments. Our qualified and experienced faculty members will help you with your studies so that you can achieve enhanced grades."},{imgUrl:"/images/Why aifer Unique/Progress Tracking.jpg",title:"Progress Tracking System",description:"Through the progress tracking system, we do tests to examine, evaluate and analyze your improvement after joining. We always know what your weak areas are and provide more help to you through Aifer's professional teachers to figure out solutions quickly."},{imgUrl:"/images/Why aifer Unique/Listening Officer.jpg",title:"Listening Officer",description:"Listening Officer is an initiative to provide psychological services and counselling for students facing stress, depression and other psychological challenges. The department provides a warm, supportive psychotherapy practice for students, and offers information sessions on how to cope with various life issues, such as stress, anxiety and depression."},{imgUrl:"/images/Why aifer Unique/Online Counselling.jpg",title:"Online Counselling",description:"If needed, students get referred to professional counsellors for online counselling."},{imgUrl:"/images/Why aifer Unique/Focus.jpg",title:"Special Focus on Weak Areas",description:"Our Progress Tracking system is a unique feature that allows us to monitor and provide special focus on weak areas of each student. We provide them with one-on-one assistance in their subjects if needed. This can make a difference in the academic performance of each student as well as promote a learning attitude among them."},{imgUrl:"/images/Why aifer Unique/Podcast.jpg",title:"Aifer Podcasts",description:"Podcasts are telecasted through Aifer Education App to sustain the motivation level of students by encouraging them to follow up on the daily study plan and guide them easily in their learning journey."},{imgUrl:"/images/Why aifer Unique/Discussion Table.jpg",title:"Discussion Tables",description:"Our discussion forums are designed to give you the opportunity to discuss any topic with your peers. These time-limited discussions are arranged for students and are available at different times, depending on your convenience. Aifer Next The program is exclusively for Aifer Alumni and regularly conducts academic sessions, career discussions and interactions with distinguished academics in the field of teaching and research by expert faculties. This helps to guide our Alumni to reach higher levels of expertise and professionalism in their professions."},{imgUrl:"/images/Why aifer Unique/Aifer Next.jpg",title:"Aifer Next",description:"This program is exclusively for Aifer Alumni, which regularly conducts academic sessions and career discussions in the field of teaching and research by expert faculties."},{imgUrl:"/images/Why aifer Unique/Follow Up.jpg",title:"Follow Up",description:"Follow up programs till the students qualify the exam."},{imgUrl:"/images/Why aifer Unique/Exam Helpdesk.jpg",title:"Examination Help Desk",description:"We offer our students the opportunity to get assistance during the application, registration process and examination preparation."}]},25982:function(e,t,n){"use strict";n.d(t,{v:function(){return c}});var a=n(47568),s=n(70655),i=n(92978),r=n(55892),c=function(){var e=(0,a.Z)((function(e){var t,n,a,c,o;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),[4,r.Z.get("/getKey")];case 1:return t=(t=s.sent()).data.key,[4,r.Z.post("/Checkout",e)];case 2:return n=s.sent().data,a=n.id,c={key:t,amount:n.amount,currency:"INR",name:"AIFER EDUCATION PVT LTD",description:e.featured_title,image:"https://play-lh.googleusercontent.com/LO6D3ZFg2LFK6zmef0T-kvmNhrlo4RiTviRMXkRjB4JZO6Bwg4VnjMTsUNz0-bHSgw",order_id:a,callback_url:"".concat(i.Jx,"/PaymentVerification/").concat(e.mobile),prefill:{name:e.name,email:e.email,contact:e.mobile},method:{upi:!0,card:!0,netbanking:!1,wallet:!1,emi:!1,paylater:!1},theme:{color:"#244c9c"}},new window.Razorpay(c).open(),[3,4];case 3:return o=s.sent(),console.log(o),[3,4];case 4:return[2]}}
1))}));return function(t){return e.apply(this,arguments)}}()},36712:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return R},default:function(){return D}});var a=n(85893),s=n(67294),i=n(53300),r=n(49704),c=n.n(r),o=n(9008),l=n.n(o),d=n(9473),u=n(57307),p=n(66751),m=n(47568),h=n(70655),f=n(93730),y=n.n(f),g=n(50067),v=n(55892),x=n(22546),b=(n(30933),n(92),n(68770),n(73103)),_=n(8150),j=(n(25982),n(41664)),N=n.n(j),w=n(52091),S=n(26042),O=n(69396),k=function(){var e=(0,m.Z)((function(e){var t,n,a,s,i,r,c;return(0,h.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,v.Z.post("/EasebuzzCheckout",(0,O.Z)((0,S.Z)({},e),{productinfo:"Easebuzz EMI Test",isEmi:!1}))];case 1:if(t=o.sent(),console.log("response",t),1!==t.data.status||!t.data.access_key)return alert("Payment initialization failed."),[2];if(n=t.data.access_key,a=t.data.merchant_key,s=t.data.env,"function"!==typeof window.EasebuzzCheckout)throw new Error("EasebuzzCheckout SDK not available in window.");return i=new window.EasebuzzCheckout(a,s),r={access_key:n,data:"",onResponse:function(){var n=(0,m.Z)((function(n){var a;return(0,h.__generator)(this,(function(s){switch(s.label){case 0:return console.log("Payment Response:",n),"success"!==n.status?[3,2]:[4,v.Z.post("/EasebuzzPaymentVerification/".concat(e.mobile),{razorpay_order_id:t.data.txn_id})];case 1:return a=s.sent(),console.log("res",a),a&&(window.location.href="/paymentsuccess/".concat(t.data.txn_id)),[3,3];case 2:window.location.href="/paymentfailure",s.label=3;case 3:return[2]}}
1))}));return function(e){return n.apply(this,arguments)}}(),theme:"#9819d2ff"},i.initiatePayment(r),[3,3];case 2:return c=o.sent(),console.log(c),[3,3];case 3:return[2]}}))}));return function(t){return e.apply(this,arguments)}}(),P=function(e){var t=e.courseData,n=e.course_id,i=e.single,r=e.erpUserData,o=e.betteryou,l=(0,s.useState)(!0),u=l[0],p=l[1],f=(0,s.useState)(!1),j=(f[0],f[1],(0,d.v9)((function(e){return e.user.value}))),S=(0,s.useState)(!1),O=S[0],P=S[1],C=(0,s.useState)({}),T=(C[0],C[1],(0,s.useState)()),I=(T[0],T[1]),E=(0,s.useState)(""),R=E[0],D=(E[1],(0,s.useState)(!1)),U=(D[0],D[1]),A=(0,s.useState)(),L=A[0],z=A[1],M=(0,s.useState)(""),F=M[0],q=(M[1],(0,s.useState)()),Z=(q[0],q[1]),W=(0,s.useState)(),B=(W[0],W[1]),V=(0,s.useState)(""),H=V[0],K=(V[1],(0,s.useState)()),J=K[0],G=K[1],X=(0,s.useState)(),Y=X[0],$=X[1],Q=(0,s.useState)(!1),ee=Q[0],te=Q[1],ne=(0,s.useState)(!1),ae=ne[0],se=ne[1],ie=(0,s.useState)(0),re=ie[0],ce=ie[1],oe=(0,s.useState)(),le=oe[0],de=oe[1],ue=(0,s.useState)(),pe=ue[0],me=ue[1],he=(0,s.useState)(!1),fe=he[0],ye=he[1],ge=(0,s.useState)(),ve=ge[0],xe=ge[1],be=function(){var e=(0,m.Z)((function(e){var t,a,s,i,c,l,d,u;return(0,h.__generator)(this,(function(p){switch(p.label){case 0:return p.trys.push([0,4,,5]),e.preventDefault(),!pe&&le.length<6?[2]:j.id?(te(!1),[4,v.Z.get("/getKey")]):[3,2];case 1:return p.sent().data.key,t=j.firebase_uid,a=j.name,s=j.email,i=j.state,c=L.project,l=L.title,d=r.amount,J=Math.round(J),d=Math.round(d),u={payfee:d,firebase_uid:t,name:a,email:s,course_id:n,title:l,payable:J,terms:Y,project:c,state:i,discount:F,promoCode:R,offerType:H,erpCode:re,featured_title:L.featured_title,mobile:j.mobile,pincode:le,payment_link:o?10:null},k(u),new window.Razorpay(options).open(),[3,3];case 2:te(!0),p.label=3;case 3:return[3,5];case 4:return p.sent(),[3,5];case 5:return[2]}}
1))}));return function(t){return e.apply(this,arguments)}}(),_e=function(){var e=(0,m.Z)((function(){var e,t,n,a,s,o;return(0,h.__generator)(this,(function(l){switch(l.label){case 0:return l.trys.push([0,6,,7]),e=localStorage.getItem("URL"),B(e),(t=localStorage.getItem("studentToken"))?(n=c().decode(t)).id?[4,v.Z.get("/getUser/".concat(n.id))]:[3,2]:[3,4];case 1:return a=l.sent().data,a.data[0].mobile==r.mobile_no.replace("-","")&&ye(!0),Object.keys(r).length&&(i?(se(!0),I(r.amount),$("1"),G(r.fee_after_discount)):(p(!1),Z(r.amount),0==r.balance_amount?$("2/2"):$("1/2"),I(r.amount),G(r.amount)),null!=r.discount_code&&"No Offer"!=r.discount&&(P(!0),s=r.discount,s=parseInt(s.split("(")[1]),ce(parseInt(r.discount_code)),G(r.fee_after_discount))),[3,3];case 2:localStorage.removeItem("studentToken"),te(!0),i?(Z(r.amount),$("1"),I(r.amount),G(r.fee_after_discount)):(p(!1),Z(r.amount),$("1/2"),I(r.amount),G(r.fee_after_discount)),l.label=3;case 3:return[3,5];case 4:te(!0),i?(se(!0),I(r.amount),$("1"),G(r.fee_after_discount)):(Z(r.amount),$("1/2"),I(r.amount),G(r.fee_after_discount)),l.label=5;case 5:return[3,7];case 6:return o=l.sent(),console.log(o),[3,7];case 7:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}();(0,s.useEffect)((function(){_e(),t.length>0?(z(t[0]),U(!1)):U(!0);var e=localStorage.getItem("URL");B(e)}),[fe]);var je=function(e){var t=e.target.value;if(""===t||t.match(/^\d*$/)&&t.length<=6){var n={method:"get",url:"https://api.postalpincode.in/pincode/".concat(t)};v.Z.request(n).then((function(e){"Success"===e.data[0].Status?(me(!0),e.data[0].PostOffice[0].District&&xe(e.data[0].PostOffice[0].District)):me(!1)})),de(t)}};return(0,a.jsxs)("div",{className:" padd pb--100",style:{minHeight:"70vh"},children:[ee&&(0,a.jsx)(b.default,{onClose:function(){}}),!fe&&(0,a.jsx)("div",{className:"innerContainer",children:(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12 mt-5",children:(0,a.jsxs)("h5",{children:["The payment is not associated with the phone number"," ",(0,a.jsxs)("strong",{children:["(",j.mobile,")"]}),". It seems you may have used different login details. If you have another Aifer-registered mobile number, please try logging in with those, or contact the sales team for assistance."]})})})}),fe&&(0,a.jsxs)("div",{id:"payment-selection",className:"".concat(y().paymentSelection," "),children:[(0,a.jsx)("div",{className:"".concat(y().pageIntro),children:(0,a.jsx)("div",{className:"innerContainer ",children:(0,a.jsx)("div",{className:"row align-items-center justify-content-center",children:(0,a.jsx)("div",{className:"col-lg-10",children:(0,a.jsxs)("div",{className:"text-container text-center",children:[(0,a.jsx)("h2",{className:"title--h3",children:t&&0==t.length?"This course has expired.":" Pay now and get access to your\n                    ".concat(t[0].featured_title," instantly")}),t&&0==t.length&&(0,a.jsx)(N(),{href:"tel:+919339100300",children:"Need Help?"})]})})})})}),t&&t.length>0&&(0,a.jsx)("div",{className:"".concat(y().paymentSelectionSection),children:(0,a.jsx)("div",{className:"innerContainer",children:(0,a.jsxs)("div",{className:"row",children:[(0,a.jsx)("div",{className:"col-md-5",children:(0,a.jsx)("div",{className:"".concat(y().specialitySection," size--95"),children:(0,a.jsx)(x.tq,{modules:[g.W_,g.tl,g.pt],spaceBetween:30,slidesPerView:1,loop:!0,speed:800,autoplay:{delay:2500,disableOnInteraction:!1},className:"".concat(y().specialitySwiper," "),children:_.z.map((function(e,t){return(0,a.jsx)(x.o5,{children:(0,a.jsxs)("div",{className:"".concat(y().feature),children:[(0,a.jsx)("div",{className:"".concat(y().featureImg),children:(0,a.jsx)("img",{src:e.imgUrl,className:"img-fluid",alt:"Aifer's Unique Featuers"})}),(0,a.jsxs)("div",{className:"".concat(y().featureDetails),children:[(0,a.jsx)("h4",{className:"title--h5",children:e.title}),(0,a.jsx)("p",{className:"regular-text",children:e.description})]})]})},t)}))})})}),(0,a.jsx)("div",{className:"col-md-7",children:(0,a.jsxs)("div",{className:"".concat(y().selectPayment),children:[i?(0,a.jsx)("div",{className:"".concat(y().singlePay," mb-3 justify-content-center"),children:(0,a.jsx)("a",{className:"".concat(y().singleButton," ").concat(u&&y().active," ").concat(y().tab1," ").concat(ae&&"rounded-pill","  "),children:"Complete Your Purchase"})}):(0,a.jsx)("div",{children:(0,a.jsx)("ul",{className:"".concat(y().paymentTabs,"  nav nav-pills mb-3 justify-content-center"),children:!ae&&(0,a.jsx)("li",{className:"nav-item",role:"presentation",children:(0,a.jsx)("a",{className:"".concat(y().navLink," nav-link rounded-pill ").concat(y().active,"  ").concat(y().tab2),role:"tab",children:"Term Payment"})})})}),(0,a.jsxs)("div",{className:"".concat(y().paymentOptionsTab," tab-content"),id:"pills-tabContent",children:[(0,a.jsx)("div",{className:"".concat(u&&"active show"," tab-pane fade   "),children:(0,a.jsxs)("div",{className:"".concat(y().paymentOption),children:[(0,a.jsx)("div",{className:"head mt--20 d-flex flex-column justify-content-between",children:i?null:(0,a.jsxs)("h3",{className:"title--h4",style:{display:"flex",alignItems:"center"},children:["One Term Payment",O?null:(0,a.jsx)("span",{className:"".concat(y().offerDiv),children:"5% OFF!"})]})}),(0,a.jsxs)("form",{onSubmit:be,method:"POST",children:[(0,a.jsx)("div",{className:"".concat(i?y().singlePayOption:null),children:(0,a.jsx)("div",{className:"".concat(i?y().singleDiv:y().options," "),children:(0,a.jsxs)("div",{className:"".concat(y().option," option-1  ").concat(y().selected," position-relative"),children:[(0,a.jsx)("p",{className:"regular-text",children:"Pay once and avoid interruptions in your preparations"}),(0,a.jsxs)("div",{className:"".concat(y().selectNow," d-flex justify-content-between align-items-center form-check"),children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("input",{className:"form-check-input",id:"one-time",type:"radio",name:"exampleRadios",value:"option1",checked:!0}),(0,a.jsxs)("label",{className:"".concat(y().formCheckLabel),htmlFor:"exampleRadios1",children:["Pay :"," ",(0,a.jsxs)("span",{children:["\u20b9",Math.round("No Offer"!==r.discount?r.fee_after_discount:r.amount)]})]})]}),O&&(0,a.jsxs)("div",{className:"d-flex justify-content-center align-items-center",children:[(0,a.jsx)("lord-icon",{src:"https://cdn.lordicon.com/qrbokoyz.json",trigger:"loop",colors:"primary:#121331,secondary:#08a88a",state:"loop",style:{width:"50px",height:"50px"}}),(0,a.jsx)("p",{className:"btn btn btn-sm btn-success rounded-pill",children:"Offer applied"})]})]})]})})}),(0,a.jsx)("div",{className:"".concat(y().submitContainer),children:(0,a.jsxs)("div",{className:"row align-items-center",children:[(0,a.jsxs)("div",{className:"col-12 col-md-6 d-flex align-items-center",children:[(0,a.jsx)("input",{type:"number",className:"w-sm-50 mb
1-2 mx-2",placeholder:"Enter pincode",required:!0,value:le,onChange:je,min:0,max:999999}),le&&6==le.length&&!0===pe&&(0,a.jsx)(w.FJM,{color:"green",size:"20",className:"mx-2"}),(0,a.jsxs)("span",{className:"regular-text",children:[" ",ve]})]}),le&&6==le.length&&0==pe&&(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)("p",{className:"text-danger ps-2",children:"Please enter a valid indian pincode."})}),(0,a.jsx)("div",{className:"col-sm-12",children:(0,a.jsxs)("div",{className:"form-check",children:[(0,a.jsx)("input",{className:"form-check-input",type:"radio",name:"flexRadioDefault",id:"flexRadioDefault1",required:!0}),(0,a.jsx)("label",{className:"".concat(y().formCheckLabel),htmlFor:"flexRadioDefault1",children:"I do accept the Terms & Conditions of Aifer Education Pvt Ltd."})]})}),(0,a.jsx)("div",{className:"col-sm-12 ".concat(y().submitNow),children:(0,a.jsx)("button",{className:"gradientbtn",type:"submit",children:"Proceed to pay"})})]})})]})]})}),(0,a.jsx)("div",{className:"".concat(!u&&"active show"," tab-pane fade   "),children:(0,a.jsx)("div",{className:"".concat(y().paymentOption),children:(0,a.jsxs)("form",{onSubmit:be,method:"POST",children:[(0,a.jsxs)("div",{className:"".concat(y().options),children:[(0,a.jsxs)("div",{className:"".concat(y().option," option-2  ").concat(y().selected," position-relative"),children:[(0,a.jsx)("h5",{className:"title--h5",children:"Current Payment"}),(0,a.jsxs)("div",{className:"form-check select-now my-4 d-flex justify-content-between",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("input",{className:"form-check-input",id:"two-time-1",type:"radio",name:"exampleRadios",value:"option2",checked:!0}),(0,a.jsxs)("label",{className:"".concat(y().formCheckLabel),htmlFor:"exampleRadios2",children:["Pay :"," ",(0,a.jsxs)("span",{children:["\u20b9",Math.round(r.amount)]})]})]}),O&&(0,a.jsxs)("div",{className:"d-flex justify-content-center align-items-center",children:[(0,a.jsx)("lord-icon",{src:"https://cdn.lordicon.com/qrbokoyz.json",trigger:"loop",colors:"primary:#121331,secondary:#08a88a",state:"loop",style:{width:"50px",height:"50px"}}),(0,a.jsx)("p",{className:"btn btn btn-sm btn-success rounded-pill",children:"Offer applied"})]})]})]}),(0,a.jsxs)("div",{className:"".concat(y().option," option-3 "),children:[(0,a.jsx)("h5",{className:"title--h5",children:"Outstanding Payment"}),(0,a.jsx)("div",{className:"".concat(y().selectNow," form-check"),children:(0,a.jsxs)("label",{className:"form-check-label",htmlFor:"exampleRadios3",children:["Pay :"," ",(0,a.jsxs)("span",{children:["\u20b9"," ",Math.round(r.balance_amount)]})]})})]})]}),(0,a.jsx)("div",{className:"".concat(y().submitContainer),children:(0,a.jsxs)("div",{className:"row align-items-center",children:[(0,a.jsxs)("div",{className:"col-12 col-md-6 d-flex align-items-center",children:[(0,a.jsx)("input",{type:"number",className:"w-sm-50 mb-2 mx-2",placeholder:"Enter pincode",required:!0,value:le,onChange:je,min:0,max:999999}),le&&6==le.length&&!0===pe&&(0,a.jsx)(w.FJM,{color:"green",size:"20",className:"mx-2"}),(0,a.jsxs)("span",{className:"regular-text",children:[" ",ve]})]}),le&&le.length<=6&&!1===pe&&(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)("p",{className:"text-danger ps-2",children:"Please enter a valid indian pincode."})}),(0,a.jsx)("div",{className:"col-12 text-left",children:(0,a.jsxs)("div",{className:"form-check",children:[(0,a.jsx)("input",{className:"form-check-input",type:"radio",name:"flexRadioDefault",id:"flexRadioDefault1",required:!0}),(0,a.jsx)("label",{className:"".concat(y().formCheckLabel),htmlFor:"flexRadioDefault1",children:"I do accept the Terms & Conditions of Aifer Education Pvt Ltd."})]})}),(0,a.jsx)("div",{className:"col-sm-12 ".concat(y().submitNow),children:(0,a.jsx)("button",{className:"gradientbtn",type:"submit",children:"Proceed to pay"})})]})})]})})})]})]})})]})})})]})]})},C=n(4298),T=n.n(C),I=n(14924),E=function(e){var t=e.courseData,n=e.course_id,i=e.single,r=e.erpUserData,o=(0,s.useState)(!0),l=o[0],u=o[1],p=(0,s.useState)(!1),f=p[0],j=p[1],S=(0,d.v9)((function(e){return e.user.value}
1)),O=(0,s.useState)(!1),P=O[0],C=O[1],T=(0,s.useState)({}),E=T[0],R=T[1],D=(0,s.useState)(),U=D[0],A=D[1],L=(0,s.useState)(),z=L[0],M=L[1],F=(0,s.useState)(""),q=F[0],Z=(F[1],(0,s.useState)(!1)),W=(Z[0],Z[1]),B=(0,s.useState)(),V=B[0],H=B[1],K=(0,s.useState)(!1),J=K[0],G=(K[1],(0,s.useState)("")),X=G[0],Y=G[1],$=(0,s.useState)(),Q=$[0],ee=$[1],te=(0,s.useState)(),ne=(te[0],te[1]),ae=(0,s.useState)(""),se=ae[0],ie=ae[1],re=(0,s.useState)(),ce=re[0],oe=re[1],le=(0,s.useState)(),de=le[0],ue=le[1],pe=(0,s.useState)(!1),me=pe[0],he=pe[1],fe=(0,s.useState)(!1),ye=fe[0],ge=fe[1],ve=(0,s.useState)(0),xe=ve[0],be=ve[1],_e=(0,s.useState)(!1),je=_e[0],Ne=_e[1],we=(0,s.useState)(),Se=we[0],Oe=we[1],ke=(0,s.useState)(),Pe=ke[0],Ce=ke[1],Te=(0,s.useState)(),Ie=Te[0],Ee=Te[1],Re=(0,s.useState)(),De=Re[0],Ue=Re[1],Ae=function(){var e=(0,m.Z)((function(e){var a,s,i,r,c,o,l,d,u,p;return(0,h.__generator)(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),e.preventDefault(),Ie?S.id?(he(!1),[4,v.Z.get("/getKey")]):[3,2]:[2];case 1:return m.sent().data.key,a=S.firebase_uid,s=S.name,i=S.email,r=S.state,c=V.project,o=V.title,P||"Selfline"===t[0].mode?P&&ye?l=z:P&&!ye?"1/2"==de?l=je:(d=t[0].first_pay+t[0].second_pay-(t[0].first_pay+t[0].second_pay)*E.percentage_single/100,d=Math.round(d),l=d):l=U:l=J?Q:U,P||"1"!=de||t[0].erp_offer_code&&(u=t[0].erp_offer_code),p={payfee:l,firebase_uid:a,name:s,email:i,course_id:n,title:o,payable:ce,terms:de,project:c,state:r,discount:X,promoCode:q,offerType:se,erpCode:xe,featured_title:V.featured_title,mobile:S.mobile},(0,I.Z)(p,"erpCode",u||xe),(0,I.Z)(p,"pincode",Pe),k(p),new window.Razorpay(options).open(),[3,3];case 2:he(!0),m.label=3;case 3:return[3,5];case 4:return m.sent(),[3,5];case 5:return[2]}}
1))}));return function(t){return e.apply(this,arguments)}}(),Le=function(){var e=(0,m.Z)((function(e){var n,a,s,i,r;return(0,h.__generator)(this,(function(c){try{"send"!==localStorage.getItem("enroll-mail")&&(n=S.name,a=S.email,s=location.pathname,i=t[0].featured_title,r={name:n,email:a,URL:s,userId:e,subject:i},v.Z.post("/sendEnrollEmail",r),localStorage.setItem("enroll-mail","send"))}catch(o){}return[2]}))}));return function(t){return e.apply(this,arguments)}}(),ze=function(){var e=(0,m.Z)((function(){var e,n,a,s,i,r,o,l,d;return(0,h.__generator)(this,(function(u){switch(u.label){case 0:return u.trys.push([0,6,,7]),e=localStorage.getItem("URL"),ne(e),(n=localStorage.getItem("studentToken"))?(a=c().decode(n)).id?(Le(a.id),[4,v.Z.get("/checkOffer/".concat(a.id))]):[3,2]:[3,4];case 1:return(s=u.sent().data).success?(i=s.data[0],R(i),C(!0),r=t[0].first_pay+t[0].second_pay,l=r*((100-i.percentage_single)/100),"Livline"==t[0].mode?(o=Math.round(l),l=.6*o,l=Math.round(l),Ne(l),Y(i.percentage_single),be(i.erp_code_single)):(ge(!0),o=r-r*i.percentage_single/100,o=Math.round(o),Y(i.percentage_single),be(i.erp_code_single)),M(o),A(o),oe(o),ue("1"),ie(i.title)):(C(!1),"Selfline"==t[0].mode?(ge(!0),A(t[0].fee),ue("1"),oe(t[0].fee)):(ee(t[0].fee),ue("1"),A(t[0].fee),oe(t[0].fee))),[3,3];case 2:localStorage.removeItem("studentToken"),he(!0),"Selfline"==t[0].mode?(ge(!0),A(t[0].fee),ue("1"),oe(t[0].fee)):(ee(t[0].fee),ue("1"),A(t[0].fee),oe(t[0].fee)),u.label=3;case 3:return[3,5];case 4:he(!0),"Selfline"==t[0].mode?(ge(!0),A(t[0].fee),ue("1"),oe(t[0].fee)):(ee(t[0].fee),ue("1"),A(t[0].fee),oe(t[0].fee)),u.label=5;case 5:return[3,7];case 6:return d=u.sent(),console.log(d),[3,7];case 7:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}();(0,s.useEffect)((function(){t.length>0?(ze(),H(t[0]),W(!1)):W(!0);var e=localStorage.getItem("URL");ne(e)}),[]);var Me=function(){if(P){u(!0),ue("1");var e=t[0].first_pay+t[0].second_pay-(t[0].first_pay+t[0].second_pay)*E.percentage_single/100;e=Math.round(e),oe(e),Y(E.percentage_single),be(E.erp_code_single)}else u(!0),A(t[0].fee),oe(t[0].fee),ue("1")},Fe=function(e){var t=e.target.value;if(""===t||t.match(/^\d*$/)&&t.length<=6){var n={method:"get",url:"https://api.postalpincode.in/pincode/".concat(t)};v.Z.request(n).then((function(e){"Success"===e.data[0].Status?(Ee(!0),e.data[0].PostOffice[0].District&&Ue(e.data[0].PostOffice[0].District)):Ee(!1)})),Ce(t)}};return(0,a.jsxs)("div",{className:" padd pb--100",children:[me&&(0,a.jsx)(b.default,{onClose:function(){he(!1)}}),0==r.status?(0,a.jsx)("div",{className:"innerContainer",children:(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12 mt-5",children:(0,a.jsx)("h4",{className:"title--h4",children:"Invalid payment link .Please contact the sales team for assistance."})})})}):(0,a.jsxs)("div",{id:"payment-selection",className:"".concat(y().paymentSelection," "),children:[(0,a.jsx)("div",{className:"".concat(y().pageIntro),children:(0,a.jsx)("div",{className:"innerContainer ",children:(0,a.jsx)("div",{className:"row align-items-center justify-content-center",children:(0,a.jsx)("div",{className:"col-lg-10",children:(0,a.jsxs)("div",{className:"text-container text-center",children:[(0,a.jsx)("h2",{className:"title--h3",children:t&&0==t.length?"This course has expired.":" Pay now and get access to your\n                    ".concat(t[0].featured_title," instantly")}),t&&0==t.length&&(0,a.jsx)(N(),{href:"tel:+919339100300",children:"Need Help?"})]})})})})}),t&&t.length>0&&(0,a.jsx)("div",{className:"".concat(y().paymentSelectionSection),children:(0,a.jsx)("div",{className:"innerContainer",children:(0,a.jsxs)("div",{className:"row",children:[(0,a.jsx)("div",{className:"col-md-5",children:(0,a.jsx)("div",{className:"".concat(y().specialitySection," size--95"),children:(0,a.jsx)(x.tq,{modules:[g.W_,g.tl,g.pt],spaceBetween:30,slidesPerView:1,loop:!0,speed:800,autoplay:{delay:2500,disableOnInteraction:!1},className:"".concat(y().specialitySwiper," "),children:_.z.map((function(e,t){return(0,a.jsx)(x.o5,{children:(0,a.jsxs)("div",{className:"".concat(y().feature),children:[(0,a.jsx)("div",{className:"".concat(y().featureImg),children:(0,a.jsx)("img",{src:e.imgUrl,className:"img-fluid",alt:"Aifer's Unique Featuers"})}),(0,a.jsxs)("div",{className:"".concat(y().featureDetails),children:[(0,a.jsx)("h4",{className:"title--h5",children:e.title}),(0,a.jsx)("p",{className:"regular-text",children:e.description})]})]})},t)}))})})}),(0,a.jsx)("div",{className:"col-md-7",children:(0,a.jsxs)("div",{className:"".concat(y().selectPayment),children:[i?(0,a.jsx)("div",{className:"".concat(y().singlePay," mb-3 justify-content-center"),children:(0,a.jsx)("button",{onClick:function(){return Me()},className:"".concat(y().singleButton," ").concat(l&&y().active," ").concat(y().tab1," ").concat(ye&&"rounded-pill","  "),type:"button",children:"Complete Your Purchase"})}):(0,a.jsx)("div",{children:(0,a.jsxs)("ul",{className:"".concat(y().paymentTabs,"  nav nav-pills mb-3 justify-content-center"),children:[(0,a.jsx)("li",{className:"nav-item",role:"presentation",children:(0,a.jsx)("button",{onClick:function(){return Me()},className:"".concat(y().navLink," nav-link  ").concat(l&&y().active," ").concat(y().tab1," ").concat(ye&&"rounded-pill","  "),type:"button",children:"One Term Payment"})}),!ye&&(0,a.jsx)("li",{className:"nav-item",role:"presentation",children:(0,a.jsx)("button",{className:"".concat(y().navLink," nav-link  ").concat(!l&&y().active,"  ").concat(y().tab2),onClick:function(){return function(){if(P){u(!1),j(!0);var e=t[0].first_pay+t[0].second_pay-(t[0].first_pay+t[0].second_pay)*E.percentage/100;e=Math.round(e),"KTET"===t[0].project||"SOE"===t[0].project?(Oe(.5*e),Ne(Math.round(.5*e))):(Oe(.4*e),Ne(Math.round(.6*e))),oe(e),ue("1/2"),Y(E.percentage),be(E.erp_code)}else u(!1),j(!0),A(t[0].first_pay),oe(t[0].first_pay+t[0].second_pay),ue("1/2")}()},type:"button",role:"tab",children:"Two Term Payment"})})]})}),(0,a.jsxs)("div",{className:"".concat(y().paymentOptionsTab," tab-content"),id:"pills-tabContent",children:[(0,a.jsx)("div",{className:"".concat(l&&"active show"," tab-pane fade   "),children:(0,a.jsxs)("div",{className:"".concat(y().paymentOption),children:[(0,a.jsx)("div",{className:"head mt--20 d-flex flex-column justify-content-between",children:i?null:(0,a.jsxs)("h3",{className:"title--h4",style:{display:"flex",alignItems:"center"},children:["One Term Payment","Selfline"==t[0].mode||P?null:(0,a.jsx)("span",{className:"".concat(y().offerDiv),children:"5% OFF!"})]})}),(0,a.jsxs)("form",{onSubmit:Ae,method:"POST",children:[(0,a.jsx)("div",{className:"".concat(i?y().singlePayOption:null),children:(0,a.jsx)("div",{className:"".concat(i?y().singleDiv:y().options," "),children:(0,a.jsxs)("div",{className:"".concat(y().option," option-1  ").concat(y().selected," position-relative"),children:[(0,a.jsx)("p",{className:"regular-text",children:"Pay once and avoid interruptions in your preparations"}),(0,a.jsxs)("div",{className:"".concat(y().selectNow," d-flex justify-content-between align-items-center form-check"),children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("input",{className:"form-check-input",id:"one-time",type:"radio",name:"exampleRadios",value:"option1",checked:!0}),(0,a.jsxs)("label",{className:"".concat(y().formCheckLabel),htmlFor:"exampleRadios1",children:["Pay :"," ",(0,a.jsxs)("span",{children:["\u20b9","Selfline"==t[0].mode||P?U:Q]})]})]}),P&&(0,a.jsxs)("div",{className:"d-flex justify-content-center align-items-center",children:[(0,a.jsx)("lord-icon",{src:"https://cdn.lordicon.com/qrbokoyz.json",trigger:"loop",colors:"primary:#121331,secondary:#08a88a",state:"loop",style:{width:"50px",height:"50px"}}),(0,a.jsx)("p",{className:"btn btn btn-sm btn-success rounded-pill",children:"Offer applied"})]})]})]})})}),(0,a.jsx)("div",{className:"".concat(y().submitContainer),children:(0,a.jsxs)("div",{className:"row align-items-center",children:[(0,a.jsxs)("div",{className:"col-12 d-flex align-items-center",children:[(0,a.jsx)("input",{type:"number",className:"w-50 mb-2 mx-2",placeholder:"Enter pincode",required:!0,value:Pe,onChange:Fe,min:0,max:999999}),Pe&&6==Pe.length&&!0===Ie&&(0,a.jsx)(w.FJM,{color:"green",size:"20",className:"mx-2"}),(0,a.jsxs)("span",{className:"regular-text",children:[" ",De]})]}),Pe&&Pe.length<=6&&!1===Ie&&(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)("p",{className:"text-danger ps-2",children:"Please enter a valid indian pincode."})}),(0,a.jsx)("br",{}),(0,a.jsx)("div",{className:"col-sm-12",children:(0,a.jsxs)("div",{className:"form-check",children:[(0,a.jsx)("input",{className:"form-check-input",type:"radio",name:"flexRadioDefault",id:"flexRadioDefault1",required:!0}),(0,a.jsx)("label",{className:"".concat(y().formCheckLabel),htmlFor:"flexRadioDefault1",children:"I do accept the Terms & Conditions of Aifer Education Pvt Ltd."})]})}),(0,a.jsx)("div",{className:"col-sm-12 ".concat(y().submitNow),children:(0,a.jsx)("button",{className:"gradientbtn",type:"submit",children:"Proceed to pay"})})]})})]})]})}),(0,a.jsx)("div",{className:"".concat(!l&&"active show"," tab-pane fade   "),children:(0,a.jsxs)("div",{className:"".concat(y().paymentOption),children:[(0,a.jsx)("div",{className:"head mt--20",children:(0,a.jsx)("h3",{className:"title--h4",children:"Two Term Payment"})}),(0,a.jsxs)("form",{onSubmit:Ae,method:"POST",children:[(0,a.jsxs)("div",{className:"".concat(y().options),children:[(0,a.jsxs)("div",{className:"".concat(y().option," option-2  ").concat(f&&y().selected," position-relative"),children:[(0,a.jsx)("h5",{className:"title--h5",children:"1st Term Payment"}),(0,a.jsxs)("div",{className:"form-check select-now my-4 d-flex justify-content-between",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("input",{className:"form-check-input",id:"two-time-1",type:"radio",name:"exampleRadios",value:"option2",checked:f}),(0,a.jsxs)("label",{className:"".concat(y().formCheckLabel),htmlFor:"exampleRadios2",children:["Pay :"," ",(0,a.jsxs)("span",{children:["\u20b9",P?je:t[0].first_pay," "]})]})]}),P&&(0,a.jsxs)("div",{className:"d-flex justify-content-center align-items-center",children:[(0,a.jsx)("lord-icon",{src:"https://cdn.lordicon.com/qrbokoyz.json",trigger:"loop",colors:"primary:#121331,secondary:#08a88a",state:"loop",style:{width:"50px",height:"50px"}}),(0,a.jsx)("p",{className:"btn btn btn-sm btn-success rounded-pill",children:"Offer applied"})]})]})]}),(0,a.jsxs)("div",{className:"".concat(y().option," option-3 "),children:[(0,a.jsx)("h5",{className:"title--h5",children:"2nd Term Payment"}),(0,a.jsx)("div",{className:"".concat(y().selectNow," form-check"),children:(0,a.jsxs)("label",{className:"form-check-label",htmlFor:"exampleRadios3",children:["Pay :"," ",(0,a.jsxs)("span",{children:["\u20b9"," ",P?Math.round(Se):t[0].second_pay," "]})]})})]})]}),(0,a.jsx)("div",{className:"".concat(y().submitContainer),children:(0,a.jsxs)("div",{className:"row align-items-center",children:[(0,a.jsxs)("div",{className:"col-12 col-md-6 d-flex align-items-center",children:[(0,a.jsx)("input",{type:"number",className:"w-sm-50 mb
1-2 mx-2",placeholder:"Enter pincode",required:!0,value:Pe,onChange:Fe,min:0,max:999999}),Pe&&6==Pe.length&&!0===Ie&&(0,a.jsx)(w.FJM,{color:"green",size:"24",className:"mx-2"}),(0,a.jsxs)("span",{className:"regular-text",children:[" ",De]})]}),Pe&&Pe.length<=6&&!1===Ie&&(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)("p",{className:"text-danger ps-2",children:"Please enter a valid indian pincode."})}),(0,a.jsx)("div",{className:"col-12 text-left",children:(0,a.jsxs)("div",{className:"form-check",children:[(0,a.jsx)("input",{className:"form-check-input",type:"radio",name:"flexRadioDefault",id:"flexRadioDefault1",required:!0}),(0,a.jsx)("label",{className:"".concat(y().formCheckLabel),htmlFor:"flexRadioDefault1",children:"I do accept the Terms & Conditions of Aifer Education Pvt Ltd."})]})}),(0,a.jsx)("div",{className:"col-sm-12 ".concat(y().submitNow),children:(0,a.jsx)("button",{className:"gradientbtn",type:"submit",children:"Proceed to pay"})})]})})]})]})})]})]})})]})})})]})]})},R=!0,D=function(e){var t=e.data,n=e.course_id,r=e.single,o=e.erpUserData,m=(0,s.useState)(),h=(m[0],m[1]),f=(0,s.useState)(!1),y=f[0],g=f[1];return(0,d.I0)()((0,u.Mi)()),(0,s.useEffect)((function(){var e=localStorage.getItem("studentToken");e&&(c().decode(e)?h(!0):localStorage.removeItem("studentToken"))}),[]),(0,s.useEffect)((function(){console.log("erpUserData",o),window.location.href.includes("Online%20Psychological%20Service%20Full")&&"Online Psychological Service"===(null===o||void 0===o?void 0:o.program)&&g(!0)}),[o]),console.log("betteryou",y),(0,a.jsxs)("div",{children:[(0,a.jsxs)(l(),{children:[(0,a.jsx)("title",{children:"Online Coaching for UGC NTA NET 2023|Live and Recorded Classes|Aifer Learning App"}),(0,a.jsx)("meta",{})]}),(0,a.jsx)(p.Z,{}),Object.keys(o).length>0&&o.status?(0,a.jsx)(P,{courseData:t.data,course_id:n,single:r,erpUserData:o,betteryou:y}):(0,a.jsx)(E,{courseData:t.data,course_id:n,single:r,erpUserData:o}),(0,a.jsx)(i.Z,{}),(0,a.jsx)(T(),{src:"https://ebz-static.s3.ap-south-1.amazonaws.com/easecheckout/v2.0.0/easebuzz-checkout-v2.min.js",strategy:"afterInteractive"})]})}},93730:function(e){e.exports={paymentSelection:"payment_paymentSelection__tbVQa",pageIntro:"payment_pageIntro__RIDNM","intro-bg":"payment_intro-bg__UCDgR",paymentSelectionSection:"payment_paymentSelectionSection__BTZLr",specialitySection:"payment_specialitySection__oQr0n",specialitySwiper:"payment_specialitySwiper__eaPce",feature:"payment_feature__XocLZ",featureImg:"payment_featureImg__HQ5w9",featureDetails:"payment_featureDetails__ne5it","speciality-pagination":"payment_speciality-pagination__Nm9Yq","swiper-pagination-bullet":"payment_swiper-pagination-bullet__OPvMJ","swiper-pagination-bullet-active":"payment_swiper-pagination-bullet-active__mXJGR",selectPayment:"payment_selectPayment__LghEG",paymentTabs:"payment_paymentTabs__U5Anv",navLink:"payment_navLink__qKVpf",tab1:"payment_tab1__XSdAx",tab2:"payment_tab2__zTyM0",active:"payment_active__9Zqbj",paymentOptionsTab:"payment_paymentOptionsTab__mq7UA",paymentOption:"payment_paymentOption__DML66",options:"payment_options__Z1vEw",option:"payment_option__s3ZUq",selectNow:"payment_selectNow__adyy6",formCheckLabel:"payment_formCheckLabel__KMvGb",selected:"payment_selected__yoOF1",promo:"payment_promo___uxIt",promoImg:"payment_promoImg__illOr",promoCode:"payment_promoCode__T69Hy",promoCodeForm:"payment_promoCodeForm__AwvLx",applyCode:"payment_applyCode__5XqU_",applySuccsess:"payment_applySuccsess__AoqlL",applyNotSuccess:"payment_applyNotSuccess__hyZ0s",submitContainer:"payment_submitContainer__pEUSk",submitNow:"payment_submitNow__UmnfA",paymenSuccessSection:"payment_paymenSuccessSection__UHk1F",invoice:"payment_invoice__GRzhj",thanksContainer:"payment_thanksContainer__4hx_c",thanks:"payment_thanks__OJStZ",invoiceButtons:"payment_invoiceButtons__3L84H",letsStartStudy:"payment_letsStartStudy__RtdEK",studyOption:"payment_studyOption__bmsPa",optionImg:"payment_optionImg__RCXGy",letsgo:"payment_letsgo__3V96u",lmsLink:"payment_lmsLink__Oszjk",downloadButtonsContainer:"payment_downloadButtonsContainer__u8Gv6",buttonsContainer:"payment_buttonsContainer__0YbSM",badge:"payment_badge__3GEuW",playStore:"payment_playStore__nRo8j"}},92:function(){},68770:function(){},73380:function(e,t,n){"use strict";var a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},a.apply(this,arguments)},s=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var s=Object.getOwnPropertyDescriptor(t,n);
1s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,s)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&s(t,e,n);return i(t,e),t},c=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var s=0;for(a=Object.getOwnPropertySymbols(e);s<a.length;s++)t.indexOf(a[s])<0&&Object.prototype.propertyIsEnumerable.call(e,a[s])&&(n[a[s]]=e[a[s]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(67294)),l=n(96657),d=(0,n(60010).createAnimation)("ClipLoader","0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}","clip");t.default=function(e){var t=e.loading,n=void 0===t||t,s=e.color,i=void 0===s?"#000000":s,r=e.speedMultiplier,u=void 0===r?1:r,p=e.cssOverride,m=void 0===p?{}:p,h=e.size,f=void 0===h?35:h,y=c(e,["loading","color","speedMultiplier","cssOverride","size"]),g=a({background:"transparent !important",width:(0,l.cssValue)(f),height:(0,l.cssValue)(f),borderRadius:"100%",border:"2px solid",borderTopColor:i,borderBottomColor:"transparent",borderLeftColor:i,borderRightColor:i,display:"inline-block",animation:"".concat(d," ").concat(.75/u,"s 0s infinite linear"),animationFillMode:"both"},m);return n?o.createElement("span",a({style:g},y)):null}},60010:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAnimation=void 0;t.createAnimation=function(e,t,n){var a="react-spinners-".concat(e,"-").concat(n);if("undefined"==typeof window||!window.document)return a;var s=document.createElement("style");document.head.appendChild(s);var i=s.sheet,r="\n    @keyframes ".concat(a," {\n      ").concat(t,"\n    }\n  ");return i&&i.insertRule(r,0),a}},96657:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cssValue=t.parseLengthAndUnit=void 0;var n={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function a(e){if("number"===typeof e)return{value:e,unit:"px"};var t,a=(e.match(/^[0-9.]*/)||"").toString();t=a.includes(".")?parseFloat(a):parseInt(a,10);var s=(e.match(/[^0-9]*$/)||"").toString();return n[s]?{value:t,unit:s}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}t.parseLengthAndUnit=a,t.cssValue=function(e){var t=a(e);return"".concat(t.value).concat(t.unit)}},8702:function(e,t,n){(()=>{var e={184:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var r=s.apply(null,n);r&&e.push(r)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var c in n)a.call(n,c)&&n[c]&&e.push(c)}}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(n=function(){return s}.apply(t,[]))||(e.exports=n)}()},28:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(81),s=n.n(a),i=n(645),r=n.n(i)()(s());r.push([e.id,".vi {\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  box-sizing: border-box;\n  position: absolute;\n  color: transparent;\n  background: transparent;\n  caret-color: transparent;\n  outline: none;\n  border: 0 none transparent;\n}\n\n.vi::-ms-reveal,\n.vi::-ms-clear {\n  display: none;\n}\n\n.vi::selection {\n  background: transparent;\n}\n\n/* :where() gives the styles specificity 0, which makes them overridable */\n:where(.vi__container) {\n  position: relative;\n  display: flex;\n  gap: 8px;\n  height: 50px;\n  width: 300px;\n}\n\n:where(.vi__character) {\n  height: 100%;\n  flex-grow: 1;\n  flex-basis: 0;\n  text-align: center;\n  font-size: 36px;\n  line-height: 50px;\n  color: black;\n  background-color: white;\n  border: 1px solid black;\n  cursor: default;\n  user-select: none;\n  box-sizing: border-box;\n}\n\n:where(.vi__character--inactive) {\n  color: dimgray;\n  background-color: lightgray;\n}\n\n:where(.vi__character--selected) {\n  outline: 2px solid cornflowerblue;\n  color: cornflowerblue;\n}\n",""]);const c=r},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",a=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),a&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),a&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,a,s,i){"string"==typeof e&&(e=[[null,e,void 0]]);var r={};if(a)for(var c=0;c<this.length;c++){var o=this[c][0];null!=o&&(r[o]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);a&&r[d[0]]||(void 0!==i&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),s&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=s):d[4]="".concat(s)),t.push(d))}},t}},81:e=>{"use strict";e.exports=function(e){return e[1]}},703:(e,t,n)=>{"use strict";var a=n(414);function s(){}function i(){}i.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,i,r){if(r!==a){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
1:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:s};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},a={};function s(t){var n=a[t];if(void 0!==n)return n.exports;var i=a[t]={id:t,exports:{}};return e[t](i,i.exports,s),i.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";s.r(i),s.d(i,{default:()=>v});const e=n(67294);var t=s.n(e),a=s(184),r=s.n(a),c=s(697),o=s.n(c),l=s(28),d=["className","type"],u=["className"];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},p.apply(this,arguments)}function m(e,t){if(null==e)return{};var n,a,s=function(e,t){if(null==e)return{};var n,a,s={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(s[n]=e[n]);return s}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,s,i,r,c=[],o=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;o=!1}else for(;!(o=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);o=!0);}catch(e){l=!0,s=e}finally{try{if(!o&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(l)throw s}}return c}}(e,t)||f(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var g=(0,e.forwardRef)((function(n,a){var s=n.value,i=n.length,c=n.validChars,o=n.placeholder,g=n.autoFocus,v=n.passwordMode,x=n.inputProps,b=n.containerProps,_=n.classNames,j=n.onChange,N=n.onFocus,w=n.onBlur,S=n.onComplete,O=h((0,e.useState)(""),2),k=O[0],P=O[1],C=h((0,e.useState)(!1),2),T=C[0],I=C[1],E=(0,e.useRef)(null);(0,e.useEffect)((function(){g&&E.current.focus()}),[g]),(0,e.useEffect)((function(){x.disabled&&I(!1)}),[x.disabled]);var R,D=function(){E.current.focus()},U=function(){return null!=s?s:k},A=function(e){var t=U();return(t.length===e||t.length===e+1&&i===e+1)&&T},L=function(e){return U().length<e},z=function(e){return U().length>e},M=x.className,F=x.type,q=m(x,d),Z=b.className,W=m(b,u);return t().createElement(t().Fragment,null,t().createElement("div",p({"data-testid":"container",className:r()("vi__container",_.container,Z),onClick:function(){return E.current.focus()}},W),t().createElement("input",p({"aria-label":"verification input",spellCheck:!1,value:U(),onChange:function(e){var t=e.target.value.replace(/\s/g,"");RegExp("^[".concat(c,"]{0,").concat(i,"}$")).test(t)&&(j&&(null==j||j(t)),P(t),t.length===i&&(null==S||S(t)))},ref:function(e){E.current=e,"function"==typeof a?a(e):a&&(a.current=e)},className:r()("vi",M),onKeyDown:function(e){["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(e.key)&&e.preventDefault()},onFocus:function(){I(!0),null==N||N()},onBlur:function(){I(!1),null==w||w()},onSelect:function(e){var t=e.target.value;e.target.setSelectionRange(t.length,t.length)},type:v?"password":F},q)),(R=Array(i),function(e){if(Array.isArray(e))return y(e)}(R)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(R)||f(R)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e,n){return t().createElement("div",{className:r()("vi__character",_.character,{"vi__character--selected":A(n),"vi__character--inactive":L(n),"vi__character--filled":z(n)},A(n)&&_.characterSelected,L(n)&&_.characterInactive,z(n)&&_.characterFilled),onClick:D,id:"field-".concat(n),"data-testid":"character-".concat(n),key:n},v&&U()[n]?"*":U()[n]||o)}))),t().createElement("style",{dangerouslySetInnerHTML:{__html:l.Z}}
1))}));g.displayName="VerificationInput",g.propTypes={value:o().string,length:o().number,validChars:o().string,placeholder:o().string,autoFocus:o().bool,passwordMode:o().bool,inputProps:o().object,containerProps:o().object,classNames:o().shape({container:o().string,character:o().string,characterInactive:o().string,characterSelected:o().string,characterFilled:o().string}),onChange:o().func,onFocus:o().func,onBlur:o().func,onComplete:o().func},g.defaultProps={length:6,validChars:"A-Za-z0-9",placeholder:"\xb7",autoFocus:!1,inputProps:{},containerProps:{},classNames:{}};const v=g})();var r=t;for(var c in i)r[c]=i[c];i.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})()},69396:function(e,t,n){"use strict";function a(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}n.d(t,{Z:function(){return a}})}},function(e){e.O(0,[4838,3365,4738,3590,5675,8662,1886,6435,4575,6320,4444,6433,1433,3300,6751,8426,3103,9774,2888,179],(function(){return t=66612,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.