PageSourceSearch

https://aifer.in/_next/static/chunks/pages/books-0948c9d5565cd7c2.js

js aifer.in collected 2026-09-24 11:03:08 UTC 32,651 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4672],{51809:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/books",function(){return a(4321)}])},4321:function(e,s,a){"use strict";a.r(s),a.d(s,{default:function(){return F}});var r=a(47568),n=a(70655),o=a(85893),t=a(67294),i=a(50196),c=a(49704),l=a.n(c),d=a(25675),u=a.n(d),m=a(41664),_=a.n(m),p=a(56862),h=a.n(p),x=a(14924),b=a(26042),f=a(69396),y=a(39148),g=a.n(y),j=a(55892),v="https://aifer.frappe.cloud/api/method/aifer.api.books.e_books_api.place_book_order",N="https://aifer.frappe.cloud/api/method/aifer.api.books.e_books_api.get_books";function k(e,s){return S.apply(this,arguments)}function S(){return(S=(0,r.Z)((function(e,s){var a,r,o,t,i;return(0,n.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,j.Z.get(N)];case 1:return o=n.sent(),t=(null===o||void 0===o||null===(a=o.data)||void 0===a||null===(r=a.message)||void 0===r?void 0:r.data)||[],(i=t.find((function(s){return s.id===e})))?i.quantity<s?[2,{available:!1,message:"Requested quantity is unavailable."}]:[2,{available:!0}]:[2,{available:!1,message:"This book is no longer available."}];case 2:return n.sent(),[2,{available:!1,message:"Unable to process your request right now."}];case 3:return[2]}}
1))}))).apply(this,arguments)}function T(e,s){return w.apply(this,arguments)}function w(){return w=(0,r.Z)((function(e,s){var a,r,o,t=arguments;return(0,n.__generator)(this,(function(n){switch(n.label){case 0:a=t.length>2&&void 0!==t[2]?t[2]:0,n.label=1;case 1:return n.trys.push([1,3,,6]),[4,j.Z.post(v,{customer_name:e.name,mobile:e.mobile,state:e.state,book_id:e.book_id,quantity:e.quantity,ordered_by:e.ordered_by,unit_price:e.unit_price,total_amount:e.payfee,address:e.address,pincode:e.pincode,razorpay_payment_id:s,email:e.email,attempt_id:e.attempt_id||null},{headers:{"Content-Type":"application/json"}})];case 2:return[2,n.sent().data.message];case 3:return r=n.sent(),o=!r.response||r.response&&r.response.status>=500,0===a&&o?[4,new Promise((function(e){return setTimeout(e,2e3)}))]:[3,5];case 4:return n.sent(),[2,T(e,s,1)];case 5:throw new Error("Unable to process your order right now.");case 6:return[2]}}))})),w.apply(this,arguments)}var C=function(){var e=(0,r.Z)((function(e){var s,a,o,t,i;return(0,n.__generator)(this,(function(c){switch(c.label){case 0:if("undefined"===typeof window.Razorpay)return e.onError&&e.onError("Payment system is loading. Please try again in a moment."),e.onDismiss&&e.onDismiss(),[2];c.label=1;case 1:return c.trys.push([1,5,,6]),e.onLoading&&e.onLoading(!0),[4,k(e.book_id,e.quantity)];case 2:return(s=c.sent()).available?[4,j.Z.get("/getKey")]:(e.onLoading&&e.onLoading(!1),e.onError&&e.onError(s.message),e.onDismiss&&e.onDismiss(),[2]);case 3:return a=(a=c.sent()).data.key,[4,j.Z.post("/Checkout",e)];case 4:return o=c.sent().data,e.onLoading&&e.onLoading(!1),t={key:a,amount:o.amount,currency:"INR",name:"AIFER EDUCATION PVT LTD",description:e.title,image:"https://play-lh.googleusercontent.com/LO6D3ZFg2LFK6zmef0T-kvmNhrlo4RiTviRMXkRjB4JZO6Bwg4VnjMTsUNz0-bHSgw",order_id:o.id,handler:function(){var s=(0,r.Z)((function(s){var a,r;return(0,n.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,T(e,s.razorpay_payment_id)];case 1:if(!(null===(a=n.sent())||void 0===a?void 0:a.success))throw new Error((null===a||void 0===a?void 0:a.error)||"Order save failed.");return e.onSuccess&&e.onSuccess({order_id:a.order_id,razorpay_payment_id:s.razorpay_payment_id}),[3,3];case 2:return r=n.sent(),console.error("Order creation failed after payment:",r),e.onDismiss&&e.onDismiss(),[3,3];case 3:return[2]}}
1))}));return function(e){return s.apply(this,arguments)}}(),prefill:{name:e.name,contact:e.mobile},method:{upi:!0,card:!0,netbanking:!1,wallet:!1,emi:!1,paylater:!1},modal:{ondismiss:function(){e.onDismiss&&e.onDismiss()}},theme:{color:"#14a895"}},(i=new window.Razorpay(t)).on("payment.failed",(function(s){e.onDismiss&&e.onDismiss()})),i.open(),[3,6];case 5:return c.sent(),e.onLoading&&e.onLoading(!1),e.onError&&e.onError("Could not initiate payment. Please try again."),e.onDismiss&&e.onDismiss(),[3,6];case 6:return[2]}}))}));return function(s){return e.apply(this,arguments)}}(),E=a(63492);function I(e){var s=e.book,a=e.onClose,c=e.userName,l=e.userMobile,d=e.userState,u=e.userEmail,m=(0,t.useState)(1),_=m[0],p=m[1],h=(0,t.useState)({address:"",pincode:"",recipient_name:""}),y=h[0],j=h[1],v=(0,t.useState)({}),N=v[0],k=v[1],S=(0,t.useState)(""),T=S[0],w=S[1],I=(0,t.useState)(!1),L=I[0],P=I[1],B=(0,t.useState)(""),D=B[0],q=B[1],R=(0,t.useState)(!1),H=R[0],A=R[1],O=(0,t.useState)(!1),Z=O[0],W=O[1];if((0,t.useEffect)((function(){var e=!0;return new Promise((function(e){if(window.Razorpay)return e(!0);var s=document.createElement("script");s.src="https://checkout.razorpay.com/v1/checkout.js",s.async=!0,s.onload=function(){return e(!0)},s.onerror=function(){return e(!1)},document.body.appendChild(s)})).then((function(s){e&&W(s)})),function(){e=!1}}),[]),!s||s.quantity<=0)return(0,o.jsx)("div",{className:g().overlay,onClick:a,children:(0,o.jsxs)("div",{className:g().modal,onClick:function(e){return e.stopPropagation()},children:[(0,o.jsx)("div",{className:g().modalHeader,children:(0,o.jsx)("button",{onClick:a,className:g().closeBtn,children:"\xd7"})}),(0,o.jsx)("div",{className:g().modalBody,children:(0,o.jsxs)("div",{className:g().successState,children:[(0,o.jsx)("div",{style:{fontSize:"48px"},children:"\ud83d\ude14"}),(0,o.jsx)("h3",{children:"Out of Stock"}),(0,o.jsxs)("p",{children:[(0,o.jsx)("strong",{children:null===s||void 0===s?void 0:s.title})," is currently out of stock. Please check back later."]}),(0,o.jsx)("button",{onClick:a,className:g().submitBtn,children:"Close"})]})})]})});var z=function(e){var s=e.target,a=s.name,r=s.value;j((function(e){return(0,f.Z)((0,b.Z)({},e),(0,x.Z)({},a,r))})),N[a]&&k((function(e){return(0,f.Z)((0,b.Z)({},e),(0,x.Z)({},a,""))})),T&&w("")},G=function(){var e=(0,r.Z)((function(){var e,a,r,o,t;return(0,n.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),e=l.replace(/\D/g,""),a=e.slice(0,e.length-10),r=e.slice(-10),"+".concat(a,"-").concat(r),o=(0,E.W)(),[4,(0,i.ZP)({method:"post",url:"https://aifer.frappe.cloud/api/method/aifer.api.crm.make_lead",headers:{"Content-Type":"application/json"},data:(0,b.Z)({first_name:c,mobile_no:l,custom_product:"UGC NET",custom_mobile_number:l,source:"Q Book",notes:"Ordered: ".concat(s.title," | Qty: ").concat(_," | Address: ").concat(y.address,", ").concat(y.pincode,", ").concat(d)},o)})];case 1:return n.sent(),[3,3];case 2:return t=n.sent(),console.error("CRM lead creation failed:",t),[3,3];case 3:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}(),F=function(){var e=(0,r.Z)((function(e){var s;return(0,n.__generator)(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,i.ZP.post("https://aifer.frappe.cloud/api/method/aifer.api.books.e_books_api.save_order_attempt",e,{headers:{"Content-Type":"application/json"}})];case 1:return[2,a.sent().data.message];case 2:throw s=a.sent(),console.error("Order attempt save failed:",s),new Error("Unable to initialize order. Please try again.");case 3:return[2]}}))}));return function(s){return e.apply(this,arguments)}}(),M=function(){var e=(0,r.Z)((function(e){var a,r,o;return(0,n.__generator)(this,(function(n){switch(n.label){case 0:if(e.preventDefault(),w(""),a=function(){var e={};return(!y.address.trim()||y.address.trim().length<10)&&(e.address="Please enter a complete address (min 10 characters)."),/^\d{6}$/.test(y.pincode)||(e.pincode="Enter a valid 6-digit pincode."),(!y.recipient_name.trim()||y.recipient_name.trim().length<2)&&(e.recipient_name="Please enter the recipient's name."),e}(),Object.keys(a).length>0)return k(a),[2];if(_>s.quantity)return w("Sorry, this book is now out of stock."),[2];if(!Z)return w("Payment system still loading. Please wait a moment and try again."),[2];A(!0),n.label=1;case 1:return n.trys.push([1,5,,6]),[4,G()];case 2:return n.sent(),[4,F({customer_name:c,mobile:l,state:d,book_id:s.id,quantity:_,unit_price:s.price,total_amount:s.price*_,address:y.address,pincode:y.pincode,ordered_by:y.recipient_name,email:u})];case 3:return r=n.sent(),o=(null===r||void 0===r?void 0:r.attempt_id)||null,[4,C({payfee:s.price*_,title:s.title,book_id:s.id,payable:s.price*_,name:c,ordered_by:y.recipient_name,mobile:l,state:d,quantity:_,unit_price:s.price,address:y.address,pincode:y.pincode,email:u,attempt_id:o,onLoading:function(e){A(e)},onSuccess:function(e){q(e.order_id),P(!0),A(!1)},onError:function(e){A(!1)},onDismiss:function(){A(!1)}})];case 4:return n.sent(),[3,6];case 5:return n.sent(),w("Something went wrong. Please try again."),A(!1),[3,6];case 6:return[2]}}
1))}));return function(s){return e.apply(this,arguments)}}();return(0,o.jsx)("div",{className:g().overlay,onClick:a,children:(0,o.jsxs)("div",{className:g().modal,onClick:function(e){return e.stopPropagation()},children:[(0,o.jsxs)("div",{className:g().modalHeader,children:[(0,o.jsx)("button",{onClick:a,className:g().closeBtn,children:"\xd7"}),(0,o.jsx)("div",{className:g().headerInfo,children:(0,o.jsxs)("div",{className:g().headerTitleRow,children:[s.image&&(0,o.jsx)("img",{src:"https://aifer.frappe.cloud/".concat(encodeURI(s.image)),alt:s.title,className:g().modalThumb}),(0,o.jsxs)("div",{children:[(0,o.jsx)("p",{className:g().smallLabel,children:"Order Now"}),(0,o.jsx)("h2",{className:g().bookTitle,children:s.title})]})]})})]}),(0,o.jsx)("div",{className:g().modalBody,children:L?(0,o.jsxs)("div",{className:g().successState,children:[(0,o.jsx)("div",{className:g().successIcon,children:"\u2713"}),(0,o.jsx)("h3",{children:"Order Placed!"}),(0,o.jsxs)("p",{children:["Thank you, ",(0,o.jsx)("strong",{children:c}),"! Your copy of"," ",(0,o.jsx)("strong",{children:s.title})," has been ordered."]}),D&&(0,o.jsxs)("p",{style:{fontSize:"13px",color:"#666"},children:["Order ID: ",(0,o.jsx)("strong",{children:D})]}),(0,o.jsx)("button",{onClick:a,className:g().submitBtn,children:"Continue Shopping"})]}):(0,o.jsxs)("form",{onSubmit:M,noValidate:!0,children:[(0,o.jsx)("h3",{className:g().formHeading,children:"Delivery Details"}),T&&(0,o.jsx)("div",{style:{background:"#fef2f2",border:"1px solid #fecaca",borderRadius:"8px",padding:"10px 14px",marginBottom:"16px",color:"#dc2626",fontSize:"14px"},children:T}),(0,o.jsxs)("div",{className:g().formGroup,children:[(0,o.jsxs)("label",{children:["Full Name ",(0,o.jsx)("span",{children:"*"})]}),(0,o.jsx)("input",{type:"text",name:"recipient_name",value:y.recipient_name,onChange:z,placeholder:"Enter your name",className:N.recipient_name?g().inputError:""}),N.recipient_name&&(0,o.jsx)("p",{className:g().errorText,children:N.recipient_name})]}),(0,o.jsxs)("div",{className:g().formGroup,children:[(0,o.jsxs)("label",{children:["Address ",(0,o.jsx)("span",{children:"*"})]}),(0,o.jsx)("textarea",{name:"address",value:y.address,onChange:z,placeholder:"House/Flat No., Street, Area, City",rows:3,className:N.address?g().inputError:""}),N.address&&(0,o.jsx)("p",{className:g().errorText,children:N.address})]}),(0,o.jsx)("div",{className:g().inputGrid,children:(0,o.jsxs)("div",{className:g().formGroup,children:[(0,o.jsxs)("label",{children:["Pincode ",(0,o.jsx)("span",{children:"*"})]}),(0,o.jsx)("input",{type:"text",name:"pincode",value:y.pincode,onChange:z,placeholder:"6-digit",maxLength:6,className:N.pincode?g().inputError:""}),N.pincode&&(0,o.jsx)("p",{className:g().errorText,children:N.pincode})]})}),(0,o.jsxs)("div",{className:g().formGroup,children:[(0,o.jsx)("label",{children:"Quantity"}),(0,o.jsxs)("div",{className:g().qtyWrapper,children:[(0,o.jsx)("button",{type:"button",className:g().qtyBtn,onClick:function(){return p((function(e){return Math.max(1,e-1)}))},children:"\u2212"}),(0,o.jsx)("span",{className:g().qtyValue,children:_}),(0,o.jsx)("button",{type:"button",className:g().qtyBtn,onClick:function(){return p((function(e){return Math.min(s.quantity,e+1)}))},disabled:_>=s.quantity,children:"+"})]})]}),(0,o.jsx)("button",{type:"submit",className:g().submitBtn,disabled:H||!Z||s.quantity<=0,children:Z?H?"Processing...":"Pay \u20b9".concat(s.price*_):"Loading payment..."}),(0,o.jsx)("p",{className:g().formFooter,children:"\ud83d\udd12 Secure payment via Razorpay"})]})})]})})}var L=a(73103),P=a(32037),B=a.n(P);function D(e){var s=e.userMobile,a=(0,t.useState)(!1),c=a[0],l=a[1],d=(0,t.useState)([]),u=d[0],m=d[1],_=(0,t.useState)(!1),p=_[0],h=_[1],x=(0,t.useState)(""),b=x[0],f=x[1];(0,t.useEffect)((function(){c&&s&&y()}),[c,s]);var y=function(){var e=(0,r.Z)((function(){var e,a;return(0,n.__generator)(this,(function(r){switch(r.label){case 0:h(!0),f(""),r.label=1;case 1:return r.trys.push([1,3,4,5]),[4,i.ZP.get("https://aifer.frappe.cloud/api/method/aifer.api.books.e_books_api.get_my_orders",{params:{mobile:s}})];case 2:return a=r.sent(),m((null===(e=a.data.message)||void 0===e?void 0:e.data)||[]),[3,5];case 3:return r.sent(),f("Could not load your orders. Please try again."),[3,5];case 4:return h(!1),[7];case 5:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}(),g=function(e){switch(e){case"Pending":default:return B().statusPending;case"Packed":return B().statusPacked;case"Shipped":return B().statusShipped;case"Delivered":return B().statusDelivered}},j=function(e){switch(e){case"Pending":default:return"\ud83d\udd50";case"Packed":return"\ud83d\udce6";case"Shipped":return"\ud83d\ude9a";case"Delivered":return"\ud83c\udf89"}};return s?(0,o.jsxs)(o.Fragment,{children:[c&&(0,o.jsx)("div",{className:B().backdrop,onClick:function(){return l(!1)}}),(0,o.jsxs)("div",{className:"".concat(B().panel," ").concat(c?B().panelOpen:""),children:[(0,o.jsxs)("button",{className:B().tab,onClick:function(){return l(!c)},children:[(0,o.jsx)("span",{className:B().tabIcon}),(0,o.jsx)("span",{className:B().tabText,children:"My Orders"}),(0,o.jsx)("span",{className:"".concat(B().chevron," ").concat(c?B().chevronUp:""),children:"\u25b2"})]}),(0,o.jsxs)("div",{className:B().panelContent,children:[(0,o.jsxs)("div",{className:B().panelHeader,children:[(0,o.jsx)("h3",{className:B().panelTitle,children:"My Orders"}),(0,o.jsx)("button",{className:B().closeBtn,onClick:function(){return l(!1)},children:"\xd7"})]}),(0,o.jsx)("div",{className:B().ordersList,children:p?(0,o.jsxs)("div",{className:B().loadingState,children:[(0,o.jsx)("div",{className:B().spinner}),(0,o.jsx)("p",{children:"Loading your orders..."})]}):b?(0,o.jsxs)("div",{className:B().emptyState,children:[(0,o.jsx)("div",{className:B().emptyIcon,children:"\u26a0\ufe0f"}),(0,o.jsx)("p",{children:b}),(0,o.jsx)("button",{onClick:y,style:{marginTop:"10px",padding:"8px 20px",borderRadius:"20px",background:"#14a895",color:"#fff",border:"none",cursor:"pointer",fontSize:"14px"},children:"Try Again"})]}):0===u.length?(0,o.jsxs)("div",{className:B().emptyState,children:[(0,o.jsx)("div",{className:B().emptyIcon,children:"\ud83d\udced"}),(0,o.jsx)("p",{children:"No orders yet"}),(0,o.jsx)("span",{children:"Your orders will appear here once placed."})]}):u.map((function(e){return(0,o.jsxs)("div",{className:B().orderCard,children:[(0,o.jsxs)("div",{className:B().orderTop,children:[(0,o.jsxs)("div",{className:B().orderLeft,children:[(0,o.jsx)("p",{className:B().orderId,children:e.name}),(0,o.jsx)("p",{className:B().bookName,children:e.purchased_book})]}),(0,o.jsx)("div",{className:B().orderRight,children:(0,o.jsxs)("span",{className:"".concat(B().statusBadge," ").concat(g(e.order_status)),children:[j(e.order_status)," ",e.order_status]})})]}),(0,o.jsxs)("div",{className:B().orderMeta,children:[(0,o.jsxs)("div",{className:B().metaItem,children:[(0,o.jsx)("span",{className:B().metaLabel,children:"Qty"}),(0,o.jsx)("span",{className:B().metaValue,children:e.quantity})]}),(0,o.jsxs)("div",{className:B().metaItem,children:[(0,o.jsx)("span",{className:B().metaLabel,children:"Amount"}),(0,o.jsxs)("span",{className:B().metaValue,children:["\u20b9",e.total_amount]})]}),(0,o.jsxs)("div",{className:B().metaItem,children:[(0,o.jsx)("span",{className:B().metaLabel,children:"Date"}),(0,o.jsx)("span",{className:B().metaValue,children:new Date(e.order_date).toLocaleDateString("en-IN",{day:"numeric",month:"short",year:"numeric"})})]}),e.tracking_id&&(0,o.jsxs)("div",{className:B().metaItem,children:[(0,o.jsx)("span",{className:B().metaLabel,children:"Tracking ID"}),(0,o.jsx)("span",{className:B().metaValue,children:e.tracking_id})]})]})]},e.name)}))})]})]})]}):null}var q=a(6943),R=a.n(q);function H(){return(0,o.jsx)("section",{className:R().section,children:(0,o.jsxs)("div",{className:R().container,children:[(0,o.jsxs)("h2",{className:R().heading,children:["South India's Most Trusted ",(0,o.jsx)("br",{}),(0,o.jsx)("span",{children:"UGC NET Preparation Resource"})]}),(0,o.jsx)("p",{className:R().subText,children:"Written by expert faculty with years of NET coaching experience, tailored for Kerala aspirants who need clarity, depth, and a proven strategy to crack the exam."}),(0,o.jsxs)("div",{className:R().highlightBox,children:[(0,o.jsxs)("div",{className:R().hlBadge,children:[(0,o.jsx)("div",{className:R().n,children:"#1"}),(0,o.jsxs)("div",{className:R().l,children:["In Kerala",(0,o.jsx)("br",{}),"UGC NET"]})]}),(0,o.jsxs)("div",{className:R().highlightContent,children:[(0,o.jsx)("h4",{children:"Designed for South India's NET Aspirants"}),(0,o.jsx)("p",{children:"This isn't a generic guide. Aifer's book is built around the syllabus, question patterns, and real challenges faced by Kerala students \u2014 with language that's clear, direct, and examination-focused. Over 5 years of teaching experience distilled into one book."})]})]}),(0,o.jsxs)("div",{className:R().grid,children:[(0,o.jsxs)("div",{className:R().card,children:[(0,o.jsx)("span",{className:R().icon,children:"\ud83d\udcda"}),(0,o.jsx)("h4",{children:"Complete Syllabus Coverage"})]}),(0,o.jsxs)("div",{className:R().card,children:[(0,o.jsx)("span",{className:R().icon,children:"\ud83d\udcdd"}),(0,o.jsx)("h4",{children:"200+ Previous Year Questions"})]}),(0,o.jsxs)("div",{className:R().card,children:[(0,o.jsx)("span",{className:R().icon,children:"\ud83c\udfaf"}),(0,o.jsx)("h4",{children:"Exam Strategy Guide"})]}),(0,o.jsxs)("div",{className:R().card,children:[(0,o.jsx)("span",{className:R().icon,children:"\ud83c\udfc6"}),(0,o.jsx)("h4",{children:"JRF-Level Depth"})]})]})]})})}var A=a(80954),O=a.n(A);function Z(){return(0,o.jsx)("section",{className:O().section,children:(0,o.jsxs)("div",{className:O().container,children:[(0,o.jsxs)("h2",{className:O().heading,children:["Get Your Copy in ",(0,o.jsx)("span",{children:"3 Simple Steps"})]}),(0,o.jsx)("p",{className:O().subText,children:"Order online and receive your book at your doorstep anywhere in Kerala within 2\u20137 days. Pan-India shipping also available."}),(0,o.jsxs)("div",{className:O().steps,children:[(0,o.jsxs)("div",{className:O().card,children:[(0,o.jsx)("div",{className:O().stepNumber,children:"1"}),(0,o.jsx)("span",{className:O().icon,children:"\ud83d\udcf2"}),(0,o.jsx)("h4",{children:"Place Your Order"}),(0,o.jsx)("p",{children:'Click "Order Now", fill in your delivery details, and complete secure online payment.'})]}),(0,o.jsxs)("div",{className:O().card,children:[(0,o.jsx)("div",{className:O().stepNumber,children:"2"}),(0,o.jsx)("span",{className:O().icon,children:"\ud83d\udce6"}),(0,o.jsx)("h4",{children:"We Pack & Ship"}),(0,o.jsx)("p",{children:"Your book is packed and dispatched within 24 hours of order confirmation."})]}),(0,o.jsxs)("div",{className:O().card,children:[(0,o.jsx)("div",{className:O().stepNumber,children:"3"}),(0,o.jsx)("span",{className:O().icon,children:"\ud83c\udfe0"}),(0,o.jsx)("h4",{children:"Delivered to You"}),(0,o.jsx)("p",{children:"Delivered to your doorstep in 2\u20137 days across Kerala."})]})]})]})})}var W=a(87168),z=a.n(W),G=function(){return(0,o.jsx)("section",{className:z().testimonialSection,children:(0,o.jsxs)("div",{className:z().container,children:[(0,o.jsxs)("h2",{className:z().sectionHeading,children:["What Our Students ",(0,o.jsx)("span",{children:"Say"})]}),(0,o.jsx)("p",{className:z().sectionSub,children:"Over 1000 copies in the hands of Kerala's NET aspirants. Here's what they're achieving with Aifer's guide."}),(0,o.jsxs)("div",{className:z().testimonialGrid,children:[(0,o.jsxs)("div",{className:z().testimonialCard,children:[(0,o.jsx)("div",{className:z().stars,children:"\u2605\u2605\u2605\u2605\u2605"}),(0,o.jsx)("p",{className:z().review,children:'"This book literally changed how I approached NET preparation. The memory maps saved me during last-minute revision. I cleared with JRF in my first attempt!"'}),(0,o.jsx)("div",{className:z().name,children:"Anjali R."}),(0,o.jsx)("div",{className:z().detail,children:"UGC NET JRF \u2014 Education, Thrissur"})]}),(0,o.jsxs)("div",{className:z().testimonialCard,children:[(0,o.jsx)("div",{className:z().stars,children:"\u2605\u2605\u2605\u2605\u2605"}),(0,o.jsx)("p",{className:z().review,children:'"Best NET guide available in Kerala. No fluff \u2014 straight to the point with clear explanations and hundreds of practice questions. Cleared on first attempt."'}),(0,o.jsx)("div",{className:z().name,children:"Mohammed Nishad"}),(0,o.jsx)("div",{className:z().detail,children:"UGC NET \u2014 Commerce, Kozhikode"})]}),(0,o.jsxs)("div",{className:z().testimonialCard,children:[(0,o.jsx)("div",{className:z().stars,children:"\u2605\u2605\u2605\u2605\u2605"}),(0,o.jsx)("p",{className:z().review,children:'"I had failed twice before. After using Aifer\'s guide book and joining their coaching, I cleared in my third attempt with a good score. This book is gold."'}),(0,o.jsx)("div",{className:z().name,children:"Divya Menon"}),(0,o.jsx)("div",{className:z().detail,children:"UGC NET \u2014 English, Kochi"})]})]})]})})};function F(){var e=(0,t.useState)([]),s=e[0],a=e[1],c=(0,t.useState)(null),d=c[0],m=c[1],p=(0,t.useState)(!1),x=p[
10],b=p[1],f=(0,t.useState)(""),y=f[0],g=f[1],v=(0,t.useState)(""),N=v[0],k=v[1],S=(0,t.useState)(""),T=S[0],w=S[1],C=(0,t.useState)(""),E=C[0],P=C[1],B=(0,t.useState)(!1),q=B[0],R=B[1];(0,t.useEffect)((function(){A()}),[]),(0,t.useEffect)((function(){var e=localStorage.getItem("studentToken");if(e){var s=l().decode(e);s&&j.Z.get("/getUser/".concat(s.id)).then((function(e){var s=e.data.data[0];g(s.name),k(s.mobile),P(s.state),w(s.email)}))}}),[]),(0,t.useEffect)((function(){var e=function(){return R(!1)};return document.addEventListener("click",e),function(){return document.removeEventListener("click",e)}}),[]);var A=function(){var e=(0,r.Z)((function(){var e,s;return(0,n.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,i.ZP.get("https://aifer.frappe.cloud/api/method/aifer.api.books.e_books_api.get_books")];case 1:return e=r.sent(),a(e.data.message.data),[3,3];case 2:return s=r.sent(),console.error(s),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,o.jsxs)("div",{className:h().container,children:[x&&(0,o.jsx)(L.default,{onClose:function(){return b(!1)},onSource:"Q Book"}),(0,o.jsxs)("section",{style:{position:"fixed",top:0,width:"100%",zIndex:1e3,background:"#fff",boxShadow:"0 3px 8px rgba(0,0,0,0.15)",display:"flex",justifyContent:"space-between",padding:"10px 40px",alignItems:"center"},children:[(0,o.jsx)(_(),{href:"/",children:(0,o.jsx)(u(),{src:"/images/Aifer Logo Final.png",width:120,height:50,alt:"logo",style:{cursor:"pointer"}})}),y?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{style:{fontFamily:"Mulish, sans-serif",borderRadius:"34px",color:"#14a895",boxShadow:"0px 5px 10px rgba(0,0,0,0.25)",padding:"10px 45px",cursor:"pointer"},onClick:function(e){e.stopPropagation(),R(!q)},children:y}),q&&(0,o.jsx)("div",{style:{position:"absolute",top:"70px",right:"40px",background:"#fff",boxShadow:"0 5px 20px rgba(0,0,0,0.1)",borderRadius:"12px",padding:"10px 20px",zIndex:2e3},onClick:function(e){return e.stopPropagation()},children:(0,o.jsx)("p",{onClick:function(){localStorage.removeItem("studentToken"),localStorage.removeItem("Name"),window.location.reload()},style:{cursor:"pointer",color:"#ef4444",margin:0,fontFamily:"Mulish, sans-serif"},children:"Logout"})})]}):(0,o.jsx)("button",{onClick:function(){return b(!0)},style:{padding:"10px 25px",borderRadius:"30px",background:"#14a895",color:"#fff",border:"none",cursor:"pointer"},children:"Sign In"})]}),(0,o.jsxs)("div",{style:{marginTop:"70px"},children:[(0,o.jsx)("section",{className:h().heroSection,children:(0,o.jsx)("a",{href:"#books",children:(0,o.jsx)("img",{src:"/images/q_book_banner.jpeg",alt:"UGC NET Banner",className:h().heroBannerFixed})})}),(0,o.jsxs)("section",{className:h().statsBar,children:[(0,o.jsxs)("div",{className:h().stat,children:[(0,o.jsx)("span",{className:h().statNumber,children:"5.5 Years"}),(0,o.jsx)("span",{className:h().statLabel,children:"Coaching Excellence"})]}),(0,o.jsxs)("div",{className:h().stat,children:[(0,o.jsx)("span",{className:h().statNumber,children:"3,500+"}),(0,o.jsx)("span",{className:h().statLabel,children:"Students Qualified"})]}),(0,o.jsxs)("div",{className:h().stat,children:[(0,o.jsx)("span",{className:h().statNumber,children:"4.9 \u2605"}),(0,o.jsx)("span",{className:h().statLabel,children:"Student Rating"})]})]}),(0,o.jsx)("section",{id:"books",className:h().booksSection,children:(0,o.jsxs)("div",{className:h().booksContainer,children:[(0,o.jsxs)("div",{className:h().sectionHeader,children:[(0,o.jsx)("p",{className:h().upperLabel,children:"Our Collection"}),(0,o.jsx)("h2",{className:h().mainHeading,children:"Bestselling UGC NET Guide Books"}),(0,o.jsx)("p",{className:h().subHeading,children:"Hand-picked UGC NET preparation books with updated syllabus."})]}),(0,o.jsx)("div",{className:h().booksGrid,children:s.map((function(e){var s=e.quantity<=0;return(0,o.jsxs)("div",{className:h().bookCard,children:[(0,o.jsx)("div",{className:h().coverWrapper,children:e.image&&(0,o.jsx)("img",{src:"https://aifer.frappe.cloud/".concat(encodeURI(e.image)),alt:e.title,className:h().coverImg})}),(0,o.jsxs)("div",{className:h().cardBody,children:[(0,o.jsx)("h3",{className:h().bookTitle,children:e.title}),(0,o.jsx)("p",{className:h().bookDescription,children:e.description}),(0,o.jsx)("div",{className:h().priceRow,children:(0,o.jsxs)("span",{className:h().salePrice,children:["\u20b9",e.price,e.original_price>e.price&&(0,o.jsxs)("span",{style:{textDecoration:"line-through",color:"#999",fontSize:"16px",marginLeft:"8px",fontWeight:400},children:["\u20b9",e.original_price]})]})}),(0,o.jsx)("button",{className:h().orderBtn,onClick:function(){return function(e){y?!e||e.quantity<=0||m(e):b(!0)}(e)},disabled:s,style:s?{pointerEvents:"none",opacity:.5}:{},children:s?"Out of Stock":"Order Now"})]})]},e.id)}))})]})}),(0,o.jsx)(H,{}),(0,o.jsx)(G,{}),(0,o.jsx)(Z,{}),(0,o.jsx)("footer",{className:h().mainFooter,children:(0,o.jsx)("div",{className:h().footerContainer,children:(0,o.jsx)("p",{className:h().copyrightText,children:"\xa9 Aifer Education 2026. All rights reserved."})})})]}),d&&(0,o.jsx)(I,{book:d,userName:y,userMobile:N,userState:E,userEmail:T,onClose:function(){return m(null)}}),y&&(0,o.jsx)(D,{userMobile:N})]})}},80954:function(e){e.exports={section:"HowToOrder_section___IhA_",container:"HowToOrder_
1container__KEw2o",tag:"HowToOrder_tag__KBKrh",heading:"HowToOrder_heading__qSTuZ",subText:"HowToOrder_subText__CRde5",steps:"HowToOrder_steps__nSzU2",card:"HowToOrder_card__z0UGz",stepNumber:"HowToOrder_stepNumber__zM3ql",icon:"HowToOrder_icon__khI3B"}},87168:function(e){e.exports={testimonialSection:"TestimonialsSection_testimonialSection__7oWQZ",container:"TestimonialsSection_container__YeRX3",sectionTag:"TestimonialsSection_sectionTag__0EYwH",sectionHeading:"TestimonialsSection_sectionHeading__6CpYa",sectionSub:"TestimonialsSection_sectionSub__yorRd",testimonialGrid:"TestimonialsSection_testimonialGrid__wCzJZ",testimonialCard:"TestimonialsSection_testimonialCard__yJsxg",stars:"TestimonialsSection_stars__FlZdL",review:"TestimonialsSection_review__K2beR",name:"TestimonialsSection_name__1jmhu",detail:"TestimonialsSection_detail__bIWZg"}},6943:function(e){e.exports={section:"WhyAifer_section__3NPDv",container:"WhyAifer_container__vUXz0",tag:"WhyAifer_tag__Q81f8",heading:"WhyAifer_heading__l1KCy",subText:"WhyAifer_subText__Nw2jJ",highlightBox:"WhyAifer_highlightBox__F6qa7",hlBadge:"WhyAifer_hlBadge__Dz09p",n:"WhyAifer_n__g_eqe",l:"WhyAifer_l__B_4_s",grid:"WhyAifer_grid__HsjYK",card:"WhyAifer_card__tV6zs",icon:"WhyAifer_icon__3DRjd"}},56862:function(e){e.exports={container:"ebooks_container__D99J0",heroSection:"ebooks_heroSection__wH2yP",qtyWrapper:"ebooks_qtyWrapper__nDJhT",statsBar:"ebooks_statsBar__AhNX2",stat:"ebooks_stat__wpJJn",statNumber:"ebooks_statNumber__IPAzb",statLabel:"ebooks_statLabel__Q6NZc",qtyBtn:"ebooks_qtyBtn__rCXgE",qtyValue:"ebooks_qtyValue__2AxHq",heroBanner:"ebooks_heroBanner__09UVG",blockText:"ebooks_blockText__8ICCZ",booksSection:"ebooks_booksSection__408G6",booksContainer:"ebooks_booksContainer___yF0u",sectionHeader:"ebooks_sectionHeader__XJk2l",upperLabel:"ebooks_upperLabel__yiT7l",mainHeading:"ebooks_mainHeading__wrrgB",subHeading:"ebooks_subHeading__ES5EP",booksGrid:"ebooks_booksGrid__MSTF1",bookCard:"ebooks_bookCard__uSBbo",coverWrapper:"ebooks_coverWrapper___xAPN",coverImg:"ebooks_coverImg__nFj4n",cardBody:"ebooks_cardBody__U3YH9",bookTitle:"ebooks_bookTitle__u46cJ",authorName:"ebooks_authorName__roRSb",bookDescription:"ebooks_bookDescription__iIy9f",priceRow:"ebooks_priceRow__2skQp",salePrice:"ebooks_salePrice__jIhZy",regPrice:"ebooks_regPrice__ZVUxC",orderBtn:"ebooks_orderBtn__vWfTV",mainFooter:"ebooks_mainFooter__fCR7b",footerContainer:"ebooks_footerContainer__8nrqA",footerLogoRow:"ebooks_footerLogoRow__Jox7e",footerLogoIcon:"ebooks_footerLogoIcon__JviN5",footerLogoText:"ebooks_footerLogoText__8AYfP",copyrightText:"ebooks_copyrightText__rr2vf"}},39148:function(e){e.exports={overlay:"ebooksmodal_overlay__DaR_H",modal:"ebooksmodal_modal__3HMmG",modalHeader:"ebooksmodal_modalHeader__9Wvkq",phoneContainer:"ebooksmodal_phoneContainer__VBQ9P",phoneInput:"ebooksmodal_phoneInput__vxzWE",phoneDropdown:"ebooksmodal_phoneDropdown__aj8kz",phoneError:"ebooksmodal_phoneError__oD02O",closeBtn:"ebooksmodal_
1closeBtn__OLbX2",headerTitleRow:"ebooksmodal_headerTitleRow__Ano8J",qtyWrapper:"ebooksmodal_qtyWrapper__EahYQ",qtyBtn:"ebooksmodal_qtyBtn__g3VCS",qtyValue:"ebooksmodal_qtyValue__KfPw_",cartIcon:"ebooksmodal_cartIcon__AWDDi",smallLabel:"ebooksmodal_smallLabel__Fc8zU",bookTitle:"ebooksmodal_bookTitle__KiseL",pricingRow:"ebooksmodal_pricingRow__LgLRJ",modalThumb:"ebooksmodal_modalThumb__yVMfD",oldPrice:"ebooksmodal_oldPrice__C5Q74",newPrice:"ebooksmodal_newPrice__JzbPM",modalBody:"ebooksmodal_modalBody__LMgE5",formHeading:"ebooksmodal_formHeading___M59m",formGroup:"ebooksmodal_formGroup__CAGPC",inputError:"ebooksmodal_inputError__2LOtD",errorText:"ebooksmodal_errorText__4AWn6",inputGrid:"ebooksmodal_inputGrid__6ENyY",submitBtn:"ebooksmodal_submitBtn__TNlm4",formFooter:"ebooksmodal_formFooter__uJ0I4",successState:"ebooksmodal_successState__s1SqX",successIcon:"ebooksmodal_successIcon__X4xFH"}},32037:function(e){e.exports={backdrop:"myorders_backdrop__pUMop",panel:"myorders_panel__Eu6cA",tab:"myorders_tab__VOrjJ",tabIcon:"myorders_tabIcon__qxKJx",tabText:"myorders_tabText__bt4a9",chevron:"myorders_chevron__DwWmV",chevronUp:"myorders_chevronUp__HLzk1",panelContent:"myorders_panelContent__xW2T_",panelOpen:"myorders_panelOpen__7Cmkh",panelHeader:"myorders_panelHeader__vNk_Y",panelTitle:"myorders_panelTitle__rqAiL",closeBtn:"myorders_closeBtn__0b_4C",ordersList:"myorders_ordersList__ISxpF",orderCard:"myorders_orderCard__wY07t",orderTop:"myorders_orderTop__XzZPA",orderLeft:"myorders_orderLeft__vbgIh",orderId:"myorders_orderId__K1mZD",bookName:"myorders_bookName__K7VGW",statusBadge:"myorders_statusBadge__ja3tc",statusPending:"myorders_statusPending__gLyBE",statusConfirmed:"myorders_statusConfirmed__aIMFa",statusShipped:"myorders_statusShipped__ItDQS",statusDelivered:"myorders_statusDelivered__BZ87I",orderMeta:"myorders_orderMeta__SucWR",metaItem:"myorders_metaItem__4WAXO",metaLabel:"myorders_metaLabel__s_7Cn",metaValue:"myorders_metaValue__Kxy_l",loadingState:"myorders_loadingState__vSMY3",spinner:"myorders_spinner__E9Kkn",spin:"myorders_spin__aNoO7",emptyState:"myorders_emptyState__zTXIZ",emptyIcon:"myorders_emptyIcon__YLuQk"}}},function(e){e.O(0,[4838,3365,4738,3590,5675,4575,4444,6433,9587,8426,3103,9774,2888,179],(function(){return s=51809,e(e.s=s);var s}));var s=e.O();_N_E=s}]);

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.