import{B as e,K as t,M as n,St as r,ct as i,k as a}from"./vue.runtime.esm-bundler-DpGzKKN4.js";import{K as o,at as s,h as c,q as l}from"./stores-CPzLVPi9.js";var u=(n,a)=>{let u=r(),d=()=>{u.value=s(n).height};return t(()=>{if(e(d),a)for(let e=1;e<=3;e++)setTimeout(d,100*e)}),c(()=>e(d)),i([l,o],d),u};function d(e,t){let n=u(e,!0);return e=>a(`div`,{class:t(`placeholder`),style:{height:n.value?`${n.value}px`:void 0}},[e()])}var f={to:[String,Object],url:String,replace:Boolean};function p({to:e,url:t,replace:n,$router:r}){e&&r?r[n?`replace`:`push`](e):t&&(n?location.replace(t):location.href=t)}function m(){let e=n().proxy;return()=>p(e)}export{d as i,f as n,m as r,p as t};