[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 2082.js
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2082],{2082:(e,t,o)=>{o.r(t),o.d(t,{default:()=>x});var r=o(9726),s={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"},n=["src"],i={class:"text-center mb-8"},a={class:"capitalize text-2xl font-bold text-primary"},l={class:"mb-6"},d={for:"formPassword",class:"field-title required"},c={key:0,class:"db-field-alert"},m={class:"mb-6"},p={for:"password_confirmation",class:"field-title required"},u={key:0,class:"db-field-alert"},h={type:"submit",class:"font-bold text-center w-full h-12 leading-12 rounded-full bg-primary text-white capitalize mb-6"};var f=o(934),w=o(1811),b=o(9856),g=o(8655),v=o(8536);const y={name:"ResetPasswordComponent",components:{LoadingComponent:w.A},data:function(){return{loading:{isActive:!1},form:{password:"",password_confirmation:"",email:"",phone:"",country_code:""},flag:"",errors:{},permissions:{},firstMenu:null,demo:v.A.DEMO,APP_URL:v.A.API_URL,toggleValue:!1,inputLabel:this.$t("label.email"),inputButton:this.$t("label.use_phone_instead")}},computed:{carts:function(){return this.$store.getters["frontendCart/lists"]}},mounted:function(){this.phoneOrEmailChecking()},methods:{phoneNumber:function(e){return g.A.phoneNumber(e)},phoneOrEmailChecking:function(){this.loading.isActive=!0;var e=this.$store.getters.phone,t=this.$store.getters.email;Object.keys(e).length>0&&""!==e.otp.phone?(this.form.phone=e.otp.phone,this.form.country_code=e.otp.country_code,this.form.email="",this.loading.isActive=!1):Object.keys(t).length>0&&""!==e.otp.email?(this.form.email=e.otp.email,this.form.phone="",this.form.country_code="",this.loading.isActive=!1):this.$router.push({name:"auth.login"}),this.loading.isActive=!1},save:function(){var e=this;try{this.loading.isActive=!0,this.$store.dispatch("resetPassword",this.form).then(function(t){e.loading.isActive=!1,b.A.success(t.data.message),e.$store.dispatch("reset"),e.carts.length>0?f.A.push({name:"frontend.checkout"}):f.A.push({name:"frontend.home"}),f.A.push({name:"frontend.home"})}).catch(function(t){e.loading.isActive=!1,e.errors=t.response.data.errors})}catch(e){this.loading.isActive=!1}},close:function(){this.errors={}}}};const x=(0,o(6262).A)(y,[["render",function(e,t,o,f,w,b){var g=(0,r.resolveComponent)("LoadingComponent");return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)(g,{props:w.loading},null,8,["props"]),(0,r.createElementVNode)("div",s,[(0,r.createElementVNode)("img",{src:w.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,n),(0,r.createElementVNode)("form",{class:"w-full p-6",onSubmit:t[2]||(t[2]=(0,r.withModifiers)(function(){return b.save&&b.save.apply(b,arguments)},["prevent"]))},[(0,r.createElementVNode)("div",i,[(0,r.createElementVNode)("h3",a,(0,r.toDisplayString)(e.$t("label.reset_password")),1)]),(0,r.createElementVNode)("div",l,[(0,r.createElementVNode)("label",d,(0,r.toDisplayString)(e.$t("label.new_password")),1),(0,r.withDirectives)((0,r.createElementVNode)("input",{"onUpdate:modelValue":t[0]||(t[0]=function(e){return w.form.password=e}),class:(0,r.normalizeClass)([w.errors.password?"invalid":"","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"]),id:"formPassword",type:"password"},null,2),[[r.vModelText,w.form.password]]),w.errors.password?((0,r.openBlock)(),(0,r.createElementBlock)("small",c,(0,r.toDisplayString)(w.errors.password[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",m,[(0,r.createElementVNode)("label",p,(0,r.toDisplayString)(e.$t("label.confirm_password")),1),(0,r.withDirectives)((0,r.createElementVNode)("input",{"onUpdate:modelValue":t[1]||(t[1]=function(e){return w.form.password_confirmation=e}),class:(0,r.normalizeClass)([w.errors.password_confirmation?"invalid":"","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"]),id:"password_confirmation",type:"password"},null,2),[[r.vModelText,w.form.password_confirmation]]),w.errors.password_confirmation?((0,r.openBlock)(),(0,r.createElementBlock)("small",u,(0,r.toDisplayString)(w.errors.password_confirmation[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("button",h,(0,r.toDisplayString)(e.$t("button.submit")),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