PageSourceSearch

https://www.smartemailextractor.com/_next/static/chunks/pages/payment-6041f1741a2d1960.js

js smartemailextractor.com collected 2026-10-06 12:09:58 UTC 17,135 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8252],{11752:function(e,t,n){e.exports=n(91877)},27864:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/payment",function(){return n(18269)}])},35033:function(e,t,n){"use strict";var i=n(34155);n(91479);var r=n(67294),s=r&&"object"==typeof r&&"default"in r?r:{default:r};function a(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var o=void 0!==i&&i.env&&!0,l=function(e){return"[object String]"===Object.prototype.toString.call(e)},c=function(){function e(e){var t=void 0===e?{}:e,n=t.name,i=void 0===n?"stylesheet":n,r=t.optimizeForSpeed,s=void 0===r?o:r;u(l(i),"`name` must be a string"),this._name=i,this._deletedRulePlaceholder="#"+i+"-deleted-rule____{}",u("boolean"==typeof s,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=s,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var a=document.querySelector('meta[property="csp-nonce"]');this._nonce=a?a.getAttribute("content"):null}var t,n=e.prototype;return n.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},n.isOptimizeForSpeed=function(){return this._optimizeForSpeed},n.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(o||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},n.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},n.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},n.insertRule=function(e,t){if(u(l(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return o||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var i=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,i))}return this._rulesCount++},n.replaceRule=function(e,t){if(this._optimizeForSpeed){var n=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(i){o||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var i=this._tags[e];u(i,"old rule at index `"+e+"` not found"),i.textContent=t}return e},n.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},n.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},n.cssRules=function(){var e=this;return this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},n.makeStyleTag=function(e,t,n){t&&u(l(t),"makeStyleTag accepts only strings as second parameter");var i=document.createElement("style");this._nonce&&i.setAttribute("nonce",this._nonce),i.type="text/css",i.setAttribute("data-"+e,""),t&&i.appendChild(document.createTextNode(t));var r=document.head||document.getElementsByTagName("head")[0];return n?r.insertBefore(i,n):r.appendChild(i),i},a(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),t&&a(e,t),e}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},p={};function h(e,t){if(!t)return"jsx-"+e;var n=String(t),i=e+n;return p[i]||(p[i]="jsx-"+d(e+"-"+n)),p[i]}function m(e,t){var n=e+t;return p[n]||(p[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),p[n]}var _=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,i=void 0===n?null:n,r=t.optimizeForSpeed,s=void 0!==r&&r;this._sheet=i||new c({name:"styled-jsx",optimizeForSpeed:s}),this._sheet.inject(),i&&"boolean"==typeof s&&(this._sheet.setOptimizeForSpeed(s),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),i=n.styleId,r=n.rules;if(i in this._instancesCounts){this._instancesCounts[i]+=1;return}var s=r.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[i]=s,this._instancesCounts[i]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var i=this._fromServer&&this._fromServer[n];i?(i.parentNode.removeChild(i),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],i=e[1];return s.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:i}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,i=e.id;if(n){var r=h(i,n);return{styleId:r,rules:Array.isArray(t)?t.map(function(e){return m(r,e)}):[m(r,t)]}}return{styleId:h(i),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),f=r.createContext(null);f.displayName="StyleSheetContext";var y=s.default.useInsertionEffect||s.default.useLayoutEffect,v=new _;function x(e){var t=v||r.useContext(f);return t&&y(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}x.dynamic=function(e){return e.map(function(e){return h(e[0],e[1])}).join(" ")},t.style=x},69554:function(e,t,n){"use strict";e.exports=n(35033).style},24162:function(e,t,n){"use strict";n.r(t),n.d(t,{Auth:function(){return l}});var i=n(85893),r=n(67294),s=n(26628),a=n(11163),o=n(44173);n(82819),n(34591);let l=e=>{let t=(0,a.useRouter)(),[n,s]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{var n=e.auth;if(console.log("userinfouserinfouserinfo",n),null==n){t.push("/signin?p=".concat(t.asPath));return}if(void 0===n.isFirstPlanSelected){console.log("Auth: waiting for isFirstPlanSelected to be defined",n);return}if(!n){o.Am.error("Please Signin",{position:"top-right",autoClose:5e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0}),t.push("/signin?p=".concat(t.asPath));return}if(!1===e.stopCheckEmailVerification||void 0===e.stopCheckEmailVerification){let e="verified"===String(n.emailverification).toLowerCase(),i=!!n.isFirstPlanSelected;console.log("Auth check:",{isVerified:e,isFirstPlanSelected:i,pathname:t.pathname}),e?i?s(!1):["/account","/account/bulkdomainextractor","/account/transaction","/account/devices","/account/currentplan","/account/edit"].includes(t.pathname)?setTimeout(()=>{t.push("/pricing-plan")},80):s(!1):"/emailverification"===t.pathname?s(!1):t.push("/emailverification")}else s(!1)},[e.auth,e.stopCheckEmailVerification,t.pathname]),(0,i.jsx)(i.Fragment,{children:n?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)("center",{children:"Please wait..."}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{})]}):e.children})};
1t.default=(0,s.$j)(e=>({auth:e.auth}),{})(l)},18269:function(e,t,n){"use strict";n.r(t),n.d(t,{payment_success:function(){return v}});var i=n(85893),r=n(67294),s=n(26628),a=n(74910),o=n(24162);n(41664);var l=n(87066),c=n(44173),u=n(34591),d=n(30381),p=n.n(d),h=n(11163),m=n(75021),_=n(9008),f=n.n(_),y=n(37237);let v=e=>{let t=(0,h.useRouter)(),[n,s]=(0,r.useState)(!1),[d,_]=(0,r.useState)("USD"),[v,x]=(0,r.useState)(!1),[S,g]=(0,r.useState)(!0),[j,b]=(0,r.useState)(!1),[F,N]=(0,r.useState)(!1),[z,C]=(0,r.useState)("IN"),[R,w]=(0,r.useState)(0),[P,k]=(0,r.useState)(""),[E,A]=(0,r.useState)(!1),[T,I]=(0,r.useState)(!1);function O(e){for(var t="ABCDE0123456789FGHITUVWYZ0123456789",n="SE-",i=0;i<e-2;i++)n+=t.charAt(Math.floor(Math.random()*t.length));return n}(0,r.useEffect)(()=>{var e=t.query.code;if(e){let n="IN";l.Z.get("https://ipinfo.io/json?token=".concat("aecf8262625e85")).then(e=>{C(e.data.country),n=e.data.country}).catch(e=>{C(n="IN")}).finally(()=>{C(n),l.Z.get("".concat((0,y.r)(),"/plan/view/").concat(e)).then(e=>{if(e.data.response){var i,r;i=n,r=u.tS(e.data.data),x(!1),"IN"===i?w(r.main_price_inr):w(r.main_price),x(!0),N(u.tS(e.data.data))}else t.push("/pricing")})})}else t.push("/pricing");let n=document.createElement("script");n.type="text/javascript",n.src="https://checkout.razorpay.com/v1/checkout.js",n.async=!0,document.body.appendChild(n)},[]);let B=(n,i)=>{let r={user_id:e.auth._id,order_id:O(15),plan_id:F._id,plan_type:F.plan_type,plan_name:F.plan_name,plan_price:"IN"===z?F.plan_price_inr:F.plan_price,plan_currency:z,plan_duration:F.plan_validity,pay_amount:R,coupon_info:P,payment_method:"PayPal",user_name:e.auth.name,user_email:e.auth.email},s=p()(),a={user_id:e.auth._id,planname:F.plan_name,planmaxupload:F.main_maxinputs,planmaxextract:999999999,planmaxdevice:F.main_maxdevice,planduraction:F.plan_validity,planstart:p()().format(),planend:"demo"===F.plan_type?s.add(F.main_validity_in_month,"days").format():s.add(F.main_validity_in_month,"months").format(),defaultScrollSpeed:F.main_speed,enableScrollSpeed:!0,userScrollSpeed:!0,userExtractSocial:!0};var o=u.mz({insertplan:r,updatePlanInUser:a});l.Z.post("".concat((0,y.r)(),"/user/active_new_plan"),{sme:o}).then(e=>{e.data.response?t.push({pathname:"/payment_success",query:{amount:R,order_id:r.order_id}}):t.push("/payment_failed")})},D=()=>{I(!0);let t={user_id:e.auth._id,order_id:O(15),plan_id:F._id,plan_type:F.plan_type,plan_name:F.plan_name,plan_price:"IN"===z?F.plan_price_inr:F.plan_price,plan_currency:z,plan_duration:F.plan_validity,pay_amount:R,coupon_info:P,payment_method:"Razorpay",user_name:e.auth.name,user_email:e.auth.email},n=p()(),i={user_id:e.auth._id,planname:F.plan_name,planmaxupload:F.main_maxinputs,planmaxextract:999999999,planmaxdevice:F.main_maxdevice,planduraction:F.plan_validity,planstart:p()().format(),planend:"demo"===F.plan_type?n.add(F.main_validity_in_month,"days").format():n.add(F.main_validity_in_month,"months").format(),defaultScrollSpeed:F.main_speed,enableScrollSpeed:!0,userScrollSpeed:!0,userExtractSocial:!0};var r=u.mz({insertplan:t,updatePlanInUser:i});l.Z.post("".concat((0,y.r)(),"/user/generate_payment_link"),{sme:r}).then(e=>{console.log(e.data),e.data.response?window.location.href="https://smartemailextractorpayment.smartbulkemailsender.com/payment/"+e.data.token:(c.Am.error("Failed please try again",{theme:"colored"}),I(!1))})};return(0,i.jsxs)(a.default,{children:[(0,i.jsx)(f(),{children:(0,i.jsx)("title",{children:"Payment"})}),(0,i.jsx)(o.default,{children:(0,i.jsx)("div",{id:"contact",className:"contact-us-area default-padding",children:(0,i.jsxs)("div",{className:"container col-md-7 col-lg-6 col-xl-3 mt-5 mb-5",children:[(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),F?(0,i.jsxs)("div",{className:"row",style:{padding:"60px",boxShadow:"rgb(8, 8, 8) 0px -2px 32px -28px",borderRadius:"5px",border:"1px solid #e5e5e5"},children:[(0,i.jsxs)("div",{className:"col-md-12",children:[(0,i.jsx)("h2",{className:"mb-4",children:"Order Summary"}),(0,i.jsxs)("p",{style:{fontSize:"25px",marginBottom:"9px",marginTop:"5px"},children:[(0,i.jsx)("b",{style:{fontWeight:"600"},children:F.plan_name}),(0,i.jsxs)("span",{className:"float-right",children:["monthly"!==F.plan_type&&"monthly_business"!==F.plan_type&&(0,i.jsx)("s",{style:{color:"#a3a3a3",fontSize:"17px"},children:"IN"===z?F.plan_price_inr:F.plan_price}),"IN"===z?F.discount_amount_inr_int:F.discount_amount_usd_int]})]}),"demo"!==F.plan_type&&(0,i.jsxs)("p",{style:{marginBottom:"2px",fontSize:"15px"},children:["- ",F.main_validity_in_month," ","demo"===F.plan_type?"Day":"Month"," Validity"]}),(0,i.jsx)("p",{style:{marginBottom:"2px",fontSize:"15px"},children:"- Unlimited Extraction"}),(0,i.jsxs)("p",{style:{marginBottom:"2px",fontSize:"15px"},children:["- Max ",F.plan_maxinputs," inputs"]}
1),(0,i.jsxs)("p",{style:{marginBottom:"2px",fontSize:"15px"},children:["- ",F.main_maxdevice," Devices"]}),(0,i.jsxs)("p",{style:{marginBottom:"2px",fontSize:"15px"},children:["- ",F.main_speed,"x Speed"]})]}),(0,i.jsxs)("div",{className:"col-md-12",children:[(0,i.jsx)("br",{}),(0,i.jsx)("hr",{}),(0,i.jsxs)("p",{className:"float-right",style:{fontSize:"29px",marginTop:"28px"},children:["Total: ","IN"===z?"₹":"$",(0,i.jsx)("span",{children:u.VF(R)})]})]}),(0,i.jsx)("div",{className:"col-md-12 mt-3",children:(0,i.jsxs)("div",{children:[(0,i.jsx)("center",{children:"IN"===z?(0,i.jsxs)(i.Fragment,{children:[T?(0,i.jsxs)("center",{children:[(0,i.jsx)("img",{src:"/assets/loading-buffering.gif",style:{width:"50px",marginTop:"50px"}}),(0,i.jsx)("h4",{className:"mt-3",children:(0,i.jsx)("b",{children:"Your payment is being processed... "})}),(0,i.jsx)("p",{children:"Please stay on this page and do not close the browser."})]}):(0,i.jsx)("button",{className:"button987hy77",onClick:()=>D(),children:"Pay"}),(0,i.jsx)("br",{}),(0,i.jsx)("img",{src:"/assets/paymentpart1.png",className:"w-100 mt-5"})]}):j?(0,i.jsxs)("center",{children:[(0,i.jsx)("img",{src:"/assets/loading-buffering.gif",style:{width:"50px",marginTop:"50px"}}),(0,i.jsx)("h4",{className:"mt-3",children:(0,i.jsx)("b",{children:"Your payment is being processed... "})}),(0,i.jsx)("p",{children:"Please stay on this page and do not close the browser."})]}):(0,i.jsxs)(i.Fragment,{children:[S&&(0,i.jsx)("center",{children:"PayPal is getting ready, please wait..."}),(0,i.jsx)(m.Vv,{options:{"client-id":"AYEqgpLz-9KcvmZPeZ-pqNyLBgpPUrx66NvgS5B714G2jCgGUimCdDIH2xVEQySyBqQAGuiQRx4LzDvM",components:"buttons",currency:"USD"},children:(0,i.jsx)(m.ch,{onInit:()=>g(!1),forceReRender:[Number(R).toFixed(2),d],createOrder:(e,t)=>t.order.create({purchase_units:[{amount:{value:Number(R).toFixed(2),currency_code:"USD"},custom_id:O(15),description:"".concat((null==F?void 0:F.plan_name)||"Plan"," purchase")}]}),onApprove:(e,n)=>n.order.capture().then(e=>{var n,i,r,s,a,o;let l=String((null==e?void 0:e.status)||"").toUpperCase();if(l&&"COMPLETED"!==l){t.push("/payment_failed");return}let c=Number(null==e?void 0:null===(o=e.purchase_units)||void 0===o?void 0:null===(a=o[0])||void 0===a?void 0:null===(s=a.payments)||void 0===s?void 0:null===(r=s.captures)||void 0===r?void 0:null===(i=r[0])||void 0===i?void 0:null===(n=i.amount)||void 0===n?void 0:n.value),u=Number.isFinite(c)&&c>0?c:Number(R);b(!0),B(u)}).catch(e=>{console.error("PayPal capture error",e),t.push("/payment_failed")}),onError:e=>{console.error("PayPal Checkout onError:",e)}})})]})}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)("p",{className:"h6871q028",children:"\uD83D\uDD52 Why wait? Hit ‘Pay’ and start extracting in seconds."})]})})]}):(0,i.jsx)("center",{children:"Loading..."})]})})})]})};t.default=(0,s.$j)(e=>({auth:e.auth}),{})(v)},91479:function(){},9008:function(e,t,n){e.exports=n(6665)}},function(e){e.O(0,[3662,4885,7066,1166,5021,4910,2888,9774,179],function(){return e(e.s=27864)}),_N_E=e.O()}]);

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.