var Ge=Object.defineProperty,He=Object.defineProperties;var Pe=Object.getOwnPropertyDescriptors;var Fe=Object.getOwnPropertySymbols;var Oe=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable;var Le=(p,n,a)=>n in p?Ge(p,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):p[n]=a,Y=(p,n)=>{for(var a in n||(n={}))Oe.call(n,a)&&Le(p,a,n[a]);if(Fe)for(var a of Fe(n))De.call(n,a)&&Le(p,a,n[a]);return p},ne=(p,n)=>He(p,Pe(n));var ce=(p,n,a)=>new Promise((r,F)=>{var x=u=>{try{c(a.next(u))}catch(_){F(_)}},f=u=>{try{c(a.throw(u))}catch(_){F(_)}},c=u=>u.done?r(u.value):Promise.resolve(u.value).then(x,f);c((a=a.apply(p,n)).next())});import{u as Ve,d as te,g as ve,b as ae,c as ie,D as Q,a as re,a4 as Ne,a5 as Ue,k as le,e as Se,m as je,a6 as Ce,i as _e,a7 as Te,a8 as Ee,a9 as Be,S as be,aa as Ae,ab as $e,X as xe,ac as Me,ad as qe,ae as Ie,I as Z,af as We,ag as Ke,q as Xe,s as Je,p as Ye,r as Qe,ah as Ze,a3 as me,W as we}from"./CJ_qDYLC.js";import{B as P,d as ee,af as ye,a5 as ue,P as e,X as L,a4 as T,V as s,u as t,r as y,Q as i,D as v,a6 as et,W as A,a as he,C as pe,R as $,F as j,ae as G,U as C,_ as U,j as tt,O as Re,a8 as J,a7 as de,A as st,w as oe,n as ke,J as nt,ah as ot,al as lt}from"./DK9GHKel.js";import{_ as at}from"./C_Mve1Bv.js";import{_ as it}from"./DlAUqK2U.js";import{_ as rt}from"./wDZVkTnE.js";import"./DCQ3QdjI.js";const ct=p=>{const n=Object.create(null);for(const a in p){const r=p[a];r!==void 0&&(n[a]=r)}return n},fe=(p,n)=>(a,r)=>(Ve(()=>p(Y(Y({},ct(a)),r.attrs),r)),()=>{var F,x;return n?(x=(F=r.slots).default)==null?void 0:x.call(F):null}),ge={accesskey:String,autocapitalize:String,autofocus:{type:Boolean,default:void 0},class:[String,Object,Array],contenteditable:{type:Boolean,default:void 0},contextmenu:String,dir:String,draggable:{type:Boolean,default:void 0},enterkeyhint:String,exportparts:String,hidden:{type:Boolean,default:void 0},id:String,inputmode:String,is:String,itemid:String,itemprop:String,itemref:String,itemscope:String,itemtype:String,lang:String,nonce:String,part:String,slot:String,spellcheck:{type:Boolean,default:void 0},style:String,tabindex:String,title:String,translate:String},ut=P({name:"Link",inheritAttrs:!1,props:ne(Y({},ge),{as:String,crossorigin:String,disabled:Boolean,fetchpriority:String,href:String,hreflang:String,imagesizes:String,imagesrcset:String,integrity:String,media:String,prefetch:{type:Boolean,default:void 0},referrerpolicy:String,rel:String,sizes:String,title:String,type:String,methods:String,target:String,body:Boolean,renderPriority:[String,Number]}),setup:fe(p=>({link:[p]}))}),dt=P({name:"Meta",inheritAttrs:!1,props:ne(Y({},ge),{charset:String,content:String,httpEquiv:String,name:String,body:Boolean,renderPriority:[String,Number]}),setup:fe(p=>{const n=Y({},p);return n.httpEquiv&&(n["http-equiv"]=n.httpEquiv,delete n.httpEquiv),{meta:[n]}})}),ht=P({name:"Head",inheritAttrs:!1,setup:(p,n)=>()=>{var a,r;return(r=(a=n.slots).default)==null?void 0:r.call(a)}}),pt=P({name:"Html",inheritAttrs:!1,props:ne(Y({},ge),{manifest:String,version:String,xmlns:String,renderPriority:[String,Number]}),setup:fe(p=>({htmlAttrs:p}),!0)}),ft=P({name:"Body",inheritAttrs:!1,props:ne(Y({},ge),{renderPriority:[String,Number]}),setup:fe(p=>({bodyAttrs:p}),!0)}),gt={class:"flex h-[44px] justify-center text-center mobile:hidden"},_t={class:"hidden h-[72px] mobile:flex mobile:justify-center"},mt=P({__name:"topBanner",setup(p){const{locale:n}=te(),a=ee(()=>["zh","en","vn","ru","pt"].includes(n.value));return(r,F)=>{const x=ae,f=ie,c=ye("dot");return ue((e(),L(f,{id:"active_banner",class:"relative block min-h-[44px] cursor-pointer overflow-hidden bg-[#db2f18]",target:"_blank",to:("getClientRegUrl"in r?r.getClientRegUrl:t(ve))()},{default:T(()=>[s("div",gt,[t(a)?(e(),L(x,{key:0,src:`/dist/active/sale_${t(n)}.webp`,height:"44px",width:"100%",class:"h-full bg-center object-cover",placeholder:[2e3,44,0,0]},null,8,["src"])):t(n)==="tc"?(e(),L(x,{key:1,src:"/dist/active/sale_zh.webp",height:"44px",width:"100%",class:"h-full bg-center object-cover",placeholder:[2e3,44,0,0]})):(e(),L(x,{key:2,src:"/dist/active/sale_en.webp",height:"44px",width:"100%",class:"h-full bg-center object-cover",placeholder:[2e3,44,0,0]}))]),s("div",_t,[t(a)?(e(),L(x,{key:0,src:`/dist/active/sale_${t(n)}_mobile.webp`,height:"72px",width:"100%",class:"h-full bg-center object-cover",placeholder:[900,72,0,0]},null,8,["src"])):t(n)==="tc"?(e(),L(x,{key:1,src:"/dist/active/sale_zh_mobile.webp",height:"72px",width:"100%",class:"h-full bg-center object-cover",placeholder:[900,72,0,0]})):(e(),L(x,{key:2,src:"/dist/active/sale_en_mobile.webp",height:"72px",width:"100%",class:"h-full bg-center object-cover",placeholder:[900,72,0,0]}))])]),_:1},8,["to"])),[[c,{id:"sale_2024_1111_header"}]])}}}),wt={class:"flex items-center"},vt={class:"pb-[2px]"},bt=s("span",{class:"ml-1 whitespace-nowrap text-base"},"预约演示",-1),xt={class:"w-full bg-transparent"},yt=P({__name:"index",setup(p){const n=y(!1),a=()=>{Q()||(n.value=!0)},r=()=>{Q()||(n.value=!1)};return(F,x)=>{const f=re,c=ae;return e(),i("div",{class:"relative mr-3 cursor-pointer py-6 hover:text-[#004EFF]",onMouseenter:a,onMouseleave:r},[s("div",wt,[s("div",vt,[v(f,{name:"icon-16pt-qrcode",class:"h-4 w-4 text-black"})]),bt]),s("div",{class:A(`${t(n)?"max-h-[480px]":"max-h-0"} absolute left-1/2 top-[72px] z-30 w-[234px] -translate-x-1/2 overflow-hidden rounded-xl shadow-AFB3C433 transition-max-height`)},[ue(s("div",xt,[v(c,{src:"/dist/base/reserve_code.webp",width:"234px",height:"282px",class:"h-full bg-center object-cover",placeholder:[234,282,0,0]})],512),[[et,t(n)]])],2)],32)}}}),kt={class:"flex select-none items-center"},St={class:"ml-1 sm:hidden mobile:hidden"},$t={key:0,class:"w-full rounded-lg bg-white p-2"},ze=P({__name:"lang",setup(p){const{locale:n}=te(),a=y(!1),r=_=>_===n.value,F=()=>{a.value=!1},x=()=>{a.value=!1},f=()=>{Q()&&(a.value=!a.value)},c=()=>{Q()||(a.value=!0)},u=()=>{Q()||(a.value=!1)};return he(()=>{document.addEventListener("click",x)}),pe(()=>{document.removeEventListener("click",x)}),(_,k)=>{const R=re,O=ie;return e(),i("div",{class:"relative cursor-pointer py-4",onMouseenter:c,onMouseleave:u,onClick:U(f,["stop"])},[s("div",kt,[v(R,{name:"icon-24pt-language",class:"h-6 w-6 text-black"}),s("span",St,$(t(n).toUpperCase()),1)]),s("div",{class:A(`${t(a)?"max-h-[480px]":"max-h-0"} absolute right-0 top-[54px] z-30 w-[124px] overflow-hidden shadow-AFB3C433 transition-max-height lg:left-1/2 lg:-translate-x-1/2`)},[t(a)?(e(),i("div",$t,[(e(!0),i(j,null,G(t(Ue),S=>(e(),L(O,{key:S.value,class:A(`
                        flex h-8 w-full items-center rounded px-3
                        ${r(S.value)?"bg-[#E8EDFF]":"bg-transparent"}
                        ${r(S.value)?"text-[#1E4DFF] ":"text-[#333333]"}
                        hover:bg-[#E8EDFF] hover:text-[#1E4DFF]
                    `),to:("getFullRoute"in _?_.getFullRoute:t(Ne))(S.value),external:""},{default:T(()=>[s("div",{class:"flex h-full w-full items-center",onClick:F},$(S.text),1)]),_:2},1032,["class","to"]))),128))])):C("",!0)],2)],32)}}}),Ft={class:"absolute left-1/2 top-[120px] w-[352px] -translate-x-1/2 transform overflow-hidden rounded-xl bg-transparent transition-all"},Lt=P({__name:"modal",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(p,{emit:n}){const a=n,r=()=>{a("update:modelValue",!1)},F=x=>{document.body.clientWidth>768&&a("update:modelValue",!1)};return he(()=>ce(this,null,function*(){document.body.style.overflow="hidden",document.addEventListener("touchmove",()=>{},!1),window.addEventListener("resize",F)})),pe(()=>{document.body.style.overflow="",document.removeEventListener("touchmove",()=>{},!1),window.removeEventListener("resize",F)}),(x,f)=>{const c=re,u=ae;return e(),i("div",{class:"fixed left-0 top-0 z-modal h-screen w-screen","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",onClick:f[1]||(f[1]=U(()=>{},["stop"]))},[s("div",{class:"fixed inset-0 bg-black bg-opacity-40 transition-opacity",onClick:f[0]||(f[0]=U(()=>{},["stop"]))}),s("div",Ft,[v(c,{name:"icon-24pt-close",class:"absolute right-9 top-8 z-10 h-6 w-6 text-[#D9DEF9]",onClick:U(r,["stop"])}),v(u,{src:"/dist/base/reserve_code_mobile.webp",height:"452px",width:"352px",class:"h-full bg-center object-cover",placeholder:[352,452,0,0]})])])}}}),Ct={key:0},Tt={key:0,class:"nav_bg"},Et=["onClick"],Bt=["data-nav"],At={class:"line-clamp-1 overflow-ellipsis"},Nt={key:1,class:"h-full w-full flex-1 sm1:hidden"},jt={class:"flex h-full w-full items-center"},Mt={key:0,class:"flex h-full w-full items-center"},It=["onMouseenter","onMouseleave"],Rt={key:1,class:"z-20 flex h-full w-full items-center justify-center"},zt={class:"relative flex h-full w-full flex-1 items-center justify-center"},Gt={class:"flex items-center"},Ht={class:"flex h-full items-center"},Pt={key:2},Ot=P({__name:"navbar",props:{isMobile:{type:Boolean,default:!1}},setup(p){return ce(this,null,function*(){let n,a;const r=tt().appContext.config.globalProperties,F=le(),x=p,{locale:f}=te(),c=Se(),{data:u}=([n,a]=Re(()=>je("home/category",{method:"get",query:{lang:f.value,type:"navbar"}}).catch(()=>({data:y({})}))),n=yield n,a(),n),_=y(u.value.data),k=ee(()=>{if(_.value&&_.value.sub_item&&_.value.sub_item.length!==0){const o={title:r.$t("features"),name:"features",type:"parent",children:[],isShow:y(!1)},g={title:r.$t("solutions"),name:"solutions",type:"parent",children:[],isShow:y(!1)},b={title:r.$t("academy"),name:"academy",type:"parent",children:[],isShow:y(!1)};let z={};_.value.sub_item.forEach(w=>{w.type==="NAVBAR_PRICING"&&(z=w),Ce.includes(w.type)&&(["NAVBAR_CHAT_GROUP","NAVBAR_PRE_SALES"].includes(w.type)?_e()?w.type==="NAVBAR_PRE_SALES"&&b.children.push(Object.assign({},w,{nav_icon:w.type})):w.type==="NAVBAR_CHAT_GROUP"&&b.children.push(Object.assign({},w,{nav_icon:w.type})):["NAVBAR_PROXY"].includes(w.type)?["zh","en"].includes(f.value)&&b.children.push(Object.assign({},w,{nav_icon:w.type})):b.children.push(Object.assign({},w,{nav_icon:w.type}))),Te.includes(w.type)&&o.children.push(Object.assign({},w,{nav_icon:w.type})),Ee.includes(w.type)&&(_e()&&["NAVBAR_SOLUTIONS_CRYPTO_V2","NAVBAR_SOLUTIONS_BETTING_V2","NAVBAR_SOLUTIONS_DISCORD"].includes(w.type)||g.children.push(Object.assign({},w,{nav_icon:w.type})))});let H=[];return Ce.forEach(w=>{const d=b.children.find(B=>B.type===w);d&&H.push(d)}),b.children=H,H=[],Te.forEach(w=>{const d=o.children.find(B=>B.type===w);d&&H.push(d)}),o.children=H,H=[],Ee.forEach(w=>{const d=g.children.find(B=>B.type===w);d&&H.push(d)}),g.children=H,H=[],[o,g,b,z]}return[]}),R=o=>o.target==="inner"?/^[http|https]/g.test(o.link)?o.link:c(o.link):o.link?o.link:"",O=o=>K.value||[c("/")].includes(o)?F.path===o:/\/$/.test(o)?F.path.startsWith(o.slice(0,-1)):F.path.startsWith(o),S=o=>{const g=R(o);return g?O(g):o.children?o.children.some(b=>O(R(b))):!1},K=ee(()=>[c("/")].includes(F.path)),E=y([]),q=y(),D=y(),se=o=>{D.value&&clearTimeout(D.value),q.value=setTimeout(()=>{k.value&&k.value.length&&k.value.forEach(g=>{g.isShow&&(g.isShow.value=!1)}),o.children&&o.children.length&&(o.isShow.value=!0,E.value=o.children)},200)},X=o=>{q.value&&clearTimeout(q.value),D.value=setTimeout(()=>{k.value&&k.value.length&&k.value.forEach(g=>{g.isShow&&(g.isShow.value=!1)}),E.value=[]},200)},m=ee(()=>[...k.value,f.value==="zh"&&{title:"预约演示",type:"custom"},{title:r.$t("download"),link:"/download",target:"inner"},{title:r.$t("login"),link:Be(),target:"blank"},{title:r.$t("signUp"),link:ve(),target:"blank"}]),M=o=>{o.isShow&&o.isShow.value?o.isShow.value=!1:(m.value.forEach(g=>{g.isShow&&(g.isShow.value=!1)}),o.isShow.value=!0)},I=o=>{if(o.isShow&&o.isShow.value){const g=document.querySelector(`ul[data-nav="nav_${o.name}"]`);return g&&g.clientHeight?`max-height: ${g.clientHeight}px;`:"max-height: 720px;"}else return"max-height: 0px;"},V=y(!1),l=()=>{setTimeout(()=>{V.value=!0},500)};return(o,g)=>{const b=ie,z=re,H=yt,w=ze,d=Lt,B=ye("dot"),W=ye("mouseTooltip");return e(),i(j,null,[x.isMobile?(e(),i("div",Ct,[t(m)&&t(m).length?(e(),i("nav",Tt,[(e(!0),i(j,null,G(t(m),h=>(e(),i("div",{key:h.title,class:"w-full cursor-pointer whitespace-nowrap border-b border-solid border-[#0000000A] text-base"},[h.type&&h.type==="custom"?(e(),i("div",{key:0,class:"flex h-[56px] w-full items-center px-3",onClick:l},$(h.title),1)):h.link?(e(),L(b,{key:1,to:R(h),target:h.target==="blank"?"_blank":"",rel:h.target==="blank"?"nofollow":"follow",class:A(`flex h-[56px] w-full items-center px-3 ${S(h)?"text-[#004EFF]":""}`)},{default:T(()=>[J($(h.title),1)]),_:2},1032,["to","target","rel","class"])):h.title?(e(),i("div",{key:2,class:A(`flex h-[56px] w-full items-center justify-between px-3 ${S(h)&&h.name!=="lang"?"text-[#004EFF]":""}`),onClick:U(N=>M(h),["stop"])},[J($(h.title)+" ",1),v(z,{name:"icon_arrow_right",class:A(`${h.isShow&&h.isShow.value?"-rotate-90":"rotate-90"} h-4 w-4 transform transition-transform`)},null,8,["class"])],10,Et)):C("",!0),s("div",{class:"w-full overflow-hidden bg-white text-sm transition-max-height ease-in-out",style:de(I(h))},[s("ul",{"data-nav":`nav_${h.name}`},[(e(!0),i(j,null,G(h.children,N=>(e(),i("li",{key:N.title},[v(b,{class:A(`flex h-[72px] w-full items-center pl-10 font-normal ${S(N)&&h.name!=="lang"?"bg-[#E3E9FF9E]":""}`),rel:N.target==="blank"?"nofollow":"follow",target:N.target==="blank"?"_blank":"",to:R(N)},{default:T(()=>[v(z,{name:N.nav_icon||"icon-nav-ticket",class:"mr-3 h-12 w-12 text-transparent"},null,8,["name"]),s("div",At,$(N.title),1)]),_:2},1032,["class","rel","target","to"])]))),128))],8,Bt)],4)]))),128))])):C("",!0)])):(e(),i("div",Nt,[s("nav",jt,[t(k)&&t(k).length?(e(),i("div",Mt,[(e(!0),i(j,null,G(t(k),h=>(e(),i("div",{key:h.title,class:A(`group/nav mr-6 flex h-full w-fit max-w-[115px] cursor-pointer items-center justify-center text-base ${S(h)?"text-[#004EFF]":""} relative hover:text-[#004EFF]`),onMouseenter:N=>se(h),onMouseleave:N=>X()},[h.link?(e(),L(b,{key:0,to:R(h),rel:h.target==="blank"?"nofollow":"",target:h.target==="blank"?"_blank":"",class:"relative z-20 flex h-full w-full items-center justify-center hover:text-inherit"},{default:T(()=>[s("span",null,$(h.title),1)]),_:2},1032,["to","rel","target"])):(e(),i("div",Rt,[s("div",zt,[s("span",null,$(h.title),1)]),v(z,{name:"icon_arrow_right",class:"ml-1 h-4 w-4 rotate-90 transition-transform"})])),s("div",{class:A(`${h.isShow&&h.isShow.value?"block":"hidden"} absolute left-0 top-full h-3 w-full bg-transparent`)},null,2),h.isShow&&h.isShow.value?(e(),i("div",{key:2,class:A(`${h.isShow&&h.isShow.value?"scale-y-100":"scale-y-0"} absolute left-0 top-full -z-20 origin-top scale-x-100 overflow-hidden rounded-b-lg bg-white shadow-AFB3C433 transition-all duration-200 ease-in-out`)},[s("div",{class:A(`grid w-max gap-2 p-6 grid-cols-${Math.ceil(t(E).length/5)}`)},[(e(!0),i(j,null,G(t(E),N=>(e(),L(b,{key:N.title,rel:N.target==="blank"?"nofollow":"",class:A(`group/menu flex w-[285px] items-center justify-between rounded-xl px-6 py-4 hover:bg-[#F4F6FF] hover:text-[#A5B8FF] ${S(N)?"bg-[#F4F6FF] text-[#A5B8FF]":"text-[#CBCCD1]"}`),to:R(N),target:N.target==="blank"?"_blank":"",onClick:U(zs=>X(),["stop"])},{default:T(()=>[s("div",Gt,[v(z,{name:N.nav_icon||"icon-nav-ticket",class:"mr-3 h-12 w-12 text-[#1E4DFF]",filled:""},null,8,["name"]),s("div",{class:A(`w-40 group-hover/menu:text-[#1E4DFF] ${S(N)?"text-[#1E4DFF]":"text-[#1F2542]"}`)},$(N.title),3)]),v(z,{name:"icon_arrow_right",class:"h-4 w-4 text-transparent",filled:""})]),_:2},1032,["rel","class","to","target","onClick"]))),128))],2)],2)):C("",!0)],42,It))),128))])):C("",!0),s("div",Ht,[t(f)==="zh"?(e(),L(H,{key:0})):C("",!0),v(b,{class:A(`mr-3 flex h-full items-center justify-center whitespace-nowrap text-base ${S({target:"inner",link:"/download"})?"text-[#004EFF]":""} hover:text-[#004EFF]`),to:t(c)("/download"),rel:"follow"},{default:T(()=>[J($(o.$t("download")),1)]),_:1},8,["class","to"]),ue((e(),L(b,{class:"mr-3 flex h-full items-center justify-center whitespace-nowrap text-base hover:text-[#004EFF]",to:("getClientLoginUrl"in o?o.getClientLoginUrl:t(Be))(),target:"_blank",rel:"nofollow"},{default:T(()=>[J($(o.$t("login")),1)]),_:1},8,["to"])),[[B,{id:"HeaderSignIn",name:o.$t("login")}]]),ue((e(),L(b,{class:"mr-3 flex h-[30px] items-center justify-center whitespace-nowrap rounded-md bg-[#2E6EFF] px-3 text-base font-medium text-white hover:bg-[#0049C8] sm1:hidden",target:"_blank",rel:"nofollow",to:("getClientRegUrl"in o?o.getClientRegUrl:t(ve))()},{default:T(()=>[J($(o.$t("signUp")),1)]),_:1},8,["to"])),[[W,("isCN"in o?o.isCN:t(_e))()?"":o.$t("signTips")],[B,{id:"HeaderSignUp",name:o.$t("signUp")}]]),v(w)])])])),t(V)?(e(),i("div",Pt,[v(d,{modelValue:t(V),"onUpdate:modelValue":g[0]||(g[0]=h=>st(V)?V.value=h:null)},null,8,["modelValue"])])):C("",!0)],64)}})}}),Dt=it(Ot,[["__scopeId","data-v-a42def55"]]),Vt=p=>{},Ut={key:0,class:"h-auto w-full bg-[#E8EDFF] py-[2px] text-xs mobile_s:hidden"},qt={class:"m-center w-full px-5 text-center lg:w-[1200px] lg:px-0"},Wt={key:1,class:"h-auto w-full bg-[#FDEEEC] py-3 text-xs"},Kt={class:"m-center w-full px-5 text-center lg:w-[1200px] lg:px-0"},Xt={class:"relative z-10 flex h-full w-full items-center justify-between bg-white lg:w-[1200px]"},Jt={class:"mr-14 h-[72px] sm1:mr-4 sm1:h-[52px]"},Yt={class:"ml-5 hidden items-center sm1:flex"},Qt={class:"overflow-y-auto bg-white shadow-A0A4B133-24"},Zt=s("div",{id:"google-one-tap-id",class:"absolute -bottom-0 right-[390px] h-0 w-0"},null,-1),es=P({__name:"header",setup(p){const{locale:n,defaultLocale:a,locales:r}=te(),F=Se(),x=y(null),f=le(),c=y(),u=()=>{x.value&&(c.value=Math.round(x.value.clientHeight));const m=document.getElementById("main_banner");if(m){let M=document.body.clientHeight;x.value&&(M=M-c.value);const I=document.getElementById("active_banner");I&&(M=M-I.clientHeight),m.style.height=`${M}px`}Vt(document.documentElement.clientWidth)},_=y(!1),k=()=>{k(),_.value=Ae(),window.location.reload()},R=be(),O=ee(()=>R(f)==="index"),S=y(!1),K=()=>{S.value=!S.value,S.value?document.body.style.overflow="hidden":document.body.style.overflow="auto"},E=y(!0),q=y(!0),D=y(a),se=()=>{q.value=!0,Me("do_not_show",1)},X=m=>{switch(D.value){case"en":switch(m){case"switchLangTips":return"Switch to another language for easier browsing.";case"switchLang":return"Switch to English";case"notShow":return"Do not show again"}break;case"zh":switch(m){case"switchLangTips":return"更换另一个语言,以方便您浏览相关信息。";case"switchLang":return"更换为简体中文";case"notShow":return"不再显示"}break;case"ru":switch(m){case"switchLangTips":return"Перейдите на другой язык для более удобной работы с сайтом.";case"switchLang":return"Перейти на рус. язык";case"notShow":return"Больше не показать"}break;case"vn":switch(m){case"switchLangTips":return"Thay đổi sang ngôn ngữ khác để giúp bạn duyệt thông tin liên quan dễ dàng hơn.";case"switchLang":return"Đổi sang tiếng Việt";case"notShow":return"Không hiển thị trở lại"}break;case"es":switch(m){case"switchLangTips":return"Cambia de idioma para facilitar la navegación.";case"switchLang":return"Cambiar al español";case"notShow":return"No volver a mostrar"}break;case"pt":switch(m){case"switchLangTips":return"Mude para outro idioma para uma navegação mais fácil.";case"switchLang":return"Mudar para o português";case"notShow":return"Não mostrar novamente"}break;case"tc":switch(m){case"switchLangTips":return"更換另一個語言,以方便您瀏覽相關信息。";case"switchLang":return"更換為繁體中文";case"notShow":return"不再顯示"}break;case"tr":switch(m){case"switchLangTips":return"Daha kolay gezinmek için başka bir dile geçin.";case"switchLang":return"Türkçe diline geç";case"notShow":return"Tekrar gösterme"}break;case"th":switch(m){case"switchLangTips":return"เปลี่ยนไปใช้ภาษาอื่นเพื่อการเรียกดูที่ง่ายขึ้น";case"switchLang":return"เปลี่ยนเป็นภาษาไทย";case"notShow":return"ไม่แสดงอีกครั้ง"}break;case"fr":switch(m){case"switchLangTips":return"Passez à une autre langue pour une navigation plus facile.";case"switchLang":return"Passer à français";case"notShow":return"Ne pas montrer de nouveau"}break;case"uk":switch(m){case"switchLangTips":return"Переключіться на іншу мову для зручнішого перегляду.";case"switchLang":return"Перейти на українську мову";case"notShow":return"НЕ показувати знову"}break;case"hi":switch(m){case"switchLangTips":return"आसान ब्राउज़िंग के लिए दूसरी भाषा में स्विच करें।";case"switchLang":return"हिंदी पर स्विच करें";case"notShow":return"दोबारा न दिखाएं"}break;case"jp":switch(m){case"switchLangTips":return"ブラウジングしやすいように別の言語に切り替えてください。";case"switchLang":return"日本語に切り替える";case"notShow":return"再び表示しない"}break;case"ko":switch(m){case"switchLangTips":return"더 쉽게 탐색하려면 다른 언어로 전환하세요.";case"switchLang":return"한국어로 전환";case"notShow":return"다시 표시하지 않습니다"}break}};return oe(()=>$e(),()=>{setTimeout(()=>{_.value=Ae()},1e3)}),oe(()=>[_.value,O.value,q.value,E.value],()=>{ke(()=>{u()})}),oe(()=>n.value,()=>{var m;if(!xe("do_not_show")){const M=navigator.language.split("-");D.value=((m=r.value.find(I=>{var V,l,o,g;if(((V=I.language)==null?void 0:V.toLocaleLowerCase())===((l=navigator.language)==null?void 0:l.toLocaleLowerCase())||((o=I.value)==null?void 0:o.toLocaleLowerCase())===((g=M[0])==null?void 0:g.toLocaleLowerCase()))return I}))==null?void 0:m.code)||a,q.value=D.value===n.value}},{immediate:!0}),nt(()=>{window.addEventListener("resize",u)}),he(()=>{E.value=!!xe("do_not_show_adspower_tips"),ke(()=>{u()})}),pe(()=>{window.removeEventListener("resize",u)}),(m,M)=>{const I=ie,V=at,l=mt,o=ae,g=Dt,b=ze;return e(),i(j,null,[s("div",{id:"header_tips",ref_key:"headerTipsRef",ref:x,class:"fixed top-0 z-50 w-full"},[v(V,null,{default:T(()=>[t(q)?C("",!0):(e(),i("div",Ut,[s("div",qt,[s("span",null,$(X("switchLangTips")),1),v(I,{class:"ml-[6px] inline-flex h-5 cursor-pointer items-center justify-center rounded bg-[#1F2542] px-3 text-white",to:("getFullRoute"in m?m.getFullRoute:t(Ne))(t(D)),prefetch:"",external:""},{default:T(()=>[J($(X("switchLang")),1)]),_:1},8,["to"]),s("button",{class:"ml-5 cursor-pointer text-[#8F92A0] underline",onClick:U(se,["stop"])},$(X("notShow")),1)])])),t(_)?(e(),i("div",Wt,[s("div",Kt,[s("span",null,$(m.$t("useGoogleTranslateTips")),1),s("button",{class:"ml-5 cursor-pointer text-[#8F92A0] underline",onClick:U(k,["stop"])},$(m.$t("cancelGoogleTranslate")),1)])])):C("",!0)]),_:1}),v(l)],512),s("div",{class:"w-full bg-transparent",style:de(`height: ${t(c)}px;`)},null,4),s("header",{id:"header_nav",class:"sticky z-header -mb-[72px] flex h-[72px] justify-center bg-white px-3 lg:px-0 sm1:-mb-[52px] sm1:h-[52px]",style:de(`top: ${t(c)}px;box-shadow: 0px -3px 22px 0px rgba(0, 0, 0, 0.10);`)},[s("div",Xt,[s("div",Jt,[v(I,{to:t(F)("/"),prefetch:"",rel:"follow",class:"block h-full"},{default:T(()=>[v(o,{class:"h-[72px] sm1:h-[52px] sm1:w-[138px]",src:"/dist/logo_dark.png",height:"72",width:"191",placeholder:"/dist/logo_dark.png",loading:"eager",alt:"AdsPower"})]),_:1},8,["to"])]),v(g),s("div",Yt,[v(b),s("div",{class:"relative ml-2 h-6 w-6 cursor-pointer flex-col items-center justify-center bg-transparent sm1:flex",onClick:U(K,["stop"])},[s("p",{class:A(`absolute h-[2px] w-4 transform rounded bg-black transition-all ${t(S)?"rotate-45":"top-1 rotate-0"}`)},null,2),s("p",{class:A(`absolute h-[2px] w-4 transform rounded bg-black transition-all ${t(S)?"hidden":"block"}`)},null,2),s("p",{class:A(`absolute h-[2px] w-4 transform rounded bg-black transition-all ${t(S)?"-rotate-45":"bottom-1 -rotate-0"}`)},null,2)])])]),s("div",{class:A(`no-scrollbar absolute top-[52px] hidden w-full overflow-x-hidden bg-transparent sm1:block ${t(S)?"-mb-[52px] h-screen -translate-y-[52px] pt-[52px]":"h-0"} text-[#1F2542] transition-all`),onClick:U(K,["stop"])},[s("div",Qt,[v(g,{isMobile:!0})])],2),Zt],4)],64)}}});class ts{googleTranslateElementInit(){const n=new window.google.translate.TranslateElement({pageLanguage:"en",autoDisplay:!1},"google_translate_element");n&&setTimeout(()=>{n.ba==="auto"&&(qe(),Ie(!$e()))},200)}loadGoogleTranslate(){if(!document.getElementById("my_google_translate")){window.googleTranslateElementInit=this.googleTranslateElementInit;const a=document.createElement("script");a.async=!0,a.src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit",document.head.append(a)}}}const ss=new ts,ns={class:"min-h-[284px] w-full bg-[#000343] px-3 pt-20 lg:px-0 ss:hidden"},os={class:"m-center flex justify-between lg:w-[1200px]"},ls={class:"mr-[144px]"},as={class:"w-[232px]"},is={class:"flex w-full items-center"},rs={key:0,class:"mt-3 grid grid-cols-auto-34px gap-x-3 gap-y-4"},cs={key:1,class:"mt-8 h-8 w-[184px] overflow-hidden"},us=s("div",{id:"google_translate_element"},null,-1),ds=[us],hs={class:"flex flex-1 flex-wrap gap-10 pb-10"},ps={class:"mb-6 line-clamp-1 overflow-ellipsis text-lg font-semibold text-white"},fs={class:"hidden w-full bg-[#000343] px-5 pb-10 ss:block"},gs={class:"pt-6"},_s={class:"flex w-full items-center"},ms={class:"py-3"},ws=["onClick"],vs=["data-nav"],bs={key:0,class:"mt-5 grid grid-cols-auto-34px gap-x-3 gap-y-4"},xs={key:1,class:"mt-5 h-8 w-[184px] overflow-hidden"},ys=s("div",{id:"google_translate_element"},null,-1),ks=[ys],Ss={class:"w-full bg-[#000343]"},$s={class:"flex items-center justify-between border-t border-solid border-[#FFFFFF14] py-4 lg:w-[1200px] lg:px-0 sm2:m-center sm2:h-full sm2:px-5 mobile:flex-col"},Fs={key:0,class:"flex h-full flex-1 flex-wrap items-center mobile:justify-center"},Ls=ot('<div class="mr-4 break-words text-center text-xs text-white opacity-40">版权所有© 广州树熊考拉信息科技有限公司</div><div class="mr-4 break-words text-xs"><p style="font-size:16px;color:#6b6b6b;"><span style="font-size:8pt;" class="sm2:mr-4">|</span><span style="color:#6b6b6b;"><a style="font-size:16px;color:#6b6b6b;" href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow noopener"><span style="font-size:8pt;">粤ICP备2021015502号</span></a></span></p></div>',2),Cs=[Ls],Ts={key:1,class:"flex h-full flex-1 flex-wrap items-center mobile:justify-center"},Es={key:0,class:"mr-4 break-words text-center text-xs text-white opacity-40"},Bs=["innerHTML"],As={key:2,class:"flex gap-x-2 mobile:mt-2 mobile_s:flex-col"},Ns={key:0,class:"fixed bottom-0 z-50 h-auto w-full bg-[#F0F9EB] py-3 text-xs"},js={class:"m-center flex w-[80%] items-center justify-between px-5 lg:px-0 mobile:w-full mobile:flex-col"},Ms={class:"mobile:mb-4"},Is=P({__name:"footer",setup(p){return ce(this,null,function*(){let n,a;const r=Se(),{locale:F}=te(),{data:x}=([n,a]=Re(()=>je("home/category",{method:"get",query:{lang:F.value,type:"bottom_info"}}).catch(()=>({data:y({})}))),n=yield n,a(),n),f=y(x.value.data),c=y([]),u=y([]),_=y([]),k=()=>window.location.hostname,R=()=>{f.value&&f.value.sub_item&&(c.value=[],_.value=[],u.value=[],f.value.sub_item.forEach(l=>{if(We(l.ext))try{l.ext=JSON.parse(l.ext)}catch(o){l.ext=[]}l.type==="BOTTOM_CATEGORY"&&(l.type_key==="footer"?u.value.push(Object.assign({},l,{show:!1})):c.value.push(Object.assign({},l,{show:!1}))),l.type==="BOTTOM_ICONS"&&_.value.push(l)}))};R();const O=l=>/^[http|https]/g.test(l.link)?l.link:r(l.link),S=le();oe(()=>S.fullPath,()=>{R()});const K=y(),E=l=>{l.show?l.show=!1:(c.value.forEach(o=>o.show=!1),l.show=!0)},q=l=>{if(l.show&&l.ext){const o=document.querySelector(`ul[data-nav="nav_footer_${l.id}"]`);return o&&o.clientHeight?`max-height: ${o.clientHeight+40}px;`:"max-height: 120px;"}else return"max-height: 0px;"},D=y(!0),se=()=>{D.value=!0,Me("cookiePolicy",1)},X=()=>{Ie(!$e())},m=y(!1),M=y(),I=y(),V=()=>{ke(()=>{Ke("https://api.adspower.net/sys/config/ip/get-visitor-ip","$enGAEfH3EX").then(({data:l})=>{if(l.value.data&&l.value.data.ip_data){const{$dot:o,$i18n:g}=Xe(),b=l.value.data.ip_data;o.set({user_info:JSON.stringify({country:b.country,city:b.city,region:b.region,locale:g.locale.value})}),l.value.data.ip_data.country!=="cn"&&(ss.loadGoogleTranslate(),m.value=!0,M.value=Je(()=>{const z=document.getElementsByClassName("goog-te-combo");z&&z[0]&&(clearInterval(M.value),z[0].onchange=X,X())},500),I.value=setTimeout(()=>{clearTimeout(I.value),M.value&&clearInterval(M.value)},1e3*60*2))}}).catch(l=>{Ye.error({error_msg:l,trigger:"api error",file:"footer",postion:"getVisitorIp"})})})};return he(()=>{V(),D.value=!!xe("cookiePolicy")}),pe(()=>{M.value&&clearInterval(M.value),I.value&&clearTimeout(I.value),K.value&&clearTimeout(K.value)}),(l,o)=>{var w;const g=ae,b=ie,z=re,H=rt;return e(),i(j,null,[s("footer",null,[s("div",ns,[s("div",os,[s("div",ls,[s("div",as,[s("div",is,[v(b,{to:t(r)("/"),rel:"follow",class:"flex h-[88px] w-[232px]"},{default:T(()=>[v(g,{class:"h-full w-full",src:"/dist/logo_light.png",height:"88px",width:"232px",placeholder:[232,88,0,0],alt:"AdsPower"})]),_:1},8,["to"])]),t(_)[0]&&t(_)[0].ext?(e(),i("div",rs,[(e(!0),i(j,null,G(t(_)[0].ext,d=>(e(),L(b,{key:d.link,rel:"nofollow",target:d.target,href:d.link,class:"flex h-[34px] w-[34px] cursor-pointer items-center justify-center overflow-hidden rounded-lg bg-[#FFFFFF21]"},{default:T(()=>[v(g,{class:"h-4 w-4 object-cover",width:"16px",height:"16px",src:d.img_url,placeholder:[16,16,0,0],alt:d.link},null,8,["src","alt"])]),_:2},1032,["target","href"]))),128))])):C("",!0),t(m)&&!("isMobile"in l?l.isMobile:t(Q))()?(e(),i("div",cs,ds)):C("",!0)])]),s("div",hs,[(e(!0),i(j,null,G(t(c),(d,B)=>(e(),i("ul",{key:d.id,class:A(`max-w-[274px] ${t(F)==="ru"&&B===0?"w-[120px]":""}`)},[s("li",ps,[s("h4",null,$(d.title),1)]),d.ext?(e(!0),i(j,{key:0},G(d.ext,W=>(e(),i("li",{key:W.title},[W.link&&W.title?(e(),L(b,{key:0,class:"mt-4 block cursor-pointer break-words text-white opacity-70 hover:opacity-100",href:O(W),rel:W.target==="_blank"?"nofollow":"",title:W.title,target:W.target==="_blank"?"_blank":""},{default:T(()=>[J($(W.title),1)]),_:2},1032,["href","rel","title","target"])):C("",!0)]))),128)):C("",!0)],2))),128))])])]),s("div",fs,[s("div",gs,[s("div",_s,[v(b,{to:t(r)("/"),rel:"follow",class:"flex h-[88px] w-[232px]"},{default:T(()=>[v(g,{class:"h-full w-full",src:"/dist/logo_light.png",height:"88px",width:"232px",placeholder:[232,88,0,0],alt:"AdsPower"})]),_:1},8,["to"])])]),s("div",ms,[(e(!0),i(j,null,G(t(c),d=>(e(),i("div",{key:d.id,class:"border-b border-solid border-[#FFFFFF1C]"},[s("div",{class:"flex h-[60px] cursor-pointer items-center justify-between text-lg font-semibold text-white",onClick:U(B=>E(d),["stop"])},[s("h4",null,$(d.title),1),v(z,{name:"icon-24pt-arrow-up-outline",class:A(`${d.show?"rotate-180":"rotate-0"} h-6 w-6 transform transition-transform`),filled:""},null,8,["class"])],8,ws),s("div",{class:"overflow-hidden transition-max-height duration-300 ease-in-out",style:de(q(d))},[s("ul",{class:"pb-5","data-nav":`nav_footer_${d.id}`},[(e(!0),i(j,null,G(d.ext,B=>(e(),i("li",{key:B.title},[B.link&&B.title?(e(),L(b,{key:0,class:"flex min-h-[30px] items-center break-words py-[4px] text-white opacity-70 hover:opacity-100",href:O(B),rel:B.target==="_blank"?"nofollow":"follow",title:B.title,target:B.target==="_blank"?"_blank":""},{default:T(()=>[J($(B.title),1)]),_:2},1032,["href","rel","title","target"])):C("",!0)]))),128))],8,vs)],4)]))),128))]),t(_)[0]&&t(_)[0].ext?(e(),i("div",bs,[(e(!0),i(j,null,G(t(_)[0].ext,d=>(e(),L(b,{key:d.link,rel:"nofollow",target:d.target,href:d.link,class:"flex h-[34px] w-[34px] cursor-pointer items-center justify-center overflow-hidden rounded-lg bg-[#FFFFFF21]"},{default:T(()=>[v(g,{class:"h-4 w-4 object-cover",width:"16px",height:"16px",src:d.img_url,placeholder:[16,16,0,0],alt:d.link},null,8,["src","alt"])]),_:2},1032,["target","href"]))),128))])):C("",!0),t(m)&&("isMobile"in l?l.isMobile:t(Q))()?(e(),i("div",xs,ks)):C("",!0)]),s("div",Ss,[s("div",$s,[(w=k())!=null&&w.includes("www.adspower.com.cn")?(e(),i("div",Fs,Cs)):(e(),i("div",Ts,[("useGetBaseInfo"in l?l.useGetBaseInfo:t(Z))()&&("useGetBaseInfo"in l?l.useGetBaseInfo:t(Z))().copyright?(e(),i("div",Es,$(("useGetBaseInfo"in l?l.useGetBaseInfo:t(Z))().copyright),1)):C("",!0),("useGetBaseInfo"in l?l.useGetBaseInfo:t(Z))()&&("useGetBaseInfo"in l?l.useGetBaseInfo:t(Z))().icp?(e(),i("div",{key:1,class:"mr-4 break-words text-xs",innerHTML:("useGetBaseInfo"in l?l.useGetBaseInfo:t(Z))().icp},null,8,Bs)):C("",!0)])),t(u)&&t(u)[0]&&t(u)[0].ext?(e(),i("ul",As,[(e(!0),i(j,null,G(t(u)[0].ext,d=>(e(),i("li",{key:d.title,class:"block cursor-pointer break-words text-white opacity-70 hover:opacity-100"},[d.link&&d.title?(e(),L(b,{key:0,class:"flex min-h-[30px] items-center justify-center break-words py-[4px] text-white opacity-70 hover:opacity-100",href:O(d),rel:d.target==="_blank"?"nofollow":"follow",title:d.title,target:d.target==="_blank"?"_blank":""},{default:T(()=>[J($(d.title),1)]),_:2},1032,["href","rel","title","target"])):C("",!0)]))),128))])):C("",!0)])])]),t(D)?C("",!0):(e(),i("div",Ns,[s("div",js,[s("div",Ms,[s("div",null,$(l.$t("cookieAccept")),1),v(H,{html:l.$t("cookieAccept2")},null,8,["html"])]),s("button",{class:"flex h-7 items-center justify-center whitespace-nowrap rounded bg-[#A0D911] px-4 text-white",onClick:se},$(l.$t("accept")),1)])]))],64)}})}}),Rs={class:"min-h-screen flex-1 pt-[72px] sm1:pt-[52px]"},qs=P({__name:"default",setup(p){const{locale:n}=te(),a=Qe(),r=Ze({addDirAttribute:!0,addSeoAttributes:!0});oe(()=>[n.value,a.currentRoute.value],()=>{if(r.value.link&&r.value.link.length){if(r.value.link=r.value.link.map(c=>(c.href&&c.href.includes("http://")&&(c.href=c.href.replace("http://","https://")),c)),n.value==="zh"){const c=r.value.link.find(u=>u.hreflang==="zh");if(c){const u=r.value.link.find(k=>k.rel==="canonical");u?u.href=c.href:r.value.link.push({href:c.href,rel:"canonical"});const _=r.value.meta.find(k=>k.property==="og:url");_?_.content=c.href:r.value.meta.push({content:c.href,property:"og:url"})}}const f=r.value.link.find(c=>c.hreflang==="en");!r.value.link.some(c=>c.hreflang==="x-default")&&f&&r.value.link.push({href:f.href,rel:"alternate",hreflang:"x-default"})}},{immediate:!0});const F=ee(()=>{const f=be(),c=le(),u=f(c);return u?["blog-id","news-id","lang-news-id","lang-blog-id","blog-category-tags","news-category-tags"].includes(u):!1}),x=f=>{if(!f)return;if(F.value)return!0;const c=be(),u=le(),_=c(u);if(_&&["solutions-id","lang-solutions-id","alternatives-id","lang-alternatives-id"].includes(_)&&u.params&&u.params.id&&typeof u.params.id=="string"){let k=f.split("-")[0];if(f==="zh-TW"&&(k="tc"),me[u.params.id]&&!me[u.params.id].lang.includes(k))return!(f==="x-default"&&me[u.params.id].lang.includes("en"));if(we[u.params.id]&&!we[u.params.id].lang.includes(k))return!(f==="x-default"&&we[u.params.id].lang.includes("en"))}return!1};return(f,c)=>{const u=ut,_=dt,k=ht,R=es,O=Is,S=ft,K=pt;return e(),i("div",null,[v(K,{lang:t(r).htmlAttrs.lang,dir:t(r).htmlAttrs.dir},{default:T(()=>[v(k,null,{default:T(()=>[(e(!0),i(j,null,G(t(r).link,E=>(e(),i(j,{key:E.id},[x(E.hreflang)?C("",!0):(e(),L(u,{key:0,id:E.id,rel:E.rel,href:E.href,hreflang:E.hreflang},null,8,["id","rel","href","hreflang"]))],64))),128)),(e(!0),i(j,null,G(t(r).meta,E=>(e(),L(_,{key:E.id,id:E.id,property:E.property,content:E.content},null,8,["id","property","content"]))),128))]),_:1}),v(S,{class:"flex flex-col lg:overflow-x-hidden"},{default:T(()=>[(e(),L(R,{key:t(n)})),s("main",Rs,[lt(f.$slots,"default")]),(e(),L(O,{key:t(n)}))]),_:3})]),_:3},8,["lang","dir"])])}}});export{qs as default};