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