[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 2088.js
/*! For license information please see 2088.js.LICENSE.txt */ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2088],{2088:(e,t,o)=>{o.r(t),o.d(t,{default:()=>E});var r=o(9726),n={class:"w-full max-w-3xl mx-auto rounded-2xl flex overflow-hidden gap-y-6 bg-white shadow-card mb-24 sm:mb-0"},i=["src"],s={class:"text-center mb-8 relative"},a={key:0,class:"capitalize text-2xl mb-2 font-bold text-primary"},c={key:1,class:"capitalize text-2xl mb-2 font-bold text-primary"},l={class:"mb-6"},p={class:"text-sm first-letter:uppercase mb-1 text-heading"},u={key:0,class:"font-medium"},f={key:1,class:"font-medium"},d={key:0,class:"db-field-alert"},m={class:"block mt-3 text-center text-sm font-medium"},h={type:"submit",class:"font-bold text-center w-full h-12 leading-12 rounded-full bg-primary text-white mb-6"};var y=o(1811),g=o(9856),v=o(8536),b=o(2543),k=o.n(b);function x(e){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}function A(){var e,t,o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",n=o.toStringTag||"@@toStringTag";function i(o,r,n,i){var c=r&&r.prototype instanceof a?r:a,l=Object.create(c.prototype);return _(l,"_invoke",function(o,r,n){var i,a,c,l=0,p=n||[],u=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,o){return i=t,a=0,c=e,f.n=o,s}};function d(o,r){for(a=o,c=r,t=0;!u&&l&&!n&&t<p.length;t++){var n,i=p[t],d=f.p,m=i[2];o>3?(n=m===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((n=o<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<m&&(n=o<3||i[0]>r||r>m)&&(i[4]=o,i[5]=r,f.n=m,a=0))}if(n||o>1)return s;throw u=!0,r}return function(n,p,m){if(l>1)throw TypeError("Generator is already running");for(u&&1===p&&d(p,m),a=p,c=m;(t=a<2?e:c)||!u;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(l=2,i){if(a||(n="next"),t=i[n]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+n+"' method"),a=1);i=e}else if((t=(u=f.n<0)?c:o.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{l=1}}return{value:t,done:u}}}(o,n,i),!0),l}var s={};function a(){}function c(){}function l(){}t=Object.getPrototypeOf;var p=[][r]?t(t([][r]())):(_(t={},r,function(){return this}),t),u=l.prototype=a.prototype=Object.create(p);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,_(e,n,"GeneratorFunction")),e.prototype=Object.create(u),e}return c.prototype=l,_(u,"constructor",l),_(l,"constructor",c),c.displayName="GeneratorFunction",_(l,n,"GeneratorFunction"),_(u),_(u,n,"Generator"),_(u,r,function(){return this}),_(u,"toString",function(){return"[object Generator]"}),(A=function(){return{w:i,m:f}})()}function _(e,t,o,r){var n=Object.defineProperty;try{n({},"",{})}catch(e){n=0}_=function(e,t,o,r){if(t)n?n(e,t,{value:o,enumerable:!r,configurable:!r,writable:!r}):e[t]=o;else{var i=function(t,o){_(e,t,function(e){return this._invoke(t,o,e)})};i("next",0),i("throw",1),i("return",2)}},_(e,t,o,r)}function w(e,t,o,r,n,i,s){try{var a=e[i](s),c=a.value}catch(e){return void o(e)}a.done?t(c):Promise.resolve(c).then(r,n)}const S={name:"SignupVerifyComponent",components:{LoadingComponent:y.A},data:function(){return{loading:{isActive:!1},props:{form:{email:"",phone:"",token:"",country_code:""}},APP_URL:v.A.API_URL,errors:"",message:null}},mounted:function(){this.phoneOrEmailChecking()},methods:{phoneOrEmailChecking:function(){this.loading.isActive=!0;var e=this.$store.getters["frontendSignup/phone"],t=this.$store.getters["frontendSignup/email"];Object.keys(e).length>0&&""!==e.otp.phone?(this.props.form.phone=e.otp.phone,this.props.form.country_code=e.otp.country_code,this.props.form.email="",this.loading.isActive=!1):Object.keys(t).length>0&&""!==e.otp.email?(this.props.form.email=e.otp.email,this.props.form.phone="",this.props.form.country_code="",this.loading.isActive=!1):this.$router.push({name:"auth.signup"}),this.loading.isActive=!1},resendCodeToPhone:function(){var e=this;try{this.loading.isActive=!0,this.$store.dispatch("frontendSignup/otpPhone",this.props.form).then(function(t){e.loading.isActive=!1,e.errors="",g.A.success(t.data.message,"bottom-center")}).catch(function(t){e.loading.isActive=!1,e.errors=t.response.data.message})}catch(e){this.loading.isActive=!1,g.A.error(e)}},resendCodeToEmail:function(){var e=this;try{this.loading.isActive=!0,this.$store.dispatch("frontendSignup/otpEmail",this.props.form).then(function(t){e.loading.isActive=!1,e.errors="",g.A.success(t.data.message,"bottom-center")}).catch(function(t){e.loading.isActive=!1,e.errors=t.response.data.message})}catch(e){this.loading.isActive=!1,g.A.error(e)}},save:function(){var e=this;try{this.loading.isActive=!0,""!==this.props.form.country_code&&""!==this.props.form.phone?this.$store.dispatch("verifyPhone",this.props.form).then(function(t){e.signup()}).catch(function(t){e.loading.isActive=!1,e.errors=t.response.data.message}):this.$store.dispatch("verifyEmail",this.props.form).then(function(t){e.signup()}).catch(function(t){e.loading.isActive=!1,e.errors=t.response.data.message})}catch(e){this.loading.isActive=!1,g.A.error(e)}},signup:function(){var e=this;try{var t=this.$store.getters["frontendSignup/formData"];this.$store.dispatch("frontendSignup/signup",t).then(function(){var o,r=(o=A().m(function o(r){return A().w(function(o){for(;;)switch(o.n){case 0:return o.n=1,e.$store.dispatch("signupLoginVerify",t).then(function(t){e.loading.isActive=!1,g.A.success(t.data.message)}).catch(function(t){e.loading.isActive=!1,e.errors=t.response.data.message});case 1:e.$store.dispatch("frontendSignup/reset"),e.props.form={email:"",phone:"",token:"",country_code:""},e.errors="",e.$router.push({name:"frontend.home"});case 2:return o.a(2)}},o)}),function(){var e=this,t=arguments;return new Promise(function(r,n){var i=o.apply(e,t);function s(e){w(i,r,n,s,a,"next",e)}function a(e){w(i,r,n,s,a,"throw",e)}s(void 0)})});return function(e){return r.apply(this,arguments)}}()).catch(function(t){e.loading.isActive=!1,"object"===x(t.response.data.errors)&&k().forEach(t.response.data.errors,function(e){g.A.error(e[0])})})}catch(e){this.loading.isActive=!1,g.A.error(e)}}}};const E=(0,o(6262).A)(S,[["render",function(e,t,o,y,g,v){var b=(0,r.resolveComponent)("LoadingComponent"),k=(0,r.resolveComponent)("router-link");return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)(b,{props:g.loading},null,8,["props"]),(0,r.createElementVNode)("div",n,[(0,r.createElementVNode)("img",{src:g.APP_URL+"/images/required/auth.jpg",alt:"banners",class:"w-full hidden sm:block sm:max-w-xs md:max-w-sm flex-shrink-0"},null,8,i),(0,r.createElementVNode)("form",{class:"w-full p-6",onSubmit:t[3]||(t[3]=(0,r.withModifiers)(function(){return v.save&&v.save.apply(v,arguments)},["prevent"]))},[(0,r.createElementVNode)("div",s,[g.props.form.country_code&&g.props.form.phone?((0,r.openBlock)(),(0,r.createElementBlock)("h3",a,(0,r.toDisplayString)(e.$t("label.verify_number")),1)):((0,r.openBlock)(),(0,r.createElementBlock)("h3",c,(0,r.toDisplayString)(e.$t("label.verify_email")),1))]),(0,r.createElementVNode)("div",l,[(0,r.createElementVNode)("label",p,[(0,r.createTextVNode)((0,r.toDisplayString)(e.$t("label.enter_the_code_sent_to"))+" ",1),g.props.form.country_code&&g.props.form.phone?((0,r.openBlock)(),(0,r.createElementBlock)("span",u,(0,r.toDisplayString)(g.props.form.country_code+""+g.props.form.phone),1)):((0,r.openBlock)(),(0,r.createElementBlock)("span",f,(0,r.toDisplayString)(g.props.form.email),1))]),(0,r.withDirectives)((0,r.createElementVNode)("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=function(e){return g.props.form.token=e}),class:"w-full h-12 px-4 rounded-lg text-base border border-[#D9DBE9] hover:border-primary/30 focus-within:border-primary/30 transition-all duration-500"},null,512),[[r.vModelText,g.props.form.token]]),g.errors?((0,r.openBlock)(),(0,r.createElementBlock)("small",d,(0,r.toDisplayString)(g.errors),1)):(0,r.createCommentVNode)("",!0),(0,r.createElementVNode)("small",m,[(0,r.createTextVNode)((0,r.toDisplayString)(e.$t("label.not_receive_code"))+" ",1),g.props.form.phone?((0,r.openBlock)(),(0,r.createElementBlock)("button",{key:0,onClick:t[1]||(t[1]=(0,r.withModifiers)(function(){return v.resendCodeToPhone&&v.resendCodeToPhone.apply(v,arguments)},["prevent"])),type:"button",class:"font-bold text-primary"},(0,r.toDisplayString)(e.$t("button.resend_code")),1)):((0,r.openBlock)(),(0,r.createElementBlock)("button",{key:1,onClick:t[2]||(t[2]=(0,r.withModifiers)(function(){return v.resendCodeToEmail&&v.resendCodeToEmail.apply(v,arguments)},["prevent"])),type:"button",class:"font-bold text-primary"},(0,r.toDisplayString)(e.$t("button.resend_code")),1))])]),(0,r.createElementVNode)("button",h,(0,r.toDisplayString)(e.$t("button.verify")),1),(0,r.createVNode)(k,{class:"block text-center font-bold text-primary",to:{name:"auth.login"}},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)((0,r.toDisplayString)(e.$t("label.back_to_sign_in")),1)]}),_:1})],32)])],64)}]])}}]);
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.87 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285