(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{1507:function(e,t,a){"use strict";a.r(t);var r=a(78),l=a(80),n=a(90);a(525);t.default=({onAccept:e})=>{const{brand:t,mobileBuilds:a}=n.a.get();let o=null;const m=null==a?void 0:a.ios;null!==m&&(o=r.createElement(r.Fragment,null,r.createElement("p",null,r.createElement("strong",null,"iOS")," (iPhone or iPad)"),r.createElement("a",{href:m||"https://apps.apple.com/app/vector/id1083446067",target:"_blank",className:"mx_ClearDecoration"},r.createElement("img",{height:"48",src:"themes/element/img/download/apple.svg",alt:"Apple App Store"}))));let c=[r.createElement("p",{className:"mx_Spacer",key:"header"},r.createElement("strong",null,"Android"))];const s=null==a?void 0:a.android,i=null==a?void 0:a.fdroid;null!==s&&c.push(r.createElement("a",{href:s||"https://play.google.com/store/apps/details?id=im.vector.app",target:"_blank",className:"mx_ClearDecoration",key:"android"},r.createElement("img",{height:"48",src:"themes/element/img/download/google.svg",alt:"Google Play Store"}))),null!==i&&c.push(r.createElement("a",{href:i||"https://f-droid.org/repository/browse/?fdid=im.vector.app",target:"_blank",className:"mx_ClearDecoration",key:"fdroid"},r.createElement("img",{height:"48",src:"themes/element/img/download/fdroid.svg",alt:"F-Droid"}))),1===c.length&&(c=[]);let d=r.createElement("h2",{id:"step2_heading"},Object(l.a)("Use %(brand)s on mobile",{brand:t}));return c.length||o||(d=null),r.createElement("div",{className:"mx_ErrorView"},r.createElement("div",{className:"mx_ErrorView_container"},r.createElement("div",{className:"mx_HomePage_header"},r.createElement("span",{className:"mx_HomePage_logo"},r.createElement("img",{height:"42",src:"themes/element/img/logos/element-logo.svg",alt:"Element"})),r.createElement("h1",null,Object(l.a)("Unsupported browser"))),r.createElement("div",{className:"mx_HomePage_col"},r.createElement("div",{className:"mx_HomePage_row"},r.createElement("div",null,r.createElement("h2",{id:"step1_heading"},Object(l.a)("Your browser can't run %(brand)s",{brand:t})),r.createElement("p",null,Object(l.a)("%(brand)s uses advanced browser features which aren't supported by your current browser.",{brand:t})),r.createElement("p",null,Object(l.a)("Please install <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, or <safariLink>Safari</safariLink> for the best experience.",{},{chromeLink:e=>r.createElement("a",{href:"https://www.google.com/chrome"},e),firefoxLink:e=>r.createElement("a",{href:"https://firefox.com"},e),safariLink:e=>r.createElement("a",{href:"https://apple.com/safari"},e)})),r.createElement("p",null,Object(l.a)("You can continue using your current browser, but some or all features may not work and the look and feel of the application may be incorrect.")),r.createElement("button",{onClick:e},Object(l.a)("I understand the risks and wish to continue"))))),r.createElement("div",{className:"mx_HomePage_col"},r.createElement("div",{className:"mx_HomePage_row"},r.createElement("div",null,d,o,c))),r.createElement("div",{className:"mx_HomePage_row mx_Center mx_Spacer"},r.createElement("p",{className:"mx_Spacer"},r.createElement("a",{href:"https://element.io",target:"_blank",className:"mx_FooterLink"},Object(l.a)("Go to element.io"))))))}},525:function(e,t,a){}}]);
//# sourceMappingURL=compatibility-view.js.map