const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BLOufl3v.js","./@vue-BAMG1s6E.js","./@cg-gj7GXBFN.js","./@vueuse-Y5pFU7tt.js","./crypto-js-DX2bHUVG.js","./ua-parser-js-CYPM8Uy3.js","./vant-D7iKbhSx.js","./@vant-o9chw7Xb.js","../assets/vant-D7WKZ9xU.css","../assets/index-1dkvjLb8.css","./index-DhbGH6ta.js","./useDataHooks-Akn7X100.js","../assets/index-C7bydI8R.css","./index-spGRGWzk.js","../assets/index-a_trvr4p.css","./index-B2LmzXeR.js","../assets/index-CvXlhgG2.css","./index-Djf8KIfS.js","./dataFormat-eg5FHZkk.js","../assets/dataFormat-QHXtdcog.css","./maintain-BQvZewQE.js","../assets/index-9jCD-zMK.css","./index-DJO7c0mm.js","../assets/index-CBwQccyt.css","./index-CsC-2OvQ.js","../assets/index-CjhXuRfr.css","./index-CxYfnDXi.js","../assets/index-BE4qjufW.css"])))=>i.map(i=>d[i]);
var yn=Object.defineProperty;var Cn=(t,e,n)=>e in t?yn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var b=(t,e,n)=>Cn(t,typeof e!="symbol"?e+"":e,n);import{m as M,z as v,A as C,B as w,C as Be,a as Mt,c as Ze,u as _,D as S,E as se,F as z,q as D,w as fe,t as me,G as j,H as K,T as He,I as ct,J as bn,K as Ot,s as he,o as An,L as Re,M as Te,N as ut,O as ge,r as vt,e as Sn,P as Ft,n as In,Q as et,g as Ln,R as It,S as xn}from"./@vue-BAMG1s6E.js";import{d as Dn}from"./@cg-gj7GXBFN.js";import{c as Et}from"./@vueuse-Y5pFU7tt.js";import{E as Dt,a as ke,A as Fe,M as Pn,P as Tn,b as kn}from"./crypto-js-DX2bHUVG.js";import{U as Mn}from"./ua-parser-js-CYPM8Uy3.js";import{I as On,L as En}from"./vant-D7iKbhSx.js";import"./@vant-o9chw7Xb.js";function Xs(){import.meta.url,import("_").catch(()=>1),async function*(){}().next()}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))o(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function n(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(a){if(a.ep)return;a.ep=!0;const s=n(a);fetch(a.href,s)}})();const Un="modulepreload",Nn=function(t,e){return new URL(t,e).href},Me={},y=function(e,n,o){let a=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),l=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));a=Promise.allSettled(n.map(c=>{if(c=Nn(c,o),c in Me)return;Me[c]=!0;const d=c.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(!!o)for(let h=i.length-1;h>=0;h--){const g=i[h];if(g.href===c&&(!d||g.rel==="stylesheet"))return}else if(document.querySelector('link[href="'.concat(c,'"]').concat(f)))return;const u=document.createElement("link");if(u.rel=d?"stylesheet":Un,d||(u.as="script"),u.crossOrigin="",u.href=c,l&&u.setAttribute("nonce",l),document.head.appendChild(u),d)return new Promise((h,g)=>{u.addEventListener("load",h),u.addEventListener("error",()=>g(new Error("Unable to preload CSS for ".concat(c))))})}))}function s(i){const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i}return a.then(i=>{for(const r of i||[])r.status==="rejected"&&s(r.reason);return e().catch(s)})},$n={class:"spinner"},Vn=M({name:"CGLoadingSpiner",__name:"index",setup(t){return(e,n)=>(v(),C("div",$n,n[0]||(n[0]=[w("div",{class:"cg-loading cg-vhcenter"},null,-1)])))}}),V=(t,e)=>{const n=t.__vccOpts||t;for(const[o,a]of e)n[o]=a;return n},je=V(Vn,[["__scopeId","data-v-8023aa4c"]]),Bn={BASE_URL:"./",DEV:!1,LEGACY:!1,MODE:"production",PROD:!0,SSR:!1,VITE_BASE_API:"",VITE_OSS_URL:"",VITE_PUBLIC_PATH:"./",VITE_VERSION:"1732603312273"},r1="--",{MODE:Zn,VITE_PUBLIC_PATH:c1}=Bn,Hn=Zn=="production";var ie=(t=>(t[t.SUCCESS_CODE_0=0]="SUCCESS_CODE_0",t[t.SUCCESS_CODE_1=1]="SUCCESS_CODE_1",t[t.SITE_FROZEN=9111]="SITE_FROZEN",t[t.SITE_MAINTAIN=-3]="SITE_MAINTAIN",t[t.SITE_FROZEN_AND_MAINTAIN=-4]="SITE_FROZEN_AND_MAINTAIN",t))(ie||{});const re=[0,1],_e=[9111,-3,-4];var mt=(t=>(t[t.OSS_Domain=0]="OSS_Domain",t[t.API_Domain=1]="API_Domain",t[t.WEB_Domain=2]="WEB_Domain",t))(mt||{});const Rn={0:"/siteadmin/ssocdn.txt",1:"/ipacdn.txt",2:"/bewcdn.txt"};var $=(t=>(t[t.Normal=0]="Normal",t[t.MainTain=1]="MainTain",t[t.Frozen=2]="Frozen",t[t.AccessRestricted=3]="AccessRestricted",t))($||{});const H="cg-ds";class A{}b(A,"TOKEN","".concat(H,"-token")),b(A,"ACTIVE_THEME_NAME","".concat(H,"-active-theme")),b(A,"SITE_CONFIG_DATA","".concat(H,"-config-data")),b(A,"SITE_LANGUAGE","".concat(H,"-language")),b(A,"TEMPLATE_DATA","".concat(H,"-template-data")),b(A,"IMAGE_TYTPE","".concat(H,"-image-type")),b(A,"DEVICE_ID","".concat(H,"-device-id")),b(A,"PWA_INSTALL","".concat(H,"-pwa-install")),b(A,"TARGET_URL","".concat(H,"-target-url")),b(A,"PWA_LOBBY_DOMAIN","".concat(H,"-lobby-domain")),b(A,"SERVICE_TIME","".concat(H,"-servce-time"));function m(t){return t==null||t===""}async function ze(t){let e=!0;try{if(navigator.clipboard&&navigator.permissions)await navigator.clipboard.writeText(t);else{const n=document.createElement("input");n.setAttribute("value",t),document.body.appendChild(n),n.select(),document.execCommand("copy"),n.remove()}}catch(n){e=!1}return e}function Fn(t,e=6){if(m(t))return null;let n=Math.pow(10,e);return Math.round(t*n)/n}function ce(){try{return window.crypto.randomUUID()}catch(t){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let n=Math.random()*16|0;return(e=="x"?n:n&3|8).toString(16)})}}function We(t){return new Promise(e=>{let n=new Image;n.onload=function(){e(n.width>0&&n.height>0)},n.onerror=function(){e(!1)},n.src=t})}async function jn(){return await We("data:image/webp;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==")}async function zn(){return await We("data:image/avif;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==")}function Wn(){let t="";try{const e=document.createElement("canvas"),n=e.getContext("2d");if(n){let o="download-site-next";n.textBaseline="top",n.font="14px 'Arial'",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.fillText(o,2,15),n.fillStyle="rgba(102, 204, 0, 0.7)",n.fillText(o,4,17),t=e.toDataURL().replace(/^data:image\/(png|jpg);base64,/,"").substring(0,36)}else t=ce()}catch(e){t=ce()}return t}function qe(t,e=!1){for(const n in t){const o=t[n];m(o)?delete t[n]:typeof o=="object"&&(qe(o),e&&Object.keys(o).length==0&&delete t[n])}return t}const wt=(t,e)=>{m(e)?localStorage.removeItem(t):localStorage.setItem(t,JSON.stringify(e))},yt=t=>{let e=localStorage.getItem(t);return m(e)?null:JSON.parse(e)},Ge={cache:!0,cacheTime:1e3*60*15},Ye=(t,e,n=!0)=>{var a;if(e={...Ge,...e},!e.cache)return null;const o=yt(t);if(m(o))return null;try{let s=new Date().getTime();return n&&s-o.updateTime>((a=e.cacheTime)!=null?a:0)?null:o.data}catch(s){}return null},Qe=(t,e,n)=>{if(n={...Ge,...n},n.cache&&!m(e)){let o=new Date().getTime();wt(t,{updateTime:o,data:e})}},Oe=(t,e,n=!0)=>Ye(t,e,n),qn=(t,e,n)=>{Qe(t,e,n)},Gn=()=>Ye(A.SITE_CONFIG_DATA,void 0,!1),Yn=t=>Qe(A.SITE_CONFIG_DATA,t),Qn=()=>yt(A.IMAGE_TYTPE),Kn=t=>wt(A.IMAGE_TYTPE,t),ve=()=>yt(A.DEVICE_ID),Jn=t=>wt(A.DEVICE_ID,t),Xn=()=>yt(A.PWA_INSTALL)==1,Xt=(t=1)=>wt(A.PWA_INSTALL,t),to=()=>yt(A.PWA_LOBBY_DOMAIN),Ee=t=>wt(A.PWA_LOBBY_DOMAIN,t),eo=t=>{var o;const{time:e,times:n=0}=(o=yt(A.SERVICE_TIME))!=null?o:{};return e!=t?(Ue({time:t,times:0}),!1):(Ue({time:t,times:n+1}),n>2)},Ue=t=>wt(A.SERVICE_TIME,t);function we(){const t=Mt({show:!1}),e=a=>{t.show=a};return{open:a=>{Object.assign(t,a),e(!0)},close:()=>e(!1),state:t,toggle:e}}function ye(t,e=document.body){const n=Be(t),o=document.createElement("div");return e.appendChild(o),{instance:n.mount(o),unmount(){n.unmount(),e.removeChild(o)}}}const no={class:"svg-icon","aria-hidden":"true"},oo=["href"],ao=M({name:"SvgIcon",__name:"index",props:{prefix:{default:"icon"},name:{}},setup(t){const e=t,n=Ze(()=>"#".concat(e.prefix,"-").concat(e.name));return(o,a)=>(v(),C("svg",no,[w("use",{href:n.value},null,8,oo)]))}}),at=V(ao,[["__scopeId","data-v-f0643f53"]]);var Q=(t=>(t.Default="default",t.Success="success",t.Warn="warn",t))(Q||{});const so=["textContent"],io={key:1,class:"cg-tip text-success cg-hcenter"},ro={class:"cg-flex-con"},co={key:2,class:"cg-tip text-warn cg-hcenter"},lo={class:"cg-flex-con"},uo=M({name:"CGTip",__name:"index",props:{type:{default:Q.Default},text:{default:""}},setup(t){const e=t;return(n,o)=>{const a=at;return e.type==_(Q).Default?(v(),C("div",{key:0,class:"cg-tip cg-hcenter text-placeholder",textContent:S(e.text)},null,8,so)):e.type==_(Q).Success?(v(),C("div",io,[se(n.$slots,"default",{},()=>[D(a,{class:"cg-tip-icon",name:"icon-success"}),w("div",ro,S(e.text),1)],!0)])):e.type==_(Q).Warn?(v(),C("div",co,[se(n.$slots,"default",{},()=>[D(a,{class:"cg-tip-icon",name:"icon-warn"}),w("div",lo,S(e.text),1)],!0)])):z("",!0)}}}),po=V(uo,[["__scopeId","data-v-6a6768ac"]]),fo={key:0,class:"cg-toast-warp cg-vhcenter"},mo=4e3,ho=M({name:"CGToast",__name:"index",props:{show:{type:Boolean,default:!1},type:{default:Q.Default},message:{default:""}},emits:["closed","update:show"],setup(t,{emit:e}){const n=e;let o=null;const a=t,s=()=>{i(),o=setTimeout(()=>{n("update:show",!1),setTimeout(()=>{n("closed")},400)},mo)},i=()=>{o&&(clearTimeout(o),o=null)};return fe(()=>[a.message,a.type],()=>{s()}),me(()=>{i()}),(r,l)=>{const c=po;return v(),j(He,{name:"cg-modal"},{default:K(()=>[a.show?(v(),C("div",fo,[w("div",{class:Ot(["cg-modal-container","cg-toast-"+a.type])},[a.type==_(Q).Default?(v(),C(ct,{key:0},[bn(S(a.message),1)],64)):(v(),j(c,{key:1,class:"cg-toast-tip",text:a.message,type:a.type},null,8,["text","type"]))],2)])):z("",!0)]),_:1})}}});let ht=null;function go(){if(ht)return ht;const{instance:t,unmount:e}=ye({setup(n,{expose:o}){const{open:a,state:s,close:i,toggle:r}=we(),l=()=>{e(),ht=null},c=()=>D(ho,he(s,{onClosed:l,"onUpdate:show":r}),null);return o({open:a,close:i,toggle:r}),c}});return t}function zt(t){return ht=go(),ht.open(typeof t=="string"?{message:t}:t),ht}function _o(t){return zt({type:Q.Success,message:t})}function Ne(t){return zt({type:Q.Warn,message:t})}const vo=(t,e,n)=>{const o=t[e];return o?typeof o=="function"?o():Promise.resolve(o):new Promise((a,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+e+(e.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})};var Ke=(t=>(t.ZH="zh",t.ZH_HK="zh_hk",t.EN="en",t.PT="pt",t.TH="th",t.ID="id",t.VI="vi",t.HI="hi",t.KO="ko",t.JA="ja",t.ES="es",t.DE="de",t.FR="fr",t.IT="it",t.MY="my",t.AR="ar",t.TL="tl",t.KM="km",t))(Ke||{});const Je=Object.values(Ke);async function wo(t){return t&&Je.includes(t)?(await vo(Object.assign({"./translations/ar.json":()=>y(()=>import("./ar-C1bafUqT.js"),[],import.meta.url),"./translations/de.json":()=>y(()=>import("./de-BtGizQDH.js"),[],import.meta.url),"./translations/en.json":()=>y(()=>import("./en-CaR11Wa-.js"),[],import.meta.url),"./translations/es.json":()=>y(()=>import("./es-8j7Po28l.js"),[],import.meta.url),"./translations/fr.json":()=>y(()=>import("./fr-CmSHhFBe.js"),[],import.meta.url),"./translations/hi.json":()=>y(()=>import("./hi-yzzfYK_T.js"),[],import.meta.url),"./translations/id.json":()=>y(()=>import("./id-WKRHpJHw.js"),[],import.meta.url),"./translations/it.json":()=>y(()=>import("./it-C1ecfxQA.js"),[],import.meta.url),"./translations/ja.json":()=>y(()=>import("./ja-C74fioDi.js"),[],import.meta.url),"./translations/km.json":()=>y(()=>import("./km-B6nnurbm.js"),[],import.meta.url),"./translations/ko.json":()=>y(()=>import("./ko-aP9Mlhjk.js"),[],import.meta.url),"./translations/my.json":()=>y(()=>import("./my-CpETU97c.js"),[],import.meta.url),"./translations/pt.json":()=>y(()=>import("./pt-E3lJXt2J.js"),[],import.meta.url),"./translations/th.json":()=>y(()=>import("./th-BUVzHWoJ.js"),[],import.meta.url),"./translations/tl.json":()=>y(()=>import("./tl-taPmWKEU.js"),[],import.meta.url),"./translations/vi.json":()=>y(()=>import("./vi-CfPwwli0.js"),[],import.meta.url),"./translations/zh.json":()=>y(()=>import("./zh-Bv-csEH0.js"),[],import.meta.url),"./translations/zh_hk.json":()=>y(()=>import("./zh_hk-DFj4dID4.js"),[],import.meta.url)}),"./translations/".concat(t,".json"),3)).default:{}}const Xe="zh",yo=function(t){let e=t!=null?t:window.navigator.language;return e!="zh_hk"&&(e=e.split("-")[0]),Je.includes(e)?e:Xe};class Co{constructor(e){b(this,"locale",Xe);b(this,"localeMessages",null);this.setLocale(e==null?void 0:e.locale),this.setMessage(e==null?void 0:e.message)}setLocale(e){e&&(this.locale=e)}getLocale(){return this.locale}setMessage(e){this.localeMessages==null?this.resetMessage(e):Object.assign(this.localeMessages,e!=null?e:{})}getMessage(e){return e&&this.localeMessages?this.localeMessages[e]:this.localeMessages}resetMessage(e){this.localeMessages=e!=null?e:null}translate(e,n){if(this.localeMessages==null)return"";let o=Ao(this.localeMessages[this.locale],e);return o&&typeof o=="string"?n?bo(o,n):o:o?JSON.stringify(o):""}get[Symbol.toStringTag](){return"I18n"}}function bo(t,e){return e?t.replace(/\{([^}]*)\}/g,function(n,o){return o=o.trim(),e[o]||n}):t}function Ao(t,e){return e.split(".").reduce((n,o)=>n&&n[o],t)}async function So(t){try{const e=W("/api/v1/down_site/list_download_template_v2"),n="".concat(e+ee("cid",t.cid)+ee("id",t.id)+ee("language",t.language),".json"),o=await O().getForStatic(e,n,t,{isAboutLocale:!0});return(o==null?void 0:o.data)||null}catch(e){}return null}async function tn(t){if(m(t.id))return null;try{const e=W("/api/lobby/channel/go/getChannelInfoById"),n=await O().getForStatic(e,"".concat(e,"/id/").concat(t.id,"/info/channel.json"),t);return(n==null?void 0:n.data)||null}catch(e){}return null}async function Io(){try{const t=await O().post(W("/api/lobby/config/getAppDownloadInfo"));return(t==null?void 0:t.data)||null}catch(t){}return null}var en=(t=>(t[t.SYSTEM=1]="SYSTEM",t[t.CUSTOM=2]="CUSTOM",t))(en||{}),le=(t=>(t[t.System=0]="System",t[t.Custom=1]="Custom",t))(le||{}),nn=(t=>(t[t.System=0]="System",t[t.Custom=1]="Custom",t))(nn||{}),Ce=(t=>(t[t.LABBY=1]="LABBY",t[t.CUSTOM=2]="CUSTOM",t))(Ce||{}),rt=(t=>(t[t.Style_1=1]="Style_1",t[t.Style_2=2]="Style_2",t[t.Style_3=3]="Style_3",t))(rt||{}),gt=(t=>(t[t.SYSTEM=0]="SYSTEM",t[t.CUSTOM=1]="CUSTOM",t))(gt||{}),jt=(t=>(t[t.SYSTEM=0]="SYSTEM",t[t.CHANNEL=1]="CHANNEL",t[t.CUSTOM=2]="CUSTOM",t))(jt||{}),Gt=(t=>(t[t.BaseStyle=0]="BaseStyle",t[t.AppStore=1]="AppStore",t))(Gt||{}),xt=(t=>(t[t.CUSTOM_SELF=1]="CUSTOM_SELF",t[t.CUSTOM_BLANK=2]="CUSTOM_BLANK",t[t.DOWNLOAD_APP=3]="DOWNLOAD_APP",t[t.CHOSE_LINE=4]="CHOSE_LINE",t))(xt||{}),lt=(t=>(t[t.PICTURE=0]="PICTURE",t[t.CONTENT=1]="CONTENT",t[t.LINE=2]="LINE",t[t.COMMENT=3]="COMMENT",t[t.title=999]="title",t))(lt||{}),on=(t=>(t[t.NONE=0]="NONE",t[t.GOOGLE=1]="GOOGLE",t[t.BAIDU=2]="BAIDU",t[t.YOUMENG=3]="YOUMENG",t))(on||{}),de=(t=>(t[t.SPEED_APP=1]="SPEED_APP",t[t.NATIVE_APP=2]="NATIVE_APP",t))(de||{}),nt=(t=>(t[t.SPEED_APP=1]="SPEED_APP",t[t.NATIVE_APP=2]="NATIVE_APP",t[t.QUICK_APP=3]="QUICK_APP",t))(nt||{});function dt(t,e){const n=m(t)?window.location.href:t;if(!e||Object.keys(e).length<1)return n;try{const o=new URL(n);for(let a in e){let s=e[a];m(s)?o.searchParams.delete(a):o.searchParams.set(a,s)}return o.toString()}catch(o){}return n}function E(t,e=!0){if(t=t!=null?t:location.search,m(t))return{};const n=e?Dn.parseURL(t):{};if("URLSearchParams"in window){const s=new URLSearchParams(t);let i={};for(const[r,l]of s.entries())i[r]=l;return{...i,...n}}t.startsWith("?")&&(t=t.substring(1));let o=t.split("&"),a={};return o.forEach(function(s){let[i,r]=s.split("=");i=decodeURIComponent(i),r&&(r=decodeURIComponent(r),a[i]=r)}),{...a,...n}}function l1(t){let e=window.getComputedStyle(document.documentElement,null),n=parseFloat(e.getPropertyValue("font-size").replace("px",""));return(t!=null?t:"").replace(/(\d+(\.\d+)?)px/g,function(o,a){let s=Math.ceil(parseFloat(a));return s>=14&&(s-=2),"".concat(Fn(s/n),"rem")})}function Tt(t){return t?t.includes("://")?t:"https://".concat(t):""}function F(t){if(m(t.href))return;const e=t.noPreFix?t.href:Tt(t.href);t.target=="_blank"?setTimeout(()=>{window.open(e,"_blank")},200):setTimeout(()=>{window.location.href=e},200)}async function Yt(t){var e;t.href=Tt(t.href||window.location.href);try{const{origin:n,pathname:o,search:a}=new URL((e=t.href)!=null?e:""),s=E(a,!1);t.href=dt(n+o,{languageCode:B().getLocale(),...E(void 0,!1),...s,...t.searchParams})}catch(n){}F(t)}function Lo(t,e){try{let n=new URL(t),o=new URL(e);return o.hostname=n.hostname,o.port=n.port,o.href}catch(n){}return e}function Qt(){let{languageCode:t}=E();return yo(t)}function xo(t,e){const{defaultImg:n}=e,{downloadPageModelVOS:o}=e.template,{stationColor:a,stationImageMap:s,stationStyle:i}=o||{};t.fixOperations={color:a,imagesMap:s,style:i},t.fixDefaultImg={...n}}function Do(t,e){t.templateStyle=Gt.AppStore;const{appIcon:n,template:o}=e,{pageSetting:a}=o,{appStoreConfig:s}=a;t.appInfo={type:s.bgType,bgColor:s.bgColor,appName:s.appName,appIcon:s.logoUrl||n,iosAppName:s.iosAppName,iosAppIcon:s.iosLogoUrl||n,developer:s.developerName,bgUrl:s.bgImgUrl,videoUrl:s.bgVideoUrl,ageLimit:s.ageLimit,commentNum:s.commentNum,downloadNum:s.downloadNum},t.pwaConfig={appName:t.appInfo.appName,appIcon:t.appInfo.appIcon},t.headConfig={isHide:s.hideTop};const{installType:i,androidDownloadUrl:r,iosDownloadUrl:l}=s,c=i==en.SYSTEM?gt.SYSTEM:gt.CUSTOM;t.downLoadConfig={...t.downLoadConfig,templateConfig:{type:c,iosUrl:l,androidUrl:r}};const{downloadPageContentVOS:d}=o;let f=[],p=[],u={isHide:!1,data:[]};d.forEach(({type:h,formData:g})=>{var I,U;if(h==lt.PICTURE){const x=(g.picList||[]).filter(T=>!m(T.url));f.push(...x)}else if(h==lt.CONTENT){const{isHideTitle:x=!1,isAndroid:T=!1,isIos:st=!1,title:it="",content:X="",hideTag:pt=!1,tags:ft=[]}=g;p.push({hideTitle:x,title:it,content:X,hideTag:pt,isAndroid:T,isIos:st,tags:ft})}else h==lt.COMMENT&&(u.isHide=(I=g.isHide)!=null?I:!1,u.data.push(...(U=g.comments)!=null?U:[]))}),t.appImages=f,t.appDescList=p,t.appComments=u}function Po(t,e){var Ie,Le,xe,De,Pe;const{appIcon:n,template:o}=e,{websiteTitleStyleVOS:a,themeColor:s}=o;t.themeColor=s;const{isHide:i,titleBackgroundColor:r,titleContent:l,websiteTitleStyle:c}=a,d=((Le=(Ie=a.logoMap)==null?void 0:Ie.find(N=>N.isChoose))==null?void 0:Le.url)||n;t.headConfig={isHide:i,logo:d,type:c,title:l,bgColor:r},t.pwaConfig={appName:"",appIcon:d};const{footerConfig:f}=o,{lineConfig:p}=o;let u=[];if(((xe=f.domainLineLink)==null?void 0:xe.btnTextType)==nn.System){const{siteConfigData:N}=k();u=(De=N.lobbyDomains)!=null?De:[]}else u=(Pe=f.domainLineLink)==null?void 0:Pe.list.map(N=>N.url);t.lineConfig={...p,lines:u};const{bg:h,title:g,styleType:I,imgUrl:U,h5Bubble:x,downloadBubble:T,downloadBubbleLink:st,gameDownloadBubbleLink:it}=f,{btnTextType:X,btnText:pt,btnValue:ft,textContent:Nt,inputText:$t}=it!=null?it:{};let G="";X==jt.CHANNEL?G=pt:X==jt.CUSTOM?G=ft==Ce.LABBY?Nt:$t:X==jt.SYSTEM&&u.length==1&&(G=u[0]),t.footerConfig={type:I,title:g,isHide:f.isHide,bgColor:h,logo:U,play:{text:x.btnTextType==le.Custom?x.btnText:"",bubble:x.isHide?"":x.textContent,bgColor:x.bg},playLink:{type:X,url:G},download:{text:T.btnTextType==le.Custom?T.btnText:"",bubble:T.isHide?"":T.textContent,bgColor:T.bg}},t.downLoadConfig={...t.downLoadConfig,templateConfig:{type:st.btnTextType,iosUrl:st.textContent,androidUrl:st.btnText}};const{downloadPageContentVOS:Ct}=o,Vt=[];Ct.forEach(({type:N,formData:Bt})=>{if(N==lt.PICTURE){const{isHideTitle:bt=!1,title:At=""}=Bt,St=(Bt.picList||[]).filter(Jt=>!m(Jt.url));Vt.push({type:N,data:{isHideTitle:bt,title:At,images:[...St]}})}else if(N==lt.CONTENT){const{color:bt="",title:At="",content:St=""}=Bt;Vt.push({type:N,data:{color:bt,title:At,content:St}})}else if(N==lt.LINE){const{bg:bt="",btnBgColor:At="",styleType:St=rt.Style_1,textColor:Jt=""}=Bt;Vt.push({type:N,data:{bg:bt,btnBgColor:At,styleType:St,textColor:Jt}})}}),t.modules=Vt}function To(t){var pt,ft,Nt,$t;const e={templateStyle:Gt.BaseStyle},{template:n,languageList:o}=t,{languageCode:a,languageCodeList:s,themeColor:i,pageSetting:r}=n,l=Qt();let c={code:(pt=s.find(G=>G==l))!=null?pt:a,name:""};const d=o.map(G=>{const Ct={code:G.languageCode,name:G.languageName};return Ct.code==a&&(c.name=Ct.name),Ct});Object.assign(e,{language:c,allLanguages:d,themeColor:i});const{codeType:f,ico:p,keyword:u,pageDescription:h,statisticalCode:g,titleMark:I}=n.pageSetting;e.siteSetting={codeType:f,ico:p,keyword:u,pageDescription:h,statisticalCode:g,titleMark:I};const{btnValue:U,btnTextType:x,textContent:T,pass:st=1,btnText:it}=(ft=n.footerConfig.downloadToWeb)!=null?ft:{},X=U===Ce.LABBY?"".concat(Tt(T)):"".concat(Tt(it));return e.autoJumpToWeb={isOpen:x==1,linkUrl:X,time:Number(st)*1e3},xo(e,t),e.downLoadConfig={isPwa:(Nt=t.isPwa)!=null?Nt:!1},($t=r.appStoreConfig)!=null&&$t.isAppStoreStyle?Do(e,t):Po(e,t),e}async function ko(){const{cid:t,id:e}=E(),n=Qt();let o=null;const a=await So({cid:t,id:e,language:n});return a!=null&&(o=To(a)),o}async function Mo(){const{cid:t}=E();let e=await tn({id:t});if(e!=null){const{isHideDomain:n,anywhere:o,webDomain:a,androidBackupLinkType:s,androidBackupLink:i,iosBackupLinkType:r,iosBackupLink:l}=e;return{isHideDomain:n,anywhere:o,webDomain:a,androidType:s,androidUrl:i,iosType:r,iosUrl:l}}return null}async function Oo(){let t=await Io();if(t!=null){const{isLocalStatic:e}=k().siteConfigData,{seoSwitch:n,androidList:o,downloadList:a,appIcon:s,appNameLanguage:i}=t;if(!n&&!e){const c=location.href;o.forEach(d=>{d.downloadPath=Lo(c,d.downloadPath)})}const r=a.map(({type:c,language:d,name:f,value:p})=>({type:c,language:d,name:f,url:p}));return{baseDownloadConfig:{androidList:o.map(({type:c,customizePath:d,downloadPath:f,size:p,version:u})=>({customizePath:d,downloadPath:f,type:c,size:p,version:u})),iosList:r},appIcon:s,appNameLanguage:i}}return null}const B=Et(()=>{const t=new Co;return{i18n:t,setLocale:async function(a){var i;if(t.setLocale(a),(i=t.localeMessages)!=null&&i[a])return;let s=await wo(a);t.setMessage({[a]:s})},getLocale:()=>m(t.getMessage())?Qt():t.getLocale(),$t:(a,s)=>t.translate(a,s)}});function Eo(){const{$t:t}=B();return{title:t("common.title"),back:t("common.back"),loadingError:t("common.loadingError")}}function Uo(t){if(m(t))return"";try{let e=Dt.parse("thanks,pig4cloud"),n=Dt.parse(""),o=ke.parse(t),a=ke.stringify(o),i=Fe.decrypt(a,e,{iv:n,mode:Pn,padding:Tn}).toString(Dt);return JSON.parse(i)}catch(e){return JSON.parse(t)}}function No(t){const e="tgJt2ol!^E)E8(%P",n=Dt.parse("5421698523412578");return Fe.encrypt(t,Dt.parse(e),{iv:n,padding:kn}).toString()}const be=Et(()=>{let t=[],e=[],n=!0,o=!0;function a(c,d,f){const p={fn:d,args:f};p.uniKey=JSON.stringify(p),c.findIndex(h=>p.uniKey==h.uniKey)>-1||(c.push(p),l())}function s(c,d){a(t,c,d)}function i(c,d){a(e,c,d)}async function r(){var d;const c=(d=e.shift())!=null?d:t.shift();if(!c){o=!0;return}typeof c.fn=="function"&&await c.fn(c.args),setTimeout(r,500)}function l(){o&&(o=!1,setTimeout(r,n?1e3*4:1e3),n=!1)}return{addTask:s,addMainTask:i}});function $o(t){return Promise.any?Promise.any(t):new Promise((e,n)=>{const o=[];let a=0;t.forEach((s,i)=>{Promise.resolve(s).then(e,r=>{o[i]=r,a++,a===t.length&&n(new AggregateError(o,"All promises were rejected"))})})})}function Vo(t){return Promise.race?Promise.race(t):new Promise((e,n)=>{for(const o of t)Promise.resolve(o).then(e,n)})}const{addTask:Bo}=be(),Zo={cache:!0,sync:!0,cacheTime:1e3*60*10},Ho=1e3*12;function an(t,e,n=Ho){let o=new AbortController,a=o.signal,s=new Promise((i,r)=>{setTimeout(()=>{r(new Error("Request timeout")),o.abort()},n)});return Vo([s,fetch(t,{...e,signal:a})])}function te(t){var a,s;if((a=t.cacheConfig)!=null&&a.cacheKey)return(s=t.cacheConfig)==null?void 0:s.cacheKey;const e={...t.data};delete e.t;const n=t.data?"".concat(t.url).concat(JSON.stringify(e)):t.url,o=t.isAboutLocale?"".concat(B().getLocale(),"|").concat(n):n;return t.cacheConfig?t.cacheConfig.cacheKey=o:t.cacheConfig={cacheKey:o},o}const Ro=function(){let t=null,e=null;function n(){return t=t!=null?t:B().getLocale(),e=e!=null?e:ve(),e==null&&(e=Wn(),Jn(e)),{language:t,"Accept-Language":"".concat(t,";q=0.9, *;q=0.5"),device:e}}return{getOptions:n}}();function Fo(){const t=(+new Date).toString().substring(0,10),e=ce();return{...Ro.getOptions(),"X-Request-Id":e,nonce:e,timestamp:t,siteCode:k().siteConfigData.siteCode,sign:No(t+e),platformtype:"3"}}function jo(t,e){var s;let n=e.url.startsWith("http")?e.url:t+e.url,o=Fo(),a={method:e.method,mode:"cors",...e.options};return e.method==="POST"?(a.body=e.data?JSON.stringify(e.data):"{}",o["Content-Type"]="application/json"):(n.includes(".json")&&(e.data={t:Math.floor(+new Date/1e6),...e.data}),n=dt(n,e.data)),a.headers={...o,...(s=e.options)==null?void 0:s.headers},{fetchURL:n,fetchConfig:a}}class zo{constructor(e){b(this,"baseURL","");b(this,"staticBaseUrl",ue);this.setBaseURL(e==null?void 0:e.baseURL)}setBaseURL(e){e!=null&&(this.baseURL=e)}setStaticBaseUrlURL(e){e!=null&&(this.staticBaseUrl=e)}async fetchData(e){var s,i;let n=null;const{fetchURL:o,fetchConfig:a}=jo(this.baseURL,e);try{const r=await an(o,a);if(!r.ok||r.status==404)throw new Error("Request error");const l=r.clone();let c=o.includes(".json");try{n=await r.json(),_e.includes(n.code)?k().checkSiteStatus(n.code):!re.includes(n.code)&&!m(n.msg)&&zt(n.msg)}catch(f){if(!c)throw f}c&&(n=Uo(await l.text()));const d=c||(e.cacheCodes||re).includes(n.code);(s=e.cacheConfig)!=null&&s.cache&&!m(n)&&d&&qn(te(e),n,e.cacheConfig)}catch(r){const l=r+"";if(!((i=e.cacheConfig)!=null&&i.sync)&&!l.includes("is not valid JSON")){const{loadingError:c}=Eo();zt(c)}n=Oe(te(e),e.cacheConfig,!1)}return n}async request(e){e.cacheConfig={...Zo,...e.cacheConfig};let n=Oe(te(e),e.cacheConfig);if(n==null){const o=await this.fetchData(e);if(o==null)return null;n=o}else e.cacheConfig.sync&&Bo(this.fetchData.bind(this),e);return n}get(e,n,o){return this.request({url:e,method:"GET",data:n,...o})}post(e,n,o){return this.request({url:e,method:"POST",data:n,...o})}async requestForStatic(e){var a;if(m(e.staticUrl))return this.request(e);const n=(a=e.staticUrl)!=null&&a.startsWith("http")?e.staticUrl:(this.staticBaseUrl||location.origin)+e.staticUrl,o=await this.get(n,null,{cacheConfig:{cache:!1}});return o!=null&&m(o.errorCode)?o:(e.data={siteCode:k().siteConfigData.siteCode,...e.data},this.request(e))}getForStatic(e,n,o,a){return this.requestForStatic({url:e,staticUrl:n,method:"GET",data:o,...a})}postForStatic(e,n,o,a){return this.requestForStatic({url:e,staticUrl:n,method:"POST",data:o,...a})}}const Wo="/hall",W=t=>"".concat(Wo).concat(t),ee=(t,e)=>m(e)?"":"/".concat(t,"/").concat(e),ue="";let Zt;function O(){const{siteConfigData:t}=k();return Zt==null&&(Zt=new zo),t.apiDomain&&Zt.setBaseURL(t.apiDomain),Zt}async function sn(t=!1,e=!0){try{const n=W("/api/v1/down_site/region_access_v2");let o=await O().post(n,null,{cacheCodes:[...re,..._e],cacheConfig:{cache:e}});if(o){const{time:a}=o,s=eo(a);if(t&&s)return await sn(!1,!1)}return o||null}catch(n){}return null}async function qo(){try{const t=location.href.split("/"),e=t[t.length-1];e.includes("index.html")||e.startsWith("?")||e==""?t[t.length-1]="config.json":t.push("config.json");const n=await O().get(t.join("/"));return m(n==null?void 0:n.configData)?null:n}catch(t){}return null}async function rn(t){try{let e=t+"/cocos/config_data.json";return e=e.startsWith("http")?e:location.origin+e,await O().get(e,null)}catch(e){}return null}async function d1(){try{const t=W("/api/v1/down_site/get_link_v2"),e=await O().getForStatic(t,t+"/default.json");return(e==null?void 0:e.data)||null}catch(t){}return null}async function Pt(t,e,n=5){const o=Rn[e],a=function(){return t.splice(0,n).map(async r=>{const l=r+o+"?t=".concat(+new Date);let c=await an(l,{mode:"cors"},1e3*16);if(c.ok&&c.status!=404&&(await c.text()).toLowerCase()=="ok")return{domain:r};throw new Error("domain test speed failed")})};let s=null;for(;t.length&&s==null;){const i=a();try{const{domain:r}=await $o(i);r&&(s=r)}catch(r){}}return s}const Lt={time:+new Date,data:null};async function Go(){const t=+new Date;if(Lt.data&&t-Lt.time<1e3*60*2)return Lt.data;try{const{siteConfigData:e}=k(),n=e.ossDomin+"/cocos/maintain-time.json",o=await O().get(n,{t},{cacheConfig:{cache:!1}});return Lt.time=t,Lt.data=o,o}catch(e){}return null}async function u1(){try{const{siteConfigData:t}=k(),e=t.ossDomin+"/cocos/maintain-time-default.json";return await O().get(e)}catch(t){}return null}async function Yo(t){try{return await O().post(W("/api/v1/down_site/check_promote_perm_v2"),t),!0}catch(e){}return!1}async function Qo(t){try{await O().post(W("/promote/binding/reportviewV2"),t,{cacheConfig:{cache:!1}})}catch(e){}}async function Ko(t){try{await O().post(W("/promote/binding/reportclickV2"),t,{cacheConfig:{cache:!1}})}catch(e){}}async function Jo(t){try{await O().post(W("/promote/pointer/domain"),t,{cacheConfig:{cache:!1}})}catch(e){}}async function Xo(t){try{await O().post(W("/v1/netstat/player/adInfo"),t,{cacheConfig:{cache:!1}})}catch(e){}}class ta{constructor(){b(this,"ua","");b(this,"os","");b(this,"browserName","");var o,a;const n=new Mn().getResult();this.ua=n.ua,this.os=(o=n.os.name)!=null?o:"",this.browserName=(a=n.browser.name)!=null?a:""}checkPlatForm(e){return this.ua.toLowerCase().includes(e.toLowerCase())}checkOS(e){return this.os.toLowerCase().includes(e.toLowerCase())}checkBrowser(e){return this.browserName.toLowerCase()==e.toLowerCase()}}const P=new ta,q=()=>P.checkOS("ios"),ea=()=>P.checkOS("Android"),na=()=>["XiaoMi","MiuiBrowser"].some(t=>P.checkPlatForm(t)),oa=()=>P.checkOS("harmonyos")||["harmonyos","Huawei","HuaweiBrowser"].some(t=>P.checkPlatForm(t)),aa=()=>P.checkBrowser("Facebook"),sa=()=>P.checkBrowser("TikTok"),cn=()=>P.checkPlatForm("Kwai"),ia=()=>P.checkBrowser("Instagram"),ra=()=>P.checkBrowser("Edge"),ca=()=>P.checkBrowser("Mobile Firefox"),ln=()=>P.checkBrowser("Mobile Safari"),la=()=>P.checkBrowser("Chrome")||P.checkBrowser("Mobile Chrome"),da=()=>P.checkBrowser("Chrome WebView"),ua=()=>![na,oa,ra,ca].some(t=>t()),pa=()=>[aa,sa,ia,da,cn].some(t=>t());let ne=null;function fa(){var n;const t=E(),e={promoter_info:t.id,channel_info:t.cid,visitor_device:(n=ve())!=null?n:"",accessUrl:location.origin};be().addMainTask(Qo,e)}async function kt(t){var a,s;const e=E(),n={promoter_info:e.id,channel_info:e.cid};if(ne==null&&(ne=await Yo({...n})),!ne)return;const o={...n,visitor_device:(a=ve())!=null?a:"",accessUrl:(s=t.url)!=null?s:location.origin,accessType:t.accessType,packageType:t.packageType};Ko(o)}function ot(t){const e=E(),n=function(){return ea()?1:q()?2:3},o={domain:window.location.host,deviceKind:n(),visitsKind:1,...t};m(e.cid)||(o.cid=Number(e.cid)),Jo(o)}function ma(t){Xo(t)}const ha={siteStatus:$.Normal,siteCode:"",apiDomain:"",ossDomin:"",fastOssDomain:""},k=Et(()=>{let t={...ha,...Gn()},e=!1;function n(){Yn(t)}async function o(){const{siteCode:p,apiDomain:u,ossDomin:h}=t,g=await a();m(p)||m(u)||m(h)?await s(g):be().addMainTask(s,g)}async function a(){var h;let p=ue;const u=E();if(!m(u.from))p=Tt(u.from);else{const g=await qo();if(t.isLocalStatic=!1,g!=null){p=g.configData||ue;const I=u.cid||((h=g.cidMap)==null?void 0:h[location.host])||g.cid;I!=u.cid&&window.history.replaceState(window.history.state,"",dt(null,{cid:I})),t.isLocalStatic=!0}}return p}async function s(p){const u=await rn(p);u!=null?(t.siteCode=u.siteCode,await i(u)):Ne("Config_Data is Empty")}async function i(p){var I,U,x;if(t.lobbyDomains=[...(U=(I=p.non_ma_domain)!=null?I:p.lobby_domain)!=null?U:[]],t.commonOssBucket=p.commonOssBucket,(x=p.oss_url)!=null&&x.length&&p.oss_url[0])try{t.ossDomin=new URL(p.oss_url[0]).origin}catch(T){}let u=p.api_domain||[];const h=u.includes(t.apiDomain);!m(t.apiDomain)&&h&&(u=[t.apiDomain,...u.filter(T=>T!=t.apiDomain)]);const g=await Pt([...u],mt.API_Domain);t.apiDomain=g!=null?g:h?t.apiDomain:"",n(),m(t.apiDomain)&&Ne("Domain list is unavailable"),t.apiDomain&&fa(),r(p)}async function r(p){let u=(p==null?void 0:p.oss_domain)||[];const h=u.includes(t.fastOssDomain);!m(t.fastOssDomain)&&h&&(u=[t.fastOssDomain,...u.filter(I=>I!=t.fastOssDomain)]);const g=await Pt([...u],mt.OSS_Domain);t.fastOssDomain=g!=null?g:h?t.fastOssDomain:"",n()}async function l(p){if(p==ie.SITE_FROZEN)t.siteStatus=$.Frozen;else{const{isMainTain:u}=await d();u?t.siteStatus=$.MainTain:p==ie.SITE_FROZEN_AND_MAINTAIN&&(t.siteStatus=$.Frozen)}setTimeout(()=>{e=!1},1e3*5)}async function c(){if(e)return;e=!0,t.siteStatus=$.Normal;let p=await sn(!0);if(p!=null){const{code:u,data:h}=p;h==null&&_e.includes(u)?await l(u):h.isAccess||(t.siteStatus=$.AccessRestricted)}else{const{isMainTain:u}=await d();u&&(t.siteStatus=$.MainTain)}n()}async function d(){let p=!1;const u=await Go();if(u!=null&&!m(u.notice_content)){const{start_time:h,end_time:g}=u,I=+new Date/1e3;I>=h&&I<=g&&(p=!0)}return{isMainTain:p,result:u}}async function f(p){if(e)return;e=!0;const u=t.siteStatus;await l(p),t.siteStatus!=u&&setTimeout(()=>window.location.reload(),1e3*5)}return{siteConfigData:t,initConfigData:o,getConfigDataPrefixUrl:a,syncSiteConfigData:s,syncSiteStatus:c,checkSiteStatus:f}});function Kt(t){let e=null,n=null;function o(){if(e)return e;const{instance:a,unmount:s}=ye({setup(i,{expose:r}){const{open:l,state:c,close:d,toggle:f}=we();n=()=>{e.close(),e=null,s(),n=null};const p=()=>D(t,he(c,{onClosed:n,"onUpdate:show":f}),null);return r({open:l,close:d,toggle:f}),p}});return a}return{show(){e=o(),e.open()},hide(){n!=null&&n()}}}function ga(t){fe(t,e=>{e?document.body.classList.add("mask-open"):document.body.classList.remove("mask-open")}),An(()=>{document.body.classList.remove("mask-open")})}var dn=(t=>(t.MaskClick="mask-click",t))(dn||{});const _a={class:"cg-modal-container"},Ut=M({name:"CGModel",__name:"index",props:{show:{type:Boolean},backdrop:{type:Boolean,default:!0}},setup(t){const e=t;return ga(Re(e,"show")),(n,o)=>(v(),j(He,{name:"cg-modal"},{default:K(()=>[e.show?(v(),C("section",{key:0,class:Ot(["cg-mask",{"cg-backdrop":e.backdrop}]),onClick:[o[0]||(o[0]=Te(()=>{},["stop"])),o[1]||(o[1]=Te(a=>n.$emit(_(dn).MaskClick),["self"]))]},[w("div",_a,[se(n.$slots,"default")])],2)):z("",!0)]),_:3}))}}),{$t:oe}=B();function va(){return{speedApp:oe("components.download.speedApp"),nativeApp:oe("components.download.nativeApp"),quickApp:oe("components.download.quickApp")}}function un(){const t=va();return{[de.SPEED_APP]:t.speedApp,[de.NATIVE_APP]:t.nativeApp,[nt.QUICK_APP]:t.quickApp}}const wa={class:"cg-download-dialog text-large"},ya=["onClick"],Ca=["textContent"],ba=M({name:"CgDownLoadDialog",__name:"index",props:{show:{type:Boolean,default:!1}},emits:["closed","update:show"],setup(t){const e=t,n=Mt({list:[],isIOS:!1});return ut(async()=>{const o=await Z().getDownLoadConfig();n.isIOS=q();const{baseDownloadConfig:a}=o||{},s=un();if(n.isIOS){const i=B().getLocale(),r=((a==null?void 0:a.iosList)||[]).filter(l=>{var c;return(c=l.language)==null?void 0:c.split(/[,|，]/).includes(i)});n.list=r.map(l=>(l.type==nt.QUICK_APP&&(l.name=s[l.type]),l))}else{const i=(a==null?void 0:a.androidList)||[];n.list=i.map(r=>{const l=s[r.type]+(m(r.size)?"":"(".concat(r.size,"M)"));return{...r,name:l}})}}),(o,a)=>{const s=at,i=Ut;return v(),j(i,{show:e.show},{default:K(()=>[w("div",wa,[(v(!0),C(ct,null,ge(n.list,(r,l)=>(v(),C("div",{class:Ot(["cg-download-item",n.isIOS?"cg-ios":"cg-android"]),onClick:c=>_(Ae)(r),key:l},[w("span",{class:"cg-flex-con",textContent:S(r.name)},null,8,Ca)],10,ya))),128)),D(s,{onClick:a[0]||(a[0]=r=>o.$emit("closed")),class:"cg-close",name:"circle-close"})])]),_:1},8,["show"])}}}),Aa=V(ba,[["__scopeId","data-v-85bd3ecd"]]),Sa=Kt(Aa);function p1(t,e){try{document.documentElement.style.setProperty(t,e)}catch(n){console.error(n)}}function Ia(t){const e=[];t=t.replace("#","").padEnd(8,"F");for(let n=0;n<t.length;n+=2)e.push(parseInt(t.slice(n,n+2),16));return e.reduce((n,o,a)=>n+(a>=e.length-1?Number((o/255).toFixed(2)):"".concat(o,", ")),"rgba(")+")"}function La(t){if(m(t)||(t.startsWith("#")&&(t=Ia(t)),!t.startsWith("rgb")))return!1;const[e,n,o,a=1]=(t.match(/\d+(\.\d+)?/g)||[]).map(Number);return e*.299+n*.587+o*.114>128||a<.4}const{$t:Wt}=B();function xa(){return{line:Wt("download.line"),play:Wt("download.footer.play")}}function f1(){return{play:Wt("download.footer.play"),download:Wt("download.footer.download")}}var _t=(t=>(t[t.DOWN_LOAD=1]="DOWN_LOAD",t[t.H5=2]="H5",t))(_t||{}),J=(t=>(t[t.VISIT=7]="VISIT",t[t.DOWN_LOAD=8]="DOWN_LOAD",t[t.LOBBY=9]="LOBBY",t))(J||{}),pe=(t=>(t[t.NATIVE_APP=1]="NATIVE_APP",t[t.SPEED_APP=2]="SPEED_APP",t[t.P2A=4]="P2A",t[t.QUICK_APP=5]="QUICK_APP",t))(pe||{});const Da={[nt.NATIVE_APP]:1,[nt.SPEED_APP]:2,[nt.QUICK_APP]:5},Pa={class:"cg-lines-space"},Ta=["textContent"],ka=["textContent"],Ma=["textContent"],Oa=["textContent"],Ea=["textContent"],Ua=["onClick","textContent"],Na=M({name:"StoreDownLoadLinesModule",__name:"index",props:{data:{}},setup(t){const e=xa(),n=t,o=vt([]),a=Re(n,"data");let s=null;Sn(async()=>{const{syncDownLoadTemplate:l}=Z(),c=await l();c!=null&&(o.value=c.lineConfig.lines.map(d=>({url:d,ms:i()}))),s=setInterval(()=>{o.value.forEach(d=>d.ms=i())},1e3*6)}),me(()=>{s&&(clearInterval(s),s=null)});function i(){return"".concat(Math.floor(Math.random()*30)+1,"ms")}function r(l){kt({accessType:_t.H5,url:l.url}),ot({kind:J.LOBBY}),Yt({href:l.url,target:"_blank"})}return(l,c)=>o.value.length?(v(),C("section",{key:0,class:"cg-line-warp",style:Ft({"background-color":a.value.bg})},[(v(!0),C(ct,null,ge(o.value.slice(0,6),(d,f)=>(v(),C("div",{class:"cg-line-item",key:f},[w("div",Pa,[c[0]||(c[0]=w("div",{class:"cg-lines"},[w("div",{class:"cg-line-icon cg-line-1"}),w("div",{class:"cg-line-icon cg-line-2"}),w("div",{class:"cg-line-icon"})],-1)),a.value.styleType==_(rt).Style_1?(v(),C("div",{key:0,class:"text-success text-small",textContent:S(d.ms)},null,8,Ta)):z("",!0)]),w("div",{class:Ot(["cg-flex-con cg-ph",{"text-center":a.value.styleType==_(rt).Style_1}]),style:Ft({color:a.value.textColor})},[w("span",{textContent:S(_(e).line)},null,8,ka),w("span",{textContent:S(f+1)},null,8,Ma),a.value.styleType==_(rt).Style_2?(v(),C("span",{key:0,class:"text-success cg-ml-half",textContent:S(d.ms)},null,8,Oa)):z("",!0)],6),a.value.styleType==_(rt).Style_3?(v(),C("span",{key:0,class:"text-success cg-mr-half",textContent:S(d.ms)},null,8,Ea)):z("",!0),w("div",{onClick:p=>r(d),class:"cg-go-play cg-vhcenter",style:Ft({"background-color":a.value.btnBgColor,color:_(La)(a.value.btnBgColor)?"#333333":""}),textContent:S(_(e).play)},null,12,Ua)]))),128))],4)):z("",!0)}}),pn=V(Na,[["__scopeId","data-v-c5af5175"]]),m1=Object.freeze(Object.defineProperty({__proto__:null,default:pn},Symbol.toStringTag,{value:"Module"})),$a={class:"cg-line-dialog"},Va=M({name:"CgLineDialog",__name:"index",props:{show:{type:Boolean,default:!1}},emits:["closed","update:show"],setup(t){const e=t,n=vt({bg:"",btnBgColor:"",styleType:rt.Style_1,textColor:""});return ut(()=>{const o=Z().getTemplateData();o!=null&&(n.value=o.lineConfig)}),(o,a)=>{const s=at,i=Ut;return v(),j(i,{show:e.show},{default:K(()=>[w("div",$a,[D(pn,{data:n.value},null,8,["data"]),D(s,{onClick:a[0]||(a[0]=r=>o.$emit("closed")),class:"cg-close",name:"circle-close"})])]),_:1},8,["show"])}}}),Ba=V(Va,[["__scopeId","data-v-2754a095"]]),Za=Kt(Ba),Ha=M({name:"CGLoading",__name:"index",props:{show:{type:Boolean,default:!1}},setup(t){const e=t;return(n,o)=>{const a=je,s=Ut;return v(),j(s,{show:e.show,backdrop:!1},{default:K(()=>[D(a)]),_:1},8,["show"])}}}),Ra=V(Ha,[["__scopeId","data-v-0970e43b"]]);let Y=null,qt=null;function Fa(){if(Y)return Y;const{instance:t,unmount:e}=ye({setup(n,{expose:o}){const{open:a,state:s,close:i,toggle:r}=we();return o({open:a,close:i,toggle:r}),()=>D(Ra,s,null)}});return qt=()=>{Y=null,e(),qt=null},t}const $e={show(){Y=Fa(),Y.open()},hide(){Y!=null&&Y.close&&Y.close(),qt!=null&&qt()}},ja={class:"cg-skeleton-image cg-vhcenter"},za=M({name:"CgSkeletoImage",__name:"CgSkeletonImage",setup(t){return(e,n)=>{const o=at;return v(),C("div",ja,[D(o,{name:"photo"})])}}}),Wa=V(za,[["__scopeId","data-v-1080e2cc"]]),qa={isSupportWebp:!0,isSupportAvif:!0},Ga=Et(()=>{let t={...qa};async function e(){const n=Qn();return n==null?(t.isSupportWebp=await jn(),t.isSupportAvif=await zn(),Kn(t)):Object.assign(t,n||{}),t}return{supportData:t,initImageSupport:e}}),Ya=["cocos/lg","siteadmin/upload","siteadmin/newdownloadpage","cocos/icon/vjp","active","cocos/icon/elt"].join("|"),Qa=new RegExp("^/("+Ya+").*.(png|jpg|jpeg|gif).*");function Ka(t){if(!t)return[];if(!t.startsWith("http")&&!t.startsWith("//"))return[t];let e=[],n=new URL(t),o=n.pathname+n.search,a=[o];const{supportData:s}=Ga();Qa.test(o)&&((!q()||!/\.gif.*/.test(o))&&s.isSupportAvif?a.unshift(o.replace(/\.(png|jpg|jpeg|gif)/,".avif")):s.isSupportWebp&&a.unshift(o.replace(/\.(png|jpg|jpeg|gif)/,".webp")));const{siteConfigData:i}=k();let r=[n.origin];return i.fastOssDomain&&n.origin!=i.fastOssDomain&&r.unshift(i.fastOssDomain),r.forEach(function(l){a.forEach(function(c){e.push(l+c)})}),e}const Ja={class:"cg-image-error cg-vhcenter"},Xa=M({name:"CGImage",__name:"index",props:{src:{},alt:{},fit:{},position:{},lazyLoad:{type:Boolean},errorImage:{}},setup(t){const e=t,n=Ze(()=>({alt:e.alt,fit:e.fit,position:e.position,lazyLoad:e.lazyLoad}));let o=[];const a=vt(),s=()=>{o.length&&In(()=>{a.value=o.shift(),e.src&&a.value!=e.errorImage&&sessionStorage.setItem(e.src,a.value)})};return ut(()=>{fe(()=>e.src,()=>{if(o=Ka(e.src),e.errorImage&&o.push(e.errorImage),e.src){let i=sessionStorage.getItem(e.src),r=o.findIndex(l=>l==i);i!=null&&r>-1&&(o.splice(r,1),o.unshift(i))}s()},{immediate:!0})}),(i,r)=>{const l=Wa,c=at,d=On;return v(),j(d,he({src:a.value},n.value,{onError:s}),{loading:K(()=>[D(l,{class:"cg-skeleton"})]),error:K(()=>[w("div",Ja,[D(c,{name:"photo-fail"})])]),_:1},16,["src"])}}}),ts=V(Xa,[["__scopeId","data-v-f3837ab6"]]);var R=(t=>(t[t.FirstInstall=0]="FirstInstall",t[t.Install=1]="Install",t[t.InstallSuccess=2]="InstallSuccess",t[t.InstallFaild=3]="InstallFaild",t))(R||{});function es(){const t=Mt({url:"",list:[]});return ut(async()=>{var s,i;const e=await Z().getDownLoadConfig(),{calcDownLoad:n,baseDownloadConfig:o}=e||{};t.url=(i=(s=n==null?void 0:n.backupUrl)!=null?s:n==null?void 0:n.url)!=null?i:"";const a=un();if(q()){const r=B().getLocale(),l=((o==null?void 0:o.iosList)||[]).filter(c=>{var d;return(d=c.language)==null?void 0:d.split(/[,|，]/).includes(r)});t.list=l.map(c=>(c.type==nt.QUICK_APP&&(c.name=a[c.type]),c))}else{const r=(o==null?void 0:o.androidList)||[];t.list=r.map(l=>{const c=a[l.type]+(m(l.size)?"":"(".concat(l.size,"M)"));return{...l,name:c}})}}),{apkInstallData:t}}const{$t:tt}=B();function ns(){return{tip:tt("components.pwaDialog.tip"),getApp:tt("components.pwaDialog.getApp"),beforeInstall:tt("components.pwaDialog.beforeInstall"),goInstall:tt("components.pwaDialog.goInstall"),installing:tt("components.pwaDialog.installing"),installSuccess:tt("components.pwaDialog.installSuccess"),installError:tt("components.pwaDialog.installError"),clickToDownApp:tt("components.pwaDialog.clickToDownApp")}}function fn(t){return t.includes("aliyuncs.com")?"".concat(t,"?x-oss-process=image/resize,w_192,h_192,limit_0"):t}function os(){const t=ns(),e=vt({appName:"",appIcon:""}),n=Mt({process:100,btnText:"",status:R.Install});let o=0,a=null;function s(){a&&(clearInterval(a),a=null)}function i(d,f=!1){return f?(o==0&&(o=Math.round((100-n.process)/5)),o):Math.round(Math.random()*d)}function r(){o=0,n.process=0,n.btnText="".concat(t.beforeInstall,"(0%)"),a=setInterval(()=>{const d=L.isCanInstallP2A();let f=n.process+i(10,d);f>=100?(f=100,s(),L.firstInstall=!1,c()):n.btnText="".concat(t.beforeInstall,"(").concat(f,"%)"),n.process=f},1e3)}function l(d=0){n.process=d,n.btnText="".concat(t.beforeInstall,"(").concat(d,"%)"),a=setInterval(()=>{L.installProcess=n.process+i(18),L.installProcess>=100?(L.installProcess=100,s(),c()):n.btnText="".concat(t.installing,"(").concat(L.installProcess,"%)"),n.process=L.installProcess},1e3)}function c(){let d=R.Install;L.firstInstall?(n.btnText=t.getApp,d=R.FirstInstall):L.isInstalled()?(d=R.InstallSuccess,n.btnText=t.installSuccess):L.installProcess>0&&L.installProcess<100?l(L.installProcess):n.btnText=t.goInstall,n.status=d}return ut(()=>{var f,p,u,h;const d=Z().getTemplateData();d!=null&&(e.value={appName:(p=(f=d.pwaConfig)==null?void 0:f.appName)!=null?p:"",appIcon:fn((h=(u=d.pwaConfig)==null?void 0:u.appIcon)!=null?h:"")},c())}),me(s),{locales:t,appData:e,processData:n,installProcess:l,firstInstallLoading:r}}const as={class:"cg-pwa-dialog"},ss={class:"cg-app-warp cg-hcenter"},is=["textContent"],rs=["textContent"],cs=["textContent"],ls=["textContent"],ds=["textContent"],us={key:1,class:"cg-apk-warp"},ps=["onClick","textContent"],fs=M({name:"CgPwaLoadingDialog",__name:"index",props:{show:{type:Boolean,default:!1}},emits:["closed","update:show"],setup(t){const e=t,{locales:n,appData:o,processData:a,installProcess:s,firstInstallLoading:i}=os(),{apkInstallData:r}=es(),l=function(){a.status==R.FirstInstall?a.process==100&&i():a.process>99&&(a.status==R.Install?setTimeout(()=>{L.isCanInstallP2A()?L.prompt(s):a.status=R.InstallFaild},1e3):a.status==R.InstallSuccess&&_n())},c=function(){ot({kind:J.DOWN_LOAD}),F({href:r.url})};return(d,f)=>{const p=ts,u=at,h=Ut;return v(),j(h,{show:e.show},{default:K(()=>[w("div",as,[_(a).status!=_(R).InstallFaild?(v(),C(ct,{key:0},[w("div",ss,[D(p,{class:"cg-app-icon",src:_(o).appIcon},null,8,["src"]),w("div",{class:"cg-flex-con text-large cg-pl-half",textContent:S(_(o).appName)},null,8,is)]),w("div",{class:Ot(["cg-app-install cg-vhcenter",{"cg-install-success":_(a).status==_(R).InstallSuccess}]),onClick:l},[w("div",{class:"cg-app-i-btn",textContent:S(_(a).btnText)},null,8,rs),w("div",{class:"cg-app-process",style:Ft({transform:"translateX(".concat(_(a).process-100,"%)")})},null,4)],2)],64)):(v(),C(ct,{key:1},[w("div",{class:"text-center",textContent:S(_(n).tip)},null,8,cs),w("div",{class:"cg-app-tip",textContent:S(_(n).installError)},null,8,ls),_(r).url?(v(),C("div",{key:0,class:"cg-apk-i-btn",onClick:c,textContent:S(_(n).clickToDownApp)},null,8,ds)):(v(),C("div",us,[(v(!0),C(ct,null,ge(_(r).list,(g,I)=>(v(),C("div",{class:"cg-apk-i-btn text-warp",onClick:U=>_(Ae)(g),key:I,textContent:S(g.name)},null,8,ps))),128))]))],64)),D(u,{onClick:f[0]||(f[0]=g=>d.$emit("closed")),class:"cg-close",name:"circle-close"})])]),_:1},8,["show"])}}}),ms=V(fs,[["__scopeId","data-v-8d5c6e3f"]]),hs=Kt(ms);async function mn(){var r,l;const t=E(void 0,!1);delete t.from;const e=to();if(e&&await Pt([e],mt.WEB_Domain))return dt(e,{...t});const{cid:n}=E(),{webDomain:o}=(r=await tn({id:n}))!=null?r:{};if(o&&await Pt([o],mt.WEB_Domain))return Ee(o),dt(o,{...t});const a=await k().getConfigDataPrefixUrl(),s=await rn(a);let i=null;return s!=null&&(i=(l=await Pt([...s.non_ma_domain||[]],mt.WEB_Domain))!=null?l:e,i&&Ee(i)),i?dt(i,{...t}):null}class gs{constructor(){b(this,"deferredPrompt",null);b(this,"installSuccess",!1);b(this,"firstInstall",!0);b(this,"installProcess",100)}init(){window.addEventListener("appinstalled ",this.p2aAfterInstall),window.addEventListener("beforeinstallprompt",e=>{Xt(null),e.preventDefault(),this.deferredPrompt=e})}isInPwa(){const e="serviceWorker"in navigator,n=["fullscreen","standalone","minimal-ui"].some(a=>window.matchMedia("(display-mode: "+a+")").matches),o=e&&n;return o&&Xt(),o}isCanInstallP2A(){return this.deferredPrompt!=null}isInstalled(){return Xn()&&this.installProcess>=100}async p2aAfterInstall(){this.installSuccess||(this.installSuccess=!0,Xt(),ot({kind:J.DOWN_LOAD,packKind:pe.P2A}),this.isInPwa()&&await mn()&&window.location.reload())}async prompt(e){if(this.deferredPrompt){const n=()=>{this.p2aAfterInstall(),e&&e()};this.isInstalled()&&n(),this.deferredPrompt.prompt(),this.deferredPrompt.userChoice.then(o=>{o.outcome==="accepted"?n():ot({kind:J.DOWN_LOAD,packKind:pe.P2A}),this.deferredPrompt=null})}}install(){setTimeout(()=>{hs.show()},400)}}const L=new gs,hn=t=>{const{title:e,lang:n,link:o,meta:a}=t;n!=null&&(document.documentElement.lang=n),e!==void 0&&(document.title=e),o==null||o.forEach(s=>{ws(s)}),a==null||a.forEach(s=>{vs(s)})};async function _s(t){if(m(t))return;const e=n=>{const o={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#039;":"'"};return n.replace(/&amp;|&lt;|&gt;|&quot;|&#039;/g,a=>o[a])};try{const n=e(t),o=document.createRange().createContextualFragment(n).children,s=Array.prototype.slice.call(o).map(i=>()=>new Promise(r=>{var l;(l=i.innerHTML)!=null&&l.replace(/\s/g,"")?(document.head.appendChild(i),r("")):(i.addEventListener("load",()=>r("")),document.head.appendChild(i))}));if(s.length)for(const i of s)await i();else{const i=document.createElement("script");i.text=t,i.type="text/javascript",document.head.appendChild(i)}}catch(n){}}const vs=t=>{var a,s;let e=t.name!==void 0?"name":"property",n=(a=t.name)!=null?a:t.property;if(m(n))return;let o=document.head.querySelector("meta[".concat(e,"='").concat(n,"']"));if(m(t.content)){o&&document.head.removeChild(o);return}o||(o=document.createElement("meta"),o.setAttribute(e,n),document.head.appendChild(o)),o.content=(s=t.content)!=null?s:""},ws=t=>{let e=t.sizes?"link[rel='".concat(t.rel,"'][sizes='").concat(t.sizes,"']"):"link[rel='".concat(t.rel,"']"),n=document.querySelector(e);if(m(t.href)){n&&document.head.removeChild(n);return}const o=document.createElement("link");o.rel=t.rel,t.sizes&&(n.sizes=t.sizes),o.href=t.href,n?document.head.replaceChild(o,n):document.head.appendChild(o)};async function ys(){var r,l,c;const{getTemplateData:t,syncChannelInfo:e,syncDownLoadUrl:n}=Z(),o=t();if(o==null)return null;const{isPwa:a}=(r=o.downLoadConfig)!=null?r:{},s=q(),i={};if(a){i.isGoPwa=!s&&ua(),i.isGoPwa&&m((l=o.pwaConfig)==null?void 0:l.appName)&&await n();const d=await e();if(d==null)return null;s&&d.iosType==gt.CUSTOM&&(i.backupUrl=d.iosUrl),!s&&d.androidType==gt.CUSTOM&&(i.backupUrl=d.androidUrl),i.isGoPwa&&bs()}if(((c=o.downLoadConfig.templateConfig)==null?void 0:c.type)==gt.CUSTOM){const{iosUrl:d,androidUrl:f}=o.downLoadConfig.templateConfig;i.url=s?d:f}return i}function Cs(t){var r;if(t==null)return;const{ico:e,keyword:n,pageDescription:o,titleMark:a,codeType:s,statisticalCode:i}=(r=t.siteSetting)!=null?r:{};hn({title:a,meta:[{name:"keywords",content:n},{name:"description",content:o},{property:"og:image",content:e},{property:"og:title",content:a},{property:"og:keywords",content:n},{property:"og:description",content:o}],link:[{rel:"icon",href:e},{rel:"shortcut icon",href:e}]}),!m(s)&&s!=on.NONE&&_s(i)}function bs(){var u;const t=Z().getTemplateData();if(t==null)return;const{pwaConfig:e,downLoadConfig:n}=t,{isHideDomain:o}=(u=n.channelConfig)!=null?u:{},{appName:a,appIcon:s}=e!=null?e:{},i=E(void 0,!1),r=o?"standalone":"minimal-ui",l=B().getLocale(),c=dt(null,{languageCode:l}),d={theme_color:"#fff",background_color:"#fff",display:r,orientation:"any",description:"play game",id:"".concat(location.origin,"/").concat(i==null?void 0:i.cid),name:a,scope:"".concat(location.origin,"/"),short_name:a,start_url:c,icons:[{src:fn(s!=null?s:""),sizes:"192x192",type:"image/png"}]},p="data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify(d));hn({link:[{rel:"manifest",href:p}]})}function As(){try{const t=E();if(Object.keys(t).length<1)return;const{cid:e,id:n}=t,{fbclid:o,fb_dynamic_pixel:a,pixel_id:s}=t,{kwaiPixelBaseCode:i,click_id:r,kwaiTestClickId:l}=t,{tiktokBaseCode:c,ttclid:d}=t,{siteConfigData:f}=k(),p={facebook:{fbclid:o||t["fixed.fbclid"],pixel_id:a||s},kwai:{kwaiPixelBaseCode:i,click_id:r,"fixed.kwaiTestClickId":l||t["fixed.kwaiTestClickId"]},tiktok:{tiktokBaseCode:c,ttclid:d},adjust:{appid:t["fixed.adjust_appid"],adid:t["fixed.adjust_adid"],webuuid:t["fixed.gaid"]},appsflyer:{appId:t["fixed.appsflyer_appId"],afUserId:t["fixed.appsflyer_afUserId"]},wg:{name:"WG",cid:Number(e),id:Number(n),siteCode:f.siteCode},timestamp:Math.floor(Date.now()/1e3)},u=qe(p);ma(u),ze(JSON.stringify(u))}catch(t){}}const{$t:Ht}=B();function Ss(){return{title:Ht("components.pwaDialog.tip"),tip:Ht("components.openTip.tip"),copy:Ht("components.openTip.copy"),copySuccess:Ht("components.openTip.copySuccess")}}const Is={class:"cg-pwa-dialog"},Ls=["textContent"],xs=["textContent"],Ds={class:"cg-line cg-link-warp cg-pl-half"},Ps=["textContent"],Ts=["textContent"],ks=M({name:"CgOpenTipDialog",__name:"index",props:{show:{type:Boolean,default:!1}},emits:["closed","update:show"],setup(t){const e=Ss(),n=t,o=vt("");ut(()=>{o.value=location.href});const a=function(){ze(o.value),_o(e.copySuccess)};return(s,i)=>{const r=at,l=Ut;return v(),j(l,{show:n.show},{default:K(()=>[w("div",Is,[w("div",{class:"text-center",textContent:S(_(e).title)},null,8,Ls),w("div",{class:"cg-open-tip",textContent:S(_(e).tip)},null,8,xs),w("div",Ds,[w("div",{class:"cg-flex-con text-small text-warp text-select",textContent:S(o.value)},null,8,Ps),w("span",{class:"cg-ph-half text-link",textContent:S(_(e).copy),onClick:a},null,8,Ts)]),D(r,{onClick:i[0]||(i[0]=c=>s.$emit("closed")),class:"cg-close",name:"circle-close"})])]),_:1},8,["show"])}}}),Ms=V(ks,[["__scopeId","data-v-5fbc7872"]]),Os=Kt(Ms);let ae=!1;function Es(t){const{isOpen:e,time:n,linkUrl:o=""}=t!=null?t:{};e&&!m(o)&&setTimeout(()=>{Yt({href:o,target:"_self"})},n)}function h1(t){var n,o;if(!t.isClickJump)return;const e=Z().getTemplateData();(o=(n=e==null?void 0:e.downLoadConfig)==null?void 0:n.channelConfig)!=null&&o.anywhere||(t.jumpType==xt.CUSTOM_SELF?(kt({accessType:_t.H5,url:t.jumpUrl}),F({href:t.jumpUrl,target:"_self"})):t.jumpType==xt.CUSTOM_BLANK?(kt({accessType:_t.H5,url:t.jumpUrl}),F({href:t.jumpUrl,target:"_blank"})):t.jumpType==xt.DOWNLOAD_APP?gn():t.jumpType==xt.CHOSE_LINE&&Us())}function Us(t){var e,n;t=t!=null?t:(e=Z().getTemplateData())==null?void 0:e.footerConfig.playLink,t&&(m(t.url)?Za.show():(kt({accessType:_t.H5,url:t.url}),ot({kind:J.LOBBY}),Yt({href:(n=t.url)!=null?n:"",target:"_blank"})))}function Ns(t){t=t!=null?t:location.href;try{const e=new URL(t),n=q(),o=e.protocol.replace(":","");let a=e.href.replace("".concat(e.protocol,"//"),"");n?F({href:"googlechromes://".concat(a),target:"_self",noPreFix:!0}):(F({href:"intent://".concat(a,"#Intent;scheme=").concat(o,";package=com.android.chrome;end"),target:"_self",noPreFix:!0}),cn()&&Os.show())}catch(e){}}async function gn(){if(ae)return;$e.show(),ae=!0;const t=await Z().getDownLoadConfig();if($e.hide(),ae=!1,t==null)return;const e=q();if(pa()&&!la()&&!ln())return Ns();const{calcDownLoad:o,baseDownloadConfig:a}=t,s=(o==null?void 0:o.backupUrl)||(o==null?void 0:o.url);if(!(o!=null&&o.isGoPwa)&&s)return ot({kind:J.DOWN_LOAD}),F({href:s});if(t!=null&&t.isPwa)return o!=null&&o.isGoPwa||(L.firstInstall=!1),$s();const i=(e?a==null?void 0:a.iosList:a==null?void 0:a.androidList)||[];return i.length>1?Sa.show():Ae(i[0])}async function Ae(t){var l;if(!t)return;As();const e=Number(t.type);e!=nt.QUICK_APP&&kt({accessType:_t.DOWN_LOAD,packageType:e});const n=(l=Da[e])!=null?l:"";if(ot({kind:J.DOWN_LOAD,packKind:n}),q()){const{url:c}=t;return Ve(c)}const{url:a,customizePath:s,downloadPath:i}=t,r=a==i&&s?s:i;return t.url=r,Ve(r!=null?r:"")}function Ve(t){if(ln())return F({href:t});const{siteCode:e}=k().siteConfigData,o=q()?"wgwgwgwg".concat(e,"://"):"wgwgwgwg".concat(e,"://wgwgwgwg/open");try{F({href:o,target:"_self",noPreFix:!0}),setTimeout(function(){(!document.hidden||document.visibilityState=="visible")&&F({href:t})},1200)}catch(a){F({href:t})}}function _n(){L.isInstalled()&&Yt({href:"".concat(location.origin,"/index.html"),target:"_blank"})}async function $s(){if(L.isInstalled())return _n();L.install()}function g1(){var n,o;const t=Z().getTemplateData(),e=document.getElementById("video");e==null||e.play(),(o=(n=t==null?void 0:t.downLoadConfig)==null?void 0:n.channelConfig)!=null&&o.anywhere&&gn()}const Z=Et(()=>{let t=null;async function e(){var i;return t==null&&(t=await ko(),t!=null&&t.downLoadConfig.isPwa&&m((i=t.pwaConfig)==null?void 0:i.appName)?await n():n(),Cs(t),Es(t==null?void 0:t.autoJumpToWeb)),t}async function n(){if(t==null)return null;const i=t.downLoadConfig.calcDownLoad||await ys();return i==null?null:(t.downLoadConfig.calcDownLoad=i,m(i==null?void 0:i.backupUrl)&&m(i==null?void 0:i.url)&&await s(),t.downLoadConfig)}function o(){return t}async function a(){if(t==null)return null;if(t.downLoadConfig.channelConfig)return t.downLoadConfig.channelConfig;const i=await Mo();return i!=null&&(t.downLoadConfig.channelConfig=i),i}async function s(){var r,l,c,d,f;if(t==null)return null;if(t.downLoadConfig.baseDownloadConfig)return t.downLoadConfig.baseDownloadConfig;let i=await Oo();if(i!=null){t.downLoadConfig.baseDownloadConfig=i.baseDownloadConfig;const{appName:p,appIcon:u}=(r=t.pwaConfig)!=null?r:{};if(m(p)){const h=t.language.code,g=(c=(l=i.appNameLanguage.find(U=>{var x;return(x=U.key)==null?void 0:x.split(/[,|，]/).includes(h)}))==null?void 0:l.value)!=null?c:"",I=((f=(d=i.appNameLanguage)==null?void 0:d[0])==null?void 0:f.value)||"";t.pwaConfig={appName:g||I,appIcon:i.appIcon||u||""}}}return t.downLoadConfig.baseDownloadConfig}return{getTemplateData:o,syncDownLoadTemplate:e,syncChannelInfo:a,syncDownLoadUrl:s,getDownLoadConfig:n}}),Rt={DownloadBase:et(()=>y(()=>import("./index-BLOufl3v.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url)),StoreAndroid:et(()=>y(()=>import("./index-DhbGH6ta.js"),__vite__mapDeps([10,3,1,11,2,4,5,6,7,8,12]),import.meta.url)),StoreIOS:et(()=>y(()=>import("./index-spGRGWzk.js"),__vite__mapDeps([13,1,11,2,3,4,5,6,7,8,14]),import.meta.url)),LobbyBox:et(()=>y(()=>import("./index-B2LmzXeR.js"),__vite__mapDeps([15,1,2,3,4,5,6,7,8,16]),import.meta.url))},Vs={[$.MainTain]:et(()=>y(()=>import("./index-Djf8KIfS.js"),__vite__mapDeps([17,18,1,19,20,2,3,4,5,6,7,8,21]),import.meta.url)),[$.AccessRestricted]:et(()=>y(()=>import("./index-DJO7c0mm.js"),__vite__mapDeps([22,18,1,19,2,3,4,5,6,7,8,23]),import.meta.url)),[$.Frozen]:et(()=>y(()=>import("./index-CsC-2OvQ.js"),__vite__mapDeps([24,18,1,19,20,2,3,4,5,6,7,8,25]),import.meta.url))};if(typeof window<"u"){let t=function(){var e=document.body,n=document.getElementById("__svg__icons__dom__");n||(n=document.createElementNS("http://www.w3.org/2000/svg","svg"),n.style.position="absolute",n.style.width="0",n.style.height="0",n.id="__svg__icons__dom__",n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),n.innerHTML='<symbol  viewBox="0 0 10 6" id="icon-arrow-down"><path data-name="icon/arrow" d="M9.745.261a.906.906 0 0 1 0 1.26L5.618 5.74a.861.861 0 0 1-1.234 0L.255 1.521a.906.906 0 0 1 0-1.26.861.861 0 0 1 1.234 0L5 3.848 8.511.261a.861.861 0 0 1 1.234 0Z" /></symbol><symbol viewBox="0 0 1024 1024"  id="icon-circle-close"><path d="M512 929.96C281.6 929.96 94.04 742.4 94.04 512S281.6 94.04 512 94.04 929.96 281.6 929.96 512 742.4 929.96 512 929.96zm0-794.123c-207.412 0-376.163 168.75-376.163 376.163S304.587 888.163 512 888.163 888.163 719.413 888.163 512 719.413 135.837 512 135.837z" /><path d="M355.265 689.633c-5.224 0-10.449-2.09-14.628-6.27-8.36-8.359-8.36-21.42 0-29.78l313.47-313.469c8.358-8.359 21.42-8.359 29.779 0 8.359 8.36 8.359 21.42 0 29.78l-313.47 313.47c-4.702 4.179-9.926 6.269-15.15 6.269z" /><path d="M668.735 689.633c-5.225 0-10.45-2.09-14.629-6.27l-313.47-313.47c-8.358-8.358-8.358-21.42 0-29.779 8.36-8.359 21.421-8.359 29.78 0l313.47 313.47c8.359 8.359 8.359 21.42 0 29.78-4.702 4.179-9.927 6.269-15.151 6.269z" /></symbol><symbol  viewBox="0 0 10 9.998" id="icon-close"><path data-name="Union 21" d="M.2 8.825a.687.687 0 0 0 .973.97L5 5.967l3.83 3.832a.686.686 0 1 0 .969-.97l-3.828-3.83L9.8 1.169a.686.686 0 1 0-.971-.97L5 4.028 1.17.199a.686.686 0 0 0-.97.97l3.828 3.83Z" fill-rule="evenodd" /></symbol><symbol  viewBox="0 0 20 20" id="icon-icon-error"><path fill="#fff" opacity=".02" d="M0 0h20v20H0z" /><path data-name="Subtraction 2" d="M10 19a9.01 9.01 0 0 1-9-9 9.01 9.01 0 0 1 9-9 9.01 9.01 0 0 1 9 9 9.01 9.01 0 0 1-9 9Zm0-7.585 2.828 2.828a.994.994 0 0 0 .707.292.992.992 0 0 0 .706-.292.994.994 0 0 0 .293-.707.994.994 0 0 0-.293-.707L11.414 10l2.829-2.828a.993.993 0 0 0 .293-.707.994.994 0 0 0-.293-.707.993.993 0 0 0-.707-.293.993.993 0 0 0-.707.293L10 8.586 7.171 5.758a.991.991 0 0 0-.707-.293.994.994 0 0 0-.707.293.991.991 0 0 0-.293.706.994.994 0 0 0 .293.708L8.586 10l-2.829 2.829a.993.993 0 0 0-.293.707.993.993 0 0 0 .293.707.994.994 0 0 0 .707.293.992.992 0 0 0 .707-.293l2.828-2.827Z" fill="#ea4e3d" /></symbol><symbol  viewBox="0 0 20 20" id="icon-icon-success"><path fill="#fff" opacity=".02" d="M0 0h20v20H0z" /><path d="M10 1a9 9 0 1 0 9 9 9 9 0 0 0-9-9Zm5.115 6.829-5.648 6.405a1.042 1.042 0 0 1-.72.349H8.68a1.031 1.031 0 0 1-.694-.263l-3.022-2.681a1.048 1.048 0 0 1 1.391-1.568L8.6 12.055l4.959-5.625a1.048 1.048 0 1 1 1.571 1.388Z" fill="#5cbe2b" /></symbol><symbol  viewBox="0 0 20 20" id="icon-icon-warn"><path fill="#fff" opacity=".02" d="M0 0h20v20H0z" /><path data-name="Union 40" d="M1 10a9.011 9.011 0 0 1 9-9 9.011 9.011 0 0 1 9 9 9.011 9.011 0 0 1-9 9 9.01 9.01 0 0 1-9-9Zm1.8 0a7.208 7.208 0 0 0 7.2 7.2 7.208 7.208 0 0 0 7.2-7.2A7.208 7.208 0 0 0 10 2.8 7.208 7.208 0 0 0 2.8 10Zm6.561 4.239a.937.937 0 0 1-.262-.638.939.939 0 0 1 .262-.639.945.945 0 0 1 .638-.261.946.946 0 0 1 .639.261.946.946 0 0 1 .262.639.945.945 0 0 1-.262.638.912.912 0 0 1-.639.25.911.911 0 0 1-.638-.25ZM9.099 10.9V6.4a.9.9 0 0 1 .9-.9.9.9 0 0 1 .9.9v4.5a.9.9 0 0 1-.9.9.9.9 0 0 1-.899-.9Z" fill="#ea4e3d" /></symbol><symbol  viewBox="0 0 20 20" id="icon-locales"><path fill="#fff" opacity=".02" d="M0 0h20v20H0z" /><path data-name="Path 238" d="M17.098 4.48a.657.657 0 0 0-.11-.208.7.7 0 0 0-.194-.163 8.985 8.985 0 0 0-13.769.208.094.094 0 0 0-.017.019v.007a9.018 9.018 0 0 0-2 5.658 8.912 8.912 0 0 0 1.885 5.5.7.7 0 0 0 .122.236.658.658 0 0 0 .212.172 8.989 8.989 0 0 0 13.745-.2.112.112 0 0 0 .029-.028.166.166 0 0 0 .016-.034 8.972 8.972 0 0 0 .089-11.16Zm-1.718.1a9.831 9.831 0 0 1-1.905.858 10.2 10.2 0 0 0-1.022-2.672 7.677 7.677 0 0 1 2.927 1.816ZM9.956 2.357h.055c.784.011 1.649 1.383 2.157 3.419a11.305 11.305 0 0 1-4.33 0c.5-2.004 1.343-3.365 2.118-3.417Zm-2.4.4a10.171 10.171 0 0 0-1.029 2.682 9.849 9.849 0 0 1-1.914-.861 7.7 7.7 0 0 1 2.94-1.819ZM3.739 14.378a7.615 7.615 0 0 1 0-8.749 11.209 11.209 0 0 0 2.517 1.143 20.428 20.428 0 0 0 0 6.461 11.178 11.178 0 0 0-2.52 1.146Zm.875 1.046a9.82 9.82 0 0 1 1.914-.864 10.175 10.175 0 0 0 1.033 2.687 7.679 7.679 0 0 1-2.95-1.822Zm5.393 2.218c-.786 0-1.652-1.374-2.164-3.426a11.341 11.341 0 0 1 4.329 0c-.516 2.055-1.383 3.428-2.169 3.428Zm0-4.983a12.742 12.742 0 0 0-2.431.235 19.216 19.216 0 0 1 0-5.781 12.671 12.671 0 0 0 2.419.238h.01a12.725 12.725 0 0 0 2.436-.242 19.249 19.249 0 0 1 0 5.786 12.7 12.7 0 0 0-2.438-.235Zm2.442 4.583a10.194 10.194 0 0 0 1.03-2.681 9.873 9.873 0 0 1 1.91.859 7.665 7.665 0 0 1-2.944 1.824Zm3.817-2.872a11.18 11.18 0 0 0-2.513-1.14 20.436 20.436 0 0 0 0-6.463 11.194 11.194 0 0 0 2.506-1.14 7.584 7.584 0 0 1 1.385 4.372v.005a7.589 7.589 0 0 1-1.381 4.368Z" /></symbol><symbol viewBox="0 0 1024 1024"  id="icon-photo-fail"><path d="m398.678 171.008-18.944 56.89h-265.5V626.12l73.556-73.557c20.533-20.534 52.796-22.113 75.133-4.74l5.365 4.74 73.5 73.557 105.359-126.464 122.198 183.353-56.89 170.666H114.233c-29.16 0-53.217-21.975-56.505-50.257l-.383-6.631v-568.89c0-29.212 21.975-53.225 50.258-56.507l6.631-.382h284.445zm512 0c29.213 0 53.225 21.926 56.507 50.248l.382 6.641v568.89c0 29.16-21.926 53.217-50.246 56.505l-6.643.383H626.233l56.89-170.666L510.35 423.822l72.819-87.324c21.026-25.274 58.554-27.207 82.058-5.613l4.811 4.987 240.64 280.747V227.897H493.512l18.944-56.889h398.222zM313.373 284.763c15.88 0 30.75 4.345 43.489 11.91l-15.073 45.002 46.368 69.534c-14.528 26.354-42.583 44.221-74.784 44.221-47.104 0-85.333-38.229-85.333-85.334 0-47.104 38.229-85.333 85.333-85.333z" /></symbol><symbol viewBox="0 0 1024 1024"  id="icon-photo"><path d="M312.917 284.422c-47.104 0-85.333 38.23-85.333 85.333s38.229 85.333 85.333 85.333 85.334-38.229 85.334-85.333-38.23-85.333-85.334-85.333m356.665 51.108c-22.869-26.737-64.34-26.453-86.869.627l-241.38 289.62-73.5-73.557c-22.244-22.244-58.255-22.244-80.498 0l-73.557 73.557V227.555h796.445v388.722l-240.64-280.746zm240.64-164.864H113.777c-31.403 0-56.889 25.43-56.889 56.89v568.888c0 31.403 25.486 56.889 56.889 56.889h796.446c31.46 0 56.889-25.486 56.889-56.888v-568.89c0-31.459-25.43-56.888-56.889-56.888z" /></symbol><symbol fill="none"  viewBox="0 0 16 16" id="icon-safe"><path d="M13.598 2.975a.918.918 0 0 0-.618-.235l-.062.001c-.013.001-.158.01-.385.01-.377 0-1.113-.026-1.81-.191-.9-.214-1.938-1.206-2.24-1.401a.93.93 0 0 0-1.005-.001c-.037.024-1.125 1.15-2.189 1.402-.696.165-1.446.191-1.822.191-.228 0-.373-.009-.387-.01l-.06-.001a.923.923 0 0 0-.619.235.862.862 0 0 0-.287.64v2.188c0 8.09 5.473 9.132 5.705 9.173a.992.992 0 0 0 .32 0c.233-.041 5.746-1.083 5.746-9.173V3.615a.861.861 0 0 0-.287-.64Zm-2.024 3.13L7.78 9.776a.564.564 0 0 1-.493.267.563.563 0 0 1-.492-.267L4.767 7.813a.522.522 0 0 1 0-.755.567.567 0 0 1 .782 0L7.287 8.74l3.506-3.39a.567.567 0 0 1 .782 0 .522.522 0 0 1 0 .755Z" /></symbol><symbol  viewBox="0 0 5 23" id="icon-switch-locale"><g transform="translate(-342 -1268)"><circle data-name="Ellipse 70" cx="2.5" cy="2.5" r="2.5" transform="translate(342 1286)" /><circle data-name="Ellipse 69" cx="2.5" cy="2.5" r="2.5" transform="translate(342 1277)" /><circle data-name="Ellipse 68" cx="2.5" cy="2.5" r="2.5" transform="translate(342 1268)" /></g></symbol><symbol  viewBox="0 0 46.39 50" id="icon-fix-tool-repair"><path d="M29.08 5a17 17 0 0 0-18.25-3.84 1.29 1.29 0 0 0-.46 2.11l8.83 8.83a1.28 1.28 0 0 1 0 1.81l-5.29 5.29a1.28 1.28 0 0 1-1.81 0l-8.83-8.83a1.29 1.29 0 0 0-2.11.46 17 17 0 0 0 22.73 21.8l11.95 11.95a6.18 6.18 0 0 0 8.74 0 6.18 6.18 0 0 0 0-8.74L32.63 23.89A17 17 0 0 0 29.08 5Z" data-name="Layer 1" /></symbol><symbol  viewBox="0 0 52.99 50.01" id="icon-fix-tool-service"><path d="M3.71 23.4A4.76 4.76 0 0 0 0 28.11v2.32a4.76 4.76 0 0 0 3.71 4.71.8.8 0 0 0 .92-.82v-10.1a.8.8 0 0 0-.92-.82Zm45.57 0a.8.8 0 0 0-.92.82v10.09a.8.8 0 0 0 .92.82A4.76 4.76 0 0 0 53 30.42v-2.31a4.76 4.76 0 0 0-3.72-4.71ZM26.49 0C16.19 0 7.64 8.83 7.37 19.72a.15.15 0 0 0 0 .07v16.88a2.18 2.18 0 0 0 2.13 2.21h.67v1.23a7.24 7.24 0 0 0 7.1 7.37h3.67A4.15 4.15 0 0 0 24.69 50h3.61a4.32 4.32 0 0 0 0-8.64h-3.61a4.15 4.15 0 0 0-3.8 2.57h-3.65a3.76 3.76 0 0 1-3.68-3.82v-1.22h2.89a2.18 2.18 0 0 0 2.13-2.21V21.86a2.17 2.17 0 0 0-2.13-2.21h-3.94c.31-7.93 6.51-14.32 14-14.32s13.67 6.39 14 14.32h-3.98a2.17 2.17 0 0 0-2.13 2.21v14.81a2.18 2.18 0 0 0 2.13 2.21h7a2.18 2.18 0 0 0 2.13-2.21V19.79a.14.14 0 0 0 0-.07C45.34 8.83 36.8 0 26.49 0Z" data-name="Layer 1" /></symbol><symbol  viewBox="0 0 53.19 40.64" id="icon-fix-tool-tutorial"><path d="M8.14 0a1.88 1.88 0 0 0-1.33.55 1.89 1.89 0 0 0-.56 1.35v28.55a1.91 1.91 0 0 0 1.91 1.9c4.43 0 11.85.93 17 6.29V8.78a1.82 1.82 0 0 0-.26-1C20.65 1 12.58 0 8.14 0ZM47 30.45V1.9a1.89 1.89 0 0 0-.61-1.35A1.88 1.88 0 0 0 45.06 0c-4.44 0-12.52 1-16.72 7.81a1.82 1.82 0 0 0-.27 1v29.83c5.12-5.36 12.54-6.28 17-6.29a1.91 1.91 0 0 0 1.93-1.9Z" /><path d="M51.29 6.58h-1.38v23.87a4.87 4.87 0 0 1-4.85 4.86c-3.76 0-10 .74-14.34 4.9 7.59-1.86 15.59-.65 20.15.39a1.9 1.9 0 0 0 2.33-1.85V8.49a1.91 1.91 0 0 0-1.91-1.91ZM3.28 30.45V6.58H1.9A1.91 1.91 0 0 0 0 8.49v30.25a1.9 1.9 0 0 0 2.33 1.85c4.56-1 12.56-2.25 20.15-.39-4.39-4.2-10.59-4.89-14.34-4.89a4.87 4.87 0 0 1-4.86-4.86Z" /></symbol><symbol  class="privacy-type__glyph privacy-type__glyph--usage-data" aria-hidden="true" viewBox="0 0 64 64" id="icon-ios-store-data"><path d="M49.925 53.844h7.098c3.287 0 4.978-1.572 4.978-4.692V14.52c0-3.12-1.69-4.717-4.978-4.717h-7.098c-3.239 0-4.93 1.596-4.93 4.717v34.632c0 3.12 1.691 4.692 4.93 4.692zm-21.412 0h7.097c3.287 0 4.955-1.572 4.955-4.692V21.475c0-3.12-1.668-4.717-4.955-4.717h-7.097c-3.264 0-4.955 1.596-4.955 4.717v27.677c0 3.12 1.691 4.692 4.955 4.692zm-21.413 0h7.074c3.287 0 4.978-1.572 4.978-4.692V28.406c0-3.12-1.691-4.716-4.978-4.716H7.1c-3.264 0-4.955 1.596-4.955 4.716v20.746c0 3.12 1.691 4.692 4.955 4.692z" /></symbol><symbol  aria-hidden="true" viewBox="0 0 64 64" id="icon-ios-store-face"><path d="M58.595 42c1.544 0 2.405.866 2.405 2.45v7.29c0 6.153-3.087 9.26-9.322 9.26h-7.244C42.861 61 42 60.134 42 58.61c0-1.554.86-2.42 2.434-2.42h7.185c2.91 0 4.6-1.582 4.6-4.69v-7.05c0-1.584.833-2.45 2.376-2.45zm-53.22 0c1.543 0 2.404.866 2.404 2.45v7.05c0 3.108 1.633 4.69 4.601 4.69h7.186c1.573 0 2.434.866 2.434 2.42 0 1.524-.86 2.39-2.434 2.39h-7.244C6.117 61 3 57.922 3 51.74v-7.29C3 42.866 3.83 42 5.375 42zM32 34c10.897 0 16 8.988 16 12.399 0 .949-.48 1.601-1.501 1.601H17.501C16.481 48 16 47.348 16 46.399 16 42.988 21.103 34 32 34zm0-20c4.438 0 8 3.82 8 8.412 0 4.916-3.562 8.618-8 8.588-4.437-.029-8-3.672-8-8.588C24 17.82 27.563 14 32 14zM51.678 3C57.913 3 61 6.076 61 12.231v7.32C61 21.103 60.168 22 58.595 22c-1.514 0-2.375-.896-2.375-2.45V12.5c0-3.108-1.692-4.691-4.601-4.691h-7.185c-1.573 0-2.434-.866-2.434-2.42C42 3.837 42.86 3 44.434 3h7.244zM19.566 3C21.139 3 22 3.836 22 5.39c0 1.553-.86 2.419-2.434 2.419H12.38c-2.968 0-4.601 1.583-4.601 4.69v7.051c0 1.554-.83 2.45-2.404 2.45C3.86 22 3 21.104 3 19.55v-7.319C3 6.076 6.117 3 12.322 3h7.244z" /></symbol><symbol  class="privacy-type__glyph privacy-type__glyph--location" aria-hidden="true" viewBox="0 0 64 64" id="icon-ios-store-location"><path d="m7.54 33.695 22.177.088c.41 0 .615.176.615.615l.059 22.12c0 2.782 1.23 5.068 3.545 5.068 2.226 0 3.428-2.08 4.482-4.395L60.86 8.851c.557-1.142.821-2.168.821-3.017 0-1.934-1.436-3.399-3.399-3.399-.878 0-1.904.235-3.046.791L6.895 25.638C4.668 26.664 2.5 27.894 2.5 30.15s2.168 3.545 5.04 3.545z" /></symbol><symbol  class="privacy-type__glyph privacy-type__glyph--diagnostics" aria-hidden="true" viewBox="0 0 64 64" id="icon-ios-store-setting"><path d="M29.47 61.996h5.234c1.48 0 2.56-.882 2.873-2.332l1.48-6.258c1.109-.37 2.19-.797 3.128-1.252l5.49 3.357c1.223.768 2.617.654 3.64-.37l3.67-3.64c1.024-1.025 1.166-2.504.341-3.727l-3.356-5.433c.483-.995.91-2.02 1.223-3.043l6.314-1.508c1.45-.313 2.304-1.393 2.304-2.872v-5.149c0-1.45-.853-2.531-2.304-2.844l-6.257-1.508c-.37-1.166-.825-2.218-1.223-3.1l3.356-5.518c.796-1.223.711-2.617-.341-3.64l-3.727-3.67c-1.052-.967-2.303-1.138-3.555-.427l-5.575 3.442c-.91-.483-1.962-.91-3.129-1.28l-1.479-6.343c-.313-1.45-1.393-2.332-2.873-2.332h-5.233c-1.48 0-2.56.882-2.901 2.332l-1.48 6.286c-1.109.37-2.19.797-3.157 1.309l-5.518-3.414c-1.251-.71-2.531-.568-3.584.427l-3.697 3.67c-1.053 1.023-1.166 2.417-.342 3.64l3.328 5.518c-.37.882-.825 1.934-1.194 3.1l-6.258 1.508c-1.45.313-2.304 1.394-2.304 2.844v5.149c0 1.479.853 2.56 2.304 2.872l6.315 1.508c.312 1.024.739 2.048 1.194 3.043L8.85 47.774c-.853 1.223-.682 2.702.342 3.726l3.64 3.641c1.024 1.024 2.446 1.138 3.67.37l5.46-3.357c.968.455 2.02.882 3.13 1.252l1.479 6.258c.34 1.45 1.422 2.332 2.9 2.332zm2.618-19.683c-5.518 0-10.04-4.551-10.04-10.07 0-5.489 4.522-10.011 10.04-10.011 5.518 0 10.04 4.522 10.04 10.012 0 5.518-4.522 10.069-10.04 10.069z" /></symbol><symbol  viewBox="0 0 33.999 43.659" id="icon-ios-store-share"><path data-name="share icon" d="M6 43.659a6.006 6.006 0 0 1-6-6v-19a6.008 6.008 0 0 1 6-6h5v4H6a2 2 0 0 0-2 2v19a2 2 0 0 0 2 2h22a2 2 0 0 0 2-2v-19a2 2 0 0 0-2-2h-5v-4h5a6.008 6.008 0 0 1 6 6v19a6.006 6.006 0 0 1-6 6Zm9.5-16.534V5.3l-3.837 3.809A1.5 1.5 0 0 1 9.542 9.1a1.5 1.5 0 0 1 .007-2.121l6.6-6.543A1.491 1.491 0 0 1 17.2 0h.017a1.494 1.494 0 0 1 1.063.459L24.587 7a1.5 1.5 0 0 1-.04 2.121 1.5 1.5 0 0 1-1.039.42 1.5 1.5 0 0 1-1.082-.459l-3.925-4.075v22.119a1.5 1.5 0 0 1-1.5 1.5 1.5 1.5 0 0 1-1.501-1.5Z" /></symbol><symbol  class="privacy-type__glyph privacy-type__glyph--identifiers" aria-hidden="true" viewBox="0 0 64 64" id="icon-ios-store-sign"><path d="M52.367 24h-14.76C36.704 24 36 23.342 36 22.51c0-.835.705-1.51 1.606-1.51h14.761c.905 0 1.633.675 1.633 1.51 0 .832-.728 1.49-1.633 1.49m0 10h-14.76C36.704 34 36 33.35 36 32.52c0-.85.705-1.52 1.606-1.52h14.761c.905 0 1.633.67 1.633 1.52 0 .83-.728 1.48-1.633 1.48m0 9h-14.76C36.704 43 36 42.33 36 41.484c0-.83.705-1.484 1.606-1.484h14.761c.905 0 1.633.654 1.633 1.484C54 42.33 53.272 43 52.367 43m-24.04 0H12.66C10.7 43 10 42.459 10 41.401 10 38.288 14.028 34 20.493 34 26.973 34 31 38.288 31 41.401 31 42.46 30.305 43 28.328 43m-7.321-22C23.673 21 26 23.31 26 26.425 26 29.58 23.686 32 21.007 32 18.314 32 16 29.58 16 26.452 15.987 23.359 18.327 21 21.007 21m32.158-10h-42.33C5.645 11 3 13.566 3 18.645V45.33C3 50.408 5.644 53 10.835 53h42.33C58.355 53 61 50.408 61 45.329V18.645C61 13.592 58.356 11 53.165 11" /></symbol><symbol  aria-hidden="true" viewBox="0 0 64 64" id="icon-ios-store-user"><path d="M32.09 61.568c16.185 0 29.586-13.43 29.586-29.587 0-16.186-13.43-29.587-29.616-29.587-16.157 0-29.558 13.4-29.558 29.587 0 16.156 13.43 29.587 29.587 29.587zm0-4.932c-13.692 0-24.628-10.964-24.628-24.655 0-13.692 10.907-24.656 24.598-24.656 13.691 0 24.656 10.964 24.685 24.656.03 13.69-10.965 24.655-24.656 24.655zm-.03-25.555c4.12.03 7.455-3.48 7.455-8.121 0-4.351-3.336-7.977-7.455-7.977s-7.455 3.626-7.455 7.977c0 4.64 3.336 8.092 7.455 8.121zM18.804 46.687h26.512c1.16 0 1.712-.754 1.712-1.827 0-3.162-4.786-11.4-14.968-11.4-10.181 0-14.967 8.238-14.967 11.4 0 1.073.55 1.827 1.711 1.827z" /></symbol><symbol  viewBox="0 0 24 24" id="icon-store-app"><path fill-rule="evenodd" clip-rule="evenodd" d="M15 4h3c1.1 0 2 .9 2 2v3c0 1.1-.9 2-2 2h-3c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2Zm-6 9H6c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2Zm9 0h-3c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2ZM9 4H6c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Z" /></symbol><symbol  viewBox="0 0 24 24" id="icon-store-arrow"><path d="M18.262 13.5H0v-3h18.262l-8.4-8.4L12 0l12 12-12 12-2.137-2.1Z" /></symbol><symbol viewBox="0 0 24 24" id="icon-store-bookmark"><path fill-rule="evenodd" clip-rule="evenodd" d="M7 3h10a2 2 0 0 1 2 2v16l-7-3-7 3 .01-16c0-1.104.886-2 1.99-2Zm5 12.824L17 18V5H7v13l5-2.176ZM13 7v2h2v2h-2v2h-2v-2H9V9h2V7h2Z" /></symbol><symbol  viewBox="0 0 24 24" id="icon-store-books"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5 6.366 14 7.652V4h-3v3.65L12.5 6.367ZM10 2H16.998a3.016 3.016 0 0 1 3.003 3.002v13.996A3.016 3.016 0 0 1 16.998 22H4V2h6Zm8.001 3.002c0-.543-.459-1.002-1.003-1.002h-.997v8L12.5 9l-3.499 3V4H6v16h10.998c.544 0 1.003-.459 1.003-1.002V5.002Z" /></symbol><symbol  viewBox="0 0 24 24" id="icon-store-child"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 20.439c1.154.348 5.226 1.561 5.63 1.561.801 0 1.298-.422 1.524-.675.55-.617.549-1.265.546-2.246v-.005c-.001-.427-.07-2.963-.1-3.949.626-.873 2.291-3.218 2.56-3.625.57-.857 1.06-1.599.737-2.592-.325-1-1.138-1.298-2.086-1.645l-.001-.001a271.366 271.366 0 0 0-3.99-1.32c-.617-.835-2.302-3.094-2.599-3.466l-.001-.002C13.587 1.684 13.042 1 12 1c-1.042 0-1.59.684-2.222 1.477-.297.371-1.982 2.63-2.597 3.465-.967.313-3.557 1.161-3.997 1.323-.942.345-1.756.643-2.081 1.643-.323.993.168 1.735.737 2.593.26.393 1.934 2.751 2.56 3.624-.03.986-.099 3.521-.1 3.949-.004.984-.006 1.634.545 2.25.225.252.722.676 1.526.676.402 0 4.474-1.213 5.628-1.561Zm5.602-5.255c.042 1.426.097 3.565.098 3.895.002.726-.004.853-.026.898a18.912 18.912 0 0 1-.427-.107 75.618 75.618 0 0 1-1.6-.443c-.988-.282-2.15-.626-3.07-.903l-.578-.174-.577.174c-.92.277-2.082.62-3.07.903a75.86 75.86 0 0 1-1.6.443c-.17.044-.314.08-.426.107-.023-.044-.03-.17-.027-.897.002-.331.058-2.5.1-3.896l.02-.675-.394-.548a317.61 317.61 0 0 1-2.52-3.566c-.49-.74-.518-.815-.5-.868.02-.06.063-.09.867-.384.333-.122 2.522-.844 3.925-1.298l.611-.198.382-.518c.781-1.06 2.317-3.112 2.55-3.402.545-.684.6-.727.66-.727.049 0 .082.022.403.408.066.08.122.15.256.317.23.288 1.742 2.31 2.552 3.405l.382.518.612.197a270.41 270.41 0 0 1 3.918 1.295l.178.066c.637.236.676.265.694.32.017.054-.01.128-.5.868-.21.315-1.65 2.35-2.52 3.567l-.393.548.02.675Z" /></symbol><symbol  viewBox="0 0 30.001 30" id="icon-store-cloud"><path data-name="路径 22" d="M0 0h30v30H0Z" fill="none" /><path data-name="减去 1" d="M23.75 26H13.17v-2.75h.017v-6.875H10l5-5.5 5 5.5h-3.187v6.875h6.937a3.955 3.955 0 0 0 3.75-4.125 3.946 3.946 0 0 0-3.475-4.07l-1.913-.151-.375-2.063A7.09 7.09 0 0 0 15 6.75a6.8 6.8 0 0 0-6.088 4.083l-.625 1.307-1.338.151a5.3 5.3 0 0 0-4.45 5.458 5.319 5.319 0 0 0 4.67 5.488v2.754a7.182 7.182 0 0 1-5.08-2.531 8.66 8.66 0 0 1-2.091-5.711 8.707 8.707 0 0 1 1.933-5.526 7.26 7.26 0 0 1 4.755-2.669A9.281 9.281 0 0 1 15 4a8.872 8.872 0 0 1 5.981 2.374 10.579 10.579 0 0 1 3.206 5.932 6.033 6.033 0 0 1 4.125 2.142A7.169 7.169 0 0 1 30 19.126C30 22.916 27.2 26 23.75 26Z" fill="#5f6368" /></symbol><symbol  viewBox="0 0 34 34" id="icon-store-computer"><path data-name="路径 14" d="M0 0h34v34H0Z" fill="none" /><path data-name="路径 15" d="M28.333 25.5a2.83 2.83 0 0 0 2.819-2.833L31.166 8.5a2.842 2.842 0 0 0-2.833-2.833H5.667A2.842 2.842 0 0 0 2.833 8.5v14.167A2.842 2.842 0 0 0 5.666 25.5H0v2.833h34V25.5ZM5.666 8.5h22.667v14.167H5.667Z" fill="#5f6368" /></symbol><symbol  viewBox="0 0 30 30" id="icon-store-delete"><path data-name="路径 32" d="M0 0h30v30H0Z" fill="none" /><path data-name="delete" d="M7.5 28a2.889 2.889 0 0 1-2.119-.881A2.889 2.889 0 0 1 4.5 25V5.5H3v-3h7.5V1h9v1.5H27v3h-1.5V25a2.889 2.889 0 0 1-.881 2.119A2.889 2.889 0 0 1 22.5 28Zm15-22.5h-15V25h15ZM10.5 22h3V8.5h-3Zm6 0h3V8.5h-3Zm-9-16.5Z" fill="#5f6368" /></symbol><symbol  viewBox="0 0 34 34" id="icon-store-flag"><path data-name="路径 26" d="M0 0h34v34H0Z" fill="none" /><path data-name="路径 27" d="m16.795 7.466.587 2.933h7.685v8.8h-4.928l-.587-2.933H8.933v-8.8h7.861M19.2 4.533H6v24.933h2.933V19.2h8.213l.587 2.933H28V7.466h-8.213Z" fill="#5f6368" /></symbol><symbol viewBox="0 0 21 16"  id="icon-store-game"><path fill-rule="evenodd" clip-rule="evenodd" d="M19.3 8.4c-.083-.748-.235-1.496-.4-2.301l-.1-.499c-.1-.5-.1-.5-.2-.9l-.1-.3C18.2 1.8 16 0 13.3 0H6.7C4.1 0 1.8 1.8 1.4 4.4c0 .032 0 .053-.003.075-.007.045-.029.088-.097.225 0 .4 0 .4-.1.9-.1.45-.175.925-.25 1.4-.075.475-.15.95-.25 1.4-.6 3.5-.7 4.1-.7 4.3 0 1.5 1.2 2.8 2.8 2.8.8 0 1.5-.3 2-.8l2.9-2.8h4.7l2.9 2.9c.5.5 1.2.8 2 .8 1.5 0 2.8-1.2 2.8-2.8-.095-.284-.189-.835-.705-3.848L19.3 8.4ZM13 5a.9.9 0 1 0 0-1.8.9.9 0 0 0 0 1.8Zm2.8 1A.9.9 0 1 1 14 6a.9.9 0 0 1 1.8 0Zm-5.3-.6c-.3.3-.3.9 0 1.2.3.3.9.3 1.2 0 .3-.3.3-.9 0-1.2-.3-.3-.8-.3-1.2 0ZM13 8.8A.9.9 0 1 0 13 7a.9.9 0 0 0 0 1.8ZM6.4 3.5h1.2v1.9h1.9v1.2H7.6v1.9H6.4V6.6H4.5V5.4h1.9V3.5Zm10.1 9.8c.2.2.4.3.7.3.6 0 1-.4 1-1 0 .1-1.4-7.8-1.4-7.9-.3-1.7-1.8-2.9-3.5-2.9H6.7C4.9 1.8 3.5 3 3.2 4.7c0 .1-1.4 8-1.4 8 0 .6.5 1 1 1 .3 0 .5-.1.7-.3L6.9 10h6.2l.3.2 3.1 3.1Z" /></symbol><symbol  viewBox="0 0 293.906 65.806" id="icon-store-googleplay"><defs><clipPath id="icon-store-googleplay_a"><path data-name="路径 3" d="M31.934 10.536a7 7 0 0 1 12.133 0l25.892 44.971A7 7 0 0 1 63.892 66H12.108a7 7 0 0 1-6.067-10.493Z" transform="rotate(90 45 56)" fill="#4285f4" /></clipPath></defs><g data-name="logo" clip-path="url(#icon-store-googleplay_a)" transform="translate(-35 -16.097)"><path data-name="路径 5" d="M78.764 61.819 63.2 47.485l-30.455 28.29 6.978 8.3Z" fill="#ea4335" /><path data-name="路径 4" d="M78.764 35.74 63.2 50.073l-30.455-28.29 6.978-8.3Z" fill="#34a853" /><path data-name="路径 1" d="m32.838 21.7 29.3 27.215-29.3 28.686Z" fill="#4285f4" /><path data-name="路径 2" d="m62.137 49 18.511-15.9L99.282 49 80.035 65.708Z" fill="#fbbc04" /></g><path d="M103.828 41.955a19.841 19.841 0 0 1-9.928 2.43q-6.437 0-10.3-3.915t-3.856-10.539a14.858 14.858 0 0 1 4.277-10.975 14.905 14.905 0 0 1 11.012-4.277 19.939 19.939 0 0 1 7.941 1.429v4.564a15.348 15.348 0 0 0-8.22-2.1 9.784 9.784 0 0 0-7.44 3.062 11.215 11.215 0 0 0-2.894 8.038q0 5.121 2.663 7.988a9.36 9.36 0 0 0 7.208 2.867 10.539 10.539 0 0 0 5.065-1.114v-7.2h-6.1v-3.785h10.572Zm4.072-8.127a10.905 10.905 0 0 1 2.885-8 10.523 10.523 0 0 1 7.859-2.925 9.809 9.809 0 0 1 7.422 2.839 10.727 10.727 0 0 1 2.728 7.756 10.9 10.9 0 0 1-2.876 7.923 10.2 10.2 0 0 1-7.682 2.964 10.041 10.041 0 0 1-7.524-2.876 10.517 10.517 0 0 1-2.812-7.681Zm4.435-.093a7.782 7.782 0 0 0 1.643 5.268 5.6 5.6 0 0 0 4.462 1.894q5.919 0 5.919-7.292a8.262 8.262 0 0 0-1.521-5.372 5.372 5.372 0 0 0-4.4-1.846 5.488 5.488 0 0 0-4.49 1.967 8.237 8.237 0 0 0-1.612 5.381Zm19.6.093a10.905 10.905 0 0 1 2.885-8 10.523 10.523 0 0 1 7.862-2.925 9.809 9.809 0 0 1 7.418 2.835 10.727 10.727 0 0 1 2.728 7.756 10.9 10.9 0 0 1-2.876 7.923 10.2 10.2 0 0 1-7.678 2.968 10.041 10.041 0 0 1-7.524-2.876 10.517 10.517 0 0 1-2.811-7.681Zm4.435-.093a7.782 7.782 0 0 0 1.646 5.268 5.6 5.6 0 0 0 4.462 1.893q5.919 0 5.919-7.292a8.262 8.262 0 0 0-1.521-5.372 5.372 5.372 0 0 0-4.4-1.846 5.488 5.488 0 0 0-4.49 1.967 8.237 8.237 0 0 0-1.612 5.382Zm39.368 8.275q0 11.541-11.541 11.541a15 15 0 0 1-6.643-1.336v-4.012a13.378 13.378 0 0 0 6.546 1.9q7.273 0 7.273-7.44v-2.044h-.073a7.43 7.43 0 0 1-6.806 3.766 7.7 7.7 0 0 1-6.188-2.755 11.021 11.021 0 0 1-2.329-7.357 12.607 12.607 0 0 1 2.551-8.285 8.373 8.373 0 0 1 6.801-3.085 6.527 6.527 0 0 1 5.971 3.169h.074v-2.69h4.36Zm-4.323-10.13a5.481 5.481 0 0 0-1.5-3.887 4.882 4.882 0 0 0-3.711-1.6 5.042 5.042 0 0 0-4.24 2.032 9.1 9.1 0 0 0-1.549 5.631 7.772 7.772 0 0 0 1.485 4.976 4.759 4.759 0 0 0 3.915 1.865 5.063 5.063 0 0 0 4.036-1.837 6.894 6.894 0 0 0 1.568-4.639Zm10.047 12.023V13.529h4.36v30.374Zm27.3-9.092h-14.1q.278 6.216 6.327 6.216a10.313 10.313 0 0 0 6.216-2.041v3.6a12.972 12.972 0 0 1-7.218 1.8 9.258 9.258 0 0 1-7.141-2.783q-2.579-2.783-2.579-7.793a11.257 11.257 0 0 1 2.774-7.83 8.96 8.96 0 0 1 6.949-3.077 8.16 8.16 0 0 1 6.466 2.625 10.565 10.565 0 0 1 2.31 7.227Zm-4.23-3.173a6.187 6.187 0 0 0-1.206-4.045 4.17 4.17 0 0 0-3.377-1.41 4.679 4.679 0 0 0-3.451 1.494 6.861 6.861 0 0 0-1.818 3.961Zm22.489 1.744v10.521h-4.453V15.162h8.684q4.88 0 7.478 2.254a8.191 8.191 0 0 1 2.6 6.541 8.657 8.657 0 0 1-3.1 6.949 10.869 10.869 0 0 1-7.663 2.477Zm0-14.491v10.78h3.191q6.438 0 6.438-5.529 0-5.251-6.179-5.251ZM245.4 43.903V13.529h4.36v30.374Zm10.623-19.148a13.976 13.976 0 0 1 7.258-1.852q7.774 0 7.774 8.034v12.966h-4.23v-3.117h-.093a6.779 6.779 0 0 1-6.232 3.599 6.666 6.666 0 0 1-4.759-1.633A5.75 5.75 0 0 1 254 38.355q0-5.789 6.884-6.754l5.956-.816q0-4.583-4.026-4.583a10.864 10.864 0 0 0-6.791 2.394Zm6.29 9.611a5.864 5.864 0 0 0-3.145 1.132 3.143 3.143 0 0 0-.918 2.449 2.815 2.815 0 0 0 .983 2.217 3.686 3.686 0 0 0 2.523.863 4.767 4.767 0 0 0 3.644-1.549 5.5 5.5 0 0 0 1.447-3.906v-1.818Zm31.59-10.984-9.033 23.23q-2.69 6.939-7.793 6.939a8.615 8.615 0 0 1-2.709-.353v-3.673a5.387 5.387 0 0 0 2.227.482q2.449 0 3.618-2.728l1.429-3.414-8.127-20.484h4.843l4.936 14.64a18.532 18.532 0 0 1 .482 1.967h.093a16.072 16.072 0 0 1 .5-1.93l5.14-14.677Z" fill="#5f6368" /></symbol><symbol  viewBox="0 0 36 36" id="icon-store-help"><path d="M17.91 28.8a2.173 2.173 0 0 0 1.6-.653 2.173 2.173 0 0 0 .653-1.6 2.173 2.173 0 0 0-.653-1.6 2.173 2.173 0 0 0-1.6-.652 2.173 2.173 0 0 0-1.6.652 2.173 2.173 0 0 0-.652 1.6 2.173 2.173 0 0 0 .652 1.6 2.173 2.173 0 0 0 1.6.653Zm-1.62-6.93h3.33a6.549 6.549 0 0 1 .338-2.34 7.877 7.877 0 0 1 1.912-2.34 13.492 13.492 0 0 0 1.845-2.228 4.626 4.626 0 0 0 .675-2.542 4.5 4.5 0 0 0-1.845-3.87A7.19 7.19 0 0 0 18.18 7.2a6.229 6.229 0 0 0-4.162 1.35 7.143 7.143 0 0 0-2.228 3.24l2.97 1.17a4.9 4.9 0 0 1 1.013-1.755 2.956 2.956 0 0 1 2.407-.945 2.783 2.783 0 0 1 2.16.788 2.514 2.514 0 0 1 .72 1.732 2.929 2.929 0 0 1-.54 1.688 7.24 7.24 0 0 1-1.35 1.463 11.2 11.2 0 0 0-2.43 2.655 8.2 8.2 0 0 0-.45 3.284ZM18 36a17.527 17.527 0 0 1-7.02-1.418 18.178 18.178 0 0 1-5.715-3.847 18.178 18.178 0 0 1-3.847-5.715A17.527 17.527 0 0 1 0 18a17.528 17.528 0 0 1 1.418-7.02 18.178 18.178 0 0 1 3.847-5.715 18.178 18.178 0 0 1 5.715-3.847A17.527 17.527 0 0 1 18 0a17.527 17.527 0 0 1 7.02 1.417 18.177 18.177 0 0 1 5.715 3.847 18.177 18.177 0 0 1 3.848 5.715A17.528 17.528 0 0 1 36 18a17.527 17.527 0 0 1-1.417 7.02 18.177 18.177 0 0 1-3.848 5.715 18.177 18.177 0 0 1-5.715 3.847A17.527 17.527 0 0 1 18 36Zm0-3.6a13.9 13.9 0 0 0 10.215-4.185A13.9 13.9 0 0 0 32.4 18a13.9 13.9 0 0 0-4.185-10.215A13.9 13.9 0 0 0 18 3.6 13.9 13.9 0 0 0 7.785 7.785 13.9 13.9 0 0 0 3.6 18a13.9 13.9 0 0 0 4.185 10.215A13.9 13.9 0 0 0 18 32.4ZM18 18Z" fill="#5f6368" /></symbol><symbol  viewBox="0 0 30 30" id="icon-store-https"><path data-name="路径 24" d="M0 0h30v30H0Z" fill="none" /><path data-name="路径 25" d="M23.25 10h-1.375V7.429A6.665 6.665 0 0 0 15 1a6.665 6.665 0 0 0-6.875 6.429V10H6.75A2.673 2.673 0 0 0 4 12.571v12.858A2.673 2.673 0 0 0 6.75 28h16.5A2.673 2.673 0 0 0 26 25.429V12.571A2.673 2.673 0 0 0 23.25 10ZM10.875 7.429A3.992 3.992 0 0 1 15 3.571a3.992 3.992 0 0 1 4.125 3.857V10h-8.25Zm12.375 18H6.75V12.571h16.5ZM15 21.571A2.673 2.673 0 0 0 17.75 19 2.673 2.673 0 0 0 15 16.429 2.673 2.673 0 0 0 12.25 19 2.673 2.673 0 0 0 15 21.571Z" fill="#5f6368" /></symbol><symbol  viewBox="0 0 24 24" id="icon-store-info"><path data-name="路径 7" d="M0 0h24v24H0Z" fill="none" /><path data-name="路径 8" d="M11 7h2v2h-2Zm0 4h2v6h-2Zm1-9a10 10 0 1 0 10 10A10 10 0 0 0 12 2Zm0 18a8 8 0 1 1 8-8 8.011 8.011 0 0 1-8 8Z" fill="#5f6368" /></symbol><symbol  viewBox="0 0 7.5 30" id="icon-store-more"><path d="M3.75 30a3.611 3.611 0 0 1-2.648-1.1 3.611 3.611 0 0 1-1.1-2.648 3.611 3.611 0 0 1 1.1-2.648 3.611 3.611 0 0 1 2.648-1.1 3.611 3.611 0 0 1 2.648 1.1 3.611 3.611 0 0 1 1.1 2.648 3.611 3.611 0 0 1-1.1 2.648A3.611 3.611 0 0 1 3.75 30Zm0-11.25a3.611 3.611 0 0 1-2.648-1.1A3.611 3.611 0 0 1 0 15a3.611 3.611 0 0 1 1.1-2.648 3.611 3.611 0 0 1 2.648-1.1 3.611 3.611 0 0 1 2.648 1.1A3.611 3.611 0 0 1 7.5 15a3.611 3.611 0 0 1-1.1 2.648 3.611 3.611 0 0 1-2.65 1.102Zm0-11.25a3.611 3.611 0 0 1-2.648-1.1 3.611 3.611 0 0 1-1.1-2.648 3.611 3.611 0 0 1 1.1-2.648A3.611 3.611 0 0 1 3.75.004a3.611 3.611 0 0 1 2.648 1.1 3.611 3.611 0 0 1 1.1 2.648 3.611 3.611 0 0 1-1.1 2.648A3.611 3.611 0 0 1 3.75 7.5Z" fill="#606469" /></symbol><symbol  viewBox="0 0 24 24" id="icon-store-movie"><path fill-rule="evenodd" clip-rule="evenodd" d="M3 2v20h18V2H3Zm2 18h14V4H5v16ZM9 7H6V5h3v2Zm9 0h-3V5h3v2ZM6 19h3v-2H6v2Zm12 0h-3v-2h3v2Zm-3-4h3v-2h-3v2Zm-6 0H6v-2h3v2Zm6-4h3V9h-3v2Zm-6 0H6V9h3v2Z" /></symbol><symbol  viewBox="0 0 34 34" id="icon-store-phone"><path data-name="路径 20" d="M0 0h34v34H0Z" fill="none" /><path data-name="路径 21" d="M22.666 1.417H11.333a4.244 4.244 0 0 0-4.25 4.25v22.667a4.244 4.244 0 0 0 4.25 4.25h11.333a4.244 4.244 0 0 0 4.25-4.25V5.667a4.244 4.244 0 0 0-4.25-4.25ZM24.083 25.5H9.916V5.667h14.167Zm-4.25 4.25h-5.667v-1.416h5.667Z" fill="#01875f" /></symbol><symbol  viewBox="0 0 34 34" id="icon-store-phonelink"><path data-name="路径 9" d="M0 0h34v34H0Z" fill="none" /><path data-name="路径 10" d="M6.333 8h24V5h-24a2.857 2.857 0 0 0-2.666 3v16.5H1V29h18.667v-4.5H6.333Zm25.333 3h-8a1.428 1.428 0 0 0-1.333 1.5v15a1.428 1.428 0 0 0 1.334 1.5h8A1.428 1.428 0 0 0 33 27.5v-15a1.428 1.428 0 0 0-1.333-1.5Zm-1.333 13.5H25V14h5.333Z" /></symbol><symbol  viewBox="0 0 20 26" id="icon-store-players"><path d="M3.5 6.579v13.1l10.077-6.309L3.5 6.579M0 0l20 13.479L0 26Z" /></symbol><symbol  viewBox="0 0 30.841 31.792" id="icon-store-search"><path d="M18.7 21.957A11.946 11.946 0 0 1 12 24 12 12 0 0 1 0 12 12 12 0 0 1 12 0a12 12 0 0 1 12 12 11.952 11.952 0 0 1-2.712 7.6l9.553 9.744-2.5 2.45ZM3.5 12a8.51 8.51 0 0 0 8.5 8.5 8.51 8.51 0 0 0 8.5-8.5A8.51 8.51 0 0 0 12 3.5 8.51 8.51 0 0 0 3.5 12Z" fill="#5f6368" /></symbol><symbol viewBox="0 0 24 24" id="icon-store-share"><path d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z" /></symbol><symbol  viewBox="0 0 17 16" id="icon-store-star"><path d="m8.5 0 2.338 5.661 6.162.45-4.718 3.949L13.753 16 8.5 12.78 3.247 16l1.471-5.939L0 6.111l6.162-.451Z" /></symbol><symbol  viewBox="0 0 34 34" id="icon-store-tablet"><path data-name="路径 16" d="M0 0h34v34H0Z" fill="none" /><path data-name="路径 17" d="M27 1H8.333A3.335 3.335 0 0 0 5 4.333v25.334A3.335 3.335 0 0 0 8.333 33H27a3.335 3.335 0 0 0 3.333-3.333V4.333A3.335 3.335 0 0 0 27 1Zm-9.333 30.667a2 2 0 1 1 2-2 2 2 0 0 1-2 2Zm10-5.333h-20V5h20Z" fill="#5f6368" /></symbol>',e.insertBefore(n,e.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}function Bs(t){t.component("SvgIcon",at)}function Zs(t){t.use(En,{observer:!0,observerOptions:{rootMargin:"0px",threshold:.1}})}async function Hs(t){var i;let e=t!=null?t:Qt();const{i18n:n,setLocale:o,$t:a}=B();await o(e);const s=(i=Ln())==null?void 0:i.appContext;s&&(s.config.globalProperties.$t=a,s.config.globalProperties.i18n=n)}var vn=(t=>(t.Share="share",t))(vn||{});const Rs={type:vn.Share,Fn:function(t){navigator.share(t)}},Fs=[Rs];class js{constructor(){b(this,"isInitListener",!1);b(this,"messageChannelMap",new Map)}init(){this.isInitListener||(this.isInitListener=!0,window.addEventListener("message",e=>this.receiveMessage(e),!1))}receiveMessage(e){const n=e.data,{type:o,data:a}=n,s=this.messageChannelMap.get(o);s&&typeof s=="function"&&s(a)}sendMessage(e){window.parent.postMessage(e,"*")}getMessageChannels(){return this.messageChannelMap}addMessageListener(e){e instanceof Array?e.forEach(n=>{this.messageChannelMap.set(n.type,n.Fn)}):this.messageChannelMap.set(e.type,e.Fn)}[Symbol.toStringTag](){return"CgMessageChannel"}}const wn=new js;wn.addMessageListener(Fs);function zs(){const t=Mt({loading:!0,isComplete:!1,component:null,showFixTool:!1}),e=vt("Please Check Your Network!");async function n(){const{siteConfigData:a,syncSiteStatus:s}=k();return m(a.ossDomin)||m(a.apiDomain)?!1:(await s(),a.siteStatus!=$.Normal?(t.component=It(Vs[a.siteStatus]),!1):!0)}async function o(){var i;L.init();const{initConfigData:a}=k();await a();const s=await n();if(s){const{syncDownLoadTemplate:r}=Z(),l=await r();l!=null?(await Hs((i=l==null?void 0:l.language)==null?void 0:i.code),l.templateStyle==Gt.AppStore?t.component=q()?It(Rt.StoreIOS):It(Rt.StoreAndroid):t.component=It(Rt.DownloadBase)):e.value="Please configure the download site template"}t.isComplete=!0,setTimeout(()=>{t.loading=!1,t.showFixTool=s,ot({kind:J.VISIT})},300)}return ut(async()=>{if(L.isInPwa()&&await mn()){t.component=It(Rt.LobbyBox),t.isComplete=!0,t.loading=!1,document.body.style.overflow="hidden",wn.init();return}o()}),{data:t,errorMessage:e}}const Ws={key:0,class:"cg-full-loading"},qs={class:"cg-full-content"},Gs=["textContent"],Ys=M({name:"IndexPage",__name:"App",setup(t){const e=et(()=>y(()=>import("./index-CxYfnDXi.js"),__vite__mapDeps([26,1,2,3,4,5,6,7,8,27]),import.meta.url)),{data:n,errorMessage:o}=zs();return(a,s)=>{const i=je;return v(),C(ct,null,[_(n).loading?(v(),C("section",Ws,[w("div",qs,[D(i)])])):z("",!0),(v(),j(xn(_(n).component))),_(n).showFixTool?(v(),j(_(e),{key:1})):z("",!0),_(n).isComplete&&_(n).component==null?(v(),C("div",{key:2,class:"cg-error",textContent:S(_(o))},null,8,Gs)):z("",!0)],64)}}}),Qs=V(Ys,[["__scopeId","data-v-9d71f024"]]),Ks="1732603312273";Hn&&"serviceWorker"in navigator&&window.addEventListener("load",()=>{navigator.serviceWorker.register("./sw.js?v=".concat(Ks),{scope:"./"})});const Se=Be(Qs);Bs(Se);Zs(Se);Se.mount("#page-view");export{m1 as A,Ne as C,$ as S,lt as T,at as _,Xs as __vite_legacy_guard,ga as a,ts as b,V as c,Z as d,q as e,f1 as f,d1 as g,Us as h,m as i,gn as j,y as k,g1 as l,La as m,Yt as n,F as o,l1 as p,h1 as q,r1 as r,p1 as s,mn as t,B as u,Go as v,k as w,sn as x,u1 as y,Qt as z};
