1import{r as e}from"./chunks/vue.esm-bundler.bok29zre.js";import{o as t}from"./onPageRestore.oxwlvir2.js";import{w as o}from"./waitForWindowVar.hlx9zcg4.js";const r=e({}),u=e(!1);let s=null,a=!1;async function n(){a||(a=!0,t(()=>{i()}));try{await o("SYNO_EC.getCustomer")}catch{return r.value={},void(u.value=!0)}const e=window.SYNO_EC;try{if("function"==typeof e?.getCustomer){const t=await e.getCustomer();return r.value=t?.customer??e?.customer??{},void(u.value=!0)}if("function"==typeof e?.sendMessage){const t=await e.sendMessage({api:"Customer.Get"});return r.value=t?.customer??e?.customer??{},void(u.value=!0)}}catch{}r.value=e?.customer??{},u.value=!0}function c(){return s||(s=n()),s}function i(){return s=n(),s}function m(){return{customer:r,isLoaded:u,loadSharedCustomer:c,reloadSharedCustomer:i}}export{m as u};
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.