import{d,ey as a,ex as c,b as u,c as i,w as f,b0 as p,u as b,cb as l}from"./registerWidgets.d6e66474.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f47ed6e2-bfdc-4c05-9518-db6d0131e160",e._sentryDebugIdIdentifier="sentry-dbid-f47ed6e2-bfdc-4c05-9518-db6d0131e160")}catch{}})();const w=d({__name:"PreviewButton",props:{model:{}},setup(e){const t=e,o=a(),s=c(),r=()=>{const n=o.query;s.push({path:`/_editor/${t.model.routeName}/${encodeURIComponent(t.model.path)}/preview`,query:n})};return(n,_)=>(u(),i(b(l),{class:"preview-button",onClick:r},{default:f(()=>[p(" Preview ")]),_:1}))}});export{w as _};
//# sourceMappingURL=PreviewButton.vue_vue_type_script_setup_true_lang.4845dbf5.js.map
