import{d as m,C as u,j as p,a7 as f,a8 as _,a as c,J as s,u as a,b as l,N as o,m as C,O as v,M as x,o as i,_ as N}from"./__uno-CP0Q6RG2.js";import{N as d,b as S,I as g}from"./popup-CUqQDM27.js";import{D as k}from"./detect-header-tT1u-r2W.js";import{L as z}from"./index-DGGLZjod.js";import"./modulepreload-polyfill-B5Qt9EMX.js";import"./icon-dolphin-NiZHK-TD.js";const B={name:"AmazonDetection"},$=m({...B,setup(y){const e="detect",n=u(),r=S(),t=p("");return f(()=>{r.on(d,()=>{t.value=n.lockCountryCode?`检测到当前浏览器亚马逊后台页面站点不是锁定的站点，请切换并登录到已锁站点【${n.lockCountryCode}】，积加将持续为您检测。`:"检测到您的亚马逊后台无任何登录站点，请及时登录，积加将持续为您检测。"})}),_(()=>{r.off(d)}),(D,V)=>(i(),c("div",{class:o(e)},[s(a(k)),l("div",{class:o(`${e}-detecting`)},[s(a(z),{tip:"检测中"}),l("div",{class:o(`${e}-text`)}," 检测已登录亚马逊站点需要一定的时间，请耐心等待 ",2),a(t)?(i(),c("div",{key:0,class:o(`${e}-alert`)},[s(a(g),{class:o(`${e}-alert-icon`)},null,8,["class"]),C(v(a(t)),1)],2)):x("",!0)],2)]))}}),O=N($,[["__scopeId","data-v-d2c2f302"]]);export{O as default};
