PageSourceSearch

https://bepay.money/_next/static/chunks/7718-bc52168a6605120d.js?dpl=dpl_GNfQ16JfZuasniMHSqyDRPNRZTGx

js bepay.money collected 2026-10-05 00:57:58 UTC 18,651 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7718],{10608:(e,s,a)=>{a.d(s,{IK:()=>r,M9:()=>n,t$:()=>o,u3:()=>d});var i=a(44373),t=a(1834);async function n(e){try{let s=await (0,t.addDoc)((0,t.collection)(i.db,"contact-submissions"),{...e,submittedAt:(0,t.serverTimestamp)(),status:"new"});return{success:!0,id:s.id}}catch(e){return console.error("Error adding contact submission:",e),{success:!1,error:"submission_failed",message:e.message}}}async function o(){try{let e=(0,t.query)((0,t.collection)(i.db,"contact-submissions"),(0,t.orderBy)("submittedAt","desc")),s=await (0,t.getDocs)(e),a=[];return s.forEach(e=>{a.push({id:e.id,...e.data()})}),a}catch(e){return console.error("Error getting contact submissions:",e),[]}}async function d(e,s){try{return await (0,t.updateDoc)((0,t.doc)(i.db,"contact-submissions",e),{status:s,updatedAt:(0,t.serverTimestamp)()}),{success:!0}}catch(e){return console.error("Error updating contact status:",e),{success:!1,error:e.message}}}async function r(e){try{return await (0,t.deleteDoc)((0,t.doc)(i.db,"contact-submissions",e)),{success:!0}}catch(e){return console.error("Error deleting contact submission:",e),{success:!1,error:e.message}}}},44373:(e,s,a)=>{a.r(s),a.d(s,{addToWaitlist:()=>d,app:()=>n,db:()=>o});var i=a(23915),t=a(1834);let n=(0,i.Wp)({apiKey:"AIzaSyACYkWM-KU63A_B-gzN6_73pUiJqi9h_F4",authDomain:"bepay-3d505.firebaseapp.com",projectId:"bepay-3d505",storageBucket:"bepay-3d505.firebasestorage.app",messagingSenderId:"229082034658",appId:"1:229082034658:web:fd78bcbf484fc160afc9bb"}),o=(0,t.getFirestore)(n),d=async function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/personal";try{let a="waitlistPersonal",i="personal";s.includes("business")?(a="waitlistBusiness",i="business"):s.includes("upi")&&(a="waitlistUpi",i="upi");let n=(0,t.query)((0,t.collection)(o,a),(0,t.where)("email","==",e));if(!(await (0,t.getDocs)(n)).empty)throw Error("Email already exists in this waitlist");let d=localStorage.getItem("campaignId");return{id:(await (0,t.addDoc)((0,t.collection)(o,a),{email:e,campaignId:d,timestamp:new Date,source:i})).id,campaignId:d}}catch(e){throw e}}},67718:(e,s,a)=>{a.r(s),a.d(s,{default:()=>m});var i=a(95155),t=a(11518),n=a.n(t),o=a(12115),d=a(47650),r=a(60760),l=a(58918),c=a(54416);a(66766);var f=a(10608),p=a(29806),g=a(78874);function m(e){let{isOpen:s,onClose:a}=e,[t,n]=(0,o.useState)(!1),r=void 0!==s?s:t;return((0,o.useEffect)(()=>{void 0!==s&&n(s)},[s]),(0,o.useEffect)(()=>(r?(document.body.style.overflow="hidden",g.c.sendEvent("get_started_popup_viewed")):document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[r]),r)?(0,d.createPortal)((0,i.jsx)(x,{onClose:()=>{g.c.sendEvent("get_started_popup_closed"),a?a():n(!1)}}),document.body):null}function x(e){let{onClose:s}=e,[a,t]=(0,o.useState)(""),[d,m]=(0,o.useState)(""),[x,h]=(0,o.useState)(""),[u,b]=(0,o.useState)(""),[y,j]=(0,o.useState)(()=>p.X.find(e=>"in"===e.iso2)||p.X[0]),[w,v]=(0,o.useState)(""),[z,k]=(0,o.useState)(!1),[_,E]=(0,o.useState)(!1),[S,I]=(0,o.useState)(""),N=async e=>{if(e.preventDefault(),!z&&!_){if(!a||!d)return void I("Please fill in name and email.");if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d))return void I("Please enter a valid email.");if(!w||w.length<7||w.length>15)return void I("Please enter a valid phone number (7-15 digits).");k(!0),I(""),g.c.sendEvent("get_started_submit_clicked");try{let e={name:a,email:d,phone:"".concat(y.dial_code," ").concat(w),company:x,message:u,source:"get-started"},i=await (0,f.M9)(e);i&&i.success?(E(!0),g.c.sendEvent("get_started_submission_success",{id:i.id,email:d}),setTimeout(()=>{s()},2500)):(I(i.message||"Submission failed. Please try again."),g.c.sendEvent("get_started_submission_failed",{error:i&&i.error}))}catch(e){I(e.message||"Submission failed. Please try again."),g.c.sendEvent("get_started_submission_failed",{error:e.message})}finally{k(!1)}}};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.N,{children:(0,i.jsx)(l.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},style:{position:"fixed",inset:0,width:"100vw",height:"100dvh",zIndex:0x7fffffff,display:"flex",alignItems:"center",justifyContent:"center",padding:"1rem",backgroundColor:"rgba(0, 0, 0, 0.6)",backdropFilter:"blur(8px)",WebkitBackdropFilter:"blur(8px)",overflowY:"auto"},onClick:s,children:(0,i.jsxs)(l.P.div,{initial:{scale:.95,opacity:0,y:10},animate:{scale:1,opacity:1,y:0},exit:{scale:.95,opacity:0,y:10},transition:{type:"spring",duration:.3},style:{width:"100%",maxWidth:"46rem",backgroundColor:"#ffffff",borderRadius:"24px",boxShadow:"0 20px 40px -10px rgba(0, 0, 0, 0.2)",overflow:"visible",zIndex:0x7fffffff,padding:"1.5rem",position:"relative"},className:"gs-modal",onClick:e=>e.stopPropagation(),children:[(0,i.jsx)("button",{"aria-label":"Close",onClick:s,style:{position:"absolute",right:12,top:12,background:"transparent",border:"none",cursor:"pointer"},className:"jsx-2d6c10fda0a76ff4",children:(0,i.jsx)(c.A,{color:"#6B7280"})}),(0,i.jsx)("div",{className:"jsx-2d6c10fda0a76ff4 gs-modal-inner",children:(0,i.jsxs)("div",{className:"jsx-2d6c10fda0a76ff4 gs-modal-body",children:[(0,i.jsxs)("div",{style:{textAlign:"left",padding:"0 0 0.5rem"},className:"jsx-2d6c10fda0a76ff4",children:[(0,i.jsx)("h2",{style:{fontFamily:"'Montserrat', sans-serif",fontWeight:600,fontSize:"24px",margin:0},className:"jsx-2d6c10fda0a76ff4 gs-title",children:"Leave us a message"}),(0,i.jsx)("p",{style:{fontSize:"14px",color:"#6B7280",marginTop:"6px"},className:"jsx-2d6c10fda0a76ff4 gs-subtitle",children:"Share your details, and our team will get back to you within 24 hours."})]}),(0,i.jsx)("form",{onSubmit:N,style:{marginTop:"1rem"},className:"jsx-2d6c10fda0a76ff4",children:(0,i.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr",gap:"0.75rem"},className:"jsx-2d6c10fda0a76ff4",children:[(0,i.jsxs)("div",{className:"jsx-2d6c10fda0a76ff4",children:[(0,i.jsx)("label",{htmlFor:"gs-name",className:"jsx-2d6c10fda0a76ff4 gs-field-label",children:"Name*"}),(0,i.jsx)("input",{id:"gs-name",value:a,onChange:e=>t(e.target.value),placeholder:"Enter your name",style:{width:"100%",maxWidth:"100%",height:44,padding:"0 1rem",borderRadius:8,border:"1px solid #E5E7EB",boxSizing:"border-box"},className:"jsx-2d6c10fda0a76ff4 gs-input-field"})]}),(0,i.jsxs)("div",{className:"jsx-2d6c10fda0a76ff4",children:[(0,i.jsx)("label",{htmlFor:"gs-email",className:"jsx-2d6c10fda0a76ff4 gs-field-label",children:"Email*"}),(0,i.jsx)("input",{id:"gs-email",value:d,onChange:e=>m(e.target.value),placeholder:"Enter your email",style:{width:"100%",maxWidth:"100%",height:44,padding:"0 1rem",borderRadius:8,border:"1px solid #E5E7EB",boxSizing:"border-box"},className:"jsx-2d6c10fda0a76ff4 gs-input-field"})]}),(0,i.jsxs)("div",{className:"jsx-2d6c10fda0a76ff4",children:[(0,i.jsx)("label",{htmlFor:"gs-phone",className:"jsx-2d6c10fda0a76ff4 gs-field-label",children:"Phone number*"}),(0,i.jsxs)("div",{role:"group","aria-label":"Phone input",className:"jsx-2d6c10fda0a76ff4 gs-phone-control",children:[(0,i.jsxs)("div",{className:"jsx-2d6c10fda0a76ff4 gs-phone-left",children:[(0,i.jsx)("span",{className:"jsx-2d6c10fda0a76ff4 gs-dial-code-display",children:y.dial_code}),(0,i.jsx)("select",{value:y.iso2,onChange:e=>j(p.X.find(s=>s.iso2===e.target.value)),"aria-label":"Country code",className:"jsx-2d6c10fda0a76ff4 gs-country-select",children:p.X.map(e=>(0,i.jsx)("option",{value:e.iso2,className:"jsx-2d6c10fda0a76ff4",children:"".concat(e.name," (").concat(e.dial_code,")")},e.iso2))})]}),(0,i.jsx)("div",{"aria-hidden":"true",className:"jsx-2d6c10fda0a76ff4 gs-phone-divider"}),(0,i.jsx)("input",{id:"gs-phone",value:w,onChange:e=>{let s=e.target.value.replace(/\D/g,"");s.length<=15&&v(s)},placeholder:"Enter phone number",type:"tel",className:"jsx-2d6c10fda0a76ff4 gs-phone-input"})]})]}),(0,i.jsxs)("div",{className:"jsx-2d6c10fda0a76ff4",children:[(0,i.jsx)("label",{htmlFor:"gs-company",className:"jsx-2d6c10fda0a76ff4 gs-field-label",children:"Company name*"}),(0,i.jsx)("input",{id:"gs-company",value:x,onChange:e=>h(e.target.value),placeholder:"Tell us your company's name",style:{width:"100%",maxWidth:"100%",height:44,padding:"0 1rem",borderRadius:8,border:"1px solid #E5E7EB",boxSizing:"border-box"},className:"jsx-2d6c10fda0a76ff4 gs-input-field"})]}),(0,i.jsxs)("div",{className:"jsx-2d6c10fda0a76ff4",children:[(0,i.jsx)("label",{htmlFor:"gs-message",className:"jsx-2d6c10fda0a76ff4 gs-field-label",children:"Message*"}),(0,i.jsx)("textarea",{id:"gs-message",value:u,onChange:e=>b(e.target.value),placeholder:"Write your message here....",rows:5,style:{width:"100%",maxWidth:"100%",padding:"0.75rem 1rem",borderRadius:8,border:"1px solid #E5E7EB",resize:"vertical",boxSizing:"border-box"},className:"jsx-2d6c10fda0a76ff4 gs-input-field"})]}),(0,i.jsx)("div",{style:{fontSize:11,color:"#6B7280"}
1,className:"jsx-2d6c10fda0a76ff4",children:"By submitting this form, you agree to be contacted by our team. We respect your privacy; please read our Privacy Policy. If you wish to opt-out of future communications, please let us know via email.              "}),S&&(0,i.jsx)("div",{style:{color:"#ef4444",fontSize:13},className:"jsx-2d6c10fda0a76ff4",children:S}),(0,i.jsxs)("button",{type:"submit",disabled:z,style:{display:"flex",gap:8,alignItems:"center",justifyContent:"center",background:"#000",color:"#fff",height:48,borderRadius:999,border:"none",cursor:z?"not-allowed":"pointer"},className:"jsx-2d6c10fda0a76ff4 gs-submit-btn",children:[(0,i.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",className:"jsx-2d6c10fda0a76ff4",children:[(0,i.jsx)("path",{d:"M22 2L11 13",className:"jsx-2d6c10fda0a76ff4"}),(0,i.jsx)("path",{d:"M22 2l-7 20-4-9-9-4 20-7z",className:"jsx-2d6c10fda0a76ff4"})]}),(0,i.jsx)("span",{className:"jsx-2d6c10fda0a76ff4",children:z?"Sending...":"Send message"})]})]})}),_&&(0,i.jsx)("div",{style:{marginTop:12,textAlign:"center",color:"#10B981"},className:"jsx-2d6c10fda0a76ff4",children:"Thanks — we will get back to you soon."})]})})]})})}),(0,i.jsx)(n(),{id:"2d6c10fda0a76ff4",children:"@media(min-width:1024px){.gs-title.jsx-2d6c10fda0a76ff4{font-family:\"Montserrat\",sans-serif;font-weight:600;font-style:normal;font-size:56px;leading-trim:cap-height;line-height:100%;letter-spacing:-.04em;margin:0;text-align:left}.gs-subtitle.jsx-2d6c10fda0a76ff4{font-family:\"Montserrat\",sans-serif;font-weight:500;font-style:normal;font-size:16px;leading-trim:cap-height;line-height:100%;letter-spacing:-.02em;color:#333;margin-top:6px;text-align:left}.gs-field-label.jsx-2d6c10fda0a76ff4{display:block;font-family:\"Montserrat\",sans-serif;font-weight:600;font-style:normal;font-size:14px;leading-trim:cap-height;line-height:100%;letter-spacing:-.04em;margin-bottom:8px;color:#000;text-align:left}}.gs-phone-control.jsx-2d6c10fda0a76ff4{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:12px;width:100%;border:1px solid#E6E6E6;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;padding:8px 12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;background:#fff}.gs-phone-left.jsx-2d6c10fda0a76ff4{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;position:relative;min-width:60px}.gs-dial-code-display.jsx-2d6c10fda0a76ff4{font-size:14px;color:#333;pointer-events:none;padding-right:18px;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L2 4h8z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:right center}.gs-country-select.jsx-2d6c10fda0a76ff4{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;cursor:pointer}.gs-phone-divider.jsx-2d6c10fda0a76ff4{width:1px;height:32px;background:#E6E6E6}.gs-phone-input.jsx-2d6c10fda0a76ff4{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;border:none;outline:none;padding:8px 0;font-size:14px}.gs-phone-input.jsx-2d6c10fda0a76ff4::-webkit-input-placeholder{color:#BDBDBD}.gs-phone-input.jsx-2d6c10fda0a76ff4:-moz-placeholder{color:#BDBDBD}.gs-phone-input.jsx-2d6c10fda0a76ff4::-moz-placeholder{color:#BDBDBD}.gs-phone-input.jsx-2d6c10fda0a76ff4:-ms-input-placeholder{color:#BDBDBD}.gs-phone-input.jsx-2d6c10fda0a76ff4::-ms-input-placeholder{color:#BDBDBD}.gs-phone-input.jsx-2d6c10fda0a76ff4::placeholder{color:#BDBDBD}.gs-modal.jsx-2d6c10fda0a76ff4{width:100%;max-width:46rem;background:#fff;-webkit-border-radius:24px;-moz-border-radius:24px;border-radius:24px;-webkit-box-shadow:0 20px 40px -10px rgba(0,0,0,.2);-moz-box-shadow:0 20px 40px -10px rgba(0,0,0,.2);box-shadow:0 20px 40px -10px rgba(0,0,0,.2);z-index:2147483647;padding:1.5rem;position:relative;overflow:visible;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.gs-modal-inner.jsx-2d6c10fda0a76ff4{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%}.gs-modal-body.jsx-2d6c10fda0a76ff4{width:100%}@media(max-width:1023px){.gs-modal.jsx-2d6c10fda0a76ff4{max-height:80vh}.gs-modal-inner.jsx-2d6c10fda0a76ff4{max-height:80vh;overflow:hidden}.gs-modal-body.jsx-2d6c10fda0a76ff4{overflow-y:auto;-webkit-overflow-scrolling:touch;padding-right:8px}}@media(max-width:400px){.gs-modal.jsx-2d6c10fda0a76ff4{padding:1rem!important;width:90%!important;margin:0 auto}.gs-modal-inner.jsx-2d6c10fda0a76ff4,.gs-modal-body.jsx-2d6c10fda0a76ff4{width:100%;max-width:100%;overflow-x:hidden}}@media(max-width:360px){.gs-input-field.jsx-2d6c10fda0a76ff4{width:90%!important;margin-left:0!important}.gs-phone-control.jsx-2d6c10fda0a76ff4{width:90%!important;margin-left:0!important}.gs-submit-btn.jsx-2d6c10fda0a76ff4{width:90%!important;margin-left:0!important}.gs-input-field.jsx-2d6c10fda0a76ff4::-webkit-input-placeholder{font-size:10px}.gs-input-field.jsx-2d6c10fda0a76ff4:-moz-placeholder{font-size:10px}.gs-input-field.jsx-2d6c10fda0a76ff4::-moz-placeholder{font-size:10px}.gs-input-field.jsx-2d6c10fda0a76ff4:-ms-input-placeholder{font-size:10px}.gs-input-field.jsx-2d6c10fda0a76ff4::-ms-input-placeholder{font-size:10px}.gs-input-field.jsx-2d6c10fda0a76ff4::placeholder{font-size:10px}.gs-phone-input.jsx-2d6c10fda0a76ff4::-webkit-input-placeholder{font-size:10px}.gs-phone-input.jsx-2d6c10fda0a76ff4:-moz-placeholder{font-size:10px}.gs-phone-input.jsx-2d6c10fda0a76ff4::-moz-placeholder{font-size:10px}.gs-phone-input.jsx-2d6c10fda0a76ff4:-ms-input-placeholder{font-size:10px}.gs-phone-input.jsx-2d6c10fda0a76ff4::-ms-input-placeholder{font-size:10px}.gs-phone-input.jsx-2d6c10fda0a76ff4::placeholder{font-size:10px}}@media(max-width:332px){.gs-input-field.jsx-2d6c10fda0a76ff4{width:85%!important}.gs-phone-control.jsx-2d6c10fda0a76ff4{width:85%!important}.gs-submit-btn.jsx-2d6c10fda0a76ff4{width:85%!important}}"})]})}},78874:(e,s,a)=>{a.d(s,{c:()=>t});var i=a(51368);class t{static init(e){!e||this.isInitialized||this._initPromise||(this._initPromise=Promise.all([a.e(9933),a.e(9641)]).then(a.bind(a,8390)).then(s=>{let{default:a}=s;a.init(e,{debug:!1,persistence:"localStorage",autotrack:!1}),this._mixpanel=a,this.isInitialized=!0,console.log("Mixpanel Initialized");
1let i=this._pendingEvents;this._pendingEvents=[],i.forEach(e=>{let{eventName:s,params:a}=e;return this.sendEvent(s,a)})}))}static startSession(){let e=sessionStorage.getItem("sessionId");if(e)console.log("[Analytics] Session Resumed: ".concat(e));else{let e=(0,i.A)(),s=new Date().getTime();sessionStorage.setItem("sessionId",e),sessionStorage.setItem("sessionStartTime",s),console.log("[Analytics] New Session Started: ".concat(e))}}static getSessionData(){return{sessionId:sessionStorage.getItem("sessionId"),sessionStartTime:sessionStorage.getItem("sessionStartTime")}}static getDistinctId(){try{var e;return null==(e=this._mixpanel)?void 0:e.get_distinct_id()}catch(e){return console.error("err",e),null}}static createWaitlistUser(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1],this.isInitialized&&this._mixpanel)try{let s=this._mixpanel,a=s.get_distinct_id()||e;s.identify(a),s.people.set({$email:e,created_at:new Date().toISOString(),source:"waitlist"}),console.log("[Analytics] Waitlist user created: ".concat(e,", distinctId: ").concat(a))}catch(e){console.error("[Analytics] Error creating waitlist user:",e)}}static async sendEvent(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized||!this._mixpanel)return void(this._initPromise?(this._pendingEvents.push({eventName:e,params:s}),console.log("[Analytics] Queued until ready: ".concat(e))):console.warn("Analytics not initialized yet. Event dropped:",e));try{let a=this._mixpanel;await (null==a?void 0:a.get_distinct_id());let{sessionId:i}=this.getSessionData(),t={...s,sessionId:i};this.checkcampaignId(),console.log("[Analytics Event]: ".concat(e),t),a.track(e,t)}catch(e){console.error("[Analytics] Error sending event:",e)}}static checkcampaignId(){if(!this._mixpanel)return;let e=this._mixpanel;try{let s=localStorage.getItem("campaignId");s?e.get_property("campaignId")!==s&&(e.register({campaignId:s}),console.log("✅ campaignId registered:",s)):e.get_property("campaignId")&&(e.unregister("campaignId"),console.log("\uD83D\uDDD1️ campaignId unregistered"))}catch(e){console.error("[Analytics] Error checking campaignId:",e)}}static endSession(){if(!this.isInitialized||!this._mixpanel)return;let{sessionId:e,sessionStartTime:s}=this.getSessionData();if(e&&s){let a=Math.round((new Date().getTime()-parseInt(s,10))/1e3);this._mixpanel.track("Session End",{sessionId:e,sessionDuration_seconds:a},{transport:"sendBeacon"}),localStorage.removeItem("campaignId"),sessionStorage.removeItem("sessionId"),sessionStorage.removeItem("sessionStartTime"),console.log("[Analytics] Session End event queued via sendBeacon. Duration: ".concat(a,"s"))}}static reset(){this.isInitialized&&this._mixpanel&&(this._mixpanel.reset(),console.log("Mixpanel instance has been reset."))}}t.isInitialized=!1,t._mixpanel=null,t._initPromise=null,t._pendingEvents=[]}}]);

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.