import{d as b,q as g,F as v,g as l,l as S,o as N,a as h,J as c,u as a,b as i,O as u,N as r,m as p,w,v as C,_ as T}from"./__uno-CP0Q6RG2.js";import{I as k}from"./icon-dolphin-empty-BqCHwZks.js";const d=s=>{if(s){const e=Number(s.split(":")[0]);return isNaN(e)?s:e>=6&&e<12?"上午"+s:e>=12&&e<18?"下午"+s:e>=18&&e<=23?"晚上"+s:"凌晨"+s}return""},n="disabled",E=b({__name:"index",setup(s){const e=g(),o=v(),f=l(()=>{var t;return d((t=o.enableStatus)==null?void 0:t.startTime)}),m=l(()=>{var t;return d((t=o.enableStatus)==null?void 0:t.endTime)}),_=()=>{C.tabs.create({url:`https://${e.xorigin}.app.gerpgo.com/amzv-web/platform/plugin/online-status`})};return(t,$)=>{const x=S("gj-link");return N(),h("div",{class:r(n)},[c(a(k),{class:"u-text-118px"}),i("div",{class:r(`${n}-title`)}," 检测到插件工作时间为"+u(a(f))+" ~ "+u(a(m))+"，请在插件工作时间内保持插件和亚马逊后台同时在线 ",3),i("div",{class:r(`${n}-tip`)},[p(" 请合理设置插件工作时间，建议设为非工作时间规避插件跳站点导致亚马逊后台数据紊乱的店铺风险，如还需手动调整点击 "),c(x,{underline:"always",hoverable:!1,class:"u-text-16px",onClick:_},{default:w(()=>[p("ERP-工具-在线状态-执行时间设置")]),_:1})],2)])}}}),I=T(E,[["__scopeId","data-v-3f801f34"]]);export{I as default};
