const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./main-bSzKqszP.js","./main-DnoTvuZO.js","./dist-lcs5aYiW.js","./about-BN-m_QPP.js","./boot_hash-C0kIcwCH.js","./security_patch-CAduPytZ.js"])))=>i.map(i=>d[i]);
import{t as e}from"./dist-lcs5aYiW.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var t=120,n=`https://play.google.com/store/apps/details?id=com.google.android.webview`;function r(){let e=navigator.userAgentData?.brands;if(Array.isArray(e)&&e.length>0){let t=e.find(e=>e.brand===`Android WebView`);if(t)return Number.parseInt(t.version,10)}let t=navigator.userAgent,n=/Android/i.test(t),r=/\bwv\b/.test(t);if(n&&r){let e=t.match(/Chrome\/(\d+)/);return e?Number.parseInt(e[1],10):0}return null}function i(){let e=r();return e===null||e>=t}var a=`modulepreload`,o=function(e,t){return new URL(e,t).href},s={},c=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),c=i?.nonce||i?.getAttribute(`nonce`);function l(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=l(t.map(t=>{if(t=o(t,n),t in s)return;s[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let l=document.createElement(`link`);if(l.rel=r?`stylesheet`:a,r||(l.as=`script`),l.crossOrigin=``,l.href=t,c&&l.setAttribute(`nonce`,c),document.head.appendChild(l),r)return new Promise((e,n)=>{l.addEventListener(`load`,e),l.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};function l(t){e(`am start -a android.intent.action.VIEW -d ${t}`).then(({errno:e})=>{e!==0&&window.open(t,`_blank`)}).catch(()=>window.open(t,`_blank`))}async function u(){await c(()=>import(`./main-bSzKqszP.js`),__vite__mapDeps([0,1,2]),import.meta.url),await c(()=>import(`./about-BN-m_QPP.js`),__vite__mapDeps([3,1,2]),import.meta.url),await c(()=>import(`./boot_hash-C0kIcwCH.js`),__vite__mapDeps([4,1,2]),import.meta.url),await c(()=>import(`./security_patch-CAduPytZ.js`),__vite__mapDeps([5,1,2]),import.meta.url)}async function d(){if(document.getElementById(`update-webview`).onclick=()=>l(n),!i()){document.getElementById(`webview-update-page`)?.classList.remove(`hidden`);return}await u()}d().catch(e=>{console.error(`Failed to bootstrap app:`,e)});