PageSourceSearch

https://villalummelahti.fi/_nuxt/D7kDOjhp.js

js villalummelahti.fi collected 2026-10-08 02:25:12 UTC 2,566 bytes, 1 lines download raw bytes

1import{s as P,u as g,_ as V,a as B}from"./BI5BN1rn.js";import{G as x,z as N,M as S,as as c,ak as p,al as e,I as s,aw as q,ah as j,aF as M,ax as a,ao as y,aC as $,aG as f,aK as h,i as b,r as v,aT as D,ag as G,e as U}from"./BA2cZanY.js";import{a as z}from"./zypciNv-.js";import"./DyfadX0W.js";import"./oiGUARBV.js";const A={class:"breadcrumb-navi-wrap"},E={class:"container"},F=["aria-label"],H={class:"breadcrumb-navi-item breadcrumb-navi-root"},I={class:"breadcrumb-navi-item breadcrumb-navi-current"},K={id:"js-header-product",class:"page-header-bar text-center"},Y={class:"container js-page-name page-header-title big-text"},J={class:"container main-content"},L={class:"page-content text-content infopage-content"},O={class:"form-group"},Q={for:"password"},W={class:"form-group"},X={for:"confirm-password"},Z={type:"submit",class:"btn btn-primary"},ee=x({__name:"Resetpasswordpage",props:{token:{type:String,required:!0}},setup(_){const{$store:n,$translate:t}=N(),{locale:l}=P(n),{shopTitle:m,limitedStorefront:w}=g(),d=S(),k=_,r=v(""),i=v(""),R=async()=>{if(r.value!==i.value){alert(t("The passwords do not match."));return}const{data:T,error:o}=await z.resetPassword({token:k.token,newPassword:r.value});o?(alert(o.message),console.error(o)):(alert(t("Your password has been reset successfully.")),d.push("/"))};return(T,o)=>{const C=V;return c(),p("div",null,[e("div",A,[e("div",E,[s(w)?y("",!0):(c(),p("ul",{key:0,class:"js-breadcrumb-navi hidden-xs","aria-label":s(t)("Breadcrumb")},[e("li",H,[q(C,{to:"/"+s(l)},{default:j(()=>[M(a(s(m)),1)]),_:1},8,["to"])]),e("li",I,[e("span",null,a(s(t)("Reset your password")),1)])],8,F))])]),e("div",K,[e("div",Y,[e("h1",null,a(s(t)("Reset your password")),1)])]),e("div",J,[e("div",L,[e("h3",null,a(s(t)("Please enter your new password")),1),e("form",{onSubmit:$(R,["prevent"])},[e("div",O,[e("label",Q,a(s(t)("Password")),1),f(e("input",{type:"password",class:"form-control",id:"password","onUpdate:modelValue":o[0]||(o[0]=u=>b(r)?r.value=u:null),required:""},null,512),[[h,s(r)]])]),e("div",W,[e("label",X,a(s(t)("Confirm password")),1),f(e("input",{type:"password",class:"form-control",id:"confirm-password","onUpdate:modelValue":o[1]||(o[1]=u=>b(i)?i.value=u:null),required:""},null,512),[[h,s(i)]])]),e("button",Z,a(s(t)("Reset password")),1)],32)])])])}}}),ne=x({__name:"resetpasswordpage",setup(_){const{token:n}=D().query,{shopTitle:t}=g(),l=U(()=>t.value);return B({title:l}),(m,w)=>{const d=ee;return c(),p("div",null,[s(n)?(c(),G(d,{key:0,token:s(n)},null,8,["token"])):y("",!0)])}}});export{ne 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.