import{_ as ne}from"./SvgIcon.a998a56e.js";import{d as ie,H as ce,u as pe,J as ue,x as de,r as f,i as g,y as W,L as F,h as me,o as a,c as l,l as B,m as O,e as t,j as T,b as s,a5 as $,t as p,F as b,B as C,I as z,f as he,N as fe,C as ge,D as P,n as x,k as ye,p as ve,g as _e,aH as ke,s as Ae,_ as be}from"./entry.28e2c80f.js";import"./base.279d2a42.js";import{E as Ce,a as we}from"./el-collapse-item.e6ada664.js";import"./typescript.defaf979.js";import"./event.9519ab40.js";import"./castArray.e193758c.js";import"./isArray.513c67aa.js";import"./rand.14326ce1.js";const Ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQ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5LvltLpEj0fNWx8aNjjdfoC6jxKviMhUI+BQD6gTj1KAp0UNwoCqtH41giJTEAdRzHrjSgJDMZAICjkBhVh+ysCN/Qc9vuMQpqMROkXa0q0efH7jApfku/gI6/GTjwDHHVoDcyqNrL0pxLi9gAkt/G6QkUnbKPxZALwTlNbwGeAuV5gid6vgJqkF6EzTe/b5Lv1W4nEp9OJP9Ck4kiZ+EN9Kq5VUnGxlYqrxf90uavcif/79bpOKmH+oTEEDAFDwBBIL4EfAQYAgtz4dRyLHr0AAAAASUVORK5CYII=",I=M=>(ve("data-v-ccccffd4"),M=M(),_e(),M),Me={class:"footer1-list"},De=["href","onClick"],Ne={class:"footer1-list"},Te={class:"footer-list-item",href:"https://meross-affiliate.goaffpro.com/",target:"_blank"},Ee=["href","onClick"],Le={class:"footer1-list"},Re=["href","onClick"],Be={class:"location"},Oe=I(()=>s("img",{src:Ie,class:"global-icon",alt:""},null,-1)),Ve={class:"country footer-location-wrap"},Qe={key:0,class:"country-dropdown location-dropdown"},Se=["onClick"],je=I(()=>s("span",{style:{margin:"0 0.4rem"}},"/",-1)),ze={class:"lang footer-location-wrap"},Pe={key:0,class:"lang-dropdown location-dropdown"},Ue=["onClick"],Ye={class:"store"},Ze={class:"qr-code"},He={class:"qr-code-item"},Ge=["src"],Je=["src"],We={class:"code-text"},Fe={class:"qr-code-item"},$e=["src"],xe=["src"],qe={class:"code-text"},Xe={class:"social-wrapper"},Ke=["href"],et=["src"],tt=I(()=>s("div",{class:"line"},null,-1)),ot={class:"footer-bottom"},st=I(()=>s("a",{href:"https://beian.miit.gov.cn/",target:"_blank",rel:"noreferrer noopener",class:"bottom-link"},"蜀ICP备19003165å·-2",-1)),at=I(()=>s("span",{style:{margin:"0 1rem"}},"|",-1)),lt=I(()=>s("a",{href:"https://beian.mps.gov.cn/#/query/webSearch?code=51019002007321",rel:"noreferrer noopener",target:"_blank",class:"bottom-link"},"å·å…¬ç½‘安备51019002007321",-1)),rt={class:"shop"},nt={class:"shop-svg"},it=ie({__name:"footer",props:["menus","popState"],setup(M){const V=M,{$Bus:U}=ke(),Y=ce(),Z=pe(),q=ue(),{locale:c,t:h}=de(),{layoutApi:X}=Ae(),K=he(),{merossHost:Q}=K.public,ee=["payPal","visa","masterCard","americanExpress","unionPay","applePay","googlePay"];let E=f([]),L=f("0"),S=f(""),H=f(2022),D=f(""),N=f(""),y=[],v=[],w=f({}),A="",_="",u=f(!1),d=f(!1);const te=[{type:"facebook",href:"https://www.facebook.com/merossofficial/",picUrl:g.footerFacebook},{type:"twitter",href:"https://twitter.com/merosshome",picUrl:g.footerTwitter},{type:"youtube",href:"https://www.youtube.com/channel/UCsO2c8OBaHiE5hbYFLPWoVQ",picUrl:g.footerYotube},{type:"instagram",href:"https://instagram.com/merosshome?igshid=191yxrrlehr8r",picUrl:g.footerIns},{type:"tiktok",href:"https://www.tiktok.com/@merossofficial?",picUrl:g.footerTiktok}],oe=W(()=>{let o=[{title:h("footer.partnership.businessCooperation"),route:"support/business-partner"},{title:h("footer.partnership.whereToBuy"),route:"where-to-buy"},{title:h("footer.partnership.contact"),route:"support/contact/ticket"}];return Y.isHaveBetaTesting&&o.splice(1,0,{title:h("footer.partnership.betaTesting"),route:"M_Programs/Beta_Testing"}),o}),se=o=>{let r=document.querySelector(".lang-dropdown")||document.querySelector(".country-dropdown");r&&(r.contains(o.target)||(u.value=!1,d.value=!1))},ae=W(()=>[{title:h("footer.support.helpCenter"),route:"support"},{title:h("footer.support.privacyPolicy"),route:"privacy-policy"},{title:h("footer.support.termsOfUse"),route:"terms-of-use"},{title:h("footer.support.securityAdvisory"),route:"support/security-advisory"}]),le=async()=>{const o={route:Z.fullPath};X.getLocation(o).then(r=>{var k,e;let n=r;n&&(v=[],y=[],n.forEach(m=>{m.countryList&&m.countryList.forEach(i=>{w.value[i.countryCode]={countryName:i.countryName,langList:[],langObj:{}};let re=i.langList;i.langOptions=[],Object.entries(re).forEach(R=>{let J={lang:R[0],langName:R[1]};i.langOptions.push(J),w.value[i.countryCode].langList.push(J),w.value[i.countryCode].langObj[R[0]]=R[1]}),y.push(i)})}),y!=null&&y.length&&(c.value?(A=((k=c.value)==null?void 0:k.split("-")[1])||"",_=((e=c.value)==null?void 0:e.split("-")[0])||"",D.value=w.value[A].countryName,N.value=w.value[A].langObj[_],v=w.value[A].langList):j(y[0])))})},j=o=>{D.value=o.countryName,A=o.countryCode,v=o.langOptions,u.value=!1,v!=null&&v.length&&G(v[0])},G=o=>{N.value=o.langName,_=o.lang,d.value=!1,c.value=`${_}-${A}`,fe("langCode").value=c.value;const r=Object.keys(Y.menuList)[0];c.value!=r&&(U.emit("changeLang",_),U.emit("changeCloudStatus",_));let n=Z.fullPath.split("/");n[1]=`${_}-${A}`,q.push(n.join("/")),window.document.documentElement.setAttribute("data-font-family",_)};return F(()=>V.menus,(o,r)=>{var n;E.value=(n=V.menus.filter(k=>k.route==="/product")[0])==null?void 0:n.children.slice(0,10)},{deep:!0,immediate:!0}),F(()=>V.popState,(o,r)=>{const n=window.location.pathname.split("/")[1],k=y.find(e=>e.countryCode==n.split("-")[1]);j(k)}),me(()=>{le(),S.value="production",H.value=new Date().getFullYear()}),(o,r)=>{const n=we,k=ne;return a(),l("div",{class:"mfooter",id:"mfooter",onClick:r[3]||(r[3]=e=>se(e))},[B(t(Ce),{id:"el-collapse",modelValue:t(L),"onUpdate:modelValue":r[0]||(r[0]=e=>T(L)?L.value=e:L=e),accordion:""},{default:O(()=>[t(E)&&t(E).length?(a(),ge(n,{key:0,title:o.$t("footer.product.title"),name:"1"},{default:O(()=>[s("div",Me,[(a(!0),l(b,null,C(t(E),(e,m)=>(a(),l("a",{class:"footer-list-item",key:m,href:`${t(Q)}/${t(c)}/mTerminal/product?categoryType=${e.title}`,onClick:i=>t(P)(i,`/${t(c)}/mTerminal/product?categoryType=${e.title}`)},p(e.title),9,De))),128))])]),_:1},8,["title"])):z("",!0),B(n,{title:o.$t("footer.partnership.title"),name:"2"},{default:O(()=>[s("div",Ne,[s("a",Te,p(t(h)("footer.partnership.affiliateProgram")),1),(a(!0),l(b,null,C(t(oe),(e,m)=>(a(),l("a",{class:"footer-list-item",key:m,href:`${t(Q)}/${t(c)}/mTerminal/${e.route}`,onClick:i=>t(P)(i,`/${t(c)}/mTerminal/${e.route}`)},p(e.title),9,Ee))),128))])]),_:1},8,["title"]),B(n,{title:o.$t("footer.support.title"),name:"3"},{default:O(()=>[s("div",Le,[(a(!0),l(b,null,C(t(ae),(e,m)=>(a(),l("a",{class:"footer-list-item",key:m,href:`${t(Q)}/${t(c)}/mTerminal/${e.route}`,onClick:i=>t(P)(i,`/${t(c)}/mTerminal/${e.route}`)},p(e.title),9,Re))),128))])]),_:1},8,["title"])]),_:1},8,["modelValue"]),s("div",Be,[Oe,s("div",Ve,[(a(),l("span",{key:t(D),onClick:r[1]||(r[1]=$(e=>(T(u)?u.value=!t(u):u=!t(u),T(d)?d.value=!1:d=!1),["prevent","stop"]))},p(t(D)),1)),t(u)?(a(),l("div",Qe,[(a(!0),l(b,null,C(t(y),e=>(a(),l("p",{key:e.countryCode,onClick:m=>j(e)},[s("span",{style:x({color:e.countryName===t(D)?"#0097e0":"#333333"})},p(e.countryName),5)],8,Se))),128))])):z("",!0)]),je,s("div",ze,[(a(),l("span",{key:t(N),onClick:r[2]||(r[2]=$(e=>(T(d)?d.value=!t(d):d=!t(d),T(u)?u.value=!1:u=!1),["prevent","stop"]))},p(t(N)),1)),t(d)?(a(),l("div",Pe,[(a(!0),l(b,null,C(t(v),e=>(a(),l("p",{key:e.lang,onClick:m=>G(e)},[s("span",{style:x({color:e.langName===t(N)?"#0097e0":"#333333"})},p(e.langName),5)],8,Ue))),128))])):z("",!0)])]),s("div",Ye,p(o.$t("footer.appStore.title")),1),s("div",Ze,[s("div",He,[t(S)==="production"?(a(),l("img",{key:0,src:("imagesMap"in o?o.imagesMap:t(g)).iosProduction,alt:""},null,8,Ge)):(a(),l("img",{key:1,src:("imagesMap"in o?o.imagesMap:t(g)).iosTest,alt:""},null,8,Je)),s("p",We,p(o.$t("footer.appStore.installCode")),1)]),s("div",Fe,[t(S)==="production"?(a(),l("img",{key:0,src:("imagesMap"in o?o.imagesMap:t(g)).androidProduction,alt:""},null,8,$e)):(a(),l("img",{key:1,src:("imagesMap"in o?o.imagesMap:t(g)).androidTest,alt:""},null,8,xe)),s("p",qe,p(o.$t("footer.appStore.androidCode")),1)])]),s("div",Xe,[(a(),l(b,null,C(te,e=>s("a",{key:e.type,href:e.href,class:ye(["social-pic",`${e.type}-pic`]),target:"_blank",rel:"noreferrer noopener"},[s("img",{src:e.picUrl},null,8,et)],10,Ke)),64))]),tt,s("div",ot,[s("p",null,"Copyright © "+p(t(H))+" Meross Technology Limited. All Rights Reserved.",1),st,at,lt]),s("div",rt,[s("div",nt,[(a(),l(b,null,C(ee,e=>B(k,{style:{"margin-right":"1rem",width:"3rem",height:"3rem"},key:e,name:e},null,8,["name"])),64))])])])}}});const vt=be(it,[["__scopeId","data-v-ccccffd4"]]);export{vt as default};