import{q as s,a as b}from"./index-CMWG4mbA.js";import{c as j}from"./index-CKv6rp-i.js";const d=e=>({url:d.url(e),method:"get"});d.definition={methods:["get","head"],url:"/user/confirm-password"};d.url=e=>d.definition.url+s(e);d.get=e=>({url:d.url(e),method:"get"});d.head=e=>({url:d.url(e),method:"head"});const h=e=>({action:d.url(e),method:"get"});h.get=e=>({action:d.url(e),method:"get"});h.head=e=>({action:d.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});d.form=h;const t=e=>({url:t.url(e),method:"get"});t.definition={methods:["get","head"],url:"/user/confirmed-password-status"};t.url=e=>t.definition.url+s(e);t.get=e=>({url:t.url(e),method:"get"});t.head=e=>({url:t.url(e),method:"head"});const a=e=>({action:t.url(e),method:"get"});a.get=e=>({action:t.url(e),method:"get"});a.head=e=>({action:t.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});t.form=a;const o=e=>({url:o.url(e),method:"get"});o.definition={methods:["get","head"],url:"/settings/password"};o.url=e=>o.definition.url+s(e);o.get=e=>({url:o.url(e),method:"get"});o.head=e=>({url:o.url(e),method:"head"});const g=e=>({action:o.url(e),method:"get"});g.get=e=>({action:o.url(e),method:"get"});g.head=e=>({action:o.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});o.form=g;const n=e=>({url:n.url(e),method:"put"});n.definition={methods:["put"],url:"/settings/password"};n.url=e=>n.definition.url+s(e);n.put=e=>({url:n.url(e),method:"put"});const y=e=>({action:n.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"PUT",...e?.query??e?.mergeQuery??{}}}),method:"post"});y.put=e=>({action:n.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"PUT",...e?.query??e?.mergeQuery??{}}}),method:"post"});n.form=y;const u=e=>({url:u.url(e),method:"get"});u.definition={methods:["get","head"],url:"/forgot-password"};u.url=e=>u.definition.url+s(e);u.get=e=>({url:u.url(e),method:"get"});u.head=e=>({url:u.url(e),method:"head"});const c=e=>({action:u.url(e),method:"get"});c.get=e=>({action:u.url(e),method:"get"});c.head=e=>({action:u.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});u.form=c;const l=e=>({url:l.url(e),method:"post"});l.definition={methods:["post"],url:"/forgot-password"};l.url=e=>l.definition.url+s(e);l.post=e=>({url:l.url(e),method:"post"});const p=e=>({action:l.url(e),method:"post"});p.post=e=>({action:l.url(e),method:"post"});l.form=p;const m=(e,r)=>({url:m.url(e,r),method:"get"});m.definition={methods:["get","head"],url:"/reset-password/{token}"};m.url=(e,r)=>{(typeof e=="string"||typeof e=="number")&&(e={token:e}),Array.isArray(e)&&(e={token:e[0]}),e=b(e);const q={token:e.token};return m.definition.url.replace("{token}",q.token.toString()).replace(/\/+$/,"")+s(r)};m.get=(e,r)=>({url:m.url(e,r),method:"get"});m.head=(e,r)=>({url:m.url(e,r),method:"head"});const f=(e,r)=>({action:m.url(e,r),method:"get"});f.get=(e,r)=>({action:m.url(e,r),method:"get"});f.head=(e,r)=>({action:m.url(e,{[r?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...r?.query??r?.mergeQuery??{}}}),method:"get"});m.form=f;const i=e=>({url:i.url(e),method:"post"});i.definition={methods:["post"],url:"/reset-password"};i.url=e=>i.definition.url+s(e);i.post=e=>({url:i.url(e),method:"post"});const Q=e=>({action:i.url(e),method:"post"});Q.post=e=>({action:i.url(e),method:"post"});i.form=Q;Object.assign(d,j),Object.assign(t,t),Object.assign(o,o),Object.assign(n,n),Object.assign(u,u),Object.assign(l,l),Object.assign(m,m),Object.assign(i,i);export{o as e,u as r};
