PageSourceSearch

https://shop.tastycoffee.ru/_nuxt/qb54Nvb0.js

js tastycoffee.ru collected 2026-09-24 10:12:49 UTC 2,961 bytes, 1 lines download raw bytes

1import{H as h,L as g,J as _,a8 as V,u as k,V as w,ag as t,B as s,Z as r,Q as T,aj as y,X as I,$ as B,a6 as D,r as i,U as m}from"./BO-m3fan.js";import{T as c}from"./BytUgYNg.js";import{N}from"./B7EMCqxG.js";import{T as U}from"./DoQs5ZFU.js";import"./CVmkfZf2.js";import"./gnTJcKF7.js";import"./B9hcXGYz.js";import"./C_xTNGO3.js";import"./z93jB_6N.js";import"./CRgjCJ80.js";import"./BkECrVEm.js";try{(function(){var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new l.Error().stack;n&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[n]="ac94e245-dd5e-42d9-926c-9360978aa309",l._sentryDebugIdIdentifier="sentry-dbid-ac94e245-dd5e-42d9-926c-9360978aa309")})()}catch{}const A={class:"container xl:pt-8 mb-10 md:mb-20"},C={class:"grid grid-cols-12 gap-6"},E={class:"col-span-12 xl:col-span-6 xl:col-start-4 2xl:col-span-4 2xl:col-start-5"},F={key:0,class:"w-full xl:bg-white xl:rounded-3xl xl:p-6"},P={class:"w-full space-y-4"},S={class:"w-full space-y-4"},z=h({__name:"[hash]",setup(l){g({bodyAttrs:{class:"grey-theme"}});const{signIn:n}=_(),b=V(),v=k(),u=i(),f=i(!1),a=i({email:"",password:"",password_confirmation:""}),p=i(!1),x=async()=>{if(!p.value&&(await u.value?.validate())?.valid){p.value=!0;try{await v.auth.restorePassword({...a.value,token:b.params.hash}),f.value=!0,await n({email:a.value.email,password:a.value.password},{redirect:!1})}catch(d){u.value?.handleErrorResponse(d)}finally{p.value=!1}}};return(d,e)=>(m(),w("div",A,[t("div",C,[t("div",E,[s(f)?(m(),w("div",F,[e[4]||(e[4]=t("h1",{class:"my-4 xl:mb-8 xl:mt-0"}," Пароль успешно восстановлен ",-1)),t("div",P,[r(y,{class:"btn-dark w-full",text:"На главную",onClick:e[0]||(e[0]=o=>("navigateTo"in d?d.navigateTo:s(T))("/"))})])])):(m(),I(U,{key:1,ref_key:"refForm",ref:u,class:"w-full xl:bg-white xl:rounded-3xl xl:p-6",schema:s(N),onSubmit:D(x,["prevent","stop"])},{default:B(()=>[e[5]||(e[5]=t("h1",{class:"my-4 xl:mb-8 xl:mt-0"}," Восстановление пароля ",-1)),t("div",S,[r(c,{modelValue:s(a).email,"onUpdate:modelValue":e[1]||(e[1]=o=>s(a).email=o),name:"email",class:"input-white xl:input-secondary",label:"Электронная почта",placeholder:"Электронная почта",type:"email"},null,8,["modelValue"]),r(c,{modelValue:s(a).password,"onUpdate:modelValue":e[2]||(e[2]=o=>s(a).password=o),name:"password",class:"input-white xl:input-secondary",label:"Новый пароль",placeholder:"Пароль",type:"password"},null,8,["modelValue"]),r(c,{modelValue:s(a).password_confirmation,"onUpdate:modelValue":e[3]||(e[3]=o=>s(a).password_confirmation=o),name:"password_confirmation",class:"input-white xl:input-secondary",label:"Повторить",placeholder:"Пароль",type:"password"},null,8,["modelValue"]),r(y,{type:"submit",class:"btn-dark w-full",text:"Сменить"})])]),_:1},8,["schema"]))])])]))}});export{z 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.