import{a as e}from"./i18n-BaLR3UdQ.js";import{t}from"./options-CDXBc9UM.js";import{t as n}from"./jsxRuntime.module-Cao1NCKs.js";import{t as r}from"./Button-Du0dYm4Z.js";import{t as i}from"./NoItems-ZA3b1X1n.js";function a({note:a}){let o=t.get(`syncServerHost`),s=o?`${o.replace(/\/+$/,``)}/#root/${a.noteId}`:null;return n(i,{className:`note-detail-blob-stub`,icon:`bx bx-cloud-download`,text:e(`blob_stub.not_synced`),children:s&&n(r,{kind:`primary`,text:e(`blob_stub.open_on_server`),onClick:()=>window.open(s,`_blank`,`noopener,noreferrer`)})})}export{a as default};