PageSourceSearch

https://www.phonepe.com/webstatic/14967/component---src-pages-busi…m-register-index-js-6eb5381db4ca10552ee9.js

js phonepe.com collected 2026-09-24 07:26:15 UTC 7,318 bytes, 1 lines download raw bytes

1(self.webpackChunkphonepe_website=self.webpackChunkphonepe_website||[]).push([[3593],{57849:function(e,t,n){var o=n(1466),r=n(13838),a=TypeError;e.exports=function(e){if(o(e))return e;throw a(r(e)+" is not a constructor")}},1466:function(e,t,n){var o=n(30281),r=n(92074),a=n(78420),i=n(83062),s=n(56492),l=n(69965),c=function(){},u=[],d=s("Reflect","construct"),m=/^\s*(?:class|function)\b/,p=o(m.exec),f=!m.exec(c),h=function(e){if(!a(e))return!1;try{return d(c,u,e),!0}catch(t){return!1}},v=function(e){if(!a(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!p(m,l(e))}catch(t){return!0}};v.sham=!0,e.exports=!d||r(function(){var e;return h(h.call)||!h(Object)||!h(function(){e=!0})||e})?v:h},39836:function(e,t,n){"use strict";var o=n(24601),r=TypeError,a=function(e){var t,n;this.promise=new e(function(e,o){if(void 0!==t||void 0!==n)throw r("Bad Promise constructor");t=e,n=o}),this.resolve=o(t),this.reject=o(n)};e.exports.f=function(e){return new a(e)}},2413:function(e,t,n){var o=n(30200);e.exports=o.Promise},9803:function(e,t,n){var o=n(73938),r=n(65335),a=n(39836);e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},23444:function(e,t,n){var o=n(73938),r=n(57849),a=n(88406),i=n(31602)("species");e.exports=function(e,t){var n,s=o(e).constructor;return void 0===s||a(n=o(s)[i])?t:r(n)}},83396:function(e,t,n){"use strict";var o=n(51605),r=n(6926),a=n(2413),i=n(92074),s=n(56492),l=n(78420),c=n(23444),u=n(9803),d=n(7485),m=a&&a.prototype;if(o({target:"Promise",proto:!0,real:!0,forced:!!a&&i(function(){m.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=c(this,s("Promise")),n=l(e);return this.then(n?function(n){return u(t,e()).then(function(){return n})}:e,n?function(n){return u(t,e()).then(function(){throw n})}:e)}}),!r&&l(a)){var p=s("Promise").prototype.finally;m.finally!==p&&d(m,"finally",p,{unsafe:!0})}},56686:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return b}});var o=n(96540),r=n(30978),a=n(4870),i=n(52862),s=n(77528),l=n(28007),c=n(98192),u=n(35290),d=n(99147);const m=[{name:"heading2",type:"heading",fontSize:"30px",value:"Sign up as a PhonePe PG Partner!",space:0,customClassName:"partner-form-heading"},{name:"Name",type:"text",placeholder:"Enter Name*",isRequired:!0,errorMsg:"Name should not be empty"},{name:"City__c",type:"text",placeholder:"Enter City*",isRequired:!0,errorMsg:"Please enter valid City Name"},{name:"Nature_Of_Business__c",type:"dropdown",label:"Choose the Nature of Your Business",placeholder:"Choose the Nature of Your Business*",isRequired:!0,options:[{code:"Proprietorship",label:"Proprietorship"},{code:"Individual",label:"Individual"},{code:"Partnerships",label:"Partnerships"},{code:"Private Limited",label:"Private Limited"},{code:"Public Limited",label:"Public Limited"},{code:"LLP",label:"LLP"},{code:"Educational Institutes",label:"Educational Institutes"},{code:"Trust",label:"Trust"},{code:"Society",label:"Society"},{code:"HUF",label:"HUF"},{code:"Others",label:"Others"}],errorMsg:"Please select Nature of Business"},{name:"Business_Type__c",type:"dropdown",label:"Select the Type of Your Business",placeholder:"Select the Type of Your Business*",isRequired:!0,options:[{code:"Web Developer",label:"Web Developer"},{code:"Digital Marketing Agency",label:"Digital Marketing Agency"},{code:"SaaS",label:"SaaS"},{code:"PaaS",label:"PaaS"},{code:"ERP",label:"ERP"},{code:"Freelancer",label:"Freelancer"}],errorMsg:"Please select Type of Business"},{name:"Email__c",type:"text",placeholder:"Enter Email ID*",validationType:"function",validation:e=>(0,d.Kb)(e)?"":"Invalid email id value!",errorMsg:"Email id should not be empty!"},{name:"Phone",type:"text",placeholder:"Enter 10 Digit Mobile Number*",isRequired:!0,validationType:"function",validation:e=>(0,d.Ey)(e)?"":"Invalid mobile number value!",errorMsg:"Mobile number should not be empty!",customType:"mobile"},{name:"otp",type:"text",label:"Enter OTP",isRequired:!0,maxLength:"5",minLength:"5",step:2,customType:"otp",validationType:"regex",validation:/^[0-9]+$/,autoComplete:"off",autoCorrect:"off",errorMsgValidation:"OTP must contain only digits"}];
1var p=n(79613),f=n(60647),h=(n(83396),n(72505)),v=n.n(h);var y=()=>{const{0:e,1:t}=(0,o.useState)(""),{0:n,1:r}=(0,o.useState)(""),{0:a,1:i}=(0,o.useState)("");return(0,o.useEffect)(()=>{e||r("")},[e]),o.createElement(p.A,{fields:m,formState:e,onSubmit:function(e,n,o){let{gotoNextStep:s,formStep:l}=n,{isResend:m,resetResend:p}=o;r(""),(0,u.VR)(f.Ay.Mercahnt_onboard,1===l?f.Ay.Send_OTP_Click:m?f.Ay.Resend_OTP_Click:f.Ay.Submit_Form_Click);let h="",y={};if(1===l||m)h=c.f_,y={number:e.Phone,captcha:e.captcha,captchaType:e.captchaType,fingerprint:window.fingerprint};else if(2===l){var b;h=c.ui,y=Object.assign({},e,{otpToken:a,utm_source__c:null!==(b=sessionStorage.getItem("utm_source"))&&void 0!==b?b:""})}(e=>{let{url:t,body:n,isResend:o,formStep:r,gotoNextStep:a,resetResend:i,setOtpToken:s,setFormState:l,setFormMsg:c}=e;v().post(t,n,{headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>{var t,n;if(o||1===r)"ok"===(null===(n=e.data)||void 0===n?void 0:n.status)?(s(e.data.otpToken),o?l("resend"):(a(),l("step2"))):(l("fail"),c("Something went wrong! Please try again after some time."));else if(2===r&&"ok"===(null===(t=e.data)||void 0===t?void 0:t.status)){try{(0,d.rs)("gclid")&&window&&window.dataLayer&&window.dataLayer.push({event:"pg_partner_form_submit_click"}),(0,d.rs)("fbclid")&&window&&window.fbq("track","PG_PARTNER_FORM_SUBMISSION_SUCCESS_META"),(0,d.kT)()&&window&&window.dataLayer&&window.dataLayer.push({event:"pg_form_submit_click_twitter_ads"})}catch(i){console.log("ERROR_SENDING_EVENT")}l("success"),c("Your form has been submitted successfully")}}).catch(e=>{var t,n,o;const r=e.response||{};"invalid"===(null===(t=r.data)||void 0===t?void 0:t.status)||"invalid otpToken"===(null===(n=r.data)||void 0===n?void 0:n.status)?c("Something went wrong! Please try again after some time."):"invalid OTP"===(null===(o=r.data)||void 0===o?void 0:o.status)?c("Please enter valid OTP"):c("Something went wrong! Please try again after some time."),l("fail")}).finally(()=>{o&&i()})})({url:h,body:y,isResend:m,formStep:l,gotoNextStep:s,resetResend:p,setOtpToken:i,setFormState:t,setFormMsg:r})},formMsg:n,disableForm:"success"===e,totalSteps:2,resetFormState:()=>t(""),submitTextList:["Send OTP","Submit"],requireDpop:!0,tncText:"By continuing, you allow PhonePe to call you and provide assistance related to PhonePe PG Partner Program. "})};var b=()=>{const e=(0,l.useStaticQuery)("45666167"),t=(0,r.w)((0,r.c)(e.desktopImage),[{media:"(max-width: 600px)",image:(0,r.c)(e.mobileImage)}]);return o.createElement(i.A,{showPADisclaimer:!0},o.createElement(s.A,{title:"Sign up as a PhonePe PG Partner!",description:"",url:"https://www.phonepe.com"+c.au}),o.createElement(a.A,null,o.createElement("div",{className:"merchant-onboarding"},o.createElement("div",{className:"merchant-onboarding-form-main"},o.createElement("div",{className:"merchant-onboarding-form-form"},o.createElement(y,null)),o.createElement("div",{className:"merchant-onboarding-form-image"},o.createElement(r.G,{alt:"",image:t,className:""}))))))}}}]);

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.