1import{g as k,ae as x,bJ as h}from"./public-shell-B_x5oatf.js";import{u as w}from"./useDatacenterMigration-BsX8jSLg.js";import{c as f,D,w as E,x as B,u as N,o as b,e as c,f as n,A as p,B as s,z as _,q as g,y as S}from"./vue-1AtMcz7l.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"8ed42405eab16ca6f21c30b45346c6f30a2e6f72"};var a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="ebaf2e20-d491-47c6-a183-e62bc4810ae4",t._sentryDebugIdIdentifier="sentry-dbid-ebaf2e20-d491-47c6-a183-e62bc4810ae4")}catch{}})();const T={key:0,class:"shrink-0 border-b border-amber-200 bg-amber-50 px-4 py-2.5 text-sm text-amber-950 dark:border-amber-800/60 dark:bg-amber-950/40 dark:text-amber-100",role:"status"},A={class:"mx-auto flex max-w-5xl items-start gap-2"},I={key:0},V={class:"font-medium"},C={class:"font-medium"},M={__name:"DatacenterMigrationBanner",setup(t){const{writesBlocked:a,from:o,to:i,hydrateFromAuthUser:v}=w();function d(r){return h.find(e=>e.id===r)?.label||r}const u=f(()=>o.value?d(o.value):null),l=f(()=>i.value?d(i.value):null);function m(){v()}return D(m),E(k,m),(r,e)=>{const y=B("router-link");return N(a)?(b(),c("div",T,[n("div",A,[p(x,{name:"refresh",size:16,class:"mt-0.5 shrink-0 animate-spin","aria-hidden":"true"}),n("p",null,[e[3]||(e[3]=s(" Your notes are moving ",-1)),u.value&&l.value?(b(),c("span",I,[e[0]||(e[0]=s(" from ",-1)),n("span",V,_(u.value),1),e[1]||(e[1]=s(" to ",-1)),n("span",C,_(l.value),1)])):g("",!0),e[4]||(e[4]=s(" . Editing is paused until the move finishes. ",-1)),p(y,{to:"/account/settings",class:"font-medium underline underline-offset-2 hover:no-underline"},{default:S(()=>[...e[2]||(e[2]=[s(" View status ",-1)])]),_:1})])])])):g("",!0)}}};export{M as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.