PageSourceSearch

https://ogmina.lt/_nuxt/CcPZPYtq.js

js ogmina.lt collected 2026-10-05 05:28:36 UTC 3,231 bytes, 1 lines download raw bytes

1import{aE as q,bo as E,bn as T,bD as N,aK as v,aJ as m,aV as t,aU as _,b0 as o,aC as A,aR as p,aY as r,aZ as U,bq as h,aW as l,bF as $,aT as n,aS as j,aX as L,bI as M,br as z,bH as F}from"./edMeVYxI.js";import H from"./C_k9Auhg.js";import{c as J,u as K}from"./BNz1-qJs.js";import{u as W}from"./BGrhU8gE.js";try{let s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new s.Error().stack;i&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[i]="fd85c7dd-852d-4a88-86bf-482c8f047ec4",s._sentryDebugIdIdentifier="sentry-dbid-fd85c7dd-852d-4a88-86bf-482c8f047ec4")}catch{}const X={class:"md:text-2xl font-bold"},Y={class:"text-2xl font-bold"},Z={class:"test-sm"},G={class:"grid gap-2"},O={key:0,class:"text-rose-500 text-sm"},se=q({__name:"AccountPasswordRecoveryCard",setup(s){const{required:i,email:x}=J(),{resetPassword:P}=W(),{resolveApiErrors:V}=E(),k=A(),S=T(),d=N({email:"",storefrontUrl:`${k.public.shopware.devStorefrontUrl}`}),C=v(()=>({email:{required:i,email:x}})),y=m(!1),b=m(!1),f=m([]),R=v(()=>f.value?.map(({detail:e})=>e).toString()),c=K(C,d);async function B(){b.value=!0;try{f.value=[],(await P(d)).success&&(y.value=!0)}catch(e){console.error("[AccountRecoverPassword]",e),f.value=e.details?.errors||[];for(const a of V(e.details.errors))S.add({severity:"error",summary:a.summary,detail:a.detail,life:3e3})}}return(e,a)=>{const u=U,g=z,w=H,D=F;return t(y)?(p(),_(w,{key:0,pt:{title:"text-center space-y-4",body:"space-y-6 p-0",content:"text-center",footer:"flex max-sm:flex-wrap gap-4 justify-start items-center"},class:"animate-fadein animate-duration-400"},{title:o(()=>[n("h2",X,l(e.$t("recoveryPassword.infoBox")),1)]),content:o(()=>a[1]||(a[1]=[n("i",{class:"pi pi-check text-4xl font-bold text-green-600"},null,-1)])),footer:o(()=>[r(g,{to:{query:{...(e._.provides[$]||e.$route).query,modal:void 0}},class:"w-full"},{default:o(()=>[r(u,{class:"w-full"},{default:o(()=>[h(l(e.$t("form.close")),1)]),_:1})]),_:1},8,["to"])]),_:1})):(p(),_(w,{key:1,pt:{title:"text-center space-y-4",body:"space-y-6 p-0",content:"space-y-4",footer:"inline-flex max-sm:flex-wrap gap-4 justify-start items-center"}},{title:o(()=>[n("h2",Y,l(e.$t("form.recoveryPassword.header")),1),n("p",Z,l(e.$t("form.recoveryPassword.subheader")),1)]),content:o(()=>[n("form",{id:"forgot-password-form",onSubmit:M(B,["prevent"])},[n("div",G,[r(D,{id:"email",modelValue:t(d).email,"onUpdate:modelValue":a[0]||(a[0]=I=>t(d).email=I),type:"email",size:"large","aria-label":e.$t("form.email"),placeholder:e.$t("form.emailPlaceholder",{sign:"@"}),invalid:t(c).email.$error||!!t(R)?.length},null,8,["modelValue","aria-label","placeholder","invalid"]),t(c).email.$error?(p(),j("span",O,l(t(c).email.$errors[0].$message),1)):L("",!0)])],32)]),footer:o(()=>[r(u,{type:"submit",form:"forgot-password-form",class:"w-full text-nowrap",label:e.$t("form.recoveryPassword.button"),loading:t(b),disabled:t(c).$invalid},null,8,["label","loading","disabled"]),r(g,{to:{query:{...(e._.provides[$]||e.$route).query,modal:"login"}},class:"w-full"},{default:o(()=>[r(u,{text:"",class:"w-full"},{default:o(()=>[h(l(e.$t("form.cancel")),1)]),_:1})]),_:1},8,["to"])]),_:1}))}}});export{se 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.