import{d as a,ey as c,ex as u,b as d,c as f,w as i,b0 as p,u as b,cb as l}from"./registerWidgets.e46eca28.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]="9f067c92-cbf8-4fa8-947f-b858aee5879d",e._sentryDebugIdIdentifier="sentry-dbid-9f067c92-cbf8-4fa8-947f-b858aee5879d")}catch{}})();const w=a({__name:"PreviewButton",props:{model:{}},setup(e){const t=e,o=c(),s=u(),r=()=>{const n=o.query;s.push({path:`/_editor/${t.model.routeName}/${encodeURIComponent(t.model.path)}/preview`,query:n})};return(n,_)=>(d(),f(b(l),{class:"preview-button",onClick:r},{default:i(()=>[p(" Preview ")]),_:1}))}});export{w as _};
//# sourceMappingURL=PreviewButton.vue_vue_type_script_setup_true_lang.d6d9b5b1.js.map
