"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[937],{710:(e,l,t)=>{t.d(l,{Z:()=>a});var n=t(821),r=t(9038),o={class:"m-0"};const a={setup:function(e){var l=(0,n.computed)((function(){return(0,r.qt)().props.value.errors})),t=(0,n.computed)((function(){return Object.keys(l.value).length>0})),a=(0,n.ref)({});return(0,n.watch)(l,(function(){a.value={display:""}}),{deep:!0}),function(e,r){var s=(0,n.resolveComponent)("Message");return(0,n.unref)(t)?((0,n.openBlock)(),(0,n.createBlock)(s,{key:0,severity:"error",style:(0,n.normalizeStyle)(a.value),onClose:r[0]||(r[0]=function(e){return a.value={display:"none"}})},{default:(0,n.withCtx)((function(){return[(0,n.createElementVNode)("ul",o,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)((0,n.unref)(l),(function(e,l){return(0,n.openBlock)(),(0,n.createElementBlock)("li",{key:l},(0,n.toDisplayString)(e),1)})),128))])]})),_:1},8,["style"])):(0,n.createCommentVNode)("",!0)}}}},2937:(e,l,t)=>{t.r(l),t.d(l,{default:()=>V});var n=t(821),r=t(9038),o=t(710),a={class:"surface-0 flex align-items-center justify-content-center min-h-screen min-w-screen overflow-hidden"},s={class:"grid flex-column align-items-center p-2 lg:p-0",style:{"min-width":"80%"}},d={class:"col-12 xl:col-6"},c={class:"col-12 xl:col-6",style:{"border-radius":"56px",padding:"0.3rem",background:"linear-gradient(180deg, var(--primary-color), rgba(33, 150, 243, 0) 30%)"}},u={class:"h-full w-full m-0 py-7 px-4",style:{"border-radius":"53px",background:"linear-gradient(180deg, var(--surface-50) 38.9%, var(--surface-0))"}},i=(0,n.createElementVNode)("div",{class:"text-center mb-5 text-600 font-medium"},[(0,n.createElementVNode)("span",null,"Reset Password"),(0,n.createTextVNode)(),(0,n.createElementVNode)("br"),(0,n.createElementVNode)("span",null,"Tulis Password baru untuk login")],-1),m={class:"w-full md:w-10 mx-auto"},p=(0,n.createElementVNode)("label",{for:"email",class:"block text-900 text-xl font-medium mb-2"},"Email",-1),f=(0,n.createElementVNode)("label",{for:"password",class:"block text-900 font-medium text-xl mb-2"},"Password",-1),w=(0,n.createElementVNode)("label",{for:"password_confirm",class:"block text-900 font-medium text-xl mb-2"},"Password",-1);const V={props:{token:String,email:String},setup:function(e){var l=e,t=(0,r.cI)({token:l.token,email:l.email,password:"",password_confirmation:""}),V=function(){t.post(route("password.update"),{onFinish:function(){return t.reset("password","password_confirmation")}})};return function(e,l){var g=(0,n.resolveComponent)("InputText"),k=(0,n.resolveComponent)("Password"),b=(0,n.resolveComponent)("Button");return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[(0,n.createVNode)((0,n.unref)(r.Fb),{title:"Reset Password"}),(0,n.createElementVNode)("div",a,[(0,n.createElementVNode)("div",s,[(0,n.createElementVNode)("div",d,[(0,n.createVNode)(o.Z)]),(0,n.createElementVNode)("div",c,[(0,n.createElementVNode)("div",u,[i,(0,n.createElementVNode)("div",m,[p,(0,n.createVNode)(g,{id:"email",modelValue:(0,n.unref)(t).email,"onUpdate:modelValue":l[0]||(l[0]=function(e){return(0,n.unref)(t).email=e}),type:"text",class:"w-full mb-3",placeholder:"email",style:{padding:"1rem"}},null,8,["modelValue"]),f,(0,n.createVNode)(k,{id:"password",modelValue:(0,n.unref)(t).password,"onUpdate:modelValue":l[1]||(l[1]=function(e){return(0,n.unref)(t).password=e}),placeholder:"password",toggleMask:!0,class:"w-full mb-3",inputClass:"w-full",inputStyle:"padding:1rem"},null,8,["modelValue"]),w,(0,n.createVNode)(k,{id:"password_confirm",modelValue:(0,n.unref)(t).password_confirmation,"onUpdate:modelValue":l[2]||(l[2]=function(e){return(0,n.unref)(t).password_confirmation=e}),placeholder:"konfirmasi password",toggleMask:!0,class:"w-full mb-3",inputClass:"w-full",inputStyle:"padding:1rem"},null,8,["modelValue"]),(0,n.createVNode)(b,{onClick:V,label:"Reset Password",disabled:(0,n.unref)(t).processing,class:"w-full p-3 text-xl"},null,8,["disabled"])])])])])])],64)}}}}}]);