PageSourceSearch

https://aviatorgod.ai/assets/js/index-P0TmMMuO.js

js aviatorgod.ai collected 2026-10-05 13:33:18 UTC 3,350 bytes, 1 lines download raw bytes

1import{a4 as G,bp as M,l as Q,j as h,E as T,bb as b,bc as A,o as $,B as H,A as x,bq as z,C as K,br as W,_ as J,Q as B,I as _,K as g,R as u,U as i,ay as C,V as f,ag as D,aj as F,ah as X,ad as Y,a5 as Z,a6 as oo}from"./index-DWNIBzYf.js";const no=G({__name:"index",setup(a,{expose:y}){y();const{PWA:c}=M(),n=Q(),S=()=>{n.back()},d=h(""),w=h([]),t=h(!0),s=window.CONFIG?.MODE||"production",m=window.CONFIG?.tenant||"ar041",U=s==="sit"?"sit":m,k=o=>`${window.location.origin}/download/${U}/${o}?ts=${Date.now()}`,p=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,l=()=>{n.push("/downloadCenter/empty")},L=async o=>{if(!(await fetch(o,{method:"HEAD",cache:"no-store"})).ok)throw new Error("File not found")},E=(o,r)=>{const e=document.createElement("a");e.href=o,e.download=r,document.body.appendChild(e),e.click(),document.body.removeChild(e)},v=async(o,r)=>{const e=k(o);if(!e){l();return}try{if(await L(e),r&&window.gtag&&window.gtag("event",r),b()){A(e);return}E(e,o)}catch(q){console.error("Download failed:",q),l()}},P=()=>{if(window.gtag&&window.gtag("event","quick_down_click"),b()){const o=k("quick.apk");o?A(o):l();return}p?n.push("/downloadCenter/ios"):c.canIUse?c.download&&c.download():v("quick.apk")},R=()=>{if(p){if(d.value){window.open(d.value,"_blank");return}l();return}v("full.apk","full_down_click")},V=o=>{if(!o){l();return}if(p){$(H.global.t("downloadFileiOSError"));return}if(b()){A(o);return}window.open(o,"_blank")},j=()=>{t.value=!t.value},I=async()=>{const o=await x(z());d.value=o?.data?.iosUrl||""},O=async()=>{if(!K().getToken){w.value=[];return}const e=await x(W());w.value=Array.isArray(e?.data)?e.data:[]};T(()=>{O(),p&&I()});const N={PWA:c,router:n,onBack:S,iosUrl:d,appList:w,isAppListOpen:t,buildMode:s,tenantName:m,downloadStationName:U,getApkDownloadUrl:k,isIOS:p,goDownloadEmpty:l,assertDownloadAvailable:L,triggerBrowserDownload:E,openApkDownload:v,handleQuickDownload:P,handleFullDownload:R,downloadExternalUrl:V,toggleAppList:j,getIosUrl:I,getAppDownloadConfigList:O};return Object.defineProperty(N,"__isScriptSetup",{enumerable:!1,value:!0}),N}}),eo=a=>(Z("data-v-887c2eae"),a=a(),oo(),a),ao={class:"download-center"},to=eo(()=>i("div",{class:"banner"},null,-1)),so=["onClick"],io=["src"],lo={class:"text"};function ro(a,y,c,n,S,d){const w=B("NavBar"),t=B("svg-icon");return _(),g(D,null,[u(w,{title:a.$t("e1"),"left-arrow":"",onClickLeft:n.onBack},null,8,["title"]),i("div",ao,[to,i("div",{class:"btn1",onClick:n.handleQuickDownload},[u(t,{name:"ac_fast"}),C(f(a.$t("e2")),1)]),i("div",{class:"btn2",onClick:n.handleFullDownload},[u(t,{name:"ac_download"}),C(f(a.$t("e3")),1)]),!n.isIOS&&n.appList.length?(_(),g(D,{key:0},[i("div",{class:F(["btn3",{open:n.isAppListOpen}]),onClick:n.toggleAppList},[u(t,{name:"ac_private"}),C(" "+f(a.$t("e8"))+" ",1),u(t,{class:"down",name:"ac_down"})],2),i("div",{class:F(["app-list",{open:n.isAppListOpen}])},[(_(!0),g(D,null,X(n.appList,s=>(_(),g("div",{key:s.downAppURL||s.appName,class:"app-item",onClick:m=>n.downloadExternalUrl(s.downAppURL)},[i("img",{class:"icon",src:s.imgUrl},null,8,io),i("div",lo,f(s.appName),1)],8,so))),128))],2)],64)):Y("v-if",!0)])],64)}const wo=J(no,[["render",ro],["__scopeId","data-v-887c2eae"],["__file","/home/jenkins/agent/workspace/AR041-Pages-india-bigmumbai/src/views/downloadCenter/index.vue"]]);export{wo as default};

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.