PageSourceSearch

https://tequilacorralejo.mx/build/assets/ForgotPassword-Cuo-i2WE.js

js tequilacorralejo.mx collected 2026-10-04 15:21:06 UTC 5,126 bytes, 1 lines download raw bytes

1import{g as _,o as n,c as d,h as m,u as t,a as e,t as l,w as c,v as p,n as b,q as f,b as u,p as w,k as v}from"./app-CZ8j20MO.js";import{u as y}from"./i18n-DF00xIc4.js";import{_ as k}from"./NavMenu-WjGHzDj2.js";import{_ as V}from"./HeroInter-GwRS6Axw.js";import{F as C}from"./Footer-K7cAbu2D.js";import{S as M}from"./header-contacto-U9M5JTyd.js";import"./logo-corralejo-BwGFQRCK.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const z={class:"min-h-screen bg-gray-50"},P={class:"flex justify-start items-start mb-10"},S={class:"max-w-md w-full mx-auto"},B={class:"bg-opacity-80 bg-white -mt-20 z-10 relative rounded-md p-6 shadow-[0_2px_16px_-3px_rgba(125,126,131,0.3)]"},F={class:"mb-12"},N={class:"text-slate-900 text-3xl font-bold"},U={class:"relative flex items-center"},j=["placeholder"],q={key:0,class:"text-red-500 text-sm mt-1"},L={class:"mt-6"},E={class:"relative flex items-center"},H=["placeholder"],Z={key:0,class:"text-red-500 text-sm mt-1"},$={class:"flex flex-wrap items-center justify-between gap-4 mt-6"},D={class:"flex items-center"},T={for:"remember-me",class:"ml-3 block text-sm text-slate-600"},I={href:"jajvascript:void(0);",class:"text-blue-600 text-sm font-medium hover:underline"},O={class:"mt-12"},R=["disabled"],A={class:"text-slate-600 text-sm text-center mt-6"},G={href:"/auth/register",class:"text-blue-600 font-medium hover:underline ml-1 whitespace-nowrap"},se={__name:"ForgotPassword",props:{urlPostLogin:{type:String,required:!0}},setup(h){const{t:r}=y(),s=_({email:"",password:"",remember:!1}),g=h;function x(){s.post(g.urlPostLogin,{onError:i=>{console.log("Errores de validación:",i)},onSuccess:i=>{console.log("Respuesta del servidor:",i)},onFinish:()=>{console.log("Proceso de login finalizado")}})}return(i,o)=>(n(),d("div",z,[m(k,{overlay:!0}),m(V,{title:"",media:t(M),"media-type":"image"},null,8,["media"]),e("div",P,[e("div",S,[e("form",B,[e("div",F,[e("h1",N,l(t(r)("login.title")),1)]),e("div",null,[e("div",U,[c(e("input",{name:"email",type:"text",required:"","onUpdate:modelValue":o[0]||(o[0]=a=>t(s).email=a),class:b(["bg-transparent w-full text-sm text-slate-900 border-b border-slate-400 focus:border-slate-800 pl-2 pr-8 py-3 outline-none placeholder:text-slate-600",{"border-red-400":t(s).errors.email}]),placeholder:t(r)("login.email")},null,10,j),[[p,t(s).email]]),o[3]||(o[3]=f('<svg xmlns="http://www.w3.org/2000/svg" fill="#333" stroke="#333" class="w-[18px] h-[18px] absolute right-2" viewBox="0 0 682.667 682.667"><defs><clipPath id="a" clipPathUnits="userSpaceOnUse"><path d="M0 512h512V0H0Z" data-original="#000000"></path></clipPath></defs><g clip-path="url(#a)" transform="matrix(1.33 0 0 -1.33 0 682.667)"><path fill="none" stroke-miterlimit="10" stroke-width="40" d="M452 444H60c-22.091 0-40-17.909-40-40v-39.446l212.127-157.782c14.17-10.54 33.576-10.54 47.746 0L492 364.554V404c0 22.091-17.909 40-40 40Z" data-original="#000000"></path><path d="M472 274.9V107.999c0-11.027-8.972-20-20-20H60c-11.028 0-20 8.973-20 20V274.9L0 304.652V107.999c0-33.084 26.916-60 60-60h392c33.084 0 60 26.916 60 60v196.653Z" data-original="#000000"></path></g></svg>',1))]),t(s).errors.email?(n(),d("p",q,l(t(s).errors.email),1)):u("",!0)]),e("div",L,[e("div",E,[c(e("input",{name:"password",type:"password","onUpdate:modelValue":o[1]||(o[1]=a=>t(s).password=a),required:"",class:"bg-transparent w-full text-sm text-slate-900 border-b border-slate-400 focus:border-slate-800 pl-2 pr-8 py-3 outline-none placeholder:text-slate-600",placeholder:t(r)("login.password")},null,8,H),[[p,t(s).password]]),o[4]||(o[4]=e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#333",stroke:"#333",class:"w-[18px] h-[18px] absolute right-2 cursor-pointer",viewBox:"0 0 128 128"},[e("path",{d:"M64 104C22.127 104 1.367 67.496.504 65.943a4 4 0 0 1 0-3.887C1.367 60.504 22.127 24 64 24s62.633 36.504 63.496 38.057a4 4 0 0 1 0 3.887C126.633 67.496 105.873 104 64 104zM8.707 63.994C13.465 71.205 32.146 96 64 96c31.955 0 50.553-24.775 55.293-31.994C114.535 56.795 95.854 32 64 32 32.045 32 13.447 56.775 8.707 63.994zM64 88c-13.234 0-24-10.766-24-24s10.766-24 24-24 24 10.766 24 24-10.766 24-24 24zm0-40c-8.822 0-16 7.178-16 16s7.178 16 16 16 16-7.178 16-16-7.178-16-16-16z","data-original":"#000000"})],-1))]),t(s).errors.password?(n(),d("p",Z,l(t(s).errors.password),1)):u("",!0)]),e("div",$,[e("div",D,[c(e("input",{id:"remember-me",name:"remember-me","onUpdate:modelValue":o[2]||(o[2]=a=>t(s).remember=a),type:"checkbox",class:"h-4 w-4 shrink-0 border-slate-300 rounded"},null,512),[[w,t(s).remember]]),e("label",T,l(t(r)("login.remember_me")),1)]),e("div",null,[e("a",I,l(t(r)("login.forgot_password")),1)])]),e("div",O,[e("button",{type:"button",class:"w-full py-2.5 px-4 text-sm font-medium tracking-wider rounded-md text-white bg-slate-800 hover:bg-slate-900 focus:outline-none cursor-pointer",onClick:x,disabled:t(s).processing},l(t(s).processing?t(r)("login.logging_in"):t(r)("login.submit")),9,R),e("p",A,[v(l(t(r)("login.no_account"))+" ",1),e("a",G,l(t(r)("login.register_here")),1)])]),o[5]||(o[5]=e("hr",{class:"my-6 border-slate-400"},null,-1))])])]),m(C)]))}};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.