PageSourceSearch

https://app.affogata.com/n/js/6356.d15e2480.js

js affogata.com collected 2026-10-02 06:03:55 UTC 6,384 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunkaffogata_app"]=self["webpackChunkaffogata_app"]||[]).push([[6356],{16356:function(s,r,e){e.r(r),e.d(r,{default:function(){return L}});var a=e(20641),t=e(53751),o=e(90033);const n={class:"reset-wrapper","data-cy":"reset-password-wrapper"},i={key:0,class:"card","data-cy":"reset-password-success-box"},d={key:1,class:"card spinner-box","data-cy":"reset-password-spinner-box"},l={key:3,class:"card"},p={key:0,class:"field-error","data-cy":"reset-password-form-new-password-item"},c={key:1,class:"field-error","data-cy":"reset-password-form-password-confirmation-item"},u={class:"foot"};function w(s,r,e,w,k,h){const f=(0,a.g2)("router-link"),v=(0,a.g2)("link-expired");return(0,a.uX)(),(0,a.CE)("div",n,[k.passwordChanged?((0,a.uX)(),(0,a.CE)("div",i,[r[4]||(r[4]=(0,a.Lk)("div",{class:"eyebrow"},"CX Data Enablement Layer",-1)),r[5]||(r[5]=(0,a.Lk)("h1",null,"Password changed",-1)),r[6]||(r[6]=(0,a.Lk)("p",{class:"sub"},"You can now log in to your account with your new password.",-1)),(0,a.bF)(f,{to:"/login",class:"primary","data-cy":"reset-password-login-link"},{default:(0,a.k6)((()=>r[3]||(r[3]=[(0,a.eW)("Go to login →")]))),_:1,__:[3]})])):null===k.isTokenValid?((0,a.uX)(),(0,a.CE)("div",d,r[7]||(r[7]=[(0,a.Lk)("span",{class:"spinner"},null,-1)]))):k.isTokenValid?((0,a.uX)(),(0,a.CE)("div",l,[r[12]||(r[12]=(0,a.Lk)("div",{class:"eyebrow"},"CX Data Enablement Layer",-1)),r[13]||(r[13]=(0,a.Lk)("h1",null,"Set a new password",-1)),r[14]||(r[14]=(0,a.Lk)("div",{"data-cy":"reset-password-info"},[(0,a.Lk)("p",{class:"sub"},"Make sure your new password has:"),(0,a.Lk)("ul",{class:"hints"},[(0,a.Lk)("li",null,"Minimum 8 characters long."),(0,a.Lk)("li",null,"Uses upper case and lower case letters."),(0,a.Lk)("li",null,"Uses numbers or special characters.")])],-1)),(0,a.Lk)("form",{"data-cy":"reset-password-form",onSubmit:r[2]||(r[2]=(0,t.withModifiers)(((...s)=>h.submitResetPassword&&h.submitResetPassword(...s)),["prevent"]))},[r[8]||(r[8]=(0,a.Lk)("label",{for:"password"},"New password",-1)),(0,a.bo)((0,a.Lk)("input",{id:"password","onUpdate:modelValue":r[0]||(r[0]=s=>k.passwords.password=s),type:"password",placeholder:"••••••••",autocomplete:"new-password",class:(0,o.C4)({"has-error":h.getError("password")}),"data-cy":"reset-password-form-new-password-input"},null,2),[[t.vModelText,k.passwords.password]]),h.getError("password")?((0,a.uX)(),(0,a.CE)("p",p,(0,o.v_)(h.getError("password")),1)):(0,a.Q3)("",!0),r[9]||(r[9]=(0,a.Lk)("label",{for:"passwordConfirmation"},"Re-enter password",-1)),(0,a.bo)((0,a.Lk)("input",{id:"passwordConfirmation","onUpdate:modelValue":r[1]||(r[1]=s=>k.passwords.passwordConfirmation=s),type:"password",placeholder:"••••••••",autocomplete:"new-password",class:(0,o.C4)({"has-error":h.getError("passwordConfirmation")}),"data-cy":"reset-password-form-password-confirmation-input"},null,2),[[t.vModelText,k.passwords.passwordConfirmation]]),h.getError("passwordConfirmation")?((0,a.uX)(),(0,a.CE)("p",c,(0,o.v_)(h.getError("passwordConfirmation")),1)):(0,a.Q3)("",!0),r[10]||(r[10]=(0,a.Lk)("button",{class:"primary",type:"submit","data-cy":"reset-password-form-submit-button"}," Reset password → ",-1))],32),(0,a.Lk)("p",u,[(0,a.bF)(f,{to:"/login"},{default:(0,a.k6)((()=>r[11]||(r[11]=[(0,a.eW)("← Back to login")]))),_:1,__:[11]})])])):((0,a.uX)(),(0,a.Wv)(v,{key:2,description:"Please go back and try to generate a link again.","back-button-link":"/forget-password"})),r[15]||(r[15]=(0,a.Lk)("p",{class:"note"},"Protected by 2FA and SSO. Returns you to your inbox.",-1)),r[16]||(r[16]=(0,a.Lk)("div",{class:"badges"},"GDPR · CCPA · ISO 27001 · 27701 · 42001",-1))])}var k=e(66278),h=e(59639),f=e(29226),v=e(25530),y=e(13855),b={components:{LinkExpired:v.A},setup(){return{v$:(0,h.Ay)()}},validations(){return{passwords:{password:{required:y.mw,minLength:(0,y.Bp)(8),containLowercaseLetter:s=>/[a-z]/.test(s),containUppercaseLetter:s=>/[A-Z]/.test(s),containSpecialCharOrDigit:s=>/[!@#$%^&*]|\d/.test(s)},passwordConfirmation:{required:y.mw,sameAsPassword:(0,y.f4)(this.passwords.password)}}}},data(){const{token:s}=this.$route.params;return{token:s,passwords:{},serverErrors:[],isTokenValid:null,passwordChanged:!1}},async created(){try{await this.validateResetPasswordToken(this.token),this.isTokenValid=!0}catch(s){this.handleError(s)}},methods:{...(0,k.i0)({validateResetPasswordToken:"auth/validateResetPasswordToken",resetPassword:"auth/resetPassword"}),async submitResetPassword(){if(this.serverErrors=[],this.v$.$touch(),!this.v$.$invali
1d)try{await this.resetPassword({...this.passwords,token:this.token}),this.passwords={},this.v$.$reset(),this.passwordChanged=!0}catch(s){this.handleError(s)}},getError(s){return this.$getValidationErrorMessageHandler.handle(this.v$.passwords,this.serverErrors,s)},handleError(s){const{response:r}=s;if(r){const{data:s,status:e}=r;if(e===f.v.BAD_REQUEST&&s.errors)return this.serverErrors=s.errors,void this.$toasterError("Recheck your form.");if(e===f.v.FORBIDDEN||e===f.v.UNAUTHORIZED)return void(this.isTokenValid=!1)}console.error(s),this.$toasterError()}}},m=e(66262);const g=(0,m.A)(b,[["render",w],["__scopeId","data-v-32eef711"]]);var L=g},25530:function(s,r,e){e.d(r,{A:function(){return w}});var a=e(20641),t=e(90033);const o={class:"card link-expired-content"},n={class:"sub"},i={key:0,class:"sub"},d={key:1,class:"sub"};function l(s,r,e,l,p,c){const u=(0,a.g2)("router-link");return(0,a.uX)(),(0,a.CE)("div",o,[r[1]||(r[1]=(0,a.Lk)("div",{class:"eyebrow"},"CX Data Enablement Layer",-1)),(0,a.Lk)("h1",null,(0,t.v_)(e.title),1),(0,a.Lk)("p",n,(0,t.v_)(e.subTitle),1),e.description?((0,a.uX)(),(0,a.CE)("p",i,(0,t.v_)(e.description),1)):((0,a.uX)(),(0,a.CE)("div",d,[(0,a.RG)(s.$slots,"description",{},void 0,!0)])),(0,a.bF)(u,{to:e.backButtonLink,class:"primary","data-cy":"link-expired-back-button"},{default:(0,a.k6)((()=>r[0]||(r[0]=[(0,a.eW)(" Go back → ")]))),_:1,__:[0]},8,["to"])])}var p={props:{title:{type:String,required:!1,default:"Link expired"},subTitle:{type:String,required:!1,default:"This link or token is not valid or it has expired."},description:{type:String,required:!1,default:null},backButtonLink:{type:String,required:!1,default:"/login"}}},c=e(66262);const u=(0,c.A)(p,[["render",l],["__scopeId","data-v-5388fa1b"]]);var w=u}}]);
2//# sourceMappingURL=6356.d15e2480.js.map

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.