import{u as s,l as a,q as e,_ as l}from"./common-utils-8H8K2JPG.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-e_1WBubm.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"],L={class:"des"},P={class:"des-1"},R={class:"des-2 ellipsis"},S=["src"],A=["src"],F={class:"des"},G={class:"des-1"},N={class:"des-2 ellipsis"},T={class:"right"},W=k({__name:"Download",setup(k){const W=w((()=>l((()=>import("./PwaIosPop-jRTRjLKE.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",L,[d("span",P,m(g(z).name),1),d("span",R,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,S)):(t(),i("img",{key:1,class:"logo",src:g(a)("header/logo_".concat(g(M),".png")),alt:""},null,8,A)),d("div",F,[d("span",G,m(g(z).name),1),d("span",N,m(g(z).describes||g(H)("真人棋牌电子彩票体育竞技等娱乐尽在一手掌握")),1)])],64))]),d("div",T,[u(o,{class:"btn",onClick:Y,plain:""},{default:f((()=>[v(m(g(z).buttonName||g(H)("立即下载")),1)])),_:1})]),g(e)()?y("",!0):(t(),_(g(W),{key:0,frompage:"download"}))],2)}}},[["__scopeId","data-v-160b7aa7"],["__file","Download.vue"]]);export{W as default};
function __vite__mapDeps(indexes) {
  if (!__vite__mapDeps.viteFileDeps) {
    __vite__mapDeps.viteFileDeps = ["./PwaIosPop-jRTRjLKE.js","./vendor-jA_NIjzi.js","../asset/css/vendor-6Cac1bRU.css","./common-utils-8H8K2JPG.js","./common-store-e_1WBubm.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])
}