import{u as s,l as a,q as e,_ as l}from"./common-utils-RDWuRZ1M.js";import{U as o,a as r,a4 as c,r as n,o as t,b as i,h as d,u as g,t as m,F as p,q as u,I as f,x as v,y as _,f as y,n as h,ae as w,s as U,b0 as b}from"./vendor-jA_NIjzi.js";import{_ as k,b as I,u as j}from"./common-store-kFD1YPwN.js";/* empty css              */import"./vendor-crypto-Vtl7-GZS.js";import"./vendor-mqtt-lYGapirz.js";const x=""+new URL("../asset/png/star-mkRyOgdE.png",import.meta.url).href,D={class:"left"},O=["src"],E={key:0,class:"box"},q=["src"],C=["src"],G={class:"des"},L={class:"des-1"},P={class:"des-2 ellipsis"},R=["src"],S=["src"],A={class:"des"},N={class:"des-1"},T={class:"des-2 ellipsis"},W={class:"right"},F=k({__name:"Download",setup(k){const F=w((()=>l((()=>import("./PwaIosPop-SlOB-fVc.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url))),{t:H}=o(),{theme:M}=s(),V=I(),{downloadGuideConfig:z}=r(V),B=c(),J=j(),{homeModel:K}=r(J),Q=()=>{const s=document.querySelector(".footer-bar-container");s&&(s.style.display="flex"),V.SET_SHOW_DOWNLOAD_GUIDE(!1)},X=n(!1),Y=()=>{X.value||(X.value=!0,z.value.configUrl?-1!==z.value.configUrl.indexOf("http")||-1!==z.value.configUrl.indexOf("www")?(X.value=!1,window.location.href=z.value.configUrl):(X.value=!1,B.push("/appDownload")):(X.value=!1,U(H("未配置链接"))))};return(s,l)=>{const o=b;return t(),i("div",{class:h(["guide-page",["guide-page-".concat(g(M)),"guide-page-".concat(g(K))]])},[d("div",D,[d("img",{class:"icon",onClick:Q,src:g(a)("header/close_".concat(g(M),".png")),alt:""},null,8,O),"red"===g(M)?(t(),i("div",E,[g(z).logoImageUrl?(t(),i("img",{key:0,class:"logo",src:g(z).logoImageUrl,alt:""},null,8,q)):(t(),i("img",{key:1,class:"logo",src:g(a)("header/logo_".concat(g(M),".png")),alt:""},null,8,C)),d("div",G,[d("span",L,m(g(z).name),1),d("span",P,m(g(z).describes||g(H)("真人棋牌电子彩票体育竞技等娱乐尽在一手掌握")),1)]),l[0]||(l[0]=d("img",{class:"star",src:x,alt:""},null,-1))])):(t(),i(p,{key:1},[g(z).logoImageUrl?(t(),i("img",{key:0,class:"logo",src:g(z).logoImageUrl,alt:""},null,8,R)):(t(),i("img",{key:1,class:"logo",src:g(a)("header/logo_".concat(g(M),".png")),alt:""},null,8,S)),d("div",A,[d("span",N,m(g(z).name),1),d("span",T,m(g(z).describes||g(H)("真人棋牌电子彩票体育竞技等娱乐尽在一手掌握")),1)])],64))]),d("div",W,[u(o,{class:"btn",onClick:Y,plain:""},{default:f((()=>[v(m(g(z).buttonName||g(H)("立即下载")),1)])),_:1})]),g(e)()?y("",!0):(t(),_(g(F),{key:0,frompage:"download"}))],2)}}},[["__scopeId","data-v-160b7aa7"],["__file","Download.vue"]]);export{F as default};
function __vite__mapDeps(indexes) {
  if (!__vite__mapDeps.viteFileDeps) {
    __vite__mapDeps.viteFileDeps = ["./PwaIosPop-SlOB-fVc.js","./vendor-jA_NIjzi.js","../asset/css/vendor-6Cac1bRU.css","./common-utils-RDWuRZ1M.js","./common-store-kFD1YPwN.js","./vendor-mqtt-lYGapirz.js","../asset/css/common-store-amwnRAmh.css","./vendor-crypto-Vtl7-GZS.js","../asset/css/common-utils-JJPMhzsF.css","../asset/css/PwaIosPop-GWrwd_0h.css","../asset/css/theme-N91c3Oze.css"]
  }
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}