PageSourceSearch

https://www.dipli.com/_nuxt/Mzfj330v.js

js dipli.com collected 2026-10-05 19:27:14 UTC 2,225 bytes, 1 lines download raw bytes

1import{_ as S}from"./B5uQ0mOz.js";import{_ as T}from"./DDAFnlzo.js";import{_ as D}from"./D41Y4LCr.js";import{k as P,l as E,n as N,b as q,r as _,x as B,c as M,d as p,e as l,q as e,y as C,j as g,i as d,s as L,t as c,g as s,f as b,v as U,_ as j}from"./DQjvZBuU.js";import{u as z,e as W,r as A}from"./DU1-CURX.js";import{e as F}from"./FZIgrFQ0.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="1cc7e4f8-b9e7-4cff-8be1-2be71dd1014b",t._sentryDebugIdIdentifier="sentry-dbid-1cc7e4f8-b9e7-4cff-8be1-2be71dd1014b")}catch{}})();const G={id:"forgot-password"},H={class:"container"},J={class:"input-buttons"},K={class:"buttons"},O=["disabled"],Q={key:0},R={class:"composition"},X=P({__name:"forgot-password",setup(t){const r=E(),u=N(),{t:y}=q(),n=_(!1),a=_(!1),i=B({email:""}),h={email:{required:A,email:W,$autoDirty:!0}},v=M(()=>m.value.$errors.length>0),m=z(h,i);async function w(){n.value=!1,a.value=!0;try{await r.forgotPassword({username:i.email,url:u("new-password")})}catch(o){o.status===429&&F(y("Too many requests forgot password"))}finally{n.value=!0,a.value=!1}}return(o,f)=>{const $=S,k=T,x=D,I=U;return l(),p("section",G,[e("div",H,[e("form",{id:"myform",onSubmit:C(w,["prevent"])},[e("h2",null,[L(c(o.$t("forgot.title"))+" ",1),e("sup",null,c(o.$t("forgot.subTitle")),1)]),s(n)?(l(),g($,{key:0,display:s(n),height:100,message:o.$t("msgSent")},null,8,["display","message"])):d("",!0),e("div",J,[b(k,{id:"email",modelValue:s(i).email,"onUpdate:modelValue":f[0]||(f[0]=V=>s(i).email=V),modelModifiers:{trim:!0},"is-error":s(m).email.$error,placeholder:o.$t("common.email"),name:"Email address",autocomplete:"email Email",type:"email",rounded:""},null,8,["modelValue","is-error","placeholder"]),e("div",K,[e("button",{disabled:v.value||s(a),class:"button"},[s(a)?d("",!0):(l(),p("span",Q,c(o.$t("link.forgot")),1)),s(a)?(l(),g(x,{key:1})):d("",!0)],8,O)])])],32),e("div",R,[b(I,{alt:"Welcome to dipli",class:"mainPic",sizes:"xxl:450px",densities:"x1",src:"/img/login-side.webp"})])])])}}}),ae=j(X,[["__scopeId","data-v-5f88da14"]]);export{ae as default};

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.